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eACA,kBACA,cACA,iBACA,eACA,kBACA,eACA,kBACA,YACA,eACA,YACA,eACA,kBACA,eACA,kBACA,eACA,kBACA,eACA,YACA,eACA,WACA,cACA,WACA,cACA,YACA,eACA,aACA,gBACA,YACA,eACA,YACA,eACA,kBACA,eACA,kBACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,kBACA,qBACA,kBACA,qBACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,eACA,kBACA,YACA,eACA,YACA,eACA,YACA,eACA,kBACA,eACA,YACA,eACA,WACA,cACA,WACA,cACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,kBACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,WACA,cACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,kBACA,eACA,WACA,cACA,YACA,eACA,UACA,aACA,YACA,eACA,YACA,eACA,kBACA,eACA,YACA,eACA,eACA,kBACA,cACA,iBACA,YACA,eACA,YACA,eACA,kBACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,WACA,cACA,YACA,eACA,YACA,eACA,YACA,eACA,WACA,iBACA,oBACA,cACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,aACA,gBACA,YACA,eACA,YACA,eACA,YACA,eACA,eACA,kBACA,aACA,gBACA,YACA,eACA,aACA,gBACA,aACA,kBACA,qBACA,gBACA,eACA,kBACA,YACA,eACA,YACA,eACA,WACA,iBACA,oBACA,cACA,UACA,aACA,iBACA,oBACA,WACA,cACA,eACA,kBACA,eACA,kBACA,eACA,kBACA,eACA,mBAIA,SAAA84S,EAAA91P,GACA,IAAA9nC,EAAA69R,EAAA/1P,GACA,OAAA+vL,EAAA73N,EACA,CACA,SAAA69R,EAAA/1P,GACA,IAAA+vL,EAAAruM,EAAA1kC,EAAAgjD,GAAA,CACA,IAAAvtD,EAAA,IAA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","MemberUpgradeCardComponent","constructor","translate","this","ngOnInit","_getUpgradeLink","instant","static","t","i1","_angular_core__WEBPACK_IMPORTED_MODULE_0__","VBU","selectors","standalone","features","decls","vars","consts","template","rf","ctx","MemberUpgradeCardComponent_ng_container_8_Template","FGBSharedModule","styles","_c0","QRCodeComponent","renderer","sanitizer","allowEmptyString","colorDark","colorLight","cssClass","elementType","errorCorrectionLevel","margin","qrdata","scale","width","qrCodeURL","EventEmitter","context","ngOnChanges","_this","_asyncToGenerator","createQRCode","isValidQrCodeText","data","toDataURL","qrCodeConfig","Promise","resolve","reject","err","url","toCanvas","canvas","error","toSVG","toString","renderElement","element","node","qrcElement","nativeElement","childNodes","removeChild","appendChild","_this2","version","console","warn","undefined","isNaN","Error","config","color","dark","light","centerImageSrc","imageSrc","centerImageHeight","imageHeight","centerImageWidth","imageWidth","canvasElement","createElement","getContext","then","ariaLabel","setAttribute","title","centerImage","Image","src","height","onload","drawImage","emitQRCodeURL","catch","e","svgParentElement","svgString","setProperty","svgElement","firstChild","imgElement","dataUrl","alt","message","className","name","SVGSVGElement","blob","Blob","outerHTML","type","urlSvg","URL","createObjectURL","urlSanitized","bypassSecurityTrustUrl","emit","urlImage","HTMLCanvasElement","HTMLImageElement","fetch","urlResponse","ɵfac","ɵcmp","viewQuery","_t","first","inputs","outputs","encapsulation","changeDetection","QRCodeModule","ɵmod","ɵinj","AnimationMetadataType","State","Transition","Sequence","Group","Animate","Keyframes","Style","Trigger","Reference","AnimateChild","AnimateRef","Query","Stagger","AUTO_STYLE","trigger","definitions","options","animate","timings","style","tokens","offset","state","keyframes","steps","transition","stateChangeExpr","expr","animation","NoopAnimationPlayer","duration","delay","_onDoneFns","_onStartFns","_onDestroyFns","_originalOnDoneFns","_originalOnStartFns","_started","_destroyed","_finished","_position","parentPlayer","totalTime","_onFinish","forEach","fn","onStart","push","onDone","onDestroy","hasStarted","init","play","_onStart","triggerMicrotask","queueMicrotask","pause","restart","finish","destroy","reset","setPosition","position","getPosition","triggerCallback","phaseName","methods","length","AnimationGroupPlayer","_players","players","doneCount","destroyCount","startCount","total","player","_onDestroy","reduce","time","Math","max","p","timeAtPosition","min","longestPlayer","longestSoFar","beforeDestroy","invalidTimingValue","exp","ɵRuntimeError","ngDevMode","optimizeGroupPlayer","ɵAnimationGroupPlayer","normalizeKeyframes$1","normalizer","preStyles","Map","postStyles","errors","normalizedKeyframes","previousOffset","previousKeyframe","kf","get","isSameOffset","normalizedKeyframe","val","prop","normalizedProp","normalizedValue","normalizePropertyName","normalizeStyleValue","set","animationFailed","listenOnPlayer","eventName","event","callback","copyAnimationEvent","makeAnimationEvent","triggerName","fromState","toState","disabled","_data","getOrSetDefaultValue","map","key","defaultValue","value","parseTimelineCommand","command","separatorPos","indexOf","substring","slice","documentElement","document","getParentElement","parent","parentNode","host","_CACHED_BODY","_IS_WEBKIT","containsElement","elm1","elm2","invokeQuery","selector","multi","Array","from","querySelectorAll","elem","querySelector","NoopAnimationDriver","validateStyleProperty","getBodyNode","body","result","containsVendorPrefix","charAt","toUpperCase","matchesElement","_element","_selector","query","computeStyle","easing","previousPlayers","scrubberAccessRequested","ɵprov","token","factory","AnimationDriver","NOOP","AnimationStyleNormalizer","ONE_SECOND","ENTER_CLASSNAME","LEAVE_CLASSNAME","NG_TRIGGER_CLASSNAME","NG_TRIGGER_SELECTOR","NG_ANIMATING_CLASSNAME","NG_ANIMATING_SELECTOR","resolveTimingValue","matches","match","_convertTimeValueToMS","parseFloat","unit","resolveTiming","allowNegativeValues","hasOwnProperty","parseTimeExpression","delayMatch","easingVal","containsErrors","startIndex","negativeStepValue","negativeDelayValue","splice","setStyles","formerStyles","camelProp","dashCaseToCamelCase","has","eraseStyles","_","normalizeAnimationEntry","isArray","sequence","PARAM_REGEX","RegExp","extractStyleParams","params","exec","lastIndex","interpolateParams","original","str","replace","varName","localVal","invalidParamValue","DASH_CASE_REGEXP","input","m","visitDslNode","visitor","visitTrigger","visitState","visitTransition","visitSequence","visitGroup","visitAnimate","visitKeyframes","visitStyle","visitReference","visitAnimateChild","visitAnimateRef","visitQuery","visitStagger","invalidNodeType","nodeType","window","getComputedStyle","DIMENSIONAL_PROP_SET","Set","WebAnimationsStyleNormalizer","propertyName","userProvidedProperty","normalizedProperty","strVal","trim","valAndSuffixMatch","invalidCssUnitValue","ANY_STATE","TRUE_BOOLEAN_VALUES","FALSE_BOOLEAN_VALUES","makeLambdaFromStates","lhs","rhs","LHS_MATCH_BOOLEAN","RHS_MATCH_BOOLEAN","lhsMatch","rhsMatch","SELF_TOKEN_REGEX","buildAnimationAst","driver","metadata","warnings","AnimationAstBuilderVisitor","build","_driver","AnimationAstBuilderContext","_resetContextStyleTimingState","currentQuerySelector","collectedStyles","currentTime","queryCount","depCount","states","transitions","invalidTrigger","def","stateDef","split","n","invalidDefinition","styleAst","astParams","containsDynamicStyles","missingSubs","sub","add","size","invalidState","metadataName","values","matchers","parseTransitionExpr","transitionValue","expressions","parseInnerTransitionStr","eventStr","parseAnimationAlias","alias","invalidTransitionAlias","invalidExpression","separator","normalizeAnimationOptions","s","furthestTime","step","innerAst","timingAst","constructTimingAst","makeTimingAst","strValue","some","v","ast","dynamic","currentAnimateTimings","styleMetadata","isEmpty","newStyleData","_styleAst","isEmptyStep","_makeStyleAst","_validateStyleAst","metadataStyles","styleTuple","Object","entries","collectedEasing","styleData","delete","endTime","startTime","tuple","collectedEntry","updateCollectedStyle","invalidParallelAnimation","firstStart","firstEnd","secondStart","secondEnd","validateStyleParams","invalidStyleParams","invalidKeyframes","totalKeyframesWithOffsets","offsets","offsetsOutOfOrder","keyframesOutOfRange","offsetVal","consumeOffset","obj","invalidOffset","keyframeOffsetsOutOfOrder","generatedOffset","keyframesMissingOffsets","limit","animateDuration","i","durationUpToThisFrame","parentSelector","currentQuery","includeSelf","normalizeSelector","hasAmpersand","find","optional","originalSelector","invalidStagger","currentTransition","unsupportedCSSPropertiesFound","normalizeParams","createTimelineInstruction","preStyleProps","postStyleProps","subTimeline","ElementInstructionMap","_map","append","instructions","existingInstructions","clear","ENTER_TOKEN_REGEX","LEAVE_TOKEN_REGEX","buildAnimationTimelines","rootElement","enterClassName","leaveClassName","startingStyles","finalStyles","subInstructions","AnimationTimelineBuilderVisitor","buildKeyframes","AnimationTimelineContext","currentTimeline","delayNextStep","timelines","filter","timeline","containsAnimation","lastRootTimeline","allowOnlyTimelineStyles","elementInstructions","innerContext","createSubContext","_visitSubInstructions","transformIntoNewTimeline","previousNode","_applyAnimationRefDelays","animationsRefsOptions","animationRefOptions","animationDelay","animationDelayValue","instruction","instructionTimings","appendInstructionToTimeline","updateOptions","subContextCount","snapshotCurrentStyles","DEFAULT_NOOP_PREVIOUS_NODE","applyStylesToKeyframe","innerTimelines","mergeTimelineCollectedStyles","_visitTiming","incrementTime","hasCurrentStyleProperties","forwardFrame","applyEmptyStep","innerTimeline","forwardTime","elms","currentQueryTotal","sameElementTimeline","currentQueryIndex","parentContext","tl","abs","maxTime","currentStaggerTime","startingTime","_enterClassName","_leaveClassName","initialTimeline","TimelineBuilder","skipIfExists","newOptions","optionsToUpdate","newParams","paramsToUpdate","keys","_copyOptions","oldParams","newTime","target","fork","updatedTimings","builder","SubTimelineBuilder","stretchStartingKeyframe","results","elements","invalidQuery","_elementTimelineStylesLookup","_previousKeyframe","_currentKeyframe","_keyframes","_styleSummary","_localTimelineStyles","_pendingStyles","_backFill","_currentEmptyStepKeyframe","_globalTimelineStyles","_loadKeyframe","hasPreStyleStep","_updateStyle","flattenStyles","allStyles","allProperties","getFinalKeyframe","properties","details1","details0","finalKeyframes","keyframe","finalKeyframe","preProps","postProps","kf0","kf1","_stretchStartingKeyframe","super","newKeyframes","startingGap","newFirstKeyframe","oldFirstKeyframe","roundOffset","oldOffset","decimalPoints","mult","pow","round","createTransitionInstruction","isRemovalTransition","fromStyles","toStyles","queriedElements","EMPTY_OBJECT","AnimationTransitionFactory","_triggerName","_stateStyles","currentState","nextState","oneOrMoreTransitionsMatch","matchFns","buildStyles","stateName","styler","currentOptions","nextOptions","skipAstBuild","transitionAnimationParams","currentStateStyles","nextAnimationParams","nextStateStyles","preStyleMap","postStyleMap","isRemoval","animationOptions","applyParamDefaults","elm","userParams","defaults","AnimationStateStyles","defaultParams","combinedParams","AnimationTrigger","_normalizer","transitionFactories","balanceProperties","fallbackTransition","createFallbackTransition","containsQueries","matchTransition","f","matchStyles","stateMap","key1","key2","EMPTY_INSTRUCTION_MAP","TimelineAnimationEngine","bodyNode","_animations","_playersById","register","id","registerFailed","_buildPlayer","create","autoStylesMap","inst","missingOrDestroyedAnimation","createAnimationFailed","_getPlayer","index","missingPlayer","listen","baseEvent","args","QUEUED_CLASSNAME","DISABLED_CLASSNAME","EMPTY_PLAYER_ARRAY","NULL_REMOVAL_STATE","namespaceId","setForRemoval","setForMove","hasAnimation","removedBeforeQueried","NULL_REMOVED_QUERIED_STATE","REMOVAL_FLAG","StateValue","isObj","normalizeTriggerValue","absorbOptions","VOID_VALUE","DEFAULT_STATE_VALUE","AnimationTransitionNamespace","hostElement","_engine","_triggers","_queue","_elementListeners","_hostClassName","addClass","phase","missingTrigger","missingEvent","isTriggerEventValid","unsupportedTriggerEvent","listeners","triggersWithStates","statesByElement","afterFlush","_getTrigger","unregisteredTrigger","defaultToFallback","TransitionAnimationPlayer","objEquals","a","b","k1","k2","reportError","playersOnElement","playersByElement","queued","isFallbackTransition","totalQueuedPlayers","removeClass","deregister","entry","clearElementCache","elementPlayers","_signalRemovalForInnerTriggers","namespaces","fetchNamespacesByElement","ns","triggerLeaveAnimation","afterFlushAnimationsDone","destroyAfterComplete","triggerStates","previousTriggersValues","markElementAsRemoved","processLeaveNode","prepareLeaveAnimationListeners","elementStates","visitedTriggers","listener","removeNode","engine","childElementCount","containsPotentialParentTransition","totalAnimations","currentPlayers","playersByQueriedElement","removalFlag","destroyInnerAnimations","_onRemovalComplete","insertNode","drainQueuedTransitions","microtaskId","destroyed","markedForDestroy","sort","d0","d1","TransitionAnimationEngine","onRemovalComplete","scheduler","newHostElements","disabledNodes","_namespaceLookup","_namespaceList","_flushFns","_whenQuietFns","namespacesByHostElement","collectedEnterElements","collectedLeaveElements","queuedPlayers","createNamespace","_balanceNamespaceList","collectEnterElement","namespaceList","found","ancestor","ancestorNs","unshift","registerTrigger","_fetchNamespace","stateValue","isElementNode","insertBefore","details","markElementAsDisabled","notify","hostNS","_buildInstruction","subTimelines","skipBuildAst","containerElement","destroyActiveAnimationsForElement","finishActiveQueriedAnimationOnElement","whenRenderingDone","classList","contains","flush","cleanupFns","_flushAnimations","quietFns","triggerTransitionsFailed","skippedPlayers","skippedPlayersMap","queuedInstructions","allPreStyleElements","allPostStyleElements","disabledElementsSet","nodesThatAreDisabled","allTriggerElements","enterNodeMap","buildRootMap","enterNodeMapIds","nodes","root","allLeaveNodes","mergedLeaveNodes","leaveNodesWithoutAnimations","leaveNodeMapIds","leaveNodeMap","allPlayers","erroneousTransitions","previousValue","nodeIsOrphaned","stringMap","setVal","transitionFailed","allPreviousPlayersMap","animationElementMap","_beforeAnimationBuild","_getPreviousPlayers","prevPlayer","replaceNodes","replacePostStylesAsPre","postStylesMap","cloakAndComputeStyles","preStylesMap","post","pre","rootPlayers","subPlayers","NO_PARENT_ANIMATION_ELEMENT_DETECTED","overrideTotalTime","parentWithAnimation","parentsToAdd","detectedParent","innerPlayer","_buildAnimation","setRealPlayer","parentPlayers","playersForElement","syncPlayerEvents","queriedPlayerResults","queriedInnerElements","j","queriedPlayers","activePlayers","removeNodesAfterAnimationDone","isQueriedElement","toStateValue","queriedElementPlayers","isRemovalAnimation","targetNameSpaceId","targetTriggerName","timelineInstruction","realPlayer","getRealPlayer","allQueriedPlayers","allConsumedElements","allSubElements","allNewPlayers","flattenGroupPlayers","finalPlayers","_flattenGroupPlayersRecur","wrappedPlayer","deleteOrUnsetInMap","currentValues","_player","_containsRealPlayer","_queuedCallbacks","callbacks","_queueEvent","cloakElement","oldValue","display","valuesMap","elementPropsMap","defaultStyle","cloakVals","failedElements","props","roots","rootMap","nodeSet","localRootMap","getRoot","remove","postEntry","preEntry","AnimationEngine","doc","_triggerCache","_transitionEngine","_timelineEngine","componentId","cacheKey","triggerBuildFailed","buildTrigger","onInsert","onRemove","disableAnimations","disable","process","property","action","eventPhase","cb","SpecialCasedStyles","initialStylesByElement","WeakMap","_startStyles","_endStyles","_state","initialStyles","_initialStyles","start","filterNonAnimatableStyles","isNonAnimatableStyle","WebAnimationsPlayer","_specialStyles","_initialized","currentSnapshot","_duration","_delay","_preparePlayerBeforeStart","domPlayer","_triggerWebAnimation","_finalKeyframe","onFinish","addEventListener","removeEventListener","_resetDomPlayerState","_convertKeyframesToObject","kfs","frame","fromEntries","cancel","WebAnimationsDriver","validateAnimatableStyleProperty","playerOptions","fill","previousStyles","previousWebAnimationPlayers","allowPreviousPlayerStylesMerge","normalizeKeyframes","balancePreviousStylesIntoKeyframes","startingKeyframe","missingStyleProps","specialStyles","packageNonAnimatableStyles","startStyles","endStyles","DISABLE_ANIMATIONS_FLAG","BaseAnimationRenderer","delegate","ɵtype","destroyNode","namespace","createComment","createText","newChild","refChild","isMove","oldChild","isHostElement","selectRootElement","selectorOrNode","preserveContent","nextSibling","el","removeAttribute","setStyle","flags","removeStyle","setValue","AnimationRenderer","resolveElementFromTarget","parseTriggerCallbackName","dotIndex","scheduleListenerCallback","AnimationRendererFactory","_zone","_currentId","_microtaskId","_animationCallbacksBuffer","_rendererCache","_cdRecurDepth","createRenderer","cache","onRendererDestroy","animationTriggers","begin","_scheduleCountTask","count","run","animationCallbacksBuffer","end","runOutsideAngular","SHARED_ANIMATION_PROVIDERS","provide","ɵAnimationStyleNormalizer","useFactory","instantiateDefaultStyleNormalizer","ɵWebAnimationsStyleNormalizer","ɵAnimationEngine","useClass","InjectableAnimationEngine","inject","ɵChangeDetectionScheduler","ngOnDestroy","DOCUMENT","RendererFactory2","instantiateRendererFactory","zone","ɵAnimationRendererFactory","deps","ɵDomRendererFactory2","NgZone","BROWSER_ANIMATIONS_PROVIDERS","ɵWebAnimationsDriver","ANIMATION_MODULE_TYPE","useValue","BROWSER_NOOP_ANIMATIONS_PROVIDERS","BrowserAnimationsModule","withConfig","ngModule","providers","imports","BrowserModule","arrReducer","arr","a0","a1","a2","a3","a4","transform","_c1","left","_c2","$implicit","StageComponent_ng_container_2_2_ng_template_0_Template","StageComponent_ng_container_2_2_Template","ctx_r3","slide_r2","i_r5","ctx_r2","tplRef","preparePublicSlide","StageComponent_ng_container_2_Template","_r1","classes","marginL","marginR","heightState","load","_c3","_c4","isMouseDragable","isTouchDragable","_c5","_c6","active","CarouselComponent_div_2_Template","ctx_r1","owlDOMData","stageData","slidesData","CarouselComponent_ng_container_3_div_5_Template","_r4","dot_r5","moveByDot","showInnerContent","innerContent","CarouselComponent_ng_container_3_Template","_r3","prev","next","navData","htmlText","dotsData","dots","OwlCarouselOConfig","items","skip_validateItems","loop","center","rewind","mouseDrag","touchDrag","pullDrag","freeDrag","stagePadding","merge","mergeFit","autoWidth","startPosition","rtl","smartSpeed","fluidSpeed","dragEndSpeed","responsive","responsiveRefreshRate","nav","navText","navSpeed","slideBy","dotsEach","dotsSpeed","autoplay","autoplayTimeout","autoplayHoverPause","autoplaySpeed","autoplayMouseleaveTimeout","lazyLoad","lazyLoadEager","slideTransition","animateOut","animateIn","autoHeight","URLhashListener","OwlOptionsMockedTypes","OwlLogger","errorHandler","log","rest","isDevMode","handleError","Type","Event","Width","Default","Inner","Outer","CarouselService","logger","_viewSettingsShipper$","Subject","_initializedCarousel$","_changeSettingsCarousel$","_changedSettingsCarousel$","_translateCarousel$","_translatedCarousel$","_resizeCarousel$","_resizedCarousel$","_refreshCarousel$","_refreshedCarousel$","_dragCarousel$","_draggedCarousel$","settings","isResponsive","isRefreshed","isLoaded","isLoading","isGrab","paddingL","paddingR","_width","_items","_widths","_supress","_plugins","_current","_clones","_mergers","_speed","_coordinates","_breakpoint","clonedIdPrefix","_options","_invalidated","invalidated","_states","current","tags","initializing","animating","dragging","_pipe","relative","css","slide","toFixed","grid","widths","iterator","clones","view","ceil","prepend","repeat","normalize","isActive","isCloned","concat","coordinates","previous","padding","findIndex","minimum","maximum","inner","outer","_op","item","isCentered","getViewCurSettings","asObservable","getInitializedState","getChangeState","getChangedState","getTranslateState","getTranslatedState","getResizeState","getResizedState","getRefreshState","getRefreshedState","getDragState","getDraggedState","setOptions","configOptions","checkedOptions","_validateOptions","mockedTypes","setRightOption","_isNumeric","_validateItems","_isNumberOrBoolean","_isNumberOrString","_isStringOrBoolean","isString","setCarouselWidth","setup","carouselWidth","slides","setItems","_defineSlidesData","setOptionsForViewport","_trigger","invalidate","viewport","overwrites","Number","mergers","dataMerge","initialize","enter","refresh","sendChanges","leave","_optionsLogic","update","filteredPipe","all","setCurSlideClasses","is","dimension","onResize","curWidth","prepareDragging","transformArr","stage","x","y","speed","enterDragging","defineNewCoordsDrag","dragData","pull","delta","difference","pointer","finishDragging","dragObj","clickAttacher","direction","currentSlideI","newCurrent","closest","Date","getTime","coordinate","onTransitionEnd","part","_suppress","_release","reciprocalItemsWidth","elementWidth","odd","even","multiplier","newPosition","to","factor","revert","distance","delayForLoop","setTimeout","_viewport","content","loadMap","hashFragment","dataHash","currentClasses","cloned","animated","isAnimated","isDefAnimatedIn","isDefAnimatedOut","isCustomAnimatedIn","isCustomAnimatedOut","o","object","tag","events","originalEvent","touches","changedTouches","pageX","pageY","clientX","clientY","number","second","NavigationService","carouselService","navSubscription","_pages","_navData","_dotsData","spyDataStreams","unsubscribe","initializedCarousel$","pipe","tap","_updateNavPages","draw","changedSettings$","refreshedCarousel$","navMerge$","subscribe","k","lower","upper","pages","floor","dotContent","startI","_updateNavButtons","_updateDots","curActiveDotI","finalCurrent","page","pop","_getPosition","successor","standard","dotId","dot","toSlideById","WINDOW","InjectionToken","WindowRef","nativeWindow","WINDOW_PROVIDERS","BrowserWindowRef","windowFactory","browserWindowRef","platformId","isPlatformBrowser","func","clearTimeout","PLATFORM_ID","DocumentRef","nativeDocument","DOCUMENT_PROVIDERS","BrowserDocumentRef","documentFactory","browserDocumentRef","hidden","visibilityState","AutoplayService","ngZone","autoplaySubscription","_timeout","_paused","_isArtificialAutoplayTimeout","_isAutoplayStopped","isAutoplayStopped","winRef","docRef","_handleChangeObservable","resized$","stop","autoplayMerge$","timeout","_setAutoPlayInterval","_getNextTimeout","_playAfterTranslated","of","switchMap","startPausing","startPlayingMouseLeave","startPlayingTouchEnd","LazyLoadService","lazyLoadSubscription","isLazyLoad","changeSettings$","resizedCarousel$","lazyLoadMerge$","_defineLazyLoadSlides","_load","AnimateService","animateSubscription","swapping","dragCarousel$","draggedCarousel$","translatedCarousel$","dragTranslatedMerge$","translateCarousel$","_swap","animateMerge$","incoming","outgoing","AutoHeightService","autoHeightSubscription","autoHeight$","HashService","route","router","hashSubscription","currentHashFragment","fragment","take","navigate","commands","extras","listenToRoute","newCurSlide","newCurFragment","relativeTo","hashFragment$","skip","nextId","CarouselSlideDirective","_dataMerge","isNumeric","ResizeService","resizeObservable$","onResize$","fromEvent","StageComponent","animateService","owlDraggable","listenerMouseMove","listenerTouchMove","listenerOneMouseMove","listenerOneTouchMove","listenerMouseUp","listenerTouchEnd","listenerOneClick","listenerATag","_drag","moving","_oneDragMove$","_oneMoveSubsription","newSlide","onMouseDown","_onDragStart","onTouchStart","targetTouches","onTouchCancel","_onDragEnd","onDragStart","onSelectStart","_sendChanges","bindOneMouseTouchMove","ev","_oneMouseTouchMove","bindOnDragMove","_onDragMove","bindOnDragEnd","which","_prepareDragging","_pointer","_difference","_is","blockClickAnchorInDragging","preventDefault","_enterDragging","HTMLAnchorElement","parentElement","stageOrExit","_animate","children","_finishDragging","_oneClickHandler","firstC","specificState","_enter","hostBindings","$event","dependencies","i3","CarouselComponent","resizeService","navigationService","autoplayService","lazyLoadService","autoHeightService","hashService","changeDetectorRef","translated","change","changed","initialized","carouselWindowWidth","resizeSubscription","_allObservSubscription","_slidesChangesSubscription","slidesOutputData","carouselLoaded","prevOptions","_viewCurSettings$","_draggingCarousel$","_changeCarousel$","_changedCarousel$","_carouselMerge$","onVisibilityChange","clientWidth","toArray","ngAfterContentInit","_winResizeWatcher","changes","markForCheck","gatherTranslatedData","changedPosition","operate","source","subscriber","accumulator","seed","scanInternals","arguments","anim","activeSlides","startPlayML","startPlayTE","stopAutoplay","startAutoplay","contentQueries","dirIndex","OwlRouterLinkDirective","queryParams","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","stopLink","preserve","tabIndex","owlRouterLink","preserveQueryParams","onClick","attrBoolValue","navigateByUrl","urlTree","createUrlTree","OwlRouterLinkWithHrefDirective","locationStrategy","subscription","href","NavigationEnd","updateTargetUrlAndHref","button","ctrlKey","metaKey","shiftKey","prepareExternalUrl","serializeUrl","hostVars","CarouselModule","CommonModule","Toast_button_0_Template","Toast_div_1_ng_container_2_Template","duplicatesCount","Toast_div_1_Template","titleClass","Toast_div_2_Template","messageClass","Toast_div_3_Template","Toast_div_4_Template","ComponentPortal","component","injector","attach","newestOnTop","_attachedHost","detach","isAttached","setAttachedHost","BasePortalHost","portal","_attachedPortal","attachComponentPortal","_disposeFn","setDisposeFn","ToastRef","_overlayRef","_afterClosed","_activate","_manualClose","_resetTimeout","_countDuplicate","manualClose","complete","manualClosed","timeoutReset","countDuplicate","close","afterClosed","isInactive","isStopped","activate","afterActivate","onDuplicate","resetTimeout","ToastPackage","toastId","toastType","toastRef","_onTap","_onAction","triggerTap","tapToDismiss","onTap","triggerAction","onAction","TOAST_CONFIG","DomPortalHost","_hostDomElement","_componentFactoryResolver","_appRef","componentFactory","resolveComponentFactory","componentRef","attachView","hostView","detachView","_getComponentRootNode","rootNodes","OverlayRef","_portalHost","OverlayContainer","_document","_containerElement","getContainerElement","_createContainer","container","providedIn","Overlay","_overlayContainer","_paneElements","positionClass","overlayContainer","_createOverlayRef","getPaneElement","_createPaneElement","pane","_createPortalHost","ToastrService","overlay","_injector","currentlyActive","toasts","toastrConfig","default","iconClasses","show","override","_preBuildNotification","applyConfig","success","info","warning","toast","_findToast","activeToast","maxOpened","findDuplicate","resetOnDuplicate","countDuplicates","includeTitleDuplicates","onActivateTick","_buildNotification","toastComponent","duplicate","resetTimeoutOnDuplicate","timeOut","preventDuplicates","previousToastMessage","keepInactive","autoDismiss","overlayRef","sanitizedMessage","enableHtml","sanitize","SecurityContext","HTML","toastPackage","toastInjector","Injector","componentInstance","instance","ins","onShown","onHidden","i2","Toast","toastrService","toastClasses","easeTime","originalTimeout","toastClass","activateToast","sub1","sub2","sub3","displayStyle","clearInterval","intervalId","disableTimeOut","outsideTimeout","hideTime","progressBar","outsideInterval","updateProgress","now","progressAnimation","tapToast","stickAround","delayedHideToast","extendedTimeOut","runInsideAngular","setInterval","attrs","closeButton","opacity","DefaultGlobalConfig","payload","ToastrModule","forRoot","InlineSVGConfig","InlineSVGService","rendererFactory","_ranScripts","_renderer","prototype","insertEl","dir","parentEl","replaceContents","_prevSVG","innerHTML","nodeName","evalScripts","svg","evalMode","scripts","scriptsToEval","scriptType","getAttribute","innerText","textContent","Function","InlineSVGComponent","_inlineSVGService","_el","ngAfterViewInit","_updateContent","SVGCacheService","_appBase","_location","_config","httpClient","httpBackend","_http","bypassHttpClientInterceptorChain","HttpClient","setBaseUrl","_cache","_inProgressReqs","getSVG","resolveSVGUrl","svgUrl","getAbsoluteUrl","_cloneSVG","req","responseType","catchError","throwError","share","svgText","svgEl","_svgElementFromString","_baseUrl","baseUrl","getBaseHrefFromDOM","test","base","div","cloneNode","APP_BASE_HREF","removeAttributes","innerEls","getElementsByTagName","InlineSVGDirective","_viewContainerRef","_resolver","_svgCache","injectComponent","cacheSVG","forceEvalStyles","onSVGInserted","onSVGFailed","_supportsSVG","isSvgSupported","SVGRect","SvgUtil","isPlatformServer","_fail","_isValidPlatform","_isSSRDisabled","_insertSVG","setSVGAttributesChanged","setSVGAttributes","inlineSVG","_subscription","force","_prevUrl","isUrlSymbol","symbolId","createSymbolSvg","symbol","elSvg","elSvgUse","_processSvg","removeSVGAttributes","setAttributes","attr","onSVGLoaded","_insertEl","styleTags","_svgComp","createComponent","msg","fallbackImgUrl","elImg","fallbackSVG","clientOnly","ɵdir","InlineSVGModule","navigationSettings","mobile","desktop","_onNavigationChanged","BehaviorSubject","onNavigationChanged","_setMobileNavVisibility","currentValue","getValue","_setDesktopNavVisibility","setConfig","hideMobileNav","showMobileNav","hideDesktopNav","showDesktopNav","restoreDefaults","ScreenType","Mobile","Desktop","IfScreenSizeDirective","templateRef","viewContainer","screenSizeService","ifScreenSize","media","selectScreenWidth","resizeCheck","createView","createEmbeddedView","embeddedView","screenMatchesSelector","insert","mobileBreakPoint","getDesktopBreakpointValue","getPropertyValue","i1$1","ImgDefaultDirective","imageLoaded","imageError","loyaltyType","DefaultImgSrc","contentUrl","updateUrl","useDefault","NgSubscribeContext","ngSubscribe","NgSubscribeDirective","inputObservable","observable","cdr","WebsiteContentFeatureFlagDirective","_isDestroyed$","isFeatureEnabled","featureKey","takeUntil","stream","debug","i1$2","None","CustomOwlCarousel","customClass","_isCustom","carousel","_destoryRef","DestroyRef","startWith","takeUntilDestroyed","dotsContainer","getElementsByClassName","scrollLeft","offsetLeft","getBoundingClientRect","DirectivesModule","IfItemEnabled","lottoService","lottoQuery","marketplaceService","marketplaceQuery","auctionService","auctionQuery","statusService","isDisabled","disabledStatus","LOYALTY_STATUS","SOLD_OUT","COMING_SOON","LIMIT_REACHED","NOT_ENOUGH_POINTS","LOCKED","ifItemEnabled","ifItemEnabledDisabledStatus","statuses","ifItemEnabledElse","elseTemplate","checkStatus","status","bind","getStatus","promise","getItem","AuctionItem","Id","firstValueFrom","fetchAuction","getEntity","MarketplaceItemExtended","fetchMarketplaceItemById","LottoItem","LottoId","fetchLottoById","exportAs","HideMobileNav","i1$4","DataSourceDirective","dataSource","_dataSubject","sortOptions","_sortSubject","_pageSubject","dataSourceChange","paginationChange","vc","ViewContainerRef","_cd","ChangeDetectorRef","_destroyRef","onDataSourceChanged","map$1","dataHandler","onSortChanged","sortHandler","onPageChanged","pageHandler","scan","eventHandler","createDataSource","pagination","pageNumber","pageSize","entities","collection","call","loaded","rawData","pageEntities","sortMultiple","setPages","numberOfPages","goToPage","pageNo","setSort","ds","updateTemplateContext","detectChanges","templateInstace","empty","eventFn","loadDataSource","TemplateRef","COLOR_MODE","MemberQuery","getUserContext","clientAttribute","ThemeService","colorMode","initColorMode","toLocaleLowerCase","setTheme","themeName","localStorage","setItem","removeTheme","removeItem","core","jDH","TimeSinceComponent","startDate","timer$","timer","formatTime","moment","diff","days","asDays","hours","asHours","minutes","asMinutes","TimeSinceModule","NotificationItemComponent_ng_container_1_a_12_Template","goToNotification","notification","linkUrl","messageLanguage","linkText","NotificationItemComponent_ng_container_1_a_13_Template","NotificationItemComponent_ng_container_1_Template","image","messageDate","actionType","InternalLink","ExternalLink","NotificationItemComponent","NotificationCenterActionType","i4","NotificationCenterToastComponent","toastService","stopPropagation","ALERT_NOTIFICATION_COMPONENTS","DefaultComponentMap","NotificationLoyaltyType","AuctionOutBid","MarketplaceOrderProcessed","VoucherCodeEntered","ScorecardComplete","PointsNotification","EcashSpend","AttendanceCheckIn","AnswerTrivia","LottoWon","AuctionWon","AuctionBidPlaced","ScorecardActionComplete","ScorecardMilestoneComplete","CampaignManagerNotification","ScorecardExpirationNotification","ScorecardActivationNotification","NotificationToastComponent","notificationService","logService","modalService","notificationComponents","_destroyed$","notificationReceived$","messageType","NotificationCenterMessageType","PersistentToast","createToastNotification","Alert","createAlertNotification","notificaiton","alertComponent","loyaltyActionId","alertComponentRef","open","centered","windowClass","backdropClass","scorecardId","parameters","notificationReference","phaseThree","i3$1","NotificationModule","FormsModule","PipesModule","ReactiveFormsModule","HttpClientModule","RouterModule","Populations","NonMember","ProductCode","PremiumDigitalMember","QAMember1","FourteenDigitalMember","DigitalMemberProductCodes","_forTrack0","$index","$item","lcid","fgbdefault","LanguageSelectorComponent_Conditional_15_For_1_Template","language_r4","ctx_r4","useLanguage","tmp_12_0","currentLanguage","lang","LanguageSelectorComponent_Conditional_15_Template","filteredLanguages","LanguageSelectorWithFlagComponent_ng_container_1_Conditional_18_For_1_Template","language_r5","tmp_13_0","flag","label","LanguageSelectorWithFlagComponent_ng_container_1_Conditional_18_Template","LanguageSelectorWithFlagComponent_ng_container_1_Template","ddLanguage_r2","closeDropDown","tmp_3_0","tmp_4_0","LanguageSelectorWithFlagComponent_ng_container_2_ng_template_8_Conditional_8_For_1_Template","_r10","selectedLanguage","language_r11","LanguageSelectorWithFlagComponent_ng_container_2_ng_template_8_Conditional_8_Template","LanguageSelectorWithFlagComponent_ng_container_2_ng_template_8_Template","_r8","offcanvas_r9","LanguageSelectorWithFlagComponent_ng_container_2_Template","_r6","content_r7","LanguageButtonSelectComponent_Case_0_Template","hiddenLanguagesByLcid","LanguageButtonSelectComponent_Case_1_Template","LanguageSelectorBase","languages","memberQuery","memberService","MemberService","signal","getCurrentLanguageByLcid","dataChange","language","setLcid","location","reload","dropdown","LANGUAGE","LanguageSelectorComponent","ɵLanguageSelectorComponent_BaseFactory","tmp_2_0","CountryFlagPipe","countryCode","ɵpipe","pure","LanguageSelectorWithFlagComponent","screenType","offcanvasService","NgbOffcanvas","panelClass","ɵLanguageSelectorWithFlagComponent_BaseFactory","LanguageButtonSelectComponent","tmp_0_0","LanguageSelectorModule","NgbDropdownModule","NgbOffcanvasModule","accessibilityConfig","focusTab","borderColor","borderSize","borderRadius","FocusTabButtonDirective","getClass","click","FocusTabDirective","getStyle","outline","isFocused","border","tabBorderSize","tabBorderColor","tabBorderRadius","onFocus","onBlur","onKeyupEnter","allowClickOnEnter","_tabElements","includes","tagName","toLowerCase","tabBtn","_isNgbDropdown","_getNgbdropdownButton","focusTabEnter","hasAttribute","ACCESSIBILITY_CONFIG","AccessibilityService","_configSubject$","conf","getConfig$","AccessibilityModule","loyaltyPointsCard$","memberDetails_r4","FirstName","card_r7","loginWithCard","MemberId","NavBarComponent_ng_container_85_div_1_ng_container_9_span_6_Template","_c25","selectedMember","Name","NavBarComponent_ng_container_85_div_1_ng_container_9_Template","cards_r8","NavBarComponent_ng_container_85_div_1_Template","NavBarComponent","cardService","authService","balanceQuery","memberCardQuery","cardQuery","populations","productcode","isCollapsed","use","selectPurse","purseConfig","virtualLoyalty","combinedCard$","combined","memberDetails$","selectMemberDetails","card$","selectObservedMemberCard","initAccountSwitch","initLcid","name$","Surname","memberId","cards$","selectCards","cards","parseInt","Seat","Row","Area","userContext$","user","logout","selectCard","LoginThirdParty","loginThirdParty","ProviderName","SidelineSports","switchUser","ddHelp_r2","NavBarComponent_div_66_Template","NavBarComponent_div_72_Template","ddAccount_r5","NavBarComponent_ng_container_85_Template","NavBarComponent_ng_template_107_Template","_c8","_c10","_c13","_c15","_c17","memberDetailsLoading_r9","_c20","_c22","_c24","NavigationIndicatorComponent","navigationInProgress","navigationBarWidthPercentage","navigationSubscription","NavigationStart","_startNavigation","NavigationCancel","NavigationError","_completeNavigation","_cancelSubscription","timerSubscription","random","concatMap","remainingWidth","countOrConfig","Infinity","EMPTY","sourceSub","soFar","resubscribe","notifier","innerFrom","notifierSubscriber","createOperatorSubscriber","subscribeToSource","syncUnsub","FooterComponent","InPopulationDirective","inPopulation","memberPopulation","getPopulationName","FsC","NotInPopulationDirective","notInPopulation","barcode_r1","Barcode","BarcodeComponent_div_0_ng_container_2_Template","BarcodeComponent","barcodeService","barcodeQuery","seatingDetailQuery","primaryTheme","seatingDetail$","selectCurrentSeatingDetails","fetchBarcode","barcode$","select","selectCurrentCard","BarcodeComponent_div_0_Template","isAccountCard","PassNickName","pointsBalance$","tier_r3","PointsToNextTier","MemberCardComponent_ng_container_0_div_3_p_3_Template","MemberCardComponent_ng_container_0_div_3_div_11_Template","MemberCardComponent_ng_container_0_div_3_div_12_Template","memberCard_r4","ExternalRefNumber","tier$","barcode_r5","tier_r6","MemberCardComponent_ng_container_0_div_4_p_3_Template","MemberCardComponent_ng_container_0_div_4_div_12_Template","MemberCardComponent_ng_container_0_div_3_Template","MemberCardComponent_ng_container_0_div_4_Template","dropDownMemberCard","MemberCardComponent","tierService","tierQuery","toPromise","memberCard$","fetchTiersWithPositions","externalRef","customerTier$","ecash$","showSeating","MemberCardComponent_ng_container_0_Template","MemberCardComponent_ng_template_2_Template","loadingRef_r7","MobileNavMenuComponent_ng_container_7_ng_container_9_Template","card_r4","MobileNavMenuComponent_div_22_div_1_div_1_ng_template_14_ng_container_4_div_2_span_6_Template","_c12","MobileNavMenuComponent_div_22_div_1_div_1_ng_template_14_ng_container_4_div_2_Template","cards_r6","MobileNavMenuComponent_div_22_div_1_div_1_ng_template_14_ng_container_4_Template","a_r2","toggle","MobileNavMenuComponent_div_22_div_1_div_1_ng_template_14_Template","MobileNavMenuComponent_div_22_div_1_div_1_Template","_c11","cards_r7","MobileNavMenuComponent_div_22_div_1_Template","MobileNavMenuComponent","initMemberAccounts","routerSubscription","MobileNavMenuComponent_ng_container_6_Template","MobileNavMenuComponent_ng_container_7_Template","MobileNavMenuComponent_div_22_Template","MobileNavMenuComponent_ng_container_61_Template","_c7","_c9","ContentImagePipe","variantId","currentUser","clubId","defaultClubId","defaultLcid","imageName","fileExtension","EJ8","PopupInfoComponent","description","PopupInfoComponent_div_0_Template","PopupActionConfirmComponent","popupResponse","emitResponse","res","PopupActionOkCancelComponent","PopUpNotificationResponseType","Accepted","Cancelled","popupData","popUpNotificationLanguage","dynamicComponentRef","_r2","CustomPopupComponent_div_7_fgb_popup_action_confirm_1_Template","CustomPopupComponent_div_7_fgb_popup_action_ok_cancel_2_Template","isActionConfirm","isActionOKCancel","CustomPopupComponent","activeModal","actionConfirmation$","cancelIfNotValid","watchForActionConfirmation","actionSub","isActionPopup","isTextPopup","notificationType","PopUpNotificationType","TextBased","ActionBased","commandType","PopUpCommandType","Confirm","OkCancel","CustomPopupComponent_fgb_popup_info_5_Template","CustomPopupComponent_div_6_Template","CustomPopupComponent_div_7_Template","CtrlTemplateDirective","member_r3","EmailAddress1","edit","save","disableIfFormIncomplete","_r7","stopEditing","EditAccountDetailsComponent_div_0_ng_container_24_button_1_Template","EditAccountDetailsComponent_div_0_ng_container_24_button_2_Template","EditAccountDetailsComponent_div_0_ng_container_24_button_4_Template","EditAccountDetailsComponent_div_0_ng_container_24_button_5_Template","notInAnyEditMode","autoEditMode","isInEditMode","dobDatePicker_r2","EditAccountDetailsComponent_div_0_span_21_Template","EditAccountDetailsComponent_div_0_input_22_Template","EditAccountDetailsComponent_div_0_ng_container_23_Template","EditAccountDetailsComponent_div_0_ng_container_24_Template","detailsForm","maxYear","currentMonth","currentDate","anyEditMode","showEditOptions","EditAccountDetailsComponent","formBuilder","portalId","actionDone","member$","z","PortalId","dob","_getNgbDateFromString","DOB","group","addressName","AddressName","emailAddress","Validators","email","dateOfBirth","street","Street","town","Town","county","County","country","Country","postcode","PostCode","firstName","surname","baseData","defaultDatePickerSettings","enable","patchValue","controls","valid","memberDetails","_getStringFromNgbDate","updateMemberDetails","ngbDate","date","year","month","day","setUTCHours","setUTCMinutes","setUTCSeconds","toISOString","dateString","NgbDate","getFullYear","getMonth","getDate","EditAccountDetailsComponent_div_0_Template","confirmAction$","termsAccepted","termsAndConditionsType","_moment","PopupNotificationComponent","popupNotificationService","popupNotificationQuery","isDestroyed$","currentLcid","TermsAndConditionsType","General","setLcidFromUserSub","setPopupFromNavigationSub","getPopupForPage","pageUrl","newPopup","getPopUpNotificationForPage","popupShouldBeShownNow","openPopUp","popup","noStartDateSpecified","startDateHasPassed","utc","local","isBefore","noEndDateSpecified","endDate","endDateHasNotPassed","isAfter","modalRef","definePopupOptions","findTemplate","componentName","savePopupResponse","templateRefs","markNotificationsAsRead","popUpNotificationId","option","windowType","PopUpWindowType","MessageBox","ImportantMessage","PopupNotificationComponent_ng_template_0_Template","PopupNotificationComponent_ng_template_2_Template","NumberInputComponent_div_13_p_1_Template","minMessage","NumberInputComponent_div_13_p_2_Template","maxMessage","NumberInputComponent_div_13_Template","showMinMessage","showMaxMessage","NumberInputComponent","minValue","_minValue","maxValue","_maxValue","amount","innerValue","amountSubject","ngControl","limitValueToRange","unlimitedLimit","amountChange","outOfRange","outOfRangeChange","showErrorMessage","errorChange","destroyRef","increment","decrement","valueAccessor","_onChangeCallback","_onTouchedCallback","control","updateValueAndValidity","onMinimumChanged","minimumHandler","onMaximumChanged","maximumHandler","onAmountChanged","amountHandler","onIncrementChanged","incrementHandler","onDecrementChanged","decrementHandler","inputText","inputHandler","debounceTime","distinctUntilChanged","validateAmountHandler","writeValue","setDefaults","incrementValue","_updateValue","registerOnChange","registerOnTouched","onNumberKeydown","theme","NumberInputModule","marketplaceItemCount","CartItemComponent_ng_container_0_div_1_div_1_div_8_div_1_Template","attribute_r4","AttributeName","ValueName","CartItemComponent_ng_container_0_div_1_div_1_div_8_Template","item_r2","attributes","LocalAttributes","CartItemComponent_ng_container_0_div_1_div_1_div_9_div_1_div_1_Template","customField_r5","customFieldName","customFieldValue","CartItemComponent_ng_container_0_div_1_div_1_div_9_div_1_Template","CartItemComponent_ng_container_0_div_1_div_1_div_9_Template","customFields","CartItemComponent_ng_container_0_div_1_div_1_ng_container_13_Template","purchaseQuantity","CartItemComponent_ng_container_0_div_1_div_1_ng_template_14_Template","CartItemComponent_ng_container_0_div_1_div_1_ng_container_17_Template","productData","MerchantValue","CartItemComponent_ng_container_0_div_1_div_1_ng_container_18_Template","PointValue","CartItemComponent_ng_container_0_div_1_div_1_Template","redirectToDetail","canNotChangeQuantity_r6","ItemImageURL","DisplayName","isCheckoutPage","checkQuantityOfCartItem","CartItemComponent_ng_container_0_div_1_Template","items_r7","ngIf","identify","CartItemComponent_ng_container_0_div_2_Template","CartItemComponent_ng_container_0_Template","CartItemComponent","cartQuery","cartService","destroyed$","items$","selectAllMarketplaceCartData","totalItems$","updateTotalItems","basketPointsTotal$","updateBasketPointsTotal","selectMarketplaceItems","marketplaceItems","itemToRemove","updateCartItemValue","cartItem","quantity","addMarketplaceItemToCart","product","marketplaceItem","mpi","AvailabilityCount","cart","i5","CartItemModule","CartModalComponent_ng_container_0_div_1_div_5_span_4_Template","CartModalComponent_ng_container_0_div_1_div_5_Template","totalItems_r2","CartModalComponent_ng_container_0_div_1_Template","closeCartModal","CartModalComponent_ng_container_0_div_2_Template","CartModalComponent_ng_container_0_Template","items_r5","CartModalComponent","i6","i7","openCartModal","totalItems_r3","FloatingCartButtonComponent","isFooterInViewport","footerHeight","FloatingCartButtonComponent_div_0_Template","MasterPageComponent_ng_container_2_fgb_mobile_nav_menu_1_Template","MasterPageComponent_ng_container_3_fgb_nav_bar_1_Template","MasterPageComponent","signalRHub","notificationCenterService","portalProductsService","connectionEstablished$","connection","fetchNotificationCenter","fetchPortalProducts","MasterPageComponent_ng_container_2_Template","MasterPageComponent_ng_container_3_Template","ShortLongDescriptionComponent_ng_container_2_Template","descriptionLengthByScreenSize","ShortLongDescriptionComponent_ng_template_3_Template","ShortLongDescriptionComponent_div_5_Template","toggleDisplayingOption","toggleButtonContent","ShortLongDescriptionComponent","descriptionLength","descriptionLengthMobile","isMobileSize","isShowingFull","isShowingToggleButton","handleDescription","innerWidth","MOBILE_SCREEN_SIZE_L","showingFull_r3","ShortLongDescriptionModule","ScorecardCategoryPunchcardView","defaultView","descriptionOnCardView","noActionNamesView","onePunchView","module","main","global","isWorker","workerSize","canUseWorker","Worker","OffscreenCanvas","OffscreenCanvasRenderingContext2D","transferControlToOffscreen","canUsePaths","Path2D","DOMMatrix","noop","ModulePromise","exports","Prom","TIME","frames","lastFrameTime","defaultFire","raf","requestAnimationFrame","cancelAnimationFrame","onFrame","getWorker","worker","prom","resolves","code","join","decorate","execute","postMessage","offscreen","fire","done","workerDone","particleCount","angle","spread","startVelocity","decay","gravity","drift","ticks","shapes","zIndex","colors","disableForReducedMotion","scalar","convert","isOk","onlyPositiveInt","randomInt","toDecimal","colorsToRgb","hexToRgb","String","r","g","setCanvasWindowSize","clientHeight","setCanvasRectSize","rect","randomPhysics","opts","radAngle","PI","radSpread","wobble","wobbleSpeed","velocity","angle2D","tiltAngle","shape","tick","totalTicks","tiltSin","tiltCos","wobbleX","wobbleY","ovalScalar","flat","confettiCannon","globalOpts","animationObj","isLibCanvas","allowResize","hasResizeEventRegistered","globalDisableForReducedMotion","Boolean","resizer","__confetti_initialized","preferLessMotion","matchMedia","fireLocal","origin","getOrigin","temp","fettis","startX","startY","addFettis","animationFrame","animatingFettis","clearRect","fetti","updateFetti","cos","sin","progress","x1","y1","x2","y2","fillStyle","beginPath","path","matrix","transformPath2D","pathString","pathMatrix","scaleX","scaleY","rotation","path2d","t1","addPath","t2","bitmap","multiplySelf","pattern","createPattern","setTransform","globalAlpha","fillRect","ellipse","radiusX","radiusY","startAngle","endAngle","antiClockwise","rotate","arc","restore","rot","innerRadius","outerRadius","spikes","lineTo","moveTo","closePath","getCanvas","top","pointerEvents","resize","getDefaultFire","useWorker","apply","shapeFromPath","pathData","tempCtx","minX","minY","maxX","maxY","isPointInPath","shapeFromText","textData","text","fontFamily","fontSize","font","measureText","fontBoundingBoxAscent","fontBoundingBoxDescent","fillText","transferToImageBitmap","self","invisible","ScorecardPrizeSelectionComponent_div_4_div_6_Template","ScorecardPrizeSelectionComponent_div_4_Template","prize_r2","onPrizeSelected","SoldOut","prizeSelectedCondition","prizeIcon","PrizeType","PrizeTitle","ScorecardSponserViewComponent_ng_container_0_Template","scorecard","Sponsor","SponsorImage","scorecardName","parentScorecardName","_c14","_c16","_c18","blur","_c19","ScorecardDescriptionModalComponent_div_0_Template","onPreviousClick","onNextClick","currentScorecardIndex","linkedScorecardLength","ScorecardDescriptionModalComponent_ng_container_10_Template","Content","ScorecardDescriptionModalComponent_ng_container_11_Template","ScorecardDescriptionModalComponent_ng_container_12_Template","parentScorecard","ScorecardDescriptionModalComponent_ng_container_13_ng_template_1_Template","ScorecardDescriptionModalComponent_ng_container_13_Template","scorecardActions_r4","ScorecardDescriptionModalComponent_ng_template_14_ng_container_2_div_1_div_6_Template","CompletionDate","dateOption","LongDateFormat","ScorecardDescriptionModalComponent_ng_template_14_ng_container_2_div_1_Template","ActionsCompleted","Actions","isCompleted","ScorecardDescriptionModalComponent_ng_template_14_ng_container_2_ng_container_2_ng_container_3_ng_container_5_Template","action_r5","ScorecardDescriptionModalComponent_ng_template_14_ng_container_2_ng_container_2_ng_container_3_ng_container_6_Template","ScorecardDescriptionModalComponent_ng_template_14_ng_container_2_ng_container_2_ng_container_3_Template","j_r6","ScoreCardDisplayType","scorecardDisplayType","punchcardView","ActionCompleted","ScorecardCategory","category","lineBreakIndex","ScorecardDescriptionModalComponent_ng_template_14_ng_container_2_ng_container_2_Template","singleAction","ScorecardDescriptionModalComponent_ng_template_14_ng_container_2_Template","isLocked","ScorecardDescriptionModalComponent_ng_template_14_ng_container_3_div_7_Template","ScorecardDescriptionModalComponent_ng_template_14_ng_container_3_ng_container_11_Template","currentProgressValue","ScorecardDescriptionModalComponent_ng_template_14_ng_container_3_ng_container_12_ng_container_2_Template","milestoneSpacing_r7","i_r8","alignmentOfMilestoneValue","Milestone","Milestones","Value","ScorecardDescriptionModalComponent_ng_template_14_ng_container_3_ng_container_12_Template","allMilestoneSpacing","ScorecardDescriptionModalComponent_ng_template_14_ng_container_3_Template","CustomerValue","maxMilestone","DisplayMilestones","ScorecardDescriptionModalComponent_ng_template_14_ng_container_4_ng_container_4_Template","ScorecardDescriptionModalComponent_ng_template_14_ng_container_4_ng_container_5_div_5_Template","ScorecardDescriptionModalComponent_ng_template_14_ng_container_4_ng_container_5_Template","ScorecardDescriptionModalComponent_ng_template_14_ng_container_4_Template","DisplayCounterLimit","ScorecardDescriptionModalComponent_ng_template_14_ng_container_5_ng_container_7_Template","actionSpacing_r9","i_r10","ScorecardDescriptionModalComponent_ng_template_14_ng_container_5_Template","TotalToComplete","allActionSpacing","ScorecardDescriptionModalComponent_ng_template_14_Template","showMore","soloAction","milestoneProgressBarView","numberView","progressBarView","ScorecardDescriptionModalComponent_ng_container_16_Template","PrizeDescription","ScorecardDescriptionModalComponent_ng_template_17_ng_container_1_ng_container_1_Template","_r11","onPrizeConfirmed","PrizeOptions","Prizes","ScorecardDescriptionModalComponent_ng_template_17_ng_container_1_ng_container_2_Template","prizeSelected","ScorecardDescriptionModalComponent_ng_template_17_ng_container_1_Template","CustomerHasSelected","ScorecardDescriptionModalComponent_ng_template_17_ng_container_2_div_4_Template","prizeOption_r12","ScorecardDescriptionModalComponent_ng_template_17_ng_container_2_Template","ScorecardDescriptionModalComponent_ng_template_17_Template","ScorecardDescriptionModalComponent_ng_container_20_ng_container_1_Template","ScorecardDescriptionModalComponent_ng_container_20_Template","nextChallengeUI_r13","myContext","ScorecardDescriptionModalComponent_ng_template_21_Template","_r14","openScorecard_r15","openScorecard","label_r16","image_r17","name_r18","invisibleIcon_r19","invisibleIcon","ScorecardDescriptionModalComponent_ng_container_23_ng_container_1_ng_template_1_Template","ScorecardDescriptionModalComponent_ng_container_23_ng_container_1_Template","descriptionAndTerm_r20","ScorecardDescriptionModalComponent_ng_container_23_Template","ScorecardDescriptionModalComponent_ng_container_24_ng_container_1_ng_container_6_ng_template_1_Template","ScorecardDescriptionModalComponent_ng_container_24_ng_container_1_ng_container_6_ng_template_2_Template","ScorecardDescriptionModalComponent_ng_container_24_ng_container_1_ng_container_6_Template","ScorecardDescriptionModalComponent_ng_container_24_ng_container_1_Template","_r21","toggleShowMore","ScorecardDescriptionModalComponent_ng_container_24_Template","invisibleShowMore","ScorecardDescriptionModalComponent_ng_template_25_div_1_Template","Description","ScorecardDescriptionModalComponent_ng_template_25_div_2_Template","TermsAndConditions","ScorecardDescriptionModalComponent_ng_template_25_Template","ScorecardDescriptionModalComponent_ng_template_27_div_0_Template","ScorecardDescriptionModalComponent_ng_template_27_Template","_c21","_c23","punchcardName","scorecardname","ScorecardPunchcardViewComponent_ng_container_0_Template","ScorecardPunchcardViewComponent_ng_template_1_ng_container_0_ng_container_16_ng_container_6_Template","ScorecardPunchcardViewComponent_ng_template_1_ng_container_0_ng_container_16_Template","action_r3","j_r4","ScorecardPunchcardViewComponent_ng_template_1_ng_container_0_ng_container_20_Template","ScorecardPunchcardViewComponent_ng_template_1_ng_container_0_Template","openScorecardDescription","normalFooter_r5","Completed","ShortDescription","CompleteAction","HasCustomerSelectedPrize","ScorecardPunchcardViewComponent_ng_template_1_ng_container_1_ng_container_17_Template","ScorecardPunchcardViewComponent_ng_template_1_ng_container_1_Template","ScorecardPunchcardViewComponent_ng_template_1_ng_template_2_Template","ScorecardId","icon","ScorecardPunchcardViewComponent_ng_template_1_Template","_c26","_c27","MilestonesProgressViewComponent_ng_container_0_Template","MilestonesProgressViewComponent_ng_template_1_ng_container_0_ng_container_17_Template","MilestonesProgressViewComponent_ng_template_1_ng_container_0_ng_container_18_ng_container_2_Template","milestoneSpacing_r3","i_r4","MilestonesProgressViewComponent_ng_template_1_ng_container_0_ng_container_18_Template","MilestonesProgressViewComponent_ng_template_1_ng_container_0_ng_container_22_Template","MilestonesProgressViewComponent_ng_template_1_ng_container_0_ng_template_23_Template","MilestonesProgressViewComponent_ng_template_1_ng_container_0_Template","MilestonesProgressViewComponent_ng_template_1_Template","ScorecardNumberViewComponent_ng_container_0_Template","ScorecardNumberViewComponent_ng_template_1_ng_container_14_Template","ScorecardNumberViewComponent_ng_template_1_ng_container_18_Template","ScorecardNumberViewComponent_ng_template_1_ng_template_19_Template","ScorecardNumberViewComponent_ng_template_1_Template","normalFooter_r3","_c28","ScorecardCarouselComponent_ng_container_0_div_1_div_6_Template","link","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_9_ng_template_1_ng_container_2_Template","scorecard_r3","confettiColors","isDragging","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_9_ng_template_1_ng_container_3_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_9_ng_template_1_ng_container_4_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_9_ng_template_1_ng_container_5_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_9_ng_template_1_ng_container_6_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_9_ng_template_1_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_9_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_12_ng_template_1_ng_container_2_Template","scorecard_r4","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_12_ng_template_1_ng_container_3_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_12_ng_template_1_ng_container_4_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_12_ng_template_1_ng_container_5_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_12_ng_template_1_ng_container_6_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_12_ng_template_1_Template","ScorecardCarouselComponent_ng_container_0_div_1_ng_container_12_Template","ScorecardCarouselComponent_ng_container_0_div_1_Template","activeScorecards_r5","showAllView","customOptions","ScorecardCarouselComponent_ng_container_0_ng_container_2_div_1_Template","ScorecardCarouselComponent_ng_container_0_ng_container_2_Template","ScorecardCarouselComponent_ng_container_0_Template","showPlaceholder","ScorecardListViewComponent_ng_container_0_div_1_ng_container_3_ng_container_3_Template","scorecard_r1","ScorecardListViewComponent_ng_container_0_div_1_ng_container_3_ng_container_4_Template","ScorecardListViewComponent_ng_container_0_div_1_ng_container_3_ng_container_5_Template","ScorecardListViewComponent_ng_container_0_div_1_ng_container_3_ng_container_6_Template","ScorecardListViewComponent_ng_container_0_div_1_ng_container_3_ng_container_7_Template","ScorecardListViewComponent_ng_container_0_div_1_ng_container_3_Template","ScorecardListViewComponent_ng_container_0_div_1_Template","activeScorecards_r3","ScorecardListViewComponent_ng_container_0_ng_container_2_div_1_Template","ScorecardListViewComponent_ng_container_0_ng_container_2_Template","ScorecardListViewComponent_ng_container_0_Template","ScorecardDescriptionModalCarouselComponent","renderer2","currentIndexScorecard","previousClick","nextClick","addStyleForCarousel","modalContent","disableNext","disablePrevious","childScorecard","ScorecardPrizeSelectionComponent","prizeType","Reward","GivePoints","GiveEcash","SkuItem","LottoEntry","prize","PrizeId","onPrizeConfirm","prizes","ScorecardSponserViewComponent","ScorecardDescriptionModalComponent","scorecardService","scorecardQuery","ScorecardDisplayType","showTermsAndConditions","showDescription","isNextChallengeClick","preventMultipleClick","selectEntity","fetchScorecardBy","finalize","getContextForNextChallenge","getContentOfScoreCard","scorecards","findScorecard","ParentId","childScoreCard","ChildId","childScorecardIndex","findScorecardIndex","parentScorecardIndex","getActionSpacing","getMaxMilestone","getMilestoneSpacing","getCurrentValueOfProgressBar","getMilestoneValueSpacing","shootConfetti","scorecardModalCarousel","showLinkedScoreCard","hasChild","hasParent","Locked","isLastChildUnlocked","hasPrizeSelection","Selected","createContext","scorecardIndex","isDirectToChild","appendAnimation","scorecardModalContent","effectBackground","isAdd","fakeBackdrop","backdrop","backdrops","bd","initConfetti","confetti","createConfetti","timeFiring","animationEnd","interval","timeLeft","assign","randomInRange","selectPrize","confettiLib","showDescriptionActive","showTermsAndConditonsActive","MilestoneActionDisplayType","ScorecardMilestoneActionDisplayType","segment","calculateProgressBySegment","differenceBetweenMilestones","every","milestone","currentSegmentTotal","progressInCurrentSegment","spacingCalculated","screenSizeL","screenSizeM","dismissAll","DATE_OPTIONS","prizeSelectionTemplate_r22","ScorecardLockedComponent","ScorecardPunchcardViewComponent","normalScorecard_r7","MilestonesProgressViewComponent","normalScorecard_r6","ScorecardNumberViewComponent","normalScorecard_r4","ScorecardCarouselComponent","OwlCarouselSettings","AutoplayTimeout","AutoplaySpeed","fetchScorecards","scorecard$","selectAll","i5$1","ScorecardListViewComponent","ScorecardModule","NgbModule","ErrorsModule","CountdownComponent_span_0_Template","formattedTime$","CountdownComponent_ng_template_1_Template","completeText","CountdownComponent","requestDateTime","isUTC","completed","setTimer","endDateTime","toUTCString","setRequestDate","requestDate","formatRemainingTime","seconds","showComplete_r2","CountdownModule","LoyaltyIconModule","AuctionPanelComponent_ng_container_2_Template","auctionItem","SponsorLink","AuctionPanelComponent_div_7_Template","AuctionPanelComponent_div_8_Template","AuctionPanelComponent_ng_container_12_Template","statusText","AuctionPanelComponent_ng_template_13_ng_container_0_ng_container_2_Template","AuctionPanelComponent_ng_template_13_ng_container_0_Template","textColor","stockAvailableState","AUCTION_STATE","FEATURED","AuctionPanelComponent_ng_template_13_Template","AuctionPanelComponent_ng_container_15_Template","EndDate","AuctionPanelComponent","ignoreLink","auctionStatus","AuctionStatus","loyaltyPointsSub","bal","loyaltyPointsCard","requestTime","DateTime","fromISO","RequestTime","StartDate","isComingSoon","ComingSoon","isWinning","IsWinning","CurrentValue","_updateStatus","getStockAvailableState","BidIncrement","NOT_ENOUGH_POINT","allowBids","handleStockAvailable","NEW","AUCTION_TEXT_COLOR","Favourite","GREEN","stockAvailableStates_r2","Status","UserLosing","UserWinning","ImageUrl","ItemName","AuctionPanelModule","MarketplaceListItemComponent_ng_container_2_Template","MarketplaceListItemComponent_ng_container_8_Conditional_1_Template","MarketplaceListItemComponent_ng_container_8_Conditional_2_Template","MarketplaceListItemComponent_ng_container_8_Template","MarketplaceListItemComponent_ng_template_9_ng_container_0_ng_container_2_Template","MarketplaceListItemComponent_ng_template_9_ng_container_0_ng_container_3_Template","MarketplaceListItemComponent_ng_template_9_ng_container_0_Template","MARKETPLACE","REMAINING","MarketplaceListItemComponent_ng_template_9_Template","MarketplaceListItemComponent_ng_container_13_Template","MarketplaceListItemComponent_ng_container_14_Template","EcashValue","MarketplaceListItemComponent_ng_container_15_Template","MarketplaceListItemComponent","MarketplaceItemStatus","MARKETPLACE_STATE","_updateTheme","_updateStatusText","NotEnoughPoints","MemberLimitReached","AllInBasket","ALL_IN_BASKET","Available","stockCount","LIMITED","TEXT_COLOR","RED","ItemStartDate","hasSponsor","MarketplaceListItemModule","LottosListItemComponent_ng_container_2_Template","lottoItem","LottosListItemComponent_div_8_Template","NumberOfTicketsPurchased","LottosListItemComponent_ng_container_10_Conditional_1_Template","LottosListItemComponent_ng_container_10_Conditional_2_Template","LottosListItemComponent_ng_container_10_Template","LottosListItemComponent_ng_template_11_ng_container_0_ng_container_2_Template","LottosListItemComponent_ng_template_11_ng_container_0_Template","LOTTO_STATE","LottosListItemComponent_ng_template_11_Template","LottosListItemComponent_ng_container_13_Template","LottosListItemComponent","available","ItemLoyaltyState","isNotEnoughPoints","showLotto","AllowComingSoon","ItemState","OutOfStock","ItemLimitReached","PurchasePrice","DisableManualEntry","ShowOnDisableManualEntry","VIEW","ENTERED","LOTTO_TEXT_COLOR","ImageName","Title","LottosListItemModule","MixedLoyaltyItemComponent_fgbcl_auction_panel_1_Template","MixedLoyaltyItemComponent_fgbcl_marketplace_list_item_2_Template","MixedLoyaltyItemComponent_fgbcl_lottos_list_item_3_Template","MixedLoyaltyListComponent_ng_template_2_ng_container_0_div_1_ng_container_1_Template","item_r1","MixedLoyaltyListComponent_ng_template_2_ng_container_0_div_1_Template","items_r2","MixedLoyaltyListComponent_ng_template_2_ng_container_0_ng_template_2_Template","MixedLoyaltyListComponent_ng_template_2_ng_container_0_div_4_Template","scrollToTop","collectionSize","MixedLoyaltyListComponent_ng_template_2_ng_container_0_Template","noRewardItems_r5","empty_r6","MixedLoyaltyListComponent_ng_template_2_Template","loaded_r7","loading_r8","MixedLoyaltyListComponent_ng_template_3_Template","MixedLoyaltyItemComponent","_isDisabled","i2$1","MixedLoyaltyListComponent","mixedLoyaltyQuery","filterOptionsList","sortBy","ordinal","Ordinal","loading","firstLoad","mixedLoyaltyList$","selectMixedLoyaltyItems","listData","FeaturesRewardsItem","ALL","Auctions","Lottos","Marketplace","Events","marketplaceIdArr","ProcessProviderId","scrollTo","onlyFavourites","i4$1","MixedLoyaltyItemModule","MixedLoyaltyListModule","NgbPaginationModule","LoadingModule","FeaturedRewardsComponent_ng_container_0_ng_container_1_ng_container_15_ng_container_3_ng_template_1_Template","item_r3","FeaturedRewardsComponent_ng_container_0_ng_container_1_ng_container_15_ng_container_3_Template","mixedLoyaltyItems_r4","rewardsWidth","FeaturedRewardsComponent_ng_container_0_ng_container_1_ng_container_15_Template","FeaturedRewardsComponent_ng_container_0_ng_container_1_Template","showAllPath","FeaturedRewardsComponent_ng_container_0_Template","RewardWidth","Destop","Tablet","FeaturedRewardsComponent","mixedLoyaltyService","Margin","Autoplay","onWindowResize","setRewardsWidth","screen","mixedLoyaltyItems$","selectFavouriteMixedLoyaltyItems","setLoop","screenSize","FeaturedRewardsModule","coerceArray","hasV8BreakIterator","Intl","v8BreakIterator","Platform","_platformId","isBrowser","EDGE","navigator","userAgent","TRIDENT","BLINK","chrome","CSS","WEBKIT","IOS","FIREFOX","ANDROID","SAFARI","mediaQueriesForWebkitCompatibility","mediaQueryStyleNode","MediaMatcher","_platform","_nonce","_matchMedia","noopMatchMedia","createEmptyStyleRule","nonce","head","sheet","insertRule","CSP_NONCE","addListener","removeListener","BreakpointObserver","_mediaMatcher","_queries","_destroySubject","isMatched","splitQueries","mediaQuery","_registerQuery","mql","observe","observables","stateObservable","combineLatest","breakpointStates","response","breakpoints","output","Observable","observer","handler","queries","TierStore","EntityStore","setTier","tier","__decorate","StoreConfig","idKey","ttl","TierService","api","ApiService","tierStore","LoggingService","fetchTiers","request$","tiers","cacheable","fetchTier","getAnySingle","Tiers","TierQuery","QueryEntity","store","tiers$","currentTier","TierId","CurrentTierId","nextTier","currentTierIndex","lastTier","sortedTiers","MaximumTierPoints","getTierById","selectTierById","BaseTier","BarcodeQuery","BarcodeService","breakpoint","toSignal","barcode","member","balance","getLoyaltyBalance","computed","tierBalance","Balance","currentTierMaxPoints","progressRanking","currentTierMemberCount","CurrentTierMemberCount","CurrentTierPosition","UserProfilePicService","http","profilePic$","fetchProfilePic","shareReplay","headers","HttpHeaders","baseApiUrl","UserProfilePicComponent","profilePicService","defaultImagePath","createImageFromBlob","imageContainer","reader","FileReader","readAsDataURL","onError","TierV2Component_ng_container_5_ng_container_1_Template","loadingRef_r2","tmp_6_0","tmp_7_0","tmp_5_0","TierV2Component","TierV2Component_ng_container_5_Template","TierV2Component_ng_container_20_Template","TierV2Component_Conditional_23_Template","TierV2Component_Conditional_24_Template","TierV2Component_div_25_Template","TierV2Component_ng_template_26_Template","TierV2Component_ng_template_28_Template","TierV2Component_Conditional_31_Template","TierV2Component_Conditional_32_Template","TierV2Component_ng_container_35_Template","TierV2Component_ng_template_49_Template","TierV2Component_ng_template_51_Template","points_r5","tmp_9_0","tmp_10_0","showNextTier_r3","showPosition_r4","DecimalPipe","answer_r2","ImageURL","survey","SurveyType","surveyType","Predictor","SurveyItemAnswerComponent_div_2_ng_container_3_div_1_Template","SurveyItemAnswerComponent_div_2_ng_container_3_div_2_Template","imgDisplayType","selectAnswer","SurveyAnswerId","SurveyItemAnswerComponent_div_2_ng_container_3_Template","SurveyItemAnswerComponent_div_2_ng_container_4_Template","SurveyItemAnswerComponent_div_2_ng_container_5_Template","margins","colDisplayType","boxShadow","selectedAnswers","Trivia","Poll","AnswerDisplayType","answerDisplayType","ImageAndText","Text","SurveyItemAnswerComponent","surveyService","balanceService","predictorAnswers","answerType","AnswerType","selectImageDisplay","answerId","Single","submitAnswer","surveyId","SurveyId","answerDto","postSurveyAnswers","PointProcessType","OnAnswer","creditAccountForSurvey","firstSelectedAnswer","SurveyAnswers","sa","addBalance","SurveyItemAnswerComponent_div_2_Template","correctAnswer","hasSelectedCorrect","pointsWon","SurveyCompletedQuizTextComponent_ng_container_8_ng_container_3_Template","SurveyCompletedQuizTextComponent_ng_container_8_ng_template_4_Template","noPoints_r3","SurveyCompletedQuizTextComponent","SurveyCompletedQuizTextComponent_div_4_Template","SurveyCompletedQuizTextComponent_div_6_Template","SurveyCompletedQuizTextComponent_ng_container_8_Template","SurveyCompletedQuizTextComponent_ng_template_9_Template","incorrect_r4","answer_r1","SurveyCompletedQuizImageAndTextComponent_ng_container_6_ng_container_3_Template","SurveyCompletedQuizImageAndTextComponent_ng_container_6_ng_template_4_Template","SurveyCompletedQuizImageAndTextComponent","SurveyCompletedQuizImageAndTextComponent_div_3_Template","SurveyCompletedQuizImageAndTextComponent_div_4_Template","SurveyCompletedQuizImageAndTextComponent_ng_container_6_Template","SurveyCompletedQuizImageAndTextComponent_ng_template_7_Template","SurveyCompletedQuizImageComponent_ng_container_6_ng_container_3_Template","SurveyCompletedQuizImageComponent_ng_container_6_ng_template_4_Template","SurveyCompletedQuizImageComponent","SurveyCompletedQuizImageComponent_div_3_Template","SurveyCompletedQuizImageComponent_div_4_Template","SurveyCompletedQuizImageComponent_ng_container_6_Template","SurveyCompletedQuizImageComponent_ng_template_7_Template","SurveyCompletedQuizComponent","UserSelected","IsCorrectAnswer","SurveyCompletedQuizComponent_div_1_Template","SurveyCompletedQuizComponent_div_2_Template","SurveyCompletedQuizComponent_div_3_Template","SponsorText","SurveyItemQuizComponent_ng_container_15_ng_container_1_Template","SurveyItemQuizComponent_ng_container_15_ng_template_2_Template","HasBeenAnsweredByUser","SurveyItemQuizComponent","hideTitle","SurveyItemQuizComponent_img_3_Template","SurveyItemQuizComponent_div_4_Template","SurveyItemQuizComponent_div_5_Template","SurveyItemQuizComponent_ng_container_14_Template","SurveyItemQuizComponent_ng_container_15_Template","SurveyQuestion","PredictorCompletedPendingComponent_div_3_ng_container_2_Template","PredictorCompletedPendingComponent_div_3_ng_container_3_Template","PredictorCompletedPendingComponent_div_3_ng_container_4_Template","displayType","PredictorCompletedPendingComponent","PredictorCompletedPendingComponent_div_3_Template","PredictorCompletedProcessedComponent_ng_container_5_ng_container_3_Template","PredictorCompletedProcessedComponent_ng_container_5_ng_template_4_Template","PredictorCompletedProcessedComponent","PredictorCompletedProcessedComponent_div_2_Template","PredictorCompletedProcessedComponent_div_3_Template","PredictorCompletedProcessedComponent_ng_container_5_Template","PredictorCompletedProcessedComponent_ng_template_6_Template","SurveyCompletedPredictorComponent","ProcessStatus","SurveyCompletedPredictorComponent_div_3_Template","SurveyCompletedPredictorComponent_div_4_Template","disableSubmitButton","hasUserAnswered","SurveyItemPredictorComponent","itemAnswer","SurveyItemPredictorComponent_img_3_Template","SurveyItemPredictorComponent_div_4_Template","SurveyItemPredictorComponent_button_18_Template","SurveyItemPredictorComponent_div_19_Template","SurveyItemPredictorComponent_ng_container_21_Template","SurveyItemPredictorComponent_ng_template_22_Template","answer_r4","answer","SurveyCompletedPollItemComponent_ng_container_2_img_1_Template","percentage","SurveyCompletedPollItemComponent_ng_container_4_img_1_Template","SurveyCompletedPollItemComponent","AnswerCount","entryCount","SurveyCompletedPollItemComponent_ng_container_2_Template","SurveyCompletedPollItemComponent_ng_container_3_Template","SurveyCompletedPollItemComponent_ng_container_4_Template","SurveyEntryCount","SurveyCompletedPollComponent","SurveyCompletedPollComponent_div_1_Template","SurveyCompletedPollComponent_div_3_Template","SurveyItemPollComponent","SignalBased","SurveyItemPollComponent_div_2_Template","SurveyItemPollComponent_ng_template_3_Template","SurveyItemPollComponent_div_12_Template","SurveyItemPollComponent_ng_container_17_Template","SurveyItemPollComponent_ng_template_18_Template","noImage_r2","answer_r3","SurveyItemComponent","SurveyItemComponent_ng_container_1_Template","SurveyItemComponent_ng_container_2_Template","SurveyItemComponent_ng_container_3_Template","FeaturedSurveysComponent_ng_container_0_div_1_owl_carousel_o_11_ng_container_1_ng_template_1_Template","FeaturedSurveysComponent_ng_container_0_div_1_owl_carousel_o_11_ng_container_1_Template","mixedSurveyItems_r4","trackByFn","item_r6","FeaturedSurveysComponent_ng_container_0_div_1_owl_carousel_o_12_ng_container_1_ng_template_1_Template","_r5","FeaturedSurveysComponent_ng_container_0_div_1_owl_carousel_o_12_ng_container_1_Template","customOptions2","FeaturedSurveysComponent_ng_container_0_div_1_owl_carousel_o_11_Template","FeaturedSurveysComponent_ng_container_0_div_1_owl_carousel_o_12_Template","FeaturedSurveysComponent_ng_container_0_div_1_Template","FeaturedSurveysComponent","surveyQuery","predictors$","selectFavoriteSurvey","polls$","quizzes$","mixedSurveys$","predictor","polls","quizzes","FeaturedSurveysComponent_ng_container_0_Template","FGBErrorType","HTTP","CLIENT","FGBError","translationKey","FGBHttpError","getError","ErrorEvent","Code","Message","redemptionResult","errorMessage","VouchersComponent","voucherService","errorService","redeemVoucher","messageTimeout","clearMessages","sucessfulRedemption","disableButton","voucherCode","clearMessagesAfter","voucher","VoucherRedeemModel","VoucherCode","fetchBalance","httpError","finally","timeAfter","clearErrors","VouchersComponent_small_17_Template","VouchersComponent_small_18_Template","x_r2","benefit_r3","img_r1","UpgradeBenefitsCardComponent_div_6_img_4_Template","isMobile$","itemsPerRow","images","UpgradeBenefitsCardComponent","benefits","mobilePosition","useTranslate","isMobile","_translateText","UpgradeBenefitsCardComponent_div_6_Template","UpgradeBenefitsCardComponent_ng_container_9_Template","announcement","LinkUrl","LinkTitle","isEnableTarget","AnnouncementContentComponent_ng_container_7_a_1_Template","AnnouncementContentComponent_ng_container_7_a_2_Template","LinkType","AnnouncementContentComponent","breakpointObserver","checkLink","_link","AnnouncementContentComponent_ng_container_1_Template","AnnouncementContentComponent_ng_container_7_Template","announcement_r1","AnnouncementsComponent_ng_container_0_div_1_ng_container_5_ng_template_1_Template","AnnouncementsComponent_ng_container_0_div_1_ng_container_5_Template","announcements_r2","AnnouncementsComponent_ng_container_0_div_1_Template","AnnouncementsComponent","announcementQuery","announcements$","announcements","AnnouncementsComponent_ng_container_0_Template","AnnouncementsComponent_ng_template_2_Template","loadingRef_r4","HomePageComponent_ng_container_8_ng_container_1_Template","HomePageComponent_ng_container_10_ng_container_2_Template","HomePageComponent","announcementService","fetchAnnouncements","HomePageComponent_ng_container_7_Template","HomePageComponent_ng_container_8_Template","HomePageComponent_ng_container_9_Template","HomePageComponent_ng_container_10_Template","HomePageComponent_ng_container_12_Template","HomePageComponent_ng_template_15_Template","tmp_1_0","FaqSectionCardComponent_ng_container_4_ng_container_1_ng_template_7_Template","faqSectionCard_r1","FaqSectionCardComponent_ng_container_4_ng_container_1_Template","DisplayText","FaqSectionCardComponent_ng_container_4_Template","FaqSectionComponent_div_0_ng_container_2_ng_container_1_Template","faqSection_r1","FaqSectionComponent_div_0_ng_container_2_Template","faqSections_r2","FaqSectionComponent_div_0_Template","faqSections$","FaqSectionComponent_ng_template_2_Template","FaqSectionCardComponent","faqSection","SectionItems","FaqSectionComponent","faqSectionQuery","faqSectionService","userContext","fetchFaqSection","populationId","selectLoading","FaqSectionModule","NgbAccordionModule","FaqPageComponent","ContactUsComponent_option_10_Template","category_r1","ContactUsComponent_ng_container_18_div_1_Template","ContactUsComponent_ng_container_18_Template","required","ContactUsComponent_ng_container_19_div_1_Template","ContactUsComponent_ng_container_19_div_2_Template","ContactUsComponent_ng_container_19_Template","whitespace","invalidTags","profanityFilter","ContactUsComponent_div_23_Template","ContactUsComponent","contactService","submitted","sentSuccessfully","Subscription","contactUsForm","categories$","getCategories","initForm","submit","isValid","sendMessage","noWhitespaceValidator","invalidTagsValidator","profanityFilterValidator","watchMessage","watchCategories","fg","cats","valueChanges","filteredProfanityWords","profanityWords","word","ContactUsModule","ContactUsPageComponent","TermsPageComponent","TermsPageComponent_ng_template_8_Template","defaultTemplate_r1","NotFoundPageComponent","AccountNavComponent","ReferAFriendComponent_div_6_div_1_Template","friendName","ReferAFriendComponent_div_11_div_1_Template","ReferAFriendComponent_div_11_div_2_Template","friendEmail","ReferAFriendComponent_div_16_div_1_Template","friendPhone","ReferAFriendComponent_div_21_div_1_Template","reason","ReferAFriendComponent","mailingService","errorStateService","referAFriendForm","UntypedFormControl","sendReferral","formDate","sendEmail","EmailKind","ReferAFriend","Parameters","ParameterName","ParameterType","SqlDbType","VarChar","ParameterValue","addError","ReferAFriendComponent_div_6_Template","ReferAFriendComponent_div_11_Template","ReferAFriendComponent_div_16_Template","ReferAFriendComponent_div_21_Template","invalid","touched","ReferAFriendPageComponent","ReferAFriendSuccessPageComponent","RewardsLayoutComponent","SortBarComponent_ng_container_10_Template","optionSelected","SortBarComponent_button_14_Template","sortByDefault","SortBarComponent_button_15_div_1_span_2_Template","option_r4","labelASC","SortBarComponent_button_15_div_1_span_3_Template","labelDESC","SortBarComponent_button_15_div_1_Template","sortByProperty","order","sortOrderType","Ascending","Descending","SortBarComponent_button_15_ng_template_2_div_0_Template","SortBarComponent_button_15_ng_template_2_div_1_Template","SortBarComponent_button_15_ng_template_2_Template","SortBarComponent_button_15_Template","toggleBehavior_r7","shouldToggle","SortOrder","SortBarComponent","displayDefaultSort","defaultSortAction","selectedOption","newOrder","resetOptionSelected","toggleOrderSelection","orderByProperty","sortBarOptions","itemList","propertyToSort","comparison","localeCompare","NgbDropdown","SortBarModule","AuctionListComponent_ng_container_1_ng_container_1_ng_container_1_Template","resetOrder","sortedAuctions","AuctionListComponent_ng_container_1_ng_container_1_div_2_Template","auction_r3","AuctionListComponent_ng_container_1_ng_container_1_Template","AuctionListComponent_ng_container_1_Template","noAuctions_r4","AuctionListComponent_ng_template_3_Template","AuctionListComponent_ng_template_5_Template","AuctionListSortOption","TimeRemaining","AuctionListComponent","defaultSort","subscribeAndSortAuctions","defineSortBarOptions","joinGroup","removeFromGroup","auctions$","selectAuctions","sortByTimeRemaining","sortByOrdinal","TimeRemainingInSeconds","isList","loadingRef_r5","AuctionListModule","MixedLoyaltyNavComponent","AuctionsPageComponent","CountdownV2Component_span_0_Template","remainingTime$","CountdownV2Component_ng_template_1_Template","CountDownFormatPipe","milliseconds","Duration","fromMillis","shiftTo","toObject","CountdownV2Component","startDateTime","startTimer","remainingTime","millisecond","remainingTimeInMillis","fromObject","as","takeWhile","predicate","inclusive","RewardStatusComponent_ng_container_3_Template","RewardStatusComponent_ng_container_4_Template","RewardStatusComponent_ng_container_5_Template","itemStart","comingSoonDate","RewardStatusComponent_ng_container_6_Template","RewardStatusComponent_ng_container_7_Template","RewardStatusComponent","statusType","TranslateModule","ConfirmModalComponent_div_1_Template","imageRef","ConfirmModalComponent_ng_container_2_ng_container_2_Template","headerContent","ConfirmModalComponent_ng_container_2_Template","ConfirmModalComponent","confirm","ConfirmModalDirective","destroy$","modal","confirmImage","modalComponent","confirmContent","confirmContext","confirmHeader","ConfirmModalModule","minBid","AuctionDetailsComponent_div_0_ng_container_1_div_6_Template","AuctionDetailsComponent_div_0_ng_container_1_div_7_Template","AuctionDetailsComponent_div_0_ng_container_1_Template","auction","AuctionDetailsComponent_div_0_ng_container_4_div_6_Template","AuctionDetailsComponent_div_0_ng_container_4_div_7_Template","AuctionDetailsComponent_div_0_ng_container_4_Template","AuctionDetailsComponent_div_0_ng_container_6_Template","AuctionDetailsComponent_div_0_ng_container_10_ng_container_7_Template","AuctionDetailsComponent_div_0_ng_container_10_div_10_Template","bidAmount","isBidOutOfRange","onErrorChange","auctionEnd","AllowSelfBid","HasPreviousSuccessfulBid","availableBalance","minBidAmount","AuctionDetailsComponent_div_0_ng_container_10_Template","submitBid","confirmContent_r5","ShowTermsAndConditions","PointsValue","AuctionDetailsComponent_div_0_ng_template_12_ng_container_0_Template","AuctionDetailsComponent_div_0_ng_template_12_Template","status_r7","STATUS","AuctionDetailsComponent_div_0_ng_container_23_ng_container_7_Template","AuctionDetailsComponent_div_0_ng_container_23_ng_container_8_Template","AuctionDetailsComponent_div_0_ng_container_23_Template","TermsAndCondtionsType","AuctionDetailsComponent_div_0_ng_template_24_ng_container_4_Template","AuctionDetailsComponent_div_0_ng_template_24_Template","AuctionDetailsComponent_div_0_Template","disabledTemplate_r8","ItemDescription","AuctionDetailsComponent","carouselConfig","showTermsAndConditionsText","auctionId","updateCarouselConfig","runInInjectionContext","selectAuction","updateValues","bidIncrement","UserLastBid","bid","AuctionBid","amountToDebit","postBid","debitBalance","showNavigationIndicators","FgbError","i8","i9","i10","i11","i12","AuctionDetailsModule","NgbCarouselModule","ErrorComponent","PointsSummaryComponent","PointsSummaryBarComponent","backButtonLink","showPoints","backButtonTitle","marketplaceItemGroup","PointsSummaryBarComponent_ng_container_7_Template","AuctionDetailPageComponent","snapshot","paramMap","MarketplaceListComponent_ng_container_1_ng_container_1_ng_container_1_fgbcl_sort_bar_1_Template","filteredMarketplaceItems","MarketplaceListComponent_ng_container_1_ng_container_1_ng_container_1_Template","showSortBar","MarketplaceListComponent_ng_container_1_ng_container_1_div_2_Template","MarketplaceListComponent_ng_container_1_ng_container_1_Template","MarketplaceListComponent_ng_container_1_Template","noMarketplaceItems_r4","MarketplaceListComponent_ng_template_3_div_0_Template","MarketplaceListComponent_ng_template_3_div_1_Template","MarketplaceListComponent_ng_template_3_div_2_Template","MarketplaceListComponent_ng_template_3_Template","marketplaceItemView","eventItemView","productsItemView","MarketplaceListComponent_ng_template_5_Template","MarketplaceListSortOption","Points","MarketplaceListComponent","marketplaceExtendedQuery","queryMarketplaceItems","subscribeAndSortMarketplaceItems","marketplaceItemsSubscription","marketplaceItems$","marketplaceItemTypes","selectExtendedMarketplaceItemsOfType","selectExtendedMarketplaceItems","today","ItemEndDate","_sortItems","sortedItemsMap","sortByPoints","sortedItems","availableItems","notEnoughPointsItems","limitReachedItems","soldOutItems","comingSoonItems","sortItemsFavouriteAndNewest","marketplaceItemExtended","itemsNew","Active","threeDays","itemsFavourite","MarketplaceListModule","data_r1","barcodeModal_r3","openBarcodeModal","modal_r7","TierComponent_div_0_ng_container_14_ng_container_1_Template","TierComponent_div_0_ng_container_14_ng_template_2_Template","loadingRef_r8","TierComponent_div_0_div_6_Template","TierComponent_div_0_ng_container_14_Template","TierComponent","ngModal","currentTier$","getCurrentTier","TierComponent_div_0_Template","TierComponent_ng_template_4_Template","MarketplacePageComponent","fetchMarketplaceItems","MarketplacePageComponent_div_4_Template","MarketplacePageComponent_ng_container_5_Template","MarketplacePageComponent_ng_container_6_Template","CollectAddressModal_span_1_Template","CollectAddressModal_span_2_Template","CollectAddressModal_span_3_Template","CollectAddressModal","purchaseService","addressService","saveMemberDetailsAddress","saveOrderAddress","saveShippingAddress","submittedAddress","hasSubmitted","addressForm","EmailAddress","address","HomeNumber","Postcode","RegexUS","postCode","ClubId","closeModal","saveAddress","updatePurchaseAddress","orderId","updateMemberDetailsAsync","MarketplacePurchaseConfirmationComponent_div_2_ng_container_2_Template","MarketplacePurchaseConfirmationComponent_div_2_ng_container_3_Template","MarketplacePurchaseConfirmationComponent_div_2_ng_container_4_Template","MarketplacePurchaseConfirmationComponent_div_2_ng_container_6_Template","MarketplacePurchaseConfirmationComponent_div_2_ng_container_13_div_2_Template","attribute_r1","MarketplacePurchaseConfirmationComponent_div_2_ng_container_13_Template","selectedAttributes","MarketplacePurchaseConfirmationComponent_div_2_ng_container_14_div_1_div_1_Template","field_r3","MarketplacePurchaseConfirmationComponent_div_2_ng_container_14_div_1_Template","MarketplacePurchaseConfirmationComponent_div_2_ng_container_14_Template","validCustomFields","MarketplacePurchaseConfirmationComponent_div_2_div_22_Template","MarketplacePurchaseConfirmationComponent_div_2_div_23_Template","MarketplacePurchaseConfirmationComponent_div_2_Template","marketplaceItemType","attributeMappingID","MarketplacePurchaseConfirmationComponent_div_3_Template","MarketplaceActionsComponent_div_1_div_1_ng_container_1_Template","updatePurchaseValidation","limitMessage_r3","purchaseLimit_r4","UnlimitedStock","MarketplaceActionsComponent_div_1_div_1_Template","marketplaceItemStatus","MarketplaceActionsComponent_div_1_div_2_ng_container_5_Template","disableCart_r6","addProductToCart","MarketplaceActionsComponent_div_1_div_2_Template","openPurchaseConfirmationModal","isUnredeemble","MarketplaceActionsComponent_div_1_div_3_Template","isEcashButtonDisabled","MarketplaceActionsComponent_div_1_Template","limitMessage$","disableCart$","hasECash","MarketplaceAttributesComponent_div_0_div_1_span_5_Template","attr_r3","idx_r4","MarketplaceAttributesComponent_div_0_div_1_option_6_Template","attrMapping_r5","AvailableStockCount","AttributeMappingId","MarketplaceAttributesComponent_div_0_div_1_label_7_ng_container_1_Template","MarketplaceAttributesComponent_div_0_div_1_label_7_Template","selectAttributeText_r6","MarketplaceAttributesComponent_div_0_div_1_Template","onAttributeChange","selectedAttributeValue","localisedAttributes","AttributeMappings","MarketplaceAttributesComponent_div_0_button_2_div_1_ng_container_1_Template","MarketplaceAttributesComponent_div_0_button_2_div_1_Template","MarketplaceAttributesComponent_div_0_button_2_div_2_ng_container_2_Template","MarketplaceAttributesComponent_div_0_button_2_div_2_Template","MarketplaceAttributesComponent_div_0_button_2_Template","addStyleBackdrop","MarketplaceAttributesComponent_div_0_ng_container_6_Template","MarketplaceAttributesComponent_div_0_button_10_Template","attrMapping_r9","MarketplaceAttributesComponent_div_0_ng_template_11_span_2_Template","attr_r10","idx_r11","MarketplaceAttributesComponent_div_0_ng_template_11_Template","MarketplaceAttributesComponent_div_0_Template","MarketplaceCustomFieldsComponent_div_2_div_8_div_1_Template","MarketplaceCustomFieldsComponent_div_2_div_8_div_2_Template","i_r1","customFieldsForm","maxlength","actualLength","requiredLength","MarketplaceCustomFieldsComponent_div_2_div_8_div_3_Template","MarketplaceCustomFieldsComponent_div_2_div_8_Template","MarketplaceCustomFieldsComponent_div_2_Template","customFieldDynamic_r3","FieldType","dirty","hasSumbittedForm","CharacterLimit","MarketplaceDetailsComponent_div_0_ng_container_1_Template","MarketplaceDetailsComponent_div_0_ng_container_4_Template","MarketplaceDetailsComponent_div_0_ng_container_6_Template","MarketplaceDetailsComponent_div_0_ng_container_7_ng_container_2_Template","MarketplaceDetailsComponent_div_0_ng_container_7_Template","MarketplaceDetailsComponent_div_0_ng_container_11_div_1_Template","MarketplaceDetailsComponent_div_0_ng_container_11_Template","MarketplaceDetailsComponent_div_0_ng_container_12_Template","MarketplaceDetailsComponent_div_0_div_13_Template","MarketplaceDetailsComponent_div_0_ng_container_14_fgbcl_marketplace_attributes_1_Template","onAttributeValueChange","MarketplaceDetailsComponent_div_0_ng_container_14_fgbcl_marketplace_custom_fields_2_Template","setCustomFields","CustomFields","MarketplaceDetailsComponent_div_0_ng_container_14_div_3_Template","marketplaceActionsComponent","updateTermsAndCondtions","MarketplaceDetailsComponent_div_0_ng_container_14_fgbcl_marketplace_actions_4_Template","updateLoading","submitForm","actionLabels","availableStock","MarketplaceDetailsComponent_div_0_ng_container_14_Template","originalStatus","MarketplaceDetailsComponent_div_0_ng_template_16_Template","status_r8","MarketplaceDetailsComponent_div_0_ng_container_27_ng_container_7_Template","MarketplaceDetailsComponent_div_0_ng_container_27_ng_container_8_Template","MarketplaceDetailsComponent_div_0_ng_container_27_Template","MarketplaceDetailsComponent_div_0_Template","disabledTemplate_r9","DescriptionText","MarketplaceDetailsComponent_ng_container_2_Template","MarketplacePurchaseConfirmationComponent","addressQuery","transactionSuccessService","rewardsWalletService","clicked","purchaseLoading","addToCartTermsConfirmed","defaultAddress","AddressType","DefaultAddress","selectAddresses","addresses","md","shippingAddress","_getDefaultShippingAddress","shippingAddressForm","homeNumber","shippingAddress1","ShippingAddress1","shippingAddress2","ShippingAddress2","openAddressCollectionModal","ariaLabelledBy","continueOrder","openTerms","purchase","addToCart","price","getPrice","resetLoading","cost","purchaseItemWithProviderResopnse","templateSelected","Success","setTransaction","OrderId","disableMarketplaceStoreCache","disableRewardsWalletStoreCache","ProviderActionInformation","NextAction","ErrorMessage","continueResponse","Data","EcashButtonDisabled","purchaseLimit","InputActive","LoyaltyStatusService","MarketplaceActionsComponent","ActionLabels","cardTokenCount","_acceptedTerms","isActionClicked","_setUpLocalVariables","updatePurchaseData","accepted","updateCustomFields","_updatePurchaseLimit","marketplaceTerms","TermsAndCondtion","_updateItemLocalStatus","cartItemQty","getCartItemPurchaseQuantity","_isMaxStockInBasket","_isLimitReachedInBasket","availableLimit","isAboveLimit","purchaseLimit$","selectPurchaseLimit","selectPurchaseLimitMessage","selectMemberMarketplaceCartItem","mergeMap","currentCartItem","assumedPurchaseQuantity","cartPurchaseQty","addItemToCartService","templateName","removeAllCartItems","loadingState","termsConfirmed","isCheckTC","MarketplaceAttributesComponent","elementRef","attributeMapping","Attributes","getLocalAttributes","setupMapping","getLocalisedAttributes","_emitMapping","selectedMapping","newMapping","MarketplaceItemMappingAttribute","StockCount","MarketplaceCustomFieldsComponent","customFieldsChange","dynamicFormCustomFields","customFieldsGroup","array","_setCustomFields","emitCustomFieldsValues","customFieldId","CustomFieldId","isRequiredField","fieldIndex","formField","validator","itemCustomFields","currentCustomField","validators","IsRequired","requiredTrue","maxLength","ValidationRegEx","addControl","MarketplaceDetailsComponent","cardTokenQuery","selectUnfrozenCards","_subToUserChange","marketplaceItem$","selectExtendedMarketplaceItem","itemId","_setUpTermsAndConditions","attributeSelection","AttributeValues","getSelectedAttributes","useMappings","StockType","MarketplaceItemStockType","AttributeStockType","getMarketplaceItemType","fields","termsLink","i7$1","MarketplaceActionsModule","MarketplaceAttributesModule","MarketplaceCustomFieldsModule","MarketplacePurchaseConfirmationModule","MarketplaceDetailsModule","MarketplaceDetailPageComponent","MarketplaceDetailPageComponent_ng_container_6_Template","MarketplaceDetailPageComponent_ng_container_9_Template","customfield_r2","purchasedItem_r3","TotalMerchantPrice","MarketplacePurchaseSuccessPageComponent_div_0_div_20_ng_container_16_div_1_Template","MarketplacePurchaseSuccessPageComponent_div_0_div_20_ng_container_17_div_1_Template","MarketplacePurchaseSuccessPageComponent_div_0_div_20_ng_container_8_Template","MarketplacePurchaseSuccessPageComponent_div_0_div_20_ng_container_9_Template","MarketplacePurchaseSuccessPageComponent_div_0_div_20_ng_container_16_Template","MarketplacePurchaseSuccessPageComponent_div_0_div_20_ng_container_17_Template","MarketplacePurchaseSuccessPageComponent_div_0_div_20_div_18_Template","MarketplacePurchaseSuccessPageComponent_div_0_div_20_div_19_Template","defaultItemImageUrl","defaultItemName","ItemCount","downloadPurchasedItem","purchasedItemLogId","MarketplacePurchaseSuccessPageComponent_div_0_div_21_div_1_Template","purchasedItem_r6","ProcessProvider","Download","MarketplacePurchaseSuccessPageComponent_div_0_ng_container_6_Template","MarketplacePurchaseSuccessPageComponent_div_0_ng_container_7_Template","MarketplacePurchaseSuccessPageComponent_div_0_ng_container_8_Template","MarketplacePurchaseSuccessPageComponent_div_0_ng_container_9_Template","MarketplacePurchaseSuccessPageComponent_div_0_ng_container_11_Template","MarketplacePurchaseSuccessPageComponent_div_0_ng_container_12_Template","MarketplacePurchaseSuccessPageComponent_div_0_ng_container_13_Template","MarketplacePurchaseSuccessPageComponent_div_0_ng_container_14_Template","MarketplacePurchaseSuccessPageComponent_div_0_div_20_Template","MarketplacePurchaseSuccessPageComponent_div_0_div_21_Template","purchasedItemList","MarketplacePurchaseSuccessPageComponent","transactionSuccessQuery","purchaseQuery","activatedRoute","basketService","purchaseOrderId","getDetailPurchasesOrderBasket","storeValue","totalPrice","_getMarketplaceItemType","selectPurchases","purchases","orderedPurchases","uniquePurchases","RewardItemId","LogId","getLocalisedAttributeValuesFromArray","logId","downloadMarketplaceItem","newBlob","anchor","download","revokeObjectURL","getPurchasesOrderBasket","basketItems","BasketItems","firstBasketItemLogId","Items","firstItemData","getDetailPurchase","processProviderId","VirtualEvent","Product","MarketplacePurchaseSuccessPageComponent_div_0_Template","MarketplacePurchaseSuccessPageComponent_ng_template_1_Template","noPurchase_r7","LottosListComponent_ng_container_1_ng_container_1_ng_container_1_Template","lottos_r3","LottosListComponent_ng_container_1_ng_container_1_div_2_Template","item_r4","LottosListComponent_ng_container_1_ng_container_1_Template","LottosListComponent_ng_container_1_Template","noLottos_r5","LottosListComponent_ng_template_3_Template","LottosListComponent_ng_template_5_Template","LottoListSortOption","LottosListComponent","subscribeAndSortLottoItems","lottos$","selectLottos","sortByFavourite","loadingRef_r6","LottosListModule","LottosPageComponent","LottosPageComponent_div_4_Template","LottoDetailsComponent_div_0_ng_container_1_div_4_Template","lottoItem_r1","LottoDetailsComponent_div_0_ng_container_1_Template","LottoDetailsComponent_div_0_div_3_ng_container_1_div_4_Template","LottoDetailsComponent_div_0_div_3_ng_container_1_Template","LottoDetailsComponent_div_0_div_3_ng_container_3_Template","LottoDetailsComponent_div_0_div_3_ng_container_7_div_3_Template","LottoDetailsComponent_div_0_div_3_ng_container_7_ng_container_4_Template","LottoDetailsComponent_div_0_div_3_ng_container_7_ng_container_8_div_1_Template","limitMessage_r6","entriesLimit_r7","UnlimitedLimit","LottoDetailsComponent_div_0_div_3_ng_container_7_ng_container_8_Template","LottoDetailsComponent_div_0_div_3_ng_container_7_Template","lottoEnd","enterLotto","confirmContent_r8","statusDisableManualEntry","LottoDetailsComponent_div_0_div_3_ng_template_8_ng_container_0_Template","LottoDetailsComponent_div_0_div_3_ng_template_8_div_1_Template","LottoDetailsComponent_div_0_div_3_ng_template_8_Template","_r9","status_r10","LottoDetailsComponent_div_0_div_3_ng_container_19_ng_container_7_Template","LottoDetailsComponent_div_0_div_3_ng_container_19_ng_container_8_Template","LottoDetailsComponent_div_0_div_3_ng_container_19_Template","LottoDetailsComponent_div_0_div_3_ng_template_20_ng_container_4_Template","LottoDetailsComponent_div_0_div_3_ng_template_20_Template","LottoDetailsComponent_div_0_div_3_Template","disabledTemplate_r11","LottoDetailsComponent_div_0_Template","entriesLimit$","LottoDetailsComponent","lottosService","LoyaltyLimitType","lottoItem$","lottoId","lotto","lottoTerms","selectEntriesLimit","selectEntriesLimitMessage","LottoDetailsModule","LottoDetailPageComponent","LottoDetailPageComponent_ng_container_7_Template","LottoDetailPageComponent_ng_container_10_Template","LottosSuccessPageComponent","transaction","LottosSuccessPageComponent_div_0_Template","LottosSuccessPageComponent_ng_template_1_Template","noPurchase_r2","EventsPageComponent","AuctionWonListItemComponent_ng_container_0_ng_container_7_Template","AuctionWonListItemComponent_ng_container_0_Template","AuctionWonListItemComponent_ng_container_1_Template","RedeemDate","ShortDateFormat","AuctionWalletDetailsComponent_div_0_ng_container_16_Template","ExpireDate","AuctionWalletDetailsComponent_div_0_ng_container_17_Template","AuctionWalletDetailsComponent_div_0_ng_container_18_Template","AuctionWalletDetailsComponent_div_0_ng_container_32_Template","AuctionWalletDetailsComponent_div_0_Template","backToWallet","PurchaseDate","AuctionWalletDetailsComponent_ng_template_2_Template","LottosWonListItemComponent_ng_container_0_Template","LottosWonListItemComponent_ng_container_1_Template","MarketplacePurchasedListItemComponent_ng_container_0_ng_container_7_Template","purchaseItem","MarketplacePurchasedListItemComponent_ng_container_0_ng_container_8_Template","MarketplacePurchasedListItemComponent_ng_container_0_ng_template_9_div_0_Template","MarketplacePurchasedListItemComponent_ng_container_0_ng_template_9_Template","MarketplaceItemType","UniqueCode","MarketplacePurchasedListItemComponent_ng_container_0_div_11_Template","MarketplacePurchasedListItemComponent_ng_container_0_ng_container_12_Template","MarketplacePurchasedListItemComponent_ng_container_0_Template","uniqueCodeText_r4","isUniqueCodeLink","MarketplacePurchasedListItemComponent_ng_container_1_Template","RewardsWalletRedeemListItemComponent_fgbcl_auction_won_list_item_1_Template","RewardsWalletRedeemListItemComponent_fgbcl_marketplace_purchased_list_item_2_Template","RewardsWalletRedeemListItemComponent_fgbcl_lottos_won_list_item_3_Template","RewardsWalletRedeemListComponent_ng_container_0_ng_container_5_ng_template_1_Template","getItemDetailUrl","RewardsWalletRedeemListComponent_ng_container_0_ng_container_5_Template","RewardsWalletRedeemListComponent_ng_container_0_Template","unRedeemedItems","LottosWalletDetailsComponent_div_0_ng_container_16_Template","LottosWalletDetailsComponent_div_0_ng_container_31_Template","LottosWalletDetailsComponent_div_0_Template","LottosWalletDetailsComponent_ng_template_2_Template","MarketplaceWalletDetailsComponent_div_0_ng_container_16_Template","purchasedItem","MarketplaceWalletDetailsComponent_div_0_ng_container_17_Template","MarketplaceWalletDetailsComponent_div_0_ng_container_18_ng_container_6_Template","MarketplaceWalletDetailsComponent_div_0_ng_container_18_Template","MarketplaceWalletDetailsComponent_div_0_ng_container_19_Template","MarketplaceWalletDetailsComponent_div_0_ng_template_20_ng_container_0_div_4_Template","Code2","MarketplaceWalletDetailsComponent_div_0_ng_template_20_ng_container_0_Template","MarketplaceWalletDetailsComponent_div_0_ng_template_20_Template","MarketplaceWalletDetailsComponent_div_0_div_22_Template","MarketplaceWalletDetailsComponent_div_0_div_24_Template","MarketplaceWalletDetailsComponent_div_0_div_25_Template","MarketplaceWalletDetailsComponent_div_0_div_26_Template","MarketplaceWalletDetailsComponent_div_0_div_27_ng_container_1_Template","customField_r4","DisplayValue","MarketplaceWalletDetailsComponent_div_0_div_27_Template","MarketplaceWalletDetailsComponent_div_0_div_28_Template","attribute_r5","MarketplaceWalletDetailsComponent_div_0_ng_container_35_Template","MarketplaceWalletDetailsComponent_div_0_Template","uniqueCodeText_r6","MarketplaceWalletDetailsComponent_ng_template_1_Template","RewardsWalletRedeemedListItemComponent_fgbcl_auction_won_list_item_1_Template","RewardsWalletRedeemedListItemComponent_fgbcl_marketplace_purchased_list_item_2_Template","RewardsWalletRedeemedListItemComponent_fgbcl_lottos_won_list_item_3_Template","RewardsWalletRedeemedListComponent_ng_template_2_ng_container_0_ng_container_2_Template","RewardsWalletRedeemedListComponent_ng_template_2_ng_container_0_div_3_Template","redeemedItems","RewardsWalletRedeemedListComponent_ng_template_2_ng_container_0_Template","items_r4","pageLength","RewardsWalletRedeemedListComponent_ng_template_2_Template","AuctionWonListItemComponent","ShowMoreInfo","AuctionWalletDetailsComponent","rewardWalletQuery","rewardWalletItemsService","auctionBid$","selectRewardWalletItem","fetchWalletItems","back","noItem_r4","LottosWonListItemComponent","MarketplacePurchasedListItemComponent","RewardsWalletRedeemListItemComponent","itemType","WalletItemType","ItemType","Auction","Lotto","RewardsWalletRedeemListComponent","marketplaceWalletUrl","auctionWalletUrl","lottoWalletUrl","UniqueId","LottosWalletDetailsComponent","rewardsWalletQuery","lottoWalletItem$","MarketplaceWalletDetailsComponent","noItem_r7","RewardsWalletRedeemedListItemComponent","RewardsWalletRedeemedListComponent","onlyRedeemed","i2$2","WalletModule","walletItems_r1","walletItemsUnclaimed","WalletPageComponent_ng_container_7_ng_container_3_Template","noWalletItems_r2","WalletPageComponent","walletItemsUnclaimed$","selectRewardWalletItemsByStatus","WalletPageComponent_div_6_Template","WalletPageComponent_ng_container_7_Template","WalletPageComponent_ng_template_9_Template","GamesLayoutComponent","Season","startMonth","tenure","startYear","getMonthByIndex","monthIndex","fromJSDate","FantasyService","_dateformat","getMonthlyLeaderboard","amountToDisplay","bySeason","HttpParams","monthlyLeaderboard","leaderboard","getLeaderboardForMonth","getYearlyLeaderboard","monthSlideIndex","diffResult","Interval","fromDateTimes","displayText","toFormat","filteredItems","startOf","FantasyMonth","monthDisplayText","GameNavComponent","GameNavComponent_ng_container_2_Template","GameNavComponent_ng_container_3_Template","GameNavComponent_ng_container_4_Template","GameNavComponent_ng_container_5_Template","GameNavComponent_ng_container_6_Template","selectedPlayer","PlayerName","game","GameId","buttonClick","FantasyPlayerSelectConfirmComponent_div_0_ng_container_1_Template","FantasyPlayerSelectConfirmComponent_div_0_ng_container_2_Template","FantasyPlayerSelectConfirmComponent_div_0_ng_container_3_Template","FantasyPlayerSelectConfirmComponent_div_0_ng_container_4_Template","FantasyPlayerSelectConfirmComponent_div_0_ng_container_5_Template","sameLine","buttonState","FantasyPlayerSelectConfirmComponent","isGamePending","FantasyPlayerSelectConfirmComponent_div_0_Template","HomeTeamLogo","AwayTeamLogo","FantasyGamePanelComponent","horizontal","GamePlayers","IsSelected","gameDate","GameDate","format","gameTime","FantasyGamePanelComponent_img_12_Template","FantasyGamePanelComponent_img_17_Template","FantasyGamePanelComponent_img_29_Template","FantasyGamePanelComponent_img_37_Template","FantasyGamePanelComponent_img_42_Template","FantasyGamePanelComponent_img_43_Template","FantasyGamePanelComponent_img_50_Template","FantasyGamePanelComponent_img_51_Template","FantasyHistoryListItemComponent_div_17_span_1_Template","fantasyHistoryItem","PlayerGamePoints","FantasyHistoryListItemComponent","isPending","GameStatus","Ready","FantasyHistoryListItemComponent_div_17_Template","FantasyHistoryListItemComponent_ng_template_18_Template","PlayerImage","AwayTeamName","pointsPending_r2","FantasyHistoryListComponent_ng_container_0_ng_container_1_ng_container_2_Template","fantasyHistory_r2","FantasyHistoryListComponent_ng_container_0_ng_container_1_Template","noPlayerHistory_r3","FantasyHistoryListComponent","fantasyHistoryQuery","pendingPeriod","fantasyHistory$","selectHistoryBeforeDate","subtract","FantasyHistoryListComponent_ng_container_0_Template","FantasyHistoryListComponent_ng_template_2_Template","entry_r1","IsCurrentUser","Position","FullName","FantasyLeaderboardComponent","fantasyEntries","FantasyLeaderboardComponent_div_11_Template","game_r4","goToDetail","hasActivePlayer","FantasyGamesPageComponent_ng_container_11_ng_container_1_ng_container_1_ng_container_4_ng_template_1_Template","games_r6","currentGames","FantasyGamesPageComponent_ng_container_11_ng_container_1_ng_container_1_ng_container_4_Template","FantasyGamesPageComponent_ng_container_11_ng_container_1_ng_container_1_div_7_Template","customGameOptions","FantasyGamesPageComponent_ng_container_11_ng_container_1_ng_container_1_Template","FantasyGamesPageComponent_ng_container_11_ng_container_1_Template","pendingGames","noGames_r8","item_r9","FantasyGamesPageComponent_div_34_2_ng_template_0_Template","FantasyGamesPageComponent_div_34_2_Template","monthlyLeaderboard$","yearlyLeaderboards$","FantasyGamesPageComponent","fantasyQuery","fantasyService","showMonthly","currentGames$","selectCurrentGames","pendingGames$","selectFinshedFantasyGamesAfterDate","yearlyLeaderboard$","fantasySub","gameId","FantasyGamesPageComponent_ng_container_11_Template","FantasyGamesPageComponent_div_34_Template","FantasyGamesPageComponent_ng_template_35_Template","FantasyGamesPageComponent_ng_template_41_Template","yearly_r10","player_r2","PlayerId","player_r5","FantasyPlayerSelectComponent","firstSelection","changedSelection","game$","selectGameById","SelectedPlayerId","players$","selectPlayersByGameId","selectedPlayer$","playerId","markSelected","confirmSelection","FantasyPlayerSelectComponent_div_28_Template","FantasyPlayerSelectComponent_div_32_Template","FantasyPlayerSelectPageComponent","predictor_r1","PredictorPageComponent_ng_container_6_div_1_Template","PredictorPageComponent_ng_container_6_div_2_Template","predictors_r2","PredictorPageComponent","selectRelevantSurveys","PredictorPageComponent_ng_container_6_Template","poll_r1","PollsPageComponent_ng_container_6_div_1_Template","PollsPageComponent_ng_container_6_div_2_Template","polls_r2","PollsPageComponent","PollsPageComponent_ng_container_6_Template","AuctionBidDetailsPageComponent","LottoWalletDetailsPageComponent","quiz_r1","QuizPageComponent_ng_container_6_div_1_Template","QuizPageComponent_ng_container_6_div_2_Template","quizzes_r2","QuizPageComponent","QuizPageComponent_ng_container_6_Template","accessibilityLabel","wscPrefix","maxLimit","NumberIncrementInputComponent","onChangeCallback","onTouchedCallback","numberChange$","_unsubscribeAll","NumberIncrementInputComponent_div_1_Template","NumberIncrementInputComponent_div_4_Template","SeparateEntryWindow","EntryEndDate","ScorePredictorBodyComponent_div_1_ng_container_1_Template","canEditAnswer","ScorePredictorBodyComponent_div_2_ng_container_1_Template","dateTime_r2","scorePredictorStatus","EntryOpen","ScorePredictorBodyComponent_div_8_ng_container_1_Template","Answered","team_r5","ScorePredictorBodyComponent_ng_template_16_ng_container_1_Template","ScorePredictorBodyComponent","ScorePredictorStatus","fb","countDownComplete","homeTeamValueChange","awayTeamValueChange","scoreForm","home","homeTeamValue","away","awayTeamValue","ScorePredictorBodyComponent_div_1_Template","ScorePredictorBodyComponent_div_2_Template","ScorePredictorBodyComponent_ng_container_5_Template","ScorePredictorBodyComponent_div_6_Template","ScorePredictorBodyComponent_div_8_Template","ScorePredictorBodyComponent_ng_container_10_Template","ScorePredictorBodyComponent_div_12_Template","ScorePredictorBodyComponent_ng_container_13_Template","ScorePredictorBodyComponent_ng_template_14_Template","ScorePredictorBodyComponent_ng_template_16_Template","imageTemplate_r6","homeTeam","awayTeam","editAnswer","ScorePredictorCompletedPendingComponent","canEdit","PredictorAnswerType","Home","homeAnswer","AnswerValue","Away","awayAnswer","ScorePredictorCompletedPendingComponent_div_1_Template","ScorePredictorCompletedPendingComponent_div_2_Template","homeScore","awayScore","ScorePredictorCompletedProcessedComponent","ScorePredictorCompletedProcessedComponent_div_0_Template","ScorePredictorCompletedProcessedComponent_div_2_Template","ScorePredictorCompletedProcessedComponent_div_3_Template","ScorePredictorCompletedComponent","ScorePredictorCompletedComponent_ng_container_1_Template","ScorePredictorCompletedComponent_ng_container_2_Template","EntryStartDate","ScorePredictorFooterComponent","ScorePredictorFooterComponent_ng_container_0_Template","ScorePredictorFooterComponent_ng_container_1_Template","ScorePredictorFooterComponent_ng_container_2_Template","scorePredictor","ScorePredictorHeaderComponent","statusChange","removeScorePredictor","processStatus","scoreClosed","selectSurveys","ScorePredictor","surveys","ScorePredictorHeaderComponent_ng_container_8_Template","ScorePredictorItemComponent","cdRef","defineTeamValues","defineAnswers","answers","answerValue","postScorePredictorAnswers","calculateEntryEnd","removeSurvey","updateStatusChange","newStatus","updateScoresFromStore","scorePredictor_r2","removeFromCarousselNoRefresh","ScorePredictorListComponent_ng_container_0_ng_container_6_ng_template_2_Template","ScorePredictorListComponent_ng_container_0_h2_1_Template","ScorePredictorListComponent_ng_container_0_div_2_Template","ScorePredictorListComponent_ng_container_0_ng_container_6_Template","displayTitle","scorePredictorOptions","scorePredictors","ScorePredictorListComponent","fetchScorePredictors","fetchAllSurveys","selectScorePredictors","reorderPredictors","unAnsweredSurveys","isUnansweredSurvey","sortSurveysByEndDate","answeredSurveys","isEditableSurvey","isNonEditableSurvey","isComingSoonSurvey","Processed","isOpenStatus","endDateB","ScorePredictorListComponent_ng_container_0_Template","ScorePredictorPageComponent_ng_container_6_div_1_Template","ScorePredictorPageComponent_ng_container_6_div_2_Template","scorePredictors_r1","ScorePredictorPageComponent","scorePredictors$","ScorePredictorPageComponent_ng_container_6_Template","ProductsPageComponent","BadgeListItemComponent","BadgeStatus","badge","Badge","BadgeListItemModule","BadgeOverviewListComponent_ng_container_1_ng_container_1_ng_container_1_div_5_Template","badge_r1","BadgeOverviewListComponent_ng_container_1_ng_container_1_ng_container_1_Template","category_r3","Category","Badges","BadgeOverviewListComponent_ng_container_1_ng_container_1_Template","badgesByCategories_r4","BadgeOverviewListComponent_ng_container_1_ng_container_2_div_1_Template","BadgeOverviewListComponent_ng_container_1_ng_container_2_Template","BadgeOverviewListComponent_ng_container_1_Template","BadgeOverviewListComponent","badgesQuery","badgesService","fetchBadges","badgeByCategories$","selectAllBadgeCategories","BadgeOverviewListModule","ChallengesNavComponent","BadgesPageComponent","member_r1","AccountDetailsComponent_div_1_div_1_Template","AccountDetailsComponent","allowEditing","AccountDetailsComponent_div_1_Template","AccountDetailsComponent_div_2_Template","AccountDetailsComponent_ng_template_3_Template","AccountDetailsPageComponent","AccountDetailsPageComponent_ng_container_4_Template","DateRangePickerComponent_div_0_Template","ngbStartDate","startDatePicker_r3","ngbEndDate","endDatePicker_r4","ngbMinDate","DateRangePickerComponent","adapter","minDate","startDateChange","endDateChange","fromModel","_startDate","toModel","_endDate","NgbDateNativeAdapter","DateRangePickerModule","transaction_r1","TransactionDescription","TransactionDateUTC","Amount","transactionType","transactionTypes","loyalty","TransactionListComponent_ng_container_0_ng_container_1_div_1_div_4_Template","day_r3","TransactionListComponent_ng_container_0_ng_container_1_div_1_Template","TransactionListComponent_ng_container_0_ng_container_1_ng_container_3_Template","transactions_r4","keepOrder","hasTransactions","TransactionListComponent_ng_container_0_ng_container_1_Template","transactions$","TransactionListComponent","transactionService","transactionQuery","TransactionType","dateFormat","NgbDateFormat","getTransactions","fetchTransactions","selectTransactions","_groupByTransactionDate","groupedTransactions","transactions","grouped","tx","txDate","ecashView","accountView","TransactionListComponent_ng_container_0_Template","TransactionListComponent_div_2_Template","selectedValues","TransactionHistoryComponent","buttonNames","ecash","payment","transactionEndDate","transactionStartDate","setDate","setTransactionType","search","setHours","TransactionHistoryComponent_h3_0_Template","TransactionHistoryComponent_fgb_transaction_list_8_Template","ActivityPageComponent","i_r2","productInfo_r4","openMembershipOptionModal","option_r5","Age","Price","dismiss","option_r8","MembershipOptionsCarouselComponent_ng_template_2_ng_container_1_ng_container_1_Template","i_r9","optionInfoIndex","MembershipOptionsCarouselComponent_ng_template_2_ng_container_1_Template","optionInfos","MembershipOptionsCarouselComponent","ReadMore","optionIndex","MembershipOptionsCarouselComponent_ng_container_1_Template","MembershipOptionsCarouselComponent_ng_template_2_Template","product_r5","PortalProduct","ProductId","child_r3","childProductChange","UpgradeChildrenComponent_div_2_ng_container_3_div_16_ng_container_16_Template","i_r6","LastName","DateOfBirth","portalProducts","UpgradeChildrenComponent_div_2_ng_container_3_div_16_Template","CloseModal","UpgradeChildrenComponent_div_2_ng_container_3_ng_template_20_Template","showNext","childUpgrades","noMembershipsSelected","child_r8","MerchantPrice","UpgradeChildrenComponent_div_2_ng_container_4_div_15_ng_container_1_Template","totalTax","giftCode_r10","EntitlementValue","removeGiftCode","UpgradeChildrenComponent_div_2_ng_container_4_div_60_ng_container_3_span_6_Template","UpgradeChildrenComponent_div_2_ng_container_4_div_60_ng_container_3_span_7_Template","UpgradeChildrenComponent_div_2_ng_container_4_div_60_ng_container_3_span_8_Template","EntitlementValueType","UpgradeChildrenComponent_div_2_ng_container_4_div_60_ng_container_3_Template","appliedGiftCodes","_r12","clearAddressForm","billingAddressForm","cancelAndRebuildForm","updateBillingAddress","hasSubmittedBillingAddress","_r13","updateShippingAddress","hasSubmittedShippingAddress","UpgradeChildrenComponent_div_2_ng_container_4_div_15_Template","showPrevious","editBillingAddress","editShippingAddress","giftCodeInput","applyGiftCode","UpgradeChildrenComponent_div_2_ng_container_4_ng_container_59_Template","UpgradeChildrenComponent_div_2_ng_container_4_div_60_Template","paymentDetails_r11","showModalPayment","UpgradeChildrenComponent_div_2_ng_container_4_ng_container_70_Template","UpgradeChildrenComponent_div_2_ng_container_4_ng_container_71_Template","UpgradeChildrenComponent_div_2_ng_container_4_ng_template_75_Template","editingBillingAddress","editingShippingAddress","billingAddress","disableApplyGiftCodesButton","totalAmount","totalShipping","totalBasketAmount","UpgradeChildrenComponent_div_2_ng_container_5_ng_container_1_Template","child_r15","UpgradeChildrenComponent_div_2_ng_container_6_div_25_ng_container_1_Template","UpgradeChildrenComponent_div_2_ng_container_6_div_25_Template","UpgradeChildrenComponent_div_2_ng_container_3_Template","UpgradeChildrenComponent_div_2_ng_container_4_Template","UpgradeChildrenComponent_div_2_ng_container_5_Template","UpgradeChildrenComponent_div_2_ng_container_6_Template","currentStep","orderCompleted","_r16","UpgradeChildrenComponent_ng_template_3_div_22_Template","loadingPaymentForm","PortalProductWithDescription","ShowDescription","UpgradeChildrenComponent","portalProductService","childQuery","giftCodeService","paymentService","childService","portalProductQuery","fetchChildren","_getDefaultBillingAddress","getAll","pp","ProductType","defaultProduct","selectChildren","c","AccountPaymentState","ID","Firstname","Lastname","calculateTotalAmount","paidUpgrades","messageToAppear","checkErrorMessages","processPayment","closePaymentModal","paymentModal","setAddress","memberProducts","ActionKind","ProviderActionKind","disableChildStoreCache","showNextModal","onStable","child","productId","selectedProduct","tot","cu","calculateAdditionalCharges","charges","TotalTax","TotalShipping","_calculateGiftCodeDeduction","billingAddress1","BillingAddress1","billingAddress2","BillingAddress2","shippingAddressCopy","validateGiftCode","giftCode","GiftCodeAssignType","GiftCodeType","EntitlementItemId","EntitlementItemId2","GiftCodeEntitlementValueType","Percentage","gc","GiftCodeStatus","discount","Order","NumberOfEntitlements","Shipping","numberOfTimesApplied","addressType","UpgradeChildrenComponent_div_1_Template","UpgradeChildrenComponent_div_2_Template","UpgradeChildrenComponent_ng_template_3_Template","CardBarcode","ChildBarcodesCarouselComponent_ng_container_4_ng_template_1_Template","ChildBarcodesCarouselComponent","childrenSubscription","owlElement","childId","ChildBarcodesCarouselComponent_ng_container_4_Template","LostBarcodeModalComponent_ng_container_1_ng_container_3_Template","LostBarcodeModalComponent_ng_container_1_ng_container_4_Template","LostBarcodeModalComponent_ng_container_1_ng_container_6_Template","LostBarcodeModalComponent_ng_container_1_ng_container_7_Template","linkNewBarcode","isBarcodeLost","barcodeForm","closeModalAndUpdate","LostBarcodeModalComponent","replacementSuccess","barcodeText","lostCard","LostBarcodeModalComponent_ng_container_1_Template","LostBarcodeModalComponent_ng_container_2_Template","loginToChild","ChildPanelComponent","membershipOptionQuery","enableAttachLostBarcodeButton","enableLoginButton","membershipOption","openChildBarcode","ChildPanelComponent_ng_container_9_Template","ChildPanelComponent_ng_container_10_Template","ChildPanelComponent_div_15_Template","ChildPanelComponent_ng_container_27_Template","ChildPanelComponent_ng_container_28_Template","ChildPanelComponent_ng_container_29_Template","MembershipOptionId","children_r2","upgradeChildren","free","child_r4","ChildListComponent_ng_container_0_ng_container_1_17_ng_template_0_Template","ChildListComponent_ng_container_0_ng_container_1_18_ng_template_0_Template","ChildListComponent_ng_container_0_ng_container_1_a_13_Template","ChildListComponent_ng_container_0_ng_container_1_div_14_Template","ChildListComponent_ng_container_0_ng_container_1_17_Template","ChildListComponent_ng_container_0_ng_container_1_18_Template","ChildListComponent_ng_container_0_ng_container_1_Template","children$","ChildListComponent","fetchChildCountLimit","getChildrenInfo","loaded$","isLoaded$","freeChildren","ChildListComponent_ng_container_0_Template","ChildListComponent_ng_template_2_Template","loading_r5","becomeGuardian","GuardianPageComponent_ng_template_5_ng_template_37_Template","GuardianPageComponent_ng_template_5_ng_template_60_Template","GuardianPageComponent","membershipOptionService","childLimit","fetchGuardian","fetchMembershipOptions","isGuardianSubscription","selectGuardian","guardian","isGuardian","registerAsGuardian","GuardianPageComponent_ng_container_4_Template","GuardianPageComponent_ng_template_5_Template","notGuardian_r3","MobilePassModalComponent_qrcode_6_Template","MobilePassComponent_ng_container_0_ng_container_1_ng_container_1_Template","mobilePass_r2","downloadPassDesktop","MobilePassComponent_ng_container_0_ng_container_1_ng_container_2_hr_1_Template","MobilePassComponent_ng_container_0_ng_container_1_ng_container_2_div_2_Template","MobilePassComponent_ng_container_0_ng_container_1_ng_container_2_div_3_Template","MobilePassComponent_ng_container_0_ng_container_1_ng_container_2_Template","separateTop","deviceDetector","os","MobilePassComponent_ng_container_0_ng_container_1_Template","isDesktop","MobilePassComponent_ng_container_0_ng_container_2_Template","MobilePassComponent_ng_container_0_ng_container_3_Template","MobilePassComponent_ng_container_0_ng_container_4_Template","MobilePassComponent_ng_container_0_Template","MobilePassModalComponent","MobilePassComponent","loggingService","mobilePassService","mobilePassQuery","fetchPass","mobilePassUrl$","selectFirst","MobilePassModule","CardListItemComponent","card","CardListComponent_div_0_fgb_card_list_item_1_Template","cards_r2","CardListComponent","CardListComponent_div_0_Template","CardPageComponent","autoTopUpSubscription_r2","toggleSubscription","AutoTopUpItems","Threshold","manualtopUpModal_r4","amount_r6","amount_r7","onBelowChange","AutotopupComponent_ng_container_0_div_7_option_5_Template","onAmountChange","AutotopupComponent_ng_container_0_div_7_option_10_Template","HasSubscription","AutoTopUpTresholds","AutoTopUpAmounts","confirmUpdate_r9","confirm_r11","belowAmount","topUpAmount","confirmDelete_r13","modal_r15","modal_r17","updateSubscription","AutotopupComponent_ng_container_0_ng_template_16_div_0_Template","modal_r19","_r18","modal_r21","_r20","deleteSubscription","AutotopupComponent_ng_container_0_div_5_Template","AutotopupComponent_ng_container_0_div_7_Template","AutotopupComponent_ng_container_0_ng_container_8_Template","AutotopupComponent_ng_container_0_ng_template_10_Template","AutotopupComponent_ng_container_0_button_12_Template","AutotopupComponent_ng_container_0_ng_template_14_Template","AutotopupComponent_ng_container_0_ng_template_16_Template","AutotopupComponent_ng_container_0_ng_template_18_Template","AutotopupComponent_ng_container_0_ng_template_20_Template","hasSubscription$","noSubscription_r22","modal_r24","_r23","AutotopupComponent","ecashService","autoTopupService","autoTopupQuery","amounts$","getTopUpAmounts","TopUpAmountTypeId","TopUpAmount","amounts","fetchAutoTopUpSubscriptions","autoTopUpSubscription$","currentTopUpAmount","currentBelowAmount","SuccessUrl","portalUrl","FailureUrl","currentActiveStatus","enableDisableToggle","subcriptionActive","checked","autoTopUp","AutotopupComponent_ng_container_0_Template","AutotopupComponent_ng_template_2_Template","topUpAmount_r4","manualtopUpModal_r3","setAmount","TopupComponent_div_0_option_12_Template","confirm_r5","amounts_r6","modal_r8","modal_r10","TopupComponent","model","TopUpViewModel","topUp","TopupComponent_div_0_Template","TopupComponent_ng_template_2_Template","TopupComponent_ng_template_4_Template","EcashPageComponent","defaultCardToken$","selectDefaultCard","EcashSuccessPageComponent","queryParamMap","EcashSuccessPageComponent_div_6_Template","EcashSuccessPageComponent_ng_template_7_Template","topup_r2","EcashFailurePageComponent","EcashResultPageComponent","ProviderUiActionResponse","processCallBack","callBack","CallBackModel","EcashHistoryPageComponent","PortalProductSuccessPageComponent_div_1_ng_container_5_Template","logo_r2","orderDetails_r1","OrderMerchantPrice","PortalProductSuccessPageComponent","orderDetails$","fetchOrderById","PortalProductSuccessPageComponent_div_1_Template","PortalProductSuccessPageComponent_ng_template_3_Template","PortalProductFailurePageComponent","PortalProductFailurePageComponent_ng_container_6_Template","PortalProductFailurePageComponent_ng_template_17_Template","logo_r1","PortalProductResultsPageComponent","orderIdQueryStringKey","checkOrderSuccessStatus","shouldShowPastGameSection","TicketTransferPageComponent","showPastGamesSection","TicketTransferPageComponent_ng_container_22_Template","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_1_div_1_ng_container_1_h4_2_Template","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_1_div_1_ng_container_1_ng_template_3_Template","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_1_div_1_ng_container_1_ng_container_9_Template","IsWindowOpen","ticketList_r2","StartTime","EndTime","closedWindowHeading_r1","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_1_div_1_ng_container_1_Template","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_1_div_1_ng_template_2_Template","TransferWindowExists","noTicketTransferWindow_r4","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_1_div_1_Template","pastGame","availableTicketList_r5","showTicketColumn1","showTicketColumn2","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_4_ng_container_1_ng_container_1_Template","transferredTicketList_r6","showTicketColumn11","showTicketColumn22","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_4_ng_container_2_ng_container_1_Template","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_4_ng_container_1_Template","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_4_ng_container_2_Template","availableTicketList$","transferredTicketList$","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_1_Template","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_3_Template","TicketsPageComponent_ng_container_1_ng_container_1_ng_container_4_Template","activeGame$","TicketsPageComponent_ng_container_1_ng_container_1_Template","TicketsPageComponent_ng_container_1_ng_template_2_Template","noTickets_r7","TicketsPageComponent","ticketQuery","gameQuery","gameService","selectedTickets","minDateString","gameNumber","selectTransferredTicketsForGame","ticketList$","selectTicketsForGame","tickets","Flag","selectAvaialbleTicketsForGame","fetchGamesAndSetActiveGame","selectActive","isPastGame","endOf","activeGame","getActive","GameDataSource","ExternalRef","isSame","TicketsPageComponent_ng_container_1_Template","TransferConfirmPageComponent","fetchGames","transferedTickets_r1","RecipientEmailAddress","ACN","Stand","TicketTransferSuccessPageComponent","ticketService","transferedTickets$","selectTransferredTickets","selectedGame","goBack","resetSelectedTickets","GameNumber","TicketTransferSuccessPageComponent_span_3_Template","TicketTransferSuccessPageComponent_tr_18_Template","TicketNavComponent","event_r1","Teams","EventsDropDownComponent_ng_container_1_option_1_Template","events_r2","EventsDropDownComponent","eventService","topupTicketStore","eventSelected","newCardSelected","getAllFutureEvents","selectOption","eventId","firstEvenSub","events$","emitSelectedEvent","getEvents","selectEvent","clearAllTickets","EventsDropDownComponent_ng_container_1_Template","EcashBalanceComponent","ticket_r1","stand","row","seat","TicketTopupCheckoutListComponent_div_19_div_1_hr_33_Template","ticket_r2","topUpTickets_r3","TicketTopupCheckoutListComponent_div_19_div_1_Template","TicketTopupCheckoutListComponent","topUpTickets$","TicketTopupCheckoutListComponent_div_17_Template","TicketTopupCheckoutListComponent_div_19_Template","topUpBalance","modal_r5","submitTopUp","TicketTopupCheckoutComponent","topupTicketsService","resetView","topupTicketsSubscription","submitTopUpSubscription","topUpTickets","getTopUpBasketBalance","clearAllTopUpTickets","getTicketsWithBalance","num","TicketTopupCheckoutComponent_span_2_Template","TicketTopupCheckoutComponent_ng_template_3_Template","checkoutModal_r3","TicketTopupCheckoutComponent_ng_template_7_Template","zeroAmount_r6","amount_r4","selectTopUpAmount","TopUpTicketComponent_ng_container_2_div_1_option_2_Template","resetToUpAmount","topUpAmounts_r5","TopUpTicketComponent_ng_container_2_div_1_Template","topUpAmounts$","TopUpTicketComponent","topUpAmountSelected","showTopUp","firstTopUp","cardLayout","TopUpTicketComponent_ng_container_1_Template","TopUpTicketComponent_ng_container_2_Template","setSelectedTopUpAmount","changeStatus","TicketDetailsUnloadedComponent_div_0_ng_container_8_Template","TicketDetailsUnloadedComponent_div_0_ng_template_9_Template","TicketDetailsUnloadedComponent_div_0_ng_container_24_Template","TicketDetailsUnloadedComponent_div_0_ng_template_25_Template","inactive_r4","ticketItem","BarcodeText","topUpTicketsStatus","UnloadedActive","blocked_r5","TicketDetailsUnloadedComponent_ng_template_1_ng_container_24_Template","TicketDetailsUnloadedComponent_ng_template_1_ng_template_25_Template","TicketDetailsUnloadedComponent_ng_template_1_ng_container_31_Template","TicketDetailsUnloadedComponent_ng_template_1_ng_template_32_Template","inactive_r8","blocked_r9","TicketDetailsUnloadedComponent","ticketsService","manageTicketSub","setupTopUpItem","TopUpTicketsStatus","topUpPostItem","addOrUpdateTopUpTicket","removeTopUpTicket","TopUpTicketPostModel","BarcodeACN","manageTicket","ManageTicketStatusModel","UnloadedBlocked","manageTicketStatus","addOrUpdateTicket","displayAsTableItem","TicketDetailsUnloadedComponent_div_0_Template","TicketDetailsUnloadedComponent_ng_template_1_Template","card_r10","ticket_r3","ticket_r4","TicketUnloadedListComponent_div_0_ng_container_1_ng_container_1_div_20_Template","TicketUnloadedListComponent_div_0_ng_container_1_ng_container_1_div_21_Template","TicketUnloadedListComponent_div_0_ng_container_1_ng_container_1_hr_22_Template","TicketUnloadedListComponent_div_0_ng_container_1_ng_container_1_div_25_Template","TicketUnloadedListComponent_div_0_ng_container_1_ng_container_1_div_26_Template","activeUnloadedTickets_r6","blockedUnloadedTickets_r5","TicketUnloadedListComponent_div_0_ng_container_1_ng_container_1_Template","TicketUnloadedListComponent_div_0_ng_container_1_ng_template_2_Template","TicketUnloadedListComponent_div_0_ng_container_1_Template","ctx_r7","blockedUnloadedTickets$","TicketUnloadedListComponent","activeUnloadedTickets$","unloadedTickets$","ticket","TicketUnloadedListComponent_div_0_Template","revertToAccountBalance","TicketDetailsLoadedComponent_div_0_ng_container_19_Template","TicketDetailsLoadedComponent_div_0_ng_template_20_Template","LoadedHasMoney","blocked_r4","TicketDetailsLoadedComponent","TicketDetailsLoadedComponent_div_0_Template","TicketDetailsLoadedComponent_ng_template_1_Template","card_r6","TicketLoadedListComponent_div_0_ng_container_1_div_16_div_2_Template","TicketLoadedListComponent_div_0_ng_container_1_div_16_div_3_Template","loadedHasMoneyTickets_r3","TicketLoadedListComponent_div_0_ng_container_1_div_16_Template","loadedHasMoneyTickets$","TicketLoadedListComponent_div_0_ng_container_1_Template","TicketLoadedListComponent_div_0_ng_template_2_Template","loadedTickets_r5","noTickets_r6","TicketLoadedListComponent","loadedTickets$","TicketLoadedListComponent_div_0_Template","TicketTopUpListComponent","unloadedIds","loadedIds","LoadedNoMoney","getTicketsSubscription","topUpAmountsSubscription","ticketsUnloaded$","tickets$","ticketsLoaded$","setTopUpAmounts","getTickets","TopUpTicketAmount","gameNumber_r3","setSelectedEvent","ManageTicketsPageComponent_div_0_div_38_Template","ManageTicketsPageComponent","preselectedEventId","gameNumber$","ManageTicketsPageComponent_div_0_Template","transaction_r4","TransactionDate","ManageTicketHistoryPageComponent_ng_container_28_div_1_div_3_Template","day_r5","ctx_r5","ManageTicketHistoryPageComponent_ng_container_28_div_1_Template","dayKeys","ManageTicketHistoryPageComponent","searchFrom","searchTo","setTransactionsAndDayKeys","existingTransactions","startDatePicker_r2","endDatePicker_r3","ManageTicketHistoryPageComponent_ng_container_28_Template","ManageTicketHistoryPageComponent_div_29_Template","ManageTicketHistoryPageComponent_div_30_Template","ContactsPageComponent","BackToFixtures","ArenaCashNavComponent","Regex","gender","currency","TransferArenaCashComponent_form_1_div_8_div_1_Template","TransferArenaCashComponent_form_1_div_8_div_2_Template","TransferArenaCashComponent_form_1_div_14_div_1_Template","TransferArenaCashComponent_form_1_div_14_div_2_Template","transferCashForm","modal_r4","modal_r6","TransferArenaCashComponent_form_1_div_8_Template","TransferArenaCashComponent_form_1_div_14_Template","verifyEmail","TransferArenaCashComponent_form_1_ng_template_18_Template","TransferArenaCashComponent_form_1_ng_template_20_Template","TransferArenaCashComponent_form_1_ng_template_22_Template","TransferArenaCashComponent_form_1_ng_template_24_Template","TransferArenaCashComponent_form_1_ng_container_27_Template","confirmContent_r9","TransferArenaCashComponent","externalCashTransferService","balanceSub","memberSub","mem","currentEmail","verifyRequest","VerifyEmailAddressRequest","transferOwnEmailRef","invalidFundsRef","verifyEmailAddress","transferFailedRef","Accounts","MemberIDs","transferFunds","transfer","TransferArenaCashComponent_form_1_Template","TransferArenaCashPageComponent","memberId_r2","transferFundsToMemberId","TransferArenaMultipleAccountsComponent_div_0_div_10_Template","transferAccounts","availableMemberIds","TransferArenaMultipleAccountsComponent","TransferArenaMultipleAccountsComponent_div_0_Template","TransferArenaMultipleAccountsComponent_ng_template_1_Template","TransferMultipleAccountsPageComponent","externalCashTransferQuery","hasEntity","transferAccounts$","selectTransferAccounts","transferAccounts_r1","TransferAmount","TransferArenaCashSuccessPageComponent","TransferArenaCashSuccessPageComponent_div_0_Template","AuthCallbackComponent","InvalidTokenModalComponent","PopupAddToHomeScreenComponent","PopupAddToHomeScreenComponent_div_4_Template","PopupAddToHomeScreenComponent_div_5_Template","PopupAddToHomeScreenComponent_div_6_Template","detectedDevice","UserLoginComponent_div_6_div_1_Template","username","UserLoginComponent_div_12_div_1_Template","password","UserLoginComponent","loginForm","returnUrl","onSubmit","login","modalDialogClass","UserLoginComponent_div_6_Template","UserLoginComponent_div_12_Template","UserLoginComponent_div_16_Template","UserLoginComponent_fgbcl_loading_17_Template","LoginPageComponent_8_ng_template_0_Template","appleLinkUrl","googleLinkUrl","LoginPageComponent","hasCurrentRefreshToken","_initLinks","LoginPageComponent_ng_container_5_Template","LoginPageComponent_ng_container_6_Template","LoginPageComponent_8_Template","LoginPageComponent_ng_template_9_Template","app_r2","account_r1","EmailAddress2","LoginAccountsPageComponent_ng_container_5_tr_18_div_9_Template","LoginAccountsPageComponent_ng_container_5_tr_18_div_10_Template","LoginAccountsPageComponent_ng_container_5_tr_18_div_11_Template","LoginAccountsPageComponent_ng_container_5_tr_18_div_12_Template","UserAccountStatus","LoginAccountsPageComponent_ng_container_5_tr_18_Template","availableAccounts","LoginAccountsPageComponent","getAvailableAccounts","LoginAccountsPageComponent_ng_container_5_Template","LoginAccountsPageComponent_ng_template_6_Template","noAccounts_r3","SingleSignOnComponent","auth","isAuthenticated","entityType","getQueryString","entity","hashedValue","loginType","loginDateString","providerId","clientTypeId","locale","loginDate","parts","sso","ssoLogin","getLoginType","LoginType","Admin","checkApiStatus","parameter","matchedQueryStringParameter","param","MaintenancePageComponent","showAppleLink","showGoogleLink","checkMaintenceMode","downloadAppLink","getTeamLogoUrl","HomeTeamId","AwayTeamId","GameCardComponent","teamId","GameCardComponent_div_0_Template","EventsComponent","Club","nextGame$","selectNextGame","TestPopHomePageComponent","EarnPointsCardComponent_div_0_ng_container_1_ng_container_1_Template","EarnPointsCardComponent_div_0_ng_container_1_Template","withImage_r1","EarnPointsCardComponent_div_0_Template","noImage_r3","earnPointsCard","EarnPointsCardComponent_ng_template_1_Template","EarnPointsCardComponent_ng_template_3_img_2_Template","EarnPointsCardComponent_ng_template_3_Template","EarnPointsComponent_ng_container_1_ng_container_1_ng_container_5_Template","earnPointSection_r1","EarnPointsComponent_ng_container_1_ng_container_1_ng_container_7_Template","earnPointsCard_r2","MobileWidth","EarnPointsComponent_ng_container_1_ng_container_1_Template","EarnPointsComponent_ng_container_1_Template","earnPoints_r3","EarnPointsCardComponent","EarnPointsComponent","earnPointsQuery","earnPointsService","dropdownToggle","fetchEarnPoints","earnPoints$","svgColor","EarnPointsModule","EarnPageComponent","deviceType","numberClaimed","claimLimit","BenefitHeaderComponent","BenefitHeaderComponent_h4_3_Template","BenefitHeaderComponent_ng_template_4_Template","noLimit_r2","BenefitInfoModalComponent","benefit","ImageFileName","BenefitClaimConfirmationModalComponent","benefitService","claimBenefit","openClaimModal","BenefitItemComponent_ng_template_11_div_0_Template","BenefitItemComponent","benefitQuery","inactive","BenefitClaimStatus","isActiveBenefit","ShowWhenNotActive","isClaimed","isBenefitClaimed","outOfStock","openReadMoreModal","Unprocessed","BenefitItemComponent_span_10_Template","BenefitItemComponent_ng_template_11_Template","notActive_r4","benefit_r1","BenefitItemListComponent","BenefitItemListComponent_div_1_Template","BenefitClaimedComponent","benefit_r2","openModal","BenefitClaimedListComponent","unclaimedBenefits","getRemainingClaimsArray","benefitsClaimed","BenefitClaimedListComponent_div_1_Template","BenefitClaimedListComponent_div_2_Template","benefits_r1","isClaimLimitReached","BenefitsPageComponent_div_4_div_1_div_5_ng_container_1_Template","BenefitsPageComponent_div_4_div_1_div_5_Template","numberOfBenefitsClaimed","claimedBenefits_r3","benefits$","BenefitsPageComponent_div_4_div_1_Template","claimedBenefits$","BenefitsPageComponent","getClaimLimit","selectBenefits","shouldShowBenefit","selectClaimedBenefits","BenefitsPageComponent_div_4_Template","AuctionBidListComponent_div_3_ng_container_1_a_1_Template","auctionBids_r2","AuctionBidListComponent_div_3_ng_container_1_Template","AuctionBidListComponent","auctionBidsQuery","bidService","fetchBids","auctionBids$","selectWonBids","AuctionBidListComponent_div_3_Template","AuctionBidsPageComponent","selectBids","memberDetails_r1","PointsManagementPlaceholderComponent","PointsManagementPlaceholderComponent_div_14_Template","type_r3","SelectPointsTransferType","selectedPointsTransferType","selectPartner","selectedPartner","PointsTransferComponent_ng_container_0_div_8_ng_container_4_ng_container_2_ng_template_1_Template","PointsTransferComponent_ng_container_0_div_8_ng_container_4_ng_container_2_Template","partners_r7","PointsTransferComponent_ng_container_0_div_8_ng_container_4_Template","transferPointsForm","PartnerAccountNumber","transferPoints","PointsTransferComponent_ng_container_0_button_7_Template","PointsTransferComponent_ng_container_0_div_8_Template","PointsTransferComponent_ng_container_0_div_10_Template","PointsTransferComponent_ng_container_0_div_11_Template","addPoints","submitStep","PointsTransferComponent_ng_container_0_ng_template_32_Template","PointsTransferComponent_ng_container_0_ng_template_34_Template","PointsTransferTypes","showPointsCounter","PointsTransferComponent","pointsTransferService","partnerQuery","PointsTransferType","Partner","NonPartner","partners$","confirmModalRef","pointsTransfer","goToSuccessModal","successModalRef","PointsTransferComponent_ng_container_0_Template","PointsManagementPageComponent","LoadScripts","dynamicScripts","promises","isFound","startsWith","async","onerror","YoutubeService","addVideo","behaviourSubject","onYouTubeIframeAPIReady","FgbYoutubePlayerComponent","analyticsInterval","youtubeService","worksheetService","onStateChange","youtubeStatus","onStateChangeFunction","streamKeyValue","streamKey","workSheetItemService","YT","Player","videoId","logViewStreamStart","gtag","event_category","event_label","logStreamWatching","FgbVimeoPlayerComponent","domSanitizer","safeUrl","bypassSecurityTrustResourceUrl","FgbSVPPlayerComponent","SVPDynamicPlayer","use_div","skin","clip_id","transparent","bg_color","fs_mode","no_controls","brand_new_window","auto_hide","stretch_video","referer","ext","preview","start_volume","skinAlpha","colorBase","colorIcon","colorHighlight","direct","initialBufferTime","bufferTime","expandedBufferTime","viewers_limit","cc_position","cc_positionOffset","cc_multiplier","cc_textColor","cc_textOutlineColor","cc_bkgColor","cc_bkgAlpha","aspect_ratio","play_button","play_button_style","sleek_player","FgbTwitchPlayerComponent","Twitch","channel","BoxCastService","protocol","FgbBoxcastPlayerComponent","boxCastService","boxCastStatus","videoContext","boxcast","loadChannel","showTitle","showHighlights","showRelated","showCountdown","market","showDocuments","showIndex","showDonations","onPlayerStateChanged","eventDetails","unload","FgbStreamablePlayerComponent","FacebookService","FgbFacebookPlayerComponent","facebookService","getDownload","worksheetId","worksheetItem","ProviderKey","WorksheetItemComponent_ng_container_2_ng_container_3_Template","WorksheetItemComponent_ng_container_2_ng_container_4_Template","WorksheetItemComponent_ng_container_2_ng_container_5_Template","WorksheetItemComponent_ng_container_2_ng_container_6_Template","WorksheetItemComponent_ng_container_2_ng_container_7_Template","WorksheetItemComponent_ng_container_2_ng_container_8_Template","WorksheetItemComponent_ng_container_2_ng_container_9_Template","ProviderId","providerName","Facebook","YouTube","StreamingVideoProvider","Viemo","Boxcast","Streamable","WorksheetItemComponent","worksheetType","WorksheetType","worksheetItemId","downloadWorksheet","WorksheetItemComponent_ng_container_0_Template","WorksheetItemComponent_ng_container_1_Template","WorksheetItemComponent_ng_container_2_Template","WorksheetItemComponent_ng_container_3_Template","Gallery","ProviderVideo","Link","quiz_r2","TailgatePageComponent_ng_container_4_ng_container_1_div_1_ng_container_1_ng_container_9_div_1_div_4_Template","surveys_r3","predictor_r4","TailgatePageComponent_ng_container_4_ng_container_1_div_1_ng_container_1_ng_container_9_div_2_div_4_Template","poll_r5","TailgatePageComponent_ng_container_4_ng_container_1_div_1_ng_container_1_ng_container_9_div_3_div_4_Template","TailgatePageComponent_ng_container_4_ng_container_1_div_1_ng_container_1_ng_container_9_div_1_Template","TailgatePageComponent_ng_container_4_ng_container_1_div_1_ng_container_1_ng_container_9_div_2_Template","TailgatePageComponent_ng_container_4_ng_container_1_div_1_ng_container_1_ng_container_9_div_3_Template","TailgatePageComponent_ng_container_4_ng_container_1_div_1_ng_container_1_div_7_Template","TailgatePageComponent_ng_container_4_ng_container_1_div_1_ng_container_1_ng_container_9_Template","worksheetGroup_r6","ctx_r6","predictor$","TailgatePageComponent_ng_container_4_ng_container_1_div_1_ng_container_1_Template","TailgatePageComponent_ng_container_4_ng_container_1_div_1_ng_template_2_Template","noVideo_r8","TailgatePageComponent_ng_container_4_ng_container_1_div_1_Template","worksheets_r9","TailgatePageComponent_ng_container_4_ng_container_1_Template","noGameToday_r10","TailgatePageComponent","companyService","worksheetQuery","companyQuery","worksheets$","getWorksheetByRoute","hasRoute","fetchWorksheetByRoute","fetchAllCompanies","companies$","selectCompanies","companies","selectAllGames","games","nextGame","currentGame","isGameToday","TailgatePageComponent_ng_container_4_Template","TailgatePageComponent_ng_template_6_Template","TailgatePageComponent_ng_template_8_Template","loadingRef_r11","partner_r2","RelationshipId","Email","confirmContent_r4","PartnerListComponent_ng_container_0_ng_container_1_div_15_Template","PartnerListComponent_ng_container_0_ng_container_1_ng_template_16_Template","partners_r5","PartnerListComponent_ng_container_0_ng_container_1_Template","PartnerListComponent","partnerService","PartnerListComponent_ng_container_0_Template","TicketKey","PartnerPendingListComponent_ng_container_0_ng_container_1_div_15_Template","PartnerPendingListComponent_ng_container_0_ng_container_1_ng_template_16_Template","pendingPartners_r5","PartnerPendingListComponent_ng_container_0_ng_container_1_Template","PartnerPendingListComponent","pendingQuery","pendingService","pendingPartners$","ticketKey","PartnerPendingListComponent_ng_container_0_Template","PartnerAddFormComponent","partnerPendingService","pendingPartnerEmails","addForm","fullName","pendingPartnerSub","pendingPartners","pendingPatner","pendingExists","pendingEmail","clearErrorsOnClose","PartnerAcceptFormComponent","acceptForm","secretCode","confirmPartner","toggleAddForm","toggleAcceptForm","PartnerPageComponent_div_4_ng_container_19_fgb_partner_add_form_3_Template","PartnerPageComponent_div_4_ng_container_19_fgb_partner_accept_form_4_Template","showAddForm","showAcceptForm","PartnerPageComponent_div_4_ng_container_19_Template","PartnerPageComponent_div_4_ng_container_21_Template","PartnerPageComponent_div_4_ng_template_22_Template","currentPartnerCount","partnerLimit_r6","partnerPlaceholder_r7","PartnerPageComponent","partnerLimit$","getPartnerLimit","partners","PartnerPageComponent_h1_1_Template","PartnerPageComponent_div_4_Template","LeaderboardComponent_div_8_ng_container_8_div_1_Template","LeaderboardComponent_div_8_ng_container_8_div_9_Template","LeaderboardComponent_div_8_ng_container_8_Template","LeaderboardComponent","leaderboardQuery","leaderboardService","fetchLeaderboard","formatArrayWithUser","toShow","showViewFull","LeaderboardComponent_div_8_Template","LeaderboardPageComponent","LottosTermsPageComponent","LottosTermsPageComponent_div_6_Template","MarketplaceTermsPageComponent","MarketplaceTermsPageComponent_div_6_Template","TmCallbackComponent","tmOauthService","callBackToken","TmAuthCallbackComponent","tmAuthservice","getParameter","authCallback","worksheetGroup_r2","WorksheetId","WorksheetListComponent_ng_container_0_ng_container_1_div_1_ng_container_1_div_2_Template","WorksheetListComponent_ng_container_0_ng_container_1_div_1_ng_container_1_Template","WorksheetListComponent_ng_container_0_ng_container_1_div_1_Template","worksheets_r4","WorksheetListComponent_ng_container_0_ng_container_1_Template","WorksheetListComponent_ng_container_0_ng_container_2_Template","WorksheetListComponent_ng_container_0_ng_container_3_Template","WorksheetListComponent_ng_container_0_ng_container_4_Template","WorksheetListComponent","WorksheetListComponent_ng_container_0_Template","WorksheetPageComponent","FgbZoomConferenceComponent","meetingJoinedSuccessfully","ZoomMtg","setZoomJSLib","preLoadWasm","prepareJssdk","meetingNumberLocale","meetingNumber","meetingPasswordLocale","meetingPassword","apiKeyLocale","apiKey","userEmailLocale","userUserNameLocale","signatureLocale","signature","leaveUrl","disableJoinAudio","loginWindow","userName","userEmail","passWord","responseMessage","joinWebCall","zoomConference_r1","MeetingPassword","MeetingNumber","MeetingKey","ZoomMeetingPageComponent_ng_container_0_ng_container_1_Template","ZoomMeetingPageComponent_ng_container_0_ng_container_2_Template","validItem","ZoomMeetingPageComponent","externalProviderService","logItemId","zoomConference$","getVirtualEventPurchaseDetails","generateVideoToken","itemValue","ZoomMeetingPageComponent_ng_container_0_Template","ZoomMeetingPageComponent_ng_template_2_Template","loadingRef_r3","FantasyLeaderboardPageComponent_div_24_3_ng_template_0_Template","FantasyLeaderboardPageComponent_div_24_3_Template","FantasyLeaderboardPageComponent","FantasyLeaderboardPageComponent_div_24_Template","FantasyLeaderboardPageComponent_ng_template_25_Template","yearly_r5","V1SingleSignOnComponent","sskey","cc","ssoLoginV1","transferValue","renewalTransferForm","TargetMember","NonPartnerBonusTransferComponent_form_0_ng_container_1_Template","transferBonusCredit","NonPartnerBonusTransferComponent_form_0_ng_template_21_Template","NonPartnerBonusTransferComponent_form_0_ng_template_23_Template","currentBalance","noBonusCredit_r4","minTransfer","confirmBonusTranser_r3","NonPartnerBonusTransferComponent","pointTransferService","transferStatus","renewalGift","bonusAmount","sourceMember","renewalBonusTransfer","renewalResponse","ErrorNumber","ErrorDescription","openTransferStatusModal","Tickets","ErrorDesc","failedModalRef","NonPartnerBonusTransferComponent_form_0_Template","NonPartnerBonusTransferComponent_ng_container_1_Template","NonPartnerBonusTransferComponent_ng_template_2_Template","NonPartnerBonusTransferComponent_ng_template_4_Template","partner_r3","PartnerBonusTransferComponent_ng_container_0_ng_container_1_ng_container_1_ng_container_1_ng_container_4_ng_template_1_Template","PartnerBonusTransferComponent_ng_container_0_ng_container_1_ng_container_1_ng_container_1_ng_container_4_Template","PartnerBonusTransferComponent_ng_container_0_ng_container_1_ng_container_1_ng_container_1_Template","PartnerBonusTransferComponent_ng_container_0_ng_container_1_ng_container_1_ng_template_2_Template","noPartners_r6","PartnerBonusTransferComponent_ng_container_0_ng_container_1_ng_container_1_Template","PartnerBonusTransferComponent_ng_container_0_ng_container_1_Template","PartnerBonusTransferComponent_ng_container_0_ng_template_21_Template","PartnerBonusTransferComponent_ng_container_0_ng_template_23_Template","noBonusCredit_r8","confirmBonusTranser_r7","modal_r12","PartnerBonusTransferComponent","targetMemberId","defaultSelectOnlyPartner","amountInPence","PartnerBonusTransferComponent_ng_container_0_Template","PartnerBonusTransferComponent_ng_container_1_Template","PartnerBonusTransferComponent_ng_template_2_Template","PartnerBonusTransferComponent_ng_template_4_Template","showPartners","RenewalBonusTransferPageComponent_ng_container_13_ng_container_51_Template","RenewalBonusTransferPageComponent_ng_container_13_ng_container_52_Template","bonusCredit$","RenewalBonusTransferPageComponent","renewalService","renewalSub","getRenewalBonusData","partnerSub","RenewalBonusTransferPageComponent_ng_container_13_Template","RenewalBonusTransferPageComponent_ng_container_14_Template","productInfo_r3","openProductDescription","addSubscriptionProductToCart","portalProduct","PrimaryImage","SubscriptionsListItemComponent","selectAllSubscriptionCartData","itemSub","checkBasketForMembership","addPortalProductToCart","checkBasketForSubs","arrCart","SubscriptionsListItemComponent_div_0_Template","SubscriptionsListItemComponent_ng_template_1_Template","currentSubscribedProduct","NextPaymentDueDate","addRenewalProductToCart","renewalProduct","SubscriptionsListItemRenewalsComponent_div_0_div_22_p_6_Template","SubscriptionsListItemRenewalsComponent_div_0_div_22_button_8_Template","withinRenewal","SubscriptionsListItemRenewalsComponent_div_0_div_22_Template","PrimaryImageURL","SubscriptionsListItemRenewalsComponent","portalProductsQuery","updateStatus","subscribedProduct","noticePeriod","getRenewalProduct","renewalPortalProducts","getAllProductsByProductType","checkBasketForRenewal","itemsInCart","SubscriptionsListItemRenewalsComponent_div_0_Template","SubscriptionsListItemRenewalsComponent_ng_template_1_Template","SubscriptionsListItemSubscribedComponent","SubscriptionsListItemSubscribedComponent_div_0_Template","SubscriptionsListItemSubscribedComponent_ng_template_1_Template","activeSubs","maxSubs","membProduct_r2","SubscriptionsListComponent_div_13_ng_container_4_Template","membershipPortalProducts","product_r3","SubscriptionsListComponent_ng_template_14_div_0_ng_container_4_div_1_Template","SubscriptionsListComponent_ng_template_14_div_0_ng_container_4_Template","purchasedProducts","SubscriptionsListComponent_ng_template_14_div_0_Template","foundMembership","subProduct_r4","SubscriptionsListComponent_div_16_ng_container_4_ng_container_1_Template","notPurchasedActiveSubs","SubscriptionsListComponent_div_16_ng_container_5_ng_container_1_div_1_Template","SubscriptionsListComponent_div_16_ng_container_5_ng_container_1_Template","SubscriptionsListComponent_div_16_ng_container_4_Template","SubscriptionsListComponent_div_16_ng_container_5_Template","item_r8","totalCost_r9","clearSubsBasket","SubscriptionsListComponent_div_18_div_1_div_9_Template","SubscriptionsListComponent_div_18_div_1_span_15_Template","items_r10","totalCost$","SubscriptionsListComponent_div_18_div_1_Template","SubscriptionsListComponent","portalProductsSubscriptionsQuery","productTypes","foundSubscription","purchasedSubProductType","subscriptionPortalProducts","selectSubscriptionsByProductTypes","subItems","purchasedSubProducts","findExistingMembership","findExistingSubs","getActiveNonPurchasedSubs","allProducts","calculateTotalCost","portalProductIds","purchasedProductIds","products","purchasedProduct","ids","getProductsById","prod","individualProduct","removeItems","getMemberPortalProductCart","SubscriptionsListComponent_ng_container_6_Template","SubscriptionsListComponent_ng_template_7_Template","SubscriptionsListComponent_div_13_Template","SubscriptionsListComponent_ng_template_14_Template","SubscriptionsListComponent_div_16_Template","SubscriptionsListComponent_div_18_Template","SubscriptionsListComponent_ng_container_20_Template","elseNoUpgrades_r11","elseRenewals_r12","SubscriptionsPageComponent","CartItemSubscriptionsComponent_ng_container_0_div_1_div_1_Template","CartItemSubscriptionsComponent_ng_container_0_div_1_Template","CartItemSubscriptionsComponent_ng_container_0_div_2_Template","CartItemSubscriptionsComponent","CartItemSubscriptionsComponent_ng_container_0_Template","member_r2","memberAddressForm","saveMemberDetailAddress","hasSubmittedMemberAddress","giftCode_r6","CartCheckoutPagePortalProductsComponent_div_65_ng_container_3_span_6_Template","CartCheckoutPagePortalProductsComponent_div_65_ng_container_3_span_7_Template","CartCheckoutPagePortalProductsComponent_div_65_ng_container_3_span_8_Template","CartCheckoutPagePortalProductsComponent_div_65_ng_container_3_Template","paymentModal_r8","openPaymentModal","items_r9","modal_r11","CartCheckoutPagePortalProductsComponent_ng_template_68_div_1_Template","CartCheckoutPagePortalProductsComponent_ng_template_68_ng_container_19_Template","paymentLoading","CartCheckoutPagePortalProductsComponent","ngbModal","memberCardService","missingDetails","editingMemberAddress","getMemberDetailAddress","cartSubscriptions","totalCost","accumVal","translationSub","editMemberAddress","totalPriceAfterDiscount","resetBasketValues","purchasePortalProduct","paymentInitialised","memberDetailsAddress","clearCacheAndFetchNewCards","memberDetail$","CartCheckoutPagePortalProductsComponent_span_32_Template","CartCheckoutPagePortalProductsComponent_ng_container_37_Template","CartCheckoutPagePortalProductsComponent_div_65_Template","CartCheckoutPagePortalProductsComponent_div_66_Template","CartCheckoutPagePortalProductsComponent_ng_template_68_Template","payNow","validCheckout","totalPoints","CartCheckoutPageComponent","purchaseMarketplaceItemsInCart","CartCheckoutPageComponent_span_32_Template","CartCheckoutPageComponent_ng_container_37_Template","CartCheckoutPageComponent_div_61_Template","currentCompany_r1","OffersListItemComponent","highlighted","navigateToOffer","navigatedToOffer","offer","OfferId","languageContent","LCID","currentCompany$","CompanyId","OffersListItemComponent_div_13_Template","MapEventManager","_clearListeners","_listeners","_ngZone","_pending","_targetStream","getLazyEmitter","setTarget","currentTarget","DEFAULT_OPTIONS","lat","lng","zoom","mapTypeId","GoogleMap","_center","_zoom","_elementRef","_eventManager","mapInitialized","authFailure","boundsChanged","centerChanged","mapClick","mapDblclick","mapDrag","mapDragend","mapDragstart","headingChanged","idle","maptypeidChanged","mapMousemove","mapMouseout","mapMouseover","projectionChanged","mapRightclick","tilesloaded","tiltChanged","zoomChanged","_isBrowser","googleMapsWindow","_existingAuthFailureCallback","gm_authFailure","_setSize","googleMap","_combineOptions","setCenter","setZoom","setMapTypeId","_mapEl","google","maps","_initialize","importLibrary","lib","mapConstructor","fitBounds","bounds","_assertInitialized","panBy","panTo","latLng","panToBounds","latLngBounds","getBounds","getCenter","getClickableIcons","getHeading","getMapTypeId","getProjection","getStreetView","getTilt","getZoom","mapTypes","overlayMapTypes","_resolveMap","coerceCssPixelValue","mapId","ngContentSelectors","cssUnitsPattern","MapInfoWindow","_googleMap","_destroy","closeclick","contentChanged","domready","positionChanged","zindexChanged","infoWindowInitialized","InfoWindow","infoWindowConstructor","infoWindow","_watchForOptionsChanges","_watchForPositionChanges","getContent","getZIndex","openAdvancedMarkerElement","advancedMarkerElement","getAnchor","shouldFocus","anchorObject","setContent","hostAttrs","DEFAULT_MARKER_OPTIONS$1","MapMarker","_title","_label","clickable","_clickable","_icon","visible","_visible","animationChanged","clickableChanged","cursorChanged","draggableChanged","flatChanged","iconChanged","mapMousedown","mapMouseup","shapeChanged","titleChanged","visibleChanged","markerInitialized","Marker","markerConstructor","marker","setMap","setTitle","setLabel","setClickable","setIcon","setVisible","getAnimation","getClickable","getCursor","getDraggable","getIcon","getLabel","getOpacity","getShape","getTitle","getVisible","_resolveMarker","GoogleMapsModule","marker_r3","markerElem_r4","showMarkerDetails","departmentID","mapInfo","OffersMapComponent","departmentQuery","departmentService","deviceDetectorService","selectedDepartmentID","prepareMap","geolocation","getCurrentPosition","mapCenter","coords","latitude","longitude","mapZoom","mapHeight","mapOptions","zoomControl","scrollwheel","disableDoubleClickZoom","maxZoom","minZoom","updateMarkers","offers","customMarkers","getDepartmentFromOffer","dpt","Latitude","Longitude","DepartmentId","Animation","DROP","zoomIn","zoomOut","centerMap","emitSelection","getDepartment","Location","emitSelectedDepartmentID","openInfoWindow","selectMarker","closeInfoWindow","findMapMarker","fetchDepartments","departmentId","markersList","mapMarkersEl","selectedCustomMarker","OffersMapComponent_map_marker_1_Template","OffersMapComponent_div_5_Template","OfferSearchBarComponent","searchResultArray","searchText","arrayToFilter","filteredCompanyIds","filteredOffers","OfferSearchBarModule","FilterByComponent_div_1_button_13_Template","filterByProperty","FilterByComponent_div_1_Template","resetFilter","filterOptions","FilterByComponent","filteredArray","newArray","subPropertyToFilter","filterByNestedProperty","propertyToFilter","FilterByModule","searchResult","filterArray","changeView","OffersToolbarComponent","companyOfferService","viewChange","searchResults","filterResults","fetchOfferCategories","categories","CategoryName","selectedView","emitCombinedArray","combinedResults","OffersToolbarComponent_div_1_Template","OffersToolbarComponent_div_2_Template","OffersToolbarComponent_div_3_Template","OffersToolbarComponent_div_4_Template","offer_r4","OffersListComponent_div_0_div_3_ng_container_1_div_1_Template","showFirstPage","showAll","OffersListComponent_div_0_div_3_div_2_button_1_Template","OffersListComponent_div_0_div_3_div_2_button_2_Template","allShown","OffersListComponent_div_0_div_3_ng_container_1_Template","OffersListComponent_div_0_div_3_div_2_Template","OffersListComponent_div_0_div_3_ng_template_3_Template","OffersListComponent_div_0_div_3_ng_template_5_Template","noOffer_r7","offer_r10","selectOffer","selectedOfferID","OffersListComponent_div_0_div_4_div_6_Template","updateFilteredOffers","OffersListComponent_div_0_div_3_Template","OffersListComponent_div_0_div_4_Template","offersList_r11","OffersListComponent","companyOfferQuery","offersList$","selectAllOffers","updateMap","offerId","OffersListComponent_div_0_Template","OfferEarnTabComponent","PartnersListItemComponent","partner","offer_r3","OffersPageComponent_ng_container_5_div_1_ng_container_6_ng_template_1_Template","OffersPageComponent_ng_container_5_div_1_ng_container_6_Template","featuredOffers_r4","OffersPageComponent_ng_container_5_div_1_Template","partner_r6","navigateToFirstOfferFromAffiliate","OffersPageComponent_ng_container_7_div_1_ng_container_8_ng_template_1_Template","OffersPageComponent_ng_container_7_div_1_ng_container_8_Template","featuredPartners_r7","OffersPageComponent_ng_container_7_div_1_Template","OffersPageComponent","fetchOffers","featuredPartners$","selectFavouriteCompanies","featuredOffers$","selectFeaturedOffers","affiliate","selectCompanyOffers","OffersPageComponent_ng_container_5_Template","OffersPageComponent_ng_container_7_Template","OfferTermsModalComponent","claimOffer","openOfferTermsModal","successMessage","OffersDetailsComponent","companyOfferType","CompanyOfferType","TermsAndConditionsDisplayType","_updateLanguageContent","RedirectUrl","openWindow","OffersDetailsComponent_div_13_Template","OffersDetailsComponent_ng_container_14_Template","OffersDetailsComponent_ng_container_15_Template","OfferType","ExternalWebsite","Affiliate","SingleSignOn","Url","currentOffer_r2","loadNewOffer","offer_r5","OfferDetailsPageComponent_div_5_div_1_ng_container_2_ng_container_5_ng_template_1_Template","OfferDetailsPageComponent_div_5_div_1_ng_container_2_ng_container_5_Template","OfferDetailsPageComponent_div_5_div_1_ng_container_2_ng_template_6_Template","relatedOffers_r6","OfferDetailsPageComponent_div_5_div_1_ng_container_2_Template","noRelatedOffers","offer_r8","OfferDetailsPageComponent_div_5_div_3_ng_container_2_ng_container_5_ng_template_1_Template","OfferDetailsPageComponent_div_5_div_3_ng_container_2_ng_container_5_Template","OfferDetailsPageComponent_div_5_div_3_ng_container_2_ng_template_6_Template","otherOffers_r9","OfferDetailsPageComponent_div_5_div_3_ng_container_2_Template","noOtherOffers","OfferDetailsPageComponent_div_5_div_1_Template","OfferDetailsPageComponent_div_5_div_3_Template","relatedOffers$","otherOffers$","OfferDetailsPageComponent","_updateOffer","newOffer","currentOffer$","selectRelatedOffers","selectOtherOffers","department","OfferDetailsPageComponent_div_0_Template","OfferDetailsPageComponent_div_3_Template","OfferDetailsPageComponent_div_5_Template","CartCheckoutResultsPageComponent","CartCheckoutSuccessPageComponent","marketplaceCart","getMemberMarketplaceCart","NotificationManagementPageComponent","SportsAllianceCallbackComponent","sportsAllianceService","cookieService","cookieName","hasNamedCookie","domainCookie","getDomainCookie","authenticateDomainCookie","authenticateJwt","loginUsingToken","jwtToken","getProviderJwtToken","validateJwt","paramValue","fromString","EcashDescriptionComponent","googleIconName1","googleIconName2","googleIconName3","EcashDescriptionModule","TopUpAddressComponent_form_3_div_3_div_6_div_1_Template","TopUpAddressComponent_form_3_div_3_div_6_div_2_Template","TopUpAddressComponent_form_3_div_3_div_6_Template","TopUpAddressComponent_form_3_div_3_Template","TopUpAddressComponent_form_3_div_4_div_6_div_1_Template","TopUpAddressComponent_form_3_div_4_div_6_div_2_Template","TopUpAddressComponent_form_3_div_4_div_6_Template","TopUpAddressComponent_form_3_div_4_Template","TopUpAddressComponent_form_3_div_5_div_6_div_1_Template","TopUpAddressComponent_form_3_div_5_div_6_div_2_Template","TopUpAddressComponent_form_3_div_5_div_6_Template","TopUpAddressComponent_form_3_div_5_Template","TopUpAddressComponent_form_3_div_6_div_6_div_1_Template","TopUpAddressComponent_form_3_div_6_div_6_div_2_Template","TopUpAddressComponent_form_3_div_6_div_6_Template","TopUpAddressComponent_form_3_div_6_Template","TopUpAddressComponent_form_3_div_7_div_6_div_1_Template","TopUpAddressComponent_form_3_div_7_div_6_div_2_Template","TopUpAddressComponent_form_3_div_7_div_6_Template","TopUpAddressComponent_form_3_div_7_Template","TopUpAddressComponent_form_3_fgbcl_country_and_regions_8_Template","topUpAddressForm","TopUpAddressComponent_form_3_div_9_div_6_div_1_Template","TopUpAddressComponent_form_3_div_9_div_6_div_2_Template","TopUpAddressComponent_form_3_div_9_div_6_Template","TopUpAddressComponent_form_3_div_9_Template","TopUpAddressComponent_form_3_div_10_div_6_div_1_Template","TopUpAddressComponent_form_3_div_10_div_6_div_2_Template","TopUpAddressComponent_form_3_div_10_div_6_Template","TopUpAddressComponent_form_3_div_10_Template","TopUpAddressComponent_form_3_div_11_div_6_div_1_Template","TopUpAddressComponent_form_3_div_11_div_6_div_2_Template","TopUpAddressComponent_form_3_div_11_div_6_Template","TopUpAddressComponent_form_3_div_11_Template","TopUpAddressComponent_form_3_Template","topUpAddressConfig","showFirstName","showLastName","showAddressName","showStreet","showTown","showCountryRegion","showPostCode","showMobileNumber","showEmail","topUpAddressConfigDefault","TopUpAddressComponent","regex","getTopUpAddress","setupAddressForm","postTopUpAddress","topUpAddress","FGBValidators","Empty","TopUpAddressModule","CountryAndRegionsModule","AddNewCardComponent_ng_template_14_ng_container_9_ng_container_1_Template","AddNewCardComponent_ng_template_14_ng_container_9_Template","loadingTemplate_r5","AddNewCardComponent_ng_template_14_div_11_Template","AddNewCardComponent_ng_template_14_Template","hideAddress","showCancelButton","AddNewCardComponent_ng_template_16_Template","cardEnding","CardTokenComponent_p_2_Template","CardTokenComponent_p_3_Template","CardTokenComponent_p_4_Template","CardTokenComponent_button_10_Template","freezeCard","freeze_r4","CardTokenComponent_button_11_Template","setCardAsDefault","activate_r6","CardTokenComponent_button_12_Template","unfreezeCard","unfreeze_r8","CardTokenComponent_ng_container_24_Template","cardToken","CardType","CardTokenComponent_ng_template_25_Template","CardNumber","CardTokenComponent_ng_template_27_Template","CardTokenComponent_ng_template_29_Template","CardTokenComponent_ng_template_31_Template","defaultCard","otherCards","CardTokenListComponent_ng_container_5_ng_container_1_3_ng_template_0_Template","cardTokens_r1","cardIssuerProvider","CardTokenListComponent_ng_container_5_ng_container_1_3_Template","CardTokenListComponent_ng_container_5_ng_container_1_ng_container_4_ng_template_1_Template","card_r3","CardTokenListComponent_ng_container_5_ng_container_1_ng_container_4_Template","CardTokenListComponent_ng_container_5_ng_container_1_5_ng_template_0_Template","CardTokenListComponent_ng_container_5_ng_container_1_5_Template","CardTokenListComponent_ng_container_5_ng_container_1_8_ng_template_0_Template","CardTokenListComponent_ng_container_5_ng_container_1_8_Template","CardTokenListComponent_ng_container_5_ng_container_1_ng_container_9_ng_template_1_Template","token_r4","CardTokenListComponent_ng_container_5_ng_container_1_ng_container_9_Template","CardTokenListComponent_ng_container_5_ng_container_1_Template","CardTokenListComponent_ng_container_5_Template","CardTokenListComponent_ng_template_8_Template","AddNewCardComponent","cardTokenService","provider","Sage","redirectUrl","failureUrl","showCloseBtn","addNewCard","addNewCardToken","openCardModal","addNewCardForm_r2","CardTokenComponent","showBack","TokenId","switchCardSide","cardIsInactive","IsDefaultToken","cardIsActive","Frozen","cardIsFrozen","setCardTokenFrozenState","deleteCard","deleteCardToken","delete_r9","CardIssuer","i3$2","CardTokenListComponent","Dummy","nonDefaultCardTokens$","selectExceptDefaultCard","CardTokenListModule","PaymentPageComponent","GlobalPayments","ProviderCallbackComponent","sqwadService","providerIdStr","SQWAD","win","currentExternalRef","sqwadRedirectToHomepage","exhaustMap","project","resultSelector","ii","innerSub","isComplete","outerValue","fgbAnimations","rotateEnd","rotateStart","overflow","CardLinkButtonComponent_ng_container_0_Template","addNewCardTerms_r3","openCardLinkingTerms","linkedCardsCount_r4","cardLinkingSettings","allowMultipleCardLinking","CardLinkButtonComponent_ng_template_1_Template","isTermsAccepted","linkcard","CardLinkedSingleComponent_img_9_Template","CardLinkedSingleComponent_img_10_Template","CardLinkedSingleComponent_img_11_Template","CardLinkedSingleComponent_img_12_Template","CardLinkedSingleComponent_img_13_Template","CardLinkedSingleComponent_img_14_Template","CardLinkedSingleComponent_div_15_Template","CardLinkedSingleComponent_button_16_Template","content_r4","externalCardId","linkedCard","ExternalCardId","openModel","CardLinkedSingleComponent_ng_template_17_Template","deleteLinkedCard","CardLinkOfferItemComponent_p_6_Template","CardLinkOfferItemComponent_div_15_Template","CardLinkOfferItemComponent_div_16_Template","CardLinkOfferItemComponent_span_19_Template","CardLinkOfferItemComponent_span_20_Template","CardLinkOfferItemComponent_span_21_Template","CardLinkOfferItemComponent_ng_template_22_Template","CardLinkOffersListComponent_ng_container_0_ng_container_1_h2_1_Template","labelName","CardLinkOffersListComponent_ng_container_0_ng_container_1_hr_2_Template","CardLinkOffersListComponent_ng_container_0_ng_container_1_ng_container_4_Template","cardLinkOffer_r2","CardLinkOffersListComponent_ng_container_0_ng_container_1_Template","cardlinkOffers_r3","horizontalLine","CardLinkOffersListComponent_ng_container_0_Template","CardLinkOffersListComponent_ng_container_2_ng_container_1_Template","cardLinkOfferOptions","showMoreIncrement","CardLinkOffersListComponent_ng_container_2_Template","showMoreButton","CardLinkedListComponent_div_0_ng_container_1_Template","CardLinkedListComponent_div_0_Template","carousel_r1","CardLinkedListComponent_div_1_ng_container_1_Template","CardLinkedListComponent_div_1_Template","CardLinkedListComponent_ng_template_2_1_ng_template_0_Template","card_r2","CardLinkedListComponent_ng_template_2_1_Template","CardLinkedListComponent_ng_template_2_Template","linkedCardList","CardLinkedTransactionsListComponent_ng_container_23_div_3_div_1_div_1_div_10_Template","CardLinkedTransactionsListComponent_ng_container_23_div_3_div_1_div_1_div_11_Template","CardLinkedTransactionsListComponent_ng_container_23_div_3_div_1_div_1_Template","AccountDescriptionId","CardLinkedTransactionsListComponent_ng_container_23_div_3_div_1_Template","CardLinkedTransactionsListComponent_ng_container_23_div_3_Template","CardLinkedTransactionsListComponent_ng_container_23_Template","CardLinkedTransactionsListComponent_ng_container_25_Template","CardLinkedTransactionsListComponent_div_26_Template","AffiliatesOffersCategoryFilterComponent_ng_container_0_ng_container_3_ng_template_1_Template","category_r2","categoryEmitter","categoryTagId","TagId","AffiliatesOffersCategoryFilterComponent_ng_container_0_ng_container_3_Template","AffiliatesOffersCategoryFilterComponent_ng_container_0_Template","offerCategories_r4","CardLinkExternalUrlModalComponent_ng_container_0_Template","clubImageUrl","companyImageUrl","navigationUrl","CardLinkExternalUrlModalComponent_ng_template_1_Template","CardLinkOfferDetailsComponent_ng_container_14_Template","CardLinkOfferDetailsComponent_div_19_div_1_Template","CardLinkOfferDetailsComponent_div_19_div_2_Template","CardLinkOfferDetailsComponent_div_19_Template","cardLinkOfferDtail","OfferLocations","CardLinkOfferDetailsComponent_ng_container_24_Template","currentTab","CardLinkOfferDetailsComponent_p_27_Template","CardLinkOfferDetailsComponent_p_28_ng_container_1_Template","CardLinkOfferDetailsComponent_p_28_Template","CardLinkOfferDetailsComponent_button_29_Template","activateOffer","CardLinkOfferDetailsComponent_button_30_Template","content_r6","selectedOffer","modelContent","CardLinkOfferDetailsComponent_div_31_Template","CardLinkOfferDetailsComponent_ng_template_32_Template","CompanyImageUrl","cardLinkActivateOffer","CardLinkOfferDetailsComponent_ng_template_34_Template","linkCard","CardLinkingSingleFeaturedOfferComponent_div_18_Template","CardLinkingSingleFeaturedOfferComponent_div_19_Template","CardLinkingFeaturedOffersComponent_ng_container_0_div_1_div_1_ng_container_2_ng_template_1_Template","offer_r1","CardLinkingFeaturedOffersComponent_ng_container_0_div_1_div_1_ng_container_2_Template","CardLinkingFeaturedOffersComponent_ng_container_0_div_1_div_1_Template","featuredOffers_r3","CardLinkingFeaturedOffersComponent_ng_container_0_div_1_ng_container_2_ng_container_1_Template","CardLinkingFeaturedOffersComponent_ng_container_0_div_1_ng_container_2_Template","CardLinkingFeaturedOffersComponent_ng_container_0_div_1_Template","CardLinkingFeaturedOffersComponent_ng_container_0_Template","CardLinkEarnStepsComponent_hr_4_Template","CardLinkFeaturedBrandsComponent_ng_container_0_div_2_div_6_Template","CardLinkFeaturedBrandsComponent_ng_container_0_div_2_Template","featuredPartners_r4","CardLinkFeaturedBrandsComponent_ng_container_0_Template","CardLinkOfferLocationsMapComponent_option_6_Template","location_r2","City","CardLinkOfferLocationsMapComponent_map_marker_8_Template","marker_r5","markerElem_r6","CardLinkOfferLocationsMapComponent_div_12_Template","CardLinkOfferLocationsListComponent_ng_container_3_Template","location_r1","Address","CardLinkOfferLocationsListComponent_a_7_Template","CardLinkOfferLocationsListComponent_a_8_Template","showLess","CardLinkOfferLocationsComponent_div_9_div_7_Template","CardLinkOfferLocationsComponent_div_9_Template","showMap","CardLinkOfferLocationsComponent_ng_container_11_ng_container_1_Template","cardLinkOfferLocation_r4","Locations","CardLinkOfferLocationsComponent_ng_container_11_ng_container_2_Template","CardLinkOfferLocationsComponent_ng_container_11_Template","CardLinkButtonComponent","fidelService","fidelJsLoaderService","cardLinkingService","cardLinkingQuery","countries","CardLinkingFidelCountries","GBR","disableCardButton","PrivacyPolicy","linkedCardsCount$","selectCount","termsContent","getCount","ModalDismissReasons","ESC","BACKDROP_CLICK","loadJs","cardLinkedStatus","fedilCallBack","callbackSuccess","fetchFidelLinkedCard","callbackFailed","CardLinkedSingleComponent","cardLinkingServices","CardLinkOfferItemComponent","cardLinkOffersService","activatedOfferID","offerAction","cardNotLinkModel","CustomerOfferStatus","openCardNotLinkModal","cardLinkOffer","cardNotLinkModel_r2","Favorite","CardLinkOffersListComponent","cardLinkOffersQuery","fatchAffiliateOffer","firstChange","offerType","offers$","selectAllOffer","offerCount$","featuredOffers","featuredOffersCount","selectRecommendedOffers","excludingOfferId","recommendOffersCount","selectOtherOffer","companyID","selectOtherOfferCount","selectActivatedOffer","selectActivatedOffersCount","customOffersData","offerCount","checkCardLinkOptions","CardLinkSuccessContentComponent","routerLink","CardLinkedListComponent","CardLinkedTransactionsListComponent","scroller","cardlink","scrollToAnchor","i4$2","CategoryWidthPipe","categoryLength","AffiliatesOffersCategoryFilterComponent","cardLinkOfferCategoriesQuery","categoryTagIdEmitter","navButtons","offersCategories$","CardLinkExternalUrlModalComponent","offerDescription","noUrl_r2","CardLinkOfferDetailsComponent","hasOpenModals","shopNowBtn","fatchNavigationtoOfferUrl","companiesClaim","cardNotLinkModal","CardLinkingSingleFeaturedOfferComponent","featuredOffer","CardLinkingFeaturedOffersComponent","numberOfOffers","CardLinkEarnStepsComponent","cardTitle","stepOneText","stepTwoText","stepThreeText","stepOneSmallPrintText","stepTwoSmallPrintText","stepThreeSmallPrintText","stepOneIcon","stepTwoIcon","stepThreeIcon","filled","CardLinkFeaturedBrandsComponent","cardLinkAffiliatesService","cardLinkAffiliatesQuery","fetchAffiliates","filterBy","company","navigateToCompaniesFirstOffer","CardLinkOfferLocationsMapComponent","uniqeLocation","cardLinkOfferLocationDetails","onChange","locationCordinates","condinates","LatLng","ControlPosition","TOP_LEFT","searchElementRef","markerdetail","i4$3","CardLinkOfferLocationsListComponent","_cardLinkOfferLocationDetails","_init","intialHeight","listHeight","showAnimation","listContainer","locationCount","totalPage","_initHeight","ElementRef","CardLinkOfferLocationsComponent","cardLinkOfferLocationsService","cardLinkOfferLocationsQuery","showLocations","fetchOfferLocations","cardLinkOfferLocations$","CardLinkModule","TermsAndConditionsModule","cards_r1","CardLinkingPageComponent","cardLinkingQuary","USA","getLinkedCards","linkedCardList$","CardLinkingPageComponent_div_0_Template","CardLinkingPageComponent_div_2_Template","CardLinkingPageComponent_ng_container_15_Template","CardLinkingSuccessPageComponent","cardLinkOfferOptionsRecommendedOffers","CardLinkOfferType","OffersYouMayLike","SharedSearchBarComponent","searchTextEmitter","SharedSearchBarModule","categorytagID","getOffers","CardLinkAllOffersPageComponent","AllOffers","CustomOffersData","searchOffer","CardLinkAllOffersPageComponent_h2_11_Template","CardLinkAllOffersPageComponent_ng_container_12_Template","CardLinkAllOffersPageComponent_div_14_Template","CardLinkAllOffersPageComponent_hr_16_Template","CardLinkAllOffersPageComponent_ng_template_18_Template","CardLinkAllOffersPageComponent_ng_template_20_Template","CardLinkAffiliatesPageComponent_ng_container_0_ng_container_1_Template","linkedCardsCount_r1","activatedCount_r2","CardLinkAffiliatesPageComponent","activatedOffersCount$","CardLinkAffiliatesPageComponent_ng_container_0_Template","CardLinkAffiliatesPageComponent_ng_container_14_Template","CardLinkActivatedOffersPageComponent","cardLinkOfferOptionsActivatedOffers","ActivatedOffers","cardLinkOfferDetails_r1","LocationType","CardLinkOfferDetailsPageComponent","routeReuseStrategy","shouldReuseRoute","getOfferDetailsAndOtherOffer","cardLinkOfferDetail$","cardLinkOfferOptionsOtherOffers","OtherOffers","CardLinkOfferDetailsPageComponent_ng_container_0_Template","KeyCloakCallbackComponent","keyCloakAuthService","authenticateCode","kccode","getProviderCodeToken","validateCode","SeatGeekCallbackComponent","seatgeekAuthService","errorCodeKey","TicketInvitePageComponentComponent","isValidTicket","validateTicketInviteKey","TicketInvitePageComponentComponent_ng_container_9_Template","TicketInvitePageComponentComponent_ng_container_10_Template","ProductDescription","Quantity","TotalPrice","SplitTransactionComponent_ng_container_40_div_1_div_4_Template","itemDetails_r4","SplitTransactionComponent_ng_container_40_div_1_Template","itemDetails$","SplitTransactionComponent","transactionExtendedQuery","TransactionRef","isOpen","hasActive","loading$","getItemDetailsByTref","toggleActive","loadItemDetailsByTref","toggleBtn_r2","SplitTransactionComponent_ng_container_40_Template","SplitTransactionComponent_ng_template_42_Template","DiscountAmount","PaidEcashAmount","PaidCardAmount","loading_r6","SplitTransactionListComponent_ng_container_0_div_1_ng_container_1_ng_container_4_Template","data_r2","loadMore","SplitTransactionListComponent_ng_container_0_div_1_ng_container_2_button_2_Template","isLoadDisabled","SplitTransactionListComponent_ng_container_0_div_1_ng_container_1_Template","SplitTransactionListComponent_ng_container_0_div_1_ng_container_2_Template","transactions_r5","SplitTransactionListComponent_ng_container_0_div_1_Template","SplitTransactionListComponent_ng_container_0_ng_container_2_Template","noData_r6","SplitTransactionListComponent","resetOnLoad","groupedByDate$","_search","dateFrom","dateTo","searchByDate","SplitTransactionListComponent_ng_container_0_Template","SplitTransactionListComponent_ng_template_2_Template","SplitTransactionHistoryComponent","splitTransaction_r2","SplitTransactionPageComponent","OtherMediaCallbackComponent","otherMediaAuthService","UserResetPasswordComponent","_fb","formReset","isSuccess","markAllAsTouched","resetPassword","clearSuccessMessage","UserResetPasswordComponent_div_19_Template","UserResetPasswordComponent_div_20_Template","UserResetPasswordComponent_p_28_Template","toggleVisiblePassword","toggleVisibleConfirm","UserChangePasswordComponent","resetKey","visiblePassword","visibleConfirm","getResetKeyFromRoute","formChangePassword","confirmPassword","samePassword","changePassword","alert","UserChangePasswordComponent_span_20_Template","UserChangePasswordComponent_span_21_Template","UserChangePasswordComponent_div_22_Template","UserChangePasswordComponent_span_29_Template","UserChangePasswordComponent_span_30_Template","UserChangePasswordComponent_div_31_Template","UserChangePasswordComponent_div_32_Template","UserChangePasswordComponent_ng_template_37_Template","tmp_8_0","hasError","CampaignDetailsPageComponent","campaignOffersService","campaignOffersQuery","campaignOffferSub","campaignOffer","entitlement","CampaignsAndEntitlements","CampaignID","currentCampaign","CampaignDetailsPageComponent_ng_container_12_Template","CampaignDetailsPageComponent_ng_container_13_Template","campaignRedemptions_Quantity","image_URL","CampaignName","Campaign_ExpiryDate","PortalDescription","RegistrationLayoutPageComponent","registrationStepQuery","registrationStepService","wizardTypes","WizardType","wizardTypeSubscription","selectWizardType","wizardType","checkCurrentStepIsAccessible","firstRouteChild","stepType","registrationStep","isStepAvailable","navigateToNextStep","walletItemsClaimed","WalletClaimedPageComponent_ng_container_12_ng_container_1_Template","WalletClaimedPageComponent","marketplaceFilterTypes","walletItemsClaimed$","WalletClaimedPageComponent_ng_container_12_Template","WalletClaimedPageComponent_ng_template_14_Template","unlink","ddLinkedKids_r6","KidsLinkedPageComponent_ng_container_4_div_14_div_4_div_9_button_5_Template","enterCode_r11","openEnterCode","KidsLinkedPageComponent_ng_container_4_div_14_div_4_span_5_Template","KidsLinkedPageComponent_ng_container_4_div_14_div_4_span_6_Template","KidsLinkedPageComponent_ng_container_4_div_14_div_4_div_9_Template","KidsLinkedPageComponent_ng_container_4_div_14_div_4_button_24_Template","KidsLinkedPageComponent_ng_container_4_div_14_div_4_button_25_Template","KidsLinkedPageComponent_ng_container_4_div_14_div_4_Template","childList_r2","addChildInfo_r4","openAddChildForm","totalAccount","KidsLinkedPageComponent_ng_container_4_div_14_Template","dobDatePicker_r13","changeModalHeight","modal_r14","sendRequest","addChildForm","_r15","linkCode","modal_r16","confirmLink","KidsLinkedPageComponent","submittedRequest","childRequest","childList$","getLinkRequests","childInfo","enterCode","selectedChild","linkRequest","resendRequest","processLinkRequest","deleteLinkRequest","KidsLinkedPageComponent_ng_container_4_Template","KidsLinkedPageComponent_ng_template_6_Template","KidsLinkedPageComponent_ng_template_8_Template","ChangePasswordGuard","canActivate","resetkey","TiersPageComponent_ng_container_9_div_1_div_2_i_6_Template","TiersPageComponent_ng_container_9_div_1_div_2_div_9_Template","TiersPageComponent_ng_container_9_div_1_div_2_div_10_Template","TiersPageComponent_ng_container_9_div_1_div_2_div_11_Template","TiersPageComponent_ng_container_9_div_1_div_2_div_12_Template","tier_r2","TiersPageComponent_ng_container_9_div_1_div_2_Template","progressBarStyle$","TiersPageComponent_ng_container_9_div_1_Template","TiersPageComponent","view$","progressValue","TiersPageComponent_ng_container_9_Template","labelString","option_r3","handleChangeSelectType","FilterModalComponent_ng_container_10_div_1_div_5_Template","filterTypesOptions","FilterModalComponent_ng_container_10_div_1_Template","showFilterOption","option_r6","defaultSelectedValues","FilterModalComponent_ng_container_11_div_2_div_9_Template","handleApplyFilters","FilterModalComponent_ng_container_11_div_2_Template","showOffCanvas","FilterModalComponent","filterTypesList","screenSizeServices","filterTypesListEmitter","selectedValuesEmitter","showOffCanvasEmitter","defaultFilterTypesList","onDocumentClick","filterResult","optionList","toggleShowFilterOption","specificSelectedItem","specificItem","handleCloseOffCanvas","FilterModalComponent_span_6_Template","FilterModalComponent_span_7_Template","FilterModalComponent_ng_container_10_Template","FilterModalComponent_ng_container_11_Template","handleFilterTypesListEmitter","handleSelectedValuesEmitter","handleShowOffCanvasEmitter","routes","AuthGuard","canActivateChild","MaintenanceGuard","MemberResolver","memberCard","MemberCardResolver","balances","BalanceResolver","popupNotifications","PopUpNotificationResolver","SurveyResolver","PopulationGuard","exclude","popRedirect","CountryResolver","AddressResolver","include","RewardsPageComponent","zip","fetchAuctions","fetchLottos","filterTypes","RewardsPageComponent_ng_container_5_Template","RewardsPageComponent_ng_container_6_Template","redirectTo","pathMatch","auctions","AuctionResolver","cardTokens","CardTokenResolver","TransactionSuccessGuard","PurchaseResolver","lottos","LottoResolver","lottoWalletItems","LottoWalletResolver","auctionBids","AuctionBidsResolver","bids","seating","SeatingDetailResolver","memberLoyaltyStatus","MemberLoyaltyStatusResolver","PartnerResolver","PartnerPendingResolver","ChallengesPageComponent","ticketResolver","TicketResolver","addressBookResolver","AddressBookResolver","TicketTransferGuard","canMatch","freeMember","populationName","loadComponent","__webpack_require__","GamesPageComponent","FantasyGameResolver","history","FantasyHistoryResolver","gameType","subscriptions","PortalProductsSubscriptionsResolver","BenefitResolver","loadChildren","RegistrationModule","provideRegistrationConfig","showBottomButton","AppRoutingModule","$C","G2t","RegistrationPaymentModule","scrollPositionRestoration","bindToComponentInputs","IMPORT_MODULES","forChild","loader","TranslateLoader","FGBTranslationLoader","AuthService","missingTranslationHandler","MissingTranslationHandler","FGBMissingTranslationHandler","SharedModule","NumberIncrementInputModule","ScorePredictorModule","ClubModule","TranslateHttpLoader","CashBackToggleModule","SplitTransactionModule","UserModule","GuardianModule","LayoutModule","LoyaltyModule","VouchersModule","EcashModule","PurchaseModule","EventsModule","TicketsModule","FantasyModule","DisplayModule","MomentDateFormatter","NgbDateParserFormatter","isDayFirst","parse","mdt","BadgeFeaturedListModule","AddressBookModule","AppComponent","script","googleAnalyticsTag","page_path","urlAfterRedirects","googleMapsScript","googleMapsAPIKey","BenefitModule","ClubSelectorModule","EditQuestionsModule","param_r1","ClubNotificationComponent","ClubNotificationComponent_ng_container_2_Template","AnnouncementsModule","provideAppConfig","appConfig","dateOptions","DEFAULT_DATE_OPTIONS","makeEnvironmentProviders","DatePipe","CurrencyPipe","CookieService","HTTP_INTERCEPTORS","TokenRefreshIntereptor","FirstTimeRegistrationInterceptor","RegistrationStepService","Router","HttpErrorInterceptor","ErrorStateService","TranslateService","ErrorHandler","FgbErrorHandler","APP_INITIALIZER","TranslationLoader","provideTmConfig","TMOauthService","TMAuthService","tmOAuthConfig","oauthConfig","tmAuthConfig","loginAuthConfig","FilterModalModule","tmSSOAuthConfig","clientId","club","clientSecret","tokenUri","loginUri","authoriseUri","tmLoginAuthConfig","authUri","visualPresents","alertNotificationComponents","AppModule","bootstrap","mergeAlertNotificationComponentMaps","partialOverride","ProductCodeGuard","JwtModule","allowedDomains","tokenGetter","jwtTokenGetter","production","enableProdMode","enableAkitaProdMode","__NgCli_bootstrap_1","bootstrapModule","currentAction","entityIds","customActionActive","logAction","setAction","isNil","DEFAULT_ID_KEY","isFunction","isObject","arrayUpdate","predicateOrIds","condition","emitNext","combineQueries","auditTime","asyncScheduler","audit","durationSelector","hasValue","lastValue","durationSubscriber","endDuration","cleanupDuration","closed","CONFIG","resettable","producerFn","getAkitaConfig","$$deleteStore","$$addStore","ReplaySubject","$$updateStore","__stores__","__queries__","$$stores","$$queries","ASC","DESC","entitiesToArray","limitTo","sortByOrder","_sortBy","compareValues","varA","varB","EntityActions","Add","Update","Remove","__DEV__","isDev","isDefined","isUndefined","hasActiveState","isMultiActiveState","resolveActiveEntity","getExitingActives","currentActivesIds","newIds","filtered","applyMiddleware","preAddEntity","mapped","deepFreeze","freeze","oIsFunction","hasOwnProp","getOwnPropertyNames","isFrozen","toBoolean","isPlainObject","configKey","storeName","transactionFinished","transactionInProcess","transactionManager","activeTransactions","batchTransaction","isTransactionInProcess","applyTransaction","thisArg","startBatch","endBatch","propertyKey","descriptor","originalMethod","withTransaction","Store","initialState","inTransaction","onInit","setLoading","_value","_setState","setHasCache","hasCache","restartTTL","ttlConfig","getCacheTTL","setError","_select","deepFreezeFn","cacheConfig","_producerFn","getGlobalProducerFn","newState","_dispatchAction","_newState","dispatchUpdate","handleTransaction","dispatch","isResettable","_initialState","stateOrCallback","withHook","akitaPreUpdate","resolved","updateStoreConfig","hmrEnabled","dispatchDeleted","dispatchAdded","assertStoreHasName","resetCustomAction","watchTransaction","commit","_b","entityActions","entityIdChanges","selectEntityAction$","selectEntityIdChanges$","isNativePreAdd","akitaPreAddEntity","setEntities","newEntities","toEntitiesObject","acc","isEntityState","activeId","hasInitialUIState","handleUICreation","addEntities","hasNewEntities","entityId","idsOrFnOrState","newStateOrFn","entityIdChanged","updateEntities","preUpdateEntity","onEntityIdChanges","updatedEntities","idToUpdate","isUpdatingIdKey","oldEntity","isIdChanged","newEntity","merged","updatedIds","stateEntities","Mi","deletedEntity","akitaPreUpdateEntity","oldId","newId","pending","upsert","onCreate","isUpdate","baseClass","isClassBased","updateIds","newStateObj","withId","upsertMany","addedIds","withPreCheckHook","akitaPreCheckEntity","hasUIStore","replaced","move","idsOrFn","idPassed","removeEntities","removeAllEntities","handleUIRemove","updateActive","newStateOrCallback","setActive","idOrOptions","getActiveEntities","currentActive","wrap","currentIdIndex","isFirst","isLast","_setActive","addActive","uniques","removeActive","currentId","filterExists","createUIStore","storeConfig","ui","EntityUIStore","nextEntity","isFunc","_akitaCreateEntityFn","uiEntities","createFn","__metadata","T","setInitialEntityState","queryConfigKey","QueryConfig","__store__","mapFn","compareKeys","keysOrFuncs","prevState","currState","isFns","keyOrFunc","selectError","selectHasCache","getHasCache","asObject","entitiesToMap","hasLimit","finalLength","sortByOptions","selectMany","mapSkipUndefined","callbackFn","distinctUntilArrayItemChanged","prevCollection","currentCollection","idOrPredicate","findEntityByPredicate","selectActiveId","getActiveId","selectLast","selectAt","selectEntityAction","actionOrActions","actions","projectOrIds","isIdProvided","createUIQuery","EntityUIQuery","guid","skipStorageUpdate","setSkipStorageUpdate","AkitaPlugin","resetFn","onReset","getQuery","getStore","isEntityBased","selectSource","filterNilValue","withStoreName","getSource","updateStore","removeStoreName","paginatorDefaults","pagesControls","range","cacheTimeout","clearStoreWithCache","PaginatorPlugin","initial","clearCache","currentPage","perPage","lastPage","isLoading$","isObservable","clearCacheSubscription","pageChanges","withControls","withRange","addPage","clearStore","clearPage","setPage","isPageActive","hasPage","nextPage","prevPage","setLastPage","setFirstPage","getPage","selectPage","refreshCurrentPage","getFrom","getTo","pageControls","generatePages","len","SnapshotManager","getStoresSnapshot","stores","setStoresSnapshot","mergedOptions","lazy","normalizedStores","JSON","extendStatics","__extends","setPrototypeOf","__proto__","d","__","HttpError","_super","statusCode","trueProto","TimeoutError","AbortError","__assign","HttpResponse","send","method","getCookieString","LogLevel","Trace","Debug","Information","Warning","Critical","NullLogger","_logLevel","_message","VERSION","Arg","isRequired","isNotEmpty","isIn","defineProperty","enumerable","configurable","isWebWorker","getDataDetail","includeContent","detail","isArrayBuffer","byteLength","formatArrayBuffer","Uint8Array","substr","ArrayBuffer","transportName","accessTokenFactory","logMessageContent","withCredentials","defaultHeaders","_arguments","P","generator","fulfilled","rejected","throw","__awaiter","_a","sent","trys","ops","verb","return","Symbol","op","TypeError","__generator","_c","Authorization","getUserAgentHeader","SubjectSubscription","subject","dispose","observers","cancelCallback","ConsoleLogger","minimumLogLevel","outputConsole","logLevel","userAgentHeaderName","isNode","constructUserAgent","getOsName","getRuntimeVersion","runtime","runtimeVersion","majorAndMinor","platform","versions","FetchHttpClient","requireFunc","__non_webpack_require__","jar","CookieJar","fetchType","abortControllerType","AbortController","request","abortController","timeoutId","e_1","abortSignal","aborted","onabort","abort","credentials","mode","redirect","ok","deserializeContent","arrayBuffer","cookies","getCookies","XhrHttpClient","xhr","XMLHttpRequest","setRequestHeader","header","responseText","ontimeout","DefaultHttpClient","TextMessageFormat","write","RecordSeparator","messages","RecordSeparatorCode","fromCharCode","HandshakeProtocol","writeHandshakeRequest","handshakeRequest","stringify","parseHandshakeResponse","messageData","remainingData","Buffer","binaryData","separatorIndex","responseLength","buffer","MessageType","Invocation","StreamItem","Completion","StreamInvocation","CancelInvocation","Ping","Close","_i","HubConnectionState","Disconnected","Connecting","Connected","Disconnecting","Reconnecting","HubConnection","reconnectPolicy","serverTimeoutInMilliseconds","keepAliveIntervalInMilliseconds","handshakeProtocol","onreceive","processIncomingData","onclose","connectionClosed","closedCallbacks","reconnectingCallbacks","reconnectedCallbacks","invocationId","receivedHandshakeResponse","connectionState","connectionStarted","cachedPingMessage","writeMessage","connectionId","startPromise","startWithStateTransitions","startInternal","handshakePromise","e_2","stopDuringStartError","handshakeResolver","handshakeRejecter","transferFormat","cleanupTimeout","resetTimeoutPeriod","resetKeepAliveInterval","cleanupPingTimer","stopPromise","stopInternal","e_3","reconnectDelayHandle","completeClose","methodName","promiseQueue","replaceStreamingParams","streams","invocationDescriptor","createStreamInvocation","cancelInvocation","createCancelInvocation","sendWithProtocol","invocationEvent","launchStreams","sendPromise","createInvocation","invoke","on","newMethod","off","handlers","removeIdx","onreconnecting","onreconnected","processHandshakeResponse","messages_1","parseMessages","invokeClientMethod","allowReconnect","inherentKeepAlive","pingServerHandle","timeoutHandle","serverTimeout","invocationMessage","cancelCallbacksWithError","reconnect","reconnectStartTime","previousReconnectAttempts","retryError","nextRetryDelay","e_4","getNextRetryDelay","previousRetryCount","elapsedMilliseconds","retryReason","nextRetryDelayInMilliseconds","nonblocking","streamIds","_loop_1","streamId","createCompletionMessage","createStreamItemMessage","argument","arg","DEFAULT_RETRY_DELAYS_IN_MILLISECONDS","DefaultReconnectPolicy","retryDelays","retryContext","HttpTransportType","WebSockets","ServerSentEvents","LongPolling","TransferFormat","Binary","isAborted","LongPollingTransport","pollAbort","running","connect","pollOptions","pollUrl","getAccessToken","updateHeaderToken","closeError","receiving","poll","pollAborted","raiseOnClose","deleteOptions","logMessage","ServerSentEventsTransport","eventSourceConstructor","encodeURIComponent","opened","eventSource","Cookie","onmessage","onopen","WebSocketTransport","webSocketConstructor","webSocket","binaryType","_event","readyState","OPEN","isCloseEvent","wasClean","HttpConnection","negotiateVersion","createLogger","resolveUrl","webSocketModule","eventSourceModule","WebSocket","EventSource","startInternalPromise","sendQueue","TransportSendQueue","transport","stopPromiseResolver","stopError","stopConnection","negotiateResponse","redirects","this_1","skipNegotiation","constructTransport","startTransport","accessToken_1","getNegotiationResponse","ProtocolVersion","accessToken","createTransport","negotiateUrl","resolveNegotiateUrl","connectionToken","createConnectUrl","requestedTransport","requestedTransferFormat","connectUrl","transportExceptions","negotiate","transports_1","endpoint","transportOrError","ex_1","ex_2","isITransport","availableTransports","resolveTransportOrError","transportMatches","actualTransport","transferFormats","ex","lastIndexOf","aTag","executing","sendBufferedData","PromiseSource","transportResult","sendLoopPromise","sendLoop","bufferData","error_1","concatBuffers","arrayBuffers","totalLength","arrayBuffers_1","resolver","rejecter","JsonHubProtocol","hubMessages","parsedMessage","isInvocationMessage","isStreamItemMessage","isCompletionMessage","assertNotEmptyString","LogLevelNameMapping","trace","information","critical","none","HubConnectionBuilder","configureLogging","logging","isLogger","parseLogLevel","mapping","withUrl","transportTypeOrOptions","httpConnectionOptions","withHubProtocol","withAutomaticReconnect","retryDelaysOrReconnectPolicy","dijkstra","single_source_shortest_paths","graph","predecessors","costs","u","cost_of_s_to_u","adjacent_nodes","cost_of_s_to_u_plus_cost_of_e","PriorityQueue","make","extract_shortest_path_from_predecessor_list","reverse","find_path","queue","sorter","default_sorter","shift","point","charCodeAt","defineLocale","months","monthsShort","weekdays","weekdaysShort","weekdaysMin","meridiemParse","isPM","meridiem","isLower","longDateFormat","LT","LTS","L","LL","LLL","LLLL","calendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","relativeTime","future","past","ss","mm","h","hh","dd","M","MM","yy","dayOfMonthOrdinalParse","week","dow","doy","require","pluralForm","plurals","pluralize","withoutSuffix","string","isFuture","weekdaysParseExact","hour","minute","postformat","symbolMap","preparse","numberMap","suffixes","relativeTimeWithPlural","plural","forms","isFormat","period","w","ww","lastDigit","last2Digits","meridiemHour","monthsShortRegex","monthsParseExact","relativeTimeWithMutation","mutation","softMutation","mutationTable","lastNumber","monthsParse","monthsRegex","minWeekdaysParse","weekdaysParse","fullWeekdaysParse","shortWeekdaysParse","monthsStrictRegex","monthsShortStrictRegex","longMonthsParse","shortMonthsParse","specialMutationForYears","processRelativeTime","ll","lll","llll","l","monthsNominativeEl","monthsGenitiveEl","momentToFormat","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","mom","_calendarEl","monthsShortDot","invalidDate","numbersPast","numbersFuture","verbalNumber","monthsShortWithDots","monthsShortWithoutDots","weekEndings","eras","since","narrow","abbr","until","eraYearOrdinalRegex","eraYearOrdinalParse","$0","$1","$2","isUpper","ezafeNumSuffix","eifelerRegelAppliesToNumber","processFutureTime","processPastTime","units","translateSingular","special","translateSeconds","relativeTimeWithSingular","relativeSeconds","translator","words","correctGrammaticalCase","wordKey","relativeTimeMr","monthsNominative","monthsSubjective","numbersNouns","numberNoun","numberAsNoun","hundred","ten","one","translateFuture","translatePast","hm","processHoursFunction","weekdaysCaseReplace","nominative","accusative","genitive","hookCallback","hooks","isObjectEmpty","isNumber","isDate","arrLen","extend","valueOf","createUTC","strict","createLocalOrUTC","getParsingFlags","_pf","unusedTokens","unusedInput","charsLeftOver","nullInput","invalidEra","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","era","rfc2822","weekdayMismatch","parsedParts","isNowValid","_d","invalidWeekday","_strict","bigHour","_isValid","createInvalid","NaN","fun","momentProperties","updateInProgress","copyConfig","momentPropertiesLen","_isAMomentObject","_f","_l","_tzm","_isUTC","_offset","_locale","Moment","updateOffset","isMoment","suppressDeprecationWarnings","deprecate","firstTime","deprecationHandler","argLen","stack","deprecations","deprecateSimple","mergeConfigs","parentConfig","childConfig","Locale","zeroFill","targetLength","forceSign","absNumber","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","localeData","removeFormattingTokens","formatMoment","expandFormat","makeFormatFunction","replaceLongDateFormatTokens","aliases","D","dates","weekday","E","isoweekdays","isoweekday","DDD","dayofyears","dayofyear","ms","Q","quarters","quarter","gg","weekyears","weekyear","GG","isoweekyears","isoweekyear","weeks","W","isoweeks","isoweek","years","normalizeUnits","normalizeObjectUnits","inputObject","normalizedInput","priorities","isoWeekday","dayOfYear","weekYear","isoWeekYear","isoWeek","regexes","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchWord","match1to2NoLeadingZero","match1to2HasZero","addRegexToken","strictRegex","isStrict","getParseRegexForToken","unescapeFormat","regexEscape","matched","p1","p2","p3","p4","absFloor","toInt","argumentForCoercion","coercedNumber","isFinite","addParseToken","tokenLen","addWeekParseToken","_w","addTimeToArrayFromToken","isLeapYear","YEAR","MONTH","DATE","HOUR","MINUTE","SECOND","MILLISECOND","WEEK","WEEKDAY","daysInYear","parseTwoDigitYear","getSetYear","makeGetSet","keepTime","set$1","getUTCMilliseconds","getMilliseconds","getUTCSeconds","getSeconds","getUTCMinutes","getMinutes","getUTCHours","getHours","getUTCDate","getUTCDay","getDay","getUTCMonth","getUTCFullYear","setUTCMilliseconds","setMilliseconds","setSeconds","setMinutes","setUTCDate","setUTCFullYear","setFullYear","daysInMonth","modMonth","mod","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","handleStrictParse","monthName","llc","_monthsParse","_longMonthsParse","_shortMonthsParse","setMonth","setUTCMonth","getSetMonth","computeMonthsParse","cmpLenRev","shortP","longP","shortPieces","longPieces","mixedPieces","_monthsRegex","_monthsShortRegex","_monthsStrictRegex","_monthsShortStrictRegex","createDate","createUTCDate","UTC","firstWeekOffset","fwd","dayOfYearFromWeeks","resYear","resDayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","shiftWeekdays","ws","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","computeWeekdaysParse","minp","shortp","longp","minPieces","_weekdaysRegex","_weekdaysShortRegex","_weekdaysMinRegex","_weekdaysStrictRegex","_weekdaysShortStrictRegex","_weekdaysMinStrictRegex","hFormat","lowercase","matchMeridiem","_meridiemParse","kFormat","kInput","_isPm","_meridiem","pos","pos1","pos2","getSetHour","globalLocale","baseConfig","locales","localeFamilies","commonPrefix","arr1","arr2","minl","normalizeLocale","loadLocale","oldLocale","isLocaleNameSane","_abbr","aliasedRequire","getSetGlobalLocale","getLocale","parentLocale","chooseLocale","names","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromISO","allowTime","timeFormat","tzFormat","isoDatesLen","isoTimesLen","configFromStringAndFormat","untruncateYear","yearStr","configFromRFC2822","parsedArray","preprocessRFC2822","extractFromRFC2822Strings","monthStr","dayStr","hourStr","minuteStr","secondStr","checkWeekday","weekdayStr","parsedInput","calculateOffset","obsOffset","militaryOffset","numOffset","configFromArray","expectedWeekday","yearToUse","currentDateArray","nowValue","_useUTC","dayOfYearFromWeekInfo","weekdayOverflow","curWeek","createLocal","_week","_dayOfYear","_nextDay","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","meridiemFixWrap","isPm","erasConvertYear","prepareConfig","configFromStringAndArray","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","configfLen","score","configFromInput","configFromString","createFromInputFallback","configFromObject","createFromConfig","prototypeMin","other","prototypeMax","pickBy","moments","ordering","isDurationValid","unitHasDecimal","orderLen","_milliseconds","_days","_months","_bubble","isDuration","absRound","utcOffset","sign","offsetFromString","chunkOffset","matcher","cloneWithOffset","clone","setTime","getDateOffset","getTimezoneOffset","isUtc","aspNetRegex","isoRegex","createDuration","ret","diffRes","parseIso","momentsDifference","positiveMomentsDifference","inp","createAdder","tmp","addSubtract","isAdding","createInvalid$1","isMomentInput","isNumberOrStringArray","arrayTest","dataTypeTest","isMomentInputObject","objectTest","propertyTest","propertyLen","monthDiff","wholeMonthDiff","newLocaleData","defaultFormat","defaultFormatUtc","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","matchEraAbbr","erasAbbrRegex","computeErasParse","erasName","erasAbbr","erasNarrow","abbrPieces","namePieces","narrowPieces","_erasRegex","_erasNameRegex","_erasAbbrRegex","_erasNarrowRegex","addWeekYearFormatToken","getter","getSetWeekYearHelper","weeksTarget","setWeekAll","dayOfYearData","matchEraName","erasNameRegex","matchEraNarrow","erasNarrowRegex","erasParse","matchEraYearOrdinal","_eraYearOrdinalRegex","_dayOfMonthOrdinalParse","_ordinalParse","_dayOfMonthOrdinalParseLenient","getSetDayOfMonth","getSetMinute","getSetMillisecond","getSetSecond","parseMs","proto","preParsePostFormat","calendar$1","formats","isCalendarSpec","sod","calendarFormat","asFloat","that","zoneDelta","startOfDate","inputString","humanize","fromNow","toNow","stringGet","invalidAt","localInput","isBetween","inclusivity","localFrom","localTo","inputMs","isSameOrAfter","isSameOrBefore","isValid$2","parsingFlags","stringSet","prioritized","getPrioritizedUnits","unitsObj","priority","prioritizedLen","toDate","keepOffset","inspect","prefix","isLocal","for","toJSON","unix","creationData","eraName","getEraName","eraNarrow","getEraNarrow","eraAbbr","getEraAbbr","eraYear","getEraYear","getIsLeapYear","getSetWeekYear","getSetISOWeekYear","getSetQuarter","getDaysInMonth","getSetWeek","isoWeeks","getSetISOWeek","getWeeksInYear","weekInfo","weeksInWeekYear","getWeeksInWeekYear","isoWeeksInYear","getISOWeeksInYear","isoWeeksInISOWeekYear","getISOWeeksInISOWeekYear","getSetDayOfWeek","parseWeekday","getSetLocaleDayOfWeek","getSetISODayOfWeek","parseIsoWeekday","getSetDayOfYear","getSetOffset","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","setOffsetToUTC","setOffsetToLocal","parseZone","setOffsetToParsedOffset","tZone","hasAlignedHourOffset","isDST","isDaylightSavingTime","isUtcOffset","zoneAbbr","getZoneAbbr","zoneName","getZoneName","getSetZone","isDSTShifted","isDaylightSavingTimeShifted","_isDSTShifted","compareArrays","array1","array2","dontConvert","lengthDiff","diffs","proto$1","get$1","field","setter","listMonthsImpl","out","listWeekdaysImpl","localeSorted","_calendar","_longDateFormat","formatUpper","tok","_invalidDate","_ordinal","_relativeTime","pastFuture","localeEras","_eras","localeErasParse","localeErasConvertYear","localeMonths","localeMonthsShort","_monthsShort","localeMonthsParse","_monthsParseExact","localeWeek","firstDayOfYear","localeFirstDayOfYear","firstDayOfWeek","localeFirstDayOfWeek","localeWeekdays","_weekdays","localeWeekdaysMin","_weekdaysMin","localeWeekdaysShort","_weekdaysShort","localeWeekdaysParse","_weekdaysParseExact","_fullWeekdaysParse","localeIsPM","localeMeridiem","langData","mathAbs","addSubtract$1","absCeil","daysToMonths","monthsToDays","makeAs","asMilliseconds","asSeconds","asWeeks","asMonths","asQuarters","asYears","valueOf$1","makeGetter","thresholds","substituteTimeAgo","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","proto$2","isValid$1","add$1","subtract$1","bubble","monthsFromDays","clone$1","get$2","argWithSuffix","argThresholds","withSuffix","th","relativeTime$1","posNegDuration","toIsoString","setHookCallback","createUnix","listMonths","listWeekdays","createInZone","listMonthsShort","listWeekdaysMin","updateLocale","tmpLocale","listLocales","listWeekdaysShort","relativeTimeRounding","getSetRelativeTimeRounding","roundingFunction","relativeTimeThreshold","getSetRelativeTimeThreshold","threshold","getCalendarFormat","myMoment","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","TIME_SECONDS","TIME_MS","canPromise","QRCode","CanvasRenderer","SvgRenderer","renderCanvas","renderFunc","argsNum","isLastArgCb","render","renderToDataURL","getSymbolSize","posCount","intervals","positions","getRowColCoords","posLength","Mode","ALPHA_NUM_CHARS","AlphanumericData","ALPHANUMERIC","getBitsLength","getLength","bitBuffer","put","BitBuffer","bufIndex","putBit","getLengthInBits","bit","BitMatrix","reservedBit","col","reserved","xor","isReserved","encodeUtf8","ByteData","BYTE","ECLevel","EC_BLOCKS_TABLE","EC_CODEWORDS_TABLE","H","level","Utils","G15_BCH","getBCHDigit","mask","EXP_TABLE","LOG_TABLE","KanjiData","KANJI","toSJIS","PATTERN000","PATTERN001","PATTERN010","PATTERN011","PATTERN100","PATTERN101","PATTERN110","PATTERN111","getMaskAt","maskPattern","Patterns","points","sameCountCol","sameCountRow","lastCol","lastRow","last","bitsCol","bitsRow","darkCount","modulesCount","setupFormatFunc","numPatterns","bestPattern","lowerPenalty","applyMask","penalty","getPenaltyN1","getPenaltyN2","getPenaltyN3","getPenaltyN4","VersionCheck","ccBits","dataStr","testNumeric","NUMERIC","testAlphanumeric","testKanji","NumericData","remainingNum","GF","coeff","mul","divident","degree","poly","AlignmentPattern","FinderPattern","MaskPattern","ECCode","ReedSolomonEncoder","Version","FormatInfo","Segments","setupFormatInfo","bits","getEncodedBits","createSymbol","segments","fromArray","estimatedVersion","rawSegments","rawSplit","getBestVersionForData","bestVersion","dataBits","createData","getCharCountIndicator","dataTotalCodewordsBits","getSymbolTotalCodewords","getTotalCodewordsCount","remainingByte","createCodewords","totalCodewords","dataTotalCodewords","ecTotalBlocks","getBlocksCount","blocksInGroup1","totalCodewordsInGroup1","dataCodewordsInGroup1","dataCodewordsInGroup2","ecCount","rs","dcData","ecData","maxDataSize","dataSize","encode","moduleCount","modules","setupFinderPattern","getPositions","setupTimingPattern","setupAlignmentPattern","setupVersionInfo","setupData","inc","bitIndex","byteIndex","getBestMask","toSJISFunc","setToSJISFunction","Polynomial","genPoly","generateECPolynomial","paddedData","remainder","buff","numeric","kanji","byte","TEST_KANJI","TEST_NUMERIC","TEST_ALPHANUMERIC","getStringByteLength","unescape","getSegments","getSegmentsFromString","numSegs","alphaNumSegs","byteSegs","kanjiSegs","isKanjiModeEnabled","BYTE_KANJI","s1","s2","getSegmentBitsLength","buildSingleSegment","modesHint","bestMode","getBestModeForData","seg","buildNodes","segs","buildGraph","table","prevNodeIds","nodeGroup","currentNodeIds","lastCount","prevNodeId","optimizedSegs","mergeSegments","curr","prevSeg","toSJISFunction","CODEWORDS_COUNT","digit","G18_BCH","getReservedBitsCount","getTotalBitsFromDataArray","totalBits","reservedBits","MIXED","usableBits","ecl","getBestVersionForMixedData","currentVersion","getCapacity","getBestVersionForDataLength","qrData","canvasEl","getCanvasElement","getOptions","getImageWidth","createImageData","qrToImageData","clearCanvas","putImageData","rendererOpts","quality","getColorAttrib","attrib","alpha","hex","svgCmd","cmd","qrcodesize","bg","qrToPath","moveBy","newRow","lineLength","svgTag","hex2rgba","hexCode","hexValue","qrSize","getScale","imgData","qr","symbolSize","scaledMargin","palette","posDst","pxColor","_subscribe","thrownError","_throwIfClosed","lift","operator","observerOrNext","isSubscriber","Subscriber","isObserver","isSubscription","SafeSubscriber","errorContext","_trySubscribe","sink","promiseCtor","getPromiseCtor","Symbol_observable","operations","pipeFromArray","_bufferSize","_windowTime","_timestampProvider","dateTimestampProvider","_buffer","_infiniteTimeWindow","_trimBuffer","_innerSubscribe","copy","_checkFinalizedStatuses","adjustedBufferSize","ObjectUnsubscribedError","createErrorClass","currentObservers","AnonymousSubject","observed","EMPTY_SUBSCRIPTION","arrRemove","destination","COMPLETE_NOTIFICATION","createNotification","kind","EMPTY_OBSERVER","handleStoppedNotification","nextNotification","_next","errorNotification","_error","_complete","_bind","ConsumerObserver","partialObserver","handleUnhandledError","useDeprecatedNextContext","useDeprecatedSynchronousErrorHandling","captureError","reportUnhandledError","onStoppedNotification","timeoutProvider","defaultErrorHandler","UnsubscriptionError","initialTeardown","_parentage","_finalizers","initialFinalizer","finalizer","execFinalizer","teardown","_hasParent","_addParent","_removeParent","onUnhandledError","hasConfig","EmptyError","ConnectableObservable","subjectFactory","_subject","_refCount","_connection","hasLift","getSubject","_teardown","refCount","higherOrderRefCount","popScheduler","popResultSelector","argsArgArrayOrObject","combineLatestInit","valueTransform","identity","maybeSchedule","remainingFirstValues","hasFirstValue","createObject","mapOneOrManyArgs","executeSchedule","concatAll","mergeAll","defer","observableFactory","forkJoin","sources","remainingCompletions","remainingEmissions","sourceIndex","observeOn","subscribeOn","schedule","scheduleAsyncIterable","asyncIterator","scheduled","isInteropObservable","scheduleObservable","isArrayLike","scheduleArray","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","isEventTarget","isNodeStyleEventEmitter","toCommonHandlerRegistry","isJQueryStyleEventEmitter","subTarget","iif","trueResult","falseResult","fromInteropObservable","obs","fromArrayLike","fromPromise","fromAsyncIterable","fromIterable","iterable","fromReadableStreamLike","readableStream","asyncIterable","asyncIterable_1","asyncIterable_1_1","__asyncValues","e_1_1","concurrent","popNumber","NEVER","errorOrErrorFactory","errorFactory","dueTime","intervalOrScheduler","intervalDuration","isScheduler","due","isValidDate","argsOrArgArray","buffers","onNext","onComplete","onFinalize","OperatorSubscriber","shouldUnsubscribe","handledResult","activeTask","lastTime","emitWhenIdle","targetTime","defaultIfEmpty","delayWhen","delayDurationSelector","subscriptionDelay","ignoreElements","mapTo","comparator","keySelector","defaultCompare","previousKey","currentKey","hasDefaultValue","throwIfEmpty","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","checkComplete","outerNext","doInnerSub","innerComplete","bufferedValue","refCounter","sharedConnection","conn","hasSeed","emitOnNext","emitBeforeComplete","hasState","connector","resetOnError","resetOnComplete","resetOnRefCountZero","wrapperSource","resetConnection","hasCompleted","hasErrored","cancelReset","resetAndUnsubscribe","dest","handleReset","onSubscriber","configOrBufferSize","windowTime","bufferSize","innerSubscriber","innerIndex","outerIndex","switchMapTo","innerObservable","seen","tapObserver","isUnsub","defaultErrorFactory","Action","work","intervalProvider","handle","Scheduler","schedulerActionCtor","AsyncScheduler","SchedulerAction","_active","AsyncAction","recycleAsyncId","requestAsyncId","_id","_scheduler","_execute","errorValue","errored","getSymbolIterator","getPrototypeOf","objectProto","getKeys","isPOJO","createImpl","ctorFunc","isRoot","errorThrown","parentSubscription","scheduleSubscription","__asyncGenerator","getReader","__await","read","releaseLock","liftedSource","callOrApply","fns","webpackContext","webpackContextResolve","decorators","desc","getOwnPropertyDescriptor","Reflect","metadataKey","metadataValue","adopt","q","resume","fulfill","settle","__values","_DOM","getDOM","setRootDomAdapter","DomAdapter","PlatformLocation","historyGo","relativePosition","BrowserPlatformLocation","LOCATION_INITIALIZED","_doc","_history","getBaseHref","onPopState","getGlobalEventTarget","onHashChange","hostname","port","pathname","hash","newPath","pushState","replaceState","forward","go","getState","joinWithSlash","slashes","endsWith","stripTrailingSlash","pathEndIdx","normalizeQueryParams","LocationStrategy","PathLocationStrategy","_platformLocation","_removeListenerFns","_baseHref","internal","includeHash","externalUrl","HashLocationStrategy","_urlChangeListeners","_urlChangeSubscription","_locationStrategy","baseHref","_basePath","_stripOrigin","_stripIndexHtml","isCurrentPathEqualTo","_stripBasePath","basePath","strippedUrl","_notifyUrlChangeListeners","onUrlChange","fnIndex","onThrow","onReturn","createLocation","ɵɵinject","CURRENCIES_EN","ADP","AFN","AMD","AOA","ARS","AUD","AZN","BAM","BBD","BDT","BHD","BIF","BMD","BND","BOB","BRL","BSD","BWP","BYN","BYR","BZD","CAD","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CZK","DJF","DKK","DOP","EGP","ESP","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GNF","GTQ","GYD","HKD","HNL","HRK","HUF","IDR","ILS","INR","IQD","IRR","ISK","ITL","JMD","JOD","JPY","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LTL","LUF","LVL","LYD","MGA","MGF","MMK","MNT","MRO","MUR","MXN","MYR","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PHP","PKR","PLN","PYG","RON","RSD","RUB","RWF","SBD","SEK","SGD","SHP","SLE","SLL","SOS","SRD","SSP","STD","STN","SYP","THB","TMM","TND","TOP","TRL","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYI","UYU","UYW","UZS","VEF","VND","VUV","XAF","XCD","XOF","XPF","XXX","YER","ZAR","ZMK","ZMW","ZWD","NumberFormatStyle","Decimal","Percent","Currency","Scientific","FormStyle","Format","Standalone","TranslationWidth","Narrow","Abbreviated","Wide","Short","FormatWidth","Medium","Long","Full","NumberSymbol","List","PercentSign","PlusSign","MinusSign","Exponential","SuperscriptingExponent","PerMille","TimeSeparator","CurrencyDecimal","CurrencyGroup","getLocaleDayNames","formStyle","ɵfindLocaleData","getLastDefinedValue","ɵLocaleDataIndex","DaysFormat","DaysStandalone","getLocaleMonthNames","MonthsFormat","MonthsStandalone","getLocaleDateFormat","DateFormat","getLocaleTimeFormat","TimeFormat","getLocaleDateTimeFormat","dateTimeFormatData","DateTimeFormat","getLocaleNumberSymbol","NumberSymbols","getLocaleNumberFormat","NumberFormats","checkFullData","ExtraData","LocaleId","extractTime","ISO8601_DATE_REGEX","NAMED_FORMATS","DATE_FORMATS_SPLIT","ZoneWidth","ShortGMT","Extended","DateType","FullYear","Month","Hours","Minutes","Seconds","FractionalSeconds","Day","TranslationType","DayPeriods","Days","Months","Eras","formatDate","timezone","parsedNb","isoStringToDate","tzHour","tzMin","dateSetter","timeSetter","getNamedFormat","dateTimezoneOffset","timezoneToOffset","convertTimezoneToLocal","reverseValue","addDateMinutes","dateFormatter","getDateFormatter","DATE_FORMATS","formatter","dateStrGetter","dateGetter","weekNumberingYearGetter","weekGetter","timeZoneGetter","newDate","localeId","getLocaleId","formatValue","shortTime","shortDate","formatDateTime","mediumTime","mediumDate","longTime","longDate","fullTime","fullDate","opt_values","padNumber","digits","minusSign","negWrap","neg","strNum","getDatePart","formatFractionalSeconds","localeMinus","form","extended","getDateTranslation","currentHours","currentMinutes","rules","getLocaleExtraDayPeriodRules","rule","dayPeriods","getLocaleExtraDayPeriods","afterFrom","beforeTo","getLocaleDayPeriods","amPm","DayPeriodsFormat","DayPeriodsStandalone","getLocaleEraNames","erasData","JANUARY","THURSDAY","getThursdayThisIsoWeek","datetime","currentDay","deltaToThursday","monthBased","nbDaysBefore1stDayOfMonth","thisThurs","firstThurs","getFirstThursdayOfYear","fallback","requestedTimezoneOffset","NUMBER_FORMAT_REGEXP","MAX_DIGITS","DECIMAL_SEP","ZERO_CHAR","PATTERN_SEP","GROUP_SEP","DIGIT_CHAR","formatNumberToLocaleString","groupSymbol","decimalSymbol","digitsInfo","isPercent","formattedText","isZero","parsedNumber","parseNumber","integerLen","zeros","numStr","exponent","toPercent","fractionLen","minInt","minFraction","minFrac","maxFraction","maxFrac","minIntPart","minFractionPart","maxFractionPart","parseIntAutoRadix","roundNumber","fractionSize","roundAt","dropTrailingZeros","minLen","carry","reduceRight","decimals","groups","lgSize","gSize","negPre","negSuf","posPre","posSuf","formatNumber","parseNumberFormat","patternParts","positive","negative","positiveParts","integer","fraction","ch","trunkLen","parseCookieValue","cookieStr","cookie","eqIndex","cookieValue","decodeURIComponent","WS_REGEXP","EMPTY_ARRAY","NgClass","_ngEl","initialClasses","klass","ngClass","rawClass","ngDoCheck","_updateState","_applyStateDiff","nextEnabled","enabled","stateEntry","_toggleClass","NgForOfContext","ngForOf","NgForOf","_ngForOf","_ngForOfDirty","ngForTrackBy","_trackByFn","_viewContainer","_template","_differs","_differ","ngForTemplate","_applyChanges","forEachOperation","adjustedPreviousIndex","currentIndex","previousIndex","applyViewChange","ilen","forEachIdentityChange","record","ngTemplateContextGuard","NgIf","_context","NgIfContext","_thenTemplateRef","_elseTemplateRef","_thenViewRef","_elseViewRef","_updateView","ngIfThen","assertTemplate","ngIfElse","ɵstringify","SwitchView","_templateRef","_created","enforceState","created","NgSwitch","_defaultViews","_defaultUsed","_caseCount","_lastCaseCheckIndex","_lastCasesMatched","ngSwitch","newValue","_ngSwitch","_updateDefaultCases","_addCase","_addDefault","_matchCase","NgSwitchCase","_view","ngSwitchCase","NgSwitchDefault","NgStyle","_ngStyle","ngStyle","_setStyle","nameAndUnit","RendererStyleFlags2","DashCase","forEachRemovedItem","forEachAddedItem","forEachChangedItem","NgTemplateOutlet","_viewRef","ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector","_shouldRecreateView","viewContainerRef","viewContext","_createContextForwardProxy","Proxy","_target","receiver","invalidPipeArgumentError","SubscribableStrategy","createSubscription","updateLatestValue","untracked","PromiseStrategy","_promiseStrategy","_subscribableStrategy","AsyncPipe","ref","_latestValue","markForCheckOnValueUpdate","_obj","_strategy","_ref","_dispose","_selectStrategy","_updateLatestValue","ɵisPromise","ɵisSubscribable","LowerCasePipe","UpperCasePipe","DATE_PIPE_DEFAULT_TIMEZONE","DATE_PIPE_DEFAULT_OPTIONS","defaultTimezone","defaultOptions","LOCALE_ID","KeyValuePipe","differs","keyValues","compareFn","defaultComparator","differ","differChanges","compareFnChanged","forEachItem","makeKeyValuePair","keyValueA","keyValueB","aString","bString","isValue","strToNumber","PercentPipe","formatPercent","_defaultCurrencyCode","currencyCode","getCurrencySymbol","getLocaleCurrencies","Currencies","symbolNarrow","formatCurrency","getNumberOfCurrencyDigits","DEFAULT_CURRENCY_CODE","SlicePipe","supports","PLATFORM_BROWSER_ID","PLATFORM_SERVER_ID","ViewportScroller","ɵɵdefineInjectable","BrowserViewportScroller","NullViewportScroller","setOffset","getScrollPosition","scrollX","scrollY","scrollToPosition","elSelected","findAnchorFromDocument","documentResult","getElementById","getElementsByName","createTreeWalker","attachShadow","treeWalker","NodeFilter","SHOW_ELEMENT","currentNode","shadowRoot","nextNode","scrollToElement","focus","setHistoryScrollRestoration","scrollRestoration","pageXOffset","pageYOffset","XhrFactory","HttpHandler","HttpBackend","normalizedNames","lazyUpdate","lazyInit","line","maybeSetNormalizedName","Headers","setHeaderEntries","lcName","copyFrom","applyUpdate","toDelete","existing","headerValues","HttpUrlEncodingCodec","encodeKey","standardEncoding","encodeValue","decodeKey","decodeValue","STANDARD_ENCODING_REGEX","STANDARD_ENCODING_REPLACEMENTS","valueToString","updates","cloneFrom","encoder","paramParser","rawParams","codec","eqIdx","list","appendAll","eKey","idx","HttpContext","isBlob","isFormData","FormData","HttpRequest","third","fourth","reportProgress","mightHaveBody","transferCache","urlWithParams","qIdx","serializeBody","isUrlSearchParams","URLSearchParams","detectContentTypeHeader","setHeaders","setParams","HttpEventType","Sent","UploadProgress","ResponseHeader","DownloadProgress","Response","User","HttpResponseBase","defaultStatus","HttpStatusCode","Ok","defaultStatusText","HttpHeaderResponse","HttpErrorResponse","Continue","SwitchingProtocols","Processing","EarlyHints","Created","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","Unused","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","ImATeapot","MisdirectedRequest","UnprocessableEntity","FailedDependency","TooEarly","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","addBody","res$","jsonp","callbackParam","patch","interceptorChainEndFn","finalHandlerFn","adaptLegacyInterceptorToChain","chainTailFn","interceptor","initialRequest","intercept","downstreamRequest","HTTP_INTERCEPTOR_FNS","HTTP_ROOT_INTERCEPTOR_FNS","PRIMARY_HTTP_BACKEND","legacyInterceptorFnFactory","chain","pendingTasks","ɵPendingTasks","taskId","HttpInterceptorHandler","backend","primaryHttpBackend","dedupedInterceptorFns","nextSequencedFn","interceptorFn","chainedInterceptorFn","XSSI_PREFIX","HttpXhrBackend","xhrFactory","ɵloadImpl","detectedType","reqBody","headerResponse","partialFromXhr","getAllResponseHeaders","getResponseUrl","responseURL","getResponseHeader","onLoad","originalBody","sentHeaders","onDownProgress","progressEvent","lengthComputable","partialText","onUpProgress","upload","DONE","XSRF_ENABLED","XSRF_COOKIE_NAME","XSRF_HEADER_NAME","HttpXsrfTokenExtractor","HttpXsrfCookieExtractor","lastCookieString","lastToken","parseCount","getToken","cookieString","ɵparseCookieValue","xsrfInterceptorFn","lcUrl","headerName","HttpFeatureKind","Interceptors","LegacyInterceptors","CustomXsrfConfiguration","NoXsrfProtection","JsonpSupport","RequestsMadeViaParent","Fetch","provideHttpClient","useExisting","feature","ɵproviders","LEGACY_INTERCEPTOR_FN","withInterceptorsFromDi","makeHttpFeature","ɵkind","defaultEquals","activeConsumer","inNotificationPhase","epoch","SIGNAL","setActiveConsumer","consumer","REACTIVE_NODE","lastCleanEpoch","producerNode","producerLastReadVersion","producerIndexOfThis","nextProducerIndex","liveConsumerNode","liveConsumerIndexOfThis","consumerAllowSignalWrites","consumerIsAlwaysLive","producerMustRecompute","producerRecomputeValue","consumerMarkedDirty","consumerOnSignalRead","producerAccessed","assertConsumerNode","consumerIsLive","producerRemoveLiveConsumerAtIndex","producerAddLiveConsumer","producerUpdateValueVersion","consumerPollProducersForChange","producerNotifyConsumers","consumerMarkDirty","producerUpdatesAllowed","consumerBeforeComputation","consumerAfterComputation","prevConsumer","producer","seenVersion","indexOfThis","assertProducerNode","lastIdx","idxProducer","UNSET","COMPUTING","ERRORED","COMPUTED_NODE","equal","computation","throwInvalidWriteToSignalErrorFn","defaultThrowError","throwInvalidWriteToSignalError","postSignalSetFn","signalSetFn","signalValueChanged","producerIncrementEpoch","SIGNAL_NODE","XSS_SECURITY_URL","RuntimeError","formatRuntimeError","REQUIRED_UNSET_VALUE","INPUT_SIGNAL_NODE","SIGNAL_NODE$1","transformFn","applyValueToInputSignal","signalSetFn$1","createInputSignal","initialValue","inputValueFn","producerAccessed$1","SIGNAL$1","noSideEffects","ANNOTATIONS","PARAMETERS","PROP_METADATA","makeDecorator","parentClass","additionalProcessing","typeFn","metaCtor","makeMetadataCtor","DecoratorFactory","annotationInstance","cls","ngMetadataName","annotationCls","propName","makeParamDecorator","ParamDecoratorFactory","ParamDecorator","annotation","unusedKey","_global","globalThis","getClosureSafeProperty","objWithPropertyToExtract","fillProperties","overriddenName","newLineIndex","concatStringsWithSpace","before","after","__forward_ref__","forwardRef","forwardRefFn","resolveForwardRef","isForwardRef","assertEqual","actual","expected","ɵɵdefineInjector","getInjectableDef","getOwnDefinition","NG_PROV_DEF","NG_INJECTABLE_DEF","isInjectable","getInjectorDef","NG_INJ_DEF","NG_INJECTOR_DEF","ngInjectableDef","ngInjectorDef","_desc","__NG_ELEMENT_ID__","isEnvironmentProviders","NG_COMP_DEF","NG_DIR_DEF","NG_PIPE_DEF","NG_MOD_DEF","NG_FACTORY_DEF","NG_ELEMENT_ID","NG_ENV_ID","__NG_ENV_ID__","renderStringify","stringifyForError","throwProviderNotFoundError","injectorName","InjectFlags","Host","Self","SkipSelf","Optional","_injectImplementation","getInjectImplementation","setInjectImplementation","impl","injectRootLimpMode","notFoundValue","injectableDef","THROW_IF_NOT_FOUND","DI_DECORATOR_FLAG","NG_TEMP_TOKEN_PATH","NEW_LINE","SOURCE","_currentInjector","setCurrentInjector","former","injectInjectorOnly","convertToBitFlags","skipSelf","injectArgs","types","meta","getInjectFlag","attachInjectFlag","decorator","Inject","getFactoryDef","throwNotFound","flatten","POSITIVE_INFINITY","deepForEach","addToArray","removeFromArray","keyValueArraySet","keyValueArray","keyValueArrayIndexOf","arrayInsert2","value1","value2","keyValueArrayGet","_arrayIndexOfSorted","middle","EMPTY_OBJ","ENVIRONMENT_INITIALIZER","INJECTOR$1","INJECTOR_DEF_TYPES","NullInjector","ChangeDetectionStrategy","OnPush","ViewEncapsulation$1","ViewEncapsulation","Emulated","ShadowDom","InputFlags","HasDecoratorInputTransform","classIndexOf","classToSearch","startingIndex","foundIndex","setUpAttributes","native","namespaceURI","attrName","attrVal","isAnimationProp","isNameOnlyAttributeMarker","mergeHostAttrs","dst","srcMarker","mergeHostAttribute","markerInsertPosition","dstValue","NG_TEMPLATE_SELECTOR","isCssClassMatching","tNode","cssClassToMatch","isProjectionMode","isInlineTemplate","hasTagAndTypeMatch","currentSelector","isNodeMatchingSelector","nodeAttrs","nameOnlyMarkerIdx","getNameOnlyMarkerIndex","skipToNextSelector","isPositive","selectorAttrValue","attrIndexInNode","findAttrIndexInNode","nodeAttrValue","bindingsMode","maybeAttrName","matchTemplateAttribute","isNodeMatchingSelectorList","isSelectorInSelectorList","selectorListLoop","currentSelectorInList","maybeWrapInNotSelector","isNegativeMode","chunk","stringifyCSSSelector","currentChunk","valueOrMarker","attrValue","ɵɵdefineComponent","componentDefinition","baseDef","getNgDirectiveDef","onPush","directiveDefs","pipeDefs","getStandaloneInjector","signals","schemas","tView","initFeatures","extractDefListOrFactory","getComponentId","componentDef","hashSelectors","char","imul","extractDirectiveDef","getComponentDef","getDirectiveDef","nonNull","ɵɵdefineNgModule","declarations","transitiveCompileScopes","parseAndConvertBindingsForDefinition","declaredInputs","newLookup","minifiedKey","publicName","declaredName","inputFlags","ɵɵdefineDirective","directiveDefinition","ɵɵdefinePipe","pipeDef","getPipeDef$1","isStandalone","getNgModuleDef","ngModuleDef","providersResolver","inputTransforms","inputConfig","setInput","findHostDirectiveDefs","hostDirectives","debugInfo","definition","defExtractor","dep","importProvidersFrom","internalImportProvidersFrom","ɵfromNgModule","checkForStandaloneCmp","providersOut","dedup","injectorTypesWithProviders","collectProviders","internalSource","walkProviderTree","processInjectorTypesWithProviders","typesWithProviders","deepForEachProvider","parents","defType","injDef","cmpDef","isDuplicate","importTypesWithProviders","imported","defProviders","injectorType","USE_VALUE$1","isValueProvider","isTypeProvider","INJECTOR_SCOPE","NOT_YET","CIRCULAR","NULL_INJECTOR","getNullInjector","EnvironmentInjector","R3Injector","scopes","records","_ngOnDestroyHooks","_onDestroyHooks","forEachSingleProvider","processProvider","makeRecord","injectorDefTypes","assertNotDestroyed","setActiveConsumer$1","service","onDestroyHooks","hook","removeOnDestroy","runInContext","previousInjector","previousInjectImplementation","couldBeInjectableType","injectableDefInScope","injectableDefOrInjectorDefFactory","hydrate","catchInjectorError","injectorErrorName","tokenPath","formatError","resolveInjectorInitializers","initializers","initializer","providerToRecord","providerToFactory","multiRecord","hasOnDestroy","destroyCBIdx","getUndecoratedInjectableFactory","inheritedInjectableDef","getInheritedInjectableDef","ngModuleType","unwrappedProvider","isFactoryProvider","isExistingProvider","classRef","hasDeps","prevInjector","isInInjectionContext","getCurrentInjector","assertInInjectionContext","debugFn","getCompilerFacade","globalNg","ng","ɵcompilerFacade","angularCoreDiEnv","ɵɵinvalidFactoryDep","isType","ES5_DELEGATE_CTOR","ES2015_INHERITED_CLASS","ES2015_INHERITED_CLASS_WITH_CTOR","ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR","ReflectionCapabilities","reflect","_reflect","_zipTypesAndAnnotations","paramTypes","paramAnnotations","_ownParameters","parentCtor","isDelegateCtor","typeStr","tsickleCtorParams","ctorParameters","ctorParam","convertTsickleDecoratorIntoMetadata","getOwnMetadata","getParentCtor","_ownAnnotations","typeOrFunc","annotations","ownAnnotations","_ownPropMetadata","propMetadata","propDecorators","parentPropMetadata","ownPropMetadata","hasLifecycleHook","lcProperty","decoratorInvocations","decoratorInvocation","ctor","parentProto","HOST","TVIEW","FLAGS","PARENT","NEXT","T_HOST","HYDRATION","CLEANUP","CONTEXT","INJECTOR","ENVIRONMENT","RENDERER","CHILD_HEAD","CHILD_TAIL","DECLARATION_VIEW","DECLARATION_COMPONENT_VIEW","DECLARATION_LCONTAINER","PREORDER_HOOK_FLAGS","QUERIES","EMBEDDED_VIEW_INJECTOR","ON_DESTROY_HOOKS","EFFECTS_TO_SCHEDULE","REACTIVE_TEMPLATE_CONSUMER","HEADER_OFFSET","TYPE","NATIVE","MOVED_VIEWS","CONTAINER_HEADER_OFFSET","LContainerFlags","HasTransplantedViews","isLView","isLContainer","isContentQueryHost","isComponentHost","componentOffset","isDirectiveHost","isComponentDef","isRootView","SimpleChange","isFirstChange","applyValueToInputField","inputSignalNode","privateName","ɵɵNgOnChangesFeature","NgOnChangesFeatureImpl","ngOnChangesSetInput","rememberChangeHistoryAndInvokeOnChangesHook","simpleChangesStore","getSimpleChangesStore","setSimpleChangesStore","SIMPLE_CHANGES_STORE","previousChange","ngInherit","profiler","hookOrListener","SVG_NAMESPACE","_ensureDirtyViewsAreAlwaysReachable","unwrapRNode","getNativeByIndex","lView","getNativeByTNode","getTNode","getComponentLViewByIndex","nodeIndex","slotValue","viewAttachedToChangeDetector","getConstant","resetPreOrderHookFlags","markViewForRefresh","markAncestorsForTraversal","requiresRefreshOrTraversal","updateAncestorTraversalFlagsOnAttach","changeDetectionScheduler","getEnsureDirtyViewsAreAlwaysReachable","getLViewParent","storeLViewOnDestroy","onDestroyCallback","instructionState","lFrame","createLFrame","bindingsEnabled","skipHydrationRootTNode","getBindingsEnabled","isInSkipHydrationBlock$1","getLView","getTView","ɵɵrestoreView","viewToRestore","contextLView","ɵɵresetView","getCurrentTNode","currentTNode","getCurrentTNodePlaceholderOk","getCurrentParentTNode","isParent","setCurrentTNode","isCurrentTNodeParent","setCurrentTNodeAsNotParent","getBindingRoot","bindingRootIndex","bindingStartIndex","getBindingIndex","bindingIndex","nextBindingIndex","incrementBindingIndex","setInI18nBlock","isInI18nBlock","inI18n","setBindingRootForHostBindings","currentDirectiveIndex","setCurrentDirectiveIndex","getCurrentDirectiveDef","tData","getCurrentQueryIndex","setCurrentQueryIndex","getDeclarationTNode","declTNode","enterDI","parentTNode","parentLView","allocLFrame","enterView","newView","newLFrame","currentLFrame","childLFrame","selectedIndex","elementDepthCount","currentNamespace","leaveViewLight","oldLFrame","leaveDI","leaveView","getSelectedIndex","setSelectedIndex","getSelectedTNode","ɵɵnamespaceSVG","_wasLastNodeCreated","wasLastNodeCreated","lastNodeWasCreated","registerPostOrderHooks","directiveStart","directiveEnd","lifecycleHooks","ngAfterContentChecked","ngAfterViewChecked","contentHooks","contentCheckHooks","viewHooks","viewCheckHooks","destroyHooks","executeCheckHooks","callHooks","executeInitAndCheckHooks","initPhase","incrementInitPhaseFlags","currentView","currentNodeIndex","nodeIndexLimit","lastNodeIndexFound","callHook","callHookInternal","directive","isInitHook","NO_PARENT_INJECTOR","NodeInjectorFactory","isViewProvider","injectImplementation","resolving","canSeeViewProviders","injectImpl","hasParentInjector","parentLocation","getParentInjectorIndex","getParentInjectorView","startView","viewOffset","getParentInjectorViewOffset","parentView","includeViewProviders","setIncludeViewProviders","BLOOM_MASK","BLOOM_BUCKET_BITS","nextNgElementId","NOT_FOUND","getOrCreateNodeInjectorForNode","existingInjectorIndex","getInjectorIndex","firstCreatePass","injectorIndex","insertBloom","blueprint","parentLoc","getParentInjectorLocation","parentIndex","parentData","footer","declarationViewOffset","lViewCursor","getTNodeFromLView","diPublicInInjector","bloomAdd","bloomHash","notFoundValueOrThrow","lookupTokenUsingModuleInjector","moduleInjector","getOrCreateInjectable","embeddedInjectorValue","lookupTokenUsingEmbeddedInjector","currentLView","nodeInjectorValue","lookupTokenUsingNodeInjector","embeddedViewInjector","embeddedViewInjectorValue","bloomHashBitOrFactory","tokenId","createNodeInjector","previousTView","hostTElementNode","shouldSearchParent","bloomHasToken","searchTokensOnInjector","currentTView","injectableIdx","locateDirectiveOrProvider","getNodeInjectable","canAccessViewProviders","isHostSpecialCase","nodeProviderIndexes","providerIndexes","tInjectables","injectablesStart","directivesStart","cptViewProvidersCount","endIndex","providerTokenOrDef","dirDef","isFactory","throwCyclicDependencyError","previousIncludeViewProviders","registerPreOrderHooks","directiveIndex","directiveDef","wrappedOnChanges","preOrderHooks","preOrderCheckHooks","injectorView","isFirstHostTNode","NodeInjector","_tNode","_lView","ɵɵgetInheritedFactory","ownConstructor","ownFactory","getFactoryOf","objectPrototype","tViewType","ɵɵinjectAttribute","attrNameToInject","injectAttributeImpl","attrsLength","Attribute","attributeName","reflectDependencies","convertDependencies","getReflect","reflectDependency","attribute","USE_VALUE","isUseClassProvider","isUseFactoryProvider","Injectable","compileInjectable","ngFactoryDef","getInjectableMetadata","srcMeta","compilerMeta","typeArgumentCount","isUseValueProvider","isUseExistingProvider","compiler","compileFactory","FactoryTarget","createInjector","additionalProviders","createInjectorWithoutInjectorInstances","NULL","getOriginalError","_console","originalError","_findOriginalError","INTERNAL_APPLICATION_ERROR_HANDLER","injectDestroyRef","NodeInjectorDestroyRef","removeLViewOnDestroy","inputFunction","inputRequiredFunction","injectElementRef","createElementRef","unwrapElementRef","_wrapInTimeout","EventEmitter_","isAsync","__isAsync","nextFn","errorFn","completeFn","symbolIterator","_results","QueryList","_changes","_emitDistinctChangesOnly","_onDirty","_changesDetected","resultsTree","identityAccessor","newResultFlat","arrayEquals","valueA","valueB","notifyOnChanges","onDirty","setDirty","hasInSkipHydrationBlockFlag","TRACKED_LVIEWS","uniqueIdCounter","MONKEY_PATCH_KEY_NAME","attachPatchData","registerLView","getFirstLContainer","getNearestLContainer","getNextLContainer","viewOrContainer","setDocument","getDocument","APP_ID","DEFAULT_APP_ID","PLATFORM_INITIALIZER","_retrieveHydrationInfoImpl","retrieveHydrationInfo","rNode","PRESERVE_HOST_CONTENT","policy$1","policy","getPolicy$1","trustedTypes","createPolicy","createHTML","createScript","createScriptURL","trustedHTMLFromString","html","getPolicy","trustedHTMLFromStringBypass","trustedScriptURLFromStringBypass","SafeValueImpl","changingThisBreaksApplicationSecurity","SafeHtmlImpl","getTypeName","SafeStyleImpl","SafeScriptImpl","SafeUrlImpl","SafeResourceUrlImpl","unwrapSafeValue","allowSanitizationBypassAndThrow","actualType","getSanitizationBypassType","bypassSanitizationTrustHtml","trustedHtml","bypassSanitizationTrustStyle","trustedStyle","bypassSanitizationTrustScript","trustedScript","bypassSanitizationTrustUrl","trustedUrl","bypassSanitizationTrustResourceUrl","trustedResourceUrl","getInertBodyHelper","defaultDoc","inertDocumentHelper","InertDocumentHelper","isDOMParserAvailable","DOMParser","parseFromString","DOMParserHelper","getInertBodyElement","inertDocument","implementation","createHTMLDocument","templateEl","SAFE_URL_PATTERN","_sanitizeUrl","tagSet","sets","VOID_ELEMENTS","OPTIONAL_END_TAG_BLOCK_ELEMENTS","OPTIONAL_END_TAG_INLINE_ELEMENTS","VALID_ELEMENTS","URI_ATTRS","VALID_ATTRS","SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS","SanitizingHtmlSerializer","sanitizedSomething","buf","sanitizeChildren","traverseContent","parentNodes","Node","ELEMENT_NODE","startElement","TEXT_NODE","chars","nodeValue","getFirstChild","endElement","getNextSibling","getNodeName","elAttrs","elAttr","encodeEntities","previousSibling","clobberedElementError","isClobberedElement","childNode","compareDocumentPosition","DOCUMENT_POSITION_CONTAINED_BY","SURROGATE_PAIR_REGEXP","NON_ALPHANUMERIC_REGEXP","inertBodyHelper","_sanitizeHtml","unsafeHtmlInput","inertBodyElement","unsafeHtml","mXSSAttempts","parsedHtml","getTemplateContent","isTemplateElement","NONE","STYLE","SCRIPT","RESOURCE_URL","ɵɵsanitizeHtml","getSanitizer","ɵɵsanitizeUrl","unsafeUrl","ɵɵsanitizeResourceUrl","unsafeResourceUrl","ɵɵtrustConstantResourceUrl","trustedScriptURLFromString","ɵɵsanitizeUrlOrResourceUrl","getUrlSanitizer","COMMENT_DISALLOWED","COMMENT_DELIMITER","COMMENT_DELIMITER_ESCAPED","ɵɵresolveWindow","ownerDocument","ɵɵresolveDocument","maybeUnwrapFn","Important","_icuContainerIterate","icuContainerIterate","tIcuContainerNode","applyToElementOrContainer","lNodeToHandle","beforeNode","lContainer","isComponent","nativeAppendChild","nativeInsertBefore","nativeRemoveNode","applyContainer","parentRElement","applyView","createTextNode","updateTextNode","createCommentNode","escapeCommentText","createElementNode","detachViewFromDOM","detachMovedView","declarationContainer","movedViews","declarationViewIndex","removeIndex","indexInContainer","viewToDetach","declarationLContainer","removedLView","removeViewFromDOM","lQueries","destroyLView","destroyViewTree","rootView","lViewOrLContainer","cleanUpView","firstView","consumerDestroy","consumerDestroy$1","executeOnDestroys","toCall","callContext","processCleanups","tCleanup","cleanup","lCleanup","targetIdx","destroyHooksFn","unregisterLView","getParentRElement","getClosestRElement","nativeAppendOrInsertBefore","nativeParentNode","getInsertInFrontOfRNode","_getInsertInFrontOfRNodeWithI18n","getInsertInFrontOfRNodeWithNoI18n","_processI18nInsertBefore","setI18nHandling","getInsertInFrontOfRNodeWithI18n","processI18nInsertBefore","childRNode","childTNode","parentRNode","anchorNode","getFirstNativeNode","tNodeType","getBeforeNodeForView","elIcuContainerChild","rNodeOrLContainer","projectionNodes","getProjectionNodes","projection","viewIndexInContainer","nextViewIndex","firstTNodeOfView","nativeParent","nativeRemoveChild","applyNodes","isProjection","rawSlotValue","nextRNode","applyProjectionRecursive","projectionNext","tProjectionNode","componentLView","nodeToProjectOrRNodes","nodeToProject","projectedComponentLView","writeDirectClass","setupStaticAttributes","mergedAttrs","writeDirectStyle","NO_CHANGE","ɵɵadvance","selectIndexInternal","checkNoChangesMode","ɵɵdirectiveInject","ɵɵinvalidFactory","writeToDirectiveInput","createLView","tHostNode","environment","hydrationInfo","getUniqueLViewId","getOrCreateTNode","createTNodeAtIndex","createTNode","tParent","insertBeforeIndex","directiveStylingLast","propertyBindings","localNames","initialInputs","stylesWithoutHost","residualStyles","classesWithoutHost","residualClasses","classBindings","styleBindings","allocExpando","numSlotsToAlloc","allocIdx","executeTemplate","templateFn","prevSelectedIndex","isUpdatePhase","executeContentQueries","createDirectivesInstances","instantiateAllDirectives","addComponentLogic","hostTNode","getOrCreateComponentTView","lViewFlags","componentView","addToViewTree","setInputsFromAttrs","invokeDirectivesHostBindings","saveResolvedLocalsInData","viewData","localRefExtractor","localIndex","incompleteFirstPass","createTView","directives","pipes","constsOrFactory","ssrId","initialViewLength","createViewBlueprint","expandoStartIndex","hostBindingOpCodes","firstUpdatePass","staticViewQueries","staticContentQueries","components","directiveRegistry","pipeRegistry","_applyRootElementTransformImpl","captureNodeBindings","aliasMap","bindingsResult","hostDirectiveAliasMap","internalName","finalPublicName","addPropertyBinding","bindings","elementPropertyInternal","nativeOnly","dataValue","inputData","setInputsForProperty","markDirtyIfOnPush","viewIndex","childComponentLView","mapPropName","resolveDirectives","localRefs","exportsMap","matchResult","findDirectiveDefMatches","registry","hostDirectiveDefs","hostDirectiveMatches","markAsComponentHost","initializeDirectives","cacheMatchingLocalNames","initTNodeFlags","numberOfDirectives","preOrderHooksFound","preOrderCheckHooksFound","directiveIdx","configureViewWithDirective","saveNameToExportMap","lifeCycleHooks","initializeInputAndOutputAliases","hostDirectiveDefinitionMap","tViewData","tNodeAttrs","inputsFromAttrs","inputsStore","outputsStore","aliasData","aliasedOutputs","generateInitialInputs","elementIndex","getCurrentDirectiveIndex","invokeHostBindingsInCreationMode","directiveFactory","nodeInjectorFactory","registerHostBindingOpCodes","directiveVarsIdx","elementIndx","lastSelectedElementIdx","setElementAttribute","initialInputData","inputsToStore","createLContainer","hostNative","refreshContentQueries","directiveDefIdx","executeViewQueryFn","viewQueryFn","getOrCreateLViewCleanup","getOrCreateTViewCleanup","loadComponentRenderer","currentDef","unwrapLView","textBindingInternal","renderComponent","hostLView","componentHostIdx","componentTView","syncViewWithBlueprint","hostRNode","renderView","finishViewCreation","renderChildComponents","createAndRenderEmbeddedLView","declarationLView","templateTNode","embeddedTView","embeddedLView","dehydratedView","declarationViewLQueries","getLViewFromLContainer","adjustedIndex","shouldAddViewToDom","addLViewToLContainer","addToDOM","insertView","containerLength","trackMovedView","addViewToDOM","parentNativeNode","removeLViewFromLContainer","collectNativeNodes","lNode","collectNativeNodesInLContainer","nodesInSlot","lViewInAContainer","lViewFirstChildTNode","freeConsumers","REACTIVE_LVIEW_CONSUMER_NODE","REACTIVE_NODE$1","MAXIMUM_REFRESH_RERUNS","detectChangesInternal","notifyErrorHandler","detectChangesInViewWhileDirty","detectChangesInView$1","retries","inlineEffectRunner","refreshView","currentConsumer","viewShouldHaveReactiveConsumer","getOrBorrowReactiveLViewConsumer","borrowReactiveLViewConsumer","consumerBeforeComputation$1","setBindingIndex","hooksInitPhaseCompleted","markTransplantedViewsForRefresh","detectChangesInEmbeddedViews","processHostBindingOpCodes","opCode","bindingRootIndx","hostBindingFn","detectChangesInChildComponents","notifyEffect","consumerAfterComputation$1","maybeReturnReactiveLViewConsumer","detectChangesInViewIfAttached","detectChangesInComponent","shouldRefreshView","consumerPollProducersForChange$1","markViewDirty","ViewRef$1","_cdRefInjectingView","_attachedToViewContainer","viewRefs","reattach","checkNoChanges","attachToViewContainerRef","detachFromAppRef","attachToAppRef","appRef","injectTemplateRef","ViewEngineTemplateRef","R3TemplateRef","_declarationLView","_declarationTContainer","createEmbeddedViewImpl","createTemplateRef","_findMatchingDehydratedViewImpl","findMatchingDehydratedView","ChangeDetectionScheduler","ComponentRef$1","ComponentFactory$1","_NullComponentFactoryResolver","noComponentFactoryError","ComponentFactoryResolver$1","Renderer2","injectRenderer2","nodeAtIndex","Sanitizer","NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR","assertNotInReactiveContext","extraContext","getActiveConsumer","getActiveConsumer$1","markedFeatures","performanceMarkFeature","performance","mark","enableLongStackTrace","shouldCoalesceEventChangeDetection","shouldCoalesceRunChangeDetection","hasPendingMacrotasks","hasPendingMicrotasks","isStable","onUnstable","onMicrotaskEmpty","Zone","assertZonePatched","_nesting","_outer","_inner","TaskTrackingZoneSpec","longStackTraceZoneSpec","lastRequestAnimationFrameId","nativeRequestAnimationFrame","getNativeRequestAnimationFrame","nativeCancelAnimationFrame","unpatchedRequestAnimationFrame","__symbol__","unpatchedCancelAnimationFrame","forkInnerZoneWithAngularBehavior","delayChangeDetectionForEventsDelegate","delayChangeDetectionForEvents","isCheckStableRunning","fakeTopEventTask","scheduleEventTask","updateMicroTaskStatus","checkStable","isAngularZone","onInvokeTask","task","applyThis","applyArgs","shouldBeIgnoredByZone","__ignore_ng_zone__","invokeTask","onEnter","onLeave","onInvoke","onHasTask","hasTaskState","hasTask","_hasPendingMicrotasks","microTask","macroTask","onHandleError","isInAngularZone","assertInAngularZone","assertNotInAngularZone","runTask","EMPTY_PAYLOAD","cancelTask","runGuarded","NoopNgZone","AfterRenderPhase","EarlyRead","Write","MixedReadWrite","Read","NOOP_AFTER_RENDER_REF","afterNextRender","afterRenderEventManager","AfterRenderEventManager","callbackHandler","AfterRenderCallbackHandlerImpl","unregister","unregisterFn","AfterRenderCallback","executingCallbacks","buckets","deferredCallbacks","bucket","internalCallbacks","executeInternalCallbacks","isModuleWithProviders","isNgModule","isPipe","isDirective","verifyStandaloneImport","depType","importingType","getDependencyTypeForError","DepsTracker","ownerNgModule","ngModulesWithSomeUnresolvedDecls","ngModulesScopeCache","standaloneComponentsScopeCache","resolveNgModulesDecls","moduleType","decl","getComponentDependencies","rawImports","scope","getStandaloneComponentScope","compilation","isPoisoned","ngModules","getNgModuleScope","registerNgModule","scopeInfo","clearScopeCacheFor","computeNgModuleScope","exported","importedScope","addSet","exportedScope","ans","computeStandaloneComponentScope","rawImport","isOrphanComponent","cmp","sourceSet","targetSet","depsTracker","computeStaticStyling","writeToHost","ComponentFactoryResolver","ComponentFactory","toRefArray","ChainedInjector","parentInjector","refArray","componentType","stringifyCSSSelectorList","selectorList","isBoundToModule","projectableNodes","rootSelectorOrNode","environmentInjector","realEnvironmentInjector","rootViewInjector","hostRenderer","elementName","locateHostElement","elementOrSelector","applyRootElementTransform","getNamespace","rootFlags","rootTView","rootLView","tElementNode","rootComponentDef","rootDirectives","createRootComponentTNode","createRootComponentView","applyRootComponentStyling","viewRenderer","setRootNodeAttributes","extractAttrsAndClassesFromSelector","projectNodes","nodesforSlot","createRootComponent","hostFeatures","rootTNode","LifecycleHooksFeature","ComponentRef","_rootLView","previousInputValues","injectViewContainerRef","createContainerRef","VE_ViewContainerRef","R3ViewContainerRef","_lContainer","_hostTNode","_hostLView","getViewRefs","indexOrOptions","viewRef","insertImpl","componentFactoryOrType","isComponentFactory","ngModuleRef","contextInjector","viewAttachedToContainer","prevIdx","prevLContainer","prevVCRef","adjustedIdx","_adjustIndex","getOrCreateViewRefs","newIndex","viewRefsArr","detachedView","_locateOrCreateAnchorNode","createAnchorNode","commentNode","insertAnchorNode","nativeNextSibling","_populateDehydratedViewsInLContainer","LQuery_","queryList","LQueries_","tQueries","noOfInheritedQueries","viewLQueries","tQuery","getByIndex","indexInDeclarationView","dirtyQueriesWithMatches","getTQuery","TQueryMetadata_","splitQueryMultiSelectors","locator","TQueries_","elementStart","elementEnd","queriesForTemplateRef","childQueryIndex","tqueryClone","track","tquery","TQuery_","crossesNgTemplate","_appliesToNextNode","_declarationNodeIndex","isApplyingToNode","matchTNode","addMatch","declarationNodeIdx","matchTNodeWithReadOption","getIdxOfMatchingSelector","nodeMatchIdx","directiveOrProviderIdx","tNodeIdx","matchIdx","createResultForNode","matchingIdx","createResultByTNodeType","createSpecialToken","materializeViewResults","queryIndex","lQuery","tQueryMatches","matchedNodeIdx","collectQueryResults","lViewResults","embeddedLViews","createLQuery","storeCleanupWithContext","cleanupFn","createTQuery","getQueryResults","signalFn","createSignal","createSignal$1","updateFn","signalUpdateFn","updater","signalUpdateFn$1","asReadonly","signalAsReadonlyFn","readonlyFn","isWritableSignal","isSignal","ɵɵInheritDefinitionFeature","superType","getSuperType","shouldInheritFields","inheritanceChain","superDef","writeableDef","maybeUnwrapEmpty","superHostBindings","inheritHostBindings","superViewQuery","superContentQueries","inheritViewQuery","inheritContentQueries","mergeInputsWithTransforms","defData","mergeHostAttrsAcrossInheritance","minifiedName","prevViewQuery","prevContentQueries","prevHostBindings","ɵɵHostDirectivesFeature","rawHostDirectives","bindingArrayToMap","matchedDefs","hostDirectiveConfig","hostDirectiveDef","patchDeclaredInputs","exposedInputs","ɵɵInputTransformsFeature","NgModuleRef$1","NgModuleFactory$1","createNgModule","NgModuleRef","_parent","_bootstrapComponents","destroyCbs","componentFactoryResolver","_r3Injector","NgModuleFactory","EnvironmentNgModuleRefAdapter","debugName","runEnvironmentInitializers","createEnvironmentInjector","PendingTasks","hasPendingTasks","_hasPendingTasks","isListLikeIterable","isJsObject","updateBinding","getBinding","bindingUpdated","bindingUpdated2","exp1","exp2","different","bindingUpdated3","exp3","bindingUpdated4","exp4","ɵɵtemplate","attrsIndex","localRefsIndex","templateFirstCreatePass","tViewConsts","comment","_locateOrCreateContainerAnchor","populateDehydratedViewsInLContainer","createContainerAnchorImpl","ɵɵattribute","elementAttributeInternal","interpolation1","v0","suffix","interpolation2","v1","interpolation3","v2","toTStylingRange","getTStylingRangePrev","tStylingRange","setTStylingRangePrevDuplicate","getTStylingRangeNext","setTStylingRangeNext","setTStylingRangeNextDuplicate","markDuplicates","tStylingKey","isPrevDir","tStylingAtIndex","isMap","cursor","foundDuplicate","tStyleRangeAtCursor","isStylingMatch","tStylingKeyCursor","parserState","textEnd","keyEnd","valueEnd","getLastParsedKey","getLastParsedValue","parseClassNameNext","consumeClassToken","consumeWhitespace","parseStyleNext","consumeStyleKey","consumeSeparator","consumeStyleValue","ch1","ch2","ch3","lastChIndex","consumeQuotedText","resetParserState","quoteCharCode","ɵɵproperty","setDirectiveInputsWhichShadowsStyling","ɵɵstyleProp","checkStylingProperty","ɵɵclassProp","ɵɵstyleMap","checkStylingMap","styleKeyValueArraySet","styleStringParser","parseStyle","ɵɵclassMap","classKeyValueArraySet","classStringParser","parseClassName","stylingFirstUpdatePass","updateStyling","normalizeSuffix","stringParser","hasStylingInputShadow","isInHostBindings","staticPrefix","updateStylingMap","oldKeyValueArray","newKeyValueArray","oldIndex","oldKey","newKey","setKey","toStylingKeyValueArray","styleKeyValueArray","unwrappedValue","isHostBindings","wrapInStaticStylingKey","stylingKey","residual","collectStylingFromTAttrs","collectStylingFromDirectives","templateStylingKey","getTemplateHeadTStylingKey","setTemplateHeadTStylingKey","collectResidual","insertTStylingBinding","tStylingKeyWithStatic","isHostBinding","isClassBinding","tBindings","tmplHead","tmplTail","isKeyDuplicateOfStatic","setTStylingRangePrev","markDuplicateOfResidualStyling","currentDirective","desiredMarker","currentMarker","stringKey","tRange","higherPriorityValue","getTStylingRangeNextDuplicate","findStylingValue","isStylingValuePresent","getTStylingRangePrevDuplicate","applyStyling","isPrevDirection","rawKey","containsStatics","isStylingMap","valueAtLViewIndex","ɵɵclassMapInterpolate1","ɵɵclassMapInterpolate2","ɵɵclassMapInterpolate3","LiveCollection","updateValue","swap","index1","index2","startIdx","endIdx","endItem","startItem","prevIndex","newIdx","valuesMatching","liveIdx","liveValue","trackBy","attachPreviouslyDetached","detachedItems","createOrAttach","liveCollection","newItem","initLiveItemsInTheFuture","at","UniqueValueMultiKeyMap","kvMap","_vMap","prevValue","vMap","ɵɵconditional","containerIndex","matchingTemplateIndex","getLContainer","getExistingTNode","RepeaterContext","$count","ɵɵrepeaterTrackByIdentity","RepeaterMetadata","hasEmptyBlock","ɵɵrepeaterCreate","trackByUsesComponentInstance","emptyTemplateFn","emptyDecls","emptyVars","emptyTagName","emptyAttrsIndex","boundTrackBy","LiveCollectionLContainerImpl","needsIndexUpdate","detachExistingView","updateIndexes","getExistingLViewFromLContainer","ɵɵrepeater","metadataSlotIdx","hostTView","itemTemplateTNode","reconcile","newCollection","liveKeysInTheFuture","liveStartIdx","liveEndIdx","newEndIdx","liveStartValue","newStartValue","isStartMatching","liveEndValue","newEndValue","isEndMatching","liveStartKey","liveEndKey","newStartKey","newEndKey","newCollectionIterator","newIterationResult","liveKey","isCollectionEmpty","emptyTemplateIndex","lContainerForEmpty","emptyTemplateTNode","ɵɵelementStart","elementStartFirstCreatePass","_locateOrCreateElementNode","hasDirectives","isDetachedByI18n","getElementDepthCount","increaseElementDepthCount","ɵɵelementEnd","isSkipHydrationRootTNode","leaveSkipHydrationBlock","decreaseElementDepthCount","hasClassInput","hasStyleInput","ɵɵelement","getNamespace$1","ɵɵelementContainerStart","elementContainerStartFirstCreatePass","_locateOrCreateElementContainerNode","ɵɵelementContainerEnd","ɵɵelementContainer","ɵɵgetCurrentView","ɵɵhostProperty","ɵɵsyntheticHostProperty","localeEn","LOCALE_DATA","findLocaleData","normalizedLocale","getLocaleData","getLocalePluralCase","LocaleDataIndex","PluralCase","common","FirstDayOfWeek","WeekendRange","CurrencyCode","CurrencySymbol","CurrencyName","Directionality","pluralMapping","DEFAULT_LOCALE_ID","ELEMENT_MARKER","ICU_MARKER","I18nCreateOpCode","SHIFT","APPEND_EAGERLY","COMMENT","LOCALE_ID$1","tNodeInsertBeforeIndex","i18nParent","anchorRNode","addTNodeAndUpdateInsertBeforeIndex","previousTNodes","newTNode","existingTNode","isI18nText","isNewTNodeCreatedBefore","getInsertBeforeIndex","setInsertBeforeIndex","getTIcu","createTNodePlaceholder","getCurrentICUCaseIndex","tIcu","currentCase","currentCaseLViewIndex","getParentFromIcuCreateOpCode","mergedCode","getRefFromIcuCreateOpCode","changeMask","changeMaskCounter","_locateOrCreateNode","textOrName","createNodeWithoutHydration","COMMENT_NODE","applyMutableOpCodes","mutableOpCodes","rootRNode","rootIdx","textNodeIndex","parentIdx","insertInFrontOf","refIdx","caseIndex","anchorIdx","commentValue","commentNodeIndex","elementNodeIndex","applyUpdateOpCodes","updateOpCodes","bindingsStartIndex","checkBit","skipCodes","sanitizeFn","tNodeOrTagName","rText","applyIcuSwitchCase","applyIcuUpdateCase","activeCaseIndex","getCaseIndex","icuExpression","bindingValue","cases","resolvedCase","getPluralCase","applyIcuSwitchCaseRemove","removeCodes","nodeOrIcuIndex","loadIcuContainerVisitor","_stack","_removes","_index","enterIcu","icuContainerIteratorNext","removeOpCode","icuContainerIteratorStart","BINDING_REGEXP","NESTED_ICU","ICU_BLOCK_REGEXP","MARKER","SUBTEMPLATE_REGEXP","PH_REGEXP","NGSP_UNICODE_REGEXP","createTNodeAndAddOpCode","existingTNodes","createOpCodes","isICU","i18nNodeIdx","ensureIcuContainerVisitorLoaded","setTNodeInsertBeforeIndex","i18nStartFirstCreatePassProcessTextNode","hasBinding","generateBindingUpdateOpCodes","destinationNode","bindingStart","maskIndex","sizeIndex","textParts","textValue","toMaskBit","removeInnerTemplateTranslation","tagMatched","inTemplate","icuStart","bindingMask","addUpdateIcuSwitch","mainBinding","setTIcu","valueArr","nestedIcus","icuIndex","caseAst","parseIcuCase","addUpdateIcuUpdate","parseICUBlock","icuType","i18nParseTextIntoPartsAndICU","binding","blocks","prevPos","braceStack","braces","block","caseName","unsafeCaseHtml","inertRootNode","walkIcuTree","sharedUpdateOpCodes","depth","addCreateNodeAndAppend","lowerAttrName","addCreateAttribute","elementNode","addRemoveNode","isNestedIcu","addRemoveNestedIcu","appendToParentIdx","createAtIdx","icuCreateOpCode","ɵɵi18nStart","messageIndex","subTemplateIndex","i18nStartFirstCreatePass","parentTNodeIndex","existingTNodeStack","astStack","getTranslationForTemplate","isRootTemplateMessage","msgParts","replaceNgsp","isClosing","placeholderNode","icuNodeIndex","tI18n","applyCreateOpCodes","appendNow","ɵɵi18n","ɵɵi18nEnd","ɵɵi18nExp","setMaskBit","hasChange","ɵɵi18nApply","applyI18n","ɵɵlistener","listenerFn","useCapture","eventTargetResolver","listenerInternal","isTNodeDirectiveHost","processOutputs","lCleanupIndex","idxOrTargetGetter","existingListener","findExistingListener","cleanupEventName","listenerIdxInLCleanup","__ngLastListenerFn__","__ngNextListenerFn__","wrapListener","propsLength","executeListenerWithErrorHandling","wrapWithPreventDefault","wrapListenerIn_markDirtyAndPreventDefault","nextListenerFn","ɵɵnextContext","nextContextImpl","walkUpViews","nestingLevel","matchingProjectionSlotIndex","projectionSlots","wildcardNgContentIndex","ngProjectAsAttrVal","getProjectAsAttrValue","ngProjectAsAttrIdx","ɵɵprojectionDef","componentNode","projectionHeads","tails","componentChild","slotIndex","ɵɵprojection","selectorIndex","applyProjection","ɵɵpropertyInterpolate","ɵɵpropertyInterpolate1","interpolatedValue","ɵɵcontentQuery","createContentQuery","saveContentQueryAndDirectiveIndex","tViewContentQueries","ɵɵviewQuery","createViewQuery","ɵɵqueryRefresh","isCreationMode","ɵɵloadQuery","loadQueryInternal","ɵɵreference","getContextLView","ɵɵtext","textNative","_locateOrCreateTextNode","ɵɵtextInterpolate","ɵɵtextInterpolate1","interpolated","ɵɵtextInterpolate2","ɵɵtextInterpolate3","ɵɵtextInterpolate5","v3","v4","interpolation5","ɵɵtwoWayProperty","ɵɵtwoWayBindingSet","canWrite","ɵɵtwoWayListener","resolveProvider","lInjectablesBlueprint","providerFactory","beginIndex","existingFactoryIndex","registerDestroyHooksIfSupported","existingProvidersFactoryIndex","existingViewProvidersFactoryIndex","doesViewProvidersFactoryExist","multiFactory","factoryFn","componentProviders","multiFactoryAdd","multiViewProvidersFactoryResolver","multiProvidersFactoryResolver","contextIndex","indexInFactory","providerIsTypeProvider","providerIsClassProvider","isClassProvider","existingCallbacksIndex","isComponentProvider","lData","multiResolve","factories","componentCount","multiProviders","ɵɵProvidersFeature","viewProviders","processProvidersFn","StandaloneService","cachedInjectors","getOrCreateStandaloneInjector","standaloneInjector","ɵɵStandaloneFeature","ɵɵsetNgModuleScope","convertToTypeArray","flattenValues","maybeUnwrapModuleWithProviders","ɵɵpureFunction0","slotOffset","pureFn","ɵɵpureFunction1","pureFunction1Internal","ɵɵpureFunction2","pureFunction2Internal","ɵɵpureFunction3","pureFunction3Internal","ɵɵpureFunction4","pureFunction4Internal","ɵɵpureFunction5","exp5","getPureFunctionReturnValue","returnValueIndex","lastReturnValue","bindingRoot","ɵɵpipe","pipeName","getPipeDef","pipeFactory","pipeInstance","ɵɵpipeBind1","isPure","ɵɵpipeBind2","ɵɵpipeBind3","ɵɵpipeBind4","ɵɵtemplateRefExtractor","full","major","minor","Console","TESTABILITY","TESTABILITY_GETTER","_testabilityGetter","Testability","testabilityGetter","_pendingCount","_isZoneStable","_callbacks","taskTrackingZone","setTestabilityGetter","addToWindow","_watchAngularEvents","_runCallbacksIfReady","increasePendingRequestCount","decreasePendingRequestCount","doneCb","getPendingTasks","updateCb","macroTasks","creationLocation","addCallback","whenStable","getPendingRequestCount","registerApplication","unregisterApplication","findProviders","using","exactMatch","TestabilityRegistry","_applications","testability","unregisterAllApplications","getTestability","getAllTestabilities","getAllRootElements","findTestabilityInTree","findInAncestors","isSubscribable","ApplicationInitStatus","donePromise","rej","appInits","runInitializers","asyncInitPromises","initResult","observableAsPromise","APP_BOOTSTRAP_LISTENER","optionsReducer","objs","ApplicationRef","_bootstrapListeners","_runningTick","_destroyListeners","_views","internalErrorHandler","afterRenderEffectManager","externalTestViews","beforeRender","afterTick","componentTypes","componentOrFactory","cf","compRef","_loadComponent","_tick","refreshViews","detectChangesInAttachedViews","runs","isFirstPass","detectChangesInViewIfRequired","shouldRecheckView","viewCount","warnIfDestroyed","detectChangesInView","ModuleWithComponentFactories","ngModuleFactory","componentFactories","Compiler","compileModuleSync","compileModuleAsync","compileModuleAndAllComponentsSync","declaration","compileModuleAndAllComponentsAsync","clearCacheFor","getModuleId","NgZoneChangeDetectionScheduler","applicationRef","_onMicrotaskEmptySubscription","ngZoneApplicationErrorHandlerFactory","userErrorHandler","ZoneStablePendingTask","getGlobalLocale","$localize","PLATFORM_DESTROY_LISTENERS","PlatformRef","_modules","bootstrapModuleFactory","moduleFactory","getNgZone","ngZoneToUse","getNgZoneOptions","eventCoalescing","runCoalescing","ngZoneEventCoalescing","ngZoneRunCoalescing","moduleRef","createNgModuleRefWithProviders","internalProvideZoneChangeDetection","ngZoneFactory","ngZoneChangeDetectionScheduler","exceptionHandler","_callAndReportToErrorHandler","initStatus","setLocaleId","_moduleDoBootstrap","compilerOptions","compileNgModuleFactory","ngDoBootstrap","destroyListeners","_platformInjector","ALLOW_MULTIPLE_PLATFORMS","createPlatformFactory","parentPlatformFactory","extraProviders","getPlatform","platformProviders","createPlatform","publishSignalConfiguration","setThrowInvalidWriteToSignalError","setThrowInvalidWriteToSignalError$1","runPlatformInitializers","createPlatformInjector","assertPlatform","requiredToken","injectChangeDetectorRef","createViewRef","DefaultIterableDifferFactory","DefaultIterableDiffer","trackByIdentity","_linkedRecords","_unlinkedRecords","_previousItHead","_itHead","_itTail","_additionsHead","_additionsTail","_movesHead","_movesTail","_removalsHead","_removalsTail","_identityChangesHead","_identityChangesTail","nextIt","nextRemove","addRemoveOffset","moveOffsets","getPreviousIndex","adjPreviousIndex","_nextRemoved","localMovePreviousIndex","localCurrentIndex","forEachPreviousItem","_nextPrevious","_nextAdded","forEachMovedItem","_nextMoved","_nextIdentityChange","check","_reset","itemTrackBy","mayBeDirty","trackById","_verifyReinsertion","_addIdentityChange","_mismatch","iterateListLike","_truncate","isDirty","previousRecord","_prev","_remove","_reinsertAfter","_moveAfter","_addAfter","IterableChangeRecord_","reinsertRecord","_addToMoves","nextRecord","_addToRemovals","_unlink","prevRecord","_prevRemoved","_insertAfter","_DuplicateMap","toIndex","_prevDup","_nextDup","_DuplicateItemRecordList","_head","_tail","atOrAfterIndex","duplicates","recordList","moveOffset","DefaultKeyValueDifferFactory","DefaultKeyValueDiffer","_records","_mapHead","_appendAfter","_previousMapHead","_changesHead","_changesTail","_nextChanged","_forEach","_maybeAddToChanges","_getOrCreateRecordForKey","_insertBeforeOrAppend","KeyValueChangeRecord_","_addToAdditions","_addToChanges","defaultIterableDiffersFactory","IterableDiffers","copied","defaultKeyValueDiffersFactory","KeyValueDiffers","kv","platformCore","ApplicationModule","booleanAttribute","createComputed","createComputed$1","nonReactiveReadsFn","elementInjector","reflectComponentType","requiresCleanup","manualCleanup","cleanupRef","requireSync","rejectErrors","BaseControlValueAccessor","onTouched","setDisabledState","BuiltInControlValueAccessor","ɵBuiltInControlValueAccessor_BaseFactory","NG_VALUE_ACCESSOR","CHECKBOX_VALUE_ACCESSOR","CheckboxControlValueAccessor","ɵCheckboxControlValueAccessor_BaseFactory","DEFAULT_VALUE_ACCESSOR","DefaultValueAccessor","COMPOSITION_BUFFER_MODE","_compositionMode","_composing","_isAndroid","ɵgetDOM","getUserAgent","_handleInput","_compositionStart","_compositionEnd","isEmptyInputValue","hasValidLength","NG_VALIDATORS","NG_ASYNC_VALIDATORS","EMAIL_REGEXP","minValidator","maxValidator","requiredValidator","requiredTrueValidator","emailValidator","minLength","minLengthValidator","maxLengthValidator","patternValidator","nullValidator","regexStr","requiredPattern","actualValue","compose","composeAsync","minlength","isPresent","toObservable","mergeErrors","arrayOfErrors","executeValidators","normalizeValidators","isValidatorFn","validate","presentValidators","composeValidators","composeAsyncValidators","mergeValidators","controlValidators","dirValidator","getControlValidators","_rawValidators","getControlAsyncValidators","_rawAsyncValidators","makeValidatorsArray","hasValidator","addValidators","currentValidators","validatorsToAdd","removeValidators","AbstractControlDirective","_onDestroyCallbacks","pristine","untouched","statusChanges","_setValidators","_composedValidatorFn","_setAsyncValidators","_composedAsyncValidatorFn","asyncValidator","_registerOnDestroy","_invokeOnDestroyCallbacks","errorCode","ControlContainer","formDirective","NgControl","AbstractControlStatus","cd","isTouched","isUntouched","isPristine","isInvalid","isSubmitted","NgControlStatus","NgControlStatusGroup","VALID","INVALID","PENDING","DISABLED","pickValidators","validatorOrOpts","isOptionsObj","pickAsyncValidators","asyncValidators","assertControlPresent","isGroup","assertAllValuesPresent","_forEachChild","AbstractControl","_pendingDirty","_hasOwnPendingAsyncValidator","_pendingTouched","_onCollectionChange","_onDisabledChange","_assignValidators","_assignAsyncValidators","validatorFn","asyncValidatorFn","updateOn","_updateOn","setValidators","setAsyncValidators","addAsyncValidators","removeAsyncValidators","hasAsyncValidator","clearValidators","clearAsyncValidators","markAsTouched","onlySelf","markAsUntouched","_updateTouched","markAsDirty","markAsPristine","_updatePristine","markAsPending","emitEvent","skipPristineCheck","_parentMarkedDirty","_updateAncestors","changeFn","setParent","getRawValue","_setInitialStatus","_cancelExistingSubscription","_runValidator","_calculateStatus","_runAsyncValidator","_updateTreeValidity","ctrl","_allControlsDisabled","_asyncValidationSubscription","setErrors","_updateControlsErrors","currPath","_find","_initObservables","_anyControlsHaveStatus","_anyControls","_anyControlsDirty","_anyControlsTouched","_registerOnCollectionChange","_setUpdateStrategy","coerceToValidator","coerceToAsyncValidator","FormGroup","_setUpControls","registerControl","removeControl","setControl","controlName","_reduceChildren","_syncPendingControls","subtreeUpdated","updated","_reduceValue","initValue","FormRecord","CALL_SET_DISABLED_STATE","setDisabledStateDefault","controlPath","setUpControl","callSetDisabledState","setUpValidators","setUpViewChangePipeline","_pendingValue","_pendingChange","updateControl","setUpModelChangePipeline","emitModelEvent","viewToModelUpdate","_unregisterOnChange","setUpBlurPipeline","setUpDisabledChangeHandler","onDisabledChange","registerOnDisabledChange","_unregisterOnDisabledChange","cleanUpControl","validateControlPresenceOnChange","cleanUpValidators","registerOnValidatorChange","onValidatorChange","isControlUpdated","updatedValidators","updatedAsyncValidators","emitModelToViewChange","isPropertyUpdated","viewModel","selectValueAccessor","valueAccessors","defaultAccessor","builtinAccessor","customAccessor","isBuiltInAccessor","removeListItem","isFormControlState","formState","FormControl","_onChange","_applyFormState","nonNullable","initialValueIsDefault","emitViewToModelChange","AbstractFormGroupDirective","_checkParentType","addFormGroup","removeFormGroup","getFormGroup","ɵAbstractFormGroupDirective_BaseFactory","formControlBinding$1","NgModel","resolvedPromise","_changeDetectorRef","_registered","_checkForErrors","_checkName","oldName","_getPath","_setUpControl","_updateDisabled","_isStandalone","_setUpStandalone","disabledValue","ɵNgNoValidate","NUMBER_VALUE_ACCESSOR","NumberValueAccessor","ɵNumberValueAccessor_BaseFactory","RADIO_VALUE_ACCESSOR","RadioControlValueAccessor","RadioControlRegistry","_accessors","accessor","_isSameGroup","fireUncheck","controlPair","_control","_registry","setDisabledStateFired","_fn","formControlName","NG_MODEL_WITH_FORM_CONTROL_WARNING","formControlBinding","FormControlDirective","_ngModelWarningSentOnce","_ngModelWarningConfig","_ngModelWarningSent","_isControlChanged","previousForm","formDirectiveProvider","FormGroupDirective","_updateDomValue","ngSubmit","_checkFormPresent","_updateValidators","_updateRegistrations","_oldForm","getControl","removeListItem$1","_setUpFormContainer","_cleanUpFormContainer","addFormArray","removeFormArray","getFormArray","updateModel","syncPendingControls","resetForm","oldCtrl","newCtrl","isFormControl","setUpFormContainer","cleanUpFormContainer","formGroupNameProvider","FormGroupName","_hasInvalidParent","formArrayNameProvider","FormArrayName","controlNameBinding","FormControlName","_added","SELECT_VALUE_ACCESSOR","SelectControlValueAccessor","_buildValueString$1","_optionMap","_idCounter","_compareWith","compareWith","valueString","_getOptionId","_getOptionValue","_registerOption","_extractId$1","ɵSelectControlValueAccessor_BaseFactory","NgSelectOption","ngValue","_setElementValue","SELECT_MULTIPLE_VALUE_ACCESSOR","SelectMultipleControlValueAccessor","_buildValueString","optionSelectedStateSetter","opt","_setSelected","selected","selectedOptions","_extractId","ɵSelectMultipleControlValueAccessor_BaseFactory","ɵNgSelectMultipleOption","toInteger","toFloat","AbstractValidatorDirective","_validator","inputName","normalizeInput","_enabled","createValidator","MAX_VALIDATOR","MaxValidator","ɵMaxValidator_BaseFactory","MIN_VALIDATOR","MinValidator","ɵMinValidator_BaseFactory","REQUIRED_VALIDATOR","RequiredValidator","CHECKBOX_REQUIRED_VALIDATOR","CheckboxRequiredValidator","ɵRequiredValidator_BaseFactory","ɵCheckboxRequiredValidator_BaseFactory","MIN_LENGTH_VALIDATOR","MinLengthValidator","ɵMinLengthValidator_BaseFactory","MAX_LENGTH_VALIDATOR","MaxLengthValidator","ɵMaxLengthValidator_BaseFactory","ɵInternalFormsSharedModule","FormArray","_registerControl","removeAt","isAbstractControlOptions","FormBuilder","useNonNullable","nnfb","reducedControls","_reduceControls","createdControls","_createControl","UntypedFormBuilder","controlsConfig","ɵUntypedFormBuilder_BaseFactory","warnOnNgModelWithFormControl","GenericBrowserDomAdapter","ɵDomAdapter","supportsDOMEvents","BrowserDomAdapter","makeCurrent","ɵsetRootDomAdapter","onAndCancel","evt","dispatchEvent","getDefaultDocument","createHtmlDocument","isShadowRoot","DocumentFragment","getBaseElementHref","baseElement","relativePath","baseURI","resetBaseElement","getCookie","BrowserXhr","EVENT_MANAGER_PLUGINS","EventManager","plugins","_eventNameToPlugin","plugin","manager","_findPluginFor","getZone","EventManagerPlugin","APP_ID_ATTRIBUTE_NAME","SharedStylesHost","appId","styleRef","hostNodes","styleNodesInDOM","collectServerRenderedStyles","platformIsServer","resetHostNodes","addStyles","changeUsageCount","onStyleAdded","removeStyles","onStyleRemoved","getAllStyles","addHost","hostNode","addStyleToHost","removeHost","styleMap","styleRefValue","usage","getStyleElement","styleEl","styleElRef","NAMESPACE_URIS","xhtml","xlink","xml","xmlns","math","COMPONENT_REGEX","REMOVE_STYLES_ON_COMPONENT_DESTROY","shimStylesContent","compId","DomRendererFactory2","eventManager","sharedStylesHost","removeStylesOnCompDestroy","rendererByCompId","defaultRenderer","DefaultDomRenderer2","getOrCreateRenderer","EmulatedEncapsulationDomRenderer2","applyToHost","NoneEncapsulationDomRenderer","applyStyles","ShadowDomRenderer","throwOnSyntheticProps","createElementNS","isTemplateNode","namespaceUri","setAttributeNS","removeAttributeNS","removeProperty","decoratePreventDefault","hostEl","nodeOrShadowRoot","contentAttr","shimContentAttribute","componentShortId","hostAttr","shimHostAttribute","DomEventsPlugin","MODIFIER_KEYS","_keyMap","Del","Esc","Left","Right","Up","Down","Menu","Scroll","Win","MODIFIER_KEY_GETTERS","altKey","KeyEventsPlugin","parseEventName","parsedEvent","outsideHandler","eventCallback","fullKey","domEventName","_normalizeKey","codeIX","modifierName","matchEventFullKeyCode","fullKeyCode","keycode","modifierGetter","keyName","platformBrowser","ɵPLATFORM_BROWSER_ID","initDomAdapter","ɵsetDocument","BROWSER_MODULE_PROVIDERS_MARKER","TESTABILITY_PROVIDERS","ɵTESTABILITY_GETTER","BrowserGetTestability","ɵglobal","getAngularTestability","getAllAngularTestabilities","getAllAngularRootElements","frameworkStabilizers","testabilities","ɵTESTABILITY","BROWSER_MODULE_PROVIDERS","ɵINJECTOR_SCOPE","providersAlreadyPresent","withServerTransition","newTitle","DomSanitizer","DomSanitizerImpl","ɵallowSanitizationBypassAndThrow","ɵunwrapSafeValue","ɵ_sanitizeHtml","ɵ_sanitizeUrl","bypassSecurityTrustHtml","ɵbypassSanitizationTrustHtml","bypassSecurityTrustStyle","ɵbypassSanitizationTrustStyle","bypassSecurityTrustScript","ɵbypassSanitizationTrustScript","ɵbypassSanitizationTrustUrl","ɵbypassSanitizationTrustResourceUrl","takeLast","PRIMARY_OUTLET","RouteTitleKey","ParamsAsMap","convertToParamMap","defaultUrlMatcher","segmentGroup","hasChildren","posParams","consumed","shallowEqual","getDataKeys","equalArraysOrString","getOwnPropertySymbols","aSorted","bSorted","wrapIntoObservable","pathCompareMap","exact","equalSegmentGroups","containee","matrixParams","equalPath","matrixParamsMatch","numberOfChildren","subset","containsSegmentGroup","paramCompareMap","equalParams","containsParams","ignored","containsTree","paths","containsSegmentGroupHelper","containeePaths","containerPaths","containeeSegment","UrlTree","UrlSegmentGroup","_queryParamMap","DEFAULT_SERIALIZER","serialize","serializePaths","UrlSegment","parameterMap","_parameterMap","serializePath","bs","UrlSerializer","DefaultUrlSerializer","UrlParser","parseRootSegment","parseQueryParams","parseFragment","tree","serializeSegment","serializeQueryParams","strParams","encodeUriQuery","encodeUriFragment","encodeURI","primary","mapChildrenIntoArray","childOutlet","encodeUriString","encodeUriSegment","decode","decodeQuery","serializeMatrixParams","SEGMENT_RE","matchSegments","MATRIX_PARAM_SEGMENT_RE","QUERY_PARAM_RE","QUERY_PARAM_VALUE_RE","remaining","consumeOptional","peekStartsWith","parseChildren","parseQueryParam","parseSegment","capture","parseParens","parseMatrixParams","parseParam","matchMatrixKeySegments","valueMatch","matchQueryParams","matchUrlQueryParamValue","decodedKey","decodedVal","currentVal","allowPrimary","outletName","createRoot","rootCandidate","qt","squashSegmentGroup","newChildren","childCandidate","grandChildOutlet","grandChild","mergeTrivialChildren","isUrlTree","createSegmentGroupFromRoute","targetGroup","rootSegmentGroup","createSegmentGroupFromRouteRecursive","currentRoute","childOutlets","childSnapshot","outlet","createUrlTreeFromSegmentGroup","computeNavigation","Navigation","numberOfDoubleDots","isAbsolute","cmdIdx","outlets","segmentPath","urlPart","partIndex","toRoot","findStartingPositionForTargetGroup","modifier","isMatrixParams","createPositionApplyingDoubleDots","ci","newSegmentGroup","processChildren","updateSegmentGroupChildren","updateSegmentGroup","isCommandWithOutlets","oldRoot","oldSegmentGroup","qp","replaceSegment","newRoot","oldSegment","newSegment","cmdWithOutlet","prefixedWith","currentCommandIndex","currentPathIndex","noMatch","pathIndex","commandIndex","compare","slicedCommands","createNewSegmentGroup","getOutlets","childrenOfEmptyChild","createNewSegmentChildren","IMPERATIVE_NAVIGATION","EventType","RoutesRecognized","ResolveStart","ResolveEnd","GuardsCheckStart","GuardsCheckEnd","RouteConfigLoadStart","RouteConfigLoadEnd","ChildActivationStart","ChildActivationEnd","ActivationStart","ActivationEnd","NavigationSkipped","RouterEvent","navigationTrigger","restoredState","NavigationCancellationCode","Redirect","SupersededByNewNavigation","NoDataFromResolver","GuardRejected","NavigationSkippedCode","IgnoredSameUrlNavigation","IgnoredByUrlHandlingStrategy","shouldActivate","routeConfig","routerEvent","BeforeActivateRoutes","RedirectRequest","OutletContext","ChildrenOutletContexts","attachRef","contexts","onChildOutletCreated","childName","getOrCreateContext","onChildOutletDestroyed","onOutletDeactivated","onOutletReAttached","Tree","_root","pathFromRoot","findNode","siblings","findPath","TreeNode","nodeChildrenAsMap","RouterState","setRouterState","createEmptyState","rootComponent","createEmptyStateSnapshot","activated","ActivatedRouteSnapshot","RouterStateSnapshot","emptyUrl","emptyParams","emptyData","emptyQueryParams","ActivatedRoute","urlSubject","paramsSubject","queryParamsSubject","fragmentSubject","dataSubject","futureSnapshot","_futureSnapshot","_routerState","_paramMap","getInherited","paramsInheritanceStrategy","inherited","_resolvedData","hasStaticTitle","_resolve","serializeNode","advanceActivatedRoute","nextSnapshot","shallowEqualArrays","equalParamsAndUrlSegments","equalUrlParams","equalSegments","RouterOutlet","_activatedRoute","activateEvents","deactivateEvents","attachEvents","detachEvents","parentContexts","changeDetector","inputBinder","INPUT_BINDER","supportsBindingToComponentInputs","activatedComponentRef","isTrackedInParentContexts","deactivate","initializeOutletWithName","unsubscribeFromRouteData","activateWith","isActivated","activatedRouteData","bindActivatedRouteToOutletComponent","childContexts","OutletInjector","__ngOutletInjector","RoutedComponentInputBinder","outletDataSubscriptions","subscribeToRouteData","dataSubscription","mirror","createNode","createOrReuseChildren","shouldAttach","detachedRouteHandle","retrieve","createActivatedRoute","NAVIGATION_CANCELING_ERROR","redirectingNavigationError","urlSerializer","navigationBehaviorOptions","navigationCancelingError","cancellationCode","isNavigationCancelingError","ɵEmptyOutletComponent","standardizeConfig","getOutlet","getClosestRouteInjector","_loadedInjector","ActivateRoutes","futureState","forwardEvent","inputBindingEnabled","futureRoot","currRoot","deactivateChildRoutes","activateChildRoutes","futureNode","currNode","futureChild","childOutletName","deactivateRoutes","deactivateRouteAndItsChildren","shouldDetach","detachAndStoreRouteSubtree","deactivateRouteAndOutlet","treeNode","activateRoutes","stored","CanActivate","CanDeactivate","getAllRouteGuards","getChildRouteGuards","getTokenOrFunctionIdentity","tokenOrFunction","ɵisInjectable","futurePath","checks","canDeactivateChecks","canActivateChecks","prevChildren","getRouteGuards","shouldRun","shouldRunGuardsAndResolvers","runGuardsAndResolvers","isEmptyError","INITIAL_VALUE","prioritizedGuardValue","redirectIfUrlTree","NoMatch","AbsoluteRedirect","noMatch$1","ApplyRedirects","lineralizeSegments","applyRedirectCommands","newTree","applyRedirectCreateUrlTree","createSegmentGroup","createQueryParams","redirectToParams","actualParams","sourceName","updatedSegments","createSegments","redirectToSegments","actualSegments","findPosParam","findOrReturn","redirectToUrlSegment","consumedSegments","remainingSegments","positionalParamSegments","matchWithChecks","getOrCreateRouteInjectorIfNeeded","currentInjector","runCanMatchGuards","canMatchObservables","injectionToken","guard","isCanMatch","createWildcardMatchResult","slicedSegments","containsEmptyPathMatchesWithNamedOutlets","emptyPathMatch","createChildrenForEmptyPaths","containsEmptyPathMatches","addEmptyPathsToChildrenIfNeeded","primarySegment","NoLeftoversInUrl","Recognizer","configLoader","rootComponentType","applyRedirects","absoluteRedirectCount","allowRedirects","noMatchError","recognize","rootNode","routeState","createUrlTreeFromSnapshot","inheritParamsAndData","processSegmentGroup","routeNode","processSegment","sortedConfig","sortByMatchingOutlets","outletChildren","last$1","mergedChildren","mergeEmptyPathMatches","sortActivatedRouteSnapshots","processSegmentAgainstRoute","noLeftoversInUrl","rawSegment","isImmediateMatch","matchSegmentAgainstRoute","expandSegmentAgainstRouteUsingRedirect","newSegments","getChildConfig","childInjector","getData","_loadedComponent","getResolve","matchedOnOutlet","_loadedRoutes","runCanLoadGuards","canLoad","canLoadObservables","isCanLoad","shouldLoadResult","cfg","canLoadFails","hasEmptyPathConfig","mergedNodes","duplicateEmptyPathNode","resultNode","mergedNode","flattenRouteTree","descendants","switchTap","nextResult","TitleStrategy","buildTitle","pageTitle","getResolvedTitleForRoute","DefaultTitleStrategy","updateTitle","ROUTER_CONFIGURATION","ROUTES","RouterConfigLoader","componentLoaders","childrenLoaders","onLoadStartListener","loadRunner","maybeUnwrapDefaultExport","onLoadEndListener","factoryOrRoutes","rawRoutes","requireStandaloneComponents","isWrappedDefaultExport","UrlHandlingStrategy","DefaultUrlHandlingStrategy","shouldProcessUrl","extract","newUrlPart","wholeUrl","CREATE_VIEW_TRANSITION","VIEW_TRANSITION_OPTIONS","createViewTransition","transitionOptions","startViewTransition","skipNextTransition","resolveViewTransitionStarted","viewTransitionStarted","createRenderPromise","onViewTransitionCreated","NavigationTransitions","hasRequestedNavigation","navigationId","currentNavigation","lastSuccessfulNavigation","transitionAbortSubject","rootContexts","titleStrategy","urlHandlingStrategy","afterPreactivation","handleNavigationRequest","setupNavigations","initialUrlTree","initialRouterState","currentUrlTree","currentRawUrl","extractedUrl","rawUrl","targetSnapshot","currentRouterState","targetRouterState","guards","guardsResult","overallTransitionState","cancelNavigationTransition","initialUrl","previousNavigation","urlTransition","navigated","isUpdatingInternalState","isUpdatedBrowserUrl","onSameUrlNavigation","serializer","recognize$1","finalUrl","routesRecognized","navStart","guardsStart","checkGuards","runCanDeactivateChecks","futureRSS","currRSS","runCanDeactivate","currARS","canDeactivate","canDeactivateObservables","closestInjector","isCanDeactivate","isBoolean","runCanActivateChecks","fireChildActivationStart","fireActivationStart","runCanActivateChild","futureARS","canActivateChildGuardsMapped","getCanActivateChild","guardsMapped","isCanActivateChild","runCanActivate","canActivateObservables","isCanActivate","guardsEnd","resolveStart","dataResolved","resolveData","routesWithResolversToRun","routesNeedingDataUpdates","newRoute","routesProcessed","runResolve","resolveNode","getResolver","resolvedData","resolveEnd","loadComponents","loaders","loadedComponent","createRouterState","isRedirectingNavigationCancelingError","ee","resolveNavigationPromiseOnError","navCancel","isBrowserTriggeredNavigation","RouteReuseStrategy","DefaultRouteReuseStrategy","BaseRouteReuseStrategy","detachedTree","ɵDefaultRouteReuseStrategy_BaseFactory","StateManager","HistoryStateManager","canceledNavigationResolution","urlUpdateStrategy","rawUrlTree","currentPageId","lastSuccessfulId","routerState","stateMemento","createStateMemento","getCurrentUrlTree","getRawUrlTree","browserPageId","ɵrouterPageId","getRouterState","registerNonRouterCurrentEntryChangeListener","handleRouterEvent","setBrowserUrl","restoreHistory","generateNgRouterState","navigation","restoringFromCaughtError","targetPagePosition","resetState","resetUrlToCurrentUrlTree","routerPageId","ɵHistoryStateManager_BaseFactory","NavigationResult","COMPLETE","FAILED","REDIRECTING","afterNextNavigation","exactMatchOptions","subsetMatchOptions","stateManager","_events","disposed","isNgZoneEnabled","ɵConsole","navigationTransitions","componentInputBindingEnabled","eventsSubscription","resetConfig","subscribeToNavigationEvents","mergedTree","scheduleNavigation","isPublicRouterEvent","resetRootComponentType","initialNavigation","setUpLocationChangeListener","navigateToSyncWithBrowser","nonRouterCurrentEntryChangeSubscription","stateCopy","parseUrl","getCurrentNavigation","navigationExtras","relativeToUrlSegmentGroup","removeEmptyProps","validateCommands","matchOptions","priorPromise","RouterLink","tabIndexAttribute","onChanges","isAnchorElement","updateHref","setTabIndexIfNotOnNativeEl","newTabIndex","applyAttributeValue","sanitizedValue","RouterLinkActive","_isActive","routerLinkActiveOptions","isActiveChange","routerEventsSubscription","links","subscribeToEachLinkOnChanges","linkInputChangesSubscription","allLinkChanges","isLinkActive","routerLinkActive","hasActiveLinks","ariaCurrentWhenActive","isActiveMatchOptions","isActiveCheckFn","PreloadingStrategy","RouterPreloader","preloadingStrategy","setUpPreloading","preload","processRoutes","injectorForCurrentRoute","injectorForChildren","preloadConfig","loadedChildren$","recursiveLoadChildren$","loadComponent$","ROUTER_SCROLLER","RouterScroller","viewportScroller","lastId","lastSource","restoredId","anchorScrolling","createScrollEvents","scrollEventsSubscription","consumeScrollEvents","scheduleScrollEvent","routerFeature","getBootstrapListener","bootstrappedComponentRef","bootstrapDone","BOOTSTRAP_DONE","INITIAL_NAVIGATION","ROUTER_PRELOADER","withPreloading","withViewTransitions","skipInitialTransition","ROUTER_FORROOT_GUARD","ROUTER_PROVIDERS","rootRoute","provideForRootGuard","useHash","scrollOffset","provideInitialNavigation","enableViewTransitions","ROUTER_INITIALIZER","locationInitialized","DEFAULT_CONFIG","fromSubscribable","subscribable","ERR_SW_NOT_SUPPORTED","NgswCommChannel","serviceWorker","controllerChanges","controller","currentController","controllerWithChanges","registration","getRegistration","publish","multicast","subjectOrSubjectFactory","errorObservable","sw","postMessageWithOperation","operationNonce","waitForOperationCompleted","generateNonce","eventsOfType","filterFn","nextEventOfType","isEnabled","SwPush","pushManager","subscriptionChanges","notificationClicks","workerDrivenSubscriptions","pm","getSubscription","requestSubscription","pushOptions","userVisibleOnly","decodeBase64","serverPublicKey","applicationServerKey","atob","JWT_OPTIONS","JwtHelperService","urlBase64Decode","b64DecodeUnicode","b64decode","bc","decodeToken","_decodeToken","decoded","getTokenExpirationDate","_getTokenExpirationDate","isTokenExpired","offsetSeconds","_isTokenExpired","getAuthScheme","authScheme","fromPromiseOrValue","JwtInterceptor","jwtHelper","standardPorts","disallowedRoutes","throwNoTokenError","skipWhenExpired","isAllowedDomain","requestUrl","hostName","domain","isDisallowedRoute","requestedUrl","parsedRoute","handleInterception","tokenIsExpired","isExpired","innerRequest","asyncToken","parentModule","jwtOptionsProvider","isEqual","unordered","valueLen","unorderedArraysEqual","item1","item2","sortedArray1","sortedArray2","recordKeys","AccountModel","Portal","External","Social","Fortress","TicketMaster","SeeTickets","Instagram","Google","Twitter","Pinterest","LinkedIn","Yahoo","Yandex","TencentQQ","Weibo","Youku","TDC","YesPay","PayEx","Lodestone","MLBAM","OutBox","OptBank","EPay","TNS","WhatsApp","FourSquare","RoboTicket","SportSubs","TopTix","PayPal","Forecast","OptimalPayments","TicketMasterUK","Wirecard","Passbook","GlobalProcessingService","TradableBits","CreditGuard","Ingenico","Awin","ThreePAK","Stripe","FreedomPay","Paya","Zoom","Incrowd","UrbanZoo","SAP","TheFirstClub","SportsAlliance","StreamAMG","Rakuten","Fidel","Partnerize","EBay","Impact","OctopusEnergy","TheSupermarketingGroup","Optomany","SmartPayFuse","KeyCloak","SeatGeek","Secutix","Tappit","OtherMedia","TradeDoubler","GlobalPaymentsUK","EnduranceZone","EveryPay","PayTech","InputType","Password","QueryString","Header","Hidden","RequestData","Javascript","UserContext","CustomerTag","TagValue","TagName","USERCONTEXT_MOCK_FR","sessionId","customerTags","clientType","tierId","tierName","MEMBER_DETAILS_MOCK","TicketActionStatus","Gender","OtherNumber","MobileNumber","LastUpdated","IsFirstTimeUser","IsAccountActive","CompanyName","EntityUserLevel","EventTypeId","Deleted","LastLogin","ActivationDate","CreationDate","UpgradeDate","SpareExternalId","Username","CountyId","CountryId","MEMBERSHIP_OPTION_MOCK","PaymentType","ShippingType","AutoAssignBarcodeType","DontAssign","AutoAssignFree","AutoAssignPaid","PaymentOptionType","Free","Paid","Collection","ProviderTranslationStatus","Unknown","Inactive","configMock","cashBack","virtualEcash","lifetimeLoyalty","corporateGift","Guid","generateNewGuid","MemberStore","defaultLogLevel","logLevelConfigValue","getLogLevel","objects","Info","getPortalId","getClientType","getPopulationId","getClubId","jwtService","getHeaders","refreshToken","sessionStorageSessionId","sessionStorage","decodedRefreshToken","login_id","getChildData","childRoute","getForParent","parentEntity","parentId","childEntity","getById","postWithArray","postForParent","setCardId","cardId","getFile","uploadForm","formData","CustomDataSetService","GetCustomDataSet","dataId","ProviderService","ConnectToProvider","divName","providerResponse","hasHiddens","OutputFields","hasUrl","hasQuery","hasJavascript","pageForm","FieldName","memberStore","fetchMemberDetails","decodedToken","member_id","setUserContext","setPopulation","setAvailableAccounts","Lcid","unhashedPassword","passwordConfirmation","getRepresentative","getRepresentativeImage","repId","MlbamLoginResponseStatus","Login","AccountList","CreateAccount","createMemberCard","wipeBalance","AvailableBalance","MemberCardStore","BalanceStore","purseId","BalanceQuery","purse","selectBalancesByPurse","selectBalancesByMember","MemberCardQuery","getCurrentCard","selectUserInProductCodes","productCodes","ProductCodeDisplayName","selectCardWithBalance","selectCardsWithBalance","memberCards","MemberCardService","memberCardStore","balanceStore","fetchCards","withoutBalance","withBalance","setProductCode","productCode","fetchCard","ChildStore","ChildQuery","childState","getGuardianId","selectFree","MembershipOption","selectChildLimitCount","errorSubject","error$","hasErrors","clearAfter","ChildService","childStore","fetchChildByChildMemberId","childMemberId","lostCardObservable","attendance","checkInAttendance","lastName","externalRefNumber","CardStore","CardQuery","CardService","cardStore","PopulationStore","PopulationService","populationStore","fetchPopulations","PopulationQuery","selectUserInPopulation","populationNames","selectUserNotInPopulation","userInPopulation","population","userNotInPopulation","getCurrentPopulation","PopulationId","selectCurrentPopulation","selectCurrentPopulationDisplayName","selectPopulations","pops","datepipe","populationService","populationQuery","hasAccessToken","_makeUserContext","refreshAccessToken","AccessToken","RefreshToken","authResponse","loginThirdPartyObservable","openInNewWindow","sendForm","switchUserLoginUsingToken","mlbamLogin","deviceGUID","successRedirectUrl","chooseAccountRedirectUrl","createAccountRedirectUrl","LoginFields","PortalUrl","Tokens","AvailableAccounts","providerTokens","combinedTokens","switchToGuardian","external_ref","population_id","population_name","portal_id","session_id","account_status","client_type","login_type","clubs","client_attribute","tier_id","tier_name","customer_tags","switchClub","MembershipOptionStore","MembershipOptionService","membershipOptions","fetchRegistrationMembershipOptions","MembershipOptionQuery","selectPaid","RegistrationMembershipOptionResolver","createInitialState$3","MemberLoyaltyStatusStore","MemberLoyaltyStatusService","memberLoyaltyStatusStore","fetchMemberLoyaltyStatus","loyaltyStatus","MemberLoyaltyStatusQuery","selectMemberAveragePoints","AveragePointsBalance","memberLoyaltyStatusService","AlertStore","AlertQuery","selectAlerts","getAlerts","AlertService","alertStore","alertQuery","fetchUserAlertPreferences","tap$1","alerts","mapTo$1","updateUserAlertPreferences","storedAlerts","updatedAlerts","AlertId","AutomaticTopUpAddress","TopUpAddress","ADDRESS_DEFAULT_MOCK","ADDRESS_SHIPPING_MOCK","VALID_ADDRESS_MOCK","AddressStore","AddressQuery","AddressService","addressStore","fetchAddresses","topupaddress","BalanceService","useExternalRefBalance","TotalBalanceAllowedToSpend","points$","AnnouncementLinkType","NoAction","Internal","ANNOUNCMENET_MOCK","GameTitle","ComingSoonDate","ComingSoonDescription","ComingSoonTitle","AnnouncementStore","AnnouncementQuery","AnnouncementService","announcementStore","ContactService","CompanyType","All","CompanyStore","CompanyQuery","selectCompany","companyId","CompanyService","companyStore","fetchCompany","COMPANY_OFFERS_MOCK","CategoryTags","Discount","CouponCode","CompanyOfferStore","CompanyOfferQuery","foundOffer","relatedOffer","LoyaltyCategoryType","GooglePlus","Youtube","Membership","Payment","Notification","Ticketing","Voucher","Surveys","Fantasy","Announcements","PortalProducts","Guardians","GiftCodes","UINotifications","Worksheet","CompanyOffer","Scorecard","Benefits","Games","Transactions","MLBAMapp","CompanyOfferService","companyOfferStore","offersCategories","DepartmentType","SupportersClub","createDepartment","DEPARTMENT_MOCK","PageText","WebsiteUrl","GeoLocation","accuracy","timestamp","createInitialState$2","parentCompany","DepartmentStore","addCachedCompany","parentCompanyId","parentCacheIdentifier","dateCached","DepartmentQuery","selectDepartments","selectDepartment","DepartmentService","departmentStore","isCached","cachedTimeout","departments","processAffiliate","DepartmentResolver","SignalRBaseHub","stopSignalR","hubConnection","startConnection","registerOnServerEvents","groupName","lowerCaseKeys","mappedEntries","getMessageLanguageForLcid","ml","unseenCount","amountPerPage","NotificationCenterStore","updateUI","NotificationsCenterMappingStore","NotificationsCenterMappingService","notificationsCenterMappingStore","fetchNotificationMappings","mappings","NotificationManagementStore","NotificationManagementService","notificationManagementStore","fetchNotificationGroups","updateGroup","groupDto","NotificationGroupId","GroupHasLoyaltyTypeAndIsActive","NotificationGroupItems","foundItem","GetItemByLoyaltyId","groupItems","LoyaltyActionId","NotificationManagementQuery","loyaltyTypeIsActive","NotificationsCenterMappingQuery","getMappingFromNotifciation","mappingForLoyalty","nm","getInternalMappingLink","actionUrl","mappingExists","NotificationCenterService","mappingService","notificationManagementService","notificationManagementQuery","mappingQuery","notificationRequest$","notifications","updateTotal","totalCount","requests$","getUnseenNotificationCount","updateAmountPerPage","updateUnseenCount","getNotificationCenterPage","postNotificationsAsRead","notificationIds","utcNow","moment$1","isRead","readDate","updateIsOpen","updateCurrentPage","startNotificationCheck","currentTimeout","unseenNotificationIds","updatedUnseenCount","decrementPage","incrementPage","MaxPage","receiveNotification","notificationDto","getNotificationViewFromDto","addNotification","invalidateCache","currentMessageLanguage","messageLanguages","SignalRNotificationService","ScorecardStore","SORT_DIRECTION","asc","Sort","by","byDate","multiple","toMillis","ScorecardQuery","selectCompletedScorecardIds","hasLinkedScorecards","selectAllScorecardSorted","scorecardHasLinked","scorecardNoLinkedAndParent","indexStart","indexEnd","family","uncompletedIdx","ScorecardService","scorecardStore","initDataScorecardDescription$","updateScorecardContent","scorecardContent","actionContent","setScorecardActionToCompleted","scorecardActionId","ScorecardActionId","setScorecardMilesoneCustomerValueUpdate","customerValue","setScorecardToCompleted","currentScorecardId","completedDate","linkedScorecards","currentScorecard","isLinkedMoreThanTwo","childOfChild","newLinkedScorecards","hasCustomerSelectedPrize","listScorecard","prizeId","BadgesStore","BadgesV2Store","storeId","BadgesService","badgesStore","badgesv2Store","badges","fetchScorecardBadge","setBadgeToCompleted","fetchBadgeV2","SignalRScorecardService","scorecardActionMessage","scorecardMilestoneMessage","scorecardCompleteMessage","dateCompleted","AuctionItemDto","NoBids","UserNotBid","hasInstance","flattenToAuction","auctionView","Images","RequireRefesh","RefreshRate","HasUserBidOnAuction","BidsCount","BLACK","AuctionStore","AuctionQuery","getExists","selectAuctionStatus","selectFavourites","AuctionService","auctionStore","updateAuctionAfterBid","auctionUpdate","bidCount","winningPortalId","SignalRAuctionService","auctionUpdateMessage","SignalRHub","signalRNotificationService","signalRScorecardService","signalRAuctionService","createConnection","_this3","SignalRWizardService","loginResponse","SignalRUnauthrosiedHub","signalRWizardService","connectByOrderId","createConnectionByOrderId","NotificationCenterMessage","NotificationCenterMessageDto","NotificationCenterMessageView","NotificationCenterQuery","maxPage","isOpen$","unseenNotificationsCount$","pageNum$","showPrev$","showNext$","selectAllPagedView","pageNum","getOffset","notificationView","getUnseenNotificationIdsFromStore","NotificationMappingModel","NotificationCenterMappingResolver","EntityNotificationGroupDto","notificationGroupId","entityNotificaitonGroupId","EntityNotificationGroupId","EntityNotificationGroupItem","NotificationManagementResolver","PopUpNotificationModel","PopUpNotificationDto","Denied","Guided","PopUpNotificationViewModel","POPUP_NOTIFICATION_TEXT_MOCK","lCID","POPUP_NOTIFICATION_ACTION_MOCK","PopUpNotificationStore","PopUpNotificationQuery","popUpNotification","popUpNotificationViewModel","popUpNotificationLanguages","popUpNotificationLanguageForLcid","availableLanguages","defaultLanguage","PopUpNotificationService","fetchPopUpNotifications","popUpNotifications","popUpNotificationService","LoadCard","PrintTicket","SellTickets","TransferTickets","LoyaltyScheme","Guardian","GuardianChildren","TermsAndConditionsStore","storeID","TermsAndConditionQuery","selectTermsAndConditions","selectedType","hasTerms","termsType","TermsAndConditionsService","termsAndConditionsStore","termsAndConditionsQuery","fetchTermsAndConditions","terms","term","getTermsAndConditions","EarnPointsStore","EarnPointsService","earnPointsStore","earnPoints","EarnPointsQuery","FaqSectionStore","FaqSectionService","FaqSectionQuery","responseString","queryString","ResponseString","CARD_TOKEN_MOCK_DEFAULT","CardToken","ExpiryDate","CARD_TOKEN_MOCK_OTHERS","ProviderActionModel","PostForm","IframeModalRedirect","IframeModalPostRedirect","IframeRedirect","IframePostRedirect","RenderContent","RenderContentToIFrame","ProviderNextActionKind","ContactPaymentGateway","RequireShippingInformation","RequireAddressInformation","ValidateDefaultAddressUponPurchase","PROVIDER_RESPONSE_SUCCESS_MOCK","ErrorCode","FormId","Form","TargetName","Scripts","PROVIDER_RESPONSE_NEED_SHIPPING_MOCK","PROVIDER_RESPONSE_NEED_ADDRESS_MOCK","PROVIDER_RESPONSE_ERROR_MOCK","acn","successUrl","AutoTopUpThreshHold","AutoTopUpTopUpAmount","TransferAmounts","TopUpMobile","CharityDonation","EcashTransferViewModel","ToMemberId","PurseNumber","createRenewalBonus","CardTokenStore","CardTokenQuery","selectFrozenCards","selectExpiredCards","selectUnexpiredCards","PaymentService","loadScript","paymentResponse","_providerActionResponsePostForm","_providerActionResponseRenderContent","_providerActionResponseIFrameRedirect","reasonId","targetDivName","eval","lastItem","PaymentService_Factory","CardTokenService","cardTokenStore","fetchCardTokens","ignoreCache","fetchDefaultCardToken","formName","cardTokenId","frozen","setCardTokenStatus","fetchCardTokenStatus","TopupTicketStore","topUpAmounts","setTickets","newArr","removeTicket","topUpTicket","EcashService","topUpAmountId","transferEcash","AutoTopupStore","AutoTopupQuery","AutoTopupService","autoTopupStore","RenewalBonusService","currentMember","renewalBonus","Members","MemberID","RenewalBalanceInPence","GAME_MOCK","GameType","ProductTypeId","ProductTypeName","SeasonId","TeamNames","HomeTeamName","TicketsAvailableToTransfer","TicketsTransferred","TicketsPending","WindowStartDate","WindowEndDate","EventsService","_eventWithTickets","eventWithTickets$","eventWithTickets","getCurrentOrNext","getEventsWithTickets","_this4","GameStore","TicketMediaType","CARD","BARCODETICKET","PAPERTICKET","TicketFlag","ACTIVE","EXTERNALBARCODE","TRANSFERRED","CALLBACK","ONSALE","SOLD","DONATED","DISTRIBUTED","SHARED","TicketActionType","TransferToEmail","TransferToMember","Resell","Donate","Upgrade","Callback","TicketStore","TicketQuery","selectAllTickets","getTicketInformation","MediaType","checkFlag","IsCallbackAllowed","IsTransferToEmailAllowed","Transferred","GameQuery","selectAllGamesByDataSource","dataSourceType","selectGameByDataSourceAndGameNumber","gamesUpcoming","selectGamesWithTickets","ticketInfo","_getDistinctGames","selectUpcomingGamesWithTicketData","selectPastGamesOnlyWithTicketData","selectUpcomingGames","selectPastGames","grouping","GameService","gameStore","apiService","generateUrl","setGameDataSource","gameDataExists","dataExists","setActiveGame","fetchGamesWithTickets","MobileAppRequest","ClubID","LanguageID","UniqID","TransferFundsRequest","sourceMemberId","sourceAcn","targetAccountId","targetEmailAddress","RequestHeader","SourceMemberID","SourceACN","TargetMemberID","TargetAccountID","AmountInPence","TargetEmailAddress","TransRef","ExternalCashTransferStore","ExternalCashTransferQuery","ExternalCashTransferService","externalTransferStore","selectedMemberId","transferRequest","AccountID","CHILD_REGISTRATION_MOCK","GuardianId","LastUpdate","RegistrationId","IsAlreadyPaid","GuardianFlags","IS_MEMBER","IS_SPECIAL_MEMBER","INTRESTED_IN_SINGLE","INTRESTED_IN_GROUP","INTRESTED_IN_SUITES","INTRESTED_IN_MEMBERSHIP","RECIEVE_EMAIL_EVENTS","RECIEVE_EMAIL_COMMERCIAL","TestItem","AgeRestricted","NotInPopulation","ItemClosed","ItemNotStarted","NoLimit","LimitByMember","LimitByAccount","MarketplaceItem","MarketplaceItemLimitType","MARKETPLACE_ITEM_MOCK","ProductItemId","AvailableCount","AllowOne","TestOnly","ItemLimitCount","ItemLimitType","LimitCount","LimitType","IsOwnWindow","SoldCount","MaxQuantity","ProductName","ThumbnailURL","ItemThumbnailURL","ItemPopulationType","AddedAdminId","UpdatedAdminId","EmailText","PurchaseAllowed","MemberPurchaseCount","AccountPurchaseCount","NumberOfAvailableVouchers","EmailCategoryId","ShippingEnabled","ShippingMethods","ShippingFeeInMerchant","ShippingFeeInEcash","ExpiresAfter","ExpirationEndDate","IsAdminUser","SponsorId","MarketplaceVirtualEvent","AvailableItem","AvailableEvent","MarketplaceBasket","updateBasket","basket","MARKETPLACE_ATTRIBUTE_CART_ITEM","MARKETPLACE_CUSTOMFIELD_CART_ITEM","MarketplaceBasketItem","rewardItemId","displayName","pointsValue","ecashValue","merchantValue","attributeMappingId","maxQuantity","imageURL","fromMarketplaceItem","MarketplacePurchasedItem","CUSTOM_FIELD_TEXTBOX_MOCK","CUSTOM_FIELD_CHECKBOX_MOCK","CUSTOM_FIELD_MULTILINE_MOCK","MARKETPLACE_ITEM_CUSTOM_FIELDS_MOCK","FortressGB","LoyaltyType","AUCTION","LOTTO","PRIORITY","HIGH","MEDIUM","LOW","STOCK_LOW","LIMITED_STOCK","LoyaltyStatus","_disabledStatus","MixedLoyaltyItem","MixedLoyaltyItemType","MixedLoyaltyWalletItem","LoyaltyActionType","Facebook_Connect","Facebook_LikeAPage","Facebook_PostOnWall","Facebook_ShareAPost","Facebook_CheckIn","Facebook_CommentOnPost","Facebook_LikePost","Facebook_LikeAComment","Facebook_PageVisit","Facebook_DeleteItem","Facebook_Disconnect","Facebook_Marketplace_Share","Facebook_Marketplace_Post","Facebook_Auction_Share","Facebook_Auction_Post","Facebook_Lottos_Share","Facebook_Lottos_Post","Twitter_Connect","Twitter_Follow","Twitter_HashTag","Twitter_Retweet","Twitter_Mention","Twitter_Photo","Twitter_Favorite","Twitter_SpredFastPost","Twitter_Disconnect","Twitter_Marketplace_Share","Twitter_Marketplace_Post","Twitter_Auction_Share","Twitter_Auction_Post","Twitter_Lottos_Share","Twitter_Lottos_Post","Google_Connect","Google_Follow","Google_Plus1","Google_Comment","Google_Share","Google_Disconnect","FourSquare_Connect","FourSquare_CheckIn","FourSquare_OfferRedemption","FourSquare_Follow","FourSquare_VenueLike","FourSquare_Disconnect","Instagram_Connect","Instagram_Follow","Instagram_Like","Instagram_Comment","Instagram_PostPhoto","Instagram_HashTag","Instagram_Mention","Instagram_SpredFastPost","Instagram_Disconnect","Youtube_Connect","Youtube_Subscribe","Youtube_Like","Youtube_View","Youtube_Comment","Youtube_Disconnect","LoginToPortal","LoginToPortal3rdParty","LoginToPortalSSO","LoginIntoChildAccount","SwitchAccount","LoginIntoGuardian","SwitchClub","Attendance","AddPartner","AddPartnerNewMember","DeletePendingPartner","ReferredAFriend","ReferredByAFriend","PartnerRemoved","AnswerSurvey","AnswerPoll","AnswerFeedBack","BuySweepstake","BuyRaffle","PlaceAuctionBid","AuctionItemWon","AnswerSurveyCorrect","AnswerSurveyCorrectBonus","ConnectToMLBAM","WatchVideoInPortal","UpgradeMembershipLevel","AutoTopUpSubscription","BirthdayBonusPoints","MarketplacePurchase","MarketplaceEventPurchase","MarketplaceDownloadPurchase","MarketplaceVoucherPurchase","MarketplaceVirtualEventPurchase","FanAssit","FanAssit_Tickets","AttachTicketMasterAccount","AnswerPredictorCorrectly","AnswerPredictor","AuctionItemLost","NewAccountCreation","NewPartnerAccountCreation","NewFriendAccountCreation","AccountActivation","LinkChildAccount","CardReprintRequest","CardReprintRequestOrderProcessed","ProductCodeChanged","AccountCreatedViaSync","MarketplaceTransferCompleted","Fantasy_PlayerSelection","PortalProductPurchase","PortalProductMembershipPurchase","PortalProductAccDescriptionPurchase","ChildCardPrint","GuardianCardPrint","Questions","AdminUpgradeChildAccount","PortalProductDiscountPurchase","PortalProductUpgradeMembership","CardSubscriptionAdded","PortalProductRsnMembershipSubscriptionAdded","NewGuardianAccountCreated","NewChildAccountCreated","NewExternalAccountCreated","DownloadWorksheetClick","CustomerTagUpdated","BenefitClaimed","PortalProductPointsPurchase","ReadArticle","SKUPurchase","SKUBasketPurchase","WorksheetItemActivated","RedeemMarketplaceCoupon","CompleteProfile","DeletePendingChild","AddPendingChild","PaymentTopUpAmericanExpress","PaymentTopUpVisa","PaymentTopUpMasterCard","PaymentTopUpDiscover","PaymentTopUpJCB","PaymentTopUpDebit","PaymentTopUpOther","PaymentAutoTopUpAmericanExpress","PaymentAutoTopUpVisa","PaymentAutoTopUpMasterCard","PaymentAutoTopUpDiscover","PaymentAutoTopUpJCB","PaymentAutoTopUpDebit","PaymentAutoTopUpOther","PaymentRecurringSubscriptionSuccessfullyCompleted","PaymentRecurringSubscriptionFailedCompleted","PaymentRecurringSubscriptionCancelledCompleted","PaymentGatewayTransaction","CardLinkTransaction","CardLinkAddNewCard","OnlineAffiliateTransaction","MarketPlaceOrderProcessed","PaymentTopUpCompleted","AuctionNotification","MarketplaceNotification","LottoNotification","SurveyNotification","FantasyNotification","DigitialTicketingNotification","EcashNotification","RewardsNotification","MLBAMNotification","AffiliateNotification","AuctionExpirationNotification","AuctionActivationNotification","TicketTransferOrder","TicketTransferSentTicket","TicketTransferRecieveTicket","TicketTransferSendInviteTicket","TicketTransferAcceptTicket","TicketTransferCallBackTicket","TicketDonationOrder","TicketDonationSentTicket","TicketDonationRecieveTicket","TicketResaleOrder","TicketResalePlaceTicketOnResaleTicket","TicketResaleSellTicket","TicketResaleBuyTicket","SiteVisit","SidelineSportsRiskIt","SidelineSportsPick3","SidelineSportsBingo","ThirdPartySSOReturn","TransactionsAccess","TransactionsPayment","TransactionsLoyalty","TransactionsInteractions","TransactionsSocial","TransactionsCorrection","TransactionsRefund","TransactionsMarketplace","TransactionsAuctions","TransactionsCompetitions","TransactionsVoucherCode","TransactionsCheckIns","TransactionsPollsSurveys","TransactionsTrivia","TransactionsFantasy","BingoFantasy","DebitAccountGPSSuccess","DebitAccountGPSFail","CreditAccountGPSTopUp","CreditAccountGPSAutoTopUp","LoyaltyEmailAlert","LoyaltyEmailAlert2","LoyaltyEmailAlert3","JoinWebCall","SingleStockType","MarketplaceItemMapping","MarketplaceItemAttributeDisplayType","Free_Text","Date_No_Expire","Colour","Other","MARKETPLACE_ITEM_ATTRIBUTES_MOCK","RewardAttributeId","DisplayType","Values","RewardValueId","RewardMappingIds","Locales","MARKETPLACE_ITEM_FR_ATTRIBUTES_MOCK","MARKETPLACE_ITEM_ATTRIBUTE_MAPPING_MOCK","MARKETPLACE_ITEM_ATTRIBUTE_VALUE_MOCK","TransactionSuccessStore","TransactionSuccessQuery","itemExists","txRedirect","TransactionSuccessService","transactionSuccessStore","RewardsWalletStore","setGroupedWalletItems","walletItems","groupedWalletItems","isPersonalizedItem","tempId","_setGroupId","groupId","GroupId","RewardsWalletQuery","selectRewardWalletItems","redeemed","_sortByRedeemDate","_sortByPurchaseDate","selectGroupedRewardWalletItemsByStatus","_groupItems","selectGroupedRewardWalletItems","selectGroupById","_getUniqueValues","groupedItems","WalletId","RewardsWalletService","rewardsWalletStore","rewardItems","groupedWalletResolver","WalletAttributes","WalletCustomFields","LottoState","AuctionState","MarketplaceState","catchError$1","LottoStore","LottoQuery","selectLotto","_maxEntries","quantityLimitFromFunds","MaxTotalTicketLimit","NumberOfTicketsPurchasedByAccount","LottoService","lottoStore","_this5","lockAllItems","currentUrl","LottoWalletStore","LottoWalletQuery","selectLottoWalletItems","selectLottoWalletItem","LottoWalletService","lottoWalletStore","lottoWalletQuery","fetchLottoWalletItems","MarketplaceStore","updatedItem","MarketplaceQuery","selectMarketplaceItem","selectMarketplaceItemsOfType","mappingId","_purchaseLimit","PurchaseStore","BasketService","_basket","basket$","getCurrentBasket","addItemToBasket","existingItem","removeItemFromBasket","emptyBasket","_this6","MpThemeService","_themes","getTheme","MarketplaceService","marketplaceStore","purchaseStore","themeService","updateMarketplaceStoreWithBasketItem","removeBasketItemFromStore","useCardToken","_this7","purchaseBasketWithProviderResponse","_this8","purchaseBasket","_this9","_this10","purchaseBasketMarketplace","_this11","completePurchaseBasketOrder","postBackUrl","_this12","PostBackUrl","UseCardToken","checkoutStart","_this13","updateAdress","_this14","updateShippingAdress","_this15","MarketplaceExtendedQuery","_mapArray","_mapSingle","selectExtendedMarketplaceFavourites","marketplaceItemId","attributesToLocalise","getLocalaisedAttributeName","avIndex","indexAttributeValue","getLocalisedValueName","foundMarketplaceItem","foundValue","matchedAttributeLocale","attributeValue","matchedAttributeValueLocale","backLink","_transform","_calculateItemStatus","loyaltyBalance","isLimited","PurchaseQuery","selectPurchaseById","selectRedeemedPurchases","RedeemStatus","selectUnredeemedPurchases","AuctionBidStatus","Failed","AuctionBidStore","AuctionBidQuery","selectBid","selectActiveBids","ItemWon","selectCurrentLosingBids","AuctionBidService","auctionBidStore","auctionBidQuery","PurchaseStatus","Partial","Refunded","CalledBack","CalledBackFailed","RequireMoreInformation","RefundedByCustomer","PurchaseService","fetchMemberPurchases","fetchPurchaseBasketByOrderId","addressToUpdate","fetchMemberPurchaseById","_this16","isRegistration","completeTransaction","stockStatus","_getAuctionStatus","_getMarketplaceStatus","_getLottoStatus","hasDisabledStatus","hasStockStatus","isNew","comingSoon","isUnlimited","purchasePrice","MixedLoyaltyQuery","auctionBidService","itemTypes","arrays","selectMixedLoyaltyWalletItems","selectWalletItems","selectMixedLoyaltyWalletItemsNoFetch","showSoldOut","_sortByOrdinal","walletFetch","_this17","marketplacePurchases","UnredeemedCountService","_unredeemedWalletCount","unredeemedWalletCount","fetchUnredeemedWalletCount","shareReplay$1","resultCount","Notifications","UnRedeemedRewardsCount","Unclaimed","BenefitStore","setLimit","BenefitQuery","_getBenefitsClaimed","withShownWhenInactive","showClaimed","isShowableStatus","ShowWhenOutOfStock","claimedStatuses","BenefitService","benefitStore","fetchBenefits","BenefitId","fetchLimit","Limit","AccountPopulation","ClientType","Web","App","StandAlone","OutputField","LocaleService","getAllLocales","getLocaleByLcid","LocaleModel","refreshSubject","updateHeader","authToken","unauthorizedResponse","caught","createInitialState$1","BarcodeStore","barcodeStore","REDEMPTION_RESULT","SUCCESS","intitialState","resultMessage","VoucherStore","VoucherService","voucherStore","redeemVoucherUsingStore","_setMessage","redeemVoucherLocation","VoucherQuery","resultMessage$","UserGeoLocation","ImageUploadService","getCustomerImage","uploadCustomerImage","StandardResult","BigInt","Bit","Char","Float","Int","Money","NChar","NText","NVarChar","Real","UniqueIdentifier","SmallDateTime","SmallInt","SmallMoney","Timestamp","TinyInt","VarBinary","Variant","Xml","Udt","Structured","Time","DateTime2","DateTimeOffset","termsAndCondtions","showTermsAndCondtions","termsAndCondtionsType","JokesModel","questionBanner","answerBanner","question","answerEmoji","getCurrencyCode","currentLang","HttpLoaderFactory","LocalStorageService","clearAll","LocationService","locationSubject","getLocation","ScreenSizeService","appScreenWidth$","getLcidByCultureCode","cultureCode","getTranslation","maintenanceUrl","translateService","loadTranslations","translation","setTranslation","resetLang","translations","FGBPreLoadingStrategy","showInConsole","translateKey","setRedirectUrlAfterRegistration","queryStringParameter","WebsiteContentFeatureFlagGuard","fetchDataFromRoute","redirectPath","getRedirect","AccountStatus","FirstTimeUser","firstTimeUserGuard","REGISTRATION_STEP_MOCK","Step","Complete","ShouldSkip","Settings","RegistrationStepStore","updateWizardType","updateIsComplete","updateQueryData","queryData","RegistrationStepQuery","getWizardType","getStep","getNextStep","incompleteSteps","getPreviousStep","previousSteps","getPreviousSteps","allSteps","getFinalStep","lastStepAsArray","hasPreviousStep","anyIncompleteSteps","getQueryData","matchingKey","StepType","PersonalDetails","PartnerInvite","ResetPassword","LoginDetails","PartnerCardPrint","SocialLink","SocialMediaCustomerIdentification","CheckGuardianMembership","GuardianQuestions","AddChild","GuardianDetails","ProcessPartnerRequest","LoginDetailsEdit","ValidateMemberIdAndCardNumber","AgeVerificationAndTerms","OptOutEmails","PartnerManagementRemoveOrKeep","OptOutAlerts","ProviderTranslation","ProviderAuthentication2","ChildQuestions","Basket","GetProviderDetails","ShippingAddress","OperatorName","ChooseMembershipOption","ProviderOAuth","Marketing","REGISTRATION_ROUTES","registrationStepStore","registrationRoutes","_calculateShouldSkipStatusesOnEntityChange","getStepDataAndHandle","startRegistrationProcess","_getQueryParamsAsHttpParams","Steps","QueryData","fetchRegistrationStepsForCurrentWizard","startStep","registrationSteps","_markPreviousStepsAsComplete","fetchRegistrationStepForCurrentWizard","shouldRunSetUpView","shouldSaveToStore","fetchRegistrationBasketForCurrentWizard","submitRegistrationStepData","shouldNavigateToNextStep","ChangedData","ErrorMessages","completeCurrentRegistration","ResultModel","navigateToStep","finalStep","makeRegistrationPayment","callbackUrl","giftCodes","BillingAddress","setStepCompleteStatus","setStepSkipStatus","shouldSkip","_getRouteByStep","modulePath","nextStep","navigateToPreviousStep","previousStep","navigateToEntryPoint","_getRouteByWizardType","_getMappedRoutes","personalDetailsStep","personalDetailsStepData","ShouldUseShippingAddress","httpParams","RegistrationStepResolver","currentStepType","getCurrentStepType","FirstTimeRegistration","QuickRegistration","PartnerRegistration","NewMemberRegistration","SocialRegistration","GuardianRegistration","NoIpid","ChildRegistration","InPark","RegistrationQuestionType","TextBox","DropDown","MultiSelect","Radio","Checkbox","ALERT_MODEL_MOCK","AlertID","IsHidden","ALERT_MODEL_RESPONSE_MOCK","CountryStore","CountryQuery","SelectCountryAndRegions","selectAllCountries","CountryService","countryStore","countryQuery","fetchCountries","countryService","registrationResolver","RegistrationBasketStore","RegistrationBasketQuery","RegistrationBasketService","registrationBasketStore","registrationBasketQuery","TICKET_INVITE_MOCK","Comments","ExternalPendingRef","GameName","LinkId","MemberName","TransferACN","TransferEmail","TransferMemberId","TransferPortalId","UniqKey","SubmitTicketRequestModel","TicketTransactionType","TicketPrint","RePrint","SellBarcodeTicket","CancelBarcodeTicket","ActiveCardTicket","CritcalCardCancel","CritcalBarcodeCancel","BarcodeTransferIn","BarcodeTransferOut","CardTransferIn","CardTransferOut","BarcodeLoadedToCard","CallBack","CallBackByOrignalMember","ResaleActiveCardTicket","ResaleCancelCardTicket","ResaleSellBarcodeTicket","ResaleCancelBarcodeTicket","DonationCancelCardTicket","DonationCancelBarcodeTicket","DonationSellBarcodeTicket","TicketService","ticketStore","fetchTickets","fetchTransferHistory","toggleSelectTicket","toggleSelectAllTickets","anyUnselected","removeSelectedTicket","resetTransferredTickets","setTransferredTicket","callbackTicket","deliveryParameters","TicketAction","ShouldUseUniqueDeliveryParameters","DeliveryParameters","objDeliveryParameters","ticketToSubmit","submitTicketRequest","UsePurchaseService","Result","Ticket","transferTicket","TransfereeEmailAddress","validateTicketInviteCredentials","ticketRequest","ticketTransferprocess","TicketDetails","AreaLine1","StandName","Hide","barcodeAcn","area","barcodeACN","TopupTicketService","topups","topup","MobilePassStore","MobilePassQuery","MobilePassService","mobilePassStore","passUrlResonse","TRANSACTION_MOCK","POS","CardBalance","AccountBalance","AccountNumber","ExternalVendorRef","ActionId","createInitialState","cachedDates","TransactionStore","addCachedDate","TransactionQuery","getLastSearch","ts","TransactionService","transactionStore","fromDate","cardLinkFromDate","cardLinkToDate","TransactionExtendedStore","itemDetails","setItemDetails","setUILoading","TransactionExtendedQuery","_groupByDate","hasItemDetails","_sortByDate","_formatDate","TransactionExtendedService","transactionExtendedStore","getExtendedTransactions","purseNumber","getTransactionDetailsByTref","tref","FantasyGameStore","FantasyGameQuery","selectGames","getSelectedPlayer","selectFinishedGames","FantasyGameService","fantasyGameStore","fantasyGameQuery","fetchFantasyGames","FantasyLeaderboardStore","FantasyLeaderboardQuery","yearlyLeaderboard","FantasyLeaderboardService","fantasyLeaderboardStore","fetchMonthlyLeaderboard","fetchYearlyLeaderboard","FantasyHistoryStore","FantasyHistoryQuery","selectAllHistory","gameStatuses","FantasyHistoryService","fantasyHistoryStore","fetchFantasyHistory","fantasyHistoryService","userPop","allowed","ProductCodeStore","ProductCodeQuery","selectCurrentUserIsProductCode","selectCurrentUserIsNotProductCode","currentUserIsProductCode","currentCode","currentUserIsNotProductCode","ProductCodeService","productCodeStore","fetchProductCodes","codes","productCodeQuery","productCodeService","excludeCodes","includeCodes","codesRedirect","productCodesFetch$","memberCardFetch$","ClubTagQuery","selectUserHasTag","lookupTag","checkValue","userTags","hasTag","selectUserNotHasTag","foundTag","AddressBookStore","AddressBookQuery","selectAllContacts","AddressBookService","addressBookStore","addressBookQuery","fetchAddressBook","contact","contactId","addressBookService","Manual","OnEndDate","EntryClosedNoAnswer","SurveyListOrderType","Question","Survey","Feedback","Multiple","SurveyStore","SurveyQuery","MAX_SAFE_INTEGER","returnSurveys","selectHomepageSurvey","entryA","entryB","SurveyService","surveyStore","showComingSoon","showOutOfStock","showEndedItems","showAnswered","ShowToUser","ShowAtTop","fetchSurveyById","hideToUserAfterTimeout","timeoutMs","_this18","surveyAnswers","_this19","scorePredictorAnswers","_this20","RegistrationConfirmation","ForgotPassword","FeedBackForm","SingleTicketTransfer","SinglePendingTicket","MultipleTicketTransfer","MultiplePendingTicket","TicketSentConfirmation","TicketCallBack","TicketConfirmationCallBack","TopUpConfirmation","DownloadLinkTicket","FamilyTopUpConfirmation","ActiveAccountRequest","RedmptionTicketCompletionConfirmation","FirstTimeUserComplete","FirstTimeUserCompletedByAnAccountMember","PartnerInviteEmail1","PartnerInviteEmail2","PointsTransferedOut","PointsTransferdIn","MultipleTicketConfirmationSent","AutomaticTopUpSuccess","AutomaticTopUpFailure","ResaleSingleTicket","ResaleConfirmationSoldEmail","RewardVoucherEmail","Distribution_PendingDistribution","Distribution_PendingConfirmation","Distribution_PendingRejection","Distribution_TicketTransfer","Distribution_TicketTimeout","Distribution_TicketCancellation","PendingPartner_SendPendingRequest","AuctionWin_Admin","AuctionWin_Customer","Ticket_DontateTicket","Ticket_DontateTicketSent","Customer_RequestAccountTransfer","ResaleMultipleTicket","ParkingTicketCallBack","ParkingTicketTransfer","Resale_OrderCreationConfirmation","Resale_ChangeResaleTicketChangeConfirmation","Resale_ChangeResaleOrderChangeConfirmation","Resale_TicketWindowClosed","Resale_InvoiceEmail","Ticket_MultipleDontateTicket","Ticket_MultipleDontateTicketSentConfirmation","Resale_DeleteOrderGroup","Resale_InvoiceAdminEmail","Redemtpion_SuiteQuestionaire","RewardUniqCodeEmail","Auction_SingleNotification","Auction_GeneralNotification","Admin_AutomaticTopUpFailure","PendingFriend_SendPendingRequest","PendingFriend_SendFriendCompleteConfirmation","PendingPartner_SendPartnerCompleteConfirmation","LottoWin_Customer","Reward_DownloadEmail","Reward_EventEmail","SocialConnection_RemovedAutomatically","PasswordChanged","Voucher_SendDepartmentCode","CardPendingPrintRequest","ReprintRequest_Confirm","AccountActivationEmail","GuardianRegistrationCompleteEmail","ReferAFriendCompleteEmail","SocialRegistrationCompleteEmail","EmailRequestAttachmentType","PDF","EmailRequestAttachmentDocumentType","TicketTransfer","DonationTicket","MarketPlace","ResaleTicket","ParkingTicket","MarketPlaceDownload","EmailRequestAttachmentStatus","WaitingForProcessing","BeingProcessed","EMAIL_TYPE_STATUS_MOCK","EmailTypeId","MailingService","emailModel","CardStatus","PropertyTypeCode","Region","DateOfBirthNoYear","ModelDisplay","Half","TenGameClubStore","TenGameClubQuery","selectAllTenGameClubs","TenGameClubService","tenGameClubStore","tenGameClubQuery","fetchTenGameClubs","tenGameClubs","ProductTag","ProductIntervalPeriodType","Minute","Hour","Week","Year","PortalProductsStore","PortalProductsQuery","getProductsByProductType","productType","paidForOnly","PortalProductsService","portalProductsStore","useMemberDetailsAddress","resultUrl","useSubmittedAddress","ResultUrl","MemberProducts","UseMemberDetailsAddress","UseSubmittedAddress","PartnerStore","PartnerQuery","PartnerService","partnerStore","fetchPartners","partnerCode","partnerSecretCode","getFriendLink","sendReferFriendLink","PartnerPendingStore","PartnerPendingQuery","PartnerPendingService","partnerPendingStore","fetchPartnersPending","partnerEmail","comments","SeatingDetailStore","SeatingDetailQuery","SeatingDetailService","seatingDetailsStore","fetchSeatingDetails","seatingDetails","seatingDetailservice","GiftCodeService","calculateGiftCodeDeduction","productPrice","shippingPrice","totalBasketPrice","_getDiscountByEntitlementType","entitlementType","entitlementValue","amountToDiscountFrom","percentageAmount","_getAmountToDiscount","GiftCodeEntitlementPaymentType","Ecash","Merchant","GiftCodeEntitlementType","Pending","Used","GiftCodeUseType","OnceOnly","PerUser","NumberOfTimes","ExternalConnect","jwt","callBackUri","amCookieName","useCookie","authRedirectUri","signOutUri","integratorId","placementId","ExternalProviderService","externalRedirectToProvider","_this21","_this22","_saveToken","_getToken","_setToken","access_token","refresh_token","expires","expires_in","expiresDate","memberContext","LoginSocialId","SocialMembershipId","Key1","Key2","loginUsingCurrentToken","authenticate","loginToken","tmConfig","additionalState","_createNonce","isHttps","windowObjectReference","loginRedirect","ssoToModernAccount","errorException","eventer","ssoToModernAccountRedirect","openerLocation","opener","callbackSubscription","cookieState","authCallbackRedirect","registrationUrl","chooseRegUrl","stateSplit","bytes","crypto","getRandomValues","charset","UrbanZooAuthService","urbanZooConfig","providerSettings","ApplicationId","isUserLoggedIn","applicationId","lastAuthUser","idToken","isTokenInHeader","validateJWT","headersList","deleteUrbanZooCookies","SAPAuthService","SAPConfig","LoginScreenSet","gigya","accounts","getAccountInfo","UID","showLoginDialog","showScreenSet","screenSet","authFlow","onHide","logUserInIfLoggedInSAP","IncrowdAuthService","IncrowdConfig","logUserInIfLoggedInIncrowd","SportsAllianceAuthService","sportsAllianceConfig","tenantId","returnVisitPath","successredirectPath","mandatoryReg","ssoMode","returnVisitUrl","successDirectUrl","loginUrlParameters","generateLoginParameters","generatedUrl","generateLoginParams","mandatoryRegValue","ProviderRefreshToken","ProviderAccessToken","providerRefreshToken","providerAccessToken","saDomainCookie","SportsAllianceSettings","FidelService","FidelConfig","ProgramId","custom","fillNumber","openForm","companyName","sdkKey","SdkKey","programId","deletecard","getcards","UnloadScript","FidelJsLoaderService","FidelLinkedCardError","LinkedCard","PaymentCardType","MasterCard","AmericanExpress","Visa","Discover","JCB","DebitCard","DinersClub","UnionPay","LINK_CARD_MOCK","LinkedOffer","LinkOfferStatus","SQWADService","KeyCloakAuthService","KeyCloakConfig","KeyCloakSettings","SeatGeekAuthService","OtherMediaAuthService","LeaderboardStore","LeaderboardService","leaderboardStore","LeaderboardQuery","selectLeaderboard","currentUserIndex","slicedArray","LeaderboardResolver","PointsTransferService","toExternalRef","pointsTransferToMemberID","toMemberId","fromMemberId","WorksheetStore","WorksheetQuery","RouteUrl","worksheets","itemsCopy","_sortItemsByOrdinal","hasWorksheet","WorksheetService","worksheetStore","fetchWorksheetIdId","worksheet","streamToken","createMarketplaceCartItem","createPortalProductCartItem","CART_ITEM_MOCK","MARKETPLACE_CART_ITEM_MOCK","CartStore","updateQuantityOfItem","quantitySelected","updateFromCart","newQuantity","CartQuery","marketPlaceQuery","instanceOfMarketplaceItem","cartItems","productItems","marketplaceProduct","verifyCartItems","instanceOfPortalProduct","getMemberMarketplaceCartItem","getMemberPortalProductCartItem","portalProductId","matchingAttributes","selectMemberPortalProductCartItem","CartService","cartStore","updateFormCart","_this23","orderIdResponse","CustomerProductSusbcriptionPaymentStatusType","Ended","PortalProductsSubscriptionsStore","PortalProductsSubscriptionsQuery","PortalProductsSubscriptionsService","portalProductsSubscriptionsStore","fetchSubscriptions","portalProductsSubscriptionsService","FloodlightTrackingService","floodlightConfig","eventEmitter","transaction_id","facevalue","eventdatetime","dateofpur","billingstate","billingzip","delvmethod","transid","eventNameSeperated","allow_custom_scripts","u1","u2","u3","u4","u5","u6","u7","send_to","SendToPath","dc_custom_params","SCORECARD_ACTION_CONTENT_MOCK","SCORECARD_ACTION_MOCK","SCORECARD_CONTENT_MOCK","CompletedText","SCORECARD_MILESTONE_DETAILS_CONTENT_MOCK","SCORECARD_MILESTONE_DETAILS_MOCK","MilestoneActionId","SCORECARD_MILESTONE_MOCK","MilestoneActionType","SCORECARD_MOCK","CompletedImage","createScorecard","ScorecardContent","ScorecardAction","ScorecardActionContent","ScorecardActionMessage","ScorecardCompleteMessage","ScorecardMilestone","ScorecardMilestoneDetails","ScorecardMilestonesDetailsContent","ScorecardMilestoneMessage","NotCompleted","BadgesQuery","selectAllCompletedBadges","sortBadges","sortedBadges","Categories","cat","foundCategory","_filterByStatus","_sortByCompletionDate","BadgesV2Query","selectAllBadgesByCategory","badgesCategories","badgesCategory","selectCompleted","getAllBadgeAchieved","badgeSize","allBadge","cur","completedBage","incompletedBage","badgeAchieved","getNumberOfCompletedBadge","GbgIdentityVerificationStore","GbgIdentityVerificationQuery","GbgIdentityVerificationService","gbgIdentityVerificationStore","gbgVerificationQuery","fetchVerificationStatus","memberID","identityVerificationStatus","generateGbgSso","GbgIdentityVerificationSso","RedsoxChildrenTicketCodesStore","RedsoxChildrenTicketCodesService","redsoxChildrenTicketCodesStore","setChildrenTicketCodes","RedsoxChildrenTicketCodesQuery","CardLinkingStore","CardLinkingQuery","CardLinkOffersStore","CardLinkOffersQuery","limitOffersTo","tagId","baseOfferDetailsUrl","deactivateFidelOffersState","activatedOffers","CardLinkingService","cardLinkingStore","cardsLinked","cardID","IRL","SWE","CONTENT_MOCK","CARD_LINK_OFFER_ACTIVATE_MOCK","CARD_LINK_OFFER_CATEGORY_MOCK","CARD_LINK_OFFER_MOCK","DepartmentImageUrl","CARD_LINK_OPTION_MOCK","FeatureOffers","CardLinkOfferCategoriesStore","CardLinkOffersService","cardLinkOffersStore","cardLinkOfferCategoriesStore","extractCategories","allCategoryTags","categoryTag","CardLinkOfferCategoriesQuery","CardLinkOfferCategoriesService","CARD_LINK_AFFILIATE_CATEGORY_TAGS_MOCK","CategoryTagId","LoyaltyCategoryId","CARD_LINK_AFFILIATE_MOCK","ImageUrl2","CardLinkAffiliatesStore","CardLinkAffiliatesQuery","CardLinkAffiliatesService","cardLinkAffiliatesStore","CardLinkOfferLocationsStore","CardLinkOfferLocationsQuery","CardLinkOfferLocationsService","cardLinkOfferLocationsStore","offerLocations","createCardLinkOfferLocation","CARCLINK_OFFER_LOCATIONS_MOCK","MasterCardEnabled","VisaEnabled","AmexEnabled","CARDLINK_OFFER_LOCATION_DETAIL","UserQuestionsStore","UserQuestionsQuery","selectUserQuestion","UserQuestionsService","userQuestionQuery","userQuestionStore","fetchQuestions","updateAnswers","UserQuestionAnswerModel","QuestionId","AnswerId","Answer","AnswerDate","REGISTRATION_QUESTION_ANSWER_MOCK","QuestionType","QuestionCategory","CampaignOffersStore","CampaignOffersQuery","selectAllCampaignOffers","campaignOffers","CampaignOffersService","campaignOffersStore","WebPushNotificationService","deviceService","isAppBadgeSupported","swPush","isSubscribed$","_subscribeToWebPushNotifications","wb","_unsubscribeToWebPushNotifications","Key","logMessageReceived","logDenyPermission","publicKey","json","p256dh","webPush","Auth","P256DH","Endpoint","ExpirationTime","expirationTime","PublicKey","DeviceInfo","getDeviceInfo","setAppBadge","_this24","_ref3","pushSubscription","clearAppBadge","_x","_x2","getCurrentTierId","provideTMAuth","ssoAuth","loginAuth","CoreModule","PreviewTypeId","marketplace","PreviewStore","PreviewQuery","getAllScoreCard","getAllMarketplace","getAllLotto","getAllAuction","getAllReward","PreviewService","previewStore","previewQuery","endPoint","fetchPreviewScorecard","req$","checkHasEntity","fetchPreviewMarketplace","fetchPreviewLotto","fetchPreviewAuction","PreviewResolver","previewService","GamesGroupStore","GamesGroupQuery","GamePlayStatus","NotStarted","InProgress","GAME_GROUP_MOCK","featured","sponsor","locked","progressCount","questionCount","GamesGroupService","fetchGamesGroup","SocialService","typeId","shareLoyalty","idItem","urlPage","handleShare","TermsAndConditionsComponent_div_1_Template","termsAndConditions","BodyText","TermsAndConditionsComponent_ng_template_2_ng_container_1_Template","TermsAndConditionsComponent_ng_template_2_Template","defaultTerms","TermsAndConditionsComponent","termsAndConditionsService","defaultTemplate_r2","breaks","extensions","gfm","headerIds","headerPrefix","highlight","langPrefix","mangle","pedantic","silent","smartypants","tokenizer","walkTokens","escapeTest","escapeReplace","escapeTestNoEncode","escapeReplaceNoEncode","escapeReplacements","getEscapeReplacement","escape","unescapeTest","caret","getRegex","nonWordAndColonTest","originIndependentUrl","cleanUrl","prot","baseUrls","justDomain","rtrim","relativeBase","noopTest","splitCells","tableRow","cells","escaped","invert","suffLen","currChar","repeatString","outputLink","cap","raw","lexer","inLink","inlineTokens","Tokenizer","space","newline","codeBlockStyle","fences","indentCodeCompensation","matchIndentToCode","indentToCode","matchIndentInNode","indentInNode","inline","_escapes","heading","trimmed","hr","blockquote","blockTokens","istask","ischecked","indent","blankLine","endsWithBlankLine","nextLine","rawLine","itemContents","endEarly","bull","isordered","ordered","loose","itemRegex","trimLeft","nextBulletRegex","hrRegex","fencesBeginRegex","headingBeginRegex","trimRight","spacers","hasMultipleLineBreaks","align","rows","lheading","paragraph","inRawBlock","trimmedUrl","rtrimSlash","lastParenIndex","findClosingBracket","linkLen","reflink","nolink","emStrong","maskedSrc","prevChar","lDelim","nextChar","punctuation","lLength","rDelim","rLength","delimTotal","midDelimTotal","endReg","rDelimAst","rDelimUnd","codespan","hasNonSpaceChars","hasSpaceCharsOnBothEnds","br","del","autolink","prevCapZero","_backpedal","inlineText","_paragraph","bullet","listItemStart","_tag","_comment","normal","reflinkSearch","_punctuation","blockSkip","escapedEmSt","_scheme","_email","_attribute","_href","strong","endAst","endUnd","em","_extended_email","Lexer","inlineQueue","lex","lexInline","cutSrc","lastParagraphClipped","leading","tabs","extTokenizer","startBlock","tempSrc","tempStart","getStartIndex","errMsg","keepPrevChar","startInline","Renderer","infostring","quote","slugger","slug","listitem","checkbox","tablerow","tablecell","TextRenderer","Slugger","getNextSafeSlug","originalSlug","isDryRun","occurenceAccumulator","dryrun","Parser","textRenderer","parseInline","l2","l3","cell","itemBody","renderers","parser","Hooks","preprocess","markdown","postprocess","parseMarkdown","origOpt","marked","checkSanitizeDeprecation","changeDefaults","newDefaults","getDefaults","childTokens","pack","prevRenderer","prevTokenizer","prevHook","passThroughHooks","decode_data_html","Uint16Array","decode_data_xml","decodeMap","fromCodePoint","codePoint","CharCodes","NUM","SEMI","EQUALS","ZERO","NINE","LOWER_A","LOWER_F","LOWER_X","LOWER_Z","UPPER_A","UPPER_F","UPPER_Z","BinTrieFlags","VALUE_LENGTH","BRANCH_LENGTH","JUMP_TABLE","EntityDecoderState","EntityStart","NumericStart","NumericDecimal","NumericHex","NamedEntity","DecodingMode","Legacy","Strict","EntityDecoder","decodeTree","emitCodePoint","treeIndex","excess","decodeMode","startEntity","stateNumericStart","stateNamedEntity","stateNumericDecimal","stateNumericHex","addToNumericResult","digitCount","emitNumericEntity","lastCp","expectedLength","absenceOfDigitsInNumericCharacterReference","replaceCodePoint","missingSemicolonAfterCharacterReference","validateNumericCharacterReference","valueLength","determineBranch","isAsciiAlphaNumeric","emitNotTerminatedNamedEntity","emitNamedEntityData","getDecoder","decoder","nodeIdx","branchCount","jumpOffset","lo","hi","mid","midVal","htmlDecoder","htmlDecodeTree","restoreDiff","xmlDecodeTree","getEscaper","SafeHtmlPipe","CreditCardNumberPipe","CardTypeImageUrlPipe","MarkdownTranslatePipe","FortressCurrencyPipe","currencyPipe","defaultError","WithLoadingPipe","LongtoShortTextPipe","showDots","ContentLanguageFilterPipe","contents","callFor","langContent","UtcToLocaltimePipe","TruncatePipe","trail","htmlToPlainText","truncateHtml","decodeHTML","pluck","currentProp","DateSelectComponent_label_7_Template","DateSelectNoYearComponent_label_7_Template","DateSelectBase","_ngControl","_onTouched","placeholder","readOnly","dateChange","onDateChange","isoString","maxDate","DateSelectComponent","datePicker_r2","DateSelectNoYearFormatter","CustomDateI18n","NgbDatepickerI18nDefault","getYearNumerals","ɵCustomDateI18n_BaseFactory","DateSelectNoYearComponent","NgbDatepickerI18n","DateSelectModule","NgbDatepickerModule","SelectCountryComponent_option_5_Template","country_r1","CountryName","SelectCountryComponent_label_6_Template","SelectCountryComponent","countryChange","_sort","SelectCountryModule","SelectRegionComponent_select_1_option_4_Template","region_r3","RegionName","SelectRegionComponent_select_1_Template","SelectRegionComponent_input_2_Template","SelectRegionComponent_label_3_Template","SelectRegionComponent","SelectRegionModule","ModelMetaDataFormComponent_form_0_ng_container_1_ng_container_1_ng_container_1_Template","ModelMetaDataFormComponent_form_0_ng_container_1_ng_container_1_Template","model_r1","modelTemplate_r2","ModelMetaDataFormComponent_form_0_ng_container_1_Template","DisplayStatus","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_2_span_18_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_2_div_19_Template","model_r4","PropertyName","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_2_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_3_span_14_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_3_div_15_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_3_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_4_span_8_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_4_div_9_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_4_div_10_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_4_div_11_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_4_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_5_span_8_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_5_div_9_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_5_div_10_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_5_Template","onNumberInput","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_6_span_8_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_6_div_9_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_6_div_10_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_6_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_7_span_8_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_7_div_9_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_7_div_10_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_7_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_8_div_8_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_8_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_9_div_7_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_9_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_10_span_10_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_10_div_11_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_10_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_11_div_5_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_11_Template","onCountryChange","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_12_div_6_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_12_div_7_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_12_Template","regions","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_13_span_6_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_13_div_8_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_13_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_14_span_8_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_14_div_9_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_14_div_10_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_14_div_11_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_14_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_15_span_8_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_15_div_9_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_15_div_10_Template","ModelMetaDataFormComponent_form_0_ng_template_2_ng_container_15_Template","ModelMetaDataFormComponent_form_0_ng_template_2_Template","propertyTypeCode","ModelMetaDataFormComponent_form_0_Template","models","ModelMetaDataFormComponent","_models","onModelsLoaded","_initForm","_isInstaceOfModelMetaData","_form","Regions","ModelMetaDataFormModule","ModelFormHelperService","minAge","useShippingAddress","buildForm","_buildFormFromModel","_baseData","_createFormObjectFromModel","_createValidatorsFromModel","Validate","ValidateExpression","transformData","cData","RegistrationNavigationComponent_ng_container_0_ng_container_3_ng_container_1_Template","RegistrationNavigationComponent_ng_container_0_ng_container_3_ng_template_2_Template","RegistrationNavigationComponent_ng_container_0_ng_container_3_Template","noPreviousStep_r3","RegistrationNavigationComponent_ng_container_0_ng_template_4_Template","backLabel","RegistrationNavigationComponent_ng_container_0_button_6_ng_container_1_Template","RegistrationNavigationComponent_ng_container_0_button_6_ng_template_2_Template","nextLabel","RegistrationNavigationComponent_ng_container_0_button_6_Template","nextButtonClicked","nextLabelInput_r5","nextButtonDisabled","RegistrationNavigationComponent_ng_container_0_Template","goToPreviousStep","backLabelInput_r6","hideNextBtn","isFirstTimeRegistration","RegistrationTermsAndConditionsComponent_ng_container_9_div_1_Template","scrollToBottom","RegistrationTermsAndConditionsComponent_ng_container_9_Template","isButtonHidden","RegistrationQuestionsComponent_div_2_div_8_span_3_Template","RegistrationQuestionsComponent_div_2_div_8_div_5_option_5_Template","RegistrationQuestionsComponent_div_2_div_8_div_5_Template","handleAnswerChange","questionAndAnswer_r3","RegistrationQuestionsComponent_div_2_div_8_div_6_div_1_Template","answer_r6","RegistrationQuestionsComponent_div_2_div_8_div_6_Template","RegistrationQuestionsComponent_div_2_div_8_div_7_div_1_Template","answer_r8","RegistrationQuestionsComponent_div_2_div_8_div_7_Template","RegistrationQuestionsComponent_div_2_div_8_div_8_Template","RegistrationQuestionsComponent_div_2_div_8_Template","questionType","RegistrationQuestionsComponent_div_2_Template","registrationUserQuestions_r10","ClubQuestionAnswer","RegistrationOptOutEmailsComponent_div_0_div_1_Template","optOutEmail_r2","RegistrationOptOutEmailsComponent_div_0_Template","optOutEmails","RegistrationOptOutAlertsComponent_div_0_div_1_Template","optOutAlert_r3","AlertDescription","RegistrationOptOutAlertsComponent_div_0_Template","optOutAlerts","RegistrationPartnerInviteComponent_div_15_Template","RegistrationPartnerInviteComponent_div_16_Template","RegistrationPartnerInviteComponent_div_23_Template","RegistrationPartnerInviteComponent_div_24_Template","RegistrationProviderOauthComponent_ng_container_4_Template","RegistrationProviderOauthComponent_ng_container_6_Template","customer","RegistrationProviderTranslationComponent_ng_container_5_div_1_div_19_Template","RegistrationProviderTranslationComponent_ng_container_5_div_1_div_20_Template","RegistrationProviderTranslationComponent_ng_container_5_div_1_div_21_Template","RegistrationProviderTranslationComponent_ng_container_5_div_1_div_22_Template","RegistrationProviderTranslationComponent_ng_container_5_div_1_ng_container_30_Template","account_r2","RegistrationProviderTranslationComponent_ng_container_5_div_1_ng_container_31_Template","RegistrationProviderTranslationComponent_ng_container_5_div_1_ng_container_32_Template","RegistrationProviderTranslationComponent_ng_container_5_div_1_ng_container_33_Template","RegistrationProviderTranslationComponent_ng_container_5_div_1_Template","RegistrationProviderTranslationComponent_ng_container_5_Template","accountsList","RegistrationProviderTranslationComponent_div_6_Template","RegistrationAddChildrenComponent_ng_container_1_button_11_Template","addChild","RegistrationAddChildrenComponent_ng_container_1_form_14_div_2_button_5_Template","removeChildAt","RegistrationAddChildrenComponent_ng_container_1_form_14_div_2_Template","childModel","maxAge","RegistrationAddChildrenComponent_ng_container_1_form_14_Template","childrenForm","RegistrationAddChildrenComponent_ng_container_1_Template","RegistrationAddChildrenComponent_ng_template_3_Template","RegistrationMembershipOptionsComponent_ng_container_1_div_12_div_1_ng_container_3_Template","membership_r2","RegistrationMembershipOptionsComponent_ng_container_1_div_12_div_1_Template","infoModal_r3","openMembershipInfo","RegistrationMembershipOptionsComponent_ng_container_1_div_12_Template","RegistrationMembershipOptionsComponent_ng_container_1_div_16_ng_container_18_Template","membershipOption_r5","RegistrationMembershipOptionsComponent_ng_container_1_div_16_Template","child_r6","i_r7","RegistrationMembershipOptionsComponent_ng_container_1_div_17_Template","RegistrationMembershipOptionsComponent_ng_container_1_ng_template_19_Template","RegistrationMembershipOptionsComponent_ng_container_1_Template","RegistrationChooseMembershipOptionTypeComponent_ng_container_0_div_1_Template","selectedOptionItem","RegistrationChooseMembershipOptionTypeComponent_ng_container_0_Template","membershipOptions_r4","RegistrationPersonalDetailsComponent_div_2_div_7_Template","personalDetailsForm","wscKey","RegistrationPersonalDetailsComponent_div_2_Template","RegistrationPersonalDetailsComponent_ng_container_3_Template","RegistrationChildQuestionsComponent_div_4_div_1_div_4_div_4_option_3_Template","RegistrationChildQuestionsComponent_div_4_div_1_div_4_div_4_Template","question_r3","RegistrationID","RegistrationChildQuestionsComponent_div_4_div_1_div_4_div_5_div_1_Template","RegistrationChildQuestionsComponent_div_4_div_1_div_4_div_5_Template","RegistrationChildQuestionsComponent_div_4_div_1_div_4_div_6_div_1_Template","answer_r10","RegistrationChildQuestionsComponent_div_4_div_1_div_4_div_6_Template","RegistrationChildQuestionsComponent_div_4_div_1_div_4_div_7_Template","RegistrationChildQuestionsComponent_div_4_div_1_div_4_Template","RegistrationChildQuestionsComponent_div_4_div_1_Template","RegistrationChildQuestionsComponent_div_4_Template","children_r12","RegistrationChildQuestionsComponent_ng_template_6_Template","RegistrationGetProviderDetailsComponent_div_2_Template","RegistrationGetProviderDetailsComponent_ng_container_3_Template","_c29","_c30","_c31","_c32","RegistrationSuccessPageComponent_ng_container_5_ng_container_1_ng_container_1_div_5_Template","basketItem_r1","RegistrationSuccessPageComponent_ng_container_5_ng_container_1_ng_container_1_Template","basket_r2","RegistrationSuccessPageComponent_ng_container_5_ng_container_1_Template","RegistrationSuccessPageComponent_ng_container_5_Template","loading_r4","RegistrationSuccessPageComponent_ng_template_6_Template","RegistrationSuccessPageComponent_ng_template_8_Template","_c33","_c34","_c35","_c36","_c37","_c38","_c39","_c40","_c41","_c42","_c43","_c44","_c45","_c46","_c47","_c48","_c49","_c50","_c51","_c52","_c53","_c54","_c55","_c56","_c57","_c58","_c59","_c60","_c61","_c62","_c63","_c64","_c65","_c66","_c67","_c68","_c69","_c70","_c71","_c72","_c73","_c74","_c75","_c76","_c77","_c78","_c79","RegistrationPaymentComponent_ng_container_7_div_1_div_10_Template","basketItem_r2","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_15_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_17_Template","RegistrationPaymentComponent_ng_container_7_div_1_div_36_Template","basket_r4","RegistrationPaymentComponent_ng_container_7_div_1_div_44_span_4_span_10_Template","RegistrationPaymentComponent_ng_container_7_div_1_div_44_span_4_span_11_Template","RegistrationPaymentComponent_ng_container_7_div_1_div_44_span_4_span_12_Template","RegistrationPaymentComponent_ng_container_7_div_1_div_44_span_4_Template","RegistrationPaymentComponent_ng_container_7_div_1_div_44_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_16_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_17_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_23_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_24_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_30_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_31_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_37_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_38_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_44_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_45_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_46_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_52_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_div_53_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_65_Template","cancelBillingForm","tmp_15_0","tmp_16_0","tmp_18_0","tmp_19_0","tmp_22_0","tmp_23_0","tmp_25_0","tmp_26_0","tmp_27_0","tmp_29_0","tmp_30_0","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_16_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_17_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_23_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_24_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_30_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_31_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_37_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_38_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_44_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_45_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_46_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_52_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_div_53_Template","RegistrationPaymentComponent_ng_container_7_div_1_ng_container_66_Template","cancelShippingForm","RegistrationPaymentComponent_ng_container_7_div_1_Template","detectGiftCodeInput","addressTemplate_r9","RegistrationPaymentComponent_ng_container_7_Template","RegistrationPaymentComponent_ng_template_9_ng_container_4_Template","RegistrationPaymentComponent_ng_template_9_ng_container_5_Template","RegistrationPaymentComponent_ng_template_9_ng_container_8_Template","RegistrationPaymentComponent_ng_template_9_ng_container_9_Template","RegistrationPaymentComponent_ng_template_9_ng_container_10_Template","RegistrationPaymentComponent_ng_template_9_ng_container_11_Template","RegistrationPaymentComponent_ng_template_9_ng_container_12_Template","RegistrationPaymentComponent_ng_template_9_ng_template_13_ng_container_0_ng_container_2_Template","RegistrationPaymentComponent_ng_template_9_ng_template_13_ng_container_0_Template","ctx_r11","item_r13","lastItem_r14","RegistrationPaymentComponent_ng_template_9_ng_template_13_Template","RegistrationPaymentComponent_ng_template_9_Template","address_r15","title_r16","type_r17","addressName_r18","RegistrationPaymentComponent_ng_template_11_Template","_r19","RegistrationPaymentComponent_ng_template_13_Template","removeUnappliedGiftCode","RegistrationPaymentComponent_ng_template_15_Template","_c80","_c81","_c82","_c83","RegistrationNavigationComponent","backButttonNavigate","backButtonClicked","RegistrationTermsAndConditionsComponent","onWindowScroll","showScrollButton","innerHeight","bottom","offsetTop","acceptedCheckbox","handleCheckboxClick","scrollIntoView","behavior","onScroll","scrollTop","scrollHeight","RegistrationQuestionsComponent","answersEmitter","registrationUserQuestions$","questionsAnswers","questionsAndAnswers","_updateSelectedAnswers","stepData","_processAnswers","keyParts","questionId","givenAnswer","questionAndAnswer","RegistrationOptOutEmailsComponent","optOutEmails$","emails","RegistrationOptOutAlertsComponent","optOutAlerts$","RegistrationOperatorNameComponent","_prefillExistingStepData","operatorName","RegistrationPartnerInviteComponent","partnerForm","_generatePartnerForm","PartnerCode","PartnerSecretCode","TicketMasterIconComponent","TmLoginButtonComponent","LoginToOAuthProvider","RegistrationProviderOauthComponent","hasAccountDetails","_getProviderComponent","RegistrationProviderTranslationComponent","accountList","accountListCloned","currentAccount","SelectedAccount","_autoNextStep","account","selectAccount","RegistrationAddChildrenComponent","modelForm","childrenInfo","_initializeForm","_generateChildrenForm","generateChildForm","childIndex","RegistrationMembershipOptionsComponent","registrationQuery","addChildStepData","Children","registrationId","MembershipOptions","childForm","membershipInfo","i2$3","RegistrationChooseMembershipOptionTypeComponent","membershipOptionQueries","membershipOptions$","RegistrationPersonalDetailsComponent","_getInvalidFields","_setShippingStepSkipStatus","RegistrationChildQuestionsComponent","loading_r13","RegistrationGetProviderDetailsComponent","RegistrationEntryPageComponent","RegistrationFailurePageComponent","RegistrationSuccessPageComponent","registrationBasketService","redirectToUrlAfterRegistration","defaultMessage_r5","RegistrationWizardDisabledPageComponent","navigateToLoginPage","displayMessage$","RegistrationPaymentCallbackPageComponent","RegistrationShippingAddressComponent","shippingForm","RegistrationPaymentComponent","giftCodeInputMade","Tax","TotalPriceWithTaxAndShipping","TotalPriceWithTax","payWithCardToken","giftCodeAccepted","postCodeRegex","_initializeForms","totalItemPrice","totalShippingPrice","totalTaxPrice","memberDetailsSubscription","_getBillingAddress","_getShippingAddress","unappliedGiftCodeModal","paymentModalRef","billing","shipping","_generateBillingAddressForm","_generateShippingAddressForm","personalDetails","billingAddressFromSession","shippingAddressStep","PriceWithTaxAndShipping","unappliedGiftCodeModalRef","loading_r22","RegistrationProviderAuthenticationComponent","loginModel","LoginInputFields","usernameField","LoginTypeID","ReturnUrl","RegistrationNavigationModule","RegistrationMarketingPlaceholderComponent","registrationPaymentRoute","mergeRegistrationRoutes","foundRoutes","rr","newRoutes","existingRoutes","CountryAndRegionsComponent_option_8_Template","CountryAndRegionsComponent_select_17_option_4_Template","region_r2","CountryAndRegionsComponent_select_17_Template","HasSubmitted","regionOptions","CountryAndRegionsComponent_input_18_Template","CountryAndRegionsComponent_div_22_Template","CountryAndRegionsComponent_div_23_Template","CountryAndRegionsComponent","SeparateRow","retrieveCountries","countryOptions","selectedCountry","selectedCounty","getRegionsByCountry","foundCountry","getRegions","ErrorsComponent_div_0_p_1_Template","error_r1","ErrorsComponent_div_0_Template","ErrorComponent_div_0_Template","errorMessage_r1","ErrorsComponent","LoadingComponent","RegexUK","sortDate","race","raceInit","withLatestFrom","otherValues","ready","right","getOppositePlacement","placement","getBasePlacement","getOppositeVariationPlacement","auto","basePlacements","popper","variationPlacements","placements","modifierPhases","getWindow","isElement","Element","isHTMLElement","HTMLElement","ShadowRoot","getDocumentElement","getUAString","uaData","userAgentData","brands","brand","isLayoutViewport","includeScale","isFixedStrategy","clientRect","offsetWidth","offsetHeight","visualViewport","addVisualOffsets","getWindowScroll","getWindowScrollBarX","getParentNode","assignedSlot","isScrollParent","_getComputedStyle","overflowY","overflowX","getScrollParent","listScrollParents","_element$ownerDocumen","scrollParent","isBody","updatedList","isTableElement","getTrueOffsetParent","offsetParent","getOffsetParent","getContainingBlock","isFirefox","perspective","contain","willChange","getRootNode","isSameNode","rectToClientRect","getClientRectFromMixedType","clippingParent","strategy","getViewportRect","layoutViewport","getInnerBoundingClientRect","clientTop","clientLeft","getDocumentRect","winScroll","scrollWidth","getVariation","getMainAxisFromPlacement","computeOffsets","reference","basePlacement","variation","commonX","commonY","mainAxis","mergePaddingObject","paddingObject","expandToHashMap","hashMap","detectOverflow","_options$placement","_options$strategy","_options$boundary","boundary","_options$rootBoundary","rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","popperRect","rects","clippingClientRect","getClippingRect","mainClippingParents","getClippingParents","clippingParents","clipperElement","clippingRect","accRect","contextElement","referenceClientRect","popperOffsets","popperClientRect","elementClientRect","overflowOffsets","offsetData","modifiersData","multiply","axis","modifiers_flip","flip","_skip","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","flipVariations","allowedAutoPlacements","preferredPlacement","getExpandedFallbackPlacements","oppositePlacement","computeAutoPlacement","_options$allowedAutoP","allPlacements","allowedPlacements","overflows","referenceRect","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","_loop","fittingPlacement","requiresIfExists","within","mathMax","mathMin","getLayoutRect","modifiers_preventOverflow","preventOverflow","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","getAltAxis","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","maxLen","arrowElement","arrow","arrowRect","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","arrowOffsetParent","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_len","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","withinMaxClamp","modifiers_arrow","_state$modifiersData$","toPaddingObject","minProp","maxProp","endDiff","startDiff","clientSize","centerOffset","effect","_ref2","_options$element","requires","getCompositeRect","elementOrVirtualElement","isFixed","isOffsetParentAnElement","offsetParentIsScaled","isElementScaled","scroll","getNodeScroll","getHTMLElementScroll","modifiers","visited","depModifier","debounce","areValidElements","_key","popperGenerator","generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","orderedModifiers","effectCleanupFns","isDestroyed","setOptionsAction","cleanupModifierEffects","scrollParents","orderModifiers","mergeByName","runModifierEffects","_ref$options","forceUpdate","_state$elements","_state$orderedModifie","_state$orderedModifie2","onFirstUpdate","passive","unsetSides","mapToStyles","_Object$assign2","gpuAcceleration","adaptive","roundOffsets","_offsets$x","_offsets$y","hasX","hasY","sideX","sideY","heightProp","widthProp","_Object$assign","commonStyles","_ref4","roundOffsetsByDPR","dpr","devicePixelRatio","createPopper","_options$scroll","_options$resize","computeStyles","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","modifiers_offset","_options$offset","distanceAndSkiddingToXY","invertDistance","skidding","_data$state$placement","NgbDatepickerNavigationSelect_For_3_Template","m_r2","i18n","getMonthFullName","getMonthShortName","NgbDatepickerNavigationSelect_For_7_Template","y_r4","NgbDatepickerNavigation_Conditional_3_Template","selectBoxes","NgbDatepickerNavigation_Conditional_4_For_1_Conditional_0_Template","NgbDatepickerNavigation_Conditional_4_For_1_Conditional_3_Template","NgbDatepickerNavigation_Conditional_4_For_1_Template","month_r3","getMonthLabel","firstDate","NgbDatepickerNavigation_Conditional_4_Template","NgbDatepickerMonth_Conditional_0_Conditional_1_Template","getWeekLabel","NgbDatepickerMonth_Conditional_0_For_3_Template","weekday_r2","NgbDatepickerMonth_Conditional_0_Template","datepicker","showWeekNumbers","NgbDatepickerMonth_For_2_Conditional_0_Conditional_1_Template","week_r3","getWeekNumerals","NgbDatepickerMonth_For_2_Conditional_0_For_3_Conditional_1_ng_template_0_Template","NgbDatepickerMonth_For_2_Conditional_0_For_3_Conditional_1_Template","dayTemplate","NgbDatepickerMonth_For_2_Conditional_0_For_3_Template","doSelect","tabindex","NgbDatepickerMonth_For_2_Conditional_0_Template","NgbDatepickerMonth_For_2_Template","collapsed","NgbDatepicker_ng_template_0_Template","currentMonth_r2","selected_r3","disabled_r4","focused_r5","focused","NgbDatepicker_ng_template_2_For_1_Conditional_1_Template","month_r6","NgbDatepicker_ng_template_2_For_1_Template","displayMonths","NgbDatepicker_ng_template_2_Template","NgbDatepicker_Conditional_5_Template","onNavigateEvent","onNavigateDateSelect","prevDisabled","nextDisabled","NgbDatepicker_ng_template_8_Template","NgbDatepicker_ng_template_9_Template","NgbPagination_ng_template_0_Template","NgbPagination_ng_template_2_Template","NgbPagination_ng_template_4_Template","NgbPagination_ng_template_6_Template","NgbPagination_ng_template_8_Template","NgbPagination_ng_template_10_Template","NgbPagination_ng_template_12_For_1_Conditional_1_ng_template_1_Template","NgbPagination_ng_template_12_For_1_Conditional_1_Template","page_r2","ellipsis_r4","tplEllipsis","NgbPagination_ng_template_12_For_1_Conditional_2_ng_template_1_Template","NgbPagination_ng_template_12_For_1_Conditional_2_Template","pageNumber_r6","disabled_r8","defaultNumber_r9","tplNumber","NgbPagination_ng_template_12_For_1_Template","isEllipsis","NgbPagination_ng_template_12_Template","NgbPagination_Conditional_15_ng_template_2_Template","NgbPagination_Conditional_15_Template","first_r12","previousDisabled","tplFirst","NgbPagination_Conditional_16_ng_template_2_Template","NgbPagination_Conditional_16_Template","previous_r14","tplPrevious","NgbPagination_ng_template_17_Template","NgbPagination_Conditional_18_ng_template_2_Template","NgbPagination_Conditional_18_Template","next_r16","tplNext","NgbPagination_Conditional_19_ng_template_2_Template","NgbPagination_Conditional_19_Template","_r17","pageCount","last_r18","tplLast","NgbProgressbar_Conditional_1_Template","transitionTimerDelayMs","NgbConfig","NgbAccordionConfig","_ngbConfig","closeOthers","destroyOnHide","_animation","getValueInRange","isInteger","reflow","getActiveElement","activeEl","activeElement","noopFn","runningTransitions","ngbRunTransition","startFn","runningTransition","transition$","endFn","transitionProperty","runInZone","finishTransition$","stop$","endWith","transitionDurationMs","getTransitionDurationMs","transitionDelay","transitionDuration","transitionEnd$","ngbCollapsingTransition","maxSize","setInitialClasses","measureCollapsingElementDimensionPx","hasShownClass","dimensionSize","NgbCollapseConfig","NgbCollapse","_afterInit","_isCollapsed","ngbCollapseChange","shown","_runTransitionWithEvents","_runTransition","nextId$3","NgbAccordionBody","_vcr","_item","NgbAccordionItem","_bodyTpl","_shouldBeInDOM","_createViewIfNotExists","_destroyViewIfExists","NgbAccordionCollapse","ngbCollapse","collapseId","toggleId","NgbAccordionToggle","accordion","NgbAccordionDirective","NgbAccordionButton","NgbAccordionHeader","_accordion","_collapsed","_collapseAnimationRunning","hide","_destroyOnHide","collapse","_collapse","_ensureCanExpand","_anItemWasAlreadyExpandedDuringInitialisation","_getItem","expandAll","collapseAll","isExpanded","toExpand","NgbAlertModule","NgbCarouselConfig","keyboard","pauseOnHover","pauseOnFocus","showNavigationArrows","NgbCollapseModule","equals","jsDate","toJSDate","NgbCalendar","NGB_DATEPICKER_CALENDAR_FACTORY","NgbCalendarGregorian","getDaysPerWeek","getMonths","getWeeksPerMonth","getNext","checkMonth","expectedMonth","getPrev","getWeekday","getWeekNumber","getToday","ɵNgbCalendarGregorian_BaseFactory","isChangedDate","dateComparator","isChangedMonth","checkDateInRange","isDateSelectable","markDisabled","getDayNumerals","weekNumber","_monthsFull","getWeekdayLabel","weekdaysStartingOnSunday","getDayAriaLabel","ɵNgbDatepickerI18nDefault_BaseFactory","NgbDatepickerService","_VALIDATORS","dayTemplateData","focusVisible","toValidDate","outsideDays","weekdayWidth","weekdaysVisible","_i18n","_model$","_dateSelect$","lastDate","focusDate","selectedDate","model$","dateSelect$","_nextState","focusedDate","focusSelect","struct","_patchContexts","checkMinBeforeMax","buildMonths","monthsToReuse","firstDates","reusedIndex","buildMonth","calendarToday","getFirstViewDate","daysPerWeek","firstMonthDate","dayOfWeek","weekObject","nextDate","contextUserData","dayObject","currentYear","yearChanged","monthChanged","generateSelectBoxYears","numbers","generateSelectBoxMonths","prevMonthDisabled","prevDate","nextMonthDisabled","NavigationEvent","PREV","NgbDatepickerConfig","NgbDateAdapter","NGB_DATEPICKER_DATE_ADAPTER_FACTORY","NgbDateStructAdapter","ɵNgbDateStructAdapter_BaseFactory","Tab","Enter","Escape","Space","PageUp","PageDown","End","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","NgbDatepickerKeyboardService","processKey","NgbDatepickerDayView","isMuted","NgbDatepickerNavigationSelect","_month","_year","changeMonth","changeYear","monthSelect","yearSelect","i18n_4","i18n_5","i18n_6","i18n_7","NgbDatepickerNavigation","onClickPrev","onClickNext","showSelect","i18n_8","i18n_9","i18n_10","i18n_11","NgbDatepickerContent","NgbDatepickerMonth","_keyboardService","_service","NgbDatepicker","onKeyDown","onDateSelect","_nativeElement","_ngbDateAdapter","_controlValue","_publicState","footerTemplate","dateSelect","oldDate","navigationPrevented","newSelectedDate","newFocusedDate","oldFocusedDate","navigateTo","focusIns$","_contentEl","focusOuts$","focusEvent","relatedTarget","_defaultDayTemplate","contentTemplateFromContent","contentTemplate","defaultContentTemplate_r9","isContainedIn","matchesSelectorIfAny","maxTouchPoints","ngbAutoClose","closed$","insideElements","insideSelector","wrapAsyncForMobile","escapes$","mouseDowns$","closeableClicks$","shouldClose","FOCUSABLE_ELEMENTS_SELECTOR","getFocusableBoundaryElements","ngbFocusTrap","stopFocusTrap$","refocusOnClick","lastFocusedElement$","tabEvent","focusedElement","lastFocusedElement","NgbRTL","isRTL","placementSeparator","spacesRegExp","bootstrapPopperMatches","popperStartPrimaryPlacement","popperEndPrimaryPlacement","popperStartSecondaryPlacement","popperEndSecondaryPlacement","getPopperOptions","placementVals","hasAuto","popperPlacements","_placement","getPopperClassPlacement","leftClass","rightClass","bsClassRegExp","popperElement","popperPlacement","getBootstrapBaseClassPlacement","secondary","newPrimary","classnames","newSecondary","classname","ngbPositioning","popperInstance","positioningOption","popperOptions","updatePopperOptions","createPopperLite","targetElement","NGB_DATEPICKER_PARSER_FORMATTER_FACTORY","NgbDateISOParserFormatter","dateParts","ɵNgbDateISOParserFormatter_BaseFactory","NgbInputDatepickerConfig","autoClose","restoreFocus","ɵNgbInputDatepickerConfig_BaseFactory","addPopperOffset","offset$1","NgbInputDatepicker","_parserFormatter","_elRef","_vcRef","_dateAdapter","_changeDetector","_cRef","_disabled","_elWithFocus","_model","_positioning","_destroyCloseHandlers$","positionTarget","_validatorChange","_fromDateStruct","_writeModelValue","manualDateChange","updateView","inputValueChanged","_inputValue","_applyPopupStyling","_applyDatepickerInputs","_subscribeForDatepickerOutputs","appendToBody","_zoneSubscription","_setCloseHandlers","elementToFocus","datepickerClass","_applyPopupClass","datepickerComponentRef","newClass","oldClass","popupEl","datepickerInstance","navigateEvent","_fromNativeDate","_toNativeDate","ɵNgbDateNativeAdapter_BaseFactory","NgbDropdownConfig","NgbDropdownItem","NgbDropdownButtonItem","NgbDropdownMenu","menuItems","NgbDropdownAnchor","NgbDropdownToggle","ɵNgbDropdownToggle_BaseFactory","_bodyContainer","_open","openChange","_applyPlacementClasses","_applyContainer","_anchor","_menu","dropdownClass","_applyCustomDropdownClass","_positionMenu","_resetContainer","itemElements","_getMenuElements","itemElement","isEventFromToggle","_isEventFromToggle","_isDropup","focusableElements","menu","_getFirstPlacement","dropdownMenuElement","bodyContainer","NgbModalConfig","fullscreen","ContentRef","ScrollBar","scrollbarWidth","bodyStyle","paddingRight","actualPadding","NgbModalBackdrop","NgbActiveModal","WINDOW_ATTRIBUTES","BACKDROP_ATTRIBUTES","NgbModalRef","_applyWindowOptions","windowInstance","optionName","_applyBackdropOptions","backdropInstance","_windowCmptRef","_backdropCmptRef","_contentRef","_closed","_hidden","dismissed","_dismissed","_beforeDismiss","dismissEvent","_reject","_removeModalElements","_dismiss","windowTransition$","backdropTransition$","NgbModalWindow","_closed$","fullscreenClass","_show","_disableEventHandling","dialogTransition$","_dialogEl","transitions$","_restoreFocus","_enableEventHandling","_setFocus","defaultPrevented","_bumpBackdrop","preventClose","autoFocusable","firstFocusable","elWithFocus","ariaDescribedBy","scrollable","NgbModalStack","_applicationRef","_environmentInjector","_scrollBar","_activeWindowCmptHasChanged","_ariaHiddenValues","_scrollBarRestoreFn","_modalRefs","_windowCmpts","_activeInstances","activeWindowCmpt","_revertAriaHidden","_setAriaHidden","_restoreScrollBar","scrollBarRestoreFn","_hideScrollBar","contentInjector","containerEl","contentRef","_getContentRef","backdropCmptRef","_attachBackdrop","windowCmptRef","_attachWindowComponent","ngbModalRef","beforeDismiss","_registerModalRef","_registerWindowCmpt","activeInstances","_createFromTemplateRef","_createFromString","_createFromComponent","componentNativeEl","sibling","unregisterModalRef","ngbWindowCmpt","NgbModal","_modalStack","combinedOptions","NgbModalModule","NgbNavModule","NgbPaginationConfig","boundaryLinks","directionLinks","ellipses","NgbPaginationEllipsis","NgbPaginationFirst","NgbPaginationLast","NgbPaginationNext","NgbPaginationNumber","NgbPaginationPrevious","NgbPaginationPages","NgbPagination","pageChange","hasPrevious","hasNext","_updatePages","_applyEllipses","_applyRotation","leftOffset","_applyPagination","_setPageInRange","newPageNo","prevPageNo","newPage","tplPages","i18n_12","i18n_13","i18n_14","i18n_15","i18n_16","i18n_17","i18n_18","i18n_19","defaultPages_r19","NgbPopoverModule","NgbProgressbarConfig","striped","showValue","NgbProgressbar","stacked","NgbProgressbarStacked","textType","getPercentValue","i18n_20","NgbProgressbarModule","NgbRatingModule","NgbScrollSpyModule","NgbTimepickerModule","NgbToastModule","NgbTooltipModule","NgbTypeaheadModule","NgbOffcanvasConfig","NgbActiveOffcanvas","NgbOffcanvasRef","_panelCmptRef","_removeOffcanvasElements","panelTransition$","OffcanvasDismissReasons","NgbOffcanvasBackdrop","NgbOffcanvasPanel","offcanvasTransition$","NgbOffcanvasStack","_activePanelCmptHasChanged","_backdropAttributes","_panelAttributes","_activeInstance","_panelCmpt","activeOffcanvas","panelCmptRef","ngbOffcanvasRef","_registerOffcanvasRef","_registerPanelCmpt","_applyPanelOptions","activeInstance","_offcanvasRef","hasOpenOffcanvas","unregisterOffcanvasRef","ngbPanelCmpt","_offcanvasStack","NGB_MODULES","TranslateFakeLoader","ɵTranslateFakeLoader_BaseFactory","FakeMissingTranslationHandler","o1","o2","keySet","mergeDeep","et","TranslateParser","TranslateDefaultParser","templateMatcher","interpolate","interpolateString","interpolateFunction","ɵTranslateDefaultParser_BaseFactory","TranslateCompiler","TranslateFakeCompiler","compile","compileTranslations","ɵTranslateFakeCompiler_BaseFactory","TranslateStore","defaultLang","langs","onTranslationChange","onLangChange","onDefaultLangChange","USE_STORE","USE_DEFAULT_LANG","DEFAULT_LANGUAGE","USE_EXTEND","currentLoader","useDefaultLang","isolate","loadingTranslations","_onTranslationChange","_onLangChange","_onDefaultLangChange","_defaultLang","_currentLang","_langs","_translations","_translationRequests","setDefaultLang","retrieveTranslations","changeDefaultLang","getDefaultLang","changeLang","updateLangs","shouldMerge","getLangs","addLangs","getParsedResult","getStreamOnTranslationChange","reloadLang","getBrowserLang","browserLang","browserLanguage","userLanguage","getBrowserCultureLang","browserCultureLang","TranslateDirective","lastParams","currentParams","onLangChangeSub","onDefaultLangChangeSub","onTranslationChangeSub","checkNodes","translateParams","lastKey","lookupKey","trimmedContent","originalContent","onTranslation","TranslatePipe","validArgs","SyntaxError","LuxonError","InvalidDateTimeError","toMessage","InvalidIntervalError","InvalidDurationError","ConflictingSpecificationError","InvalidUnitError","InvalidArgumentError","ZoneIsAbstractError","DATE_SHORT","DATE_MED","DATE_MED_WITH_WEEKDAY","DATE_FULL","DATE_HUGE","TIME_SIMPLE","TIME_WITH_SECONDS","TIME_WITH_SHORT_OFFSET","timeZoneName","TIME_WITH_LONG_OFFSET","TIME_24_SIMPLE","hourCycle","TIME_24_WITH_SECONDS","TIME_24_WITH_SHORT_OFFSET","TIME_24_WITH_LONG_OFFSET","DATETIME_SHORT","DATETIME_SHORT_WITH_SECONDS","DATETIME_MED","DATETIME_MED_WITH_SECONDS","DATETIME_MED_WITH_WEEKDAY","DATETIME_FULL","DATETIME_FULL_WITH_SECONDS","DATETIME_HUGE","DATETIME_HUGE_WITH_SECONDS","ianaName","isUniversal","offsetName","formatOffset","otherZone","singleton","SystemZone","resolvedOptions","timeZone","parseZoneInfo","dtfCache","typeToPos","ianaZoneCache","IANAZone","resetCache","isValidSpecifier","isValidZone","dtf","makeDTF","hour12","adOrBc","formatToParts","partsOffset","formatted","hackyOffset","parsed","fMonth","fDay","fYear","fadOrBc","fHour","fMinute","fSecond","asTS","over","objToLocalTS","intlLFCache","intlDTCache","getCachedDTF","locString","intlNumCache","intlRelCache","sysLocaleCache","weekInfoCache","listStuff","loc","englishFn","intlFn","listingMode","PolyNumberFormatter","intl","forceSimple","padTo","otherOpts","intlOpts","useGrouping","minimumIntegerDigits","inf","getCachedINF","NumberFormat","fixed","padStart","roundTo","PolyDateFormatter","dt","originalZone","gmtOffset","offsetZ","setZone","plus","PolyRelFormatter","isEnglish","hasRelative","rtf","getCachedRTF","cacheKeyOpts","RelativeTimeFormat","formatRelativeTime","lastable","isDay","isInPast","fmtValue","singular","lilUnits","fmtUnit","English","fallbackWeekSettings","firstDay","minimalDays","weekend","fromOpts","numberingSystem","outputCalendar","weekSettings","defaultToEN","specifiedLocale","defaultLocale","localeR","systemLocale","numberingSystemR","defaultNumberingSystem","outputCalendarR","defaultOutputCalendar","weekSettingsR","validateWeekSettings","defaultWeekSettings","numbering","parsedLocale","parsedNumberingSystem","parsedOutputCalendar","parseLocaleString","localeStr","xIndex","uIndex","selectedStr","smaller","intlConfigString","weekdaysCache","monthsCache","meridiemCache","eraCache","fastNumbersCached","fastNumbers","supportsFastNumbers","alts","redefaultToEN","redefaultToSystem","formatStr","mapMonths","mapWeekdays","meridiems","matching","dtFormatter","numberFormatter","relFormatter","listFormatter","getCachedLF","ListFormat","getWeekSettings","hasLocaleWeekInfo","getCachedWeekInfo","getWeekInfo","getStartOfWeek","getMinDaysInFirstWeek","getWeekendDays","FixedOffsetZone","utcInstance","parseSpecifier","signedOffset","InvalidZone","normalizeZone","defaultZone","lowered","throwOnInvalid","twoDigitCutoffYear","cutoffYear","resetCaches","Invalid","explanation","nonLeapLadder","leapLadder","unitOutOfRange","js","computeOrdinal","uncomputeOrdinal","month0","isoWeekdayToLocal","startOfWeek","gregorianToWeek","gregObj","minDaysInFirstWeek","timeObject","weekToGregorian","weekData","weekdayOfJan4","yearInDays","gregorianToOrdinal","gregData","ordinalToGregorian","ordinalData","usesLocalWeekValues","localWeekday","localWeekNumber","localWeekYear","hasInvalidGregorianData","validYear","validMonth","integerBetween","validDay","hasInvalidTimeData","validHour","validMinute","validSecond","validMillisecond","bestBy","best","pair","thing","parseInteger","parseFloating","parseMillis","towardZero","trunc","floorMod","offsetFormat","modified","offHourStr","offMinuteStr","offHour","offMin","asNumber","numericValue","normalizeObject","normalized","RangeError","pick","monthsLong","monthsNarrow","weekdaysLong","weekdaysNarrow","erasLong","erasShort","stringifyTokens","splits","tokenToString","literal","macroTokenToFormatOpts","Formats","DD","DDDD","tt","ttt","tttt","TT","TTT","TTTT","ff","fff","ffff","F","FF","FFF","FFFF","Formatter","parseFormat","fmt","currentFull","bracketed","formatOpts","systemLoc","formatWithSystemDefault","formatDateTimeParts","formatInterval","formatRange","formatDateTimeFromString","knownEnglish","useDateTimeFormatter","isOffsetFixed","allowZ","monthForDateTime","weekdayForDateTime","maybeMacro","eraForDateTime","meridiemForDateTime","formatDurationFromString","dur","tokenToField","realTokens","lildur","ianaRegex","combineRegexes","combineExtractors","extractors","mergedVals","mergedZone","patterns","extractor","simpleParse","offsetRegex","isoTimeBaseRegex","isoTimeRegex","isoTimeExtensionRegex","extractISOWeekData","extractISOOrdinalData","sqlTimeRegex","sqlTimeExtensionRegex","int","extractISOTime","extractISOOffset","fullOffset","extractIANAZone","isoTimeOnly","isoDuration","extractISODuration","weekStr","millisecondsStr","hasNegativePrefix","negativeSeconds","maybeNegate","fromStrings","extractRFC2822","milOffset","rfc1123","rfc850","ascii","extractRFC1123Or850","extractASCII","isoYmdWithTimeExtensionRegex","isoWeekWithTimeExtensionRegex","isoOrdinalWithTimeExtensionRegex","isoTimeCombinedRegex","extractISOYmdTimeAndOffset","extractISOYmd","extractISOWeekTimeAndOffset","extractISOOrdinalDateAndTime","extractISOTimeAndOffset","extractISOTimeOnly","sqlYmdWithTimeExtensionRegex","sqlTimeCombinedRegex","extractISOTimeOffsetAndIANAZone","lowOrderMatrix","casualMatrix","daysInYearAccurate","daysInMonthAccurate","accurateMatrix","orderedUnits","reverseUnits","conversionAccuracy","durationToMillis","vals","sum","normalizeValues","conv","rollUp","accurate","isLuxonDuration","normalizeUnit","fromDurationLike","durationLike","parseISODuration","fromISOTime","parseISOTimeOnly","fmtOpts","toHuman","unitDisplay","listStyle","toISO","toISOTime","millis","suppressMilliseconds","suppressSeconds","includePrefix","includeOffset","invalidReason","minus","negate","mapUnits","reconfigure","rescale","removeZeroes","newVals","shiftToAll","built","accumulated","lastUnit","own","ak","negated","invalidExplanation","eq","isLuxonInterval","builtStart","friendlyDateTime","builtEnd","validateError","validateStartEnd","startIsValid","endIsValid","isInterval","toDuration","useLocaleWeeks","hasSame","dateTime","splitAt","dateTimes","sorted","added","splitBy","divideEqually","numberOfParts","overlaps","abutsStart","abutsEnd","engulfs","intersection","union","final","sofar","currentCount","ends","toLocaleString","toISODate","mapEndpoints","hasDST","isValidIANAZone","locObj","getMinimumDaysInFirstWeek","getWeekendWeekdays","monthsFormat","weekdaysFormat","dayDiff","earlier","later","utcDayStart","toUTC","numberingSystems","arab","arabext","bali","beng","deva","fullwide","gujr","hanidec","khmr","knda","laoo","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt","latn","numberingSystemsUTF16","hanidecChars","digitRegex","intUnit","deser","parseDigits","spaceOrNBSP","spaceOrNBSPRegExp","fixListRegex","stripInsensitivities","oneOf","strings","simple","escapeToken","partTypeStyleToTokenVal","short","long","dayperiod","dayPeriod","hour24","dummyDateTimeCache","expandMacroTokens","maybeExpandMacroToken","formatOptsToTokens","explainFromTokens","unitForToken","two","three","four","six","oneOrTwo","oneToThree","oneToSix","oneToNine","twoToFour","fourToSix","disqualifyingUnit","regexString","buildRegex","rawMatches","matchIndex","specificOffset","dateTimeFromMatches","Z","G","S","toField","df","getDummyDateTime","resolvedOpts","tokenForPart","isSpace","MAX_DATE","unsupportedZone","possiblyCachedWeekData","possiblyCachedLocalWeekData","localWeekData","old","fixOffset","localTS","tz","utcGuess","o3","tsToObj","objToTS","adjustTime","oPre","millisToAdd","parseDataToDateTime","parsedZone","interpretationZone","toTechFormat","longFormat","extendedZone","defaultUnitValues","defaultWeekUnitValues","defaultOrdinalUnitValues","orderedWeekUnits","orderedOrdinalUnits","normalizeUnitWithLocalWeeks","weeknumber","weeksnumber","weeknumbers","quickDT","tsNow","offsetProvis","diffRelative","calendary","lastOpts","argList","ot","isLuxonDateTime","zoneToUse","fromSeconds","containsOrdinal","containsGregorYear","containsGregorMD","containsGregor","definiteWeekDef","useWeekData","defaultValues","objNow","foundFirst","higherOrderInvalid","hasInvalidWeekData","validWeek","validWeekday","hasInvalidOrdinalData","validOrdinal","gregorian","tsFinal","offsetFinal","parseISODate","fromRFC2822","parseRFC2822Date","fromHTTP","parseHTTPDate","fromFormat","localeToUse","parseFromTokens","fromSQL","parseSQL","isDateTime","parseFormatForOpts","localeOpts","tokenList","isWeekend","monthShort","monthLong","weekdayShort","weekdayLong","offsetNameShort","offsetNameLong","isInDST","getPossibleOffsets","dayMs","minuteMs","oEarlier","oLater","ts1","ts2","c1","c2","isInLeapYear","weeksInLocalWeekYear","resolvedLocaleOptions","toLocal","keepCalendarTime","newTS","offsetGuess","asObj","setLocale","settingWeekStuff","mixed","normalizedUnit","toLocaleParts","toISOWeekDate","toRFC2822","toHTTP","toSQLDate","toSQLTime","includeZone","includeOffsetSpace","toSQL","toSeconds","toUnixInteger","toBSON","includeConfig","otherDateTime","durOpts","maybeArray","otherIsLater","diffed","highWater","lowestOrder","highOrderDiffs","remainingMillis","lowerOrderUnits","Et","diffNow","adjustedToZone","toRelative","toRelativeCalendar","fromFormatExplain","fromStringExplain","dateTimeish","documentIsAccessible","getCookieRegExp","escapedName","safeDecodeURIComponent","encodedURIComponent","currentCookie","expiresOrOptions","secure","sameSite","partitioned","deleteAll","GENERAL","UKNOWN","BROWSERS","CHROME","OPERA","IE","MS_EDGE","MS_EDGE_CHROMIUM","FB_MESSANGER","SAMSUNG","UCBROWSER","UNKNOWN","MOBILES_RE","HTC","NEXUS_PHONE","DELL","MOTOROLA","LG","SONY","ASUS","NOKIA_LUMIA","MICROMAX","PALM","VERTU","PANTECH","FLY","WIKO","I_MOBILE","SIMVALLEY","WOLFGANG","ALCATEL","NINTENDO","AMOI","INQ","VITA","BLACKBERRY","FIREFOX_OS","IPHONE","iPod","WINDOWS_PHONE","GENERIC_PHONE","TABLETS_RE","iPad","NexusTablet","GoogleTablet","SamsungTablet","Kindle","SurfaceTablet","HPTablet","AsusTablet","BlackBerryTablet","HTCtablet","MotorolaTablet","NookTablet","AcerTablet","ToshibaTablet","LGTablet","FujitsuTablet","PrestigioTablet","LenovoTablet","DellTablet","YarvikTablet","MedionTablet","ArnovaTablet","IntensoTablet","IRUTablet","MegafonTablet","EbodaTablet","AllViewTablet","ArchosTablet","AinolTablet","NokiaLumiaTablet","SonyTablet","PhilipsTablet","CubeTablet","CobyTablet","MIDTablet","MSITablet","SMiTTablet","RockChipTablet","FlyTablet","bqTablet","HuaweiTablet","NecTablet","PantechTablet","BronchoTablet","VersusTablet","ZyncTablet","PositivoTablet","NabiTablet","KoboTablet","DanewTablet","TexetTablet","PlaystationTablet","TrekstorTablet","PyleAudioTablet","AdvanTablet","DanyTechTablet","GalapadTablet","MicromaxTablet","KarbonnTablet","AllFineTablet","PROSCANTablet","YONESTablet","ChangJiaTablet","GUTablet","PointOfViewTablet","OvermaxTablet","HCLTablet","DPSTablet","VistureTablet","CrestaTablet","MediatekTablet","ConcordeTablet","GoCleverTablet","ModecomTablet","VoninoTablet","ECSTablet","StorexTablet","VodafoneTablet","EssentielBTablet","RossMoorTablet","iMobileTablet","TolinoTablet","AudioSonicTablet","AMPETablet","SkkTablet","TecnoTablet","JXDTablet","iJoyTablet","FX2Tablet","XoroTablet","ViewsonicTablet","VerizonTablet","OdysTablet","CaptivaTablet","IconbitTablet","TeclastTablet","OndaTablet","JaytechTablet","BlaupunktTablet","DigmaTablet","EvolioTablet","LavaTablet","AocTablet","MpmanTablet","CelkonTablet","WolderTablet","MediacomTablet","MiTablet","NibiruTablet","NexoTablet","LeaderTablet","UbislateTablet","PocketBookTablet","KocasoTablet","HisenseTablet","Hudl","TelstraTablet","Honeywell","GenericTablet","DEVICES","CHROME_BOOK","PS4","MAC","CHROMECAST","APPLE_TV","GOOGLE_TV","Tesla","HONEYWELL","MI_SE_9","DESKTOP_DEVICES","OS","WINDOWS","LINUX","UNIX","CHROME_OS","OS_VERSIONS","WINDOWS_3_11","WINDOWS_95","WINDOWS_ME","WINDOWS_98","WINDOWS_CE","WINDOWS_2000","WINDOWS_XP","WINDOWS_SERVER_2003","WINDOWS_VISTA","WINDOWS_7","WINDOWS_8_1","WINDOWS_8","WINDOWS_10","WINDOWS_PHONE_7_5","WINDOWS_PHONE_8_1","WINDOWS_PHONE_10","WINDOWS_NT_4_0","MACOSX_11_0","MACOSX_16","MACOSX_15","MACOSX_14","MACOSX_13","MACOSX_12","MACOSX_11","MACOSX_10","MACOSX_9","MACOSX_8","MACOSX_7","MACOSX_6","MACOSX_5","MACOSX_4","MACOSX_3","MACOSX_2","MACOSX","iOS","ANDROID_9","OS_RE","and","or","not","DEVICES_RE","OS_VERSIONS_RE_MAP","BROWSER_VERSIONS_RE_MAP","OS_VERSIONS_RE","BROWSER_VERSIONS_RE","Constants","BROWSERS_RE","ReTree","DeviceType","OrientationType","Portrait","Landscape","DeviceDetectorService","ua","browser","device","os_version","browser_version","reTree","orientation","setDeviceInfo","const","isTablet","asyncGeneratorStep","gen","_throw"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/modules/user/components/member-upgrade-card/member-upgrade-card.component.html","./src/app/modules/user/components/member-upgrade-card/member-upgrade-card.component.ts","./node_modules/angularx-qrcode/fesm2022/angularx-qrcode.mjs","./node_modules/@angular/animations/fesm2022/animations.mjs","./node_modules/@angular/animations/fesm2022/browser.mjs","./node_modules/@angular/platform-browser/fesm2022/animations.mjs","./node_modules/rxjs/dist/esm/internal/operators/toArray.js","./node_modules/ngx-owl-carousel-o/fesm2022/ngx-owl-carousel-o.mjs","./node_modules/rxjs/dist/esm/internal/operators/reduce.js","./node_modules/ngx-toastr/fesm2020/ngx-toastr.mjs","./node_modules/ng-inline-svg-2/lib_esmodule/inline-svg.config.js","./node_modules/ng-inline-svg-2/lib_esmodule/inline-svg.service.js","./node_modules/ng-inline-svg-2/lib_esmodule/inline-svg.component.js","./node_modules/ng-inline-svg-2/lib_esmodule/svg-cache.service.js","./node_modules/ng-inline-svg-2/lib_esmodule/svg-util.js","./node_modules/ng-inline-svg-2/lib_esmodule/inline-svg.directive.js","./node_modules/ng-inline-svg-2/lib_esmodule/inline-svg.module.js","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-services.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-directives.mjs","./src/app/shared/injection-tokens/color-mode.token.ts","./src/app/shared/services/theme.service.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-time-since.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-club-notification.mjs","./src/app/shared/utilities/populations.ts","./src/app/shared/utilities/product-code.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-language-selector.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-accessibility.mjs","./src/app/modules/layouts/components/nav-bar/nav-bar.component.html","./src/app/modules/layouts/components/nav-bar/nav-bar.component.ts","./src/app/modules/layouts/components/navigation-indicator/navigation-indicator.component.ts","./node_modules/rxjs/dist/esm/internal/operators/repeat.js","./src/app/modules/layouts/components/navigation-indicator/navigation-indicator.component.html","./src/app/modules/layouts/components/footer/footer.component.ts","./src/app/modules/layouts/components/footer/footer.component.html","./src/app/shared/directives/in-population.directive.ts","./src/app/shared/directives/not-in-population.directive.ts","./src/app/modules/user/components/barcode/barcode.component.html","./src/app/modules/user/components/barcode/barcode.component.ts","./src/app/modules/user/components/member-card/member-card.component.html","./src/app/modules/user/components/member-card/member-card.component.ts","./src/app/modules/layouts/components/mobile-nav-menu/mobile-nav-menu.component.html","./src/app/modules/layouts/components/mobile-nav-menu/mobile-nav-menu.component.ts","./src/app/shared/pipes/content-image.pipe.ts","./src/app/shared/components/custom-popup/popup-info/popup-info.component.html","./src/app/shared/components/custom-popup/popup-info/popup-info.component.ts","./src/app/shared/components/custom-popup/popup-action-confirm/popup-action-confirm.component.ts","./src/app/shared/components/custom-popup/popup-action-confirm/popup-action-confirm.component.html","./src/app/shared/components/custom-popup/popup-action-ok-cancel/popup-action-ok-cancel.component.ts","./src/app/shared/components/custom-popup/popup-action-ok-cancel/popup-action-ok-cancel.component.html","./src/app/shared/components/custom-popup/custom-popup.component.html","./src/app/shared/components/custom-popup/custom-popup.component.ts","./src/app/shared/directives/control-template.directive.ts","./src/app/modules/user/components/edit-account-details/edit-account-details.component.html","./src/app/modules/user/components/edit-account-details/edit-account-details.component.ts","./src/app/modules/layouts/components/popup-notification/popup-notification.component.html","./src/app/modules/layouts/components/popup-notification/popup-notification.component.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-number-input.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-cart-item.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-cart-item-cart-modal.mjs","./src/app/modules/layouts/components/floating-cart-button/floating-cart-button.component.html","./src/app/modules/layouts/components/floating-cart-button/floating-cart-button.component.ts","./src/app/pages/master/master-page/master-page.component.html","./src/app/pages/master/master-page/master-page.component.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-short-long-description.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-scorecards-scorecard-categories.mjs","./node_modules/canvas-confetti/dist/confetti.module.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-scorecards.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-countdown.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-loyalty-icon.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-auctions-auction-panel.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-marketplace-marketplace-list-item.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-lottos-lottos-list-item.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-mixed-loyalty.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-featured-rewards.mjs","./node_modules/@angular/cdk/fesm2022/coercion.mjs","./node_modules/@angular/cdk/fesm2022/platform.mjs","./node_modules/@angular/cdk/fesm2022/layout.mjs","./src/app/modules/loyalty/components/tier/tier.store.ts","./src/app/modules/loyalty/components/tier/tier.service.ts","./src/app/modules/loyalty/components/tier/tier.query.ts","./src/app/modules/loyalty/components/tier/tier.base.ts","./src/app/modules/user/components/user-profile-pic/user-profile-pic.service.ts","./src/app/modules/user/components/user-profile-pic/user-profile-pic.component.ts","./src/app/modules/user/components/user-profile-pic/user-profile-pic.component.html","./src/app/modules/loyalty/components/tier/tier-v2/tier-v2.component.html","./src/app/modules/loyalty/components/tier/tier-v2/tier-v2.component.ts","./src/app/shared/utilities/owl-carousel-settings.ts","./src/app/modules/club/components/survey/survey-item-answer/survey-item-answer.component.html","./src/app/modules/club/components/survey/survey-item-answer/survey-item-answer.component.ts","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz-text/survey-completed-quiz-text.component.html","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz-text/survey-completed-quiz-text.component.ts","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz-image-and-text/survey-completed-quiz-image-and-text.component.html","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz-image-and-text/survey-completed-quiz-image-and-text.component.ts","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz-image/survey-completed-quiz-image.component.html","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz-image/survey-completed-quiz-image.component.ts","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz.component.html","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz.component.ts","./src/app/modules/club/components/survey/survey-item/survey-item-quiz/survey-item-quiz.component.html","./src/app/modules/club/components/survey/survey-item/survey-item-quiz/survey-item-quiz.component.ts","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-predictor/predictor-completed-pending/predictor-completed-pending.component.html","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-predictor/predictor-completed-pending/predictor-completed-pending.component.ts","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-predictor/predictor-completed-processed/predictor-completed-processed.component.html","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-predictor/predictor-completed-processed/predictor-completed-processed.component.ts","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-predictor/survey-completed-predictor.component.html","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-predictor/survey-completed-predictor.component.ts","./src/app/modules/club/components/survey/survey-item/survey-item-predictor/survey-item-predictor.component.html","./src/app/modules/club/components/survey/survey-item/survey-item-predictor/survey-item-predictor.component.ts","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-poll/survey-completed-poll-item/survey-completed-poll-item.component.html","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-poll/survey-completed-poll-item/survey-completed-poll-item.component.ts","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-poll/survey-completed-poll.component.html","./src/app/modules/club/components/survey/survey-item-answer/completed/survey-completed-poll/survey-completed-poll.component.ts","./src/app/modules/club/components/survey/survey-item/survey-item-poll/survey-item-poll.component.html","./src/app/modules/club/components/survey/survey-item/survey-item-poll/survey-item-poll.component.ts","./src/app/modules/club/components/survey/survey-item/survey-item.component.html","./src/app/modules/club/components/survey/survey-item/survey-item.component.ts","./src/app/modules/club/components/survey/featured-surveys/featured-surveys.component.html","./src/app/modules/club/components/survey/featured-surveys/featured-surveys.component.ts","./src/app/shared/utilities/error.ts","./src/app/modules/vouchers/components/vouchers/vouchers.component.html","./src/app/modules/vouchers/components/vouchers/vouchers.component.ts","./src/app/modules/user/components/upgrade-benefits-card/upgrade-benefits-card.component.html","./src/app/modules/user/components/upgrade-benefits-card/upgrade-benefits-card.component.ts","./src/app/modules/club/components/announcements/announcement-content/announcement-content.component.html","./src/app/modules/club/components/announcements/announcement-content/announcement-content.component.ts","./src/app/modules/club/components/announcements/announcements/announcements.component.html","./src/app/modules/club/components/announcements/announcements/announcements.component.ts","./src/app/pages/home-page/home-page.component.html","./src/app/pages/home-page/home-page.component.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-club-faq-section.mjs","./src/app/pages/faq-page/faq-page.component.ts","./src/app/pages/faq-page/faq-page.component.html","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-club-contact-us.mjs","./src/app/pages/contact-us-page/contact-us-page.component.ts","./src/app/pages/contact-us-page/contact-us-page.component.html","./src/app/pages/terms-page/terms-page.component.html","./src/app/pages/terms-page/terms-page.component.ts","./src/app/pages/not-found-page/not-found-page.component.ts","./src/app/pages/not-found-page/not-found-page.component.html","./src/app/modules/layouts/components/account-nav/account-nav.component.ts","./src/app/modules/layouts/components/account-nav/account-nav.component.html","./src/app/modules/user/components/refer-a-friend/refer-a-friend.component.html","./src/app/modules/user/components/refer-a-friend/refer-a-friend.component.ts","./src/app/pages/refer-a-friend-page/refer-a-friend-page.component.ts","./src/app/pages/refer-a-friend-page/refer-a-friend-page.component.html","./src/app/pages/refer-a-friend-page/refer-a-friend-success-page/refer-a-friend-success-page.component.ts","./src/app/pages/refer-a-friend-page/refer-a-friend-success-page/refer-a-friend-success-page.component.html","./src/app/pages/rewards-layout/rewards-layout.component.ts","./src/app/pages/rewards-layout/rewards-layout.component.html","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-sort-bar.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-auctions-auction-list.mjs","./src/app/modules/layouts/components/mixed-loyalty-nav/mixed-loyalty-nav.component.ts","./src/app/modules/layouts/components/mixed-loyalty-nav/mixed-loyalty-nav.component.html","./src/app/pages/auctions-page/auctions-page.component.ts","./src/app/pages/auctions-page/auctions-page.component.html","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-countdown-v2.mjs","./node_modules/rxjs/dist/esm/internal/operators/takeWhile.js","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-reward-status.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-confirm-modal.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-auctions-auction-details.mjs","./src/app/modules/user/components/points-summary/points-summary.component.ts","./src/app/modules/user/components/points-summary/points-summary.component.html","./src/app/modules/user/components/points-summary-bar/points-summary-bar.component.html","./src/app/modules/user/components/points-summary-bar/points-summary-bar.component.ts","./src/app/pages/auction-detail-page/auction-detail-page.component.ts","./src/app/pages/auction-detail-page/auction-detail-page.component.html","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-marketplace-marketplace-list.mjs","./src/app/modules/loyalty/components/tier/tier.component.html","./src/app/modules/loyalty/components/tier/tier.component.ts","./src/app/pages/marketplace-page/marketplace-page.component.html","./src/app/pages/marketplace-page/marketplace-page.component.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-collect-address-modal.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-marketplace-marketplace-details.mjs","./src/app/pages/marketplace-detail-page/marketplace-detail-page.component.html","./src/app/pages/marketplace-detail-page/marketplace-detail-page.component.ts","./src/app/shared/directives/img-default.directive.ts","./src/app/pages/marketplace-page/marketplace-purchase-success-page/marketplace-purchase-success-page.component.html","./src/app/pages/marketplace-page/marketplace-purchase-success-page/marketplace-purchase-success-page.component.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-lottos-lottos-list.mjs","./src/app/pages/lottos-page/lottos-page.component.html","./src/app/pages/lottos-page/lottos-page.component.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-lottos-lotto-details.mjs","./src/app/pages/lotto-detail-page/lotto-detail-page.component.html","./src/app/pages/lotto-detail-page/lotto-detail-page.component.ts","./src/app/pages/lottos-page/lottos-success-page/lottos-success-page.component.html","./src/app/pages/lottos-page/lottos-success-page/lottos-success-page.component.ts","./src/app/pages/events-page/events-page.component.ts","./src/app/pages/events-page/events-page.component.html","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-wallet.mjs","./src/app/pages/wallet-page/wallet-page.component.html","./src/app/pages/wallet-page/wallet-page.component.ts","./src/app/pages/games-layout/games-layout.component.ts","./src/app/pages/games-layout/games-layout.component.html","./src/app/shared/utilities/season.ts","./src/app/modules/fantasy/components/fantasy-leaderboard.service.ts","./src/app/modules/layouts/components/game-nav/game-nav.component.html","./src/app/modules/layouts/components/game-nav/game-nav.component.ts","./src/app/shared/components/countdown/countdown.component.html","./src/app/shared/components/countdown/countdown.component.ts","./src/app/modules/fantasy/components/fantasy-player-select-confirm/fantasy-player-select-confirm.component.html","./src/app/modules/fantasy/components/fantasy-player-select-confirm/fantasy-player-select-confirm.component.ts","./src/app/modules/fantasy/components/fantasy-game-panel/fantasy-game-panel.component.html","./src/app/modules/fantasy/components/fantasy-game-panel/fantasy-game-panel.component.ts","./src/app/modules/fantasy/components/fantasy-history-list-item/fantasy-history-list-item.component.html","./src/app/modules/fantasy/components/fantasy-history-list-item/fantasy-history-list-item.component.ts","./src/app/modules/fantasy/components/fantasy-history-list/fantasy-history-list.component.html","./src/app/modules/fantasy/components/fantasy-history-list/fantasy-history-list.component.ts","./src/app/modules/fantasy/components/fantasy-leaderboard/fantasy-leaderboard.component.html","./src/app/modules/fantasy/components/fantasy-leaderboard/fantasy-leaderboard.component.ts","./src/app/pages/fantasy-games-page/fantasy-games-page.component.html","./src/app/pages/fantasy-games-page/fantasy-games-page.component.ts","./src/app/modules/fantasy/components/fantasy-player-select/fantasy-player-select.component.html","./src/app/modules/fantasy/components/fantasy-player-select/fantasy-player-select.component.ts","./src/app/pages/fantasy-player-select-page/fantasy-player-select-page.component.ts","./src/app/pages/fantasy-player-select-page/fantasy-player-select-page.component.html","./src/app/pages/predictor-page/predictor-page.component.html","./src/app/pages/predictor-page/predictor-page.component.ts","./src/app/pages/polls-page/polls-page.component.html","./src/app/pages/polls-page/polls-page.component.ts","./src/app/pages/auction-bid-details-page/auction-bid-details-page.component.ts","./src/app/pages/auction-bid-details-page/auction-bid-details-page.component.html","./src/app/pages/lotto-wallet-details-page/lotto-wallet-details-page.component.ts","./src/app/pages/lotto-wallet-details-page/lotto-wallet-details-page.component.html","./src/app/pages/quiz-page/quiz-page.component.html","./src/app/pages/quiz-page/quiz-page.component.ts","./src/app/shared/components/number-increment-input/number-increment-input.component.html","./src/app/shared/components/number-increment-input/number-increment-input.component.ts","./src/app/modules/club/components/score-predictor/score-predictor-item/score-predictor-body/score-predictor-body.component.html","./src/app/modules/club/components/score-predictor/score-predictor-item/score-predictor-body/score-predictor-body.component.ts","./src/app/modules/club/components/score-predictor/score-predictor-completed/score-predictor-completed-pending/score-predictor-completed-pending.component.html","./src/app/modules/club/components/score-predictor/score-predictor-completed/score-predictor-completed-pending/score-predictor-completed-pending.component.ts","./src/app/modules/club/components/score-predictor/score-predictor-completed/score-predictor-completed-processed/score-predictor-completed-processed.component.html","./src/app/modules/club/components/score-predictor/score-predictor-completed/score-predictor-completed-processed/score-predictor-completed-processed.component.ts","./src/app/modules/club/components/score-predictor/score-predictor-completed/score-predictor-completed.component.html","./src/app/modules/club/components/score-predictor/score-predictor-completed/score-predictor-completed.component.ts","./src/app/modules/club/components/score-predictor/score-predictor-item/score-predictor-footer/score-predictor-footer.component.html","./src/app/modules/club/components/score-predictor/score-predictor-item/score-predictor-footer/score-predictor-footer.component.ts","./src/app/modules/club/components/score-predictor/score-predictor-item/score-predictor-header/score-predictor-header.component.html","./src/app/modules/club/components/score-predictor/score-predictor-item/score-predictor-header/score-predictor-header.component.ts","./src/app/modules/club/components/score-predictor/score-predictor-item/score-predictor-item.component.ts","./src/app/modules/club/components/score-predictor/score-predictor-item/score-predictor-item.component.html","./src/app/modules/club/components/score-predictor/score-predictor-list/score-predictor-list.component.html","./src/app/modules/club/components/score-predictor/score-predictor-list/score-predictor-list.component.ts","./src/app/pages/score-predictor-page/score-predictor-page.component.html","./src/app/pages/score-predictor-page/score-predictor-page.component.ts","./src/app/pages/products-page/products-page.component.ts","./src/app/pages/products-page/products-page.component.html","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-badges-badge-list-item.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-badges-badge-overview-list.mjs","./src/app/modules/layouts/components/challenges-nav/challenges-nav.component.ts","./src/app/modules/layouts/components/challenges-nav/challenges-nav.component.html","./src/app/pages/badges-page/badges-page.component.ts","./src/app/pages/badges-page/badges-page.component.html","./src/app/modules/user/components/account-details/account-details.component.html","./src/app/modules/user/components/account-details/account-details.component.ts","./src/app/pages/account-details-page/account-details-page.component.html","./src/app/pages/account-details-page/account-details-page.component.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-date-range-picker.mjs","./src/app/modules/user/components/transaction-list/transaction-list.component.html","./src/app/modules/user/components/transaction-list/transaction-list.component.ts","./src/app/modules/user/components/transaction-history/transaction-history.component.html","./src/app/modules/user/components/transaction-history/transaction-history.component.ts","./src/app/pages/activity-page/activity-page.component.ts","./src/app/pages/activity-page/activity-page.component.html","./src/app/modules/guardian/components/membership-options-carousel/membership-options-carousel.component.html","./src/app/modules/guardian/components/membership-options-carousel/membership-options-carousel.component.ts","./src/app/modules/guardian/components/upgrade-children/upgrade-children.component.html","./src/app/modules/guardian/components/upgrade-children/upgrade-children.component.ts","./src/app/modules/guardian/components/child-barcodes-carousel/child-barcodes-carousel.component.html","./src/app/modules/guardian/components/child-barcodes-carousel/child-barcodes-carousel.component.ts","./src/app/shared/components/lost-barcode-modal/lost-barcode-modal.component.html","./src/app/shared/components/lost-barcode-modal/lost-barcode-modal.component.ts","./src/app/modules/guardian/components/child-panel/child-panel.component.html","./src/app/modules/guardian/components/child-panel/child-panel.component.ts","./src/app/modules/guardian/components/child-list/child-list.component.html","./src/app/modules/guardian/components/child-list/child-list.component.ts","./src/app/pages/guardian-page/guardian-page.component.html","./src/app/pages/guardian-page/guardian-page.component.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-passes-mobile-pass.mjs","./src/app/modules/user/components/cards/card-list-item/card-list-item.component.ts","./src/app/modules/user/components/cards/card-list-item/card-list-item.component.html","./src/app/modules/user/components/cards/card-list/card-list.component.html","./src/app/modules/user/components/cards/card-list/card-list.component.ts","./src/app/pages/card-page/card-page.component.ts","./src/app/pages/card-page/card-page.component.html","./src/app/modules/ecash/components/autotopup/autotopup.component.html","./src/app/modules/ecash/components/autotopup/autotopup.component.ts","./src/app/modules/ecash/components/topup/topup.component.html","./src/app/modules/ecash/components/topup/topup.component.ts","./src/app/pages/ecash-page/ecash-page.component.ts","./src/app/pages/ecash-page/ecash-page.component.html","./src/app/pages/ecash-page/ecash-success-page/ecash-success-page.component.html","./src/app/pages/ecash-page/ecash-success-page/ecash-success-page.component.ts","./src/app/pages/ecash-page/ecash-failure-page/ecash-failure-page.component.ts","./src/app/pages/ecash-page/ecash-failure-page/ecash-failure-page.component.html","./src/app/pages/ecash-page/ecash-result-page/ecash-result-page.component.ts","./src/app/pages/ecash-page/ecash-result-page/ecash-result-page.component.html","./src/app/pages/ecash-history/ecash-history.component.ts","./src/app/pages/ecash-history/ecash-history.component.html","./src/app/pages/portal-products-pages/portal-product-success-page/portal-product-success-page.component.html","./src/app/pages/portal-products-pages/portal-product-success-page/portal-product-success-page.component.ts","./src/app/pages/portal-products-pages/portal-product-failure-page/portal-product-failure-page.component.html","./src/app/pages/portal-products-pages/portal-product-failure-page/portal-product-failure-page.component.ts","./src/app/pages/portal-products-pages/portal-product-results-page/portal-product-results-page.component.ts","./src/app/pages/portal-products-pages/portal-product-results-page/portal-product-results-page.component.html","./src/app/pages/ticket-transfer-page/ticket-transfer-page.component.html","./src/app/pages/ticket-transfer-page/ticket-transfer-page.component.ts","./src/app/pages/ticket-transfer-page/tickets-page/tickets-page.component.html","./src/app/pages/ticket-transfer-page/tickets-page/tickets-page.component.ts","./src/app/pages/ticket-transfer-page/transfer-confirm-page/transfer-confirm-page.component.ts","./src/app/pages/ticket-transfer-page/transfer-confirm-page/transfer-confirm-page.component.html","./src/app/pages/ticket-transfer-page/ticket-transfer-success-page/ticket-transfer-success-page.component.html","./src/app/pages/ticket-transfer-page/ticket-transfer-success-page/ticket-transfer-success-page.component.ts","./src/app/modules/layouts/components/ticket-nav/ticket-nav.component.ts","./src/app/modules/layouts/components/ticket-nav/ticket-nav.component.html","./src/app/modules/events/components/events-drop-down/events-drop-down.component.html","./src/app/modules/events/components/events-drop-down/events-drop-down.component.ts","./src/app/modules/user/components/ecash-balance/ecash-balance.component.ts","./src/app/modules/user/components/ecash-balance/ecash-balance.component.html","./src/app/modules/tickets/components/ticket-top-up/ticket-topup-checkout-list/ticket-topup-checkout-list.component.html","./src/app/modules/tickets/components/ticket-top-up/ticket-topup-checkout-list/ticket-topup-checkout-list.component.ts","./src/app/modules/tickets/components/ticket-top-up/ticket-topup-checkout/ticket-topup-checkout.component.html","./src/app/modules/tickets/components/ticket-top-up/ticket-topup-checkout/ticket-topup-checkout.component.ts","./src/app/modules/ecash/components/top-up-ticket/top-up-ticket.component.html","./src/app/modules/ecash/components/top-up-ticket/top-up-ticket.component.ts","./src/app/modules/tickets/components/ticket-top-up/ticket-details/ticket-details-unloaded/ticket-details-unloaded.component.html","./src/app/modules/tickets/components/ticket-top-up/ticket-details/ticket-details-unloaded/ticket-details-unloaded.component.ts","./src/app/modules/tickets/components/ticket-top-up/ticket-unloaded-list/ticket-unloaded-list.component.html","./src/app/modules/tickets/components/ticket-top-up/ticket-unloaded-list/ticket-unloaded-list.component.ts","./src/app/modules/tickets/components/ticket-top-up/ticket-details/ticket-details-loaded/ticket-details-loaded.component.html","./src/app/modules/tickets/components/ticket-top-up/ticket-details/ticket-details-loaded/ticket-details-loaded.component.ts","./src/app/modules/tickets/components/ticket-top-up/ticket-loaded-list/ticket-loaded-list.component.html","./src/app/modules/tickets/components/ticket-top-up/ticket-loaded-list/ticket-loaded-list.component.ts","./src/app/modules/tickets/components/ticket-top-up/ticket-topup-list/ticket-topup-list.component.ts","./src/app/modules/tickets/components/ticket-top-up/ticket-topup-list/ticket-topup-list.component.html","./src/app/pages/manage-tickets-page/manage-tickets-page.component.html","./src/app/pages/manage-tickets-page/manage-tickets-page.component.ts","./src/app/pages/manage-ticket-history-page/manage-ticket-history-page.component.html","./src/app/pages/manage-ticket-history-page/manage-ticket-history-page.component.ts","./src/app/pages/contacts-page/contacts-page.component.ts","./src/app/pages/contacts-page/contacts-page.component.html","./src/app/modules/layouts/components/arena-cash-nav/arena-cash-nav.component.ts","./src/app/modules/layouts/components/arena-cash-nav/arena-cash-nav.component.html","./src/app/shared/utilities/regex.ts","./src/app/modules/club/components/transfer-arena-cash/transfer-arena-cash/transfer-arena-cash.component.html","./src/app/modules/club/components/transfer-arena-cash/transfer-arena-cash/transfer-arena-cash.component.ts","./src/app/pages/transfer-arena-cash-page/transfer-arena-cash-page.component.ts","./src/app/pages/transfer-arena-cash-page/transfer-arena-cash-page.component.html","./src/app/modules/club/components/transfer-arena-cash/transfer-arena-multiple-accounts/transfer-arena-multiple-accounts.component.html","./src/app/modules/club/components/transfer-arena-cash/transfer-arena-multiple-accounts/transfer-arena-multiple-accounts.component.ts","./src/app/pages/transfer-multiple-accounts-page/transfer-multiple-accounts-page.component.ts","./src/app/pages/transfer-multiple-accounts-page/transfer-multiple-accounts-page.component.html","./src/app/pages/transfer-arena-cash-success-page/transfer-arena-cash-success-page.component.html","./src/app/pages/transfer-arena-cash-success-page/transfer-arena-cash-success-page.component.ts","./src/app/modules/user/components/auth/auth-callback/auth-callback.component.ts","./src/app/modules/user/components/auth/auth-callback/auth-callback.component.html","./src/app/modules/user/components/invalid-token-modal/invalid-token-modal.component.ts","./src/app/modules/user/components/invalid-token-modal/invalid-token-modal.component.html","./src/app/modules/user/components/popup-add-to-home-screen/popup-add-to-home-screen.component.html","./src/app/modules/user/components/popup-add-to-home-screen/popup-add-to-home-screen.component.ts","./src/app/modules/user/components/user-login/user-login.component.html","./src/app/modules/user/components/user-login/user-login.component.ts","./src/app/pages/login-page/login-page.component.html","./src/app/pages/login-page/login-page.component.ts","./src/app/pages/login-accounts-page/login-accounts-page.component.html","./src/app/pages/login-accounts-page/login-accounts-page.component.ts","./src/app/modules/user/components/single-sign-on/single-sign-on.component.ts","./src/app/modules/user/components/single-sign-on/single-sign-on.component.html","./src/app/pages/maintenance-page/maintenance-page.component.ts","./src/app/pages/maintenance-page/maintenance-page.component.html","./src/app/modules/events/components/game-card/game-card.component.html","./src/app/modules/events/components/game-card/game-card.component.ts","./src/app/modules/events/components/next-game/next-game.component.ts","./src/app/modules/events/components/next-game/next-game.component.html","./src/app/pages/test-pop-home-page/test-pop-home-page.component.ts","./src/app/pages/test-pop-home-page/test-pop-home-page.component.html","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-club-earn-points.mjs","./src/app/pages/earn-page/earn-page.component.ts","./src/app/pages/earn-page/earn-page.component.html","./src/app/modules/benefit/components/benefit-header/benefit-header.component.html","./src/app/modules/benefit/components/benefit-header/benefit-header.component.ts","./src/app/modules/benefit/components/benefit-info-modal/benefit-info-modal.component.ts","./src/app/modules/benefit/components/benefit-info-modal/benefit-info-modal.component.html","./src/app/modules/benefit/components/benefit-claim-confirmation-modal/benefit-claim-confirmation-modal.component.ts","./src/app/modules/benefit/components/benefit-claim-confirmation-modal/benefit-claim-confirmation-modal.component.html","./src/app/modules/benefit/components/benefit-item/benefit-item.component.html","./src/app/modules/benefit/components/benefit-item/benefit-item.component.ts","./src/app/modules/benefit/components/benefit-item-list/benefit-item-list.component.html","./src/app/modules/benefit/components/benefit-item-list/benefit-item-list.component.ts","./src/app/modules/benefit/components/benefit-claimed/benefit-claimed.component.ts","./src/app/modules/benefit/components/benefit-claimed/benefit-claimed.component.html","./src/app/modules/benefit/components/benefit-claimed-list/benefit-claimed-list.component.html","./src/app/modules/benefit/components/benefit-claimed-list/benefit-claimed-list.component.ts","./src/app/pages/benefits-page/benefits-page.component.html","./src/app/pages/benefits-page/benefits-page.component.ts","./src/app/modules/purchase/components/auction-bid-list/auction-bid-list.component.html","./src/app/modules/purchase/components/auction-bid-list/auction-bid-list.component.ts","./src/app/pages/auction-bids-page/auction-bids-page.component.ts","./src/app/pages/auction-bids-page/auction-bids-page.component.html","./src/app/modules/user/components/points-management-placeholder/points-management-placeholder.component.html","./src/app/modules/user/components/points-management-placeholder/points-management-placeholder.component.ts","./src/app/modules/user/components/points-transfer/points-transfer.component.html","./src/app/modules/user/components/points-transfer/points-transfer.component.ts","./src/app/pages/points-management-page/points-management-page.component.ts","./src/app/pages/points-management-page/points-management-page.component.html","./src/app/shared/utilities/load-scripts.function.ts","./src/app/shared/components/providers/youtube/fgb-youtube-player/fgb-youtube-player.component.ts","./src/app/shared/components/providers/youtube/fgb-youtube-player/fgb-youtube-player.component.html","./src/app/shared/components/providers/vimeo/fgb-vimeo-player/fgb-vimeo-player.component.ts","./src/app/shared/components/providers/vimeo/fgb-vimeo-player/fgb-vimeo-player.component.html","./src/app/shared/components/providers/streamingVideoProvider/fgb-svp-player/fgb-svp-player.component.ts","./src/app/shared/components/providers/streamingVideoProvider/fgb-svp-player/fgb-svp-player.component.html","./src/app/shared/components/providers/twitch/fgb-twitch-player/fgb-twitch-player.component.ts","./src/app/shared/components/providers/twitch/fgb-twitch-player/fgb-twitch-player.component.html","./src/app/shared/components/providers/boxcast/fgb-boxcast-player/fgb-boxcast-player.component.ts","./src/app/shared/components/providers/boxcast/fgb-boxcast-player/fgb-boxcast-player.component.html","./src/app/shared/components/providers/streamable/fgb-streamable-player/fgb-streamable-player.component.ts","./src/app/shared/components/providers/streamable/fgb-streamable-player/fgb-streamable-player.component.html","./src/app/shared/components/providers/facebook/fgb-facebook-player/fgb-facebook-player.component.ts","./src/app/shared/components/providers/facebook/fgb-facebook-player/fgb-facebook-player.component.html","./src/app/modules/loyalty/components/worksheet-item/worksheet-item.component.html","./src/app/modules/loyalty/components/worksheet-item/worksheet-item.component.ts","./src/app/pages/tailgate-page/tailgate-page.component.html","./src/app/pages/tailgate-page/tailgate-page.component.ts","./src/app/modules/user/components/partner-list/partner-list.component.html","./src/app/modules/user/components/partner-list/partner-list.component.ts","./src/app/modules/user/components/partner-pending-list/partner-pending-list.component.html","./src/app/modules/user/components/partner-pending-list/partner-pending-list.component.ts","./src/app/modules/user/components/partner-add-form/partner-add-form.component.ts","./src/app/modules/user/components/partner-add-form/partner-add-form.component.html","./src/app/modules/user/components/partner-accept-form/partner-accept-form.component.ts","./src/app/modules/user/components/partner-accept-form/partner-accept-form.component.html","./src/app/pages/partner-page/partner-page.component.html","./src/app/pages/partner-page/partner-page.component.ts","./src/app/modules/club/components/leaderboard/leaderboard.component.html","./src/app/modules/club/components/leaderboard/leaderboard.component.ts","./src/app/pages/leaderboard-page/leaderboard-page.component.ts","./src/app/pages/leaderboard-page/leaderboard-page.component.html","./src/app/pages/lottos-terms-page/lottos-terms-page.component.html","./src/app/pages/lottos-terms-page/lottos-terms-page.component.ts","./src/app/pages/marketplace-terms-page/marketplace-terms-page.component.html","./src/app/pages/marketplace-terms-page/marketplace-terms-page.component.ts","./src/app/shared/components/manage-tickets/tm-callback/tm-callback.component.ts","./src/app/shared/components/manage-tickets/tm-callback/tm-callback.component.html","./src/app/shared/components/providers/tm/tm-auth-callback/tm-auth-callback.component.ts","./src/app/shared/components/providers/tm/tm-auth-callback/tm-auth-callback.component.html","./src/app/modules/loyalty/components/worksheet-list/worksheet-list.component.html","./src/app/modules/loyalty/components/worksheet-list/worksheet-list.component.ts","./src/app/pages/worksheet-page/worksheet-page.component.ts","./src/app/pages/worksheet-page/worksheet-page.component.html","./src/app/shared/components/providers/zoom/fgb-zoom-conference/fgb-zoom-conference.component.ts","./src/app/shared/components/providers/zoom/fgb-zoom-conference/fgb-zoom-conference.component.html","./src/app/pages/zoom-meeting-page/zoom-meeting-page.component.html","./src/app/pages/zoom-meeting-page/zoom-meeting-page.component.ts","./src/app/pages/fantasy-leaderboard-page/fantasy-leaderboard-page.component.html","./src/app/pages/fantasy-leaderboard-page/fantasy-leaderboard-page.component.ts","./src/app/modules/user/components/v1-single-sign-on/v1-single-sign-on.component.ts","./src/app/modules/user/components/v1-single-sign-on/v1-single-sign-on.component.html","./src/app/modules/ecash/components/non-partner-bonus-transfer/non-partner-bonus-transfer.component.html","./src/app/modules/ecash/components/non-partner-bonus-transfer/non-partner-bonus-transfer.component.ts","./src/app/modules/ecash/components/partner-bonus-transfer/partner-bonus-transfer.component.html","./src/app/modules/ecash/components/partner-bonus-transfer/partner-bonus-transfer.component.ts","./src/app/pages/renewal-bonus-transfer-page/renewal-bonus-transfer-page.component.html","./src/app/pages/renewal-bonus-transfer-page/renewal-bonus-transfer-page.component.ts","./src/app/modules/loyalty/components/subscriptions-list-item/subscriptions-list-item.component.html","./src/app/modules/loyalty/components/subscriptions-list-item/subscriptions-list-item.component.ts","./src/app/modules/loyalty/components/subscriptions-list-item-renewals/subscriptions-list-item-renewals.component.html","./src/app/modules/loyalty/components/subscriptions-list-item-renewals/subscriptions-list-item-renewals.component.ts","./src/app/modules/loyalty/components/subscriptions-list-item-subscribed/subscriptions-list-item-subscribed.component.html","./src/app/modules/loyalty/components/subscriptions-list-item-subscribed/subscriptions-list-item-subscribed.component.ts","./src/app/modules/loyalty/components/subscriptions-list/subscriptions-list.component.html","./src/app/modules/loyalty/components/subscriptions-list/subscriptions-list.component.ts","./src/app/pages/subscriptions-page/subscriptions-page.component.ts","./src/app/pages/subscriptions-page/subscriptions-page.component.html","./src/app/modules/loyalty/components/cart-item-subscriptions/cart-item-subscriptions.component.html","./src/app/modules/loyalty/components/cart-item-subscriptions/cart-item-subscriptions.component.ts","./src/app/pages/cart-checkout-page-portal-products/cart-checkout-page-portal-products.component.html","./src/app/pages/cart-checkout-page-portal-products/cart-checkout-page-portal-products.component.ts","./src/app/pages/cart-checkout-page/cart-checkout-page.component.html","./src/app/pages/cart-checkout-page/cart-checkout-page.component.ts","./src/app/modules/club/components/offers/offers-list-item/offers-list-item.component.html","./src/app/modules/club/components/offers/offers-list-item/offers-list-item.component.ts","./node_modules/@angular/google-maps/fesm2022/google-maps.mjs","./src/app/modules/club/components/offers/offers-map/offers-map.component.html","./src/app/modules/club/components/offers/offers-map/offers-map.component.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-club-offer-search-bar.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-filter-by.mjs","./src/app/modules/club/components/offers/offers-toolbar/offers-toolbar.component.html","./src/app/modules/club/components/offers/offers-toolbar/offers-toolbar.component.ts","./src/app/modules/club/components/offers/offers-list/offers-list.component.html","./src/app/modules/club/components/offers/offers-list/offers-list.component.ts","./src/app/modules/club/components/offers/offer-earn-tab/offer-earn-tab.component.ts","./src/app/modules/club/components/offers/offer-earn-tab/offer-earn-tab.component.html","./src/app/modules/club/components/offers/partners-list-item/partners-list-item.component.ts","./src/app/modules/club/components/offers/partners-list-item/partners-list-item.component.html","./src/app/pages/offers-page/offers-page.component.html","./src/app/pages/offers-page/offers-page.component.ts","./src/app/modules/club/components/offers/offer-terms-modal/offer-terms-modal.component.ts","./src/app/modules/club/components/offers/offer-terms-modal/offer-terms-modal.component.html","./src/app/modules/club/components/offers/offers-details/offers-details.component.html","./src/app/modules/club/components/offers/offers-details/offers-details.component.ts","./src/app/pages/offer-details-page/offer-details-page.component.html","./src/app/pages/offer-details-page/offer-details-page.component.ts","./src/app/pages/cart-checkout-page/cart-checkout-results-page/cart-checkout-results-page.component.ts","./src/app/pages/cart-checkout-page/cart-checkout-results-page/cart-checkout-results-page.component.html","./src/app/pages/cart-checkout-page/cart-checkout-success-page/cart-checkout-success-page.component.ts","./src/app/pages/cart-checkout-page/cart-checkout-success-page/cart-checkout-success-page.component.html","./src/app/pages/notification-management-page/notification-management-page.component.ts","./src/app/pages/notification-management-page/notification-management-page.component.html","./src/app/shared/components/providers/sports-alliance/sports-alliance-callback/sports-alliance-callback.component.ts","./src/app/shared/components/providers/sports-alliance/sports-alliance-callback/sports-alliance-callback.component.html","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-ecash-ecash-description.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-top-up-address.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-ecash-card-token-list.mjs","./src/app/pages/payment-page/payment-page.component.ts","./src/app/pages/payment-page/payment-page.component.html","./src/app/shared/components/providers/provider-callback/provider-callback.component.ts","./src/app/shared/components/providers/provider-callback/provider-callback.component.html","./node_modules/rxjs/dist/esm/internal/operators/exhaustMap.js","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-animations.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-cardlinking.mjs","./src/app/pages/card-linking-page/card-linking-page.component.html","./src/app/pages/card-linking-page/card-linking-page.component.ts","./src/app/pages/card-linking-success-page/card-linking-success-page.component.ts","./src/app/pages/card-linking-success-page/card-linking-success-page.component.html","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-shared-search-bar.mjs","./src/app/pages/card-link-all-offers-page/card-link-all-offers-page.component.html","./src/app/pages/card-link-all-offers-page/card-link-all-offers-page.component.ts","./src/app/pages/card-link-affiliates-page/card-link-affiliates-page.component.html","./src/app/pages/card-link-affiliates-page/card-link-affiliates-page.component.ts","./src/app/pages/card-link-activated-offers-page/card-link-activated-offers-page.component.ts","./src/app/pages/card-link-activated-offers-page/card-link-activated-offers-page.component.html","./src/app/pages/card-link-offer-details-page/card-link-offer-details-page.component.html","./src/app/pages/card-link-offer-details-page/card-link-offer-details-page.component.ts","./src/app/shared/components/providers/key-cloak/key-cloak-callback/key-cloak-callback.component.ts","./src/app/shared/components/providers/key-cloak/key-cloak-callback/key-cloak-callback.component.html","./src/app/shared/components/providers/seatgeek/seatgeek-callback/seatgeek-callback.component.ts","./src/app/shared/components/providers/seatgeek/seatgeek-callback/seatgeek-callback.component.html","./src/app/pages/ticket-invite-page-component/ticket-invite-page-component.component.html","./src/app/pages/ticket-invite-page-component/ticket-invite-page-component.component.ts","./src/app/modules/user/components/split-transaction/split-transaction-item/split-transaction.component.html","./src/app/modules/user/components/split-transaction/split-transaction-item/split-transaction.component.ts","./src/app/modules/user/components/split-transaction/split-transaction-list/split-transaction-list.component.html","./src/app/modules/user/components/split-transaction/split-transaction-list/split-transaction-list.component.ts","./src/app/modules/user/components/split-transaction/split-transaction-history/split-transaction-history.component.ts","./src/app/modules/user/components/split-transaction/split-transaction-history/split-transaction-history.component.html","./src/app/pages/split-transaction-page/split-transaction-page.component.ts","./src/app/pages/split-transaction-page/split-transaction-page.component.html","./src/app/shared/components/providers/other-media/other-media-callback/other-media-callback.component.ts","./src/app/shared/components/providers/other-media/other-media-callback/other-media-callback.component.html","./src/app/modules/user/components/user-reset-password/user-reset-password.component.html","./src/app/modules/user/components/user-reset-password/user-reset-password.component.ts","./src/app/modules/user/components/user-change-password/user-change-password.component.html","./src/app/modules/user/components/user-change-password/user-change-password.component.ts","./src/app/pages/campaign-details-page/campaign-details-page.component.html","./src/app/pages/campaign-details-page/campaign-details-page.component.ts","./src/app/modules/registration/pages/registration-layout-page/registration-layout-page.component.ts","./src/app/modules/registration/pages/registration-layout-page/registration-layout-page.component.html","./src/app/pages/wallet-claimed-page/wallet-claimed-page.component.html","./src/app/pages/wallet-claimed-page/wallet-claimed-page.component.ts","./src/app/pages/kids-linked-page/kids-linked-page.component.html","./src/app/pages/kids-linked-page/kids-linked-page.component.ts","./src/app/shared/guards/change-password.guard.ts","./src/app/pages/tiers-page/tiers-page.component.html","./src/app/pages/tiers-page/tiers-page.component.ts","./src/app/pages/rewards-page/filter-modal/filter-modal.component.html","./src/app/pages/rewards-page/filter-modal/filter-modal.component.ts","./src/app/pages/rewards-page/rewards-page.component.html","./src/app/app-routing.module.ts","./src/app/pages/rewards-page/rewards-page.component.ts","./src/app/pages/challenges-page/challenges-page.component.ts","./src/app/pages/challenges-page/challenges-page.component.html","./src/app/shared/shared.module.ts","./src/app/shared/components/number-increment-input/number-increment-input.module.ts","./src/app/modules/club/components/score-predictor/score-predictor.module.ts","./src/app/modules/club/club.module.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-ecash-cash-back-toggle.mjs","./src/app/modules/user/components/split-transaction/split-transaction.module.ts","./src/app/modules/user/user.module.ts","./src/app/modules/guardian/guardian.module.ts","./src/app/modules/layouts/layout.module.ts","./src/app/modules/loyalty/loyalty.module.ts","./src/app/modules/vouchers/vouchers.module.ts","./src/app/modules/ecash/ecash.module.ts","./src/app/modules/purchase/purchase.module.ts","./src/app/modules/events/events.module.ts","./src/app/modules/tickets/tickets.module.ts","./src/app/modules/fantasy/fantasy.module.ts","./src/app/modules/display/display.module.ts","./src/app/shared/utilities/moment-date-formatter.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-loyalty-badges-badge-featured-list.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-user-address-book.mjs","./src/app/app.component.ts","./src/app/app.component.html","./src/app/modules/benefit/benefit.module.ts","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-user-club-selector.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-user-edit-questions.mjs","./src/app/modules/club/components/club-notification/club-notification.component.html","./src/app/modules/club/components/club-notification/club-notification.component.ts","./src/app/modules/club/components/announcements/announcements.module.ts","./src/app/shared/providers/app-config.provider.ts","./src/app/shared/providers/tm-config.provider.ts","./src/app/pages/rewards-page/filter-modal/filter-modal.module.ts","./src/app/app.module.ts","./src/main.ts","./node_modules/@datorama/akita/src/lib/actions.js","./node_modules/@datorama/akita/src/lib/isNil.js","./node_modules/@datorama/akita/src/lib/coerceArray.js","./node_modules/@datorama/akita/src/lib/defaultIDKey.js","./node_modules/@datorama/akita/src/lib/isFunction.js","./node_modules/@datorama/akita/src/lib/isObject.js","./node_modules/@datorama/akita/src/lib/arrayUpdate.js","./node_modules/@datorama/akita/src/lib/cacheable.js","./node_modules/@datorama/akita/src/lib/combineQueries.js","./node_modules/rxjs/dist/esm/internal/operators/auditTime.js","./node_modules/rxjs/dist/esm/internal/operators/audit.js","./node_modules/@datorama/akita/src/lib/config.js","./node_modules/@datorama/akita/src/lib/dispatchers.js","./node_modules/@datorama/akita/src/lib/root.js","./node_modules/@datorama/akita/src/lib/stores.js","./node_modules/@datorama/akita/src/lib/sort.js","./node_modules/@datorama/akita/src/lib/entitiesToArray.js","./node_modules/@datorama/akita/src/lib/entityActions.js","./node_modules/@datorama/akita/src/lib/hasEntity.js","./node_modules/@datorama/akita/src/lib/env.js","./node_modules/@datorama/akita/src/lib/isArray.js","./node_modules/@datorama/akita/src/lib/isDefined.js","./node_modules/@datorama/akita/src/lib/isEmpty.js","./node_modules/@datorama/akita/src/lib/isUndefined.js","./node_modules/@datorama/akita/src/lib/activeState.js","./node_modules/@datorama/akita/src/lib/setEntities.js","./node_modules/@datorama/akita/src/lib/deepFreeze.js","./node_modules/@datorama/akita/src/lib/toBoolean.js","./node_modules/@datorama/akita/src/lib/isPlainObject.js","./node_modules/@datorama/akita/src/lib/errors.js","./node_modules/@datorama/akita/src/lib/storeConfig.js","./node_modules/@datorama/akita/src/lib/transaction.js","./node_modules/@datorama/akita/src/lib/store.js","./node_modules/@datorama/akita/src/lib/entityStore.js","./node_modules/@datorama/akita/src/lib/getInitialEntitiesState.js","./node_modules/@datorama/akita/src/lib/toEntitiesObject.js","./node_modules/@datorama/akita/src/lib/addEntities.js","./node_modules/@datorama/akita/src/lib/updateEntities.js","./node_modules/@datorama/akita/src/lib/removeEntities.js","./node_modules/@datorama/akita/src/lib/getActiveEntities.js","./node_modules/@datorama/akita/src/lib/isString.js","./node_modules/@datorama/akita/src/lib/queryConfig.js","./node_modules/@datorama/akita/src/lib/query.js","./node_modules/@datorama/akita/src/lib/compareKeys.js","./node_modules/@datorama/akita/src/lib/getEntity.js","./node_modules/@datorama/akita/src/lib/queryEntity.js","./node_modules/@datorama/akita/src/lib/entitiesToMap.js","./node_modules/@datorama/akita/src/lib/sortByOptions.js","./node_modules/@datorama/akita/src/lib/mapSkipUndefined.js","./node_modules/@datorama/akita/src/lib/arrayFind.js","./node_modules/@datorama/akita/src/lib/guid.js","./node_modules/@datorama/akita/src/lib/persistState.js","./node_modules/@datorama/akita/src/lib/getValueByString.js","./node_modules/@datorama/akita/src/lib/plugins/plugin.js","./node_modules/@datorama/akita/src/lib/filterNil.js","./node_modules/@datorama/akita/src/lib/setValueByString.js","./node_modules/@datorama/akita/src/lib/plugins/paginator/paginatorPlugin.js","./node_modules/@datorama/akita/src/lib/snapshotManager.js","./node_modules/@microsoft/signalr/dist/esm/Errors.js","./node_modules/@microsoft/signalr/dist/esm/HttpClient.js","./node_modules/@microsoft/signalr/dist/esm/ILogger.js","./node_modules/@microsoft/signalr/dist/esm/Loggers.js","./node_modules/@microsoft/signalr/dist/esm/Utils.js","./node_modules/@microsoft/signalr/dist/esm/FetchHttpClient.js","./node_modules/@microsoft/signalr/dist/esm/XhrHttpClient.js","./node_modules/@microsoft/signalr/dist/esm/DefaultHttpClient.js","./node_modules/@microsoft/signalr/dist/esm/TextMessageFormat.js","./node_modules/@microsoft/signalr/dist/esm/HandshakeProtocol.js","./node_modules/@microsoft/signalr/dist/esm/IHubProtocol.js","./node_modules/@microsoft/signalr/dist/esm/Subject.js","./node_modules/@microsoft/signalr/dist/esm/HubConnection.js","./node_modules/@microsoft/signalr/dist/esm/DefaultReconnectPolicy.js","./node_modules/@microsoft/signalr/dist/esm/ITransport.js","./node_modules/@microsoft/signalr/dist/esm/AbortController.js","./node_modules/@microsoft/signalr/dist/esm/LongPollingTransport.js","./node_modules/@microsoft/signalr/dist/esm/ServerSentEventsTransport.js","./node_modules/@microsoft/signalr/dist/esm/WebSocketTransport.js","./node_modules/@microsoft/signalr/dist/esm/HttpConnection.js","./node_modules/@microsoft/signalr/dist/esm/JsonHubProtocol.js","./node_modules/@microsoft/signalr/dist/esm/HubConnectionBuilder.js","./node_modules/dijkstrajs/dijkstra.js","./node_modules/encode-utf8/index.js","./node_modules/moment/locale/af.js","./node_modules/moment/locale/ar-dz.js","./node_modules/moment/locale/ar-kw.js","./node_modules/moment/locale/ar-ly.js","./node_modules/moment/locale/ar-ma.js","./node_modules/moment/locale/ar-ps.js","./node_modules/moment/locale/ar-sa.js","./node_modules/moment/locale/ar-tn.js","./node_modules/moment/locale/ar.js","./node_modules/moment/locale/az.js","./node_modules/moment/locale/be.js","./node_modules/moment/locale/bg.js","./node_modules/moment/locale/bm.js","./node_modules/moment/locale/bn-bd.js","./node_modules/moment/locale/bn.js","./node_modules/moment/locale/bo.js","./node_modules/moment/locale/br.js","./node_modules/moment/locale/bs.js","./node_modules/moment/locale/ca.js","./node_modules/moment/locale/cs.js","./node_modules/moment/locale/cv.js","./node_modules/moment/locale/cy.js","./node_modules/moment/locale/da.js","./node_modules/moment/locale/de-at.js","./node_modules/moment/locale/de-ch.js","./node_modules/moment/locale/de.js","./node_modules/moment/locale/dv.js","./node_modules/moment/locale/el.js","./node_modules/moment/locale/en-au.js","./node_modules/moment/locale/en-ca.js","./node_modules/moment/locale/en-gb.js","./node_modules/moment/locale/en-ie.js","./node_modules/moment/locale/en-il.js","./node_modules/moment/locale/en-in.js","./node_modules/moment/locale/en-nz.js","./node_modules/moment/locale/en-sg.js","./node_modules/moment/locale/eo.js","./node_modules/moment/locale/es-do.js","./node_modules/moment/locale/es-mx.js","./node_modules/moment/locale/es-us.js","./node_modules/moment/locale/es.js","./node_modules/moment/locale/et.js","./node_modules/moment/locale/eu.js","./node_modules/moment/locale/fa.js","./node_modules/moment/locale/fi.js","./node_modules/moment/locale/fil.js","./node_modules/moment/locale/fo.js","./node_modules/moment/locale/fr-ca.js","./node_modules/moment/locale/fr-ch.js","./node_modules/moment/locale/fr.js","./node_modules/moment/locale/fy.js","./node_modules/moment/locale/ga.js","./node_modules/moment/locale/gd.js","./node_modules/moment/locale/gl.js","./node_modules/moment/locale/gom-deva.js","./node_modules/moment/locale/gom-latn.js","./node_modules/moment/locale/gu.js","./node_modules/moment/locale/he.js","./node_modules/moment/locale/hi.js","./node_modules/moment/locale/hr.js","./node_modules/moment/locale/hu.js","./node_modules/moment/locale/hy-am.js","./node_modules/moment/locale/id.js","./node_modules/moment/locale/is.js","./node_modules/moment/locale/it-ch.js","./node_modules/moment/locale/it.js","./node_modules/moment/locale/ja.js","./node_modules/moment/locale/jv.js","./node_modules/moment/locale/ka.js","./node_modules/moment/locale/kk.js","./node_modules/moment/locale/km.js","./node_modules/moment/locale/kn.js","./node_modules/moment/locale/ko.js","./node_modules/moment/locale/ku-kmr.js","./node_modules/moment/locale/ku.js","./node_modules/moment/locale/ky.js","./node_modules/moment/locale/lb.js","./node_modules/moment/locale/lo.js","./node_modules/moment/locale/lt.js","./node_modules/moment/locale/lv.js","./node_modules/moment/locale/me.js","./node_modules/moment/locale/mi.js","./node_modules/moment/locale/mk.js","./node_modules/moment/locale/ml.js","./node_modules/moment/locale/mn.js","./node_modules/moment/locale/mr.js","./node_modules/moment/locale/ms-my.js","./node_modules/moment/locale/ms.js","./node_modules/moment/locale/mt.js","./node_modules/moment/locale/my.js","./node_modules/moment/locale/nb.js","./node_modules/moment/locale/ne.js","./node_modules/moment/locale/nl-be.js","./node_modules/moment/locale/nl.js","./node_modules/moment/locale/nn.js","./node_modules/moment/locale/oc-lnc.js","./node_modules/moment/locale/pa-in.js","./node_modules/moment/locale/pl.js","./node_modules/moment/locale/pt-br.js","./node_modules/moment/locale/pt.js","./node_modules/moment/locale/ro.js","./node_modules/moment/locale/ru.js","./node_modules/moment/locale/sd.js","./node_modules/moment/locale/se.js","./node_modules/moment/locale/si.js","./node_modules/moment/locale/sk.js","./node_modules/moment/locale/sl.js","./node_modules/moment/locale/sq.js","./node_modules/moment/locale/sr-cyrl.js","./node_modules/moment/locale/sr.js","./node_modules/moment/locale/ss.js","./node_modules/moment/locale/sv.js","./node_modules/moment/locale/sw.js","./node_modules/moment/locale/ta.js","./node_modules/moment/locale/te.js","./node_modules/moment/locale/tet.js","./node_modules/moment/locale/tg.js","./node_modules/moment/locale/th.js","./node_modules/moment/locale/tk.js","./node_modules/moment/locale/tl-ph.js","./node_modules/moment/locale/tlh.js","./node_modules/moment/locale/tr.js","./node_modules/moment/locale/tzl.js","./node_modules/moment/locale/tzm-latn.js","./node_modules/moment/locale/tzm.js","./node_modules/moment/locale/ug-cn.js","./node_modules/moment/locale/uk.js","./node_modules/moment/locale/ur.js","./node_modules/moment/locale/uz-latn.js","./node_modules/moment/locale/uz.js","./node_modules/moment/locale/vi.js","./node_modules/moment/locale/x-pseudo.js","./node_modules/moment/locale/yo.js","./node_modules/moment/locale/zh-cn.js","./node_modules/moment/locale/zh-hk.js","./node_modules/moment/locale/zh-mo.js","./node_modules/moment/locale/zh-tw.js","./node_modules/moment/moment.js","./node_modules/qrcode/lib/browser.js","./node_modules/qrcode/lib/can-promise.js","./node_modules/qrcode/lib/core/alignment-pattern.js","./node_modules/qrcode/lib/core/alphanumeric-data.js","./node_modules/qrcode/lib/core/bit-buffer.js","./node_modules/qrcode/lib/core/bit-matrix.js","./node_modules/qrcode/lib/core/byte-data.js","./node_modules/qrcode/lib/core/error-correction-code.js","./node_modules/qrcode/lib/core/error-correction-level.js","./node_modules/qrcode/lib/core/finder-pattern.js","./node_modules/qrcode/lib/core/format-info.js","./node_modules/qrcode/lib/core/galois-field.js","./node_modules/qrcode/lib/core/kanji-data.js","./node_modules/qrcode/lib/core/mask-pattern.js","./node_modules/qrcode/lib/core/mode.js","./node_modules/qrcode/lib/core/numeric-data.js","./node_modules/qrcode/lib/core/polynomial.js","./node_modules/qrcode/lib/core/qrcode.js","./node_modules/qrcode/lib/core/reed-solomon-encoder.js","./node_modules/qrcode/lib/core/regex.js","./node_modules/qrcode/lib/core/segments.js","./node_modules/qrcode/lib/core/utils.js","./node_modules/qrcode/lib/core/version-check.js","./node_modules/qrcode/lib/core/version.js","./node_modules/qrcode/lib/renderer/canvas.js","./node_modules/qrcode/lib/renderer/svg-tag.js","./node_modules/qrcode/lib/renderer/utils.js","./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/Observable.js","./node_modules/rxjs/dist/esm/internal/ReplaySubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/NotificationFactories.js","./node_modules/rxjs/dist/esm/internal/Subscriber.js","./node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js","./node_modules/rxjs/dist/esm/internal/Subscription.js","./node_modules/rxjs/dist/esm/internal/config.js","./node_modules/rxjs/dist/esm/internal/firstValueFrom.js","./node_modules/rxjs/dist/esm/internal/observable/ConnectableObservable.js","./node_modules/rxjs/dist/esm/internal/observable/combineLatest.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/defer.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/observable/forkJoin.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","./node_modules/rxjs/dist/esm/internal/observable/iif.js","./node_modules/rxjs/dist/esm/internal/observable/innerFrom.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/observable/never.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/observable/throwError.js","./node_modules/rxjs/dist/esm/internal/observable/timer.js","./node_modules/rxjs/dist/esm/internal/util/isDate.js","./node_modules/rxjs/dist/esm/internal/observable/zip.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/catchError.js","./node_modules/rxjs/dist/esm/internal/operators/concatMap.js","./node_modules/rxjs/dist/esm/internal/operators/debounceTime.js","./node_modules/rxjs/dist/esm/internal/operators/defaultIfEmpty.js","./node_modules/rxjs/dist/esm/internal/operators/delayWhen.js","./node_modules/rxjs/dist/esm/internal/operators/ignoreElements.js","./node_modules/rxjs/dist/esm/internal/operators/delay.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/finalize.js","./node_modules/rxjs/dist/esm/internal/operators/first.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mapTo.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/refCount.js","./node_modules/rxjs/dist/esm/internal/operators/scan.js","./node_modules/rxjs/dist/esm/internal/operators/scanInternals.js","./node_modules/rxjs/dist/esm/internal/operators/share.js","./node_modules/rxjs/dist/esm/internal/operators/shareReplay.js","./node_modules/rxjs/dist/esm/internal/operators/skip.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/switchMapTo.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/operators/tap.js","./node_modules/rxjs/dist/esm/internal/operators/throwIfEmpty.js","./node_modules/rxjs/dist/esm/internal/scheduler/Action.js","./node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js","./node_modules/rxjs/dist/esm/internal/Scheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/async.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js","./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/timeoutProvider.js","./node_modules/rxjs/dist/esm/internal/symbol/iterator.js","./node_modules/rxjs/dist/esm/internal/symbol/observable.js","./node_modules/rxjs/dist/esm/internal/util/EmptyError.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","./node_modules/rxjs/dist/esm/internal/util/argsOrArgArray.js","./node_modules/rxjs/dist/esm/internal/util/arrRemove.js","./node_modules/rxjs/dist/esm/internal/util/createErrorClass.js","./node_modules/rxjs/dist/esm/internal/util/createObject.js","./node_modules/rxjs/dist/esm/internal/util/errorContext.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/identity.js","./node_modules/rxjs/dist/esm/internal/util/isArrayLike.js","./node_modules/rxjs/dist/esm/internal/util/isAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/util/isFunction.js","./node_modules/rxjs/dist/esm/internal/util/isInteropObservable.js","./node_modules/rxjs/dist/esm/internal/util/isIterable.js","./node_modules/rxjs/dist/esm/internal/util/isObservable.js","./node_modules/rxjs/dist/esm/internal/util/isPromise.js","./node_modules/rxjs/dist/esm/internal/util/isReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/rxjs/dist/esm/internal/util/noop.js","./node_modules/rxjs/dist/esm/internal/util/pipe.js","./node_modules/rxjs/dist/esm/internal/util/reportUnhandledError.js","./node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js","./node_modules/moment/locale/ sync ^\\.\\/.*$","./node_modules/tslib/tslib.es6.js","./node_modules/@angular/common/fesm2022/common.mjs","./node_modules/@angular/common/fesm2022/http.mjs","./node_modules/@angular/core/fesm2022/primitives/signals.mjs","./node_modules/@angular/core/fesm2022/core.mjs","./node_modules/@angular/core/fesm2022/rxjs-interop.mjs","./node_modules/@angular/forms/fesm2022/forms.mjs","./node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs","./node_modules/rxjs/dist/esm/internal/operators/takeLast.js","./node_modules/@angular/router/fesm2022/router.mjs","./node_modules/rxjs/dist/esm/internal/operators/last.js","./node_modules/rxjs/dist/esm/internal/operators/connect.js","./node_modules/rxjs/dist/esm/internal/observable/fromSubscribable.js","./node_modules/@angular/service-worker/fesm2022/service-worker.mjs","./node_modules/rxjs/dist/esm/internal/operators/publish.js","./node_modules/rxjs/dist/esm/internal/operators/multicast.js","./node_modules/@auth0/angular-jwt/fesm2020/auth0-angular-jwt.mjs","./node_modules/@fgb/core/fesm2022/fgb-core.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-club-terms-and-conditions.mjs","./node_modules/marked/lib/marked.esm.js","./node_modules/entities/lib/esm/generated/decode-data-html.js","./node_modules/entities/lib/esm/generated/decode-data-xml.js","./node_modules/entities/lib/esm/decode_codepoint.js","./node_modules/entities/lib/esm/decode.js","./node_modules/entities/lib/esm/generated/encode-html.js","./node_modules/entities/lib/esm/escape.js","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-pipes.mjs","./node_modules/rxjs/dist/esm/internal/operators/pluck.js","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-date-select.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-select-country.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-select-region.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-forms-model-meta-data-form.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-registration.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-country-and-regions.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-errors.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-loading.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-utilities.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared-validators.mjs","./node_modules/@fgb/portal-component-library/fesm2022/fgb-portal-component-library-src-lib-shared.mjs","./node_modules/rxjs/dist/esm/internal/observable/race.js","./node_modules/rxjs/dist/esm/internal/operators/withLatestFrom.js","./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","./node_modules/@popperjs/core/lib/utils/getBasePlacement.js","./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","./node_modules/@popperjs/core/lib/enums.js","./node_modules/@popperjs/core/lib/dom-utils/getWindow.js","./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","./node_modules/@popperjs/core/lib/utils/math.js","./node_modules/@popperjs/core/lib/utils/userAgent.js","./node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","./node_modules/@popperjs/core/lib/dom-utils/contains.js","./node_modules/@popperjs/core/lib/utils/rectToClientRect.js","./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","./node_modules/@popperjs/core/lib/utils/getVariation.js","./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","./node_modules/@popperjs/core/lib/utils/computeOffsets.js","./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","./node_modules/@popperjs/core/lib/utils/expandToHashMap.js","./node_modules/@popperjs/core/lib/utils/detectOverflow.js","./node_modules/@popperjs/core/lib/modifiers/flip.js","./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","./node_modules/@popperjs/core/lib/utils/within.js","./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","./node_modules/@popperjs/core/lib/utils/getAltAxis.js","./node_modules/@popperjs/core/lib/modifiers/arrow.js","./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","./node_modules/@popperjs/core/lib/utils/orderModifiers.js","./node_modules/@popperjs/core/lib/utils/debounce.js","./node_modules/@popperjs/core/lib/createPopper.js","./node_modules/@popperjs/core/lib/utils/mergeByName.js","./node_modules/@popperjs/core/lib/modifiers/eventListeners.js","./node_modules/@popperjs/core/lib/modifiers/computeStyles.js","./node_modules/@popperjs/core/lib/popper-lite.js","./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","./node_modules/@popperjs/core/lib/modifiers/applyStyles.js","./node_modules/@popperjs/core/lib/modifiers/offset.js","./node_modules/@ng-bootstrap/ng-bootstrap/fesm2022/ng-bootstrap.mjs","./node_modules/rxjs/dist/esm/internal/operators/endWith.js","./node_modules/@ngx-translate/core/dist/fesm2022/ngx-translate-core.mjs","./node_modules/@ngx-translate/http-loader/dist/fesm2022/ngx-translate-http-loader.mjs","./node_modules/luxon/src/errors.js","./node_modules/luxon/src/impl/formats.js","./node_modules/luxon/src/zone.js","./node_modules/luxon/src/zones/systemZone.js","./node_modules/luxon/src/zones/IANAZone.js","./node_modules/luxon/src/impl/locale.js","./node_modules/luxon/src/impl/english.js","./node_modules/luxon/src/zones/fixedOffsetZone.js","./node_modules/luxon/src/zones/invalidZone.js","./node_modules/luxon/src/impl/zoneUtil.js","./node_modules/luxon/src/impl/util.js","./node_modules/luxon/src/settings.js","./node_modules/luxon/src/impl/invalid.js","./node_modules/luxon/src/impl/conversions.js","./node_modules/luxon/src/impl/formatter.js","./node_modules/luxon/src/impl/regexParser.js","./node_modules/luxon/src/duration.js","./node_modules/luxon/src/interval.js","./node_modules/luxon/src/info.js","./node_modules/luxon/src/impl/diff.js","./node_modules/luxon/src/impl/digits.js","./node_modules/luxon/src/impl/tokenParser.js","./node_modules/luxon/src/datetime.js","./node_modules/ngx-cookie-service/fesm2022/ngx-cookie-service.mjs","./node_modules/ngx-device-detector/fesm2022/ngx-device-detector.mjs","./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"],"sourcesContent":["
\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n
{{ 'home.upgrade.title' | translate }}
\r\n \r\n {{ 'home.upgrade.button.text' | translate }}\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'fgb-member-upgrade-card',\r\n templateUrl: './member-upgrade-card.component.html',\r\n styleUrls: ['./member-upgrade-card.component.scss'],\r\n standalone: true,\r\n imports: [ FGBSharedModule]\r\n})\r\nexport class MemberUpgradeCardComponent implements OnInit {\r\n upgradeLink: string = '';\r\n\r\n constructor(private translate: TranslateService) { }\r\n\r\n ngOnInit(): void {\r\n this._getUpgradeLink();\r\n }\r\n\r\n private _getUpgradeLink(): void {\r\n this.upgradeLink = this.translate.instant('home.page.upgrade.link');\r\n }\r\n}\r\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, ViewChild, NgModule } from '@angular/core';\nimport { toDataURL, toCanvas, toString } from 'qrcode';\nimport * as i1 from '@angular/platform-browser';\n\nclass QRCodeComponent {\n constructor(renderer, sanitizer) {\n this.renderer = renderer;\n this.sanitizer = sanitizer;\n this.allowEmptyString = false;\n this.colorDark = \"#000000ff\";\n this.colorLight = \"#ffffffff\";\n this.cssClass = \"qrcode\";\n this.elementType = \"canvas\";\n this.errorCorrectionLevel = \"M\";\n this.margin = 4;\n this.qrdata = \"\";\n this.scale = 4;\n this.width = 10;\n this.qrCodeURL = new EventEmitter();\n this.context = null;\n }\n async ngOnChanges() {\n await this.createQRCode();\n }\n isValidQrCodeText(data) {\n if (this.allowEmptyString === false) {\n return !(typeof data === \"undefined\" ||\n data === \"\" ||\n data === \"null\" ||\n data === null);\n }\n return !(typeof data === \"undefined\");\n }\n toDataURL(qrCodeConfig) {\n return new Promise((resolve, reject) => {\n toDataURL(this.qrdata, qrCodeConfig, (err, url) => {\n if (err) {\n reject(err);\n }\n else {\n resolve(url);\n }\n });\n });\n }\n toCanvas(canvas, qrCodeConfig) {\n return new Promise((resolve, reject) => {\n toCanvas(canvas, this.qrdata, qrCodeConfig, (error) => {\n if (error) {\n reject(error);\n }\n else {\n resolve(\"success\");\n }\n });\n });\n }\n toSVG(qrCodeConfig) {\n return new Promise((resolve, reject) => {\n toString(this.qrdata, qrCodeConfig, (err, url) => {\n if (err) {\n reject(err);\n }\n else {\n resolve(url);\n }\n });\n });\n }\n renderElement(element) {\n for (const node of this.qrcElement.nativeElement.childNodes) {\n this.renderer.removeChild(this.qrcElement.nativeElement, node);\n }\n this.renderer.appendChild(this.qrcElement.nativeElement, element);\n }\n async createQRCode() {\n if (this.version && this.version > 40) {\n console.warn(\"[angularx-qrcode] max value for `version` is 40\");\n this.version = 40;\n }\n else if (this.version && this.version < 1) {\n console.warn(\"[angularx-qrcode]`min value for `version` is 1\");\n this.version = 1;\n }\n else if (this.version !== undefined && isNaN(this.version)) {\n console.warn(\"[angularx-qrcode] version should be a number, defaulting to auto.\");\n this.version = undefined;\n }\n try {\n if (!this.isValidQrCodeText(this.qrdata)) {\n throw new Error(\"[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\\\"true\\\"' to overwrite this behaviour.\");\n }\n if (this.isValidQrCodeText(this.qrdata) && this.qrdata === \"\") {\n this.qrdata = \" \";\n }\n const config = {\n color: {\n dark: this.colorDark,\n light: this.colorLight,\n },\n errorCorrectionLevel: this.errorCorrectionLevel,\n margin: this.margin,\n scale: this.scale,\n version: this.version,\n width: this.width,\n };\n const centerImageSrc = this.imageSrc;\n const centerImageHeight = this.imageHeight || 40;\n const centerImageWidth = this.imageWidth || 40;\n switch (this.elementType) {\n case \"canvas\": {\n const canvasElement = this.renderer.createElement(\"canvas\");\n this.context = canvasElement.getContext(\"2d\");\n this.toCanvas(canvasElement, config)\n .then(() => {\n if (this.ariaLabel) {\n this.renderer.setAttribute(canvasElement, \"aria-label\", `${this.ariaLabel}`);\n }\n if (this.title) {\n this.renderer.setAttribute(canvasElement, \"title\", `${this.title}`);\n }\n if (centerImageSrc && this.context) {\n this.centerImage = new Image(centerImageWidth, centerImageHeight);\n if (centerImageSrc !== this.centerImage.src) {\n this.centerImage.src = centerImageSrc;\n }\n if (centerImageHeight !== this.centerImage.height) {\n this.centerImage.height = centerImageHeight;\n }\n if (centerImageWidth !== this.centerImage.width) {\n this.centerImage.width = centerImageWidth;\n }\n const centerImage = this.centerImage;\n if (centerImage) {\n centerImage.onload = () => {\n this.context?.drawImage(centerImage, canvasElement.width / 2 - centerImageWidth / 2, canvasElement.height / 2 - centerImageHeight / 2, centerImageWidth, centerImageHeight);\n };\n }\n }\n this.renderElement(canvasElement);\n this.emitQRCodeURL(canvasElement);\n })\n .catch((e) => {\n console.error(\"[angularx-qrcode] canvas error:\", e);\n });\n break;\n }\n case \"svg\": {\n const svgParentElement = this.renderer.createElement(\"div\");\n this.toSVG(config)\n .then((svgString) => {\n this.renderer.setProperty(svgParentElement, \"innerHTML\", svgString);\n const svgElement = svgParentElement.firstChild;\n this.renderer.setAttribute(svgElement, \"height\", `${this.width}`);\n this.renderer.setAttribute(svgElement, \"width\", `${this.width}`);\n this.renderElement(svgElement);\n this.emitQRCodeURL(svgElement);\n })\n .catch((e) => {\n console.error(\"[angularx-qrcode] svg error:\", e);\n });\n break;\n }\n case \"url\":\n case \"img\":\n default: {\n const imgElement = this.renderer.createElement(\"img\");\n this.toDataURL(config)\n .then((dataUrl) => {\n if (this.alt) {\n imgElement.setAttribute(\"alt\", this.alt);\n }\n if (this.ariaLabel) {\n imgElement.setAttribute(\"aria-label\", this.ariaLabel);\n }\n imgElement.setAttribute(\"src\", dataUrl);\n if (this.title) {\n imgElement.setAttribute(\"title\", this.title);\n }\n this.renderElement(imgElement);\n this.emitQRCodeURL(imgElement);\n })\n .catch((e) => {\n console.error(\"[angularx-qrcode] img/url error:\", e);\n });\n }\n }\n }\n catch (e) {\n console.error(\"[angularx-qrcode] Error generating QR Code:\", e.message);\n }\n }\n emitQRCodeURL(element) {\n const className = element.constructor.name;\n if (className === SVGSVGElement.name) {\n const svgHTML = element.outerHTML;\n const blob = new Blob([svgHTML], { type: \"image/svg+xml\" });\n const urlSvg = URL.createObjectURL(blob);\n const urlSanitized = this.sanitizer.bypassSecurityTrustUrl(urlSvg);\n this.qrCodeURL.emit(urlSanitized);\n return;\n }\n let urlImage = \"\";\n if (className === HTMLCanvasElement.name) {\n urlImage = element.toDataURL(\"image/png\");\n }\n if (className === HTMLImageElement.name) {\n urlImage = element.src;\n }\n fetch(urlImage)\n .then((urlResponse) => urlResponse.blob())\n .then((blob) => URL.createObjectURL(blob))\n .then((url) => this.sanitizer.bypassSecurityTrustUrl(url))\n .then((urlSanitized) => {\n this.qrCodeURL.emit(urlSanitized);\n })\n .catch((error) => {\n console.error(\"[angularx-qrcode] Error when fetching image/png URL: \" + error);\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.6\", ngImport: i0, type: QRCodeComponent, deps: [{ token: i0.Renderer2 }, { token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.6\", type: QRCodeComponent, selector: \"qrcode\", inputs: { allowEmptyString: \"allowEmptyString\", colorDark: \"colorDark\", colorLight: \"colorLight\", cssClass: \"cssClass\", elementType: \"elementType\", errorCorrectionLevel: \"errorCorrectionLevel\", imageSrc: \"imageSrc\", imageHeight: \"imageHeight\", imageWidth: \"imageWidth\", margin: \"margin\", qrdata: \"qrdata\", scale: \"scale\", version: \"version\", width: \"width\", alt: \"alt\", ariaLabel: \"ariaLabel\", title: \"title\" }, outputs: { qrCodeURL: \"qrCodeURL\" }, viewQueries: [{ propertyName: \"qrcElement\", first: true, predicate: [\"qrcElement\"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.6\", ngImport: i0, type: QRCodeComponent, decorators: [{\n type: Component,\n args: [{\n selector: \"qrcode\",\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `
`,\n }]\n }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i1.DomSanitizer }], propDecorators: { allowEmptyString: [{\n type: Input\n }], colorDark: [{\n type: Input\n }], colorLight: [{\n type: Input\n }], cssClass: [{\n type: Input\n }], elementType: [{\n type: Input\n }], errorCorrectionLevel: [{\n type: Input\n }], imageSrc: [{\n type: Input\n }], imageHeight: [{\n type: Input\n }], imageWidth: [{\n type: Input\n }], margin: [{\n type: Input\n }], qrdata: [{\n type: Input\n }], scale: [{\n type: Input\n }], version: [{\n type: Input\n }], width: [{\n type: Input\n }], alt: [{\n type: Input\n }], ariaLabel: [{\n type: Input\n }], title: [{\n type: Input\n }], qrCodeURL: [{\n type: Output\n }], qrcElement: [{\n type: ViewChild,\n args: [\"qrcElement\", { static: true }]\n }] } });\n\nclass QRCodeModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.6\", ngImport: i0, type: QRCodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.6\", ngImport: i0, type: QRCodeModule, declarations: [QRCodeComponent], exports: [QRCodeComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.6\", ngImport: i0, type: QRCodeModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.6\", ngImport: i0, type: QRCodeModule, decorators: [{\n type: NgModule,\n args: [{\n providers: [],\n declarations: [QRCodeComponent],\n exports: [QRCodeComponent],\n }]\n }] });\n\nexport { QRCodeComponent, QRCodeModule };\n","/**\n * @license Angular v17.3.5\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { inject, Injectable, ANIMATION_MODULE_TYPE, ViewEncapsulation, ɵRuntimeError, Inject } from '@angular/core';\n\n/**\n * @description Constants for the categories of parameters that can be defined for animations.\n *\n * A corresponding function defines a set of parameters for each category, and\n * collects them into a corresponding `AnimationMetadata` object.\n *\n * @publicApi\n */\nvar AnimationMetadataType;\n(function (AnimationMetadataType) {\n /**\n * Associates a named animation state with a set of CSS styles.\n * See [`state()`](api/animations/state)\n */\n AnimationMetadataType[AnimationMetadataType[\"State\"] = 0] = \"State\";\n /**\n * Data for a transition from one animation state to another.\n * See `transition()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Transition\"] = 1] = \"Transition\";\n /**\n * Contains a set of animation steps.\n * See `sequence()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Sequence\"] = 2] = \"Sequence\";\n /**\n * Contains a set of animation steps.\n * See `{@link animations/group group()}`\n */\n AnimationMetadataType[AnimationMetadataType[\"Group\"] = 3] = \"Group\";\n /**\n * Contains an animation step.\n * See `animate()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Animate\"] = 4] = \"Animate\";\n /**\n * Contains a set of animation steps.\n * See `keyframes()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Keyframes\"] = 5] = \"Keyframes\";\n /**\n * Contains a set of CSS property-value pairs into a named style.\n * See `style()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Style\"] = 6] = \"Style\";\n /**\n * Associates an animation with an entry trigger that can be attached to an element.\n * See `trigger()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Trigger\"] = 7] = \"Trigger\";\n /**\n * Contains a re-usable animation.\n * See `animation()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Reference\"] = 8] = \"Reference\";\n /**\n * Contains data to use in executing child animations returned by a query.\n * See `animateChild()`\n */\n AnimationMetadataType[AnimationMetadataType[\"AnimateChild\"] = 9] = \"AnimateChild\";\n /**\n * Contains animation parameters for a re-usable animation.\n * See `useAnimation()`\n */\n AnimationMetadataType[AnimationMetadataType[\"AnimateRef\"] = 10] = \"AnimateRef\";\n /**\n * Contains child-animation query data.\n * See `query()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Query\"] = 11] = \"Query\";\n /**\n * Contains data for staggering an animation sequence.\n * See `stagger()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Stagger\"] = 12] = \"Stagger\";\n})(AnimationMetadataType || (AnimationMetadataType = {}));\n/**\n * Specifies automatic styling.\n *\n * @publicApi\n */\nconst AUTO_STYLE = '*';\n/**\n * Creates a named animation trigger, containing a list of [`state()`](api/animations/state)\n * and `transition()` entries to be evaluated when the expression\n * bound to the trigger changes.\n *\n * @param name An identifying string.\n * @param definitions An animation definition object, containing an array of\n * [`state()`](api/animations/state) and `transition()` declarations.\n *\n * @return An object that encapsulates the trigger data.\n *\n * @usageNotes\n * Define an animation trigger in the `animations` section of `@Component` metadata.\n * In the template, reference the trigger by name and bind it to a trigger expression that\n * evaluates to a defined animation state, using the following format:\n *\n * `[@triggerName]=\"expression\"`\n *\n * Animation trigger bindings convert all values to strings, and then match the\n * previous and current values against any linked transitions.\n * Booleans can be specified as `1` or `true` and `0` or `false`.\n *\n * ### Usage Example\n *\n * The following example creates an animation trigger reference based on the provided\n * name value.\n * The provided animation value is expected to be an array consisting of state and\n * transition declarations.\n *\n * ```typescript\n * @Component({\n * selector: \"my-component\",\n * templateUrl: \"my-component-tpl.html\",\n * animations: [\n * trigger(\"myAnimationTrigger\", [\n * state(...),\n * state(...),\n * transition(...),\n * transition(...)\n * ])\n * ]\n * })\n * class MyComponent {\n * myStatusExp = \"something\";\n * }\n * ```\n *\n * The template associated with this component makes use of the defined trigger\n * by binding to an element within its template code.\n *\n * ```html\n * \n *
...
\n * ```\n *\n * ### Using an inline function\n * The `transition` animation method also supports reading an inline function which can decide\n * if its associated animation should be run.\n *\n * ```typescript\n * // this method is run each time the `myAnimationTrigger` trigger value changes.\n * function myInlineMatcherFn(fromState: string, toState: string, element: any, params: {[key:\n string]: any}): boolean {\n * // notice that `element` and `params` are also available here\n * return toState == 'yes-please-animate';\n * }\n *\n * @Component({\n * selector: 'my-component',\n * templateUrl: 'my-component-tpl.html',\n * animations: [\n * trigger('myAnimationTrigger', [\n * transition(myInlineMatcherFn, [\n * // the animation sequence code\n * ]),\n * ])\n * ]\n * })\n * class MyComponent {\n * myStatusExp = \"yes-please-animate\";\n * }\n * ```\n *\n * ### Disabling Animations\n * When true, the special animation control binding `@.disabled` binding prevents\n * all animations from rendering.\n * Place the `@.disabled` binding on an element to disable\n * animations on the element itself, as well as any inner animation triggers\n * within the element.\n *\n * The following example shows how to use this feature:\n *\n * ```typescript\n * @Component({\n * selector: 'my-component',\n * template: `\n *
\n *
\n *
\n * `,\n * animations: [\n * trigger(\"childAnimation\", [\n * // ...\n * ])\n * ]\n * })\n * class MyComponent {\n * isDisabled = true;\n * exp = '...';\n * }\n * ```\n *\n * When `@.disabled` is true, it prevents the `@childAnimation` trigger from animating,\n * along with any inner animations.\n *\n * ### Disable animations application-wide\n * When an area of the template is set to have animations disabled,\n * **all** inner components have their animations disabled as well.\n * This means that you can disable all animations for an app\n * by placing a host binding set on `@.disabled` on the topmost Angular component.\n *\n * ```typescript\n * import {Component, HostBinding} from '@angular/core';\n *\n * @Component({\n * selector: 'app-component',\n * templateUrl: 'app.component.html',\n * })\n * class AppComponent {\n * @HostBinding('@.disabled')\n * public animationsDisabled = true;\n * }\n * ```\n *\n * ### Overriding disablement of inner animations\n * Despite inner animations being disabled, a parent animation can `query()`\n * for inner elements located in disabled areas of the template and still animate\n * them if needed. This is also the case for when a sub animation is\n * queried by a parent and then later animated using `animateChild()`.\n *\n * ### Detecting when an animation is disabled\n * If a region of the DOM (or the entire application) has its animations disabled, the animation\n * trigger callbacks still fire, but for zero seconds. When the callback fires, it provides\n * an instance of an `AnimationEvent`. If animations are disabled,\n * the `.disabled` flag on the event is true.\n *\n * @publicApi\n */\nfunction trigger(name, definitions) {\n return { type: AnimationMetadataType.Trigger, name, definitions, options: {} };\n}\n/**\n * Defines an animation step that combines styling information with timing information.\n *\n * @param timings Sets `AnimateTimings` for the parent animation.\n * A string in the format \"duration [delay] [easing]\".\n * - Duration and delay are expressed as a number and optional time unit,\n * such as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively.\n * The default unit is milliseconds.\n * - The easing value controls how the animation accelerates and decelerates\n * during its runtime. Value is one of `ease`, `ease-in`, `ease-out`,\n * `ease-in-out`, or a `cubic-bezier()` function call.\n * If not supplied, no easing is applied.\n *\n * For example, the string \"1s 100ms ease-out\" specifies a duration of\n * 1000 milliseconds, and delay of 100 ms, and the \"ease-out\" easing style,\n * which decelerates near the end of the duration.\n * @param styles Sets AnimationStyles for the parent animation.\n * A function call to either `style()` or `keyframes()`\n * that returns a collection of CSS style entries to be applied to the parent animation.\n * When null, uses the styles from the destination state.\n * This is useful when describing an animation step that will complete an animation;\n * see \"Animating to the final state\" in `transitions()`.\n * @returns An object that encapsulates the animation step.\n *\n * @usageNotes\n * Call within an animation `sequence()`, `{@link animations/group group()}`, or\n * `transition()` call to specify an animation step\n * that applies given style data to the parent animation for a given amount of time.\n *\n * ### Syntax Examples\n * **Timing examples**\n *\n * The following examples show various `timings` specifications.\n * - `animate(500)` : Duration is 500 milliseconds.\n * - `animate(\"1s\")` : Duration is 1000 milliseconds.\n * - `animate(\"100ms 0.5s\")` : Duration is 100 milliseconds, delay is 500 milliseconds.\n * - `animate(\"5s ease-in\")` : Duration is 5000 milliseconds, easing in.\n * - `animate(\"5s 10ms cubic-bezier(.17,.67,.88,.1)\")` : Duration is 5000 milliseconds, delay is 10\n * milliseconds, easing according to a bezier curve.\n *\n * **Style examples**\n *\n * The following example calls `style()` to set a single CSS style.\n * ```typescript\n * animate(500, style({ background: \"red\" }))\n * ```\n * The following example calls `keyframes()` to set a CSS style\n * to different values for successive keyframes.\n * ```typescript\n * animate(500, keyframes(\n * [\n * style({ background: \"blue\" }),\n * style({ background: \"red\" })\n * ])\n * ```\n *\n * @publicApi\n */\nfunction animate(timings, styles = null) {\n return { type: AnimationMetadataType.Animate, styles, timings };\n}\n/**\n * @description Defines a list of animation steps to be run in parallel.\n *\n * @param steps An array of animation step objects.\n * - When steps are defined by `style()` or `animate()`\n * function calls, each call within the group is executed instantly.\n * - To specify offset styles to be applied at a later time, define steps with\n * `keyframes()`, or use `animate()` calls with a delay value.\n * For example:\n *\n * ```typescript\n * group([\n * animate(\"1s\", style({ background: \"black\" })),\n * animate(\"2s\", style({ color: \"white\" }))\n * ])\n * ```\n *\n * @param options An options object containing a delay and\n * developer-defined parameters that provide styling defaults and\n * can be overridden on invocation.\n *\n * @return An object that encapsulates the group data.\n *\n * @usageNotes\n * Grouped animations are useful when a series of styles must be\n * animated at different starting times and closed off at different ending times.\n *\n * When called within a `sequence()` or a\n * `transition()` call, does not continue to the next\n * instruction until all of the inner animation steps have completed.\n *\n * @publicApi\n */\nfunction group(steps, options = null) {\n return { type: AnimationMetadataType.Group, steps, options };\n}\n/**\n * Defines a list of animation steps to be run sequentially, one by one.\n *\n * @param steps An array of animation step objects.\n * - Steps defined by `style()` calls apply the styling data immediately.\n * - Steps defined by `animate()` calls apply the styling data over time\n * as specified by the timing data.\n *\n * ```typescript\n * sequence([\n * style({ opacity: 0 }),\n * animate(\"1s\", style({ opacity: 1 }))\n * ])\n * ```\n *\n * @param options An options object containing a delay and\n * developer-defined parameters that provide styling defaults and\n * can be overridden on invocation.\n *\n * @return An object that encapsulates the sequence data.\n *\n * @usageNotes\n * When you pass an array of steps to a\n * `transition()` call, the steps run sequentially by default.\n * Compare this to the `{@link animations/group group()}` call, which runs animation steps in\n *parallel.\n *\n * When a sequence is used within a `{@link animations/group group()}` or a `transition()` call,\n * execution continues to the next instruction only after each of the inner animation\n * steps have completed.\n *\n * @publicApi\n **/\nfunction sequence(steps, options = null) {\n return { type: AnimationMetadataType.Sequence, steps, options };\n}\n/**\n * Declares a key/value object containing CSS properties/styles that\n * can then be used for an animation [`state`](api/animations/state), within an animation\n *`sequence`, or as styling data for calls to `animate()` and `keyframes()`.\n *\n * @param tokens A set of CSS styles or HTML styles associated with an animation state.\n * The value can be any of the following:\n * - A key-value style pair associating a CSS property with a value.\n * - An array of key-value style pairs.\n * - An asterisk (*), to use auto-styling, where styles are derived from the element\n * being animated and applied to the animation when it starts.\n *\n * Auto-styling can be used to define a state that depends on layout or other\n * environmental factors.\n *\n * @return An object that encapsulates the style data.\n *\n * @usageNotes\n * The following examples create animation styles that collect a set of\n * CSS property values:\n *\n * ```typescript\n * // string values for CSS properties\n * style({ background: \"red\", color: \"blue\" })\n *\n * // numerical pixel values\n * style({ width: 100, height: 0 })\n * ```\n *\n * The following example uses auto-styling to allow an element to animate from\n * a height of 0 up to its full height:\n *\n * ```\n * style({ height: 0 }),\n * animate(\"1s\", style({ height: \"*\" }))\n * ```\n *\n * @publicApi\n **/\nfunction style(tokens) {\n return { type: AnimationMetadataType.Style, styles: tokens, offset: null };\n}\n/**\n * Declares an animation state within a trigger attached to an element.\n *\n * @param name One or more names for the defined state in a comma-separated string.\n * The following reserved state names can be supplied to define a style for specific use\n * cases:\n *\n * - `void` You can associate styles with this name to be used when\n * the element is detached from the application. For example, when an `ngIf` evaluates\n * to false, the state of the associated element is void.\n * - `*` (asterisk) Indicates the default state. You can associate styles with this name\n * to be used as the fallback when the state that is being animated is not declared\n * within the trigger.\n *\n * @param styles A set of CSS styles associated with this state, created using the\n * `style()` function.\n * This set of styles persists on the element once the state has been reached.\n * @param options Parameters that can be passed to the state when it is invoked.\n * 0 or more key-value pairs.\n * @return An object that encapsulates the new state data.\n *\n * @usageNotes\n * Use the `trigger()` function to register states to an animation trigger.\n * Use the `transition()` function to animate between states.\n * When a state is active within a component, its associated styles persist on the element,\n * even when the animation ends.\n *\n * @publicApi\n **/\nfunction state(name, styles, options) {\n return { type: AnimationMetadataType.State, name, styles, options };\n}\n/**\n * Defines a set of animation styles, associating each style with an optional `offset` value.\n *\n * @param steps A set of animation styles with optional offset data.\n * The optional `offset` value for a style specifies a percentage of the total animation\n * time at which that style is applied.\n * @returns An object that encapsulates the keyframes data.\n *\n * @usageNotes\n * Use with the `animate()` call. Instead of applying animations\n * from the current state\n * to the destination state, keyframes describe how each style entry is applied and at what point\n * within the animation arc.\n * Compare [CSS Keyframe Animations](https://www.w3schools.com/css/css3_animations.asp).\n *\n * ### Usage\n *\n * In the following example, the offset values describe\n * when each `backgroundColor` value is applied. The color is red at the start, and changes to\n * blue when 20% of the total time has elapsed.\n *\n * ```typescript\n * // the provided offset values\n * animate(\"5s\", keyframes([\n * style({ backgroundColor: \"red\", offset: 0 }),\n * style({ backgroundColor: \"blue\", offset: 0.2 }),\n * style({ backgroundColor: \"orange\", offset: 0.3 }),\n * style({ backgroundColor: \"black\", offset: 1 })\n * ]))\n * ```\n *\n * If there are no `offset` values specified in the style entries, the offsets\n * are calculated automatically.\n *\n * ```typescript\n * animate(\"5s\", keyframes([\n * style({ backgroundColor: \"red\" }) // offset = 0\n * style({ backgroundColor: \"blue\" }) // offset = 0.33\n * style({ backgroundColor: \"orange\" }) // offset = 0.66\n * style({ backgroundColor: \"black\" }) // offset = 1\n * ]))\n *```\n\n * @publicApi\n */\nfunction keyframes(steps) {\n return { type: AnimationMetadataType.Keyframes, steps };\n}\n/**\n * Declares an animation transition which is played when a certain specified condition is met.\n *\n * @param stateChangeExpr A string with a specific format or a function that specifies when the\n * animation transition should occur (see [State Change Expression](#state-change-expression)).\n *\n * @param steps One or more animation objects that represent the animation's instructions.\n *\n * @param options An options object that can be used to specify a delay for the animation or provide\n * custom parameters for it.\n *\n * @returns An object that encapsulates the transition data.\n *\n * @usageNotes\n *\n * ### State Change Expression\n *\n * The State Change Expression instructs Angular when to run the transition's animations, it can\n *either be\n * - a string with a specific syntax\n * - or a function that compares the previous and current state (value of the expression bound to\n * the element's trigger) and returns `true` if the transition should occur or `false` otherwise\n *\n * The string format can be:\n * - `fromState => toState`, which indicates that the transition's animations should occur then the\n * expression bound to the trigger's element goes from `fromState` to `toState`\n *\n * _Example:_\n * ```typescript\n * transition('open => closed', animate('.5s ease-out', style({ height: 0 }) ))\n * ```\n *\n * - `fromState <=> toState`, which indicates that the transition's animations should occur then\n * the expression bound to the trigger's element goes from `fromState` to `toState` or vice versa\n *\n * _Example:_\n * ```typescript\n * transition('enabled <=> disabled', animate('1s cubic-bezier(0.8,0.3,0,1)'))\n * ```\n *\n * - `:enter`/`:leave`, which indicates that the transition's animations should occur when the\n * element enters or exists the DOM\n *\n * _Example:_\n * ```typescript\n * transition(':enter', [\n * style({ opacity: 0 }),\n * animate('500ms', style({ opacity: 1 }))\n * ])\n * ```\n *\n * - `:increment`/`:decrement`, which indicates that the transition's animations should occur when\n * the numerical expression bound to the trigger's element has increased in value or decreased\n *\n * _Example:_\n * ```typescript\n * transition(':increment', query('@counter', animateChild()))\n * ```\n *\n * - a sequence of any of the above divided by commas, which indicates that transition's animations\n * should occur whenever one of the state change expressions matches\n *\n * _Example:_\n * ```typescript\n * transition(':increment, * => enabled, :enter', animate('1s ease', keyframes([\n * style({ transform: 'scale(1)', offset: 0}),\n * style({ transform: 'scale(1.1)', offset: 0.7}),\n * style({ transform: 'scale(1)', offset: 1})\n * ]))),\n * ```\n *\n * Also note that in such context:\n * - `void` can be used to indicate the absence of the element\n * - asterisks can be used as wildcards that match any state\n * - (as a consequence of the above, `void => *` is equivalent to `:enter` and `* => void` is\n * equivalent to `:leave`)\n * - `true` and `false` also match expression values of `1` and `0` respectively (but do not match\n * _truthy_ and _falsy_ values)\n *\n *
\n *\n * Be careful about entering end leaving elements as their transitions present a common\n * pitfall for developers.\n *\n * Note that when an element with a trigger enters the DOM its `:enter` transition always\n * gets executed, but its `:leave` transition will not be executed if the element is removed\n * alongside its parent (as it will be removed \"without warning\" before its transition has\n * a chance to be executed, the only way that such transition can occur is if the element\n * is exiting the DOM on its own).\n *\n *\n *
\n *\n * ### Animating to a Final State\n *\n * If the final step in a transition is a call to `animate()` that uses a timing value\n * with no `style` data, that step is automatically considered the final animation arc,\n * for the element to reach the final state, in such case Angular automatically adds or removes\n * CSS styles to ensure that the element is in the correct final state.\n *\n *\n * ### Usage Examples\n *\n * - Transition animations applied based on\n * the trigger's expression value\n *\n * ```HTML\n *
\n * ...\n *
\n * ```\n *\n * ```typescript\n * trigger(\"myAnimationTrigger\", [\n * ..., // states\n * transition(\"on => off, open => closed\", animate(500)),\n * transition(\"* <=> error\", query('.indicator', animateChild()))\n * ])\n * ```\n *\n * - Transition animations applied based on custom logic dependent\n * on the trigger's expression value and provided parameters\n *\n * ```HTML\n *
\n * ...\n *
\n * ```\n *\n * ```typescript\n * trigger(\"myAnimationTrigger\", [\n * ..., // states\n * transition(\n * (fromState, toState, _element, params) =>\n * ['firststep', 'laststep'].includes(fromState.toLowerCase())\n * && toState === params?.['target'],\n * animate('1s')\n * )\n * ])\n * ```\n *\n * @publicApi\n **/\nfunction transition(stateChangeExpr, steps, options = null) {\n return { type: AnimationMetadataType.Transition, expr: stateChangeExpr, animation: steps, options };\n}\n/**\n * Produces a reusable animation that can be invoked in another animation or sequence,\n * by calling the `useAnimation()` function.\n *\n * @param steps One or more animation objects, as returned by the `animate()`\n * or `sequence()` function, that form a transformation from one state to another.\n * A sequence is used by default when you pass an array.\n * @param options An options object that can contain a delay value for the start of the\n * animation, and additional developer-defined parameters.\n * Provided values for additional parameters are used as defaults,\n * and override values can be passed to the caller on invocation.\n * @returns An object that encapsulates the animation data.\n *\n * @usageNotes\n * The following example defines a reusable animation, providing some default parameter\n * values.\n *\n * ```typescript\n * var fadeAnimation = animation([\n * style({ opacity: '{{ start }}' }),\n * animate('{{ time }}',\n * style({ opacity: '{{ end }}'}))\n * ],\n * { params: { time: '1000ms', start: 0, end: 1 }});\n * ```\n *\n * The following invokes the defined animation with a call to `useAnimation()`,\n * passing in override parameter values.\n *\n * ```js\n * useAnimation(fadeAnimation, {\n * params: {\n * time: '2s',\n * start: 1,\n * end: 0\n * }\n * })\n * ```\n *\n * If any of the passed-in parameter values are missing from this call,\n * the default values are used. If one or more parameter values are missing before a step is\n * animated, `useAnimation()` throws an error.\n *\n * @publicApi\n */\nfunction animation(steps, options = null) {\n return { type: AnimationMetadataType.Reference, animation: steps, options };\n}\n/**\n * Executes a queried inner animation element within an animation sequence.\n *\n * @param options An options object that can contain a delay value for the start of the\n * animation, and additional override values for developer-defined parameters.\n * @return An object that encapsulates the child animation data.\n *\n * @usageNotes\n * Each time an animation is triggered in Angular, the parent animation\n * has priority and any child animations are blocked. In order\n * for a child animation to run, the parent animation must query each of the elements\n * containing child animations, and run them using this function.\n *\n * Note that this feature is designed to be used with `query()` and it will only work\n * with animations that are assigned using the Angular animation library. CSS keyframes\n * and transitions are not handled by this API.\n *\n * @publicApi\n */\nfunction animateChild(options = null) {\n return { type: AnimationMetadataType.AnimateChild, options };\n}\n/**\n * Starts a reusable animation that is created using the `animation()` function.\n *\n * @param animation The reusable animation to start.\n * @param options An options object that can contain a delay value for the start of\n * the animation, and additional override values for developer-defined parameters.\n * @return An object that contains the animation parameters.\n *\n * @publicApi\n */\nfunction useAnimation(animation, options = null) {\n return { type: AnimationMetadataType.AnimateRef, animation, options };\n}\n/**\n * Finds one or more inner elements within the current element that is\n * being animated within a sequence. Use with `animate()`.\n *\n * @param selector The element to query, or a set of elements that contain Angular-specific\n * characteristics, specified with one or more of the following tokens.\n * - `query(\":enter\")` or `query(\":leave\")` : Query for newly inserted/removed elements (not\n * all elements can be queried via these tokens, see\n * [Entering and Leaving Elements](#entering-and-leaving-elements))\n * - `query(\":animating\")` : Query all currently animating elements.\n * - `query(\"@triggerName\")` : Query elements that contain an animation trigger.\n * - `query(\"@*\")` : Query all elements that contain an animation triggers.\n * - `query(\":self\")` : Include the current element into the animation sequence.\n *\n * @param animation One or more animation steps to apply to the queried element or elements.\n * An array is treated as an animation sequence.\n * @param options An options object. Use the 'limit' field to limit the total number of\n * items to collect.\n * @return An object that encapsulates the query data.\n *\n * @usageNotes\n *\n * ### Multiple Tokens\n *\n * Tokens can be merged into a combined query selector string. For example:\n *\n * ```typescript\n * query(':self, .record:enter, .record:leave, @subTrigger', [...])\n * ```\n *\n * The `query()` function collects multiple elements and works internally by using\n * `element.querySelectorAll`. Use the `limit` field of an options object to limit\n * the total number of items to be collected. For example:\n *\n * ```js\n * query('div', [\n * animate(...),\n * animate(...)\n * ], { limit: 1 })\n * ```\n *\n * By default, throws an error when zero items are found. Set the\n * `optional` flag to ignore this error. For example:\n *\n * ```js\n * query('.some-element-that-may-not-be-there', [\n * animate(...),\n * animate(...)\n * ], { optional: true })\n * ```\n *\n * ### Entering and Leaving Elements\n *\n * Not all elements can be queried via the `:enter` and `:leave` tokens, the only ones\n * that can are those that Angular assumes can enter/leave based on their own logic\n * (if their insertion/removal is simply a consequence of that of their parent they\n * should be queried via a different token in their parent's `:enter`/`:leave` transitions).\n *\n * The only elements Angular assumes can enter/leave based on their own logic (thus the only\n * ones that can be queried via the `:enter` and `:leave` tokens) are:\n * - Those inserted dynamically (via `ViewContainerRef`)\n * - Those that have a structural directive (which, under the hood, are a subset of the above ones)\n *\n *
\n *\n * Note that elements will be successfully queried via `:enter`/`:leave` even if their\n * insertion/removal is not done manually via `ViewContainerRef`or caused by their structural\n * directive (e.g. they enter/exit alongside their parent).\n *\n *
\n *\n *
\n *\n * There is an exception to what previously mentioned, besides elements entering/leaving based on\n * their own logic, elements with an animation trigger can always be queried via `:leave` when\n * their parent is also leaving.\n *\n *
\n *\n * ### Usage Example\n *\n * The following example queries for inner elements and animates them\n * individually using `animate()`.\n *\n * ```typescript\n * @Component({\n * selector: 'inner',\n * template: `\n *
\n *

Title

\n *
\n * Blah blah blah\n *
\n *
\n * `,\n * animations: [\n * trigger('queryAnimation', [\n * transition('* => goAnimate', [\n * // hide the inner elements\n * query('h1', style({ opacity: 0 })),\n * query('.content', style({ opacity: 0 })),\n *\n * // animate the inner elements in, one by one\n * query('h1', animate(1000, style({ opacity: 1 }))),\n * query('.content', animate(1000, style({ opacity: 1 }))),\n * ])\n * ])\n * ]\n * })\n * class Cmp {\n * exp = '';\n *\n * goAnimate() {\n * this.exp = 'goAnimate';\n * }\n * }\n * ```\n *\n * @publicApi\n */\nfunction query(selector, animation, options = null) {\n return { type: AnimationMetadataType.Query, selector, animation, options };\n}\n/**\n * Use within an animation `query()` call to issue a timing gap after\n * each queried item is animated.\n *\n * @param timings A delay value.\n * @param animation One ore more animation steps.\n * @returns An object that encapsulates the stagger data.\n *\n * @usageNotes\n * In the following example, a container element wraps a list of items stamped out\n * by an `ngFor`. The container element contains an animation trigger that will later be set\n * to query for each of the inner items.\n *\n * Each time items are added, the opacity fade-in animation runs,\n * and each removed item is faded out.\n * When either of these animations occur, the stagger effect is\n * applied after each item's animation is started.\n *\n * ```html\n * \n * \n *
\n *
\n *
\n * {{ item }}\n *
\n *
\n * ```\n *\n * Here is the component code:\n *\n * ```typescript\n * import {trigger, transition, style, animate, query, stagger} from '@angular/animations';\n * @Component({\n * templateUrl: 'list.component.html',\n * animations: [\n * trigger('listAnimation', [\n * ...\n * ])\n * ]\n * })\n * class ListComponent {\n * items = [];\n *\n * showItems() {\n * this.items = [0,1,2,3,4];\n * }\n *\n * hideItems() {\n * this.items = [];\n * }\n *\n * toggle() {\n * this.items.length ? this.hideItems() : this.showItems();\n * }\n * }\n * ```\n *\n * Here is the animation trigger code:\n *\n * ```typescript\n * trigger('listAnimation', [\n * transition('* => *', [ // each time the binding value changes\n * query(':leave', [\n * stagger(100, [\n * animate('0.5s', style({ opacity: 0 }))\n * ])\n * ]),\n * query(':enter', [\n * style({ opacity: 0 }),\n * stagger(100, [\n * animate('0.5s', style({ opacity: 1 }))\n * ])\n * ])\n * ])\n * ])\n * ```\n *\n * @publicApi\n */\nfunction stagger(timings, animation) {\n return { type: AnimationMetadataType.Stagger, timings, animation };\n}\n\n/**\n * An injectable service that produces an animation sequence programmatically within an\n * Angular component or directive.\n * Provided by the `BrowserAnimationsModule` or `NoopAnimationsModule`.\n *\n * @usageNotes\n *\n * To use this service, add it to your component or directive as a dependency.\n * The service is instantiated along with your component.\n *\n * Apps do not typically need to create their own animation players, but if you\n * do need to, follow these steps:\n *\n * 1. Use the [AnimationBuilder.build](api/animations/AnimationBuilder#build)() method\n * to create a programmatic animation. The method returns an `AnimationFactory` instance.\n *\n * 2. Use the factory object to create an `AnimationPlayer` and attach it to a DOM element.\n *\n * 3. Use the player object to control the animation programmatically.\n *\n * For example:\n *\n * ```ts\n * // import the service from BrowserAnimationsModule\n * import {AnimationBuilder} from '@angular/animations';\n * // require the service as a dependency\n * class MyCmp {\n * constructor(private _builder: AnimationBuilder) {}\n *\n * makeAnimation(element: any) {\n * // first define a reusable animation\n * const myAnimation = this._builder.build([\n * style({ width: 0 }),\n * animate(1000, style({ width: '100px' }))\n * ]);\n *\n * // use the returned factory object to create a player\n * const player = myAnimation.create(element);\n *\n * player.play();\n * }\n * }\n * ```\n *\n * @publicApi\n */\nclass AnimationBuilder {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: AnimationBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: AnimationBuilder, providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: AnimationBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) }]\n }] });\n/**\n * A factory object returned from the\n * [AnimationBuilder.build](api/animations/AnimationBuilder#build)()\n * method.\n *\n * @publicApi\n */\nclass AnimationFactory {\n}\nclass BrowserAnimationBuilder extends AnimationBuilder {\n constructor(rootRenderer, doc) {\n super();\n this.animationModuleType = inject(ANIMATION_MODULE_TYPE, { optional: true });\n this._nextAnimationId = 0;\n const typeData = {\n id: '0',\n encapsulation: ViewEncapsulation.None,\n styles: [],\n data: { animation: [] },\n };\n this._renderer = rootRenderer.createRenderer(doc.body, typeData);\n if (this.animationModuleType === null && !isAnimationRenderer(this._renderer)) {\n // We only support AnimationRenderer & DynamicDelegationRenderer for this AnimationBuilder\n throw new ɵRuntimeError(3600 /* RuntimeErrorCode.BROWSER_ANIMATION_BUILDER_INJECTED_WITHOUT_ANIMATIONS */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n 'Angular detected that the `AnimationBuilder` was injected, but animation support was not enabled. ' +\n 'Please make sure that you enable animations in your application by calling `provideAnimations()` or `provideAnimationsAsync()` function.');\n }\n }\n build(animation) {\n const id = this._nextAnimationId;\n this._nextAnimationId++;\n const entry = Array.isArray(animation) ? sequence(animation) : animation;\n issueAnimationCommand(this._renderer, null, id, 'register', [entry]);\n return new BrowserAnimationFactory(id, this._renderer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: BrowserAnimationBuilder, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: i0.RendererFactory2 }, { type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }] });\nclass BrowserAnimationFactory extends AnimationFactory {\n constructor(_id, _renderer) {\n super();\n this._id = _id;\n this._renderer = _renderer;\n }\n create(element, options) {\n return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer);\n }\n}\nclass RendererAnimationPlayer {\n constructor(id, element, options, _renderer) {\n this.id = id;\n this.element = element;\n this._renderer = _renderer;\n this.parentPlayer = null;\n this._started = false;\n this.totalTime = 0;\n this._command('create', options);\n }\n _listen(eventName, callback) {\n return this._renderer.listen(this.element, `@@${this.id}:${eventName}`, callback);\n }\n _command(command, ...args) {\n issueAnimationCommand(this._renderer, this.element, this.id, command, args);\n }\n onDone(fn) {\n this._listen('done', fn);\n }\n onStart(fn) {\n this._listen('start', fn);\n }\n onDestroy(fn) {\n this._listen('destroy', fn);\n }\n init() {\n this._command('init');\n }\n hasStarted() {\n return this._started;\n }\n play() {\n this._command('play');\n this._started = true;\n }\n pause() {\n this._command('pause');\n }\n restart() {\n this._command('restart');\n }\n finish() {\n this._command('finish');\n }\n destroy() {\n this._command('destroy');\n }\n reset() {\n this._command('reset');\n this._started = false;\n }\n setPosition(p) {\n this._command('setPosition', p);\n }\n getPosition() {\n return unwrapAnimationRenderer(this._renderer)?.engine?.players[this.id]?.getPosition() ?? 0;\n }\n}\nfunction issueAnimationCommand(renderer, element, id, command, args) {\n renderer.setProperty(element, `@@${id}:${command}`, args);\n}\n/**\n * The following 2 methods cannot reference their correct types (AnimationRenderer &\n * DynamicDelegationRenderer) since this would introduce a import cycle.\n */\nfunction unwrapAnimationRenderer(renderer) {\n const type = renderer.ɵtype;\n if (type === 0 /* AnimationRendererType.Regular */) {\n return renderer;\n }\n else if (type === 1 /* AnimationRendererType.Delegated */) {\n return renderer.animationRenderer;\n }\n return null;\n}\nfunction isAnimationRenderer(renderer) {\n const type = renderer.ɵtype;\n return type === 0 /* AnimationRendererType.Regular */ || type === 1 /* AnimationRendererType.Delegated */;\n}\n\n/**\n * An empty programmatic controller for reusable animations.\n * Used internally when animations are disabled, to avoid\n * checking for the null case when an animation player is expected.\n *\n * @see {@link animate}\n * @see {@link AnimationPlayer}\n * @see {@link ɵAnimationGroupPlayer AnimationGroupPlayer}\n *\n * @publicApi\n */\nclass NoopAnimationPlayer {\n constructor(duration = 0, delay = 0) {\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._originalOnDoneFns = [];\n this._originalOnStartFns = [];\n this._started = false;\n this._destroyed = false;\n this._finished = false;\n this._position = 0;\n this.parentPlayer = null;\n this.totalTime = duration + delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach((fn) => fn());\n this._onDoneFns = [];\n }\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n hasStarted() {\n return this._started;\n }\n init() { }\n play() {\n if (!this.hasStarted()) {\n this._onStart();\n this.triggerMicrotask();\n }\n this._started = true;\n }\n /** @internal */\n triggerMicrotask() {\n queueMicrotask(() => this._onFinish());\n }\n _onStart() {\n this._onStartFns.forEach((fn) => fn());\n this._onStartFns = [];\n }\n pause() { }\n restart() { }\n finish() {\n this._onFinish();\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n if (!this.hasStarted()) {\n this._onStart();\n }\n this.finish();\n this._onDestroyFns.forEach((fn) => fn());\n this._onDestroyFns = [];\n }\n }\n reset() {\n this._started = false;\n this._finished = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n setPosition(position) {\n this._position = this.totalTime ? position * this.totalTime : 1;\n }\n getPosition() {\n return this.totalTime ? this._position / this.totalTime : 1;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach((fn) => fn());\n methods.length = 0;\n }\n}\n\n/**\n * A programmatic controller for a group of reusable animations.\n * Used internally to control animations.\n *\n * @see {@link AnimationPlayer}\n * @see {@link animations/group group}\n *\n */\nclass AnimationGroupPlayer {\n constructor(_players) {\n this._onDoneFns = [];\n this._onStartFns = [];\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n this._onDestroyFns = [];\n this.parentPlayer = null;\n this.totalTime = 0;\n this.players = _players;\n let doneCount = 0;\n let destroyCount = 0;\n let startCount = 0;\n const total = this.players.length;\n if (total == 0) {\n queueMicrotask(() => this._onFinish());\n }\n else {\n this.players.forEach((player) => {\n player.onDone(() => {\n if (++doneCount == total) {\n this._onFinish();\n }\n });\n player.onDestroy(() => {\n if (++destroyCount == total) {\n this._onDestroy();\n }\n });\n player.onStart(() => {\n if (++startCount == total) {\n this._onStart();\n }\n });\n });\n }\n this.totalTime = this.players.reduce((time, player) => Math.max(time, player.totalTime), 0);\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach((fn) => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this.players.forEach((player) => player.init());\n }\n onStart(fn) {\n this._onStartFns.push(fn);\n }\n _onStart() {\n if (!this.hasStarted()) {\n this._started = true;\n this._onStartFns.forEach((fn) => fn());\n this._onStartFns = [];\n }\n }\n onDone(fn) {\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n hasStarted() {\n return this._started;\n }\n play() {\n if (!this.parentPlayer) {\n this.init();\n }\n this._onStart();\n this.players.forEach((player) => player.play());\n }\n pause() {\n this.players.forEach((player) => player.pause());\n }\n restart() {\n this.players.forEach((player) => player.restart());\n }\n finish() {\n this._onFinish();\n this.players.forEach((player) => player.finish());\n }\n destroy() {\n this._onDestroy();\n }\n _onDestroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._onFinish();\n this.players.forEach((player) => player.destroy());\n this._onDestroyFns.forEach((fn) => fn());\n this._onDestroyFns = [];\n }\n }\n reset() {\n this.players.forEach((player) => player.reset());\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n }\n setPosition(p) {\n const timeAtPosition = p * this.totalTime;\n this.players.forEach((player) => {\n const position = player.totalTime ? Math.min(1, timeAtPosition / player.totalTime) : 1;\n player.setPosition(position);\n });\n }\n getPosition() {\n const longestPlayer = this.players.reduce((longestSoFar, player) => {\n const newPlayerIsLongest = longestSoFar === null || player.totalTime > longestSoFar.totalTime;\n return newPlayerIsLongest ? player : longestSoFar;\n }, null);\n return longestPlayer != null ? longestPlayer.getPosition() : 0;\n }\n beforeDestroy() {\n this.players.forEach((player) => {\n if (player.beforeDestroy) {\n player.beforeDestroy();\n }\n });\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach((fn) => fn());\n methods.length = 0;\n }\n}\n\nconst ɵPRE_STYLE = '!';\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AUTO_STYLE, AnimationBuilder, AnimationFactory, AnimationMetadataType, NoopAnimationPlayer, animate, animateChild, animation, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, AnimationGroupPlayer as ɵAnimationGroupPlayer, BrowserAnimationBuilder as ɵBrowserAnimationBuilder, ɵPRE_STYLE };\n","/**\n * @license Angular v17.3.5\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ɵAnimationGroupPlayer, NoopAnimationPlayer, AUTO_STYLE, ɵPRE_STYLE, sequence, AnimationMetadataType, style } from '@angular/animations';\nimport * as i0 from '@angular/core';\nimport { ɵRuntimeError, Injectable } from '@angular/core';\n\nconst LINE_START = '\\n - ';\nfunction invalidTimingValue(exp) {\n return new ɵRuntimeError(3000 /* RuntimeErrorCode.INVALID_TIMING_VALUE */, ngDevMode && `The provided timing value \"${exp}\" is invalid.`);\n}\nfunction negativeStepValue() {\n return new ɵRuntimeError(3100 /* RuntimeErrorCode.NEGATIVE_STEP_VALUE */, ngDevMode && 'Duration values below 0 are not allowed for this animation step.');\n}\nfunction negativeDelayValue() {\n return new ɵRuntimeError(3101 /* RuntimeErrorCode.NEGATIVE_DELAY_VALUE */, ngDevMode && 'Delay values below 0 are not allowed for this animation step.');\n}\nfunction invalidStyleParams(varName) {\n return new ɵRuntimeError(3001 /* RuntimeErrorCode.INVALID_STYLE_PARAMS */, ngDevMode &&\n `Unable to resolve the local animation param ${varName} in the given list of values`);\n}\nfunction invalidParamValue(varName) {\n return new ɵRuntimeError(3003 /* RuntimeErrorCode.INVALID_PARAM_VALUE */, ngDevMode && `Please provide a value for the animation param ${varName}`);\n}\nfunction invalidNodeType(nodeType) {\n return new ɵRuntimeError(3004 /* RuntimeErrorCode.INVALID_NODE_TYPE */, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`);\n}\nfunction invalidCssUnitValue(userProvidedProperty, value) {\n return new ɵRuntimeError(3005 /* RuntimeErrorCode.INVALID_CSS_UNIT_VALUE */, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`);\n}\nfunction invalidTrigger() {\n return new ɵRuntimeError(3006 /* RuntimeErrorCode.INVALID_TRIGGER */, ngDevMode &&\n \"animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))\");\n}\nfunction invalidDefinition() {\n return new ɵRuntimeError(3007 /* RuntimeErrorCode.INVALID_DEFINITION */, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()');\n}\nfunction invalidState(metadataName, missingSubs) {\n return new ɵRuntimeError(3008 /* RuntimeErrorCode.INVALID_STATE */, ngDevMode &&\n `state(\"${metadataName}\", ...) must define default values for all the following style substitutions: ${missingSubs.join(', ')}`);\n}\nfunction invalidStyleValue(value) {\n return new ɵRuntimeError(3002 /* RuntimeErrorCode.INVALID_STYLE_VALUE */, ngDevMode && `The provided style string value ${value} is not allowed.`);\n}\nfunction invalidProperty(prop) {\n return new ɵRuntimeError(3009 /* RuntimeErrorCode.INVALID_PROPERTY */, ngDevMode &&\n `The provided animation property \"${prop}\" is not a supported CSS property for animations`);\n}\nfunction invalidParallelAnimation(prop, firstStart, firstEnd, secondStart, secondEnd) {\n return new ɵRuntimeError(3010 /* RuntimeErrorCode.INVALID_PARALLEL_ANIMATION */, ngDevMode &&\n `The CSS property \"${prop}\" that exists between the times of \"${firstStart}ms\" and \"${firstEnd}ms\" is also being animated in a parallel animation between the times of \"${secondStart}ms\" and \"${secondEnd}ms\"`);\n}\nfunction invalidKeyframes() {\n return new ɵRuntimeError(3011 /* RuntimeErrorCode.INVALID_KEYFRAMES */, ngDevMode && `keyframes() must be placed inside of a call to animate()`);\n}\nfunction invalidOffset() {\n return new ɵRuntimeError(3012 /* RuntimeErrorCode.INVALID_OFFSET */, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`);\n}\nfunction keyframeOffsetsOutOfOrder() {\n return new ɵRuntimeError(3200 /* RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER */, ngDevMode && `Please ensure that all keyframe offsets are in order`);\n}\nfunction keyframesMissingOffsets() {\n return new ɵRuntimeError(3202 /* RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS */, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`);\n}\nfunction invalidStagger() {\n return new ɵRuntimeError(3013 /* RuntimeErrorCode.INVALID_STAGGER */, ngDevMode && `stagger() can only be used inside of query()`);\n}\nfunction invalidQuery(selector) {\n return new ɵRuntimeError(3014 /* RuntimeErrorCode.INVALID_QUERY */, ngDevMode &&\n `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${selector}\", { optional: true })\\` if you wish to allow this.)`);\n}\nfunction invalidExpression(expr) {\n return new ɵRuntimeError(3015 /* RuntimeErrorCode.INVALID_EXPRESSION */, ngDevMode && `The provided transition expression \"${expr}\" is not supported`);\n}\nfunction invalidTransitionAlias(alias) {\n return new ɵRuntimeError(3016 /* RuntimeErrorCode.INVALID_TRANSITION_ALIAS */, ngDevMode && `The transition alias value \"${alias}\" is not supported`);\n}\nfunction validationFailed(errors) {\n return new ɵRuntimeError(3500 /* RuntimeErrorCode.VALIDATION_FAILED */, ngDevMode && `animation validation failed:\\n${errors.map((err) => err.message).join('\\n')}`);\n}\nfunction buildingFailed(errors) {\n return new ɵRuntimeError(3501 /* RuntimeErrorCode.BUILDING_FAILED */, ngDevMode && `animation building failed:\\n${errors.map((err) => err.message).join('\\n')}`);\n}\nfunction triggerBuildFailed(name, errors) {\n return new ɵRuntimeError(3404 /* RuntimeErrorCode.TRIGGER_BUILD_FAILED */, ngDevMode &&\n `The animation trigger \"${name}\" has failed to build due to the following errors:\\n - ${errors\n .map((err) => err.message)\n .join('\\n - ')}`);\n}\nfunction animationFailed(errors) {\n return new ɵRuntimeError(3502 /* RuntimeErrorCode.ANIMATION_FAILED */, ngDevMode &&\n `Unable to animate due to the following errors:${LINE_START}${errors\n .map((err) => err.message)\n .join(LINE_START)}`);\n}\nfunction registerFailed(errors) {\n return new ɵRuntimeError(3503 /* RuntimeErrorCode.REGISTRATION_FAILED */, ngDevMode &&\n `Unable to build the animation due to the following errors: ${errors\n .map((err) => err.message)\n .join('\\n')}`);\n}\nfunction missingOrDestroyedAnimation() {\n return new ɵRuntimeError(3300 /* RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION */, ngDevMode && \"The requested animation doesn't exist or has already been destroyed\");\n}\nfunction createAnimationFailed(errors) {\n return new ɵRuntimeError(3504 /* RuntimeErrorCode.CREATE_ANIMATION_FAILED */, ngDevMode &&\n `Unable to create the animation due to the following errors:${errors\n .map((err) => err.message)\n .join('\\n')}`);\n}\nfunction missingPlayer(id) {\n return new ɵRuntimeError(3301 /* RuntimeErrorCode.MISSING_PLAYER */, ngDevMode && `Unable to find the timeline player referenced by ${id}`);\n}\nfunction missingTrigger(phase, name) {\n return new ɵRuntimeError(3302 /* RuntimeErrorCode.MISSING_TRIGGER */, ngDevMode &&\n `Unable to listen on the animation trigger event \"${phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`);\n}\nfunction missingEvent(name) {\n return new ɵRuntimeError(3303 /* RuntimeErrorCode.MISSING_EVENT */, ngDevMode &&\n `Unable to listen on the animation trigger \"${name}\" because the provided event is undefined!`);\n}\nfunction unsupportedTriggerEvent(phase, name) {\n return new ɵRuntimeError(3400 /* RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT */, ngDevMode &&\n `The provided animation trigger event \"${phase}\" for the animation trigger \"${name}\" is not supported!`);\n}\nfunction unregisteredTrigger(name) {\n return new ɵRuntimeError(3401 /* RuntimeErrorCode.UNREGISTERED_TRIGGER */, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`);\n}\nfunction triggerTransitionsFailed(errors) {\n return new ɵRuntimeError(3402 /* RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED */, ngDevMode &&\n `Unable to process animations due to the following failed trigger transitions\\n ${errors\n .map((err) => err.message)\n .join('\\n')}`);\n}\nfunction triggerParsingFailed(name, errors) {\n return new ɵRuntimeError(3403 /* RuntimeErrorCode.TRIGGER_PARSING_FAILED */, ngDevMode &&\n `Animation parsing for the ${name} trigger have failed:${LINE_START}${errors\n .map((err) => err.message)\n .join(LINE_START)}`);\n}\nfunction transitionFailed(name, errors) {\n return new ɵRuntimeError(3505 /* RuntimeErrorCode.TRANSITION_FAILED */, ngDevMode && `@${name} has failed due to:\\n ${errors.map((err) => err.message).join('\\n- ')}`);\n}\n\n/**\n * Set of all animatable CSS properties\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties\n */\nconst ANIMATABLE_PROP_SET = new Set([\n '-moz-outline-radius',\n '-moz-outline-radius-bottomleft',\n '-moz-outline-radius-bottomright',\n '-moz-outline-radius-topleft',\n '-moz-outline-radius-topright',\n '-ms-grid-columns',\n '-ms-grid-rows',\n '-webkit-line-clamp',\n '-webkit-text-fill-color',\n '-webkit-text-stroke',\n '-webkit-text-stroke-color',\n 'accent-color',\n 'all',\n 'backdrop-filter',\n 'background',\n 'background-color',\n 'background-position',\n 'background-size',\n 'block-size',\n 'border',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-width',\n 'border-color',\n 'border-end-end-radius',\n 'border-end-start-radius',\n 'border-image-outset',\n 'border-image-slice',\n 'border-image-width',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-width',\n 'border-left',\n 'border-left-color',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-width',\n 'border-start-end-radius',\n 'border-start-start-radius',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-shadow',\n 'caret-color',\n 'clip',\n 'clip-path',\n 'color',\n 'column-count',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-width',\n 'column-width',\n 'columns',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-grow',\n 'flex-shrink',\n 'font',\n 'font-size',\n 'font-size-adjust',\n 'font-stretch',\n 'font-variation-settings',\n 'font-weight',\n 'gap',\n 'grid-column-gap',\n 'grid-gap',\n 'grid-row-gap',\n 'grid-template-columns',\n 'grid-template-rows',\n 'height',\n 'inline-size',\n 'input-security',\n 'inset',\n 'inset-block',\n 'inset-block-end',\n 'inset-block-start',\n 'inset-inline',\n 'inset-inline-end',\n 'inset-inline-start',\n 'left',\n 'letter-spacing',\n 'line-clamp',\n 'line-height',\n 'margin',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'mask',\n 'mask-border',\n 'mask-position',\n 'mask-size',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-lines',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'object-position',\n 'offset',\n 'offset-anchor',\n 'offset-distance',\n 'offset-path',\n 'offset-position',\n 'offset-rotate',\n 'opacity',\n 'order',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-width',\n 'padding',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'perspective',\n 'perspective-origin',\n 'right',\n 'rotate',\n 'row-gap',\n 'scale',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-coordinate',\n 'scroll-snap-destination',\n 'scrollbar-color',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'tab-size',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-thickness',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-indent',\n 'text-shadow',\n 'text-underline-offset',\n 'top',\n 'transform',\n 'transform-origin',\n 'translate',\n 'vertical-align',\n 'visibility',\n 'width',\n 'word-spacing',\n 'z-index',\n 'zoom',\n]);\n\nfunction optimizeGroupPlayer(players) {\n switch (players.length) {\n case 0:\n return new NoopAnimationPlayer();\n case 1:\n return players[0];\n default:\n return new ɵAnimationGroupPlayer(players);\n }\n}\nfunction normalizeKeyframes$1(normalizer, keyframes, preStyles = new Map(), postStyles = new Map()) {\n const errors = [];\n const normalizedKeyframes = [];\n let previousOffset = -1;\n let previousKeyframe = null;\n keyframes.forEach((kf) => {\n const offset = kf.get('offset');\n const isSameOffset = offset == previousOffset;\n const normalizedKeyframe = (isSameOffset && previousKeyframe) || new Map();\n kf.forEach((val, prop) => {\n let normalizedProp = prop;\n let normalizedValue = val;\n if (prop !== 'offset') {\n normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n switch (normalizedValue) {\n case ɵPRE_STYLE:\n normalizedValue = preStyles.get(prop);\n break;\n case AUTO_STYLE:\n normalizedValue = postStyles.get(prop);\n break;\n default:\n normalizedValue = normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n break;\n }\n }\n normalizedKeyframe.set(normalizedProp, normalizedValue);\n });\n if (!isSameOffset) {\n normalizedKeyframes.push(normalizedKeyframe);\n }\n previousKeyframe = normalizedKeyframe;\n previousOffset = offset;\n });\n if (errors.length) {\n throw animationFailed(errors);\n }\n return normalizedKeyframes;\n}\nfunction listenOnPlayer(player, eventName, event, callback) {\n switch (eventName) {\n case 'start':\n player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player)));\n break;\n case 'done':\n player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player)));\n break;\n case 'destroy':\n player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player)));\n break;\n }\n}\nfunction copyAnimationEvent(e, phaseName, player) {\n const totalTime = player.totalTime;\n const disabled = player.disabled ? true : false;\n const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n const data = e['_data'];\n if (data != null) {\n event['_data'] = data;\n }\n return event;\n}\nfunction makeAnimationEvent(element, triggerName, fromState, toState, phaseName = '', totalTime = 0, disabled) {\n return { element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled };\n}\nfunction getOrSetDefaultValue(map, key, defaultValue) {\n let value = map.get(key);\n if (!value) {\n map.set(key, (value = defaultValue));\n }\n return value;\n}\nfunction parseTimelineCommand(command) {\n const separatorPos = command.indexOf(':');\n const id = command.substring(1, separatorPos);\n const action = command.slice(separatorPos + 1);\n return [id, action];\n}\nconst documentElement = /* @__PURE__ */ (() => typeof document === 'undefined' ? null : document.documentElement)();\nfunction getParentElement(element) {\n const parent = element.parentNode || element.host || null; // consider host to support shadow DOM\n if (parent === documentElement) {\n return null;\n }\n return parent;\n}\nfunction containsVendorPrefix(prop) {\n // Webkit is the only real popular vendor prefix nowadays\n // cc: http://shouldiprefix.com/\n return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n}\nlet _CACHED_BODY = null;\nlet _IS_WEBKIT = false;\nfunction validateStyleProperty(prop) {\n if (!_CACHED_BODY) {\n _CACHED_BODY = getBodyNode() || {};\n _IS_WEBKIT = _CACHED_BODY.style ? 'WebkitAppearance' in _CACHED_BODY.style : false;\n }\n let result = true;\n if (_CACHED_BODY.style && !containsVendorPrefix(prop)) {\n result = prop in _CACHED_BODY.style;\n if (!result && _IS_WEBKIT) {\n const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1);\n result = camelProp in _CACHED_BODY.style;\n }\n }\n return result;\n}\nfunction validateWebAnimatableStyleProperty(prop) {\n return ANIMATABLE_PROP_SET.has(prop);\n}\nfunction getBodyNode() {\n if (typeof document != 'undefined') {\n return document.body;\n }\n return null;\n}\nfunction containsElement(elm1, elm2) {\n while (elm2) {\n if (elm2 === elm1) {\n return true;\n }\n elm2 = getParentElement(elm2);\n }\n return false;\n}\nfunction invokeQuery(element, selector, multi) {\n if (multi) {\n return Array.from(element.querySelectorAll(selector));\n }\n const elem = element.querySelector(selector);\n return elem ? [elem] : [];\n}\nfunction hypenatePropsKeys(original) {\n const newMap = new Map();\n original.forEach((val, prop) => {\n const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2');\n newMap.set(newProp, val);\n });\n return newMap;\n}\n\n/**\n * @publicApi\n *\n * `AnimationDriver` implentation for Noop animations\n */\nclass NoopAnimationDriver {\n /**\n * @returns Whether `prop` is a valid CSS property\n */\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n /**\n * @deprecated unused\n */\n matchesElement(_element, _selector) {\n // This method is deprecated and no longer in use so we return false.\n return false;\n }\n /**\n *\n * @returns Whether elm1 contains elm2.\n */\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n /**\n * @returns Rhe parent of the given element or `null` if the element is the `document`\n */\n getParentElement(element) {\n return getParentElement(element);\n }\n /**\n * @returns The result of the query selector on the element. The array will contain up to 1 item\n * if `multi` is `false`.\n */\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n /**\n * @returns The `defaultValue` or empty string\n */\n computeStyle(element, prop, defaultValue) {\n return defaultValue || '';\n }\n /**\n * @returns An `NoopAnimationPlayer`\n */\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n return new NoopAnimationPlayer(duration, delay);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NoopAnimationDriver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NoopAnimationDriver, decorators: [{\n type: Injectable\n }] });\n/**\n * @publicApi\n */\nclass AnimationDriver {\n /**\n * @deprecated Use the NoopAnimationDriver class.\n */\n static { this.NOOP = new NoopAnimationDriver(); }\n}\n\nclass AnimationStyleNormalizer {\n}\nclass NoopAnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return propertyName;\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n return value;\n }\n}\n\nconst ONE_SECOND = 1000;\nconst SUBSTITUTION_EXPR_START = '{{';\nconst SUBSTITUTION_EXPR_END = '}}';\nconst ENTER_CLASSNAME = 'ng-enter';\nconst LEAVE_CLASSNAME = 'ng-leave';\nconst NG_TRIGGER_CLASSNAME = 'ng-trigger';\nconst NG_TRIGGER_SELECTOR = '.ng-trigger';\nconst NG_ANIMATING_CLASSNAME = 'ng-animating';\nconst NG_ANIMATING_SELECTOR = '.ng-animating';\nfunction resolveTimingValue(value) {\n if (typeof value == 'number')\n return value;\n const matches = value.match(/^(-?[\\.\\d]+)(m?s)/);\n if (!matches || matches.length < 2)\n return 0;\n return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n}\nfunction _convertTimeValueToMS(value, unit) {\n switch (unit) {\n case 's':\n return value * ONE_SECOND;\n default: // ms or something else\n return value;\n }\n}\nfunction resolveTiming(timings, errors, allowNegativeValues) {\n return timings.hasOwnProperty('duration')\n ? timings\n : parseTimeExpression(timings, errors, allowNegativeValues);\n}\nfunction parseTimeExpression(exp, errors, allowNegativeValues) {\n const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n let duration;\n let delay = 0;\n let easing = '';\n if (typeof exp === 'string') {\n const matches = exp.match(regex);\n if (matches === null) {\n errors.push(invalidTimingValue(exp));\n return { duration: 0, delay: 0, easing: '' };\n }\n duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n const delayMatch = matches[3];\n if (delayMatch != null) {\n delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n }\n const easingVal = matches[5];\n if (easingVal) {\n easing = easingVal;\n }\n }\n else {\n duration = exp;\n }\n if (!allowNegativeValues) {\n let containsErrors = false;\n let startIndex = errors.length;\n if (duration < 0) {\n errors.push(negativeStepValue());\n containsErrors = true;\n }\n if (delay < 0) {\n errors.push(negativeDelayValue());\n containsErrors = true;\n }\n if (containsErrors) {\n errors.splice(startIndex, 0, invalidTimingValue(exp));\n }\n }\n return { duration, delay, easing };\n}\nfunction normalizeKeyframes(keyframes) {\n if (!keyframes.length) {\n return [];\n }\n if (keyframes[0] instanceof Map) {\n return keyframes;\n }\n return keyframes.map((kf) => new Map(Object.entries(kf)));\n}\nfunction normalizeStyles(styles) {\n return Array.isArray(styles) ? new Map(...styles) : new Map(styles);\n}\nfunction setStyles(element, styles, formerStyles) {\n styles.forEach((val, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n if (formerStyles && !formerStyles.has(prop)) {\n formerStyles.set(prop, element.style[camelProp]);\n }\n element.style[camelProp] = val;\n });\n}\nfunction eraseStyles(element, styles) {\n styles.forEach((_, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n element.style[camelProp] = '';\n });\n}\nfunction normalizeAnimationEntry(steps) {\n if (Array.isArray(steps)) {\n if (steps.length == 1)\n return steps[0];\n return sequence(steps);\n }\n return steps;\n}\nfunction validateStyleParams(value, options, errors) {\n const params = options.params || {};\n const matches = extractStyleParams(value);\n if (matches.length) {\n matches.forEach((varName) => {\n if (!params.hasOwnProperty(varName)) {\n errors.push(invalidStyleParams(varName));\n }\n });\n }\n}\nconst PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g');\nfunction extractStyleParams(value) {\n let params = [];\n if (typeof value === 'string') {\n let match;\n while ((match = PARAM_REGEX.exec(value))) {\n params.push(match[1]);\n }\n PARAM_REGEX.lastIndex = 0;\n }\n return params;\n}\nfunction interpolateParams(value, params, errors) {\n const original = `${value}`;\n const str = original.replace(PARAM_REGEX, (_, varName) => {\n let localVal = params[varName];\n // this means that the value was never overridden by the data passed in by the user\n if (localVal == null) {\n errors.push(invalidParamValue(varName));\n localVal = '';\n }\n return localVal.toString();\n });\n // we do this to assert that numeric values stay as they are\n return str == original ? value : str;\n}\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\nfunction dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());\n}\nfunction camelCaseToDashCase(input) {\n return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n}\nfunction allowPreviousPlayerStylesMerge(duration, delay) {\n return duration === 0 || delay === 0;\n}\nfunction balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n if (previousStyles.size && keyframes.length) {\n let startingKeyframe = keyframes[0];\n let missingStyleProps = [];\n previousStyles.forEach((val, prop) => {\n if (!startingKeyframe.has(prop)) {\n missingStyleProps.push(prop);\n }\n startingKeyframe.set(prop, val);\n });\n if (missingStyleProps.length) {\n for (let i = 1; i < keyframes.length; i++) {\n let kf = keyframes[i];\n missingStyleProps.forEach((prop) => kf.set(prop, computeStyle(element, prop)));\n }\n }\n }\n return keyframes;\n}\nfunction visitDslNode(visitor, node, context) {\n switch (node.type) {\n case AnimationMetadataType.Trigger:\n return visitor.visitTrigger(node, context);\n case AnimationMetadataType.State:\n return visitor.visitState(node, context);\n case AnimationMetadataType.Transition:\n return visitor.visitTransition(node, context);\n case AnimationMetadataType.Sequence:\n return visitor.visitSequence(node, context);\n case AnimationMetadataType.Group:\n return visitor.visitGroup(node, context);\n case AnimationMetadataType.Animate:\n return visitor.visitAnimate(node, context);\n case AnimationMetadataType.Keyframes:\n return visitor.visitKeyframes(node, context);\n case AnimationMetadataType.Style:\n return visitor.visitStyle(node, context);\n case AnimationMetadataType.Reference:\n return visitor.visitReference(node, context);\n case AnimationMetadataType.AnimateChild:\n return visitor.visitAnimateChild(node, context);\n case AnimationMetadataType.AnimateRef:\n return visitor.visitAnimateRef(node, context);\n case AnimationMetadataType.Query:\n return visitor.visitQuery(node, context);\n case AnimationMetadataType.Stagger:\n return visitor.visitStagger(node, context);\n default:\n throw invalidNodeType(node.type);\n }\n}\nfunction computeStyle(element, prop) {\n return window.getComputedStyle(element)[prop];\n}\n\nconst DIMENSIONAL_PROP_SET = new Set([\n 'width',\n 'height',\n 'minWidth',\n 'minHeight',\n 'maxWidth',\n 'maxHeight',\n 'left',\n 'top',\n 'bottom',\n 'right',\n 'fontSize',\n 'outlineWidth',\n 'outlineOffset',\n 'paddingTop',\n 'paddingLeft',\n 'paddingBottom',\n 'paddingRight',\n 'marginTop',\n 'marginLeft',\n 'marginBottom',\n 'marginRight',\n 'borderRadius',\n 'borderWidth',\n 'borderTopWidth',\n 'borderLeftWidth',\n 'borderRightWidth',\n 'borderBottomWidth',\n 'textIndent',\n 'perspective',\n]);\nclass WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return dashCaseToCamelCase(propertyName);\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n let unit = '';\n const strVal = value.toString().trim();\n if (DIMENSIONAL_PROP_SET.has(normalizedProperty) && value !== 0 && value !== '0') {\n if (typeof value === 'number') {\n unit = 'px';\n }\n else {\n const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n errors.push(invalidCssUnitValue(userProvidedProperty, value));\n }\n }\n }\n return strVal + unit;\n }\n}\n\nfunction createListOfWarnings(warnings) {\n const LINE_START = '\\n - ';\n return `${LINE_START}${warnings\n .filter(Boolean)\n .map((warning) => warning)\n .join(LINE_START)}`;\n}\nfunction warnValidation(warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnTriggerBuild(name, warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`The animation trigger \"${name}\" has built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnRegister(warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction triggerParsingWarnings(name, warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`Animation parsing for the ${name} trigger presents the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction pushUnrecognizedPropertiesWarning(warnings, props) {\n if (props.length) {\n warnings.push(`The following provided properties are not recognized: ${props.join(', ')}`);\n }\n}\n\nconst ANY_STATE = '*';\nfunction parseTransitionExpr(transitionValue, errors) {\n const expressions = [];\n if (typeof transitionValue == 'string') {\n transitionValue\n .split(/\\s*,\\s*/)\n .forEach((str) => parseInnerTransitionStr(str, expressions, errors));\n }\n else {\n expressions.push(transitionValue);\n }\n return expressions;\n}\nfunction parseInnerTransitionStr(eventStr, expressions, errors) {\n if (eventStr[0] == ':') {\n const result = parseAnimationAlias(eventStr, errors);\n if (typeof result == 'function') {\n expressions.push(result);\n return;\n }\n eventStr = result;\n }\n const match = eventStr.match(/^(\\*|[-\\w]+)\\s*()\\s*(\\*|[-\\w]+)$/);\n if (match == null || match.length < 4) {\n errors.push(invalidExpression(eventStr));\n return expressions;\n }\n const fromState = match[1];\n const separator = match[2];\n const toState = match[3];\n expressions.push(makeLambdaFromStates(fromState, toState));\n const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n if (separator[0] == '<' && !isFullAnyStateExpr) {\n expressions.push(makeLambdaFromStates(toState, fromState));\n }\n return;\n}\nfunction parseAnimationAlias(alias, errors) {\n switch (alias) {\n case ':enter':\n return 'void => *';\n case ':leave':\n return '* => void';\n case ':increment':\n return (fromState, toState) => parseFloat(toState) > parseFloat(fromState);\n case ':decrement':\n return (fromState, toState) => parseFloat(toState) < parseFloat(fromState);\n default:\n errors.push(invalidTransitionAlias(alias));\n return '* => *';\n }\n}\n// DO NOT REFACTOR ... keep the follow set instantiations\n// with the values intact (closure compiler for some reason\n// removes follow-up lines that add the values outside of\n// the constructor...\nconst TRUE_BOOLEAN_VALUES = new Set(['true', '1']);\nconst FALSE_BOOLEAN_VALUES = new Set(['false', '0']);\nfunction makeLambdaFromStates(lhs, rhs) {\n const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n return (fromState, toState) => {\n let lhsMatch = lhs == ANY_STATE || lhs == fromState;\n let rhsMatch = rhs == ANY_STATE || rhs == toState;\n if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n }\n if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n }\n return lhsMatch && rhsMatch;\n };\n}\n\nconst SELF_TOKEN = ':self';\nconst SELF_TOKEN_REGEX = new RegExp(`s*${SELF_TOKEN}s*,?`, 'g');\n/*\n * [Validation]\n * The visitor code below will traverse the animation AST generated by the animation verb functions\n * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n * following corner-cases will be validated:\n *\n * 1. Overlap of animations\n * Given that a CSS property cannot be animated in more than one place at the same time, it's\n * important that this behavior is detected and validated. The way in which this occurs is that\n * each time a style property is examined, a string-map containing the property will be updated with\n * the start and end times for when the property is used within an animation step.\n *\n * If there are two or more parallel animations that are currently running (these are invoked by the\n * group()) on the same element then the validator will throw an error. Since the start/end timing\n * values are collected for each property then if the current animation step is animating the same\n * property and its timing values fall anywhere into the window of time that the property is\n * currently being animated within then this is what causes an error.\n *\n * 2. Timing values\n * The validator will validate to see if a timing value of `duration delay easing` or\n * `durationNumber` is valid or not.\n *\n * (note that upon validation the code below will replace the timing data with an object containing\n * {duration,delay,easing}.\n *\n * 3. Offset Validation\n * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n * Offsets within keyframes() are considered valid when:\n *\n * - No offsets are used at all\n * - Each style() entry contains an offset value\n * - Each offset is between 0 and 1\n * - Each offset is greater to or equal than the previous one\n *\n * Otherwise an error will be thrown.\n */\nfunction buildAnimationAst(driver, metadata, errors, warnings) {\n return new AnimationAstBuilderVisitor(driver).build(metadata, errors, warnings);\n}\nconst ROOT_SELECTOR = '';\nclass AnimationAstBuilderVisitor {\n constructor(_driver) {\n this._driver = _driver;\n }\n build(metadata, errors, warnings) {\n const context = new AnimationAstBuilderContext(errors);\n this._resetContextStyleTimingState(context);\n const ast = (visitDslNode(this, normalizeAnimationEntry(metadata), context));\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (context.unsupportedCSSPropertiesFound.size) {\n pushUnrecognizedPropertiesWarning(warnings, [\n ...context.unsupportedCSSPropertiesFound.keys(),\n ]);\n }\n }\n return ast;\n }\n _resetContextStyleTimingState(context) {\n context.currentQuerySelector = ROOT_SELECTOR;\n context.collectedStyles = new Map();\n context.collectedStyles.set(ROOT_SELECTOR, new Map());\n context.currentTime = 0;\n }\n visitTrigger(metadata, context) {\n let queryCount = (context.queryCount = 0);\n let depCount = (context.depCount = 0);\n const states = [];\n const transitions = [];\n if (metadata.name.charAt(0) == '@') {\n context.errors.push(invalidTrigger());\n }\n metadata.definitions.forEach((def) => {\n this._resetContextStyleTimingState(context);\n if (def.type == AnimationMetadataType.State) {\n const stateDef = def;\n const name = stateDef.name;\n name\n .toString()\n .split(/\\s*,\\s*/)\n .forEach((n) => {\n stateDef.name = n;\n states.push(this.visitState(stateDef, context));\n });\n stateDef.name = name;\n }\n else if (def.type == AnimationMetadataType.Transition) {\n const transition = this.visitTransition(def, context);\n queryCount += transition.queryCount;\n depCount += transition.depCount;\n transitions.push(transition);\n }\n else {\n context.errors.push(invalidDefinition());\n }\n });\n return {\n type: AnimationMetadataType.Trigger,\n name: metadata.name,\n states,\n transitions,\n queryCount,\n depCount,\n options: null,\n };\n }\n visitState(metadata, context) {\n const styleAst = this.visitStyle(metadata.styles, context);\n const astParams = (metadata.options && metadata.options.params) || null;\n if (styleAst.containsDynamicStyles) {\n const missingSubs = new Set();\n const params = astParams || {};\n styleAst.styles.forEach((style) => {\n if (style instanceof Map) {\n style.forEach((value) => {\n extractStyleParams(value).forEach((sub) => {\n if (!params.hasOwnProperty(sub)) {\n missingSubs.add(sub);\n }\n });\n });\n }\n });\n if (missingSubs.size) {\n context.errors.push(invalidState(metadata.name, [...missingSubs.values()]));\n }\n }\n return {\n type: AnimationMetadataType.State,\n name: metadata.name,\n style: styleAst,\n options: astParams ? { params: astParams } : null,\n };\n }\n visitTransition(metadata, context) {\n context.queryCount = 0;\n context.depCount = 0;\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n const matchers = parseTransitionExpr(metadata.expr, context.errors);\n return {\n type: AnimationMetadataType.Transition,\n matchers,\n animation,\n queryCount: context.queryCount,\n depCount: context.depCount,\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitSequence(metadata, context) {\n return {\n type: AnimationMetadataType.Sequence,\n steps: metadata.steps.map((s) => visitDslNode(this, s, context)),\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitGroup(metadata, context) {\n const currentTime = context.currentTime;\n let furthestTime = 0;\n const steps = metadata.steps.map((step) => {\n context.currentTime = currentTime;\n const innerAst = visitDslNode(this, step, context);\n furthestTime = Math.max(furthestTime, context.currentTime);\n return innerAst;\n });\n context.currentTime = furthestTime;\n return {\n type: AnimationMetadataType.Group,\n steps,\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitAnimate(metadata, context) {\n const timingAst = constructTimingAst(metadata.timings, context.errors);\n context.currentAnimateTimings = timingAst;\n let styleAst;\n let styleMetadata = metadata.styles\n ? metadata.styles\n : style({});\n if (styleMetadata.type == AnimationMetadataType.Keyframes) {\n styleAst = this.visitKeyframes(styleMetadata, context);\n }\n else {\n let styleMetadata = metadata.styles;\n let isEmpty = false;\n if (!styleMetadata) {\n isEmpty = true;\n const newStyleData = {};\n if (timingAst.easing) {\n newStyleData['easing'] = timingAst.easing;\n }\n styleMetadata = style(newStyleData);\n }\n context.currentTime += timingAst.duration + timingAst.delay;\n const _styleAst = this.visitStyle(styleMetadata, context);\n _styleAst.isEmptyStep = isEmpty;\n styleAst = _styleAst;\n }\n context.currentAnimateTimings = null;\n return {\n type: AnimationMetadataType.Animate,\n timings: timingAst,\n style: styleAst,\n options: null,\n };\n }\n visitStyle(metadata, context) {\n const ast = this._makeStyleAst(metadata, context);\n this._validateStyleAst(ast, context);\n return ast;\n }\n _makeStyleAst(metadata, context) {\n const styles = [];\n const metadataStyles = Array.isArray(metadata.styles) ? metadata.styles : [metadata.styles];\n for (let styleTuple of metadataStyles) {\n if (typeof styleTuple === 'string') {\n if (styleTuple === AUTO_STYLE) {\n styles.push(styleTuple);\n }\n else {\n context.errors.push(invalidStyleValue(styleTuple));\n }\n }\n else {\n styles.push(new Map(Object.entries(styleTuple)));\n }\n }\n let containsDynamicStyles = false;\n let collectedEasing = null;\n styles.forEach((styleData) => {\n if (styleData instanceof Map) {\n if (styleData.has('easing')) {\n collectedEasing = styleData.get('easing');\n styleData.delete('easing');\n }\n if (!containsDynamicStyles) {\n for (let value of styleData.values()) {\n if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n containsDynamicStyles = true;\n break;\n }\n }\n }\n }\n });\n return {\n type: AnimationMetadataType.Style,\n styles,\n easing: collectedEasing,\n offset: metadata.offset,\n containsDynamicStyles,\n options: null,\n };\n }\n _validateStyleAst(ast, context) {\n const timings = context.currentAnimateTimings;\n let endTime = context.currentTime;\n let startTime = context.currentTime;\n if (timings && startTime > 0) {\n startTime -= timings.duration + timings.delay;\n }\n ast.styles.forEach((tuple) => {\n if (typeof tuple === 'string')\n return;\n tuple.forEach((value, prop) => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._driver.validateStyleProperty(prop)) {\n tuple.delete(prop);\n context.unsupportedCSSPropertiesFound.add(prop);\n return;\n }\n }\n // This is guaranteed to have a defined Map at this querySelector location making it\n // safe to add the assertion here. It is set as a default empty map in prior methods.\n const collectedStyles = context.collectedStyles.get(context.currentQuerySelector);\n const collectedEntry = collectedStyles.get(prop);\n let updateCollectedStyle = true;\n if (collectedEntry) {\n if (startTime != endTime &&\n startTime >= collectedEntry.startTime &&\n endTime <= collectedEntry.endTime) {\n context.errors.push(invalidParallelAnimation(prop, collectedEntry.startTime, collectedEntry.endTime, startTime, endTime));\n updateCollectedStyle = false;\n }\n // we always choose the smaller start time value since we\n // want to have a record of the entire animation window where\n // the style property is being animated in between\n startTime = collectedEntry.startTime;\n }\n if (updateCollectedStyle) {\n collectedStyles.set(prop, { startTime, endTime });\n }\n if (context.options) {\n validateStyleParams(value, context.options, context.errors);\n }\n });\n });\n }\n visitKeyframes(metadata, context) {\n const ast = { type: AnimationMetadataType.Keyframes, styles: [], options: null };\n if (!context.currentAnimateTimings) {\n context.errors.push(invalidKeyframes());\n return ast;\n }\n const MAX_KEYFRAME_OFFSET = 1;\n let totalKeyframesWithOffsets = 0;\n const offsets = [];\n let offsetsOutOfOrder = false;\n let keyframesOutOfRange = false;\n let previousOffset = 0;\n const keyframes = metadata.steps.map((styles) => {\n const style = this._makeStyleAst(styles, context);\n let offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n let offset = 0;\n if (offsetVal != null) {\n totalKeyframesWithOffsets++;\n offset = style.offset = offsetVal;\n }\n keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n previousOffset = offset;\n offsets.push(offset);\n return style;\n });\n if (keyframesOutOfRange) {\n context.errors.push(invalidOffset());\n }\n if (offsetsOutOfOrder) {\n context.errors.push(keyframeOffsetsOutOfOrder());\n }\n const length = metadata.steps.length;\n let generatedOffset = 0;\n if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n context.errors.push(keyframesMissingOffsets());\n }\n else if (totalKeyframesWithOffsets == 0) {\n generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n }\n const limit = length - 1;\n const currentTime = context.currentTime;\n const currentAnimateTimings = context.currentAnimateTimings;\n const animateDuration = currentAnimateTimings.duration;\n keyframes.forEach((kf, i) => {\n const offset = generatedOffset > 0 ? (i == limit ? 1 : generatedOffset * i) : offsets[i];\n const durationUpToThisFrame = offset * animateDuration;\n context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n currentAnimateTimings.duration = durationUpToThisFrame;\n this._validateStyleAst(kf, context);\n kf.offset = offset;\n ast.styles.push(kf);\n });\n return ast;\n }\n visitReference(metadata, context) {\n return {\n type: AnimationMetadataType.Reference,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitAnimateChild(metadata, context) {\n context.depCount++;\n return {\n type: AnimationMetadataType.AnimateChild,\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitAnimateRef(metadata, context) {\n return {\n type: AnimationMetadataType.AnimateRef,\n animation: this.visitReference(metadata.animation, context),\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitQuery(metadata, context) {\n const parentSelector = context.currentQuerySelector;\n const options = (metadata.options || {});\n context.queryCount++;\n context.currentQuery = metadata;\n const [selector, includeSelf] = normalizeSelector(metadata.selector);\n context.currentQuerySelector = parentSelector.length\n ? parentSelector + ' ' + selector\n : selector;\n getOrSetDefaultValue(context.collectedStyles, context.currentQuerySelector, new Map());\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n context.currentQuery = null;\n context.currentQuerySelector = parentSelector;\n return {\n type: AnimationMetadataType.Query,\n selector,\n limit: options.limit || 0,\n optional: !!options.optional,\n includeSelf,\n animation,\n originalSelector: metadata.selector,\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitStagger(metadata, context) {\n if (!context.currentQuery) {\n context.errors.push(invalidStagger());\n }\n const timings = metadata.timings === 'full'\n ? { duration: 0, delay: 0, easing: 'full' }\n : resolveTiming(metadata.timings, context.errors, true);\n return {\n type: AnimationMetadataType.Stagger,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n timings,\n options: null,\n };\n }\n}\nfunction normalizeSelector(selector) {\n const hasAmpersand = selector.split(/\\s*,\\s*/).find((token) => token == SELF_TOKEN)\n ? true\n : false;\n if (hasAmpersand) {\n selector = selector.replace(SELF_TOKEN_REGEX, '');\n }\n // Note: the :enter and :leave aren't normalized here since those\n // selectors are filled in at runtime during timeline building\n selector = selector\n .replace(/@\\*/g, NG_TRIGGER_SELECTOR)\n .replace(/@\\w+/g, (match) => NG_TRIGGER_SELECTOR + '-' + match.slice(1))\n .replace(/:animating/g, NG_ANIMATING_SELECTOR);\n return [selector, hasAmpersand];\n}\nfunction normalizeParams(obj) {\n return obj ? { ...obj } : null;\n}\nclass AnimationAstBuilderContext {\n constructor(errors) {\n this.errors = errors;\n this.queryCount = 0;\n this.depCount = 0;\n this.currentTransition = null;\n this.currentQuery = null;\n this.currentQuerySelector = null;\n this.currentAnimateTimings = null;\n this.currentTime = 0;\n this.collectedStyles = new Map();\n this.options = null;\n this.unsupportedCSSPropertiesFound = new Set();\n }\n}\nfunction consumeOffset(styles) {\n if (typeof styles == 'string')\n return null;\n let offset = null;\n if (Array.isArray(styles)) {\n styles.forEach((styleTuple) => {\n if (styleTuple instanceof Map && styleTuple.has('offset')) {\n const obj = styleTuple;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n });\n }\n else if (styles instanceof Map && styles.has('offset')) {\n const obj = styles;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n return offset;\n}\nfunction constructTimingAst(value, errors) {\n if (value.hasOwnProperty('duration')) {\n return value;\n }\n if (typeof value == 'number') {\n const duration = resolveTiming(value, errors).duration;\n return makeTimingAst(duration, 0, '');\n }\n const strValue = value;\n const isDynamic = strValue.split(/\\s+/).some((v) => v.charAt(0) == '{' && v.charAt(1) == '{');\n if (isDynamic) {\n const ast = makeTimingAst(0, 0, '');\n ast.dynamic = true;\n ast.strValue = strValue;\n return ast;\n }\n const timings = resolveTiming(strValue, errors);\n return makeTimingAst(timings.duration, timings.delay, timings.easing);\n}\nfunction normalizeAnimationOptions(options) {\n if (options) {\n options = { ...options };\n if (options['params']) {\n options['params'] = normalizeParams(options['params']);\n }\n }\n else {\n options = {};\n }\n return options;\n}\nfunction makeTimingAst(duration, delay, easing) {\n return { duration, delay, easing };\n}\n\nfunction createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) {\n return {\n type: 1 /* AnimationTransitionInstructionType.TimelineAnimation */,\n element,\n keyframes,\n preStyleProps,\n postStyleProps,\n duration,\n delay,\n totalTime: duration + delay,\n easing,\n subTimeline,\n };\n}\n\nclass ElementInstructionMap {\n constructor() {\n this._map = new Map();\n }\n get(element) {\n return this._map.get(element) || [];\n }\n append(element, instructions) {\n let existingInstructions = this._map.get(element);\n if (!existingInstructions) {\n this._map.set(element, (existingInstructions = []));\n }\n existingInstructions.push(...instructions);\n }\n has(element) {\n return this._map.has(element);\n }\n clear() {\n this._map.clear();\n }\n}\n\nconst ONE_FRAME_IN_MILLISECONDS = 1;\nconst ENTER_TOKEN = ':enter';\nconst ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g');\nconst LEAVE_TOKEN = ':leave';\nconst LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g');\n/*\n * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n * animation DSL code.\n *\n * The code below will be converted from:\n *\n * ```\n * sequence([\n * style({ opacity: 0 }),\n * animate(1000, style({ opacity: 0 }))\n * ])\n * ```\n *\n * To:\n * ```\n * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n * duration = 1000\n * delay = 0\n * easing = ''\n * ```\n *\n * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n * combination of AST traversal and merge-sort-like algorithms are used.\n *\n * [AST Traversal]\n * Each of the animation verbs, when executed, will return an string-map object representing what\n * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n * that when functional composition mix of these functions is evaluated (like in the example above)\n * then it will end up producing a tree of objects representing the animation itself.\n *\n * When this animation object tree is processed by the visitor code below it will visit each of the\n * verb statements within the visitor. And during each visit it will build the context of the\n * animation keyframes by interacting with the `TimelineBuilder`.\n *\n * [TimelineBuilder]\n * This class is responsible for tracking the styles and building a series of keyframe objects for a\n * timeline between a start and end time. The builder starts off with an initial timeline and each\n * time the AST comes across a `group()`, `keyframes()` or a combination of the two within a\n * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n * they are complete.\n *\n * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n * merge the styles used within the sub timelines into itself (only with group() this will happen).\n * This happens with a merge operation (much like how the merge works in mergeSort) and it will only\n * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n * that if the styles are used later on in another phase of the animation then they will be the most\n * up-to-date values.\n *\n * [How Missing Styles Are Updated]\n * Each timeline has a `backFill` property which is responsible for filling in new styles into\n * already processed keyframes if a new style shows up later within the animation sequence.\n *\n * ```\n * sequence([\n * style({ width: 0 }),\n * animate(1000, style({ width: 100 })),\n * animate(1000, style({ width: 200 })),\n * animate(1000, style({ width: 300 }))\n * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n * else\n * ])\n * ```\n *\n * What is happening here is that the `height` value is added later in the sequence, but is missing\n * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n * to properly fill in the style it will place the previous value (the value from the parent\n * timeline) or a default value of `*` into the backFill map.\n *\n * When a sub-timeline is created it will have its own backFill property. This is done so that\n * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n * keyframes\n *\n * [Validation]\n * The code in this file is not responsible for validation. That functionality happens with within\n * the `AnimationValidatorVisitor` code.\n */\nfunction buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = new Map(), finalStyles = new Map(), options, subInstructions, errors = []) {\n return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n}\nclass AnimationTimelineBuilderVisitor {\n buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) {\n subInstructions = subInstructions || new ElementInstructionMap();\n const context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n context.options = options;\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n context.currentTimeline.delayNextStep(delay);\n context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n visitDslNode(this, ast, context);\n // this checks to see if an actual animation happened\n const timelines = context.timelines.filter((timeline) => timeline.containsAnimation());\n // note: we just want to apply the final styles for the rootElement, so we do not\n // just apply the styles to the last timeline but the last timeline which\n // element is the root one (basically `*`-styles are replaced with the actual\n // state style values only for the root element)\n if (timelines.length && finalStyles.size) {\n let lastRootTimeline;\n for (let i = timelines.length - 1; i >= 0; i--) {\n const timeline = timelines[i];\n if (timeline.element === rootElement) {\n lastRootTimeline = timeline;\n break;\n }\n }\n if (lastRootTimeline && !lastRootTimeline.allowOnlyTimelineStyles()) {\n lastRootTimeline.setStyles([finalStyles], null, context.errors, options);\n }\n }\n return timelines.length\n ? timelines.map((timeline) => timeline.buildKeyframes())\n : [createTimelineInstruction(rootElement, [], [], [], 0, delay, '', false)];\n }\n visitTrigger(ast, context) {\n // these values are not visited in this AST\n }\n visitState(ast, context) {\n // these values are not visited in this AST\n }\n visitTransition(ast, context) {\n // these values are not visited in this AST\n }\n visitAnimateChild(ast, context) {\n const elementInstructions = context.subInstructions.get(context.element);\n if (elementInstructions) {\n const innerContext = context.createSubContext(ast.options);\n const startTime = context.currentTimeline.currentTime;\n const endTime = this._visitSubInstructions(elementInstructions, innerContext, innerContext.options);\n if (startTime != endTime) {\n // we do this on the upper context because we created a sub context for\n // the sub child animations\n context.transformIntoNewTimeline(endTime);\n }\n }\n context.previousNode = ast;\n }\n visitAnimateRef(ast, context) {\n const innerContext = context.createSubContext(ast.options);\n innerContext.transformIntoNewTimeline();\n this._applyAnimationRefDelays([ast.options, ast.animation.options], context, innerContext);\n this.visitReference(ast.animation, innerContext);\n context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n context.previousNode = ast;\n }\n _applyAnimationRefDelays(animationsRefsOptions, context, innerContext) {\n for (const animationRefOptions of animationsRefsOptions) {\n const animationDelay = animationRefOptions?.delay;\n if (animationDelay) {\n const animationDelayValue = typeof animationDelay === 'number'\n ? animationDelay\n : resolveTimingValue(interpolateParams(animationDelay, animationRefOptions?.params ?? {}, context.errors));\n innerContext.delayNextStep(animationDelayValue);\n }\n }\n }\n _visitSubInstructions(instructions, context, options) {\n const startTime = context.currentTimeline.currentTime;\n let furthestTime = startTime;\n // this is a special-case for when a user wants to skip a sub\n // animation from being fired entirely.\n const duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n const delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n if (duration !== 0) {\n instructions.forEach((instruction) => {\n const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n furthestTime = Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n });\n }\n return furthestTime;\n }\n visitReference(ast, context) {\n context.updateOptions(ast.options, true);\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n }\n visitSequence(ast, context) {\n const subContextCount = context.subContextCount;\n let ctx = context;\n const options = ast.options;\n if (options && (options.params || options.delay)) {\n ctx = context.createSubContext(options);\n ctx.transformIntoNewTimeline();\n if (options.delay != null) {\n if (ctx.previousNode.type == AnimationMetadataType.Style) {\n ctx.currentTimeline.snapshotCurrentStyles();\n ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n const delay = resolveTimingValue(options.delay);\n ctx.delayNextStep(delay);\n }\n }\n if (ast.steps.length) {\n ast.steps.forEach((s) => visitDslNode(this, s, ctx));\n // this is here just in case the inner steps only contain or end with a style() call\n ctx.currentTimeline.applyStylesToKeyframe();\n // this means that some animation function within the sequence\n // ended up creating a sub timeline (which means the current\n // timeline cannot overlap with the contents of the sequence)\n if (ctx.subContextCount > subContextCount) {\n ctx.transformIntoNewTimeline();\n }\n }\n context.previousNode = ast;\n }\n visitGroup(ast, context) {\n const innerTimelines = [];\n let furthestTime = context.currentTimeline.currentTime;\n const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n ast.steps.forEach((s) => {\n const innerContext = context.createSubContext(ast.options);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n visitDslNode(this, s, innerContext);\n furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n innerTimelines.push(innerContext.currentTimeline);\n });\n // this operation is run after the AST loop because otherwise\n // if the parent timeline's collected styles were updated then\n // it would pass in invalid data into the new-to-be forked items\n innerTimelines.forEach((timeline) => context.currentTimeline.mergeTimelineCollectedStyles(timeline));\n context.transformIntoNewTimeline(furthestTime);\n context.previousNode = ast;\n }\n _visitTiming(ast, context) {\n if (ast.dynamic) {\n const strValue = ast.strValue;\n const timingValue = context.params\n ? interpolateParams(strValue, context.params, context.errors)\n : strValue;\n return resolveTiming(timingValue, context.errors);\n }\n else {\n return { duration: ast.duration, delay: ast.delay, easing: ast.easing };\n }\n }\n visitAnimate(ast, context) {\n const timings = (context.currentAnimateTimings = this._visitTiming(ast.timings, context));\n const timeline = context.currentTimeline;\n if (timings.delay) {\n context.incrementTime(timings.delay);\n timeline.snapshotCurrentStyles();\n }\n const style = ast.style;\n if (style.type == AnimationMetadataType.Keyframes) {\n this.visitKeyframes(style, context);\n }\n else {\n context.incrementTime(timings.duration);\n this.visitStyle(style, context);\n timeline.applyStylesToKeyframe();\n }\n context.currentAnimateTimings = null;\n context.previousNode = ast;\n }\n visitStyle(ast, context) {\n const timeline = context.currentTimeline;\n const timings = context.currentAnimateTimings;\n // this is a special case for when a style() call\n // directly follows an animate() call (but not inside of an animate() call)\n if (!timings && timeline.hasCurrentStyleProperties()) {\n timeline.forwardFrame();\n }\n const easing = (timings && timings.easing) || ast.easing;\n if (ast.isEmptyStep) {\n timeline.applyEmptyStep(easing);\n }\n else {\n timeline.setStyles(ast.styles, easing, context.errors, context.options);\n }\n context.previousNode = ast;\n }\n visitKeyframes(ast, context) {\n const currentAnimateTimings = context.currentAnimateTimings;\n const startTime = context.currentTimeline.duration;\n const duration = currentAnimateTimings.duration;\n const innerContext = context.createSubContext();\n const innerTimeline = innerContext.currentTimeline;\n innerTimeline.easing = currentAnimateTimings.easing;\n ast.styles.forEach((step) => {\n const offset = step.offset || 0;\n innerTimeline.forwardTime(offset * duration);\n innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n innerTimeline.applyStylesToKeyframe();\n });\n // this will ensure that the parent timeline gets all the styles from\n // the child even if the new timeline below is not used\n context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline);\n // we do this because the window between this timeline and the sub timeline\n // should ensure that the styles within are exactly the same as they were before\n context.transformIntoNewTimeline(startTime + duration);\n context.previousNode = ast;\n }\n visitQuery(ast, context) {\n // in the event that the first step before this is a style step we need\n // to ensure the styles are applied before the children are animated\n const startTime = context.currentTimeline.currentTime;\n const options = (ast.options || {});\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n if (delay &&\n (context.previousNode.type === AnimationMetadataType.Style ||\n (startTime == 0 && context.currentTimeline.hasCurrentStyleProperties()))) {\n context.currentTimeline.snapshotCurrentStyles();\n context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n let furthestTime = startTime;\n const elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n context.currentQueryTotal = elms.length;\n let sameElementTimeline = null;\n elms.forEach((element, i) => {\n context.currentQueryIndex = i;\n const innerContext = context.createSubContext(ast.options, element);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n if (element === context.element) {\n sameElementTimeline = innerContext.currentTimeline;\n }\n visitDslNode(this, ast.animation, innerContext);\n // this is here just incase the inner steps only contain or end\n // with a style() call (which is here to signal that this is a preparatory\n // call to style an element before it is animated again)\n innerContext.currentTimeline.applyStylesToKeyframe();\n const endTime = innerContext.currentTimeline.currentTime;\n furthestTime = Math.max(furthestTime, endTime);\n });\n context.currentQueryIndex = 0;\n context.currentQueryTotal = 0;\n context.transformIntoNewTimeline(furthestTime);\n if (sameElementTimeline) {\n context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n context.currentTimeline.snapshotCurrentStyles();\n }\n context.previousNode = ast;\n }\n visitStagger(ast, context) {\n const parentContext = context.parentContext;\n const tl = context.currentTimeline;\n const timings = ast.timings;\n const duration = Math.abs(timings.duration);\n const maxTime = duration * (context.currentQueryTotal - 1);\n let delay = duration * context.currentQueryIndex;\n let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n switch (staggerTransformer) {\n case 'reverse':\n delay = maxTime - delay;\n break;\n case 'full':\n delay = parentContext.currentStaggerTime;\n break;\n }\n const timeline = context.currentTimeline;\n if (delay) {\n timeline.delayNextStep(delay);\n }\n const startingTime = timeline.currentTime;\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n // time = duration + delay\n // the reason why this computation is so complex is because\n // the inner timeline may either have a delay value or a stretched\n // keyframe depending on if a subtimeline is not used or is used.\n parentContext.currentStaggerTime =\n tl.currentTime - startingTime + (tl.startTime - parentContext.currentTimeline.startTime);\n }\n}\nconst DEFAULT_NOOP_PREVIOUS_NODE = {};\nclass AnimationTimelineContext {\n constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n this._driver = _driver;\n this.element = element;\n this.subInstructions = subInstructions;\n this._enterClassName = _enterClassName;\n this._leaveClassName = _leaveClassName;\n this.errors = errors;\n this.timelines = timelines;\n this.parentContext = null;\n this.currentAnimateTimings = null;\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.subContextCount = 0;\n this.options = {};\n this.currentQueryIndex = 0;\n this.currentQueryTotal = 0;\n this.currentStaggerTime = 0;\n this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n timelines.push(this.currentTimeline);\n }\n get params() {\n return this.options.params;\n }\n updateOptions(options, skipIfExists) {\n if (!options)\n return;\n const newOptions = options;\n let optionsToUpdate = this.options;\n // NOTE: this will get patched up when other animation methods support duration overrides\n if (newOptions.duration != null) {\n optionsToUpdate.duration = resolveTimingValue(newOptions.duration);\n }\n if (newOptions.delay != null) {\n optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n }\n const newParams = newOptions.params;\n if (newParams) {\n let paramsToUpdate = optionsToUpdate.params;\n if (!paramsToUpdate) {\n paramsToUpdate = this.options.params = {};\n }\n Object.keys(newParams).forEach((name) => {\n if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors);\n }\n });\n }\n }\n _copyOptions() {\n const options = {};\n if (this.options) {\n const oldParams = this.options.params;\n if (oldParams) {\n const params = (options['params'] = {});\n Object.keys(oldParams).forEach((name) => {\n params[name] = oldParams[name];\n });\n }\n }\n return options;\n }\n createSubContext(options = null, element, newTime) {\n const target = element || this.element;\n const context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n context.previousNode = this.previousNode;\n context.currentAnimateTimings = this.currentAnimateTimings;\n context.options = this._copyOptions();\n context.updateOptions(options);\n context.currentQueryIndex = this.currentQueryIndex;\n context.currentQueryTotal = this.currentQueryTotal;\n context.parentContext = this;\n this.subContextCount++;\n return context;\n }\n transformIntoNewTimeline(newTime) {\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n this.timelines.push(this.currentTimeline);\n return this.currentTimeline;\n }\n appendInstructionToTimeline(instruction, duration, delay) {\n const updatedTimings = {\n duration: duration != null ? duration : instruction.duration,\n delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n easing: '',\n };\n const builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n this.timelines.push(builder);\n return updatedTimings;\n }\n incrementTime(time) {\n this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n }\n delayNextStep(delay) {\n // negative delays are not yet supported\n if (delay > 0) {\n this.currentTimeline.delayNextStep(delay);\n }\n }\n invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n let results = [];\n if (includeSelf) {\n results.push(this.element);\n }\n if (selector.length > 0) {\n // only if :self is used then the selector can be empty\n selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n const multi = limit != 1;\n let elements = this._driver.query(this.element, selector, multi);\n if (limit !== 0) {\n elements =\n limit < 0\n ? elements.slice(elements.length + limit, elements.length)\n : elements.slice(0, limit);\n }\n results.push(...elements);\n }\n if (!optional && results.length == 0) {\n errors.push(invalidQuery(originalSelector));\n }\n return results;\n }\n}\nclass TimelineBuilder {\n constructor(_driver, element, startTime, _elementTimelineStylesLookup) {\n this._driver = _driver;\n this.element = element;\n this.startTime = startTime;\n this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n this.duration = 0;\n this.easing = null;\n this._previousKeyframe = new Map();\n this._currentKeyframe = new Map();\n this._keyframes = new Map();\n this._styleSummary = new Map();\n this._localTimelineStyles = new Map();\n this._pendingStyles = new Map();\n this._backFill = new Map();\n this._currentEmptyStepKeyframe = null;\n if (!this._elementTimelineStylesLookup) {\n this._elementTimelineStylesLookup = new Map();\n }\n this._globalTimelineStyles = this._elementTimelineStylesLookup.get(element);\n if (!this._globalTimelineStyles) {\n this._globalTimelineStyles = this._localTimelineStyles;\n this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n }\n this._loadKeyframe();\n }\n containsAnimation() {\n switch (this._keyframes.size) {\n case 0:\n return false;\n case 1:\n return this.hasCurrentStyleProperties();\n default:\n return true;\n }\n }\n hasCurrentStyleProperties() {\n return this._currentKeyframe.size > 0;\n }\n get currentTime() {\n return this.startTime + this.duration;\n }\n delayNextStep(delay) {\n // in the event that a style() step is placed right before a stagger()\n // and that style() step is the very first style() value in the animation\n // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n // properly applies the style() values to work with the stagger...\n const hasPreStyleStep = this._keyframes.size === 1 && this._pendingStyles.size;\n if (this.duration || hasPreStyleStep) {\n this.forwardTime(this.currentTime + delay);\n if (hasPreStyleStep) {\n this.snapshotCurrentStyles();\n }\n }\n else {\n this.startTime += delay;\n }\n }\n fork(element, currentTime) {\n this.applyStylesToKeyframe();\n return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n }\n _loadKeyframe() {\n if (this._currentKeyframe) {\n this._previousKeyframe = this._currentKeyframe;\n }\n this._currentKeyframe = this._keyframes.get(this.duration);\n if (!this._currentKeyframe) {\n this._currentKeyframe = new Map();\n this._keyframes.set(this.duration, this._currentKeyframe);\n }\n }\n forwardFrame() {\n this.duration += ONE_FRAME_IN_MILLISECONDS;\n this._loadKeyframe();\n }\n forwardTime(time) {\n this.applyStylesToKeyframe();\n this.duration = time;\n this._loadKeyframe();\n }\n _updateStyle(prop, value) {\n this._localTimelineStyles.set(prop, value);\n this._globalTimelineStyles.set(prop, value);\n this._styleSummary.set(prop, { time: this.currentTime, value });\n }\n allowOnlyTimelineStyles() {\n return this._currentEmptyStepKeyframe !== this._currentKeyframe;\n }\n applyEmptyStep(easing) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n // special case for animate(duration):\n // all missing styles are filled with a `*` value then\n // if any destination styles are filled in later on the same\n // keyframe then they will override the overridden styles\n // We use `_globalTimelineStyles` here because there may be\n // styles in previous keyframes that are not present in this timeline\n for (let [prop, value] of this._globalTimelineStyles) {\n this._backFill.set(prop, value || AUTO_STYLE);\n this._currentKeyframe.set(prop, AUTO_STYLE);\n }\n this._currentEmptyStepKeyframe = this._currentKeyframe;\n }\n setStyles(input, easing, errors, options) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n const params = (options && options.params) || {};\n const styles = flattenStyles(input, this._globalTimelineStyles);\n for (let [prop, value] of styles) {\n const val = interpolateParams(value, params, errors);\n this._pendingStyles.set(prop, val);\n if (!this._localTimelineStyles.has(prop)) {\n this._backFill.set(prop, this._globalTimelineStyles.get(prop) ?? AUTO_STYLE);\n }\n this._updateStyle(prop, val);\n }\n }\n applyStylesToKeyframe() {\n if (this._pendingStyles.size == 0)\n return;\n this._pendingStyles.forEach((val, prop) => {\n this._currentKeyframe.set(prop, val);\n });\n this._pendingStyles.clear();\n this._localTimelineStyles.forEach((val, prop) => {\n if (!this._currentKeyframe.has(prop)) {\n this._currentKeyframe.set(prop, val);\n }\n });\n }\n snapshotCurrentStyles() {\n for (let [prop, val] of this._localTimelineStyles) {\n this._pendingStyles.set(prop, val);\n this._updateStyle(prop, val);\n }\n }\n getFinalKeyframe() {\n return this._keyframes.get(this.duration);\n }\n get properties() {\n const properties = [];\n for (let prop in this._currentKeyframe) {\n properties.push(prop);\n }\n return properties;\n }\n mergeTimelineCollectedStyles(timeline) {\n timeline._styleSummary.forEach((details1, prop) => {\n const details0 = this._styleSummary.get(prop);\n if (!details0 || details1.time > details0.time) {\n this._updateStyle(prop, details1.value);\n }\n });\n }\n buildKeyframes() {\n this.applyStylesToKeyframe();\n const preStyleProps = new Set();\n const postStyleProps = new Set();\n const isEmpty = this._keyframes.size === 1 && this.duration === 0;\n let finalKeyframes = [];\n this._keyframes.forEach((keyframe, time) => {\n const finalKeyframe = new Map([...this._backFill, ...keyframe]);\n finalKeyframe.forEach((value, prop) => {\n if (value === ɵPRE_STYLE) {\n preStyleProps.add(prop);\n }\n else if (value === AUTO_STYLE) {\n postStyleProps.add(prop);\n }\n });\n if (!isEmpty) {\n finalKeyframe.set('offset', time / this.duration);\n }\n finalKeyframes.push(finalKeyframe);\n });\n const preProps = [...preStyleProps.values()];\n const postProps = [...postStyleProps.values()];\n // special case for a 0-second animation (which is designed just to place styles onscreen)\n if (isEmpty) {\n const kf0 = finalKeyframes[0];\n const kf1 = new Map(kf0);\n kf0.set('offset', 0);\n kf1.set('offset', 1);\n finalKeyframes = [kf0, kf1];\n }\n return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n }\n}\nclass SubTimelineBuilder extends TimelineBuilder {\n constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) {\n super(driver, element, timings.delay);\n this.keyframes = keyframes;\n this.preStyleProps = preStyleProps;\n this.postStyleProps = postStyleProps;\n this._stretchStartingKeyframe = _stretchStartingKeyframe;\n this.timings = { duration: timings.duration, delay: timings.delay, easing: timings.easing };\n }\n containsAnimation() {\n return this.keyframes.length > 1;\n }\n buildKeyframes() {\n let keyframes = this.keyframes;\n let { delay, duration, easing } = this.timings;\n if (this._stretchStartingKeyframe && delay) {\n const newKeyframes = [];\n const totalTime = duration + delay;\n const startingGap = delay / totalTime;\n // the original starting keyframe now starts once the delay is done\n const newFirstKeyframe = new Map(keyframes[0]);\n newFirstKeyframe.set('offset', 0);\n newKeyframes.push(newFirstKeyframe);\n const oldFirstKeyframe = new Map(keyframes[0]);\n oldFirstKeyframe.set('offset', roundOffset(startingGap));\n newKeyframes.push(oldFirstKeyframe);\n /*\n When the keyframe is stretched then it means that the delay before the animation\n starts is gone. Instead the first keyframe is placed at the start of the animation\n and it is then copied to where it starts when the original delay is over. This basically\n means nothing animates during that delay, but the styles are still rendered. For this\n to work the original offset values that exist in the original keyframes must be \"warped\"\n so that they can take the new keyframe + delay into account.\n \n delay=1000, duration=1000, keyframes = 0 .5 1\n \n turns into\n \n delay=0, duration=2000, keyframes = 0 .33 .66 1\n */\n // offsets between 1 ... n -1 are all warped by the keyframe stretch\n const limit = keyframes.length - 1;\n for (let i = 1; i <= limit; i++) {\n let kf = new Map(keyframes[i]);\n const oldOffset = kf.get('offset');\n const timeAtKeyframe = delay + oldOffset * duration;\n kf.set('offset', roundOffset(timeAtKeyframe / totalTime));\n newKeyframes.push(kf);\n }\n // the new starting keyframe should be added at the start\n duration = totalTime;\n delay = 0;\n easing = '';\n keyframes = newKeyframes;\n }\n return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n }\n}\nfunction roundOffset(offset, decimalPoints = 3) {\n const mult = Math.pow(10, decimalPoints - 1);\n return Math.round(offset * mult) / mult;\n}\nfunction flattenStyles(input, allStyles) {\n const styles = new Map();\n let allProperties;\n input.forEach((token) => {\n if (token === '*') {\n allProperties ??= allStyles.keys();\n for (let prop of allProperties) {\n styles.set(prop, AUTO_STYLE);\n }\n }\n else {\n for (let [prop, val] of token) {\n styles.set(prop, val);\n }\n }\n });\n return styles;\n}\n\nfunction createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n return {\n type: 0 /* AnimationTransitionInstructionType.TransitionAnimation */,\n element,\n triggerName,\n isRemovalTransition,\n fromState,\n fromStyles,\n toState,\n toStyles,\n timelines,\n queriedElements,\n preStyleProps,\n postStyleProps,\n totalTime,\n errors,\n };\n}\n\nconst EMPTY_OBJECT = {};\nclass AnimationTransitionFactory {\n constructor(_triggerName, ast, _stateStyles) {\n this._triggerName = _triggerName;\n this.ast = ast;\n this._stateStyles = _stateStyles;\n }\n match(currentState, nextState, element, params) {\n return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n }\n buildStyles(stateName, params, errors) {\n let styler = this._stateStyles.get('*');\n if (stateName !== undefined) {\n styler = this._stateStyles.get(stateName?.toString()) || styler;\n }\n return styler ? styler.buildStyles(params, errors) : new Map();\n }\n build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n const errors = [];\n const transitionAnimationParams = (this.ast.options && this.ast.options.params) || EMPTY_OBJECT;\n const currentAnimationParams = (currentOptions && currentOptions.params) || EMPTY_OBJECT;\n const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n const nextAnimationParams = (nextOptions && nextOptions.params) || EMPTY_OBJECT;\n const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n const queriedElements = new Set();\n const preStyleMap = new Map();\n const postStyleMap = new Map();\n const isRemoval = nextState === 'void';\n const animationOptions = {\n params: applyParamDefaults(nextAnimationParams, transitionAnimationParams),\n delay: this.ast.options?.delay,\n };\n const timelines = skipAstBuild\n ? []\n : buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n let totalTime = 0;\n timelines.forEach((tl) => {\n totalTime = Math.max(tl.duration + tl.delay, totalTime);\n });\n if (errors.length) {\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n }\n timelines.forEach((tl) => {\n const elm = tl.element;\n const preProps = getOrSetDefaultValue(preStyleMap, elm, new Set());\n tl.preStyleProps.forEach((prop) => preProps.add(prop));\n const postProps = getOrSetDefaultValue(postStyleMap, elm, new Set());\n tl.postStyleProps.forEach((prop) => postProps.add(prop));\n if (elm !== element) {\n queriedElements.add(elm);\n }\n });\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n checkNonAnimatableInTimelines(timelines, this._triggerName, driver);\n }\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, [...queriedElements.values()], preStyleMap, postStyleMap, totalTime);\n }\n}\n/**\n * Checks inside a set of timelines if they try to animate a css property which is not considered\n * animatable, in that case it prints a warning on the console.\n * Besides that the function doesn't have any other effect.\n *\n * Note: this check is done here after the timelines are built instead of doing on a lower level so\n * that we can make sure that the warning appears only once per instruction (we can aggregate here\n * all the issues instead of finding them separately).\n *\n * @param timelines The built timelines for the current instruction.\n * @param triggerName The name of the trigger for the current instruction.\n * @param driver Animation driver used to perform the check.\n *\n */\nfunction checkNonAnimatableInTimelines(timelines, triggerName, driver) {\n if (!driver.validateAnimatableStyleProperty) {\n return;\n }\n const allowedNonAnimatableProps = new Set([\n // 'easing' is a utility/synthetic prop we use to represent\n // easing functions, it represents a property of the animation\n // which is not animatable but different values can be used\n // in different steps\n 'easing',\n ]);\n const invalidNonAnimatableProps = new Set();\n timelines.forEach(({ keyframes }) => {\n const nonAnimatablePropsInitialValues = new Map();\n keyframes.forEach((keyframe) => {\n const entriesToCheck = Array.from(keyframe.entries()).filter(([prop]) => !allowedNonAnimatableProps.has(prop));\n for (const [prop, value] of entriesToCheck) {\n if (!driver.validateAnimatableStyleProperty(prop)) {\n if (nonAnimatablePropsInitialValues.has(prop) && !invalidNonAnimatableProps.has(prop)) {\n const propInitialValue = nonAnimatablePropsInitialValues.get(prop);\n if (propInitialValue !== value) {\n invalidNonAnimatableProps.add(prop);\n }\n }\n else {\n nonAnimatablePropsInitialValues.set(prop, value);\n }\n }\n }\n });\n });\n if (invalidNonAnimatableProps.size > 0) {\n console.warn(`Warning: The animation trigger \"${triggerName}\" is attempting to animate the following` +\n ' not animatable properties: ' +\n Array.from(invalidNonAnimatableProps).join(', ') +\n '\\n' +\n '(to check the list of all animatable properties visit https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties)');\n }\n}\nfunction oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n return matchFns.some((fn) => fn(currentState, nextState, element, params));\n}\nfunction applyParamDefaults(userParams, defaults) {\n const result = { ...defaults };\n Object.entries(userParams).forEach(([key, value]) => {\n if (value != null) {\n result[key] = value;\n }\n });\n return result;\n}\nclass AnimationStateStyles {\n constructor(styles, defaultParams, normalizer) {\n this.styles = styles;\n this.defaultParams = defaultParams;\n this.normalizer = normalizer;\n }\n buildStyles(params, errors) {\n const finalStyles = new Map();\n const combinedParams = applyParamDefaults(params, this.defaultParams);\n this.styles.styles.forEach((value) => {\n if (typeof value !== 'string') {\n value.forEach((val, prop) => {\n if (val) {\n val = interpolateParams(val, combinedParams, errors);\n }\n const normalizedProp = this.normalizer.normalizePropertyName(prop, errors);\n val = this.normalizer.normalizeStyleValue(prop, normalizedProp, val, errors);\n finalStyles.set(prop, val);\n });\n }\n });\n return finalStyles;\n }\n}\n\nfunction buildTrigger(name, ast, normalizer) {\n return new AnimationTrigger(name, ast, normalizer);\n}\nclass AnimationTrigger {\n constructor(name, ast, _normalizer) {\n this.name = name;\n this.ast = ast;\n this._normalizer = _normalizer;\n this.transitionFactories = [];\n this.states = new Map();\n ast.states.forEach((ast) => {\n const defaultParams = (ast.options && ast.options.params) || {};\n this.states.set(ast.name, new AnimationStateStyles(ast.style, defaultParams, _normalizer));\n });\n balanceProperties(this.states, 'true', '1');\n balanceProperties(this.states, 'false', '0');\n ast.transitions.forEach((ast) => {\n this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states));\n });\n this.fallbackTransition = createFallbackTransition(name, this.states, this._normalizer);\n }\n get containsQueries() {\n return this.ast.queryCount > 0;\n }\n matchTransition(currentState, nextState, element, params) {\n const entry = this.transitionFactories.find((f) => f.match(currentState, nextState, element, params));\n return entry || null;\n }\n matchStyles(currentState, params, errors) {\n return this.fallbackTransition.buildStyles(currentState, params, errors);\n }\n}\nfunction createFallbackTransition(triggerName, states, normalizer) {\n const matchers = [(fromState, toState) => true];\n const animation = { type: AnimationMetadataType.Sequence, steps: [], options: null };\n const transition = {\n type: AnimationMetadataType.Transition,\n animation,\n matchers,\n options: null,\n queryCount: 0,\n depCount: 0,\n };\n return new AnimationTransitionFactory(triggerName, transition, states);\n}\nfunction balanceProperties(stateMap, key1, key2) {\n if (stateMap.has(key1)) {\n if (!stateMap.has(key2)) {\n stateMap.set(key2, stateMap.get(key1));\n }\n }\n else if (stateMap.has(key2)) {\n stateMap.set(key1, stateMap.get(key2));\n }\n}\n\nconst EMPTY_INSTRUCTION_MAP = new ElementInstructionMap();\nclass TimelineAnimationEngine {\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._animations = new Map();\n this._playersById = new Map();\n this.players = [];\n }\n register(id, metadata) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw registerFailed(errors);\n }\n else {\n if (warnings.length) {\n warnRegister(warnings);\n }\n this._animations.set(id, ast);\n }\n }\n _buildPlayer(i, preStyles, postStyles) {\n const element = i.element;\n const keyframes = normalizeKeyframes$1(this._normalizer, i.keyframes, preStyles, postStyles);\n return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n }\n create(id, element, options = {}) {\n const errors = [];\n const ast = this._animations.get(id);\n let instructions;\n const autoStylesMap = new Map();\n if (ast) {\n instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, new Map(), new Map(), options, EMPTY_INSTRUCTION_MAP, errors);\n instructions.forEach((inst) => {\n const styles = getOrSetDefaultValue(autoStylesMap, inst.element, new Map());\n inst.postStyleProps.forEach((prop) => styles.set(prop, null));\n });\n }\n else {\n errors.push(missingOrDestroyedAnimation());\n instructions = [];\n }\n if (errors.length) {\n throw createAnimationFailed(errors);\n }\n autoStylesMap.forEach((styles, element) => {\n styles.forEach((_, prop) => {\n styles.set(prop, this._driver.computeStyle(element, prop, AUTO_STYLE));\n });\n });\n const players = instructions.map((i) => {\n const styles = autoStylesMap.get(i.element);\n return this._buildPlayer(i, new Map(), styles);\n });\n const player = optimizeGroupPlayer(players);\n this._playersById.set(id, player);\n player.onDestroy(() => this.destroy(id));\n this.players.push(player);\n return player;\n }\n destroy(id) {\n const player = this._getPlayer(id);\n player.destroy();\n this._playersById.delete(id);\n const index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n }\n _getPlayer(id) {\n const player = this._playersById.get(id);\n if (!player) {\n throw missingPlayer(id);\n }\n return player;\n }\n listen(id, element, eventName, callback) {\n // triggerName, fromState, toState are all ignored for timeline animations\n const baseEvent = makeAnimationEvent(element, '', '', '');\n listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n return () => { };\n }\n command(id, element, command, args) {\n if (command == 'register') {\n this.register(id, args[0]);\n return;\n }\n if (command == 'create') {\n const options = (args[0] || {});\n this.create(id, element, options);\n return;\n }\n const player = this._getPlayer(id);\n switch (command) {\n case 'play':\n player.play();\n break;\n case 'pause':\n player.pause();\n break;\n case 'reset':\n player.reset();\n break;\n case 'restart':\n player.restart();\n break;\n case 'finish':\n player.finish();\n break;\n case 'init':\n player.init();\n break;\n case 'setPosition':\n player.setPosition(parseFloat(args[0]));\n break;\n case 'destroy':\n this.destroy(id);\n break;\n }\n }\n}\n\nconst QUEUED_CLASSNAME = 'ng-animate-queued';\nconst QUEUED_SELECTOR = '.ng-animate-queued';\nconst DISABLED_CLASSNAME = 'ng-animate-disabled';\nconst DISABLED_SELECTOR = '.ng-animate-disabled';\nconst STAR_CLASSNAME = 'ng-star-inserted';\nconst STAR_SELECTOR = '.ng-star-inserted';\nconst EMPTY_PLAYER_ARRAY = [];\nconst NULL_REMOVAL_STATE = {\n namespaceId: '',\n setForRemoval: false,\n setForMove: false,\n hasAnimation: false,\n removedBeforeQueried: false,\n};\nconst NULL_REMOVED_QUERIED_STATE = {\n namespaceId: '',\n setForMove: false,\n setForRemoval: false,\n hasAnimation: false,\n removedBeforeQueried: true,\n};\nconst REMOVAL_FLAG = '__ng_removed';\nclass StateValue {\n get params() {\n return this.options.params;\n }\n constructor(input, namespaceId = '') {\n this.namespaceId = namespaceId;\n const isObj = input && input.hasOwnProperty('value');\n const value = isObj ? input['value'] : input;\n this.value = normalizeTriggerValue(value);\n if (isObj) {\n // we drop the value property from options.\n const { value, ...options } = input;\n this.options = options;\n }\n else {\n this.options = {};\n }\n if (!this.options.params) {\n this.options.params = {};\n }\n }\n absorbOptions(options) {\n const newParams = options.params;\n if (newParams) {\n const oldParams = this.options.params;\n Object.keys(newParams).forEach((prop) => {\n if (oldParams[prop] == null) {\n oldParams[prop] = newParams[prop];\n }\n });\n }\n }\n}\nconst VOID_VALUE = 'void';\nconst DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE);\nclass AnimationTransitionNamespace {\n constructor(id, hostElement, _engine) {\n this.id = id;\n this.hostElement = hostElement;\n this._engine = _engine;\n this.players = [];\n this._triggers = new Map();\n this._queue = [];\n this._elementListeners = new Map();\n this._hostClassName = 'ng-tns-' + id;\n addClass(hostElement, this._hostClassName);\n }\n listen(element, name, phase, callback) {\n if (!this._triggers.has(name)) {\n throw missingTrigger(phase, name);\n }\n if (phase == null || phase.length == 0) {\n throw missingEvent(name);\n }\n if (!isTriggerEventValid(phase)) {\n throw unsupportedTriggerEvent(phase, name);\n }\n const listeners = getOrSetDefaultValue(this._elementListeners, element, []);\n const data = { name, phase, callback };\n listeners.push(data);\n const triggersWithStates = getOrSetDefaultValue(this._engine.statesByElement, element, new Map());\n if (!triggersWithStates.has(name)) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n triggersWithStates.set(name, DEFAULT_STATE_VALUE);\n }\n return () => {\n // the event listener is removed AFTER the flush has occurred such\n // that leave animations callbacks can fire (otherwise if the node\n // is removed in between then the listeners would be deregistered)\n this._engine.afterFlush(() => {\n const index = listeners.indexOf(data);\n if (index >= 0) {\n listeners.splice(index, 1);\n }\n if (!this._triggers.has(name)) {\n triggersWithStates.delete(name);\n }\n });\n };\n }\n register(name, ast) {\n if (this._triggers.has(name)) {\n // throw\n return false;\n }\n else {\n this._triggers.set(name, ast);\n return true;\n }\n }\n _getTrigger(name) {\n const trigger = this._triggers.get(name);\n if (!trigger) {\n throw unregisteredTrigger(name);\n }\n return trigger;\n }\n trigger(element, triggerName, value, defaultToFallback = true) {\n const trigger = this._getTrigger(triggerName);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n let triggersWithStates = this._engine.statesByElement.get(element);\n if (!triggersWithStates) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n this._engine.statesByElement.set(element, (triggersWithStates = new Map()));\n }\n let fromState = triggersWithStates.get(triggerName);\n const toState = new StateValue(value, this.id);\n const isObj = value && value.hasOwnProperty('value');\n if (!isObj && fromState) {\n toState.absorbOptions(fromState.options);\n }\n triggersWithStates.set(triggerName, toState);\n if (!fromState) {\n fromState = DEFAULT_STATE_VALUE;\n }\n const isRemoval = toState.value === VOID_VALUE;\n // normally this isn't reached by here, however, if an object expression\n // is passed in then it may be a new object each time. Comparing the value\n // is important since that will stay the same despite there being a new object.\n // The removal arc here is special cased because the same element is triggered\n // twice in the event that it contains animations on the outer/inner portions\n // of the host container\n if (!isRemoval && fromState.value === toState.value) {\n // this means that despite the value not changing, some inner params\n // have changed which means that the animation final styles need to be applied\n if (!objEquals(fromState.params, toState.params)) {\n const errors = [];\n const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n const toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n if (errors.length) {\n this._engine.reportError(errors);\n }\n else {\n this._engine.afterFlush(() => {\n eraseStyles(element, fromStyles);\n setStyles(element, toStyles);\n });\n }\n }\n return;\n }\n const playersOnElement = getOrSetDefaultValue(this._engine.playersByElement, element, []);\n playersOnElement.forEach((player) => {\n // only remove the player if it is queued on the EXACT same trigger/namespace\n // we only also deal with queued players here because if the animation has\n // started then we want to keep the player alive until the flush happens\n // (which is where the previousPlayers are passed into the new player)\n if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) {\n player.destroy();\n }\n });\n let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n let isFallbackTransition = false;\n if (!transition) {\n if (!defaultToFallback)\n return;\n transition = trigger.fallbackTransition;\n isFallbackTransition = true;\n }\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition,\n });\n if (!isFallbackTransition) {\n addClass(element, QUEUED_CLASSNAME);\n player.onStart(() => {\n removeClass(element, QUEUED_CLASSNAME);\n });\n }\n player.onDone(() => {\n let index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n const players = this._engine.playersByElement.get(element);\n if (players) {\n let index = players.indexOf(player);\n if (index >= 0) {\n players.splice(index, 1);\n }\n }\n });\n this.players.push(player);\n playersOnElement.push(player);\n return player;\n }\n deregister(name) {\n this._triggers.delete(name);\n this._engine.statesByElement.forEach((stateMap) => stateMap.delete(name));\n this._elementListeners.forEach((listeners, element) => {\n this._elementListeners.set(element, listeners.filter((entry) => {\n return entry.name != name;\n }));\n });\n }\n clearElementCache(element) {\n this._engine.statesByElement.delete(element);\n this._elementListeners.delete(element);\n const elementPlayers = this._engine.playersByElement.get(element);\n if (elementPlayers) {\n elementPlayers.forEach((player) => player.destroy());\n this._engine.playersByElement.delete(element);\n }\n }\n _signalRemovalForInnerTriggers(rootElement, context) {\n const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true);\n // emulate a leave animation for all inner nodes within this node.\n // If there are no animations found for any of the nodes then clear the cache\n // for the element.\n elements.forEach((elm) => {\n // this means that an inner remove() operation has already kicked off\n // the animation on this element...\n if (elm[REMOVAL_FLAG])\n return;\n const namespaces = this._engine.fetchNamespacesByElement(elm);\n if (namespaces.size) {\n namespaces.forEach((ns) => ns.triggerLeaveAnimation(elm, context, false, true));\n }\n else {\n this.clearElementCache(elm);\n }\n });\n // If the child elements were removed along with the parent, their animations might not\n // have completed. Clear all the elements from the cache so we don't end up with a memory leak.\n this._engine.afterFlushAnimationsDone(() => elements.forEach((elm) => this.clearElementCache(elm)));\n }\n triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n const triggerStates = this._engine.statesByElement.get(element);\n const previousTriggersValues = new Map();\n if (triggerStates) {\n const players = [];\n triggerStates.forEach((state, triggerName) => {\n previousTriggersValues.set(triggerName, state.value);\n // this check is here in the event that an element is removed\n // twice (both on the host level and the component level)\n if (this._triggers.has(triggerName)) {\n const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n if (player) {\n players.push(player);\n }\n }\n });\n if (players.length) {\n this._engine.markElementAsRemoved(this.id, element, true, context, previousTriggersValues);\n if (destroyAfterComplete) {\n optimizeGroupPlayer(players).onDone(() => this._engine.processLeaveNode(element));\n }\n return true;\n }\n }\n return false;\n }\n prepareLeaveAnimationListeners(element) {\n const listeners = this._elementListeners.get(element);\n const elementStates = this._engine.statesByElement.get(element);\n // if this statement fails then it means that the element was picked up\n // by an earlier flush (or there are no listeners at all to track the leave).\n if (listeners && elementStates) {\n const visitedTriggers = new Set();\n listeners.forEach((listener) => {\n const triggerName = listener.name;\n if (visitedTriggers.has(triggerName))\n return;\n visitedTriggers.add(triggerName);\n const trigger = this._triggers.get(triggerName);\n const transition = trigger.fallbackTransition;\n const fromState = elementStates.get(triggerName) || DEFAULT_STATE_VALUE;\n const toState = new StateValue(VOID_VALUE);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition: true,\n });\n });\n }\n }\n removeNode(element, context) {\n const engine = this._engine;\n if (element.childElementCount) {\n this._signalRemovalForInnerTriggers(element, context);\n }\n // this means that a * => VOID animation was detected and kicked off\n if (this.triggerLeaveAnimation(element, context, true))\n return;\n // find the player that is animating and make sure that the\n // removal is delayed until that player has completed\n let containsPotentialParentTransition = false;\n if (engine.totalAnimations) {\n const currentPlayers = engine.players.length\n ? engine.playersByQueriedElement.get(element)\n : [];\n // when this `if statement` does not continue forward it means that\n // a previous animation query has selected the current element and\n // is animating it. In this situation want to continue forwards and\n // allow the element to be queued up for animation later.\n if (currentPlayers && currentPlayers.length) {\n containsPotentialParentTransition = true;\n }\n else {\n let parent = element;\n while ((parent = parent.parentNode)) {\n const triggers = engine.statesByElement.get(parent);\n if (triggers) {\n containsPotentialParentTransition = true;\n break;\n }\n }\n }\n }\n // at this stage we know that the element will either get removed\n // during flush or will be picked up by a parent query. Either way\n // we need to fire the listeners for this element when it DOES get\n // removed (once the query parent animation is done or after flush)\n this.prepareLeaveAnimationListeners(element);\n // whether or not a parent has an animation we need to delay the deferral of the leave\n // operation until we have more information (which we do after flush() has been called)\n if (containsPotentialParentTransition) {\n engine.markElementAsRemoved(this.id, element, false, context);\n }\n else {\n const removalFlag = element[REMOVAL_FLAG];\n if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) {\n // we do this after the flush has occurred such\n // that the callbacks can be fired\n engine.afterFlush(() => this.clearElementCache(element));\n engine.destroyInnerAnimations(element);\n engine._onRemovalComplete(element, context);\n }\n }\n }\n insertNode(element, parent) {\n addClass(element, this._hostClassName);\n }\n drainQueuedTransitions(microtaskId) {\n const instructions = [];\n this._queue.forEach((entry) => {\n const player = entry.player;\n if (player.destroyed)\n return;\n const element = entry.element;\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n listeners.forEach((listener) => {\n if (listener.name == entry.triggerName) {\n const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n baseEvent['_data'] = microtaskId;\n listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n }\n });\n }\n if (player.markedForDestroy) {\n this._engine.afterFlush(() => {\n // now we can destroy the element properly since the event listeners have\n // been bound to the player\n player.destroy();\n });\n }\n else {\n instructions.push(entry);\n }\n });\n this._queue = [];\n return instructions.sort((a, b) => {\n // if depCount == 0 them move to front\n // otherwise if a contains b then move back\n const d0 = a.transition.ast.depCount;\n const d1 = b.transition.ast.depCount;\n if (d0 == 0 || d1 == 0) {\n return d0 - d1;\n }\n return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n });\n }\n destroy(context) {\n this.players.forEach((p) => p.destroy());\n this._signalRemovalForInnerTriggers(this.hostElement, context);\n }\n}\nclass TransitionAnimationEngine {\n /** @internal */\n _onRemovalComplete(element, context) {\n this.onRemovalComplete(element, context);\n }\n constructor(bodyNode, driver, _normalizer, scheduler) {\n this.bodyNode = bodyNode;\n this.driver = driver;\n this._normalizer = _normalizer;\n this.scheduler = scheduler;\n this.players = [];\n this.newHostElements = new Map();\n this.playersByElement = new Map();\n this.playersByQueriedElement = new Map();\n this.statesByElement = new Map();\n this.disabledNodes = new Set();\n this.totalAnimations = 0;\n this.totalQueuedPlayers = 0;\n this._namespaceLookup = {};\n this._namespaceList = [];\n this._flushFns = [];\n this._whenQuietFns = [];\n this.namespacesByHostElement = new Map();\n this.collectedEnterElements = [];\n this.collectedLeaveElements = [];\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (element, context) => { };\n }\n get queuedPlayers() {\n const players = [];\n this._namespaceList.forEach((ns) => {\n ns.players.forEach((player) => {\n if (player.queued) {\n players.push(player);\n }\n });\n });\n return players;\n }\n createNamespace(namespaceId, hostElement) {\n const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n if (this.bodyNode && this.driver.containsElement(this.bodyNode, hostElement)) {\n this._balanceNamespaceList(ns, hostElement);\n }\n else {\n // defer this later until flush during when the host element has\n // been inserted so that we know exactly where to place it in\n // the namespace list\n this.newHostElements.set(hostElement, ns);\n // given that this host element is a part of the animation code, it\n // may or may not be inserted by a parent node that is of an\n // animation renderer type. If this happens then we can still have\n // access to this item when we query for :enter nodes. If the parent\n // is a renderer then the set data-structure will normalize the entry\n this.collectEnterElement(hostElement);\n }\n return (this._namespaceLookup[namespaceId] = ns);\n }\n _balanceNamespaceList(ns, hostElement) {\n const namespaceList = this._namespaceList;\n const namespacesByHostElement = this.namespacesByHostElement;\n const limit = namespaceList.length - 1;\n if (limit >= 0) {\n let found = false;\n // Find the closest ancestor with an existing namespace so we can then insert `ns` after it,\n // establishing a top-down ordering of namespaces in `this._namespaceList`.\n let ancestor = this.driver.getParentElement(hostElement);\n while (ancestor) {\n const ancestorNs = namespacesByHostElement.get(ancestor);\n if (ancestorNs) {\n // An animation namespace has been registered for this ancestor, so we insert `ns`\n // right after it to establish top-down ordering of animation namespaces.\n const index = namespaceList.indexOf(ancestorNs);\n namespaceList.splice(index + 1, 0, ns);\n found = true;\n break;\n }\n ancestor = this.driver.getParentElement(ancestor);\n }\n if (!found) {\n // No namespace exists that is an ancestor of `ns`, so `ns` is inserted at the front to\n // ensure that any existing descendants are ordered after `ns`, retaining the desired\n // top-down ordering.\n namespaceList.unshift(ns);\n }\n }\n else {\n namespaceList.push(ns);\n }\n namespacesByHostElement.set(hostElement, ns);\n return ns;\n }\n register(namespaceId, hostElement) {\n let ns = this._namespaceLookup[namespaceId];\n if (!ns) {\n ns = this.createNamespace(namespaceId, hostElement);\n }\n return ns;\n }\n registerTrigger(namespaceId, name, trigger) {\n let ns = this._namespaceLookup[namespaceId];\n if (ns && ns.register(name, trigger)) {\n this.totalAnimations++;\n }\n }\n destroy(namespaceId, context) {\n if (!namespaceId)\n return;\n this.afterFlush(() => { });\n this.afterFlushAnimationsDone(() => {\n const ns = this._fetchNamespace(namespaceId);\n this.namespacesByHostElement.delete(ns.hostElement);\n const index = this._namespaceList.indexOf(ns);\n if (index >= 0) {\n this._namespaceList.splice(index, 1);\n }\n ns.destroy(context);\n delete this._namespaceLookup[namespaceId];\n });\n }\n _fetchNamespace(id) {\n return this._namespaceLookup[id];\n }\n fetchNamespacesByElement(element) {\n // normally there should only be one namespace per element, however\n // if @triggers are placed on both the component element and then\n // its host element (within the component code) then there will be\n // two namespaces returned. We use a set here to simply deduplicate\n // the namespaces in case (for the reason described above) there are multiple triggers\n const namespaces = new Set();\n const elementStates = this.statesByElement.get(element);\n if (elementStates) {\n for (let stateValue of elementStates.values()) {\n if (stateValue.namespaceId) {\n const ns = this._fetchNamespace(stateValue.namespaceId);\n if (ns) {\n namespaces.add(ns);\n }\n }\n }\n }\n return namespaces;\n }\n trigger(namespaceId, element, name, value) {\n if (isElementNode(element)) {\n const ns = this._fetchNamespace(namespaceId);\n if (ns) {\n ns.trigger(element, name, value);\n return true;\n }\n }\n return false;\n }\n insertNode(namespaceId, element, parent, insertBefore) {\n if (!isElementNode(element))\n return;\n // special case for when an element is removed and reinserted (move operation)\n // when this occurs we do not want to use the element for deletion later\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n details.setForRemoval = false;\n details.setForMove = true;\n const index = this.collectedLeaveElements.indexOf(element);\n if (index >= 0) {\n this.collectedLeaveElements.splice(index, 1);\n }\n }\n // in the event that the namespaceId is blank then the caller\n // code does not contain any animation code in it, but it is\n // just being called so that the node is marked as being inserted\n if (namespaceId) {\n const ns = this._fetchNamespace(namespaceId);\n // This if-statement is a workaround for router issue #21947.\n // The router sometimes hits a race condition where while a route\n // is being instantiated a new navigation arrives, triggering leave\n // animation of DOM that has not been fully initialized, until this\n // is resolved, we need to handle the scenario when DOM is not in a\n // consistent state during the animation.\n if (ns) {\n ns.insertNode(element, parent);\n }\n }\n // only *directives and host elements are inserted before\n if (insertBefore) {\n this.collectEnterElement(element);\n }\n }\n collectEnterElement(element) {\n this.collectedEnterElements.push(element);\n }\n markElementAsDisabled(element, value) {\n if (value) {\n if (!this.disabledNodes.has(element)) {\n this.disabledNodes.add(element);\n addClass(element, DISABLED_CLASSNAME);\n }\n }\n else if (this.disabledNodes.has(element)) {\n this.disabledNodes.delete(element);\n removeClass(element, DISABLED_CLASSNAME);\n }\n }\n removeNode(namespaceId, element, context) {\n if (isElementNode(element)) {\n this.scheduler?.notify();\n const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n if (ns) {\n ns.removeNode(element, context);\n }\n else {\n this.markElementAsRemoved(namespaceId, element, false, context);\n }\n const hostNS = this.namespacesByHostElement.get(element);\n if (hostNS && hostNS.id !== namespaceId) {\n hostNS.removeNode(element, context);\n }\n }\n else {\n this._onRemovalComplete(element, context);\n }\n }\n markElementAsRemoved(namespaceId, element, hasAnimation, context, previousTriggersValues) {\n this.collectedLeaveElements.push(element);\n element[REMOVAL_FLAG] = {\n namespaceId,\n setForRemoval: context,\n hasAnimation,\n removedBeforeQueried: false,\n previousTriggersValues,\n };\n }\n listen(namespaceId, element, name, phase, callback) {\n if (isElementNode(element)) {\n return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n }\n return () => { };\n }\n _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n }\n destroyInnerAnimations(containerElement) {\n let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n elements.forEach((element) => this.destroyActiveAnimationsForElement(element));\n if (this.playersByQueriedElement.size == 0)\n return;\n elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n elements.forEach((element) => this.finishActiveQueriedAnimationOnElement(element));\n }\n destroyActiveAnimationsForElement(element) {\n const players = this.playersByElement.get(element);\n if (players) {\n players.forEach((player) => {\n // special case for when an element is set for destruction, but hasn't started.\n // in this situation we want to delay the destruction until the flush occurs\n // so that any event listeners attached to the player are triggered.\n if (player.queued) {\n player.markedForDestroy = true;\n }\n else {\n player.destroy();\n }\n });\n }\n }\n finishActiveQueriedAnimationOnElement(element) {\n const players = this.playersByQueriedElement.get(element);\n if (players) {\n players.forEach((player) => player.finish());\n }\n }\n whenRenderingDone() {\n return new Promise((resolve) => {\n if (this.players.length) {\n return optimizeGroupPlayer(this.players).onDone(() => resolve());\n }\n else {\n resolve();\n }\n });\n }\n processLeaveNode(element) {\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n // this will prevent it from removing it twice\n element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n if (details.namespaceId) {\n this.destroyInnerAnimations(element);\n const ns = this._fetchNamespace(details.namespaceId);\n if (ns) {\n ns.clearElementCache(element);\n }\n }\n this._onRemovalComplete(element, details.setForRemoval);\n }\n if (element.classList?.contains(DISABLED_CLASSNAME)) {\n this.markElementAsDisabled(element, false);\n }\n this.driver.query(element, DISABLED_SELECTOR, true).forEach((node) => {\n this.markElementAsDisabled(node, false);\n });\n }\n flush(microtaskId = -1) {\n let players = [];\n if (this.newHostElements.size) {\n this.newHostElements.forEach((ns, element) => this._balanceNamespaceList(ns, element));\n this.newHostElements.clear();\n }\n if (this.totalAnimations && this.collectedEnterElements.length) {\n for (let i = 0; i < this.collectedEnterElements.length; i++) {\n const elm = this.collectedEnterElements[i];\n addClass(elm, STAR_CLASSNAME);\n }\n }\n if (this._namespaceList.length &&\n (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n const cleanupFns = [];\n try {\n players = this._flushAnimations(cleanupFns, microtaskId);\n }\n finally {\n for (let i = 0; i < cleanupFns.length; i++) {\n cleanupFns[i]();\n }\n }\n }\n else {\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n this.processLeaveNode(element);\n }\n }\n this.totalQueuedPlayers = 0;\n this.collectedEnterElements.length = 0;\n this.collectedLeaveElements.length = 0;\n this._flushFns.forEach((fn) => fn());\n this._flushFns = [];\n if (this._whenQuietFns.length) {\n // we move these over to a variable so that\n // if any new callbacks are registered in another\n // flush they do not populate the existing set\n const quietFns = this._whenQuietFns;\n this._whenQuietFns = [];\n if (players.length) {\n optimizeGroupPlayer(players).onDone(() => {\n quietFns.forEach((fn) => fn());\n });\n }\n else {\n quietFns.forEach((fn) => fn());\n }\n }\n }\n reportError(errors) {\n throw triggerTransitionsFailed(errors);\n }\n _flushAnimations(cleanupFns, microtaskId) {\n const subTimelines = new ElementInstructionMap();\n const skippedPlayers = [];\n const skippedPlayersMap = new Map();\n const queuedInstructions = [];\n const queriedElements = new Map();\n const allPreStyleElements = new Map();\n const allPostStyleElements = new Map();\n const disabledElementsSet = new Set();\n this.disabledNodes.forEach((node) => {\n disabledElementsSet.add(node);\n const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true);\n for (let i = 0; i < nodesThatAreDisabled.length; i++) {\n disabledElementsSet.add(nodesThatAreDisabled[i]);\n }\n });\n const bodyNode = this.bodyNode;\n const allTriggerElements = Array.from(this.statesByElement.keys());\n const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements);\n // this must occur before the instructions are built below such that\n // the :enter queries match the elements (since the timeline queries\n // are fired during instruction building).\n const enterNodeMapIds = new Map();\n let i = 0;\n enterNodeMap.forEach((nodes, root) => {\n const className = ENTER_CLASSNAME + i++;\n enterNodeMapIds.set(root, className);\n nodes.forEach((node) => addClass(node, className));\n });\n const allLeaveNodes = [];\n const mergedLeaveNodes = new Set();\n const leaveNodesWithoutAnimations = new Set();\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n allLeaveNodes.push(element);\n mergedLeaveNodes.add(element);\n if (details.hasAnimation) {\n this.driver\n .query(element, STAR_SELECTOR, true)\n .forEach((elm) => mergedLeaveNodes.add(elm));\n }\n else {\n leaveNodesWithoutAnimations.add(element);\n }\n }\n }\n const leaveNodeMapIds = new Map();\n const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n leaveNodeMap.forEach((nodes, root) => {\n const className = LEAVE_CLASSNAME + i++;\n leaveNodeMapIds.set(root, className);\n nodes.forEach((node) => addClass(node, className));\n });\n cleanupFns.push(() => {\n enterNodeMap.forEach((nodes, root) => {\n const className = enterNodeMapIds.get(root);\n nodes.forEach((node) => removeClass(node, className));\n });\n leaveNodeMap.forEach((nodes, root) => {\n const className = leaveNodeMapIds.get(root);\n nodes.forEach((node) => removeClass(node, className));\n });\n allLeaveNodes.forEach((element) => {\n this.processLeaveNode(element);\n });\n });\n const allPlayers = [];\n const erroneousTransitions = [];\n for (let i = this._namespaceList.length - 1; i >= 0; i--) {\n const ns = this._namespaceList[i];\n ns.drainQueuedTransitions(microtaskId).forEach((entry) => {\n const player = entry.player;\n const element = entry.element;\n allPlayers.push(player);\n if (this.collectedEnterElements.length) {\n const details = element[REMOVAL_FLAG];\n // animations for move operations (elements being removed and reinserted,\n // e.g. when the order of an *ngFor list changes) are currently not supported\n if (details && details.setForMove) {\n if (details.previousTriggersValues &&\n details.previousTriggersValues.has(entry.triggerName)) {\n const previousValue = details.previousTriggersValues.get(entry.triggerName);\n // we need to restore the previous trigger value since the element has\n // only been moved and hasn't actually left the DOM\n const triggersWithStates = this.statesByElement.get(entry.element);\n if (triggersWithStates && triggersWithStates.has(entry.triggerName)) {\n const state = triggersWithStates.get(entry.triggerName);\n state.value = previousValue;\n triggersWithStates.set(entry.triggerName, state);\n }\n }\n player.destroy();\n return;\n }\n }\n const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element);\n const leaveClassName = leaveNodeMapIds.get(element);\n const enterClassName = enterNodeMapIds.get(element);\n const instruction = this._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned);\n if (instruction.errors && instruction.errors.length) {\n erroneousTransitions.push(instruction);\n return;\n }\n // even though the element may not be in the DOM, it may still\n // be added at a later point (due to the mechanics of content\n // projection and/or dynamic component insertion) therefore it's\n // important to still style the element.\n if (nodeIsOrphaned) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // if an unmatched transition is queued and ready to go\n // then it SHOULD NOT render an animation and cancel the\n // previously running animations.\n if (entry.isFallbackTransition) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // this means that if a parent animation uses this animation as a sub-trigger\n // then it will instruct the timeline builder not to add a player delay, but\n // instead stretch the first keyframe gap until the animation starts. This is\n // important in order to prevent extra initialization styles from being\n // required by the user for the animation.\n const timelines = [];\n instruction.timelines.forEach((tl) => {\n tl.stretchStartingKeyframe = true;\n if (!this.disabledNodes.has(tl.element)) {\n timelines.push(tl);\n }\n });\n instruction.timelines = timelines;\n subTimelines.append(element, instruction.timelines);\n const tuple = { instruction, player, element };\n queuedInstructions.push(tuple);\n instruction.queriedElements.forEach((element) => getOrSetDefaultValue(queriedElements, element, []).push(player));\n instruction.preStyleProps.forEach((stringMap, element) => {\n if (stringMap.size) {\n let setVal = allPreStyleElements.get(element);\n if (!setVal) {\n allPreStyleElements.set(element, (setVal = new Set()));\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n }\n });\n instruction.postStyleProps.forEach((stringMap, element) => {\n let setVal = allPostStyleElements.get(element);\n if (!setVal) {\n allPostStyleElements.set(element, (setVal = new Set()));\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n });\n });\n }\n if (erroneousTransitions.length) {\n const errors = [];\n erroneousTransitions.forEach((instruction) => {\n errors.push(transitionFailed(instruction.triggerName, instruction.errors));\n });\n allPlayers.forEach((player) => player.destroy());\n this.reportError(errors);\n }\n const allPreviousPlayersMap = new Map();\n // this map tells us which element in the DOM tree is contained by\n // which animation. Further down this map will get populated once\n // the players are built and in doing so we can use it to efficiently\n // figure out if a sub player is skipped due to a parent player having priority.\n const animationElementMap = new Map();\n queuedInstructions.forEach((entry) => {\n const element = entry.element;\n if (subTimelines.has(element)) {\n animationElementMap.set(element, element);\n this._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n }\n });\n skippedPlayers.forEach((player) => {\n const element = player.element;\n const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n previousPlayers.forEach((prevPlayer) => {\n getOrSetDefaultValue(allPreviousPlayersMap, element, []).push(prevPlayer);\n prevPlayer.destroy();\n });\n });\n // this is a special case for nodes that will be removed either by\n // having their own leave animations or by being queried in a container\n // that will be removed once a parent animation is complete. The idea\n // here is that * styles must be identical to ! styles because of\n // backwards compatibility (* is also filled in by default in many places).\n // Otherwise * styles will return an empty value or \"auto\" since the element\n // passed to getComputedStyle will not be visible (since * === destination)\n const replaceNodes = allLeaveNodes.filter((node) => {\n return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n });\n // POST STAGE: fill the * styles\n const postStylesMap = new Map();\n const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE);\n allLeaveQueriedNodes.forEach((node) => {\n if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n replaceNodes.push(node);\n }\n });\n // PRE STAGE: fill the ! styles\n const preStylesMap = new Map();\n enterNodeMap.forEach((nodes, root) => {\n cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, ɵPRE_STYLE);\n });\n replaceNodes.forEach((node) => {\n const post = postStylesMap.get(node);\n const pre = preStylesMap.get(node);\n postStylesMap.set(node, new Map([...(post?.entries() ?? []), ...(pre?.entries() ?? [])]));\n });\n const rootPlayers = [];\n const subPlayers = [];\n const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n queuedInstructions.forEach((entry) => {\n const { element, player, instruction } = entry;\n // this means that it was never consumed by a parent animation which\n // means that it is independent and therefore should be set for animation\n if (subTimelines.has(element)) {\n if (disabledElementsSet.has(element)) {\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n player.disabled = true;\n player.overrideTotalTime(instruction.totalTime);\n skippedPlayers.push(player);\n return;\n }\n // this will flow up the DOM and query the map to figure out\n // if a parent animation has priority over it. In the situation\n // that a parent is detected then it will cancel the loop. If\n // nothing is detected, or it takes a few hops to find a parent,\n // then it will fill in the missing nodes and signal them as having\n // a detected parent (or a NO_PARENT value via a special constant).\n let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n if (animationElementMap.size > 1) {\n let elm = element;\n const parentsToAdd = [];\n while ((elm = elm.parentNode)) {\n const detectedParent = animationElementMap.get(elm);\n if (detectedParent) {\n parentWithAnimation = detectedParent;\n break;\n }\n parentsToAdd.push(elm);\n }\n parentsToAdd.forEach((parent) => animationElementMap.set(parent, parentWithAnimation));\n }\n const innerPlayer = this._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n player.setRealPlayer(innerPlayer);\n if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n rootPlayers.push(player);\n }\n else {\n const parentPlayers = this.playersByElement.get(parentWithAnimation);\n if (parentPlayers && parentPlayers.length) {\n player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n }\n skippedPlayers.push(player);\n }\n }\n else {\n eraseStyles(element, instruction.fromStyles);\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n // there still might be a ancestor player animating this\n // element therefore we will still add it as a sub player\n // even if its animation may be disabled\n subPlayers.push(player);\n if (disabledElementsSet.has(element)) {\n skippedPlayers.push(player);\n }\n }\n });\n // find all of the sub players' corresponding inner animation players\n subPlayers.forEach((player) => {\n // even if no players are found for a sub animation it\n // will still complete itself after the next tick since it's Noop\n const playersForElement = skippedPlayersMap.get(player.element);\n if (playersForElement && playersForElement.length) {\n const innerPlayer = optimizeGroupPlayer(playersForElement);\n player.setRealPlayer(innerPlayer);\n }\n });\n // the reason why we don't actually play the animation is\n // because all that a skipped player is designed to do is to\n // fire the start/done transition callback events\n skippedPlayers.forEach((player) => {\n if (player.parentPlayer) {\n player.syncPlayerEvents(player.parentPlayer);\n }\n else {\n player.destroy();\n }\n });\n // run through all of the queued removals and see if they\n // were picked up by a query. If not then perform the removal\n // operation right away unless a parent animation is ongoing.\n for (let i = 0; i < allLeaveNodes.length; i++) {\n const element = allLeaveNodes[i];\n const details = element[REMOVAL_FLAG];\n removeClass(element, LEAVE_CLASSNAME);\n // this means the element has a removal animation that is being\n // taken care of and therefore the inner elements will hang around\n // until that animation is over (or the parent queried animation)\n if (details && details.hasAnimation)\n continue;\n let players = [];\n // if this element is queried or if it contains queried children\n // then we want for the element not to be removed from the page\n // until the queried animations have finished\n if (queriedElements.size) {\n let queriedPlayerResults = queriedElements.get(element);\n if (queriedPlayerResults && queriedPlayerResults.length) {\n players.push(...queriedPlayerResults);\n }\n let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true);\n for (let j = 0; j < queriedInnerElements.length; j++) {\n let queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n if (queriedPlayers && queriedPlayers.length) {\n players.push(...queriedPlayers);\n }\n }\n }\n const activePlayers = players.filter((p) => !p.destroyed);\n if (activePlayers.length) {\n removeNodesAfterAnimationDone(this, element, activePlayers);\n }\n else {\n this.processLeaveNode(element);\n }\n }\n // this is required so the cleanup method doesn't remove them\n allLeaveNodes.length = 0;\n rootPlayers.forEach((player) => {\n this.players.push(player);\n player.onDone(() => {\n player.destroy();\n const index = this.players.indexOf(player);\n this.players.splice(index, 1);\n });\n player.play();\n });\n return rootPlayers;\n }\n afterFlush(callback) {\n this._flushFns.push(callback);\n }\n afterFlushAnimationsDone(callback) {\n this._whenQuietFns.push(callback);\n }\n _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n let players = [];\n if (isQueriedElement) {\n const queriedElementPlayers = this.playersByQueriedElement.get(element);\n if (queriedElementPlayers) {\n players = queriedElementPlayers;\n }\n }\n else {\n const elementPlayers = this.playersByElement.get(element);\n if (elementPlayers) {\n const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n elementPlayers.forEach((player) => {\n if (player.queued)\n return;\n if (!isRemovalAnimation && player.triggerName != triggerName)\n return;\n players.push(player);\n });\n }\n }\n if (namespaceId || triggerName) {\n players = players.filter((player) => {\n if (namespaceId && namespaceId != player.namespaceId)\n return false;\n if (triggerName && triggerName != player.triggerName)\n return false;\n return true;\n });\n }\n return players;\n }\n _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // when a removal animation occurs, ALL previous players are collected\n // and destroyed (even if they are outside of the current namespace)\n const targetNameSpaceId = instruction.isRemovalTransition\n ? undefined\n : namespaceId;\n const targetTriggerName = instruction.isRemovalTransition\n ? undefined\n : triggerName;\n for (const timelineInstruction of instruction.timelines) {\n const element = timelineInstruction.element;\n const isQueriedElement = element !== rootElement;\n const players = getOrSetDefaultValue(allPreviousPlayersMap, element, []);\n const previousPlayers = this._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n previousPlayers.forEach((player) => {\n const realPlayer = player.getRealPlayer();\n if (realPlayer.beforeDestroy) {\n realPlayer.beforeDestroy();\n }\n player.destroy();\n players.push(player);\n });\n }\n // this needs to be done so that the PRE/POST styles can be\n // computed properly without interfering with the previous animation\n eraseStyles(rootElement, instruction.fromStyles);\n }\n _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // we first run this so that the previous animation player\n // data can be passed into the successive animation players\n const allQueriedPlayers = [];\n const allConsumedElements = new Set();\n const allSubElements = new Set();\n const allNewPlayers = instruction.timelines.map((timelineInstruction) => {\n const element = timelineInstruction.element;\n allConsumedElements.add(element);\n // FIXME (matsko): make sure to-be-removed animations are removed properly\n const details = element[REMOVAL_FLAG];\n if (details && details.removedBeforeQueried)\n return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay);\n const isQueriedElement = element !== rootElement;\n const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY).map((p) => p.getRealPlayer())).filter((p) => {\n // the `element` is not apart of the AnimationPlayer definition, but\n // Mock/WebAnimations\n // use the element within their implementation. This will be added in Angular5 to\n // AnimationPlayer\n const pp = p;\n return pp.element ? pp.element === element : false;\n });\n const preStyles = preStylesMap.get(element);\n const postStyles = postStylesMap.get(element);\n const keyframes = normalizeKeyframes$1(this._normalizer, timelineInstruction.keyframes, preStyles, postStyles);\n const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers);\n // this means that this particular player belongs to a sub trigger. It is\n // important that we match this player up with the corresponding (@trigger.listener)\n if (timelineInstruction.subTimeline && skippedPlayersMap) {\n allSubElements.add(element);\n }\n if (isQueriedElement) {\n const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n wrappedPlayer.setRealPlayer(player);\n allQueriedPlayers.push(wrappedPlayer);\n }\n return player;\n });\n allQueriedPlayers.forEach((player) => {\n getOrSetDefaultValue(this.playersByQueriedElement, player.element, []).push(player);\n player.onDone(() => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player));\n });\n allConsumedElements.forEach((element) => addClass(element, NG_ANIMATING_CLASSNAME));\n const player = optimizeGroupPlayer(allNewPlayers);\n player.onDestroy(() => {\n allConsumedElements.forEach((element) => removeClass(element, NG_ANIMATING_CLASSNAME));\n setStyles(rootElement, instruction.toStyles);\n });\n // this basically makes all of the callbacks for sub element animations\n // be dependent on the upper players for when they finish\n allSubElements.forEach((element) => {\n getOrSetDefaultValue(skippedPlayersMap, element, []).push(player);\n });\n return player;\n }\n _buildPlayer(instruction, keyframes, previousPlayers) {\n if (keyframes.length > 0) {\n return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n }\n // special case for when an empty transition|definition is provided\n // ... there is no point in rendering an empty animation\n return new NoopAnimationPlayer(instruction.duration, instruction.delay);\n }\n}\nclass TransitionAnimationPlayer {\n constructor(namespaceId, triggerName, element) {\n this.namespaceId = namespaceId;\n this.triggerName = triggerName;\n this.element = element;\n this._player = new NoopAnimationPlayer();\n this._containsRealPlayer = false;\n this._queuedCallbacks = new Map();\n this.destroyed = false;\n this.parentPlayer = null;\n this.markedForDestroy = false;\n this.disabled = false;\n this.queued = true;\n this.totalTime = 0;\n }\n setRealPlayer(player) {\n if (this._containsRealPlayer)\n return;\n this._player = player;\n this._queuedCallbacks.forEach((callbacks, phase) => {\n callbacks.forEach((callback) => listenOnPlayer(player, phase, undefined, callback));\n });\n this._queuedCallbacks.clear();\n this._containsRealPlayer = true;\n this.overrideTotalTime(player.totalTime);\n this.queued = false;\n }\n getRealPlayer() {\n return this._player;\n }\n overrideTotalTime(totalTime) {\n this.totalTime = totalTime;\n }\n syncPlayerEvents(player) {\n const p = this._player;\n if (p.triggerCallback) {\n player.onStart(() => p.triggerCallback('start'));\n }\n player.onDone(() => this.finish());\n player.onDestroy(() => this.destroy());\n }\n _queueEvent(name, callback) {\n getOrSetDefaultValue(this._queuedCallbacks, name, []).push(callback);\n }\n onDone(fn) {\n if (this.queued) {\n this._queueEvent('done', fn);\n }\n this._player.onDone(fn);\n }\n onStart(fn) {\n if (this.queued) {\n this._queueEvent('start', fn);\n }\n this._player.onStart(fn);\n }\n onDestroy(fn) {\n if (this.queued) {\n this._queueEvent('destroy', fn);\n }\n this._player.onDestroy(fn);\n }\n init() {\n this._player.init();\n }\n hasStarted() {\n return this.queued ? false : this._player.hasStarted();\n }\n play() {\n !this.queued && this._player.play();\n }\n pause() {\n !this.queued && this._player.pause();\n }\n restart() {\n !this.queued && this._player.restart();\n }\n finish() {\n this._player.finish();\n }\n destroy() {\n this.destroyed = true;\n this._player.destroy();\n }\n reset() {\n !this.queued && this._player.reset();\n }\n setPosition(p) {\n if (!this.queued) {\n this._player.setPosition(p);\n }\n }\n getPosition() {\n return this.queued ? 0 : this._player.getPosition();\n }\n /** @internal */\n triggerCallback(phaseName) {\n const p = this._player;\n if (p.triggerCallback) {\n p.triggerCallback(phaseName);\n }\n }\n}\nfunction deleteOrUnsetInMap(map, key, value) {\n let currentValues = map.get(key);\n if (currentValues) {\n if (currentValues.length) {\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n map.delete(key);\n }\n }\n return currentValues;\n}\nfunction normalizeTriggerValue(value) {\n // we use `!= null` here because it's the most simple\n // way to test against a \"falsy\" value without mixing\n // in empty strings or a zero value. DO NOT OPTIMIZE.\n return value != null ? value : null;\n}\nfunction isElementNode(node) {\n return node && node['nodeType'] === 1;\n}\nfunction isTriggerEventValid(eventName) {\n return eventName == 'start' || eventName == 'done';\n}\nfunction cloakElement(element, value) {\n const oldValue = element.style.display;\n element.style.display = value != null ? value : 'none';\n return oldValue;\n}\nfunction cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n const cloakVals = [];\n elements.forEach((element) => cloakVals.push(cloakElement(element)));\n const failedElements = [];\n elementPropsMap.forEach((props, element) => {\n const styles = new Map();\n props.forEach((prop) => {\n const value = driver.computeStyle(element, prop, defaultStyle);\n styles.set(prop, value);\n // there is no easy way to detect this because a sub element could be removed\n // by a parent animation element being detached.\n if (!value || value.length == 0) {\n element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n failedElements.push(element);\n }\n });\n valuesMap.set(element, styles);\n });\n // we use a index variable here since Set.forEach(a, i) does not return\n // an index value for the closure (but instead just the value)\n let i = 0;\n elements.forEach((element) => cloakElement(element, cloakVals[i++]));\n return failedElements;\n}\n/*\nSince the Angular renderer code will return a collection of inserted\nnodes in all areas of a DOM tree, it's up to this algorithm to figure\nout which nodes are roots for each animation @trigger.\n\nBy placing each inserted node into a Set and traversing upwards, it\nis possible to find the @trigger elements and well any direct *star\ninsertion nodes, if a @trigger root is found then the enter element\nis placed into the Map[@trigger] spot.\n */\nfunction buildRootMap(roots, nodes) {\n const rootMap = new Map();\n roots.forEach((root) => rootMap.set(root, []));\n if (nodes.length == 0)\n return rootMap;\n const NULL_NODE = 1;\n const nodeSet = new Set(nodes);\n const localRootMap = new Map();\n function getRoot(node) {\n if (!node)\n return NULL_NODE;\n let root = localRootMap.get(node);\n if (root)\n return root;\n const parent = node.parentNode;\n if (rootMap.has(parent)) {\n // ngIf inside @trigger\n root = parent;\n }\n else if (nodeSet.has(parent)) {\n // ngIf inside ngIf\n root = NULL_NODE;\n }\n else {\n // recurse upwards\n root = getRoot(parent);\n }\n localRootMap.set(node, root);\n return root;\n }\n nodes.forEach((node) => {\n const root = getRoot(node);\n if (root !== NULL_NODE) {\n rootMap.get(root).push(node);\n }\n });\n return rootMap;\n}\nfunction addClass(element, className) {\n element.classList?.add(className);\n}\nfunction removeClass(element, className) {\n element.classList?.remove(className);\n}\nfunction removeNodesAfterAnimationDone(engine, element, players) {\n optimizeGroupPlayer(players).onDone(() => engine.processLeaveNode(element));\n}\nfunction flattenGroupPlayers(players) {\n const finalPlayers = [];\n _flattenGroupPlayersRecur(players, finalPlayers);\n return finalPlayers;\n}\nfunction _flattenGroupPlayersRecur(players, finalPlayers) {\n for (let i = 0; i < players.length; i++) {\n const player = players[i];\n if (player instanceof ɵAnimationGroupPlayer) {\n _flattenGroupPlayersRecur(player.players, finalPlayers);\n }\n else {\n finalPlayers.push(player);\n }\n }\n}\nfunction objEquals(a, b) {\n const k1 = Object.keys(a);\n const k2 = Object.keys(b);\n if (k1.length != k2.length)\n return false;\n for (let i = 0; i < k1.length; i++) {\n const prop = k1[i];\n if (!b.hasOwnProperty(prop) || a[prop] !== b[prop])\n return false;\n }\n return true;\n}\nfunction replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n const postEntry = allPostStyleElements.get(element);\n if (!postEntry)\n return false;\n let preEntry = allPreStyleElements.get(element);\n if (preEntry) {\n postEntry.forEach((data) => preEntry.add(data));\n }\n else {\n allPreStyleElements.set(element, postEntry);\n }\n allPostStyleElements.delete(element);\n return true;\n}\n\nclass AnimationEngine {\n constructor(doc, _driver, _normalizer, scheduler) {\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._triggerCache = {};\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (element, context) => { };\n this._transitionEngine = new TransitionAnimationEngine(doc.body, _driver, _normalizer, scheduler);\n this._timelineEngine = new TimelineAnimationEngine(doc.body, _driver, _normalizer);\n this._transitionEngine.onRemovalComplete = (element, context) => this.onRemovalComplete(element, context);\n }\n registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n const cacheKey = componentId + '-' + name;\n let trigger = this._triggerCache[cacheKey];\n if (!trigger) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw triggerBuildFailed(name, errors);\n }\n if (warnings.length) {\n warnTriggerBuild(name, warnings);\n }\n trigger = buildTrigger(name, ast, this._normalizer);\n this._triggerCache[cacheKey] = trigger;\n }\n this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n }\n register(namespaceId, hostElement) {\n this._transitionEngine.register(namespaceId, hostElement);\n }\n destroy(namespaceId, context) {\n this._transitionEngine.destroy(namespaceId, context);\n }\n onInsert(namespaceId, element, parent, insertBefore) {\n this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n }\n onRemove(namespaceId, element, context) {\n this._transitionEngine.removeNode(namespaceId, element, context);\n }\n disableAnimations(element, disable) {\n this._transitionEngine.markElementAsDisabled(element, disable);\n }\n process(namespaceId, element, property, value) {\n if (property.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(property);\n const args = value;\n this._timelineEngine.command(id, element, action, args);\n }\n else {\n this._transitionEngine.trigger(namespaceId, element, property, value);\n }\n }\n listen(namespaceId, element, eventName, eventPhase, callback) {\n // @@listen\n if (eventName.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(eventName);\n return this._timelineEngine.listen(id, element, action, callback);\n }\n return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n }\n flush(microtaskId = -1) {\n this._transitionEngine.flush(microtaskId);\n }\n get players() {\n return [...this._transitionEngine.players, ...this._timelineEngine.players];\n }\n whenRenderingDone() {\n return this._transitionEngine.whenRenderingDone();\n }\n afterFlushAnimationsDone(cb) {\n this._transitionEngine.afterFlushAnimationsDone(cb);\n }\n}\n\n/**\n * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n * detected.\n *\n * In CSS there exist properties that cannot be animated within a keyframe animation\n * (whether it be via CSS keyframes or web-animations) and the animation implementation\n * will ignore them. This function is designed to detect those special cased styles and\n * return a container that will be executed at the start and end of the animation.\n *\n * @returns an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n */\nfunction packageNonAnimatableStyles(element, styles) {\n let startStyles = null;\n let endStyles = null;\n if (Array.isArray(styles) && styles.length) {\n startStyles = filterNonAnimatableStyles(styles[0]);\n if (styles.length > 1) {\n endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n }\n }\n else if (styles instanceof Map) {\n startStyles = filterNonAnimatableStyles(styles);\n }\n return startStyles || endStyles ? new SpecialCasedStyles(element, startStyles, endStyles) : null;\n}\n/**\n * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n *\n * When started (when the `start()` method is run) then the provided `startStyles`\n * will be applied. When finished (when the `finish()` method is called) the\n * `endStyles` will be applied as well any any starting styles. Finally when\n * `destroy()` is called then all styles will be removed.\n */\nclass SpecialCasedStyles {\n static { this.initialStylesByElement = new WeakMap(); }\n constructor(_element, _startStyles, _endStyles) {\n this._element = _element;\n this._startStyles = _startStyles;\n this._endStyles = _endStyles;\n this._state = 0 /* SpecialCasedStylesState.Pending */;\n let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n if (!initialStyles) {\n SpecialCasedStyles.initialStylesByElement.set(_element, (initialStyles = new Map()));\n }\n this._initialStyles = initialStyles;\n }\n start() {\n if (this._state < 1 /* SpecialCasedStylesState.Started */) {\n if (this._startStyles) {\n setStyles(this._element, this._startStyles, this._initialStyles);\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n finish() {\n this.start();\n if (this._state < 2 /* SpecialCasedStylesState.Finished */) {\n setStyles(this._element, this._initialStyles);\n if (this._endStyles) {\n setStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n destroy() {\n this.finish();\n if (this._state < 3 /* SpecialCasedStylesState.Destroyed */) {\n SpecialCasedStyles.initialStylesByElement.delete(this._element);\n if (this._startStyles) {\n eraseStyles(this._element, this._startStyles);\n this._endStyles = null;\n }\n if (this._endStyles) {\n eraseStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n setStyles(this._element, this._initialStyles);\n this._state = 3 /* SpecialCasedStylesState.Destroyed */;\n }\n }\n}\nfunction filterNonAnimatableStyles(styles) {\n let result = null;\n styles.forEach((val, prop) => {\n if (isNonAnimatableStyle(prop)) {\n result = result || new Map();\n result.set(prop, val);\n }\n });\n return result;\n}\nfunction isNonAnimatableStyle(prop) {\n return prop === 'display' || prop === 'position';\n}\n\nclass WebAnimationsPlayer {\n constructor(element, keyframes, options, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.options = options;\n this._specialStyles = _specialStyles;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._initialized = false;\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n // the following original fns are persistent copies of the _onStartFns and _onDoneFns\n // and are used to reset the fns to their original values upon reset()\n // (since the _onStartFns and _onDoneFns get deleted after they are called)\n this._originalOnDoneFns = [];\n this._originalOnStartFns = [];\n this.time = 0;\n this.parentPlayer = null;\n this.currentSnapshot = new Map();\n this._duration = options['duration'];\n this._delay = options['delay'] || 0;\n this.time = this._duration + this._delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach((fn) => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this._buildPlayer();\n this._preparePlayerBeforeStart();\n }\n _buildPlayer() {\n if (this._initialized)\n return;\n this._initialized = true;\n const keyframes = this.keyframes;\n // @ts-expect-error overwriting a readonly property\n this.domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options);\n this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : new Map();\n const onFinish = () => this._onFinish();\n this.domPlayer.addEventListener('finish', onFinish);\n this.onDestroy(() => {\n // We must remove the `finish` event listener once an animation has completed all its\n // iterations. This action is necessary to prevent a memory leak since the listener captures\n // `this`, creating a closure that prevents `this` from being garbage collected.\n this.domPlayer.removeEventListener('finish', onFinish);\n });\n }\n _preparePlayerBeforeStart() {\n // this is required so that the player doesn't start to animate right away\n if (this._delay) {\n this._resetDomPlayerState();\n }\n else {\n this.domPlayer.pause();\n }\n }\n _convertKeyframesToObject(keyframes) {\n const kfs = [];\n keyframes.forEach((frame) => {\n kfs.push(Object.fromEntries(frame));\n });\n return kfs;\n }\n /** @internal */\n _triggerWebAnimation(element, keyframes, options) {\n return element.animate(this._convertKeyframesToObject(keyframes), options);\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n play() {\n this._buildPlayer();\n if (!this.hasStarted()) {\n this._onStartFns.forEach((fn) => fn());\n this._onStartFns = [];\n this._started = true;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this.domPlayer.play();\n }\n pause() {\n this.init();\n this.domPlayer.pause();\n }\n finish() {\n this.init();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._onFinish();\n this.domPlayer.finish();\n }\n reset() {\n this._resetDomPlayerState();\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n _resetDomPlayerState() {\n if (this.domPlayer) {\n this.domPlayer.cancel();\n }\n }\n restart() {\n this.reset();\n this.play();\n }\n hasStarted() {\n return this._started;\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._resetDomPlayerState();\n this._onFinish();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach((fn) => fn());\n this._onDestroyFns = [];\n }\n }\n setPosition(p) {\n if (this.domPlayer === undefined) {\n this.init();\n }\n this.domPlayer.currentTime = p * this.time;\n }\n getPosition() {\n // tsc is complaining with TS2362 without the conversion to number\n return +(this.domPlayer.currentTime ?? 0) / this.time;\n }\n get totalTime() {\n return this._delay + this._duration;\n }\n beforeDestroy() {\n const styles = new Map();\n if (this.hasStarted()) {\n // note: this code is invoked only when the `play` function was called prior to this\n // (thus `hasStarted` returns true), this implies that the code that initializes\n // `_finalKeyframe` has also been executed and the non-null assertion can be safely used here\n const finalKeyframe = this._finalKeyframe;\n finalKeyframe.forEach((val, prop) => {\n if (prop !== 'offset') {\n styles.set(prop, this._finished ? val : computeStyle(this.element, prop));\n }\n });\n }\n this.currentSnapshot = styles;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName === 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach((fn) => fn());\n methods.length = 0;\n }\n}\n\nclass WebAnimationsDriver {\n validateStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n return validateStyleProperty(prop);\n }\n return true;\n }\n validateAnimatableStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n const cssProp = camelCaseToDashCase(prop);\n return validateWebAnimatableStyleProperty(cssProp);\n }\n return true;\n }\n matchesElement(_element, _selector) {\n // This method is deprecated and no longer in use so we return false.\n return false;\n }\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n getParentElement(element) {\n return getParentElement(element);\n }\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n computeStyle(element, prop, defaultValue) {\n return computeStyle(element, prop);\n }\n animate(element, keyframes, duration, delay, easing, previousPlayers = []) {\n const fill = delay == 0 ? 'both' : 'forwards';\n const playerOptions = { duration, delay, fill };\n // we check for this to avoid having a null|undefined value be present\n // for the easing (which results in an error for certain browsers #9752)\n if (easing) {\n playerOptions['easing'] = easing;\n }\n const previousStyles = new Map();\n const previousWebAnimationPlayers = (previousPlayers.filter((player) => player instanceof WebAnimationsPlayer));\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousWebAnimationPlayers.forEach((player) => {\n player.currentSnapshot.forEach((val, prop) => previousStyles.set(prop, val));\n });\n }\n let _keyframes = normalizeKeyframes(keyframes).map((styles) => new Map(styles));\n _keyframes = balancePreviousStylesIntoKeyframes(element, _keyframes, previousStyles);\n const specialStyles = packageNonAnimatableStyles(element, _keyframes);\n return new WebAnimationsPlayer(element, _keyframes, playerOptions, specialStyles);\n }\n}\n\nfunction createEngine(type, doc, scheduler) {\n // TODO: find a way to make this tree shakable.\n if (type === 'noop') {\n return new AnimationEngine(doc, new NoopAnimationDriver(), new NoopAnimationStyleNormalizer(), scheduler);\n }\n return new AnimationEngine(doc, new WebAnimationsDriver(), new WebAnimationsStyleNormalizer(), scheduler);\n}\n\nclass Animation {\n constructor(_driver, input) {\n this._driver = _driver;\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(_driver, input, errors, warnings);\n if (errors.length) {\n throw validationFailed(errors);\n }\n if (warnings.length) {\n warnValidation(warnings);\n }\n this._animationAst = ast;\n }\n buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n const start = Array.isArray(startingStyles)\n ? normalizeStyles(startingStyles)\n : startingStyles;\n const dest = Array.isArray(destinationStyles)\n ? normalizeStyles(destinationStyles)\n : destinationStyles;\n const errors = [];\n subInstructions = subInstructions || new ElementInstructionMap();\n const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n if (errors.length) {\n throw buildingFailed(errors);\n }\n return result;\n }\n}\n\nconst ANIMATION_PREFIX = '@';\nconst DISABLE_ANIMATIONS_FLAG = '@.disabled';\nclass BaseAnimationRenderer {\n constructor(namespaceId, delegate, engine, _onDestroy) {\n this.namespaceId = namespaceId;\n this.delegate = delegate;\n this.engine = engine;\n this._onDestroy = _onDestroy;\n // We need to explicitly type this property because of an api-extractor bug\n // See https://github.com/microsoft/rushstack/issues/4390\n this.ɵtype = 0 /* AnimationRendererType.Regular */;\n }\n get data() {\n return this.delegate.data;\n }\n destroyNode(node) {\n this.delegate.destroyNode?.(node);\n }\n destroy() {\n this.engine.destroy(this.namespaceId, this.delegate);\n this.engine.afterFlushAnimationsDone(() => {\n // Call the renderer destroy method after the animations has finished as otherwise\n // styles will be removed too early which will cause an unstyled animation.\n queueMicrotask(() => {\n this.delegate.destroy();\n });\n });\n this._onDestroy?.();\n }\n createElement(name, namespace) {\n return this.delegate.createElement(name, namespace);\n }\n createComment(value) {\n return this.delegate.createComment(value);\n }\n createText(value) {\n return this.delegate.createText(value);\n }\n appendChild(parent, newChild) {\n this.delegate.appendChild(parent, newChild);\n this.engine.onInsert(this.namespaceId, newChild, parent, false);\n }\n insertBefore(parent, newChild, refChild, isMove = true) {\n this.delegate.insertBefore(parent, newChild, refChild);\n // If `isMove` true than we should animate this insert.\n this.engine.onInsert(this.namespaceId, newChild, parent, isMove);\n }\n removeChild(parent, oldChild, isHostElement) {\n this.engine.onRemove(this.namespaceId, oldChild, this.delegate);\n }\n selectRootElement(selectorOrNode, preserveContent) {\n return this.delegate.selectRootElement(selectorOrNode, preserveContent);\n }\n parentNode(node) {\n return this.delegate.parentNode(node);\n }\n nextSibling(node) {\n return this.delegate.nextSibling(node);\n }\n setAttribute(el, name, value, namespace) {\n this.delegate.setAttribute(el, name, value, namespace);\n }\n removeAttribute(el, name, namespace) {\n this.delegate.removeAttribute(el, name, namespace);\n }\n addClass(el, name) {\n this.delegate.addClass(el, name);\n }\n removeClass(el, name) {\n this.delegate.removeClass(el, name);\n }\n setStyle(el, style, value, flags) {\n this.delegate.setStyle(el, style, value, flags);\n }\n removeStyle(el, style, flags) {\n this.delegate.removeStyle(el, style, flags);\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {\n this.disableAnimations(el, !!value);\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n setValue(node, value) {\n this.delegate.setValue(node, value);\n }\n listen(target, eventName, callback) {\n return this.delegate.listen(target, eventName, callback);\n }\n disableAnimations(element, value) {\n this.engine.disableAnimations(element, value);\n }\n}\nclass AnimationRenderer extends BaseAnimationRenderer {\n constructor(factory, namespaceId, delegate, engine, onDestroy) {\n super(namespaceId, delegate, engine, onDestroy);\n this.factory = factory;\n this.namespaceId = namespaceId;\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX) {\n if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {\n value = value === undefined ? true : !!value;\n this.disableAnimations(el, value);\n }\n else {\n this.engine.process(this.namespaceId, el, name.slice(1), value);\n }\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n listen(target, eventName, callback) {\n if (eventName.charAt(0) == ANIMATION_PREFIX) {\n const element = resolveElementFromTarget(target);\n let name = eventName.slice(1);\n let phase = '';\n // @listener.phase is for trigger animation callbacks\n // @@listener is for animation builder callbacks\n if (name.charAt(0) != ANIMATION_PREFIX) {\n [name, phase] = parseTriggerCallbackName(name);\n }\n return this.engine.listen(this.namespaceId, element, name, phase, (event) => {\n const countId = event['_data'] || -1;\n this.factory.scheduleListenerCallback(countId, callback, event);\n });\n }\n return this.delegate.listen(target, eventName, callback);\n }\n}\nfunction resolveElementFromTarget(target) {\n switch (target) {\n case 'body':\n return document.body;\n case 'document':\n return document;\n case 'window':\n return window;\n default:\n return target;\n }\n}\nfunction parseTriggerCallbackName(triggerName) {\n const dotIndex = triggerName.indexOf('.');\n const trigger = triggerName.substring(0, dotIndex);\n const phase = triggerName.slice(dotIndex + 1);\n return [trigger, phase];\n}\n\nclass AnimationRendererFactory {\n constructor(delegate, engine, _zone) {\n this.delegate = delegate;\n this.engine = engine;\n this._zone = _zone;\n this._currentId = 0;\n this._microtaskId = 1;\n this._animationCallbacksBuffer = [];\n this._rendererCache = new Map();\n this._cdRecurDepth = 0;\n engine.onRemovalComplete = (element, delegate) => {\n // Note: if a component element has a leave animation, and a host leave animation,\n // the view engine will call `removeChild` for the parent\n // component renderer as well as for the child component renderer.\n // Therefore, we need to check if we already removed the element.\n const parentNode = delegate?.parentNode(element);\n if (parentNode) {\n delegate.removeChild(parentNode, element);\n }\n };\n }\n createRenderer(hostElement, type) {\n const EMPTY_NAMESPACE_ID = '';\n // cache the delegates to find out which cached delegate can\n // be used by which cached renderer\n const delegate = this.delegate.createRenderer(hostElement, type);\n if (!hostElement || !type?.data?.['animation']) {\n const cache = this._rendererCache;\n let renderer = cache.get(delegate);\n if (!renderer) {\n // Ensure that the renderer is removed from the cache on destroy\n // since it may contain references to detached DOM nodes.\n const onRendererDestroy = () => cache.delete(delegate);\n renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine, onRendererDestroy);\n // only cache this result when the base renderer is used\n cache.set(delegate, renderer);\n }\n return renderer;\n }\n const componentId = type.id;\n const namespaceId = type.id + '-' + this._currentId;\n this._currentId++;\n this.engine.register(namespaceId, hostElement);\n const registerTrigger = (trigger) => {\n if (Array.isArray(trigger)) {\n trigger.forEach(registerTrigger);\n }\n else {\n this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger);\n }\n };\n const animationTriggers = type.data['animation'];\n animationTriggers.forEach(registerTrigger);\n return new AnimationRenderer(this, namespaceId, delegate, this.engine);\n }\n begin() {\n this._cdRecurDepth++;\n if (this.delegate.begin) {\n this.delegate.begin();\n }\n }\n _scheduleCountTask() {\n queueMicrotask(() => {\n this._microtaskId++;\n });\n }\n /** @internal */\n scheduleListenerCallback(count, fn, data) {\n if (count >= 0 && count < this._microtaskId) {\n this._zone.run(() => fn(data));\n return;\n }\n const animationCallbacksBuffer = this._animationCallbacksBuffer;\n if (animationCallbacksBuffer.length == 0) {\n queueMicrotask(() => {\n this._zone.run(() => {\n animationCallbacksBuffer.forEach((tuple) => {\n const [fn, data] = tuple;\n fn(data);\n });\n this._animationCallbacksBuffer = [];\n });\n });\n }\n animationCallbacksBuffer.push([fn, data]);\n }\n end() {\n this._cdRecurDepth--;\n // this is to prevent animations from running twice when an inner\n // component does CD when a parent component instead has inserted it\n if (this._cdRecurDepth == 0) {\n this._zone.runOutsideAngular(() => {\n this._scheduleCountTask();\n this.engine.flush(this._microtaskId);\n });\n }\n if (this.delegate.end) {\n this.delegate.end();\n }\n }\n whenRenderingDone() {\n return this.engine.whenRenderingDone();\n }\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AnimationDriver, NoopAnimationDriver, Animation as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationRenderer as ɵAnimationRenderer, AnimationRendererFactory as ɵAnimationRendererFactory, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, BaseAnimationRenderer as ɵBaseAnimationRenderer, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, camelCaseToDashCase as ɵcamelCaseToDashCase, containsElement as ɵcontainsElement, createEngine as ɵcreateEngine, getParentElement as ɵgetParentElement, invokeQuery as ɵinvokeQuery, normalizeKeyframes as ɵnormalizeKeyframes, validateStyleProperty as ɵvalidateStyleProperty, validateWebAnimatableStyleProperty as ɵvalidateWebAnimatableStyleProperty };\n","/**\n * @license Angular v17.3.5\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { inject, ɵChangeDetectionScheduler, Injectable, Inject, RendererFactory2, NgZone, ANIMATION_MODULE_TYPE, NgModule, ɵperformanceMarkFeature } from '@angular/core';\nexport { ANIMATION_MODULE_TYPE } from '@angular/core';\nimport { ɵDomRendererFactory2, BrowserModule } from '@angular/platform-browser';\nimport * as i1 from '@angular/animations/browser';\nimport { ɵAnimationEngine, ɵWebAnimationsStyleNormalizer, ɵAnimationRendererFactory, ɵAnimationStyleNormalizer, AnimationDriver, ɵWebAnimationsDriver, NoopAnimationDriver } from '@angular/animations/browser';\nimport { DOCUMENT } from '@angular/common';\n\nclass InjectableAnimationEngine extends ɵAnimationEngine {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(doc, driver, normalizer) {\n super(doc, driver, normalizer, inject(ɵChangeDetectionScheduler, { optional: true }));\n }\n ngOnDestroy() {\n this.flush();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: InjectableAnimationEngine }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: InjectableAnimationEngine, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1.AnimationDriver }, { type: i1.ɵAnimationStyleNormalizer }] });\nfunction instantiateDefaultStyleNormalizer() {\n return new ɵWebAnimationsStyleNormalizer();\n}\nfunction instantiateRendererFactory(renderer, engine, zone) {\n return new ɵAnimationRendererFactory(renderer, engine, zone);\n}\nconst SHARED_ANIMATION_PROVIDERS = [\n { provide: ɵAnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer },\n { provide: ɵAnimationEngine, useClass: InjectableAnimationEngine }, {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n deps: [ɵDomRendererFactory2, ɵAnimationEngine, NgZone]\n }\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nconst BROWSER_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useFactory: () => new ɵWebAnimationsDriver() },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'BrowserAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nconst BROWSER_NOOP_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useClass: NoopAnimationDriver },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n\n/**\n * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider)\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n */\nclass BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see {@link BrowserAnimationsModuleConfig}\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(config) {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations ? BROWSER_NOOP_ANIMATIONS_PROVIDERS :\n BROWSER_ANIMATIONS_PROVIDERS\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: BrowserAnimationsModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n }]\n }] });\n/**\n * Returns the set of [dependency-injection providers](guide/glossary#provider)\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideAnimations() {\n ɵperformanceMarkFeature('NgEagerAnimations');\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n */\nclass NoopAnimationsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NoopAnimationsModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n }]\n }] });\n/**\n * Returns the set of [dependency-injection providers](guide/glossary#provider)\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideNoopAnimations() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BrowserAnimationsModule, NoopAnimationsModule, provideAnimations, provideNoopAnimations, InjectableAnimationEngine as ɵInjectableAnimationEngine };\n","import { reduce } from './reduce';\nimport { operate } from '../util/lift';\nconst arrReducer = (arr, value) => (arr.push(value), arr);\nexport function toArray() {\n return operate((source, subscriber) => {\n reduce(arrReducer, [])(source).subscribe(subscriber);\n });\n}\n","import * as i0 from '@angular/core';\nimport { isDevMode, Injectable, InjectionToken, PLATFORM_ID, Inject, Optional, Directive, Input, Component, HostListener, EventEmitter, ChangeDetectionStrategy, ContentChildren, Output, Attribute, HostBinding, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { isPlatformBrowser, CommonModule } from '@angular/common';\nimport { Subject, merge, of, fromEvent, from } from 'rxjs';\nimport { tap, filter, switchMap, first, take, skip, map, toArray, delay } from 'rxjs/operators';\nimport * as i1 from '@angular/router';\nimport { NavigationEnd } from '@angular/router';\nimport { style, state, animate, transition, trigger } from '@angular/animations';\n\n/**\n * Defaults value of options\n */\nclass OwlCarouselOConfig {\n items = 3;\n skip_validateItems = false;\n loop = false;\n center = false;\n rewind = false;\n mouseDrag = true;\n touchDrag = true;\n pullDrag = true;\n freeDrag = false;\n margin = 0;\n stagePadding = 0;\n merge = false;\n mergeFit = true;\n autoWidth = false;\n startPosition = 0;\n rtl = false;\n smartSpeed = 250;\n fluidSpeed = false;\n dragEndSpeed = false;\n responsive = {};\n responsiveRefreshRate = 200;\n // defaults to Navigation\n nav = false;\n navText = ['prev', 'next'];\n navSpeed = false;\n slideBy = 1; // stage moves on 1 width of slide; if slideBy = 2, stage moves on 2 widths of slide\n dots = true;\n dotsEach = false;\n dotsData = false;\n dotsSpeed = false;\n // defaults to Autoplay\n autoplay = false;\n autoplayTimeout = 5000;\n autoplayHoverPause = false;\n autoplaySpeed = false;\n autoplayMouseleaveTimeout = 1;\n // defaults to LazyLoading\n lazyLoad = false;\n lazyLoadEager = 0;\n // defaults to Animate\n slideTransition = '';\n animateOut = false;\n animateIn = false;\n // defaults to AutoHeight\n autoHeight = false;\n // defaults to Hash\n URLhashListener = false;\n constructor() { }\n}\n/**\n * we can't read types from OwlOptions in javascript because of props have undefined value and types of those props are used for validating inputs\n * class below is copy of OwlOptions but its all props have string value showing certain type;\n * this is class is being used just in method _validateOptions() of CarouselService;\n */\nclass OwlOptionsMockedTypes {\n items = 'number';\n skip_validateItems = 'boolean';\n loop = 'boolean';\n center = 'boolean';\n rewind = 'boolean';\n mouseDrag = 'boolean';\n touchDrag = 'boolean';\n pullDrag = 'boolean';\n freeDrag = 'boolean';\n margin = 'number';\n stagePadding = 'number';\n merge = 'boolean';\n mergeFit = 'boolean';\n autoWidth = 'boolean';\n startPosition = 'number|string';\n rtl = 'boolean';\n smartSpeed = 'number';\n fluidSpeed = 'boolean';\n dragEndSpeed = 'number|boolean';\n responsive = {};\n responsiveRefreshRate = 'number';\n // defaults to Navigation\n nav = 'boolean';\n navText = 'string[]';\n navSpeed = 'number|boolean';\n slideBy = 'number|string'; // stage moves on 1 width of slide; if slideBy = 2, stage moves on 2 widths of slide\n dots = 'boolean';\n dotsEach = 'number|boolean';\n dotsData = 'boolean';\n dotsSpeed = 'number|boolean';\n // defaults to Autoplay\n autoplay = 'boolean';\n autoplayTimeout = 'number';\n autoplayHoverPause = 'boolean';\n autoplaySpeed = 'number|boolean';\n autoplayMouseleaveTimeout = 'number';\n // defaults to LazyLoading\n lazyLoad = 'boolean';\n lazyLoadEager = 'number';\n // defaults to Animate\n slideTransition = 'string';\n animateOut = 'string|boolean';\n animateIn = 'string|boolean';\n // defaults to AutoHeight\n autoHeight = 'boolean';\n // defaults to Hash\n URLhashListener = \"boolean\";\n constructor() { }\n}\n\nclass OwlLogger {\n errorHandler;\n constructor(errorHandler) {\n this.errorHandler = errorHandler;\n }\n log(value, ...rest) {\n if (isDevMode()) {\n console.log(value, ...rest);\n }\n }\n error(error) {\n this.errorHandler.handleError(error);\n }\n warn(value, ...rest) {\n console.warn(value, ...rest);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: OwlLogger, deps: [{ token: i0.ErrorHandler }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: OwlLogger });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: OwlLogger, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: i0.ErrorHandler }] });\n\n/**\n * Current state information and their tags.\n */\nclass States {\n current;\n tags;\n}\n/**\n * Enumeration for types.\n * @enum {String}\n */\nvar Type;\n(function (Type) {\n Type[\"Event\"] = \"event\";\n Type[\"State\"] = \"state\";\n})(Type || (Type = {}));\n;\n/**\n * Enumeration for width.\n * @enum {String}\n */\nvar Width;\n(function (Width) {\n Width[\"Default\"] = \"default\";\n Width[\"Inner\"] = \"inner\";\n Width[\"Outer\"] = \"outer\";\n})(Width || (Width = {}));\n;\n/**\n * Model for coords of .owl-stage\n */\nclass Coords {\n x;\n y;\n}\n/**\n * Model for all current data of carousel\n */\nclass CarouselCurrentData {\n owlDOMData;\n stageData;\n slidesData;\n navData;\n dotsData;\n}\nclass CarouselService {\n logger;\n /**\n * Subject for passing data needed for managing View\n */\n _viewSettingsShipper$ = new Subject();\n /**\n * Subject for notification when the carousel got initializes\n */\n _initializedCarousel$ = new Subject();\n /**\n * Subject for notification when the carousel's settings start changinf\n */\n _changeSettingsCarousel$ = new Subject();\n /**\n * Subject for notification when the carousel's settings have changed\n */\n _changedSettingsCarousel$ = new Subject();\n /**\n * Subject for notification when the carousel starts translating or moving\n */\n _translateCarousel$ = new Subject();\n /**\n * Subject for notification when the carousel stopped translating or moving\n */\n _translatedCarousel$ = new Subject();\n /**\n * Subject for notification when the carousel's rebuilding caused by 'resize' event starts\n */\n _resizeCarousel$ = new Subject();\n /**\n * Subject for notification when the carousel's rebuilding caused by 'resize' event is ended\n */\n _resizedCarousel$ = new Subject();\n /**\n * Subject for notification when the refresh of carousel starts\n */\n _refreshCarousel$ = new Subject();\n /**\n * Subject for notification when the refresh of carousel is ended\n */\n _refreshedCarousel$ = new Subject();\n /**\n * Subject for notification when the dragging of carousel starts\n */\n _dragCarousel$ = new Subject();\n /**\n * Subject for notification when the dragging of carousel is ended\n */\n _draggedCarousel$ = new Subject();\n /**\n * Current settings for the carousel.\n */\n settings = {\n items: 0\n };\n /**\n * Initial data for setting classes to element .owl-carousel\n */\n owlDOMData = {\n rtl: false,\n isResponsive: false,\n isRefreshed: false,\n isLoaded: false,\n isLoading: false,\n isMouseDragable: false,\n isGrab: false,\n isTouchDragable: false\n };\n /**\n * Initial data of .owl-stage\n */\n stageData = {\n transform: 'translate3d(0px,0px,0px)',\n transition: '0s',\n width: 0,\n paddingL: 0,\n paddingR: 0\n };\n /**\n * Data of every slide\n */\n slidesData;\n /**\n * Data of navigation block\n */\n navData;\n /**\n * Data of dots block\n */\n dotsData;\n /**\n * Carousel width\n */\n _width;\n /**\n * All real items.\n */\n _items = []; // is equal to this.slides\n /**\n * Array with width of every slide.\n */\n _widths = [];\n /**\n * Currently suppressed events to prevent them from beeing retriggered.\n */\n _supress = {};\n /**\n * References to the running plugins of this carousel.\n */\n _plugins = {};\n /**\n * Absolute current position.\n */\n _current = null;\n /**\n * All cloned items.\n */\n _clones = [];\n /**\n * Merge values of all items.\n * @todo Maybe this could be part of a plugin.\n */\n _mergers = [];\n /**\n * Animation speed in milliseconds.\n */\n _speed = null;\n /**\n * Coordinates of all items in pixel.\n * @todo The name of this member is missleading.\n */\n _coordinates = [];\n /**\n * Current breakpoint.\n * @todo Real media queries would be nice.\n */\n _breakpoint = null;\n /**\n * Prefix for id of cloned slides\n */\n clonedIdPrefix = 'cloned-';\n /**\n * Current options set by the caller including defaults.\n */\n _options = {};\n /**\n * Invalidated parts within the update process.\n */\n _invalidated = {};\n // Is needed for tests\n get invalidated() {\n return this._invalidated;\n }\n /**\n * Current state information and their tags.\n */\n _states = {\n current: {},\n tags: {\n initializing: ['busy'],\n animating: ['busy'],\n dragging: ['interacting']\n }\n };\n // is needed for tests\n get states() {\n return this._states;\n }\n /**\n * Ordered list of workers for the update process.\n */\n _pipe = [\n // {\n // filter: ['width', 'settings'],\n // run: () => {\n // this._width = this.carouselWindowWidth;\n // }\n // },\n {\n filter: ['width', 'items', 'settings'],\n run: cache => {\n cache.current = this._items && this._items[this.relative(this._current)]?.id;\n }\n },\n // {\n // filter: ['items', 'settings'],\n // run: function() {\n // // this.$stage.children('.cloned').remove();\n // }\n // },\n {\n filter: ['width', 'items', 'settings'],\n run: (cache) => {\n const margin = this.settings.margin || '', grid = !this.settings.autoWidth, rtl = this.settings.rtl, css = {\n 'margin-left': rtl ? margin : '',\n 'margin-right': rtl ? '' : margin\n };\n if (!grid) {\n this.slidesData.forEach(slide => {\n slide.marginL = css['margin-left'];\n slide.marginR = css['margin-right'];\n });\n }\n cache.css = css;\n }\n }, {\n filter: ['width', 'items', 'settings'],\n run: (cache) => {\n const width = +(this.width() / this.settings.items).toFixed(3) - this.settings.margin, grid = !this.settings.autoWidth, widths = [];\n let merge = null, iterator = this._items.length;\n cache.items = {\n merge: false,\n width: width\n };\n while (iterator-- > 0) {\n merge = this._mergers[iterator];\n merge = this.settings.mergeFit && Math.min(merge, this.settings.items) || merge;\n cache.items.merge = merge > 1 || cache.items.merge;\n widths[iterator] = !grid ? this._items[iterator].width ? this._items[iterator].width : width : width * merge;\n }\n this._widths = widths;\n this.slidesData.forEach((slide, i) => {\n slide.width = this._widths[i];\n slide.marginR = cache.css['margin-right'];\n slide.marginL = cache.css['margin-left'];\n });\n }\n }, {\n filter: ['items', 'settings'],\n run: () => {\n const clones = [], items = this._items, settings = this.settings, \n // TODO: Should be computed from number of min width items in stage\n view = Math.max(settings.items * 2, 4), size = Math.ceil(items.length / 2) * 2;\n let append = [], prepend = [], repeat = settings.loop && items.length ? settings.rewind ? view : Math.max(view, size) : 0;\n repeat /= 2;\n while (repeat-- > 0) {\n // Switch to only using appended clones\n clones.push(this.normalize(clones.length / 2, true));\n append.push({ ...this.slidesData[clones[clones.length - 1]] });\n clones.push(this.normalize(items.length - 1 - (clones.length - 1) / 2, true));\n prepend.unshift({ ...this.slidesData[clones[clones.length - 1]] });\n }\n this._clones = clones;\n append = append.map(slide => {\n slide.id = `${this.clonedIdPrefix}${slide.id}`;\n slide.isActive = false;\n slide.isCloned = true;\n return slide;\n });\n prepend = prepend.map(slide => {\n slide.id = `${this.clonedIdPrefix}${slide.id}`;\n slide.isActive = false;\n slide.isCloned = true;\n return slide;\n });\n this.slidesData = prepend.concat(this.slidesData).concat(append);\n }\n }, {\n filter: ['width', 'items', 'settings'],\n run: () => {\n const rtl = this.settings.rtl ? 1 : -1, size = this._clones.length + this._items.length, coordinates = [];\n let iterator = -1, previous = 0, current = 0;\n while (++iterator < size) {\n previous = coordinates[iterator - 1] || 0;\n current = this._widths[this.relative(iterator)] + this.settings.margin;\n coordinates.push(previous + current * rtl);\n }\n this._coordinates = coordinates;\n }\n }, {\n filter: ['width', 'items', 'settings'],\n run: () => {\n const padding = this.settings.stagePadding, coordinates = this._coordinates, css = {\n 'width': Math.ceil(Math.abs(coordinates[coordinates.length - 1])) + padding * 2,\n 'padding-left': padding || '',\n 'padding-right': padding || ''\n };\n this.stageData.width = css.width; // use this property in *ngIf directive for .owl-stage element\n this.stageData.paddingL = css['padding-left'];\n this.stageData.paddingR = css['padding-right'];\n }\n }, {\n // filter: [ 'width', 'items', 'settings' ],\n // run: cache => {\n // \t\t// this method sets the width for every slide, but I set it in different way earlier\n // \t\tconst grid = !this.settings.autoWidth,\n // \t\titems = this.$stage.children(); // use this.slidesData\n // let iterator = this._coordinates.length;\n // if (grid && cache.items.merge) {\n // while (iterator--) {\n // cache.css.width = this._widths[this.relative(iterator)];\n // items.eq(iterator).css(cache.css);\n // }\n // } else if (grid) {\n // cache.css.width = cache.items.width;\n // items.css(cache.css);\n // }\n // }\n // }, {\n // filter: [ 'items' ],\n // run: function() {\n // this._coordinates.length < 1 && this.$stage.removeAttr('style');\n // }\n // }, {\n filter: ['width', 'items', 'settings'],\n run: cache => {\n let current = cache.current ? this.slidesData.findIndex(slide => slide.id === cache.current) : 0;\n current = Math.max(this.minimum(), Math.min(this.maximum(), current));\n this.reset(current);\n }\n }, {\n filter: ['position'],\n run: () => {\n this.animate(this.coordinates(this._current));\n }\n }, {\n filter: ['width', 'position', 'items', 'settings'],\n run: () => {\n const rtl = this.settings.rtl ? 1 : -1, padding = this.settings.stagePadding * 2, matches = [];\n let begin, end, inner, outer, i, n;\n begin = this.coordinates(this.current());\n if (typeof begin === 'number') {\n begin += padding;\n }\n else {\n begin = 0;\n }\n end = begin + this.width() * rtl;\n if (rtl === -1 && this.settings.center) {\n const result = this._coordinates.filter(element => {\n return this.settings.items % 2 === 1 ? element >= begin : element > begin;\n });\n begin = result.length ? result[result.length - 1] : begin;\n }\n for (i = 0, n = this._coordinates.length; i < n; i++) {\n inner = Math.ceil(this._coordinates[i - 1] || 0);\n outer = Math.ceil(Math.abs(this._coordinates[i]) + padding * rtl);\n if ((this._op(inner, '<=', begin) && (this._op(inner, '>', end)))\n || (this._op(outer, '<', begin) && this._op(outer, '>', end))) {\n matches.push(i);\n }\n }\n this.slidesData.forEach(slide => {\n slide.isActive = false;\n return slide;\n });\n matches.forEach(item => {\n this.slidesData[item].isActive = true;\n });\n if (this.settings.center) {\n this.slidesData.forEach(slide => {\n slide.isCentered = false;\n return slide;\n });\n this.slidesData[this.current()].isCentered = true;\n }\n }\n }\n ];\n constructor(logger) {\n this.logger = logger;\n }\n /**\n * Makes _viewSettingsShipper$ Subject become Observable\n * @returns Observable of _viewSettingsShipper$ Subject\n */\n getViewCurSettings() {\n return this._viewSettingsShipper$.asObservable();\n }\n /**\n * Makes _initializedCarousel$ Subject become Observable\n * @returns Observable of _initializedCarousel$ Subject\n */\n getInitializedState() {\n return this._initializedCarousel$.asObservable();\n }\n /**\n * Makes _changeSettingsCarousel$ Subject become Observable\n * @returns Observable of _changeSettingsCarousel$ Subject\n */\n getChangeState() {\n return this._changeSettingsCarousel$.asObservable();\n }\n /**\n * Makes _changedSettingsCarousel$ Subject become Observable\n * @returns Observable of _changedSettingsCarousel$ Subject\n */\n getChangedState() {\n return this._changedSettingsCarousel$.asObservable();\n }\n /**\n * Makes _translateCarousel$ Subject become Observable\n * @returns Observable of _translateCarousel$ Subject\n */\n getTranslateState() {\n return this._translateCarousel$.asObservable();\n }\n /**\n * Makes _translatedCarousel$ Subject become Observable\n * @returns Observable of _translatedCarousel$ Subject\n */\n getTranslatedState() {\n return this._translatedCarousel$.asObservable();\n }\n /**\n * Makes _resizeCarousel$ Subject become Observable\n * @returns Observable of _resizeCarousel$ Subject\n */\n getResizeState() {\n return this._resizeCarousel$.asObservable();\n }\n /**\n * Makes _resizedCarousel$ Subject become Observable\n * @returns Observable of _resizedCarousel$ Subject\n */\n getResizedState() {\n return this._resizedCarousel$.asObservable();\n }\n /**\n * Makes _refreshCarousel$ Subject become Observable\n * @returns Observable of _refreshCarousel$ Subject\n */\n getRefreshState() {\n return this._refreshCarousel$.asObservable();\n }\n /**\n * Makes _refreshedCarousel$ Subject become Observable\n * @returns Observable of _refreshedCarousel$ Subject\n */\n getRefreshedState() {\n return this._refreshedCarousel$.asObservable();\n }\n /**\n * Makes _dragCarousel$ Subject become Observable\n * @returns Observable of _dragCarousel$ Subject\n */\n getDragState() {\n return this._dragCarousel$.asObservable();\n }\n /**\n * Makes _draggedCarousel$ Subject become Observable\n * @returns Observable of _draggedCarousel$ Subject\n */\n getDraggedState() {\n return this._draggedCarousel$.asObservable();\n }\n /**\n * Setups custom options expanding default options\n * @param options custom options\n */\n setOptions(options) {\n const configOptions = new OwlCarouselOConfig();\n const checkedOptions = this._validateOptions(options, configOptions);\n this._options = { ...configOptions, ...checkedOptions };\n }\n /**\n * Checks whether user's option are set properly. Cheking is based on typings;\n * @param options options set by user\n * @param configOptions default options\n * @returns checked and modified (if it's needed) user's options\n *\n * Notes:\n * \t- if user set option with wrong type, it'll be written in console\n */\n _validateOptions(options, configOptions) {\n const checkedOptions = { ...options };\n const mockedTypes = new OwlOptionsMockedTypes();\n const setRightOption = (type, key) => {\n this.logger.log(`options.${key} must be type of ${type}; ${key}=${options[key]} skipped to defaults: ${key}=${configOptions[key]}`);\n return configOptions[key];\n };\n for (const key in checkedOptions) {\n if (checkedOptions.hasOwnProperty(key)) {\n // condition could be shortened but it gets harder for understanding\n if (mockedTypes[key] === 'number') {\n if (this._isNumeric(checkedOptions[key])) {\n checkedOptions[key] = +checkedOptions[key];\n checkedOptions[key] = key === 'items' ? this._validateItems(checkedOptions[key], checkedOptions.skip_validateItems) : checkedOptions[key];\n }\n else {\n checkedOptions[key] = setRightOption(mockedTypes[key], key);\n }\n }\n else if (mockedTypes[key] === 'boolean' && typeof checkedOptions[key] !== 'boolean') {\n checkedOptions[key] = setRightOption(mockedTypes[key], key);\n }\n else if (mockedTypes[key] === 'number|boolean' && !this._isNumberOrBoolean(checkedOptions[key])) {\n checkedOptions[key] = setRightOption(mockedTypes[key], key);\n }\n else if (mockedTypes[key] === 'number|string' && !this._isNumberOrString(checkedOptions[key])) {\n checkedOptions[key] = setRightOption(mockedTypes[key], key);\n }\n else if (mockedTypes[key] === 'string|boolean' && !this._isStringOrBoolean(checkedOptions[key])) {\n checkedOptions[key] = setRightOption(mockedTypes[key], key);\n }\n else if (mockedTypes[key] === 'string[]') {\n if (Array.isArray(checkedOptions[key])) {\n let isString = false;\n checkedOptions[key].forEach(element => {\n isString = typeof element === 'string' ? true : false;\n });\n if (!isString) {\n checkedOptions[key] = setRightOption(mockedTypes[key], key);\n }\n ;\n }\n else {\n checkedOptions[key] = setRightOption(mockedTypes[key], key);\n }\n }\n }\n }\n return checkedOptions;\n }\n /**\n * Checks the option `items` set by user and if it bigger than number of slides, the function returns number of slides\n * @param items option items set by user\n * @param skip_validateItems option `skip_validateItems` set by user\n * @returns right number of items\n */\n _validateItems(items, skip_validateItems) {\n let result = items;\n if (items > this._items.length) {\n if (skip_validateItems) {\n this.logger.log('The option \\'items\\' in your options is bigger than the number of slides. The navigation got disabled');\n }\n else {\n result = this._items.length;\n this.logger.log('The option \\'items\\' in your options is bigger than the number of slides. This option is updated to the current number of slides and the navigation got disabled');\n }\n }\n else {\n if (items === this._items.length && (this.settings.dots || this.settings.nav)) {\n this.logger.log('Option \\'items\\' in your options is equal to the number of slides. So the navigation got disabled');\n }\n }\n return result;\n }\n /**\n * Set current width of carousel\n * @param width width of carousel Window\n */\n setCarouselWidth(width) {\n this._width = width;\n }\n /**\n * Setups the current settings.\n * @todo Remove responsive classes. Why should adaptive designs be brought into IE8?\n * @todo Support for media queries by using `matchMedia` would be nice.\n * @param carouselWidth width of carousel\n * @param slides array of slides\n * @param options options set by user\n */\n setup(carouselWidth, slides, options) {\n this.setCarouselWidth(carouselWidth);\n this.setItems(slides);\n this._defineSlidesData();\n this.setOptions(options);\n this.settings = { ...this._options };\n this.setOptionsForViewport();\n this._trigger('change', { property: { name: 'settings', value: this.settings } });\n this.invalidate('settings'); // must be call of this function;\n this._trigger('changed', { property: { name: 'settings', value: this.settings } });\n }\n /**\n * Set options for current viewport\n */\n setOptionsForViewport() {\n const viewport = this._width, overwrites = this._options.responsive;\n let match = -1;\n if (!Object.keys(overwrites).length) {\n return;\n }\n if (!viewport) {\n this.settings.items = 1;\n return;\n }\n for (const key in overwrites) {\n if (overwrites.hasOwnProperty(key)) {\n if (+key <= viewport && +key > match) {\n match = Number(key);\n }\n }\n }\n this.settings = { ...this._options, ...overwrites[match], items: (overwrites[match] && overwrites[match].items) ? this._validateItems(overwrites[match].items, this._options.skip_validateItems) : this._options.items };\n // if (typeof this.settings.stagePadding === 'function') {\n // \tthis.settings.stagePadding = this.settings.stagePadding();\n // }\n delete this.settings.responsive;\n this.owlDOMData.isResponsive = true;\n this.owlDOMData.isMouseDragable = this.settings.mouseDrag;\n this.owlDOMData.isTouchDragable = this.settings.touchDrag;\n const mergers = [];\n this._items.forEach(item => {\n const mergeN = this.settings.merge ? item.dataMerge : 1;\n mergers.push(mergeN);\n });\n this._mergers = mergers;\n this._breakpoint = match;\n this.invalidate('settings');\n }\n /**\n * Initializes the carousel.\n * @param slides array of CarouselSlideDirective\n */\n initialize(slides) {\n this.enter('initializing');\n // this.trigger('initialize');\n this.owlDOMData.rtl = this.settings.rtl;\n if (this._mergers.length) {\n this._mergers = [];\n }\n slides.forEach(item => {\n const mergeN = this.settings.merge ? item.dataMerge : 1;\n this._mergers.push(mergeN);\n });\n this._clones = [];\n this.reset(this._isNumeric(this.settings.startPosition) ? +this.settings.startPosition : 0);\n this.invalidate('items');\n this.refresh();\n this.owlDOMData.isLoaded = true;\n this.owlDOMData.isMouseDragable = this.settings.mouseDrag;\n this.owlDOMData.isTouchDragable = this.settings.touchDrag;\n this.sendChanges();\n this.leave('initializing');\n this._trigger('initialized');\n }\n ;\n /**\n * Sends all data needed for View\n */\n sendChanges() {\n this._viewSettingsShipper$.next({\n owlDOMData: this.owlDOMData,\n stageData: this.stageData,\n slidesData: this.slidesData,\n navData: this.navData,\n dotsData: this.dotsData\n });\n }\n /**\n * Updates option logic if necessery\n */\n _optionsLogic() {\n if (this.settings.autoWidth) {\n this.settings.stagePadding = 0;\n this.settings.merge = false;\n }\n }\n /**\n * Updates the view\n */\n update() {\n let i = 0;\n const n = this._pipe.length, filter = item => this._invalidated[item], cache = {};\n while (i < n) {\n const filteredPipe = this._pipe[i].filter.filter(filter);\n if (this._invalidated.all || filteredPipe.length > 0) {\n this._pipe[i].run(cache);\n }\n i++;\n }\n this.slidesData.forEach(slide => slide.classes = this.setCurSlideClasses(slide));\n this.sendChanges();\n this._invalidated = {};\n if (!this.is('valid')) {\n this.enter('valid');\n }\n }\n /**\n * Gets the width of the view.\n * @param [dimension=Width.Default] The dimension to return\n * @returns The width of the view in pixel.\n */\n width(dimension) {\n dimension = dimension || Width.Default;\n switch (dimension) {\n case Width.Inner:\n case Width.Outer:\n return this._width;\n default:\n return this._width - this.settings.stagePadding * 2 + this.settings.margin;\n }\n }\n /**\n * Refreshes the carousel primarily for adaptive purposes.\n */\n refresh() {\n this.enter('refreshing');\n this._trigger('refresh');\n this._defineSlidesData();\n this.setOptionsForViewport();\n this._optionsLogic();\n // this.$element.addClass(this.options.refreshClass);\n this.update();\n // this.$element.removeClass(this.options.refreshClass);\n this.leave('refreshing');\n this._trigger('refreshed');\n }\n /**\n * Checks window `resize` event.\n * @param curWidth width of .owl-carousel\n */\n onResize(curWidth) {\n if (!this._items.length) {\n return false;\n }\n this.setCarouselWidth(curWidth);\n this.enter('resizing');\n // if (this.trigger('resize').isDefaultPrevented()) {\n // \tthis.leave('resizing');\n // \treturn false;\n // }\n this._trigger('resize');\n this.invalidate('width');\n this.refresh();\n this.leave('resizing');\n this._trigger('resized');\n }\n /**\n * Prepares data for dragging carousel. It starts after firing `touchstart` and `mousedown` events.\n * @todo Horizontal swipe threshold as option\n * @todo #261\n * @param event - The event arguments.\n * @returns stage - object with 'x' and 'y' coordinates of .owl-stage\n */\n prepareDragging(event) {\n let stage = null, transformArr;\n // could be 5 commented lines below; However there's stage transform in stageData and in updates after each move of stage\n // stage = getComputedStyle(this.el.nativeElement).transform.replace(/.*\\(|\\)| /g, '').split(',');\n // stage = {\n // x: stage[stage.length === 16 ? 12 : 4],\n // y: stage[stage.length === 16 ? 13 : 5]\n // };\n transformArr = this.stageData.transform.replace(/.*\\(|\\)| |[^,-\\d]\\w|\\)/g, '').split(',');\n stage = {\n x: +transformArr[0],\n y: +transformArr[1]\n };\n if (this.is('animating')) {\n this.invalidate('position');\n }\n if (event.type === 'mousedown') {\n this.owlDOMData.isGrab = true;\n }\n this.speed(0);\n return stage;\n }\n /**\n * Enters into a 'dragging' state\n */\n enterDragging() {\n this.enter('dragging');\n this._trigger('drag');\n }\n /**\n * Defines new coords for .owl-stage while dragging it\n * @todo #261\n * @param event the event arguments.\n * @param dragData initial data got after starting dragging\n * @returns coords or false\n */\n defineNewCoordsDrag(event, dragData) {\n let minimum = null, maximum = null, pull = null;\n const delta = this.difference(dragData.pointer, this.pointer(event)), stage = this.difference(dragData.stage.start, delta);\n if (!this.is('dragging')) {\n return false;\n }\n if (this.settings.loop) {\n minimum = this.coordinates(this.minimum());\n maximum = +this.coordinates(this.maximum() + 1) - minimum;\n stage.x = (((stage.x - minimum) % maximum + maximum) % maximum) + minimum;\n }\n else {\n minimum = this.settings.rtl ? this.coordinates(this.maximum()) : this.coordinates(this.minimum());\n maximum = this.settings.rtl ? this.coordinates(this.minimum()) : this.coordinates(this.maximum());\n pull = this.settings.pullDrag ? -1 * delta.x / 5 : 0;\n stage.x = Math.max(Math.min(stage.x, minimum + pull), maximum + pull);\n }\n return stage;\n }\n /**\n * Finishes dragging of carousel when `touchend` and `mouseup` events fire.\n * @todo #261\n * @todo Threshold for click event\n * @param event the event arguments.\n * @param dragObj the object with dragging settings and states\n * @param clickAttacher function which attaches click handler to slide or its children elements in order to prevent event bubling\n */\n finishDragging(event, dragObj, clickAttacher) {\n const directions = ['right', 'left'], delta = this.difference(dragObj.pointer, this.pointer(event)), stage = dragObj.stage.current, direction = directions[+(this.settings.rtl ? delta.x < +this.settings.rtl : delta.x > +this.settings.rtl)];\n let currentSlideI, current, newCurrent;\n if (delta.x !== 0 && this.is('dragging') || !this.is('valid')) {\n this.speed(+this.settings.dragEndSpeed || this.settings.smartSpeed);\n currentSlideI = this.closest(stage.x, delta.x !== 0 ? direction : dragObj.direction);\n current = this.current();\n newCurrent = this.current(currentSlideI === -1 ? undefined : currentSlideI);\n if (current !== newCurrent) {\n this.invalidate('position');\n this.update();\n }\n dragObj.direction = direction;\n if (Math.abs(delta.x) > 3 || new Date().getTime() - dragObj.time > 300) {\n clickAttacher();\n }\n }\n if (!this.is('dragging')) {\n return;\n }\n this.leave('dragging');\n this._trigger('dragged');\n }\n /**\n * Gets absolute position of the closest item for a coordinate.\n * @todo Setting `freeDrag` makes `closest` not reusable. See #165.\n * @param coordinate The coordinate in pixel.\n * @param direction The direction to check for the closest item. Ether `left` or `right`.\n * @returns The absolute position of the closest item.\n */\n closest(coordinate, direction) {\n const pull = 30, width = this.width();\n let coordinates = this.coordinates(), position = -1;\n if (this.settings.center) {\n coordinates = coordinates.map(item => {\n if (item === 0) {\n item += 0.000001;\n }\n return item;\n });\n }\n // option 'freeDrag' doesn't have realization and using it here creates problem:\n // variable 'position' stays unchanged (it equals -1 at the begging) and thus method returns -1\n // Returning value is consumed by method current(), which taking -1 as argument calculates the index of new current slide\n // In case of having 5 slides ans 'loop=false; calling 'current(-1)' sets props '_current' as 4. Just last slide remains visible instead of 3 last slides.\n // if (!this.settings.freeDrag) {\n // check closest item\n for (let i = 0; i < coordinates.length; i++) {\n if (direction === 'left' && coordinate > coordinates[i] - pull && coordinate < coordinates[i] + pull) {\n position = i;\n // on a right pull, check on previous index\n // to do so, subtract width from value and set position = index + 1\n }\n else if (direction === 'right' && coordinate > coordinates[i] - width - pull && coordinate < coordinates[i] - width + pull) {\n position = i + 1;\n }\n else if (this._op(coordinate, '<', coordinates[i])\n && this._op(coordinate, '>', coordinates[i + 1] || coordinates[i] - width)) {\n position = direction === 'left' ? i + 1 : i;\n }\n else if (direction === null && coordinate > coordinates[i] - pull && coordinate < coordinates[i] + pull) {\n position = i;\n }\n if (position !== -1) {\n break;\n }\n ;\n }\n // }\n if (!this.settings.loop) {\n // non loop boundries\n if (this._op(coordinate, '>', coordinates[this.minimum()])) {\n position = coordinate = this.minimum();\n }\n else if (this._op(coordinate, '<', coordinates[this.maximum()])) {\n position = coordinate = this.maximum();\n }\n }\n return position;\n }\n /**\n * Animates the stage.\n * @todo #270\n * @param coordinate The coordinate in pixels.\n */\n animate(coordinate) {\n const animate = this.speed() > 0;\n if (this.is('animating')) {\n this.onTransitionEnd();\n }\n if (animate) {\n this.enter('animating');\n this._trigger('translate');\n }\n this.stageData.transform = 'translate3d(' + coordinate + 'px,0px,0px)';\n this.stageData.transition = (this.speed() / 1000) + 's' + (this.settings.slideTransition ? ' ' + this.settings.slideTransition : '');\n // also there was transition by means of JQuery.animate or css-changing property left\n }\n /**\n * Checks whether the carousel is in a specific state or not.\n * @param state The state to check.\n * @returns The flag which indicates if the carousel is busy.\n */\n is(state) {\n return this._states.current[state] && this._states.current[state] > 0;\n }\n ;\n /**\n * Sets the absolute position of the current item.\n * @param position The new absolute position or nothing to leave it unchanged.\n * @returns The absolute position of the current item.\n */\n current(position) {\n if (position === undefined) {\n return this._current;\n }\n if (this._items.length === 0) {\n return undefined;\n }\n position = this.normalize(position);\n if (this._current !== position) {\n const event = this._trigger('change', { property: { name: 'position', value: position } });\n // if (event.data !== undefined) {\n // \tposition = this.normalize(event.data);\n // }\n this._current = position;\n this.invalidate('position');\n this._trigger('changed', { property: { name: 'position', value: this._current } });\n }\n return this._current;\n }\n /**\n * Invalidates the given part of the update routine.\n * @param part The part to invalidate.\n * @returns The invalidated parts.\n */\n invalidate(part) {\n if (typeof part === 'string') {\n this._invalidated[part] = true;\n if (this.is('valid')) {\n this.leave('valid');\n }\n }\n return Object.keys(this._invalidated);\n }\n ;\n /**\n * Resets the absolute position of the current item.\n * @param position the absolute position of the new item.\n */\n reset(position) {\n position = this.normalize(position);\n if (position === undefined) {\n return;\n }\n this._speed = 0;\n this._current = position;\n this._suppress(['translate', 'translated']);\n this.animate(this.coordinates(position));\n this._release(['translate', 'translated']);\n }\n /**\n * Normalizes an absolute or a relative position of an item.\n * @param position The absolute or relative position to normalize.\n * @param relative Whether the given position is relative or not.\n * @returns The normalized position.\n */\n normalize(position, relative) {\n const n = this._items.length, m = relative ? 0 : this._clones.length;\n if (!this._isNumeric(position) || n < 1) {\n position = undefined;\n }\n else if (position < 0 || position >= n + m) {\n position = ((position - m / 2) % n + n) % n + m / 2;\n }\n return position;\n }\n /**\n * Converts an absolute position of an item into a relative one.\n * @param position The absolute position to convert.\n * @returns The converted position.\n */\n relative(position) {\n position -= this._clones.length / 2;\n return this.normalize(position, true);\n }\n /**\n * Gets the maximum position for the current item.\n * @param relative Whether to return an absolute position or a relative position.\n * @returns number of maximum position\n */\n maximum(relative = false) {\n const settings = this.settings;\n let maximum = this._coordinates.length, iterator, reciprocalItemsWidth, elementWidth;\n if (settings.loop) {\n maximum = this._clones.length / 2 + this._items.length - 1;\n }\n else if (settings.autoWidth || settings.merge) {\n iterator = this._items.length;\n reciprocalItemsWidth = this.slidesData[--iterator].width;\n elementWidth = this._width;\n while (iterator-- > 0) {\n // it could be use this._items instead of this.slidesData;\n reciprocalItemsWidth += +this.slidesData[iterator].width + this.settings.margin;\n if (reciprocalItemsWidth > elementWidth) {\n break;\n }\n }\n maximum = iterator + 1;\n }\n else if (settings.center) {\n maximum = this._items.length - 1;\n }\n else {\n maximum = this._items.length - settings.items;\n }\n if (relative) {\n maximum -= this._clones.length / 2;\n }\n return Math.max(maximum, 0);\n }\n /**\n * Gets the minimum position for the current item.\n * @param relative Whether to return an absolute position or a relative position.\n * @returns number of minimum position\n */\n minimum(relative = false) {\n return relative ? 0 : this._clones.length / 2;\n }\n /**\n * Gets an item at the specified relative position.\n * @param position The relative position of the item.\n * @returns The item at the given position or all items if no position was given.\n */\n items(position) {\n if (position === undefined) {\n return this._items.slice();\n }\n position = this.normalize(position, true);\n return [this._items[position]];\n }\n /**\n * Gets an item at the specified relative position.\n * @param position The relative position of the item.\n * @returns The item at the given position or all items if no position was given.\n */\n mergers(position) {\n if (position === undefined) {\n return this._mergers.slice();\n }\n position = this.normalize(position, true);\n return this._mergers[position];\n }\n /**\n * Gets the absolute positions of clones for an item.\n * @param position The relative position of the item.\n * @returns The absolute positions of clones for the item or all if no position was given.\n */\n clones(position) {\n const odd = this._clones.length / 2, even = odd + this._items.length, map = index => index % 2 === 0 ? even + index / 2 : odd - (index + 1) / 2;\n if (position === undefined) {\n return this._clones.map((v, i) => map(i));\n }\n return this._clones.map((v, i) => v === position ? map(i) : null).filter(item => item);\n }\n /**\n * Sets the current animation speed.\n * @param speed The animation speed in milliseconds or nothing to leave it unchanged.\n * @returns The current animation speed in milliseconds.\n */\n speed(speed) {\n if (speed !== undefined) {\n this._speed = speed;\n }\n return this._speed;\n }\n /**\n * Gets the coordinate of an item.\n * @todo The name of this method is missleanding.\n * @param position The absolute position of the item within `minimum()` and `maximum()`.\n * @returns The coordinate of the item in pixel or all coordinates.\n */\n coordinates(position) {\n let multiplier = 1, newPosition = position - 1, coordinate, result;\n if (position === undefined) {\n result = this._coordinates.map((item, index) => {\n return this.coordinates(index);\n });\n return result;\n }\n if (this.settings.center) {\n if (this.settings.rtl) {\n multiplier = -1;\n newPosition = position + 1;\n }\n coordinate = this._coordinates[position];\n coordinate += (this.width() - coordinate + (this._coordinates[newPosition] || 0)) / 2 * multiplier;\n }\n else {\n coordinate = this._coordinates[newPosition] || 0;\n }\n coordinate = Math.ceil(coordinate);\n return coordinate;\n }\n /**\n * Calculates the speed for a translation.\n * @param from The absolute position of the start item.\n * @param to The absolute position of the target item.\n * @param factor [factor=undefined] - The time factor in milliseconds.\n * @returns The time in milliseconds for the translation.\n */\n _duration(from, to, factor) {\n if (factor === 0) {\n return 0;\n }\n return Math.min(Math.max(Math.abs(to - from), 1), 6) * Math.abs((+factor || this.settings.smartSpeed));\n }\n /**\n * Slides to the specified item.\n * @param position The position of the item.\n * @param speed The time in milliseconds for the transition.\n */\n to(position, speed) {\n let current = this.current(), revert = null, distance = position - this.relative(current), maximum = this.maximum(), delayForLoop = 0;\n const direction = +(distance > 0) - +(distance < 0), items = this._items.length, minimum = this.minimum();\n if (this.settings.loop) {\n if (!this.settings.rewind && Math.abs(distance) > items / 2) {\n distance += direction * -1 * items;\n }\n position = current + distance;\n revert = ((position - minimum) % items + items) % items + minimum;\n if (revert !== position && revert - distance <= maximum && revert - distance > 0) {\n current = revert - distance;\n position = revert;\n delayForLoop = 30;\n this.reset(current);\n this.sendChanges();\n }\n }\n else if (this.settings.rewind) {\n maximum += 1;\n position = (position % maximum + maximum) % maximum;\n }\n else {\n position = Math.max(minimum, Math.min(maximum, position));\n }\n setTimeout(() => {\n this.speed(this._duration(current, position, speed));\n this.current(position);\n this.update();\n }, delayForLoop);\n }\n /**\n * Slides to the next item.\n * @param speed The time in milliseconds for the transition.\n */\n next(speed) {\n speed = speed || false;\n this.to(this.relative(this.current()) + 1, speed);\n }\n /**\n * Slides to the previous item.\n * @param speed The time in milliseconds for the transition.\n */\n prev(speed) {\n speed = speed || false;\n this.to(this.relative(this.current()) - 1, speed);\n }\n /**\n * Handles the end of an animation.\n * @param event - The event arguments.\n */\n onTransitionEnd(event) {\n // if css2 animation then event object is undefined\n if (event !== undefined) {\n // event.stopPropagation();\n // // Catch only owl-stage transitionEnd event\n // if ((event.target || event.srcElement || event.originalTarget) !== this.$stage.get(0)\t) {\n // \treturn false;\n // }\n return false;\n }\n this.leave('animating');\n this._trigger('translated');\n }\n /**\n * Gets viewport width.\n * @returns - The width in pixel.\n */\n _viewport() {\n let width;\n if (this._width) {\n width = this._width;\n }\n else {\n this.logger.log('Can not detect viewport width.');\n }\n return width;\n }\n /**\n * Sets _items\n * @param content The list of slides put into CarouselSlideDirectives.\n */\n setItems(content) {\n this._items = content;\n }\n /**\n * Sets slidesData using this._items\n */\n _defineSlidesData() {\n // Maybe creating and using loadMap would be better in LazyLoadService.\n // Hovewer in that case when 'resize' event fires, prop 'load' of all slides will get 'false' and such state of prop will be seen by View during its updating. Accordingly the code will remove slides's content from DOM even if it was loaded before.\n // Thus it would be needed to add that content into DOM again.\n // In order to avoid additional removing/adding loaded slides's content we use loadMap here and set restore state of prop 'load' before the View will get it.\n let loadMap;\n if (this.slidesData && this.slidesData.length) {\n loadMap = new Map();\n this.slidesData.forEach(item => {\n if (item.load) {\n loadMap.set(item.id, item.load);\n }\n });\n }\n this.slidesData = this._items.map(slide => {\n return {\n id: `${slide.id}`,\n isActive: false,\n tplRef: slide.tplRef,\n dataMerge: slide.dataMerge,\n width: 0,\n isCloned: false,\n load: loadMap ? loadMap.get(slide.id) : false,\n hashFragment: slide.dataHash\n };\n });\n }\n /**\n * Sets current classes for slide\n * @param slide Slide of carousel\n * @returns object with names of css-classes which are keys and true/false values\n */\n setCurSlideClasses(slide) {\n // CSS classes: added/removed per current state of component properties\n const currentClasses = {\n 'active': slide.isActive,\n 'center': slide.isCentered,\n 'cloned': slide.isCloned,\n 'animated': slide.isAnimated,\n 'owl-animated-in': slide.isDefAnimatedIn,\n 'owl-animated-out': slide.isDefAnimatedOut\n };\n if (this.settings.animateIn) {\n currentClasses[this.settings.animateIn] = slide.isCustomAnimatedIn;\n }\n if (this.settings.animateOut) {\n currentClasses[this.settings.animateOut] = slide.isCustomAnimatedOut;\n }\n return currentClasses;\n }\n /**\n * Operators to calculate right-to-left and left-to-right.\n * @param a - The left side operand.\n * @param o - The operator.\n * @param b - The right side operand.\n * @returns true/false meaning right-to-left or left-to-right\n */\n _op(a, o, b) {\n const rtl = this.settings.rtl;\n switch (o) {\n case '<':\n return rtl ? a > b : a < b;\n case '>':\n return rtl ? a < b : a > b;\n case '>=':\n return rtl ? a <= b : a >= b;\n case '<=':\n return rtl ? a >= b : a <= b;\n default:\n break;\n }\n }\n /**\n * Triggers a public event.\n * @todo Remove `status`, `relatedTarget` should be used instead.\n * @param name The event name.\n * @param data The event data.\n * @param namespace The event namespace.\n * @param state The state which is associated with the event.\n * @param enter Indicates if the call enters the specified state or not.\n */\n _trigger(name, data, namespace, state, enter) {\n switch (name) {\n case 'initialized':\n this._initializedCarousel$.next(name);\n break;\n case 'change':\n this._changeSettingsCarousel$.next(data);\n break;\n case 'changed':\n this._changedSettingsCarousel$.next(data);\n break;\n case 'drag':\n this._dragCarousel$.next(name);\n break;\n case 'dragged':\n this._draggedCarousel$.next(name);\n break;\n case 'resize':\n this._resizeCarousel$.next(name);\n break;\n case 'resized':\n this._resizedCarousel$.next(name);\n break;\n case 'refresh':\n this._refreshCarousel$.next(name);\n break;\n case 'refreshed':\n this._refreshedCarousel$.next(name);\n break;\n case 'translate':\n this._translateCarousel$.next(name);\n break;\n case 'translated':\n this._translatedCarousel$.next(name);\n break;\n default:\n break;\n }\n }\n /**\n * Enters a state.\n * @param name - The state name.\n */\n enter(name) {\n [name].concat(this._states.tags[name] || []).forEach((stateName) => {\n if (this._states.current[stateName] === undefined) {\n this._states.current[stateName] = 0;\n }\n this._states.current[stateName]++;\n });\n }\n ;\n /**\n * Leaves a state.\n * @param name - The state name.\n */\n leave(name) {\n [name].concat(this._states.tags[name] || []).forEach((stateName) => {\n if (this._states.current[stateName] === 0 || !!this._states.current[stateName]) {\n this._states.current[stateName]--;\n }\n });\n }\n ;\n /**\n * Registers an event or state.\n * @param object - The event or state to register.\n */\n register(object) {\n if (object.type === Type.State) {\n if (!this._states.tags[object.name]) {\n this._states.tags[object.name] = object.tags;\n }\n else {\n this._states.tags[object.name] = this._states.tags[object.name].concat(object.tags);\n }\n this._states.tags[object.name] = this._states.tags[object.name].filter((tag, i) => {\n return this._states.tags[object.name].indexOf(tag) === i;\n });\n }\n }\n /**\n * Suppresses events.\n * @param events The events to suppress.\n */\n _suppress(events) {\n events.forEach(event => {\n this._supress[event] = true;\n });\n }\n /**\n * Releases suppressed events.\n * @param events The events to release.\n */\n _release(events) {\n events.forEach(event => {\n delete this._supress[event];\n });\n }\n /**\n * Gets unified pointer coordinates from event.\n * @todo #261\n * @param event The `mousedown` or `touchstart` event.\n * @returns Object Coords which contains `x` and `y` coordinates of current pointer position.\n */\n pointer(event) {\n const result = { x: null, y: null };\n event = event.originalEvent || event || window.event;\n event = event.touches && event.touches.length ?\n event.touches[0] : event.changedTouches && event.changedTouches.length ?\n event.changedTouches[0] : event;\n if (event.pageX) {\n result.x = event.pageX;\n result.y = event.pageY;\n }\n else {\n result.x = event.clientX;\n result.y = event.clientY;\n }\n return result;\n }\n /**\n * Determines if the input is a Number or something that can be coerced to a Number\n * @param number The input to be tested\n * @returns An indication if the input is a Number or can be coerced to a Number\n */\n _isNumeric(number) {\n return !isNaN(parseFloat(number));\n }\n /**\n * Determines whether value is number or boolean type\n * @param value The input to be tested\n * @returns An indication if the input is a Number or can be coerced to a Number, or Boolean\n */\n _isNumberOrBoolean(value) {\n return this._isNumeric(value) || typeof value === 'boolean';\n }\n /**\n * Determines whether value is number or string type\n * @param value The input to be tested\n * @returns An indication if the input is a Number or can be coerced to a Number, or String\n */\n _isNumberOrString(value) {\n return this._isNumeric(value) || typeof value === 'string';\n }\n /**\n * Determines whether value is number or string type\n * @param value The input to be tested\n * @returns An indication if the input is a Number or can be coerced to a Number, or String\n */\n _isStringOrBoolean(value) {\n return typeof value === 'string' || typeof value === 'boolean';\n }\n /**\n * Gets the difference of two vectors.\n * @todo #261\n * @param first The first vector.\n * @param second The second vector.\n * @returns The difference.\n */\n difference(first, second) {\n if (null === first || null === second) {\n return {\n x: 0,\n y: 0,\n };\n }\n return {\n x: first.x - second.x,\n y: first.y - second.y\n };\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselService, deps: [{ token: OwlLogger }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: OwlLogger }] });\n\nclass NavigationService {\n carouselService;\n /**\n * Subscrioption to merge Observable from CarouselService\n */\n navSubscription;\n /**\n * Indicates whether the plugin is initialized or not.\n */\n _initialized = false;\n /**\n * The current paging indexes.\n */\n _pages = [];\n /**\n * Data for navigation elements of the user interface.\n */\n _navData = {\n disabled: false,\n prev: {\n disabled: false,\n htmlText: ''\n },\n next: {\n disabled: false,\n htmlText: ''\n },\n };\n /**\n * Data for dot elements of the user interface.\n */\n _dotsData = {\n disabled: false,\n dots: []\n };\n constructor(carouselService) {\n this.carouselService = carouselService;\n this.spyDataStreams();\n }\n ngOnDestroy() {\n this.navSubscription.unsubscribe();\n }\n /**\n * Defines Observables which service must observe\n */\n spyDataStreams() {\n const initializedCarousel$ = this.carouselService.getInitializedState().pipe(tap(state => {\n this.initialize();\n this._updateNavPages();\n this.draw();\n this.update();\n this.carouselService.sendChanges();\n }));\n // mostly changes in carouselService and carousel at all causes carouselService.to(). It moves stage right-left by its code and calling needed functions\n // Thus this method by calling carouselService.current(position) notifies about changes\n const changedSettings$ = this.carouselService.getChangedState().pipe(filter(data => data.property.name === 'position'), tap(data => {\n this.update();\n // should be the call of the function written at the end of comment\n // but the method carouselServive.to() has setTimeout(f, 0) which contains carouselServive.update() which calls sendChanges() method.\n // carouselService.navData and carouselService.dotsData update earlier than carouselServive.update() gets called\n // updates of carouselService.navData and carouselService.dotsData are being happening withing carouselService.current(position) method which calls next() of _changedSettingsCarousel$\n // carouselService.current(position) is being calling earlier than carouselServive.update();\n // this.carouselService.sendChanges();\n }));\n const refreshedCarousel$ = this.carouselService.getRefreshedState().pipe(tap(() => {\n this._updateNavPages();\n this.draw();\n this.update();\n this.carouselService.sendChanges();\n }));\n const navMerge$ = merge(initializedCarousel$, changedSettings$, refreshedCarousel$);\n this.navSubscription = navMerge$.subscribe(() => { });\n }\n /**\n * Initializes the layout of the plugin and extends the carousel.\n */\n initialize() {\n this._navData.disabled = true;\n this._navData.prev.htmlText = this.carouselService.settings.navText[0];\n this._navData.next.htmlText = this.carouselService.settings.navText[1];\n this._dotsData.disabled = true;\n this.carouselService.navData = this._navData;\n this.carouselService.dotsData = this._dotsData;\n }\n /**\n * Calculates internal states and updates prop _pages\n */\n _updateNavPages() {\n let i, j, k;\n const lower = this.carouselService.clones().length / 2, upper = lower + this.carouselService.items().length, maximum = this.carouselService.maximum(true), pages = [], settings = this.carouselService.settings;\n let size = settings.center || settings.autoWidth || settings.dotsData\n ? 1 : Math.floor(Number(settings.dotsEach)) || Math.floor(settings.items);\n size = +size;\n if (settings.slideBy !== 'page') {\n settings.slideBy = Math.min(+settings.slideBy, settings.items);\n }\n if (settings.dots || settings.slideBy === 'page') {\n for (i = lower, j = 0, k = 0; i < upper; i++) {\n if (j >= size || j === 0) {\n pages.push({\n start: Math.min(maximum, i - lower),\n end: i - lower + size - 1\n });\n if (Math.min(maximum, i - lower) === maximum) {\n break;\n }\n j = 0, ++k;\n }\n j += this.carouselService.mergers(this.carouselService.relative(i));\n }\n }\n this._pages = pages;\n }\n /**\n * Draws the user interface.\n * @todo The option `dotsData` wont work.\n */\n draw() {\n let difference;\n const settings = this.carouselService.settings, items = this.carouselService.items(), disabled = items.length <= settings.items;\n this._navData.disabled = !settings.nav || disabled;\n this._dotsData.disabled = !settings.dots || disabled;\n if (settings.dots) {\n difference = this._pages.length - this._dotsData.dots.length;\n if (settings.dotsData && difference !== 0) {\n this._dotsData.dots = [];\n items.forEach(item => {\n this._dotsData.dots.push({\n active: false,\n id: `dot-${item.id}`,\n innerContent: item.dotContent,\n showInnerContent: true\n });\n });\n }\n else if (difference > 0) {\n const startI = this._dotsData.dots.length > 0 ? this._dotsData.dots.length : 0;\n for (let i = 0; i < difference; i++) {\n this._dotsData.dots.push({\n active: false,\n id: `dot-${i + startI}`,\n innerContent: '',\n showInnerContent: false\n });\n }\n }\n else if (difference < 0) {\n this._dotsData.dots.splice(difference, Math.abs(difference));\n }\n }\n this.carouselService.navData = this._navData;\n this.carouselService.dotsData = this._dotsData;\n }\n ;\n /**\n * Updates navigation buttons's and dots's states\n */\n update() {\n this._updateNavButtons();\n this._updateDots();\n }\n /**\n * Changes state of nav buttons (disabled, enabled)\n */\n _updateNavButtons() {\n const settings = this.carouselService.settings, loop = settings.loop || settings.rewind, index = this.carouselService.relative(this.carouselService.current());\n if (settings.nav) {\n this._navData.prev.disabled = !loop && index <= this.carouselService.minimum(true);\n this._navData.next.disabled = !loop && index >= this.carouselService.maximum(true);\n }\n this.carouselService.navData = this._navData;\n }\n /**\n * Changes active dot if page becomes changed\n */\n _updateDots() {\n let curActiveDotI;\n if (!this.carouselService.settings.dots) {\n return;\n }\n this._dotsData.dots.forEach(item => {\n if (item.active === true) {\n item.active = false;\n }\n });\n curActiveDotI = this._current();\n if (this._dotsData.dots.length) {\n this._dotsData.dots[curActiveDotI].active = true;\n }\n this.carouselService.dotsData = this._dotsData;\n }\n /**\n * Gets the current page position of the carousel.\n * @returns the current page position of the carousel\n */\n _current() {\n const current = this.carouselService.relative(this.carouselService.current());\n let finalCurrent;\n const pages = this._pages.filter((page, index) => {\n return page.start <= current && page.end >= current;\n }).pop();\n finalCurrent = this._pages.findIndex(page => {\n return page.start === pages.start && page.end === pages.end;\n });\n return finalCurrent;\n }\n ;\n /**\n * Gets the current succesor/predecessor position.\n * @param sussessor position of slide\n * @returns the current succesor/predecessor position\n */\n _getPosition(successor) {\n let position, length;\n const settings = this.carouselService.settings;\n if (settings.slideBy === 'page') {\n position = this._current();\n length = this._pages.length;\n successor ? ++position : --position;\n position = this._pages[((position % length) + length) % length].start;\n }\n else {\n position = this.carouselService.relative(this.carouselService.current());\n length = this.carouselService.items().length;\n successor ? position += +settings.slideBy : position -= +settings.slideBy;\n }\n return position;\n }\n ;\n /**\n * Slides to the next item or page.\n * @param speed The time in milliseconds for the transition.\n */\n next(speed) {\n this.carouselService.to(this._getPosition(true), speed);\n }\n ;\n /**\n * Slides to the previous item or page.\n * @param speed The time in milliseconds for the transition.\n */\n prev(speed) {\n this.carouselService.to(this._getPosition(false), speed);\n }\n ;\n /**\n * Slides to the specified item or page.\n * @param position - The position of the item or page.\n * @param speed - The time in milliseconds for the transition.\n * @param standard - Whether to use the standard behaviour or not. Default meaning false\n */\n to(position, speed, standard) {\n let length;\n if (!standard && this._pages.length) {\n length = this._pages.length;\n this.carouselService.to(this._pages[((position % length) + length) % length].start, speed);\n }\n else {\n this.carouselService.to(position, speed);\n }\n }\n ;\n /**\n * Moves carousel after user's clicking on any dots\n */\n moveByDot(dotId) {\n const index = this._dotsData.dots.findIndex(dot => dotId === dot.id);\n this.to(index, this.carouselService.settings.dotsSpeed);\n }\n /**\n * rewinds carousel to slide with needed id\n * @param id id of slide\n */\n toSlideById(id) {\n const position = this.carouselService.slidesData.findIndex(slide => slide.id === id && slide.isCloned === false);\n if (position === -1 || position === this.carouselService.current()) {\n return;\n }\n this.carouselService.to(this.carouselService.relative(position), false);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: NavigationService, deps: [{ token: CarouselService }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: NavigationService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: NavigationService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: CarouselService }] });\n\n// import { Injectable } from '@angular/core';\n// function _window(): any {\n// // return the global native browser window object\n// return window;\n// }\n// @Injectable()\n// export class WindowRefService {\n// get nativeWindow(): any {\n// return _window();\n// }\n// }\n/**\n * Create a new injection token for injecting the window into a component.\n */\nconst WINDOW = new InjectionToken('WindowToken');\n/**\n * Define abstract class for obtaining reference to the global window object.\n */\nclass WindowRef {\n get nativeWindow() {\n throw new Error('Not implemented.');\n }\n}\n/**\n * Define class that implements the abstract class and returns the native window object.\n */\nclass BrowserWindowRef extends WindowRef {\n constructor() {\n super();\n }\n /**\n * @returns window object\n */\n get nativeWindow() {\n return window;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: BrowserWindowRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: BrowserWindowRef });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: BrowserWindowRef, decorators: [{\n type: Injectable\n }], ctorParameters: () => [] });\n/**\n * Create an factory function that returns the native window object.\n * @param browserWindowRef Native window object\n * @param platformId id of platform\n * @returns type of platform of empty object\n */\nfunction windowFactory(browserWindowRef, platformId) {\n if (isPlatformBrowser(platformId)) {\n return browserWindowRef.nativeWindow;\n }\n const obj = {\n setTimeout: (func, time) => { },\n clearTimeout: (a) => { }\n };\n return obj;\n}\n/**\n * Create a injectable provider for the WindowRef token that uses the BrowserWindowRef class.\n */\nconst browserWindowProvider = {\n provide: WindowRef,\n useClass: BrowserWindowRef\n};\n/**\n * Create an injectable provider that uses the windowFactory function for returning the native window object.\n */\nconst windowProvider = {\n provide: WINDOW,\n useFactory: windowFactory,\n deps: [WindowRef, PLATFORM_ID]\n};\n/**\n * Create an array of providers.\n */\nconst WINDOW_PROVIDERS = [browserWindowProvider, windowProvider];\n\n/**\n * Create a new injection token for injecting the Document into a component.\n */\nconst DOCUMENT = new InjectionToken('DocumentToken');\n/**\n * Define abstract class for obtaining reference to the global Document object.\n */\nclass DocumentRef {\n get nativeDocument() {\n throw new Error('Not implemented.');\n }\n}\n/**\n * Define class that implements the abstract class and returns the native Document object.\n */\nclass BrowserDocumentRef extends DocumentRef {\n constructor() {\n super();\n }\n /**\n * @returns Document object\n */\n get nativeDocument() {\n return document;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: BrowserDocumentRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: BrowserDocumentRef });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: BrowserDocumentRef, decorators: [{\n type: Injectable\n }], ctorParameters: () => [] });\n/**\n * Create an factory function that returns the native Document object.\n * @param browserDocumentRef Native Document object\n * @param platformId id of platform\n * @returns type of platform of empty object\n */\nfunction documentFactory(browserDocumentRef, platformId) {\n if (isPlatformBrowser(platformId)) {\n return browserDocumentRef.nativeDocument;\n }\n const doc = {\n hidden: false,\n visibilityState: 'visible'\n };\n return doc;\n}\n/**\n * Create a injectable provider for the DocumentRef token that uses the BrowserDocumentRef class.\n */\nconst browserDocumentProvider = {\n provide: DocumentRef,\n useClass: BrowserDocumentRef\n};\n/**\n * Create an injectable provider that uses the DocumentFactory function for returning the native Document object.\n */\nconst documentProvider = {\n provide: DOCUMENT,\n useFactory: documentFactory,\n deps: [DocumentRef, PLATFORM_ID]\n};\n/**\n * Create an array of providers.\n */\nconst DOCUMENT_PROVIDERS = [browserDocumentProvider, documentProvider];\n\nclass AutoplayService {\n carouselService;\n ngZone;\n /**\n * Subscrioption to merge Observables from CarouselService\n */\n autoplaySubscription;\n /**\n * The autoplay timeout.\n */\n _timeout = null;\n /**\n * Indicates whenever the autoplay is paused.\n */\n _paused = false;\n /**\n * Shows whether the code (the plugin) changed the option 'AutoplayTimeout' for own needs\n */\n _isArtificialAutoplayTimeout;\n /**\n * Shows whether the autoplay is paused for unlimited time by the developer.\n * Use to prevent autoplaying in case of firing `mouseleave` by adding layers to `` like `mat-menu` does\n */\n _isAutoplayStopped = false;\n get isAutoplayStopped() {\n return this._isAutoplayStopped;\n }\n set isAutoplayStopped(value) {\n this._isAutoplayStopped = value;\n }\n winRef;\n docRef;\n constructor(carouselService, winRef, docRef, ngZone) {\n this.carouselService = carouselService;\n this.ngZone = ngZone;\n this.winRef = winRef;\n this.docRef = docRef;\n this.spyDataStreams();\n }\n ngOnDestroy() {\n this.autoplaySubscription.unsubscribe();\n }\n /**\n * Defines Observables which service must observe\n */\n spyDataStreams() {\n const initializedCarousel$ = this.carouselService.getInitializedState().pipe(tap(() => {\n if (this.carouselService.settings.autoplay) {\n this.play();\n }\n }));\n const changedSettings$ = this.carouselService.getChangedState().pipe(tap(data => {\n this._handleChangeObservable(data);\n }));\n const resized$ = this.carouselService.getResizedState().pipe(tap(() => {\n if (this.carouselService.settings.autoplay && !this._isAutoplayStopped) {\n this.play();\n }\n else {\n this.stop();\n }\n }));\n // original Autoplay Plugin has listeners on play.owl.core and stop.owl.core events.\n // They are triggered by Video Plugin\n const autoplayMerge$ = merge(initializedCarousel$, changedSettings$, resized$);\n this.autoplaySubscription = autoplayMerge$.subscribe(() => { });\n }\n /**\n * Starts the autoplay.\n * @param timeout The interval before the next animation starts.\n * @param speed The animation speed for the animations.\n */\n play(timeout, speed) {\n if (this._paused) {\n this._paused = false;\n this._setAutoPlayInterval(this.carouselService.settings.autoplayMouseleaveTimeout);\n }\n if (this.carouselService.is('rotating')) {\n return;\n }\n this.carouselService.enter('rotating');\n this._setAutoPlayInterval();\n }\n ;\n /**\n * Gets a new timeout\n * @param timeout - The interval before the next animation starts.\n * @param speed - The animation speed for the animations.\n * @return\n */\n _getNextTimeout(timeout, speed) {\n if (this._timeout) {\n this.winRef.clearTimeout(this._timeout);\n }\n this._isArtificialAutoplayTimeout = timeout ? true : false;\n return this.ngZone.runOutsideAngular(() => {\n return this.winRef.setTimeout(() => {\n this.ngZone.run(() => {\n if (this._paused || this.carouselService.is('busy') || this.carouselService.is('interacting') || this.docRef.hidden) {\n return;\n }\n this.carouselService.next(speed || this.carouselService.settings.autoplaySpeed);\n });\n }, timeout || this.carouselService.settings.autoplayTimeout);\n });\n }\n ;\n /**\n * Sets autoplay in motion.\n */\n _setAutoPlayInterval(timeout) {\n this._timeout = this._getNextTimeout(timeout);\n }\n ;\n /**\n * Stops the autoplay.\n */\n stop() {\n if (!this.carouselService.is('rotating')) {\n return;\n }\n this._paused = true;\n this.winRef.clearTimeout(this._timeout);\n this.carouselService.leave('rotating');\n }\n ;\n /**\n * Stops the autoplay.\n */\n pause() {\n if (!this.carouselService.is('rotating')) {\n return;\n }\n this._paused = true;\n }\n ;\n /**\n * Manages by autoplaying according to data passed by _changedSettingsCarousel$ Obsarvable\n * @param data object with current position of carousel and type of change\n */\n _handleChangeObservable(data) {\n if (data.property.name === 'settings') {\n if (this.carouselService.settings.autoplay) {\n this.play();\n }\n else {\n this.stop();\n }\n }\n else if (data.property.name === 'position') {\n //console.log('play?', e);\n if (this.carouselService.settings.autoplay) {\n this._setAutoPlayInterval();\n }\n }\n }\n /**\n * Starts autoplaying of the carousel in the case when user leaves the carousel before it starts translateing (moving)\n */\n _playAfterTranslated() {\n of('translated').pipe(switchMap(data => this.carouselService.getTranslatedState()), first(), filter(() => this._isArtificialAutoplayTimeout), tap(() => this._setAutoPlayInterval())).subscribe(() => { });\n }\n /**\n * Starts pausing\n */\n startPausing() {\n if (this.carouselService.settings.autoplayHoverPause && this.carouselService.is('rotating')) {\n this.pause();\n }\n }\n /**\n * Starts playing after mouse leaves carousel\n */\n startPlayingMouseLeave() {\n if (this.carouselService.settings.autoplayHoverPause && this.carouselService.is('rotating')) {\n this.play();\n this._playAfterTranslated();\n }\n }\n /**\n * Starts playing after touch ends\n */\n startPlayingTouchEnd() {\n if (this.carouselService.settings.autoplayHoverPause && this.carouselService.is('rotating')) {\n this.play();\n this._playAfterTranslated();\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AutoplayService, deps: [{ token: CarouselService }, { token: WINDOW }, { token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AutoplayService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AutoplayService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: CarouselService }, { type: undefined, decorators: [{\n type: Inject,\n args: [WINDOW]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i0.NgZone }] });\n\nclass LazyLoadService {\n carouselService;\n /**\n * Subscrioption to merge Observable from CarouselService\n */\n lazyLoadSubscription;\n constructor(carouselService) {\n this.carouselService = carouselService;\n this.spyDataStreams();\n }\n ngOnDestroy() {\n this.lazyLoadSubscription.unsubscribe();\n }\n /**\n * Defines Observables which service must observe\n */\n spyDataStreams() {\n const initializedCarousel$ = this.carouselService.getInitializedState().pipe(tap(() => {\n const isLazyLoad = this.carouselService.settings && !this.carouselService.settings.lazyLoad;\n this.carouselService.slidesData.forEach(item => item.load = isLazyLoad ? true : false);\n }));\n const changeSettings$ = this.carouselService.getChangeState();\n const resizedCarousel$ = this.carouselService.getResizedState();\n const lazyLoadMerge$ = merge(initializedCarousel$, changeSettings$, resizedCarousel$).pipe(tap(data => this._defineLazyLoadSlides(data)));\n this.lazyLoadSubscription = lazyLoadMerge$.subscribe(() => { });\n }\n _defineLazyLoadSlides(data) {\n if (!this.carouselService.settings || !this.carouselService.settings.lazyLoad) {\n return;\n }\n if ((data.property && data.property.name === 'position') || data === 'initialized' || data === \"resized\") {\n const settings = this.carouselService.settings, clones = this.carouselService.clones().length;\n let n = (settings.center && Math.ceil(settings.items / 2) || settings.items), i = ((settings.center && n * -1) || 0), position = (data.property && data.property.value !== undefined ? data.property.value : this.carouselService.current()) + i;\n // load = $.proxy(function(i, v) { this.load(v) }, this);\n //TODO: Need documentation for this new option\n if (settings.lazyLoadEager > 0) {\n n += settings.lazyLoadEager;\n // If the carousel is looping also preload images that are to the \"left\"\n if (settings.loop) {\n position -= settings.lazyLoadEager;\n n++;\n }\n }\n while (i++ < n) {\n this._load(clones / 2 + this.carouselService.relative(position));\n if (clones) {\n this.carouselService.clones(this.carouselService.relative(position)).forEach(value => this._load(value));\n }\n position++;\n }\n }\n }\n /**\n * Loads all resources of an item at the specified position.\n * @param position - The absolute position of the item.\n */\n _load(position) {\n if (this.carouselService.slidesData[position].load) {\n return;\n }\n this.carouselService.slidesData[position].load = true;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: LazyLoadService, deps: [{ token: CarouselService }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: LazyLoadService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: LazyLoadService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: CarouselService }] });\n\nclass AnimateService {\n carouselService;\n /**\n * Subscrioption to merge Observable from CarouselService\n */\n animateSubscription;\n /**\n * s\n */\n swapping = true;\n /**\n * active slide before translating\n */\n previous = undefined;\n /**\n * new active slide after translating\n */\n next = undefined;\n constructor(carouselService) {\n this.carouselService = carouselService;\n this.spyDataStreams();\n }\n ngOnDestroy() {\n this.animateSubscription.unsubscribe();\n }\n /**\n * Defines Observables which service must observe\n */\n spyDataStreams() {\n const changeSettings$ = this.carouselService.getChangeState().pipe(tap(data => {\n if (data.property.name === 'position') {\n this.previous = this.carouselService.current();\n this.next = data.property.value;\n }\n }));\n const dragCarousel$ = this.carouselService.getDragState();\n const draggedCarousel$ = this.carouselService.getDraggedState();\n const translatedCarousel$ = this.carouselService.getTranslatedState();\n const dragTranslatedMerge$ = merge(dragCarousel$, draggedCarousel$, translatedCarousel$).pipe(tap(data => this.swapping = data === 'translated'));\n const translateCarousel$ = this.carouselService.getTranslateState().pipe(tap(data => {\n if (this.swapping && (this.carouselService._options.animateOut || this.carouselService._options.animateIn)) {\n this._swap();\n }\n }));\n const animateMerge$ = merge(changeSettings$, translateCarousel$, dragTranslatedMerge$).pipe();\n this.animateSubscription = animateMerge$.subscribe(() => { });\n }\n /**\n * Toggles the animation classes whenever an translations starts.\n * @returns\n */\n _swap() {\n if (this.carouselService.settings.items !== 1) {\n return;\n }\n // if (!$.support.animation || !$.support.transition) {\n // \treturn;\n // }\n this.carouselService.speed(0);\n let left;\n const previous = this.carouselService.slidesData[this.previous], next = this.carouselService.slidesData[this.next], incoming = this.carouselService.settings.animateIn, outgoing = this.carouselService.settings.animateOut;\n if (this.carouselService.current() === this.previous) {\n return;\n }\n if (outgoing) {\n left = +this.carouselService.coordinates(this.previous) - +this.carouselService.coordinates(this.next);\n this.carouselService.slidesData.forEach(slide => {\n if (slide.id === previous.id) {\n slide.left = `${left}px`;\n slide.isAnimated = true;\n slide.isDefAnimatedOut = true;\n slide.isCustomAnimatedOut = true;\n }\n });\n }\n if (incoming) {\n this.carouselService.slidesData.forEach(slide => {\n if (slide.id === next.id) {\n slide.isAnimated = true;\n slide.isDefAnimatedIn = true;\n slide.isCustomAnimatedIn = true;\n }\n });\n }\n }\n ;\n /**\n * Handles the end of 'animationend' event\n * @param id Id of slides\n */\n clear(id) {\n this.carouselService.slidesData.forEach(slide => {\n if (slide.id === id) {\n slide.left = '';\n slide.isAnimated = false;\n slide.isDefAnimatedOut = false;\n slide.isCustomAnimatedOut = false;\n slide.isDefAnimatedIn = false;\n slide.isCustomAnimatedIn = false;\n slide.classes = this.carouselService.setCurSlideClasses(slide);\n }\n });\n this.carouselService.onTransitionEnd();\n }\n ;\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AnimateService, deps: [{ token: CarouselService }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AnimateService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AnimateService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: CarouselService }] });\n\nclass AutoHeightService {\n carouselService;\n /**\n * Subscrioption to merge Observable from CarouselService\n */\n autoHeightSubscription;\n constructor(carouselService) {\n this.carouselService = carouselService;\n this.spyDataStreams();\n }\n ngOnDestroy() {\n this.autoHeightSubscription.unsubscribe();\n }\n /**\n * Defines Observables which service must observe\n */\n spyDataStreams() {\n const initializedCarousel$ = this.carouselService.getInitializedState().pipe(tap(data => {\n if (this.carouselService.settings.autoHeight) {\n this.update();\n }\n else {\n this.carouselService.slidesData.forEach(slide => slide.heightState = 'full');\n }\n }));\n const changedSettings$ = this.carouselService.getChangedState().pipe(tap(data => {\n if (this.carouselService.settings.autoHeight && data.property.name === 'position') {\n this.update();\n }\n }));\n const refreshedCarousel$ = this.carouselService.getRefreshedState().pipe(tap(data => {\n if (this.carouselService.settings.autoHeight) {\n this.update();\n }\n }));\n const autoHeight$ = merge(initializedCarousel$, changedSettings$, refreshedCarousel$);\n this.autoHeightSubscription = autoHeight$.subscribe(() => { });\n }\n /**\n * Updates the prop 'heightState' of slides\n */\n update() {\n const items = this.carouselService.settings.items;\n let start = this.carouselService.current(), end = start + items;\n if (this.carouselService.settings.center) {\n start = items % 2 === 1 ? start - (items - 1) / 2 : start - items / 2;\n end = items % 2 === 1 ? start + items : start + items + 1;\n }\n this.carouselService.slidesData.forEach((slide, i) => {\n slide.heightState = (i >= start && i < end) ? 'full' : 'nulled';\n });\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AutoHeightService, deps: [{ token: CarouselService }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AutoHeightService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: AutoHeightService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: CarouselService }] });\n\nclass HashService {\n carouselService;\n route;\n router;\n /**\n * Subscription to merge Observable from CarouselService\n */\n hashSubscription;\n /**\n * Current url fragment (hash)\n */\n currentHashFragment;\n constructor(carouselService, route, router) {\n this.carouselService = carouselService;\n this.route = route;\n this.router = router;\n this.spyDataStreams();\n if (!this.route) {\n this.route = {\n fragment: of('no route').pipe(take(1))\n };\n }\n ;\n if (!this.router) {\n this.router = {\n navigate: (commands, extras) => { return; }\n };\n }\n }\n ngOnDestroy() {\n this.hashSubscription.unsubscribe();\n }\n /**\n * Defines Observables which service must observe\n */\n spyDataStreams() {\n const initializedCarousel$ = this.carouselService.getInitializedState().pipe(tap(() => this.listenToRoute()));\n const changedSettings$ = this.carouselService.getChangedState().pipe(tap(data => {\n if (this.carouselService.settings.URLhashListener && data.property.name === 'position') {\n const newCurSlide = this.carouselService.current();\n const newCurFragment = this.carouselService.slidesData[newCurSlide].hashFragment;\n if (!newCurFragment || newCurFragment === this.currentHashFragment) {\n return;\n }\n this.router.navigate(['./'], { fragment: newCurFragment, relativeTo: this.route });\n }\n }));\n const hashFragment$ = merge(initializedCarousel$, changedSettings$);\n this.hashSubscription = hashFragment$.subscribe(() => { });\n }\n /**\n * rewinds carousel to slide which has the same hashFragment as fragment of current url\n * @param fragment fragment of url\n */\n rewind(fragment) {\n const position = this.carouselService.slidesData.findIndex(slide => slide.hashFragment === fragment && slide.isCloned === false);\n if (position === -1 || position === this.carouselService.current()) {\n return;\n }\n this.carouselService.to(this.carouselService.relative(position), false);\n }\n /**\n * Initiate listening to ActivatedRoute.fragment\n */\n listenToRoute() {\n const count = this.carouselService.settings.startPosition === 'URLHash' ? 0 : 2;\n this.route.fragment.pipe(skip(count))\n .subscribe(fragment => {\n this.currentHashFragment = fragment;\n this.rewind(fragment);\n });\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: HashService, deps: [{ token: CarouselService }, { token: i1.ActivatedRoute, optional: true }, { token: i1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: HashService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: HashService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: CarouselService }, { type: i1.ActivatedRoute, decorators: [{\n type: Optional\n }] }, { type: i1.Router, decorators: [{\n type: Optional\n }] }] });\n\nlet nextId = 0;\nclass CarouselSlideDirective {\n tplRef;\n /**\n * Unique slide identifier. Must be unique for the entire document for proper accessibility support.\n * Will be auto-generated if not provided.\n */\n id = `owl-slide-${nextId++}`;\n /**\n * Defines how much widths of common slide will current slide have\n * e.g. if _mergeData=2, the slide will twice wider then slides with _mergeData=1\n */\n _dataMerge = 1;\n set dataMerge(data) {\n this._dataMerge = this.isNumeric(data) ? data : 1;\n }\n ;\n get dataMerge() { return this._dataMerge; }\n /**\n * Width of slide\n */\n width = 0;\n /**\n * Inner content of dot for certain slide; can be html-markup\n */\n dotContent = '';\n /**\n * Hash (fragment) of url which corresponds to certain slide\n */\n dataHash = '';\n constructor(tplRef) {\n this.tplRef = tplRef;\n }\n /**\n * Determines if the input is a Number or something that can be coerced to a Number\n * @param - The input to be tested\n * @returns - An indication if the input is a Number or can be coerced to a Number\n */\n isNumeric(number) {\n return !isNaN(parseFloat(number));\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselSlideDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });\n static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.0.2\", type: CarouselSlideDirective, selector: \"ng-template[carouselSlide]\", inputs: { id: \"id\", dataMerge: \"dataMerge\", width: \"width\", dotContent: \"dotContent\", dataHash: \"dataHash\" }, ngImport: i0 });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselSlideDirective, decorators: [{\n type: Directive,\n args: [{ selector: 'ng-template[carouselSlide]' }]\n }], ctorParameters: () => [{ type: i0.TemplateRef }], propDecorators: { id: [{\n type: Input\n }], dataMerge: [{\n type: Input\n }], width: [{\n type: Input\n }], dotContent: [{\n type: Input\n }], dataHash: [{\n type: Input\n }] } });\n\nclass ResizeService {\n resizeObservable$;\n /**\n * Makes resizeSubject become Observable\n * @returns Observable of resizeSubject\n */\n get onResize$() {\n return this.resizeObservable$;\n }\n constructor(winRef, platformId) {\n this.resizeObservable$ = isPlatformBrowser(platformId) ? fromEvent(winRef, 'resize') : (new Subject()).asObservable();\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: ResizeService, deps: [{ token: WINDOW }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: ResizeService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: ResizeService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [WINDOW]\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }] });\n\nclass StageComponent {\n zone;\n el;\n renderer;\n carouselService;\n animateService;\n /**\n * Object with settings which make carousel draggable by touch or mouse\n */\n owlDraggable;\n /**\n * Data of owl-stage\n */\n stageData;\n /**\n * Data of every slide\n */\n slidesData;\n /**\n * Function wich will be returned after attaching listener to 'mousemove' event\n */\n listenerMouseMove;\n /**\n * Function wich will be returned after attaching listener to 'touchmove' event\n */\n listenerTouchMove;\n /**\n * Function wich will be returned after attaching listener to 'mousemove' event\n */\n listenerOneMouseMove;\n /**\n * Function wich will be returned after attaching listener to 'touchmove' event\n */\n listenerOneTouchMove;\n /**\n * Function wich will be returned after attaching listener to 'mouseup' event\n */\n listenerMouseUp;\n /**\n * Function wich will be returned after attaching listener to 'touchend' event\n */\n listenerTouchEnd;\n /**\n * Function wich will be returned after attaching listener to 'click' event\n */\n listenerOneClick;\n listenerATag;\n /**\n * Object with data needed for dragging\n */\n _drag = {\n time: null,\n target: null,\n pointer: null,\n stage: {\n start: null,\n current: null\n },\n direction: null,\n active: false,\n moving: false\n };\n /**\n * Subject for notification when the carousel's rebuilding caused by resize event starts\n */\n _oneDragMove$ = new Subject();\n /**\n * Subsctiption to _oneDragMove$ Subject\n */\n _oneMoveSubsription;\n preparePublicSlide = (slide) => {\n const newSlide = { ...slide };\n delete newSlide.tplRef;\n return newSlide;\n };\n constructor(zone, el, renderer, carouselService, animateService) {\n this.zone = zone;\n this.el = el;\n this.renderer = renderer;\n this.carouselService = carouselService;\n this.animateService = animateService;\n }\n onMouseDown(event) {\n if (this.owlDraggable.isMouseDragable) {\n this._onDragStart(event);\n }\n }\n onTouchStart(event) {\n if (event.targetTouches.length >= 2) {\n return false;\n }\n if (this.owlDraggable.isTouchDragable) {\n this._onDragStart(event);\n }\n }\n onTouchCancel(event) {\n this._onDragEnd(event);\n }\n onDragStart() {\n if (this.owlDraggable.isMouseDragable) {\n return false;\n }\n }\n onSelectStart() {\n if (this.owlDraggable.isMouseDragable) {\n return false;\n }\n }\n ngOnInit() {\n this._oneMoveSubsription = this._oneDragMove$\n .pipe(first())\n .subscribe(() => {\n this._sendChanges();\n });\n }\n ngOnDestroy() {\n this._oneMoveSubsription.unsubscribe();\n }\n /**\n * Passes this to _oneMouseTouchMove();\n */\n bindOneMouseTouchMove = (ev) => {\n this._oneMouseTouchMove(ev);\n };\n /**\n * Passes this to _onDragMove();\n */\n bindOnDragMove = (ev) => {\n this._onDragMove(ev);\n };\n /**\n * Passes this to _onDragMove();\n */\n bindOnDragEnd = (ev) => {\n // this.zone.run(() => {\n this._onDragEnd(ev);\n // });\n };\n /**\n * Handles `touchstart` and `mousedown` events.\n * @todo Horizontal swipe threshold as option\n * @todo #261\n * @param event - The event arguments.\n */\n _onDragStart(event) {\n let stage = null;\n if (event.which === 3) {\n return;\n }\n stage = this._prepareDragging(event);\n this._drag.time = new Date().getTime();\n this._drag.target = event.target;\n this._drag.stage.start = stage;\n this._drag.stage.current = stage;\n this._drag.pointer = this._pointer(event);\n this.listenerMouseUp = this.renderer.listen(document, 'mouseup', this.bindOnDragEnd);\n this.listenerTouchEnd = this.renderer.listen(document, 'touchend', this.bindOnDragEnd);\n this.zone.runOutsideAngular(() => {\n this.listenerOneMouseMove = this.renderer.listen(document, 'mousemove', this.bindOneMouseTouchMove);\n this.listenerOneTouchMove = this.renderer.listen(document, 'touchmove', this.bindOneMouseTouchMove);\n });\n }\n /**\n * Attaches listeners to `touchmove` and `mousemove` events; initiates updating carousel after starting dragging\n * @param event event objech of mouse or touch event\n */\n _oneMouseTouchMove(event) {\n const delta = this._difference(this._drag.pointer, this._pointer(event));\n if (this.listenerATag) {\n this.listenerATag();\n }\n if (Math.abs(delta.x) < 3 && Math.abs(delta.y) < 3 && this._is('valid')) {\n return;\n }\n if ((Math.abs(delta.x) < 3 && Math.abs(delta.x) < Math.abs(delta.y)) && this._is('valid')) {\n return;\n }\n this.listenerOneMouseMove();\n this.listenerOneTouchMove();\n this._drag.moving = true;\n this.blockClickAnchorInDragging(event);\n this.listenerMouseMove = this.renderer.listen(document, 'mousemove', this.bindOnDragMove);\n this.listenerTouchMove = this.renderer.listen(document, 'touchmove', this.bindOnDragMove);\n event.preventDefault();\n this._enterDragging();\n this._oneDragMove$.next(event);\n // this._sendChanges();\n }\n /**\n * Attaches handler to HTMLAnchorElement for preventing click while carousel is being dragged\n * @param event event object\n */\n blockClickAnchorInDragging(event) {\n let target = event.target;\n while (target && !(target instanceof HTMLAnchorElement)) {\n target = target.parentElement;\n }\n if (target instanceof HTMLAnchorElement) {\n this.listenerATag = this.renderer.listen(target, 'click', () => false);\n }\n }\n /**\n * Handles the `touchmove` and `mousemove` events.\n * @todo #261\n * @param event - The event arguments.\n */\n _onDragMove(event) {\n let stage;\n const stageOrExit = this.carouselService.defineNewCoordsDrag(event, this._drag);\n if (stageOrExit === false) {\n return;\n }\n stage = stageOrExit;\n event.preventDefault();\n this._drag.stage.current = stage;\n this._animate(stage.x - this._drag.stage.start.x);\n }\n ;\n /**\n * Moves .owl-stage left-right\n * @param coordinate coordinate to be set to .owl-stage\n */\n _animate(coordinate) {\n this.renderer.setStyle(this.el.nativeElement.children[0], 'transform', `translate3d(${coordinate}px,0px,0px`);\n this.renderer.setStyle(this.el.nativeElement.children[0], 'transition', '0s');\n }\n /**\n * Handles the `touchend` and `mouseup` events.\n * @todo #261\n * @todo Threshold for click event\n * @param event - The event arguments.\n */\n _onDragEnd(event) {\n this.carouselService.owlDOMData.isGrab = false;\n this.listenerOneMouseMove();\n this.listenerOneTouchMove();\n if (this._drag.moving) {\n this.renderer.setStyle(this.el.nativeElement.children[0], 'transform', ``);\n this.renderer.setStyle(this.el.nativeElement.children[0], 'transition', this.carouselService.speed(+this.carouselService.settings.dragEndSpeed || this.carouselService.settings.smartSpeed) / 1000 + 's');\n this._finishDragging(event);\n this.listenerMouseMove();\n this.listenerTouchMove();\n }\n this._drag = {\n time: null,\n target: null,\n pointer: null,\n stage: {\n start: null,\n current: null\n },\n direction: null,\n active: false,\n moving: false\n };\n // this.carouselService.trigger('dragged');\n this.listenerMouseUp();\n this.listenerTouchEnd();\n }\n ;\n /**\n * Prepares data for dragging carousel. It starts after firing `touchstart` and `mousedown` events.\n * @param event - The event arguments.\n * @returns stage - object with 'x' and 'y' coordinates of .owl-stage\n */\n _prepareDragging(event) {\n return this.carouselService.prepareDragging(event);\n }\n /**\n * Attaches handler for 'click' event on any element in .owl-stage in order to prevent dragging when moving of cursor is less than 3px\n */\n _oneClickHandler = () => {\n this.listenerOneClick = this.renderer.listen(this._drag.target, 'click', () => false);\n this.listenerOneClick();\n };\n /**\n * Finishes dragging\n * @param event object event of 'mouseUp' of 'touchend' events\n */\n _finishDragging(event) {\n this.carouselService.finishDragging(event, this._drag, this._oneClickHandler);\n }\n /**\n * Gets unified pointer coordinates from event.\n * @param event The `mousedown` or `touchstart` event.\n * @returns Contains `x` and `y` coordinates of current pointer position.\n */\n _pointer(event) {\n return this.carouselService.pointer(event);\n }\n /**\n * Gets the difference of two vectors.\n * @param first The first vector.\n * @param second The second vector.\n * @returns The difference.\n */\n _difference(firstC, second) {\n return this.carouselService.difference(firstC, second);\n }\n /**\n * Checks whether the carousel is in a specific state or not.\n * @param specificState The state to check.\n * @returns The flag which indicates if the carousel is busy.\n */\n _is(specificState) {\n return this.carouselService.is(specificState);\n }\n /**\n * Enters a state.\n * @param name The state name.\n */\n _enter(name) {\n this.carouselService.enter(name);\n }\n /**\n * Sends all data needed for View.\n */\n _sendChanges() {\n this.carouselService.sendChanges();\n }\n /**\n * Handler for transitioend event\n */\n onTransitionEnd() {\n this.carouselService.onTransitionEnd();\n }\n /**\n * Enters into a 'dragging' state\n */\n _enterDragging() {\n this.carouselService.enterDragging();\n }\n /**\n * Handles the end of 'animationend' event\n * @param id Id of slides\n */\n clear(id) {\n this.animateService.clear(id);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: StageComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: CarouselService }, { token: AnimateService }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: StageComponent, selector: \"owl-stage\", inputs: { owlDraggable: \"owlDraggable\", stageData: \"stageData\", slidesData: \"slidesData\" }, host: { listeners: { \"mousedown\": \"onMouseDown($event)\", \"touchstart\": \"onTouchStart($event)\", \"touchcancel\": \"onTouchCancel($event)\", \"dragstart\": \"onDragStart()\", \"selectstart\": \"onSelectStart()\" } }, ngImport: i0, template: `\n
\n
\n \n
\n \n
\n
\n
\n
\n `, isInline: true, dependencies: [{ kind: \"directive\", type: i3.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i3.NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }], animations: [\n trigger('autoHeight', [\n state('nulled', style({ height: 0 })),\n state('full', style({ height: '*' })),\n transition('full => nulled', [\n // style({height: '*'}),\n animate('700ms 350ms')\n ]),\n transition('nulled => full', [\n // style({height: 0}),\n animate(350)\n ]),\n ])\n ] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: StageComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'owl-stage',\n template: `\n
\n
\n \n
\n \n
\n
\n
\n
\n `,\n animations: [\n trigger('autoHeight', [\n state('nulled', style({ height: 0 })),\n state('full', style({ height: '*' })),\n transition('full => nulled', [\n // style({height: '*'}),\n animate('700ms 350ms')\n ]),\n transition('nulled => full', [\n // style({height: 0}),\n animate(350)\n ]),\n ])\n ]\n }]\n }], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: CarouselService }, { type: AnimateService }], propDecorators: { owlDraggable: [{\n type: Input\n }], stageData: [{\n type: Input\n }], slidesData: [{\n type: Input\n }], onMouseDown: [{\n type: HostListener,\n args: ['mousedown', ['$event']]\n }], onTouchStart: [{\n type: HostListener,\n args: ['touchstart', ['$event']]\n }], onTouchCancel: [{\n type: HostListener,\n args: ['touchcancel', ['$event']]\n }], onDragStart: [{\n type: HostListener,\n args: ['dragstart']\n }], onSelectStart: [{\n type: HostListener,\n args: ['selectstart']\n }] } });\n\nclass CarouselComponent {\n el;\n resizeService;\n carouselService;\n navigationService;\n autoplayService;\n lazyLoadService;\n animateService;\n autoHeightService;\n hashService;\n logger;\n changeDetectorRef;\n slides;\n translated = new EventEmitter();\n dragging = new EventEmitter();\n change = new EventEmitter();\n changed = new EventEmitter();\n initialized = new EventEmitter();\n /**\n * Width of carousel window (tag with class .owl-carousel), in wich we can see moving sliders\n */\n carouselWindowWidth;\n /**\n * Subscription to 'resize' event\n */\n resizeSubscription;\n /**\n * Subscription merge Observable, which merges all Observables in the component except 'resize' Observable and this.slides.changes()\n */\n _allObservSubscription;\n /**\n * Subscription to `this.slides.changes().\n * It could be included in 'this._allObservSubscription', but that subcription get created during the initializing of component\n * and 'this.slides' are undefined at that moment. So it's needed to wait for initialization of content.\n */\n _slidesChangesSubscription;\n /**\n * Current settings for the carousel.\n */\n owlDOMData;\n /**\n * Data of owl-stage\n */\n stageData;\n /**\n * Data of every slide\n */\n slidesData = [];\n /**\n * Data of navigation block\n */\n navData;\n /**\n * Data of dots block\n */\n dotsData;\n /**\n * Data, wich are passed out of carousel after ending of transioning of carousel\n */\n slidesOutputData;\n /**\n * Shows whether carousel is loaded of not.\n */\n carouselLoaded = false;\n /**\n * User's options\n */\n options;\n prevOptions;\n /**\n * Observable for getting current View Settings\n */\n _viewCurSettings$;\n /**\n * Observable for catching the end of transition of carousel\n */\n _translatedCarousel$;\n /**\n * Observable for catching the start of dragging of the carousel\n */\n _draggingCarousel$;\n /**\n * Observable for catching the start of changing of the carousel\n */\n _changeCarousel$;\n /**\n * Observable for catching the moment when the data about slides changed, more exactly when the position changed.\n */\n _changedCarousel$;\n /**\n * Observable for catching the initialization of changing the carousel\n */\n _initializedCarousel$;\n /**\n * Observable for merging all Observables and creating one subscription\n */\n _carouselMerge$;\n docRef;\n constructor(el, resizeService, carouselService, navigationService, autoplayService, lazyLoadService, animateService, autoHeightService, hashService, logger, changeDetectorRef, docRef) {\n this.el = el;\n this.resizeService = resizeService;\n this.carouselService = carouselService;\n this.navigationService = navigationService;\n this.autoplayService = autoplayService;\n this.lazyLoadService = lazyLoadService;\n this.animateService = animateService;\n this.autoHeightService = autoHeightService;\n this.hashService = hashService;\n this.logger = logger;\n this.changeDetectorRef = changeDetectorRef;\n this.docRef = docRef;\n }\n onVisibilityChange(ev) {\n if (!this.carouselService.settings.autoplay)\n return;\n switch (this.docRef.visibilityState) {\n case 'visible':\n !this.autoplayService.isAutoplayStopped && this.autoplayService.play();\n break;\n case 'hidden':\n this.autoplayService.pause();\n break;\n default:\n break;\n }\n }\n ;\n ngOnInit() {\n this.spyDataStreams();\n this.carouselWindowWidth = this.el.nativeElement.querySelector('.owl-carousel').clientWidth;\n }\n ngOnChanges() {\n if (this.prevOptions !== this.options) {\n if (this.prevOptions && this.slides?.toArray().length) {\n this.carouselService.setup(this.carouselWindowWidth, this.slides.toArray(), this.options);\n this.carouselService.initialize(this.slides.toArray());\n }\n else if (this.prevOptions && !this.slides?.toArray().length) {\n this.carouselLoaded = false;\n this.logger.log(`There are no slides to show. So the carousel won't be re-rendered`);\n }\n else {\n this.carouselLoaded = false;\n }\n this.prevOptions = this.options;\n }\n }\n ngAfterContentInit() {\n if (this.slides.toArray().length) {\n this.carouselService.setup(this.carouselWindowWidth, this.slides.toArray(), this.options);\n this.carouselService.initialize(this.slides.toArray());\n this._winResizeWatcher();\n }\n else {\n this.logger.log(`There are no slides to show. So the carousel won't be rendered`);\n }\n this._slidesChangesSubscription = this.slides.changes.pipe(tap((slides) => {\n this.carouselService.setup(this.carouselWindowWidth, slides.toArray(), this.options);\n this.carouselService.initialize(slides.toArray());\n if (!slides.toArray().length) {\n this.carouselLoaded = false;\n }\n if (slides.toArray().length && !this.resizeSubscription) {\n this._winResizeWatcher();\n }\n })).subscribe(() => { });\n }\n ngOnDestroy() {\n if (this.resizeSubscription) {\n this.resizeSubscription.unsubscribe();\n }\n if (this._slidesChangesSubscription) {\n this._slidesChangesSubscription.unsubscribe();\n }\n if (this._allObservSubscription) {\n this._allObservSubscription.unsubscribe();\n }\n }\n /**\n * Joins the observable login in one place: sets values to some observables, merges this observables and\n * subcribes to merge func\n */\n spyDataStreams() {\n this._viewCurSettings$ = this.carouselService.getViewCurSettings().pipe(tap(data => {\n this.owlDOMData = data.owlDOMData;\n this.stageData = data.stageData;\n this.slidesData = data.slidesData;\n if (!this.carouselLoaded) {\n this.carouselLoaded = true;\n }\n this.navData = data.navData;\n this.dotsData = data.dotsData;\n this.changeDetectorRef.markForCheck();\n }));\n this._initializedCarousel$ = this.carouselService.getInitializedState().pipe(tap(() => {\n this.gatherTranslatedData();\n this.initialized.emit(this.slidesOutputData);\n // this.slidesOutputData = {};\n }));\n this._translatedCarousel$ = this.carouselService.getTranslatedState().pipe(tap(() => {\n this.gatherTranslatedData();\n this.translated.emit(this.slidesOutputData);\n // this.slidesOutputData = {};\n }));\n this._changeCarousel$ = this.carouselService.getChangeState().pipe(tap(() => {\n this.gatherTranslatedData();\n this.change.emit(this.slidesOutputData);\n // this.slidesOutputData = {};\n }));\n this._changedCarousel$ = this.carouselService.getChangeState().pipe(switchMap(value => {\n const changedPosition = of(value).pipe(filter(() => value.property.name === 'position'), switchMap(() => from(this.slidesData)), skip(value.property.value), take(this.carouselService.settings.items), map(slide => {\n const clonedIdPrefix = this.carouselService.clonedIdPrefix;\n const id = slide.id.indexOf(clonedIdPrefix) >= 0 ? slide.id.slice(clonedIdPrefix.length) : slide.id;\n return { ...slide, id: id, isActive: true };\n }), toArray(), map(slides => {\n return {\n slides: slides,\n startPosition: this.carouselService.relative(value.property.value)\n };\n }));\n // const changedSetting: Observable = of(value).pipe(\n // filter(() => value.property.name === 'settings'),\n // map(() => {\n // return {\n // slides: [],\n // startPosition: this.carouselService.relative(value.property.value)\n // }\n // })\n // )\n return merge(changedPosition);\n }), tap(slidesData => {\n this.gatherTranslatedData();\n this.changed.emit(slidesData.slides.length ? slidesData : this.slidesOutputData);\n // console.log(this.slidesOutputData);\n // this.slidesOutputData = {};\n }));\n this._draggingCarousel$ = this.carouselService.getDragState().pipe(tap(() => {\n this.gatherTranslatedData();\n this.dragging.emit({ dragging: true, data: this.slidesOutputData });\n }), switchMap(() => this.carouselService.getDraggedState().pipe(map(() => !!this.carouselService.is('animating')))), switchMap(anim => {\n if (anim) {\n return this.carouselService.getTranslatedState().pipe(first());\n }\n else {\n return of('not animating');\n }\n }), tap(() => {\n this.dragging.emit({ dragging: false, data: this.slidesOutputData });\n }));\n this._carouselMerge$ = merge(this._viewCurSettings$, this._translatedCarousel$, this._draggingCarousel$, this._changeCarousel$, this._changedCarousel$, this._initializedCarousel$);\n this._allObservSubscription = this._carouselMerge$.subscribe(() => { });\n }\n /**\n * Init subscription to resize event and attaches handler for this event\n */\n _winResizeWatcher() {\n if (Object.keys(this.carouselService._options.responsive).length) {\n this.resizeSubscription = this.resizeService.onResize$\n .pipe(filter(() => this.carouselWindowWidth !== this.el.nativeElement.querySelector('.owl-carousel').clientWidth), delay(this.carouselService.settings.responsiveRefreshRate))\n .subscribe(() => {\n this.carouselService.onResize(this.el.nativeElement.querySelector('.owl-carousel').clientWidth);\n this.carouselWindowWidth = this.el.nativeElement.querySelector('.owl-carousel').clientWidth;\n });\n }\n }\n /**\n * Handler for transitioend event\n */\n onTransitionEnd() {\n this.carouselService.onTransitionEnd();\n }\n /**\n * Handler for click event, attached to next button\n */\n next() {\n if (!this.carouselLoaded)\n return;\n this.navigationService.next(this.carouselService.settings.navSpeed);\n }\n /**\n * Handler for click event, attached to prev button\n */\n prev() {\n if (!this.carouselLoaded)\n return;\n this.navigationService.prev(this.carouselService.settings.navSpeed);\n }\n /**\n * Handler for click event, attached to dots\n */\n moveByDot(dotId) {\n if (!this.carouselLoaded)\n return;\n this.navigationService.moveByDot(dotId);\n }\n /**\n * rewinds carousel to slide with needed id\n * @param id fragment of url\n */\n to(id) {\n // if (!this.carouselLoaded || ((this.navData && this.navData.disabled) && (this.dotsData && this.dotsData.disabled))) return;\n if (!this.carouselLoaded)\n return;\n this.navigationService.toSlideById(id);\n }\n /**\n * Gathers and prepares data intended for passing to the user by means of firing event translatedCarousel\n */\n gatherTranslatedData() {\n let startPosition;\n const clonedIdPrefix = this.carouselService.clonedIdPrefix;\n const activeSlides = this.slidesData\n .filter(slide => slide.isActive === true)\n .map(slide => {\n const id = slide.id.indexOf(clonedIdPrefix) >= 0 ? slide.id.slice(clonedIdPrefix.length) : slide.id;\n return {\n id: id,\n width: slide.width,\n marginL: slide.marginL,\n marginR: slide.marginR,\n center: slide.isCentered\n };\n });\n startPosition = this.carouselService.relative(this.carouselService.current());\n this.slidesOutputData = {\n startPosition: startPosition,\n slides: activeSlides\n };\n }\n /**\n * Starts pausing\n */\n startPausing() {\n this.autoplayService.startPausing();\n }\n /**\n * Starts playing after mouse leaves carousel\n */\n startPlayML() {\n this.autoplayService.startPlayingMouseLeave();\n }\n /**\n * Starts playing after touch ends\n */\n startPlayTE() {\n this.autoplayService.startPlayingTouchEnd();\n }\n stopAutoplay() {\n this.autoplayService.isAutoplayStopped = true;\n this.autoplayService.stop();\n }\n startAutoplay() {\n this.autoplayService.isAutoplayStopped = false;\n this.autoplayService.play();\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselComponent, deps: [{ token: i0.ElementRef }, { token: ResizeService }, { token: CarouselService }, { token: NavigationService }, { token: AutoplayService }, { token: LazyLoadService }, { token: AnimateService }, { token: AutoHeightService }, { token: HashService }, { token: OwlLogger }, { token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.0.2\", type: CarouselComponent, selector: \"owl-carousel-o\", inputs: { options: \"options\" }, outputs: { translated: \"translated\", dragging: \"dragging\", change: \"change\", changed: \"changed\", initialized: \"initialized\" }, host: { listeners: { \"document:visibilitychange\": \"onVisibilityChange($event)\" } }, providers: [\n NavigationService,\n AutoplayService,\n CarouselService,\n LazyLoadService,\n AnimateService,\n AutoHeightService,\n HashService\n ], queries: [{ propertyName: \"slides\", predicate: CarouselSlideDirective }], usesOnChanges: true, ngImport: i0, template: `\n \n `, isInline: true, styles: [\".owl-theme{display:block}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: StageComponent, selector: \"owl-stage\", inputs: [\"owlDraggable\", \"stageData\", \"slidesData\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselComponent, decorators: [{\n type: Component,\n args: [{ selector: 'owl-carousel-o', template: `\n \n `, providers: [\n NavigationService,\n AutoplayService,\n CarouselService,\n LazyLoadService,\n AnimateService,\n AutoHeightService,\n HashService\n ], changeDetection: ChangeDetectionStrategy.OnPush, styles: [\".owl-theme{display:block}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: ResizeService }, { type: CarouselService }, { type: NavigationService }, { type: AutoplayService }, { type: LazyLoadService }, { type: AnimateService }, { type: AutoHeightService }, { type: HashService }, { type: OwlLogger }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }], propDecorators: { slides: [{\n type: ContentChildren,\n args: [CarouselSlideDirective]\n }], translated: [{\n type: Output\n }], dragging: [{\n type: Output\n }], change: [{\n type: Output\n }], changed: [{\n type: Output\n }], initialized: [{\n type: Output\n }], options: [{\n type: Input\n }], onVisibilityChange: [{\n type: HostListener,\n args: ['document:visibilitychange', ['$event']]\n }] } });\n\nclass OwlRouterLinkDirective {\n router;\n route;\n // TODO(issue/24571): remove '!'.\n queryParams;\n // TODO(issue/24571): remove '!'.\n fragment;\n // TODO(issue/24571): remove '!'.\n queryParamsHandling;\n // TODO(issue/24571): remove '!'.\n preserveFragment;\n // TODO(issue/24571): remove '!'.\n skipLocationChange;\n // TODO(issue/24571): remove '!'.\n replaceUrl;\n stopLink = false;\n commands = [];\n // TODO(issue/24571): remove '!'.\n preserve;\n constructor(router, route, tabIndex, renderer, el) {\n this.router = router;\n this.route = route;\n if (tabIndex == null) {\n renderer.setAttribute(el.nativeElement, 'tabindex', '0');\n }\n }\n set owlRouterLink(commands) {\n if (commands != null) {\n this.commands = Array.isArray(commands) ? commands : [commands];\n }\n else {\n this.commands = [];\n }\n }\n /**\n * @deprecated 4.0.0 use `queryParamsHandling` instead.\n */\n set preserveQueryParams(value) {\n if (isDevMode() && console && console.warn) {\n console.warn('preserveQueryParams is deprecated!, use queryParamsHandling instead.');\n }\n this.preserve = value;\n }\n onClick() {\n const extras = {\n skipLocationChange: attrBoolValue(this.skipLocationChange),\n replaceUrl: attrBoolValue(this.replaceUrl),\n };\n if (this.stopLink) {\n return false;\n }\n this.router.navigateByUrl(this.urlTree, extras);\n return true;\n }\n get urlTree() {\n return this.router.createUrlTree(this.commands, {\n relativeTo: this.route,\n queryParams: this.queryParams,\n fragment: this.fragment,\n queryParamsHandling: this.queryParamsHandling,\n preserveFragment: attrBoolValue(this.preserveFragment)\n });\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: OwlRouterLinkDirective, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });\n static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.0.2\", type: OwlRouterLinkDirective, selector: \":not(a)[owlRouterLink]\", inputs: { queryParams: \"queryParams\", fragment: \"fragment\", queryParamsHandling: \"queryParamsHandling\", preserveFragment: \"preserveFragment\", skipLocationChange: \"skipLocationChange\", replaceUrl: \"replaceUrl\", stopLink: \"stopLink\", owlRouterLink: \"owlRouterLink\", preserveQueryParams: \"preserveQueryParams\" }, host: { listeners: { \"click\": \"onClick()\" } }, ngImport: i0 });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: OwlRouterLinkDirective, decorators: [{\n type: Directive,\n args: [{ selector: ':not(a)[owlRouterLink]' }]\n }], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { queryParams: [{\n type: Input\n }], fragment: [{\n type: Input\n }], queryParamsHandling: [{\n type: Input\n }], preserveFragment: [{\n type: Input\n }], skipLocationChange: [{\n type: Input\n }], replaceUrl: [{\n type: Input\n }], stopLink: [{\n type: Input\n }], owlRouterLink: [{\n type: Input\n }], preserveQueryParams: [{\n type: Input\n }], onClick: [{\n type: HostListener,\n args: ['click']\n }] } });\n/**\n * @description\n *\n * Lets you link to specific routes in your app.\n *\n * See `RouterLink` for more information.\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\nclass OwlRouterLinkWithHrefDirective {\n router;\n route;\n locationStrategy;\n // TODO(issue/24571): remove '!'.\n target;\n // TODO(issue/24571): remove '!'.\n queryParams;\n // TODO(issue/24571): remove '!'.\n fragment;\n // TODO(issue/24571): remove '!'.\n queryParamsHandling;\n // TODO(issue/24571): remove '!'.\n preserveFragment;\n // TODO(issue/24571): remove '!'.\n skipLocationChange;\n // TODO(issue/24571): remove '!'.\n replaceUrl;\n stopLink = false;\n commands = [];\n subscription;\n // TODO(issue/24571): remove '!'.\n preserve;\n // the url displayed on the anchor element.\n // TODO(issue/24571): remove '!'.\n href;\n constructor(router, route, locationStrategy) {\n this.router = router;\n this.route = route;\n this.locationStrategy = locationStrategy;\n this.subscription = router.events.subscribe((s) => {\n if (s instanceof NavigationEnd) {\n this.updateTargetUrlAndHref();\n }\n });\n }\n set owlRouterLink(commands) {\n if (commands != null) {\n this.commands = Array.isArray(commands) ? commands : [commands];\n }\n else {\n this.commands = [];\n }\n }\n set preserveQueryParams(value) {\n if (isDevMode() && console && console.warn) {\n console.warn('preserveQueryParams is deprecated, use queryParamsHandling instead.');\n }\n this.preserve = value;\n }\n ngOnChanges(changes) { this.updateTargetUrlAndHref(); }\n ngOnDestroy() { this.subscription.unsubscribe(); }\n onClick(button, ctrlKey, metaKey, shiftKey) {\n if (button !== 0 || ctrlKey || metaKey || shiftKey) {\n return true;\n }\n if (typeof this.target === 'string' && this.target !== '_self') {\n return true;\n }\n if (this.stopLink) {\n return false;\n }\n const extras = {\n skipLocationChange: attrBoolValue(this.skipLocationChange),\n replaceUrl: attrBoolValue(this.replaceUrl),\n };\n this.router.navigateByUrl(this.urlTree, extras);\n return false;\n }\n updateTargetUrlAndHref() {\n this.href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree));\n }\n get urlTree() {\n return this.router.createUrlTree(this.commands, {\n relativeTo: this.route,\n queryParams: this.queryParams,\n fragment: this.fragment,\n queryParamsHandling: this.queryParamsHandling,\n preserveFragment: attrBoolValue(this.preserveFragment)\n });\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: OwlRouterLinkWithHrefDirective, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive });\n static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.0.2\", type: OwlRouterLinkWithHrefDirective, selector: \"a[owlRouterLink]\", inputs: { target: \"target\", queryParams: \"queryParams\", fragment: \"fragment\", queryParamsHandling: \"queryParamsHandling\", preserveFragment: \"preserveFragment\", skipLocationChange: \"skipLocationChange\", replaceUrl: \"replaceUrl\", stopLink: \"stopLink\", owlRouterLink: \"owlRouterLink\", preserveQueryParams: \"preserveQueryParams\" }, host: { listeners: { \"click\": \"onClick($event.button,$event.ctrlKey,$event.metaKey,$event.shiftKey)\" }, properties: { \"attr.target\": \"this.target\", \"href\": \"this.href\" } }, usesOnChanges: true, ngImport: i0 });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: OwlRouterLinkWithHrefDirective, decorators: [{\n type: Directive,\n args: [{ selector: 'a[owlRouterLink]' }]\n }], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i3.LocationStrategy }], propDecorators: { target: [{\n type: HostBinding,\n args: ['attr.target']\n }, {\n type: Input\n }], queryParams: [{\n type: Input\n }], fragment: [{\n type: Input\n }], queryParamsHandling: [{\n type: Input\n }], preserveFragment: [{\n type: Input\n }], skipLocationChange: [{\n type: Input\n }], replaceUrl: [{\n type: Input\n }], stopLink: [{\n type: Input\n }], href: [{\n type: HostBinding\n }], owlRouterLink: [{\n type: Input\n }], preserveQueryParams: [{\n type: Input\n }], onClick: [{\n type: HostListener,\n args: ['click', ['$event.button', '$event.ctrlKey', '$event.metaKey', '$event.shiftKey']]\n }] } });\nfunction attrBoolValue(s) {\n return s === '' || !!s;\n}\n\n/**\n * Data which will be passed out after ending of transition of carousel\n */\nclass SlidesOutputData {\n startPosition;\n slides;\n}\n;\n\nconst routes = [];\nclass CarouselModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselModule, declarations: [CarouselComponent, CarouselSlideDirective, StageComponent, OwlRouterLinkDirective, OwlRouterLinkWithHrefDirective], imports: [CommonModule], exports: [CarouselComponent, CarouselSlideDirective, OwlRouterLinkDirective, OwlRouterLinkWithHrefDirective] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselModule, providers: [WINDOW_PROVIDERS, ResizeService, DOCUMENT_PROVIDERS, OwlLogger], imports: [CommonModule] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.0.2\", ngImport: i0, type: CarouselModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n // BrowserAnimationsModule, // there's an issue with this import while using lazy loading of module consuming this library. I don't remove it because it could be needed during future enhancement of this lib.\n // RouterModule.forChild(routes)\n ],\n declarations: [CarouselComponent, CarouselSlideDirective, StageComponent, OwlRouterLinkDirective, OwlRouterLinkWithHrefDirective],\n exports: [CarouselComponent, CarouselSlideDirective, OwlRouterLinkDirective, OwlRouterLinkWithHrefDirective],\n providers: [WINDOW_PROVIDERS, ResizeService, DOCUMENT_PROVIDERS, OwlLogger]\n }]\n }] });\n\nclass SlideModel {\n /**\n * Id of slide\n */\n id;\n /**\n * Active state of slide. If true slide gets css-class .active\n */\n isActive;\n /**\n * TemplateRef of slide. In other words its html-markup\n */\n tplRef;\n /**\n * Number of grid parts to be used\n */\n dataMerge;\n /**\n * Width of slide\n */\n width;\n /**\n * Css-rule 'margin-left'\n */\n marginL;\n /**\n * Css-rule 'margin-right'\n */\n marginR;\n /**\n * Make slide to be on center of the carousel\n */\n isCentered;\n /**\n * Mark slide to be on center of the carousel (has .center)\n */\n center;\n /**\n * Cloned slide. It's being used when 'loop'=true\n */\n isCloned;\n /**\n * Indicates whether slide should be lazy loaded\n */\n load;\n /**\n * Css-rule 'left'\n */\n left;\n /**\n * Changeable classes of slide\n */\n classes;\n /**\n * Shows whether slide could be animated and could have css-class '.animated'\n */\n isAnimated;\n /**\n * Shows whether slide could be animated-in and could have css-class '.owl-animated-in'\n */\n isDefAnimatedIn;\n /**\n * Shows whether slide could be animated-out and could have css-class '.owl-animated-out'\n */\n isDefAnimatedOut;\n /**\n * Shows whether slide could be animated-in and could have animation css-class defined by user\n */\n isCustomAnimatedIn;\n /**\n * Shows whether slide could be animated-out and could have animation css-class defined by user\n */\n isCustomAnimatedOut;\n /**\n * State for defining the height of slide.It's values could be 'full' and 'nulled'. 'Full' sets css-height to 'auto', 'nulled' sets height to '0'.\n */\n heightState;\n /**\n * Hash (fragment) of url which corresponds to slide\n */\n hashFragment;\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CarouselComponent, CarouselModule, CarouselSlideDirective, OwlRouterLinkDirective, OwlRouterLinkWithHrefDirective, SlideModel, SlidesOutputData };\n","import { scanInternals } from './scanInternals';\nimport { operate } from '../util/lift';\nexport function reduce(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, false, true));\n}\n","import * as i0 from '@angular/core';\nimport { Directive, NgModule, InjectionToken, Injectable, Inject, SecurityContext, Injector, Component, HostBinding, HostListener } from '@angular/core';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport { Subject } from 'rxjs';\nimport * as i3 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i2 from '@angular/platform-browser';\n\nclass ToastContainerDirective {\n constructor(el) {\n this.el = el;\n }\n getContainerElement() {\n return this.el.nativeElement;\n }\n}\nToastContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastContainerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });\nToastContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"14.0.2\", type: ToastContainerDirective, selector: \"[toastContainer]\", exportAs: [\"toastContainer\"], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastContainerDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[toastContainer]',\n exportAs: 'toastContainer',\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });\nclass ToastContainerModule {\n}\nToastContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nToastContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastContainerModule, declarations: [ToastContainerDirective], exports: [ToastContainerDirective] });\nToastContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastContainerModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastContainerModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [ToastContainerDirective],\n exports: [ToastContainerDirective],\n }]\n }] });\n\n/**\n * A `ComponentPortal` is a portal that instantiates some Component upon attachment.\n */\nclass ComponentPortal {\n constructor(component, injector) {\n this.component = component;\n this.injector = injector;\n }\n /** Attach this portal to a host. */\n attach(host, newestOnTop) {\n this._attachedHost = host;\n return host.attach(this, newestOnTop);\n }\n /** Detach this portal from its host */\n detach() {\n const host = this._attachedHost;\n if (host) {\n this._attachedHost = undefined;\n return host.detach();\n }\n }\n /** Whether this portal is attached to a host. */\n get isAttached() {\n return this._attachedHost != null;\n }\n /**\n * Sets the PortalHost reference without performing `attach()`. This is used directly by\n * the PortalHost when it is performing an `attach()` or `detach()`.\n */\n setAttachedHost(host) {\n this._attachedHost = host;\n }\n}\n/**\n * Partial implementation of PortalHost that only deals with attaching a\n * ComponentPortal\n */\nclass BasePortalHost {\n attach(portal, newestOnTop) {\n this._attachedPortal = portal;\n return this.attachComponentPortal(portal, newestOnTop);\n }\n detach() {\n if (this._attachedPortal) {\n this._attachedPortal.setAttachedHost();\n }\n this._attachedPortal = undefined;\n if (this._disposeFn) {\n this._disposeFn();\n this._disposeFn = undefined;\n }\n }\n setDisposeFn(fn) {\n this._disposeFn = fn;\n }\n}\n\n/**\n * Reference to a toast opened via the Toastr service.\n */\nclass ToastRef {\n constructor(_overlayRef) {\n this._overlayRef = _overlayRef;\n /** Count of duplicates of this toast */\n this.duplicatesCount = 0;\n /** Subject for notifying the user that the toast has finished closing. */\n this._afterClosed = new Subject();\n /** triggered when toast is activated */\n this._activate = new Subject();\n /** notifies the toast that it should close before the timeout */\n this._manualClose = new Subject();\n /** notifies the toast that it should reset the timeouts */\n this._resetTimeout = new Subject();\n /** notifies the toast that it should count a duplicate toast */\n this._countDuplicate = new Subject();\n }\n manualClose() {\n this._manualClose.next();\n this._manualClose.complete();\n }\n manualClosed() {\n return this._manualClose.asObservable();\n }\n timeoutReset() {\n return this._resetTimeout.asObservable();\n }\n countDuplicate() {\n return this._countDuplicate.asObservable();\n }\n /**\n * Close the toast.\n */\n close() {\n this._overlayRef.detach();\n this._afterClosed.next();\n this._manualClose.next();\n this._afterClosed.complete();\n this._manualClose.complete();\n this._activate.complete();\n this._resetTimeout.complete();\n this._countDuplicate.complete();\n }\n /** Gets an observable that is notified when the toast is finished closing. */\n afterClosed() {\n return this._afterClosed.asObservable();\n }\n isInactive() {\n return this._activate.isStopped;\n }\n activate() {\n this._activate.next();\n this._activate.complete();\n }\n /** Gets an observable that is notified when the toast has started opening. */\n afterActivate() {\n return this._activate.asObservable();\n }\n /** Reset the toast timouts and count duplicates */\n onDuplicate(resetTimeout, countDuplicate) {\n if (resetTimeout) {\n this._resetTimeout.next();\n }\n if (countDuplicate) {\n this._countDuplicate.next(++this.duplicatesCount);\n }\n }\n}\n\n/**\n * Everything a toast needs to launch\n */\nclass ToastPackage {\n constructor(toastId, config, message, title, toastType, toastRef) {\n this.toastId = toastId;\n this.config = config;\n this.message = message;\n this.title = title;\n this.toastType = toastType;\n this.toastRef = toastRef;\n this._onTap = new Subject();\n this._onAction = new Subject();\n this.toastRef.afterClosed().subscribe(() => {\n this._onAction.complete();\n this._onTap.complete();\n });\n }\n /** Fired on click */\n triggerTap() {\n this._onTap.next();\n if (this.config.tapToDismiss) {\n this._onTap.complete();\n }\n }\n onTap() {\n return this._onTap.asObservable();\n }\n /** available for use in custom toast */\n triggerAction(action) {\n this._onAction.next(action);\n }\n onAction() {\n return this._onAction.asObservable();\n }\n}\nconst DefaultNoComponentGlobalConfig = {\n maxOpened: 0,\n autoDismiss: false,\n newestOnTop: true,\n preventDuplicates: false,\n countDuplicates: false,\n resetTimeoutOnDuplicate: false,\n includeTitleDuplicates: false,\n iconClasses: {\n error: 'toast-error',\n info: 'toast-info',\n success: 'toast-success',\n warning: 'toast-warning',\n },\n // Individual\n closeButton: false,\n disableTimeOut: false,\n timeOut: 5000,\n extendedTimeOut: 1000,\n enableHtml: false,\n progressBar: false,\n toastClass: 'ngx-toastr',\n positionClass: 'toast-top-right',\n titleClass: 'toast-title',\n messageClass: 'toast-message',\n easing: 'ease-in',\n easeTime: 300,\n tapToDismiss: true,\n onActivateTick: false,\n progressAnimation: 'decreasing',\n payload: null\n};\nconst TOAST_CONFIG = new InjectionToken('ToastConfig');\n\n/**\n * A PortalHost for attaching portals to an arbitrary DOM element outside of the Angular\n * application context.\n *\n * This is the only part of the portal core that directly touches the DOM.\n */\nclass DomPortalHost extends BasePortalHost {\n constructor(_hostDomElement, _componentFactoryResolver, _appRef) {\n super();\n this._hostDomElement = _hostDomElement;\n this._componentFactoryResolver = _componentFactoryResolver;\n this._appRef = _appRef;\n }\n /**\n * Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver.\n * @param portal Portal to be attached\n */\n attachComponentPortal(portal, newestOnTop) {\n const componentFactory = this._componentFactoryResolver.resolveComponentFactory(portal.component);\n let componentRef;\n // If the portal specifies a ViewContainerRef, we will use that as the attachment point\n // for the component (in terms of Angular's component tree, not rendering).\n // When the ViewContainerRef is missing, we use the factory to create the component directly\n // and then manually attach the ChangeDetector for that component to the application (which\n // happens automatically when using a ViewContainer).\n componentRef = componentFactory.create(portal.injector);\n // When creating a component outside of a ViewContainer, we need to manually register\n // its ChangeDetector with the application. This API is unfortunately not yet published\n // in Angular core. The change detector must also be deregistered when the component\n // is destroyed to prevent memory leaks.\n this._appRef.attachView(componentRef.hostView);\n this.setDisposeFn(() => {\n this._appRef.detachView(componentRef.hostView);\n componentRef.destroy();\n });\n // At this point the component has been instantiated, so we move it to the location in the DOM\n // where we want it to be rendered.\n if (newestOnTop) {\n this._hostDomElement.insertBefore(this._getComponentRootNode(componentRef), this._hostDomElement.firstChild);\n }\n else {\n this._hostDomElement.appendChild(this._getComponentRootNode(componentRef));\n }\n return componentRef;\n }\n /** Gets the root HTMLElement for an instantiated component. */\n _getComponentRootNode(componentRef) {\n return componentRef.hostView.rootNodes[0];\n }\n}\n\n/**\n * Reference to an overlay that has been created with the Overlay service.\n * Used to manipulate or dispose of said overlay.\n */\nclass OverlayRef {\n constructor(_portalHost) {\n this._portalHost = _portalHost;\n }\n attach(portal, newestOnTop = true) {\n return this._portalHost.attach(portal, newestOnTop);\n }\n /**\n * Detaches an overlay from a portal.\n * @returns Resolves when the overlay has been detached.\n */\n detach() {\n return this._portalHost.detach();\n }\n}\n\n/** Container inside which all toasts will render. */\nclass OverlayContainer {\n constructor(_document) {\n this._document = _document;\n }\n ngOnDestroy() {\n if (this._containerElement && this._containerElement.parentNode) {\n this._containerElement.parentNode.removeChild(this._containerElement);\n }\n }\n /**\n * This method returns the overlay container element. It will lazily\n * create the element the first time it is called to facilitate using\n * the container in non-browser environments.\n * @returns the container element\n */\n getContainerElement() {\n if (!this._containerElement) {\n this._createContainer();\n }\n return this._containerElement;\n }\n /**\n * Create the overlay container element, which is simply a div\n * with the 'cdk-overlay-container' class on the document body\n * and 'aria-live=\"polite\"'\n */\n _createContainer() {\n const container = this._document.createElement('div');\n container.classList.add('overlay-container');\n container.setAttribute('aria-live', 'polite');\n this._document.body.appendChild(container);\n this._containerElement = container;\n }\n}\nOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: OverlayContainer, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: OverlayContainer, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: OverlayContainer, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/**\n * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be\n * used as a low-level building building block for other components. Dialogs, tooltips, menus,\n * selects, etc. can all be built using overlays. The service should primarily be used by authors\n * of re-usable components rather than developers building end-user applications.\n *\n * An overlay *is* a PortalHost, so any kind of Portal can be loaded into one.\n */\nclass Overlay {\n constructor(_overlayContainer, _componentFactoryResolver, _appRef, _document) {\n this._overlayContainer = _overlayContainer;\n this._componentFactoryResolver = _componentFactoryResolver;\n this._appRef = _appRef;\n this._document = _document;\n // Namespace panes by overlay container\n this._paneElements = new Map();\n }\n /**\n * Creates an overlay.\n * @returns A reference to the created overlay.\n */\n create(positionClass, overlayContainer) {\n // get existing pane if possible\n return this._createOverlayRef(this.getPaneElement(positionClass, overlayContainer));\n }\n getPaneElement(positionClass = '', overlayContainer) {\n if (!this._paneElements.get(overlayContainer)) {\n this._paneElements.set(overlayContainer, {});\n }\n if (!this._paneElements.get(overlayContainer)[positionClass]) {\n this._paneElements.get(overlayContainer)[positionClass] = this._createPaneElement(positionClass, overlayContainer);\n }\n return this._paneElements.get(overlayContainer)[positionClass];\n }\n /**\n * Creates the DOM element for an overlay and appends it to the overlay container.\n * @returns Newly-created pane element\n */\n _createPaneElement(positionClass, overlayContainer) {\n const pane = this._document.createElement('div');\n pane.id = 'toast-container';\n pane.classList.add(positionClass);\n pane.classList.add('toast-container');\n if (!overlayContainer) {\n this._overlayContainer.getContainerElement().appendChild(pane);\n }\n else {\n overlayContainer.getContainerElement().appendChild(pane);\n }\n return pane;\n }\n /**\n * Create a DomPortalHost into which the overlay content can be loaded.\n * @param pane The DOM element to turn into a portal host.\n * @returns A portal host for the given DOM element.\n */\n _createPortalHost(pane) {\n return new DomPortalHost(pane, this._componentFactoryResolver, this._appRef);\n }\n /**\n * Creates an OverlayRef for an overlay in the given DOM element.\n * @param pane DOM element for the overlay\n */\n _createOverlayRef(pane) {\n return new OverlayRef(this._createPortalHost(pane));\n }\n}\nOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: Overlay, deps: [{ token: OverlayContainer }, { token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: Overlay, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: Overlay, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: OverlayContainer }, { type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\nclass ToastrService {\n constructor(token, overlay, _injector, sanitizer, ngZone) {\n this.overlay = overlay;\n this._injector = _injector;\n this.sanitizer = sanitizer;\n this.ngZone = ngZone;\n this.currentlyActive = 0;\n this.toasts = [];\n this.index = 0;\n this.toastrConfig = {\n ...token.default,\n ...token.config,\n };\n if (token.config.iconClasses) {\n this.toastrConfig.iconClasses = {\n ...token.default.iconClasses,\n ...token.config.iconClasses,\n };\n }\n }\n /** show toast */\n show(message, title, override = {}, type = '') {\n return this._preBuildNotification(type, message, title, this.applyConfig(override));\n }\n /** show successful toast */\n success(message, title, override = {}) {\n const type = this.toastrConfig.iconClasses.success || '';\n return this._preBuildNotification(type, message, title, this.applyConfig(override));\n }\n /** show error toast */\n error(message, title, override = {}) {\n const type = this.toastrConfig.iconClasses.error || '';\n return this._preBuildNotification(type, message, title, this.applyConfig(override));\n }\n /** show info toast */\n info(message, title, override = {}) {\n const type = this.toastrConfig.iconClasses.info || '';\n return this._preBuildNotification(type, message, title, this.applyConfig(override));\n }\n /** show warning toast */\n warning(message, title, override = {}) {\n const type = this.toastrConfig.iconClasses.warning || '';\n return this._preBuildNotification(type, message, title, this.applyConfig(override));\n }\n /**\n * Remove all or a single toast by id\n */\n clear(toastId) {\n // Call every toastRef manualClose function\n for (const toast of this.toasts) {\n if (toastId !== undefined) {\n if (toast.toastId === toastId) {\n toast.toastRef.manualClose();\n return;\n }\n }\n else {\n toast.toastRef.manualClose();\n }\n }\n }\n /**\n * Remove and destroy a single toast by id\n */\n remove(toastId) {\n const found = this._findToast(toastId);\n if (!found) {\n return false;\n }\n found.activeToast.toastRef.close();\n this.toasts.splice(found.index, 1);\n this.currentlyActive = this.currentlyActive - 1;\n if (!this.toastrConfig.maxOpened || !this.toasts.length) {\n return false;\n }\n if (this.currentlyActive < this.toastrConfig.maxOpened && this.toasts[this.currentlyActive]) {\n const p = this.toasts[this.currentlyActive].toastRef;\n if (!p.isInactive()) {\n this.currentlyActive = this.currentlyActive + 1;\n p.activate();\n }\n }\n return true;\n }\n /**\n * Determines if toast message is already shown\n */\n findDuplicate(title = '', message = '', resetOnDuplicate, countDuplicates) {\n const { includeTitleDuplicates } = this.toastrConfig;\n for (const toast of this.toasts) {\n const hasDuplicateTitle = includeTitleDuplicates && toast.title === title;\n if ((!includeTitleDuplicates || hasDuplicateTitle) && toast.message === message) {\n toast.toastRef.onDuplicate(resetOnDuplicate, countDuplicates);\n return toast;\n }\n }\n return null;\n }\n /** create a clone of global config and apply individual settings */\n applyConfig(override = {}) {\n return { ...this.toastrConfig, ...override };\n }\n /**\n * Find toast object by id\n */\n _findToast(toastId) {\n for (let i = 0; i < this.toasts.length; i++) {\n if (this.toasts[i].toastId === toastId) {\n return { index: i, activeToast: this.toasts[i] };\n }\n }\n return null;\n }\n /**\n * Determines the need to run inside angular's zone then builds the toast\n */\n _preBuildNotification(toastType, message, title, config) {\n if (config.onActivateTick) {\n return this.ngZone.run(() => this._buildNotification(toastType, message, title, config));\n }\n return this._buildNotification(toastType, message, title, config);\n }\n /**\n * Creates and attaches toast data to component\n * returns the active toast, or in case preventDuplicates is enabled the original/non-duplicate active toast.\n */\n _buildNotification(toastType, message, title, config) {\n if (!config.toastComponent) {\n throw new Error('toastComponent required');\n }\n // max opened and auto dismiss = true\n // if timeout = 0 resetting it would result in setting this.hideTime = Date.now(). Hence, we only want to reset timeout if there is\n // a timeout at all\n const duplicate = this.findDuplicate(title, message, this.toastrConfig.resetTimeoutOnDuplicate && config.timeOut > 0, this.toastrConfig.countDuplicates);\n if (((this.toastrConfig.includeTitleDuplicates && title) || message) &&\n this.toastrConfig.preventDuplicates &&\n duplicate !== null) {\n return duplicate;\n }\n this.previousToastMessage = message;\n let keepInactive = false;\n if (this.toastrConfig.maxOpened && this.currentlyActive >= this.toastrConfig.maxOpened) {\n keepInactive = true;\n if (this.toastrConfig.autoDismiss) {\n this.clear(this.toasts[0].toastId);\n }\n }\n const overlayRef = this.overlay.create(config.positionClass, this.overlayContainer);\n this.index = this.index + 1;\n let sanitizedMessage = message;\n if (message && config.enableHtml) {\n sanitizedMessage = this.sanitizer.sanitize(SecurityContext.HTML, message);\n }\n const toastRef = new ToastRef(overlayRef);\n const toastPackage = new ToastPackage(this.index, config, sanitizedMessage, title, toastType, toastRef);\n /** New injector that contains an instance of `ToastPackage`. */\n const providers = [{ provide: ToastPackage, useValue: toastPackage }];\n const toastInjector = Injector.create({ providers, parent: this._injector });\n const component = new ComponentPortal(config.toastComponent, toastInjector);\n const portal = overlayRef.attach(component, config.newestOnTop);\n toastRef.componentInstance = portal.instance;\n const ins = {\n toastId: this.index,\n title: title || '',\n message: message || '',\n toastRef,\n onShown: toastRef.afterActivate(),\n onHidden: toastRef.afterClosed(),\n onTap: toastPackage.onTap(),\n onAction: toastPackage.onAction(),\n portal,\n };\n if (!keepInactive) {\n this.currentlyActive = this.currentlyActive + 1;\n setTimeout(() => {\n ins.toastRef.activate();\n });\n }\n this.toasts.push(ins);\n return ins;\n }\n}\nToastrService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrService, deps: [{ token: TOAST_CONFIG }, { token: Overlay }, { token: i0.Injector }, { token: i2.DomSanitizer }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });\nToastrService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrService, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [TOAST_CONFIG]\n }] }, { type: Overlay }, { type: i0.Injector }, { type: i2.DomSanitizer }, { type: i0.NgZone }]; } });\n\nclass Toast {\n constructor(toastrService, toastPackage, ngZone) {\n this.toastrService = toastrService;\n this.toastPackage = toastPackage;\n this.ngZone = ngZone;\n /** width of progress bar */\n this.width = -1;\n /** a combination of toast type and options.toastClass */\n this.toastClasses = '';\n /** controls animation */\n this.state = {\n value: 'inactive',\n params: {\n easeTime: this.toastPackage.config.easeTime,\n easing: 'ease-in'\n }\n };\n this.message = toastPackage.message;\n this.title = toastPackage.title;\n this.options = toastPackage.config;\n this.originalTimeout = toastPackage.config.timeOut;\n this.toastClasses = `${toastPackage.toastType} ${toastPackage.config.toastClass}`;\n this.sub = toastPackage.toastRef.afterActivate().subscribe(() => {\n this.activateToast();\n });\n this.sub1 = toastPackage.toastRef.manualClosed().subscribe(() => {\n this.remove();\n });\n this.sub2 = toastPackage.toastRef.timeoutReset().subscribe(() => {\n this.resetTimeout();\n });\n this.sub3 = toastPackage.toastRef.countDuplicate().subscribe(count => {\n this.duplicatesCount = count;\n });\n }\n /** hides component when waiting to be displayed */\n get displayStyle() {\n if (this.state.value === 'inactive') {\n return 'none';\n }\n return;\n }\n ngOnDestroy() {\n this.sub.unsubscribe();\n this.sub1.unsubscribe();\n this.sub2.unsubscribe();\n this.sub3.unsubscribe();\n clearInterval(this.intervalId);\n clearTimeout(this.timeout);\n }\n /**\n * activates toast and sets timeout\n */\n activateToast() {\n this.state = { ...this.state, value: 'active' };\n if (!(this.options.disableTimeOut === true || this.options.disableTimeOut === 'timeOut') && this.options.timeOut) {\n this.outsideTimeout(() => this.remove(), this.options.timeOut);\n this.hideTime = new Date().getTime() + this.options.timeOut;\n if (this.options.progressBar) {\n this.outsideInterval(() => this.updateProgress(), 10);\n }\n }\n }\n /**\n * updates progress bar width\n */\n updateProgress() {\n if (this.width === 0 || this.width === 100 || !this.options.timeOut) {\n return;\n }\n const now = new Date().getTime();\n const remaining = this.hideTime - now;\n this.width = (remaining / this.options.timeOut) * 100;\n if (this.options.progressAnimation === 'increasing') {\n this.width = 100 - this.width;\n }\n if (this.width <= 0) {\n this.width = 0;\n }\n if (this.width >= 100) {\n this.width = 100;\n }\n }\n resetTimeout() {\n clearTimeout(this.timeout);\n clearInterval(this.intervalId);\n this.state = { ...this.state, value: 'active' };\n this.outsideTimeout(() => this.remove(), this.originalTimeout);\n this.options.timeOut = this.originalTimeout;\n this.hideTime = new Date().getTime() + (this.options.timeOut || 0);\n this.width = -1;\n if (this.options.progressBar) {\n this.outsideInterval(() => this.updateProgress(), 10);\n }\n }\n /**\n * tells toastrService to remove this toast after animation time\n */\n remove() {\n if (this.state.value === 'removed') {\n return;\n }\n clearTimeout(this.timeout);\n this.state = { ...this.state, value: 'removed' };\n this.outsideTimeout(() => this.toastrService.remove(this.toastPackage.toastId), +this.toastPackage.config.easeTime);\n }\n tapToast() {\n if (this.state.value === 'removed') {\n return;\n }\n this.toastPackage.triggerTap();\n if (this.options.tapToDismiss) {\n this.remove();\n }\n }\n stickAround() {\n if (this.state.value === 'removed') {\n return;\n }\n if (this.options.disableTimeOut !== 'extendedTimeOut') {\n clearTimeout(this.timeout);\n this.options.timeOut = 0;\n this.hideTime = 0;\n // disable progressBar\n clearInterval(this.intervalId);\n this.width = 0;\n }\n }\n delayedHideToast() {\n if ((this.options.disableTimeOut === true || this.options.disableTimeOut === 'extendedTimeOut') ||\n this.options.extendedTimeOut === 0 ||\n this.state.value === 'removed') {\n return;\n }\n this.outsideTimeout(() => this.remove(), this.options.extendedTimeOut);\n this.options.timeOut = this.options.extendedTimeOut;\n this.hideTime = new Date().getTime() + (this.options.timeOut || 0);\n this.width = -1;\n if (this.options.progressBar) {\n this.outsideInterval(() => this.updateProgress(), 10);\n }\n }\n outsideTimeout(func, timeout) {\n if (this.ngZone) {\n this.ngZone.runOutsideAngular(() => (this.timeout = setTimeout(() => this.runInsideAngular(func), timeout)));\n }\n else {\n this.timeout = setTimeout(() => func(), timeout);\n }\n }\n outsideInterval(func, timeout) {\n if (this.ngZone) {\n this.ngZone.runOutsideAngular(() => (this.intervalId = setInterval(() => this.runInsideAngular(func), timeout)));\n }\n else {\n this.intervalId = setInterval(() => func(), timeout);\n }\n }\n runInsideAngular(func) {\n if (this.ngZone) {\n this.ngZone.run(() => func());\n }\n else {\n func();\n }\n }\n}\nToast.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: Toast, deps: [{ token: ToastrService }, { token: ToastPackage }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });\nToast.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"14.0.2\", type: Toast, selector: \"[toast-component]\", host: { listeners: { \"click\": \"tapToast()\", \"mouseenter\": \"stickAround()\", \"mouseleave\": \"delayedHideToast()\" }, properties: { \"class\": \"this.toastClasses\", \"@flyInOut\": \"this.state\", \"style.display\": \"this.displayStyle\" } }, ngImport: i0, template: `\n \n
\n {{ title }} [{{ duplicatesCount + 1 }}]\n
\n
\n
\n
\n {{ message }}\n
\n
\n
\n
\n `, isInline: true, dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }], animations: [\n trigger('flyInOut', [\n state('inactive', style({ opacity: 0 })),\n state('active', style({ opacity: 1 })),\n state('removed', style({ opacity: 0 })),\n transition('inactive => active', animate('{{ easeTime }}ms {{ easing }}')),\n transition('active => removed', animate('{{ easeTime }}ms {{ easing }}'))\n ])\n ] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: Toast, decorators: [{\n type: Component,\n args: [{\n selector: '[toast-component]',\n template: `\n \n
\n {{ title }} [{{ duplicatesCount + 1 }}]\n
\n
\n
\n
\n {{ message }}\n
\n
\n
\n
\n `,\n animations: [\n trigger('flyInOut', [\n state('inactive', style({ opacity: 0 })),\n state('active', style({ opacity: 1 })),\n state('removed', style({ opacity: 0 })),\n transition('inactive => active', animate('{{ easeTime }}ms {{ easing }}')),\n transition('active => removed', animate('{{ easeTime }}ms {{ easing }}'))\n ])\n ],\n preserveWhitespaces: false\n }]\n }], ctorParameters: function () { return [{ type: ToastrService }, { type: ToastPackage }, { type: i0.NgZone }]; }, propDecorators: { toastClasses: [{\n type: HostBinding,\n args: ['class']\n }], state: [{\n type: HostBinding,\n args: ['@flyInOut']\n }], displayStyle: [{\n type: HostBinding,\n args: ['style.display']\n }], tapToast: [{\n type: HostListener,\n args: ['click']\n }], stickAround: [{\n type: HostListener,\n args: ['mouseenter']\n }], delayedHideToast: [{\n type: HostListener,\n args: ['mouseleave']\n }] } });\n\nconst DefaultGlobalConfig = {\n ...DefaultNoComponentGlobalConfig,\n toastComponent: Toast,\n};\nclass ToastrModule {\n static forRoot(config = {}) {\n return {\n ngModule: ToastrModule,\n providers: [\n {\n provide: TOAST_CONFIG,\n useValue: {\n default: DefaultGlobalConfig,\n config,\n },\n },\n ],\n };\n }\n}\nToastrModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nToastrModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrModule, declarations: [Toast], imports: [CommonModule], exports: [Toast] });\nToastrModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrModule, imports: [CommonModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [Toast],\n exports: [Toast],\n }]\n }] });\nclass ToastrComponentlessModule {\n static forRoot(config = {}) {\n return {\n ngModule: ToastrModule,\n providers: [\n {\n provide: TOAST_CONFIG,\n useValue: {\n default: DefaultNoComponentGlobalConfig,\n config,\n },\n },\n ],\n };\n }\n}\nToastrComponentlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrComponentlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nToastrComponentlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrComponentlessModule, imports: [CommonModule] });\nToastrComponentlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrComponentlessModule, imports: [CommonModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastrComponentlessModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n }]\n }] });\n\nclass ToastNoAnimation {\n constructor(toastrService, toastPackage, appRef) {\n this.toastrService = toastrService;\n this.toastPackage = toastPackage;\n this.appRef = appRef;\n /** width of progress bar */\n this.width = -1;\n /** a combination of toast type and options.toastClass */\n this.toastClasses = '';\n /** controls animation */\n this.state = 'inactive';\n this.message = toastPackage.message;\n this.title = toastPackage.title;\n this.options = toastPackage.config;\n this.originalTimeout = toastPackage.config.timeOut;\n this.toastClasses = `${toastPackage.toastType} ${toastPackage.config.toastClass}`;\n this.sub = toastPackage.toastRef.afterActivate().subscribe(() => {\n this.activateToast();\n });\n this.sub1 = toastPackage.toastRef.manualClosed().subscribe(() => {\n this.remove();\n });\n this.sub2 = toastPackage.toastRef.timeoutReset().subscribe(() => {\n this.resetTimeout();\n });\n this.sub3 = toastPackage.toastRef.countDuplicate().subscribe(count => {\n this.duplicatesCount = count;\n });\n }\n /** hides component when waiting to be displayed */\n get displayStyle() {\n if (this.state === 'inactive') {\n return 'none';\n }\n }\n ngOnDestroy() {\n this.sub.unsubscribe();\n this.sub1.unsubscribe();\n this.sub2.unsubscribe();\n this.sub3.unsubscribe();\n clearInterval(this.intervalId);\n clearTimeout(this.timeout);\n }\n /**\n * activates toast and sets timeout\n */\n activateToast() {\n this.state = 'active';\n if (!(this.options.disableTimeOut === true || this.options.disableTimeOut === 'timeOut') && this.options.timeOut) {\n this.timeout = setTimeout(() => {\n this.remove();\n }, this.options.timeOut);\n this.hideTime = new Date().getTime() + this.options.timeOut;\n if (this.options.progressBar) {\n this.intervalId = setInterval(() => this.updateProgress(), 10);\n }\n }\n if (this.options.onActivateTick) {\n this.appRef.tick();\n }\n }\n /**\n * updates progress bar width\n */\n updateProgress() {\n if (this.width === 0 || this.width === 100 || !this.options.timeOut) {\n return;\n }\n const now = new Date().getTime();\n const remaining = this.hideTime - now;\n this.width = (remaining / this.options.timeOut) * 100;\n if (this.options.progressAnimation === 'increasing') {\n this.width = 100 - this.width;\n }\n if (this.width <= 0) {\n this.width = 0;\n }\n if (this.width >= 100) {\n this.width = 100;\n }\n }\n resetTimeout() {\n clearTimeout(this.timeout);\n clearInterval(this.intervalId);\n this.state = 'active';\n this.options.timeOut = this.originalTimeout;\n this.timeout = setTimeout(() => this.remove(), this.originalTimeout);\n this.hideTime = new Date().getTime() + (this.originalTimeout || 0);\n this.width = -1;\n if (this.options.progressBar) {\n this.intervalId = setInterval(() => this.updateProgress(), 10);\n }\n }\n /**\n * tells toastrService to remove this toast after animation time\n */\n remove() {\n if (this.state === 'removed') {\n return;\n }\n clearTimeout(this.timeout);\n this.state = 'removed';\n this.timeout = setTimeout(() => this.toastrService.remove(this.toastPackage.toastId));\n }\n tapToast() {\n if (this.state === 'removed') {\n return;\n }\n this.toastPackage.triggerTap();\n if (this.options.tapToDismiss) {\n this.remove();\n }\n }\n stickAround() {\n if (this.state === 'removed') {\n return;\n }\n clearTimeout(this.timeout);\n this.options.timeOut = 0;\n this.hideTime = 0;\n // disable progressBar\n clearInterval(this.intervalId);\n this.width = 0;\n }\n delayedHideToast() {\n if ((this.options.disableTimeOut === true || this.options.disableTimeOut === 'extendedTimeOut') ||\n this.options.extendedTimeOut === 0 ||\n this.state === 'removed') {\n return;\n }\n this.timeout = setTimeout(() => this.remove(), this.options.extendedTimeOut);\n this.options.timeOut = this.options.extendedTimeOut;\n this.hideTime = new Date().getTime() + (this.options.timeOut || 0);\n this.width = -1;\n if (this.options.progressBar) {\n this.intervalId = setInterval(() => this.updateProgress(), 10);\n }\n }\n}\nToastNoAnimation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastNoAnimation, deps: [{ token: ToastrService }, { token: ToastPackage }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Component });\nToastNoAnimation.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"14.0.2\", type: ToastNoAnimation, selector: \"[toast-component]\", host: { listeners: { \"click\": \"tapToast()\", \"mouseenter\": \"stickAround()\", \"mouseleave\": \"delayedHideToast()\" }, properties: { \"class\": \"this.toastClasses\", \"style.display\": \"this.displayStyle\" } }, ngImport: i0, template: `\n \n
\n {{ title }} [{{ duplicatesCount + 1 }}]\n
\n
\n
\n
\n {{ message }}\n
\n
\n
\n
\n `, isInline: true, dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastNoAnimation, decorators: [{\n type: Component,\n args: [{\n selector: '[toast-component]',\n template: `\n \n
\n {{ title }} [{{ duplicatesCount + 1 }}]\n
\n
\n
\n
\n {{ message }}\n
\n
\n
\n
\n `,\n }]\n }], ctorParameters: function () { return [{ type: ToastrService }, { type: ToastPackage }, { type: i0.ApplicationRef }]; }, propDecorators: { toastClasses: [{\n type: HostBinding,\n args: ['class']\n }], displayStyle: [{\n type: HostBinding,\n args: ['style.display']\n }], tapToast: [{\n type: HostListener,\n args: ['click']\n }], stickAround: [{\n type: HostListener,\n args: ['mouseenter']\n }], delayedHideToast: [{\n type: HostListener,\n args: ['mouseleave']\n }] } });\nconst DefaultNoAnimationsGlobalConfig = {\n ...DefaultNoComponentGlobalConfig,\n toastComponent: ToastNoAnimation,\n};\nclass ToastNoAnimationModule {\n static forRoot(config = {}) {\n return {\n ngModule: ToastNoAnimationModule,\n providers: [\n {\n provide: TOAST_CONFIG,\n useValue: {\n default: DefaultNoAnimationsGlobalConfig,\n config,\n },\n },\n ],\n };\n }\n}\nToastNoAnimationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastNoAnimationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nToastNoAnimationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastNoAnimationModule, declarations: [ToastNoAnimation], imports: [CommonModule], exports: [ToastNoAnimation] });\nToastNoAnimationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastNoAnimationModule, imports: [CommonModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.2\", ngImport: i0, type: ToastNoAnimationModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [ToastNoAnimation],\n exports: [ToastNoAnimation],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BasePortalHost, ComponentPortal, DefaultGlobalConfig, DefaultNoAnimationsGlobalConfig, DefaultNoComponentGlobalConfig, Overlay, OverlayContainer, OverlayRef, TOAST_CONFIG, Toast, ToastContainerDirective, ToastContainerModule, ToastNoAnimation, ToastNoAnimationModule, ToastPackage, ToastRef, ToastrComponentlessModule, ToastrModule, ToastrService };\n","var InlineSVGConfig = (function () {\n function InlineSVGConfig() {\n }\n return InlineSVGConfig;\n}());\nexport { InlineSVGConfig };\n","import { Injectable, RendererFactory2 } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nvar InlineSVGService = (function () {\n function InlineSVGService(rendererFactory) {\n this._ranScripts = {};\n this._renderer = rendererFactory.createRenderer(null, null);\n }\n InlineSVGService.prototype.insertEl = function (dir, parentEl, content, replaceContents, prepend) {\n if (replaceContents && !prepend) {\n var parentNode = dir._prevSVG && dir._prevSVG.parentNode;\n if (parentNode) {\n this._renderer.removeChild(parentNode, dir._prevSVG);\n }\n parentEl.innerHTML = '';\n }\n if (prepend) {\n this._renderer.insertBefore(parentEl, content, parentEl.firstChild);\n }\n else {\n this._renderer.appendChild(parentEl, content);\n }\n if (content.nodeName === 'svg') {\n dir._prevSVG = content;\n }\n };\n InlineSVGService.prototype.evalScripts = function (svg, url, evalMode) {\n var scripts = svg.querySelectorAll('script');\n var scriptsToEval = [];\n for (var i = 0; i < scripts.length; i++) {\n var scriptType = scripts[i].getAttribute('type');\n if (!scriptType || scriptType === 'application/ecmascript' || scriptType === 'application/javascript') {\n var script = scripts[i].innerText || scripts[i].textContent;\n scriptsToEval.push(script);\n this._renderer.removeChild(scripts[i].parentNode, scripts[i]);\n }\n }\n if (scriptsToEval.length > 0 && (evalMode === \"always\" ||\n (evalMode === \"once\" && !this._ranScripts[url]))) {\n for (var i = 0; i < scriptsToEval.length; i++) {\n new Function(scriptsToEval[i])(window);\n }\n this._ranScripts[url] = true;\n }\n };\n InlineSVGService.ɵfac = function InlineSVGService_Factory(t) { return new (t || InlineSVGService)(i0.ɵɵinject(i0.RendererFactory2)); };\n InlineSVGService.ɵprov = i0.ɵɵdefineInjectable({ token: InlineSVGService, factory: InlineSVGService.ɵfac, providedIn: 'root' });\n return InlineSVGService;\n}());\nexport { InlineSVGService };\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(InlineSVGService, [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], function () { return [{ type: i0.RendererFactory2 }]; }, null); })();\n","import { ChangeDetectionStrategy, Component, ElementRef, Input } from '@angular/core';\nimport { InlineSVGDirective } from './inline-svg.directive';\nimport { InlineSVGService } from './inline-svg.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./inline-svg.service\";\nvar InlineSVGComponent = (function () {\n function InlineSVGComponent(_inlineSVGService, el) {\n this._inlineSVGService = _inlineSVGService;\n this._el = el;\n }\n InlineSVGComponent.prototype.ngAfterViewInit = function () {\n this._updateContent();\n };\n InlineSVGComponent.prototype.ngOnChanges = function (changes) {\n if (changes['content']) {\n this._updateContent();\n }\n };\n InlineSVGComponent.prototype._updateContent = function () {\n this._inlineSVGService.insertEl(this.context, this._el.nativeElement, this.content, this.replaceContents, this.prepend);\n };\n InlineSVGComponent.ɵfac = function InlineSVGComponent_Factory(t) { return new (t || InlineSVGComponent)(i0.ɵɵdirectiveInject(i1.InlineSVGService), i0.ɵɵdirectiveInject(i0.ElementRef)); };\n InlineSVGComponent.ɵcmp = i0.ɵɵdefineComponent({ type: InlineSVGComponent, selectors: [[\"inline-svg\"]], inputs: { context: \"context\", content: \"content\", replaceContents: \"replaceContents\", prepend: \"prepend\" }, features: [i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function InlineSVGComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });\n return InlineSVGComponent;\n}());\nexport { InlineSVGComponent };\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(InlineSVGComponent, [{\n type: Component,\n args: [{\n selector: 'inline-svg',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }], function () { return [{ type: i1.InlineSVGService }, { type: i0.ElementRef }]; }, { context: [{\n type: Input\n }], content: [{\n type: Input\n }], replaceContents: [{\n type: Input\n }], prepend: [{\n type: Input\n }] }); })();\n","import { APP_BASE_HREF, PlatformLocation } from '@angular/common';\nimport { HttpBackend, HttpClient } from '@angular/common/http';\nimport { Inject, Injectable, Optional, RendererFactory2 } from '@angular/core';\nimport { of, throwError } from 'rxjs';\nimport { catchError, map, share, tap } from 'rxjs/operators';\nimport { InlineSVGConfig } from './inline-svg.config';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"./inline-svg.config\";\nimport * as i3 from \"@angular/common/http\";\nvar SVGCacheService = (function () {\n function SVGCacheService(_appBase, _location, _config, httpClient, httpBackend, rendererFactory) {\n this._appBase = _appBase;\n this._location = _location;\n this._config = _config;\n this._http = _config && !_config.bypassHttpClientInterceptorChain\n ? httpClient\n : new HttpClient(httpBackend);\n this._renderer = rendererFactory.createRenderer(null, null);\n this.setBaseUrl();\n if (!SVGCacheService._cache) {\n SVGCacheService._cache = new Map();\n }\n if (!SVGCacheService._inProgressReqs) {\n SVGCacheService._inProgressReqs = new Map();\n }\n }\n SVGCacheService.prototype.getSVG = function (url, resolveSVGUrl, cache) {\n var _this = this;\n if (cache === void 0) { cache = true; }\n var svgUrl = (resolveSVGUrl\n ? this.getAbsoluteUrl(url)\n : url).replace(/#.+$/, '');\n if (cache && SVGCacheService._cache.has(svgUrl)) {\n return of(this._cloneSVG(SVGCacheService._cache.get(svgUrl)));\n }\n if (SVGCacheService._inProgressReqs.has(svgUrl)) {\n return SVGCacheService._inProgressReqs.get(svgUrl);\n }\n var req = this._http.get(svgUrl, { responseType: 'text' })\n .pipe(tap(function () {\n SVGCacheService._inProgressReqs.delete(svgUrl);\n }), catchError(function (error) {\n SVGCacheService._inProgressReqs.delete(svgUrl);\n return throwError(error.message);\n }), share(), map(function (svgText) {\n var svgEl = _this._svgElementFromString(svgText);\n SVGCacheService._cache.set(svgUrl, svgEl);\n return _this._cloneSVG(svgEl);\n }));\n SVGCacheService._inProgressReqs.set(svgUrl, req);\n return req;\n };\n SVGCacheService.prototype.setBaseUrl = function () {\n if (this._config) {\n this._baseUrl = this._config.baseUrl;\n }\n else if (this._appBase !== null) {\n this._baseUrl = this._appBase;\n }\n else if (this._location !== null) {\n this._baseUrl = this._location.getBaseHrefFromDOM();\n }\n };\n SVGCacheService.prototype.getAbsoluteUrl = function (url) {\n if (this._baseUrl && !/^https?:\\/\\//i.test(url)) {\n url = this._baseUrl + url;\n if (url.indexOf('//') === 0) {\n url = url.substring(1);\n }\n }\n var base = this._renderer.createElement('BASE');\n base.href = url;\n return base.href;\n };\n SVGCacheService.prototype._svgElementFromString = function (str) {\n var div = this._renderer.createElement('DIV');\n div.innerHTML = str;\n var svg = div.querySelector('svg');\n if (!svg) {\n throw new Error('No SVG found in loaded contents');\n }\n return svg;\n };\n SVGCacheService.prototype._cloneSVG = function (svg) {\n return svg.cloneNode(true);\n };\n SVGCacheService.ɵfac = function SVGCacheService_Factory(t) { return new (t || SVGCacheService)(i0.ɵɵinject(APP_BASE_HREF, 8), i0.ɵɵinject(i1.PlatformLocation, 8), i0.ɵɵinject(i2.InlineSVGConfig, 8), i0.ɵɵinject(i3.HttpClient), i0.ɵɵinject(i3.HttpBackend), i0.ɵɵinject(i0.RendererFactory2)); };\n SVGCacheService.ɵprov = i0.ɵɵdefineInjectable({ token: SVGCacheService, factory: SVGCacheService.ɵfac, providedIn: 'root' });\n return SVGCacheService;\n}());\nexport { SVGCacheService };\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(SVGCacheService, [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }, { type: i1.PlatformLocation, decorators: [{\n type: Optional\n }] }, { type: i2.InlineSVGConfig, decorators: [{\n type: Optional\n }] }, { type: i3.HttpClient }, { type: i3.HttpBackend }, { type: i0.RendererFactory2 }]; }, null); })();\n","export function isUrlSymbol(url) {\n return url.charAt(0) === '#' || url.indexOf('.svg#') > -1;\n}\nexport function isSvgSupported() {\n return typeof SVGRect !== 'undefined';\n}\nexport function createSymbolSvg(renderer, svg, symbolId) {\n var symbol = svg.querySelector(\"[id=\\\"\".concat(symbolId, \"\\\"]\"));\n if (!symbol) {\n throw new Error(\"Symbol \\\"\".concat(symbolId, \"\\\" not found\"));\n }\n var elSvg = renderer.createElement('svg', 'svg');\n renderer.appendChild(elSvg, symbol);\n var elSvgUse = renderer.createElement('use', 'svg');\n renderer.setAttribute(elSvgUse, 'href', \"#\".concat(symbolId), 'xlink');\n renderer.appendChild(elSvg, elSvgUse);\n return elSvg;\n}\nexport function removeAttributes(element, attrs) {\n for (var i = 0; i < attrs.length; i++) {\n var elAttr = element.getAttribute(attrs[i]);\n if (elAttr) {\n element.removeAttribute(attrs[i]);\n }\n }\n var innerEls = element.getElementsByTagName('*');\n for (var i = 0; i < innerEls.length; i++) {\n removeAttributes(innerEls[i], attrs);\n }\n}\nexport function setAttributes(element, attrs) {\n for (var attr in attrs) {\n element.setAttribute(attr, attrs[attr]);\n }\n}\n","import { ComponentFactoryResolver, Directive, ElementRef, EventEmitter, Inject, Input, Optional, Output, PLATFORM_ID, Renderer2, ViewContainerRef, } from '@angular/core';\nimport { isPlatformBrowser, isPlatformServer } from '@angular/common';\nimport { InlineSVGComponent } from './inline-svg.component';\nimport { SVGCacheService } from './svg-cache.service';\nimport { InlineSVGService } from './inline-svg.service';\nimport { InlineSVGConfig } from './inline-svg.config';\nimport * as SvgUtil from './svg-util';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./svg-cache.service\";\nimport * as i2 from \"./inline-svg.service\";\nimport * as i3 from \"./inline-svg.config\";\nvar InlineSVGDirective = (function () {\n function InlineSVGDirective(_el, _viewContainerRef, _resolver, _svgCache, _renderer, _inlineSVGService, _config, platformId) {\n this._el = _el;\n this._viewContainerRef = _viewContainerRef;\n this._resolver = _resolver;\n this._svgCache = _svgCache;\n this._renderer = _renderer;\n this._inlineSVGService = _inlineSVGService;\n this._config = _config;\n this.platformId = platformId;\n this.resolveSVGUrl = true;\n this.replaceContents = true;\n this.prepend = false;\n this.injectComponent = false;\n this.cacheSVG = true;\n this.forceEvalStyles = false;\n this.evalScripts = \"always\";\n this.onSVGInserted = new EventEmitter();\n this.onSVGFailed = new EventEmitter();\n this._supportsSVG = SvgUtil.isSvgSupported();\n if (!isPlatformServer(this.platformId) && !this._supportsSVG) {\n this._fail('Embed SVG are not supported by this browser');\n }\n }\n InlineSVGDirective.prototype.ngOnInit = function () {\n if (!this._isValidPlatform() || this._isSSRDisabled()) {\n return;\n }\n this._insertSVG();\n };\n InlineSVGDirective.prototype.ngOnChanges = function (changes) {\n if (!this._isValidPlatform() || this._isSSRDisabled()) {\n return;\n }\n var setSVGAttributesChanged = Boolean(changes['setSVGAttributes']);\n if (changes['inlineSVG'] || setSVGAttributesChanged) {\n this._insertSVG(setSVGAttributesChanged);\n }\n };\n InlineSVGDirective.prototype.ngOnDestroy = function () {\n if (this._subscription) {\n this._subscription.unsubscribe();\n }\n };\n InlineSVGDirective.prototype._insertSVG = function (force) {\n var _this = this;\n if (force === void 0) { force = false; }\n if (!isPlatformServer(this.platformId) && !this._supportsSVG) {\n return;\n }\n if (!this.inlineSVG) {\n this._fail('No URL passed to [inlineSVG]');\n return;\n }\n if (!force && this.inlineSVG === this._prevUrl) {\n return;\n }\n this._prevUrl = this.inlineSVG;\n this._subscription = this._svgCache.getSVG(this.inlineSVG, this.resolveSVGUrl, this.cacheSVG)\n .subscribe(function (svg) {\n if (SvgUtil.isUrlSymbol(_this.inlineSVG)) {\n var symbolId = _this.inlineSVG.split('#')[1];\n svg = SvgUtil.createSymbolSvg(_this._renderer, svg, symbolId);\n }\n _this._processSvg(svg);\n }, function (err) {\n _this._fail(err);\n });\n };\n InlineSVGDirective.prototype._processSvg = function (svg) {\n if (!svg) {\n return;\n }\n if (this.removeSVGAttributes && isPlatformBrowser(this.platformId)) {\n SvgUtil.removeAttributes(svg, this.removeSVGAttributes);\n }\n if (this.setSVGAttributes) {\n SvgUtil.setAttributes(svg, this.setSVGAttributes);\n }\n if (this.onSVGLoaded) {\n svg = this.onSVGLoaded(svg, this._el.nativeElement);\n }\n this._insertEl(svg);\n if (isPlatformBrowser(this.platformId)) {\n this._inlineSVGService.evalScripts(svg, this.inlineSVG, this.evalScripts);\n }\n if (this.forceEvalStyles) {\n var styleTags = svg.querySelectorAll('style');\n Array.from(styleTags).forEach(function (tag) { return tag.textContent += ''; });\n }\n this.onSVGInserted.emit(svg);\n };\n InlineSVGDirective.prototype._insertEl = function (el) {\n if (this.injectComponent) {\n if (!this._svgComp) {\n var factory = this._resolver.resolveComponentFactory(InlineSVGComponent);\n this._svgComp = this._viewContainerRef.createComponent(factory);\n }\n this._svgComp.instance.context = this;\n this._svgComp.instance.replaceContents = this.replaceContents;\n this._svgComp.instance.prepend = this.prepend;\n this._svgComp.instance.content = el;\n this._renderer.appendChild(this._el.nativeElement, this._svgComp.injector.get(InlineSVGComponent)._el.nativeElement);\n }\n else {\n this._inlineSVGService.insertEl(this, this._el.nativeElement, el, this.replaceContents, this.prepend);\n }\n };\n InlineSVGDirective.prototype._fail = function (msg) {\n this.onSVGFailed.emit(msg);\n if (this.fallbackImgUrl) {\n var elImg = this._renderer.createElement('IMG');\n this._renderer.setAttribute(elImg, 'src', this.fallbackImgUrl);\n this._insertEl(elImg);\n }\n else if (this.fallbackSVG && this.fallbackSVG !== this.inlineSVG) {\n this.inlineSVG = this.fallbackSVG;\n this._insertSVG();\n }\n };\n InlineSVGDirective.prototype._isValidPlatform = function () {\n return isPlatformServer(this.platformId) || isPlatformBrowser(this.platformId);\n };\n InlineSVGDirective.prototype._isSSRDisabled = function () {\n return isPlatformServer(this.platformId) && this._config && this._config.clientOnly;\n };\n InlineSVGDirective.ɵfac = function InlineSVGDirective_Factory(t) { return new (t || InlineSVGDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i1.SVGCacheService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i2.InlineSVGService), i0.ɵɵdirectiveInject(i3.InlineSVGConfig, 8), i0.ɵɵdirectiveInject(PLATFORM_ID)); };\n InlineSVGDirective.ɵdir = i0.ɵɵdefineDirective({ type: InlineSVGDirective, selectors: [[\"\", \"inlineSVG\", \"\"]], inputs: { inlineSVG: \"inlineSVG\", resolveSVGUrl: \"resolveSVGUrl\", replaceContents: \"replaceContents\", prepend: \"prepend\", injectComponent: \"injectComponent\", cacheSVG: \"cacheSVG\", setSVGAttributes: \"setSVGAttributes\", removeSVGAttributes: \"removeSVGAttributes\", forceEvalStyles: \"forceEvalStyles\", evalScripts: \"evalScripts\", fallbackImgUrl: \"fallbackImgUrl\", fallbackSVG: \"fallbackSVG\", onSVGLoaded: \"onSVGLoaded\" }, outputs: { onSVGInserted: \"onSVGInserted\", onSVGFailed: \"onSVGFailed\" }, features: [i0.ɵɵProvidersFeature([SVGCacheService]), i0.ɵɵNgOnChangesFeature] });\n return InlineSVGDirective;\n}());\nexport { InlineSVGDirective };\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(InlineSVGDirective, [{\n type: Directive,\n args: [{\n selector: '[inlineSVG]',\n providers: [SVGCacheService]\n }]\n }], function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: i1.SVGCacheService }, { type: i0.Renderer2 }, { type: i2.InlineSVGService }, { type: i3.InlineSVGConfig, decorators: [{\n type: Optional\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }]; }, { inlineSVG: [{\n type: Input\n }], resolveSVGUrl: [{\n type: Input\n }], replaceContents: [{\n type: Input\n }], prepend: [{\n type: Input\n }], injectComponent: [{\n type: Input\n }], cacheSVG: [{\n type: Input\n }], setSVGAttributes: [{\n type: Input\n }], removeSVGAttributes: [{\n type: Input\n }], forceEvalStyles: [{\n type: Input\n }], evalScripts: [{\n type: Input\n }], fallbackImgUrl: [{\n type: Input\n }], fallbackSVG: [{\n type: Input\n }], onSVGLoaded: [{\n type: Input\n }], onSVGInserted: [{\n type: Output\n }], onSVGFailed: [{\n type: Output\n }] }); })();\n","import { NgModule } from '@angular/core';\nimport { InlineSVGComponent } from './inline-svg.component';\nimport { InlineSVGConfig } from './inline-svg.config';\nimport { InlineSVGDirective } from './inline-svg.directive';\nimport * as i0 from \"@angular/core\";\nvar InlineSVGModule = (function () {\n function InlineSVGModule() {\n }\n InlineSVGModule.forRoot = function (config) {\n return {\n ngModule: InlineSVGModule,\n providers: [\n { provide: InlineSVGConfig, useValue: config }\n ]\n };\n };\n InlineSVGModule.ɵfac = function InlineSVGModule_Factory(t) { return new (t || InlineSVGModule)(); };\n InlineSVGModule.ɵmod = i0.ɵɵdefineNgModule({ type: InlineSVGModule });\n InlineSVGModule.ɵinj = i0.ɵɵdefineInjector({});\n return InlineSVGModule;\n}());\nexport { InlineSVGModule };\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(InlineSVGModule, [{\n type: NgModule,\n args: [{\n declarations: [InlineSVGDirective, InlineSVGComponent],\n exports: [InlineSVGDirective],\n entryComponents: [InlineSVGComponent]\n }]\n }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(InlineSVGModule, { declarations: [InlineSVGDirective, InlineSVGComponent], exports: [InlineSVGDirective] }); })();\n","import * as i0 from '@angular/core';\nimport { Injectable } from '@angular/core';\nimport { BehaviorSubject } from 'rxjs';\n\n/**\n * Default navigation settings\n */\nconst navigationSettings = {\n mobile: {\n hidden: false\n },\n desktop: {\n hidden: false\n }\n};\nclass NavigationService {\n constructor() {\n this._onNavigationChanged = new BehaviorSubject(navigationSettings);\n }\n /**\n * Get navigation settings\n * @returns Observable\n */\n get onNavigationChanged() {\n return this._onNavigationChanged.asObservable();\n }\n /**\n * Set mobile navigation visibility\n */\n _setMobileNavVisibility(hidden) {\n const currentValue = this._onNavigationChanged.getValue();\n this._onNavigationChanged.next({ ...currentValue, mobile: { hidden } });\n }\n /**\n * Set desktop navigation visibility\n */\n _setDesktopNavVisibility(hidden) {\n const currentValue = this._onNavigationChanged.getValue();\n this._onNavigationChanged.next({ ...currentValue, desktop: { hidden } });\n }\n /**\n * Set navigation settings\n * @param config\n */\n setConfig(config) {\n const currentValue = this._onNavigationChanged.getValue();\n this._onNavigationChanged.next({ ...currentValue, ...config });\n }\n /**\n * Hide mobile navigation\n */\n hideMobileNav() {\n this._setMobileNavVisibility(true);\n }\n /**\n * Show mobile navigation\n */\n showMobileNav() {\n this._setMobileNavVisibility(false);\n }\n /**\n * Hide desktop navigation\n */\n hideDesktopNav() {\n this._setDesktopNavVisibility(true);\n }\n /**\n * Show desktop navigation\n */\n showDesktopNav() {\n this._setDesktopNavVisibility(false);\n }\n /**\n * Restore navigation settings to default\n */\n restoreDefaults() {\n this._onNavigationChanged.next(navigationSettings);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NavigationService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NavigationService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NavigationService, navigationSettings };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Directive, Input, Output, HostBinding, HostListener, inject, DestroyRef, Inject, NgModule, ContentChild, ContentChildren, ViewContainerRef, ChangeDetectorRef, TemplateRef } from '@angular/core';\nimport { takeUntil, tap, map } from 'rxjs/operators';\nimport { Subject, of, startWith, fromEvent, firstValueFrom, BehaviorSubject, merge, map as map$1, scan } from 'rxjs';\nimport { ConfirmModalTermsComponent } from '@fgb/portal-component-library/src/lib/shared/confirm-modal-terms';\nimport * as i1 from '@ng-bootstrap/ng-bootstrap';\nimport * as i1$1 from '@fgb/core';\nimport { config, LOYALTY_STATUS, AuctionItem, MarketplaceItemExtended, LottoItem } from '@fgb/core';\nimport * as i1$2 from '@ngx-translate/core';\nimport * as i1$3 from 'ngx-owl-carousel-o';\nimport { CarouselComponent } from 'ngx-owl-carousel-o';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport * as i1$4 from '@fgb/portal-component-library/src/lib/shared/services';\nimport { sortMultiple } from '@fgb/portal-component-library/src/lib/shared/utilities';\n\nclass ConfirmModalTermsDirective {\n get isDisabled() {\n return this.disabled ? '' : null;\n }\n constructor(modalService) {\n this.modalService = modalService;\n this.valid = true;\n this.disabled = false;\n this.confirm = new EventEmitter();\n this.destroy$ = new Subject();\n }\n onClick() {\n if (!this.disabled) {\n if (this.cancelModal)\n return;\n this.modal = this.modalService.open(ConfirmModalTermsComponent, {\n size: !!this.confirmImage ? 'lg' : undefined,\n centered: true,\n });\n this.modalComponent = this.modal.componentInstance;\n this.modalComponent.modalContent = this.confirmContent;\n this.modalComponent.imageRef = this.confirmImage;\n this.modalComponent.termsAndCondtions = this.termsAndCondtions;\n this.modalComponent.close.pipe(takeUntil(this.destroy$)).subscribe((x) => {\n this.modal.close(x);\n });\n this.modalComponent.confirm.pipe(takeUntil(this.destroy$)).subscribe((x) => {\n this.confirm.emit(x);\n this.modal.close(x);\n });\n }\n }\n ngOnChanges() {\n if (!this.valid) {\n this.modal.close();\n }\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ConfirmModalTermsDirective, deps: [{ token: i1.NgbModal }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ConfirmModalTermsDirective, selector: \"[confirmModalTerms]\", inputs: { termsAndCondtions: \"termsAndCondtions\", cancelModal: \"cancelModal\", confirmImage: \"confirmImage\", confirmContent: \"confirmContent\", valid: \"valid\", disabled: \"disabled\" }, outputs: { confirm: \"confirm\" }, host: { listeners: { \"click\": \"onClick()\" }, properties: { \"attr.disabled\": \"this.isDisabled\" } }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ConfirmModalTermsDirective, decorators: [{\n type: Directive,\n args: [{\n // tslint:disable-next-line: directive-selector\n selector: '[confirmModalTerms]',\n }]\n }], ctorParameters: () => [{ type: i1.NgbModal }], propDecorators: { termsAndCondtions: [{\n type: Input\n }], cancelModal: [{\n type: Input\n }], confirmImage: [{\n type: Input\n }], confirmContent: [{\n type: Input\n }], valid: [{\n type: Input\n }], disabled: [{\n type: Input\n }], confirm: [{\n type: Output\n }], isDisabled: [{\n type: HostBinding,\n args: ['attr.disabled']\n }], onClick: [{\n type: HostListener,\n args: ['click']\n }] } });\n\nvar ScreenType;\n(function (ScreenType) {\n ScreenType[ScreenType[\"Mobile\"] = 0] = \"Mobile\";\n ScreenType[ScreenType[\"Desktop\"] = 1] = \"Desktop\";\n})(ScreenType || (ScreenType = {}));\n/** Creates the view only for the selected window size.\n * Will only create the view once even if window size changes, afterwards it is simply detached/reinserted.\n * Usage: *ifScreenSize=\"ScreenType.Mobile\" or *ifScreenSize=\"ScreenType.Desktop\"\n * */\nclass IfScreenSizeDirective {\n constructor(templateRef, viewContainer, screenSizeService) {\n this.templateRef = templateRef;\n this.viewContainer = viewContainer;\n this.screenSizeService = screenSizeService;\n }\n set ifScreenSize(media) {\n this.resizeSubscription = this.screenSizeService\n .selectScreenWidth()\n .pipe(tap((width) => this.resizeCheck(width, media)))\n .subscribe();\n }\n /** Creates Embedded View */\n createView() {\n this.viewContainer.createEmbeddedView(this.templateRef);\n this.embeddedView = this.viewContainer.get(0);\n }\n /** On selected media, creates or display existing view.\n * Otherwise, detaches the view without destroying it.\n */\n resizeCheck(width, media) {\n if (this.screenMatchesSelector(width, media)) {\n if (this.embeddedView) {\n this.viewContainer.insert(this.embeddedView);\n }\n else {\n this.createView();\n }\n }\n else {\n this.viewContainer.detach();\n }\n }\n /** Checks if the screen width matches the selected media option */\n screenMatchesSelector(width, media) {\n const mobileBreakPoint = this.getDesktopBreakpointValue();\n const mobileCheck = media == ScreenType.Mobile && width < mobileBreakPoint;\n const desktopCheck = media == ScreenType.Desktop && width >= mobileBreakPoint;\n return mobileCheck || desktopCheck;\n }\n /** Get the desktop breakpoint from bootstrap variables defined as $grid-breakpoints */\n getDesktopBreakpointValue() {\n const bodyStyles = window.getComputedStyle(document.body);\n const mobileBreakpointSASSValue = bodyStyles.getPropertyValue('--bs-breakpoint-lg');\n const mobileBreakpointNumber = +mobileBreakpointSASSValue.replace('px', '');\n return mobileBreakpointNumber;\n }\n ngOnDestroy() {\n if (this.resizeSubscription) {\n this.resizeSubscription.unsubscribe();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: IfScreenSizeDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1$1.ScreenSizeService }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: IfScreenSizeDirective, selector: \"[ifScreenSize]\", inputs: { ifScreenSize: \"ifScreenSize\" }, host: { listeners: { \"window:beforeunload\": \"ngOnDestroy()\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: IfScreenSizeDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[ifScreenSize]',\n }]\n }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i1$1.ScreenSizeService }], propDecorators: { ifScreenSize: [{\n type: Input\n }], ngOnDestroy: [{\n type: HostListener,\n args: ['window:beforeunload']\n }] } });\n\n/**\n * Enables a default image source to be specified that will be shown upon image retrieval error (i.e. HTTP 404).\n * Usage:\n * \n */\nclass ImgDefaultDirective {\n constructor() {\n this.imageLoaded = false;\n this.imageError = false;\n }\n ngOnInit() {\n if (!this.loyaltyType) {\n this.DefaultImgSrc = `${config.contentUrl}/images/noimage.png`;\n }\n else {\n switch (this.loyaltyType) {\n case 'marketplace': {\n this.DefaultImgSrc = 'assets/images/placeholders/marketplace-item.png';\n break;\n }\n case 'auction': {\n this.DefaultImgSrc = 'assets/images/placeholders/auction-item.png';\n break;\n }\n case 'lotto': {\n this.DefaultImgSrc = 'assets/images/placeholders/lotto-item.png';\n break;\n }\n case 'wallet': {\n this.DefaultImgSrc = 'assets/images/placeholders/marketplace-item.png';\n break;\n }\n case 'badge': {\n this.DefaultImgSrc = 'assets/images/placeholders/badge-item.png';\n break;\n }\n default: {\n this.DefaultImgSrc = 'assets/images/placeholders/marketplace-item.png';\n break;\n }\n }\n }\n }\n /**\n * Called on error. Sets the default image source if required and the class to 'image-error'.\n */\n updateUrl() {\n if (this.useDefault) {\n this.src = this.DefaultImgSrc;\n }\n this.imageError = true;\n }\n /**\n * Called on success. Leaves the requested image source as-is and sets the class to 'image-loaded'.\n */\n load() {\n this.imageLoaded = true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ImgDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ImgDefaultDirective, selector: \"img[useDefault]\", inputs: { src: \"src\", useDefault: \"useDefault\", loyaltyType: \"loyaltyType\" }, host: { listeners: { \"error\": \"updateUrl()\", \"load\": \"load()\" }, properties: { \"attr.src\": \"this.src\", \"class.image-loaded\": \"this.imageLoaded\", \"class.image-error\": \"this.imageError\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ImgDefaultDirective, decorators: [{\n type: Directive,\n args: [{\n // tslint:disable-next-line: directive-selector\n selector: 'img[useDefault]',\n }]\n }], ctorParameters: () => [], propDecorators: { src: [{\n type: HostBinding,\n args: ['attr.src']\n }, {\n type: Input\n }], useDefault: [{\n type: Input\n }], loyaltyType: [{\n type: Input\n }], imageLoaded: [{\n type: HostBinding,\n args: ['class.image-loaded']\n }], imageError: [{\n type: HostBinding,\n args: ['class.image-error']\n }], updateUrl: [{\n type: HostListener,\n args: ['error']\n }], load: [{\n type: HostListener,\n args: ['load']\n }] } });\n\nclass NgSubscribeContext {\n constructor() {\n this.ngSubscribe = null;\n }\n}\nclass NgSubscribeDirective {\n set ngSubscribe(inputObservable) {\n if (this.observable !== inputObservable) {\n this.observable = inputObservable;\n this.subscription && this.subscription.unsubscribe();\n this.subscription = this.observable.subscribe((value) => {\n this.context.ngSubscribe = value;\n this.cdr.markForCheck();\n });\n }\n }\n constructor(viewContainer, cdr, templateRef) {\n this.viewContainer = viewContainer;\n this.cdr = cdr;\n this.templateRef = templateRef;\n this.context = new NgSubscribeContext();\n }\n ngOnInit() {\n this.viewContainer.createEmbeddedView(this.templateRef, this.context);\n }\n ngOnDestroy() {\n this.subscription && this.subscription.unsubscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NgSubscribeDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: NgSubscribeDirective, selector: \"[ngSubscribe]\", inputs: { ngSubscribe: \"ngSubscribe\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NgSubscribeDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngSubscribe]',\n }]\n }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: i0.TemplateRef }], propDecorators: { ngSubscribe: [{\n type: Input\n }] } });\n\n/**\n * This directive is used to hide features\n * throughout the portal depending on the\n * given feature flag set within website content.\n *\n * Example of usage:\n * ... \n */\nclass WebsiteContentFeatureFlagDirective {\n constructor(translate, templateRef, viewContainer, log) {\n this.translate = translate;\n this.templateRef = templateRef;\n this.viewContainer = viewContainer;\n this.log = log;\n this._isDestroyed$ = new Subject();\n }\n ngOnInit() {\n this.isFeatureEnabled(this.featureKey)\n .pipe(takeUntil(this._isDestroyed$))\n .subscribe((result) => {\n if (result) {\n this.viewContainer.createEmbeddedView(this.templateRef);\n }\n });\n }\n isFeatureEnabled(featureKey) {\n if (!featureKey) {\n this.log.debug('[WSCFeatureFlagDirective] No feature key provided');\n return of(false);\n }\n return this.translate.stream(featureKey).pipe(tap((data) => {\n this.log.debug(`[WSCFeatureFlagDirective] Checking feature is actviated for \"${featureKey}\" has value \"${data}\"`);\n }), map((data) => data === 'true'));\n }\n ngOnDestroy() {\n this._isDestroyed$.next();\n this._isDestroyed$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: WebsiteContentFeatureFlagDirective, deps: [{ token: i1$2.TranslateService }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1$1.LoggingService }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: WebsiteContentFeatureFlagDirective, selector: \"[fgbWebsiteContentFeatureFlag]\", inputs: { featureKey: [\"fgbWebsiteContentFeatureFlag\", \"featureKey\"] }, host: { listeners: { \"window:beforeunload\": \"ngOnDestroy()\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: WebsiteContentFeatureFlagDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[fgbWebsiteContentFeatureFlag]',\n }]\n }], ctorParameters: () => [{ type: i1$2.TranslateService }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i1$1.LoggingService }], propDecorators: { featureKey: [{\n type: Input,\n args: ['fgbWebsiteContentFeatureFlag']\n }], ngOnDestroy: [{\n type: HostListener,\n args: ['window:beforeunload']\n }] } });\n\n/**\n * This directive is used to grab the background color of an image and set it as the background color of the parent element.\n * @param auto - If true, the background color of the parent element will be set automatically.\n * @param targetPosition - The position of the pixel to grab the color from.\n */\nclass ImgBackgroundGrabberDirective {\n onLoad(event) {\n this.bgColor = this.getImageBgColor();\n // If auto is true, set the background color of the parent element.\n if (this.auto && this._el.nativeElement.parentNode) {\n this._renderer.setStyle(this._el.nativeElement.parentNode, \"background-color\", this.bgColor);\n }\n }\n constructor(_el, _renderer) {\n this._el = _el;\n this._renderer = _renderer;\n this.bgColor = \"#ffffff\";\n this.auto = true;\n this.targetPosition = { x: 0, y: 0 };\n }\n getImageBgColor() {\n let canvas = document.createElement(\"canvas\");\n const el = this._el.nativeElement;\n let ctx = canvas.getContext(\"2d\");\n ctx.drawImage(el, 0, 0, el.clientWidth, el.clientHeight);\n const i = ctx.getImageData(this.targetPosition.x, this.targetPosition.y, el.clientWidth, el.clientHeight).data;\n return '#' + ((1 << 24) + (i[0] << 16) + (i[1] << 8) + i[2]).toString(16).slice(1);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ImgBackgroundGrabberDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ImgBackgroundGrabberDirective, selector: \"img[imgBackgroundGrabber]\", inputs: { auto: \"auto\", targetPosition: \"targetPosition\" }, host: { listeners: { \"load\": \"onLoad($event)\" } }, exportAs: [\"imgBackgroundGrabber\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ImgBackgroundGrabberDirective, decorators: [{\n type: Directive,\n args: [{\n selector: \"img[imgBackgroundGrabber]\",\n exportAs: \"imgBackgroundGrabber\"\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { auto: [{\n type: Input\n }], targetPosition: [{\n type: Input\n }], onLoad: [{\n type: HostListener,\n args: [\"load\", [\"$event\"]]\n }] } });\n\n/**\n * Directive to add custom styles to the dots of the carousel\n * in the carousel options, set dots: true and autoWidth: true for this directive to work.\n * overrides the default dot behavior of the owl-carousel to scroll 1 dot per 1 item\n */\nclass CustomOwlCarousel {\n get customClass() {\n return this._isCustom;\n }\n constructor(carousel, _el) {\n this.carousel = carousel;\n this._el = _el;\n this._destoryRef = inject(DestroyRef);\n }\n ngOnInit() {\n const options = this.carousel.options;\n if (options.dots && options.autoWidth) {\n this._isCustom = true;\n }\n }\n ngAfterViewInit() {\n this.carousel.changed\n .pipe(startWith({ startPosition: 0 }), takeUntilDestroyed(this._destoryRef))\n .subscribe(({ startPosition }) => {\n if (this.carousel.options.dots && this.carousel.options.autoWidth) {\n const position = startPosition || 0;\n const dotsContainer = this._el.nativeElement.getElementsByClassName('owl-dots')[0];\n const dots = this._el.nativeElement.getElementsByClassName('owl-dot');\n if (dotsContainer) {\n dotsContainer.scrollLeft =\n dots.item(position)?.offsetLeft -\n dotsContainer.getBoundingClientRect().width / 2 +\n dots.item(position).getBoundingClientRect().width / 2;\n }\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CustomOwlCarousel, deps: [{ token: CarouselComponent }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CustomOwlCarousel, selector: \"owl-carousel-o\", host: { properties: { \"class.owl-custom\": \"this.customClass\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CustomOwlCarousel, decorators: [{\n type: Directive,\n args: [{\n selector: 'owl-carousel-o',\n }]\n }], ctorParameters: () => [{ type: i1$3.CarouselComponent, decorators: [{\n type: Inject,\n args: [CarouselComponent]\n }] }, { type: i0.ElementRef }], propDecorators: { customClass: [{\n type: HostBinding,\n args: ['class.owl-custom']\n }] } });\n\nclass DirectivesModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: DirectivesModule, declarations: [IfScreenSizeDirective,\n WebsiteContentFeatureFlagDirective,\n ImgDefaultDirective,\n ConfirmModalTermsDirective,\n NgSubscribeDirective,\n ImgBackgroundGrabberDirective,\n CustomOwlCarousel], exports: [IfScreenSizeDirective,\n WebsiteContentFeatureFlagDirective,\n ImgDefaultDirective,\n ConfirmModalTermsDirective,\n NgSubscribeDirective,\n ImgBackgroundGrabberDirective,\n CustomOwlCarousel] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DirectivesModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DirectivesModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n IfScreenSizeDirective,\n WebsiteContentFeatureFlagDirective,\n ImgDefaultDirective,\n ConfirmModalTermsDirective,\n NgSubscribeDirective,\n ImgBackgroundGrabberDirective,\n CustomOwlCarousel\n ],\n exports: [\n IfScreenSizeDirective,\n WebsiteContentFeatureFlagDirective,\n ImgDefaultDirective,\n ConfirmModalTermsDirective,\n NgSubscribeDirective,\n ImgBackgroundGrabberDirective,\n CustomOwlCarousel\n ],\n imports: [],\n }]\n }] });\n\nclass NavItemElement {\n constructor(elementRef) {\n this.elementRef = elementRef;\n this.rightPos = 0;\n }\n ngAfterViewInit() {\n this.rightPos =\n this.elementRef.nativeElement.getBoundingClientRect().left + this.elementRef.nativeElement.getBoundingClientRect().width;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NavItemElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: NavItemElement, selector: \".nav-item:not(.more-dropdown)\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NavItemElement, decorators: [{\n type: Directive,\n args: [{\n selector: '.nav-item:not(.more-dropdown)',\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }] });\nclass MoreDropdownElement {\n constructor(elementRef) {\n this.elementRef = elementRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MoreDropdownElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MoreDropdownElement, selector: \".nav-item.more-dropdown\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MoreDropdownElement, decorators: [{\n type: Directive,\n args: [{\n selector: '.nav-item.more-dropdown',\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }] });\nclass NavBarElement {\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.wordBreak = 'break-word';\n this.navRightPos = 0;\n this._destroyed$ = new Subject();\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n ngAfterViewInit() {\n this._updateNavigationMenu();\n fromEvent(window, 'resize')\n .pipe(takeUntil(this._destroyed$))\n .subscribe(() => {\n this._updateNavigationMenu();\n });\n }\n _updateNavigationMenu() {\n if (!this.moreDropdown) {\n return;\n }\n this.navRightPos =\n this.elementRef.nativeElement.getBoundingClientRect().left +\n (this.elementRef.nativeElement.getBoundingClientRect().width -\n this.moreBtn.elementRef.nativeElement.getBoundingClientRect().width);\n this.navItems.forEach((item) => {\n // If nav item right position is greater than navbar right position, append the item to the more dropdown menu, else append it to the navbar\n if (item.rightPos > this.navRightPos) {\n if (!item.elementRef.nativeElement.classList.contains('static-nav-item')) {\n this.renderer.appendChild(this.moreDropdown.nativeElement, item.elementRef.nativeElement);\n }\n }\n else {\n if (!item.elementRef.nativeElement.classList.contains('static-nav-item')) {\n this.renderer.appendChild(this.elementRef.nativeElement, item.elementRef.nativeElement);\n }\n }\n // if item contains static-nav-item class it will be appended just before the more button dropdown\n if (item.elementRef.nativeElement.classList.contains('static-nav-item')) {\n this.renderer.appendChild(this.elementRef.nativeElement, item.elementRef.nativeElement);\n }\n });\n // If more dropdown has items, append the more button to the navbar\n if (this.moreDropdown.nativeElement.children.length > 0) {\n this.renderer.appendChild(this.elementRef.nativeElement, this.moreBtn.elementRef.nativeElement);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NavBarElement, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: NavBarElement, selector: \".navbar-nav\", host: { properties: { \"style.word-break\": \"this.wordBreak\" } }, queries: [{ propertyName: \"moreBtn\", first: true, predicate: MoreDropdownElement, descendants: true }, { propertyName: \"moreDropdown\", first: true, predicate: [\"greedyDropdown\"], descendants: true, static: true }, { propertyName: \"navItems\", predicate: NavItemElement, read: NavItemElement }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NavBarElement, decorators: [{\n type: Directive,\n args: [{\n selector: '.navbar-nav',\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { moreBtn: [{\n type: ContentChild,\n args: [MoreDropdownElement, { static: false }]\n }], navItems: [{\n type: ContentChildren,\n args: [NavItemElement, { read: NavItemElement }]\n }], wordBreak: [{\n type: HostBinding,\n args: ['style.word-break']\n }], moreDropdown: [{\n type: ContentChild,\n args: ['greedyDropdown', { static: true }]\n }] } });\n\nclass NavbarDirectivesModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NavbarDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: NavbarDirectivesModule, declarations: [NavBarElement,\n MoreDropdownElement,\n NavItemElement], exports: [NavBarElement,\n MoreDropdownElement,\n NavItemElement] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NavbarDirectivesModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NavbarDirectivesModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n NavBarElement,\n MoreDropdownElement,\n NavItemElement\n ],\n exports: [\n NavBarElement,\n MoreDropdownElement,\n NavItemElement\n ]\n }]\n }] });\n\n/**\n * Directive to show or hide an element based on the status of an item.\n * Optionally, you can pass or override an array of disabled statuses to disable the element if the item has one of the statuses.\n * Similar to ngIf else, you can also pass a template to show when the item is disabled.\n *\n * @example\n * \n *
I am enabled
\n *
\n *\n * \n *
I am disabled! {{ status.data | json }}
\n *
\n *\n * using the directive exportAs, you can access the status of the item and refresh method by adding #itemEnabled=\"itemEnabled\" to the ng-template,\n * you can also force refresh the item from the api by passing true to the refresh method ex. itemEnabled.refresh(true)\n * @example\n * \n \n \n */\nclass IfItemEnabled {\n constructor(templateRef, viewContainer, lottoService, lottoQuery, marketplaceService, marketplaceQuery, auctionService, auctionQuery, statusService) {\n this.templateRef = templateRef;\n this.viewContainer = viewContainer;\n this.lottoService = lottoService;\n this.lottoQuery = lottoQuery;\n this.marketplaceService = marketplaceService;\n this.marketplaceQuery = marketplaceQuery;\n this.auctionService = auctionService;\n this.auctionQuery = auctionQuery;\n this.statusService = statusService;\n this.isDisabled = false;\n /**\n * Default disabled statuses\n * you can override this by passing an array of statuses to ifItemEnabledDisabledStatus\n * ex. *ifItemEnabled=\"item; disabledStatus: [RewardStatusType.SOLD_OUT, RewardStatusType.COMING_SOON]\"\n * if the item has one of the statuses, the element will be marked as disabled\n */\n this.disabledStatus = [\n LOYALTY_STATUS.SOLD_OUT,\n LOYALTY_STATUS.COMING_SOON,\n LOYALTY_STATUS.LIMIT_REACHED,\n LOYALTY_STATUS.NOT_ENOUGH_POINTS,\n LOYALTY_STATUS.LOCKED,\n ];\n }\n set ifItemEnabled(item) {\n if (this.item !== item) {\n this.item = item;\n this.createView();\n }\n }\n /**\n * Override the default disabled statuses, pass an array of statuses to disable the element if the item has one of the statuses.\n */\n set ifItemEnabledDisabledStatus(statuses) {\n this.disabledStatus = statuses;\n }\n /**\n * Similar to ngIf else, pass a template to show when the item is disabled\n * ex. \n * ...\n * \n *\n * \n *
I am disabled! {{ status.data | json }}
\n *
\n */\n set ifItemEnabledElse(templateRef) {\n this.elseTemplate = templateRef;\n }\n /**\n * Create the view once all input variables are initialized\n */\n ngOnInit() {\n this.createView();\n }\n createView() {\n this.viewContainer.clear();\n this.checkStatus();\n // Check if the item has one of the disabled statuses\n this.isDisabled = this.disabledStatus.some((status) => this.status.status === status);\n // If the item is enabled, create the view\n if (!this.isDisabled) {\n this.viewContainer.createEmbeddedView(this.templateRef);\n }\n else {\n // If else template is provided, create the else view\n if (this.elseTemplate) {\n /**\n * Pass data and refresh function to the else template, add let-status to ng-template\n * ex. \n *
I am disabled! {{ status.data | json }}
\n * \n *
\n */\n const contextContent = {\n data: this.status,\n type: this.status.status,\n refresh: this.refresh.bind(this),\n };\n const context = { $implicit: contextContent };\n this.viewContainer.createEmbeddedView(this.elseTemplate, context);\n }\n }\n }\n /**\n * Initialize the status of the item\n */\n checkStatus() {\n this.status = this.statusService.getStatus(this.item);\n }\n /**\n * Refresh the view, useful when the status of the item changes ex. coming soon status\n * you can call this function to refresh the view in inside the else template\n * @example \n * \n * \n * @see {@link RewardLottoStatus} {@link RewardMarketplaceStatus} {@link RewardAuctionStatus}\n * for more information on how the status is determined and how the coming soon status is handled\n *\n * @param force - forces to refresh the item from the api then assign the new item to the directive and refresh the view\n * force is not tested yet for different item types\n * set force to true if you want to refresh the item from the api\n *\n * @example \n * \n * \n */\n refresh(force = false) {\n if (!force) {\n this.createView();\n return;\n }\n let promise;\n let getItem;\n let id;\n /**\n * Check the type of the item and fetch the item from the api\n */\n if (this.item instanceof AuctionItem) {\n id = this.item.Id;\n promise = firstValueFrom(this.auctionService.fetchAuction(id));\n getItem = this.auctionQuery.getEntity.bind(this.auctionQuery);\n }\n else if (this.item instanceof MarketplaceItemExtended) {\n id = this.item.Id;\n promise = firstValueFrom(this.marketplaceService.fetchMarketplaceItemById(id));\n getItem = this.marketplaceQuery.getEntity.bind(this.marketplaceQuery);\n }\n else if (this.item instanceof LottoItem) {\n id = this.item.LottoId;\n promise = firstValueFrom(this.lottoService.fetchLottoById(id));\n getItem = this.lottoQuery.getEntity.bind(this.lottoQuery);\n }\n if (promise) {\n promise.then(() => {\n // Get the updated item from api, not tested yet but should fetch item from api\n this.item = getItem(id);\n // Then recreate the view to update status\n this.createView();\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: IfItemEnabled, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1$1.LottoService }, { token: i1$1.LottoQuery }, { token: i1$1.MarketplaceService }, { token: i1$1.MarketplaceQuery }, { token: i1$1.AuctionService }, { token: i1$1.AuctionQuery }, { token: i1$1.LoyaltyStatusService }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: IfItemEnabled, isStandalone: true, selector: \"[ifItemEnabled]\", inputs: { ifItemEnabled: \"ifItemEnabled\", ifItemEnabledDisabledStatus: \"ifItemEnabledDisabledStatus\", ifItemEnabledElse: \"ifItemEnabledElse\" }, exportAs: [\"itemEnabled\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: IfItemEnabled, decorators: [{\n type: Directive,\n args: [{\n selector: '[ifItemEnabled]',\n standalone: true,\n exportAs: 'itemEnabled',\n }]\n }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i1$1.LottoService }, { type: i1$1.LottoQuery }, { type: i1$1.MarketplaceService }, { type: i1$1.MarketplaceQuery }, { type: i1$1.AuctionService }, { type: i1$1.AuctionQuery }, { type: i1$1.LoyaltyStatusService }], propDecorators: { ifItemEnabled: [{\n type: Input\n }], ifItemEnabledDisabledStatus: [{\n type: Input\n }], ifItemEnabledElse: [{\n type: Input\n }] } });\n\n/**\n * Reusable directive to hide mobile navigation when added to a component. Add it to the hostDirectives array of a component\n * to hide the mobile navigation when the component is loaded and restore the default navigation settings when the component is destroyed.\n * @example\n * Component({\n * selector: 'fgb-auction-detail-page',\n * templateUrl: './auction-detail-page.component.html',\n * styleUrls: ['./auction-detail-page.component.scss'],\n * hostDirectives: [\n * HideMobileNav\n * ]\n * })\n * ...\n */\nclass HideMobileNav {\n constructor(navigationService) {\n this.navigationService = navigationService;\n }\n ngOnInit() {\n setTimeout(() => {\n // Hide mobile navigation upon component initialization\n this.navigationService.hideMobileNav();\n });\n }\n ngOnDestroy() {\n // Show mobile navigation upon component destruction\n this.navigationService.showMobileNav();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: HideMobileNav, deps: [{ token: i1$4.NavigationService }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: HideMobileNav, isStandalone: true, selector: \"[hideMobileNav]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: HideMobileNav, decorators: [{\n type: Directive,\n args: [{\n selector: '[hideMobileNav]',\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i1$4.NavigationService }] });\n\n/**\n * This function creates a data source object and initializes the data source only when the load method is called\n */\nfunction createDataSource(options // setup up default options for sorting, filtering, etc...\n) {\n return {\n data: null,\n total: 0,\n sort: options?.sort || null,\n pagination: {\n pageNumber: undefined,\n pageSize: undefined,\n entities: {},\n pages: [],\n collection: null,\n total: 0,\n isEmpty: true\n },\n // Filter to be implemented\n load() {\n if (this.data === null || this.data === undefined) {\n return this;\n }\n const type = Object.prototype.toString.call(this.data);\n if (type === '[object Array]') {\n // Load the data only when its not yet loaded then set the loaded status to true\n if (!this.loaded) {\n let data = this.data.length > 0 ? this.data : null;\n let total = data ? data.length : 0;\n const rawData = data;\n let pageEntities = {};\n let pages = [];\n // default page number on load\n const pageNumber = 1;\n if (data && this.sort) {\n data = data.sort(sortMultiple(...Object.values(this.sort)));\n }\n if (options?.pageSize) {\n pageEntities = this.setPages(options.pageSize);\n pages = Object.keys(pageEntities).map(key => +key);\n data = pageEntities[pageNumber];\n }\n return {\n ...this,\n data,\n total,\n loaded: true,\n pagination: {\n pageNumber,\n pageSize: options?.pageSize,\n entities: pageEntities,\n pages,\n collection: rawData,\n total: rawData?.length || 0,\n isEmpty: rawData?.length === 0\n }\n };\n }\n }\n return this;\n },\n setPages(pageSize) {\n // Set the page size\n let pageEntities = {};\n if (this.data) {\n const numberOfPages = Math.ceil(this.data.length / pageSize);\n for (let i = 0; i < numberOfPages; i++) {\n pageEntities[i + 1] = this.data.slice(i * pageSize, (i + 1) * pageSize);\n }\n }\n return pageEntities;\n },\n goToPage(pageNo) {\n // Go to a specific page\n if (this.pagination.entities[pageNo]) {\n return {\n ...this,\n data: this.pagination.entities[pageNo],\n pagination: {\n ...this.pagination,\n pageNumber: pageNo\n }\n };\n }\n return {\n ...this,\n pagination: {\n ...this.pagination,\n pageNumber: undefined\n },\n data: []\n };\n },\n update(data = this.data, sort) {\n // Update the data source only when the data is already loaded\n if (this.loaded) {\n const type = Object.prototype.toString.call(data);\n if (data !== null && data !== undefined) {\n if (type === '[object Array]') {\n let val = data;\n if (this.sort) {\n val = val.sort(sortMultiple(...Object.values(this.sort)));\n }\n const total = this.pagination.collection?.length || val.length;\n return {\n ...this,\n sort: sort || this.sort,\n data: val,\n total\n };\n }\n }\n }\n return {\n ...this,\n sort: sort || this.sort\n };\n },\n setSort(sort) {\n // Update the sort options\n return this.update(this.data, sort);\n },\n loaded: false\n };\n}\n/**\n * Function to load the data source\n */\nfunction loadDataSource(dataSource) {\n return dataSource.load();\n}\n/**\n * Reusable directive to handle data source events with sorting and filtering(not implemented yet)\n * Usage:\n *\n * @example\n *\n *
\n *\n * // Add ng-template to display the data, the let-items refers to the data source data is already sorted depending on the sort options passed in the\n * // [sortOptions] input, the let-loaded refers to the loaded status of the data source\n *\n * \n *\n * // Check if the data source is loaded, if not display the loading template\n * \n *\n * // Loop through the items and display the items\n * \n *
\n * \n *
\n *
\n *\n *
\n *
\n *\n * loading...\n *
\n *\n * Sortings can be passed in the [sortOptions] input\n * @example\n * sortOptions = {\n * status: sortBy((a: MixedLoyaltyItem, b: MixedLoyaltyItem) => a.status.status - b.status.status),\n * ordinal: sortBy((a: MixedLoyaltyItem, b: MixedLoyaltyItem) => a.data.Ordinal - b.data.Ordinal)\n * };\n *\n * pass the input to sortOptions ex.
\n *\n * Changing the sort direction example\n *\n * @example\n *\n * sortDirection: 'asc' | 'desc' = 'asc';\n *\n * toggleSort(): void{\n *\n * this.sortDirection = this.sortDirection === 'asc' ? 'desc' : 'asc';\n *\n * this.sortOptions = {\n * status: sortBy((a: MixedLoyaltyItem, b: MixedLoyaltyItem) => a.status.status - b.status.status, this.sortDirection),\n * ordinal: sortBy('name', this.sortDirection)\n * };\n * }\n *\n * expect the data source to be sorted with the new toggled direction\n */\nclass DataSourceDirective {\n set dataSource(value) {\n if (value) {\n this._dataSubject.next(value);\n }\n }\n set sortOptions(options) {\n this._sortSubject.next(options);\n }\n ;\n set page(page) {\n this._pageSubject.next(page);\n }\n constructor() {\n this.dataSourceChange = new EventEmitter();\n this.paginationChange = new EventEmitter();\n this.isEmpty = false;\n this._dataSubject = new BehaviorSubject([]);\n this._sortSubject = new BehaviorSubject(null);\n this._pageSubject = new Subject();\n this.vc = inject(ViewContainerRef);\n this._cd = inject(ChangeDetectorRef);\n this._destroyRef = inject(DestroyRef);\n }\n ngOnInit() {\n // Merge events\n merge(this.onDataSourceChanged.pipe(map$1(this.dataHandler)), this.onSortChanged.pipe(map$1(this.sortHandler)), this.onPageChanged.pipe(map$1(this.pageHandler))).pipe(\n // Handle the data source events, set the initial data source with empty data\n scan(this.eventHandler, createDataSource({ pageSize: this.pageSize })), takeUntilDestroyed(this._destroyRef)).subscribe(ds => {\n // Set data and loaded values\n this.data = ds.data;\n this.isLoaded = ds.loaded && ds.data !== null;\n this.isEmpty = ds.data !== null && ds.total === 0;\n if (!ds.pagination.isEmpty) {\n this.paginationChange.emit(ds.pagination);\n }\n // Update the template context\n this.updateTemplateContext();\n // Notify the parent component that the data source has changed\n this.dataSourceChange.emit(ds.data);\n this._cd.detectChanges();\n });\n }\n ngAfterContentInit() {\n // if ng-template is provided inside the directive, create an embedded view\n // otherwise if not provided use the (dataSourceChange) event to get the data \n // ex. \n //
\n // {{ data | json }}\n //
\n if (this.template) {\n this.templateInstace = this.vc.createEmbeddedView(this.template, { $implicit: this.data, loaded: false, empty: this.isEmpty }).context;\n }\n }\n /**\n * Handles all the data source events and updates the data source\n */\n eventHandler(state, eventFn) {\n const ds = { ...state, ...eventFn(state) };\n return ds.update(ds.data, ds.sort);\n }\n /**\n * Handle the data source event changes\n */\n dataHandler(event) {\n // Create data source if data is changed\n return (state) => loadDataSource({ ...state, data: event });\n }\n /**\n * Handle the page event changes\n */\n pageHandler(pageNo) {\n return (state) => state.goToPage(pageNo);\n }\n /**\n * Update the template context\n */\n updateTemplateContext() {\n if (this.templateInstace) {\n this.templateInstace.$implicit = this.data;\n this.templateInstace.loaded = this.isLoaded;\n this.templateInstace.empty = this.isEmpty;\n }\n }\n /**\n * Handle the sort event\n */\n sortHandler(event) {\n return (state) => state.setSort(event);\n }\n get onDataSourceChanged() {\n return this._dataSubject.asObservable();\n }\n get onSortChanged() {\n return this._sortSubject.asObservable();\n }\n get onPageChanged() {\n return this._pageSubject.asObservable();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DataSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: DataSourceDirective, isStandalone: true, selector: \"[fgbDataSource]\", inputs: { dataSource: \"dataSource\", sortOptions: \"sortOptions\", page: \"page\", pageSize: \"pageSize\" }, outputs: { dataSourceChange: \"dataSourceChange\", paginationChange: \"paginationChange\" }, queries: [{ propertyName: \"template\", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DataSourceDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[fgbDataSource]',\n standalone: true\n }]\n }], ctorParameters: () => [], propDecorators: { dataSource: [{\n type: Input\n }], sortOptions: [{\n type: Input\n }], page: [{\n type: Input\n }], pageSize: [{\n type: Input\n }], dataSourceChange: [{\n type: Output\n }], paginationChange: [{\n type: Output\n }], template: [{\n type: ContentChild,\n args: [TemplateRef, { static: true }]\n }] } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ConfirmModalTermsDirective, CustomOwlCarousel, DataSourceDirective, DirectivesModule, HideMobileNav, IfItemEnabled, IfScreenSizeDirective, ImgBackgroundGrabberDirective, ImgDefaultDirective, MoreDropdownElement, NavBarElement, NavItemElement, NavbarDirectivesModule, NgSubscribeContext, NgSubscribeDirective, ScreenType, WebsiteContentFeatureFlagDirective, createDataSource, loadDataSource };\n","import { InjectionToken, inject } from \"@angular/core\";\r\nimport { MemberQuery } from \"@fgb/core\";\r\n\r\nexport type ColorMode = 'Light' | 'Dark';\r\n\r\n/**\r\n * COLOR_MODE Injection Token for setting the color mode between Light and Dark\r\n */\r\nexport const COLOR_MODE = new InjectionToken('colorMode', {\r\n providedIn: 'root',\r\n factory: () => {\r\n const memberQuery: MemberQuery = inject(MemberQuery);\r\n return memberQuery.getUserContext()?.clientAttribute as ColorMode || 'Light';\r\n }\r\n});","import { Inject, Injectable, Renderer2, RendererFactory2 } from \"@angular/core\";\r\nimport { COLOR_MODE } from \"src/app/shared/injection-tokens\";\r\n\r\n/**\r\n * Service helper for adding bootstrap color theming\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ThemeService{\r\n private renderer: Renderer2;\r\n\r\n constructor(private rendererFactory: RendererFactory2, @Inject(COLOR_MODE) private colorMode: string){\r\n this.renderer = this.rendererFactory.createRenderer(null, null);\r\n }\r\n\r\n initColorMode(): void{\r\n if(this.colorMode){\r\n this.renderer.addClass(document.body, `${this.colorMode.toLocaleLowerCase()}-theme`);\r\n }\r\n }\r\n\r\n setTheme(themeName: string): void{\r\n localStorage.setItem('theme', themeName);\r\n this.renderer.addClass(document.body, `${themeName}-theme`);\r\n }\r\n\r\n removeTheme(themeName: string): void{\r\n localStorage.removeItem('theme');\r\n this.renderer.removeClass(document.body, `${themeName}-theme`);\r\n }\r\n}","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { timer } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport moment from 'moment/moment';\n\nclass TimeSinceComponent {\n constructor() { }\n ngOnChanges() {\n if (this.startDate) {\n this.timer$ = timer(0, 1000).pipe(map(() => this.formatTime()));\n }\n }\n ngOnInit() { }\n formatTime() {\n if (!this.startDate) {\n return '';\n }\n let duration = moment.duration(moment.utc().diff(moment.utc(this.startDate)));\n const days = Math.floor(duration.asDays());\n const hours = Math.floor(duration.asHours());\n const minutes = Math.floor(duration.asMinutes());\n if (days) {\n if (days > 1) {\n return `${days} days ago`;\n }\n return '1 day ago';\n }\n else if (hours) {\n if (hours > 1) {\n return `${hours} hours ago`;\n }\n return `1 hour ago`;\n }\n else if (minutes) {\n if (minutes > 1) {\n return `${minutes} mins ago`;\n }\n return `1 min ago`;\n }\n else {\n return `Just now`;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TimeSinceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: TimeSinceComponent, selector: \"fgbcl-time-since\", inputs: { startDate: \"startDate\" }, usesOnChanges: true, ngImport: i0, template: \"
\\r\\n {{ timer$ | async }}\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"pipe\", type: i1.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TimeSinceComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-time-since', template: \"
\\r\\n {{ timer$ | async }}\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { startDate: [{\n type: Input\n }] } });\n\nclass TimeSinceModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TimeSinceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: TimeSinceModule, declarations: [TimeSinceComponent], imports: [CommonModule], exports: [TimeSinceComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TimeSinceModule, imports: [CommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TimeSinceModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [TimeSinceComponent],\n imports: [CommonModule],\n exports: [TimeSinceComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TimeSinceComponent, TimeSinceModule };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Input, Output, InjectionToken, Inject, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { HttpClientModule } from '@angular/common/http';\nimport { InlineSVGModule } from 'ng-inline-svg-2';\nimport * as i4 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i1 from '@fgb/portal-component-library/src/lib/shared/time-since';\nimport { TimeSinceModule } from '@fgb/portal-component-library/src/lib/shared/time-since';\nimport * as i3 from '@angular/router';\nimport { RouterModule } from '@angular/router';\nimport { Subject } from 'rxjs';\nimport { takeUntil, tap } from 'rxjs/operators';\nimport * as i1$1 from '@fgb/core';\nimport { NotificationCenterActionType, NotificationLoyaltyType, NotificationCenterMessageType, EntityNotificationGroupDto, LoyaltyActionType } from '@fgb/core';\nimport * as i2$1 from '@ngx-translate/core';\nimport { trigger, state, style, transition, animate, keyframes } from '@angular/animations';\nimport * as i1$2 from 'ngx-toastr';\nimport { Toast } from 'ngx-toastr';\nimport * as i3$1 from '@ng-bootstrap/ng-bootstrap';\n\nclass NotificationItemComponent {\n constructor() {\n this.goToNotification = new EventEmitter();\n this.actionType = NotificationCenterActionType;\n this.id = 1;\n }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: NotificationItemComponent, selector: \"fgbcl-notification-item\", inputs: { notification: \"notification\" }, outputs: { goToNotification: \"goToNotification\" }, ngImport: i0, template: \"
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ notification.messageLanguage?.message }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ notification.messageLanguage?.linkText }}\\r\\n chevron_right \\r\\n \\r\\n\\r\\n \\r\\n {{ notification.messageLanguage?.linkText }}\\r\\n chevron_right \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"component\", type: i1.TimeSinceComponent, selector: \"fgbcl-time-since\", inputs: [\"startDate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i2.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i3.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"pipe\", type: i4.ContentImagePipe, name: \"contentImage\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-notification-item', template: \"
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ notification.messageLanguage?.message }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ notification.messageLanguage?.linkText }}\\r\\n chevron_right \\r\\n \\r\\n\\r\\n \\r\\n {{ notification.messageLanguage?.linkText }}\\r\\n chevron_right \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { notification: [{\n type: Input\n }], goToNotification: [{\n type: Output\n }] } });\n\nclass NotificationHubComponent {\n constructor(notificationService, notificationQuery, memberQuery) {\n this.notificationService = notificationService;\n this.notificationQuery = notificationQuery;\n this.memberQuery = memberQuery;\n this.goToNotification = new EventEmitter();\n this._destroyed$ = new Subject();\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n ngOnInit() {\n this.memberQuery.userContext$.pipe(takeUntil(this._destroyed$)).subscribe((user) => {\n if (user && user.lcid) {\n this.notifications$ = this.notificationQuery.selectAllPagedView(+user.lcid);\n }\n });\n this.isOpen$ = this.notificationQuery.isOpen$.pipe(tap((isOpen) => {\n this.isOpen = isOpen;\n if (isOpen) {\n this.notificationService.startNotificationCheck();\n }\n }));\n this.showPrev$ = this.notificationQuery.showPrev$;\n this.showNext$ = this.notificationQuery.showNext$;\n this.unseenNotificationCount$ = this.notificationQuery.unseenNotificationsCount$;\n }\n /**\n * Toggle the isOpen, used when we show and hide the notification center\n */\n toggleIsOpen() {\n this.notificationService.updateIsOpen(!this.isOpen);\n }\n incrementPage() {\n this.notificationService.incrementPage();\n }\n decrementPage() {\n this.notificationService.decrementPage();\n }\n toggleNotificationCenter(open) {\n this.notificationService.updateIsOpen(open);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationHubComponent, deps: [{ token: i1$1.NotificationCenterService }, { token: i1$1.NotificationCenterQuery }, { token: i1$1.MemberQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: NotificationHubComponent, selector: \"fgbcl-notification-hub\", outputs: { goToNotification: \"goToNotification\" }, ngImport: i0, template: \"\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n

{{ 'notification.no.available.at.the.moment' | translate }}

\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".notifications-divider{margin:3px 20px 5px}.notifications-divider:last-child{border-bottom:none}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: NotificationItemComponent, selector: \"fgbcl-notification-item\", inputs: [\"notification\"], outputs: [\"goToNotification\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i2$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationHubComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-notification-hub', template: \"\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n

{{ 'notification.no.available.at.the.moment' | translate }}

\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".notifications-divider{margin:3px 20px 5px}.notifications-divider:last-child{border-bottom:none}\\n\"] }]\n }], ctorParameters: () => [{ type: i1$1.NotificationCenterService }, { type: i1$1.NotificationCenterQuery }, { type: i1$1.MemberQuery }], propDecorators: { goToNotification: [{\n type: Output\n }] } });\n\nclass NotificationCenterToastComponent extends Toast {\n constructor(toastService, toastPackage) {\n super(toastService, toastPackage);\n this.toastService = toastService;\n this.toastPackage = toastPackage;\n }\n action(event) {\n event.stopPropagation();\n this.toastPackage.triggerAction();\n return false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterToastComponent, deps: [{ token: i1$2.ToastrService }, { token: i1$2.ToastPackage }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: NotificationCenterToastComponent, selector: \"fgbcl-notification-center-toast\", inputs: { notification: \"notification\" }, usesInheritance: true, ngImport: i0, template: \"
\\r\\n \\u00D7 \\r\\n
\\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"component\", type: NotificationItemComponent, selector: \"fgbcl-notification-item\", inputs: [\"notification\"], outputs: [\"goToNotification\"] }], animations: [\n trigger('flyInOut', [\n state('inactive', style({\n opacity: 0,\n })),\n transition('inactive => active', animate('400ms ease-out', keyframes([\n style({\n transform: 'translate3d(100%, 0, 0) skewX(-30deg)',\n opacity: 0,\n }),\n style({\n transform: 'skewX(20deg)',\n opacity: 1,\n }),\n style({\n transform: 'skewX(-5deg)',\n opacity: 1,\n }),\n style({\n transform: 'none',\n opacity: 1,\n }),\n ]))),\n transition('active => removed', animate('400ms ease-out', keyframes([\n style({\n opacity: 1,\n }),\n style({\n transform: 'translate3d(100%, 0, 0) skewX(30deg)',\n opacity: 0,\n }),\n ]))),\n ]),\n ] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterToastComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-notification-center-toast', animations: [\n trigger('flyInOut', [\n state('inactive', style({\n opacity: 0,\n })),\n transition('inactive => active', animate('400ms ease-out', keyframes([\n style({\n transform: 'translate3d(100%, 0, 0) skewX(-30deg)',\n opacity: 0,\n }),\n style({\n transform: 'skewX(20deg)',\n opacity: 1,\n }),\n style({\n transform: 'skewX(-5deg)',\n opacity: 1,\n }),\n style({\n transform: 'none',\n opacity: 1,\n }),\n ]))),\n transition('active => removed', animate('400ms ease-out', keyframes([\n style({\n opacity: 1,\n }),\n style({\n transform: 'translate3d(100%, 0, 0) skewX(30deg)',\n opacity: 0,\n }),\n ]))),\n ]),\n ], preserveWhitespaces: false, template: \"
\\r\\n \\u00D7 \\r\\n
\\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1$2.ToastrService }, { type: i1$2.ToastPackage }], propDecorators: { notification: [{\n type: Input\n }] } });\n\nconst ALERT_NOTIFICATION_COMPONENTS = new InjectionToken('ALERT_NOTIFICATION_COMPONENTS', {\n providedIn: 'root',\n factory: () => DefaultComponentMap,\n});\nfunction mergeAlertNotificationComponentMaps(partialOverride) {\n return { ...DefaultComponentMap, ...partialOverride };\n}\nconst DefaultComponentMap = {\n [NotificationLoyaltyType.None]: undefined,\n [NotificationLoyaltyType.AuctionOutBid]: undefined,\n [NotificationLoyaltyType.MarketplaceOrderProcessed]: undefined,\n [NotificationLoyaltyType.VoucherCodeEntered]: undefined,\n [NotificationLoyaltyType.ScorecardComplete]: undefined,\n [NotificationLoyaltyType.PointsNotification]: undefined,\n [NotificationLoyaltyType.EcashSpend]: undefined,\n [NotificationLoyaltyType.AttendanceCheckIn]: undefined,\n [NotificationLoyaltyType.AnswerTrivia]: undefined,\n [NotificationLoyaltyType.LottoWon]: undefined,\n [NotificationLoyaltyType.AuctionWon]: undefined,\n [NotificationLoyaltyType.AuctionBidPlaced]: undefined,\n [NotificationLoyaltyType.ScorecardActionComplete]: undefined,\n [NotificationLoyaltyType.ScorecardMilestoneComplete]: undefined,\n [NotificationLoyaltyType.CampaignManagerNotification]: undefined,\n [NotificationLoyaltyType.ScorecardExpirationNotification]: undefined,\n [NotificationLoyaltyType.ScorecardActivationNotification]: undefined,\n};\n\n/**\n * Handles notification toast messages using the notificationReceived observable\n * Should only be implemented once otherwise it'll duplicate toasts\n */\nclass NotificationToastComponent {\n constructor(toastrService, notificationService, logService, modalService, notificationComponents) {\n this.toastrService = toastrService;\n this.notificationService = notificationService;\n this.logService = logService;\n this.modalService = modalService;\n this.notificationComponents = notificationComponents;\n this._destroyed$ = new Subject();\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n ngOnInit() {\n this.notificationService.notificationReceived$.pipe(takeUntil(this._destroyed$)).subscribe((notification) => {\n switch (notification.messageType) {\n case NotificationCenterMessageType.Toast:\n case NotificationCenterMessageType.PersistentToast:\n this.createToastNotification(notification);\n break;\n case NotificationCenterMessageType.Alert:\n this.createAlertNotification(notification);\n }\n });\n }\n createToastNotification(notification) {\n const toast = this.toastrService.show('', '', {\n toastComponent: NotificationCenterToastComponent,\n disableTimeOut: notification.messageType === NotificationCenterMessageType.PersistentToast,\n closeButton: true,\n tapToDismiss: false,\n });\n if (toast.toastRef && toast.toastRef.componentInstance) {\n toast.toastRef.componentInstance.notification = notification;\n }\n }\n createAlertNotification(notificaiton) {\n let alertComponent = this.notificationComponents[notificaiton.loyaltyActionId];\n if (alertComponent == undefined) {\n this.logService.debug('unable to find component for actionid ' + notificaiton.loyaltyActionId);\n return;\n }\n if (notificaiton.loyaltyActionId == NotificationLoyaltyType['ScorecardComplete']) {\n let modalRef = this.modalService.open(alertComponent, {\n centered: true,\n windowClass: 'scorecard-modal-content',\n backdropClass: 'scorecard-modal-backdrop',\n });\n let alertComponentRef = modalRef.componentInstance;\n alertComponentRef.scorecardId = notificaiton.parameters.notificationReference;\n alertComponentRef.phaseThree = true;\n }\n else {\n let modalRef = this.modalService.open(alertComponent);\n let alertComponentRef = modalRef.componentInstance;\n alertComponentRef.notification = notificaiton;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationToastComponent, deps: [{ token: i1$2.ToastrService }, { token: i1$1.NotificationCenterService }, { token: i1$1.LoggingService }, { token: i3$1.NgbModal }, { token: ALERT_NOTIFICATION_COMPONENTS }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: NotificationToastComponent, selector: \"fgbcl-notification-toast\", ngImport: i0, template: \"\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationToastComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-notification-toast', template: \"\" }]\n }], ctorParameters: () => [{ type: i1$2.ToastrService }, { type: i1$1.NotificationCenterService }, { type: i1$1.LoggingService }, { type: i3$1.NgbModal }, { type: undefined, decorators: [{\n type: Inject,\n args: [ALERT_NOTIFICATION_COMPONENTS]\n }] }] });\n\nclass NotificationGroupItemComponent {\n constructor(memberContext, notificationManagementService) {\n this.memberContext = memberContext;\n this.notificationManagementService = notificationManagementService;\n }\n ngOnInit() {\n this.portalId = this.memberContext.getUserContext().portalId;\n }\n updateNotificationGroup(notificationGroupId, active, entityNotificationGroupDto) {\n let dto = new EntityNotificationGroupDto(notificationGroupId, this.portalId, active, entityNotificationGroupDto);\n this.notificationManagementService.updateGroup(dto);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationGroupItemComponent, deps: [{ token: i1$1.MemberQuery }, { token: i1$1.NotificationManagementService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: NotificationGroupItemComponent, selector: \"fgbcl-notification-group-item\", inputs: { group: \"group\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationGroupItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-notification-group-item', template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1$1.MemberQuery }, { type: i1$1.NotificationManagementService }], propDecorators: { group: [{\n type: Input\n }] } });\n\nclass NotificationManagementComponent {\n constructor(notificationManagementQuery) {\n this.notificationManagementQuery = notificationManagementQuery;\n this.LoyaltyActionType = LoyaltyActionType;\n }\n ngOnInit() {\n this.notificationGroups$ = this.notificationManagementQuery.selectAll();\n }\n trackGroup(index, group) {\n return group ? group.NotificationGroupId : undefined;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementComponent, deps: [{ token: i1$1.NotificationManagementQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: NotificationManagementComponent, selector: \"fgbcl-notification-management\", ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: NotificationGroupItemComponent, selector: \"fgbcl-notification-group-item\", inputs: [\"group\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-notification-management', template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1$1.NotificationManagementQuery }] });\n\nclass WebpushNotificationButtonsComponent {\n constructor(webPush, translate, logger) {\n this.webPush = webPush;\n this.translate = translate;\n this.logger = logger;\n this.key = 'BHF8HGRy_YS2prvwE_ePrGWjYOVIC-Hxpy9v-P4e9FTEBx0E71p708iPogEEqDpMY_lMFv1jhFdu05WzLTCzZ64';\n this.isEnabled = false;\n this.errorMessage = '';\n }\n ngOnInit() {\n if (!('serviceWorker' in navigator)) {\n this.logger.error('Service workers are not supported by this browser');\n this.errorMessage = this.translate.instant('webpush.sw.not.supported', { fgbdefault: 'Service workers are not supported by this browser.' });\n return;\n }\n if (!('Notification' in window)) {\n this.logger.error('Notifications are not supported by this browser');\n this.errorMessage = this.translate.instant('webpush.notification.not.supported', { fgbdefault: 'Notifications are not supported by this browser.' });\n return;\n }\n if (!('PushManager' in window)) {\n this.logger.error('Push notifications are not supported by this browser');\n this.errorMessage = this.translate.instant('webpush.notification.not.supported', { fgbdefault: 'Push notifications are not supported by this browser.' });\n return;\n }\n this.isEnabled = this.webPush.isEnabled;\n this.isSubscribed$ = this.webPush.isSubscribed$;\n this.isStandAlone = window.matchMedia('(display-mode: standalone)').matches;\n }\n subscribeToWebPush() {\n this.clearErrorMessages();\n if (Notification.permission === 'denied') {\n this.errorMessage = this.translate.instant('webpush.subscribe.permission.denied', { fgbdefault: 'You have denied permission to receive web push notifications. Please update your browser settings to allow web push notifications.' });\n return;\n }\n this.webPush.requestSubscription(this.key)\n .catch(() => {\n // Throws error message if there is an issue with the database\n this.errorMessage = this.translate.instant('webpush.subscribe.error', { fgbdefault: 'An unsuspected error occurred while subscribing to web push notifications. Please contact support.' });\n });\n }\n unsubscribeToWebPush() {\n this.clearErrorMessages();\n this.webPush.unsubscribe()\n .catch(() => {\n this.errorMessage = this.translate.instant('webpush.unsubscribe.error', { fgbdefault: 'An error occurred while unsubscribing to web push notifications. Please contact support.' });\n });\n }\n clearErrorMessages() {\n this.errorMessage = '';\n }\n isIOSDevice() {\n const isIOS = /(iPad Simulator|iPhone Simulator|iPod Simulator|iPad|iPhone|iPod)/g.test(navigator.userAgent);\n return isIOS || (navigator.userAgent.includes(\"Mac\") && \"ontouchend\" in document);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: WebpushNotificationButtonsComponent, deps: [{ token: i1$1.WebPushNotificationService }, { token: i2$1.TranslateService }, { token: i1$1.LoggingService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: WebpushNotificationButtonsComponent, selector: \"fgbcl-webpush-notification-buttons\", inputs: { key: \"key\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'webpush.ios.instruction.share' | translate : { fgbdefault: 'Tap the share button' } }} {{ 'webpush.ios.instruction.add.to.home' | translate: { fgbdefault: 'then click \\\"Add To Home Screen\\\"' } }}\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n

{{ 'webpush.notification.information' | translate: { fgbdefault: 'Manage webpush subscription. Subscribe to receive notification.' } }}

\\r\\n \\r\\n \\r\\n
{{ errorMessage }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n

{{ 'webpush.notification.disabled' | translate: { fgbdefault: 'Your device or browser currently does not support webpush.' } }}

\\r\\n
\\r\\n
\\r\\n\\r\\n
\", styles: [\".webpush-notification button{min-width:115px}.webpush-notification .error-message{color:red;font-size:10px}.webpush-notification .button-wrapper{display:flex;justify-content:space-between;margin-top:20px}.webpush-notification .webpush-modal-content{display:flex;flex-direction:column;align-items:center}.webpush-notification .webpush-modal-content p{max-width:400px}.webpush-notification .ios-instruction{display:flex;align-items:center;font-size:12px}.webpush-notification .ios-instruction img{height:20px;margin:0 5px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i2$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: WebpushNotificationButtonsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-webpush-notification-buttons', template: \"
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'webpush.ios.instruction.share' | translate : { fgbdefault: 'Tap the share button' } }} {{ 'webpush.ios.instruction.add.to.home' | translate: { fgbdefault: 'then click \\\"Add To Home Screen\\\"' } }}\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n

{{ 'webpush.notification.information' | translate: { fgbdefault: 'Manage webpush subscription. Subscribe to receive notification.' } }}

\\r\\n \\r\\n \\r\\n
{{ errorMessage }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n

{{ 'webpush.notification.disabled' | translate: { fgbdefault: 'Your device or browser currently does not support webpush.' } }}

\\r\\n
\\r\\n
\\r\\n\\r\\n
\", styles: [\".webpush-notification button{min-width:115px}.webpush-notification .error-message{color:red;font-size:10px}.webpush-notification .button-wrapper{display:flex;justify-content:space-between;margin-top:20px}.webpush-notification .webpush-modal-content{display:flex;flex-direction:column;align-items:center}.webpush-notification .webpush-modal-content p{max-width:400px}.webpush-notification .ios-instruction{display:flex;align-items:center;font-size:12px}.webpush-notification .ios-instruction img{height:20px;margin:0 5px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1$1.WebPushNotificationService }, { type: i2$1.TranslateService }, { type: i1$1.LoggingService }], propDecorators: { key: [{\n type: Input\n }] } });\n\nclass NotificationModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationModule, declarations: [NotificationHubComponent,\n NotificationItemComponent,\n NotificationToastComponent,\n NotificationCenterToastComponent,\n NotificationGroupItemComponent,\n NotificationManagementComponent,\n WebpushNotificationButtonsComponent], imports: [TimeSinceModule,\n CommonModule,\n FormsModule,\n PipesModule,\n ReactiveFormsModule,\n InlineSVGModule,\n HttpClientModule,\n RouterModule,\n FGBSharedModule], exports: [NotificationHubComponent,\n NotificationItemComponent,\n NotificationToastComponent,\n NotificationCenterToastComponent,\n NotificationGroupItemComponent,\n NotificationManagementComponent,\n WebpushNotificationButtonsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationModule, imports: [TimeSinceModule,\n CommonModule,\n FormsModule,\n PipesModule,\n ReactiveFormsModule,\n InlineSVGModule,\n HttpClientModule,\n RouterModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n NotificationHubComponent,\n NotificationItemComponent,\n NotificationToastComponent,\n NotificationCenterToastComponent,\n NotificationGroupItemComponent,\n NotificationManagementComponent,\n WebpushNotificationButtonsComponent,\n ],\n imports: [\n TimeSinceModule,\n CommonModule,\n FormsModule,\n PipesModule,\n ReactiveFormsModule,\n InlineSVGModule,\n HttpClientModule,\n RouterModule,\n FGBSharedModule\n ],\n exports: [\n NotificationHubComponent,\n NotificationItemComponent,\n NotificationToastComponent,\n NotificationCenterToastComponent,\n NotificationGroupItemComponent,\n NotificationManagementComponent,\n WebpushNotificationButtonsComponent,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ALERT_NOTIFICATION_COMPONENTS, NotificationCenterToastComponent, NotificationGroupItemComponent, NotificationHubComponent, NotificationItemComponent, NotificationManagementComponent, NotificationModule, NotificationToastComponent, WebpushNotificationButtonsComponent, mergeAlertNotificationComponentMaps };\n","export class Populations {\r\n public static Default = 'Default';\r\n public static NonMember = 'Non Member';\r\n}\r\n","export class ProductCode {\r\n public static PremiumDigitalMember = ['PremiumDigitalMember'];\r\n public static QAMember1 = ['QAMember1'];\r\n public static FourteenDigitalMember = ['14DigitalMember'];\r\n\r\n public static DigitalMemberProductCodes = ['14DigitalMember', 'PremiumDigitalMember'] \r\n}\r\n","import * as i0 from '@angular/core';\nimport { inject, signal, EventEmitter, Directive, Optional, SkipSelf, Inject, Output, Input, Component, Pipe, ChangeDetectionStrategy, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { MemberQuery, MemberService, LANGUAGE } from '@fgb/core';\nimport * as i2 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbOffcanvas, NgbDropdownModule, NgbOffcanvasModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i3 from '@ngx-translate/core';\nimport * as i1$1 from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport * as i3$1 from '@fgb/portal-component-library/src/lib/directives';\nimport { ScreenType, DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\n\n/**\n * @TODO - languages are subject to change, as it will be fetched from the server\n * - inject the LANGUAGE with the data from the api\n */\nclass LanguageSelectorBase {\n constructor(languages = []) {\n this.languages = languages;\n this.memberQuery = inject(MemberQuery);\n this.memberService = inject(MemberService);\n this.currentLanguage = signal(this.getCurrentLanguageByLcid(this.memberQuery.getUserContext()?.lcid));\n this.dataChange = new EventEmitter();\n }\n useLanguage(language) {\n if (language) {\n this.memberService.setLcid(+language.lcid).then(() => {\n this.dataChange.emit(language);\n location.reload();\n });\n }\n }\n getCurrentLanguageByLcid(lcid) {\n return this.languages.find(t => t.lcid === lcid);\n }\n closeDropDown(dropdown) {\n dropdown.close();\n }\n get filteredLanguages() {\n return this.languages.filter(lang => !this.hiddenLanguagesByLcid?.some(lcid => lang.lcid === lcid));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageSelectorBase, deps: [{ token: LANGUAGE, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: LanguageSelectorBase, inputs: { hiddenLanguagesByLcid: \"hiddenLanguagesByLcid\" }, outputs: { dataChange: \"dataChange\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageSelectorBase, decorators: [{\n type: Directive\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }, {\n type: Inject,\n args: [LANGUAGE]\n }] }], propDecorators: { dataChange: [{\n type: Output\n }], hiddenLanguagesByLcid: [{\n type: Input\n }] } });\n\nclass LanguageSelectorComponent extends LanguageSelectorBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageSelectorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"17.2.1\", type: LanguageSelectorComponent, selector: \"fgbcl-language-selector\", usesInheritance: true, ngImport: i0, template: \"
\\r\\n \\r\\n
{{ currentLanguage()?.label }}
\\r\\n \\r\\n \\r\\n
\\r\\n language \\r\\n {{ 'fgbcl.language.selector.title' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n @if(filteredLanguages?.length > 0 ){ @for(language of filteredLanguages; track language.lcid){\\r\\n
\\r\\n \\r\\n {{ 'language.selector.' + language.lang | translate }}\\r\\n \\r\\n
\\r\\n } }\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".language-dropdown .dropdown-toggle:after{font-size:0}.language-dropdown .language-dropdown-btn{height:20px;width:50px}.language-dropdown .language-dropdown-menu{right:0;float:right;left:unset;margin-top:15px;width:220px}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgbDropdown, selector: \"[ngbDropdown]\", inputs: [\"autoClose\", \"dropdownClass\", \"open\", \"placement\", \"popperOptions\", \"container\", \"display\"], outputs: [\"openChange\"], exportAs: [\"ngbDropdown\"] }, { kind: \"directive\", type: i2.NgbDropdownToggle, selector: \"[ngbDropdownToggle]\" }, { kind: \"directive\", type: i2.NgbDropdownMenu, selector: \"[ngbDropdownMenu]\" }, { kind: \"pipe\", type: i3.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageSelectorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-language-selector', template: \"
\\r\\n \\r\\n
{{ currentLanguage()?.label }}
\\r\\n \\r\\n \\r\\n
\\r\\n language \\r\\n {{ 'fgbcl.language.selector.title' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n @if(filteredLanguages?.length > 0 ){ @for(language of filteredLanguages; track language.lcid){\\r\\n
\\r\\n \\r\\n {{ 'language.selector.' + language.lang | translate }}\\r\\n \\r\\n
\\r\\n } }\\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\".language-dropdown .dropdown-toggle:after{font-size:0}.language-dropdown .language-dropdown-btn{height:20px;width:50px}.language-dropdown .language-dropdown-menu{right:0;float:right;left:unset;margin-top:15px;width:220px}\\n\"] }]\n }] });\n\nclass CountryFlagPipe {\n transform(countryCode, ...args) {\n return `assets/country-flags/${countryCode}.svg`;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountryFlagPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: CountryFlagPipe, isStandalone: true, name: \"imgCountryFlag\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountryFlagPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'imgCountryFlag',\n standalone: true\n }]\n }] });\n\nclass LanguageSelectorWithFlagComponent extends LanguageSelectorBase {\n constructor() {\n super(...arguments);\n this.screenType = ScreenType;\n this.selectedLanguage = this.currentLanguage();\n this.offcanvasService = inject(NgbOffcanvas);\n }\n open(content) {\n this.offcanvasService.open(content, { panelClass: 'language-select-v2-offcanvas', position: 'bottom' });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageSelectorWithFlagComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"17.2.1\", type: LanguageSelectorWithFlagComponent, selector: \"fgbcl-language-selector-with-flag\", usesInheritance: true, ngImport: i0, template: \"
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n {{ currentLanguage()?.label }}\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.language.selector.title' | translate }}\\r\\n close \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n {{ currentLanguage()?.label }}\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.language.selector.title' | translate }}\\r\\n close \\r\\n
\\r\\n
\\r\\n @if(filteredLanguages?.length > 0 ){ @for(language of filteredLanguages; track language.lcid){\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n } }\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\".language-dropdown .dropdown-toggle:after{font-size:0}.language-dropdown .language-dropdown-btn{height:30px;min-width:70px;display:flex;align-items:center;padding-right:10px!important;padding-left:6px!important}.language-dropdown .language-dropdown-btn span{margin-left:10px}.language-dropdown .language-dropdown-menu{right:0;float:right;left:unset;margin-top:15px;width:220px;padding:10px 15px}.language-dropdown .language-item{display:flex;padding:10px 0}.language-dropdown .language-item:hover,.language-dropdown .language-item.selected{cursor:pointer}.language-dropdown .language-item:hover .language-code,.language-dropdown .language-item.selected .language-code{font-weight:700}.language-dropdown .language-item:not(:last-of-type){border-bottom:1px solid rgba(0,0,0,.1)}.language-dropdown .language-selector-header{border-bottom:1px solid rgba(0,0,0,.125);padding-bottom:10px}.language-dropdown .language-select-close-btn{font-size:18px;margin-left:auto;cursor:pointer}.language-dropdown .language-code{font-size:14px;line-height:14px;align-self:center;margin-left:13px}.language-dropdown .flag-container{display:flex;width:20px;height:20px}.language-dropdown .flag-container img{height:20px;border-radius:50%}.language-dropdown .language-list{margin:0;padding:0}.language-dropdown .offcanvas-body .language-selector-header{height:50px;padding:15px}.language-dropdown .offcanvas-body .offcanvas-content{padding:15px}\\n\"], dependencies: [{ kind: \"directive\", type: i1$1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$1.RadioControlValueAccessor, selector: \"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]\", inputs: [\"name\", \"formControlName\", \"value\"] }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"directive\", type: i2.NgbDropdown, selector: \"[ngbDropdown]\", inputs: [\"autoClose\", \"dropdownClass\", \"open\", \"placement\", \"popperOptions\", \"container\", \"display\"], outputs: [\"openChange\"], exportAs: [\"ngbDropdown\"] }, { kind: \"directive\", type: i2.NgbDropdownToggle, selector: \"[ngbDropdownToggle]\" }, { kind: \"directive\", type: i2.NgbDropdownMenu, selector: \"[ngbDropdownMenu]\" }, { kind: \"directive\", type: i3$1.IfScreenSizeDirective, selector: \"[ifScreenSize]\", inputs: [\"ifScreenSize\"] }, { kind: \"pipe\", type: i3.TranslatePipe, name: \"translate\" }, { kind: \"pipe\", type: CountryFlagPipe, name: \"imgCountryFlag\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageSelectorWithFlagComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-language-selector-with-flag', changeDetection: ChangeDetectionStrategy.OnPush, template: \"
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n {{ currentLanguage()?.label }}\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.language.selector.title' | translate }}\\r\\n close \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n {{ currentLanguage()?.label }}\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.language.selector.title' | translate }}\\r\\n close \\r\\n
\\r\\n
\\r\\n @if(filteredLanguages?.length > 0 ){ @for(language of filteredLanguages; track language.lcid){\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n } }\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\".language-dropdown .dropdown-toggle:after{font-size:0}.language-dropdown .language-dropdown-btn{height:30px;min-width:70px;display:flex;align-items:center;padding-right:10px!important;padding-left:6px!important}.language-dropdown .language-dropdown-btn span{margin-left:10px}.language-dropdown .language-dropdown-menu{right:0;float:right;left:unset;margin-top:15px;width:220px;padding:10px 15px}.language-dropdown .language-item{display:flex;padding:10px 0}.language-dropdown .language-item:hover,.language-dropdown .language-item.selected{cursor:pointer}.language-dropdown .language-item:hover .language-code,.language-dropdown .language-item.selected .language-code{font-weight:700}.language-dropdown .language-item:not(:last-of-type){border-bottom:1px solid rgba(0,0,0,.1)}.language-dropdown .language-selector-header{border-bottom:1px solid rgba(0,0,0,.125);padding-bottom:10px}.language-dropdown .language-select-close-btn{font-size:18px;margin-left:auto;cursor:pointer}.language-dropdown .language-code{font-size:14px;line-height:14px;align-self:center;margin-left:13px}.language-dropdown .flag-container{display:flex;width:20px;height:20px}.language-dropdown .flag-container img{height:20px;border-radius:50%}.language-dropdown .language-list{margin:0;padding:0}.language-dropdown .offcanvas-body .language-selector-header{height:50px;padding:15px}.language-dropdown .offcanvas-body .offcanvas-content{padding:15px}\\n\"] }]\n }] });\n\nclass LanguageButtonSelectComponent {\n constructor() {\n this.hiddenLanguagesByLcid = [];\n this.version = 1;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageButtonSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"17.2.1\", type: LanguageButtonSelectComponent, selector: \"fgbcl-language-button-select\", inputs: { hiddenLanguagesByLcid: \"hiddenLanguagesByLcid\", version: \"version\" }, ngImport: i0, template: \"@switch (version) { @case (1) {\\r\\n\\r\\n} @case (2){\\r\\n\\r\\n} }\\r\\n\", styles: [\".language-dropdown .dropdown-toggle:after{font-size:0}.language-dropdown .language-dropdown-btn{height:20px;width:50px}.language-dropdown .language-dropdown-menu{right:0;float:right;left:unset;margin-top:15px;width:220px}\\n\"], dependencies: [{ kind: \"component\", type: LanguageSelectorComponent, selector: \"fgbcl-language-selector\" }, { kind: \"component\", type: LanguageSelectorWithFlagComponent, selector: \"fgbcl-language-selector-with-flag\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageButtonSelectComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-language-button-select', changeDetection: ChangeDetectionStrategy.OnPush, template: \"@switch (version) { @case (1) {\\r\\n\\r\\n} @case (2){\\r\\n\\r\\n} }\\r\\n\", styles: [\".language-dropdown .dropdown-toggle:after{font-size:0}.language-dropdown .language-dropdown-btn{height:20px;width:50px}.language-dropdown .language-dropdown-menu{right:0;float:right;left:unset;margin-top:15px;width:220px}\\n\"] }]\n }], propDecorators: { hiddenLanguagesByLcid: [{\n type: Input\n }], version: [{\n type: Input\n }] } });\n\nclass LanguageSelectorModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageSelectorModule, declarations: [LanguageSelectorComponent,\n LanguageButtonSelectComponent,\n LanguageSelectorWithFlagComponent], imports: [CommonModule,\n FormsModule,\n FGBSharedModule,\n NgbDropdownModule,\n CountryFlagPipe,\n NgbOffcanvasModule,\n DirectivesModule], exports: [LanguageSelectorComponent,\n LanguageButtonSelectComponent,\n LanguageSelectorWithFlagComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageSelectorModule, imports: [CommonModule,\n FormsModule,\n FGBSharedModule,\n NgbDropdownModule,\n NgbOffcanvasModule,\n DirectivesModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LanguageSelectorModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n LanguageSelectorComponent,\n LanguageButtonSelectComponent,\n LanguageSelectorWithFlagComponent,\n ],\n imports: [\n CommonModule,\n FormsModule,\n FGBSharedModule,\n NgbDropdownModule,\n CountryFlagPipe,\n NgbOffcanvasModule,\n DirectivesModule\n ],\n exports: [\n LanguageSelectorComponent,\n LanguageButtonSelectComponent,\n LanguageSelectorWithFlagComponent\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CountryFlagPipe, LanguageButtonSelectComponent, LanguageSelectorComponent, LanguageSelectorModule, LanguageSelectorWithFlagComponent };\n","import { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Directive, HostBinding, EventEmitter, Input, Output, HostListener, ContentChild, InjectionToken, Injectable, Inject, ContentChildren, NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { BehaviorSubject } from 'rxjs';\n\n/**\n * Default Accessibility Configurations\n */\nconst accessibilityConfig = {\n // Accessibility Tab or Focus Tab Default Config\n focusTab: {\n borderColor: '-webkit-focus-ring-color',\n borderSize: 1,\n borderRadius: 5\n },\n};\n\n/**\n * Sometimes we want to apply focus only on the parent element\n * this directive will help target which button should be clicked on enter.\n */\nclass FocusTabButtonDirective {\n get getClass() {\n return {\n 'focus-tab-btn': true\n };\n }\n constructor(_el) {\n this._el = _el;\n }\n click() {\n this._el.nativeElement.click();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FocusTabButtonDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: FocusTabButtonDirective, selector: \"[focusTabBtn]\", host: { properties: { \"class\": \"this.getClass\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FocusTabButtonDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[focusTabBtn]'\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { getClass: [{\n type: HostBinding,\n args: ['class']\n }] } });\n\n/**\n * Some elements are not focusable like divs.etc, this directive will help focus the element\n * when tabbing and perform click on enter, default tabindex is set to 0 so it won't mess with\n * accessibility.\n */\nclass FocusTabDirective {\n get tabIndex() {\n return 0;\n }\n get getStyle() {\n return {\n 'outline': !this._isCustom() && this.isFocused ? `-webkit-focus-ring-color auto 1px !important` : 'none',\n 'border': this._isCustom() && this.isFocused ? `${this.tabBorderSize}px solid ${this.tabBorderColor}` : 'inherit',\n 'border-radius': this._isCustom() && this.isFocused ? `${this.tabBorderRadius}px` : 'inherit'\n };\n }\n get getClass() {\n return {\n 'focus-tab': true,\n 'tab-focused': this.isFocused,\n 'focus-tab-custom': this._isCustom() && this.isFocused\n };\n }\n onFocus(event) {\n this.isFocused = true;\n }\n onBlur(event) {\n this.isFocused = false;\n }\n onKeyupEnter(event) {\n if (this.allowClickOnEnter) {\n if (!this._tabElements.includes(this._el.nativeElement.tagName.toLowerCase())) {\n if (this.tabBtn) {\n this.tabBtn.click();\n }\n else if (this._isNgbDropdown(this._el.nativeElement)) {\n const dropdownButton = this._getNgbdropdownButton(this._el.nativeElement);\n dropdownButton.click();\n }\n else {\n this._el.nativeElement.click();\n }\n }\n }\n else {\n this.focusTabEnter.emit();\n }\n }\n constructor(_el) {\n this._el = _el;\n this.tabBorderColor = '-webkit-focus-ring-color';\n this.tabBorderSize = 1;\n this.tabBorderRadius = 5;\n this.allowClickOnEnter = true;\n this.focusTabEnter = new EventEmitter();\n this._tabElements = ['button', 'a', 'textarea', 'input', 'select'];\n this.isFocused = false;\n }\n _isNgbDropdown(el) {\n return el.hasAttribute('ngbdropdown');\n }\n _getNgbdropdownButton(el) {\n return el.children[0];\n }\n _isCustom() {\n return this.tabBorderColor != '-webkit-focus-ring-color';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FocusTabDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: FocusTabDirective, selector: \"[focusTab]\", inputs: { tabBorderColor: \"tabBorderColor\", tabBorderSize: \"tabBorderSize\", tabBorderRadius: \"tabBorderRadius\", allowClickOnEnter: \"allowClickOnEnter\" }, outputs: { focusTabEnter: \"focusTabEnter\" }, host: { listeners: { \"focus\": \"onFocus($event)\", \"blur\": \"onBlur($event)\", \"keyup.enter\": \"onKeyupEnter($event)\" }, properties: { \"attr.tabindex\": \"this.tabIndex\", \"style\": \"this.getStyle\", \"class\": \"this.getClass\" } }, queries: [{ propertyName: \"tabBtn\", first: true, predicate: FocusTabButtonDirective, descendants: true }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FocusTabDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[focusTab]'\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { tabBorderColor: [{\n type: Input\n }], tabBorderSize: [{\n type: Input\n }], tabBorderRadius: [{\n type: Input\n }], allowClickOnEnter: [{\n type: Input\n }], focusTabEnter: [{\n type: Output\n }], tabIndex: [{\n type: HostBinding,\n args: ['attr.tabindex']\n }], getStyle: [{\n type: HostBinding,\n args: ['style']\n }], getClass: [{\n type: HostBinding,\n args: ['class']\n }], onFocus: [{\n type: HostListener,\n args: ['focus', ['$event']]\n }], onBlur: [{\n type: HostListener,\n args: ['blur', ['$event']]\n }], onKeyupEnter: [{\n type: HostListener,\n args: ['keyup.enter', ['$event']]\n }], tabBtn: [{\n type: ContentChild,\n args: [FocusTabButtonDirective]\n }] } });\n\nconst ACCESSIBILITY_CONFIG = new InjectionToken('accessibilityConfig');\n/**\n * We might want to change accessibility configurations in the form.etc in the future according to user\n * preference, this service will help.\n */\nclass AccessibilityService {\n constructor(_config) {\n this._config = _config;\n this._configSubject$ = new BehaviorSubject(this._config);\n }\n /**\n * Set accessibility configurations\n * @param {AccessibilityConfig} config\n */\n setConfig(config) {\n let conf = {\n focusTab: {\n ...this._configSubject$.getValue().focusTab, ...config.focusTab\n }\n };\n this._configSubject$.next(conf);\n }\n /**\n * Restore accessibility configurations to default\n */\n restoreDefaults() {\n this._configSubject$.next(this._config);\n }\n /**\n * Get the current accessibility configuration\n * @returns acessibility configuration\n */\n getConfig$() {\n return this._configSubject$.asObservable();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityService, deps: [{ token: ACCESSIBILITY_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [ACCESSIBILITY_CONFIG]\n }] }] });\n\n/**\n * If we want to change accessibility configuration via service or module\n * we can append this directive to the parent element.\n */\nclass AccessibilityDirective {\n constructor(accessibilityService, _cd) {\n this.accessibilityService = accessibilityService;\n this._cd = _cd;\n }\n ngAfterContentInit() {\n this._subscription = this.accessibilityService.getConfig$()\n .subscribe((config) => {\n const { borderColor, borderSize, borderRadius } = config.focusTab;\n this._setFocusTabStyle(borderColor, borderSize, borderRadius);\n this._cd.markForCheck();\n });\n }\n ngOnDestroy() {\n this._subscription.unsubscribe();\n }\n _setFocusTabStyle(color, size, radius) {\n this.focusTabs.forEach(tab => {\n tab.tabBorderColor = color;\n tab.tabBorderSize = size;\n tab.tabBorderRadius = radius;\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityDirective, deps: [{ token: AccessibilityService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: AccessibilityDirective, selector: \"[accessibility]\", queries: [{ propertyName: \"focusTabs\", predicate: FocusTabDirective, descendants: true }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[accessibility]'\n }]\n }], ctorParameters: () => [{ type: AccessibilityService }, { type: i0.ChangeDetectorRef }], propDecorators: { focusTabs: [{\n type: ContentChildren,\n args: [FocusTabDirective, { descendants: true }]\n }] } });\n\nclass AccessibilityModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityModule, declarations: [AccessibilityDirective,\n FocusTabDirective,\n FocusTabButtonDirective], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule], exports: [AccessibilityDirective,\n FocusTabDirective,\n FocusTabButtonDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityModule, providers: [\n AccessibilityService,\n {\n provide: ACCESSIBILITY_CONFIG,\n useValue: accessibilityConfig\n }\n ], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n AccessibilityDirective,\n FocusTabDirective,\n FocusTabButtonDirective\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule\n ],\n providers: [\n AccessibilityService,\n {\n provide: ACCESSIBILITY_CONFIG,\n useValue: accessibilityConfig\n }\n ],\n exports: [\n AccessibilityDirective,\n FocusTabDirective,\n FocusTabButtonDirective\n ]\n }]\n }] });\n\nclass AccessibilityConfigModule {\n static forRoot(config) {\n return {\n ngModule: AccessibilityModule,\n providers: [\n {\n provide: ACCESSIBILITY_CONFIG,\n useValue: config\n }\n ]\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityConfigModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityConfigModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AccessibilityConfigModule, decorators: [{\n type: NgModule\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ACCESSIBILITY_CONFIG, AccessibilityConfigModule, AccessibilityDirective, AccessibilityModule, AccessibilityService, FocusTabButtonDirective, FocusTabDirective };\n","\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n","import {\r\n Component,\r\n OnInit,\r\n OnDestroy,\r\n} from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { Router } from '@angular/router';\r\nimport {\r\n config,\r\n MemberDetails,\r\n MemberQuery,\r\n BalanceQuery,\r\n ProviderName,\r\n MemberCard,\r\n MemberCardQuery,\r\n KeyValuePair,\r\n Cart,\r\n Card,\r\n CardQuery,\r\n AuthService,\r\n CardService\r\n} from '@fgb/core';\r\nimport { Observable, Subject, firstValueFrom } from 'rxjs';\r\nimport { tap, map, takeUntil } from 'rxjs/operators';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\nimport { ProductCode } from 'src/app/shared/utilities/product-code';\r\nimport { NgbDropdown } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'fgb-nav-bar',\r\n templateUrl: './nav-bar.component.html',\r\n styleUrls: ['./nav-bar.component.scss']\r\n})\r\nexport class NavBarComponent implements OnInit, OnDestroy {\r\n populations = Populations;\r\n productcode = ProductCode;\r\n memberDetails$: Observable;\r\n combinedCard$: Observable;\r\n loyaltyPointsCard$: Observable;\r\n card$: Observable;\r\n unseenNotificationCount$: Observable;\r\n isCollapsed = false;\r\n name$: Observable;\r\n selectedMember: string;\r\n cards$: Observable;\r\n totalItems$: Observable;\r\n basketPointsTotal$: Observable;\r\n items$: Observable;\r\n currentLanguage: string = '';\r\n private _destroyed$ = new Subject();\r\n\r\n constructor(\r\n private translate: TranslateService,\r\n public router: Router,\r\n public cardService: CardService,\r\n public memberQuery: MemberQuery,\r\n private authService: AuthService,\r\n private balanceQuery: BalanceQuery,\r\n private memberCardQuery: MemberCardQuery,\r\n private cardQuery: CardQuery\r\n ) {}\r\n\r\n useLanguage(language: string) {\r\n this.translate.use(language);\r\n }\r\n\r\n ngOnInit() {\r\n this.loyaltyPointsCard$ = this.balanceQuery.selectPurse(config.purseConfig.virtualLoyalty);\r\n this.combinedCard$ = this.balanceQuery.selectPurse(config.purseConfig.combined);\r\n this.memberDetails$ = this.memberQuery.selectMemberDetails();\r\n this.card$ = this.memberCardQuery.selectObservedMemberCard();\r\n this.initAccountSwitch();\r\n this.initLcid();\r\n }\r\n\r\n ngOnDestroy() {\r\n this._destroyed$.next();\r\n this._destroyed$.complete();\r\n }\r\n\r\n initAccountSwitch() {\r\n this.name$ = this.memberQuery.selectMemberDetails().pipe(\r\n map((m) => {\r\n if (m) {\r\n return `${m.FirstName} ${m.Surname}`;\r\n }\r\n return '';\r\n })\r\n );\r\n\r\n this.selectedMember = this.memberQuery.getUserContext().memberId;\r\n this.cards$ = this.cardQuery.selectCards().pipe(\r\n map((cards: Card[]) =>\r\n cards\r\n .sort((a, b) => parseInt(a.Seat) - parseInt(b.Seat))\r\n .sort((a, b) => parseInt(a.Row) - parseInt(b.Row))\r\n .sort((a, b) => parseInt(a.Area) - parseInt(b.Area))\r\n )\r\n );\r\n }\r\n\r\n initLcid() {\r\n this.memberQuery.userContext$.pipe(takeUntil(this._destroyed$)).subscribe((user) => {\r\n if (user && user.lcid) {\r\n if (user.lcid === '2057') {\r\n this.currentLanguage = 'EN';\r\n } else if (user.lcid === '1036') {\r\n this.currentLanguage = 'FR';\r\n } else if (user.lcid === '1037') {\r\n this.currentLanguage = 'HE';\r\n } else if (user.lcid === '1032') {\r\n this.currentLanguage = 'GR';\r\n } else if (user.lcid === '1033') {\r\n this.currentLanguage = 'US';\r\n } else if (user.lcid === '4105') {\r\n this.currentLanguage = 'EN-CA';\r\n } else if (user.lcid === '3084') {\r\n this.currentLanguage = 'FR-CA';\r\n }\r\n }\r\n });\r\n }\r\n\r\n logout() {\r\n firstValueFrom(this.authService\r\n .logout()\r\n .pipe(tap(() => this.router.navigate(['/login']))));\r\n }\r\n\r\n selectCard() {\r\n this.router.navigate(['/login']);\r\n }\r\n\r\n LoginThirdParty() {\r\n let options = [{ key: 'Url', value: 'https://sdp.sportsbingo.ballparkapps.com/?bingoUser={1}' }] as KeyValuePair[];\r\n this.authService.loginThirdParty(ProviderName.SidelineSports, 1, '', true, options);\r\n }\r\n\r\n loginWithCard(memberId: string) {\r\n firstValueFrom(this.authService.switchUser(memberId));\r\n }\r\n\r\n closeDropDown(dropdown: NgbDropdown) {\r\n dropdown.close();\r\n }\r\n}\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { Subscription, of, timer } from 'rxjs';\r\nimport { Router, NavigationStart, NavigationEnd, NavigationCancel, NavigationError } from '@angular/router';\r\nimport { tap, concatMap, repeat } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-navigation-indicator',\r\n templateUrl: './navigation-indicator.component.html',\r\n styleUrls: ['./navigation-indicator.component.scss']\r\n})\r\nexport class NavigationIndicatorComponent implements OnInit, OnDestroy {\r\n navigationInProgress: boolean = false;\r\n navigationBarWidthPercentage: number = 0;\r\n private navigationSubscription: Subscription;\r\n private timerSubscription: Subscription;\r\n\r\n constructor(private router: Router) {}\r\n\r\n ngOnInit() {\r\n this.navigationSubscription = this.router.events.subscribe(event => {\r\n if (event instanceof NavigationStart) {\r\n this._startNavigation();\r\n } else if (event instanceof NavigationEnd || event instanceof NavigationCancel || event instanceof NavigationError) {\r\n this._completeNavigation();\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this._cancelSubscription(this.timerSubscription);\r\n this._cancelSubscription(this.navigationSubscription);\r\n }\r\n\r\n /** Unsubscribe from the given subscription if it exists. */\r\n private _cancelSubscription(subscription: Subscription): void {\r\n if (subscription) {\r\n subscription.unsubscribe();\r\n }\r\n }\r\n\r\n /** Set the navigation bar state to the completed state. */\r\n private _startNavigation(): void {\r\n this._cancelSubscription(this.timerSubscription);\r\n\r\n this.navigationBarWidthPercentage = Math.round(20 + Math.random() * 10);\r\n this.navigationInProgress = true;\r\n\r\n this.timerSubscription = of(null)\r\n .pipe(\r\n concatMap(() => timer(500 + (Math.random() * 600))),\r\n tap(() => {\r\n // Increment the width slowly towards 95%...\r\n const remainingWidth: number = 95 - this.navigationBarWidthPercentage;\r\n const factor: number = 0.1 + Math.random() / 4; // from 0.1 to 0.35\r\n this.navigationBarWidthPercentage += Math.round(remainingWidth * factor);\r\n\r\n // Make sure the navigation width does not exceed 95% to show at least some small jump to 100% on completion\r\n this.navigationBarWidthPercentage = Math.min(Math.max(this.navigationBarWidthPercentage, 0), 95);\r\n }),\r\n repeat()\r\n )\r\n .subscribe();\r\n }\r\n\r\n /** Set the navigation bar state to the completed state. */\r\n private _completeNavigation(): void {\r\n this._cancelSubscription(this.timerSubscription);\r\n\r\n this.navigationBarWidthPercentage = 100;\r\n this.navigationInProgress = false;\r\n\r\n setTimeout(() => {\r\n if (!this.navigationInProgress) {\r\n this.navigationBarWidthPercentage = 0;\r\n }\r\n }, 300);\r\n }\r\n}\r\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { timer } from '../observable/timer';\nexport function repeat(countOrConfig) {\n let count = Infinity;\n let delay;\n if (countOrConfig != null) {\n if (typeof countOrConfig === 'object') {\n ({ count = Infinity, delay } = countOrConfig);\n }\n else {\n count = countOrConfig;\n }\n }\n return count <= 0\n ? () => EMPTY\n : operate((source, subscriber) => {\n let soFar = 0;\n let sourceSub;\n const resubscribe = () => {\n sourceSub === null || sourceSub === void 0 ? void 0 : sourceSub.unsubscribe();\n sourceSub = null;\n if (delay != null) {\n const notifier = typeof delay === 'number' ? timer(delay) : innerFrom(delay(soFar));\n const notifierSubscriber = createOperatorSubscriber(subscriber, () => {\n notifierSubscriber.unsubscribe();\n subscribeToSource();\n });\n notifier.subscribe(notifierSubscriber);\n }\n else {\n subscribeToSource();\n }\n };\n const subscribeToSource = () => {\n let syncUnsub = false;\n sourceSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, () => {\n if (++soFar < count) {\n if (sourceSub) {\n resubscribe();\n }\n else {\n syncUnsub = true;\n }\n }\n else {\n subscriber.complete();\n }\n }));\n if (syncUnsub) {\n resubscribe();\n }\n };\n subscribeToSource();\n });\n}\n","\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-footer',\r\n templateUrl: './footer.component.html',\r\n styleUrls: ['./footer.component.scss']\r\n})\r\nexport class FooterComponent implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","
\r\n \r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n","import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core';\r\nimport { MemberQuery } from '@fgb/core';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[inPopulation]',\r\n})\r\nexport class InPopulationDirective {\r\n constructor(private templateRef: TemplateRef, private viewContainer: ViewContainerRef, private memberQuery: MemberQuery) {}\r\n\r\n @Input() set inPopulation(populations: string[]) {\r\n let memberPopulation = this.memberQuery.getPopulationName();\r\n this.viewContainer.clear();\r\n if (memberPopulation && populations.includes(memberPopulation)) {\r\n this.viewContainer.createEmbeddedView(this.templateRef);\r\n }\r\n }\r\n}\r\n","import { Directive, TemplateRef, ViewContainerRef, Input } from '@angular/core';\r\nimport { MemberQuery } from '@fgb/core';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[notInPopulation]',\r\n})\r\nexport class NotInPopulationDirective {\r\n constructor(private templateRef: TemplateRef, private viewContainer: ViewContainerRef, private memberQuery: MemberQuery) {}\r\n\r\n @Input() set notInPopulation(populations: string[]) {\r\n let memberPopulation = this.memberQuery.getPopulationName();\r\n this.viewContainer.clear();\r\n if (memberPopulation && !populations.includes(memberPopulation)) {\r\n this.viewContainer.createEmbeddedView(this.templateRef);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Barcode, BarcodeQuery, MemberCardQuery, SeatingDetailQuery, SeatingDetail } from '@fgb/core';\r\nimport { BarcodeService } from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { MemberCard } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-barcode',\r\n templateUrl: './barcode.component.html',\r\n styleUrls: ['./barcode.component.scss'],\r\n})\r\nexport class BarcodeComponent implements OnInit {\r\n @Input() primaryTheme: boolean = false;\r\n barcode$: Observable;\r\n card$: Observable;\r\n seatingDetail$: Observable;\r\n\r\n constructor(\r\n private barcodeService: BarcodeService,\r\n private barcodeQuery: BarcodeQuery,\r\n private memberCardQuery: MemberCardQuery,\r\n private seatingDetailQuery: SeatingDetailQuery\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.seatingDetail$ = this.seatingDetailQuery.selectCurrentSeatingDetails();\r\n firstValueFrom(this.barcodeService.fetchBarcode());\r\n this.barcode$ = this.barcodeQuery.select();\r\n this.card$ = this.memberCardQuery.selectCurrentCard();\r\n }\r\n}\r\n","\r\n

Member Card

\r\n
\r\n
\r\n \r\n
\r\n \r\n {{ barcode.PassNickName }}\r\n

\r\n
\r\n
{{ 'member.card.club.id.label' | translate }} 
\r\n
{{ memberCard.ExternalRefNumber }}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n
{{ 'member.card.points.balance' | translate }}
\r\n
\r\n
\r\n
\r\n \r\n
{{ 'member.card.life.time.points.balance' | translate }}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n

\r\n {{ barcode.PassNickName }}\r\n

\r\n
\r\n
{{ 'member.card.club.id.label' | translate }} 
\r\n
{{ memberCard.ExternalRefNumber }}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
{{ 'member.card.points.balance' | translate }}
\r\n
\r\n
\r\n
\r\n \r\n
{{ 'member.card.life.time.points.balance' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport {\r\n MemberCard,\r\n MemberCardQuery,\r\n MemberDetails,\r\n Balance,\r\n MemberQuery,\r\n BalanceQuery,\r\n config,\r\n BarcodeService,\r\n BarcodeQuery,\r\n Barcode,\r\n TierService,\r\n TierQuery,\r\n LoyaltyCustomerTier,\r\n} from '@fgb/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { Observable } from 'rxjs';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\n\r\n@Component({\r\n selector: 'fgb-member-card',\r\n templateUrl: './member-card.component.html',\r\n styleUrls: ['./member-card.component.scss'],\r\n})\r\nexport class MemberCardComponent implements OnInit {\r\n @Input() showSeating: boolean;\r\n @Input() dropDownMemberCard: boolean = false;\r\n @Input() isAccountCard: boolean = false;\r\n memberCard$: Observable;\r\n barcode$: Observable;\r\n ecash$: Observable;\r\n memberDetails$: Observable;\r\n balance$: Observable;\r\n member$: Observable;\r\n pointsBalance$: Observable;\r\n combinedCard$: Observable;\r\n screenType = ScreenType;\r\n tier$: Observable;\r\n populations = Populations;\r\n\r\n constructor(\r\n private barcodeService: BarcodeService,\r\n private barcodeQuery: BarcodeQuery,\r\n private memberCardQuery: MemberCardQuery,\r\n private memberQuery: MemberQuery,\r\n private balanceQuery: BalanceQuery,\r\n private tierService: TierService,\r\n private tierQuery: TierQuery\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.barcodeService.fetchBarcode().toPromise();\r\n this.barcode$ = this.barcodeQuery.select();\r\n this.memberCard$ = this.memberCardQuery.selectCurrentCard();\r\n this.combinedCard$ = this.balanceQuery.selectPurse(config.purseConfig.combined);\r\n this.tierService.fetchTiersWithPositions(this.memberQuery.getUserContext().externalRef).toPromise();\r\n this.tier$ = this.tierQuery.customerTier$;\r\n this.memberDetails$ = this.memberQuery.selectMemberDetails();\r\n this.pointsBalance$ = this.balanceQuery.selectPurse(config.purseConfig.virtualLoyalty);\r\n this.ecash$ = this.balanceQuery.selectPurse(config.purseConfig.combined);\r\n }\r\n}\r\n","
\r\n \r\n
\r\n \r\n \r\n \"\"\r\n \r\n \r\n \r\n redeem\r\n \r\n \r\n account_balance_wallet\r\n \r\n \r\n \r\n\r\n \r\n \r\n redeem\r\n \r\n \r\n flag\r\n \r\n\r\n \r\n \r\n extension\r\n \r\n \r\n \r\n\r\n \r\n menu\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n close\r\n \r\n
\r\n \"\"\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n history\r\n
{{ 'nav.activity' | translate }}
\r\n
\r\n
chevron_right
\r\n \r\n\r\n \r\n
\r\n account_balance_wallet\r\n
{{ 'nav.wallet' | translate }}
\r\n
\r\n
chevron_right
\r\n \r\n \r\n
\r\n flag\r\n
{{ 'nav.challenges' | translate }}
\r\n
\r\n
chevron_right
\r\n \r\n \r\n
\r\n redeem\r\n
{{ 'nav.rewards' | translate }}
\r\n
\r\n
chevron_right
\r\n
\r\n\r\n \r\n \r\n
\r\n extension\r\n
{{ 'nav.games' | translate }}
\r\n
\r\n
chevron_right
\r\n \r\n
\r\n\r\n \r\n
\r\n emoji_events\r\n
{{ 'nav.earn' | translate }}
\r\n
\r\n
chevron_right
\r\n
\r\n\r\n \r\n
\r\n bar_chart\r\n
{{ 'nav.tiers' | translate }}
\r\n
\r\n
chevron_right
\r\n
\r\n\r\n \r\n
\r\n email\r\n
{{ 'nav.contact.us' | translate }}
\r\n
\r\n
chevron_right
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport {\r\n AuthService,\r\n Card,\r\n CardQuery,\r\n MemberCard,\r\n MemberDetails,\r\n MemberQuery\r\n} from '@fgb/core';\r\nimport { Router, NavigationStart } from '@angular/router';\r\nimport { Observable, Subscription, firstValueFrom } from 'rxjs';\r\nimport { filter, tap } from 'rxjs/operators';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\n\r\n@Component({\r\n selector: 'fgb-mobile-nav-menu',\r\n templateUrl: './mobile-nav-menu.component.html',\r\n styleUrls: ['./mobile-nav-menu.component.scss'],\r\n})\r\nexport class MobileNavMenuComponent implements OnInit, OnDestroy {\r\n memberDetails$: Observable;\r\n memberCard$: Observable;\r\n selectedMember: string;\r\n cards$: Observable;\r\n populations = Populations;\r\n\r\n constructor(\r\n private authService: AuthService,\r\n private router: Router,\r\n private memberQuery: MemberQuery,\r\n private cardQuery: CardQuery\r\n ) {}\r\n private routerSubscription: Subscription;\r\n public isCollapsed = true;\r\n\r\n ngOnInit() {\r\n this.initMemberAccounts();\r\n this.routerSubscription = this.router.events\r\n .pipe(\r\n filter((event) => event instanceof NavigationStart),\r\n tap(() => (this.isCollapsed = true))\r\n )\r\n .subscribe();\r\n }\r\n\r\n initMemberAccounts() {\r\n this.memberDetails$ = this.memberQuery.selectMemberDetails();\r\n this.cards$ = this.cardQuery.selectCards();\r\n this.selectedMember = this.memberQuery.getUserContext().memberId;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.routerSubscription.unsubscribe();\r\n }\r\n\r\n logout() {\r\n firstValueFrom(this.authService\r\n .logout())\r\n .then(() => this.router.navigate(['/login']));\r\n }\r\n\r\n loginWithCard(memberId: string) {\r\n firstValueFrom(this.authService.switchUser(memberId));\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { UserContext, config, MemberQuery } from '@fgb/core';\r\n\r\n@Pipe({ name: 'contentImage' })\r\nexport class ContentImagePipe implements PipeTransform {\r\n constructor(private memberQuery: MemberQuery) {}\r\n\r\n transform(value: any, variantId: any, loyaltyType?: string) {\r\n if (!value) {\r\n if (!loyaltyType) {\r\n return `${config.contentUrl}/images/noimage.png`;\r\n } else {\r\n switch (loyaltyType) {\r\n case 'marketplace': {\r\n return 'assets/images/placeholders/marketplace-item.png';\r\n }\r\n case 'auction': {\r\n return 'assets/images/placeholders/auction-item.png';\r\n }\r\n case 'lotto': {\r\n return 'assets/images/placeholders/lotto-item.png';\r\n }\r\n case 'wallet': {\r\n return 'assets/images/placeholders/marketplace-item.png';\r\n }\r\n case 'badge': {\r\n return 'assets/images/placeholders/badge-item.png';\r\n }\r\n default: {\r\n return 'assets/images/placeholders/marketplace-item.svg';\r\n }\r\n }\r\n }\r\n } else {\r\n let currentUser =\r\n this.memberQuery.getValue().user || ({ clubId: config.defaultClubId, lcid: config.defaultLcid } as UserContext);\r\n\r\n const imageName = value.substring(0, value.indexOf('.'));\r\n const fileExtension = value.substring(value.indexOf('.'));\r\n\r\n return `${config.contentUrl}/image/${imageName}__${currentUser.clubId}_${variantId}_${currentUser.lcid}${fileExtension}`;\r\n }\r\n }\r\n}\r\n","
\r\n \"{{\r\n
\r\n\r\n
\r\n
\r\n
{{description}}
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-popup-info',\r\n templateUrl: './popup-info.component.html',\r\n styleUrls: ['./popup-info.component.scss']\r\n})\r\nexport class PopupInfoComponent implements OnInit {\r\n\r\n @Input() description: string;\r\n @Input() image: string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","import { Component, OnInit, Output, EventEmitter } from '@angular/core';\r\nimport { PopUpNotificationResponseType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-popup-action-confirm',\r\n templateUrl: './popup-action-confirm.component.html',\r\n styleUrls: ['./popup-action-confirm.component.scss']\r\n})\r\nexport class PopupActionConfirmComponent implements OnInit {\r\n\r\n @Output() popupResponse = new EventEmitter();\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n emitResponse(res:PopUpNotificationResponseType): void {\r\n this.popupResponse.emit(res);\r\n }\r\n}\r\n","
\r\n \r\n
\r\n","import { Component, OnInit, Output, EventEmitter } from '@angular/core';\r\nimport { PopUpNotificationResponseType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-popup-action-ok-cancel',\r\n templateUrl: './popup-action-ok-cancel.component.html',\r\n styleUrls: ['./popup-action-ok-cancel.component.scss']\r\n})\r\nexport class PopupActionOkCancelComponent implements OnInit {\r\n\r\n @Output() popupResponse = new EventEmitter();\r\n responseType = PopUpNotificationResponseType;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n emitResponse(res:PopUpNotificationResponseType): void {\r\n this.popupResponse.emit(res);\r\n }\r\n}\r\n","
\r\n \r\n \r\n
\r\n","
\r\n
\r\n {{ popupData.popUpNotificationLanguage.name }}\r\n
\r\n
\r\n \r\n\r\n
\r\n

{{ popupData.popUpNotificationLanguage.description }}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { AfterViewInit, Component, OnDestroy, OnInit, TemplateRef } from '@angular/core';\r\nimport {\r\n LoggingService,\r\n PopUpCommandType,\r\n PopUpNotificationResponseType,\r\n PopUpNotificationType,\r\n PopUpNotificationViewModel,\r\n} from '@fgb/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Subject, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-custom-popup',\r\n templateUrl: './custom-popup.component.html',\r\n styleUrls: ['./custom-popup.component.scss'],\r\n})\r\nexport class CustomPopupComponent implements OnInit, AfterViewInit, OnDestroy {\r\n popupData: PopUpNotificationViewModel;\r\n dynamicComponentRef: TemplateRef | undefined;\r\n actionConfirmation$ = new Subject();\r\n private actionSub: Subscription;\r\n\r\n constructor(public activeModal: NgbActiveModal, private logService: LoggingService) {}\r\n\r\n ngOnInit() {}\r\n\r\n ngAfterViewInit() {\r\n this.cancelIfNotValid();\r\n this.watchForActionConfirmation();\r\n }\r\n\r\n /** Subscribes to the actionConfirmation subject to enable or disable action buttons.\r\n * For Action Popups, action buttons are disabled by default.\r\n */\r\n watchForActionConfirmation(): void {\r\n this.actionSub = this.actionConfirmation$.subscribe(() => {\r\n this.emitResponse(PopUpNotificationResponseType.Accepted);\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.actionSub.unsubscribe();\r\n }\r\n\r\n /** Cancels popup if the template is not defined when notification type is 1 (action) */\r\n cancelIfNotValid(): void {\r\n if (this.isActionPopup() && !this.dynamicComponentRef) {\r\n this.logService.error('An Action Popup has been called but the template has not been defined');\r\n this.emitResponse(PopUpNotificationResponseType.Error);\r\n }\r\n }\r\n\r\n /** Checks if the notification type is 0 (text) */\r\n isTextPopup(): boolean {\r\n return this.popupData.notificationType === PopUpNotificationType.TextBased;\r\n }\r\n\r\n /** Checks if the notification type is 1 (action) */\r\n isActionPopup(): boolean {\r\n return this.popupData.notificationType === PopUpNotificationType.ActionBased;\r\n }\r\n\r\n /** Checks if the command type is 0 (Confirm button only) */\r\n isActionConfirm(): boolean {\r\n return this.popupData.commandType === PopUpCommandType.Confirm;\r\n }\r\n\r\n /** Checks if the command type is 1 (OK Cancel buttons) */\r\n isActionOKCancel(): boolean {\r\n return this.popupData.commandType === PopUpCommandType.OkCancel;\r\n }\r\n\r\n /** Closes dialog box and emits response received from action component\r\n * @param res The response sent by the popup\r\n */\r\n emitResponse(res: PopUpNotificationResponseType): void {\r\n this.activeModal.close(res);\r\n }\r\n}\r\n","import { Directive, Input, TemplateRef } from '@angular/core';\r\n@Directive({\r\n selector: '[appCtrlTemplate]',\r\n})\r\nexport class CtrlTemplateDirective {\r\n @Input('appCtrlTemplate') name: string;\r\n constructor(public template: TemplateRef) {}\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n date_range\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n email\r\n \r\n
\r\n {{ member.EmailAddress1 }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {{ 'edit.account.details.edit.button.text' | translate }}\r\n \r\n \r\n {{ 'edit.account.details.confirm.button.text' | translate }}\r\n \r\n
\r\n \r\n {{ 'edit.account.details.cancel.button.text' | translate }}\r\n \r\n \r\n {{ 'edit.account.details.save.button.text' | translate }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { MemberDetails, MemberQuery, MemberService } from '@fgb/core';\r\nimport { tap } from 'rxjs/operators';\r\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\r\nimport { NgbDate } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'fgb-edit-account-details',\r\n templateUrl: './edit-account-details.component.html',\r\n styleUrls: ['./edit-account-details.component.scss'],\r\n})\r\nexport class EditAccountDetailsComponent implements OnInit {\r\n member$: Observable;\r\n isInEditMode = false;\r\n portalId = '';\r\n detailsForm: UntypedFormGroup;\r\n isLoading = false;\r\n @Output() actionDone = new EventEmitter();\r\n @Input() autoEditMode = false;\r\n @Input() showEditOptions: boolean = false;\r\n maxYear: number;\r\n currentDate: number;\r\n currentMonth: number;\r\n baseData: any;\r\n\r\n constructor(private memberQuery: MemberQuery, private memberService: MemberService, private formBuilder: UntypedFormBuilder) {}\r\n\r\n ngOnInit() {\r\n this.member$ = this.memberQuery.selectMemberDetails().pipe(\r\n tap((z) => {\r\n if (z) {\r\n this.portalId = z.PortalId;\r\n const dob = this._getNgbDateFromString(z.DOB.toString());\r\n this.detailsForm = this.formBuilder.group({\r\n addressName: [z.AddressName],\r\n emailAddress: [z.EmailAddress1, Validators.email],\r\n dateOfBirth: [{ value: dob, disabled: !this.autoEditMode }],\r\n street: [z.Street],\r\n town: [z.Town],\r\n county: [z.County],\r\n country: [z.Country],\r\n postcode: [z.PostCode],\r\n firstName: [z.FirstName],\r\n surname: [z.Surname],\r\n });\r\n this.baseData = { ...this.detailsForm.value, dateOfBirth: dob };\r\n }\r\n })\r\n );\r\n\r\n this.defaultDatePickerSettings();\r\n }\r\n\r\n edit() {\r\n this.isInEditMode = true;\r\n this.detailsForm.get('dateOfBirth')?.enable();\r\n }\r\n\r\n stopEditing() {\r\n this.isInEditMode = false;\r\n this.detailsForm.patchValue(this.baseData);\r\n this.detailsForm.get('dateOfBirth')?.disable();\r\n }\r\n\r\n notInAnyEditMode() {\r\n return !this.isInEditMode && !this.autoEditMode;\r\n }\r\n\r\n anyEditMode() {\r\n return this.isInEditMode || this.autoEditMode;\r\n }\r\n\r\n disableIfFormIncomplete(): string {\r\n const formComplete: Boolean =\r\n this.detailsForm.controls.addressName.value !== '' &&\r\n this.detailsForm.controls.emailAddress.value !== '' &&\r\n this.detailsForm.controls.dateOfBirth.value !== null;\r\n const formValid: Boolean = this.detailsForm.valid;\r\n if (formComplete && formValid) {\r\n return '';\r\n } else {\r\n return 'disabled';\r\n }\r\n }\r\n\r\n save() {\r\n this.isLoading = true;\r\n let memberDetails = {\r\n PortalId: this.portalId,\r\n EmailAddress1: this.detailsForm.controls.emailAddress.value,\r\n AddressName: this.detailsForm.controls.addressName.value,\r\n DOB: this._getStringFromNgbDate(this.detailsForm.controls.dateOfBirth.value),\r\n Street: this.detailsForm.controls.street.value,\r\n Town: this.detailsForm.controls.town.value,\r\n Country: this.detailsForm.controls.country.value,\r\n County: this.detailsForm.controls.county.value,\r\n PostCode: this.detailsForm.controls.postcode.value,\r\n FirstName: this.detailsForm.controls.firstName.value,\r\n Surname: this.detailsForm.controls.surname.value,\r\n } as MemberDetails;\r\n\r\n this.memberService.updateMemberDetails(this.portalId, memberDetails);\r\n this.isInEditMode = false;\r\n this.isLoading = false;\r\n this.actionDone.emit(true);\r\n }\r\n\r\n /** Gets a date string in ISO format from an NgbDate. */\r\n private _getStringFromNgbDate(ngbDate: NgbDate) {\r\n if (ngbDate) {\r\n let date = new Date(ngbDate.year, ngbDate.month - 1, ngbDate.day, 12);\r\n date.setUTCHours(0);\r\n date.setUTCMinutes(0);\r\n date.setUTCSeconds(0);\r\n return date.toISOString();\r\n } else {\r\n return '';\r\n }\r\n }\r\n\r\n /** Gets an NgbDate from a date string. */\r\n private _getNgbDateFromString(dateString: string): NgbDate | null {\r\n if (dateString) {\r\n const date = new Date(dateString);\r\n if (date) {\r\n return new NgbDate(date.getFullYear(), date.getMonth() + 1, date.getDate());\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n /* this should be configured according\r\n * to minimum age set by club to be\r\n * able to sign up to portal.\r\n */\r\n defaultDatePickerSettings() {\r\n this.maxYear = new Date().getFullYear() - 16;\r\n this.currentDate = new Date().getDate();\r\n this.currentMonth = new Date().getMonth() + 1;\r\n }\r\n}\r\n","\r\n \r\n\r\n\r\n\r\n \r\n I Agree to the Terms and Conditions\r\n \r\n Confirm\r\n \r\n\r\n","import { AfterViewInit, Component, OnDestroy, OnInit, QueryList, ViewChildren } from '@angular/core';\r\nimport { NavigationStart, Router } from '@angular/router';\r\nimport {\r\n MemberQuery,\r\n PopUpNotificationQuery,\r\n PopUpNotificationService,\r\n config,\r\n PopUpNotificationViewModel,\r\n PopUpNotificationResponseType,\r\n PopUpWindowType,\r\n TermsAndConditionsType,\r\n} from '@fgb/core';\r\nimport { NgbModal, NgbModalOptions } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { CustomPopupComponent } from 'src/app/shared/components/custom-popup/custom-popup.component';\r\nimport { CtrlTemplateDirective } from 'src/app/shared/directives/control-template.directive';\r\nimport * as _moment from 'moment';\r\nconst moment = _moment;\r\n\r\n@Component({\r\n selector: 'fgb-popup-notification',\r\n templateUrl: './popup-notification.component.html',\r\n})\r\nexport class PopupNotificationComponent implements OnInit, AfterViewInit, OnDestroy {\r\n private isDestroyed$ = new Subject();\r\n confirmAction$ = new Subject();\r\n currentLcid: string = config.defaultLcid;\r\n popupResponse: PopUpNotificationResponseType;\r\n termsAndConditionsType = TermsAndConditionsType.General;\r\n termsAccepted = false;\r\n\r\n @ViewChildren(CtrlTemplateDirective) templateRefs: QueryList;\r\n\r\n constructor(\r\n private popupNotificationService: PopUpNotificationService,\r\n private popupNotificationQuery: PopUpNotificationQuery,\r\n private memberQuery: MemberQuery,\r\n private router: Router,\r\n private modalService: NgbModal\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.setLcidFromUserSub();\r\n this.setPopupFromNavigationSub();\r\n }\r\n\r\n ngAfterViewInit() {\r\n setTimeout(() => {\r\n this.getPopupForPage(this.router.url);\r\n }, 1000);\r\n }\r\n\r\n /** Subscribe to user changes to update Lcid accordingly*/\r\n private setLcidFromUserSub(): void {\r\n this.memberQuery.userContext$.pipe(takeUntil(this.isDestroyed$)).subscribe((user) => {\r\n if (user && user.lcid) {\r\n this.currentLcid = user.lcid;\r\n }\r\n });\r\n }\r\n\r\n /** Subscribe to navigation changes to then fetch the popup notification from url*/\r\n private setPopupFromNavigationSub(): void {\r\n this.router.events.pipe(takeUntil(this.isDestroyed$)).subscribe((event) => {\r\n if (event instanceof NavigationStart) {\r\n setTimeout(() => {\r\n this.getPopupForPage(this.router.url);\r\n }, 1000);\r\n }\r\n });\r\n }\r\n\r\n /** Get the first popup for a specific page\r\n * @param pageUrl URL of the page that should be checked for popup notifications\r\n */\r\n private getPopupForPage(pageUrl: string): void {\r\n const newPopup = this.popupNotificationQuery.getPopUpNotificationForPage(pageUrl, +this.currentLcid);\r\n\r\n if (newPopup) {\r\n if (this.popupShouldBeShownNow(newPopup)) {\r\n this.openPopUp(newPopup);\r\n }\r\n }\r\n }\r\n\r\n /** Check if the popup should be shown now, testing against start and end times\r\n * @param popup the popup Notification that is being tested\r\n */\r\n private popupShouldBeShownNow(popup: PopUpNotificationViewModel): Boolean | undefined {\r\n const noStartDateSpecified = !popup.startDate;\r\n const startDateHasPassed = popup.startDate && moment.utc(popup.startDate).local().isBefore(moment());\r\n const noEndDateSpecified = !popup.endDate;\r\n const endDateHasNotPassed = popup.endDate && moment.utc(popup.endDate).local().isAfter(moment());\r\n\r\n return (noStartDateSpecified || startDateHasPassed) && (noEndDateSpecified || endDateHasNotPassed);\r\n }\r\n\r\n /** Open modal dialog box using the Custom PopUp Component from the shared folder\r\n * @param popup The popup containing the notification data\r\n */\r\n private openPopUp(popup: PopUpNotificationViewModel): void {\r\n const modalRef = this.modalService.open(CustomPopupComponent, this.definePopupOptions(popup));\r\n modalRef.componentInstance.popupData = popup;\r\n modalRef.componentInstance.dynamicComponentRef = this.findTemplate(popup.componentName);\r\n\r\n this.confirmAction$.pipe(takeUntil(this.isDestroyed$)).subscribe((val) => {\r\n if (val) {\r\n modalRef.componentInstance.actionConfirmation$.next(true);\r\n }\r\n });\r\n\r\n modalRef.result.then((result) => {\r\n this.savePopupResponse(popup, result);\r\n });\r\n }\r\n\r\n /** Find which component needs to be displayed in the popup, depending on its componentName\r\n * @param componentName The componentName from the popup you want to display\r\n * @returns The reference of the ng-template that matches the component\r\n */\r\n private findTemplate(componentName: string): any {\r\n const templateList: any[] = this.templateRefs.toArray();\r\n\r\n let component = templateList.find((x) => x.name.toLowerCase() == componentName.toLowerCase());\r\n if (component) {\r\n return component.template;\r\n }\r\n }\r\n\r\n /** Save popup response\r\n * @param popup The popup containing the notification data\r\n * @param responseType The result returned by the modal popup\r\n */\r\n savePopupResponse(popup: PopUpNotificationViewModel, responseType: PopUpNotificationResponseType): void {\r\n this.popupNotificationService.markNotificationsAsRead(popup.popUpNotificationId, responseType);\r\n }\r\n\r\n /** Define Pop Up options depending on the notification windowType\r\n * @param popup The popup you want to configure\r\n * @returns The modal options to pass down when opening the modal window with modalService.open()\r\n * @note The classes mentionned in option.windowClass must be declared globally in styles.scss\r\n */\r\n private definePopupOptions(popup: PopUpNotificationViewModel): NgbModalOptions {\r\n let option: NgbModalOptions = {};\r\n option.backdrop = 'static';\r\n option.keyboard = false;\r\n switch (popup.windowType) {\r\n case PopUpWindowType.MessageBox: {\r\n option.size = 'lg';\r\n break;\r\n }\r\n case PopUpWindowType.ImportantMessage: {\r\n option.size = 'lg';\r\n option.windowClass = 'importantPopup';\r\n break;\r\n }\r\n }\r\n return option;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.isDestroyed$.next();\r\n this.isDestroyed$.complete();\r\n }\r\n}\r\n","import * as i0 from '@angular/core';\nimport { EventEmitter, inject, DestroyRef, Component, Optional, Self, Input, Output, ViewChild, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@angular/forms';\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { Subject, merge, map, fromEvent, debounceTime, distinctUntilChanged, scan } from 'rxjs';\nimport * as i3 from '@ngx-translate/core';\nimport { InlineSVGModule } from 'ng-inline-svg-2';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\n/**\n * This component is used to create a number input field with increment and decrement buttons, can be used in forms\n * @example\n * \n * using this as a form control in a form group is not yet tested, but it should work\n */\nclass NumberInputComponent {\n set minValue(value) {\n this._minValue = value;\n this.minimum.next(value);\n }\n ;\n set maxValue(value) {\n this._maxValue = value;\n this.maximum.next(value);\n }\n set amount(value) {\n this.innerValue = value;\n this.amountSubject.next(value);\n }\n constructor(ngControl) {\n this.ngControl = ngControl;\n this.isActive = true;\n this.limitValueToRange = true;\n this.unlimitedLimit = 100;\n this.amountChange = new EventEmitter();\n this.outOfRange = false;\n this.outOfRangeChange = new EventEmitter();\n this.showErrorMessage = true; // For the sake of backward compatibility added this input, should be removed\n // There is no point showing the error message if the input is changed dynamically to limit the value\n // Suggested to use validator instead to handle the error message(s), it is also hard to maintain the error message(s) in the parent component,\n // It's better to use this as a form control and use validator, it's hard to maintain this as ngModel, two-way binding can cause issues if not handled properly\n this.errorChange = new EventEmitter();\n this.destroyRef = inject(DestroyRef);\n this.increment = new Subject();\n this.decrement = new Subject();\n this.minimum = new Subject();\n this.maximum = new Subject();\n this.amountSubject = new Subject();\n this.showMinMessage = false;\n this.showMaxMessage = false;\n if (this.ngControl)\n this.ngControl.valueAccessor = this;\n // Set private defaults\n this._onChangeCallback = (_) => { };\n this._onTouchedCallback = () => { };\n }\n ngOnInit() {\n if (this.ngControl) {\n this.control = this.ngControl.control;\n this.control.updateValueAndValidity();\n }\n if (!this.innerValue) {\n this.amount = this.minValue;\n }\n }\n ngAfterViewInit() {\n // Merge events\n merge(\n // Input changes\n this.onMinimumChanged.pipe(map(this.minimumHandler)), this.onMaximumChanged.pipe(map(this.maximumHandler)), this.onAmountChanged.pipe(map(this.amountHandler)), \n // Event changes, button click and input event(s)\n this.onIncrementChanged.pipe(map(this.incrementHandler)), this.onDecrementChanged.pipe(map(this.decrementHandler)), fromEvent(this.inputText.nativeElement, 'input')\n .pipe(map(this.inputHandler), debounceTime(300), distinctUntilChanged())).pipe(\n // Run event function and validate the amount\n scan((state, eventFn) => this.validateAmountHandler(eventFn(state)), { value: this.innerValue, min: this.minValue, max: this.maxValue }), takeUntilDestroyed(this.destroyRef)).subscribe((data) => {\n this.writeValue(data.value);\n });\n }\n /** Validate range */\n validateAmountHandler(state) {\n this.setDefaults();\n this.errorChange.emit('');\n // If limit then max is set to 0, set the value to 1\n if (this.limitValueToRange && this.maxValue === 0) {\n return { ...state, value: 1 };\n }\n if (this.limitValueToRange === undefined && state.value > state.max) {\n this.showMaxMessage = true;\n this.errorChange.emit(this.maxMessage);\n }\n if (state.value < state.min) {\n this.showMinMessage = true;\n this.errorChange.emit(this.minMessage);\n return { ...state, value: state.min };\n }\n else if (this.limitValueToRange && state.value > state.max) {\n this.showMaxMessage = true;\n this.errorChange.emit(this.maxMessage);\n return { ...state, value: state.max };\n }\n else if (this.limitValueToRange === false) {\n // There is a max value set for unlimited item, should be handled in the api\n // currently set to 100 as default\n if (state.value > this.unlimitedLimit) {\n return { ...state, value: this.unlimitedLimit };\n }\n }\n return { ...state, value: state.value };\n }\n /**\n * Set defaults to false\n */\n setDefaults() {\n this.showMaxMessage = false;\n this.showMinMessage = false;\n }\n /**\n * Handles the input event\n */\n inputHandler(event) {\n return (state) => ({ ...state, value: +event.target.value || 1 });\n }\n /**\n * Handles the amount event\n */\n amountHandler(event) {\n return (state) => ({ ...state, value: event === 0 ? 1 : event });\n }\n /**\n * Handles increment event, increment by the increment value\n */\n incrementHandler(incrementValue) {\n return (state) => ({ ...state, value: state.value + incrementValue });\n }\n /**\n * Handles decrement event, decrement by the increment value\n */\n decrementHandler(incrementValue) {\n return (state) => ({ ...state, value: state.value - incrementValue });\n }\n /**\n * Maximum @Input event handler\n */\n maximumHandler(max) {\n return (state) => ({ ...state, max });\n }\n /**\n * Minimum @Input event handler\n */\n minimumHandler(min) {\n return (state) => ({ ...state, min });\n }\n get onIncrementChanged() {\n return this.increment.asObservable();\n }\n get onDecrementChanged() {\n return this.decrement.asObservable();\n }\n get onMinimumChanged() {\n return this.minimum.asObservable();\n }\n get onMaximumChanged() {\n return this.maximum.asObservable();\n }\n get onAmountChanged() {\n return this.amountSubject.asObservable();\n }\n get maxValue() {\n return this._maxValue;\n }\n get minValue() {\n return this._minValue;\n }\n writeValue(value) {\n this.innerValue = value;\n this._updateValue();\n }\n /**\n * Update the value of the input\n */\n _updateValue() {\n // Update the amount value\n this._onChangeCallback(this.innerValue);\n // Mark the control as touched\n this._onTouchedCallback();\n // Notify the parent component of the change\n this.amountChange.emit(this.innerValue);\n const isNumberOutOfRange = this.innerValue < this.minValue || this.innerValue > this.maxValue;\n this.outOfRangeChange.emit(isNumberOutOfRange);\n }\n /**\n * Register on change function\n */\n registerOnChange(fn) {\n this._onChangeCallback = fn;\n }\n /**\n * Register on touched function\n */\n registerOnTouched(fn) {\n this._onTouchedCallback = fn;\n }\n /** Prevents using decimal in the number input */\n onNumberKeydown(event) {\n if (event.key === '.')\n event.preventDefault();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NumberInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: NumberInputComponent, selector: \"fgbcl-number-input\", inputs: { isActive: \"isActive\", minMessage: \"minMessage\", maxMessage: \"maxMessage\", theme: \"theme\", incrementValue: \"incrementValue\", limitValueToRange: \"limitValueToRange\", unlimitedLimit: \"unlimitedLimit\", minValue: \"minValue\", maxValue: \"maxValue\", amount: \"amount\", outOfRange: \"outOfRange\", showErrorMessage: \"showErrorMessage\" }, outputs: { amountChange: \"amountChange\", outOfRangeChange: \"outOfRangeChange\", errorChange: \"errorChange\" }, viewQueries: [{ propertyName: \"inputText\", first: true, predicate: [\"input\"], descendants: true }], ngImport: i0, template: \"
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n remove \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n = maxValue) || !isActive || control?.disabled\\r\\n \\\"\\r\\n >\\r\\n add \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n

* {{ minMessage }}

\\r\\n

* {{ maxMessage }}

\\r\\n
\\r\\n\", styles: [\":host{width:100%}input[type=number]{appearance:textfield;-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.quantity-select-container{width:142px}.quantity-select-container .quantity{display:flex;position:relative}.amount-input{border-radius:5px;display:inline;padding:7px 0;background:#f4f4f5;border:0;margin:0!important;text-align:center}.btn,.form-group{margin-bottom:0}.error{font-size:12px;color:red;margin-bottom:0}.form-control{height:34px}.number-input-increment-button,.number-input-decrement-button{position:absolute;font-weight:700;width:34px;height:34px;border-radius:50%;background:#fff}.number-input-increment-button:disabled,.number-input-decrement-button:disabled{background:transparent}.number-input-increment-button{right:4px}.number-input-decrement-button{left:4px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NumberValueAccessor, selector: \"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.MinValidator, selector: \"input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]\", inputs: [\"min\"] }, { kind: \"directive\", type: i1.MaxValidator, selector: \"input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]\", inputs: [\"max\"] }, { kind: \"directive\", type: i1.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"pipe\", type: i3.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NumberInputComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-number-input', template: \"
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n remove \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n = maxValue) || !isActive || control?.disabled\\r\\n \\\"\\r\\n >\\r\\n add \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n

* {{ minMessage }}

\\r\\n

* {{ maxMessage }}

\\r\\n
\\r\\n\", styles: [\":host{width:100%}input[type=number]{appearance:textfield;-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.quantity-select-container{width:142px}.quantity-select-container .quantity{display:flex;position:relative}.amount-input{border-radius:5px;display:inline;padding:7px 0;background:#f4f4f5;border:0;margin:0!important;text-align:center}.btn,.form-group{margin-bottom:0}.error{font-size:12px;color:red;margin-bottom:0}.form-control{height:34px}.number-input-increment-button,.number-input-decrement-button{position:absolute;font-weight:700;width:34px;height:34px;border-radius:50%;background:#fff}.number-input-increment-button:disabled,.number-input-decrement-button:disabled{background:transparent}.number-input-increment-button{right:4px}.number-input-decrement-button{left:4px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{\n type: Optional\n }, {\n type: Self\n }] }], propDecorators: { isActive: [{\n type: Input\n }], minMessage: [{\n type: Input\n }], maxMessage: [{\n type: Input\n }], theme: [{\n type: Input\n }], incrementValue: [{\n type: Input\n }], limitValueToRange: [{\n type: Input\n }], unlimitedLimit: [{\n type: Input\n }], minValue: [{\n type: Input\n }], maxValue: [{\n type: Input\n }], amount: [{\n type: Input\n }], amountChange: [{\n type: Output\n }], outOfRange: [{\n type: Input\n }], inputText: [{\n type: ViewChild,\n args: ['input']\n }], outOfRangeChange: [{\n type: Output\n }], showErrorMessage: [{\n type: Input\n }], errorChange: [{\n type: Output\n }] } });\n\nclass NumberInputModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: NumberInputModule, declarations: [NumberInputComponent], imports: [CommonModule,\n ReactiveFormsModule,\n FormsModule,\n InlineSVGModule,\n FGBSharedModule], exports: [NumberInputComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NumberInputModule, imports: [CommonModule,\n ReactiveFormsModule,\n FormsModule,\n InlineSVGModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NumberInputModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [NumberInputComponent],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormsModule,\n InlineSVGModule,\n FGBSharedModule\n ],\n exports: [NumberInputComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NumberInputComponent, NumberInputModule };\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport * as i1 from '@fgb/core';\nimport * as i2 from '@angular/router';\nimport { RouterModule } from '@angular/router';\nimport * as i4 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i5 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { NumberInputModule } from '@fgb/portal-component-library/src/lib/shared/number-input';\n\nclass CartItemComponent {\n constructor(cartQuery, cartService, router, marketplaceQuery) {\n this.cartQuery = cartQuery;\n this.cartService = cartService;\n this.router = router;\n this.marketplaceQuery = marketplaceQuery;\n this.destroyed$ = new Subject();\n }\n ngOnInit() {\n this.items$ = this.cartQuery.selectAllMarketplaceCartData();\n this.totalItems$ = this.cartQuery.updateTotalItems();\n this.basketPointsTotal$ = this.cartQuery.updateBasketPointsTotal();\n this.marketplaceQuery\n .selectMarketplaceItems()\n .pipe(takeUntil(this.destroyed$))\n .subscribe((marketplaceItems) => (this.marketplaceItems = marketplaceItems));\n }\n remove(itemToRemove) {\n this.cartService.remove(itemToRemove.id);\n }\n redirectToDetail(id) {\n return this.router.navigateByUrl(`/rewards/marketplace/details/${id}`);\n }\n updateCartItemValue(cartItem, quantity) {\n this.cartService.addMarketplaceItemToCart(cartItem.productData, quantity, cartItem.attributes, cartItem.customFields, true);\n }\n // if purchaseMarketplaceItemsInCart in cartService has an error, selectMarketplaceItems will fetch agian to check real stock quantity\n checkQuantityOfCartItem(cartItem) {\n const product = cartItem.productData;\n let marketplaceItem = this.marketplaceItems?.find((mpi) => mpi.Id === product.Id);\n this.marketplaceItemCount = marketplaceItem?.AvailabilityCount || 0;\n return cartItem.purchaseQuantity > this.marketplaceItemCount ? 'marketplace.item.count.left' : '';\n }\n identify(index, cart) {\n return cart.id;\n }\n ngOnDestroy() {\n this.destroyed$.next();\n this.destroyed$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CartItemComponent, deps: [{ token: i1.CartQuery }, { token: i1.CartService }, { token: i2.Router }, { token: i1.MarketplaceQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CartItemComponent, selector: \"fgbcl-cart-item\", inputs: { isCheckoutPage: \"isCheckoutPage\" }, ngImport: i0, template: \"\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n

\\r\\n {{ item.productData.DisplayName }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{ attribute.AttributeName }}: {{ attribute.ValueName }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ customField.customFieldName }}: {{ customField.customFieldValue }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n

{{'cart.quantity' | translate }}

\\r\\n

{{ item.purchaseQuantity }}

\\r\\n
\\r\\n \\r\\n {{ item.purchaseQuantity }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'cart.merchantPoint' | translate }} \\r\\n ${{ ((item.purchaseQuantity * item.productData.MerchantValue) / 100).toFixed(2) }}\\r\\n \\r\\n \\r\\n {{ 'cart.points' | translate }} \\r\\n {{ item.purchaseQuantity * item.productData.PointValue | number }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ checkQuantityOfCartItem(item) | translate : { marketplaceItemCount: marketplaceItemCount } }}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n

{{ 'cart.empty.basket' | translate }}

\\r\\n
\\r\\n
\\r\\n\", styles: [\"img{width:58px;height:58px}.btn-cross{right:0;top:50%;transform:translateY(-50%)}.cart-item fgbcl-number-input::ng-deep .quantity-select-container{width:90px}.cart-item fgbcl-number-input::ng-deep .quantity-select-container input{height:28px}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.DecimalPipe, name: \"number\" }, { kind: \"pipe\", type: i4.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i5.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CartItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-cart-item', template: \"\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n

\\r\\n {{ item.productData.DisplayName }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{ attribute.AttributeName }}: {{ attribute.ValueName }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ customField.customFieldName }}: {{ customField.customFieldValue }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n

{{'cart.quantity' | translate }}

\\r\\n

{{ item.purchaseQuantity }}

\\r\\n
\\r\\n \\r\\n {{ item.purchaseQuantity }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'cart.merchantPoint' | translate }} \\r\\n ${{ ((item.purchaseQuantity * item.productData.MerchantValue) / 100).toFixed(2) }}\\r\\n \\r\\n \\r\\n {{ 'cart.points' | translate }} \\r\\n {{ item.purchaseQuantity * item.productData.PointValue | number }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ checkQuantityOfCartItem(item) | translate : { marketplaceItemCount: marketplaceItemCount } }}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n

{{ 'cart.empty.basket' | translate }}

\\r\\n
\\r\\n
\\r\\n\", styles: [\"img{width:58px;height:58px}.btn-cross{right:0;top:50%;transform:translateY(-50%)}.cart-item fgbcl-number-input::ng-deep .quantity-select-container{width:90px}.cart-item fgbcl-number-input::ng-deep .quantity-select-container input{height:28px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.CartQuery }, { type: i1.CartService }, { type: i2.Router }, { type: i1.MarketplaceQuery }], propDecorators: { isCheckoutPage: [{\n type: Input\n }] } });\n\nclass CartItemModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CartItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: CartItemModule, declarations: [CartItemComponent], imports: [CommonModule,\n PipesModule,\n RouterModule,\n NumberInputModule,\n FGBSharedModule], exports: [CartItemComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CartItemModule, imports: [CommonModule,\n PipesModule,\n RouterModule,\n NumberInputModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CartItemModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [CartItemComponent],\n imports: [\n CommonModule,\n PipesModule,\n RouterModule,\n NumberInputModule,\n FGBSharedModule\n ],\n exports: [CartItemComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CartItemComponent, CartItemModule };\n","import * as i0 from '@angular/core';\nimport { Component, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport * as i2 from '@ng-bootstrap/ng-bootstrap';\nimport * as i4 from '@angular/router';\nimport { RouterModule } from '@angular/router';\nimport * as i5 from '@fgb/portal-component-library/src/lib/loyalty/cart-item';\nimport { CartItemModule } from '@fgb/portal-component-library/src/lib/loyalty/cart-item';\nimport * as i6 from '@fgb/portal-component-library/src/lib/directives';\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i7 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass CartModalComponent {\n constructor(cartQuery, activeModal) {\n this.cartQuery = cartQuery;\n this.activeModal = activeModal;\n }\n ngOnInit() {\n this.totalItems$ = this.cartQuery.updateTotalItems();\n this.basketPointsTotal$ = this.cartQuery.updateBasketPointsTotal();\n this.items$ = this.cartQuery.selectAllMarketplaceCartData();\n }\n closeCartModal() {\n this.activeModal.close();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CartModalComponent, deps: [{ token: i1.CartQuery }, { token: i2.NgbActiveModal }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CartModalComponent, selector: \"fgbcl-cart-modal\", ngImport: i0, template: \"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ totalItems }} ITEM 1\\\">S IN BASKET\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n close\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'cart.modal.points' | translate }} \\r\\n {{ basketPointsTotal$ | async | number }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n 0 {{ 'cart.modal.items.basket' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n close\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ 'cart.modal.empty.basket' | translate }}

\\r\\n
\\r\\n
\\r\\n\", styles: [\".dropdown-checkout-btn{width:142px!important}.items-count{height:34px;align-items:center}.cart-modal{max-height:530px;overflow:hidden auto}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i4.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"directive\", type: i4.RouterLinkActive, selector: \"[routerLinkActive]\", inputs: [\"routerLinkActiveOptions\", \"ariaCurrentWhenActive\", \"routerLinkActive\"], outputs: [\"isActiveChange\"], exportAs: [\"routerLinkActive\"] }, { kind: \"component\", type: i5.CartItemComponent, selector: \"fgbcl-cart-item\", inputs: [\"isCheckoutPage\"] }, { kind: \"directive\", type: i6.NgSubscribeDirective, selector: \"[ngSubscribe]\", inputs: [\"ngSubscribe\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.DecimalPipe, name: \"number\" }, { kind: \"pipe\", type: i7.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CartModalComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-cart-modal', template: \"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ totalItems }} ITEM 1\\\">S IN BASKET\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n close\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'cart.modal.points' | translate }} \\r\\n {{ basketPointsTotal$ | async | number }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n 0 {{ 'cart.modal.items.basket' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n close\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ 'cart.modal.empty.basket' | translate }}

\\r\\n
\\r\\n
\\r\\n\", styles: [\".dropdown-checkout-btn{width:142px!important}.items-count{height:34px;align-items:center}.cart-modal{max-height:530px;overflow:hidden auto}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.CartQuery }, { type: i2.NgbActiveModal }] });\n\nclass CartModalModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CartModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: CartModalModule, declarations: [CartModalComponent], imports: [CommonModule,\n RouterModule,\n CartItemModule,\n DirectivesModule,\n FGBSharedModule], exports: [CartModalComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CartModalModule, imports: [CommonModule,\n RouterModule,\n CartItemModule,\n DirectivesModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CartModalModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [CartModalComponent],\n imports: [\n CommonModule,\n RouterModule,\n CartItemModule,\n DirectivesModule,\n FGBSharedModule\n ],\n exports: [CartModalComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CartModalComponent, CartModalModule };\n","
\r\n \r\n \r\n
\r\n {{ totalItems }}\r\n
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { CartQuery } from '@fgb/core';\r\nimport { CartModalComponent } from '@fgb/portal-component-library/src/lib/loyalty/cart-item/cart-modal';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-floating-cart-button',\r\n templateUrl: './floating-cart-button.component.html',\r\n styleUrls: ['./floating-cart-button.component.scss'],\r\n})\r\nexport class FloatingCartButtonComponent implements OnInit {\r\n isFooterInViewport = false;\r\n footerHeight = '20px';\r\n totalItems$: Observable;\r\n constructor(private cartQuery: CartQuery, private modalService: NgbModal) {}\r\n\r\n ngOnInit() {\r\n this.totalItems$ = this.cartQuery.updateTotalItems();\r\n }\r\n\r\n openCartModal() {\r\n this.modalService.open(CartModalComponent, { windowClass: 'mt-5' });\r\n }\r\n}\r\n","\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n","import { Component, DestroyRef, OnInit, inject } from '@angular/core';\r\nimport { LoggingService, NotificationCenterService, PortalProductsService, SignalRHub } from '@fgb/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { NavigationService, NavigationSettings } from '@fgb/portal-component-library/src/lib/shared/services';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { ThemeService } from 'src/app/shared/services/theme.service';\r\n\r\n@Component({\r\n selector: 'fgb-master-page',\r\n templateUrl: './master-page.component.html',\r\n styleUrls: ['./master-page.component.scss'],\r\n})\r\nexport class MasterPageComponent implements OnInit {\r\n private _destroyRef = inject(DestroyRef);\r\n screenType = ScreenType;\r\n navigationSettings: NavigationSettings;\r\n\r\n constructor(\r\n private signalRHub: SignalRHub,\r\n private logService: LoggingService,\r\n private notificationCenterService: NotificationCenterService,\r\n private portalProductsService: PortalProductsService,\r\n private theme: ThemeService,\r\n private navigationService: NavigationService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.signalRHub.connectionEstablished$.pipe(takeUntilDestroyed(this._destroyRef)).subscribe((connection) => {\r\n this.logService.debug('SignalR connection', connection);\r\n });\r\n this.notificationCenterService.fetchNotificationCenter(5).pipe(takeUntilDestroyed(this._destroyRef)).subscribe();\r\n this.portalProductsService.fetchPortalProducts().pipe(takeUntilDestroyed(this._destroyRef)).subscribe();\r\n this.theme.initColorMode();\r\n \r\n // Subscribe to navigation changes\r\n this.navigationService.onNavigationChanged\r\n .pipe(\r\n takeUntilDestroyed(this._destroyRef)\r\n ).subscribe((navigationSettings) => {\r\n this.navigationSettings = navigationSettings;\r\n });\r\n }\r\n\r\n}\r\n\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@ngx-translate/core';\nimport * as i3 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\n\nclass ShortLongDescriptionComponent {\n constructor(translate) {\n this.translate = translate;\n this.descriptionLength = 160;\n this.descriptionLengthMobile = 80;\n this.isMobileSize = false;\n this.isShowingFull = false;\n this.isShowingToggleButton = false;\n }\n ngOnChanges(changes) {\n if (changes) {\n this.handleDescription();\n }\n }\n handleDescription() {\n const MOBILE_SCREEN_SIZE_L = 425;\n this.isMobileSize = window.innerWidth <= MOBILE_SCREEN_SIZE_L;\n // ** Mobile size implementation\n if (this.isMobileSize && this.descriptionLengthMobile) {\n if (this.descriptionLengthMobile) {\n this.descriptionLengthByScreenSize = this.descriptionLengthMobile;\n }\n }\n // ** Desktop size implementation\n else {\n this.descriptionLengthByScreenSize = this.descriptionLength;\n }\n // ** Toggle button implementation\n if (this.descriptionLengthByScreenSize < this.description?.length) {\n this.isShowingToggleButton = true;\n }\n }\n toggleDisplayingOption() {\n this.isShowingFull = !this.isShowingFull;\n }\n get toggleButtonContent() {\n return this.translate.instant(`long.short.description.show.${this.isShowingFull ? 'less' : 'more'}.button`);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ShortLongDescriptionComponent, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ShortLongDescriptionComponent, selector: \"fgbcl-short-long-description\", inputs: { description: \"description\", descriptionLength: \"descriptionLength\", descriptionLengthMobile: \"descriptionLengthMobile\" }, usesOnChanges: true, ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n {{ toggleButtonContent }}\\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i3.SafeHtmlPipe, name: \"safeHtml\" }, { kind: \"pipe\", type: i3.TruncatePipe, name: \"truncate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ShortLongDescriptionComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-short-long-description', template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n {{ toggleButtonContent }}\\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.TranslateService }], propDecorators: { description: [{\n type: Input\n }], descriptionLength: [{\n type: Input\n }], descriptionLengthMobile: [{\n type: Input\n }] } });\n\nclass ShortLongDescriptionModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ShortLongDescriptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: ShortLongDescriptionModule, declarations: [ShortLongDescriptionComponent], imports: [CommonModule, PipesModule], exports: [ShortLongDescriptionComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ShortLongDescriptionModule, imports: [CommonModule, PipesModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ShortLongDescriptionModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [ShortLongDescriptionComponent],\n imports: [CommonModule, PipesModule],\n exports: [ShortLongDescriptionComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ShortLongDescriptionComponent, ShortLongDescriptionModule };\n","var ScorecardCategoryPunchcardView;\n(function (ScorecardCategoryPunchcardView) {\n /**\n * These is used for the different\n * views related to the punchcard\n * scorecard view.\n */\n /** Default view */\n ScorecardCategoryPunchcardView[ScorecardCategoryPunchcardView[\"defaultView\"] = 0] = \"defaultView\";\n /** Punch view should have description on the card */\n ScorecardCategoryPunchcardView[ScorecardCategoryPunchcardView[\"descriptionOnCardView\"] = 1] = \"descriptionOnCardView\";\n /** All punches should have no name shown on the card */\n ScorecardCategoryPunchcardView[ScorecardCategoryPunchcardView[\"noActionNamesView\"] = 2] = \"noActionNamesView\";\n /** Punch View for only one punch */\n ScorecardCategoryPunchcardView[ScorecardCategoryPunchcardView[\"onePunchView\"] = 3] = \"onePunchView\";\n})(ScorecardCategoryPunchcardView || (ScorecardCategoryPunchcardView = {}));\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ScorecardCategoryPunchcardView };\n","// canvas-confetti v1.9.0 built on 2023-10-05T21:53:03.203Z\nvar module = {};\n\n// source content\n(function main(global, module, isWorker, workerSize) {\n var canUseWorker = !!(\n global.Worker &&\n global.Blob &&\n global.Promise &&\n global.OffscreenCanvas &&\n global.OffscreenCanvasRenderingContext2D &&\n global.HTMLCanvasElement &&\n global.HTMLCanvasElement.prototype.transferControlToOffscreen &&\n global.URL &&\n global.URL.createObjectURL);\n\n var canUsePaths = typeof Path2D === 'function' && typeof DOMMatrix === 'function';\n\n function noop() {}\n\n // create a promise if it exists, otherwise, just\n // call the function directly\n function promise(func) {\n var ModulePromise = module.exports.Promise;\n var Prom = ModulePromise !== void 0 ? ModulePromise : global.Promise;\n\n if (typeof Prom === 'function') {\n return new Prom(func);\n }\n\n func(noop, noop);\n\n return null;\n }\n\n var raf = (function () {\n var TIME = Math.floor(1000 / 60);\n var frame, cancel;\n var frames = {};\n var lastFrameTime = 0;\n\n if (typeof requestAnimationFrame === 'function' && typeof cancelAnimationFrame === 'function') {\n frame = function (cb) {\n var id = Math.random();\n\n frames[id] = requestAnimationFrame(function onFrame(time) {\n if (lastFrameTime === time || lastFrameTime + TIME - 1 < time) {\n lastFrameTime = time;\n delete frames[id];\n\n cb();\n } else {\n frames[id] = requestAnimationFrame(onFrame);\n }\n });\n\n return id;\n };\n cancel = function (id) {\n if (frames[id]) {\n cancelAnimationFrame(frames[id]);\n }\n };\n } else {\n frame = function (cb) {\n return setTimeout(cb, TIME);\n };\n cancel = function (timer) {\n return clearTimeout(timer);\n };\n }\n\n return { frame: frame, cancel: cancel };\n }());\n\n var getWorker = (function () {\n var worker;\n var prom;\n var resolves = {};\n\n function decorate(worker) {\n function execute(options, callback) {\n worker.postMessage({ options: options || {}, callback: callback });\n }\n worker.init = function initWorker(canvas) {\n var offscreen = canvas.transferControlToOffscreen();\n worker.postMessage({ canvas: offscreen }, [offscreen]);\n };\n\n worker.fire = function fireWorker(options, size, done) {\n if (prom) {\n execute(options, null);\n return prom;\n }\n\n var id = Math.random().toString(36).slice(2);\n\n prom = promise(function (resolve) {\n function workerDone(msg) {\n if (msg.data.callback !== id) {\n return;\n }\n\n delete resolves[id];\n worker.removeEventListener('message', workerDone);\n\n prom = null;\n done();\n resolve();\n }\n\n worker.addEventListener('message', workerDone);\n execute(options, id);\n\n resolves[id] = workerDone.bind(null, { data: { callback: id }});\n });\n\n return prom;\n };\n\n worker.reset = function resetWorker() {\n worker.postMessage({ reset: true });\n\n for (var id in resolves) {\n resolves[id]();\n delete resolves[id];\n }\n };\n }\n\n return function () {\n if (worker) {\n return worker;\n }\n\n if (!isWorker && canUseWorker) {\n var code = [\n 'var CONFETTI, SIZE = {}, module = {};',\n '(' + main.toString() + ')(this, module, true, SIZE);',\n 'onmessage = function(msg) {',\n ' if (msg.data.options) {',\n ' CONFETTI(msg.data.options).then(function () {',\n ' if (msg.data.callback) {',\n ' postMessage({ callback: msg.data.callback });',\n ' }',\n ' });',\n ' } else if (msg.data.reset) {',\n ' CONFETTI && CONFETTI.reset();',\n ' } else if (msg.data.resize) {',\n ' SIZE.width = msg.data.resize.width;',\n ' SIZE.height = msg.data.resize.height;',\n ' } else if (msg.data.canvas) {',\n ' SIZE.width = msg.data.canvas.width;',\n ' SIZE.height = msg.data.canvas.height;',\n ' CONFETTI = module.exports.create(msg.data.canvas);',\n ' }',\n '}',\n ].join('\\n');\n try {\n worker = new Worker(URL.createObjectURL(new Blob([code])));\n } catch (e) {\n // eslint-disable-next-line no-console\n typeof console !== undefined && typeof console.warn === 'function' ? console.warn('🎊 Could not load worker', e) : null;\n\n return null;\n }\n\n decorate(worker);\n }\n\n return worker;\n };\n })();\n\n var defaults = {\n particleCount: 50,\n angle: 90,\n spread: 45,\n startVelocity: 45,\n decay: 0.9,\n gravity: 1,\n drift: 0,\n ticks: 200,\n x: 0.5,\n y: 0.5,\n shapes: ['square', 'circle'],\n zIndex: 100,\n colors: [\n '#26ccff',\n '#a25afd',\n '#ff5e7e',\n '#88ff5a',\n '#fcff42',\n '#ffa62d',\n '#ff36ff'\n ],\n // probably should be true, but back-compat\n disableForReducedMotion: false,\n scalar: 1\n };\n\n function convert(val, transform) {\n return transform ? transform(val) : val;\n }\n\n function isOk(val) {\n return !(val === null || val === undefined);\n }\n\n function prop(options, name, transform) {\n return convert(\n options && isOk(options[name]) ? options[name] : defaults[name],\n transform\n );\n }\n\n function onlyPositiveInt(number){\n return number < 0 ? 0 : Math.floor(number);\n }\n\n function randomInt(min, max) {\n // [min, max)\n return Math.floor(Math.random() * (max - min)) + min;\n }\n\n function toDecimal(str) {\n return parseInt(str, 16);\n }\n\n function colorsToRgb(colors) {\n return colors.map(hexToRgb);\n }\n\n function hexToRgb(str) {\n var val = String(str).replace(/[^0-9a-f]/gi, '');\n\n if (val.length < 6) {\n val = val[0]+val[0]+val[1]+val[1]+val[2]+val[2];\n }\n\n return {\n r: toDecimal(val.substring(0,2)),\n g: toDecimal(val.substring(2,4)),\n b: toDecimal(val.substring(4,6))\n };\n }\n\n function getOrigin(options) {\n var origin = prop(options, 'origin', Object);\n origin.x = prop(origin, 'x', Number);\n origin.y = prop(origin, 'y', Number);\n\n return origin;\n }\n\n function setCanvasWindowSize(canvas) {\n canvas.width = document.documentElement.clientWidth;\n canvas.height = document.documentElement.clientHeight;\n }\n\n function setCanvasRectSize(canvas) {\n var rect = canvas.getBoundingClientRect();\n canvas.width = rect.width;\n canvas.height = rect.height;\n }\n\n function getCanvas(zIndex) {\n var canvas = document.createElement('canvas');\n\n canvas.style.position = 'fixed';\n canvas.style.top = '0px';\n canvas.style.left = '0px';\n canvas.style.pointerEvents = 'none';\n canvas.style.zIndex = zIndex;\n\n return canvas;\n }\n\n function ellipse(context, x, y, radiusX, radiusY, rotation, startAngle, endAngle, antiClockwise) {\n context.save();\n context.translate(x, y);\n context.rotate(rotation);\n context.scale(radiusX, radiusY);\n context.arc(0, 0, 1, startAngle, endAngle, antiClockwise);\n context.restore();\n }\n\n function randomPhysics(opts) {\n var radAngle = opts.angle * (Math.PI / 180);\n var radSpread = opts.spread * (Math.PI / 180);\n\n return {\n x: opts.x,\n y: opts.y,\n wobble: Math.random() * 10,\n wobbleSpeed: Math.min(0.11, Math.random() * 0.1 + 0.05),\n velocity: (opts.startVelocity * 0.5) + (Math.random() * opts.startVelocity),\n angle2D: -radAngle + ((0.5 * radSpread) - (Math.random() * radSpread)),\n tiltAngle: (Math.random() * (0.75 - 0.25) + 0.25) * Math.PI,\n color: opts.color,\n shape: opts.shape,\n tick: 0,\n totalTicks: opts.ticks,\n decay: opts.decay,\n drift: opts.drift,\n random: Math.random() + 2,\n tiltSin: 0,\n tiltCos: 0,\n wobbleX: 0,\n wobbleY: 0,\n gravity: opts.gravity * 3,\n ovalScalar: 0.6,\n scalar: opts.scalar,\n flat: opts.flat\n };\n }\n\n function updateFetti(context, fetti) {\n fetti.x += Math.cos(fetti.angle2D) * fetti.velocity + fetti.drift;\n fetti.y += Math.sin(fetti.angle2D) * fetti.velocity + fetti.gravity;\n fetti.velocity *= fetti.decay;\n\n if (fetti.flat) {\n fetti.wobble = 0;\n fetti.wobbleX = fetti.x + (10 * fetti.scalar);\n fetti.wobbleY = fetti.y + (10 * fetti.scalar);\n\n fetti.tiltSin = 0;\n fetti.tiltCos = 0;\n fetti.random = 1;\n } else {\n fetti.wobble += fetti.wobbleSpeed;\n fetti.wobbleX = fetti.x + ((10 * fetti.scalar) * Math.cos(fetti.wobble));\n fetti.wobbleY = fetti.y + ((10 * fetti.scalar) * Math.sin(fetti.wobble));\n\n fetti.tiltAngle += 0.1;\n fetti.tiltSin = Math.sin(fetti.tiltAngle);\n fetti.tiltCos = Math.cos(fetti.tiltAngle);\n fetti.random = Math.random() + 2;\n }\n\n var progress = (fetti.tick++) / fetti.totalTicks;\n\n var x1 = fetti.x + (fetti.random * fetti.tiltCos);\n var y1 = fetti.y + (fetti.random * fetti.tiltSin);\n var x2 = fetti.wobbleX + (fetti.random * fetti.tiltCos);\n var y2 = fetti.wobbleY + (fetti.random * fetti.tiltSin);\n\n context.fillStyle = 'rgba(' + fetti.color.r + ', ' + fetti.color.g + ', ' + fetti.color.b + ', ' + (1 - progress) + ')';\n\n context.beginPath();\n\n if (canUsePaths && fetti.shape.type === 'path' && typeof fetti.shape.path === 'string' && Array.isArray(fetti.shape.matrix)) {\n context.fill(transformPath2D(\n fetti.shape.path,\n fetti.shape.matrix,\n fetti.x,\n fetti.y,\n Math.abs(x2 - x1) * 0.1,\n Math.abs(y2 - y1) * 0.1,\n Math.PI / 10 * fetti.wobble\n ));\n } else if (fetti.shape.type === 'bitmap') {\n var rotation = Math.PI / 10 * fetti.wobble;\n var scaleX = Math.abs(x2 - x1) * 0.1;\n var scaleY = Math.abs(y2 - y1) * 0.1;\n var width = fetti.shape.bitmap.width * fetti.scalar;\n var height = fetti.shape.bitmap.height * fetti.scalar;\n\n var matrix = new DOMMatrix([\n Math.cos(rotation) * scaleX,\n Math.sin(rotation) * scaleX,\n -Math.sin(rotation) * scaleY,\n Math.cos(rotation) * scaleY,\n fetti.x,\n fetti.y\n ]);\n\n // apply the transform matrix from the confetti shape\n matrix.multiplySelf(new DOMMatrix(fetti.shape.matrix));\n\n var pattern = context.createPattern(fetti.shape.bitmap, 'no-repeat');\n pattern.setTransform(matrix);\n\n context.globalAlpha = (1 - progress);\n context.fillStyle = pattern;\n context.fillRect(\n fetti.x - (width / 2),\n fetti.y - (height / 2),\n width,\n height\n );\n context.globalAlpha = 1;\n } else if (fetti.shape === 'circle') {\n context.ellipse ?\n context.ellipse(fetti.x, fetti.y, Math.abs(x2 - x1) * fetti.ovalScalar, Math.abs(y2 - y1) * fetti.ovalScalar, Math.PI / 10 * fetti.wobble, 0, 2 * Math.PI) :\n ellipse(context, fetti.x, fetti.y, Math.abs(x2 - x1) * fetti.ovalScalar, Math.abs(y2 - y1) * fetti.ovalScalar, Math.PI / 10 * fetti.wobble, 0, 2 * Math.PI);\n } else if (fetti.shape === 'star') {\n var rot = Math.PI / 2 * 3;\n var innerRadius = 4 * fetti.scalar;\n var outerRadius = 8 * fetti.scalar;\n var x = fetti.x;\n var y = fetti.y;\n var spikes = 5;\n var step = Math.PI / spikes;\n\n while (spikes--) {\n x = fetti.x + Math.cos(rot) * outerRadius;\n y = fetti.y + Math.sin(rot) * outerRadius;\n context.lineTo(x, y);\n rot += step;\n\n x = fetti.x + Math.cos(rot) * innerRadius;\n y = fetti.y + Math.sin(rot) * innerRadius;\n context.lineTo(x, y);\n rot += step;\n }\n } else {\n context.moveTo(Math.floor(fetti.x), Math.floor(fetti.y));\n context.lineTo(Math.floor(fetti.wobbleX), Math.floor(y1));\n context.lineTo(Math.floor(x2), Math.floor(y2));\n context.lineTo(Math.floor(x1), Math.floor(fetti.wobbleY));\n }\n\n context.closePath();\n context.fill();\n\n return fetti.tick < fetti.totalTicks;\n }\n\n function animate(canvas, fettis, resizer, size, done) {\n var animatingFettis = fettis.slice();\n var context = canvas.getContext('2d');\n var animationFrame;\n var destroy;\n\n var prom = promise(function (resolve) {\n function onDone() {\n animationFrame = destroy = null;\n\n context.clearRect(0, 0, size.width, size.height);\n\n done();\n resolve();\n }\n\n function update() {\n if (isWorker && !(size.width === workerSize.width && size.height === workerSize.height)) {\n size.width = canvas.width = workerSize.width;\n size.height = canvas.height = workerSize.height;\n }\n\n if (!size.width && !size.height) {\n resizer(canvas);\n size.width = canvas.width;\n size.height = canvas.height;\n }\n\n context.clearRect(0, 0, size.width, size.height);\n\n animatingFettis = animatingFettis.filter(function (fetti) {\n return updateFetti(context, fetti);\n });\n\n if (animatingFettis.length) {\n animationFrame = raf.frame(update);\n } else {\n onDone();\n }\n }\n\n animationFrame = raf.frame(update);\n destroy = onDone;\n });\n\n return {\n addFettis: function (fettis) {\n animatingFettis = animatingFettis.concat(fettis);\n\n return prom;\n },\n canvas: canvas,\n promise: prom,\n reset: function () {\n if (animationFrame) {\n raf.cancel(animationFrame);\n }\n\n if (destroy) {\n destroy();\n }\n }\n };\n }\n\n function confettiCannon(canvas, globalOpts) {\n var isLibCanvas = !canvas;\n var allowResize = !!prop(globalOpts || {}, 'resize');\n var hasResizeEventRegistered = false;\n var globalDisableForReducedMotion = prop(globalOpts, 'disableForReducedMotion', Boolean);\n var shouldUseWorker = canUseWorker && !!prop(globalOpts || {}, 'useWorker');\n var worker = shouldUseWorker ? getWorker() : null;\n var resizer = isLibCanvas ? setCanvasWindowSize : setCanvasRectSize;\n var initialized = (canvas && worker) ? !!canvas.__confetti_initialized : false;\n var preferLessMotion = typeof matchMedia === 'function' && matchMedia('(prefers-reduced-motion)').matches;\n var animationObj;\n\n function fireLocal(options, size, done) {\n var particleCount = prop(options, 'particleCount', onlyPositiveInt);\n var angle = prop(options, 'angle', Number);\n var spread = prop(options, 'spread', Number);\n var startVelocity = prop(options, 'startVelocity', Number);\n var decay = prop(options, 'decay', Number);\n var gravity = prop(options, 'gravity', Number);\n var drift = prop(options, 'drift', Number);\n var colors = prop(options, 'colors', colorsToRgb);\n var ticks = prop(options, 'ticks', Number);\n var shapes = prop(options, 'shapes');\n var scalar = prop(options, 'scalar');\n var flat = !!prop(options, 'flat');\n var origin = getOrigin(options);\n\n var temp = particleCount;\n var fettis = [];\n\n var startX = canvas.width * origin.x;\n var startY = canvas.height * origin.y;\n\n while (temp--) {\n fettis.push(\n randomPhysics({\n x: startX,\n y: startY,\n angle: angle,\n spread: spread,\n startVelocity: startVelocity,\n color: colors[temp % colors.length],\n shape: shapes[randomInt(0, shapes.length)],\n ticks: ticks,\n decay: decay,\n gravity: gravity,\n drift: drift,\n scalar: scalar,\n flat: flat\n })\n );\n }\n\n // if we have a previous canvas already animating,\n // add to it\n if (animationObj) {\n return animationObj.addFettis(fettis);\n }\n\n animationObj = animate(canvas, fettis, resizer, size , done);\n\n return animationObj.promise;\n }\n\n function fire(options) {\n var disableForReducedMotion = globalDisableForReducedMotion || prop(options, 'disableForReducedMotion', Boolean);\n var zIndex = prop(options, 'zIndex', Number);\n\n if (disableForReducedMotion && preferLessMotion) {\n return promise(function (resolve) {\n resolve();\n });\n }\n\n if (isLibCanvas && animationObj) {\n // use existing canvas from in-progress animation\n canvas = animationObj.canvas;\n } else if (isLibCanvas && !canvas) {\n // create and initialize a new canvas\n canvas = getCanvas(zIndex);\n document.body.appendChild(canvas);\n }\n\n if (allowResize && !initialized) {\n // initialize the size of a user-supplied canvas\n resizer(canvas);\n }\n\n var size = {\n width: canvas.width,\n height: canvas.height\n };\n\n if (worker && !initialized) {\n worker.init(canvas);\n }\n\n initialized = true;\n\n if (worker) {\n canvas.__confetti_initialized = true;\n }\n\n function onResize() {\n if (worker) {\n // TODO this really shouldn't be immediate, because it is expensive\n var obj = {\n getBoundingClientRect: function () {\n if (!isLibCanvas) {\n return canvas.getBoundingClientRect();\n }\n }\n };\n\n resizer(obj);\n\n worker.postMessage({\n resize: {\n width: obj.width,\n height: obj.height\n }\n });\n return;\n }\n\n // don't actually query the size here, since this\n // can execute frequently and rapidly\n size.width = size.height = null;\n }\n\n function done() {\n animationObj = null;\n\n if (allowResize) {\n hasResizeEventRegistered = false;\n global.removeEventListener('resize', onResize);\n }\n\n if (isLibCanvas && canvas) {\n document.body.removeChild(canvas);\n canvas = null;\n initialized = false;\n }\n }\n\n if (allowResize && !hasResizeEventRegistered) {\n hasResizeEventRegistered = true;\n global.addEventListener('resize', onResize, false);\n }\n\n if (worker) {\n return worker.fire(options, size, done);\n }\n\n return fireLocal(options, size, done);\n }\n\n fire.reset = function () {\n if (worker) {\n worker.reset();\n }\n\n if (animationObj) {\n animationObj.reset();\n }\n };\n\n return fire;\n }\n\n // Make default export lazy to defer worker creation until called.\n var defaultFire;\n function getDefaultFire() {\n if (!defaultFire) {\n defaultFire = confettiCannon(null, { useWorker: true, resize: true });\n }\n return defaultFire;\n }\n\n function transformPath2D(pathString, pathMatrix, x, y, scaleX, scaleY, rotation) {\n var path2d = new Path2D(pathString);\n\n var t1 = new Path2D();\n t1.addPath(path2d, new DOMMatrix(pathMatrix));\n\n var t2 = new Path2D();\n // see https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix\n t2.addPath(t1, new DOMMatrix([\n Math.cos(rotation) * scaleX,\n Math.sin(rotation) * scaleX,\n -Math.sin(rotation) * scaleY,\n Math.cos(rotation) * scaleY,\n x,\n y\n ]));\n\n return t2;\n }\n\n function shapeFromPath(pathData) {\n if (!canUsePaths) {\n throw new Error('path confetti are not supported in this browser');\n }\n\n var path, matrix;\n\n if (typeof pathData === 'string') {\n path = pathData;\n } else {\n path = pathData.path;\n matrix = pathData.matrix;\n }\n\n var path2d = new Path2D(path);\n var tempCanvas = document.createElement('canvas');\n var tempCtx = tempCanvas.getContext('2d');\n\n if (!matrix) {\n // attempt to figure out the width of the path, up to 1000x1000\n var maxSize = 1000;\n var minX = maxSize;\n var minY = maxSize;\n var maxX = 0;\n var maxY = 0;\n var width, height;\n\n // do some line skipping... this is faster than checking\n // every pixel and will be mostly still correct\n for (var x = 0; x < maxSize; x += 2) {\n for (var y = 0; y < maxSize; y += 2) {\n if (tempCtx.isPointInPath(path2d, x, y, 'nonzero')) {\n minX = Math.min(minX, x);\n minY = Math.min(minY, y);\n maxX = Math.max(maxX, x);\n maxY = Math.max(maxY, y);\n }\n }\n }\n\n width = maxX - minX;\n height = maxY - minY;\n\n var maxDesiredSize = 10;\n var scale = Math.min(maxDesiredSize/width, maxDesiredSize/height);\n\n matrix = [\n scale, 0, 0, scale,\n -Math.round((width/2) + minX) * scale,\n -Math.round((height/2) + minY) * scale\n ];\n }\n\n return {\n type: 'path',\n path: path,\n matrix: matrix\n };\n }\n\n function shapeFromText(textData) {\n var text,\n scalar = 1,\n color = '#000000',\n // see https://nolanlawson.com/2022/04/08/the-struggle-of-using-native-emoji-on-the-web/\n fontFamily = '\"Twemoji Mozilla\", \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\", \"EmojiOne Color\", \"Android Emoji\", \"system emoji\", sans-serif';\n\n if (typeof textData === 'string') {\n text = textData;\n } else {\n text = textData.text;\n scalar = 'scalar' in textData ? textData.scalar : scalar;\n fontFamily = 'fontFamily' in textData ? textData.fontFamily : fontFamily;\n color = 'color' in textData ? textData.color : color;\n }\n\n // all other confetti are 10 pixels,\n // so this pixel size is the de-facto 100% scale confetti\n var fontSize = 10 * scalar;\n var font = '' + fontSize + 'px ' + fontFamily;\n\n var canvas = new OffscreenCanvas(fontSize, fontSize);\n var ctx = canvas.getContext('2d');\n\n ctx.font = font;\n var size = ctx.measureText(text);\n var width = Math.floor(size.width);\n var height = Math.floor(size.fontBoundingBoxAscent + size.fontBoundingBoxDescent);\n\n canvas = new OffscreenCanvas(width, height);\n ctx = canvas.getContext('2d');\n ctx.font = font;\n ctx.fillStyle = color;\n\n ctx.fillText(text, 0, fontSize);\n\n var scale = 1 / scalar;\n\n return {\n type: 'bitmap',\n // TODO these probably need to be transfered for workers\n bitmap: canvas.transferToImageBitmap(),\n matrix: [scale, 0, 0, scale, -width * scale / 2, -height * scale / 2]\n };\n }\n\n module.exports = function() {\n return getDefaultFire().apply(this, arguments);\n };\n module.exports.reset = function() {\n getDefaultFire().reset();\n };\n module.exports.create = confettiCannon;\n module.exports.shapeFromPath = shapeFromPath;\n module.exports.shapeFromText = shapeFromText;\n}((function () {\n if (typeof window !== 'undefined') {\n return window;\n }\n\n if (typeof self !== 'undefined') {\n return self;\n }\n\n return this || {};\n})(), module, false));\n\n// end source content\n\nexport default module.exports;\nexport var create = module.exports.create;\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Input, Output, Inject, ViewChild, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i5 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i4 from '@fgb/portal-component-library/src/lib/shared/short-long-description';\nimport { ShortLongDescriptionModule } from '@fgb/portal-component-library/src/lib/shared/short-long-description';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\nimport * as i3$1 from '@angular/router';\nimport { RouterModule } from '@angular/router';\nimport * as i3 from '@fgb/portal-component-library/src/lib/directives';\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport { QRCodeModule } from 'angularx-qrcode';\nimport * as i5$1 from 'ngx-owl-carousel-o';\nimport { CarouselModule } from 'ngx-owl-carousel-o';\nimport * as i1 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i1$1 from '@fgb/core';\nimport { PrizeType, ScorecardDisplayType, ScorecardMilestoneActionDisplayType, DATE_OPTIONS } from '@fgb/core';\nimport { OwlCarouselSettings } from '@fgb/portal-component-library/src/lib/shared/utilities';\nimport { ScorecardCategoryPunchcardView } from '@fgb/portal-component-library/src/lib/loyalty/scorecards/scorecard-categories';\nimport * as confettiLib from 'canvas-confetti';\nimport { take, finalize } from 'rxjs/operators';\nimport * as i6 from '@ngx-translate/core';\n\nclass ScorecardDescriptionModalCarouselComponent {\n constructor(renderer2) {\n this.renderer2 = renderer2;\n this.linkedScorecardLength = 0;\n this.currentIndexScorecard = 0;\n this.previousClick = new EventEmitter();\n this.nextClick = new EventEmitter();\n }\n ngOnInit() { }\n ngAfterViewInit() {\n this.addStyleForCarousel();\n }\n addStyleForCarousel() {\n let modalContent = document.querySelector('.modal-content');\n let styles = new Map([\n ['border', 'none'],\n ['box-shadow', 'none'],\n ['background', 'transparent'],\n ]);\n setTimeout(() => {\n if (modalContent) {\n styles.forEach((value, key) => this.renderer2.setStyle(modalContent, key, value));\n }\n });\n }\n onPreviousClick() {\n this.previousClick.emit();\n }\n onNextClick() {\n this.nextClick.emit();\n }\n get disableNext() {\n return this.linkedScorecardLength === this.currentIndexScorecard;\n }\n get disablePrevious() {\n return this.currentIndexScorecard === 1;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardDescriptionModalCarouselComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ScorecardDescriptionModalCarouselComponent, selector: \"fgbcl-scorecard-description-modal-carousel\", inputs: { scorecard: \"scorecard\", childScorecard: \"childScorecard\", parentScorecard: \"parentScorecard\", linkedScorecardLength: \"linkedScorecardLength\", currentIndexScorecard: \"currentIndexScorecard\" }, outputs: { previousClick: \"previousClick\", nextClick: \"nextClick\" }, ngImport: i0, template: \"
\\r\\n
chevron_left
\\r\\n
\\r\\n
{{ currentIndexScorecard }}
\\r\\n
\\r\\n
{{ linkedScorecardLength }}
\\r\\n
\\r\\n
chevron_right
\\r\\n
\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardDescriptionModalCarouselComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-scorecard-description-modal-carousel', template: \"
\\r\\n
chevron_left
\\r\\n
\\r\\n
{{ currentIndexScorecard }}
\\r\\n
\\r\\n
{{ linkedScorecardLength }}
\\r\\n
\\r\\n
chevron_right
\\r\\n
\" }]\n }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { scorecard: [{\n type: Input\n }], childScorecard: [{\n type: Input\n }], parentScorecard: [{\n type: Input\n }], linkedScorecardLength: [{\n type: Input\n }], currentIndexScorecard: [{\n type: Input\n }], previousClick: [{\n type: Output\n }], nextClick: [{\n type: Output\n }] } });\n\nclass ScorecardPrizeSelectionComponent {\n constructor() {\n this.onPrizeConfirmed = new EventEmitter();\n }\n ngOnInit() { }\n prizeIcon(prizeType) {\n switch (prizeType) {\n case PrizeType.Reward:\n return 'redeem';\n case PrizeType.GivePoints:\n return 'emoji_events';\n case PrizeType.GiveEcash:\n return 'paid';\n case PrizeType.SkuItem:\n return 'shopping_bag';\n case PrizeType.LottoEntry:\n return 'confirmation_number';\n default:\n return 'redeem';\n }\n }\n prizeSelectedCondition(prize) {\n return !prize.SoldOut && prize.PrizeId === this.prizeSelected?.PrizeId;\n }\n onPrizeSelected(prize) {\n if (prize.SoldOut)\n return;\n this.prizeSelected = prize;\n }\n onPrizeConfirm() {\n this.onPrizeConfirmed.emit(this.prizeSelected);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardPrizeSelectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ScorecardPrizeSelectionComponent, selector: \"fgbcl-scorecard-prize-selection\", inputs: { prizes: \"prizes\" }, outputs: { onPrizeConfirmed: \"onPrizeConfirmed\" }, ngImport: i0, template: \"
\\r\\n
{{ 'prize.selection.title' | translate }}
\\r\\n
\\r\\n \\r\\n
{{ prizeIcon(prize.PrizeType) }}
\\r\\n
{{ prize.PrizeTitle }}
\\r\\n
\\r\\n
{{ 'prize.selection.sold.out' | translate }}
\\r\\n
\\r\\n \\r\\n \\r\\n \", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardPrizeSelectionComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-scorecard-prize-selection', template: \"
\\r\\n
{{ 'prize.selection.title' | translate }}
\\r\\n
\\r\\n \\r\\n
{{ prizeIcon(prize.PrizeType) }}
\\r\\n
{{ prize.PrizeTitle }}
\\r\\n
\\r\\n
{{ 'prize.selection.sold.out' | translate }}
\\r\\n
\\r\\n \\r\\n \\r\\n \" }]\n }], ctorParameters: () => [], propDecorators: { prizes: [{\n type: Input\n }], onPrizeConfirmed: [{\n type: Output\n }] } });\n\nclass ScorecardSponserViewComponent {\n constructor() { }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardSponserViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ScorecardSponserViewComponent, selector: \"fgbcl-scorecard-sponser-view\", inputs: { scorecard: \"scorecard\" }, ngImport: i0, template: \"\\r\\n
\\r\\n

{{ 'fgbcl.scorecard.sponsor.presented.by.label' | translate }}

\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i5.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardSponserViewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-scorecard-sponser-view', template: \"\\r\\n
\\r\\n

{{ 'fgbcl.scorecard.sponsor.presented.by.label' | translate }}

\\r\\n \\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { scorecard: [{\n type: Input\n }] } });\n\nclass ScorecardDescriptionModalComponent {\n constructor(activeModal, modalService, renderer2, scorecardService, scorecardQuery, dateOption) {\n this.activeModal = activeModal;\n this.modalService = modalService;\n this.renderer2 = renderer2;\n this.scorecardService = scorecardService;\n this.scorecardQuery = scorecardQuery;\n this.dateOption = dateOption;\n this.phaseThree = false;\n this.confettiColors = undefined; //Add strings of hex color ex: ['#000','#fff']\n this.scorecardDisplayType = ScorecardDisplayType;\n this.allActionSpacing = [];\n this.maxMilestone = 0;\n this.allMilestoneSpacing = [];\n this.currentProgressValue = 0;\n this.alignmentOfMilestoneValue = '7%';\n this.category = ScorecardCategoryPunchcardView;\n this.showMore = false;\n this.showTermsAndConditions = false;\n this.showDescription = true;\n this.isNextChallengeClick = false;\n this.preventMultipleClick = false;\n }\n ngOnInit() {\n /**When notification popup, fetch a new scorecard with scorecardId pasased into*/\n let id = this.scorecardId ? this.scorecardId : this.scorecard.ScorecardId;\n this.scorecardQuery.selectEntity(id).subscribe((scorecard) => {\n if (scorecard)\n this.scorecard = scorecard;\n });\n this.scorecardService\n .fetchScorecardBy(id)\n .pipe(take(1), finalize(() => {\n this.getContextForNextChallenge();\n this.getContentOfScoreCard();\n }))\n .subscribe((scorecards) => {\n this.parentScorecard = this.scorecardService.findScorecard(scorecards, this.scorecard.ParentId);\n this.childScoreCard = this.scorecardService.findScorecard(scorecards, this.scorecard.ChildId);\n this.childScorecardIndex = this.scorecardService.findScorecardIndex(scorecards, this.scorecard.ChildId) || 0;\n this.parentScorecardIndex = this.scorecardService.findScorecardIndex(scorecards, this.scorecard.ParentId) || 0;\n this.currentScorecardIndex = this.scorecardService.findScorecardIndex(scorecards, this.scorecard.ScorecardId) || 0;\n this.linkedScorecardLength = scorecards.length;\n });\n }\n getContentOfScoreCard() {\n this.getActionSpacing();\n if (!!this.scorecard.Milestone && this.scorecard.ScoreCardDisplayType == 3) {\n this.maxMilestone = this.getMaxMilestone();\n this.getMilestoneSpacing();\n this.getCurrentValueOfProgressBar();\n this.getMilestoneValueSpacing();\n }\n this.lineBreakIndex = Math.floor(this.scorecard.Actions.length / 2) - 1;\n }\n ngAfterViewInit() {\n this.scorecard?.Completed && this.phaseThree && this.shootConfetti();\n this.scorecardModalCarousel && this.scorecardModalCarousel.addStyleForCarousel();\n }\n ngOnDestroy() {\n this.scorecardModalCarousel && this.isNextChallengeClick && this.scorecardModalCarousel.addStyleForCarousel();\n }\n get showLinkedScoreCard() {\n return this.hasChild || this.hasParent;\n }\n get isCompleted() {\n return this.scorecard.Completed;\n }\n get hasChild() {\n return !!this.scorecard.ChildId;\n }\n get hasParent() {\n return !!this.scorecard.ParentId;\n }\n get isLocked() {\n return !!this.scorecard.Locked;\n }\n get isLastChildUnlocked() {\n return this.hasParent && !this.hasChild && !this.isLocked;\n }\n get hasPrizeSelection() {\n return !!this.scorecard.PrizeOptions;\n }\n //Return name of prize has selected = true\n get prizeSelected() {\n if (this.scorecard.PrizeOptions && Object.keys(this.scorecard.PrizeOptions).length == 0)\n return '';\n let prizeSelected = this.scorecard.PrizeOptions?.Prizes.find((prize) => prize.Selected);\n return prizeSelected?.PrizeTitle;\n }\n //If scorecard has completed but not select prize yet, disable show more button\n get invisibleShowMore() {\n if (this.isCompleted && this.scorecard.PrizeOptions && !this.scorecard.PrizeOptions?.CustomerHasSelected)\n return false;\n else {\n return true;\n }\n }\n getContextForNextChallenge() {\n // Completed scorecard have child\n if (this.isCompleted && this.hasChild) {\n this.createContext('scorecard.description.modal.next.challenge', this.childScoreCard?.Image, this.childScoreCard?.Content[0].Name, true, this.childScoreCard, this.childScorecardIndex, true);\n }\n // Incompleted scorecard have child\n if (!this.isCompleted && !this.isLocked && this.hasChild) {\n this.createContext('scorecard.description.modal.next.challenge', this.childScoreCard?.Image, this.childScoreCard?.Content[0]?.Name, false, this.childScoreCard, this.childScorecardIndex, true);\n }\n // Child scorecard has been locked\n if (this.hasParent && this.isLocked) {\n this.createContext('scorecard.description.modal.complete.first', this.parentScorecard?.Image, this.parentScorecard?.Content[0].Name, true, this.parentScorecard, this.parentScorecardIndex, false);\n }\n // scorecard has been locked and has parent locked\n if (this.hasParent && this.parentScorecard.Locked && this.isLocked) {\n this.createContext('scorecard.description.modal.complete.first', this.parentScorecard?.Image, this.parentScorecard?.Content[0].Name, false, this.parentScorecard, this.parentScorecardIndex, false);\n }\n }\n createContext(label, image, name, invisibleIcon, scorecard, scorecardIndex, isDirectToChild) {\n this.myContext = {\n label: label,\n image: image,\n name: name,\n invisibleIcon: invisibleIcon,\n openScorecard: () => this.openScorecard(scorecard, scorecardIndex, isDirectToChild),\n };\n }\n appendAnimation(isDirectToChild) {\n let direction = isDirectToChild ? 'fade-right' : 'fade-left';\n let scorecardModalContent = document.querySelector('.scorecard-modal-content');\n this.renderer2.addClass(scorecardModalContent, direction);\n }\n onPreviousClick() {\n this.openScorecard(this.parentScorecard, this.parentScorecardIndex, false);\n }\n onNextClick() {\n this.openScorecard(this.childScoreCard, this.childScorecardIndex, true);\n }\n effectBackground(isAdd) {\n if (isAdd) {\n const fakeBackdrop = this.renderer2.createElement('div');\n this.renderer2.addClass(fakeBackdrop, 'fake-backdrop');\n this.renderer2.addClass(fakeBackdrop, 'modal-backdrop');\n this.renderer2.appendChild(document.body, fakeBackdrop);\n }\n else {\n const fakeBackdrop = document.querySelector('.fake-backdrop');\n this.renderer2.removeChild(document.body, fakeBackdrop);\n }\n }\n openScorecard(scorecard, scorecardIndex, isDirectToChild) {\n if (!scorecard || this.preventMultipleClick)\n return;\n this.appendAnimation(isDirectToChild);\n this.preventMultipleClick = true;\n this.effectBackground(true);\n this.close();\n setTimeout(() => {\n const modalRef = this.modalService.open(ScorecardDescriptionModalComponent, {\n centered: true,\n windowClass: 'scorecard-modal-content',\n backdropClass: 'scorecard-modal-backdrop',\n });\n this.isNextChallengeClick = true;\n modalRef.componentInstance.phaseThree = true;\n modalRef.componentInstance.confettiColors = this.confettiColors;\n modalRef.componentInstance.scorecard = scorecard;\n modalRef.componentInstance.linkedScorecardLength = this.linkedScorecardLength;\n modalRef.componentInstance.currentScorecardIndex = scorecardIndex;\n this.preventMultipleClick = false;\n this.effectBackground(false);\n }, 300);\n }\n shootConfetti() {\n const canvas = this.renderer2.createElement('canvas');\n this.renderer2.addClass(canvas, 'confetti');\n let backdrops = document.querySelectorAll('ngb-modal-window');\n let backdrop;\n setTimeout(() => {\n Array.from(backdrops).find((bd) => {\n bd.className.includes('scorecard-modal-content') && (backdrop = bd);\n });\n });\n setTimeout(() => {\n this.renderer2.appendChild(backdrop, canvas);\n this.initConfetti(7, canvas);\n });\n }\n initConfetti(duration, element) {\n let confetti = this.createConfetti(element);\n let timeFiring = duration * 1000;\n let animationEnd = Date.now() + timeFiring;\n let colors = this.confettiColors?.length ? this.confettiColors : undefined;\n let defaults = { startVelocity: 30, spread: 360, ticks: 60, colors: colors };\n let interval = setInterval(() => {\n let timeLeft = animationEnd - Date.now();\n if (timeLeft <= 0) {\n element?.remove();\n return clearInterval(interval);\n }\n let particleCount = 300 * (timeLeft / timeFiring);\n confetti(Object.assign({}, defaults, { particleCount, origin: { x: this.randomInRange(0.1, 0.3), y: Math.random() - 0.4 } }));\n confetti(Object.assign({}, defaults, { particleCount, origin: { x: this.randomInRange(0.7, 0.9), y: Math.random() - 0.2 } }));\n }, 500);\n }\n onPrizeConfirmed(prize) {\n this.scorecardService.selectPrize(prize.ScorecardId, prize.PrizeId).toPromise();\n }\n randomInRange(min, max) {\n return Math.random() * (max - min) + min;\n }\n createConfetti(element) {\n return confettiLib.create(element, {\n resize: true,\n });\n }\n toggleShowMore() {\n this.showMore = !this.showMore;\n }\n showDescriptionActive() {\n this.showDescription = true;\n this.showTermsAndConditions = false;\n }\n showTermsAndConditonsActive() {\n this.showDescription = false;\n this.showTermsAndConditions = true;\n }\n getActionSpacing() {\n this.scorecard.Actions.forEach((action, i) => {\n let spacingCalculated = ((i + 1) / this.scorecard.Actions.length) * 100;\n let spacingPercentage = spacingCalculated;\n this.allActionSpacing.push(spacingPercentage);\n });\n }\n /**\n * Calculate value of\n * progress bar.\n */\n getCurrentValueOfProgressBar() {\n if (this.scorecard.Milestone.MilestoneActionDisplayType === ScorecardMilestoneActionDisplayType.segment) {\n this.calculateProgressBySegment();\n }\n else {\n this.currentProgressValue = (this.scorecard.Milestone.CustomerValue * 100) / this.maxMilestone;\n }\n }\n /**\n * Calculate value of\n * progress bar by segment.\n */\n calculateProgressBySegment() {\n let differenceBetweenMilestones = (1 / this.scorecard.Milestone.Milestones.length) * 100;\n this.scorecard.Milestone.Milestones.every((milestone, i) => {\n if (this.scorecard.Milestone.CustomerValue >= milestone.Value) {\n this.currentProgressValue = this.allMilestoneSpacing[i];\n return true;\n }\n else {\n let currentSegmentTotal = 0;\n let progressInCurrentSegment = 0;\n if (i === 0) {\n currentSegmentTotal = this.scorecard.Milestone.Milestones[0].Value;\n progressInCurrentSegment = this.scorecard.Milestone.CustomerValue;\n }\n else {\n currentSegmentTotal = milestone.Value - this.scorecard.Milestone.Milestones[i - 1].Value;\n progressInCurrentSegment = this.scorecard.Milestone.CustomerValue - this.scorecard.Milestone.Milestones[i - 1].Value;\n }\n this.currentProgressValue =\n this.currentProgressValue + (progressInCurrentSegment / currentSegmentTotal) * differenceBetweenMilestones;\n return false;\n }\n });\n }\n /**\n * Gets max milestone value from\n * the highest value of milestones.\n * @returns Max milestone value\n */\n getMaxMilestone() {\n return Math.max.apply(Math, this.scorecard?.Milestone?.Milestones?.map(function (milestone) {\n return milestone.Value;\n }));\n }\n /**\n * Get accurate spacing\n * between milestones.\n * Will calculate spacing\n * depending on milestone display\n * type. e.g. segment view or\n * value view.\n */\n getMilestoneSpacing() {\n this.scorecard?.Milestone?.Milestones?.forEach((action, i) => {\n let spacingCalculated = 0;\n if (this.scorecard.Milestone.MilestoneActionDisplayType === ScorecardMilestoneActionDisplayType.segment) {\n spacingCalculated = ((i + 1) / this.scorecard.Milestone.Milestones.length) * 100;\n }\n else {\n spacingCalculated = (this.scorecard.Milestone.Milestones[i].Value / this.maxMilestone) * 100;\n }\n this.allMilestoneSpacing.push(spacingCalculated);\n });\n }\n /**\n * Calculate spacing\n * between milestone values\n * under the progress bar\n * according to screen size.\n */\n getMilestoneValueSpacing() {\n let screenSizeL = window.matchMedia('(max-width: 520px)');\n let screenSizeM = window.matchMedia('(max-width: 400px)');\n if (screenSizeL.matches)\n this.alignmentOfMilestoneValue = '8.5%';\n if (screenSizeM.matches)\n this.alignmentOfMilestoneValue = '9.5%';\n }\n close() {\n this.modalService.dismissAll();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardDescriptionModalComponent, deps: [{ token: i1.NgbActiveModal }, { token: i1.NgbModal }, { token: i0.Renderer2 }, { token: i1$1.ScorecardService }, { token: i1$1.ScorecardQuery }, { token: DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ScorecardDescriptionModalComponent, selector: \"fgbcl-scorecard-description-modal\", inputs: { scorecard: \"scorecard\", phaseThree: \"phaseThree\", parentScorecard: \"parentScorecard\", childScoreCard: \"childScoreCard\", linkedScorecardLength: \"linkedScorecardLength\", currentScorecardIndex: \"currentScorecardIndex\", confettiColors: \"confettiColors\" }, viewQueries: [{ propertyName: \"scorecardModalCarousel\", first: true, predicate: [\"scorecardModalCarousel\"], descendants: true }], ngImport: i0, template: \"
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\\"\\\"\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ scorecard.Content[0].Name }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'scorecard.congratulation.title' | translate }}
\\r\\n
\\r\\n {{ 'scorecard.congratulation.subtitle' | translate : { scorecardName: scorecard.Content[0].Name } }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n lock\\r\\n {{\\r\\n 'scorecard.modal.locked.title' | translate\\r\\n }}\\r\\n
\\r\\n
\\r\\n {{ 'scorecard.modal.locked.description' | translate : { parentScorecardName: parentScorecard?.Content[0].Name } }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ 'scorecard.completed.steps' | translate }}\\r\\n {{ scorecard.ActionsCompleted }}/{{ scorecard.Actions.length }}\\r\\n
\\r\\n {{ scorecard?.CompletionDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n

\\r\\n {{ action?.Content[0]?.Name }}\\r\\n

\\r\\n
\\r\\n \\r\\n 5 && j == lineBreakIndex\\\">\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ 'scorecard.completed.steps' | translate }}\\r\\n \\r\\n {{ scorecard.Milestone.CustomerValue }}/{{ maxMilestone }}\\r\\n
\\r\\n {{ scorecard.CompletionDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n currentProgressValue\\r\\n }\\\"\\r\\n [ngStyle]=\\\"{ left: milestoneSpacing - 2 + '%' }\\\"\\r\\n >
\\r\\n\\r\\n \\r\\n {{ scorecard.Milestone.Milestones[i].Value }}\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{ scorecard.ActionsCompleted }}\\r\\n /{{ scorecard.Actions.length }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ 'scorecard.completed.steps' | translate }}\\r\\n
\\r\\n {{ scorecard.CompletionDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n {{ scorecard.ActionsCompleted }}/{{ scorecard.TotalToComplete }}\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ scorecard.Actions[i].Content[0].Name }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'scorecard.modal.prize' | translate }}
\\r\\n
\\r\\n {{ scorecard.Content[0].PrizeDescription }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
{{ 'scorecard.modal.prize.selected' | translate }}
\\r\\n
{{ prizeSelected }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'scorecard.modal.prize.selection.options' | translate }}
\\r\\n
\\r\\n
\\r\\n {{ prizeOption.PrizeTitle }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
{{ name }}
\\r\\n
\\r\\n lock\\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'scorecard.modal.description.label' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'scorecard.modal.terms.label' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
{{ 'scorecard.modal.description' | translate }}
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\".modal-close-button{font-size:20px;background:none;position:absolute}.scorecard-description-modal-desc-terms{width:100%;--bs-accordion-active-bg: transparent;--bs-accordion-btn-focus-box-shadow: none}.scorecard-description-modal-desc-terms .accordion-button:not(.collapsed){font-weight:700}.scorecard-description-modal-desc-terms .accordion-button{font-size:.875rem;padding:16px 0;color:#000;box-shadow:none}\\n\", \".scorecard-label-ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.scorecard-label-ellipsis.three-line{-webkit-line-clamp:3}.scorecard-container{height:210px;width:100%}.scorecard-count-container{height:unset;border-top-left-radius:5px;border-top-right-radius:5px;top:0;padding:12px 12px 8px}.scorecard-image{height:50px;width:50px!important}.scorecard-footer{bottom:14px;height:45px}.scorecard-footer-container{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.bg-first-category{background-color:#a7b1b7}.progress,.progress-bar{border-radius:25px}.dashed-line{border-right:2px dashed #dedddd;height:49px;top:-13px}.scorecard-one-punch-incomplete{opacity:.2}.scorecard-punchcard-steps{font-size:12px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i2.NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { kind: \"directive\", type: i2.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i2.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"component\", type: i4.ShortLongDescriptionComponent, selector: \"fgbcl-short-long-description\", inputs: [\"description\", \"descriptionLength\", \"descriptionLengthMobile\"] }, { kind: \"directive\", type: i3.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"component\", type: ScorecardDescriptionModalCarouselComponent, selector: \"fgbcl-scorecard-description-modal-carousel\", inputs: [\"scorecard\", \"childScorecard\", \"parentScorecard\", \"linkedScorecardLength\", \"currentIndexScorecard\"], outputs: [\"previousClick\", \"nextClick\"] }, { kind: \"component\", type: ScorecardPrizeSelectionComponent, selector: \"fgbcl-scorecard-prize-selection\", inputs: [\"prizes\"], outputs: [\"onPrizeConfirmed\"] }, { kind: \"component\", type: ScorecardSponserViewComponent, selector: \"fgbcl-scorecard-sponser-view\", inputs: [\"scorecard\"] }, { kind: \"pipe\", type: i5.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i5.SafeHtmlPipe, name: \"safeHtml\" }, { kind: \"pipe\", type: i5.UtcToLocaltimePipe, name: \"UtcToLocaltimePipe\" }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardDescriptionModalComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-scorecard-description-modal', template: \"
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\\"\\\"\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ scorecard.Content[0].Name }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'scorecard.congratulation.title' | translate }}
\\r\\n
\\r\\n {{ 'scorecard.congratulation.subtitle' | translate : { scorecardName: scorecard.Content[0].Name } }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n lock\\r\\n {{\\r\\n 'scorecard.modal.locked.title' | translate\\r\\n }}\\r\\n
\\r\\n
\\r\\n {{ 'scorecard.modal.locked.description' | translate : { parentScorecardName: parentScorecard?.Content[0].Name } }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ 'scorecard.completed.steps' | translate }}\\r\\n {{ scorecard.ActionsCompleted }}/{{ scorecard.Actions.length }}\\r\\n
\\r\\n {{ scorecard?.CompletionDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n

\\r\\n {{ action?.Content[0]?.Name }}\\r\\n

\\r\\n
\\r\\n \\r\\n 5 && j == lineBreakIndex\\\">\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ 'scorecard.completed.steps' | translate }}\\r\\n \\r\\n {{ scorecard.Milestone.CustomerValue }}/{{ maxMilestone }}\\r\\n
\\r\\n {{ scorecard.CompletionDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n currentProgressValue\\r\\n }\\\"\\r\\n [ngStyle]=\\\"{ left: milestoneSpacing - 2 + '%' }\\\"\\r\\n >
\\r\\n\\r\\n \\r\\n {{ scorecard.Milestone.Milestones[i].Value }}\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{ scorecard.ActionsCompleted }}\\r\\n /{{ scorecard.Actions.length }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ 'scorecard.completed.steps' | translate }}\\r\\n
\\r\\n {{ scorecard.CompletionDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n {{ scorecard.ActionsCompleted }}/{{ scorecard.TotalToComplete }}\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ scorecard.Actions[i].Content[0].Name }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'scorecard.modal.prize' | translate }}
\\r\\n
\\r\\n {{ scorecard.Content[0].PrizeDescription }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
{{ 'scorecard.modal.prize.selected' | translate }}
\\r\\n
{{ prizeSelected }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'scorecard.modal.prize.selection.options' | translate }}
\\r\\n
\\r\\n
\\r\\n {{ prizeOption.PrizeTitle }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
{{ name }}
\\r\\n
\\r\\n lock\\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'scorecard.modal.description.label' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'scorecard.modal.terms.label' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
{{ 'scorecard.modal.description' | translate }}
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\".modal-close-button{font-size:20px;background:none;position:absolute}.scorecard-description-modal-desc-terms{width:100%;--bs-accordion-active-bg: transparent;--bs-accordion-btn-focus-box-shadow: none}.scorecard-description-modal-desc-terms .accordion-button:not(.collapsed){font-weight:700}.scorecard-description-modal-desc-terms .accordion-button{font-size:.875rem;padding:16px 0;color:#000;box-shadow:none}\\n\", \".scorecard-label-ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.scorecard-label-ellipsis.three-line{-webkit-line-clamp:3}.scorecard-container{height:210px;width:100%}.scorecard-count-container{height:unset;border-top-left-radius:5px;border-top-right-radius:5px;top:0;padding:12px 12px 8px}.scorecard-image{height:50px;width:50px!important}.scorecard-footer{bottom:14px;height:45px}.scorecard-footer-container{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.bg-first-category{background-color:#a7b1b7}.progress,.progress-bar{border-radius:25px}.dashed-line{border-right:2px dashed #dedddd;height:49px;top:-13px}.scorecard-one-punch-incomplete{opacity:.2}.scorecard-punchcard-steps{font-size:12px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.NgbActiveModal }, { type: i1.NgbModal }, { type: i0.Renderer2 }, { type: i1$1.ScorecardService }, { type: i1$1.ScorecardQuery }, { type: undefined, decorators: [{\n type: Inject,\n args: [DATE_OPTIONS]\n }] }], propDecorators: { scorecard: [{\n type: Input\n }], phaseThree: [{\n type: Input\n }], parentScorecard: [{\n type: Input\n }], childScoreCard: [{\n type: Input\n }], linkedScorecardLength: [{\n type: Input\n }], currentScorecardIndex: [{\n type: Input\n }], confettiColors: [{\n type: Input\n }], scorecardModalCarousel: [{\n type: ViewChild,\n args: ['scorecardModalCarousel']\n }] } });\n\nclass ScorecardLockedComponent {\n constructor(modalService, scorecardQuery) {\n this.modalService = modalService;\n this.scorecardQuery = scorecardQuery;\n this.preventMultipleClick = false;\n }\n ngOnInit() {\n this.parentScorecard = this.scorecardQuery.getEntity(this.scorecard?.ParentId);\n }\n openScorecardDescription() {\n const modalRef = this.modalService.open(ScorecardDescriptionModalComponent, {\n centered: true,\n windowClass: 'scorecard-modal-content',\n backdropClass: 'scorecard-modal-backdrop',\n });\n modalRef.componentInstance.phaseThree = true;\n modalRef.componentInstance.scorecard = this.scorecard;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardLockedComponent, deps: [{ token: i1.NgbModal }, { token: i1$1.ScorecardQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ScorecardLockedComponent, selector: \"fgbcl-scorecard-locked\", inputs: { scorecard: \"scorecard\" }, ngImport: i0, template: \"\\r\\n \\r\\n
\\r\\n \\r\\n

\\r\\n {{ scorecard?.Content[0].Name }}\\r\\n

\\r\\n
\\r\\n {{ 'scorecard.modal.locked.description' | translate : { parentScorecardName: parentScorecard?.Content[0].Name } }}\\r\\n
\\r\\n
\\r\\n
\\r\\n lock\\r\\n {{ 'scorecard.modal.locked.title' | translate }}\\r\\n
\\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i3.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"pipe\", type: i5.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardLockedComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-scorecard-locked', template: \"\\r\\n \\r\\n
\\r\\n \\r\\n

\\r\\n {{ scorecard?.Content[0].Name }}\\r\\n

\\r\\n
\\r\\n {{ 'scorecard.modal.locked.description' | translate : { parentScorecardName: parentScorecard?.Content[0].Name } }}\\r\\n
\\r\\n
\\r\\n
\\r\\n lock\\r\\n {{ 'scorecard.modal.locked.title' | translate }}\\r\\n
\\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.NgbModal }, { type: i1$1.ScorecardQuery }], propDecorators: { scorecard: [{\n type: Input\n }] } });\n\nclass ScorecardPunchcardViewComponent {\n constructor(modalService) {\n this.modalService = modalService;\n this.phaseThree = false;\n this.icon = 'info';\n this.disabled = false;\n this.category = ScorecardCategoryPunchcardView;\n }\n ngOnInit() {\n this.lineBreakIndex = Math.floor(this.scorecard.Actions.length / 2) - 1;\n }\n openScorecardDescription() {\n if (!this.disabled) {\n const modalRef = this.modalService.open(ScorecardDescriptionModalComponent, {\n centered: true,\n windowClass: 'scorecard-modal-content',\n backdropClass: 'scorecard-modal-backdrop',\n });\n modalRef.componentInstance.confettiColors = this.confettiColors;\n modalRef.componentInstance.phaseThree = this.phaseThree;\n modalRef.componentInstance.scorecard = this.scorecard;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardPunchcardViewComponent, deps: [{ token: i1.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ScorecardPunchcardViewComponent, selector: \"fgbcl-scorecard-punchcard-view\", inputs: { scorecard: \"scorecard\", phaseThree: \"phaseThree\", confettiColors: \"confettiColors\", icon: \"icon\", disabled: \"disabled\" }, ngImport: i0, template: \"\\r\\n \\r\\n\\r\\n\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n

\\r\\n {{ scorecard.Content[0].Name }}\\r\\n

\\r\\n

\\r\\n {{ scorecard.Content[0].ShortDescription }}\\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ scorecard.ActionsCompleted }}/{{ scorecard.Actions.length }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n 5\\r\\n }\\\"\\r\\n >\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n 5 && j == lineBreakIndex\\\">\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{\\r\\n 'scorecard.footer.choose.prize' | translate\\r\\n }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ scorecard.Content[0].Name }}\\r\\n \\r\\n

\\r\\n {{ scorecard.Content[0].ShortDescription }}\\r\\n

\\r\\n

{{ scorecard.Completed ? 'Completed' : 'Not Completed' }}

\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'scorecard.prize' | translate }} \\r\\n {{\\r\\n scorecard.Completed && scorecard?.HasCustomerSelectedPrize\\r\\n ? ('scorecard.footer.prize.selected' | translate)\\r\\n : !scorecard.Completed && scorecard.CompleteAction == 6 && !scorecard.HasCustomerSelectedPrize\\r\\n ? ('scorecard.footer.prize.selection' | translate)\\r\\n : scorecard.Content[0].PrizeDescription\\r\\n }}\\r\\n
\\r\\n \\r\\n {{ icon }}\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\".action-img{width:22px!important;height:22px}.action-img-container{width:35px;height:35px;border-radius:25px}.scorecard-punch-text{width:60px;line-height:12px;font-size:10px}.scorecard-background-banner{height:71.19px;border-top-left-radius:5px;border-top-right-radius:5px;background-color:transparent!important}.scorecard-background-banner .scorecard-image-one-punch{position:absolute;bottom:-25px;left:0;right:0}.scorecard-background-banner .scorecard-image-one-punch .img-container{height:90px;width:auto}.scorecard-background-banner .scorecard-image-one-punch .img-container img{height:70px;width:70px;display:block;margin-left:auto;margin-right:auto}.single-line-punchcard-footer{margin-top:2px}.scorecard-one-punch-incomplete{opacity:.2}.action-container{margin:0 19px}.punch-spacing{justify-content:space-evenly}.onepunch-footer{position:absolute;bottom:0}\\n\", \".scorecard-label-ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.scorecard-label-ellipsis.three-line{-webkit-line-clamp:3}.scorecard-container{height:210px;width:100%}.scorecard-count-container{height:unset;border-top-left-radius:5px;border-top-right-radius:5px;top:0;padding:12px 12px 8px}.scorecard-image{height:50px;width:50px!important}.scorecard-footer{bottom:14px;height:45px}.scorecard-footer-container{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.bg-first-category{background-color:#a7b1b7}.progress,.progress-bar{border-radius:25px}.dashed-line{border-right:2px dashed #dedddd;height:49px;top:-13px}.scorecard-one-punch-incomplete{opacity:.2}.scorecard-punchcard-steps{font-size:12px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"component\", type: ScorecardLockedComponent, selector: \"fgbcl-scorecard-locked\", inputs: [\"scorecard\"] }, { kind: \"pipe\", type: i5.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardPunchcardViewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-scorecard-punchcard-view', template: \"\\r\\n \\r\\n\\r\\n\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n

\\r\\n {{ scorecard.Content[0].Name }}\\r\\n

\\r\\n

\\r\\n {{ scorecard.Content[0].ShortDescription }}\\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ scorecard.ActionsCompleted }}/{{ scorecard.Actions.length }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n 5\\r\\n }\\\"\\r\\n >\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n 5 && j == lineBreakIndex\\\">\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{\\r\\n 'scorecard.footer.choose.prize' | translate\\r\\n }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ scorecard.Content[0].Name }}\\r\\n \\r\\n

\\r\\n {{ scorecard.Content[0].ShortDescription }}\\r\\n

\\r\\n

{{ scorecard.Completed ? 'Completed' : 'Not Completed' }}

\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'scorecard.prize' | translate }} \\r\\n {{\\r\\n scorecard.Completed && scorecard?.HasCustomerSelectedPrize\\r\\n ? ('scorecard.footer.prize.selected' | translate)\\r\\n : !scorecard.Completed && scorecard.CompleteAction == 6 && !scorecard.HasCustomerSelectedPrize\\r\\n ? ('scorecard.footer.prize.selection' | translate)\\r\\n : scorecard.Content[0].PrizeDescription\\r\\n }}\\r\\n
\\r\\n \\r\\n {{ icon }}\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\".action-img{width:22px!important;height:22px}.action-img-container{width:35px;height:35px;border-radius:25px}.scorecard-punch-text{width:60px;line-height:12px;font-size:10px}.scorecard-background-banner{height:71.19px;border-top-left-radius:5px;border-top-right-radius:5px;background-color:transparent!important}.scorecard-background-banner .scorecard-image-one-punch{position:absolute;bottom:-25px;left:0;right:0}.scorecard-background-banner .scorecard-image-one-punch .img-container{height:90px;width:auto}.scorecard-background-banner .scorecard-image-one-punch .img-container img{height:70px;width:70px;display:block;margin-left:auto;margin-right:auto}.single-line-punchcard-footer{margin-top:2px}.scorecard-one-punch-incomplete{opacity:.2}.action-container{margin:0 19px}.punch-spacing{justify-content:space-evenly}.onepunch-footer{position:absolute;bottom:0}\\n\", \".scorecard-label-ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.scorecard-label-ellipsis.three-line{-webkit-line-clamp:3}.scorecard-container{height:210px;width:100%}.scorecard-count-container{height:unset;border-top-left-radius:5px;border-top-right-radius:5px;top:0;padding:12px 12px 8px}.scorecard-image{height:50px;width:50px!important}.scorecard-footer{bottom:14px;height:45px}.scorecard-footer-container{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.bg-first-category{background-color:#a7b1b7}.progress,.progress-bar{border-radius:25px}.dashed-line{border-right:2px dashed #dedddd;height:49px;top:-13px}.scorecard-one-punch-incomplete{opacity:.2}.scorecard-punchcard-steps{font-size:12px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.NgbModal }], propDecorators: { scorecard: [{\n type: Input\n }], phaseThree: [{\n type: Input\n }], confettiColors: [{\n type: Input\n }], icon: [{\n type: Input\n }], disabled: [{\n type: Input\n }] } });\n\nclass MilestonesProgressViewComponent {\n constructor(modalService) {\n this.modalService = modalService;\n this.phaseThree = false;\n this.icon = 'info';\n this.disabled = false;\n this.maxMilestone = 0;\n this.allMilestoneSpacing = [];\n this.currentProgressValue = 0;\n this.alignmentOfMilestoneValue = '8%';\n }\n ngOnInit() {\n if (!!this.scorecard.Milestone) {\n this.maxMilestone = this.getMaxMilestone();\n this.getMilestoneSpacing();\n this.getCurrentValueOfProgressBar();\n this.getMilestoneValueSpacing();\n }\n }\n /**\n * Calculate value of\n * progress bar.\n */\n getCurrentValueOfProgressBar() {\n if (this.scorecard.Milestone.MilestoneActionDisplayType === ScorecardMilestoneActionDisplayType.segment) {\n this.calculateProgressBySegment();\n }\n else {\n this.currentProgressValue = (this.scorecard.Milestone.CustomerValue * 100) / this.maxMilestone;\n }\n }\n /**\n * Calculate value of\n * progress bar by segment.\n */\n calculateProgressBySegment() {\n let differenceBetweenMilestones = (1 / this.scorecard.Milestone.Milestones.length) * 100;\n this.scorecard.Milestone.Milestones.every((milestone, i) => {\n if (this.scorecard.Milestone.CustomerValue >= milestone.Value) {\n this.currentProgressValue = this.allMilestoneSpacing[i];\n return true;\n }\n else {\n let currentSegmentTotal = 0;\n let progressInCurrentSegment = 0;\n if (i === 0) {\n currentSegmentTotal = this.scorecard.Milestone.Milestones[0].Value;\n progressInCurrentSegment = this.scorecard.Milestone.CustomerValue;\n }\n else {\n currentSegmentTotal = milestone.Value - this.scorecard.Milestone.Milestones[i - 1].Value;\n progressInCurrentSegment = this.scorecard.Milestone.CustomerValue - this.scorecard.Milestone.Milestones[i - 1].Value;\n }\n this.currentProgressValue =\n this.currentProgressValue + (progressInCurrentSegment / currentSegmentTotal) * differenceBetweenMilestones;\n return false;\n }\n });\n }\n /**\n * Gets max milestone value from\n * the highest value of milestones.\n * @returns Max milestone value\n */\n getMaxMilestone() {\n return Math.max.apply(Math, this.scorecard.Milestone.Milestones.map(function (milestone) {\n return milestone.Value;\n }));\n }\n /**\n * Get accurate spacing\n * between milestones.\n * Will calculate spacing\n * depending on milestone display\n * type. e.g. segment view or\n * value view.\n */\n getMilestoneSpacing() {\n this.scorecard.Milestone.Milestones.forEach((action, i) => {\n let spacingCalculated = 0;\n if (this.scorecard.Milestone.MilestoneActionDisplayType === ScorecardMilestoneActionDisplayType.segment) {\n spacingCalculated = ((i + 1) / this.scorecard.Milestone.Milestones.length) * 100;\n }\n else {\n spacingCalculated = (this.scorecard.Milestone.Milestones[i].Value / this.maxMilestone) * 100;\n }\n this.allMilestoneSpacing.push(spacingCalculated);\n });\n }\n /**\n * Calculate spacing\n * between milestone values\n * under the progress bar\n * according to screen size.\n */\n getMilestoneValueSpacing() {\n let screenSize = window.matchMedia('(max-width: 520px)');\n if (screenSize.matches) {\n this.alignmentOfMilestoneValue = '8%';\n }\n }\n /**\n * Open scorecard description\n * modal.\n */\n openScorecardDescription() {\n if (!this.disabled) {\n const modalRef = this.modalService.open(ScorecardDescriptionModalComponent, {\n centered: true,\n windowClass: 'scorecard-modal-content',\n backdropClass: 'scorecard-modal-backdrop',\n });\n modalRef.componentInstance.confettiColors = this.confettiColors;\n modalRef.componentInstance.phaseThree = this.phaseThree;\n modalRef.componentInstance.scorecard = this.scorecard;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MilestonesProgressViewComponent, deps: [{ token: i1.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MilestonesProgressViewComponent, selector: \"fgbcl-milestones-progress-view\", inputs: { scorecard: \"scorecard\", phaseThree: \"phaseThree\", confettiColors: \"confettiColors\", icon: \"icon\", disabled: \"disabled\" }, ngImport: i0, template: \"\\r\\n \\r\\n\\r\\n\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n

\\r\\n {{ scorecard.Content[0].Name }}\\r\\n

\\r\\n

\\r\\n {{ scorecard.Content[0].ShortDescription }}\\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ scorecard.Milestone.CustomerValue }}/{{ maxMilestone }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n currentProgressValue\\r\\n }\\\"\\r\\n [ngStyle]=\\\"{ left: milestoneSpacing - 3 + '%' }\\\"\\r\\n >
\\r\\n \\r\\n {{ scorecard.Milestone.Milestones[i].Value }}\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\", styles: [\".scorecard-progress-footer{bottom:0}\\n\", \".scorecard-label-ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.scorecard-label-ellipsis.three-line{-webkit-line-clamp:3}.scorecard-container{height:210px;width:100%}.scorecard-count-container{height:unset;border-top-left-radius:5px;border-top-right-radius:5px;top:0;padding:12px 12px 8px}.scorecard-image{height:50px;width:50px!important}.scorecard-footer{bottom:14px;height:45px}.scorecard-footer-container{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.bg-first-category{background-color:#a7b1b7}.progress,.progress-bar{border-radius:25px}.dashed-line{border-right:2px dashed #dedddd;height:49px;top:-13px}.scorecard-one-punch-incomplete{opacity:.2}.scorecard-punchcard-steps{font-size:12px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { kind: \"directive\", type: i3.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"component\", type: ScorecardLockedComponent, selector: \"fgbcl-scorecard-locked\", inputs: [\"scorecard\"] }, { kind: \"pipe\", type: i5.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MilestonesProgressViewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-milestones-progress-view', template: \"\\r\\n \\r\\n\\r\\n\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n

\\r\\n {{ scorecard.Content[0].Name }}\\r\\n

\\r\\n

\\r\\n {{ scorecard.Content[0].ShortDescription }}\\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ scorecard.Milestone.CustomerValue }}/{{ maxMilestone }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n currentProgressValue\\r\\n }\\\"\\r\\n [ngStyle]=\\\"{ left: milestoneSpacing - 3 + '%' }\\\"\\r\\n >
\\r\\n \\r\\n {{ scorecard.Milestone.Milestones[i].Value }}\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\", styles: [\".scorecard-progress-footer{bottom:0}\\n\", \".scorecard-label-ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.scorecard-label-ellipsis.three-line{-webkit-line-clamp:3}.scorecard-container{height:210px;width:100%}.scorecard-count-container{height:unset;border-top-left-radius:5px;border-top-right-radius:5px;top:0;padding:12px 12px 8px}.scorecard-image{height:50px;width:50px!important}.scorecard-footer{bottom:14px;height:45px}.scorecard-footer-container{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.bg-first-category{background-color:#a7b1b7}.progress,.progress-bar{border-radius:25px}.dashed-line{border-right:2px dashed #dedddd;height:49px;top:-13px}.scorecard-one-punch-incomplete{opacity:.2}.scorecard-punchcard-steps{font-size:12px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.NgbModal }], propDecorators: { scorecard: [{\n type: Input\n }], phaseThree: [{\n type: Input\n }], confettiColors: [{\n type: Input\n }], icon: [{\n type: Input\n }], disabled: [{\n type: Input\n }] } });\n\nclass ScorecardNumberViewComponent {\n constructor(modalService) {\n this.modalService = modalService;\n this.phaseThree = false;\n this.icon = 'info';\n this.disabled = false;\n this.preventMultipleClick = false;\n }\n ngOnInit() { }\n openScorecardDescription() {\n if (!this.disabled) {\n const modalRef = this.modalService.open(ScorecardDescriptionModalComponent, {\n centered: true,\n windowClass: 'scorecard-modal-content',\n backdropClass: 'scorecard-modal-backdrop',\n });\n modalRef.componentInstance.confettiColors = this.confettiColors;\n modalRef.componentInstance.phaseThree = this.phaseThree;\n modalRef.componentInstance.scorecard = this.scorecard;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardNumberViewComponent, deps: [{ token: i1.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ScorecardNumberViewComponent, selector: \"fgbcl-scorecard-number-view\", inputs: { scorecard: \"scorecard\", phaseThree: \"phaseThree\", confettiColors: \"confettiColors\", icon: \"icon\", disabled: \"disabled\" }, ngImport: i0, template: \"\\r\\n \\r\\n\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n

\\r\\n {{ scorecard.Content[0].Name }}\\r\\n

\\r\\n

\\r\\n {{ scorecard.Content[0].ShortDescription }}\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ scorecard.ActionsCompleted\\r\\n }}/{{ scorecard.Actions.length }}\\r\\n

\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\".result{font-size:1.875rem;font-weight:500;margin-bottom:.5rem}\\n\", \".scorecard-label-ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.scorecard-label-ellipsis.three-line{-webkit-line-clamp:3}.scorecard-container{height:210px;width:100%}.scorecard-count-container{height:unset;border-top-left-radius:5px;border-top-right-radius:5px;top:0;padding:12px 12px 8px}.scorecard-image{height:50px;width:50px!important}.scorecard-footer{bottom:14px;height:45px}.scorecard-footer-container{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.bg-first-category{background-color:#a7b1b7}.progress,.progress-bar{border-radius:25px}.dashed-line{border-right:2px dashed #dedddd;height:49px;top:-13px}.scorecard-one-punch-incomplete{opacity:.2}.scorecard-punchcard-steps{font-size:12px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"component\", type: ScorecardLockedComponent, selector: \"fgbcl-scorecard-locked\", inputs: [\"scorecard\"] }, { kind: \"pipe\", type: i5.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardNumberViewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-scorecard-number-view', template: \"\\r\\n \\r\\n\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n

\\r\\n {{ scorecard.Content[0].Name }}\\r\\n

\\r\\n

\\r\\n {{ scorecard.Content[0].ShortDescription }}\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ scorecard.ActionsCompleted\\r\\n }}/{{ scorecard.Actions.length }}\\r\\n

\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\".result{font-size:1.875rem;font-weight:500;margin-bottom:.5rem}\\n\", \".scorecard-label-ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.scorecard-label-ellipsis.three-line{-webkit-line-clamp:3}.scorecard-container{height:210px;width:100%}.scorecard-count-container{height:unset;border-top-left-radius:5px;border-top-right-radius:5px;top:0;padding:12px 12px 8px}.scorecard-image{height:50px;width:50px!important}.scorecard-footer{bottom:14px;height:45px}.scorecard-footer-container{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.bg-first-category{background-color:#a7b1b7}.progress,.progress-bar{border-radius:25px}.dashed-line{border-right:2px dashed #dedddd;height:49px;top:-13px}.scorecard-one-punch-incomplete{opacity:.2}.scorecard-punchcard-steps{font-size:12px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.NgbModal }], propDecorators: { scorecard: [{\n type: Input\n }], phaseThree: [{\n type: Input\n }], confettiColors: [{\n type: Input\n }], icon: [{\n type: Input\n }], disabled: [{\n type: Input\n }] } });\n\nclass ScorecardCarouselComponent {\n constructor(scorecardQuery, scorecardService) {\n this.scorecardQuery = scorecardQuery;\n this.scorecardService = scorecardService;\n this.isDragging = false;\n this.scorecardDisplayType = ScorecardDisplayType;\n this.icon = 'info';\n this.phaseThree = false;\n this.showPlaceholder = false;\n this.link = '/challenges';\n this.customOptions = {\n margin: 8,\n autoWidth: true,\n pullDrag: true,\n autoplay: false,\n autoplayTimeout: OwlCarouselSettings.AutoplayTimeout,\n autoplaySpeed: OwlCarouselSettings.AutoplaySpeed,\n navSpeed: 700,\n nav: false,\n dots: true,\n responsive: { 0: { items: 1 }, 900: { items: 3 } },\n };\n }\n ngOnInit() {\n this.scorecardService.fetchScorecards().toPromise();\n this.scorecard$ = this.scorecardQuery.selectAll();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardCarouselComponent, deps: [{ token: i1$1.ScorecardQuery }, { token: i1$1.ScorecardService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ScorecardCarouselComponent, selector: \"fgbcl-scorecard-carousel\", inputs: { showAllView: \"showAllView\", icon: \"icon\", phaseThree: \"phaseThree\", confettiColors: \"confettiColors\", showPlaceholder: \"showPlaceholder\", link: \"link\" }, ngImport: i0, template: \"\\r\\n
0\\\">\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'badge.featured.challenges.show.all.link' | translate }}\\r\\n arrow_forward_ios\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'scorecards.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".bg-carousel{min-height:315px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i2.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i3$1.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"directive\", type: i3.CustomOwlCarousel, selector: \"owl-carousel-o\" }, { kind: \"component\", type: i5$1.CarouselComponent, selector: \"owl-carousel-o\", inputs: [\"options\"], outputs: [\"translated\", \"dragging\", \"change\", \"changed\", \"initialized\"] }, { kind: \"directive\", type: i5$1.CarouselSlideDirective, selector: \"ng-template[carouselSlide]\", inputs: [\"id\", \"dataMerge\", \"width\", \"dotContent\", \"dataHash\"] }, { kind: \"component\", type: ScorecardPunchcardViewComponent, selector: \"fgbcl-scorecard-punchcard-view\", inputs: [\"scorecard\", \"phaseThree\", \"confettiColors\", \"icon\", \"disabled\"] }, { kind: \"component\", type: MilestonesProgressViewComponent, selector: \"fgbcl-milestones-progress-view\", inputs: [\"scorecard\", \"phaseThree\", \"confettiColors\", \"icon\", \"disabled\"] }, { kind: \"component\", type: ScorecardNumberViewComponent, selector: \"fgbcl-scorecard-number-view\", inputs: [\"scorecard\", \"phaseThree\", \"confettiColors\", \"icon\", \"disabled\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardCarouselComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-scorecard-carousel', template: \"\\r\\n
0\\\">\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'badge.featured.challenges.show.all.link' | translate }}\\r\\n arrow_forward_ios\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'scorecards.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".bg-carousel{min-height:315px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1$1.ScorecardQuery }, { type: i1$1.ScorecardService }], propDecorators: { showAllView: [{\n type: Input\n }], icon: [{\n type: Input\n }], phaseThree: [{\n type: Input\n }], confettiColors: [{\n type: Input\n }], showPlaceholder: [{\n type: Input\n }], link: [{\n type: Input\n }] } });\n\nclass ScorecardListViewComponent {\n constructor(scorecardQuery, scorecardService) {\n this.scorecardQuery = scorecardQuery;\n this.scorecardService = scorecardService;\n this.scorecardDisplayType = ScorecardDisplayType;\n this.icon = 'info';\n this.phaseThree = false;\n this.showPlaceholder = false;\n }\n ngOnInit() {\n this.scorecardService.fetchScorecards().toPromise();\n this.scorecard$ = this.scorecardQuery.selectAll();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardListViewComponent, deps: [{ token: i1$1.ScorecardQuery }, { token: i1$1.ScorecardService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ScorecardListViewComponent, selector: \"fgbcl-scorecard-list-view\", inputs: { icon: \"icon\", phaseThree: \"phaseThree\", confettiColors: \"confettiColors\", showPlaceholder: \"showPlaceholder\" }, ngImport: i0, template: \"\\r\\n
0\\\">\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'scorecards.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i2.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"component\", type: ScorecardSponserViewComponent, selector: \"fgbcl-scorecard-sponser-view\", inputs: [\"scorecard\"] }, { kind: \"component\", type: ScorecardPunchcardViewComponent, selector: \"fgbcl-scorecard-punchcard-view\", inputs: [\"scorecard\", \"phaseThree\", \"confettiColors\", \"icon\", \"disabled\"] }, { kind: \"component\", type: MilestonesProgressViewComponent, selector: \"fgbcl-milestones-progress-view\", inputs: [\"scorecard\", \"phaseThree\", \"confettiColors\", \"icon\", \"disabled\"] }, { kind: \"component\", type: ScorecardNumberViewComponent, selector: \"fgbcl-scorecard-number-view\", inputs: [\"scorecard\", \"phaseThree\", \"confettiColors\", \"icon\", \"disabled\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardListViewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-scorecard-list-view', template: \"\\r\\n
0\\\">\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'scorecards.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1$1.ScorecardQuery }, { type: i1$1.ScorecardService }], propDecorators: { icon: [{\n type: Input\n }], phaseThree: [{\n type: Input\n }], confettiColors: [{\n type: Input\n }], showPlaceholder: [{\n type: Input\n }] } });\n\nclass ScorecardModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardModule, declarations: [ScorecardCarouselComponent,\n ScorecardDescriptionModalComponent,\n ScorecardDescriptionModalCarouselComponent,\n ScorecardListViewComponent,\n ScorecardPrizeSelectionComponent,\n ScorecardSponserViewComponent,\n ScorecardPunchcardViewComponent,\n MilestonesProgressViewComponent,\n ScorecardNumberViewComponent,\n ScorecardLockedComponent], imports: [CommonModule,\n PipesModule,\n ShortLongDescriptionModule,\n NgbModule,\n ErrorsModule,\n RouterModule,\n DirectivesModule,\n QRCodeModule,\n CarouselModule,\n FGBSharedModule], exports: [ScorecardCarouselComponent, ScorecardListViewComponent, ScorecardDescriptionModalComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardModule, imports: [CommonModule,\n PipesModule,\n ShortLongDescriptionModule,\n NgbModule,\n ErrorsModule,\n RouterModule,\n DirectivesModule,\n QRCodeModule,\n CarouselModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n ScorecardCarouselComponent,\n ScorecardDescriptionModalComponent,\n ScorecardDescriptionModalCarouselComponent,\n ScorecardListViewComponent,\n ScorecardPrizeSelectionComponent,\n ScorecardSponserViewComponent,\n ScorecardPunchcardViewComponent,\n MilestonesProgressViewComponent,\n ScorecardNumberViewComponent,\n ScorecardLockedComponent,\n ],\n imports: [\n CommonModule,\n PipesModule,\n ShortLongDescriptionModule,\n NgbModule,\n ErrorsModule,\n RouterModule,\n DirectivesModule,\n QRCodeModule,\n CarouselModule,\n FGBSharedModule\n ],\n exports: [ScorecardCarouselComponent, ScorecardListViewComponent, ScorecardDescriptionModalComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MilestonesProgressViewComponent, ScorecardCarouselComponent, ScorecardDescriptionModalCarouselComponent, ScorecardDescriptionModalComponent, ScorecardListViewComponent, ScorecardLockedComponent, ScorecardModule, ScorecardNumberViewComponent, ScorecardPrizeSelectionComponent, ScorecardPunchcardViewComponent, ScorecardSponserViewComponent };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { of, timer } from 'rxjs';\nimport { map, filter, tap } from 'rxjs/operators';\nimport moment from 'moment/moment';\n\nclass CountdownComponent {\n constructor() {\n /** The time that the end date was requested - used to return time remaining more accurately than using moment.utc */\n this.requestDateTime = '';\n /** The text to display in the countdown upon expiry. */\n this.completeText = 'Complete';\n /** determines whether component will receive local or utc time. default is utc. */\n this.isUTC = true;\n /** Emitted upon countdown expiry. */\n this.complete = new EventEmitter();\n this.completed = false;\n }\n ngOnInit() {\n this.setTimer(this.endDateTime);\n }\n ngOnChanges(changes) {\n if (changes.endDateTime) {\n this.setTimer(changes.endDateTime.currentValue);\n }\n }\n /**\n * Sets the countdown timer relative to the supplied endDateTime.\n * @param endDateTime The time that the countdown should end as a UTC date.\n */\n setTimer(endDateTime) {\n this.endDate = this.isUTC ? moment.utc(endDateTime) : moment.utc(new Date(endDateTime).toUTCString());\n this.setRequestDate();\n if (this.endDate < this.requestDate) {\n this.completed = true;\n this.complete.emit(this.completed);\n this.formattedTime$ = of(this.completeText);\n }\n else {\n this.completed = false;\n this.formattedTime$ = timer(0, 1000).pipe(\n // convert interval into remaining time in seconds\n map(() => {\n this.setRequestDate();\n let utcNow = this.requestDate;\n return Math.floor(this.endDate.diff(utcNow, 'seconds'));\n }), \n // stop emission after complete\n filter(() => !this.completed), \n // emit on complete\n tap((t) => {\n if (t <= 0) {\n this.completed = true;\n this.complete.emit(this.completed);\n }\n }), map(this.formatRemainingTime));\n }\n }\n setRequestDate() {\n this.requestDate = this.requestDateTime.length > 0 ? moment(this.requestDateTime) : moment.utc();\n this.requestDate = this.isUTC ? moment.utc(this.requestDate) : moment.utc();\n }\n formatRemainingTime(seconds) {\n const days = Math.floor(seconds / 86400);\n const hours = Math.floor(seconds / 3600);\n const minutes = Math.floor(seconds / 60);\n if (days) {\n const remainderHours = Math.floor((seconds % 86400) / 3600);\n return `${days}D ${remainderHours}H`;\n }\n else if (hours) {\n const remainderMinutes = Math.floor((seconds % 3600) / 60);\n return `${hours}H ${remainderMinutes}M`;\n }\n else if (minutes) {\n const remainderSeconds = seconds % 60;\n return `${minutes}M ${remainderSeconds}S`;\n }\n else {\n return `${seconds}S`;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CountdownComponent, selector: \"fgbcl-countdown\", inputs: { endDateTime: \"endDateTime\", requestDateTime: \"requestDateTime\", completeText: \"completeText\", isUTC: \"isUTC\" }, outputs: { complete: \"complete\" }, usesOnChanges: true, ngImport: i0, template: \"\\r\\n {{ formattedTime$ | async }}\\r\\n\\r\\n\\r\\n \\r\\n {{ completeText }}\\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i1.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountdownComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-countdown', template: \"\\r\\n {{ formattedTime$ | async }}\\r\\n\\r\\n\\r\\n \\r\\n {{ completeText }}\\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { endDateTime: [{\n type: Input\n }], requestDateTime: [{\n type: Input\n }], completeText: [{\n type: Input\n }], isUTC: [{\n type: Input\n }], complete: [{\n type: Output\n }] } });\n\nclass CountdownModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: CountdownModule, declarations: [CountdownComponent], imports: [CommonModule], exports: [CountdownComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountdownModule, imports: [CommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountdownModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [CountdownComponent],\n imports: [CommonModule],\n exports: [CountdownComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CountdownComponent, CountdownModule };\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ProcessProviderId } from '@fgb/core';\n\nclass LoyaltyIconComponent {\n constructor() {\n this.gIconAuction = 'gavel';\n this.gIconLotto = 'confirmation_number';\n this.gIconMarketplace = 'shopping_bag';\n this.gIconWallet = 'account_balance_wallet';\n this.gIconWalletRedeemed = 'shopping_bag';\n this.gIconMarketplaceFortressGb = 'shopping_bag';\n this.gIconMarketplaceUniqueCode = 'qr_code';\n this.gIconMarketplaceDownload = 'file_download';\n this.gIconMarketplaceEvent = 'local_activity';\n this.gIconMarketplacePortalProduct = 'redeem';\n this.gIconMarketplaceVirtualEvent = 'local_activity';\n }\n ngOnInit() {\n switch (this.loyaltyType) {\n case 'auction':\n this.gIcon = this.gIconAuction;\n break;\n case 'lotto':\n this.gIcon = this.gIconLotto;\n break;\n case 'wallet':\n this.gIcon = this.gIconWallet;\n break;\n case 'walletRedeemed':\n this.gIcon = this.gIconWalletRedeemed;\n break;\n case ProcessProviderId.FortressGB:\n this.gIcon = this.gIconMarketplaceFortressGb;\n break;\n case ProcessProviderId.UniqueCode:\n this.gIcon = this.gIconMarketplaceUniqueCode;\n break;\n case ProcessProviderId.Download:\n this.gIcon = this.gIconMarketplaceDownload;\n break;\n case ProcessProviderId.Event:\n this.gIcon = this.gIconMarketplaceEvent;\n break;\n case ProcessProviderId.Product:\n this.gIcon = this.gIconMarketplacePortalProduct;\n break;\n case ProcessProviderId.VirtualEvent:\n this.gIcon = this.gIconMarketplaceVirtualEvent;\n break;\n default:\n this.gIcon = this.gIconMarketplace;\n break;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LoyaltyIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: LoyaltyIconComponent, selector: \"fgbcl-loyalty-icon\", inputs: { loyaltyType: \"loyaltyType\" }, ngImport: i0, template: \"{{ gIcon }}\\r\\n\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LoyaltyIconComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-loyalty-icon', template: \"{{ gIcon }}\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { loyaltyType: [{\n type: Input\n }] } });\n\nclass LoyaltyIconModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LoyaltyIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: LoyaltyIconModule, declarations: [LoyaltyIconComponent], imports: [CommonModule], exports: [LoyaltyIconComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LoyaltyIconModule, imports: [CommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LoyaltyIconModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [LoyaltyIconComponent],\n imports: [CommonModule],\n exports: [LoyaltyIconComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { LoyaltyIconComponent, LoyaltyIconModule };\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport { AuctionStatus, config, AUCTION_STATE, LOYALTY_STATUS, AUCTION_TEXT_COLOR } from '@fgb/core';\nimport { DateTime } from 'luxon';\nimport * as i3 from '@fgb/portal-component-library/src/lib/shared/countdown';\nimport { CountdownModule } from '@fgb/portal-component-library/src/lib/shared/countdown';\nimport * as i4 from '@fgb/portal-component-library/src/lib/directives';\nimport { DirectivesModule, IfItemEnabled } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i5 from 'ngx-owl-carousel-o';\nimport { CarouselModule } from 'ngx-owl-carousel-o';\nimport * as i6 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i7 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { LoyaltyIconModule } from '@fgb/portal-component-library/src/lib/shared/loyalty-icon';\nimport { RouterModule } from '@angular/router';\n\nclass AuctionPanelComponent {\n constructor(balanceQuery) {\n this.balanceQuery = balanceQuery;\n this.ignoreLink = false;\n this.auctionStatus = AuctionStatus;\n this.config = config;\n this.AUCTION_STATE = AUCTION_STATE;\n this.state = LOYALTY_STATUS;\n }\n ngOnInit() {\n this.loyaltyPointsSub = this.balanceQuery.selectPurse(this.config.purseConfig.virtualLoyalty).subscribe((bal) => {\n this.loyaltyPointsCard = bal ?? 0;\n });\n const requestTime = DateTime.fromISO(this.auctionItem.RequestTime, { zone: 'utc' });\n const startDate = DateTime.fromISO(this.auctionItem?.StartDate, { zone: 'utc' });\n this.isComingSoon = this.auctionItem.ComingSoon && startDate > requestTime;\n this.isWinning = this.auctionItem.IsWinning === 0 ? false : true;\n this.currentValue = this.auctionItem.CurrentValue;\n this.endDate = this.auctionItem.EndDate;\n this._updateStatus();\n this.getStockAvailableState();\n }\n ngOnDestroy() {\n if (this.loyaltyPointsSub) {\n this.loyaltyPointsSub.unsubscribe();\n }\n }\n _updateStatus() {\n this.theme = 'disabled';\n if (this.auctionItem.ComingSoon && this.isComingSoon) {\n this.statusText = AUCTION_STATE.COMING_SOON;\n this.theme = 'coming-soon';\n }\n else if ((!this.isWinning && this.auctionItem.CurrentValue > this.loyaltyPointsCard) ||\n this.auctionItem.BidIncrement > this.loyaltyPointsCard) {\n this.statusText = AUCTION_STATE.NOT_ENOUGH_POINT;\n this.theme = 'not-enough-points';\n }\n else {\n this.statusText = '';\n this.allowBids = true;\n this.theme = 'auction';\n }\n }\n getStockAvailableState() {\n [this.stockAvailableState, this.textColor] = this.handleStockAvailable(this.auctionItem);\n }\n handleStockAvailable(auctionItem) {\n if (!auctionItem)\n return ['', this.theme];\n // New Stock\n const startDate = DateTime.fromISO(auctionItem.StartDate, { zone: 'utc' });\n const now = DateTime.utc();\n const days = now.diff(startDate, 'days').days;\n const threeDays = 3;\n if (days <= threeDays)\n return [AUCTION_STATE.NEW, AUCTION_TEXT_COLOR.NEW];\n // Stock Favourite\n if (auctionItem.Favourite)\n return [AUCTION_STATE.FEATURED, AUCTION_TEXT_COLOR.GREEN];\n else\n return ['', this.theme];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionPanelComponent, deps: [{ token: i1.BalanceQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: AuctionPanelComponent, selector: \"fgbcl-auction-panel\", inputs: { auctionItem: \"auctionItem\", ignoreLink: \"ignoreLink\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n \\r\\n
{{ statusText | translate }}
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n star\\r\\n \\r\\n {{ stockAvailableState | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
{{ auctionItem.ItemName }}
\\r\\n\\r\\n \\r\\n
{{ currentValue | FortressCurrencyPipe : 'PTS' }}
\\r\\n\\r\\n\", styles: [\".featured-state{padding-left:5px}.icon-state{margin-top:8px;margin-left:-2px}.lotto-state-timer{margin-top:8px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i2.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"component\", type: i3.CountdownComponent, selector: \"fgbcl-countdown\", inputs: [\"endDateTime\", \"requestDateTime\", \"completeText\", \"isUTC\"], outputs: [\"complete\"] }, { kind: \"directive\", type: i4.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"directive\", type: i4.IfItemEnabled, selector: \"[ifItemEnabled]\", inputs: [\"ifItemEnabled\", \"ifItemEnabledDisabledStatus\", \"ifItemEnabledElse\"], exportAs: [\"itemEnabled\"] }, { kind: \"directive\", type: i5.OwlRouterLinkWithHrefDirective, selector: \"a[owlRouterLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"stopLink\", \"owlRouterLink\", \"preserveQueryParams\"] }, { kind: \"pipe\", type: i6.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.FortressCurrencyPipe, name: \"FortressCurrencyPipe\" }, { kind: \"pipe\", type: i7.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionPanelComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-auction-panel', template: \"
\\r\\n \\r\\n \\r\\n \\r\\n
{{ statusText | translate }}
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n star\\r\\n \\r\\n {{ stockAvailableState | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
{{ auctionItem.ItemName }}
\\r\\n\\r\\n \\r\\n
{{ currentValue | FortressCurrencyPipe : 'PTS' }}
\\r\\n\\r\\n\", styles: [\".featured-state{padding-left:5px}.icon-state{margin-top:8px;margin-left:-2px}.lotto-state-timer{margin-top:8px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.BalanceQuery }], propDecorators: { auctionItem: [{\n type: Input\n }], ignoreLink: [{\n type: Input\n }] } });\n\nclass AuctionPanelModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionPanelModule, declarations: [AuctionPanelComponent], imports: [CommonModule,\n PipesModule,\n CountdownModule,\n LoyaltyIconModule,\n DirectivesModule,\n RouterModule,\n IfItemEnabled,\n FGBSharedModule,\n CarouselModule], exports: [AuctionPanelComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionPanelModule, imports: [CommonModule,\n PipesModule,\n CountdownModule,\n LoyaltyIconModule,\n DirectivesModule,\n RouterModule,\n FGBSharedModule,\n CarouselModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionPanelModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [AuctionPanelComponent],\n imports: [\n CommonModule,\n PipesModule,\n CountdownModule,\n LoyaltyIconModule,\n DirectivesModule,\n RouterModule,\n IfItemEnabled,\n FGBSharedModule,\n CarouselModule,\n ],\n exports: [AuctionPanelComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AuctionPanelComponent, AuctionPanelModule };\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { MarketplaceItemStatus, MARKETPLACE_STATE, TEXT_COLOR } from '@fgb/core';\nimport { DateTime } from 'luxon';\nimport * as i2 from '@fgb/portal-component-library/src/lib/directives';\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i3 from 'ngx-owl-carousel-o';\nimport { CarouselModule } from 'ngx-owl-carousel-o';\nimport * as i4 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i5 from '@ngx-translate/core';\nimport { LoyaltyIconModule } from '@fgb/portal-component-library/src/lib/shared/loyalty-icon';\nimport { RouterModule } from '@angular/router';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass MarketplaceListItemComponent {\n constructor() {\n this.ignoreLink = false;\n this.status = MarketplaceItemStatus;\n this.MARKETPLACE = MARKETPLACE_STATE;\n }\n ngOnInit() {\n this._updateTheme();\n if (this.marketplaceItem?.Status)\n this._updateStatusText();\n else\n this.getStockAvailableState();\n }\n getStockAvailableState() {\n [this.stockAvailableState, this.textColor] = this.handleStockAvailable(this.marketplaceItem);\n }\n _updateStatusText() {\n switch (this.marketplaceItem?.Status) {\n case MarketplaceItemStatus.SoldOut:\n this.statusText = MARKETPLACE_STATE.SOLD_OUT;\n this.theme = 'sold-out';\n break;\n case MarketplaceItemStatus.NotEnoughPoints:\n this.statusText = MARKETPLACE_STATE.NOT_ENOUGH_POINT;\n this.theme = 'not-enough-points';\n break;\n case MarketplaceItemStatus.ComingSoon:\n this.statusText = MARKETPLACE_STATE.COMING_SOON;\n this.theme = 'coming-soon';\n break;\n case MarketplaceItemStatus.MemberLimitReached:\n this.statusText = MARKETPLACE_STATE.LIMIT_REACHED;\n this.theme = 'limit-reached';\n break;\n case MarketplaceItemStatus.AllInBasket:\n this.statusText = MARKETPLACE_STATE.ALL_IN_BASKET;\n default:\n return;\n }\n }\n _updateTheme() {\n if (this.marketplaceItem?.Status === MarketplaceItemStatus.Available)\n this.theme = this.marketplaceItem?.theme;\n else\n this.theme = 'disabled';\n }\n handleStockAvailable(marketplaceItem) {\n if (!marketplaceItem)\n return ['', this.theme];\n const stockCount = marketplaceItem.AvailabilityCount;\n // Limited stock\n if (stockCount > 5 && stockCount <= 10)\n return [MARKETPLACE_STATE.LIMITED, TEXT_COLOR.RED];\n // Stock count left\n if (stockCount > 0 && stockCount <= 5)\n return [MARKETPLACE_STATE.REMAINING, TEXT_COLOR.RED];\n // New Stock\n const startDate = DateTime.fromISO(marketplaceItem.ItemStartDate, { zone: 'utc' });\n const requestTime = DateTime.fromISO(marketplaceItem.RequestTime, { zone: 'utc' });\n const days = requestTime.diff(startDate, 'days').days;\n // New Stock\n const threeDays = 3;\n if (days <= threeDays)\n return [MARKETPLACE_STATE.NEW, TEXT_COLOR.NEW];\n // Stock Favourite\n if (marketplaceItem.Favourite)\n return [MARKETPLACE_STATE.FEATURED, TEXT_COLOR.GREEN];\n else\n return ['', this.theme];\n }\n get hasSponsor() {\n return !!this.marketplaceItem?.Sponsor?.SponsorImage;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"17.2.1\", type: MarketplaceListItemComponent, selector: \"fgbcl-marketplace-list-item\", inputs: { marketplaceItem: \"marketplaceItem\", ignoreLink: \"ignoreLink\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n @if (marketplaceItem.Locked) {\\r\\n
\\r\\n lock\\r\\n {{ 'reward.status.locked' | translate }}\\r\\n
\\r\\n } @else if (statusText) {\\r\\n
{{ statusText | translate }}
\\r\\n }\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n star\\r\\n \\r\\n \\r\\n {{ marketplaceItem.AvailabilityCount }}\\r\\n \\r\\n\\r\\n {{ stockAvailableState | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
{{ marketplaceItem.DisplayName }}
\\r\\n \\r\\n \\r\\n \\r\\n
{{ marketplaceItem.PointValue | FortressCurrencyPipe : 'PTS' }}
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
{{ marketplaceItem.EcashValue / 100 | FortressCurrencyPipe }}
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n {{ marketplaceItem.MerchantValue / 100 | FortressCurrencyPipe }}\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".icon-state{margin-top:8px;margin-left:-2px}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"directive\", type: i3.OwlRouterLinkWithHrefDirective, selector: \"a[owlRouterLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"stopLink\", \"owlRouterLink\", \"preserveQueryParams\"] }, { kind: \"pipe\", type: i4.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i4.FortressCurrencyPipe, name: \"FortressCurrencyPipe\" }, { kind: \"pipe\", type: i5.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-marketplace-list-item', template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n @if (marketplaceItem.Locked) {\\r\\n
\\r\\n lock\\r\\n {{ 'reward.status.locked' | translate }}\\r\\n
\\r\\n } @else if (statusText) {\\r\\n
{{ statusText | translate }}
\\r\\n }\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n star\\r\\n \\r\\n \\r\\n {{ marketplaceItem.AvailabilityCount }}\\r\\n \\r\\n\\r\\n {{ stockAvailableState | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
{{ marketplaceItem.DisplayName }}
\\r\\n \\r\\n \\r\\n \\r\\n
{{ marketplaceItem.PointValue | FortressCurrencyPipe : 'PTS' }}
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
{{ marketplaceItem.EcashValue / 100 | FortressCurrencyPipe }}
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n {{ marketplaceItem.MerchantValue / 100 | FortressCurrencyPipe }}\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".icon-state{margin-top:8px;margin-left:-2px}\\n\"] }]\n }], ctorParameters: () => [], propDecorators: { marketplaceItem: [{\n type: Input\n }], ignoreLink: [{\n type: Input\n }] } });\n\nclass MarketplaceListItemModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListItemModule, declarations: [MarketplaceListItemComponent], imports: [CommonModule,\n LoyaltyIconModule,\n PipesModule,\n DirectivesModule,\n RouterModule,\n CarouselModule,\n FGBSharedModule], exports: [MarketplaceListItemComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListItemModule, imports: [CommonModule,\n LoyaltyIconModule,\n PipesModule,\n DirectivesModule,\n RouterModule,\n CarouselModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListItemModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MarketplaceListItemComponent],\n imports: [\n CommonModule,\n LoyaltyIconModule,\n PipesModule,\n DirectivesModule,\n RouterModule,\n CarouselModule,\n FGBSharedModule\n ],\n exports: [MarketplaceListItemComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MarketplaceListItemComponent, MarketplaceListItemModule };\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport { config, ItemLoyaltyState, LOTTO_STATE, LOYALTY_STATUS, LOTTO_TEXT_COLOR } from '@fgb/core';\nimport { DateTime } from 'luxon';\nimport { take } from 'rxjs/operators';\nimport * as i3 from '@fgb/portal-component-library/src/lib/shared/countdown';\nimport { CountdownModule } from '@fgb/portal-component-library/src/lib/shared/countdown';\nimport * as i4 from '@fgb/portal-component-library/src/lib/directives';\nimport { DirectivesModule, IfItemEnabled } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i5 from 'ngx-owl-carousel-o';\nimport { CarouselModule } from 'ngx-owl-carousel-o';\nimport * as i6 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i7 from '@ngx-translate/core';\nimport { LoyaltyIconModule } from '@fgb/portal-component-library/src/lib/shared/loyalty-icon';\nimport { RouterModule } from '@angular/router';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass LottosListItemComponent {\n constructor(balanceQuery) {\n this.balanceQuery = balanceQuery;\n this.ignoreLink = false;\n this.available = false;\n this.config = config;\n this.status = ItemLoyaltyState;\n this.isNotEnoughPoints = false;\n this.showLotto = true;\n this.LOTTO_STATE = LOTTO_STATE;\n this.state = LOYALTY_STATUS;\n }\n ngOnInit() {\n const requestTime = DateTime.fromISO(this.lottoItem.RequestTime, { zone: 'utc' });\n const startDate = DateTime.fromISO(this.lottoItem?.StartDate, { zone: 'utc' });\n if (this.lottoItem) {\n if (startDate > requestTime) {\n this.showLotto = false;\n }\n else {\n this.showLotto = true;\n }\n }\n // tslint:disable-next-line: no-bitwise\n if (this.lottoItem.AllowComingSoon === ItemLoyaltyState.ComingSoon && !this.showLotto) {\n this.statusText = LOTTO_STATE.COMING_SOON;\n this.theme = 'coming-soon';\n }\n else if (this.lottoItem.ItemState === ItemLoyaltyState.OutOfStock) {\n this.statusText = LOTTO_STATE.SOLD_OUT;\n this.theme = 'sold-out';\n }\n else if (this.lottoItem.ItemState === ItemLoyaltyState.ItemLimitReached) {\n this.statusText = LOTTO_STATE.LIMIT_REACHED;\n this.theme = 'limit-reached';\n }\n else {\n this.balanceQuery\n .selectPurse(this.config.purseConfig.virtualLoyalty)\n .pipe(take(1))\n .subscribe((bal) => {\n let currentBal = bal ?? 0;\n if (currentBal < this.lottoItem.PurchasePrice) {\n this.isNotEnoughPoints = true;\n this.statusText = LOTTO_STATE.NOT_ENOUGH_POINT;\n this.theme = 'not-enough-points';\n }\n else if (this.lottoItem.DisableManualEntry === true && this.lottoItem.ShowOnDisableManualEntry === false) {\n this.statusText = LOTTO_STATE.VIEW;\n }\n else if (this.lottoItem.ShowOnDisableManualEntry === true && this.lottoItem.NumberOfTicketsPurchased === 0) {\n this.statusText = LOTTO_STATE.LOCKED;\n }\n else if (this.lottoItem.ShowOnDisableManualEntry && this.lottoItem.NumberOfTicketsPurchased > 0) {\n this.statusText = LOTTO_STATE.ENTERED;\n }\n else {\n this.statusText = '';\n this.available = true;\n }\n });\n }\n this.getStockAvailableState();\n }\n getStockAvailableState() {\n [this.stockAvailableState, this.textColor] = this.handleStockAvailable(this.lottoItem);\n }\n handleStockAvailable(lottoItem) {\n if (!lottoItem)\n return ['', this.theme];\n const startDate = DateTime.fromISO(lottoItem.StartDate, { zone: 'utc' });\n const now = DateTime.utc();\n const days = now.diff(startDate, 'days').days;\n // New Stock\n const threeDays = 3;\n if (days <= threeDays)\n return [LOTTO_STATE.NEW, LOTTO_TEXT_COLOR.NEW];\n // Stock Favourite\n if (lottoItem.Favourite)\n return [LOTTO_STATE.FEATURED, LOTTO_TEXT_COLOR.GREEN];\n else\n return ['', this.theme];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListItemComponent, deps: [{ token: i1.BalanceQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"17.2.1\", type: LottosListItemComponent, selector: \"fgbcl-lottos-list-item\", inputs: { lottoItem: \"lottoItem\", ignoreLink: \"ignoreLink\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n {{ ('lotto.my.entries' | translate) + lottoItem.NumberOfTicketsPurchased }} \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n @if (lottoItem.Locked) {\\r\\n
\\r\\n lock\\r\\n {{ 'reward.status.locked' | translate }}\\r\\n
\\r\\n } @else if (statusText) {\\r\\n
{{ statusText | translate }}
\\r\\n }\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n star\\r\\n \\r\\n\\r\\n {{ stockAvailableState | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
{{ lottoItem.Title }}
\\r\\n\\r\\n \\r\\n
{{ lottoItem.PurchasePrice | FortressCurrencyPipe : 'PTS' }}
\\r\\n
\\r\\n\", styles: [\".featured-state{padding-left:5px}.icon-state{margin-top:8px;margin-left:-2px}.lotto-state-timer{margin-top:8px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.CountdownComponent, selector: \"fgbcl-countdown\", inputs: [\"endDateTime\", \"requestDateTime\", \"completeText\", \"isUTC\"], outputs: [\"complete\"] }, { kind: \"directive\", type: i4.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"directive\", type: i4.IfItemEnabled, selector: \"[ifItemEnabled]\", inputs: [\"ifItemEnabled\", \"ifItemEnabledDisabledStatus\", \"ifItemEnabledElse\"], exportAs: [\"itemEnabled\"] }, { kind: \"directive\", type: i5.OwlRouterLinkWithHrefDirective, selector: \"a[owlRouterLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"stopLink\", \"owlRouterLink\", \"preserveQueryParams\"] }, { kind: \"pipe\", type: i6.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.FortressCurrencyPipe, name: \"FortressCurrencyPipe\" }, { kind: \"pipe\", type: i7.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-lottos-list-item', template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n {{ ('lotto.my.entries' | translate) + lottoItem.NumberOfTicketsPurchased }} \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n @if (lottoItem.Locked) {\\r\\n
\\r\\n lock\\r\\n {{ 'reward.status.locked' | translate }}\\r\\n
\\r\\n } @else if (statusText) {\\r\\n
{{ statusText | translate }}
\\r\\n }\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n star\\r\\n \\r\\n\\r\\n {{ stockAvailableState | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
{{ lottoItem.Title }}
\\r\\n\\r\\n \\r\\n
{{ lottoItem.PurchasePrice | FortressCurrencyPipe : 'PTS' }}
\\r\\n
\\r\\n\", styles: [\".featured-state{padding-left:5px}.icon-state{margin-top:8px;margin-left:-2px}.lotto-state-timer{margin-top:8px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.BalanceQuery }], propDecorators: { lottoItem: [{\n type: Input\n }], ignoreLink: [{\n type: Input\n }] } });\n\nclass LottosListItemModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListItemModule, declarations: [LottosListItemComponent], imports: [CommonModule,\n LoyaltyIconModule,\n CountdownModule,\n PipesModule,\n DirectivesModule,\n IfItemEnabled,\n RouterModule,\n CarouselModule,\n FGBSharedModule], exports: [LottosListItemComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListItemModule, imports: [CommonModule,\n LoyaltyIconModule,\n CountdownModule,\n PipesModule,\n DirectivesModule,\n RouterModule,\n CarouselModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListItemModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [LottosListItemComponent],\n imports: [\n CommonModule,\n LoyaltyIconModule,\n CountdownModule,\n PipesModule,\n DirectivesModule,\n IfItemEnabled,\n RouterModule,\n CarouselModule,\n FGBSharedModule\n ],\n exports: [LottosListItemComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { LottosListItemComponent, LottosListItemModule };\n","import * as i0 from '@angular/core';\nimport { Component, Input, HostBinding, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport { FeaturesRewardsItem, marketplaceIdArr, ProcessProviderId } from '@fgb/core';\nimport { sortBy } from '@fgb/portal-component-library/src/lib/shared/utilities';\nimport { map, tap } from 'rxjs/operators';\nimport * as i3$1 from '@fgb/portal-component-library/src/lib/directives';\nimport { DataSourceDirective } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i4$1 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbPaginationModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i2$1 from '@fgb/portal-component-library/src/lib/loyalty/auctions/auction-panel';\nimport { AuctionPanelModule } from '@fgb/portal-component-library/src/lib/loyalty/auctions/auction-panel';\nimport * as i3 from '@fgb/portal-component-library/src/lib/loyalty/marketplace/marketplace-list-item';\nimport { MarketplaceListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/marketplace/marketplace-list-item';\nimport * as i4 from '@fgb/portal-component-library/src/lib/loyalty/lottos/lottos-list-item';\nimport { LottosListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/lottos/lottos-list-item';\nimport * as i6 from '@fgb/portal-component-library/src/lib/shared/loading';\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\nimport * as i7 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass MixedLoyaltyItemComponent {\n get _isDisabled() {\n return this.ignoreLink;\n }\n constructor() {\n this.ignoreLink = false;\n }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MixedLoyaltyItemComponent, selector: \"fgbcl-mixed-loyalty-item\", inputs: { item: \"item\", ignoreLink: \"ignoreLink\" }, host: { properties: { \"class.disabled\": \"this._isDisabled\" } }, ngImport: i0, template: \"\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\", styles: [\":host.disabled{pointer-events:none}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i2.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"component\", type: i2$1.AuctionPanelComponent, selector: \"fgbcl-auction-panel\", inputs: [\"auctionItem\", \"ignoreLink\"] }, { kind: \"component\", type: i3.MarketplaceListItemComponent, selector: \"fgbcl-marketplace-list-item\", inputs: [\"marketplaceItem\", \"ignoreLink\"] }, { kind: \"component\", type: i4.LottosListItemComponent, selector: \"fgbcl-lottos-list-item\", inputs: [\"lottoItem\", \"ignoreLink\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-mixed-loyalty-item', template: \"\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\", styles: [\":host.disabled{pointer-events:none}\\n\"] }]\n }], ctorParameters: () => [], propDecorators: { item: [{\n type: Input\n }], ignoreLink: [{\n type: Input\n }], _isDisabled: [{\n type: HostBinding,\n args: ['class.disabled']\n }] } });\n\nclass MixedLoyaltyListComponent {\n constructor(mixedLoyaltyQuery) {\n this.mixedLoyaltyQuery = mixedLoyaltyQuery;\n this.pageSize = 18;\n this.pageNumber = 1;\n this.filterOptionsList = [];\n this.sortOptions = {\n status: sortBy((a, b) => a.status.status - b.status.status),\n ordinal: sortBy((a, b) => a.data.Ordinal - b.data.Ordinal),\n };\n this.loading = false;\n this.firstLoad = true;\n }\n ngOnInit() {\n this.loading = true;\n this.mixedLoyaltyList$ = this.mixedLoyaltyQuery.selectMixedLoyaltyItems().pipe(map((items) => items.slice(0, this.take)), tap((i) => (this.collectionSize = i.length)));\n this.loading = false;\n this.firstLoad = false;\n }\n ngOnChanges(changes) {\n if (changes.filterOptionsList && this.firstLoad == false) {\n this.loading = true;\n setTimeout(() => {\n this.mixedLoyaltyList$ = this.mixedLoyaltyList$.pipe(map((items) => {\n const listData = items.filter((item) => {\n if (this.filterOptionsList[0] === FeaturesRewardsItem.ALL) {\n return item;\n }\n else {\n // Lottos and Auctions\n if (item.type === FeaturesRewardsItem.Auctions || item.type === FeaturesRewardsItem.Lottos) {\n return this.filterOptionsList.includes(item.type) && item;\n }\n // Events and Marketplace\n if (item.type === FeaturesRewardsItem.Marketplace && item.data.hasOwnProperty('ProcessProviderId')) {\n if (this.filterOptionsList.includes(FeaturesRewardsItem.Events) ||\n this.filterOptionsList.includes(FeaturesRewardsItem.Marketplace)) {\n // Events\n if (marketplaceIdArr.includes(item.data.ProcessProviderId) &&\n this.filterOptionsList.includes(FeaturesRewardsItem.Marketplace)) {\n return item;\n }\n // Marketplace\n if (item.data.ProcessProviderId === ProcessProviderId.Event &&\n this.filterOptionsList.includes(FeaturesRewardsItem.Events)) {\n return item;\n }\n }\n }\n }\n });\n this.collectionSize = listData.length;\n this.pageNumber = 1;\n return listData;\n }));\n this.loading = false;\n }, 500);\n }\n }\n scrollToTop() {\n scrollTo(0, 0);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyListComponent, deps: [{ token: i1.MixedLoyaltyQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MixedLoyaltyListComponent, selector: \"fgbcl-mixed-loyalty-list\", inputs: { onlyFavourites: \"onlyFavourites\", take: \"take\", pageSize: \"pageSize\", pageNumber: \"pageNumber\", filterOptionsList: \"filterOptionsList\", sortOptions: \"sortOptions\" }, usesOnChanges: true, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ 'featured.rewards.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
pageSize\\\">\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3$1.DataSourceDirective, selector: \"[fgbDataSource]\", inputs: [\"dataSource\", \"sortOptions\", \"page\", \"pageSize\"], outputs: [\"dataSourceChange\", \"paginationChange\"] }, { kind: \"component\", type: i4$1.NgbPagination, selector: \"ngb-pagination\", inputs: [\"disabled\", \"boundaryLinks\", \"directionLinks\", \"ellipses\", \"rotate\", \"collectionSize\", \"maxSize\", \"page\", \"pageSize\", \"size\"], outputs: [\"pageChange\"] }, { kind: \"component\", type: MixedLoyaltyItemComponent, selector: \"fgbcl-mixed-loyalty-item\", inputs: [\"item\", \"ignoreLink\"] }, { kind: \"component\", type: i6.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i2.SlicePipe, name: \"slice\" }, { kind: \"pipe\", type: i7.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-mixed-loyalty-list', template: \"
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ 'featured.rewards.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
pageSize\\\">\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.MixedLoyaltyQuery }], propDecorators: { onlyFavourites: [{\n type: Input\n }], take: [{\n type: Input\n }], pageSize: [{\n type: Input\n }], pageNumber: [{\n type: Input\n }], filterOptionsList: [{\n type: Input\n }], sortOptions: [{\n type: Input\n }] } });\n\nclass MixedLoyaltyItemModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyItemModule, declarations: [MixedLoyaltyItemComponent], imports: [CommonModule, AuctionPanelModule, MarketplaceListItemModule, LottosListItemModule], exports: [MixedLoyaltyItemComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyItemModule, imports: [CommonModule, AuctionPanelModule, MarketplaceListItemModule, LottosListItemModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyItemModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MixedLoyaltyItemComponent],\n imports: [CommonModule, AuctionPanelModule, MarketplaceListItemModule, LottosListItemModule],\n exports: [MixedLoyaltyItemComponent],\n }]\n }] });\n\nclass MixedLoyaltyListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyListModule, declarations: [MixedLoyaltyListComponent], imports: [CommonModule, DataSourceDirective, NgbPaginationModule, MixedLoyaltyItemModule, FGBSharedModule, LoadingModule], exports: [MixedLoyaltyListComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyListModule, imports: [CommonModule, NgbPaginationModule, MixedLoyaltyItemModule, FGBSharedModule, LoadingModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MixedLoyaltyListModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MixedLoyaltyListComponent],\n imports: [CommonModule, DataSourceDirective, NgbPaginationModule, MixedLoyaltyItemModule, FGBSharedModule, LoadingModule],\n exports: [MixedLoyaltyListComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MixedLoyaltyItemComponent, MixedLoyaltyItemModule, MixedLoyaltyListComponent, MixedLoyaltyListModule };\n","import * as i0 from '@angular/core';\nimport { signal, Component, Input, HostListener, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { map, tap } from 'rxjs/operators';\nimport { OwlCarouselSettings } from '@fgb/portal-component-library/src/lib/shared/utilities';\nimport * as i1 from '@fgb/core';\nimport * as i3 from 'ngx-owl-carousel-o';\nimport { CarouselModule } from 'ngx-owl-carousel-o';\nimport * as i4 from '@fgb/portal-component-library/src/lib/loyalty/mixed-loyalty';\nimport { MixedLoyaltyItemModule } from '@fgb/portal-component-library/src/lib/loyalty/mixed-loyalty';\nimport * as i5 from '@angular/router';\nimport { RouterModule } from '@angular/router';\nimport * as i6 from '@fgb/portal-component-library/src/lib/directives';\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i7 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nvar RewardWidth;\n(function (RewardWidth) {\n RewardWidth[RewardWidth[\"Destop\"] = 302] = \"Destop\";\n RewardWidth[RewardWidth[\"Tablet\"] = 194] = \"Tablet\";\n RewardWidth[RewardWidth[\"Mobile\"] = 165] = \"Mobile\";\n})(RewardWidth || (RewardWidth = {}));\nclass FeaturedRewardsComponent {\n constructor(mixedLoyaltyService) {\n this.mixedLoyaltyService = mixedLoyaltyService;\n this.showAllPath = '/rewards';\n this.isDragging = false;\n this.customOptions = signal({\n margin: OwlCarouselSettings.Margin,\n autoWidth: true,\n loop: true,\n pullDrag: false,\n autoplay: OwlCarouselSettings.Autoplay,\n autoplayTimeout: OwlCarouselSettings.AutoplayTimeout,\n autoplaySpeed: OwlCarouselSettings.AutoplaySpeed,\n navSpeed: 700,\n navText: ['', ''],\n responsive: {\n 0: { items: 2 },\n 540: { items: 2 },\n 740: { items: 3 },\n },\n dots: true\n });\n }\n onWindowResize(event) {\n this.setRewardsWidth(event?.target.screen.width);\n }\n ngOnInit() {\n this.setRewardsWidth(window.screen.width);\n this.mixedLoyaltyItems$ = this.mixedLoyaltyService\n .selectFavouriteMixedLoyaltyItems()\n .pipe(map((items) => items.slice(0, this.take)), tap(items => items.length < 3 ? this.setLoop(false) : this.setLoop(true)));\n }\n setRewardsWidth(screenSize) {\n if (screenSize >= 992)\n this.rewardsWidth = RewardWidth.Destop;\n if (screenSize < 992 && screenSize >= 425)\n this.rewardsWidth = RewardWidth.Tablet;\n if (screenSize < 425)\n this.rewardsWidth = RewardWidth.Mobile;\n }\n setLoop(value) {\n this.customOptions.update(state => ({ ...state, loop: value }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FeaturedRewardsComponent, deps: [{ token: i1.MixedLoyaltyQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: FeaturedRewardsComponent, selector: \"fgbcl-featured-rewards\", inputs: { take: \"take\", showAllPath: \"showAllPath\", title: \"title\" }, host: { listeners: { \"window:resize\": \"onWindowResize($event)\" } }, ngImport: i0, template: \"\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ title || ('home.page.featured.rewards.title' | translate) }}\\r\\n
\\r\\n \\r\\n {{ 'featured.rewards.show.all' | translate }}\\r\\n arrow_forward_ios\\r\\n \\r\\n
\\r\\n 0\\\">\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".material-icons{font-size:1rem}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.CarouselComponent, selector: \"owl-carousel-o\", inputs: [\"options\"], outputs: [\"translated\", \"dragging\", \"change\", \"changed\", \"initialized\"] }, { kind: \"directive\", type: i3.CarouselSlideDirective, selector: \"ng-template[carouselSlide]\", inputs: [\"id\", \"dataMerge\", \"width\", \"dotContent\", \"dataHash\"] }, { kind: \"component\", type: i4.MixedLoyaltyItemComponent, selector: \"fgbcl-mixed-loyalty-item\", inputs: [\"item\", \"ignoreLink\"] }, { kind: \"directive\", type: i5.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"directive\", type: i6.CustomOwlCarousel, selector: \"owl-carousel-o\" }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i7.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FeaturedRewardsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-featured-rewards', template: \"\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ title || ('home.page.featured.rewards.title' | translate) }}\\r\\n
\\r\\n \\r\\n {{ 'featured.rewards.show.all' | translate }}\\r\\n arrow_forward_ios\\r\\n \\r\\n
\\r\\n 0\\\">\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".material-icons{font-size:1rem}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.MixedLoyaltyQuery }], propDecorators: { take: [{\n type: Input\n }], showAllPath: [{\n type: Input\n }], title: [{\n type: Input\n }], onWindowResize: [{\n type: HostListener,\n args: ['window:resize', ['$event']]\n }] } });\n\nclass FeaturedRewardsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FeaturedRewardsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: FeaturedRewardsModule, declarations: [FeaturedRewardsComponent], imports: [CommonModule, CarouselModule, MixedLoyaltyItemModule, RouterModule, DirectivesModule, FGBSharedModule], exports: [FeaturedRewardsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FeaturedRewardsModule, imports: [CommonModule, CarouselModule, MixedLoyaltyItemModule, RouterModule, DirectivesModule, FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FeaturedRewardsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [FeaturedRewardsComponent],\n imports: [CommonModule, CarouselModule, MixedLoyaltyItemModule, RouterModule, DirectivesModule, FGBSharedModule],\n exports: [FeaturedRewardsComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { FeaturedRewardsComponent, FeaturedRewardsModule };\n","import { ElementRef } from '@angular/core';\n\n/** Coerces a data-bound value (typically a string) to a boolean. */\nfunction coerceBooleanProperty(value) {\n return value != null && `${value}` !== 'false';\n}\n\nfunction coerceNumberProperty(value, fallbackValue = 0) {\n return _isNumberValue(value) ? Number(value) : fallbackValue;\n}\n/**\n * Whether the provided value is considered a number.\n * @docs-private\n */\nfunction _isNumberValue(value) {\n // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n // and other non-number values as NaN, where Number just uses 0) but it considers the string\n // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n return !isNaN(parseFloat(value)) && !isNaN(Number(value));\n}\n\nfunction coerceArray(value) {\n return Array.isArray(value) ? value : [value];\n}\n\n/** Coerces a value to a CSS pixel value. */\nfunction coerceCssPixelValue(value) {\n if (value == null) {\n return '';\n }\n return typeof value === 'string' ? value : `${value}px`;\n}\n\n/**\n * Coerces an ElementRef or an Element into an element.\n * Useful for APIs that can accept either a ref or the native element itself.\n */\nfunction coerceElement(elementOrRef) {\n return elementOrRef instanceof ElementRef ? elementOrRef.nativeElement : elementOrRef;\n}\n\n/**\n * Coerces a value to an array of trimmed non-empty strings.\n * Any input that is not an array, `null` or `undefined` will be turned into a string\n * via `toString()` and subsequently split with the given separator.\n * `null` and `undefined` will result in an empty array.\n * This results in the following outcomes:\n * - `null` -> `[]`\n * - `[null]` -> `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -> `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -> `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -> `[\"[object Object]\"]`\n * - `{ a: 0 }` -> `[\"[object\", \"Object]\"]`\n *\n * Useful for defining CSS classes or table columns.\n * @param value the value to coerce into an array of strings\n * @param separator split-separator if value isn't an array\n */\nfunction coerceStringArray(value, separator = /\\s+/) {\n const result = [];\n if (value != null) {\n const sourceValues = Array.isArray(value) ? value : `${value}`.split(separator);\n for (const sourceValue of sourceValues) {\n const trimmedString = `${sourceValue}`.trim();\n if (trimmedString) {\n result.push(trimmedString);\n }\n }\n }\n return result;\n}\n\nexport { _isNumberValue, coerceArray, coerceBooleanProperty, coerceCssPixelValue, coerceElement, coerceNumberProperty, coerceStringArray };\n","import * as i0 from '@angular/core';\nimport { PLATFORM_ID, Injectable, Inject, NgModule } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\n// Whether the current platform supports the V8 Break Iterator. The V8 check\n// is necessary to detect all Blink based browsers.\nlet hasV8BreakIterator;\n// We need a try/catch around the reference to `Intl`, because accessing it in some cases can\n// cause IE to throw. These cases are tied to particular versions of Windows and can happen if\n// the consumer is providing a polyfilled `Map`. See:\n// https://github.com/Microsoft/ChakraCore/issues/3189\n// https://github.com/angular/components/issues/15687\ntry {\n hasV8BreakIterator = typeof Intl !== 'undefined' && Intl.v8BreakIterator;\n}\ncatch {\n hasV8BreakIterator = false;\n}\n/**\n * Service to detect the current platform by comparing the userAgent strings and\n * checking browser-specific global properties.\n */\nclass Platform {\n constructor(_platformId) {\n this._platformId = _platformId;\n // We want to use the Angular platform check because if the Document is shimmed\n // without the navigator, the following checks will fail. This is preferred because\n // sometimes the Document may be shimmed without the user's knowledge or intention\n /** Whether the Angular application is being rendered in the browser. */\n this.isBrowser = this._platformId\n ? isPlatformBrowser(this._platformId)\n : typeof document === 'object' && !!document;\n /** Whether the current browser is Microsoft Edge. */\n this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent);\n /** Whether the current rendering engine is Microsoft Trident. */\n this.TRIDENT = this.isBrowser && /(msie|trident)/i.test(navigator.userAgent);\n // EdgeHTML and Trident mock Blink specific things and need to be excluded from this check.\n /** Whether the current rendering engine is Blink. */\n this.BLINK = this.isBrowser &&\n !!(window.chrome || hasV8BreakIterator) &&\n typeof CSS !== 'undefined' &&\n !this.EDGE &&\n !this.TRIDENT;\n // Webkit is part of the userAgent in EdgeHTML, Blink and Trident. Therefore we need to\n // ensure that Webkit runs standalone and is not used as another engine's base.\n /** Whether the current rendering engine is WebKit. */\n this.WEBKIT = this.isBrowser &&\n /AppleWebKit/i.test(navigator.userAgent) &&\n !this.BLINK &&\n !this.EDGE &&\n !this.TRIDENT;\n /** Whether the current platform is Apple iOS. */\n this.IOS = this.isBrowser && /iPad|iPhone|iPod/.test(navigator.userAgent) && !('MSStream' in window);\n // It's difficult to detect the plain Gecko engine, because most of the browsers identify\n // them self as Gecko-like browsers and modify the userAgent's according to that.\n // Since we only cover one explicit Firefox case, we can simply check for Firefox\n // instead of having an unstable check for Gecko.\n /** Whether the current browser is Firefox. */\n this.FIREFOX = this.isBrowser && /(firefox|minefield)/i.test(navigator.userAgent);\n /** Whether the current platform is Android. */\n // Trident on mobile adds the android platform to the userAgent to trick detections.\n this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) && !this.TRIDENT;\n // Safari browsers will include the Safari keyword in their userAgent. Some browsers may fake\n // this and just place the Safari keyword in the userAgent. To be more safe about Safari every\n // Safari browser should also use Webkit as its layout engine.\n /** Whether the current browser is Safari. */\n this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && this.WEBKIT;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: Platform, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: Platform, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: Platform, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }] });\n\nclass PlatformModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: PlatformModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.0\", ngImport: i0, type: PlatformModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: PlatformModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: PlatformModule, decorators: [{\n type: NgModule,\n args: [{}]\n }] });\n\n/** Cached result Set of input types support by the current browser. */\nlet supportedInputTypes;\n/** Types of `` that *might* be supported. */\nconst candidateInputTypes = [\n // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n // first changing it to something else:\n // The specified value \"\" does not conform to the required format.\n // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n 'color',\n 'button',\n 'checkbox',\n 'date',\n 'datetime-local',\n 'email',\n 'file',\n 'hidden',\n 'image',\n 'month',\n 'number',\n 'password',\n 'radio',\n 'range',\n 'reset',\n 'search',\n 'submit',\n 'tel',\n 'text',\n 'time',\n 'url',\n 'week',\n];\n/** @returns The input types supported by this browser. */\nfunction getSupportedInputTypes() {\n // Result is cached.\n if (supportedInputTypes) {\n return supportedInputTypes;\n }\n // We can't check if an input type is not supported until we're on the browser, so say that\n // everything is supported when not on the browser. We don't use `Platform` here since it's\n // just a helper function and can't inject it.\n if (typeof document !== 'object' || !document) {\n supportedInputTypes = new Set(candidateInputTypes);\n return supportedInputTypes;\n }\n let featureTestInput = document.createElement('input');\n supportedInputTypes = new Set(candidateInputTypes.filter(value => {\n featureTestInput.setAttribute('type', value);\n return featureTestInput.type === value;\n }));\n return supportedInputTypes;\n}\n\n/** Cached result of whether the user's browser supports passive event listeners. */\nlet supportsPassiveEvents;\n/**\n * Checks whether the user's browser supports passive event listeners.\n * See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n */\nfunction supportsPassiveEventListeners() {\n if (supportsPassiveEvents == null && typeof window !== 'undefined') {\n try {\n window.addEventListener('test', null, Object.defineProperty({}, 'passive', {\n get: () => (supportsPassiveEvents = true),\n }));\n }\n finally {\n supportsPassiveEvents = supportsPassiveEvents || false;\n }\n }\n return supportsPassiveEvents;\n}\n/**\n * Normalizes an `AddEventListener` object to something that can be passed\n * to `addEventListener` on any browser, no matter whether it supports the\n * `options` parameter.\n * @param options Object to be normalized.\n */\nfunction normalizePassiveListenerOptions(options) {\n return supportsPassiveEventListeners() ? options : !!options.capture;\n}\n\n/** The possible ways the browser may handle the horizontal scroll axis in RTL languages. */\nvar RtlScrollAxisType;\n(function (RtlScrollAxisType) {\n /**\n * scrollLeft is 0 when scrolled all the way left and (scrollWidth - clientWidth) when scrolled\n * all the way right.\n */\n RtlScrollAxisType[RtlScrollAxisType[\"NORMAL\"] = 0] = \"NORMAL\";\n /**\n * scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and 0 when scrolled\n * all the way right.\n */\n RtlScrollAxisType[RtlScrollAxisType[\"NEGATED\"] = 1] = \"NEGATED\";\n /**\n * scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and 0 when scrolled\n * all the way right.\n */\n RtlScrollAxisType[RtlScrollAxisType[\"INVERTED\"] = 2] = \"INVERTED\";\n})(RtlScrollAxisType || (RtlScrollAxisType = {}));\n/** Cached result of the way the browser handles the horizontal scroll axis in RTL mode. */\nlet rtlScrollAxisType;\n/** Cached result of the check that indicates whether the browser supports scroll behaviors. */\nlet scrollBehaviorSupported;\n/** Check whether the browser supports scroll behaviors. */\nfunction supportsScrollBehavior() {\n if (scrollBehaviorSupported == null) {\n // If we're not in the browser, it can't be supported. Also check for `Element`, because\n // some projects stub out the global `document` during SSR which can throw us off.\n if (typeof document !== 'object' || !document || typeof Element !== 'function' || !Element) {\n scrollBehaviorSupported = false;\n return scrollBehaviorSupported;\n }\n // If the element can have a `scrollBehavior` style, we can be sure that it's supported.\n if ('scrollBehavior' in document.documentElement.style) {\n scrollBehaviorSupported = true;\n }\n else {\n // At this point we have 3 possibilities: `scrollTo` isn't supported at all, it's\n // supported but it doesn't handle scroll behavior, or it has been polyfilled.\n const scrollToFunction = Element.prototype.scrollTo;\n if (scrollToFunction) {\n // We can detect if the function has been polyfilled by calling `toString` on it. Native\n // functions are obfuscated using `[native code]`, whereas if it was overwritten we'd get\n // the actual function source. Via https://davidwalsh.name/detect-native-function. Consider\n // polyfilled functions as supporting scroll behavior.\n scrollBehaviorSupported = !/\\{\\s*\\[native code\\]\\s*\\}/.test(scrollToFunction.toString());\n }\n else {\n scrollBehaviorSupported = false;\n }\n }\n }\n return scrollBehaviorSupported;\n}\n/**\n * Checks the type of RTL scroll axis used by this browser. As of time of writing, Chrome is NORMAL,\n * Firefox & Safari are NEGATED, and IE & Edge are INVERTED.\n */\nfunction getRtlScrollAxisType() {\n // We can't check unless we're on the browser. Just assume 'normal' if we're not.\n if (typeof document !== 'object' || !document) {\n return RtlScrollAxisType.NORMAL;\n }\n if (rtlScrollAxisType == null) {\n // Create a 1px wide scrolling container and a 2px wide content element.\n const scrollContainer = document.createElement('div');\n const containerStyle = scrollContainer.style;\n scrollContainer.dir = 'rtl';\n containerStyle.width = '1px';\n containerStyle.overflow = 'auto';\n containerStyle.visibility = 'hidden';\n containerStyle.pointerEvents = 'none';\n containerStyle.position = 'absolute';\n const content = document.createElement('div');\n const contentStyle = content.style;\n contentStyle.width = '2px';\n contentStyle.height = '1px';\n scrollContainer.appendChild(content);\n document.body.appendChild(scrollContainer);\n rtlScrollAxisType = RtlScrollAxisType.NORMAL;\n // The viewport starts scrolled all the way to the right in RTL mode. If we are in a NORMAL\n // browser this would mean that the scrollLeft should be 1. If it's zero instead we know we're\n // dealing with one of the other two types of browsers.\n if (scrollContainer.scrollLeft === 0) {\n // In a NEGATED browser the scrollLeft is always somewhere in [-maxScrollAmount, 0]. For an\n // INVERTED browser it is always somewhere in [0, maxScrollAmount]. We can determine which by\n // setting to the scrollLeft to 1. This is past the max for a NEGATED browser, so it will\n // return 0 when we read it again.\n scrollContainer.scrollLeft = 1;\n rtlScrollAxisType =\n scrollContainer.scrollLeft === 0 ? RtlScrollAxisType.NEGATED : RtlScrollAxisType.INVERTED;\n }\n scrollContainer.remove();\n }\n return rtlScrollAxisType;\n}\n\nlet shadowDomIsSupported;\n/** Checks whether the user's browser support Shadow DOM. */\nfunction _supportsShadowDom() {\n if (shadowDomIsSupported == null) {\n const head = typeof document !== 'undefined' ? document.head : null;\n shadowDomIsSupported = !!(head && (head.createShadowRoot || head.attachShadow));\n }\n return shadowDomIsSupported;\n}\n/** Gets the shadow root of an element, if supported and the element is inside the Shadow DOM. */\nfunction _getShadowRoot(element) {\n if (_supportsShadowDom()) {\n const rootNode = element.getRootNode ? element.getRootNode() : null;\n // Note that this should be caught by `_supportsShadowDom`, but some\n // teams have been able to hit this code path on unsupported browsers.\n if (typeof ShadowRoot !== 'undefined' && ShadowRoot && rootNode instanceof ShadowRoot) {\n return rootNode;\n }\n }\n return null;\n}\n/**\n * Gets the currently-focused element on the page while\n * also piercing through Shadow DOM boundaries.\n */\nfunction _getFocusedElementPierceShadowDom() {\n let activeElement = typeof document !== 'undefined' && document\n ? document.activeElement\n : null;\n while (activeElement && activeElement.shadowRoot) {\n const newActiveElement = activeElement.shadowRoot.activeElement;\n if (newActiveElement === activeElement) {\n break;\n }\n else {\n activeElement = newActiveElement;\n }\n }\n return activeElement;\n}\n/** Gets the target of an event while accounting for Shadow DOM. */\nfunction _getEventTarget(event) {\n // If an event is bound outside the Shadow DOM, the `event.target` will\n // point to the shadow root so we have to use `composedPath` instead.\n return (event.composedPath ? event.composedPath()[0] : event.target);\n}\n\n/** Gets whether the code is currently running in a test environment. */\nfunction _isTestEnvironment() {\n // We can't use `declare const` because it causes conflicts inside Google with the real typings\n // for these symbols and we can't read them off the global object, because they don't appear to\n // be attached there for some runners like Jest.\n // (see: https://github.com/angular/components/issues/23365#issuecomment-938146643)\n return (\n // @ts-ignore\n (typeof __karma__ !== 'undefined' && !!__karma__) ||\n // @ts-ignore\n (typeof jasmine !== 'undefined' && !!jasmine) ||\n // @ts-ignore\n (typeof jest !== 'undefined' && !!jest) ||\n // @ts-ignore\n (typeof Mocha !== 'undefined' && !!Mocha));\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Platform, PlatformModule, RtlScrollAxisType, _getEventTarget, _getFocusedElementPierceShadowDom, _getShadowRoot, _isTestEnvironment, _supportsShadowDom, getRtlScrollAxisType, getSupportedInputTypes, normalizePassiveListenerOptions, supportsPassiveEventListeners, supportsScrollBehavior };\n","import * as i0 from '@angular/core';\nimport { NgModule, CSP_NONCE, Injectable, Optional, Inject } from '@angular/core';\nimport { coerceArray } from '@angular/cdk/coercion';\nimport { Subject, combineLatest, concat, Observable } from 'rxjs';\nimport { take, skip, debounceTime, map, startWith, takeUntil } from 'rxjs/operators';\nimport * as i1 from '@angular/cdk/platform';\n\nclass LayoutModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.0\", ngImport: i0, type: LayoutModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: LayoutModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: LayoutModule, decorators: [{\n type: NgModule,\n args: [{}]\n }] });\n\n/** Global registry for all dynamically-created, injected media queries. */\nconst mediaQueriesForWebkitCompatibility = new Set();\n/** Style tag that holds all of the dynamically-created media queries. */\nlet mediaQueryStyleNode;\n/** A utility for calling matchMedia queries. */\nclass MediaMatcher {\n constructor(_platform, _nonce) {\n this._platform = _platform;\n this._nonce = _nonce;\n this._matchMedia =\n this._platform.isBrowser && window.matchMedia\n ? // matchMedia is bound to the window scope intentionally as it is an illegal invocation to\n // call it from a different scope.\n window.matchMedia.bind(window)\n : noopMatchMedia;\n }\n /**\n * Evaluates the given media query and returns the native MediaQueryList from which results\n * can be retrieved.\n * Confirms the layout engine will trigger for the selector query provided and returns the\n * MediaQueryList for the query provided.\n */\n matchMedia(query) {\n if (this._platform.WEBKIT || this._platform.BLINK) {\n createEmptyStyleRule(query, this._nonce);\n }\n return this._matchMedia(query);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MediaMatcher, deps: [{ token: i1.Platform }, { token: CSP_NONCE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MediaMatcher, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MediaMatcher, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: i1.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CSP_NONCE]\n }] }] });\n/**\n * Creates an empty stylesheet that is used to work around browser inconsistencies related to\n * `matchMedia`. At the time of writing, it handles the following cases:\n * 1. On WebKit browsers, a media query has to have at least one rule in order for `matchMedia`\n * to fire. We work around it by declaring a dummy stylesheet with a `@media` declaration.\n * 2. In some cases Blink browsers will stop firing the `matchMedia` listener if none of the rules\n * inside the `@media` match existing elements on the page. We work around it by having one rule\n * targeting the `body`. See https://github.com/angular/components/issues/23546.\n */\nfunction createEmptyStyleRule(query, nonce) {\n if (mediaQueriesForWebkitCompatibility.has(query)) {\n return;\n }\n try {\n if (!mediaQueryStyleNode) {\n mediaQueryStyleNode = document.createElement('style');\n if (nonce) {\n mediaQueryStyleNode.setAttribute('nonce', nonce);\n }\n mediaQueryStyleNode.setAttribute('type', 'text/css');\n document.head.appendChild(mediaQueryStyleNode);\n }\n if (mediaQueryStyleNode.sheet) {\n mediaQueryStyleNode.sheet.insertRule(`@media ${query} {body{ }}`, 0);\n mediaQueriesForWebkitCompatibility.add(query);\n }\n }\n catch (e) {\n console.error(e);\n }\n}\n/** No-op matchMedia replacement for non-browser platforms. */\nfunction noopMatchMedia(query) {\n // Use `as any` here to avoid adding additional necessary properties for\n // the noop matcher.\n return {\n matches: query === 'all' || query === '',\n media: query,\n addListener: () => { },\n removeListener: () => { },\n };\n}\n\n/** Utility for checking the matching state of @media queries. */\nclass BreakpointObserver {\n constructor(_mediaMatcher, _zone) {\n this._mediaMatcher = _mediaMatcher;\n this._zone = _zone;\n /** A map of all media queries currently being listened for. */\n this._queries = new Map();\n /** A subject for all other observables to takeUntil based on. */\n this._destroySubject = new Subject();\n }\n /** Completes the active subject, signalling to all other observables to complete. */\n ngOnDestroy() {\n this._destroySubject.next();\n this._destroySubject.complete();\n }\n /**\n * Whether one or more media queries match the current viewport size.\n * @param value One or more media queries to check.\n * @returns Whether any of the media queries match.\n */\n isMatched(value) {\n const queries = splitQueries(coerceArray(value));\n return queries.some(mediaQuery => this._registerQuery(mediaQuery).mql.matches);\n }\n /**\n * Gets an observable of results for the given queries that will emit new results for any changes\n * in matching of the given queries.\n * @param value One or more media queries to check.\n * @returns A stream of matches for the given queries.\n */\n observe(value) {\n const queries = splitQueries(coerceArray(value));\n const observables = queries.map(query => this._registerQuery(query).observable);\n let stateObservable = combineLatest(observables);\n // Emit the first state immediately, and then debounce the subsequent emissions.\n stateObservable = concat(stateObservable.pipe(take(1)), stateObservable.pipe(skip(1), debounceTime(0)));\n return stateObservable.pipe(map(breakpointStates => {\n const response = {\n matches: false,\n breakpoints: {},\n };\n breakpointStates.forEach(({ matches, query }) => {\n response.matches = response.matches || matches;\n response.breakpoints[query] = matches;\n });\n return response;\n }));\n }\n /** Registers a specific query to be listened for. */\n _registerQuery(query) {\n // Only set up a new MediaQueryList if it is not already being listened for.\n if (this._queries.has(query)) {\n return this._queries.get(query);\n }\n const mql = this._mediaMatcher.matchMedia(query);\n // Create callback for match changes and add it is as a listener.\n const queryObservable = new Observable((observer) => {\n // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed\n // back into the zone because matchMedia is only included in Zone.js by loading the\n // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not\n // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js\n // patches it.\n const handler = (e) => this._zone.run(() => observer.next(e));\n mql.addListener(handler);\n return () => {\n mql.removeListener(handler);\n };\n }).pipe(startWith(mql), map(({ matches }) => ({ query, matches })), takeUntil(this._destroySubject));\n // Add the MediaQueryList to the set of queries.\n const output = { observable: queryObservable, mql };\n this._queries.set(query, output);\n return output;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: BreakpointObserver, deps: [{ token: MediaMatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: BreakpointObserver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: BreakpointObserver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: MediaMatcher }, { type: i0.NgZone }] });\n/**\n * Split each query string into separate query strings if two queries are provided as comma\n * separated.\n */\nfunction splitQueries(queries) {\n return queries\n .map(query => query.split(','))\n .reduce((a1, a2) => a1.concat(a2))\n .map(query => query.trim());\n}\n\n// PascalCase is being used as Breakpoints is used like an enum.\n// tslint:disable-next-line:variable-name\nconst Breakpoints = {\n XSmall: '(max-width: 599.98px)',\n Small: '(min-width: 600px) and (max-width: 959.98px)',\n Medium: '(min-width: 960px) and (max-width: 1279.98px)',\n Large: '(min-width: 1280px) and (max-width: 1919.98px)',\n XLarge: '(min-width: 1920px)',\n Handset: '(max-width: 599.98px) and (orientation: portrait), ' +\n '(max-width: 959.98px) and (orientation: landscape)',\n Tablet: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), ' +\n '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n Web: '(min-width: 840px) and (orientation: portrait), ' +\n '(min-width: 1280px) and (orientation: landscape)',\n HandsetPortrait: '(max-width: 599.98px) and (orientation: portrait)',\n TabletPortrait: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)',\n WebPortrait: '(min-width: 840px) and (orientation: portrait)',\n HandsetLandscape: '(max-width: 959.98px) and (orientation: landscape)',\n TabletLandscape: '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n WebLandscape: '(min-width: 1280px) and (orientation: landscape)',\n};\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BreakpointObserver, Breakpoints, LayoutModule, MediaMatcher };\n","import { Injectable } from \"@angular/core\";\r\nimport { EntityState, EntityStore, StoreConfig } from \"@datorama/akita\";\r\nimport { LoyaltyCustomerTier, LoyaltyTier } from \"@fgb/core\";\r\n\r\nexport interface TierState extends EntityState {\r\n tier?: LoyaltyCustomerTier;\r\n}\r\n\r\n@Injectable({ providedIn: 'root' })\r\n@StoreConfig({ name: 'tiers', idKey: 'TierId', cache: { ttl: 30000 } })\r\nexport class TierStore extends EntityStore {\r\n\r\n constructor() {\r\n super({});\r\n }\r\n\r\n setTier(tier: LoyaltyCustomerTier) {\r\n this.update({ tier });\r\n }\r\n\r\n}","import { inject, Injectable } from '@angular/core';\r\nimport { TierStore } from './tier.store';\r\nimport { map, switchMap, tap } from 'rxjs/operators';\r\nimport { cacheable } from '@datorama/akita';\r\nimport { ApiService, LoggingService, LoyaltyCustomerTier, LoyaltyTier, MemberQuery } from '@fgb/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TierService {\r\n private api: ApiService = inject(ApiService);\r\n private tierStore: TierStore = inject(TierStore);\r\n private logService: LoggingService = inject(LoggingService);\r\n private memberQuery: MemberQuery = inject(MemberQuery);\r\n\r\n fetchTiers(){\r\n const request$ = this.memberQuery.userContext$.pipe(\r\n switchMap(user => this.api.get(`loyalty/tiers/${user?.clubId}`).pipe(\r\n tap((tiers) => {\r\n this.logService.debug(`Fetching Tiers`);\r\n this.tierStore.set(tiers);\r\n })) \r\n ));\r\n return cacheable(this.tierStore, request$).pipe(map(() => null));\r\n }\r\n\r\n fetchTier() {\r\n const purseNumber: number = 7;\r\n const request$ = this.memberQuery.userContext$.pipe(\r\n switchMap(user => this.api.getAnySingle(`loyalty/tiers/${user?.clubId}/${user?.portalId}/${purseNumber}`)\r\n .pipe(\r\n tap((tier) => {\r\n if( tier ){\r\n this.logService.debug(`Fetching customer loyalty tier`);\r\n this.tierStore.setTier(tier);\r\n this.tierStore.set(tier.Tiers);\r\n }\r\n })\r\n )));\r\n return cacheable(this.tierStore, request$).pipe(map(() => null));\r\n } \r\n\r\n fetchTiersWithPositions() {\r\n const request$ = this.memberQuery.userContext$.pipe(\r\n switchMap(user => this.api.getAnySingle(`loyalty/tiers/v2/${user?.externalRef}`)\r\n .pipe(\r\n tap((tier) => {\r\n if( tier ){\r\n this.logService.debug(`Fetching customer loyalty tier with positions`);\r\n this.tierStore.setTier(tier);\r\n this.tierStore.set(tier.Tiers);\r\n }\r\n })\r\n )));\r\n return cacheable(this.tierStore, request$).pipe(map(() => null));\r\n } \r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { QueryEntity } from \"@datorama/akita\";\r\nimport { TierState, TierStore } from \"./tier.store\";\r\nimport { map, Observable, switchMap } from \"rxjs\";\r\nimport { LoyaltyTier } from \"@fgb/core\";\r\n\r\n/**\r\n * Temporary, should be changed in the component library\r\n */\r\n@Injectable({ providedIn: 'root' })\r\nexport class TierQuery extends QueryEntity {\r\n customerTier$ = this.select(state => state.tier);\r\n tiers$ = this.selectAll();\r\n\r\n constructor(protected store: TierStore) {\r\n super(store);\r\n }\r\n\r\n currentTier(): Observable {\r\n return this.customerTier$.pipe(\r\n map(tier => {\r\n\r\n if( tier ){\r\n const foundTier = tier.Tiers.find(t => t.TierId === tier.CurrentTierId);\r\n\r\n if( foundTier ){\r\n return foundTier;\r\n }\r\n // Some data may not have current tier id, so we will return the first tier in the list\r\n return tier.Tiers[0];\r\n }\r\n\r\n return undefined;\r\n })\r\n );\r\n }\r\n\r\n nextTier(): Observable {\r\n return this.currentTier().pipe(\r\n switchMap(currentTier => {\r\n return this.customerTier$.pipe(\r\n map(tier => {\r\n if( tier && currentTier ){\r\n const currentTierIndex = tier.Tiers.findIndex(t => t.TierId === currentTier.TierId);\r\n return tier.Tiers[currentTierIndex + 1];\r\n }\r\n return undefined;\r\n })\r\n )\r\n })\r\n );\r\n }\r\n\r\n lastTier(): Observable {\r\n return this.customerTier$.pipe(\r\n map(tier => {\r\n\r\n if( tier && tier.Tiers?.length > 0 ){\r\n //Sort tiers by MaximumTierPoints in ascending order to find last tier\r\n const sortedTiers = [ ...tier.Tiers ].sort((t1, t2) => t1.MaximumTierPoints - t2.MaximumTierPoints);\r\n return sortedTiers[sortedTiers.length - 1];\r\n }\r\n\r\n return undefined;\r\n })\r\n );\r\n }\r\n\r\n /*\r\n * Gets the tier by id\r\n * @param id \r\n */\r\n getTierById(id: number): LoyaltyTier | undefined{\r\n return this.getEntity(id);\r\n }\r\n\r\n /**\r\n * Selects the tier by id\r\n * @param id \r\n */\r\n selectTierById(id: number): Observable{\r\n return this.selectEntity(id);\r\n }\r\n\r\n}","import { BreakpointObserver } from \"@angular/cdk/layout\"\r\nimport { computed, DestroyRef, Directive, inject, OnInit, Signal } from \"@angular/core\"\r\nimport { takeUntilDestroyed, toSignal } from \"@angular/core/rxjs-interop\";\r\nimport { Barcode, BarcodeQuery, BarcodeService, getLoyaltyBalance, LoyaltyCustomerTier, LoyaltyTier, MemberDetails, MemberQuery } from \"@fgb/core\"\r\nimport { firstValueFrom } from \"rxjs\";\r\nimport { TierService } from './tier.service';\r\nimport { TierQuery } from './tier.query';\r\n\r\n@Directive()\r\nexport class BaseTier implements OnInit{\r\n private tierService: TierService = inject(TierService);\r\n private tierQuery: TierQuery = inject(TierQuery);\r\n private memberQuery: MemberQuery = inject(MemberQuery);\r\n private barcodeQuery: BarcodeQuery = inject(BarcodeQuery);\r\n private barcodeService: BarcodeService = inject(BarcodeService);\r\n private breakpoint: BreakpointObserver = inject(BreakpointObserver);\r\n private _destroyRef = inject(DestroyRef);\r\n\r\n tier: Signal = toSignal(this.tierQuery.customerTier$);\r\n currentTier: Signal = toSignal(this.tierQuery.currentTier());\r\n barcode: Signal = toSignal(this.barcodeQuery.select());\r\n member: Signal = toSignal(this.memberQuery.selectMemberDetails());\r\n balance = getLoyaltyBalance();\r\n lastTier = toSignal(this.tierQuery.lastTier());\r\n nextTier = toSignal(this.tierQuery.nextTier());\r\n progress = computed(() => { \r\n const tierBalance = this.tier()?.Balance || 0;\r\n const currentTierMaxPoints = this.currentTier()?.MaximumTierPoints || 0;\r\n\r\n if( tierBalance > currentTierMaxPoints){\r\n return 100;\r\n }\r\n\r\n return (tierBalance / currentTierMaxPoints) * 100; \r\n\r\n });\r\n\r\n progressRanking = computed(() => {\r\n const currentTierMemberCount = this.tier()?.CurrentTierMemberCount || 0;\r\n const currentPosition = this.tier()?.CurrentTierPosition || currentTierMemberCount;\r\n // Where 1 is 100% and 0% is current position same value as current tier member count\r\n const progress = (1 - ((currentPosition - 1) / (currentTierMemberCount - 1))) * 100;\r\n\r\n return Number.isNaN(progress) || progress < 0 ? 0 : progress;\r\n });\r\n\r\n ngOnInit(): void {\r\n this.breakpoint.observe(['(max-width: 991px)']).pipe(\r\n takeUntilDestroyed(this._destroyRef)\r\n ).subscribe(result => {\r\n if(result.matches){\r\n firstValueFrom(this.barcodeService.fetchBarcode());\r\n }\r\n });\r\n\r\n firstValueFrom(this.tierService.fetchTiersWithPositions());\r\n }\r\n \r\n\r\n}","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { config, MemberQuery } from '@fgb/core';\r\nimport { Observable, shareReplay, switchMap } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserProfilePicService {\r\n // Added shareReplay so that the image is only fetched once\r\n profilePic$ = this.fetchProfilePic().pipe(shareReplay());\r\n\r\n constructor(private http: HttpClient, private memberQuery: MemberQuery) { }\r\n\r\n private fetchProfilePic(): Observable {\r\n let headers = new HttpHeaders();\r\n\r\n let token = localStorage.getItem('token');\r\n if (token) {\r\n headers = headers.append('Authorization', `Bearer ${token}`);\r\n }\r\n\r\n return this.memberQuery.userContext$.pipe(switchMap(user => this.http.get(`${config.baseApiUrl}/api/content/getcustomerimage?portalId=${user?.portalId}`, { headers, responseType: 'blob' }))) ;\r\n }\r\n \r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, DestroyRef, inject, OnInit, ViewChild } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { UserProfilePicService } from 'src/app/modules/user/components/user-profile-pic/user-profile-pic.service';\r\n\r\n@Component({\r\n selector: 'fgb-user-profile-pic',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './user-profile-pic.component.html',\r\n styleUrl: './user-profile-pic.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class UserProfilePicComponent implements OnInit{\r\n private profilePicService: UserProfilePicService = inject(UserProfilePicService);\r\n private destroyRef = inject(DestroyRef);\r\n private defaultImagePath = 'assets/images/icons/account_circle.svg';\r\n @ViewChild('image', { static: true }) imageContainer: any;\r\n\r\n ngOnInit(): void {\r\n this.profilePicService.profilePic$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe({\r\n next: (data) => {\r\n this.createImageFromBlob(data);\r\n },\r\n error: (error) => {\r\n // If there is an error, we will show the default image\r\n this.imageContainer.nativeElement.src = this.defaultImagePath;\r\n }\r\n });\r\n }\r\n\r\n createImageFromBlob(image: Blob) {\r\n let reader = new FileReader();\r\n reader.addEventListener(\"load\", () => {\r\n this.imageContainer.nativeElement.src = reader.result;\r\n }, false);\r\n \r\n if (image) {\r\n reader.readAsDataURL(image);\r\n }\r\n }\r\n\r\n onError(event: any){\r\n event.target.src = this.defaultImagePath;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \"\"\r\n
\r\n
\r\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
{{ barcode()?.PassNickName }}
\r\n {{ 'tier.club.id.label' | translate }} {{ member()?.ExternalRefNumber }}\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n @if( lastTier()?.TierId > currentTier()?.TierId ){\r\n
\r\n
\r\n @if (lastTier()?.TierId > currentTier()?.TierId) {\r\n\r\n
\r\n \r\n }@else {\r\n\r\n
\r\n \r\n }\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n {{ 'tier.points.subtitle' | translate }}\r\n
\r\n
\r\n

{{ balance | number : '1.0-2' }}

\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\r\nimport { BaseTier } from '../tier.base';\r\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\r\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\r\nimport { CommonModule, DecimalPipe } from '@angular/common';\r\nimport { QRCodeModule } from 'angularx-qrcode';\r\nimport { UserProfilePicComponent } from 'src/app/modules/user/components/user-profile-pic/user-profile-pic.component';\r\nimport { RouterModule } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-tier-v2',\r\n standalone: true,\r\n imports: [FGBSharedModule, PipesModule, DecimalPipe, CommonModule, QRCodeModule, UserProfilePicComponent, RouterModule],\r\n templateUrl: './tier-v2.component.html',\r\n styleUrl: './tier-v2.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class TierV2Component extends BaseTier{\r\n\r\n \r\n}\r\n","export class OwlCarouselSettings {\r\n public static Margin = 15;\r\n public static Autoplay = true;\r\n public static AutoplayTimeout = 7000;\r\n public static AutoplaySpeed = 700;\r\n}\r\n","
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \"{{\r\n
\r\n \r\n {{ answer.Title }}\r\n
\r\n
\r\n
\r\n \"{{\r\n
\r\n {{ answer.Title }}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {{ answer.Title }}\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n\r\n","import { Component, OnInit, Input, EventEmitter, Output } from '@angular/core';\r\nimport {\r\n Survey,\r\n SurveyType,\r\n AnswerType,\r\n SurveyService,\r\n BalanceService,\r\n SurveyAnswerDto,\r\n PointProcessType,\r\n config,\r\n AnswerDisplayType,\r\n} from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-item-answer',\r\n templateUrl: './survey-item-answer.component.html',\r\n styleUrls: ['./survey-item-answer.component.scss', '../survey.scss'],\r\n})\r\nexport class SurveyItemAnswerComponent implements OnInit {\r\n @Input() survey: Survey;\r\n @Output() predictorAnswers = new EventEmitter<[]>();\r\n selectedAnswers: number[] = [];\r\n surveyType = SurveyType;\r\n answerType = AnswerType;\r\n answerDisplayType = AnswerDisplayType;\r\n imgDisplayType: 'Portrait' | 'Landscape' = 'Portrait';\r\n colDisplayType: string;\r\n margins: string;\r\n boxShadow: string;\r\n\r\n constructor(private surveyService: SurveyService, private balanceService: BalanceService) {}\r\n\r\n ngOnInit() {\r\n this.selectImageDisplay();\r\n if (\r\n this.survey.AnswerDisplayType === this.answerDisplayType.Text ||\r\n (this.survey.SurveyType === this.surveyType.Poll && this.survey.AnswerDisplayType !== this.answerDisplayType.Image)\r\n ) {\r\n this.colDisplayType = 'col-12 col-lg-6';\r\n // this.margins = 'my-2 my-lg-3';\r\n } else if (this.survey.SurveyType === this.surveyType.Predictor) {\r\n if (\r\n this.survey.AnswerDisplayType == this.answerDisplayType.Image ||\r\n this.survey.AnswerDisplayType == this.answerDisplayType.ImageAndText\r\n ) {\r\n this.colDisplayType = 'col-6';\r\n this.margins = 'my-2';\r\n } else {\r\n this.colDisplayType = 'col-12';\r\n this.margins = 'mt-3';\r\n this.boxShadow = 'options-box-border';\r\n }\r\n } else {\r\n this.colDisplayType = 'col-6 col-lg-3';\r\n this.margins = 'my-3';\r\n }\r\n }\r\n\r\n selectImageDisplay() {\r\n if (this.survey.SurveyType === this.surveyType.Poll) {\r\n this.imgDisplayType = 'Landscape';\r\n }\r\n }\r\n\r\n selectAnswer(answerId: number) {\r\n let index = this.selectedAnswers.indexOf(answerId);\r\n if (index > -1) {\r\n this.selectedAnswers.splice(index, 1);\r\n } else {\r\n // Only allow one to be selected when the answertype is single\r\n if (this.survey.AnswerType === AnswerType.Single) {\r\n this.selectedAnswers = [];\r\n }\r\n this.selectedAnswers.push(answerId);\r\n }\r\n\r\n // Only submit the answer when the user can only select one answer\r\n if (this.survey.SurveyType === this.surveyType.Predictor) {\r\n this.predictorAnswers.emit();\r\n } else if (this.survey.AnswerType === AnswerType.Single) {\r\n this.submitAnswer();\r\n }\r\n }\r\n\r\n async submitAnswer() {\r\n let surveyId: number = this.survey.SurveyId;\r\n let answerDto: SurveyAnswerDto[] = [];\r\n for (let answerId of this.selectedAnswers) {\r\n answerDto.push({ surveyId, answerId });\r\n }\r\n\r\n await this.surveyService.postSurveyAnswers(this.survey.SurveyId, answerDto);\r\n\r\n if (this.survey.SurveyType === SurveyType.Predictor && this.survey.PointProcessType === PointProcessType.OnAnswer) {\r\n this.creditAccountForSurvey();\r\n }\r\n }\r\n\r\n /** Credit the loyalty balance with the point value of the first answer */\r\n private creditAccountForSurvey() {\r\n let firstSelectedAnswer = this.survey.SurveyAnswers.find((sa) => sa.SurveyAnswerId === this.selectedAnswers[0]);\r\n if (firstSelectedAnswer === undefined) {\r\n return;\r\n }\r\n\r\n this.balanceService.addBalance(config.purseConfig.virtualLoyalty, firstSelectedAnswer.PointValue);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ correctAnswer.Title }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ answer.Title }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {{ 'survey.completed.quiz.correct' | translate }}\r\n
\r\n
\r\n +{{ pointsWon }} {{ 'survey.completed.quiz.points.label' | translate }}\r\n
\r\n
\r\n \r\n

{{ 'survey.completed.quiz.correct' | translate }}

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{ 'survey.completed.quiz.incorrect' | translate }}\r\n
\r\n
\r\n {{ 'survey.completed.quiz.better.luck.next.time' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Survey, SurveyAnswer } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-completed-text',\r\n templateUrl: './survey-completed-quiz-text.component.html',\r\n styleUrls: ['./survey-completed-quiz-text.component.scss', '../../../../survey.scss']\r\n})\r\nexport class SurveyCompletedQuizTextComponent implements OnInit {\r\n @Input() survey: Survey;\r\n @Input() selectedAnswers: SurveyAnswer[];\r\n @Input() correctAnswer: SurveyAnswer;\r\n @Input() hasSelectedCorrect: boolean;\r\n @Input() pointsWon: number;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n \"{{\r\n
\r\n
\r\n {{ answer.Title }}\r\n
\r\n
\r\n
\r\n
\r\n \"{{\r\n
\r\n
\r\n {{ correctAnswer.Title }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
{{ 'survey.completed.quiz.correct' | translate }}
\r\n
\r\n +{{ pointsWon }} {{ 'survey.completed.quiz.points.label' | translate }}\r\n
\r\n
\r\n \r\n
{{ 'survey.completed.quiz.correct' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{ 'survey.completed.quiz.incorrect' | translate }}\r\n
\r\n
\r\n {{ 'survey.completed.quiz.better.luck.next.time' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Survey, SurveyAnswer } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-completed-quiz-image-and-text',\r\n templateUrl: './survey-completed-quiz-image-and-text.component.html',\r\n styleUrls: ['./survey-completed-quiz-image-and-text.component.scss', '../../../../survey.scss']\r\n})\r\nexport class SurveyCompletedQuizImageAndTextComponent implements OnInit {\r\n @Input() survey: Survey;\r\n @Input() selectedAnswers: SurveyAnswer[];\r\n @Input() correctAnswer: SurveyAnswer;\r\n @Input() hasSelectedCorrect: boolean;\r\n @Input() pointsWon: number;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n \"{{\r\n
\r\n
\r\n
\r\n
\r\n \"{{\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
{{ 'survey.completed.quiz.correct' | translate }}
\r\n
\r\n +{{ pointsWon }} {{ 'survey.completed.quiz.points.label' | translate }}\r\n
\r\n
\r\n \r\n
{{ 'survey.completed.quiz.correct' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
{{ 'survey.completed.quiz.incorrect' | translate }}
\r\n
{{ 'survey.completed.quiz.better.luck.next.time' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { Survey, SurveyAnswer } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-completed-quiz-image',\r\n templateUrl: './survey-completed-quiz-image.component.html',\r\n styleUrls: ['./survey-completed-quiz-image.component.scss', '../../../../survey.scss'],\r\n})\r\nexport class SurveyCompletedQuizImageComponent implements OnInit {\r\n @Input() survey: Survey;\r\n @Input() selectedAnswers: SurveyAnswer[];\r\n @Input() correctAnswer: SurveyAnswer;\r\n @Input() hasSelectedCorrect: boolean;\r\n @Input() pointsWon: number;\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Survey, AnswerDisplayType, SurveyAnswer } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-item-answer-completed-quiz',\r\n templateUrl: './survey-completed-quiz.component.html',\r\n styleUrls: ['./survey-completed-quiz.component.scss', '../../../survey.scss'],\r\n})\r\nexport class SurveyCompletedQuizComponent implements OnInit {\r\n @Input() survey: Survey;\r\n selectedAnswers: SurveyAnswer[] = [];\r\n correctAnswer: SurveyAnswer;\r\n hasSelectedCorrect: boolean = false;\r\n pointsWon: number;\r\n answerDisplayType = AnswerDisplayType;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {\r\n this.selectedAnswers = this.survey.SurveyAnswers.filter((sa) => sa.UserSelected);\r\n this.hasSelectedCorrect = this.selectedAnswers.filter((a) => a.IsCorrectAnswer).length > 0;\r\n if (this.hasSelectedCorrect) {\r\n this.pointsWon = this.selectedAnswers[0].PointValue / 100;\r\n } else {\r\n this.correctAnswer = this.survey.SurveyAnswers.filter((sa) => sa.IsCorrectAnswer)[0];\r\n }\r\n }\r\n}\r\n","
\r\n \r\n\r\n \r\n

{{ 'quiz.coming.soon.text' | translate }}

\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Survey, SurveyType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-item-quiz',\r\n templateUrl: './survey-item-quiz.component.html',\r\n styleUrls: ['./survey-item-quiz.component.scss', '../../survey.scss'],\r\n})\r\nexport class SurveyItemQuizComponent implements OnInit {\r\n @Input() survey: Survey;\r\n @Input() hideTitle: boolean = false;\r\n surveyType = SurveyType;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \"{{\r\n
\r\n
\r\n {{ answer.Title }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ answer.Title }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n \"{{\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'predictor.completed.pending.thank.you' | translate }}\r\n
\r\n
\r\n {{ 'predictor.completed.pending.message' | translate }}\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { AnswerDisplayType, SurveyAnswer } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-predictor-completed-pending',\r\n templateUrl: './predictor-completed-pending.component.html',\r\n styleUrls: ['./predictor-completed-pending.component.scss', '../../../../survey.scss']\r\n})\r\nexport class PredictorCompletedPendingComponent implements OnInit {\r\n @Input() selectedAnswers: SurveyAnswer[];\r\n @Input() displayType: AnswerDisplayType;\r\n answerDisplayType = AnswerDisplayType;\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n \"{{\r\n
\r\n
\r\n {{ answer.Title }}\r\n
\r\n
\r\n
\r\n
\r\n \"{{\r\n
\r\n
\r\n {{ correctAnswer.Title }}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
{{ 'survey.predictor.correct.title' | translate }}
\r\n
+{{ pointsWon | FortressCurrencyPipe : 'PTS' }}
\r\n
\r\n \r\n
{{ 'survey.predictor.correct.title' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
{{ 'survey.predictor.incorrect.title' | translate }}
\r\n
{{ 'survey.predictor.incorrect.message' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Survey, SurveyAnswer } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-predictor-completed-processed',\r\n templateUrl: './predictor-completed-processed.component.html',\r\n styleUrls: ['./predictor-completed-processed.component.scss', '../../../../survey.scss']\r\n})\r\nexport class PredictorCompletedProcessedComponent implements OnInit {\r\n @Input() survey: Survey;\r\n @Input() selectedAnswers: SurveyAnswer[];\r\n @Input() correctAnswer: SurveyAnswer;\r\n @Input() hasSelectedCorrect: boolean;\r\n @Input() pointsWon: number;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Survey, SurveyAnswer, AnswerDisplayType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-item-answer-completed-predictor',\r\n templateUrl: './survey-completed-predictor.component.html',\r\n styleUrls: ['./survey-completed-predictor.component.scss', '../../../survey.scss']\r\n})\r\nexport class SurveyCompletedPredictorComponent implements OnInit {\r\n @Input() survey: Survey;\r\n selectedAnswers: SurveyAnswer[] = [];\r\n correctAnswer: SurveyAnswer;\r\n hasSelectedCorrect: boolean = false;\r\n pointsWon: number;\r\n answerDisplayType = AnswerDisplayType;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n this.selectedAnswers = this.survey.SurveyAnswers.filter(sa => sa.UserSelected);\r\n if (this.survey.ProcessStatus === 2) {\r\n this.hasSelectedCorrect = this.selectedAnswers.filter(a => a.IsCorrectAnswer).length > 0;\r\n if (this.hasSelectedCorrect) {\r\n this.pointsWon = this.selectedAnswers[0].PointValue;\r\n } else {\r\n this.correctAnswer = this.survey.SurveyAnswers.filter(sa => sa.IsCorrectAnswer)[0];\r\n }\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n \"{{\r\n \r\n
\r\n {{ 'predictor.noimage.placeholder.title' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
flaky
\r\n
\r\n
\r\n
schedule
\r\n \r\n
\r\n
\r\n
\r\n
{{ survey.SurveyQuestion }}
\r\n
\r\n
\r\n \r\n {{ 'predictor.submit.button' | translate }}\r\n \r\n \r\n
{{ 'predictor.entered' | translate }}
\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input, ViewChild } from '@angular/core';\r\nimport { Survey } from '@fgb/core';\r\n\r\nimport { SurveyItemAnswerComponent } from '../../survey-item-answer/survey-item-answer.component';\r\n\r\n@Component({\r\n selector: 'fgb-survey-item-predictor',\r\n templateUrl: './survey-item-predictor.component.html',\r\n styleUrls: ['./survey-item-predictor.component.scss', '../../survey.scss'],\r\n})\r\nexport class SurveyItemPredictorComponent implements OnInit {\r\n @Input() survey: Survey;\r\n @Input() hideTitle: boolean = false;\r\n @ViewChild('itemAnswer') itemAnswer: SurveyItemAnswerComponent;\r\n disableSubmitButton = true;\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n\r\n submitAnswer() {\r\n this.itemAnswer.submitAnswer();\r\n }\r\n\r\n hasUserAnswered() {\r\n if (this.itemAnswer.selectedAnswers.length > 0) {\r\n this.disableSubmitButton = false;\r\n } else {\r\n this.disableSubmitButton = true;\r\n }\r\n }\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n
\r\n {{ percentage + '%' }}\r\n
\r\n {{ answer.Title }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n {{ percentage + '%' }}\r\n
\r\n {{ answer.Title }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n {{ percentage + '%' }}\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { AnswerDisplayType, SurveyAnswer } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-item-answer-completed-poll-item',\r\n templateUrl: './survey-completed-poll-item.component.html',\r\n styleUrls: ['./survey-completed-poll-item.component.scss', '../../../../survey.scss']\r\n})\r\nexport class SurveyCompletedPollItemComponent implements OnInit {\r\n @Input() answer: SurveyAnswer;\r\n @Input() entryCount: number;\r\n @Input() displayType: AnswerDisplayType;\r\n answerDisplayType = AnswerDisplayType;\r\n percentage: number;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n this.percentage = Math.round((this.answer.AnswerCount / this.entryCount) * 100);\r\n if(isNaN(this.percentage)){\r\n this.percentage = 0;\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
0\">+{{ pointsWon }} Pts
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { AnswerDisplayType, Survey } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-item-answer-completed-poll',\r\n templateUrl: './survey-completed-poll.component.html',\r\n styleUrls: ['./survey-completed-poll.component.scss', '../../../survey.scss'],\r\n})\r\nexport class SurveyCompletedPollComponent implements OnInit {\r\n @Input() survey: Survey;\r\n @Input() pointsWon: number;\r\n answerDisplayType = AnswerDisplayType;\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","
\r\n
\r\n \r\n \"{{\r\n
\r\n \r\n
\r\n
{{ 'survey.item.poll.title' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
assessment
\r\n
\r\n
{{ survey()?.SurveyQuestion }}
\r\n
\r\n
schedule
\r\n \r\n
\r\n
\r\n
\r\n {{ survey()?.SurveyQuestion }}\r\n
\r\n\r\n
0 ? 'd-block d-lg-none' : 'd-none'\">\r\n +{{ pointsWon() }} Pts\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, Input, input, InputSignal, ChangeDetectionStrategy, Signal, computed } from '@angular/core';\r\nimport { Survey, SurveyType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-item-poll',\r\n templateUrl: './survey-item-poll.component.html',\r\n styleUrls: ['./survey-item-poll.component.scss', '../../survey.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class SurveyItemPollComponent{\r\n @Input() hideTitle: boolean = false;\r\n survey: InputSignal = input(undefined);\r\n selectedAnswers: Signal = computed(() => this.survey()?.SurveyAnswers.filter((sa) => sa.UserSelected));\r\n pointsWon: Signal = computed(() => {\r\n if( this.selectedAnswers() && this.selectedAnswers().length > 0 ){\r\n return this.selectedAnswers()[0].PointValue / 100;\r\n }\r\n return 0;\r\n });\r\n surveyType = SurveyType;\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, OnInit, Input, input, InputSignal, ChangeDetectionStrategy } from '@angular/core';\r\nimport { SurveyType } from '@fgb/core';\r\nimport { Survey } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-survey-item',\r\n templateUrl: './survey-item.component.html',\r\n styleUrls: ['./survey-item.component.scss', '../survey.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class SurveyItemComponent implements OnInit {\r\n survey: InputSignal = input(undefined);\r\n @Input() hideTitle: boolean = false;\r\n surveyType = SurveyType;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","\r\n
0\">\r\n
\r\n
{{ 'home.page.featured.games.title' | translate }}
\r\n \r\n {{ 'featured.surveys.view.all' | translate }}\r\n arrow_forward_ios\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Survey, SurveyQuery, SurveyType } from '@fgb/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { combineLatest, Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\n\r\n@Component({\r\n selector: 'fgb-featured-surveys',\r\n templateUrl: './featured-surveys.component.html',\r\n styleUrls: ['./featured-surveys.component.scss'],\r\n})\r\nexport class FeaturedSurveysComponent implements OnInit {\r\n screenType = ScreenType;\r\n mixedSurveys$: Observable;\r\n customOptions: OwlOptions = {\r\n autoHeight: true,\r\n margin: OwlCarouselSettings.Margin,\r\n autoWidth: true,\r\n pullDrag: false,\r\n autoplay: OwlCarouselSettings.Autoplay,\r\n autoplayTimeout: OwlCarouselSettings.AutoplayTimeout,\r\n autoplaySpeed: OwlCarouselSettings.AutoplaySpeed,\r\n navSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: { items: 1 },\r\n 540: { items: 1 },\r\n 740: { items: 1 },\r\n },\r\n dots: true\r\n };\r\n\r\n customOptions2: OwlOptions = {\r\n items: 1,\r\n autoHeight: true,\r\n autoWidth: true,\r\n margin: OwlCarouselSettings.Margin,\r\n autoplay: false,\r\n navSpeed: 2000,\r\n responsive: {\r\n 0: { autoWidth: false },\r\n 740: { autoWidth: true, autoHeight: false },\r\n },\r\n dots: true\r\n };\r\n\r\n constructor(private surveyQuery: SurveyQuery) {}\r\n\r\n ngOnInit(): void {\r\n let predictors$ = this.surveyQuery\r\n .selectFavoriteSurvey(SurveyType.Predictor)\r\n .pipe(map((survey) => survey.filter((s) => !s.ComingSoon)));\r\n let polls$ = this.surveyQuery\r\n .selectFavoriteSurvey(SurveyType.Poll)\r\n .pipe(map((survey) => survey.filter((s) => !s.ComingSoon)));\r\n let quizzes$ = this.surveyQuery\r\n .selectFavoriteSurvey(SurveyType.Trivia)\r\n .pipe(map((survey) => survey.filter((s) => !s.ComingSoon)));\r\n\r\n this.mixedSurveys$ = combineLatest([ predictors$, polls$, quizzes$ ]).pipe(\r\n map(([ predictor, polls, quizzes ]) => ([ ...polls, ...quizzes, ...predictor ]))\r\n );\r\n }\r\n\r\n trackByFn(index: number, item: Survey): number {\r\n return index;\r\n }\r\n}\r\n","import { HttpErrorResponse } from \"@angular/common/http\";\r\n\r\nexport enum FGBErrorType{\r\n HTTP,\r\n CLIENT\r\n};\r\n\r\nexport abstract class FGBError{\r\n code: number | null;\r\n message: string;\r\n translationKey: string;\r\n abstract type: FGBErrorType;\r\n\r\n constructor(o?: Partial){\r\n o = o || {};\r\n this.code = o.code || null;\r\n this.message = o.message || '';\r\n this.translationKey = o.translationKey || '';\r\n }\r\n}\r\n\r\nexport class FGBHttpError extends FGBError{\r\n type: FGBErrorType = FGBErrorType.HTTP;\r\n\r\n constructor(o?: HttpErrorResponse){\r\n super(o);\r\n this.getError(o);\r\n }\r\n\r\n private getError(response: HttpErrorResponse | any){\r\n if( response.error instanceof ErrorEvent){\r\n this.message = response.error.message;\r\n }else{\r\n switch(response.status){\r\n case 400:\r\n this.code = 400;\r\n this.message = 'Bad Request.';\r\n this.translationKey = `error.${response.error}`;\r\n\r\n if( response.error.Code ){\r\n this.translationKey = `error.${response.error.Code}`\r\n }\r\n if( response.error.Message ){\r\n this.message = response.error.Message;\r\n }\r\n break;\r\n case 401:\r\n this.code = 401;\r\n this.message = 'You are unauthorized to do this action.';\r\n this.translationKey = `error.unauthorized`;\r\n break;\r\n case 403:\r\n this.code = 403;\r\n this.message = \"You don't have permission to access the requested resource.\";\r\n this.translationKey = `error.forbidden`;\r\n break;\r\n case 404:\r\n this.code = 404;\r\n this.message = 'The requested resource does not exist.';\r\n this.translationKey = `error.notFound`;\r\n break;\r\n case 412:\r\n this.code = 412;\r\n this.message = 'Precondition Failed.';\r\n this.translationKey = `error.preconditionFailed`;\r\n break;\r\n case 500:\r\n this.code = 500;\r\n this.message = 'Internal Server Error.';\r\n this.translationKey = `error.internalServerError`;\r\n break;\r\n case 503:\r\n this.code = 503;\r\n this.message = 'The requested service is not available.';\r\n this.translationKey = `error.serviceUnavailable`;\r\n break;\r\n default:\r\n this.code = response.status;\r\n this.message = response.statusText;\r\n this.translationKey = `error.${response.status}`;\r\n\r\n if( response.error.Code ){\r\n this.translationKey = `error.${response.error.Code}`\r\n }\r\n if( response.error.Message ){\r\n this.message = response.error.Message;\r\n }\r\n }\r\n }\r\n }\r\n}","

Code Redemption

\r\n
\r\n
\r\n
\r\n

\r\n {{ 'voucher.title' | translate }}\r\n

\r\n
\r\n
\r\n \r\n \r\n chevron_right\r\n \r\n
\r\n
\r\n
\r\n \r\n {{ redemptionResult }}\r\n \r\n \r\n {{ errorMessage }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { VoucherService, VoucherRedeemModel, BalanceService, config, ErrorStateService } from '@fgb/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { firstValueFrom } from 'rxjs';\r\nimport { take } from 'rxjs/operators';\r\nimport { FGBHttpError } from 'src/app/shared/utilities/error';\r\n\r\n@Component({\r\n selector: 'fgb-vouchers',\r\n templateUrl: './vouchers.component.html',\r\n styleUrls: ['./vouchers.component.scss'],\r\n})\r\nexport class VouchersComponent implements OnInit {\r\n voucherCode: string;\r\n redemptionResult: string;\r\n disableButton: boolean;\r\n sucessfulRedemption: boolean;\r\n errorMessage: string;\r\n private messageTimeout: NodeJS.Timeout;\r\n\r\n constructor(private voucherService: VoucherService, private balanceService: BalanceService, private errorService: ErrorStateService, private translate: TranslateService) {}\r\n\r\n ngOnInit() { }\r\n\r\n redeemVoucher() {\r\n if(this.messageTimeout) {\r\n clearTimeout(this.messageTimeout);\r\n }\r\n this.clearMessages();\r\n this.sucessfulRedemption = false;\r\n this.disableButton = true;\r\n\r\n if (!this.voucherCode) {\r\n this.errorMessage = this.translate.instant('voucher.code.empty.text');\r\n this.disableButton = false;\r\n this.clearMessagesAfter(10000);\r\n return;\r\n }\r\n\r\n let voucher = new VoucherRedeemModel();\r\n voucher.VoucherCode = this.voucherCode;\r\n firstValueFrom(this.voucherService\r\n .redeemVoucher(voucher))\r\n .then((item) => {\r\n this.balanceService.fetchBalance(config.purseConfig.virtualLoyalty).pipe(take(1)).subscribe();\r\n this.redemptionResult = this.translate.instant(\"voucher.process.code\");\r\n this.sucessfulRedemption = true;\r\n })\r\n .catch(err => {\r\n const httpError = new FGBHttpError(err);\r\n this.errorMessage = this.translate.instant(httpError.translationKey);\r\n return httpError;\r\n })\r\n .finally(() => {\r\n this.disableButton = false;\r\n this.clearMessagesAfter(10000);\r\n });\r\n }\r\n\r\n private clearMessagesAfter(timeAfter: number) {\r\n this.messageTimeout = setTimeout(() => {\r\n this.clearMessages();\r\n }, timeAfter);\r\n }\r\n\r\n private clearMessages() {\r\n this.redemptionResult = '';\r\n this.errorMessage = '';\r\n this.errorService.clearErrors();\r\n }\r\n}\r\n","
\r\n
\r\n
{{ 'upgrade.benefits.card.title' | translate }}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n

{{ benefit.title }}

\r\n

\r\n {{ benefit.description }}\r\n

\r\n
\r\n
\r\n \r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { Observable, fromEvent, of } from 'rxjs';\r\nimport { distinctUntilChanged, map, startWith, switchMap } from 'rxjs/operators';\r\n\r\nexport interface BenefitItem{\r\n title: string;\r\n description: string;\r\n images: string[];\r\n position: {\r\n top: number;\r\n left: number;\r\n },\r\n mobilePosition:{\r\n top: number;\r\n left: number;\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'fgb-upgrade-benefits-card',\r\n templateUrl: './upgrade-benefits-card.component.html',\r\n styleUrls: ['./upgrade-benefits-card.component.scss']\r\n})\r\nexport class UpgradeBenefitsCardComponent implements OnInit {\r\n\r\n @Input() benefits: BenefitItem[] = [\r\n {\r\n title: 'upgrade.benefits.card.one.title',\r\n description: 'upgrade.benefits.card.one.description',\r\n images: ['/assets/images/benefits/benefit-item-1-1.png', '/assets/images/benefits/benefit-item-1-2.png'],\r\n position: {\r\n top: 25,\r\n left: 48\r\n },\r\n mobilePosition: { \r\n top: 22,\r\n left: 134\r\n }\r\n },\r\n {\r\n title: 'upgrade.benefits.card.two.title',\r\n description: 'upgrade.benefits.card.two.description',\r\n images: ['/assets/images/benefits/benefit-item-2-1.png', '/assets/images/benefits/benefit-item-2-2.png'],\r\n position: {\r\n top: 73,\r\n left: 40\r\n },\r\n mobilePosition: { \r\n top: 73,\r\n left: 97\r\n }\r\n },\r\n {\r\n title: 'upgrade.benefits.card.three.title',\r\n description: 'upgrade.benefits.card.three.description',\r\n images: ['/assets/images/benefits/benefit-item-3-1.png', '/assets/images/benefits/benefit-item-3-2.png'],\r\n position: {\r\n top: 80,\r\n left: 30\r\n },\r\n mobilePosition: {\r\n top: 80,\r\n left: 36\r\n }\r\n }\r\n ];\r\n @Input() itemsPerRow: number = 3;\r\n @Input() imageHeight: number = 210;\r\n @Input() useTranslate: boolean = true;\r\n items$: Observable;\r\n link: string;\r\n isMobile$: Observable = fromEvent(window, 'resize').pipe(startWith(window.innerWidth), map(() => window.innerWidth < 992), distinctUntilChanged());\r\n\r\n constructor(private translate: TranslateService) { }\r\n\r\n ngOnInit(): void {\r\n this.items$ = this.isMobile$.pipe(switchMap(isMobile => {\r\n return of(this.benefits).pipe(\r\n map(items => items.map(item => {\r\n let title: string = item.title;\r\n let description: string = item.description;\r\n\r\n if( this.useTranslate ){\r\n title = this._translateText(item.title);\r\n description = this._translateText(item.description);\r\n }\r\n\r\n return { ...item, \r\n title,\r\n description,\r\n position: isMobile ? item.mobilePosition : item.position \r\n }\r\n }))\r\n )\r\n }));\r\n this.link = this._translateText('upgrade.benefits.button.link');\r\n }\r\n\r\n private _translateText(text: string): string{\r\n return this.translate.instant(text);\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \"{{\r\n
\r\n
\r\n
\r\n

{{ announcement.Title }}

\r\n
\r\n \r\n \r\n {{ announcement.LinkTitle }}\r\n \r\n \r\n {{ announcement.LinkTitle }}\r\n \r\n \r\n
\r\n
\r\n","import { AfterViewInit, Component, ElementRef, Input, OnInit, Renderer2, ViewChild } from '@angular/core';\r\nimport { AnnouncementModel } from '@fgb/core';\r\nimport { Subject } from 'rxjs';\r\nimport { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgbcl-announcement-content',\r\n templateUrl: './announcement-content.component.html',\r\n styleUrls: ['./announcement-content.component.scss'],\r\n})\r\nexport class AnnouncementContentComponent implements OnInit, AfterViewInit {\r\n @Input() announcement: AnnouncementModel;\r\n @ViewChild('link') private _link: ElementRef;\r\n isDisabled: boolean;\r\n isEnableTarget: boolean = false;\r\n private _destroyed$ = new Subject();\r\n\r\n constructor(private renderer: Renderer2, private breakpointObserver: BreakpointObserver) {}\r\n\r\n ngOnInit(): void {\r\n this.isDisabled = !!!this.announcement.LinkUrl;\r\n\r\n // detect screen size changes\r\n this.breakpointObserver\r\n .observe(['(max-width: 991px)'])\r\n .pipe(takeUntil(this._destroyed$))\r\n .subscribe((result: BreakpointState) => {\r\n if (result.matches) {\r\n this.isEnableTarget = false;\r\n } else {\r\n this.isEnableTarget = true;\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.checkLink();\r\n }\r\n\r\n checkLink(): void {\r\n if (this.isDisabled) {\r\n if (this._link) {\r\n this.renderer.addClass(this._link.nativeElement, 'disabled');\r\n this.renderer.setAttribute(this._link.nativeElement, 'aria-disabled', 'true');\r\n this.renderer.listen(this._link.nativeElement, 'click', (event) => {\r\n // While user click is disabled, keyboard event still able to click using enter key\r\n // Prevents entering using keyboard\r\n event.preventDefault();\r\n });\r\n }\r\n return;\r\n }\r\n }\r\n\r\n ngOnDestroy() {\r\n this._destroyed$.next();\r\n this._destroyed$.complete();\r\n }\r\n}\r\n","\r\n
0\">\r\n

{{ 'fgbcl.announcements.title' | translate }}

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n \r\n\r\n","import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';\r\nimport { AnnouncementModel, AnnouncementQuery } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { OwlCarouselSettings } from '@fgb/portal-component-library/src/lib/shared/utilities';\r\n\r\n@Component({\r\n selector: 'fgbcl-announcements',\r\n templateUrl: 'announcements.component.html',\r\n styleUrls: ['./announcements.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class AnnouncementsComponent implements OnInit {\r\n announcements$: Observable;\r\n customOptions: OwlOptions = {\r\n items: 1,\r\n autoHeight: true,\r\n autoWidth: true,\r\n margin: 10,\r\n autoplay: false,\r\n autoplayTimeout: OwlCarouselSettings.AutoplayTimeout,\r\n autoplaySpeed: OwlCarouselSettings.AutoplaySpeed,\r\n navSpeed: 700,\r\n dots: true,\r\n responsive: {\r\n 0: { items: 1 }\r\n }\r\n };\r\n\r\n constructor(private announcementQuery: AnnouncementQuery) {}\r\n\r\n ngOnInit() {\r\n this.announcements$ = this.announcementQuery.announcements();\r\n }\r\n}\r\n","
\r\n

{{ 'home.page.banner.title' | translate : { name: (member$ | async)?.FirstName } }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport {\r\n config,\r\n AnnouncementService,\r\n MemberQuery,\r\n MemberDetails,\r\n} from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\n\r\n@Component({\r\n selector: 'fgb-home-page',\r\n templateUrl: './home-page.component.html',\r\n styleUrls: ['./home-page.component.scss'],\r\n})\r\nexport class HomePageComponent implements OnInit {\r\n config = config;\r\n member$: Observable;\r\n populations = Populations;\r\n\r\n constructor(\r\n private announcementService: AnnouncementService,\r\n private memberQuery: MemberQuery\r\n ) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.announcementService.fetchAnnouncements());\r\n this.member$ = this.memberQuery.selectMemberDetails();\r\n }\r\n\r\n}\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport * as i3$1 from '@fgb/portal-component-library/src/lib/shared/loading';\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\nimport * as i2$1 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbModule, NgbAccordionModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i3 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport { InlineSVGModule } from 'ng-inline-svg-2';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass FaqSectionCardComponent {\n constructor() { }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: FaqSectionCardComponent, selector: \"fgbcl-faq-section-card\", inputs: { faqSection: \"faqSection\" }, ngImport: i0, template: \"
{{ faqSection.DisplayText }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n

\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".faq-question-text{margin-top:2px}.faq-question-titles{margin-left:-24px;margin-top:2px}@media (max-width: 991px){.faq-question-titles{margin-left:-12px}}.btn.collapsed{padding-top:2px}.icon-arrow-1-down{height:23px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2$1.NgbAccordionButton, selector: \"button[ngbAccordionButton]\" }, { kind: \"directive\", type: i2$1.NgbAccordionDirective, selector: \"[ngbAccordion]\", inputs: [\"animation\", \"closeOthers\", \"destroyOnHide\"], outputs: [\"show\", \"shown\", \"hide\", \"hidden\"], exportAs: [\"ngbAccordion\"] }, { kind: \"directive\", type: i2$1.NgbAccordionItem, selector: \"[ngbAccordionItem]\", inputs: [\"ngbAccordionItem\", \"destroyOnHide\", \"disabled\", \"collapsed\"], outputs: [\"show\", \"shown\", \"hide\", \"hidden\"], exportAs: [\"ngbAccordionItem\"] }, { kind: \"directive\", type: i2$1.NgbAccordionHeader, selector: \"[ngbAccordionHeader]\" }, { kind: \"directive\", type: i2$1.NgbAccordionBody, selector: \"[ngbAccordionBody]\" }, { kind: \"directive\", type: i2$1.NgbAccordionCollapse, selector: \"[ngbAccordionCollapse]\", exportAs: [\"ngbAccordionCollapse\"] }, { kind: \"pipe\", type: i3.SafeHtmlPipe, name: \"safeHtml\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionCardComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-faq-section-card', template: \"
{{ faqSection.DisplayText }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n

\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".faq-question-text{margin-top:2px}.faq-question-titles{margin-left:-24px;margin-top:2px}@media (max-width: 991px){.faq-question-titles{margin-left:-12px}}.btn.collapsed{padding-top:2px}.icon-arrow-1-down{height:23px}\\n\"] }]\n }], ctorParameters: () => [], propDecorators: { faqSection: [{\n type: Input\n }] } });\n\nclass FaqSectionComponent {\n constructor(faqSectionQuery, faqSectionService, memberQuery) {\n this.faqSectionQuery = faqSectionQuery;\n this.faqSectionService = faqSectionService;\n this.memberQuery = memberQuery;\n this.disabled = false;\n }\n ngOnInit() {\n const userContext = this.memberQuery.getUserContext();\n this.faqSectionService.fetchFaqSection(+userContext.populationId, +userContext.lcid, userContext.clubId).subscribe();\n this.faqSections$ = this.faqSectionQuery.selectAll();\n this.loading = this.faqSectionQuery.selectLoading();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionComponent, deps: [{ token: i1.FaqSectionQuery }, { token: i1.FaqSectionService }, { token: i1.MemberQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: FaqSectionComponent, selector: \"fgbcl-faq-section\", ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3$1.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"component\", type: FaqSectionCardComponent, selector: \"fgbcl-faq-section-card\", inputs: [\"faqSection\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-faq-section', template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.FaqSectionQuery }, { type: i1.FaqSectionService }, { type: i1.MemberQuery }] });\n\nclass FaqSectionModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionModule, declarations: [FaqSectionComponent, FaqSectionCardComponent], imports: [CommonModule,\n InlineSVGModule,\n NgbModule,\n NgbAccordionModule,\n PipesModule,\n LoadingModule,\n FGBSharedModule], exports: [FaqSectionComponent, FaqSectionCardComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionModule, imports: [CommonModule,\n InlineSVGModule,\n NgbModule,\n NgbAccordionModule,\n PipesModule,\n LoadingModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [FaqSectionComponent, FaqSectionCardComponent],\n imports: [\n CommonModule,\n InlineSVGModule,\n NgbModule,\n NgbAccordionModule,\n PipesModule,\n LoadingModule,\n FGBSharedModule\n ],\n exports: [FaqSectionComponent, FaqSectionCardComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { FaqSectionCardComponent, FaqSectionComponent, FaqSectionModule };\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-faq-page',\r\n templateUrl: './faq-page.component.html',\r\n styleUrls: ['./faq-page.component.scss'],\r\n})\r\nexport class FaqPageComponent implements OnInit {\r\n disabled = false;\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","
\r\n

{{ 'faq.page.title' | translate }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n","import * as i0 from '@angular/core';\nimport { Component, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@angular/forms';\nimport { Validators, ReactiveFormsModule } from '@angular/forms';\nimport { Subscription } from 'rxjs';\nimport { take } from 'rxjs/operators';\nimport * as i2 from '@fgb/core';\nimport * as i4 from '@ngx-translate/core';\nimport { HttpClientModule } from '@angular/common/http';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\n\nclass ContactUsComponent {\n constructor(formBuilder, contactService) {\n this.formBuilder = formBuilder;\n this.contactService = contactService;\n this.submitted = false;\n this.sentSuccessfully = false;\n this._subscription = new Subscription();\n }\n get f() {\n return this.contactUsForm.controls;\n }\n ngOnInit() {\n this.categories$ = this.contactService.getCategories();\n this.initForm();\n }\n ngOnDestroy() {\n this._subscription.unsubscribe();\n }\n async submit(message, isValid) {\n this.submitted = true;\n if (isValid) {\n await this.contactService.sendMessage(message);\n this.sentSuccessfully = true;\n }\n }\n initForm() {\n this.contactUsForm = this.formBuilder.group({\n category: [''],\n message: ['', [Validators.required, this.noWhitespaceValidator, this.invalidTagsValidator, this.profanityFilterValidator]],\n });\n this.watchMessage(this.contactUsForm);\n this.watchCategories(this.contactUsForm);\n }\n watchCategories(fg) {\n this._subscription.add(this.categories$.pipe(take(1)).subscribe((cats) => {\n if (cats.length) {\n fg.controls.category.setValue(cats[0].Name);\n }\n }));\n }\n watchMessage(fg) {\n this._subscription.add(fg?.get('message')?.valueChanges.subscribe((content) => {\n this.sentSuccessfully = false;\n }));\n }\n noWhitespaceValidator(control) {\n if (control.value === '')\n return;\n return control.value.trim().length ? null : { whitespace: true };\n }\n invalidTagsValidator(control) {\n if (control.value === '')\n return;\n var rgx = /<\\/?script|<\\/?a/gi;\n return rgx.test(control.value) ? { invalidTags: true } : null;\n }\n profanityFilterValidator(control) {\n if (control.value === '')\n return;\n //list of profanity words\n let profanityWords = [];\n //list of filtered profanity words\n let filteredProfanityWords = [];\n profanityWords.forEach((word) => control.value.replace(/ /g, '').toLowerCase().includes(word.replace(/ /g, '').toLowerCase())\n ? filteredProfanityWords.push(word)\n : null);\n return filteredProfanityWords.length ? { profanityFilter: true } : null;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ContactUsComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i2.ContactService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ContactUsComponent, selector: \"fgbcl-contact-us\", ngImport: i0, template: \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'contact.us.category' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'contact.us.message' | translate }}\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'contact.us.message.error' | translate }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'contact.us.message.whitespace' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'contact.us.message.invalid.data' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'contact.us.submit' | translate }}\\r\\n \\r\\n
\\r\\n {{ 'contact.us.submit.success' | translate }}\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1.NgSelectOption, selector: \"option\", inputs: [\"ngValue\", \"value\"] }, { kind: \"directive\", type: i1.ɵNgSelectMultipleOption, selector: \"option\", inputs: [\"ngValue\", \"value\"] }, { kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.SelectControlValueAccessor, selector: \"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]\", inputs: [\"compareWith\"] }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i4.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ContactUsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-contact-us', template: \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'contact.us.category' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'contact.us.message' | translate }}\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'contact.us.message.error' | translate }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'contact.us.message.whitespace' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'contact.us.message.invalid.data' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'contact.us.submit' | translate }}\\r\\n \\r\\n
\\r\\n {{ 'contact.us.submit.success' | translate }}\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.UntypedFormBuilder }, { type: i2.ContactService }] });\n\nclass ContactUsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ContactUsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: ContactUsModule, declarations: [ContactUsComponent], imports: [CommonModule,\n ReactiveFormsModule,\n HttpClientModule,\n PipesModule,\n FGBSharedModule], exports: [ContactUsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ContactUsModule, imports: [CommonModule,\n ReactiveFormsModule,\n HttpClientModule,\n PipesModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ContactUsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [ContactUsComponent],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n HttpClientModule,\n PipesModule,\n FGBSharedModule\n ],\n exports: [ContactUsComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ContactUsComponent, ContactUsModule };\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-contact-us-page',\r\n templateUrl: './contact-us-page.component.html',\r\n styleUrls: ['./contact-us-page.component.scss'],\r\n})\r\nexport class ContactUsPageComponent implements OnInit {\r\n ngOnInit() {}\r\n}\r\n","
\r\n

{{ 'contact.us.page.title' | translate }}

\r\n
\r\n\r\n\r\n","
\r\n

{{ 'terms.page.title' | translate }}

\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n

{{ 'terms.page.loading.text' | translate }}

\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TermsAndConditionsType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-terms-page',\r\n templateUrl: './terms-page.component.html',\r\n styleUrls: ['./terms-page.component.scss'],\r\n})\r\nexport class TermsPageComponent implements OnInit {\r\n termsAndConditionsType = TermsAndConditionsType.General;\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-not-found-page',\r\n templateUrl: './not-found-page.component.html',\r\n styleUrls: ['./not-found-page.component.scss']\r\n})\r\nexport class NotFoundPageComponent implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit() {\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n

{{ 'not.found.title.1' | translate }}

\r\n
{{ 'not.found.title.2' | translate }}
\r\n
\r\n {{ 'not.found.description' | translate }}\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-account-nav',\r\n templateUrl: './account-nav.component.html',\r\n styleUrls: ['./account-nav.component.scss'],\r\n})\r\nexport class AccountNavComponent implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","\r\n","
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Name is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Email is required.\r\n
\r\n
\r\n Email is in the wrong format\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Phone number is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Reason is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ErrorStateService, MailingService, EmailRequestParameterModel, EmailModel, EmailKind, SqlDbType } from '@fgb/core';\r\nimport { Router } from '@angular/router';\r\nimport { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-refer-a-friend',\r\n templateUrl: './refer-a-friend.component.html',\r\n styleUrls: ['./refer-a-friend.component.scss']\r\n})\r\nexport class ReferAFriendComponent implements OnInit {\r\n loading: boolean = false;\r\n referAFriendForm: UntypedFormGroup;\r\n\r\n constructor(\r\n private mailingService: MailingService,\r\n private errorStateService: ErrorStateService,\r\n private router: Router,\r\n private formBuilder: UntypedFormBuilder\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.referAFriendForm = this.formBuilder.group({\r\n friendName: new UntypedFormControl('', Validators.required),\r\n friendEmail: new UntypedFormControl('', [Validators.required, Validators.email]),\r\n friendPhone: new UntypedFormControl('', Validators.required),\r\n reason: new UntypedFormControl('', Validators.required)\r\n });\r\n }\r\n\r\n get f() {\r\n return this.referAFriendForm.controls;\r\n }\r\n\r\n sendReferral(formDate: any) {\r\n this.loading = true;\r\n\r\n let parameters: EmailRequestParameterModel[] = [\r\n {\r\n ParameterName: 'FriendName',\r\n ParameterType: SqlDbType.VarChar,\r\n ParameterValue: formDate.friendName\r\n },\r\n {\r\n ParameterName: 'FriendEmail',\r\n ParameterType: SqlDbType.VarChar,\r\n ParameterValue: formDate.friendEmail\r\n },\r\n {\r\n ParameterName: 'FriendPhone',\r\n ParameterType: SqlDbType.VarChar,\r\n ParameterValue: formDate.friendPhone\r\n },\r\n {\r\n ParameterName: 'Reason',\r\n ParameterType: SqlDbType.VarChar,\r\n ParameterValue: formDate.reason\r\n }\r\n ];\r\n\r\n const emailModel: EmailModel = {\r\n EmailKind: EmailKind.ReferAFriend,\r\n Parameters: parameters\r\n };\r\n\r\n firstValueFrom(this.mailingService\r\n .sendEmail(emailModel))\r\n .then(() => {\r\n this.router.navigate(['referAFriend/success']);\r\n })\r\n .catch(err => {\r\n this.errorStateService.addError(err);\r\n })\r\n .finally(() => (this.loading = false));\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-refer-a-friend-page',\r\n templateUrl: './refer-a-friend-page.component.html',\r\n styleUrls: ['./refer-a-friend-page.component.scss']\r\n})\r\nexport class ReferAFriendPageComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n

Refer a Friend

\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-refer-a-friend-success-page',\r\n templateUrl: './refer-a-friend-success-page.component.html',\r\n styleUrls: ['./refer-a-friend-success-page.component.scss']\r\n})\r\nexport class ReferAFriendSuccessPageComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n

Referral Successfully Sent

\r\n

\r\n Thank you for your Referral. We will contact your friend shortly\r\n

\r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-rewards-layout',\r\n templateUrl: './rewards-layout.component.html',\r\n styleUrls: ['./rewards-layout.component.css']\r\n})\r\nexport class RewardsLayoutComponent implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","\r\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Input, Output, ViewChild, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbDropdown, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i3 from '@ngx-translate/core';\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport { InlineSVGModule } from 'ng-inline-svg-2';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nvar SortOrder;\n(function (SortOrder) {\n SortOrder[SortOrder[\"Ascending\"] = 1] = \"Ascending\";\n SortOrder[SortOrder[\"Descending\"] = -1] = \"Descending\";\n})(SortOrder || (SortOrder = {}));\n\nclass SortBarComponent {\n constructor() {\n /** Adds a _Default_ sorting option to the sorting menu items. */\n this.displayDefaultSort = false;\n /** Event emitted when the _Default_ menu item has been selected. */\n this.defaultSortAction = new EventEmitter();\n this.sortOrderType = SortOrder;\n }\n ngOnInit() { }\n /**\n * Emits _defaultSortAction_.\n * This allows the parent component to reapply the default order, or to perform a more complex sorting algorithm.\n * Default button is not displayed unless _displayDefaultSort_ is set to true.\n * Dropdown needs to be closed manually to prevent fingertap glitches triggered by NgbDropdown autoClose.\n */\n sortByDefault() {\n this.optionSelected = '';\n this.defaultSortAction.emit();\n this.dropdown.close();\n }\n /**\n * Orders the itemList from the parent component based on the user selection.\n * @param selectedOption sorting option selected by the user, amongst the sortBarOptions set up from the parent component.\n * @param newOrder order selected by the user, Ascending or Descending.\n * Dropdown needs to be closed manually to prevent fingertap glitches triggered by NgbDropdown autoClose.\n */\n sortByProperty(selectedOption, newOrder) {\n selectedOption.order = newOrder;\n this.resetOptionSelected(selectedOption);\n this.toggleOrderSelection(selectedOption);\n this.orderByProperty(selectedOption);\n this.dropdown.close();\n }\n /**\n * Sets the order (_Ascending_/_Descending_) of the option according to the user's selection.\n * @param selectedOption sorting option selected by the user, amongst the sortBarOptions set up from the parent component.\n */\n toggleOrderSelection(selectedOption) {\n const x = this.sortBarOptions.find((option) => option === selectedOption);\n if (x) {\n x.order = selectedOption.order;\n }\n }\n /**\n * Sorts the itemList from the parent component by the property set up in sortBarOptions.\n * @param selectedOption sorting option selected by the user, amongst the sortBarOptions set up from the parent component.\n */\n orderByProperty(selectedOption) {\n this.itemList.sort((a, b) => {\n const x = a[selectedOption.propertyToSort];\n const y = b[selectedOption.propertyToSort];\n const comparison = isNaN(x) ? x.localeCompare(y) : x - y;\n return selectedOption.order * comparison;\n });\n }\n /**\n * Sets the _optionSelected_ property to the label set up in sortBarOptions.\n * @param selectedOption sorting option selected by the user, amongst the sortBarOptions set up from the parent component.\n * @param newOrder order selected by the user, Ascending or Descending.\n */\n resetOptionSelected(selectedOption) {\n switch (selectedOption.order) {\n case SortOrder.Ascending:\n this.optionSelected = selectedOption.labelASC;\n break;\n case SortOrder.Descending:\n this.optionSelected = selectedOption.labelDESC;\n break;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SortBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: SortBarComponent, selector: \"fgbcl-sort-bar\", inputs: { sortBarOptions: \"sortBarOptions\", itemList: \"itemList\", displayDefaultSort: \"displayDefaultSort\" }, outputs: { defaultSortAction: \"defaultSortAction\" }, viewQueries: [{ propertyName: \"dropdown\", first: true, predicate: NgbDropdown, descendants: true }], ngImport: i0, template: \"
\\r\\n
\\r\\n
All items
\\r\\n\\r\\n
\\r\\n \\r\\n sort \\r\\n \\r\\n Sort By: {{ optionSelected | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n {{ option.labelDESC | translate }}\\r\\n
\\r\\n \\r\\n {{ option.labelASC | translate }}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\", styles: [\".sort-bar .icon{font-size:1.5rem}.sort-bar .sort-bar-item{height:50px;cursor:pointer;padding:.25rem 0rem;display:flex;align-items:center;border:solid 1px #f7f7f7}.sort-bar .sort-bar-item:hover{background-color:#f7f7f7}.sort-bar .dropdown-menu-right{right:.5rem;left:auto!important}.sort-bar .sort-dropdown{margin-top:0;min-width:170px}.sort-bar .dropdown-link{height:100%;width:100%;display:flex;align-items:center}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgbDropdown, selector: \"[ngbDropdown]\", inputs: [\"autoClose\", \"dropdownClass\", \"open\", \"placement\", \"popperOptions\", \"container\", \"display\"], outputs: [\"openChange\"], exportAs: [\"ngbDropdown\"] }, { kind: \"directive\", type: i2.NgbDropdownToggle, selector: \"[ngbDropdownToggle]\" }, { kind: \"directive\", type: i2.NgbDropdownMenu, selector: \"[ngbDropdownMenu]\" }, { kind: \"pipe\", type: i3.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SortBarComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-sort-bar', template: \"
\\r\\n
\\r\\n
All items
\\r\\n\\r\\n
\\r\\n \\r\\n sort \\r\\n \\r\\n Sort By: {{ optionSelected | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n {{ option.labelDESC | translate }}\\r\\n
\\r\\n \\r\\n {{ option.labelASC | translate }}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\", styles: [\".sort-bar .icon{font-size:1.5rem}.sort-bar .sort-bar-item{height:50px;cursor:pointer;padding:.25rem 0rem;display:flex;align-items:center;border:solid 1px #f7f7f7}.sort-bar .sort-bar-item:hover{background-color:#f7f7f7}.sort-bar .dropdown-menu-right{right:.5rem;left:auto!important}.sort-bar .sort-dropdown{margin-top:0;min-width:170px}.sort-bar .dropdown-link{height:100%;width:100%;display:flex;align-items:center}\\n\"] }]\n }], ctorParameters: () => [], propDecorators: { sortBarOptions: [{\n type: Input\n }], itemList: [{\n type: Input\n }], displayDefaultSort: [{\n type: Input\n }], defaultSortAction: [{\n type: Output\n }], dropdown: [{\n type: ViewChild,\n args: [NgbDropdown]\n }] } });\n\nclass SortBarModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SortBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: SortBarModule, declarations: [SortBarComponent], imports: [CommonModule,\n DirectivesModule,\n NgbDropdownModule,\n InlineSVGModule,\n FGBSharedModule], exports: [SortBarComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SortBarModule, imports: [CommonModule,\n DirectivesModule,\n NgbDropdownModule,\n InlineSVGModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SortBarModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [SortBarComponent],\n imports: [\n CommonModule,\n DirectivesModule,\n NgbDropdownModule,\n InlineSVGModule,\n FGBSharedModule\n ],\n exports: [SortBarComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { SortBarComponent, SortBarModule, SortOrder };\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { Subject } from 'rxjs';\nimport { takeUntil, map, tap } from 'rxjs/operators';\nimport * as i5 from '@fgb/portal-component-library/src/lib/shared/sort-bar';\nimport { SortOrder, SortBarModule } from '@fgb/portal-component-library/src/lib/shared/sort-bar';\nimport * as i1 from '@fgb/core';\nimport * as i3 from '@fgb/portal-component-library/src/lib/shared/loading';\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\nimport * as i4 from '@fgb/portal-component-library/src/lib/loyalty/auctions/auction-panel';\nimport { AuctionPanelModule } from '@fgb/portal-component-library/src/lib/loyalty/auctions/auction-panel';\nimport * as i6 from '@fgb/portal-component-library/src/lib/directives';\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i7 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nvar AuctionListSortOption;\n(function (AuctionListSortOption) {\n AuctionListSortOption[AuctionListSortOption[\"Ordinal\"] = 0] = \"Ordinal\";\n AuctionListSortOption[AuctionListSortOption[\"TimeRemaining\"] = 1] = \"TimeRemaining\";\n})(AuctionListSortOption || (AuctionListSortOption = {}));\n\nclass AuctionListComponent {\n constructor(auctionQuery, signalRHub) {\n this.auctionQuery = auctionQuery;\n this.signalRHub = signalRHub;\n this.defaultSort = AuctionListSortOption.TimeRemaining;\n this.sortOrderType = SortOrder;\n this._destroyed$ = new Subject();\n }\n ngOnInit() {\n this.subscribeAndSortAuctions();\n this.defineSortBarOptions();\n this.signalRHub.joinGroup('AuctionList').pipe(takeUntil(this._destroyed$)).subscribe();\n }\n ngOnDestroy() {\n this.signalRHub.removeFromGroup('AuctionList');\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n subscribeAndSortAuctions() {\n this.auctions$ = this.auctionQuery.selectAuctions().pipe(map((m) => m.sort((a, b) => {\n switch (this.defaultSort) {\n case AuctionListSortOption.TimeRemaining:\n return this.sortByTimeRemaining(a, b);\n case AuctionListSortOption.Ordinal:\n return this.sortByOrdinal(a, b);\n default:\n return 0;\n }\n })), tap((m) => (this.sortedAuctions = m)));\n }\n defineSortBarOptions() {\n this.sortBarOptions = [\n {\n propertyToSort: 'CurrentValue',\n shouldToggle: true,\n order: this.sortOrderType.Descending,\n labelDESC: 'auction.highest.bid',\n labelASC: 'auction.lowest.bid',\n },\n {\n propertyToSort: 'EndDate',\n shouldToggle: false,\n order: this.sortOrderType.Ascending,\n labelASC: 'auction.ending.soon',\n },\n {\n propertyToSort: 'Id',\n shouldToggle: false,\n order: this.sortOrderType.Descending,\n labelDESC: 'auction.new',\n },\n ];\n }\n resetOrder() {\n this.subscribeAndSortAuctions();\n }\n sortByTimeRemaining(a, b) {\n return a.TimeRemainingInSeconds - b.TimeRemainingInSeconds;\n }\n sortByOrdinal(a, b) {\n return a.Ordinal - b.Ordinal;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionListComponent, deps: [{ token: i1.AuctionQuery }, { token: i1.SignalRHub }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: AuctionListComponent, selector: \"fgbcl-auction-list\", inputs: { take: \"take\", skip: \"skip\", isList: \"isList\", defaultSort: \"defaultSort\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
{{ 'auction.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"component\", type: i4.AuctionPanelComponent, selector: \"fgbcl-auction-panel\", inputs: [\"auctionItem\", \"ignoreLink\"] }, { kind: \"component\", type: i5.SortBarComponent, selector: \"fgbcl-sort-bar\", inputs: [\"sortBarOptions\", \"itemList\", \"displayDefaultSort\"], outputs: [\"defaultSortAction\"] }, { kind: \"directive\", type: i6.WebsiteContentFeatureFlagDirective, selector: \"[fgbWebsiteContentFeatureFlag]\", inputs: [\"fgbWebsiteContentFeatureFlag\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i7.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-auction-list', template: \"
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
{{ 'auction.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.AuctionQuery }, { type: i1.SignalRHub }], propDecorators: { take: [{\n type: Input\n }], skip: [{\n type: Input\n }], isList: [{\n type: Input\n }], defaultSort: [{\n type: Input\n }] } });\n\nclass AuctionListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionListModule, declarations: [AuctionListComponent], imports: [CommonModule,\n LoadingModule,\n AuctionPanelModule,\n SortBarModule,\n DirectivesModule,\n FGBSharedModule], exports: [AuctionListComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionListModule, imports: [CommonModule,\n LoadingModule,\n AuctionPanelModule,\n SortBarModule,\n DirectivesModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionListModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [AuctionListComponent],\n imports: [\n CommonModule,\n LoadingModule,\n AuctionPanelModule,\n SortBarModule,\n DirectivesModule,\n FGBSharedModule\n ],\n exports: [AuctionListComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AuctionListComponent, AuctionListModule, AuctionListSortOption };\n","import { Component, OnInit } from '@angular/core';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\n\r\n@Component({\r\n selector: 'fgb-mixed-loyalty-nav',\r\n templateUrl: './mixed-loyalty-nav.component.html',\r\n styleUrls: ['./mixed-loyalty-nav.component.scss'],\r\n})\r\nexport class MixedLoyaltyNavComponent implements OnInit {\r\n populations = Populations;\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-auctions-page',\r\n templateUrl: './auctions-page.component.html',\r\n styleUrls: ['./auctions-page.component.scss']\r\n})\r\nexport class AuctionsPageComponent implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","
\r\n

{{ 'auction.page.title' | translate }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n","import * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Pipe, EventEmitter, computed, Component, ChangeDetectionStrategy, Input, Output } from '@angular/core';\nimport { Duration, DateTime } from 'luxon';\nimport { timer, map, takeWhile, tap } from 'rxjs';\n\nclass CountDownFormatPipe {\n transform(milliseconds) {\n if (!milliseconds) {\n return '';\n }\n const date = Duration.fromMillis(milliseconds).shiftTo('days', 'hours', 'minutes', 'seconds').toObject();\n const days = date.days;\n const hours = date.hours;\n const minutes = date.minutes;\n const seconds = date.seconds;\n if (days) {\n return `${days}D ${hours}H`;\n }\n else if (hours) {\n return `${hours}H ${minutes}M`;\n }\n else if (minutes) {\n return `${minutes}M ${seconds}S`;\n }\n else {\n return `${seconds}S`;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountDownFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: CountDownFormatPipe, isStandalone: true, name: \"countdownFormat\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountDownFormatPipe, decorators: [{\n type: Pipe,\n args: [{\n standalone: true,\n name: 'countdownFormat'\n }]\n }] });\n\n/**\n * Countdown version 2 of the countdown component, this component uses luxon for date time manipulation.\n * This is more accurate than the previous countdown component as this one sets the millisecond to 0 while\n * the old component uses math.floor to get the remaining time and completes sometimes ahead of 1 second.\n * When the old component triggers complete when comparing the start date and now date again, the remaining time is not accurate as sometimes the result\n * will be behind by 1 second resulting to false\n * @example \n *\n */\nclass CountdownV2Component {\n constructor() {\n /** The text to display in the countdown upon expiry. */\n this.completeText = 'Complete';\n /** determines whether component will receive local or utc time. default is utc. */\n this.isUTC = true;\n /** Emitted upon countdown expiry. */\n this.complete = new EventEmitter();\n this.endDate = computed(() => this.isUTC ? DateTime.fromISO(this.endDateTime, { zone: 'utc' }) : DateTime.fromISO(this.endDateTime));\n this.completed = false;\n }\n ngOnInit() {\n this.now = this.isUTC ? DateTime.utc() : DateTime.now();\n if (this.startDateTime) {\n this.now = this.isUTC ? DateTime.fromISO(this.startDateTime, { zone: 'utc' }) : DateTime.fromISO(this.startDateTime);\n }\n this.startTimer();\n }\n startTimer() {\n const remainingTime = this.endDate().diff(this.now.set({ millisecond: 0 })).toObject();\n const remainingTimeInMillis = Duration.fromObject(remainingTime).as('milliseconds');\n this.remainingTime$ = timer(0, 1000).pipe(map((x) => remainingTimeInMillis - (x * 1000)), \n // Stop the timer when the countdown is completed\n takeWhile(() => !this.completed), tap(milliseconds => {\n // // if milliseconds is less than or equal to 0, then the countdown is completed\n if (milliseconds <= 0) {\n this.completed = true;\n // Notify the parent component that the countdown is completed\n this.complete.emit(this.completed);\n }\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountdownV2Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CountdownV2Component, isStandalone: true, selector: \"fgbcl-countdown-v2\", inputs: { startDateTime: \"startDateTime\", endDateTime: \"endDateTime\", completeText: \"completeText\", isUTC: \"isUTC\" }, outputs: { complete: \"complete\" }, ngImport: i0, template: \"\\r\\n {{ remainingTime$ | async | countdownFormat }}\\r\\n\\r\\n\\r\\n \\r\\n {{ completeText }}\\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"ngmodule\", type: CommonModule }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: CountDownFormatPipe, name: \"countdownFormat\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CountdownV2Component, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-countdown-v2', standalone: true, imports: [CommonModule, CountDownFormatPipe], changeDetection: ChangeDetectionStrategy.OnPush, template: \"\\r\\n {{ remainingTime$ | async | countdownFormat }}\\r\\n\\r\\n\\r\\n \\r\\n {{ completeText }}\\r\\n \\r\\n\\r\\n\" }]\n }], propDecorators: { startDateTime: [{\n type: Input\n }], endDateTime: [{\n type: Input,\n args: [{ required: true }]\n }], completeText: [{\n type: Input\n }], isUTC: [{\n type: Input\n }], complete: [{\n type: Output\n }] } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CountdownV2Component };\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function takeWhile(predicate, inclusive = false) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n const result = predicate(value, index++);\n (result || inclusive) && subscriber.next(value);\n !result && subscriber.complete();\n }));\n });\n}\n","import * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { EventEmitter, Component, ChangeDetectionStrategy, Input, Output } from '@angular/core';\nimport { CountdownModule } from '@fgb/portal-component-library/src/lib/shared/countdown';\nimport * as i2 from '@ngx-translate/core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { CountdownV2Component } from '@fgb/portal-component-library/src/lib/shared/countdown-v2';\nimport { LOYALTY_STATUS } from '@fgb/core';\n\nclass RewardStatusComponent {\n constructor() {\n this.itemStart = new EventEmitter();\n this.statusType = LOYALTY_STATUS;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RewardStatusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: RewardStatusComponent, isStandalone: true, selector: \"fgbcl-reward-status\", inputs: { status: \"status\", startDate: \"startDate\", comingSoonDate: \"comingSoonDate\" }, outputs: { itemStart: \"itemStart\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\".reward-disabled-status .reward-status{height:54px;display:flex;align-items:center;justify-content:center;border-radius:16px}.reward-disabled-status .reward-status label{font-size:14px;font-weight:400;margin-bottom:0;margin-right:5px}.reward-disabled-status fgbcl-countdown-v2{color:#707070;font-size:14px}.icon.material-icons{font-size:17px;vertical-align:sub}\\n\"], dependencies: [{ kind: \"ngmodule\", type: CommonModule }, { kind: \"directive\", type: i1.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i1.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"ngmodule\", type: CountdownModule }, { kind: \"ngmodule\", type: TranslateModule }, { kind: \"pipe\", type: i2.TranslatePipe, name: \"translate\" }, { kind: \"component\", type: CountdownV2Component, selector: \"fgbcl-countdown-v2\", inputs: [\"startDateTime\", \"endDateTime\", \"completeText\", \"isUTC\"], outputs: [\"complete\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RewardStatusComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-reward-status', standalone: true, imports: [CommonModule, CountdownModule, TranslateModule, CountdownV2Component], changeDetection: ChangeDetectionStrategy.OnPush, template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\".reward-disabled-status .reward-status{height:54px;display:flex;align-items:center;justify-content:center;border-radius:16px}.reward-disabled-status .reward-status label{font-size:14px;font-weight:400;margin-bottom:0;margin-right:5px}.reward-disabled-status fgbcl-countdown-v2{color:#707070;font-size:14px}.icon.material-icons{font-size:17px;vertical-align:sub}\\n\"] }]\n }], propDecorators: { status: [{\n type: Input,\n args: [{ required: true }]\n }], startDate: [{\n type: Input\n }], comingSoonDate: [{\n type: Input\n }], itemStart: [{\n type: Output\n }] } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RewardStatusComponent };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Directive, Input, Output, HostBinding, HostListener, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport * as i1$1 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i2 from '@ngx-translate/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass ConfirmModalComponent {\n constructor() {\n this.confirm = new EventEmitter();\n this.close = new EventEmitter();\n }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ConfirmModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ConfirmModalComponent, selector: \"fgbcl-confirm-modal\", ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ headerContent.icon }}\\r\\n \\r\\n
{{ headerContent.data }}
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\".modal-image{width:390px;height:390px}@media (max-width: 991px){.modal-image{width:100%;height:340px}}.confirm-modal-header{padding:20px}.confirm-modal-header h5,.modal-body,.modal-footer{font-size:14px}.modal-body{padding:1rem 0}button:hover{color:#fff}.modal-footer button{max-width:142px;width:100%;font-size:.875rem}.modal-footer{padding:0 15px;display:flex;align-items:center;height:54px;border-top:1px solid rgba(0,0,0,.125)}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"pipe\", type: i2.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ConfirmModalComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-confirm-modal', template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ headerContent.icon }}\\r\\n \\r\\n
{{ headerContent.data }}
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\".modal-image{width:390px;height:390px}@media (max-width: 991px){.modal-image{width:100%;height:340px}}.confirm-modal-header{padding:20px}.confirm-modal-header h5,.modal-body,.modal-footer{font-size:14px}.modal-body{padding:1rem 0}button:hover{color:#fff}.modal-footer button{max-width:142px;width:100%;font-size:.875rem}.modal-footer{padding:0 15px;display:flex;align-items:center;height:54px;border-top:1px solid rgba(0,0,0,.125)}\\n\"] }]\n }], ctorParameters: () => [] });\n\nclass ConfirmModalDirective {\n get isDisabled() {\n return this.disabled ? '' : null;\n }\n constructor(modalService) {\n this.modalService = modalService;\n this.destroy$ = new Subject();\n this.disabled = false;\n this.valid = true;\n this.confirm = new EventEmitter();\n }\n onClick() {\n if (!this.disabled) {\n this.modal = this.modalService.open(ConfirmModalComponent, {\n size: !!this.confirmImage ? 'lg' : undefined,\n centered: true,\n windowClass: this.className,\n });\n this.modalComponent = this.modal.componentInstance;\n this.modalComponent.modalContent = this.confirmContent;\n this.modalComponent.context = this.confirmContext;\n this.modalComponent.imageRef = this.confirmImage;\n this.modalComponent.headerContent = this.confirmHeader;\n this.modalComponent.close.pipe(takeUntil(this.destroy$)).subscribe((x) => this.modal.close(x));\n this.modalComponent.confirm.pipe(takeUntil(this.destroy$)).subscribe((x) => {\n this.confirm.emit(x);\n this.modal.close(x);\n });\n }\n }\n ngOnChanges(changes) {\n if (!this.valid) {\n this.modal.close();\n }\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ConfirmModalDirective, deps: [{ token: i1$1.NgbModal }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ConfirmModalDirective, selector: \"[confirmModal]\", inputs: { disabled: \"disabled\", confirmImage: \"confirmImage\", confirmContent: \"confirmContent\", confirmContext: \"confirmContext\", className: [\"modal-class\", \"className\"], valid: \"valid\", confirmHeader: \"confirmHeader\" }, outputs: { confirm: \"confirm\" }, host: { listeners: { \"click\": \"onClick()\" }, properties: { \"attr.disabled\": \"this.isDisabled\" } }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ConfirmModalDirective, decorators: [{\n type: Directive,\n args: [{\n // tslint:disable-next-line: directive-selector\n selector: '[confirmModal]',\n }]\n }], ctorParameters: () => [{ type: i1$1.NgbModal }], propDecorators: { disabled: [{\n type: Input\n }], confirmImage: [{\n type: Input\n }], confirmContent: [{\n type: Input\n }], confirmContext: [{\n type: Input\n }], className: [{\n type: Input,\n args: [{ alias: 'modal-class' }]\n }], valid: [{\n type: Input\n }], confirmHeader: [{\n type: Input\n }], confirm: [{\n type: Output\n }], isDisabled: [{\n type: HostBinding,\n args: ['attr.disabled']\n }], onClick: [{\n type: HostListener,\n args: ['click']\n }] } });\n\nclass ConfirmModalModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ConfirmModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: ConfirmModalModule, declarations: [ConfirmModalComponent, ConfirmModalDirective], imports: [CommonModule,\n FormsModule,\n NgbModule,\n FGBSharedModule], exports: [ConfirmModalComponent, ConfirmModalDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ConfirmModalModule, imports: [CommonModule,\n FormsModule,\n NgbModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ConfirmModalModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [ConfirmModalComponent, ConfirmModalDirective],\n imports: [\n CommonModule,\n FormsModule,\n NgbModule,\n FGBSharedModule\n ],\n exports: [ConfirmModalComponent, ConfirmModalDirective]\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ConfirmModalComponent, ConfirmModalDirective, ConfirmModalModule };\n","import * as i0 from '@angular/core';\nimport { signal, inject, Injector, DestroyRef, runInInjectionContext, computed, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport { getLoyaltyBalance, config, TermsAndCondtionsType, LOYALTY_STATUS, AuctionStatus, AuctionBid, FgbError } from '@fgb/core';\nimport { tap } from 'rxjs/operators';\nimport { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';\nimport * as i7 from '@fgb/portal-component-library/src/lib/directives';\nimport { ScreenType, IfItemEnabled, DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i2 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbCarouselModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i4 from '@fgb/portal-component-library/src/lib/loyalty/reward-status';\nimport { RewardStatusComponent } from '@fgb/portal-component-library/src/lib/loyalty/reward-status';\nimport * as i5 from '@fgb/portal-component-library/src/lib/shared/number-input';\nimport { NumberInputModule } from '@fgb/portal-component-library/src/lib/shared/number-input';\nimport * as i6 from '@fgb/portal-component-library/src/lib/shared/countdown';\nimport { CountdownModule } from '@fgb/portal-component-library/src/lib/shared/countdown';\nimport * as i8 from '@fgb/portal-component-library/src/lib/shared/confirm-modal';\nimport { ConfirmModalModule } from '@fgb/portal-component-library/src/lib/shared/confirm-modal';\nimport * as i9 from '@angular/forms';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport * as i10 from '@fgb/portal-component-library/src/lib/shared/errors';\nimport { ErrorsModule, ErrorComponent } from '@fgb/portal-component-library/src/lib/shared/errors';\nimport * as i11 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i12 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { ShortLongDescriptionModule } from '@fgb/portal-component-library/src/lib/shared/short-long-description';\nimport { RouterModule } from '@angular/router';\nimport { LoyaltyIconModule } from '@fgb/portal-component-library/src/lib/shared/loyalty-icon';\n\nclass AuctionDetailsComponent {\n constructor(auctionService, auctionQuery, balanceService, errorService, carouselConfig, signalRHub) {\n this.auctionService = auctionService;\n this.auctionQuery = auctionQuery;\n this.balanceService = balanceService;\n this.errorService = errorService;\n this.carouselConfig = carouselConfig;\n this.signalRHub = signalRHub;\n this.availableBalance = getLoyaltyBalance();\n this.bidAmount = 0;\n this.minBidAmount = 0;\n this.auctionEnd = false;\n this.isBidOutOfRange = false;\n this.isWinning = signal(false);\n this.config = config;\n this.showTermsAndConditionsText = false;\n this.showDescription = true;\n this.TermsAndCondtionsType = TermsAndCondtionsType;\n this.termsAccepted = false;\n this.screenSize = ScreenType;\n this.auction = signal(null);\n this.STATUS = LOYALTY_STATUS;\n this.auctionStatus = AuctionStatus;\n this.injector = inject(Injector);\n this.destroyRef = inject(DestroyRef);\n }\n ngOnInit() {\n this.signalRHub\n .joinGroup('AuctionDetails_' + this.auctionId)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe();\n this.init();\n this.updateCarouselConfig();\n }\n ngOnDestroy() {\n this.signalRHub.removeFromGroup('AuctionDetails_' + this.auctionId);\n }\n init() {\n runInInjectionContext(this.injector, () => {\n this.auction = toSignal(this.auctionQuery.selectAuction(this.auctionId).pipe(tap((auction) => this.updateValues(auction))));\n this.isWinning = computed(() => !!this.auction().IsWinning);\n });\n }\n updateValues(o) {\n const currentValue = o?.CurrentValue ?? 0;\n const bidIncrement = o?.BidIncrement ?? 0;\n this.minBidAmount = o?.HasPreviousSuccessfulBid ? currentValue + bidIncrement : currentValue;\n this.bidAmount = this.minBidAmount;\n this.availableBalance += o?.UserLastBid || 0;\n this.currentValue = o?.CurrentValue || 0;\n }\n submitBid() {\n // Submit the bid\n const bid = new AuctionBid(this.auctionId, +this.bidAmount);\n let amountToDebit = this.bidAmount;\n if (this.isWinning()) {\n let auction = this.auctionQuery.getEntity(this.auctionId);\n if (auction) {\n amountToDebit -= auction.UserLastBid;\n }\n }\n this.auctionService\n .postBid(bid)\n .toPromise()\n .then(() => this.balanceService.debitBalance(this.config.purseConfig.virtualLoyalty, amountToDebit));\n }\n /**\n * Customise carousel\n * config if needed for\n * auction items which have\n * multiple auction images.\n */\n updateCarouselConfig() {\n this.carouselConfig.showNavigationIndicators = false;\n this.carouselConfig.interval = 3000;\n }\n showDescriptionActive() {\n this.showDescription = true;\n this.showTermsAndConditionsText = false;\n }\n showTermsAndConditonsActive() {\n this.showDescription = false;\n this.showTermsAndConditionsText = true;\n }\n onErrorChange(err) {\n // The error message displays for 3 seconds and then clears itself, if not the behavior wanted, use service instead\n if (err) {\n throw new FgbError({ message: err });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionDetailsComponent, deps: [{ token: i1.AuctionService }, { token: i1.AuctionQuery }, { token: i1.BalanceService }, { token: i1.ErrorStateService }, { token: i2.NgbCarouselConfig }, { token: i1.SignalRHub }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: AuctionDetailsComponent, selector: \"fgbcl-auction-details\", inputs: { auctionId: \"auctionId\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'auction.winning.status' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'auction.outbid.status' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'auction.winning.status' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'auction.outbid.status' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ auction()?.Sponsor?.SponsorText }} \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n

{{ auction().ItemName }}

\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ currentValue | number }} Pts\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n {{ 'auction.terms.accept' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n availableBalance || (isWinning() && !auction().AllowSelfBid)\\r\\n ? false\\r\\n : true\\r\\n \\\"\\r\\n >\\r\\n \\r\\n \\r\\n
\\r\\n availableBalance ||\\r\\n auctionEnd ||\\r\\n isBidOutOfRange ||\\r\\n (auction().ShowTermsAndConditions && !termsAccepted)\\r\\n \\\"\\r\\n class=\\\"btn btn-block fw-bold px-4 mt-lg-0 btn-rewards-redeem\\\"\\r\\n modal-class=\\\"reward-confirm-modal\\\"\\r\\n confirmModal\\r\\n [confirmContent]=\\\"confirmContent\\\"\\r\\n [valid]=\\\"!auctionEnd\\\"\\r\\n (confirm)=\\\"submitBid()\\\"\\r\\n >\\r\\n {{ 'auction.bid.now' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ currentValue | number }} Pts\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'auction.item.description' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'auction.item.tcs' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ auction().TermsAndConditions }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n

{{ 'auction.confirm.text' | translate }}

\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n {{ 'auctions.confirmation.additional' | translate }}\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n
{{ auction().ItemName }}
\\r\\n
\\r\\n {{ 'auction.points.value' | translate }}\\r\\n \\r\\n {{ bidAmount | number }} {{ 'auction.points.value.pts' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\".card-img-overlay{font-size:18px}.btn-block{font-size:.875rem;min-width:224px;height:34px;border-radius:16px}@media (max-width: 991px){.btn-block{min-width:310px}}.form-check-input{width:20px;height:20px;border:var(--bs-border-width) solid #000}.form-check-input:focus{box-shadow:none}.form-check-input:checked{background-color:#52c443;border:var(--bs-border-width) solid #52c443;box-shadow:none}.status-container{margin-top:30px;margin-bottom:30px}.form-check{margin-top:30px}.form-check>*:hover{cursor:pointer}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i3.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"component\", type: i4.RewardStatusComponent, selector: \"fgbcl-reward-status\", inputs: [\"status\", \"startDate\", \"comingSoonDate\"], outputs: [\"itemStart\"] }, { kind: \"component\", type: i5.NumberInputComponent, selector: \"fgbcl-number-input\", inputs: [\"isActive\", \"minMessage\", \"maxMessage\", \"theme\", \"incrementValue\", \"limitValueToRange\", \"unlimitedLimit\", \"minValue\", \"maxValue\", \"amount\", \"outOfRange\", \"showErrorMessage\"], outputs: [\"amountChange\", \"outOfRangeChange\", \"errorChange\"] }, { kind: \"component\", type: i6.CountdownComponent, selector: \"fgbcl-countdown\", inputs: [\"endDateTime\", \"requestDateTime\", \"completeText\", \"isUTC\"], outputs: [\"complete\"] }, { kind: \"directive\", type: i7.IfItemEnabled, selector: \"[ifItemEnabled]\", inputs: [\"ifItemEnabled\", \"ifItemEnabledDisabledStatus\", \"ifItemEnabledElse\"], exportAs: [\"itemEnabled\"] }, { kind: \"directive\", type: i7.IfScreenSizeDirective, selector: \"[ifScreenSize]\", inputs: [\"ifScreenSize\"] }, { kind: \"directive\", type: i7.WebsiteContentFeatureFlagDirective, selector: \"[fgbWebsiteContentFeatureFlag]\", inputs: [\"fgbWebsiteContentFeatureFlag\"] }, { kind: \"directive\", type: i8.ConfirmModalDirective, selector: \"[confirmModal]\", inputs: [\"disabled\", \"confirmImage\", \"confirmContent\", \"confirmContext\", \"modal-class\", \"valid\", \"confirmHeader\"], outputs: [\"confirm\"] }, { kind: \"directive\", type: i9.CheckboxControlValueAccessor, selector: \"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]\" }, { kind: \"directive\", type: i9.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i9.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"component\", type: i10.ErrorComponent, selector: \"fgbcl-error\" }, { kind: \"pipe\", type: i3.DecimalPipe, name: \"number\" }, { kind: \"pipe\", type: i11.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i11.SafeHtmlPipe, name: \"safeHtml\" }, { kind: \"pipe\", type: i12.TranslatePipe, name: \"translate\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionDetailsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-auction-details', changeDetection: ChangeDetectionStrategy.OnPush, template: \"
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'auction.winning.status' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'auction.outbid.status' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'auction.winning.status' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'auction.outbid.status' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n

{{ auction().ItemName }}

\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ currentValue | number }} Pts\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n {{ 'auction.terms.accept' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n availableBalance || (isWinning() && !auction().AllowSelfBid)\\r\\n ? false\\r\\n : true\\r\\n \\\"\\r\\n >\\r\\n \\r\\n \\r\\n
\\r\\n availableBalance ||\\r\\n auctionEnd ||\\r\\n isBidOutOfRange ||\\r\\n (auction().ShowTermsAndConditions && !termsAccepted)\\r\\n \\\"\\r\\n class=\\\"btn btn-block fw-bold px-4 mt-lg-0 btn-rewards-redeem\\\"\\r\\n modal-class=\\\"reward-confirm-modal\\\"\\r\\n confirmModal\\r\\n [confirmContent]=\\\"confirmContent\\\"\\r\\n [valid]=\\\"!auctionEnd\\\"\\r\\n (confirm)=\\\"submitBid()\\\"\\r\\n >\\r\\n {{ 'auction.bid.now' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ currentValue | number }} Pts\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'auction.item.description' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'auction.item.tcs' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ auction().TermsAndConditions }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n

{{ 'auction.confirm.text' | translate }}

\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n {{ 'auctions.confirmation.additional' | translate }}\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n
{{ auction().ItemName }}
\\r\\n
\\r\\n {{ 'auction.points.value' | translate }}\\r\\n \\r\\n {{ bidAmount | number }} {{ 'auction.points.value.pts' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\".card-img-overlay{font-size:18px}.btn-block{font-size:.875rem;min-width:224px;height:34px;border-radius:16px}@media (max-width: 991px){.btn-block{min-width:310px}}.form-check-input{width:20px;height:20px;border:var(--bs-border-width) solid #000}.form-check-input:focus{box-shadow:none}.form-check-input:checked{background-color:#52c443;border:var(--bs-border-width) solid #52c443;box-shadow:none}.status-container{margin-top:30px;margin-bottom:30px}.form-check{margin-top:30px}.form-check>*:hover{cursor:pointer}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.AuctionService }, { type: i1.AuctionQuery }, { type: i1.BalanceService }, { type: i1.ErrorStateService }, { type: i2.NgbCarouselConfig }, { type: i1.SignalRHub }], propDecorators: { auctionId: [{\n type: Input\n }] } });\n\nclass AuctionDetailsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionDetailsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionDetailsModule, declarations: [AuctionDetailsComponent], imports: [CommonModule,\n ErrorsModule,\n RewardStatusComponent,\n NumberInputModule,\n ShortLongDescriptionModule,\n PipesModule,\n LoyaltyIconModule,\n CountdownModule,\n IfItemEnabled,\n DirectivesModule,\n ConfirmModalModule,\n RouterModule,\n NgbCarouselModule,\n FormsModule,\n FGBSharedModule,\n ErrorComponent,\n ReactiveFormsModule], exports: [AuctionDetailsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionDetailsModule, imports: [CommonModule,\n ErrorsModule,\n RewardStatusComponent,\n NumberInputModule,\n ShortLongDescriptionModule,\n PipesModule,\n LoyaltyIconModule,\n CountdownModule,\n DirectivesModule,\n ConfirmModalModule,\n RouterModule,\n NgbCarouselModule,\n FormsModule,\n FGBSharedModule,\n ErrorComponent,\n ReactiveFormsModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionDetailsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [AuctionDetailsComponent],\n imports: [\n CommonModule,\n ErrorsModule,\n RewardStatusComponent,\n NumberInputModule,\n ShortLongDescriptionModule,\n PipesModule,\n LoyaltyIconModule,\n CountdownModule,\n IfItemEnabled,\n DirectivesModule,\n ConfirmModalModule,\n RouterModule,\n NgbCarouselModule,\n FormsModule,\n FGBSharedModule,\n ErrorComponent,\n ReactiveFormsModule\n ],\n exports: [AuctionDetailsComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AuctionDetailsComponent, AuctionDetailsModule };\n","import { Component, OnInit } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { BalanceQuery } from '@fgb/core';\r\nimport { config } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-points-summary',\r\n templateUrl: './points-summary.component.html',\r\n styleUrls: ['./points-summary.component.scss'],\r\n})\r\nexport class PointsSummaryComponent implements OnInit {\r\n pointsBalance$: Observable;\r\n\r\n constructor(private balanceQuery: BalanceQuery) {}\r\n\r\n ngOnInit() {\r\n this.pointsBalance$ = this.balanceQuery.selectPurse(config.purseConfig.virtualLoyalty);\r\n }\r\n}\r\n","
\r\n {{ pointsBalance$ | async | FortressCurrencyPipe : 'PTS' }}\r\n
\r\n","
\r\n \r\n
\r\n navigate_before\r\n {{ 'points.summary.bar.back.label' | translate }}\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-points-summary-bar',\r\n templateUrl: './points-summary-bar.component.html',\r\n styleUrls: ['./points-summary-bar.component.scss'],\r\n})\r\nexport class PointsSummaryBarComponent implements OnInit {\r\n @Input() backButtonLink: string = '/rewards';\r\n @Input() backButtonTitle: string;\r\n @Input() marketplaceItemGroup: string;\r\n @Input() showPoints: boolean = true;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-auction-detail-page',\r\n templateUrl: './auction-detail-page.component.html',\r\n styleUrls: ['./auction-detail-page.component.scss']\r\n})\r\nexport class AuctionDetailPageComponent implements OnInit {\r\n constructor(private route: ActivatedRoute) {}\r\n id: number;\r\n ngOnInit() {\r\n this.id = +(this.route.snapshot.paramMap.get('id') || 0);\r\n }\r\n}\r\n","\r\n
\r\n
\r\n

{{ 'auction.page.title' | translate }}

\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n Back to Auctions\r\n
\r\n
\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport { MarketplaceItemStatus } from '@fgb/core';\nimport * as i3 from '@fgb/portal-component-library/src/lib/shared/sort-bar';\nimport { SortOrder, SortBarModule } from '@fgb/portal-component-library/src/lib/shared/sort-bar';\nimport moment from 'moment/moment';\nimport * as i4 from '@fgb/portal-component-library/src/lib/shared/loading';\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\nimport * as i5 from '@fgb/portal-component-library/src/lib/loyalty/marketplace/marketplace-list-item';\nimport { MarketplaceListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/marketplace/marketplace-list-item';\nimport * as i6 from '@fgb/portal-component-library/src/lib/directives';\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i7 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nvar MarketplaceListSortOption;\n(function (MarketplaceListSortOption) {\n MarketplaceListSortOption[MarketplaceListSortOption[\"Ordinal\"] = 0] = \"Ordinal\";\n MarketplaceListSortOption[MarketplaceListSortOption[\"Points\"] = 1] = \"Points\";\n})(MarketplaceListSortOption || (MarketplaceListSortOption = {}));\n\nclass MarketplaceListComponent {\n constructor(marketplaceExtendedQuery) {\n this.marketplaceExtendedQuery = marketplaceExtendedQuery;\n this.showSortBar = true;\n this.defaultSort = MarketplaceListSortOption.Points;\n this.sortOrderType = SortOrder;\n }\n ngOnInit() {\n this.queryMarketplaceItems();\n this.subscribeAndSortMarketplaceItems();\n this.defineSortBarOptions();\n }\n ngOnDestroy() {\n if (this.marketplaceItemsSubscription) {\n this.marketplaceItemsSubscription.unsubscribe();\n }\n }\n queryMarketplaceItems() {\n if (this.marketplaceItemTypes) {\n this.marketplaceItems$ = this.marketplaceExtendedQuery.selectExtendedMarketplaceItemsOfType(...this.marketplaceItemTypes);\n }\n else {\n this.marketplaceItems$ = this.marketplaceExtendedQuery.selectExtendedMarketplaceItems();\n }\n }\n subscribeAndSortMarketplaceItems() {\n this.marketplaceItemsSubscription = this.marketplaceItems$.subscribe((items) => {\n if (items) {\n items.filter((item) => {\n const today = moment().utc();\n const endDate = moment.utc(item.ItemEndDate);\n return !item.ComingSoon || (item.ComingSoon && endDate.isAfter(today));\n });\n items = this._sortItems(items);\n this.filteredMarketplaceItems = items;\n }\n });\n }\n defineSortBarOptions() {\n this.sortBarOptions = [\n {\n propertyToSort: 'PointValue',\n shouldToggle: true,\n order: this.sortOrderType.Descending,\n labelASC: 'fgbcl.points.low.to.high',\n labelDESC: 'fgbcl.points.high.to.low',\n },\n {\n propertyToSort: 'ItemEndDate',\n order: this.sortOrderType.Ascending,\n shouldToggle: false,\n labelASC: 'fgbcl.sortby.ending.soon',\n },\n {\n propertyToSort: 'AvailableCount',\n order: this.sortOrderType.Descending,\n shouldToggle: true,\n labelASC: 'fgbcl.limited.availability',\n labelDESC: 'fgbcl.high.availability',\n },\n {\n propertyToSort: 'DisplayName',\n order: this.sortOrderType.Descending,\n shouldToggle: true,\n labelASC: 'fgbcl.sortby.name.atoz',\n labelDESC: 'fgbcl.sortby.name.ztoa',\n },\n ];\n }\n resetOrder() {\n this.subscribeAndSortMarketplaceItems();\n }\n _sortItems(items) {\n let sortedItemsMap = new Map();\n // split out for all marketplace status\n for (let status in MarketplaceItemStatus) {\n if (isNaN(Number(status))) {\n sortedItemsMap.set(status, items\n .filter((x) => x.Status === MarketplaceItemStatus[status])\n .sort((a, b) => {\n switch (this.defaultSort) {\n case MarketplaceListSortOption.Points:\n return this.sortByPoints(a, b);\n case MarketplaceListSortOption.Ordinal:\n return this.sortByOrdinal(a, b);\n default:\n return 0;\n }\n }));\n }\n }\n let sortedItems = [];\n let availableItems = sortedItemsMap.get(MarketplaceItemStatus[MarketplaceItemStatus.Available]);\n if (availableItems) {\n sortedItems.push(...availableItems);\n }\n let notEnoughPointsItems = sortedItemsMap.get(MarketplaceItemStatus[MarketplaceItemStatus.NotEnoughPoints]);\n if (notEnoughPointsItems) {\n sortedItems.push(...notEnoughPointsItems);\n }\n let limitReachedItems = sortedItemsMap.get(MarketplaceItemStatus[MarketplaceItemStatus.MemberLimitReached]);\n if (limitReachedItems) {\n sortedItems.push(...limitReachedItems);\n }\n let soldOutItems = sortedItemsMap.get(MarketplaceItemStatus[MarketplaceItemStatus.SoldOut]);\n if (soldOutItems) {\n sortedItems.push(...soldOutItems);\n }\n let comingSoonItems = sortedItemsMap.get(MarketplaceItemStatus[MarketplaceItemStatus.ComingSoon]);\n if (comingSoonItems) {\n sortedItems.push(...comingSoonItems);\n }\n sortedItems = this.sortItemsFavouriteAndNewest(sortedItems);\n return sortedItems;\n }\n sortItemsFavouriteAndNewest(marketplaceItemExtended) {\n const threeDays = 3;\n const itemsNew = marketplaceItemExtended.filter((items, index) => {\n const startDate = moment().diff(items?.ItemStartDate, 'days');\n if (items.Active && startDate <= threeDays) {\n marketplaceItemExtended.splice(index, 1);\n return items;\n }\n else\n return;\n });\n const itemsFavourite = marketplaceItemExtended.filter((items, index) => {\n if (items.Favourite)\n marketplaceItemExtended.splice(index, 1);\n return items.Favourite;\n });\n return itemsNew.concat(itemsFavourite).concat(marketplaceItemExtended);\n }\n sortByPoints(a, b) {\n return b.PointValue - a.PointValue;\n }\n sortByOrdinal(a, b) {\n return a.Ordinal - b.Ordinal;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListComponent, deps: [{ token: i1.MarketplaceExtendedQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MarketplaceListComponent, selector: \"fgbcl-marketplace-list\", inputs: { take: \"take\", isList: \"isList\", showSortBar: \"showSortBar\", marketplaceItemTypes: \"marketplaceItemTypes\", marketplaceItemView: \"marketplaceItemView\", eventItemView: \"eventItemView\", productsItemView: \"productsItemView\", defaultSort: \"defaultSort\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n \\r\\n
\\r\\n
{{ 'marketplace.placeholder.description' | translate }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'events.placeholder.description' | translate }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'products.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.SortBarComponent, selector: \"fgbcl-sort-bar\", inputs: [\"sortBarOptions\", \"itemList\", \"displayDefaultSort\"], outputs: [\"defaultSortAction\"] }, { kind: \"component\", type: i4.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"component\", type: i5.MarketplaceListItemComponent, selector: \"fgbcl-marketplace-list-item\", inputs: [\"marketplaceItem\", \"ignoreLink\"] }, { kind: \"directive\", type: i6.WebsiteContentFeatureFlagDirective, selector: \"[fgbWebsiteContentFeatureFlag]\", inputs: [\"fgbWebsiteContentFeatureFlag\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i7.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-marketplace-list', template: \"
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n \\r\\n
\\r\\n
{{ 'marketplace.placeholder.description' | translate }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'events.placeholder.description' | translate }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'products.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.MarketplaceExtendedQuery }], propDecorators: { take: [{\n type: Input\n }], isList: [{\n type: Input\n }], showSortBar: [{\n type: Input\n }], marketplaceItemTypes: [{\n type: Input\n }], marketplaceItemView: [{\n type: Input\n }], eventItemView: [{\n type: Input\n }], productsItemView: [{\n type: Input\n }], defaultSort: [{\n type: Input\n }] } });\n\nclass MarketplaceListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListModule, declarations: [MarketplaceListComponent], imports: [CommonModule,\n SortBarModule,\n LoadingModule,\n MarketplaceListItemModule,\n DirectivesModule,\n FGBSharedModule], exports: [MarketplaceListComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListModule, imports: [CommonModule,\n SortBarModule,\n LoadingModule,\n MarketplaceListItemModule,\n DirectivesModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceListModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MarketplaceListComponent],\n imports: [\n CommonModule,\n SortBarModule,\n LoadingModule,\n MarketplaceListItemModule,\n DirectivesModule,\n FGBSharedModule\n ],\n exports: [MarketplaceListComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MarketplaceListComponent, MarketplaceListModule, MarketplaceListSortOption };\n","\r\n
\r\n
{{ data?.currentTier?.Name }}
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n","import { BreakpointObserver } from '@angular/cdk/layout';\r\nimport { Component, OnDestroy, OnInit } from '@angular/core';\r\nimport { BalanceQuery, Barcode, BarcodeQuery, BarcodeService, LoyaltyCustomerTier, LoyaltyTier, MemberDetails, MemberQuery, TierQuery, TierService, config } from '@fgb/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-tier',\r\n templateUrl: './tier.component.html',\r\n styleUrls: ['./tier.component.scss']\r\n})\r\nexport class TierComponent implements OnInit, OnDestroy{\r\n member$: Observable;\r\n tier$: Observable;\r\n barcode$: Observable;\r\n currentTier$: Observable;\r\n loyaltyPointsCard$: Observable;\r\n screenType = ScreenType;\r\n private subscription: Subscription;\r\n\r\n constructor(private tierService: TierService,\r\n private tierQuery: TierQuery, \r\n private memberQuery: MemberQuery,\r\n private barcodeQuery: BarcodeQuery,\r\n private barcodeService: BarcodeService,\r\n private ngModal: NgbModal,\r\n private balanceQuery: BalanceQuery,\r\n private breakpoint: BreakpointObserver) { }\r\n\r\n ngOnInit(): void {\r\n\r\n this.subscription = this.breakpoint.observe(['(max-width: 991px)']).subscribe(result => {\r\n if(result.matches){\r\n this.barcodeService.fetchBarcode().toPromise();\r\n }\r\n });\r\n \r\n this.loyaltyPointsCard$ = this.balanceQuery.selectPurse(config.purseConfig.virtualLoyalty);\r\n this.tierService.fetchTiersWithPositions(this.memberQuery.getUserContext().externalRef).toPromise();\r\n this.tier$ = this.tierQuery.customerTier$;\r\n this.currentTier$ = this.tierQuery.getCurrentTier();\r\n this.barcode$ = this.barcodeQuery.select();\r\n this.member$ = this.memberQuery.selectMemberDetails();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n openBarcodeModal(modal: any): void{\r\n this.ngModal.open(modal, { centered: true });\r\n }\r\n\r\n}\r\n","
\r\n

{{ 'marketplace.page.title' | translate }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n \r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MarketplaceService } from '@fgb/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { firstValueFrom } from 'rxjs';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\n\r\n@Component({\r\n selector: 'fgb-marketplace-page',\r\n templateUrl: './marketplace-page.component.html',\r\n styleUrls: ['./marketplace-page.component.scss'],\r\n})\r\nexport class MarketplacePageComponent implements OnInit {\r\n screenType = ScreenType;\r\n populations = Populations;\r\n\r\n constructor(private marketplaceService: MarketplaceService) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.marketplaceService.fetchMarketplaceItems());\r\n }\r\n}\r\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';\nimport * as i4 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2 from '@angular/forms';\nimport { Validators, ReactiveFormsModule } from '@angular/forms';\nimport { RegexUS } from '@fgb/portal-component-library/src/lib/shared/utilities';\nimport * as i1 from '@ng-bootstrap/ng-bootstrap';\nimport * as i3 from '@fgb/core';\nimport * as i5 from '@fgb/portal-component-library/src/lib/shared/country-and-regions';\nimport { CountryAndRegionsModule } from '@fgb/portal-component-library/src/lib/shared/country-and-regions';\nimport * as i6 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass CollectAddressModal {\n constructor(activeModal, formBuilder, purchaseService, addressService, memberService) {\n this.activeModal = activeModal;\n this.formBuilder = formBuilder;\n this.purchaseService = purchaseService;\n this.addressService = addressService;\n this.memberService = memberService;\n this.saveMemberDetailsAddress = false;\n this.saveOrderAddress = false;\n this.saveShippingAddress = false;\n this.submittedAddress = new EventEmitter();\n this.hasSubmitted = false;\n }\n ngOnInit() {\n this.addressForm = this.formBuilder.group({\n EmailAddress: [this.address?.EmailAddress, Validators.email],\n HomeNumber: [this.address?.HomeNumber, Validators.required],\n Street: [this.address?.Street, Validators.required],\n Town: [this.address?.Town, Validators.required],\n County: [this.address?.County, Validators.required],\n Country: [this.address?.Country, Validators.required],\n Postcode: [this.address?.Postcode, [Validators.required, Validators.pattern(RegexUS.postCode)]],\n FirstName: [this.address?.FirstName, Validators.required],\n Surname: [this.address?.Surname, Validators.required],\n PortalId: [this.address?.PortalId],\n ClubId: [this.address?.ClubId],\n });\n }\n closeModal() {\n this.activeModal.close();\n }\n saveAddress() {\n this.hasSubmitted = true;\n this.address = { ...this.address, ...this.addressForm.value };\n if (this.addressForm.invalid) {\n return;\n }\n if (this.saveOrderAddress) {\n this.purchaseService\n .updatePurchaseAddress(this.orderId, this.address)\n .toPromise()\n .then(() => {\n this.submittedAddress.emit(true);\n });\n }\n else if (this.saveMemberDetailsAddress) {\n let memberDetails = {\n PortalId: this.address.PortalId,\n EmailAddress1: this.address.EmailAddress,\n AddressName: this.address.AddressName,\n Street: this.address.Street,\n Town: this.address.Town,\n Country: this.address.Country,\n HomeNumber: this.address.HomeNumber,\n County: this.address.County,\n PostCode: this.address.Postcode,\n FirstName: this.address.FirstName,\n Surname: this.address.Surname,\n ClubId: this.address.ClubId,\n };\n this.memberService\n .updateMemberDetailsAsync(this.address.PortalId, memberDetails)\n .toPromise()\n .then(() => {\n this.submittedAddress.emit(true);\n });\n }\n else if (this.saveShippingAddress) {\n this.addressService.saveAddress(this.address).then(() => {\n this.submittedAddress.emit(true);\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CollectAddressModal, deps: [{ token: i1.NgbActiveModal }, { token: i2.UntypedFormBuilder }, { token: i3.PurchaseService }, { token: i3.AddressService }, { token: i3.MemberService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CollectAddressModal, selector: \"fgbcl-collect-address-modal\", inputs: { address: \"address\", orderId: \"orderId\", saveMemberDetailsAddress: \"saveMemberDetailsAddress\", saveOrderAddress: \"saveOrderAddress\", saveShippingAddress: \"saveShippingAddress\" }, outputs: { submittedAddress: \"submittedAddress\" }, ngImport: i0, template: \"
\\r\\n {{ 'missing.marketplace.address' | translate }}\\r\\n {{ 'missing.shipping.address' | translate }}\\r\\n {{ 'missing.order.address' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.firstname.error' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.lastname.error' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.street.error' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.city.error' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.postcode.error' | translate }}
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.number.error' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.email.error' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i4.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i4.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i5.CountryAndRegionsComponent, selector: \"fgbcl-country-and-regions\", inputs: [\"Form\", \"HasSubmitted\", \"SeparateRow\"] }, { kind: \"directive\", type: i2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i2.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CollectAddressModal, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-collect-address-modal', template: \"
\\r\\n {{ 'missing.marketplace.address' | translate }}\\r\\n {{ 'missing.shipping.address' | translate }}\\r\\n {{ 'missing.order.address' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.firstname.error' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.lastname.error' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.street.error' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.city.error' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.postcode.error' | translate }}
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.number.error' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
{{ 'address.modal.email.error' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.NgbActiveModal }, { type: i2.UntypedFormBuilder }, { type: i3.PurchaseService }, { type: i3.AddressService }, { type: i3.MemberService }], propDecorators: { address: [{\n type: Input\n }], orderId: [{\n type: Input\n }], saveMemberDetailsAddress: [{\n type: Input\n }], saveOrderAddress: [{\n type: Input\n }], saveShippingAddress: [{\n type: Input\n }], submittedAddress: [{\n type: Output\n }] } });\n\nclass CollectAddressModalModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CollectAddressModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: CollectAddressModalModule, declarations: [CollectAddressModal], imports: [CommonModule,\n CountryAndRegionsModule,\n ReactiveFormsModule,\n FGBSharedModule], exports: [CollectAddressModal] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CollectAddressModalModule, imports: [CommonModule,\n CountryAndRegionsModule,\n ReactiveFormsModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CollectAddressModalModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [CollectAddressModal],\n imports: [\n CommonModule,\n CountryAndRegionsModule,\n ReactiveFormsModule,\n FGBSharedModule\n ],\n exports: [CollectAddressModal],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CollectAddressModal, CollectAddressModalModule };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Input, Output, Pipe, inject, ViewChild, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { Subject } from 'rxjs';\nimport * as i1$1 from '@fgb/core';\nimport { config, TermsAndCondtionsType, AddressType, MarketplaceItemStatus, LoyaltyStatusService, ActionLabels, TermsAndCondtion, FgbError, MarketplaceItemMappingAttribute, MARKETPLACE_STATE, MarketplaceItemStockType, TEXT_COLOR } from '@fgb/core';\nimport { tap, take, takeUntil, mergeMap, map } from 'rxjs/operators';\nimport * as i6 from '@fgb/portal-component-library/src/lib/directives';\nimport { ScreenType, DirectivesModule, IfItemEnabled } from '@fgb/portal-component-library/src/lib/directives';\nimport { CartModalComponent } from '@fgb/portal-component-library/src/lib/loyalty/cart-item/cart-modal';\nimport { DateTime } from 'luxon';\nimport * as i1 from '@angular/forms';\nimport { Validators, UntypedFormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { RegexUS } from '@fgb/portal-component-library/src/lib/shared/utilities';\nimport { CollectAddressModal } from '@fgb/portal-component-library/src/lib/loyalty/collect-address-modal';\nimport * as i3 from '@ng-bootstrap/ng-bootstrap';\nimport * as i4 from '@angular/router';\nimport * as i12 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i8 from '@ngx-translate/core';\nimport * as i5 from '@fgb/portal-component-library/src/lib/shared/number-input';\nimport { NumberInputModule } from '@fgb/portal-component-library/src/lib/shared/number-input';\nimport * as i7 from '@fgb/portal-component-library/src/lib/shared/errors';\nimport { ErrorsModule, ErrorComponent } from '@fgb/portal-component-library/src/lib/shared/errors';\nimport * as i4$1 from '@fgb/portal-component-library/src/lib/shared/loading';\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\nimport * as i7$1 from '@fgb/portal-component-library/src/lib/loyalty/reward-status';\nimport { RewardStatusComponent } from '@fgb/portal-component-library/src/lib/loyalty/reward-status';\nimport { ShortLongDescriptionModule } from '@fgb/portal-component-library/src/lib/shared/short-long-description';\nimport { LoyaltyIconModule } from '@fgb/portal-component-library/src/lib/shared/loyalty-icon';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { InlineSVGModule } from 'ng-inline-svg-2';\n\nclass MarketplacePurchaseConfirmationComponent {\n constructor(formBuilder, purchaseService, memberQuery, addressQuery, modalService, router, errorService, balanceService, transactionSuccessService, marketplaceQuery, marketplaceService, rewardsWalletService) {\n this.formBuilder = formBuilder;\n this.purchaseService = purchaseService;\n this.memberQuery = memberQuery;\n this.addressQuery = addressQuery;\n this.modalService = modalService;\n this.router = router;\n this.errorService = errorService;\n this.balanceService = balanceService;\n this.transactionSuccessService = transactionSuccessService;\n this.marketplaceQuery = marketplaceQuery;\n this.marketplaceService = marketplaceService;\n this.rewardsWalletService = rewardsWalletService;\n this.config = config;\n this.clicked = false;\n this.TermsAndCondtionsType = TermsAndCondtionsType;\n this.purchaseLoading = new EventEmitter();\n this.addToCartTermsConfirmed = new EventEmitter();\n this._destroyed$ = new Subject();\n }\n ngOnInit() {\n this.memberQuery\n .selectMemberDetails()\n .pipe(tap((z) => {\n if (z) {\n this.defaultAddress = {\n FirstName: z.FirstName,\n Surname: z.Surname,\n Street: z.Street,\n Town: z.Town,\n County: z.County,\n Postcode: z.PostCode,\n Country: z.Country,\n HomeNumber: z.HomeNumber,\n EmailAddress: z.EmailAddress1,\n PortalId: z.PortalId,\n ClubId: z.ClubId,\n AddressName: 'Default Address',\n AddressType: AddressType.DefaultAddress,\n };\n }\n }))\n .toPromise();\n this.addressQuery\n .selectAddresses([AddressType.DefaultAddress])\n .pipe(take(1), tap((addresses) => {\n this.addresses = addresses;\n this.memberQuery\n .selectMemberDetails()\n .pipe(take(1), tap((md) => {\n if (md) {\n this.member = md;\n this.shippingAddress = this._getDefaultShippingAddress();\n this.shippingAddressForm = this.formBuilder.group({\n addressName: [this.shippingAddress.AddressName, Validators.required],\n emailAddress: [this.shippingAddress.EmailAddress, Validators.email],\n street: [this.shippingAddress.Street, Validators.required],\n town: [this.shippingAddress.Town, Validators.required],\n county: [this.shippingAddress.County, Validators.required],\n country: [this.shippingAddress.Country, Validators.required],\n postcode: [this.shippingAddress.Postcode, [Validators.required, Validators.pattern(RegexUS.postCode)]],\n firstName: [this.shippingAddress.FirstName, Validators.required],\n surname: [this.shippingAddress.Surname, Validators.required],\n homeNumber: [this.shippingAddress.HomeNumber, Validators.required],\n portalId: [this.member.PortalId],\n clubId: [this.member.ClubId],\n });\n }\n }))\n .subscribe();\n }))\n .subscribe();\n }\n _getDefaultShippingAddress() {\n if (this.addresses) {\n let shippingAddress1 = this.addresses.filter((a) => a.AddressType === AddressType.ShippingAddress1)[0];\n if (shippingAddress1) {\n return shippingAddress1;\n }\n let shippingAddress2 = this.addresses.filter((a) => a.AddressType === AddressType.ShippingAddress2)[0];\n if (shippingAddress2) {\n return shippingAddress2;\n }\n }\n return {\n FirstName: '',\n Surname: '',\n Street: '',\n Town: '',\n County: '',\n Postcode: '',\n Country: '',\n HomeNumber: '',\n EmailAddress: '',\n PortalId: this.member.PortalId,\n ClubId: this.member.ClubId,\n AddressType: AddressType.ShippingAddress1,\n AddressName: 'Shipping Address',\n };\n }\n openAddressCollectionModal(address, orderId, saveMemberDetailsAddress, saveShippingAddress, saveOrderAddress) {\n const modal = this.modalService.open(CollectAddressModal, { ariaLabelledBy: 'modal-basic-title', centered: true });\n modal.componentInstance.address = address;\n modal.componentInstance.orderId = orderId;\n modal.componentInstance.saveMemberDetailsAddress = saveMemberDetailsAddress;\n modal.componentInstance.saveShippingAddress = saveShippingAddress;\n modal.componentInstance.saveOrderAddress = saveOrderAddress;\n modal.componentInstance.submittedAddress.pipe(takeUntil(this._destroyed$)).subscribe(() => {\n this.closeModal();\n this.continueOrder(orderId);\n });\n }\n openTerms(content) {\n this.modalService.open(content, { centered: true });\n }\n purchase() {\n this.clicked = true;\n if (this.addToCart) {\n this.modalService.dismissAll();\n this.addToCartTermsConfirmed.emit(true);\n }\n else {\n this.purchaseLoading.emit(true);\n let price = this.marketplaceQuery.getPrice(this.marketplaceItem.Id);\n if (price == undefined) {\n this.errorService.clearErrors();\n this.errorService.addError('Failed to purchase item');\n this.resetLoading();\n return;\n }\n let cost = price * this.purchaseQuantity;\n this.marketplaceService\n .purchaseItemWithProviderResopnse(this.marketplaceItem.Id, this.purchaseQuantity, this.attributeMappingID, undefined, this.validCustomFields ? this.validCustomFields : [], this.templateSelected === 'confirmContentCardPayment' ? true : false)\n .then((response) => {\n if (response && response.Success) {\n this.balanceService.debitBalance(this.config.purseConfig.virtualLoyalty, cost);\n let item = this.marketplaceQuery.getEntity(this.marketplaceItem.Id);\n if (item) {\n this.transactionSuccessService.setTransaction(item, this.purchaseQuantity, cost, response.OrderId);\n }\n this.marketplaceService.disableMarketplaceStoreCache();\n this.rewardsWalletService.disableRewardsWalletStoreCache();\n this.router.navigate(['rewards/marketplace/purchase/success/']);\n }\n else if (response) {\n if (response.ProviderActionInformation.NextAction) {\n if (response.ProviderActionInformation.NextAction == 20) {\n this.openAddressCollectionModal(this.shippingAddress, response.OrderId, false, true, false);\n }\n else if (response.ProviderActionInformation.NextAction == 40) {\n this.openAddressCollectionModal(this.defaultAddress, response.OrderId, true, false, false);\n }\n }\n else {\n this.errorService.clearErrors();\n this.errorService.addError(!!response.ErrorMessage ? response.ErrorMessage : 'Purchase failed');\n }\n }\n })\n .finally(() => {\n this.resetLoading();\n });\n }\n }\n continueOrder(orderId) {\n let price = this.marketplaceQuery.getPrice(this.marketplaceItem.Id);\n if (price == undefined)\n return;\n let cost = price * this.purchaseQuantity;\n this.purchaseLoading.emit(true);\n this.purchaseService\n .continueOrder(orderId)\n .toPromise()\n .then((continueResponse) => {\n if (continueResponse.Data.Success) {\n this.balanceService.debitBalance(this.config.purseConfig.virtualLoyalty, cost);\n let item = this.marketplaceQuery.getEntity(this.marketplaceItem.Id);\n if (item) {\n this.transactionSuccessService.setTransaction(item, this.purchaseQuantity, cost);\n }\n this.marketplaceService.disableMarketplaceStoreCache();\n this.router.navigate(['rewards/marketplace/purchase/success/']);\n }\n else {\n this.errorService.clearErrors();\n this.errorService.addError(!!continueResponse.ErrorMessage ? continueResponse.ErrorMessage : 'Purchase failed');\n }\n })\n .finally(() => {\n this.purchaseLoading.emit(false);\n });\n }\n closeModal() {\n this.modalService.dismissAll();\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n resetLoading() {\n this.clicked = false;\n this.purchaseLoading.emit(false);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplacePurchaseConfirmationComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i1$1.PurchaseService }, { token: i1$1.MemberQuery }, { token: i1$1.AddressQuery }, { token: i3.NgbModal }, { token: i4.Router }, { token: i1$1.ErrorStateService }, { token: i1$1.BalanceService }, { token: i1$1.TransactionSuccessService }, { token: i1$1.MarketplaceQuery }, { token: i1$1.MarketplaceService }, { token: i1$1.RewardsWalletService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MarketplacePurchaseConfirmationComponent, selector: \"fgbcl-marketplace-purchase-confirmation\", inputs: { templateSelected: \"templateSelected\", marketplaceItem: \"marketplaceItem\", marketplaceItemType: \"marketplaceItemType\", attributeMappingID: \"attributeMappingID\", selectedAttributes: \"selectedAttributes\", validCustomFields: \"validCustomFields\", purchaseQuantity: \"purchaseQuantity\", addToCart: \"addToCart\" }, outputs: { purchaseLoading: \"purchaseLoading\", addToCartTermsConfirmed: \"addToCartTermsConfirmed\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ 'marketplace.confirm.message' | translate }}\\r\\n {{ 'events.confirm.message' | translate }}\\r\\n {{ 'products.confirm.message' | translate }}\\r\\n

\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n {{ 'marketplace.confirmation.additional' | translate }}\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n
{{ marketplaceItem.DisplayName }}
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n {{ attribute.AttributeName }}:\\r\\n {{ attribute.ValueName }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ field.customFieldName }}:\\r\\n {{ field.customFieldValue }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'marketplace.quantity' | translate }}\\r\\n {{ purchaseQuantity }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'marketplace.points.value' | translate }}\\r\\n \\r\\n {{ marketplaceItem.PointValue * purchaseQuantity | number }}\\r\\n {{ 'marketplace.points.value.pts' | translate }}\\r\\n
\\r\\n
\\r\\n
0\\\">\\r\\n
\\r\\n {{ 'marketplace.ecash.value' | translate }}\\r\\n {{ (purchaseQuantity * marketplaceItem.EcashValue) / 100 | FortressCurrencyPipe }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ 'marketplace.card.confirm.message' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n shopping_basket\\r\\n {{ purchaseQuantity }}\\r\\n
\\r\\n
\\r\\n \\r\\n emoji_events\\r\\n {{\\r\\n (marketplaceItem.MerchantValue / 100) * purchaseQuantity | FortressCurrencyPipe\\r\\n }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\".modal-image{width:390px;height:390px}@media (max-width: 991px){.modal-image{width:100%;height:340px}}.modal-body{padding:1rem 0}.modal-footer{font-size:14px;padding:0 1.25rem .75rem}.modal-footer button{max-width:142px;width:100%;font-size:.875rem}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i6.WebsiteContentFeatureFlagDirective, selector: \"[fgbWebsiteContentFeatureFlag]\", inputs: [\"fgbWebsiteContentFeatureFlag\"] }, { kind: \"directive\", type: i6.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"pipe\", type: i2.DecimalPipe, name: \"number\" }, { kind: \"pipe\", type: i12.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i12.FortressCurrencyPipe, name: \"FortressCurrencyPipe\" }, { kind: \"pipe\", type: i8.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplacePurchaseConfirmationComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-marketplace-purchase-confirmation', template: \"
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ 'marketplace.confirm.message' | translate }}\\r\\n {{ 'events.confirm.message' | translate }}\\r\\n {{ 'products.confirm.message' | translate }}\\r\\n

\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n {{ 'marketplace.confirmation.additional' | translate }}\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n
{{ marketplaceItem.DisplayName }}
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n {{ attribute.AttributeName }}:\\r\\n {{ attribute.ValueName }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ field.customFieldName }}:\\r\\n {{ field.customFieldValue }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'marketplace.quantity' | translate }}\\r\\n {{ purchaseQuantity }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'marketplace.points.value' | translate }}\\r\\n \\r\\n {{ marketplaceItem.PointValue * purchaseQuantity | number }}\\r\\n {{ 'marketplace.points.value.pts' | translate }}\\r\\n
\\r\\n
\\r\\n
0\\\">\\r\\n
\\r\\n {{ 'marketplace.ecash.value' | translate }}\\r\\n {{ (purchaseQuantity * marketplaceItem.EcashValue) / 100 | FortressCurrencyPipe }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ 'marketplace.card.confirm.message' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n shopping_basket\\r\\n {{ purchaseQuantity }}\\r\\n
\\r\\n
\\r\\n \\r\\n emoji_events\\r\\n {{\\r\\n (marketplaceItem.MerchantValue / 100) * purchaseQuantity | FortressCurrencyPipe\\r\\n }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\".modal-image{width:390px;height:390px}@media (max-width: 991px){.modal-image{width:100%;height:340px}}.modal-body{padding:1rem 0}.modal-footer{font-size:14px;padding:0 1.25rem .75rem}.modal-footer button{max-width:142px;width:100%;font-size:.875rem}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.UntypedFormBuilder }, { type: i1$1.PurchaseService }, { type: i1$1.MemberQuery }, { type: i1$1.AddressQuery }, { type: i3.NgbModal }, { type: i4.Router }, { type: i1$1.ErrorStateService }, { type: i1$1.BalanceService }, { type: i1$1.TransactionSuccessService }, { type: i1$1.MarketplaceQuery }, { type: i1$1.MarketplaceService }, { type: i1$1.RewardsWalletService }], propDecorators: { templateSelected: [{\n type: Input\n }], marketplaceItem: [{\n type: Input\n }], marketplaceItemType: [{\n type: Input\n }], attributeMappingID: [{\n type: Input\n }], selectedAttributes: [{\n type: Input\n }], validCustomFields: [{\n type: Input\n }], purchaseQuantity: [{\n type: Input\n }], addToCart: [{\n type: Input\n }], purchaseLoading: [{\n type: Output\n }], addToCartTermsConfirmed: [{\n type: Output\n }] } });\n\nclass EcashButtonDisabled {\n transform(purchaseLimit, item) {\n return purchaseLimit <= 0 || item.Status != MarketplaceItemStatus.Available;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EcashButtonDisabled, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: EcashButtonDisabled, name: \"ecashDisabled\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EcashButtonDisabled, decorators: [{\n type: Pipe,\n args: [{\n name: 'ecashDisabled',\n }]\n }] });\nclass InputActive {\n constructor() {\n this.statusService = inject(LoyaltyStatusService);\n }\n transform(purchaseLimit, item) {\n const status = this.statusService.getStatus(item);\n return purchaseLimit > 1 || item.Status != MarketplaceItemStatus.Available || !status.disabled;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: InputActive, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: InputActive, name: \"inputActive\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: InputActive, decorators: [{\n type: Pipe,\n args: [{\n name: 'inputActive',\n }]\n }] });\nclass MarketplaceActionsComponent {\n constructor(marketplaceQuery, errorService, modalService, cartQuery, cartService, router) {\n this.marketplaceQuery = marketplaceQuery;\n this.errorService = errorService;\n this.modalService = modalService;\n this.cartQuery = cartQuery;\n this.cartService = cartService;\n this.router = router;\n this.validCustomFields = [];\n this.actionLabels = ActionLabels;\n this.purchaseLoading = new EventEmitter(false);\n this.hasSumbittedForm = new EventEmitter(false);\n this.cardTokenCount = 0;\n this._acceptedTerms = false;\n this.isActionClicked = false;\n this.isUnredeemble = false;\n this.purchaseQuantity = 1;\n this.marketplaceItemStatus = MarketplaceItemStatus;\n this._destroyed$ = new Subject();\n }\n ngOnInit() {\n this._setUpLocalVariables();\n this.updatePurchaseData();\n }\n updateTermsAndCondtions(accepted) {\n this._acceptedTerms = accepted;\n this.updatePurchaseValidation(this.marketplaceItem);\n }\n updateCustomFields(customFields) {\n this.validCustomFields = customFields;\n this.updatePurchaseValidation(this.marketplaceItem);\n }\n updatePurchaseData(purchaseQuantity, attributeMappingID) {\n if (purchaseQuantity) {\n this.purchaseQuantity = purchaseQuantity;\n }\n if (attributeMappingID) {\n this.attributeMappingID = attributeMappingID;\n }\n this._updatePurchaseLimit();\n this.updatePurchaseValidation(this.marketplaceItem);\n }\n _setUpLocalVariables() {\n this.originalStatus = this.marketplaceItem.Status;\n this.marketplaceTerms = new TermsAndCondtion(this.marketplaceItem.TermsAndConditions, this.marketplaceItem.ShowTermsAndConditions, this.marketplaceItem.TermsAndConditionsType);\n }\n _updateItemLocalStatus(purchaseLimit) {\n let cartItemQty = this.cartQuery.getCartItemPurchaseQuantity(this.marketplaceItem.Id, this.attributeMappingID);\n if (this.availableStock < 1 &&\n this.originalStatus == MarketplaceItemStatus.Available &&\n !this.marketplaceItem.UnlimitedStock) {\n this.marketplaceItem.Status = MarketplaceItemStatus.SoldOut;\n }\n else if (this._isMaxStockInBasket(cartItemQty) || this._isLimitReachedInBasket(cartItemQty, purchaseLimit)) {\n this.marketplaceItem.Status = MarketplaceItemStatus.AllInBasket;\n }\n else {\n this.marketplaceItem.Status = this.originalStatus;\n }\n this._updateStatusText(this.marketplaceItem);\n }\n _isMaxStockInBasket(cartItemQty) {\n const mustCompare = !!this.availableStock && !!cartItemQty;\n const availableStockLocal = this.availableStock - cartItemQty;\n const isAboveLocalStock = this.purchaseQuantity > availableStockLocal;\n return mustCompare && isAboveLocalStock;\n }\n _isLimitReachedInBasket(cartItemQty, purchaseLimit) {\n let availableLimit;\n let isAboveLimit = false;\n if (purchaseLimit) {\n availableLimit = purchaseLimit - cartItemQty;\n isAboveLimit = this.purchaseQuantity > availableLimit;\n }\n return isAboveLimit;\n }\n _updateStatusText(marketplaceItem) {\n const today = DateTime.utc();\n const startDate = DateTime.fromISO(marketplaceItem.ItemStartDate, { zone: 'utc' });\n if (marketplaceItem.Status === MarketplaceItemStatus.ComingSoon && startDate <= today) {\n marketplaceItem.Status = MarketplaceItemStatus.Available;\n this.isUnredeemble = false;\n }\n switch (marketplaceItem.Status) {\n case MarketplaceItemStatus.SoldOut:\n this.statusText = 'marketplace.redeem.sold.out';\n this.isUnredeemble = true;\n break;\n case MarketplaceItemStatus.NotEnoughPoints:\n this.statusText = 'marketplace.redeem.not.enough.points';\n this.isUnredeemble = true;\n break;\n case MarketplaceItemStatus.ComingSoon:\n this.statusText = 'marketplace.redeem.coming.soon';\n this.isUnredeemble = true;\n break;\n case MarketplaceItemStatus.MemberLimitReached:\n this.statusText = 'marketplace.redeem.member.limit';\n this.isUnredeemble = true;\n break;\n case MarketplaceItemStatus.AllInBasket:\n this.statusText = 'marketplace.redeem.all.in.basket';\n this.isUnredeemble = false;\n break;\n default:\n if (this.marketplaceItem.theme === 'mp-event') {\n this.statusText = 'marketplace.redeem.event';\n }\n else if (this.marketplaceItem.theme === 'mp-virtual-event') {\n this.statusText = 'marketplace.redeem.virtual.event';\n }\n else if (this.marketplaceItem.theme === 'mp-product') {\n this.statusText = 'marketplace.redeem.product';\n }\n else {\n this.statusText = 'marketplace.redeem.marketplace';\n }\n this.isUnredeemble = false;\n }\n }\n _updatePurchaseLimit() {\n this.purchaseLimit$ = this.marketplaceQuery.selectPurchaseLimit(this.marketplaceItem.Id, undefined, this.attributeMappingID);\n this.limitMessage$ = this.marketplaceQuery.selectPurchaseLimitMessage(this.marketplaceItem.Id, undefined, this.attributeMappingID);\n }\n updatePurchaseValidation(item) {\n this.disableCart$ = this.cartQuery.selectMemberMarketplaceCartItem(item.Id, this.attributeMappingID).pipe(takeUntil(this._destroyed$), mergeMap((currentCartItem) => {\n return this.purchaseLimit$.pipe(tap((purchaseLimit) => this._updateItemLocalStatus(purchaseLimit)), map((purchaseLimit) => {\n const currentCartItemQuantity = currentCartItem ? currentCartItem.purchaseQuantity : 0;\n const assumedPurchaseQuantity = this.purchaseQuantity + currentCartItemQuantity;\n const cartQuantityExceedsStock = currentCartItem && assumedPurchaseQuantity > this.availableStock;\n const cartQuantityExceedsLimit = currentCartItem && assumedPurchaseQuantity > purchaseLimit;\n const isUnavailable = item.Status !== MarketplaceItemStatus.Available;\n const insufficientQuantity = (purchaseLimit <= 0 || this.purchaseQuantity < (purchaseLimit > 0 ? 1 : 0)) && !this.marketplaceItem.UnlimitedStock;\n const isCartDisabled = isUnavailable ||\n insufficientQuantity ||\n cartQuantityExceedsStock ||\n cartQuantityExceedsLimit ||\n (item.ShowTermsAndConditions && !this._acceptedTerms) ||\n (item.CustomFields && !this.validCustomFields);\n return isCartDisabled;\n }));\n }));\n }\n addProductToCart(isDisabled, openCartModal) {\n this.isActionClicked = true;\n if (isDisabled)\n return;\n this.errorService.clearErrors();\n let purchaseLimit = 0;\n this.purchaseLimit$.subscribe((x) => (purchaseLimit = x)).unsubscribe();\n let cartPurchaseQty = this.cartQuery.getCartItemPurchaseQuantity(this.marketplaceItem.Id, this.attributeMappingID);\n this.hasSumbittedForm.emit(true);\n if (this.marketplaceItem.CustomFields && !this.validCustomFields)\n return;\n if (!!cartPurchaseQty) {\n if (this._isMaxStockInBasket(cartPurchaseQty)) {\n this.errorService.addError('You have added the maximum stock to your basket');\n return;\n }\n else if (this._isLimitReachedInBasket(cartPurchaseQty, purchaseLimit)) {\n this.errorService.addError('Limit Reached');\n return;\n }\n else {\n this.addItemToCartService();\n }\n }\n else if (this.purchaseQuantity > this.availableStock) {\n this.errorService.addError('Sold Out');\n return;\n }\n else {\n if (this.marketplaceItem.ShowTermsAndConditions && !!this.marketplaceItem.TermsAndConditions) {\n this.openPurchaseConfirmationModal(false, 'confirmContent', true, openCartModal);\n }\n else {\n this.addItemToCartService();\n if (openCartModal) {\n this.openCartModal();\n }\n }\n }\n }\n openCartModal() {\n const unvalidCustomFields = this.marketplaceItem.CustomFields && !this.validCustomFields;\n if (unvalidCustomFields)\n return;\n this.modalService.open(CartModalComponent);\n }\n openPurchaseConfirmationModal(isDisabled, templateName, addToCart, openCartModal) {\n const isMerchantItem = this.marketplaceItem.MerchantValue;\n if (isMerchantItem) {\n this.cartService.removeAllCartItems();\n this.addItemToCartService();\n this.router.navigate(['/checkout']);\n }\n else {\n this.isActionClicked = true;\n if (isDisabled)\n return;\n this.hasSumbittedForm.emit(true);\n const unvalidCustomFields = this.marketplaceItem.CustomFields && !this.validCustomFields;\n if (unvalidCustomFields)\n return;\n const modal = this.modalService.open(MarketplacePurchaseConfirmationComponent, {\n ariaLabelledBy: 'modal-basic-title',\n centered: true,\n windowClass: 'reward-confirm-modal'\n });\n modal.componentInstance.templateSelected = templateName;\n modal.componentInstance.marketplaceItem = this.marketplaceItem;\n modal.componentInstance.marketplaceItemType = this.marketplaceItemType;\n modal.componentInstance.attributeMappingID = this.attributeMappingID;\n modal.componentInstance.selectedAttributes = this.selectedAttributes;\n modal.componentInstance.purchaseQuantity = this.purchaseQuantity;\n modal.componentInstance.validCustomFields = this.validCustomFields;\n modal.componentInstance.purchaseLoading.pipe(takeUntil(this._destroyed$)).subscribe((loadingState) => {\n this.purchaseLoading.emit(loadingState);\n if (!loadingState) {\n this.modalService.dismissAll();\n }\n });\n if (addToCart) {\n modal.componentInstance.addToCart = true;\n modal.componentInstance.addToCartTermsConfirmed.pipe(takeUntil(this._destroyed$)).subscribe((termsConfirmed) => {\n if (termsConfirmed) {\n this.addItemToCartService();\n if (openCartModal) {\n this.openCartModal();\n }\n }\n });\n }\n }\n }\n isEcashButtonDisabled(purchaseLimit) {\n return purchaseLimit <= 0 || this.marketplaceItem.Status != MarketplaceItemStatus.Available;\n }\n addItemToCartService() {\n const attributeCart = {\n AttributeMappingId: this.attributeMappingID,\n LocalAttributes: this.selectedAttributes,\n };\n this.cartService.addMarketplaceItemToCart(this.marketplaceItem, this.purchaseQuantity, attributeCart, this.validCustomFields);\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n onErrorChange(err) {\n if (err) {\n throw new FgbError({ message: err });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceActionsComponent, deps: [{ token: i1$1.MarketplaceQuery }, { token: i1$1.ErrorStateService }, { token: i3.NgbModal }, { token: i1$1.CartQuery }, { token: i1$1.CartService }, { token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MarketplaceActionsComponent, selector: \"fgbcl-marketplace-actions\", inputs: { marketplaceItem: \"marketplaceItem\", marketplaceItemType: \"marketplaceItemType\", attributeMappingID: \"attributeMappingID\", selectedAttributes: \"selectedAttributes\", validCustomFields: \"validCustomFields\", hasECash: \"hasECash\", theme: \"theme\", actionLabels: \"actionLabels\", availableStock: \"availableStock\", isCheckTC: \"isCheckTC\" }, outputs: { purchaseLoading: \"purchaseLoading\", hasSumbittedForm: \"hasSumbittedForm\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n 0 ? 1 : 0\\\"\\r\\n [maxValue]=\\\"purchaseLimit\\\"\\r\\n [incrementValue]=\\\"1\\\"\\r\\n [minMessage]=\\\"'1 minimum'\\\"\\r\\n [maxMessage]=\\\"limitMessage | translate\\\"\\r\\n [(amount)]=\\\"purchaseQuantity\\\"\\r\\n [limitValueToRange]=\\\"!marketplaceItem.UnlimitedStock\\\"\\r\\n (amountChange)=\\\"updatePurchaseValidation(marketplaceItem)\\\"\\r\\n [showErrorMessage]=\\\"false\\\"\\r\\n (errorChange)=\\\"onErrorChange($event)\\\"\\r\\n [theme]=\\\"marketplaceItem.theme\\\"\\r\\n >\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n {{ statusText | translate }}\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\\"\\\"\\r\\n \\r\\n \\r\\n \\\"\\\"\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{ 'marketplace.buy.with.card' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\", styles: [\"button{font-size:.875rem}.basket-icon{width:22px;height:22px}.btn-block{font-size:.875rem;min-width:224px;height:34px;border-radius:16px}@media (max-width: 991px){.btn-block{min-width:310px}}.button-container-2{display:flex}@media (max-width: 991px){.button-container-2{justify-content:center;margin-top:20px!important}}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i5.NumberInputComponent, selector: \"fgbcl-number-input\", inputs: [\"isActive\", \"minMessage\", \"maxMessage\", \"theme\", \"incrementValue\", \"limitValueToRange\", \"unlimitedLimit\", \"minValue\", \"maxValue\", \"amount\", \"outOfRange\", \"showErrorMessage\"], outputs: [\"amountChange\", \"outOfRangeChange\", \"errorChange\"] }, { kind: \"directive\", type: i6.WebsiteContentFeatureFlagDirective, selector: \"[fgbWebsiteContentFeatureFlag]\", inputs: [\"fgbWebsiteContentFeatureFlag\"] }, { kind: \"directive\", type: i6.NgSubscribeDirective, selector: \"[ngSubscribe]\", inputs: [\"ngSubscribe\"] }, { kind: \"component\", type: i7.ErrorsComponent, selector: \"fgbcl-errors\" }, { kind: \"pipe\", type: i8.TranslatePipe, name: \"translate\" }, { kind: \"pipe\", type: InputActive, name: \"inputActive\" }, { kind: \"pipe\", type: EcashButtonDisabled, name: \"ecashDisabled\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceActionsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-marketplace-actions', template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n 0 ? 1 : 0\\\"\\r\\n [maxValue]=\\\"purchaseLimit\\\"\\r\\n [incrementValue]=\\\"1\\\"\\r\\n [minMessage]=\\\"'1 minimum'\\\"\\r\\n [maxMessage]=\\\"limitMessage | translate\\\"\\r\\n [(amount)]=\\\"purchaseQuantity\\\"\\r\\n [limitValueToRange]=\\\"!marketplaceItem.UnlimitedStock\\\"\\r\\n (amountChange)=\\\"updatePurchaseValidation(marketplaceItem)\\\"\\r\\n [showErrorMessage]=\\\"false\\\"\\r\\n (errorChange)=\\\"onErrorChange($event)\\\"\\r\\n [theme]=\\\"marketplaceItem.theme\\\"\\r\\n >\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n {{ statusText | translate }}\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\\"\\\"\\r\\n \\r\\n \\r\\n \\\"\\\"\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{ 'marketplace.buy.with.card' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\", styles: [\"button{font-size:.875rem}.basket-icon{width:22px;height:22px}.btn-block{font-size:.875rem;min-width:224px;height:34px;border-radius:16px}@media (max-width: 991px){.btn-block{min-width:310px}}.button-container-2{display:flex}@media (max-width: 991px){.button-container-2{justify-content:center;margin-top:20px!important}}\\n\"] }]\n }], ctorParameters: () => [{ type: i1$1.MarketplaceQuery }, { type: i1$1.ErrorStateService }, { type: i3.NgbModal }, { type: i1$1.CartQuery }, { type: i1$1.CartService }, { type: i4.Router }], propDecorators: { marketplaceItem: [{\n type: Input\n }], marketplaceItemType: [{\n type: Input\n }], attributeMappingID: [{\n type: Input\n }], selectedAttributes: [{\n type: Input\n }], validCustomFields: [{\n type: Input\n }], hasECash: [{\n type: Input\n }], theme: [{\n type: Input\n }], actionLabels: [{\n type: Input\n }], availableStock: [{\n type: Input\n }], isCheckTC: [{\n type: Input\n }], purchaseLoading: [{\n type: Output\n }], hasSumbittedForm: [{\n type: Output\n }] } });\n\nclass MarketplaceAttributesComponent {\n constructor(errorService, memberQuery, marketplaceExtendedQuery, elementRef) {\n this.errorService = errorService;\n this.memberQuery = memberQuery;\n this.marketplaceExtendedQuery = marketplaceExtendedQuery;\n this.elementRef = elementRef;\n this.attributeMapping = new EventEmitter();\n this.ScreenType = ScreenType;\n this._destroyed$ = new Subject();\n }\n ngOnInit() {\n if (this.marketplaceItem.Attributes && this.marketplaceItem.Attributes.length) {\n this.getLocalAttributes();\n this.setupMapping();\n }\n }\n identify(index, item) {\n return item.DisplayName;\n }\n getLocalAttributes() {\n this.memberQuery.userContext$\n .pipe(takeUntil(this._destroyed$), map((user) => {\n if (user && user.lcid)\n this.localisedAttributes = this.marketplaceExtendedQuery.getLocalisedAttributes(this.marketplaceItem.Id, +user.lcid);\n else\n this.localisedAttributes = this.marketplaceItem.Attributes;\n }))\n .subscribe();\n }\n addStyleBackdrop() {\n this.elementRef.nativeElement.querySelector('.modal-backdrop').style = 'z-index:999;opacity:0.15;';\n }\n onAttributeChange(event) {\n this.selectedAttributeValue = this.marketplaceItem.AttributeMappings.find((attr) => attr.AttributeMappingId === +event);\n this._emitMapping(true, this.selectedAttributeValue);\n }\n setupMapping() {\n this._emitMapping(false);\n }\n _emitMapping(emit, selectedMapping) {\n let newMapping;\n if (emit)\n newMapping = selectedMapping;\n else {\n newMapping = new MarketplaceItemMappingAttribute();\n newMapping.AvailableStockCount = 0;\n newMapping.StockCount = 0;\n }\n this.attributeMapping.emit(newMapping);\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceAttributesComponent, deps: [{ token: i1$1.ErrorStateService }, { token: i1$1.MemberQuery }, { token: i1$1.MarketplaceExtendedQuery }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MarketplaceAttributesComponent, selector: \"fgbcl-marketplace-attributes\", inputs: { marketplaceItem: \"marketplaceItem\" }, outputs: { attributeMapping: \"attributeMapping\" }, ngImport: i0, template: \"\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ attrMapping?.DisplayName }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ selectedAttributeValue.DisplayName }}\\r\\n
\\r\\n
arrow_forward_ios
\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ attrMapping.DisplayName }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'marketplace.attribute.button' | translate }}\\r\\n {{ idx % 2 == 1 ? ' & ' : '' }}{{ attr?.DisplayName }} \\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i6.IfScreenSizeDirective, selector: \"[ifScreenSize]\", inputs: [\"ifScreenSize\"] }, { kind: \"directive\", type: i1.NgSelectOption, selector: \"option\", inputs: [\"ngValue\", \"value\"] }, { kind: \"directive\", type: i1.ɵNgSelectMultipleOption, selector: \"option\", inputs: [\"ngValue\", \"value\"] }, { kind: \"pipe\", type: i8.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceAttributesComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-marketplace-attributes', template: \"\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ attrMapping?.DisplayName }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ selectedAttributeValue.DisplayName }}\\r\\n
\\r\\n
arrow_forward_ios
\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ attrMapping.DisplayName }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'marketplace.attribute.button' | translate }}\\r\\n {{ idx % 2 == 1 ? ' & ' : '' }}{{ attr?.DisplayName }} \\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1$1.ErrorStateService }, { type: i1$1.MemberQuery }, { type: i1$1.MarketplaceExtendedQuery }, { type: i0.ElementRef }], propDecorators: { marketplaceItem: [{\n type: Input\n }], attributeMapping: [{\n type: Output\n }] } });\n\nclass MarketplaceCustomFieldsComponent {\n constructor(formBuilder) {\n this.formBuilder = formBuilder;\n this.customFieldsChange = new EventEmitter();\n this.dynamicFormCustomFields = [];\n this._destroyed$ = new Subject();\n }\n ngOnInit() {\n this.customFieldsForm = this.formBuilder.group({\n customFieldsGroup: this.formBuilder.array([]),\n });\n this._setCustomFields();\n this.customFieldsForm.valueChanges\n .pipe(takeUntil(this._destroyed$), tap(() => this.emitCustomFieldsValues()))\n .subscribe();\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n emitCustomFieldsValues() {\n let customFields = [];\n for (let index = 0; index < this.dynamicFormCustomFields.length; index++) {\n const control = this.customFieldsForm.get(index.toString());\n if (control) {\n let newCustomField = {\n customFieldId: this.dynamicFormCustomFields[index].CustomFieldId,\n customFieldName: this.dynamicFormCustomFields[index].DisplayName,\n customFieldValue: control.value,\n };\n customFields.push(newCustomField);\n }\n }\n if (!this.customFieldsForm.valid) {\n this.customFieldsChange.emit(undefined);\n }\n else {\n this.customFieldsChange.emit(customFields);\n }\n }\n isRequiredField(fieldIndex) {\n const formField = this.customFieldsForm.controls[fieldIndex];\n if (!formField.validator) {\n return false;\n }\n const validator = formField.validator({});\n return validator && validator.required;\n }\n _setCustomFields() {\n if (this.itemCustomFields) {\n for (let index = 0; index < this.itemCustomFields.length; index++) {\n let currentCustomField = this.itemCustomFields[index];\n this.dynamicFormCustomFields.push(currentCustomField);\n let validators = [];\n if (currentCustomField.FieldType == 2) {\n if (currentCustomField.IsRequired) {\n validators.push(Validators.requiredTrue);\n }\n }\n else {\n if (currentCustomField.IsRequired) {\n validators.push(Validators.required);\n }\n if (currentCustomField.CharacterLimit > 0) {\n validators.push(Validators.maxLength(currentCustomField.CharacterLimit));\n }\n if (currentCustomField.ValidationRegEx != '') {\n validators.push(Validators.pattern(currentCustomField.ValidationRegEx));\n }\n }\n this.customFieldsForm.addControl(index.toString(), new UntypedFormControl('', validators));\n }\n }\n this.emitCustomFieldsValues();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceCustomFieldsComponent, deps: [{ token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MarketplaceCustomFieldsComponent, selector: \"fgbcl-marketplace-custom-fields\", inputs: { itemCustomFields: \"itemCustomFields\", hasSumbittedForm: \"hasSumbittedForm\" }, outputs: { customFieldsChange: \"customFieldsChange\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n {{ customFieldsForm.controls[i].value.length }}/{{ customFieldDynamic.CharacterLimit }}\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
{{ 'custom.field.error.required' | translate }}
\\r\\n
\\r\\n {{ 'custom.field.error.maxlength' | translate }} ({{ customFieldsForm.controls[i].errors!.maxlength.actualLength }}/{{\\r\\n customFieldsForm.controls[i].errors!.maxlength.requiredLength\\r\\n }})\\r\\n
\\r\\n
{{ 'custom.field.error.validate' | translate }}
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\", styles: [\".alert-danger{float:left!important}.custom-field-form:focus{box-shadow:none!important}.form-floating{margin-top:30px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"pipe\", type: i8.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceCustomFieldsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-marketplace-custom-fields', template: \"
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n {{ customFieldsForm.controls[i].value.length }}/{{ customFieldDynamic.CharacterLimit }}\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
{{ 'custom.field.error.required' | translate }}
\\r\\n
\\r\\n {{ 'custom.field.error.maxlength' | translate }} ({{ customFieldsForm.controls[i].errors!.maxlength.actualLength }}/{{\\r\\n customFieldsForm.controls[i].errors!.maxlength.requiredLength\\r\\n }})\\r\\n
\\r\\n
{{ 'custom.field.error.validate' | translate }}
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\", styles: [\".alert-danger{float:left!important}.custom-field-form:focus{box-shadow:none!important}.form-floating{margin-top:30px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.UntypedFormBuilder }], propDecorators: { itemCustomFields: [{\n type: Input\n }], hasSumbittedForm: [{\n type: Input\n }], customFieldsChange: [{\n type: Output\n }] } });\n\nclass MarketplaceDetailsComponent {\n constructor(marketplaceExtendedQuery, cardTokenQuery, memberQuery, router) {\n this.marketplaceExtendedQuery = marketplaceExtendedQuery;\n this.cardTokenQuery = cardTokenQuery;\n this.memberQuery = memberQuery;\n this.router = router;\n this.actionLabels = ActionLabels;\n this.screenSize = ScreenType;\n this.cardTokenCount = 0;\n this.termsAccepted = false;\n this.TermsAndCondtionsType = TermsAndCondtionsType;\n this.loading = false;\n this.hasSumbittedForm = false;\n this.validCustomFields = [];\n this.MARKETPLACE_STATE = MARKETPLACE_STATE;\n this._destroyed$ = new Subject();\n }\n ngOnInit() {\n this.cardTokenQuery\n .selectUnfrozenCards()\n .pipe(tap((tokens) => (this.cardTokenCount = tokens.length)))\n .toPromise();\n this._subToUserChange();\n }\n ngOnChanges() {\n this.marketplaceItem$ = this.marketplaceExtendedQuery.selectExtendedMarketplaceItem(this.itemId).pipe(tap((item) => {\n if (item) {\n this._setUpLocalVariables(item);\n this._updateTheme(item);\n this._setUpTermsAndConditions(item);\n if (this.marketplaceActionsComponent) {\n this.marketplaceActionsComponent.updatePurchaseData();\n }\n this.getStockAvailableState();\n }\n }));\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n submitForm() {\n this.hasSumbittedForm = true;\n }\n onAttributeValueChange(item, attributeSelection) {\n if (!attributeSelection || !attributeSelection.AttributeValues) {\n //trigger to disable marketplace actions if attr isn't saved\n this.marketplaceActionsComponent && this.marketplaceActionsComponent.updatePurchaseData(-999, -999);\n return;\n }\n this.attributeMappingID = attributeSelection.AttributeMappingId ? attributeSelection.AttributeMappingId : undefined;\n this.selectedAttributes = this.marketplaceExtendedQuery.getSelectedAttributes(item.Id, this.currentLcid, attributeSelection.AttributeValues);\n const useMappings = item.StockType === MarketplaceItemStockType.AttributeStockType &&\n item.AttributeMappings &&\n item.AttributeMappings.length > 0;\n this.availableStock = useMappings ? attributeSelection.AvailableStockCount : this.marketplaceItem.AvailabilityCount;\n this.stockCount = useMappings ? attributeSelection.StockCount : this.marketplaceItem.StockCount;\n const purchaseQuantity = attributeSelection.AvailableStockCount > 0 ? 1 : 0;\n if (this.marketplaceActionsComponent) {\n this.marketplaceActionsComponent.updatePurchaseData(purchaseQuantity, this.attributeMappingID);\n }\n }\n _updateTheme(marketplaceItem) {\n if (marketplaceItem.Status === MarketplaceItemStatus.Available) {\n this.theme = marketplaceItem.theme;\n }\n else {\n this.theme = 'muted';\n }\n }\n _setUpLocalVariables(item) {\n this.marketplaceItem = item;\n //maintain original item status\n this.originalStatus = item.Status;\n this.availableStock = item.AvailabilityCount;\n this.stockCount = item.StockCount;\n this.marketplaceItemType = this.marketplaceExtendedQuery.getMarketplaceItemType(item);\n }\n _subToUserChange() {\n this.memberQuery.userContext$\n .pipe(takeUntil(this._destroyed$), map((user) => {\n if (user && user.lcid) {\n this.currentLcid = Number(user.lcid);\n }\n }), tap(() => {\n if (this.marketplaceActionsComponent) {\n this.marketplaceActionsComponent.updatePurchaseData();\n }\n }))\n .subscribe();\n }\n setCustomFields(fields) {\n this.validCustomFields = fields;\n if (this.marketplaceActionsComponent) {\n this.marketplaceActionsComponent.updateCustomFields(fields);\n }\n }\n updateLoading(state) {\n this.loading = state;\n }\n _setUpTermsAndConditions(item) {\n if (item.TermsAndConditionsType === TermsAndCondtionsType.Text) {\n this.termsLink = this.router.url + '/terms';\n }\n else {\n this.termsLink = item.TermsAndConditions;\n }\n }\n getStockAvailableState() {\n [this.stockAvailableState, this.textColor] = this.handleStockAvailable(this.marketplaceItem);\n }\n handleStockAvailable(marketplaceItem) {\n if (!marketplaceItem)\n return ['', this.theme];\n const stockCount = marketplaceItem.AvailabilityCount;\n // Limited stock\n if (stockCount > 5 && stockCount <= 10)\n return [MARKETPLACE_STATE.LIMITED, TEXT_COLOR.RED];\n // Stock count left\n if (stockCount > 0 && stockCount <= 5)\n return [MARKETPLACE_STATE.REMAINING, TEXT_COLOR.RED];\n else\n return ['', this.theme];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceDetailsComponent, deps: [{ token: i1$1.MarketplaceExtendedQuery }, { token: i1$1.CardTokenQuery }, { token: i1$1.MemberQuery }, { token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MarketplaceDetailsComponent, selector: \"fgbcl-marketplace-details\", inputs: { itemId: \"itemId\", actionLabels: \"actionLabels\" }, viewQueries: [{ propertyName: \"marketplaceActionsComponent\", first: true, predicate: MarketplaceActionsComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ item?.Sponsor?.SponsorText }} \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ item.AvailabilityCount }}\\r\\n \\r\\n\\r\\n {{ stockAvailableState | translate }}\\r\\n
\\r\\n
\\r\\n \\r\\n {{ item.DisplayName }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n {{ item.PointValue | FortressCurrencyPipe: 'PTS' }}\\r\\n
\\r\\n
\\r\\n \\r\\n 0\\\">\\r\\n
\\r\\n {{\\r\\n item.MerchantValue / 100 | FortressCurrencyPipe\\r\\n }}\\r\\n
\\r\\n
\\r\\n \\r\\n
0\\\">\\r\\n {{ item.EcashValue / 100 | FortressCurrencyPipe }}\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n 0 && item.Status === 0\\\"\\r\\n [itemCustomFields]=\\\"item.CustomFields\\\"\\r\\n [hasSumbittedForm]=\\\"hasSumbittedForm\\\"\\r\\n (customFieldsChange)=\\\"setCustomFields($event)\\\"\\r\\n >\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{ 'marketplace.terms.accept' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'marketplace.item.description' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'marketplace.item.tcs' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{\\r\\n item.TermsAndConditions\\r\\n }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\".full-screen-splash{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;background-color:#fff5}.form-check-input{width:20px;height:20px;border:var(--bs-border-width) solid #000}.form-check-input:focus{box-shadow:none}.form-check-input:checked{background-color:#52c443;border:var(--bs-border-width) solid #52c443;box-shadow:none}.form-check{margin-top:30px}.form-check>*:hover{cursor:pointer}.status-container{margin-top:30px;margin-bottom:30px}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i4$1.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"directive\", type: i6.IfScreenSizeDirective, selector: \"[ifScreenSize]\", inputs: [\"ifScreenSize\"] }, { kind: \"directive\", type: i1.CheckboxControlValueAccessor, selector: \"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"directive\", type: i6.IfItemEnabled, selector: \"[ifItemEnabled]\", inputs: [\"ifItemEnabled\", \"ifItemEnabledDisabledStatus\", \"ifItemEnabledElse\"], exportAs: [\"itemEnabled\"] }, { kind: \"component\", type: i7$1.RewardStatusComponent, selector: \"fgbcl-reward-status\", inputs: [\"status\", \"startDate\", \"comingSoonDate\"], outputs: [\"itemStart\"] }, { kind: \"component\", type: MarketplaceActionsComponent, selector: \"fgbcl-marketplace-actions\", inputs: [\"marketplaceItem\", \"marketplaceItemType\", \"attributeMappingID\", \"selectedAttributes\", \"validCustomFields\", \"hasECash\", \"theme\", \"actionLabels\", \"availableStock\", \"isCheckTC\"], outputs: [\"purchaseLoading\", \"hasSumbittedForm\"] }, { kind: \"component\", type: MarketplaceAttributesComponent, selector: \"fgbcl-marketplace-attributes\", inputs: [\"marketplaceItem\"], outputs: [\"attributeMapping\"] }, { kind: \"component\", type: MarketplaceCustomFieldsComponent, selector: \"fgbcl-marketplace-custom-fields\", inputs: [\"itemCustomFields\", \"hasSumbittedForm\"], outputs: [\"customFieldsChange\"] }, { kind: \"component\", type: i7.ErrorComponent, selector: \"fgbcl-error\" }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i12.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i12.SafeHtmlPipe, name: \"safeHtml\" }, { kind: \"pipe\", type: i12.FortressCurrencyPipe, name: \"FortressCurrencyPipe\" }, { kind: \"pipe\", type: i8.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceDetailsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-marketplace-details', template: \"
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ item?.Sponsor?.SponsorText }} \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ item.AvailabilityCount }}\\r\\n \\r\\n\\r\\n {{ stockAvailableState | translate }}\\r\\n
\\r\\n
\\r\\n \\r\\n {{ item.DisplayName }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n {{ item.PointValue | FortressCurrencyPipe: 'PTS' }}\\r\\n
\\r\\n
\\r\\n \\r\\n 0\\\">\\r\\n
\\r\\n {{\\r\\n item.MerchantValue / 100 | FortressCurrencyPipe\\r\\n }}\\r\\n
\\r\\n
\\r\\n \\r\\n
0\\\">\\r\\n {{ item.EcashValue / 100 | FortressCurrencyPipe }}\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n 0 && item.Status === 0\\\"\\r\\n [itemCustomFields]=\\\"item.CustomFields\\\"\\r\\n [hasSumbittedForm]=\\\"hasSumbittedForm\\\"\\r\\n (customFieldsChange)=\\\"setCustomFields($event)\\\"\\r\\n >\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{ 'marketplace.terms.accept' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'marketplace.item.description' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'marketplace.item.tcs' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{\\r\\n item.TermsAndConditions\\r\\n }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\".full-screen-splash{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;background-color:#fff5}.form-check-input{width:20px;height:20px;border:var(--bs-border-width) solid #000}.form-check-input:focus{box-shadow:none}.form-check-input:checked{background-color:#52c443;border:var(--bs-border-width) solid #52c443;box-shadow:none}.form-check{margin-top:30px}.form-check>*:hover{cursor:pointer}.status-container{margin-top:30px;margin-bottom:30px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1$1.MarketplaceExtendedQuery }, { type: i1$1.CardTokenQuery }, { type: i1$1.MemberQuery }, { type: i4.Router }], propDecorators: { itemId: [{\n type: Input\n }], actionLabels: [{\n type: Input\n }], marketplaceActionsComponent: [{\n type: ViewChild,\n args: [MarketplaceActionsComponent]\n }] } });\n\nclass MarketplaceActionsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceActionsModule, declarations: [MarketplaceActionsComponent, InputActive, EcashButtonDisabled], imports: [CommonModule,\n NumberInputModule,\n DirectivesModule,\n ErrorsModule,\n InlineSVGModule,\n FGBSharedModule], exports: [MarketplaceActionsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceActionsModule, imports: [CommonModule,\n NumberInputModule,\n DirectivesModule,\n ErrorsModule,\n InlineSVGModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceActionsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MarketplaceActionsComponent, InputActive, EcashButtonDisabled],\n imports: [\n CommonModule,\n NumberInputModule,\n DirectivesModule,\n ErrorsModule,\n InlineSVGModule,\n FGBSharedModule\n ],\n exports: [MarketplaceActionsComponent],\n }]\n }] });\n\nclass MarketplaceAttributesModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceAttributesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceAttributesModule, declarations: [MarketplaceAttributesComponent], imports: [CommonModule,\n PipesModule,\n DirectivesModule,\n FormsModule,\n FGBSharedModule], exports: [MarketplaceAttributesComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceAttributesModule, imports: [CommonModule,\n PipesModule,\n DirectivesModule,\n FormsModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceAttributesModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MarketplaceAttributesComponent],\n imports: [\n CommonModule,\n PipesModule,\n DirectivesModule,\n FormsModule,\n FGBSharedModule\n ],\n exports: [MarketplaceAttributesComponent],\n }]\n }] });\n\nclass MarketplaceCustomFieldsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceCustomFieldsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceCustomFieldsModule, declarations: [MarketplaceCustomFieldsComponent], imports: [CommonModule,\n ReactiveFormsModule,\n FGBSharedModule], exports: [MarketplaceCustomFieldsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceCustomFieldsModule, imports: [CommonModule,\n ReactiveFormsModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceCustomFieldsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MarketplaceCustomFieldsComponent],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FGBSharedModule\n ],\n exports: [MarketplaceCustomFieldsComponent],\n }]\n }] });\n\nclass MarketplacePurchaseConfirmationModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplacePurchaseConfirmationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplacePurchaseConfirmationModule, declarations: [MarketplacePurchaseConfirmationComponent], imports: [CommonModule,\n PipesModule,\n DirectivesModule,\n FGBSharedModule], exports: [MarketplacePurchaseConfirmationComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplacePurchaseConfirmationModule, imports: [CommonModule,\n PipesModule,\n DirectivesModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplacePurchaseConfirmationModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MarketplacePurchaseConfirmationComponent],\n imports: [\n CommonModule,\n PipesModule,\n DirectivesModule,\n FGBSharedModule\n ],\n exports: [MarketplacePurchaseConfirmationComponent],\n }]\n }] });\n\nclass MarketplaceDetailsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceDetailsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceDetailsModule, declarations: [MarketplaceDetailsComponent], imports: [CommonModule,\n PipesModule,\n LoadingModule,\n ShortLongDescriptionModule,\n LoyaltyIconModule,\n DirectivesModule,\n FormsModule,\n IfItemEnabled,\n RewardStatusComponent,\n MarketplaceActionsModule,\n MarketplaceAttributesModule,\n MarketplaceCustomFieldsModule,\n MarketplacePurchaseConfirmationModule,\n FGBSharedModule,\n ErrorComponent], exports: [MarketplaceDetailsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceDetailsModule, imports: [CommonModule,\n PipesModule,\n LoadingModule,\n ShortLongDescriptionModule,\n LoyaltyIconModule,\n DirectivesModule,\n FormsModule,\n RewardStatusComponent,\n MarketplaceActionsModule,\n MarketplaceAttributesModule,\n MarketplaceCustomFieldsModule,\n MarketplacePurchaseConfirmationModule,\n FGBSharedModule,\n ErrorComponent] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceDetailsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MarketplaceDetailsComponent],\n imports: [\n CommonModule,\n PipesModule,\n LoadingModule,\n ShortLongDescriptionModule,\n LoyaltyIconModule,\n DirectivesModule,\n FormsModule,\n IfItemEnabled,\n RewardStatusComponent,\n MarketplaceActionsModule,\n MarketplaceAttributesModule,\n MarketplaceCustomFieldsModule,\n MarketplacePurchaseConfirmationModule,\n FGBSharedModule,\n ErrorComponent\n ],\n exports: [MarketplaceDetailsComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { EcashButtonDisabled, InputActive, MarketplaceActionsComponent, MarketplaceActionsModule, MarketplaceAttributesComponent, MarketplaceAttributesModule, MarketplaceCustomFieldsComponent, MarketplaceCustomFieldsModule, MarketplaceDetailsComponent, MarketplaceDetailsModule, MarketplacePurchaseConfirmationComponent, MarketplacePurchaseConfirmationModule };\n","
\r\n
\r\n navigate_before\r\n Back \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { ActionLabels, MarketplaceService } from '@fgb/core';\r\nimport { firstValueFrom } from 'rxjs';\r\nimport { HideMobileNav } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\n\r\n@Component({\r\n selector: 'fgb-marketplace-detail-page',\r\n templateUrl: './marketplace-detail-page.component.html',\r\n styleUrls: ['./marketplace-detail-page.component.scss'],\r\n hostDirectives: [HideMobileNav],\r\n})\r\nexport class MarketplaceDetailPageComponent implements OnInit {\r\n @Input() id: number = 0;\r\n actionLabels = ActionLabels;\r\n populations = Populations;\r\n\r\n constructor(private marketplaceService: MarketplaceService) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.marketplaceService.fetchMarketplaceItemById(this.id));\r\n }\r\n}\r\n","import { Directive, Input, HostBinding, HostListener, OnInit } from '@angular/core';\r\nimport { config } from '@fgb/core';\r\n\r\n/**\r\n * Enables a default image source to be specified that will be shown upon image retrieval error (i.e. HTTP 404).\r\n * Usage:\r\n * \r\n */\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: 'img[useDefault]',\r\n})\r\nexport class ImgDefaultDirective implements OnInit {\r\n @HostBinding('attr.src') @Input() src: string;\r\n @Input() useDefault: boolean;\r\n @Input() loyaltyType: 'marketplace' | 'auction' | 'lotto' | 'wallet' | 'walletRedeemed' | 'badge';\r\n @HostBinding('class.image-loaded') imageLoaded = false;\r\n @HostBinding('class.image-error') imageError = false;\r\n DefaultImgSrc: string;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {\r\n if (!this.loyaltyType) {\r\n this.DefaultImgSrc = `${config.contentUrl}/images/noimage.png`;\r\n } else {\r\n switch (this.loyaltyType) {\r\n case 'marketplace': {\r\n this.DefaultImgSrc = 'assets/images/placeholders/marketplace-item.png';\r\n break;\r\n }\r\n case 'auction': {\r\n this.DefaultImgSrc = 'assets/images/placeholders/auction-item.png';\r\n break;\r\n }\r\n case 'lotto': {\r\n this.DefaultImgSrc = 'assets/images/placeholders/lotto-item.png';\r\n break;\r\n }\r\n case 'wallet': {\r\n this.DefaultImgSrc = 'assets/images/placeholders/marketplace-item.png';\r\n break;\r\n }\r\n case 'badge': {\r\n this.DefaultImgSrc = 'assets/images/placeholders/badge-item.png';\r\n break;\r\n }\r\n default: {\r\n this.DefaultImgSrc = 'assets/images/placeholders/marketplace-item.png';\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Called on error. Sets the default image source if required and the class to 'image-error'.\r\n */\r\n @HostListener('error') updateUrl() {\r\n if (this.useDefault) {\r\n this.src = this.DefaultImgSrc;\r\n }\r\n this.imageError = true;\r\n }\r\n\r\n /**\r\n * Called on success. Leaves the requested image source as-is and sets the class to 'image-loaded'.\r\n */\r\n @HostListener('load') load() {\r\n this.imageLoaded = true;\r\n }\r\n}\r\n","
0; else noPurchase\">\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{\r\n 'marketplace.purchase.success' | translate\r\n }}\r\n \r\n \r\n {{ 'events.purchase.success' | translate }}\r\n \r\n \r\n \r\n \r\n {{ 'products.purchase.success' | translate }}\r\n \r\n \r\n \r\n \r\n {{ 'marketplace.purchase.merchant.success' | translate }}\r\n \r\n \r\n
\r\n

\r\n {{\r\n 'marketplace.purchase.email.confirmation' | translate\r\n }}\r\n {{\r\n 'events.purchase.email.confirmation' | translate\r\n }}\r\n {{\r\n 'products.purchase.email.confirmation' | translate\r\n }}\r\n {{\r\n 'merchant.purchase.email.confirmation' | translate\r\n }}\r\n

\r\n\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {{ purchasedItem.DisplayName || defaultItemName || 'Display Name' }}\r\n
\r\n
\r\n \r\n \r\n
\r\n {{ attribute.AttributeName }}:\r\n {{ attribute.ValueName }}\r\n
\r\n
\r\n \r\n \r\n
\r\n {{ customfield.DisplayName }}:\r\n {{ customfield.Value }}\r\n
\r\n
\r\n \r\n
\r\n {{ 'marketplace.quantity' | translate }}\r\n {{ quantity || purchasedItem.ItemCount }}\r\n
\r\n \r\n \r\n
0\">\r\n {{ 'marketplace.merchant.used' | translate }}\r\n ${{ (purchasedItem.TotalMerchantPrice / 100).toFixed(2) }}\r\n
\r\n
\r\n \r\n \r\n
\r\n {{ 'marketplace.points.used' | translate }}\r\n {{ price | number }} {{ 'marketplace.points.value.pts' | translate }}\r\n
\r\n
\r\n \r\n
0\">\r\n
\r\n {{ 'marketplace.ecash.used' | translate }}\r\n
\r\n
\r\n
0\">\r\n
\r\n {{\r\n (quantity * purchasedItem.EcashValue) / 100 | FortressCurrencyPipe\r\n }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'download.rewards.item' | translate }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
{{ 'no.purchased.item.found' | translate }}
\r\n
\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport {\r\n MarketplaceItem,\r\n TransactionSuccessService,\r\n TransactionSuccessQuery,\r\n ProcessProviderId,\r\n PurchaseQuery,\r\n MemberPurchase,\r\n MemberQuery,\r\n MarketplaceExtendedQuery,\r\n AttributeValue,\r\n PurchaseCustomField,\r\n MarketplaceService,\r\n BasketService, PurchaseService, CartService,\r\n} from '@fgb/core';\r\nimport { combineLatest, firstValueFrom, Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { ActivatedRoute } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-marketplace-purchase-success-page',\r\n templateUrl: './marketplace-purchase-success-page.component.html',\r\n styleUrls: ['./marketplace-purchase-success-page.component.scss'],\r\n})\r\nexport class MarketplacePurchaseSuccessPageComponent implements OnInit, OnDestroy {\r\n purchasedItemList: any[];\r\n price: number;\r\n quantity: number;\r\n theme = '';\r\n marketplaceItemType = '';\r\n attributes: AttributeValue[];\r\n customFields: PurchaseCustomField[];\r\n purchasedItemLogId: number;\r\n ProcessProvider = ProcessProviderId;\r\n private _destroyed$ = new Subject();\r\n defaultItemName: string = '';\r\n defaultItemImageUrl: string = '';\r\n\r\n constructor(\r\n private transactionSuccessQuery: TransactionSuccessQuery,\r\n private transactionSuccessService: TransactionSuccessService,\r\n private purchaseQuery: PurchaseQuery,\r\n private memberQuery: MemberQuery,\r\n private marketplaceExtendedQuery: MarketplaceExtendedQuery,\r\n private marketplaceService: MarketplaceService,\r\n private activatedRoute: ActivatedRoute,\r\n private basketService: BasketService,\r\n private purchaseService: PurchaseService,\r\n private cartService: CartService,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.cartService.removeAllCartItems();\r\n const queryParams = this.activatedRoute.snapshot.queryParams;\r\n const purchaseOrderId = queryParams?.purchaseOrderId;\r\n if (purchaseOrderId) {\r\n this.cartService.removeAllCartItems();\r\n this.getDetailPurchasesOrderBasket(purchaseOrderId);\r\n } else {\r\n const storeValue = this.transactionSuccessQuery.getValue();\r\n this.purchasedItemList = [storeValue.item as MarketplaceItem];\r\n this.quantity = storeValue.quantity;\r\n this.price = storeValue.totalPrice;\r\n this.theme = this.purchasedItemList[0].theme;\r\n this.marketplaceItemType = this._getMarketplaceItemType(this.purchasedItemList[0].ProcessProviderId);\r\n\r\n combineLatest([this.purchaseQuery.selectPurchases(), this.memberQuery.userContext$])\r\n .pipe(takeUntil(this._destroyed$))\r\n .subscribe(([purchases, userContext]) => {\r\n let orderedPurchases = purchases.filter((p) => p.OrderId === storeValue.orderId);\r\n\r\n let uniquePurchases: MemberPurchase[] = [];\r\n orderedPurchases.forEach((element) => {\r\n if (!uniquePurchases.some((p) => p.RewardItemId === element.RewardItemId)) {\r\n uniquePurchases.push(element);\r\n this.purchasedItemLogId = element.LogId;\r\n }\r\n });\r\n\r\n if (uniquePurchases && uniquePurchases[0].AttributeValues && userContext && userContext.lcid) {\r\n this.attributes = this.marketplaceExtendedQuery.getLocalisedAttributeValuesFromArray(\r\n uniquePurchases[0].AttributeValues,\r\n +userContext.lcid\r\n );\r\n }\r\n if (uniquePurchases && uniquePurchases[0]) {\r\n this.customFields = uniquePurchases[0].CustomFields;\r\n }\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * This will download the purchased marketplace item.\r\n * @param logId is the log id of the purchased marketplace item.\r\n */\r\n downloadPurchasedItem(logId: number) {\r\n firstValueFrom(this.marketplaceService.downloadMarketplaceItem(logId)).then((response) => {\r\n const newBlob = new Blob([response], { type: response.type });\r\n const anchor = window.document.createElement('a');\r\n anchor.href = window.URL.createObjectURL(newBlob);\r\n // TODO: Return marketplace item download name\r\n anchor.download = logId.toString();\r\n document.body.appendChild(anchor);\r\n anchor.click();\r\n window.URL.revokeObjectURL(anchor.href);\r\n document.body.removeChild(anchor);\r\n });\r\n }\r\n\r\n async getDetailPurchasesOrderBasket(purchaseOrderId: string) {\r\n try {\r\n const res: any = await this.basketService.getPurchasesOrderBasket(purchaseOrderId);\r\n this.marketplaceItemType = 'MerchantValue';\r\n const basketItems = res?.BasketItems || [];\r\n this.purchasedItemList = basketItems;\r\n const firstBasketItem = basketItems[0];\r\n const firstBasketItemLogId = firstBasketItem.Items[0].LogId;\r\n if (firstBasketItemLogId) {\r\n const firstItemData: any = await this.purchaseService.getDetailPurchase(firstBasketItemLogId);\r\n this.defaultItemName = firstItemData.DisplayName;\r\n this.defaultItemImageUrl = firstItemData.ImageURL;\r\n this.customFields = firstItemData.CustomFields;\r\n\r\n if (firstItemData.AttributeValues) {\r\n this.attributes = this.marketplaceExtendedQuery.getLocalisedAttributeValuesFromArray(\r\n firstItemData.AttributeValues,\r\n +this.memberQuery.getUserContext().lcid\r\n );\r\n }\r\n }\r\n\r\n } catch (err: any) {\r\n console.log('err', err);\r\n }\r\n }\r\n\r\n ngOnDestroy() {\r\n this._destroyed$.next();\r\n this._destroyed$.complete();\r\n this.transactionSuccessService.clear();\r\n }\r\n\r\n /** Gets the marketplace item type text for a given marketplace item process provider ID. */\r\n private _getMarketplaceItemType(processProviderId: ProcessProviderId): string {\r\n switch (processProviderId) {\r\n case ProcessProviderId.Event:\r\n return 'Event';\r\n case ProcessProviderId.VirtualEvent:\r\n return 'Event';\r\n case ProcessProviderId.Product:\r\n return 'Product';\r\n default:\r\n return 'Marketplace';\r\n }\r\n }\r\n}\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i3 from '@fgb/portal-component-library/src/lib/shared/sort-bar';\nimport { SortOrder, SortBarModule } from '@fgb/portal-component-library/src/lib/shared/sort-bar';\nimport { map } from 'rxjs/operators';\nimport * as i1 from '@fgb/core';\nimport * as i4 from '@fgb/portal-component-library/src/lib/shared/loading';\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\nimport * as i5 from '@fgb/portal-component-library/src/lib/loyalty/lottos/lottos-list-item';\nimport { LottosListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/lottos/lottos-list-item';\nimport * as i6 from '@fgb/portal-component-library/src/lib/directives';\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i7 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\n\nvar LottoListSortOption;\n(function (LottoListSortOption) {\n LottoListSortOption[LottoListSortOption[\"Ordinal\"] = 0] = \"Ordinal\";\n LottoListSortOption[LottoListSortOption[\"Favourite\"] = 1] = \"Favourite\";\n})(LottoListSortOption || (LottoListSortOption = {}));\n\nclass LottosListComponent {\n constructor(lottoQuery) {\n this.lottoQuery = lottoQuery;\n this.defaultSort = LottoListSortOption.Favourite;\n this.sortOrderType = SortOrder;\n }\n ngOnInit() {\n this.subscribeAndSortLottoItems();\n this.defineSortBarOptions();\n }\n subscribeAndSortLottoItems() {\n this.lottos$ = this.lottoQuery.selectLottos().pipe(map((m) => m.sort((a, b) => {\n switch (this.defaultSort) {\n case LottoListSortOption.Favourite:\n return this.sortByFavourite(a, b);\n case LottoListSortOption.Ordinal:\n return this.sortByOrdinal(a, b);\n default:\n return 0;\n }\n })));\n }\n sortByFavourite(a, b) {\n return b.Favourite - a.Favourite;\n }\n sortByOrdinal(a, b) {\n return a.Ordinal - b.Ordinal;\n }\n defineSortBarOptions() {\n this.sortBarOptions = [\n {\n propertyToSort: 'PurchasePrice',\n shouldToggle: false,\n order: this.sortOrderType.Descending,\n labelDESC: 'lotto.high.low',\n },\n {\n propertyToSort: 'PurchasePrice',\n shouldToggle: false,\n order: this.sortOrderType.Ascending,\n labelASC: 'lotto.low.high',\n },\n {\n propertyToSort: 'AvailableCount',\n shouldToggle: true,\n order: this.sortOrderType.Descending,\n labelASC: 'lotto.limited.availability',\n labelDESC: 'lotto.high.availability',\n },\n {\n propertyToSort: 'Title',\n shouldToggle: true,\n order: this.sortOrderType.Descending,\n labelASC: 'lotto.a.z',\n labelDESC: 'lotto.z.a',\n },\n ];\n }\n resetOrder() {\n this.subscribeAndSortLottoItems();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListComponent, deps: [{ token: i1.LottoQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: LottosListComponent, selector: \"fgbcl-lottos-list\", inputs: { isList: \"isList\", defaultSort: \"defaultSort\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
{{ 'lotto.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.SortBarComponent, selector: \"fgbcl-sort-bar\", inputs: [\"sortBarOptions\", \"itemList\", \"displayDefaultSort\"], outputs: [\"defaultSortAction\"] }, { kind: \"component\", type: i4.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"component\", type: i5.LottosListItemComponent, selector: \"fgbcl-lottos-list-item\", inputs: [\"lottoItem\", \"ignoreLink\"] }, { kind: \"directive\", type: i6.WebsiteContentFeatureFlagDirective, selector: \"[fgbWebsiteContentFeatureFlag]\", inputs: [\"fgbWebsiteContentFeatureFlag\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i7.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-lottos-list', template: \"
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
{{ 'lotto.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.LottoQuery }], propDecorators: { isList: [{\n type: Input\n }], defaultSort: [{\n type: Input\n }] } });\n\nclass LottosListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListModule, declarations: [LottosListComponent], imports: [CommonModule,\n ErrorsModule,\n SortBarModule,\n LoadingModule,\n LottosListItemModule,\n DirectivesModule,\n FGBSharedModule], exports: [LottosListComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListModule, imports: [CommonModule,\n ErrorsModule,\n SortBarModule,\n LoadingModule,\n LottosListItemModule,\n DirectivesModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosListModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [LottosListComponent],\n imports: [\n CommonModule,\n ErrorsModule,\n SortBarModule,\n LoadingModule,\n LottosListItemModule,\n DirectivesModule,\n FGBSharedModule\n ],\n exports: [LottosListComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { LottoListSortOption, LottosListComponent, LottosListModule };\n","
\r\n

{{ 'lotto.page.title' | translate }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\n\r\n@Component({\r\n selector: 'fgb-lottos-page',\r\n templateUrl: './lottos-page.component.html',\r\n styleUrls: ['./lottos-page.component.scss'],\r\n})\r\nexport class LottosPageComponent implements OnInit {\r\n screenType = ScreenType;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport { LoyaltyLimitType, TermsAndCondtionsType, LOYALTY_STATUS, TermsAndCondtion, config, FgbError } from '@fgb/core';\nimport { tap } from 'rxjs';\nimport * as i6 from '@fgb/portal-component-library/src/lib/directives';\nimport { ScreenType, IfItemEnabled, DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i2 from '@angular/router';\nimport * as i4 from '@fgb/portal-component-library/src/lib/shared/countdown';\nimport { CountdownModule } from '@fgb/portal-component-library/src/lib/shared/countdown';\nimport * as i5 from '@fgb/portal-component-library/src/lib/shared/number-input';\nimport { NumberInputModule } from '@fgb/portal-component-library/src/lib/shared/number-input';\nimport * as i7 from '@fgb/portal-component-library/src/lib/loyalty/reward-status';\nimport { RewardStatusComponent } from '@fgb/portal-component-library/src/lib/loyalty/reward-status';\nimport * as i8 from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport * as i9 from '@fgb/portal-component-library/src/lib/shared/confirm-modal';\nimport { ConfirmModalModule } from '@fgb/portal-component-library/src/lib/shared/confirm-modal';\nimport * as i10 from '@fgb/portal-component-library/src/lib/shared/errors';\nimport { ErrorsModule, ErrorComponent } from '@fgb/portal-component-library/src/lib/shared/errors';\nimport * as i11 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i12 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { ShortLongDescriptionModule } from '@fgb/portal-component-library/src/lib/shared/short-long-description';\nimport { LoyaltyIconModule } from '@fgb/portal-component-library/src/lib/shared/loyalty-icon';\n\nclass LottoDetailsComponent {\n constructor(errorService, router, lottosService, lottoQuery, balanceService, transactionSuccessService) {\n this.errorService = errorService;\n this.router = router;\n this.lottosService = lottosService;\n this.lottoQuery = lottoQuery;\n this.balanceService = balanceService;\n this.transactionSuccessService = transactionSuccessService;\n this.showTermsAndConditions = false;\n this.entries = 1;\n this.available = true;\n this.LoyaltyLimitType = LoyaltyLimitType;\n this.showLotto = true;\n this.TermsAndCondtionsType = TermsAndCondtionsType;\n this.termsAccepted = false;\n this.screenSize = ScreenType;\n this.STATUS = LOYALTY_STATUS;\n }\n ngOnInit() {\n this.lottoItem$ = this.lottoQuery.selectEntity(this.lottoId)\n .pipe(tap((lotto) => {\n if (lotto) {\n this.lottoTerms = new TermsAndCondtion(lotto.TermsAndConditions, lotto.ShowTermsAndConditions, lotto.TermsAndConditionsType);\n }\n }));\n this.entriesLimit$ = this.lottoQuery.selectEntriesLimit(this.lottoId);\n this.limitMessage$ = this.lottoQuery.selectEntriesLimitMessage(this.lottoId);\n }\n async enterLotto() {\n await this.lottosService.enterLotto(this.lottoId, this.entries);\n const lotto = this.lottoQuery.getEntity(this.lottoId);\n let price = this.lottoQuery.getPrice(this.lottoId);\n if (price == undefined || lotto == undefined) {\n return;\n }\n const cost = price * this.entries;\n this.balanceService.debitBalance(config.purseConfig.virtualLoyalty, cost);\n this.transactionSuccessService.setTransaction(lotto, this.entries, cost);\n this.router.navigate(['/rewards/raffles/purchase/success']);\n }\n lottoEnd() {\n this.router.navigate(['/rewards/raffles']);\n }\n get statusDisableManualEntry() {\n return this.lottoQuery.getEntity(this.lottoId)?.DisableManualEntry;\n }\n onErrorChange(err) {\n if (err) {\n throw new FgbError({ message: err });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottoDetailsComponent, deps: [{ token: i1.ErrorStateService }, { token: i2.Router }, { token: i1.LottoService }, { token: i1.LottoQuery }, { token: i1.BalanceService }, { token: i1.TransactionSuccessService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: LottoDetailsComponent, selector: \"fgbcl-lotto-details\", inputs: { lottoId: \"lottoId\", showTermsAndConditions: \"showTermsAndConditions\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ ('lotto.my.entries' | translate) + lottoItem.NumberOfTicketsPurchased }} \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ ('lotto.my.entries' | translate) + lottoItem.NumberOfTicketsPurchased }} \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ lottoItem?.Sponsor?.SponsorText }} \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n

{{ lottoItem.Title }}

\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ lottoItem.PurchasePrice | number }} Pts\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n {{ 'lotto.terms.accept' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n 0 ? 1 : 0\\\"\\r\\n [maxValue]=\\\"entriesLimit\\\"\\r\\n [incrementValue]=\\\"1\\\"\\r\\n [minMessage]=\\\"'1 minimum'\\\"\\r\\n [maxMessage]=\\\"limitMessage | translate\\\"\\r\\n [limitValueToRange]=\\\"!lottoItem.UnlimitedLimit\\\"\\r\\n theme=\\\"lotto\\\"\\r\\n [showErrorMessage]=\\\"false\\\"\\r\\n (errorChange)=\\\"onErrorChange($event)\\\"\\r\\n >\\r\\n \\r\\n
\\r\\n \\r\\n entriesLimit ||\\r\\n (entriesLimit > 0 && entries < 1) ||\\r\\n (entriesLimit <= 0 && entries < 0) ||\\r\\n (lottoItem.ShowTermsAndConditions && !termsAccepted)\\r\\n \\\"\\r\\n class=\\\"btn btn-block fw-bold px-4 mt-lg-0 btn-rewards-redeem\\\"\\r\\n modal-class=\\\"reward-confirm-modal\\\"\\r\\n confirmModal\\r\\n [confirmContent]=\\\"confirmContent\\\"\\r\\n (confirm)=\\\"enterLotto()\\\"\\r\\n >\\r\\n {{ 'lottos.enter.now' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ lottoItem.PurchasePrice | number }} Pts\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'lotto.item.description' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'lotto.item.tcs' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{\\r\\n lottoItem.TermsAndConditions\\r\\n }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n

{{ 'lotto.confirm.text' | translate }}

\\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'lottos.confirmation.additional' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ lottoItem.Title }}
\\r\\n
\\r\\n {{ 'lotto.entries' | translate }}\\r\\n {{ entries }}\\r\\n
\\r\\n
\\r\\n {{ 'lotto.points.value' | translate }}\\r\\n \\r\\n {{ lottoItem.PurchasePrice * entries | number }} {{ 'lottos.points.value.pts' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\".btn-block{font-size:.875rem;min-width:224px;height:34px;border-radius:16px}@media (max-width: 991px){.btn-block{min-width:310px}}.status-container{margin-top:30px;margin-bottom:30px}.form-check{margin-top:30px}.form-check>*:hover{cursor:pointer}.form-check-input{width:20px;height:20px;border:var(--bs-border-width) solid #000}.form-check-input:focus{box-shadow:none}.form-check-input:checked{background-color:#52c443;border:var(--bs-border-width) solid #52c443;box-shadow:none}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i4.CountdownComponent, selector: \"fgbcl-countdown\", inputs: [\"endDateTime\", \"requestDateTime\", \"completeText\", \"isUTC\"], outputs: [\"complete\"] }, { kind: \"component\", type: i5.NumberInputComponent, selector: \"fgbcl-number-input\", inputs: [\"isActive\", \"minMessage\", \"maxMessage\", \"theme\", \"incrementValue\", \"limitValueToRange\", \"unlimitedLimit\", \"minValue\", \"maxValue\", \"amount\", \"outOfRange\", \"showErrorMessage\"], outputs: [\"amountChange\", \"outOfRangeChange\", \"errorChange\"] }, { kind: \"directive\", type: i6.IfItemEnabled, selector: \"[ifItemEnabled]\", inputs: [\"ifItemEnabled\", \"ifItemEnabledDisabledStatus\", \"ifItemEnabledElse\"], exportAs: [\"itemEnabled\"] }, { kind: \"component\", type: i7.RewardStatusComponent, selector: \"fgbcl-reward-status\", inputs: [\"status\", \"startDate\", \"comingSoonDate\"], outputs: [\"itemStart\"] }, { kind: \"directive\", type: i8.CheckboxControlValueAccessor, selector: \"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]\" }, { kind: \"directive\", type: i8.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i8.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"directive\", type: i6.IfScreenSizeDirective, selector: \"[ifScreenSize]\", inputs: [\"ifScreenSize\"] }, { kind: \"directive\", type: i6.WebsiteContentFeatureFlagDirective, selector: \"[fgbWebsiteContentFeatureFlag]\", inputs: [\"fgbWebsiteContentFeatureFlag\"] }, { kind: \"directive\", type: i6.NgSubscribeDirective, selector: \"[ngSubscribe]\", inputs: [\"ngSubscribe\"] }, { kind: \"directive\", type: i9.ConfirmModalDirective, selector: \"[confirmModal]\", inputs: [\"disabled\", \"confirmImage\", \"confirmContent\", \"confirmContext\", \"modal-class\", \"valid\", \"confirmHeader\"], outputs: [\"confirm\"] }, { kind: \"component\", type: i10.ErrorComponent, selector: \"fgbcl-error\" }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.DecimalPipe, name: \"number\" }, { kind: \"pipe\", type: i11.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i11.SafeHtmlPipe, name: \"safeHtml\" }, { kind: \"pipe\", type: i12.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottoDetailsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-lotto-details', template: \"
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ ('lotto.my.entries' | translate) + lottoItem.NumberOfTicketsPurchased }} \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ ('lotto.my.entries' | translate) + lottoItem.NumberOfTicketsPurchased }} \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ lottoItem?.Sponsor?.SponsorText }} \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n

{{ lottoItem.Title }}

\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ lottoItem.PurchasePrice | number }} Pts\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n {{ 'lotto.terms.accept' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n 0 ? 1 : 0\\\"\\r\\n [maxValue]=\\\"entriesLimit\\\"\\r\\n [incrementValue]=\\\"1\\\"\\r\\n [minMessage]=\\\"'1 minimum'\\\"\\r\\n [maxMessage]=\\\"limitMessage | translate\\\"\\r\\n [limitValueToRange]=\\\"!lottoItem.UnlimitedLimit\\\"\\r\\n theme=\\\"lotto\\\"\\r\\n [showErrorMessage]=\\\"false\\\"\\r\\n (errorChange)=\\\"onErrorChange($event)\\\"\\r\\n >\\r\\n \\r\\n
\\r\\n \\r\\n entriesLimit ||\\r\\n (entriesLimit > 0 && entries < 1) ||\\r\\n (entriesLimit <= 0 && entries < 0) ||\\r\\n (lottoItem.ShowTermsAndConditions && !termsAccepted)\\r\\n \\\"\\r\\n class=\\\"btn btn-block fw-bold px-4 mt-lg-0 btn-rewards-redeem\\\"\\r\\n modal-class=\\\"reward-confirm-modal\\\"\\r\\n confirmModal\\r\\n [confirmContent]=\\\"confirmContent\\\"\\r\\n (confirm)=\\\"enterLotto()\\\"\\r\\n >\\r\\n {{ 'lottos.enter.now' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ lottoItem.PurchasePrice | number }} Pts\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'lotto.item.description' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'lotto.item.tcs' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{\\r\\n lottoItem.TermsAndConditions\\r\\n }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n

{{ 'lotto.confirm.text' | translate }}

\\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'lottos.confirmation.additional' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ lottoItem.Title }}
\\r\\n
\\r\\n {{ 'lotto.entries' | translate }}\\r\\n {{ entries }}\\r\\n
\\r\\n
\\r\\n {{ 'lotto.points.value' | translate }}\\r\\n \\r\\n {{ lottoItem.PurchasePrice * entries | number }} {{ 'lottos.points.value.pts' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\".btn-block{font-size:.875rem;min-width:224px;height:34px;border-radius:16px}@media (max-width: 991px){.btn-block{min-width:310px}}.status-container{margin-top:30px;margin-bottom:30px}.form-check{margin-top:30px}.form-check>*:hover{cursor:pointer}.form-check-input{width:20px;height:20px;border:var(--bs-border-width) solid #000}.form-check-input:focus{box-shadow:none}.form-check-input:checked{background-color:#52c443;border:var(--bs-border-width) solid #52c443;box-shadow:none}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.ErrorStateService }, { type: i2.Router }, { type: i1.LottoService }, { type: i1.LottoQuery }, { type: i1.BalanceService }, { type: i1.TransactionSuccessService }], propDecorators: { lottoId: [{\n type: Input\n }], showTermsAndConditions: [{\n type: Input\n }] } });\n\nclass LottoDetailsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottoDetailsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: LottoDetailsModule, declarations: [LottoDetailsComponent], imports: [CommonModule,\n ErrorsModule,\n LoyaltyIconModule,\n CountdownModule,\n NumberInputModule,\n PipesModule,\n IfItemEnabled,\n RewardStatusComponent,\n ShortLongDescriptionModule,\n FormsModule,\n DirectivesModule,\n ConfirmModalModule,\n FGBSharedModule,\n ErrorComponent], exports: [LottoDetailsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottoDetailsModule, imports: [CommonModule,\n ErrorsModule,\n LoyaltyIconModule,\n CountdownModule,\n NumberInputModule,\n PipesModule,\n RewardStatusComponent,\n ShortLongDescriptionModule,\n FormsModule,\n DirectivesModule,\n ConfirmModalModule,\n FGBSharedModule,\n ErrorComponent] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottoDetailsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [LottoDetailsComponent],\n imports: [\n CommonModule,\n ErrorsModule,\n LoyaltyIconModule,\n CountdownModule,\n NumberInputModule,\n PipesModule,\n IfItemEnabled,\n RewardStatusComponent,\n ShortLongDescriptionModule,\n FormsModule,\n DirectivesModule,\n ConfirmModalModule,\n FGBSharedModule,\n ErrorComponent\n ],\n exports: [LottoDetailsComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { LottoDetailsComponent, LottoDetailsModule };\n","\r\n
\r\n
\r\n navigate_before\r\n {{ 'rewards.details.page.back.button' | translate }}\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { HideMobileNav } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\n\r\n@Component({\r\n selector: 'fgb-lotto-detail-page',\r\n templateUrl: './lotto-detail-page.component.html',\r\n styleUrls: ['./lotto-detail-page.component.scss'],\r\n hostDirectives: [HideMobileNav],\r\n})\r\nexport class LottoDetailPageComponent implements OnInit {\r\n @Input() id: number = 0;\r\n populations = Populations;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'lotto.entry.successful' | translate }}\r\n
\r\n

\r\n {{ 'lottos.purchase.confirm' | translate }}\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
{{ lottoItem.Title }}
\r\n \r\n
\r\n {{ 'lotto.entries' | translate }}\r\n {{ quantity | number }}\r\n
\r\n \r\n
\r\n {{ 'lotto.points.used' | translate }}\r\n {{ totalPrice | number }} {{ 'lottos.points.value.pts' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
No raffles found...
\r\n
\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { TransactionSuccessQuery, TransactionSuccessService, LottoItem } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-lottos-success-page',\r\n templateUrl: './lottos-success-page.component.html',\r\n styleUrls: ['./lottos-success-page.component.scss'],\r\n})\r\nexport class LottosSuccessPageComponent implements OnInit, OnDestroy {\r\n public lottoItem: LottoItem;\r\n public totalPrice: number;\r\n public quantity: number;\r\n\r\n constructor(\r\n private transactionSuccessQuery: TransactionSuccessQuery,\r\n private transactionSuccessService: TransactionSuccessService\r\n ) {}\r\n\r\n ngOnInit() {\r\n const transaction = this.transactionSuccessQuery.getValue();\r\n this.lottoItem = transaction.item as LottoItem;\r\n this.totalPrice = transaction.totalPrice;\r\n this.quantity = transaction.quantity;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.transactionSuccessService.clear();\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MarketplaceService } from '@fgb/core';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-events-page',\r\n templateUrl: './events-page.component.html',\r\n styleUrls: ['./events-page.component.scss'],\r\n})\r\nexport class EventsPageComponent implements OnInit {\r\n constructor(private marketplaceService: MarketplaceService) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.marketplaceService.fetchMarketplaceItems());\r\n }\r\n}\r\n","
\r\n

{{ 'events.page.title' | translate }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n","import * as i0 from '@angular/core';\nimport { Component, Inject, Input, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i6 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport { ShortLongDescriptionModule } from '@fgb/portal-component-library/src/lib/shared/short-long-description';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\nimport * as i2$1 from '@angular/router';\nimport { RouterModule } from '@angular/router';\nimport * as i2 from '@fgb/portal-component-library/src/lib/directives';\nimport { ScreenType, DirectivesModule, DataSourceDirective } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i5 from 'angularx-qrcode';\nimport { QRCodeModule } from 'angularx-qrcode';\nimport * as i3$1 from 'ngx-owl-carousel-o';\nimport { CarouselModule } from 'ngx-owl-carousel-o';\nimport * as i2$2 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i1 from '@fgb/core';\nimport { DATE_OPTIONS, ProcessProviderId, WalletItemType } from '@fgb/core';\nimport * as i5$1 from '@ngx-translate/core';\nimport { map, takeUntil } from 'rxjs/operators';\nimport { firstValueFrom, Subject, combineLatest } from 'rxjs';\nimport { OwlCarouselSettings } from '@fgb/portal-component-library/src/lib/shared/utilities';\n\nclass AuctionWonListItemComponent {\n constructor(dateOption) {\n this.dateOption = dateOption;\n this.ShowMoreInfo = false;\n }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionWonListItemComponent, deps: [{ token: DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: AuctionWonListItemComponent, selector: \"fgbcl-auction-won-list-item\", inputs: { auctionItem: \"auctionItem\" }, ngImport: i0, template: \"\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ auctionItem?.Name }}
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ auctionItem?.Name }}
\\r\\n
\\r\\n {{ 'fgbcl.auction.claimed' | translate }}\\r\\n {{ auctionItem?.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".purchase-list-image{width:60px!important;height:60px}.purchase-list-image img{width:60px;height:60px}.purchase-title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.redeem-card{border-radius:16px;padding:.75rem 1.25rem;min-height:200px}@media (max-width: 991px){.redeem-card{min-height:259px}}.redeemed-border{border:1px solid #dedddd}.border{border:1px solid #dedddd!important;opacity:1;height:90px}.wallet-auction-item-name{-webkit-line-clamp:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.WebsiteContentFeatureFlagDirective, selector: \"[fgbWebsiteContentFeatureFlag]\", inputs: [\"fgbWebsiteContentFeatureFlag\"] }, { kind: \"directive\", type: i2.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"component\", type: i5.QRCodeComponent, selector: \"qrcode\", inputs: [\"allowEmptyString\", \"colorDark\", \"colorLight\", \"cssClass\", \"elementType\", \"errorCorrectionLevel\", \"imageSrc\", \"imageHeight\", \"imageWidth\", \"margin\", \"qrdata\", \"scale\", \"version\", \"width\", \"alt\", \"ariaLabel\", \"title\"], outputs: [\"qrCodeURL\"] }, { kind: \"pipe\", type: i6.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.UtcToLocaltimePipe, name: \"UtcToLocaltimePipe\" }, { kind: \"pipe\", type: i5$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionWonListItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-auction-won-list-item', template: \"\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ auctionItem?.Name }}
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ auctionItem?.Name }}
\\r\\n
\\r\\n {{ 'fgbcl.auction.claimed' | translate }}\\r\\n {{ auctionItem?.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".purchase-list-image{width:60px!important;height:60px}.purchase-list-image img{width:60px;height:60px}.purchase-title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.redeem-card{border-radius:16px;padding:.75rem 1.25rem;min-height:200px}@media (max-width: 991px){.redeem-card{min-height:259px}}.redeemed-border{border:1px solid #dedddd}.border{border:1px solid #dedddd!important;opacity:1;height:90px}.wallet-auction-item-name{-webkit-line-clamp:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\\n\"] }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [DATE_OPTIONS]\n }] }], propDecorators: { auctionItem: [{\n type: Input\n }] } });\n\nclass AuctionWalletDetailsComponent {\n constructor(dateOption, rewardWalletQuery, rewardWalletItemsService, route, location) {\n this.dateOption = dateOption;\n this.rewardWalletQuery = rewardWalletQuery;\n this.rewardWalletItemsService = rewardWalletItemsService;\n this.route = route;\n this.location = location;\n this.screenType = ScreenType;\n }\n ngOnInit() {\n let id = this.route.snapshot.paramMap.get('id') || '0';\n this.auctionBid$ = this.rewardWalletQuery.selectRewardWalletItem(id).pipe(map((item) => item));\n this.rewardWalletItemsService.fetchWalletItems().toPromise();\n }\n backToWallet() {\n this.location.back();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionWalletDetailsComponent, deps: [{ token: DATE_OPTIONS }, { token: i1.RewardsWalletQuery }, { token: i1.RewardsWalletService }, { token: i2$1.ActivatedRoute }, { token: i3.Location }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: AuctionWalletDetailsComponent, selector: \"fgbcl-auction-wallet-details\", inputs: { id: \"id\" }, ngImport: i0, template: \"
\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.Name }}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.wallet.expiry.date' | translate }}\\r\\n {{ purchasedItem.ExpireDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'fgbcl.auction.wallet.claimed' | translate }}\\r\\n {{ purchasedItem.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.rewards.wallet.auction.barcode.dekstop.unclaimed' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.rewards.wallet.auction.barcode.unclaimed' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n {{ purchasedItem.PointValue }}\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.PurchaseDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'wallet.no.items.found' | translate }}\\r\\n
\\r\\n
\\r\\n\", styles: [\".loyalty-details-image{width:80px!important;height:80px!important;flex:none}.wallet-back-button{flex:1;align-self:baseline}.purchase-subheading{width:100px}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"component\", type: i5.QRCodeComponent, selector: \"qrcode\", inputs: [\"allowEmptyString\", \"colorDark\", \"colorLight\", \"cssClass\", \"elementType\", \"errorCorrectionLevel\", \"imageSrc\", \"imageHeight\", \"imageWidth\", \"margin\", \"qrdata\", \"scale\", \"version\", \"width\", \"alt\", \"ariaLabel\", \"title\"], outputs: [\"qrCodeURL\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i6.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.SafeHtmlPipe, name: \"safeHtml\" }, { kind: \"pipe\", type: i6.UtcToLocaltimePipe, name: \"UtcToLocaltimePipe\" }, { kind: \"pipe\", type: i5$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionWalletDetailsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-auction-wallet-details', template: \"
\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.Name }}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.wallet.expiry.date' | translate }}\\r\\n {{ purchasedItem.ExpireDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ 'fgbcl.auction.wallet.claimed' | translate }}\\r\\n {{ purchasedItem.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.rewards.wallet.auction.barcode.dekstop.unclaimed' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.rewards.wallet.auction.barcode.unclaimed' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n {{ purchasedItem.PointValue }}\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.PurchaseDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'wallet.no.items.found' | translate }}\\r\\n
\\r\\n
\\r\\n\", styles: [\".loyalty-details-image{width:80px!important;height:80px!important;flex:none}.wallet-back-button{flex:1;align-self:baseline}.purchase-subheading{width:100px}\\n\"] }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [DATE_OPTIONS]\n }] }, { type: i1.RewardsWalletQuery }, { type: i1.RewardsWalletService }, { type: i2$1.ActivatedRoute }, { type: i3.Location }], propDecorators: { id: [{\n type: Input\n }] } });\n\nclass LottosWonListItemComponent {\n constructor(dateOption) {\n this.dateOption = dateOption;\n this.showPoints = true;\n }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosWonListItemComponent, deps: [{ token: DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: LottosWonListItemComponent, selector: \"fgbcl-lottos-won-list-item\", inputs: { lottoItem: \"lottoItem\", showPoints: \"showPoints\" }, ngImport: i0, template: \"\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ lottoItem?.Name }}
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ lottoItem.Name }}
\\r\\n
\\r\\n {{ 'fgbcl.lotto.claimed' | translate }} {{ lottoItem.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".purchase-list-image{width:60px!important;height:60px}.purchase-list-image img{width:60px;height:60px}.purchase-title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.redeem-card{border-radius:16px;padding:.75rem 1.25rem;min-height:200px}@media (max-width: 991px){.redeem-card{min-height:259px}}.redeemed-border{border:1px solid #dedddd}.border{border:1px solid #dedddd!important;opacity:1;height:90px}.wallet-lotto-item-name{-webkit-line-clamp:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"pipe\", type: i6.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.UtcToLocaltimePipe, name: \"UtcToLocaltimePipe\" }, { kind: \"pipe\", type: i5$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosWonListItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-lottos-won-list-item', template: \"\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ lottoItem?.Name }}
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ lottoItem.Name }}
\\r\\n
\\r\\n {{ 'fgbcl.lotto.claimed' | translate }} {{ lottoItem.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".purchase-list-image{width:60px!important;height:60px}.purchase-list-image img{width:60px;height:60px}.purchase-title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.redeem-card{border-radius:16px;padding:.75rem 1.25rem;min-height:200px}@media (max-width: 991px){.redeem-card{min-height:259px}}.redeemed-border{border:1px solid #dedddd}.border{border:1px solid #dedddd!important;opacity:1;height:90px}.wallet-lotto-item-name{-webkit-line-clamp:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\\n\"] }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [DATE_OPTIONS]\n }] }], propDecorators: { lottoItem: [{\n type: Input\n }], showPoints: [{\n type: Input\n }] } });\n\nclass MarketplacePurchasedListItemComponent {\n constructor(dateOption, marketplaceService) {\n this.dateOption = dateOption;\n this.marketplaceService = marketplaceService;\n this.ProcessProvider = ProcessProviderId;\n this.screenType = ScreenType;\n }\n ngOnInit() { }\n downloadPurchasedItem(logId) {\n firstValueFrom(this.marketplaceService.downloadMarketplaceItem(logId)).then((response) => {\n const newBlob = new Blob([response], { type: response.type });\n const anchor = window.document.createElement('a');\n anchor.href = window.URL.createObjectURL(newBlob);\n // TODO: Return marketplace item download name\n anchor.download = logId.toString();\n document.body.appendChild(anchor);\n anchor.click();\n window.URL.revokeObjectURL(anchor.href);\n document.body.removeChild(anchor);\n });\n }\n get isUniqueCodeLink() {\n return this.purchaseItem.Code.toString().includes('http://') || this.purchaseItem.Code.toString().includes('https://');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplacePurchasedListItemComponent, deps: [{ token: DATE_OPTIONS }, { token: i1.MarketplaceService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MarketplacePurchasedListItemComponent, selector: \"fgbcl-marketplace-purchased-list-item\", inputs: { purchaseItem: \"purchaseItem\" }, ngImport: i0, template: \"\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ purchaseItem.Name }}
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{ 'wallet.open.link' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ purchaseItem.Code }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ 'download.rewards.item' | translate }}\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.wallet.expiry.date' | translate }}\\r\\n {{ purchaseItem.ExpireDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ purchaseItem.Name }}
\\r\\n
\\r\\n {{ 'fgbcl.wallet.claimed' | translate }} {{ purchaseItem.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".purchase-list-image{width:60px!important;height:60px}.purchase-list-image img{width:60px;height:60px}.purchase-title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.redeem-card{border-radius:16px;padding:.75rem 1.25rem;min-height:200px}@media (max-width: 991px){.redeem-card{min-height:259px}}.redeemed-border{border:1px solid #dedddd}.border{border:1px solid #dedddd!important;opacity:1;height:90px}.wallet-marketplace-item-name{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"component\", type: i5.QRCodeComponent, selector: \"qrcode\", inputs: [\"allowEmptyString\", \"colorDark\", \"colorLight\", \"cssClass\", \"elementType\", \"errorCorrectionLevel\", \"imageSrc\", \"imageHeight\", \"imageWidth\", \"margin\", \"qrdata\", \"scale\", \"version\", \"width\", \"alt\", \"ariaLabel\", \"title\"], outputs: [\"qrCodeURL\"] }, { kind: \"pipe\", type: i6.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.UtcToLocaltimePipe, name: \"UtcToLocaltimePipe\" }, { kind: \"pipe\", type: i5$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplacePurchasedListItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-marketplace-purchased-list-item', template: \"\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ purchaseItem.Name }}
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{ 'wallet.open.link' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ purchaseItem.Code }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ 'download.rewards.item' | translate }}\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.wallet.expiry.date' | translate }}\\r\\n {{ purchaseItem.ExpireDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ purchaseItem.Name }}
\\r\\n
\\r\\n {{ 'fgbcl.wallet.claimed' | translate }} {{ purchaseItem.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".purchase-list-image{width:60px!important;height:60px}.purchase-list-image img{width:60px;height:60px}.purchase-title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.redeem-card{border-radius:16px;padding:.75rem 1.25rem;min-height:200px}@media (max-width: 991px){.redeem-card{min-height:259px}}.redeemed-border{border:1px solid #dedddd}.border{border:1px solid #dedddd!important;opacity:1;height:90px}.wallet-marketplace-item-name{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}\\n\"] }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [DATE_OPTIONS]\n }] }, { type: i1.MarketplaceService }], propDecorators: { purchaseItem: [{\n type: Input\n }] } });\n\nclass RewardsWalletRedeemListItemComponent {\n constructor() {\n this.itemType = WalletItemType;\n }\n ngOnInit() {\n if (this.item?.ItemType == this.itemType.Marketplace) {\n this.marketplaceItem = this.item;\n }\n else if (this.item?.ItemType == this.itemType.Auction) {\n this.auctionItem = this.item;\n }\n else if (this.item?.ItemType == this.itemType.Lotto) {\n this.lottoItem = this.item;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RewardsWalletRedeemListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: RewardsWalletRedeemListItemComponent, selector: \"fgbcl-rewards-wallet-redeem-list-item\", inputs: { item: \"item\" }, ngImport: i0, template: \"\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i3.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"component\", type: AuctionWonListItemComponent, selector: \"fgbcl-auction-won-list-item\", inputs: [\"auctionItem\"] }, { kind: \"component\", type: LottosWonListItemComponent, selector: \"fgbcl-lottos-won-list-item\", inputs: [\"lottoItem\", \"showPoints\"] }, { kind: \"component\", type: MarketplacePurchasedListItemComponent, selector: \"fgbcl-marketplace-purchased-list-item\", inputs: [\"purchaseItem\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RewardsWalletRedeemListItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-rewards-wallet-redeem-list-item', template: \"\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { item: [{\n type: Input\n }] } });\n\nclass RewardsWalletRedeemListComponent {\n constructor() {\n this.marketplaceWalletUrl = `/rewards/wallet/details/`;\n this.auctionWalletUrl = `/rewards/bids/details/`;\n this.lottoWalletUrl = `/rewards/wallet/raffledetails/`;\n this.isDragging = false;\n this.customOptions = {\n dots: true,\n margin: 8,\n pullDrag: false,\n autoWidth: true,\n autoplayTimeout: OwlCarouselSettings.AutoplayTimeout,\n autoplaySpeed: OwlCarouselSettings.AutoplaySpeed,\n navSpeed: 700,\n responsive: {\n 0: { items: 1, autoWidth: true },\n 540: { items: 2, autoWidth: false },\n 740: { items: 3 },\n },\n };\n }\n getItemDetailUrl(item) {\n if (item.ItemType == WalletItemType.Auction) {\n return `${this.auctionWalletUrl}${item.UniqueId}`;\n }\n else if (item.ItemType == WalletItemType.Marketplace) {\n return `${this.marketplaceWalletUrl}${item.UniqueId}`;\n }\n else if (item.ItemType == WalletItemType.Lotto) {\n return `${this.lottoWalletUrl}${item.UniqueId}`;\n }\n return '';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RewardsWalletRedeemListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: RewardsWalletRedeemListComponent, selector: \"fgbcl-rewards-wallet-redeem-list\", inputs: { unRedeemedItems: \"unRedeemedItems\", marketplaceWalletUrl: \"marketplaceWalletUrl\", auctionWalletUrl: \"auctionWalletUrl\", lottoWalletUrl: \"lottoWalletUrl\" }, ngImport: i0, template: \"\\r\\n

{{ 'rewards.wallet.redeem.title' | translate }}

\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.CustomOwlCarousel, selector: \"owl-carousel-o\" }, { kind: \"component\", type: i3$1.CarouselComponent, selector: \"owl-carousel-o\", inputs: [\"options\"], outputs: [\"translated\", \"dragging\", \"change\", \"changed\", \"initialized\"] }, { kind: \"directive\", type: i3$1.CarouselSlideDirective, selector: \"ng-template[carouselSlide]\", inputs: [\"id\", \"dataMerge\", \"width\", \"dotContent\", \"dataHash\"] }, { kind: \"directive\", type: i3$1.OwlRouterLinkDirective, selector: \":not(a)[owlRouterLink]\", inputs: [\"queryParams\", \"fragment\", \"queryParamsHandling\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"stopLink\", \"owlRouterLink\", \"preserveQueryParams\"] }, { kind: \"component\", type: RewardsWalletRedeemListItemComponent, selector: \"fgbcl-rewards-wallet-redeem-list-item\", inputs: [\"item\"] }, { kind: \"pipe\", type: i5$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RewardsWalletRedeemListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-rewards-wallet-redeem-list', template: \"\\r\\n

{{ 'rewards.wallet.redeem.title' | translate }}

\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { unRedeemedItems: [{\n type: Input\n }], marketplaceWalletUrl: [{\n type: Input\n }], auctionWalletUrl: [{\n type: Input\n }], lottoWalletUrl: [{\n type: Input\n }] } });\n\nclass LottosWalletDetailsComponent {\n constructor(dateOption, rewardsWalletQuery, rewardWalletItemsService, route, location) {\n this.dateOption = dateOption;\n this.rewardsWalletQuery = rewardsWalletQuery;\n this.rewardWalletItemsService = rewardWalletItemsService;\n this.route = route;\n this.location = location;\n }\n ngOnInit() {\n let id = this.route.snapshot.paramMap.get('id') || '0';\n this.lottoWalletItem$ = this.rewardsWalletQuery.selectRewardWalletItem(id).pipe(map((item) => item));\n this.rewardWalletItemsService.fetchWalletItems().toPromise();\n }\n backToWallet() {\n this.location.back();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosWalletDetailsComponent, deps: [{ token: DATE_OPTIONS }, { token: i1.RewardsWalletQuery }, { token: i1.RewardsWalletService }, { token: i2$1.ActivatedRoute }, { token: i3.Location }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: LottosWalletDetailsComponent, selector: \"fgbcl-lottos-wallet-details\", inputs: { lottoId: \"lottoId\" }, ngImport: i0, template: \"
\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.Name }}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.lotto.wallet.claimed' | translate }}\\r\\n {{ purchasedItem.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{ purchasedItem.PointValue }}\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.PurchaseDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'wallet.no.items.found' | translate }}\\r\\n
\\r\\n
\\r\\n\", styles: [\".loyalty-details-image{width:80px!important;height:80px!important;flex:none}.wallet-back-button{flex:1;align-self:baseline}.purchase-subheading{width:100px}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i6.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.SafeHtmlPipe, name: \"safeHtml\" }, { kind: \"pipe\", type: i6.UtcToLocaltimePipe, name: \"UtcToLocaltimePipe\" }, { kind: \"pipe\", type: i5$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: LottosWalletDetailsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-lottos-wallet-details', template: \"
\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.Name }}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.lotto.wallet.claimed' | translate }}\\r\\n {{ purchasedItem.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{ purchasedItem.PointValue }}\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.PurchaseDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'wallet.no.items.found' | translate }}\\r\\n
\\r\\n
\\r\\n\", styles: [\".loyalty-details-image{width:80px!important;height:80px!important;flex:none}.wallet-back-button{flex:1;align-self:baseline}.purchase-subheading{width:100px}\\n\"] }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [DATE_OPTIONS]\n }] }, { type: i1.RewardsWalletQuery }, { type: i1.RewardsWalletService }, { type: i2$1.ActivatedRoute }, { type: i3.Location }], propDecorators: { lottoId: [{\n type: Input\n }] } });\n\nclass MarketplaceWalletDetailsComponent {\n constructor(dateOption, route, memberQuery, rewardWalletQuery, rewardWalletItemsService, location, marketplaceService) {\n this.dateOption = dateOption;\n this.route = route;\n this.memberQuery = memberQuery;\n this.rewardWalletQuery = rewardWalletQuery;\n this.rewardWalletItemsService = rewardWalletItemsService;\n this.location = location;\n this.marketplaceService = marketplaceService;\n this.marketplaceItemType = '';\n this.marketplaceItemGroup = '';\n this.ProcessProvider = ProcessProviderId;\n this._destroyed$ = new Subject();\n }\n ngOnInit() {\n let id = this.route.snapshot.paramMap.get('id') || '0';\n combineLatest([this.rewardWalletQuery.selectRewardWalletItem(id), this.memberQuery.userContext$])\n .pipe(takeUntil(this._destroyed$))\n .subscribe(([purchase, userContext]) => {\n if (!purchase || !userContext) {\n return;\n }\n this.purchasedItem = purchase;\n });\n this.rewardWalletItemsService.fetchWalletItems().toPromise();\n }\n /**\n * This will download the purchased marketplace item.\n * @param logId is the log id of the purchased marketplace item.\n */\n downloadPurchasedItem(logId) {\n firstValueFrom(this.marketplaceService.downloadMarketplaceItem(logId)).then((response) => {\n const newBlob = new Blob([response], { type: response.type });\n const anchor = window.document.createElement('a');\n anchor.href = window.URL.createObjectURL(newBlob);\n // TODO: Return marketplace item download name\n anchor.download = logId.toString();\n document.body.appendChild(anchor);\n anchor.click();\n window.URL.revokeObjectURL(anchor.href);\n document.body.removeChild(anchor);\n });\n }\n get isUniqueCodeLink() {\n return this.purchasedItem.Code.toString().includes('http://') || this.purchasedItem.Code.toString().includes('https://');\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n backToWallet() {\n this.location.back();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceWalletDetailsComponent, deps: [{ token: DATE_OPTIONS }, { token: i2$1.ActivatedRoute }, { token: i1.MemberQuery }, { token: i1.RewardsWalletQuery }, { token: i1.RewardsWalletService }, { token: i3.Location }, { token: i1.MarketplaceService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MarketplaceWalletDetailsComponent, selector: \"fgbcl-marketplace-wallet-details\", inputs: { id: \"id\" }, ngImport: i0, template: \"
\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.Name }}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.wallet.expiry.date' | translate }}\\r\\n {{ purchasedItem.ExpireDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.wallet.claimed' | translate }}\\r\\n {{ purchasedItem.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.rewards.wallet.marketplace.barcode.dekstop.unclaimed' | translate }}\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.rewards.wallet.marketplace.barcode.unclaimed' | translate }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
{{ purchasedItem.Code }}
\\r\\n
\\r\\n {{ purchasedItem.Code2 }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.rewards.wallet.uniquecode.instruction' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n {{ 'download.rewards.item' | translate }}\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{\\r\\n 'fgbcl.rewards.wallet.points' | translate\\r\\n }}\\r\\n {{ purchasedItem.PointValue }}\\r\\n
\\r\\n \\r\\n
0\\\">\\r\\n {{ 'marketplace.ecash.used' | translate }}\\r\\n\\r\\n {{ purchasedItem.EcashValue / 100 | FortressCurrencyPipe }}\\r\\n
\\r\\n \\r\\n
0\\\">\\r\\n {{ 'marketplace.merchant.used' | translate }}\\r\\n\\r\\n {{ purchasedItem.MerchantValue / 100 | FortressCurrencyPipe }}\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ customField.DisplayName }}\\r\\n {{ customField.DisplayValue }}\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ attribute.DisplayName }}\\r\\n {{ attribute.DisplayValue }}\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.PurchaseDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'wallet.no.items.found' | translate }}\\r\\n
\\r\\n
\\r\\n\", styles: [\".loyalty-details-image{width:80px!important;height:80px!important;flex:none}.wallet-back-button{flex:1;align-self:baseline}.purchase-subheading{width:130px}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"component\", type: i5.QRCodeComponent, selector: \"qrcode\", inputs: [\"allowEmptyString\", \"colorDark\", \"colorLight\", \"cssClass\", \"elementType\", \"errorCorrectionLevel\", \"imageSrc\", \"imageHeight\", \"imageWidth\", \"margin\", \"qrdata\", \"scale\", \"version\", \"width\", \"alt\", \"ariaLabel\", \"title\"], outputs: [\"qrCodeURL\"] }, { kind: \"pipe\", type: i6.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i6.SafeHtmlPipe, name: \"safeHtml\" }, { kind: \"pipe\", type: i6.FortressCurrencyPipe, name: \"FortressCurrencyPipe\" }, { kind: \"pipe\", type: i6.UtcToLocaltimePipe, name: \"UtcToLocaltimePipe\" }, { kind: \"pipe\", type: i5$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MarketplaceWalletDetailsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-marketplace-wallet-details', template: \"
\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.Name }}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.wallet.expiry.date' | translate }}\\r\\n {{ purchasedItem.ExpireDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fgbcl.wallet.claimed' | translate }}\\r\\n {{ purchasedItem.RedeemDate | UtcToLocaltimePipe : dateOption.ShortDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.rewards.wallet.marketplace.barcode.dekstop.unclaimed' | translate }}\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.rewards.wallet.marketplace.barcode.unclaimed' | translate }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
{{ purchasedItem.Code }}
\\r\\n
\\r\\n {{ purchasedItem.Code2 }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.rewards.wallet.uniquecode.instruction' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n {{ 'download.rewards.item' | translate }}\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{\\r\\n 'fgbcl.rewards.wallet.points' | translate\\r\\n }}\\r\\n {{ purchasedItem.PointValue }}\\r\\n
\\r\\n \\r\\n
0\\\">\\r\\n {{ 'marketplace.ecash.used' | translate }}\\r\\n\\r\\n {{ purchasedItem.EcashValue / 100 | FortressCurrencyPipe }}\\r\\n
\\r\\n \\r\\n
0\\\">\\r\\n {{ 'marketplace.merchant.used' | translate }}\\r\\n\\r\\n {{ purchasedItem.MerchantValue / 100 | FortressCurrencyPipe }}\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{ customField.DisplayName }}\\r\\n {{ customField.DisplayValue }}\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ attribute.DisplayName }}\\r\\n {{ attribute.DisplayValue }}\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n {{ purchasedItem.PurchaseDate | UtcToLocaltimePipe : dateOption.LongDateFormat }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'wallet.no.items.found' | translate }}\\r\\n
\\r\\n
\\r\\n\", styles: [\".loyalty-details-image{width:80px!important;height:80px!important;flex:none}.wallet-back-button{flex:1;align-self:baseline}.purchase-subheading{width:130px}\\n\"] }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [DATE_OPTIONS]\n }] }, { type: i2$1.ActivatedRoute }, { type: i1.MemberQuery }, { type: i1.RewardsWalletQuery }, { type: i1.RewardsWalletService }, { type: i3.Location }, { type: i1.MarketplaceService }], propDecorators: { id: [{\n type: Input\n }] } });\n\nclass RewardsWalletRedeemedListItemComponent {\n constructor() {\n this.ignoreLink = false;\n this.itemType = WalletItemType;\n }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RewardsWalletRedeemedListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: RewardsWalletRedeemedListItemComponent, selector: \"fgbcl-rewards-wallet-redeemed-list-item\", inputs: { item: \"item\", auctionItem: \"auctionItem\", ignoreLink: \"ignoreLink\" }, ngImport: i0, template: \"\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i3.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"component\", type: AuctionWonListItemComponent, selector: \"fgbcl-auction-won-list-item\", inputs: [\"auctionItem\"] }, { kind: \"component\", type: LottosWonListItemComponent, selector: \"fgbcl-lottos-won-list-item\", inputs: [\"lottoItem\", \"showPoints\"] }, { kind: \"component\", type: MarketplacePurchasedListItemComponent, selector: \"fgbcl-marketplace-purchased-list-item\", inputs: [\"purchaseItem\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RewardsWalletRedeemedListItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-rewards-wallet-redeemed-list-item', template: \"\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { item: [{\n type: Input\n }], auctionItem: [{\n type: Input\n }], ignoreLink: [{\n type: Input\n }] } });\n\nclass RewardsWalletRedeemedListComponent {\n constructor() {\n this.onlyRedeemed = false;\n this.pageSize = 8;\n this.pageNumber = 1;\n this.marketplaceWalletUrl = `/rewards/wallet/details/`;\n this.auctionWalletUrl = `/rewards/bids/details/`;\n this.lottoWalletUrl = `/rewards/wallet/raffledetails/`;\n this.pageLength = 0;\n }\n ngOnInit() {\n }\n getItemDetailUrl(item) {\n if (item.ItemType == WalletItemType.Auction) {\n return `${this.auctionWalletUrl}${item.UniqueId}`;\n }\n else if (item.ItemType == WalletItemType.Marketplace) {\n return `${this.marketplaceWalletUrl}${item.UniqueId}`;\n }\n else if (item.ItemType == WalletItemType.Lotto) {\n return `${this.lottoWalletUrl}${item.UniqueId}`;\n }\n return '';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RewardsWalletRedeemedListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: RewardsWalletRedeemedListComponent, selector: \"fgbcl-rewards-wallet-redeemed-list\", inputs: { onlyRedeemed: \"onlyRedeemed\", take: \"take\", pageSize: \"pageSize\", pageNumber: \"pageNumber\", redeemedItems: \"redeemedItems\", marketplaceWalletUrl: \"marketplaceWalletUrl\", auctionWalletUrl: \"auctionWalletUrl\", lottoWalletUrl: \"lottoWalletUrl\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
1\\\">\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\".back-button{flex:1}.loyalty-item-container-redeemed{margin-bottom:-1px}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i2$2.NgbPagination, selector: \"ngb-pagination\", inputs: [\"disabled\", \"boundaryLinks\", \"directionLinks\", \"ellipses\", \"rotate\", \"collectionSize\", \"maxSize\", \"page\", \"pageSize\", \"size\"], outputs: [\"pageChange\"] }, { kind: \"directive\", type: i2$1.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"directive\", type: i2.DataSourceDirective, selector: \"[fgbDataSource]\", inputs: [\"dataSource\", \"sortOptions\", \"page\", \"pageSize\"], outputs: [\"dataSourceChange\", \"paginationChange\"] }, { kind: \"component\", type: RewardsWalletRedeemedListItemComponent, selector: \"fgbcl-rewards-wallet-redeemed-list-item\", inputs: [\"item\", \"auctionItem\", \"ignoreLink\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RewardsWalletRedeemedListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-rewards-wallet-redeemed-list', template: \"
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
1\\\">\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\".back-button{flex:1}.loyalty-item-container-redeemed{margin-bottom:-1px}\\n\"] }]\n }], ctorParameters: () => [], propDecorators: { onlyRedeemed: [{\n type: Input\n }], take: [{\n type: Input\n }], pageSize: [{\n type: Input\n }], pageNumber: [{\n type: Input\n }], redeemedItems: [{\n type: Input\n }], marketplaceWalletUrl: [{\n type: Input\n }], auctionWalletUrl: [{\n type: Input\n }], lottoWalletUrl: [{\n type: Input\n }] } });\n\nclass WalletModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: WalletModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: WalletModule, declarations: [AuctionWonListItemComponent,\n AuctionWalletDetailsComponent,\n LottosWonListItemComponent,\n LottosWalletDetailsComponent,\n MarketplacePurchasedListItemComponent,\n MarketplaceWalletDetailsComponent,\n RewardsWalletRedeemListComponent,\n RewardsWalletRedeemListItemComponent,\n RewardsWalletRedeemedListComponent,\n RewardsWalletRedeemedListItemComponent], imports: [CommonModule,\n PipesModule,\n ShortLongDescriptionModule,\n NgbModule,\n ErrorsModule,\n RouterModule,\n DirectivesModule,\n QRCodeModule,\n CarouselModule,\n FGBSharedModule,\n DataSourceDirective], exports: [RewardsWalletRedeemListComponent,\n RewardsWalletRedeemedListComponent,\n LottosWalletDetailsComponent,\n AuctionWalletDetailsComponent,\n MarketplaceWalletDetailsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: WalletModule, imports: [CommonModule,\n PipesModule,\n ShortLongDescriptionModule,\n NgbModule,\n ErrorsModule,\n RouterModule,\n DirectivesModule,\n QRCodeModule,\n CarouselModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: WalletModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n AuctionWonListItemComponent,\n AuctionWalletDetailsComponent,\n LottosWonListItemComponent,\n LottosWalletDetailsComponent,\n MarketplacePurchasedListItemComponent,\n MarketplaceWalletDetailsComponent,\n RewardsWalletRedeemListComponent,\n RewardsWalletRedeemListItemComponent,\n RewardsWalletRedeemedListComponent,\n RewardsWalletRedeemedListItemComponent,\n ],\n imports: [\n CommonModule,\n PipesModule,\n ShortLongDescriptionModule,\n NgbModule,\n ErrorsModule,\n RouterModule,\n DirectivesModule,\n QRCodeModule,\n CarouselModule,\n FGBSharedModule,\n DataSourceDirective\n ],\n exports: [\n RewardsWalletRedeemListComponent,\n RewardsWalletRedeemedListComponent,\n LottosWalletDetailsComponent,\n AuctionWalletDetailsComponent,\n MarketplaceWalletDetailsComponent,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AuctionWalletDetailsComponent, AuctionWonListItemComponent, LottosWalletDetailsComponent, LottosWonListItemComponent, MarketplacePurchasedListItemComponent, MarketplaceWalletDetailsComponent, RewardsWalletRedeemListComponent, RewardsWalletRedeemListItemComponent, RewardsWalletRedeemedListComponent, RewardsWalletRedeemedListItemComponent, WalletModule };\n","
\r\n

{{ 'wallet.page.title' | translate }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
{{ 'rewards.wallet.no.items' | translate }}
\r\n
\r\n
\r\n {{ 'rewards.wallet.no.items.description' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { RewardsWalletService, RewardsWalletItem, RewardsWalletQuery } from '@fgb/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-wallet-page',\r\n templateUrl: './wallet-page.component.html',\r\n styleUrls: ['./wallet-page.component.scss'],\r\n})\r\nexport class WalletPageComponent implements OnInit {\r\n walletItemsUnclaimed$: Observable;\r\n screenType = ScreenType;\r\n\r\n constructor(private rewardWalletItemsService: RewardsWalletService, private rewardWalletQuery: RewardsWalletQuery) {}\r\n\r\n async ngOnInit() {\r\n firstValueFrom(this.rewardWalletItemsService.fetchWalletItems());\r\n this.walletItemsUnclaimed$ = this.rewardWalletQuery.selectRewardWalletItemsByStatus(false);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-games-layout',\r\n templateUrl: './games-layout.component.html',\r\n styleUrls: ['./games-layout.component.scss']\r\n})\r\nexport class GamesLayoutComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","\r\n","import { DateTime } from 'luxon';\r\n\r\nexport class Season {\r\n /** start month of the season */\r\n static readonly startMonth = 9; //September\r\n\r\n /** Length of the season in months */\r\n static readonly tenure = 12;\r\n\r\n /** Start year of the season */\r\n static get startYear(): number {\r\n const currentDate = DateTime.now();\r\n const startedLastYear = currentDate.month < this.startMonth;\r\n return startedLastYear ? currentDate.year - 1 : currentDate.year;\r\n }\r\n\r\n /** Luxon date time of the start date */\r\n static readonly startDateTime = DateTime.fromObject({\r\n year: this.startYear,\r\n month: this.startMonth,\r\n });\r\n\r\n /**\r\n * Gets the month using the season start year and handles overflow\r\n *\r\n * E.g. Season start year of 2024 with 13 monthIndex will return Jan 2025\r\n */\r\n static getMonthByIndex(monthIndex: number) {\r\n return DateTime.fromJSDate(new Date(Season.startYear, monthIndex - 1));\r\n }\r\n}\r\n","import { HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ApiService, FantasyLeaderboard } from '@fgb/core';\r\nimport { DateTime, Interval } from 'luxon';\r\nimport { map } from 'rxjs';\r\nimport { Season } from 'src/app/shared/utilities/season';\r\n\r\nexport interface MonthlyLeaderboard {\r\n monthDisplayText: string;\r\n entries: FantasyLeaderboard[];\r\n}\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class FantasyService {\r\n private readonly _dateformat = 'LLL y';\r\n\r\n constructor(private api: ApiService) {}\r\n getMonthlyLeaderboard(amountToDisplay: number, bySeason: boolean = false) {\r\n let params = new HttpParams().set('bySeason', bySeason);\r\n return this.api.get(`fantasy/leaderboard/monthly/${amountToDisplay}?${params.toString()}`).pipe(\r\n map((items) => {\r\n let monthlyLeaderboard: MonthlyLeaderboard[] = [];\r\n\r\n if (!items) {\r\n return monthlyLeaderboard;\r\n }\r\n\r\n for (let i = 0; i < Season.tenure; i++) {\r\n const monthIndex = Season.startMonth + i;\r\n let leaderboard = this.getLeaderboardForMonth(monthIndex, items);\r\n monthlyLeaderboard.push(leaderboard);\r\n }\r\n\r\n return monthlyLeaderboard;\r\n })\r\n );\r\n }\r\n\r\n getYearlyLeaderboard(amountToDisplay: number, bySeason: boolean = false) {\r\n let params = new HttpParams().set('bySeason', bySeason);\r\n return this.api.get(`fantasy/leaderboard/yearly/${amountToDisplay}?${params.toString()}`);\r\n }\r\n\r\n get monthSlideIndex() {\r\n let diffResult = Interval.fromDateTimes(Season.startDateTime, DateTime.now());\r\n return Math.floor(diffResult.length('months'));\r\n }\r\n\r\n private getLeaderboardForMonth(month: number, items: FantasyLeaderboard[]): MonthlyLeaderboard {\r\n const currentDate = DateTime.now();\r\n const date = Season.getMonthByIndex(month);\r\n\r\n const displayText = date.toFormat(this._dateformat);\r\n let filteredItems: FantasyLeaderboard[] = [];\r\n\r\n if (items && date.startOf('month') <= currentDate.startOf('month')) {\r\n filteredItems = items.filter((x: FantasyLeaderboard) => {\r\n return +x.FantasyMonth === date.month;\r\n });\r\n }\r\n\r\n return {\r\n monthDisplayText: displayText,\r\n entries: filteredItems,\r\n };\r\n }\r\n}\r\n","
\r\n
    \r\n \r\n \r\n
    live_help
    \r\n \r\n \r\n
    \r\n \r\n \r\n
    assessment
    \r\n \r\n \r\n
    \r\n\r\n \r\n \r\n
    sports_score
    \r\n \r\n \r\n
    \r\n\r\n \r\n \r\n
    flaky
    \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    supervised_user_circle
    \r\n \r\n \r\n
    \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-game-nav',\r\n templateUrl: './game-nav.component.html',\r\n styleUrls: ['./game-nav.component.scss'],\r\n})\r\nexport class GameNavComponent implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","\r\n {{ formattedTime$ | async }}\r\n\r\n\r\n \r\n {{ completeText }}\r\n \r\n\r\n","import { Component, OnInit, Input, EventEmitter, Output, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Observable, of, timer } from 'rxjs';\r\nimport { map, tap, filter } from 'rxjs/operators';\r\n\r\nimport * as _moment from 'moment';\r\nconst moment = _moment;\r\n\r\n@Component({\r\n selector: 'fgb-countdown',\r\n templateUrl: './countdown.component.html',\r\n styleUrls: ['./countdown.component.scss'],\r\n})\r\nexport class CountdownComponent implements OnInit, OnChanges {\r\n /** The end date time for the countdown in UTC format. */\r\n @Input() endDateTime: string;\r\n\r\n /** The time that the end date was requested - used to return time remaining more accurately than using moment.utc */\r\n @Input() requestDateTime: string = '';\r\n\r\n /** The text to display in the countdown upon expiry. */\r\n @Input() completeText: string = 'Complete';\r\n\r\n /** determines whether component will receive local or utc time. default is utc. */\r\n @Input() isUTC: boolean = true;\r\n\r\n /** Emitted upon countdown expiry. */\r\n @Output() complete = new EventEmitter();\r\n\r\n formattedTime$: Observable;\r\n daysRemaining: number;\r\n completed = false;\r\n\r\n private endDate: _moment.Moment;\r\n private requestDate: _moment.Moment;\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {\r\n this.setTimer(this.endDateTime);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.endDateTime) {\r\n this.setTimer(changes.endDateTime.currentValue);\r\n }\r\n }\r\n\r\n /**\r\n * Sets the countdown timer relative to the supplied endDateTime.\r\n * @param endDateTime The time that the countdown should end as a UTC date.\r\n */\r\n setTimer(endDateTime: string): void {\r\n this.endDate = this.isUTC ? moment.utc(endDateTime) : moment.utc(new Date(endDateTime).toUTCString());\r\n this.setRequestDate();\r\n\r\n if (this.endDate < this.requestDate) {\r\n this.completed = true;\r\n this.complete.emit(this.completed);\r\n this.formattedTime$ = of(this.completeText);\r\n } else {\r\n this.completed = false;\r\n this.formattedTime$ = timer(0, 1000).pipe(\r\n // convert interval into remaining time in seconds\r\n map(() => {\r\n this.setRequestDate();\r\n let utcNow = this.requestDate;\r\n return Math.floor(this.endDate.diff(utcNow, 'seconds'));\r\n }),\r\n // stop emission after complete\r\n filter(() => !this.completed),\r\n // emit on complete\r\n tap((t) => {\r\n if (t <= 0) {\r\n this.completed = true;\r\n this.complete.emit(this.completed);\r\n }\r\n }),\r\n map(this.formatRemainingTime)\r\n );\r\n }\r\n }\r\n\r\n private setRequestDate(): void {\r\n this.requestDate = this.requestDateTime.length > 0 ? moment(this.requestDateTime) : moment.utc();\r\n this.requestDate = this.isUTC ? moment.utc(this.requestDate) : moment.utc();\r\n }\r\n\r\n formatRemainingTime(seconds: number): string {\r\n const days = Math.floor(seconds / 86400);\r\n const hours = Math.floor(seconds / 3600);\r\n const minutes = Math.floor(seconds / 60);\r\n\r\n if (days) {\r\n const remainderHours = Math.floor((seconds % 86400) / 3600);\r\n return `${days}d ${remainderHours}h`;\r\n } else if (hours) {\r\n const remainderMinutes = Math.floor((seconds % 3600) / 60);\r\n return `${hours}h ${remainderMinutes}m`;\r\n } else if (minutes) {\r\n const remainderSeconds = seconds % 60;\r\n return `${minutes}m ${remainderSeconds}s`;\r\n } else {\r\n return `${seconds}s`;\r\n }\r\n }\r\n}\r\n","\r\n \r\n
\r\n {{ selectedPlayer?.PlayerName }}\r\n {{ selectedPlayer?.PlayerName }}\r\n
\r\n \r\n {{ 'pick.player.change.player.button' | translate }}\r\n \r\n
\r\n\r\n \r\n
\r\n {{ 'pick.player.no.player.selected' | translate }}\r\n
\r\n \r\n {{ 'pick.player.select.player.button' | translate }}\r\n \r\n
\r\n\r\n \r\n
\r\n {{ 'pick.player.no.player.selected' | translate }}\r\n
\r\n \r\n {{ 'pick.player.select.player.button' | translate }}\r\n \r\n
\r\n\r\n \r\n
\r\n {{ selectedPlayer?.PlayerName }}\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n {{ selectedPlayer?.PlayerName }}\r\n {{ selectedPlayer?.PlayerName }}\r\n
\r\n \r\n {{ 'pick.player.submit.button' | translate }}\r\n \r\n
\r\n\r\n","import { Component, OnInit, Output, EventEmitter, Input } from '@angular/core';\r\nimport { FantasyGame, FantasyPlayer } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-fantasy-player-select-confirm',\r\n templateUrl: './fantasy-player-select-confirm.component.html',\r\n styleUrls: ['./fantasy-player-select-confirm.component.scss'],\r\n})\r\nexport class FantasyPlayerSelectConfirmComponent implements OnInit {\r\n @Output() button = new EventEmitter();\r\n @Input() game: FantasyGame;\r\n @Input() buttonState: 'player-link' | 'no-player-link' | 'make-selection' | 'confirm' | 'changing-player' = 'no-player-link';\r\n @Input() isGamePending: boolean = false;\r\n @Input() sameLine: boolean = false;\r\n @Input() selectedPlayer: FantasyPlayer;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n\r\n buttonClick() {\r\n this.button.emit('pressed');\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{ 'pick.player.time.left' | translate }}

\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
VS
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{ gameDate }}, {{ gameTime }}
\r\n
\r\n
\r\n
\r\n
\r\n

{{ 'pick.player.time.left' | translate }}

\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
VS
\r\n\r\n
\r\n
{{ gameDate }}, {{ gameTime }}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input, Output, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { FantasyGame, FantasyPlayer } from '@fgb/core';\r\n\r\nimport * as _moment from 'moment';\r\nconst moment = _moment;\r\n\r\n@Component({\r\n selector: 'fgb-fantasy-game-panel',\r\n templateUrl: './fantasy-game-panel.component.html',\r\n styleUrls: ['./fantasy-game-panel.component.scss'],\r\n})\r\nexport class FantasyGamePanelComponent implements OnInit, OnChanges {\r\n constructor() {}\r\n\r\n @Output() button = new EventEmitter();\r\n\r\n @Input() game: FantasyGame;\r\n @Input() buttonState: 'player-link' | 'no-player-link' | 'make-selection' | 'confirm' | 'changing-player' = 'no-player-link';\r\n @Input() isGamePending: boolean = false;\r\n @Input() horizontal: boolean = true;\r\n selectedPlayer: FantasyPlayer | undefined;\r\n gameDate: string;\r\n gameTime: string;\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.game) {\r\n const game = changes.game.currentValue as FantasyGame;\r\n this.selectedPlayer = game.GamePlayers.find((p) => p.IsSelected);\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.gameDate = moment.utc(this.game.GameDate).local().format('DD MMM');\r\n this.gameTime = moment.utc(this.game.GameDate).local().format('H:mm');\r\n }\r\n\r\n buttonClick() {\r\n this.button.emit('pressed');\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ fantasyHistoryItem.PlayerName }}\r\n
\r\n
\r\n
\r\n
VS
\r\n
{{ fantasyHistoryItem.AwayTeamName }} - {{ gameDate }}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n 0,\r\n 'text-info ': fantasyHistoryItem.PlayerGamePoints === 0\r\n }\"\r\n >\r\n 0\">+\r\n {{ fantasyHistoryItem.PlayerGamePoints / 100 | FortressCurrencyPipe : 'PTS' }}\r\n
\r\n \r\n {{ 'fantasy.history.points.pending' | translate }}\r\n \r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { FantasyHistory, FantasyGame, GameStatus } from '@fgb/core';\r\n\r\nimport * as _moment from 'moment';\r\nconst moment = _moment;\r\n\r\n@Component({\r\n selector: 'fgb-fantasy-history-list-item',\r\n templateUrl: './fantasy-history-list-item.component.html',\r\n styleUrls: ['./fantasy-history-list-item.component.scss'],\r\n})\r\nexport class FantasyHistoryListItemComponent implements OnInit {\r\n @Input() game: FantasyGame;\r\n @Input() fantasyHistoryItem: FantasyHistory;\r\n\r\n gameDate: string;\r\n gameTime: string;\r\n isPending: boolean = false;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {\r\n this.gameDate = moment.utc(this.fantasyHistoryItem.GameDate).format('DD MMM');\r\n this.gameTime = moment.utc(this.fantasyHistoryItem.GameDate).format('HH:mm');\r\n\r\n this.isPending = this.fantasyHistoryItem.Status === GameStatus.Ready;\r\n }\r\n}\r\n","\r\n 0; else noPlayerHistory\">\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
{{ 'pick.player.history.placeholder.title' | translate }}
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { FantasyHistory, FantasyHistoryQuery } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport * as _moment from 'moment';\r\nimport { map } from 'rxjs/operators';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nconst moment = _moment;\r\n\r\n@Component({\r\n selector: 'fgb-fantasy-history-list',\r\n templateUrl: './fantasy-history-list.component.html',\r\n styleUrls: ['./fantasy-history-list.component.scss'],\r\n})\r\nexport class FantasyHistoryListComponent implements OnInit {\r\n fantasyHistory$: Observable;\r\n pendingPeriod: number = 0;\r\n\r\n customOptions: OwlOptions = {\r\n loop: false,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: false,\r\n dots: true,\r\n autoplay: true,\r\n autoplayTimeout: 4000,\r\n autoplaySpeed: 700,\r\n navSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: { items: 1 },\r\n 400: { items: 1 },\r\n 740: { items: 4 },\r\n 940: { items: 4 },\r\n },\r\n nav: false,\r\n };\r\n\r\n constructor(private fantasyHistoryQuery: FantasyHistoryQuery) {}\r\n\r\n ngOnInit() {\r\n this.fantasyHistory$ = this.fantasyHistoryQuery\r\n .selectHistoryBeforeDate(moment.utc().subtract(this.pendingPeriod, 'hours'))\r\n .pipe(map((x) => (x = x.slice(0, 5))));\r\n }\r\n}\r\n","
\r\n
\r\n
{{ 'pick.player.leaderboard.rank' | translate }}
\r\n
{{ 'pick.player.leaderboard.name' | translate }}
\r\n
{{ 'pick.player.leaderboard.points' | translate }}
\r\n
\r\n \r\n
\r\n
\r\n {{ entry.Position }}\r\n
\r\n
\r\n
{{ entry.FullName }}
\r\n
\r\n
\r\n {{ entry.Points / 100 }}\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\nimport { FantasyLeaderboard } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-fantasy-leaderboard',\r\n templateUrl: './fantasy-leaderboard.component.html',\r\n styleUrls: ['./fantasy-leaderboard.component.scss'],\r\n})\r\nexport class FantasyLeaderboardComponent implements OnInit {\r\n @Input() fantasyEntries: FantasyLeaderboard[];\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","
\r\n

{{ 'games.page.pick.player.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n

{{ 'fantasy.games.page.message' | translate }}

\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
{{ 'pick.player.history.title' | translate }}
\r\n \r\n
\r\n\r\n
\r\n
{{ 'pick.player.leaderboard.title' | translate }}
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n

{{ item.monthDisplayText }}

\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n

{{ year }}

\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
{{ 'pick.player.placeholder.title' | translate }}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{ 'pick.player.rules.title' | translate }}
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { FantasyGameQuery, FantasyGame, FantasyLeaderboard } from '@fgb/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Router } from '@angular/router';\r\nimport * as _moment from 'moment';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\nimport { FantasyService, MonthlyLeaderboard } from 'src/app/modules/fantasy/components/fantasy-leaderboard.service';\r\nconst moment = _moment;\r\n\r\n@Component({\r\n selector: 'fgb-fantasy-games-page',\r\n templateUrl: './fantasy-games-page.component.html',\r\n styleUrls: ['./fantasy-games-page.component.scss'],\r\n})\r\nexport class FantasyGamesPageComponent implements OnInit, OnDestroy {\r\n currentGames$: Observable;\r\n pendingGames$: Observable;\r\n pendingPeriod: number = 48;\r\n\r\n yearlyLeaderboard$: Observable;\r\n monthlyLeaderboard$: Observable;\r\n\r\n showMonthly: boolean = true;\r\n year: number = new Date().getFullYear();\r\n\r\n customOptions: OwlOptions = {\r\n items: 1,\r\n margin: OwlCarouselSettings.Margin,\r\n mouseDrag: false,\r\n touchDrag: false,\r\n pullDrag: false,\r\n navSpeed: 700,\r\n center: false,\r\n nav: true,\r\n dots: false,\r\n startPosition: this.fantasyService.monthSlideIndex,\r\n navText: ['chevron_left', 'chevron_right'],\r\n stagePadding: 0,\r\n };\r\n customGameOptions: OwlOptions = {\r\n items: 1,\r\n autoHeight: true,\r\n autoWidth: true,\r\n margin: OwlCarouselSettings.Margin,\r\n autoplay: OwlCarouselSettings.Autoplay,\r\n autoplayTimeout: OwlCarouselSettings.AutoplayTimeout,\r\n autoplaySpeed: OwlCarouselSettings.AutoplaySpeed,\r\n navSpeed: 700,\r\n responsive: {\r\n 0: { autoWidth: false },\r\n 740: { autoWidth: true, autoHeight: false },\r\n },\r\n };\r\n\r\n fantasySub: Subscription;\r\n\r\n constructor(private fantasyQuery: FantasyGameQuery, private router: Router, private fantasyService: FantasyService) {}\r\n\r\n ngOnInit() {\r\n this.currentGames$ = this.fantasyQuery.selectCurrentGames();\r\n this.pendingGames$ = this.fantasyQuery.selectFinshedFantasyGamesAfterDate(moment.utc().subtract(this.pendingPeriod, 'hours'));\r\n\r\n this.yearlyLeaderboard$ = this.fantasyService.getYearlyLeaderboard(3, true);\r\n\r\n this.monthlyLeaderboard$ = this.fantasyService.getMonthlyLeaderboard(3, true);\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.fantasySub) {\r\n this.fantasySub.unsubscribe();\r\n }\r\n }\r\n\r\n goToDetail(gameId: number) {\r\n this.router.navigate([`games/pickaplayer/${gameId}`]);\r\n }\r\n\r\n hasActivePlayer(game: FantasyGame) {\r\n return game.GamePlayers.some((g) => g.IsSelected);\r\n }\r\n}\r\n","
\r\n

{{ 'games.page.pick.player.title' | translate }}

\r\n
\r\n
\r\n
\r\n \r\n chevron_left\r\n
\r\n
\r\n
\r\n {{ 'pick.player.back.button' | translate }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
{{ player.PlayerName }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
{{ player.PlayerName }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { FantasyPlayer, FantasyGame, FantasyGameQuery, FantasyGameService } from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { Router } from '@angular/router';\r\nimport { map, filter, tap } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-fantasy-player-select',\r\n templateUrl: './fantasy-player-select.component.html',\r\n styleUrls: ['./fantasy-player-select.component.scss'],\r\n})\r\nexport class FantasyPlayerSelectComponent implements OnInit {\r\n constructor(private fantasyQuery: FantasyGameQuery, private fantasyService: FantasyGameService, private router: Router) {}\r\n\r\n @Input() gameId: number;\r\n @Input() backButtonLink: string = '/games/pickaplayer';\r\n\r\n selectedPlayer$: Observable;\r\n\r\n game$: Observable;\r\n players$: Observable;\r\n button: 'make-selection' | 'confirm' | 'changing-player' = 'make-selection';\r\n firstSelection: boolean = false;\r\n changedSelection: boolean = false;\r\n\r\n ngOnInit() {\r\n this.game$ = this.fantasyQuery.selectGameById(this.gameId).pipe(\r\n tap((g) => {\r\n if (!g) {\r\n this.router.navigate(['/games/pickaplayer']);\r\n return;\r\n }\r\n if (g.SelectedPlayerId === 0) {\r\n this.firstSelection = true;\r\n } else if (this.changedSelection || (this.firstSelection && g.SelectedPlayerId > 0)) {\r\n this.button = 'confirm';\r\n } else {\r\n this.button = 'changing-player';\r\n }\r\n })\r\n );\r\n this.players$ = this.fantasyQuery.selectPlayersByGameId(this.gameId);\r\n this.selectedPlayer$ = this.game$.pipe(\r\n map((game) => {\r\n if (game) {\r\n return game.GamePlayers.find((p) => p.IsSelected) as FantasyPlayer;\r\n }\r\n return;\r\n }),\r\n filter((player) => !!player)\r\n );\r\n }\r\n\r\n select(playerId: number) {\r\n this.button = 'confirm';\r\n this.changedSelection = true;\r\n this.fantasyService.markSelected(this.gameId, playerId);\r\n }\r\n confirmSelection() {\r\n firstValueFrom(this.fantasyService.confirmSelection(this.gameId));\r\n this.router.navigate(['/games/pickaplayer']);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-fantasy-player-select-page',\r\n templateUrl: './fantasy-player-select-page.component.html',\r\n styleUrls: ['./fantasy-player-select-page.component.scss']\r\n})\r\nexport class FantasyPlayerSelectPageComponent implements OnInit {\r\n constructor(private route: ActivatedRoute) {}\r\n id: number;\r\n ngOnInit() {\r\n this.id = +(this.route.snapshot.paramMap.get('id') || 0);\r\n }\r\n}\r\n","\r\n","
\r\n

{{ 'games.page.predictor.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{ 'score.predictor.placeholder.description' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { SurveyQuery } from '@fgb/core';\r\nimport { Survey } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { SurveyType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-predictor-page',\r\n templateUrl: './predictor-page.component.html',\r\n styleUrls: ['./predictor-page.component.scss'],\r\n})\r\nexport class PredictorPageComponent implements OnInit {\r\n predictors$: Observable;\r\n\r\n constructor(private surveyQuery: SurveyQuery) {}\r\n\r\n ngOnInit() {\r\n this.predictors$ = this.surveyQuery.selectRelevantSurveys(SurveyType.Predictor);\r\n }\r\n}\r\n","
\r\n

{{ 'games.page.polls.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{ 'score.polls.placeholder.description' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { SurveyType } from '@fgb/core';\r\nimport { SurveyQuery } from '@fgb/core';\r\nimport { Survey } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-polls-page',\r\n templateUrl: './polls-page.component.html',\r\n styleUrls: ['./polls-page.component.scss'],\r\n})\r\nexport class PollsPageComponent implements OnInit {\r\n polls$: Observable;\r\n\r\n constructor(private surveyQuery: SurveyQuery) {}\r\n\r\n ngOnInit() {\r\n this.polls$ = this.surveyQuery.selectRelevantSurveys(SurveyType.Poll);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-auction-bid-details-page',\r\n templateUrl: './auction-bid-details-page.component.html',\r\n styleUrls: ['./auction-bid-details-page.component.scss']\r\n})\r\nexport class AuctionBidDetailsPageComponent implements OnInit {\r\n constructor(private route: ActivatedRoute) {}\r\n id: number;\r\n ngOnInit() {\r\n this.id = +(this.route.snapshot.paramMap.get('id') || 0);\r\n }\r\n}\r\n","\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-lotto-wallet-details-page',\r\n templateUrl: './lotto-wallet-details-page.component.html',\r\n styleUrls: ['./lotto-wallet-details-page.component.scss']\r\n})\r\nexport class LottoWalletDetailsPageComponent implements OnInit {\r\n id: number;\r\n\r\n constructor(private route: ActivatedRoute) { }\r\n\r\n ngOnInit() {\r\n this.id = +(this.route.snapshot.paramMap.get('id') || 0);\r\n }\r\n\r\n}\r\n","\r\n","
\r\n

{{ 'games.page.trivia.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{ 'score.quiz.placeholder.description' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { SurveyQuery } from '@fgb/core';\r\nimport { Survey } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { SurveyType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-quiz-page',\r\n templateUrl: './quiz-page.component.html',\r\n styleUrls: ['./quiz-page.component.scss'],\r\n})\r\nexport class QuizPageComponent implements OnInit {\r\n quizzes$: Observable;\r\n\r\n constructor(private surveyQuery: SurveyQuery) {}\r\n\r\n ngOnInit() {\r\n this.quizzes$ = this.surveyQuery.selectRelevantSurveys(SurveyType.Trivia);\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { AfterViewInit, Component, ElementRef, Input, OnDestroy, OnInit, Optional, Self, ViewChild } from '@angular/core';\r\nimport { AbstractControl, ControlValueAccessor, NgControl } from '@angular/forms';\r\nimport { fromEvent, merge, Subject } from 'rxjs';\r\nimport { filter, map, takeUntil } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-number-increment-input',\r\n templateUrl: './number-increment-input.component.html',\r\n styleUrls: ['./number-increment-input.component.scss']\r\n})\r\nexport class NumberIncrementInputComponent implements AfterViewInit, OnInit, OnDestroy, ControlValueAccessor {\r\n\r\n @Input() maxLimit: number = 999;\r\n @Input() accessibilityLabel: string = '';\r\n @Input() wscPrefix: string = '';\r\n innerValue: number = 0;\r\n onChangeCallback = (_: any) => {};\r\n onTouchedCallback = () => {};\r\n control: AbstractControl | any;\r\n private numberChange$: Subject = new Subject();\r\n private _unsubscribeAll = new Subject();\r\n @ViewChild('input') inputText: ElementRef;\r\n \r\n constructor(@Optional() @Self() private ngControl: NgControl) { \r\n if( this.ngControl ) this.ngControl.valueAccessor = this;\r\n }\r\n\r\n ngOnInit(): void {\r\n if( this.ngControl ){\r\n this.control = this.ngControl.control;\r\n this.control.updateValueAndValidity();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unsubscribeAll.next();\r\n this._unsubscribeAll.complete();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n \r\n merge( \r\n this.numberChange$,\r\n // Additional feature to allow increase/decrease value using arrow up or arrow down keys in the keyboard\r\n fromEvent(this.inputText.nativeElement, 'keydown')\r\n .pipe(\r\n filter((key: any) => key.code === 'ArrowUp' || key.code === 'ArrowDown'),\r\n map(key => key.code === 'ArrowUp' ? this.innerValue + 1: this.innerValue - 1)),\r\n fromEvent(this.inputText.nativeElement, 'input').pipe(map((event: any) => +(event.target.value))))\r\n .pipe(\r\n map(value => {\r\n if( value <= 0 || isNaN(value) ){\r\n return 0;\r\n }\r\n if( value >= this.maxLimit ){\r\n return this.maxLimit;\r\n }\r\n return value;\r\n }),\r\n takeUntil(this._unsubscribeAll)\r\n ).subscribe(val => {\r\n this.writeValue(val);\r\n });\r\n }\r\n\r\n increment(): void{\r\n this.numberChange$.next(++this.innerValue);\r\n }\r\n\r\n decrement(): void{\r\n this.numberChange$.next(--this.innerValue);\r\n }\r\n\r\n writeValue(value: number): void {\r\n this.innerValue = value;\r\n this.onChangeCallback(this.innerValue);\r\n }\r\n\r\n registerOnChange(fn: any): void {\r\n this.onChangeCallback = fn;\r\n }\r\n\r\n registerOnTouched(fn: any): void {\r\n this.onTouchedCallback = fn;\r\n }\r\n}\r\n","
\r\n \r\n \r\n schedule \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n schedule \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n\r\n\r\n\r\n\r\n \r\n {{\r\n survey.SeparateEntryWindow\r\n ? (survey.EntryEndDate | UtcToLocaltimePipe : 'DD MMM, HH:mm')\r\n : (survey.EndDate | UtcToLocaltimePipe : 'DD MMM, HH:mm')\r\n }}\r\n \r\n\r\n\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, EventEmitter, HostBinding, Input, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';\r\nimport { Survey, ScorePredictorStatus } from '@fgb/core';\r\nimport { Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n@Component({\r\n selector: 'fgb-score-predictor-body',\r\n templateUrl: './score-predictor-body.component.html',\r\n styleUrls: ['./score-predictor-body.component.scss'],\r\n})\r\nexport class ScorePredictorBodyComponent implements OnInit, OnDestroy {\r\n @HostBinding('class.coming-soon') get isComingSoon(){\r\n return this.status === ScorePredictorStatus.ComingSoon;\r\n }\r\n @Input() survey: Survey;\r\n @Input() status: ScorePredictorStatus;\r\n @Output() countDownComplete = new EventEmitter();\r\n\r\n @Input() homeTeam: number;\r\n @Input() homeTeamValue: number;\r\n @Output() homeTeamValueChange = new EventEmitter();\r\n\r\n @Input() awayTeam: number;\r\n @Input() awayTeamValue: number;\r\n @Output() awayTeamValueChange = new EventEmitter();\r\n\r\n @Input() hasSelectedCorrect: boolean;\r\n @Input() canEditAnswer: boolean;\r\n scorePredictorStatus = ScorePredictorStatus;\r\n scoreForm: UntypedFormGroup;\r\n private _unsubscribeAll = new Subject();\r\n\r\n constructor(private fb: UntypedFormBuilder) {}\r\n\r\n ngOnInit(): void {\r\n this.scoreForm = this.fb.group({\r\n home: [this.homeTeamValue],\r\n away: [this.awayTeamValue]\r\n });\r\n\r\n this.scoreForm.valueChanges.pipe(takeUntil(this._unsubscribeAll)).subscribe(({ home, away }) => {\r\n if (this.homeTeamValue != home) {\r\n this.homeTeamValueChange.emit((this.homeTeamValue = home));\r\n }\r\n if (this.awayTeamValue != away) {\r\n this.awayTeamValueChange.emit((this.awayTeamValue = away));\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unsubscribeAll.next();\r\n this._unsubscribeAll.complete();\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
{{ 'score.predictor.completed.good.luck.text' | translate }}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output } from '@angular/core';\r\nimport { PredictorAnswerType, Survey } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-score-predictor-completed-pending',\r\n templateUrl: './score-predictor-completed-pending.component.html',\r\n styleUrls: ['./score-predictor-completed-pending.component.scss'],\r\n})\r\nexport class ScorePredictorCompletedPendingComponent implements OnInit, OnChanges {\r\n @Input() survey: Survey;\r\n @Input() canEdit: boolean = false;\r\n @Output() editAnswer = new EventEmitter();\r\n\r\n homeAnswer: string | undefined;\r\n awayAnswer: string | undefined;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n\r\n ngOnChanges() {\r\n const home = this.survey.SurveyAnswers.find((x) => x.AnswerType === PredictorAnswerType.Home);\r\n if (home) {\r\n this.homeAnswer = home.AnswerValue;\r\n }\r\n\r\n const away = this.survey.SurveyAnswers.find((x) => x.AnswerType === PredictorAnswerType.Away);\r\n if (away) {\r\n this.awayAnswer = away.AnswerValue;\r\n }\r\n }\r\n}\r\n","
{{ homeScore }} - {{ awayScore }}
\r\n
\r\n\r\n
\r\n
{{ 'score.predictor.completed.prediction.correct' | translate }}
\r\n
\r\n {{ 'score.predictor.completed.prediction.correct.you.won.text' | translate }} {{ survey.PointValue }} Points!
{{\r\n 'score.predictor.completed.prediction.correct.process.time' | translate\r\n }}\r\n
\r\n
\r\n\r\n
\r\n
{{ 'score.predictor.completed.prediction.incorrect' | translate }}
\r\n
\r\n\r\n","import { Component, Input, OnChanges, OnInit } from '@angular/core';\r\nimport { PredictorAnswerType, Survey } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-score-predictor-completed-processed',\r\n templateUrl: './score-predictor-completed-processed.component.html',\r\n styleUrls: ['./score-predictor-completed-processed.component.scss'],\r\n})\r\nexport class ScorePredictorCompletedProcessedComponent implements OnInit, OnChanges {\r\n @Input() survey: Survey;\r\n @Input() hasSelectedCorrect: boolean;\r\n @Input() pointsWon: number;\r\n\r\n homeAnswer: string | undefined;\r\n awayAnswer: string | undefined;\r\n\r\n homeScore: string | undefined;\r\n awayScore: string | undefined;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n\r\n ngOnChanges() {\r\n const home = this.survey.SurveyAnswers.find((x) => x.AnswerType === PredictorAnswerType.Home);\r\n if (home) {\r\n this.homeAnswer = home.AnswerValue;\r\n this.homeScore = home.Value;\r\n }\r\n\r\n const away = this.survey.SurveyAnswers.find((x) => x.AnswerType === PredictorAnswerType.Away);\r\n if (away) {\r\n this.awayAnswer = away.AnswerValue;\r\n this.awayScore = away.Value;\r\n }\r\n }\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { AnswerDisplayType, Survey } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-score-predictor-completed',\r\n templateUrl: './score-predictor-completed.component.html',\r\n styleUrls: ['./score-predictor-completed.component.scss'],\r\n})\r\nexport class ScorePredictorCompletedComponent implements OnInit {\r\n @Input() survey: Survey;\r\n @Input() hasSelectedCorrect: boolean = false;\r\n @Input() pointsWon: number;\r\n @Input() canEdit: boolean;\r\n @Output() editAnswer = new EventEmitter();\r\n answerDisplayType = AnswerDisplayType;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { ScorePredictorStatus, Survey } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-score-predictor-footer',\r\n templateUrl: './score-predictor-footer.component.html',\r\n styleUrls: ['./score-predictor-footer.component.scss'],\r\n})\r\nexport class ScorePredictorFooterComponent implements OnInit {\r\n @Input() survey: Survey;\r\n @Input() status: ScorePredictorStatus;\r\n @Input() canEdit: boolean;\r\n @Input() hasSelectedCorrect: boolean = false;\r\n @Input() pointsWon: number;\r\n @Output() editAnswer = new EventEmitter();\r\n @Output() submitAnswer = new EventEmitter();\r\n scorePredictorStatus = ScorePredictorStatus;\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
{{ 'score.predictor.header.title' | translate }}
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

{{ 'score.predictor.header.text' | translate }}

\r\n
\r\n
\r\n","import { Component, Input, OnInit, Output, EventEmitter } from '@angular/core';\r\nimport { ProcessStatus, ScorePredictorStatus, Survey, SurveyQuery, SurveyType } from '@fgb/core';\r\nimport { map, take, tap } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-score-predictor-header',\r\n templateUrl: './score-predictor-header.component.html',\r\n styleUrls: ['./score-predictor-header.component.scss'],\r\n})\r\nexport class ScorePredictorHeaderComponent implements OnInit {\r\n @Input() scorePredictor: Survey;\r\n @Input() canEditAnswer: Boolean;\r\n @Input() status: ScorePredictorStatus;\r\n @Output() statusChange = new EventEmitter();\r\n @Output() removeScorePredictor = new EventEmitter();\r\n scorePredictorStatus = ScorePredictorStatus;\r\n processStatus = ProcessStatus;\r\n\r\n constructor(private surveyQuery: SurveyQuery) {}\r\n\r\n ngOnInit(): void {}\r\n\r\n scoreClosed() {\r\n this.surveyQuery\r\n .selectSurveys(SurveyType.ScorePredictor)\r\n .pipe(\r\n take(1),\r\n map((surveys) => surveys.filter((item) => item.SurveyId === this.scorePredictor.SurveyId)[0]),\r\n tap((item) => {\r\n item.HasBeenAnsweredByUser ? this.statusChange.emit(ScorePredictorStatus.Answered) : this.removeScorePredictor.emit();\r\n })\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","import { Component, OnInit, Input, OnChanges, ChangeDetectorRef, Output, EventEmitter } from '@angular/core';\r\nimport {\r\n Survey,\r\n SurveyService,\r\n ScorePredictorAnswer,\r\n PredictorAnswerType,\r\n ScorePredictorStatus,\r\n SurveyAnswer,\r\n SurveyQuery,\r\n SurveyType,\r\n} from '@fgb/core';\r\nimport * as _moment from 'moment';\r\nimport { map, take, tap } from 'rxjs/operators';\r\nconst moment = _moment;\r\n@Component({\r\n selector: 'fgb-score-predictor-item',\r\n templateUrl: './score-predictor-item.component.html',\r\n styleUrls: ['./score-predictor-item.component.scss'],\r\n})\r\nexport class ScorePredictorItemComponent implements OnInit, OnChanges {\r\n @Input() survey: Survey;\r\n @Output() removeScorePredictor = new EventEmitter();\r\n\r\n homeTeam: number;\r\n awayTeam: number;\r\n status: ScorePredictorStatus = ScorePredictorStatus.ComingSoon;\r\n scorePredictorStatus = ScorePredictorStatus;\r\n\r\n homeTeamValue: number = 0;\r\n awayTeamValue: number = 0;\r\n selectedAnswers: SurveyAnswer[] = [];\r\n\r\n hasSelectedCorrect: boolean = false;\r\n pointsWon: number;\r\n\r\n constructor(private surveyService: SurveyService, private cdRef: ChangeDetectorRef, private surveyQuery: SurveyQuery) {}\r\n\r\n ngOnInit() {}\r\n\r\n ngOnChanges() {\r\n this.status = this.surveyService.scorePredictorStatus(this.survey);\r\n this.defineTeamValues();\r\n this.defineAnswers();\r\n }\r\n\r\n async submit() {\r\n let surveyId: number = this.survey.SurveyId;\r\n let answers: ScorePredictorAnswer[] = [];\r\n\r\n answers.push({\r\n surveyId,\r\n answerType: PredictorAnswerType.Home,\r\n answerValue: this.homeTeamValue.toString(),\r\n });\r\n\r\n answers.push({\r\n surveyId,\r\n answerType: PredictorAnswerType.Away,\r\n answerValue: this.awayTeamValue.toString(),\r\n });\r\n\r\n await this.surveyService.postScorePredictorAnswers(this.survey.SurveyId, answers);\r\n\r\n this.status = this.scorePredictorStatus.Answered;\r\n }\r\n\r\n calculateEntryEnd() {\r\n if (this.survey.HasBeenAnsweredByUser) {\r\n this.status = ScorePredictorStatus.Answered;\r\n } else {\r\n this.removeSurvey(this.survey.SurveyId);\r\n }\r\n }\r\n\r\n private removeSurvey(surveyId: number) {\r\n this.surveyService.removeSurvey(surveyId);\r\n this.cdRef.detectChanges();\r\n }\r\n\r\n editAnswer() {\r\n this.status = this.scorePredictorStatus.EntryOpen;\r\n }\r\n\r\n private defineAnswers(): void {\r\n if (this.status === ScorePredictorStatus.Answered && this.survey.ProcessStatus === 2) {\r\n this.selectedAnswers = this.survey.SurveyAnswers.filter((sa) => sa.UserSelected);\r\n this.hasSelectedCorrect = this.selectedAnswers.filter((a) => a.AnswerValue === a.Value).length === 2;\r\n if (this.hasSelectedCorrect) {\r\n this.pointsWon = this.selectedAnswers[0].PointValue;\r\n }\r\n }\r\n }\r\n\r\n private defineTeamValues(): void {\r\n this.homeTeam = this.survey.SurveyAnswers.findIndex((x) => x.AnswerType === PredictorAnswerType.Home);\r\n this.awayTeam = this.survey.SurveyAnswers.findIndex((x) => x.AnswerType === PredictorAnswerType.Away);\r\n\r\n if (this.survey.SurveyAnswers[this.homeTeam] && this.survey.SurveyAnswers[this.homeTeam].UserSelected) {\r\n this.homeTeamValue = +this.survey.SurveyAnswers[this.homeTeam].AnswerValue;\r\n }\r\n\r\n if (this.survey.SurveyAnswers[this.awayTeam] && this.survey.SurveyAnswers[this.awayTeam].UserSelected) {\r\n this.awayTeamValue = +this.survey.SurveyAnswers[this.awayTeam].AnswerValue;\r\n }\r\n }\r\n\r\n canEdit(): boolean {\r\n const endDate = this.survey.SeparateEntryWindow\r\n ? moment.utc(this.survey.EntryEndDate).local()\r\n : moment.utc(this.survey.EndDate).local();\r\n return this.survey.ProcessStatus == 0 && Math.floor(endDate.diff(moment(), 'seconds')) > 0;\r\n }\r\n\r\n updateStatusChange(newStatus: ScorePredictorStatus) {\r\n const wasUpdatedDuringEdit =\r\n this.status == this.scorePredictorStatus.EntryOpen && newStatus == this.scorePredictorStatus.Answered;\r\n\r\n if (wasUpdatedDuringEdit) {\r\n this.updateScoresFromStore();\r\n }\r\n this.status = newStatus;\r\n }\r\n\r\n updateScoresFromStore() {\r\n this.surveyQuery\r\n .selectSurveys(SurveyType.ScorePredictor)\r\n .pipe(\r\n take(1),\r\n map((surveys) => surveys.filter((item) => item.SurveyId === this.survey.SurveyId)[0]),\r\n tap((item) => {\r\n this.survey = item;\r\n this.defineTeamValues();\r\n })\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n
\r\n\r\n","\r\n

PREDICT THE SCORE

\r\n
Enter your prediction for this match to be in chance to Win Points
\r\n
\r\n \r\n \r\n {{ scorePredictor.SurveyQuestion }}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, ElementRef, Input, OnInit, ViewChild } from '@angular/core';\r\nimport { ProcessStatus, ScorePredictorStatus, Survey, SurveyQuery, SurveyService } from '@fgb/core';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { map, take, tap } from 'rxjs/operators';\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\n\r\nimport * as _moment from 'moment';\r\nimport { firstValueFrom } from 'rxjs';\r\nconst moment = _moment;\r\n\r\n@Component({\r\n selector: 'fgb-score-predictor-list',\r\n templateUrl: './score-predictor-list.component.html',\r\n styleUrls: ['./score-predictor-list.component.scss'],\r\n})\r\nexport class ScorePredictorListComponent implements OnInit {\r\n scorePredictors: Survey[] = [];\r\n @Input() displayTitle: boolean = false;\r\n @ViewChild('scorePredictorCarousel') scorePredictorCarousel: ElementRef;\r\n\r\n constructor(private surveyQuery: SurveyQuery, private surveyService: SurveyService) {}\r\n\r\n scorePredictorOptions: OwlOptions = {\r\n autoWidth: true,\r\n pullDrag: false,\r\n dots: true,\r\n loop: false,\r\n margin: OwlCarouselSettings.Margin,\r\n autoplay: false,\r\n responsive: {\r\n 0: { items: 1.1, autoWidth: true },\r\n 600: { items: 1.3 },\r\n 740: { items: 2 },\r\n },\r\n };\r\n\r\n ngOnInit(): void {\r\n this.fetchScorePredictors();\r\n }\r\n\r\n async fetchScorePredictors(): Promise {\r\n await firstValueFrom(this.surveyService.fetchAllSurveys(true, true, false, true));\r\n\r\n this.surveyQuery\r\n .selectScorePredictors()\r\n .pipe(\r\n take(1),\r\n map((survey) => this.reorderPredictors(survey)),\r\n tap((survey) => this.scorePredictors.push(...survey))\r\n )\r\n .subscribe();\r\n }\r\n\r\n removeFromCarousselNoRefresh(itemId: number) {\r\n const index = this.scorePredictors.findIndex((item) => item.SurveyId === itemId);\r\n this.scorePredictors.splice(index, 1);\r\n }\r\n\r\n reorderPredictors(surveys: Survey[]): Survey[] {\r\n const unAnsweredSurveys = surveys\r\n .filter((item) => this.isUnansweredSurvey(item))\r\n .sort((a, b) => this.sortSurveysByEndDate(a, b));\r\n\r\n const answeredSurveys = surveys.filter((item) => item.HasBeenAnsweredByUser && item.ProcessStatus === ProcessStatus.Ready);\r\n\r\n const editableSurveys = answeredSurveys\r\n .filter((item) => this.isEditableSurvey(item))\r\n .sort((a, b) => this.sortSurveysByEndDate(a, b));\r\n\r\n const nonEditableSurveys = answeredSurveys\r\n .filter((item) => this.isNonEditableSurvey(item))\r\n .sort((a, b) => this.sortSurveysByEndDate(a, b));\r\n\r\n const comingSoonSurveys = surveys\r\n .filter((item) => this.isComingSoonSurvey(item))\r\n .sort((a, b) => this.sortSurveysByEndDate(a, b));\r\n\r\n const processedAnsweredSurveys = surveys.filter(\r\n (item) => item.ProcessStatus === ProcessStatus.Processed && item.HasBeenAnsweredByUser\r\n );\r\n\r\n const orderedPredictors: Survey[] = [\r\n ...unAnsweredSurveys,\r\n ...editableSurveys,\r\n ...nonEditableSurveys,\r\n ...comingSoonSurveys,\r\n ...processedAnsweredSurveys,\r\n ];\r\n\r\n return orderedPredictors;\r\n }\r\n\r\n private isUnansweredSurvey(survey: Survey): boolean {\r\n const isOpenStatus = this.surveyService.scorePredictorStatus(survey) === ScorePredictorStatus.EntryOpen;\r\n const isNotProcessed = survey.ProcessStatus !== ProcessStatus.Processed;\r\n return !survey.HasBeenAnsweredByUser && isNotProcessed && isOpenStatus;\r\n }\r\n\r\n private isEditableSurvey(survey: Survey): boolean {\r\n const endDate = survey.SeparateEntryWindow ? moment.utc(survey.EntryEndDate).local() : moment.utc(survey.EndDate).local();\r\n return Math.floor(endDate.diff(moment(), 'seconds')) > 0;\r\n }\r\n\r\n private isNonEditableSurvey(survey: Survey): boolean {\r\n const endDate = survey.SeparateEntryWindow ? moment.utc(survey.EntryEndDate).local() : moment.utc(survey.EndDate).local();\r\n return Math.floor(endDate.diff(moment(), 'seconds')) <= 0;\r\n }\r\n\r\n private isComingSoonSurvey(survey: Survey): boolean {\r\n const status = this.surveyService.scorePredictorStatus(survey);\r\n return !survey.HasBeenAnsweredByUser && status === ScorePredictorStatus.ComingSoon;\r\n }\r\n\r\n private sortSurveysByEndDate(a: Survey, b: Survey): any {\r\n const endDateA = a.SeparateEntryWindow ? a.EntryEndDate : a.EndDate;\r\n const endDateB = b.SeparateEntryWindow ? b.EntryEndDate : b.EndDate;\r\n\r\n const dateDiffA = Math.floor(moment(endDateA).diff(moment.utc(), 'seconds'));\r\n const dateDiffB = Math.floor(moment(endDateB).diff(moment.utc(), 'seconds'));\r\n return dateDiffA - dateDiffB;\r\n }\r\n}\r\n","
\r\n

{{ 'games.page.score.predictor.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{ 'score.score.predictor.placeholder.description' | translate }}
\r\n
\r\n
\r\n
\r\n
0\">\r\n
\r\n
{{ 'score.predictor.page.earn.points.message' | translate }}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Survey, SurveyQuery } from '@fgb/core';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { Observable } from 'rxjs';\r\n\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\n\r\n@Component({\r\n selector: 'fgb-score-predictor-page',\r\n templateUrl: './score-predictor-page.component.html',\r\n styleUrls: ['./score-predictor-page.component.scss'],\r\n})\r\nexport class ScorePredictorPageComponent implements OnInit {\r\n scorePredictors$: Observable;\r\n\r\n constructor(private surveyQuery: SurveyQuery) {}\r\n\r\n customOptions: OwlOptions = {\r\n items: 1,\r\n autoHeight: true,\r\n autoWidth: true,\r\n margin: OwlCarouselSettings.Margin,\r\n autoplay: false,\r\n navSpeed: 2000,\r\n responsive: {\r\n 0: { autoWidth: true },\r\n 740: { autoWidth: false, autoHeight: false },\r\n },\r\n };\r\n\r\n customOptions2: OwlOptions = {\r\n items: 1,\r\n autoHeight: true,\r\n autoWidth: true,\r\n margin: OwlCarouselSettings.Margin,\r\n autoplay: false,\r\n navSpeed: 2000,\r\n responsive: {\r\n 0: { autoWidth: false },\r\n 740: { autoWidth: true, autoHeight: false },\r\n },\r\n };\r\n\r\n ngOnInit() {\r\n this.scorePredictors$ = this.surveyQuery.selectScorePredictors();\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MarketplaceService } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-products-page',\r\n templateUrl: './products-page.component.html',\r\n styleUrls: ['./products-page.component.scss'],\r\n})\r\nexport class ProductsPageComponent implements OnInit {\r\n constructor(private marketplaceService: MarketplaceService) {}\r\n\r\n ngOnInit(): void {\r\n this.marketplaceService.fetchMarketplaceItems().toPromise();\r\n }\r\n}\r\n","
\r\n

{{ 'rewards.nav.products' | translate }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2 from '@fgb/core';\nimport { BadgeStatus } from '@fgb/core';\nimport { finalize, take } from 'rxjs/operators';\nimport { ScorecardDescriptionModalComponent } from '@fgb/portal-component-library/src/lib/loyalty/scorecards';\nimport * as i1 from '@ng-bootstrap/ng-bootstrap';\nimport * as i4 from '@fgb/portal-component-library/src/lib/directives';\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i5 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\n\nclass BadgeListItemComponent {\n constructor(modalService, scorecardService) {\n this.modalService = modalService;\n this.scorecardService = scorecardService;\n this.phaseThree = false;\n this.BadgeStatus = BadgeStatus;\n this.preventMultipleClick = false;\n }\n ngOnInit() { }\n /**\n * open scorecard description modal.\n */\n openScorecardDescription() {\n if (this.preventMultipleClick)\n return;\n this.preventMultipleClick = true;\n this.scorecardService\n .fetchScorecardBy(this.badge.ScorecardId)\n .pipe(finalize(() => (this.preventMultipleClick = false)), take(1))\n .subscribe((scorecards) => {\n const modalRef = this.modalService.open(ScorecardDescriptionModalComponent, {\n centered: true,\n windowClass: 'scorecard-modal-content',\n backdropClass: 'scorecard-modal-backdrop',\n });\n modalRef.componentInstance.phaseThree = this.phaseThree;\n const scorecard = this.scorecardService.findScorecard(scorecards, this.badge.ScorecardId);\n modalRef.componentInstance.confettiColors = this.confettiColors;\n modalRef.componentInstance.scorecard = scorecard;\n modalRef.componentInstance.parentScorecard = this.scorecardService.findScorecard(scorecards, scorecard.ParentId);\n modalRef.componentInstance.childScoreCard = this.scorecardService.findScorecard(scorecards, scorecard.ChildId);\n modalRef.componentInstance.currentScorecardIndex = this.scorecardService.findScorecardIndex(scorecards, scorecard.ScorecardId);\n modalRef.componentInstance.childScorecardIndex =\n this.scorecardService.findScorecardIndex(scorecards, scorecard.ChildId) || 0;\n modalRef.componentInstance.parentScorecardIndex =\n this.scorecardService.findScorecardIndex(scorecards, scorecard.ParentId) || 0;\n modalRef.componentInstance.linkedScorecardLength = scorecards.length;\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeListItemComponent, deps: [{ token: i1.NgbModal }, { token: i2.ScorecardService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: BadgeListItemComponent, selector: \"fgbcl-badge-list-item\", inputs: { badge: \"badge\", phaseThree: \"phaseThree\", confettiColors: \"confettiColors\" }, ngImport: i0, template: \"\\r\\n\", styles: [\".badge-container img{height:70px}.badge-incomplete{opacity:.2}.scorecard-label-ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.scorecard-label-ellipsis.three-line{-webkit-line-clamp:3}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i4.ImgDefaultDirective, selector: \"img[useDefault]\", inputs: [\"src\", \"useDefault\", \"loyaltyType\"] }, { kind: \"pipe\", type: i5.ContentImagePipe, name: \"contentImage\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeListItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-badge-list-item', template: \"\\r\\n\", styles: [\".badge-container img{height:70px}.badge-incomplete{opacity:.2}.scorecard-label-ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.scorecard-label-ellipsis.three-line{-webkit-line-clamp:3}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.NgbModal }, { type: i2.ScorecardService }], propDecorators: { badge: [{\n type: Input\n }], phaseThree: [{\n type: Input\n }], confettiColors: [{\n type: Input\n }] } });\n\nclass BadgeListItemModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeListItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeListItemModule, declarations: [BadgeListItemComponent], imports: [CommonModule,\n DirectivesModule,\n PipesModule], exports: [BadgeListItemComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeListItemModule, imports: [CommonModule,\n DirectivesModule,\n PipesModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeListItemModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n BadgeListItemComponent\n ],\n imports: [\n CommonModule,\n DirectivesModule,\n PipesModule\n ],\n exports: [\n BadgeListItemComponent\n ]\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BadgeListItemComponent, BadgeListItemModule };\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport * as i3 from '@fgb/portal-component-library/src/lib/loyalty/badges/badge-list-item';\nimport { BadgeListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/badges/badge-list-item';\nimport * as i4 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass BadgeOverviewListComponent {\n constructor(badgesQuery, badgesService) {\n this.badgesQuery = badgesQuery;\n this.badgesService = badgesService;\n this.isList = true;\n this.phaseThree = false;\n this.showPlaceholder = false;\n }\n ngOnInit() {\n this.badgesService.fetchBadges().toPromise();\n this.badgeByCategories$ = this.badgesQuery.selectAllBadgeCategories();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeOverviewListComponent, deps: [{ token: i1.BadgesQuery }, { token: i1.BadgesService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: BadgeOverviewListComponent, selector: \"fgbcl-badge-overview-list\", inputs: { phaseThree: \"phaseThree\", confettiColors: \"confettiColors\", showPlaceholder: \"showPlaceholder\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ category.Category }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'badges.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.BadgeListItemComponent, selector: \"fgbcl-badge-list-item\", inputs: [\"badge\", \"phaseThree\", \"confettiColors\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i4.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeOverviewListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-badge-overview-list', template: \"
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ category.Category }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'badges.placeholder.description' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.BadgesQuery }, { type: i1.BadgesService }], propDecorators: { phaseThree: [{\n type: Input\n }], confettiColors: [{\n type: Input\n }], showPlaceholder: [{\n type: Input\n }] } });\n\nclass BadgeOverviewListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeOverviewListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeOverviewListModule, declarations: [BadgeOverviewListComponent], imports: [CommonModule,\n BadgeListItemModule,\n FGBSharedModule], exports: [BadgeOverviewListComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeOverviewListModule, imports: [CommonModule,\n BadgeListItemModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeOverviewListModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [BadgeOverviewListComponent],\n imports: [\n CommonModule,\n BadgeListItemModule,\n FGBSharedModule\n ],\n exports: [BadgeOverviewListComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BadgeOverviewListComponent, BadgeOverviewListModule };\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-challenges-nav',\r\n templateUrl: './challenges-nav.component.html',\r\n styleUrl: './challenges-nav.component.scss'\r\n})\r\nexport class ChallengesNavComponent {\r\n\r\n}\r\n","\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\n\r\n@Component({\r\n selector: 'fgb-badges-page',\r\n templateUrl: './badges-page.component.html',\r\n styleUrls: ['./badges-page.component.scss'],\r\n})\r\nexport class BadgesPageComponent implements OnInit {\r\n screenType = ScreenType;\r\n \r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","
\r\n

{{ 'badges.page.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n","
\r\n
\r\n
\r\n
\r\n \r\n
\r\n date_range\r\n {{ member.DOB | date : 'MMM d, yyy' }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n email\r\n {{ member.EmailAddress1 }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MemberDetails, config, BalanceQuery, MemberQuery, MemberCard, MemberCardQuery } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-account-details',\r\n templateUrl: './account-details.component.html',\r\n styleUrls: ['./account-details.component.scss'],\r\n})\r\nexport class AccountDetailsComponent implements OnInit {\r\n member$: Observable;\r\n combinedCard$: Observable;\r\n loyaltyPointsCard$: Observable;\r\n card$: Observable;\r\n allowEditing: boolean = true;\r\n\r\n constructor(private memberQuery: MemberQuery, private balanceQuery: BalanceQuery, private memberCardQuery: MemberCardQuery) {}\r\n\r\n ngOnInit() {\r\n this.member$ = this.memberQuery.selectMemberDetails();\r\n this.combinedCard$ = this.balanceQuery.selectPurse(config.purseConfig.combined);\r\n this.loyaltyPointsCard$ = this.balanceQuery.selectPurse(config.purseConfig.virtualLoyalty);\r\n this.card$ = this.memberCardQuery.selectCurrentCard();\r\n }\r\n}\r\n","
\r\n

{{ name$ | async }}

\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
{{ 'account.details.title' | translate }}
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { toSignal } from '@angular/core/rxjs-interop';\r\nimport { MemberQuery } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\n\r\n@Component({\r\n selector: 'fgb-account-details-page',\r\n templateUrl: './account-details-page.component.html',\r\n styleUrls: ['./account-details-page.component.scss'],\r\n})\r\nexport class AccountDetailsPageComponent implements OnInit {\r\n name$: Observable;\r\n populations = Populations;\r\n memberDetails = toSignal(this.memberQuery.selectMemberDetails());\r\n\r\n constructor(private memberQuery: MemberQuery) {}\r\n\r\n ngOnInit() {\r\n this.name$ = this.memberQuery.selectMemberDetails().pipe(\r\n map((m) => {\r\n console.log('m', m);\r\n if (m) {\r\n return `${m.FirstName} ${m.Surname}`;\r\n }\r\n return '';\r\n })\r\n );\r\n }\r\n \r\n}\r\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbDateNativeAdapter, NgbModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i3 from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport * as i4 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass DateRangePickerComponent {\n constructor(adapter) {\n this.adapter = adapter;\n this.minDate = null;\n this.startDateChange = new EventEmitter();\n this.endDateChange = new EventEmitter();\n }\n ngOnInit() {\n let currentDate = new Date(Date.now());\n this.ngbStartDate = this.adapter.fromModel(this.startDate);\n this.ngbEndDate = this.adapter.fromModel(this.endDate);\n this.ngbMinDate = this.adapter.fromModel(this.minDate);\n this.today = {\n year: currentDate.getFullYear(),\n month: currentDate.getMonth() + 1,\n day: currentDate.getDate(),\n };\n }\n get ngbStartDate() {\n return this._startDate;\n }\n set ngbStartDate(value) {\n this._startDate = value;\n this.startDateChange.emit(this.adapter.toModel(value));\n }\n get ngbEndDate() {\n return this._endDate;\n }\n set ngbEndDate(value) {\n this._endDate = value;\n this.endDateChange.emit(this.adapter.toModel(value));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DateRangePickerComponent, deps: [{ token: i1.NgbDateNativeAdapter }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: DateRangePickerComponent, selector: \"fgbcl-date-range-picker\", inputs: { minDate: \"minDate\", startDate: \"startDate\", endDate: \"endDate\" }, outputs: { startDateChange: \"startDateChange\", endDateChange: \"endDateChange\" }, providers: [NgbDateNativeAdapter], ngImport: i0, template: \"\\r\\n
\\r\\n
From date
\\r\\n
\\r\\n \\r\\n \\r\\n today\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n multiple_stop\\r\\n
\\r\\n
\\r\\n
To date
\\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n event\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\"@media only screen and (min-width: 992px){.input-group{width:192px}}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i3.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i3.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"directive\", type: i1.NgbInputDatepicker, selector: \"input[ngbDatepicker]\", inputs: [\"autoClose\", \"contentTemplate\", \"datepickerClass\", \"dayTemplate\", \"dayTemplateData\", \"displayMonths\", \"firstDayOfWeek\", \"footerTemplate\", \"markDisabled\", \"minDate\", \"maxDate\", \"navigation\", \"outsideDays\", \"placement\", \"popperOptions\", \"restoreFocus\", \"showWeekNumbers\", \"startDate\", \"container\", \"positionTarget\", \"weekdays\", \"disabled\"], outputs: [\"dateSelect\", \"navigate\", \"closed\"], exportAs: [\"ngbDatepicker\"] }, { kind: \"pipe\", type: i4.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DateRangePickerComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-date-range-picker', providers: [NgbDateNativeAdapter], template: \"\\r\\n
\\r\\n
From date
\\r\\n
\\r\\n \\r\\n \\r\\n today\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n multiple_stop\\r\\n
\\r\\n
\\r\\n
To date
\\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n event\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\"@media only screen and (min-width: 992px){.input-group{width:192px}}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.NgbDateNativeAdapter }], propDecorators: { minDate: [{\n type: Input\n }], startDate: [{\n type: Input\n }], startDateChange: [{\n type: Output\n }], endDate: [{\n type: Input\n }], endDateChange: [{\n type: Output\n }] } });\n\nclass DateRangePickerModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DateRangePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: DateRangePickerModule, declarations: [DateRangePickerComponent], imports: [CommonModule,\n FormsModule,\n NgbModule,\n FGBSharedModule], exports: [DateRangePickerComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DateRangePickerModule, imports: [CommonModule,\n FormsModule,\n NgbModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DateRangePickerModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [DateRangePickerComponent],\n imports: [\n CommonModule,\n FormsModule,\n NgbModule,\n FGBSharedModule\n ],\n exports: [DateRangePickerComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DateRangePickerComponent, DateRangePickerModule };\n","\r\n \r\n
\r\n
{{ day.key }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ transaction.TransactionDescription }}\r\n
\r\n\r\n
\r\n {{ transaction.TransactionDateUTC | UtcToLocaltimePipe : 'hh:mm a' | uppercase }}\r\n
\r\n
\r\n
\r\n = 0 ? 'text-success' : 'text-danger'\"\r\n >\r\n {{ transaction.Amount >= 0 ? '+' : ''\r\n }}{{ transaction.Amount | FortressCurrencyPipe : (transactionType === transactionTypes.loyalty ? 'PTS' : 'USD') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
{{ 'account.activity.placeholder.list.description' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n","import { OnInit, Input, OnChanges, SimpleChanges, Component, Inject } from '@angular/core';\r\nimport { TransactionType, Transaction, TransactionService, TransactionQuery, DATE_OPTIONS, DateOptions } from '@fgb/core';\r\nimport * as moment from 'moment';\r\nimport { switchMap, map, tap } from 'rxjs/operators';\r\nimport { Observable } from 'rxjs';\r\n\r\ninterface GroupedTransactions {\r\n [day: string]: Transaction[];\r\n}\r\n\r\n@Component({\r\n selector: 'fgb-transaction-list',\r\n templateUrl: './transaction-list.component.html',\r\n styleUrls: ['./transaction-list.component.scss'],\r\n})\r\nexport class TransactionListComponent implements OnInit, OnChanges {\r\n \r\n @Input() startDate: Date;\r\n @Input() endDate: Date;\r\n @Input() memberId: string;\r\n @Input() transactionType: TransactionType;\r\n @Input() ecashView: boolean;\r\n @Input() accountView: boolean;\r\n\r\n transactions$: Observable;\r\n transactionTypes = TransactionType;\r\n keys = Object.keys;\r\n loading: boolean = false;\r\n hasTransactions = false;\r\n /** moment date format */\r\n dateFormat: string;\r\n\r\n constructor(@Inject(DATE_OPTIONS) readonly dateOption: DateOptions,\r\n private transactionService: TransactionService, \r\n private transactionQuery: TransactionQuery) {\r\n this.dateFormat = dateOption.NgbDateFormat;\r\n }\r\n\r\n ngOnInit() {\r\n this.getTransactions();\r\n }\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.startDate || changes.endDate || changes.memberId || changes.transactionType) {\r\n this.getTransactions();\r\n }\r\n }\r\n\r\n getTransactions() {\r\n this.loading = true;\r\n this.transactions$ = this.transactionService\r\n .fetchTransactions(this.startDate, this.endDate, this.memberId, this.transactionType)\r\n .pipe(\r\n switchMap(() => this.transactionQuery.selectTransactions(this.startDate, this.endDate, this.transactionType)),\r\n map((t: Transaction[]) => {\r\n return this._groupByTransactionDate(t);\r\n }),\r\n tap((groupedTransactions) => {\r\n this.hasTransactions = Object.keys(groupedTransactions).length > 0;\r\n this.loading = false;\r\n })\r\n );\r\n }\r\n\r\n private _groupByTransactionDate(transactions: Transaction[]): GroupedTransactions {\r\n // sort by date descending\r\n const sorted = transactions.sort(\r\n (a, b) => new Date(b.TransactionDateUTC).getTime() - new Date(a.TransactionDateUTC).getTime()\r\n );\r\n\r\n // group into object with stringified dates as keys\r\n return sorted.reduce((grouped, tx) => {\r\n const txDate = moment(tx.TransactionDateUTC).format(this.dateFormat);\r\n if (grouped[txDate]) {\r\n grouped[txDate].push(tx);\r\n } else {\r\n grouped[txDate] = [tx];\r\n }\r\n return grouped;\r\n }, {});\r\n }\r\n\r\n keepOrder = (a: any, b: any) => a.key;\r\n}\r\n","

\r\n {{ 'payment.history.page.title' | translate }}\r\n

\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { MemberQuery, TransactionType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-transaction-history',\r\n templateUrl: './transaction-history.component.html',\r\n styleUrls: ['./transaction-history.component.scss'],\r\n})\r\nexport class TransactionHistoryComponent implements OnInit {\r\n constructor(private memberQuery: MemberQuery) {}\r\n\r\n transactionStartDate: Date;\r\n transactionEndDate: Date;\r\n transactionType: TransactionType;\r\n minDate: Date = new Date(2020, 0, 1);\r\n\r\n @Input() memberId: string;\r\n @Input() transactionTypes: TransactionType[];\r\n @Input() ecashView: boolean;\r\n @Input() accountView: boolean;\r\n\r\n selectedValues: {\r\n start: Date;\r\n end: Date;\r\n type: TransactionType;\r\n };\r\n\r\n buttonNames = {\r\n [TransactionType.ecash]: 'Ecash History',\r\n [TransactionType.loyalty]: 'Points History',\r\n [TransactionType.payment]: 'Card History',\r\n };\r\n\r\n ngOnInit() {\r\n this.transactionType = this.transactionTypes[0];\r\n this.memberId = this.memberId || this.memberQuery.getUserContext().memberId;\r\n this.transactionEndDate = this.transactionEndDate || new Date();\r\n this.transactionStartDate = new Date();\r\n this.transactionStartDate.setDate(new Date(this.transactionStartDate).getDate() - 1);\r\n }\r\n\r\n setTransactionType(type: TransactionType) {\r\n this.transactionType = type;\r\n }\r\n\r\n search() {\r\n this.transactionStartDate.setHours(0, 0, 0, 0);\r\n this.transactionEndDate.setHours(23, 59, 59, 999);\r\n\r\n this.selectedValues = {\r\n start: this.transactionStartDate,\r\n end: this.transactionEndDate,\r\n type: this.transactionType,\r\n };\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TransactionType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-activity-page',\r\n templateUrl: './activity-page.component.html',\r\n styleUrls: ['./activity-page.component.scss']\r\n})\r\nexport class ActivityPageComponent implements OnInit {\r\n transactionTypes = TransactionType;\r\n\r\n constructor() {}\r\n ngOnInit() {}\r\n\r\n}\r\n","
\r\n

{{ 'account.activity.page.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n","
\r\n \r\n
\r\n

\r\n
\r\n \"\"\r\n
\r\n
\r\n
{{ option.DisplayName }}
\r\n
{{ option.Age }}
\r\n
{{ option.Price }}
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \"\"\r\n
{{ option.DisplayName }} {{ option.Age }} {{ option.Price }}
\r\n
\r\n
\r\n
\r\n

\r\n {{ option.Description }}\r\n

\r\n
\r\n
\r\n \"\"\r\n

\r\n Please note that a “right-handed” kit is for a child that throws right-handed, and a “left-handed” kit is for a child\r\n that throws left-handed. Free shipping on all domestic orders. Before upgrading your child’s membership please contact\r\n kidnation@redsox.com to update your current shipping address.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'fgb-membership-options-carousel',\r\n templateUrl: './membership-options-carousel.component.html',\r\n styleUrls: ['./membership-options-carousel.component.scss'],\r\n})\r\nexport class MembershipOptionsCarouselComponent implements OnInit {\r\n optionInfoIndex: number;\r\n optionInfos = [\r\n {\r\n DisplayName: 'Rookie',\r\n Age: '(FREE)',\r\n Price: 'Mailed $5.95',\r\n Description:\r\n 'Included in this membership is a Kid Nation lanyard and membership card. Rookie memberships can be picked up at the ballpark when you attend your first game at Fenway Park or mailed to you for a fee of $5.95. This membership includes a FREE ticket (with the purchase of an adult ticket) to a Red Sox home game during the 2021 season.',\r\n Image: 'assets/images/membership-options/option1.png',\r\n ReadMore: false,\r\n },\r\n {\r\n DisplayName: 'All-Star Kit',\r\n Age: '(Age 6 & Under)',\r\n Price: '$54.95',\r\n Description:\r\n 'Included in this membership is an exclusive Kid Nation Franklin Sports navy youth backpack, Franklin Sports soft-tee ball, authentic Franklin Sports Baseball Glove (size 9.5”), lanyard, and membership card. RECOMMENDED AGE: 6 and under. \\n Please note that a “right-handed” kit is for a child that throws right-handed, so the glove will go on their left hand. A “left-handed” kit is for a child that throws left-handed, so the glove will go on their right hand.',\r\n Image: 'assets/images/membership-options/option2.png',\r\n ReadMore: false,\r\n },\r\n {\r\n DisplayName: 'All-Star Kit',\r\n Age: '(Age 7 - 10)',\r\n Price: '$54.95',\r\n Description:\r\n 'Included in this membership is an exclusive Kid Nation Franklin Sports heather gray backpack, Franklin sports baseball, authentic Franklin Sports Baseball Glove (size 11”), lanyard, and membership card. RECOMMENDED AGE: 7-10. \\n Please note that a “right-handed” kit is for a child that throws right-handed, so the glove will go on their left hand. A “left-handed” kit is for a child that throws left-handed, so the glove will go on their right hand.',\r\n Image: 'assets/images/membership-options/option3.png',\r\n ReadMore: false,\r\n },\r\n {\r\n DisplayName: 'All-Star Kit',\r\n Age: '(Age 11 - 14)',\r\n Price: '$54.95',\r\n Description:\r\n 'Included in this membership is an exclusive Kid Nation Franklin Sports heather gray backpack, Franklin sports baseball, authentic Franklin Sports Baseball Glove (size 12”), lanyard, and membership card. RECOMMENDED AGE: 11-14. \\n Please note that a “right-handed” kit is for a child that throws right-handed, so the glove will go on their left hand. A “left-handed” kit is for a child that throws left-handed, so the glove will go on their right hand.',\r\n Image: 'assets/images/membership-options/option4.png',\r\n ReadMore: false,\r\n },\r\n ];\r\n constructor(private modalService: NgbModal) {}\r\n\r\n ngOnInit() {}\r\n\r\n openMembershipOptionModal(content: any, optionIndex: number) {\r\n this.optionInfoIndex = optionIndex;\r\n this.modalService.open(content, { centered: true });\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \"\"\r\n
\r\n

{{ 'kids.membership.upgrade.title' | translate }}

\r\n

{{ 'kids.membership.upgrade.description' | translate }}

\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
Child {{ i + 1 }}
\r\n
\r\n
\r\n \r\n

{{ child.DateOfBirth | date }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{ product.PortalProduct.DisplayName }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n Next\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n \"\"\r\n
\r\n

{{ 'kids.membership.upgrade.review.label' | translate }}

\r\n
{{ 'kids.membership.upgrade.review.description' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n 0\">\r\n
\r\n
\r\n {{ child.FirstName }} {{ child.LastName }}\r\n -\r\n {{ child.Product.DisplayName }}\r\n
\r\n
\r\n {{ 'kids.membership.upgrade.product.cost.label' | translate }}\r\n {{ child.Product.MerchantPrice / 100 | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
Billing Address
\r\n
\r\n {{ billingAddress.Street }}, {{ billingAddress.Town }}, {{ billingAddress.County }},\r\n {{ billingAddress.Postcode }}, {{ billingAddress.Country }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
Shipping Address
\r\n
\r\n {{ shippingAddress.Street }}, {{ shippingAddress.Town }}, {{ shippingAddress.County }},\r\n {{ shippingAddress.Postcode }}, {{ shippingAddress.Country }}\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n {{ 'kids.membership.upgrade.gift.code' | translate }}\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n
{{ 'kids.membership.upgrade.summary.label' | translate }}
\r\n
\r\n
Membership total:
\r\n
{{ totalAmount / 100 | FortressCurrencyPipe }}
\r\n
\r\n
\r\n
Shipping:
\r\n
{{ totalShipping / 100 | FortressCurrencyPipe }}
\r\n
\r\n 0\">\r\n
\r\n
Tax:
\r\n
{{ totalTax / 100 | FortressCurrencyPipe }}
\r\n
\r\n
\r\n
0\">\r\n
Discount Code(s):
\r\n \r\n
{{ giftCode.Code }}
\r\n
\r\n - {{ giftCode.EntitlementValue / 100 | FortressCurrencyPipe }}\r\n - {{ giftCode.EntitlementValue }}%\r\n FREE\r\n
\r\n
\r\n
\r\n
\r\n
{{ 'kids.membership.upgrade.payment.details.total' | translate }}
\r\n
\r\n {{ totalBasketAmount / 100 | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n \r\n \r\n Proceed to Payment\r\n \r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n Clear Form\r\n
\r\n
Billing Address
\r\n
\r\n
\r\n
\r\n \r\n \r\n
Please enter your first name.
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter your last name.
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter a valid street.
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter a valid city
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter a state.
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter a valid zip code.
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter a valid country.
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Clear Form\r\n
\r\n
Shipping Address
\r\n
\r\n
\r\n
\r\n \r\n \r\n
Please enter your first name.
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter your last name.
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter a valid street.
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter a valid city.
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter a valid state.
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter a valid zip code.
\r\n
\r\n\r\n
\r\n \r\n \r\n
Please enter a valid country.
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \"\"\r\n
\r\n

{{ 'purchase.success.title' | translate }}

\r\n

\r\n {{ 'purchase.success.description' | translate }}\r\n {{ 'purchase.success.description.email' | translate }}{{ 'purchase.success.description.number' | translate }}\r\n

\r\n

\r\n {{ 'kids.membership.upgrade.summary.label' | translate }}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n 0\">\r\n
\r\n
\r\n {{ child.FirstName }} {{ child.LastName }}\r\n -\r\n {{ child.Product.DisplayName }}\r\n
\r\n
\r\n {{ 'kids.membership.upgrade.product.cost.label' | translate }}\r\n {{ child.Product.MerchantPrice / 100 | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'purchase.success.total.label' | translate }}{{ totalBasketAmount / 100 | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n credit_card\r\n
{{ 'kids.membership.upgrade.payment.details.title' | translate }}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n {{ 'kids.membership.upgrade.payment.details.description' | translate }}\r\n

\r\n \r\n
\r\n
\r\n
{{ 'kids.membership.upgrade.payment.details.total' | translate }}
\r\n
{{ totalBasketAmount / 100 | FortressCurrencyPipe }}
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, NgZone, OnInit } from '@angular/core';\r\nimport {\r\n Address,\r\n MemberProduct,\r\n PortalProductsService,\r\n ChildQuery,\r\n PaymentService,\r\n AddressType,\r\n AddressQuery,\r\n MemberQuery,\r\n MemberDetails,\r\n LoggingService,\r\n PortalProduct,\r\n PortalProductsQuery,\r\n ErrorStateService,\r\n GiftCodeModel,\r\n GiftCodeType,\r\n GiftCodeEntitlementValueType,\r\n GiftCodeService,\r\n ProviderActionKind,\r\n ChildService,\r\n} from '@fgb/core';\r\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\r\nimport { tap, take } from 'rxjs/operators';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\ninterface ChildUpgrade {\r\n ID: number;\r\n MemberId: string;\r\n FirstName: string;\r\n LastName: string;\r\n DateOfBirth: Date | string;\r\n Product: PortalProduct;\r\n}\r\n\r\nclass PortalProductWithDescription {\r\n PortalProduct: PortalProduct;\r\n ShowDescription: boolean;\r\n constructor(product: PortalProduct, show: boolean) {\r\n this.PortalProduct = product;\r\n this.ShowDescription = show;\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'fgb-upgrade-children',\r\n templateUrl: './upgrade-children.component.html',\r\n styleUrls: ['./upgrade-children.component.scss'],\r\n})\r\nexport class UpgradeChildrenComponent implements OnInit {\r\n editingBillingAddress: boolean = false;\r\n editingShippingAddress: boolean = false;\r\n portalProducts: PortalProductWithDescription[] = [];\r\n childUpgrades: ChildUpgrade[] = [];\r\n appliedGiftCodes: GiftCodeModel[] = [];\r\n giftCodeInput: string;\r\n submitted: boolean;\r\n orderCompleted: boolean = false;\r\n loadingPaymentForm: boolean;\r\n addresses: Address[] = [];\r\n currentUser: MemberDetails | undefined;\r\n billingAddress: Address;\r\n billingAddressForm: UntypedFormGroup;\r\n currentStep: number = 0;\r\n hasSubmittedBillingAddress: boolean = false;\r\n hasSubmittedShippingAddress: boolean = false;\r\n shippingAddress: Address;\r\n shippingAddressForm: UntypedFormGroup;\r\n totalAmount: number = 0;\r\n totalShipping: number = 0;\r\n totalTax: number = 0;\r\n totalBasketAmount: number = 0;\r\n totalNumberOfChildren: number;\r\n disableApplyGiftCodesButton: boolean = false;\r\n noMembershipsSelected: boolean = false;\r\n paymentModal: any;\r\n\r\n constructor(\r\n private portalProductService: PortalProductsService,\r\n private childQuery: ChildQuery,\r\n private giftCodeService: GiftCodeService,\r\n private paymentService: PaymentService,\r\n private memberQuery: MemberQuery,\r\n private childService: ChildService,\r\n private addressQuery: AddressQuery,\r\n private logService: LoggingService,\r\n private formBuilder: UntypedFormBuilder,\r\n private modalService: NgbModal,\r\n private portalProductQuery: PortalProductsQuery,\r\n private errorService: ErrorStateService,\r\n private _zone: NgZone\r\n ) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.childService.fetchChildren());\r\n\r\n this.addressQuery\r\n .selectAddresses([AddressType.DefaultAddress])\r\n .subscribe((addresses) => {\r\n this.addresses = addresses;\r\n this.memberQuery\r\n .selectMemberDetails()\r\n .subscribe((md) => {\r\n this.currentUser = md;\r\n\r\n this.billingAddress = this._getDefaultBillingAddress();\r\n this.shippingAddress = this._getDefaultShippingAddress();\r\n })\r\n .unsubscribe();\r\n })\r\n .unsubscribe();\r\n\r\n this.shippingAddressForm = this.formBuilder.group({\r\n FirstName: [this.shippingAddress.FirstName, Validators.required],\r\n Surname: [this.shippingAddress.Surname, Validators.required],\r\n Street: [this.shippingAddress.Street, Validators.required],\r\n Town: [this.shippingAddress.Town, Validators.required],\r\n County: [this.shippingAddress.County, Validators.required],\r\n Postcode: [this.shippingAddress.Postcode, [Validators.required]],\r\n Country: [this.shippingAddress.Country, Validators.required],\r\n PortalId: [this.currentUser?.PortalId],\r\n });\r\n\r\n this.billingAddressForm = this.formBuilder.group({\r\n FirstName: [this.billingAddress.FirstName, Validators.required],\r\n Surname: [this.billingAddress.Surname, Validators.required],\r\n Street: [this.billingAddress.Street, Validators.required],\r\n Town: [this.billingAddress.Town, Validators.required],\r\n County: [this.billingAddress.County, Validators.required],\r\n Postcode: [this.billingAddress.Postcode, [Validators.required]],\r\n Country: [this.billingAddress.Country, Validators.required],\r\n PortalId: [this.currentUser?.PortalId],\r\n });\r\n\r\n this.portalProductService\r\n .fetchPortalProducts()\r\n .pipe(take(1))\r\n .subscribe(() => {\r\n let portalProducts = this.portalProductQuery.getAll() as PortalProduct[];\r\n\r\n // get only portalProducts that are paid for\r\n portalProducts = portalProducts.filter(\r\n (pp) => pp.MerchantPrice > 0 && !pp.DisplayName.includes('Rookie') && pp.ProductType === 4\r\n );\r\n portalProducts.forEach((pp) => {\r\n this.portalProducts.push(new PortalProductWithDescription(pp, false));\r\n });\r\n\r\n if (!this.portalProducts || this.portalProducts.length === 0) {\r\n this.errorService.addError('No portal products');\r\n return;\r\n }\r\n\r\n let defaultProduct = { PortalProduct: { ProductId: 0 } } as PortalProductWithDescription;\r\n\r\n firstValueFrom(this.childQuery\r\n .selectChildren()\r\n .pipe(\r\n tap((children) => {\r\n children.forEach((c) => {\r\n if (c.AccountPaymentState === 0) {\r\n let childUpgrade: ChildUpgrade = {\r\n ID: c.Id,\r\n MemberId: c.MemberId,\r\n FirstName: c.Firstname,\r\n LastName: c.Lastname,\r\n DateOfBirth: c.DateOfBirth,\r\n Product: defaultProduct.PortalProduct,\r\n };\r\n this.childUpgrades.push(childUpgrade);\r\n }\r\n });\r\n })\r\n ));\r\n\r\n this.calculateTotalAmount();\r\n });\r\n\r\n this.addressQuery\r\n .selectAddresses([AddressType.DefaultAddress])\r\n .subscribe((addresses) => {\r\n this.addresses = addresses;\r\n this.memberQuery\r\n .selectMemberDetails()\r\n .subscribe((md) => {\r\n this.currentUser = md;\r\n this.billingAddress = this._getDefaultBillingAddress();\r\n this.shippingAddress = this._getDefaultShippingAddress();\r\n })\r\n .unsubscribe();\r\n })\r\n .unsubscribe();\r\n }\r\n\r\n showNext(step: number) {\r\n this.currentStep = step;\r\n this.errorService.clearErrors();\r\n\r\n if (this.currentStep === 1) {\r\n let paidUpgrades = this.childUpgrades.filter((x) => x.Product.ProductId.toString() !== '0');\r\n if (!paidUpgrades || paidUpgrades.length === 0) {\r\n this.submitted = true;\r\n }\r\n } else if (this.currentStep === 2) {\r\n let messageToAppear = this.checkErrorMessages();\r\n\r\n if (!!messageToAppear) {\r\n this.errorService.addError(messageToAppear);\r\n this.currentStep = 1;\r\n return;\r\n }\r\n\r\n this.processPayment();\r\n }\r\n }\r\n\r\n checkErrorMessages(): string {\r\n let messageToAppear = '';\r\n\r\n if (this.billingAddress.Street === '') {\r\n messageToAppear += 'Billing Address - Please enter valid Street information \\r\\n';\r\n }\r\n if (this.billingAddress.Town === '') {\r\n messageToAppear += 'Billing Address - Please enter valid City information \\r\\n';\r\n }\r\n if (this.billingAddress.County === '') {\r\n messageToAppear += 'Billing Address - Please enter valid State information \\r\\n';\r\n }\r\n if (this.billingAddress.Postcode === '') {\r\n messageToAppear += 'Billing Address - Please enter valid Zip Code information \\r\\n';\r\n }\r\n if (this.billingAddress.Country === '') {\r\n messageToAppear += 'Billing Address - Please enter valid Country information \\r\\n';\r\n }\r\n if (this.shippingAddress.Street === '') {\r\n messageToAppear += 'Shipping Address - Please enter valid Street information \\r\\n';\r\n }\r\n if (this.shippingAddress.Town === '') {\r\n messageToAppear += 'Shipping Address - Please enter valid City information \\r\\n';\r\n }\r\n if (this.shippingAddress.County === '') {\r\n messageToAppear += 'Shipping Address - Please enter valid State information \\r\\n';\r\n }\r\n if (this.shippingAddress.Postcode === '') {\r\n messageToAppear += 'Shipping Address - Please enter valid Zip Code information \\r\\n';\r\n }\r\n if (this.shippingAddress.Country === '') {\r\n messageToAppear += 'Shipping Address - Please enter valid Country information \\r\\n';\r\n }\r\n\r\n return messageToAppear;\r\n }\r\n\r\n showModalPayment(template: any) {\r\n this.errorService.clearErrors();\r\n let messageToAppear = this.checkErrorMessages();\r\n\r\n if (!!messageToAppear) {\r\n this.errorService.addError(messageToAppear);\r\n this.currentStep = 1;\r\n return;\r\n }\r\n\r\n this.processPayment(template);\r\n }\r\n\r\n closePaymentModal() {\r\n this.paymentModal.close();\r\n }\r\n\r\n CloseModal() {\r\n this.modalService.dismissAll();\r\n }\r\n\r\n showPrevious(step: number) {\r\n if (step == 1) {\r\n if (this.paymentModal) this.closePaymentModal();\r\n this.calculateTotalAmount();\r\n this.loadingPaymentForm = false;\r\n }\r\n this.currentStep = step;\r\n }\r\n\r\n setAddress(address: Address) {\r\n this.loadingPaymentForm = true;\r\n }\r\n\r\n processPayment(template?: any) {\r\n this.loadingPaymentForm = true;\r\n let memberProducts: MemberProduct[] = this.childUpgrades\r\n .filter((item) => item.Product.ProductId > 0)\r\n .map((item) => {\r\n return { MemberId: item.MemberId, ProductId: item.Product.ProductId, MerchantPrice: item.Product.MerchantPrice };\r\n });\r\n firstValueFrom(this.portalProductService\r\n .purchase(memberProducts, this.billingAddress, this.appliedGiftCodes))\r\n .then((response) => {\r\n this.loadingPaymentForm = false;\r\n this.totalBasketAmount = response.Amount;\r\n if (response.ProviderActionInformation.ActionKind == ProviderActionKind.None) {\r\n this.orderCompleted = true;\r\n this.currentStep++;\r\n this.childService.disableChildStoreCache();\r\n firstValueFrom(this.childService.fetchChildren());\r\n } else {\r\n if (template) {\r\n this.showNextModal(template, response);\r\n } else {\r\n this.paymentService.process(response, 'paymentForm', 'portalproducts/failure');\r\n }\r\n }\r\n })\r\n .catch((error) => {\r\n this.logService.error(error);\r\n this.loadingPaymentForm = false;\r\n });\r\n }\r\n\r\n showNextModal(template: any, response: any) {\r\n this.paymentModal = this.modalService.open(template, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n windowClass: 'add-payment-details-modal',\r\n });\r\n this._zone.onStable.pipe(take(1)).subscribe(() => {\r\n this.paymentService.process(response, 'paymentForm', 'portalproducts/failure');\r\n });\r\n }\r\n\r\n async updateBillingAddress() {\r\n this.hasSubmittedBillingAddress = true;\r\n\r\n if (this.billingAddressForm.valid) {\r\n this.billingAddress = { ...this.billingAddress, ...this.billingAddressForm.value };\r\n\r\n this.editingBillingAddress = false;\r\n }\r\n }\r\n\r\n async updateShippingAddress() {\r\n this.hasSubmittedShippingAddress = true;\r\n\r\n if (this.shippingAddressForm.valid) {\r\n this.shippingAddress = { ...this.shippingAddress, ...this.shippingAddressForm.value };\r\n this.editingShippingAddress = false;\r\n }\r\n }\r\n\r\n /** Clear the billing address form fields. */\r\n clearAddressForm(addressForm: UntypedFormGroup) {\r\n addressForm.patchValue({\r\n Street: '',\r\n Town: '',\r\n County: '',\r\n Postcode: '',\r\n Country: '',\r\n });\r\n }\r\n\r\n /** Start editing the user's billing address. */\r\n editBillingAddress() {\r\n this.editingBillingAddress = true;\r\n this.logService.debug('Opening billing address form with initial value', this.billingAddress);\r\n }\r\n\r\n /** Start editing the user's shipping address. */\r\n editShippingAddress() {\r\n this.editingShippingAddress = true;\r\n this.logService.debug('Opening shipping address form with initial value', this.editingShippingAddress);\r\n }\r\n\r\n childProductChange(child: ChildUpgrade, productId: number) {\r\n let selectedProduct = this.portalProducts.find((pp) => pp.PortalProduct.ProductId === +productId);\r\n if (child && selectedProduct) {\r\n child.Product = selectedProduct.PortalProduct;\r\n } else if (child && !selectedProduct) {\r\n child.Product = { ProductId: 0 } as PortalProduct;\r\n }\r\n\r\n this.calculateTotalAmount();\r\n }\r\n\r\n calculateTotalAmount() {\r\n this.totalAmount = this.childUpgrades.reduce((tot, cu) => {\r\n if (cu.Product.ProductId > 0) {\r\n return tot + cu.Product.MerchantPrice;\r\n }\r\n return tot;\r\n }, 0);\r\n\r\n let memberProducts: MemberProduct[] = this.childUpgrades\r\n .filter((item) => item.Product.ProductId > 0)\r\n .map((item) => {\r\n return { MemberId: item.MemberId, ProductId: item.Product.ProductId, MerchantPrice: item.Product.MerchantPrice };\r\n });\r\n\r\n this.noMembershipsSelected = !memberProducts.length;\r\n\r\n if (memberProducts.length) {\r\n firstValueFrom(this.portalProductService\r\n .calculateAdditionalCharges(memberProducts, false, this.appliedGiftCodes)\r\n .pipe(\r\n tap((charges) => {\r\n this.totalTax = charges.TotalTax;\r\n this.totalShipping = charges.TotalShipping;\r\n this.totalBasketAmount = this.totalAmount + this.totalShipping + this.totalTax;\r\n })\r\n ))\r\n .then(() => {\r\n if (this.appliedGiftCodes.length > 0) {\r\n this.appliedGiftCodes.forEach((x) => {\r\n this._calculateGiftCodeDeduction(x);\r\n });\r\n }\r\n });\r\n } else {\r\n this.totalTax = 0;\r\n this.totalShipping = 0;\r\n this.totalBasketAmount = 0;\r\n }\r\n }\r\n\r\n /** Gets the user's address from the personal details step data. */\r\n private _getDefaultBillingAddress(): Address {\r\n if (this.addresses) {\r\n let billingAddress1 = this.addresses.filter((a) => a.AddressType === AddressType.BillingAddress1)[0] as Address;\r\n if (billingAddress1) {\r\n return billingAddress1;\r\n }\r\n\r\n let billingAddress2 = this.addresses.filter((a) => a.AddressType === AddressType.BillingAddress2)[0] as Address;\r\n if (billingAddress2) {\r\n return billingAddress2;\r\n }\r\n }\r\n return {\r\n AddressName: 'Billing Address',\r\n FirstName: this.currentUser?.FirstName,\r\n Surname: this.currentUser?.Surname,\r\n Street: this.currentUser?.Street,\r\n Town: this.currentUser?.Town,\r\n County: this.currentUser?.County,\r\n Postcode: this.currentUser?.PostCode,\r\n Country: this.currentUser?.Country,\r\n EmailAddress: this.currentUser?.EmailAddress1,\r\n PortalId: this.currentUser?.PortalId,\r\n } as Address;\r\n }\r\n\r\n private _getDefaultShippingAddress(): Address {\r\n if (this.addresses) {\r\n let shippingAddress1 = this.addresses.filter((a) => a.AddressType === AddressType.ShippingAddress1)[0] as Address;\r\n if (shippingAddress1) {\r\n return shippingAddress1;\r\n }\r\n\r\n let shippingAddress2 = this.addresses.filter((a) => a.AddressType === AddressType.ShippingAddress2)[0] as Address;\r\n if (shippingAddress2) {\r\n return shippingAddress2;\r\n }\r\n }\r\n\r\n if (this.currentUser) {\r\n return {\r\n AddressName: 'Shipping Address',\r\n FirstName: this.currentUser.FirstName,\r\n Surname: this.currentUser.Surname,\r\n Street: this.currentUser.Street,\r\n Town: this.currentUser.Town,\r\n County: this.currentUser.County,\r\n Postcode: this.currentUser.PostCode,\r\n Country: this.currentUser.Country,\r\n EmailAddress: this.currentUser.EmailAddress1,\r\n PortalId: this.currentUser.PortalId,\r\n } as Address;\r\n } else {\r\n let shippingAddressCopy = Object.assign({}, this.billingAddress);\r\n shippingAddressCopy.AddressName = 'Shipping Address';\r\n return shippingAddressCopy;\r\n }\r\n }\r\n\r\n applyGiftCode() {\r\n this.errorService.clearErrors();\r\n\r\n if (this.disableApplyGiftCodesButton) {\r\n return;\r\n }\r\n\r\n if (!this.giftCodeInput) {\r\n this.errorService.addError('Gift Code cannot be empty');\r\n return;\r\n }\r\n\r\n if (!!this.appliedGiftCodes.filter((code) => code.Code === this.giftCodeInput).length) {\r\n this.errorService.addError('This gift code has already been applied');\r\n return;\r\n }\r\n\r\n if (this.totalAmount === 0) {\r\n this.errorService.addError('Gift code cannot be applied if the basket value is 0');\r\n return;\r\n }\r\n\r\n if (this.appliedGiftCodes.length > 0) {\r\n this.errorService.addError('Only one gift code can be applied.');\r\n return;\r\n }\r\n\r\n this.disableApplyGiftCodesButton = true;\r\n\r\n firstValueFrom(this.giftCodeService\r\n .validateGiftCode(this.giftCodeInput))\r\n .then((giftCode) => {\r\n if (\r\n giftCode.GiftCodeAssignType == GiftCodeType.Product &&\r\n !this.childUpgrades.filter(\r\n (item) =>\r\n item.Product.ProductId == giftCode.EntitlementItemId || item.Product.ProductId == giftCode.EntitlementItemId2\r\n ).length\r\n ) {\r\n this.errorService.addError('Gift code does not apply to any of the basket items.');\r\n this.disableApplyGiftCodesButton = false;\r\n return;\r\n } else if (\r\n giftCode.EntitlementValueType == GiftCodeEntitlementValueType.Percentage &&\r\n !!this.appliedGiftCodes.filter((gc) => gc.EntitlementValueType == GiftCodeEntitlementValueType.Percentage).length\r\n ) {\r\n this.errorService.addError('Percentage discount can only be applied once to an order.');\r\n this.disableApplyGiftCodesButton = false;\r\n return;\r\n } else if (giftCode.GiftCodeStatus != 0) {\r\n this.errorService.addError('Gift code has been used');\r\n this.disableApplyGiftCodesButton = false;\r\n return;\r\n } else if (!giftCode.Active) {\r\n this.errorService.addError('Gift code not available.');\r\n this.disableApplyGiftCodesButton = false;\r\n return;\r\n }\r\n\r\n if (giftCode.EntitlementValueType === GiftCodeEntitlementValueType.Value) {\r\n this.appliedGiftCodes.unshift(giftCode);\r\n } else {\r\n this.appliedGiftCodes.push(giftCode);\r\n }\r\n\r\n this.disableApplyGiftCodesButton = false;\r\n\r\n this.appliedGiftCodes.forEach((x) => {\r\n this._calculateGiftCodeDeduction(x);\r\n });\r\n\r\n this.calculateTotalAmount();\r\n })\r\n .catch((err) => {\r\n this.errorService.addError(err);\r\n this.disableApplyGiftCodesButton = false;\r\n });\r\n }\r\n\r\n /** Calculate the new total basket price after Gift Code has been applied */\r\n private _calculateGiftCodeDeduction(giftCode: GiftCodeModel) {\r\n this.errorService.clearErrors();\r\n let discount = 0;\r\n\r\n if (giftCode.GiftCodeAssignType === GiftCodeType.Order) {\r\n switch (giftCode.EntitlementValueType) {\r\n // Value\r\n case GiftCodeEntitlementValueType.Value: {\r\n discount = giftCode.EntitlementValue;\r\n break;\r\n }\r\n case GiftCodeEntitlementValueType.Percentage: {\r\n // Percentage\r\n discount = (giftCode.EntitlementValue / 100) * this.totalBasketAmount;\r\n break;\r\n }\r\n case GiftCodeEntitlementValueType.NumberOfEntitlements: {\r\n // Number of Items - Only used for Free\r\n this.appliedGiftCodes = this.appliedGiftCodes.filter((x) => x.Code === giftCode.Code);\r\n discount = this.totalBasketAmount;\r\n break;\r\n }\r\n default: {\r\n this.errorService.addError('Invalid Gift Code');\r\n break;\r\n }\r\n }\r\n } else if (giftCode.GiftCodeAssignType === GiftCodeType.Shipping) {\r\n if (this.totalShipping === 0) {\r\n this.appliedGiftCodes = this.appliedGiftCodes.filter((x) => x.Code !== giftCode.Code);\r\n this.errorService.addError('Gift Code cannot be applied if the shipping is already 0');\r\n return;\r\n }\r\n\r\n switch (giftCode.EntitlementValueType) {\r\n case GiftCodeEntitlementValueType.Value: {\r\n // Value\r\n discount = giftCode.EntitlementValue;\r\n break;\r\n }\r\n case GiftCodeEntitlementValueType.Percentage: {\r\n // Percentage\r\n discount = (giftCode.EntitlementValue / 100) * this.totalShipping;\r\n break;\r\n }\r\n case GiftCodeEntitlementValueType.NumberOfEntitlements: {\r\n // Number of Items - Only used for Free\r\n discount = this.totalShipping;\r\n break;\r\n }\r\n default: {\r\n this.errorService.addError('Invalid Gift Code');\r\n break;\r\n }\r\n }\r\n } else if (giftCode.GiftCodeAssignType == GiftCodeType.Product) {\r\n var numberOfTimesApplied = 0;\r\n this.childUpgrades\r\n .filter(\r\n (item) => item.Product.ProductId == giftCode.EntitlementItemId || item.Product.ProductId == giftCode.EntitlementItemId2\r\n )\r\n .forEach((item) => {\r\n if (numberOfTimesApplied < giftCode.EntitlementValue) {\r\n numberOfTimesApplied++;\r\n discount += item.Product.MerchantPrice;\r\n }\r\n });\r\n }\r\n this.totalBasketAmount = Math.max(0, this.totalBasketAmount - discount);\r\n }\r\n\r\n /** Works out the total basket price after removal of gift code */\r\n removeGiftCode(code: string) {\r\n this.errorService.clearErrors();\r\n let giftCode = this.appliedGiftCodes.find((x) => x.Code === code);\r\n\r\n if (giftCode) {\r\n this.appliedGiftCodes = this.appliedGiftCodes.filter((x) => x !== giftCode);\r\n\r\n /** reset basket values and recalculate with remaining giftcodes */\r\n this.calculateTotalAmount();\r\n\r\n if (this.appliedGiftCodes.length > 0) {\r\n this.appliedGiftCodes.forEach((x) => {\r\n this._calculateGiftCodeDeduction(x);\r\n });\r\n }\r\n }\r\n }\r\n\r\n /** Cancel edit address */\r\n cancelAndRebuildForm(addressType: String) {\r\n if (addressType == 'billing') {\r\n this.editingBillingAddress = false;\r\n\r\n this.billingAddressForm = this.formBuilder.group({\r\n FirstName: [this.billingAddress.FirstName, Validators.required],\r\n Surname: [this.billingAddress.Surname, Validators.required],\r\n Street: [this.billingAddress.Street, Validators.required],\r\n Town: [this.billingAddress.Town, Validators.required],\r\n County: [this.billingAddress.County, Validators.required],\r\n Postcode: [this.billingAddress.Postcode, Validators.required],\r\n Country: [this.billingAddress.Country, Validators.required],\r\n });\r\n } else if (addressType == 'shipping') {\r\n this.editingShippingAddress = false;\r\n\r\n this.shippingAddressForm = this.formBuilder.group({\r\n FirstName: [this.shippingAddress.FirstName, Validators.required],\r\n Surname: [this.shippingAddress.Surname, Validators.required],\r\n Street: [this.shippingAddress.Street, Validators.required],\r\n Town: [this.shippingAddress.Town, Validators.required],\r\n County: [this.shippingAddress.County, Validators.required],\r\n Postcode: [this.shippingAddress.Postcode, [Validators.required]],\r\n Country: [this.shippingAddress.Country, Validators.required],\r\n });\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n

{{ child.Firstname }} {{ child.Lastname }}

\r\n

Rookie

\r\n
\r\n
\r\n
\r\n
\r\n

Account No.

\r\n

{{ child.ExternalRefNumber }}

\r\n
\r\n
\r\n

Member ID

\r\n

{{ child.MemberId }}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\r\nimport { ChildViewModel, ChildQuery, ChildService } from '@fgb/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { CarouselComponent, OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { Subscription, firstValueFrom } from 'rxjs';\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\n\r\n@Component({\r\n selector: 'fgb-child-barcodes-carousel',\r\n templateUrl: './child-barcodes-carousel.component.html',\r\n styleUrls: ['./child-barcodes-carousel.component.scss'],\r\n})\r\nexport class ChildBarcodesCarouselComponent implements OnInit, OnDestroy {\r\n customOptions: OwlOptions = {\r\n items: 1,\r\n margin: OwlCarouselSettings.Margin,\r\n pullDrag: false,\r\n dots: false,\r\n navSpeed: 700,\r\n navText: ['', ''],\r\n };\r\n\r\n children: ChildViewModel[] = [];\r\n childrenSubscription: Subscription;\r\n @ViewChild('owlCar', { static: true }) owlElement: CarouselComponent;\r\n @Input() public childId: string;\r\n\r\n constructor(private childQuery: ChildQuery, private childService: ChildService, private activeModal: NgbActiveModal) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.childService.fetchChildren());\r\n\r\n this.childrenSubscription = this.childQuery.selectChildren().subscribe((children) => {\r\n this.children = children;\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.childrenSubscription) {\r\n this.childrenSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.owlElement.to(this.childId);\r\n }\r\n\r\n closeModal(): void {\r\n this.activeModal.close();\r\n }\r\n}\r\n","
\r\n \r\n
\r\n

\r\n {{ 'replace.child.barcode' | translate }} {{ 'attach.child.barcode' | translate }}\r\n

\r\n

\r\n {{ 'replace.child.barcode.description' | translate }}\r\n {{ 'attach.child.barcode.description' | translate }}\r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n
\r\n

{{ 'update.child.barcode.heading' | translate }}

\r\n

{{ 'update.child.barcode.description' | translate }}

\r\n
\r\n\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { ChildService, ErrorStateService } from '@fgb/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'fgb-lost-barcode-modal',\r\n templateUrl: './lost-barcode-modal.component.html',\r\n styleUrls: ['./lost-barcode-modal.component.scss'],\r\n})\r\nexport class LostBarcodeModalComponent implements OnInit {\r\n barcodeForm: UntypedFormGroup;\r\n @Input() childId: number;\r\n replacementSuccess = false;\r\n @Input() isBarcodeLost = false;\r\n constructor(\r\n private childService: ChildService,\r\n private formBuilder: UntypedFormBuilder,\r\n public activeModal: NgbActiveModal,\r\n private errorService: ErrorStateService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.barcodeForm = this.formBuilder.group({\r\n barcode: ['', Validators.required],\r\n });\r\n }\r\n\r\n linkNewBarcode() {\r\n this.errorService.clearErrors();\r\n let barcodeText = this.barcodeForm.value.barcode;\r\n if (barcodeText == '') {\r\n this.errorService.addError('Please enter a barcode');\r\n } else {\r\n this.childService.lostCard(this.childId, barcodeText).then(() => {\r\n this.replacementSuccess = true;\r\n });\r\n }\r\n }\r\n\r\n closeModalAndUpdate() {\r\n this.activeModal.close();\r\n location.reload();\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{ child.Firstname }} {{ child.Lastname }}

\r\n

\r\n All Star \r\n Rookie \r\n

\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n emoji_events\r\n \r\n {{ loyaltyPointsCard$ | async | FortressCurrencyPipe : '' : '' : '1.0-0' }}\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n calendar_month\r\n \r\n {{ child.DateOfBirth | date }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n\r\n \r\n Show Barcode\r\n \r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { config, ChildViewModel, AuthService, MembershipOptionQuery, MembershipOption, BalanceQuery } from '@fgb/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { ChildBarcodesCarouselComponent } from '../child-barcodes-carousel/child-barcodes-carousel.component';\r\nimport { LostBarcodeModalComponent } from 'src/app/shared/components/lost-barcode-modal/lost-barcode-modal.component';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-child-panel',\r\n templateUrl: 'child-panel.component.html',\r\n styleUrls: ['child-panel.component.scss'],\r\n})\r\nexport class ChildPanelComponent implements OnInit {\r\n @Input() child: ChildViewModel;\r\n @Input() enableAttachLostBarcodeButton: boolean = true;\r\n @Input() enableLoginButton: boolean = true;\r\n membershipOption: MembershipOption[];\r\n loyaltyPointsCard$: Observable;\r\n\r\n constructor(\r\n private authService: AuthService,\r\n private membershipOptionQuery: MembershipOptionQuery,\r\n private balanceQuery: BalanceQuery,\r\n private modalService: NgbModal,\r\n private router: Router\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.loyaltyPointsCard$ = this.balanceQuery.selectPurse(config.purseConfig.virtualLoyalty);\r\n this.membershipOptionQuery.selectAll().subscribe((options) => {\r\n this.membershipOption = options as MembershipOption[];\r\n });\r\n }\r\n\r\n loginToChild() {\r\n firstValueFrom(this.authService.switchUser(this.child.MemberId, false))\r\n .then(() => this.router.navigate(['/']))\r\n .then(() => location.reload());\r\n }\r\n\r\n openChildBarcode() {\r\n const modalRef = this.modalService.open(ChildBarcodesCarouselComponent, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n windowClass: 'children-barcodes',\r\n });\r\n modalRef.componentInstance.childId = this.child.MemberId.toString();\r\n }\r\n\r\n /**\r\n * Will open dialog to create and update barcode\r\n * @param isBarcodeLost flag to check if the\r\n * barcode update or not.\r\n */\r\n linkNewBarcode(isBarcodeLost: boolean = false) {\r\n const modalRef = this.modalService.open(LostBarcodeModalComponent, { centered: true, windowClass: 'link-barcode-modal' });\r\n modalRef.componentInstance.childId = this.child.Id;\r\n if (isBarcodeLost) {\r\n modalRef.componentInstance.isBarcodeLost = true;\r\n }\r\n }\r\n}\r\n","\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

\r\n Children you have added {{ children.data?.length }}/{{ children.limit }}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
Add Child
\r\n
\r\n
\r\n
0\">\r\n
\r\n \r\n
\r\n Upgrade Child\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ChildQuery, ChildService, ChildViewModel } from '@fgb/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { UpgradeChildrenComponent } from '../upgrade-children/upgrade-children.component';\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\n\r\n@Component({\r\n selector: 'fgb-child-list',\r\n templateUrl: 'child-list.component.html',\r\n styleUrls: ['child-list.component.scss'],\r\n})\r\nexport class ChildListComponent implements OnInit {\r\n children$: Observable;\r\n customOptions: OwlOptions = {\r\n margin: OwlCarouselSettings.Margin,\r\n pullDrag: false,\r\n navSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: { items: 1 },\r\n 400: { items: 1 },\r\n 740: { items: 3 },\r\n },\r\n };\r\n loaded$: Observable;\r\n\r\n constructor(private childQuery: ChildQuery, private childService: ChildService, private modalService: NgbModal) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.childService.fetchChildren());\r\n firstValueFrom(this.childService.fetchChildCountLimit());\r\n\r\n this.children$ = this.childQuery.getChildrenInfo();\r\n this.loaded$ = this.childQuery.isLoaded$;\r\n }\r\n\r\n upgradeChildren(freeChildren: ChildViewModel[]) {\r\n const modal = this.modalService.open(UpgradeChildrenComponent, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n windowClass: 'upgrade-children-modal',\r\n size: 'lg',\r\n });\r\n modal.componentInstance.children = freeChildren;\r\n }\r\n}\r\n","
\r\n

Guardian

\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n

The official Kids club of Fortress!

\r\n

\r\n The Fortress Kids Club, is the best way to show your Fortress pride! Sign up today and enjoy exclusive kids-only\r\n offers and unique experiences.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n

The official Kids club of Fortress

\r\n

\r\n The Fortress Kids Club, is the best way to show your Fortress pride! Sign up today and enjoy exclusive kids-only\r\n offers and unique experiences.\r\n

\r\n \r\n Click Here to Register as a Guardian\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Free

\r\n

Basic Membership

\r\n
available for all fans ages 12 and under!
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Basic Membership Benefits Include:\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n - Membership card and lanyard
\r\n - Play games in the Fortress Portal
\r\n - Exclusive email offers
\r\n\r\n *Offers subject to change\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

$20

\r\n

King membership

\r\n
available to all fans ages 4-12!
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n King Membership Benefits Include:\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n - Membership card and lanyard
\r\n - Play games in the Fortress Portal
\r\n - Exclusive email offers
\r\n - 2020 Fortress yearbook
\r\n\r\n *Offers subject to change\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ChildQuery, ChildService, ChildViewModel, MembershipOptionService } from '@fgb/core';\r\nimport { Observable, Subscription, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-guardian-page',\r\n templateUrl: './guardian-page.component.html',\r\n styleUrls: ['./guardian-page.component.scss'],\r\n})\r\nexport class GuardianPageComponent implements OnInit {\r\n public childLimit: number = 10;\r\n public emptyChildren: any[];\r\n isGuardianSubscription: Subscription;\r\n isGuardian: boolean;\r\n\r\n children$: Observable;\r\n freeChildren: ChildViewModel[];\r\n\r\n constructor(private childQuery: ChildQuery, private membershipOptionService: MembershipOptionService, private childService: ChildService) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.childService.fetchGuardian()).then(() => {\r\n firstValueFrom(this.membershipOptionService.fetchMembershipOptions());\r\n });\r\n this.isGuardianSubscription = this.childQuery.selectGuardian().subscribe(guardian => {\r\n this.isGuardian = !!guardian;\r\n });\r\n }\r\n\r\n ngOnDestroy(){\r\n if(this.isGuardianSubscription){\r\n this.isGuardianSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n becomeGuardian(): void {\r\n firstValueFrom(this.childService\r\n .registerAsGuardian())\r\n .then(() => (this.isGuardian = true));\r\n }\r\n}\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i4 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2 from 'angularx-qrcode';\nimport { QRCodeModule } from 'angularx-qrcode';\nimport * as i1 from 'ngx-device-detector';\nimport * as i2$1 from '@fgb/core';\nimport * as i3 from '@ng-bootstrap/ng-bootstrap';\nimport * as i5 from '@fgb/portal-component-library/src/lib/shared/loading';\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\nimport * as i6 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i7 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass MobilePassModalComponent {\n constructor() { }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MobilePassModalComponent, selector: \"fgbcl-mobile-pass-modal\", inputs: { url: \"url\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n

Download Mobile Pass

\\r\\n

Please scan the QR code using your phone to download your pass

\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i4.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i2.QRCodeComponent, selector: \"qrcode\", inputs: [\"allowEmptyString\", \"colorDark\", \"colorLight\", \"cssClass\", \"elementType\", \"errorCorrectionLevel\", \"imageSrc\", \"imageHeight\", \"imageWidth\", \"margin\", \"qrdata\", \"scale\", \"version\", \"width\", \"alt\", \"ariaLabel\", \"title\"], outputs: [\"qrCodeURL\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassModalComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-mobile-pass-modal', template: \"
\\r\\n
\\r\\n

Download Mobile Pass

\\r\\n

Please scan the QR code using your phone to download your pass

\\r\\n \\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { url: [{\n type: Input\n }] } });\n\nclass MobilePassComponent {\n constructor(deviceDetector, loggingService, modalService, mobilePassService, mobilePassQuery) {\n this.deviceDetector = deviceDetector;\n this.loggingService = loggingService;\n this.modalService = modalService;\n this.mobilePassService = mobilePassService;\n this.mobilePassQuery = mobilePassQuery;\n this.separateTop = false;\n }\n ngOnInit() {\n this.mobilePassService.fetchPass(this.memberId).toPromise();\n this.mobilePassUrl$ = this.mobilePassQuery.selectFirst();\n }\n downloadPassDesktop(url) {\n if (!this.deviceDetector.isMobile()) {\n // Produce a QR code for the mobile link so a user is redirected to the mobile link\n // when scanning on their phone.\n this.loggingService.info('Desktop detected, formatting QR code.');\n const modal = this.modalService.open(MobilePassModalComponent);\n modal.componentInstance.url = url;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassComponent, deps: [{ token: i1.DeviceDetectorService }, { token: i2$1.LoggingService }, { token: i3.NgbModal }, { token: i2$1.MobilePassService }, { token: i2$1.MobilePassQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: MobilePassComponent, selector: \"fgbcl-mobile-pass\", inputs: { memberId: \"memberId\", separateTop: \"separateTop\" }, ngImport: i0, template: \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Error {{ mobilePass.error }}\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\", styles: [\".btn-android{background-color:#fff}.horizontal-bar{width:90%;margin:0 auto;border-bottom:1px solid white}\\n\"], dependencies: [{ kind: \"directive\", type: i4.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i5.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"pipe\", type: i4.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i6.WithLoadingPipe, name: \"withLoading\" }, { kind: \"pipe\", type: i7.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-mobile-pass', template: \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Error {{ mobilePass.error }}\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\", styles: [\".btn-android{background-color:#fff}.horizontal-bar{width:90%;margin:0 auto;border-bottom:1px solid white}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.DeviceDetectorService }, { type: i2$1.LoggingService }, { type: i3.NgbModal }, { type: i2$1.MobilePassService }, { type: i2$1.MobilePassQuery }], propDecorators: { memberId: [{\n type: Input\n }], separateTop: [{\n type: Input\n }] } });\n\nclass MobilePassModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassModule, declarations: [MobilePassComponent], imports: [CommonModule,\n PipesModule,\n LoadingModule,\n FGBSharedModule], exports: [MobilePassComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassModule, imports: [CommonModule,\n PipesModule,\n LoadingModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MobilePassComponent],\n imports: [\n CommonModule,\n PipesModule,\n LoadingModule,\n FGBSharedModule\n ],\n exports: [MobilePassComponent],\n }]\n }] });\n\nclass MobilePassModalModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassModalModule, declarations: [MobilePassModalComponent], imports: [CommonModule,\n QRCodeModule], exports: [MobilePassModalComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassModalModule, imports: [CommonModule,\n QRCodeModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MobilePassModalModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n MobilePassModalComponent\n ],\n imports: [\n CommonModule,\n QRCodeModule\n ],\n exports: [\n MobilePassModalComponent\n ]\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MobilePassComponent, MobilePassModalComponent, MobilePassModalModule, MobilePassModule };\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Card } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-card-list-item',\r\n templateUrl: './card-list-item.component.html',\r\n styleUrls: ['./card-list-item.component.scss']\r\n})\r\nexport class CardListItemComponent implements OnInit {\r\n @Input() card: Card;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","
\r\n
\r\n

{{ card.MemberId }}

\r\n \r\n
\r\n
\r\n","
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Card, CardQuery } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-card-list',\r\n templateUrl: './card-list.component.html',\r\n styleUrls: ['./card-list.component.scss']\r\n})\r\nexport class CardListComponent implements OnInit {\r\n cards$: Observable;\r\n\r\n constructor(private cardQuery: CardQuery) { }\r\n\r\n ngOnInit() {\r\n this.cards$ = this.cardQuery.selectCards();\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-card-page',\r\n templateUrl: './card-page.component.html',\r\n styleUrls: ['./card-page.component.scss']\r\n})\r\nexport class CardPageComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","\r\n","\r\n
\r\n
\r\n
AUTO RELOAD
\r\n 0 &&\r\n autoTopUpSubscription.AutoTopUpItems[0].HasSubscription\r\n \"\r\n class=\"float-end row no-gutters align-items-center m-1\"\r\n >\r\n \r\n {{ autoTopUpSubscription.AutoTopUpItems[0].Active ? 'Active' : 'InActive' }}\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
1\" class=\"row\">\r\n
\r\n
Below Amount
\r\n 0 &&\r\n autoTopUpSubscription.AutoTopUpItems[0].HasSubscription &&\r\n !autoTopUpSubscription.AutoTopUpItems[0].Active\r\n \"\r\n (change)=\"onBelowChange($event.target.value)\"\r\n class=\"form-control mb-2\"\r\n [value]=\"\r\n autoTopUpSubscription.AutoTopUpItems && autoTopUpSubscription.AutoTopUpItems.length > 0\r\n ? autoTopUpSubscription.AutoTopUpItems[0].Threshold\r\n : autoTopUpSubscription.AutoTopUpTresholds[0]\r\n \"\r\n >\r\n \r\n \r\n
\r\n
\r\n
Load Amount
\r\n 0 &&\r\n autoTopUpSubscription.AutoTopUpItems[0].HasSubscription &&\r\n !autoTopUpSubscription.AutoTopUpItems[0].Active\r\n \"\r\n (change)=\"onAmountChange($event.target.value)\"\r\n class=\"form-control mb-2\"\r\n [value]=\"\r\n autoTopUpSubscription.AutoTopUpItems && autoTopUpSubscription.AutoTopUpItems.length > 0\r\n ? autoTopUpSubscription.AutoTopUpItems[0].Amount\r\n : autoTopUpSubscription.AutoTopUpAmounts[0]\r\n \"\r\n >\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n Update\r\n \r\n \r\n\r\n \r\n \r\n Activate eCash Auto Reload\r\n \r\n \r\n
\r\n \r\n \r\n Delete Payment Card\r\n \r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Auto Load ecash

\r\n
\r\n Are you sure you want to top up\r\n {{ topUpAmount / 100 | FortressCurrencyPipe : 'USD' }} every time your\r\n balance is below the amount of\r\n {{ belowAmount / 100 | FortressCurrencyPipe : 'USD' }}\r\n ?\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
0\" class=\"modal-content\">\r\n
\r\n
\r\n
\r\n

Auto Load ecash

\r\n
\r\n Are you sure you want to top up\r\n {{ topUpAmount / 100 | FortressCurrencyPipe : 'USD' }} every time your\r\n balance is below the amount of\r\n {{ belowAmount / 100 | FortressCurrencyPipe : 'USD' }}\r\n ?\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Confirm\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
How to set up Auto Top-Up
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

To initially set up auto top-up set your below and top-up amount.

\r\n

If your account falls below the below amount your top-up amount will automatically be added.

\r\n

Once set up you can inactivate your auto top-up without removing your card details, or update your amounts.

\r\n

Clicking delete will cancel your auto top-up and remove your card details from the system.

\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
Are you sure you want to delete your payment card?
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n

How to auto reload

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

\r\n Auto reload will continually reload your membership card with eCash, every time your balance falls below the\r\n designated amount.\r\n

\r\n

\r\n Step 1. In “Below Amount” enter the price point that you want your account to be\r\n automatically reloaded.\r\n

\r\n

\r\n Step 2. In “Load Amount” enter the amount that will be added to your membership card once\r\n your balance goes below the point outlined in step 1.\r\n

\r\n

Step 3. Click the green Activate eCash Auto Reload button.

\r\n

Step 4. Enter your credit card or debit card details in the fields required.

\r\n

Step 5. Click Submit.

\r\n

Once set up you can disable your auto reload without removing your card details, or update your amounts.

\r\n

Clicking delete payment card will cancel your auto reload and remove your card details from the system.

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport {\r\n MemberQuery,\r\n AutoTopUpModel,\r\n AutoTopUpSubscriptionModel,\r\n AutoTopupQuery,\r\n AutoTopupService,\r\n config,\r\n EcashService,\r\n TopUpAmountTypeId,\r\n} from '@fgb/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { tap, map } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-autotopup',\r\n templateUrl: 'autotopup.component.html',\r\n styleUrls: ['./autotopup.component.scss'],\r\n})\r\nexport class AutotopupComponent implements OnInit {\r\n amounts$: Observable;\r\n amount: number;\r\n autoTopUpSubscription$: Observable;\r\n subcriptionActive: boolean;\r\n belowAmount: number;\r\n topUpAmount: number;\r\n hasSubscription$: Observable;\r\n\r\n constructor(\r\n private ecashService: EcashService,\r\n private autoTopupService: AutoTopupService,\r\n private autoTopupQuery: AutoTopupQuery,\r\n private memberQuery: MemberQuery,\r\n private modalService: NgbModal\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.amounts$ = this.ecashService.getTopUpAmounts(TopUpAmountTypeId.TopUpAmount).pipe(\r\n tap((amounts) => {\r\n if (amounts.length > 0) {\r\n this.amount = amounts[0];\r\n }\r\n })\r\n );\r\n firstValueFrom(this.autoTopupService.fetchAutoTopUpSubscriptions());\r\n this.autoTopUpSubscription$ = this.autoTopupQuery.select().pipe(\r\n tap((amounts) => {\r\n if (amounts.AutoTopUpItems && amounts.AutoTopUpItems.length > 0) {\r\n this.belowAmount = amounts.AutoTopUpItems[0].Threshold;\r\n this.topUpAmount = amounts.AutoTopUpItems[0].Amount;\r\n } else {\r\n if (\r\n amounts &&\r\n amounts.AutoTopUpTresholds &&\r\n amounts.AutoTopUpTresholds.length > 0 &&\r\n amounts.AutoTopUpAmounts &&\r\n amounts.AutoTopUpAmounts.length > 0\r\n ) {\r\n this.belowAmount = amounts.AutoTopUpTresholds[0];\r\n this.topUpAmount = amounts.AutoTopUpAmounts[0];\r\n }\r\n }\r\n })\r\n );\r\n\r\n this.hasSubscription$ = this.autoTopupQuery.select().pipe(\r\n map((amounts) => {\r\n if (amounts.AutoTopUpItems && amounts.AutoTopUpItems.length > 0) {\r\n return amounts.AutoTopUpItems[0].HasSubscription;\r\n } else {\r\n return false;\r\n }\r\n })\r\n );\r\n }\r\n\r\n updateSubscription(currentTopUpAmount: number, currentBelowAmount: number) {\r\n let user = this.memberQuery.getValue().user;\r\n\r\n if (user) {\r\n let model: AutoTopUpModel = {\r\n Active: true,\r\n Amount: this.topUpAmount ? this.topUpAmount : currentTopUpAmount,\r\n Threshold: this.belowAmount ? this.belowAmount : currentBelowAmount,\r\n PortalId: user.portalId,\r\n MemberId: user.memberId,\r\n HasSubscription: true,\r\n SuccessUrl: config.portalUrl + '/ecash/result',\r\n FailureUrl: config.portalUrl + '/ecash/result',\r\n };\r\n\r\n firstValueFrom(this.autoTopupService.updateSubscription(model));\r\n this.modalService.dismissAll();\r\n }\r\n }\r\n\r\n toggleSubscription(currentActiveStatus: boolean, belowAmount: number, topUpAmount: number) {\r\n let user = this.memberQuery.getValue().user;\r\n\r\n if (user) {\r\n let model: AutoTopUpModel = {\r\n Active: !currentActiveStatus,\r\n Amount: topUpAmount,\r\n Threshold: belowAmount,\r\n PortalId: user.portalId,\r\n MemberId: user.memberId,\r\n HasSubscription: true,\r\n SuccessUrl: config.portalUrl + '/ecash/result',\r\n FailureUrl: config.portalUrl + '/ecash/result',\r\n };\r\n\r\n firstValueFrom(this.autoTopupService.updateSubscription(model));\r\n this.modalService.dismissAll();\r\n }\r\n }\r\n\r\n deleteSubscription() {\r\n let user = this.memberQuery.getValue().user;\r\n\r\n if (user) {\r\n let model: AutoTopUpModel = {\r\n Amount: 0,\r\n Threshold: 0,\r\n PortalId: user.portalId,\r\n MemberId: user.memberId,\r\n SuccessUrl: config.portalUrl + '/ecash/result',\r\n FailureUrl: config.portalUrl + '/ecash/result',\r\n };\r\n\r\n firstValueFrom(this.autoTopupService.deleteSubscription(model));\r\n firstValueFrom(this.autoTopupService.fetchAutoTopUpSubscriptions());\r\n this.modalService.dismissAll();\r\n }\r\n }\r\n\r\n enableDisableToggle(event: any) {\r\n this.subcriptionActive = event.target.checked;\r\n }\r\n\r\n open(content: any) {\r\n let user = this.memberQuery.getValue().user;\r\n\r\n if (user) {\r\n let model: AutoTopUpModel = {\r\n Amount: this.topUpAmount,\r\n Threshold: this.belowAmount,\r\n PortalId: user.portalId,\r\n MemberId: user.memberId,\r\n SuccessUrl: config.portalUrl + '/ecash/result?autotopup=true',\r\n FailureUrl: config.portalUrl + '/ecash/result',\r\n };\r\n\r\n this.autoTopupService.autoTopUp(model);\r\n }\r\n this.modalService.open(content);\r\n }\r\n\r\n onBelowChange(amount: number) {\r\n this.belowAmount = amount;\r\n }\r\n\r\n onAmountChange(amount: number) {\r\n this.topUpAmount = amount;\r\n }\r\n}\r\n","
\r\n
\r\n
LOAD ECASH
\r\n \r\n
\r\n
\r\n
Load Amount
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n

Load ecash

\r\n
\r\n Are you sure you want to load\r\n {{ amount / 100 | FortressCurrencyPipe : 'USD' }} to your account?\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n

How to load manually ?

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Top-up your membership card, with a once off amount of eCash.

\r\n

Step 1. Enter the desire amount you wish top up with in “Load amount”.

\r\n

Step 2. Click the green top-up button.

\r\n

\r\n Step 3. Enter your credit card or debit card details in the fields required.\r\n

\r\n

Step 4. Click submit.

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { EcashService, MemberQuery, config } from '@fgb/core';\r\nimport { TopUpViewModel } from '@fgb/core';\r\nimport { TopUpAmountTypeId } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { tap } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-topup',\r\n templateUrl: 'topup.component.html',\r\n styleUrls: ['./topup.component.scss'],\r\n})\r\nexport class TopupComponent implements OnInit {\r\n amounts$: Observable;\r\n amount: number;\r\n constructor(private ecashService: EcashService, private memberQuery: MemberQuery, private modalService: NgbModal) {}\r\n\r\n ngOnInit() {\r\n this.amounts$ = this.ecashService.getTopUpAmounts(TopUpAmountTypeId.TopUpAmount).pipe(\r\n tap(amounts => {\r\n if (amounts.length > 0) {\r\n this.amount = amounts[0];\r\n }\r\n })\r\n );\r\n }\r\n\r\n setAmount(amount: number) {\r\n this.amount = amount;\r\n }\r\n\r\n open(content: any) {\r\n let model: TopUpViewModel;\r\n let user = this.memberQuery.getValue().user;\r\n\r\n if (user) {\r\n model = new TopUpViewModel(\r\n +user.externalRef,\r\n this.amount,\r\n user.portalId,\r\n user.memberId,\r\n config.portalUrl + '/ecash/result',\r\n config.portalUrl + '/ecash/result'\r\n );\r\n this.ecashService.topUp([model]);\r\n }\r\n this.modalService.open(content);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport {\r\n CardTokenQuery,\r\n CardToken,\r\n TransactionType,\r\n MemberQuery,\r\n MemberCard,\r\n MemberCardQuery,\r\n BalanceQuery,\r\n config,\r\n} from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-ecash-page',\r\n templateUrl: './ecash-page.component.html',\r\n styleUrls: ['./ecash-page.component.scss'],\r\n})\r\nexport class EcashPageComponent implements OnInit {\r\n defaultCardToken$: Observable;\r\n memberCard$: Observable;\r\n combinedCard$: Observable;\r\n\r\n constructor(\r\n private cardTokenQuery: CardTokenQuery,\r\n private memberQuery: MemberQuery,\r\n private memberCardQuery: MemberCardQuery,\r\n private balanceQuery: BalanceQuery\r\n ) {}\r\n\r\n transactionStartDate: Date;\r\n transactionEndDate: Date;\r\n transactionType: TransactionType;\r\n // expose the enum to the template\r\n transactionTypes = TransactionType;\r\n memberId: string;\r\n ngOnInit() {\r\n this.memberCard$ = this.memberCardQuery.selectCurrentCard();\r\n this.memberId = this.memberQuery.getUserContext().memberId;\r\n this.transactionType = TransactionType.ecash;\r\n this.transactionEndDate = new Date();\r\n this.transactionStartDate = new Date();\r\n this.transactionStartDate.setDate(new Date(this.transactionStartDate).getDate() - 1);\r\n this.defaultCardToken$ = this.cardTokenQuery.selectDefaultCard();\r\n this.combinedCard$ = this.balanceQuery.selectPurse(config.purseConfig.combined);\r\n }\r\n\r\n setTransactionType(type: TransactionType) {\r\n this.transactionType = type;\r\n }\r\n}\r\n","
\r\n

{{ 'ecash.page.title' | translate }}

\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ 'ecash.balance.bar' | translate }} {{ combinedCard$ | async | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","
\r\n
\r\n
\r\n
\r\n

Load Successful

\r\n\r\n
\r\n
\r\n
\r\n Thank you for topping up\r\n {{ amount / 100 | FortressCurrencyPipe : 'USD' }} to your account.\r\n
\r\n
\r\n Your eCash balance will be updated automatically after your balance falls below the minimum threshold.\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Thank you for topping up\r\n {{ amount / 100 | FortressCurrencyPipe : 'USD' }} to your account.\r\n
\r\n
Your eCash balance will be updated shortly
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { EcashService, TopUpAmountTypeId } from '@fgb/core';\r\nimport { tap } from 'rxjs/operators';\r\n\r\n@Component({\r\n templateUrl: 'ecash-success-page.component.html',\r\n styleUrls: ['ecash-success-page.component.scss'],\r\n selector: 'fgb-ecash-success',\r\n})\r\nexport class EcashSuccessPageComponent implements OnInit {\r\n amounts$: Observable;\r\n amount: number;\r\n autoTopUp: boolean = false;\r\n constructor(private ecashService: EcashService, private route: ActivatedRoute) {}\r\n ngOnInit() {\r\n this.amounts$ = this.ecashService.getTopUpAmounts(TopUpAmountTypeId.TopUpAmount).pipe(\r\n tap((amounts) => {\r\n if (amounts.length > 0) {\r\n this.amount = amounts[0];\r\n }\r\n })\r\n );\r\n\r\n if (this.route.snapshot.queryParamMap.get('autotopup')) {\r\n this.autoTopUp = true;\r\n }\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n templateUrl: 'ecash-failure-page.component.html',\r\n styleUrls: ['ecash-failure-page.component.scss'],\r\n selector: 'fgb-ecash-failure',\r\n})\r\nexport class EcashFailurePageComponent implements OnInit {\r\n ngOnInit() {}\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n

Load Failed

\r\n
\r\n
Unfortunately, the transaction was not processed.
\r\n
Please try again or contact our support team.
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { EcashService, config } from '@fgb/core';\r\nimport { ProviderUiActionResponse } from '@fgb/core';\r\nimport { CallBackModel } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-ecash-result',\r\n templateUrl: 'ecash-result-page.component.html'\r\n})\r\nexport class EcashResultPageComponent implements OnInit {\r\n response = new ProviderUiActionResponse();\r\n\r\n constructor(private ecashService: EcashService, private router: Router) {}\r\n\r\n ngOnInit() {\r\n this.processCallBack();\r\n }\r\n\r\n processCallBack() {\r\n this.ecashService.callBack(new CallBackModel('', config.baseApiUrl + this.router.url)).subscribe(response => {\r\n if (response.Success) {\r\n this.router.navigateByUrl('ecash/success');\r\n } else {\r\n this.router.navigateByUrl('ecash/failure');\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { config, MemberDetails, MemberQuery, BalanceQuery } from '@fgb/core';\r\nimport { TransactionType } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-ecash-history',\r\n templateUrl: './ecash-history.component.html',\r\n styleUrls: ['./ecash-history.component.scss'],\r\n})\r\nexport class EcashHistoryPageComponent implements OnInit {\r\n transactionStartDate: Date;\r\n transactionEndDate: Date;\r\n transactionType: TransactionType;\r\n transactionTypes = TransactionType;\r\n\r\n memberDetails$: Observable;\r\n combinedCard$: Observable;\r\n loyaltyPointsCard$: Observable;\r\n\r\n constructor(private memberQuery: MemberQuery, private balanceQuery: BalanceQuery) {}\r\n memberId: string;\r\n\r\n ngOnInit() {\r\n this.memberId = this.memberQuery.getUserContext().memberId;\r\n this.memberDetails$ = this.memberQuery.selectMemberDetails();\r\n this.combinedCard$ = this.balanceQuery.selectPurse(config.purseConfig.combined);\r\n this.loyaltyPointsCard$ = this.balanceQuery.selectPurse(config.purseConfig.virtualLoyalty);\r\n this.transactionType = TransactionType.ecash;\r\n this.transactionEndDate = new Date();\r\n this.transactionStartDate = new Date();\r\n this.transactionStartDate.setDate(new Date(this.transactionStartDate).getDate() - 1);\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

{{ 'purchase.success.title' | translate }}

\r\n

\r\n {{ 'purchase.success.description' | translate }}\r\n {{ 'purchase.success.description.email' | translate }}{{ 'purchase.success.description.number' | translate }}\r\n

\r\n
\r\n {{ 'purchase.success.total.label' | translate }}{{ orderDetails.OrderMerchantPrice / 100 | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute, Params } from '@angular/router';\r\nimport { PurchaseService, PurchaseOrderItemModel } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map, switchMap } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-portal-product-success-page',\r\n templateUrl: './portal-product-success-page.component.html',\r\n styleUrls: ['./portal-product-success-page.component.scss'],\r\n})\r\nexport class PortalProductSuccessPageComponent implements OnInit {\r\n orderDetails$: Observable;\r\n\r\n constructor(private route: ActivatedRoute, private purchaseService: PurchaseService) {}\r\n\r\n ngOnInit() {\r\n this.orderDetails$ = this.route.queryParams.pipe(\r\n map((params: Params) => params['orderId']),\r\n switchMap((orderId: string) => {\r\n return this.purchaseService.fetchOrderById(orderId);\r\n })\r\n );\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

{{ 'purchase.failure.title' | translate }}

\r\n

\r\n {{ 'purchase.failure.description' | translate }}\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-portal-product-failure-page',\r\n templateUrl: './portal-product-failure-page.component.html',\r\n styleUrls: ['./portal-product-failure-page.component.scss']\r\n})\r\nexport class PortalProductFailurePageComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { LoggingService, PurchaseService } from '@fgb/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-portal-product-results-page',\r\n templateUrl: './portal-product-results-page.component.html',\r\n styleUrls: ['./portal-product-results-page.component.scss'],\r\n})\r\nexport class PortalProductResultsPageComponent implements OnInit {\r\n constructor(\r\n private purchaseService: PurchaseService,\r\n private route: ActivatedRoute,\r\n private logService: LoggingService,\r\n public router: Router\r\n ) {}\r\n\r\n ngOnInit() {\r\n let orderId: string | null = null;\r\n if (this.route.snapshot.queryParamMap.keys.map(x => x.toUpperCase()).includes('ORDERID')) {\r\n const orderIdQueryStringKey = this.route.snapshot.queryParamMap.keys.filter(x => x.toUpperCase() === 'ORDERID')[0];\r\n orderId = this.route.snapshot.queryParamMap.get(orderIdQueryStringKey);\r\n }\r\n\r\n if (!orderId) {\r\n this.logService.error('No order ID could be found in the query string');\r\n return;\r\n }\r\n\r\n this.purchaseService.checkOrderSuccessStatus(orderId, '/portalproducts/success', '/portalproducts/failure');\r\n }\r\n}\r\n","
\r\n \r\n

Payment processing...

\r\n
\r\n","
\r\n

{{ 'ticket.transfer.page.title' | translate }}

\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{{ 'ticket.transfer.page.welcome.text' | translate }}

\r\n

\r\n {{ 'ticket.transfer.page.welcome.description' | translate }}\r\n

\r\n
\r\n
\r\n \r\n {{ 'manage.contact.btn.text' | translate }}\r\n arrow_forward_ios\r\n \r\n
\r\n
\r\n

Home Game

\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n

Past Home Games

\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-transfer-page',\r\n templateUrl: './ticket-transfer-page.component.html',\r\n styleUrls: ['./ticket-transfer-page.component.scss'],\r\n})\r\nexport class TicketTransferPageComponent implements OnInit {\r\n showPastGamesSection: boolean = true;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n\r\n shouldShowPastGameSection(count: number) {\r\n if (count <= 0) {\r\n this.showPastGamesSection = false;\r\n }\r\n }\r\n}\r\n","\r\n
\r\n \r\n 0; else noTickets\">\r\n \r\n
\r\n \r\n
\r\n \r\n SELECT A SEAT\r\n \r\n \r\n

TICKET WINDOW NOT OPEN

\r\n
\r\n

\r\n Below select the ticket that you wish to forward on to a friend or family member. Then click the green transfer\r\n now button. Members will receive 40 points every time they forward a ticket.\r\n

\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n

TICKETS NOT AVAILABLE TO FORWARD

\r\n
\r\n
\r\n
\r\n
\r\n \r\n

TICKETS

\r\n \r\n
\r\n\r\n \r\n \r\n 0\">\r\n

Tickets

\r\n \r\n
\r\n
\r\n\r\n \r\n 0\">\r\n

Transferred

\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n

Sorry, No Tickets Available To Forward

\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Ticket, TicketQuery, GameQuery, Game, GameService, GameDataSource } from '@fgb/core';\r\n\r\nimport * as _moment from 'moment';\r\nimport { delay, tap } from 'rxjs/operators';\r\nconst moment = _moment;\r\n\r\n@Component({\r\n selector: 'fgb-tickets-page',\r\n templateUrl: './tickets-page.component.html',\r\n styleUrls: ['./tickets-page.component.scss'],\r\n})\r\nexport class TicketsPageComponent implements OnInit {\r\n selectedTickets: number = 0;\r\n gameNumber: number;\r\n ticketList$: Observable;\r\n transferredTicketList$: Observable;\r\n availableTicketList$: Observable;\r\n pastGame: boolean = false;\r\n showTicketColumn1: boolean = false;\r\n showTicketColumn2: boolean = false;\r\n minDateString: string = '0001-01-01T00:00:00';\r\n activeGame$: Observable;\r\n constructor(\r\n private route: ActivatedRoute,\r\n private ticketQuery: TicketQuery,\r\n private gameQuery: GameQuery,\r\n private gameService: GameService\r\n ) {}\r\n\r\n ngOnInit() {\r\n let gameNumber = this.route.snapshot.paramMap.get('gameNumber');\r\n if (gameNumber) {\r\n this.gameNumber = +gameNumber;\r\n }\r\n\r\n this.transferredTicketList$ = this.ticketQuery.selectTransferredTicketsForGame(this.gameNumber).pipe(delay(0));\r\n\r\n this.ticketList$ = this.ticketQuery.selectTicketsForGame(this.gameNumber).pipe(\r\n tap((tickets) => tickets.sort((a, b) => a.Flag - b.Flag)),\r\n delay(0)\r\n );\r\n\r\n this.availableTicketList$ = this.ticketQuery.selectAvaialbleTicketsForGame(this.gameNumber).pipe(delay(0));\r\n\r\n this.fetchGamesAndSetActiveGame();\r\n this.activeGame$ = (this.gameQuery.selectActive() as Observable).pipe(tap((game) => this.isPastGame(game)));\r\n }\r\n\r\n /**\r\n * Will check if the current\r\n * game is in the past\r\n * @param game game to be checked\r\n */\r\n isPastGame(game: Game | undefined) {\r\n if (!!game) {\r\n if (moment.utc(game.Date).endOf('day').isBefore(moment.utc())) {\r\n this.pastGame = true;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Will fetch data if not cached but will also\r\n * set a game as active.\r\n */\r\n fetchGamesAndSetActiveGame() {\r\n let activeGame = this.gameQuery.getActive() as Game;\r\n if (activeGame) {\r\n if (moment.utc(activeGame.Date).endOf('day').isBefore(moment.utc())) {\r\n this.pastGame = true;\r\n }\r\n } else {\r\n this.gameService.fetchGamesAndSetActiveGame(this.gameNumber, GameDataSource.ExternalRef);\r\n }\r\n }\r\n\r\n TransferWindowExists(startDate: Date | string, endDate: Date | string) {\r\n return !(\r\n moment.utc(startDate).isSame(moment.utc(this.minDateString)) || moment.utc(endDate).isSame(moment.utc(this.minDateString))\r\n );\r\n }\r\n\r\n IsWindowOpen(startDate: string | Date, endDate: string | Date) {\r\n return moment.utc(startDate).isBefore(moment.utc()) && moment.utc(endDate).isAfter(moment.utc());\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { GameDataSource, GameService } from '@fgb/core';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-transfer-confirm-page',\r\n templateUrl: './transfer-confirm-page.component.html',\r\n styleUrls: ['./transfer-confirm-page.component.scss'],\r\n})\r\nexport class TransferConfirmPageComponent implements OnInit {\r\n constructor(private gameService: GameService) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.gameService.fetchGames('', GameDataSource.ExternalRef));\r\n }\r\n}\r\n","\r\n
\r\n

SELECTED Ticket(S)

\r\n \r\n

TRANSFER TO

\r\n \r\n
\r\n","\r\n
\r\n

\r\n Ticket successfully transferred to\r\n \r\n {{ transferedTickets[0].RecipientEmailAddress }}\r\n

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Ticket NumberAreaSectionRowSeat
{{ item.ACN }}\r\n {{ item.Area }}\r\n {{ item.Stand }}{{ item.Row }}{{ item.Seat }}
\r\n\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TicketQuery, Ticket, TicketService } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { GameQuery } from '@fgb/core';\r\nimport { Game } from '@fgb/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-transfer-success-page',\r\n templateUrl: './ticket-transfer-success-page.component.html',\r\n styleUrls: ['./ticket-transfer-success-page.component.scss'],\r\n})\r\nexport class TicketTransferSuccessPageComponent implements OnInit {\r\n transferedTickets$: Observable;\r\n selectedGame: Game;\r\n\r\n constructor(\r\n private ticketQuery: TicketQuery,\r\n private gameQuery: GameQuery,\r\n private ticketService: TicketService,\r\n private router: Router\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.transferedTickets$ = this.ticketQuery.selectTransferredTickets();\r\n this.selectedGame = this.gameQuery.getActive() as Game;\r\n }\r\n\r\n goBack() {\r\n this.ticketService.resetSelectedTickets();\r\n this.router.navigateByUrl('/ticketTransfer/tickets/' + this.selectedGame.GameNumber);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-nav',\r\n templateUrl: './ticket-nav.component.html',\r\n styleUrls: ['./ticket-nav.component.scss']\r\n})\r\nexport class TicketNavComponent implements OnInit {\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n
\r\n","\r\n\r\n","import { Component, OnInit, Output, EventEmitter, Input, OnDestroy, OnChanges } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { EventModel, EventsService, TopupTicketStore } from '@fgb/core';\r\nimport { take } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-events-drop-down',\r\n templateUrl: './events-drop-down.component.html',\r\n styleUrls: ['./events-drop-down.component.scss']\r\n})\r\nexport class EventsDropDownComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() eventId: string;\r\n @Output() eventSelected = new EventEmitter();\r\n selectOption: string;\r\n newCardSelected = false;\r\n events$: Observable;\r\n\r\n firstEvenSub: Subscription;\r\n\r\n constructor(\r\n private eventService: EventsService,\r\n private topupTicketStore: TopupTicketStore\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.getAllFutureEvents();\r\n this.selectOption = this.eventId;\r\n\r\n // if there are no preselected gameNumbers / eventIds we selected the first from the list\r\n this.firstEvenSub = this.events$.pipe(take(1)).subscribe(events => {\r\n if (this.eventId === '0') {\r\n if (events.length > 0) {\r\n this.eventId = events[0].GameNumber.toString();\r\n this.emitSelectedEvent(this.eventId);\r\n this.selectOption = this.eventId;\r\n }\r\n }\r\n });\r\n }\r\n\r\n ngOnChanges() {\r\n this.selectOption = this.eventId;\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.firstEvenSub) {\r\n this.firstEvenSub.unsubscribe();\r\n }\r\n }\r\n\r\n public getAllFutureEvents() {\r\n this.events$ = this.eventService.getEvents();\r\n }\r\n\r\n selectEvent() {\r\n this.emitSelectedEvent(this.selectOption);\r\n }\r\n\r\n emitSelectedEvent(gameNumber: string) {\r\n this.topupTicketStore.clearAllTickets();\r\n this.eventSelected.emit(gameNumber);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { config } from '@fgb/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BalanceQuery } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-ecash-balance',\r\n templateUrl: './ecash-balance.component.html',\r\n styleUrls: ['./ecash-balance.component.scss'],\r\n})\r\nexport class EcashBalanceComponent implements OnInit {\r\n combinedCard$: Observable;\r\n subscription: Subscription = new Subscription();\r\n\r\n constructor(private balanceQuery: BalanceQuery) {}\r\n\r\n ngOnInit() {\r\n this.combinedCard$ = this.balanceQuery.selectPurse(config.purseConfig.combined);\r\n }\r\n}\r\n","

Account Balance {{ (combinedCard$ | async) | FortressCurrencyPipe }}

\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Ticket Barcode\r\n
\r\n
\r\n Section\r\n
\r\n
\r\n Row\r\n
\r\n
\r\n Seat\r\n
\r\n
\r\n Balance\r\n
\r\n
\r\n Transaction Amount\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ticket.barcodeText}}\r\n
\r\n
\r\n {{ticket.stand}}\r\n
\r\n
\r\n {{ticket.row}}\r\n
\r\n
\r\n {{ticket.seat}}\r\n
\r\n
\r\n {{ticket.balance | FortressCurrencyPipe: 'USD'}}\r\n
\r\n
\r\n {{ticket.amount | FortressCurrencyPipe: 'USD'}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n Ticket Barcode\r\n {{ticket.barcodeText}}\r\n
\r\n
\r\n Section\r\n {{ticket.stand}}\r\n
\r\n
\r\n Row\r\n {{ticket.row}}\r\n
\r\n
\r\n Seat\r\n {{ticket.seat}}\r\n
\r\n
\r\n Current Balance\r\n {{ticket.balance | FortressCurrencyPipe: 'USD'}}\r\n
\r\n
\r\n Transaction Amount\r\n {{ticket.amount | FortressCurrencyPipe: 'USD'}}\r\n
\r\n
1\">\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { TopUpTicketPostModel, TopupTicketStore } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-topup-checkout-list',\r\n templateUrl: './ticket-topup-checkout-list.component.html',\r\n styleUrls: ['./ticket-topup-checkout-list.component.scss']\r\n})\r\nexport class TicketTopupCheckoutListComponent implements OnInit {\r\n topUpTickets$: Observable;\r\n\r\n constructor(private topupTicketStore: TopupTicketStore) {\r\n this.topUpTickets$ = this.topupTicketStore.topUpTickets$;\r\n }\r\n\r\n ngOnInit() {}\r\n}\r\n","\r\n\r\n

TOP UP AMOUNT -\r\n 0; else zeroAmount\">\r\n {{ topUpBalance | FortressCurrencyPipe: 'USD'}}\r\n \r\n \r\n {{0 | FortressCurrencyPipe: 'USD'}}\r\n \r\n

\r\n\r\n\r\n\r\n\r\n
\r\n Are you sure that you would like to update these funds?\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit, Input, Output, EventEmitter, OnDestroy } from '@angular/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Subscription } from 'rxjs';\r\nimport { BalanceService, config, TopUpTicketPostModel, TopupTicketService, TopupTicketStore } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-topup-checkout',\r\n templateUrl: './ticket-topup-checkout.component.html',\r\n styleUrls: ['./ticket-topup-checkout.component.scss']\r\n})\r\nexport class TicketTopupCheckoutComponent implements OnInit, OnDestroy {\r\n @Input() gameNumber: number;\r\n @Output() resetView = new EventEmitter(false);\r\n topupTicketsSubscription: Subscription = new Subscription();\r\n submitTopUpSubscription: Subscription = new Subscription();\r\n\r\n topUpTickets: Array;\r\n topUpBalance: number;\r\n\r\n constructor(\r\n private topupTicketsService: TopupTicketService,\r\n private topupTicketStore: TopupTicketStore,\r\n private modalService: NgbModal,\r\n private balanceService: BalanceService\r\n ) {\r\n this.topupTicketsSubscription = this.topupTicketStore.topUpTickets$.subscribe(tickets => {\r\n this.topUpTickets = tickets;\r\n this.topUpBalance = this.getTopUpBasketBalance();\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.topupTicketsSubscription) {\r\n this.topupTicketsSubscription.unsubscribe();\r\n }\r\n\r\n if (this.submitTopUpSubscription) {\r\n this.submitTopUpSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n open(content: any) {\r\n this.modalService.open(content, { windowClass: 'topUpModal' });\r\n }\r\n\r\n submitTopUp() {\r\n this.modalService.dismissAll();\r\n this.submitTopUpSubscription = this.topupTicketsService.topUpTickets(this.topUpTickets)\r\n .subscribe(result => {\r\n this.balanceService.debitBalance(config.purseConfig.combined, this.topUpBalance);\r\n this.topupTicketStore.clearAllTopUpTickets();\r\n this.topupTicketsService.getTicketsWithBalance(this.gameNumber).subscribe();\r\n });\r\n }\r\n\r\n getTopUpBasketBalance(): number {\r\n return this.topUpTickets.map(t => t.amount).reduce((total, amount) => total + amount, 0);\r\n }\r\n\r\n isNaN(num: number) {\r\n return Number.isNaN(num);\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Output, EventEmitter, Input, OnDestroy } from '@angular/core';\r\nimport { TopupTicketStore } from '@fgb/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { take } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-top-up-ticket',\r\n templateUrl: './top-up-ticket.component.html',\r\n styleUrls: ['./top-up-ticket.component.scss']\r\n})\r\nexport class TopUpTicketComponent implements OnInit, OnDestroy {\r\n @Input() cardLayout: boolean;\r\n @Output() topUpAmountSelected = new EventEmitter();\r\n topUpAmounts$: Observable;\r\n selectOption: number;\r\n showTopUp = false;\r\n\r\n firstTopUp: Subscription;\r\n\r\n constructor(private topupTicketStore: TopupTicketStore) {\r\n this.getTopUpAmounts();\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.firstTopUp) {\r\n this.firstTopUp.unsubscribe();\r\n }\r\n }\r\n\r\n getTopUpAmounts() {\r\n this.topUpAmounts$ = this.topupTicketStore.topUpAmounts$;\r\n }\r\n\r\n selectTopUpAmount() {\r\n this.topUpAmountSelected.emit(+this.selectOption);\r\n }\r\n\r\n resetToUpAmount() {\r\n this.toggle();\r\n this.topUpAmountSelected.emit(undefined);\r\n }\r\n\r\n toggle() {\r\n this.showTopUp = !this.showTopUp;\r\n this.topUpAmountSelected.emit(+this.selectOption);\r\n\r\n this.firstTopUp = this.topUpAmounts$.pipe(take(1)).subscribe(amounts => {\r\n if (this.selectOption === undefined && amounts.length > 0) {\r\n this.selectOption = amounts[0];\r\n this.topUpAmountSelected.emit(this.selectOption);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n Active\r\n \r\n \r\n InActive\r\n \r\n
\r\n
\r\n
\r\n {{ ticketItem.BarcodeText }}\r\n
\r\n
\r\n {{ ticketItem.Stand }}\r\n
\r\n
\r\n {{ ticketItem.Row }}\r\n
\r\n
\r\n {{ ticketItem.Seat }}\r\n
\r\n
\r\n {{ ticketItem.Balance | FortressCurrencyPipe: 'USD' }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n

Add Funds is disabled when payment is inactive

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n Seat\r\n {{ ticketItem.Seat }}\r\n
\r\n
\r\n Row\r\n {{ ticketItem.Row }}\r\n
\r\n
\r\n Section\r\n {{ ticketItem.Stand }}\r\n
\r\n
\r\n
\r\n
\r\n Ticket Barcode\r\n {{ ticketItem.BarcodeText }}\r\n
\r\n
\r\n \r\n
\r\n \r\n Active\r\n \r\n \r\n InActive\r\n \r\n
\r\n
\r\n
\r\n {{ ticketItem.Balance | FortressCurrencyPipe: 'USD' }}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n

Add Funds is disabled when payment is inactive

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input, OnChanges, OnDestroy } from '@angular/core';\r\nimport {\r\n CardToken,\r\n TicketWithBalanceModel,\r\n TopUpTicketPostModel,\r\n TopupTicketStore,\r\n TopupTicketService,\r\n ManageTicketStatusModel,\r\n TopUpTicketsStatus\r\n } from '@fgb/core';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-details-unloaded',\r\n templateUrl: './ticket-details-unloaded.component.html',\r\n styleUrls: ['../ticket-details.scss']\r\n})\r\nexport class TicketDetailsUnloadedComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() ticketItem: TicketWithBalanceModel;\r\n @Input() displayAsTableItem: boolean;\r\n topUpPostItem: TopUpTicketPostModel;\r\n topUpAmountSelected: number;\r\n activeCard: CardToken;\r\n isActive: boolean;\r\n\r\n manageTicketSub: Subscription;\r\n\r\n constructor(\r\n private topupTicketStore: TopupTicketStore,\r\n private ticketsService: TopupTicketService\r\n ) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.manageTicketSub) {\r\n this.manageTicketSub.unsubscribe();\r\n }\r\n }\r\n\r\n ngOnChanges() {\r\n this.setupTopUpItem();\r\n if (this.ticketItem.Status === TopUpTicketsStatus.UnloadedActive) {\r\n this.isActive = true;\r\n } else {\r\n this.isActive = false;\r\n }\r\n }\r\n\r\n get topUpTicketsStatus() {return TopUpTicketsStatus; }\r\n\r\n setSelectedTopUpAmount(topUpAmount: number) {\r\n this.topUpAmountSelected = topUpAmount;\r\n this.topUpPostItem.amount = topUpAmount;\r\n if (topUpAmount !== undefined) {\r\n this.topupTicketStore.addOrUpdateTopUpTicket(this.topUpPostItem);\r\n } else {\r\n this.topupTicketStore.removeTopUpTicket(this.topUpPostItem.barcodeText);\r\n }\r\n }\r\n\r\n setupTopUpItem() {\r\n this.topUpPostItem = new TopUpTicketPostModel(\r\n this.ticketItem.BarcodeText,\r\n this.ticketItem.BarcodeACN,\r\n this.ticketItem.GameNumber,\r\n this.ticketItem.Area,\r\n this.ticketItem.Row,\r\n this.ticketItem.Seat,\r\n this.ticketItem.Balance,\r\n this.ticketItem.Stand,\r\n this.ticketItem.GameDate\r\n );\r\n }\r\n\r\n changeStatus() {\r\n const statusTo = ((this.isActive) ? this.topUpTicketsStatus.UnloadedActive : this.topUpTicketsStatus.UnloadedBlocked);\r\n const manageTicket = new ManageTicketStatusModel(\r\n this.ticketItem.GameNumber,\r\n this.ticketItem.BarcodeACN,\r\n this.ticketItem.BarcodeText,\r\n this.ticketItem.Area,\r\n this.ticketItem.Row,\r\n this.ticketItem.Seat,\r\n statusTo,\r\n this.ticketItem.Balance,\r\n this.ticketItem.GameDate\r\n );\r\n\r\n this.manageTicketSub = this.ticketsService.manageTicketStatus(manageTicket)\r\n .subscribe(status => {\r\n this.ticketItem.Status = status;\r\n this.topupTicketStore.addOrUpdateTicket(this.ticketItem);\r\n if (this.ticketItem.Status === this.topUpTicketsStatus.UnloadedBlocked) {\r\n this.topupTicketStore.removeTopUpTicket(this.ticketItem.BarcodeText);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Payment Status\r\n
\r\n
\r\n Ticket Barcode\r\n
\r\n
\r\n Section\r\n
\r\n
\r\n Row\r\n
\r\n
\r\n Seat\r\n
\r\n
\r\n Balance\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n No tickets found\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { TicketWithBalanceModel, TopUpTicketsStatus } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-unloaded-list',\r\n templateUrl: './ticket-unloaded-list.component.html',\r\n styleUrls: ['../ticket-topup-list.scss']\r\n})\r\nexport class TicketUnloadedListComponent implements OnInit {\r\n @Input() unloadedTickets$: Observable;\r\n activeUnloadedTickets$: Observable;\r\n blockedUnloadedTickets$: Observable;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n this.activeUnloadedTickets$ = this.unloadedTickets$.pipe(\r\n map(tickets => {\r\n return tickets.filter(ticket => ticket.Status === TopUpTicketsStatus.UnloadedActive);\r\n })\r\n );\r\n\r\n this.blockedUnloadedTickets$ = this.unloadedTickets$.pipe(\r\n map(tickets => {\r\n return tickets.filter(ticket => ticket.Status === TopUpTicketsStatus.UnloadedBlocked);\r\n })\r\n );\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n {{ ticketItem.BarcodeText }}\r\n
\r\n
\r\n {{ ticketItem.Stand }}\r\n
\r\n
\r\n {{ ticketItem.Row }}\r\n
\r\n
\r\n {{ ticketItem.Seat }}\r\n
\r\n
\r\n {{ ticketItem.Balance | FortressCurrencyPipe: 'USD' }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n

Add Funds is disabled when payment is inactive

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n Seat\r\n {{ ticketItem.Seat }}\r\n
\r\n
\r\n Row\r\n {{ ticketItem.Row }}\r\n
\r\n
\r\n Section\r\n {{ ticketItem.Stand }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Ticket Barcode\r\n {{ ticketItem.BarcodeText }}\r\n
\r\n
\r\n {{ ticketItem.Balance | FortressCurrencyPipe: 'USD' }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input, OnChanges } from '@angular/core';\r\nimport {\r\n CardToken,\r\n LoggingService,\r\n BalanceService,\r\n config,\r\n TopupTicketStore,\r\n TopupTicketService,\r\n TopUpTicketPostModel,\r\n TicketWithBalanceModel,\r\n TopUpTicketsStatus,\r\n ManageTicketStatusModel\r\n} from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-details-loaded',\r\n templateUrl: './ticket-details-loaded.component.html',\r\n styleUrls: ['../ticket-details.scss']\r\n})\r\nexport class TicketDetailsLoadedComponent implements OnInit, OnChanges {\r\n @Input() ticketItem: TicketWithBalanceModel;\r\n @Input() displayAsTableItem: boolean;\r\n topUpPostItem: TopUpTicketPostModel;\r\n topUpAmountSelected: number;\r\n activeCard: CardToken;\r\n\r\n constructor(\r\n private topupTicketStore: TopupTicketStore,\r\n private ticketsService: TopupTicketService,\r\n private logService: LoggingService,\r\n private balanceService: BalanceService\r\n ) {}\r\n\r\n ngOnInit() {}\r\n\r\n ngOnChanges() {\r\n this.setupTopUpItem();\r\n }\r\n\r\n get topUpTicketsStatus() {\r\n return TopUpTicketsStatus;\r\n }\r\n\r\n setupTopUpItem() {\r\n this.logService.debug('Setting topup item', this.ticketItem);\r\n\r\n this.topUpPostItem = new TopUpTicketPostModel(\r\n this.ticketItem.BarcodeText,\r\n this.ticketItem.BarcodeACN,\r\n this.ticketItem.GameNumber,\r\n this.ticketItem.Area,\r\n this.ticketItem.Row,\r\n this.ticketItem.Seat,\r\n this.ticketItem.Balance,\r\n this.ticketItem.Stand,\r\n this.ticketItem.GameDate\r\n );\r\n }\r\n\r\n setSelectedTopUpAmount(topUpAmount: number) {\r\n this.logService.debug('Setting selected top up amount', topUpAmount);\r\n this.topUpAmountSelected = topUpAmount;\r\n this.topUpPostItem.amount = topUpAmount;\r\n if (topUpAmount !== null) {\r\n this.topupTicketStore.addOrUpdateTopUpTicket(this.topUpPostItem);\r\n }\r\n }\r\n\r\n revertToAccountBalance() {\r\n const statusTo = this.topUpTicketsStatus.UnloadedActive;\r\n const manageTicket = new ManageTicketStatusModel(\r\n this.ticketItem.GameNumber,\r\n this.ticketItem.BarcodeACN,\r\n this.ticketItem.BarcodeText,\r\n this.ticketItem.Area,\r\n this.ticketItem.Row,\r\n this.ticketItem.Seat,\r\n statusTo,\r\n this.ticketItem.Balance,\r\n this.ticketItem.GameDate\r\n );\r\n\r\n this.ticketsService.manageTicketStatus(manageTicket).subscribe(status => {\r\n this.ticketItem.Status = status;\r\n this.balanceService.addBalance(config.purseConfig.combined, this.ticketItem.Balance);\r\n this.ticketsService.getTicketsWithBalance(manageTicket.GameNumber).subscribe();\r\n });\r\n }\r\n}\r\n","
\r\n 0; else noTickets\">\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Ticket Barcode\r\n
\r\n
\r\n Section\r\n
\r\n
\r\n Row\r\n
\r\n
\r\n Seat\r\n
\r\n
\r\n Balance\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
\r\n No tickets have been loaded\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { TicketWithBalanceModel, TopUpTicketsStatus } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-loaded-list',\r\n templateUrl: './ticket-loaded-list.component.html',\r\n styleUrls: ['../ticket-topup-list.scss']\r\n})\r\nexport class TicketLoadedListComponent implements OnInit {\r\n @Input() loadedTickets$: Observable;\r\n loadedHasMoneyTickets$: Observable;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n this.loadedHasMoneyTickets$ = this.loadedTickets$.pipe(\r\n map(tickets => {\r\n return tickets.filter(ticket => ticket.Status === TopUpTicketsStatus.LoadedHasMoney);\r\n })\r\n );\r\n }\r\n}\r\n","import { Component, OnInit, Input, OnChanges, OnDestroy } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport {\r\n EcashService,\r\n TopUpAmountTypeId,\r\n TicketWithBalanceModel,\r\n TopUpTicketsStatus,\r\n TopUpTicketPostModel,\r\n TopupTicketStore,\r\n TopupTicketService,\r\n\r\n} from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-topup-list',\r\n templateUrl: './ticket-topup-list.component.html',\r\n styleUrls: ['./ticket-topup-list.component.scss']\r\n})\r\nexport class TicketTopUpListComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() gameNumber: string;\r\n tickets$: Observable;\r\n ticketsUnloaded$: Observable;\r\n ticketsLoaded$: Observable;\r\n topUpPostTickets: TopUpTicketPostModel[];\r\n unloadedIds: number[] = [TopUpTicketsStatus.UnloadedActive, TopUpTicketsStatus.UnloadedBlocked];\r\n loadedIds: number[] = [TopUpTicketsStatus.LoadedHasMoney, TopUpTicketsStatus.LoadedNoMoney];\r\n getTicketsSubscription: Subscription = new Subscription();\r\n topUpAmountsSubscription: Subscription = new Subscription();\r\n\r\n\r\n constructor(\r\n private topupTicketsService: TopupTicketService,\r\n private ecashService: EcashService,\r\n private topupTicketStore: TopupTicketStore\r\n ) {\r\n this.ticketsUnloaded$ = this.topupTicketStore.tickets$\r\n .pipe(\r\n map(tickets => {\r\n return tickets.filter(ticket => this.unloadedIds.includes(ticket.Status));\r\n })\r\n );\r\n\r\n this.ticketsLoaded$ = this.topupTicketStore.tickets$\r\n .pipe(\r\n map(tickets => tickets.filter(ticket => this.loadedIds.includes(ticket.Status)))\r\n );\r\n }\r\n\r\n ngOnInit() {\r\n this.setTopUpAmounts();\r\n }\r\n\r\n ngOnChanges() {\r\n if (+this.gameNumber > 0) {\r\n this.getTickets();\r\n }\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.getTicketsSubscription) {\r\n this.getTicketsSubscription.unsubscribe();\r\n }\r\n\r\n if (this.topUpAmountsSubscription) {\r\n this.topUpAmountsSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n public getTickets() {\r\n this.getTicketsSubscription = this.topupTicketsService.getTicketsWithBalance(+this.gameNumber).subscribe();\r\n }\r\n\r\n setTopUpAmounts() {\r\n this.topUpAmountsSubscription = this.ecashService.getTopUpAmounts(\r\n TopUpAmountTypeId.TopUpTicketAmount\r\n ).subscribe();\r\n }\r\n}\r\n","
\r\n

Tickets

\r\n

\r\n All tickets will have access to your main account balance by default. Click Add Funds to add specific amount to each ticket.\r\n

\r\n
\r\n\r\n\r\n

Loaded tickets

\r\n\r\n\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

EVENT SELECTOR

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

SHOW MY MEMBER CARD

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

EVENT SELECTOR

\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { ActivatedRoute, Router, ParamMap } from '@angular/router';\r\nimport { switchMap } from 'rxjs/operators';\r\nimport { Observable, of } from 'rxjs';\r\nimport { Location } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'fgb-manage-tickets-page',\r\n templateUrl: './manage-tickets-page.component.html',\r\n styleUrls: ['./manage-tickets-page.component.scss']\r\n})\r\nexport class ManageTicketsPageComponent implements OnInit {\r\n @Input() preselectedEventId = '';\r\n gameNumber$: Observable;\r\n sub: any;\r\n\r\n constructor(\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n private location: Location\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.gameNumber$ = this.route.paramMap.pipe(\r\n switchMap((params: ParamMap) =>\r\n of((params.get('id') || '0'))\r\n )\r\n );\r\n }\r\n\r\n setSelectedEvent(gameNumber: string) {\r\n this.router.navigate([`${this.location.path()}/${gameNumber}`]);\r\n }\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

TRANSACTIONS HISTORY

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
{{ day }}
\r\n = 0 }\"\r\n >\r\n
{{ transaction.TransactionDescription }}
\r\n
\r\n {{ transaction.Amount | FortressCurrencyPipe: 'USD' }}\r\n
\r\n
{{ transaction.TransactionDate | date: 'hh:mm a' | uppercase }}
\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n
No Transactions
\r\n\r\n \r\n
Click above to search
\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { NgbDate, NgbDateNativeAdapter } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Transaction, LoggingService, MemberQuery, TransactionQuery, TransactionService, TransactionType } from '@fgb/core';\r\nimport { switchMap, take } from 'rxjs/operators';\r\n\r\nimport * as _moment from 'moment';\r\nimport { firstValueFrom, of } from 'rxjs';\r\nconst moment = _moment;\r\n\r\n@Component({\r\n selector: 'fgb-manage-ticket-history-page',\r\n templateUrl: './manage-ticket-history-page.component.html',\r\n styleUrls: ['./manage-ticket-history-page.component.scss'],\r\n})\r\nexport class ManageTicketHistoryPageComponent implements OnInit {\r\n loading: boolean = false;\r\n startDate: NgbDate;\r\n endDate: NgbDate;\r\n today: NgbDate;\r\n transactions?: { [day: string]: Transaction[] };\r\n dayKeys: string[];\r\n\r\n constructor(\r\n private transactionService: TransactionService,\r\n private transactionQuery: TransactionQuery,\r\n private memberQuery: MemberQuery,\r\n private logService: LoggingService\r\n ) {\r\n let currentDate = new Date(Date.now());\r\n this.startDate = new NgbDate(currentDate.getFullYear(), currentDate.getMonth() + 1, currentDate.getDate());\r\n this.endDate = new NgbDate(currentDate.getFullYear(), currentDate.getMonth() + 1, currentDate.getDate());\r\n this.today = new NgbDate(currentDate.getFullYear(), currentDate.getMonth() + 1, currentDate.getDate());\r\n }\r\n\r\n ngOnInit() {\r\n this.getTransactions();\r\n }\r\n\r\n async getTransactions() {\r\n this.loading = true;\r\n\r\n const user = this.memberQuery.getValue().user;\r\n\r\n if (!user) {\r\n this.logService.warning('Failed to get transactions - user is not logged in.');\r\n return;\r\n }\r\n\r\n let searchFrom = new NgbDateNativeAdapter().toModel(this.startDate);\r\n let searchTo = new NgbDateNativeAdapter().toModel(this.endDate);\r\n\r\n if (searchFrom === null || searchTo === null) {\r\n this.logService.warning('Search dates are null');\r\n return;\r\n }\r\n\r\n searchFrom.setHours(0, 0, 0, 0);\r\n searchTo.setHours(23, 59, 59, 999);\r\n\r\n let transactions: Transaction[];\r\n\r\n transactions = await firstValueFrom(this.transactionService\r\n .fetchTransactions(searchFrom, searchTo, user.memberId, TransactionType.ecash)\r\n .pipe(\r\n switchMap(() => {\r\n if (searchFrom == null || searchTo == null) {\r\n this.logService.warning('Search dates are null');\r\n return of([]);\r\n }\r\n return this.transactionQuery.selectTransactions(searchFrom, searchTo, TransactionType.ecash);\r\n }),\r\n take(1)\r\n ));\r\n\r\n // Update the transactions property for the HTML\r\n this.setTransactionsAndDayKeys(transactions);\r\n\r\n this.loading = false;\r\n }\r\n\r\n /** Sets the transactions property to the given transaction list. */\r\n private setTransactionsAndDayKeys(transactions?: Transaction[]): { [day: string]: Transaction[] } | undefined {\r\n if (!transactions) {\r\n this.transactions = undefined;\r\n } else {\r\n this.transactions = {};\r\n\r\n transactions.forEach((transaction) => {\r\n let transactionDate = moment(transaction.TransactionDate);\r\n let key: string = transactionDate.format('D MMM, YYYY');\r\n let existingTransactions = this.transactions![key] || [];\r\n existingTransactions = [...existingTransactions, transaction];\r\n existingTransactions = existingTransactions.sort((a, b) =>\r\n moment(a.TransactionDate).isBefore(moment(b.TransactionDate)) ? 1 : -1\r\n );\r\n this.transactions![key] = existingTransactions;\r\n });\r\n\r\n this.dayKeys = Object.keys(this.transactions).filter((x) => this.transactions!.hasOwnProperty(x));\r\n }\r\n return this.transactions;\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-contacts-page',\r\n templateUrl: './contacts-page.component.html',\r\n styleUrls: ['./contacts-page.component.scss']\r\n})\r\nexport class ContactsPageComponent implements OnInit {\r\n constructor(private router: Router) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n BackToFixtures() {\r\n this.router.navigate(['ticketTransfer']);\r\n }\r\n}\r\n","
\r\n

{{ 'contacts.page.title' | translate }}

\r\n
\r\n
\r\n
\r\n

{{ 'contacts.page.title' | translate }}

\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-arena-cash-nav',\r\n templateUrl: './arena-cash-nav.component.html',\r\n styleUrls: ['./arena-cash-nav.component.scss']\r\n})\r\nexport class ArenaCashNavComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n
    \r\n \r\n send\r\n \r\n \r\n \r\n history\r\n \r\n \r\n
\r\n\r\n","/** A list of helpful regular expressions to keep validation consistent throughout the site. */\r\nexport class Regex {\r\n /** Validates an email address. */\r\n //prettier-ignore\r\n static email = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n\r\n /** Validates a post code US */\r\n static postCode = /^\\d{5}$/;\r\n\r\n /** Validates a post code UK */\r\n // static postCode = /^[A-Z]{1,2}[0-9][A-Z0-9]? ?[0-9][A-Z]{2}$/;\r\n\r\n /** Validates a gender input field. */\r\n static gender = /^(M|F|O)$/;\r\n\r\n /** Validates a number input field */\r\n static number = /^\\d+$/;\r\n\r\n /** Validates currency for transfers */\r\n static currency = /^[0-9]+(\\.[0-9]{1,2})?$/;\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
Email Address is required
\r\n
Email Address format incorrect
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
Amount is required
\r\n
Numbers only
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Send\r\n \r\n
\r\n\r\n \r\n \r\n

\r\n Are you sure that you would like to send to
\r\n {{ transferCashForm.value.emailAddress }} the amount of\r\n {{ transferCashForm.value.amount | FortressCurrencyPipe : 'USD' }} ?\r\n

\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
Transfer Failed
\r\n

You cannot transfer to your own email address

\r\n \r\n Back to Funds\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
Transfer Failed
\r\n

\r\n No PayPal SixthMan Member can be found with this email…

\r\n Recipient must have a Phoenix Suns Account Manager account to receive Arena Cash. Please have recipient download the\r\n Official Suns App and create an Account Manager account\r\n

\r\n \r\n Back to Funds\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n

\r\n Unfortunately you do not have enough money to send to
\r\n {{ transferCashForm.value.emailAddress }} the amount of\r\n {{ transferCashForm.value.amount | FortressCurrencyPipe : 'USD' }}\r\n

\r\n \r\n Return to Arena Cash\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, ElementRef, OnDestroy } from '@angular/core';\r\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\r\nimport { Regex } from 'src/app/shared/utilities/regex';\r\nimport { Router } from '@angular/router';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\nimport {\r\n ExternalCashTransferService,\r\n VerifyEmailAddressRequest,\r\n ExternalCashTransferViewModel,\r\n BalanceQuery,\r\n config,\r\n ErrorStateService,\r\n MemberQuery,\r\n} from '@fgb/core';\r\nimport { Subscription, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-transfer-arena-cash',\r\n templateUrl: './transfer-arena-cash.component.html',\r\n styleUrls: ['./transfer-arena-cash.component.scss'],\r\n})\r\nexport class TransferArenaCashComponent implements OnInit, OnDestroy {\r\n balance: number;\r\n submitted = false;\r\n loading = false;\r\n transferCashForm: UntypedFormGroup = this.formBuilder.group({\r\n emailAddress: ['', [Validators.required, Validators.pattern(Regex.email)]],\r\n amount: ['', [Validators.required, Validators.pattern(Regex.currency)]],\r\n });\r\n balanceSub: Subscription;\r\n memberSub: Subscription;\r\n currentEmail: string;\r\n\r\n @ViewChild('invalidFunds') invalidFundsRef: ElementRef;\r\n @ViewChild('transferFailed') transferFailedRef: ElementRef;\r\n @ViewChild('transferOwnEmail') transferOwnEmailRef: ElementRef;\r\n\r\n constructor(\r\n private formBuilder: UntypedFormBuilder,\r\n private externalCashTransferService: ExternalCashTransferService,\r\n private router: Router,\r\n private modalService: NgbModal,\r\n private balanceQuery: BalanceQuery,\r\n private errorService: ErrorStateService,\r\n private memberQuery: MemberQuery\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.balanceSub = this.balanceQuery.selectPurse(config.purseConfig.combined).subscribe((bal) => {\r\n this.balance = bal ?? 0;\r\n });\r\n\r\n this.memberSub = this.memberQuery.selectMemberDetails().subscribe((mem) => {\r\n if (mem) {\r\n this.currentEmail = mem.EmailAddress1;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.balanceSub) {\r\n this.balanceSub.unsubscribe();\r\n }\r\n if (this.memberSub) {\r\n this.memberSub.unsubscribe();\r\n }\r\n }\r\n\r\n get f() {\r\n return this.transferCashForm.controls;\r\n }\r\n\r\n verifyEmail() {\r\n this.submitted = true;\r\n this.loading = true;\r\n if (!this.transferCashForm.valid) {\r\n this.loading = false;\r\n return;\r\n }\r\n\r\n if (this.balance === undefined) {\r\n this.errorService.clearErrors();\r\n this.errorService.addError('Balance is not available at this time');\r\n this.loading = false;\r\n return;\r\n }\r\n\r\n let verifyRequest = new VerifyEmailAddressRequest();\r\n verifyRequest.EmailAddress = this.transferCashForm.get('emailAddress')!.value;\r\n verifyRequest.Amount = this.transferCashForm.get('amount')!.value as number;\r\n\r\n if (this.currentEmail === verifyRequest.EmailAddress) {\r\n this.modalService\r\n .open(this.transferOwnEmailRef, { ariaLabelledBy: 'modal-basic-title', size: 'lg', backdrop: 'static' })\r\n .result.then(\r\n (result) => {},\r\n (reason) => {}\r\n );\r\n this.loading = false;\r\n return;\r\n }\r\n\r\n if (this.balance < verifyRequest.Amount) {\r\n this.modalService\r\n .open(this.invalidFundsRef, { ariaLabelledBy: 'modal-basic-title', size: 'lg', backdrop: 'static' })\r\n .result.then(\r\n (result) => {},\r\n (reason) => {}\r\n );\r\n this.loading = false;\r\n return;\r\n }\r\n\r\n firstValueFrom(this.externalCashTransferService\r\n .verifyEmailAddress(verifyRequest))\r\n .then((response) => {\r\n if (response === null) {\r\n this.modalService\r\n .open(this.transferFailedRef, { ariaLabelledBy: 'modal-basic-title', size: 'lg', backdrop: 'static' })\r\n .result.then(\r\n (result) => {},\r\n (reason) => {}\r\n );\r\n this.loading = false;\r\n } else if (response.Accounts[0].MemberIDs.length > 1) {\r\n this.router.navigate(['arenacashmultipleaccounts']);\r\n } else {\r\n this.transferFunds(response);\r\n }\r\n });\r\n }\r\n\r\n private transferFunds(transfer: ExternalCashTransferViewModel) {\r\n firstValueFrom(this.externalCashTransferService\r\n .transferFunds(transfer))\r\n .then(() => {\r\n this.router.navigate(['arenacashtransfersuccess']);\r\n })\r\n .finally(() => (this.loading = false));\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { config, BalanceQuery, MemberQuery, MemberDetails } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-transfer-arena-cash-page',\r\n templateUrl: './transfer-arena-cash-page.component.html',\r\n styleUrls: ['./transfer-arena-cash-page.component.scss'],\r\n})\r\nexport class TransferArenaCashPageComponent implements OnInit {\r\n combinedCard$: Observable;\r\n memberDetails$: Observable;\r\n\r\n constructor(private balanceQuery: BalanceQuery, public memberQuery: MemberQuery) {}\r\n\r\n ngOnInit() {\r\n this.combinedCard$ = this.balanceQuery.selectPurse(config.purseConfig.combined);\r\n this.memberDetails$ = this.memberQuery.selectMemberDetails();\r\n }\r\n}\r\n","
\r\n

Arena Cash

\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n {{ 'transfer.arena.cash.title' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n","
\r\n \r\n
\r\n\r\n\r\n \r\n\r\n\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { ExternalCashTransferViewModel, ExternalCashTransferService } from '@fgb/core';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-transfer-arena-multiple-accounts',\r\n templateUrl: './transfer-arena-multiple-accounts.component.html',\r\n styleUrls: ['./transfer-arena-multiple-accounts.component.scss'],\r\n})\r\nexport class TransferArenaMultipleAccountsComponent implements OnInit {\r\n @Input() transferAccounts: ExternalCashTransferViewModel;\r\n availableMemberIds: string[];\r\n loading: boolean = false;\r\n constructor(private externalCashTransferService: ExternalCashTransferService, private router: Router) {}\r\n\r\n ngOnInit() {\r\n if (this.transferAccounts && this.transferAccounts.Accounts && this.transferAccounts.Accounts.length > 0) {\r\n this.availableMemberIds = this.transferAccounts.Accounts[0].MemberIDs;\r\n }\r\n }\r\n\r\n transferFundsToMemberId(memberId: string) {\r\n this.loading = true;\r\n firstValueFrom(this.externalCashTransferService\r\n .transferFunds(this.transferAccounts, memberId))\r\n .then(() => {\r\n this.router.navigate(['arenacashtransfersuccess']);\r\n })\r\n .finally(() => (this.loading = false));\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ExternalCashTransferViewModel, ExternalCashTransferQuery } from '@fgb/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-transfer-multiple-accounts-page',\r\n templateUrl: './transfer-multiple-accounts-page.component.html',\r\n styleUrls: ['./transfer-multiple-accounts-page.component.scss'],\r\n})\r\nexport class TransferMultipleAccountsPageComponent implements OnInit {\r\n transferAccounts$: Observable;\r\n\r\n constructor(private externalCashTransferQuery: ExternalCashTransferQuery, private router: Router) {}\r\n\r\n ngOnInit() {\r\n if (this.externalCashTransferQuery.hasEntity()) {\r\n this.transferAccounts$ = this.externalCashTransferQuery.selectTransferAccounts();\r\n } else {\r\n this.router.navigate(['arenacashtransfer']);\r\n }\r\n }\r\n}\r\n","\r\n","
\r\n

Transfer Successful

\r\n

\r\n {{transferAccounts.EmailAddress}} has recieved the amount of {{transferAccounts.TransferAmount | FortressCurrencyPipe: 'USD' }}\r\n

\r\n \r\n Back to Funds\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ExternalCashTransferQuery, ExternalCashTransferViewModel } from '@fgb/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-transfer-arena-cash-success-page',\r\n templateUrl: './transfer-arena-cash-success-page.component.html',\r\n styleUrls: ['./transfer-arena-cash-success-page.component.scss'],\r\n})\r\nexport class TransferArenaCashSuccessPageComponent implements OnInit {\r\n transferAccounts$: Observable;\r\n\r\n constructor(private externalCashTransferQuery: ExternalCashTransferQuery, private router: Router) {}\r\n\r\n ngOnInit() {\r\n if (this.externalCashTransferQuery.hasEntity()) {\r\n this.transferAccounts$ = this.externalCashTransferQuery.selectTransferAccounts();\r\n } else {\r\n this.router.navigate(['arenacashtransfer']);\r\n }\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-auth-callback',\r\n templateUrl: './auth-callback.component.html',\r\n styleUrls: ['./auth-callback.component.scss']\r\n})\r\nexport class AuthCallbackComponent implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","

Logging in...

\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'fgb-invalid-token-modal',\r\n templateUrl: './invalid-token-modal.component.html',\r\n styleUrls: ['./invalid-token-modal.component.scss'],\r\n})\r\nexport class InvalidTokenModalComponent implements OnInit {\r\n constructor(private activeModal: NgbActiveModal) {}\r\n\r\n ngOnInit(): void {}\r\n\r\n closeModal(): void {\r\n this.activeModal.close();\r\n }\r\n}\r\n","
\r\n
\r\n login\r\n {{ 'invalid.token.modal.heading' | translate }}\r\n
\r\n
\r\n
\r\n {{ 'invalid.token.modal.description' | translate | markdownTranslate }}\r\n
\r\n \r\n
\r\n","
\r\n
\r\n cancel\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
{{ 'popup.add.to.home.screen.text' | translate }}
\r\n
1. Click more_vert then
\r\n
2. Select \"Add to Home Screen\"
\r\n
3. Confirm
\r\n
\r\n \r\n
\r\n
\r\n \r\n
{{ 'popup.add.to.home.screen.text' | translate }}
\r\n
\r\n
1. Click ios_share then
\r\n
2. Select \"Add to Home Screen add_box\"
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Renderer2 } from '@angular/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'fgb-popup-add-to-home-screen',\r\n templateUrl: './popup-add-to-home-screen.component.html',\r\n styleUrls: ['./popup-add-to-home-screen.component.scss'],\r\n})\r\nexport class PopupAddToHomeScreenComponent implements OnInit {\r\n detectedDevice: string;\r\n\r\n constructor(private activeModal: NgbActiveModal, private renderer: Renderer2) {\r\n setTimeout(() => {\r\n this.renderer.removeClass(document.body, 'modal-open');\r\n }, 3000);\r\n }\r\n\r\n ngOnInit() {}\r\n\r\n /** Closes dialog box */\r\n closeModal() {\r\n this.activeModal.close();\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ 'user.login.username.required' | translate : { fgbdefault: 'This field is required' } }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ 'user.login.password.required' | translate : { fgbdefault: 'This field is required' } }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n","import { HttpErrorResponse } from '@angular/common/http';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { CardService, AuthService, ErrorStateService } from '@fgb/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Subject, firstValueFrom } from 'rxjs';\r\nimport { InvalidTokenModalComponent } from '../invalid-token-modal/invalid-token-modal.component';\r\nimport { PopupAddToHomeScreenComponent } from '../popup-add-to-home-screen/popup-add-to-home-screen.component';\r\n\r\n@Component({\r\n selector: 'fgb-user-login',\r\n templateUrl: './user-login.component.html',\r\n styleUrls: ['./user-login.component.scss'],\r\n})\r\nexport class UserLoginComponent implements OnInit {\r\n loginForm: UntypedFormGroup;\r\n returnUrl: string;\r\n submitted = false;\r\n loading = false;\r\n private _destroyed$ = new Subject();\r\n\r\n constructor(\r\n public cardService: CardService,\r\n private authService: AuthService,\r\n private formBuilder: UntypedFormBuilder,\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n public errorService: ErrorStateService,\r\n private modalService: NgbModal\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.loginForm = this.formBuilder.group({\r\n username: ['', Validators.required],\r\n password: ['', Validators.required],\r\n });\r\n\r\n this.returnUrl = this.route.snapshot.queryParams.returnUrl || '/';\r\n }\r\n\r\n get f() {\r\n return this.loginForm.controls;\r\n }\r\n\r\n onSubmit() {\r\n this.submitted = true;\r\n if (this.loginForm.invalid) {\r\n return;\r\n }\r\n\r\n this.loading = true;\r\n\r\n firstValueFrom(this.authService\r\n .login(this.f.username.value, this.f.password.value))\r\n .then(() => {\r\n this.router.navigate([this.returnUrl]);\r\n let userAgent = navigator.userAgent;\r\n setTimeout(() => {\r\n // android detection\r\n if (/android/i.test(userAgent)) {\r\n const modalRef = this.modalService.open(PopupAddToHomeScreenComponent, {\r\n windowClass: 'popup-add-to-home-screen-android-modal-window',\r\n modalDialogClass: 'popup-add-to-home-screen-dialog',\r\n ariaLabelledBy: 'modal-basic-title',\r\n backdrop: false,\r\n });\r\n modalRef.componentInstance.detectedDevice = 'android';\r\n }\r\n // iOS detection\r\n if (/iPad|iPhone|iPod/g.test(userAgent)) {\r\n const modalRef = this.modalService.open(PopupAddToHomeScreenComponent, {\r\n windowClass: 'popup-add-to-home-screen-ios-modal-window',\r\n modalDialogClass: 'popup-add-to-home-screen-dialog',\r\n ariaLabelledBy: 'modal-basic-title',\r\n backdrop: false,\r\n });\r\n modalRef.componentInstance.detectedDevice = 'ios';\r\n }\r\n }, 3000);\r\n })\r\n .catch((response: HttpErrorResponse) => {\r\n this.loading = false;\r\n this.errorService.clearErrors();\r\n if (response.status == 401) {\r\n this.errorService.addError('Invalid Refresh Token.');\r\n this.modalService.open(InvalidTokenModalComponent, {\r\n modalDialogClass: 'invalid-token-modal',\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n });\r\n } else {\r\n this.errorService.addError('Invalid Email Address and Password.');\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._destroyed$.next();\r\n this._destroyed$.complete();\r\n }\r\n}\r\n","
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{ 'login.page.description' | translate }}\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
DOWNLOAD CLUB APP
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { AuthService } from '@fgb/core';\r\nimport { ErrorStateService } from '@fgb/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'fgb-login-page',\r\n templateUrl: './login-page.component.html',\r\n styleUrls: ['./login-page.component.scss'],\r\n})\r\nexport class LoginPageComponent implements OnInit {\r\n appleLinkUrl: string;\r\n googleLinkUrl: string;\r\n \r\n constructor(private router: Router, \r\n public errorService: ErrorStateService, \r\n private authService: AuthService, \r\n private translate: TranslateService) {\r\n if (this.authService.hasCurrentRefreshToken()) {\r\n this.router.navigate(['/']);\r\n }\r\n }\r\n\r\n ngOnInit() { \r\n this._initLinks();\r\n }\r\n\r\n private _initLinks(): void{\r\n this.appleLinkUrl = this.translate.instant('apple.link.url');\r\n this.googleLinkUrl = this.translate.instant('google.link.url');\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n 0; else noAccounts\">\r\n

Choose Account

\r\n

Please select one of your accounts below to proceed.

\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
NameEmail AddressAccount NumberStatus
{{ account.FirstName }} {{ account.Surname }}{{ account.EmailAddress1 }}{{ account.ExternalRefNumber }}\r\n \r\n
\r\n Register\r\n
\r\n
\r\n Login\r\n
\r\n
\r\n Activate\r\n
\r\n
\r\n n/a\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n

\r\n \r\n We're sorry but an error has occurred. We could not find any accounts for you to choose from.\r\n
\r\n Please click below to enter your credentials again.\r\n
\r\n

\r\n Login\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MemberQuery, MemberDetails, LoggingService } from '@fgb/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-login-accounts-page',\r\n templateUrl: './login-accounts-page.component.html',\r\n styleUrls: ['./login-accounts-page.component.scss']\r\n})\r\nexport class LoginAccountsPageComponent implements OnInit {\r\n availableAccounts: MemberDetails[];\r\n\r\n constructor(\r\n private memberQuery: MemberQuery,\r\n private logService: LoggingService,\r\n private router: Router\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.availableAccounts = this.memberQuery.getAvailableAccounts() || [];\r\n if (this.availableAccounts.length === 0) {\r\n this.logService.warning('No accounts available to choose from - redirecting back to the login page...');\r\n this.router.navigate(['/login']);\r\n }\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { AuthService, LoggingService, MemberQuery, LoginType } from '@fgb/core';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-single-sign-on',\r\n templateUrl: './single-sign-on.component.html',\r\n styleUrls: ['./single-sign-on.component.scss'],\r\n})\r\nexport class SingleSignOnComponent implements OnInit {\r\n constructor(\r\n private route: ActivatedRoute,\r\n private auth: AuthService,\r\n private memberQuery: MemberQuery,\r\n private router: Router,\r\n private logService: LoggingService\r\n ) {}\r\n\r\n ngOnInit() {\r\n if (this.auth.isAuthenticated()) {\r\n firstValueFrom(this.auth.logout());\r\n }\r\n let entityType: number = parseInt(this.getQueryString('entityType', '0'));\r\n let entity: string = this.getQueryString('entity', '');\r\n let hashedValue: string = this.getQueryString('hashedValue', '');\r\n let loginType: number = parseInt(this.getQueryString('loginType', '0'));\r\n let loginDateString = this.getQueryString('loginDate', '');\r\n let providerId: number = parseInt(this.getQueryString('providerId', '0'));\r\n let returnUrl: string = this.getQueryString('returnUrl', '');\r\n let clientTypeId: number = parseInt(this.getQueryString('clientType', '0'));\r\n let clubId: number = parseInt(this.getQueryString('clubId', '1'));\r\n let locale: string = this.getQueryString('locale', '');\r\n let clientAttribute: string = this.getQueryString('ClientAttribute', '');\r\n\r\n let loginDate: Date = new Date();\r\n if (loginDateString) {\r\n // Mitigate varying formats with different separators between the date segments\r\n let parts: number[] = loginDateString.split(/[- :T+]/).map((x) => +x);\r\n loginDate = new Date(parts[0], parts[1] - 1, parts[2], parts[3], parts[4], parts[5]);\r\n }\r\n\r\n this.logService.debug('SSO login data', {\r\n entityType,\r\n entity,\r\n hashedValue,\r\n loginType,\r\n loginDateString,\r\n loginDate,\r\n providerId,\r\n clientTypeId,\r\n clubId,\r\n locale,\r\n clientAttribute\r\n });\r\n\r\n if (entityType == null) {\r\n this.logService.info('Attempting single sign on without login...');\r\n this.auth.sso();\r\n this.router.navigate([returnUrl]);\r\n } else {\r\n this.logService.info('Attempting single sign on with login...');\r\n this.auth.ssoLogin(entityType, entity, loginDate, hashedValue, clubId, loginType, returnUrl, providerId, clientTypeId, locale, clientAttribute).subscribe(\r\n (result) => {\r\n this.logService.info('Successful SSO login');\r\n this.logService.debug('SSO login result data', result);\r\n\r\n if (this.memberQuery.getLoginType() != LoginType.Admin) {\r\n this.auth.checkApiStatus();\r\n }\r\n\r\n this.router.navigate([returnUrl]);\r\n },\r\n (error) => {\r\n if (error.status === 503) {\r\n this.logService.warning('503 [Service Unavailable] received; Maintenance mode is probably on', error);\r\n this.router.navigate(['maintenance']);\r\n } else {\r\n this.logService.error('Failed SSO login', error);\r\n this.router.navigate(['login']);\r\n }\r\n }\r\n );\r\n }\r\n }\r\n\r\n /** Get a query string parameter without case sensitivity. */\r\n private getQueryString(parameter: string, defaultValue: string): string {\r\n let matchedQueryStringParameter = this.route.snapshot.queryParamMap.keys.find(\r\n (param) => param.toUpperCase() === parameter.toUpperCase()\r\n );\r\n if (matchedQueryStringParameter === undefined) {\r\n return defaultValue;\r\n }\r\n return this.route.snapshot.queryParamMap.get(matchedQueryStringParameter) || defaultValue;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { AuthService } from '@fgb/core';\r\nimport { ErrorStateService } from '@fgb/core';\r\nimport { DeviceDetectorService } from 'ngx-device-detector';\r\n\r\n@Component({\r\n selector: 'fgb-maintenance-page',\r\n templateUrl: './maintenance-page.component.html',\r\n styleUrls: ['./maintenance-page.component.scss'],\r\n})\r\nexport class MaintenancePageComponent implements OnInit {\r\n showAppleLink = true;\r\n showGoogleLink = true;\r\n\r\n constructor(\r\n private router: Router,\r\n public errorService: ErrorStateService,\r\n private authService: AuthService,\r\n public deviceDetector: DeviceDetectorService\r\n ) {\r\n if (this.authService.checkMaintenceMode()) {\r\n if (this.authService.hasCurrentRefreshToken()) {\r\n this.router.navigate(['/']);\r\n } else {\r\n this.router.navigate(['login']);\r\n }\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.downloadAppLink();\r\n }\r\n\r\n downloadAppLink() {\r\n if (this.deviceDetector.os.match('iOS')) {\r\n this.showGoogleLink = false;\r\n } else if (this.deviceDetector.os.match('Android')) {\r\n this.showAppleLink = false;\r\n }\r\n }\r\n}\r\n","
\r\n \r\n\r\n \r\n
\r\n \r\n \r\n
\r\n","
\r\n
\r\n
\r\n
\r\n \r\n
V
\r\n \r\n
\r\n
\r\n {{ game.Date | date : 'MMMM d | h:mm a' | uppercase }}\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Game, config } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-game-card',\r\n templateUrl: './game-card.component.html',\r\n styleUrls: ['./game-card.component.scss']\r\n})\r\nexport class GameCardComponent implements OnInit {\r\n @Input() game: Game;\r\n\r\n constructor() {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n getTeamLogoUrl(teamId: number) {\r\n return `${config.contentUrl}/image/teams/${teamId}__1_1_1033.png`;\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Game, GameService, GameDataSource, GameQuery } from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-next-game',\r\n templateUrl: './next-game.component.html',\r\n styleUrls: ['./next-game.component.scss'],\r\n})\r\nexport class EventsComponent implements OnInit {\r\n nextGame$: Observable;\r\n\r\n constructor(private gameService: GameService, private gameQuery: GameQuery) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.gameService.fetchGames('', GameDataSource.Club));\r\n this.nextGame$ = this.gameQuery.selectNextGame(GameDataSource.Club);\r\n }\r\n}\r\n","

Next Game

\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-test-pop-home-page',\r\n templateUrl: './test-pop-home-page.component.html',\r\n styleUrls: ['./test-pop-home-page.component.scss']\r\n})\r\nexport class TestPopHomePageComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n

Test population

\r\n
\r\n\r\n
\r\n
\r\n
\r\n
Next Game
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
Voucher Code
\r\n
\r\n
Enter Redemption Code To Earn Prizes
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
Announcements
\r\n
\r\n
\r\n \r\n
\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport * as i2$1 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport { InlineSVGModule } from 'ng-inline-svg-2';\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass EarnPointsCardComponent {\n constructor() { }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: EarnPointsCardComponent, selector: \"fgbcl-earn-points-card\", inputs: { earnPointsCard: \"earnPointsCard\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n {{ earnPointsCard.DisplayText }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ earnPointsCard.DisplayText }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"pipe\", type: i2$1.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i2$1.SafeHtmlPipe, name: \"safeHtml\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsCardComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-earn-points-card', template: \"
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n {{ earnPointsCard.DisplayText }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ earnPointsCard.DisplayText }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\" }]\n }], ctorParameters: () => [], propDecorators: { earnPointsCard: [{\n type: Input\n }] } });\n\nclass EarnPointsComponent {\n constructor(earnPointsQuery, earnPointsService, memberQuery) {\n this.earnPointsQuery = earnPointsQuery;\n this.earnPointsService = earnPointsService;\n this.memberQuery = memberQuery;\n this.dropdownToggle = true;\n }\n ngOnInit() {\n const userContext = this.memberQuery.getUserContext();\n this.earnPointsService.fetchEarnPoints(+userContext.populationId, +userContext.lcid, userContext.clubId).subscribe();\n this.earnPoints$ = this.earnPointsQuery.selectAll();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsComponent, deps: [{ token: i1.EarnPointsQuery }, { token: i1.EarnPointsService }, { token: i1.MemberQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: EarnPointsComponent, selector: \"fgbcl-earn-points\", inputs: { dropdownToggle: \"dropdownToggle\", svgColor: \"svgColor\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n

\\r\\n \\r\\n

\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".earn-points-container .earn-sub-heading{border:0;outline:none;background-color:inherit;width:100%;justify-content:flex-start;display:flex;align-items:center;padding:0}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: EarnPointsCardComponent, selector: \"fgbcl-earn-points-card\", inputs: [\"earnPointsCard\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-earn-points', template: \"
\\r\\n \\r\\n \\r\\n

\\r\\n \\r\\n

\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".earn-points-container .earn-sub-heading{border:0;outline:none;background-color:inherit;width:100%;justify-content:flex-start;display:flex;align-items:center;padding:0}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.EarnPointsQuery }, { type: i1.EarnPointsService }, { type: i1.MemberQuery }], propDecorators: { dropdownToggle: [{\n type: Input\n }], svgColor: [{\n type: Input\n }] } });\n\nclass EarnPointsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsModule, declarations: [EarnPointsComponent, EarnPointsCardComponent], imports: [CommonModule,\n InlineSVGModule,\n NgbModule,\n PipesModule,\n FGBSharedModule], exports: [EarnPointsComponent, EarnPointsCardComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsModule, imports: [CommonModule,\n InlineSVGModule,\n NgbModule,\n PipesModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [EarnPointsComponent, EarnPointsCardComponent],\n imports: [\n CommonModule,\n InlineSVGModule,\n NgbModule,\n PipesModule,\n FGBSharedModule\n ],\n exports: [EarnPointsComponent, EarnPointsCardComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { EarnPointsCardComponent, EarnPointsComponent, EarnPointsModule };\n","import { Component, OnInit } from '@angular/core';\r\nimport { DeviceDetectorService } from 'ngx-device-detector';\r\n\r\n@Component({\r\n selector: 'fgb-earn-page',\r\n templateUrl: './earn-page.component.html',\r\n styleUrls: ['./earn-page.component.scss'],\r\n})\r\nexport class EarnPageComponent implements OnInit {\r\n deviceType: string;\r\n\r\n constructor(private deviceDetector: DeviceDetectorService) {}\r\n\r\n ngOnInit() {\r\n this.deviceType = this.deviceDetector.os.toUpperCase();\r\n }\r\n}\r\n","
\r\n

{{ 'earn.page.title' | translate }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n

{{ 'earn.page.message' | translate }}

\r\n
\r\n
\r\n","
\r\n
\r\n
\r\n

YOU HAVE {{numberClaimed}}/{{claimLimit}} CHOICE BENEFITS

\r\n

YOU HAVE UNLIMITED CHOICE BENEFITS

\r\n

As a big member, we are providing you with the opportunity to customize your membership!

\r\n
\r\n
\r\n

Choose your benefits from the list below

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-benefit-header',\r\n templateUrl: './benefit-header.component.html',\r\n styleUrls: ['./benefit-header.component.scss']\r\n})\r\nexport class BenefitHeaderComponent implements OnInit {\r\n\r\n @Input() claimLimit: number;\r\n @Input() numberClaimed: number;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Benefit } from '@fgb/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'fgb-benefit-info-modal',\r\n templateUrl: './benefit-info-modal.component.html',\r\n styleUrls: ['./benefit-info-modal.component.scss']\r\n})\r\nexport class BenefitInfoModalComponent implements OnInit {\r\n\r\n @Input() benefit: Benefit;\r\n\r\n constructor(private activeModal: NgbActiveModal) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n closeModal(): void {\r\n this.activeModal.close();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n

{{benefit.Name}}

\r\n
\r\n
\r\n

{{benefit.Description}}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Benefit, BenefitService } from '@fgb/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-benefit-claim-confirmation-modal',\r\n templateUrl: './benefit-claim-confirmation-modal.component.html',\r\n styleUrls: ['./benefit-claim-confirmation-modal.component.scss']\r\n})\r\nexport class BenefitClaimConfirmationModalComponent implements OnInit {\r\n\r\n @Input() benefit: Benefit;\r\n\r\n constructor(private activeModal: NgbActiveModal, private benefitService: BenefitService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n closeModal(): void {\r\n this.activeModal.close();\r\n }\r\n\r\n claimBenefit(benefit: Benefit) {\r\n firstValueFrom(this.benefitService\r\n .claimBenefit(benefit))\r\n .finally(() => this.closeModal());\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
Are you sure you want to choose this benefit?
\r\n
{{ benefit.Name }}
\r\n \r\n \r\n
\r\n
\r\n","
\r\n
\r\n \r\n
\r\n
{{ benefit.Name }}
\r\n

Read More...

\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {{ statusText }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Benefit, BenefitClaimStatus, BenefitQuery } from '@fgb/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { BenefitInfoModalComponent } from '../benefit-info-modal/benefit-info-modal.component';\r\nimport { BenefitClaimConfirmationModalComponent } from '../benefit-claim-confirmation-modal/benefit-claim-confirmation-modal.component';\r\n\r\n@Component({\r\n selector: 'fgb-benefit-item',\r\n templateUrl: './benefit-item.component.html',\r\n styleUrls: ['./benefit-item.component.scss'],\r\n})\r\nexport class BenefitItemComponent implements OnInit {\r\n @Input() benefit: Benefit;\r\n @Input() disabled = false;\r\n\r\n isClaimed: boolean;\r\n inactive: boolean = false;\r\n BenefitClaimStatus = BenefitClaimStatus;\r\n outOfStock: boolean;\r\n\r\n statusText: string;\r\n\r\n constructor(private modalService: NgbModal, private benefitQuery: BenefitQuery) {}\r\n\r\n ngOnInit() {\r\n if (!this.benefitQuery.isActiveBenefit(this.benefit) && this.benefit.ShowWhenNotActive) {\r\n this.inactive = true;\r\n }\r\n\r\n this.isClaimed = this.isBenefitClaimed(this.benefit);\r\n\r\n this.outOfStock = this.benefit.Status === BenefitClaimStatus.OutOfStock;\r\n\r\n if (this.isClaimed) {\r\n this.statusText = 'Claimed';\r\n } else if (this.inactive) {\r\n this.statusText = 'Not active';\r\n } else if (this.outOfStock) {\r\n this.statusText = 'Out of stock';\r\n }\r\n }\r\n\r\n openReadMoreModal(benefit: Benefit): void {\r\n const modal = this.modalService.open(BenefitInfoModalComponent);\r\n modal.componentInstance.benefit = benefit;\r\n }\r\n\r\n openClaimModal(benefit: Benefit): void {\r\n const modal = this.modalService.open(BenefitClaimConfirmationModalComponent);\r\n modal.componentInstance.benefit = benefit;\r\n }\r\n\r\n isBenefitClaimed(benefit: Benefit): boolean {\r\n const claimedStatuses = [BenefitClaimStatus.Processed, BenefitClaimStatus.Unprocessed];\r\n return claimedStatuses.some((b) => b === benefit.Status);\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Benefit } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-benefit-item-list',\r\n templateUrl: './benefit-item-list.component.html',\r\n styleUrls: ['./benefit-item-list.component.scss']\r\n})\r\nexport class BenefitItemListComponent implements OnInit {\r\n\r\n @Input() benefits: Benefit[];\r\n @Input() disabled = false;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Benefit } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-benefit-claimed',\r\n templateUrl: './benefit-claimed.component.html',\r\n styleUrls: ['./benefit-claimed.component.scss']\r\n})\r\nexport class BenefitClaimedComponent implements OnInit {\r\n\r\n @Input() benefit: Benefit;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input, OnChanges } from '@angular/core';\r\nimport { Benefit } from '@fgb/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { BenefitInfoModalComponent } from '../benefit-info-modal/benefit-info-modal.component';\r\n\r\n@Component({\r\n selector: 'fgb-benefit-claimed-list',\r\n templateUrl: './benefit-claimed-list.component.html',\r\n styleUrls: ['./benefit-claimed-list.component.scss'],\r\n})\r\nexport class BenefitClaimedListComponent implements OnInit, OnChanges {\r\n @Input() benefitsClaimed: Benefit[];\r\n @Input() claimLimit: number;\r\n\r\n unclaimedBenefits: number[];\r\n\r\n constructor(private modalService: NgbModal) {}\r\n\r\n ngOnInit() {}\r\n\r\n ngOnChanges(): void {\r\n this.unclaimedBenefits = this.getRemainingClaimsArray();\r\n }\r\n\r\n getRemainingClaimsArray(): number[] {\r\n if (this.claimLimit) {\r\n const remainingClaimNumber = this.claimLimit - this.benefitsClaimed.length;\r\n return new Array(remainingClaimNumber);\r\n }\r\n\r\n return new Array(0);\r\n }\r\n\r\n openModal(benefit: Benefit): void {\r\n const modal = this.modalService.open(BenefitInfoModalComponent);\r\n modal.componentInstance.benefit = benefit;\r\n }\r\n}\r\n","
\r\n

{{ 'benefits.page.title' | translate }}

\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
{{ 'benefits.item.list.title' | translate }}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Benefit, BenefitQuery } from '@fgb/core';\r\nimport { tap, map } from 'rxjs/operators';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-benefits-page',\r\n templateUrl: './benefits-page.component.html',\r\n styleUrls: ['./benefits-page.component.scss'],\r\n})\r\nexport class BenefitsPageComponent implements OnInit {\r\n claimLimit: number | undefined = undefined;\r\n benefits$: Observable;\r\n claimedBenefits$: Observable;\r\n numberOfBenefitsClaimed: number;\r\n\r\n constructor(private benefitQuery: BenefitQuery, private router: Router) {}\r\n\r\n ngOnInit() {\r\n this.claimLimit = this.benefitQuery.getClaimLimit();\r\n\r\n if (this.claimLimit == null) {\r\n this.router.navigate(['/']);\r\n }\r\n\r\n this.benefits$ = this.benefitQuery.selectBenefits().pipe(\r\n map((benefits) => {\r\n benefits = benefits.filter((b) => this.benefitQuery.shouldShowBenefit(b));\r\n benefits = benefits.sort((a, b) => {\r\n //sort to show active first and then non active at the end\r\n if (!this.benefitQuery.isActiveBenefit(a) && a.ShowWhenNotActive) {\r\n return 1;\r\n }\r\n\r\n if (!this.benefitQuery.isActiveBenefit(b) && b.ShowWhenNotActive) {\r\n return -1;\r\n }\r\n\r\n if (a.Status < b.Status) {\r\n return -1;\r\n }\r\n\r\n if (a.Status > b.Status) {\r\n return 1;\r\n }\r\n\r\n return 0;\r\n });\r\n\r\n return benefits;\r\n })\r\n );\r\n this.claimedBenefits$ = this.benefitQuery.selectClaimedBenefits().pipe(tap((b) => (this.numberOfBenefitsClaimed = b.length)));\r\n }\r\n\r\n isClaimLimitReached(): boolean {\r\n return this.claimLimit !== undefined && this.claimLimit <= this.numberOfBenefitsClaimed;\r\n }\r\n}\r\n","
{{ 'auction.page.title' | translate }}
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { AuctionBidDetails, AuctionBidQuery, AuctionBidService } from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-auction-bid-list',\r\n templateUrl: './auction-bid-list.component.html',\r\n styleUrls: ['./auction-bid-list.component.scss']\r\n})\r\nexport class AuctionBidListComponent implements OnInit {\r\n constructor(private auctionBidsQuery: AuctionBidQuery, private bidService: AuctionBidService) {}\r\n auctionBids$: Observable;\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.bidService.fetchBids());\r\n this.auctionBids$ = this.auctionBidsQuery.selectWonBids();\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { AuctionBidQuery, AuctionBidDetails } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-auction-bids-page',\r\n templateUrl: './auction-bids-page.component.html',\r\n styleUrls: ['./auction-bids-page.component.scss']\r\n})\r\nexport class AuctionBidsPageComponent implements OnInit {\r\n constructor(private auctionBidsQuery: AuctionBidQuery) {}\r\n auctionBids$: Observable;\r\n ngOnInit() {\r\n this.auctionBids$ = this.auctionBidsQuery.selectBids();\r\n }\r\n}\r\n","\r\n","
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n {{ 'points.management.points.balance' | translate }}\r\n
\r\n

{{ loyaltyPointsCard$ | async | number : '1.0-0' }}

\r\n
\r\n\r\n
\r\n
{{ 'points.management.account.number' | translate }}
\r\n
{{ memberDetails!.ExternalRefNumber }}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n {{ 'points.management.card.description' | translate }}\r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { BalanceQuery, config, MemberDetails, MemberQuery } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-points-management-placeholder',\r\n templateUrl: './points-management-placeholder.component.html',\r\n styleUrls: ['./points-management-placeholder.component.scss'],\r\n})\r\nexport class PointsManagementPlaceholderComponent implements OnInit {\r\n loyaltyPointsCard$: Observable;\r\n memberDetails$: Observable;\r\n\r\n constructor(private balanceQuery: BalanceQuery, public memberQuery: MemberQuery) {}\r\n\r\n ngOnInit() {\r\n this.loyaltyPointsCard$ = this.balanceQuery.selectPurse(config.purseConfig.virtualLoyalty);\r\n this.memberDetails$ = this.memberQuery.selectMemberDetails();\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n

Who would you like to transfer points

\r\n
\r\n
\r\n \r\n {{ buttonNames[type] }}\r\n \r\n
\r\n\r\n
0\">\r\n
\r\n

Choose your recipient

\r\n
\r\n 1\">\r\n \r\n \r\n \r\n \r\n
\r\n

{{ item.FullName }}

\r\n

Acc No {{ item.ExternalRefNumber }}

\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n\r\n
\r\n

You do not have any Partners to select

\r\n
\r\n\r\n
\r\n
\r\n

Please type the Account number of your recipient

\r\n
\r\n
\r\n

Account Number

\r\n \r\n
Please enter an account number.
\r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n

Please select amount of points you want to transfer

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n

\r\n Are you sure you want to transfer\r\n {{ transferPointsForm.controls.Amount.value }} to\r\n {{ transferPointsForm.controls.PartnerAccountNumber.value }}?\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n

Successfully Processed

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n","import { Component, OnInit, ViewChild, ElementRef, OnDestroy } from '@angular/core';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { BalanceQuery, config, PointsTransferService, PointsTransferType, PartnerQuery, Partner } from '@fgb/core';\r\nimport { Subscription, Observable, firstValueFrom } from 'rxjs';\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\n\r\n@Component({\r\n selector: 'fgb-points-transfer',\r\n templateUrl: './points-transfer.component.html',\r\n styleUrls: ['./points-transfer.component.scss'],\r\n})\r\nexport class PointsTransferComponent implements OnInit, OnDestroy {\r\n transferPointsForm: UntypedFormGroup = this.formBuilder.group({\r\n PartnerAccountNumber: ['', [Validators.required]],\r\n Amount: ['', [Validators.required]],\r\n });\r\n selectedPointsTransferType: PointsTransferType = PointsTransferType.Partner;\r\n PointsTransferTypes: PointsTransferType[] = [PointsTransferType.Partner, PointsTransferType.NonPartner];\r\n balanceSub: Subscription;\r\n partners$: Observable;\r\n amount: number = 10;\r\n balance: number;\r\n selectedPartner: Partner | undefined;\r\n hasSelectedPartner: boolean;\r\n customOptions: OwlOptions = {\r\n margin: OwlCarouselSettings.Margin,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: false,\r\n navSpeed: 700,\r\n center: false,\r\n nav: false,\r\n responsive: {\r\n 0: { items: 2 },\r\n 400: { items: 3 },\r\n 740: { items: 5 },\r\n },\r\n };\r\n\r\n buttonNames = {\r\n [PointsTransferType.Partner]: 'Partner',\r\n [PointsTransferType.NonPartner]: 'Non-Partner',\r\n };\r\n\r\n @ViewChild('successModal') successModalRef: ElementRef;\r\n @ViewChild('confirmModal') confirmModalRef: ElementRef;\r\n constructor(\r\n private formBuilder: UntypedFormBuilder,\r\n private modalService: NgbModal,\r\n private balanceQuery: BalanceQuery,\r\n private pointsTransferService: PointsTransferService,\r\n private partnerQuery: PartnerQuery\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.partners$ = this.partnerQuery.selectAll();\r\n this.transferPointsForm.controls.Amount.setValue(this.amount.toString());\r\n this.balanceSub = this.balanceQuery.selectPurse(config.purseConfig.virtualLoyalty).subscribe((bal) => {\r\n this.balance = bal ?? 0;\r\n });\r\n this.SelectPointsTransferType(PointsTransferType.Partner);\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.balanceSub) {\r\n this.balanceSub.unsubscribe();\r\n }\r\n }\r\n\r\n SelectPointsTransferType(type: PointsTransferType) {\r\n this.selectedPointsTransferType = type;\r\n this.transferPointsForm.controls.PartnerAccountNumber.setValue('');\r\n this.selectedPartner = undefined;\r\n }\r\n\r\n submitStep() {\r\n if (!this.transferPointsForm.valid) {\r\n return;\r\n }\r\n this.transferPointsForm.controls.Amount.setValue(this.amount);\r\n this.modalService.open(this.confirmModalRef);\r\n }\r\n\r\n showPointsCounter(): boolean {\r\n return this.selectedPointsTransferType === 0 && this.transferPointsForm.controls.PartnerAccountNumber.value === '';\r\n }\r\n\r\n selectPartner(selectedPartner: Partner) {\r\n this.transferPointsForm.controls.PartnerAccountNumber.setValue(selectedPartner.ExternalRefNumber);\r\n this.selectedPartner = selectedPartner;\r\n }\r\n\r\n transferPoints() {\r\n let accountNumber = this.transferPointsForm.controls.PartnerAccountNumber.value;\r\n let amountToTransfer = this.transferPointsForm.controls.Amount.value;\r\n\r\n firstValueFrom(this.pointsTransferService\r\n .pointsTransfer(amountToTransfer, accountNumber))\r\n .then((response) => {\r\n this.goToSuccessModal();\r\n })\r\n .catch((err) => {\r\n this.modalService.dismissAll();\r\n });\r\n }\r\n\r\n addPoints(value: number) {\r\n this.amount += value;\r\n this.transferPointsForm.controls.Amount.setValue(this.amount);\r\n }\r\n\r\n goToSuccessModal() {\r\n this.modalService.open(this.successModalRef);\r\n }\r\n\r\n closeModal() {\r\n this.modalService.dismissAll();\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-points-management-page',\r\n templateUrl: './points-management-page.component.html',\r\n styleUrls: ['./points-management-page.component.scss'],\r\n})\r\nexport class PointsManagementPageComponent implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","
\r\n

{{ 'points.management.page.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n

Points Transfer

\r\n
\r\n
\r\n \r\n
\r\n","export interface DynamicScript {\r\n src: string;\r\n attrs?: { name: string; value?: string }[];\r\n}\r\n\r\nexport function LoadScripts(dynamicScripts: DynamicScript[]): Promise {\r\n const promises = [];\r\n\r\n const scripts = document.getElementsByTagName('script');\r\n for (let i = 0; i < dynamicScripts.length; i++) {\r\n const promise = new Promise((res) => {\r\n let isFound = false;\r\n for (let j = 0; j < scripts.length; ++j) {\r\n let src = scripts[j].getAttribute('src');\r\n if (src != null && src.startsWith(dynamicScripts[i].src)) {\r\n isFound = true;\r\n break;\r\n }\r\n }\r\n if (isFound) {\r\n res();\r\n } else {\r\n const node = document.createElement('script');\r\n node.src = dynamicScripts[i].src;\r\n node.type = 'text/javascript';\r\n node.async = false;\r\n node.onload = () => res();\r\n node.onerror = () => res();\r\n (dynamicScripts[i].attrs || []).forEach((attr) => node.setAttribute(attr.name, attr.value as string));\r\n document.getElementsByTagName('head')[0].appendChild(node);\r\n }\r\n });\r\n\r\n promises.push(promise);\r\n }\r\n\r\n return Promise.all(promises);\r\n}\r\n\r\nexport function UnloadScript(name: string) {\r\n const scripts = document.getElementsByTagName('script');\r\n for (let j = 0; j < scripts.length; ++j) {\r\n let src = scripts[j].getAttribute('src');\r\n if (src != null && src.startsWith(name)) {\r\n document.getElementsByTagName('head')[0].removeChild(scripts[j]);\r\n return;\r\n }\r\n }\r\n}\r\n","import { Component, OnInit, Input, Output, EventEmitter, Injectable, OnDestroy } from '@angular/core';\r\nimport { LoadScripts, DynamicScript } from 'src/app/shared/utilities/load-scripts.function';\r\nimport { BehaviorSubject, Observable, Subscription } from 'rxjs';\r\nimport { delay } from 'rxjs/operators';\r\nimport { WorksheetService } from '@fgb/core';\r\ndeclare var YT: any;\r\ndeclare var gtag: any;\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class YoutubeService {\r\n static behaviourSubject: BehaviorSubject;\r\n\r\n constructor() {}\r\n\r\n addVideo(): Observable {\r\n if (YoutubeService.behaviourSubject == null) {\r\n YoutubeService.behaviourSubject = new BehaviorSubject('initializing');\r\n\r\n LoadScripts([{ src: 'https://www.youtube.com/iframe_api' }] as DynamicScript[]);\r\n\r\n if (!(window as any)['onYouTubeIframeAPIReady']) {\r\n (window as any)['onYouTubeIframeAPIReady'] = (e: any) => {\r\n let status = YoutubeService.behaviourSubject.value;\r\n if (status != 'loaded') {\r\n YoutubeService.behaviourSubject.next('loaded');\r\n }\r\n };\r\n }\r\n else {\r\n let status = YoutubeService.behaviourSubject.value;\r\n if (status != 'loaded') {\r\n YoutubeService.behaviourSubject.next('loaded');\r\n }\r\n }\r\n }\r\n\r\n return YoutubeService.behaviourSubject.asObservable();\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'fgb-youtube-player',\r\n templateUrl: './fgb-youtube-player.component.html',\r\n styleUrls: ['./fgb-youtube-player.component.scss'],\r\n})\r\nexport class FgbYoutubePlayerComponent implements OnInit, OnDestroy {\r\n @Input() streamKey: string;\r\n @Output() onStateChange = new EventEmitter();\r\n\r\n private subscription: Subscription;\r\n public static analyticsInterval = 0;\r\n\r\n constructor(private youtubeService: YoutubeService, private worksheetService: WorksheetService) {}\r\n\r\n ngOnInit() {\r\n this.subscription = this.youtubeService\r\n .addVideo()\r\n .pipe(delay(100))\r\n .subscribe((youtubeStatus) => {\r\n if (youtubeStatus == 'loaded') {\r\n let onStateChangeFunction = this.onStateChange;\r\n let streamKeyValue = this.streamKey;\r\n let workSheetItemService = this.worksheetService;\r\n\r\n new YT.Player('ytplayer_' + this.streamKey, {\r\n height: '650px',\r\n width: '100%',\r\n videoId: this.streamKey,\r\n events: {\r\n onStateChange: function (event: any) {\r\n onStateChangeFunction.emit(event);\r\n if (event.data == 1) {\r\n // start\r\n workSheetItemService.logViewStreamStart(streamKeyValue);\r\n FgbYoutubePlayerComponent.analyticsInterval = window.setInterval(() => {\r\n gtag('event', 'streaming', {\r\n streamKey: streamKeyValue,\r\n event_category: 'watching_stream',\r\n event_label: streamKeyValue,\r\n });\r\n workSheetItemService.logStreamWatching(streamKeyValue);\r\n }, 30000);\r\n\r\n gtag('event', 'streaming', {\r\n streamKey: streamKeyValue,\r\n event_category: 'start_stream',\r\n event_label: streamKeyValue,\r\n });\r\n } else if (event.data == 2) {\r\n // pause\r\n gtag('event', 'streaming', {\r\n streamKey: streamKeyValue,\r\n event_category: 'pause_stream',\r\n event_label: streamKeyValue,\r\n });\r\n window.clearInterval(FgbYoutubePlayerComponent.analyticsInterval);\r\n }\r\n },\r\n },\r\n });\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n window.clearInterval(FgbYoutubePlayerComponent.analyticsInterval);\r\n this.subscription.unsubscribe();\r\n }\r\n}\r\n","
","import { Component, OnInit, Input } from '@angular/core';\r\nimport { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'fgb-vimeo-player',\r\n templateUrl: './fgb-vimeo-player.component.html',\r\n styleUrls: ['./fgb-vimeo-player.component.scss']\r\n})\r\nexport class FgbVimeoPlayerComponent implements OnInit {\r\n\r\n @Input() streamKey: string;\r\n safeUrl : SafeResourceUrl;\r\n \r\n constructor(private domSanitizer: DomSanitizer) { }\r\n\r\n ngOnInit() {\r\n this.safeUrl = this.domSanitizer.bypassSecurityTrustResourceUrl('https://player.vimeo.com/video/' + this.streamKey);\r\n }\r\n}","","import { Component, OnInit, Input } from '@angular/core';\r\nimport { LoadScripts, DynamicScript } from 'src/app/shared/utilities/load-scripts.function';\r\ndeclare var SVPDynamicPlayer: any;\r\n\r\n@Component({\r\n selector: 'fgb-svp-player',\r\n templateUrl: './fgb-svp-player.component.html',\r\n styleUrls: ['./fgb-svp-player.component.scss']\r\n})\r\nexport class FgbSVPPlayerComponent implements OnInit {\r\n\r\n @Input() streamKey: string;\r\n \r\n constructor() { }\r\n\r\n ngOnInit() {\r\n LoadScripts([{ src: \"http://play.streamingvideoprovider.com/js/dplayer.js\"}] as DynamicScript[])\r\n .then(() => {\r\n\r\n let svpOptions = {\r\n clip_id: this.streamKey,\r\n transparent:\"false\", \r\n pause:\"0\", \r\n repeat:\"\", \r\n bg_color:\"#505050\", \r\n fs_mode:\"2\", \r\n no_controls:\"\", \r\n brand_new_window:\"1\", \r\n auto_hide:\"\", \r\n stretch_video:\"\", \r\n referer:\"https://www.streamingvideoprovider.com/streaming-video-players.html\", \r\n ext:\"\", \r\n preview: \"\", \r\n start_volume:\"100\", \r\n skinAlpha:\"80\", \r\n colorBase:\"#202020\", \r\n colorIcon:\"#FFFFFF\", \r\n colorHighlight:\"#ff9b0f\", \r\n direct:\"true\", \r\n initialBufferTime:\"2\", \r\n bufferTime:\"2\", \r\n expandedBufferTime:\"4\", \r\n viewers_limit:0, \r\n cc_position:\"bottom\", \r\n cc_positionOffset:70, \r\n cc_multiplier:0.03, \r\n cc_textColor:\"#ffffff\", \r\n cc_textOutlineColor:\"#ffffff\", \r\n cc_bkgColor:\"#000000\", \r\n cc_bkgAlpha:70, \r\n aspect_ratio: \"16:9\", \r\n play_button: \"0\", \r\n play_button_style: \"pulsing\", \r\n sleek_player: \"0\" \r\n } \r\n\r\n \r\n let player = new SVPDynamicPlayer(\"svp-player_\" + this.streamKey, \"\", \"100%\", \"100\", {use_div:\"player_flash\",skin:\"3\"}, svpOptions); \r\n player.execute(); \r\n });\r\n }\r\n}","
"," import { Component, OnInit, Input } from '@angular/core';\r\nimport { SafeResourceUrl } from '@angular/platform-browser';\r\nimport { LoadScripts, DynamicScript } from 'src/app/shared/utilities/load-scripts.function';\r\ndeclare var Twitch: any;\r\n\r\n@Component({\r\n selector: 'fgb-twitch-player',\r\n templateUrl: './fgb-twitch-player.component.html',\r\n styleUrls: ['./fgb-twitch-player.component.scss']\r\n})\r\nexport class FgbTwitchPlayerComponent implements OnInit {\r\n\r\n @Input() streamKey: string;\r\n safeUrl : SafeResourceUrl;\r\n \r\n constructor() { }\r\n\r\n ngOnInit() {\r\n LoadScripts([{ src: \"https://player.twitch.tv/js/embed/v1.js\"}] as DynamicScript[])\r\n .then(() => {\r\n\r\n new Twitch.Player(\"twitch-player_\" + this.streamKey, {\r\n channel: this.streamKey,\r\n //video: this.streamKey,\r\n height: \"100%\",\r\n width: \"100%\",\r\n autoplay: false,\r\n // only needed if your site is also embedded on embed.example.com and othersite.example.com \r\n parent: [\"embed.example.com\", \"othersite.example.com\"]\r\n });\r\n\r\n });\r\n }\r\n}","
","import { Component, OnInit, Injectable, Input, Output,EventEmitter } from '@angular/core';\r\nimport { BehaviorSubject, Observable, Subscription } from 'rxjs';\r\nimport { LoadScripts, DynamicScript } from 'src/app/shared/utilities/load-scripts.function';\r\nimport { delay } from 'rxjs/operators';\r\ndeclare var boxcast : any;\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class BoxCastService\r\n{\r\n static behaviourSubject: BehaviorSubject;\r\n \r\n constructor() {}\r\n\r\n addVideo() : Observable {\r\n \r\n if (BoxCastService.behaviourSubject == null) {\r\n\r\n BoxCastService.behaviourSubject = new BehaviorSubject(\"initializing\");\r\n \r\n let srcProtocal = (('https:' == document.location.protocol) ? 'https:' : 'http:');\r\n let scriptUrl = srcProtocal + '//js.boxcast.com/v3.min.js';\r\n \r\n LoadScripts([{ src: scriptUrl}] as DynamicScript[]).then(() =>{\r\n BoxCastService.behaviourSubject.next(\"loaded\");\r\n })\r\n }\r\n \r\n return BoxCastService.behaviourSubject.asObservable();\r\n }\r\n}\r\n\r\n\r\n@Component({\r\n selector: 'fgb-boxcast-player',\r\n templateUrl: './fgb-boxcast-player.component.html',\r\n styleUrls: ['./fgb-boxcast-player.component.scss']\r\n})\r\nexport class FgbBoxcastPlayerComponent implements OnInit {\r\n \r\n @Input() streamKey: string;\r\n @Output() onStateChange = new EventEmitter();\r\n\r\n private subscription: Subscription;\r\n private videoContext: any;\r\n\r\n constructor(private boxCastService: BoxCastService) { }\r\n\r\n ngOnInit() {\r\n\r\n this.subscription = this.boxCastService.addVideo().pipe(delay(1000)).subscribe(boxCastStatus => {\r\n\r\n if (boxCastStatus == \"loaded\") {\r\n\r\n let onStateChangeFunction = this.onStateChange;\r\n \r\n this.videoContext = boxcast(\"#boxcast_player_\" + this.streamKey);\r\n this.videoContext.loadChannel(this.streamKey, {\r\n \"showTitle\": 0, \r\n \"showDescription\": 0, \r\n \"showHighlights\": 0, \r\n \"showRelated\": false, \r\n \"showCountdown\": true, \r\n \"market\": \"smb\", \r\n \"showDocuments\": false, \r\n \"showIndex\": false, \r\n \"showDonations\": false,\r\n \"onPlayerStateChanged\" : function(eventName: string , eventDetails: any) {\r\n onStateChangeFunction.emit({ eventName, eventDetails} as any);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.videoContext.unload();\r\n this.subscription.unsubscribe();\r\n }\r\n}\r\n","
Loading...
","import { Component, OnInit, Input } from '@angular/core';\r\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'fgb-streamable-player',\r\n templateUrl: './fgb-streamable-player.component.html',\r\n styleUrls: ['./fgb-streamable-player.component.scss']\r\n})\r\nexport class FgbStreamablePlayerComponent implements OnInit {\r\n\r\n @Input() streamKey: string;\r\n safeUrl : SafeResourceUrl;\r\n \r\n constructor(private domSanitizer: DomSanitizer) { }\r\n\r\n ngOnInit() {\r\n this.safeUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(this.streamKey);\r\n }\r\n}\r\n","
\r\n \r\n
","import { Component, OnInit, Injectable, OnDestroy, Input, Output, EventEmitter } from '@angular/core';\r\nimport { Observable, BehaviorSubject, Subscription } from 'rxjs';\r\nimport { LoadScripts, DynamicScript } from 'src/app/shared/utilities/load-scripts.function';\r\nimport { delay } from 'rxjs/operators';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class FacebookService {\r\n static behaviourSubject: BehaviorSubject;\r\n\r\n constructor() {}\r\n\r\n addVideo(): Observable {\r\n if (FacebookService.behaviourSubject == null) {\r\n FacebookService.behaviourSubject = new BehaviorSubject(\"initializing\");\r\n \r\n let srcProtocal = (('https:' == document.location.protocol) ? 'https:' : 'http:');\r\n let scriptUrl = srcProtocal + '//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2';\r\n \r\n LoadScripts([{ src: scriptUrl}] as DynamicScript[]).then(() =>{\r\n FacebookService.behaviourSubject.next(\"loaded\");\r\n })\r\n }\r\n\r\n return FacebookService.behaviourSubject.asObservable();\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'fgb-facebook-player',\r\n templateUrl: './fgb-facebook-player.component.html',\r\n styleUrls: ['./fgb-facebook-player.component.scss'],\r\n})\r\nexport class FgbFacebookPlayerComponent implements OnInit, OnDestroy {\r\n @Input() streamKey: string;\r\n @Output() onStateChange = new EventEmitter();\r\n \r\n private subscription: Subscription;\r\n public static analyticsInterval = 0;\r\n\r\n constructor(private facebookService: FacebookService) {}\r\n\r\n ngOnInit() {\r\n this.subscription = this.facebookService\r\n .addVideo()\r\n .pipe(delay(100))\r\n .subscribe((facebookService) => {\r\n if (facebookService == 'loaded') {\r\n \r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n}\r\n","
\r\n","\r\n \r\n
\r\n
\r\n \r\n\r\n
{{ worksheetItem.Description }}
\r\n\r\n \r\n {{ 'worksheet.download' | translate | uppercase }}\r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n \r\n
\r\n
\r\n \r\n\r\n
{{ worksheetItem.Description }}
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
\r\n \r\n\r\n
{{ worksheetItem.Description }}
\r\n\r\n {{ 'worksheet.download' | translate | uppercase }}\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { ProviderName, WorksheetItem, WorksheetService, WorksheetType } from '@fgb/core';\r\nimport { firstValueFrom } from 'rxjs';\r\n@Component({\r\n selector: 'fgb-worksheet-item',\r\n templateUrl: './worksheet-item.component.html',\r\n styleUrls: ['./worksheet-item.component.scss'],\r\n})\r\nexport class WorksheetItemComponent implements OnInit {\r\n @Input() worksheetItem: WorksheetItem;\r\n @Input() worksheetId: number;\r\n\r\n worksheetType = WorksheetType;\r\n providerName = ProviderName;\r\n\r\n constructor(private worksheetService: WorksheetService) {}\r\n\r\n ngOnInit() {}\r\n\r\n public getDownload(worksheetId: number, worksheetItemId: number) {\r\n firstValueFrom(this.worksheetService\r\n .downloadWorksheet(worksheetId, worksheetItemId))\r\n .then((response) => {\r\n const newBlob = new Blob([response], { type: response.type });\r\n\r\n const anchor = window.document.createElement('a');\r\n anchor.href = window.URL.createObjectURL(newBlob);\r\n // TODO: Return worksheet item download name\r\n anchor.download = worksheetItemId.toString();\r\n document.body.appendChild(anchor);\r\n anchor.click();\r\n window.URL.revokeObjectURL(anchor.href);\r\n document.body.removeChild(anchor);\r\n });\r\n }\r\n}\r\n","\r\n
\r\n

Watch

\r\n
\r\n \r\n 0; else noGameToday\">\r\n
\r\n 0; else noVideo\" class=\"h-0\">\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
Quiz
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Predictor
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Polls
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
Game Day Video
\r\n
Currently Unavailable
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Join us for matchday streaming and other video content throughout the season.\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport {\r\n CompanyQuery,\r\n Company,\r\n config,\r\n WorksheetService,\r\n WorksheetQuery,\r\n SurveyQuery,\r\n Survey,\r\n SurveyType,\r\n CompanyService\r\n} from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { Router } from '@angular/router';\r\nimport { GameQuery, GameService, Game } from '@fgb/core';\r\nimport { GameDataSource } from '@fgb/core';\r\nimport * as moment from 'moment';\r\n\r\n@Component({\r\n selector: 'fgb-tailgate-page',\r\n templateUrl: './tailgate-page.component.html',\r\n styleUrls: ['./tailgate-page.component.scss'],\r\n})\r\nexport class TailgatePageComponent implements OnInit {\r\n config = config;\r\n companies$: Observable;\r\n worksheets$ = this.worksheetQuery.getWorksheetByRoute(this.router.url.replace('/', ''));\r\n game$: Observable;\r\n quizzes$: Observable;\r\n predictor$: Observable;\r\n polls$: Observable;\r\n\r\n constructor(\r\n private worksheetService: WorksheetService,\r\n private companyService: CompanyService,\r\n private worksheetQuery: WorksheetQuery,\r\n private companyQuery: CompanyQuery,\r\n private router: Router,\r\n private gameQuery: GameQuery,\r\n private gameService: GameService,\r\n private surveyQuery: SurveyQuery\r\n ) {}\r\n\r\n ngOnInit() {\r\n if (!this.worksheetQuery.hasRoute(this.router.url.replace('/', ''))) {\r\n firstValueFrom(this.worksheetService.fetchWorksheetByRoute(this.router.url.replace('/', '')));\r\n }\r\n\r\n this.quizzes$ = this.surveyQuery.selectFavoriteSurvey(SurveyType.Trivia);\r\n this.predictor$ = this.surveyQuery.selectFavoriteSurvey(SurveyType.Predictor);\r\n this.polls$ = this.surveyQuery.selectFavoriteSurvey(SurveyType.Poll);\r\n\r\n\r\n firstValueFrom(this.companyService.fetchAllCompanies()).then(() => {\r\n this.companies$ = this.companyQuery.selectCompanies().pipe(\r\n map((companies) => {\r\n return companies.slice(0, 4);\r\n })\r\n );\r\n });\r\n\r\n firstValueFrom(this.gameService\r\n .fetchGames('', GameDataSource.Club))\r\n .then(() => {\r\n this.game$ = this.gameQuery.selectAllGames().pipe(\r\n // Get all future games\r\n map((games) => games.filter((game) => moment.utc(game.Date).isAfter(moment.utc().startOf('day')))),\r\n // Order by date\r\n map((games) => games.sort((first, second) => moment(second.Date).diff(moment.utc(first.Date)))),\r\n\r\n map((games) =>\r\n games.reduce((nextGame, currentGame) => {\r\n return currentGame;\r\n })\r\n )\r\n );\r\n });\r\n }\r\n\r\n isGameToday(date: Date) {\r\n return true;\r\n }\r\n}\r\n","\r\n 0\">\r\n
Current Partners
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{ partner.FullName }}
\r\n
\r\n
\r\n
\r\n
\r\n
{{ partner.Email }}
\r\n
\r\n
\r\n
\r\n
\r\n
{{ partner.FullName }}
\r\n
{{ partner.Email }}
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n Are you sure you want to delete this partner?\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { PartnerQuery, Partner, PartnerService } from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-partner-list',\r\n templateUrl: './partner-list.component.html',\r\n styleUrls: ['./partner-list.component.scss'],\r\n})\r\nexport class PartnerListComponent implements OnInit {\r\n constructor(private partnerQuery: PartnerQuery, private partnerService: PartnerService) {}\r\n partners$: Observable;\r\n ngOnInit() {\r\n this.partners$ = this.partnerQuery.selectAll();\r\n }\r\n\r\n delete(id: number) {\r\n firstValueFrom(this.partnerService.remove(id));\r\n }\r\n}\r\n","\r\n 0\">\r\n
Pending Partners
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{ partner.FullName }}
\r\n
\r\n
\r\n
\r\n
\r\n
{{ partner.Email }}
\r\n
\r\n
\r\n
\r\n
\r\n
{{ partner.FullName }}
\r\n
{{ partner.Email }}
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n Are you sure you want to delete this pending partner?\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { PartnerPendingQuery, PartnerPendingService, PartnerPending } from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-partner-pending-list',\r\n templateUrl: './partner-pending-list.component.html',\r\n styleUrls: ['./partner-pending-list.component.scss'],\r\n})\r\nexport class PartnerPendingListComponent implements OnInit {\r\n constructor(private pendingQuery: PartnerPendingQuery, private pendingService: PartnerPendingService) {}\r\n\r\n pendingPartners$: Observable;\r\n\r\n ngOnInit() {\r\n this.pendingPartners$ = this.pendingQuery.selectAll();\r\n }\r\n\r\n delete(ticketKey: string) {\r\n firstValueFrom(this.pendingService.remove(ticketKey));\r\n }\r\n}\r\n","import { Component, OnInit, Output, EventEmitter, OnDestroy } from '@angular/core';\r\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\r\nimport { ErrorStateService, PartnerPending, PartnerPendingQuery, PartnerPendingService } from '@fgb/core';\r\nimport { Observable, Subscription, firstValueFrom } from 'rxjs';\r\nimport { Regex } from 'src/app/shared/utilities/regex';\r\n@Component({\r\n selector: 'fgb-partner-add-form',\r\n templateUrl: './partner-add-form.component.html',\r\n styleUrls: ['./partner-add-form.component.scss'],\r\n})\r\nexport class PartnerAddFormComponent implements OnInit, OnDestroy {\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private partnerPendingService: PartnerPendingService,\r\n private pendingQuery: PartnerPendingQuery,\r\n private errorService: ErrorStateService\r\n ) {}\r\n @Output() close = new EventEmitter();\r\n addForm: UntypedFormGroup;\r\n pendingPartners$: Observable;\r\n pendingPartnerEmails: string[] = [];\r\n pendingPartnerSub: Subscription;\r\n ngOnInit() {\r\n this.addForm = this.fb.group({\r\n fullName: ['', Validators.required],\r\n email: ['', [Validators.pattern(Regex.email), Validators.required]],\r\n });\r\n\r\n this.pendingPartnerSub = this.pendingQuery.selectAll().subscribe((pendingPartners) => {\r\n pendingPartners.forEach((pendingPatner) => {\r\n this.pendingPartnerEmails.push(pendingPatner.Email.toLowerCase());\r\n });\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.pendingPartnerSub) {\r\n this.pendingPartnerSub.unsubscribe();\r\n }\r\n }\r\n\r\n submit() {\r\n this.errorService.clearErrors();\r\n let pendingExists = false;\r\n this.pendingPartnerEmails.forEach((pendingEmail) => {\r\n if (this.addForm.controls.email.value.toLowerCase() === pendingEmail) {\r\n pendingExists = true;\r\n return;\r\n }\r\n });\r\n\r\n if (pendingExists) {\r\n this.errorService.addError('This email is already used for an existing pending partner');\r\n } else {\r\n const fullName: string = this.addForm.value.fullName;\r\n const email: string = this.addForm.value.email;\r\n firstValueFrom(this.partnerPendingService.add(fullName, email, ''));\r\n this.close.emit();\r\n }\r\n }\r\n\r\n clearErrorsOnClose() {\r\n this.errorService.clearErrors();\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, EventEmitter, Output } from '@angular/core';\r\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\r\nimport { PartnerService, ErrorStateService } from '@fgb/core';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-partner-accept-form',\r\n templateUrl: './partner-accept-form.component.html',\r\n styleUrls: ['./partner-accept-form.component.scss'],\r\n})\r\nexport class PartnerAcceptFormComponent implements OnInit {\r\n constructor(private fb: UntypedFormBuilder, private partnerService: PartnerService, private errorService: ErrorStateService) {}\r\n acceptForm: UntypedFormGroup;\r\n @Output() close = new EventEmitter();\r\n\r\n ngOnInit() {\r\n this.acceptForm = this.fb.group({\r\n code: ['', Validators.required],\r\n secretCode: ['', Validators.required],\r\n });\r\n }\r\n\r\n submit() {\r\n const code: string = this.acceptForm.value.code;\r\n const secretCode: string = this.acceptForm.value.secretCode;\r\n firstValueFrom(this.partnerService\r\n .confirmPartner(secretCode, code))\r\n .catch(t => {\r\n this.errorService.clearErrors();\r\n this.errorService.addError('Please enter valid partner credentials');\r\n });\r\n this.close.emit();\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","
\r\n

{{ memberDetails!.FirstName }} {{ memberDetails!.Surname }}

\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n

\r\n Use this page to setup your account partners for the 2020 season. Partners receive great benefits like exchanges, eCASH\r\n Back, and can earn points. Be sure to also add them as a “Friend” on the “Tickets” page so you can easily transfer\r\n tickets to your partners . Please visit\r\n http://www.fortressgb.com/\r\n to learn more about forwarding tickets.\r\n

\r\n
\r\n
\r\n
\r\n = partnerLimit\r\n }\"\r\n >\r\n
\r\n \r\n \r\n = partnerLimit }\"\r\n >\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n 0; else partnerPlaceholder\">\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n

NO PARTNER

\r\n
\r\n To add your first partner please click on add new partner and insert your partners details.\r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnDestroy, OnInit } from '@angular/core';\r\nimport { combineLatest, Observable, Subject } from 'rxjs';\r\nimport {\r\n PartnerQuery,\r\n PartnerPendingQuery,\r\n MemberDetails,\r\n MemberQuery,\r\n PartnerService,\r\n Partner,\r\n PartnerPending,\r\n} from '@fgb/core';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-partner-page',\r\n templateUrl: './partner-page.component.html',\r\n styleUrls: ['./partner-page.component.scss'],\r\n})\r\nexport class PartnerPageComponent implements OnInit, OnDestroy {\r\n constructor(\r\n private partnerQuery: PartnerQuery,\r\n private pendingQuery: PartnerPendingQuery,\r\n public memberQuery: MemberQuery,\r\n private partnerService: PartnerService\r\n ) {}\r\n showAddForm: boolean;\r\n showAcceptForm: boolean;\r\n partnersCount: number;\r\n memberDetails$: Observable;\r\n partnerLimit$: Observable;\r\n partners: Partner[];\r\n pendingPartners: PartnerPending[];\r\n currentPartnerCount: number;\r\n\r\n private _destroyed$ = new Subject();\r\n\r\n ngOnInit() {\r\n this.partnerLimit$ = this.partnerService.getPartnerLimit();\r\n\r\n combineLatest([this.partnerQuery.selectAll(), this.pendingQuery.selectAll()])\r\n .pipe(takeUntil(this._destroyed$))\r\n .subscribe(([partners, pendingPartners]) => {\r\n this.partners = partners;\r\n this.pendingPartners = pendingPartners;\r\n\r\n if (this.partners && this.pendingPartners) {\r\n this.currentPartnerCount = this.partners.length + this.pendingPartners.length;\r\n }\r\n });\r\n\r\n this.memberDetails$ = this.memberQuery.selectMemberDetails();\r\n }\r\n\r\n ngOnDestroy() {\r\n this._destroyed$.next();\r\n this._destroyed$.unsubscribe();\r\n }\r\n\r\n toggleAddForm() {\r\n this.showAddForm = !this.showAddForm;\r\n this.showAcceptForm = false;\r\n }\r\n\r\n toggleAcceptForm() {\r\n this.showAcceptForm = !this.showAcceptForm;\r\n this.showAddForm = false;\r\n }\r\n}\r\n","
\r\n

{{ 'home.page.leaderboard.title' | translate }}

\r\n
\r\n
\r\n
\r\n {{ today | date : 'yyyy' }}\r\n
\r\n
\r\n
\r\n
{{ 'leaderboard.rank' | translate }}
\r\n
{{ 'leaderboard.points' | translate }}
\r\n
\r\n \r\n
0 && item.Position - data[i - 1].Position > 1\" class=\"row\">\r\n

\r\n
\r\n
\r\n
#
\r\n
\r\n
{{ item.Position }}
\r\n
\r\n
\r\n
\r\n {{ item.FullName }}\r\n
\r\n
\r\n
\r\n
\r\n {{ item.Points | number }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { LeaderboardQuery, LeaderboardEntry, LeaderboardService } from '@fgb/core';\r\nimport { firstValueFrom } from 'rxjs';\r\n@Component({\r\n selector: 'fgb-leaderboard',\r\n templateUrl: './leaderboard.component.html',\r\n styleUrls: ['./leaderboard.component.scss'],\r\n})\r\nexport class LeaderboardComponent implements OnInit {\r\n @Input() toShow: number;\r\n @Input() showViewFull: boolean;\r\n data: LeaderboardEntry[] = [];\r\n today: Date = new Date();\r\n\r\n constructor(private leaderboardQuery: LeaderboardQuery, private leaderboardService: LeaderboardService) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.leaderboardService\r\n .fetchLeaderboard())\r\n .then(() => {\r\n this.data = this.leaderboardQuery.formatArrayWithUser(this.toShow, this.leaderboardQuery.getValue().leaderboard);\r\n });\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-leaderboard-page',\r\n templateUrl: './leaderboard-page.component.html',\r\n styleUrls: ['./leaderboard-page.component.scss']\r\n})\r\nexport class LeaderboardPageComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n

{{ 'pick.player.leaderboard.title' | translate }}

\r\n
\r\n\r\n
\r\n

{{ 'pick.player.leaderboard.title' | translate }}

\r\n \r\n
\r\n","
\r\n
\r\n

{{ 'lotto.page.title' | translate }}

\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { LottoItem, LottoQuery } from '@fgb/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-lottos-terms-page',\r\n templateUrl: './lottos-terms-page.component.html',\r\n styleUrls: ['./lottos-terms-page.component.scss'],\r\n})\r\nexport class LottosTermsPageComponent implements OnInit {\r\n lottoItem: LottoItem | undefined;\r\n constructor(private lottoQuery: LottoQuery, private route: ActivatedRoute) {}\r\n\r\n ngOnInit() {\r\n let id = +(this.route.snapshot.paramMap.get('id') || 0);\r\n this.lottoItem = this.lottoQuery.getEntity(id);\r\n }\r\n}\r\n","
\r\n
\r\n

{{ 'marketplace.page.title' | translate }}

\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MarketplaceItem, MarketplaceQuery, MarketplaceService } from '@fgb/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-marketplace-terms-page',\r\n templateUrl: './marketplace-terms-page.component.html',\r\n styleUrls: ['./marketplace-terms-page.component.scss'],\r\n})\r\nexport class MarketplaceTermsPageComponent implements OnInit {\r\n marketplaceItem: MarketplaceItem | undefined;\r\n constructor(\r\n private marketplaceQuery: MarketplaceQuery,\r\n private marketplaceService: MarketplaceService,\r\n private route: ActivatedRoute\r\n ) {}\r\n\r\n ngOnInit() {\r\n let id = +(this.route.snapshot.paramMap.get('id') || 0);\r\n\r\n firstValueFrom(this.marketplaceService.fetchMarketplaceItemById(id)).then(() => {\r\n this.marketplaceItem = this.marketplaceQuery.getEntity(id);\r\n });\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TMOauthService } from '@fgb/core';\r\n\r\n\r\n@Component({\r\n selector: 'fgb-tm-callback',\r\n templateUrl: './tm-callback.component.html',\r\n styleUrls: ['./tm-callback.component.scss']\r\n})\r\nexport class TmCallbackComponent implements OnInit {\r\n\r\n constructor(private tmOauthService: TMOauthService) { }\r\n\r\n ngOnInit() {\r\n let index = window.location.href.indexOf('code');\r\n if (index != -1){\r\n this.tmOauthService.callBackToken(window.location.href.substring(index + 5));\r\n }\r\n }\r\n\r\n}\r\n","

\r\n Redirecting to Ticket Master\r\n

\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TMAuthService } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-tm-auth-callback',\r\n templateUrl: './tm-auth-callback.component.html',\r\n styleUrls: ['./tm-auth-callback.component.scss']\r\n})\r\nexport class TmAuthCallbackComponent implements OnInit {\r\n \r\n constructor(private tmAuthservice: TMAuthService) { }\r\n \r\n ngOnInit() {\r\n let code = this.getParameter('code');\r\n let state = this.getParameter('state');\r\n if (code != ''){\r\n this.tmAuthservice.authCallback(code, state);\r\n }\r\n }\r\n\r\n getParameter(name: string) : string {\r\n const results = new RegExp('[\\\\?&]' + name + '=([^&#]*)').exec(window.location.href);\r\n if(!results){\r\n return '';\r\n }\r\n return results[1] as (string) || '';\r\n }\r\n}\r\n","

Processing request

","\r\n \r\n
\r\n 0\">\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n

No worksheet available

\r\n\r\n \r\n \r\n

Error {{ worksheets.error }}

\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { WorksheetQuery, WorksheetService } from '@fgb/core';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-worksheet-list',\r\n templateUrl: './worksheet-list.component.html',\r\n styleUrls: ['./worksheet-list.component.scss'],\r\n})\r\nexport class WorksheetListComponent implements OnInit {\r\n isList: boolean = true;\r\n worksheets$ = this.worksheetQuery.getWorksheetByRoute(this.router.url.replace('/', ''));\r\n\r\n constructor(private worksheetService: WorksheetService, private worksheetQuery: WorksheetQuery, private router: Router) {}\r\n\r\n ngOnInit() {\r\n if (!this.worksheetQuery.hasRoute(this.router.url.replace('/', ''))) {\r\n firstValueFrom(this.worksheetService.fetchWorksheetByRoute(this.router.url.replace('/', '')));\r\n }\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-worksheet-page',\r\n templateUrl: './worksheet-page.component.html',\r\n styleUrls: ['./worksheet-page.component.scss']\r\n})\r\nexport class WorksheetPageComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\r\nimport { LoadScripts, DynamicScript } from 'src/app/shared/utilities/load-scripts.function';\r\nimport { MemberQuery, config, ScorecardService } from '@fgb/core';\r\nimport { map } from 'rxjs/operators';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\ndeclare var ZoomMtg: any;\r\n\r\n@Component({\r\n selector: 'fgb-zoom-conference',\r\n templateUrl: './fgb-zoom-conference.component.html',\r\n styleUrls: ['./fgb-zoom-conference.component.scss'],\r\n})\r\nexport class FgbZoomConferenceComponent implements OnInit {\r\n @Input() meetingNumber: string;\r\n @Input() meetingPassword: string;\r\n @Input() apiKey: string;\r\n @Input() leaveUrl: string;\r\n @Input() signature: string;\r\n @Output() onStateChange = new EventEmitter();\r\n\r\n meetingJoinedSuccessfully: boolean = false;\r\n\r\n constructor(private memberQuery: MemberQuery, private scorecardService: ScorecardService) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.memberQuery\r\n .selectMemberDetails()\r\n .pipe(\r\n map((x) => {\r\n if (!x) {\r\n return;\r\n }\r\n\r\n LoadScripts([\r\n { src: 'https://source.zoom.us/1.8.6/lib/vendor/react.min.js' },\r\n { src: 'https://source.zoom.us/1.8.6/lib/vendor/react-dom.min.js' },\r\n { src: 'https://source.zoom.us/1.8.6/lib/vendor/redux.min.js' },\r\n { src: 'https://source.zoom.us/1.8.6/lib/vendor/redux-thunk.min.js' },\r\n { src: 'https://source.zoom.us/1.8.6/lib/vendor/jquery.min.js' },\r\n { src: 'https://source.zoom.us/1.8.6/lib/vendor/lodash.min.js' },\r\n { src: 'https://source.zoom.us/zoom-meeting-1.8.6.min.js' },\r\n ] as DynamicScript[]).then(() => {\r\n ZoomMtg.setZoomJSLib('https://source.zoom.us/1.8.6/lib', '/av');\r\n ZoomMtg.preLoadWasm();\r\n ZoomMtg.prepareJssdk();\r\n\r\n let meetingNumberLocale = this.meetingNumber;\r\n let meetingPasswordLocale = this.meetingPassword;\r\n let apiKeyLocale = this.apiKey;\r\n let userEmailLocale = x.EmailAddress1;\r\n let userUserNameLocale = x.FirstName + ' ' + x.Surname;\r\n let signatureLocale = this.signature;\r\n\r\n if (this.leaveUrl == null) {\r\n this.leaveUrl = config.portalUrl;\r\n }\r\n\r\n ZoomMtg.init({\r\n debug: true,\r\n leaveUrl: this.leaveUrl,\r\n disableJoinAudio: false,\r\n loginWindow: {\r\n // optional,\r\n width: 400,\r\n height: 380,\r\n },\r\n success: function () {\r\n ZoomMtg.join({\r\n signature: signatureLocale,\r\n meetingNumber: meetingNumberLocale,\r\n userName: userUserNameLocale,\r\n apiKey: apiKeyLocale,\r\n userEmail: userEmailLocale,\r\n passWord: meetingPasswordLocale,\r\n success: (responseMessage: any) => {\r\n console.log(responseMessage);\r\n this.meetingJoinedSuccessfully = true;\r\n },\r\n error: (errorMessage: any) => {\r\n console.log(errorMessage);\r\n },\r\n \r\n });\r\n },\r\n });\r\n });\r\n })\r\n ))\r\n .finally(() => {\r\n if(this.meetingJoinedSuccessfully){\r\n firstValueFrom(this.scorecardService.joinWebCall(this.meetingNumber));\r\n }\r\n });\r\n }\r\n}\r\n","\r\n","\r\n \r\n \r\n \r\n \r\n

You are not allowed to join this call

\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { PurchaseService, ExternalProviderService, MarketplaceVirtualEvent } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ActivatedRoute } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-zoom-meeting-page',\r\n templateUrl: './zoom-meeting-page.component.html',\r\n styleUrls: ['./zoom-meeting-page.component.scss'],\r\n})\r\nexport class ZoomMeetingPageComponent implements OnInit {\r\n zoomConference$: Observable;\r\n logItemId: number;\r\n validItem: boolean = false;\r\n token: string | null;\r\n\r\n constructor(\r\n private purchaseService: PurchaseService,\r\n private route: ActivatedRoute,\r\n private externalProviderService: ExternalProviderService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.logItemId = +(this.route.snapshot.paramMap.get('purchaseId') || 0);\r\n\r\n this.zoomConference$ = this.purchaseService.getVirtualEventPurchaseDetails(this.logItemId).pipe(\r\n map((p) => {\r\n this.externalProviderService.generateVideoToken(p.ProviderId as number, p.MeetingNumber).then((itemValue) => {\r\n if (itemValue != null) {\r\n if (itemValue || itemValue != null) {\r\n this.token = itemValue;\r\n this.validItem = true;\r\n }\r\n }\r\n });\r\n return p;\r\n })\r\n );\r\n }\r\n}\r\n","
\r\n

{{ 'games.page.pick.player.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n chevron_left\r\n
\r\n
{{ 'pick.player.back.button' | translate }}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n

\r\n {{ item.monthDisplayText }}\r\n

\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n

{{ year }}

\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, OnDestroy, Input } from '@angular/core';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { FantasyLeaderboard } from '@fgb/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport * as _moment from 'moment';\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\nimport { FantasyService, MonthlyLeaderboard } from 'src/app/modules/fantasy/components/fantasy-leaderboard.service';\r\n@Component({\r\n selector: 'fgb-fantasy-leaderboard-page',\r\n templateUrl: './fantasy-leaderboard-page.component.html',\r\n styleUrls: ['./fantasy-leaderboard-page.component.scss'],\r\n})\r\nexport class FantasyLeaderboardPageComponent implements OnInit, OnDestroy {\r\n @Input() backButtonLink: string = '/games/pickaplayer';\r\n\r\n yearlyLeaderboard$: Observable;\r\n monthlyLeaderboard$: Observable;\r\n fantasySub: Subscription;\r\n\r\n showMonthly: boolean = true;\r\n year: number = new Date().getFullYear();\r\n\r\n customOptions: OwlOptions = {\r\n items: 1,\r\n margin: OwlCarouselSettings.Margin,\r\n mouseDrag: false,\r\n touchDrag: false,\r\n pullDrag: false,\r\n navSpeed: 700,\r\n nav: true,\r\n dots: false,\r\n startPosition: this.fantasyService.monthSlideIndex,\r\n navText: ['chevron_left', 'chevron_right'],\r\n stagePadding: 0,\r\n };\r\n\r\n constructor(private fantasyService: FantasyService) {}\r\n\r\n ngOnInit() {\r\n this.yearlyLeaderboard$ = this.fantasyService.getYearlyLeaderboard(3, true);\r\n\r\n this.monthlyLeaderboard$ = this.fantasyService.getMonthlyLeaderboard(3, true);\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.fantasySub) {\r\n this.fantasySub.unsubscribe();\r\n }\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { AuthService, LoggingService, MemberQuery, LoginType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-v1-single-sign-on',\r\n templateUrl: './v1-single-sign-on.component.html',\r\n styleUrls: ['./v1-single-sign-on.component.scss'],\r\n})\r\nexport class V1SingleSignOnComponent implements OnInit {\r\n constructor(\r\n private route: ActivatedRoute,\r\n private logService: LoggingService,\r\n private memberQuery: MemberQuery,\r\n private router: Router,\r\n private auth: AuthService\r\n ) {}\r\n\r\n ngOnInit() {\r\n let sskey: string = this.getQueryString('sskey', '');\r\n let cc: string = this.getQueryString('cc', '');\r\n let returnUrl: string = this.getQueryString('returnUrl', '');\r\n\r\n this.logService.debug('V1 SSO login data', {\r\n sskey,\r\n cc,\r\n });\r\n\r\n this.logService.info('Attempting single sign on with login...');\r\n this.auth.ssoLoginV1(sskey, cc, returnUrl).subscribe(\r\n (result) => {\r\n this.logService.info('Successful V1 SSO login');\r\n this.logService.debug('V1 SSO login result data', result);\r\n\r\n if (this.memberQuery.getLoginType() != LoginType.Admin) {\r\n this.auth.checkApiStatus();\r\n }\r\n\r\n this.router.navigate([returnUrl]);\r\n },\r\n (error) => {\r\n if (error.status === 503) {\r\n this.logService.warning('503 [Service Unavailable] received; Maintenance mode is probably on', error);\r\n this.router.navigate(['maintenance']);\r\n } else {\r\n this.logService.error('Failed V1 SSO login', error);\r\n this.router.navigate(['login']);\r\n }\r\n }\r\n );\r\n }\r\n\r\n /** Get a query string parameter without case sensitivity. */\r\n private getQueryString(parameter: string, defaultValue: string): string {\r\n let matchedQueryStringParameter = this.route.snapshot.queryParamMap.keys.find(\r\n (param) => param.toUpperCase() === parameter.toUpperCase()\r\n );\r\n if (matchedQueryStringParameter === undefined) {\r\n return defaultValue;\r\n }\r\n return this.route.snapshot.queryParamMap.get(matchedQueryStringParameter) || defaultValue;\r\n }\r\n}\r\n","
\r\n \r\n
\r\n","
\r\n 0; else noBonusCredit\">\r\n

Please type the account number of your recipient

\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n

Please select the amount of Bonus Credit you
want to transfer.

\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n currentBalance || transferValue < minTransfer\r\n \"\r\n >\r\n Send\r\n \r\n \r\n\r\n \r\n

\r\n Are you sure you want to transfer\r\n {{ transferValue | FortressCurrencyPipe }} Bonus Credit to
Acc. Number:\r\n {{ renewalTransferForm.controls.TargetMember.value }}?\r\n

\r\n
\r\n\r\n \r\n

You currently have no bonus credit to transfer!

\r\n
\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n
\r\n

Successfully Processed!

\r\n \r\n
\r\n
\r\n\r\n
\r\n

Unsuccessful Transfer!

\r\n \r\n
\r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport {\r\n BalanceQuery,\r\n BalanceService,\r\n config,\r\n ErrorStateService,\r\n MemberQuery,\r\n PointsTransferService,\r\n RenewalResponse,\r\n} from '@fgb/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-non-partner-bonus-transfer',\r\n templateUrl: './non-partner-bonus-transfer.component.html',\r\n styleUrls: ['./non-partner-bonus-transfer.component.scss'],\r\n})\r\nexport class NonPartnerBonusTransferComponent implements OnInit {\r\n transferValue = 1;\r\n transferStatus: boolean = false;\r\n @ViewChild('successTransfer', { static: true }) successModalRef: ElementRef;\r\n @ViewChild('failedTransfer', { static: true }) failedModalRef: ElementRef;\r\n renewalTransferForm: UntypedFormGroup;\r\n currentBalance: number;\r\n isLoading: boolean = false;\r\n minTransfer = 1;\r\n\r\n constructor(\r\n private memberQuery: MemberQuery,\r\n private pointTransferService: PointsTransferService,\r\n private modalService: NgbModal,\r\n private formBuilder: UntypedFormBuilder,\r\n private balanceQuery: BalanceQuery,\r\n private errorService: ErrorStateService,\r\n private balanceService: BalanceService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.balanceQuery\r\n .selectPurse(config.purseConfig.renewalGift)\r\n .subscribe((bal) => {\r\n this.currentBalance = bal ?? 0;\r\n })\r\n .unsubscribe();\r\n\r\n this.renewalTransferForm = this.formBuilder.group({\r\n TargetMember: ['', [Validators.required]],\r\n });\r\n }\r\n\r\n // call to transfer bonus credit to given Member ID\r\n transferBonusCredit(bonusAmount: number) {\r\n this.isLoading = true;\r\n let sourceMember = this.memberQuery.getUserContext();\r\n let targetMember = this.renewalTransferForm.controls.TargetMember.value;\r\n let amountInPence = bonusAmount * 100;\r\n firstValueFrom(this.pointTransferService\r\n .renewalBonusTransfer(sourceMember.memberId, targetMember, amountInPence))\r\n .then((response) => {\r\n let renewalResponse = response as RenewalResponse;\r\n if (!!renewalResponse.ErrorNumber) {\r\n this.errorService.addError(renewalResponse.ErrorDescription);\r\n this.transferStatus = false;\r\n this.openTransferStatusModal();\r\n } else if (!!renewalResponse.Tickets.filter((ticket) => !!ticket.ErrorNumber).length) {\r\n this.errorService.addError(renewalResponse.Tickets.filter((ticket) => !!ticket.ErrorNumber)[0].ErrorDesc);\r\n this.transferStatus = false;\r\n this.openTransferStatusModal();\r\n } else {\r\n this.transferStatus = true;\r\n this.openTransferStatusModal();\r\n this.balanceService.debitBalance(config.purseConfig.renewalGift, bonusAmount);\r\n }\r\n this.isLoading = false;\r\n this.transferValue = 1;\r\n })\r\n .catch((err) => {\r\n this.transferStatus = false;\r\n this.openTransferStatusModal();\r\n });\r\n }\r\n\r\n openTransferStatusModal() {\r\n this.renewalTransferForm.reset();\r\n if (this.transferStatus) {\r\n this.modalService.open(this.successModalRef, { centered: true });\r\n } else {\r\n this.modalService.open(this.failedModalRef, { centered: true });\r\n }\r\n }\r\n}\r\n","\r\n 0; else noBonusCredit\">\r\n \r\n \r\n 0; else noPartners\">\r\n

Choose your recipient

\r\n \r\n \r\n \r\n \r\n
\r\n

{{ partner.FullName }}

\r\n

Acc No: {{ partner.MemberId }}

\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n

You currently have no partners available!

\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n

Please select the amount of Bonus Credit you
want to transfer.

\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n currentBalance || transferValue < minTransfer\"\r\n >\r\n Send\r\n \r\n \r\n\r\n \r\n

\r\n Are you sure you want to transfer\r\n {{ transferValue | FortressCurrencyPipe }} Bonus Credit to\r\n {{ selectedPartner.FullName }}?\r\n

\r\n
\r\n\r\n \r\n

You currently have no bonus credit to transfer!

\r\n
\r\n
\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n
\r\n

Successfully Processed!

\r\n \r\n
\r\n
\r\n\r\n
\r\n

Unsuccessful Transfer!

\r\n \r\n
\r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport {\r\n BalanceQuery,\r\n BalanceService,\r\n config,\r\n ErrorStateService,\r\n MemberQuery,\r\n Partner,\r\n PartnerQuery,\r\n PointsTransferService,\r\n RenewalResponse,\r\n} from '@fgb/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { tap } from 'rxjs/operators';\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\n\r\n@Component({\r\n selector: 'fgb-partner-bonus-transfer',\r\n templateUrl: './partner-bonus-transfer.component.html',\r\n styleUrls: ['./partner-bonus-transfer.component.scss'],\r\n})\r\nexport class PartnerBonusTransferComponent implements OnInit {\r\n transferValue = 1;\r\n targetMemberId: string = '';\r\n partners$: Observable;\r\n customOptions: OwlOptions = {\r\n margin: OwlCarouselSettings.Margin,\r\n autoHeight: true,\r\n autoWidth: true,\r\n mouseDrag: false,\r\n responsive: {\r\n 0: { items: 1 },\r\n 400: { items: 1 },\r\n 740: { items: 2 },\r\n 900: { items: 3 },\r\n },\r\n };\r\n selectedPartner: Partner | undefined;\r\n transferStatus: boolean = false;\r\n @ViewChild('successTransfer', { static: true }) successModalRef: ElementRef;\r\n @ViewChild('failedTransfer', { static: true }) failedModalRef: ElementRef;\r\n currentBalance: number;\r\n isLoading: boolean = false;\r\n minTransfer = 1;\r\n\r\n constructor(\r\n private memberQuery: MemberQuery,\r\n private pointTransferService: PointsTransferService,\r\n private partnerQuery: PartnerQuery,\r\n private balanceQuery: BalanceQuery,\r\n private modalService: NgbModal,\r\n private errorService: ErrorStateService,\r\n private balanceService: BalanceService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.balanceQuery\r\n .selectPurse(config.purseConfig.renewalGift)\r\n .subscribe((bal) => {\r\n this.currentBalance = bal ?? 0;\r\n })\r\n .unsubscribe();\r\n\r\n this.defaultSelectOnlyPartner();\r\n }\r\n\r\n // select partner to for bonus transfer\r\n selectPartner(selectedPartner: Partner) {\r\n this.selectedPartner = selectedPartner;\r\n this.targetMemberId = selectedPartner.MemberId;\r\n }\r\n\r\n // call to transfer bonus credit to given Member ID\r\n transferBonusCredit(bonusAmount: number) {\r\n this.isLoading = true;\r\n let sourceMember = this.memberQuery.getUserContext();\r\n let amountInPence = Math.round(bonusAmount * 100);\r\n firstValueFrom(this.pointTransferService\r\n .renewalBonusTransfer(sourceMember.memberId, this.targetMemberId, amountInPence))\r\n .then((response) => {\r\n let renewalResponse = response as RenewalResponse;\r\n if (!!renewalResponse.ErrorNumber) {\r\n this.errorService.addError(renewalResponse.ErrorDescription);\r\n this.transferStatus = false;\r\n this.openTransferStatusModal();\r\n } else if (!!renewalResponse.Tickets.filter((ticket) => !!ticket.ErrorNumber).length) {\r\n this.errorService.addError(renewalResponse.Tickets.filter((ticket) => !!ticket.ErrorNumber)[0].ErrorDesc);\r\n this.transferStatus = false;\r\n this.openTransferStatusModal();\r\n } else {\r\n this.transferStatus = true;\r\n this.openTransferStatusModal();\r\n this.balanceService.debitBalance(config.purseConfig.renewalGift, bonusAmount);\r\n this.balanceService.debitBalance(config.purseConfig.combined, bonusAmount);\r\n }\r\n this.isLoading = false;\r\n this.selectedPartner = undefined;\r\n this.transferValue = 1;\r\n })\r\n .catch((err) => {\r\n this.isLoading = false;\r\n this.transferStatus = false;\r\n this.openTransferStatusModal();\r\n });\r\n }\r\n\r\n openTransferStatusModal() {\r\n if (this.transferStatus) {\r\n this.modalService.open(this.successModalRef, { centered: true });\r\n } else {\r\n this.modalService.open(this.failedModalRef, { centered: true });\r\n }\r\n }\r\n\r\n // default selection to one partner if length of partner is equal to 1\r\n defaultSelectOnlyPartner() {\r\n this.partners$ = this.partnerQuery.selectAll().pipe(\r\n tap((partners) => {\r\n if (partners.length == 1) {\r\n this.selectedPartner = partners[0];\r\n this.targetMemberId = this.selectedPartner.MemberId;\r\n }\r\n })\r\n );\r\n }\r\n}\r\n","
\r\n

eCASH

\r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Bonus Credit
\r\n {{ bonusCredit$ | async | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n

\r\n Lorem ipsum dolor sit amet consectetur, adipisicing elit. Molestias consequatur temporibus libero, at quisquam\r\n cupiditate perferendis repellendus exercitationem quis nihil accusantium quod? Officiis placeat, officia ullam facilis\r\n aliquid distinctio doloribus.\r\n

\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Bonus Credit
\r\n {{ bonusCredit$ | async | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

\r\n Lorem ipsum dolor sit amet consectetur, adipisicing elit. Molestias consequatur temporibus libero, at quisquam\r\n cupiditate perferendis repellendus exercitationem quis nihil accusantium quod? Officiis placeat, officia ullam facilis\r\n aliquid distinctio doloribus.\r\n

\r\n
\r\n
\r\n
\r\n\r\n
\r\n

Bonus Credit

\r\n \r\n

Who would you like to transfer Bonus Credit to?

\r\n
\r\n \r\n \r\n {{ 'bonus.transfer.partner.screenreader' | translate }}\r\n \r\n \r\n \r\n {{ 'bonus.transfer.nonpartner.screenreader' | translate }}\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Component, OnDestroy, OnInit } from '@angular/core';\r\nimport { BalanceQuery, config, Partner, PartnerQuery, RenewalBonusService } from '@fgb/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-renewal-bonus-transfer-page',\r\n templateUrl: './renewal-bonus-transfer-page.component.html',\r\n styleUrls: ['./renewal-bonus-transfer-page.component.scss'],\r\n})\r\nexport class RenewalBonusTransferPageComponent implements OnInit, OnDestroy {\r\n showPartners: boolean = true;\r\n bonusCredit$: Observable;\r\n renewalSub: Subscription;\r\n partnerSub: Subscription;\r\n partners: Partner[];\r\n isLoading: boolean = true;\r\n\r\n constructor(\r\n private balanceQuery: BalanceQuery,\r\n private renewalService: RenewalBonusService,\r\n private partnerQuery: PartnerQuery\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.renewalSub = this.renewalService.getRenewalBonusData().subscribe({\r\n next: () => {\r\n this.isLoading = false;\r\n this.bonusCredit$ = this.balanceQuery.selectPurse(config.purseConfig.renewalGift);\r\n },\r\n error: (err) => {\r\n this.isLoading = false;\r\n },\r\n });\r\n\r\n this.partnerSub = this.partnerQuery.selectAll().subscribe((partners) => {\r\n this.partners = partners;\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.renewalSub) {\r\n this.renewalSub.unsubscribe();\r\n }\r\n if (this.partnerSub) {\r\n this.partnerSub.unsubscribe();\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ portalProduct.DisplayName }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n Upgrade\r\n {{ portalProduct.MerchantPrice / 100 | FortressCurrencyPipe }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n\r\n\r\n
\r\n
\r\n

Subscription Details

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \"\"\r\n
\r\n
\r\n
\r\n

{{ portalProduct.DisplayName }}

\r\n

\r\n Cost: \r\n {{ portalProduct.MerchantPrice / 100 | FortressCurrencyPipe }}\r\n

\r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\r\nimport { CartService, Cart, CartQuery, PortalProduct } from '@fgb/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-subscriptions-list-item',\r\n templateUrl: './subscriptions-list-item.component.html',\r\n styleUrls: ['./subscriptions-list-item.component.scss'],\r\n})\r\nexport class SubscriptionsListItemComponent implements OnInit, OnDestroy {\r\n @Input() portalProduct: PortalProduct;\r\n items$: Observable;\r\n itemSub: Subscription;\r\n currentLcid: string | null = '';\r\n\r\n constructor(private modalService: NgbModal, private cartService: CartService, private cartQuery: CartQuery) {\r\n this.currentLcid = localStorage.getItem('lcid');\r\n }\r\n\r\n ngOnInit() {\r\n this.items$ = this.cartQuery.selectAllSubscriptionCartData();\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.itemSub) {\r\n this.itemSub.unsubscribe();\r\n }\r\n }\r\n\r\n addSubscriptionProductToCart() {\r\n if (this.portalProduct.ProductType === 1) {\r\n if (!this.checkBasketForMembership()) {\r\n this.cartService.addPortalProductToCart(this.portalProduct);\r\n }\r\n } else {\r\n if (!this.checkBasketForSubs()) {\r\n this.cartService.addPortalProductToCart(this.portalProduct);\r\n }\r\n }\r\n }\r\n\r\n openProductDescription(content: any) {\r\n this.modalService.open(content, { centered: true });\r\n }\r\n\r\n // checks if product type 1 portal product exists within basket\r\n checkBasketForMembership(): boolean {\r\n let arrCart: Cart[] = [];\r\n this.itemSub = this.items$.subscribe((x) => {\r\n arrCart = x;\r\n });\r\n for (let item of arrCart) {\r\n if (item.productData.ProductType === 1) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n // checks if product type 3 portal product exists within basket\r\n checkBasketForSubs(): boolean {\r\n let arrCart: Cart[] = [];\r\n this.itemSub = this.items$.subscribe((x) => {\r\n arrCart = x;\r\n });\r\n for (let item of arrCart) {\r\n if (item.productData.ProductType === 3 && (item.productData as PortalProduct).ProductId === this.portalProduct.ProductId) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ currentSubscribedProduct.DisplayName }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Expires:

\r\n

\r\n {{ currentSubscribedProduct.NextPaymentDueDate | date }}\r\n

\r\n \r\n
\r\n
\r\n
\r\n \r\n Renew\r\n {{ renewalProduct.MerchantPrice / 100 | FortressCurrencyPipe }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n\r\n\r\n
\r\n
\r\n

Subscription Details

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n

{{ currentSubscribedProduct.DisplayName }}

\r\n

\r\n Cost: \r\n {{ currentSubscribedProduct.MerchantPrice / 100 | FortressCurrencyPipe }}\r\n

\r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { PortalProduct, PortalProductsQuery, PortalProductSubscription, Cart, CartQuery, CartService } from '@fgb/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-subscriptions-list-item-renewals',\r\n templateUrl: './subscriptions-list-item-renewals.component.html',\r\n styleUrls: ['./subscriptions-list-item-renewals.component.scss'],\r\n})\r\nexport class SubscriptionsListItemRenewalsComponent implements OnInit, OnDestroy {\r\n @Input() subscribedProduct: PortalProductSubscription;\r\n items$: Observable;\r\n currentLcid: string | null = '';\r\n noticePeriod: Date;\r\n currentDate: Date;\r\n withinRenewal: boolean = false;\r\n renewalProduct: PortalProduct;\r\n currentSubscribedProduct: PortalProductSubscription;\r\n itemSub: Subscription;\r\n\r\n constructor(\r\n private cartQuery: CartQuery,\r\n private portalProductsQuery: PortalProductsQuery,\r\n private cartService: CartService,\r\n private modalService: NgbModal\r\n ) {\r\n this.currentLcid = localStorage.getItem('lcid');\r\n }\r\n\r\n ngOnInit() {\r\n this.items$ = this.cartQuery.selectAllSubscriptionCartData();\r\n this.updateStatus();\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.itemSub) {\r\n this.itemSub.unsubscribe();\r\n }\r\n }\r\n\r\n updateStatus() {\r\n if (this.subscribedProduct.ProductType === 1) {\r\n this.currentSubscribedProduct = this.subscribedProduct;\r\n this.noticePeriod = new Date(this.currentSubscribedProduct.NextPaymentDueDate);\r\n this.noticePeriod.setDate(this.noticePeriod.getDate() - 30);\r\n this.currentDate = new Date();\r\n\r\n if (this.currentDate > this.noticePeriod) {\r\n this.withinRenewal = true;\r\n this.getRenewalProduct();\r\n }\r\n }\r\n }\r\n\r\n // get renewal product\r\n getRenewalProduct() {\r\n let renewalPortalProducts: PortalProduct[];\r\n renewalPortalProducts = this.portalProductsQuery.getAllProductsByProductType(8, undefined);\r\n for (let product of renewalPortalProducts) {\r\n // will add condition here to compare attribute ID with current product, once attributes added to response\r\n this.renewalProduct = product;\r\n }\r\n }\r\n\r\n // add renewal product to cart\r\n addRenewalProductToCart() {\r\n if (!this.checkBasketForRenewal()) {\r\n this.cartService.addPortalProductToCart(this.renewalProduct);\r\n }\r\n }\r\n\r\n // checks if product type 8 renewal portal product exists within basket\r\n checkBasketForRenewal(): boolean {\r\n let itemsInCart: Cart[] = [];\r\n this.itemSub = this.items$.subscribe((data) => {\r\n itemsInCart = data;\r\n });\r\n for (let product of itemsInCart) {\r\n if (\r\n product.productData.ProductType === 8 &&\r\n (product.productData as PortalProduct).ProductId === this.renewalProduct.ProductId\r\n ) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n // info button of subscribed membership\r\n openProductDescription(content: any) {\r\n this.modalService.open(content, { centered: true });\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ currentSubscribedProduct.DisplayName }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n\r\n\r\n
\r\n
\r\n

Subscription Details

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n

{{ currentSubscribedProduct.DisplayName }}

\r\n

\r\n Cost: \r\n {{ currentSubscribedProduct.MerchantPrice / 100 | FortressCurrencyPipe }}\r\n

\r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { PortalProductSubscription } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-subscriptions-list-item-subscribed',\r\n templateUrl: './subscriptions-list-item-subscribed.component.html',\r\n styleUrls: ['./subscriptions-list-item-subscribed.component.scss'],\r\n})\r\nexport class SubscriptionsListItemSubscribedComponent implements OnInit {\r\n @Input() subscribedProduct: PortalProductSubscription;\r\n currentSubscribedProduct: PortalProductSubscription;\r\n currentLcid: string | null = '';\r\n constructor(private modalService: NgbModal) {\r\n this.currentLcid = localStorage.getItem('lcid');\r\n }\r\n\r\n ngOnInit() {\r\n this.updateStatus();\r\n }\r\n\r\n updateStatus() {\r\n if (this.subscribedProduct.ProductType === 3) {\r\n this.currentSubscribedProduct = this.subscribedProduct;\r\n }\r\n }\r\n\r\n openProductDescription(content: any) {\r\n this.modalService.open(content, { centered: true });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n 0; else elseNoUpgrades\">\r\n You have {{ activeSubs }}/{{ maxSubs }}\r\n Digital Products\r\n \r\n \r\n No digital products available\r\n \r\n

\r\n

NEW WAYS TO EARN POINTS!

\r\n

\r\n Note: Accumulation of points for new subscriptions begins the following game if a game is already underway.\r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n

memberships

\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n

memberships

\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n

Digital Products

\r\n
\r\n \r\n 0\">\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n 0\">\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n

your basket

\r\n

\r\n Cancel\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n x\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Total Amount: \r\n {{ totalCost / 100 | FortressCurrencyPipe }}\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n \r\n
SUBSCRIPTIONS
\r\n

Currently Unavailable

\r\n
\r\n
\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport {\r\n PortalProduct,\r\n PortalProductsQuery,\r\n PortalProductsSubscriptionsQuery,\r\n PortalProductSubscription,\r\n Cart,\r\n CartQuery,\r\n CartService,\r\n} from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { tap } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-subscriptions-list',\r\n templateUrl: './subscriptions-list.component.html',\r\n styleUrls: ['./subscriptions-list.component.scss'],\r\n})\r\nexport class SubscriptionsListComponent implements OnInit {\r\n productTypes: number[] = [1, 3];\r\n membershipPortalProducts: PortalProduct[];\r\n subscriptionPortalProducts: PortalProduct[];\r\n maxSubs: number;\r\n activeSubs: number;\r\n purchasedProducts: PortalProductSubscription[];\r\n foundMembership: boolean = false;\r\n foundSubscription: boolean = false;\r\n notPurchasedActiveSubs: PortalProduct[] = [];\r\n individualProduct: PortalProduct;\r\n purchasedSubProductType: number[] = [3];\r\n purchasedSubProducts: PortalProductSubscription[];\r\n allProducts: number;\r\n // modal sticky basket\r\n items$: Observable;\r\n totalCost$: Observable;\r\n\r\n constructor(\r\n private portalProductsQuery: PortalProductsQuery,\r\n private portalProductsSubscriptionsQuery: PortalProductsSubscriptionsQuery,\r\n private cartQuery: CartQuery,\r\n private cartService: CartService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.membershipPortalProducts = this.portalProductsQuery.getAllProductsByProductType(this.productTypes[0], undefined);\r\n this.subscriptionPortalProducts = this.portalProductsQuery.getAllProductsByProductType(this.productTypes[1], undefined);\r\n\r\n firstValueFrom(this.portalProductsSubscriptionsQuery\r\n .selectSubscriptionsByProductTypes(this.productTypes)\r\n .pipe(\r\n tap((items) => {\r\n this.purchasedProducts = items;\r\n })\r\n ));\r\n\r\n firstValueFrom(this.portalProductsSubscriptionsQuery\r\n .selectSubscriptionsByProductTypes(this.purchasedSubProductType)\r\n .pipe(\r\n tap((subItems) => {\r\n this.purchasedSubProducts = subItems;\r\n })\r\n ));\r\n\r\n this.findExistingMembership();\r\n this.findExistingSubs();\r\n\r\n this.getActiveNonPurchasedSubs();\r\n\r\n // active and maximum subs count\r\n this.activeSubs = this.purchasedSubProducts.length;\r\n this.maxSubs = this.notPurchasedActiveSubs.length + this.purchasedSubProducts.length;\r\n\r\n this.allProducts =\r\n this.notPurchasedActiveSubs.length +\r\n this.purchasedProducts.length +\r\n this.portalProductsQuery.getAllProductsByProductType(this.productTypes[0], undefined).length;\r\n\r\n // modal basket item count and total cost\r\n this.items$ = this.cartQuery.selectAllSubscriptionCartData();\r\n this.totalCost$ = this.cartQuery.calculateTotalCost();\r\n }\r\n\r\n // check to see if there is a product type 1 in the purchased products list\r\n findExistingMembership() {\r\n this.purchasedProducts.forEach((product) => {\r\n if (product.ProductType === 1) {\r\n this.foundMembership = true;\r\n return;\r\n }\r\n });\r\n }\r\n // check to see if there is a product type 3 in the purchased products list\r\n findExistingSubs() {\r\n this.purchasedProducts.forEach((product) => {\r\n if (product.ProductType === 3) {\r\n this.foundSubscription = true;\r\n return;\r\n }\r\n });\r\n }\r\n\r\n // get portal products of type 3 which are active and not purchased\r\n getActiveNonPurchasedSubs() {\r\n let portalProductIds: number[] = [];\r\n let purchasedProductIds: number[] = [];\r\n this.subscriptionPortalProducts.forEach((products) => {\r\n portalProductIds.push(products.ProductId);\r\n });\r\n this.purchasedProducts.forEach((purchasedProduct) => {\r\n purchasedProductIds.push(purchasedProduct.ProductId);\r\n });\r\n\r\n let nonPurchasedIds = portalProductIds.filter((x) => !purchasedProductIds.includes(x));\r\n\r\n nonPurchasedIds.forEach((ids) => {\r\n let item: PortalProduct = this.getProductsById(ids);\r\n this.notPurchasedActiveSubs.push(item);\r\n });\r\n }\r\n\r\n // get a portal product by product ID\r\n getProductsById(id: number): PortalProduct {\r\n this.subscriptionPortalProducts.forEach((prod) => {\r\n if (id === prod.ProductId) {\r\n this.individualProduct = prod;\r\n }\r\n });\r\n return this.individualProduct;\r\n }\r\n\r\n // remove item from basket\r\n remove(cartItem: Cart) {\r\n this.cartService.remove(cartItem.id);\r\n }\r\n\r\n // clear and cancel items in subs basket\r\n clearSubsBasket() {\r\n this.cartQuery.removeItems(this.cartQuery.getMemberPortalProductCart());\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { PortalProductsService } from '@fgb/core';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-subscriptions-page',\r\n templateUrl: './subscriptions-page.component.html',\r\n styleUrls: ['./subscriptions-page.component.scss']\r\n})\r\nexport class SubscriptionsPageComponent implements OnInit {\r\n\r\n constructor(private portalProductsService: PortalProductsService) { }\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.portalProductsService.fetchPortalProducts());\r\n }\r\n\r\n}\r\n","\r\n
\r\n

{{ 'subscriptions.page.title' | translate }}

\r\n
\r\n\r\n\r\n","\r\n
\r\n
\r\n
\r\n \r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{ item.productData.DisplayName }}\r\n

\r\n
\r\n
\r\n

\r\n Cost:\r\n {{ item.productData.MerchantPrice / 100 | FortressCurrencyPipe }}\r\n

\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n

Your basket is empty!

\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Cart, CartQuery, CartService } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-cart-item-subscriptions',\r\n templateUrl: './cart-item-subscriptions.component.html',\r\n styleUrls: ['./cart-item-subscriptions.component.scss'],\r\n})\r\nexport class CartItemSubscriptionsComponent implements OnInit {\r\n items$: Observable;\r\n\r\n constructor(private cartQuery: CartQuery, private cartService: CartService) {}\r\n\r\n ngOnInit() {\r\n this.items$ = this.cartQuery.selectAllSubscriptionCartData();\r\n }\r\n\r\n remove(cartItem: Cart) {\r\n this.cartService.remove(cartItem.id);\r\n }\r\n}\r\n","
\r\n
Checkout
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n

Checkout

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

ITEMS

\r\n
\r\n \r\n \r\n
\r\n
\r\n

 

\r\n \r\n
\r\n
\r\n
\r\n

Address

\r\n
\r\n
\r\n
\r\n \r\n
{{ member.Street }},
\r\n
{{ member.Town }},
\r\n
{{ member.County }},
\r\n
{{ member.Country }},
\r\n
{{ member.PostCode }},
\r\n
{{ member.HomeNumber }}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n

Address

\r\n Clear Form\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
Please enter a valid street.
\r\n
\r\n \r\n
\r\n \r\n \r\n
Please enter a valid city.
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
Please enter a valid zip code.
\r\n
\r\n \r\n
\r\n \r\n = 48 && event.charCode <= 57))\"\r\n minlength=\"8\"\r\n maxlength=\"11\"\r\n />\r\n
Please enter a valid phone number.
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n

Summary

\r\n
\r\n
Items:
\r\n
\r\n {{ totalCost / 100 | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n
Tax:
\r\n
\r\n {{ totalTax / 100 | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n
\r\n
Total:
\r\n
\r\n {{ totalPrice / 100 | FortressCurrencyPipe }}\r\n
\r\n
\r\n \r\n
0\">\r\n
Discount Code(s):
\r\n \r\n
{{ giftCode.Code }}
\r\n
\r\n - {{ giftCode.EntitlementValue / 100 | FortressCurrencyPipe }}\r\n - {{ giftCode.EntitlementValue }}%\r\n FREE\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n Pay Now\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n

Add Payment Details

\r\n
\r\n
\r\n

Total:

\r\n
\r\n
\r\n

{{ totalPrice / 100 | FortressCurrencyPipe }}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n Membership upgraded successfully\r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { Location } from '@angular/common';\r\nimport { Subscription, Observable, firstValueFrom } from 'rxjs';\r\nimport {\r\n MemberQuery,\r\n Address,\r\n MemberDetails,\r\n LoggingService,\r\n ErrorStateService,\r\n GiftCodeModel,\r\n GiftCodeService,\r\n GiftCodeType,\r\n MemberProduct,\r\n GiftCodeEntitlementValueType,\r\n PortalProductsService,\r\n ProviderActionKind,\r\n MemberCardService,\r\n PaymentService,\r\n PortalProduct,\r\n MemberService,\r\n Cart,\r\n CartQuery,\r\n} from '@fgb/core';\r\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\r\nimport { tap } from 'rxjs/operators';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'fgb-cart-checkout-page-portal-products',\r\n templateUrl: './cart-checkout-page-portal-products.component.html',\r\n styleUrls: ['./cart-checkout-page-portal-products.component.scss'],\r\n})\r\nexport class CartCheckoutPagePortalProductsComponent implements OnInit, OnDestroy {\r\n // items and cost\r\n items$: Observable;\r\n totalCost: number;\r\n totalCostSub: Subscription;\r\n // member details address\r\n memberDetails: MemberDetails;\r\n memberDetailsAddress: Address;\r\n // gift code related variables and price\r\n disableApplyGiftCodesButton: boolean = false;\r\n giftCodeInput: string;\r\n appliedGiftCodes: GiftCodeModel[] = [];\r\n totalPriceAfterDiscount: number;\r\n memberProducts: MemberProduct[] = [];\r\n totalPrice: number;\r\n totalShipping: number = 0;\r\n // pay now\r\n paymentLoading: boolean = false;\r\n paymentInitialised: boolean;\r\n orderCompleted: boolean = false;\r\n // missing member details\r\n translationSub: Subscription;\r\n missingDetails: string = '';\r\n // tax\r\n totalTax: number = 0;\r\n // member details\r\n memberDetail$: Observable;\r\n memberAddressForm: UntypedFormGroup;\r\n portalId = '';\r\n hasSubmittedMemberAddress: boolean = false;\r\n editingMemberAddress: boolean = false;\r\n\r\n constructor(\r\n private location: Location,\r\n private cartQuery: CartQuery,\r\n private memberQuery: MemberQuery,\r\n private logService: LoggingService,\r\n private ngbModal: NgbModal,\r\n private formBuilder: UntypedFormBuilder,\r\n private errorService: ErrorStateService,\r\n private giftCodeService: GiftCodeService,\r\n private portalProductService: PortalProductsService,\r\n private memberCardService: MemberCardService,\r\n private paymentService: PaymentService,\r\n private translate: TranslateService,\r\n private memberService: MemberService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.errorService.clearErrors();\r\n\r\n // get address from member details\r\n this.getMemberDetailAddress();\r\n\r\n this.items$ = this.cartQuery.selectAllSubscriptionCartData().pipe(\r\n tap((cartSubscriptions) => {\r\n if (!!cartSubscriptions.length) {\r\n this.totalCost = cartSubscriptions.reduce(\r\n (accumVal, item) => accumVal + (item.productData as PortalProduct).MerchantPrice,\r\n 0\r\n );\r\n\r\n this.memberProducts = cartSubscriptions.map((sub) => {\r\n return {\r\n MemberId: this.memberDetails.MemberId,\r\n ProductId: (sub.productData as PortalProduct).ProductId,\r\n MerchantPrice: (sub.productData as PortalProduct).MerchantPrice * 100,\r\n } as MemberProduct;\r\n });\r\n\r\n firstValueFrom(this.portalProductService\r\n .calculateAdditionalCharges(this.memberProducts, true)\r\n .pipe(\r\n tap((charges) => {\r\n this.totalTax = charges.TotalTax;\r\n this.totalPrice = this.totalCost + this.totalTax;\r\n })\r\n ));\r\n } else {\r\n this.totalCost = 0;\r\n this.totalPrice = 0;\r\n this.totalTax = 0;\r\n }\r\n })\r\n );\r\n\r\n firstValueFrom(this.portalProductService.fetchPortalProducts());\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.translationSub) {\r\n this.translationSub.unsubscribe();\r\n }\r\n }\r\n\r\n // go back to previous page from checkout page\r\n goBack() {\r\n this.location.back();\r\n }\r\n\r\n /** Start editing the user's member details address. */\r\n editMemberAddress() {\r\n this.editingMemberAddress = true;\r\n }\r\n\r\n /** Clear the member details address form fields. */\r\n clearAddressForm(addressForm: UntypedFormGroup) {\r\n addressForm.patchValue({\r\n Street: '',\r\n Town: '',\r\n County: '',\r\n Postcode: '',\r\n Country: '',\r\n HomeNumber: '',\r\n });\r\n }\r\n\r\n /** Takes in a gift code string, checks to see if the code is valid and returns the calculated discount */\r\n async applyGiftCode() {\r\n this.errorService.clearErrors();\r\n\r\n if (this.disableApplyGiftCodesButton) {\r\n return;\r\n }\r\n\r\n if (!this.giftCodeInput) {\r\n this.errorService.addError('Gift Code cannot be empty');\r\n return;\r\n }\r\n\r\n if (!!this.appliedGiftCodes.filter((code) => code.Code === this.giftCodeInput).length) {\r\n this.errorService.addError('This gift code has already been applied');\r\n return;\r\n }\r\n\r\n if (this.totalPriceAfterDiscount === 0) {\r\n this.errorService.addError('Gift code cannot be applied if the basket value is 0');\r\n return;\r\n }\r\n\r\n if (this.appliedGiftCodes.length > 0) {\r\n this.errorService.addError('Only one gift code can be applied.');\r\n return;\r\n }\r\n\r\n this.disableApplyGiftCodesButton = true;\r\n\r\n firstValueFrom(this.giftCodeService\r\n .validateGiftCode(this.giftCodeInput))\r\n .then((giftCode) => {\r\n if (\r\n giftCode.GiftCodeAssignType == GiftCodeType.Product &&\r\n !this.memberProducts.filter(\r\n (item) => item.ProductId == giftCode.EntitlementItemId || item.ProductId == giftCode.EntitlementItemId2\r\n ).length\r\n ) {\r\n this.errorService.addError('Gift code does not apply to any of the basket items.');\r\n this.disableApplyGiftCodesButton = false;\r\n return;\r\n } else if (\r\n giftCode.EntitlementValueType == GiftCodeEntitlementValueType.Percentage &&\r\n !!this.appliedGiftCodes.filter((gc) => gc.EntitlementValueType == GiftCodeEntitlementValueType.Percentage).length\r\n ) {\r\n this.errorService.addError('Percentage discount can only be applied once to an order.');\r\n this.disableApplyGiftCodesButton = false;\r\n return;\r\n } else if (giftCode.GiftCodeStatus != 0) {\r\n this.errorService.addError('Gift code has been used');\r\n this.disableApplyGiftCodesButton = false;\r\n return;\r\n } else if (!giftCode.Active) {\r\n this.errorService.addError('Gift code not available.');\r\n this.disableApplyGiftCodesButton = false;\r\n return;\r\n }\r\n\r\n if (this.appliedGiftCodes.length > 0) {\r\n /** reset basket values and recalculate with added giftcodes */\r\n this.resetBasketValues();\r\n }\r\n\r\n if (giftCode.EntitlementValueType === GiftCodeEntitlementValueType.Value) {\r\n this.appliedGiftCodes.unshift(giftCode);\r\n } else {\r\n this.appliedGiftCodes.push(giftCode);\r\n }\r\n\r\n this.disableApplyGiftCodesButton = false;\r\n\r\n this.appliedGiftCodes.forEach((x) => {\r\n this._calculateGiftCodeDeduction(x);\r\n });\r\n })\r\n .catch((err) => {\r\n this.errorService.addError(err);\r\n this.disableApplyGiftCodesButton = false;\r\n });\r\n }\r\n resetBasketValues() {\r\n this.totalPriceAfterDiscount = this.totalPrice;\r\n }\r\n /** Calculate the new total basket price after Gift Code has been applied */\r\n private _calculateGiftCodeDeduction(giftCode: GiftCodeModel) {\r\n this.errorService.clearErrors();\r\n let discount = 0;\r\n\r\n if (giftCode.GiftCodeAssignType === GiftCodeType.Order) {\r\n switch (giftCode.EntitlementValueType) {\r\n // Value\r\n case GiftCodeEntitlementValueType.Value: {\r\n discount = giftCode.EntitlementValue;\r\n break;\r\n }\r\n case GiftCodeEntitlementValueType.Percentage: {\r\n // Percentage\r\n discount = (giftCode.EntitlementValue / 100) * this.totalPriceAfterDiscount;\r\n break;\r\n }\r\n case GiftCodeEntitlementValueType.NumberOfEntitlements: {\r\n // Number of Items - Only used for Free\r\n this.appliedGiftCodes = this.appliedGiftCodes.filter((x) => x.Code === giftCode.Code);\r\n discount = this.totalPriceAfterDiscount;\r\n break;\r\n }\r\n default: {\r\n this.errorService.addError('Invalid Gift Code');\r\n break;\r\n }\r\n }\r\n } else if (giftCode.GiftCodeAssignType === GiftCodeType.Shipping) {\r\n if (this.totalShipping === 0) {\r\n this.appliedGiftCodes = this.appliedGiftCodes.filter((x) => x.Code !== giftCode.Code);\r\n this.errorService.addError('Gift Code cannot be applied if the shipping is already 0');\r\n return;\r\n }\r\n\r\n switch (giftCode.EntitlementValueType) {\r\n case GiftCodeEntitlementValueType.Value: {\r\n // Value\r\n discount = giftCode.EntitlementValue;\r\n break;\r\n }\r\n case GiftCodeEntitlementValueType.Percentage: {\r\n // Percentage\r\n discount = (giftCode.EntitlementValue / 100) * this.totalShipping;\r\n break;\r\n }\r\n case GiftCodeEntitlementValueType.NumberOfEntitlements: {\r\n // Number of Items - Only used for Free\r\n discount = this.totalShipping;\r\n break;\r\n }\r\n default: {\r\n this.errorService.addError('Invalid Gift Code');\r\n break;\r\n }\r\n }\r\n } else if (giftCode.GiftCodeAssignType == GiftCodeType.Product) {\r\n let numberOfTimesApplied = 0;\r\n this.memberProducts\r\n .filter((item) => item.ProductId == giftCode.EntitlementItemId || item.ProductId == giftCode.EntitlementItemId2)\r\n .forEach((item) => {\r\n if (numberOfTimesApplied < giftCode.EntitlementValue) {\r\n numberOfTimesApplied++;\r\n discount += item.MerchantPrice;\r\n }\r\n });\r\n }\r\n this.totalPriceAfterDiscount = Math.max(0, this.totalPriceAfterDiscount - discount);\r\n }\r\n /** Works out the total basket price after removal of gift code */\r\n removeGiftCode(code: string) {\r\n this.errorService.clearErrors();\r\n let giftCode = this.appliedGiftCodes.find((x) => x.Code === code);\r\n\r\n if (giftCode) {\r\n this.appliedGiftCodes = this.appliedGiftCodes.filter((x) => x !== giftCode);\r\n\r\n /** reset basket values and recalculate with remaining giftcodes */\r\n this.resetBasketValues();\r\n\r\n if (this.appliedGiftCodes.length > 0) {\r\n this.appliedGiftCodes.forEach((x) => {\r\n this._calculateGiftCodeDeduction(x);\r\n });\r\n }\r\n }\r\n }\r\n\r\n // purchase poral products\r\n purchasePortalProduct() {\r\n if (!this.paymentInitialised) {\r\n this.logService.info('Retrieving provider action response for payment request...');\r\n this.paymentLoading = true;\r\n firstValueFrom(this.portalProductService\r\n .purchase(this.memberProducts, this.memberDetailsAddress as Address, this.appliedGiftCodes, undefined, true))\r\n .then((response) => {\r\n this.paymentLoading = false;\r\n if (response.ProviderActionInformation.ActionKind == ProviderActionKind.None) {\r\n this.orderCompleted = true;\r\n this.memberCardService.clearCacheAndFetchNewCards();\r\n } else {\r\n this.paymentInitialised = true;\r\n this.paymentService.process(response, 'paymentDiv', 'portalproducts/failure');\r\n }\r\n })\r\n .catch((error) => {\r\n this.logService.error(error);\r\n this.paymentInitialised = false;\r\n this.paymentLoading = false;\r\n });\r\n }\r\n }\r\n\r\n openPaymentModal(content: any) {\r\n this.errorService.clearErrors();\r\n if (!this.memberAddressForm.valid) {\r\n this.translationSub = this.translate.stream('checkout.missing-address-details').subscribe((data: string) => {\r\n this.missingDetails = data;\r\n });\r\n this.errorService.addError(this.missingDetails);\r\n } else {\r\n this.ngbModal.open(content, { size: 'lg' });\r\n this.errorService.clearErrors();\r\n this.paymentInitialised = false;\r\n this.paymentLoading = true;\r\n this.purchasePortalProduct();\r\n }\r\n }\r\n\r\n // cancel button which will close and rebuild the form with the original data\r\n cancelAndRebuildForm() {\r\n this.editingMemberAddress = false;\r\n\r\n this.memberDetail$ = this.memberQuery.selectMemberDetails().pipe(\r\n tap((md) => {\r\n if (md) {\r\n this.memberDetails = md;\r\n this.portalId = md.PortalId;\r\n this.memberAddressForm = this.formBuilder.group({\r\n AddressName: [md.AddressName],\r\n Street: [md.Street, Validators.required],\r\n Town: [md.Town, Validators.required],\r\n County: [md.County, Validators.required],\r\n Country: [md.Country, Validators.required],\r\n Postcode: [md.PostCode, Validators.required],\r\n HomeNumber: [md.HomeNumber, Validators.required],\r\n });\r\n this.memberDetailsAddress = {\r\n PortalId: md.PortalId,\r\n AddressType: md.AddressType,\r\n ClubId: md.ClubId,\r\n MemberId: md.MemberId,\r\n ExternalRefNumber: md.ExternalRefNumber,\r\n FirstName: md.FirstName,\r\n Surname: md.Surname,\r\n AddressName: md.AddressName,\r\n Street: md.Street,\r\n Town: md.Town,\r\n County: md.County,\r\n Postcode: md.PostCode,\r\n Country: md.Country,\r\n HomeNumber: md.HomeNumber,\r\n EmailAddress: md.EmailAddress1,\r\n } as Address;\r\n }\r\n })\r\n );\r\n }\r\n\r\n getMemberDetailAddress() {\r\n this.memberDetail$ = this.memberQuery.selectMemberDetails().pipe(\r\n tap((md) => {\r\n if (md) {\r\n this.memberDetails = md;\r\n this.portalId = md.PortalId;\r\n this.memberAddressForm = this.formBuilder.group({\r\n AddressName: [md.AddressName],\r\n Street: [md.Street, Validators.required],\r\n Town: [md.Town, Validators.required],\r\n County: [md.County, Validators.required],\r\n Country: [md.Country, Validators.required],\r\n PostCode: [md.PostCode, Validators.required],\r\n HomeNumber: [md.HomeNumber, Validators.required],\r\n });\r\n this.memberDetailsAddress = {\r\n PortalId: md.PortalId,\r\n AddressType: md.AddressType,\r\n ClubId: md.ClubId,\r\n MemberId: md.MemberId,\r\n ExternalRefNumber: md.ExternalRefNumber,\r\n FirstName: md.FirstName,\r\n Surname: md.Surname,\r\n AddressName: md.AddressName,\r\n Street: md.Street,\r\n Town: md.Town,\r\n County: md.County,\r\n Postcode: md.PostCode,\r\n Country: md.Country,\r\n HomeNumber: md.HomeNumber,\r\n EmailAddress: md.EmailAddress1,\r\n } as Address;\r\n }\r\n })\r\n );\r\n }\r\n\r\n async saveMemberDetailAddress() {\r\n this.hasSubmittedMemberAddress = true;\r\n\r\n if (this.memberAddressForm.valid) {\r\n this.memberDetails = { ...this.memberDetails, ...this.memberAddressForm.value };\r\n\r\n firstValueFrom(this.memberService\r\n .updateMemberDetailsAsync(this.portalId, this.memberDetails)\r\n .pipe(\r\n tap(() => {\r\n this.memberDetailsAddress = {\r\n PortalId: this.memberDetails.PortalId,\r\n AddressType: this.memberDetails.AddressType,\r\n ClubId: this.memberDetails.ClubId,\r\n MemberId: this.memberDetails.MemberId,\r\n ExternalRefNumber: this.memberDetails.ExternalRefNumber,\r\n FirstName: this.memberDetails.FirstName,\r\n Surname: this.memberDetails.Surname,\r\n AddressName: this.memberDetails.AddressName,\r\n Street: this.memberDetails.Street,\r\n Town: this.memberDetails.Town,\r\n County: this.memberDetails.County,\r\n Postcode: this.memberDetails.PostCode,\r\n Country: this.memberDetails.Country,\r\n HomeNumber: this.memberDetails.HomeNumber,\r\n EmailAddress: this.memberDetails.EmailAddress1,\r\n } as Address;\r\n\r\n this.editingMemberAddress = false;\r\n this.errorService.clearErrors();\r\n\r\n // updates tax after member details address is changed if any items are in basket\r\n if (!!this.memberProducts.length) {\r\n firstValueFrom(this.portalProductService\r\n .calculateAdditionalCharges(this.memberProducts, true)\r\n .pipe(\r\n tap((charges) => {\r\n this.totalTax = charges.TotalTax;\r\n this.totalPrice = this.totalCost + this.totalTax;\r\n })\r\n ));\r\n }\r\n })\r\n ));\r\n }\r\n }\r\n}\r\n","
\r\n
Checkout
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n

Checkout

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

ITEMS

\r\n
\r\n \r\n \r\n
\r\n
\r\n

 

\r\n \r\n
\r\n
\r\n
\r\n

Address

\r\n
\r\n
\r\n
\r\n \r\n
{{ member.Street }},
\r\n
{{ member.Town }},
\r\n
{{ member.County }},
\r\n
{{ member.Country }},
\r\n
{{ member.PostCode }},
\r\n
{{ member.HomeNumber }}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n

Address

\r\n Clear Form\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n \r\n
Please enter a valid street.
\r\n
\r\n \r\n
\r\n \r\n \r\n
Please enter a valid city.
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
Please enter a valid zip code.
\r\n
\r\n \r\n
\r\n \r\n = 48 && event.charCode <= 57))\"\r\n minlength=\"8\"\r\n maxlength=\"11\"\r\n />\r\n
Please enter a valid phone number.
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n

Summary

\r\n
\r\n
Items:
\r\n
{{ totalItems$ | async }}
\r\n
\r\n
\r\n
\r\n
Total Points:
\r\n
{{ totalPoints | FortressCurrencyPipe : 'PTS' }}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

*Your items will be shipped to your address

\r\n
\r\n\r\n
\r\n currentBalance\"\r\n >\r\n {{ statusText }}\r\n \r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { Location } from '@angular/common';\r\nimport { Observable, Subject, firstValueFrom } from 'rxjs';\r\nimport {\r\n BalanceQuery,\r\n CartQuery,\r\n CartService,\r\n config,\r\n ErrorStateService,\r\n MarketplaceItemCart,\r\n MarketplaceItemStatus,\r\n MemberDetails,\r\n MemberQuery,\r\n MemberService,\r\n} from '@fgb/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { takeUntil, tap } from 'rxjs/operators';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n@Component({\r\n selector: 'fgb-cart-checkout-page',\r\n templateUrl: './cart-checkout-page.component.html',\r\n styleUrls: ['./cart-checkout-page.component.scss'],\r\n})\r\nexport class CartCheckoutPageComponent implements OnInit, OnDestroy {\r\n totalPoints: number;\r\n totalItems$: Observable;\r\n items$: Observable;\r\n editingMemberAddress: boolean = false;\r\n missingDetails: string = '';\r\n memberDetail$: Observable;\r\n memberAddressForm: UntypedFormGroup;\r\n portalId = '';\r\n hasSubmittedMemberAddress: boolean = false;\r\n memberDetails: MemberDetails;\r\n validCheckout: boolean;\r\n currentBalance: number;\r\n statusText: string;\r\n private _destroyed$ = new Subject();\r\n constructor(\r\n private location: Location,\r\n private cartQuery: CartQuery,\r\n private cartService: CartService,\r\n private errorService: ErrorStateService,\r\n private memberQuery: MemberQuery,\r\n private formBuilder: UntypedFormBuilder,\r\n private memberService: MemberService,\r\n private balanceQuery: BalanceQuery,\r\n private translate: TranslateService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.errorService.clearErrors();\r\n\r\n firstValueFrom(this.cartQuery\r\n .updateBasketPointsTotal()\r\n .pipe(\r\n tap((val) => {\r\n this.totalPoints = val ? val : 0;\r\n })\r\n ));\r\n\r\n this.balanceQuery\r\n .selectPurse(config.purseConfig.virtualLoyalty)\r\n .pipe(takeUntil(this._destroyed$))\r\n .subscribe((bal) => {\r\n this.currentBalance = bal ?? 0;\r\n });\r\n this.items$ = this.cartQuery.selectAllMarketplaceCartData().pipe(\r\n tap((items) => {\r\n this.validCheckout = this._validateItems(items);\r\n })\r\n );\r\n this.totalItems$ = this.cartQuery.updateTotalItems();\r\n\r\n // get address from member details\r\n this.getMemberDetailAddress();\r\n }\r\n\r\n // go back to previous page from checkout page\r\n goBack() {\r\n this.location.back();\r\n }\r\n\r\n // make payment on checkout page, show error if member address data is invalid\r\n payNow() {\r\n this.errorService.clearErrors();\r\n if (!this.memberAddressForm.valid) {\r\n this.missingDetails = 'Please ensure there is no missing address details and that your phone number only contain numbers';\r\n this.errorService.addError(this.missingDetails);\r\n } else {\r\n this.errorService.clearErrors();\r\n this.cartService.purchaseMarketplaceItemsInCart(this.totalPoints);\r\n }\r\n }\r\n\r\n /** Start editing the user's member details address. */\r\n editMemberAddress() {\r\n this.editingMemberAddress = true;\r\n }\r\n\r\n /** Clear the member details address form fields. */\r\n clearAddressForm(addressForm: UntypedFormGroup) {\r\n addressForm.patchValue({\r\n Street: '',\r\n Town: '',\r\n County: '',\r\n Postcode: '',\r\n Country: '',\r\n HomeNumber: '',\r\n });\r\n }\r\n\r\n // cancel button which will close and rebuild the form with the original data\r\n cancelAndRebuildForm() {\r\n this.editingMemberAddress = false;\r\n\r\n this.memberDetail$ = this.memberQuery.selectMemberDetails().pipe(\r\n tap((md) => {\r\n if (md) {\r\n this.portalId = md.PortalId;\r\n this.memberAddressForm = this.formBuilder.group({\r\n AddressName: [md.AddressName],\r\n Street: [md.Street, Validators.required],\r\n Town: [md.Town, Validators.required],\r\n County: [md.County, Validators.required],\r\n Country: [md.Country, Validators.required],\r\n PostCode: [md.PostCode, Validators.required],\r\n HomeNumber: [md.HomeNumber, Validators.required],\r\n });\r\n }\r\n })\r\n );\r\n }\r\n\r\n getMemberDetailAddress() {\r\n this.memberDetail$ = this.memberQuery.selectMemberDetails().pipe(\r\n tap((md) => {\r\n if (md) {\r\n this.memberDetails = md;\r\n this.portalId = md.PortalId;\r\n this.memberAddressForm = this.formBuilder.group({\r\n AddressName: [md.AddressName],\r\n Street: [md.Street, Validators.required],\r\n Town: [md.Town, Validators.required],\r\n County: [md.County, Validators.required],\r\n Country: [md.Country, Validators.required],\r\n PostCode: [md.PostCode, Validators.required],\r\n HomeNumber: [md.HomeNumber, Validators.required],\r\n });\r\n }\r\n })\r\n );\r\n }\r\n\r\n saveMemberDetailAddress() {\r\n this.hasSubmittedMemberAddress = true;\r\n\r\n if (this.memberAddressForm.valid) {\r\n this.memberDetails = { ...this.memberDetails, ...this.memberAddressForm.value };\r\n\r\n this.memberService.updateMemberDetails(this.portalId, this.memberDetails);\r\n this.editingMemberAddress = false;\r\n this.errorService.clearErrors();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._destroyed$.next();\r\n this._destroyed$.complete();\r\n }\r\n\r\n private _validateItems(items: MarketplaceItemCart[] | undefined) {\r\n if (!items || items.length === 0) {\r\n this.translate\r\n .stream('checkout.empty-basket')\r\n .pipe(takeUntil(this._destroyed$))\r\n .subscribe((data: string) => {\r\n this.statusText = data;\r\n });\r\n return false;\r\n }\r\n\r\n for (let item of items) {\r\n switch (item.productData.Status) {\r\n case MarketplaceItemStatus.SoldOut:\r\n this.translate\r\n .stream('marketplace-details.sold-out')\r\n .pipe(takeUntil(this._destroyed$))\r\n .subscribe((data: string) => {\r\n this.statusText = data;\r\n });\r\n return false;\r\n case MarketplaceItemStatus.NotEnoughPoints:\r\n this.translate\r\n .stream('marketplace-details.not-enough')\r\n .pipe(takeUntil(this._destroyed$))\r\n .subscribe((data: string) => {\r\n this.statusText = data;\r\n });\r\n return false;\r\n case MarketplaceItemStatus.ComingSoon:\r\n this.translate\r\n .stream('marketplace-details.coming-soon')\r\n .pipe(takeUntil(this._destroyed$))\r\n .subscribe((data: string) => {\r\n this.statusText = data;\r\n });\r\n return false;\r\n case MarketplaceItemStatus.MemberLimitReached:\r\n this.translate\r\n .stream('marketplace-details.limit-reached')\r\n .pipe(takeUntil(this._destroyed$))\r\n .subscribe((data: string) => {\r\n this.statusText = data;\r\n });\r\n return false;\r\n }\r\n }\r\n\r\n this.translate\r\n .stream('checkout-claim-now')\r\n .pipe(takeUntil(this._destroyed$))\r\n .subscribe((data: string) => {\r\n this.statusText = data;\r\n });\r\n return true;\r\n }\r\n}\r\n","\r\n","import { EventEmitter, Input, Output } from '@angular/core';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Company, CompanyQuery, CompanyOfferLanguageModel, CompanyOfferModel } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-offers-list-item',\r\n templateUrl: './offers-list-item.component.html',\r\n styleUrls: ['./offers-list-item.component.scss'],\r\n})\r\nexport class OffersListItemComponent implements OnInit {\r\n @Input() offer: CompanyOfferModel;\r\n @Input() highlighted = false;\r\n @Output() navigateToOffer = new EventEmitter();\r\n languageContent: CompanyOfferLanguageModel;\r\n currentCompany$: Observable;\r\n constructor(private companyQuery: CompanyQuery) {}\r\n\r\n navigatedToOffer() {\r\n this.navigateToOffer.emit(this.offer.OfferId);\r\n }\r\n\r\n ngOnInit() {\r\n let currentLcid = localStorage.getItem('lcid');\r\n\r\n if (!!currentLcid) {\r\n this.languageContent = !!this.offer.Content.filter((language) => language.LCID == parseInt(currentLcid as string))[0]\r\n ? this.offer.Content.filter((language) => language.LCID == parseInt(currentLcid as string))[0]\r\n : this.offer.Content[0];\r\n } else {\r\n this.languageContent = this.offer.Content[0];\r\n }\r\n\r\n this.currentCompany$ = this.companyQuery.selectEntity(this.offer.CompanyId);\r\n }\r\n}\r\n","import * as i0 from '@angular/core';\nimport { inject, NgZone, EventEmitter, PLATFORM_ID, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, Input, Output, Directive, ContentChildren, NgModule, Injectable } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { BehaviorSubject, Observable, Subject, combineLatest } from 'rxjs';\nimport { switchMap, take, map, takeUntil } from 'rxjs/operators';\n\n/** Manages event on a Google Maps object, ensuring that events are added only when necessary. */\nclass MapEventManager {\n /** Clears all currently-registered event listeners. */\n _clearListeners() {\n for (const listener of this._listeners) {\n listener.remove();\n }\n this._listeners = [];\n }\n constructor(_ngZone) {\n this._ngZone = _ngZone;\n /** Pending listeners that were added before the target was set. */\n this._pending = [];\n this._listeners = [];\n this._targetStream = new BehaviorSubject(undefined);\n }\n /** Gets an observable that adds an event listener to the map when a consumer subscribes to it. */\n getLazyEmitter(name) {\n return this._targetStream.pipe(switchMap(target => {\n const observable = new Observable(observer => {\n // If the target hasn't been initialized yet, cache the observer so it can be added later.\n if (!target) {\n this._pending.push({ observable, observer });\n return undefined;\n }\n const listener = target.addListener(name, (event) => {\n this._ngZone.run(() => observer.next(event));\n });\n // If there's an error when initializing the Maps API (e.g. a wrong API key), it will\n // return a dummy object that returns `undefined` from `addListener` (see #26514).\n if (!listener) {\n observer.complete();\n return undefined;\n }\n this._listeners.push(listener);\n return () => listener.remove();\n });\n return observable;\n }));\n }\n /** Sets the current target that the manager should bind events to. */\n setTarget(target) {\n const currentTarget = this._targetStream.value;\n if (target === currentTarget) {\n return;\n }\n // Clear the listeners from the pre-existing target.\n if (currentTarget) {\n this._clearListeners();\n this._pending = [];\n }\n this._targetStream.next(target);\n // Add the listeners that were bound before the map was initialized.\n this._pending.forEach(subscriber => subscriber.observable.subscribe(subscriber.observer));\n this._pending = [];\n }\n /** Destroys the manager and clears the event listeners. */\n destroy() {\n this._clearListeners();\n this._pending = [];\n this._targetStream.complete();\n }\n}\n\n/// \n/** default options set to the Googleplex */\nconst DEFAULT_OPTIONS = {\n center: { lat: 37.421995, lng: -122.084092 },\n zoom: 17,\n // Note: the type conversion here isn't necessary for our CI, but it resolves a g3 failure.\n mapTypeId: 'roadmap',\n};\n/** Arbitrary default height for the map element */\nconst DEFAULT_HEIGHT = '500px';\n/** Arbitrary default width for the map element */\nconst DEFAULT_WIDTH = '500px';\n/**\n * Angular component that renders a Google Map via the Google Maps JavaScript\n * API.\n * @see https://developers.google.com/maps/documentation/javascript/reference/\n */\nclass GoogleMap {\n set center(center) {\n this._center = center;\n }\n set zoom(zoom) {\n this._zoom = zoom;\n }\n set options(options) {\n this._options = options || DEFAULT_OPTIONS;\n }\n constructor(_elementRef, _ngZone, platformId) {\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n /** Height of the map. Set this to `null` if you'd like to control the height through CSS. */\n this.height = DEFAULT_HEIGHT;\n /** Width of the map. Set this to `null` if you'd like to control the width through CSS. */\n this.width = DEFAULT_WIDTH;\n this._options = DEFAULT_OPTIONS;\n /** Event emitted when the map is initialized. */\n this.mapInitialized = new EventEmitter();\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/events#auth-errors\n */\n this.authFailure = new EventEmitter();\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.bounds_changed\n */\n this.boundsChanged = this._eventManager.getLazyEmitter('bounds_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.center_changed\n */\n this.centerChanged = this._eventManager.getLazyEmitter('center_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.click\n */\n this.mapClick = this._eventManager.getLazyEmitter('click');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.dblclick\n */\n this.mapDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.drag\n */\n this.mapDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.dragend\n */\n this.mapDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.dragstart\n */\n this.mapDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.heading_changed\n */\n this.headingChanged = this._eventManager.getLazyEmitter('heading_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.idle\n */\n this.idle = this._eventManager.getLazyEmitter('idle');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.maptypeid_changed\n */\n this.maptypeidChanged = this._eventManager.getLazyEmitter('maptypeid_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.mousemove\n */\n this.mapMousemove = this._eventManager.getLazyEmitter('mousemove');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.mouseout\n */\n this.mapMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.mouseover\n */\n this.mapMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/map#Map.projection_changed\n */\n this.projectionChanged = this._eventManager.getLazyEmitter('projection_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.rightclick\n */\n this.mapRightclick = this._eventManager.getLazyEmitter('rightclick');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.tilesloaded\n */\n this.tilesloaded = this._eventManager.getLazyEmitter('tilesloaded');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.tilt_changed\n */\n this.tiltChanged = this._eventManager.getLazyEmitter('tilt_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.zoom_changed\n */\n this.zoomChanged = this._eventManager.getLazyEmitter('zoom_changed');\n this._isBrowser = isPlatformBrowser(platformId);\n if (this._isBrowser) {\n const googleMapsWindow = window;\n if (!googleMapsWindow.google && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Namespace google not found, cannot construct embedded google ' +\n 'map. Please install the Google Maps JavaScript API: ' +\n 'https://developers.google.com/maps/documentation/javascript/' +\n 'tutorial#Loading_the_Maps_API');\n }\n this._existingAuthFailureCallback = googleMapsWindow.gm_authFailure;\n googleMapsWindow.gm_authFailure = () => {\n if (this._existingAuthFailureCallback) {\n this._existingAuthFailureCallback();\n }\n this.authFailure.emit();\n };\n }\n }\n ngOnChanges(changes) {\n if (changes['height'] || changes['width']) {\n this._setSize();\n }\n const googleMap = this.googleMap;\n if (googleMap) {\n if (changes['options']) {\n googleMap.setOptions(this._combineOptions());\n }\n if (changes['center'] && this._center) {\n googleMap.setCenter(this._center);\n }\n // Note that the zoom can be zero.\n if (changes['zoom'] && this._zoom != null) {\n googleMap.setZoom(this._zoom);\n }\n if (changes['mapTypeId'] && this.mapTypeId) {\n googleMap.setMapTypeId(this.mapTypeId);\n }\n }\n }\n ngOnInit() {\n // It should be a noop during server-side rendering.\n if (this._isBrowser) {\n this._mapEl = this._elementRef.nativeElement.querySelector('.map-container');\n this._setSize();\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n if (google.maps.Map) {\n this._initialize(google.maps.Map);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n google.maps\n .importLibrary('maps')\n .then(lib => this._initialize(lib.Map));\n });\n }\n }\n }\n _initialize(mapConstructor) {\n this._ngZone.runOutsideAngular(() => {\n this.googleMap = new mapConstructor(this._mapEl, this._combineOptions());\n this._eventManager.setTarget(this.googleMap);\n this.mapInitialized.emit(this.googleMap);\n });\n }\n ngOnDestroy() {\n this.mapInitialized.complete();\n this._eventManager.destroy();\n if (this._isBrowser) {\n const googleMapsWindow = window;\n googleMapsWindow.gm_authFailure = this._existingAuthFailureCallback;\n }\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.fitBounds\n */\n fitBounds(bounds, padding) {\n this._assertInitialized();\n this.googleMap.fitBounds(bounds, padding);\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.panBy\n */\n panBy(x, y) {\n this._assertInitialized();\n this.googleMap.panBy(x, y);\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.panTo\n */\n panTo(latLng) {\n this._assertInitialized();\n this.googleMap.panTo(latLng);\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.panToBounds\n */\n panToBounds(latLngBounds, padding) {\n this._assertInitialized();\n this.googleMap.panToBounds(latLngBounds, padding);\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getBounds\n */\n getBounds() {\n this._assertInitialized();\n return this.googleMap.getBounds() || null;\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getCenter\n */\n getCenter() {\n this._assertInitialized();\n return this.googleMap.getCenter();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getClickableIcons\n */\n getClickableIcons() {\n this._assertInitialized();\n return this.googleMap.getClickableIcons();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getHeading\n */\n getHeading() {\n this._assertInitialized();\n return this.googleMap.getHeading();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getMapTypeId\n */\n getMapTypeId() {\n this._assertInitialized();\n return this.googleMap.getMapTypeId();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getProjection\n */\n getProjection() {\n this._assertInitialized();\n return this.googleMap.getProjection() || null;\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getStreetView\n */\n getStreetView() {\n this._assertInitialized();\n return this.googleMap.getStreetView();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getTilt\n */\n getTilt() {\n this._assertInitialized();\n return this.googleMap.getTilt();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getZoom\n */\n getZoom() {\n this._assertInitialized();\n return this.googleMap.getZoom();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.controls\n */\n get controls() {\n this._assertInitialized();\n return this.googleMap.controls;\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.data\n */\n get data() {\n this._assertInitialized();\n return this.googleMap.data;\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.mapTypes\n */\n get mapTypes() {\n this._assertInitialized();\n return this.googleMap.mapTypes;\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.overlayMapTypes\n */\n get overlayMapTypes() {\n this._assertInitialized();\n return this.googleMap.overlayMapTypes;\n }\n /** Returns a promise that resolves when the map has been initialized. */\n _resolveMap() {\n return this.googleMap\n ? Promise.resolve(this.googleMap)\n : this.mapInitialized.pipe(take(1)).toPromise();\n }\n _setSize() {\n if (this._mapEl) {\n const styles = this._mapEl.style;\n styles.height =\n this.height === null ? '' : coerceCssPixelValue(this.height) || DEFAULT_HEIGHT;\n styles.width = this.width === null ? '' : coerceCssPixelValue(this.width) || DEFAULT_WIDTH;\n }\n }\n /** Combines the center and zoom and the other map options into a single object */\n _combineOptions() {\n const options = this._options || {};\n return {\n ...options,\n // It's important that we set **some** kind of `center` and `zoom`, otherwise\n // Google Maps will render a blank rectangle which looks broken.\n center: this._center || options.center || DEFAULT_OPTIONS.center,\n zoom: this._zoom ?? options.zoom ?? DEFAULT_OPTIONS.zoom,\n // Passing in an undefined `mapTypeId` seems to break tile loading\n // so make sure that we have some kind of default (see #22082).\n mapTypeId: this.mapTypeId || options.mapTypeId || DEFAULT_OPTIONS.mapTypeId,\n mapId: this.mapId || options.mapId,\n };\n }\n /** Asserts that the map has been initialized. */\n _assertInitialized() {\n if (!this.googleMap && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: GoogleMap, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.0\", type: GoogleMap, isStandalone: true, selector: \"google-map\", inputs: { height: \"height\", width: \"width\", mapId: \"mapId\", mapTypeId: \"mapTypeId\", center: \"center\", zoom: \"zoom\", options: \"options\" }, outputs: { mapInitialized: \"mapInitialized\", authFailure: \"authFailure\", boundsChanged: \"boundsChanged\", centerChanged: \"centerChanged\", mapClick: \"mapClick\", mapDblclick: \"mapDblclick\", mapDrag: \"mapDrag\", mapDragend: \"mapDragend\", mapDragstart: \"mapDragstart\", headingChanged: \"headingChanged\", idle: \"idle\", maptypeidChanged: \"maptypeidChanged\", mapMousemove: \"mapMousemove\", mapMouseout: \"mapMouseout\", mapMouseover: \"mapMouseover\", projectionChanged: \"projectionChanged\", mapRightclick: \"mapRightclick\", tilesloaded: \"tilesloaded\", tiltChanged: \"tiltChanged\", zoomChanged: \"zoomChanged\" }, exportAs: [\"googleMap\"], usesOnChanges: true, ngImport: i0, template: '
', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: GoogleMap, decorators: [{\n type: Component,\n args: [{\n selector: 'google-map',\n exportAs: 'googleMap',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '
',\n encapsulation: ViewEncapsulation.None,\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }], propDecorators: { height: [{\n type: Input\n }], width: [{\n type: Input\n }], mapId: [{\n type: Input\n }], mapTypeId: [{\n type: Input\n }], center: [{\n type: Input\n }], zoom: [{\n type: Input\n }], options: [{\n type: Input\n }], mapInitialized: [{\n type: Output\n }], authFailure: [{\n type: Output\n }], boundsChanged: [{\n type: Output\n }], centerChanged: [{\n type: Output\n }], mapClick: [{\n type: Output\n }], mapDblclick: [{\n type: Output\n }], mapDrag: [{\n type: Output\n }], mapDragend: [{\n type: Output\n }], mapDragstart: [{\n type: Output\n }], headingChanged: [{\n type: Output\n }], idle: [{\n type: Output\n }], maptypeidChanged: [{\n type: Output\n }], mapMousemove: [{\n type: Output\n }], mapMouseout: [{\n type: Output\n }], mapMouseover: [{\n type: Output\n }], projectionChanged: [{\n type: Output\n }], mapRightclick: [{\n type: Output\n }], tilesloaded: [{\n type: Output\n }], tiltChanged: [{\n type: Output\n }], zoomChanged: [{\n type: Output\n }] } });\nconst cssUnitsPattern = /([A-Za-z%]+)$/;\n/** Coerces a value to a CSS pixel value. */\nfunction coerceCssPixelValue(value) {\n if (value == null) {\n return '';\n }\n return cssUnitsPattern.test(value) ? value : `${value}px`;\n}\n\n/// \nclass MapBaseLayer {\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._ngZone.runOutsideAngular(() => {\n this._initializeObject();\n });\n this._assertInitialized();\n this._setMap();\n }\n }\n ngOnDestroy() {\n this._unsetMap();\n }\n _assertInitialized() {\n if (!this._map.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n }\n _initializeObject() { }\n _setMap() { }\n _unsetMap() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapBaseLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapBaseLayer, isStandalone: true, selector: \"map-base-layer\", exportAs: [\"mapBaseLayer\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapBaseLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-base-layer',\n exportAs: 'mapBaseLayer',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }] });\n\n/// \n/**\n * Angular component that renders a Google Maps Bicycling Layer via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/map#BicyclingLayer\n */\nclass MapBicyclingLayer {\n constructor() {\n this._map = inject(GoogleMap);\n this._zone = inject(NgZone);\n /** Event emitted when the bicycling layer is initialized. */\n this.bicyclingLayerInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n if (google.maps.BicyclingLayer && this._map.googleMap) {\n this._initialize(this._map.googleMap, google.maps.BicyclingLayer);\n }\n else {\n this._zone.runOutsideAngular(() => {\n Promise.all([this._map._resolveMap(), google.maps.importLibrary('maps')]).then(([map, lib]) => {\n this._initialize(map, lib.BicyclingLayer);\n });\n });\n }\n }\n }\n _initialize(map, layerConstructor) {\n this._zone.runOutsideAngular(() => {\n this.bicyclingLayer = new layerConstructor();\n this.bicyclingLayerInitialized.emit(this.bicyclingLayer);\n this._assertLayerInitialized();\n this.bicyclingLayer.setMap(map);\n });\n }\n ngOnDestroy() {\n this.bicyclingLayer?.setMap(null);\n }\n _assertLayerInitialized() {\n if (!this.bicyclingLayer) {\n throw Error('Cannot interact with a Google Map Bicycling Layer before it has been initialized. ' +\n 'Please wait for the Transit Layer to load before trying to interact with it.');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapBicyclingLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapBicyclingLayer, isStandalone: true, selector: \"map-bicycling-layer\", outputs: { bicyclingLayerInitialized: \"bicyclingLayerInitialized\" }, exportAs: [\"mapBicyclingLayer\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapBicyclingLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-bicycling-layer',\n exportAs: 'mapBicyclingLayer',\n standalone: true,\n }]\n }], propDecorators: { bicyclingLayerInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Circle via the Google Maps JavaScript API.\n * @see developers.google.com/maps/documentation/javascript/reference/polygon#Circle\n */\nclass MapCircle {\n set options(options) {\n this._options.next(options || {});\n }\n set center(center) {\n this._center.next(center);\n }\n set radius(radius) {\n this._radius.next(radius);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._center = new BehaviorSubject(undefined);\n this._radius = new BehaviorSubject(undefined);\n this._destroyed = new Subject();\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.center_changed\n */\n this.centerChanged = this._eventManager.getLazyEmitter('center_changed');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.click\n */\n this.circleClick = this._eventManager.getLazyEmitter('click');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.dblclick\n */\n this.circleDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.drag\n */\n this.circleDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.dragend\n */\n this.circleDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.dragstart\n */\n this.circleDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.mousedown\n */\n this.circleMousedown = this._eventManager.getLazyEmitter('mousedown');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.mousemove\n */\n this.circleMousemove = this._eventManager.getLazyEmitter('mousemove');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.mouseout\n */\n this.circleMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.mouseover\n */\n this.circleMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.mouseup\n */\n this.circleMouseup = this._eventManager.getLazyEmitter('mouseup');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.radius_changed\n */\n this.radiusChanged = this._eventManager.getLazyEmitter('radius_changed');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.rightclick\n */\n this.circleRightclick = this._eventManager.getLazyEmitter('rightclick');\n /** Event emitted when the circle is initialized. */\n this.circleInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (!this._map._isBrowser) {\n return;\n }\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n if (google.maps.Circle && this._map.googleMap) {\n this._initialize(this._map.googleMap, google.maps.Circle, options);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([this._map._resolveMap(), google.maps.importLibrary('maps')]).then(([map, lib]) => {\n this._initialize(map, lib.Circle, options);\n });\n });\n }\n });\n }\n _initialize(map, circleConstructor, options) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.circle = new circleConstructor(options);\n this._assertInitialized();\n this.circle.setMap(map);\n this._eventManager.setTarget(this.circle);\n this.circleInitialized.emit(this.circle);\n this._watchForOptionsChanges();\n this._watchForCenterChanges();\n this._watchForRadiusChanges();\n });\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n this.circle?.setMap(null);\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getBounds\n */\n getBounds() {\n this._assertInitialized();\n return this.circle.getBounds();\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getCenter\n */\n getCenter() {\n this._assertInitialized();\n return this.circle.getCenter();\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getDraggable\n */\n getDraggable() {\n this._assertInitialized();\n return this.circle.getDraggable();\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getEditable\n */\n getEditable() {\n this._assertInitialized();\n return this.circle.getEditable();\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getRadius\n */\n getRadius() {\n this._assertInitialized();\n return this.circle.getRadius();\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getVisible\n */\n getVisible() {\n this._assertInitialized();\n return this.circle.getVisible();\n }\n _combineOptions() {\n return combineLatest([this._options, this._center, this._radius]).pipe(map(([options, center, radius]) => {\n const combinedOptions = {\n ...options,\n center: center || options.center,\n radius: radius !== undefined ? radius : options.radius,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {\n this._assertInitialized();\n this.circle.setOptions(options);\n });\n }\n _watchForCenterChanges() {\n this._center.pipe(takeUntil(this._destroyed)).subscribe(center => {\n if (center) {\n this._assertInitialized();\n this.circle.setCenter(center);\n }\n });\n }\n _watchForRadiusChanges() {\n this._radius.pipe(takeUntil(this._destroyed)).subscribe(radius => {\n if (radius !== undefined) {\n this._assertInitialized();\n this.circle.setRadius(radius);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.circle) {\n throw Error('Cannot interact with a Google Map Circle before it has been ' +\n 'initialized. Please wait for the Circle to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapCircle, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapCircle, isStandalone: true, selector: \"map-circle\", inputs: { options: \"options\", center: \"center\", radius: \"radius\" }, outputs: { centerChanged: \"centerChanged\", circleClick: \"circleClick\", circleDblclick: \"circleDblclick\", circleDrag: \"circleDrag\", circleDragend: \"circleDragend\", circleDragstart: \"circleDragstart\", circleMousedown: \"circleMousedown\", circleMousemove: \"circleMousemove\", circleMouseout: \"circleMouseout\", circleMouseover: \"circleMouseover\", circleMouseup: \"circleMouseup\", radiusChanged: \"radiusChanged\", circleRightclick: \"circleRightclick\", circleInitialized: \"circleInitialized\" }, exportAs: [\"mapCircle\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapCircle, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-circle',\n exportAs: 'mapCircle',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { options: [{\n type: Input\n }], center: [{\n type: Input\n }], radius: [{\n type: Input\n }], centerChanged: [{\n type: Output\n }], circleClick: [{\n type: Output\n }], circleDblclick: [{\n type: Output\n }], circleDrag: [{\n type: Output\n }], circleDragend: [{\n type: Output\n }], circleDragstart: [{\n type: Output\n }], circleMousedown: [{\n type: Output\n }], circleMousemove: [{\n type: Output\n }], circleMouseout: [{\n type: Output\n }], circleMouseover: [{\n type: Output\n }], circleMouseup: [{\n type: Output\n }], radiusChanged: [{\n type: Output\n }], circleRightclick: [{\n type: Output\n }], circleInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Directions Renderer via the Google Maps\n * JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/directions#DirectionsRenderer\n */\nclass MapDirectionsRenderer {\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRendererOptions.directions\n */\n set directions(directions) {\n this._directions = directions;\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRendererOptions\n */\n set options(options) {\n this._options = options;\n }\n constructor(_googleMap, _ngZone) {\n this._googleMap = _googleMap;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRenderer.directions_changed\n */\n this.directionsChanged = this._eventManager.getLazyEmitter('directions_changed');\n /** Event emitted when the directions renderer is initialized. */\n this.directionsRendererInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._googleMap._isBrowser) {\n if (google.maps.DirectionsRenderer && this._googleMap.googleMap) {\n this._initialize(this._googleMap.googleMap, google.maps.DirectionsRenderer);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([this._googleMap._resolveMap(), google.maps.importLibrary('routes')]).then(([map, lib]) => {\n this._initialize(map, lib.DirectionsRenderer);\n });\n });\n }\n }\n }\n _initialize(map, rendererConstructor) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.directionsRenderer = new rendererConstructor(this._combineOptions());\n this._assertInitialized();\n this.directionsRenderer.setMap(map);\n this._eventManager.setTarget(this.directionsRenderer);\n this.directionsRendererInitialized.emit(this.directionsRenderer);\n });\n }\n ngOnChanges(changes) {\n if (this.directionsRenderer) {\n if (changes['options']) {\n this.directionsRenderer.setOptions(this._combineOptions());\n }\n if (changes['directions'] && this._directions !== undefined) {\n this.directionsRenderer.setDirections(this._directions);\n }\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this.directionsRenderer?.setMap(null);\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRenderer.getDirections\n */\n getDirections() {\n this._assertInitialized();\n return this.directionsRenderer.getDirections();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRenderer.getPanel\n */\n getPanel() {\n this._assertInitialized();\n return this.directionsRenderer.getPanel();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRenderer.getRouteIndex\n */\n getRouteIndex() {\n this._assertInitialized();\n return this.directionsRenderer.getRouteIndex();\n }\n _combineOptions() {\n const options = this._options || {};\n return {\n ...options,\n directions: this._directions || options.directions,\n map: this._googleMap.googleMap,\n };\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.directionsRenderer) {\n throw Error('Cannot interact with a Google Map Directions Renderer before it has been ' +\n 'initialized. Please wait for the Directions Renderer to load before trying ' +\n 'to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapDirectionsRenderer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapDirectionsRenderer, isStandalone: true, selector: \"map-directions-renderer\", inputs: { directions: \"directions\", options: \"options\" }, outputs: { directionsChanged: \"directionsChanged\", directionsRendererInitialized: \"directionsRendererInitialized\" }, exportAs: [\"mapDirectionsRenderer\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapDirectionsRenderer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-directions-renderer',\n exportAs: 'mapDirectionsRenderer',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { directions: [{\n type: Input\n }], options: [{\n type: Input\n }], directionsChanged: [{\n type: Output\n }], directionsRendererInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Ground Overlay via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/image-overlay#GroundOverlay\n */\nclass MapGroundOverlay {\n /** URL of the image that will be shown in the overlay. */\n set url(url) {\n this._url.next(url);\n }\n /** Bounds for the overlay. */\n get bounds() {\n return this._bounds.value;\n }\n set bounds(bounds) {\n this._bounds.next(bounds);\n }\n /** Opacity of the overlay. */\n set opacity(opacity) {\n this._opacity.next(opacity);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._opacity = new BehaviorSubject(1);\n this._url = new BehaviorSubject('');\n this._bounds = new BehaviorSubject(undefined);\n this._destroyed = new Subject();\n /** Whether the overlay is clickable */\n this.clickable = false;\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/image-overlay#GroundOverlay.click\n */\n this.mapClick = this._eventManager.getLazyEmitter('click');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/image-overlay\n * #GroundOverlay.dblclick\n */\n this.mapDblclick = this._eventManager.getLazyEmitter('dblclick');\n /** Event emitted when the ground overlay is initialized. */\n this.groundOverlayInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n // The ground overlay setup is slightly different from the other Google Maps objects in that\n // we have to recreate the `GroundOverlay` object whenever the bounds change, because\n // Google Maps doesn't provide an API to update the bounds of an existing overlay.\n this._bounds.pipe(takeUntil(this._destroyed)).subscribe(bounds => {\n if (this.groundOverlay) {\n this.groundOverlay.setMap(null);\n this.groundOverlay = undefined;\n }\n if (!bounds) {\n return;\n }\n if (google.maps.GroundOverlay && this._map.googleMap) {\n this._initialize(this._map.googleMap, google.maps.GroundOverlay, bounds);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([this._map._resolveMap(), google.maps.importLibrary('maps')]).then(([map, lib]) => {\n this._initialize(map, lib.GroundOverlay, bounds);\n });\n });\n }\n });\n }\n }\n _initialize(map, overlayConstructor, bounds) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.groundOverlay = new overlayConstructor(this._url.getValue(), bounds, {\n clickable: this.clickable,\n opacity: this._opacity.value,\n });\n this._assertInitialized();\n this.groundOverlay.setMap(map);\n this._eventManager.setTarget(this.groundOverlay);\n this.groundOverlayInitialized.emit(this.groundOverlay);\n // We only need to set up the watchers once.\n if (!this._hasWatchers) {\n this._hasWatchers = true;\n this._watchForOpacityChanges();\n this._watchForUrlChanges();\n }\n });\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n this.groundOverlay?.setMap(null);\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/image-overlay\n * #GroundOverlay.getBounds\n */\n getBounds() {\n this._assertInitialized();\n return this.groundOverlay.getBounds();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/image-overlay\n * #GroundOverlay.getOpacity\n */\n getOpacity() {\n this._assertInitialized();\n return this.groundOverlay.getOpacity();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/image-overlay\n * #GroundOverlay.getUrl\n */\n getUrl() {\n this._assertInitialized();\n return this.groundOverlay.getUrl();\n }\n _watchForOpacityChanges() {\n this._opacity.pipe(takeUntil(this._destroyed)).subscribe(opacity => {\n if (opacity != null) {\n this.groundOverlay?.setOpacity(opacity);\n }\n });\n }\n _watchForUrlChanges() {\n this._url.pipe(takeUntil(this._destroyed)).subscribe(url => {\n const overlay = this.groundOverlay;\n if (overlay) {\n overlay.set('url', url);\n // Google Maps only redraws the overlay if we re-set the map.\n overlay.setMap(null);\n overlay.setMap(this._map.googleMap);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.groundOverlay) {\n throw Error('Cannot interact with a Google Map GroundOverlay before it has been initialized. ' +\n 'Please wait for the GroundOverlay to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapGroundOverlay, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapGroundOverlay, isStandalone: true, selector: \"map-ground-overlay\", inputs: { url: \"url\", bounds: \"bounds\", clickable: \"clickable\", opacity: \"opacity\" }, outputs: { mapClick: \"mapClick\", mapDblclick: \"mapDblclick\", groundOverlayInitialized: \"groundOverlayInitialized\" }, exportAs: [\"mapGroundOverlay\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapGroundOverlay, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-ground-overlay',\n exportAs: 'mapGroundOverlay',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { url: [{\n type: Input\n }], bounds: [{\n type: Input\n }], clickable: [{\n type: Input\n }], opacity: [{\n type: Input\n }], mapClick: [{\n type: Output\n }], mapDblclick: [{\n type: Output\n }], groundOverlayInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps info window via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/info-window\n */\nclass MapInfoWindow {\n set options(options) {\n this._options.next(options || {});\n }\n set position(position) {\n this._position.next(position);\n }\n constructor(_googleMap, _elementRef, _ngZone) {\n this._googleMap = _googleMap;\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._position = new BehaviorSubject(undefined);\n this._destroy = new Subject();\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.closeclick\n */\n this.closeclick = this._eventManager.getLazyEmitter('closeclick');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window\n * #InfoWindow.content_changed\n */\n this.contentChanged = this._eventManager.getLazyEmitter('content_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.domready\n */\n this.domready = this._eventManager.getLazyEmitter('domready');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window\n * #InfoWindow.position_changed\n */\n this.positionChanged = this._eventManager.getLazyEmitter('position_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window\n * #InfoWindow.zindex_changed\n */\n this.zindexChanged = this._eventManager.getLazyEmitter('zindex_changed');\n /** Event emitted when the info window is initialized. */\n this.infoWindowInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._googleMap._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n if (google.maps.InfoWindow) {\n this._initialize(google.maps.InfoWindow, options);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n google.maps.importLibrary('maps').then(lib => {\n this._initialize(lib.InfoWindow, options);\n });\n });\n }\n });\n }\n }\n _initialize(infoWindowConstructor, options) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.infoWindow = new infoWindowConstructor(options);\n this._eventManager.setTarget(this.infoWindow);\n this.infoWindowInitialized.emit(this.infoWindow);\n this._watchForOptionsChanges();\n this._watchForPositionChanges();\n });\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroy.next();\n this._destroy.complete();\n // If no info window has been created on the server, we do not try closing it.\n // On the server, an info window cannot be created and this would cause errors.\n if (this.infoWindow) {\n this.close();\n }\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.close\n */\n close() {\n this._assertInitialized();\n this.infoWindow.close();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.getContent\n */\n getContent() {\n this._assertInitialized();\n return this.infoWindow.getContent() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window\n * #InfoWindow.getPosition\n */\n getPosition() {\n this._assertInitialized();\n return this.infoWindow.getPosition() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.getZIndex\n */\n getZIndex() {\n this._assertInitialized();\n return this.infoWindow.getZIndex();\n }\n /**\n * Opens the MapInfoWindow using the provided AdvancedMarkerElement.\n * @deprecated Use the `open` method instead.\n * @breaking-change 20.0.0\n */\n openAdvancedMarkerElement(advancedMarkerElement, content) {\n this.open({\n getAnchor: () => advancedMarkerElement,\n }, undefined, content);\n }\n /**\n * Opens the MapInfoWindow using the provided anchor. If the anchor is not set,\n * then the position property of the options input is used instead.\n */\n open(anchor, shouldFocus, content) {\n this._assertInitialized();\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && anchor && !anchor.getAnchor) {\n throw new Error('Specified anchor does not implement the `getAnchor` method. ' +\n 'It cannot be used to open an info window.');\n }\n const anchorObject = anchor ? anchor.getAnchor() : undefined;\n // Prevent the info window from initializing when trying to reopen on the same anchor.\n // Note that when the window is opened for the first time, the anchor will always be\n // undefined. If that's the case, we have to allow it to open in order to handle the\n // case where the window doesn't have an anchor, but is placed at a particular position.\n if (this.infoWindow.get('anchor') !== anchorObject || !anchorObject) {\n this._elementRef.nativeElement.style.display = '';\n if (content) {\n this.infoWindow.setContent(content);\n }\n this.infoWindow.open({\n map: this._googleMap.googleMap,\n anchor: anchorObject,\n shouldFocus,\n });\n }\n }\n _combineOptions() {\n return combineLatest([this._options, this._position]).pipe(map(([options, position]) => {\n const combinedOptions = {\n ...options,\n position: position || options.position,\n content: this._elementRef.nativeElement,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroy)).subscribe(options => {\n this._assertInitialized();\n this.infoWindow.setOptions(options);\n });\n }\n _watchForPositionChanges() {\n this._position.pipe(takeUntil(this._destroy)).subscribe(position => {\n if (position) {\n this._assertInitialized();\n this.infoWindow.setPosition(position);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.infoWindow) {\n throw Error('Cannot interact with a Google Map Info Window before it has been ' +\n 'initialized. Please wait for the Info Window to load before trying to interact with ' +\n 'it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapInfoWindow, deps: [{ token: GoogleMap }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapInfoWindow, isStandalone: true, selector: \"map-info-window\", inputs: { options: \"options\", position: \"position\" }, outputs: { closeclick: \"closeclick\", contentChanged: \"contentChanged\", domready: \"domready\", positionChanged: \"positionChanged\", zindexChanged: \"zindexChanged\", infoWindowInitialized: \"infoWindowInitialized\" }, host: { styleAttribute: \"display: none\" }, exportAs: [\"mapInfoWindow\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapInfoWindow, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-info-window',\n exportAs: 'mapInfoWindow',\n standalone: true,\n host: { 'style': 'display: none' },\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { options: [{\n type: Input\n }], position: [{\n type: Input\n }], closeclick: [{\n type: Output\n }], contentChanged: [{\n type: Output\n }], domready: [{\n type: Output\n }], positionChanged: [{\n type: Output\n }], zindexChanged: [{\n type: Output\n }], infoWindowInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps KML Layer via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer\n */\nclass MapKmlLayer {\n set options(options) {\n this._options.next(options || {});\n }\n set url(url) {\n this._url.next(url);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._url = new BehaviorSubject('');\n this._destroyed = new Subject();\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.click\n */\n this.kmlClick = this._eventManager.getLazyEmitter('click');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/kml\n * #KmlLayer.defaultviewport_changed\n */\n this.defaultviewportChanged = this._eventManager.getLazyEmitter('defaultviewport_changed');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.status_changed\n */\n this.statusChanged = this._eventManager.getLazyEmitter('status_changed');\n /** Event emitted when the KML layer is initialized. */\n this.kmlLayerInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n if (google.maps.KmlLayer && this._map.googleMap) {\n this._initialize(this._map.googleMap, google.maps.KmlLayer, options);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([this._map._resolveMap(), google.maps.importLibrary('maps')]).then(([map, lib]) => {\n this._initialize(map, lib.KmlLayer, options);\n });\n });\n }\n });\n }\n }\n _initialize(map, layerConstructor, options) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.kmlLayer = new layerConstructor(options);\n this._assertInitialized();\n this.kmlLayer.setMap(map);\n this._eventManager.setTarget(this.kmlLayer);\n this.kmlLayerInitialized.emit(this.kmlLayer);\n this._watchForOptionsChanges();\n this._watchForUrlChanges();\n });\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n this.kmlLayer?.setMap(null);\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getDefaultViewport\n */\n getDefaultViewport() {\n this._assertInitialized();\n return this.kmlLayer.getDefaultViewport();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getMetadata\n */\n getMetadata() {\n this._assertInitialized();\n return this.kmlLayer.getMetadata();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getStatus\n */\n getStatus() {\n this._assertInitialized();\n return this.kmlLayer.getStatus();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getUrl\n */\n getUrl() {\n this._assertInitialized();\n return this.kmlLayer.getUrl();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getZIndex\n */\n getZIndex() {\n this._assertInitialized();\n return this.kmlLayer.getZIndex();\n }\n _combineOptions() {\n return combineLatest([this._options, this._url]).pipe(map(([options, url]) => {\n const combinedOptions = {\n ...options,\n url: url || options.url,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {\n if (this.kmlLayer) {\n this._assertInitialized();\n this.kmlLayer.setOptions(options);\n }\n });\n }\n _watchForUrlChanges() {\n this._url.pipe(takeUntil(this._destroyed)).subscribe(url => {\n if (url && this.kmlLayer) {\n this._assertInitialized();\n this.kmlLayer.setUrl(url);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.kmlLayer) {\n throw Error('Cannot interact with a Google Map KmlLayer before it has been ' +\n 'initialized. Please wait for the KmlLayer to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapKmlLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapKmlLayer, isStandalone: true, selector: \"map-kml-layer\", inputs: { options: \"options\", url: \"url\" }, outputs: { kmlClick: \"kmlClick\", defaultviewportChanged: \"defaultviewportChanged\", statusChanged: \"statusChanged\", kmlLayerInitialized: \"kmlLayerInitialized\" }, exportAs: [\"mapKmlLayer\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapKmlLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-kml-layer',\n exportAs: 'mapKmlLayer',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { options: [{\n type: Input\n }], url: [{\n type: Input\n }], kmlClick: [{\n type: Output\n }], defaultviewportChanged: [{\n type: Output\n }], statusChanged: [{\n type: Output\n }], kmlLayerInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Default options for the Google Maps marker component. Displays a marker\n * at the Googleplex.\n */\nconst DEFAULT_MARKER_OPTIONS$1 = {\n position: { lat: 37.421995, lng: -122.084092 },\n};\n/**\n * Angular component that renders a Google Maps marker via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/marker\n */\nclass MapMarker {\n /**\n * Title of the marker.\n * See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.title\n */\n set title(title) {\n this._title = title;\n }\n /**\n * Position of the marker. See:\n * developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.position\n */\n set position(position) {\n this._position = position;\n }\n /**\n * Label for the marker.\n * See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.label\n */\n set label(label) {\n this._label = label;\n }\n /**\n * Whether the marker is clickable. See:\n * developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.clickable\n */\n set clickable(clickable) {\n this._clickable = clickable;\n }\n /**\n * Options used to configure the marker.\n * See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions\n */\n set options(options) {\n this._options = options;\n }\n /**\n * Icon to be used for the marker.\n * See: https://developers.google.com/maps/documentation/javascript/reference/marker#Icon\n */\n set icon(icon) {\n this._icon = icon;\n }\n /**\n * Whether the marker is visible.\n * See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.visible\n */\n set visible(value) {\n this._visible = value;\n }\n constructor(_googleMap, _ngZone) {\n this._googleMap = _googleMap;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.animation_changed\n */\n this.animationChanged = this._eventManager.getLazyEmitter('animation_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.click\n */\n this.mapClick = this._eventManager.getLazyEmitter('click');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.clickable_changed\n */\n this.clickableChanged = this._eventManager.getLazyEmitter('clickable_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.cursor_changed\n */\n this.cursorChanged = this._eventManager.getLazyEmitter('cursor_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.dblclick\n */\n this.mapDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.drag\n */\n this.mapDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.dragend\n */\n this.mapDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.draggable_changed\n */\n this.draggableChanged = this._eventManager.getLazyEmitter('draggable_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.dragstart\n */\n this.mapDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.flat_changed\n */\n this.flatChanged = this._eventManager.getLazyEmitter('flat_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.icon_changed\n */\n this.iconChanged = this._eventManager.getLazyEmitter('icon_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.mousedown\n */\n this.mapMousedown = this._eventManager.getLazyEmitter('mousedown');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.mouseout\n */\n this.mapMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.mouseover\n */\n this.mapMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.mouseup\n */\n this.mapMouseup = this._eventManager.getLazyEmitter('mouseup');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.position_changed\n */\n this.positionChanged = this._eventManager.getLazyEmitter('position_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.rightclick\n */\n this.mapRightclick = this._eventManager.getLazyEmitter('rightclick');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.shape_changed\n */\n this.shapeChanged = this._eventManager.getLazyEmitter('shape_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.title_changed\n */\n this.titleChanged = this._eventManager.getLazyEmitter('title_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.visible_changed\n */\n this.visibleChanged = this._eventManager.getLazyEmitter('visible_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.zindex_changed\n */\n this.zindexChanged = this._eventManager.getLazyEmitter('zindex_changed');\n /** Event emitted when the marker is initialized. */\n this.markerInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (!this._googleMap._isBrowser) {\n return;\n }\n if (google.maps.Marker && this._googleMap.googleMap) {\n this._initialize(this._googleMap.googleMap, google.maps.Marker);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([this._googleMap._resolveMap(), google.maps.importLibrary('marker')]).then(([map, lib]) => {\n this._initialize(map, lib.Marker);\n });\n });\n }\n }\n _initialize(map, markerConstructor) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.marker = new markerConstructor(this._combineOptions());\n this._assertInitialized();\n this.marker.setMap(map);\n this._eventManager.setTarget(this.marker);\n this.markerInitialized.next(this.marker);\n });\n }\n ngOnChanges(changes) {\n const { marker, _title, _position, _label, _clickable, _icon, _visible } = this;\n if (marker) {\n if (changes['options']) {\n marker.setOptions(this._combineOptions());\n }\n if (changes['title'] && _title !== undefined) {\n marker.setTitle(_title);\n }\n if (changes['position'] && _position) {\n marker.setPosition(_position);\n }\n if (changes['label'] && _label !== undefined) {\n marker.setLabel(_label);\n }\n if (changes['clickable'] && _clickable !== undefined) {\n marker.setClickable(_clickable);\n }\n if (changes['icon'] && _icon) {\n marker.setIcon(_icon);\n }\n if (changes['visible'] && _visible !== undefined) {\n marker.setVisible(_visible);\n }\n }\n }\n ngOnDestroy() {\n this.markerInitialized.complete();\n this._eventManager.destroy();\n this.marker?.setMap(null);\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getAnimation\n */\n getAnimation() {\n this._assertInitialized();\n return this.marker.getAnimation() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getClickable\n */\n getClickable() {\n this._assertInitialized();\n return this.marker.getClickable();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getCursor\n */\n getCursor() {\n this._assertInitialized();\n return this.marker.getCursor() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getDraggable\n */\n getDraggable() {\n this._assertInitialized();\n return !!this.marker.getDraggable();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getIcon\n */\n getIcon() {\n this._assertInitialized();\n return this.marker.getIcon() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getLabel\n */\n getLabel() {\n this._assertInitialized();\n return this.marker.getLabel() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getOpacity\n */\n getOpacity() {\n this._assertInitialized();\n return this.marker.getOpacity() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getPosition\n */\n getPosition() {\n this._assertInitialized();\n return this.marker.getPosition() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getShape\n */\n getShape() {\n this._assertInitialized();\n return this.marker.getShape() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getTitle\n */\n getTitle() {\n this._assertInitialized();\n return this.marker.getTitle() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getVisible\n */\n getVisible() {\n this._assertInitialized();\n return this.marker.getVisible();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getZIndex\n */\n getZIndex() {\n this._assertInitialized();\n return this.marker.getZIndex() || null;\n }\n /** Gets the anchor point that can be used to attach other Google Maps objects. */\n getAnchor() {\n this._assertInitialized();\n return this.marker;\n }\n /** Returns a promise that resolves when the marker has been initialized. */\n _resolveMarker() {\n return this.marker\n ? Promise.resolve(this.marker)\n : this.markerInitialized.pipe(take(1)).toPromise();\n }\n /** Creates a combined options object using the passed-in options and the individual inputs. */\n _combineOptions() {\n const options = this._options || DEFAULT_MARKER_OPTIONS$1;\n return {\n ...options,\n title: this._title || options.title,\n position: this._position || options.position,\n label: this._label || options.label,\n clickable: this._clickable ?? options.clickable,\n map: this._googleMap.googleMap,\n icon: this._icon || options.icon,\n visible: this._visible ?? options.visible,\n };\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.marker) {\n throw Error('Cannot interact with a Google Map Marker before it has been ' +\n 'initialized. Please wait for the Marker to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapMarker, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapMarker, isStandalone: true, selector: \"map-marker\", inputs: { title: \"title\", position: \"position\", label: \"label\", clickable: \"clickable\", options: \"options\", icon: \"icon\", visible: \"visible\" }, outputs: { animationChanged: \"animationChanged\", mapClick: \"mapClick\", clickableChanged: \"clickableChanged\", cursorChanged: \"cursorChanged\", mapDblclick: \"mapDblclick\", mapDrag: \"mapDrag\", mapDragend: \"mapDragend\", draggableChanged: \"draggableChanged\", mapDragstart: \"mapDragstart\", flatChanged: \"flatChanged\", iconChanged: \"iconChanged\", mapMousedown: \"mapMousedown\", mapMouseout: \"mapMouseout\", mapMouseover: \"mapMouseover\", mapMouseup: \"mapMouseup\", positionChanged: \"positionChanged\", mapRightclick: \"mapRightclick\", shapeChanged: \"shapeChanged\", titleChanged: \"titleChanged\", visibleChanged: \"visibleChanged\", zindexChanged: \"zindexChanged\", markerInitialized: \"markerInitialized\" }, exportAs: [\"mapMarker\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapMarker, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-marker',\n exportAs: 'mapMarker',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { title: [{\n type: Input\n }], position: [{\n type: Input\n }], label: [{\n type: Input\n }], clickable: [{\n type: Input\n }], options: [{\n type: Input\n }], icon: [{\n type: Input\n }], visible: [{\n type: Input\n }], animationChanged: [{\n type: Output\n }], mapClick: [{\n type: Output\n }], clickableChanged: [{\n type: Output\n }], cursorChanged: [{\n type: Output\n }], mapDblclick: [{\n type: Output\n }], mapDrag: [{\n type: Output\n }], mapDragend: [{\n type: Output\n }], draggableChanged: [{\n type: Output\n }], mapDragstart: [{\n type: Output\n }], flatChanged: [{\n type: Output\n }], iconChanged: [{\n type: Output\n }], mapMousedown: [{\n type: Output\n }], mapMouseout: [{\n type: Output\n }], mapMouseover: [{\n type: Output\n }], mapMouseup: [{\n type: Output\n }], positionChanged: [{\n type: Output\n }], mapRightclick: [{\n type: Output\n }], shapeChanged: [{\n type: Output\n }], titleChanged: [{\n type: Output\n }], visibleChanged: [{\n type: Output\n }], zindexChanged: [{\n type: Output\n }], markerInitialized: [{\n type: Output\n }] } });\n\n/// \n/** Default options for a clusterer. */\nconst DEFAULT_CLUSTERER_OPTIONS = {};\n/**\n * Angular component for implementing a Google Maps Marker Clusterer.\n *\n * See https://developers.google.com/maps/documentation/javascript/marker-clustering\n */\nclass MapMarkerClusterer {\n set averageCenter(averageCenter) {\n this._averageCenter = averageCenter;\n }\n set batchSizeIE(batchSizeIE) {\n this._batchSizeIE = batchSizeIE;\n }\n set calculator(calculator) {\n this._calculator = calculator;\n }\n set clusterClass(clusterClass) {\n this._clusterClass = clusterClass;\n }\n set enableRetinaIcons(enableRetinaIcons) {\n this._enableRetinaIcons = enableRetinaIcons;\n }\n set gridSize(gridSize) {\n this._gridSize = gridSize;\n }\n set ignoreHidden(ignoreHidden) {\n this._ignoreHidden = ignoreHidden;\n }\n set imageExtension(imageExtension) {\n this._imageExtension = imageExtension;\n }\n set imagePath(imagePath) {\n this._imagePath = imagePath;\n }\n set imageSizes(imageSizes) {\n this._imageSizes = imageSizes;\n }\n set maxZoom(maxZoom) {\n this._maxZoom = maxZoom;\n }\n set minimumClusterSize(minimumClusterSize) {\n this._minimumClusterSize = minimumClusterSize;\n }\n set styles(styles) {\n this._styles = styles;\n }\n set title(title) {\n this._title = title;\n }\n set zIndex(zIndex) {\n this._zIndex = zIndex;\n }\n set zoomOnClick(zoomOnClick) {\n this._zoomOnClick = zoomOnClick;\n }\n set options(options) {\n this._options = options;\n }\n constructor(_googleMap, _ngZone) {\n this._googleMap = _googleMap;\n this._ngZone = _ngZone;\n this._currentMarkers = new Set();\n this._eventManager = new MapEventManager(inject(NgZone));\n this._destroy = new Subject();\n this.ariaLabelFn = () => '';\n /**\n * See\n * googlemaps.github.io/v3-utility-library/modules/\n * _google_markerclustererplus.html#clusteringbegin\n */\n this.clusteringbegin = this._eventManager.getLazyEmitter('clusteringbegin');\n /**\n * See\n * googlemaps.github.io/v3-utility-library/modules/_google_markerclustererplus.html#clusteringend\n */\n this.clusteringend = this._eventManager.getLazyEmitter('clusteringend');\n /** Emits when a cluster has been clicked. */\n this.clusterClick = this._eventManager.getLazyEmitter('click');\n /** Event emitted when the clusterer is initialized. */\n this.markerClustererInitialized = new EventEmitter();\n this._canInitialize = _googleMap._isBrowser;\n }\n ngOnInit() {\n if (this._canInitialize) {\n this._ngZone.runOutsideAngular(() => {\n this._googleMap._resolveMap().then(map => {\n if (typeof MarkerClusterer !== 'function' &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('MarkerClusterer class not found, cannot construct a marker cluster. ' +\n 'Please install the MarkerClustererPlus library: ' +\n 'https://github.com/googlemaps/js-markerclustererplus');\n }\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this.markerClusterer = this._ngZone.runOutsideAngular(() => {\n return new MarkerClusterer(map, [], this._combineOptions());\n });\n this._assertInitialized();\n this._eventManager.setTarget(this.markerClusterer);\n this.markerClustererInitialized.emit(this.markerClusterer);\n });\n });\n }\n }\n ngAfterContentInit() {\n if (this._canInitialize) {\n if (this.markerClusterer) {\n this._watchForMarkerChanges();\n }\n else {\n this.markerClustererInitialized\n .pipe(take(1), takeUntil(this._destroy))\n .subscribe(() => this._watchForMarkerChanges());\n }\n }\n }\n ngOnChanges(changes) {\n const { markerClusterer: clusterer, ariaLabelFn, _averageCenter, _batchSizeIE, _calculator, _styles, _clusterClass, _enableRetinaIcons, _gridSize, _ignoreHidden, _imageExtension, _imagePath, _imageSizes, _maxZoom, _minimumClusterSize, _title, _zIndex, _zoomOnClick, } = this;\n if (clusterer) {\n if (changes['options']) {\n clusterer.setOptions(this._combineOptions());\n }\n if (changes['ariaLabelFn']) {\n clusterer.ariaLabelFn = ariaLabelFn;\n }\n if (changes['averageCenter'] && _averageCenter !== undefined) {\n clusterer.setAverageCenter(_averageCenter);\n }\n if (changes['batchSizeIE'] && _batchSizeIE !== undefined) {\n clusterer.setBatchSizeIE(_batchSizeIE);\n }\n if (changes['calculator'] && !!_calculator) {\n clusterer.setCalculator(_calculator);\n }\n if (changes['clusterClass'] && _clusterClass !== undefined) {\n clusterer.setClusterClass(_clusterClass);\n }\n if (changes['enableRetinaIcons'] && _enableRetinaIcons !== undefined) {\n clusterer.setEnableRetinaIcons(_enableRetinaIcons);\n }\n if (changes['gridSize'] && _gridSize !== undefined) {\n clusterer.setGridSize(_gridSize);\n }\n if (changes['ignoreHidden'] && _ignoreHidden !== undefined) {\n clusterer.setIgnoreHidden(_ignoreHidden);\n }\n if (changes['imageExtension'] && _imageExtension !== undefined) {\n clusterer.setImageExtension(_imageExtension);\n }\n if (changes['imagePath'] && _imagePath !== undefined) {\n clusterer.setImagePath(_imagePath);\n }\n if (changes['imageSizes'] && _imageSizes) {\n clusterer.setImageSizes(_imageSizes);\n }\n if (changes['maxZoom'] && _maxZoom !== undefined) {\n clusterer.setMaxZoom(_maxZoom);\n }\n if (changes['minimumClusterSize'] && _minimumClusterSize !== undefined) {\n clusterer.setMinimumClusterSize(_minimumClusterSize);\n }\n if (changes['styles'] && _styles) {\n clusterer.setStyles(_styles);\n }\n if (changes['title'] && _title !== undefined) {\n clusterer.setTitle(_title);\n }\n if (changes['zIndex'] && _zIndex !== undefined) {\n clusterer.setZIndex(_zIndex);\n }\n if (changes['zoomOnClick'] && _zoomOnClick !== undefined) {\n clusterer.setZoomOnClick(_zoomOnClick);\n }\n }\n }\n ngOnDestroy() {\n this._destroy.next();\n this._destroy.complete();\n this._eventManager.destroy();\n this.markerClusterer?.setMap(null);\n }\n fitMapToMarkers(padding) {\n this._assertInitialized();\n this.markerClusterer.fitMapToMarkers(padding);\n }\n getAverageCenter() {\n this._assertInitialized();\n return this.markerClusterer.getAverageCenter();\n }\n getBatchSizeIE() {\n this._assertInitialized();\n return this.markerClusterer.getBatchSizeIE();\n }\n getCalculator() {\n this._assertInitialized();\n return this.markerClusterer.getCalculator();\n }\n getClusterClass() {\n this._assertInitialized();\n return this.markerClusterer.getClusterClass();\n }\n getClusters() {\n this._assertInitialized();\n return this.markerClusterer.getClusters();\n }\n getEnableRetinaIcons() {\n this._assertInitialized();\n return this.markerClusterer.getEnableRetinaIcons();\n }\n getGridSize() {\n this._assertInitialized();\n return this.markerClusterer.getGridSize();\n }\n getIgnoreHidden() {\n this._assertInitialized();\n return this.markerClusterer.getIgnoreHidden();\n }\n getImageExtension() {\n this._assertInitialized();\n return this.markerClusterer.getImageExtension();\n }\n getImagePath() {\n this._assertInitialized();\n return this.markerClusterer.getImagePath();\n }\n getImageSizes() {\n this._assertInitialized();\n return this.markerClusterer.getImageSizes();\n }\n getMaxZoom() {\n this._assertInitialized();\n return this.markerClusterer.getMaxZoom();\n }\n getMinimumClusterSize() {\n this._assertInitialized();\n return this.markerClusterer.getMinimumClusterSize();\n }\n getStyles() {\n this._assertInitialized();\n return this.markerClusterer.getStyles();\n }\n getTitle() {\n this._assertInitialized();\n return this.markerClusterer.getTitle();\n }\n getTotalClusters() {\n this._assertInitialized();\n return this.markerClusterer.getTotalClusters();\n }\n getTotalMarkers() {\n this._assertInitialized();\n return this.markerClusterer.getTotalMarkers();\n }\n getZIndex() {\n this._assertInitialized();\n return this.markerClusterer.getZIndex();\n }\n getZoomOnClick() {\n this._assertInitialized();\n return this.markerClusterer.getZoomOnClick();\n }\n _combineOptions() {\n const options = this._options || DEFAULT_CLUSTERER_OPTIONS;\n return {\n ...options,\n ariaLabelFn: this.ariaLabelFn ?? options.ariaLabelFn,\n averageCenter: this._averageCenter ?? options.averageCenter,\n batchSize: this.batchSize ?? options.batchSize,\n batchSizeIE: this._batchSizeIE ?? options.batchSizeIE,\n calculator: this._calculator ?? options.calculator,\n clusterClass: this._clusterClass ?? options.clusterClass,\n enableRetinaIcons: this._enableRetinaIcons ?? options.enableRetinaIcons,\n gridSize: this._gridSize ?? options.gridSize,\n ignoreHidden: this._ignoreHidden ?? options.ignoreHidden,\n imageExtension: this._imageExtension ?? options.imageExtension,\n imagePath: this._imagePath ?? options.imagePath,\n imageSizes: this._imageSizes ?? options.imageSizes,\n maxZoom: this._maxZoom ?? options.maxZoom,\n minimumClusterSize: this._minimumClusterSize ?? options.minimumClusterSize,\n styles: this._styles ?? options.styles,\n title: this._title ?? options.title,\n zIndex: this._zIndex ?? options.zIndex,\n zoomOnClick: this._zoomOnClick ?? options.zoomOnClick,\n };\n }\n _watchForMarkerChanges() {\n this._assertInitialized();\n this._ngZone.runOutsideAngular(() => {\n this._getInternalMarkers(this._markers).then(markers => {\n const initialMarkers = [];\n for (const marker of markers) {\n this._currentMarkers.add(marker);\n initialMarkers.push(marker);\n }\n this.markerClusterer.addMarkers(initialMarkers);\n });\n });\n this._markers.changes\n .pipe(takeUntil(this._destroy))\n .subscribe((markerComponents) => {\n this._assertInitialized();\n this._ngZone.runOutsideAngular(() => {\n this._getInternalMarkers(markerComponents).then(markers => {\n const newMarkers = new Set(markers);\n const markersToAdd = [];\n const markersToRemove = [];\n for (const marker of Array.from(newMarkers)) {\n if (!this._currentMarkers.has(marker)) {\n this._currentMarkers.add(marker);\n markersToAdd.push(marker);\n }\n }\n for (const marker of Array.from(this._currentMarkers)) {\n if (!newMarkers.has(marker)) {\n markersToRemove.push(marker);\n }\n }\n this.markerClusterer.addMarkers(markersToAdd, true);\n this.markerClusterer.removeMarkers(markersToRemove, true);\n this.markerClusterer.repaint();\n for (const marker of markersToRemove) {\n this._currentMarkers.delete(marker);\n }\n });\n });\n });\n }\n _getInternalMarkers(markers) {\n return Promise.all(markers.map(markerComponent => markerComponent._resolveMarker()));\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.markerClusterer) {\n throw Error('Cannot interact with a MarkerClusterer before it has been initialized. ' +\n 'Please wait for the MarkerClusterer to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapMarkerClusterer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapMarkerClusterer, isStandalone: true, selector: \"map-marker-clusterer\", inputs: { ariaLabelFn: \"ariaLabelFn\", averageCenter: \"averageCenter\", batchSize: \"batchSize\", batchSizeIE: \"batchSizeIE\", calculator: \"calculator\", clusterClass: \"clusterClass\", enableRetinaIcons: \"enableRetinaIcons\", gridSize: \"gridSize\", ignoreHidden: \"ignoreHidden\", imageExtension: \"imageExtension\", imagePath: \"imagePath\", imageSizes: \"imageSizes\", maxZoom: \"maxZoom\", minimumClusterSize: \"minimumClusterSize\", styles: \"styles\", title: \"title\", zIndex: \"zIndex\", zoomOnClick: \"zoomOnClick\", options: \"options\" }, outputs: { clusteringbegin: \"clusteringbegin\", clusteringend: \"clusteringend\", clusterClick: \"clusterClick\", markerClustererInitialized: \"markerClustererInitialized\" }, queries: [{ propertyName: \"_markers\", predicate: MapMarker, descendants: true }], exportAs: [\"mapMarkerClusterer\"], usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapMarkerClusterer, decorators: [{\n type: Component,\n args: [{\n selector: 'map-marker-clusterer',\n exportAs: 'mapMarkerClusterer',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n template: '',\n encapsulation: ViewEncapsulation.None,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { ariaLabelFn: [{\n type: Input\n }], averageCenter: [{\n type: Input\n }], batchSize: [{\n type: Input\n }], batchSizeIE: [{\n type: Input\n }], calculator: [{\n type: Input\n }], clusterClass: [{\n type: Input\n }], enableRetinaIcons: [{\n type: Input\n }], gridSize: [{\n type: Input\n }], ignoreHidden: [{\n type: Input\n }], imageExtension: [{\n type: Input\n }], imagePath: [{\n type: Input\n }], imageSizes: [{\n type: Input\n }], maxZoom: [{\n type: Input\n }], minimumClusterSize: [{\n type: Input\n }], styles: [{\n type: Input\n }], title: [{\n type: Input\n }], zIndex: [{\n type: Input\n }], zoomOnClick: [{\n type: Input\n }], options: [{\n type: Input\n }], clusteringbegin: [{\n type: Output\n }], clusteringend: [{\n type: Output\n }], clusterClick: [{\n type: Output\n }], _markers: [{\n type: ContentChildren,\n args: [MapMarker, { descendants: true }]\n }], markerClustererInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Polygon via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon\n */\nclass MapPolygon {\n set options(options) {\n this._options.next(options || {});\n }\n set paths(paths) {\n this._paths.next(paths);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._paths = new BehaviorSubject(undefined);\n this._destroyed = new Subject();\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.click\n */\n this.polygonClick = this._eventManager.getLazyEmitter('click');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.dblclick\n */\n this.polygonDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.drag\n */\n this.polygonDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.dragend\n */\n this.polygonDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.dragstart\n */\n this.polygonDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.mousedown\n */\n this.polygonMousedown = this._eventManager.getLazyEmitter('mousedown');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.mousemove\n */\n this.polygonMousemove = this._eventManager.getLazyEmitter('mousemove');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.mouseout\n */\n this.polygonMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.mouseover\n */\n this.polygonMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.mouseup\n */\n this.polygonMouseup = this._eventManager.getLazyEmitter('mouseup');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.rightclick\n */\n this.polygonRightclick = this._eventManager.getLazyEmitter('rightclick');\n /** Event emitted when the polygon is initialized. */\n this.polygonInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n if (google.maps.Polygon && this._map.googleMap) {\n this._initialize(this._map.googleMap, google.maps.Polygon, options);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([this._map._resolveMap(), google.maps.importLibrary('maps')]).then(([map, lib]) => {\n this._initialize(map, lib.Polygon, options);\n });\n });\n }\n });\n }\n }\n _initialize(map, polygonConstructor, options) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.polygon = new polygonConstructor(options);\n this._assertInitialized();\n this.polygon.setMap(map);\n this._eventManager.setTarget(this.polygon);\n this.polygonInitialized.emit(this.polygon);\n this._watchForOptionsChanges();\n this._watchForPathChanges();\n });\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n this.polygon?.setMap(null);\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.getDraggable\n */\n getDraggable() {\n this._assertInitialized();\n return this.polygon.getDraggable();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.getEditable\n */\n getEditable() {\n this._assertInitialized();\n return this.polygon.getEditable();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.getPath\n */\n getPath() {\n this._assertInitialized();\n return this.polygon.getPath();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.getPaths\n */\n getPaths() {\n this._assertInitialized();\n return this.polygon.getPaths();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.getVisible\n */\n getVisible() {\n this._assertInitialized();\n return this.polygon.getVisible();\n }\n _combineOptions() {\n return combineLatest([this._options, this._paths]).pipe(map(([options, paths]) => {\n const combinedOptions = {\n ...options,\n paths: paths || options.paths,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {\n this._assertInitialized();\n this.polygon.setOptions(options);\n });\n }\n _watchForPathChanges() {\n this._paths.pipe(takeUntil(this._destroyed)).subscribe(paths => {\n if (paths) {\n this._assertInitialized();\n this.polygon.setPaths(paths);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.polygon) {\n throw Error('Cannot interact with a Google Map Polygon before it has been ' +\n 'initialized. Please wait for the Polygon to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapPolygon, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapPolygon, isStandalone: true, selector: \"map-polygon\", inputs: { options: \"options\", paths: \"paths\" }, outputs: { polygonClick: \"polygonClick\", polygonDblclick: \"polygonDblclick\", polygonDrag: \"polygonDrag\", polygonDragend: \"polygonDragend\", polygonDragstart: \"polygonDragstart\", polygonMousedown: \"polygonMousedown\", polygonMousemove: \"polygonMousemove\", polygonMouseout: \"polygonMouseout\", polygonMouseover: \"polygonMouseover\", polygonMouseup: \"polygonMouseup\", polygonRightclick: \"polygonRightclick\", polygonInitialized: \"polygonInitialized\" }, exportAs: [\"mapPolygon\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapPolygon, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-polygon',\n exportAs: 'mapPolygon',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { options: [{\n type: Input\n }], paths: [{\n type: Input\n }], polygonClick: [{\n type: Output\n }], polygonDblclick: [{\n type: Output\n }], polygonDrag: [{\n type: Output\n }], polygonDragend: [{\n type: Output\n }], polygonDragstart: [{\n type: Output\n }], polygonMousedown: [{\n type: Output\n }], polygonMousemove: [{\n type: Output\n }], polygonMouseout: [{\n type: Output\n }], polygonMouseover: [{\n type: Output\n }], polygonMouseup: [{\n type: Output\n }], polygonRightclick: [{\n type: Output\n }], polygonInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Polyline via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline\n */\nclass MapPolyline {\n set options(options) {\n this._options.next(options || {});\n }\n set path(path) {\n this._path.next(path);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._path = new BehaviorSubject(undefined);\n this._destroyed = new Subject();\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.click\n */\n this.polylineClick = this._eventManager.getLazyEmitter('click');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.dblclick\n */\n this.polylineDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.drag\n */\n this.polylineDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.dragend\n */\n this.polylineDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.dragstart\n */\n this.polylineDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.mousedown\n */\n this.polylineMousedown = this._eventManager.getLazyEmitter('mousedown');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.mousemove\n */\n this.polylineMousemove = this._eventManager.getLazyEmitter('mousemove');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.mouseout\n */\n this.polylineMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.mouseover\n */\n this.polylineMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.mouseup\n */\n this.polylineMouseup = this._eventManager.getLazyEmitter('mouseup');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.rightclick\n */\n this.polylineRightclick = this._eventManager.getLazyEmitter('rightclick');\n /** Event emitted when the polyline is initialized. */\n this.polylineInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n if (google.maps.Polyline && this._map.googleMap) {\n this._initialize(this._map.googleMap, google.maps.Polyline, options);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([this._map._resolveMap(), google.maps.importLibrary('maps')]).then(([map, lib]) => {\n this._initialize(map, lib.Polyline, options);\n });\n });\n }\n });\n }\n }\n _initialize(map, polylineConstructor, options) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.polyline = new polylineConstructor(options);\n this._assertInitialized();\n this.polyline.setMap(map);\n this._eventManager.setTarget(this.polyline);\n this.polylineInitialized.emit(this.polyline);\n this._watchForOptionsChanges();\n this._watchForPathChanges();\n });\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n this.polyline?.setMap(null);\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.getDraggable\n */\n getDraggable() {\n this._assertInitialized();\n return this.polyline.getDraggable();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.getEditable\n */\n getEditable() {\n this._assertInitialized();\n return this.polyline.getEditable();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.getPath\n */\n getPath() {\n this._assertInitialized();\n return this.polyline.getPath();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.getVisible\n */\n getVisible() {\n this._assertInitialized();\n return this.polyline.getVisible();\n }\n _combineOptions() {\n return combineLatest([this._options, this._path]).pipe(map(([options, path]) => {\n const combinedOptions = {\n ...options,\n path: path || options.path,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {\n this._assertInitialized();\n this.polyline.setOptions(options);\n });\n }\n _watchForPathChanges() {\n this._path.pipe(takeUntil(this._destroyed)).subscribe(path => {\n if (path) {\n this._assertInitialized();\n this.polyline.setPath(path);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.polyline) {\n throw Error('Cannot interact with a Google Map Polyline before it has been ' +\n 'initialized. Please wait for the Polyline to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapPolyline, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapPolyline, isStandalone: true, selector: \"map-polyline\", inputs: { options: \"options\", path: \"path\" }, outputs: { polylineClick: \"polylineClick\", polylineDblclick: \"polylineDblclick\", polylineDrag: \"polylineDrag\", polylineDragend: \"polylineDragend\", polylineDragstart: \"polylineDragstart\", polylineMousedown: \"polylineMousedown\", polylineMousemove: \"polylineMousemove\", polylineMouseout: \"polylineMouseout\", polylineMouseover: \"polylineMouseover\", polylineMouseup: \"polylineMouseup\", polylineRightclick: \"polylineRightclick\", polylineInitialized: \"polylineInitialized\" }, exportAs: [\"mapPolyline\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapPolyline, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-polyline',\n exportAs: 'mapPolyline',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { options: [{\n type: Input\n }], path: [{\n type: Input\n }], polylineClick: [{\n type: Output\n }], polylineDblclick: [{\n type: Output\n }], polylineDrag: [{\n type: Output\n }], polylineDragend: [{\n type: Output\n }], polylineDragstart: [{\n type: Output\n }], polylineMousedown: [{\n type: Output\n }], polylineMousemove: [{\n type: Output\n }], polylineMouseout: [{\n type: Output\n }], polylineMouseover: [{\n type: Output\n }], polylineMouseup: [{\n type: Output\n }], polylineRightclick: [{\n type: Output\n }], polylineInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Rectangle via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle\n */\nclass MapRectangle {\n set options(options) {\n this._options.next(options || {});\n }\n set bounds(bounds) {\n this._bounds.next(bounds);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._bounds = new BehaviorSubject(undefined);\n this._destroyed = new Subject();\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.boundsChanged\n */ this.boundsChanged = this._eventManager.getLazyEmitter('bounds_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.click\n */\n this.rectangleClick = this._eventManager.getLazyEmitter('click');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.dblclick\n */\n this.rectangleDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.drag\n */\n this.rectangleDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.dragend\n */\n this.rectangleDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.dragstart\n */\n this.rectangleDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.mousedown\n */\n this.rectangleMousedown = this._eventManager.getLazyEmitter('mousedown');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.mousemove\n */\n this.rectangleMousemove = this._eventManager.getLazyEmitter('mousemove');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.mouseout\n */\n this.rectangleMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.mouseover\n */\n this.rectangleMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.mouseup\n */\n this.rectangleMouseup = this._eventManager.getLazyEmitter('mouseup');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.rightclick\n */\n this.rectangleRightclick = this._eventManager.getLazyEmitter('rightclick');\n /** Event emitted when the rectangle is initialized. */\n this.rectangleInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n if (google.maps.Rectangle && this._map.googleMap) {\n this._initialize(this._map.googleMap, google.maps.Rectangle, options);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([this._map._resolveMap(), google.maps.importLibrary('maps')]).then(([map, lib]) => {\n this._initialize(map, lib.Rectangle, options);\n });\n });\n }\n });\n }\n }\n _initialize(map, rectangleConstructor, options) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.rectangle = new rectangleConstructor(options);\n this._assertInitialized();\n this.rectangle.setMap(map);\n this._eventManager.setTarget(this.rectangle);\n this.rectangleInitialized.emit(this.rectangle);\n this._watchForOptionsChanges();\n this._watchForBoundsChanges();\n });\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n this.rectangle?.setMap(null);\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.getBounds\n */\n getBounds() {\n this._assertInitialized();\n return this.rectangle.getBounds();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.getDraggable\n */\n getDraggable() {\n this._assertInitialized();\n return this.rectangle.getDraggable();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.getEditable\n */\n getEditable() {\n this._assertInitialized();\n return this.rectangle.getEditable();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.getVisible\n */\n getVisible() {\n this._assertInitialized();\n return this.rectangle.getVisible();\n }\n _combineOptions() {\n return combineLatest([this._options, this._bounds]).pipe(map(([options, bounds]) => {\n const combinedOptions = {\n ...options,\n bounds: bounds || options.bounds,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {\n this._assertInitialized();\n this.rectangle.setOptions(options);\n });\n }\n _watchForBoundsChanges() {\n this._bounds.pipe(takeUntil(this._destroyed)).subscribe(bounds => {\n if (bounds) {\n this._assertInitialized();\n this.rectangle.setBounds(bounds);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.rectangle) {\n throw Error('Cannot interact with a Google Map Rectangle before it has been initialized. ' +\n 'Please wait for the Rectangle to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapRectangle, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapRectangle, isStandalone: true, selector: \"map-rectangle\", inputs: { options: \"options\", bounds: \"bounds\" }, outputs: { boundsChanged: \"boundsChanged\", rectangleClick: \"rectangleClick\", rectangleDblclick: \"rectangleDblclick\", rectangleDrag: \"rectangleDrag\", rectangleDragend: \"rectangleDragend\", rectangleDragstart: \"rectangleDragstart\", rectangleMousedown: \"rectangleMousedown\", rectangleMousemove: \"rectangleMousemove\", rectangleMouseout: \"rectangleMouseout\", rectangleMouseover: \"rectangleMouseover\", rectangleMouseup: \"rectangleMouseup\", rectangleRightclick: \"rectangleRightclick\", rectangleInitialized: \"rectangleInitialized\" }, exportAs: [\"mapRectangle\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapRectangle, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-rectangle',\n exportAs: 'mapRectangle',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { options: [{\n type: Input\n }], bounds: [{\n type: Input\n }], boundsChanged: [{\n type: Output\n }], rectangleClick: [{\n type: Output\n }], rectangleDblclick: [{\n type: Output\n }], rectangleDrag: [{\n type: Output\n }], rectangleDragend: [{\n type: Output\n }], rectangleDragstart: [{\n type: Output\n }], rectangleMousedown: [{\n type: Output\n }], rectangleMousemove: [{\n type: Output\n }], rectangleMouseout: [{\n type: Output\n }], rectangleMouseover: [{\n type: Output\n }], rectangleMouseup: [{\n type: Output\n }], rectangleRightclick: [{\n type: Output\n }], rectangleInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Traffic Layer via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/map#TrafficLayer\n */\nclass MapTrafficLayer {\n /**\n * Whether the traffic layer refreshes with updated information automatically.\n */\n set autoRefresh(autoRefresh) {\n this._autoRefresh.next(autoRefresh);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._autoRefresh = new BehaviorSubject(true);\n this._destroyed = new Subject();\n /** Event emitted when the traffic layer is initialized. */\n this.trafficLayerInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n if (google.maps.TrafficLayer && this._map.googleMap) {\n this._initialize(this._map.googleMap, google.maps.TrafficLayer, options);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([this._map._resolveMap(), google.maps.importLibrary('maps')]).then(([map, lib]) => {\n this._initialize(map, lib.TrafficLayer, options);\n });\n });\n }\n });\n }\n }\n _initialize(map, layerConstructor, options) {\n this._ngZone.runOutsideAngular(() => {\n this.trafficLayer = new layerConstructor(options);\n this._assertInitialized();\n this.trafficLayer.setMap(map);\n this.trafficLayerInitialized.emit(this.trafficLayer);\n this._watchForAutoRefreshChanges();\n });\n }\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n this.trafficLayer?.setMap(null);\n }\n _combineOptions() {\n return this._autoRefresh.pipe(map(autoRefresh => {\n const combinedOptions = { autoRefresh };\n return combinedOptions;\n }));\n }\n _watchForAutoRefreshChanges() {\n this._combineOptions()\n .pipe(takeUntil(this._destroyed))\n .subscribe(options => {\n this._assertInitialized();\n this.trafficLayer.setOptions(options);\n });\n }\n _assertInitialized() {\n if (!this.trafficLayer) {\n throw Error('Cannot interact with a Google Map Traffic Layer before it has been initialized. ' +\n 'Please wait for the Traffic Layer to load before trying to interact with it.');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapTrafficLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapTrafficLayer, isStandalone: true, selector: \"map-traffic-layer\", inputs: { autoRefresh: \"autoRefresh\" }, outputs: { trafficLayerInitialized: \"trafficLayerInitialized\" }, exportAs: [\"mapTrafficLayer\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapTrafficLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-traffic-layer',\n exportAs: 'mapTrafficLayer',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { autoRefresh: [{\n type: Input\n }], trafficLayerInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Transit Layer via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/map#TransitLayer\n */\nclass MapTransitLayer {\n constructor() {\n this._map = inject(GoogleMap);\n this._zone = inject(NgZone);\n /** Event emitted when the transit layer is initialized. */\n this.transitLayerInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n if (google.maps.TransitLayer && this._map.googleMap) {\n this._initialize(this._map.googleMap, google.maps.TransitLayer);\n }\n else {\n this._zone.runOutsideAngular(() => {\n Promise.all([this._map._resolveMap(), google.maps.importLibrary('maps')]).then(([map, lib]) => {\n this._initialize(map, lib.TransitLayer);\n });\n });\n }\n }\n }\n _initialize(map, layerConstructor) {\n this._zone.runOutsideAngular(() => {\n this.transitLayer = new layerConstructor();\n this.transitLayerInitialized.emit(this.transitLayer);\n this._assertLayerInitialized();\n this.transitLayer.setMap(map);\n });\n }\n ngOnDestroy() {\n this.transitLayer?.setMap(null);\n }\n _assertLayerInitialized() {\n if (!this.transitLayer) {\n throw Error('Cannot interact with a Google Map Transit Layer before it has been initialized. ' +\n 'Please wait for the Transit Layer to load before trying to interact with it.');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapTransitLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapTransitLayer, isStandalone: true, selector: \"map-transit-layer\", outputs: { transitLayerInitialized: \"transitLayerInitialized\" }, exportAs: [\"mapTransitLayer\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapTransitLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-transit-layer',\n exportAs: 'mapTransitLayer',\n standalone: true,\n }]\n }], propDecorators: { transitLayerInitialized: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular directive that renders a Google Maps heatmap via the Google Maps JavaScript API.\n *\n * See: https://developers.google.com/maps/documentation/javascript/reference/visualization\n */\nclass MapHeatmapLayer {\n /**\n * Data shown on the heatmap.\n * See: https://developers.google.com/maps/documentation/javascript/reference/visualization\n */\n set data(data) {\n this._data = data;\n }\n /**\n * Options used to configure the heatmap. See:\n * developers.google.com/maps/documentation/javascript/reference/visualization#HeatmapLayerOptions\n */\n set options(options) {\n this._options = options;\n }\n constructor(_googleMap, _ngZone) {\n this._googleMap = _googleMap;\n this._ngZone = _ngZone;\n /** Event emitted when the heatmap is initialized. */\n this.heatmapInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (this._googleMap._isBrowser) {\n if (!window.google?.maps?.visualization &&\n !window.google?.maps.importLibrary &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Namespace `google.maps.visualization` not found, cannot construct heatmap. ' +\n 'Please install the Google Maps JavaScript API with the \"visualization\" library: ' +\n 'https://developers.google.com/maps/documentation/javascript/visualization');\n }\n if (google.maps.visualization?.HeatmapLayer && this._googleMap.googleMap) {\n this._initialize(this._googleMap.googleMap, google.maps.visualization.HeatmapLayer);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([\n this._googleMap._resolveMap(),\n google.maps.importLibrary('visualization'),\n ]).then(([map, lib]) => {\n this._initialize(map, lib.HeatmapLayer);\n });\n });\n }\n }\n }\n _initialize(map, heatmapConstructor) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.heatmap = new heatmapConstructor(this._combineOptions());\n this._assertInitialized();\n this.heatmap.setMap(map);\n this.heatmapInitialized.emit(this.heatmap);\n });\n }\n ngOnChanges(changes) {\n const { _data, heatmap } = this;\n if (heatmap) {\n if (changes['options']) {\n heatmap.setOptions(this._combineOptions());\n }\n if (changes['data'] && _data !== undefined) {\n heatmap.setData(this._normalizeData(_data));\n }\n }\n }\n ngOnDestroy() {\n this.heatmap?.setMap(null);\n }\n /**\n * Gets the data that is currently shown on the heatmap.\n * See: developers.google.com/maps/documentation/javascript/reference/visualization#HeatmapLayer\n */\n getData() {\n this._assertInitialized();\n return this.heatmap.getData();\n }\n /** Creates a combined options object using the passed-in options and the individual inputs. */\n _combineOptions() {\n const options = this._options || {};\n return {\n ...options,\n data: this._normalizeData(this._data || options.data || []),\n map: this._googleMap.googleMap,\n };\n }\n /**\n * Most Google Maps APIs support both `LatLng` objects and `LatLngLiteral`. The latter is more\n * convenient to write out, because the Google Maps API doesn't have to have been loaded in order\n * to construct them. The `HeatmapLayer` appears to be an exception that only allows a `LatLng`\n * object, or it throws a runtime error. Since it's more convenient and we expect that Angular\n * users will load the API asynchronously, we allow them to pass in a `LatLngLiteral` and we\n * convert it to a `LatLng` object before passing it off to Google Maps.\n */\n _normalizeData(data) {\n const result = [];\n data.forEach(item => {\n result.push(isLatLngLiteral(item) ? new google.maps.LatLng(item.lat, item.lng) : item);\n });\n return result;\n }\n /** Asserts that the heatmap object has been initialized. */\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.heatmap) {\n throw Error('Cannot interact with a Google Map HeatmapLayer before it has been ' +\n 'initialized. Please wait for the heatmap to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapHeatmapLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapHeatmapLayer, isStandalone: true, selector: \"map-heatmap-layer\", inputs: { data: \"data\", options: \"options\" }, outputs: { heatmapInitialized: \"heatmapInitialized\" }, exportAs: [\"mapHeatmapLayer\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapHeatmapLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-heatmap-layer',\n exportAs: 'mapHeatmapLayer',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { data: [{\n type: Input\n }], options: [{\n type: Input\n }], heatmapInitialized: [{\n type: Output\n }] } });\n/** Asserts that an object is a `LatLngLiteral`. */\nfunction isLatLngLiteral(value) {\n return value && typeof value.lat === 'number' && typeof value.lng === 'number';\n}\n\n/// \n/**\n * Default options for the Google Maps marker component. Displays a marker\n * at the Googleplex.\n */\nconst DEFAULT_MARKER_OPTIONS = {\n position: { lat: 37.221995, lng: -122.184092 },\n};\n/**\n * Angular component that renders a Google Maps marker via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/marker\n */\nclass MapAdvancedMarker {\n /**\n * Rollover text. If provided, an accessibility text (e.g. for use with screen readers) will be added to the AdvancedMarkerElement with the provided value.\n * See: https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElementOptions.title\n */\n set title(title) {\n this._title = title;\n }\n /**\n * Sets the AdvancedMarkerElement's position. An AdvancedMarkerElement may be constructed without a position, but will not be displayed until its position is provided - for example, by a user's actions or choices. An AdvancedMarkerElement's position can be provided by setting AdvancedMarkerElement.position if not provided at the construction.\n * Note: AdvancedMarkerElement with altitude is only supported on vector maps.\n * https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElementOptions.position\n */\n set position(position) {\n this._position = position;\n }\n /**\n * The DOM Element backing the visual of an AdvancedMarkerElement.\n * Note: AdvancedMarkerElement does not clone the passed-in DOM element. Once the DOM element is passed to an AdvancedMarkerElement, passing the same DOM element to another AdvancedMarkerElement will move the DOM element and cause the previous AdvancedMarkerElement to look empty.\n * See: https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElementOptions.content\n */\n set content(content) {\n this._content = content;\n }\n /**\n * If true, the AdvancedMarkerElement can be dragged.\n * Note: AdvancedMarkerElement with altitude is not draggable.\n * https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElementOptions.gmpDraggable\n */\n set gmpDraggable(draggable) {\n this._draggable = draggable;\n }\n /**\n * Options for constructing an AdvancedMarkerElement.\n * https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElementOptions\n */\n set options(options) {\n this._options = options;\n }\n /**\n * AdvancedMarkerElements on the map are prioritized by zIndex, with higher values indicating higher display.\n * https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElementOptions.zIndex\n */\n set zIndex(zIndex) {\n this._zIndex = zIndex;\n }\n constructor(_googleMap, _ngZone) {\n this._googleMap = _googleMap;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n /**\n * This event is fired when the AdvancedMarkerElement element is clicked.\n * https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElement.click\n */\n this.mapClick = this._eventManager.getLazyEmitter('click');\n /**\n * This event is repeatedly fired while the user drags the AdvancedMarkerElement.\n * https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElement.drag\n */\n this.mapDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * This event is fired when the user stops dragging the AdvancedMarkerElement.\n * https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElement.dragend\n */\n this.mapDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * This event is fired when the user starts dragging the AdvancedMarkerElement.\n * https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElement.dragstart\n */\n this.mapDragstart = this._eventManager.getLazyEmitter('dragstart');\n /** Event emitted when the marker is initialized. */\n this.markerInitialized = new EventEmitter();\n }\n ngOnInit() {\n if (!this._googleMap._isBrowser) {\n return;\n }\n if (google.maps.marker?.AdvancedMarkerElement && this._googleMap.googleMap) {\n this._initialize(this._googleMap.googleMap, google.maps.marker.AdvancedMarkerElement);\n }\n else {\n this._ngZone.runOutsideAngular(() => {\n Promise.all([this._googleMap._resolveMap(), google.maps.importLibrary('marker')]).then(([map, lib]) => {\n this._initialize(map, lib.AdvancedMarkerElement);\n });\n });\n }\n }\n _initialize(map, advancedMarkerConstructor) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.advancedMarker = new advancedMarkerConstructor(this._combineOptions());\n this._assertInitialized();\n this.advancedMarker.map = map;\n this._eventManager.setTarget(this.advancedMarker);\n this.markerInitialized.next(this.advancedMarker);\n });\n }\n ngOnChanges(changes) {\n const { advancedMarker, _content, _position, _title, _draggable, _zIndex } = this;\n if (advancedMarker) {\n if (changes['title']) {\n advancedMarker.title = _title;\n }\n if (changes['content']) {\n advancedMarker.content = _content;\n }\n if (changes['gmpDraggable']) {\n advancedMarker.gmpDraggable = _draggable;\n }\n if (changes['content']) {\n advancedMarker.content = _content;\n }\n if (changes['position']) {\n advancedMarker.position = _position;\n }\n if (changes['zIndex']) {\n advancedMarker.zIndex = _zIndex;\n }\n }\n }\n ngOnDestroy() {\n this.markerInitialized.complete();\n this._eventManager.destroy();\n if (this.advancedMarker) {\n this.advancedMarker.map = null;\n }\n }\n getAnchor() {\n this._assertInitialized();\n return this.advancedMarker;\n }\n /** Creates a combined options object using the passed-in options and the individual inputs. */\n _combineOptions() {\n const options = this._options || DEFAULT_MARKER_OPTIONS;\n return {\n ...options,\n title: this._title || options.title,\n position: this._position || options.position,\n content: this._content || options.content,\n zIndex: this._zIndex ?? options.zIndex,\n gmpDraggable: this._draggable ?? options.gmpDraggable,\n map: this._googleMap.googleMap,\n };\n }\n /** Asserts that the map has been initialized. */\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this.advancedMarker) {\n throw Error('Cannot interact with a Google Map Marker before it has been ' +\n 'initialized. Please wait for the Marker to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapAdvancedMarker, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.2.0\", type: MapAdvancedMarker, isStandalone: true, selector: \"map-advanced-marker\", inputs: { title: \"title\", position: \"position\", content: \"content\", gmpDraggable: \"gmpDraggable\", options: \"options\", zIndex: \"zIndex\" }, outputs: { mapClick: \"mapClick\", mapDrag: \"mapDrag\", mapDragend: \"mapDragend\", mapDragstart: \"mapDragstart\", markerInitialized: \"markerInitialized\" }, exportAs: [\"mapAdvancedMarker\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapAdvancedMarker, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-advanced-marker',\n exportAs: 'mapAdvancedMarker',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { title: [{\n type: Input\n }], position: [{\n type: Input\n }], content: [{\n type: Input\n }], gmpDraggable: [{\n type: Input\n }], options: [{\n type: Input\n }], zIndex: [{\n type: Input\n }], mapClick: [{\n type: Output\n }], mapDrag: [{\n type: Output\n }], mapDragend: [{\n type: Output\n }], mapDragstart: [{\n type: Output\n }], markerInitialized: [{\n type: Output\n }] } });\n\nconst COMPONENTS = [\n GoogleMap,\n MapBaseLayer,\n MapBicyclingLayer,\n MapCircle,\n MapDirectionsRenderer,\n MapGroundOverlay,\n MapHeatmapLayer,\n MapInfoWindow,\n MapKmlLayer,\n MapMarker,\n MapAdvancedMarker,\n MapMarkerClusterer,\n MapPolygon,\n MapPolyline,\n MapRectangle,\n MapTrafficLayer,\n MapTransitLayer,\n];\nclass GoogleMapsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: GoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.0\", ngImport: i0, type: GoogleMapsModule, imports: [GoogleMap,\n MapBaseLayer,\n MapBicyclingLayer,\n MapCircle,\n MapDirectionsRenderer,\n MapGroundOverlay,\n MapHeatmapLayer,\n MapInfoWindow,\n MapKmlLayer,\n MapMarker,\n MapAdvancedMarker,\n MapMarkerClusterer,\n MapPolygon,\n MapPolyline,\n MapRectangle,\n MapTrafficLayer,\n MapTransitLayer], exports: [GoogleMap,\n MapBaseLayer,\n MapBicyclingLayer,\n MapCircle,\n MapDirectionsRenderer,\n MapGroundOverlay,\n MapHeatmapLayer,\n MapInfoWindow,\n MapKmlLayer,\n MapMarker,\n MapAdvancedMarker,\n MapMarkerClusterer,\n MapPolygon,\n MapPolyline,\n MapRectangle,\n MapTrafficLayer,\n MapTransitLayer] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: GoogleMapsModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: GoogleMapsModule, decorators: [{\n type: NgModule,\n args: [{\n imports: COMPONENTS,\n exports: COMPONENTS,\n }]\n }] });\n\n/// \n/**\n * Angular service that wraps the Google Maps DirectionsService from the Google Maps JavaScript\n * API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/directions#DirectionsService\n */\nclass MapDirectionsService {\n constructor(_ngZone) {\n this._ngZone = _ngZone;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsService.route\n */\n route(request) {\n return new Observable(observer => {\n this._getService().then(service => {\n service.route(request, (result, status) => {\n this._ngZone.run(() => {\n observer.next({ result: result || undefined, status });\n observer.complete();\n });\n });\n });\n });\n }\n _getService() {\n if (!this._directionsService) {\n if (google.maps.DirectionsService) {\n this._directionsService = new google.maps.DirectionsService();\n }\n else {\n return google.maps.importLibrary('routes').then(lib => {\n this._directionsService = new lib.DirectionsService();\n return this._directionsService;\n });\n }\n }\n return Promise.resolve(this._directionsService);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapDirectionsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapDirectionsService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapDirectionsService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: i0.NgZone }] });\n\n/// \n/**\n * Angular service that wraps the Google Maps Geocoder from the Google Maps JavaScript API.\n * See developers.google.com/maps/documentation/javascript/reference/geocoder#Geocoder\n */\nclass MapGeocoder {\n constructor(_ngZone) {\n this._ngZone = _ngZone;\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/geocoder#Geocoder.geocode\n */\n geocode(request) {\n return new Observable(observer => {\n this._getGeocoder().then(geocoder => {\n geocoder.geocode(request, (results, status) => {\n this._ngZone.run(() => {\n observer.next({ results: results || [], status });\n observer.complete();\n });\n });\n });\n });\n }\n _getGeocoder() {\n if (!this._geocoder) {\n if (google.maps.Geocoder) {\n this._geocoder = new google.maps.Geocoder();\n }\n else {\n return google.maps.importLibrary('geocoding').then(lib => {\n this._geocoder = new lib.Geocoder();\n return this._geocoder;\n });\n }\n }\n return Promise.resolve(this._geocoder);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapGeocoder, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapGeocoder, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.0\", ngImport: i0, type: MapGeocoder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: i0.NgZone }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { GoogleMap, GoogleMapsModule, MapAdvancedMarker, MapBaseLayer, MapBicyclingLayer, MapCircle, MapDirectionsRenderer, MapDirectionsService, MapEventManager, MapGeocoder, MapGroundOverlay, MapHeatmapLayer, MapInfoWindow, MapKmlLayer, MapMarker, MapMarkerClusterer, MapPolygon, MapPolyline, MapRectangle, MapTrafficLayer, MapTransitLayer };\n","\r\n \r\n \r\n \r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n {{ mapInfo?.title }}\r\n
\r\n
\r\n {{ mapInfo?.address }}\r\n
\r\n
\r\n {{ mapInfo?.description }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output, QueryList, ViewChild, ViewChildren } from '@angular/core';\r\nimport { MapInfoWindow, MapMarker } from '@angular/google-maps';\r\nimport { CompanyOfferModel, Department, DepartmentQuery, DepartmentService } from '@fgb/core';\r\nimport { DeviceDetectorService } from 'ngx-device-detector';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-offers-map',\r\n templateUrl: './offers-map.component.html',\r\n styleUrls: ['./offers-map.component.scss'],\r\n})\r\nexport class OffersMapComponent implements OnInit {\r\n @Input() offers: CompanyOfferModel[];\r\n @Output() selectedDepartmentID = new EventEmitter();\r\n\r\n @ViewChild(MapInfoWindow, { static: false }) infoWindow: MapInfoWindow;\r\n @ViewChildren(MapMarker) mapMarkersEl: QueryList;\r\n\r\n mapOptions: google.maps.MapOptions;\r\n mapCenter: any;\r\n mapZoom: any;\r\n mapHeight: string;\r\n customMarkers: any;\r\n mapInfo: any = {};\r\n\r\n constructor(\r\n private departmentQuery: DepartmentQuery,\r\n private departmentService: DepartmentService,\r\n private deviceDetectorService: DeviceDetectorService\r\n ) {}\r\n\r\n ngOnInit(): void {\r\n this.prepareMap();\r\n }\r\n\r\n /** Centers the map on browser's location, sets map options and creates markers */\r\n private prepareMap(): void {\r\n navigator.geolocation.getCurrentPosition((position) => {\r\n this.mapCenter = {\r\n lat: position.coords.latitude,\r\n lng: position.coords.longitude,\r\n };\r\n });\r\n\r\n this.mapZoom = 11;\r\n this.mapHeight = this.deviceDetectorService.isMobile() ? '460px' : '670px';\r\n\r\n this.mapOptions = {\r\n mapTypeId: 'roadmap',\r\n zoomControl: true,\r\n scrollwheel: true,\r\n disableDoubleClickZoom: true,\r\n maxZoom: 15,\r\n minZoom: 8,\r\n };\r\n\r\n this.updateMarkers(this.offers);\r\n }\r\n\r\n /** Updates the markers shown on the map from the offers list\r\n * @param offer company offers to make the markers from\r\n */\r\n updateMarkers(offers: CompanyOfferModel[]): void {\r\n this.customMarkers = [];\r\n\r\n for (const offer of offers) {\r\n this.getDepartmentFromOffer(offer).then((dpt) => {\r\n if (dpt && dpt.Latitude && dpt.Longitude) {\r\n const alreadyPinned = this.customMarkers.some((marker: any) => marker.departmentID == dpt.DepartmentId);\r\n if (!alreadyPinned) {\r\n this.customMarkers.push({\r\n position: {\r\n lat: dpt.Latitude,\r\n lng: dpt.Longitude,\r\n },\r\n title: dpt.DisplayName,\r\n options: { animation: google.maps.Animation.DROP },\r\n departmentID: offer.DepartmentId,\r\n });\r\n }\r\n }\r\n });\r\n }\r\n }\r\n\r\n /** Zooms in the map within mapOptions range */\r\n zoomIn(): void {\r\n if (!this.mapOptions.maxZoom || this.mapZoom < this.mapOptions.maxZoom) this.mapZoom++;\r\n }\r\n\r\n /** Zooms out the map within mapOptions range */\r\n zoomOut(): void {\r\n if (!this.mapOptions.minZoom || this.mapZoom > this.mapOptions.minZoom) this.mapZoom--;\r\n }\r\n\r\n /** Centers the map on the selected offer's marker\r\n * @param offer company offer to center the map on\r\n */\r\n centerMap(offer: CompanyOfferModel): void {\r\n this.getDepartmentFromOffer(offer).then((dpt) => {\r\n if (dpt && dpt.Latitude && dpt.Longitude) {\r\n this.mapCenter = {\r\n lat: dpt.Latitude,\r\n lng: dpt.Longitude,\r\n };\r\n }\r\n });\r\n }\r\n\r\n /** Opens the info window from a specific marker\r\n * @param marker google maps marker to be used as anchor for the info window\r\n * @param departmentID department ID to get the info data from\r\n * @param emitSelection (optional) emit the selected department ID, to highlight the corresponding offers from the list\r\n */\r\n showMarkerDetails(marker: MapMarker, departmentID: number, emitSelection?: boolean): void {\r\n const dpt = this.departmentQuery.getDepartment(departmentID);\r\n this.mapInfo.title = dpt?.DisplayName;\r\n this.mapInfo.description = dpt?.Description;\r\n this.mapInfo.address = dpt?.Location;\r\n this.mapInfo.image = dpt?.ImageUrl;\r\n\r\n if (emitSelection) this.emitSelectedDepartmentID(departmentID);\r\n this.openInfoWindow(marker);\r\n }\r\n\r\n /** Emit the selected department ID, to highlight the corresponding offers from the list\r\n * @param departmentID (optional) department ID to be highlighted, undefined if none\r\n */\r\n emitSelectedDepartmentID(departmentID?: number): void {\r\n this.selectedDepartmentID.emit(departmentID);\r\n }\r\n\r\n /** Opens the info window corresponding to the selected marker\r\n * @param offer offer from which we want to display the marker's data\r\n */\r\n selectMarker(offer: CompanyOfferModel): void {\r\n this.closeInfoWindow();\r\n\r\n const marker = this.findMapMarker(offer.DepartmentId);\r\n if (marker) {\r\n this.centerMap(offer);\r\n this.showMarkerDetails(marker, offer.DepartmentId);\r\n }\r\n }\r\n\r\n /** Opens the info window\r\n * @param marker google maps marker to be used as anchor for the info window\r\n */\r\n private openInfoWindow(marker: MapMarker): void {\r\n this.infoWindow.open(marker);\r\n }\r\n\r\n /** Closes the info window and resets the department selection */\r\n private closeInfoWindow(): void {\r\n this.infoWindow.close();\r\n this.emitSelectedDepartmentID();\r\n }\r\n\r\n /** Fetches the departments data from the offer Company ID\r\n * @param offer offer from which we need to fetch the departments\r\n * @returns the promise of a Department or undefined, from the offer department ID\r\n */\r\n private async getDepartmentFromOffer(offer: CompanyOfferModel): Promise {\r\n await firstValueFrom(this.departmentService.fetchDepartments(offer.CompanyId));\r\n return this.departmentQuery.getDepartment(offer.DepartmentId);\r\n }\r\n\r\n /** Looks for the map marker within the google map pins\r\n * @param departmentId ID of the department that should be found within the markers\r\n * @returns the google map pin used as anchor to display the info window\r\n */\r\n private findMapMarker(departmentId: number) {\r\n const markersList: any[] = this.mapMarkersEl.toArray();\r\n const selectedCustomMarker = this.customMarkers.find((m: any) => m.departmentID === departmentId);\r\n if (selectedCustomMarker) {\r\n return markersList.find((m) => m.marker.title == selectedCustomMarker.title);\r\n } else {\r\n return undefined;\r\n }\r\n }\r\n}\r\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport * as i2 from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport * as i3 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass OfferSearchBarComponent {\n constructor(companyQuery) {\n this.companyQuery = companyQuery;\n this.searchResultArray = new EventEmitter();\n }\n ngOnInit() { }\n search() {\n const companies = this.companyQuery.getAll();\n if (!this.searchText) {\n this.searchResultArray.emit(this.arrayToFilter);\n return;\n }\n const filteredCompanyIds = companies\n .filter((c) => c.DisplayName.toLocaleLowerCase().includes(this.searchText.toLocaleLowerCase().trim()))\n .map((o) => o.CompanyId);\n const filteredOffers = this.arrayToFilter.filter((o) => filteredCompanyIds.includes(o.CompanyId));\n this.searchResultArray.emit(filteredOffers);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: OfferSearchBarComponent, deps: [{ token: i1.CompanyQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: OfferSearchBarComponent, selector: \"fgbcl-offer-search-bar\", inputs: { arrayToFilter: \"arrayToFilter\" }, outputs: { searchResultArray: \"searchResultArray\" }, ngImport: i0, template: \"
\\r\\n \\r\\n \\r\\n search\\r\\n \\r\\n
\\r\\n\", styles: [\"button{margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}\\n\"], dependencies: [{ kind: \"directive\", type: i2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"pipe\", type: i3.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: OfferSearchBarComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-offer-search-bar', template: \"
\\r\\n \\r\\n \\r\\n search\\r\\n \\r\\n
\\r\\n\", styles: [\"button{margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.CompanyQuery }], propDecorators: { arrayToFilter: [{\n type: Input\n }], searchResultArray: [{\n type: Output\n }] } });\n\nclass OfferSearchBarModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: OfferSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: OfferSearchBarModule, declarations: [OfferSearchBarComponent], imports: [CommonModule,\n FormsModule,\n FGBSharedModule], exports: [OfferSearchBarComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: OfferSearchBarModule, imports: [CommonModule,\n FormsModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: OfferSearchBarModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [OfferSearchBarComponent],\n imports: [\n CommonModule,\n FormsModule,\n FGBSharedModule\n ],\n exports: [OfferSearchBarComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { OfferSearchBarComponent, OfferSearchBarModule };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2 from 'ng-inline-svg-2';\nimport { InlineSVGModule } from 'ng-inline-svg-2';\nimport * as i3 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\n\nclass FilterByComponent {\n constructor() {\n this.filteredArray = new EventEmitter();\n }\n ngOnInit() { }\n /*\n Filter the array by property or sub-property if defined.\n */\n filterByProperty(value) {\n this.selectedOption = value;\n let newArray;\n if (this.filterOptions.subPropertyToFilter) {\n newArray = this.filterByNestedProperty(value);\n }\n else {\n newArray = this.arrayToFilter.filter((item) => item[this.filterOptions.propertyToFilter].toLowerCase() == value.toLowerCase());\n }\n this.filteredArray.emit(newArray);\n }\n /*\n Filter the array by sub-property from property object. Returns false if the expected property object is empty.\n */\n filterByNestedProperty(value) {\n return this.arrayToFilter.filter((properties) => {\n if (properties[this.filterOptions.propertyToFilter]) {\n return properties[this.filterOptions.propertyToFilter].find((child) => child[this.filterOptions.subPropertyToFilter].toLowerCase() == value.toLowerCase());\n }\n else {\n return false;\n }\n });\n }\n /*\n Resets the filter to the original array\n */\n resetFilter() {\n this.selectedOption = undefined;\n this.filteredArray.emit(this.arrayToFilter);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FilterByComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: FilterByComponent, selector: \"fgbcl-filter-by\", inputs: { arrayToFilter: \"arrayToFilter\", filterOptions: \"filterOptions\" }, outputs: { filteredArray: \"filteredArray\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n All\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ option }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.InlineSVGDirective, selector: \"[inlineSVG]\", inputs: [\"inlineSVG\", \"resolveSVGUrl\", \"replaceContents\", \"prepend\", \"injectComponent\", \"cacheSVG\", \"setSVGAttributes\", \"removeSVGAttributes\", \"forceEvalStyles\", \"evalScripts\", \"fallbackImgUrl\", \"fallbackSVG\", \"onSVGLoaded\"], outputs: [\"onSVGInserted\", \"onSVGFailed\"] }, { kind: \"directive\", type: i3.NgbDropdown, selector: \"[ngbDropdown]\", inputs: [\"autoClose\", \"dropdownClass\", \"open\", \"placement\", \"popperOptions\", \"container\", \"display\"], outputs: [\"openChange\"], exportAs: [\"ngbDropdown\"] }, { kind: \"directive\", type: i3.NgbDropdownToggle, selector: \"[ngbDropdownToggle]\" }, { kind: \"directive\", type: i3.NgbDropdownMenu, selector: \"[ngbDropdownMenu]\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FilterByComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-filter-by', template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n All\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ option }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { arrayToFilter: [{\n type: Input\n }], filterOptions: [{\n type: Input\n }], filteredArray: [{\n type: Output\n }] } });\n\nclass FilterByModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FilterByModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: FilterByModule, declarations: [FilterByComponent], imports: [CommonModule, InlineSVGModule, NgbModule], exports: [FilterByComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FilterByModule, imports: [CommonModule, InlineSVGModule, NgbModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FilterByModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [FilterByComponent],\n imports: [CommonModule, InlineSVGModule, NgbModule],\n exports: [FilterByComponent],\n }]\n }] });\n\nconst filterByOptionMock = {\n propertyToFilter: 'category',\n options: ['Beauty', 'Food & Drink', 'Grocery', 'General', 'Travel'],\n};\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { FilterByComponent, FilterByModule, filterByOptionMock };\n","
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
{{ 'offers.viewbar.title' | translate }}
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n

{{ 'offers.viewbar.title' | translate }}

\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { CompanyOfferModel, CompanyOfferService, ClubCategoryTag } from '@fgb/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { FilterByOption } from '@fgb/portal-component-library/src/lib/shared/filter-by';\r\nimport { tap } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-offers-toolbar',\r\n templateUrl: './offers-toolbar.component.html',\r\n styleUrls: ['./offers-toolbar.component.scss'],\r\n})\r\nexport class OffersToolbarComponent implements OnInit {\r\n view: 'grid' | 'map' = 'grid';\r\n screenType = ScreenType;\r\n @Input() offers: CompanyOfferModel[];\r\n @Output() viewChange = new EventEmitter<'grid' | 'map'>();\r\n @Output() filteredArray = new EventEmitter();\r\n\r\n filterOptions: FilterByOption;\r\n searchResults: CompanyOfferModel[];\r\n filterResults: CompanyOfferModel[];\r\n\r\n constructor(private companyOfferService: CompanyOfferService) {}\r\n\r\n ngOnInit(): void {\r\n this.searchResults = this.offers;\r\n this.filterResults = this.offers;\r\n this.companyOfferService\r\n .fetchOfferCategories()\r\n .pipe(\r\n tap((categories: ClubCategoryTag[]) => {\r\n this.filterOptions = {\r\n propertyToFilter: 'CategoryTags',\r\n subPropertyToFilter: 'CategoryName',\r\n options: categories.map((category) => category.CategoryName),\r\n };\r\n })\r\n )\r\n .subscribe();\r\n }\r\n\r\n /** Emits the view selected according to the tab clicked upon\r\n * @param selectedView may be either grid or map view\r\n */\r\n changeView(selectedView: 'grid' | 'map'): void {\r\n this.view = selectedView;\r\n this.viewChange.emit(selectedView);\r\n }\r\n\r\n /** Filters the filtered results received from the filterBy component\r\n * @param newArray array of company offers\r\n */\r\n filterArray(newArray: CompanyOfferModel[]): void {\r\n this.filterResults = newArray;\r\n this.emitCombinedArray();\r\n }\r\n\r\n /** Filters the searched results received from the SortBy component\r\n * @param newArray array of company offers\r\n */\r\n searchResult(newArray: CompanyOfferModel[]): void {\r\n this.searchResults = newArray;\r\n this.emitCombinedArray();\r\n }\r\n\r\n /** Emits array intersection of searched and filtered results */\r\n emitCombinedArray(): void {\r\n const combinedResults = this.filterResults.filter((value) => this.searchResults.indexOf(value) != -1);\r\n this.filteredArray.emit(combinedResults);\r\n }\r\n}\r\n","
\r\n \r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
= 9\">\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
manage_search
\r\n
{{ 'no.offers.found' | translate }}
\r\n
{{ 'no.offers.suggestion' | translate }}
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { CompanyOfferModel, CompanyOfferQuery } from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\n\r\nimport { tap } from 'rxjs/operators';\r\nimport { OffersMapComponent } from '../offers-map/offers-map.component';\r\n\r\n@Component({\r\n selector: 'fgb-offers-list',\r\n templateUrl: './offers-list.component.html',\r\n styleUrls: ['./offers-list.component.scss'],\r\n})\r\nexport class OffersListComponent implements OnInit {\r\n @Input() isList: boolean;\r\n @Input() pageSize = 9;\r\n @Input() pageNumber = 1;\r\n @Output() navigateToOffer = new EventEmitter();\r\n @ViewChild(OffersMapComponent, { static: false }) map: OffersMapComponent;\r\n\r\n offersList$: Observable;\r\n filteredOffers: CompanyOfferModel[];\r\n allShown: boolean;\r\n view: 'map' | 'grid' = 'grid';\r\n selectedDepartmentID: number | undefined;\r\n selectedOfferID: number | undefined;\r\n\r\n constructor(private companyOfferQuery: CompanyOfferQuery) {}\r\n\r\n ngOnInit() {\r\n this.showFirstPage();\r\n }\r\n\r\n showFirstPage() {\r\n this.allShown = false;\r\n this.offersList$ = this.companyOfferQuery.selectAllOffers().pipe(tap((offers) => this.updateFilteredOffers(offers, false)));\r\n }\r\n\r\n showAll() {\r\n this.allShown = true;\r\n this.offersList$ = this.companyOfferQuery.selectAllOffers().pipe(tap((offers) => this.updateFilteredOffers(offers, false)));\r\n }\r\n\r\n updateFilteredOffers(offers: CompanyOfferModel[], updateMap: boolean) {\r\n this.allShown ? (this.filteredOffers = offers) : (this.filteredOffers = offers.slice(0, this.pageSize));\r\n this.selectedDepartmentID = undefined;\r\n if (this.map && updateMap) {\r\n this.map.updateMarkers(offers);\r\n this.map.centerMap(offers[0]);\r\n }\r\n }\r\n\r\n navigatedToOffer(offerId: number) {\r\n this.navigateToOffer.emit(offerId);\r\n }\r\n\r\n selectOffer(offer: CompanyOfferModel): void {\r\n this.selectedOfferID = offer.OfferId;\r\n this.map.selectMarker(offer);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-offer-earn-tab',\r\n templateUrl: './offer-earn-tab.component.html',\r\n styleUrls: ['./offer-earn-tab.component.scss'],\r\n})\r\nexport class OfferEarnTabComponent implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","
\r\n
\r\n

{{ 'offers.earn.tab.title' | translate }}

\r\n
\r\n \r\n
\r\n
\r\n
1
\r\n
ads_click
\r\n
\r\n
{{ 'offers.earn.tab.step.one' | translate }}
\r\n
\r\n \r\n
\r\n
\r\n
2
\r\n
shopping_cart
\r\n
\r\n
{{ 'offers.earn.tab.step.two' | translate }}
\r\n
\r\n \r\n
\r\n
\r\n
3
\r\n
emoji_events
\r\n
\r\n
{{ 'offers.earn.tab.step.three' | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { CompanyOfferModel } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-partners-list-item',\r\n templateUrl: './partners-list-item.component.html',\r\n styleUrls: ['./partners-list-item.component.scss'],\r\n})\r\nexport class PartnersListItemComponent implements OnInit {\r\n @Input() partner: CompanyOfferModel;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","\r\n","
\r\n

{{ 'offers.page.title' | translate }}

\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n

{{ 'featured.offers.title' | translate }}

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n

{{ 'featured.brands.title' | translate }}

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport {\r\n Company,\r\n CompanyOfferService,\r\n CompanyOfferModel,\r\n CompanyOfferQuery,\r\n CompanyQuery,\r\n CompanyService,\r\n} from '@fgb/core';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { take, tap } from 'rxjs/operators';\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\n\r\n@Component({\r\n selector: 'fgb-offers-page',\r\n templateUrl: './offers-page.component.html',\r\n styleUrls: ['./offers-page.component.scss'],\r\n})\r\nexport class OffersPageComponent implements OnInit {\r\n featuredOffers$: Observable;\r\n featuredPartners$: Observable;\r\n\r\n customOptions: OwlOptions = {\r\n autoWidth: true,\r\n margin: OwlCarouselSettings.Margin,\r\n pullDrag: false,\r\n navSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: { items: 1 },\r\n 540: { items: 2 },\r\n 740: { items: 3 },\r\n },\r\n };\r\n\r\n customOptions2: OwlOptions = {\r\n autoWidth: true,\r\n margin: 36,\r\n pullDrag: false,\r\n navSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: { items: 2 },\r\n 540: { items: 4 },\r\n 740: { items: 6 },\r\n },\r\n };\r\n\r\n constructor(private companyService: CompanyService, private companyOfferQuery: CompanyOfferQuery,\r\n private companyQuery: CompanyQuery,\r\n private router: Router, private companyOfferService: CompanyOfferService) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.companyOfferService.fetchOffers(0, 0)).then(() =>\r\n firstValueFrom(this.companyService.fetchAllCompanies())).then(() => {\r\n // get query\r\n this.featuredPartners$ = this.companyQuery.selectFavouriteCompanies();\r\n this.featuredOffers$ = this.companyOfferQuery.selectFeaturedOffers();\r\n });\r\n }\r\n\r\n navigateToOffer(offerId: number) {\r\n this.router.navigateByUrl(`offers/details/${offerId}`);\r\n }\r\n\r\n navigateToFirstOfferFromAffiliate(affiliate: Company) {\r\n this.companyOfferQuery\r\n .selectCompanyOffers(affiliate.CompanyId)\r\n .pipe(\r\n take(1),\r\n tap((offer) => {\r\n if (offer[0]) {\r\n this.router.navigateByUrl(`offers/details/${offer[0].OfferId}`);\r\n }\r\n })\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { CompanyOfferLanguageModel, CompanyOfferModel } from '@fgb/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'fgb-offer-terms-modal',\r\n templateUrl: './offer-terms-modal.component.html',\r\n styleUrls: ['./offer-terms-modal.component.scss'],\r\n})\r\nexport class OfferTermsModalComponent implements OnInit {\r\n @Input() offer: CompanyOfferModel;\r\n languageContent: CompanyOfferLanguageModel;\r\n\r\n constructor(private activeModal: NgbActiveModal) {}\r\n\r\n ngOnInit() {}\r\n\r\n closeModal(): void {\r\n this.activeModal.close();\r\n }\r\n}\r\n","
\r\n
\r\n

{{ offer.TermsAndConditions }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n","
\r\n
\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ languageContent.Name }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n {{ 'offers.redeem.button' | translate }}\r\n \r\n \r\n
\r\n \r\n \r\n {{ 'offers.terms.link' | translate }}\r\n

\r\n
\r\n \r\n
\r\n \r\n

{{ 'offers.terms.link' | translate }}

\r\n
\r\n
\r\n {{ successMessage }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input, OnChanges } from '@angular/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport {\r\n CompanyOfferLanguageModel,\r\n CompanyOfferModel,\r\n CompanyOfferService,\r\n CompanyOfferType,\r\n ErrorStateService,\r\n TermsAndConditionsDisplayType,\r\n} from '@fgb/core';\r\nimport { OfferTermsModalComponent } from '../offer-terms-modal/offer-terms-modal.component';\r\n\r\n@Component({\r\n selector: 'fgb-offers-details',\r\n templateUrl: './offers-details.component.html',\r\n styleUrls: ['./offers-details.component.scss'],\r\n})\r\nexport class OffersDetailsComponent implements OnInit, OnChanges {\r\n @Input() ignoreLink: boolean = false;\r\n @Input() offer: CompanyOfferModel;\r\n languageContent: CompanyOfferLanguageModel;\r\n successMessage: string;\r\n companyOfferType = CompanyOfferType;\r\n termsAndConditionsType = TermsAndConditionsDisplayType;\r\n\r\n constructor(\r\n private modalService: NgbModal,\r\n private companyOfferService: CompanyOfferService,\r\n private errorService: ErrorStateService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this._updateLanguageContent();\r\n }\r\n\r\n ngOnChanges() {\r\n this._updateLanguageContent();\r\n }\r\n\r\n openOfferTermsModal(offer: CompanyOfferModel): void {\r\n const modal = this.modalService.open(OfferTermsModalComponent);\r\n modal.componentInstance.offer = offer;\r\n }\r\n\r\n _updateLanguageContent() {\r\n let currentLcid = localStorage.getItem('lcid');\r\n\r\n if (!!currentLcid) {\r\n this.languageContent = !!this.offer.Content.filter((language) => language.LCID == parseInt(currentLcid as string))[0]\r\n ? this.offer.Content.filter((language) => language.LCID == parseInt(currentLcid as string))[0]\r\n : this.offer.Content[0];\r\n } else {\r\n this.languageContent = this.offer.Content[0];\r\n }\r\n }\r\n\r\n async claimOffer(offerId: number) {\r\n await this.companyOfferService\r\n .claimOffer(offerId)\r\n .then((response) => {\r\n if (response.ErrorNumber > 0) {\r\n this.errorService.clearErrors();\r\n this.errorService.addError(response.ErrorDescription);\r\n } else if (response.RedirectUrl) {\r\n this.openWindow(response.RedirectUrl);\r\n } else {\r\n this.successMessage = response.ErrorDescription;\r\n }\r\n })\r\n .catch((error) => {\r\n this.errorService.clearErrors();\r\n this.errorService.addError(error.Message);\r\n });\r\n }\r\n\r\n openWindow(link: string) {\r\n window.open(link);\r\n }\r\n}\r\n","
\r\n
\r\n \"{{\r\n
\r\n
\r\n

{{ currentCompany.DisplayName }}

\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
{{ 'offers.details.offer' | translate }}
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
{{ 'offers.details.other.offers' | translate }}
\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'offers.details.other.offer.placeholder' | translate }} \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
{{ 'offers.details.liked.offers' | translate }}
\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'offers.details.liked.offers.placeholder' | translate }} \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { CompanyOfferModel, CompanyOfferQuery, CompanyOfferService, CompanyService } from '@fgb/core';\r\nimport { CompanyQuery } from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { Department } from '@fgb/core';\r\nimport { Company } from '@fgb/core';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { OwlCarouselSettings } from 'src/app/shared/utilities/owl-carousel-settings';\r\nimport { map } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-offer-details-page',\r\n templateUrl: './offer-details-page.component.html',\r\n styleUrls: ['./offer-details-page.component.scss'],\r\n})\r\nexport class OfferDetailsPageComponent implements OnInit {\r\n @Input() backButtonLink: string = '/offers';\r\n @Input() department: Department;\r\n currentCompany$: Observable;\r\n currentOffer$: Observable;\r\n relatedOffers$: Observable;\r\n otherOffers$: Observable;\r\n\r\n customOptions: OwlOptions = {\r\n autoWidth: true,\r\n margin: OwlCarouselSettings.Margin,\r\n pullDrag: false,\r\n navSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: { items: 1 },\r\n 540: { items: 2 },\r\n 740: { items: 3 },\r\n },\r\n };\r\n\r\n constructor(\r\n private route: ActivatedRoute,\r\n private companyOfferQuery: CompanyOfferQuery,\r\n private companyService: CompanyService,\r\n private companyQuery: CompanyQuery,\r\n private router: Router,\r\n private companyOfferService: CompanyOfferService\r\n ) {}\r\n\r\n ngOnInit() {\r\n let offerId = +(this.route.snapshot.paramMap.get('offerId') || '0');\r\n this._updateOffer(offerId);\r\n }\r\n\r\n loadNewOffer(offerId: number) {\r\n this.router.navigateByUrl(`offers/details/${offerId}`);\r\n this._updateOffer(offerId);\r\n }\r\n\r\n _updateOffer(offerId: number) {\r\n if (!!offerId) {\r\n firstValueFrom(this.companyOfferService.fetchOffers(0, 0)).then(() =>\r\n firstValueFrom(this.companyService.fetchAllCompanies())).then(() => {\r\n let newOffer = this.companyOfferQuery.getEntity(offerId);\r\n this.currentOffer$ = this.companyOfferQuery.selectEntity(offerId);\r\n this.relatedOffers$ = this.companyOfferQuery.selectRelatedOffers(offerId);\r\n\r\n if (newOffer) {\r\n this.currentCompany$ = this.companyQuery.selectEntity(\r\n newOffer.CompanyId\r\n );\r\n this.otherOffers$ = this.companyOfferQuery\r\n .selectOtherOffers(newOffer.CompanyId)\r\n .pipe(map((offers) => offers.slice(0, 6)));\r\n }\r\n });\r\n }\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { LoggingService, PurchaseService } from '@fgb/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'fgb-cart-checkout-results-page',\r\n templateUrl: './cart-checkout-results-page.component.html',\r\n styleUrls: ['./cart-checkout-results-page.component.scss'],\r\n})\r\nexport class CartCheckoutResultsPageComponent implements OnInit {\r\n constructor(\r\n private purchaseService: PurchaseService,\r\n private route: ActivatedRoute,\r\n private logService: LoggingService,\r\n public router: Router\r\n ) {}\r\n\r\n ngOnInit() {\r\n let orderId: string | null = null;\r\n if (this.route.snapshot.queryParamMap.keys.map(x => x.toUpperCase()).includes('ORDERID')) {\r\n const orderIdQueryStringKey = this.route.snapshot.queryParamMap.keys.filter(x => x.toUpperCase() === 'ORDERID')[0];\r\n orderId = this.route.snapshot.queryParamMap.get(orderIdQueryStringKey);\r\n }\r\n\r\n if (!orderId) {\r\n this.logService.error('No order ID could be found in the query string');\r\n return;\r\n }\r\n\r\n this.purchaseService.checkOrderSuccessStatus(orderId, '/checkout/success', '/portalproducts/failure');\r\n }\r\n}\r\n","
\r\n \r\n

Payment processing...

\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { CartQuery } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-cart-checkout-success-page',\r\n templateUrl: './cart-checkout-success-page.component.html',\r\n styleUrls: ['./cart-checkout-success-page.component.scss'],\r\n})\r\nexport class CartCheckoutSuccessPageComponent implements OnInit {\r\n constructor(private cartQuery: CartQuery) {}\r\n\r\n ngOnInit() {\r\n let marketplaceCart = this.cartQuery.getMemberMarketplaceCart();\r\n this.cartQuery.removeItems(marketplaceCart);\r\n }\r\n}\r\n","
\r\n
\r\n
purchase successful!
\r\n
\r\n
\r\n
\r\n Back to Rewards\r\n
\r\n
\r\n Rewards History\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-notification-management-page',\r\n templateUrl: './notification-management-page.component.html',\r\n styleUrls: ['./notification-management-page.component.scss']\r\n})\r\nexport class NotificationManagementPageComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n

Notification Management

\r\n
\r\n\r\n","import { HttpParams } from '@angular/common/http';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { AuthService, SportsAllianceAuthService } from '@fgb/core';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-sports-alliance-callback',\r\n templateUrl: './sports-alliance-callback.component.html',\r\n styleUrls: ['./sports-alliance-callback.component.scss'],\r\n})\r\nexport class SportsAllianceCallbackComponent implements OnInit {\r\n cookieName: string = '_sa_sso_upid';\r\n constructor(\r\n private sportsAllianceService: SportsAllianceAuthService,\r\n private router: Router,\r\n private cookieService: CookieService,\r\n private authService: AuthService\r\n ) {}\r\n\r\n ngOnInit() {\r\n if (this.authService.isAuthenticated()) {\r\n // already logged in\r\n this.router.navigate(['/']);\r\n } else if (this.sportsAllianceService.hasNamedCookie(this.cookieName)) {\r\n // login through cookies\r\n let domainCookie = this.getDomainCookie();\r\n this.authenticateDomainCookie(domainCookie);\r\n } else {\r\n // log through a token\r\n this.authenticateJwt();\r\n }\r\n }\r\n\r\n /**\r\n * make request to authenticate domain\r\n * cookie if found.\r\n * If failed then will call authenticate JWT.\r\n * @param domainCookie domain cookie to\r\n * be authenticated.\r\n */\r\n authenticateDomainCookie(domainCookie: string) {\r\n firstValueFrom(this.sportsAllianceService\r\n .loginUsingToken(domainCookie))\r\n .catch(() => {\r\n this.authenticateJwt();\r\n });\r\n }\r\n\r\n /**\r\n * call to athenticate JWT\r\n * if failed response will return\r\n * user to login page.\r\n */\r\n authenticateJwt() {\r\n let jwtToken = this.getProviderJwtToken('tokenpayload');\r\n firstValueFrom(this.sportsAllianceService\r\n .validateJwt(jwtToken))\r\n .catch(() => {\r\n this.router.navigate(['/login']);\r\n });\r\n }\r\n\r\n /**\r\n * Get a query string parameter without case sensitivity.\r\n * @param parameter the parameter that you require the information for\r\n */\r\n getProviderJwtToken(parameter: string): string {\r\n const url = window.location.href;\r\n let paramValue;\r\n\r\n if (url.includes('?')) {\r\n const httpParams = new HttpParams({ fromString: url.split('?')[1] });\r\n paramValue = httpParams.get(parameter);\r\n }\r\n\r\n if (paramValue) {\r\n return paramValue;\r\n }\r\n return '';\r\n }\r\n\r\n /**\r\n * Will check if domain cookie exists\r\n * and return this as a string.\r\n * @returns domain cookie from\r\n * sports alliance domain\r\n */\r\n getDomainCookie(): string {\r\n let domainCookie = '';\r\n domainCookie = this.cookieService.get(this.cookieName);\r\n\r\n return domainCookie;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@ngx-translate/core';\nimport { CarouselModule } from 'ngx-owl-carousel-o';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass EcashDescriptionComponent {\n constructor() {\n this.googleIconName1 = 'credit_card';\n this.googleIconName2 = 'qr_code_scanner';\n this.googleIconName3 = 'emoji_events';\n }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EcashDescriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: EcashDescriptionComponent, selector: \"fgbcl-ecash-description\", inputs: { googleIconName1: \"googleIconName1\", googleIconName2: \"googleIconName2\", googleIconName3: \"googleIconName3\" }, ngImport: i0, template: \"
\\r\\n
{{ 'payment.description.title' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
1
\\r\\n {{ googleIconName1 }}\\r\\n
\\r\\n
{{ 'payment.description.step.one' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
2
\\r\\n {{ googleIconName2 }}\\r\\n
\\r\\n
{{ 'payment.description.step.two' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
3
\\r\\n {{ googleIconName3 }}\\r\\n
\\r\\n
{{ 'payment.description.step.three' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".centered{display:flex;justify-content:center;align-items:center}\\n\"], dependencies: [{ kind: \"pipe\", type: i1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EcashDescriptionComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-ecash-description', template: \"
\\r\\n
{{ 'payment.description.title' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
1
\\r\\n {{ googleIconName1 }}\\r\\n
\\r\\n
{{ 'payment.description.step.one' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
2
\\r\\n {{ googleIconName2 }}\\r\\n
\\r\\n
{{ 'payment.description.step.two' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
3
\\r\\n {{ googleIconName3 }}\\r\\n
\\r\\n
{{ 'payment.description.step.three' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".centered{display:flex;justify-content:center;align-items:center}\\n\"] }]\n }], ctorParameters: () => [], propDecorators: { googleIconName1: [{\n type: Input\n }], googleIconName2: [{\n type: Input\n }], googleIconName3: [{\n type: Input\n }] } });\n\nclass EcashDescriptionModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EcashDescriptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: EcashDescriptionModule, declarations: [EcashDescriptionComponent], imports: [CommonModule,\n CarouselModule,\n FGBSharedModule], exports: [EcashDescriptionComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EcashDescriptionModule, imports: [CommonModule,\n CarouselModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EcashDescriptionModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [EcashDescriptionComponent],\n imports: [\n CommonModule,\n CarouselModule,\n FGBSharedModule\n ],\n exports: [EcashDescriptionComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { EcashDescriptionComponent, EcashDescriptionModule };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';\nimport * as i4 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@angular/forms';\nimport { UntypedFormControl, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport * as i3 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport * as i5 from '@fgb/portal-component-library/src/lib/shared/country-and-regions';\nimport { CountryAndRegionsModule } from '@fgb/portal-component-library/src/lib/shared/country-and-regions';\nimport { RegexUS } from '@fgb/portal-component-library/src/lib/shared/utilities';\nimport { tap } from 'rxjs/operators';\nimport { FGBValidators } from '@fgb/portal-component-library/src/lib/shared/validators';\nimport * as i2 from '@fgb/core';\nimport * as i6 from '@ngx-translate/core';\n\nconst topUpAddressConfigDefault = {\n showFirstName: true,\n showLastName: true,\n showAddressName: false,\n showStreet: true,\n showTown: true,\n showCountryRegion: true,\n showPostCode: true,\n showMobileNumber: true,\n showEmail: true,\n};\n\nclass TopUpAddressComponent {\n constructor(formBuilder, addressService, modalService) {\n this.formBuilder = formBuilder;\n this.addressService = addressService;\n this.modalService = modalService;\n this.regex = RegexUS;\n this.topUpAddressConfig = topUpAddressConfigDefault;\n this.submittedAddress = new EventEmitter();\n this.submitted = false;\n }\n ngOnInit() {\n this.addressService\n .getTopUpAddress()\n .pipe(tap((address) => this.setupAddressForm(address)))\n .subscribe();\n }\n get f() {\n return this.topUpAddressForm.controls;\n }\n async save(address, isValid) {\n this.submitted = true;\n if (isValid) {\n await this.addressService.postTopUpAddress(address);\n this.submittedAddress.emit(true);\n }\n }\n cancel() {\n this.submittedAddress.emit(false);\n this.modalService.dismissAll();\n }\n setupAddressForm(topUpAddress) {\n this.topUpAddressForm = this.formBuilder.group({});\n if (this.topUpAddressConfig.showFirstName)\n this.topUpAddressForm.addControl('firstName', new UntypedFormControl(topUpAddress.FirstName, [Validators.required, FGBValidators.Empty]));\n if (this.topUpAddressConfig.showLastName)\n this.topUpAddressForm.addControl('surname', new UntypedFormControl(topUpAddress.Surname, [Validators.required, FGBValidators.Empty]));\n if (this.topUpAddressConfig.showAddressName)\n this.topUpAddressForm.addControl('addressName', new UntypedFormControl(topUpAddress.AddressName, [Validators.required, FGBValidators.Empty]));\n if (this.topUpAddressConfig.showStreet)\n this.topUpAddressForm.addControl('street', new UntypedFormControl(topUpAddress.Street, [Validators.required, FGBValidators.Empty]));\n if (this.topUpAddressConfig.showTown)\n this.topUpAddressForm.addControl('town', new UntypedFormControl(topUpAddress.Town, [Validators.required, FGBValidators.Empty]));\n if (this.topUpAddressConfig.showPostCode)\n this.topUpAddressForm.addControl('postCode', new UntypedFormControl(topUpAddress.Postcode, [Validators.required, Validators.pattern(this.regex.postCode)]));\n if (this.topUpAddressConfig.showCountryRegion) {\n this.topUpAddressForm.addControl('Country', new UntypedFormControl(topUpAddress.Country, [Validators.required, FGBValidators.Empty]));\n this.topUpAddressForm.addControl('County', new UntypedFormControl(topUpAddress.County, [Validators.required, FGBValidators.Empty]));\n }\n if (this.topUpAddressConfig.showMobileNumber)\n this.topUpAddressForm.addControl('homeNumber', new UntypedFormControl(topUpAddress.HomeNumber, [Validators.required, Validators.pattern(this.regex.number), FGBValidators.Empty]));\n if (this.topUpAddressConfig.showEmail)\n this.topUpAddressForm.addControl('emailAddress', new UntypedFormControl(topUpAddress.EmailAddress, [Validators.required, Validators.pattern(this.regex.email), FGBValidators.Empty]));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TopUpAddressComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i2.AddressService }, { token: i3.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: TopUpAddressComponent, selector: \"fgbcl-top-up-address\", inputs: { regex: \"regex\", topUpAddressConfig: \"topUpAddressConfig\" }, outputs: { submittedAddress: \"submittedAddress\" }, ngImport: i0, template: \"

{{ 'payment.address.description' | translate }}

\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.firstname' | translate }}
\\r\\n
{{ 'address.empty.firstname' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.surname' | translate }}
\\r\\n
{{ 'address.empty.surname' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.addressName' | translate }}
\\r\\n
{{ 'address.empty.addressName' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.street' | translate }}
\\r\\n
{{ 'address.empty.street' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.city' | translate }}
\\r\\n
{{ 'address.empty.city' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.postcode' | translate }}
\\r\\n
{{ 'address.invalid.postcode' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.number' | translate }}
\\r\\n
{{ 'address.invalid.number' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.email' | translate }}
\\r\\n
{{ 'address.invalid.email' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\", styles: [\".top-up-address .form-floating .form-control{height:53px;min-height:53px}.top-up-address .btn-container{border-top:rgba(0,0,0,.125) 1px solid;padding:9px 15px;margin-top:20px}.top-up-address .btn-container button{max-width:142px;border-radius:16px}.top-up-address .btn-container button:not(:last-of-type){margin-right:10px}\\n\"], dependencies: [{ kind: \"directive\", type: i4.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i5.CountryAndRegionsComponent, selector: \"fgbcl-country-and-regions\", inputs: [\"Form\", \"HasSubmitted\", \"SeparateRow\"] }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TopUpAddressComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-top-up-address', template: \"

{{ 'payment.address.description' | translate }}

\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.firstname' | translate }}
\\r\\n
{{ 'address.empty.firstname' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.surname' | translate }}
\\r\\n
{{ 'address.empty.surname' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.addressName' | translate }}
\\r\\n
{{ 'address.empty.addressName' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.street' | translate }}
\\r\\n
{{ 'address.empty.street' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.city' | translate }}
\\r\\n
{{ 'address.empty.city' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.postcode' | translate }}
\\r\\n
{{ 'address.invalid.postcode' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.number' | translate }}
\\r\\n
{{ 'address.invalid.number' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
{{ 'address.missing.email' | translate }}
\\r\\n
{{ 'address.invalid.email' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\", styles: [\".top-up-address .form-floating .form-control{height:53px;min-height:53px}.top-up-address .btn-container{border-top:rgba(0,0,0,.125) 1px solid;padding:9px 15px;margin-top:20px}.top-up-address .btn-container button{max-width:142px;border-radius:16px}.top-up-address .btn-container button:not(:last-of-type){margin-right:10px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.UntypedFormBuilder }, { type: i2.AddressService }, { type: i3.NgbModal }], propDecorators: { regex: [{\n type: Input\n }], topUpAddressConfig: [{\n type: Input\n }], submittedAddress: [{\n type: Output\n }] } });\n\nclass TopUpAddressModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TopUpAddressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: TopUpAddressModule, declarations: [TopUpAddressComponent], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n CountryAndRegionsModule,\n NgbModule,\n FGBSharedModule], exports: [TopUpAddressComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TopUpAddressModule, imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n CountryAndRegionsModule,\n NgbModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TopUpAddressModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [TopUpAddressComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n CountryAndRegionsModule,\n NgbModule,\n FGBSharedModule\n ],\n exports: [TopUpAddressComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TopUpAddressComponent, TopUpAddressModule, topUpAddressConfigDefault };\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i1 from '@fgb/core';\nimport { ProviderName, config } from '@fgb/core';\nimport * as i4 from '@fgb/portal-component-library/src/lib/shared/top-up-address';\nimport { topUpAddressConfigDefault, TopUpAddressModule } from '@fgb/portal-component-library/src/lib/shared/top-up-address';\nimport { RegexUS } from '@fgb/portal-component-library/src/lib/shared/utilities';\nimport * as i2 from '@ng-bootstrap/ng-bootstrap';\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i3 from '@fgb/portal-component-library/src/lib/shared/loading';\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\nimport * as i3$1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i6 from '@ngx-translate/core';\nimport * as i3$2 from '@fgb/portal-component-library/src/lib/shared/confirm-modal';\nimport { ConfirmModalModule } from '@fgb/portal-component-library/src/lib/shared/confirm-modal';\nimport * as i5 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i4$1 from 'ngx-owl-carousel-o';\nimport { CarouselModule } from 'ngx-owl-carousel-o';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { CountryAndRegionsModule } from '@fgb/portal-component-library/src/lib/shared/country-and-regions';\n\nclass AddNewCardComponent {\n constructor(cardTokenService, modalService) {\n this.cardTokenService = cardTokenService;\n this.modalService = modalService;\n this.regex = RegexUS;\n this.provider = ProviderName.Sage;\n this.redirectUrl = '/cardtoken/result';\n this.failureUrl = '/cardtoken/result';\n this.topUpAddressConfig = topUpAddressConfigDefault;\n this.showCloseBtn = false;\n this.config = config;\n this.hideAddress = false;\n this.showCancelButton = false;\n this.loading = false;\n }\n ngOnInit() { }\n addNewCard() {\n this.loading = true;\n this.cardTokenService.addNewCardToken(this.provider, this.config.portalUrl + this.redirectUrl, 'payment-gateway-area', this.config.portalUrl + this.failureUrl).then(() => {\n this.loading = false;\n });\n this.showCancelButton = true;\n }\n openCardModal(content) {\n this.showCancelButton = false;\n this.hideAddress = false;\n this.modalService.open(content, { ariaLabelledBy: 'modal-basic-title', windowClass: 'top-up-address-modal', centered: true });\n }\n submittedAddress(submitted) {\n if (submitted) {\n this.hideAddress = true;\n this.addNewCard();\n }\n }\n cancel() {\n this.modalService.dismissAll();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddNewCardComponent, deps: [{ token: i1.CardTokenService }, { token: i2.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: AddNewCardComponent, selector: \"fgbcl-add-new-card\", inputs: { regex: \"regex\", provider: \"provider\", redirectUrl: \"redirectUrl\", failureUrl: \"failureUrl\", topUpAddressConfig: \"topUpAddressConfig\", showCloseBtn: \"showCloseBtn\" }, ngImport: i0, template: \"
\\r\\n \\r\\n add_card\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n add_card\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
{{ 'new.card.form.title' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\"button:hover{color:#fff}h6{font-size:14px;margin:0}.add-card-label{text-transform:uppercase}.header{height:61px;align-items:center;padding:0 20px;border-bottom:rgba(0,0,0,.125) 1px solid}.loading-container{display:flex;min-height:100px;justify-content:center;align-items:center}#payment-gateway-area{display:flex;justify-content:center}.content{padding-top:20px}.payment-action-buttons{margin-top:30px;display:flex;align-items:center;justify-content:flex-end;height:54px;border-top:rgba(0,0,0,.125) 1px solid}.payment-action-buttons button{max-width:142px;font-size:14px}#close-button span{color:#707070;font-size:20px}\\n\"], dependencies: [{ kind: \"component\", type: i3.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"component\", type: i4.TopUpAddressComponent, selector: \"fgbcl-top-up-address\", inputs: [\"regex\", \"topUpAddressConfig\"], outputs: [\"submittedAddress\"] }, { kind: \"directive\", type: i3$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddNewCardComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-add-new-card', template: \"
\\r\\n \\r\\n add_card\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n add_card\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
{{ 'new.card.form.title' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\", styles: [\"button:hover{color:#fff}h6{font-size:14px;margin:0}.add-card-label{text-transform:uppercase}.header{height:61px;align-items:center;padding:0 20px;border-bottom:rgba(0,0,0,.125) 1px solid}.loading-container{display:flex;min-height:100px;justify-content:center;align-items:center}#payment-gateway-area{display:flex;justify-content:center}.content{padding-top:20px}.payment-action-buttons{margin-top:30px;display:flex;align-items:center;justify-content:flex-end;height:54px;border-top:rgba(0,0,0,.125) 1px solid}.payment-action-buttons button{max-width:142px;font-size:14px}#close-button span{color:#707070;font-size:20px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.CardTokenService }, { type: i2.NgbModal }], propDecorators: { regex: [{\n type: Input\n }], provider: [{\n type: Input\n }], redirectUrl: [{\n type: Input\n }], failureUrl: [{\n type: Input\n }], topUpAddressConfig: [{\n type: Input\n }], showCloseBtn: [{\n type: Input\n }] } });\n\nclass CardTokenComponent {\n constructor(cardTokenService, modalService) {\n this.cardTokenService = cardTokenService;\n this.modalService = modalService;\n this.cardIssuerProvider = '';\n this.showBack = false;\n }\n ngOnInit() { }\n setCardAsDefault() {\n this.cardTokenService.setCardAsDefault(this.cardToken.TokenId);\n this.close();\n }\n switchCardSide() {\n this.showBack = !this.showBack;\n }\n cardIsInactive() {\n return !this.cardToken.IsDefaultToken;\n }\n cardIsActive() {\n return this.cardToken.IsDefaultToken && !this.cardToken.Frozen;\n }\n cardIsFrozen() {\n return this.cardToken.Frozen && this.cardToken.IsDefaultToken;\n }\n freezeCard() {\n this.cardTokenService.setCardTokenFrozenState(this.cardToken.TokenId, true);\n this.close();\n }\n unfreezeCard() {\n this.cardTokenService.setCardTokenFrozenState(this.cardToken.TokenId, false);\n this.close();\n }\n deleteCard() {\n this.cardTokenService.deleteCardToken(this.cardToken.TokenId);\n this.close();\n }\n close() {\n this.modalService.dismissAll();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenComponent, deps: [{ token: i1.CardTokenService }, { token: i2.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardTokenComponent, selector: \"fgbcl-card-token\", inputs: { cardToken: \"cardToken\", cardIssuerProvider: \"cardIssuerProvider\" }, ngImport: i0, template: \"\\r\\n\\r\\n
\\r\\n

{{ 'payment.card.active' | translate }}

\\r\\n

\\r\\n {{ 'payment.card.inactive' | translate }}\\r\\n

\\r\\n

{{ 'payment.card.frozen' | translate }}

\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n delete_forever\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ cardToken.CardNumber | creditCardNumber }}\\r\\n

\\r\\n \\r\\n \\r\\n \\\"\\\"\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'payment.card.freeze.confirmation' | translate : { cardEnding: cardToken.CardNumber.substring(12) } }}\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'payment.card.unfreeze.confirmation' | translate : { cardEnding: cardToken.CardNumber.substring(12) } }}\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'payment.card.delete.confirmation' | translate : { cardEnding: cardToken.CardNumber.substring(12) } }}\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'payment.card.activation.confirmation' | translate : { cardEnding: cardToken.CardNumber.substring(12) } }}\\r\\n
\\r\\n
\\r\\n\", styles: [\".card-dropdown{left:-140px!important;width:170px;height:86px;padding:10px}.dropdown-toggle:after{display:none}\\n\"], dependencies: [{ kind: \"directive\", type: i3$2.ConfirmModalDirective, selector: \"[confirmModal]\", inputs: [\"disabled\", \"confirmImage\", \"confirmContent\", \"confirmContext\", \"modal-class\", \"valid\", \"confirmHeader\"], outputs: [\"confirm\"] }, { kind: \"directive\", type: i3$1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i3$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgbDropdown, selector: \"[ngbDropdown]\", inputs: [\"autoClose\", \"dropdownClass\", \"open\", \"placement\", \"popperOptions\", \"container\", \"display\"], outputs: [\"openChange\"], exportAs: [\"ngbDropdown\"] }, { kind: \"directive\", type: i2.NgbDropdownToggle, selector: \"[ngbDropdownToggle]\" }, { kind: \"directive\", type: i2.NgbDropdownMenu, selector: \"[ngbDropdownMenu]\" }, { kind: \"pipe\", type: i5.CardTypeImageUrlPipe, name: \"cardTypeImageUrl\" }, { kind: \"pipe\", type: i5.CreditCardNumberPipe, name: \"creditCardNumber\" }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-token', template: \"\\r\\n\\r\\n
\\r\\n

{{ 'payment.card.active' | translate }}

\\r\\n

\\r\\n {{ 'payment.card.inactive' | translate }}\\r\\n

\\r\\n

{{ 'payment.card.frozen' | translate }}

\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n delete_forever\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ cardToken.CardNumber | creditCardNumber }}\\r\\n

\\r\\n \\r\\n \\r\\n \\\"\\\"\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'payment.card.freeze.confirmation' | translate : { cardEnding: cardToken.CardNumber.substring(12) } }}\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'payment.card.unfreeze.confirmation' | translate : { cardEnding: cardToken.CardNumber.substring(12) } }}\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'payment.card.delete.confirmation' | translate : { cardEnding: cardToken.CardNumber.substring(12) } }}\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n {{ 'payment.card.activation.confirmation' | translate : { cardEnding: cardToken.CardNumber.substring(12) } }}\\r\\n
\\r\\n
\\r\\n\", styles: [\".card-dropdown{left:-140px!important;width:170px;height:86px;padding:10px}.dropdown-toggle:after{display:none}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.CardTokenService }, { type: i2.NgbModal }], propDecorators: { cardToken: [{\n type: Input\n }], cardIssuerProvider: [{\n type: Input\n }] } });\n\nclass CardTokenListComponent {\n constructor(cardTokenQuery) {\n this.cardTokenQuery = cardTokenQuery;\n this.provider = ProviderName.Dummy;\n this.redirectUrl = '/payment';\n this.failureUrl = '/cardtoken/failure';\n this.regex = RegexUS;\n this.topUpAddressConfig = topUpAddressConfigDefault;\n this.showCloseBtn = false;\n this.cardIssuerProvider = '';\n this.customOptions = {\n items: 1,\n loop: false,\n autoHeight: true,\n autoWidth: true,\n margin: 15,\n autoplay: false,\n autoplayTimeout: 10000,\n autoplaySpeed: 1500,\n };\n this.customOptions2 = {\n items: 3,\n loop: false,\n touchDrag: false,\n autoHeight: true,\n autoWidth: true,\n margin: 22,\n autoplay: false,\n autoplayTimeout: 10000,\n autoplaySpeed: 1500,\n };\n }\n ngOnInit() {\n this.defaultCardToken$ = this.cardTokenQuery.selectDefaultCard();\n this.nonDefaultCardTokens$ = this.cardTokenQuery.selectExceptDefaultCard();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenListComponent, deps: [{ token: i1.CardTokenQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardTokenListComponent, selector: \"fgbcl-card-token-list\", inputs: { provider: \"provider\", redirectUrl: \"redirectUrl\", failureUrl: \"failureUrl\", regex: \"regex\", topUpAddressConfig: \"topUpAddressConfig\", showCloseBtn: \"showCloseBtn\", cardIssuerProvider: \"cardIssuerProvider\" }, ngImport: i0, template: \"

\\r\\n {{ 'payment.cards.title' | translate }}\\r\\n

\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\", styles: [\".payment-cards-container{display:flex;flex-direction:column-reverse}@media all and (min-width: 992px){.payment-cards-container{flex-direction:row}}.payment-cards-container .desktop-cards-list{display:none;min-width:calc(100% - 158px)}@media all and (min-width: 992px){.payment-cards-container .desktop-cards-list{display:block;float:left}}.payment-cards-container .mobile-cards-carousel{display:none}@media all and (max-width: 991px){.payment-cards-container .mobile-cards-carousel{display:flex;flex-direction:column;width:100%}}@media all and (min-width: 992px){.payment-cards-container .add-card-btn{margin-right:16px;margin-top:5px}}.payment-cards-container .add-card-border{border:2px dashed rgba(0,0,0,.1607843137);height:120px}\\n\"], dependencies: [{ kind: \"component\", type: i3.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"directive\", type: i3$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i4$1.CarouselComponent, selector: \"owl-carousel-o\", inputs: [\"options\"], outputs: [\"translated\", \"dragging\", \"change\", \"changed\", \"initialized\"] }, { kind: \"directive\", type: i4$1.CarouselSlideDirective, selector: \"ng-template[carouselSlide]\", inputs: [\"id\", \"dataMerge\", \"width\", \"dotContent\", \"dataHash\"] }, { kind: \"component\", type: CardTokenComponent, selector: \"fgbcl-card-token\", inputs: [\"cardToken\", \"cardIssuerProvider\"] }, { kind: \"component\", type: AddNewCardComponent, selector: \"fgbcl-add-new-card\", inputs: [\"regex\", \"provider\", \"redirectUrl\", \"failureUrl\", \"topUpAddressConfig\", \"showCloseBtn\"] }, { kind: \"pipe\", type: i3$1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i6.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-token-list', template: \"

\\r\\n {{ 'payment.cards.title' | translate }}\\r\\n

\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\", styles: [\".payment-cards-container{display:flex;flex-direction:column-reverse}@media all and (min-width: 992px){.payment-cards-container{flex-direction:row}}.payment-cards-container .desktop-cards-list{display:none;min-width:calc(100% - 158px)}@media all and (min-width: 992px){.payment-cards-container .desktop-cards-list{display:block;float:left}}.payment-cards-container .mobile-cards-carousel{display:none}@media all and (max-width: 991px){.payment-cards-container .mobile-cards-carousel{display:flex;flex-direction:column;width:100%}}@media all and (min-width: 992px){.payment-cards-container .add-card-btn{margin-right:16px;margin-top:5px}}.payment-cards-container .add-card-border{border:2px dashed rgba(0,0,0,.1607843137);height:120px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.CardTokenQuery }], propDecorators: { provider: [{\n type: Input\n }], redirectUrl: [{\n type: Input\n }], failureUrl: [{\n type: Input\n }], regex: [{\n type: Input\n }], topUpAddressConfig: [{\n type: Input\n }], showCloseBtn: [{\n type: Input\n }], cardIssuerProvider: [{\n type: Input\n }] } });\n\nclass CardTokenListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenListModule, declarations: [CardTokenListComponent, CardTokenComponent, AddNewCardComponent], imports: [LoadingModule,\n PipesModule,\n ConfirmModalModule,\n CountryAndRegionsModule,\n TopUpAddressModule,\n CommonModule,\n CarouselModule,\n FormsModule,\n ReactiveFormsModule,\n NgbModule,\n LoadingModule,\n FGBSharedModule], exports: [CardTokenListComponent, AddNewCardComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenListModule, imports: [LoadingModule,\n PipesModule,\n ConfirmModalModule,\n CountryAndRegionsModule,\n TopUpAddressModule,\n CommonModule,\n CarouselModule,\n FormsModule,\n ReactiveFormsModule,\n NgbModule,\n LoadingModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenListModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [CardTokenListComponent, CardTokenComponent, AddNewCardComponent],\n imports: [\n LoadingModule,\n PipesModule,\n ConfirmModalModule,\n CountryAndRegionsModule,\n TopUpAddressModule,\n CommonModule,\n CarouselModule,\n FormsModule,\n ReactiveFormsModule,\n NgbModule,\n LoadingModule,\n FGBSharedModule\n ],\n exports: [CardTokenListComponent, AddNewCardComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AddNewCardComponent, CardTokenComponent, CardTokenListComponent, CardTokenListModule };\n","import { Component, OnInit } from '@angular/core';\r\nimport {\r\n BalanceQuery,\r\n CardToken,\r\n CardTokenQuery,\r\n config,\r\n MemberDetails,\r\n MemberQuery,\r\n ProviderName,\r\n TransactionType,\r\n} from '@fgb/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\nimport { Regex } from 'src/app/shared/utilities/regex';\r\n\r\n@Component({\r\n templateUrl: './payment-page.component.html',\r\n styleUrls: ['./payment-page.component.scss'],\r\n})\r\nexport class PaymentPageComponent implements OnInit {\r\n defaultCardToken$: Observable;\r\n\r\n memberDetails$: Observable;\r\n combinedCard$: Observable;\r\n loyaltyPointsCard$: Observable;\r\n populations = Populations;\r\n\r\n transactionStartDate: Date;\r\n transactionEndDate: Date;\r\n transactionTypes = TransactionType;\r\n memberId: string;\r\n\r\n regex = Regex;\r\n provider = ProviderName.GlobalPayments;\r\n\r\n constructor(private cardTokenQuery: CardTokenQuery, private memberQuery: MemberQuery, private balanceQuery: BalanceQuery) {}\r\n\r\n ngOnInit() {\r\n this.memberId = this.memberQuery.getUserContext().memberId;\r\n this.memberDetails$ = this.memberQuery.selectMemberDetails();\r\n this.combinedCard$ = this.balanceQuery.selectPurse(config.purseConfig.combined);\r\n this.loyaltyPointsCard$ = this.balanceQuery.selectPurse(config.purseConfig.virtualLoyalty);\r\n this.combinedCard$ = this.balanceQuery.selectPurse(config.purseConfig.combined);\r\n this.transactionEndDate = new Date();\r\n this.transactionStartDate = new Date();\r\n this.transactionStartDate.setDate(new Date(this.transactionStartDate).getDate() - 1);\r\n this.defaultCardToken$ = this.cardTokenQuery.selectDefaultCard();\r\n }\r\n}\r\n","
\r\n

{{ 'payment.page.title' | translate }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
    \r\n \r\n credit_card\r\n \r\n \r\n \r\n history\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { KeyValuePair, MemberQuery, ProviderName, SQWADService } from '@fgb/core';\r\n@Component({\r\n selector: 'fgb-provider-callback',\r\n templateUrl: './provider-callback.component.html',\r\n styleUrls: ['./provider-callback.component.scss'],\r\n})\r\nexport class ProviderCallbackComponent implements OnInit {\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private memberQuery: MemberQuery,\r\n private sqwadService: SQWADService,\r\n private router: Router\r\n ) {}\r\n\r\n ngOnInit(): void {\r\n const providerIdStr = this.activatedRoute.snapshot.paramMap.get('providerid');\r\n if (!providerIdStr) {\r\n return;\r\n }\r\n\r\n const providerId = +providerIdStr;\r\n\r\n if (providerId == ProviderName.SQWAD) {\r\n const externalRef = this.activatedRoute.snapshot.queryParamMap.get('userid');\r\n let win = this.activatedRoute.snapshot.queryParamMap.get('win')?.toLocaleLowerCase();\r\n\r\n const currentExternalRef = this.memberQuery.getUserContext().externalRef;\r\n\r\n if (!externalRef || externalRef != currentExternalRef) {\r\n this.sqwadRedirectToHomepage(false);\r\n return;\r\n }\r\n\r\n if (win != 'true') {\r\n win = 'false';\r\n }\r\n\r\n const options = [{ key: 'win', value: win }] as KeyValuePair[];\r\n this.sqwadService.callback(externalRef, options);\r\n\r\n if (win == 'true') {\r\n this.sqwadRedirectToHomepage(true);\r\n return;\r\n }\r\n\r\n this.sqwadRedirectToHomepage(false);\r\n return;\r\n }\r\n }\r\n\r\n sqwadRedirectToHomepage(win: boolean) {\r\n this.router.navigateByUrl('/?win=' + win);\r\n }\r\n}\r\n","\r\n","import { map } from './map';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function exhaustMap(project, resultSelector) {\n if (resultSelector) {\n return (source) => source.pipe(exhaustMap((a, i) => innerFrom(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii)))));\n }\n return operate((source, subscriber) => {\n let index = 0;\n let innerSub = null;\n let isComplete = false;\n source.subscribe(createOperatorSubscriber(subscriber, (outerValue) => {\n if (!innerSub) {\n innerSub = createOperatorSubscriber(subscriber, undefined, () => {\n innerSub = null;\n isComplete && subscriber.complete();\n });\n innerFrom(project(outerValue, index++)).subscribe(innerSub);\n }\n }, () => {\n isComplete = true;\n !innerSub && subscriber.complete();\n }));\n });\n}\n","import { trigger, state, style, transition, animate } from '@angular/animations';\n\nconst fgbAnimations = [\n trigger('rotateAnimation', [\n state('1', style({\n transform: 'rotate({{ rotateEnd }}deg)'\n }), { params: { rotateEnd: 0 } }),\n state('0', style({\n transform: 'rotate({{ rotateStart }}deg)'\n }), { params: { rotateStart: 0 } }),\n transition('0 <=> 1', [\n animate('100ms ease-in')\n ])\n ]),\n trigger('collapseAnimation', [\n state('1', style({\n height: '*',\n overflow: 'hidden'\n })),\n state('0', style({\n height: 0,\n overflow: 'hidden'\n })),\n transition('0 <=> 1', animate('100ms ease-in'))\n ]),\n trigger('growAnimation', [\n transition(':enter, * => 0, * => -1', []),\n transition(':increment', [\n style({\n height: '{{ height }}px',\n overflow: 'hidden'\n }),\n animate('300ms ease'),\n ], { params: { height: 0 } })\n ]),\n trigger('shrinkAnimation', [\n transition(':enter, * => 0, * => -1', []),\n transition(':decrement', [\n style({\n height: '{{ end }}px',\n overflow: 'hidden'\n }),\n animate('300ms ease', style({\n height: '{{ start }}px'\n })),\n ], { params: { start: 0, end: 0 } })\n ])\n];\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { fgbAnimations };\n","import * as i0 from '@angular/core';\nimport { Component, Input, Pipe, EventEmitter, Output, ViewChild, ViewChildren, ElementRef, NgModule } from '@angular/core';\nimport * as i2$1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2 from '@ng-bootstrap/ng-bootstrap';\nimport { ModalDismissReasons, NgbModule } from '@ng-bootstrap/ng-bootstrap';\nimport * as i1 from '@fgb/core';\nimport { CardLinkingFidelCountries, TermsAndConditionsType, TransactionType } from '@fgb/core';\nimport { Subject, fromEvent } from 'rxjs';\nimport { delay, takeUntil, switchMap, map, tap, exhaustMap, distinctUntilChanged } from 'rxjs/operators';\nimport * as i3 from '@angular/router';\nimport { RouterModule } from '@angular/router';\nimport * as i4 from '@fgb/portal-component-library/src/lib/directives';\nimport { ScreenType, DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\nimport * as i5 from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport * as i6 from '@fgb/portal-component-library/src/lib/club/terms-and-conditions';\nimport { TermsAndConditionsModule } from '@fgb/portal-component-library/src/lib/club/terms-and-conditions';\nimport * as i4$1 from '@ngx-translate/core';\nimport * as i5$1 from '@fgb/portal-component-library/src/lib/pipes';\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\nimport * as i3$1 from 'ngx-owl-carousel-o';\nimport { CarouselModule } from 'ngx-owl-carousel-o';\nimport { OwlCarouselSettings } from '@fgb/portal-component-library/src/lib/shared/utilities';\nimport moment from 'moment/moment';\nimport * as i3$2 from '@fgb/portal-component-library/src/lib/shared/date-range-picker';\nimport { DateRangePickerModule } from '@fgb/portal-component-library/src/lib/shared/date-range-picker';\nimport * as i4$2 from '@fgb/portal-component-library/src/lib/shared/loading';\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\nimport * as i4$3 from '@angular/google-maps';\nimport { MapInfoWindow, GoogleMap, MapMarker, GoogleMapsModule } from '@angular/google-maps';\nimport * as i1$1 from 'ngx-device-detector';\nimport { fgbAnimations } from '@fgb/portal-component-library/src/lib/shared/animations';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass CardLinkButtonComponent {\n constructor(modalService, fidelService, fidelJsLoaderService, memberQuery, cardLinkingService, router, cardLinkingQuery) {\n this.modalService = modalService;\n this.fidelService = fidelService;\n this.fidelJsLoaderService = fidelJsLoaderService;\n this.memberQuery = memberQuery;\n this.cardLinkingService = cardLinkingService;\n this.router = router;\n this.cardLinkingQuery = cardLinkingQuery;\n this.hideAddress = false;\n this.showCancelButton = false;\n this._destroyed$ = new Subject();\n this.countries = [CardLinkingFidelCountries.GBR];\n this.disableCardButton = false;\n /** Default card linking settings are set if no input is passed */\n this.cardLinkingSettings = {\n allowMultipleCardLinking: true,\n };\n this.isTermsAccepted = false;\n this.termsAndConditionsType = TermsAndConditionsType.PrivacyPolicy;\n }\n ngOnInit() {\n this.linkedCardsCount$ = this.cardLinkingQuery.selectCount();\n }\n /**\n * This method will open terms modal prior to linking\n * a users card through fidel.\n * @param termsContent Terms Modal Content\n */\n openCardLinkingTerms(termsContent) {\n if (this.cardLinkingSettings.allowMultipleCardLinking === true ||\n (this.cardLinkingSettings.allowMultipleCardLinking === false && this.cardLinkingQuery.getCount() === 0)) {\n this.modalService.open(termsContent, { windowClass: 'card-linking-terms-modal' }).result.then(() => { }, (reason) => {\n if (reason === ModalDismissReasons.ESC || reason === ModalDismissReasons.BACKDROP_CLICK) {\n this.isTermsAccepted = false;\n }\n });\n }\n }\n /**\n * open popup for linking the card.\n * retrun either error if there is an issue while linking or Card details if successfully linked.\n */\n linkcard() {\n if (this.isTermsAccepted) {\n this.cancel();\n this.disableCardButton = true;\n setTimeout(() => {\n return this.fidelJsLoaderService\n .loadJs()\n .pipe(delay(50), takeUntil(this._destroyed$))\n .subscribe((status) => {\n if (status == 'loaded') {\n this.cardLinkedStatus();\n this.fidelService.linkcard(this.memberQuery.getUserContext().memberId, {}, this.countries, this.fedilCallBack);\n }\n });\n }, 500);\n }\n }\n /**\n * Implementation of fedil callback function.\n * callbackSuccess will call when card successfully link and callbackFailed will call if there is any issue.\n * @param content to open the NgbModal for offers.\n */\n cardLinkedStatus() {\n this.fedilCallBack = {\n callbackSuccess: (card) => {\n if (card) {\n setTimeout(() => {\n this.cardLinkingService.fetchFidelLinkedCard().toPromise();\n this.router.navigateByUrl('/linkcardSuccess');\n }, 1600);\n }\n },\n callbackFailed: (error) => {\n if (error) {\n }\n },\n };\n }\n /**\n * open NgbModal for offers after successfully link the card.\n * callbackSuccess will call when card successfully link and callbackFailed will call if there is any issue.\n * @param content to open the NgbModal for offers.\n */\n openCardModal() {\n this.showCancelButton = false;\n this.hideAddress = false;\n this.modalService.open(this.modelContent, { ariaLabelledBy: 'modal-basic-title' });\n }\n /**\n * dismiss the offer model.\n */\n cancel() {\n this.isTermsAccepted = false;\n this.modalService.dismissAll();\n }\n /**\n * Unsubscribe the observables on distroy\n */\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkButtonComponent, deps: [{ token: i2.NgbModal }, { token: i1.FidelService }, { token: i1.FidelJsLoaderService }, { token: i1.MemberQuery }, { token: i1.CardLinkingService }, { token: i3.Router }, { token: i1.CardLinkingQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkButtonComponent, selector: \"fgbcl-card-link-button\", inputs: { countries: \"countries\", cardLinkingSettings: \"cardLinkingSettings\" }, ngImport: i0, template: \"\\r\\n 0\\\"\\r\\n (click)=\\\"openCardLinkingTerms(addNewCardTerms)\\\"\\r\\n >\\r\\n add_card\\r\\n \\r\\n \\r\\n\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.terms.title' | translate }}\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n credit_card\\r\\n
\\r\\n
\\r\\n emoji_events\\r\\n
\\r\\n
\\r\\n star\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.terms.description' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i4.NgSubscribeDirective, selector: \"[ngSubscribe]\", inputs: [\"ngSubscribe\"] }, { kind: \"directive\", type: i5.CheckboxControlValueAccessor, selector: \"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]\" }, { kind: \"directive\", type: i5.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i5.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"component\", type: i6.TermsAndConditionsComponent, selector: \"fgbcl-terms-and-conditions\", inputs: [\"type\", \"defaultTerms\"] }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkButtonComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-button', template: \"\\r\\n 0\\\"\\r\\n (click)=\\\"openCardLinkingTerms(addNewCardTerms)\\\"\\r\\n >\\r\\n add_card\\r\\n \\r\\n \\r\\n\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.terms.title' | translate }}\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n credit_card\\r\\n
\\r\\n
\\r\\n emoji_events\\r\\n
\\r\\n
\\r\\n star\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.terms.description' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i2.NgbModal }, { type: i1.FidelService }, { type: i1.FidelJsLoaderService }, { type: i1.MemberQuery }, { type: i1.CardLinkingService }, { type: i3.Router }, { type: i1.CardLinkingQuery }], propDecorators: { countries: [{\n type: Input\n }], cardLinkingSettings: [{\n type: Input\n }] } });\n\nclass CardLinkedSingleComponent {\n constructor(cardLinkingServices, modalService) {\n this.cardLinkingServices = cardLinkingServices;\n this.modalService = modalService;\n this.deleteCard = false;\n }\n ngOnInit() { }\n /**\n * Delete the linked Card.\n * @param cardId select card id.\n */\n deleteLinkedCard() {\n this.cardLinkingServices.deleteCard(this.externalCardId).toPromise();\n this.cancel();\n }\n /**\n * Open confirmation model for Delete the linked Card.\n * @param content model id.\n */\n openModel(content) {\n this.deleteCard = !this.deleteCard;\n this.modalService.open(content, { ariaLabelledBy: 'modal-basic-title' });\n }\n /**\n * close confirmation model for Delete the linked Card.\n */\n cancel() {\n this.modalService.dismissAll();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkedSingleComponent, deps: [{ token: i1.CardLinkingService }, { token: i2.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkedSingleComponent, selector: \"fgbcl-card-linked-single\", inputs: { linkedCard: \"linkedCard\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n more_horiz\\r\\n
\\r\\n
\\r\\n

{{ linkedCard!.CardNumber | creditCardNumber }}

\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n delete {{ 'fgbcl.card.linking.delete.card.label' | translate }}\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n delete\\r\\n

{{ 'fgbcl.card.linking.delete.card.model.title' | translate }}

\\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2$1.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i2$1.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i2$1.NgSwitchDefault, selector: \"[ngSwitchDefault]\" }, { kind: \"pipe\", type: i5$1.CreditCardNumberPipe, name: \"creditCardNumber\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkedSingleComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-linked-single', template: \"
\\r\\n
\\r\\n more_horiz\\r\\n
\\r\\n
\\r\\n

{{ linkedCard!.CardNumber | creditCardNumber }}

\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n delete {{ 'fgbcl.card.linking.delete.card.label' | translate }}\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n delete\\r\\n

{{ 'fgbcl.card.linking.delete.card.model.title' | translate }}

\\r\\n
\\r\\n \\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.CardLinkingService }, { type: i2.NgbModal }], propDecorators: { linkedCard: [{\n type: Input\n }] } });\n\nclass CardLinkOfferItemComponent {\n constructor(cardLinkOffersService, router, cardLinkingQuery, modalService) {\n this.cardLinkOffersService = cardLinkOffersService;\n this.router = router;\n this.cardLinkingQuery = cardLinkingQuery;\n this.modalService = modalService;\n this._destroyed$ = new Subject();\n this.activatedOfferID = 0;\n }\n ngOnInit() { }\n /**\n * activate offer by offer ID\n * navigate to the external url\n * navigate to detail page\n * when user click on any button this function will exicute and check\n * some condition according to the offerTyper and CustomerOfferStatus\n * if offer is already active it will move on detail page\n * if offertype !=6 it will call the api to get the url and then will move on\n * company website\n * if offer is not activated it will call the api to activate the offer\n * @param offer to get the offer id customerOfferStatus offerType and imageurl\n * @param content to open the ngbModel to display the navigation progress\n */\n offerAction(offer, cardNotLinkModel) {\n if (offer.OfferType == 6 && offer.CustomerOfferStatus == 0) {\n this.cardLinkingQuery\n .selectCount()\n .pipe(takeUntil(this._destroyed$))\n .subscribe((count) => {\n if (count > 0) {\n this.activateOffer(offer);\n }\n else {\n this.openCardNotLinkModal(cardNotLinkModel);\n }\n });\n }\n else {\n this.router.navigateByUrl('/offerdetail/' + offer.OfferId);\n }\n }\n /**\n * activate offer by offer ID\n * @param offer to get the offerId to activate the offer by Id\n */\n activateOffer(offer) {\n this.cardLinkOffersService.activateOffer(offer.OfferId).pipe(takeUntil(this._destroyed$)).subscribe();\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n /**\n * open NgbModal for offers after successfully link the card.\n * callbackSuccess will call when card successfully link and callbackFailed will call if there is any issue.\n * @param content to open the NgbModal for offers.\n */\n openCardNotLinkModal(cardNotLinkModel) {\n this.modalService.open(cardNotLinkModel, { centered: true, ariaLabelledBy: 'modal-basic-title' });\n }\n cancel() {\n this.modalService.dismissAll();\n this.router.navigateByUrl('/linkcard');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOfferItemComponent, deps: [{ token: i1.CardLinkOffersService }, { token: i3.Router }, { token: i1.CardLinkingQuery }, { token: i2.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkOfferItemComponent, selector: \"fgbcl-card-link-offer-item\", inputs: { cardLinkOffer: \"cardLinkOffer\", lcid: \"lcid\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n

\\r\\n star{{ 'fgbcl.card.linking.feature.offer.title' | translate }}\\r\\n

\\r\\n\\r\\n

{{ cardLinkOffer?.Content | currentLanguageContent : lcid : 'Name' }}

\\r\\n

\\r\\n {{ cardLinkOffer?.Content | currentLanguageContent : lcid : 'description' | shortText : 45 : true }}\\r\\n

\\r\\n\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.online.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.instore.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n add\\r\\n \\r\\n \\r\\n done\\r\\n \\r\\n navigate_next\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"pipe\", type: i5$1.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i5$1.LongtoShortTextPipe, name: \"shortText\" }, { kind: \"pipe\", type: i5$1.ContentLanguageFilterPipe, name: \"currentLanguageContent\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOfferItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-offer-item', template: \"
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n

\\r\\n star{{ 'fgbcl.card.linking.feature.offer.title' | translate }}\\r\\n

\\r\\n\\r\\n

{{ cardLinkOffer?.Content | currentLanguageContent : lcid : 'Name' }}

\\r\\n

\\r\\n {{ cardLinkOffer?.Content | currentLanguageContent : lcid : 'description' | shortText : 45 : true }}\\r\\n

\\r\\n\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.online.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.instore.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n add\\r\\n \\r\\n \\r\\n done\\r\\n \\r\\n navigate_next\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.CardLinkOffersService }, { type: i3.Router }, { type: i1.CardLinkingQuery }, { type: i2.NgbModal }], propDecorators: { cardLinkOffer: [{\n type: Input\n }], lcid: [{\n type: Input\n }] } });\n\nclass CardLinkOffersListComponent {\n constructor(cardLinkOffersQuery, cardLinkOffersService, memberQuery) {\n this.cardLinkOffersQuery = cardLinkOffersQuery;\n this.cardLinkOffersService = cardLinkOffersService;\n this.memberQuery = memberQuery;\n this.labelName = '';\n this.horizontalLine = true;\n this._destroyed$ = new Subject();\n this.showMoreButton = false;\n }\n ngOnInit() {\n this.lcid = this.memberQuery.getUserContext().lcid;\n this.cardLinkOffersService.fatchAffiliateOffer().toPromise();\n this.fetchOffers();\n }\n /**\n * Detect the input changes\n * and fatch the offers\n */\n ngOnChanges(changes) {\n if (!changes.cardLinkOfferOptions.firstChange) {\n this.fetchOffers();\n }\n }\n /**\n *@return the offers according to the types\n *it take the values from cardLinkOfferOptions model and do accordting\n *to the configurations\n */\n fetchOffers() {\n switch (this.cardLinkOfferOptions.offerType) {\n case 1:\n this.offers$ = this.cardLinkOffersQuery.selectAllOffer(this.cardLinkOfferOptions.limit);\n this.offerCount$ = this.cardLinkOffersQuery.selectCount();\n break;\n case 2:\n this.offers$ = this.cardLinkOffersQuery.featuredOffers(this.cardLinkOfferOptions.limit);\n this.offerCount$ = this.cardLinkOffersQuery.featuredOffersCount();\n break;\n case 3:\n this.offers$ = this.cardLinkOffersQuery.selectRecommendedOffers(this.cardLinkOfferOptions.excludingOfferId, this.cardLinkOfferOptions.limit);\n this.offerCount$ = this.cardLinkOffersQuery.recommendOffersCount(this.cardLinkOfferOptions.excludingOfferId);\n break;\n case 4:\n this.offers$ = this.cardLinkOffersQuery.selectOtherOffer(this.cardLinkOfferOptions.companyID, this.cardLinkOfferOptions.excludingOfferId, this.cardLinkOfferOptions.limit);\n this.offerCount$ = this.cardLinkOffersQuery.selectOtherOfferCount(this.cardLinkOfferOptions.companyID, this.cardLinkOfferOptions.excludingOfferId);\n break;\n case 5:\n this.offers$ = this.cardLinkOffersQuery.selectActivatedOffer(this.cardLinkOfferOptions.limit);\n this.offerCount$ = this.cardLinkOffersQuery.selectActivatedOffersCount();\n break;\n case 6:\n this.cardLinkOfferOptions.showMoreButton = false;\n this.cardLinkOfferOptions.limit = 0;\n this.offers$ = this.cardLinkOfferOptions.customOffersData;\n break;\n default:\n this.offers$ = this.cardLinkOffersQuery.selectAll();\n this.offerCount$ = this.cardLinkOffersQuery.selectCount();\n break;\n }\n this.getCount(this.offerCount$);\n }\n getCount(count) {\n count.pipe(takeUntil(this._destroyed$)).subscribe((res) => {\n this.offerCount = res ?? 0;\n this.checkCardLinkOptions();\n });\n }\n checkCardLinkOptions() {\n if (this.cardLinkOfferOptions.showMoreIncrement &&\n this.cardLinkOfferOptions.showMoreButton &&\n this.cardLinkOfferOptions?.limit) {\n if (this.offerCount > this.cardLinkOfferOptions.limit && this.cardLinkOfferOptions.limit != 0) {\n this.showMoreButton = true;\n }\n else {\n this.showMoreButton = false;\n }\n }\n else {\n this.showMoreButton = false;\n }\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOffersListComponent, deps: [{ token: i1.CardLinkOffersQuery }, { token: i1.CardLinkOffersService }, { token: i1.MemberQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkOffersListComponent, selector: \"fgbcl-card-link-offers-list\", inputs: { cardLinkOfferOptions: \"cardLinkOfferOptions\", labelName: \"labelName\", horizontalLine: \"horizontalLine\" }, usesOnChanges: true, ngImport: i0, template: \"\\r\\n 0\\\">\\r\\n

{{ labelName | translate }}

\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n expand_more\\r\\n {{ 'fgbcl.card.linking.offer.show.more.label' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: CardLinkOfferItemComponent, selector: \"fgbcl-card-link-offer-item\", inputs: [\"cardLinkOffer\", \"lcid\"] }, { kind: \"pipe\", type: i2$1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOffersListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-offers-list', template: \"\\r\\n 0\\\">\\r\\n

{{ labelName | translate }}

\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n expand_more\\r\\n {{ 'fgbcl.card.linking.offer.show.more.label' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.CardLinkOffersQuery }, { type: i1.CardLinkOffersService }, { type: i1.MemberQuery }], propDecorators: { cardLinkOfferOptions: [{\n type: Input\n }], labelName: [{\n type: Input\n }], horizontalLine: [{\n type: Input\n }] } });\n\nclass CardLinkSuccessContentComponent {\n constructor() {\n this.googleIconName1 = 'credit_card';\n this.googleIconName2 = 'star';\n this.googleIconName3 = 'emoji_events';\n this.routerLink = '/affiliate/alloffers';\n }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkSuccessContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkSuccessContentComponent, selector: \"fgbcl-card-link-success-content\", inputs: { googleIconName1: \"googleIconName1\", googleIconName2: \"googleIconName2\", googleIconName3: \"googleIconName3\", routerLink: \"routerLink\" }, ngImport: i0, template: \"\\r\\n\\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkSuccessContentComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-success-content', template: \"\\r\\n\\r\\n\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { googleIconName1: [{\n type: Input\n }], googleIconName2: [{\n type: Input\n }], googleIconName3: [{\n type: Input\n }], routerLink: [{\n type: Input\n }] } });\n\nclass CardLinkedListComponent {\n constructor() {\n this.customOptions = {\n autoWidth: true,\n margin: OwlCarouselSettings.Margin,\n pullDrag: false,\n navSpeed: 700,\n navText: ['', ''],\n responsive: {\n 0: { items: 1 },\n 540: { items: 3 },\n 740: { items: 5 },\n },\n };\n this.screenType = ScreenType;\n }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkedListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkedListComponent, selector: \"fgbcl-card-linked-list\", inputs: { linkedCardList: \"linkedCardList\" }, ngImport: i0, template: \"\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"component\", type: i3$1.CarouselComponent, selector: \"owl-carousel-o\", inputs: [\"options\"], outputs: [\"translated\", \"dragging\", \"change\", \"changed\", \"initialized\"] }, { kind: \"directive\", type: i3$1.CarouselSlideDirective, selector: \"ng-template[carouselSlide]\", inputs: [\"id\", \"dataMerge\", \"width\", \"dotContent\", \"dataHash\"] }, { kind: \"directive\", type: i4.IfScreenSizeDirective, selector: \"[ifScreenSize]\", inputs: [\"ifScreenSize\"] }, { kind: \"directive\", type: i4.CustomOwlCarousel, selector: \"owl-carousel-o\" }, { kind: \"component\", type: CardLinkedSingleComponent, selector: \"fgbcl-card-linked-single\", inputs: [\"linkedCard\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkedListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-linked-list', template: \"\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { linkedCardList: [{\n type: Input\n }] } });\n\nclass CardLinkedTransactionsListComponent {\n constructor(transactionService, transactionQuery, scroller) {\n this.transactionService = transactionService;\n this.transactionQuery = transactionQuery;\n this.scroller = scroller;\n this.dateFormat = 'MMM DD, YYYY';\n this.minDate = new Date('Aug 01,2022');\n this.transactionType = TransactionType.cardlink;\n this.keys = Object.keys;\n this.loading = false;\n this.hasTransactions = false;\n this.keepOrder = (a, b) => a.key;\n }\n ngOnInit() {\n this.transactionEndDate = this.transactionEndDate || new Date();\n this.transactionStartDate = new Date();\n this.transactionStartDate.setDate(new Date(this.transactionStartDate).getDate() - 1);\n this.getTransactions();\n }\n ngOnChanges(changes) {\n if (changes.startDate || changes.endDate || changes.transactionType) {\n if (changes.memberId) {\n this.getTransactions();\n }\n }\n }\n /**\n Fatch Transaction according to date range\n */\n getTransactions() {\n const transactionEndDate = new Date(this.transactionEndDate);\n this.transactionStartDate.setHours(0, 0, 0);\n transactionEndDate.setHours(23, 59, 59);\n this.loading = true;\n this.transactions$ = this.transactionService\n .fetchTransactions(this.transactionStartDate, transactionEndDate, this.memberId, this.transactionType)\n .pipe(switchMap(() => this.transactionQuery.selectTransactions(this.transactionStartDate, transactionEndDate, this.transactionType)), map((t) => {\n return this._groupByTransactionDate(t);\n }), tap((groupedTransactions) => {\n this.hasTransactions = Object.keys(groupedTransactions).length > 0;\n this.loading = false;\n }));\n this.scroller.scrollToAnchor('cardTransactionList');\n }\n _groupByTransactionDate(transactions) {\n // sort by date descending\n const sorted = transactions.sort((a, b) => new Date(b.TransactionDateUTC).getTime() - new Date(a.TransactionDateUTC).getTime());\n // group into object with stringified dates as keys\n return sorted.reduce((grouped, tx) => {\n const txDate = moment(tx.TransactionDateUTC).format(this.dateFormat);\n if (grouped[txDate]) {\n grouped[txDate].push(tx);\n }\n else {\n grouped[txDate] = [tx];\n }\n return grouped;\n }, {});\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkedTransactionsListComponent, deps: [{ token: i1.TransactionService }, { token: i1.TransactionQuery }, { token: i2$1.ViewportScroller }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkedTransactionsListComponent, selector: \"fgbcl-card-linked-transactions-list\", inputs: { transactionStartDate: \"transactionStartDate\", transactionEndDate: \"transactionEndDate\", memberId: \"memberId\", dateFormat: \"dateFormat\", minDate: \"minDate\" }, usesOnChanges: true, ngImport: i0, template: \"
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.transaction.date.label' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.transaction.description.label' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.transaction.detail.label' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'fgbcl.card.linking.transaction.currency.label' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ transaction.TransactionDateUTC | UtcToLocaltimePipe: dateFormat | uppercase }}\\r\\n
\\r\\n
{{ transaction.TransactionDescription }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n = 0 ? 'text-success' : 'text-danger'\\\"\\r\\n >\\r\\n {{ transaction.Amount >= 0 ? '+' : '' }}{{ transaction.Amount | FortressCurrencyPipe: 'PTS' }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.transaction.status.pending.text' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n history\\r\\n
\\r\\n {{ 'fgbcl.card.linking.no.transaction.date.label' | translate }}\\r\\n
\\r\\n

\\r\\n {{ 'fgbcl.card.linking.no.transaction.date.description' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\".icon{font-size:66px;color:#999}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3$2.DateRangePickerComponent, selector: \"fgbcl-date-range-picker\", inputs: [\"minDate\", \"startDate\", \"endDate\"], outputs: [\"startDateChange\", \"endDateChange\"] }, { kind: \"component\", type: i4$2.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"pipe\", type: i2$1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i2$1.UpperCasePipe, name: \"uppercase\" }, { kind: \"pipe\", type: i2$1.KeyValuePipe, name: \"keyvalue\" }, { kind: \"pipe\", type: i5$1.FortressCurrencyPipe, name: \"FortressCurrencyPipe\" }, { kind: \"pipe\", type: i5$1.UtcToLocaltimePipe, name: \"UtcToLocaltimePipe\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkedTransactionsListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-linked-transactions-list', template: \"
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.transaction.date.label' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.transaction.description.label' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.transaction.detail.label' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'fgbcl.card.linking.transaction.currency.label' | translate }}
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ transaction.TransactionDateUTC | UtcToLocaltimePipe: dateFormat | uppercase }}\\r\\n
\\r\\n
{{ transaction.TransactionDescription }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n = 0 ? 'text-success' : 'text-danger'\\\"\\r\\n >\\r\\n {{ transaction.Amount >= 0 ? '+' : '' }}{{ transaction.Amount | FortressCurrencyPipe: 'PTS' }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.transaction.status.pending.text' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n history\\r\\n
\\r\\n {{ 'fgbcl.card.linking.no.transaction.date.label' | translate }}\\r\\n
\\r\\n

\\r\\n {{ 'fgbcl.card.linking.no.transaction.date.description' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\".icon{font-size:66px;color:#999}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.TransactionService }, { type: i1.TransactionQuery }, { type: i2$1.ViewportScroller }], propDecorators: { transactionStartDate: [{\n type: Input\n }], transactionEndDate: [{\n type: Input\n }], memberId: [{\n type: Input\n }], dateFormat: [{\n type: Input\n }], minDate: [{\n type: Input\n }] } });\n\nclass CategoryWidthPipe {\n transform(value) {\n let categoryLength = value.length;\n if (categoryLength <= 5) {\n return 60;\n }\n else {\n return categoryLength * 10;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CategoryWidthPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: CategoryWidthPipe, name: \"categoryWidth\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CategoryWidthPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'categoryWidth'\n }]\n }] });\nclass AffiliatesOffersCategoryFilterComponent {\n constructor(cardLinkOfferCategoriesQuery) {\n this.cardLinkOfferCategoriesQuery = cardLinkOfferCategoriesQuery;\n this.categoryTagIdEmitter = new EventEmitter();\n this.navButtons = false;\n this.categoryTagId = 0;\n }\n ngOnInit() {\n this.getCategories();\n this.customOptions = {\n autoWidth: true,\n margin: 1,\n pullDrag: true,\n dots: false,\n navSpeed: 700,\n nav: this.navButtons,\n navText: [\n 'chevron_left',\n 'chevron_right',\n ],\n };\n }\n /**\n * @fatch categories fom store\n */\n getCategories() {\n this.offersCategories$ = this.cardLinkOfferCategoriesQuery.selectAll();\n }\n /**\n * @emit the category ID\n */\n categoryEmitter(category) {\n if (this.categoryTagId != category.TagId) {\n this.categoryTagId = category.TagId;\n }\n else {\n this.categoryTagId = 0;\n }\n this.categoryTagIdEmitter.emit(this.categoryTagId);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AffiliatesOffersCategoryFilterComponent, deps: [{ token: i1.CardLinkOfferCategoriesQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: AffiliatesOffersCategoryFilterComponent, selector: \"fgbcl-affiliates-offers-category-filter\", inputs: { navButtons: \"navButtons\" }, outputs: { categoryTagIdEmitter: \"categoryTagIdEmitter\" }, ngImport: i0, template: \"\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n

{{ category.Name }}

\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2$1.NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { kind: \"component\", type: i3$1.CarouselComponent, selector: \"owl-carousel-o\", inputs: [\"options\"], outputs: [\"translated\", \"dragging\", \"change\", \"changed\", \"initialized\"] }, { kind: \"directive\", type: i3$1.CarouselSlideDirective, selector: \"ng-template[carouselSlide]\", inputs: [\"id\", \"dataMerge\", \"width\", \"dotContent\", \"dataHash\"] }, { kind: \"directive\", type: i4.CustomOwlCarousel, selector: \"owl-carousel-o\" }, { kind: \"pipe\", type: i2$1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: CategoryWidthPipe, name: \"categoryWidth\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AffiliatesOffersCategoryFilterComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-affiliates-offers-category-filter', template: \"\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n

{{ category.Name }}

\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.CardLinkOfferCategoriesQuery }], propDecorators: { categoryTagIdEmitter: [{\n type: Output\n }], navButtons: [{\n type: Input\n }] } });\n\nclass CardLinkExternalUrlModalComponent {\n constructor() { }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkExternalUrlModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkExternalUrlModalComponent, selector: \"fgbcl-card-link-external-url-modal\", inputs: { companyImageUrl: \"companyImageUrl\", clubImageUrl: \"clubImageUrl\", navigationUrl: \"navigationUrl\", offerDescription: \"offerDescription\" }, ngImport: i0, template: \"\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
arrow_forward_ios
\\r\\n
arrow_forward_ios
\\r\\n
\\r\\n
\\r\\n
arrow_forward_ios
\\r\\n
arrow_forward_ios
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n

\\r\\n {{ 'fgbcl.card.link.external.wrong.url.text' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i5$1.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkExternalUrlModalComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-external-url-modal', template: \"\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
arrow_forward_ios
\\r\\n
arrow_forward_ios
\\r\\n
\\r\\n
\\r\\n
arrow_forward_ios
\\r\\n
arrow_forward_ios
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n

\\r\\n {{ 'fgbcl.card.link.external.wrong.url.text' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { companyImageUrl: [{\n type: Input\n }], clubImageUrl: [{\n type: Input\n }], navigationUrl: [{\n type: Input\n }], offerDescription: [{\n type: Input\n }] } });\n\nclass CardLinkOfferDetailsComponent {\n constructor(memberQuery, modalService, cardLinkOffersService, router, cardLinkingQuery) {\n this.memberQuery = memberQuery;\n this.modalService = modalService;\n this.cardLinkOffersService = cardLinkOffersService;\n this.router = router;\n this.cardLinkingQuery = cardLinkingQuery;\n this.currentTab = 'description';\n this._destroyed$ = new Subject();\n this.clubImageUrl = '';\n }\n ngOnInit() {\n this.currentLcid = this.memberQuery.getUserContext().lcid;\n /**\n * Dismiss external modals if any opened. This is for a fix when\n * returning to the portal from an external link offer.\n */\n if (this.modalService.hasOpenModals()) {\n this.modalService.dismissAll();\n }\n }\n /**\n * to prevent multiple calls\n * fromEvent will make click action to button string\n * and the in pipe exhaustMap will make the call to api for fatch url\n * and privent if user click multiple time\n * after subscription will check if url exist then move to url\n */\n ngAfterViewInit() {\n if (!this.shopNowBtn) {\n return;\n }\n fromEvent(this.shopNowBtn.nativeElement, 'click')\n .pipe(exhaustMap(() => this.fatchNavigationtoOfferUrl()), takeUntil(this._destroyed$))\n .subscribe((activateOffer) => {\n this.cardLinkActivateOffer = activateOffer;\n if (activateOffer && activateOffer.ErrorNumber == 0) {\n this.openModel(this.modelContent);\n if (activateOffer.RedirectUrl.includes('http')) {\n setTimeout(() => {\n window.location.href = activateOffer.RedirectUrl;\n }, 3000);\n }\n }\n });\n }\n /**\n * fatch the URL from Navigation\n */\n fatchNavigationtoOfferUrl() {\n return this.cardLinkOffersService.companiesClaim(this.selectedOffer.OfferId);\n }\n /**\n * open model to display the navigation progress\n * @param content to open the ngbModel to display the navigation progress\n */\n openModel(content) {\n this.modalService.open(content, { centered: true, windowClass: 'card-link-navigation-url-model-custom-size' });\n }\n /**\n * to activate the offer or warn user to link card\n * if no card found within the card linking store.\n * @param offer id\n */\n activateOffer(offerId) {\n this.cardLinkingQuery\n .selectCount()\n .pipe(takeUntil(this._destroyed$))\n .subscribe((count) => {\n if (count > 0) {\n this.cardLinkOffersService.activateOffer(offerId).pipe(takeUntil(this._destroyed$)).subscribe();\n }\n else {\n this.modalService.open(this.cardNotLinkModal, { centered: true, ariaLabelledBy: 'modal-basic-title' });\n }\n });\n }\n /**\n * Unsubscribe the observables on distroy\n */\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n /**\n * Will close the modal and navigate the user\n * to link their card.\n */\n linkCard() {\n this.modalService.dismissAll();\n this.router.navigateByUrl('/linkcard');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOfferDetailsComponent, deps: [{ token: i1.MemberQuery }, { token: i2.NgbModal }, { token: i1.CardLinkOffersService }, { token: i3.Router }, { token: i1.CardLinkingQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkOfferDetailsComponent, selector: \"fgbcl-card-link-offer-details\", inputs: { cardLinkOfferDtail: \"cardLinkOfferDtail\", clubImageUrl: \"clubImageUrl\" }, viewQueries: [{ propertyName: \"shopNowBtn\", first: true, predicate: [\"shopNowBtn\"], descendants: true }, { propertyName: \"cardNotLinkModal\", first: true, predicate: [\"cardNotLinkModal\"], descendants: true, static: true }], ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n

{{ cardLinkOfferDtail.Content | currentLanguageContent: currentLcid:'Name' }}

\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n

\\r\\n star{{ 'fgbcl.card.linking.feature.offer.title' | translate }}\\r\\n

\\r\\n
\\r\\n\\r\\n

\\r\\n {{ cardLinkOfferDtail.Content | currentLanguageContent: currentLcid:'description' | shortText: 45 }}\\r\\n

\\r\\n\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.online.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.instore.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ 'fgbcl.offer.detail.tab-text-desc' | translate }}\\r\\n

\\r\\n \\r\\n

\\r\\n {{ 'fgbcl.offer.detail.tab-viewexem-text' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ cardLinkOfferDtail.Content | currentLanguageContent: currentLcid:'description' }}\\r\\n

\\r\\n

\\r\\n \\r\\n {{ cardLinkOfferDtail.TermsAndConditions }}\\r\\n \\r\\n

\\r\\n\\r\\n \\r\\n {{ 'fgbcl.offer.detail.activate.offer.button.text' | translate }}\\r\\n \\r\\n \\r\\n {{ 'fgbcl.offer.detail.shop.now.button.text' | translate }}\\r\\n \\r\\n \\r\\n \\r\\n

\\r\\n {{ 'fgbcl.offer.detail.activated.offer.button.text' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: CardLinkExternalUrlModalComponent, selector: \"fgbcl-card-link-external-url-modal\", inputs: [\"companyImageUrl\", \"clubImageUrl\", \"navigationUrl\", \"offerDescription\"] }, { kind: \"pipe\", type: i5$1.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i5$1.LongtoShortTextPipe, name: \"shortText\" }, { kind: \"pipe\", type: i5$1.ContentLanguageFilterPipe, name: \"currentLanguageContent\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOfferDetailsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-offer-details', template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n

{{ cardLinkOfferDtail.Content | currentLanguageContent: currentLcid:'Name' }}

\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n

\\r\\n star{{ 'fgbcl.card.linking.feature.offer.title' | translate }}\\r\\n

\\r\\n
\\r\\n\\r\\n

\\r\\n {{ cardLinkOfferDtail.Content | currentLanguageContent: currentLcid:'description' | shortText: 45 }}\\r\\n

\\r\\n\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.online.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.instore.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ 'fgbcl.offer.detail.tab-text-desc' | translate }}\\r\\n

\\r\\n \\r\\n

\\r\\n {{ 'fgbcl.offer.detail.tab-viewexem-text' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ cardLinkOfferDtail.Content | currentLanguageContent: currentLcid:'description' }}\\r\\n

\\r\\n

\\r\\n \\r\\n {{ cardLinkOfferDtail.TermsAndConditions }}\\r\\n \\r\\n

\\r\\n\\r\\n \\r\\n {{ 'fgbcl.offer.detail.activate.offer.button.text' | translate }}\\r\\n \\r\\n \\r\\n {{ 'fgbcl.offer.detail.shop.now.button.text' | translate }}\\r\\n \\r\\n \\r\\n \\r\\n

\\r\\n {{ 'fgbcl.offer.detail.activated.offer.button.text' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.MemberQuery }, { type: i2.NgbModal }, { type: i1.CardLinkOffersService }, { type: i3.Router }, { type: i1.CardLinkingQuery }], propDecorators: { shopNowBtn: [{\n type: ViewChild,\n args: ['shopNowBtn', { static: false }]\n }], cardLinkOfferDtail: [{\n type: Input\n }], clubImageUrl: [{\n type: Input\n }], cardNotLinkModal: [{\n type: ViewChild,\n args: ['cardNotLinkModal', { static: true }]\n }] } });\n\nclass CardLinkingSingleFeaturedOfferComponent {\n constructor() { }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkingSingleFeaturedOfferComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkingSingleFeaturedOfferComponent, selector: \"fgbcl-card-linking-single-featured-offer\", inputs: { featuredOffer: \"featuredOffer\", currentLcid: \"currentLcid\" }, ngImport: i0, template: \"\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ featuredOffer.Content | currentLanguageContent: currentLcid:'Name' }}

\\r\\n

\\r\\n {{ featuredOffer.Content | currentLanguageContent: currentLcid:'description' | shortText: 25:true }}\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.online.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.instore.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"pipe\", type: i5$1.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i5$1.LongtoShortTextPipe, name: \"shortText\" }, { kind: \"pipe\", type: i5$1.ContentLanguageFilterPipe, name: \"currentLanguageContent\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkingSingleFeaturedOfferComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-linking-single-featured-offer', template: \"\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ featuredOffer.Content | currentLanguageContent: currentLcid:'Name' }}

\\r\\n

\\r\\n {{ featuredOffer.Content | currentLanguageContent: currentLcid:'description' | shortText: 25:true }}\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.online.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.card.linking.succes.offer.instore.button.title' | translate }}\\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { featuredOffer: [{\n type: Input\n }], currentLcid: [{\n type: Input\n }] } });\n\nclass CardLinkingFeaturedOffersComponent {\n constructor(memberQuery, cardLinkOffersQuery, cardLinkOffersService) {\n this.memberQuery = memberQuery;\n this.cardLinkOffersQuery = cardLinkOffersQuery;\n this.cardLinkOffersService = cardLinkOffersService;\n this.numberOfOffers = 3;\n this.screenType = ScreenType;\n this.customOptions = {\n loop: true,\n autoHeight: false,\n autoWidth: false,\n margin: OwlCarouselSettings.Margin,\n autoplay: OwlCarouselSettings.Autoplay,\n autoplayTimeout: OwlCarouselSettings.AutoplayTimeout,\n autoplaySpeed: OwlCarouselSettings.AutoplaySpeed,\n navSpeed: 700,\n navText: ['', ''],\n responsive: {\n 0: { items: 1 },\n 540: { items: 2 },\n 740: { items: 3 },\n },\n };\n }\n ngOnInit() {\n this.currentLcid = this.memberQuery.getUserContext().lcid;\n this.cardLinkOffersService.fatchAffiliateOffer().toPromise();\n this.featuredOffers$ = this.cardLinkOffersQuery.featuredOffers(this.numberOfOffers);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkingFeaturedOffersComponent, deps: [{ token: i1.MemberQuery }, { token: i1.CardLinkOffersQuery }, { token: i1.CardLinkOffersService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkingFeaturedOffersComponent, selector: \"fgbcl-card-linking-featured-offers\", inputs: { numberOfOffers: \"numberOfOffers\" }, ngImport: i0, template: \"\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3$1.CarouselComponent, selector: \"owl-carousel-o\", inputs: [\"options\"], outputs: [\"translated\", \"dragging\", \"change\", \"changed\", \"initialized\"] }, { kind: \"directive\", type: i3$1.CarouselSlideDirective, selector: \"ng-template[carouselSlide]\", inputs: [\"id\", \"dataMerge\", \"width\", \"dotContent\", \"dataHash\"] }, { kind: \"directive\", type: i4.IfScreenSizeDirective, selector: \"[ifScreenSize]\", inputs: [\"ifScreenSize\"] }, { kind: \"directive\", type: i4.CustomOwlCarousel, selector: \"owl-carousel-o\" }, { kind: \"component\", type: CardLinkingSingleFeaturedOfferComponent, selector: \"fgbcl-card-linking-single-featured-offer\", inputs: [\"featuredOffer\", \"currentLcid\"] }, { kind: \"pipe\", type: i2$1.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkingFeaturedOffersComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-linking-featured-offers', template: \"\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.MemberQuery }, { type: i1.CardLinkOffersQuery }, { type: i1.CardLinkOffersService }], propDecorators: { numberOfOffers: [{\n type: Input\n }] } });\n\nclass CardLinkEarnStepsComponent {\n constructor() {\n this.cardTitle = '';\n this.stepOneText = '';\n this.stepTwoText = '';\n this.stepThreeText = '';\n this.stepOneSmallPrintText = '';\n this.stepTwoSmallPrintText = '';\n this.stepThreeSmallPrintText = '';\n this.stepOneIcon = '';\n this.stepTwoIcon = '';\n this.stepThreeIcon = '';\n this.horizontalLine = true;\n this.filled = true;\n this.border = false;\n }\n ngOnInit() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkEarnStepsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkEarnStepsComponent, selector: \"fgbcl-card-link-earn-steps\", inputs: { cardTitle: \"cardTitle\", stepOneText: \"stepOneText\", stepTwoText: \"stepTwoText\", stepThreeText: \"stepThreeText\", stepOneSmallPrintText: \"stepOneSmallPrintText\", stepTwoSmallPrintText: \"stepTwoSmallPrintText\", stepThreeSmallPrintText: \"stepThreeSmallPrintText\", stepOneIcon: \"stepOneIcon\", stepTwoIcon: \"stepTwoIcon\", stepThreeIcon: \"stepThreeIcon\", horizontalLine: \"horizontalLine\", filled: \"filled\", border: \"border\" }, ngImport: i0, template: \"\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkEarnStepsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-earn-steps', template: \"\\r\\n\" }]\n }], ctorParameters: () => [], propDecorators: { cardTitle: [{\n type: Input\n }], stepOneText: [{\n type: Input\n }], stepTwoText: [{\n type: Input\n }], stepThreeText: [{\n type: Input\n }], stepOneSmallPrintText: [{\n type: Input\n }], stepTwoSmallPrintText: [{\n type: Input\n }], stepThreeSmallPrintText: [{\n type: Input\n }], stepOneIcon: [{\n type: Input\n }], stepTwoIcon: [{\n type: Input\n }], stepThreeIcon: [{\n type: Input\n }], horizontalLine: [{\n type: Input\n }], filled: [{\n type: Input\n }], border: [{\n type: Input\n }] } });\n\nclass CardLinkFeaturedBrandsComponent {\n constructor(memberQuery, cardLinkAffiliatesService, cardLinkAffiliatesQuery, cardLinkOffersQuery) {\n this.memberQuery = memberQuery;\n this.cardLinkAffiliatesService = cardLinkAffiliatesService;\n this.cardLinkAffiliatesQuery = cardLinkAffiliatesQuery;\n this.cardLinkOffersQuery = cardLinkOffersQuery;\n this.Title = '';\n }\n ngOnInit() {\n this.userContext = this.memberQuery.getUserContext();\n this.cardLinkAffiliatesService.fetchAffiliates(this.userContext.clubId, this.userContext.lcid).toPromise();\n this.featuredPartners$ = this.cardLinkAffiliatesQuery.selectAll({\n filterBy: [({ Favourite }) => Favourite],\n });\n }\n /**\n * to navigate on first offer of selected brand\n */\n navigateToFirstOfferFromAffiliate(company) {\n this.cardLinkOffersQuery.navigateToCompaniesFirstOffer(company.CompanyId).subscribe().unsubscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkFeaturedBrandsComponent, deps: [{ token: i1.MemberQuery }, { token: i1.CardLinkAffiliatesService }, { token: i1.CardLinkAffiliatesQuery }, { token: i1.CardLinkOffersQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkFeaturedBrandsComponent, selector: \"fgbcl-card-link-featured-brands\", inputs: { Title: \"Title\" }, ngImport: i0, template: \"\\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i2$1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i2$1.SlicePipe, name: \"slice\" }, { kind: \"pipe\", type: i5$1.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkFeaturedBrandsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-featured-brands', template: \"\\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.MemberQuery }, { type: i1.CardLinkAffiliatesService }, { type: i1.CardLinkAffiliatesQuery }, { type: i1.CardLinkOffersQuery }], propDecorators: { Title: [{\n type: Input\n }] } });\n\nclass CardLinkOfferLocationsMapComponent {\n constructor(deviceDetectorService) {\n this.deviceDetectorService = deviceDetectorService;\n //Outputs\n this.selectedDepartmentID = new EventEmitter();\n this.mapInfo = {};\n }\n ngOnInit() {\n this.uniqeLocation = [...new Map(this.cardLinkOfferLocationDetails.map((item) => [item['City'], item])).values()];\n this.prepareMap();\n }\n onChange(locationCordinates) {\n let condinates = locationCordinates.split(':');\n if (condinates.length == 1) {\n this.mapZoom = 6;\n this.mapOptions = {\n center: new google.maps.LatLng(this.latitude, this.longitude),\n };\n this.mapCenter = {\n lat: this.latitude,\n lng: this.longitude,\n };\n }\n else {\n const latLng = new google.maps.LatLng(+condinates[0], +condinates[1]);\n this.mapOptions = {\n center: latLng,\n };\n this.mapCenter = latLng;\n this.mapZoom = 11;\n }\n }\n setValue(location) {\n return String(location.Latitude) + ':' + String(location.Longitude);\n }\n ngAfterViewInit() {\n // Align search box to center\n this.map.controls[google.maps.ControlPosition.TOP_LEFT].push(this.searchElementRef.nativeElement);\n }\n /** Centers the map on browser's location, sets map options and creates markers */\n prepareMap() {\n navigator.geolocation.getCurrentPosition((position) => {\n this.mapCenter = {\n lat: this.latitude,\n lng: this.longitude,\n };\n });\n this.mapZoom = 6;\n this.mapHeight = this.deviceDetectorService.isMobile() ? '460px' : '670px';\n this.mapOptions = {\n mapTypeId: 'roadmap',\n zoomControl: true,\n scrollwheel: true,\n disableDoubleClickZoom: true,\n center: new google.maps.LatLng(this.latitude, this.longitude),\n };\n this.updateMarkers();\n }\n /** Updates the markers shown on the map from the offers list\n * @param offer company offers to make the markers from\n */\n updateMarkers() {\n this.customMarkers = [];\n this.cardLinkOfferLocationDetails.forEach((element) => {\n this.customMarkers.push({\n position: {\n lat: element.Latitude,\n lng: element.Longitude,\n },\n title: element.City,\n address: element.Address,\n options: { animation: google.maps.Animation.DROP },\n });\n });\n }\n /** Opens the info window from a specific marker\n * @param marker google maps marker to be used as anchor for the info window\n * @param departmentID department ID to get the info data from\n * @param emitSelection (optional) emit the selected department ID, to highlight the corresponding offers from the list\n */\n showMarkerDetails(marker, markerdetail, emitSelection) {\n this.mapInfo.title = markerdetail?.title;\n this.mapInfo.address = markerdetail?.address;\n this.openInfoWindow(marker);\n }\n /** Opens the info window corresponding to the selected marker\n * @param offer offer from which we want to display the marker's data\n */\n selectMarker(offer) {\n this.closeInfoWindow();\n const marker = this.findMapMarker(offer.DepartmentId);\n if (marker) {\n // this.showMarkerDetails(marker, offer.DepartmentId);\n }\n }\n /** Opens the info window\n * @param marker google maps marker to be used as anchor for the info window\n */\n openInfoWindow(marker) {\n this.infoWindow.open(marker);\n }\n /** Closes the info window and resets the department selection */\n closeInfoWindow() {\n this.infoWindow.close();\n }\n /** Looks for the map marker within the google map pins\n * @param departmentId ID of the department that should be found within the markers\n * @returns the google map pin used as anchor to display the info window\n */\n findMapMarker(departmentId) {\n const markersList = this.mapMarkersEl.toArray();\n const selectedCustomMarker = this.customMarkers.find((m) => m.departmentID === departmentId);\n if (selectedCustomMarker) {\n return markersList.find((m) => m.marker.title == selectedCustomMarker.title);\n }\n else {\n return undefined;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOfferLocationsMapComponent, deps: [{ token: i1$1.DeviceDetectorService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkOfferLocationsMapComponent, selector: \"fgbcl-card-link-offer-locations-map\", inputs: { offers: \"offers\", latitude: \"latitude\", longitude: \"longitude\", cardLinkOfferLocationDetails: \"cardLinkOfferLocationDetails\" }, outputs: { selectedDepartmentID: \"selectedDepartmentID\" }, viewQueries: [{ propertyName: \"infoWindow\", first: true, predicate: MapInfoWindow, descendants: true }, { propertyName: \"searchElementRef\", first: true, predicate: [\"search\"], descendants: true }, { propertyName: \"map\", first: true, predicate: GoogleMap, descendants: true }, { propertyName: \"mapMarkersEl\", predicate: MapMarker, descendants: true }], ngImport: i0, template: \"
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ mapInfo?.title }}\\r\\n
\\r\\n
\\r\\n {{ mapInfo?.address }}\\r\\n
\\r\\n
\\r\\n {{ mapInfo?.description }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".my-search-box{margin:10px;width:300px}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i5.NgSelectOption, selector: \"option\", inputs: [\"ngValue\", \"value\"] }, { kind: \"directive\", type: i5.ɵNgSelectMultipleOption, selector: \"option\", inputs: [\"ngValue\", \"value\"] }, { kind: \"component\", type: i4$3.GoogleMap, selector: \"google-map\", inputs: [\"height\", \"width\", \"mapTypeId\", \"center\", \"zoom\", \"options\"], outputs: [\"mapInitialized\", \"authFailure\", \"boundsChanged\", \"centerChanged\", \"mapClick\", \"mapDblclick\", \"mapDrag\", \"mapDragend\", \"mapDragstart\", \"headingChanged\", \"idle\", \"maptypeidChanged\", \"mapMousemove\", \"mapMouseout\", \"mapMouseover\", \"projectionChanged\", \"mapRightclick\", \"tilesloaded\", \"tiltChanged\", \"zoomChanged\"], exportAs: [\"googleMap\"] }, { kind: \"directive\", type: i4$3.MapInfoWindow, selector: \"map-info-window\", inputs: [\"options\", \"position\"], outputs: [\"closeclick\", \"contentChanged\", \"domready\", \"positionChanged\", \"zindexChanged\"], exportAs: [\"mapInfoWindow\"] }, { kind: \"directive\", type: i4$3.MapMarker, selector: \"map-marker\", inputs: [\"title\", \"position\", \"label\", \"clickable\", \"options\", \"icon\", \"visible\"], outputs: [\"animationChanged\", \"mapClick\", \"clickableChanged\", \"cursorChanged\", \"mapDblclick\", \"mapDrag\", \"mapDragend\", \"draggableChanged\", \"mapDragstart\", \"flatChanged\", \"iconChanged\", \"mapMousedown\", \"mapMouseout\", \"mapMouseover\", \"mapMouseup\", \"positionChanged\", \"mapRightclick\", \"shapeChanged\", \"titleChanged\", \"visibleChanged\", \"zindexChanged\"], exportAs: [\"mapMarker\"] }, { kind: \"pipe\", type: i5$1.ContentImagePipe, name: \"contentImage\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOfferLocationsMapComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-offer-locations-map', template: \"
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ mapInfo?.title }}\\r\\n
\\r\\n
\\r\\n {{ mapInfo?.address }}\\r\\n
\\r\\n
\\r\\n {{ mapInfo?.description }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\", styles: [\".my-search-box{margin:10px;width:300px}\\n\"] }]\n }], ctorParameters: () => [{ type: i1$1.DeviceDetectorService }], propDecorators: { offers: [{\n type: Input\n }], latitude: [{\n type: Input\n }], longitude: [{\n type: Input\n }], cardLinkOfferLocationDetails: [{\n type: Input\n }], selectedDepartmentID: [{\n type: Output\n }], infoWindow: [{\n type: ViewChild,\n args: [MapInfoWindow, { static: false }]\n }], mapMarkersEl: [{\n type: ViewChildren,\n args: [MapMarker]\n }], searchElementRef: [{\n type: ViewChild,\n args: ['search']\n }], map: [{\n type: ViewChild,\n args: [GoogleMap]\n }] } });\n\nclass CardLinkOfferLocationsListComponent {\n set cardLinkOfferLocationDetails(value) {\n if (value) {\n this._cardLinkOfferLocationDetails = value;\n this._init();\n }\n }\n get cardLinkOfferLocationDetails() {\n return this._cardLinkOfferLocationDetails;\n }\n constructor() {\n this.pageNo = 1;\n this.intialHeight = 0;\n this.listHeight = 0;\n this.showAnimation = true;\n this.pageSize = 6;\n this._destroyed$ = new Subject();\n }\n ngOnInit() {\n if (!this.showAnimation) {\n return;\n }\n fromEvent(window, 'resize')\n .pipe(map(() => window.innerWidth < 992), distinctUntilChanged(), takeUntil(this._destroyed$))\n .subscribe(() => {\n // Re-initialize height if switched to mobile to get initial height\n this.pageNo = 1;\n setTimeout(() => (this.intialHeight = this.listHeight = this.listContainer.nativeElement.clientHeight));\n });\n }\n ngOnDestroy() {\n this._destroyed$.next();\n this._destroyed$.complete();\n }\n _init() {\n this.locationCount = this.cardLinkOfferLocationDetails.length;\n this.totalPage = Math.ceil(this.locationCount / this.pageSize);\n setTimeout(() => (this.intialHeight = this.listHeight = this.listContainer.nativeElement.clientHeight));\n }\n showMore() {\n if (this.pageNo === this.totalPage) {\n return;\n }\n this.pageNo++;\n this._initHeight();\n }\n showLess() {\n this.pageNo = 1;\n this._initHeight();\n }\n _initHeight() {\n setTimeout(() => {\n this.listHeight = this.listContainer.nativeElement.clientHeight;\n }, 300);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOfferLocationsListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkOfferLocationsListComponent, selector: \"fgbcl-card-link-offer-locations-list\", inputs: { showAnimation: \"showAnimation\", pageSize: \"pageSize\", cardLinkOfferLocationDetails: \"cardLinkOfferLocationDetails\" }, viewQueries: [{ propertyName: \"listContainer\", first: true, predicate: [\"listContainer\"], descendants: true, read: ElementRef }], ngImport: i0, template: \"
\\r\\n\", styles: [\".row{align-content:baseline}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i2$1.SlicePipe, name: \"slice\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }], animations: [fgbAnimations] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOfferLocationsListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-offer-locations-list', animations: [fgbAnimations], template: \"\\r\\n\", styles: [\".row{align-content:baseline}\\n\"] }]\n }], ctorParameters: () => [], propDecorators: { showAnimation: [{\n type: Input\n }], pageSize: [{\n type: Input\n }], cardLinkOfferLocationDetails: [{\n type: Input\n }], listContainer: [{\n type: ViewChild,\n args: ['listContainer', { read: ElementRef, static: false }]\n }] } });\n\nclass CardLinkOfferLocationsComponent {\n set options(value) {\n this._options = { ...this._options, ...value };\n }\n get options() {\n return this._options;\n }\n constructor(cardLinkOfferLocationsService, cardLinkOfferLocationsQuery) {\n this.cardLinkOfferLocationsService = cardLinkOfferLocationsService;\n this.cardLinkOfferLocationsQuery = cardLinkOfferLocationsQuery;\n this._options = { showLocations: false, showMap: false, animate: true };\n this.currentTab = 'list-view';\n }\n ngOnInit() {\n if (!this.options.showLocations) {\n return;\n }\n this.cardLinkOfferLocationsService.fetchOfferLocations(this.offerId).toPromise();\n this.cardLinkOfferLocations$ = this.cardLinkOfferLocationsQuery.selectEntity(this.offerId);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOfferLocationsComponent, deps: [{ token: i1.CardLinkOfferLocationsService }, { token: i1.CardLinkOfferLocationsQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CardLinkOfferLocationsComponent, selector: \"fgbcl-card-link-offer-locations\", inputs: { offerId: \"offerId\", latitude: \"latitude\", longitude: \"longitude\", options: \"options\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n
\\r\\n

{{ 'fgbcl.cardlink.offer.location.label' | translate }}

\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n format_list_bulleted \\r\\n {{ 'fgbcl.cardlink.offer.location.list.view.text' | translate }}\\r\\n
\\r\\n
\\r\\n map \\r\\n {{ 'fgbcl.cardlink.offer.location.map.view.text' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: CardLinkOfferLocationsMapComponent, selector: \"fgbcl-card-link-offer-locations-map\", inputs: [\"offers\", \"latitude\", \"longitude\", \"cardLinkOfferLocationDetails\"], outputs: [\"selectedDepartmentID\"] }, { kind: \"component\", type: CardLinkOfferLocationsListComponent, selector: \"fgbcl-card-link-offer-locations-list\", inputs: [\"showAnimation\", \"pageSize\", \"cardLinkOfferLocationDetails\"] }, { kind: \"pipe\", type: i2$1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i4$1.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkOfferLocationsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-card-link-offer-locations', template: \"
\\r\\n
\\r\\n
\\r\\n

{{ 'fgbcl.cardlink.offer.location.label' | translate }}

\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n format_list_bulleted \\r\\n {{ 'fgbcl.cardlink.offer.location.list.view.text' | translate }}\\r\\n
\\r\\n
\\r\\n map \\r\\n {{ 'fgbcl.cardlink.offer.location.map.view.text' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.CardLinkOfferLocationsService }, { type: i1.CardLinkOfferLocationsQuery }], propDecorators: { offerId: [{\n type: Input\n }], latitude: [{\n type: Input\n }], longitude: [{\n type: Input\n }], options: [{\n type: Input\n }] } });\n\nclass CardLinkModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkModule, declarations: [CardLinkButtonComponent,\n CardLinkedSingleComponent,\n CardLinkedListComponent,\n CardLinkedTransactionsListComponent,\n CardLinkSuccessContentComponent,\n CardLinkOfferItemComponent,\n CardLinkOffersListComponent,\n AffiliatesOffersCategoryFilterComponent,\n CardLinkOfferDetailsComponent,\n CardLinkExternalUrlModalComponent,\n CardLinkingFeaturedOffersComponent,\n CardLinkEarnStepsComponent,\n CardLinkFeaturedBrandsComponent,\n CardLinkingSingleFeaturedOfferComponent,\n CardLinkOfferLocationsComponent,\n CardLinkOfferLocationsMapComponent,\n CardLinkOfferLocationsListComponent,\n CategoryWidthPipe], imports: [CommonModule,\n NgbModule,\n DateRangePickerModule,\n PipesModule,\n CarouselModule,\n LoadingModule,\n RouterModule,\n DirectivesModule,\n FormsModule,\n GoogleMapsModule,\n TermsAndConditionsModule,\n FGBSharedModule], exports: [CardLinkButtonComponent,\n CardLinkedSingleComponent,\n CardLinkedListComponent,\n CardLinkedTransactionsListComponent,\n CardLinkSuccessContentComponent,\n CardLinkOfferItemComponent,\n CardLinkOffersListComponent,\n AffiliatesOffersCategoryFilterComponent,\n CardLinkOfferDetailsComponent,\n CardLinkExternalUrlModalComponent,\n CardLinkingFeaturedOffersComponent,\n CardLinkEarnStepsComponent,\n CardLinkFeaturedBrandsComponent,\n CardLinkOfferLocationsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkModule, imports: [CommonModule,\n NgbModule,\n DateRangePickerModule,\n PipesModule,\n CarouselModule,\n LoadingModule,\n RouterModule,\n DirectivesModule,\n FormsModule,\n GoogleMapsModule,\n TermsAndConditionsModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardLinkModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n CardLinkButtonComponent,\n CardLinkedSingleComponent,\n CardLinkedListComponent,\n CardLinkedTransactionsListComponent,\n CardLinkSuccessContentComponent,\n CardLinkOfferItemComponent,\n CardLinkOffersListComponent,\n AffiliatesOffersCategoryFilterComponent,\n CardLinkOfferDetailsComponent,\n CardLinkExternalUrlModalComponent,\n CardLinkingFeaturedOffersComponent,\n CardLinkEarnStepsComponent,\n CardLinkFeaturedBrandsComponent,\n CardLinkingSingleFeaturedOfferComponent,\n CardLinkOfferLocationsComponent,\n CardLinkOfferLocationsMapComponent,\n CardLinkOfferLocationsListComponent,\n CategoryWidthPipe\n ],\n imports: [\n CommonModule,\n NgbModule,\n DateRangePickerModule,\n PipesModule,\n CarouselModule,\n LoadingModule,\n RouterModule,\n DirectivesModule,\n FormsModule,\n GoogleMapsModule,\n TermsAndConditionsModule,\n FGBSharedModule\n ],\n exports: [\n CardLinkButtonComponent,\n CardLinkedSingleComponent,\n CardLinkedListComponent,\n CardLinkedTransactionsListComponent,\n CardLinkSuccessContentComponent,\n CardLinkOfferItemComponent,\n CardLinkOffersListComponent,\n AffiliatesOffersCategoryFilterComponent,\n CardLinkOfferDetailsComponent,\n CardLinkExternalUrlModalComponent,\n CardLinkingFeaturedOffersComponent,\n CardLinkEarnStepsComponent,\n CardLinkFeaturedBrandsComponent,\n CardLinkOfferLocationsComponent\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AffiliatesOffersCategoryFilterComponent, CardLinkButtonComponent, CardLinkEarnStepsComponent, CardLinkExternalUrlModalComponent, CardLinkFeaturedBrandsComponent, CardLinkModule, CardLinkOfferDetailsComponent, CardLinkOfferItemComponent, CardLinkOfferLocationsComponent, CardLinkOfferLocationsListComponent, CardLinkOfferLocationsMapComponent, CardLinkOffersListComponent, CardLinkSuccessContentComponent, CardLinkedListComponent, CardLinkedSingleComponent, CardLinkedTransactionsListComponent, CardLinkingFeaturedOffersComponent, CardLinkingSingleFeaturedOfferComponent, CategoryWidthPipe };\n","
\r\n
\r\n

{{ 'card.linking.page.title' | translate }}

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n

\r\n history\r\n {{ 'card.linking.transaction.history.title' | translate }}\r\n

\r\n

\r\n {{ 'card.linking.transaction.history.description' | translate }}\r\n

\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport {\r\n CardLinkingFidelCountries,\r\n CardLinkingQuery,\r\n CardLinkingService,\r\n CardLinkingSettings,\r\n LinkedCard,\r\n MemberQuery,\r\n} from '@fgb/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-card-linking-page',\r\n templateUrl: './card-linking-page.component.html',\r\n styleUrls: ['./card-linking-page.component.scss'],\r\n})\r\nexport class CardLinkingPageComponent implements OnInit {\r\n screenType = ScreenType;\r\n\r\n linkedCardList$: Observable;\r\n memberId: string;\r\n dateFormat: string = 'MMM D, YYYY - hh:mm a';\r\n minDate = new Date('Aug 2,2022');\r\n cardLinkingSettings: CardLinkingSettings = {\r\n allowMultipleCardLinking: false,\r\n };\r\n countries: CardLinkingFidelCountries[] = [CardLinkingFidelCountries.GBR, CardLinkingFidelCountries.USA];\r\n constructor(\r\n private cardLinkingServices: CardLinkingService,\r\n private cardLinkingQuary: CardLinkingQuery,\r\n private memberQuery: MemberQuery\r\n ) {}\r\n\r\n ngOnInit(): void {\r\n this.memberId = this.memberId || this.memberQuery.getUserContext().memberId;\r\n firstValueFrom(this.cardLinkingServices.fetchFidelLinkedCard());\r\n this.getLinkedCards();\r\n }\r\n\r\n /* Fetch the list of linked cards from the api*/\r\n getLinkedCards() {\r\n this.linkedCardList$ = this.cardLinkingQuary.selectAll();\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { CardLinkingService, CardLinkOfferOptions, CardLinkOfferType } from '@fgb/core';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-card-linking-success-page',\r\n templateUrl: './card-linking-success-page.component.html',\r\n styleUrls: ['./card-linking-success-page.component.scss'],\r\n})\r\nexport class CardLinkingSuccessPageComponent implements OnInit {\r\n cardLinkOfferOptionsRecommendedOffers: CardLinkOfferOptions = {\r\n offerType: CardLinkOfferType.OffersYouMayLike,\r\n limit: 4,\r\n showMoreButton: false,\r\n showMoreIncrement: 2,\r\n };\r\n\r\n constructor(private cardLinkingServices: CardLinkingService) {}\r\n\r\n ngOnInit(): void {\r\n firstValueFrom(this.cardLinkingServices.fetchFidelLinkedCard());\r\n }\r\n}\r\n","\r\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Output, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport * as i2 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass SharedSearchBarComponent {\n constructor() {\n this.searchTextEmitter = new EventEmitter();\n }\n ngOnInit() {\n }\n search() {\n this.searchTextEmitter.emit(this.searchText);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SharedSearchBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: SharedSearchBarComponent, selector: \"fgbcl-shared-search-bar\", outputs: { searchTextEmitter: \"searchTextEmitter\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n search\\r\\n \\r\\n
\\r\\n\", styles: [\"button{margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.form-control{border-radius:5px 0 0 5px}\\n\"], dependencies: [{ kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"pipe\", type: i2.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SharedSearchBarComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-shared-search-bar', template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n search\\r\\n \\r\\n
\\r\\n\", styles: [\"button{margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.form-control{border-radius:5px 0 0 5px}\\n\"] }]\n }], ctorParameters: () => [], propDecorators: { searchTextEmitter: [{\n type: Output\n }] } });\n\nclass SharedSearchBarModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SharedSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: SharedSearchBarModule, declarations: [SharedSearchBarComponent], imports: [CommonModule,\n FormsModule,\n FGBSharedModule], exports: [SharedSearchBarComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SharedSearchBarModule, imports: [CommonModule,\n FormsModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SharedSearchBarModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n SharedSearchBarComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n FGBSharedModule\n ],\n exports: [\n SharedSearchBarComponent\n ]\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { SharedSearchBarComponent, SharedSearchBarModule };\n","
\r\n

{{ 'card.link.offers.featured.title' | translate }}

\r\n \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n

\r\n {{ 'card.link.offers.toolbar.title' | translate }}\r\n

\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n

{{ 'card.link.offers.categories.title' | translate }}

\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n manage_search \r\n

{{ 'card.link.no.search.offer.text' | translate }}

\r\n

{{ 'card.link.no.search.offer.text.suggestion' | translate }}

\r\n
\r\n
\r\n\r\n\r\n \r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { CardLinkOfferOptions, \r\n CardLinkOfferType, \r\n Company, \r\n UserContext, \r\n CardLinkOffersQuery } from '@fgb/core';\r\nimport { ScreenType } from '@fgb/portal-component-library/src/lib/directives';\r\n\r\n@Component({\r\n selector: 'fgb-card-link-all-offers-page',\r\n templateUrl: './card-link-all-offers-page.component.html',\r\n styleUrls: ['./card-link-all-offers-page.component.scss'],\r\n})\r\nexport class CardLinkAllOffersPageComponent implements OnInit {\r\n userContext: UserContext;\r\n searchText: string = '';\r\n categorytagID: number = 0;\r\n screenType = ScreenType;\r\n cardLinkOfferOptions: CardLinkOfferOptions;\r\n\r\n constructor(private cardLinkOffersQuery: CardLinkOffersQuery) {}\r\n\r\n ngOnInit(): void {\r\n this.getOffers();\r\n }\r\n\r\n getOffers() {\r\n if (this.categorytagID == 0 && this.searchText == '') {\r\n this.cardLinkOfferOptions = {\r\n offerType: CardLinkOfferType.AllOffers,\r\n limit: 0,\r\n showMoreButton: true,\r\n showMoreIncrement: 4,\r\n };\r\n } else {\r\n this.cardLinkOfferOptions = {\r\n offerType: CardLinkOfferType.CustomOffersData,\r\n customOffersData: this.cardLinkOffersQuery.searchOffer(this.searchText, this.categorytagID),\r\n };\r\n }\r\n }\r\n\r\n navigateToFirstOfferFromAffiliate(company: Company) {\r\n this.cardLinkOffersQuery.navigateToCompaniesFirstOffer(company.CompanyId).subscribe().unsubscribe();\r\n }\r\n}\r\n","\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
    \r\n \r\n

    \r\n style\r\n {{ 'affiliate-tab-all-offers-text' | translate }}\r\n

    \r\n \r\n \r\n

    \r\n credit_score{{ 'affiliate-tab-my-offers-text' | translate }}\r\n ({{ activatedCount }})\r\n

    \r\n \r\n
\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { CardLinkingQuery, CardLinkingService, CardLinkOffersQuery } from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-card-link-affiliates-page',\r\n templateUrl: './card-link-affiliates-page.component.html',\r\n styleUrls: ['./card-link-affiliates-page.component.scss'],\r\n})\r\nexport class CardLinkAffiliatesPageComponent implements OnInit {\r\n activatedOffersCount$: Observable;\r\n linkedCardsCount$: Observable;\r\n\r\n constructor(\r\n private cardLinkOffersQuery: CardLinkOffersQuery,\r\n private cardLinkingServices: CardLinkingService,\r\n private cardLinkingQuery: CardLinkingQuery\r\n ) {}\r\n\r\n ngOnInit(): void {\r\n firstValueFrom(this.cardLinkingServices.fetchFidelLinkedCard());\r\n this.activatedOffersCount$ = this.cardLinkOffersQuery.selectActivatedOffersCount();\r\n this.linkedCardsCount$ = this.cardLinkingQuery.selectCount();\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { CardLinkOfferOptions, CardLinkOfferType } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-card-link-activated-offers-page',\r\n templateUrl: './card-link-activated-offers-page.component.html',\r\n styleUrls: ['./card-link-activated-offers-page.component.scss'],\r\n})\r\nexport class CardLinkActivatedOffersPageComponent implements OnInit {\r\n \r\n cardLinkOfferOptionsActivatedOffers: CardLinkOfferOptions = {\r\n offerType: CardLinkOfferType.ActivatedOffers,\r\n limit: 4,\r\n showMoreButton: true,\r\n showMoreIncrement: 4,\r\n };\r\n\r\n cardLinkOfferOptionsRecommendedOffers: CardLinkOfferOptions = {\r\n offerType: CardLinkOfferType.OffersYouMayLike,\r\n limit: 4,\r\n showMoreButton: false,\r\n showMoreIncrement: 1,\r\n };\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n","\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n","import { Component, OnDestroy, OnInit } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { CardLinkingService, \r\n CardLinkOfferOptions, \r\n CardLinkOfferType, \r\n CardLinkOffersQuery, \r\n CardLinkOffersService, \r\n CardLinkOffer } from '@fgb/core';\r\nimport { Observable, Subject, firstValueFrom } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n@Component({\r\n selector: 'fgb-card-link-offer-details-page',\r\n templateUrl: './card-link-offer-details-page.component.html',\r\n styleUrls: ['./card-link-offer-details-page.component.scss'],\r\n})\r\nexport class CardLinkOfferDetailsPageComponent implements OnInit, OnDestroy {\r\n offerId: number;\r\n cardLinkOfferDetail$: Observable;\r\n\r\n private _destroyed$ = new Subject();\r\n\r\n cardLinkOfferOptionsRecommendedOffers: CardLinkOfferOptions;\r\n\r\n cardLinkOfferOptionsOtherOffers: CardLinkOfferOptions;\r\n\r\n constructor(\r\n private route: ActivatedRoute,\r\n private cardLinkOffersService: CardLinkOffersService,\r\n private cardLinkOffersQuery: CardLinkOffersQuery,\r\n private router: Router,\r\n private cardLinkingServices: CardLinkingService\r\n ) {\r\n this.router.routeReuseStrategy.shouldReuseRoute = function () {\r\n return false;\r\n };\r\n }\r\n\r\n ngOnInit(): void {\r\n firstValueFrom(this.cardLinkingServices.fetchFidelLinkedCard());\r\n this.route.params.pipe(takeUntil(this._destroyed$)).subscribe((params) => {\r\n this.offerId = params['id'];\r\n this.cardLinkOfferOptionsRecommendedOffers = {\r\n offerType: CardLinkOfferType.OffersYouMayLike,\r\n limit: 4,\r\n showMoreButton: false,\r\n showMoreIncrement: 4,\r\n excludingOfferId: this.offerId,\r\n };\r\n });\r\n\r\n firstValueFrom(this.cardLinkOffersService.fatchAffiliateOffer());\r\n this.getOfferDetailsAndOtherOffer(this.offerId);\r\n }\r\n\r\n getOfferDetailsAndOtherOffer(offerId: number) {\r\n this.cardLinkOfferDetail$ = this.cardLinkOffersQuery.selectEntity(offerId);\r\n this.cardLinkOfferDetail$.pipe(takeUntil(this._destroyed$)).subscribe((offer) => {\r\n this.cardLinkOfferOptionsOtherOffers = {\r\n offerType: CardLinkOfferType.OtherOffers,\r\n limit: 4,\r\n showMoreButton: false,\r\n showMoreIncrement: 4,\r\n companyID: offer?.CompanyId,\r\n excludingOfferId: offerId,\r\n };\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this._destroyed$.next();\r\n this._destroyed$.complete();\r\n }\r\n}\r\n","import { HttpParams } from '@angular/common/http';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { AuthService, KeyCloakAuthService } from '@fgb/core';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-key-cloak-callback',\r\n templateUrl: './key-cloak-callback.component.html',\r\n styleUrls: ['./key-cloak-callback.component.scss'],\r\n})\r\nexport class KeyCloakCallbackComponent implements OnInit {\r\n cookieName: string = '_sa_sso_upid';\r\n constructor(\r\n private keyCloakAuthService: KeyCloakAuthService,\r\n private router: Router,\r\n private cookieService: CookieService,\r\n private authService: AuthService\r\n ) {}\r\n\r\n ngOnInit() {\r\n if (this.authService.isAuthenticated()) {\r\n // already logged in\r\n this.router.navigate(['/']);\r\n } else if (this.keyCloakAuthService.hasNamedCookie(this.cookieName)) {\r\n // login through cookies\r\n let domainCookie = this.getDomainCookie();\r\n this.authenticateDomainCookie(domainCookie);\r\n } else {\r\n // log through a code\r\n this.authenticateCode();\r\n }\r\n }\r\n\r\n /**\r\n * make request to authenticate domain\r\n * cookie if found.\r\n * If failed then will call authenticate JWT.\r\n * @param domainCookie domain cookie to\r\n * be authenticated.\r\n */\r\n authenticateDomainCookie(domainCookie: string) {\r\n firstValueFrom(this.keyCloakAuthService\r\n .loginUsingToken(domainCookie))\r\n .catch(() => {\r\n this.authenticateCode();\r\n });\r\n }\r\n\r\n /**\r\n * call to athenticate JWT\r\n * if failed response will return\r\n * user to login page.\r\n */\r\n authenticateCode() {\r\n let kccode = this.getProviderCodeToken('code');\r\n firstValueFrom(this.keyCloakAuthService\r\n .validateCode(kccode))\r\n .catch(() => {\r\n this.router.navigate(['/login']);\r\n });\r\n }\r\n\r\n /**\r\n * Get a query string parameter without case sensitivity.\r\n * @param parameter the parameter that you require the information for\r\n */\r\n getProviderCodeToken(parameter: string): string {\r\n const url = window.location.href;\r\n let paramValue;\r\n\r\n if (url.includes('?')) {\r\n const httpParams = new HttpParams({ fromString: url.split('?')[1] });\r\n paramValue = httpParams.get(parameter);\r\n }\r\n\r\n if (paramValue) {\r\n return paramValue;\r\n }\r\n return '';\r\n }\r\n\r\n /**\r\n * Will check if domain cookie exists\r\n * and return this as a string.\r\n * @returns domain cookie from\r\n * sports alliance domain\r\n */\r\n getDomainCookie(): string {\r\n let domainCookie = '';\r\n domainCookie = this.cookieService.get(this.cookieName);\r\n\r\n return domainCookie;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { HttpParams } from '@angular/common/http';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { AuthService, SeatGeekAuthService } from '@fgb/core';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-seatgeek-callback',\r\n templateUrl: './seatgeek-callback.component.html',\r\n styleUrls: ['./seatgeek-callback.component.scss'],\r\n})\r\nexport class SeatGeekCallbackComponent implements OnInit {\r\n cookieName: string = '_sa_sso_upid';\r\n constructor(\r\n private seatgeekAuthService: SeatGeekAuthService,\r\n private router: Router,\r\n private cookieService: CookieService,\r\n private authService: AuthService\r\n ) {}\r\n\r\n ngOnInit() {\r\n if (this.authService.isAuthenticated()) {\r\n // already logged in\r\n this.router.navigate(['/']);\r\n } else {\r\n // log through a code\r\n this.authenticateCode();\r\n }\r\n }\r\n\r\n /**\r\n * call to athenticate JWT\r\n * if failed response will return\r\n * user to login page.\r\n */\r\n authenticateCode() {\r\n let kccode = this.getProviderCodeToken('code');\r\n firstValueFrom(this.seatgeekAuthService\r\n .validateCode(kccode))\r\n .catch(() => {\r\n this.router.navigate(['/login']);\r\n });\r\n }\r\n\r\n /**\r\n * Get a query string parameter without case sensitivity.\r\n * @param parameter the parameter that you require the information for\r\n */\r\n getProviderCodeToken(parameter: string): string {\r\n const url = window.location.href;\r\n let paramValue;\r\n\r\n if (url.includes('?')) {\r\n const httpParams = new HttpParams({ fromString: url.split('?')[1] });\r\n paramValue = httpParams.get(parameter);\r\n }\r\n\r\n if (paramValue) {\r\n return paramValue;\r\n }\r\n return '';\r\n }\r\n\r\n /**\r\n * Will check if domain cookie exists\r\n * and return this as a string.\r\n * @returns domain cookie from\r\n * sports alliance domain\r\n */\r\n getDomainCookie(): string {\r\n let domainCookie = '';\r\n domainCookie = this.cookieService.get(this.cookieName);\r\n\r\n return domainCookie;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

{{ 'ticket.invite.page.title' | translate }}

\r\n \r\n

{{ 'ticket.invite.page.discription' | translate }}

\r\n
\r\n \r\n
{{ errorCodeKey | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { HttpErrorResponse } from '@angular/common/http';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { TicketService } from '@fgb/core';\r\n\r\n@Component({\r\n selector: 'fgb-ticket-invite-page-component',\r\n templateUrl: './ticket-invite-page-component.component.html',\r\n styleUrls: ['./ticket-invite-page-component.component.scss'],\r\n})\r\nexport class TicketInvitePageComponentComponent implements OnInit {\r\n isValidTicket: boolean = true;\r\n ticketKey: string = '';\r\n errorCodeKey: string;\r\n constructor(private ticketService: TicketService, private route: ActivatedRoute) {}\r\n\r\n ngOnInit(): void {\r\n this.ticketKey = this.getQueryString('ticketId', '');\r\n this.ticketService.validateTicketInviteKey(this.ticketKey).subscribe({\r\n next: () => {\r\n this.isValidTicket = true;\r\n this.errorCodeKey = '';\r\n },\r\n error: (error: HttpErrorResponse) => {\r\n this.isValidTicket = false;\r\n if (error.status == 400) {\r\n this.errorCodeKey = String(error.error.Code).toLowerCase();\r\n }\r\n },\r\n });\r\n }\r\n\r\n /* will get the ticket key form query string from url*/\r\n getQueryString(parameter: string, defaultValue: string): string {\r\n let matchedQueryStringParameter = this.route.snapshot.queryParamMap.keys.find(\r\n (param) => param.toUpperCase() === parameter.toUpperCase()\r\n );\r\n if (matchedQueryStringParameter === undefined) {\r\n return defaultValue;\r\n }\r\n return this.route.snapshot.queryParamMap.get(matchedQueryStringParameter) || defaultValue;\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n

{{ data?.DescriptionText }}

\r\n {{ data?.TransactionDateUTC | UtcToLocaltimePipe: 'hh:mm a' | uppercase }}\r\n
\r\n
{{ data?.Amount | FortressCurrencyPipe }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'split.transaction.discount.label' | translate : { fgbdefault: 'Discount' } }}\r\n {{ data?.DiscountAmount | FortressCurrencyPipe }} \r\n
\r\n
\r\n {{ 'split.transaction.cash.label' | translate : { fgbdefault: 'Cash' } }}\r\n {{ data?.PaidEcashAmount | FortressCurrencyPipe }}\r\n
\r\n
\r\n {{ 'split.transaction.payment.label' | translate : { fgbdefault: 'Payment Card' } }}\r\n {{ data?.PaidCardAmount | FortressCurrencyPipe }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
Item Details
\r\n
\r\n
\r\n {{ item?.ProductDescription }}{{ item?.Quantity > 1 ? ' x ' + item?.Quantity : '' }}\r\n {{ item?.TotalPrice | FortressCurrencyPipe }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\r\nimport { fgbAnimations } from '@fgb/portal-component-library/src/lib/shared/animations';\r\nimport { \r\n TransactionExtended, \r\n TransactionExtendedItem, \r\n TransactionExtendedQuery, \r\n TransactionExtendedService\r\n} from '@fgb/core';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\nexport const TransactionExtendedItemMocks: TransactionExtendedItem[] = [\r\n {\r\n ProductCode: 'test 1', \r\n ProductDescription: 'Hot Dog', \r\n Quantity: 2,\r\n UnitPrice: 2, \r\n VATValue: 0,\r\n TotalPrice: 4 \r\n },\r\n {\r\n ProductCode: 'test 2', \r\n ProductDescription: 'Peanuts', \r\n Quantity: 3,\r\n UnitPrice: 1.5, \r\n VATValue: 0,\r\n TotalPrice: 4.5\r\n\r\n },\r\n {\r\n ProductCode: 'test 3', \r\n ProductDescription: 'Pint', \r\n Quantity: 1,\r\n UnitPrice: 5, \r\n VATValue: 0,\r\n TotalPrice: 5\r\n }\r\n];\r\n\r\nexport const TransactionExtendedMocks = [\r\n {\r\n DiscountAmount: 0,\r\n PaidEcashAmount: -100,\r\n PaidCardAmount: 0,\r\n CardType: 0,\r\n TillName: \"\",\r\n DescriptionText: \"Test Zero X\",\r\n Amount: -100,\r\n TransactionRef: 30,\r\n TransactionDate: \"2021-12-02T16:31:15.19\",\r\n TransactionDateUTC: \"2021-12-02T16:31:15.19Z\",\r\n POS: \"0\",\r\n CardBalance: -100,\r\n AccountBalance: -100,\r\n AccountNumber: 0,\r\n ACN: 0,\r\n ExternalVendorRef: \"\",\r\n AccountDescriptionId: 0,\r\n ActionId: 0,\r\n TransactionDescription: \"Test Zero X\",\r\n Location: \"\"\r\n },\r\n {\r\n DiscountAmount: 0,\r\n PaidEcashAmount: -1,\r\n PaidCardAmount: 0,\r\n CardType: 0,\r\n TillName: \"\",\r\n DescriptionText: \"Test Zero X\",\r\n Amount: -1,\r\n TransactionRef: 29,\r\n TransactionDate: \"2021-12-02T16:31:08.517\",\r\n TransactionDateUTC: \"2021-12-02T16:31:08.517Z\",\r\n POS: \"0\",\r\n CardBalance: -1,\r\n AccountBalance: -1,\r\n AccountNumber: 0,\r\n ACN: 0,\r\n ExternalVendorRef: \"\",\r\n AccountDescriptionId: 0,\r\n ActionId: 0,\r\n TransactionDescription: \"Test Zero X\",\r\n Location: \"\"\r\n },\r\n {\r\n DiscountAmount: 0,\r\n PaidEcashAmount: 0,\r\n PaidCardAmount: 75,\r\n CardType: 0,\r\n TillName: \"\",\r\n DescriptionText: \"Debit Account (Via Till)\",\r\n Amount: 75.02,\r\n TransactionRef: 25,\r\n TransactionDate: \"2020-02-06T14:29:25.63\",\r\n TransactionDateUTC: \"2020-02-06T14:29:25.63Z\",\r\n POS: \"0\",\r\n CardBalance: 75.02,\r\n AccountBalance: 75.02,\r\n AccountNumber: 0,\r\n ACN: 0,\r\n ExternalVendorRef: \"01Z6HUOMHG01U67OONO13APHAJMNR736\",\r\n AccountDescriptionId: 20008,\r\n ActionId: 0,\r\n TransactionDescription: \"Debit Account (Via Till)\",\r\n Location: \"\"\r\n },\r\n {\r\n DiscountAmount: 0,\r\n PaidEcashAmount: 0,\r\n PaidCardAmount: 20,\r\n CardType: 0,\r\n TillName: \"\",\r\n DescriptionText: \"Debit Account (Via Till)\",\r\n Amount: 20,\r\n TransactionRef: 24,\r\n TransactionDate: \"2020-02-06T09:20:58.903\",\r\n TransactionDateUTC: \"2020-02-06T09:20:58.903Z\",\r\n POS: \"0\",\r\n CardBalance: 20,\r\n AccountBalance: 20,\r\n AccountNumber: 0,\r\n ACN: 0,\r\n ExternalVendorRef: \"01Z6HUO4DD01U67OOAG6EPU94M1REMKA\",\r\n AccountDescriptionId: 20008,\r\n ActionId: 0,\r\n TransactionDescription: \"Debit Account (Via Till)\",\r\n Location: \"\"\r\n },\r\n];\r\n\r\n@Component({\r\n selector: 'fgb-split-transaction-item',\r\n templateUrl: './split-transaction.component.html',\r\n styleUrls: ['./split-transaction.component.scss'],\r\n animations: [fgbAnimations]\r\n})\r\nexport class SplitTransactionComponent implements OnInit, OnDestroy {\r\n id: number;\r\n isOpen: boolean;\r\n isDisabled: boolean;\r\n loading$: Observable;\r\n itemDetails$: Observable;\r\n _destroyed$ = new Subject();\r\n @Input() data: TransactionExtended;\r\n\r\n constructor(\r\n private transactionExtendedQuery: TransactionExtendedQuery,\r\n private transactionService: TransactionExtendedService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n if( !this.data ) return;\r\n this.id = this.data.TransactionRef;\r\n this.isOpen = this.transactionExtendedQuery.hasActive(this.id);\r\n this.isDisabled = this.transactionExtendedQuery.isDisabled(this.id);\r\n this.loading$ = this.transactionExtendedQuery.isLoading(this.id);\r\n this.itemDetails$ = this.transactionExtendedQuery.getItemDetailsByTref(this.id);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._destroyed$.next();\r\n this._destroyed$.complete();\r\n }\r\n\r\n toggle(): void{\r\n this.isOpen = !this.isOpen;\r\n this.transactionService.toggleActive(this.id);\r\n this.transactionService.loadItemDetailsByTref(this.id)\r\n .pipe(\r\n takeUntil(this._destroyed$)\r\n ).subscribe();\r\n }\r\n\r\n}\r\n","\r\n
0 else noData\">\r\n \r\n

{{ data?.date }}

\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n","import { Component, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { TransactionExtended, TransactionExtendedQuery, TransactionExtendedService } from '@fgb/core';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-split-transaction-list',\r\n templateUrl: './split-transaction-list.component.html',\r\n styleUrls: ['./split-transaction-list.component.scss'],\r\n exportAs: 'splitTransaction'\r\n})\r\nexport class SplitTransactionListComponent implements OnInit, OnDestroy {\r\n \r\n loading$: Observable;\r\n transactions$: Observable<{ date: string, transactions: TransactionExtended[] }[]>;\r\n pageNo: number = 1;\r\n isLoadDisabled: boolean;\r\n _destroyed$ = new Subject();\r\n @Input() pageSize: number = 10;\r\n @Input() dateFrom: Date;\r\n @Input() dateTo: Date;\r\n @Input() resetOnLoad: boolean = true;\r\n\r\n constructor(\r\n private transactionService: TransactionExtendedService,\r\n private transactionExtendedQuery: TransactionExtendedQuery) { }\r\n\r\n ngOnInit(): void {\r\n\r\n // When navigating to other pages some unexpected issue occurs, this resets everything to default\r\n if( this.resetOnLoad ){\r\n this.reset();\r\n }\r\n\r\n this.transactions$ = this.transactionExtendedQuery.groupedByDate$;\r\n this.loading$ = this.transactionExtendedQuery.loading$;\r\n\r\n }\r\n\r\n ngOnDestroy(): void{\r\n this._destroyed$.next();\r\n this._destroyed$.complete();\r\n }\r\n\r\n trackByFn(index: number, item: TransactionExtended){\r\n return item.TransactionRef;\r\n }\r\n\r\n _search(from: Date, to: Date, pageNo?: number, pageSize?: number): void{\r\n this.pageNo = pageNo || this.pageNo;\r\n this.pageSize = pageSize || this.pageSize;\r\n this.transactionService.search(1, from, to, this.pageNo, this.pageSize)\r\n .pipe(\r\n takeUntil(this._destroyed$)\r\n )\r\n .subscribe(res => {\r\n // Disable load more button if nothing is returned or result is less than the pageSize\r\n this.isLoadDisabled = !res || res?.length < this.pageSize;\r\n });\r\n }\r\n\r\n search(): void{\r\n this._search(this.dateFrom, this.dateTo);\r\n }\r\n\r\n searchByDate(dateFrom: Date, dateTo: Date): void{\r\n this.dateFrom = dateFrom || this.dateFrom;\r\n this.dateTo = dateTo || this.dateTo;\r\n this._search(dateFrom, dateTo);\r\n }\r\n\r\n loadMore(): void{\r\n this._search(this.dateFrom, this.dateTo, ++this.pageNo);\r\n }\r\n\r\n reset(): void{\r\n this.pageNo = 1;\r\n this.isLoadDisabled = false;\r\n this.transactionService.reset();\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-split-transaction-history',\r\n templateUrl: './split-transaction-history.component.html',\r\n styleUrls: ['./split-transaction-history.component.scss']\r\n})\r\nexport class SplitTransactionHistoryComponent implements OnInit {\r\n\r\n transactionStartDate: Date = new Date();\r\n transactionEndDate: Date = new Date();\r\n\r\n ngOnInit(): void {\r\n this.transactionStartDate.setDate(new Date(this.transactionStartDate).getDate() - 1);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n \r\n \r\n Search\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-split-transaction-page',\r\n templateUrl: './split-transaction-page.component.html',\r\n styleUrls: ['./split-transaction-page.component.scss']\r\n})\r\nexport class SplitTransactionPageComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n

{{ 'split.transactions.page.title' | translate }}

\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n ","import { HttpParams } from '@angular/common/http';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { AuthService, OtherMediaAuthService } from '@fgb/core';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-other-media-callback',\r\n templateUrl: './other-media-callback.component.html',\r\n styleUrls: ['./other-media-callback.component.scss'],\r\n})\r\nexport class OtherMediaCallbackComponent implements OnInit {\r\n cookieName: string = '_sa_sso_upid';\r\n constructor(\r\n private otherMediaAuthService: OtherMediaAuthService,\r\n private router: Router,\r\n private cookieService: CookieService,\r\n private authService: AuthService\r\n ) {}\r\n\r\n ngOnInit() {\r\n if (this.authService.isAuthenticated()) {\r\n // already logged in\r\n this.router.navigate(['/']);\r\n } else if (this.otherMediaAuthService.hasNamedCookie(this.cookieName)) {\r\n // login through cookies\r\n let domainCookie = this.getDomainCookie();\r\n this.authenticateDomainCookie(domainCookie);\r\n } else {\r\n // log through a code\r\n this.authenticateCode();\r\n }\r\n }\r\n\r\n /**\r\n * make request to authenticate domain\r\n * cookie if found.\r\n * If failed then will call authenticate JWT.\r\n * @param domainCookie domain cookie to\r\n * be authenticated.\r\n */\r\n authenticateDomainCookie(domainCookie: string) {\r\n firstValueFrom(this.otherMediaAuthService\r\n .loginUsingToken(domainCookie))\r\n .catch(() => {\r\n this.authenticateCode();\r\n });\r\n }\r\n\r\n /**\r\n * call to athenticate JWT\r\n * if failed response will return\r\n * user to login page.\r\n */\r\n authenticateCode() {\r\n let kccode = this.getProviderCodeToken('code');\r\n firstValueFrom(this.otherMediaAuthService\r\n .validateCode(kccode))\r\n .catch(() => {\r\n this.router.navigate(['/login']);\r\n });\r\n }\r\n\r\n /**\r\n * Get a query string parameter without case sensitivity.\r\n * @param parameter the parameter that you require the information for\r\n */\r\n getProviderCodeToken(parameter: string): string {\r\n const url = window.location.href;\r\n let paramValue;\r\n\r\n if (url.includes('?')) {\r\n const httpParams = new HttpParams({ fromString: url.split('?')[1] });\r\n paramValue = httpParams.get(parameter);\r\n }\r\n\r\n if (paramValue) {\r\n return paramValue;\r\n }\r\n return '';\r\n }\r\n\r\n /**\r\n * Will check if domain cookie exists\r\n * and return this as a string.\r\n * @returns domain cookie from\r\n * sports alliance domain\r\n */\r\n getDomainCookie(): string {\r\n let domainCookie = '';\r\n domainCookie = this.cookieService.get(this.cookieName);\r\n\r\n return domainCookie;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

{{ 'reset.password.title' | translate : { fgbdefault: 'RESET YOUR PASSWORD' } }}

\r\n

\r\n {{ 'reset.password.instruction' | translate : { fgbdefault: 'Enter your email to reset your password:' } }}\r\n

\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ 'reset.pw.warn' | translate }}\r\n
\r\n
\r\n {{ errorMessage }}\r\n
\r\n
\r\n

\r\n
\r\n \r\n

\r\n {{ 'user.reset.password.success' | translate : { fgbdefault: 'Check your email to change password!' } }}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { MemberService } from '@fgb/core';\r\nimport { Regex } from '../../../../shared/utilities/regex';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'fgb-user-reset-password',\r\n templateUrl: './user-reset-password.component.html',\r\n styleUrls: ['./user-reset-password.component.scss'],\r\n})\r\nexport class UserResetPasswordComponent implements OnInit {\r\n formReset: UntypedFormGroup;\r\n isSuccess: boolean;\r\n errorMessage: string;\r\n timeout: any;\r\n appleLinkUrl: string;\r\n googleLinkUrl: string;\r\n\r\n constructor(private _fb: UntypedFormBuilder, \r\n private memberService: MemberService, \r\n private translate: TranslateService) {}\r\n\r\n ngOnInit(): void {\r\n this.initForm();\r\n this._initLinks();\r\n }\r\n\r\n private _initLinks(): void{\r\n this.appleLinkUrl = this.translate.instant('apple.link.url');\r\n this.googleLinkUrl = this.translate.instant('google.link.url');\r\n }\r\n \r\n initForm() {\r\n this.formReset = this._fb.group({\r\n email: ['', [Validators.required, Validators.pattern(Regex.email)]],\r\n });\r\n }\r\n\r\n submit() {\r\n this.isSuccess = false;\r\n this.errorMessage = '';\r\n this.formReset.markAllAsTouched();\r\n\r\n if( this.timeout ){\r\n clearTimeout(this.timeout);\r\n }\r\n\r\n if (this.formReset.invalid) return;\r\n\r\n const email = this.formReset.get('email')?.value;\r\n const clubId = 1;\r\n this.memberService\r\n .resetPassword(email, clubId)\r\n .then((_) => {\r\n this.isSuccess = true;\r\n this.clearSuccessMessage();\r\n })\r\n .catch((err) => {\r\n this.errorMessage = err.error.Message ? err.error.Message : this.translate.instant('user.reset.password.error');\r\n });\r\n }\r\n\r\n clearSuccessMessage(): void{\r\n this.timeout = setTimeout(() => {\r\n this.isSuccess = false;\r\n }, 5000);\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

{{ 'change.password.title' | translate : { fgbdefault: 'NEW PASSWORD' } }}

\r\n

\r\n {{ 'change.password.instruction' | translate : { fgbdefault: 'Please enter your new password:' } }}\r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n visibility\r\n \r\n \r\n visibility_off\r\n \r\n
\r\n \r\n {{ 'change.password.required' | translate : { fgbdefault: 'New Password is required' } }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n visibility\r\n \r\n \r\n visibility_off\r\n \r\n
\r\n \r\n {{ 'change.password.required' | translate : { fgbdefault: 'Confirm New Password is required' } }}\r\n
\r\n
\r\n
\r\n {{ errorMessage }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n\r\n\r\n\r\n
\r\n

{{ 'user.change.password.modal.title' | translate : { fgbdefault: 'CHANGE PASSWORD SUCCESSFULLY' } }}

\r\n

\r\n {{ 'user.change.password.modal.message' | translate : { fgbdefault: 'Click OK to go back to login page' } }}\r\n

\r\n \r\n
\r\n
\r\n","import { Component, OnInit, TemplateRef, ViewChild } from '@angular/core';\r\nimport { AbstractControl, UntypedFormBuilder, UntypedFormGroup, ValidationErrors, ValidatorFn, Validators } from '@angular/forms';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { MemberService } from '@fgb/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'fgb-user-change-password',\r\n templateUrl: './user-change-password.component.html',\r\n styleUrls: ['./user-change-password.component.scss'],\r\n})\r\nexport class UserChangePasswordComponent implements OnInit {\r\n formChangePassword: UntypedFormGroup;\r\n resetKey: string = '';\r\n errorMessage: string;\r\n visiblePassword: boolean = false;\r\n visibleConfirm: boolean = false;\r\n timeout: any;\r\n appleLinkUrl: string;\r\n googleLinkUrl: string;\r\n @ViewChild('alert') alert: TemplateRef;\r\n \r\n constructor(\r\n private _fb: UntypedFormBuilder,\r\n private memberService: MemberService,\r\n private route: ActivatedRoute,\r\n private modalService: NgbModal,\r\n private translate: TranslateService\r\n ) {}\r\n\r\n ngOnInit(): void {\r\n this.initForm();\r\n this.resetKey = this.getResetKeyFromRoute();\r\n this._initLinks();\r\n }\r\n\r\n private _initLinks(): void{\r\n this.appleLinkUrl = this.translate.instant('apple.link.url');\r\n this.googleLinkUrl = this.translate.instant('google.link.url');\r\n }\r\n\r\n getResetKeyFromRoute() {\r\n return this.route.snapshot.queryParamMap.get('resetkey') || '';\r\n }\r\n\r\n initForm() {\r\n this.formChangePassword = this._fb.group({\r\n password: ['', [Validators.required]],\r\n confirmPassword: ['', [Validators.required]],\r\n }, { validators: samePasswordValidator() });\r\n }\r\n\r\n submit() {\r\n this.errorMessage = '';\r\n this.formChangePassword.markAllAsTouched();\r\n\r\n if( this.timeout ){\r\n clearTimeout(this.timeout);\r\n }\r\n\r\n if (this.formChangePassword.invalid) return;\r\n\r\n let password = this.formChangePassword.get('password')?.value;\r\n let confirm = this.formChangePassword.get('confirmPassword')?.value;\r\n this.memberService\r\n .changePassword(this.resetKey, password, confirm)\r\n .then((_) => {\r\n this.openModal();\r\n })\r\n .catch((err) => {\r\n const errorMessage = this.translate.instant('user.change.password.error');\r\n this.errorMessage = err.error.Message ? err.error.Message : errorMessage;\r\n });\r\n }\r\n\r\n openModal() {\r\n this.modalService.open(this.alert, {\r\n centered: true,\r\n windowClass: 'user-change-password-modal'\r\n });\r\n }\r\n\r\n toggleVisiblePassword() {\r\n this.visiblePassword = !this.visiblePassword;\r\n }\r\n\r\n toggleVisibleConfirm() {\r\n this.visibleConfirm = !this.visibleConfirm;\r\n }\r\n\r\n}\r\n\r\nfunction samePasswordValidator(): ValidatorFn{\r\n return (control: AbstractControl): ValidationErrors | null => {\r\n const { password, confirmPassword } = control.value;\r\n\r\n if (password !== confirmPassword) {\r\n return {\r\n samePassword: true\r\n };\r\n }\r\n\r\n return null;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n chevron_left\r\n {{ 'campaign.back.to.wallet' | translate }}\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n lock \r\n \r\n 0\">\r\n check_circle \r\n \r\n
\r\n
\r\n \r\n
{{ currentCampaign.CampaignName }}
\r\n \r\n
\r\n {{ 'offer.expiry' | translate }} {{ currentCampaign.Campaign_ExpiryDate | date : 'dd/MM/YYYY' }}\r\n
\r\n \r\n
\r\n \r\n
{{ currentCampaign.PortalDescription }}
\r\n
\r\n","import { Component, OnDestroy, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { CampaignEntitlements, CampaignOffersQuery, CampaignOffersService } from '@fgb/core';\r\nimport { Subscription, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-campaign-details-page',\r\n templateUrl: './campaign-details-page.component.html',\r\n styleUrls: ['./campaign-details-page.component.scss'],\r\n})\r\nexport class CampaignDetailsPageComponent implements OnInit, OnDestroy {\r\n currentCampaign: CampaignEntitlements;\r\n campaignOffferSub: Subscription;\r\n\r\n constructor(\r\n private route: ActivatedRoute,\r\n private campaignOffersService: CampaignOffersService,\r\n private campaignOffersQuery: CampaignOffersQuery\r\n ) {}\r\n\r\n ngOnInit() {\r\n let offerId = +(this.route.snapshot.paramMap.get('offerId') || '0');\r\n this._updateOffer(offerId);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.campaignOffferSub.unsubscribe();\r\n }\r\n\r\n _updateOffer(offerId: number) {\r\n if (!!offerId) {\r\n firstValueFrom(this.campaignOffersService\r\n .fetchOffers())\r\n .then(() => {\r\n this.campaignOffferSub = this.campaignOffersQuery.selectFirst().subscribe((campaignOffer) => {\r\n if (campaignOffer) {\r\n for (let entitlement of campaignOffer?.CampaignsAndEntitlements) {\r\n if (entitlement.CampaignID === offerId) {\r\n this.currentCampaign = entitlement;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n });\r\n }\r\n }\r\n}\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { RegistrationStepQuery, RegistrationStepService, LoggingService, StepType, WizardType } from '@fgb/core';\r\nimport { ActivatedRoute, Router, NavigationEnd } from '@angular/router';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-registration-layout-page',\r\n templateUrl: './registration-layout-page.component.html',\r\n styleUrls: ['./registration-layout-page.component.scss']\r\n})\r\nexport class RegistrationLayoutPageComponent implements OnInit, OnDestroy {\r\n wizardType?: WizardType | undefined;\r\n wizardTypes = WizardType;\r\n private routerSubscription: Subscription;\r\n private wizardTypeSubscription: Subscription;\r\n\r\n constructor(\r\n private registrationStepQuery: RegistrationStepQuery,\r\n private registrationStepService: RegistrationStepService,\r\n private logService: LoggingService,\r\n private router: Router,\r\n private route: ActivatedRoute\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.wizardTypeSubscription = this.registrationStepQuery.selectWizardType().subscribe(wizardType => {\r\n this.wizardType = wizardType;\r\n });\r\n\r\n // Check once initially to make sure the initial step is one we should be able to get to.\r\n this.checkCurrentStepIsAccessible();\r\n\r\n this.routerSubscription = this.router.events.subscribe(event => {\r\n if (event instanceof NavigationEnd) {\r\n // Navigation has finished on a new step so we should check that it is one we should be able to get to.\r\n this.checkCurrentStepIsAccessible();\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.routerSubscription) {\r\n this.routerSubscription.unsubscribe();\r\n }\r\n\r\n if (this.wizardTypeSubscription) {\r\n this.wizardTypeSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n /**\r\n * Checks if the step type configured in the app routing module for the current route is a step that is part of\r\n * the current registration process. If not then it redirects to the correct next step for the user to complete.\r\n */\r\n private checkCurrentStepIsAccessible(): void {\r\n this.logService.debug('Checking if the current activated route is accessible in the current registration process...');\r\n\r\n const firstRouteChild = this.route.snapshot.firstChild;\r\n if (!firstRouteChild) {\r\n this.logService.debug('Activated route does not have a child route - failed to determine step type of the route.');\r\n return;\r\n }\r\n\r\n const stepType: StepType = firstRouteChild.data.registrationStep;\r\n if (!stepType) {\r\n this.logService.debug('No step type found for the activated route.', this.route.snapshot);\r\n return;\r\n }\r\n\r\n const stepInRegistration: boolean = this.registrationStepQuery.isStepAvailable(stepType);\r\n if (!stepInRegistration) {\r\n this.logService.warning('This registration step is not available as part of the current registration process.', stepType);\r\n this.registrationStepService.navigateToNextStep();\r\n return;\r\n }\r\n\r\n this.logService.debug('Step type is accessible in the current registration process', stepType);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","
\r\n
\r\n \r\n
\r\n chevron_left\r\n {{ 'claimed.back.to.wallet' | translate }}\r\n
\r\n \r\n
{{ 'wallet.redeemed.title' | translate }}
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n {{ 'claimed.rewards.placeholder.description' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { ProcessProviderId, RewardsWalletItem, RewardsWalletQuery, RewardsWalletService } from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-wallet-claimed-page',\r\n templateUrl: './wallet-claimed-page.component.html',\r\n styleUrls: ['./wallet-claimed-page.component.scss'],\r\n})\r\nexport class WalletClaimedPageComponent implements OnInit {\r\n @Input() marketplaceFilterTypes: ProcessProviderId[] = [0, 1, 2, 3, 4, 5];\r\n walletItems$: Observable;\r\n\r\n walletItemsClaimed$: Observable;\r\n\r\n constructor(private rewardWalletItemsService: RewardsWalletService, private rewardsWalletQuery: RewardsWalletQuery) {}\r\n\r\n ngOnInit() {\r\n firstValueFrom(this.rewardWalletItemsService.fetchWalletItems());\r\n this.walletItemsClaimed$ = this.rewardsWalletQuery.selectRewardWalletItemsByStatus(true);\r\n }\r\n}\r\n","
\r\n

{{ 'kids.page.title' | translate }}

\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
{{ 'kids.page.linked' | translate }}
\r\n

{{ childList.length }}/ {{ totalAccount }}

\r\n
\r\n = totalAccount\"\r\n (click)=\"openAddChildForm(addChildInfo, childList.length >= totalAccount)\"\r\n >\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n link \r\n link_off \r\n {{ child.Firstname }} {{ child.Lastname }}\r\n
\r\n \r\n \r\n more_horiz\r\n \r\n \r\n \r\n cancel \r\n {{ 'kids.page.btn.cancel' | translate }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ 'kids.page.card.memberid' | translate }} \r\n {{ child.MemberId }}\r\n
\r\n
\r\n {{ 'kids.page.card.birthday' | translate }} \r\n {{ child.DateOfBirth | date : 'MMM dd, yyyy' }} \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n account_circle \r\n {{ 'kids.page.modal.add.title' | translate }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{ 'kids.page.modal.add.btn.send' | translate }}\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n more_horiz \r\n {{ 'kids.page.modal.enter.code.title' | translate }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ 'kids.page.modal.enter.code.description1' | translate }} \r\n {{ 'kids.page.modal.enter.code.description2' | translate }}\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Output, EventEmitter } from '@angular/core';\r\nimport { ModalDismissReasons, NgbDropdown, NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';\r\nimport { AuthService, ChildModel, ChildRequestModel, ChildService } from '@fgb/core';\r\nimport { Observable, firstValueFrom } from 'rxjs';\r\nimport { NgbDate } from '@ng-bootstrap/ng-bootstrap';\r\n@Component({\r\n selector: 'fgb-kids-linked-page',\r\n templateUrl: './kids-linked-page.component.html',\r\n styleUrls: ['./kids-linked-page.component.scss'],\r\n})\r\nexport class KidsLinkedPageComponent implements OnInit {\r\n @Output() submittedRequest = new EventEmitter();\r\n\r\n totalAccount: number = 10;\r\n addChildForm: UntypedFormGroup;\r\n childRequest: ChildRequestModel;\r\n selectedChild: ChildModel;\r\n childList$: Observable;\r\n linkCode: string;\r\n\r\n constructor(\r\n private modalService: NgbModal,\r\n private formBuilder: UntypedFormBuilder,\r\n private childService: ChildService,\r\n private authService: AuthService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.addChildForm = this.formBuilder.group({\r\n MemberId: [this.childRequest?.MemberId],\r\n LastName: [this.childRequest?.LastName],\r\n DateOfBirth: [this.childRequest?.DateOfBirth],\r\n });\r\n this.childList$ = this.childService.getLinkRequests();\r\n }\r\n\r\n openAddChildForm(childInfo: any, disabled: boolean) {\r\n if (disabled) return;\r\n this.modalService.open(childInfo, { windowClass: 'add-child-modal modal-dialog-centered', centered: true }).result.then(\r\n () => {},\r\n (reason) => {\r\n if (reason === ModalDismissReasons.ESC || reason === ModalDismissReasons.BACKDROP_CLICK) {\r\n }\r\n }\r\n );\r\n }\r\n\r\n closeDropDown(dropdown: NgbDropdown) {\r\n dropdown.close();\r\n }\r\n\r\n openEnterCode(enterCode: any, selectedChild: ChildModel) {\r\n this.selectedChild = selectedChild;\r\n this.modalService.open(enterCode, { centered: true }).result.then(\r\n () => {},\r\n (reason) => {\r\n if (reason === ModalDismissReasons.ESC || reason === ModalDismissReasons.BACKDROP_CLICK) {\r\n }\r\n }\r\n );\r\n }\r\n\r\n sendRequest() {\r\n this.childRequest = {\r\n ...this.childRequest,\r\n ...this.addChildForm.value,\r\n DateOfBirth: this._getStringFromNgbDate(this.addChildForm.get('DateOfBirth')!.value),\r\n };\r\n\r\n if (this.addChildForm.invalid) {\r\n return;\r\n }\r\n\r\n this.childService\r\n .linkRequest(this.childRequest.MemberId, this.childRequest.LastName, this.childRequest.DateOfBirth)\r\n .then(() => {\r\n window.location.reload();\r\n this.submittedRequest.emit(true);\r\n });\r\n }\r\n\r\n resendRequest() {\r\n this.childService\r\n .linkRequest(this.selectedChild.MemberId, this.selectedChild.Lastname, this.selectedChild.DateOfBirth)\r\n .then(() => {\r\n this.submittedRequest.emit(true);\r\n });\r\n }\r\n\r\n confirmLink() {\r\n this.childService.processLinkRequest(this.linkCode).then(() => {\r\n window.location.reload();\r\n this.submittedRequest.emit(true);\r\n });\r\n }\r\n\r\n unlink(child: ChildModel) {\r\n this.childService.deleteLinkRequest(child.MemberId).then(() => {\r\n window.location.reload();\r\n this.submittedRequest.emit(true);\r\n });\r\n }\r\n\r\n loginToChild(child: ChildModel) {\r\n firstValueFrom(this.authService.switchUser(child.MemberId));\r\n }\r\n\r\n /** Gets a date string in ISO format from an NgbDate. */\r\n private _getStringFromNgbDate(ngbDate: NgbDate) {\r\n if (ngbDate) {\r\n let date = new Date(ngbDate.year, ngbDate.month - 1, ngbDate.day, 12);\r\n date.setUTCHours(0);\r\n date.setUTCMinutes(0);\r\n date.setUTCSeconds(0);\r\n return date.toISOString();\r\n } else {\r\n return '';\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ChangePasswordGuard {\r\n\r\n constructor(private router: Router) {}\r\n\r\n canActivate(\r\n route: ActivatedRouteSnapshot,\r\n state: RouterStateSnapshot): Observable | Promise | boolean | UrlTree {\r\n const resetKey = route.queryParams.resetkey;\r\n\r\n if (!resetKey) {\r\n return this.router.createUrlTree(['/reset-password']);\r\n }\r\n\r\n return true;\r\n }\r\n \r\n}\r\n","
\r\n

{{ 'tiers.page.title' | translate }}

\r\n
\r\n\r\n\r\n
\r\n

\r\n\r\n \r\n
0\">\r\n
\r\n
\r\n
\r\n \"{{\r\n
\r\n
\r\n
\r\n check_circle\r\n
{{ item?.Name }}
\r\n
\r\n\r\n
{{ 'tier.rookie.description' | translate }}
\r\n
{{ 'tier.starter.description' | translate }}
\r\n
{{ 'tier.allstar.description' | translate }}
\r\n
{{ 'tier.famer.description' | translate }}
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { LoyaltyCustomerTier, MemberQuery, TierQuery, TierService } from '@fgb/core';\r\nimport { Observable, firstValueFrom, fromEvent } from 'rxjs';\r\nimport { distinctUntilChanged, map, startWith, switchMap } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'fgb-tiers-page',\r\n templateUrl: './tiers-page.component.html',\r\n styleUrls: ['./tiers-page.component.scss']\r\n})\r\nexport class TiersPageComponent implements OnInit {\r\n tier$: Observable;\r\n progressBarStyle$: Observable;\r\n\r\n constructor(private tierService: TierService, \r\n private tierQuery: TierQuery,\r\n private memberQuery: MemberQuery) { }\r\n\r\n ngOnInit(): void {\r\n firstValueFrom(this.tierService.fetchTiersWithPositions(this.memberQuery.getUserContext().externalRef));\r\n this.tier$ = this.tierQuery.customerTier$;\r\n const view$ = fromEvent(window, 'resize').pipe(startWith(window.innerWidth < 991), map(() => window.innerWidth < 991), distinctUntilChanged());\r\n this.progressBarStyle$ = view$.pipe(\r\n switchMap(isMobile => this.tier$.pipe(\r\n map(tier => {\r\n let progressValue = 0;\r\n const barWidth = 2;\r\n\r\n if( tier?.Tiers?.length ){\r\n // @TODO: might need to change if order is based on tierId or something else\r\n progressValue = tier.Tiers.findIndex(t => t.TierId === tier.CurrentTierId) / (tier.Tiers.length - 1) * 100;\r\n }\r\n\r\n return { height: `${progressValue}%`, width: `${barWidth}px` };\r\n })\r\n )));\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n

\r\n {{ 'reward.filter_modal.filter' | translate }}:\r\n {{ labelString | translate }}\r\n {{ labelString }}\r\n

\r\n keyboard_arrow_down \r\n
\r\n\r\n 600\">\r\n
\r\n
\r\n {{ 'reward.filter_modal.reward_type' | translate }}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ 'reward.filter_modal.reward_type' | translate }}\r\n
\r\n close \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n {{ 'reward.filter_modal.apply_filter' | translate }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n","import {\r\n Component,\r\n ElementRef,\r\n EventEmitter,\r\n HostListener,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n Output,\r\n SimpleChanges,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport { FeaturesRewardsItem, ScreenSizeService } from '@fgb/core';\r\nimport { NgbOffcanvas } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'fgbcl-filter-modal',\r\n templateUrl: './filter-modal.component.html',\r\n styleUrls: ['./filter-modal.component.scss'],\r\n})\r\nexport class FilterModalComponent implements OnInit, OnChanges {\r\n @Input() filterTypesList: { label: string; value: string }[];\r\n @Output() filterTypesListEmitter: EventEmitter<{ label: string; value: string }[]> = new EventEmitter<\r\n {\r\n label: string;\r\n value: string;\r\n }[]\r\n >();\r\n @Input() selectedValues: string[];\r\n @Output() selectedValuesEmitter: EventEmitter = new EventEmitter();\r\n @Input() showOffCanvas: boolean = false;\r\n @Output() showOffCanvasEmitter: EventEmitter = new EventEmitter();\r\n\r\n showFilterOption: boolean = false;\r\n screenSize: number = 0;\r\n\r\n defaultSelectedValues: string[] = [];\r\n defaultFilterTypesList: { label: string; value: string }[] = [];\r\n\r\n filterTypesOptions = [\r\n { label: 'reward.filter_modal.all', value: FeaturesRewardsItem.ALL },\r\n { label: 'reward.filter_modal.marketplace', value: FeaturesRewardsItem.Marketplace },\r\n { label: 'reward.filter_modal.lottos', value: FeaturesRewardsItem.Lottos },\r\n ];\r\n\r\n @ViewChild('myOffcanvas', { static: false }) myOffcanvas: NgbOffcanvas;\r\n\r\n get labelString(): string {\r\n return this.filterTypesList.length === 1\r\n ? this.filterTypesList.map((type: { label: string; value: string }) => type.label).join(', ')\r\n : `(${this.filterTypesList.length})`;\r\n }\r\n\r\n constructor(private screenSizeServices: ScreenSizeService, private elementRef: ElementRef) {}\r\n\r\n ngOnInit() {\r\n this.screenSizeServices.selectScreenWidth().subscribe((size: number) => (this.screenSize = size));\r\n this.defaultSelectedValues = [...this.selectedValues];\r\n this.defaultFilterTypesList = [...this.filterTypesList];\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.showOffCanvas) {\r\n if (this.showOffCanvas) {\r\n this.defaultSelectedValues = [...this.selectedValues];\r\n this.defaultFilterTypesList = [...this.filterTypesList];\r\n }\r\n }\r\n }\r\n\r\n @HostListener('document:click', ['$event'])\r\n onDocumentClick(event: any) {\r\n const filterResult = document.querySelector('.filter-result');\r\n const optionList = document.querySelector('.filter-select-option');\r\n if (filterResult && optionList && !filterResult.contains(event.target) && !optionList.contains(event.target)) {\r\n this.toggleShowFilterOption();\r\n }\r\n }\r\n\r\n toggleShowFilterOption() {\r\n if (this.screenSize >= 600) {\r\n this.showFilterOption = !this.showFilterOption;\r\n } else {\r\n this.addStyleBackdrop();\r\n }\r\n }\r\n\r\n handleChangeSelectType(value: string) {\r\n if (value !== FeaturesRewardsItem.ALL) {\r\n const specificSelectedItem = this.defaultSelectedValues.find((val: string) => val === value) || '';\r\n const specificItem = this.filterTypesOptions.find(\r\n (item: { label: string; value: string | number }) => item.value === value\r\n );\r\n\r\n // item not in the list\r\n if (!specificSelectedItem && specificItem) {\r\n this.defaultSelectedValues.push(specificItem.value);\r\n this.defaultSelectedValues = this.defaultSelectedValues.filter((val: string) => val !== FeaturesRewardsItem.ALL);\r\n\r\n if (specificItem) {\r\n this.defaultFilterTypesList.push(specificItem);\r\n this.defaultFilterTypesList = this.defaultFilterTypesList.filter(\r\n (item: { label: string; value: string | number }) => item.value !== FeaturesRewardsItem.ALL\r\n );\r\n }\r\n } else {\r\n this.defaultSelectedValues = this.defaultSelectedValues.filter((val) => val !== specificSelectedItem);\r\n if (specificItem) {\r\n this.defaultFilterTypesList = this.defaultFilterTypesList.filter(\r\n (item: { label: string; value: string | number }) => item.value !== specificItem.value\r\n );\r\n }\r\n }\r\n }\r\n\r\n // uncheck all others options or check All option\r\n if (this.defaultFilterTypesList.length === 0 || value === FeaturesRewardsItem.ALL) {\r\n this.defaultSelectedValues = [FeaturesRewardsItem.ALL];\r\n this.defaultFilterTypesList = [{ label: 'reward.filter_modal.all', value: FeaturesRewardsItem.ALL }];\r\n }\r\n\r\n if (this.screenSize >= 600) {\r\n this.filterTypesListEmitter.emit(this.defaultFilterTypesList);\r\n this.selectedValuesEmitter.emit(this.defaultSelectedValues);\r\n }\r\n }\r\n\r\n handleCloseOffCanvas() {\r\n this.showOffCanvasEmitter.emit(false);\r\n this.defaultSelectedValues = [];\r\n this.defaultFilterTypesList = [];\r\n }\r\n\r\n handleApplyFilters() {\r\n this.filterTypesListEmitter.emit(this.defaultFilterTypesList);\r\n this.selectedValuesEmitter.emit(this.defaultSelectedValues);\r\n this.handleCloseOffCanvas();\r\n }\r\n\r\n addStyleBackdrop() {\r\n this.showOffCanvasEmitter.emit(true);\r\n this.elementRef.nativeElement.querySelector('.modal-backdrop').style = 'z-index:999;opacity:0.15;';\r\n }\r\n}\r\n","
\r\n

{{ 'featured.rewards.page.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n","import { inject, NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport {\r\n AuthGuard,\r\n TicketTransferGuard,\r\n PopulationGuard,\r\n // StepType,\r\n MemberResolver,\r\n LottoResolver,\r\n AuctionResolver,\r\n MemberCardResolver,\r\n BalanceResolver,\r\n TicketResolver,\r\n PurchaseResolver,\r\n AddressBookResolver,\r\n CardTokenResolver,\r\n FantasyGameResolver,\r\n SurveyResolver,\r\n // RegistrationStepResolver,\r\n LottoWalletResolver,\r\n AuctionBidsResolver,\r\n FantasyHistoryResolver,\r\n BenefitResolver,\r\n AddressResolver,\r\n TransactionSuccessGuard,\r\n SeatingDetailResolver,\r\n CountryResolver,\r\n PartnerResolver,\r\n PartnerPendingResolver,\r\n MemberLoyaltyStatusResolver,\r\n PortalProductsSubscriptionsResolver,\r\n PopUpNotificationResolver,\r\n GameDataSource,\r\n MaintenanceGuard,\r\n MemberQuery,\r\n} from '@fgb/core';\r\n\r\n// General\r\nimport { MasterPageComponent } from './pages/master/master-page/master-page.component';\r\nimport { HomePageComponent } from './pages/home-page/home-page.component';\r\nimport { FaqPageComponent } from './pages/faq-page/faq-page.component';\r\nimport { ContactUsPageComponent } from './pages/contact-us-page/contact-us-page.component';\r\nimport { TermsPageComponent } from './pages/terms-page/terms-page.component';\r\nimport { NotFoundPageComponent } from './pages/not-found-page/not-found-page.component';\r\nimport { ReferAFriendPageComponent } from './pages/refer-a-friend-page/refer-a-friend-page.component';\r\nimport { ReferAFriendSuccessPageComponent } from './pages/refer-a-friend-page/refer-a-friend-success-page/refer-a-friend-success-page.component';\r\n// Loyalty\r\nimport { RewardsLayoutComponent } from './pages/rewards-layout/rewards-layout.component';\r\nimport { AuctionsPageComponent } from './pages/auctions-page/auctions-page.component';\r\nimport { AuctionDetailPageComponent } from './pages/auction-detail-page/auction-detail-page.component';\r\nimport { MarketplacePageComponent } from './pages/marketplace-page/marketplace-page.component';\r\nimport { MarketplaceDetailPageComponent } from './pages/marketplace-detail-page/marketplace-detail-page.component';\r\nimport { MarketplacePurchaseSuccessPageComponent } from './pages/marketplace-page/marketplace-purchase-success-page/marketplace-purchase-success-page.component';\r\nimport { LottosPageComponent } from './pages/lottos-page/lottos-page.component';\r\nimport { LottoDetailPageComponent } from './pages/lotto-detail-page/lotto-detail-page.component';\r\nimport { LottosSuccessPageComponent } from './pages/lottos-page/lottos-success-page/lottos-success-page.component';\r\nimport { EventsPageComponent } from './pages/events-page/events-page.component';\r\nimport { WalletPageComponent } from './pages/wallet-page/wallet-page.component';\r\nimport { GamesLayoutComponent } from './pages/games-layout/games-layout.component';\r\nimport { FantasyGamesPageComponent } from './pages/fantasy-games-page/fantasy-games-page.component';\r\nimport { FantasyPlayerSelectPageComponent } from './pages/fantasy-player-select-page/fantasy-player-select-page.component';\r\nimport { PredictorPageComponent } from './pages/predictor-page/predictor-page.component';\r\nimport { PollsPageComponent } from './pages/polls-page/polls-page.component';\r\nimport { AuctionBidDetailsPageComponent } from './pages/auction-bid-details-page/auction-bid-details-page.component';\r\nimport { LottoWalletDetailsPageComponent } from './pages/lotto-wallet-details-page/lotto-wallet-details-page.component';\r\nimport { QuizPageComponent } from './pages/quiz-page/quiz-page.component';\r\nimport { ScorePredictorPageComponent } from './pages/score-predictor-page/score-predictor-page.component';\r\nimport { ProductsPageComponent } from './pages/products-page/products-page.component';\r\nimport { BadgesPageComponent } from './pages/badges-page/badges-page.component';\r\n\r\n// Account\r\nimport { AccountDetailsPageComponent } from './pages/account-details-page/account-details-page.component';\r\nimport { ActivityPageComponent } from './pages/activity-page/activity-page.component';\r\nimport { GuardianPageComponent } from './pages/guardian-page/guardian-page.component';\r\nimport { CardPageComponent } from './pages/card-page/card-page.component';\r\n// Ecash\r\nimport { EcashPageComponent } from './pages/ecash-page/ecash-page.component';\r\nimport { EcashSuccessPageComponent } from './pages/ecash-page/ecash-success-page/ecash-success-page.component';\r\nimport { EcashFailurePageComponent } from './pages/ecash-page/ecash-failure-page/ecash-failure-page.component';\r\nimport { EcashResultPageComponent } from './pages/ecash-page/ecash-result-page/ecash-result-page.component';\r\nimport { EcashHistoryPageComponent } from './pages/ecash-history/ecash-history.component';\r\n// Portal Products\r\nimport { PortalProductSuccessPageComponent } from './pages/portal-products-pages/portal-product-success-page/portal-product-success-page.component';\r\nimport { PortalProductFailurePageComponent } from './pages/portal-products-pages/portal-product-failure-page/portal-product-failure-page.component';\r\nimport { PortalProductResultsPageComponent } from './pages/portal-products-pages/portal-product-results-page/portal-product-results-page.component';\r\n// Events & Tickets\r\nimport { TicketTransferPageComponent } from './pages/ticket-transfer-page/ticket-transfer-page.component';\r\nimport { TicketsPageComponent } from './pages/ticket-transfer-page/tickets-page/tickets-page.component';\r\nimport { TransferConfirmPageComponent } from './pages/ticket-transfer-page/transfer-confirm-page/transfer-confirm-page.component';\r\nimport { TicketTransferSuccessPageComponent } from './pages/ticket-transfer-page/ticket-transfer-success-page/ticket-transfer-success-page.component';\r\nimport { ManageTicketsPageComponent } from './pages/manage-tickets-page/manage-tickets-page.component';\r\nimport { ManageTicketHistoryPageComponent } from './pages/manage-ticket-history-page/manage-ticket-history-page.component';\r\nimport { ContactsPageComponent } from './pages/contacts-page/contacts-page.component';\r\n// Cash Transfer\r\nimport { TransferArenaCashPageComponent } from './pages/transfer-arena-cash-page/transfer-arena-cash-page.component';\r\nimport { TransferMultipleAccountsPageComponent } from './pages/transfer-multiple-accounts-page/transfer-multiple-accounts-page.component';\r\nimport { TransferArenaCashSuccessPageComponent } from './pages/transfer-arena-cash-success-page/transfer-arena-cash-success-page.component';\r\n// Unauthenticated\r\nimport { AuthCallbackComponent } from './modules/user/components/auth/auth-callback/auth-callback.component';\r\nimport { LoginPageComponent } from './pages/login-page/login-page.component';\r\nimport { LoginAccountsPageComponent } from './pages/login-accounts-page/login-accounts-page.component';\r\nimport { SingleSignOnComponent } from './modules/user/components/single-sign-on/single-sign-on.component';\r\nimport { MaintenancePageComponent } from './pages/maintenance-page/maintenance-page.component';\r\n// Registration\r\n// import { RegistrationPaymentComponent } from './modules/registration/pages/steps/registration-payment/registration-payment.component';\r\n// Population Pages\r\nimport { TestPopHomePageComponent } from './pages/test-pop-home-page/test-pop-home-page.component';\r\n// Club Pages\r\nimport { EarnPageComponent } from './pages/earn-page/earn-page.component';\r\nimport { BenefitsPageComponent } from './pages/benefits-page/benefits-page.component';\r\nimport { AuctionBidsPageComponent } from './pages/auction-bids-page/auction-bids-page.component';\r\nimport { PointsManagementPageComponent } from './pages/points-management-page/points-management-page.component';\r\nimport { TailgatePageComponent } from './pages/tailgate-page/tailgate-page.component';\r\n\r\n// Partners Pages\r\nimport { PartnerPageComponent } from './pages/partner-page/partner-page.component';\r\nimport { LeaderboardPageComponent } from './pages/leaderboard-page/leaderboard-page.component';\r\nimport { LottosTermsPageComponent } from './pages/lottos-terms-page/lottos-terms-page.component';\r\nimport { MarketplaceTermsPageComponent } from './pages/marketplace-terms-page/marketplace-terms-page.component';\r\nimport { TmCallbackComponent } from './shared/components/manage-tickets/tm-callback/tm-callback.component';\r\nimport { TmAuthCallbackComponent } from './shared/components/providers/tm/tm-auth-callback/tm-auth-callback.component';\r\nimport { WorksheetPageComponent } from './pages/worksheet-page/worksheet-page.component';\r\nimport { ZoomMeetingPageComponent } from './pages/zoom-meeting-page/zoom-meeting-page.component';\r\nimport { FantasyLeaderboardPageComponent } from './pages/fantasy-leaderboard-page/fantasy-leaderboard-page.component';\r\nimport { V1SingleSignOnComponent } from './modules/user/components/v1-single-sign-on/v1-single-sign-on.component';\r\nimport { RenewalBonusTransferPageComponent } from './pages/renewal-bonus-transfer-page/renewal-bonus-transfer-page.component';\r\nimport { SubscriptionsPageComponent } from './pages/subscriptions-page/subscriptions-page.component';\r\nimport { CartCheckoutPagePortalProductsComponent } from './pages/cart-checkout-page-portal-products/cart-checkout-page-portal-products.component';\r\nimport { CartCheckoutPageComponent } from './pages/cart-checkout-page/cart-checkout-page.component';\r\n// Offer Pages\r\nimport { OffersPageComponent } from './pages/offers-page/offers-page.component';\r\nimport { OfferDetailsPageComponent } from './pages/offer-details-page/offer-details-page.component';\r\nimport { CartCheckoutResultsPageComponent } from './pages/cart-checkout-page/cart-checkout-results-page/cart-checkout-results-page.component';\r\nimport { CartCheckoutSuccessPageComponent } from './pages/cart-checkout-page/cart-checkout-success-page/cart-checkout-success-page.component';\r\nimport { NotificationManagementPageComponent } from './pages/notification-management-page/notification-management-page.component';\r\nimport { SportsAllianceCallbackComponent } from './shared/components/providers/sports-alliance/sports-alliance-callback/sports-alliance-callback.component';\r\nimport { PaymentPageComponent } from './pages/payment-page/payment-page.component';\r\nimport { ProviderCallbackComponent } from './shared/components/providers/provider-callback/provider-callback.component';\r\nimport { CardLinkingPageComponent } from './pages/card-linking-page/card-linking-page.component';\r\nimport { CardLinkingSuccessPageComponent } from './pages/card-linking-success-page/card-linking-success-page.component';\r\nimport { CardLinkAllOffersPageComponent } from './pages/card-link-all-offers-page/card-link-all-offers-page.component';\r\nimport { CardLinkAffiliatesPageComponent } from './pages/card-link-affiliates-page/card-link-affiliates-page.component';\r\nimport { CardLinkActivatedOffersPageComponent } from './pages/card-link-activated-offers-page/card-link-activated-offers-page.component';\r\nimport { CardLinkOfferDetailsPageComponent } from './pages/card-link-offer-details-page/card-link-offer-details-page.component';\r\nimport { KeyCloakCallbackComponent } from './shared/components/providers/key-cloak/key-cloak-callback/key-cloak-callback.component';\r\nimport { SeatGeekCallbackComponent } from './shared/components/providers/seatgeek/seatgeek-callback/seatgeek-callback.component';\r\nimport { TicketInvitePageComponentComponent } from './pages/ticket-invite-page-component/ticket-invite-page-component.component';\r\nimport { SplitTransactionPageComponent } from './pages/split-transaction-page/split-transaction-page.component';\r\nimport { OtherMediaCallbackComponent } from './shared/components/providers/other-media/other-media-callback/other-media-callback.component';\r\nimport { UserResetPasswordComponent } from './modules/user/components/user-reset-password/user-reset-password.component';\r\nimport { UserChangePasswordComponent } from './modules/user/components/user-change-password/user-change-password.component';\r\nimport { CampaignDetailsPageComponent } from './pages/campaign-details-page/campaign-details-page.component';\r\nimport { RegistrationLayoutPageComponent } from './modules/registration/pages/registration-layout-page/registration-layout-page.component';\r\nimport { WalletClaimedPageComponent } from './pages/wallet-claimed-page/wallet-claimed-page.component';\r\nimport { KidsLinkedPageComponent } from './pages/kids-linked-page/kids-linked-page.component';\r\nimport { RegistrationPaymentModule, provideRegistrationConfig } from '@fgb/portal-component-library/src/lib/registration';\r\nimport { ChangePasswordGuard } from './shared/guards/change-password.guard';\r\nimport { TiersPageComponent } from './pages/tiers-page/tiers-page.component';\r\nimport { Populations } from './shared/utilities/populations';\r\nimport { MarketplaceWalletDetailsComponent } from '@fgb/portal-component-library/src/lib/loyalty/wallet';\r\nimport { RewardsPageComponent } from 'src/app/pages/rewards-page/rewards-page.component';\r\nimport { ChallengesPageComponent } from './pages/challenges-page/challenges-page.component';\r\n\r\nconst freeMember = () => {\r\n const memberQuery = inject(MemberQuery);\r\n const populationName = memberQuery.getValue()?.user?.populationName;\r\n return populationName === Populations.NonMember;\r\n};\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n canActivate: [AuthGuard],\r\n canActivateChild: [MaintenanceGuard],\r\n component: MasterPageComponent,\r\n resolve: {\r\n member: MemberResolver,\r\n memberCard: MemberCardResolver,\r\n balances: BalanceResolver,\r\n popupNotifications: PopUpNotificationResolver,\r\n surveys: SurveyResolver,\r\n },\r\n children: [\r\n {\r\n path: '',\r\n canActivate: [PopulationGuard],\r\n data: {\r\n exclude: ['testPop'],\r\n popRedirect: 'test',\r\n },\r\n component: HomePageComponent,\r\n },\r\n {\r\n path: 'link-child',\r\n component: KidsLinkedPageComponent,\r\n resolve: {\r\n country: CountryResolver,\r\n address: AddressResolver,\r\n },\r\n },\r\n {\r\n path: 'guardians',\r\n component: GuardianPageComponent,\r\n resolve: {\r\n country: CountryResolver,\r\n address: AddressResolver,\r\n },\r\n },\r\n\r\n {\r\n path: 'cards',\r\n component: CardPageComponent,\r\n },\r\n {\r\n path: 'test',\r\n canActivate: [PopulationGuard],\r\n data: {\r\n include: ['testPop'],\r\n popRedirect: '',\r\n },\r\n component: TestPopHomePageComponent,\r\n },\r\n {\r\n path: 'worksheet',\r\n component: WorksheetPageComponent,\r\n },\r\n {\r\n path: 'rewards',\r\n component: RewardsLayoutComponent,\r\n children: [\r\n {\r\n path: '',\r\n component: RewardsPageComponent,\r\n },\r\n {\r\n path: 'raffles',\r\n redirectTo: '/rewards',\r\n pathMatch: 'full',\r\n },\r\n {\r\n path: 'auctions',\r\n redirectTo: '/rewards',\r\n pathMatch: 'full',\r\n },\r\n {\r\n path: 'marketplace',\r\n redirectTo: '/rewards',\r\n pathMatch: 'full',\r\n },\r\n {\r\n path: 'auctions',\r\n children: [\r\n {\r\n path: '',\r\n resolve: { auctions: AuctionResolver },\r\n component: AuctionsPageComponent,\r\n },\r\n {\r\n path: 'details/:id',\r\n resolve: {\r\n balances: BalanceResolver,\r\n auctions: AuctionResolver,\r\n },\r\n component: AuctionDetailPageComponent,\r\n },\r\n ],\r\n },\r\n {\r\n path: 'marketplace',\r\n children: [\r\n {\r\n path: '',\r\n component: MarketplacePageComponent,\r\n },\r\n {\r\n path: 'details/:id',\r\n children: [\r\n {\r\n path: '',\r\n resolve: {\r\n balances: BalanceResolver,\r\n cardTokens: CardTokenResolver,\r\n country: CountryResolver,\r\n },\r\n component: MarketplaceDetailPageComponent,\r\n },\r\n {\r\n path: 'terms',\r\n component: MarketplaceTermsPageComponent,\r\n },\r\n ],\r\n },\r\n {\r\n path: 'purchase/success',\r\n canActivate: [TransactionSuccessGuard],\r\n component: MarketplacePurchaseSuccessPageComponent,\r\n resolve: {\r\n balances: BalanceResolver,\r\n purchase: PurchaseResolver,\r\n },\r\n },\r\n ],\r\n },\r\n {\r\n path: 'events',\r\n component: EventsPageComponent,\r\n },\r\n {\r\n path: 'products',\r\n component: ProductsPageComponent,\r\n },\r\n {\r\n path: 'raffles',\r\n children: [\r\n {\r\n path: '',\r\n component: LottosPageComponent,\r\n resolve: { lottos: LottoResolver, balances: BalanceResolver },\r\n },\r\n {\r\n path: 'details/:id',\r\n children: [\r\n {\r\n path: '',\r\n resolve: { balances: BalanceResolver, lottos: LottoResolver },\r\n component: LottoDetailPageComponent,\r\n },\r\n {\r\n path: 'terms',\r\n component: LottosTermsPageComponent,\r\n resolve: { lottos: LottoResolver },\r\n },\r\n ],\r\n },\r\n {\r\n path: 'purchase/success',\r\n canActivate: [TransactionSuccessGuard],\r\n component: LottosSuccessPageComponent,\r\n },\r\n ],\r\n },\r\n {\r\n path: 'wallet',\r\n children: [\r\n {\r\n path: '',\r\n component: WalletPageComponent,\r\n },\r\n {\r\n path: 'details/:id',\r\n component: MarketplaceWalletDetailsComponent,\r\n resolve: { purchases: PurchaseResolver },\r\n },\r\n {\r\n path: 'raffledetails/:id',\r\n component: LottoWalletDetailsPageComponent,\r\n resolve: { lottoWalletItems: LottoWalletResolver },\r\n },\r\n ],\r\n },\r\n {\r\n path: 'claimed',\r\n children: [\r\n {\r\n path: '',\r\n component: WalletClaimedPageComponent,\r\n resolve: {\r\n purchases: PurchaseResolver,\r\n lottoWalletItems: LottoWalletResolver,\r\n auctionBids: AuctionBidsResolver,\r\n },\r\n },\r\n ],\r\n },\r\n {\r\n path: 'bids',\r\n children: [\r\n {\r\n path: '',\r\n component: AuctionBidsPageComponent,\r\n resolve: { bids: AuctionBidsResolver },\r\n },\r\n {\r\n path: 'details/:id',\r\n component: AuctionBidDetailsPageComponent,\r\n resolve: { bids: AuctionBidsResolver },\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n {\r\n path: 'tiers',\r\n component: TiersPageComponent,\r\n },\r\n {\r\n path: 'account',\r\n component: AccountDetailsPageComponent,\r\n resolve: {\r\n member: MemberResolver,\r\n balances: BalanceResolver,\r\n seating: SeatingDetailResolver,\r\n memberLoyaltyStatus: MemberLoyaltyStatusResolver,\r\n },\r\n },\r\n {\r\n path: 'activity',\r\n component: ActivityPageComponent,\r\n },\r\n { path: 'splitTransactions', component: SplitTransactionPageComponent },\r\n {\r\n path: 'referAFriend',\r\n children: [\r\n { path: '', component: ReferAFriendPageComponent },\r\n { path: 'success', component: ReferAFriendSuccessPageComponent },\r\n ],\r\n },\r\n { path: 'pointsmanagement', component: PointsManagementPageComponent, resolve: { partners: PartnerResolver } },\r\n {\r\n path: 'partners',\r\n component: PartnerPageComponent,\r\n resolve: { partners: PartnerResolver, pendingPartners: PartnerPendingResolver },\r\n },\r\n {\r\n path: 'payment',\r\n resolve: { balances: BalanceResolver, cardTokens: CardTokenResolver },\r\n children: [{ path: '', component: PaymentPageComponent }],\r\n },\r\n\r\n {\r\n path: 'ecash',\r\n resolve: { balances: BalanceResolver, cardTokens: CardTokenResolver },\r\n children: [\r\n { path: '', component: EcashPageComponent },\r\n {\r\n path: 'success',\r\n resolve: { balances: BalanceResolver },\r\n component: EcashSuccessPageComponent,\r\n },\r\n { path: 'failure', component: EcashFailurePageComponent },\r\n { path: 'result', component: EcashResultPageComponent },\r\n {\r\n path: 'bonustransfer',\r\n resolve: {\r\n partners: PartnerResolver,\r\n balances: BalanceResolver,\r\n },\r\n component: RenewalBonusTransferPageComponent,\r\n },\r\n ],\r\n },\r\n {\r\n path: 'ecashhistory',\r\n resolve: {\r\n balances: BalanceResolver,\r\n cardTokens: CardTokenResolver,\r\n memberCard: MemberCardResolver,\r\n member: MemberResolver,\r\n },\r\n component: EcashHistoryPageComponent,\r\n },\r\n {\r\n path: 'portalproducts',\r\n resolve: { balances: BalanceResolver, cardTokens: CardTokenResolver },\r\n children: [\r\n {\r\n path: 'success',\r\n resolve: { balances: BalanceResolver },\r\n component: PortalProductSuccessPageComponent,\r\n },\r\n { path: 'failure', component: PortalProductFailurePageComponent },\r\n { path: 'result', component: PortalProductResultsPageComponent },\r\n ],\r\n },\r\n {\r\n path: 'cardtoken',\r\n children: [\r\n { path: 'success', component: EcashSuccessPageComponent },\r\n { path: 'failure', component: EcashFailurePageComponent },\r\n { path: 'result', component: EcashResultPageComponent },\r\n ],\r\n },\r\n {\r\n path: 'offers',\r\n children: [\r\n { path: '', component: OffersPageComponent },\r\n {\r\n path: 'details/:offerId',\r\n component: OfferDetailsPageComponent,\r\n },\r\n ],\r\n },\r\n {\r\n path: 'campaign',\r\n children: [\r\n {\r\n path: 'details/:offerId',\r\n component: CampaignDetailsPageComponent,\r\n },\r\n ],\r\n },\r\n { path: 'faq', component: FaqPageComponent },\r\n { path: 'terms', component: TermsPageComponent },\r\n { path: 'contact', component: ContactUsPageComponent },\r\n { path: 'badges', component: BadgesPageComponent },\r\n { path: 'challenges', component: ChallengesPageComponent },\r\n {\r\n path: 'ticketTransfer',\r\n children: [\r\n {\r\n path: '',\r\n component: TicketTransferPageComponent,\r\n },\r\n {\r\n path: 'tickets/:gameNumber',\r\n component: TicketsPageComponent,\r\n resolve: {\r\n ticketResolver: TicketResolver,\r\n },\r\n },\r\n {\r\n path: 'confirm',\r\n component: TransferConfirmPageComponent,\r\n resolve: { addressBookResolver: AddressBookResolver },\r\n canActivate: [TicketTransferGuard],\r\n },\r\n { path: 'success', component: TicketTransferSuccessPageComponent },\r\n ],\r\n },\r\n {\r\n path: 'contacts',\r\n component: ContactsPageComponent,\r\n resolve: { addressBookResolver: AddressBookResolver },\r\n },\r\n {\r\n path: 'games',\r\n // If user is a free member, load the games page otherwise load the legacy games page\r\n canMatch: [freeMember],\r\n loadComponent: () => import('./pages/games-page/games-page.component').then((c) => c.GamesPageComponent),\r\n },\r\n {\r\n path: 'games',\r\n resolve: {\r\n surveys: SurveyResolver,\r\n games: FantasyGameResolver,\r\n },\r\n component: GamesLayoutComponent,\r\n children: [\r\n {\r\n path: '',\r\n children: [\r\n { path: 'polls', component: PollsPageComponent },\r\n { path: 'quiz', component: QuizPageComponent },\r\n { path: 'predictor', component: PredictorPageComponent },\r\n {\r\n path: 'pickaplayer',\r\n component: FantasyGamesPageComponent,\r\n resolve: { games: FantasyGameResolver, history: FantasyHistoryResolver },\r\n },\r\n {\r\n path: 'pickaplayer/:id',\r\n component: FantasyPlayerSelectPageComponent,\r\n resolve: { games: FantasyGameResolver },\r\n },\r\n { path: 'scorepredictor', component: ScorePredictorPageComponent },\r\n ],\r\n canActivate: [PopulationGuard],\r\n data: {\r\n exclude: [Populations.NonMember],\r\n popRedirect: 'games',\r\n },\r\n },\r\n ],\r\n },\r\n {\r\n path: 'managetickets',\r\n children: [\r\n { path: '', component: ManageTicketsPageComponent },\r\n { path: ':id', component: ManageTicketsPageComponent },\r\n ],\r\n },\r\n {\r\n path: 'manageticketshistory',\r\n component: ManageTicketHistoryPageComponent,\r\n },\r\n // Club Pages\r\n {\r\n path: 'checkout',\r\n children: [\r\n {\r\n path: '',\r\n component: CartCheckoutPageComponent,\r\n resolve: {\r\n member: MemberResolver,\r\n address: AddressResolver,\r\n country: CountryResolver,\r\n },\r\n },\r\n {\r\n path: 'success',\r\n component: CartCheckoutSuccessPageComponent,\r\n },\r\n {\r\n path: 'results',\r\n component: CartCheckoutResultsPageComponent,\r\n },\r\n ],\r\n resolve: {\r\n address: AddressResolver,\r\n },\r\n },\r\n {\r\n path: 'watch',\r\n component: TailgatePageComponent,\r\n data: {\r\n gameType: GameDataSource.ExternalRef,\r\n },\r\n resolve: {\r\n surveys: SurveyResolver,\r\n },\r\n },\r\n {\r\n path: 'subscriptions',\r\n children: [\r\n {\r\n path: '',\r\n component: SubscriptionsPageComponent,\r\n resolve: {\r\n subscriptions: PortalProductsSubscriptionsResolver,\r\n address: AddressResolver,\r\n },\r\n },\r\n {\r\n path: 'checkout',\r\n component: CartCheckoutPagePortalProductsComponent,\r\n resolve: {\r\n subscriptions: PortalProductsSubscriptionsResolver,\r\n address: AddressResolver,\r\n country: CountryResolver,\r\n member: MemberResolver,\r\n },\r\n },\r\n ],\r\n },\r\n { path: 'notificationmanagement', component: NotificationManagementPageComponent },\r\n {\r\n path: 'earn',\r\n component: EarnPageComponent,\r\n },\r\n {\r\n path: 'benefits',\r\n component: BenefitsPageComponent,\r\n resolve: { benefits: BenefitResolver },\r\n },\r\n {\r\n path: 'leaderboard',\r\n component: LeaderboardPageComponent,\r\n },\r\n {\r\n path: 'fantasyleaderboard',\r\n component: FantasyLeaderboardPageComponent,\r\n },\r\n {\r\n path: 'arenacashtransfer',\r\n children: [\r\n {\r\n path: '',\r\n component: TransferArenaCashPageComponent,\r\n resolve: { balances: BalanceResolver },\r\n },\r\n {\r\n path: 'multipleaccounts',\r\n component: TransferMultipleAccountsPageComponent,\r\n },\r\n {\r\n path: 'success',\r\n component: TransferArenaCashSuccessPageComponent,\r\n resolve: { balances: BalanceResolver },\r\n },\r\n ],\r\n },\r\n { path: '404page', component: NotFoundPageComponent },\r\n { path: 'signin-ticketmaster', component: TmCallbackComponent },\r\n {\r\n path: 'provider/:providerid',\r\n component: ProviderCallbackComponent,\r\n },\r\n // Link Card\r\n {\r\n path: 'linkcard',\r\n children: [{ path: '', component: CardLinkingPageComponent }],\r\n },\r\n\r\n //Link Card Success\r\n {\r\n path: 'linkcardSuccess',\r\n children: [{ path: '', component: CardLinkingSuccessPageComponent }],\r\n },\r\n {\r\n path: 'affiliate',\r\n component: CardLinkAffiliatesPageComponent,\r\n children: [\r\n { path: 'alloffers', component: CardLinkAllOffersPageComponent },\r\n { path: 'myoffers', component: CardLinkActivatedOffersPageComponent },\r\n { path: '', pathMatch: 'full', redirectTo: 'alloffers' },\r\n ],\r\n },\r\n //card linking offer detail\r\n {\r\n path: 'offerdetail/:id',\r\n component: CardLinkOfferDetailsPageComponent,\r\n },\r\n ],\r\n },\r\n {\r\n path: 'ticketinvite',\r\n component: TicketInvitePageComponentComponent,\r\n },\r\n {\r\n path: 'zoom/:purchaseId',\r\n component: ZoomMeetingPageComponent,\r\n resolve: { member: MemberResolver, purchases: PurchaseResolver },\r\n },\r\n { path: '', redirectTo: 'login', pathMatch: 'full' },\r\n { path: 'login', component: LoginPageComponent, canActivate: [MaintenanceGuard] },\r\n { path: 'login/accounts', component: LoginAccountsPageComponent, canActivate: [MaintenanceGuard] },\r\n { path: 'reset-password', component: UserResetPasswordComponent },\r\n { path: 'change-password', component: UserChangePasswordComponent, canActivate: [ChangePasswordGuard] },\r\n {\r\n path: 'register',\r\n component: RegistrationLayoutPageComponent,\r\n loadChildren: () => import('@fgb/portal-component-library/src/lib/registration').then((m) => m.RegistrationModule),\r\n providers: [\r\n provideRegistrationConfig({\r\n routes: [\r\n {\r\n path: 'terms',\r\n data: {\r\n // Change the setting in the registration terms page to show the scroll button\r\n showBottomButton: true,\r\n },\r\n },\r\n ],\r\n }),\r\n ],\r\n },\r\n { path: 'callback', component: AuthCallbackComponent },\r\n { path: 'sso', component: SingleSignOnComponent },\r\n { path: 'login/singleSignOn/:providerId', component: SingleSignOnComponent },\r\n { path: 'login/singleSignOn/:providerId/:clubId', component: SingleSignOnComponent },\r\n { path: 'login/ss/login.aspx', component: V1SingleSignOnComponent },\r\n { path: 'maintenance', component: MaintenancePageComponent },\r\n { path: 'tm-auth-callback', component: TmAuthCallbackComponent },\r\n { path: 'sa-callback', component: SportsAllianceCallbackComponent },\r\n { path: 'kc-callback', component: KeyCloakCallbackComponent },\r\n { path: 'om-callback', component: OtherMediaCallbackComponent },\r\n { path: 'sg-callback', component: SeatGeekCallbackComponent },\r\n { path: '**', redirectTo: '404page' },\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n RegistrationPaymentModule,\r\n RouterModule.forRoot(routes, {\r\n scrollPositionRestoration: 'enabled',\r\n bindToComponentInputs: true,\r\n }),\r\n ],\r\n exports: [RouterModule],\r\n})\r\nexport class AppRoutingModule {}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { AuctionService, LottoService, MarketplaceService } from '@fgb/core';\r\nimport { zip } from 'rxjs';\r\nimport { Populations } from 'src/app/shared/utilities/populations';\r\n\r\n@Component({\r\n selector: 'fgb-rewards-page',\r\n templateUrl: './rewards-page.component.html',\r\n styleUrls: ['./rewards-page.component.scss'],\r\n})\r\nexport class RewardsPageComponent implements OnInit {\r\n populations = Populations;\r\n\r\n constructor(\r\n private auctionService: AuctionService,\r\n private lottoService: LottoService,\r\n private marketplaceService: MarketplaceService\r\n ) {}\r\n\r\n filterTypesList: { label: string; value: string }[] = [{ label: 'reward.filter_modal.all', value: 'all' }];\r\n selectedValues: string[] = ['all'];\r\n showOffCanvas: boolean = false;\r\n\r\n ngOnInit() {\r\n zip(\r\n this.auctionService.fetchAuctions(),\r\n this.lottoService.fetchLottos(),\r\n this.marketplaceService.fetchMarketplaceItems()\r\n ).toPromise();\r\n }\r\n\r\n handleFilterTypesListEmitter(filterTypes: { label: string; value: string }[]) {\r\n this.filterTypesList = [...filterTypes];\r\n }\r\n\r\n handleSelectedValuesEmitter(selectedValues: string[]) {\r\n this.selectedValues = [...selectedValues];\r\n }\r\n\r\n handleShowOffCanvasEmitter(showOffCanvas: boolean) {\r\n this.showOffCanvas = showOffCanvas;\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'fgb-challenges-page',\r\n templateUrl: './challenges-page.component.html',\r\n styleUrl: './challenges-page.component.scss'\r\n})\r\nexport class ChallengesPageComponent {\r\n\r\n}\r\n","
\r\n

{{ 'challenges.page.title' | translate }}

\r\n
\r\n\r\n\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { GoogleMapsModule } from '@angular/google-maps';\r\nimport { TranslateModule, TranslateLoader, MissingTranslationHandler } from '@ngx-translate/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { MemberQuery, FGBTranslationLoader, FGBMissingTranslationHandler, AuthService } from '@fgb/core';\r\n\r\n// ?? PIPES\r\nimport { ContentImagePipe } from './pipes/content-image.pipe';\r\nimport { FortressCurrencyPipe } from './pipes/fortress-currency.pipe';\r\nimport { ManageTicketsComponent } from './components/manage-tickets/manage-tickets.component';\r\nimport { ContentFilePipe } from './pipes/content-file.pipe';\r\nimport { CreditCardNumberPipe } from './pipes/credit-card-number.pipe';\r\nimport { CardTypeImageUrlPipe } from './pipes/card-type-image-url.pipe';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { SafeHtmlPipe } from './pipes/safe-html.pipe';\r\nimport { WithLoadingPipe } from './pipes/with-loading.pipe';\r\nimport { NumberInputModule } from '@fgb/portal-component-library/src/lib/shared/number-input';\r\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\r\n\r\n// ?? DIRECTIVES\r\nimport { ImgDefaultDirective } from './directives/img-default.directive';\r\nimport { InPopulationDirective } from './directives/in-population.directive';\r\nimport { NotInPopulationDirective } from './directives/not-in-population.directive';\r\nimport { IsClientTypeDirective } from './directives/is-client-type.directive';\r\nimport { IsNotClientTypeDirective } from './directives/is-not-client-type.directive';\r\nimport { StickyDirective } from './directives/sticky.directive';\r\nimport { InProductCodeDirective } from './directives/in-product-code.directive';\r\nimport { NotInProductCodeDirective } from './directives/not-in-product-code.directive';\r\nimport { TmCallbackComponent } from './components/manage-tickets/tm-callback/tm-callback.component';\r\nimport { HasTagDirective } from './directives/has-tag.directive';\r\nimport { CtrlTemplateDirective } from './directives/control-template.directive';\r\nimport { NotHasTagDirective } from './directives/not-has-tag.directive';\r\nimport { InClubDirective } from './directives/in-club.directive';\r\nimport { NotInClubDirective } from './directives/not-in-club.directive';\r\n\r\n// ?? COMPONENTS\r\nimport { GiftCodesComponent } from './components/gift-codes/gift-codes.component';\r\nimport { TmAuthCallbackComponent } from './components/providers/tm/tm-auth-callback/tm-auth-callback.component';\r\nimport { FgbYoutubePlayerComponent } from './components/providers/youtube/fgb-youtube-player/fgb-youtube-player.component';\r\nimport { FgbVimeoPlayerComponent } from './components/providers/vimeo/fgb-vimeo-player/fgb-vimeo-player.component';\r\nimport { FgbSVPPlayerComponent } from './components/providers/streamingVideoProvider/fgb-svp-player/fgb-svp-player.component';\r\nimport { FgbTwitchPlayerComponent } from './components/providers/twitch/fgb-twitch-player/fgb-twitch-player.component';\r\nimport { FgbZoomConferenceComponent } from './components/providers/zoom/fgb-zoom-conference/fgb-zoom-conference.component';\r\nimport { FgbBoxcastPlayerComponent } from './components/providers/boxcast/fgb-boxcast-player/fgb-boxcast-player.component';\r\nimport { FgbStreamablePlayerComponent } from './components/providers/streamable/fgb-streamable-player/fgb-streamable-player.component';\r\nimport { FgbFacebookPlayerComponent } from './components/providers/facebook/fgb-facebook-player/fgb-facebook-player.component';\r\nimport { TimeSinceComponent } from './components/time-since/time-since.component';\r\nimport { CustomPopupComponent } from './components/custom-popup/custom-popup.component';\r\nimport { PopupInfoComponent } from './components/custom-popup/popup-info/popup-info.component';\r\nimport { PopupActionConfirmComponent } from './components/custom-popup/popup-action-confirm/popup-action-confirm.component';\r\nimport { PopupActionOkCancelComponent } from './components/custom-popup/popup-action-ok-cancel/popup-action-ok-cancel.component';\r\nimport { CountdownWatchComponent } from './components/countdown-watch/countdown-watch.component';\r\nimport { SportsAllianceCallbackComponent } from './components/providers/sports-alliance/sports-alliance-callback/sports-alliance-callback.component';\r\nimport { ProviderCallbackComponent } from './components/providers/provider-callback/provider-callback.component';\r\nimport { KeyCloakCallbackComponent } from './components/providers/key-cloak/key-cloak-callback/key-cloak-callback.component';\r\nimport { SeatGeekCallbackComponent } from './components/providers/seatgeek/seatgeek-callback/seatgeek-callback.component';\r\nimport { OtherMediaCallbackComponent } from './components/providers/other-media/other-media-callback/other-media-callback.component';\r\n\r\n// ?? MODULES\r\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\r\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\r\nimport { CountryAndRegionsModule } from '@fgb/portal-component-library/src/lib/shared/country-and-regions';\r\nimport { CountdownModule } from '@fgb/portal-component-library/src/lib/shared/countdown';\r\nimport { LoyaltyIconModule } from '@fgb/portal-component-library/src/lib/shared/loyalty-icon';\r\nimport { SortBarModule } from '@fgb/portal-component-library/src/lib/shared/sort-bar';\r\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { ConfirmModalModule } from '@fgb/portal-component-library/src/lib/shared/confirm-modal';\r\nimport { LostBarcodeModalComponent } from './components/lost-barcode-modal/lost-barcode-modal.component';\r\nimport { CountdownComponent } from './components/countdown/countdown.component';\r\n\r\nconst PIPES = [\r\n ContentImagePipe,\r\n ContentFilePipe,\r\n FortressCurrencyPipe,\r\n CreditCardNumberPipe,\r\n CardTypeImageUrlPipe,\r\n SafeHtmlPipe,\r\n WithLoadingPipe,\r\n];\r\n\r\nconst DIRECTIVES = [\r\n ImgDefaultDirective,\r\n InPopulationDirective,\r\n NotInPopulationDirective,\r\n IsNotClientTypeDirective,\r\n IsClientTypeDirective,\r\n StickyDirective,\r\n InProductCodeDirective,\r\n NotInProductCodeDirective,\r\n HasTagDirective,\r\n NotHasTagDirective,\r\n InClubDirective,\r\n NotInClubDirective,\r\n CtrlTemplateDirective,\r\n];\r\n\r\nconst IMPORT_COMPONENTS = [\r\n ManageTicketsComponent,\r\n GiftCodesComponent,\r\n TmCallbackComponent,\r\n TmAuthCallbackComponent,\r\n FgbYoutubePlayerComponent,\r\n FgbVimeoPlayerComponent,\r\n FgbSVPPlayerComponent,\r\n FgbTwitchPlayerComponent,\r\n FgbZoomConferenceComponent,\r\n FgbBoxcastPlayerComponent,\r\n FgbStreamablePlayerComponent,\r\n TimeSinceComponent,\r\n FgbFacebookPlayerComponent,\r\n CustomPopupComponent,\r\n PopupInfoComponent,\r\n PopupActionConfirmComponent,\r\n PopupActionOkCancelComponent,\r\n CountdownWatchComponent,\r\n SportsAllianceCallbackComponent,\r\n KeyCloakCallbackComponent,\r\n OtherMediaCallbackComponent,\r\n ProviderCallbackComponent,\r\n SeatGeekCallbackComponent,\r\n LostBarcodeModalComponent,\r\n CountdownComponent,\r\n];\r\n\r\nconst EXPORT_COMPONENTS = [\r\n ManageTicketsComponent,\r\n TimeSinceComponent,\r\n FgbYoutubePlayerComponent,\r\n FgbVimeoPlayerComponent,\r\n FgbSVPPlayerComponent,\r\n FgbTwitchPlayerComponent,\r\n FgbZoomConferenceComponent,\r\n FgbBoxcastPlayerComponent,\r\n FgbStreamablePlayerComponent,\r\n FgbFacebookPlayerComponent,\r\n CustomPopupComponent,\r\n CtrlTemplateDirective,\r\n CountdownWatchComponent,\r\n CountdownComponent,\r\n];\r\n\r\nconst IMPORT_MODULES = [\r\n ReactiveFormsModule,\r\n FormsModule,\r\n CommonModule,\r\n NgbModule,\r\n RouterModule,\r\n InlineSVGModule,\r\n GoogleMapsModule,\r\n ErrorsModule,\r\n NumberInputModule,\r\n SortBarModule,\r\n CountdownModule,\r\n LoyaltyIconModule,\r\n LoadingModule,\r\n DirectivesModule,\r\n PipesModule,\r\n CountryAndRegionsModule,\r\n ConfirmModalModule,\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useClass: FGBTranslationLoader,\r\n deps: [HttpClient, AuthService, MemberQuery],\r\n },\r\n missingTranslationHandler: {\r\n provide: MissingTranslationHandler,\r\n useClass: FGBMissingTranslationHandler,\r\n },\r\n }),\r\n];\r\n\r\nconst EXPORT_MODULES = [\r\n LoadingModule,\r\n GoogleMapsModule,\r\n PipesModule,\r\n NumberInputModule,\r\n CountryAndRegionsModule,\r\n ConfirmModalModule,\r\n DirectivesModule,\r\n];\r\n\r\n@NgModule({\r\n declarations: [...IMPORT_COMPONENTS, ...DIRECTIVES, ...PIPES],\r\n imports: [...IMPORT_MODULES],\r\n exports: [...EXPORT_COMPONENTS, ...DIRECTIVES, ...PIPES, ...EXPORT_MODULES],\r\n})\r\nexport class SharedModule {}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\r\nimport { TranslateModule } from \"@ngx-translate/core\";\r\nimport { NumberIncrementInputComponent } from \"./number-increment-input.component\";\r\n\r\n@NgModule({\r\n declarations: [\r\n NumberIncrementInputComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n TranslateModule\r\n ],\r\n exports: [\r\n NumberIncrementInputComponent\r\n ]\r\n})\r\nexport class NumberIncrementInputModule{}","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { PipesModule } from \"@fgb/portal-component-library/src/lib/pipes\";\r\nimport { NgbModule } from \"@ng-bootstrap/ng-bootstrap\";\r\nimport { CarouselModule } from \"ngx-owl-carousel-o\";\r\nimport { ScorePredictorBodyComponent } from \"./score-predictor-item/score-predictor-body/score-predictor-body.component\";\r\nimport { ScorePredictorFooterComponent } from \"./score-predictor-item/score-predictor-footer/score-predictor-footer.component\";\r\nimport { ScorePredictorHeaderComponent } from \"./score-predictor-item/score-predictor-header/score-predictor-header.component\";\r\nimport { ScorePredictorItemComponent } from \"./score-predictor-item/score-predictor-item.component\";\r\nimport { ScorePredictorListComponent } from \"./score-predictor-list/score-predictor-list.component\";\r\nimport { ScorePredictorRulesComponent } from \"./score-predictor-rules/score-predictor-rules.component\";\r\nimport { SharedModule } from '../../../../shared/shared.module';\r\nimport { CountdownModule } from \"@fgb/portal-component-library/src/lib/shared/countdown\";\r\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\r\nimport { ScorePredictorCompletedPendingComponent } from \"./score-predictor-completed/score-predictor-completed-pending/score-predictor-completed-pending.component\";\r\nimport { ScorePredictorCompletedProcessedComponent } from \"./score-predictor-completed/score-predictor-completed-processed/score-predictor-completed-processed.component\";\r\nimport { ScorePredictorCompletedComponent } from \"./score-predictor-completed/score-predictor-completed.component\";\r\nimport { TranslateModule } from \"@ngx-translate/core\";\r\nimport { NumberIncrementInputModule } from \"src/app/shared/components/number-increment-input/number-increment-input.module\";\r\n\r\n@NgModule({\r\n declarations: [\r\n ScorePredictorRulesComponent,\r\n ScorePredictorListComponent,\r\n ScorePredictorItemComponent,\r\n ScorePredictorBodyComponent,\r\n ScorePredictorFooterComponent,\r\n ScorePredictorHeaderComponent,\r\n ScorePredictorCompletedComponent,\r\n ScorePredictorCompletedPendingComponent,\r\n ScorePredictorCompletedProcessedComponent\r\n ],\r\n imports: [\r\n NgbModule,\r\n CommonModule,\r\n CarouselModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n TranslateModule,\r\n // Component Library Imports\r\n CountdownModule,\r\n PipesModule,\r\n // Local imports\r\n SharedModule,\r\n NumberIncrementInputModule\r\n ],\r\n exports: [\r\n ScorePredictorRulesComponent,\r\n ScorePredictorListComponent,\r\n ScorePredictorItemComponent,\r\n ScorePredictorBodyComponent,\r\n ScorePredictorFooterComponent,\r\n ScorePredictorHeaderComponent,\r\n ScorePredictorCompletedComponent,\r\n ScorePredictorCompletedPendingComponent,\r\n ScorePredictorCompletedProcessedComponent\r\n ]\r\n})\r\nexport class ScorePredictorModule{}","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { CarouselModule } from 'ngx-owl-carousel-o';\r\nimport { SurveyItemComponent } from './components/survey/survey-item/survey-item.component';\r\nimport { SurveyItemAnswerComponent } from './components/survey/survey-item-answer/survey-item-answer.component';\r\nimport { TransferArenaCashComponent } from './components/transfer-arena-cash/transfer-arena-cash/transfer-arena-cash.component';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { TransferArenaMultipleAccountsComponent } from './components/transfer-arena-cash/transfer-arena-multiple-accounts/transfer-arena-multiple-accounts.component';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { ProgressBarComponent } from './components/average-points/progress-bar/progress-bar.component';\r\nimport { SurveyItemQuizComponent } from './components/survey/survey-item/survey-item-quiz/survey-item-quiz.component';\r\nimport { SurveyItemPredictorComponent } from './components/survey/survey-item/survey-item-predictor/survey-item-predictor.component';\r\nimport { SurveyItemPollComponent } from './components/survey/survey-item/survey-item-poll/survey-item-poll.component';\r\nimport { SurveyCompletedPollComponent } from './components/survey/survey-item-answer/completed/survey-completed-poll/survey-completed-poll.component';\r\nimport { SurveyCompletedQuizComponent } from './components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz.component';\r\nimport { SurveyCompletedPollItemComponent } from './components/survey/survey-item-answer/completed/survey-completed-poll/survey-completed-poll-item/survey-completed-poll-item.component';\r\nimport { SurveyCompletedQuizTextComponent } from './components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz-text/survey-completed-quiz-text.component';\r\nimport { SurveyCompletedQuizImageAndTextComponent } from './components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz-image-and-text/survey-completed-quiz-image-and-text.component';\r\nimport { SurveyCompletedPredictorComponent } from './components/survey/survey-item-answer/completed/survey-completed-predictor/survey-completed-predictor.component';\r\nimport { PredictorCompletedPendingComponent } from './components/survey/survey-item-answer/completed/survey-completed-predictor/predictor-completed-pending/predictor-completed-pending.component';\r\nimport { PredictorCompletedProcessedComponent } from './components/survey/survey-item-answer/completed/survey-completed-predictor/predictor-completed-processed/predictor-completed-processed.component';\r\nimport { LeaderboardComponent } from './components/leaderboard/leaderboard.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport { JokesCardComponent } from './components/jokes-card/jokes-card.component';\r\nimport { ProgressBarGameAttendanceComponent } from './components/progress-bar-game-attendance/progress-bar-game-attendance.component';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { ToastrModule } from 'ngx-toastr';\r\nimport { OffersListItemComponent } from './components/offers/offers-list-item/offers-list-item.component';\r\nimport { OffersListComponent } from './components/offers/offers-list/offers-list.component';\r\nimport { OffersDetailsComponent } from './components/offers/offers-details/offers-details.component';\r\nimport { OfferTermsModalComponent } from './components/offers/offer-terms-modal/offer-terms-modal.component';\r\nimport { PartnersListItemComponent } from './components/offers/partners-list-item/partners-list-item.component';\r\nimport { OffersToolbarComponent } from './components/offers/offers-toolbar/offers-toolbar.component';\r\nimport { OfferEarnTabComponent } from './components/offers/offer-earn-tab/offer-earn-tab.component';\r\nimport { OffersMapComponent } from './components/offers/offers-map/offers-map.component';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { ShortLongDescriptionModule } from '@fgb/portal-component-library/src/lib/shared/short-long-description';\r\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\r\nimport { FilterByModule } from '@fgb/portal-component-library/src/lib/shared/filter-by';\r\nimport { OfferSearchBarModule } from '@fgb/portal-component-library/src/lib/club/offer-search-bar';\r\nimport { LeaderboardMonthlyComponent } from './components/leaderboard-monthly/leaderboard-monthly.component';\r\nimport { CountdownModule } from '@fgb/portal-component-library/src/lib/shared/countdown';\r\nimport { TimeSinceModule } from '@fgb/portal-component-library/src/lib/shared/time-since';\r\nimport { ScorePredictorModule } from './components/score-predictor/score-predictor.module';\r\nimport { FeaturedSurveysComponent } from './components/survey/featured-surveys/featured-surveys.component';\r\nimport { SurveyCompletedQuizImageComponent } from './components/survey/survey-item-answer/completed/survey-completed-quiz/survey-completed-quiz-image/survey-completed-quiz-image.component';\r\nimport { ClubNotificationComponent } from './components/club-notification/club-notification.component';\r\nimport { NotificationButtonComponent } from './components/notification/notification-button/notification-button.component';\r\nimport { NotificationModule } from '@fgb/portal-component-library/src/lib/club/notification';\r\n\r\n@NgModule({\r\n declarations: [\r\n SurveyItemComponent,\r\n SurveyItemAnswerComponent,\r\n SurveyCompletedQuizComponent,\r\n SurveyCompletedPollComponent,\r\n SurveyCompletedPollItemComponent,\r\n SurveyCompletedPredictorComponent,\r\n TransferArenaCashComponent,\r\n TransferArenaMultipleAccountsComponent,\r\n SurveyCompletedQuizTextComponent,\r\n SurveyCompletedQuizImageAndTextComponent,\r\n ProgressBarComponent,\r\n SurveyItemQuizComponent,\r\n SurveyItemPredictorComponent,\r\n SurveyItemPollComponent,\r\n PredictorCompletedPendingComponent,\r\n PredictorCompletedProcessedComponent,\r\n LeaderboardComponent,\r\n JokesCardComponent,\r\n ProgressBarGameAttendanceComponent,\r\n OffersListItemComponent,\r\n OffersListComponent,\r\n OffersToolbarComponent,\r\n OffersMapComponent,\r\n OfferEarnTabComponent,\r\n OffersDetailsComponent,\r\n OfferTermsModalComponent,\r\n PartnersListItemComponent,\r\n LeaderboardMonthlyComponent,\r\n FeaturedSurveysComponent,\r\n SurveyCompletedQuizImageComponent,\r\n ClubNotificationComponent,\r\n NotificationButtonComponent\r\n ],\r\n imports: [\r\n NgbModule,\r\n SharedModule,\r\n CommonModule,\r\n CarouselModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n BrowserAnimationsModule,\r\n ShortLongDescriptionModule,\r\n OfferSearchBarModule,\r\n NotificationModule,\r\n ErrorsModule,\r\n FilterByModule,\r\n CountdownModule,\r\n TimeSinceModule,\r\n ToastrModule.forRoot(),\r\n InlineSVGModule.forRoot(),\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n },\r\n deps: [HttpClient],\r\n },\r\n }),\r\n RouterModule,\r\n ],\r\n exports: [\r\n SurveyItemComponent,\r\n TransferArenaCashComponent,\r\n TransferArenaMultipleAccountsComponent,\r\n ProgressBarComponent,\r\n LeaderboardComponent,\r\n JokesCardComponent,\r\n ProgressBarGameAttendanceComponent,\r\n OffersListItemComponent,\r\n OffersListComponent,\r\n OffersDetailsComponent,\r\n OfferTermsModalComponent,\r\n OffersToolbarComponent,\r\n OfferEarnTabComponent,\r\n PartnersListItemComponent,\r\n LeaderboardMonthlyComponent,\r\n ScorePredictorModule,\r\n FeaturedSurveysComponent,\r\n NotificationButtonComponent\r\n ]\r\n})\r\nexport class ClubModule {}\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { take, tap } from 'rxjs/operators';\nimport * as i1 from '@fgb/core';\nimport * as i3 from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport * as i4 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\n\nclass CashBackToggleComponent {\n constructor(cardTokenService) {\n this.cardTokenService = cardTokenService;\n this.disableToggle = false;\n this.enableAPICall = true;\n this.showError = false;\n }\n ngOnInit() {\n this.cardTokenService\n .fetchCardTokenStatus()\n .pipe(take(1), tap((status) => (this.cardTokenService.turnOn = status)))\n .subscribe();\n }\n /** Toggles credit cashback on toggle change.\n * If the promise fails, toggle the UI back without calling the API again, and display error message */\n toggleCredit() {\n if (this.enableAPICall) {\n this.cardTokenService\n .setCardTokenStatus(this.cardTokenService.turnOn)\n .catch(() => {\n this.enableAPICall = false;\n this.showError = true;\n this.cardTokenService.turnOn = false;\n })\n .then(() => (this.enableAPICall = true));\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CashBackToggleComponent, deps: [{ token: i1.CardTokenService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: CashBackToggleComponent, selector: \"fgbcl-cash-back-toggle\", inputs: { disableToggle: \"disableToggle\" }, ngImport: i0, template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n

\\r\\n {{ 'ecash.cashback.toggle.error' | translate }}\\r\\n

\\r\\n
\\r\\n\", styles: [\":host{width:100%}.cash-back-container{min-height:2rem}.error{font-size:.625rem;margin:0}.cashback-toggle{position:relative;display:inline-block;width:43px;height:20px;margin-bottom:0}.cashback-toggle .cashback-toggle-slider{position:absolute;cursor:pointer;inset:0;-webkit-transition:.4s;transition:.4s;border-radius:20px}.cashback-toggle .cashback-toggle-slider:before{position:absolute;content:\\\"\\\";height:20px;width:20px;-webkit-transition:.4s;transition:.4s;border-radius:50%;box-shadow:0 0 6px #00000029}.cashback-toggle .cashback-toggle-input:checked+.cashback-toggle-slider:before{-webkit-transform:translateX(23px);-ms-transform:translateX(23px);transform:translate(23px)}.cashback-toggle input{opacity:0;width:0;height:0}\\n\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.CheckboxControlValueAccessor, selector: \"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]\" }, { kind: \"directive\", type: i3.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i3.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"pipe\", type: i4.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CashBackToggleComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-cash-back-toggle', template: \"
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n

\\r\\n {{ 'ecash.cashback.toggle.error' | translate }}\\r\\n

\\r\\n
\\r\\n\", styles: [\":host{width:100%}.cash-back-container{min-height:2rem}.error{font-size:.625rem;margin:0}.cashback-toggle{position:relative;display:inline-block;width:43px;height:20px;margin-bottom:0}.cashback-toggle .cashback-toggle-slider{position:absolute;cursor:pointer;inset:0;-webkit-transition:.4s;transition:.4s;border-radius:20px}.cashback-toggle .cashback-toggle-slider:before{position:absolute;content:\\\"\\\";height:20px;width:20px;-webkit-transition:.4s;transition:.4s;border-radius:50%;box-shadow:0 0 6px #00000029}.cashback-toggle .cashback-toggle-input:checked+.cashback-toggle-slider:before{-webkit-transform:translateX(23px);-ms-transform:translateX(23px);transform:translate(23px)}.cashback-toggle input{opacity:0;width:0;height:0}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.CardTokenService }], propDecorators: { disableToggle: [{\n type: Input\n }] } });\n\nclass CashBackToggleModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CashBackToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: CashBackToggleModule, declarations: [CashBackToggleComponent], imports: [CommonModule,\n FormsModule,\n BrowserAnimationsModule,\n FGBSharedModule], exports: [CashBackToggleComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CashBackToggleModule, imports: [CommonModule,\n FormsModule,\n BrowserAnimationsModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CashBackToggleModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [CashBackToggleComponent],\n imports: [\n CommonModule,\n FormsModule,\n BrowserAnimationsModule,\n FGBSharedModule\n ],\n exports: [CashBackToggleComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CashBackToggleComponent, CashBackToggleModule };\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { SplitTransactionComponent } from './split-transaction-item/split-transaction.component';\r\nimport { SplitTransactionListComponent } from './split-transaction-list/split-transaction-list.component';\r\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\r\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\r\nimport { SplitTransactionHistoryComponent } from './split-transaction-history/split-transaction-history.component';\r\nimport { DateRangePickerModule } from '@fgb/portal-component-library/src/lib/shared/date-range-picker';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n@NgModule({\r\n declarations: [\r\n SplitTransactionComponent,\r\n SplitTransactionListComponent,\r\n SplitTransactionHistoryComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n PipesModule,\r\n LoadingModule,\r\n DateRangePickerModule,\r\n TranslateModule\r\n ],\r\n exports: [\r\n SplitTransactionComponent,\r\n SplitTransactionListComponent,\r\n SplitTransactionHistoryComponent\r\n ]\r\n})\r\nexport class SplitTransactionModule{}","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AccountDetailsComponent } from './components/account-details/account-details.component';\r\nimport { AuthCallbackComponent } from './components/auth/auth-callback/auth-callback.component';\r\nimport { CardListItemComponent } from './components/cards/card-list-item/card-list-item.component';\r\nimport { MemberCardComponent } from './components/member-card/member-card.component';\r\nimport { SingleSignOnComponent } from './components/single-sign-on/single-sign-on.component';\r\nimport { UserLoginComponent } from './components/user-login/user-login.component';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { BarcodeComponent } from './components/barcode/barcode.component';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { QRCodeModule } from 'angularx-qrcode';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { PointsSummaryComponent } from './components/points-summary/points-summary.component';\r\nimport { EcashBalanceComponent } from './components/ecash-balance/ecash-balance.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport { PointsSummaryBarComponent } from './components/points-summary-bar/points-summary-bar.component';\r\nimport { MlbamUserLoginComponent } from './components/mlbam-user-login/mlbam-user-login.component';\r\nimport { TransactionListComponent } from './components/transaction-list/transaction-list.component';\r\nimport { ReferAFriendComponent } from './components/refer-a-friend/refer-a-friend.component';\r\nimport { TransactionHistoryComponent } from './components/transaction-history/transaction-history.component';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { CardListComponent } from './components/cards/card-list/card-list.component';\r\nimport { CardSelectComponent } from './components/cards/card-select/card-select.component';\r\nimport { AddressSelectorComponent } from './components/address-selector/address-selector.component';\r\nimport { PointsManagementPlaceholderComponent } from './components/points-management-placeholder/points-management-placeholder.component';\r\nimport { PointsTransferComponent } from './components/points-transfer/points-transfer.component';\r\nimport { CarouselModule } from 'ngx-owl-carousel-o';\r\nimport { PartnerListComponent } from './components/partner-list/partner-list.component';\r\nimport { PartnerPendingListComponent } from './components/partner-pending-list/partner-pending-list.component';\r\nimport { PartnerAddFormComponent } from './components/partner-add-form/partner-add-form.component';\r\nimport { PartnerAcceptFormComponent } from './components/partner-accept-form/partner-accept-form.component';\r\nimport { AveragePointsComponent } from './components/average-points/average-points.component';\r\nimport { TmUserLoginComponent } from './components/tm-user-login/tm-user-login.component';\r\nimport { EditAccountDetailsComponent } from './components/edit-account-details/edit-account-details.component';\r\nimport { V1SingleSignOnComponent } from './components/v1-single-sign-on/v1-single-sign-on.component';\r\nimport { SportsAllianceUserLoginComponent } from './components/sports-alliance-user-login/sports-alliance-user-login.component';\r\nimport { GbgIdentityStatusComponent } from './components/gbg-identity-status/gbg-identity-status.component';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\r\nimport { DateRangePickerModule } from '@fgb/portal-component-library/src/lib/shared/date-range-picker';\r\nimport { CashBackToggleModule } from '@fgb/portal-component-library/src/lib/ecash/cash-back-toggle';\r\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\r\nimport { KeyCloakUserLoginComponent } from './components/key-cloak-user-login/key-cloak-user-login.component';\r\nimport { SeatGeekUserLoginComponent } from './components/seatgeek-user-login/seatgeek-user-login.component';\r\nimport { MobilePassModule } from '@fgb/portal-component-library/src/lib/passes/mobile-pass';\r\nimport { SplitTransactionModule } from './components/split-transaction/split-transaction.module';\r\nimport { UserResetPasswordComponent } from './components/user-reset-password/user-reset-password.component';\r\nimport { UserChangePasswordComponent } from './components/user-change-password/user-change-password.component';\r\nimport { InvalidTokenModalComponent } from './components/invalid-token-modal/invalid-token-modal.component';\r\nimport { PopupAddToHomeScreenComponent } from './components/popup-add-to-home-screen/popup-add-to-home-screen.component';\r\nimport { MemberUpgradeCardComponent } from './components/member-upgrade-card/member-upgrade-card.component';\r\nimport { UpgradeBenefitsCardComponent } from './components/upgrade-benefits-card/upgrade-benefits-card.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n AccountDetailsComponent,\r\n AuthCallbackComponent,\r\n CardListItemComponent,\r\n MemberCardComponent,\r\n SingleSignOnComponent,\r\n UserLoginComponent,\r\n BarcodeComponent,\r\n EcashBalanceComponent,\r\n PointsSummaryComponent,\r\n PointsSummaryBarComponent,\r\n MlbamUserLoginComponent,\r\n ReferAFriendComponent,\r\n TransactionListComponent,\r\n TransactionHistoryComponent,\r\n CardListComponent,\r\n CardSelectComponent,\r\n AddressSelectorComponent,\r\n PointsManagementPlaceholderComponent,\r\n PointsTransferComponent,\r\n PartnerListComponent,\r\n PartnerPendingListComponent,\r\n PartnerAddFormComponent,\r\n PartnerAcceptFormComponent,\r\n AveragePointsComponent,\r\n TmUserLoginComponent,\r\n EditAccountDetailsComponent,\r\n V1SingleSignOnComponent,\r\n SportsAllianceUserLoginComponent,\r\n KeyCloakUserLoginComponent,\r\n GbgIdentityStatusComponent,\r\n SeatGeekUserLoginComponent,\r\n UserResetPasswordComponent,\r\n UserChangePasswordComponent,\r\n InvalidTokenModalComponent,\r\n PopupAddToHomeScreenComponent,\r\n UpgradeBenefitsCardComponent,\r\n ],\r\n exports: [\r\n AccountDetailsComponent,\r\n AuthCallbackComponent,\r\n CardListItemComponent,\r\n MemberCardComponent,\r\n SingleSignOnComponent,\r\n UserLoginComponent,\r\n BarcodeComponent,\r\n EcashBalanceComponent,\r\n PointsSummaryComponent,\r\n PointsSummaryBarComponent,\r\n MlbamUserLoginComponent,\r\n TransactionHistoryComponent,\r\n ReferAFriendComponent,\r\n CardListComponent,\r\n CardSelectComponent,\r\n AddressSelectorComponent,\r\n PointsManagementPlaceholderComponent,\r\n PointsTransferComponent,\r\n PartnerListComponent,\r\n PartnerPendingListComponent,\r\n PartnerAddFormComponent,\r\n PartnerAcceptFormComponent,\r\n AveragePointsComponent,\r\n TmUserLoginComponent,\r\n EditAccountDetailsComponent,\r\n V1SingleSignOnComponent,\r\n SportsAllianceUserLoginComponent,\r\n KeyCloakUserLoginComponent,\r\n GbgIdentityStatusComponent,\r\n SeatGeekUserLoginComponent,\r\n SplitTransactionModule,\r\n PopupAddToHomeScreenComponent,\r\n UpgradeBenefitsCardComponent,\r\n ],\r\n imports: [\r\n NgbModule,\r\n CommonModule,\r\n SharedModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n QRCodeModule,\r\n RouterModule,\r\n InlineSVGModule,\r\n CarouselModule,\r\n DateRangePickerModule,\r\n ErrorsModule,\r\n CashBackToggleModule,\r\n LoadingModule,\r\n MemberUpgradeCardComponent,\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n },\r\n deps: [HttpClient],\r\n },\r\n }),\r\n MobilePassModule,\r\n SplitTransactionModule,\r\n ],\r\n})\r\nexport class UserModule {}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { TranslateModule, TranslateLoader } from '@ngx-translate/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { QRCodeModule } from 'angularx-qrcode';\r\nimport { ChildPanelComponent } from './components/child-panel/child-panel.component';\r\nimport { ChildListComponent } from './components/child-list/child-list.component';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { CarouselModule } from 'ngx-owl-carousel-o';\r\nimport { UpgradeChildrenComponent } from './components/upgrade-children/upgrade-children.component';\r\nimport { UserModule } from '../user/user.module';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { BackToGuardianComponent } from './components/back-to-guardian/back-to-guardian.component';\r\nimport { ChildCheckInAttendanceComponent } from './components/child-check-in-attendance/child-check-in-attendance.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { ChildBarcodesCarouselComponent } from './components/child-barcodes-carousel/child-barcodes-carousel.component';\r\nimport { RedsoxChildrenTicketCodesComponent } from './components/redsox-children-ticket-codes/redsox-children-ticket-codes.component';\r\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\r\nimport { MembershipOptionsCarouselComponent } from './components/membership-options-carousel/membership-options-carousel.component';\r\n\r\n@NgModule({\r\n imports: [\r\n NgbModule,\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormsModule,\r\n CarouselModule,\r\n RouterModule,\r\n InlineSVGModule,\r\n BrowserAnimationsModule,\r\n ErrorsModule,\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n },\r\n deps: [HttpClient],\r\n },\r\n }),\r\n QRCodeModule,\r\n UserModule,\r\n SharedModule,\r\n ],\r\n declarations: [\r\n ChildPanelComponent,\r\n ChildListComponent,\r\n UpgradeChildrenComponent,\r\n BackToGuardianComponent,\r\n ChildCheckInAttendanceComponent,\r\n ChildBarcodesCarouselComponent,\r\n RedsoxChildrenTicketCodesComponent,\r\n MembershipOptionsCarouselComponent,\r\n ],\r\n exports: [\r\n ChildPanelComponent,\r\n ChildListComponent,\r\n BackToGuardianComponent,\r\n ChildCheckInAttendanceComponent,\r\n ChildBarcodesCarouselComponent,\r\n RedsoxChildrenTicketCodesComponent,\r\n ]\r\n})\r\nexport class GuardianModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { UserModule } from '../user/user.module';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AccountNavComponent } from './components/account-nav/account-nav.component';\r\nimport { FooterComponent } from './components/footer/footer.component';\r\nimport { MixedLoyaltyNavComponent } from './components/mixed-loyalty-nav/mixed-loyalty-nav.component';\r\nimport { MobileNavMenuComponent } from './components/mobile-nav-menu/mobile-nav-menu.component';\r\nimport { NavBarComponent } from './components/nav-bar/nav-bar.component';\r\nimport { NavigationIndicatorComponent } from './components/navigation-indicator/navigation-indicator.component';\r\nimport { TicketNavComponent } from './components/ticket-nav/ticket-nav.component';\r\nimport { GameNavComponent } from './components/game-nav/game-nav.component';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { GuardianModule } from '../guardian/guardian.module';\r\nimport { ClubModule } from '../club/club.module';\r\nimport { PopupNotificationComponent } from './components/popup-notification/popup-notification.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FloatingCartButtonComponent } from './components/floating-cart-button/floating-cart-button.component';\r\nimport { LanguageSelectorModule } from '@fgb/portal-component-library/src/lib/shared/language-selector';\r\nimport { LoyaltyIconModule } from '@fgb/portal-component-library/src/lib/shared/loyalty-icon';\r\nimport { CartItemModule } from '@fgb/portal-component-library/src/lib/loyalty/cart-item';\r\nimport { AccessibilityModule } from '@fgb/portal-component-library/accessibility';\r\nimport { NotificationModule } from '@fgb/portal-component-library/src/lib/club/notification';\r\nimport { ArenaCashNavComponent } from './components/arena-cash-nav/arena-cash-nav.component';\r\nimport { ChallengesNavComponent } from './components/challenges-nav/challenges-nav.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n NavBarComponent,\r\n NavigationIndicatorComponent,\r\n FooterComponent,\r\n MixedLoyaltyNavComponent,\r\n AccountNavComponent,\r\n GameNavComponent,\r\n MobileNavMenuComponent,\r\n TicketNavComponent,\r\n PopupNotificationComponent,\r\n FloatingCartButtonComponent,\r\n ArenaCashNavComponent,\r\n ChallengesNavComponent\r\n ],\r\n exports: [\r\n NavBarComponent,\r\n NavigationIndicatorComponent,\r\n FooterComponent,\r\n MixedLoyaltyNavComponent,\r\n AccountNavComponent,\r\n GameNavComponent,\r\n MobileNavMenuComponent,\r\n TicketNavComponent,\r\n PopupNotificationComponent,\r\n FloatingCartButtonComponent,\r\n ArenaCashNavComponent,\r\n ChallengesNavComponent\r\n ],\r\n imports: [\r\n RouterModule,\r\n NgbModule,\r\n CommonModule,\r\n FormsModule,\r\n InlineSVGModule,\r\n SharedModule,\r\n UserModule,\r\n ClubModule,\r\n GuardianModule,\r\n LanguageSelectorModule,\r\n LoyaltyIconModule,\r\n CartItemModule,\r\n AccessibilityModule,\r\n NotificationModule,\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n },\r\n deps: [HttpClient],\r\n },\r\n }),\r\n ]\r\n})\r\nexport class LayoutModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { UserModule } from '../user/user.module';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { CommonModule } from '@angular/common';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { CarouselModule } from 'ngx-owl-carousel-o';\r\nimport { LottosWalletDetailsComponent } from './components/lottos-wallet-details/lottos-wallet-details.component';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { LayoutModule } from '../layouts/layout.module';\r\nimport { WorksheetListComponent } from './components/worksheet-list/worksheet-list.component';\r\nimport { WorksheetItemComponent } from './components/worksheet-item/worksheet-item.component';\r\nimport { SubscriptionsListComponent } from './components/subscriptions-list/subscriptions-list.component';\r\nimport { SubscriptionsListItemComponent } from './components/subscriptions-list-item/subscriptions-list-item.component';\r\nimport { SubscriptionsListItemRenewalsComponent } from './components/subscriptions-list-item-renewals/subscriptions-list-item-renewals.component';\r\nimport { SubscriptionsListItemSubscribedComponent } from './components/subscriptions-list-item-subscribed/subscriptions-list-item-subscribed.component';\r\nimport { CartItemSubscriptionsComponent } from './components/cart-item-subscriptions/cart-item-subscriptions.component';\r\nimport { CartSubscriptionsModalComponent } from './components/cart-item-subscriptions/cart-subscriptions-modal/cart-subscriptions-modal.component';\r\nimport { ShortLongDescriptionModule } from '@fgb/portal-component-library/src/lib/shared/short-long-description';\r\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\r\nimport { AuctionDetailsModule } from '@fgb/portal-component-library/src/lib/loyalty/auctions/auction-details';\r\nimport { AuctionPanelModule } from '@fgb/portal-component-library/src/lib/loyalty/auctions/auction-panel';\r\nimport { AuctionListModule } from '@fgb/portal-component-library/src/lib/loyalty/auctions/auction-list';\r\nimport { LoyaltyIconModule } from '@fgb/portal-component-library/src/lib/shared/loyalty-icon';\r\nimport { CountdownModule } from '@fgb/portal-component-library/src/lib/shared/countdown';\r\nimport { LottoDetailsModule } from '@fgb/portal-component-library/src/lib/loyalty/lottos/lotto-details';\r\nimport { LottosListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/lottos/lottos-list-item';\r\nimport { LottosListModule } from '@fgb/portal-component-library/src/lib/loyalty/lottos/lottos-list';\r\nimport { BadgeListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/badges/badge-list-item';\r\nimport { MarketplaceDetailsModule } from '@fgb/portal-component-library/src/lib/loyalty/marketplace/marketplace-details';\r\nimport { MarketplaceListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/marketplace/marketplace-list-item';\r\nimport { MarketplaceListModule } from '@fgb/portal-component-library/src/lib/loyalty/marketplace/marketplace-list';\r\nimport { SortBarModule } from '@fgb/portal-component-library/src/lib/shared/sort-bar';\r\nimport { ClubModule } from '../club/club.module';\r\nimport { TierComponent } from './components/tier/tier.component';\r\nimport { QRCodeModule } from 'angularx-qrcode';\r\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\r\nimport { MixedLoyaltyItemModule } from '@fgb/portal-component-library/src/lib/loyalty/mixed-loyalty';\r\n\r\n@NgModule({\r\n declarations: [\r\n LottosWalletDetailsComponent,\r\n WorksheetListComponent,\r\n WorksheetItemComponent,\r\n SubscriptionsListComponent,\r\n SubscriptionsListItemComponent,\r\n SubscriptionsListItemRenewalsComponent,\r\n SubscriptionsListItemSubscribedComponent,\r\n CartItemSubscriptionsComponent,\r\n CartSubscriptionsModalComponent,\r\n TierComponent,\r\n ],\r\n exports: [\r\n LottosWalletDetailsComponent,\r\n WorksheetListComponent,\r\n WorksheetItemComponent,\r\n SubscriptionsListComponent,\r\n SubscriptionsListItemComponent,\r\n SubscriptionsListItemRenewalsComponent,\r\n SubscriptionsListItemSubscribedComponent,\r\n CartItemSubscriptionsComponent,\r\n CartSubscriptionsModalComponent,\r\n TierComponent,\r\n ],\r\n imports: [\r\n ClubModule,\r\n RouterModule,\r\n NgbModule,\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormsModule,\r\n CarouselModule,\r\n BrowserAnimationsModule,\r\n SharedModule,\r\n InlineSVGModule.forRoot(),\r\n UserModule,\r\n LayoutModule,\r\n ErrorsModule,\r\n ShortLongDescriptionModule,\r\n AuctionDetailsModule,\r\n AuctionPanelModule,\r\n AuctionListModule,\r\n LottoDetailsModule,\r\n LottosListModule,\r\n LottosListItemModule,\r\n BadgeListItemModule,\r\n MarketplaceDetailsModule,\r\n MarketplaceListModule,\r\n MarketplaceListItemModule,\r\n MixedLoyaltyItemModule,\r\n LoyaltyIconModule,\r\n CountdownModule,\r\n SortBarModule,\r\n QRCodeModule,\r\n LoadingModule,\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n },\r\n deps: [HttpClient],\r\n },\r\n })\r\n ],\r\n})\r\nexport class LoyaltyModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { VouchersComponent } from './components/vouchers/vouchers.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { LocationVoucherComponent } from './components/location-voucher/location-voucher.component';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\r\n\r\n@NgModule({\r\n declarations: [VouchersComponent, LocationVoucherComponent],\r\n exports: [VouchersComponent, LocationVoucherComponent],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n SharedModule,\r\n NgbModule,\r\n ErrorsModule,\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n },\r\n deps: [HttpClient],\r\n },\r\n }),\r\n ],\r\n})\r\nexport class VouchersModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { TopupComponent } from './components/topup/topup.component';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { TranslateModule, TranslateLoader } from '@ngx-translate/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { AutotopupComponent } from './components/autotopup/autotopup.component';\r\nimport { TopUpTicketComponent } from './components/top-up-ticket/top-up-ticket.component';\r\nimport { EcashMemberCardComponent } from './components/ecash-member-card/ecash-member-card.component';\r\nimport { UserModule } from '../user/user.module';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { CarouselModule } from 'ngx-owl-carousel-o';\r\nimport { NonPartnerBonusTransferComponent } from './components/non-partner-bonus-transfer/non-partner-bonus-transfer.component';\r\nimport { PartnerBonusTransferComponent } from './components/partner-bonus-transfer/partner-bonus-transfer.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n AutotopupComponent,\r\n TopupComponent,\r\n TopUpTicketComponent,\r\n EcashMemberCardComponent,\r\n NonPartnerBonusTransferComponent,\r\n PartnerBonusTransferComponent,\r\n ],\r\n imports: [\r\n NgbModule,\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormsModule,\r\n SharedModule,\r\n UserModule,\r\n CarouselModule,\r\n InlineSVGModule.forRoot(),\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n },\r\n deps: [HttpClient],\r\n },\r\n }),\r\n ],\r\n exports: [\r\n AutotopupComponent,\r\n TopupComponent,\r\n TopUpTicketComponent,\r\n EcashMemberCardComponent,\r\n NonPartnerBonusTransferComponent,\r\n PartnerBonusTransferComponent,\r\n ],\r\n})\r\nexport class EcashModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MemberPurchaseItemDetailsComponent } from './components/member-purchase-item-details/member-purchase-item-details.component';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { QRCodeModule } from 'angularx-qrcode';\r\nimport { RouterModule } from '@angular/router';\r\nimport { CarouselModule } from 'ngx-owl-carousel-o';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { AuctionBidListComponent } from './components/auction-bid-list/auction-bid-list.component';\r\nimport { AuctionBidDetailsComponent } from './components/auction-bid-details/auction-bid-details.component';\r\nimport { LayoutModule } from '../layouts/layout.module';\r\nimport { UserModule } from '../user/user.module';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { ShortLongDescriptionModule } from '@fgb/portal-component-library/src/lib/shared/short-long-description';\r\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\r\nimport { LoyaltyIconModule } from '@fgb/portal-component-library/src/lib/shared/loyalty-icon';\r\nimport { LoyaltyModule } from '../loyalty/loyalty.module';\r\n\r\n@NgModule({\r\n declarations: [\r\n MemberPurchaseItemDetailsComponent,\r\n AuctionBidListComponent,\r\n AuctionBidDetailsComponent,\r\n ],\r\n exports: [\r\n AuctionBidListComponent,\r\n AuctionBidDetailsComponent,\r\n MemberPurchaseItemDetailsComponent,\r\n ],\r\n imports: [\r\n LayoutModule,\r\n UserModule,\r\n CommonModule,\r\n SharedModule,\r\n FormsModule,\r\n CarouselModule,\r\n QRCodeModule,\r\n RouterModule,\r\n NgbModule,\r\n LoyaltyModule,\r\n LoyaltyIconModule,\r\n ReactiveFormsModule,\r\n ErrorsModule,\r\n ShortLongDescriptionModule,\r\n InlineSVGModule.forRoot(),\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n },\r\n deps: [HttpClient],\r\n },\r\n }),\r\n ],\r\n})\r\nexport class PurchaseModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { EventsComponent } from './components/next-game/next-game.component';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { GamesListWithTicketsComponent } from './components/games-list-with-tickets/games-list-with-tickets.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport { EventsDropDownComponent } from './components/events-drop-down/events-drop-down.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { GameBannerComponent } from './components/game-banner/game-banner.component';\r\nimport { GameCardComponent } from './components/game-card/game-card.component';\r\nimport { GameListComponent } from './components/game-list/game-list.component';\r\nimport { TicketTransferWindowStatusBarComponent } from './components/games-list-with-tickets/ticket-transfer-window-status-bar/ticket-transfer-window-status-bar.component';\r\nimport { TenGameClubComponent } from './components/ten-game-club/ten-game-club.component';\r\nimport { TenGameClubScoreComponent } from './components/ten-game-club-score/ten-game-club-score.component';\r\nimport { CarouselModule } from 'ngx-owl-carousel-o';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { NextGameCountdownComponent } from './components/next-game-countdown/next-game-countdown.component';\r\nimport { GameCardCountdownComponent } from './components/game-card-countdown/game-card-countdown.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n EventsComponent,\r\n GamesListWithTicketsComponent,\r\n EventsDropDownComponent,\r\n GameBannerComponent,\r\n GameCardComponent,\r\n GameListComponent,\r\n TicketTransferWindowStatusBarComponent,\r\n TenGameClubComponent,\r\n TenGameClubScoreComponent,\r\n NextGameCountdownComponent,\r\n GameCardCountdownComponent,\r\n ],\r\n imports: [\r\n RouterModule,\r\n CommonModule,\r\n SharedModule,\r\n FormsModule,\r\n CarouselModule,\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n },\r\n deps: [HttpClient],\r\n },\r\n }),\r\n InlineSVGModule.forRoot(),\r\n ],\r\n exports: [\r\n EventsComponent,\r\n GamesListWithTicketsComponent,\r\n EventsDropDownComponent,\r\n GameBannerComponent,\r\n GameListComponent,\r\n GameCardComponent,\r\n TenGameClubComponent,\r\n TenGameClubScoreComponent,\r\n NextGameCountdownComponent,\r\n GameCardCountdownComponent,\r\n ],\r\n})\r\nexport class EventsModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { TicketTopUpListComponent } from './components/ticket-top-up/ticket-topup-list/ticket-topup-list.component';\r\nimport { TicketTopupCheckoutComponent } from './components/ticket-top-up/ticket-topup-checkout/ticket-topup-checkout.component';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { QRCodeModule } from 'angularx-qrcode';\r\nimport { RouterModule } from '@angular/router';\r\nimport { TicketDetailsUnloadedComponent } from './components/ticket-top-up/ticket-details/ticket-details-unloaded/ticket-details-unloaded.component';\r\nimport { TicketUnloadedListComponent } from './components/ticket-top-up/ticket-unloaded-list/ticket-unloaded-list.component';\r\nimport { TicketLoadedListComponent } from './components/ticket-top-up/ticket-loaded-list/ticket-loaded-list.component';\r\nimport { EcashModule } from '../ecash/ecash.module';\r\nimport { TicketDetailsLoadedComponent } from './components/ticket-top-up/ticket-details/ticket-details-loaded/ticket-details-loaded.component';\r\nimport { TicketTopupCheckoutListComponent } from './components/ticket-top-up/ticket-topup-checkout-list/ticket-topup-checkout-list.component';\r\nimport { UserModule } from '../user/user.module';\r\nimport { EventsModule } from '../events/events.module';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\r\nimport { MissingTranslationHandler, TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { FGBMissingTranslationHandler, FGBTranslationLoader } from '@fgb/core';\r\nimport { HttpClient } from '@angular/common/http';\r\n\r\n@NgModule({\r\n declarations: [\r\n TicketTopUpListComponent,\r\n TicketTopupCheckoutComponent,\r\n TicketDetailsUnloadedComponent,\r\n TicketUnloadedListComponent,\r\n TicketLoadedListComponent,\r\n TicketDetailsLoadedComponent,\r\n TicketTopupCheckoutListComponent,\r\n ],\r\n exports: [\r\n TicketTopupCheckoutComponent,\r\n TicketDetailsUnloadedComponent,\r\n TicketUnloadedListComponent,\r\n TicketLoadedListComponent,\r\n TicketTopUpListComponent,\r\n ],\r\n imports: [\r\n NgbModule,\r\n CommonModule,\r\n UserModule,\r\n SharedModule,\r\n FormsModule,\r\n QRCodeModule,\r\n RouterModule,\r\n ReactiveFormsModule,\r\n EcashModule,\r\n EventsModule,\r\n ErrorsModule,\r\n InlineSVGModule.forRoot(),\r\n TranslateModule.forRoot({\r\n loader: {\r\n provide: TranslateLoader,\r\n useClass: FGBTranslationLoader,\r\n deps: [HttpClient],\r\n },\r\n missingTranslationHandler: {\r\n provide: MissingTranslationHandler,\r\n useClass: FGBMissingTranslationHandler,\r\n },\r\n }),\r\n ],\r\n})\r\nexport class TicketsModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FantasyGamePanelComponent } from './components/fantasy-game-panel/fantasy-game-panel.component';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { FantasyPlayerSelectComponent } from './components/fantasy-player-select/fantasy-player-select.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport { FantasyHistoryListComponent } from './components/fantasy-history-list/fantasy-history-list.component';\r\nimport { CarouselModule } from 'ngx-owl-carousel-o';\r\nimport { FantasyHistoryListItemComponent } from './components/fantasy-history-list-item/fantasy-history-list-item.component';\r\nimport { FantasyPlayerSelectConfirmComponent } from './components/fantasy-player-select-confirm/fantasy-player-select-confirm.component';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\nimport { FantasyLeaderboardComponent } from './components/fantasy-leaderboard/fantasy-leaderboard.component';\r\nimport { FantasyGamePanelNextGameComponent } from './components/fantasy-game-panel-next-game/fantasy-game-panel-next-game.component';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { CountdownModule } from '@fgb/portal-component-library/src/lib/shared/countdown';\r\n\r\n@NgModule({\r\n declarations: [\r\n FantasyGamePanelComponent,\r\n FantasyPlayerSelectComponent,\r\n FantasyHistoryListComponent,\r\n FantasyHistoryListItemComponent,\r\n FantasyPlayerSelectConfirmComponent,\r\n FantasyLeaderboardComponent,\r\n FantasyGamePanelNextGameComponent,\r\n ],\r\n exports: [\r\n FantasyGamePanelComponent,\r\n FantasyPlayerSelectComponent,\r\n FantasyHistoryListComponent,\r\n FantasyGamePanelNextGameComponent,\r\n FantasyLeaderboardComponent,\r\n ],\r\n imports: [\r\n RouterModule,\r\n SharedModule,\r\n CommonModule,\r\n CarouselModule,\r\n CountdownModule,\r\n InlineSVGModule.forRoot(),\r\n TranslateModule.forChild({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n },\r\n deps: [HttpClient],\r\n },\r\n }),\r\n ],\r\n})\r\nexport class FantasyModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CardSelectBannerComponent } from './components/banners/card-select-banner/card-select-banner.component';\r\nimport { UserModule } from '../user/user.module';\r\n\r\n@NgModule({\r\n declarations: [\r\n CardSelectBannerComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n UserModule,\r\n ],\r\n exports: [\r\n CardSelectBannerComponent,\r\n ]\r\n})\r\nexport class DisplayModule { }\r\n","import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';\r\nimport * as moment from 'moment';\r\nimport { Inject, Injectable } from \"@angular/core\";\r\nimport { DateOptions, DATE_OPTIONS } from '@fgb/core';\r\n\r\n@Injectable()\r\nexport class MomentDateFormatter extends NgbDateParserFormatter {\r\n isDayFirst: boolean = false;\r\n\r\n constructor(@Inject(DATE_OPTIONS) readonly dateOption: DateOptions){\r\n super();\r\n }\r\n\r\n parse(value: string): NgbDateStruct {\r\n let result: NgbDateStruct | null = null;\r\n if (value) {\r\n value = value.trim(); \r\n \r\n if(!moment(value, this.dateOption.NgbDateFormat, true).isValid()){\r\n\r\n if( this.isDayFirst ){\r\n const val = value.replace(/([ ,/-]+)/g, '/');\r\n const date = val.split('/');\r\n const month = date[1];\r\n const day = date[0];\r\n const year = date[2];\r\n value = moment(`${month}/${day}/${year}`).format(this.dateOption.NgbDateFormat);\r\n }\r\n else{\r\n value = moment(value).format(this.dateOption.NgbDateFormat);\r\n }\r\n }\r\n\r\n const mdt = moment(value);\r\n result = { year: mdt.year(), month: mdt.month() + 1, day: mdt.date() };\r\n }\r\n return result as NgbDateStruct;\r\n }\r\n\r\n format(date: NgbDateStruct): string {\r\n if (!date) return '';\r\n let mdt = moment([date.year, date.month - 1, date.day]);\r\n if (!mdt.isValid()) return '';\r\n return mdt.format(this.dateOption.NgbDateFormat);\r\n }\r\n\r\n}\r\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport * as i3 from '@fgb/portal-component-library/src/lib/loyalty/badges/badge-list-item';\nimport { BadgeListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/badges/badge-list-item';\nimport * as i4 from '@angular/router';\nimport { RouterModule } from '@angular/router';\n\nclass BadgeFeaturedListComponent {\n constructor(badgesQuery, badgesService) {\n this.badgesQuery = badgesQuery;\n this.badgesService = badgesService;\n this.title = 'Badges';\n this.showTitle = true;\n this.limit = 6;\n this.link = '/badges';\n this.linkTitle = 'Show All';\n this.phaseThree = false;\n this.isList = true;\n }\n ngOnInit() {\n this.badgesService.fetchBadges().toPromise();\n this.badges$ = this.badgesQuery.selectAllCompletedBadges(this.limit);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeFeaturedListComponent, deps: [{ token: i1.BadgesQuery }, { token: i1.BadgesService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: BadgeFeaturedListComponent, selector: \"fgbcl-badge-featured-list\", inputs: { title: \"title\", showTitle: \"showTitle\", limit: \"limit\", link: \"link\", linkTitle: \"linkTitle\", phaseThree: \"phaseThree\", confettiColors: \"confettiColors\" }, ngImport: i0, template: \"\\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.BadgeListItemComponent, selector: \"fgbcl-badge-list-item\", inputs: [\"badge\", \"phaseThree\", \"confettiColors\"] }, { kind: \"directive\", type: i4.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"pipe\", type: i2.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeFeaturedListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-badge-featured-list', template: \"\\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.BadgesQuery }, { type: i1.BadgesService }], propDecorators: { title: [{\n type: Input\n }], showTitle: [{\n type: Input\n }], limit: [{\n type: Input\n }], link: [{\n type: Input\n }], linkTitle: [{\n type: Input\n }], phaseThree: [{\n type: Input\n }], confettiColors: [{\n type: Input\n }] } });\n\nclass BadgeFeaturedListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeFeaturedListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeFeaturedListModule, declarations: [BadgeFeaturedListComponent], imports: [CommonModule,\n BadgeListItemModule,\n RouterModule], exports: [BadgeFeaturedListComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeFeaturedListModule, imports: [CommonModule,\n BadgeListItemModule,\n RouterModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgeFeaturedListModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n BadgeFeaturedListComponent\n ],\n imports: [\n CommonModule,\n BadgeListItemModule,\n RouterModule\n ],\n exports: [\n BadgeFeaturedListComponent\n ]\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BadgeFeaturedListComponent, BadgeFeaturedListModule };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Output, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { map } from 'rxjs/operators';\nimport { RegexUK } from '@fgb/portal-component-library/src/lib/shared/utilities';\nimport * as i1 from '@fgb/core';\nimport * as i2 from '@ng-bootstrap/ng-bootstrap';\nimport * as i4 from '@fgb/portal-component-library/src/lib/shared/errors';\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\nimport * as i5 from '@fgb/portal-component-library/src/lib/shared/loading';\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\nimport * as i6 from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport * as i7 from '@fgb/portal-component-library/src/lib/shared/confirm-modal';\nimport { ConfirmModalModule } from '@fgb/portal-component-library/src/lib/shared/confirm-modal';\nimport * as i8 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass AddressBookComponent {\n constructor(errorStateService, addressBookQuery, addressService, modalService) {\n this.errorStateService = errorStateService;\n this.addressBookQuery = addressBookQuery;\n this.addressService = addressService;\n this.modalService = modalService;\n this.addNew = false;\n this.selectedContact = new EventEmitter();\n }\n ngOnInit() {\n this.getAddressBookList();\n }\n isEmailValid(email) {\n return String(email).toLowerCase().match(RegexUK.email);\n }\n getAddressBookList() {\n this.addressBook$ = this.addressBookQuery\n .selectAllContacts()\n .pipe(map((contactsList) => contactsList.sort((a, b) => a.FullName.localeCompare(b.FullName))));\n }\n selectContact(item) {\n this.selectedContact.emit(item);\n }\n showAddNewForm() {\n this.addNew = !this.addNew;\n }\n addContact() {\n this.addressService\n .add(this.fullName, this.email)\n .toPromise()\n .then(() => this.showAddNewForm())\n .catch((error) => {\n this.errorStateService.addError(error);\n setTimeout(() => this.errorStateService.clearErrors(), 3000);\n });\n }\n removeContact(id) {\n this.addressService.remove(id).toPromise();\n this.modalService.dismissAll();\n }\n open(content) {\n this.modalService\n .open(content, {\n ariaLabelledBy: 'modal-basic-title',\n backdrop: 'static',\n })\n .result.then((result) => { }, (reason) => { });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressBookComponent, deps: [{ token: i1.ErrorStateService }, { token: i1.AddressBookQuery }, { token: i1.AddressBookService }, { token: i2.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: AddressBookComponent, selector: \"fgbcl-address-book\", outputs: { selectedContact: \"selectedContact\" }, ngImport: i0, template: \"\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{ 'fgbcl.address.book.add.button' | translate }}\\r\\n \\r\\n \\r\\n close\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ 'fgbcl.address.book.mobile.table.full.name' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ 'fgbcl.address.book.mobile.table.email' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'fgbcl.address.book.add.button' | translate }}\\r\\n \\r\\n \\r\\n close\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
{{ 'fgbcl.address.book.table.full.name' | translate }}{{ 'fgbcl.address.book.table.email' | translate }}\\r\\n
\\r\\n add\\r\\n {{ 'fgbcl.address.book.add.contact' | translate }}\\r\\n
\\r\\n
{{ item.FullName }}{{ item.EmailAddress }}\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n delete\\r\\n \\r\\n {{ 'fgbcl.address.book.delete.confirm.text' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n add\\r\\n {{ 'fgbcl.address.book.add.contact' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'fgbcl.address.book.mobile.table.full.name' | translate }}
\\r\\n
{{ item.FullName }}
\\r\\n
\\r\\n
\\r\\n
{{ 'fgbcl.address.book.mobile.table.email' | translate }}
\\r\\n
{{ item.EmailAddress }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.address.book.mobile.delete.confirm.text' | translate }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i4.ErrorsComponent, selector: \"fgbcl-errors\" }, { kind: \"component\", type: i5.LoadingComponent, selector: \"fgbcl-loading\", inputs: [\"size\"] }, { kind: \"directive\", type: i6.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"directive\", type: i7.ConfirmModalDirective, selector: \"[confirmModal]\", inputs: [\"disabled\", \"confirmImage\", \"confirmContent\", \"confirmContext\", \"modal-class\", \"valid\", \"confirmHeader\"], outputs: [\"confirm\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i8.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressBookComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-address-book', template: \"\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{ 'fgbcl.address.book.add.button' | translate }}\\r\\n \\r\\n \\r\\n close\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ 'fgbcl.address.book.mobile.table.full.name' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
{{ 'fgbcl.address.book.mobile.table.email' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'fgbcl.address.book.add.button' | translate }}\\r\\n \\r\\n \\r\\n close\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
{{ 'fgbcl.address.book.table.full.name' | translate }}{{ 'fgbcl.address.book.table.email' | translate }}\\r\\n
\\r\\n add\\r\\n {{ 'fgbcl.address.book.add.contact' | translate }}\\r\\n
\\r\\n
{{ item.FullName }}{{ item.EmailAddress }}\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n delete\\r\\n \\r\\n {{ 'fgbcl.address.book.delete.confirm.text' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n add\\r\\n {{ 'fgbcl.address.book.add.contact' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'fgbcl.address.book.mobile.table.full.name' | translate }}
\\r\\n
{{ item.FullName }}
\\r\\n
\\r\\n
\\r\\n
{{ 'fgbcl.address.book.mobile.table.email' | translate }}
\\r\\n
{{ item.EmailAddress }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'fgbcl.address.book.mobile.delete.confirm.text' | translate }}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.ErrorStateService }, { type: i1.AddressBookQuery }, { type: i1.AddressBookService }, { type: i2.NgbModal }], propDecorators: { selectedContact: [{\n type: Output\n }] } });\n\nclass AddressBookModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressBookModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressBookModule, declarations: [AddressBookComponent], imports: [CommonModule,\n ErrorsModule,\n LoadingModule,\n FormsModule,\n ConfirmModalModule,\n FGBSharedModule], exports: [AddressBookComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressBookModule, imports: [CommonModule,\n ErrorsModule,\n LoadingModule,\n FormsModule,\n ConfirmModalModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressBookModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [AddressBookComponent],\n imports: [\n CommonModule,\n ErrorsModule,\n LoadingModule,\n FormsModule,\n ConfirmModalModule,\n FGBSharedModule\n ],\n exports: [AddressBookComponent],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AddressBookComponent, AddressBookModule };\n","import { Component, OnDestroy } from '@angular/core';\r\nimport { AuthService, config } from '@fgb/core';\r\nimport { Router, NavigationEnd } from '@angular/router';\r\ndeclare var gtag: any;\r\nimport { filter } from 'rxjs/operators';\r\nimport { Subject } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'fgb-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent implements OnDestroy {\r\n private _destroyed$ = new Subject();\r\n\r\n constructor(\r\n public authService: AuthService,\r\n private router: Router\r\n ) {\r\n\r\n const script = document.createElement('script');\r\n script.async = true;\r\n script.src = 'https://www.googletagmanager.com/gtag/js?id=' + config.googleAnalyticsTag;\r\n document.head.prepend(script);\r\n\r\n const navigationEvent = this.router.events.pipe(filter((e) => e instanceof NavigationEnd));\r\n\r\n navigationEvent.subscribe((e) => {\r\n let event = e as NavigationEnd;\r\n gtag('config', config.googleAnalyticsTag, { page_path: event.urlAfterRedirects });\r\n });\r\n\r\n /** Google maps API */\r\n const googleMapsScript = document.createElement('script');\r\n googleMapsScript.src = 'https://maps.googleapis.com/maps/api/js?key=' + config.googleMapsAPIKey;\r\n document.head.prepend(googleMapsScript);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._destroyed$.next();\r\n this._destroyed$.complete();\r\n }\r\n}\r\n","\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { BenefitHeaderComponent } from './components/benefit-header/benefit-header.component';\r\nimport { BenefitItemListComponent } from './components/benefit-item-list/benefit-item-list.component';\r\nimport { BenefitItemComponent } from './components/benefit-item/benefit-item.component';\r\nimport { BenefitClaimedListComponent } from './components/benefit-claimed-list/benefit-claimed-list.component';\r\nimport { BenefitInfoModalComponent } from './components/benefit-info-modal/benefit-info-modal.component';\r\nimport { BenefitClaimConfirmationModalComponent } from './components/benefit-claim-confirmation-modal/benefit-claim-confirmation-modal.component';\r\nimport { BenefitClaimedComponent } from './components/benefit-claimed/benefit-claimed.component';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\n\r\n@NgModule({\r\n declarations: [\r\n BenefitHeaderComponent,\r\n BenefitItemListComponent,\r\n BenefitItemComponent,\r\n BenefitClaimedListComponent,\r\n BenefitInfoModalComponent,\r\n BenefitClaimConfirmationModalComponent,\r\n BenefitClaimedComponent\r\n ],\r\n exports: [\r\n BenefitHeaderComponent,\r\n BenefitItemListComponent,\r\n BenefitItemComponent,\r\n BenefitClaimedListComponent,\r\n BenefitInfoModalComponent,\r\n BenefitClaimConfirmationModalComponent,\r\n BenefitClaimedComponent\r\n ],\r\n imports: [CommonModule, SharedModule, NgbModule]\r\n})\r\nexport class BenefitModule {}\r\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, Output, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport { config } from '@fgb/core';\nimport * as i3 from '@ngx-translate/core';\nimport { FormsModule } from '@angular/forms';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass ClubSelectorComponent {\n constructor(memberQuery) {\n this.memberQuery = memberQuery;\n this.onClubSelected = new EventEmitter();\n this.clubIds = [];\n this.isSelectorOpen = false;\n }\n ngOnInit() {\n this.initClubs();\n }\n initClubs() {\n const context = this.memberQuery.getUserContext();\n this.clubIds = context?.clubs;\n this.selectedClubId = context.clubId;\n }\n getTeamLogoUrl(clubId) {\n return `${config.contentUrl}/image/clubs/${clubId}.png`;\n }\n toggleSelector() {\n this.isSelectorOpen = !this.isSelectorOpen;\n }\n onClubSelect(clubId) {\n this.selectedClubId = clubId;\n this.onClubSelected.emit(clubId);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ClubSelectorComponent, deps: [{ token: i1.MemberQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: ClubSelectorComponent, selector: \"fgbcl-club-selector\", outputs: { onClubSelected: \"onClubSelected\" }, ngImport: i0, template: \"\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'club.' + selectedClubId + '.name' | translate }}\\r\\n
\\r\\n
keyboard_arrow_down
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'club.' + clubId + '.name' | translate }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"pipe\", type: i3.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ClubSelectorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-club-selector', template: \"\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'club.' + selectedClubId + '.name' | translate }}\\r\\n
\\r\\n
keyboard_arrow_down
\\r\\n
\\r\\n
\\r\\n \\r\\n {{ 'club.' + clubId + '.name' | translate }}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\" }]\n }], ctorParameters: () => [{ type: i1.MemberQuery }], propDecorators: { onClubSelected: [{\n type: Output\n }] } });\n\nclass ClubSelectorModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ClubSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: ClubSelectorModule, declarations: [ClubSelectorComponent], imports: [CommonModule,\n FormsModule,\n FGBSharedModule], exports: [ClubSelectorComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ClubSelectorModule, imports: [CommonModule,\n FormsModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ClubSelectorModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n ClubSelectorComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n FGBSharedModule\n ],\n exports: [\n ClubSelectorComponent\n ]\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ClubSelectorComponent, ClubSelectorModule };\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@fgb/core';\nimport { RegistrationQuestionType, UserQuestionAnswerModel } from '@fgb/core';\nimport { tap } from 'rxjs/operators';\nimport * as i2 from '@angular/forms';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport * as i4 from '@ngx-translate/core';\nimport { FGBSharedModule } from '@fgb/portal-component-library/src/lib/shared';\n\nclass EditQuestionsComponent {\n constructor(userQuestionService, userQuestionQuery, fb, memberQuery) {\n this.userQuestionService = userQuestionService;\n this.userQuestionQuery = userQuestionQuery;\n this.fb = fb;\n this.memberQuery = memberQuery;\n /** comfortEdit is a status use for Edit question logic\n * In this state, if the value is blank then the user should be able to edit it, but once it has value in it, there should be no edit button visible.\n * Similarly, if there are 2 questions and 1 is blank then the edit button should appear but only the blank answer should be editable.\n */\n this.comfortEdit = false;\n this.questionAnswerArr = [];\n this.toggleEdit = false;\n this.isEditable = true;\n }\n ngOnInit() {\n this.userQuestionService.fetchQuestions().toPromise();\n this.userQuestionQuery\n .selectUserQuestion()\n .pipe(tap((response) => {\n this.registrationQuestionAnswerModel = [...response];\n this.initUserQuestionForm(response);\n if (this.comfortEdit)\n this.checkEditable();\n }))\n .toPromise();\n }\n /**Create an array with question and array formcontrol answer*/\n initUserQuestionForm(questionForm) {\n this.questionAnswerArr = [];\n if (!questionForm)\n return;\n questionForm.forEach((qf) => {\n this.questionAnswerArr.push({\n question: { value: qf.Question.Question, type: qf.Question.QuestionType },\n answerForm: this.fb.group({ arr: this.drawFormControl(qf.Answer) }),\n });\n });\n }\n /** Create formcontrol of answer and disabled it */\n drawFormControl(answers) {\n if (!answers)\n return;\n let formArr = this.fb.array(answers.map((answer) => this.fb.control({\n Id: answer.Id,\n QuestionId: answer.QuestionId,\n Answer: answer.Answer ? answer.Answer : '',\n AnswerType: answer.AnswerType,\n Selected: answer.Selected,\n })));\n formArr.disable();\n return formArr;\n }\n /*Run when user Click Edit button\n * Change state enable or disable all the answers */\n changeToggleEditValue(isCancel = false) {\n this.toggleEdit = !this.toggleEdit;\n this.toggleEdit && this.questionAnswerArr.forEach((qa) => qa.answerForm.controls['arr'].enable());\n !this.toggleEdit && this.questionAnswerArr.forEach((qa) => qa.answerForm.controls['arr'].disable());\n // /**change to Editable state */\n // if (this.toggleEdit === true) {\n // if (this.comfortEdit) {\n // this.questionAnswerArr.forEach((qa) => qa.answerForm.controls['arr'].enable());\n // } else {\n // this.questionAnswerArr.forEach((qa) => {\n // if (qa.question.type === RegistrationQuestionType.TextBox) {\n // if (qa.answerForm.controls['arr'].value[0].Answer == '') qa.answerForm.controls['arr'].enable();\n // } else {\n // /**In all answers of the question, if there no answer yet, enable that question to edit ( base on Selected field, Selected = true which mean answered) */\n // let answersHasSelectedArr = qa.answerForm.controls['arr'].value.filter(\n // (val: RegistrationAnswerModel) => val.Selected == true\n // );\n // !answersHasSelectedArr.length && qa.answerForm.controls['arr'].enable();\n // }\n // });\n // }\n // }\n // /**change to Un-Editable state */\n // if (this.toggleEdit === false) {\n // /**Click cancel button and return all data to init state */\n // isCancel && this.initUserQuestionForm(this.registrationQuestionAnswerModel);\n // this.questionAnswerArr.forEach((qa) => qa.answerForm.controls['arr'].disable());\n // }\n if (this.comfortEdit)\n this.checkEditable();\n }\n /**\n * Check all answers if there have one or more question not answer yet, appear buttons\n */\n checkEditable() {\n this.isEditable = false;\n this.questionAnswerArr?.forEach((qa) => {\n let answers = qa.answerForm.controls['arr'].value;\n if (qa.question.type === RegistrationQuestionType.TextBox) {\n /**If question type is Text box and there haven't answer yet, show buttons */\n if (answers[0].Answer === '')\n this.isEditable = true;\n }\n else {\n /**Get answers which is not selected */\n let answersNotSelected = answers.filter((val) => val.Selected == false);\n /** if the total number of answers have not selected (answersNotSelected) equal to answers length, show button*/\n if (answersNotSelected.length === answers.length)\n this.isEditable = true;\n }\n });\n return;\n }\n /**When the answer change set true Selected property and set false to others in that question\n * @param indexQuestionAnswer index of question that user answered in array question\n * @param event event of changes input\n * @type type of question\n */\n onAnswerChange(indexQuestionAnswer, event, typeQuestion) {\n //Index of the current answer that user clicked\n let indexAnswer = 0;\n switch (typeQuestion) {\n case this.TYPE_QUESTION.DropDown:\n indexAnswer = event.target.selectedIndex - 1;\n break;\n case this.TYPE_QUESTION.Radio:\n case this.TYPE_QUESTION.MultiSelect:\n case this.TYPE_QUESTION.TextBox:\n indexAnswer = event.target.id;\n break;\n }\n //Get the array controls answer in questionAnswerArr\n const answerArrayControls = this.questionAnswerArr[indexQuestionAnswer].answerForm.controls['arr'].controls;\n //Get the form control of answer that user selected\n let formControlAnswer = answerArrayControls[indexAnswer];\n if (typeQuestion === this.TYPE_QUESTION.MultiSelect) {\n answerArrayControls[indexAnswer].patchValue({\n ...formControlAnswer.value,\n Selected: event.target.checked,\n });\n }\n //Set selected property equal TRUE and answer value of user answered in current question to the formcontrol\n if (typeQuestion === this.TYPE_QUESTION.TextBox) {\n answerArrayControls[indexAnswer].patchValue({\n ...formControlAnswer.value,\n Answer: event.target.value,\n Selected: true,\n });\n }\n if (typeQuestion === this.TYPE_QUESTION.DropDown || typeQuestion === this.TYPE_QUESTION.Radio) {\n answerArrayControls[indexAnswer].patchValue({\n ...formControlAnswer.value,\n Selected: true,\n });\n // Check on type DROPDOWN and RADIO if user not answer, set selected = false of others answer in that question\n answerArrayControls.forEach((control) => {\n if (control !== formControlAnswer)\n control.patchValue({ ...control.value, Selected: false });\n });\n }\n }\n /**Get all Answers has selected property equal TRUE then return all selected answer*/\n getArrayAnswerSelected(answerForms) {\n let selectedAnswers = [];\n answerForms.forEach((question) => {\n question\n .filter((answer) => answer.Selected)\n .forEach((answer) => {\n selectedAnswers.push(answer);\n });\n });\n return selectedAnswers;\n }\n /**Run when user click Save button\n * Save the data to server\n */\n onSave() {\n const clubId = this.memberQuery.getClubId();\n const portalId = this.memberQuery.getPortalId();\n const answerFormValues = this.questionAnswerArr.map((qa) => qa.answerForm.value.arr);\n let arrAnswerSelected = this.getArrayAnswerSelected(answerFormValues);\n let answerBody = arrAnswerSelected.map((ans) => new UserQuestionAnswerModel(ans, clubId, portalId));\n this.userQuestionService.updateAnswers(answerBody);\n this.changeToggleEditValue();\n }\n get TYPE_QUESTION() {\n return RegistrationQuestionType;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EditQuestionsComponent, deps: [{ token: i1.UserQuestionsService }, { token: i1.UserQuestionsQuery }, { token: i2.UntypedFormBuilder }, { token: i1.MemberQuery }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.2.1\", type: EditQuestionsComponent, selector: \"fgbcl-edit-questions\", inputs: { comfortEdit: \"comfortEdit\" }, ngImport: i0, template: \"
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ answer.value.Answer }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\"select{border-right:10px solid #f7f7f7!important}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i3.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i3.NgSwitchDefault, selector: \"[ngSwitchDefault]\" }, { kind: \"directive\", type: i2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i2.NgSelectOption, selector: \"option\", inputs: [\"ngValue\", \"value\"] }, { kind: \"directive\", type: i2.ɵNgSelectMultipleOption, selector: \"option\", inputs: [\"ngValue\", \"value\"] }, { kind: \"directive\", type: i2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i2.NgForm, selector: \"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]\", inputs: [\"ngFormOptions\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i2.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"pipe\", type: i4.TranslatePipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EditQuestionsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'fgbcl-edit-questions', template: \"
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ answer.value.Answer }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\", styles: [\"select{border-right:10px solid #f7f7f7!important}\\n\"] }]\n }], ctorParameters: () => [{ type: i1.UserQuestionsService }, { type: i1.UserQuestionsQuery }, { type: i2.UntypedFormBuilder }, { type: i1.MemberQuery }], propDecorators: { comfortEdit: [{\n type: Input\n }] } });\n\nclass EditQuestionsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EditQuestionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.2.1\", ngImport: i0, type: EditQuestionsModule, declarations: [EditQuestionsComponent], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n FGBSharedModule], exports: [EditQuestionsComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EditQuestionsModule, imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n FGBSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EditQuestionsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [EditQuestionsComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n FGBSharedModule\n ],\n exports: [EditQuestionsComponent]\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { EditQuestionsComponent, EditQuestionsModule };\n","

{{ notification.messageLanguage?.message }}

\r\n {{ param.key }} -- {{ param.value }} \r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { NotificationCenterMessageView } from '@fgb/core';\r\nimport { AlertNotification } from '@fgb/portal-component-library/src/lib/club/notification';\r\n\r\n@Component({\r\n selector: 'fgb-club-notification',\r\n templateUrl: './club-notification.component.html',\r\n styleUrls: ['./club-notification.component.scss'],\r\n})\r\nexport class ClubNotificationComponent implements OnInit, AlertNotification {\r\n @Input() notification: NotificationCenterMessageView;\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AnnouncementsComponent } from './announcements/announcements.component';\r\nimport { CarouselModule } from 'ngx-owl-carousel-o';\r\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\r\nimport { AnnouncementContentComponent } from './announcement-content/announcement-content.component';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { PipesModule } from '@fgb/portal-component-library/src/lib/pipes';\r\nimport { RouterModule } from '@angular/router';\r\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\r\n\r\n@NgModule({\r\n declarations: [AnnouncementsComponent, AnnouncementContentComponent],\r\n imports: [\r\n CommonModule,\r\n CarouselModule,\r\n LoadingModule,\r\n PipesModule,\r\n RouterModule,\r\n TranslateModule,\r\n DirectivesModule\r\n ],\r\n exports: [AnnouncementsComponent, AnnouncementContentComponent],\r\n})\r\nexport class AnnouncementsModule {}\r\n","import { CurrencyPipe, DatePipe } from \"@angular/common\";\r\nimport { HTTP_INTERCEPTORS } from \"@angular/common/http\";\r\nimport { APP_INITIALIZER, EnvironmentProviders, ErrorHandler, inject, makeEnvironmentProviders } from \"@angular/core\";\r\nimport { Router } from \"@angular/router\";\r\nimport { AuthGuard, AuthService, DATE_OPTIONS, DEFAULT_DATE_OPTIONS, DateOptions, ErrorStateService, FgbErrorHandler, FirstTimeRegistrationInterceptor, HttpErrorInterceptor, LANGUAGE, LoggingService, MaintenanceGuard, MemberQuery, RegistrationStepService, TokenRefreshIntereptor, TranslationLoader } from \"@fgb/core\";\r\nimport { TranslateService } from \"@ngx-translate/core\";\r\nimport { CookieService } from \"ngx-cookie-service\";\r\nimport { ColorMode } from \"../injection-tokens\";\r\n\r\nexport interface AppConfig{\r\n dateOptions: Partial;\r\n defaultColorMode?: ColorMode;\r\n}\r\n\r\nexport function provideAppConfig(appConfig: AppConfig): EnvironmentProviders{\r\n // initialize defaults\r\n const dateOptions = { ...DEFAULT_DATE_OPTIONS, ...appConfig.dateOptions };\r\n\r\n return makeEnvironmentProviders([\r\n DatePipe,\r\n CurrencyPipe,\r\n MaintenanceGuard,\r\n CookieService,\r\n AuthGuard,\r\n AuthService,\r\n {\r\n provide: DATE_OPTIONS,\r\n useValue: dateOptions,\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: TokenRefreshIntereptor,\r\n multi: true,\r\n deps: [AuthService],\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: FirstTimeRegistrationInterceptor,\r\n multi: true,\r\n deps: [MemberQuery, RegistrationStepService, LoggingService, Router],\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: HttpErrorInterceptor,\r\n multi: true,\r\n deps: [ErrorStateService, LoggingService, TranslateService, Router, AuthService],\r\n },\r\n {\r\n provide: ErrorHandler,\r\n useClass: FgbErrorHandler\r\n },\r\n {\r\n provide: LANGUAGE,\r\n useValue: { label: 'EN', lang: 'en-GB', lcid: '2057', flag: 'GB' },\r\n multi: true\r\n },\r\n {\r\n provide: LANGUAGE,\r\n useValue: { label: 'GR', lang: 'el-GR', lcid: '1032', flag: 'GR' },\r\n multi: true\r\n },\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: () => {\r\n // Initialize translation\r\n inject(TranslationLoader).init();\r\n\r\n return () => {}\r\n },\r\n multi: true\r\n }\r\n ])\r\n}","import { EnvironmentProviders, makeEnvironmentProviders } from \"@angular/core\";\r\nimport { TMAuthService, TMOauthService, tmAuthConfig, tmOAuthConfig } from \"@fgb/core\";\r\n\r\nexport interface TmConfig{\r\n oauthConfig: tmOAuthConfig;\r\n loginAuthConfig: tmAuthConfig;\r\n}\r\n\r\nexport function provideTmConfig(config: TmConfig): EnvironmentProviders{\r\n return makeEnvironmentProviders([\r\n TMOauthService,\r\n TMAuthService,\r\n {\r\n provide: tmOAuthConfig,\r\n useValue: config.oauthConfig,\r\n },\r\n {\r\n provide: tmAuthConfig,\r\n useValue: config.loginAuthConfig,\r\n },\r\n ])\r\n}","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MissingTranslationHandler, TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { FGBMissingTranslationHandler, FGBTranslationLoader } from '@fgb/core';\r\nimport { HttpClient } from '@microsoft/signalr';\r\nimport {FilterModalComponent} from './filter-modal.component';\r\n\r\n@NgModule({\r\n declarations: [FilterModalComponent],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n TranslateModule.forRoot({\r\n loader: {\r\n provide: TranslateLoader,\r\n useClass: FGBTranslationLoader,\r\n deps: [HttpClient],\r\n },\r\n missingTranslationHandler: {\r\n provide: MissingTranslationHandler,\r\n useClass: FGBMissingTranslationHandler,\r\n },\r\n }),\r\n ],\r\n exports: [FilterModalComponent],\r\n})\r\nexport class FilterModalModule {}\r\n","// External Dependencies\r\nimport { NgModule } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';\r\nimport { JwtModule } from '@auth0/angular-jwt';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { MissingTranslationHandler, TranslateModule } from '@ngx-translate/core';\r\nimport { QRCodeModule } from 'angularx-qrcode';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { CarouselModule } from 'ngx-owl-carousel-o';\r\nimport { ToastrModule } from 'ngx-toastr';\r\nimport { InlineSVGModule } from 'ng-inline-svg-2';\r\n// Routing & Configuration\r\nimport { AppRoutingModule } from './app-routing.module';\r\n// Feature Modules\r\nimport { SharedModule } from './shared/shared.module';\r\nimport { ClubModule } from './modules/club/club.module';\r\nimport { UserModule } from './modules/user/user.module';\r\nimport { LoyaltyModule } from './modules/loyalty/loyalty.module';\r\nimport { VouchersModule } from './modules/vouchers/vouchers.module';\r\nimport { EcashModule } from './modules/ecash/ecash.module';\r\nimport { PurchaseModule } from './modules/purchase/purchase.module';\r\nimport { GuardianModule } from './modules/guardian/guardian.module';\r\nimport { EventsModule } from './modules/events/events.module';\r\nimport { TicketsModule } from './modules/tickets/tickets.module';\r\nimport { FantasyModule } from './modules/fantasy/fantasy.module';\r\nimport { DisplayModule } from './modules/display/display.module';\r\n\r\n// Utilities\r\nimport { MomentDateFormatter } from './shared/utilities/moment-date-formatter';\r\n// @fgb/core\r\nimport {\r\n PopulationGuard,\r\n ProductCodeGuard,\r\n jwtTokenGetter,\r\n tmAuthConfig,\r\n tmOAuthConfig,\r\n FGBMissingTranslationHandler,\r\n NotificationLoyaltyType,\r\n} from '@fgb/core';\r\n\r\n// Component Library\r\nimport { CardTokenListModule } from '@fgb/portal-component-library/src/lib/ecash/card-token-list';\r\nimport { EcashDescriptionModule } from '@fgb/portal-component-library/src/lib/ecash/ecash-description';\r\nimport { LoadingModule } from '@fgb/portal-component-library/src/lib/shared/loading';\r\nimport { ErrorsModule } from '@fgb/portal-component-library/src/lib/shared/errors';\r\nimport { EarnPointsModule } from '@fgb/portal-component-library/src/lib/club/earn-points';\r\nimport { FaqSectionModule } from '@fgb/portal-component-library/src/lib/club/faq-section';\r\nimport { TermsAndConditionsModule } from '@fgb/portal-component-library/src/lib/club/terms-and-conditions';\r\nimport { CountryAndRegionsModule } from '@fgb/portal-component-library/src/lib/shared/country-and-regions';\r\nimport { DirectivesModule } from '@fgb/portal-component-library/src/lib/directives';\r\nimport { AuctionDetailsModule } from '@fgb/portal-component-library/src/lib/loyalty/auctions/auction-details';\r\nimport { AuctionPanelModule } from '@fgb/portal-component-library/src/lib/loyalty/auctions/auction-panel';\r\nimport { AuctionListModule } from '@fgb/portal-component-library/src/lib/loyalty/auctions/auction-list';\r\nimport { LottoDetailsModule } from '@fgb/portal-component-library/src/lib/loyalty/lottos/lotto-details';\r\nimport { LottosListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/lottos/lottos-list-item';\r\nimport { LottosListModule } from '@fgb/portal-component-library/src/lib/loyalty/lottos/lottos-list';\r\nimport { MarketplaceDetailsModule } from '@fgb/portal-component-library/src/lib/loyalty/marketplace/marketplace-details';\r\nimport { MarketplaceListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/marketplace/marketplace-list-item';\r\nimport { MarketplaceListModule } from '@fgb/portal-component-library/src/lib/loyalty/marketplace/marketplace-list';\r\nimport { ScorecardModule } from '@fgb/portal-component-library/src/lib/loyalty/scorecards';\r\nimport { BadgeListItemModule } from '@fgb/portal-component-library/src/lib/loyalty/badges/badge-list-item';\r\nimport { BadgeOverviewListModule } from '@fgb/portal-component-library/src/lib/loyalty/badges/badge-overview-list';\r\nimport { BadgeFeaturedListModule } from '@fgb/portal-component-library/src/lib/loyalty/badges/badge-featured-list';\r\nimport { WalletModule } from '@fgb/portal-component-library/src/lib/loyalty/wallet';\r\nimport { FeaturedRewardsModule } from '@fgb/portal-component-library/src/lib/loyalty/featured-rewards';\r\nimport { AddressBookModule } from '@fgb/portal-component-library/src/lib/user/address-book';\r\nimport { ShortLongDescriptionModule } from '@fgb/portal-component-library/src/lib/shared/short-long-description';\r\nimport { ContactUsModule } from '@fgb/portal-component-library/src/lib/club/contact-us';\r\n\r\n// General Pages\r\nimport { AppComponent } from './app.component';\r\nimport { MasterPageComponent } from './pages/master/master-page/master-page.component';\r\nimport { HomePageComponent } from './pages/home-page/home-page.component';\r\nimport { LoginPageComponent } from './pages/login-page/login-page.component';\r\nimport { LoginAccountsPageComponent } from './pages/login-accounts-page/login-accounts-page.component';\r\nimport { MaintenancePageComponent } from './pages/maintenance-page/maintenance-page.component';\r\nimport { TermsPageComponent } from './pages/terms-page/terms-page.component';\r\nimport { FaqPageComponent } from './pages/faq-page/faq-page.component';\r\nimport { ContactUsPageComponent } from './pages/contact-us-page/contact-us-page.component';\r\nimport { ReferAFriendPageComponent } from './pages/refer-a-friend-page/refer-a-friend-page.component';\r\nimport { ReferAFriendSuccessPageComponent } from './pages/refer-a-friend-page/refer-a-friend-success-page/refer-a-friend-success-page.component';\r\nimport { NotFoundPageComponent } from './pages/not-found-page/not-found-page.component';\r\n\r\n// Loyalty Pages\r\nimport { RewardsLayoutComponent } from './pages/rewards-layout/rewards-layout.component';\r\nimport { RewardsPageComponent } from './pages/rewards-page/rewards-page.component';\r\nimport { AuctionsPageComponent } from './pages/auctions-page/auctions-page.component';\r\nimport { LottosPageComponent } from './pages/lottos-page/lottos-page.component';\r\nimport { MarketplacePageComponent } from './pages/marketplace-page/marketplace-page.component';\r\nimport { EventsPageComponent } from './pages/events-page/events-page.component';\r\nimport { WalletPageComponent } from './pages/wallet-page/wallet-page.component';\r\nimport { AuctionDetailPageComponent } from './pages/auction-detail-page/auction-detail-page.component';\r\nimport { LottoDetailPageComponent } from './pages/lotto-detail-page/lotto-detail-page.component';\r\nimport { MarketplaceDetailPageComponent } from './pages/marketplace-detail-page/marketplace-detail-page.component';\r\nimport { LottosSuccessPageComponent } from './pages/lottos-page/lottos-success-page/lottos-success-page.component';\r\nimport { MarketplacePurchaseSuccessPageComponent } from './pages/marketplace-page/marketplace-purchase-success-page/marketplace-purchase-success-page.component';\r\nimport { AuctionBidsPageComponent } from './pages/auction-bids-page/auction-bids-page.component';\r\nimport { AuctionBidDetailsPageComponent } from './pages/auction-bid-details-page/auction-bid-details-page.component';\r\nimport { LottoWalletDetailsPageComponent } from './pages/lotto-wallet-details-page/lotto-wallet-details-page.component';\r\nimport { QuizPageComponent } from './pages/quiz-page/quiz-page.component';\r\n// Polls, Surveys & Trivia (Games)\r\nimport { GamesLayoutComponent } from './pages/games-layout/games-layout.component';\r\nimport { PollsPageComponent } from './pages/polls-page/polls-page.component';\r\nimport { FantasyGamesPageComponent } from './pages/fantasy-games-page/fantasy-games-page.component';\r\nimport { FantasyPlayerSelectPageComponent } from './pages/fantasy-player-select-page/fantasy-player-select-page.component';\r\nimport { PredictorPageComponent } from './pages/predictor-page/predictor-page.component';\r\n// Account Pages\r\nimport { AccountDetailsPageComponent } from './pages/account-details-page/account-details-page.component';\r\nimport { ActivityPageComponent } from './pages/activity-page/activity-page.component';\r\n// Ecash Pages\r\nimport { EcashPageComponent } from './pages/ecash-page/ecash-page.component';\r\nimport { EcashResultPageComponent } from './pages/ecash-page/ecash-result-page/ecash-result-page.component';\r\nimport { EcashSuccessPageComponent } from './pages/ecash-page/ecash-success-page/ecash-success-page.component';\r\nimport { EcashFailurePageComponent } from './pages/ecash-page/ecash-failure-page/ecash-failure-page.component';\r\nimport { EcashHistoryPageComponent } from './pages/ecash-history/ecash-history.component';\r\n// Tickets Pages\r\nimport { TicketsPageComponent } from './pages/ticket-transfer-page/tickets-page/tickets-page.component';\r\nimport { ManageTicketsPageComponent } from './pages/manage-tickets-page/manage-tickets-page.component';\r\nimport { TicketTransferPageComponent } from './pages/ticket-transfer-page/ticket-transfer-page.component';\r\nimport { TransferConfirmPageComponent } from './pages/ticket-transfer-page/transfer-confirm-page/transfer-confirm-page.component';\r\nimport { TicketTransferSuccessPageComponent } from './pages/ticket-transfer-page/ticket-transfer-success-page/ticket-transfer-success-page.component';\r\nimport { ContactsPageComponent } from './pages/contacts-page/contacts-page.component';\r\nimport { ManageTicketHistoryPageComponent } from './pages/manage-ticket-history-page/manage-ticket-history-page.component';\r\n// Offer Pages\r\nimport { OffersPageComponent } from './pages/offers-page/offers-page.component';\r\nimport { OfferDetailsPageComponent } from './pages/offer-details-page/offer-details-page.component';\r\n// Population Pages\r\nimport { TestPopHomePageComponent } from './pages/test-pop-home-page/test-pop-home-page.component';\r\n// Portal Products\r\nimport { PortalProductResultsPageComponent } from './pages/portal-products-pages/portal-product-results-page/portal-product-results-page.component';\r\nimport { PortalProductSuccessPageComponent } from './pages/portal-products-pages/portal-product-success-page/portal-product-success-page.component';\r\nimport { PortalProductFailurePageComponent } from './pages/portal-products-pages/portal-product-failure-page/portal-product-failure-page.component';\r\n// Benefits\r\nimport { BenefitsPageComponent } from './pages/benefits-page/benefits-page.component';\r\nimport { BenefitModule } from './modules/benefit/benefit.module';\r\n// External Cash Transfer\r\nimport { CardPageComponent } from './pages/card-page/card-page.component';\r\nimport { TransferArenaCashPageComponent } from './pages/transfer-arena-cash-page/transfer-arena-cash-page.component';\r\nimport { TransferMultipleAccountsPageComponent } from './pages/transfer-multiple-accounts-page/transfer-multiple-accounts-page.component';\r\nimport { TransferArenaCashSuccessPageComponent } from './pages/transfer-arena-cash-success-page/transfer-arena-cash-success-page.component';\r\n// Club Pages\r\nimport { EarnPageComponent } from './pages/earn-page/earn-page.component';\r\nimport { GuardianPageComponent } from './pages/guardian-page/guardian-page.component';\r\nimport { LayoutModule } from './modules/layouts/layout.module';\r\n\r\n// Points Management Page\r\nimport { PointsManagementPageComponent } from './pages/points-management-page/points-management-page.component';\r\n\r\n// Partners Pages\r\nimport { PartnerPageComponent } from './pages/partner-page/partner-page.component';\r\nimport { LeaderboardPageComponent } from './pages/leaderboard-page/leaderboard-page.component';\r\nimport { LottosTermsPageComponent } from './pages/lottos-terms-page/lottos-terms-page.component';\r\nimport { MarketplaceTermsPageComponent } from './pages/marketplace-terms-page/marketplace-terms-page.component';\r\nimport { JokesPageComponent } from './pages/jokes-page/jokes-page.component';\r\nimport { WorksheetPageComponent } from './pages/worksheet-page/worksheet-page.component';\r\nimport { ZoomMeetingPageComponent } from './pages/zoom-meeting-page/zoom-meeting-page.component';\r\nimport { FantasyLeaderboardPageComponent } from './pages/fantasy-leaderboard-page/fantasy-leaderboard-page.component';\r\nimport { RenewalBonusTransferPageComponent } from './pages/renewal-bonus-transfer-page/renewal-bonus-transfer-page.component';\r\nimport { SubscriptionsPageComponent } from './pages/subscriptions-page/subscriptions-page.component';\r\nimport { CartCheckoutPagePortalProductsComponent } from './pages/cart-checkout-page-portal-products/cart-checkout-page-portal-products.component';\r\nimport { CartCheckoutPageComponent } from './pages/cart-checkout-page/cart-checkout-page.component';\r\nimport { CartCheckoutResultsPageComponent } from './pages/cart-checkout-page/cart-checkout-results-page/cart-checkout-results-page.component';\r\nimport { CartCheckoutSuccessPageComponent } from './pages/cart-checkout-page/cart-checkout-success-page/cart-checkout-success-page.component';\r\nimport { NotificationManagementPageComponent } from './pages/notification-management-page/notification-management-page.component';\r\nimport { TailgatePageComponent } from './pages/tailgate-page/tailgate-page.component';\r\nimport { ScorePredictorPageComponent } from './pages/score-predictor-page/score-predictor-page.component';\r\nimport { ProductsPageComponent } from './pages/products-page/products-page.component';\r\nimport { PaymentPageComponent } from './pages/payment-page/payment-page.component';\r\nimport { BadgesPageComponent } from './pages/badges-page/badges-page.component';\r\nimport { CardLinkingPageComponent } from './pages/card-linking-page/card-linking-page.component';\r\nimport { CardLinkingSuccessPageComponent } from './pages/card-linking-success-page/card-linking-success-page.component';\r\nimport { CardLinkAffiliatesPageComponent } from './pages/card-link-affiliates-page/card-link-affiliates-page.component';\r\nimport { CardLinkActivatedOffersPageComponent } from './pages/card-link-activated-offers-page/card-link-activated-offers-page.component';\r\nimport { CardLinkOfferDetailsPageComponent } from './pages/card-link-offer-details-page/card-link-offer-details-page.component';\r\nimport { CardLinkAllOffersPageComponent } from './pages/card-link-all-offers-page/card-link-all-offers-page.component';\r\nimport { CardLinkModule } from '@fgb/portal-component-library/src/lib/cardlinking';\r\nimport { SharedSearchBarModule } from '@fgb/portal-component-library/src/lib/shared/shared-search-bar';\r\nimport { CountdownModule } from '@fgb/portal-component-library/src/lib/shared/countdown';\r\nimport { OfferSearchBarModule } from '@fgb/portal-component-library/src/lib/club/offer-search-bar';\r\nimport { CartItemModule } from '@fgb/portal-component-library/src/lib/loyalty/cart-item';\r\nimport { TicketInvitePageComponentComponent } from './pages/ticket-invite-page-component/ticket-invite-page-component.component';\r\nimport { SplitTransactionPageComponent } from './pages/split-transaction-page/split-transaction-page.component';\r\nimport { ClubSelectorModule } from '@fgb/portal-component-library/src/lib/user/club-selector';\r\nimport { EditQuestionsModule } from '@fgb/portal-component-library/src/lib/user/edit-questions';\r\nimport { CampaignDetailsPageComponent } from './pages/campaign-details-page/campaign-details-page.component';\r\nimport { RegistrationLayoutPageComponent } from './modules/registration/pages/registration-layout-page/registration-layout-page.component';\r\nimport { WalletClaimedPageComponent } from './pages/wallet-claimed-page/wallet-claimed-page.component';\r\nimport { KidsLinkedPageComponent } from './pages/kids-linked-page/kids-linked-page.component';\r\nimport { WelcomeComponent } from './modules/club/components/welcome/welcome.component';\r\nimport {\r\n ALERT_NOTIFICATION_COMPONENTS,\r\n AlertNotificationComponentMap,\r\n NotificationModule,\r\n mergeAlertNotificationComponentMaps,\r\n} from '@fgb/portal-component-library/src/lib/club/notification';\r\nimport { ClubNotificationComponent } from './modules/club/components/club-notification/club-notification.component';\r\nimport { TiersPageComponent } from './pages/tiers-page/tiers-page.component';\r\nimport { AnnouncementsModule } from './modules/club/components/announcements';\r\nimport { provideAppConfig, provideTmConfig } from './shared/providers';\r\nimport { MixedLoyaltyListModule } from '@fgb/portal-component-library/src/lib/loyalty/mixed-loyalty';\r\nimport { FilterModalModule } from './pages/rewards-page/filter-modal';\r\nimport { ChallengesPageComponent } from './pages/challenges-page/challenges-page.component';\r\nimport { MemberUpgradeCardComponent } from './modules/user/components/member-upgrade-card/member-upgrade-card.component';\r\nimport { TierV2Component } from './modules/loyalty/components/tier/tier-v2/tier-v2.component';\r\n\r\nconst tmSSOAuthConfig: tmOAuthConfig = {\r\n clientId: '0d1bc7bb2005.fortress.tbjrc-tbjrc.us',\r\n club: 'tbjrc',\r\n clientSecret: '1fa5a94b2eeddec0a6088a0068fdc308ea965f475f0a49bcc32c2ee06179ce19',\r\n tokenUri: 'https://auth.ticketmaster.com/api/oauth/token',\r\n loginUri: 'https://am.ticketmaster.com/tbjrc/sso',\r\n authoriseUri: 'https://auth.ticketmaster.com/as/authorization.oauth2',\r\n};\r\n\r\nconst tmLoginAuthConfig: tmAuthConfig = {\r\n clientId: '0d1bc7bb2005.fortress.tbjrc-tbjrc.us',\r\n authUri: 'https://auth.ticketmaster.com/archtics/sign-in',\r\n loginUri: 'https://am.ticketmaster.com/tbjrc/sso',\r\n visualPresents: 'tbjrc',\r\n};\r\n\r\nconst alertNotificationComponents: Partial = {\r\n [NotificationLoyaltyType.VoucherCodeEntered]: ClubNotificationComponent\r\n};\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n // General Pages\r\n AppComponent,\r\n MasterPageComponent,\r\n HomePageComponent,\r\n LoginPageComponent,\r\n LoginAccountsPageComponent,\r\n MaintenancePageComponent,\r\n TermsPageComponent,\r\n FaqPageComponent,\r\n ContactUsPageComponent,\r\n ReferAFriendPageComponent,\r\n ReferAFriendSuccessPageComponent,\r\n NotFoundPageComponent,\r\n // Loyalty Pages\r\n RewardsLayoutComponent,\r\n RewardsPageComponent,\r\n AuctionsPageComponent,\r\n LottosPageComponent,\r\n MarketplacePageComponent,\r\n EventsPageComponent,\r\n WalletPageComponent,\r\n AuctionDetailPageComponent,\r\n LottoDetailPageComponent,\r\n MarketplaceDetailPageComponent,\r\n LottosSuccessPageComponent,\r\n MarketplacePurchaseSuccessPageComponent,\r\n AuctionBidsPageComponent,\r\n AuctionBidDetailsPageComponent,\r\n LottoWalletDetailsPageComponent,\r\n ChallengesPageComponent,\r\n // Polls, Surveys & Trivia Pages (Games)\r\n GamesLayoutComponent,\r\n PollsPageComponent,\r\n FantasyGamesPageComponent,\r\n FantasyPlayerSelectPageComponent,\r\n PredictorPageComponent,\r\n // Account Pages\r\n AccountDetailsPageComponent,\r\n ActivityPageComponent,\r\n PointsManagementPageComponent,\r\n // Ecash Pages\r\n EcashPageComponent,\r\n EcashResultPageComponent,\r\n EcashSuccessPageComponent,\r\n EcashFailurePageComponent,\r\n EcashHistoryPageComponent,\r\n PaymentPageComponent,\r\n PortalProductResultsPageComponent,\r\n PortalProductSuccessPageComponent,\r\n PortalProductFailurePageComponent,\r\n // Tickets Pages\r\n TicketsPageComponent,\r\n ManageTicketsPageComponent,\r\n TicketTransferPageComponent,\r\n TransferConfirmPageComponent,\r\n TicketTransferSuccessPageComponent,\r\n ContactsPageComponent,\r\n ManageTicketHistoryPageComponent,\r\n // Offer Pages\r\n OffersPageComponent,\r\n OfferDetailsPageComponent,\r\n // Population Pages\r\n TestPopHomePageComponent,\r\n // Guardians Pages\r\n GuardianPageComponent,\r\n // External Cash Transfers\r\n CardPageComponent,\r\n TransferArenaCashPageComponent,\r\n TransferMultipleAccountsPageComponent,\r\n TransferArenaCashSuccessPageComponent,\r\n // Club Pages\r\n EarnPageComponent,\r\n BenefitsPageComponent,\r\n QuizPageComponent,\r\n PartnerPageComponent,\r\n LeaderboardPageComponent,\r\n LottosTermsPageComponent,\r\n MarketplaceTermsPageComponent,\r\n JokesPageComponent,\r\n WorksheetPageComponent,\r\n ZoomMeetingPageComponent,\r\n FantasyLeaderboardPageComponent,\r\n RenewalBonusTransferPageComponent,\r\n SubscriptionsPageComponent,\r\n CartCheckoutPagePortalProductsComponent,\r\n CartCheckoutPageComponent,\r\n CartCheckoutSuccessPageComponent,\r\n CartCheckoutResultsPageComponent,\r\n NotificationManagementPageComponent,\r\n TailgatePageComponent,\r\n ScorePredictorPageComponent,\r\n ProductsPageComponent,\r\n BadgesPageComponent,\r\n CardLinkingPageComponent,\r\n CardLinkingSuccessPageComponent,\r\n CardLinkAffiliatesPageComponent,\r\n CardLinkActivatedOffersPageComponent,\r\n CardLinkOfferDetailsPageComponent,\r\n CardLinkAllOffersPageComponent,\r\n CardLinkActivatedOffersPageComponent,\r\n TicketInvitePageComponentComponent,\r\n SplitTransactionPageComponent,\r\n CampaignDetailsPageComponent,\r\n WelcomeComponent,\r\n // Registration\r\n RegistrationLayoutPageComponent,\r\n WalletClaimedPageComponent,\r\n KidsLinkedPageComponent,\r\n TiersPageComponent\r\n ],\r\n imports: [\r\n // External Modules\r\n RouterModule,\r\n CarouselModule,\r\n AppRoutingModule,\r\n FormsModule,\r\n NgbModule,\r\n BrowserModule,\r\n HttpClientModule,\r\n ReactiveFormsModule,\r\n InlineSVGModule.forRoot(),\r\n QRCodeModule,\r\n BrowserAnimationsModule,\r\n EarnPointsModule,\r\n FaqSectionModule,\r\n TermsAndConditionsModule,\r\n AuctionDetailsModule,\r\n AuctionPanelModule,\r\n AuctionListModule,\r\n LottoDetailsModule,\r\n LottosListModule,\r\n LottosListItemModule,\r\n ScorecardModule,\r\n BadgeListItemModule,\r\n BadgeOverviewListModule,\r\n BadgeFeaturedListModule,\r\n MarketplaceDetailsModule,\r\n ShortLongDescriptionModule,\r\n MarketplaceListModule,\r\n MarketplaceListItemModule,\r\n MixedLoyaltyListModule,\r\n WalletModule,\r\n LoadingModule,\r\n CountryAndRegionsModule,\r\n EcashDescriptionModule,\r\n CardTokenListModule,\r\n CountdownModule,\r\n ErrorsModule,\r\n EditQuestionsModule,\r\n FeaturedRewardsModule,\r\n AddressBookModule,\r\n NotificationModule,\r\n ContactUsModule,\r\n MemberUpgradeCardComponent,\r\n TierV2Component,\r\n ToastrModule.forRoot({\r\n maxOpened: 5,\r\n }),\r\n JwtModule.forRoot({\r\n config: {\r\n allowedDomains: ['http://localhost/portal2/api'],\r\n tokenGetter: jwtTokenGetter,\r\n },\r\n }),\r\n TranslateModule.forRoot({\r\n missingTranslationHandler: {\r\n provide: MissingTranslationHandler,\r\n useClass: FGBMissingTranslationHandler,\r\n },\r\n }),\r\n // Feature Modules\r\n LayoutModule,\r\n GuardianModule,\r\n EventsModule,\r\n ClubModule,\r\n EcashModule,\r\n PurchaseModule,\r\n VouchersModule,\r\n UserModule,\r\n SharedModule,\r\n FantasyModule,\r\n TicketsModule,\r\n LoyaltyModule,\r\n BenefitModule,\r\n DisplayModule,\r\n DirectivesModule,\r\n CardLinkModule,\r\n AnnouncementsModule,\r\n OfferSearchBarModule,\r\n SharedSearchBarModule,\r\n CartItemModule,\r\n ClubSelectorModule,\r\n FilterModalModule\r\n ],\r\n providers: [\r\n provideAppConfig({\r\n dateOptions: {\r\n NgbDateFormat: 'DD MMM, YYYY',\r\n LongDateFormat: 'D MMM, yyyy h:mma',\r\n ShortDateFormat: 'D MMM, yyyy',\r\n }\r\n }),\r\n provideTmConfig({\r\n oauthConfig: tmSSOAuthConfig,\r\n loginAuthConfig: tmLoginAuthConfig,\r\n }),\r\n {\r\n provide: ALERT_NOTIFICATION_COMPONENTS,\r\n useFactory: () => {\r\n return mergeAlertNotificationComponentMaps(alertNotificationComponents);\r\n },\r\n },\r\n PopulationGuard,\r\n ProductCodeGuard,\r\n { provide: NgbDateParserFormatter, useClass: MomentDateFormatter },\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule {}\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\nimport { enableAkitaProdMode } from '@datorama/akita';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n enableAkitaProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n","export const currentAction = {\n type: null,\n entityIds: null,\n skip: false,\n payload: null\n};\nlet customActionActive = false;\nexport function resetCustomAction() {\n customActionActive = false;\n}\n// public API for custom actions. Custom action always wins\nexport function logAction(type, entityIds, payload) {\n setAction(type, entityIds, payload);\n customActionActive = true;\n}\nexport function setAction(type, entityIds, payload) {\n if (customActionActive === false) {\n currentAction.type = type;\n currentAction.entityIds = entityIds;\n currentAction.payload = payload;\n }\n}\nexport function setSkipAction(skip = true) {\n currentAction.skip = skip;\n}\nexport function action(action, entityIds) {\n return function (target, propertyKey, descriptor) {\n const originalMethod = descriptor.value;\n descriptor.value = function (...args) {\n logAction(action, entityIds);\n return originalMethod.apply(this, args);\n };\n return descriptor;\n };\n}\n","// @internal\nexport function isNil(v) {\n return v === null || v === undefined;\n}\n","import { isNil } from './isNil';\n// @internal\nexport function coerceArray(value) {\n if (isNil(value)) {\n return [];\n }\n return Array.isArray(value) ? value : [value];\n}\n","export const DEFAULT_ID_KEY = 'id';\n","// @internal\nexport function isFunction(value) {\n return typeof value === 'function';\n}\n","// @internal\nexport function isObject(value) {\n const type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n","import { coerceArray } from './coerceArray';\nimport { DEFAULT_ID_KEY } from './defaultIDKey';\nimport { isFunction } from './isFunction';\nimport { isObject } from './isObject';\n/**\n * Update item in a collection\n *\n * @example\n *\n *\n * store.update(1, entity => ({\n * comments: arrayUpdate(entity.comments, 1, { name: 'newComment' })\n * }))\n */\nexport function arrayUpdate(arr, predicateOrIds, obj, idKey = DEFAULT_ID_KEY) {\n let condition;\n if (isFunction(predicateOrIds)) {\n condition = predicateOrIds;\n }\n else {\n const ids = coerceArray(predicateOrIds);\n condition = (item) => ids.includes(isObject(item) ? item[idKey] : item) === true;\n }\n const updateFn = (state) => state.map((entity, index) => {\n if (condition(entity, index) === true) {\n return isObject(entity)\n ? {\n ...entity,\n ...obj,\n }\n : obj;\n }\n return entity;\n });\n return updateFn(arr);\n}\n","import { EMPTY, of } from 'rxjs';\n/**\n *\n * Helper function for checking if we have data in cache\n *\n * export class ProductsService {\n * constructor(private productsStore: ProductsStore) {}\n\n * get(): Observable {\n * const request = this.http.get().pipe(\n * tap(this.productsStore.set(response))\n * );\n *\n * return cacheable(this.productsStore, request);\n * }\n * }\n */\nexport function cacheable(store, request$, options = { emitNext: false }) {\n if (store._cache().value) {\n return options.emitNext ? of(undefined) : EMPTY;\n }\n return request$;\n}\n","import { auditTime, combineLatest } from 'rxjs';\nexport function combineQueries(observables) {\n return combineLatest(observables).pipe(auditTime(0));\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { audit } from './audit';\nimport { timer } from '../observable/timer';\nexport function auditTime(duration, scheduler = asyncScheduler) {\n return audit(() => timer(duration, scheduler));\n}\n","import { operate } from '../util/lift';\nimport { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function audit(durationSelector) {\n return operate((source, subscriber) => {\n let hasValue = false;\n let lastValue = null;\n let durationSubscriber = null;\n let isComplete = false;\n const endDuration = () => {\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n durationSubscriber = null;\n if (hasValue) {\n hasValue = false;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n isComplete && subscriber.complete();\n };\n const cleanupDuration = () => {\n durationSubscriber = null;\n isComplete && subscriber.complete();\n };\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n lastValue = value;\n if (!durationSubscriber) {\n innerFrom(durationSelector(value)).subscribe((durationSubscriber = createOperatorSubscriber(subscriber, endDuration, cleanupDuration)));\n }\n }, () => {\n isComplete = true;\n (!hasValue || !durationSubscriber || durationSubscriber.closed) && subscriber.complete();\n }));\n });\n}\n","let CONFIG = {\n resettable: false,\n ttl: null,\n producerFn: undefined\n};\nexport function akitaConfig(config) {\n CONFIG = { ...CONFIG, ...config };\n}\n// @internal\nexport function getAkitaConfig() {\n return CONFIG;\n}\nexport function getGlobalProducerFn() {\n return CONFIG.producerFn;\n}\n","import { ReplaySubject, Subject } from 'rxjs';\n// @internal\nexport const $$deleteStore = new Subject();\n// @internal\nexport const $$addStore = new ReplaySubject(50, 5000);\n// @internal\nexport const $$updateStore = new Subject();\n// @internal\nexport function dispatchDeleted(storeName) {\n $$deleteStore.next(storeName);\n}\n// @internal\nexport function dispatchAdded(storeName) {\n $$addStore.next(storeName);\n}\n// @internal\nexport function dispatchUpdate(storeName, action) {\n $$updateStore.next({ storeName, action });\n}\n","export const isBrowser = typeof window !== 'undefined';\nexport const isNotBrowser = !isBrowser;\n// export const isNativeScript = typeof global !== 'undefined' && (global).__runtimeVersion !== 'undefined'; TODO is this used?\nexport const hasLocalStorage = () => {\n try {\n return typeof localStorage !== 'undefined';\n }\n catch {\n return false;\n }\n};\nexport const hasSessionStorage = () => {\n try {\n return typeof sessionStorage !== 'undefined';\n }\n catch {\n return false;\n }\n};\n","import { isBrowser } from './root';\n// @internal\nexport const __stores__ = {};\n// @internal\nexport const __queries__ = {};\nif (isBrowser) {\n window.$$stores = __stores__;\n window.$$queries = __queries__;\n}\n","export var Order;\n(function (Order) {\n Order[\"ASC\"] = \"asc\";\n Order[\"DESC\"] = \"desc\";\n})(Order || (Order = {}));\n// @internal\nexport function compareValues(key, order = Order.ASC) {\n return function (a, b) {\n if (!a.hasOwnProperty(key) || !b.hasOwnProperty(key)) {\n return 0;\n }\n const varA = typeof a[key] === 'string' ? a[key].toUpperCase() : a[key];\n const varB = typeof b[key] === 'string' ? b[key].toUpperCase() : b[key];\n let comparison = 0;\n if (varA > varB) {\n comparison = 1;\n }\n else if (varA < varB) {\n comparison = -1;\n }\n return order == Order.DESC ? comparison * -1 : comparison;\n };\n}\n","import { isFunction } from './isFunction';\nimport { compareValues } from './sort';\nimport { coerceArray } from './coerceArray';\n// @internal\nexport function entitiesToArray(state, options) {\n let arr = [];\n const { ids, entities } = state;\n const { filterBy, limitTo, sortBy, sortByOrder } = options;\n for (let i = 0; i < ids.length; i++) {\n const entity = entities[ids[i]];\n if (!filterBy) {\n arr.push(entity);\n continue;\n }\n const toArray = coerceArray(filterBy);\n const allPass = toArray.every(fn => fn(entity, i));\n if (allPass) {\n arr.push(entity);\n }\n }\n if (sortBy) {\n let _sortBy = isFunction(sortBy) ? sortBy : compareValues(sortBy, sortByOrder);\n arr = arr.sort((a, b) => _sortBy(a, b, state));\n }\n const length = Math.min(limitTo || arr.length, arr.length);\n return length === arr.length ? arr : arr.slice(0, length);\n}\n","export var EntityActions;\n(function (EntityActions) {\n EntityActions[\"Set\"] = \"Set\";\n EntityActions[\"Add\"] = \"Add\";\n EntityActions[\"Update\"] = \"Update\";\n EntityActions[\"Remove\"] = \"Remove\";\n})(EntityActions || (EntityActions = {}));\n","// @internal\nexport function hasEntity(entities, id) {\n return entities.hasOwnProperty(id);\n}\n","import { isBrowser } from './root';\nexport let __DEV__ = true;\nexport function enableAkitaProdMode() {\n __DEV__ = false;\n if (isBrowser) {\n delete window.$$stores;\n delete window.$$queries;\n }\n}\n// @internal\nexport function isDev() {\n return __DEV__;\n}\n","// @internal\nexport function isArray(value) {\n return Array.isArray(value);\n}\n","import { isNil } from './isNil';\n// @internal\nexport function isDefined(val) {\n return isNil(val) === false;\n}\n","import { isArray } from './isArray';\n// @internal\nexport function isEmpty(arr) {\n if (isArray(arr)) {\n return arr.length === 0;\n }\n return false;\n}\n","// @internal\nexport function isUndefined(value) {\n return value === undefined;\n}\n","import { hasEntity } from './hasEntity';\nimport { isArray } from './isArray';\n// @internal\nexport function hasActiveState(state) {\n return state.hasOwnProperty('active');\n}\n// @internal\nexport function isMultiActiveState(active) {\n return isArray(active);\n}\n// @internal\nexport function resolveActiveEntity({ active, ids, entities }) {\n if (isMultiActiveState(active)) {\n return getExitingActives(active, ids);\n }\n if (hasEntity(entities, active) === false) {\n return null;\n }\n return active;\n}\n// @internal\nexport function getExitingActives(currentActivesIds, newIds) {\n const filtered = currentActivesIds.filter(id => newIds.indexOf(id) > -1);\n /** Return the same reference if nothing has changed */\n if (filtered.length === currentActivesIds.length) {\n return currentActivesIds;\n }\n return filtered;\n}\n","import { toEntitiesObject } from './toEntitiesObject';\nimport { isArray } from './isArray';\nimport { hasActiveState, resolveActiveEntity } from './activeState';\n// @internal\nexport function isEntityState(state) {\n return state.entities && state.ids;\n}\n// @internal\nfunction applyMiddleware(entities, preAddEntity) {\n let mapped = {};\n for (const id of Object.keys(entities)) {\n mapped[id] = preAddEntity(entities[id]);\n }\n return mapped;\n}\n// @internal\nexport function setEntities({ state, entities, idKey, preAddEntity, isNativePreAdd }) {\n let newEntities;\n let newIds;\n if (isArray(entities)) {\n const resolve = toEntitiesObject(entities, idKey, preAddEntity);\n newEntities = resolve.entities;\n newIds = resolve.ids;\n }\n else if (isEntityState(entities)) {\n newEntities = isNativePreAdd ? entities.entities : applyMiddleware(entities.entities, preAddEntity);\n newIds = entities.ids;\n }\n else {\n // it's an object\n newEntities = isNativePreAdd ? entities : applyMiddleware(entities, preAddEntity);\n newIds = Object.keys(newEntities).map(id => (isNaN(id) ? id : Number(id)));\n }\n const newState = {\n ...state,\n entities: newEntities,\n ids: newIds,\n loading: false\n };\n if (hasActiveState(state)) {\n newState.active = resolveActiveEntity(newState);\n }\n return newState;\n}\n","// @internal\nexport function deepFreeze(o) {\n Object.freeze(o);\n const oIsFunction = typeof o === 'function';\n const hasOwnProp = Object.prototype.hasOwnProperty;\n Object.getOwnPropertyNames(o).forEach(function (prop) {\n if (hasOwnProp.call(o, prop) &&\n (oIsFunction ? prop !== 'caller' && prop !== 'callee' && prop !== 'arguments' : true) &&\n o[prop] !== null &&\n (typeof o[prop] === 'object' || typeof o[prop] === 'function') &&\n !Object.isFrozen(o[prop])) {\n deepFreeze(o[prop]);\n }\n });\n return o;\n}\n","// @internal\nexport function toBoolean(value) {\n return value != null && `${value}` !== 'false';\n}\n","import { toBoolean } from './toBoolean';\n// @internal\nexport function isPlainObject(value) {\n return toBoolean(value) && value.constructor.name === 'Object';\n}\n","// @internal\nexport class AkitaError extends Error {\n constructor(message) {\n super(message);\n }\n}\n// @internal\nexport function assertStoreHasName(name, className) {\n if (!name) {\n console.error(`@StoreConfig({ name }) is missing in ${className}`);\n }\n}\n","export const configKey = 'akitaConfig';\nexport function StoreConfig(metadata) {\n return function (constructor) {\n constructor[configKey] = { idKey: 'id' };\n for (let i = 0, keys = Object.keys(metadata); i < keys.length; i++) {\n const key = keys[i];\n /* name is preserved read only key */\n if (key === 'name') {\n constructor[configKey]['storeName'] = metadata[key];\n }\n else {\n constructor[configKey][key] = metadata[key];\n }\n }\n };\n}\n","import { BehaviorSubject, of, Subject, tap } from 'rxjs';\nimport { logAction } from './actions';\n// @internal\nconst transactionFinished = new Subject();\n// @internal\nconst transactionInProcess = new BehaviorSubject(false);\n// @internal\nexport const transactionManager = {\n activeTransactions: 0,\n batchTransaction: null,\n};\n// @internal\nexport function startBatch() {\n if (!isTransactionInProcess()) {\n transactionManager.batchTransaction = new Subject();\n }\n transactionManager.activeTransactions++;\n transactionInProcess.next(true);\n}\n// @internal\nexport function endBatch() {\n if (--transactionManager.activeTransactions === 0) {\n transactionManager.batchTransaction.next(true);\n transactionManager.batchTransaction.complete();\n transactionInProcess.next(false);\n transactionFinished.next(true);\n }\n}\n// @internal\nexport function isTransactionInProcess() {\n return transactionManager.activeTransactions > 0;\n}\n// @internal\nexport function commit() {\n return transactionManager.batchTransaction ? transactionManager.batchTransaction.asObservable() : of(true);\n}\n/**\n * A logical transaction.\n * Use this transaction to optimize the dispatch of all the stores.\n * The following code will update the store, BUT emits only once\n *\n * @example\n * applyTransaction(() => {\n * this.todosStore.add(new Todo(1, title));\n * this.todosStore.add(new Todo(2, title));\n * });\n *\n */\nexport function applyTransaction(action, thisArg = undefined) {\n startBatch();\n try {\n return action.apply(thisArg);\n }\n finally {\n logAction('@Transaction');\n endBatch();\n }\n}\n/**\n * A logical transaction.\n * Use this transaction to optimize the dispatch of all the stores.\n *\n * The following code will update the store, BUT emits only once.\n *\n * @example\n * @transaction\n * addTodos() {\n * this.todosStore.add(new Todo(1, title));\n * this.todosStore.add(new Todo(2, title));\n * }\n *\n *\n */\nexport function transaction() {\n return function (target, propertyKey, descriptor) {\n const originalMethod = descriptor.value;\n descriptor.value = function (...args) {\n return applyTransaction(() => {\n return originalMethod.apply(this, args);\n }, this);\n };\n return descriptor;\n };\n}\n/**\n *\n * RxJS custom operator that wraps the callback inside transaction\n *\n * @example\n *\n * return http.get().pipe(\n * withTransaction(response > {\n * store.setActive(1);\n * store.update();\n * store.updateEntity(1, {});\n * })\n * )\n *\n */\nexport function withTransaction(next) {\n return function (source) {\n return source.pipe(tap((value) => applyTransaction(() => next(value))));\n };\n}\n","import { BehaviorSubject, distinctUntilChanged, map } from 'rxjs';\nimport { currentAction, resetCustomAction, setAction } from './actions';\nimport { getAkitaConfig, getGlobalProducerFn } from './config';\nimport { deepFreeze } from './deepFreeze';\nimport { dispatchAdded, dispatchDeleted, dispatchUpdate } from './dispatchers';\nimport { isDev, __DEV__ } from './env';\nimport { assertStoreHasName } from './errors';\nimport { isDefined } from './isDefined';\nimport { isFunction } from './isFunction';\nimport { isPlainObject } from './isPlainObject';\nimport { isBrowser } from './root';\nimport { configKey } from './storeConfig';\nimport { __stores__ } from './stores';\nimport { commit, isTransactionInProcess } from './transaction';\n/**\n *\n * Store for managing any type of data\n *\n * @example\n *\n * export interface SessionState {\n * token: string;\n * userDetails: UserDetails\n * }\n *\n * export function createInitialState(): SessionState {\n * return {\n * token: '',\n * userDetails: null\n * };\n * }\n *\n * @StoreConfig({ name: 'session' })\n * export class SessionStore extends Store {\n * constructor() {\n * super(createInitialState());\n * }\n * }\n */\nexport class Store {\n constructor(initialState, options = {}) {\n this.options = options;\n this.inTransaction = false;\n this.cache = {\n active: new BehaviorSubject(false),\n ttl: null,\n };\n this.onInit(initialState);\n }\n /**\n * Set the loading state\n *\n * @example\n *\n * store.setLoading(true)\n *\n */\n setLoading(loading = false) {\n if (loading !== this._value().loading) {\n isDev() && setAction('Set Loading');\n this._setState((state) => ({ ...state, loading }));\n }\n }\n /**\n *\n * Set whether the data is cached\n *\n * @example\n *\n * store.setHasCache(true)\n * store.setHasCache(false)\n * store.setHasCache(true, { restartTTL: true })\n *\n */\n setHasCache(hasCache, options = { restartTTL: false }) {\n if (hasCache !== this.cache.active.value) {\n this.cache.active.next(hasCache);\n }\n if (options.restartTTL) {\n const ttlConfig = this.getCacheTTL();\n if (ttlConfig) {\n if (this.cache.ttl !== null) {\n clearTimeout(this.cache.ttl);\n }\n this.cache.ttl = setTimeout(() => this.setHasCache(false), ttlConfig);\n }\n }\n }\n /**\n *\n * Sometimes we need to access the store value from a store\n *\n * @example middleware\n *\n */\n getValue() {\n return this.storeValue;\n }\n /**\n * Set the error state\n *\n * @example\n *\n * store.setError({text: 'unable to load data' })\n *\n */\n setError(error) {\n if (error !== this._value().error) {\n isDev() && setAction('Set Error');\n this._setState((state) => ({ ...state, error }));\n }\n }\n // @internal\n _select(project) {\n return this.store.asObservable().pipe(map((snapshot) => project(snapshot.state)), distinctUntilChanged());\n }\n // @internal\n _value() {\n return this.storeValue;\n }\n // @internal\n _cache() {\n return this.cache.active;\n }\n // @internal\n get config() {\n return this.constructor[configKey] || {};\n }\n // @internal\n get storeName() {\n return this.config.storeName || this.options.storeName || this.options.name;\n }\n // @internal\n get deepFreeze() {\n return this.config.deepFreezeFn || this.options.deepFreezeFn || deepFreeze;\n }\n // @internal\n get cacheConfig() {\n return this.config.cache || this.options.cache;\n }\n get _producerFn() {\n return this.config.producerFn || this.options.producerFn || getGlobalProducerFn();\n }\n // @internal\n get resettable() {\n return isDefined(this.config.resettable) ? this.config.resettable : this.options.resettable;\n }\n // @internal\n _setState(newState, _dispatchAction = true) {\n if (isFunction(newState)) {\n const _newState = newState(this._value());\n this.storeValue = __DEV__ ? this.deepFreeze(_newState) : _newState;\n }\n else {\n this.storeValue = newState;\n }\n if (!this.store) {\n this.store = new BehaviorSubject({ state: this.storeValue });\n if (isDev()) {\n this.store.subscribe(({ action }) => {\n if (action) {\n dispatchUpdate(this.storeName, action);\n }\n });\n }\n return;\n }\n if (isTransactionInProcess()) {\n this.handleTransaction();\n return;\n }\n this.dispatch(this.storeValue, _dispatchAction);\n }\n /**\n *\n * Reset the current store back to the initial value\n *\n * @example\n *\n * store.reset()\n *\n */\n reset() {\n if (this.isResettable()) {\n isDev() && setAction('Reset');\n this._setState(() => Object.assign({}, this._initialState));\n this.setHasCache(false);\n }\n }\n update(stateOrCallback) {\n isDev() && setAction('Update');\n let newState;\n const currentState = this._value();\n if (isFunction(stateOrCallback)) {\n newState = isFunction(this._producerFn) ? this._producerFn(currentState, stateOrCallback) : stateOrCallback(currentState);\n }\n else {\n newState = stateOrCallback;\n }\n const withHook = this.akitaPreUpdate(currentState, { ...currentState, ...newState });\n const resolved = isPlainObject(currentState) ? withHook : new currentState.constructor(withHook);\n this._setState(resolved);\n }\n updateStoreConfig(newOptions) {\n this.options = { ...this.options, ...newOptions };\n }\n // @internal\n akitaPreUpdate(_, nextState) {\n return nextState;\n }\n /**\n *\n * Destroy the store\n *\n * @example\n *\n * store.destroy()\n *\n */\n destroy() {\n const hmrEnabled = isBrowser ? window.hmrEnabled : false;\n if (!hmrEnabled && this === __stores__[this.storeName]) {\n delete __stores__[this.storeName];\n dispatchDeleted(this.storeName);\n this.setHasCache(false);\n this.cache.active.complete();\n this.store.complete();\n }\n }\n onInit(initialState) {\n __stores__[this.storeName] = this;\n this._setState(() => initialState);\n dispatchAdded(this.storeName);\n if (this.isResettable()) {\n this._initialState = initialState;\n }\n isDev() && assertStoreHasName(this.storeName, this.constructor.name);\n }\n dispatch(state, _dispatchAction = true) {\n let action = undefined;\n if (_dispatchAction) {\n action = currentAction;\n resetCustomAction();\n }\n this.store.next({ state, action });\n }\n watchTransaction() {\n commit().subscribe(() => {\n this.inTransaction = false;\n this.dispatch(this._value());\n });\n }\n isResettable() {\n if (this.resettable === false) {\n return false;\n }\n return this.resettable || getAkitaConfig().resettable;\n }\n handleTransaction() {\n if (!this.inTransaction) {\n this.watchTransaction();\n this.inTransaction = true;\n }\n }\n getCacheTTL() {\n return (this.cacheConfig && this.cacheConfig.ttl) || getAkitaConfig().ttl;\n }\n}\n","var _a, _b;\nimport { __decorate, __metadata } from \"tslib\";\nimport { Subject } from 'rxjs';\nimport { logAction, setAction } from './actions';\nimport { addEntities } from './addEntities';\nimport { coerceArray } from './coerceArray';\nimport { DEFAULT_ID_KEY } from './defaultIDKey';\nimport { EntityActions } from './entityActions';\nimport { isDev } from './env';\nimport { getActiveEntities } from './getActiveEntities';\nimport { getInitialEntitiesState } from './getInitialEntitiesState';\nimport { hasEntity } from './hasEntity';\nimport { isDefined } from './isDefined';\nimport { isEmpty } from './isEmpty';\nimport { isFunction } from './isFunction';\nimport { isNil } from './isNil';\nimport { isUndefined } from './isUndefined';\nimport { removeEntities } from './removeEntities';\nimport { setEntities } from './setEntities';\nimport { Store } from './store';\nimport { transaction } from './transaction';\nimport { updateEntities } from './updateEntities';\n/**\n *\n * Store for managing a collection of entities\n *\n * @example\n *\n * export interface WidgetsState extends EntityState { }\n *\n * @StoreConfig({ name: 'widgets' })\n * export class WidgetsStore extends EntityStore {\n * constructor() {\n * super();\n * }\n * }\n *\n *\n */\nexport class EntityStore extends Store {\n constructor(initialState = {}, options = {}) {\n super({ ...getInitialEntitiesState(), ...initialState }, options);\n this.options = options;\n this.entityActions = new Subject();\n this.entityIdChanges = new Subject();\n }\n // @internal\n get selectEntityAction$() {\n return this.entityActions.asObservable();\n }\n // @internal\n get selectEntityIdChanges$() {\n return this.entityIdChanges.asObservable();\n }\n // @internal\n get idKey() {\n return this.config.idKey || this.options.idKey || DEFAULT_ID_KEY;\n }\n /**\n *\n * Replace current collection with provided collection\n *\n * @example\n *\n * this.store.set([Entity, Entity])\n * this.store.set({ids: [], entities: {}})\n * this.store.set({ 1: {}, 2: {}})\n *\n */\n set(entities, options = {}) {\n if (isNil(entities))\n return;\n isDev() && setAction('Set Entity');\n const isNativePreAdd = this.akitaPreAddEntity === EntityStore.prototype.akitaPreAddEntity;\n this.setHasCache(true, { restartTTL: true });\n this._setState((state) => {\n const newState = setEntities({\n state,\n entities,\n idKey: this.idKey,\n preAddEntity: this.akitaPreAddEntity.bind(this),\n isNativePreAdd,\n });\n if (isUndefined(options.activeId) === false) {\n newState.active = options.activeId;\n }\n return newState;\n });\n if (this.hasInitialUIState()) {\n this.handleUICreation();\n }\n this.entityActions.next({ type: EntityActions.Set, ids: this.ids });\n }\n /**\n * Add entities\n *\n * @example\n *\n * this.store.add([Entity, Entity])\n * this.store.add(Entity)\n * this.store.add(Entity, { prepend: true })\n *\n * this.store.add(Entity, { loading: false })\n */\n add(entities, options = { loading: false }) {\n const collection = coerceArray(entities);\n if (isEmpty(collection))\n return;\n const data = addEntities({\n state: this._value(),\n preAddEntity: this.akitaPreAddEntity.bind(this),\n entities: collection,\n idKey: this.idKey,\n options,\n });\n if (data) {\n isDev() && setAction('Add Entity');\n data.newState.loading = options.loading;\n this._setState(() => data.newState);\n if (this.hasInitialUIState()) {\n this.handleUICreation(true);\n }\n this.entityActions.next({ type: EntityActions.Add, ids: data.newIds });\n }\n }\n update(idsOrFnOrState, newStateOrFn) {\n if (isUndefined(newStateOrFn)) {\n super.update(idsOrFnOrState);\n return;\n }\n let ids = [];\n if (isFunction(idsOrFnOrState)) {\n // We need to filter according the predicate function\n ids = this.ids.filter((id) => idsOrFnOrState(this.entities[id]));\n }\n else {\n // If it's nil we want all of them\n ids = isNil(idsOrFnOrState) ? this.ids : coerceArray(idsOrFnOrState);\n }\n if (isEmpty(ids))\n return;\n isDev() && setAction('Update Entity', ids);\n let entityIdChanged;\n this._setState((state) => updateEntities({\n idKey: this.idKey,\n ids,\n preUpdateEntity: this.akitaPreUpdateEntity.bind(this),\n state,\n newStateOrFn,\n producerFn: this._producerFn,\n onEntityIdChanges: (oldId, newId) => {\n entityIdChanged = { oldId, newId };\n this.entityIdChanges.next({ ...entityIdChanged, pending: true });\n },\n }));\n if (entityIdChanged) {\n this.entityIdChanges.next({ ...entityIdChanged, pending: false });\n }\n this.entityActions.next({ type: EntityActions.Update, ids });\n }\n upsert(ids, newState, onCreate, options = {}) {\n const toArray = coerceArray(ids);\n const predicate = (isUpdate) => (id) => hasEntity(this.entities, id) === isUpdate;\n const baseClass = isFunction(onCreate) ? options.baseClass : onCreate ? onCreate.baseClass : undefined;\n const isClassBased = isFunction(baseClass);\n const updateIds = toArray.filter(predicate(true));\n const newEntities = toArray.filter(predicate(false)).map((id) => {\n const newStateObj = typeof newState === 'function' ? newState({}) : newState;\n const entity = isFunction(onCreate) ? onCreate(id, newStateObj) : newStateObj;\n const withId = { ...entity, [this.idKey]: id };\n if (isClassBased) {\n return new baseClass(withId);\n }\n return withId;\n });\n // it can be any of the three types\n this.update(updateIds, newState);\n this.add(newEntities);\n isDev() && logAction('Upsert Entity');\n }\n /**\n *\n * Upsert entity collection (idKey must be present)\n *\n * @example\n *\n * store.upsertMany([ { id: 1 }, { id: 2 }]);\n *\n * store.upsertMany([ { id: 1 }, { id: 2 }], { loading: true });\n * store.upsertMany([ { id: 1 }, { id: 2 }], { baseClass: Todo });\n *\n */\n upsertMany(entities, options = {}) {\n const addedIds = [];\n const updatedIds = [];\n const updatedEntities = {};\n // Update the state directly to optimize performance\n for (const entity of entities) {\n const withPreCheckHook = this.akitaPreCheckEntity(entity);\n const id = withPreCheckHook[this.idKey];\n if (hasEntity(this.entities, id)) {\n const prev = this._value().entities[id];\n const merged = { ...this._value().entities[id], ...withPreCheckHook };\n const next = options.baseClass ? new options.baseClass(merged) : merged;\n const withHook = this.akitaPreUpdateEntity(prev, next);\n const nextId = withHook[this.idKey];\n updatedEntities[nextId] = withHook;\n updatedIds.push(nextId);\n }\n else {\n const newEntity = options.baseClass ? new options.baseClass(withPreCheckHook) : withPreCheckHook;\n const withHook = this.akitaPreAddEntity(newEntity);\n const nextId = withHook[this.idKey];\n addedIds.push(nextId);\n updatedEntities[nextId] = withHook;\n }\n }\n isDev() && logAction('Upsert Many');\n this._setState((state) => ({\n ...state,\n ids: addedIds.length ? [...state.ids, ...addedIds] : state.ids,\n entities: {\n ...state.entities,\n ...updatedEntities,\n },\n loading: !!options.loading,\n }));\n updatedIds.length && this.entityActions.next({ type: EntityActions.Update, ids: updatedIds });\n addedIds.length && this.entityActions.next({ type: EntityActions.Add, ids: addedIds });\n if (addedIds.length && this.hasUIStore()) {\n this.handleUICreation(true);\n }\n }\n /**\n *\n * Replace one or more entities (except the id property)\n *\n *\n * @example\n *\n * this.store.replace(5, newEntity)\n * this.store.replace([1,2,3], newEntity)\n */\n replace(ids, newState) {\n const toArray = coerceArray(ids);\n if (isEmpty(toArray))\n return;\n const replaced = {};\n for (const id of toArray) {\n replaced[id] = { ...newState, [this.idKey]: id };\n }\n isDev() && setAction('Replace Entity', ids);\n this._setState((state) => ({\n ...state,\n entities: {\n ...state.entities,\n ...replaced,\n },\n }));\n }\n /**\n *\n * Move entity inside the collection\n *\n *\n * @example\n *\n * this.store.move(fromIndex, toIndex)\n */\n move(from, to) {\n const ids = this.ids.slice();\n ids.splice(to < 0 ? ids.length + to : to, 0, ids.splice(from, 1)[0]);\n isDev() && setAction('Move Entity');\n this._setState((state) => ({\n ...state,\n // Change the entities reference so that selectAll emit\n entities: {\n ...state.entities,\n },\n ids,\n }));\n }\n remove(idsOrFn) {\n if (isEmpty(this.ids))\n return;\n const idPassed = isDefined(idsOrFn);\n // null means remove all\n let ids = [];\n if (isFunction(idsOrFn)) {\n ids = this.ids.filter((entityId) => idsOrFn(this.entities[entityId]));\n }\n else {\n ids = idPassed ? coerceArray(idsOrFn) : this.ids;\n }\n if (isEmpty(ids))\n return;\n isDev() && setAction('Remove Entity', ids);\n this._setState((state) => removeEntities({ state, ids }));\n if (!idPassed) {\n this.setHasCache(false);\n }\n this.handleUIRemove(ids);\n this.entityActions.next({ type: EntityActions.Remove, ids });\n }\n /**\n *\n * Update the active entity\n *\n * @example\n *\n * this.store.updateActive({ completed: true })\n * this.store.updateActive(active => {\n * return {\n * config: {\n * ..active.config,\n * date\n * }\n * }\n * })\n */\n updateActive(newStateOrCallback) {\n const ids = coerceArray(this.active);\n isDev() && setAction('Update Active', ids);\n this.update(ids, newStateOrCallback);\n }\n setActive(idOrOptions) {\n const active = getActiveEntities(idOrOptions, this.ids, this.active);\n if (active === undefined) {\n return;\n }\n isDev() && setAction('Set Active', active);\n this._setActive(active);\n }\n /**\n * Add active entities\n *\n * @example\n *\n * store.addActive(2);\n * store.addActive([3, 4, 5]);\n */\n addActive(ids) {\n const toArray = coerceArray(ids);\n if (isEmpty(toArray))\n return;\n const everyExist = toArray.every((id) => this.active.indexOf(id) > -1);\n if (everyExist)\n return;\n isDev() && setAction('Add Active', ids);\n this._setState((state) => {\n /** Protect against case that one of the items in the array exist */\n const uniques = Array.from(new Set([...state.active, ...toArray]));\n return {\n ...state,\n active: uniques,\n };\n });\n }\n /**\n * Remove active entities\n *\n * @example\n *\n * store.removeActive(2)\n * store.removeActive([3, 4, 5])\n */\n removeActive(ids) {\n const toArray = coerceArray(ids);\n if (isEmpty(toArray))\n return;\n const someExist = toArray.some((id) => this.active.indexOf(id) > -1);\n if (!someExist)\n return;\n isDev() && setAction('Remove Active', ids);\n this._setState((state) => {\n return {\n ...state,\n active: Array.isArray(state.active) ? state.active.filter((currentId) => toArray.indexOf(currentId) === -1) : null,\n };\n });\n }\n /**\n * Toggle active entities\n *\n * @example\n *\n * store.toggle(2)\n * store.toggle([3, 4, 5])\n */\n toggleActive(ids) {\n const toArray = coerceArray(ids);\n const filterExists = (remove) => (id) => this.active.includes(id) === remove;\n const remove = toArray.filter(filterExists(true));\n const add = toArray.filter(filterExists(false));\n this.removeActive(remove);\n this.addActive(add);\n isDev() && logAction('Toggle Active');\n }\n /**\n *\n * Create sub UI store for managing Entity's UI state\n *\n * @example\n *\n * export type ProductUI = {\n * isLoading: boolean;\n * isOpen: boolean\n * }\n *\n * interface ProductsUIState extends EntityState {}\n *\n * export class ProductsStore EntityStore {\n * ui: EntityUIStore;\n *\n * constructor() {\n * super();\n * this.createUIStore();\n * }\n *\n * }\n */\n createUIStore(initialState = {}, storeConfig = {}) {\n const defaults = { name: `UI/${this.storeName}`, idKey: this.idKey };\n this.ui = new EntityUIStore(initialState, { ...defaults, ...storeConfig });\n return this.ui;\n }\n // @internal\n destroy() {\n super.destroy();\n if (this.ui instanceof EntityStore) {\n this.ui.destroy();\n }\n this.entityActions.complete();\n }\n // @internal\n akitaPreUpdateEntity(_, nextEntity) {\n return nextEntity;\n }\n // @internal\n akitaPreAddEntity(newEntity) {\n return newEntity;\n }\n // @internal\n akitaPreCheckEntity(newEntity) {\n return newEntity;\n }\n get ids() {\n return this._value().ids;\n }\n get entities() {\n return this._value().entities;\n }\n get active() {\n return this._value().active;\n }\n _setActive(ids) {\n this._setState((state) => {\n return {\n ...state,\n active: ids,\n };\n });\n }\n handleUICreation(add = false) {\n const ids = this.ids;\n const isFunc = isFunction(this.ui._akitaCreateEntityFn);\n let uiEntities;\n const createFn = (id) => {\n const current = this.entities[id];\n const ui = isFunc ? this.ui._akitaCreateEntityFn(current) : this.ui._akitaCreateEntityFn;\n return {\n [this.idKey]: current[this.idKey],\n ...ui,\n };\n };\n if (add) {\n uiEntities = this.ids.filter((id) => isUndefined(this.ui.entities[id])).map(createFn);\n }\n else {\n uiEntities = ids.map(createFn);\n }\n add ? this.ui.add(uiEntities) : this.ui.set(uiEntities);\n }\n hasInitialUIState() {\n return this.hasUIStore() && isUndefined(this.ui._akitaCreateEntityFn) === false;\n }\n handleUIRemove(ids) {\n if (this.hasUIStore()) {\n this.ui.remove(ids);\n }\n }\n hasUIStore() {\n return this.ui instanceof EntityUIStore;\n }\n}\n__decorate([\n transaction(),\n __metadata(\"design:type\", Function),\n __metadata(\"design:paramtypes\", [Object, Object, Object, Object]),\n __metadata(\"design:returntype\", void 0)\n], EntityStore.prototype, \"upsert\", null);\n__decorate([\n transaction(),\n __metadata(\"design:type\", Function),\n __metadata(\"design:paramtypes\", [typeof (_b = typeof T !== \"undefined\" && T) === \"function\" ? _b : Object]),\n __metadata(\"design:returntype\", void 0)\n], EntityStore.prototype, \"toggleActive\", null);\n// @internal\nexport class EntityUIStore extends EntityStore {\n constructor(initialState = {}, storeConfig = {}) {\n super(initialState, storeConfig);\n }\n /**\n *\n * Set the initial UI entity state. This function will determine the entity's\n * initial state when we call `set()` or `add()`.\n *\n * @example\n *\n * constructor() {\n * super();\n * this.createUIStore().setInitialEntityState(entity => ({ isLoading: false, isOpen: true }));\n * this.createUIStore().setInitialEntityState({ isLoading: false, isOpen: true });\n * }\n *\n */\n setInitialEntityState(createFn) {\n this._akitaCreateEntityFn = createFn;\n }\n}\n","// @internal\nexport const getInitialEntitiesState = () => ({\n entities: {},\n ids: [],\n loading: true,\n error: null\n});\n","// @internal\nexport function toEntitiesObject(entities, idKey, preAddEntity) {\n const acc = {\n entities: {},\n ids: []\n };\n for (const entity of entities) {\n // evaluate the middleware first to support dynamic ids\n const current = preAddEntity(entity);\n acc.entities[current[idKey]] = current;\n acc.ids.push(current[idKey]);\n }\n return acc;\n}\n","import { hasEntity } from './hasEntity';\n// @internal\nexport function addEntities({ state, entities, idKey, options = {}, preAddEntity }) {\n let newEntities = {};\n let newIds = [];\n let hasNewEntities = false;\n for (const entity of entities) {\n if (hasEntity(state.entities, entity[idKey]) === false) {\n // evaluate the middleware first to support dynamic ids\n const current = preAddEntity(entity);\n const entityId = current[idKey];\n newEntities[entityId] = current;\n if (options.prepend)\n newIds.unshift(entityId);\n else\n newIds.push(entityId);\n hasNewEntities = true;\n }\n }\n return hasNewEntities\n ? {\n newState: {\n ...state,\n entities: {\n ...state.entities,\n ...newEntities\n },\n ids: options.prepend ? [...newIds, ...state.ids] : [...state.ids, ...newIds]\n },\n newIds\n }\n : null;\n}\n","import { isFunction } from './isFunction';\nimport { hasEntity } from './hasEntity';\nimport { isPlainObject } from './isPlainObject';\n// @internal\nexport function updateEntities({ state, ids, idKey, newStateOrFn, preUpdateEntity, producerFn, onEntityIdChanges }) {\n const updatedEntities = {};\n let isUpdatingIdKey = false;\n let idToUpdate;\n for (const id of ids) {\n // if the entity doesn't exist don't do anything\n if (hasEntity(state.entities, id) === false) {\n continue;\n }\n const oldEntity = state.entities[id];\n let newState;\n if (isFunction(newStateOrFn)) {\n newState = isFunction(producerFn) ? producerFn(oldEntity, newStateOrFn) : newStateOrFn(oldEntity);\n }\n else {\n newState = newStateOrFn;\n }\n const isIdChanged = newState.hasOwnProperty(idKey) && newState[idKey] !== oldEntity[idKey];\n let newEntity;\n idToUpdate = id;\n if (isIdChanged) {\n isUpdatingIdKey = true;\n idToUpdate = newState[idKey];\n }\n const merged = {\n ...oldEntity,\n ...newState,\n };\n if (isPlainObject(oldEntity)) {\n newEntity = merged;\n }\n else {\n /**\n * In case that new state is class of it's own, there's\n * a possibility that it will be different than the old\n * class.\n * For example, Old state is an instance of animal class\n * and new state is instance of person class.\n * To avoid run over new person class with the old animal\n * class we check if the new state is a class of it's own.\n * If so, use it. Otherwise, use the old state class\n */\n if (isPlainObject(newState)) {\n newEntity = new oldEntity.constructor(merged);\n }\n else {\n newEntity = new newState.constructor(merged);\n }\n }\n updatedEntities[idToUpdate] = preUpdateEntity(oldEntity, newEntity);\n }\n let updatedIds = state.ids;\n let stateEntities = state.entities;\n if (isUpdatingIdKey) {\n const [id] = ids;\n const { [id]: deletedEntity, ...rest } = state.entities;\n stateEntities = rest;\n updatedIds = state.ids.map((current) => (current === id ? idToUpdate : current));\n onEntityIdChanges(id, idToUpdate);\n }\n return {\n ...state,\n entities: {\n ...stateEntities,\n ...updatedEntities,\n },\n ids: updatedIds,\n };\n}\n","import { isNil } from './isNil';\nimport { hasActiveState, isMultiActiveState, resolveActiveEntity } from './activeState';\n// @internal\nexport function removeEntities({ state, ids }) {\n if (isNil(ids))\n return removeAllEntities(state);\n const entities = state.entities;\n let newEntities = {};\n for (const id of state.ids) {\n if (ids.includes(id) === false) {\n newEntities[id] = entities[id];\n }\n }\n const newState = {\n ...state,\n entities: newEntities,\n ids: state.ids.filter(current => ids.includes(current) === false)\n };\n if (hasActiveState(state)) {\n newState.active = resolveActiveEntity(newState);\n }\n return newState;\n}\n// @internal\nexport function removeAllEntities(state) {\n return {\n ...state,\n entities: {},\n ids: [],\n active: isMultiActiveState(state.active) ? [] : null\n };\n}\n","import { isNil } from './isNil';\nimport { isObject } from './isObject';\nimport { isArray } from './isArray';\n// @internal\nexport function getActiveEntities(idOrOptions, ids, currentActive) {\n let result;\n if (isArray(idOrOptions)) {\n result = idOrOptions;\n }\n else {\n if (isObject(idOrOptions)) {\n if (isNil(currentActive))\n return;\n idOrOptions = Object.assign({ wrap: true }, idOrOptions);\n const currentIdIndex = ids.indexOf(currentActive);\n if (idOrOptions.prev) {\n const isFirst = currentIdIndex === 0;\n if (isFirst && !idOrOptions.wrap)\n return;\n result = isFirst ? ids[ids.length - 1] : ids[currentIdIndex - 1];\n }\n else if (idOrOptions.next) {\n const isLast = ids.length === currentIdIndex + 1;\n if (isLast && !idOrOptions.wrap)\n return;\n result = isLast ? ids[0] : ids[currentIdIndex + 1];\n }\n }\n else {\n if (idOrOptions === currentActive)\n return;\n result = idOrOptions;\n }\n }\n return result;\n}\n","// @internal\nexport function isString(value) {\n return typeof value === 'string';\n}\n","export const queryConfigKey = 'akitaQueryConfig';\nexport function QueryConfig(metadata) {\n return function (constructor) {\n constructor[queryConfigKey] = {};\n for (let i = 0, keys = Object.keys(metadata); i < keys.length; i++) {\n const key = keys[i];\n constructor[queryConfigKey][key] = metadata[key];\n }\n };\n}\n","import { distinctUntilChanged, map } from 'rxjs';\nimport { compareKeys } from './compareKeys';\nimport { isDev } from './env';\nimport { isFunction } from './isFunction';\nimport { isString } from './isString';\nimport { queryConfigKey } from './queryConfig';\nimport { __queries__ } from './stores';\nexport class Query {\n constructor(store) {\n this.store = store;\n this.__store__ = store;\n if (isDev()) {\n // @internal\n __queries__[store.storeName] = this;\n }\n }\n select(project) {\n let mapFn;\n if (isFunction(project)) {\n mapFn = project;\n }\n else if (isString(project)) {\n mapFn = (state) => state[project];\n }\n else if (Array.isArray(project)) {\n return this.store\n ._select((state) => state)\n .pipe(distinctUntilChanged(compareKeys(project)), map((state) => {\n if (isFunction(project[0])) {\n return project.map((func) => func(state));\n }\n return project.reduce((acc, k) => {\n acc[k] = state[k];\n return acc;\n }, {});\n }));\n }\n else {\n mapFn = (state) => state;\n }\n return this.store._select(mapFn);\n }\n /**\n * Select the loading state\n *\n * @example\n *\n * this.query.selectLoading().subscribe(isLoading => {})\n */\n selectLoading() {\n return this.select((state) => state.loading);\n }\n /**\n * Select the error state\n *\n * @example\n *\n * this.query.selectError().subscribe(error => {})\n */\n selectError() {\n return this.select((state) => state.error);\n }\n /**\n * Get the store's value\n *\n * @example\n *\n * this.query.getValue()\n *\n */\n getValue() {\n return this.store._value();\n }\n /**\n * Select the cache state\n *\n * @example\n *\n * this.query.selectHasCache().pipe(\n * switchMap(hasCache => {\n * return hasCache ? of() : http().pipe(res => store.set(res))\n * })\n * )\n */\n selectHasCache() {\n return this.store._cache().asObservable();\n }\n /**\n * Whether we've cached data\n *\n * @example\n *\n * this.query.getHasCache()\n *\n */\n getHasCache() {\n return this.store._cache().value;\n }\n // @internal\n get config() {\n return this.constructor[queryConfigKey];\n }\n}\n","import { isFunction } from './isFunction';\nexport function compareKeys(keysOrFuncs) {\n return function (prevState, currState) {\n const isFns = isFunction(keysOrFuncs[0]);\n // Return when they are NOT changed\n return keysOrFuncs.some(keyOrFunc => {\n if (isFns) {\n return keyOrFunc(prevState) !== keyOrFunc(currState);\n }\n return prevState[keyOrFunc] !== currState[keyOrFunc];\n }) === false;\n };\n}\n","import { isUndefined } from './isUndefined';\nimport { isString } from './isString';\n// @internal\nexport function findEntityByPredicate(predicate, entities) {\n for (const entityId of Object.keys(entities)) {\n if (predicate(entities[entityId]) === true) {\n return entityId;\n }\n }\n return undefined;\n}\n// @internal\nexport function getEntity(id, project) {\n return function (entities) {\n const entity = entities[id];\n if (isUndefined(entity)) {\n return undefined;\n }\n if (!project) {\n return entity;\n }\n if (isString(project)) {\n return entity[project];\n }\n return project(entity);\n };\n}\n","import { distinctUntilChanged, filter, map, of, switchMap } from 'rxjs';\nimport { distinctUntilArrayItemChanged } from './arrayFind';\nimport { coerceArray } from './coerceArray';\nimport { entitiesToArray } from './entitiesToArray';\nimport { entitiesToMap } from './entitiesToMap';\nimport { findEntityByPredicate, getEntity } from './getEntity';\nimport { isArray } from './isArray';\nimport { isDefined } from './isDefined';\nimport { isFunction } from './isFunction';\nimport { isNil } from './isNil';\nimport { mapSkipUndefined } from './mapSkipUndefined';\nimport { Query } from './query';\nimport { sortByOptions } from './sortByOptions';\nimport { toBoolean } from './toBoolean';\n/**\n *\n * The Entity Query is similar to the general Query, with additional functionality tailored for EntityStores.\n *\n * class WidgetsQuery extends QueryEntity {\n * constructor(protected store: WidgetsStore) {\n * super(store);\n * }\n * }\n *\n *\n *\n */\nexport class QueryEntity extends Query {\n constructor(store, options = {}) {\n super(store);\n this.options = options;\n this.__store__ = store;\n }\n selectAll(options = {\n asObject: false,\n }) {\n return this.select((state) => state.entities).pipe(map(() => this.getAll(options)));\n }\n getAll(options = { asObject: false, filterBy: undefined, limitTo: undefined }) {\n if (options.asObject) {\n return entitiesToMap(this.getValue(), options);\n }\n sortByOptions(options, this.config || this.options);\n return entitiesToArray(this.getValue(), options);\n }\n selectMany(ids, project) {\n if (!ids || !ids.length)\n return of([]);\n return this.select((state) => state.entities).pipe(map((entities) => mapSkipUndefined(ids, (id) => getEntity(id, project)(entities))), distinctUntilArrayItemChanged());\n }\n selectEntity(idOrPredicate, project) {\n let id = idOrPredicate;\n if (isFunction(idOrPredicate)) {\n // For performance reason we expect the entity to be in the store\n id = findEntityByPredicate(idOrPredicate, this.getValue().entities);\n }\n return this.select((state) => state.entities).pipe(map(getEntity(id, project)), distinctUntilChanged());\n }\n /**\n * Get an entity by id\n *\n * @example\n *\n * this.query.getEntity(1);\n */\n getEntity(id) {\n return this.getValue().entities[id];\n }\n /**\n * Select the active entity's id\n *\n * @example\n *\n * this.query.selectActiveId()\n */\n selectActiveId() {\n return this.select((state) => state.active);\n }\n /**\n * Get the active id\n *\n * @example\n *\n * this.query.getActiveId()\n */\n getActiveId() {\n return this.getValue().active;\n }\n selectActive(project) {\n if (isArray(this.getActive())) {\n return this.selectActiveId().pipe(switchMap((ids) => this.selectMany(ids, project)));\n }\n return this.selectActiveId().pipe(switchMap((ids) => this.selectEntity(ids, project)));\n }\n getActive() {\n const activeId = this.getActiveId();\n if (isArray(activeId)) {\n return activeId.map((id) => this.getValue().entities[id]);\n }\n return toBoolean(activeId) ? this.getEntity(activeId) : undefined;\n }\n /**\n * Select the store's entity collection length\n *\n * @example\n *\n * this.query.selectCount()\n * this.query.selectCount(entity => entity.completed)\n */\n selectCount(predicate) {\n return this.select((state) => state.entities).pipe(map(() => this.getCount(predicate)));\n }\n /**\n * Get the store's entity collection length\n *\n * @example\n *\n * this.query.getCount()\n * this.query.getCount(entity => entity.completed)\n */\n getCount(predicate) {\n if (isFunction(predicate)) {\n return this.getAll().filter(predicate).length;\n }\n return this.getValue().ids.length;\n }\n selectLast(project) {\n return this.selectAt((ids) => ids[ids.length - 1], project);\n }\n selectFirst(project) {\n return this.selectAt((ids) => ids[0], project);\n }\n selectEntityAction(actionOrActions) {\n if (isNil(actionOrActions)) {\n return this.store.selectEntityAction$;\n }\n const project = isArray(actionOrActions) ? (action) => action : ({ ids }) => ids;\n const actions = coerceArray(actionOrActions);\n return this.store.selectEntityAction$.pipe(filter(({ type }) => actions.includes(type)), map((action) => project(action)));\n }\n hasEntity(projectOrIds) {\n if (isNil(projectOrIds)) {\n return this.getValue().ids.length > 0;\n }\n if (isFunction(projectOrIds)) {\n return this.getAll().some(projectOrIds);\n }\n if (isArray(projectOrIds)) {\n return projectOrIds.every((id) => id in this.getValue().entities);\n }\n return projectOrIds in this.getValue().entities;\n }\n /**\n * Returns whether entity store has an active entity\n *\n * @example\n *\n * this.query.hasActive()\n * this.query.hasActive(3)\n *\n */\n hasActive(id) {\n const active = this.getValue().active;\n const isIdProvided = isDefined(id);\n if (Array.isArray(active)) {\n if (isIdProvided) {\n return active.includes(id);\n }\n return active.length > 0;\n }\n return isIdProvided ? active === id : isDefined(active);\n }\n /**\n *\n * Create sub UI query for querying Entity's UI state\n *\n * @example\n *\n *\n * export class ProductsQuery extends QueryEntity {\n * ui: EntityUIQuery;\n *\n * constructor(protected store: ProductsStore) {\n * super(store);\n * this.createUIQuery();\n * }\n *\n * }\n */\n createUIQuery() {\n this.ui = new EntityUIQuery(this.__store__.ui);\n }\n selectAt(mapFn, project) {\n return this.select((state) => state.ids).pipe(map(mapFn), distinctUntilChanged(), switchMap((id) => this.selectEntity(id, project)));\n }\n}\n// @internal\nexport class EntityUIQuery extends QueryEntity {\n constructor(store) {\n super(store);\n }\n}\n","import { isNil } from './isNil';\nimport { coerceArray } from './coerceArray';\n// @internal\nexport function entitiesToMap(state, options) {\n const map = {};\n const { filterBy, limitTo } = options;\n const { ids, entities } = state;\n if (!filterBy && !limitTo) {\n return entities;\n }\n const hasLimit = isNil(limitTo) === false;\n if (filterBy && hasLimit) {\n let count = 0;\n for (let i = 0, length = ids.length; i < length; i++) {\n if (count === limitTo)\n break;\n const id = ids[i];\n const entity = entities[id];\n const allPass = coerceArray(filterBy).every(fn => fn(entity, i));\n if (allPass) {\n map[id] = entity;\n count++;\n }\n }\n }\n else {\n const finalLength = Math.min(limitTo || ids.length, ids.length);\n for (let i = 0; i < finalLength; i++) {\n const id = ids[i];\n const entity = entities[id];\n if (!filterBy) {\n map[id] = entity;\n continue;\n }\n const allPass = coerceArray(filterBy).every(fn => fn(entity, i));\n if (allPass) {\n map[id] = entity;\n }\n }\n }\n return map;\n}\n","// @internal\nexport function sortByOptions(options, config) {\n options.sortBy = options.sortBy || (config && config.sortBy);\n options.sortByOrder = options.sortByOrder || (config && config.sortByOrder);\n}\n","// @internal\nexport function mapSkipUndefined(arr, callbackFn) {\n return arr.reduce((result, value, index, array) => {\n const val = callbackFn(value, index, array);\n if (val !== undefined) {\n result.push(val);\n }\n return result;\n }, []);\n}\n","import { distinctUntilChanged, map } from 'rxjs';\nimport { coerceArray } from './coerceArray';\nimport { DEFAULT_ID_KEY } from './defaultIDKey';\nimport { isArray } from './isArray';\nimport { isEmpty } from './isEmpty';\nimport { isFunction } from './isFunction';\n// @internal\nexport function find(collection, idsOrPredicate, idKey) {\n const result = [];\n if (isFunction(idsOrPredicate)) {\n for (const entity of collection) {\n if (idsOrPredicate(entity) === true) {\n result.push(entity);\n }\n }\n }\n else {\n const toSet = coerceArray(idsOrPredicate).reduce((acc, current) => acc.add(current), new Set());\n for (const entity of collection) {\n if (toSet.has(entity[idKey])) {\n result.push(entity);\n }\n }\n }\n return result;\n}\n// @internal\nexport function distinctUntilArrayItemChanged() {\n return distinctUntilChanged((prevCollection, currentCollection) => {\n if (prevCollection === currentCollection) {\n return true;\n }\n if (!isArray(prevCollection) || !isArray(currentCollection)) {\n return false;\n }\n if (isEmpty(prevCollection) && isEmpty(currentCollection)) {\n return true;\n }\n if (prevCollection.length !== currentCollection.length) {\n return false;\n }\n const isOneOfItemReferenceChanged = currentCollection.some((item, i) => {\n return prevCollection[i] !== item;\n });\n // return false means there is a change and we want to call next()\n return isOneOfItemReferenceChanged === false;\n });\n}\nexport function arrayFind(idsOrPredicate, idKey) {\n return function (source) {\n return source.pipe(map((collection) => {\n // which means the user deleted the root entity or set the collection to nil\n if (isArray(collection) === false) {\n return collection;\n }\n return find(collection, idsOrPredicate, idKey || DEFAULT_ID_KEY);\n }), distinctUntilArrayItemChanged(), map((value) => {\n if (isArray(value) === false) {\n return value;\n }\n if (isArray(idsOrPredicate) || isFunction(idsOrPredicate)) {\n return value;\n }\n return value[0];\n }));\n };\n}\n","/**\n * Generate random guid\n *\n * @example\n *\n * {\n * id: guid()\n * }\n *\n * @remarks this isn't a GUID, but a 10 char random alpha-num\n */\nexport function guid() {\n return Math.random()\n .toString(36)\n .slice(2);\n}\n","import { filter, from, isObservable, map, of, ReplaySubject, skip } from 'rxjs';\nimport { setAction } from './actions';\nimport { $$addStore, $$deleteStore } from './dispatchers';\nimport { getValue } from './getValueByString';\nimport { isFunction } from './isFunction';\nimport { isNil } from './isNil';\nimport { isObject } from './isObject';\nimport { hasLocalStorage, hasSessionStorage, isNotBrowser } from './root';\nimport { setValue } from './setValueByString';\nimport { __stores__ } from './stores';\nlet skipStorageUpdate = false;\nconst _persistStateInit = new ReplaySubject(1);\nexport function selectPersistStateInit() {\n return _persistStateInit.asObservable();\n}\nexport function setSkipStorageUpdate(skip) {\n skipStorageUpdate = skip;\n}\nexport function getSkipStorageUpdate() {\n return skipStorageUpdate;\n}\nfunction isPromise(v) {\n return v && isFunction(v.then);\n}\nfunction observify(asyncOrValue) {\n if (isPromise(asyncOrValue) || isObservable(asyncOrValue)) {\n return from(asyncOrValue);\n }\n return of(asyncOrValue);\n}\nexport function persistState(params) {\n const defaults = {\n key: 'AkitaStores',\n enableInNonBrowser: false,\n storage: !hasLocalStorage() ? params.storage : localStorage,\n deserialize: JSON.parse,\n serialize: JSON.stringify,\n include: [],\n select: [],\n persistOnDestroy: false,\n preStorageUpdate: function (storeName, state) {\n return state;\n },\n preStoreUpdate: function (storeName, state) {\n return state;\n },\n skipStorageUpdate: getSkipStorageUpdate,\n preStorageUpdateOperator: () => (source) => source,\n };\n const { storage, enableInNonBrowser, deserialize, serialize, include, select, key, preStorageUpdate, persistOnDestroy, preStorageUpdateOperator, preStoreUpdate, skipStorageUpdate } = Object.assign({}, defaults, params);\n if ((isNotBrowser && !enableInNonBrowser) || !storage)\n return;\n const hasInclude = include.length > 0;\n const hasSelect = select.length > 0;\n let includeStores;\n let selectStores;\n if (hasInclude) {\n includeStores = include.reduce((acc, path) => {\n if (isFunction(path)) {\n acc.fns.push(path);\n }\n else {\n const storeName = path.split('.')[0];\n acc[storeName] = path;\n }\n return acc;\n }, { fns: [] });\n }\n if (hasSelect) {\n selectStores = select.reduce((acc, selectFn) => {\n acc[selectFn.storeName] = selectFn;\n return acc;\n }, {});\n }\n let stores = {};\n const acc = {};\n const subscriptions = [];\n const buffer = [];\n function _save(v) {\n observify(v).subscribe(() => {\n const next = buffer.shift();\n next && _save(next);\n });\n }\n // when we use the local/session storage we perform the serialize, otherwise we let the passed storage implementation to do it\n const isLocalStorage = (hasLocalStorage() && storage === localStorage) || (hasSessionStorage() && storage === sessionStorage);\n observify(storage.getItem(key)).subscribe((value) => {\n let storageState = isObject(value) ? value : deserialize(value || '{}');\n function save(storeCache) {\n storageState['$cache'] = { ...(storageState['$cache'] || {}), ...storeCache };\n storageState = Object.assign({}, storageState, acc);\n buffer.push(storage.setItem(key, isLocalStorage ? serialize(storageState) : storageState));\n _save(buffer.shift());\n }\n function subscribe(storeName, path) {\n stores[storeName] = __stores__[storeName]\n ._select((state) => getValue(state, path))\n .pipe(skip(1), map((store) => {\n if (hasSelect && selectStores[storeName]) {\n return selectStores[storeName](store);\n }\n return store;\n }), filter(() => skipStorageUpdate() === false), preStorageUpdateOperator())\n .subscribe((data) => {\n acc[storeName] = preStorageUpdate(storeName, data);\n Promise.resolve().then(() => save({ [storeName]: __stores__[storeName]._cache().getValue() }));\n });\n }\n function setInitial(storeName, store, path) {\n if (storeName in storageState) {\n setAction('@PersistState');\n store._setState((state) => {\n return setValue(state, path, preStoreUpdate(storeName, storageState[storeName], state));\n });\n const hasCache = storageState['$cache'] ? storageState['$cache'][storeName] : false;\n __stores__[storeName].setHasCache(hasCache, { restartTTL: true });\n }\n }\n subscriptions.push($$deleteStore.subscribe((storeName) => {\n if (stores[storeName]) {\n if (persistOnDestroy === false) {\n save({ [storeName]: false });\n }\n stores[storeName].unsubscribe();\n delete stores[storeName];\n }\n }));\n subscriptions.push($$addStore.subscribe((storeName) => {\n if (storeName === 'router') {\n return;\n }\n const store = __stores__[storeName];\n if (hasInclude) {\n let path = includeStores[storeName];\n if (!path) {\n const passPredicate = includeStores.fns.some((fn) => fn(storeName));\n if (passPredicate) {\n path = storeName;\n }\n else {\n return;\n }\n }\n setInitial(storeName, store, path);\n subscribe(storeName, path);\n }\n else {\n setInitial(storeName, store, storeName);\n subscribe(storeName, storeName);\n }\n }));\n _persistStateInit.next(true);\n });\n return {\n destroy() {\n subscriptions.forEach((s) => s.unsubscribe());\n for (let i = 0, keys = Object.keys(stores); i < keys.length; i++) {\n const storeName = keys[i];\n stores[storeName].unsubscribe();\n }\n stores = {};\n },\n clear() {\n storage.clear();\n },\n clearStore(storeName) {\n if (isNil(storeName)) {\n const value = observify(storage.setItem(key, '{}'));\n value.subscribe();\n return;\n }\n const value = storage.getItem(key);\n observify(value).subscribe((v) => {\n const storageState = deserialize(v || '{}');\n if (storageState[storeName]) {\n delete storageState[storeName];\n const value = observify(storage.setItem(key, serialize(storageState)));\n value.subscribe();\n }\n });\n },\n };\n}\n","/**\n * @internal\n *\n * @example\n *\n * getValue(state, 'todos.ui')\n *\n */\nexport function getValue(obj, prop) {\n /** return the whole state */\n if (prop.split('.').length === 1) {\n return obj;\n }\n const removeStoreName = prop\n .split('.')\n .slice(1)\n .join('.');\n return removeStoreName.split('.').reduce((acc, part) => acc && acc[part], obj);\n}\n","import { filterNilValue } from '../filterNil';\nimport { toBoolean } from '../toBoolean';\nimport { getAkitaConfig } from '../config';\nimport { getValue } from '../getValueByString';\nimport { setValue } from '../setValueByString';\nexport class AkitaPlugin {\n constructor(query, config) {\n this.query = query;\n if (config && config.resetFn) {\n if (getAkitaConfig().resettable) {\n this.onReset(config.resetFn);\n }\n }\n }\n /** This method is responsible for getting access to the query. */\n getQuery() {\n return this.query;\n }\n /** This method is responsible for getting access to the store. */\n getStore() {\n return this.getQuery().__store__;\n }\n /** This method is responsible tells whether the plugin is entityBased or not. */\n isEntityBased(entityId) {\n return toBoolean(entityId);\n }\n /** This method is responsible for selecting the source; it can be the whole store or one entity. */\n selectSource(entityId, property) {\n if (this.isEntityBased(entityId)) {\n return this.getQuery().selectEntity(entityId).pipe(filterNilValue());\n }\n if (property) {\n return this.getQuery().select((state) => getValue(state, this.withStoreName(property)));\n }\n return this.getQuery().select();\n }\n getSource(entityId, property) {\n if (this.isEntityBased(entityId)) {\n return this.getQuery().getEntity(entityId);\n }\n const state = this.getQuery().getValue();\n if (property) {\n return getValue(state, this.withStoreName(property));\n }\n return state;\n }\n withStoreName(prop) {\n return `${this.storeName}.${prop}`;\n }\n get storeName() {\n return this.getStore().storeName;\n }\n /** This method is responsible for updating the store or one entity; it can be the whole store or one entity. */\n updateStore(newState, entityId, property, replace = false) {\n if (this.isEntityBased(entityId)) {\n const store = this.getStore();\n replace ? store.replace(entityId, newState) : store.update(entityId, newState);\n }\n else {\n if (property) {\n this.getStore()._setState((state) => {\n return setValue(state, this.withStoreName(property), newState, true);\n });\n return;\n }\n const nextState = replace ? newState : (state) => ({ ...state, ...newState });\n this.getStore()._setState(nextState);\n }\n }\n /**\n * Function to invoke upon reset\n */\n onReset(fn) {\n const original = this.getStore().reset;\n this.getStore().reset = (...params) => {\n /** It should run after the plugin destroy method */\n setTimeout(() => {\n original.apply(this.getStore(), params);\n fn();\n });\n };\n }\n}\n","import { filter } from 'rxjs';\n/**\n * @example\n *\n * query.selectEntity(2).pipe(filterNil)\n * @deprecated Use the operator function filterNilValue()\n */\nexport const filterNil = (source) => source.pipe(filter((value) => value !== null && typeof value !== 'undefined'));\n/**\n * @example\n *\n * query.selectEntity(2).pipe(filterNilValue())\n */\nexport function filterNilValue() {\n return filter((value) => value !== null && value !== undefined);\n}\n","import { isObject } from './isObject';\n/**\n * @internal\n *\n * @example\n * setValue(state, 'todos.ui', { filter: {} })\n */\nexport function setValue(obj, prop, val, replace = false) {\n const split = prop.split('.');\n if (split.length === 1) {\n return { ...obj, ...val };\n }\n obj = { ...obj };\n const lastIndex = split.length - 2;\n const removeStoreName = prop.split('.').slice(1);\n removeStoreName.reduce((acc, part, index) => {\n if (index !== lastIndex) {\n acc[part] = { ...acc[part] };\n return acc && acc[part];\n }\n acc[part] = replace || Array.isArray(acc[part]) || !isObject(acc[part]) ? val : { ...acc[part], ...val };\n return acc && acc[part];\n }, obj);\n return obj;\n}\n","import { __decorate, __metadata } from \"tslib\";\nimport { BehaviorSubject, delay, from, isObservable, map, switchMap, take } from 'rxjs';\nimport { action, logAction } from '../../actions';\nimport { isNil } from '../../isNil';\nimport { isUndefined } from '../../isUndefined';\nimport { applyTransaction } from '../../transaction';\nimport { AkitaPlugin } from '../plugin';\nconst paginatorDefaults = {\n pagesControls: false,\n range: false,\n startWith: 1,\n cacheTimeout: undefined,\n clearStoreWithCache: true,\n};\nexport class PaginatorPlugin extends AkitaPlugin {\n constructor(query, config = {}) {\n super(query, {\n resetFn: () => {\n this.initial = false;\n this.destroy({ clearCache: true, currentPage: 1 });\n },\n });\n this.query = query;\n this.config = config;\n /** Save current filters, sorting, etc. in cache */\n this.metadata = new Map();\n this.pages = new Map();\n this.pagination = {\n currentPage: 1,\n perPage: 0,\n total: 0,\n lastPage: 0,\n data: [],\n };\n /**\n * When the user navigates to a different page and return\n * we don't want to call `clearCache` on first time.\n */\n this.initial = true;\n /**\n * Proxy to the query loading\n */\n this.isLoading$ = this.query.selectLoading().pipe(delay(0));\n this.config = { ...paginatorDefaults, ...config };\n const { startWith, cacheTimeout } = this.config;\n this.page = new BehaviorSubject(startWith);\n if (isObservable(cacheTimeout)) {\n this.clearCacheSubscription = cacheTimeout.subscribe(() => this.clearCache());\n }\n }\n /**\n * Listen to page changes\n */\n get pageChanges() {\n return this.page.asObservable();\n }\n /**\n * Get the current page number\n */\n get currentPage() {\n return this.pagination.currentPage;\n }\n /**\n * Check if current page is the first one\n */\n get isFirst() {\n return this.currentPage === 1;\n }\n /**\n * Check if current page is the last one\n */\n get isLast() {\n return this.currentPage === this.pagination.lastPage;\n }\n /**\n * Whether to generate an array of pages for *ngFor\n * [1, 2, 3, 4]\n */\n withControls() {\n this.config.pagesControls = true;\n return this;\n }\n /**\n * Whether to generate the `from` and `to` keys\n * [1, 2, 3, 4]\n */\n withRange() {\n this.config.range = true;\n return this;\n }\n /**\n * Set the loading state\n */\n setLoading(value = true) {\n this.getStore().setLoading(value);\n }\n /**\n * Update the pagination object and add the page\n */\n update(response) {\n this.pagination = response;\n this.addPage(response.data);\n }\n /**\n *\n * Set the ids and add the page to store\n */\n addPage(data) {\n this.pages.set(this.currentPage, { ids: data.map((entity) => entity[this.getStore().idKey]) });\n this.getStore().upsertMany(data);\n }\n /**\n * Clear the cache.\n */\n clearCache(options = {}) {\n if (!this.initial) {\n logAction('@Pagination - Clear Cache');\n if (options.clearStore !== false && (this.config.clearStoreWithCache || options.clearStore)) {\n this.getStore().remove();\n }\n this.pages = new Map();\n this.metadata = new Map();\n }\n this.initial = false;\n }\n clearPage(page) {\n this.pages.delete(page);\n }\n /**\n * Clear the cache timeout and optionally the pages\n */\n destroy({ clearCache, currentPage } = {}) {\n if (this.clearCacheSubscription) {\n this.clearCacheSubscription.unsubscribe();\n }\n if (clearCache) {\n this.clearCache();\n }\n if (!isUndefined(currentPage)) {\n this.setPage(currentPage);\n }\n this.initial = true;\n }\n /**\n * Whether the provided page is active\n */\n isPageActive(page) {\n return this.currentPage === page;\n }\n /**\n * Set the current page\n */\n setPage(page) {\n if (page !== this.currentPage || !this.hasPage(page)) {\n this.page.next((this.pagination.currentPage = page));\n }\n }\n /**\n * Increment current page\n */\n nextPage() {\n if (this.currentPage !== this.pagination.lastPage) {\n this.setPage(this.pagination.currentPage + 1);\n }\n }\n /**\n * Decrement current page\n */\n prevPage() {\n if (this.pagination.currentPage > 1) {\n this.setPage(this.pagination.currentPage - 1);\n }\n }\n /**\n * Set current page to last\n */\n setLastPage() {\n this.setPage(this.pagination.lastPage);\n }\n /**\n * Set current page to first\n */\n setFirstPage() {\n this.setPage(1);\n }\n /**\n * Check if page exists in cache\n */\n hasPage(page) {\n return this.pages.has(page);\n }\n /**\n * Get the current page if it's in cache, otherwise invoke the request\n */\n getPage(req) {\n let page = this.pagination.currentPage;\n if (this.hasPage(page)) {\n return this.selectPage(page);\n }\n else {\n this.setLoading(true);\n return from(req()).pipe(switchMap((config) => {\n page = config.currentPage;\n applyTransaction(() => {\n this.setLoading(false);\n this.update(config);\n });\n return this.selectPage(page);\n }));\n }\n }\n getQuery() {\n return this.query;\n }\n refreshCurrentPage() {\n if (isNil(this.currentPage) === false) {\n this.clearPage(this.currentPage);\n this.setPage(this.currentPage);\n }\n }\n getFrom() {\n if (this.isFirst) {\n return 1;\n }\n return (this.currentPage - 1) * this.pagination.perPage + 1;\n }\n getTo() {\n if (this.isLast) {\n return this.pagination.total;\n }\n return this.currentPage * this.pagination.perPage;\n }\n /**\n * Select the page\n */\n selectPage(page) {\n return this.query.selectAll({ asObject: true }).pipe(take(1), map((entities) => {\n const response = {\n ...this.pagination,\n data: this.pages.get(page).ids.map((id) => entities[id]),\n };\n const { range, pagesControls } = this.config;\n /** If no total - calc it */\n if (isNaN(this.pagination.total)) {\n if (response.lastPage === 1) {\n response.total = response.data ? response.data.length : 0;\n }\n else {\n response.total = response.perPage * response.lastPage;\n }\n this.pagination.total = response.total;\n }\n if (range) {\n response.from = this.getFrom();\n response.to = this.getTo();\n }\n if (pagesControls) {\n response.pageControls = generatePages(this.pagination.total, this.pagination.perPage);\n }\n return response;\n }));\n }\n}\n__decorate([\n action('@Pagination - New Page'),\n __metadata(\"design:type\", Function),\n __metadata(\"design:paramtypes\", [Object]),\n __metadata(\"design:returntype\", void 0)\n], PaginatorPlugin.prototype, \"update\", null);\n/**\n * Generate an array so we can ngFor them to navigate between pages\n */\nfunction generatePages(total, perPage) {\n const len = Math.ceil(total / perPage);\n const arr = [];\n for (let i = 0; i < len; i++) {\n arr.push(i + 1);\n }\n return arr;\n}\n/** backward compatibility */\nexport const Paginator = PaginatorPlugin;\n","import { filter, take } from 'rxjs';\nimport { $$addStore } from './dispatchers';\nimport { isString } from './isString';\nimport { setSkipStorageUpdate } from './persistState';\nimport { __stores__ } from './stores';\nexport class SnapshotManager {\n /**\n * Get a snapshot of the whole state or a specific stores\n * Use it ONLY for things such as saving the state in the server\n */\n getStoresSnapshot(stores = []) {\n const acc = {};\n const hasInclude = stores.length > 0;\n const keys = hasInclude ? stores : Object.keys(__stores__);\n for (let i = 0; i < keys.length; i++) {\n const storeName = keys[i];\n if (storeName !== 'router') {\n acc[storeName] = __stores__[storeName]._value();\n }\n }\n return acc;\n }\n setStoresSnapshot(stores, options) {\n const mergedOptions = { ...{ skipStorageUpdate: false, lazy: false }, ...options };\n mergedOptions.skipStorageUpdate && setSkipStorageUpdate(true);\n let normalizedStores = stores;\n if (isString(stores)) {\n normalizedStores = JSON.parse(normalizedStores);\n }\n const size = Object.keys(normalizedStores).length;\n if (mergedOptions.lazy) {\n $$addStore\n .pipe(filter((name) => normalizedStores.hasOwnProperty(name)), take(size))\n .subscribe((name) => __stores__[name]._setState(() => normalizedStores[name]));\n }\n else {\n for (let i = 0, keys = Object.keys(normalizedStores); i < keys.length; i++) {\n const storeName = keys[i];\n if (__stores__[storeName]) {\n __stores__[storeName]._setState(() => normalizedStores[storeName]);\n }\n }\n }\n mergedOptions.skipStorageUpdate && setSkipStorageUpdate(false);\n }\n}\nexport const snapshotManager = new SnapshotManager();\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\n/** Error thrown when an HTTP request fails. */\r\nvar HttpError = /** @class */ (function (_super) {\r\n __extends(HttpError, _super);\r\n /** Constructs a new instance of {@link @microsoft/signalr.HttpError}.\r\n *\r\n * @param {string} errorMessage A descriptive error message.\r\n * @param {number} statusCode The HTTP status code represented by this error.\r\n */\r\n function HttpError(errorMessage, statusCode) {\r\n var _newTarget = this.constructor;\r\n var _this = this;\r\n var trueProto = _newTarget.prototype;\r\n _this = _super.call(this, errorMessage) || this;\r\n _this.statusCode = statusCode;\r\n // Workaround issue in Typescript compiler\r\n // https://github.com/Microsoft/TypeScript/issues/13965#issuecomment-278570200\r\n _this.__proto__ = trueProto;\r\n return _this;\r\n }\r\n return HttpError;\r\n}(Error));\r\nexport { HttpError };\r\n/** Error thrown when a timeout elapses. */\r\nvar TimeoutError = /** @class */ (function (_super) {\r\n __extends(TimeoutError, _super);\r\n /** Constructs a new instance of {@link @microsoft/signalr.TimeoutError}.\r\n *\r\n * @param {string} errorMessage A descriptive error message.\r\n */\r\n function TimeoutError(errorMessage) {\r\n var _newTarget = this.constructor;\r\n if (errorMessage === void 0) { errorMessage = \"A timeout occurred.\"; }\r\n var _this = this;\r\n var trueProto = _newTarget.prototype;\r\n _this = _super.call(this, errorMessage) || this;\r\n // Workaround issue in Typescript compiler\r\n // https://github.com/Microsoft/TypeScript/issues/13965#issuecomment-278570200\r\n _this.__proto__ = trueProto;\r\n return _this;\r\n }\r\n return TimeoutError;\r\n}(Error));\r\nexport { TimeoutError };\r\n/** Error thrown when an action is aborted. */\r\nvar AbortError = /** @class */ (function (_super) {\r\n __extends(AbortError, _super);\r\n /** Constructs a new instance of {@link AbortError}.\r\n *\r\n * @param {string} errorMessage A descriptive error message.\r\n */\r\n function AbortError(errorMessage) {\r\n var _newTarget = this.constructor;\r\n if (errorMessage === void 0) { errorMessage = \"An abort occurred.\"; }\r\n var _this = this;\r\n var trueProto = _newTarget.prototype;\r\n _this = _super.call(this, errorMessage) || this;\r\n // Workaround issue in Typescript compiler\r\n // https://github.com/Microsoft/TypeScript/issues/13965#issuecomment-278570200\r\n _this.__proto__ = trueProto;\r\n return _this;\r\n }\r\n return AbortError;\r\n}(Error));\r\nexport { AbortError };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n};\r\n/** Represents an HTTP response. */\r\nvar HttpResponse = /** @class */ (function () {\r\n function HttpResponse(statusCode, statusText, content) {\r\n this.statusCode = statusCode;\r\n this.statusText = statusText;\r\n this.content = content;\r\n }\r\n return HttpResponse;\r\n}());\r\nexport { HttpResponse };\r\n/** Abstraction over an HTTP client.\r\n *\r\n * This class provides an abstraction over an HTTP client so that a different implementation can be provided on different platforms.\r\n */\r\nvar HttpClient = /** @class */ (function () {\r\n function HttpClient() {\r\n }\r\n HttpClient.prototype.get = function (url, options) {\r\n return this.send(__assign({}, options, { method: \"GET\", url: url }));\r\n };\r\n HttpClient.prototype.post = function (url, options) {\r\n return this.send(__assign({}, options, { method: \"POST\", url: url }));\r\n };\r\n HttpClient.prototype.delete = function (url, options) {\r\n return this.send(__assign({}, options, { method: \"DELETE\", url: url }));\r\n };\r\n /** Gets all cookies that apply to the specified URL.\r\n *\r\n * @param url The URL that the cookies are valid for.\r\n * @returns {string} A string containing all the key-value cookie pairs for the specified URL.\r\n */\r\n // @ts-ignore\r\n HttpClient.prototype.getCookieString = function (url) {\r\n return \"\";\r\n };\r\n return HttpClient;\r\n}());\r\nexport { HttpClient };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\n// These values are designed to match the ASP.NET Log Levels since that's the pattern we're emulating here.\r\n/** Indicates the severity of a log message.\r\n *\r\n * Log Levels are ordered in increasing severity. So `Debug` is more severe than `Trace`, etc.\r\n */\r\nexport var LogLevel;\r\n(function (LogLevel) {\r\n /** Log level for very low severity diagnostic messages. */\r\n LogLevel[LogLevel[\"Trace\"] = 0] = \"Trace\";\r\n /** Log level for low severity diagnostic messages. */\r\n LogLevel[LogLevel[\"Debug\"] = 1] = \"Debug\";\r\n /** Log level for informational diagnostic messages. */\r\n LogLevel[LogLevel[\"Information\"] = 2] = \"Information\";\r\n /** Log level for diagnostic messages that indicate a non-fatal problem. */\r\n LogLevel[LogLevel[\"Warning\"] = 3] = \"Warning\";\r\n /** Log level for diagnostic messages that indicate a failure in the current operation. */\r\n LogLevel[LogLevel[\"Error\"] = 4] = \"Error\";\r\n /** Log level for diagnostic messages that indicate a failure that will terminate the entire application. */\r\n LogLevel[LogLevel[\"Critical\"] = 5] = \"Critical\";\r\n /** The highest possible log level. Used when configuring logging to indicate that no log messages should be emitted. */\r\n LogLevel[LogLevel[\"None\"] = 6] = \"None\";\r\n})(LogLevel || (LogLevel = {}));\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\n/** A logger that does nothing when log messages are sent to it. */\r\nvar NullLogger = /** @class */ (function () {\r\n function NullLogger() {\r\n }\r\n /** @inheritDoc */\r\n // tslint:disable-next-line\r\n NullLogger.prototype.log = function (_logLevel, _message) {\r\n };\r\n /** The singleton instance of the {@link @microsoft/signalr.NullLogger}. */\r\n NullLogger.instance = new NullLogger();\r\n return NullLogger;\r\n}());\r\nexport { NullLogger };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport { LogLevel } from \"./ILogger\";\r\nimport { NullLogger } from \"./Loggers\";\r\n// Version token that will be replaced by the prepack command\r\n/** The version of the SignalR client. */\r\nexport var VERSION = \"5.0.5\";\r\n/** @private */\r\nvar Arg = /** @class */ (function () {\r\n function Arg() {\r\n }\r\n Arg.isRequired = function (val, name) {\r\n if (val === null || val === undefined) {\r\n throw new Error(\"The '\" + name + \"' argument is required.\");\r\n }\r\n };\r\n Arg.isNotEmpty = function (val, name) {\r\n if (!val || val.match(/^\\s*$/)) {\r\n throw new Error(\"The '\" + name + \"' argument should not be empty.\");\r\n }\r\n };\r\n Arg.isIn = function (val, values, name) {\r\n // TypeScript enums have keys for **both** the name and the value of each enum member on the type itself.\r\n if (!(val in values)) {\r\n throw new Error(\"Unknown \" + name + \" value: \" + val + \".\");\r\n }\r\n };\r\n return Arg;\r\n}());\r\nexport { Arg };\r\n/** @private */\r\nvar Platform = /** @class */ (function () {\r\n function Platform() {\r\n }\r\n Object.defineProperty(Platform, \"isBrowser\", {\r\n get: function () {\r\n return typeof window === \"object\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Platform, \"isWebWorker\", {\r\n get: function () {\r\n return typeof self === \"object\" && \"importScripts\" in self;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Platform, \"isNode\", {\r\n get: function () {\r\n return !this.isBrowser && !this.isWebWorker;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return Platform;\r\n}());\r\nexport { Platform };\r\n/** @private */\r\nexport function getDataDetail(data, includeContent) {\r\n var detail = \"\";\r\n if (isArrayBuffer(data)) {\r\n detail = \"Binary data of length \" + data.byteLength;\r\n if (includeContent) {\r\n detail += \". Content: '\" + formatArrayBuffer(data) + \"'\";\r\n }\r\n }\r\n else if (typeof data === \"string\") {\r\n detail = \"String data of length \" + data.length;\r\n if (includeContent) {\r\n detail += \". Content: '\" + data + \"'\";\r\n }\r\n }\r\n return detail;\r\n}\r\n/** @private */\r\nexport function formatArrayBuffer(data) {\r\n var view = new Uint8Array(data);\r\n // Uint8Array.map only supports returning another Uint8Array?\r\n var str = \"\";\r\n view.forEach(function (num) {\r\n var pad = num < 16 ? \"0\" : \"\";\r\n str += \"0x\" + pad + num.toString(16) + \" \";\r\n });\r\n // Trim of trailing space.\r\n return str.substr(0, str.length - 1);\r\n}\r\n// Also in signalr-protocol-msgpack/Utils.ts\r\n/** @private */\r\nexport function isArrayBuffer(val) {\r\n return val && typeof ArrayBuffer !== \"undefined\" &&\r\n (val instanceof ArrayBuffer ||\r\n // Sometimes we get an ArrayBuffer that doesn't satisfy instanceof\r\n (val.constructor && val.constructor.name === \"ArrayBuffer\"));\r\n}\r\n/** @private */\r\nexport function sendMessage(logger, transportName, httpClient, url, accessTokenFactory, content, logMessageContent, withCredentials, defaultHeaders) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var _a, headers, token, _b, name, value, responseType, response;\r\n return __generator(this, function (_c) {\r\n switch (_c.label) {\r\n case 0:\r\n headers = {};\r\n if (!accessTokenFactory) return [3 /*break*/, 2];\r\n return [4 /*yield*/, accessTokenFactory()];\r\n case 1:\r\n token = _c.sent();\r\n if (token) {\r\n headers = (_a = {},\r\n _a[\"Authorization\"] = \"Bearer \" + token,\r\n _a);\r\n }\r\n _c.label = 2;\r\n case 2:\r\n _b = getUserAgentHeader(), name = _b[0], value = _b[1];\r\n headers[name] = value;\r\n logger.log(LogLevel.Trace, \"(\" + transportName + \" transport) sending data. \" + getDataDetail(content, logMessageContent) + \".\");\r\n responseType = isArrayBuffer(content) ? \"arraybuffer\" : \"text\";\r\n return [4 /*yield*/, httpClient.post(url, {\r\n content: content,\r\n headers: __assign({}, headers, defaultHeaders),\r\n responseType: responseType,\r\n withCredentials: withCredentials,\r\n })];\r\n case 3:\r\n response = _c.sent();\r\n logger.log(LogLevel.Trace, \"(\" + transportName + \" transport) request complete. Response status: \" + response.statusCode + \".\");\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n}\r\n/** @private */\r\nexport function createLogger(logger) {\r\n if (logger === undefined) {\r\n return new ConsoleLogger(LogLevel.Information);\r\n }\r\n if (logger === null) {\r\n return NullLogger.instance;\r\n }\r\n if (logger.log) {\r\n return logger;\r\n }\r\n return new ConsoleLogger(logger);\r\n}\r\n/** @private */\r\nvar SubjectSubscription = /** @class */ (function () {\r\n function SubjectSubscription(subject, observer) {\r\n this.subject = subject;\r\n this.observer = observer;\r\n }\r\n SubjectSubscription.prototype.dispose = function () {\r\n var index = this.subject.observers.indexOf(this.observer);\r\n if (index > -1) {\r\n this.subject.observers.splice(index, 1);\r\n }\r\n if (this.subject.observers.length === 0 && this.subject.cancelCallback) {\r\n this.subject.cancelCallback().catch(function (_) { });\r\n }\r\n };\r\n return SubjectSubscription;\r\n}());\r\nexport { SubjectSubscription };\r\n/** @private */\r\nvar ConsoleLogger = /** @class */ (function () {\r\n function ConsoleLogger(minimumLogLevel) {\r\n this.minimumLogLevel = minimumLogLevel;\r\n this.outputConsole = console;\r\n }\r\n ConsoleLogger.prototype.log = function (logLevel, message) {\r\n if (logLevel >= this.minimumLogLevel) {\r\n switch (logLevel) {\r\n case LogLevel.Critical:\r\n case LogLevel.Error:\r\n this.outputConsole.error(\"[\" + new Date().toISOString() + \"] \" + LogLevel[logLevel] + \": \" + message);\r\n break;\r\n case LogLevel.Warning:\r\n this.outputConsole.warn(\"[\" + new Date().toISOString() + \"] \" + LogLevel[logLevel] + \": \" + message);\r\n break;\r\n case LogLevel.Information:\r\n this.outputConsole.info(\"[\" + new Date().toISOString() + \"] \" + LogLevel[logLevel] + \": \" + message);\r\n break;\r\n default:\r\n // console.debug only goes to attached debuggers in Node, so we use console.log for Trace and Debug\r\n this.outputConsole.log(\"[\" + new Date().toISOString() + \"] \" + LogLevel[logLevel] + \": \" + message);\r\n break;\r\n }\r\n }\r\n };\r\n return ConsoleLogger;\r\n}());\r\nexport { ConsoleLogger };\r\n/** @private */\r\nexport function getUserAgentHeader() {\r\n var userAgentHeaderName = \"X-SignalR-User-Agent\";\r\n if (Platform.isNode) {\r\n userAgentHeaderName = \"User-Agent\";\r\n }\r\n return [userAgentHeaderName, constructUserAgent(VERSION, getOsName(), getRuntime(), getRuntimeVersion())];\r\n}\r\n/** @private */\r\nexport function constructUserAgent(version, os, runtime, runtimeVersion) {\r\n // Microsoft SignalR/[Version] ([Detailed Version]; [Operating System]; [Runtime]; [Runtime Version])\r\n var userAgent = \"Microsoft SignalR/\";\r\n var majorAndMinor = version.split(\".\");\r\n userAgent += majorAndMinor[0] + \".\" + majorAndMinor[1];\r\n userAgent += \" (\" + version + \"; \";\r\n if (os && os !== \"\") {\r\n userAgent += os + \"; \";\r\n }\r\n else {\r\n userAgent += \"Unknown OS; \";\r\n }\r\n userAgent += \"\" + runtime;\r\n if (runtimeVersion) {\r\n userAgent += \"; \" + runtimeVersion;\r\n }\r\n else {\r\n userAgent += \"; Unknown Runtime Version\";\r\n }\r\n userAgent += \")\";\r\n return userAgent;\r\n}\r\nfunction getOsName() {\r\n if (Platform.isNode) {\r\n switch (process.platform) {\r\n case \"win32\":\r\n return \"Windows NT\";\r\n case \"darwin\":\r\n return \"macOS\";\r\n case \"linux\":\r\n return \"Linux\";\r\n default:\r\n return process.platform;\r\n }\r\n }\r\n else {\r\n return \"\";\r\n }\r\n}\r\nfunction getRuntimeVersion() {\r\n if (Platform.isNode) {\r\n return process.versions.node;\r\n }\r\n return undefined;\r\n}\r\nfunction getRuntime() {\r\n if (Platform.isNode) {\r\n return \"NodeJS\";\r\n }\r\n else {\r\n return \"Browser\";\r\n }\r\n}\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport { AbortError, HttpError, TimeoutError } from \"./Errors\";\r\nimport { HttpClient, HttpResponse } from \"./HttpClient\";\r\nimport { LogLevel } from \"./ILogger\";\r\nimport { Platform } from \"./Utils\";\r\nvar FetchHttpClient = /** @class */ (function (_super) {\r\n __extends(FetchHttpClient, _super);\r\n function FetchHttpClient(logger) {\r\n var _this = _super.call(this) || this;\r\n _this.logger = logger;\r\n if (typeof fetch === \"undefined\") {\r\n // In order to ignore the dynamic require in webpack builds we need to do this magic\r\n // @ts-ignore: TS doesn't know about these names\r\n var requireFunc = typeof __webpack_require__ === \"function\" ? __non_webpack_require__ : require;\r\n // Cookies aren't automatically handled in Node so we need to add a CookieJar to preserve cookies across requests\r\n _this.jar = new (requireFunc(\"tough-cookie\")).CookieJar();\r\n _this.fetchType = requireFunc(\"node-fetch\");\r\n // node-fetch doesn't have a nice API for getting and setting cookies\r\n // fetch-cookie will wrap a fetch implementation with a default CookieJar or a provided one\r\n _this.fetchType = requireFunc(\"fetch-cookie\")(_this.fetchType, _this.jar);\r\n // Node needs EventListener methods on AbortController which our custom polyfill doesn't provide\r\n _this.abortControllerType = requireFunc(\"abort-controller\");\r\n }\r\n else {\r\n _this.fetchType = fetch.bind(self);\r\n _this.abortControllerType = AbortController;\r\n }\r\n return _this;\r\n }\r\n /** @inheritDoc */\r\n FetchHttpClient.prototype.send = function (request) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var abortController, error, timeoutId, msTimeout, response, e_1, content, payload;\r\n var _this = this;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n // Check that abort was not signaled before calling send\r\n if (request.abortSignal && request.abortSignal.aborted) {\r\n throw new AbortError();\r\n }\r\n if (!request.method) {\r\n throw new Error(\"No method defined.\");\r\n }\r\n if (!request.url) {\r\n throw new Error(\"No url defined.\");\r\n }\r\n abortController = new this.abortControllerType();\r\n // Hook our abortSignal into the abort controller\r\n if (request.abortSignal) {\r\n request.abortSignal.onabort = function () {\r\n abortController.abort();\r\n error = new AbortError();\r\n };\r\n }\r\n timeoutId = null;\r\n if (request.timeout) {\r\n msTimeout = request.timeout;\r\n timeoutId = setTimeout(function () {\r\n abortController.abort();\r\n _this.logger.log(LogLevel.Warning, \"Timeout from HTTP request.\");\r\n error = new TimeoutError();\r\n }, msTimeout);\r\n }\r\n _a.label = 1;\r\n case 1:\r\n _a.trys.push([1, 3, 4, 5]);\r\n return [4 /*yield*/, this.fetchType(request.url, {\r\n body: request.content,\r\n cache: \"no-cache\",\r\n credentials: request.withCredentials === true ? \"include\" : \"same-origin\",\r\n headers: __assign({ \"Content-Type\": \"text/plain;charset=UTF-8\", \"X-Requested-With\": \"XMLHttpRequest\" }, request.headers),\r\n method: request.method,\r\n mode: \"cors\",\r\n redirect: \"manual\",\r\n signal: abortController.signal,\r\n })];\r\n case 2:\r\n response = _a.sent();\r\n return [3 /*break*/, 5];\r\n case 3:\r\n e_1 = _a.sent();\r\n if (error) {\r\n throw error;\r\n }\r\n this.logger.log(LogLevel.Warning, \"Error from HTTP request. \" + e_1 + \".\");\r\n throw e_1;\r\n case 4:\r\n if (timeoutId) {\r\n clearTimeout(timeoutId);\r\n }\r\n if (request.abortSignal) {\r\n request.abortSignal.onabort = null;\r\n }\r\n return [7 /*endfinally*/];\r\n case 5:\r\n if (!response.ok) {\r\n throw new HttpError(response.statusText, response.status);\r\n }\r\n content = deserializeContent(response, request.responseType);\r\n return [4 /*yield*/, content];\r\n case 6:\r\n payload = _a.sent();\r\n return [2 /*return*/, new HttpResponse(response.status, response.statusText, payload)];\r\n }\r\n });\r\n });\r\n };\r\n FetchHttpClient.prototype.getCookieString = function (url) {\r\n var cookies = \"\";\r\n if (Platform.isNode && this.jar) {\r\n // @ts-ignore: unused variable\r\n this.jar.getCookies(url, function (e, c) { return cookies = c.join(\"; \"); });\r\n }\r\n return cookies;\r\n };\r\n return FetchHttpClient;\r\n}(HttpClient));\r\nexport { FetchHttpClient };\r\nfunction deserializeContent(response, responseType) {\r\n var content;\r\n switch (responseType) {\r\n case \"arraybuffer\":\r\n content = response.arrayBuffer();\r\n break;\r\n case \"text\":\r\n content = response.text();\r\n break;\r\n case \"blob\":\r\n case \"document\":\r\n case \"json\":\r\n throw new Error(responseType + \" is not supported.\");\r\n default:\r\n content = response.text();\r\n break;\r\n }\r\n return content;\r\n}\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nimport { AbortError, HttpError, TimeoutError } from \"./Errors\";\r\nimport { HttpClient, HttpResponse } from \"./HttpClient\";\r\nimport { LogLevel } from \"./ILogger\";\r\nvar XhrHttpClient = /** @class */ (function (_super) {\r\n __extends(XhrHttpClient, _super);\r\n function XhrHttpClient(logger) {\r\n var _this = _super.call(this) || this;\r\n _this.logger = logger;\r\n return _this;\r\n }\r\n /** @inheritDoc */\r\n XhrHttpClient.prototype.send = function (request) {\r\n var _this = this;\r\n // Check that abort was not signaled before calling send\r\n if (request.abortSignal && request.abortSignal.aborted) {\r\n return Promise.reject(new AbortError());\r\n }\r\n if (!request.method) {\r\n return Promise.reject(new Error(\"No method defined.\"));\r\n }\r\n if (!request.url) {\r\n return Promise.reject(new Error(\"No url defined.\"));\r\n }\r\n return new Promise(function (resolve, reject) {\r\n var xhr = new XMLHttpRequest();\r\n xhr.open(request.method, request.url, true);\r\n xhr.withCredentials = request.withCredentials === undefined ? true : request.withCredentials;\r\n xhr.setRequestHeader(\"X-Requested-With\", \"XMLHttpRequest\");\r\n // Explicitly setting the Content-Type header for React Native on Android platform.\r\n xhr.setRequestHeader(\"Content-Type\", \"text/plain;charset=UTF-8\");\r\n var headers = request.headers;\r\n if (headers) {\r\n Object.keys(headers)\r\n .forEach(function (header) {\r\n xhr.setRequestHeader(header, headers[header]);\r\n });\r\n }\r\n if (request.responseType) {\r\n xhr.responseType = request.responseType;\r\n }\r\n if (request.abortSignal) {\r\n request.abortSignal.onabort = function () {\r\n xhr.abort();\r\n reject(new AbortError());\r\n };\r\n }\r\n if (request.timeout) {\r\n xhr.timeout = request.timeout;\r\n }\r\n xhr.onload = function () {\r\n if (request.abortSignal) {\r\n request.abortSignal.onabort = null;\r\n }\r\n if (xhr.status >= 200 && xhr.status < 300) {\r\n resolve(new HttpResponse(xhr.status, xhr.statusText, xhr.response || xhr.responseText));\r\n }\r\n else {\r\n reject(new HttpError(xhr.statusText, xhr.status));\r\n }\r\n };\r\n xhr.onerror = function () {\r\n _this.logger.log(LogLevel.Warning, \"Error from HTTP request. \" + xhr.status + \": \" + xhr.statusText + \".\");\r\n reject(new HttpError(xhr.statusText, xhr.status));\r\n };\r\n xhr.ontimeout = function () {\r\n _this.logger.log(LogLevel.Warning, \"Timeout from HTTP request.\");\r\n reject(new TimeoutError());\r\n };\r\n xhr.send(request.content || \"\");\r\n });\r\n };\r\n return XhrHttpClient;\r\n}(HttpClient));\r\nexport { XhrHttpClient };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nimport { AbortError } from \"./Errors\";\r\nimport { FetchHttpClient } from \"./FetchHttpClient\";\r\nimport { HttpClient } from \"./HttpClient\";\r\nimport { Platform } from \"./Utils\";\r\nimport { XhrHttpClient } from \"./XhrHttpClient\";\r\n/** Default implementation of {@link @microsoft/signalr.HttpClient}. */\r\nvar DefaultHttpClient = /** @class */ (function (_super) {\r\n __extends(DefaultHttpClient, _super);\r\n /** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */\r\n function DefaultHttpClient(logger) {\r\n var _this = _super.call(this) || this;\r\n if (typeof fetch !== \"undefined\" || Platform.isNode) {\r\n _this.httpClient = new FetchHttpClient(logger);\r\n }\r\n else if (typeof XMLHttpRequest !== \"undefined\") {\r\n _this.httpClient = new XhrHttpClient(logger);\r\n }\r\n else {\r\n throw new Error(\"No usable HttpClient found.\");\r\n }\r\n return _this;\r\n }\r\n /** @inheritDoc */\r\n DefaultHttpClient.prototype.send = function (request) {\r\n // Check that abort was not signaled before calling send\r\n if (request.abortSignal && request.abortSignal.aborted) {\r\n return Promise.reject(new AbortError());\r\n }\r\n if (!request.method) {\r\n return Promise.reject(new Error(\"No method defined.\"));\r\n }\r\n if (!request.url) {\r\n return Promise.reject(new Error(\"No url defined.\"));\r\n }\r\n return this.httpClient.send(request);\r\n };\r\n DefaultHttpClient.prototype.getCookieString = function (url) {\r\n return this.httpClient.getCookieString(url);\r\n };\r\n return DefaultHttpClient;\r\n}(HttpClient));\r\nexport { DefaultHttpClient };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\n// Not exported from index\r\n/** @private */\r\nvar TextMessageFormat = /** @class */ (function () {\r\n function TextMessageFormat() {\r\n }\r\n TextMessageFormat.write = function (output) {\r\n return \"\" + output + TextMessageFormat.RecordSeparator;\r\n };\r\n TextMessageFormat.parse = function (input) {\r\n if (input[input.length - 1] !== TextMessageFormat.RecordSeparator) {\r\n throw new Error(\"Message is incomplete.\");\r\n }\r\n var messages = input.split(TextMessageFormat.RecordSeparator);\r\n messages.pop();\r\n return messages;\r\n };\r\n TextMessageFormat.RecordSeparatorCode = 0x1e;\r\n TextMessageFormat.RecordSeparator = String.fromCharCode(TextMessageFormat.RecordSeparatorCode);\r\n return TextMessageFormat;\r\n}());\r\nexport { TextMessageFormat };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nimport { TextMessageFormat } from \"./TextMessageFormat\";\r\nimport { isArrayBuffer } from \"./Utils\";\r\n/** @private */\r\nvar HandshakeProtocol = /** @class */ (function () {\r\n function HandshakeProtocol() {\r\n }\r\n // Handshake request is always JSON\r\n HandshakeProtocol.prototype.writeHandshakeRequest = function (handshakeRequest) {\r\n return TextMessageFormat.write(JSON.stringify(handshakeRequest));\r\n };\r\n HandshakeProtocol.prototype.parseHandshakeResponse = function (data) {\r\n var responseMessage;\r\n var messageData;\r\n var remainingData;\r\n if (isArrayBuffer(data) || (typeof Buffer !== \"undefined\" && data instanceof Buffer)) {\r\n // Format is binary but still need to read JSON text from handshake response\r\n var binaryData = new Uint8Array(data);\r\n var separatorIndex = binaryData.indexOf(TextMessageFormat.RecordSeparatorCode);\r\n if (separatorIndex === -1) {\r\n throw new Error(\"Message is incomplete.\");\r\n }\r\n // content before separator is handshake response\r\n // optional content after is additional messages\r\n var responseLength = separatorIndex + 1;\r\n messageData = String.fromCharCode.apply(null, binaryData.slice(0, responseLength));\r\n remainingData = (binaryData.byteLength > responseLength) ? binaryData.slice(responseLength).buffer : null;\r\n }\r\n else {\r\n var textData = data;\r\n var separatorIndex = textData.indexOf(TextMessageFormat.RecordSeparator);\r\n if (separatorIndex === -1) {\r\n throw new Error(\"Message is incomplete.\");\r\n }\r\n // content before separator is handshake response\r\n // optional content after is additional messages\r\n var responseLength = separatorIndex + 1;\r\n messageData = textData.substring(0, responseLength);\r\n remainingData = (textData.length > responseLength) ? textData.substring(responseLength) : null;\r\n }\r\n // At this point we should have just the single handshake message\r\n var messages = TextMessageFormat.parse(messageData);\r\n var response = JSON.parse(messages[0]);\r\n if (response.type) {\r\n throw new Error(\"Expected a handshake response from the server.\");\r\n }\r\n responseMessage = response;\r\n // multiple messages could have arrived with handshake\r\n // return additional data to be parsed as usual, or null if all parsed\r\n return [remainingData, responseMessage];\r\n };\r\n return HandshakeProtocol;\r\n}());\r\nexport { HandshakeProtocol };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\n/** Defines the type of a Hub Message. */\r\nexport var MessageType;\r\n(function (MessageType) {\r\n /** Indicates the message is an Invocation message and implements the {@link @microsoft/signalr.InvocationMessage} interface. */\r\n MessageType[MessageType[\"Invocation\"] = 1] = \"Invocation\";\r\n /** Indicates the message is a StreamItem message and implements the {@link @microsoft/signalr.StreamItemMessage} interface. */\r\n MessageType[MessageType[\"StreamItem\"] = 2] = \"StreamItem\";\r\n /** Indicates the message is a Completion message and implements the {@link @microsoft/signalr.CompletionMessage} interface. */\r\n MessageType[MessageType[\"Completion\"] = 3] = \"Completion\";\r\n /** Indicates the message is a Stream Invocation message and implements the {@link @microsoft/signalr.StreamInvocationMessage} interface. */\r\n MessageType[MessageType[\"StreamInvocation\"] = 4] = \"StreamInvocation\";\r\n /** Indicates the message is a Cancel Invocation message and implements the {@link @microsoft/signalr.CancelInvocationMessage} interface. */\r\n MessageType[MessageType[\"CancelInvocation\"] = 5] = \"CancelInvocation\";\r\n /** Indicates the message is a Ping message and implements the {@link @microsoft/signalr.PingMessage} interface. */\r\n MessageType[MessageType[\"Ping\"] = 6] = \"Ping\";\r\n /** Indicates the message is a Close message and implements the {@link @microsoft/signalr.CloseMessage} interface. */\r\n MessageType[MessageType[\"Close\"] = 7] = \"Close\";\r\n})(MessageType || (MessageType = {}));\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nimport { SubjectSubscription } from \"./Utils\";\r\n/** Stream implementation to stream items to the server. */\r\nvar Subject = /** @class */ (function () {\r\n function Subject() {\r\n this.observers = [];\r\n }\r\n Subject.prototype.next = function (item) {\r\n for (var _i = 0, _a = this.observers; _i < _a.length; _i++) {\r\n var observer = _a[_i];\r\n observer.next(item);\r\n }\r\n };\r\n Subject.prototype.error = function (err) {\r\n for (var _i = 0, _a = this.observers; _i < _a.length; _i++) {\r\n var observer = _a[_i];\r\n if (observer.error) {\r\n observer.error(err);\r\n }\r\n }\r\n };\r\n Subject.prototype.complete = function () {\r\n for (var _i = 0, _a = this.observers; _i < _a.length; _i++) {\r\n var observer = _a[_i];\r\n if (observer.complete) {\r\n observer.complete();\r\n }\r\n }\r\n };\r\n Subject.prototype.subscribe = function (observer) {\r\n this.observers.push(observer);\r\n return new SubjectSubscription(this, observer);\r\n };\r\n return Subject;\r\n}());\r\nexport { Subject };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport { HandshakeProtocol } from \"./HandshakeProtocol\";\r\nimport { MessageType } from \"./IHubProtocol\";\r\nimport { LogLevel } from \"./ILogger\";\r\nimport { Subject } from \"./Subject\";\r\nimport { Arg } from \"./Utils\";\r\nvar DEFAULT_TIMEOUT_IN_MS = 30 * 1000;\r\nvar DEFAULT_PING_INTERVAL_IN_MS = 15 * 1000;\r\n/** Describes the current state of the {@link HubConnection} to the server. */\r\nexport var HubConnectionState;\r\n(function (HubConnectionState) {\r\n /** The hub connection is disconnected. */\r\n HubConnectionState[\"Disconnected\"] = \"Disconnected\";\r\n /** The hub connection is connecting. */\r\n HubConnectionState[\"Connecting\"] = \"Connecting\";\r\n /** The hub connection is connected. */\r\n HubConnectionState[\"Connected\"] = \"Connected\";\r\n /** The hub connection is disconnecting. */\r\n HubConnectionState[\"Disconnecting\"] = \"Disconnecting\";\r\n /** The hub connection is reconnecting. */\r\n HubConnectionState[\"Reconnecting\"] = \"Reconnecting\";\r\n})(HubConnectionState || (HubConnectionState = {}));\r\n/** Represents a connection to a SignalR Hub. */\r\nvar HubConnection = /** @class */ (function () {\r\n function HubConnection(connection, logger, protocol, reconnectPolicy) {\r\n var _this = this;\r\n Arg.isRequired(connection, \"connection\");\r\n Arg.isRequired(logger, \"logger\");\r\n Arg.isRequired(protocol, \"protocol\");\r\n this.serverTimeoutInMilliseconds = DEFAULT_TIMEOUT_IN_MS;\r\n this.keepAliveIntervalInMilliseconds = DEFAULT_PING_INTERVAL_IN_MS;\r\n this.logger = logger;\r\n this.protocol = protocol;\r\n this.connection = connection;\r\n this.reconnectPolicy = reconnectPolicy;\r\n this.handshakeProtocol = new HandshakeProtocol();\r\n this.connection.onreceive = function (data) { return _this.processIncomingData(data); };\r\n this.connection.onclose = function (error) { return _this.connectionClosed(error); };\r\n this.callbacks = {};\r\n this.methods = {};\r\n this.closedCallbacks = [];\r\n this.reconnectingCallbacks = [];\r\n this.reconnectedCallbacks = [];\r\n this.invocationId = 0;\r\n this.receivedHandshakeResponse = false;\r\n this.connectionState = HubConnectionState.Disconnected;\r\n this.connectionStarted = false;\r\n this.cachedPingMessage = this.protocol.writeMessage({ type: MessageType.Ping });\r\n }\r\n /** @internal */\r\n // Using a public static factory method means we can have a private constructor and an _internal_\r\n // create method that can be used by HubConnectionBuilder. An \"internal\" constructor would just\r\n // be stripped away and the '.d.ts' file would have no constructor, which is interpreted as a\r\n // public parameter-less constructor.\r\n HubConnection.create = function (connection, logger, protocol, reconnectPolicy) {\r\n return new HubConnection(connection, logger, protocol, reconnectPolicy);\r\n };\r\n Object.defineProperty(HubConnection.prototype, \"state\", {\r\n /** Indicates the state of the {@link HubConnection} to the server. */\r\n get: function () {\r\n return this.connectionState;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(HubConnection.prototype, \"connectionId\", {\r\n /** Represents the connection id of the {@link HubConnection} on the server. The connection id will be null when the connection is either\r\n * in the disconnected state or if the negotiation step was skipped.\r\n */\r\n get: function () {\r\n return this.connection ? (this.connection.connectionId || null) : null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(HubConnection.prototype, \"baseUrl\", {\r\n /** Indicates the url of the {@link HubConnection} to the server. */\r\n get: function () {\r\n return this.connection.baseUrl || \"\";\r\n },\r\n /**\r\n * Sets a new url for the HubConnection. Note that the url can only be changed when the connection is in either the Disconnected or\r\n * Reconnecting states.\r\n * @param {string} url The url to connect to.\r\n */\r\n set: function (url) {\r\n if (this.connectionState !== HubConnectionState.Disconnected && this.connectionState !== HubConnectionState.Reconnecting) {\r\n throw new Error(\"The HubConnection must be in the Disconnected or Reconnecting state to change the url.\");\r\n }\r\n if (!url) {\r\n throw new Error(\"The HubConnection url must be a valid url.\");\r\n }\r\n this.connection.baseUrl = url;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /** Starts the connection.\r\n *\r\n * @returns {Promise} A Promise that resolves when the connection has been successfully established, or rejects with an error.\r\n */\r\n HubConnection.prototype.start = function () {\r\n this.startPromise = this.startWithStateTransitions();\r\n return this.startPromise;\r\n };\r\n HubConnection.prototype.startWithStateTransitions = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var e_1;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n if (this.connectionState !== HubConnectionState.Disconnected) {\r\n return [2 /*return*/, Promise.reject(new Error(\"Cannot start a HubConnection that is not in the 'Disconnected' state.\"))];\r\n }\r\n this.connectionState = HubConnectionState.Connecting;\r\n this.logger.log(LogLevel.Debug, \"Starting HubConnection.\");\r\n _a.label = 1;\r\n case 1:\r\n _a.trys.push([1, 3, , 4]);\r\n return [4 /*yield*/, this.startInternal()];\r\n case 2:\r\n _a.sent();\r\n this.connectionState = HubConnectionState.Connected;\r\n this.connectionStarted = true;\r\n this.logger.log(LogLevel.Debug, \"HubConnection connected successfully.\");\r\n return [3 /*break*/, 4];\r\n case 3:\r\n e_1 = _a.sent();\r\n this.connectionState = HubConnectionState.Disconnected;\r\n this.logger.log(LogLevel.Debug, \"HubConnection failed to start successfully because of error '\" + e_1 + \"'.\");\r\n return [2 /*return*/, Promise.reject(e_1)];\r\n case 4: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n HubConnection.prototype.startInternal = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var handshakePromise, handshakeRequest, e_2;\r\n var _this = this;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n this.stopDuringStartError = undefined;\r\n this.receivedHandshakeResponse = false;\r\n handshakePromise = new Promise(function (resolve, reject) {\r\n _this.handshakeResolver = resolve;\r\n _this.handshakeRejecter = reject;\r\n });\r\n return [4 /*yield*/, this.connection.start(this.protocol.transferFormat)];\r\n case 1:\r\n _a.sent();\r\n _a.label = 2;\r\n case 2:\r\n _a.trys.push([2, 5, , 7]);\r\n handshakeRequest = {\r\n protocol: this.protocol.name,\r\n version: this.protocol.version,\r\n };\r\n this.logger.log(LogLevel.Debug, \"Sending handshake request.\");\r\n return [4 /*yield*/, this.sendMessage(this.handshakeProtocol.writeHandshakeRequest(handshakeRequest))];\r\n case 3:\r\n _a.sent();\r\n this.logger.log(LogLevel.Information, \"Using HubProtocol '\" + this.protocol.name + \"'.\");\r\n // defensively cleanup timeout in case we receive a message from the server before we finish start\r\n this.cleanupTimeout();\r\n this.resetTimeoutPeriod();\r\n this.resetKeepAliveInterval();\r\n return [4 /*yield*/, handshakePromise];\r\n case 4:\r\n _a.sent();\r\n // It's important to check the stopDuringStartError instead of just relying on the handshakePromise\r\n // being rejected on close, because this continuation can run after both the handshake completed successfully\r\n // and the connection was closed.\r\n if (this.stopDuringStartError) {\r\n // It's important to throw instead of returning a rejected promise, because we don't want to allow any state\r\n // transitions to occur between now and the calling code observing the exceptions. Returning a rejected promise\r\n // will cause the calling continuation to get scheduled to run later.\r\n throw this.stopDuringStartError;\r\n }\r\n return [3 /*break*/, 7];\r\n case 5:\r\n e_2 = _a.sent();\r\n this.logger.log(LogLevel.Debug, \"Hub handshake failed with error '\" + e_2 + \"' during start(). Stopping HubConnection.\");\r\n this.cleanupTimeout();\r\n this.cleanupPingTimer();\r\n // HttpConnection.stop() should not complete until after the onclose callback is invoked.\r\n // This will transition the HubConnection to the disconnected state before HttpConnection.stop() completes.\r\n return [4 /*yield*/, this.connection.stop(e_2)];\r\n case 6:\r\n // HttpConnection.stop() should not complete until after the onclose callback is invoked.\r\n // This will transition the HubConnection to the disconnected state before HttpConnection.stop() completes.\r\n _a.sent();\r\n throw e_2;\r\n case 7: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n /** Stops the connection.\r\n *\r\n * @returns {Promise} A Promise that resolves when the connection has been successfully terminated, or rejects with an error.\r\n */\r\n HubConnection.prototype.stop = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var startPromise, e_3;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n startPromise = this.startPromise;\r\n this.stopPromise = this.stopInternal();\r\n return [4 /*yield*/, this.stopPromise];\r\n case 1:\r\n _a.sent();\r\n _a.label = 2;\r\n case 2:\r\n _a.trys.push([2, 4, , 5]);\r\n // Awaiting undefined continues immediately\r\n return [4 /*yield*/, startPromise];\r\n case 3:\r\n // Awaiting undefined continues immediately\r\n _a.sent();\r\n return [3 /*break*/, 5];\r\n case 4:\r\n e_3 = _a.sent();\r\n return [3 /*break*/, 5];\r\n case 5: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n HubConnection.prototype.stopInternal = function (error) {\r\n if (this.connectionState === HubConnectionState.Disconnected) {\r\n this.logger.log(LogLevel.Debug, \"Call to HubConnection.stop(\" + error + \") ignored because it is already in the disconnected state.\");\r\n return Promise.resolve();\r\n }\r\n if (this.connectionState === HubConnectionState.Disconnecting) {\r\n this.logger.log(LogLevel.Debug, \"Call to HttpConnection.stop(\" + error + \") ignored because the connection is already in the disconnecting state.\");\r\n return this.stopPromise;\r\n }\r\n this.connectionState = HubConnectionState.Disconnecting;\r\n this.logger.log(LogLevel.Debug, \"Stopping HubConnection.\");\r\n if (this.reconnectDelayHandle) {\r\n // We're in a reconnect delay which means the underlying connection is currently already stopped.\r\n // Just clear the handle to stop the reconnect loop (which no one is waiting on thankfully) and\r\n // fire the onclose callbacks.\r\n this.logger.log(LogLevel.Debug, \"Connection stopped during reconnect delay. Done reconnecting.\");\r\n clearTimeout(this.reconnectDelayHandle);\r\n this.reconnectDelayHandle = undefined;\r\n this.completeClose();\r\n return Promise.resolve();\r\n }\r\n this.cleanupTimeout();\r\n this.cleanupPingTimer();\r\n this.stopDuringStartError = error || new Error(\"The connection was stopped before the hub handshake could complete.\");\r\n // HttpConnection.stop() should not complete until after either HttpConnection.start() fails\r\n // or the onclose callback is invoked. The onclose callback will transition the HubConnection\r\n // to the disconnected state if need be before HttpConnection.stop() completes.\r\n return this.connection.stop(error);\r\n };\r\n /** Invokes a streaming hub method on the server using the specified name and arguments.\r\n *\r\n * @typeparam T The type of the items returned by the server.\r\n * @param {string} methodName The name of the server method to invoke.\r\n * @param {any[]} args The arguments used to invoke the server method.\r\n * @returns {IStreamResult} An object that yields results from the server as they are received.\r\n */\r\n HubConnection.prototype.stream = function (methodName) {\r\n var _this = this;\r\n var args = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n args[_i - 1] = arguments[_i];\r\n }\r\n var _a = this.replaceStreamingParams(args), streams = _a[0], streamIds = _a[1];\r\n var invocationDescriptor = this.createStreamInvocation(methodName, args, streamIds);\r\n var promiseQueue;\r\n var subject = new Subject();\r\n subject.cancelCallback = function () {\r\n var cancelInvocation = _this.createCancelInvocation(invocationDescriptor.invocationId);\r\n delete _this.callbacks[invocationDescriptor.invocationId];\r\n return promiseQueue.then(function () {\r\n return _this.sendWithProtocol(cancelInvocation);\r\n });\r\n };\r\n this.callbacks[invocationDescriptor.invocationId] = function (invocationEvent, error) {\r\n if (error) {\r\n subject.error(error);\r\n return;\r\n }\r\n else if (invocationEvent) {\r\n // invocationEvent will not be null when an error is not passed to the callback\r\n if (invocationEvent.type === MessageType.Completion) {\r\n if (invocationEvent.error) {\r\n subject.error(new Error(invocationEvent.error));\r\n }\r\n else {\r\n subject.complete();\r\n }\r\n }\r\n else {\r\n subject.next((invocationEvent.item));\r\n }\r\n }\r\n };\r\n promiseQueue = this.sendWithProtocol(invocationDescriptor)\r\n .catch(function (e) {\r\n subject.error(e);\r\n delete _this.callbacks[invocationDescriptor.invocationId];\r\n });\r\n this.launchStreams(streams, promiseQueue);\r\n return subject;\r\n };\r\n HubConnection.prototype.sendMessage = function (message) {\r\n this.resetKeepAliveInterval();\r\n return this.connection.send(message);\r\n };\r\n /**\r\n * Sends a js object to the server.\r\n * @param message The js object to serialize and send.\r\n */\r\n HubConnection.prototype.sendWithProtocol = function (message) {\r\n return this.sendMessage(this.protocol.writeMessage(message));\r\n };\r\n /** Invokes a hub method on the server using the specified name and arguments. Does not wait for a response from the receiver.\r\n *\r\n * The Promise returned by this method resolves when the client has sent the invocation to the server. The server may still\r\n * be processing the invocation.\r\n *\r\n * @param {string} methodName The name of the server method to invoke.\r\n * @param {any[]} args The arguments used to invoke the server method.\r\n * @returns {Promise} A Promise that resolves when the invocation has been successfully sent, or rejects with an error.\r\n */\r\n HubConnection.prototype.send = function (methodName) {\r\n var args = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n args[_i - 1] = arguments[_i];\r\n }\r\n var _a = this.replaceStreamingParams(args), streams = _a[0], streamIds = _a[1];\r\n var sendPromise = this.sendWithProtocol(this.createInvocation(methodName, args, true, streamIds));\r\n this.launchStreams(streams, sendPromise);\r\n return sendPromise;\r\n };\r\n /** Invokes a hub method on the server using the specified name and arguments.\r\n *\r\n * The Promise returned by this method resolves when the server indicates it has finished invoking the method. When the promise\r\n * resolves, the server has finished invoking the method. If the server method returns a result, it is produced as the result of\r\n * resolving the Promise.\r\n *\r\n * @typeparam T The expected return type.\r\n * @param {string} methodName The name of the server method to invoke.\r\n * @param {any[]} args The arguments used to invoke the server method.\r\n * @returns {Promise} A Promise that resolves with the result of the server method (if any), or rejects with an error.\r\n */\r\n HubConnection.prototype.invoke = function (methodName) {\r\n var _this = this;\r\n var args = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n args[_i - 1] = arguments[_i];\r\n }\r\n var _a = this.replaceStreamingParams(args), streams = _a[0], streamIds = _a[1];\r\n var invocationDescriptor = this.createInvocation(methodName, args, false, streamIds);\r\n var p = new Promise(function (resolve, reject) {\r\n // invocationId will always have a value for a non-blocking invocation\r\n _this.callbacks[invocationDescriptor.invocationId] = function (invocationEvent, error) {\r\n if (error) {\r\n reject(error);\r\n return;\r\n }\r\n else if (invocationEvent) {\r\n // invocationEvent will not be null when an error is not passed to the callback\r\n if (invocationEvent.type === MessageType.Completion) {\r\n if (invocationEvent.error) {\r\n reject(new Error(invocationEvent.error));\r\n }\r\n else {\r\n resolve(invocationEvent.result);\r\n }\r\n }\r\n else {\r\n reject(new Error(\"Unexpected message type: \" + invocationEvent.type));\r\n }\r\n }\r\n };\r\n var promiseQueue = _this.sendWithProtocol(invocationDescriptor)\r\n .catch(function (e) {\r\n reject(e);\r\n // invocationId will always have a value for a non-blocking invocation\r\n delete _this.callbacks[invocationDescriptor.invocationId];\r\n });\r\n _this.launchStreams(streams, promiseQueue);\r\n });\r\n return p;\r\n };\r\n /** Registers a handler that will be invoked when the hub method with the specified method name is invoked.\r\n *\r\n * @param {string} methodName The name of the hub method to define.\r\n * @param {Function} newMethod The handler that will be raised when the hub method is invoked.\r\n */\r\n HubConnection.prototype.on = function (methodName, newMethod) {\r\n if (!methodName || !newMethod) {\r\n return;\r\n }\r\n methodName = methodName.toLowerCase();\r\n if (!this.methods[methodName]) {\r\n this.methods[methodName] = [];\r\n }\r\n // Preventing adding the same handler multiple times.\r\n if (this.methods[methodName].indexOf(newMethod) !== -1) {\r\n return;\r\n }\r\n this.methods[methodName].push(newMethod);\r\n };\r\n HubConnection.prototype.off = function (methodName, method) {\r\n if (!methodName) {\r\n return;\r\n }\r\n methodName = methodName.toLowerCase();\r\n var handlers = this.methods[methodName];\r\n if (!handlers) {\r\n return;\r\n }\r\n if (method) {\r\n var removeIdx = handlers.indexOf(method);\r\n if (removeIdx !== -1) {\r\n handlers.splice(removeIdx, 1);\r\n if (handlers.length === 0) {\r\n delete this.methods[methodName];\r\n }\r\n }\r\n }\r\n else {\r\n delete this.methods[methodName];\r\n }\r\n };\r\n /** Registers a handler that will be invoked when the connection is closed.\r\n *\r\n * @param {Function} callback The handler that will be invoked when the connection is closed. Optionally receives a single argument containing the error that caused the connection to close (if any).\r\n */\r\n HubConnection.prototype.onclose = function (callback) {\r\n if (callback) {\r\n this.closedCallbacks.push(callback);\r\n }\r\n };\r\n /** Registers a handler that will be invoked when the connection starts reconnecting.\r\n *\r\n * @param {Function} callback The handler that will be invoked when the connection starts reconnecting. Optionally receives a single argument containing the error that caused the connection to start reconnecting (if any).\r\n */\r\n HubConnection.prototype.onreconnecting = function (callback) {\r\n if (callback) {\r\n this.reconnectingCallbacks.push(callback);\r\n }\r\n };\r\n /** Registers a handler that will be invoked when the connection successfully reconnects.\r\n *\r\n * @param {Function} callback The handler that will be invoked when the connection successfully reconnects.\r\n */\r\n HubConnection.prototype.onreconnected = function (callback) {\r\n if (callback) {\r\n this.reconnectedCallbacks.push(callback);\r\n }\r\n };\r\n HubConnection.prototype.processIncomingData = function (data) {\r\n this.cleanupTimeout();\r\n if (!this.receivedHandshakeResponse) {\r\n data = this.processHandshakeResponse(data);\r\n this.receivedHandshakeResponse = true;\r\n }\r\n // Data may have all been read when processing handshake response\r\n if (data) {\r\n // Parse the messages\r\n var messages = this.protocol.parseMessages(data, this.logger);\r\n for (var _i = 0, messages_1 = messages; _i < messages_1.length; _i++) {\r\n var message = messages_1[_i];\r\n switch (message.type) {\r\n case MessageType.Invocation:\r\n this.invokeClientMethod(message);\r\n break;\r\n case MessageType.StreamItem:\r\n case MessageType.Completion:\r\n var callback = this.callbacks[message.invocationId];\r\n if (callback) {\r\n if (message.type === MessageType.Completion) {\r\n delete this.callbacks[message.invocationId];\r\n }\r\n callback(message);\r\n }\r\n break;\r\n case MessageType.Ping:\r\n // Don't care about pings\r\n break;\r\n case MessageType.Close:\r\n this.logger.log(LogLevel.Information, \"Close message received from server.\");\r\n var error = message.error ? new Error(\"Server returned an error on close: \" + message.error) : undefined;\r\n if (message.allowReconnect === true) {\r\n // It feels wrong not to await connection.stop() here, but processIncomingData is called as part of an onreceive callback which is not async,\r\n // this is already the behavior for serverTimeout(), and HttpConnection.Stop() should catch and log all possible exceptions.\r\n // tslint:disable-next-line:no-floating-promises\r\n this.connection.stop(error);\r\n }\r\n else {\r\n // We cannot await stopInternal() here, but subsequent calls to stop() will await this if stopInternal() is still ongoing.\r\n this.stopPromise = this.stopInternal(error);\r\n }\r\n break;\r\n default:\r\n this.logger.log(LogLevel.Warning, \"Invalid message type: \" + message.type + \".\");\r\n break;\r\n }\r\n }\r\n }\r\n this.resetTimeoutPeriod();\r\n };\r\n HubConnection.prototype.processHandshakeResponse = function (data) {\r\n var _a;\r\n var responseMessage;\r\n var remainingData;\r\n try {\r\n _a = this.handshakeProtocol.parseHandshakeResponse(data), remainingData = _a[0], responseMessage = _a[1];\r\n }\r\n catch (e) {\r\n var message = \"Error parsing handshake response: \" + e;\r\n this.logger.log(LogLevel.Error, message);\r\n var error = new Error(message);\r\n this.handshakeRejecter(error);\r\n throw error;\r\n }\r\n if (responseMessage.error) {\r\n var message = \"Server returned handshake error: \" + responseMessage.error;\r\n this.logger.log(LogLevel.Error, message);\r\n var error = new Error(message);\r\n this.handshakeRejecter(error);\r\n throw error;\r\n }\r\n else {\r\n this.logger.log(LogLevel.Debug, \"Server handshake complete.\");\r\n }\r\n this.handshakeResolver();\r\n return remainingData;\r\n };\r\n HubConnection.prototype.resetKeepAliveInterval = function () {\r\n var _this = this;\r\n if (this.connection.features.inherentKeepAlive) {\r\n return;\r\n }\r\n this.cleanupPingTimer();\r\n this.pingServerHandle = setTimeout(function () { return __awaiter(_this, void 0, void 0, function () {\r\n var _a;\r\n return __generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n if (!(this.connectionState === HubConnectionState.Connected)) return [3 /*break*/, 4];\r\n _b.label = 1;\r\n case 1:\r\n _b.trys.push([1, 3, , 4]);\r\n return [4 /*yield*/, this.sendMessage(this.cachedPingMessage)];\r\n case 2:\r\n _b.sent();\r\n return [3 /*break*/, 4];\r\n case 3:\r\n _a = _b.sent();\r\n // We don't care about the error. It should be seen elsewhere in the client.\r\n // The connection is probably in a bad or closed state now, cleanup the timer so it stops triggering\r\n this.cleanupPingTimer();\r\n return [3 /*break*/, 4];\r\n case 4: return [2 /*return*/];\r\n }\r\n });\r\n }); }, this.keepAliveIntervalInMilliseconds);\r\n };\r\n HubConnection.prototype.resetTimeoutPeriod = function () {\r\n var _this = this;\r\n if (!this.connection.features || !this.connection.features.inherentKeepAlive) {\r\n // Set the timeout timer\r\n this.timeoutHandle = setTimeout(function () { return _this.serverTimeout(); }, this.serverTimeoutInMilliseconds);\r\n }\r\n };\r\n HubConnection.prototype.serverTimeout = function () {\r\n // The server hasn't talked to us in a while. It doesn't like us anymore ... :(\r\n // Terminate the connection, but we don't need to wait on the promise. This could trigger reconnecting.\r\n // tslint:disable-next-line:no-floating-promises\r\n this.connection.stop(new Error(\"Server timeout elapsed without receiving a message from the server.\"));\r\n };\r\n HubConnection.prototype.invokeClientMethod = function (invocationMessage) {\r\n var _this = this;\r\n var methods = this.methods[invocationMessage.target.toLowerCase()];\r\n if (methods) {\r\n try {\r\n methods.forEach(function (m) { return m.apply(_this, invocationMessage.arguments); });\r\n }\r\n catch (e) {\r\n this.logger.log(LogLevel.Error, \"A callback for the method \" + invocationMessage.target.toLowerCase() + \" threw error '\" + e + \"'.\");\r\n }\r\n if (invocationMessage.invocationId) {\r\n // This is not supported in v1. So we return an error to avoid blocking the server waiting for the response.\r\n var message = \"Server requested a response, which is not supported in this version of the client.\";\r\n this.logger.log(LogLevel.Error, message);\r\n // We don't want to wait on the stop itself.\r\n this.stopPromise = this.stopInternal(new Error(message));\r\n }\r\n }\r\n else {\r\n this.logger.log(LogLevel.Warning, \"No client method with the name '\" + invocationMessage.target + \"' found.\");\r\n }\r\n };\r\n HubConnection.prototype.connectionClosed = function (error) {\r\n this.logger.log(LogLevel.Debug, \"HubConnection.connectionClosed(\" + error + \") called while in state \" + this.connectionState + \".\");\r\n // Triggering this.handshakeRejecter is insufficient because it could already be resolved without the continuation having run yet.\r\n this.stopDuringStartError = this.stopDuringStartError || error || new Error(\"The underlying connection was closed before the hub handshake could complete.\");\r\n // If the handshake is in progress, start will be waiting for the handshake promise, so we complete it.\r\n // If it has already completed, this should just noop.\r\n if (this.handshakeResolver) {\r\n this.handshakeResolver();\r\n }\r\n this.cancelCallbacksWithError(error || new Error(\"Invocation canceled due to the underlying connection being closed.\"));\r\n this.cleanupTimeout();\r\n this.cleanupPingTimer();\r\n if (this.connectionState === HubConnectionState.Disconnecting) {\r\n this.completeClose(error);\r\n }\r\n else if (this.connectionState === HubConnectionState.Connected && this.reconnectPolicy) {\r\n // tslint:disable-next-line:no-floating-promises\r\n this.reconnect(error);\r\n }\r\n else if (this.connectionState === HubConnectionState.Connected) {\r\n this.completeClose(error);\r\n }\r\n // If none of the above if conditions were true were called the HubConnection must be in either:\r\n // 1. The Connecting state in which case the handshakeResolver will complete it and stopDuringStartError will fail it.\r\n // 2. The Reconnecting state in which case the handshakeResolver will complete it and stopDuringStartError will fail the current reconnect attempt\r\n // and potentially continue the reconnect() loop.\r\n // 3. The Disconnected state in which case we're already done.\r\n };\r\n HubConnection.prototype.completeClose = function (error) {\r\n var _this = this;\r\n if (this.connectionStarted) {\r\n this.connectionState = HubConnectionState.Disconnected;\r\n this.connectionStarted = false;\r\n try {\r\n this.closedCallbacks.forEach(function (c) { return c.apply(_this, [error]); });\r\n }\r\n catch (e) {\r\n this.logger.log(LogLevel.Error, \"An onclose callback called with error '\" + error + \"' threw error '\" + e + \"'.\");\r\n }\r\n }\r\n };\r\n HubConnection.prototype.reconnect = function (error) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var reconnectStartTime, previousReconnectAttempts, retryError, nextRetryDelay, e_4;\r\n var _this = this;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n reconnectStartTime = Date.now();\r\n previousReconnectAttempts = 0;\r\n retryError = error !== undefined ? error : new Error(\"Attempting to reconnect due to a unknown error.\");\r\n nextRetryDelay = this.getNextRetryDelay(previousReconnectAttempts++, 0, retryError);\r\n if (nextRetryDelay === null) {\r\n this.logger.log(LogLevel.Debug, \"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt.\");\r\n this.completeClose(error);\r\n return [2 /*return*/];\r\n }\r\n this.connectionState = HubConnectionState.Reconnecting;\r\n if (error) {\r\n this.logger.log(LogLevel.Information, \"Connection reconnecting because of error '\" + error + \"'.\");\r\n }\r\n else {\r\n this.logger.log(LogLevel.Information, \"Connection reconnecting.\");\r\n }\r\n if (this.onreconnecting) {\r\n try {\r\n this.reconnectingCallbacks.forEach(function (c) { return c.apply(_this, [error]); });\r\n }\r\n catch (e) {\r\n this.logger.log(LogLevel.Error, \"An onreconnecting callback called with error '\" + error + \"' threw error '\" + e + \"'.\");\r\n }\r\n // Exit early if an onreconnecting callback called connection.stop().\r\n if (this.connectionState !== HubConnectionState.Reconnecting) {\r\n this.logger.log(LogLevel.Debug, \"Connection left the reconnecting state in onreconnecting callback. Done reconnecting.\");\r\n return [2 /*return*/];\r\n }\r\n }\r\n _a.label = 1;\r\n case 1:\r\n if (!(nextRetryDelay !== null)) return [3 /*break*/, 7];\r\n this.logger.log(LogLevel.Information, \"Reconnect attempt number \" + previousReconnectAttempts + \" will start in \" + nextRetryDelay + \" ms.\");\r\n return [4 /*yield*/, new Promise(function (resolve) {\r\n _this.reconnectDelayHandle = setTimeout(resolve, nextRetryDelay);\r\n })];\r\n case 2:\r\n _a.sent();\r\n this.reconnectDelayHandle = undefined;\r\n if (this.connectionState !== HubConnectionState.Reconnecting) {\r\n this.logger.log(LogLevel.Debug, \"Connection left the reconnecting state during reconnect delay. Done reconnecting.\");\r\n return [2 /*return*/];\r\n }\r\n _a.label = 3;\r\n case 3:\r\n _a.trys.push([3, 5, , 6]);\r\n return [4 /*yield*/, this.startInternal()];\r\n case 4:\r\n _a.sent();\r\n this.connectionState = HubConnectionState.Connected;\r\n this.logger.log(LogLevel.Information, \"HubConnection reconnected successfully.\");\r\n if (this.onreconnected) {\r\n try {\r\n this.reconnectedCallbacks.forEach(function (c) { return c.apply(_this, [_this.connection.connectionId]); });\r\n }\r\n catch (e) {\r\n this.logger.log(LogLevel.Error, \"An onreconnected callback called with connectionId '\" + this.connection.connectionId + \"; threw error '\" + e + \"'.\");\r\n }\r\n }\r\n return [2 /*return*/];\r\n case 5:\r\n e_4 = _a.sent();\r\n this.logger.log(LogLevel.Information, \"Reconnect attempt failed because of error '\" + e_4 + \"'.\");\r\n if (this.connectionState !== HubConnectionState.Reconnecting) {\r\n this.logger.log(LogLevel.Debug, \"Connection left the reconnecting state during reconnect attempt. Done reconnecting.\");\r\n return [2 /*return*/];\r\n }\r\n retryError = e_4 instanceof Error ? e_4 : new Error(e_4.toString());\r\n nextRetryDelay = this.getNextRetryDelay(previousReconnectAttempts++, Date.now() - reconnectStartTime, retryError);\r\n return [3 /*break*/, 6];\r\n case 6: return [3 /*break*/, 1];\r\n case 7:\r\n this.logger.log(LogLevel.Information, \"Reconnect retries have been exhausted after \" + (Date.now() - reconnectStartTime) + \" ms and \" + previousReconnectAttempts + \" failed attempts. Connection disconnecting.\");\r\n this.completeClose();\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n HubConnection.prototype.getNextRetryDelay = function (previousRetryCount, elapsedMilliseconds, retryReason) {\r\n try {\r\n return this.reconnectPolicy.nextRetryDelayInMilliseconds({\r\n elapsedMilliseconds: elapsedMilliseconds,\r\n previousRetryCount: previousRetryCount,\r\n retryReason: retryReason,\r\n });\r\n }\r\n catch (e) {\r\n this.logger.log(LogLevel.Error, \"IRetryPolicy.nextRetryDelayInMilliseconds(\" + previousRetryCount + \", \" + elapsedMilliseconds + \") threw error '\" + e + \"'.\");\r\n return null;\r\n }\r\n };\r\n HubConnection.prototype.cancelCallbacksWithError = function (error) {\r\n var callbacks = this.callbacks;\r\n this.callbacks = {};\r\n Object.keys(callbacks)\r\n .forEach(function (key) {\r\n var callback = callbacks[key];\r\n callback(null, error);\r\n });\r\n };\r\n HubConnection.prototype.cleanupPingTimer = function () {\r\n if (this.pingServerHandle) {\r\n clearTimeout(this.pingServerHandle);\r\n }\r\n };\r\n HubConnection.prototype.cleanupTimeout = function () {\r\n if (this.timeoutHandle) {\r\n clearTimeout(this.timeoutHandle);\r\n }\r\n };\r\n HubConnection.prototype.createInvocation = function (methodName, args, nonblocking, streamIds) {\r\n if (nonblocking) {\r\n if (streamIds.length !== 0) {\r\n return {\r\n arguments: args,\r\n streamIds: streamIds,\r\n target: methodName,\r\n type: MessageType.Invocation,\r\n };\r\n }\r\n else {\r\n return {\r\n arguments: args,\r\n target: methodName,\r\n type: MessageType.Invocation,\r\n };\r\n }\r\n }\r\n else {\r\n var invocationId = this.invocationId;\r\n this.invocationId++;\r\n if (streamIds.length !== 0) {\r\n return {\r\n arguments: args,\r\n invocationId: invocationId.toString(),\r\n streamIds: streamIds,\r\n target: methodName,\r\n type: MessageType.Invocation,\r\n };\r\n }\r\n else {\r\n return {\r\n arguments: args,\r\n invocationId: invocationId.toString(),\r\n target: methodName,\r\n type: MessageType.Invocation,\r\n };\r\n }\r\n }\r\n };\r\n HubConnection.prototype.launchStreams = function (streams, promiseQueue) {\r\n var _this = this;\r\n if (streams.length === 0) {\r\n return;\r\n }\r\n // Synchronize stream data so they arrive in-order on the server\r\n if (!promiseQueue) {\r\n promiseQueue = Promise.resolve();\r\n }\r\n var _loop_1 = function (streamId) {\r\n streams[streamId].subscribe({\r\n complete: function () {\r\n promiseQueue = promiseQueue.then(function () { return _this.sendWithProtocol(_this.createCompletionMessage(streamId)); });\r\n },\r\n error: function (err) {\r\n var message;\r\n if (err instanceof Error) {\r\n message = err.message;\r\n }\r\n else if (err && err.toString) {\r\n message = err.toString();\r\n }\r\n else {\r\n message = \"Unknown error\";\r\n }\r\n promiseQueue = promiseQueue.then(function () { return _this.sendWithProtocol(_this.createCompletionMessage(streamId, message)); });\r\n },\r\n next: function (item) {\r\n promiseQueue = promiseQueue.then(function () { return _this.sendWithProtocol(_this.createStreamItemMessage(streamId, item)); });\r\n },\r\n });\r\n };\r\n // We want to iterate over the keys, since the keys are the stream ids\r\n // tslint:disable-next-line:forin\r\n for (var streamId in streams) {\r\n _loop_1(streamId);\r\n }\r\n };\r\n HubConnection.prototype.replaceStreamingParams = function (args) {\r\n var streams = [];\r\n var streamIds = [];\r\n for (var i = 0; i < args.length; i++) {\r\n var argument = args[i];\r\n if (this.isObservable(argument)) {\r\n var streamId = this.invocationId;\r\n this.invocationId++;\r\n // Store the stream for later use\r\n streams[streamId] = argument;\r\n streamIds.push(streamId.toString());\r\n // remove stream from args\r\n args.splice(i, 1);\r\n }\r\n }\r\n return [streams, streamIds];\r\n };\r\n HubConnection.prototype.isObservable = function (arg) {\r\n // This allows other stream implementations to just work (like rxjs)\r\n return arg && arg.subscribe && typeof arg.subscribe === \"function\";\r\n };\r\n HubConnection.prototype.createStreamInvocation = function (methodName, args, streamIds) {\r\n var invocationId = this.invocationId;\r\n this.invocationId++;\r\n if (streamIds.length !== 0) {\r\n return {\r\n arguments: args,\r\n invocationId: invocationId.toString(),\r\n streamIds: streamIds,\r\n target: methodName,\r\n type: MessageType.StreamInvocation,\r\n };\r\n }\r\n else {\r\n return {\r\n arguments: args,\r\n invocationId: invocationId.toString(),\r\n target: methodName,\r\n type: MessageType.StreamInvocation,\r\n };\r\n }\r\n };\r\n HubConnection.prototype.createCancelInvocation = function (id) {\r\n return {\r\n invocationId: id,\r\n type: MessageType.CancelInvocation,\r\n };\r\n };\r\n HubConnection.prototype.createStreamItemMessage = function (id, item) {\r\n return {\r\n invocationId: id,\r\n item: item,\r\n type: MessageType.StreamItem,\r\n };\r\n };\r\n HubConnection.prototype.createCompletionMessage = function (id, error, result) {\r\n if (error) {\r\n return {\r\n error: error,\r\n invocationId: id,\r\n type: MessageType.Completion,\r\n };\r\n }\r\n return {\r\n invocationId: id,\r\n result: result,\r\n type: MessageType.Completion,\r\n };\r\n };\r\n return HubConnection;\r\n}());\r\nexport { HubConnection };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\n// 0, 2, 10, 30 second delays before reconnect attempts.\r\nvar DEFAULT_RETRY_DELAYS_IN_MILLISECONDS = [0, 2000, 10000, 30000, null];\r\n/** @private */\r\nvar DefaultReconnectPolicy = /** @class */ (function () {\r\n function DefaultReconnectPolicy(retryDelays) {\r\n this.retryDelays = retryDelays !== undefined ? retryDelays.concat([null]) : DEFAULT_RETRY_DELAYS_IN_MILLISECONDS;\r\n }\r\n DefaultReconnectPolicy.prototype.nextRetryDelayInMilliseconds = function (retryContext) {\r\n return this.retryDelays[retryContext.previousRetryCount];\r\n };\r\n return DefaultReconnectPolicy;\r\n}());\r\nexport { DefaultReconnectPolicy };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\n// This will be treated as a bit flag in the future, so we keep it using power-of-two values.\r\n/** Specifies a specific HTTP transport type. */\r\nexport var HttpTransportType;\r\n(function (HttpTransportType) {\r\n /** Specifies no transport preference. */\r\n HttpTransportType[HttpTransportType[\"None\"] = 0] = \"None\";\r\n /** Specifies the WebSockets transport. */\r\n HttpTransportType[HttpTransportType[\"WebSockets\"] = 1] = \"WebSockets\";\r\n /** Specifies the Server-Sent Events transport. */\r\n HttpTransportType[HttpTransportType[\"ServerSentEvents\"] = 2] = \"ServerSentEvents\";\r\n /** Specifies the Long Polling transport. */\r\n HttpTransportType[HttpTransportType[\"LongPolling\"] = 4] = \"LongPolling\";\r\n})(HttpTransportType || (HttpTransportType = {}));\r\n/** Specifies the transfer format for a connection. */\r\nexport var TransferFormat;\r\n(function (TransferFormat) {\r\n /** Specifies that only text data will be transmitted over the connection. */\r\n TransferFormat[TransferFormat[\"Text\"] = 1] = \"Text\";\r\n /** Specifies that binary data will be transmitted over the connection. */\r\n TransferFormat[TransferFormat[\"Binary\"] = 2] = \"Binary\";\r\n})(TransferFormat || (TransferFormat = {}));\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\n// Rough polyfill of https://developer.mozilla.org/en-US/docs/Web/API/AbortController\r\n// We don't actually ever use the API being polyfilled, we always use the polyfill because\r\n// it's a very new API right now.\r\n// Not exported from index.\r\n/** @private */\r\nvar AbortController = /** @class */ (function () {\r\n function AbortController() {\r\n this.isAborted = false;\r\n this.onabort = null;\r\n }\r\n AbortController.prototype.abort = function () {\r\n if (!this.isAborted) {\r\n this.isAborted = true;\r\n if (this.onabort) {\r\n this.onabort();\r\n }\r\n }\r\n };\r\n Object.defineProperty(AbortController.prototype, \"signal\", {\r\n get: function () {\r\n return this;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbortController.prototype, \"aborted\", {\r\n get: function () {\r\n return this.isAborted;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return AbortController;\r\n}());\r\nexport { AbortController };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport { AbortController } from \"./AbortController\";\r\nimport { HttpError, TimeoutError } from \"./Errors\";\r\nimport { LogLevel } from \"./ILogger\";\r\nimport { TransferFormat } from \"./ITransport\";\r\nimport { Arg, getDataDetail, getUserAgentHeader, sendMessage } from \"./Utils\";\r\n// Not exported from 'index', this type is internal.\r\n/** @private */\r\nvar LongPollingTransport = /** @class */ (function () {\r\n function LongPollingTransport(httpClient, accessTokenFactory, logger, logMessageContent, withCredentials, headers) {\r\n this.httpClient = httpClient;\r\n this.accessTokenFactory = accessTokenFactory;\r\n this.logger = logger;\r\n this.pollAbort = new AbortController();\r\n this.logMessageContent = logMessageContent;\r\n this.withCredentials = withCredentials;\r\n this.headers = headers;\r\n this.running = false;\r\n this.onreceive = null;\r\n this.onclose = null;\r\n }\r\n Object.defineProperty(LongPollingTransport.prototype, \"pollAborted\", {\r\n // This is an internal type, not exported from 'index' so this is really just internal.\r\n get: function () {\r\n return this.pollAbort.aborted;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n LongPollingTransport.prototype.connect = function (url, transferFormat) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var _a, _b, name, value, headers, pollOptions, token, pollUrl, response;\r\n return __generator(this, function (_c) {\r\n switch (_c.label) {\r\n case 0:\r\n Arg.isRequired(url, \"url\");\r\n Arg.isRequired(transferFormat, \"transferFormat\");\r\n Arg.isIn(transferFormat, TransferFormat, \"transferFormat\");\r\n this.url = url;\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) Connecting.\");\r\n // Allow binary format on Node and Browsers that support binary content (indicated by the presence of responseType property)\r\n if (transferFormat === TransferFormat.Binary &&\r\n (typeof XMLHttpRequest !== \"undefined\" && typeof new XMLHttpRequest().responseType !== \"string\")) {\r\n throw new Error(\"Binary protocols over XmlHttpRequest not implementing advanced features are not supported.\");\r\n }\r\n _b = getUserAgentHeader(), name = _b[0], value = _b[1];\r\n headers = __assign((_a = {}, _a[name] = value, _a), this.headers);\r\n pollOptions = {\r\n abortSignal: this.pollAbort.signal,\r\n headers: headers,\r\n timeout: 100000,\r\n withCredentials: this.withCredentials,\r\n };\r\n if (transferFormat === TransferFormat.Binary) {\r\n pollOptions.responseType = \"arraybuffer\";\r\n }\r\n return [4 /*yield*/, this.getAccessToken()];\r\n case 1:\r\n token = _c.sent();\r\n this.updateHeaderToken(pollOptions, token);\r\n pollUrl = url + \"&_=\" + Date.now();\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) polling: \" + pollUrl + \".\");\r\n return [4 /*yield*/, this.httpClient.get(pollUrl, pollOptions)];\r\n case 2:\r\n response = _c.sent();\r\n if (response.statusCode !== 200) {\r\n this.logger.log(LogLevel.Error, \"(LongPolling transport) Unexpected response code: \" + response.statusCode + \".\");\r\n // Mark running as false so that the poll immediately ends and runs the close logic\r\n this.closeError = new HttpError(response.statusText || \"\", response.statusCode);\r\n this.running = false;\r\n }\r\n else {\r\n this.running = true;\r\n }\r\n this.receiving = this.poll(this.url, pollOptions);\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n LongPollingTransport.prototype.getAccessToken = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n if (!this.accessTokenFactory) return [3 /*break*/, 2];\r\n return [4 /*yield*/, this.accessTokenFactory()];\r\n case 1: return [2 /*return*/, _a.sent()];\r\n case 2: return [2 /*return*/, null];\r\n }\r\n });\r\n });\r\n };\r\n LongPollingTransport.prototype.updateHeaderToken = function (request, token) {\r\n if (!request.headers) {\r\n request.headers = {};\r\n }\r\n if (token) {\r\n // tslint:disable-next-line:no-string-literal\r\n request.headers[\"Authorization\"] = \"Bearer \" + token;\r\n return;\r\n }\r\n // tslint:disable-next-line:no-string-literal\r\n if (request.headers[\"Authorization\"]) {\r\n // tslint:disable-next-line:no-string-literal\r\n delete request.headers[\"Authorization\"];\r\n }\r\n };\r\n LongPollingTransport.prototype.poll = function (url, pollOptions) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var token, pollUrl, response, e_1;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n _a.trys.push([0, , 8, 9]);\r\n _a.label = 1;\r\n case 1:\r\n if (!this.running) return [3 /*break*/, 7];\r\n return [4 /*yield*/, this.getAccessToken()];\r\n case 2:\r\n token = _a.sent();\r\n this.updateHeaderToken(pollOptions, token);\r\n _a.label = 3;\r\n case 3:\r\n _a.trys.push([3, 5, , 6]);\r\n pollUrl = url + \"&_=\" + Date.now();\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) polling: \" + pollUrl + \".\");\r\n return [4 /*yield*/, this.httpClient.get(pollUrl, pollOptions)];\r\n case 4:\r\n response = _a.sent();\r\n if (response.statusCode === 204) {\r\n this.logger.log(LogLevel.Information, \"(LongPolling transport) Poll terminated by server.\");\r\n this.running = false;\r\n }\r\n else if (response.statusCode !== 200) {\r\n this.logger.log(LogLevel.Error, \"(LongPolling transport) Unexpected response code: \" + response.statusCode + \".\");\r\n // Unexpected status code\r\n this.closeError = new HttpError(response.statusText || \"\", response.statusCode);\r\n this.running = false;\r\n }\r\n else {\r\n // Process the response\r\n if (response.content) {\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) data received. \" + getDataDetail(response.content, this.logMessageContent) + \".\");\r\n if (this.onreceive) {\r\n this.onreceive(response.content);\r\n }\r\n }\r\n else {\r\n // This is another way timeout manifest.\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) Poll timed out, reissuing.\");\r\n }\r\n }\r\n return [3 /*break*/, 6];\r\n case 5:\r\n e_1 = _a.sent();\r\n if (!this.running) {\r\n // Log but disregard errors that occur after stopping\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) Poll errored after shutdown: \" + e_1.message);\r\n }\r\n else {\r\n if (e_1 instanceof TimeoutError) {\r\n // Ignore timeouts and reissue the poll.\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) Poll timed out, reissuing.\");\r\n }\r\n else {\r\n // Close the connection with the error as the result.\r\n this.closeError = e_1;\r\n this.running = false;\r\n }\r\n }\r\n return [3 /*break*/, 6];\r\n case 6: return [3 /*break*/, 1];\r\n case 7: return [3 /*break*/, 9];\r\n case 8:\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) Polling complete.\");\r\n // We will reach here with pollAborted==false when the server returned a response causing the transport to stop.\r\n // If pollAborted==true then client initiated the stop and the stop method will raise the close event after DELETE is sent.\r\n if (!this.pollAborted) {\r\n this.raiseOnClose();\r\n }\r\n return [7 /*endfinally*/];\r\n case 9: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n LongPollingTransport.prototype.send = function (data) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n return __generator(this, function (_a) {\r\n if (!this.running) {\r\n return [2 /*return*/, Promise.reject(new Error(\"Cannot send until the transport is connected\"))];\r\n }\r\n return [2 /*return*/, sendMessage(this.logger, \"LongPolling\", this.httpClient, this.url, this.accessTokenFactory, data, this.logMessageContent, this.withCredentials, this.headers)];\r\n });\r\n });\r\n };\r\n LongPollingTransport.prototype.stop = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var headers, _a, name_1, value, deleteOptions, token;\r\n return __generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) Stopping polling.\");\r\n // Tell receiving loop to stop, abort any current request, and then wait for it to finish\r\n this.running = false;\r\n this.pollAbort.abort();\r\n _b.label = 1;\r\n case 1:\r\n _b.trys.push([1, , 5, 6]);\r\n return [4 /*yield*/, this.receiving];\r\n case 2:\r\n _b.sent();\r\n // Send DELETE to clean up long polling on the server\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) sending DELETE request to \" + this.url + \".\");\r\n headers = {};\r\n _a = getUserAgentHeader(), name_1 = _a[0], value = _a[1];\r\n headers[name_1] = value;\r\n deleteOptions = {\r\n headers: __assign({}, headers, this.headers),\r\n withCredentials: this.withCredentials,\r\n };\r\n return [4 /*yield*/, this.getAccessToken()];\r\n case 3:\r\n token = _b.sent();\r\n this.updateHeaderToken(deleteOptions, token);\r\n return [4 /*yield*/, this.httpClient.delete(this.url, deleteOptions)];\r\n case 4:\r\n _b.sent();\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) DELETE request sent.\");\r\n return [3 /*break*/, 6];\r\n case 5:\r\n this.logger.log(LogLevel.Trace, \"(LongPolling transport) Stop finished.\");\r\n // Raise close event here instead of in polling\r\n // It needs to happen after the DELETE request is sent\r\n this.raiseOnClose();\r\n return [7 /*endfinally*/];\r\n case 6: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n LongPollingTransport.prototype.raiseOnClose = function () {\r\n if (this.onclose) {\r\n var logMessage = \"(LongPolling transport) Firing onclose event.\";\r\n if (this.closeError) {\r\n logMessage += \" Error: \" + this.closeError;\r\n }\r\n this.logger.log(LogLevel.Trace, logMessage);\r\n this.onclose(this.closeError);\r\n }\r\n };\r\n return LongPollingTransport;\r\n}());\r\nexport { LongPollingTransport };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport { LogLevel } from \"./ILogger\";\r\nimport { TransferFormat } from \"./ITransport\";\r\nimport { Arg, getDataDetail, getUserAgentHeader, Platform, sendMessage } from \"./Utils\";\r\n/** @private */\r\nvar ServerSentEventsTransport = /** @class */ (function () {\r\n function ServerSentEventsTransport(httpClient, accessTokenFactory, logger, logMessageContent, eventSourceConstructor, withCredentials, headers) {\r\n this.httpClient = httpClient;\r\n this.accessTokenFactory = accessTokenFactory;\r\n this.logger = logger;\r\n this.logMessageContent = logMessageContent;\r\n this.withCredentials = withCredentials;\r\n this.eventSourceConstructor = eventSourceConstructor;\r\n this.headers = headers;\r\n this.onreceive = null;\r\n this.onclose = null;\r\n }\r\n ServerSentEventsTransport.prototype.connect = function (url, transferFormat) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var token;\r\n var _this = this;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n Arg.isRequired(url, \"url\");\r\n Arg.isRequired(transferFormat, \"transferFormat\");\r\n Arg.isIn(transferFormat, TransferFormat, \"transferFormat\");\r\n this.logger.log(LogLevel.Trace, \"(SSE transport) Connecting.\");\r\n // set url before accessTokenFactory because this.url is only for send and we set the auth header instead of the query string for send\r\n this.url = url;\r\n if (!this.accessTokenFactory) return [3 /*break*/, 2];\r\n return [4 /*yield*/, this.accessTokenFactory()];\r\n case 1:\r\n token = _a.sent();\r\n if (token) {\r\n url += (url.indexOf(\"?\") < 0 ? \"?\" : \"&\") + (\"access_token=\" + encodeURIComponent(token));\r\n }\r\n _a.label = 2;\r\n case 2: return [2 /*return*/, new Promise(function (resolve, reject) {\r\n var opened = false;\r\n if (transferFormat !== TransferFormat.Text) {\r\n reject(new Error(\"The Server-Sent Events transport only supports the 'Text' transfer format\"));\r\n return;\r\n }\r\n var eventSource;\r\n if (Platform.isBrowser || Platform.isWebWorker) {\r\n eventSource = new _this.eventSourceConstructor(url, { withCredentials: _this.withCredentials });\r\n }\r\n else {\r\n // Non-browser passes cookies via the dictionary\r\n var cookies = _this.httpClient.getCookieString(url);\r\n var headers = {};\r\n headers.Cookie = cookies;\r\n var _a = getUserAgentHeader(), name_1 = _a[0], value = _a[1];\r\n headers[name_1] = value;\r\n eventSource = new _this.eventSourceConstructor(url, { withCredentials: _this.withCredentials, headers: __assign({}, headers, _this.headers) });\r\n }\r\n try {\r\n eventSource.onmessage = function (e) {\r\n if (_this.onreceive) {\r\n try {\r\n _this.logger.log(LogLevel.Trace, \"(SSE transport) data received. \" + getDataDetail(e.data, _this.logMessageContent) + \".\");\r\n _this.onreceive(e.data);\r\n }\r\n catch (error) {\r\n _this.close(error);\r\n return;\r\n }\r\n }\r\n };\r\n eventSource.onerror = function (e) {\r\n var error = new Error(e.data || \"Error occurred\");\r\n if (opened) {\r\n _this.close(error);\r\n }\r\n else {\r\n reject(error);\r\n }\r\n };\r\n eventSource.onopen = function () {\r\n _this.logger.log(LogLevel.Information, \"SSE connected to \" + _this.url);\r\n _this.eventSource = eventSource;\r\n opened = true;\r\n resolve();\r\n };\r\n }\r\n catch (e) {\r\n reject(e);\r\n return;\r\n }\r\n })];\r\n }\r\n });\r\n });\r\n };\r\n ServerSentEventsTransport.prototype.send = function (data) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n return __generator(this, function (_a) {\r\n if (!this.eventSource) {\r\n return [2 /*return*/, Promise.reject(new Error(\"Cannot send until the transport is connected\"))];\r\n }\r\n return [2 /*return*/, sendMessage(this.logger, \"SSE\", this.httpClient, this.url, this.accessTokenFactory, data, this.logMessageContent, this.withCredentials, this.headers)];\r\n });\r\n });\r\n };\r\n ServerSentEventsTransport.prototype.stop = function () {\r\n this.close();\r\n return Promise.resolve();\r\n };\r\n ServerSentEventsTransport.prototype.close = function (e) {\r\n if (this.eventSource) {\r\n this.eventSource.close();\r\n this.eventSource = undefined;\r\n if (this.onclose) {\r\n this.onclose(e);\r\n }\r\n }\r\n };\r\n return ServerSentEventsTransport;\r\n}());\r\nexport { ServerSentEventsTransport };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport { LogLevel } from \"./ILogger\";\r\nimport { TransferFormat } from \"./ITransport\";\r\nimport { Arg, getDataDetail, getUserAgentHeader, Platform } from \"./Utils\";\r\n/** @private */\r\nvar WebSocketTransport = /** @class */ (function () {\r\n function WebSocketTransport(httpClient, accessTokenFactory, logger, logMessageContent, webSocketConstructor, headers) {\r\n this.logger = logger;\r\n this.accessTokenFactory = accessTokenFactory;\r\n this.logMessageContent = logMessageContent;\r\n this.webSocketConstructor = webSocketConstructor;\r\n this.httpClient = httpClient;\r\n this.onreceive = null;\r\n this.onclose = null;\r\n this.headers = headers;\r\n }\r\n WebSocketTransport.prototype.connect = function (url, transferFormat) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var token;\r\n var _this = this;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n Arg.isRequired(url, \"url\");\r\n Arg.isRequired(transferFormat, \"transferFormat\");\r\n Arg.isIn(transferFormat, TransferFormat, \"transferFormat\");\r\n this.logger.log(LogLevel.Trace, \"(WebSockets transport) Connecting.\");\r\n if (!this.accessTokenFactory) return [3 /*break*/, 2];\r\n return [4 /*yield*/, this.accessTokenFactory()];\r\n case 1:\r\n token = _a.sent();\r\n if (token) {\r\n url += (url.indexOf(\"?\") < 0 ? \"?\" : \"&\") + (\"access_token=\" + encodeURIComponent(token));\r\n }\r\n _a.label = 2;\r\n case 2: return [2 /*return*/, new Promise(function (resolve, reject) {\r\n url = url.replace(/^http/, \"ws\");\r\n var webSocket;\r\n var cookies = _this.httpClient.getCookieString(url);\r\n var opened = false;\r\n if (Platform.isNode) {\r\n var headers = {};\r\n var _a = getUserAgentHeader(), name_1 = _a[0], value = _a[1];\r\n headers[name_1] = value;\r\n if (cookies) {\r\n headers[\"Cookie\"] = \"\" + cookies;\r\n }\r\n // Only pass headers when in non-browser environments\r\n webSocket = new _this.webSocketConstructor(url, undefined, {\r\n headers: __assign({}, headers, _this.headers),\r\n });\r\n }\r\n if (!webSocket) {\r\n // Chrome is not happy with passing 'undefined' as protocol\r\n webSocket = new _this.webSocketConstructor(url);\r\n }\r\n if (transferFormat === TransferFormat.Binary) {\r\n webSocket.binaryType = \"arraybuffer\";\r\n }\r\n // tslint:disable-next-line:variable-name\r\n webSocket.onopen = function (_event) {\r\n _this.logger.log(LogLevel.Information, \"WebSocket connected to \" + url + \".\");\r\n _this.webSocket = webSocket;\r\n opened = true;\r\n resolve();\r\n };\r\n webSocket.onerror = function (event) {\r\n var error = null;\r\n // ErrorEvent is a browser only type we need to check if the type exists before using it\r\n if (typeof ErrorEvent !== \"undefined\" && event instanceof ErrorEvent) {\r\n error = event.error;\r\n }\r\n else {\r\n error = new Error(\"There was an error with the transport.\");\r\n }\r\n reject(error);\r\n };\r\n webSocket.onmessage = function (message) {\r\n _this.logger.log(LogLevel.Trace, \"(WebSockets transport) data received. \" + getDataDetail(message.data, _this.logMessageContent) + \".\");\r\n if (_this.onreceive) {\r\n try {\r\n _this.onreceive(message.data);\r\n }\r\n catch (error) {\r\n _this.close(error);\r\n return;\r\n }\r\n }\r\n };\r\n webSocket.onclose = function (event) {\r\n // Don't call close handler if connection was never established\r\n // We'll reject the connect call instead\r\n if (opened) {\r\n _this.close(event);\r\n }\r\n else {\r\n var error = null;\r\n // ErrorEvent is a browser only type we need to check if the type exists before using it\r\n if (typeof ErrorEvent !== \"undefined\" && event instanceof ErrorEvent) {\r\n error = event.error;\r\n }\r\n else {\r\n error = new Error(\"There was an error with the transport.\");\r\n }\r\n reject(error);\r\n }\r\n };\r\n })];\r\n }\r\n });\r\n });\r\n };\r\n WebSocketTransport.prototype.send = function (data) {\r\n if (this.webSocket && this.webSocket.readyState === this.webSocketConstructor.OPEN) {\r\n this.logger.log(LogLevel.Trace, \"(WebSockets transport) sending data. \" + getDataDetail(data, this.logMessageContent) + \".\");\r\n this.webSocket.send(data);\r\n return Promise.resolve();\r\n }\r\n return Promise.reject(\"WebSocket is not in the OPEN state\");\r\n };\r\n WebSocketTransport.prototype.stop = function () {\r\n if (this.webSocket) {\r\n // Manually invoke onclose callback inline so we know the HttpConnection was closed properly before returning\r\n // This also solves an issue where websocket.onclose could take 18+ seconds to trigger during network disconnects\r\n this.close(undefined);\r\n }\r\n return Promise.resolve();\r\n };\r\n WebSocketTransport.prototype.close = function (event) {\r\n // webSocket will be null if the transport did not start successfully\r\n if (this.webSocket) {\r\n // Clear websocket handlers because we are considering the socket closed now\r\n this.webSocket.onclose = function () { };\r\n this.webSocket.onmessage = function () { };\r\n this.webSocket.onerror = function () { };\r\n this.webSocket.close();\r\n this.webSocket = undefined;\r\n }\r\n this.logger.log(LogLevel.Trace, \"(WebSockets transport) socket closed.\");\r\n if (this.onclose) {\r\n if (this.isCloseEvent(event) && (event.wasClean === false || event.code !== 1000)) {\r\n this.onclose(new Error(\"WebSocket closed with status code: \" + event.code + \" (\" + event.reason + \").\"));\r\n }\r\n else if (event instanceof Error) {\r\n this.onclose(event);\r\n }\r\n else {\r\n this.onclose();\r\n }\r\n }\r\n };\r\n WebSocketTransport.prototype.isCloseEvent = function (event) {\r\n return event && typeof event.wasClean === \"boolean\" && typeof event.code === \"number\";\r\n };\r\n return WebSocketTransport;\r\n}());\r\nexport { WebSocketTransport };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport { DefaultHttpClient } from \"./DefaultHttpClient\";\r\nimport { LogLevel } from \"./ILogger\";\r\nimport { HttpTransportType, TransferFormat } from \"./ITransport\";\r\nimport { LongPollingTransport } from \"./LongPollingTransport\";\r\nimport { ServerSentEventsTransport } from \"./ServerSentEventsTransport\";\r\nimport { Arg, createLogger, getUserAgentHeader, Platform } from \"./Utils\";\r\nimport { WebSocketTransport } from \"./WebSocketTransport\";\r\nvar MAX_REDIRECTS = 100;\r\n/** @private */\r\nvar HttpConnection = /** @class */ (function () {\r\n function HttpConnection(url, options) {\r\n if (options === void 0) { options = {}; }\r\n this.features = {};\r\n this.negotiateVersion = 1;\r\n Arg.isRequired(url, \"url\");\r\n this.logger = createLogger(options.logger);\r\n this.baseUrl = this.resolveUrl(url);\r\n options = options || {};\r\n options.logMessageContent = options.logMessageContent === undefined ? false : options.logMessageContent;\r\n if (typeof options.withCredentials === \"boolean\" || options.withCredentials === undefined) {\r\n options.withCredentials = options.withCredentials === undefined ? true : options.withCredentials;\r\n }\r\n else {\r\n throw new Error(\"withCredentials option was not a 'boolean' or 'undefined' value\");\r\n }\r\n var webSocketModule = null;\r\n var eventSourceModule = null;\r\n if (Platform.isNode && typeof require !== \"undefined\") {\r\n // In order to ignore the dynamic require in webpack builds we need to do this magic\r\n // @ts-ignore: TS doesn't know about these names\r\n var requireFunc = typeof __webpack_require__ === \"function\" ? __non_webpack_require__ : require;\r\n webSocketModule = requireFunc(\"ws\");\r\n eventSourceModule = requireFunc(\"eventsource\");\r\n }\r\n if (!Platform.isNode && typeof WebSocket !== \"undefined\" && !options.WebSocket) {\r\n options.WebSocket = WebSocket;\r\n }\r\n else if (Platform.isNode && !options.WebSocket) {\r\n if (webSocketModule) {\r\n options.WebSocket = webSocketModule;\r\n }\r\n }\r\n if (!Platform.isNode && typeof EventSource !== \"undefined\" && !options.EventSource) {\r\n options.EventSource = EventSource;\r\n }\r\n else if (Platform.isNode && !options.EventSource) {\r\n if (typeof eventSourceModule !== \"undefined\") {\r\n options.EventSource = eventSourceModule;\r\n }\r\n }\r\n this.httpClient = options.httpClient || new DefaultHttpClient(this.logger);\r\n this.connectionState = \"Disconnected\" /* Disconnected */;\r\n this.connectionStarted = false;\r\n this.options = options;\r\n this.onreceive = null;\r\n this.onclose = null;\r\n }\r\n HttpConnection.prototype.start = function (transferFormat) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var message, message;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n transferFormat = transferFormat || TransferFormat.Binary;\r\n Arg.isIn(transferFormat, TransferFormat, \"transferFormat\");\r\n this.logger.log(LogLevel.Debug, \"Starting connection with transfer format '\" + TransferFormat[transferFormat] + \"'.\");\r\n if (this.connectionState !== \"Disconnected\" /* Disconnected */) {\r\n return [2 /*return*/, Promise.reject(new Error(\"Cannot start an HttpConnection that is not in the 'Disconnected' state.\"))];\r\n }\r\n this.connectionState = \"Connecting\" /* Connecting */;\r\n this.startInternalPromise = this.startInternal(transferFormat);\r\n return [4 /*yield*/, this.startInternalPromise];\r\n case 1:\r\n _a.sent();\r\n if (!(this.connectionState === \"Disconnecting\" /* Disconnecting */)) return [3 /*break*/, 3];\r\n message = \"Failed to start the HttpConnection before stop() was called.\";\r\n this.logger.log(LogLevel.Error, message);\r\n // We cannot await stopPromise inside startInternal since stopInternal awaits the startInternalPromise.\r\n return [4 /*yield*/, this.stopPromise];\r\n case 2:\r\n // We cannot await stopPromise inside startInternal since stopInternal awaits the startInternalPromise.\r\n _a.sent();\r\n return [2 /*return*/, Promise.reject(new Error(message))];\r\n case 3:\r\n if (this.connectionState !== \"Connected\" /* Connected */) {\r\n message = \"HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!\";\r\n this.logger.log(LogLevel.Error, message);\r\n return [2 /*return*/, Promise.reject(new Error(message))];\r\n }\r\n _a.label = 4;\r\n case 4:\r\n this.connectionStarted = true;\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n HttpConnection.prototype.send = function (data) {\r\n if (this.connectionState !== \"Connected\" /* Connected */) {\r\n return Promise.reject(new Error(\"Cannot send data if the connection is not in the 'Connected' State.\"));\r\n }\r\n if (!this.sendQueue) {\r\n this.sendQueue = new TransportSendQueue(this.transport);\r\n }\r\n // Transport will not be null if state is connected\r\n return this.sendQueue.send(data);\r\n };\r\n HttpConnection.prototype.stop = function (error) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var _this = this;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n if (this.connectionState === \"Disconnected\" /* Disconnected */) {\r\n this.logger.log(LogLevel.Debug, \"Call to HttpConnection.stop(\" + error + \") ignored because the connection is already in the disconnected state.\");\r\n return [2 /*return*/, Promise.resolve()];\r\n }\r\n if (this.connectionState === \"Disconnecting\" /* Disconnecting */) {\r\n this.logger.log(LogLevel.Debug, \"Call to HttpConnection.stop(\" + error + \") ignored because the connection is already in the disconnecting state.\");\r\n return [2 /*return*/, this.stopPromise];\r\n }\r\n this.connectionState = \"Disconnecting\" /* Disconnecting */;\r\n this.stopPromise = new Promise(function (resolve) {\r\n // Don't complete stop() until stopConnection() completes.\r\n _this.stopPromiseResolver = resolve;\r\n });\r\n // stopInternal should never throw so just observe it.\r\n return [4 /*yield*/, this.stopInternal(error)];\r\n case 1:\r\n // stopInternal should never throw so just observe it.\r\n _a.sent();\r\n return [4 /*yield*/, this.stopPromise];\r\n case 2:\r\n _a.sent();\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n HttpConnection.prototype.stopInternal = function (error) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var e_1, e_2;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n // Set error as soon as possible otherwise there is a race between\r\n // the transport closing and providing an error and the error from a close message\r\n // We would prefer the close message error.\r\n this.stopError = error;\r\n _a.label = 1;\r\n case 1:\r\n _a.trys.push([1, 3, , 4]);\r\n return [4 /*yield*/, this.startInternalPromise];\r\n case 2:\r\n _a.sent();\r\n return [3 /*break*/, 4];\r\n case 3:\r\n e_1 = _a.sent();\r\n return [3 /*break*/, 4];\r\n case 4:\r\n if (!this.transport) return [3 /*break*/, 9];\r\n _a.label = 5;\r\n case 5:\r\n _a.trys.push([5, 7, , 8]);\r\n return [4 /*yield*/, this.transport.stop()];\r\n case 6:\r\n _a.sent();\r\n return [3 /*break*/, 8];\r\n case 7:\r\n e_2 = _a.sent();\r\n this.logger.log(LogLevel.Error, \"HttpConnection.transport.stop() threw error '\" + e_2 + \"'.\");\r\n this.stopConnection();\r\n return [3 /*break*/, 8];\r\n case 8:\r\n this.transport = undefined;\r\n return [3 /*break*/, 10];\r\n case 9:\r\n this.logger.log(LogLevel.Debug, \"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed.\");\r\n this.stopConnection();\r\n _a.label = 10;\r\n case 10: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n HttpConnection.prototype.startInternal = function (transferFormat) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var url, negotiateResponse, redirects, _loop_1, this_1, e_3;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n url = this.baseUrl;\r\n this.accessTokenFactory = this.options.accessTokenFactory;\r\n _a.label = 1;\r\n case 1:\r\n _a.trys.push([1, 12, , 13]);\r\n if (!this.options.skipNegotiation) return [3 /*break*/, 5];\r\n if (!(this.options.transport === HttpTransportType.WebSockets)) return [3 /*break*/, 3];\r\n // No need to add a connection ID in this case\r\n this.transport = this.constructTransport(HttpTransportType.WebSockets);\r\n // We should just call connect directly in this case.\r\n // No fallback or negotiate in this case.\r\n return [4 /*yield*/, this.startTransport(url, transferFormat)];\r\n case 2:\r\n // We should just call connect directly in this case.\r\n // No fallback or negotiate in this case.\r\n _a.sent();\r\n return [3 /*break*/, 4];\r\n case 3: throw new Error(\"Negotiation can only be skipped when using the WebSocket transport directly.\");\r\n case 4: return [3 /*break*/, 11];\r\n case 5:\r\n negotiateResponse = null;\r\n redirects = 0;\r\n _loop_1 = function () {\r\n var accessToken_1;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, this_1.getNegotiationResponse(url)];\r\n case 1:\r\n negotiateResponse = _a.sent();\r\n // the user tries to stop the connection when it is being started\r\n if (this_1.connectionState === \"Disconnecting\" /* Disconnecting */ || this_1.connectionState === \"Disconnected\" /* Disconnected */) {\r\n throw new Error(\"The connection was stopped during negotiation.\");\r\n }\r\n if (negotiateResponse.error) {\r\n throw new Error(negotiateResponse.error);\r\n }\r\n if (negotiateResponse.ProtocolVersion) {\r\n throw new Error(\"Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.\");\r\n }\r\n if (negotiateResponse.url) {\r\n url = negotiateResponse.url;\r\n }\r\n if (negotiateResponse.accessToken) {\r\n accessToken_1 = negotiateResponse.accessToken;\r\n this_1.accessTokenFactory = function () { return accessToken_1; };\r\n }\r\n redirects++;\r\n return [2 /*return*/];\r\n }\r\n });\r\n };\r\n this_1 = this;\r\n _a.label = 6;\r\n case 6: return [5 /*yield**/, _loop_1()];\r\n case 7:\r\n _a.sent();\r\n _a.label = 8;\r\n case 8:\r\n if (negotiateResponse.url && redirects < MAX_REDIRECTS) return [3 /*break*/, 6];\r\n _a.label = 9;\r\n case 9:\r\n if (redirects === MAX_REDIRECTS && negotiateResponse.url) {\r\n throw new Error(\"Negotiate redirection limit exceeded.\");\r\n }\r\n return [4 /*yield*/, this.createTransport(url, this.options.transport, negotiateResponse, transferFormat)];\r\n case 10:\r\n _a.sent();\r\n _a.label = 11;\r\n case 11:\r\n if (this.transport instanceof LongPollingTransport) {\r\n this.features.inherentKeepAlive = true;\r\n }\r\n if (this.connectionState === \"Connecting\" /* Connecting */) {\r\n // Ensure the connection transitions to the connected state prior to completing this.startInternalPromise.\r\n // start() will handle the case when stop was called and startInternal exits still in the disconnecting state.\r\n this.logger.log(LogLevel.Debug, \"The HttpConnection connected successfully.\");\r\n this.connectionState = \"Connected\" /* Connected */;\r\n }\r\n return [3 /*break*/, 13];\r\n case 12:\r\n e_3 = _a.sent();\r\n this.logger.log(LogLevel.Error, \"Failed to start the connection: \" + e_3);\r\n this.connectionState = \"Disconnected\" /* Disconnected */;\r\n this.transport = undefined;\r\n return [2 /*return*/, Promise.reject(e_3)];\r\n case 13: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n HttpConnection.prototype.getNegotiationResponse = function (url) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var headers, token, _a, name, value, negotiateUrl, response, negotiateResponse, e_4;\r\n return __generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n headers = {};\r\n if (!this.accessTokenFactory) return [3 /*break*/, 2];\r\n return [4 /*yield*/, this.accessTokenFactory()];\r\n case 1:\r\n token = _b.sent();\r\n if (token) {\r\n headers[\"Authorization\"] = \"Bearer \" + token;\r\n }\r\n _b.label = 2;\r\n case 2:\r\n _a = getUserAgentHeader(), name = _a[0], value = _a[1];\r\n headers[name] = value;\r\n negotiateUrl = this.resolveNegotiateUrl(url);\r\n this.logger.log(LogLevel.Debug, \"Sending negotiation request: \" + negotiateUrl + \".\");\r\n _b.label = 3;\r\n case 3:\r\n _b.trys.push([3, 5, , 6]);\r\n return [4 /*yield*/, this.httpClient.post(negotiateUrl, {\r\n content: \"\",\r\n headers: __assign({}, headers, this.options.headers),\r\n withCredentials: this.options.withCredentials,\r\n })];\r\n case 4:\r\n response = _b.sent();\r\n if (response.statusCode !== 200) {\r\n return [2 /*return*/, Promise.reject(new Error(\"Unexpected status code returned from negotiate '\" + response.statusCode + \"'\"))];\r\n }\r\n negotiateResponse = JSON.parse(response.content);\r\n if (!negotiateResponse.negotiateVersion || negotiateResponse.negotiateVersion < 1) {\r\n // Negotiate version 0 doesn't use connectionToken\r\n // So we set it equal to connectionId so all our logic can use connectionToken without being aware of the negotiate version\r\n negotiateResponse.connectionToken = negotiateResponse.connectionId;\r\n }\r\n return [2 /*return*/, negotiateResponse];\r\n case 5:\r\n e_4 = _b.sent();\r\n this.logger.log(LogLevel.Error, \"Failed to complete negotiation with the server: \" + e_4);\r\n return [2 /*return*/, Promise.reject(e_4)];\r\n case 6: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n HttpConnection.prototype.createConnectUrl = function (url, connectionToken) {\r\n if (!connectionToken) {\r\n return url;\r\n }\r\n return url + (url.indexOf(\"?\") === -1 ? \"?\" : \"&\") + (\"id=\" + connectionToken);\r\n };\r\n HttpConnection.prototype.createTransport = function (url, requestedTransport, negotiateResponse, requestedTransferFormat) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var connectUrl, transportExceptions, transports, negotiate, _i, transports_1, endpoint, transportOrError, ex_1, ex_2, message;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n connectUrl = this.createConnectUrl(url, negotiateResponse.connectionToken);\r\n if (!this.isITransport(requestedTransport)) return [3 /*break*/, 2];\r\n this.logger.log(LogLevel.Debug, \"Connection was provided an instance of ITransport, using that directly.\");\r\n this.transport = requestedTransport;\r\n return [4 /*yield*/, this.startTransport(connectUrl, requestedTransferFormat)];\r\n case 1:\r\n _a.sent();\r\n this.connectionId = negotiateResponse.connectionId;\r\n return [2 /*return*/];\r\n case 2:\r\n transportExceptions = [];\r\n transports = negotiateResponse.availableTransports || [];\r\n negotiate = negotiateResponse;\r\n _i = 0, transports_1 = transports;\r\n _a.label = 3;\r\n case 3:\r\n if (!(_i < transports_1.length)) return [3 /*break*/, 13];\r\n endpoint = transports_1[_i];\r\n transportOrError = this.resolveTransportOrError(endpoint, requestedTransport, requestedTransferFormat);\r\n if (!(transportOrError instanceof Error)) return [3 /*break*/, 4];\r\n // Store the error and continue, we don't want to cause a re-negotiate in these cases\r\n transportExceptions.push(endpoint.transport + \" failed: \" + transportOrError);\r\n return [3 /*break*/, 12];\r\n case 4:\r\n if (!this.isITransport(transportOrError)) return [3 /*break*/, 12];\r\n this.transport = transportOrError;\r\n if (!!negotiate) return [3 /*break*/, 9];\r\n _a.label = 5;\r\n case 5:\r\n _a.trys.push([5, 7, , 8]);\r\n return [4 /*yield*/, this.getNegotiationResponse(url)];\r\n case 6:\r\n negotiate = _a.sent();\r\n return [3 /*break*/, 8];\r\n case 7:\r\n ex_1 = _a.sent();\r\n return [2 /*return*/, Promise.reject(ex_1)];\r\n case 8:\r\n connectUrl = this.createConnectUrl(url, negotiate.connectionToken);\r\n _a.label = 9;\r\n case 9:\r\n _a.trys.push([9, 11, , 12]);\r\n return [4 /*yield*/, this.startTransport(connectUrl, requestedTransferFormat)];\r\n case 10:\r\n _a.sent();\r\n this.connectionId = negotiate.connectionId;\r\n return [2 /*return*/];\r\n case 11:\r\n ex_2 = _a.sent();\r\n this.logger.log(LogLevel.Error, \"Failed to start the transport '\" + endpoint.transport + \"': \" + ex_2);\r\n negotiate = undefined;\r\n transportExceptions.push(endpoint.transport + \" failed: \" + ex_2);\r\n if (this.connectionState !== \"Connecting\" /* Connecting */) {\r\n message = \"Failed to select transport before stop() was called.\";\r\n this.logger.log(LogLevel.Debug, message);\r\n return [2 /*return*/, Promise.reject(new Error(message))];\r\n }\r\n return [3 /*break*/, 12];\r\n case 12:\r\n _i++;\r\n return [3 /*break*/, 3];\r\n case 13:\r\n if (transportExceptions.length > 0) {\r\n return [2 /*return*/, Promise.reject(new Error(\"Unable to connect to the server with any of the available transports. \" + transportExceptions.join(\" \")))];\r\n }\r\n return [2 /*return*/, Promise.reject(new Error(\"None of the transports supported by the client are supported by the server.\"))];\r\n }\r\n });\r\n });\r\n };\r\n HttpConnection.prototype.constructTransport = function (transport) {\r\n switch (transport) {\r\n case HttpTransportType.WebSockets:\r\n if (!this.options.WebSocket) {\r\n throw new Error(\"'WebSocket' is not supported in your environment.\");\r\n }\r\n return new WebSocketTransport(this.httpClient, this.accessTokenFactory, this.logger, this.options.logMessageContent || false, this.options.WebSocket, this.options.headers || {});\r\n case HttpTransportType.ServerSentEvents:\r\n if (!this.options.EventSource) {\r\n throw new Error(\"'EventSource' is not supported in your environment.\");\r\n }\r\n return new ServerSentEventsTransport(this.httpClient, this.accessTokenFactory, this.logger, this.options.logMessageContent || false, this.options.EventSource, this.options.withCredentials, this.options.headers || {});\r\n case HttpTransportType.LongPolling:\r\n return new LongPollingTransport(this.httpClient, this.accessTokenFactory, this.logger, this.options.logMessageContent || false, this.options.withCredentials, this.options.headers || {});\r\n default:\r\n throw new Error(\"Unknown transport: \" + transport + \".\");\r\n }\r\n };\r\n HttpConnection.prototype.startTransport = function (url, transferFormat) {\r\n var _this = this;\r\n this.transport.onreceive = this.onreceive;\r\n this.transport.onclose = function (e) { return _this.stopConnection(e); };\r\n return this.transport.connect(url, transferFormat);\r\n };\r\n HttpConnection.prototype.resolveTransportOrError = function (endpoint, requestedTransport, requestedTransferFormat) {\r\n var transport = HttpTransportType[endpoint.transport];\r\n if (transport === null || transport === undefined) {\r\n this.logger.log(LogLevel.Debug, \"Skipping transport '\" + endpoint.transport + \"' because it is not supported by this client.\");\r\n return new Error(\"Skipping transport '\" + endpoint.transport + \"' because it is not supported by this client.\");\r\n }\r\n else {\r\n if (transportMatches(requestedTransport, transport)) {\r\n var transferFormats = endpoint.transferFormats.map(function (s) { return TransferFormat[s]; });\r\n if (transferFormats.indexOf(requestedTransferFormat) >= 0) {\r\n if ((transport === HttpTransportType.WebSockets && !this.options.WebSocket) ||\r\n (transport === HttpTransportType.ServerSentEvents && !this.options.EventSource)) {\r\n this.logger.log(LogLevel.Debug, \"Skipping transport '\" + HttpTransportType[transport] + \"' because it is not supported in your environment.'\");\r\n return new Error(\"'\" + HttpTransportType[transport] + \"' is not supported in your environment.\");\r\n }\r\n else {\r\n this.logger.log(LogLevel.Debug, \"Selecting transport '\" + HttpTransportType[transport] + \"'.\");\r\n try {\r\n return this.constructTransport(transport);\r\n }\r\n catch (ex) {\r\n return ex;\r\n }\r\n }\r\n }\r\n else {\r\n this.logger.log(LogLevel.Debug, \"Skipping transport '\" + HttpTransportType[transport] + \"' because it does not support the requested transfer format '\" + TransferFormat[requestedTransferFormat] + \"'.\");\r\n return new Error(\"'\" + HttpTransportType[transport] + \"' does not support \" + TransferFormat[requestedTransferFormat] + \".\");\r\n }\r\n }\r\n else {\r\n this.logger.log(LogLevel.Debug, \"Skipping transport '\" + HttpTransportType[transport] + \"' because it was disabled by the client.\");\r\n return new Error(\"'\" + HttpTransportType[transport] + \"' is disabled by the client.\");\r\n }\r\n }\r\n };\r\n HttpConnection.prototype.isITransport = function (transport) {\r\n return transport && typeof (transport) === \"object\" && \"connect\" in transport;\r\n };\r\n HttpConnection.prototype.stopConnection = function (error) {\r\n var _this = this;\r\n this.logger.log(LogLevel.Debug, \"HttpConnection.stopConnection(\" + error + \") called while in state \" + this.connectionState + \".\");\r\n this.transport = undefined;\r\n // If we have a stopError, it takes precedence over the error from the transport\r\n error = this.stopError || error;\r\n this.stopError = undefined;\r\n if (this.connectionState === \"Disconnected\" /* Disconnected */) {\r\n this.logger.log(LogLevel.Debug, \"Call to HttpConnection.stopConnection(\" + error + \") was ignored because the connection is already in the disconnected state.\");\r\n return;\r\n }\r\n if (this.connectionState === \"Connecting\" /* Connecting */) {\r\n this.logger.log(LogLevel.Warning, \"Call to HttpConnection.stopConnection(\" + error + \") was ignored because the connection is still in the connecting state.\");\r\n throw new Error(\"HttpConnection.stopConnection(\" + error + \") was called while the connection is still in the connecting state.\");\r\n }\r\n if (this.connectionState === \"Disconnecting\" /* Disconnecting */) {\r\n // A call to stop() induced this call to stopConnection and needs to be completed.\r\n // Any stop() awaiters will be scheduled to continue after the onclose callback fires.\r\n this.stopPromiseResolver();\r\n }\r\n if (error) {\r\n this.logger.log(LogLevel.Error, \"Connection disconnected with error '\" + error + \"'.\");\r\n }\r\n else {\r\n this.logger.log(LogLevel.Information, \"Connection disconnected.\");\r\n }\r\n if (this.sendQueue) {\r\n this.sendQueue.stop().catch(function (e) {\r\n _this.logger.log(LogLevel.Error, \"TransportSendQueue.stop() threw error '\" + e + \"'.\");\r\n });\r\n this.sendQueue = undefined;\r\n }\r\n this.connectionId = undefined;\r\n this.connectionState = \"Disconnected\" /* Disconnected */;\r\n if (this.connectionStarted) {\r\n this.connectionStarted = false;\r\n try {\r\n if (this.onclose) {\r\n this.onclose(error);\r\n }\r\n }\r\n catch (e) {\r\n this.logger.log(LogLevel.Error, \"HttpConnection.onclose(\" + error + \") threw error '\" + e + \"'.\");\r\n }\r\n }\r\n };\r\n HttpConnection.prototype.resolveUrl = function (url) {\r\n // startsWith is not supported in IE\r\n if (url.lastIndexOf(\"https://\", 0) === 0 || url.lastIndexOf(\"http://\", 0) === 0) {\r\n return url;\r\n }\r\n if (!Platform.isBrowser || !window.document) {\r\n throw new Error(\"Cannot resolve '\" + url + \"'.\");\r\n }\r\n // Setting the url to the href propery of an anchor tag handles normalization\r\n // for us. There are 3 main cases.\r\n // 1. Relative path normalization e.g \"b\" -> \"http://localhost:5000/a/b\"\r\n // 2. Absolute path normalization e.g \"/a/b\" -> \"http://localhost:5000/a/b\"\r\n // 3. Networkpath reference normalization e.g \"//localhost:5000/a/b\" -> \"http://localhost:5000/a/b\"\r\n var aTag = window.document.createElement(\"a\");\r\n aTag.href = url;\r\n this.logger.log(LogLevel.Information, \"Normalizing '\" + url + \"' to '\" + aTag.href + \"'.\");\r\n return aTag.href;\r\n };\r\n HttpConnection.prototype.resolveNegotiateUrl = function (url) {\r\n var index = url.indexOf(\"?\");\r\n var negotiateUrl = url.substring(0, index === -1 ? url.length : index);\r\n if (negotiateUrl[negotiateUrl.length - 1] !== \"/\") {\r\n negotiateUrl += \"/\";\r\n }\r\n negotiateUrl += \"negotiate\";\r\n negotiateUrl += index === -1 ? \"\" : url.substring(index);\r\n if (negotiateUrl.indexOf(\"negotiateVersion\") === -1) {\r\n negotiateUrl += index === -1 ? \"?\" : \"&\";\r\n negotiateUrl += \"negotiateVersion=\" + this.negotiateVersion;\r\n }\r\n return negotiateUrl;\r\n };\r\n return HttpConnection;\r\n}());\r\nexport { HttpConnection };\r\nfunction transportMatches(requestedTransport, actualTransport) {\r\n return !requestedTransport || ((actualTransport & requestedTransport) !== 0);\r\n}\r\n/** @private */\r\nvar TransportSendQueue = /** @class */ (function () {\r\n function TransportSendQueue(transport) {\r\n this.transport = transport;\r\n this.buffer = [];\r\n this.executing = true;\r\n this.sendBufferedData = new PromiseSource();\r\n this.transportResult = new PromiseSource();\r\n this.sendLoopPromise = this.sendLoop();\r\n }\r\n TransportSendQueue.prototype.send = function (data) {\r\n this.bufferData(data);\r\n if (!this.transportResult) {\r\n this.transportResult = new PromiseSource();\r\n }\r\n return this.transportResult.promise;\r\n };\r\n TransportSendQueue.prototype.stop = function () {\r\n this.executing = false;\r\n this.sendBufferedData.resolve();\r\n return this.sendLoopPromise;\r\n };\r\n TransportSendQueue.prototype.bufferData = function (data) {\r\n if (this.buffer.length && typeof (this.buffer[0]) !== typeof (data)) {\r\n throw new Error(\"Expected data to be of type \" + typeof (this.buffer) + \" but was of type \" + typeof (data));\r\n }\r\n this.buffer.push(data);\r\n this.sendBufferedData.resolve();\r\n };\r\n TransportSendQueue.prototype.sendLoop = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var transportResult, data, error_1;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n if (!true) return [3 /*break*/, 6];\r\n return [4 /*yield*/, this.sendBufferedData.promise];\r\n case 1:\r\n _a.sent();\r\n if (!this.executing) {\r\n if (this.transportResult) {\r\n this.transportResult.reject(\"Connection stopped.\");\r\n }\r\n return [3 /*break*/, 6];\r\n }\r\n this.sendBufferedData = new PromiseSource();\r\n transportResult = this.transportResult;\r\n this.transportResult = undefined;\r\n data = typeof (this.buffer[0]) === \"string\" ?\r\n this.buffer.join(\"\") :\r\n TransportSendQueue.concatBuffers(this.buffer);\r\n this.buffer.length = 0;\r\n _a.label = 2;\r\n case 2:\r\n _a.trys.push([2, 4, , 5]);\r\n return [4 /*yield*/, this.transport.send(data)];\r\n case 3:\r\n _a.sent();\r\n transportResult.resolve();\r\n return [3 /*break*/, 5];\r\n case 4:\r\n error_1 = _a.sent();\r\n transportResult.reject(error_1);\r\n return [3 /*break*/, 5];\r\n case 5: return [3 /*break*/, 0];\r\n case 6: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n TransportSendQueue.concatBuffers = function (arrayBuffers) {\r\n var totalLength = arrayBuffers.map(function (b) { return b.byteLength; }).reduce(function (a, b) { return a + b; });\r\n var result = new Uint8Array(totalLength);\r\n var offset = 0;\r\n for (var _i = 0, arrayBuffers_1 = arrayBuffers; _i < arrayBuffers_1.length; _i++) {\r\n var item = arrayBuffers_1[_i];\r\n result.set(new Uint8Array(item), offset);\r\n offset += item.byteLength;\r\n }\r\n return result.buffer;\r\n };\r\n return TransportSendQueue;\r\n}());\r\nexport { TransportSendQueue };\r\nvar PromiseSource = /** @class */ (function () {\r\n function PromiseSource() {\r\n var _this = this;\r\n this.promise = new Promise(function (resolve, reject) {\r\n var _a;\r\n return _a = [resolve, reject], _this.resolver = _a[0], _this.rejecter = _a[1], _a;\r\n });\r\n }\r\n PromiseSource.prototype.resolve = function () {\r\n this.resolver();\r\n };\r\n PromiseSource.prototype.reject = function (reason) {\r\n this.rejecter(reason);\r\n };\r\n return PromiseSource;\r\n}());\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nimport { MessageType } from \"./IHubProtocol\";\r\nimport { LogLevel } from \"./ILogger\";\r\nimport { TransferFormat } from \"./ITransport\";\r\nimport { NullLogger } from \"./Loggers\";\r\nimport { TextMessageFormat } from \"./TextMessageFormat\";\r\nvar JSON_HUB_PROTOCOL_NAME = \"json\";\r\n/** Implements the JSON Hub Protocol. */\r\nvar JsonHubProtocol = /** @class */ (function () {\r\n function JsonHubProtocol() {\r\n /** @inheritDoc */\r\n this.name = JSON_HUB_PROTOCOL_NAME;\r\n /** @inheritDoc */\r\n this.version = 1;\r\n /** @inheritDoc */\r\n this.transferFormat = TransferFormat.Text;\r\n }\r\n /** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.\r\n *\r\n * @param {string} input A string containing the serialized representation.\r\n * @param {ILogger} logger A logger that will be used to log messages that occur during parsing.\r\n */\r\n JsonHubProtocol.prototype.parseMessages = function (input, logger) {\r\n // The interface does allow \"ArrayBuffer\" to be passed in, but this implementation does not. So let's throw a useful error.\r\n if (typeof input !== \"string\") {\r\n throw new Error(\"Invalid input for JSON hub protocol. Expected a string.\");\r\n }\r\n if (!input) {\r\n return [];\r\n }\r\n if (logger === null) {\r\n logger = NullLogger.instance;\r\n }\r\n // Parse the messages\r\n var messages = TextMessageFormat.parse(input);\r\n var hubMessages = [];\r\n for (var _i = 0, messages_1 = messages; _i < messages_1.length; _i++) {\r\n var message = messages_1[_i];\r\n var parsedMessage = JSON.parse(message);\r\n if (typeof parsedMessage.type !== \"number\") {\r\n throw new Error(\"Invalid payload.\");\r\n }\r\n switch (parsedMessage.type) {\r\n case MessageType.Invocation:\r\n this.isInvocationMessage(parsedMessage);\r\n break;\r\n case MessageType.StreamItem:\r\n this.isStreamItemMessage(parsedMessage);\r\n break;\r\n case MessageType.Completion:\r\n this.isCompletionMessage(parsedMessage);\r\n break;\r\n case MessageType.Ping:\r\n // Single value, no need to validate\r\n break;\r\n case MessageType.Close:\r\n // All optional values, no need to validate\r\n break;\r\n default:\r\n // Future protocol changes can add message types, old clients can ignore them\r\n logger.log(LogLevel.Information, \"Unknown message type '\" + parsedMessage.type + \"' ignored.\");\r\n continue;\r\n }\r\n hubMessages.push(parsedMessage);\r\n }\r\n return hubMessages;\r\n };\r\n /** Writes the specified {@link @microsoft/signalr.HubMessage} to a string and returns it.\r\n *\r\n * @param {HubMessage} message The message to write.\r\n * @returns {string} A string containing the serialized representation of the message.\r\n */\r\n JsonHubProtocol.prototype.writeMessage = function (message) {\r\n return TextMessageFormat.write(JSON.stringify(message));\r\n };\r\n JsonHubProtocol.prototype.isInvocationMessage = function (message) {\r\n this.assertNotEmptyString(message.target, \"Invalid payload for Invocation message.\");\r\n if (message.invocationId !== undefined) {\r\n this.assertNotEmptyString(message.invocationId, \"Invalid payload for Invocation message.\");\r\n }\r\n };\r\n JsonHubProtocol.prototype.isStreamItemMessage = function (message) {\r\n this.assertNotEmptyString(message.invocationId, \"Invalid payload for StreamItem message.\");\r\n if (message.item === undefined) {\r\n throw new Error(\"Invalid payload for StreamItem message.\");\r\n }\r\n };\r\n JsonHubProtocol.prototype.isCompletionMessage = function (message) {\r\n if (message.result && message.error) {\r\n throw new Error(\"Invalid payload for Completion message.\");\r\n }\r\n if (!message.result && message.error) {\r\n this.assertNotEmptyString(message.error, \"Invalid payload for Completion message.\");\r\n }\r\n this.assertNotEmptyString(message.invocationId, \"Invalid payload for Completion message.\");\r\n };\r\n JsonHubProtocol.prototype.assertNotEmptyString = function (value, errorMessage) {\r\n if (typeof value !== \"string\" || value === \"\") {\r\n throw new Error(errorMessage);\r\n }\r\n };\r\n return JsonHubProtocol;\r\n}());\r\nexport { JsonHubProtocol };\r\n","// Copyright (c) .NET Foundation. All rights reserved.\r\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n};\r\nimport { DefaultReconnectPolicy } from \"./DefaultReconnectPolicy\";\r\nimport { HttpConnection } from \"./HttpConnection\";\r\nimport { HubConnection } from \"./HubConnection\";\r\nimport { LogLevel } from \"./ILogger\";\r\nimport { JsonHubProtocol } from \"./JsonHubProtocol\";\r\nimport { NullLogger } from \"./Loggers\";\r\nimport { Arg, ConsoleLogger } from \"./Utils\";\r\n// tslint:disable:object-literal-sort-keys\r\nvar LogLevelNameMapping = {\r\n trace: LogLevel.Trace,\r\n debug: LogLevel.Debug,\r\n info: LogLevel.Information,\r\n information: LogLevel.Information,\r\n warn: LogLevel.Warning,\r\n warning: LogLevel.Warning,\r\n error: LogLevel.Error,\r\n critical: LogLevel.Critical,\r\n none: LogLevel.None,\r\n};\r\nfunction parseLogLevel(name) {\r\n // Case-insensitive matching via lower-casing\r\n // Yes, I know case-folding is a complicated problem in Unicode, but we only support\r\n // the ASCII strings defined in LogLevelNameMapping anyway, so it's fine -anurse.\r\n var mapping = LogLevelNameMapping[name.toLowerCase()];\r\n if (typeof mapping !== \"undefined\") {\r\n return mapping;\r\n }\r\n else {\r\n throw new Error(\"Unknown log level: \" + name);\r\n }\r\n}\r\n/** A builder for configuring {@link @microsoft/signalr.HubConnection} instances. */\r\nvar HubConnectionBuilder = /** @class */ (function () {\r\n function HubConnectionBuilder() {\r\n }\r\n HubConnectionBuilder.prototype.configureLogging = function (logging) {\r\n Arg.isRequired(logging, \"logging\");\r\n if (isLogger(logging)) {\r\n this.logger = logging;\r\n }\r\n else if (typeof logging === \"string\") {\r\n var logLevel = parseLogLevel(logging);\r\n this.logger = new ConsoleLogger(logLevel);\r\n }\r\n else {\r\n this.logger = new ConsoleLogger(logging);\r\n }\r\n return this;\r\n };\r\n HubConnectionBuilder.prototype.withUrl = function (url, transportTypeOrOptions) {\r\n Arg.isRequired(url, \"url\");\r\n Arg.isNotEmpty(url, \"url\");\r\n this.url = url;\r\n // Flow-typing knows where it's at. Since HttpTransportType is a number and IHttpConnectionOptions is guaranteed\r\n // to be an object, we know (as does TypeScript) this comparison is all we need to figure out which overload was called.\r\n if (typeof transportTypeOrOptions === \"object\") {\r\n this.httpConnectionOptions = __assign({}, this.httpConnectionOptions, transportTypeOrOptions);\r\n }\r\n else {\r\n this.httpConnectionOptions = __assign({}, this.httpConnectionOptions, { transport: transportTypeOrOptions });\r\n }\r\n return this;\r\n };\r\n /** Configures the {@link @microsoft/signalr.HubConnection} to use the specified Hub Protocol.\r\n *\r\n * @param {IHubProtocol} protocol The {@link @microsoft/signalr.IHubProtocol} implementation to use.\r\n */\r\n HubConnectionBuilder.prototype.withHubProtocol = function (protocol) {\r\n Arg.isRequired(protocol, \"protocol\");\r\n this.protocol = protocol;\r\n return this;\r\n };\r\n HubConnectionBuilder.prototype.withAutomaticReconnect = function (retryDelaysOrReconnectPolicy) {\r\n if (this.reconnectPolicy) {\r\n throw new Error(\"A reconnectPolicy has already been set.\");\r\n }\r\n if (!retryDelaysOrReconnectPolicy) {\r\n this.reconnectPolicy = new DefaultReconnectPolicy();\r\n }\r\n else if (Array.isArray(retryDelaysOrReconnectPolicy)) {\r\n this.reconnectPolicy = new DefaultReconnectPolicy(retryDelaysOrReconnectPolicy);\r\n }\r\n else {\r\n this.reconnectPolicy = retryDelaysOrReconnectPolicy;\r\n }\r\n return this;\r\n };\r\n /** Creates a {@link @microsoft/signalr.HubConnection} from the configuration options specified in this builder.\r\n *\r\n * @returns {HubConnection} The configured {@link @microsoft/signalr.HubConnection}.\r\n */\r\n HubConnectionBuilder.prototype.build = function () {\r\n // If httpConnectionOptions has a logger, use it. Otherwise, override it with the one\r\n // provided to configureLogger\r\n var httpConnectionOptions = this.httpConnectionOptions || {};\r\n // If it's 'null', the user **explicitly** asked for null, don't mess with it.\r\n if (httpConnectionOptions.logger === undefined) {\r\n // If our logger is undefined or null, that's OK, the HttpConnection constructor will handle it.\r\n httpConnectionOptions.logger = this.logger;\r\n }\r\n // Now create the connection\r\n if (!this.url) {\r\n throw new Error(\"The 'HubConnectionBuilder.withUrl' method must be called before building the connection.\");\r\n }\r\n var connection = new HttpConnection(this.url, httpConnectionOptions);\r\n return HubConnection.create(connection, this.logger || NullLogger.instance, this.protocol || new JsonHubProtocol(), this.reconnectPolicy);\r\n };\r\n return HubConnectionBuilder;\r\n}());\r\nexport { HubConnectionBuilder };\r\nfunction isLogger(logger) {\r\n return logger.log !== undefined;\r\n}\r\n","'use strict';\n\n/******************************************************************************\n * Created 2008-08-19.\n *\n * Dijkstra path-finding functions. Adapted from the Dijkstar Python project.\n *\n * Copyright (C) 2008\n * Wyatt Baldwin \n * All rights reserved\n *\n * Licensed under the MIT license.\n *\n * http://www.opensource.org/licenses/mit-license.php\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *****************************************************************************/\nvar dijkstra = {\n single_source_shortest_paths: function(graph, s, d) {\n // Predecessor map for each node that has been encountered.\n // node ID => predecessor node ID\n var predecessors = {};\n\n // Costs of shortest paths from s to all nodes encountered.\n // node ID => cost\n var costs = {};\n costs[s] = 0;\n\n // Costs of shortest paths from s to all nodes encountered; differs from\n // `costs` in that it provides easy access to the node that currently has\n // the known shortest path from s.\n // XXX: Do we actually need both `costs` and `open`?\n var open = dijkstra.PriorityQueue.make();\n open.push(s, 0);\n\n var closest,\n u, v,\n cost_of_s_to_u,\n adjacent_nodes,\n cost_of_e,\n cost_of_s_to_u_plus_cost_of_e,\n cost_of_s_to_v,\n first_visit;\n while (!open.empty()) {\n // In the nodes remaining in graph that have a known cost from s,\n // find the node, u, that currently has the shortest path from s.\n closest = open.pop();\n u = closest.value;\n cost_of_s_to_u = closest.cost;\n\n // Get nodes adjacent to u...\n adjacent_nodes = graph[u] || {};\n\n // ...and explore the edges that connect u to those nodes, updating\n // the cost of the shortest paths to any or all of those nodes as\n // necessary. v is the node across the current edge from u.\n for (v in adjacent_nodes) {\n if (adjacent_nodes.hasOwnProperty(v)) {\n // Get the cost of the edge running from u to v.\n cost_of_e = adjacent_nodes[v];\n\n // Cost of s to u plus the cost of u to v across e--this is *a*\n // cost from s to v that may or may not be less than the current\n // known cost to v.\n cost_of_s_to_u_plus_cost_of_e = cost_of_s_to_u + cost_of_e;\n\n // If we haven't visited v yet OR if the current known cost from s to\n // v is greater than the new cost we just found (cost of s to u plus\n // cost of u to v across e), update v's cost in the cost list and\n // update v's predecessor in the predecessor list (it's now u).\n cost_of_s_to_v = costs[v];\n first_visit = (typeof costs[v] === 'undefined');\n if (first_visit || cost_of_s_to_v > cost_of_s_to_u_plus_cost_of_e) {\n costs[v] = cost_of_s_to_u_plus_cost_of_e;\n open.push(v, cost_of_s_to_u_plus_cost_of_e);\n predecessors[v] = u;\n }\n }\n }\n }\n\n if (typeof d !== 'undefined' && typeof costs[d] === 'undefined') {\n var msg = ['Could not find a path from ', s, ' to ', d, '.'].join('');\n throw new Error(msg);\n }\n\n return predecessors;\n },\n\n extract_shortest_path_from_predecessor_list: function(predecessors, d) {\n var nodes = [];\n var u = d;\n var predecessor;\n while (u) {\n nodes.push(u);\n predecessor = predecessors[u];\n u = predecessors[u];\n }\n nodes.reverse();\n return nodes;\n },\n\n find_path: function(graph, s, d) {\n var predecessors = dijkstra.single_source_shortest_paths(graph, s, d);\n return dijkstra.extract_shortest_path_from_predecessor_list(\n predecessors, d);\n },\n\n /**\n * A very naive priority queue implementation.\n */\n PriorityQueue: {\n make: function (opts) {\n var T = dijkstra.PriorityQueue,\n t = {},\n key;\n opts = opts || {};\n for (key in T) {\n if (T.hasOwnProperty(key)) {\n t[key] = T[key];\n }\n }\n t.queue = [];\n t.sorter = opts.sorter || T.default_sorter;\n return t;\n },\n\n default_sorter: function (a, b) {\n return a.cost - b.cost;\n },\n\n /**\n * Add a new item to the queue and ensure the highest priority element\n * is at the front of the queue.\n */\n push: function (value, cost) {\n var item = {value: value, cost: cost};\n this.queue.push(item);\n this.queue.sort(this.sorter);\n },\n\n /**\n * Return the highest priority element in the queue.\n */\n pop: function () {\n return this.queue.shift();\n },\n\n empty: function () {\n return this.queue.length === 0;\n }\n }\n};\n\n\n// node.js module exports\nif (typeof module !== 'undefined') {\n module.exports = dijkstra;\n}\n","'use strict'\n\nmodule.exports = function encodeUtf8 (input) {\n var result = []\n var size = input.length\n\n for (var index = 0; index < size; index++) {\n var point = input.charCodeAt(index)\n\n if (point >= 0xD800 && point <= 0xDBFF && size > index + 1) {\n var second = input.charCodeAt(index + 1)\n\n if (second >= 0xDC00 && second <= 0xDFFF) {\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n point = (point - 0xD800) * 0x400 + second - 0xDC00 + 0x10000\n index += 1\n }\n }\n\n // US-ASCII\n if (point < 0x80) {\n result.push(point)\n continue\n }\n\n // 2-byte UTF-8\n if (point < 0x800) {\n result.push((point >> 6) | 192)\n result.push((point & 63) | 128)\n continue\n }\n\n // 3-byte UTF-8\n if (point < 0xD800 || (point >= 0xE000 && point < 0x10000)) {\n result.push((point >> 12) | 224)\n result.push(((point >> 6) & 63) | 128)\n result.push((point & 63) | 128)\n continue\n }\n\n // 4-byte UTF-8\n if (point >= 0x10000 && point <= 0x10FFFF) {\n result.push((point >> 18) | 240)\n result.push(((point >> 12) & 63) | 128)\n result.push(((point >> 6) & 63) | 128)\n result.push((point & 63) | 128)\n continue\n }\n\n // Invalid character\n result.push(0xEF, 0xBF, 0xBD)\n }\n\n return new Uint8Array(result).buffer\n}\n","//! moment.js locale configuration\n//! locale : Afrikaans [af]\n//! author : Werner Mollentze : https://github.com/wernerm\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var af = moment.defineLocale('af', {\n months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),\n weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(\n '_'\n ),\n weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),\n weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),\n meridiemParse: /vm|nm/i,\n isPM: function (input) {\n return /^nm$/i.test(input);\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'vm' : 'VM';\n } else {\n return isLower ? 'nm' : 'NM';\n }\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Vandag om] LT',\n nextDay: '[Môre om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[Gister om] LT',\n lastWeek: '[Laas] dddd [om] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'oor %s',\n past: '%s gelede',\n s: \"'n paar sekondes\",\n ss: '%d sekondes',\n m: \"'n minuut\",\n mm: '%d minute',\n h: \"'n uur\",\n hh: '%d ure',\n d: \"'n dag\",\n dd: '%d dae',\n M: \"'n maand\",\n MM: '%d maande',\n y: \"'n jaar\",\n yy: '%d jaar',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function (number) {\n return (\n number +\n (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n ); // Thanks to Joris Röling : https://github.com/jjupiter\n },\n week: {\n dow: 1, // Maandag is die eerste dag van die week.\n doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.\n },\n });\n\n return af;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Algeria) [ar-dz]\n//! author : Amine Roukh: https://github.com/Amine27\n//! author : Abdel Said: https://github.com/abdelsaid\n//! author : Ahmed Elkhatib\n//! author : forabi https://github.com/forabi\n//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var pluralForm = function (n) {\n return n === 0\n ? 0\n : n === 1\n ? 1\n : n === 2\n ? 2\n : n % 100 >= 3 && n % 100 <= 10\n ? 3\n : n % 100 >= 11\n ? 4\n : 5;\n },\n plurals = {\n s: [\n 'أقل من ثانية',\n 'ثانية واحدة',\n ['ثانيتان', 'ثانيتين'],\n '%d ثوان',\n '%d ثانية',\n '%d ثانية',\n ],\n m: [\n 'أقل من دقيقة',\n 'دقيقة واحدة',\n ['دقيقتان', 'دقيقتين'],\n '%d دقائق',\n '%d دقيقة',\n '%d دقيقة',\n ],\n h: [\n 'أقل من ساعة',\n 'ساعة واحدة',\n ['ساعتان', 'ساعتين'],\n '%d ساعات',\n '%d ساعة',\n '%d ساعة',\n ],\n d: [\n 'أقل من يوم',\n 'يوم واحد',\n ['يومان', 'يومين'],\n '%d أيام',\n '%d يومًا',\n '%d يوم',\n ],\n M: [\n 'أقل من شهر',\n 'شهر واحد',\n ['شهران', 'شهرين'],\n '%d أشهر',\n '%d شهرا',\n '%d شهر',\n ],\n y: [\n 'أقل من عام',\n 'عام واحد',\n ['عامان', 'عامين'],\n '%d أعوام',\n '%d عامًا',\n '%d عام',\n ],\n },\n pluralize = function (u) {\n return function (number, withoutSuffix, string, isFuture) {\n var f = pluralForm(number),\n str = plurals[u][pluralForm(number)];\n if (f === 2) {\n str = str[withoutSuffix ? 0 : 1];\n }\n return str.replace(/%d/i, number);\n };\n },\n months = [\n 'جانفي',\n 'فيفري',\n 'مارس',\n 'أفريل',\n 'ماي',\n 'جوان',\n 'جويلية',\n 'أوت',\n 'سبتمبر',\n 'أكتوبر',\n 'نوفمبر',\n 'ديسمبر',\n ];\n\n var arDz = moment.defineLocale('ar-dz', {\n months: months,\n monthsShort: months,\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'D/\\u200FM/\\u200FYYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ص|م/,\n isPM: function (input) {\n return 'م' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'م';\n }\n },\n calendar: {\n sameDay: '[اليوم عند الساعة] LT',\n nextDay: '[غدًا عند الساعة] LT',\n nextWeek: 'dddd [عند الساعة] LT',\n lastDay: '[أمس عند الساعة] LT',\n lastWeek: 'dddd [عند الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'بعد %s',\n past: 'منذ %s',\n s: pluralize('s'),\n ss: pluralize('s'),\n m: pluralize('m'),\n mm: pluralize('m'),\n h: pluralize('h'),\n hh: pluralize('h'),\n d: pluralize('d'),\n dd: pluralize('d'),\n M: pluralize('M'),\n MM: pluralize('M'),\n y: pluralize('y'),\n yy: pluralize('y'),\n },\n postformat: function (string) {\n return string.replace(/,/g, '،');\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return arDz;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Kuwait) [ar-kw]\n//! author : Nusret Parlak: https://github.com/nusretparlak\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var arKw = moment.defineLocale('ar-kw', {\n months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n '_'\n ),\n monthsShort:\n 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n '_'\n ),\n weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات',\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return arKw;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Libya) [ar-ly]\n//! author : Ali Hmer: https://github.com/kikoanis\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '1',\n 2: '2',\n 3: '3',\n 4: '4',\n 5: '5',\n 6: '6',\n 7: '7',\n 8: '8',\n 9: '9',\n 0: '0',\n },\n pluralForm = function (n) {\n return n === 0\n ? 0\n : n === 1\n ? 1\n : n === 2\n ? 2\n : n % 100 >= 3 && n % 100 <= 10\n ? 3\n : n % 100 >= 11\n ? 4\n : 5;\n },\n plurals = {\n s: [\n 'أقل من ثانية',\n 'ثانية واحدة',\n ['ثانيتان', 'ثانيتين'],\n '%d ثوان',\n '%d ثانية',\n '%d ثانية',\n ],\n m: [\n 'أقل من دقيقة',\n 'دقيقة واحدة',\n ['دقيقتان', 'دقيقتين'],\n '%d دقائق',\n '%d دقيقة',\n '%d دقيقة',\n ],\n h: [\n 'أقل من ساعة',\n 'ساعة واحدة',\n ['ساعتان', 'ساعتين'],\n '%d ساعات',\n '%d ساعة',\n '%d ساعة',\n ],\n d: [\n 'أقل من يوم',\n 'يوم واحد',\n ['يومان', 'يومين'],\n '%d أيام',\n '%d يومًا',\n '%d يوم',\n ],\n M: [\n 'أقل من شهر',\n 'شهر واحد',\n ['شهران', 'شهرين'],\n '%d أشهر',\n '%d شهرا',\n '%d شهر',\n ],\n y: [\n 'أقل من عام',\n 'عام واحد',\n ['عامان', 'عامين'],\n '%d أعوام',\n '%d عامًا',\n '%d عام',\n ],\n },\n pluralize = function (u) {\n return function (number, withoutSuffix, string, isFuture) {\n var f = pluralForm(number),\n str = plurals[u][pluralForm(number)];\n if (f === 2) {\n str = str[withoutSuffix ? 0 : 1];\n }\n return str.replace(/%d/i, number);\n };\n },\n months = [\n 'يناير',\n 'فبراير',\n 'مارس',\n 'أبريل',\n 'مايو',\n 'يونيو',\n 'يوليو',\n 'أغسطس',\n 'سبتمبر',\n 'أكتوبر',\n 'نوفمبر',\n 'ديسمبر',\n ];\n\n var arLy = moment.defineLocale('ar-ly', {\n months: months,\n monthsShort: months,\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'D/\\u200FM/\\u200FYYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ص|م/,\n isPM: function (input) {\n return 'م' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'م';\n }\n },\n calendar: {\n sameDay: '[اليوم عند الساعة] LT',\n nextDay: '[غدًا عند الساعة] LT',\n nextWeek: 'dddd [عند الساعة] LT',\n lastDay: '[أمس عند الساعة] LT',\n lastWeek: 'dddd [عند الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'بعد %s',\n past: 'منذ %s',\n s: pluralize('s'),\n ss: pluralize('s'),\n m: pluralize('m'),\n mm: pluralize('m'),\n h: pluralize('h'),\n hh: pluralize('h'),\n d: pluralize('d'),\n dd: pluralize('d'),\n M: pluralize('M'),\n MM: pluralize('M'),\n y: pluralize('y'),\n yy: pluralize('y'),\n },\n preparse: function (string) {\n return string.replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return arLy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Morocco) [ar-ma]\n//! author : ElFadili Yassine : https://github.com/ElFadiliY\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var arMa = moment.defineLocale('ar-ma', {\n months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n '_'\n ),\n monthsShort:\n 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n '_'\n ),\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return arMa;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Palestine) [ar-ps]\n//! author : Majd Al-Shihabi : https://github.com/majdal\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '١',\n 2: '٢',\n 3: '٣',\n 4: '٤',\n 5: '٥',\n 6: '٦',\n 7: '٧',\n 8: '٨',\n 9: '٩',\n 0: '٠',\n },\n numberMap = {\n '١': '1',\n '٢': '2',\n '٣': '3',\n '٤': '4',\n '٥': '5',\n '٦': '6',\n '٧': '7',\n '٨': '8',\n '٩': '9',\n '٠': '0',\n };\n\n var arPs = moment.defineLocale('ar-ps', {\n months: 'كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل'.split(\n '_'\n ),\n monthsShort:\n 'ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١'.split('_'),\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ص|م/,\n isPM: function (input) {\n return 'م' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'م';\n }\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات',\n },\n preparse: function (string) {\n return string\n .replace(/[٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n })\n .split('') // reversed since negative lookbehind not supported everywhere\n .reverse()\n .join('')\n .replace(/[١٢](?![\\u062a\\u0643])/g, function (match) {\n return numberMap[match];\n })\n .split('')\n .reverse()\n .join('')\n .replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return arPs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Saudi Arabia) [ar-sa]\n//! author : Suhail Alkowaileet : https://github.com/xsoh\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '١',\n 2: '٢',\n 3: '٣',\n 4: '٤',\n 5: '٥',\n 6: '٦',\n 7: '٧',\n 8: '٨',\n 9: '٩',\n 0: '٠',\n },\n numberMap = {\n '١': '1',\n '٢': '2',\n '٣': '3',\n '٤': '4',\n '٥': '5',\n '٦': '6',\n '٧': '7',\n '٨': '8',\n '٩': '9',\n '٠': '0',\n };\n\n var arSa = moment.defineLocale('ar-sa', {\n months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n '_'\n ),\n monthsShort:\n 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n '_'\n ),\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ص|م/,\n isPM: function (input) {\n return 'م' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'م';\n }\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات',\n },\n preparse: function (string) {\n return string\n .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n })\n .replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return arSa;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Tunisia) [ar-tn]\n//! author : Nader Toukabri : https://github.com/naderio\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var arTn = moment.defineLocale('ar-tn', {\n months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n '_'\n ),\n monthsShort:\n 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n '_'\n ),\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return arTn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic [ar]\n//! author : Abdel Said: https://github.com/abdelsaid\n//! author : Ahmed Elkhatib\n//! author : forabi https://github.com/forabi\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '١',\n 2: '٢',\n 3: '٣',\n 4: '٤',\n 5: '٥',\n 6: '٦',\n 7: '٧',\n 8: '٨',\n 9: '٩',\n 0: '٠',\n },\n numberMap = {\n '١': '1',\n '٢': '2',\n '٣': '3',\n '٤': '4',\n '٥': '5',\n '٦': '6',\n '٧': '7',\n '٨': '8',\n '٩': '9',\n '٠': '0',\n },\n pluralForm = function (n) {\n return n === 0\n ? 0\n : n === 1\n ? 1\n : n === 2\n ? 2\n : n % 100 >= 3 && n % 100 <= 10\n ? 3\n : n % 100 >= 11\n ? 4\n : 5;\n },\n plurals = {\n s: [\n 'أقل من ثانية',\n 'ثانية واحدة',\n ['ثانيتان', 'ثانيتين'],\n '%d ثوان',\n '%d ثانية',\n '%d ثانية',\n ],\n m: [\n 'أقل من دقيقة',\n 'دقيقة واحدة',\n ['دقيقتان', 'دقيقتين'],\n '%d دقائق',\n '%d دقيقة',\n '%d دقيقة',\n ],\n h: [\n 'أقل من ساعة',\n 'ساعة واحدة',\n ['ساعتان', 'ساعتين'],\n '%d ساعات',\n '%d ساعة',\n '%d ساعة',\n ],\n d: [\n 'أقل من يوم',\n 'يوم واحد',\n ['يومان', 'يومين'],\n '%d أيام',\n '%d يومًا',\n '%d يوم',\n ],\n M: [\n 'أقل من شهر',\n 'شهر واحد',\n ['شهران', 'شهرين'],\n '%d أشهر',\n '%d شهرا',\n '%d شهر',\n ],\n y: [\n 'أقل من عام',\n 'عام واحد',\n ['عامان', 'عامين'],\n '%d أعوام',\n '%d عامًا',\n '%d عام',\n ],\n },\n pluralize = function (u) {\n return function (number, withoutSuffix, string, isFuture) {\n var f = pluralForm(number),\n str = plurals[u][pluralForm(number)];\n if (f === 2) {\n str = str[withoutSuffix ? 0 : 1];\n }\n return str.replace(/%d/i, number);\n };\n },\n months = [\n 'يناير',\n 'فبراير',\n 'مارس',\n 'أبريل',\n 'مايو',\n 'يونيو',\n 'يوليو',\n 'أغسطس',\n 'سبتمبر',\n 'أكتوبر',\n 'نوفمبر',\n 'ديسمبر',\n ];\n\n var ar = moment.defineLocale('ar', {\n months: months,\n monthsShort: months,\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'D/\\u200FM/\\u200FYYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ص|م/,\n isPM: function (input) {\n return 'م' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'م';\n }\n },\n calendar: {\n sameDay: '[اليوم عند الساعة] LT',\n nextDay: '[غدًا عند الساعة] LT',\n nextWeek: 'dddd [عند الساعة] LT',\n lastDay: '[أمس عند الساعة] LT',\n lastWeek: 'dddd [عند الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'بعد %s',\n past: 'منذ %s',\n s: pluralize('s'),\n ss: pluralize('s'),\n m: pluralize('m'),\n mm: pluralize('m'),\n h: pluralize('h'),\n hh: pluralize('h'),\n d: pluralize('d'),\n dd: pluralize('d'),\n M: pluralize('M'),\n MM: pluralize('M'),\n y: pluralize('y'),\n yy: pluralize('y'),\n },\n preparse: function (string) {\n return string\n .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n })\n .replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return ar;\n\n})));\n","//! moment.js locale configuration\n//! locale : Azerbaijani [az]\n//! author : topchiyev : https://github.com/topchiyev\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 1: '-inci',\n 5: '-inci',\n 8: '-inci',\n 70: '-inci',\n 80: '-inci',\n 2: '-nci',\n 7: '-nci',\n 20: '-nci',\n 50: '-nci',\n 3: '-üncü',\n 4: '-üncü',\n 100: '-üncü',\n 6: '-ncı',\n 9: '-uncu',\n 10: '-uncu',\n 30: '-uncu',\n 60: '-ıncı',\n 90: '-ıncı',\n };\n\n var az = moment.defineLocale('az', {\n months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(\n '_'\n ),\n monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),\n weekdays:\n 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(\n '_'\n ),\n weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),\n weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[bugün saat] LT',\n nextDay: '[sabah saat] LT',\n nextWeek: '[gələn həftə] dddd [saat] LT',\n lastDay: '[dünən] LT',\n lastWeek: '[keçən həftə] dddd [saat] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s sonra',\n past: '%s əvvəl',\n s: 'bir neçə saniyə',\n ss: '%d saniyə',\n m: 'bir dəqiqə',\n mm: '%d dəqiqə',\n h: 'bir saat',\n hh: '%d saat',\n d: 'bir gün',\n dd: '%d gün',\n M: 'bir ay',\n MM: '%d ay',\n y: 'bir il',\n yy: '%d il',\n },\n meridiemParse: /gecə|səhər|gündüz|axşam/,\n isPM: function (input) {\n return /^(gündüz|axşam)$/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'gecə';\n } else if (hour < 12) {\n return 'səhər';\n } else if (hour < 17) {\n return 'gündüz';\n } else {\n return 'axşam';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,\n ordinal: function (number) {\n if (number === 0) {\n // special case for zero\n return number + '-ıncı';\n }\n var a = number % 10,\n b = (number % 100) - a,\n c = number >= 100 ? 100 : null;\n return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return az;\n\n})));\n","//! moment.js locale configuration\n//! locale : Belarusian [be]\n//! author : Dmitry Demidov : https://github.com/demidov91\n//! author: Praleska: http://praleska.pro/\n//! Author : Menelion Elensúle : https://github.com/Oire\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11\n ? forms[0]\n : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n ? forms[1]\n : forms[2];\n }\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',\n mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',\n hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',\n dd: 'дзень_дні_дзён',\n MM: 'месяц_месяцы_месяцаў',\n yy: 'год_гады_гадоў',\n };\n if (key === 'm') {\n return withoutSuffix ? 'хвіліна' : 'хвіліну';\n } else if (key === 'h') {\n return withoutSuffix ? 'гадзіна' : 'гадзіну';\n } else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n\n var be = moment.defineLocale('be', {\n months: {\n format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(\n '_'\n ),\n standalone:\n 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(\n '_'\n ),\n },\n monthsShort:\n 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),\n weekdays: {\n format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(\n '_'\n ),\n standalone:\n 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(\n '_'\n ),\n isFormat: /\\[ ?[Ууў] ?(?:мінулую|наступную)? ?\\] ?dddd/,\n },\n weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),\n weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY г.',\n LLL: 'D MMMM YYYY г., HH:mm',\n LLLL: 'dddd, D MMMM YYYY г., HH:mm',\n },\n calendar: {\n sameDay: '[Сёння ў] LT',\n nextDay: '[Заўтра ў] LT',\n lastDay: '[Учора ў] LT',\n nextWeek: function () {\n return '[У] dddd [ў] LT';\n },\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 5:\n case 6:\n return '[У мінулую] dddd [ў] LT';\n case 1:\n case 2:\n case 4:\n return '[У мінулы] dddd [ў] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'праз %s',\n past: '%s таму',\n s: 'некалькі секунд',\n m: relativeTimeWithPlural,\n mm: relativeTimeWithPlural,\n h: relativeTimeWithPlural,\n hh: relativeTimeWithPlural,\n d: 'дзень',\n dd: relativeTimeWithPlural,\n M: 'месяц',\n MM: relativeTimeWithPlural,\n y: 'год',\n yy: relativeTimeWithPlural,\n },\n meridiemParse: /ночы|раніцы|дня|вечара/,\n isPM: function (input) {\n return /^(дня|вечара)$/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ночы';\n } else if (hour < 12) {\n return 'раніцы';\n } else if (hour < 17) {\n return 'дня';\n } else {\n return 'вечара';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(і|ы|га)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n case 'w':\n case 'W':\n return (number % 10 === 2 || number % 10 === 3) &&\n number % 100 !== 12 &&\n number % 100 !== 13\n ? number + '-і'\n : number + '-ы';\n case 'D':\n return number + '-га';\n default:\n return number;\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return be;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bulgarian [bg]\n//! author : Krasen Borisov : https://github.com/kraz\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var bg = moment.defineLocale('bg', {\n months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(\n '_'\n ),\n monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),\n weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(\n '_'\n ),\n weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),\n weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'D.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY H:mm',\n LLLL: 'dddd, D MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[Днес в] LT',\n nextDay: '[Утре в] LT',\n nextWeek: 'dddd [в] LT',\n lastDay: '[Вчера в] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 6:\n return '[Миналата] dddd [в] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[Миналия] dddd [в] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'след %s',\n past: 'преди %s',\n s: 'няколко секунди',\n ss: '%d секунди',\n m: 'минута',\n mm: '%d минути',\n h: 'час',\n hh: '%d часа',\n d: 'ден',\n dd: '%d дена',\n w: 'седмица',\n ww: '%d седмици',\n M: 'месец',\n MM: '%d месеца',\n y: 'година',\n yy: '%d години',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n ordinal: function (number) {\n var lastDigit = number % 10,\n last2Digits = number % 100;\n if (number === 0) {\n return number + '-ев';\n } else if (last2Digits === 0) {\n return number + '-ен';\n } else if (last2Digits > 10 && last2Digits < 20) {\n return number + '-ти';\n } else if (lastDigit === 1) {\n return number + '-ви';\n } else if (lastDigit === 2) {\n return number + '-ри';\n } else if (lastDigit === 7 || lastDigit === 8) {\n return number + '-ми';\n } else {\n return number + '-ти';\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return bg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bambara [bm]\n//! author : Estelle Comment : https://github.com/estellecomment\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var bm = moment.defineLocale('bm', {\n months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(\n '_'\n ),\n monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),\n weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),\n weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),\n weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'MMMM [tile] D [san] YYYY',\n LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',\n LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',\n },\n calendar: {\n sameDay: '[Bi lɛrɛ] LT',\n nextDay: '[Sini lɛrɛ] LT',\n nextWeek: 'dddd [don lɛrɛ] LT',\n lastDay: '[Kunu lɛrɛ] LT',\n lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s kɔnɔ',\n past: 'a bɛ %s bɔ',\n s: 'sanga dama dama',\n ss: 'sekondi %d',\n m: 'miniti kelen',\n mm: 'miniti %d',\n h: 'lɛrɛ kelen',\n hh: 'lɛrɛ %d',\n d: 'tile kelen',\n dd: 'tile %d',\n M: 'kalo kelen',\n MM: 'kalo %d',\n y: 'san kelen',\n yy: 'san %d',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return bm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bengali (Bangladesh) [bn-bd]\n//! author : Asraf Hossain Patoary : https://github.com/ashwoolford\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '১',\n 2: '২',\n 3: '৩',\n 4: '৪',\n 5: '৫',\n 6: '৬',\n 7: '৭',\n 8: '৮',\n 9: '৯',\n 0: '০',\n },\n numberMap = {\n '১': '1',\n '২': '2',\n '৩': '3',\n '৪': '4',\n '৫': '5',\n '৬': '6',\n '৭': '7',\n '৮': '8',\n '৯': '9',\n '০': '0',\n };\n\n var bnBd = moment.defineLocale('bn-bd', {\n months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(\n '_'\n ),\n monthsShort:\n 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(\n '_'\n ),\n weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(\n '_'\n ),\n weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),\n weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),\n longDateFormat: {\n LT: 'A h:mm সময়',\n LTS: 'A h:mm:ss সময়',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm সময়',\n LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',\n },\n calendar: {\n sameDay: '[আজ] LT',\n nextDay: '[আগামীকাল] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[গতকাল] LT',\n lastWeek: '[গত] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s পরে',\n past: '%s আগে',\n s: 'কয়েক সেকেন্ড',\n ss: '%d সেকেন্ড',\n m: 'এক মিনিট',\n mm: '%d মিনিট',\n h: 'এক ঘন্টা',\n hh: '%d ঘন্টা',\n d: 'এক দিন',\n dd: '%d দিন',\n M: 'এক মাস',\n MM: '%d মাস',\n y: 'এক বছর',\n yy: '%d বছর',\n },\n preparse: function (string) {\n return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n\n meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'রাত') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ভোর') {\n return hour;\n } else if (meridiem === 'সকাল') {\n return hour;\n } else if (meridiem === 'দুপুর') {\n return hour >= 3 ? hour : hour + 12;\n } else if (meridiem === 'বিকাল') {\n return hour + 12;\n } else if (meridiem === 'সন্ধ্যা') {\n return hour + 12;\n }\n },\n\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'রাত';\n } else if (hour < 6) {\n return 'ভোর';\n } else if (hour < 12) {\n return 'সকাল';\n } else if (hour < 15) {\n return 'দুপুর';\n } else if (hour < 18) {\n return 'বিকাল';\n } else if (hour < 20) {\n return 'সন্ধ্যা';\n } else {\n return 'রাত';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return bnBd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bengali [bn]\n//! author : Kaushik Gandhi : https://github.com/kaushikgandhi\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '১',\n 2: '২',\n 3: '৩',\n 4: '৪',\n 5: '৫',\n 6: '৬',\n 7: '৭',\n 8: '৮',\n 9: '৯',\n 0: '০',\n },\n numberMap = {\n '১': '1',\n '২': '2',\n '৩': '3',\n '৪': '4',\n '৫': '5',\n '৬': '6',\n '৭': '7',\n '৮': '8',\n '৯': '9',\n '০': '0',\n };\n\n var bn = moment.defineLocale('bn', {\n months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(\n '_'\n ),\n monthsShort:\n 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(\n '_'\n ),\n weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(\n '_'\n ),\n weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),\n weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),\n longDateFormat: {\n LT: 'A h:mm সময়',\n LTS: 'A h:mm:ss সময়',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm সময়',\n LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',\n },\n calendar: {\n sameDay: '[আজ] LT',\n nextDay: '[আগামীকাল] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[গতকাল] LT',\n lastWeek: '[গত] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s পরে',\n past: '%s আগে',\n s: 'কয়েক সেকেন্ড',\n ss: '%d সেকেন্ড',\n m: 'এক মিনিট',\n mm: '%d মিনিট',\n h: 'এক ঘন্টা',\n hh: '%d ঘন্টা',\n d: 'এক দিন',\n dd: '%d দিন',\n M: 'এক মাস',\n MM: '%d মাস',\n y: 'এক বছর',\n yy: '%d বছর',\n },\n preparse: function (string) {\n return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (\n (meridiem === 'রাত' && hour >= 4) ||\n (meridiem === 'দুপুর' && hour < 5) ||\n meridiem === 'বিকাল'\n ) {\n return hour + 12;\n } else {\n return hour;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'রাত';\n } else if (hour < 10) {\n return 'সকাল';\n } else if (hour < 17) {\n return 'দুপুর';\n } else if (hour < 20) {\n return 'বিকাল';\n } else {\n return 'রাত';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return bn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tibetan [bo]\n//! author : Thupten N. Chakrishar : https://github.com/vajradog\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '༡',\n 2: '༢',\n 3: '༣',\n 4: '༤',\n 5: '༥',\n 6: '༦',\n 7: '༧',\n 8: '༨',\n 9: '༩',\n 0: '༠',\n },\n numberMap = {\n '༡': '1',\n '༢': '2',\n '༣': '3',\n '༤': '4',\n '༥': '5',\n '༦': '6',\n '༧': '7',\n '༨': '8',\n '༩': '9',\n '༠': '0',\n };\n\n var bo = moment.defineLocale('bo', {\n months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(\n '_'\n ),\n monthsShort:\n 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(\n '_'\n ),\n monthsShortRegex: /^(ཟླ་\\d{1,2})/,\n monthsParseExact: true,\n weekdays:\n 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(\n '_'\n ),\n weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(\n '_'\n ),\n weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm',\n LLLL: 'dddd, D MMMM YYYY, A h:mm',\n },\n calendar: {\n sameDay: '[དི་རིང] LT',\n nextDay: '[སང་ཉིན] LT',\n nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',\n lastDay: '[ཁ་སང] LT',\n lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s ལ་',\n past: '%s སྔན་ལ',\n s: 'ལམ་སང',\n ss: '%d སྐར་ཆ།',\n m: 'སྐར་མ་གཅིག',\n mm: '%d སྐར་མ',\n h: 'ཆུ་ཚོད་གཅིག',\n hh: '%d ཆུ་ཚོད',\n d: 'ཉིན་གཅིག',\n dd: '%d ཉིན་',\n M: 'ཟླ་བ་གཅིག',\n MM: '%d ཟླ་བ',\n y: 'ལོ་གཅིག',\n yy: '%d ལོ',\n },\n preparse: function (string) {\n return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (\n (meridiem === 'མཚན་མོ' && hour >= 4) ||\n (meridiem === 'ཉིན་གུང' && hour < 5) ||\n meridiem === 'དགོང་དག'\n ) {\n return hour + 12;\n } else {\n return hour;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'མཚན་མོ';\n } else if (hour < 10) {\n return 'ཞོགས་ཀས';\n } else if (hour < 17) {\n return 'ཉིན་གུང';\n } else if (hour < 20) {\n return 'དགོང་དག';\n } else {\n return 'མཚན་མོ';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return bo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Breton [br]\n//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function relativeTimeWithMutation(number, withoutSuffix, key) {\n var format = {\n mm: 'munutenn',\n MM: 'miz',\n dd: 'devezh',\n };\n return number + ' ' + mutation(format[key], number);\n }\n function specialMutationForYears(number) {\n switch (lastNumber(number)) {\n case 1:\n case 3:\n case 4:\n case 5:\n case 9:\n return number + ' bloaz';\n default:\n return number + ' vloaz';\n }\n }\n function lastNumber(number) {\n if (number > 9) {\n return lastNumber(number % 10);\n }\n return number;\n }\n function mutation(text, number) {\n if (number === 2) {\n return softMutation(text);\n }\n return text;\n }\n function softMutation(text) {\n var mutationTable = {\n m: 'v',\n b: 'v',\n d: 'z',\n };\n if (mutationTable[text.charAt(0)] === undefined) {\n return text;\n }\n return mutationTable[text.charAt(0)] + text.substring(1);\n }\n\n var monthsParse = [\n /^gen/i,\n /^c[ʼ\\']hwe/i,\n /^meu/i,\n /^ebr/i,\n /^mae/i,\n /^(mez|eve)/i,\n /^gou/i,\n /^eos/i,\n /^gwe/i,\n /^her/i,\n /^du/i,\n /^ker/i,\n ],\n monthsRegex =\n /^(genver|c[ʼ\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,\n monthsStrictRegex =\n /^(genver|c[ʼ\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,\n monthsShortStrictRegex =\n /^(gen|c[ʼ\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,\n fullWeekdaysParse = [\n /^sul/i,\n /^lun/i,\n /^meurzh/i,\n /^merc[ʼ\\']her/i,\n /^yaou/i,\n /^gwener/i,\n /^sadorn/i,\n ],\n shortWeekdaysParse = [\n /^Sul/i,\n /^Lun/i,\n /^Meu/i,\n /^Mer/i,\n /^Yao/i,\n /^Gwe/i,\n /^Sad/i,\n ],\n minWeekdaysParse = [\n /^Su/i,\n /^Lu/i,\n /^Me([^r]|$)/i,\n /^Mer/i,\n /^Ya/i,\n /^Gw/i,\n /^Sa/i,\n ];\n\n var br = moment.defineLocale('br', {\n months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(\n '_'\n ),\n monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),\n weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),\n weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),\n weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),\n weekdaysParse: minWeekdaysParse,\n fullWeekdaysParse: fullWeekdaysParse,\n shortWeekdaysParse: shortWeekdaysParse,\n minWeekdaysParse: minWeekdaysParse,\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: monthsStrictRegex,\n monthsShortStrictRegex: monthsShortStrictRegex,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [a viz] MMMM YYYY',\n LLL: 'D [a viz] MMMM YYYY HH:mm',\n LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Hiziv da] LT',\n nextDay: '[Warcʼhoazh da] LT',\n nextWeek: 'dddd [da] LT',\n lastDay: '[Decʼh da] LT',\n lastWeek: 'dddd [paset da] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'a-benn %s',\n past: '%s ʼzo',\n s: 'un nebeud segondennoù',\n ss: '%d eilenn',\n m: 'ur vunutenn',\n mm: relativeTimeWithMutation,\n h: 'un eur',\n hh: '%d eur',\n d: 'un devezh',\n dd: relativeTimeWithMutation,\n M: 'ur miz',\n MM: relativeTimeWithMutation,\n y: 'ur bloaz',\n yy: specialMutationForYears,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(añ|vet)/,\n ordinal: function (number) {\n var output = number === 1 ? 'añ' : 'vet';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn\n isPM: function (token) {\n return token === 'g.m.';\n },\n meridiem: function (hour, minute, isLower) {\n return hour < 12 ? 'a.m.' : 'g.m.';\n },\n });\n\n return br;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bosnian [bs]\n//! author : Nedim Cholich : https://github.com/frontyard\n//! author : Rasid Redzic : https://github.com/rasidre\n//! based on (hr) translation by Bojan Marković\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n switch (key) {\n case 'm':\n return withoutSuffix\n ? 'jedna minuta'\n : isFuture\n ? 'jednu minutu'\n : 'jedne minute';\n }\n }\n\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n switch (key) {\n case 'ss':\n if (number === 1) {\n result += 'sekunda';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sekunde';\n } else {\n result += 'sekundi';\n }\n return result;\n case 'mm':\n if (number === 1) {\n result += 'minuta';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'minute';\n } else {\n result += 'minuta';\n }\n return result;\n case 'h':\n return withoutSuffix ? 'jedan sat' : 'jedan sat';\n case 'hh':\n if (number === 1) {\n result += 'sat';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sata';\n } else {\n result += 'sati';\n }\n return result;\n case 'dd':\n if (number === 1) {\n result += 'dan';\n } else {\n result += 'dana';\n }\n return result;\n case 'MM':\n if (number === 1) {\n result += 'mjesec';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'mjeseca';\n } else {\n result += 'mjeseci';\n }\n return result;\n case 'yy':\n if (number === 1) {\n result += 'godina';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'godine';\n } else {\n result += 'godina';\n }\n return result;\n }\n }\n\n var bs = moment.defineLocale('bs', {\n months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(\n '_'\n ),\n monthsShort:\n 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n '_'\n ),\n weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sutra u] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n case 3:\n return '[u] [srijedu] [u] LT';\n case 6:\n return '[u] [subotu] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[jučer u] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n return '[prošlu] dddd [u] LT';\n case 6:\n return '[prošle] [subote] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[prošli] dddd [u] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'prije %s',\n s: 'par sekundi',\n ss: translate,\n m: processRelativeTime,\n mm: translate,\n h: translate,\n hh: translate,\n d: 'dan',\n dd: translate,\n M: 'mjesec',\n MM: translate,\n y: 'godinu',\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return bs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Catalan [ca]\n//! author : Juan G. Hurtado : https://github.com/juanghurtado\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ca = moment.defineLocale('ca', {\n months: {\n standalone:\n 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(\n '_'\n ),\n format: \"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre\".split(\n '_'\n ),\n isFormat: /D[oD]?(\\s)+MMMM/,\n },\n monthsShort:\n 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays:\n 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(\n '_'\n ),\n weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),\n weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM [de] YYYY',\n ll: 'D MMM YYYY',\n LLL: 'D MMMM [de] YYYY [a les] H:mm',\n lll: 'D MMM YYYY, H:mm',\n LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',\n llll: 'ddd D MMM YYYY, H:mm',\n },\n calendar: {\n sameDay: function () {\n return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n nextDay: function () {\n return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n lastDay: function () {\n return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n lastWeek: function () {\n return (\n '[el] dddd [passat a ' +\n (this.hours() !== 1 ? 'les' : 'la') +\n '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: \"d'aquí %s\",\n past: 'fa %s',\n s: 'uns segons',\n ss: '%d segons',\n m: 'un minut',\n mm: '%d minuts',\n h: 'una hora',\n hh: '%d hores',\n d: 'un dia',\n dd: '%d dies',\n M: 'un mes',\n MM: '%d mesos',\n y: 'un any',\n yy: '%d anys',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(r|n|t|è|a)/,\n ordinal: function (number, period) {\n var output =\n number === 1\n ? 'r'\n : number === 2\n ? 'n'\n : number === 3\n ? 'r'\n : number === 4\n ? 't'\n : 'è';\n if (period === 'w' || period === 'W') {\n output = 'a';\n }\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return ca;\n\n})));\n","//! moment.js locale configuration\n//! locale : Czech [cs]\n//! author : petrbela : https://github.com/petrbela\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = {\n standalone:\n 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(\n '_'\n ),\n format: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split(\n '_'\n ),\n isFormat: /DD?[o.]?(\\[[^\\[\\]]*\\]|\\s)+MMMM/,\n },\n monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),\n monthsParse = [\n /^led/i,\n /^úno/i,\n /^bře/i,\n /^dub/i,\n /^kvě/i,\n /^(čvn|červen$|června)/i,\n /^(čvc|červenec|července)/i,\n /^srp/i,\n /^zář/i,\n /^říj/i,\n /^lis/i,\n /^pro/i,\n ],\n // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.\n // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.\n monthsRegex =\n /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;\n\n function plural(n) {\n return n > 1 && n < 5 && ~~(n / 10) !== 1;\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n switch (key) {\n case 's': // a few seconds / in a few seconds / a few seconds ago\n return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';\n case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'sekundy' : 'sekund');\n } else {\n return result + 'sekundami';\n }\n case 'm': // a minute / in a minute / a minute ago\n return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';\n case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'minuty' : 'minut');\n } else {\n return result + 'minutami';\n }\n case 'h': // an hour / in an hour / an hour ago\n return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n case 'hh': // 9 hours / in 9 hours / 9 hours ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'hodiny' : 'hodin');\n } else {\n return result + 'hodinami';\n }\n case 'd': // a day / in a day / a day ago\n return withoutSuffix || isFuture ? 'den' : 'dnem';\n case 'dd': // 9 days / in 9 days / 9 days ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'dny' : 'dní');\n } else {\n return result + 'dny';\n }\n case 'M': // a month / in a month / a month ago\n return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';\n case 'MM': // 9 months / in 9 months / 9 months ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'měsíce' : 'měsíců');\n } else {\n return result + 'měsíci';\n }\n case 'y': // a year / in a year / a year ago\n return withoutSuffix || isFuture ? 'rok' : 'rokem';\n case 'yy': // 9 years / in 9 years / 9 years ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'roky' : 'let');\n } else {\n return result + 'lety';\n }\n }\n }\n\n var cs = moment.defineLocale('cs', {\n months: months,\n monthsShort: monthsShort,\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.\n // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.\n monthsStrictRegex:\n /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,\n monthsShortStrictRegex:\n /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),\n weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),\n weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd D. MMMM YYYY H:mm',\n l: 'D. M. YYYY',\n },\n calendar: {\n sameDay: '[dnes v] LT',\n nextDay: '[zítra v] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[v neděli v] LT';\n case 1:\n case 2:\n return '[v] dddd [v] LT';\n case 3:\n return '[ve středu v] LT';\n case 4:\n return '[ve čtvrtek v] LT';\n case 5:\n return '[v pátek v] LT';\n case 6:\n return '[v sobotu v] LT';\n }\n },\n lastDay: '[včera v] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[minulou neděli v] LT';\n case 1:\n case 2:\n return '[minulé] dddd [v] LT';\n case 3:\n return '[minulou středu v] LT';\n case 4:\n case 5:\n return '[minulý] dddd [v] LT';\n case 6:\n return '[minulou sobotu v] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'před %s',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return cs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chuvash [cv]\n//! author : Anatoly Mironov : https://github.com/mirontoli\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var cv = moment.defineLocale('cv', {\n months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(\n '_'\n ),\n monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),\n weekdays:\n 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(\n '_'\n ),\n weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),\n weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD-MM-YYYY',\n LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',\n LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',\n LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',\n },\n calendar: {\n sameDay: '[Паян] LT [сехетре]',\n nextDay: '[Ыран] LT [сехетре]',\n lastDay: '[Ӗнер] LT [сехетре]',\n nextWeek: '[Ҫитес] dddd LT [сехетре]',\n lastWeek: '[Иртнӗ] dddd LT [сехетре]',\n sameElse: 'L',\n },\n relativeTime: {\n future: function (output) {\n var affix = /сехет$/i.exec(output)\n ? 'рен'\n : /ҫул$/i.exec(output)\n ? 'тан'\n : 'ран';\n return output + affix;\n },\n past: '%s каялла',\n s: 'пӗр-ик ҫеккунт',\n ss: '%d ҫеккунт',\n m: 'пӗр минут',\n mm: '%d минут',\n h: 'пӗр сехет',\n hh: '%d сехет',\n d: 'пӗр кун',\n dd: '%d кун',\n M: 'пӗр уйӑх',\n MM: '%d уйӑх',\n y: 'пӗр ҫул',\n yy: '%d ҫул',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-мӗш/,\n ordinal: '%d-мӗш',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return cv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Welsh [cy]\n//! author : Robert Allen : https://github.com/robgallen\n//! author : https://github.com/ryangreaves\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var cy = moment.defineLocale('cy', {\n months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(\n '_'\n ),\n monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(\n '_'\n ),\n weekdays:\n 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(\n '_'\n ),\n weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),\n weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),\n weekdaysParseExact: true,\n // time formats are the same as en-gb\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Heddiw am] LT',\n nextDay: '[Yfory am] LT',\n nextWeek: 'dddd [am] LT',\n lastDay: '[Ddoe am] LT',\n lastWeek: 'dddd [diwethaf am] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'mewn %s',\n past: '%s yn ôl',\n s: 'ychydig eiliadau',\n ss: '%d eiliad',\n m: 'munud',\n mm: '%d munud',\n h: 'awr',\n hh: '%d awr',\n d: 'diwrnod',\n dd: '%d diwrnod',\n M: 'mis',\n MM: '%d mis',\n y: 'blwyddyn',\n yy: '%d flynedd',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,\n // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh\n ordinal: function (number) {\n var b = number,\n output = '',\n lookup = [\n '',\n 'af',\n 'il',\n 'ydd',\n 'ydd',\n 'ed',\n 'ed',\n 'ed',\n 'fed',\n 'fed',\n 'fed', // 1af to 10fed\n 'eg',\n 'fed',\n 'eg',\n 'eg',\n 'fed',\n 'eg',\n 'eg',\n 'fed',\n 'eg',\n 'fed', // 11eg to 20fed\n ];\n if (b > 20) {\n if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {\n output = 'fed'; // not 30ain, 70ain or 90ain\n } else {\n output = 'ain';\n }\n } else if (b > 0) {\n output = lookup[b];\n }\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return cy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Danish [da]\n//! author : Ulrik Nielsen : https://github.com/mrbase\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var da = moment.defineLocale('da', {\n months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),\n weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),\n weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',\n },\n calendar: {\n sameDay: '[i dag kl.] LT',\n nextDay: '[i morgen kl.] LT',\n nextWeek: 'på dddd [kl.] LT',\n lastDay: '[i går kl.] LT',\n lastWeek: '[i] dddd[s kl.] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'om %s',\n past: '%s siden',\n s: 'få sekunder',\n ss: '%d sekunder',\n m: 'et minut',\n mm: '%d minutter',\n h: 'en time',\n hh: '%d timer',\n d: 'en dag',\n dd: '%d dage',\n M: 'en måned',\n MM: '%d måneder',\n y: 'et år',\n yy: '%d år',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return da;\n\n})));\n","//! moment.js locale configuration\n//! locale : German (Austria) [de-at]\n//! author : lluchs : https://github.com/lluchs\n//! author: Menelion Elensúle: https://github.com/Oire\n//! author : Martin Groller : https://github.com/MadMG\n//! author : Mikolaj Dadela : https://github.com/mik01aj\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n m: ['eine Minute', 'einer Minute'],\n h: ['eine Stunde', 'einer Stunde'],\n d: ['ein Tag', 'einem Tag'],\n dd: [number + ' Tage', number + ' Tagen'],\n w: ['eine Woche', 'einer Woche'],\n M: ['ein Monat', 'einem Monat'],\n MM: [number + ' Monate', number + ' Monaten'],\n y: ['ein Jahr', 'einem Jahr'],\n yy: [number + ' Jahre', number + ' Jahren'],\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var deAt = moment.defineLocale('de-at', {\n months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n '_'\n ),\n monthsShort:\n 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n monthsParseExact: true,\n weekdays:\n 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n '_'\n ),\n weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd, D. MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]',\n },\n relativeTime: {\n future: 'in %s',\n past: 'vor %s',\n s: 'ein paar Sekunden',\n ss: '%d Sekunden',\n m: processRelativeTime,\n mm: '%d Minuten',\n h: processRelativeTime,\n hh: '%d Stunden',\n d: processRelativeTime,\n dd: processRelativeTime,\n w: processRelativeTime,\n ww: '%d Wochen',\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return deAt;\n\n})));\n","//! moment.js locale configuration\n//! locale : German (Switzerland) [de-ch]\n//! author : sschueller : https://github.com/sschueller\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n m: ['eine Minute', 'einer Minute'],\n h: ['eine Stunde', 'einer Stunde'],\n d: ['ein Tag', 'einem Tag'],\n dd: [number + ' Tage', number + ' Tagen'],\n w: ['eine Woche', 'einer Woche'],\n M: ['ein Monat', 'einem Monat'],\n MM: [number + ' Monate', number + ' Monaten'],\n y: ['ein Jahr', 'einem Jahr'],\n yy: [number + ' Jahre', number + ' Jahren'],\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var deCh = moment.defineLocale('de-ch', {\n months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n '_'\n ),\n monthsShort:\n 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n monthsParseExact: true,\n weekdays:\n 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n '_'\n ),\n weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd, D. MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]',\n },\n relativeTime: {\n future: 'in %s',\n past: 'vor %s',\n s: 'ein paar Sekunden',\n ss: '%d Sekunden',\n m: processRelativeTime,\n mm: '%d Minuten',\n h: processRelativeTime,\n hh: '%d Stunden',\n d: processRelativeTime,\n dd: processRelativeTime,\n w: processRelativeTime,\n ww: '%d Wochen',\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return deCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : German [de]\n//! author : lluchs : https://github.com/lluchs\n//! author: Menelion Elensúle: https://github.com/Oire\n//! author : Mikolaj Dadela : https://github.com/mik01aj\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n m: ['eine Minute', 'einer Minute'],\n h: ['eine Stunde', 'einer Stunde'],\n d: ['ein Tag', 'einem Tag'],\n dd: [number + ' Tage', number + ' Tagen'],\n w: ['eine Woche', 'einer Woche'],\n M: ['ein Monat', 'einem Monat'],\n MM: [number + ' Monate', number + ' Monaten'],\n y: ['ein Jahr', 'einem Jahr'],\n yy: [number + ' Jahre', number + ' Jahren'],\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var de = moment.defineLocale('de', {\n months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n '_'\n ),\n monthsShort:\n 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n monthsParseExact: true,\n weekdays:\n 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n '_'\n ),\n weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd, D. MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]',\n },\n relativeTime: {\n future: 'in %s',\n past: 'vor %s',\n s: 'ein paar Sekunden',\n ss: '%d Sekunden',\n m: processRelativeTime,\n mm: '%d Minuten',\n h: processRelativeTime,\n hh: '%d Stunden',\n d: processRelativeTime,\n dd: processRelativeTime,\n w: processRelativeTime,\n ww: '%d Wochen',\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return de;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maldivian [dv]\n//! author : Jawish Hameed : https://github.com/jawish\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = [\n 'ޖެނުއަރީ',\n 'ފެބްރުއަރީ',\n 'މާރިޗު',\n 'އޭޕްރީލު',\n 'މޭ',\n 'ޖޫން',\n 'ޖުލައި',\n 'އޯގަސްޓު',\n 'ސެޕްޓެމްބަރު',\n 'އޮކްޓޯބަރު',\n 'ނޮވެމްބަރު',\n 'ޑިސެމްބަރު',\n ],\n weekdays = [\n 'އާދިއްތަ',\n 'ހޯމަ',\n 'އަންގާރަ',\n 'ބުދަ',\n 'ބުރާސްފަތި',\n 'ހުކުރު',\n 'ހޮނިހިރު',\n ];\n\n var dv = moment.defineLocale('dv', {\n months: months,\n monthsShort: months,\n weekdays: weekdays,\n weekdaysShort: weekdays,\n weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'D/M/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /މކ|މފ/,\n isPM: function (input) {\n return 'މފ' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'މކ';\n } else {\n return 'މފ';\n }\n },\n calendar: {\n sameDay: '[މިއަދު] LT',\n nextDay: '[މާދަމާ] LT',\n nextWeek: 'dddd LT',\n lastDay: '[އިއްޔެ] LT',\n lastWeek: '[ފާއިތުވި] dddd LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'ތެރޭގައި %s',\n past: 'ކުރިން %s',\n s: 'ސިކުންތުކޮޅެއް',\n ss: 'd% ސިކުންތު',\n m: 'މިނިޓެއް',\n mm: 'މިނިޓު %d',\n h: 'ގަޑިއިރެއް',\n hh: 'ގަޑިއިރު %d',\n d: 'ދުވަހެއް',\n dd: 'ދުވަސް %d',\n M: 'މަހެއް',\n MM: 'މަސް %d',\n y: 'އަހަރެއް',\n yy: 'އަހަރު %d',\n },\n preparse: function (string) {\n return string.replace(/،/g, ',');\n },\n postformat: function (string) {\n return string.replace(/,/g, '،');\n },\n week: {\n dow: 7, // Sunday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return dv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Greek [el]\n//! author : Aggelos Karalias : https://github.com/mehiel\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function isFunction(input) {\n return (\n (typeof Function !== 'undefined' && input instanceof Function) ||\n Object.prototype.toString.call(input) === '[object Function]'\n );\n }\n\n var el = moment.defineLocale('el', {\n monthsNominativeEl:\n 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(\n '_'\n ),\n monthsGenitiveEl:\n 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(\n '_'\n ),\n months: function (momentToFormat, format) {\n if (!momentToFormat) {\n return this._monthsNominativeEl;\n } else if (\n typeof format === 'string' &&\n /D/.test(format.substring(0, format.indexOf('MMMM')))\n ) {\n // if there is a day number before 'MMMM'\n return this._monthsGenitiveEl[momentToFormat.month()];\n } else {\n return this._monthsNominativeEl[momentToFormat.month()];\n }\n },\n monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),\n weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(\n '_'\n ),\n weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),\n weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),\n meridiem: function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'μμ' : 'ΜΜ';\n } else {\n return isLower ? 'πμ' : 'ΠΜ';\n }\n },\n isPM: function (input) {\n return (input + '').toLowerCase()[0] === 'μ';\n },\n meridiemParse: /[ΠΜ]\\.?Μ?\\.?/i,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendarEl: {\n sameDay: '[Σήμερα {}] LT',\n nextDay: '[Αύριο {}] LT',\n nextWeek: 'dddd [{}] LT',\n lastDay: '[Χθες {}] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 6:\n return '[το προηγούμενο] dddd [{}] LT';\n default:\n return '[την προηγούμενη] dddd [{}] LT';\n }\n },\n sameElse: 'L',\n },\n calendar: function (key, mom) {\n var output = this._calendarEl[key],\n hours = mom && mom.hours();\n if (isFunction(output)) {\n output = output.apply(mom);\n }\n return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');\n },\n relativeTime: {\n future: 'σε %s',\n past: '%s πριν',\n s: 'λίγα δευτερόλεπτα',\n ss: '%d δευτερόλεπτα',\n m: 'ένα λεπτό',\n mm: '%d λεπτά',\n h: 'μία ώρα',\n hh: '%d ώρες',\n d: 'μία μέρα',\n dd: '%d μέρες',\n M: 'ένας μήνας',\n MM: '%d μήνες',\n y: 'ένας χρόνος',\n yy: '%d χρόνια',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}η/,\n ordinal: '%dη',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4st is the first week of the year.\n },\n });\n\n return el;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Australia) [en-au]\n//! author : Jared Morse : https://github.com/jarcoal\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enAu = moment.defineLocale('en-au', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return enAu;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Canada) [en-ca]\n//! author : Jonathan Abourbih : https://github.com/jonbca\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enCa = moment.defineLocale('en-ca', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'YYYY-MM-DD',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n });\n\n return enCa;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (United Kingdom) [en-gb]\n//! author : Chris Gedrim : https://github.com/chrisgedrim\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enGb = moment.defineLocale('en-gb', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return enGb;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Ireland) [en-ie]\n//! author : Chris Cartlidge : https://github.com/chriscartlidge\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enIe = moment.defineLocale('en-ie', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return enIe;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Israel) [en-il]\n//! author : Chris Gedrim : https://github.com/chrisgedrim\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enIl = moment.defineLocale('en-il', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n });\n\n return enIl;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (India) [en-in]\n//! author : Jatin Agrawal : https://github.com/jatinag22\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enIn = moment.defineLocale('en-in', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 1st is the first week of the year.\n },\n });\n\n return enIn;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (New Zealand) [en-nz]\n//! author : Luke McGregor : https://github.com/lukemcgregor\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enNz = moment.defineLocale('en-nz', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return enNz;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Singapore) [en-sg]\n//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enSg = moment.defineLocale('en-sg', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return enSg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Esperanto [eo]\n//! author : Colin Dean : https://github.com/colindean\n//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia\n//! comment : miestasmia corrected the translation by colindean\n//! comment : Vivakvo corrected the translation by colindean and miestasmia\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var eo = moment.defineLocale('eo', {\n months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),\n weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),\n weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),\n weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: '[la] D[-an de] MMMM, YYYY',\n LLL: '[la] D[-an de] MMMM, YYYY HH:mm',\n LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',\n llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',\n },\n meridiemParse: /[ap]\\.t\\.m/i,\n isPM: function (input) {\n return input.charAt(0).toLowerCase() === 'p';\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'p.t.m.' : 'P.T.M.';\n } else {\n return isLower ? 'a.t.m.' : 'A.T.M.';\n }\n },\n calendar: {\n sameDay: '[Hodiaŭ je] LT',\n nextDay: '[Morgaŭ je] LT',\n nextWeek: 'dddd[n je] LT',\n lastDay: '[Hieraŭ je] LT',\n lastWeek: '[pasintan] dddd[n je] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'post %s',\n past: 'antaŭ %s',\n s: 'kelkaj sekundoj',\n ss: '%d sekundoj',\n m: 'unu minuto',\n mm: '%d minutoj',\n h: 'unu horo',\n hh: '%d horoj',\n d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo\n dd: '%d tagoj',\n M: 'unu monato',\n MM: '%d monatoj',\n y: 'unu jaro',\n yy: '%d jaroj',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}a/,\n ordinal: '%da',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return eo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (Dominican Republic) [es-do]\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortDot =\n 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n '_'\n ),\n monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n monthsParse = [\n /^ene/i,\n /^feb/i,\n /^mar/i,\n /^abr/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^ago/i,\n /^sep/i,\n /^oct/i,\n /^nov/i,\n /^dic/i,\n ],\n monthsRegex =\n /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n var esDo = moment.defineLocale('es-do', {\n months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortDot;\n } else if (/-MMM-/.test(format)) {\n return monthsShort[m.month()];\n } else {\n return monthsShortDot[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex:\n /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n monthsShortStrictRegex:\n /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY h:mm A',\n LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',\n },\n calendar: {\n sameDay: function () {\n return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextDay: function () {\n return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastDay: function () {\n return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastWeek: function () {\n return (\n '[el] dddd [pasado a la' +\n (this.hours() !== 1 ? 's' : '') +\n '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'en %s',\n past: 'hace %s',\n s: 'unos segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'una hora',\n hh: '%d horas',\n d: 'un día',\n dd: '%d días',\n w: 'una semana',\n ww: '%d semanas',\n M: 'un mes',\n MM: '%d meses',\n y: 'un año',\n yy: '%d años',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return esDo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (Mexico) [es-mx]\n//! author : JC Franco : https://github.com/jcfranco\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortDot =\n 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n '_'\n ),\n monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n monthsParse = [\n /^ene/i,\n /^feb/i,\n /^mar/i,\n /^abr/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^ago/i,\n /^sep/i,\n /^oct/i,\n /^nov/i,\n /^dic/i,\n ],\n monthsRegex =\n /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n var esMx = moment.defineLocale('es-mx', {\n months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortDot;\n } else if (/-MMM-/.test(format)) {\n return monthsShort[m.month()];\n } else {\n return monthsShortDot[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex:\n /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n monthsShortStrictRegex:\n /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY H:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n },\n calendar: {\n sameDay: function () {\n return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextDay: function () {\n return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastDay: function () {\n return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastWeek: function () {\n return (\n '[el] dddd [pasado a la' +\n (this.hours() !== 1 ? 's' : '') +\n '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'en %s',\n past: 'hace %s',\n s: 'unos segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'una hora',\n hh: '%d horas',\n d: 'un día',\n dd: '%d días',\n w: 'una semana',\n ww: '%d semanas',\n M: 'un mes',\n MM: '%d meses',\n y: 'un año',\n yy: '%d años',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n invalidDate: 'Fecha inválida',\n });\n\n return esMx;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (United States) [es-us]\n//! author : bustta : https://github.com/bustta\n//! author : chrisrodz : https://github.com/chrisrodz\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortDot =\n 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n '_'\n ),\n monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n monthsParse = [\n /^ene/i,\n /^feb/i,\n /^mar/i,\n /^abr/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^ago/i,\n /^sep/i,\n /^oct/i,\n /^nov/i,\n /^dic/i,\n ],\n monthsRegex =\n /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n var esUs = moment.defineLocale('es-us', {\n months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortDot;\n } else if (/-MMM-/.test(format)) {\n return monthsShort[m.month()];\n } else {\n return monthsShortDot[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex:\n /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n monthsShortStrictRegex:\n /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'MM/DD/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY h:mm A',\n LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',\n },\n calendar: {\n sameDay: function () {\n return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextDay: function () {\n return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastDay: function () {\n return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastWeek: function () {\n return (\n '[el] dddd [pasado a la' +\n (this.hours() !== 1 ? 's' : '') +\n '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'en %s',\n past: 'hace %s',\n s: 'unos segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'una hora',\n hh: '%d horas',\n d: 'un día',\n dd: '%d días',\n w: 'una semana',\n ww: '%d semanas',\n M: 'un mes',\n MM: '%d meses',\n y: 'un año',\n yy: '%d años',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return esUs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish [es]\n//! author : Julio Napurí : https://github.com/julionc\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortDot =\n 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n '_'\n ),\n monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n monthsParse = [\n /^ene/i,\n /^feb/i,\n /^mar/i,\n /^abr/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^ago/i,\n /^sep/i,\n /^oct/i,\n /^nov/i,\n /^dic/i,\n ],\n monthsRegex =\n /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n var es = moment.defineLocale('es', {\n months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortDot;\n } else if (/-MMM-/.test(format)) {\n return monthsShort[m.month()];\n } else {\n return monthsShortDot[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex:\n /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n monthsShortStrictRegex:\n /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY H:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n },\n calendar: {\n sameDay: function () {\n return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextDay: function () {\n return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastDay: function () {\n return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastWeek: function () {\n return (\n '[el] dddd [pasado a la' +\n (this.hours() !== 1 ? 's' : '') +\n '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'en %s',\n past: 'hace %s',\n s: 'unos segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'una hora',\n hh: '%d horas',\n d: 'un día',\n dd: '%d días',\n w: 'una semana',\n ww: '%d semanas',\n M: 'un mes',\n MM: '%d meses',\n y: 'un año',\n yy: '%d años',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n invalidDate: 'Fecha inválida',\n });\n\n return es;\n\n})));\n","//! moment.js locale configuration\n//! locale : Estonian [et]\n//! author : Henry Kehlmann : https://github.com/madhenry\n//! improvements : Illimar Tambek : https://github.com/ragulka\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],\n ss: [number + 'sekundi', number + 'sekundit'],\n m: ['ühe minuti', 'üks minut'],\n mm: [number + ' minuti', number + ' minutit'],\n h: ['ühe tunni', 'tund aega', 'üks tund'],\n hh: [number + ' tunni', number + ' tundi'],\n d: ['ühe päeva', 'üks päev'],\n M: ['kuu aja', 'kuu aega', 'üks kuu'],\n MM: [number + ' kuu', number + ' kuud'],\n y: ['ühe aasta', 'aasta', 'üks aasta'],\n yy: [number + ' aasta', number + ' aastat'],\n };\n if (withoutSuffix) {\n return format[key][2] ? format[key][2] : format[key][1];\n }\n return isFuture ? format[key][0] : format[key][1];\n }\n\n var et = moment.defineLocale('et', {\n months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(\n '_'\n ),\n monthsShort:\n 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),\n weekdays:\n 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(\n '_'\n ),\n weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),\n weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[Täna,] LT',\n nextDay: '[Homme,] LT',\n nextWeek: '[Järgmine] dddd LT',\n lastDay: '[Eile,] LT',\n lastWeek: '[Eelmine] dddd LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s pärast',\n past: '%s tagasi',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: '%d päeva',\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return et;\n\n})));\n","//! moment.js locale configuration\n//! locale : Basque [eu]\n//! author : Eneko Illarramendi : https://github.com/eillarra\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var eu = moment.defineLocale('eu', {\n months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(\n '_'\n ),\n monthsShort:\n 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays:\n 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(\n '_'\n ),\n weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),\n weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY[ko] MMMM[ren] D[a]',\n LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',\n LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',\n l: 'YYYY-M-D',\n ll: 'YYYY[ko] MMM D[a]',\n lll: 'YYYY[ko] MMM D[a] HH:mm',\n llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',\n },\n calendar: {\n sameDay: '[gaur] LT[etan]',\n nextDay: '[bihar] LT[etan]',\n nextWeek: 'dddd LT[etan]',\n lastDay: '[atzo] LT[etan]',\n lastWeek: '[aurreko] dddd LT[etan]',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s barru',\n past: 'duela %s',\n s: 'segundo batzuk',\n ss: '%d segundo',\n m: 'minutu bat',\n mm: '%d minutu',\n h: 'ordu bat',\n hh: '%d ordu',\n d: 'egun bat',\n dd: '%d egun',\n M: 'hilabete bat',\n MM: '%d hilabete',\n y: 'urte bat',\n yy: '%d urte',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return eu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Persian [fa]\n//! author : Ebrahim Byagowi : https://github.com/ebraminio\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '۱',\n 2: '۲',\n 3: '۳',\n 4: '۴',\n 5: '۵',\n 6: '۶',\n 7: '۷',\n 8: '۸',\n 9: '۹',\n 0: '۰',\n },\n numberMap = {\n '۱': '1',\n '۲': '2',\n '۳': '3',\n '۴': '4',\n '۵': '5',\n '۶': '6',\n '۷': '7',\n '۸': '8',\n '۹': '9',\n '۰': '0',\n };\n\n var fa = moment.defineLocale('fa', {\n months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(\n '_'\n ),\n monthsShort:\n 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(\n '_'\n ),\n weekdays:\n 'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split(\n '_'\n ),\n weekdaysShort:\n 'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split(\n '_'\n ),\n weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n meridiemParse: /قبل از ظهر|بعد از ظهر/,\n isPM: function (input) {\n return /بعد از ظهر/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'قبل از ظهر';\n } else {\n return 'بعد از ظهر';\n }\n },\n calendar: {\n sameDay: '[امروز ساعت] LT',\n nextDay: '[فردا ساعت] LT',\n nextWeek: 'dddd [ساعت] LT',\n lastDay: '[دیروز ساعت] LT',\n lastWeek: 'dddd [پیش] [ساعت] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'در %s',\n past: '%s پیش',\n s: 'چند ثانیه',\n ss: '%d ثانیه',\n m: 'یک دقیقه',\n mm: '%d دقیقه',\n h: 'یک ساعت',\n hh: '%d ساعت',\n d: 'یک روز',\n dd: '%d روز',\n M: 'یک ماه',\n MM: '%d ماه',\n y: 'یک سال',\n yy: '%d سال',\n },\n preparse: function (string) {\n return string\n .replace(/[۰-۹]/g, function (match) {\n return numberMap[match];\n })\n .replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n dayOfMonthOrdinalParse: /\\d{1,2}م/,\n ordinal: '%dم',\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return fa;\n\n})));\n","//! moment.js locale configuration\n//! locale : Finnish [fi]\n//! author : Tarmo Aidantausta : https://github.com/bleadof\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var numbersPast =\n 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(\n ' '\n ),\n numbersFuture = [\n 'nolla',\n 'yhden',\n 'kahden',\n 'kolmen',\n 'neljän',\n 'viiden',\n 'kuuden',\n numbersPast[7],\n numbersPast[8],\n numbersPast[9],\n ];\n function translate(number, withoutSuffix, key, isFuture) {\n var result = '';\n switch (key) {\n case 's':\n return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';\n case 'ss':\n result = isFuture ? 'sekunnin' : 'sekuntia';\n break;\n case 'm':\n return isFuture ? 'minuutin' : 'minuutti';\n case 'mm':\n result = isFuture ? 'minuutin' : 'minuuttia';\n break;\n case 'h':\n return isFuture ? 'tunnin' : 'tunti';\n case 'hh':\n result = isFuture ? 'tunnin' : 'tuntia';\n break;\n case 'd':\n return isFuture ? 'päivän' : 'päivä';\n case 'dd':\n result = isFuture ? 'päivän' : 'päivää';\n break;\n case 'M':\n return isFuture ? 'kuukauden' : 'kuukausi';\n case 'MM':\n result = isFuture ? 'kuukauden' : 'kuukautta';\n break;\n case 'y':\n return isFuture ? 'vuoden' : 'vuosi';\n case 'yy':\n result = isFuture ? 'vuoden' : 'vuotta';\n break;\n }\n result = verbalNumber(number, isFuture) + ' ' + result;\n return result;\n }\n function verbalNumber(number, isFuture) {\n return number < 10\n ? isFuture\n ? numbersFuture[number]\n : numbersPast[number]\n : number;\n }\n\n var fi = moment.defineLocale('fi', {\n months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(\n '_'\n ),\n monthsShort:\n 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(\n '_'\n ),\n weekdays:\n 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(\n '_'\n ),\n weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),\n weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD.MM.YYYY',\n LL: 'Do MMMM[ta] YYYY',\n LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',\n LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',\n l: 'D.M.YYYY',\n ll: 'Do MMM YYYY',\n lll: 'Do MMM YYYY, [klo] HH.mm',\n llll: 'ddd, Do MMM YYYY, [klo] HH.mm',\n },\n calendar: {\n sameDay: '[tänään] [klo] LT',\n nextDay: '[huomenna] [klo] LT',\n nextWeek: 'dddd [klo] LT',\n lastDay: '[eilen] [klo] LT',\n lastWeek: '[viime] dddd[na] [klo] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s päästä',\n past: '%s sitten',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return fi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Filipino [fil]\n//! author : Dan Hagman : https://github.com/hagmandan\n//! author : Matthew Co : https://github.com/matthewdeeco\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var fil = moment.defineLocale('fil', {\n months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(\n '_'\n ),\n monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),\n weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(\n '_'\n ),\n weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),\n weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'MM/D/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY HH:mm',\n LLLL: 'dddd, MMMM DD, YYYY HH:mm',\n },\n calendar: {\n sameDay: 'LT [ngayong araw]',\n nextDay: '[Bukas ng] LT',\n nextWeek: 'LT [sa susunod na] dddd',\n lastDay: 'LT [kahapon]',\n lastWeek: 'LT [noong nakaraang] dddd',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'sa loob ng %s',\n past: '%s ang nakalipas',\n s: 'ilang segundo',\n ss: '%d segundo',\n m: 'isang minuto',\n mm: '%d minuto',\n h: 'isang oras',\n hh: '%d oras',\n d: 'isang araw',\n dd: '%d araw',\n M: 'isang buwan',\n MM: '%d buwan',\n y: 'isang taon',\n yy: '%d taon',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: function (number) {\n return number;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return fil;\n\n})));\n","//! moment.js locale configuration\n//! locale : Faroese [fo]\n//! author : Ragnar Johannesen : https://github.com/ragnar123\n//! author : Kristian Sakarisson : https://github.com/sakarisson\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var fo = moment.defineLocale('fo', {\n months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),\n weekdays:\n 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(\n '_'\n ),\n weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),\n weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D. MMMM, YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Í dag kl.] LT',\n nextDay: '[Í morgin kl.] LT',\n nextWeek: 'dddd [kl.] LT',\n lastDay: '[Í gjár kl.] LT',\n lastWeek: '[síðstu] dddd [kl] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'um %s',\n past: '%s síðani',\n s: 'fá sekund',\n ss: '%d sekundir',\n m: 'ein minuttur',\n mm: '%d minuttir',\n h: 'ein tími',\n hh: '%d tímar',\n d: 'ein dagur',\n dd: '%d dagar',\n M: 'ein mánaður',\n MM: '%d mánaðir',\n y: 'eitt ár',\n yy: '%d ár',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return fo;\n\n})));\n","//! moment.js locale configuration\n//! locale : French (Canada) [fr-ca]\n//! author : Jonathan Abourbih : https://github.com/jonbca\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var frCa = moment.defineLocale('fr-ca', {\n months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n '_'\n ),\n monthsShort:\n 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Aujourd’hui à] LT',\n nextDay: '[Demain à] LT',\n nextWeek: 'dddd [à] LT',\n lastDay: '[Hier à] LT',\n lastWeek: 'dddd [dernier à] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dans %s',\n past: 'il y a %s',\n s: 'quelques secondes',\n ss: '%d secondes',\n m: 'une minute',\n mm: '%d minutes',\n h: 'une heure',\n hh: '%d heures',\n d: 'un jour',\n dd: '%d jours',\n M: 'un mois',\n MM: '%d mois',\n y: 'un an',\n yy: '%d ans',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n ordinal: function (number, period) {\n switch (period) {\n // Words with masculine grammatical gender: mois, trimestre, jour\n default:\n case 'M':\n case 'Q':\n case 'D':\n case 'DDD':\n case 'd':\n return number + (number === 1 ? 'er' : 'e');\n\n // Words with feminine grammatical gender: semaine\n case 'w':\n case 'W':\n return number + (number === 1 ? 're' : 'e');\n }\n },\n });\n\n return frCa;\n\n})));\n","//! moment.js locale configuration\n//! locale : French (Switzerland) [fr-ch]\n//! author : Gaspard Bucher : https://github.com/gaspard\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var frCh = moment.defineLocale('fr-ch', {\n months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n '_'\n ),\n monthsShort:\n 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Aujourd’hui à] LT',\n nextDay: '[Demain à] LT',\n nextWeek: 'dddd [à] LT',\n lastDay: '[Hier à] LT',\n lastWeek: 'dddd [dernier à] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dans %s',\n past: 'il y a %s',\n s: 'quelques secondes',\n ss: '%d secondes',\n m: 'une minute',\n mm: '%d minutes',\n h: 'une heure',\n hh: '%d heures',\n d: 'un jour',\n dd: '%d jours',\n M: 'un mois',\n MM: '%d mois',\n y: 'un an',\n yy: '%d ans',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n ordinal: function (number, period) {\n switch (period) {\n // Words with masculine grammatical gender: mois, trimestre, jour\n default:\n case 'M':\n case 'Q':\n case 'D':\n case 'DDD':\n case 'd':\n return number + (number === 1 ? 'er' : 'e');\n\n // Words with feminine grammatical gender: semaine\n case 'w':\n case 'W':\n return number + (number === 1 ? 're' : 'e');\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return frCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : French [fr]\n//! author : John Fischer : https://github.com/jfroffice\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsStrictRegex =\n /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,\n monthsShortStrictRegex =\n /(janv\\.?|févr\\.?|mars|avr\\.?|mai|juin|juil\\.?|août|sept\\.?|oct\\.?|nov\\.?|déc\\.?)/i,\n monthsRegex =\n /(janv\\.?|févr\\.?|mars|avr\\.?|mai|juin|juil\\.?|août|sept\\.?|oct\\.?|nov\\.?|déc\\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,\n monthsParse = [\n /^janv/i,\n /^févr/i,\n /^mars/i,\n /^avr/i,\n /^mai/i,\n /^juin/i,\n /^juil/i,\n /^août/i,\n /^sept/i,\n /^oct/i,\n /^nov/i,\n /^déc/i,\n ];\n\n var fr = moment.defineLocale('fr', {\n months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n '_'\n ),\n monthsShort:\n 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n '_'\n ),\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: monthsStrictRegex,\n monthsShortStrictRegex: monthsShortStrictRegex,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Aujourd’hui à] LT',\n nextDay: '[Demain à] LT',\n nextWeek: 'dddd [à] LT',\n lastDay: '[Hier à] LT',\n lastWeek: 'dddd [dernier à] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dans %s',\n past: 'il y a %s',\n s: 'quelques secondes',\n ss: '%d secondes',\n m: 'une minute',\n mm: '%d minutes',\n h: 'une heure',\n hh: '%d heures',\n d: 'un jour',\n dd: '%d jours',\n w: 'une semaine',\n ww: '%d semaines',\n M: 'un mois',\n MM: '%d mois',\n y: 'un an',\n yy: '%d ans',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er|)/,\n ordinal: function (number, period) {\n switch (period) {\n // TODO: Return 'e' when day of month > 1. Move this case inside\n // block for masculine words below.\n // See https://github.com/moment/moment/issues/3375\n case 'D':\n return number + (number === 1 ? 'er' : '');\n\n // Words with masculine grammatical gender: mois, trimestre, jour\n default:\n case 'M':\n case 'Q':\n case 'DDD':\n case 'd':\n return number + (number === 1 ? 'er' : 'e');\n\n // Words with feminine grammatical gender: semaine\n case 'w':\n case 'W':\n return number + (number === 1 ? 're' : 'e');\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return fr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Frisian [fy]\n//! author : Robin van der Vliet : https://github.com/robin0van0der0v\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortWithDots =\n 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),\n monthsShortWithoutDots =\n 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');\n\n var fy = moment.defineLocale('fy', {\n months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n monthsParseExact: true,\n weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(\n '_'\n ),\n weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),\n weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[hjoed om] LT',\n nextDay: '[moarn om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[juster om] LT',\n lastWeek: '[ôfrûne] dddd [om] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'oer %s',\n past: '%s lyn',\n s: 'in pear sekonden',\n ss: '%d sekonden',\n m: 'ien minút',\n mm: '%d minuten',\n h: 'ien oere',\n hh: '%d oeren',\n d: 'ien dei',\n dd: '%d dagen',\n M: 'ien moanne',\n MM: '%d moannen',\n y: 'ien jier',\n yy: '%d jierren',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function (number) {\n return (\n number +\n (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n );\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return fy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Irish or Irish Gaelic [ga]\n//! author : André Silva : https://github.com/askpt\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = [\n 'Eanáir',\n 'Feabhra',\n 'Márta',\n 'Aibreán',\n 'Bealtaine',\n 'Meitheamh',\n 'Iúil',\n 'Lúnasa',\n 'Meán Fómhair',\n 'Deireadh Fómhair',\n 'Samhain',\n 'Nollaig',\n ],\n monthsShort = [\n 'Ean',\n 'Feabh',\n 'Márt',\n 'Aib',\n 'Beal',\n 'Meith',\n 'Iúil',\n 'Lún',\n 'M.F.',\n 'D.F.',\n 'Samh',\n 'Noll',\n ],\n weekdays = [\n 'Dé Domhnaigh',\n 'Dé Luain',\n 'Dé Máirt',\n 'Dé Céadaoin',\n 'Déardaoin',\n 'Dé hAoine',\n 'Dé Sathairn',\n ],\n weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],\n weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];\n\n var ga = moment.defineLocale('ga', {\n months: months,\n monthsShort: monthsShort,\n monthsParseExact: true,\n weekdays: weekdays,\n weekdaysShort: weekdaysShort,\n weekdaysMin: weekdaysMin,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Inniu ag] LT',\n nextDay: '[Amárach ag] LT',\n nextWeek: 'dddd [ag] LT',\n lastDay: '[Inné ag] LT',\n lastWeek: 'dddd [seo caite] [ag] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'i %s',\n past: '%s ó shin',\n s: 'cúpla soicind',\n ss: '%d soicind',\n m: 'nóiméad',\n mm: '%d nóiméad',\n h: 'uair an chloig',\n hh: '%d uair an chloig',\n d: 'lá',\n dd: '%d lá',\n M: 'mí',\n MM: '%d míonna',\n y: 'bliain',\n yy: '%d bliain',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(d|na|mh)/,\n ordinal: function (number) {\n var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return ga;\n\n})));\n","//! moment.js locale configuration\n//! locale : Scottish Gaelic [gd]\n//! author : Jon Ashdown : https://github.com/jonashdown\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = [\n 'Am Faoilleach',\n 'An Gearran',\n 'Am Màrt',\n 'An Giblean',\n 'An Cèitean',\n 'An t-Ògmhios',\n 'An t-Iuchar',\n 'An Lùnastal',\n 'An t-Sultain',\n 'An Dàmhair',\n 'An t-Samhain',\n 'An Dùbhlachd',\n ],\n monthsShort = [\n 'Faoi',\n 'Gear',\n 'Màrt',\n 'Gibl',\n 'Cèit',\n 'Ògmh',\n 'Iuch',\n 'Lùn',\n 'Sult',\n 'Dàmh',\n 'Samh',\n 'Dùbh',\n ],\n weekdays = [\n 'Didòmhnaich',\n 'Diluain',\n 'Dimàirt',\n 'Diciadain',\n 'Diardaoin',\n 'Dihaoine',\n 'Disathairne',\n ],\n weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],\n weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];\n\n var gd = moment.defineLocale('gd', {\n months: months,\n monthsShort: monthsShort,\n monthsParseExact: true,\n weekdays: weekdays,\n weekdaysShort: weekdaysShort,\n weekdaysMin: weekdaysMin,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[An-diugh aig] LT',\n nextDay: '[A-màireach aig] LT',\n nextWeek: 'dddd [aig] LT',\n lastDay: '[An-dè aig] LT',\n lastWeek: 'dddd [seo chaidh] [aig] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'ann an %s',\n past: 'bho chionn %s',\n s: 'beagan diogan',\n ss: '%d diogan',\n m: 'mionaid',\n mm: '%d mionaidean',\n h: 'uair',\n hh: '%d uairean',\n d: 'latha',\n dd: '%d latha',\n M: 'mìos',\n MM: '%d mìosan',\n y: 'bliadhna',\n yy: '%d bliadhna',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(d|na|mh)/,\n ordinal: function (number) {\n var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return gd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Galician [gl]\n//! author : Juan G. Hurtado : https://github.com/juanghurtado\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var gl = moment.defineLocale('gl', {\n months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(\n '_'\n ),\n monthsShort:\n 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY H:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n },\n calendar: {\n sameDay: function () {\n return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';\n },\n nextDay: function () {\n return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';\n },\n lastDay: function () {\n return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';\n },\n lastWeek: function () {\n return (\n '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: function (str) {\n if (str.indexOf('un') === 0) {\n return 'n' + str;\n }\n return 'en ' + str;\n },\n past: 'hai %s',\n s: 'uns segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'unha hora',\n hh: '%d horas',\n d: 'un día',\n dd: '%d días',\n M: 'un mes',\n MM: '%d meses',\n y: 'un ano',\n yy: '%d anos',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return gl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Konkani Devanagari script [gom-deva]\n//! author : The Discoverer : https://github.com/WikiDiscoverer\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],\n ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],\n m: ['एका मिणटान', 'एक मिनूट'],\n mm: [number + ' मिणटांनी', number + ' मिणटां'],\n h: ['एका वरान', 'एक वर'],\n hh: [number + ' वरांनी', number + ' वरां'],\n d: ['एका दिसान', 'एक दीस'],\n dd: [number + ' दिसांनी', number + ' दीस'],\n M: ['एका म्हयन्यान', 'एक म्हयनो'],\n MM: [number + ' म्हयन्यानी', number + ' म्हयने'],\n y: ['एका वर्सान', 'एक वर्स'],\n yy: [number + ' वर्सांनी', number + ' वर्सां'],\n };\n return isFuture ? format[key][0] : format[key][1];\n }\n\n var gomDeva = moment.defineLocale('gom-deva', {\n months: {\n standalone:\n 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(\n '_'\n ),\n format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(\n '_'\n ),\n isFormat: /MMMM(\\s)+D[oD]?/,\n },\n monthsShort:\n 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),\n weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),\n weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'A h:mm [वाजतां]',\n LTS: 'A h:mm:ss [वाजतां]',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY A h:mm [वाजतां]',\n LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',\n llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',\n },\n calendar: {\n sameDay: '[आयज] LT',\n nextDay: '[फाल्यां] LT',\n nextWeek: '[फुडलो] dddd[,] LT',\n lastDay: '[काल] LT',\n lastWeek: '[फाटलो] dddd[,] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s',\n past: '%s आदीं',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(वेर)/,\n ordinal: function (number, period) {\n switch (period) {\n // the ordinal 'वेर' only applies to day of the month\n case 'D':\n return number + 'वेर';\n default:\n case 'M':\n case 'Q':\n case 'DDD':\n case 'd':\n case 'w':\n case 'W':\n return number;\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week\n doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)\n },\n meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'राती') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सकाळीं') {\n return hour;\n } else if (meridiem === 'दनपारां') {\n return hour > 12 ? hour : hour + 12;\n } else if (meridiem === 'सांजे') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'राती';\n } else if (hour < 12) {\n return 'सकाळीं';\n } else if (hour < 16) {\n return 'दनपारां';\n } else if (hour < 20) {\n return 'सांजे';\n } else {\n return 'राती';\n }\n },\n });\n\n return gomDeva;\n\n})));\n","//! moment.js locale configuration\n//! locale : Konkani Latin script [gom-latn]\n//! author : The Discoverer : https://github.com/WikiDiscoverer\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n s: ['thoddea sekondamni', 'thodde sekond'],\n ss: [number + ' sekondamni', number + ' sekond'],\n m: ['eka mintan', 'ek minut'],\n mm: [number + ' mintamni', number + ' mintam'],\n h: ['eka voran', 'ek vor'],\n hh: [number + ' voramni', number + ' voram'],\n d: ['eka disan', 'ek dis'],\n dd: [number + ' disamni', number + ' dis'],\n M: ['eka mhoinean', 'ek mhoino'],\n MM: [number + ' mhoineamni', number + ' mhoine'],\n y: ['eka vorsan', 'ek voros'],\n yy: [number + ' vorsamni', number + ' vorsam'],\n };\n return isFuture ? format[key][0] : format[key][1];\n }\n\n var gomLatn = moment.defineLocale('gom-latn', {\n months: {\n standalone:\n 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split(\n '_'\n ),\n format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split(\n '_'\n ),\n isFormat: /MMMM(\\s)+D[oD]?/,\n },\n monthsShort:\n 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),\n monthsParseExact: true,\n weekdays: \"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var\".split('_'),\n weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),\n weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'A h:mm [vazta]',\n LTS: 'A h:mm:ss [vazta]',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY A h:mm [vazta]',\n LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',\n llll: 'ddd, D MMM YYYY, A h:mm [vazta]',\n },\n calendar: {\n sameDay: '[Aiz] LT',\n nextDay: '[Faleam] LT',\n nextWeek: '[Fuddlo] dddd[,] LT',\n lastDay: '[Kal] LT',\n lastWeek: '[Fattlo] dddd[,] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s',\n past: '%s adim',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er)/,\n ordinal: function (number, period) {\n switch (period) {\n // the ordinal 'er' only applies to day of the month\n case 'D':\n return number + 'er';\n default:\n case 'M':\n case 'Q':\n case 'DDD':\n case 'd':\n case 'w':\n case 'W':\n return number;\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week\n doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)\n },\n meridiemParse: /rati|sokallim|donparam|sanje/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'rati') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'sokallim') {\n return hour;\n } else if (meridiem === 'donparam') {\n return hour > 12 ? hour : hour + 12;\n } else if (meridiem === 'sanje') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'rati';\n } else if (hour < 12) {\n return 'sokallim';\n } else if (hour < 16) {\n return 'donparam';\n } else if (hour < 20) {\n return 'sanje';\n } else {\n return 'rati';\n }\n },\n });\n\n return gomLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Gujarati [gu]\n//! author : Kaushik Thanki : https://github.com/Kaushik1987\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '૧',\n 2: '૨',\n 3: '૩',\n 4: '૪',\n 5: '૫',\n 6: '૬',\n 7: '૭',\n 8: '૮',\n 9: '૯',\n 0: '૦',\n },\n numberMap = {\n '૧': '1',\n '૨': '2',\n '૩': '3',\n '૪': '4',\n '૫': '5',\n '૬': '6',\n '૭': '7',\n '૮': '8',\n '૯': '9',\n '૦': '0',\n };\n\n var gu = moment.defineLocale('gu', {\n months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split(\n '_'\n ),\n monthsShort:\n 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(\n '_'\n ),\n weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),\n weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm વાગ્યે',\n LTS: 'A h:mm:ss વાગ્યે',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm વાગ્યે',\n LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે',\n },\n calendar: {\n sameDay: '[આજ] LT',\n nextDay: '[કાલે] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[ગઇકાલે] LT',\n lastWeek: '[પાછલા] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s મા',\n past: '%s પહેલા',\n s: 'અમુક પળો',\n ss: '%d સેકંડ',\n m: 'એક મિનિટ',\n mm: '%d મિનિટ',\n h: 'એક કલાક',\n hh: '%d કલાક',\n d: 'એક દિવસ',\n dd: '%d દિવસ',\n M: 'એક મહિનો',\n MM: '%d મહિનો',\n y: 'એક વર્ષ',\n yy: '%d વર્ષ',\n },\n preparse: function (string) {\n return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Gujarati notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.\n meridiemParse: /રાત|બપોર|સવાર|સાંજ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'રાત') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'સવાર') {\n return hour;\n } else if (meridiem === 'બપોર') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'સાંજ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'રાત';\n } else if (hour < 10) {\n return 'સવાર';\n } else if (hour < 17) {\n return 'બપોર';\n } else if (hour < 20) {\n return 'સાંજ';\n } else {\n return 'રાત';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return gu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hebrew [he]\n//! author : Tomer Cohen : https://github.com/tomer\n//! author : Moshe Simantov : https://github.com/DevelopmentIL\n//! author : Tal Ater : https://github.com/TalAter\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var he = moment.defineLocale('he', {\n months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(\n '_'\n ),\n monthsShort:\n 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),\n weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),\n weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),\n weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [ב]MMMM YYYY',\n LLL: 'D [ב]MMMM YYYY HH:mm',\n LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',\n l: 'D/M/YYYY',\n ll: 'D MMM YYYY',\n lll: 'D MMM YYYY HH:mm',\n llll: 'ddd, D MMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[היום ב־]LT',\n nextDay: '[מחר ב־]LT',\n nextWeek: 'dddd [בשעה] LT',\n lastDay: '[אתמול ב־]LT',\n lastWeek: '[ביום] dddd [האחרון בשעה] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'בעוד %s',\n past: 'לפני %s',\n s: 'מספר שניות',\n ss: '%d שניות',\n m: 'דקה',\n mm: '%d דקות',\n h: 'שעה',\n hh: function (number) {\n if (number === 2) {\n return 'שעתיים';\n }\n return number + ' שעות';\n },\n d: 'יום',\n dd: function (number) {\n if (number === 2) {\n return 'יומיים';\n }\n return number + ' ימים';\n },\n M: 'חודש',\n MM: function (number) {\n if (number === 2) {\n return 'חודשיים';\n }\n return number + ' חודשים';\n },\n y: 'שנה',\n yy: function (number) {\n if (number === 2) {\n return 'שנתיים';\n } else if (number % 10 === 0 && number !== 10) {\n return number + ' שנה';\n }\n return number + ' שנים';\n },\n },\n meridiemParse:\n /אחה\"צ|לפנה\"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,\n isPM: function (input) {\n return /^(אחה\"צ|אחרי הצהריים|בערב)$/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 5) {\n return 'לפנות בוקר';\n } else if (hour < 10) {\n return 'בבוקר';\n } else if (hour < 12) {\n return isLower ? 'לפנה\"צ' : 'לפני הצהריים';\n } else if (hour < 18) {\n return isLower ? 'אחה\"צ' : 'אחרי הצהריים';\n } else {\n return 'בערב';\n }\n },\n });\n\n return he;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hindi [hi]\n//! author : Mayank Singhal : https://github.com/mayanksinghal\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '१',\n 2: '२',\n 3: '३',\n 4: '४',\n 5: '५',\n 6: '६',\n 7: '७',\n 8: '८',\n 9: '९',\n 0: '०',\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0',\n },\n monthsParse = [\n /^जन/i,\n /^फ़र|फर/i,\n /^मार्च/i,\n /^अप्रै/i,\n /^मई/i,\n /^जून/i,\n /^जुल/i,\n /^अग/i,\n /^सितं|सित/i,\n /^अक्टू/i,\n /^नव|नवं/i,\n /^दिसं|दिस/i,\n ],\n shortMonthsParse = [\n /^जन/i,\n /^फ़र/i,\n /^मार्च/i,\n /^अप्रै/i,\n /^मई/i,\n /^जून/i,\n /^जुल/i,\n /^अग/i,\n /^सित/i,\n /^अक्टू/i,\n /^नव/i,\n /^दिस/i,\n ];\n\n var hi = moment.defineLocale('hi', {\n months: {\n format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(\n '_'\n ),\n standalone:\n 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(\n '_'\n ),\n },\n monthsShort:\n 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),\n weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),\n weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),\n longDateFormat: {\n LT: 'A h:mm बजे',\n LTS: 'A h:mm:ss बजे',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm बजे',\n LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',\n },\n\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: shortMonthsParse,\n\n monthsRegex:\n /^(जनवरी|जन\\.?|फ़रवरी|फरवरी|फ़र\\.?|मार्च?|अप्रैल|अप्रै\\.?|मई?|जून?|जुलाई|जुल\\.?|अगस्त|अग\\.?|सितम्बर|सितंबर|सित\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर|नव\\.?|दिसम्बर|दिसंबर|दिस\\.?)/i,\n\n monthsShortRegex:\n /^(जनवरी|जन\\.?|फ़रवरी|फरवरी|फ़र\\.?|मार्च?|अप्रैल|अप्रै\\.?|मई?|जून?|जुलाई|जुल\\.?|अगस्त|अग\\.?|सितम्बर|सितंबर|सित\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर|नव\\.?|दिसम्बर|दिसंबर|दिस\\.?)/i,\n\n monthsStrictRegex:\n /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,\n\n monthsShortStrictRegex:\n /^(जन\\.?|फ़र\\.?|मार्च?|अप्रै\\.?|मई?|जून?|जुल\\.?|अग\\.?|सित\\.?|अक्टू\\.?|नव\\.?|दिस\\.?)/i,\n\n calendar: {\n sameDay: '[आज] LT',\n nextDay: '[कल] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[कल] LT',\n lastWeek: '[पिछले] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s में',\n past: '%s पहले',\n s: 'कुछ ही क्षण',\n ss: '%d सेकंड',\n m: 'एक मिनट',\n mm: '%d मिनट',\n h: 'एक घंटा',\n hh: '%d घंटे',\n d: 'एक दिन',\n dd: '%d दिन',\n M: 'एक महीने',\n MM: '%d महीने',\n y: 'एक वर्ष',\n yy: '%d वर्ष',\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Hindi notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.\n meridiemParse: /रात|सुबह|दोपहर|शाम/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'रात') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सुबह') {\n return hour;\n } else if (meridiem === 'दोपहर') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'शाम') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'रात';\n } else if (hour < 10) {\n return 'सुबह';\n } else if (hour < 17) {\n return 'दोपहर';\n } else if (hour < 20) {\n return 'शाम';\n } else {\n return 'रात';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return hi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Croatian [hr]\n//! author : Bojan Marković : https://github.com/bmarkovic\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n switch (key) {\n case 'ss':\n if (number === 1) {\n result += 'sekunda';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sekunde';\n } else {\n result += 'sekundi';\n }\n return result;\n case 'm':\n return withoutSuffix ? 'jedna minuta' : 'jedne minute';\n case 'mm':\n if (number === 1) {\n result += 'minuta';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'minute';\n } else {\n result += 'minuta';\n }\n return result;\n case 'h':\n return withoutSuffix ? 'jedan sat' : 'jednog sata';\n case 'hh':\n if (number === 1) {\n result += 'sat';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sata';\n } else {\n result += 'sati';\n }\n return result;\n case 'dd':\n if (number === 1) {\n result += 'dan';\n } else {\n result += 'dana';\n }\n return result;\n case 'MM':\n if (number === 1) {\n result += 'mjesec';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'mjeseca';\n } else {\n result += 'mjeseci';\n }\n return result;\n case 'yy':\n if (number === 1) {\n result += 'godina';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'godine';\n } else {\n result += 'godina';\n }\n return result;\n }\n }\n\n var hr = moment.defineLocale('hr', {\n months: {\n format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(\n '_'\n ),\n standalone:\n 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(\n '_'\n ),\n },\n monthsShort:\n 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n '_'\n ),\n weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'Do MMMM YYYY',\n LLL: 'Do MMMM YYYY H:mm',\n LLLL: 'dddd, Do MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sutra u] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n case 3:\n return '[u] [srijedu] [u] LT';\n case 6:\n return '[u] [subotu] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[jučer u] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[prošlu] [nedjelju] [u] LT';\n case 3:\n return '[prošlu] [srijedu] [u] LT';\n case 6:\n return '[prošle] [subote] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[prošli] dddd [u] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'prije %s',\n s: 'par sekundi',\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: 'dan',\n dd: translate,\n M: 'mjesec',\n MM: translate,\n y: 'godinu',\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return hr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hungarian [hu]\n//! author : Adam Brunner : https://github.com/adambrunner\n//! author : Peter Viszt : https://github.com/passatgt\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var weekEndings =\n 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');\n function translate(number, withoutSuffix, key, isFuture) {\n var num = number;\n switch (key) {\n case 's':\n return isFuture || withoutSuffix\n ? 'néhány másodperc'\n : 'néhány másodperce';\n case 'ss':\n return num + (isFuture || withoutSuffix)\n ? ' másodperc'\n : ' másodperce';\n case 'm':\n return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');\n case 'mm':\n return num + (isFuture || withoutSuffix ? ' perc' : ' perce');\n case 'h':\n return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');\n case 'hh':\n return num + (isFuture || withoutSuffix ? ' óra' : ' órája');\n case 'd':\n return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');\n case 'dd':\n return num + (isFuture || withoutSuffix ? ' nap' : ' napja');\n case 'M':\n return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');\n case 'MM':\n return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');\n case 'y':\n return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');\n case 'yy':\n return num + (isFuture || withoutSuffix ? ' év' : ' éve');\n }\n return '';\n }\n function week(isFuture) {\n return (\n (isFuture ? '' : '[múlt] ') +\n '[' +\n weekEndings[this.day()] +\n '] LT[-kor]'\n );\n }\n\n var hu = moment.defineLocale('hu', {\n months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(\n '_'\n ),\n monthsShort:\n 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),\n weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),\n weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'YYYY.MM.DD.',\n LL: 'YYYY. MMMM D.',\n LLL: 'YYYY. MMMM D. H:mm',\n LLLL: 'YYYY. MMMM D., dddd H:mm',\n },\n meridiemParse: /de|du/i,\n isPM: function (input) {\n return input.charAt(1).toLowerCase() === 'u';\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower === true ? 'de' : 'DE';\n } else {\n return isLower === true ? 'du' : 'DU';\n }\n },\n calendar: {\n sameDay: '[ma] LT[-kor]',\n nextDay: '[holnap] LT[-kor]',\n nextWeek: function () {\n return week.call(this, true);\n },\n lastDay: '[tegnap] LT[-kor]',\n lastWeek: function () {\n return week.call(this, false);\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s múlva',\n past: '%s',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return hu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Armenian [hy-am]\n//! author : Armendarabyan : https://github.com/armendarabyan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var hyAm = moment.defineLocale('hy-am', {\n months: {\n format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(\n '_'\n ),\n standalone:\n 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(\n '_'\n ),\n },\n monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),\n weekdays:\n 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(\n '_'\n ),\n weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),\n weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY թ.',\n LLL: 'D MMMM YYYY թ., HH:mm',\n LLLL: 'dddd, D MMMM YYYY թ., HH:mm',\n },\n calendar: {\n sameDay: '[այսօր] LT',\n nextDay: '[վաղը] LT',\n lastDay: '[երեկ] LT',\n nextWeek: function () {\n return 'dddd [օրը ժամը] LT';\n },\n lastWeek: function () {\n return '[անցած] dddd [օրը ժամը] LT';\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s հետո',\n past: '%s առաջ',\n s: 'մի քանի վայրկյան',\n ss: '%d վայրկյան',\n m: 'րոպե',\n mm: '%d րոպե',\n h: 'ժամ',\n hh: '%d ժամ',\n d: 'օր',\n dd: '%d օր',\n M: 'ամիս',\n MM: '%d ամիս',\n y: 'տարի',\n yy: '%d տարի',\n },\n meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,\n isPM: function (input) {\n return /^(ցերեկվա|երեկոյան)$/.test(input);\n },\n meridiem: function (hour) {\n if (hour < 4) {\n return 'գիշերվա';\n } else if (hour < 12) {\n return 'առավոտվա';\n } else if (hour < 17) {\n return 'ցերեկվա';\n } else {\n return 'երեկոյան';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}|\\d{1,2}-(ին|րդ)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'DDD':\n case 'w':\n case 'W':\n case 'DDDo':\n if (number === 1) {\n return number + '-ին';\n }\n return number + '-րդ';\n default:\n return number;\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return hyAm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Indonesian [id]\n//! author : Mohammad Satrio Utomo : https://github.com/tyok\n//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var id = moment.defineLocale('id', {\n months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),\n weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),\n weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),\n weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n },\n meridiemParse: /pagi|siang|sore|malam/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'siang') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'sore' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'siang';\n } else if (hours < 19) {\n return 'sore';\n } else {\n return 'malam';\n }\n },\n calendar: {\n sameDay: '[Hari ini pukul] LT',\n nextDay: '[Besok pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kemarin pukul] LT',\n lastWeek: 'dddd [lalu pukul] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dalam %s',\n past: '%s yang lalu',\n s: 'beberapa detik',\n ss: '%d detik',\n m: 'semenit',\n mm: '%d menit',\n h: 'sejam',\n hh: '%d jam',\n d: 'sehari',\n dd: '%d hari',\n M: 'sebulan',\n MM: '%d bulan',\n y: 'setahun',\n yy: '%d tahun',\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return id;\n\n})));\n","//! moment.js locale configuration\n//! locale : Icelandic [is]\n//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function plural(n) {\n if (n % 100 === 11) {\n return true;\n } else if (n % 10 === 1) {\n return false;\n }\n return true;\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n switch (key) {\n case 's':\n return withoutSuffix || isFuture\n ? 'nokkrar sekúndur'\n : 'nokkrum sekúndum';\n case 'ss':\n if (plural(number)) {\n return (\n result +\n (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')\n );\n }\n return result + 'sekúnda';\n case 'm':\n return withoutSuffix ? 'mínúta' : 'mínútu';\n case 'mm':\n if (plural(number)) {\n return (\n result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')\n );\n } else if (withoutSuffix) {\n return result + 'mínúta';\n }\n return result + 'mínútu';\n case 'hh':\n if (plural(number)) {\n return (\n result +\n (withoutSuffix || isFuture\n ? 'klukkustundir'\n : 'klukkustundum')\n );\n }\n return result + 'klukkustund';\n case 'd':\n if (withoutSuffix) {\n return 'dagur';\n }\n return isFuture ? 'dag' : 'degi';\n case 'dd':\n if (plural(number)) {\n if (withoutSuffix) {\n return result + 'dagar';\n }\n return result + (isFuture ? 'daga' : 'dögum');\n } else if (withoutSuffix) {\n return result + 'dagur';\n }\n return result + (isFuture ? 'dag' : 'degi');\n case 'M':\n if (withoutSuffix) {\n return 'mánuður';\n }\n return isFuture ? 'mánuð' : 'mánuði';\n case 'MM':\n if (plural(number)) {\n if (withoutSuffix) {\n return result + 'mánuðir';\n }\n return result + (isFuture ? 'mánuði' : 'mánuðum');\n } else if (withoutSuffix) {\n return result + 'mánuður';\n }\n return result + (isFuture ? 'mánuð' : 'mánuði');\n case 'y':\n return withoutSuffix || isFuture ? 'ár' : 'ári';\n case 'yy':\n if (plural(number)) {\n return result + (withoutSuffix || isFuture ? 'ár' : 'árum');\n }\n return result + (withoutSuffix || isFuture ? 'ár' : 'ári');\n }\n }\n\n var is = moment.defineLocale('is', {\n months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),\n weekdays:\n 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(\n '_'\n ),\n weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),\n weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY [kl.] H:mm',\n LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',\n },\n calendar: {\n sameDay: '[í dag kl.] LT',\n nextDay: '[á morgun kl.] LT',\n nextWeek: 'dddd [kl.] LT',\n lastDay: '[í gær kl.] LT',\n lastWeek: '[síðasta] dddd [kl.] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'eftir %s',\n past: 'fyrir %s síðan',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: 'klukkustund',\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return is;\n\n})));\n","//! moment.js locale configuration\n//! locale : Italian (Switzerland) [it-ch]\n//! author : xfh : https://github.com/xfh\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var itCh = moment.defineLocale('it-ch', {\n months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(\n '_'\n ),\n monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),\n weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(\n '_'\n ),\n weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),\n weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Oggi alle] LT',\n nextDay: '[Domani alle] LT',\n nextWeek: 'dddd [alle] LT',\n lastDay: '[Ieri alle] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[la scorsa] dddd [alle] LT';\n default:\n return '[lo scorso] dddd [alle] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: function (s) {\n return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;\n },\n past: '%s fa',\n s: 'alcuni secondi',\n ss: '%d secondi',\n m: 'un minuto',\n mm: '%d minuti',\n h: \"un'ora\",\n hh: '%d ore',\n d: 'un giorno',\n dd: '%d giorni',\n M: 'un mese',\n MM: '%d mesi',\n y: 'un anno',\n yy: '%d anni',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return itCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Italian [it]\n//! author : Lorenzo : https://github.com/aliem\n//! author: Mattia Larentis: https://github.com/nostalgiaz\n//! author: Marco : https://github.com/Manfre98\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var it = moment.defineLocale('it', {\n months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(\n '_'\n ),\n monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),\n weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(\n '_'\n ),\n weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),\n weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: function () {\n return (\n '[Oggi a' +\n (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n ']LT'\n );\n },\n nextDay: function () {\n return (\n '[Domani a' +\n (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n ']LT'\n );\n },\n nextWeek: function () {\n return (\n 'dddd [a' +\n (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n ']LT'\n );\n },\n lastDay: function () {\n return (\n '[Ieri a' +\n (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n ']LT'\n );\n },\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return (\n '[La scorsa] dddd [a' +\n (this.hours() > 1\n ? 'lle '\n : this.hours() === 0\n ? ' '\n : \"ll'\") +\n ']LT'\n );\n default:\n return (\n '[Lo scorso] dddd [a' +\n (this.hours() > 1\n ? 'lle '\n : this.hours() === 0\n ? ' '\n : \"ll'\") +\n ']LT'\n );\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'tra %s',\n past: '%s fa',\n s: 'alcuni secondi',\n ss: '%d secondi',\n m: 'un minuto',\n mm: '%d minuti',\n h: \"un'ora\",\n hh: '%d ore',\n d: 'un giorno',\n dd: '%d giorni',\n w: 'una settimana',\n ww: '%d settimane',\n M: 'un mese',\n MM: '%d mesi',\n y: 'un anno',\n yy: '%d anni',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return it;\n\n})));\n","//! moment.js locale configuration\n//! locale : Japanese [ja]\n//! author : LI Long : https://github.com/baryon\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ja = moment.defineLocale('ja', {\n eras: [\n {\n since: '2019-05-01',\n offset: 1,\n name: '令和',\n narrow: '㋿',\n abbr: 'R',\n },\n {\n since: '1989-01-08',\n until: '2019-04-30',\n offset: 1,\n name: '平成',\n narrow: '㍻',\n abbr: 'H',\n },\n {\n since: '1926-12-25',\n until: '1989-01-07',\n offset: 1,\n name: '昭和',\n narrow: '㍼',\n abbr: 'S',\n },\n {\n since: '1912-07-30',\n until: '1926-12-24',\n offset: 1,\n name: '大正',\n narrow: '㍽',\n abbr: 'T',\n },\n {\n since: '1873-01-01',\n until: '1912-07-29',\n offset: 6,\n name: '明治',\n narrow: '㍾',\n abbr: 'M',\n },\n {\n since: '0001-01-01',\n until: '1873-12-31',\n offset: 1,\n name: '西暦',\n narrow: 'AD',\n abbr: 'AD',\n },\n {\n since: '0000-12-31',\n until: -Infinity,\n offset: 1,\n name: '紀元前',\n narrow: 'BC',\n abbr: 'BC',\n },\n ],\n eraYearOrdinalRegex: /(元|\\d+)年/,\n eraYearOrdinalParse: function (input, match) {\n return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);\n },\n months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n '_'\n ),\n weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),\n weekdaysShort: '日_月_火_水_木_金_土'.split('_'),\n weekdaysMin: '日_月_火_水_木_金_土'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY年M月D日',\n LLL: 'YYYY年M月D日 HH:mm',\n LLLL: 'YYYY年M月D日 dddd HH:mm',\n l: 'YYYY/MM/DD',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日(ddd) HH:mm',\n },\n meridiemParse: /午前|午後/i,\n isPM: function (input) {\n return input === '午後';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return '午前';\n } else {\n return '午後';\n }\n },\n calendar: {\n sameDay: '[今日] LT',\n nextDay: '[明日] LT',\n nextWeek: function (now) {\n if (now.week() !== this.week()) {\n return '[来週]dddd LT';\n } else {\n return 'dddd LT';\n }\n },\n lastDay: '[昨日] LT',\n lastWeek: function (now) {\n if (this.week() !== now.week()) {\n return '[先週]dddd LT';\n } else {\n return 'dddd LT';\n }\n },\n sameElse: 'L',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}日/,\n ordinal: function (number, period) {\n switch (period) {\n case 'y':\n return number === 1 ? '元年' : number + '年';\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s後',\n past: '%s前',\n s: '数秒',\n ss: '%d秒',\n m: '1分',\n mm: '%d分',\n h: '1時間',\n hh: '%d時間',\n d: '1日',\n dd: '%d日',\n M: '1ヶ月',\n MM: '%dヶ月',\n y: '1年',\n yy: '%d年',\n },\n });\n\n return ja;\n\n})));\n","//! moment.js locale configuration\n//! locale : Javanese [jv]\n//! author : Rony Lantip : https://github.com/lantip\n//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var jv = moment.defineLocale('jv', {\n months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),\n weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),\n weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),\n weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n },\n meridiemParse: /enjing|siyang|sonten|ndalu/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'enjing') {\n return hour;\n } else if (meridiem === 'siyang') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'sonten' || meridiem === 'ndalu') {\n return hour + 12;\n }\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'enjing';\n } else if (hours < 15) {\n return 'siyang';\n } else if (hours < 19) {\n return 'sonten';\n } else {\n return 'ndalu';\n }\n },\n calendar: {\n sameDay: '[Dinten puniko pukul] LT',\n nextDay: '[Mbenjang pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kala wingi pukul] LT',\n lastWeek: 'dddd [kepengker pukul] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'wonten ing %s',\n past: '%s ingkang kepengker',\n s: 'sawetawis detik',\n ss: '%d detik',\n m: 'setunggal menit',\n mm: '%d menit',\n h: 'setunggal jam',\n hh: '%d jam',\n d: 'sedinten',\n dd: '%d dinten',\n M: 'sewulan',\n MM: '%d wulan',\n y: 'setaun',\n yy: '%d taun',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return jv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Georgian [ka]\n//! author : Irakli Janiashvili : https://github.com/IrakliJani\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ka = moment.defineLocale('ka', {\n months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(\n '_'\n ),\n monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),\n weekdays: {\n standalone:\n 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(\n '_'\n ),\n format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(\n '_'\n ),\n isFormat: /(წინა|შემდეგ)/,\n },\n weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),\n weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[დღეს] LT[-ზე]',\n nextDay: '[ხვალ] LT[-ზე]',\n lastDay: '[გუშინ] LT[-ზე]',\n nextWeek: '[შემდეგ] dddd LT[-ზე]',\n lastWeek: '[წინა] dddd LT-ზე',\n sameElse: 'L',\n },\n relativeTime: {\n future: function (s) {\n return s.replace(\n /(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,\n function ($0, $1, $2) {\n return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';\n }\n );\n },\n past: function (s) {\n if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {\n return s.replace(/(ი|ე)$/, 'ის წინ');\n }\n if (/წელი/.test(s)) {\n return s.replace(/წელი$/, 'წლის წინ');\n }\n return s;\n },\n s: 'რამდენიმე წამი',\n ss: '%d წამი',\n m: 'წუთი',\n mm: '%d წუთი',\n h: 'საათი',\n hh: '%d საათი',\n d: 'დღე',\n dd: '%d დღე',\n M: 'თვე',\n MM: '%d თვე',\n y: 'წელი',\n yy: '%d წელი',\n },\n dayOfMonthOrdinalParse: /0|1-ლი|მე-\\d{1,2}|\\d{1,2}-ე/,\n ordinal: function (number) {\n if (number === 0) {\n return number;\n }\n if (number === 1) {\n return number + '-ლი';\n }\n if (\n number < 20 ||\n (number <= 100 && number % 20 === 0) ||\n number % 100 === 0\n ) {\n return 'მე-' + number;\n }\n return number + '-ე';\n },\n week: {\n dow: 1,\n doy: 7,\n },\n });\n\n return ka;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kazakh [kk]\n//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 0: '-ші',\n 1: '-ші',\n 2: '-ші',\n 3: '-ші',\n 4: '-ші',\n 5: '-ші',\n 6: '-шы',\n 7: '-ші',\n 8: '-ші',\n 9: '-шы',\n 10: '-шы',\n 20: '-шы',\n 30: '-шы',\n 40: '-шы',\n 50: '-ші',\n 60: '-шы',\n 70: '-ші',\n 80: '-ші',\n 90: '-шы',\n 100: '-ші',\n };\n\n var kk = moment.defineLocale('kk', {\n months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(\n '_'\n ),\n monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),\n weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(\n '_'\n ),\n weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),\n weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Бүгін сағат] LT',\n nextDay: '[Ертең сағат] LT',\n nextWeek: 'dddd [сағат] LT',\n lastDay: '[Кеше сағат] LT',\n lastWeek: '[Өткен аптаның] dddd [сағат] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s ішінде',\n past: '%s бұрын',\n s: 'бірнеше секунд',\n ss: '%d секунд',\n m: 'бір минут',\n mm: '%d минут',\n h: 'бір сағат',\n hh: '%d сағат',\n d: 'бір күн',\n dd: '%d күн',\n M: 'бір ай',\n MM: '%d ай',\n y: 'бір жыл',\n yy: '%d жыл',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ші|шы)/,\n ordinal: function (number) {\n var a = number % 10,\n b = number >= 100 ? 100 : null;\n return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return kk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Cambodian [km]\n//! author : Kruy Vanna : https://github.com/kruyvanna\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '១',\n 2: '២',\n 3: '៣',\n 4: '៤',\n 5: '៥',\n 6: '៦',\n 7: '៧',\n 8: '៨',\n 9: '៩',\n 0: '០',\n },\n numberMap = {\n '១': '1',\n '២': '2',\n '៣': '3',\n '៤': '4',\n '៥': '5',\n '៦': '6',\n '៧': '7',\n '៨': '8',\n '៩': '9',\n '០': '0',\n };\n\n var km = moment.defineLocale('km', {\n months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(\n '_'\n ),\n monthsShort:\n 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(\n '_'\n ),\n weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),\n weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),\n weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n meridiemParse: /ព្រឹក|ល្ងាច/,\n isPM: function (input) {\n return input === 'ល្ងាច';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ព្រឹក';\n } else {\n return 'ល្ងាច';\n }\n },\n calendar: {\n sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',\n nextDay: '[ស្អែក ម៉ោង] LT',\n nextWeek: 'dddd [ម៉ោង] LT',\n lastDay: '[ម្សិលមិញ ម៉ោង] LT',\n lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%sទៀត',\n past: '%sមុន',\n s: 'ប៉ុន្មានវិនាទី',\n ss: '%d វិនាទី',\n m: 'មួយនាទី',\n mm: '%d នាទី',\n h: 'មួយម៉ោង',\n hh: '%d ម៉ោង',\n d: 'មួយថ្ងៃ',\n dd: '%d ថ្ងៃ',\n M: 'មួយខែ',\n MM: '%d ខែ',\n y: 'មួយឆ្នាំ',\n yy: '%d ឆ្នាំ',\n },\n dayOfMonthOrdinalParse: /ទី\\d{1,2}/,\n ordinal: 'ទី%d',\n preparse: function (string) {\n return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return km;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kannada [kn]\n//! author : Rajeev Naik : https://github.com/rajeevnaikte\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '೧',\n 2: '೨',\n 3: '೩',\n 4: '೪',\n 5: '೫',\n 6: '೬',\n 7: '೭',\n 8: '೮',\n 9: '೯',\n 0: '೦',\n },\n numberMap = {\n '೧': '1',\n '೨': '2',\n '೩': '3',\n '೪': '4',\n '೫': '5',\n '೬': '6',\n '೭': '7',\n '೮': '8',\n '೯': '9',\n '೦': '0',\n };\n\n var kn = moment.defineLocale('kn', {\n months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(\n '_'\n ),\n monthsShort:\n 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(\n '_'\n ),\n weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),\n weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm',\n LLLL: 'dddd, D MMMM YYYY, A h:mm',\n },\n calendar: {\n sameDay: '[ಇಂದು] LT',\n nextDay: '[ನಾಳೆ] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[ನಿನ್ನೆ] LT',\n lastWeek: '[ಕೊನೆಯ] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s ನಂತರ',\n past: '%s ಹಿಂದೆ',\n s: 'ಕೆಲವು ಕ್ಷಣಗಳು',\n ss: '%d ಸೆಕೆಂಡುಗಳು',\n m: 'ಒಂದು ನಿಮಿಷ',\n mm: '%d ನಿಮಿಷ',\n h: 'ಒಂದು ಗಂಟೆ',\n hh: '%d ಗಂಟೆ',\n d: 'ಒಂದು ದಿನ',\n dd: '%d ದಿನ',\n M: 'ಒಂದು ತಿಂಗಳು',\n MM: '%d ತಿಂಗಳು',\n y: 'ಒಂದು ವರ್ಷ',\n yy: '%d ವರ್ಷ',\n },\n preparse: function (string) {\n return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'ರಾತ್ರಿ') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {\n return hour;\n } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'ಸಂಜೆ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ರಾತ್ರಿ';\n } else if (hour < 10) {\n return 'ಬೆಳಿಗ್ಗೆ';\n } else if (hour < 17) {\n return 'ಮಧ್ಯಾಹ್ನ';\n } else if (hour < 20) {\n return 'ಸಂಜೆ';\n } else {\n return 'ರಾತ್ರಿ';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ನೇ)/,\n ordinal: function (number) {\n return number + 'ನೇ';\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return kn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Korean [ko]\n//! author : Kyungwook, Park : https://github.com/kyungw00k\n//! author : Jeeeyul Lee \n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ko = moment.defineLocale('ko', {\n months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),\n monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(\n '_'\n ),\n weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),\n weekdaysShort: '일_월_화_수_목_금_토'.split('_'),\n weekdaysMin: '일_월_화_수_목_금_토'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'YYYY.MM.DD.',\n LL: 'YYYY년 MMMM D일',\n LLL: 'YYYY년 MMMM D일 A h:mm',\n LLLL: 'YYYY년 MMMM D일 dddd A h:mm',\n l: 'YYYY.MM.DD.',\n ll: 'YYYY년 MMMM D일',\n lll: 'YYYY년 MMMM D일 A h:mm',\n llll: 'YYYY년 MMMM D일 dddd A h:mm',\n },\n calendar: {\n sameDay: '오늘 LT',\n nextDay: '내일 LT',\n nextWeek: 'dddd LT',\n lastDay: '어제 LT',\n lastWeek: '지난주 dddd LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s 후',\n past: '%s 전',\n s: '몇 초',\n ss: '%d초',\n m: '1분',\n mm: '%d분',\n h: '한 시간',\n hh: '%d시간',\n d: '하루',\n dd: '%d일',\n M: '한 달',\n MM: '%d달',\n y: '일 년',\n yy: '%d년',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(일|월|주)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '일';\n case 'M':\n return number + '월';\n case 'w':\n case 'W':\n return number + '주';\n default:\n return number;\n }\n },\n meridiemParse: /오전|오후/,\n isPM: function (token) {\n return token === '오후';\n },\n meridiem: function (hour, minute, isUpper) {\n return hour < 12 ? '오전' : '오후';\n },\n });\n\n return ko;\n\n})));\n","//! moment.js locale configuration\n//! locale : Northern Kurdish [ku-kmr]\n//! authors : Mazlum Özdogan : https://github.com/mergehez\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(num, withoutSuffix, key, isFuture) {\n var format = {\n s: ['çend sanîye', 'çend sanîyeyan'],\n ss: [num + ' sanîye', num + ' sanîyeyan'],\n m: ['deqîqeyek', 'deqîqeyekê'],\n mm: [num + ' deqîqe', num + ' deqîqeyan'],\n h: ['saetek', 'saetekê'],\n hh: [num + ' saet', num + ' saetan'],\n d: ['rojek', 'rojekê'],\n dd: [num + ' roj', num + ' rojan'],\n w: ['hefteyek', 'hefteyekê'],\n ww: [num + ' hefte', num + ' hefteyan'],\n M: ['mehek', 'mehekê'],\n MM: [num + ' meh', num + ' mehan'],\n y: ['salek', 'salekê'],\n yy: [num + ' sal', num + ' salan'],\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n // function obliqueNumSuffix(num) {\n // if(num.includes(':'))\n // num = parseInt(num.split(':')[0]);\n // else\n // num = parseInt(num);\n // return num == 0 || num % 10 == 1 ? 'ê'\n // : (num > 10 && num % 10 == 0 ? 'î' : 'an');\n // }\n function ezafeNumSuffix(num) {\n num = '' + num;\n var l = num.substring(num.length - 1),\n ll = num.length > 1 ? num.substring(num.length - 2) : '';\n if (\n !(ll == 12 || ll == 13) &&\n (l == '2' || l == '3' || ll == '50' || l == '70' || l == '80')\n )\n return 'yê';\n return 'ê';\n }\n\n var kuKmr = moment.defineLocale('ku-kmr', {\n // According to the spelling rules defined by the work group of Weqfa Mezopotamyayê (Mesopotamia Foundation)\n // this should be: 'Kanûna Paşîn_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Çirîya Pêşîn_Çirîya Paşîn_Kanûna Pêşîn'\n // But the names below are more well known and handy\n months: 'Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar'.split(\n '_'\n ),\n monthsShort: 'Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber'.split('_'),\n monthsParseExact: true,\n weekdays: 'Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî'.split('_'),\n weekdaysShort: 'Yek_Du_Sê_Çar_Pên_În_Şem'.split('_'),\n weekdaysMin: 'Ye_Du_Sê_Ça_Pê_În_Şe'.split('_'),\n meridiem: function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'bn' : 'BN';\n } else {\n return isLower ? 'pn' : 'PN';\n }\n },\n meridiemParse: /bn|BN|pn|PN/,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'Do MMMM[a] YYYY[an]',\n LLL: 'Do MMMM[a] YYYY[an] HH:mm',\n LLLL: 'dddd, Do MMMM[a] YYYY[an] HH:mm',\n ll: 'Do MMM[.] YYYY[an]',\n lll: 'Do MMM[.] YYYY[an] HH:mm',\n llll: 'ddd[.], Do MMM[.] YYYY[an] HH:mm',\n },\n calendar: {\n sameDay: '[Îro di saet] LT [de]',\n nextDay: '[Sibê di saet] LT [de]',\n nextWeek: 'dddd [di saet] LT [de]',\n lastDay: '[Duh di saet] LT [de]',\n lastWeek: 'dddd[a borî di saet] LT [de]',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'di %s de',\n past: 'berî %s',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n w: processRelativeTime,\n ww: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(?:yê|ê|\\.)/,\n ordinal: function (num, period) {\n var p = period.toLowerCase();\n if (p.includes('w') || p.includes('m')) return num + '.';\n\n return num + ezafeNumSuffix(num);\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return kuKmr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kurdish [ku]\n//! author : Shahram Mebashar : https://github.com/ShahramMebashar\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '١',\n 2: '٢',\n 3: '٣',\n 4: '٤',\n 5: '٥',\n 6: '٦',\n 7: '٧',\n 8: '٨',\n 9: '٩',\n 0: '٠',\n },\n numberMap = {\n '١': '1',\n '٢': '2',\n '٣': '3',\n '٤': '4',\n '٥': '5',\n '٦': '6',\n '٧': '7',\n '٨': '8',\n '٩': '9',\n '٠': '0',\n },\n months = [\n 'کانونی دووەم',\n 'شوبات',\n 'ئازار',\n 'نیسان',\n 'ئایار',\n 'حوزەیران',\n 'تەمموز',\n 'ئاب',\n 'ئەیلوول',\n 'تشرینی یەكەم',\n 'تشرینی دووەم',\n 'كانونی یەکەم',\n ];\n\n var ku = moment.defineLocale('ku', {\n months: months,\n monthsShort: months,\n weekdays:\n 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split(\n '_'\n ),\n weekdaysShort:\n 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'),\n weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n meridiemParse: /ئێواره‌|به‌یانی/,\n isPM: function (input) {\n return /ئێواره‌/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'به‌یانی';\n } else {\n return 'ئێواره‌';\n }\n },\n calendar: {\n sameDay: '[ئه‌مرۆ كاتژمێر] LT',\n nextDay: '[به‌یانی كاتژمێر] LT',\n nextWeek: 'dddd [كاتژمێر] LT',\n lastDay: '[دوێنێ كاتژمێر] LT',\n lastWeek: 'dddd [كاتژمێر] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'له‌ %s',\n past: '%s',\n s: 'چه‌ند چركه‌یه‌ك',\n ss: 'چركه‌ %d',\n m: 'یه‌ك خوله‌ك',\n mm: '%d خوله‌ك',\n h: 'یه‌ك كاتژمێر',\n hh: '%d كاتژمێر',\n d: 'یه‌ك ڕۆژ',\n dd: '%d ڕۆژ',\n M: 'یه‌ك مانگ',\n MM: '%d مانگ',\n y: 'یه‌ك ساڵ',\n yy: '%d ساڵ',\n },\n preparse: function (string) {\n return string\n .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n })\n .replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return ku;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kyrgyz [ky]\n//! author : Chyngyz Arystan uulu : https://github.com/chyngyz\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 0: '-чү',\n 1: '-чи',\n 2: '-чи',\n 3: '-чү',\n 4: '-чү',\n 5: '-чи',\n 6: '-чы',\n 7: '-чи',\n 8: '-чи',\n 9: '-чу',\n 10: '-чу',\n 20: '-чы',\n 30: '-чу',\n 40: '-чы',\n 50: '-чү',\n 60: '-чы',\n 70: '-чи',\n 80: '-чи',\n 90: '-чу',\n 100: '-чү',\n };\n\n var ky = moment.defineLocale('ky', {\n months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(\n '_'\n ),\n monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split(\n '_'\n ),\n weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split(\n '_'\n ),\n weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),\n weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Бүгүн саат] LT',\n nextDay: '[Эртең саат] LT',\n nextWeek: 'dddd [саат] LT',\n lastDay: '[Кечээ саат] LT',\n lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s ичинде',\n past: '%s мурун',\n s: 'бирнече секунд',\n ss: '%d секунд',\n m: 'бир мүнөт',\n mm: '%d мүнөт',\n h: 'бир саат',\n hh: '%d саат',\n d: 'бир күн',\n dd: '%d күн',\n M: 'бир ай',\n MM: '%d ай',\n y: 'бир жыл',\n yy: '%d жыл',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(чи|чы|чү|чу)/,\n ordinal: function (number) {\n var a = number % 10,\n b = number >= 100 ? 100 : null;\n return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return ky;\n\n})));\n","//! moment.js locale configuration\n//! locale : Luxembourgish [lb]\n//! author : mweimerskirch : https://github.com/mweimerskirch\n//! author : David Raison : https://github.com/kwisatz\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n m: ['eng Minutt', 'enger Minutt'],\n h: ['eng Stonn', 'enger Stonn'],\n d: ['een Dag', 'engem Dag'],\n M: ['ee Mount', 'engem Mount'],\n y: ['ee Joer', 'engem Joer'],\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n function processFutureTime(string) {\n var number = string.substr(0, string.indexOf(' '));\n if (eifelerRegelAppliesToNumber(number)) {\n return 'a ' + string;\n }\n return 'an ' + string;\n }\n function processPastTime(string) {\n var number = string.substr(0, string.indexOf(' '));\n if (eifelerRegelAppliesToNumber(number)) {\n return 'viru ' + string;\n }\n return 'virun ' + string;\n }\n /**\n * Returns true if the word before the given number loses the '-n' ending.\n * e.g. 'an 10 Deeg' but 'a 5 Deeg'\n *\n * @param number {integer}\n * @returns {boolean}\n */\n function eifelerRegelAppliesToNumber(number) {\n number = parseInt(number, 10);\n if (isNaN(number)) {\n return false;\n }\n if (number < 0) {\n // Negative Number --> always true\n return true;\n } else if (number < 10) {\n // Only 1 digit\n if (4 <= number && number <= 7) {\n return true;\n }\n return false;\n } else if (number < 100) {\n // 2 digits\n var lastDigit = number % 10,\n firstDigit = number / 10;\n if (lastDigit === 0) {\n return eifelerRegelAppliesToNumber(firstDigit);\n }\n return eifelerRegelAppliesToNumber(lastDigit);\n } else if (number < 10000) {\n // 3 or 4 digits --> recursively check first digit\n while (number >= 10) {\n number = number / 10;\n }\n return eifelerRegelAppliesToNumber(number);\n } else {\n // Anything larger than 4 digits: recursively check first n-3 digits\n number = number / 1000;\n return eifelerRegelAppliesToNumber(number);\n }\n }\n\n var lb = moment.defineLocale('lb', {\n months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n '_'\n ),\n monthsShort:\n 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays:\n 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(\n '_'\n ),\n weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),\n weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm [Auer]',\n LTS: 'H:mm:ss [Auer]',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm [Auer]',\n LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',\n },\n calendar: {\n sameDay: '[Haut um] LT',\n sameElse: 'L',\n nextDay: '[Muer um] LT',\n nextWeek: 'dddd [um] LT',\n lastDay: '[Gëschter um] LT',\n lastWeek: function () {\n // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule\n switch (this.day()) {\n case 2:\n case 4:\n return '[Leschten] dddd [um] LT';\n default:\n return '[Leschte] dddd [um] LT';\n }\n },\n },\n relativeTime: {\n future: processFutureTime,\n past: processPastTime,\n s: 'e puer Sekonnen',\n ss: '%d Sekonnen',\n m: processRelativeTime,\n mm: '%d Minutten',\n h: processRelativeTime,\n hh: '%d Stonnen',\n d: processRelativeTime,\n dd: '%d Deeg',\n M: processRelativeTime,\n MM: '%d Méint',\n y: processRelativeTime,\n yy: '%d Joer',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return lb;\n\n})));\n","//! moment.js locale configuration\n//! locale : Lao [lo]\n//! author : Ryan Hart : https://github.com/ryanhart2\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var lo = moment.defineLocale('lo', {\n months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(\n '_'\n ),\n monthsShort:\n 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(\n '_'\n ),\n weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),\n weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),\n weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'ວັນdddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,\n isPM: function (input) {\n return input === 'ຕອນແລງ';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ຕອນເຊົ້າ';\n } else {\n return 'ຕອນແລງ';\n }\n },\n calendar: {\n sameDay: '[ມື້ນີ້ເວລາ] LT',\n nextDay: '[ມື້ອື່ນເວລາ] LT',\n nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',\n lastDay: '[ມື້ວານນີ້ເວລາ] LT',\n lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'ອີກ %s',\n past: '%sຜ່ານມາ',\n s: 'ບໍ່ເທົ່າໃດວິນາທີ',\n ss: '%d ວິນາທີ',\n m: '1 ນາທີ',\n mm: '%d ນາທີ',\n h: '1 ຊົ່ວໂມງ',\n hh: '%d ຊົ່ວໂມງ',\n d: '1 ມື້',\n dd: '%d ມື້',\n M: '1 ເດືອນ',\n MM: '%d ເດືອນ',\n y: '1 ປີ',\n yy: '%d ປີ',\n },\n dayOfMonthOrdinalParse: /(ທີ່)\\d{1,2}/,\n ordinal: function (number) {\n return 'ທີ່' + number;\n },\n });\n\n return lo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Lithuanian [lt]\n//! author : Mindaugas Mozūras : https://github.com/mmozuras\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var units = {\n ss: 'sekundė_sekundžių_sekundes',\n m: 'minutė_minutės_minutę',\n mm: 'minutės_minučių_minutes',\n h: 'valanda_valandos_valandą',\n hh: 'valandos_valandų_valandas',\n d: 'diena_dienos_dieną',\n dd: 'dienos_dienų_dienas',\n M: 'mėnuo_mėnesio_mėnesį',\n MM: 'mėnesiai_mėnesių_mėnesius',\n y: 'metai_metų_metus',\n yy: 'metai_metų_metus',\n };\n function translateSeconds(number, withoutSuffix, key, isFuture) {\n if (withoutSuffix) {\n return 'kelios sekundės';\n } else {\n return isFuture ? 'kelių sekundžių' : 'kelias sekundes';\n }\n }\n function translateSingular(number, withoutSuffix, key, isFuture) {\n return withoutSuffix\n ? forms(key)[0]\n : isFuture\n ? forms(key)[1]\n : forms(key)[2];\n }\n function special(number) {\n return number % 10 === 0 || (number > 10 && number < 20);\n }\n function forms(key) {\n return units[key].split('_');\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n if (number === 1) {\n return (\n result + translateSingular(number, withoutSuffix, key[0], isFuture)\n );\n } else if (withoutSuffix) {\n return result + (special(number) ? forms(key)[1] : forms(key)[0]);\n } else {\n if (isFuture) {\n return result + forms(key)[1];\n } else {\n return result + (special(number) ? forms(key)[1] : forms(key)[2]);\n }\n }\n }\n var lt = moment.defineLocale('lt', {\n months: {\n format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(\n '_'\n ),\n standalone:\n 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split(\n '_'\n ),\n isFormat: /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?|MMMM?(\\[[^\\[\\]]*\\]|\\s)+D[oD]?/,\n },\n monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),\n weekdays: {\n format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(\n '_'\n ),\n standalone:\n 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split(\n '_'\n ),\n isFormat: /dddd HH:mm/,\n },\n weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),\n weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY [m.] MMMM D [d.]',\n LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',\n l: 'YYYY-MM-DD',\n ll: 'YYYY [m.] MMMM D [d.]',\n lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]',\n },\n calendar: {\n sameDay: '[Šiandien] LT',\n nextDay: '[Rytoj] LT',\n nextWeek: 'dddd LT',\n lastDay: '[Vakar] LT',\n lastWeek: '[Praėjusį] dddd LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'po %s',\n past: 'prieš %s',\n s: translateSeconds,\n ss: translate,\n m: translateSingular,\n mm: translate,\n h: translateSingular,\n hh: translate,\n d: translateSingular,\n dd: translate,\n M: translateSingular,\n MM: translate,\n y: translateSingular,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-oji/,\n ordinal: function (number) {\n return number + '-oji';\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return lt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Latvian [lv]\n//! author : Kristaps Karlsons : https://github.com/skakri\n//! author : Jānis Elmeris : https://github.com/JanisE\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var units = {\n ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),\n m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),\n mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),\n h: 'stundas_stundām_stunda_stundas'.split('_'),\n hh: 'stundas_stundām_stunda_stundas'.split('_'),\n d: 'dienas_dienām_diena_dienas'.split('_'),\n dd: 'dienas_dienām_diena_dienas'.split('_'),\n M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),\n MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),\n y: 'gada_gadiem_gads_gadi'.split('_'),\n yy: 'gada_gadiem_gads_gadi'.split('_'),\n };\n /**\n * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.\n */\n function format(forms, number, withoutSuffix) {\n if (withoutSuffix) {\n // E.g. \"21 minūte\", \"3 minūtes\".\n return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];\n } else {\n // E.g. \"21 minūtes\" as in \"pēc 21 minūtes\".\n // E.g. \"3 minūtēm\" as in \"pēc 3 minūtēm\".\n return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];\n }\n }\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n return number + ' ' + format(units[key], number, withoutSuffix);\n }\n function relativeTimeWithSingular(number, withoutSuffix, key) {\n return format(units[key], number, withoutSuffix);\n }\n function relativeSeconds(number, withoutSuffix) {\n return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';\n }\n\n var lv = moment.defineLocale('lv', {\n months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),\n weekdays:\n 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split(\n '_'\n ),\n weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),\n weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY.',\n LL: 'YYYY. [gada] D. MMMM',\n LLL: 'YYYY. [gada] D. MMMM, HH:mm',\n LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm',\n },\n calendar: {\n sameDay: '[Šodien pulksten] LT',\n nextDay: '[Rīt pulksten] LT',\n nextWeek: 'dddd [pulksten] LT',\n lastDay: '[Vakar pulksten] LT',\n lastWeek: '[Pagājušā] dddd [pulksten] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'pēc %s',\n past: 'pirms %s',\n s: relativeSeconds,\n ss: relativeTimeWithPlural,\n m: relativeTimeWithSingular,\n mm: relativeTimeWithPlural,\n h: relativeTimeWithSingular,\n hh: relativeTimeWithPlural,\n d: relativeTimeWithSingular,\n dd: relativeTimeWithPlural,\n M: relativeTimeWithSingular,\n MM: relativeTimeWithPlural,\n y: relativeTimeWithSingular,\n yy: relativeTimeWithPlural,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return lv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Montenegrin [me]\n//! author : Miodrag Nikač : https://github.com/miodragnikac\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var translator = {\n words: {\n //Different grammatical cases\n ss: ['sekund', 'sekunda', 'sekundi'],\n m: ['jedan minut', 'jednog minuta'],\n mm: ['minut', 'minuta', 'minuta'],\n h: ['jedan sat', 'jednog sata'],\n hh: ['sat', 'sata', 'sati'],\n dd: ['dan', 'dana', 'dana'],\n MM: ['mjesec', 'mjeseca', 'mjeseci'],\n yy: ['godina', 'godine', 'godina'],\n },\n correctGrammaticalCase: function (number, wordKey) {\n return number === 1\n ? wordKey[0]\n : number >= 2 && number <= 4\n ? wordKey[1]\n : wordKey[2];\n },\n translate: function (number, withoutSuffix, key) {\n var wordKey = translator.words[key];\n if (key.length === 1) {\n return withoutSuffix ? wordKey[0] : wordKey[1];\n } else {\n return (\n number +\n ' ' +\n translator.correctGrammaticalCase(number, wordKey)\n );\n }\n },\n };\n\n var me = moment.defineLocale('me', {\n months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(\n '_'\n ),\n monthsShort:\n 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),\n monthsParseExact: true,\n weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n '_'\n ),\n weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sjutra u] LT',\n\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n case 3:\n return '[u] [srijedu] [u] LT';\n case 6:\n return '[u] [subotu] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[juče u] LT',\n lastWeek: function () {\n var lastWeekDays = [\n '[prošle] [nedjelje] [u] LT',\n '[prošlog] [ponedjeljka] [u] LT',\n '[prošlog] [utorka] [u] LT',\n '[prošle] [srijede] [u] LT',\n '[prošlog] [četvrtka] [u] LT',\n '[prošlog] [petka] [u] LT',\n '[prošle] [subote] [u] LT',\n ];\n return lastWeekDays[this.day()];\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'prije %s',\n s: 'nekoliko sekundi',\n ss: translator.translate,\n m: translator.translate,\n mm: translator.translate,\n h: translator.translate,\n hh: translator.translate,\n d: 'dan',\n dd: translator.translate,\n M: 'mjesec',\n MM: translator.translate,\n y: 'godinu',\n yy: translator.translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return me;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maori [mi]\n//! author : John Corrigan : https://github.com/johnideal\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var mi = moment.defineLocale('mi', {\n months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split(\n '_'\n ),\n monthsShort:\n 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(\n '_'\n ),\n monthsRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n monthsStrictRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n monthsShortRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n monthsShortStrictRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,2}/i,\n weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),\n weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),\n weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [i] HH:mm',\n LLLL: 'dddd, D MMMM YYYY [i] HH:mm',\n },\n calendar: {\n sameDay: '[i teie mahana, i] LT',\n nextDay: '[apopo i] LT',\n nextWeek: 'dddd [i] LT',\n lastDay: '[inanahi i] LT',\n lastWeek: 'dddd [whakamutunga i] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'i roto i %s',\n past: '%s i mua',\n s: 'te hēkona ruarua',\n ss: '%d hēkona',\n m: 'he meneti',\n mm: '%d meneti',\n h: 'te haora',\n hh: '%d haora',\n d: 'he ra',\n dd: '%d ra',\n M: 'he marama',\n MM: '%d marama',\n y: 'he tau',\n yy: '%d tau',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return mi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Macedonian [mk]\n//! author : Borislav Mickov : https://github.com/B0k0\n//! author : Sashko Todorov : https://github.com/bkyceh\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var mk = moment.defineLocale('mk', {\n months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(\n '_'\n ),\n monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),\n weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split(\n '_'\n ),\n weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),\n weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'D.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY H:mm',\n LLLL: 'dddd, D MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[Денес во] LT',\n nextDay: '[Утре во] LT',\n nextWeek: '[Во] dddd [во] LT',\n lastDay: '[Вчера во] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 6:\n return '[Изминатата] dddd [во] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[Изминатиот] dddd [во] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'за %s',\n past: 'пред %s',\n s: 'неколку секунди',\n ss: '%d секунди',\n m: 'една минута',\n mm: '%d минути',\n h: 'еден час',\n hh: '%d часа',\n d: 'еден ден',\n dd: '%d дена',\n M: 'еден месец',\n MM: '%d месеци',\n y: 'една година',\n yy: '%d години',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n ordinal: function (number) {\n var lastDigit = number % 10,\n last2Digits = number % 100;\n if (number === 0) {\n return number + '-ев';\n } else if (last2Digits === 0) {\n return number + '-ен';\n } else if (last2Digits > 10 && last2Digits < 20) {\n return number + '-ти';\n } else if (lastDigit === 1) {\n return number + '-ви';\n } else if (lastDigit === 2) {\n return number + '-ри';\n } else if (lastDigit === 7 || lastDigit === 8) {\n return number + '-ми';\n } else {\n return number + '-ти';\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return mk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malayalam [ml]\n//! author : Floyd Pink : https://github.com/floydpink\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ml = moment.defineLocale('ml', {\n months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(\n '_'\n ),\n monthsShort:\n 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays:\n 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(\n '_'\n ),\n weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),\n weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm -നു',\n LTS: 'A h:mm:ss -നു',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm -നു',\n LLLL: 'dddd, D MMMM YYYY, A h:mm -നു',\n },\n calendar: {\n sameDay: '[ഇന്ന്] LT',\n nextDay: '[നാളെ] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[ഇന്നലെ] LT',\n lastWeek: '[കഴിഞ്ഞ] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s കഴിഞ്ഞ്',\n past: '%s മുൻപ്',\n s: 'അൽപ നിമിഷങ്ങൾ',\n ss: '%d സെക്കൻഡ്',\n m: 'ഒരു മിനിറ്റ്',\n mm: '%d മിനിറ്റ്',\n h: 'ഒരു മണിക്കൂർ',\n hh: '%d മണിക്കൂർ',\n d: 'ഒരു ദിവസം',\n dd: '%d ദിവസം',\n M: 'ഒരു മാസം',\n MM: '%d മാസം',\n y: 'ഒരു വർഷം',\n yy: '%d വർഷം',\n },\n meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (\n (meridiem === 'രാത്രി' && hour >= 4) ||\n meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||\n meridiem === 'വൈകുന്നേരം'\n ) {\n return hour + 12;\n } else {\n return hour;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'രാത്രി';\n } else if (hour < 12) {\n return 'രാവിലെ';\n } else if (hour < 17) {\n return 'ഉച്ച കഴിഞ്ഞ്';\n } else if (hour < 20) {\n return 'വൈകുന്നേരം';\n } else {\n return 'രാത്രി';\n }\n },\n });\n\n return ml;\n\n})));\n","//! moment.js locale configuration\n//! locale : Mongolian [mn]\n//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function translate(number, withoutSuffix, key, isFuture) {\n switch (key) {\n case 's':\n return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';\n case 'ss':\n return number + (withoutSuffix ? ' секунд' : ' секундын');\n case 'm':\n case 'mm':\n return number + (withoutSuffix ? ' минут' : ' минутын');\n case 'h':\n case 'hh':\n return number + (withoutSuffix ? ' цаг' : ' цагийн');\n case 'd':\n case 'dd':\n return number + (withoutSuffix ? ' өдөр' : ' өдрийн');\n case 'M':\n case 'MM':\n return number + (withoutSuffix ? ' сар' : ' сарын');\n case 'y':\n case 'yy':\n return number + (withoutSuffix ? ' жил' : ' жилийн');\n default:\n return number;\n }\n }\n\n var mn = moment.defineLocale('mn', {\n months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split(\n '_'\n ),\n monthsShort:\n '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),\n weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),\n weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY оны MMMMын D',\n LLL: 'YYYY оны MMMMын D HH:mm',\n LLLL: 'dddd, YYYY оны MMMMын D HH:mm',\n },\n meridiemParse: /ҮӨ|ҮХ/i,\n isPM: function (input) {\n return input === 'ҮХ';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ҮӨ';\n } else {\n return 'ҮХ';\n }\n },\n calendar: {\n sameDay: '[Өнөөдөр] LT',\n nextDay: '[Маргааш] LT',\n nextWeek: '[Ирэх] dddd LT',\n lastDay: '[Өчигдөр] LT',\n lastWeek: '[Өнгөрсөн] dddd LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s дараа',\n past: '%s өмнө',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2} өдөр/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + ' өдөр';\n default:\n return number;\n }\n },\n });\n\n return mn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Marathi [mr]\n//! author : Harshad Kale : https://github.com/kalehv\n//! author : Vivek Athalye : https://github.com/vnathalye\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '१',\n 2: '२',\n 3: '३',\n 4: '४',\n 5: '५',\n 6: '६',\n 7: '७',\n 8: '८',\n 9: '९',\n 0: '०',\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0',\n };\n\n function relativeTimeMr(number, withoutSuffix, string, isFuture) {\n var output = '';\n if (withoutSuffix) {\n switch (string) {\n case 's':\n output = 'काही सेकंद';\n break;\n case 'ss':\n output = '%d सेकंद';\n break;\n case 'm':\n output = 'एक मिनिट';\n break;\n case 'mm':\n output = '%d मिनिटे';\n break;\n case 'h':\n output = 'एक तास';\n break;\n case 'hh':\n output = '%d तास';\n break;\n case 'd':\n output = 'एक दिवस';\n break;\n case 'dd':\n output = '%d दिवस';\n break;\n case 'M':\n output = 'एक महिना';\n break;\n case 'MM':\n output = '%d महिने';\n break;\n case 'y':\n output = 'एक वर्ष';\n break;\n case 'yy':\n output = '%d वर्षे';\n break;\n }\n } else {\n switch (string) {\n case 's':\n output = 'काही सेकंदां';\n break;\n case 'ss':\n output = '%d सेकंदां';\n break;\n case 'm':\n output = 'एका मिनिटा';\n break;\n case 'mm':\n output = '%d मिनिटां';\n break;\n case 'h':\n output = 'एका तासा';\n break;\n case 'hh':\n output = '%d तासां';\n break;\n case 'd':\n output = 'एका दिवसा';\n break;\n case 'dd':\n output = '%d दिवसां';\n break;\n case 'M':\n output = 'एका महिन्या';\n break;\n case 'MM':\n output = '%d महिन्यां';\n break;\n case 'y':\n output = 'एका वर्षा';\n break;\n case 'yy':\n output = '%d वर्षां';\n break;\n }\n }\n return output.replace(/%d/i, number);\n }\n\n var mr = moment.defineLocale('mr', {\n months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(\n '_'\n ),\n monthsShort:\n 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),\n weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),\n longDateFormat: {\n LT: 'A h:mm वाजता',\n LTS: 'A h:mm:ss वाजता',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm वाजता',\n LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता',\n },\n calendar: {\n sameDay: '[आज] LT',\n nextDay: '[उद्या] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[काल] LT',\n lastWeek: '[मागील] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%sमध्ये',\n past: '%sपूर्वी',\n s: relativeTimeMr,\n ss: relativeTimeMr,\n m: relativeTimeMr,\n mm: relativeTimeMr,\n h: relativeTimeMr,\n hh: relativeTimeMr,\n d: relativeTimeMr,\n dd: relativeTimeMr,\n M: relativeTimeMr,\n MM: relativeTimeMr,\n y: relativeTimeMr,\n yy: relativeTimeMr,\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {\n return hour;\n } else if (\n meridiem === 'दुपारी' ||\n meridiem === 'सायंकाळी' ||\n meridiem === 'रात्री'\n ) {\n return hour >= 12 ? hour : hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour >= 0 && hour < 6) {\n return 'पहाटे';\n } else if (hour < 12) {\n return 'सकाळी';\n } else if (hour < 17) {\n return 'दुपारी';\n } else if (hour < 20) {\n return 'सायंकाळी';\n } else {\n return 'रात्री';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return mr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malay [ms-my]\n//! note : DEPRECATED, the correct one is [ms]\n//! author : Weldan Jamili : https://github.com/weldan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var msMy = moment.defineLocale('ms-my', {\n months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n },\n meridiemParse: /pagi|tengahari|petang|malam/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'tengahari') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'petang' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'tengahari';\n } else if (hours < 19) {\n return 'petang';\n } else {\n return 'malam';\n }\n },\n calendar: {\n sameDay: '[Hari ini pukul] LT',\n nextDay: '[Esok pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kelmarin pukul] LT',\n lastWeek: 'dddd [lepas pukul] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dalam %s',\n past: '%s yang lepas',\n s: 'beberapa saat',\n ss: '%d saat',\n m: 'seminit',\n mm: '%d minit',\n h: 'sejam',\n hh: '%d jam',\n d: 'sehari',\n dd: '%d hari',\n M: 'sebulan',\n MM: '%d bulan',\n y: 'setahun',\n yy: '%d tahun',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return msMy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malay [ms]\n//! author : Weldan Jamili : https://github.com/weldan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ms = moment.defineLocale('ms', {\n months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n },\n meridiemParse: /pagi|tengahari|petang|malam/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'tengahari') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'petang' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'tengahari';\n } else if (hours < 19) {\n return 'petang';\n } else {\n return 'malam';\n }\n },\n calendar: {\n sameDay: '[Hari ini pukul] LT',\n nextDay: '[Esok pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kelmarin pukul] LT',\n lastWeek: 'dddd [lepas pukul] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dalam %s',\n past: '%s yang lepas',\n s: 'beberapa saat',\n ss: '%d saat',\n m: 'seminit',\n mm: '%d minit',\n h: 'sejam',\n hh: '%d jam',\n d: 'sehari',\n dd: '%d hari',\n M: 'sebulan',\n MM: '%d bulan',\n y: 'setahun',\n yy: '%d tahun',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return ms;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maltese (Malta) [mt]\n//! author : Alessandro Maruccia : https://github.com/alesma\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var mt = moment.defineLocale('mt', {\n months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(\n '_'\n ),\n monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),\n weekdays:\n 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(\n '_'\n ),\n weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),\n weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Illum fil-]LT',\n nextDay: '[Għada fil-]LT',\n nextWeek: 'dddd [fil-]LT',\n lastDay: '[Il-bieraħ fil-]LT',\n lastWeek: 'dddd [li għadda] [fil-]LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'f’ %s',\n past: '%s ilu',\n s: 'ftit sekondi',\n ss: '%d sekondi',\n m: 'minuta',\n mm: '%d minuti',\n h: 'siegħa',\n hh: '%d siegħat',\n d: 'ġurnata',\n dd: '%d ġranet',\n M: 'xahar',\n MM: '%d xhur',\n y: 'sena',\n yy: '%d sni',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return mt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Burmese [my]\n//! author : Squar team, mysquar.com\n//! author : David Rossellat : https://github.com/gholadr\n//! author : Tin Aung Lin : https://github.com/thanyawzinmin\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '၁',\n 2: '၂',\n 3: '၃',\n 4: '၄',\n 5: '၅',\n 6: '၆',\n 7: '၇',\n 8: '၈',\n 9: '၉',\n 0: '၀',\n },\n numberMap = {\n '၁': '1',\n '၂': '2',\n '၃': '3',\n '၄': '4',\n '၅': '5',\n '၆': '6',\n '၇': '7',\n '၈': '8',\n '၉': '9',\n '၀': '0',\n };\n\n var my = moment.defineLocale('my', {\n months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(\n '_'\n ),\n monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),\n weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(\n '_'\n ),\n weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),\n weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),\n\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[ယနေ.] LT [မှာ]',\n nextDay: '[မနက်ဖြန်] LT [မှာ]',\n nextWeek: 'dddd LT [မှာ]',\n lastDay: '[မနေ.က] LT [မှာ]',\n lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'လာမည့် %s မှာ',\n past: 'လွန်ခဲ့သော %s က',\n s: 'စက္ကန်.အနည်းငယ်',\n ss: '%d စက္ကန့်',\n m: 'တစ်မိနစ်',\n mm: '%d မိနစ်',\n h: 'တစ်နာရီ',\n hh: '%d နာရီ',\n d: 'တစ်ရက်',\n dd: '%d ရက်',\n M: 'တစ်လ',\n MM: '%d လ',\n y: 'တစ်နှစ်',\n yy: '%d နှစ်',\n },\n preparse: function (string) {\n return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return my;\n\n})));\n","//! moment.js locale configuration\n//! locale : Norwegian Bokmål [nb]\n//! authors : Espen Hovlandsdal : https://github.com/rexxars\n//! Sigurd Gartmann : https://github.com/sigurdga\n//! Stephen Ramthun : https://github.com/stephenramthun\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var nb = moment.defineLocale('nb', {\n months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(\n '_'\n ),\n monthsShort:\n 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),\n monthsParseExact: true,\n weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),\n weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),\n weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY [kl.] HH:mm',\n LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',\n },\n calendar: {\n sameDay: '[i dag kl.] LT',\n nextDay: '[i morgen kl.] LT',\n nextWeek: 'dddd [kl.] LT',\n lastDay: '[i går kl.] LT',\n lastWeek: '[forrige] dddd [kl.] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'om %s',\n past: '%s siden',\n s: 'noen sekunder',\n ss: '%d sekunder',\n m: 'ett minutt',\n mm: '%d minutter',\n h: 'én time',\n hh: '%d timer',\n d: 'én dag',\n dd: '%d dager',\n w: 'én uke',\n ww: '%d uker',\n M: 'én måned',\n MM: '%d måneder',\n y: 'ett år',\n yy: '%d år',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return nb;\n\n})));\n","//! moment.js locale configuration\n//! locale : Nepalese [ne]\n//! author : suvash : https://github.com/suvash\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '१',\n 2: '२',\n 3: '३',\n 4: '४',\n 5: '५',\n 6: '६',\n 7: '७',\n 8: '८',\n 9: '९',\n 0: '०',\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0',\n };\n\n var ne = moment.defineLocale('ne', {\n months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(\n '_'\n ),\n monthsShort:\n 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(\n '_'\n ),\n weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),\n weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'Aको h:mm बजे',\n LTS: 'Aको h:mm:ss बजे',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, Aको h:mm बजे',\n LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /राति|बिहान|दिउँसो|साँझ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'राति') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'बिहान') {\n return hour;\n } else if (meridiem === 'दिउँसो') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'साँझ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 3) {\n return 'राति';\n } else if (hour < 12) {\n return 'बिहान';\n } else if (hour < 16) {\n return 'दिउँसो';\n } else if (hour < 20) {\n return 'साँझ';\n } else {\n return 'राति';\n }\n },\n calendar: {\n sameDay: '[आज] LT',\n nextDay: '[भोलि] LT',\n nextWeek: '[आउँदो] dddd[,] LT',\n lastDay: '[हिजो] LT',\n lastWeek: '[गएको] dddd[,] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%sमा',\n past: '%s अगाडि',\n s: 'केही क्षण',\n ss: '%d सेकेण्ड',\n m: 'एक मिनेट',\n mm: '%d मिनेट',\n h: 'एक घण्टा',\n hh: '%d घण्टा',\n d: 'एक दिन',\n dd: '%d दिन',\n M: 'एक महिना',\n MM: '%d महिना',\n y: 'एक बर्ष',\n yy: '%d बर्ष',\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return ne;\n\n})));\n","//! moment.js locale configuration\n//! locale : Dutch (Belgium) [nl-be]\n//! author : Joris Röling : https://github.com/jorisroling\n//! author : Jacob Middag : https://github.com/middagj\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortWithDots =\n 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsShortWithoutDots =\n 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n monthsParse = [\n /^jan/i,\n /^feb/i,\n /^(maart|mrt\\.?)$/i,\n /^apr/i,\n /^mei$/i,\n /^jun[i.]?$/i,\n /^jul[i.]?$/i,\n /^aug/i,\n /^sep/i,\n /^okt/i,\n /^nov/i,\n /^dec/i,\n ],\n monthsRegex =\n /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n var nlBe = moment.defineLocale('nl-be', {\n months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex:\n /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex:\n /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n\n weekdays:\n 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'over %s',\n past: '%s geleden',\n s: 'een paar seconden',\n ss: '%d seconden',\n m: 'één minuut',\n mm: '%d minuten',\n h: 'één uur',\n hh: '%d uur',\n d: 'één dag',\n dd: '%d dagen',\n M: 'één maand',\n MM: '%d maanden',\n y: 'één jaar',\n yy: '%d jaar',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function (number) {\n return (\n number +\n (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n );\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return nlBe;\n\n})));\n","//! moment.js locale configuration\n//! locale : Dutch [nl]\n//! author : Joris Röling : https://github.com/jorisroling\n//! author : Jacob Middag : https://github.com/middagj\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortWithDots =\n 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsShortWithoutDots =\n 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n monthsParse = [\n /^jan/i,\n /^feb/i,\n /^(maart|mrt\\.?)$/i,\n /^apr/i,\n /^mei$/i,\n /^jun[i.]?$/i,\n /^jul[i.]?$/i,\n /^aug/i,\n /^sep/i,\n /^okt/i,\n /^nov/i,\n /^dec/i,\n ],\n monthsRegex =\n /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n var nl = moment.defineLocale('nl', {\n months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex:\n /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex:\n /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n\n weekdays:\n 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'over %s',\n past: '%s geleden',\n s: 'een paar seconden',\n ss: '%d seconden',\n m: 'één minuut',\n mm: '%d minuten',\n h: 'één uur',\n hh: '%d uur',\n d: 'één dag',\n dd: '%d dagen',\n w: 'één week',\n ww: '%d weken',\n M: 'één maand',\n MM: '%d maanden',\n y: 'één jaar',\n yy: '%d jaar',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function (number) {\n return (\n number +\n (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n );\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return nl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Nynorsk [nn]\n//! authors : https://github.com/mechuwind\n//! Stephen Ramthun : https://github.com/stephenramthun\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var nn = moment.defineLocale('nn', {\n months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(\n '_'\n ),\n monthsShort:\n 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),\n monthsParseExact: true,\n weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),\n weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),\n weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY [kl.] H:mm',\n LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',\n },\n calendar: {\n sameDay: '[I dag klokka] LT',\n nextDay: '[I morgon klokka] LT',\n nextWeek: 'dddd [klokka] LT',\n lastDay: '[I går klokka] LT',\n lastWeek: '[Føregåande] dddd [klokka] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'om %s',\n past: '%s sidan',\n s: 'nokre sekund',\n ss: '%d sekund',\n m: 'eit minutt',\n mm: '%d minutt',\n h: 'ein time',\n hh: '%d timar',\n d: 'ein dag',\n dd: '%d dagar',\n w: 'ei veke',\n ww: '%d veker',\n M: 'ein månad',\n MM: '%d månader',\n y: 'eit år',\n yy: '%d år',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return nn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Occitan, lengadocian dialecte [oc-lnc]\n//! author : Quentin PAGÈS : https://github.com/Quenty31\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ocLnc = moment.defineLocale('oc-lnc', {\n months: {\n standalone:\n 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(\n '_'\n ),\n format: \"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre\".split(\n '_'\n ),\n isFormat: /D[oD]?(\\s)+MMMM/,\n },\n monthsShort:\n 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(\n '_'\n ),\n weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),\n weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM [de] YYYY',\n ll: 'D MMM YYYY',\n LLL: 'D MMMM [de] YYYY [a] H:mm',\n lll: 'D MMM YYYY, H:mm',\n LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',\n llll: 'ddd D MMM YYYY, H:mm',\n },\n calendar: {\n sameDay: '[uèi a] LT',\n nextDay: '[deman a] LT',\n nextWeek: 'dddd [a] LT',\n lastDay: '[ièr a] LT',\n lastWeek: 'dddd [passat a] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: \"d'aquí %s\",\n past: 'fa %s',\n s: 'unas segondas',\n ss: '%d segondas',\n m: 'una minuta',\n mm: '%d minutas',\n h: 'una ora',\n hh: '%d oras',\n d: 'un jorn',\n dd: '%d jorns',\n M: 'un mes',\n MM: '%d meses',\n y: 'un an',\n yy: '%d ans',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(r|n|t|è|a)/,\n ordinal: function (number, period) {\n var output =\n number === 1\n ? 'r'\n : number === 2\n ? 'n'\n : number === 3\n ? 'r'\n : number === 4\n ? 't'\n : 'è';\n if (period === 'w' || period === 'W') {\n output = 'a';\n }\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4,\n },\n });\n\n return ocLnc;\n\n})));\n","//! moment.js locale configuration\n//! locale : Punjabi (India) [pa-in]\n//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '੧',\n 2: '੨',\n 3: '੩',\n 4: '੪',\n 5: '੫',\n 6: '੬',\n 7: '੭',\n 8: '੮',\n 9: '੯',\n 0: '੦',\n },\n numberMap = {\n '੧': '1',\n '੨': '2',\n '੩': '3',\n '੪': '4',\n '੫': '5',\n '੬': '6',\n '੭': '7',\n '੮': '8',\n '੯': '9',\n '੦': '0',\n };\n\n var paIn = moment.defineLocale('pa-in', {\n // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.\n months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(\n '_'\n ),\n monthsShort:\n 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(\n '_'\n ),\n weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split(\n '_'\n ),\n weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),\n weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm ਵਜੇ',\n LTS: 'A h:mm:ss ਵਜੇ',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',\n LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',\n },\n calendar: {\n sameDay: '[ਅਜ] LT',\n nextDay: '[ਕਲ] LT',\n nextWeek: '[ਅਗਲਾ] dddd, LT',\n lastDay: '[ਕਲ] LT',\n lastWeek: '[ਪਿਛਲੇ] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s ਵਿੱਚ',\n past: '%s ਪਿਛਲੇ',\n s: 'ਕੁਝ ਸਕਿੰਟ',\n ss: '%d ਸਕਿੰਟ',\n m: 'ਇਕ ਮਿੰਟ',\n mm: '%d ਮਿੰਟ',\n h: 'ਇੱਕ ਘੰਟਾ',\n hh: '%d ਘੰਟੇ',\n d: 'ਇੱਕ ਦਿਨ',\n dd: '%d ਦਿਨ',\n M: 'ਇੱਕ ਮਹੀਨਾ',\n MM: '%d ਮਹੀਨੇ',\n y: 'ਇੱਕ ਸਾਲ',\n yy: '%d ਸਾਲ',\n },\n preparse: function (string) {\n return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Punjabi notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.\n meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'ਰਾਤ') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ਸਵੇਰ') {\n return hour;\n } else if (meridiem === 'ਦੁਪਹਿਰ') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'ਸ਼ਾਮ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ਰਾਤ';\n } else if (hour < 10) {\n return 'ਸਵੇਰ';\n } else if (hour < 17) {\n return 'ਦੁਪਹਿਰ';\n } else if (hour < 20) {\n return 'ਸ਼ਾਮ';\n } else {\n return 'ਰਾਤ';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return paIn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Polish [pl]\n//! author : Rafal Hirsz : https://github.com/evoL\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsNominative =\n 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(\n '_'\n ),\n monthsSubjective =\n 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(\n '_'\n ),\n monthsParse = [\n /^sty/i,\n /^lut/i,\n /^mar/i,\n /^kwi/i,\n /^maj/i,\n /^cze/i,\n /^lip/i,\n /^sie/i,\n /^wrz/i,\n /^paź/i,\n /^lis/i,\n /^gru/i,\n ];\n function plural(n) {\n return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;\n }\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n switch (key) {\n case 'ss':\n return result + (plural(number) ? 'sekundy' : 'sekund');\n case 'm':\n return withoutSuffix ? 'minuta' : 'minutę';\n case 'mm':\n return result + (plural(number) ? 'minuty' : 'minut');\n case 'h':\n return withoutSuffix ? 'godzina' : 'godzinę';\n case 'hh':\n return result + (plural(number) ? 'godziny' : 'godzin');\n case 'ww':\n return result + (plural(number) ? 'tygodnie' : 'tygodni');\n case 'MM':\n return result + (plural(number) ? 'miesiące' : 'miesięcy');\n case 'yy':\n return result + (plural(number) ? 'lata' : 'lat');\n }\n }\n\n var pl = moment.defineLocale('pl', {\n months: function (momentToFormat, format) {\n if (!momentToFormat) {\n return monthsNominative;\n } else if (/D MMMM/.test(format)) {\n return monthsSubjective[momentToFormat.month()];\n } else {\n return monthsNominative[momentToFormat.month()];\n }\n },\n monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays:\n 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),\n weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),\n weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Dziś o] LT',\n nextDay: '[Jutro o] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[W niedzielę o] LT';\n\n case 2:\n return '[We wtorek o] LT';\n\n case 3:\n return '[W środę o] LT';\n\n case 6:\n return '[W sobotę o] LT';\n\n default:\n return '[W] dddd [o] LT';\n }\n },\n lastDay: '[Wczoraj o] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[W zeszłą niedzielę o] LT';\n case 3:\n return '[W zeszłą środę o] LT';\n case 6:\n return '[W zeszłą sobotę o] LT';\n default:\n return '[W zeszły] dddd [o] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: '%s temu',\n s: 'kilka sekund',\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: '1 dzień',\n dd: '%d dni',\n w: 'tydzień',\n ww: translate,\n M: 'miesiąc',\n MM: translate,\n y: 'rok',\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return pl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Portuguese (Brazil) [pt-br]\n//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ptBr = moment.defineLocale('pt-br', {\n months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(\n '_'\n ),\n monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),\n weekdays:\n 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(\n '_'\n ),\n weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),\n weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',\n },\n calendar: {\n sameDay: '[Hoje às] LT',\n nextDay: '[Amanhã às] LT',\n nextWeek: 'dddd [às] LT',\n lastDay: '[Ontem às] LT',\n lastWeek: function () {\n return this.day() === 0 || this.day() === 6\n ? '[Último] dddd [às] LT' // Saturday + Sunday\n : '[Última] dddd [às] LT'; // Monday - Friday\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'em %s',\n past: 'há %s',\n s: 'poucos segundos',\n ss: '%d segundos',\n m: 'um minuto',\n mm: '%d minutos',\n h: 'uma hora',\n hh: '%d horas',\n d: 'um dia',\n dd: '%d dias',\n M: 'um mês',\n MM: '%d meses',\n y: 'um ano',\n yy: '%d anos',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n invalidDate: 'Data inválida',\n });\n\n return ptBr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Portuguese [pt]\n//! author : Jefferson : https://github.com/jalex79\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var pt = moment.defineLocale('pt', {\n months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(\n '_'\n ),\n monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),\n weekdays:\n 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(\n '_'\n ),\n weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),\n weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY HH:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Hoje às] LT',\n nextDay: '[Amanhã às] LT',\n nextWeek: 'dddd [às] LT',\n lastDay: '[Ontem às] LT',\n lastWeek: function () {\n return this.day() === 0 || this.day() === 6\n ? '[Último] dddd [às] LT' // Saturday + Sunday\n : '[Última] dddd [às] LT'; // Monday - Friday\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'em %s',\n past: 'há %s',\n s: 'segundos',\n ss: '%d segundos',\n m: 'um minuto',\n mm: '%d minutos',\n h: 'uma hora',\n hh: '%d horas',\n d: 'um dia',\n dd: '%d dias',\n w: 'uma semana',\n ww: '%d semanas',\n M: 'um mês',\n MM: '%d meses',\n y: 'um ano',\n yy: '%d anos',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return pt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Romanian [ro]\n//! author : Vlad Gurdiga : https://github.com/gurdiga\n//! author : Valentin Agachi : https://github.com/avaly\n//! author : Emanuel Cepoi : https://github.com/cepem\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n ss: 'secunde',\n mm: 'minute',\n hh: 'ore',\n dd: 'zile',\n ww: 'săptămâni',\n MM: 'luni',\n yy: 'ani',\n },\n separator = ' ';\n if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {\n separator = ' de ';\n }\n return number + separator + format[key];\n }\n\n var ro = moment.defineLocale('ro', {\n months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(\n '_'\n ),\n monthsShort:\n 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),\n weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),\n weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY H:mm',\n LLLL: 'dddd, D MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[azi la] LT',\n nextDay: '[mâine la] LT',\n nextWeek: 'dddd [la] LT',\n lastDay: '[ieri la] LT',\n lastWeek: '[fosta] dddd [la] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'peste %s',\n past: '%s în urmă',\n s: 'câteva secunde',\n ss: relativeTimeWithPlural,\n m: 'un minut',\n mm: relativeTimeWithPlural,\n h: 'o oră',\n hh: relativeTimeWithPlural,\n d: 'o zi',\n dd: relativeTimeWithPlural,\n w: 'o săptămână',\n ww: relativeTimeWithPlural,\n M: 'o lună',\n MM: relativeTimeWithPlural,\n y: 'un an',\n yy: relativeTimeWithPlural,\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return ro;\n\n})));\n","//! moment.js locale configuration\n//! locale : Russian [ru]\n//! author : Viktorminator : https://github.com/Viktorminator\n//! author : Menelion Elensúle : https://github.com/Oire\n//! author : Коренберг Марк : https://github.com/socketpair\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11\n ? forms[0]\n : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n ? forms[1]\n : forms[2];\n }\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',\n mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',\n hh: 'час_часа_часов',\n dd: 'день_дня_дней',\n ww: 'неделя_недели_недель',\n MM: 'месяц_месяца_месяцев',\n yy: 'год_года_лет',\n };\n if (key === 'm') {\n return withoutSuffix ? 'минута' : 'минуту';\n } else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n var monthsParse = [\n /^янв/i,\n /^фев/i,\n /^мар/i,\n /^апр/i,\n /^ма[йя]/i,\n /^июн/i,\n /^июл/i,\n /^авг/i,\n /^сен/i,\n /^окт/i,\n /^ноя/i,\n /^дек/i,\n ];\n\n // http://new.gramota.ru/spravka/rules/139-prop : § 103\n // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637\n // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753\n var ru = moment.defineLocale('ru', {\n months: {\n format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split(\n '_'\n ),\n standalone:\n 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(\n '_'\n ),\n },\n monthsShort: {\n // по CLDR именно \"июл.\" и \"июн.\", но какой смысл менять букву на точку?\n format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split(\n '_'\n ),\n standalone:\n 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split(\n '_'\n ),\n },\n weekdays: {\n standalone:\n 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split(\n '_'\n ),\n format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split(\n '_'\n ),\n isFormat: /\\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/,\n },\n weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),\n weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n\n // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки\n monthsRegex:\n /^(январ[ья]|янв\\.?|феврал[ья]|февр?\\.?|марта?|мар\\.?|апрел[ья]|апр\\.?|ма[йя]|июн[ья]|июн\\.?|июл[ья]|июл\\.?|августа?|авг\\.?|сентябр[ья]|сент?\\.?|октябр[ья]|окт\\.?|ноябр[ья]|нояб?\\.?|декабр[ья]|дек\\.?)/i,\n\n // копия предыдущего\n monthsShortRegex:\n /^(январ[ья]|янв\\.?|феврал[ья]|февр?\\.?|марта?|мар\\.?|апрел[ья]|апр\\.?|ма[йя]|июн[ья]|июн\\.?|июл[ья]|июл\\.?|августа?|авг\\.?|сентябр[ья]|сент?\\.?|октябр[ья]|окт\\.?|ноябр[ья]|нояб?\\.?|декабр[ья]|дек\\.?)/i,\n\n // полные названия с падежами\n monthsStrictRegex:\n /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,\n\n // Выражение, которое соответствует только сокращённым формам\n monthsShortStrictRegex:\n /^(янв\\.|февр?\\.|мар[т.]|апр\\.|ма[яй]|июн[ья.]|июл[ья.]|авг\\.|сент?\\.|окт\\.|нояб?\\.|дек\\.)/i,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY г.',\n LLL: 'D MMMM YYYY г., H:mm',\n LLLL: 'dddd, D MMMM YYYY г., H:mm',\n },\n calendar: {\n sameDay: '[Сегодня, в] LT',\n nextDay: '[Завтра, в] LT',\n lastDay: '[Вчера, в] LT',\n nextWeek: function (now) {\n if (now.week() !== this.week()) {\n switch (this.day()) {\n case 0:\n return '[В следующее] dddd, [в] LT';\n case 1:\n case 2:\n case 4:\n return '[В следующий] dddd, [в] LT';\n case 3:\n case 5:\n case 6:\n return '[В следующую] dddd, [в] LT';\n }\n } else {\n if (this.day() === 2) {\n return '[Во] dddd, [в] LT';\n } else {\n return '[В] dddd, [в] LT';\n }\n }\n },\n lastWeek: function (now) {\n if (now.week() !== this.week()) {\n switch (this.day()) {\n case 0:\n return '[В прошлое] dddd, [в] LT';\n case 1:\n case 2:\n case 4:\n return '[В прошлый] dddd, [в] LT';\n case 3:\n case 5:\n case 6:\n return '[В прошлую] dddd, [в] LT';\n }\n } else {\n if (this.day() === 2) {\n return '[Во] dddd, [в] LT';\n } else {\n return '[В] dddd, [в] LT';\n }\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'через %s',\n past: '%s назад',\n s: 'несколько секунд',\n ss: relativeTimeWithPlural,\n m: relativeTimeWithPlural,\n mm: relativeTimeWithPlural,\n h: 'час',\n hh: relativeTimeWithPlural,\n d: 'день',\n dd: relativeTimeWithPlural,\n w: 'неделя',\n ww: relativeTimeWithPlural,\n M: 'месяц',\n MM: relativeTimeWithPlural,\n y: 'год',\n yy: relativeTimeWithPlural,\n },\n meridiemParse: /ночи|утра|дня|вечера/i,\n isPM: function (input) {\n return /^(дня|вечера)$/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ночи';\n } else if (hour < 12) {\n return 'утра';\n } else if (hour < 17) {\n return 'дня';\n } else {\n return 'вечера';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(й|го|я)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n return number + '-й';\n case 'D':\n return number + '-го';\n case 'w':\n case 'W':\n return number + '-я';\n default:\n return number;\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return ru;\n\n})));\n","//! moment.js locale configuration\n//! locale : Sindhi [sd]\n//! author : Narain Sagar : https://github.com/narainsagar\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = [\n 'جنوري',\n 'فيبروري',\n 'مارچ',\n 'اپريل',\n 'مئي',\n 'جون',\n 'جولاءِ',\n 'آگسٽ',\n 'سيپٽمبر',\n 'آڪٽوبر',\n 'نومبر',\n 'ڊسمبر',\n ],\n days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];\n\n var sd = moment.defineLocale('sd', {\n months: months,\n monthsShort: months,\n weekdays: days,\n weekdaysShort: days,\n weekdaysMin: days,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd، D MMMM YYYY HH:mm',\n },\n meridiemParse: /صبح|شام/,\n isPM: function (input) {\n return 'شام' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'صبح';\n }\n return 'شام';\n },\n calendar: {\n sameDay: '[اڄ] LT',\n nextDay: '[سڀاڻي] LT',\n nextWeek: 'dddd [اڳين هفتي تي] LT',\n lastDay: '[ڪالهه] LT',\n lastWeek: '[گزريل هفتي] dddd [تي] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s پوء',\n past: '%s اڳ',\n s: 'چند سيڪنڊ',\n ss: '%d سيڪنڊ',\n m: 'هڪ منٽ',\n mm: '%d منٽ',\n h: 'هڪ ڪلاڪ',\n hh: '%d ڪلاڪ',\n d: 'هڪ ڏينهن',\n dd: '%d ڏينهن',\n M: 'هڪ مهينو',\n MM: '%d مهينا',\n y: 'هڪ سال',\n yy: '%d سال',\n },\n preparse: function (string) {\n return string.replace(/،/g, ',');\n },\n postformat: function (string) {\n return string.replace(/,/g, '،');\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return sd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Northern Sami [se]\n//! authors : Bård Rolstad Henriksen : https://github.com/karamell\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var se = moment.defineLocale('se', {\n months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(\n '_'\n ),\n monthsShort:\n 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),\n weekdays:\n 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(\n '_'\n ),\n weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),\n weekdaysMin: 's_v_m_g_d_b_L'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'MMMM D. [b.] YYYY',\n LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',\n LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',\n },\n calendar: {\n sameDay: '[otne ti] LT',\n nextDay: '[ihttin ti] LT',\n nextWeek: 'dddd [ti] LT',\n lastDay: '[ikte ti] LT',\n lastWeek: '[ovddit] dddd [ti] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s geažes',\n past: 'maŋit %s',\n s: 'moadde sekunddat',\n ss: '%d sekunddat',\n m: 'okta minuhta',\n mm: '%d minuhtat',\n h: 'okta diimmu',\n hh: '%d diimmut',\n d: 'okta beaivi',\n dd: '%d beaivvit',\n M: 'okta mánnu',\n MM: '%d mánut',\n y: 'okta jahki',\n yy: '%d jagit',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return se;\n\n})));\n","//! moment.js locale configuration\n//! locale : Sinhalese [si]\n//! author : Sampath Sitinamaluwa : https://github.com/sampathsris\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n /*jshint -W100*/\n var si = moment.defineLocale('si', {\n months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split(\n '_'\n ),\n monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split(\n '_'\n ),\n weekdays:\n 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split(\n '_'\n ),\n weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),\n weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'a h:mm',\n LTS: 'a h:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY MMMM D',\n LLL: 'YYYY MMMM D, a h:mm',\n LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss',\n },\n calendar: {\n sameDay: '[අද] LT[ට]',\n nextDay: '[හෙට] LT[ට]',\n nextWeek: 'dddd LT[ට]',\n lastDay: '[ඊයේ] LT[ට]',\n lastWeek: '[පසුගිය] dddd LT[ට]',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%sකින්',\n past: '%sකට පෙර',\n s: 'තත්පර කිහිපය',\n ss: 'තත්පර %d',\n m: 'මිනිත්තුව',\n mm: 'මිනිත්තු %d',\n h: 'පැය',\n hh: 'පැය %d',\n d: 'දිනය',\n dd: 'දින %d',\n M: 'මාසය',\n MM: 'මාස %d',\n y: 'වසර',\n yy: 'වසර %d',\n },\n dayOfMonthOrdinalParse: /\\d{1,2} වැනි/,\n ordinal: function (number) {\n return number + ' වැනි';\n },\n meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,\n isPM: function (input) {\n return input === 'ප.ව.' || input === 'පස් වරු';\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'ප.ව.' : 'පස් වරු';\n } else {\n return isLower ? 'පෙ.ව.' : 'පෙර වරු';\n }\n },\n });\n\n return si;\n\n})));\n","//! moment.js locale configuration\n//! locale : Slovak [sk]\n//! author : Martin Minka : https://github.com/k2s\n//! based on work of petrbela : https://github.com/petrbela\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months =\n 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(\n '_'\n ),\n monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');\n function plural(n) {\n return n > 1 && n < 5;\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n switch (key) {\n case 's': // a few seconds / in a few seconds / a few seconds ago\n return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';\n case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'sekundy' : 'sekúnd');\n } else {\n return result + 'sekundami';\n }\n case 'm': // a minute / in a minute / a minute ago\n return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';\n case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'minúty' : 'minút');\n } else {\n return result + 'minútami';\n }\n case 'h': // an hour / in an hour / an hour ago\n return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n case 'hh': // 9 hours / in 9 hours / 9 hours ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'hodiny' : 'hodín');\n } else {\n return result + 'hodinami';\n }\n case 'd': // a day / in a day / a day ago\n return withoutSuffix || isFuture ? 'deň' : 'dňom';\n case 'dd': // 9 days / in 9 days / 9 days ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'dni' : 'dní');\n } else {\n return result + 'dňami';\n }\n case 'M': // a month / in a month / a month ago\n return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';\n case 'MM': // 9 months / in 9 months / 9 months ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'mesiace' : 'mesiacov');\n } else {\n return result + 'mesiacmi';\n }\n case 'y': // a year / in a year / a year ago\n return withoutSuffix || isFuture ? 'rok' : 'rokom';\n case 'yy': // 9 years / in 9 years / 9 years ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'roky' : 'rokov');\n } else {\n return result + 'rokmi';\n }\n }\n }\n\n var sk = moment.defineLocale('sk', {\n months: months,\n monthsShort: monthsShort,\n weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),\n weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),\n weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[dnes o] LT',\n nextDay: '[zajtra o] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[v nedeľu o] LT';\n case 1:\n case 2:\n return '[v] dddd [o] LT';\n case 3:\n return '[v stredu o] LT';\n case 4:\n return '[vo štvrtok o] LT';\n case 5:\n return '[v piatok o] LT';\n case 6:\n return '[v sobotu o] LT';\n }\n },\n lastDay: '[včera o] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[minulú nedeľu o] LT';\n case 1:\n case 2:\n return '[minulý] dddd [o] LT';\n case 3:\n return '[minulú stredu o] LT';\n case 4:\n case 5:\n return '[minulý] dddd [o] LT';\n case 6:\n return '[minulú sobotu o] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'pred %s',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return sk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Slovenian [sl]\n//! author : Robert Sedovšek : https://github.com/sedovsek\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n switch (key) {\n case 's':\n return withoutSuffix || isFuture\n ? 'nekaj sekund'\n : 'nekaj sekundami';\n case 'ss':\n if (number === 1) {\n result += withoutSuffix ? 'sekundo' : 'sekundi';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';\n } else {\n result += 'sekund';\n }\n return result;\n case 'm':\n return withoutSuffix ? 'ena minuta' : 'eno minuto';\n case 'mm':\n if (number === 1) {\n result += withoutSuffix ? 'minuta' : 'minuto';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'minuti' : 'minutama';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'minute' : 'minutami';\n } else {\n result += withoutSuffix || isFuture ? 'minut' : 'minutami';\n }\n return result;\n case 'h':\n return withoutSuffix ? 'ena ura' : 'eno uro';\n case 'hh':\n if (number === 1) {\n result += withoutSuffix ? 'ura' : 'uro';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'uri' : 'urama';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'ure' : 'urami';\n } else {\n result += withoutSuffix || isFuture ? 'ur' : 'urami';\n }\n return result;\n case 'd':\n return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';\n case 'dd':\n if (number === 1) {\n result += withoutSuffix || isFuture ? 'dan' : 'dnem';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';\n } else {\n result += withoutSuffix || isFuture ? 'dni' : 'dnevi';\n }\n return result;\n case 'M':\n return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';\n case 'MM':\n if (number === 1) {\n result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'mesece' : 'meseci';\n } else {\n result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';\n }\n return result;\n case 'y':\n return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';\n case 'yy':\n if (number === 1) {\n result += withoutSuffix || isFuture ? 'leto' : 'letom';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'leti' : 'letoma';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'leta' : 'leti';\n } else {\n result += withoutSuffix || isFuture ? 'let' : 'leti';\n }\n return result;\n }\n }\n\n var sl = moment.defineLocale('sl', {\n months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort:\n 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),\n weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),\n weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD. MM. YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[danes ob] LT',\n nextDay: '[jutri ob] LT',\n\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[v] [nedeljo] [ob] LT';\n case 3:\n return '[v] [sredo] [ob] LT';\n case 6:\n return '[v] [soboto] [ob] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[v] dddd [ob] LT';\n }\n },\n lastDay: '[včeraj ob] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[prejšnjo] [nedeljo] [ob] LT';\n case 3:\n return '[prejšnjo] [sredo] [ob] LT';\n case 6:\n return '[prejšnjo] [soboto] [ob] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[prejšnji] dddd [ob] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'čez %s',\n past: 'pred %s',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return sl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Albanian [sq]\n//! author : Flakërim Ismani : https://github.com/flakerimi\n//! author : Menelion Elensúle : https://github.com/Oire\n//! author : Oerd Cukalla : https://github.com/oerd\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var sq = moment.defineLocale('sq', {\n months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(\n '_'\n ),\n monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),\n weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(\n '_'\n ),\n weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),\n weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),\n weekdaysParseExact: true,\n meridiemParse: /PD|MD/,\n isPM: function (input) {\n return input.charAt(0) === 'M';\n },\n meridiem: function (hours, minutes, isLower) {\n return hours < 12 ? 'PD' : 'MD';\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Sot në] LT',\n nextDay: '[Nesër në] LT',\n nextWeek: 'dddd [në] LT',\n lastDay: '[Dje në] LT',\n lastWeek: 'dddd [e kaluar në] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'në %s',\n past: '%s më parë',\n s: 'disa sekonda',\n ss: '%d sekonda',\n m: 'një minutë',\n mm: '%d minuta',\n h: 'një orë',\n hh: '%d orë',\n d: 'një ditë',\n dd: '%d ditë',\n M: 'një muaj',\n MM: '%d muaj',\n y: 'një vit',\n yy: '%d vite',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return sq;\n\n})));\n","//! moment.js locale configuration\n//! locale : Serbian Cyrillic [sr-cyrl]\n//! author : Milan Janačković : https://github.com/milan-j\n//! author : Stefan Crnjaković : https://github.com/crnjakovic\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var translator = {\n words: {\n //Different grammatical cases\n ss: ['секунда', 'секунде', 'секунди'],\n m: ['један минут', 'једног минута'],\n mm: ['минут', 'минута', 'минута'],\n h: ['један сат', 'једног сата'],\n hh: ['сат', 'сата', 'сати'],\n d: ['један дан', 'једног дана'],\n dd: ['дан', 'дана', 'дана'],\n M: ['један месец', 'једног месеца'],\n MM: ['месец', 'месеца', 'месеци'],\n y: ['једну годину', 'једне године'],\n yy: ['годину', 'године', 'година'],\n },\n correctGrammaticalCase: function (number, wordKey) {\n if (\n number % 10 >= 1 &&\n number % 10 <= 4 &&\n (number % 100 < 10 || number % 100 >= 20)\n ) {\n return number % 10 === 1 ? wordKey[0] : wordKey[1];\n }\n return wordKey[2];\n },\n translate: function (number, withoutSuffix, key, isFuture) {\n var wordKey = translator.words[key],\n word;\n\n if (key.length === 1) {\n // Nominativ\n if (key === 'y' && withoutSuffix) return 'једна година';\n return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];\n }\n\n word = translator.correctGrammaticalCase(number, wordKey);\n // Nominativ\n if (key === 'yy' && withoutSuffix && word === 'годину') {\n return number + ' година';\n }\n\n return number + ' ' + word;\n },\n };\n\n var srCyrl = moment.defineLocale('sr-cyrl', {\n months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split(\n '_'\n ),\n monthsShort:\n 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),\n monthsParseExact: true,\n weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),\n weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),\n weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'D. M. YYYY.',\n LL: 'D. MMMM YYYY.',\n LLL: 'D. MMMM YYYY. H:mm',\n LLLL: 'dddd, D. MMMM YYYY. H:mm',\n },\n calendar: {\n sameDay: '[данас у] LT',\n nextDay: '[сутра у] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[у] [недељу] [у] LT';\n case 3:\n return '[у] [среду] [у] LT';\n case 6:\n return '[у] [суботу] [у] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[у] dddd [у] LT';\n }\n },\n lastDay: '[јуче у] LT',\n lastWeek: function () {\n var lastWeekDays = [\n '[прошле] [недеље] [у] LT',\n '[прошлог] [понедељка] [у] LT',\n '[прошлог] [уторка] [у] LT',\n '[прошле] [среде] [у] LT',\n '[прошлог] [четвртка] [у] LT',\n '[прошлог] [петка] [у] LT',\n '[прошле] [суботе] [у] LT',\n ];\n return lastWeekDays[this.day()];\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'за %s',\n past: 'пре %s',\n s: 'неколико секунди',\n ss: translator.translate,\n m: translator.translate,\n mm: translator.translate,\n h: translator.translate,\n hh: translator.translate,\n d: translator.translate,\n dd: translator.translate,\n M: translator.translate,\n MM: translator.translate,\n y: translator.translate,\n yy: translator.translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 1st is the first week of the year.\n },\n });\n\n return srCyrl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Serbian [sr]\n//! author : Milan Janačković : https://github.com/milan-j\n//! author : Stefan Crnjaković : https://github.com/crnjakovic\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var translator = {\n words: {\n //Different grammatical cases\n ss: ['sekunda', 'sekunde', 'sekundi'],\n m: ['jedan minut', 'jednog minuta'],\n mm: ['minut', 'minuta', 'minuta'],\n h: ['jedan sat', 'jednog sata'],\n hh: ['sat', 'sata', 'sati'],\n d: ['jedan dan', 'jednog dana'],\n dd: ['dan', 'dana', 'dana'],\n M: ['jedan mesec', 'jednog meseca'],\n MM: ['mesec', 'meseca', 'meseci'],\n y: ['jednu godinu', 'jedne godine'],\n yy: ['godinu', 'godine', 'godina'],\n },\n correctGrammaticalCase: function (number, wordKey) {\n if (\n number % 10 >= 1 &&\n number % 10 <= 4 &&\n (number % 100 < 10 || number % 100 >= 20)\n ) {\n return number % 10 === 1 ? wordKey[0] : wordKey[1];\n }\n return wordKey[2];\n },\n translate: function (number, withoutSuffix, key, isFuture) {\n var wordKey = translator.words[key],\n word;\n\n if (key.length === 1) {\n // Nominativ\n if (key === 'y' && withoutSuffix) return 'jedna godina';\n return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];\n }\n\n word = translator.correctGrammaticalCase(number, wordKey);\n // Nominativ\n if (key === 'yy' && withoutSuffix && word === 'godinu') {\n return number + ' godina';\n }\n\n return number + ' ' + word;\n },\n };\n\n var sr = moment.defineLocale('sr', {\n months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(\n '_'\n ),\n monthsShort:\n 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),\n monthsParseExact: true,\n weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split(\n '_'\n ),\n weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'D. M. YYYY.',\n LL: 'D. MMMM YYYY.',\n LLL: 'D. MMMM YYYY. H:mm',\n LLLL: 'dddd, D. MMMM YYYY. H:mm',\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sutra u] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[u] [nedelju] [u] LT';\n case 3:\n return '[u] [sredu] [u] LT';\n case 6:\n return '[u] [subotu] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[juče u] LT',\n lastWeek: function () {\n var lastWeekDays = [\n '[prošle] [nedelje] [u] LT',\n '[prošlog] [ponedeljka] [u] LT',\n '[prošlog] [utorka] [u] LT',\n '[prošle] [srede] [u] LT',\n '[prošlog] [četvrtka] [u] LT',\n '[prošlog] [petka] [u] LT',\n '[prošle] [subote] [u] LT',\n ];\n return lastWeekDays[this.day()];\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'pre %s',\n s: 'nekoliko sekundi',\n ss: translator.translate,\n m: translator.translate,\n mm: translator.translate,\n h: translator.translate,\n hh: translator.translate,\n d: translator.translate,\n dd: translator.translate,\n M: translator.translate,\n MM: translator.translate,\n y: translator.translate,\n yy: translator.translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return sr;\n\n})));\n","//! moment.js locale configuration\n//! locale : siSwati [ss]\n//! author : Nicolai Davies : https://github.com/nicolaidavies\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ss = moment.defineLocale('ss', {\n months: \"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni\".split(\n '_'\n ),\n monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),\n weekdays:\n 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(\n '_'\n ),\n weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),\n weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Namuhla nga] LT',\n nextDay: '[Kusasa nga] LT',\n nextWeek: 'dddd [nga] LT',\n lastDay: '[Itolo nga] LT',\n lastWeek: 'dddd [leliphelile] [nga] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'nga %s',\n past: 'wenteka nga %s',\n s: 'emizuzwana lomcane',\n ss: '%d mzuzwana',\n m: 'umzuzu',\n mm: '%d emizuzu',\n h: 'lihora',\n hh: '%d emahora',\n d: 'lilanga',\n dd: '%d emalanga',\n M: 'inyanga',\n MM: '%d tinyanga',\n y: 'umnyaka',\n yy: '%d iminyaka',\n },\n meridiemParse: /ekuseni|emini|entsambama|ebusuku/,\n meridiem: function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'ekuseni';\n } else if (hours < 15) {\n return 'emini';\n } else if (hours < 19) {\n return 'entsambama';\n } else {\n return 'ebusuku';\n }\n },\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'ekuseni') {\n return hour;\n } else if (meridiem === 'emini') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {\n if (hour === 0) {\n return 0;\n }\n return hour + 12;\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: '%d',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return ss;\n\n})));\n","//! moment.js locale configuration\n//! locale : Swedish [sv]\n//! author : Jens Alm : https://github.com/ulmus\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var sv = moment.defineLocale('sv', {\n months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),\n weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),\n weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [kl.] HH:mm',\n LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',\n lll: 'D MMM YYYY HH:mm',\n llll: 'ddd D MMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Idag] LT',\n nextDay: '[Imorgon] LT',\n lastDay: '[Igår] LT',\n nextWeek: '[På] dddd LT',\n lastWeek: '[I] dddd[s] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'om %s',\n past: 'för %s sedan',\n s: 'några sekunder',\n ss: '%d sekunder',\n m: 'en minut',\n mm: '%d minuter',\n h: 'en timme',\n hh: '%d timmar',\n d: 'en dag',\n dd: '%d dagar',\n M: 'en månad',\n MM: '%d månader',\n y: 'ett år',\n yy: '%d år',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(\\:e|\\:a)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? ':e'\n : b === 1\n ? ':a'\n : b === 2\n ? ':a'\n : b === 3\n ? ':e'\n : ':e';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return sv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Swahili [sw]\n//! author : Fahad Kassim : https://github.com/fadsel\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var sw = moment.defineLocale('sw', {\n months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),\n weekdays:\n 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(\n '_'\n ),\n weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),\n weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'hh:mm A',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[leo saa] LT',\n nextDay: '[kesho saa] LT',\n nextWeek: '[wiki ijayo] dddd [saat] LT',\n lastDay: '[jana] LT',\n lastWeek: '[wiki iliyopita] dddd [saat] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s baadaye',\n past: 'tokea %s',\n s: 'hivi punde',\n ss: 'sekunde %d',\n m: 'dakika moja',\n mm: 'dakika %d',\n h: 'saa limoja',\n hh: 'masaa %d',\n d: 'siku moja',\n dd: 'siku %d',\n M: 'mwezi mmoja',\n MM: 'miezi %d',\n y: 'mwaka mmoja',\n yy: 'miaka %d',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return sw;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tamil [ta]\n//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n 1: '௧',\n 2: '௨',\n 3: '௩',\n 4: '௪',\n 5: '௫',\n 6: '௬',\n 7: '௭',\n 8: '௮',\n 9: '௯',\n 0: '௦',\n },\n numberMap = {\n '௧': '1',\n '௨': '2',\n '௩': '3',\n '௪': '4',\n '௫': '5',\n '௬': '6',\n '௭': '7',\n '௮': '8',\n '௯': '9',\n '௦': '0',\n };\n\n var ta = moment.defineLocale('ta', {\n months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(\n '_'\n ),\n monthsShort:\n 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(\n '_'\n ),\n weekdays:\n 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split(\n '_'\n ),\n weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split(\n '_'\n ),\n weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, HH:mm',\n LLLL: 'dddd, D MMMM YYYY, HH:mm',\n },\n calendar: {\n sameDay: '[இன்று] LT',\n nextDay: '[நாளை] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[நேற்று] LT',\n lastWeek: '[கடந்த வாரம்] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s இல்',\n past: '%s முன்',\n s: 'ஒரு சில விநாடிகள்',\n ss: '%d விநாடிகள்',\n m: 'ஒரு நிமிடம்',\n mm: '%d நிமிடங்கள்',\n h: 'ஒரு மணி நேரம்',\n hh: '%d மணி நேரம்',\n d: 'ஒரு நாள்',\n dd: '%d நாட்கள்',\n M: 'ஒரு மாதம்',\n MM: '%d மாதங்கள்',\n y: 'ஒரு வருடம்',\n yy: '%d ஆண்டுகள்',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}வது/,\n ordinal: function (number) {\n return number + 'வது';\n },\n preparse: function (string) {\n return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // refer http://ta.wikipedia.org/s/1er1\n meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,\n meridiem: function (hour, minute, isLower) {\n if (hour < 2) {\n return ' யாமம்';\n } else if (hour < 6) {\n return ' வைகறை'; // வைகறை\n } else if (hour < 10) {\n return ' காலை'; // காலை\n } else if (hour < 14) {\n return ' நண்பகல்'; // நண்பகல்\n } else if (hour < 18) {\n return ' எற்பாடு'; // எற்பாடு\n } else if (hour < 22) {\n return ' மாலை'; // மாலை\n } else {\n return ' யாமம்';\n }\n },\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'யாமம்') {\n return hour < 2 ? hour : hour + 12;\n } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {\n return hour;\n } else if (meridiem === 'நண்பகல்') {\n return hour >= 10 ? hour : hour + 12;\n } else {\n return hour + 12;\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return ta;\n\n})));\n","//! moment.js locale configuration\n//! locale : Telugu [te]\n//! author : Krishna Chaitanya Thota : https://github.com/kcthota\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var te = moment.defineLocale('te', {\n months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(\n '_'\n ),\n monthsShort:\n 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays:\n 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(\n '_'\n ),\n weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),\n weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm',\n LLLL: 'dddd, D MMMM YYYY, A h:mm',\n },\n calendar: {\n sameDay: '[నేడు] LT',\n nextDay: '[రేపు] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[నిన్న] LT',\n lastWeek: '[గత] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s లో',\n past: '%s క్రితం',\n s: 'కొన్ని క్షణాలు',\n ss: '%d సెకన్లు',\n m: 'ఒక నిమిషం',\n mm: '%d నిమిషాలు',\n h: 'ఒక గంట',\n hh: '%d గంటలు',\n d: 'ఒక రోజు',\n dd: '%d రోజులు',\n M: 'ఒక నెల',\n MM: '%d నెలలు',\n y: 'ఒక సంవత్సరం',\n yy: '%d సంవత్సరాలు',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}వ/,\n ordinal: '%dవ',\n meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'రాత్రి') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ఉదయం') {\n return hour;\n } else if (meridiem === 'మధ్యాహ్నం') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'సాయంత్రం') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'రాత్రి';\n } else if (hour < 10) {\n return 'ఉదయం';\n } else if (hour < 17) {\n return 'మధ్యాహ్నం';\n } else if (hour < 20) {\n return 'సాయంత్రం';\n } else {\n return 'రాత్రి';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return te;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tetun Dili (East Timor) [tet]\n//! author : Joshua Brooks : https://github.com/joshbrooks\n//! author : Onorio De J. Afonso : https://github.com/marobo\n//! author : Sonia Simoes : https://github.com/soniasimoes\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var tet = moment.defineLocale('tet', {\n months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(\n '_'\n ),\n monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),\n weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),\n weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Ohin iha] LT',\n nextDay: '[Aban iha] LT',\n nextWeek: 'dddd [iha] LT',\n lastDay: '[Horiseik iha] LT',\n lastWeek: 'dddd [semana kotuk] [iha] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'iha %s',\n past: '%s liuba',\n s: 'segundu balun',\n ss: 'segundu %d',\n m: 'minutu ida',\n mm: 'minutu %d',\n h: 'oras ida',\n hh: 'oras %d',\n d: 'loron ida',\n dd: 'loron %d',\n M: 'fulan ida',\n MM: 'fulan %d',\n y: 'tinan ida',\n yy: 'tinan %d',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return tet;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tajik [tg]\n//! author : Orif N. Jr. : https://github.com/orif-jr\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 0: '-ум',\n 1: '-ум',\n 2: '-юм',\n 3: '-юм',\n 4: '-ум',\n 5: '-ум',\n 6: '-ум',\n 7: '-ум',\n 8: '-ум',\n 9: '-ум',\n 10: '-ум',\n 12: '-ум',\n 13: '-ум',\n 20: '-ум',\n 30: '-юм',\n 40: '-ум',\n 50: '-ум',\n 60: '-ум',\n 70: '-ум',\n 80: '-ум',\n 90: '-ум',\n 100: '-ум',\n };\n\n var tg = moment.defineLocale('tg', {\n months: {\n format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split(\n '_'\n ),\n standalone:\n 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(\n '_'\n ),\n },\n monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),\n weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(\n '_'\n ),\n weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),\n weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Имрӯз соати] LT',\n nextDay: '[Фардо соати] LT',\n lastDay: '[Дирӯз соати] LT',\n nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',\n lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'баъди %s',\n past: '%s пеш',\n s: 'якчанд сония',\n m: 'як дақиқа',\n mm: '%d дақиқа',\n h: 'як соат',\n hh: '%d соат',\n d: 'як рӯз',\n dd: '%d рӯз',\n M: 'як моҳ',\n MM: '%d моҳ',\n y: 'як сол',\n yy: '%d сол',\n },\n meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'шаб') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'субҳ') {\n return hour;\n } else if (meridiem === 'рӯз') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'бегоҳ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'шаб';\n } else if (hour < 11) {\n return 'субҳ';\n } else if (hour < 16) {\n return 'рӯз';\n } else if (hour < 19) {\n return 'бегоҳ';\n } else {\n return 'шаб';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ум|юм)/,\n ordinal: function (number) {\n var a = number % 10,\n b = number >= 100 ? 100 : null;\n return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 1th is the first week of the year.\n },\n });\n\n return tg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Thai [th]\n//! author : Kridsada Thanabulpong : https://github.com/sirn\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var th = moment.defineLocale('th', {\n months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(\n '_'\n ),\n monthsShort:\n 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),\n weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference\n weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY เวลา H:mm',\n LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',\n },\n meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,\n isPM: function (input) {\n return input === 'หลังเที่ยง';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ก่อนเที่ยง';\n } else {\n return 'หลังเที่ยง';\n }\n },\n calendar: {\n sameDay: '[วันนี้ เวลา] LT',\n nextDay: '[พรุ่งนี้ เวลา] LT',\n nextWeek: 'dddd[หน้า เวลา] LT',\n lastDay: '[เมื่อวานนี้ เวลา] LT',\n lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'อีก %s',\n past: '%sที่แล้ว',\n s: 'ไม่กี่วินาที',\n ss: '%d วินาที',\n m: '1 นาที',\n mm: '%d นาที',\n h: '1 ชั่วโมง',\n hh: '%d ชั่วโมง',\n d: '1 วัน',\n dd: '%d วัน',\n w: '1 สัปดาห์',\n ww: '%d สัปดาห์',\n M: '1 เดือน',\n MM: '%d เดือน',\n y: '1 ปี',\n yy: '%d ปี',\n },\n });\n\n return th;\n\n})));\n","//! moment.js locale configuration\n//! locale : Turkmen [tk]\n//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 1: \"'inji\",\n 5: \"'inji\",\n 8: \"'inji\",\n 70: \"'inji\",\n 80: \"'inji\",\n 2: \"'nji\",\n 7: \"'nji\",\n 20: \"'nji\",\n 50: \"'nji\",\n 3: \"'ünji\",\n 4: \"'ünji\",\n 100: \"'ünji\",\n 6: \"'njy\",\n 9: \"'unjy\",\n 10: \"'unjy\",\n 30: \"'unjy\",\n 60: \"'ynjy\",\n 90: \"'ynjy\",\n };\n\n var tk = moment.defineLocale('tk', {\n months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(\n '_'\n ),\n monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),\n weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(\n '_'\n ),\n weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),\n weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[bugün sagat] LT',\n nextDay: '[ertir sagat] LT',\n nextWeek: '[indiki] dddd [sagat] LT',\n lastDay: '[düýn] LT',\n lastWeek: '[geçen] dddd [sagat] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s soň',\n past: '%s öň',\n s: 'birnäçe sekunt',\n m: 'bir minut',\n mm: '%d minut',\n h: 'bir sagat',\n hh: '%d sagat',\n d: 'bir gün',\n dd: '%d gün',\n M: 'bir aý',\n MM: '%d aý',\n y: 'bir ýyl',\n yy: '%d ýyl',\n },\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'Do':\n case 'DD':\n return number;\n default:\n if (number === 0) {\n // special case for zero\n return number + \"'unjy\";\n }\n var a = number % 10,\n b = (number % 100) - a,\n c = number >= 100 ? 100 : null;\n return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return tk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tagalog (Philippines) [tl-ph]\n//! author : Dan Hagman : https://github.com/hagmandan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var tlPh = moment.defineLocale('tl-ph', {\n months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(\n '_'\n ),\n monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),\n weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(\n '_'\n ),\n weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),\n weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'MM/D/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY HH:mm',\n LLLL: 'dddd, MMMM DD, YYYY HH:mm',\n },\n calendar: {\n sameDay: 'LT [ngayong araw]',\n nextDay: '[Bukas ng] LT',\n nextWeek: 'LT [sa susunod na] dddd',\n lastDay: 'LT [kahapon]',\n lastWeek: 'LT [noong nakaraang] dddd',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'sa loob ng %s',\n past: '%s ang nakalipas',\n s: 'ilang segundo',\n ss: '%d segundo',\n m: 'isang minuto',\n mm: '%d minuto',\n h: 'isang oras',\n hh: '%d oras',\n d: 'isang araw',\n dd: '%d araw',\n M: 'isang buwan',\n MM: '%d buwan',\n y: 'isang taon',\n yy: '%d taon',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: function (number) {\n return number;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return tlPh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Klingon [tlh]\n//! author : Dominika Kruk : https://github.com/amaranthrose\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');\n\n function translateFuture(output) {\n var time = output;\n time =\n output.indexOf('jaj') !== -1\n ? time.slice(0, -3) + 'leS'\n : output.indexOf('jar') !== -1\n ? time.slice(0, -3) + 'waQ'\n : output.indexOf('DIS') !== -1\n ? time.slice(0, -3) + 'nem'\n : time + ' pIq';\n return time;\n }\n\n function translatePast(output) {\n var time = output;\n time =\n output.indexOf('jaj') !== -1\n ? time.slice(0, -3) + 'Hu’'\n : output.indexOf('jar') !== -1\n ? time.slice(0, -3) + 'wen'\n : output.indexOf('DIS') !== -1\n ? time.slice(0, -3) + 'ben'\n : time + ' ret';\n return time;\n }\n\n function translate(number, withoutSuffix, string, isFuture) {\n var numberNoun = numberAsNoun(number);\n switch (string) {\n case 'ss':\n return numberNoun + ' lup';\n case 'mm':\n return numberNoun + ' tup';\n case 'hh':\n return numberNoun + ' rep';\n case 'dd':\n return numberNoun + ' jaj';\n case 'MM':\n return numberNoun + ' jar';\n case 'yy':\n return numberNoun + ' DIS';\n }\n }\n\n function numberAsNoun(number) {\n var hundred = Math.floor((number % 1000) / 100),\n ten = Math.floor((number % 100) / 10),\n one = number % 10,\n word = '';\n if (hundred > 0) {\n word += numbersNouns[hundred] + 'vatlh';\n }\n if (ten > 0) {\n word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';\n }\n if (one > 0) {\n word += (word !== '' ? ' ' : '') + numbersNouns[one];\n }\n return word === '' ? 'pagh' : word;\n }\n\n var tlh = moment.defineLocale('tlh', {\n months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(\n '_'\n ),\n monthsShort:\n 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(\n '_'\n ),\n weekdaysShort:\n 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),\n weekdaysMin:\n 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[DaHjaj] LT',\n nextDay: '[wa’leS] LT',\n nextWeek: 'LLL',\n lastDay: '[wa’Hu’] LT',\n lastWeek: 'LLL',\n sameElse: 'L',\n },\n relativeTime: {\n future: translateFuture,\n past: translatePast,\n s: 'puS lup',\n ss: translate,\n m: 'wa’ tup',\n mm: translate,\n h: 'wa’ rep',\n hh: translate,\n d: 'wa’ jaj',\n dd: translate,\n M: 'wa’ jar',\n MM: translate,\n y: 'wa’ DIS',\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return tlh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Turkish [tr]\n//! authors : Erhan Gundogan : https://github.com/erhangundogan,\n//! Burak Yiğit Kaya: https://github.com/BYK\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 1: \"'inci\",\n 5: \"'inci\",\n 8: \"'inci\",\n 70: \"'inci\",\n 80: \"'inci\",\n 2: \"'nci\",\n 7: \"'nci\",\n 20: \"'nci\",\n 50: \"'nci\",\n 3: \"'üncü\",\n 4: \"'üncü\",\n 100: \"'üncü\",\n 6: \"'ncı\",\n 9: \"'uncu\",\n 10: \"'uncu\",\n 30: \"'uncu\",\n 60: \"'ıncı\",\n 90: \"'ıncı\",\n };\n\n var tr = moment.defineLocale('tr', {\n months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(\n '_'\n ),\n monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),\n weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(\n '_'\n ),\n weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'),\n weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),\n meridiem: function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'öö' : 'ÖÖ';\n } else {\n return isLower ? 'ös' : 'ÖS';\n }\n },\n meridiemParse: /öö|ÖÖ|ös|ÖS/,\n isPM: function (input) {\n return input === 'ös' || input === 'ÖS';\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[bugün saat] LT',\n nextDay: '[yarın saat] LT',\n nextWeek: '[gelecek] dddd [saat] LT',\n lastDay: '[dün] LT',\n lastWeek: '[geçen] dddd [saat] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s sonra',\n past: '%s önce',\n s: 'birkaç saniye',\n ss: '%d saniye',\n m: 'bir dakika',\n mm: '%d dakika',\n h: 'bir saat',\n hh: '%d saat',\n d: 'bir gün',\n dd: '%d gün',\n w: 'bir hafta',\n ww: '%d hafta',\n M: 'bir ay',\n MM: '%d ay',\n y: 'bir yıl',\n yy: '%d yıl',\n },\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'Do':\n case 'DD':\n return number;\n default:\n if (number === 0) {\n // special case for zero\n return number + \"'ıncı\";\n }\n var a = number % 10,\n b = (number % 100) - a,\n c = number >= 100 ? 100 : null;\n return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return tr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Talossan [tzl]\n//! author : Robin van der Vliet : https://github.com/robin0van0der0v\n//! author : Iustì Canun\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.\n // This is currently too difficult (maybe even impossible) to add.\n var tzl = moment.defineLocale('tzl', {\n months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(\n '_'\n ),\n monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),\n weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),\n weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),\n weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM [dallas] YYYY',\n LLL: 'D. MMMM [dallas] YYYY HH.mm',\n LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',\n },\n meridiemParse: /d\\'o|d\\'a/i,\n isPM: function (input) {\n return \"d'o\" === input.toLowerCase();\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? \"d'o\" : \"D'O\";\n } else {\n return isLower ? \"d'a\" : \"D'A\";\n }\n },\n calendar: {\n sameDay: '[oxhi à] LT',\n nextDay: '[demà à] LT',\n nextWeek: 'dddd [à] LT',\n lastDay: '[ieiri à] LT',\n lastWeek: '[sür el] dddd [lasteu à] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'osprei %s',\n past: 'ja%s',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n s: ['viensas secunds', \"'iensas secunds\"],\n ss: [number + ' secunds', '' + number + ' secunds'],\n m: [\"'n míut\", \"'iens míut\"],\n mm: [number + ' míuts', '' + number + ' míuts'],\n h: [\"'n þora\", \"'iensa þora\"],\n hh: [number + ' þoras', '' + number + ' þoras'],\n d: [\"'n ziua\", \"'iensa ziua\"],\n dd: [number + ' ziuas', '' + number + ' ziuas'],\n M: [\"'n mes\", \"'iens mes\"],\n MM: [number + ' mesen', '' + number + ' mesen'],\n y: [\"'n ar\", \"'iens ar\"],\n yy: [number + ' ars', '' + number + ' ars'],\n };\n return isFuture\n ? format[key][0]\n : withoutSuffix\n ? format[key][0]\n : format[key][1];\n }\n\n return tzl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Central Atlas Tamazight Latin [tzm-latn]\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var tzmLatn = moment.defineLocale('tzm-latn', {\n months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(\n '_'\n ),\n monthsShort:\n 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(\n '_'\n ),\n weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[asdkh g] LT',\n nextDay: '[aska g] LT',\n nextWeek: 'dddd [g] LT',\n lastDay: '[assant g] LT',\n lastWeek: 'dddd [g] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dadkh s yan %s',\n past: 'yan %s',\n s: 'imik',\n ss: '%d imik',\n m: 'minuḍ',\n mm: '%d minuḍ',\n h: 'saɛa',\n hh: '%d tassaɛin',\n d: 'ass',\n dd: '%d ossan',\n M: 'ayowr',\n MM: '%d iyyirn',\n y: 'asgas',\n yy: '%d isgasn',\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return tzmLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Central Atlas Tamazight [tzm]\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var tzm = moment.defineLocale('tzm', {\n months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(\n '_'\n ),\n monthsShort:\n 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(\n '_'\n ),\n weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',\n nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',\n nextWeek: 'dddd [ⴴ] LT',\n lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',\n lastWeek: 'dddd [ⴴ] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',\n past: 'ⵢⴰⵏ %s',\n s: 'ⵉⵎⵉⴽ',\n ss: '%d ⵉⵎⵉⴽ',\n m: 'ⵎⵉⵏⵓⴺ',\n mm: '%d ⵎⵉⵏⵓⴺ',\n h: 'ⵙⴰⵄⴰ',\n hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',\n d: 'ⴰⵙⵙ',\n dd: '%d oⵙⵙⴰⵏ',\n M: 'ⴰⵢoⵓⵔ',\n MM: '%d ⵉⵢⵢⵉⵔⵏ',\n y: 'ⴰⵙⴳⴰⵙ',\n yy: '%d ⵉⵙⴳⴰⵙⵏ',\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return tzm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uyghur (China) [ug-cn]\n//! author: boyaq : https://github.com/boyaq\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ugCn = moment.defineLocale('ug-cn', {\n months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(\n '_'\n ),\n monthsShort:\n 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(\n '_'\n ),\n weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(\n '_'\n ),\n weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),\n weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',\n LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',\n LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',\n },\n meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (\n meridiem === 'يېرىم كېچە' ||\n meridiem === 'سەھەر' ||\n meridiem === 'چۈشتىن بۇرۇن'\n ) {\n return hour;\n } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {\n return hour + 12;\n } else {\n return hour >= 11 ? hour : hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n var hm = hour * 100 + minute;\n if (hm < 600) {\n return 'يېرىم كېچە';\n } else if (hm < 900) {\n return 'سەھەر';\n } else if (hm < 1130) {\n return 'چۈشتىن بۇرۇن';\n } else if (hm < 1230) {\n return 'چۈش';\n } else if (hm < 1800) {\n return 'چۈشتىن كېيىن';\n } else {\n return 'كەچ';\n }\n },\n calendar: {\n sameDay: '[بۈگۈن سائەت] LT',\n nextDay: '[ئەتە سائەت] LT',\n nextWeek: '[كېلەركى] dddd [سائەت] LT',\n lastDay: '[تۆنۈگۈن] LT',\n lastWeek: '[ئالدىنقى] dddd [سائەت] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s كېيىن',\n past: '%s بۇرۇن',\n s: 'نەچچە سېكونت',\n ss: '%d سېكونت',\n m: 'بىر مىنۇت',\n mm: '%d مىنۇت',\n h: 'بىر سائەت',\n hh: '%d سائەت',\n d: 'بىر كۈن',\n dd: '%d كۈن',\n M: 'بىر ئاي',\n MM: '%d ئاي',\n y: 'بىر يىل',\n yy: '%d يىل',\n },\n\n dayOfMonthOrdinalParse: /\\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '-كۈنى';\n case 'w':\n case 'W':\n return number + '-ھەپتە';\n default:\n return number;\n }\n },\n preparse: function (string) {\n return string.replace(/،/g, ',');\n },\n postformat: function (string) {\n return string.replace(/,/g, '،');\n },\n week: {\n // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 1st is the first week of the year.\n },\n });\n\n return ugCn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Ukrainian [uk]\n//! author : zemlanin : https://github.com/zemlanin\n//! Author : Menelion Elensúle : https://github.com/Oire\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11\n ? forms[0]\n : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n ? forms[1]\n : forms[2];\n }\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',\n mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',\n hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',\n dd: 'день_дні_днів',\n MM: 'місяць_місяці_місяців',\n yy: 'рік_роки_років',\n };\n if (key === 'm') {\n return withoutSuffix ? 'хвилина' : 'хвилину';\n } else if (key === 'h') {\n return withoutSuffix ? 'година' : 'годину';\n } else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n function weekdaysCaseReplace(m, format) {\n var weekdays = {\n nominative:\n 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split(\n '_'\n ),\n accusative:\n 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split(\n '_'\n ),\n genitive:\n 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split(\n '_'\n ),\n },\n nounCase;\n\n if (m === true) {\n return weekdays['nominative']\n .slice(1, 7)\n .concat(weekdays['nominative'].slice(0, 1));\n }\n if (!m) {\n return weekdays['nominative'];\n }\n\n nounCase = /(\\[[ВвУу]\\]) ?dddd/.test(format)\n ? 'accusative'\n : /\\[?(?:минулої|наступної)? ?\\] ?dddd/.test(format)\n ? 'genitive'\n : 'nominative';\n return weekdays[nounCase][m.day()];\n }\n function processHoursFunction(str) {\n return function () {\n return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';\n };\n }\n\n var uk = moment.defineLocale('uk', {\n months: {\n format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(\n '_'\n ),\n standalone:\n 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(\n '_'\n ),\n },\n monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(\n '_'\n ),\n weekdays: weekdaysCaseReplace,\n weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY р.',\n LLL: 'D MMMM YYYY р., HH:mm',\n LLLL: 'dddd, D MMMM YYYY р., HH:mm',\n },\n calendar: {\n sameDay: processHoursFunction('[Сьогодні '),\n nextDay: processHoursFunction('[Завтра '),\n lastDay: processHoursFunction('[Вчора '),\n nextWeek: processHoursFunction('[У] dddd ['),\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 5:\n case 6:\n return processHoursFunction('[Минулої] dddd [').call(this);\n case 1:\n case 2:\n case 4:\n return processHoursFunction('[Минулого] dddd [').call(this);\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'за %s',\n past: '%s тому',\n s: 'декілька секунд',\n ss: relativeTimeWithPlural,\n m: relativeTimeWithPlural,\n mm: relativeTimeWithPlural,\n h: 'годину',\n hh: relativeTimeWithPlural,\n d: 'день',\n dd: relativeTimeWithPlural,\n M: 'місяць',\n MM: relativeTimeWithPlural,\n y: 'рік',\n yy: relativeTimeWithPlural,\n },\n // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason\n meridiemParse: /ночі|ранку|дня|вечора/,\n isPM: function (input) {\n return /^(дня|вечора)$/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ночі';\n } else if (hour < 12) {\n return 'ранку';\n } else if (hour < 17) {\n return 'дня';\n } else {\n return 'вечора';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(й|го)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n case 'w':\n case 'W':\n return number + '-й';\n case 'D':\n return number + '-го';\n default:\n return number;\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return uk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Urdu [ur]\n//! author : Sawood Alam : https://github.com/ibnesayeed\n//! author : Zack : https://github.com/ZackVision\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = [\n 'جنوری',\n 'فروری',\n 'مارچ',\n 'اپریل',\n 'مئی',\n 'جون',\n 'جولائی',\n 'اگست',\n 'ستمبر',\n 'اکتوبر',\n 'نومبر',\n 'دسمبر',\n ],\n days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];\n\n var ur = moment.defineLocale('ur', {\n months: months,\n monthsShort: months,\n weekdays: days,\n weekdaysShort: days,\n weekdaysMin: days,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd، D MMMM YYYY HH:mm',\n },\n meridiemParse: /صبح|شام/,\n isPM: function (input) {\n return 'شام' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'صبح';\n }\n return 'شام';\n },\n calendar: {\n sameDay: '[آج بوقت] LT',\n nextDay: '[کل بوقت] LT',\n nextWeek: 'dddd [بوقت] LT',\n lastDay: '[گذشتہ روز بوقت] LT',\n lastWeek: '[گذشتہ] dddd [بوقت] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s بعد',\n past: '%s قبل',\n s: 'چند سیکنڈ',\n ss: '%d سیکنڈ',\n m: 'ایک منٹ',\n mm: '%d منٹ',\n h: 'ایک گھنٹہ',\n hh: '%d گھنٹے',\n d: 'ایک دن',\n dd: '%d دن',\n M: 'ایک ماہ',\n MM: '%d ماہ',\n y: 'ایک سال',\n yy: '%d سال',\n },\n preparse: function (string) {\n return string.replace(/،/g, ',');\n },\n postformat: function (string) {\n return string.replace(/,/g, '،');\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return ur;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uzbek Latin [uz-latn]\n//! author : Rasulbek Mirzayev : github.com/Rasulbeeek\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var uzLatn = moment.defineLocale('uz-latn', {\n months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(\n '_'\n ),\n monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),\n weekdays:\n 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(\n '_'\n ),\n weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),\n weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'D MMMM YYYY, dddd HH:mm',\n },\n calendar: {\n sameDay: '[Bugun soat] LT [da]',\n nextDay: '[Ertaga] LT [da]',\n nextWeek: 'dddd [kuni soat] LT [da]',\n lastDay: '[Kecha soat] LT [da]',\n lastWeek: \"[O'tgan] dddd [kuni soat] LT [da]\",\n sameElse: 'L',\n },\n relativeTime: {\n future: 'Yaqin %s ichida',\n past: 'Bir necha %s oldin',\n s: 'soniya',\n ss: '%d soniya',\n m: 'bir daqiqa',\n mm: '%d daqiqa',\n h: 'bir soat',\n hh: '%d soat',\n d: 'bir kun',\n dd: '%d kun',\n M: 'bir oy',\n MM: '%d oy',\n y: 'bir yil',\n yy: '%d yil',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return uzLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uzbek [uz]\n//! author : Sardor Muminov : https://github.com/muminoff\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var uz = moment.defineLocale('uz', {\n months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(\n '_'\n ),\n monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),\n weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),\n weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),\n weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'D MMMM YYYY, dddd HH:mm',\n },\n calendar: {\n sameDay: '[Бугун соат] LT [да]',\n nextDay: '[Эртага] LT [да]',\n nextWeek: 'dddd [куни соат] LT [да]',\n lastDay: '[Кеча соат] LT [да]',\n lastWeek: '[Утган] dddd [куни соат] LT [да]',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'Якин %s ичида',\n past: 'Бир неча %s олдин',\n s: 'фурсат',\n ss: '%d фурсат',\n m: 'бир дакика',\n mm: '%d дакика',\n h: 'бир соат',\n hh: '%d соат',\n d: 'бир кун',\n dd: '%d кун',\n M: 'бир ой',\n MM: '%d ой',\n y: 'бир йил',\n yy: '%d йил',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return uz;\n\n})));\n","//! moment.js locale configuration\n//! locale : Vietnamese [vi]\n//! author : Bang Nguyen : https://github.com/bangnk\n//! author : Chien Kira : https://github.com/chienkira\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var vi = moment.defineLocale('vi', {\n months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split(\n '_'\n ),\n monthsShort:\n 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(\n '_'\n ),\n weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),\n weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),\n weekdaysParseExact: true,\n meridiemParse: /sa|ch/i,\n isPM: function (input) {\n return /^ch$/i.test(input);\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'sa' : 'SA';\n } else {\n return isLower ? 'ch' : 'CH';\n }\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM [năm] YYYY',\n LLL: 'D MMMM [năm] YYYY HH:mm',\n LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',\n l: 'DD/M/YYYY',\n ll: 'D MMM YYYY',\n lll: 'D MMM YYYY HH:mm',\n llll: 'ddd, D MMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Hôm nay lúc] LT',\n nextDay: '[Ngày mai lúc] LT',\n nextWeek: 'dddd [tuần tới lúc] LT',\n lastDay: '[Hôm qua lúc] LT',\n lastWeek: 'dddd [tuần trước lúc] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s tới',\n past: '%s trước',\n s: 'vài giây',\n ss: '%d giây',\n m: 'một phút',\n mm: '%d phút',\n h: 'một giờ',\n hh: '%d giờ',\n d: 'một ngày',\n dd: '%d ngày',\n w: 'một tuần',\n ww: '%d tuần',\n M: 'một tháng',\n MM: '%d tháng',\n y: 'một năm',\n yy: '%d năm',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: function (number) {\n return number;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return vi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Pseudo [x-pseudo]\n//! author : Andrew Hood : https://github.com/andrewhood125\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var xPseudo = moment.defineLocale('x-pseudo', {\n months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(\n '_'\n ),\n monthsShort:\n 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays:\n 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(\n '_'\n ),\n weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),\n weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[T~ódá~ý át] LT',\n nextDay: '[T~ómó~rró~w át] LT',\n nextWeek: 'dddd [át] LT',\n lastDay: '[Ý~ést~érdá~ý át] LT',\n lastWeek: '[L~ást] dddd [át] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'í~ñ %s',\n past: '%s á~gó',\n s: 'á ~féw ~sécó~ñds',\n ss: '%d s~écóñ~ds',\n m: 'á ~míñ~úté',\n mm: '%d m~íñú~tés',\n h: 'á~ñ hó~úr',\n hh: '%d h~óúrs',\n d: 'á ~dáý',\n dd: '%d d~áýs',\n M: 'á ~móñ~th',\n MM: '%d m~óñt~hs',\n y: 'á ~ýéár',\n yy: '%d ý~éárs',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return xPseudo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Yoruba Nigeria [yo]\n//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var yo = moment.defineLocale('yo', {\n months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(\n '_'\n ),\n monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),\n weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),\n weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),\n weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Ònì ni] LT',\n nextDay: '[Ọ̀la ni] LT',\n nextWeek: \"dddd [Ọsẹ̀ tón'bọ] [ni] LT\",\n lastDay: '[Àna ni] LT',\n lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'ní %s',\n past: '%s kọjá',\n s: 'ìsẹjú aayá die',\n ss: 'aayá %d',\n m: 'ìsẹjú kan',\n mm: 'ìsẹjú %d',\n h: 'wákati kan',\n hh: 'wákati %d',\n d: 'ọjọ́ kan',\n dd: 'ọjọ́ %d',\n M: 'osù kan',\n MM: 'osù %d',\n y: 'ọdún kan',\n yy: 'ọdún %d',\n },\n dayOfMonthOrdinalParse: /ọjọ́\\s\\d{1,2}/,\n ordinal: 'ọjọ́ %d',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return yo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (China) [zh-cn]\n//! author : suupic : https://github.com/suupic\n//! author : Zeno Zeng : https://github.com/zenozeng\n//! author : uu109 : https://github.com/uu109\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var zhCn = moment.defineLocale('zh-cn', {\n months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n '_'\n ),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n '_'\n ),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),\n weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY年M月D日',\n LLL: 'YYYY年M月D日Ah点mm分',\n LLLL: 'YYYY年M月D日ddddAh点mm分',\n l: 'YYYY/M/D',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日dddd HH:mm',\n },\n meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n return hour;\n } else if (meridiem === '下午' || meridiem === '晚上') {\n return hour + 12;\n } else {\n // '中午'\n return hour >= 11 ? hour : hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n var hm = hour * 100 + minute;\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上午';\n } else if (hm < 1230) {\n return '中午';\n } else if (hm < 1800) {\n return '下午';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天]LT',\n nextDay: '[明天]LT',\n nextWeek: function (now) {\n if (now.week() !== this.week()) {\n return '[下]dddLT';\n } else {\n return '[本]dddLT';\n }\n },\n lastDay: '[昨天]LT',\n lastWeek: function (now) {\n if (this.week() !== now.week()) {\n return '[上]dddLT';\n } else {\n return '[本]dddLT';\n }\n },\n sameElse: 'L',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(日|月|周)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n case 'M':\n return number + '月';\n case 'w':\n case 'W':\n return number + '周';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s后',\n past: '%s前',\n s: '几秒',\n ss: '%d 秒',\n m: '1 分钟',\n mm: '%d 分钟',\n h: '1 小时',\n hh: '%d 小时',\n d: '1 天',\n dd: '%d 天',\n w: '1 周',\n ww: '%d 周',\n M: '1 个月',\n MM: '%d 个月',\n y: '1 年',\n yy: '%d 年',\n },\n week: {\n // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return zhCn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Hong Kong) [zh-hk]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n//! author : Konstantin : https://github.com/skfd\n//! author : Anthony : https://github.com/anthonylau\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var zhHk = moment.defineLocale('zh-hk', {\n months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n '_'\n ),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n '_'\n ),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY年M月D日',\n LLL: 'YYYY年M月D日 HH:mm',\n LLLL: 'YYYY年M月D日dddd HH:mm',\n l: 'YYYY/M/D',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日dddd HH:mm',\n },\n meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n return hour;\n } else if (meridiem === '中午') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === '下午' || meridiem === '晚上') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n var hm = hour * 100 + minute;\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1200) {\n return '上午';\n } else if (hm === 1200) {\n return '中午';\n } else if (hm < 1800) {\n return '下午';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天]LT',\n nextDay: '[明天]LT',\n nextWeek: '[下]ddddLT',\n lastDay: '[昨天]LT',\n lastWeek: '[上]ddddLT',\n sameElse: 'L',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n case 'M':\n return number + '月';\n case 'w':\n case 'W':\n return number + '週';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s後',\n past: '%s前',\n s: '幾秒',\n ss: '%d 秒',\n m: '1 分鐘',\n mm: '%d 分鐘',\n h: '1 小時',\n hh: '%d 小時',\n d: '1 天',\n dd: '%d 天',\n M: '1 個月',\n MM: '%d 個月',\n y: '1 年',\n yy: '%d 年',\n },\n });\n\n return zhHk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Macau) [zh-mo]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n//! author : Tan Yuanhong : https://github.com/le0tan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var zhMo = moment.defineLocale('zh-mo', {\n months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n '_'\n ),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n '_'\n ),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'YYYY年M月D日',\n LLL: 'YYYY年M月D日 HH:mm',\n LLLL: 'YYYY年M月D日dddd HH:mm',\n l: 'D/M/YYYY',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日dddd HH:mm',\n },\n meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n return hour;\n } else if (meridiem === '中午') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === '下午' || meridiem === '晚上') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n var hm = hour * 100 + minute;\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上午';\n } else if (hm < 1230) {\n return '中午';\n } else if (hm < 1800) {\n return '下午';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天] LT',\n nextDay: '[明天] LT',\n nextWeek: '[下]dddd LT',\n lastDay: '[昨天] LT',\n lastWeek: '[上]dddd LT',\n sameElse: 'L',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n case 'M':\n return number + '月';\n case 'w':\n case 'W':\n return number + '週';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s內',\n past: '%s前',\n s: '幾秒',\n ss: '%d 秒',\n m: '1 分鐘',\n mm: '%d 分鐘',\n h: '1 小時',\n hh: '%d 小時',\n d: '1 天',\n dd: '%d 天',\n M: '1 個月',\n MM: '%d 個月',\n y: '1 年',\n yy: '%d 年',\n },\n });\n\n return zhMo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Taiwan) [zh-tw]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var zhTw = moment.defineLocale('zh-tw', {\n months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n '_'\n ),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n '_'\n ),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY年M月D日',\n LLL: 'YYYY年M月D日 HH:mm',\n LLLL: 'YYYY年M月D日dddd HH:mm',\n l: 'YYYY/M/D',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日dddd HH:mm',\n },\n meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n return hour;\n } else if (meridiem === '中午') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === '下午' || meridiem === '晚上') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n var hm = hour * 100 + minute;\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上午';\n } else if (hm < 1230) {\n return '中午';\n } else if (hm < 1800) {\n return '下午';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天] LT',\n nextDay: '[明天] LT',\n nextWeek: '[下]dddd LT',\n lastDay: '[昨天] LT',\n lastWeek: '[上]dddd LT',\n sameElse: 'L',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n case 'M':\n return number + '月';\n case 'w':\n case 'W':\n return number + '週';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s後',\n past: '%s前',\n s: '幾秒',\n ss: '%d 秒',\n m: '1 分鐘',\n mm: '%d 分鐘',\n h: '1 小時',\n hh: '%d 小時',\n d: '1 天',\n dd: '%d 天',\n M: '1 個月',\n MM: '%d 個月',\n y: '1 年',\n yy: '%d 年',\n },\n });\n\n return zhTw;\n\n})));\n","//! moment.js\n//! version : 2.30.1\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n global.moment = factory()\n}(this, (function () { 'use strict';\n\n var hookCallback;\n\n function hooks() {\n return hookCallback.apply(null, arguments);\n }\n\n // This is done to register the method called with moment()\n // without creating circular dependencies.\n function setHookCallback(callback) {\n hookCallback = callback;\n }\n\n function isArray(input) {\n return (\n input instanceof Array ||\n Object.prototype.toString.call(input) === '[object Array]'\n );\n }\n\n function isObject(input) {\n // IE8 will treat undefined and null as object if it wasn't for\n // input != null\n return (\n input != null &&\n Object.prototype.toString.call(input) === '[object Object]'\n );\n }\n\n function hasOwnProp(a, b) {\n return Object.prototype.hasOwnProperty.call(a, b);\n }\n\n function isObjectEmpty(obj) {\n if (Object.getOwnPropertyNames) {\n return Object.getOwnPropertyNames(obj).length === 0;\n } else {\n var k;\n for (k in obj) {\n if (hasOwnProp(obj, k)) {\n return false;\n }\n }\n return true;\n }\n }\n\n function isUndefined(input) {\n return input === void 0;\n }\n\n function isNumber(input) {\n return (\n typeof input === 'number' ||\n Object.prototype.toString.call(input) === '[object Number]'\n );\n }\n\n function isDate(input) {\n return (\n input instanceof Date ||\n Object.prototype.toString.call(input) === '[object Date]'\n );\n }\n\n function map(arr, fn) {\n var res = [],\n i,\n arrLen = arr.length;\n for (i = 0; i < arrLen; ++i) {\n res.push(fn(arr[i], i));\n }\n return res;\n }\n\n function extend(a, b) {\n for (var i in b) {\n if (hasOwnProp(b, i)) {\n a[i] = b[i];\n }\n }\n\n if (hasOwnProp(b, 'toString')) {\n a.toString = b.toString;\n }\n\n if (hasOwnProp(b, 'valueOf')) {\n a.valueOf = b.valueOf;\n }\n\n return a;\n }\n\n function createUTC(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, true).utc();\n }\n\n function defaultParsingFlags() {\n // We need to deep clone this object.\n return {\n empty: false,\n unusedTokens: [],\n unusedInput: [],\n overflow: -2,\n charsLeftOver: 0,\n nullInput: false,\n invalidEra: null,\n invalidMonth: null,\n invalidFormat: false,\n userInvalidated: false,\n iso: false,\n parsedDateParts: [],\n era: null,\n meridiem: null,\n rfc2822: false,\n weekdayMismatch: false,\n };\n }\n\n function getParsingFlags(m) {\n if (m._pf == null) {\n m._pf = defaultParsingFlags();\n }\n return m._pf;\n }\n\n var some;\n if (Array.prototype.some) {\n some = Array.prototype.some;\n } else {\n some = function (fun) {\n var t = Object(this),\n len = t.length >>> 0,\n i;\n\n for (i = 0; i < len; i++) {\n if (i in t && fun.call(this, t[i], i, t)) {\n return true;\n }\n }\n\n return false;\n };\n }\n\n function isValid(m) {\n var flags = null,\n parsedParts = false,\n isNowValid = m._d && !isNaN(m._d.getTime());\n if (isNowValid) {\n flags = getParsingFlags(m);\n parsedParts = some.call(flags.parsedDateParts, function (i) {\n return i != null;\n });\n isNowValid =\n flags.overflow < 0 &&\n !flags.empty &&\n !flags.invalidEra &&\n !flags.invalidMonth &&\n !flags.invalidWeekday &&\n !flags.weekdayMismatch &&\n !flags.nullInput &&\n !flags.invalidFormat &&\n !flags.userInvalidated &&\n (!flags.meridiem || (flags.meridiem && parsedParts));\n if (m._strict) {\n isNowValid =\n isNowValid &&\n flags.charsLeftOver === 0 &&\n flags.unusedTokens.length === 0 &&\n flags.bigHour === undefined;\n }\n }\n if (Object.isFrozen == null || !Object.isFrozen(m)) {\n m._isValid = isNowValid;\n } else {\n return isNowValid;\n }\n return m._isValid;\n }\n\n function createInvalid(flags) {\n var m = createUTC(NaN);\n if (flags != null) {\n extend(getParsingFlags(m), flags);\n } else {\n getParsingFlags(m).userInvalidated = true;\n }\n\n return m;\n }\n\n // Plugins that add properties should also add the key here (null value),\n // so we can properly clone ourselves.\n var momentProperties = (hooks.momentProperties = []),\n updateInProgress = false;\n\n function copyConfig(to, from) {\n var i,\n prop,\n val,\n momentPropertiesLen = momentProperties.length;\n\n if (!isUndefined(from._isAMomentObject)) {\n to._isAMomentObject = from._isAMomentObject;\n }\n if (!isUndefined(from._i)) {\n to._i = from._i;\n }\n if (!isUndefined(from._f)) {\n to._f = from._f;\n }\n if (!isUndefined(from._l)) {\n to._l = from._l;\n }\n if (!isUndefined(from._strict)) {\n to._strict = from._strict;\n }\n if (!isUndefined(from._tzm)) {\n to._tzm = from._tzm;\n }\n if (!isUndefined(from._isUTC)) {\n to._isUTC = from._isUTC;\n }\n if (!isUndefined(from._offset)) {\n to._offset = from._offset;\n }\n if (!isUndefined(from._pf)) {\n to._pf = getParsingFlags(from);\n }\n if (!isUndefined(from._locale)) {\n to._locale = from._locale;\n }\n\n if (momentPropertiesLen > 0) {\n for (i = 0; i < momentPropertiesLen; i++) {\n prop = momentProperties[i];\n val = from[prop];\n if (!isUndefined(val)) {\n to[prop] = val;\n }\n }\n }\n\n return to;\n }\n\n // Moment prototype object\n function Moment(config) {\n copyConfig(this, config);\n this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n if (!this.isValid()) {\n this._d = new Date(NaN);\n }\n // Prevent infinite loop in case updateOffset creates new moment\n // objects.\n if (updateInProgress === false) {\n updateInProgress = true;\n hooks.updateOffset(this);\n updateInProgress = false;\n }\n }\n\n function isMoment(obj) {\n return (\n obj instanceof Moment || (obj != null && obj._isAMomentObject != null)\n );\n }\n\n function warn(msg) {\n if (\n hooks.suppressDeprecationWarnings === false &&\n typeof console !== 'undefined' &&\n console.warn\n ) {\n console.warn('Deprecation warning: ' + msg);\n }\n }\n\n function deprecate(msg, fn) {\n var firstTime = true;\n\n return extend(function () {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(null, msg);\n }\n if (firstTime) {\n var args = [],\n arg,\n i,\n key,\n argLen = arguments.length;\n for (i = 0; i < argLen; i++) {\n arg = '';\n if (typeof arguments[i] === 'object') {\n arg += '\\n[' + i + '] ';\n for (key in arguments[0]) {\n if (hasOwnProp(arguments[0], key)) {\n arg += key + ': ' + arguments[0][key] + ', ';\n }\n }\n arg = arg.slice(0, -2); // Remove trailing comma and space\n } else {\n arg = arguments[i];\n }\n args.push(arg);\n }\n warn(\n msg +\n '\\nArguments: ' +\n Array.prototype.slice.call(args).join('') +\n '\\n' +\n new Error().stack\n );\n firstTime = false;\n }\n return fn.apply(this, arguments);\n }, fn);\n }\n\n var deprecations = {};\n\n function deprecateSimple(name, msg) {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(name, msg);\n }\n if (!deprecations[name]) {\n warn(msg);\n deprecations[name] = true;\n }\n }\n\n hooks.suppressDeprecationWarnings = false;\n hooks.deprecationHandler = null;\n\n function isFunction(input) {\n return (\n (typeof Function !== 'undefined' && input instanceof Function) ||\n Object.prototype.toString.call(input) === '[object Function]'\n );\n }\n\n function set(config) {\n var prop, i;\n for (i in config) {\n if (hasOwnProp(config, i)) {\n prop = config[i];\n if (isFunction(prop)) {\n this[i] = prop;\n } else {\n this['_' + i] = prop;\n }\n }\n }\n this._config = config;\n // Lenient ordinal parsing accepts just a number in addition to\n // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n this._dayOfMonthOrdinalParseLenient = new RegExp(\n (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +\n '|' +\n /\\d{1,2}/.source\n );\n }\n\n function mergeConfigs(parentConfig, childConfig) {\n var res = extend({}, parentConfig),\n prop;\n for (prop in childConfig) {\n if (hasOwnProp(childConfig, prop)) {\n if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n res[prop] = {};\n extend(res[prop], parentConfig[prop]);\n extend(res[prop], childConfig[prop]);\n } else if (childConfig[prop] != null) {\n res[prop] = childConfig[prop];\n } else {\n delete res[prop];\n }\n }\n }\n for (prop in parentConfig) {\n if (\n hasOwnProp(parentConfig, prop) &&\n !hasOwnProp(childConfig, prop) &&\n isObject(parentConfig[prop])\n ) {\n // make sure changes to properties don't modify parent config\n res[prop] = extend({}, res[prop]);\n }\n }\n return res;\n }\n\n function Locale(config) {\n if (config != null) {\n this.set(config);\n }\n }\n\n var keys;\n\n if (Object.keys) {\n keys = Object.keys;\n } else {\n keys = function (obj) {\n var i,\n res = [];\n for (i in obj) {\n if (hasOwnProp(obj, i)) {\n res.push(i);\n }\n }\n return res;\n };\n }\n\n var defaultCalendar = {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n };\n\n function calendar(key, mom, now) {\n var output = this._calendar[key] || this._calendar['sameElse'];\n return isFunction(output) ? output.call(mom, now) : output;\n }\n\n function zeroFill(number, targetLength, forceSign) {\n var absNumber = '' + Math.abs(number),\n zerosToFill = targetLength - absNumber.length,\n sign = number >= 0;\n return (\n (sign ? (forceSign ? '+' : '') : '-') +\n Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +\n absNumber\n );\n }\n\n var formattingTokens =\n /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n formatFunctions = {},\n formatTokenFunctions = {};\n\n // token: 'M'\n // padded: ['MM', 2]\n // ordinal: 'Mo'\n // callback: function () { this.month() + 1 }\n function addFormatToken(token, padded, ordinal, callback) {\n var func = callback;\n if (typeof callback === 'string') {\n func = function () {\n return this[callback]();\n };\n }\n if (token) {\n formatTokenFunctions[token] = func;\n }\n if (padded) {\n formatTokenFunctions[padded[0]] = function () {\n return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n };\n }\n if (ordinal) {\n formatTokenFunctions[ordinal] = function () {\n return this.localeData().ordinal(\n func.apply(this, arguments),\n token\n );\n };\n }\n }\n\n function removeFormattingTokens(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|\\]$/g, '');\n }\n return input.replace(/\\\\/g, '');\n }\n\n function makeFormatFunction(format) {\n var array = format.match(formattingTokens),\n i,\n length;\n\n for (i = 0, length = array.length; i < length; i++) {\n if (formatTokenFunctions[array[i]]) {\n array[i] = formatTokenFunctions[array[i]];\n } else {\n array[i] = removeFormattingTokens(array[i]);\n }\n }\n\n return function (mom) {\n var output = '',\n i;\n for (i = 0; i < length; i++) {\n output += isFunction(array[i])\n ? array[i].call(mom, format)\n : array[i];\n }\n return output;\n };\n }\n\n // format date using native date object\n function formatMoment(m, format) {\n if (!m.isValid()) {\n return m.localeData().invalidDate();\n }\n\n format = expandFormat(format, m.localeData());\n formatFunctions[format] =\n formatFunctions[format] || makeFormatFunction(format);\n\n return formatFunctions[format](m);\n }\n\n function expandFormat(format, locale) {\n var i = 5;\n\n function replaceLongDateFormatTokens(input) {\n return locale.longDateFormat(input) || input;\n }\n\n localFormattingTokens.lastIndex = 0;\n while (i >= 0 && localFormattingTokens.test(format)) {\n format = format.replace(\n localFormattingTokens,\n replaceLongDateFormatTokens\n );\n localFormattingTokens.lastIndex = 0;\n i -= 1;\n }\n\n return format;\n }\n\n var defaultLongDateFormat = {\n LTS: 'h:mm:ss A',\n LT: 'h:mm A',\n L: 'MM/DD/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A',\n };\n\n function longDateFormat(key) {\n var format = this._longDateFormat[key],\n formatUpper = this._longDateFormat[key.toUpperCase()];\n\n if (format || !formatUpper) {\n return format;\n }\n\n this._longDateFormat[key] = formatUpper\n .match(formattingTokens)\n .map(function (tok) {\n if (\n tok === 'MMMM' ||\n tok === 'MM' ||\n tok === 'DD' ||\n tok === 'dddd'\n ) {\n return tok.slice(1);\n }\n return tok;\n })\n .join('');\n\n return this._longDateFormat[key];\n }\n\n var defaultInvalidDate = 'Invalid date';\n\n function invalidDate() {\n return this._invalidDate;\n }\n\n var defaultOrdinal = '%d',\n defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\n function ordinal(number) {\n return this._ordinal.replace('%d', number);\n }\n\n var defaultRelativeTime = {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n w: 'a week',\n ww: '%d weeks',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n };\n\n function relativeTime(number, withoutSuffix, string, isFuture) {\n var output = this._relativeTime[string];\n return isFunction(output)\n ? output(number, withoutSuffix, string, isFuture)\n : output.replace(/%d/i, number);\n }\n\n function pastFuture(diff, output) {\n var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n }\n\n var aliases = {\n D: 'date',\n dates: 'date',\n date: 'date',\n d: 'day',\n days: 'day',\n day: 'day',\n e: 'weekday',\n weekdays: 'weekday',\n weekday: 'weekday',\n E: 'isoWeekday',\n isoweekdays: 'isoWeekday',\n isoweekday: 'isoWeekday',\n DDD: 'dayOfYear',\n dayofyears: 'dayOfYear',\n dayofyear: 'dayOfYear',\n h: 'hour',\n hours: 'hour',\n hour: 'hour',\n ms: 'millisecond',\n milliseconds: 'millisecond',\n millisecond: 'millisecond',\n m: 'minute',\n minutes: 'minute',\n minute: 'minute',\n M: 'month',\n months: 'month',\n month: 'month',\n Q: 'quarter',\n quarters: 'quarter',\n quarter: 'quarter',\n s: 'second',\n seconds: 'second',\n second: 'second',\n gg: 'weekYear',\n weekyears: 'weekYear',\n weekyear: 'weekYear',\n GG: 'isoWeekYear',\n isoweekyears: 'isoWeekYear',\n isoweekyear: 'isoWeekYear',\n w: 'week',\n weeks: 'week',\n week: 'week',\n W: 'isoWeek',\n isoweeks: 'isoWeek',\n isoweek: 'isoWeek',\n y: 'year',\n years: 'year',\n year: 'year',\n };\n\n function normalizeUnits(units) {\n return typeof units === 'string'\n ? aliases[units] || aliases[units.toLowerCase()]\n : undefined;\n }\n\n function normalizeObjectUnits(inputObject) {\n var normalizedInput = {},\n normalizedProp,\n prop;\n\n for (prop in inputObject) {\n if (hasOwnProp(inputObject, prop)) {\n normalizedProp = normalizeUnits(prop);\n if (normalizedProp) {\n normalizedInput[normalizedProp] = inputObject[prop];\n }\n }\n }\n\n return normalizedInput;\n }\n\n var priorities = {\n date: 9,\n day: 11,\n weekday: 11,\n isoWeekday: 11,\n dayOfYear: 4,\n hour: 13,\n millisecond: 16,\n minute: 14,\n month: 8,\n quarter: 7,\n second: 15,\n weekYear: 1,\n isoWeekYear: 1,\n week: 5,\n isoWeek: 5,\n year: 1,\n };\n\n function getPrioritizedUnits(unitsObj) {\n var units = [],\n u;\n for (u in unitsObj) {\n if (hasOwnProp(unitsObj, u)) {\n units.push({ unit: u, priority: priorities[u] });\n }\n }\n units.sort(function (a, b) {\n return a.priority - b.priority;\n });\n return units;\n }\n\n var match1 = /\\d/, // 0 - 9\n match2 = /\\d\\d/, // 00 - 99\n match3 = /\\d{3}/, // 000 - 999\n match4 = /\\d{4}/, // 0000 - 9999\n match6 = /[+-]?\\d{6}/, // -999999 - 999999\n match1to2 = /\\d\\d?/, // 0 - 99\n match3to4 = /\\d\\d\\d\\d?/, // 999 - 9999\n match5to6 = /\\d\\d\\d\\d\\d\\d?/, // 99999 - 999999\n match1to3 = /\\d{1,3}/, // 0 - 999\n match1to4 = /\\d{1,4}/, // 0 - 9999\n match1to6 = /[+-]?\\d{1,6}/, // -999999 - 999999\n matchUnsigned = /\\d+/, // 0 - inf\n matchSigned = /[+-]?\\d+/, // -inf - inf\n matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi, // +00:00 -00:00 +0000 -0000 or Z\n matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/, // 123456789 123456789.123\n // any word (or two) characters or numbers including two/three word month in arabic.\n // includes scottish gaelic two word and hyphenated months\n matchWord =\n /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n match1to2NoLeadingZero = /^[1-9]\\d?/, // 1-99\n match1to2HasZero = /^([1-9]\\d|\\d)/, // 0-99\n regexes;\n\n regexes = {};\n\n function addRegexToken(token, regex, strictRegex) {\n regexes[token] = isFunction(regex)\n ? regex\n : function (isStrict, localeData) {\n return isStrict && strictRegex ? strictRegex : regex;\n };\n }\n\n function getParseRegexForToken(token, config) {\n if (!hasOwnProp(regexes, token)) {\n return new RegExp(unescapeFormat(token));\n }\n\n return regexes[token](config._strict, config._locale);\n }\n\n // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n function unescapeFormat(s) {\n return regexEscape(\n s\n .replace('\\\\', '')\n .replace(\n /\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,\n function (matched, p1, p2, p3, p4) {\n return p1 || p2 || p3 || p4;\n }\n )\n );\n }\n\n function regexEscape(s) {\n return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n }\n\n function absFloor(number) {\n if (number < 0) {\n // -0 -> 0\n return Math.ceil(number) || 0;\n } else {\n return Math.floor(number);\n }\n }\n\n function toInt(argumentForCoercion) {\n var coercedNumber = +argumentForCoercion,\n value = 0;\n\n if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n value = absFloor(coercedNumber);\n }\n\n return value;\n }\n\n var tokens = {};\n\n function addParseToken(token, callback) {\n var i,\n func = callback,\n tokenLen;\n if (typeof token === 'string') {\n token = [token];\n }\n if (isNumber(callback)) {\n func = function (input, array) {\n array[callback] = toInt(input);\n };\n }\n tokenLen = token.length;\n for (i = 0; i < tokenLen; i++) {\n tokens[token[i]] = func;\n }\n }\n\n function addWeekParseToken(token, callback) {\n addParseToken(token, function (input, array, config, token) {\n config._w = config._w || {};\n callback(input, config._w, config, token);\n });\n }\n\n function addTimeToArrayFromToken(token, input, config) {\n if (input != null && hasOwnProp(tokens, token)) {\n tokens[token](input, config._a, config, token);\n }\n }\n\n function isLeapYear(year) {\n return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n }\n\n var YEAR = 0,\n MONTH = 1,\n DATE = 2,\n HOUR = 3,\n MINUTE = 4,\n SECOND = 5,\n MILLISECOND = 6,\n WEEK = 7,\n WEEKDAY = 8;\n\n // FORMATTING\n\n addFormatToken('Y', 0, 0, function () {\n var y = this.year();\n return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n });\n\n addFormatToken(0, ['YY', 2], 0, function () {\n return this.year() % 100;\n });\n\n addFormatToken(0, ['YYYY', 4], 0, 'year');\n addFormatToken(0, ['YYYYY', 5], 0, 'year');\n addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n // PARSING\n\n addRegexToken('Y', matchSigned);\n addRegexToken('YY', match1to2, match2);\n addRegexToken('YYYY', match1to4, match4);\n addRegexToken('YYYYY', match1to6, match6);\n addRegexToken('YYYYYY', match1to6, match6);\n\n addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n addParseToken('YYYY', function (input, array) {\n array[YEAR] =\n input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n });\n addParseToken('YY', function (input, array) {\n array[YEAR] = hooks.parseTwoDigitYear(input);\n });\n addParseToken('Y', function (input, array) {\n array[YEAR] = parseInt(input, 10);\n });\n\n // HELPERS\n\n function daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n }\n\n // HOOKS\n\n hooks.parseTwoDigitYear = function (input) {\n return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n };\n\n // MOMENTS\n\n var getSetYear = makeGetSet('FullYear', true);\n\n function getIsLeapYear() {\n return isLeapYear(this.year());\n }\n\n function makeGetSet(unit, keepTime) {\n return function (value) {\n if (value != null) {\n set$1(this, unit, value);\n hooks.updateOffset(this, keepTime);\n return this;\n } else {\n return get(this, unit);\n }\n };\n }\n\n function get(mom, unit) {\n if (!mom.isValid()) {\n return NaN;\n }\n\n var d = mom._d,\n isUTC = mom._isUTC;\n\n switch (unit) {\n case 'Milliseconds':\n return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds();\n case 'Seconds':\n return isUTC ? d.getUTCSeconds() : d.getSeconds();\n case 'Minutes':\n return isUTC ? d.getUTCMinutes() : d.getMinutes();\n case 'Hours':\n return isUTC ? d.getUTCHours() : d.getHours();\n case 'Date':\n return isUTC ? d.getUTCDate() : d.getDate();\n case 'Day':\n return isUTC ? d.getUTCDay() : d.getDay();\n case 'Month':\n return isUTC ? d.getUTCMonth() : d.getMonth();\n case 'FullYear':\n return isUTC ? d.getUTCFullYear() : d.getFullYear();\n default:\n return NaN; // Just in case\n }\n }\n\n function set$1(mom, unit, value) {\n var d, isUTC, year, month, date;\n\n if (!mom.isValid() || isNaN(value)) {\n return;\n }\n\n d = mom._d;\n isUTC = mom._isUTC;\n\n switch (unit) {\n case 'Milliseconds':\n return void (isUTC\n ? d.setUTCMilliseconds(value)\n : d.setMilliseconds(value));\n case 'Seconds':\n return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value));\n case 'Minutes':\n return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value));\n case 'Hours':\n return void (isUTC ? d.setUTCHours(value) : d.setHours(value));\n case 'Date':\n return void (isUTC ? d.setUTCDate(value) : d.setDate(value));\n // case 'Day': // Not real\n // return void (isUTC ? d.setUTCDay(value) : d.setDay(value));\n // case 'Month': // Not used because we need to pass two variables\n // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));\n case 'FullYear':\n break; // See below ...\n default:\n return; // Just in case\n }\n\n year = value;\n month = mom.month();\n date = mom.date();\n date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date;\n void (isUTC\n ? d.setUTCFullYear(year, month, date)\n : d.setFullYear(year, month, date));\n }\n\n // MOMENTS\n\n function stringGet(units) {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units]();\n }\n return this;\n }\n\n function stringSet(units, value) {\n if (typeof units === 'object') {\n units = normalizeObjectUnits(units);\n var prioritized = getPrioritizedUnits(units),\n i,\n prioritizedLen = prioritized.length;\n for (i = 0; i < prioritizedLen; i++) {\n this[prioritized[i].unit](units[prioritized[i].unit]);\n }\n } else {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units](value);\n }\n }\n return this;\n }\n\n function mod(n, x) {\n return ((n % x) + x) % x;\n }\n\n var indexOf;\n\n if (Array.prototype.indexOf) {\n indexOf = Array.prototype.indexOf;\n } else {\n indexOf = function (o) {\n // I know\n var i;\n for (i = 0; i < this.length; ++i) {\n if (this[i] === o) {\n return i;\n }\n }\n return -1;\n };\n }\n\n function daysInMonth(year, month) {\n if (isNaN(year) || isNaN(month)) {\n return NaN;\n }\n var modMonth = mod(month, 12);\n year += (month - modMonth) / 12;\n return modMonth === 1\n ? isLeapYear(year)\n ? 29\n : 28\n : 31 - ((modMonth % 7) % 2);\n }\n\n // FORMATTING\n\n addFormatToken('M', ['MM', 2], 'Mo', function () {\n return this.month() + 1;\n });\n\n addFormatToken('MMM', 0, 0, function (format) {\n return this.localeData().monthsShort(this, format);\n });\n\n addFormatToken('MMMM', 0, 0, function (format) {\n return this.localeData().months(this, format);\n });\n\n // PARSING\n\n addRegexToken('M', match1to2, match1to2NoLeadingZero);\n addRegexToken('MM', match1to2, match2);\n addRegexToken('MMM', function (isStrict, locale) {\n return locale.monthsShortRegex(isStrict);\n });\n addRegexToken('MMMM', function (isStrict, locale) {\n return locale.monthsRegex(isStrict);\n });\n\n addParseToken(['M', 'MM'], function (input, array) {\n array[MONTH] = toInt(input) - 1;\n });\n\n addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n var month = config._locale.monthsParse(input, token, config._strict);\n // if we didn't find a month name, mark the date as invalid.\n if (month != null) {\n array[MONTH] = month;\n } else {\n getParsingFlags(config).invalidMonth = input;\n }\n });\n\n // LOCALES\n\n var defaultLocaleMonths =\n 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n defaultLocaleMonthsShort =\n 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n defaultMonthsShortRegex = matchWord,\n defaultMonthsRegex = matchWord;\n\n function localeMonths(m, format) {\n if (!m) {\n return isArray(this._months)\n ? this._months\n : this._months['standalone'];\n }\n return isArray(this._months)\n ? this._months[m.month()]\n : this._months[\n (this._months.isFormat || MONTHS_IN_FORMAT).test(format)\n ? 'format'\n : 'standalone'\n ][m.month()];\n }\n\n function localeMonthsShort(m, format) {\n if (!m) {\n return isArray(this._monthsShort)\n ? this._monthsShort\n : this._monthsShort['standalone'];\n }\n return isArray(this._monthsShort)\n ? this._monthsShort[m.month()]\n : this._monthsShort[\n MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'\n ][m.month()];\n }\n\n function handleStrictParse(monthName, format, strict) {\n var i,\n ii,\n mom,\n llc = monthName.toLocaleLowerCase();\n if (!this._monthsParse) {\n // this is not used\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n for (i = 0; i < 12; ++i) {\n mom = createUTC([2000, i]);\n this._shortMonthsParse[i] = this.monthsShort(\n mom,\n ''\n ).toLocaleLowerCase();\n this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n\n function localeMonthsParse(monthName, format, strict) {\n var i, mom, regex;\n\n if (this._monthsParseExact) {\n return handleStrictParse.call(this, monthName, format, strict);\n }\n\n if (!this._monthsParse) {\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n }\n\n // TODO: add sorting\n // Sorting makes sure if one month (or abbr) is a prefix of another\n // see sorting in computeMonthsParse\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n if (strict && !this._longMonthsParse[i]) {\n this._longMonthsParse[i] = new RegExp(\n '^' + this.months(mom, '').replace('.', '') + '$',\n 'i'\n );\n this._shortMonthsParse[i] = new RegExp(\n '^' + this.monthsShort(mom, '').replace('.', '') + '$',\n 'i'\n );\n }\n if (!strict && !this._monthsParse[i]) {\n regex =\n '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (\n strict &&\n format === 'MMMM' &&\n this._longMonthsParse[i].test(monthName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'MMM' &&\n this._shortMonthsParse[i].test(monthName)\n ) {\n return i;\n } else if (!strict && this._monthsParse[i].test(monthName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function setMonth(mom, value) {\n if (!mom.isValid()) {\n // No op\n return mom;\n }\n\n if (typeof value === 'string') {\n if (/^\\d+$/.test(value)) {\n value = toInt(value);\n } else {\n value = mom.localeData().monthsParse(value);\n // TODO: Another silent failure?\n if (!isNumber(value)) {\n return mom;\n }\n }\n }\n\n var month = value,\n date = mom.date();\n\n date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month));\n void (mom._isUTC\n ? mom._d.setUTCMonth(month, date)\n : mom._d.setMonth(month, date));\n return mom;\n }\n\n function getSetMonth(value) {\n if (value != null) {\n setMonth(this, value);\n hooks.updateOffset(this, true);\n return this;\n } else {\n return get(this, 'Month');\n }\n }\n\n function getDaysInMonth() {\n return daysInMonth(this.year(), this.month());\n }\n\n function monthsShortRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsShortStrictRegex;\n } else {\n return this._monthsShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsShortRegex')) {\n this._monthsShortRegex = defaultMonthsShortRegex;\n }\n return this._monthsShortStrictRegex && isStrict\n ? this._monthsShortStrictRegex\n : this._monthsShortRegex;\n }\n }\n\n function monthsRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsStrictRegex;\n } else {\n return this._monthsRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsRegex')) {\n this._monthsRegex = defaultMonthsRegex;\n }\n return this._monthsStrictRegex && isStrict\n ? this._monthsStrictRegex\n : this._monthsRegex;\n }\n }\n\n function computeMonthsParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n shortP,\n longP;\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n shortP = regexEscape(this.monthsShort(mom, ''));\n longP = regexEscape(this.months(mom, ''));\n shortPieces.push(shortP);\n longPieces.push(longP);\n mixedPieces.push(longP);\n mixedPieces.push(shortP);\n }\n // Sorting makes sure if one month (or abbr) is a prefix of another it\n // will match the longer piece.\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n\n this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._monthsShortRegex = this._monthsRegex;\n this._monthsStrictRegex = new RegExp(\n '^(' + longPieces.join('|') + ')',\n 'i'\n );\n this._monthsShortStrictRegex = new RegExp(\n '^(' + shortPieces.join('|') + ')',\n 'i'\n );\n }\n\n function createDate(y, m, d, h, M, s, ms) {\n // can't just apply() to create a date:\n // https://stackoverflow.com/q/181348\n var date;\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n date = new Date(y + 400, m, d, h, M, s, ms);\n if (isFinite(date.getFullYear())) {\n date.setFullYear(y);\n }\n } else {\n date = new Date(y, m, d, h, M, s, ms);\n }\n\n return date;\n }\n\n function createUTCDate(y) {\n var date, args;\n // the Date.UTC function remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n args = Array.prototype.slice.call(arguments);\n // preserve leap years using a full 400 year cycle, then reset\n args[0] = y + 400;\n date = new Date(Date.UTC.apply(null, args));\n if (isFinite(date.getUTCFullYear())) {\n date.setUTCFullYear(y);\n }\n } else {\n date = new Date(Date.UTC.apply(null, arguments));\n }\n\n return date;\n }\n\n // start-of-first-week - start-of-year\n function firstWeekOffset(year, dow, doy) {\n var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n fwd = 7 + dow - doy,\n // first-week day local weekday -- which local weekday is fwd\n fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n\n return -fwdlw + fwd - 1;\n }\n\n // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n var localWeekday = (7 + weekday - dow) % 7,\n weekOffset = firstWeekOffset(year, dow, doy),\n dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n resYear,\n resDayOfYear;\n\n if (dayOfYear <= 0) {\n resYear = year - 1;\n resDayOfYear = daysInYear(resYear) + dayOfYear;\n } else if (dayOfYear > daysInYear(year)) {\n resYear = year + 1;\n resDayOfYear = dayOfYear - daysInYear(year);\n } else {\n resYear = year;\n resDayOfYear = dayOfYear;\n }\n\n return {\n year: resYear,\n dayOfYear: resDayOfYear,\n };\n }\n\n function weekOfYear(mom, dow, doy) {\n var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n resWeek,\n resYear;\n\n if (week < 1) {\n resYear = mom.year() - 1;\n resWeek = week + weeksInYear(resYear, dow, doy);\n } else if (week > weeksInYear(mom.year(), dow, doy)) {\n resWeek = week - weeksInYear(mom.year(), dow, doy);\n resYear = mom.year() + 1;\n } else {\n resYear = mom.year();\n resWeek = week;\n }\n\n return {\n week: resWeek,\n year: resYear,\n };\n }\n\n function weeksInYear(year, dow, doy) {\n var weekOffset = firstWeekOffset(year, dow, doy),\n weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n }\n\n // FORMATTING\n\n addFormatToken('w', ['ww', 2], 'wo', 'week');\n addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n // PARSING\n\n addRegexToken('w', match1to2, match1to2NoLeadingZero);\n addRegexToken('ww', match1to2, match2);\n addRegexToken('W', match1to2, match1to2NoLeadingZero);\n addRegexToken('WW', match1to2, match2);\n\n addWeekParseToken(\n ['w', 'ww', 'W', 'WW'],\n function (input, week, config, token) {\n week[token.substr(0, 1)] = toInt(input);\n }\n );\n\n // HELPERS\n\n // LOCALES\n\n function localeWeek(mom) {\n return weekOfYear(mom, this._week.dow, this._week.doy).week;\n }\n\n var defaultLocaleWeek = {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n };\n\n function localeFirstDayOfWeek() {\n return this._week.dow;\n }\n\n function localeFirstDayOfYear() {\n return this._week.doy;\n }\n\n // MOMENTS\n\n function getSetWeek(input) {\n var week = this.localeData().week(this);\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n function getSetISOWeek(input) {\n var week = weekOfYear(this, 1, 4).week;\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('d', 0, 'do', 'day');\n\n addFormatToken('dd', 0, 0, function (format) {\n return this.localeData().weekdaysMin(this, format);\n });\n\n addFormatToken('ddd', 0, 0, function (format) {\n return this.localeData().weekdaysShort(this, format);\n });\n\n addFormatToken('dddd', 0, 0, function (format) {\n return this.localeData().weekdays(this, format);\n });\n\n addFormatToken('e', 0, 0, 'weekday');\n addFormatToken('E', 0, 0, 'isoWeekday');\n\n // PARSING\n\n addRegexToken('d', match1to2);\n addRegexToken('e', match1to2);\n addRegexToken('E', match1to2);\n addRegexToken('dd', function (isStrict, locale) {\n return locale.weekdaysMinRegex(isStrict);\n });\n addRegexToken('ddd', function (isStrict, locale) {\n return locale.weekdaysShortRegex(isStrict);\n });\n addRegexToken('dddd', function (isStrict, locale) {\n return locale.weekdaysRegex(isStrict);\n });\n\n addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n var weekday = config._locale.weekdaysParse(input, token, config._strict);\n // if we didn't get a weekday name, mark the date as invalid\n if (weekday != null) {\n week.d = weekday;\n } else {\n getParsingFlags(config).invalidWeekday = input;\n }\n });\n\n addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n week[token] = toInt(input);\n });\n\n // HELPERS\n\n function parseWeekday(input, locale) {\n if (typeof input !== 'string') {\n return input;\n }\n\n if (!isNaN(input)) {\n return parseInt(input, 10);\n }\n\n input = locale.weekdaysParse(input);\n if (typeof input === 'number') {\n return input;\n }\n\n return null;\n }\n\n function parseIsoWeekday(input, locale) {\n if (typeof input === 'string') {\n return locale.weekdaysParse(input) % 7 || 7;\n }\n return isNaN(input) ? null : input;\n }\n\n // LOCALES\n function shiftWeekdays(ws, n) {\n return ws.slice(n, 7).concat(ws.slice(0, n));\n }\n\n var defaultLocaleWeekdays =\n 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n defaultWeekdaysRegex = matchWord,\n defaultWeekdaysShortRegex = matchWord,\n defaultWeekdaysMinRegex = matchWord;\n\n function localeWeekdays(m, format) {\n var weekdays = isArray(this._weekdays)\n ? this._weekdays\n : this._weekdays[\n m && m !== true && this._weekdays.isFormat.test(format)\n ? 'format'\n : 'standalone'\n ];\n return m === true\n ? shiftWeekdays(weekdays, this._week.dow)\n : m\n ? weekdays[m.day()]\n : weekdays;\n }\n\n function localeWeekdaysShort(m) {\n return m === true\n ? shiftWeekdays(this._weekdaysShort, this._week.dow)\n : m\n ? this._weekdaysShort[m.day()]\n : this._weekdaysShort;\n }\n\n function localeWeekdaysMin(m) {\n return m === true\n ? shiftWeekdays(this._weekdaysMin, this._week.dow)\n : m\n ? this._weekdaysMin[m.day()]\n : this._weekdaysMin;\n }\n\n function handleStrictParse$1(weekdayName, format, strict) {\n var i,\n ii,\n mom,\n llc = weekdayName.toLocaleLowerCase();\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._minWeekdaysParse = [];\n\n for (i = 0; i < 7; ++i) {\n mom = createUTC([2000, 1]).day(i);\n this._minWeekdaysParse[i] = this.weekdaysMin(\n mom,\n ''\n ).toLocaleLowerCase();\n this._shortWeekdaysParse[i] = this.weekdaysShort(\n mom,\n ''\n ).toLocaleLowerCase();\n this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n\n function localeWeekdaysParse(weekdayName, format, strict) {\n var i, mom, regex;\n\n if (this._weekdaysParseExact) {\n return handleStrictParse$1.call(this, weekdayName, format, strict);\n }\n\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._minWeekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._fullWeekdaysParse = [];\n }\n\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n\n mom = createUTC([2000, 1]).day(i);\n if (strict && !this._fullWeekdaysParse[i]) {\n this._fullWeekdaysParse[i] = new RegExp(\n '^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n this._shortWeekdaysParse[i] = new RegExp(\n '^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n this._minWeekdaysParse[i] = new RegExp(\n '^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n }\n if (!this._weekdaysParse[i]) {\n regex =\n '^' +\n this.weekdays(mom, '') +\n '|^' +\n this.weekdaysShort(mom, '') +\n '|^' +\n this.weekdaysMin(mom, '');\n this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (\n strict &&\n format === 'dddd' &&\n this._fullWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'ddd' &&\n this._shortWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'dd' &&\n this._minWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function getSetDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n var day = get(this, 'Day');\n if (input != null) {\n input = parseWeekday(input, this.localeData());\n return this.add(input - day, 'd');\n } else {\n return day;\n }\n }\n\n function getSetLocaleDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n return input == null ? weekday : this.add(input - weekday, 'd');\n }\n\n function getSetISODayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n // behaves the same as moment#day except\n // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n // as a setter, sunday should belong to the previous week.\n\n if (input != null) {\n var weekday = parseIsoWeekday(input, this.localeData());\n return this.day(this.day() % 7 ? weekday : weekday - 7);\n } else {\n return this.day() || 7;\n }\n }\n\n function weekdaysRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysStrictRegex;\n } else {\n return this._weekdaysRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n this._weekdaysRegex = defaultWeekdaysRegex;\n }\n return this._weekdaysStrictRegex && isStrict\n ? this._weekdaysStrictRegex\n : this._weekdaysRegex;\n }\n }\n\n function weekdaysShortRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysShortStrictRegex;\n } else {\n return this._weekdaysShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n }\n return this._weekdaysShortStrictRegex && isStrict\n ? this._weekdaysShortStrictRegex\n : this._weekdaysShortRegex;\n }\n }\n\n function weekdaysMinRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysMinStrictRegex;\n } else {\n return this._weekdaysMinRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n }\n return this._weekdaysMinStrictRegex && isStrict\n ? this._weekdaysMinStrictRegex\n : this._weekdaysMinRegex;\n }\n }\n\n function computeWeekdaysParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var minPieces = [],\n shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n minp,\n shortp,\n longp;\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n minp = regexEscape(this.weekdaysMin(mom, ''));\n shortp = regexEscape(this.weekdaysShort(mom, ''));\n longp = regexEscape(this.weekdays(mom, ''));\n minPieces.push(minp);\n shortPieces.push(shortp);\n longPieces.push(longp);\n mixedPieces.push(minp);\n mixedPieces.push(shortp);\n mixedPieces.push(longp);\n }\n // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n // will match the longer piece.\n minPieces.sort(cmpLenRev);\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n\n this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._weekdaysShortRegex = this._weekdaysRegex;\n this._weekdaysMinRegex = this._weekdaysRegex;\n\n this._weekdaysStrictRegex = new RegExp(\n '^(' + longPieces.join('|') + ')',\n 'i'\n );\n this._weekdaysShortStrictRegex = new RegExp(\n '^(' + shortPieces.join('|') + ')',\n 'i'\n );\n this._weekdaysMinStrictRegex = new RegExp(\n '^(' + minPieces.join('|') + ')',\n 'i'\n );\n }\n\n // FORMATTING\n\n function hFormat() {\n return this.hours() % 12 || 12;\n }\n\n function kFormat() {\n return this.hours() || 24;\n }\n\n addFormatToken('H', ['HH', 2], 0, 'hour');\n addFormatToken('h', ['hh', 2], 0, hFormat);\n addFormatToken('k', ['kk', 2], 0, kFormat);\n\n addFormatToken('hmm', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n });\n\n addFormatToken('hmmss', 0, 0, function () {\n return (\n '' +\n hFormat.apply(this) +\n zeroFill(this.minutes(), 2) +\n zeroFill(this.seconds(), 2)\n );\n });\n\n addFormatToken('Hmm', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2);\n });\n\n addFormatToken('Hmmss', 0, 0, function () {\n return (\n '' +\n this.hours() +\n zeroFill(this.minutes(), 2) +\n zeroFill(this.seconds(), 2)\n );\n });\n\n function meridiem(token, lowercase) {\n addFormatToken(token, 0, 0, function () {\n return this.localeData().meridiem(\n this.hours(),\n this.minutes(),\n lowercase\n );\n });\n }\n\n meridiem('a', true);\n meridiem('A', false);\n\n // PARSING\n\n function matchMeridiem(isStrict, locale) {\n return locale._meridiemParse;\n }\n\n addRegexToken('a', matchMeridiem);\n addRegexToken('A', matchMeridiem);\n addRegexToken('H', match1to2, match1to2HasZero);\n addRegexToken('h', match1to2, match1to2NoLeadingZero);\n addRegexToken('k', match1to2, match1to2NoLeadingZero);\n addRegexToken('HH', match1to2, match2);\n addRegexToken('hh', match1to2, match2);\n addRegexToken('kk', match1to2, match2);\n\n addRegexToken('hmm', match3to4);\n addRegexToken('hmmss', match5to6);\n addRegexToken('Hmm', match3to4);\n addRegexToken('Hmmss', match5to6);\n\n addParseToken(['H', 'HH'], HOUR);\n addParseToken(['k', 'kk'], function (input, array, config) {\n var kInput = toInt(input);\n array[HOUR] = kInput === 24 ? 0 : kInput;\n });\n addParseToken(['a', 'A'], function (input, array, config) {\n config._isPm = config._locale.isPM(input);\n config._meridiem = input;\n });\n addParseToken(['h', 'hh'], function (input, array, config) {\n array[HOUR] = toInt(input);\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('Hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n });\n addParseToken('Hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n });\n\n // LOCALES\n\n function localeIsPM(input) {\n // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n // Using charAt should be more compatible.\n return (input + '').toLowerCase().charAt(0) === 'p';\n }\n\n var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n // Setting the hour should keep the time, because the user explicitly\n // specified which hour they want. So trying to maintain the same hour (in\n // a new timezone) makes sense. Adding/subtracting hours does not follow\n // this rule.\n getSetHour = makeGetSet('Hours', true);\n\n function localeMeridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'pm' : 'PM';\n } else {\n return isLower ? 'am' : 'AM';\n }\n }\n\n var baseConfig = {\n calendar: defaultCalendar,\n longDateFormat: defaultLongDateFormat,\n invalidDate: defaultInvalidDate,\n ordinal: defaultOrdinal,\n dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n relativeTime: defaultRelativeTime,\n\n months: defaultLocaleMonths,\n monthsShort: defaultLocaleMonthsShort,\n\n week: defaultLocaleWeek,\n\n weekdays: defaultLocaleWeekdays,\n weekdaysMin: defaultLocaleWeekdaysMin,\n weekdaysShort: defaultLocaleWeekdaysShort,\n\n meridiemParse: defaultLocaleMeridiemParse,\n };\n\n // internal storage for locale config files\n var locales = {},\n localeFamilies = {},\n globalLocale;\n\n function commonPrefix(arr1, arr2) {\n var i,\n minl = Math.min(arr1.length, arr2.length);\n for (i = 0; i < minl; i += 1) {\n if (arr1[i] !== arr2[i]) {\n return i;\n }\n }\n return minl;\n }\n\n function normalizeLocale(key) {\n return key ? key.toLowerCase().replace('_', '-') : key;\n }\n\n // pick the locale from the array\n // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n function chooseLocale(names) {\n var i = 0,\n j,\n next,\n locale,\n split;\n\n while (i < names.length) {\n split = normalizeLocale(names[i]).split('-');\n j = split.length;\n next = normalizeLocale(names[i + 1]);\n next = next ? next.split('-') : null;\n while (j > 0) {\n locale = loadLocale(split.slice(0, j).join('-'));\n if (locale) {\n return locale;\n }\n if (\n next &&\n next.length >= j &&\n commonPrefix(split, next) >= j - 1\n ) {\n //the next array item is better than a shallower substring of this one\n break;\n }\n j--;\n }\n i++;\n }\n return globalLocale;\n }\n\n function isLocaleNameSane(name) {\n // Prevent names that look like filesystem paths, i.e contain '/' or '\\'\n // Ensure name is available and function returns boolean\n return !!(name && name.match('^[^/\\\\\\\\]*$'));\n }\n\n function loadLocale(name) {\n var oldLocale = null,\n aliasedRequire;\n // TODO: Find a better way to register and load all the locales in Node\n if (\n locales[name] === undefined &&\n typeof module !== 'undefined' &&\n module &&\n module.exports &&\n isLocaleNameSane(name)\n ) {\n try {\n oldLocale = globalLocale._abbr;\n aliasedRequire = require;\n aliasedRequire('./locale/' + name);\n getSetGlobalLocale(oldLocale);\n } catch (e) {\n // mark as not found to avoid repeating expensive file require call causing high CPU\n // when trying to find en-US, en_US, en-us for every format call\n locales[name] = null; // null means not found\n }\n }\n return locales[name];\n }\n\n // This function will load locale and then set the global locale. If\n // no arguments are passed in, it will simply return the current global\n // locale key.\n function getSetGlobalLocale(key, values) {\n var data;\n if (key) {\n if (isUndefined(values)) {\n data = getLocale(key);\n } else {\n data = defineLocale(key, values);\n }\n\n if (data) {\n // moment.duration._locale = moment._locale = data;\n globalLocale = data;\n } else {\n if (typeof console !== 'undefined' && console.warn) {\n //warn user if arguments are passed but the locale could not be set\n console.warn(\n 'Locale ' + key + ' not found. Did you forget to load it?'\n );\n }\n }\n }\n\n return globalLocale._abbr;\n }\n\n function defineLocale(name, config) {\n if (config !== null) {\n var locale,\n parentConfig = baseConfig;\n config.abbr = name;\n if (locales[name] != null) {\n deprecateSimple(\n 'defineLocaleOverride',\n 'use moment.updateLocale(localeName, config) to change ' +\n 'an existing locale. moment.defineLocale(localeName, ' +\n 'config) should only be used for creating a new locale ' +\n 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'\n );\n parentConfig = locales[name]._config;\n } else if (config.parentLocale != null) {\n if (locales[config.parentLocale] != null) {\n parentConfig = locales[config.parentLocale]._config;\n } else {\n locale = loadLocale(config.parentLocale);\n if (locale != null) {\n parentConfig = locale._config;\n } else {\n if (!localeFamilies[config.parentLocale]) {\n localeFamilies[config.parentLocale] = [];\n }\n localeFamilies[config.parentLocale].push({\n name: name,\n config: config,\n });\n return null;\n }\n }\n }\n locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n if (localeFamilies[name]) {\n localeFamilies[name].forEach(function (x) {\n defineLocale(x.name, x.config);\n });\n }\n\n // backwards compat for now: also set the locale\n // make sure we set the locale AFTER all child locales have been\n // created, so we won't end up with the child locale set.\n getSetGlobalLocale(name);\n\n return locales[name];\n } else {\n // useful for testing\n delete locales[name];\n return null;\n }\n }\n\n function updateLocale(name, config) {\n if (config != null) {\n var locale,\n tmpLocale,\n parentConfig = baseConfig;\n\n if (locales[name] != null && locales[name].parentLocale != null) {\n // Update existing child locale in-place to avoid memory-leaks\n locales[name].set(mergeConfigs(locales[name]._config, config));\n } else {\n // MERGE\n tmpLocale = loadLocale(name);\n if (tmpLocale != null) {\n parentConfig = tmpLocale._config;\n }\n config = mergeConfigs(parentConfig, config);\n if (tmpLocale == null) {\n // updateLocale is called for creating a new locale\n // Set abbr so it will have a name (getters return\n // undefined otherwise).\n config.abbr = name;\n }\n locale = new Locale(config);\n locale.parentLocale = locales[name];\n locales[name] = locale;\n }\n\n // backwards compat for now: also set the locale\n getSetGlobalLocale(name);\n } else {\n // pass null for config to unupdate, useful for tests\n if (locales[name] != null) {\n if (locales[name].parentLocale != null) {\n locales[name] = locales[name].parentLocale;\n if (name === getSetGlobalLocale()) {\n getSetGlobalLocale(name);\n }\n } else if (locales[name] != null) {\n delete locales[name];\n }\n }\n }\n return locales[name];\n }\n\n // returns locale data\n function getLocale(key) {\n var locale;\n\n if (key && key._locale && key._locale._abbr) {\n key = key._locale._abbr;\n }\n\n if (!key) {\n return globalLocale;\n }\n\n if (!isArray(key)) {\n //short-circuit everything else\n locale = loadLocale(key);\n if (locale) {\n return locale;\n }\n key = [key];\n }\n\n return chooseLocale(key);\n }\n\n function listLocales() {\n return keys(locales);\n }\n\n function checkOverflow(m) {\n var overflow,\n a = m._a;\n\n if (a && getParsingFlags(m).overflow === -2) {\n overflow =\n a[MONTH] < 0 || a[MONTH] > 11\n ? MONTH\n : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])\n ? DATE\n : a[HOUR] < 0 ||\n a[HOUR] > 24 ||\n (a[HOUR] === 24 &&\n (a[MINUTE] !== 0 ||\n a[SECOND] !== 0 ||\n a[MILLISECOND] !== 0))\n ? HOUR\n : a[MINUTE] < 0 || a[MINUTE] > 59\n ? MINUTE\n : a[SECOND] < 0 || a[SECOND] > 59\n ? SECOND\n : a[MILLISECOND] < 0 || a[MILLISECOND] > 999\n ? MILLISECOND\n : -1;\n\n if (\n getParsingFlags(m)._overflowDayOfYear &&\n (overflow < YEAR || overflow > DATE)\n ) {\n overflow = DATE;\n }\n if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n overflow = WEEK;\n }\n if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n overflow = WEEKDAY;\n }\n\n getParsingFlags(m).overflow = overflow;\n }\n\n return m;\n }\n\n // iso 8601 regex\n // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n var extendedIsoRegex =\n /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n basicIsoRegex =\n /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n isoDates = [\n ['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/],\n ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/],\n ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/],\n ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false],\n ['YYYY-DDD', /\\d{4}-\\d{3}/],\n ['YYYY-MM', /\\d{4}-\\d\\d/, false],\n ['YYYYYYMMDD', /[+-]\\d{10}/],\n ['YYYYMMDD', /\\d{8}/],\n ['GGGG[W]WWE', /\\d{4}W\\d{3}/],\n ['GGGG[W]WW', /\\d{4}W\\d{2}/, false],\n ['YYYYDDD', /\\d{7}/],\n ['YYYYMM', /\\d{6}/, false],\n ['YYYY', /\\d{4}/, false],\n ],\n // iso time formats and regexes\n isoTimes = [\n ['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/],\n ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/],\n ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/],\n ['HH:mm', /\\d\\d:\\d\\d/],\n ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/],\n ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/],\n ['HHmmss', /\\d\\d\\d\\d\\d\\d/],\n ['HHmm', /\\d\\d\\d\\d/],\n ['HH', /\\d\\d/],\n ],\n aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n rfc2822 =\n /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n obsOffsets = {\n UT: 0,\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60,\n };\n\n // date from iso format\n function configFromISO(config) {\n var i,\n l,\n string = config._i,\n match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n allowTime,\n dateFormat,\n timeFormat,\n tzFormat,\n isoDatesLen = isoDates.length,\n isoTimesLen = isoTimes.length;\n\n if (match) {\n getParsingFlags(config).iso = true;\n for (i = 0, l = isoDatesLen; i < l; i++) {\n if (isoDates[i][1].exec(match[1])) {\n dateFormat = isoDates[i][0];\n allowTime = isoDates[i][2] !== false;\n break;\n }\n }\n if (dateFormat == null) {\n config._isValid = false;\n return;\n }\n if (match[3]) {\n for (i = 0, l = isoTimesLen; i < l; i++) {\n if (isoTimes[i][1].exec(match[3])) {\n // match[2] should be 'T' or space\n timeFormat = (match[2] || ' ') + isoTimes[i][0];\n break;\n }\n }\n if (timeFormat == null) {\n config._isValid = false;\n return;\n }\n }\n if (!allowTime && timeFormat != null) {\n config._isValid = false;\n return;\n }\n if (match[4]) {\n if (tzRegex.exec(match[4])) {\n tzFormat = 'Z';\n } else {\n config._isValid = false;\n return;\n }\n }\n config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n configFromStringAndFormat(config);\n } else {\n config._isValid = false;\n }\n }\n\n function extractFromRFC2822Strings(\n yearStr,\n monthStr,\n dayStr,\n hourStr,\n minuteStr,\n secondStr\n ) {\n var result = [\n untruncateYear(yearStr),\n defaultLocaleMonthsShort.indexOf(monthStr),\n parseInt(dayStr, 10),\n parseInt(hourStr, 10),\n parseInt(minuteStr, 10),\n ];\n\n if (secondStr) {\n result.push(parseInt(secondStr, 10));\n }\n\n return result;\n }\n\n function untruncateYear(yearStr) {\n var year = parseInt(yearStr, 10);\n if (year <= 49) {\n return 2000 + year;\n } else if (year <= 999) {\n return 1900 + year;\n }\n return year;\n }\n\n function preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s\n .replace(/\\([^()]*\\)|[\\n\\t]/g, ' ')\n .replace(/(\\s\\s+)/g, ' ')\n .replace(/^\\s\\s*/, '')\n .replace(/\\s\\s*$/, '');\n }\n\n function checkWeekday(weekdayStr, parsedInput, config) {\n if (weekdayStr) {\n // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n weekdayActual = new Date(\n parsedInput[0],\n parsedInput[1],\n parsedInput[2]\n ).getDay();\n if (weekdayProvided !== weekdayActual) {\n getParsingFlags(config).weekdayMismatch = true;\n config._isValid = false;\n return false;\n }\n }\n return true;\n }\n\n function calculateOffset(obsOffset, militaryOffset, numOffset) {\n if (obsOffset) {\n return obsOffsets[obsOffset];\n } else if (militaryOffset) {\n // the only allowed military tz is Z\n return 0;\n } else {\n var hm = parseInt(numOffset, 10),\n m = hm % 100,\n h = (hm - m) / 100;\n return h * 60 + m;\n }\n }\n\n // date and time from ref 2822 format\n function configFromRFC2822(config) {\n var match = rfc2822.exec(preprocessRFC2822(config._i)),\n parsedArray;\n if (match) {\n parsedArray = extractFromRFC2822Strings(\n match[4],\n match[3],\n match[2],\n match[5],\n match[6],\n match[7]\n );\n if (!checkWeekday(match[1], parsedArray, config)) {\n return;\n }\n\n config._a = parsedArray;\n config._tzm = calculateOffset(match[8], match[9], match[10]);\n\n config._d = createUTCDate.apply(null, config._a);\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n getParsingFlags(config).rfc2822 = true;\n } else {\n config._isValid = false;\n }\n }\n\n // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n function configFromString(config) {\n var matched = aspNetJsonRegex.exec(config._i);\n if (matched !== null) {\n config._d = new Date(+matched[1]);\n return;\n }\n\n configFromISO(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n configFromRFC2822(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n if (config._strict) {\n config._isValid = false;\n } else {\n // Final attempt, use Input Fallback\n hooks.createFromInputFallback(config);\n }\n }\n\n hooks.createFromInputFallback = deprecate(\n 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +\n 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +\n 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',\n function (config) {\n config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n }\n );\n\n // Pick the first defined of two or three arguments.\n function defaults(a, b, c) {\n if (a != null) {\n return a;\n }\n if (b != null) {\n return b;\n }\n return c;\n }\n\n function currentDateArray(config) {\n // hooks is actually the exported moment object\n var nowValue = new Date(hooks.now());\n if (config._useUTC) {\n return [\n nowValue.getUTCFullYear(),\n nowValue.getUTCMonth(),\n nowValue.getUTCDate(),\n ];\n }\n return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n }\n\n // convert an array to a date.\n // the array should mirror the parameters below\n // note: all values past the year are optional and will default to the lowest possible value.\n // [year, month, day , hour, minute, second, millisecond]\n function configFromArray(config) {\n var i,\n date,\n input = [],\n currentDate,\n expectedWeekday,\n yearToUse;\n\n if (config._d) {\n return;\n }\n\n currentDate = currentDateArray(config);\n\n //compute day of the year from weeks and weekdays\n if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n dayOfYearFromWeekInfo(config);\n }\n\n //if the day of the year is set, figure out what it is\n if (config._dayOfYear != null) {\n yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n if (\n config._dayOfYear > daysInYear(yearToUse) ||\n config._dayOfYear === 0\n ) {\n getParsingFlags(config)._overflowDayOfYear = true;\n }\n\n date = createUTCDate(yearToUse, 0, config._dayOfYear);\n config._a[MONTH] = date.getUTCMonth();\n config._a[DATE] = date.getUTCDate();\n }\n\n // Default to current date.\n // * if no year, month, day of month are given, default to today\n // * if day of month is given, default month and year\n // * if month is given, default only year\n // * if year is given, don't default anything\n for (i = 0; i < 3 && config._a[i] == null; ++i) {\n config._a[i] = input[i] = currentDate[i];\n }\n\n // Zero out whatever was not defaulted, including time\n for (; i < 7; i++) {\n config._a[i] = input[i] =\n config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];\n }\n\n // Check for 24:00:00.000\n if (\n config._a[HOUR] === 24 &&\n config._a[MINUTE] === 0 &&\n config._a[SECOND] === 0 &&\n config._a[MILLISECOND] === 0\n ) {\n config._nextDay = true;\n config._a[HOUR] = 0;\n }\n\n config._d = (config._useUTC ? createUTCDate : createDate).apply(\n null,\n input\n );\n expectedWeekday = config._useUTC\n ? config._d.getUTCDay()\n : config._d.getDay();\n\n // Apply timezone offset from input. The actual utcOffset can be changed\n // with parseZone.\n if (config._tzm != null) {\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n }\n\n if (config._nextDay) {\n config._a[HOUR] = 24;\n }\n\n // check for mismatching day of week\n if (\n config._w &&\n typeof config._w.d !== 'undefined' &&\n config._w.d !== expectedWeekday\n ) {\n getParsingFlags(config).weekdayMismatch = true;\n }\n }\n\n function dayOfYearFromWeekInfo(config) {\n var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n\n w = config._w;\n if (w.GG != null || w.W != null || w.E != null) {\n dow = 1;\n doy = 4;\n\n // TODO: We need to take the current isoWeekYear, but that depends on\n // how we interpret now (local, utc, fixed offset). So create\n // a now version of current config (take local/utc/offset flags, and\n // create now).\n weekYear = defaults(\n w.GG,\n config._a[YEAR],\n weekOfYear(createLocal(), 1, 4).year\n );\n week = defaults(w.W, 1);\n weekday = defaults(w.E, 1);\n if (weekday < 1 || weekday > 7) {\n weekdayOverflow = true;\n }\n } else {\n dow = config._locale._week.dow;\n doy = config._locale._week.doy;\n\n curWeek = weekOfYear(createLocal(), dow, doy);\n\n weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n // Default to current week.\n week = defaults(w.w, curWeek.week);\n\n if (w.d != null) {\n // weekday -- low day numbers are considered next week\n weekday = w.d;\n if (weekday < 0 || weekday > 6) {\n weekdayOverflow = true;\n }\n } else if (w.e != null) {\n // local weekday -- counting starts from beginning of week\n weekday = w.e + dow;\n if (w.e < 0 || w.e > 6) {\n weekdayOverflow = true;\n }\n } else {\n // default to beginning of week\n weekday = dow;\n }\n }\n if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n getParsingFlags(config)._overflowWeeks = true;\n } else if (weekdayOverflow != null) {\n getParsingFlags(config)._overflowWeekday = true;\n } else {\n temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n config._a[YEAR] = temp.year;\n config._dayOfYear = temp.dayOfYear;\n }\n }\n\n // constant that refers to the ISO standard\n hooks.ISO_8601 = function () {};\n\n // constant that refers to the RFC 2822 form\n hooks.RFC_2822 = function () {};\n\n // date from string and format string\n function configFromStringAndFormat(config) {\n // TODO: Move this to another part of the creation flow to prevent circular deps\n if (config._f === hooks.ISO_8601) {\n configFromISO(config);\n return;\n }\n if (config._f === hooks.RFC_2822) {\n configFromRFC2822(config);\n return;\n }\n config._a = [];\n getParsingFlags(config).empty = true;\n\n // This array is used to make a Date, either with `new Date` or `Date.UTC`\n var string = '' + config._i,\n i,\n parsedInput,\n tokens,\n token,\n skipped,\n stringLength = string.length,\n totalParsedInputLength = 0,\n era,\n tokenLen;\n\n tokens =\n expandFormat(config._f, config._locale).match(formattingTokens) || [];\n tokenLen = tokens.length;\n for (i = 0; i < tokenLen; i++) {\n token = tokens[i];\n parsedInput = (string.match(getParseRegexForToken(token, config)) ||\n [])[0];\n if (parsedInput) {\n skipped = string.substr(0, string.indexOf(parsedInput));\n if (skipped.length > 0) {\n getParsingFlags(config).unusedInput.push(skipped);\n }\n string = string.slice(\n string.indexOf(parsedInput) + parsedInput.length\n );\n totalParsedInputLength += parsedInput.length;\n }\n // don't parse if it's not a known token\n if (formatTokenFunctions[token]) {\n if (parsedInput) {\n getParsingFlags(config).empty = false;\n } else {\n getParsingFlags(config).unusedTokens.push(token);\n }\n addTimeToArrayFromToken(token, parsedInput, config);\n } else if (config._strict && !parsedInput) {\n getParsingFlags(config).unusedTokens.push(token);\n }\n }\n\n // add remaining unparsed input length to the string\n getParsingFlags(config).charsLeftOver =\n stringLength - totalParsedInputLength;\n if (string.length > 0) {\n getParsingFlags(config).unusedInput.push(string);\n }\n\n // clear _12h flag if hour is <= 12\n if (\n config._a[HOUR] <= 12 &&\n getParsingFlags(config).bigHour === true &&\n config._a[HOUR] > 0\n ) {\n getParsingFlags(config).bigHour = undefined;\n }\n\n getParsingFlags(config).parsedDateParts = config._a.slice(0);\n getParsingFlags(config).meridiem = config._meridiem;\n // handle meridiem\n config._a[HOUR] = meridiemFixWrap(\n config._locale,\n config._a[HOUR],\n config._meridiem\n );\n\n // handle era\n era = getParsingFlags(config).era;\n if (era !== null) {\n config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n }\n\n configFromArray(config);\n checkOverflow(config);\n }\n\n function meridiemFixWrap(locale, hour, meridiem) {\n var isPm;\n\n if (meridiem == null) {\n // nothing to do\n return hour;\n }\n if (locale.meridiemHour != null) {\n return locale.meridiemHour(hour, meridiem);\n } else if (locale.isPM != null) {\n // Fallback\n isPm = locale.isPM(meridiem);\n if (isPm && hour < 12) {\n hour += 12;\n }\n if (!isPm && hour === 12) {\n hour = 0;\n }\n return hour;\n } else {\n // this is not supposed to happen\n return hour;\n }\n }\n\n // date from string and array of format strings\n function configFromStringAndArray(config) {\n var tempConfig,\n bestMoment,\n scoreToBeat,\n i,\n currentScore,\n validFormatFound,\n bestFormatIsValid = false,\n configfLen = config._f.length;\n\n if (configfLen === 0) {\n getParsingFlags(config).invalidFormat = true;\n config._d = new Date(NaN);\n return;\n }\n\n for (i = 0; i < configfLen; i++) {\n currentScore = 0;\n validFormatFound = false;\n tempConfig = copyConfig({}, config);\n if (config._useUTC != null) {\n tempConfig._useUTC = config._useUTC;\n }\n tempConfig._f = config._f[i];\n configFromStringAndFormat(tempConfig);\n\n if (isValid(tempConfig)) {\n validFormatFound = true;\n }\n\n // if there is any input that was not parsed add a penalty for that format\n currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n //or tokens\n currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n\n getParsingFlags(tempConfig).score = currentScore;\n\n if (!bestFormatIsValid) {\n if (\n scoreToBeat == null ||\n currentScore < scoreToBeat ||\n validFormatFound\n ) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n if (validFormatFound) {\n bestFormatIsValid = true;\n }\n }\n } else {\n if (currentScore < scoreToBeat) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n }\n }\n }\n\n extend(config, bestMoment || tempConfig);\n }\n\n function configFromObject(config) {\n if (config._d) {\n return;\n }\n\n var i = normalizeObjectUnits(config._i),\n dayOrDate = i.day === undefined ? i.date : i.day;\n config._a = map(\n [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],\n function (obj) {\n return obj && parseInt(obj, 10);\n }\n );\n\n configFromArray(config);\n }\n\n function createFromConfig(config) {\n var res = new Moment(checkOverflow(prepareConfig(config)));\n if (res._nextDay) {\n // Adding is smart enough around DST\n res.add(1, 'd');\n res._nextDay = undefined;\n }\n\n return res;\n }\n\n function prepareConfig(config) {\n var input = config._i,\n format = config._f;\n\n config._locale = config._locale || getLocale(config._l);\n\n if (input === null || (format === undefined && input === '')) {\n return createInvalid({ nullInput: true });\n }\n\n if (typeof input === 'string') {\n config._i = input = config._locale.preparse(input);\n }\n\n if (isMoment(input)) {\n return new Moment(checkOverflow(input));\n } else if (isDate(input)) {\n config._d = input;\n } else if (isArray(format)) {\n configFromStringAndArray(config);\n } else if (format) {\n configFromStringAndFormat(config);\n } else {\n configFromInput(config);\n }\n\n if (!isValid(config)) {\n config._d = null;\n }\n\n return config;\n }\n\n function configFromInput(config) {\n var input = config._i;\n if (isUndefined(input)) {\n config._d = new Date(hooks.now());\n } else if (isDate(input)) {\n config._d = new Date(input.valueOf());\n } else if (typeof input === 'string') {\n configFromString(config);\n } else if (isArray(input)) {\n config._a = map(input.slice(0), function (obj) {\n return parseInt(obj, 10);\n });\n configFromArray(config);\n } else if (isObject(input)) {\n configFromObject(config);\n } else if (isNumber(input)) {\n // from milliseconds\n config._d = new Date(input);\n } else {\n hooks.createFromInputFallback(config);\n }\n }\n\n function createLocalOrUTC(input, format, locale, strict, isUTC) {\n var c = {};\n\n if (format === true || format === false) {\n strict = format;\n format = undefined;\n }\n\n if (locale === true || locale === false) {\n strict = locale;\n locale = undefined;\n }\n\n if (\n (isObject(input) && isObjectEmpty(input)) ||\n (isArray(input) && input.length === 0)\n ) {\n input = undefined;\n }\n // object construction must be done this way.\n // https://github.com/moment/moment/issues/1423\n c._isAMomentObject = true;\n c._useUTC = c._isUTC = isUTC;\n c._l = locale;\n c._i = input;\n c._f = format;\n c._strict = strict;\n\n return createFromConfig(c);\n }\n\n function createLocal(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, false);\n }\n\n var prototypeMin = deprecate(\n 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',\n function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other < this ? this : other;\n } else {\n return createInvalid();\n }\n }\n ),\n prototypeMax = deprecate(\n 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',\n function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other > this ? this : other;\n } else {\n return createInvalid();\n }\n }\n );\n\n // Pick a moment m from moments so that m[fn](other) is true for all\n // other. This relies on the function fn to be transitive.\n //\n // moments should either be an array of moment objects or an array, whose\n // first element is an array of moment objects.\n function pickBy(fn, moments) {\n var res, i;\n if (moments.length === 1 && isArray(moments[0])) {\n moments = moments[0];\n }\n if (!moments.length) {\n return createLocal();\n }\n res = moments[0];\n for (i = 1; i < moments.length; ++i) {\n if (!moments[i].isValid() || moments[i][fn](res)) {\n res = moments[i];\n }\n }\n return res;\n }\n\n // TODO: Use [].sort instead?\n function min() {\n var args = [].slice.call(arguments, 0);\n\n return pickBy('isBefore', args);\n }\n\n function max() {\n var args = [].slice.call(arguments, 0);\n\n return pickBy('isAfter', args);\n }\n\n var now = function () {\n return Date.now ? Date.now() : +new Date();\n };\n\n var ordering = [\n 'year',\n 'quarter',\n 'month',\n 'week',\n 'day',\n 'hour',\n 'minute',\n 'second',\n 'millisecond',\n ];\n\n function isDurationValid(m) {\n var key,\n unitHasDecimal = false,\n i,\n orderLen = ordering.length;\n for (key in m) {\n if (\n hasOwnProp(m, key) &&\n !(\n indexOf.call(ordering, key) !== -1 &&\n (m[key] == null || !isNaN(m[key]))\n )\n ) {\n return false;\n }\n }\n\n for (i = 0; i < orderLen; ++i) {\n if (m[ordering[i]]) {\n if (unitHasDecimal) {\n return false; // only allow non-integers for smallest unit\n }\n if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n unitHasDecimal = true;\n }\n }\n }\n\n return true;\n }\n\n function isValid$1() {\n return this._isValid;\n }\n\n function createInvalid$1() {\n return createDuration(NaN);\n }\n\n function Duration(duration) {\n var normalizedInput = normalizeObjectUnits(duration),\n years = normalizedInput.year || 0,\n quarters = normalizedInput.quarter || 0,\n months = normalizedInput.month || 0,\n weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n days = normalizedInput.day || 0,\n hours = normalizedInput.hour || 0,\n minutes = normalizedInput.minute || 0,\n seconds = normalizedInput.second || 0,\n milliseconds = normalizedInput.millisecond || 0;\n\n this._isValid = isDurationValid(normalizedInput);\n\n // representation for dateAddRemove\n this._milliseconds =\n +milliseconds +\n seconds * 1e3 + // 1000\n minutes * 6e4 + // 1000 * 60\n hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n // Because of dateAddRemove treats 24 hours as different from a\n // day when working around DST, we need to store them separately\n this._days = +days + weeks * 7;\n // It is impossible to translate months into days without knowing\n // which months you are are talking about, so we have to store\n // it separately.\n this._months = +months + quarters * 3 + years * 12;\n\n this._data = {};\n\n this._locale = getLocale();\n\n this._bubble();\n }\n\n function isDuration(obj) {\n return obj instanceof Duration;\n }\n\n function absRound(number) {\n if (number < 0) {\n return Math.round(-1 * number) * -1;\n } else {\n return Math.round(number);\n }\n }\n\n // compare two arrays, return the number of differences\n function compareArrays(array1, array2, dontConvert) {\n var len = Math.min(array1.length, array2.length),\n lengthDiff = Math.abs(array1.length - array2.length),\n diffs = 0,\n i;\n for (i = 0; i < len; i++) {\n if (\n (dontConvert && array1[i] !== array2[i]) ||\n (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))\n ) {\n diffs++;\n }\n }\n return diffs + lengthDiff;\n }\n\n // FORMATTING\n\n function offset(token, separator) {\n addFormatToken(token, 0, 0, function () {\n var offset = this.utcOffset(),\n sign = '+';\n if (offset < 0) {\n offset = -offset;\n sign = '-';\n }\n return (\n sign +\n zeroFill(~~(offset / 60), 2) +\n separator +\n zeroFill(~~offset % 60, 2)\n );\n });\n }\n\n offset('Z', ':');\n offset('ZZ', '');\n\n // PARSING\n\n addRegexToken('Z', matchShortOffset);\n addRegexToken('ZZ', matchShortOffset);\n addParseToken(['Z', 'ZZ'], function (input, array, config) {\n config._useUTC = true;\n config._tzm = offsetFromString(matchShortOffset, input);\n });\n\n // HELPERS\n\n // timezone chunker\n // '+10:00' > ['10', '00']\n // '-1530' > ['-15', '30']\n var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\n function offsetFromString(matcher, string) {\n var matches = (string || '').match(matcher),\n chunk,\n parts,\n minutes;\n\n if (matches === null) {\n return null;\n }\n\n chunk = matches[matches.length - 1] || [];\n parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n minutes = +(parts[1] * 60) + toInt(parts[2]);\n\n return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n }\n\n // Return a moment from input, that is local/utc/zone equivalent to model.\n function cloneWithOffset(input, model) {\n var res, diff;\n if (model._isUTC) {\n res = model.clone();\n diff =\n (isMoment(input) || isDate(input)\n ? input.valueOf()\n : createLocal(input).valueOf()) - res.valueOf();\n // Use low-level api, because this fn is low-level api.\n res._d.setTime(res._d.valueOf() + diff);\n hooks.updateOffset(res, false);\n return res;\n } else {\n return createLocal(input).local();\n }\n }\n\n function getDateOffset(m) {\n // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n // https://github.com/moment/moment/pull/1871\n return -Math.round(m._d.getTimezoneOffset());\n }\n\n // HOOKS\n\n // This function will be called whenever a moment is mutated.\n // It is intended to keep the offset in sync with the timezone.\n hooks.updateOffset = function () {};\n\n // MOMENTS\n\n // keepLocalTime = true means only change the timezone, without\n // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n // +0200, so we adjust the time as needed, to be valid.\n //\n // Keeping the time actually adds/subtracts (one hour)\n // from the actual represented time. That is why we call updateOffset\n // a second time. In case it wants us to change the offset again\n // _changeInProgress == true case, then we have to adjust, because\n // there is no such time in the given timezone.\n function getSetOffset(input, keepLocalTime, keepMinutes) {\n var offset = this._offset || 0,\n localAdjust;\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n if (input != null) {\n if (typeof input === 'string') {\n input = offsetFromString(matchShortOffset, input);\n if (input === null) {\n return this;\n }\n } else if (Math.abs(input) < 16 && !keepMinutes) {\n input = input * 60;\n }\n if (!this._isUTC && keepLocalTime) {\n localAdjust = getDateOffset(this);\n }\n this._offset = input;\n this._isUTC = true;\n if (localAdjust != null) {\n this.add(localAdjust, 'm');\n }\n if (offset !== input) {\n if (!keepLocalTime || this._changeInProgress) {\n addSubtract(\n this,\n createDuration(input - offset, 'm'),\n 1,\n false\n );\n } else if (!this._changeInProgress) {\n this._changeInProgress = true;\n hooks.updateOffset(this, true);\n this._changeInProgress = null;\n }\n }\n return this;\n } else {\n return this._isUTC ? offset : getDateOffset(this);\n }\n }\n\n function getSetZone(input, keepLocalTime) {\n if (input != null) {\n if (typeof input !== 'string') {\n input = -input;\n }\n\n this.utcOffset(input, keepLocalTime);\n\n return this;\n } else {\n return -this.utcOffset();\n }\n }\n\n function setOffsetToUTC(keepLocalTime) {\n return this.utcOffset(0, keepLocalTime);\n }\n\n function setOffsetToLocal(keepLocalTime) {\n if (this._isUTC) {\n this.utcOffset(0, keepLocalTime);\n this._isUTC = false;\n\n if (keepLocalTime) {\n this.subtract(getDateOffset(this), 'm');\n }\n }\n return this;\n }\n\n function setOffsetToParsedOffset() {\n if (this._tzm != null) {\n this.utcOffset(this._tzm, false, true);\n } else if (typeof this._i === 'string') {\n var tZone = offsetFromString(matchOffset, this._i);\n if (tZone != null) {\n this.utcOffset(tZone);\n } else {\n this.utcOffset(0, true);\n }\n }\n return this;\n }\n\n function hasAlignedHourOffset(input) {\n if (!this.isValid()) {\n return false;\n }\n input = input ? createLocal(input).utcOffset() : 0;\n\n return (this.utcOffset() - input) % 60 === 0;\n }\n\n function isDaylightSavingTime() {\n return (\n this.utcOffset() > this.clone().month(0).utcOffset() ||\n this.utcOffset() > this.clone().month(5).utcOffset()\n );\n }\n\n function isDaylightSavingTimeShifted() {\n if (!isUndefined(this._isDSTShifted)) {\n return this._isDSTShifted;\n }\n\n var c = {},\n other;\n\n copyConfig(c, this);\n c = prepareConfig(c);\n\n if (c._a) {\n other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n this._isDSTShifted =\n this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n } else {\n this._isDSTShifted = false;\n }\n\n return this._isDSTShifted;\n }\n\n function isLocal() {\n return this.isValid() ? !this._isUTC : false;\n }\n\n function isUtcOffset() {\n return this.isValid() ? this._isUTC : false;\n }\n\n function isUtc() {\n return this.isValid() ? this._isUTC && this._offset === 0 : false;\n }\n\n // ASP.NET json date format regex\n var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n // and further modified to allow for strings containing both week and day\n isoRegex =\n /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n function createDuration(input, key) {\n var duration = input,\n // matching against regexp is expensive, do it on demand\n match = null,\n sign,\n ret,\n diffRes;\n\n if (isDuration(input)) {\n duration = {\n ms: input._milliseconds,\n d: input._days,\n M: input._months,\n };\n } else if (isNumber(input) || !isNaN(+input)) {\n duration = {};\n if (key) {\n duration[key] = +input;\n } else {\n duration.milliseconds = +input;\n }\n } else if ((match = aspNetRegex.exec(input))) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: 0,\n d: toInt(match[DATE]) * sign,\n h: toInt(match[HOUR]) * sign,\n m: toInt(match[MINUTE]) * sign,\n s: toInt(match[SECOND]) * sign,\n ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match\n };\n } else if ((match = isoRegex.exec(input))) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: parseIso(match[2], sign),\n M: parseIso(match[3], sign),\n w: parseIso(match[4], sign),\n d: parseIso(match[5], sign),\n h: parseIso(match[6], sign),\n m: parseIso(match[7], sign),\n s: parseIso(match[8], sign),\n };\n } else if (duration == null) {\n // checks for null or undefined\n duration = {};\n } else if (\n typeof duration === 'object' &&\n ('from' in duration || 'to' in duration)\n ) {\n diffRes = momentsDifference(\n createLocal(duration.from),\n createLocal(duration.to)\n );\n\n duration = {};\n duration.ms = diffRes.milliseconds;\n duration.M = diffRes.months;\n }\n\n ret = new Duration(duration);\n\n if (isDuration(input) && hasOwnProp(input, '_locale')) {\n ret._locale = input._locale;\n }\n\n if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n ret._isValid = input._isValid;\n }\n\n return ret;\n }\n\n createDuration.fn = Duration.prototype;\n createDuration.invalid = createInvalid$1;\n\n function parseIso(inp, sign) {\n // We'd normally use ~~inp for this, but unfortunately it also\n // converts floats to ints.\n // inp may be undefined, so careful calling replace on it.\n var res = inp && parseFloat(inp.replace(',', '.'));\n // apply sign while we're at it\n return (isNaN(res) ? 0 : res) * sign;\n }\n\n function positiveMomentsDifference(base, other) {\n var res = {};\n\n res.months =\n other.month() - base.month() + (other.year() - base.year()) * 12;\n if (base.clone().add(res.months, 'M').isAfter(other)) {\n --res.months;\n }\n\n res.milliseconds = +other - +base.clone().add(res.months, 'M');\n\n return res;\n }\n\n function momentsDifference(base, other) {\n var res;\n if (!(base.isValid() && other.isValid())) {\n return { milliseconds: 0, months: 0 };\n }\n\n other = cloneWithOffset(other, base);\n if (base.isBefore(other)) {\n res = positiveMomentsDifference(base, other);\n } else {\n res = positiveMomentsDifference(other, base);\n res.milliseconds = -res.milliseconds;\n res.months = -res.months;\n }\n\n return res;\n }\n\n // TODO: remove 'name' arg after deprecation is removed\n function createAdder(direction, name) {\n return function (val, period) {\n var dur, tmp;\n //invert the arguments, but complain about it\n if (period !== null && !isNaN(+period)) {\n deprecateSimple(\n name,\n 'moment().' +\n name +\n '(period, number) is deprecated. Please use moment().' +\n name +\n '(number, period). ' +\n 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'\n );\n tmp = val;\n val = period;\n period = tmp;\n }\n\n dur = createDuration(val, period);\n addSubtract(this, dur, direction);\n return this;\n };\n }\n\n function addSubtract(mom, duration, isAdding, updateOffset) {\n var milliseconds = duration._milliseconds,\n days = absRound(duration._days),\n months = absRound(duration._months);\n\n if (!mom.isValid()) {\n // No op\n return;\n }\n\n updateOffset = updateOffset == null ? true : updateOffset;\n\n if (months) {\n setMonth(mom, get(mom, 'Month') + months * isAdding);\n }\n if (days) {\n set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n }\n if (milliseconds) {\n mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n }\n if (updateOffset) {\n hooks.updateOffset(mom, days || months);\n }\n }\n\n var add = createAdder(1, 'add'),\n subtract = createAdder(-1, 'subtract');\n\n function isString(input) {\n return typeof input === 'string' || input instanceof String;\n }\n\n // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n function isMomentInput(input) {\n return (\n isMoment(input) ||\n isDate(input) ||\n isString(input) ||\n isNumber(input) ||\n isNumberOrStringArray(input) ||\n isMomentInputObject(input) ||\n input === null ||\n input === undefined\n );\n }\n\n function isMomentInputObject(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = [\n 'years',\n 'year',\n 'y',\n 'months',\n 'month',\n 'M',\n 'days',\n 'day',\n 'd',\n 'dates',\n 'date',\n 'D',\n 'hours',\n 'hour',\n 'h',\n 'minutes',\n 'minute',\n 'm',\n 'seconds',\n 'second',\n 's',\n 'milliseconds',\n 'millisecond',\n 'ms',\n ],\n i,\n property,\n propertyLen = properties.length;\n\n for (i = 0; i < propertyLen; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n\n return objectTest && propertyTest;\n }\n\n function isNumberOrStringArray(input) {\n var arrayTest = isArray(input),\n dataTypeTest = false;\n if (arrayTest) {\n dataTypeTest =\n input.filter(function (item) {\n return !isNumber(item) && isString(input);\n }).length === 0;\n }\n return arrayTest && dataTypeTest;\n }\n\n function isCalendarSpec(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = [\n 'sameDay',\n 'nextDay',\n 'lastDay',\n 'nextWeek',\n 'lastWeek',\n 'sameElse',\n ],\n i,\n property;\n\n for (i = 0; i < properties.length; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n\n return objectTest && propertyTest;\n }\n\n function getCalendarFormat(myMoment, now) {\n var diff = myMoment.diff(now, 'days', true);\n return diff < -6\n ? 'sameElse'\n : diff < -1\n ? 'lastWeek'\n : diff < 0\n ? 'lastDay'\n : diff < 1\n ? 'sameDay'\n : diff < 2\n ? 'nextDay'\n : diff < 7\n ? 'nextWeek'\n : 'sameElse';\n }\n\n function calendar$1(time, formats) {\n // Support for single parameter, formats only overload to the calendar function\n if (arguments.length === 1) {\n if (!arguments[0]) {\n time = undefined;\n formats = undefined;\n } else if (isMomentInput(arguments[0])) {\n time = arguments[0];\n formats = undefined;\n } else if (isCalendarSpec(arguments[0])) {\n formats = arguments[0];\n time = undefined;\n }\n }\n // We want to compare the start of today, vs this.\n // Getting start-of-today depends on whether we're local/utc/offset or not.\n var now = time || createLocal(),\n sod = cloneWithOffset(now, this).startOf('day'),\n format = hooks.calendarFormat(this, sod) || 'sameElse',\n output =\n formats &&\n (isFunction(formats[format])\n ? formats[format].call(this, now)\n : formats[format]);\n\n return this.format(\n output || this.localeData().calendar(format, this, createLocal(now))\n );\n }\n\n function clone() {\n return new Moment(this);\n }\n\n function isAfter(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() > localInput.valueOf();\n } else {\n return localInput.valueOf() < this.clone().startOf(units).valueOf();\n }\n }\n\n function isBefore(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() < localInput.valueOf();\n } else {\n return this.clone().endOf(units).valueOf() < localInput.valueOf();\n }\n }\n\n function isBetween(from, to, units, inclusivity) {\n var localFrom = isMoment(from) ? from : createLocal(from),\n localTo = isMoment(to) ? to : createLocal(to);\n if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n return false;\n }\n inclusivity = inclusivity || '()';\n return (\n (inclusivity[0] === '('\n ? this.isAfter(localFrom, units)\n : !this.isBefore(localFrom, units)) &&\n (inclusivity[1] === ')'\n ? this.isBefore(localTo, units)\n : !this.isAfter(localTo, units))\n );\n }\n\n function isSame(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input),\n inputMs;\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() === localInput.valueOf();\n } else {\n inputMs = localInput.valueOf();\n return (\n this.clone().startOf(units).valueOf() <= inputMs &&\n inputMs <= this.clone().endOf(units).valueOf()\n );\n }\n }\n\n function isSameOrAfter(input, units) {\n return this.isSame(input, units) || this.isAfter(input, units);\n }\n\n function isSameOrBefore(input, units) {\n return this.isSame(input, units) || this.isBefore(input, units);\n }\n\n function diff(input, units, asFloat) {\n var that, zoneDelta, output;\n\n if (!this.isValid()) {\n return NaN;\n }\n\n that = cloneWithOffset(input, this);\n\n if (!that.isValid()) {\n return NaN;\n }\n\n zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n\n units = normalizeUnits(units);\n\n switch (units) {\n case 'year':\n output = monthDiff(this, that) / 12;\n break;\n case 'month':\n output = monthDiff(this, that);\n break;\n case 'quarter':\n output = monthDiff(this, that) / 3;\n break;\n case 'second':\n output = (this - that) / 1e3;\n break; // 1000\n case 'minute':\n output = (this - that) / 6e4;\n break; // 1000 * 60\n case 'hour':\n output = (this - that) / 36e5;\n break; // 1000 * 60 * 60\n case 'day':\n output = (this - that - zoneDelta) / 864e5;\n break; // 1000 * 60 * 60 * 24, negate dst\n case 'week':\n output = (this - that - zoneDelta) / 6048e5;\n break; // 1000 * 60 * 60 * 24 * 7, negate dst\n default:\n output = this - that;\n }\n\n return asFloat ? output : absFloor(output);\n }\n\n function monthDiff(a, b) {\n if (a.date() < b.date()) {\n // end-of-month calculations work correct when the start month has more\n // days than the end month.\n return -monthDiff(b, a);\n }\n // difference in months\n var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n // b is in (anchor - 1 month, anchor + 1 month)\n anchor = a.clone().add(wholeMonthDiff, 'months'),\n anchor2,\n adjust;\n\n if (b - anchor < 0) {\n anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor - anchor2);\n } else {\n anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor2 - anchor);\n }\n\n //check for negative zero, return zero if negative zero\n return -(wholeMonthDiff + adjust) || 0;\n }\n\n hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\n function toString() {\n return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n }\n\n function toISOString(keepOffset) {\n if (!this.isValid()) {\n return null;\n }\n var utc = keepOffset !== true,\n m = utc ? this.clone().utc() : this;\n if (m.year() < 0 || m.year() > 9999) {\n return formatMoment(\n m,\n utc\n ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'\n : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'\n );\n }\n if (isFunction(Date.prototype.toISOString)) {\n // native implementation is ~50x faster, use it when we can\n if (utc) {\n return this.toDate().toISOString();\n } else {\n return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)\n .toISOString()\n .replace('Z', formatMoment(m, 'Z'));\n }\n }\n return formatMoment(\n m,\n utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'\n );\n }\n\n /**\n * Return a human readable representation of a moment that can\n * also be evaluated to get a new moment which is the same\n *\n * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n */\n function inspect() {\n if (!this.isValid()) {\n return 'moment.invalid(/* ' + this._i + ' */)';\n }\n var func = 'moment',\n zone = '',\n prefix,\n year,\n datetime,\n suffix;\n if (!this.isLocal()) {\n func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n zone = 'Z';\n }\n prefix = '[' + func + '(\"]';\n year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n datetime = '-MM-DD[T]HH:mm:ss.SSS';\n suffix = zone + '[\")]';\n\n return this.format(prefix + year + datetime + suffix);\n }\n\n function format(inputString) {\n if (!inputString) {\n inputString = this.isUtc()\n ? hooks.defaultFormatUtc\n : hooks.defaultFormat;\n }\n var output = formatMoment(this, inputString);\n return this.localeData().postformat(output);\n }\n\n function from(time, withoutSuffix) {\n if (\n this.isValid() &&\n ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n ) {\n return createDuration({ to: this, from: time })\n .locale(this.locale())\n .humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n\n function fromNow(withoutSuffix) {\n return this.from(createLocal(), withoutSuffix);\n }\n\n function to(time, withoutSuffix) {\n if (\n this.isValid() &&\n ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n ) {\n return createDuration({ from: this, to: time })\n .locale(this.locale())\n .humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n\n function toNow(withoutSuffix) {\n return this.to(createLocal(), withoutSuffix);\n }\n\n // If passed a locale key, it will set the locale for this\n // instance. Otherwise, it will return the locale configuration\n // variables for this instance.\n function locale(key) {\n var newLocaleData;\n\n if (key === undefined) {\n return this._locale._abbr;\n } else {\n newLocaleData = getLocale(key);\n if (newLocaleData != null) {\n this._locale = newLocaleData;\n }\n return this;\n }\n }\n\n var lang = deprecate(\n 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',\n function (key) {\n if (key === undefined) {\n return this.localeData();\n } else {\n return this.locale(key);\n }\n }\n );\n\n function localeData() {\n return this._locale;\n }\n\n var MS_PER_SECOND = 1000,\n MS_PER_MINUTE = 60 * MS_PER_SECOND,\n MS_PER_HOUR = 60 * MS_PER_MINUTE,\n MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n // actual modulo - handles negative numbers (for dates before 1970):\n function mod$1(dividend, divisor) {\n return ((dividend % divisor) + divisor) % divisor;\n }\n\n function localStartOfDate(y, m, d) {\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return new Date(y, m, d).valueOf();\n }\n }\n\n function utcStartOfDate(y, m, d) {\n // Date.UTC remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return Date.UTC(y, m, d);\n }\n }\n\n function startOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year(), 0, 1);\n break;\n case 'quarter':\n time = startOfDate(\n this.year(),\n this.month() - (this.month() % 3),\n 1\n );\n break;\n case 'month':\n time = startOfDate(this.year(), this.month(), 1);\n break;\n case 'week':\n time = startOfDate(\n this.year(),\n this.month(),\n this.date() - this.weekday()\n );\n break;\n case 'isoWeek':\n time = startOfDate(\n this.year(),\n this.month(),\n this.date() - (this.isoWeekday() - 1)\n );\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date());\n break;\n case 'hour':\n time = this._d.valueOf();\n time -= mod$1(\n time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n MS_PER_HOUR\n );\n break;\n case 'minute':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_MINUTE);\n break;\n case 'second':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_SECOND);\n break;\n }\n\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n\n function endOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year() + 1, 0, 1) - 1;\n break;\n case 'quarter':\n time =\n startOfDate(\n this.year(),\n this.month() - (this.month() % 3) + 3,\n 1\n ) - 1;\n break;\n case 'month':\n time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n break;\n case 'week':\n time =\n startOfDate(\n this.year(),\n this.month(),\n this.date() - this.weekday() + 7\n ) - 1;\n break;\n case 'isoWeek':\n time =\n startOfDate(\n this.year(),\n this.month(),\n this.date() - (this.isoWeekday() - 1) + 7\n ) - 1;\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n break;\n case 'hour':\n time = this._d.valueOf();\n time +=\n MS_PER_HOUR -\n mod$1(\n time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n MS_PER_HOUR\n ) -\n 1;\n break;\n case 'minute':\n time = this._d.valueOf();\n time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n break;\n case 'second':\n time = this._d.valueOf();\n time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n break;\n }\n\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n\n function valueOf() {\n return this._d.valueOf() - (this._offset || 0) * 60000;\n }\n\n function unix() {\n return Math.floor(this.valueOf() / 1000);\n }\n\n function toDate() {\n return new Date(this.valueOf());\n }\n\n function toArray() {\n var m = this;\n return [\n m.year(),\n m.month(),\n m.date(),\n m.hour(),\n m.minute(),\n m.second(),\n m.millisecond(),\n ];\n }\n\n function toObject() {\n var m = this;\n return {\n years: m.year(),\n months: m.month(),\n date: m.date(),\n hours: m.hours(),\n minutes: m.minutes(),\n seconds: m.seconds(),\n milliseconds: m.milliseconds(),\n };\n }\n\n function toJSON() {\n // new Date(NaN).toJSON() === null\n return this.isValid() ? this.toISOString() : null;\n }\n\n function isValid$2() {\n return isValid(this);\n }\n\n function parsingFlags() {\n return extend({}, getParsingFlags(this));\n }\n\n function invalidAt() {\n return getParsingFlags(this).overflow;\n }\n\n function creationData() {\n return {\n input: this._i,\n format: this._f,\n locale: this._locale,\n isUTC: this._isUTC,\n strict: this._strict,\n };\n }\n\n addFormatToken('N', 0, 0, 'eraAbbr');\n addFormatToken('NN', 0, 0, 'eraAbbr');\n addFormatToken('NNN', 0, 0, 'eraAbbr');\n addFormatToken('NNNN', 0, 0, 'eraName');\n addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n\n addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n addFormatToken('y', ['yy', 2], 0, 'eraYear');\n addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n\n addRegexToken('N', matchEraAbbr);\n addRegexToken('NN', matchEraAbbr);\n addRegexToken('NNN', matchEraAbbr);\n addRegexToken('NNNN', matchEraName);\n addRegexToken('NNNNN', matchEraNarrow);\n\n addParseToken(\n ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],\n function (input, array, config, token) {\n var era = config._locale.erasParse(input, token, config._strict);\n if (era) {\n getParsingFlags(config).era = era;\n } else {\n getParsingFlags(config).invalidEra = input;\n }\n }\n );\n\n addRegexToken('y', matchUnsigned);\n addRegexToken('yy', matchUnsigned);\n addRegexToken('yyy', matchUnsigned);\n addRegexToken('yyyy', matchUnsigned);\n addRegexToken('yo', matchEraYearOrdinal);\n\n addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n addParseToken(['yo'], function (input, array, config, token) {\n var match;\n if (config._locale._eraYearOrdinalRegex) {\n match = input.match(config._locale._eraYearOrdinalRegex);\n }\n\n if (config._locale.eraYearOrdinalParse) {\n array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n } else {\n array[YEAR] = parseInt(input, 10);\n }\n });\n\n function localeEras(m, format) {\n var i,\n l,\n date,\n eras = this._eras || getLocale('en')._eras;\n for (i = 0, l = eras.length; i < l; ++i) {\n switch (typeof eras[i].since) {\n case 'string':\n // truncate time\n date = hooks(eras[i].since).startOf('day');\n eras[i].since = date.valueOf();\n break;\n }\n\n switch (typeof eras[i].until) {\n case 'undefined':\n eras[i].until = +Infinity;\n break;\n case 'string':\n // truncate time\n date = hooks(eras[i].until).startOf('day').valueOf();\n eras[i].until = date.valueOf();\n break;\n }\n }\n return eras;\n }\n\n function localeErasParse(eraName, format, strict) {\n var i,\n l,\n eras = this.eras(),\n name,\n abbr,\n narrow;\n eraName = eraName.toUpperCase();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n name = eras[i].name.toUpperCase();\n abbr = eras[i].abbr.toUpperCase();\n narrow = eras[i].narrow.toUpperCase();\n\n if (strict) {\n switch (format) {\n case 'N':\n case 'NN':\n case 'NNN':\n if (abbr === eraName) {\n return eras[i];\n }\n break;\n\n case 'NNNN':\n if (name === eraName) {\n return eras[i];\n }\n break;\n\n case 'NNNNN':\n if (narrow === eraName) {\n return eras[i];\n }\n break;\n }\n } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n return eras[i];\n }\n }\n }\n\n function localeErasConvertYear(era, year) {\n var dir = era.since <= era.until ? +1 : -1;\n if (year === undefined) {\n return hooks(era.since).year();\n } else {\n return hooks(era.since).year() + (year - era.offset) * dir;\n }\n }\n\n function getEraName() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].name;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].name;\n }\n }\n\n return '';\n }\n\n function getEraNarrow() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].narrow;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].narrow;\n }\n }\n\n return '';\n }\n\n function getEraAbbr() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].abbr;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].abbr;\n }\n }\n\n return '';\n }\n\n function getEraYear() {\n var i,\n l,\n dir,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (\n (eras[i].since <= val && val <= eras[i].until) ||\n (eras[i].until <= val && val <= eras[i].since)\n ) {\n return (\n (this.year() - hooks(eras[i].since).year()) * dir +\n eras[i].offset\n );\n }\n }\n\n return this.year();\n }\n\n function erasNameRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNameRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNameRegex : this._erasRegex;\n }\n\n function erasAbbrRegex(isStrict) {\n if (!hasOwnProp(this, '_erasAbbrRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasAbbrRegex : this._erasRegex;\n }\n\n function erasNarrowRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNarrowRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNarrowRegex : this._erasRegex;\n }\n\n function matchEraAbbr(isStrict, locale) {\n return locale.erasAbbrRegex(isStrict);\n }\n\n function matchEraName(isStrict, locale) {\n return locale.erasNameRegex(isStrict);\n }\n\n function matchEraNarrow(isStrict, locale) {\n return locale.erasNarrowRegex(isStrict);\n }\n\n function matchEraYearOrdinal(isStrict, locale) {\n return locale._eraYearOrdinalRegex || matchUnsigned;\n }\n\n function computeErasParse() {\n var abbrPieces = [],\n namePieces = [],\n narrowPieces = [],\n mixedPieces = [],\n i,\n l,\n erasName,\n erasAbbr,\n erasNarrow,\n eras = this.eras();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n erasName = regexEscape(eras[i].name);\n erasAbbr = regexEscape(eras[i].abbr);\n erasNarrow = regexEscape(eras[i].narrow);\n\n namePieces.push(erasName);\n abbrPieces.push(erasAbbr);\n narrowPieces.push(erasNarrow);\n mixedPieces.push(erasName);\n mixedPieces.push(erasAbbr);\n mixedPieces.push(erasNarrow);\n }\n\n this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n this._erasNarrowRegex = new RegExp(\n '^(' + narrowPieces.join('|') + ')',\n 'i'\n );\n }\n\n // FORMATTING\n\n addFormatToken(0, ['gg', 2], 0, function () {\n return this.weekYear() % 100;\n });\n\n addFormatToken(0, ['GG', 2], 0, function () {\n return this.isoWeekYear() % 100;\n });\n\n function addWeekYearFormatToken(token, getter) {\n addFormatToken(0, [token, token.length], 0, getter);\n }\n\n addWeekYearFormatToken('gggg', 'weekYear');\n addWeekYearFormatToken('ggggg', 'weekYear');\n addWeekYearFormatToken('GGGG', 'isoWeekYear');\n addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n // ALIASES\n\n // PARSING\n\n addRegexToken('G', matchSigned);\n addRegexToken('g', matchSigned);\n addRegexToken('GG', match1to2, match2);\n addRegexToken('gg', match1to2, match2);\n addRegexToken('GGGG', match1to4, match4);\n addRegexToken('gggg', match1to4, match4);\n addRegexToken('GGGGG', match1to6, match6);\n addRegexToken('ggggg', match1to6, match6);\n\n addWeekParseToken(\n ['gggg', 'ggggg', 'GGGG', 'GGGGG'],\n function (input, week, config, token) {\n week[token.substr(0, 2)] = toInt(input);\n }\n );\n\n addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n week[token] = hooks.parseTwoDigitYear(input);\n });\n\n // MOMENTS\n\n function getSetWeekYear(input) {\n return getSetWeekYearHelper.call(\n this,\n input,\n this.week(),\n this.weekday() + this.localeData()._week.dow,\n this.localeData()._week.dow,\n this.localeData()._week.doy\n );\n }\n\n function getSetISOWeekYear(input) {\n return getSetWeekYearHelper.call(\n this,\n input,\n this.isoWeek(),\n this.isoWeekday(),\n 1,\n 4\n );\n }\n\n function getISOWeeksInYear() {\n return weeksInYear(this.year(), 1, 4);\n }\n\n function getISOWeeksInISOWeekYear() {\n return weeksInYear(this.isoWeekYear(), 1, 4);\n }\n\n function getWeeksInYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n }\n\n function getWeeksInWeekYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n }\n\n function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n var weeksTarget;\n if (input == null) {\n return weekOfYear(this, dow, doy).year;\n } else {\n weeksTarget = weeksInYear(input, dow, doy);\n if (week > weeksTarget) {\n week = weeksTarget;\n }\n return setWeekAll.call(this, input, week, weekday, dow, doy);\n }\n }\n\n function setWeekAll(weekYear, week, weekday, dow, doy) {\n var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n\n this.year(date.getUTCFullYear());\n this.month(date.getUTCMonth());\n this.date(date.getUTCDate());\n return this;\n }\n\n // FORMATTING\n\n addFormatToken('Q', 0, 'Qo', 'quarter');\n\n // PARSING\n\n addRegexToken('Q', match1);\n addParseToken('Q', function (input, array) {\n array[MONTH] = (toInt(input) - 1) * 3;\n });\n\n // MOMENTS\n\n function getSetQuarter(input) {\n return input == null\n ? Math.ceil((this.month() + 1) / 3)\n : this.month((input - 1) * 3 + (this.month() % 3));\n }\n\n // FORMATTING\n\n addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n // PARSING\n\n addRegexToken('D', match1to2, match1to2NoLeadingZero);\n addRegexToken('DD', match1to2, match2);\n addRegexToken('Do', function (isStrict, locale) {\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n return isStrict\n ? locale._dayOfMonthOrdinalParse || locale._ordinalParse\n : locale._dayOfMonthOrdinalParseLenient;\n });\n\n addParseToken(['D', 'DD'], DATE);\n addParseToken('Do', function (input, array) {\n array[DATE] = toInt(input.match(match1to2)[0]);\n });\n\n // MOMENTS\n\n var getSetDayOfMonth = makeGetSet('Date', true);\n\n // FORMATTING\n\n addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n // PARSING\n\n addRegexToken('DDD', match1to3);\n addRegexToken('DDDD', match3);\n addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n config._dayOfYear = toInt(input);\n });\n\n // HELPERS\n\n // MOMENTS\n\n function getSetDayOfYear(input) {\n var dayOfYear =\n Math.round(\n (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5\n ) + 1;\n return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('m', ['mm', 2], 0, 'minute');\n\n // PARSING\n\n addRegexToken('m', match1to2, match1to2HasZero);\n addRegexToken('mm', match1to2, match2);\n addParseToken(['m', 'mm'], MINUTE);\n\n // MOMENTS\n\n var getSetMinute = makeGetSet('Minutes', false);\n\n // FORMATTING\n\n addFormatToken('s', ['ss', 2], 0, 'second');\n\n // PARSING\n\n addRegexToken('s', match1to2, match1to2HasZero);\n addRegexToken('ss', match1to2, match2);\n addParseToken(['s', 'ss'], SECOND);\n\n // MOMENTS\n\n var getSetSecond = makeGetSet('Seconds', false);\n\n // FORMATTING\n\n addFormatToken('S', 0, 0, function () {\n return ~~(this.millisecond() / 100);\n });\n\n addFormatToken(0, ['SS', 2], 0, function () {\n return ~~(this.millisecond() / 10);\n });\n\n addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n addFormatToken(0, ['SSSS', 4], 0, function () {\n return this.millisecond() * 10;\n });\n addFormatToken(0, ['SSSSS', 5], 0, function () {\n return this.millisecond() * 100;\n });\n addFormatToken(0, ['SSSSSS', 6], 0, function () {\n return this.millisecond() * 1000;\n });\n addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n return this.millisecond() * 10000;\n });\n addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n return this.millisecond() * 100000;\n });\n addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n return this.millisecond() * 1000000;\n });\n\n // PARSING\n\n addRegexToken('S', match1to3, match1);\n addRegexToken('SS', match1to3, match2);\n addRegexToken('SSS', match1to3, match3);\n\n var token, getSetMillisecond;\n for (token = 'SSSS'; token.length <= 9; token += 'S') {\n addRegexToken(token, matchUnsigned);\n }\n\n function parseMs(input, array) {\n array[MILLISECOND] = toInt(('0.' + input) * 1000);\n }\n\n for (token = 'S'; token.length <= 9; token += 'S') {\n addParseToken(token, parseMs);\n }\n\n getSetMillisecond = makeGetSet('Milliseconds', false);\n\n // FORMATTING\n\n addFormatToken('z', 0, 0, 'zoneAbbr');\n addFormatToken('zz', 0, 0, 'zoneName');\n\n // MOMENTS\n\n function getZoneAbbr() {\n return this._isUTC ? 'UTC' : '';\n }\n\n function getZoneName() {\n return this._isUTC ? 'Coordinated Universal Time' : '';\n }\n\n var proto = Moment.prototype;\n\n proto.add = add;\n proto.calendar = calendar$1;\n proto.clone = clone;\n proto.diff = diff;\n proto.endOf = endOf;\n proto.format = format;\n proto.from = from;\n proto.fromNow = fromNow;\n proto.to = to;\n proto.toNow = toNow;\n proto.get = stringGet;\n proto.invalidAt = invalidAt;\n proto.isAfter = isAfter;\n proto.isBefore = isBefore;\n proto.isBetween = isBetween;\n proto.isSame = isSame;\n proto.isSameOrAfter = isSameOrAfter;\n proto.isSameOrBefore = isSameOrBefore;\n proto.isValid = isValid$2;\n proto.lang = lang;\n proto.locale = locale;\n proto.localeData = localeData;\n proto.max = prototypeMax;\n proto.min = prototypeMin;\n proto.parsingFlags = parsingFlags;\n proto.set = stringSet;\n proto.startOf = startOf;\n proto.subtract = subtract;\n proto.toArray = toArray;\n proto.toObject = toObject;\n proto.toDate = toDate;\n proto.toISOString = toISOString;\n proto.inspect = inspect;\n if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n return 'Moment<' + this.format() + '>';\n };\n }\n proto.toJSON = toJSON;\n proto.toString = toString;\n proto.unix = unix;\n proto.valueOf = valueOf;\n proto.creationData = creationData;\n proto.eraName = getEraName;\n proto.eraNarrow = getEraNarrow;\n proto.eraAbbr = getEraAbbr;\n proto.eraYear = getEraYear;\n proto.year = getSetYear;\n proto.isLeapYear = getIsLeapYear;\n proto.weekYear = getSetWeekYear;\n proto.isoWeekYear = getSetISOWeekYear;\n proto.quarter = proto.quarters = getSetQuarter;\n proto.month = getSetMonth;\n proto.daysInMonth = getDaysInMonth;\n proto.week = proto.weeks = getSetWeek;\n proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n proto.weeksInYear = getWeeksInYear;\n proto.weeksInWeekYear = getWeeksInWeekYear;\n proto.isoWeeksInYear = getISOWeeksInYear;\n proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n proto.date = getSetDayOfMonth;\n proto.day = proto.days = getSetDayOfWeek;\n proto.weekday = getSetLocaleDayOfWeek;\n proto.isoWeekday = getSetISODayOfWeek;\n proto.dayOfYear = getSetDayOfYear;\n proto.hour = proto.hours = getSetHour;\n proto.minute = proto.minutes = getSetMinute;\n proto.second = proto.seconds = getSetSecond;\n proto.millisecond = proto.milliseconds = getSetMillisecond;\n proto.utcOffset = getSetOffset;\n proto.utc = setOffsetToUTC;\n proto.local = setOffsetToLocal;\n proto.parseZone = setOffsetToParsedOffset;\n proto.hasAlignedHourOffset = hasAlignedHourOffset;\n proto.isDST = isDaylightSavingTime;\n proto.isLocal = isLocal;\n proto.isUtcOffset = isUtcOffset;\n proto.isUtc = isUtc;\n proto.isUTC = isUtc;\n proto.zoneAbbr = getZoneAbbr;\n proto.zoneName = getZoneName;\n proto.dates = deprecate(\n 'dates accessor is deprecated. Use date instead.',\n getSetDayOfMonth\n );\n proto.months = deprecate(\n 'months accessor is deprecated. Use month instead',\n getSetMonth\n );\n proto.years = deprecate(\n 'years accessor is deprecated. Use year instead',\n getSetYear\n );\n proto.zone = deprecate(\n 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',\n getSetZone\n );\n proto.isDSTShifted = deprecate(\n 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',\n isDaylightSavingTimeShifted\n );\n\n function createUnix(input) {\n return createLocal(input * 1000);\n }\n\n function createInZone() {\n return createLocal.apply(null, arguments).parseZone();\n }\n\n function preParsePostFormat(string) {\n return string;\n }\n\n var proto$1 = Locale.prototype;\n\n proto$1.calendar = calendar;\n proto$1.longDateFormat = longDateFormat;\n proto$1.invalidDate = invalidDate;\n proto$1.ordinal = ordinal;\n proto$1.preparse = preParsePostFormat;\n proto$1.postformat = preParsePostFormat;\n proto$1.relativeTime = relativeTime;\n proto$1.pastFuture = pastFuture;\n proto$1.set = set;\n proto$1.eras = localeEras;\n proto$1.erasParse = localeErasParse;\n proto$1.erasConvertYear = localeErasConvertYear;\n proto$1.erasAbbrRegex = erasAbbrRegex;\n proto$1.erasNameRegex = erasNameRegex;\n proto$1.erasNarrowRegex = erasNarrowRegex;\n\n proto$1.months = localeMonths;\n proto$1.monthsShort = localeMonthsShort;\n proto$1.monthsParse = localeMonthsParse;\n proto$1.monthsRegex = monthsRegex;\n proto$1.monthsShortRegex = monthsShortRegex;\n proto$1.week = localeWeek;\n proto$1.firstDayOfYear = localeFirstDayOfYear;\n proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n\n proto$1.weekdays = localeWeekdays;\n proto$1.weekdaysMin = localeWeekdaysMin;\n proto$1.weekdaysShort = localeWeekdaysShort;\n proto$1.weekdaysParse = localeWeekdaysParse;\n\n proto$1.weekdaysRegex = weekdaysRegex;\n proto$1.weekdaysShortRegex = weekdaysShortRegex;\n proto$1.weekdaysMinRegex = weekdaysMinRegex;\n\n proto$1.isPM = localeIsPM;\n proto$1.meridiem = localeMeridiem;\n\n function get$1(format, index, field, setter) {\n var locale = getLocale(),\n utc = createUTC().set(setter, index);\n return locale[field](utc, format);\n }\n\n function listMonthsImpl(format, index, field) {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n\n if (index != null) {\n return get$1(format, index, field, 'month');\n }\n\n var i,\n out = [];\n for (i = 0; i < 12; i++) {\n out[i] = get$1(format, i, field, 'month');\n }\n return out;\n }\n\n // ()\n // (5)\n // (fmt, 5)\n // (fmt)\n // (true)\n // (true, 5)\n // (true, fmt, 5)\n // (true, fmt)\n function listWeekdaysImpl(localeSorted, format, index, field) {\n if (typeof localeSorted === 'boolean') {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n } else {\n format = localeSorted;\n index = format;\n localeSorted = false;\n\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n }\n\n var locale = getLocale(),\n shift = localeSorted ? locale._week.dow : 0,\n i,\n out = [];\n\n if (index != null) {\n return get$1(format, (index + shift) % 7, field, 'day');\n }\n\n for (i = 0; i < 7; i++) {\n out[i] = get$1(format, (i + shift) % 7, field, 'day');\n }\n return out;\n }\n\n function listMonths(format, index) {\n return listMonthsImpl(format, index, 'months');\n }\n\n function listMonthsShort(format, index) {\n return listMonthsImpl(format, index, 'monthsShort');\n }\n\n function listWeekdays(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n }\n\n function listWeekdaysShort(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n }\n\n function listWeekdaysMin(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n }\n\n getSetGlobalLocale('en', {\n eras: [\n {\n since: '0001-01-01',\n until: +Infinity,\n offset: 1,\n name: 'Anno Domini',\n narrow: 'AD',\n abbr: 'AD',\n },\n {\n since: '0000-12-31',\n until: -Infinity,\n offset: 1,\n name: 'Before Christ',\n narrow: 'BC',\n abbr: 'BC',\n },\n ],\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n toInt((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n });\n\n // Side effect imports\n\n hooks.lang = deprecate(\n 'moment.lang is deprecated. Use moment.locale instead.',\n getSetGlobalLocale\n );\n hooks.langData = deprecate(\n 'moment.langData is deprecated. Use moment.localeData instead.',\n getLocale\n );\n\n var mathAbs = Math.abs;\n\n function abs() {\n var data = this._data;\n\n this._milliseconds = mathAbs(this._milliseconds);\n this._days = mathAbs(this._days);\n this._months = mathAbs(this._months);\n\n data.milliseconds = mathAbs(data.milliseconds);\n data.seconds = mathAbs(data.seconds);\n data.minutes = mathAbs(data.minutes);\n data.hours = mathAbs(data.hours);\n data.months = mathAbs(data.months);\n data.years = mathAbs(data.years);\n\n return this;\n }\n\n function addSubtract$1(duration, input, value, direction) {\n var other = createDuration(input, value);\n\n duration._milliseconds += direction * other._milliseconds;\n duration._days += direction * other._days;\n duration._months += direction * other._months;\n\n return duration._bubble();\n }\n\n // supports only 2.0-style add(1, 's') or add(duration)\n function add$1(input, value) {\n return addSubtract$1(this, input, value, 1);\n }\n\n // supports only 2.0-style subtract(1, 's') or subtract(duration)\n function subtract$1(input, value) {\n return addSubtract$1(this, input, value, -1);\n }\n\n function absCeil(number) {\n if (number < 0) {\n return Math.floor(number);\n } else {\n return Math.ceil(number);\n }\n }\n\n function bubble() {\n var milliseconds = this._milliseconds,\n days = this._days,\n months = this._months,\n data = this._data,\n seconds,\n minutes,\n hours,\n years,\n monthsFromDays;\n\n // if we have a mix of positive and negative values, bubble down first\n // check: https://github.com/moment/moment/issues/2166\n if (\n !(\n (milliseconds >= 0 && days >= 0 && months >= 0) ||\n (milliseconds <= 0 && days <= 0 && months <= 0)\n )\n ) {\n milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n days = 0;\n months = 0;\n }\n\n // The following code bubbles up values, see the tests for\n // examples of what that means.\n data.milliseconds = milliseconds % 1000;\n\n seconds = absFloor(milliseconds / 1000);\n data.seconds = seconds % 60;\n\n minutes = absFloor(seconds / 60);\n data.minutes = minutes % 60;\n\n hours = absFloor(minutes / 60);\n data.hours = hours % 24;\n\n days += absFloor(hours / 24);\n\n // convert days to months\n monthsFromDays = absFloor(daysToMonths(days));\n months += monthsFromDays;\n days -= absCeil(monthsToDays(monthsFromDays));\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n data.days = days;\n data.months = months;\n data.years = years;\n\n return this;\n }\n\n function daysToMonths(days) {\n // 400 years have 146097 days (taking into account leap year rules)\n // 400 years have 12 months === 4800\n return (days * 4800) / 146097;\n }\n\n function monthsToDays(months) {\n // the reverse of daysToMonths\n return (months * 146097) / 4800;\n }\n\n function as(units) {\n if (!this.isValid()) {\n return NaN;\n }\n var days,\n months,\n milliseconds = this._milliseconds;\n\n units = normalizeUnits(units);\n\n if (units === 'month' || units === 'quarter' || units === 'year') {\n days = this._days + milliseconds / 864e5;\n months = this._months + daysToMonths(days);\n switch (units) {\n case 'month':\n return months;\n case 'quarter':\n return months / 3;\n case 'year':\n return months / 12;\n }\n } else {\n // handle milliseconds separately because of floating point math errors (issue #1867)\n days = this._days + Math.round(monthsToDays(this._months));\n switch (units) {\n case 'week':\n return days / 7 + milliseconds / 6048e5;\n case 'day':\n return days + milliseconds / 864e5;\n case 'hour':\n return days * 24 + milliseconds / 36e5;\n case 'minute':\n return days * 1440 + milliseconds / 6e4;\n case 'second':\n return days * 86400 + milliseconds / 1000;\n // Math.floor prevents floating point math errors here\n case 'millisecond':\n return Math.floor(days * 864e5) + milliseconds;\n default:\n throw new Error('Unknown unit ' + units);\n }\n }\n }\n\n function makeAs(alias) {\n return function () {\n return this.as(alias);\n };\n }\n\n var asMilliseconds = makeAs('ms'),\n asSeconds = makeAs('s'),\n asMinutes = makeAs('m'),\n asHours = makeAs('h'),\n asDays = makeAs('d'),\n asWeeks = makeAs('w'),\n asMonths = makeAs('M'),\n asQuarters = makeAs('Q'),\n asYears = makeAs('y'),\n valueOf$1 = asMilliseconds;\n\n function clone$1() {\n return createDuration(this);\n }\n\n function get$2(units) {\n units = normalizeUnits(units);\n return this.isValid() ? this[units + 's']() : NaN;\n }\n\n function makeGetter(name) {\n return function () {\n return this.isValid() ? this._data[name] : NaN;\n };\n }\n\n var milliseconds = makeGetter('milliseconds'),\n seconds = makeGetter('seconds'),\n minutes = makeGetter('minutes'),\n hours = makeGetter('hours'),\n days = makeGetter('days'),\n months = makeGetter('months'),\n years = makeGetter('years');\n\n function weeks() {\n return absFloor(this.days() / 7);\n }\n\n var round = Math.round,\n thresholds = {\n ss: 44, // a few seconds to seconds\n s: 45, // seconds to minute\n m: 45, // minutes to hour\n h: 22, // hours to day\n d: 26, // days to month/week\n w: null, // weeks to month\n M: 11, // months to year\n };\n\n // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n }\n\n function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n var duration = createDuration(posNegDuration).abs(),\n seconds = round(duration.as('s')),\n minutes = round(duration.as('m')),\n hours = round(duration.as('h')),\n days = round(duration.as('d')),\n months = round(duration.as('M')),\n weeks = round(duration.as('w')),\n years = round(duration.as('y')),\n a =\n (seconds <= thresholds.ss && ['s', seconds]) ||\n (seconds < thresholds.s && ['ss', seconds]) ||\n (minutes <= 1 && ['m']) ||\n (minutes < thresholds.m && ['mm', minutes]) ||\n (hours <= 1 && ['h']) ||\n (hours < thresholds.h && ['hh', hours]) ||\n (days <= 1 && ['d']) ||\n (days < thresholds.d && ['dd', days]);\n\n if (thresholds.w != null) {\n a =\n a ||\n (weeks <= 1 && ['w']) ||\n (weeks < thresholds.w && ['ww', weeks]);\n }\n a = a ||\n (months <= 1 && ['M']) ||\n (months < thresholds.M && ['MM', months]) ||\n (years <= 1 && ['y']) || ['yy', years];\n\n a[2] = withoutSuffix;\n a[3] = +posNegDuration > 0;\n a[4] = locale;\n return substituteTimeAgo.apply(null, a);\n }\n\n // This function allows you to set the rounding function for relative time strings\n function getSetRelativeTimeRounding(roundingFunction) {\n if (roundingFunction === undefined) {\n return round;\n }\n if (typeof roundingFunction === 'function') {\n round = roundingFunction;\n return true;\n }\n return false;\n }\n\n // This function allows you to set a threshold for relative time strings\n function getSetRelativeTimeThreshold(threshold, limit) {\n if (thresholds[threshold] === undefined) {\n return false;\n }\n if (limit === undefined) {\n return thresholds[threshold];\n }\n thresholds[threshold] = limit;\n if (threshold === 's') {\n thresholds.ss = limit - 1;\n }\n return true;\n }\n\n function humanize(argWithSuffix, argThresholds) {\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var withSuffix = false,\n th = thresholds,\n locale,\n output;\n\n if (typeof argWithSuffix === 'object') {\n argThresholds = argWithSuffix;\n argWithSuffix = false;\n }\n if (typeof argWithSuffix === 'boolean') {\n withSuffix = argWithSuffix;\n }\n if (typeof argThresholds === 'object') {\n th = Object.assign({}, thresholds, argThresholds);\n if (argThresholds.s != null && argThresholds.ss == null) {\n th.ss = argThresholds.s - 1;\n }\n }\n\n locale = this.localeData();\n output = relativeTime$1(this, !withSuffix, th, locale);\n\n if (withSuffix) {\n output = locale.pastFuture(+this, output);\n }\n\n return locale.postformat(output);\n }\n\n var abs$1 = Math.abs;\n\n function sign(x) {\n return (x > 0) - (x < 0) || +x;\n }\n\n function toISOString$1() {\n // for ISO strings we do not use the normal bubbling rules:\n // * milliseconds bubble up until they become hours\n // * days do not bubble at all\n // * months bubble up until they become years\n // This is because there is no context-free conversion between hours and days\n // (think of clock changes)\n // and also not between days and months (28-31 days per month)\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var seconds = abs$1(this._milliseconds) / 1000,\n days = abs$1(this._days),\n months = abs$1(this._months),\n minutes,\n hours,\n years,\n s,\n total = this.asSeconds(),\n totalSign,\n ymSign,\n daysSign,\n hmsSign;\n\n if (!total) {\n // this is the same as C#'s (Noda) and python (isodate)...\n // but not other JS (goog.date)\n return 'P0D';\n }\n\n // 3600 seconds -> 60 minutes -> 1 hour\n minutes = absFloor(seconds / 60);\n hours = absFloor(minutes / 60);\n seconds %= 60;\n minutes %= 60;\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n\n totalSign = total < 0 ? '-' : '';\n ymSign = sign(this._months) !== sign(total) ? '-' : '';\n daysSign = sign(this._days) !== sign(total) ? '-' : '';\n hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n\n return (\n totalSign +\n 'P' +\n (years ? ymSign + years + 'Y' : '') +\n (months ? ymSign + months + 'M' : '') +\n (days ? daysSign + days + 'D' : '') +\n (hours || minutes || seconds ? 'T' : '') +\n (hours ? hmsSign + hours + 'H' : '') +\n (minutes ? hmsSign + minutes + 'M' : '') +\n (seconds ? hmsSign + s + 'S' : '')\n );\n }\n\n var proto$2 = Duration.prototype;\n\n proto$2.isValid = isValid$1;\n proto$2.abs = abs;\n proto$2.add = add$1;\n proto$2.subtract = subtract$1;\n proto$2.as = as;\n proto$2.asMilliseconds = asMilliseconds;\n proto$2.asSeconds = asSeconds;\n proto$2.asMinutes = asMinutes;\n proto$2.asHours = asHours;\n proto$2.asDays = asDays;\n proto$2.asWeeks = asWeeks;\n proto$2.asMonths = asMonths;\n proto$2.asQuarters = asQuarters;\n proto$2.asYears = asYears;\n proto$2.valueOf = valueOf$1;\n proto$2._bubble = bubble;\n proto$2.clone = clone$1;\n proto$2.get = get$2;\n proto$2.milliseconds = milliseconds;\n proto$2.seconds = seconds;\n proto$2.minutes = minutes;\n proto$2.hours = hours;\n proto$2.days = days;\n proto$2.weeks = weeks;\n proto$2.months = months;\n proto$2.years = years;\n proto$2.humanize = humanize;\n proto$2.toISOString = toISOString$1;\n proto$2.toString = toISOString$1;\n proto$2.toJSON = toISOString$1;\n proto$2.locale = locale;\n proto$2.localeData = localeData;\n\n proto$2.toIsoString = deprecate(\n 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',\n toISOString$1\n );\n proto$2.lang = lang;\n\n // FORMATTING\n\n addFormatToken('X', 0, 0, 'unix');\n addFormatToken('x', 0, 0, 'valueOf');\n\n // PARSING\n\n addRegexToken('x', matchSigned);\n addRegexToken('X', matchTimestamp);\n addParseToken('X', function (input, array, config) {\n config._d = new Date(parseFloat(input) * 1000);\n });\n addParseToken('x', function (input, array, config) {\n config._d = new Date(toInt(input));\n });\n\n //! moment.js\n\n hooks.version = '2.30.1';\n\n setHookCallback(createLocal);\n\n hooks.fn = proto;\n hooks.min = min;\n hooks.max = max;\n hooks.now = now;\n hooks.utc = createUTC;\n hooks.unix = createUnix;\n hooks.months = listMonths;\n hooks.isDate = isDate;\n hooks.locale = getSetGlobalLocale;\n hooks.invalid = createInvalid;\n hooks.duration = createDuration;\n hooks.isMoment = isMoment;\n hooks.weekdays = listWeekdays;\n hooks.parseZone = createInZone;\n hooks.localeData = getLocale;\n hooks.isDuration = isDuration;\n hooks.monthsShort = listMonthsShort;\n hooks.weekdaysMin = listWeekdaysMin;\n hooks.defineLocale = defineLocale;\n hooks.updateLocale = updateLocale;\n hooks.locales = listLocales;\n hooks.weekdaysShort = listWeekdaysShort;\n hooks.normalizeUnits = normalizeUnits;\n hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n hooks.calendarFormat = getCalendarFormat;\n hooks.prototype = proto;\n\n // currently HTML5 input type only supports 24-hour formats\n hooks.HTML5_FMT = {\n DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // \n DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // \n DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // \n DATE: 'YYYY-MM-DD', // \n TIME: 'HH:mm', // \n TIME_SECONDS: 'HH:mm:ss', // \n TIME_MS: 'HH:mm:ss.SSS', // \n WEEK: 'GGGG-[W]WW', // \n MONTH: 'YYYY-MM', // \n };\n\n return hooks;\n\n})));\n","\nconst canPromise = require('./can-promise')\n\nconst QRCode = require('./core/qrcode')\nconst CanvasRenderer = require('./renderer/canvas')\nconst SvgRenderer = require('./renderer/svg-tag.js')\n\nfunction renderCanvas (renderFunc, canvas, text, opts, cb) {\n const args = [].slice.call(arguments, 1)\n const argsNum = args.length\n const isLastArgCb = typeof args[argsNum - 1] === 'function'\n\n if (!isLastArgCb && !canPromise()) {\n throw new Error('Callback required as last argument')\n }\n\n if (isLastArgCb) {\n if (argsNum < 2) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 2) {\n cb = text\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 3) {\n if (canvas.getContext && typeof cb === 'undefined') {\n cb = opts\n opts = undefined\n } else {\n cb = opts\n opts = text\n text = canvas\n canvas = undefined\n }\n }\n } else {\n if (argsNum < 1) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 1) {\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 2 && !canvas.getContext) {\n opts = text\n text = canvas\n canvas = undefined\n }\n\n return new Promise(function (resolve, reject) {\n try {\n const data = QRCode.create(text, opts)\n resolve(renderFunc(data, canvas, opts))\n } catch (e) {\n reject(e)\n }\n })\n }\n\n try {\n const data = QRCode.create(text, opts)\n cb(null, renderFunc(data, canvas, opts))\n } catch (e) {\n cb(e)\n }\n}\n\nexports.create = QRCode.create\nexports.toCanvas = renderCanvas.bind(null, CanvasRenderer.render)\nexports.toDataURL = renderCanvas.bind(null, CanvasRenderer.renderToDataURL)\n\n// only svg for now.\nexports.toString = renderCanvas.bind(null, function (data, _, opts) {\n return SvgRenderer.render(data, opts)\n})\n","// can-promise has a crash in some versions of react native that dont have\n// standard global objects\n// https://github.com/soldair/node-qrcode/issues/157\n\nmodule.exports = function () {\n return typeof Promise === 'function' && Promise.prototype && Promise.prototype.then\n}\n","/**\n * Alignment pattern are fixed reference pattern in defined positions\n * in a matrix symbology, which enables the decode software to re-synchronise\n * the coordinate mapping of the image modules in the event of moderate amounts\n * of distortion of the image.\n *\n * Alignment patterns are present only in QR Code symbols of version 2 or larger\n * and their number depends on the symbol version.\n */\n\nconst getSymbolSize = require('./utils').getSymbolSize\n\n/**\n * Calculate the row/column coordinates of the center module of each alignment pattern\n * for the specified QR Code version.\n *\n * The alignment patterns are positioned symmetrically on either side of the diagonal\n * running from the top left corner of the symbol to the bottom right corner.\n *\n * Since positions are simmetrical only half of the coordinates are returned.\n * Each item of the array will represent in turn the x and y coordinate.\n * @see {@link getPositions}\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinate\n */\nexports.getRowColCoords = function getRowColCoords (version) {\n if (version === 1) return []\n\n const posCount = Math.floor(version / 7) + 2\n const size = getSymbolSize(version)\n const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2\n const positions = [size - 7] // Last coord is always (size - 7)\n\n for (let i = 1; i < posCount - 1; i++) {\n positions[i] = positions[i - 1] - intervals\n }\n\n positions.push(6) // First coord is always 6\n\n return positions.reverse()\n}\n\n/**\n * Returns an array containing the positions of each alignment pattern.\n * Each array's element represent the center point of the pattern as (x, y) coordinates\n *\n * Coordinates are calculated expanding the row/column coordinates returned by {@link getRowColCoords}\n * and filtering out the items that overlaps with finder pattern\n *\n * @example\n * For a Version 7 symbol {@link getRowColCoords} returns values 6, 22 and 38.\n * The alignment patterns, therefore, are to be centered on (row, column)\n * positions (6,22), (22,6), (22,22), (22,38), (38,22), (38,38).\n * Note that the coordinates (6,6), (6,38), (38,6) are occupied by finder patterns\n * and are not therefore used for alignment patterns.\n *\n * let pos = getPositions(7)\n * // [[6,22], [22,6], [22,22], [22,38], [38,22], [38,38]]\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const coords = []\n const pos = exports.getRowColCoords(version)\n const posLength = pos.length\n\n for (let i = 0; i < posLength; i++) {\n for (let j = 0; j < posLength; j++) {\n // Skip if position is occupied by finder patterns\n if ((i === 0 && j === 0) || // top-left\n (i === 0 && j === posLength - 1) || // bottom-left\n (i === posLength - 1 && j === 0)) { // top-right\n continue\n }\n\n coords.push([pos[i], pos[j]])\n }\n }\n\n return coords\n}\n","const Mode = require('./mode')\n\n/**\n * Array of characters available in alphanumeric mode\n *\n * As per QR Code specification, to each character\n * is assigned a value from 0 to 44 which in this case coincides\n * with the array index\n *\n * @type {Array}\n */\nconst ALPHA_NUM_CHARS = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',\n 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',\n ' ', '$', '%', '*', '+', '-', '.', '/', ':'\n]\n\nfunction AlphanumericData (data) {\n this.mode = Mode.ALPHANUMERIC\n this.data = data\n}\n\nAlphanumericData.getBitsLength = function getBitsLength (length) {\n return 11 * Math.floor(length / 2) + 6 * (length % 2)\n}\n\nAlphanumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nAlphanumericData.prototype.getBitsLength = function getBitsLength () {\n return AlphanumericData.getBitsLength(this.data.length)\n}\n\nAlphanumericData.prototype.write = function write (bitBuffer) {\n let i\n\n // Input data characters are divided into groups of two characters\n // and encoded as 11-bit binary codes.\n for (i = 0; i + 2 <= this.data.length; i += 2) {\n // The character value of the first character is multiplied by 45\n let value = ALPHA_NUM_CHARS.indexOf(this.data[i]) * 45\n\n // The character value of the second digit is added to the product\n value += ALPHA_NUM_CHARS.indexOf(this.data[i + 1])\n\n // The sum is then stored as 11-bit binary number\n bitBuffer.put(value, 11)\n }\n\n // If the number of input data characters is not a multiple of two,\n // the character value of the final character is encoded as a 6-bit binary number.\n if (this.data.length % 2) {\n bitBuffer.put(ALPHA_NUM_CHARS.indexOf(this.data[i]), 6)\n }\n}\n\nmodule.exports = AlphanumericData\n","function BitBuffer () {\n this.buffer = []\n this.length = 0\n}\n\nBitBuffer.prototype = {\n\n get: function (index) {\n const bufIndex = Math.floor(index / 8)\n return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1) === 1\n },\n\n put: function (num, length) {\n for (let i = 0; i < length; i++) {\n this.putBit(((num >>> (length - i - 1)) & 1) === 1)\n }\n },\n\n getLengthInBits: function () {\n return this.length\n },\n\n putBit: function (bit) {\n const bufIndex = Math.floor(this.length / 8)\n if (this.buffer.length <= bufIndex) {\n this.buffer.push(0)\n }\n\n if (bit) {\n this.buffer[bufIndex] |= (0x80 >>> (this.length % 8))\n }\n\n this.length++\n }\n}\n\nmodule.exports = BitBuffer\n","/**\n * Helper class to handle QR Code symbol modules\n *\n * @param {Number} size Symbol size\n */\nfunction BitMatrix (size) {\n if (!size || size < 1) {\n throw new Error('BitMatrix size must be defined and greater than 0')\n }\n\n this.size = size\n this.data = new Uint8Array(size * size)\n this.reservedBit = new Uint8Array(size * size)\n}\n\n/**\n * Set bit value at specified location\n * If reserved flag is set, this bit will be ignored during masking process\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n * @param {Boolean} reserved\n */\nBitMatrix.prototype.set = function (row, col, value, reserved) {\n const index = row * this.size + col\n this.data[index] = value\n if (reserved) this.reservedBit[index] = true\n}\n\n/**\n * Returns bit value at specified location\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.get = function (row, col) {\n return this.data[row * this.size + col]\n}\n\n/**\n * Applies xor operator at specified location\n * (used during masking process)\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n */\nBitMatrix.prototype.xor = function (row, col, value) {\n this.data[row * this.size + col] ^= value\n}\n\n/**\n * Check if bit at specified location is reserved\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.isReserved = function (row, col) {\n return this.reservedBit[row * this.size + col]\n}\n\nmodule.exports = BitMatrix\n","const encodeUtf8 = require('encode-utf8')\nconst Mode = require('./mode')\n\nfunction ByteData (data) {\n this.mode = Mode.BYTE\n if (typeof (data) === 'string') {\n data = encodeUtf8(data)\n }\n this.data = new Uint8Array(data)\n}\n\nByteData.getBitsLength = function getBitsLength (length) {\n return length * 8\n}\n\nByteData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nByteData.prototype.getBitsLength = function getBitsLength () {\n return ByteData.getBitsLength(this.data.length)\n}\n\nByteData.prototype.write = function (bitBuffer) {\n for (let i = 0, l = this.data.length; i < l; i++) {\n bitBuffer.put(this.data[i], 8)\n }\n}\n\nmodule.exports = ByteData\n","const ECLevel = require('./error-correction-level')\r\n\r\nconst EC_BLOCKS_TABLE = [\r\n// L M Q H\r\n 1, 1, 1, 1,\r\n 1, 1, 1, 1,\r\n 1, 1, 2, 2,\r\n 1, 2, 2, 4,\r\n 1, 2, 4, 4,\r\n 2, 4, 4, 4,\r\n 2, 4, 6, 5,\r\n 2, 4, 6, 6,\r\n 2, 5, 8, 8,\r\n 4, 5, 8, 8,\r\n 4, 5, 8, 11,\r\n 4, 8, 10, 11,\r\n 4, 9, 12, 16,\r\n 4, 9, 16, 16,\r\n 6, 10, 12, 18,\r\n 6, 10, 17, 16,\r\n 6, 11, 16, 19,\r\n 6, 13, 18, 21,\r\n 7, 14, 21, 25,\r\n 8, 16, 20, 25,\r\n 8, 17, 23, 25,\r\n 9, 17, 23, 34,\r\n 9, 18, 25, 30,\r\n 10, 20, 27, 32,\r\n 12, 21, 29, 35,\r\n 12, 23, 34, 37,\r\n 12, 25, 34, 40,\r\n 13, 26, 35, 42,\r\n 14, 28, 38, 45,\r\n 15, 29, 40, 48,\r\n 16, 31, 43, 51,\r\n 17, 33, 45, 54,\r\n 18, 35, 48, 57,\r\n 19, 37, 51, 60,\r\n 19, 38, 53, 63,\r\n 20, 40, 56, 66,\r\n 21, 43, 59, 70,\r\n 22, 45, 62, 74,\r\n 24, 47, 65, 77,\r\n 25, 49, 68, 81\r\n]\r\n\r\nconst EC_CODEWORDS_TABLE = [\r\n// L M Q H\r\n 7, 10, 13, 17,\r\n 10, 16, 22, 28,\r\n 15, 26, 36, 44,\r\n 20, 36, 52, 64,\r\n 26, 48, 72, 88,\r\n 36, 64, 96, 112,\r\n 40, 72, 108, 130,\r\n 48, 88, 132, 156,\r\n 60, 110, 160, 192,\r\n 72, 130, 192, 224,\r\n 80, 150, 224, 264,\r\n 96, 176, 260, 308,\r\n 104, 198, 288, 352,\r\n 120, 216, 320, 384,\r\n 132, 240, 360, 432,\r\n 144, 280, 408, 480,\r\n 168, 308, 448, 532,\r\n 180, 338, 504, 588,\r\n 196, 364, 546, 650,\r\n 224, 416, 600, 700,\r\n 224, 442, 644, 750,\r\n 252, 476, 690, 816,\r\n 270, 504, 750, 900,\r\n 300, 560, 810, 960,\r\n 312, 588, 870, 1050,\r\n 336, 644, 952, 1110,\r\n 360, 700, 1020, 1200,\r\n 390, 728, 1050, 1260,\r\n 420, 784, 1140, 1350,\r\n 450, 812, 1200, 1440,\r\n 480, 868, 1290, 1530,\r\n 510, 924, 1350, 1620,\r\n 540, 980, 1440, 1710,\r\n 570, 1036, 1530, 1800,\r\n 570, 1064, 1590, 1890,\r\n 600, 1120, 1680, 1980,\r\n 630, 1204, 1770, 2100,\r\n 660, 1260, 1860, 2220,\r\n 720, 1316, 1950, 2310,\r\n 750, 1372, 2040, 2430\r\n]\r\n\r\n/**\r\n * Returns the number of error correction block that the QR Code should contain\r\n * for the specified version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction blocks\r\n */\r\nexports.getBlocksCount = function getBlocksCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n\r\n/**\r\n * Returns the number of error correction codewords to use for the specified\r\n * version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction codewords\r\n */\r\nexports.getTotalCodewordsCount = function getTotalCodewordsCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n","exports.L = { bit: 1 }\nexports.M = { bit: 0 }\nexports.Q = { bit: 3 }\nexports.H = { bit: 2 }\n\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'l':\n case 'low':\n return exports.L\n\n case 'm':\n case 'medium':\n return exports.M\n\n case 'q':\n case 'quartile':\n return exports.Q\n\n case 'h':\n case 'high':\n return exports.H\n\n default:\n throw new Error('Unknown EC Level: ' + string)\n }\n}\n\nexports.isValid = function isValid (level) {\n return level && typeof level.bit !== 'undefined' &&\n level.bit >= 0 && level.bit < 4\n}\n\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n","const getSymbolSize = require('./utils').getSymbolSize\nconst FINDER_PATTERN_SIZE = 7\n\n/**\n * Returns an array containing the positions of each finder pattern.\n * Each array's element represent the top-left point of the pattern as (x, y) coordinates\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const size = getSymbolSize(version)\n\n return [\n // top-left\n [0, 0],\n // top-right\n [size - FINDER_PATTERN_SIZE, 0],\n // bottom-left\n [0, size - FINDER_PATTERN_SIZE]\n ]\n}\n","const Utils = require('./utils')\n\nconst G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0)\nconst G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1)\nconst G15_BCH = Utils.getBCHDigit(G15)\n\n/**\n * Returns format information with relative error correction bits\n *\n * The format information is a 15-bit sequence containing 5 data bits,\n * with 10 error correction bits calculated using the (15, 5) BCH code.\n *\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Number} mask Mask pattern\n * @return {Number} Encoded format information bits\n */\nexports.getEncodedBits = function getEncodedBits (errorCorrectionLevel, mask) {\n const data = ((errorCorrectionLevel.bit << 3) | mask)\n let d = data << 10\n\n while (Utils.getBCHDigit(d) - G15_BCH >= 0) {\n d ^= (G15 << (Utils.getBCHDigit(d) - G15_BCH))\n }\n\n // xor final data with mask pattern in order to ensure that\n // no combination of Error Correction Level and data mask pattern\n // will result in an all-zero data string\n return ((data << 10) | d) ^ G15_MASK\n}\n","const EXP_TABLE = new Uint8Array(512)\nconst LOG_TABLE = new Uint8Array(256)\n/**\n * Precompute the log and anti-log tables for faster computation later\n *\n * For each possible value in the galois field 2^8, we will pre-compute\n * the logarithm and anti-logarithm (exponential) of this value\n *\n * ref {@link https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders#Introduction_to_mathematical_fields}\n */\n;(function initTables () {\n let x = 1\n for (let i = 0; i < 255; i++) {\n EXP_TABLE[i] = x\n LOG_TABLE[x] = i\n\n x <<= 1 // multiply by 2\n\n // The QR code specification says to use byte-wise modulo 100011101 arithmetic.\n // This means that when a number is 256 or larger, it should be XORed with 0x11D.\n if (x & 0x100) { // similar to x >= 256, but a lot faster (because 0x100 == 256)\n x ^= 0x11D\n }\n }\n\n // Optimization: double the size of the anti-log table so that we don't need to mod 255 to\n // stay inside the bounds (because we will mainly use this table for the multiplication of\n // two GF numbers, no more).\n // @see {@link mul}\n for (let i = 255; i < 512; i++) {\n EXP_TABLE[i] = EXP_TABLE[i - 255]\n }\n}())\n\n/**\n * Returns log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.log = function log (n) {\n if (n < 1) throw new Error('log(' + n + ')')\n return LOG_TABLE[n]\n}\n\n/**\n * Returns anti-log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.exp = function exp (n) {\n return EXP_TABLE[n]\n}\n\n/**\n * Multiplies two number inside Galois Field\n *\n * @param {Number} x\n * @param {Number} y\n * @return {Number}\n */\nexports.mul = function mul (x, y) {\n if (x === 0 || y === 0) return 0\n\n // should be EXP_TABLE[(LOG_TABLE[x] + LOG_TABLE[y]) % 255] if EXP_TABLE wasn't oversized\n // @see {@link initTables}\n return EXP_TABLE[LOG_TABLE[x] + LOG_TABLE[y]]\n}\n","const Mode = require('./mode')\nconst Utils = require('./utils')\n\nfunction KanjiData (data) {\n this.mode = Mode.KANJI\n this.data = data\n}\n\nKanjiData.getBitsLength = function getBitsLength (length) {\n return length * 13\n}\n\nKanjiData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nKanjiData.prototype.getBitsLength = function getBitsLength () {\n return KanjiData.getBitsLength(this.data.length)\n}\n\nKanjiData.prototype.write = function (bitBuffer) {\n let i\n\n // In the Shift JIS system, Kanji characters are represented by a two byte combination.\n // These byte values are shifted from the JIS X 0208 values.\n // JIS X 0208 gives details of the shift coded representation.\n for (i = 0; i < this.data.length; i++) {\n let value = Utils.toSJIS(this.data[i])\n\n // For characters with Shift JIS values from 0x8140 to 0x9FFC:\n if (value >= 0x8140 && value <= 0x9FFC) {\n // Subtract 0x8140 from Shift JIS value\n value -= 0x8140\n\n // For characters with Shift JIS values from 0xE040 to 0xEBBF\n } else if (value >= 0xE040 && value <= 0xEBBF) {\n // Subtract 0xC140 from Shift JIS value\n value -= 0xC140\n } else {\n throw new Error(\n 'Invalid SJIS character: ' + this.data[i] + '\\n' +\n 'Make sure your charset is UTF-8')\n }\n\n // Multiply most significant byte of result by 0xC0\n // and add least significant byte to product\n value = (((value >>> 8) & 0xff) * 0xC0) + (value & 0xff)\n\n // Convert result to a 13-bit binary string\n bitBuffer.put(value, 13)\n }\n}\n\nmodule.exports = KanjiData\n","/**\n * Data mask pattern reference\n * @type {Object}\n */\nexports.Patterns = {\n PATTERN000: 0,\n PATTERN001: 1,\n PATTERN010: 2,\n PATTERN011: 3,\n PATTERN100: 4,\n PATTERN101: 5,\n PATTERN110: 6,\n PATTERN111: 7\n}\n\n/**\n * Weighted penalty scores for the undesirable features\n * @type {Object}\n */\nconst PenaltyScores = {\n N1: 3,\n N2: 3,\n N3: 40,\n N4: 10\n}\n\n/**\n * Check if mask pattern value is valid\n *\n * @param {Number} mask Mask pattern\n * @return {Boolean} true if valid, false otherwise\n */\nexports.isValid = function isValid (mask) {\n return mask != null && mask !== '' && !isNaN(mask) && mask >= 0 && mask <= 7\n}\n\n/**\n * Returns mask pattern from a value.\n * If value is not valid, returns undefined\n *\n * @param {Number|String} value Mask pattern value\n * @return {Number} Valid mask pattern or undefined\n */\nexports.from = function from (value) {\n return exports.isValid(value) ? parseInt(value, 10) : undefined\n}\n\n/**\n* Find adjacent modules in row/column with the same color\n* and assign a penalty value.\n*\n* Points: N1 + i\n* i is the amount by which the number of adjacent modules of the same color exceeds 5\n*/\nexports.getPenaltyN1 = function getPenaltyN1 (data) {\n const size = data.size\n let points = 0\n let sameCountCol = 0\n let sameCountRow = 0\n let lastCol = null\n let lastRow = null\n\n for (let row = 0; row < size; row++) {\n sameCountCol = sameCountRow = 0\n lastCol = lastRow = null\n\n for (let col = 0; col < size; col++) {\n let module = data.get(row, col)\n if (module === lastCol) {\n sameCountCol++\n } else {\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n lastCol = module\n sameCountCol = 1\n }\n\n module = data.get(col, row)\n if (module === lastRow) {\n sameCountRow++\n } else {\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n lastRow = module\n sameCountRow = 1\n }\n }\n\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n }\n\n return points\n}\n\n/**\n * Find 2x2 blocks with the same color and assign a penalty value\n *\n * Points: N2 * (m - 1) * (n - 1)\n */\nexports.getPenaltyN2 = function getPenaltyN2 (data) {\n const size = data.size\n let points = 0\n\n for (let row = 0; row < size - 1; row++) {\n for (let col = 0; col < size - 1; col++) {\n const last = data.get(row, col) +\n data.get(row, col + 1) +\n data.get(row + 1, col) +\n data.get(row + 1, col + 1)\n\n if (last === 4 || last === 0) points++\n }\n }\n\n return points * PenaltyScores.N2\n}\n\n/**\n * Find 1:1:3:1:1 ratio (dark:light:dark:light:dark) pattern in row/column,\n * preceded or followed by light area 4 modules wide\n *\n * Points: N3 * number of pattern found\n */\nexports.getPenaltyN3 = function getPenaltyN3 (data) {\n const size = data.size\n let points = 0\n let bitsCol = 0\n let bitsRow = 0\n\n for (let row = 0; row < size; row++) {\n bitsCol = bitsRow = 0\n for (let col = 0; col < size; col++) {\n bitsCol = ((bitsCol << 1) & 0x7FF) | data.get(row, col)\n if (col >= 10 && (bitsCol === 0x5D0 || bitsCol === 0x05D)) points++\n\n bitsRow = ((bitsRow << 1) & 0x7FF) | data.get(col, row)\n if (col >= 10 && (bitsRow === 0x5D0 || bitsRow === 0x05D)) points++\n }\n }\n\n return points * PenaltyScores.N3\n}\n\n/**\n * Calculate proportion of dark modules in entire symbol\n *\n * Points: N4 * k\n *\n * k is the rating of the deviation of the proportion of dark modules\n * in the symbol from 50% in steps of 5%\n */\nexports.getPenaltyN4 = function getPenaltyN4 (data) {\n let darkCount = 0\n const modulesCount = data.data.length\n\n for (let i = 0; i < modulesCount; i++) darkCount += data.data[i]\n\n const k = Math.abs(Math.ceil((darkCount * 100 / modulesCount) / 5) - 10)\n\n return k * PenaltyScores.N4\n}\n\n/**\n * Return mask value at given position\n *\n * @param {Number} maskPattern Pattern reference value\n * @param {Number} i Row\n * @param {Number} j Column\n * @return {Boolean} Mask value\n */\nfunction getMaskAt (maskPattern, i, j) {\n switch (maskPattern) {\n case exports.Patterns.PATTERN000: return (i + j) % 2 === 0\n case exports.Patterns.PATTERN001: return i % 2 === 0\n case exports.Patterns.PATTERN010: return j % 3 === 0\n case exports.Patterns.PATTERN011: return (i + j) % 3 === 0\n case exports.Patterns.PATTERN100: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0\n case exports.Patterns.PATTERN101: return (i * j) % 2 + (i * j) % 3 === 0\n case exports.Patterns.PATTERN110: return ((i * j) % 2 + (i * j) % 3) % 2 === 0\n case exports.Patterns.PATTERN111: return ((i * j) % 3 + (i + j) % 2) % 2 === 0\n\n default: throw new Error('bad maskPattern:' + maskPattern)\n }\n}\n\n/**\n * Apply a mask pattern to a BitMatrix\n *\n * @param {Number} pattern Pattern reference number\n * @param {BitMatrix} data BitMatrix data\n */\nexports.applyMask = function applyMask (pattern, data) {\n const size = data.size\n\n for (let col = 0; col < size; col++) {\n for (let row = 0; row < size; row++) {\n if (data.isReserved(row, col)) continue\n data.xor(row, col, getMaskAt(pattern, row, col))\n }\n }\n}\n\n/**\n * Returns the best mask pattern for data\n *\n * @param {BitMatrix} data\n * @return {Number} Mask pattern reference number\n */\nexports.getBestMask = function getBestMask (data, setupFormatFunc) {\n const numPatterns = Object.keys(exports.Patterns).length\n let bestPattern = 0\n let lowerPenalty = Infinity\n\n for (let p = 0; p < numPatterns; p++) {\n setupFormatFunc(p)\n exports.applyMask(p, data)\n\n // Calculate penalty\n const penalty =\n exports.getPenaltyN1(data) +\n exports.getPenaltyN2(data) +\n exports.getPenaltyN3(data) +\n exports.getPenaltyN4(data)\n\n // Undo previously applied mask\n exports.applyMask(p, data)\n\n if (penalty < lowerPenalty) {\n lowerPenalty = penalty\n bestPattern = p\n }\n }\n\n return bestPattern\n}\n","const VersionCheck = require('./version-check')\nconst Regex = require('./regex')\n\n/**\n * Numeric mode encodes data from the decimal digit set (0 - 9)\n * (byte values 30HEX to 39HEX).\n * Normally, 3 data characters are represented by 10 bits.\n *\n * @type {Object}\n */\nexports.NUMERIC = {\n id: 'Numeric',\n bit: 1 << 0,\n ccBits: [10, 12, 14]\n}\n\n/**\n * Alphanumeric mode encodes data from a set of 45 characters,\n * i.e. 10 numeric digits (0 - 9),\n * 26 alphabetic characters (A - Z),\n * and 9 symbols (SP, $, %, *, +, -, ., /, :).\n * Normally, two input characters are represented by 11 bits.\n *\n * @type {Object}\n */\nexports.ALPHANUMERIC = {\n id: 'Alphanumeric',\n bit: 1 << 1,\n ccBits: [9, 11, 13]\n}\n\n/**\n * In byte mode, data is encoded at 8 bits per character.\n *\n * @type {Object}\n */\nexports.BYTE = {\n id: 'Byte',\n bit: 1 << 2,\n ccBits: [8, 16, 16]\n}\n\n/**\n * The Kanji mode efficiently encodes Kanji characters in accordance with\n * the Shift JIS system based on JIS X 0208.\n * The Shift JIS values are shifted from the JIS X 0208 values.\n * JIS X 0208 gives details of the shift coded representation.\n * Each two-byte character value is compacted to a 13-bit binary codeword.\n *\n * @type {Object}\n */\nexports.KANJI = {\n id: 'Kanji',\n bit: 1 << 3,\n ccBits: [8, 10, 12]\n}\n\n/**\n * Mixed mode will contain a sequences of data in a combination of any of\n * the modes described above\n *\n * @type {Object}\n */\nexports.MIXED = {\n bit: -1\n}\n\n/**\n * Returns the number of bits needed to store the data length\n * according to QR Code specifications.\n *\n * @param {Mode} mode Data mode\n * @param {Number} version QR Code version\n * @return {Number} Number of bits\n */\nexports.getCharCountIndicator = function getCharCountIndicator (mode, version) {\n if (!mode.ccBits) throw new Error('Invalid mode: ' + mode)\n\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid version: ' + version)\n }\n\n if (version >= 1 && version < 10) return mode.ccBits[0]\n else if (version < 27) return mode.ccBits[1]\n return mode.ccBits[2]\n}\n\n/**\n * Returns the most efficient mode to store the specified data\n *\n * @param {String} dataStr Input data string\n * @return {Mode} Best mode\n */\nexports.getBestModeForData = function getBestModeForData (dataStr) {\n if (Regex.testNumeric(dataStr)) return exports.NUMERIC\n else if (Regex.testAlphanumeric(dataStr)) return exports.ALPHANUMERIC\n else if (Regex.testKanji(dataStr)) return exports.KANJI\n else return exports.BYTE\n}\n\n/**\n * Return mode name as string\n *\n * @param {Mode} mode Mode object\n * @returns {String} Mode name\n */\nexports.toString = function toString (mode) {\n if (mode && mode.id) return mode.id\n throw new Error('Invalid mode')\n}\n\n/**\n * Check if input param is a valid mode object\n *\n * @param {Mode} mode Mode object\n * @returns {Boolean} True if valid mode, false otherwise\n */\nexports.isValid = function isValid (mode) {\n return mode && mode.bit && mode.ccBits\n}\n\n/**\n * Get mode object from its name\n *\n * @param {String} string Mode name\n * @returns {Mode} Mode object\n */\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'numeric':\n return exports.NUMERIC\n case 'alphanumeric':\n return exports.ALPHANUMERIC\n case 'kanji':\n return exports.KANJI\n case 'byte':\n return exports.BYTE\n default:\n throw new Error('Unknown mode: ' + string)\n }\n}\n\n/**\n * Returns mode from a value.\n * If value is not a valid mode, returns defaultValue\n *\n * @param {Mode|String} value Encoding mode\n * @param {Mode} defaultValue Fallback value\n * @return {Mode} Encoding mode\n */\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n","const Mode = require('./mode')\n\nfunction NumericData (data) {\n this.mode = Mode.NUMERIC\n this.data = data.toString()\n}\n\nNumericData.getBitsLength = function getBitsLength (length) {\n return 10 * Math.floor(length / 3) + ((length % 3) ? ((length % 3) * 3 + 1) : 0)\n}\n\nNumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nNumericData.prototype.getBitsLength = function getBitsLength () {\n return NumericData.getBitsLength(this.data.length)\n}\n\nNumericData.prototype.write = function write (bitBuffer) {\n let i, group, value\n\n // The input data string is divided into groups of three digits,\n // and each group is converted to its 10-bit binary equivalent.\n for (i = 0; i + 3 <= this.data.length; i += 3) {\n group = this.data.substr(i, 3)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, 10)\n }\n\n // If the number of input digits is not an exact multiple of three,\n // the final one or two digits are converted to 4 or 7 bits respectively.\n const remainingNum = this.data.length - i\n if (remainingNum > 0) {\n group = this.data.substr(i)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, remainingNum * 3 + 1)\n }\n}\n\nmodule.exports = NumericData\n","const GF = require('./galois-field')\n\n/**\n * Multiplies two polynomials inside Galois Field\n *\n * @param {Uint8Array} p1 Polynomial\n * @param {Uint8Array} p2 Polynomial\n * @return {Uint8Array} Product of p1 and p2\n */\nexports.mul = function mul (p1, p2) {\n const coeff = new Uint8Array(p1.length + p2.length - 1)\n\n for (let i = 0; i < p1.length; i++) {\n for (let j = 0; j < p2.length; j++) {\n coeff[i + j] ^= GF.mul(p1[i], p2[j])\n }\n }\n\n return coeff\n}\n\n/**\n * Calculate the remainder of polynomials division\n *\n * @param {Uint8Array} divident Polynomial\n * @param {Uint8Array} divisor Polynomial\n * @return {Uint8Array} Remainder\n */\nexports.mod = function mod (divident, divisor) {\n let result = new Uint8Array(divident)\n\n while ((result.length - divisor.length) >= 0) {\n const coeff = result[0]\n\n for (let i = 0; i < divisor.length; i++) {\n result[i] ^= GF.mul(divisor[i], coeff)\n }\n\n // remove all zeros from buffer head\n let offset = 0\n while (offset < result.length && result[offset] === 0) offset++\n result = result.slice(offset)\n }\n\n return result\n}\n\n/**\n * Generate an irreducible generator polynomial of specified degree\n * (used by Reed-Solomon encoder)\n *\n * @param {Number} degree Degree of the generator polynomial\n * @return {Uint8Array} Buffer containing polynomial coefficients\n */\nexports.generateECPolynomial = function generateECPolynomial (degree) {\n let poly = new Uint8Array([1])\n for (let i = 0; i < degree; i++) {\n poly = exports.mul(poly, new Uint8Array([1, GF.exp(i)]))\n }\n\n return poly\n}\n","const Utils = require('./utils')\nconst ECLevel = require('./error-correction-level')\nconst BitBuffer = require('./bit-buffer')\nconst BitMatrix = require('./bit-matrix')\nconst AlignmentPattern = require('./alignment-pattern')\nconst FinderPattern = require('./finder-pattern')\nconst MaskPattern = require('./mask-pattern')\nconst ECCode = require('./error-correction-code')\nconst ReedSolomonEncoder = require('./reed-solomon-encoder')\nconst Version = require('./version')\nconst FormatInfo = require('./format-info')\nconst Mode = require('./mode')\nconst Segments = require('./segments')\n\n/**\n * QRCode for JavaScript\n *\n * modified by Ryan Day for nodejs support\n * Copyright (c) 2011 Ryan Day\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/mit-license.php\n *\n//---------------------------------------------------------------------\n// QRCode for JavaScript\n//\n// Copyright (c) 2009 Kazuhiko Arase\n//\n// URL: http://www.d-project.com/\n//\n// Licensed under the MIT license:\n// http://www.opensource.org/licenses/mit-license.php\n//\n// The word \"QR Code\" is registered trademark of\n// DENSO WAVE INCORPORATED\n// http://www.denso-wave.com/qrcode/faqpatent-e.html\n//\n//---------------------------------------------------------------------\n*/\n\n/**\n * Add finder patterns bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupFinderPattern (matrix, version) {\n const size = matrix.size\n const pos = FinderPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -1; r <= 7; r++) {\n if (row + r <= -1 || size <= row + r) continue\n\n for (let c = -1; c <= 7; c++) {\n if (col + c <= -1 || size <= col + c) continue\n\n if ((r >= 0 && r <= 6 && (c === 0 || c === 6)) ||\n (c >= 0 && c <= 6 && (r === 0 || r === 6)) ||\n (r >= 2 && r <= 4 && c >= 2 && c <= 4)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add timing pattern bits to matrix\n *\n * Note: this function must be called before {@link setupAlignmentPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n */\nfunction setupTimingPattern (matrix) {\n const size = matrix.size\n\n for (let r = 8; r < size - 8; r++) {\n const value = r % 2 === 0\n matrix.set(r, 6, value, true)\n matrix.set(6, r, value, true)\n }\n}\n\n/**\n * Add alignment patterns bits to matrix\n *\n * Note: this function must be called after {@link setupTimingPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupAlignmentPattern (matrix, version) {\n const pos = AlignmentPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -2; r <= 2; r++) {\n for (let c = -2; c <= 2; c++) {\n if (r === -2 || r === 2 || c === -2 || c === 2 ||\n (r === 0 && c === 0)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add version info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupVersionInfo (matrix, version) {\n const size = matrix.size\n const bits = Version.getEncodedBits(version)\n let row, col, mod\n\n for (let i = 0; i < 18; i++) {\n row = Math.floor(i / 3)\n col = i % 3 + size - 8 - 3\n mod = ((bits >> i) & 1) === 1\n\n matrix.set(row, col, mod, true)\n matrix.set(col, row, mod, true)\n }\n}\n\n/**\n * Add format info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {Number} maskPattern Mask pattern reference value\n */\nfunction setupFormatInfo (matrix, errorCorrectionLevel, maskPattern) {\n const size = matrix.size\n const bits = FormatInfo.getEncodedBits(errorCorrectionLevel, maskPattern)\n let i, mod\n\n for (i = 0; i < 15; i++) {\n mod = ((bits >> i) & 1) === 1\n\n // vertical\n if (i < 6) {\n matrix.set(i, 8, mod, true)\n } else if (i < 8) {\n matrix.set(i + 1, 8, mod, true)\n } else {\n matrix.set(size - 15 + i, 8, mod, true)\n }\n\n // horizontal\n if (i < 8) {\n matrix.set(8, size - i - 1, mod, true)\n } else if (i < 9) {\n matrix.set(8, 15 - i - 1 + 1, mod, true)\n } else {\n matrix.set(8, 15 - i - 1, mod, true)\n }\n }\n\n // fixed module\n matrix.set(size - 8, 8, 1, true)\n}\n\n/**\n * Add encoded data bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Uint8Array} data Data codewords\n */\nfunction setupData (matrix, data) {\n const size = matrix.size\n let inc = -1\n let row = size - 1\n let bitIndex = 7\n let byteIndex = 0\n\n for (let col = size - 1; col > 0; col -= 2) {\n if (col === 6) col--\n\n while (true) {\n for (let c = 0; c < 2; c++) {\n if (!matrix.isReserved(row, col - c)) {\n let dark = false\n\n if (byteIndex < data.length) {\n dark = (((data[byteIndex] >>> bitIndex) & 1) === 1)\n }\n\n matrix.set(row, col - c, dark)\n bitIndex--\n\n if (bitIndex === -1) {\n byteIndex++\n bitIndex = 7\n }\n }\n }\n\n row += inc\n\n if (row < 0 || size <= row) {\n row -= inc\n inc = -inc\n break\n }\n }\n }\n}\n\n/**\n * Create encoded codewords from data input\n *\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {ByteData} data Data input\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createData (version, errorCorrectionLevel, segments) {\n // Prepare data buffer\n const buffer = new BitBuffer()\n\n segments.forEach(function (data) {\n // prefix data with mode indicator (4 bits)\n buffer.put(data.mode.bit, 4)\n\n // Prefix data with character count indicator.\n // The character count indicator is a string of bits that represents the\n // number of characters that are being encoded.\n // The character count indicator must be placed after the mode indicator\n // and must be a certain number of bits long, depending on the QR version\n // and data mode\n // @see {@link Mode.getCharCountIndicator}.\n buffer.put(data.getLength(), Mode.getCharCountIndicator(data.mode, version))\n\n // add binary data sequence to buffer\n data.write(buffer)\n })\n\n // Calculate required number of bits\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n // Add a terminator.\n // If the bit string is shorter than the total number of required bits,\n // a terminator of up to four 0s must be added to the right side of the string.\n // If the bit string is more than four bits shorter than the required number of bits,\n // add four 0s to the end.\n if (buffer.getLengthInBits() + 4 <= dataTotalCodewordsBits) {\n buffer.put(0, 4)\n }\n\n // If the bit string is fewer than four bits shorter, add only the number of 0s that\n // are needed to reach the required number of bits.\n\n // After adding the terminator, if the number of bits in the string is not a multiple of 8,\n // pad the string on the right with 0s to make the string's length a multiple of 8.\n while (buffer.getLengthInBits() % 8 !== 0) {\n buffer.putBit(0)\n }\n\n // Add pad bytes if the string is still shorter than the total number of required bits.\n // Extend the buffer to fill the data capacity of the symbol corresponding to\n // the Version and Error Correction Level by adding the Pad Codewords 11101100 (0xEC)\n // and 00010001 (0x11) alternately.\n const remainingByte = (dataTotalCodewordsBits - buffer.getLengthInBits()) / 8\n for (let i = 0; i < remainingByte; i++) {\n buffer.put(i % 2 ? 0x11 : 0xEC, 8)\n }\n\n return createCodewords(buffer, version, errorCorrectionLevel)\n}\n\n/**\n * Encode input data with Reed-Solomon and return codewords with\n * relative error correction bits\n *\n * @param {BitBuffer} bitBuffer Data to encode\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createCodewords (bitBuffer, version, errorCorrectionLevel) {\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewords = totalCodewords - ecTotalCodewords\n\n // Total number of blocks\n const ecTotalBlocks = ECCode.getBlocksCount(version, errorCorrectionLevel)\n\n // Calculate how many blocks each group should contain\n const blocksInGroup2 = totalCodewords % ecTotalBlocks\n const blocksInGroup1 = ecTotalBlocks - blocksInGroup2\n\n const totalCodewordsInGroup1 = Math.floor(totalCodewords / ecTotalBlocks)\n\n const dataCodewordsInGroup1 = Math.floor(dataTotalCodewords / ecTotalBlocks)\n const dataCodewordsInGroup2 = dataCodewordsInGroup1 + 1\n\n // Number of EC codewords is the same for both groups\n const ecCount = totalCodewordsInGroup1 - dataCodewordsInGroup1\n\n // Initialize a Reed-Solomon encoder with a generator polynomial of degree ecCount\n const rs = new ReedSolomonEncoder(ecCount)\n\n let offset = 0\n const dcData = new Array(ecTotalBlocks)\n const ecData = new Array(ecTotalBlocks)\n let maxDataSize = 0\n const buffer = new Uint8Array(bitBuffer.buffer)\n\n // Divide the buffer into the required number of blocks\n for (let b = 0; b < ecTotalBlocks; b++) {\n const dataSize = b < blocksInGroup1 ? dataCodewordsInGroup1 : dataCodewordsInGroup2\n\n // extract a block of data from buffer\n dcData[b] = buffer.slice(offset, offset + dataSize)\n\n // Calculate EC codewords for this data block\n ecData[b] = rs.encode(dcData[b])\n\n offset += dataSize\n maxDataSize = Math.max(maxDataSize, dataSize)\n }\n\n // Create final data\n // Interleave the data and error correction codewords from each block\n const data = new Uint8Array(totalCodewords)\n let index = 0\n let i, r\n\n // Add data codewords\n for (i = 0; i < maxDataSize; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n if (i < dcData[r].length) {\n data[index++] = dcData[r][i]\n }\n }\n }\n\n // Apped EC codewords\n for (i = 0; i < ecCount; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n data[index++] = ecData[r][i]\n }\n }\n\n return data\n}\n\n/**\n * Build QR Code symbol\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @param {ErrorCorretionLevel} errorCorrectionLevel Error level\n * @param {MaskPattern} maskPattern Mask pattern\n * @return {Object} Object containing symbol data\n */\nfunction createSymbol (data, version, errorCorrectionLevel, maskPattern) {\n let segments\n\n if (Array.isArray(data)) {\n segments = Segments.fromArray(data)\n } else if (typeof data === 'string') {\n let estimatedVersion = version\n\n if (!estimatedVersion) {\n const rawSegments = Segments.rawSplit(data)\n\n // Estimate best version that can contain raw splitted segments\n estimatedVersion = Version.getBestVersionForData(rawSegments, errorCorrectionLevel)\n }\n\n // Build optimized segments\n // If estimated version is undefined, try with the highest version\n segments = Segments.fromString(data, estimatedVersion || 40)\n } else {\n throw new Error('Invalid data')\n }\n\n // Get the min version that can contain data\n const bestVersion = Version.getBestVersionForData(segments, errorCorrectionLevel)\n\n // If no version is found, data cannot be stored\n if (!bestVersion) {\n throw new Error('The amount of data is too big to be stored in a QR Code')\n }\n\n // If not specified, use min version as default\n if (!version) {\n version = bestVersion\n\n // Check if the specified version can contain the data\n } else if (version < bestVersion) {\n throw new Error('\\n' +\n 'The chosen QR Code version cannot contain this amount of data.\\n' +\n 'Minimum version required to store current data is: ' + bestVersion + '.\\n'\n )\n }\n\n const dataBits = createData(version, errorCorrectionLevel, segments)\n\n // Allocate matrix buffer\n const moduleCount = Utils.getSymbolSize(version)\n const modules = new BitMatrix(moduleCount)\n\n // Add function modules\n setupFinderPattern(modules, version)\n setupTimingPattern(modules)\n setupAlignmentPattern(modules, version)\n\n // Add temporary dummy bits for format info just to set them as reserved.\n // This is needed to prevent these bits from being masked by {@link MaskPattern.applyMask}\n // since the masking operation must be performed only on the encoding region.\n // These blocks will be replaced with correct values later in code.\n setupFormatInfo(modules, errorCorrectionLevel, 0)\n\n if (version >= 7) {\n setupVersionInfo(modules, version)\n }\n\n // Add data codewords\n setupData(modules, dataBits)\n\n if (isNaN(maskPattern)) {\n // Find best mask pattern\n maskPattern = MaskPattern.getBestMask(modules,\n setupFormatInfo.bind(null, modules, errorCorrectionLevel))\n }\n\n // Apply mask pattern\n MaskPattern.applyMask(maskPattern, modules)\n\n // Replace format info bits with correct values\n setupFormatInfo(modules, errorCorrectionLevel, maskPattern)\n\n return {\n modules: modules,\n version: version,\n errorCorrectionLevel: errorCorrectionLevel,\n maskPattern: maskPattern,\n segments: segments\n }\n}\n\n/**\n * QR Code\n *\n * @param {String | Array} data Input data\n * @param {Object} options Optional configurations\n * @param {Number} options.version QR Code version\n * @param {String} options.errorCorrectionLevel Error correction level\n * @param {Function} options.toSJISFunc Helper func to convert utf8 to sjis\n */\nexports.create = function create (data, options) {\n if (typeof data === 'undefined' || data === '') {\n throw new Error('No input text')\n }\n\n let errorCorrectionLevel = ECLevel.M\n let version\n let mask\n\n if (typeof options !== 'undefined') {\n // Use higher error correction level as default\n errorCorrectionLevel = ECLevel.from(options.errorCorrectionLevel, ECLevel.M)\n version = Version.from(options.version)\n mask = MaskPattern.from(options.maskPattern)\n\n if (options.toSJISFunc) {\n Utils.setToSJISFunction(options.toSJISFunc)\n }\n }\n\n return createSymbol(data, version, errorCorrectionLevel, mask)\n}\n","const Polynomial = require('./polynomial')\n\nfunction ReedSolomonEncoder (degree) {\n this.genPoly = undefined\n this.degree = degree\n\n if (this.degree) this.initialize(this.degree)\n}\n\n/**\n * Initialize the encoder.\n * The input param should correspond to the number of error correction codewords.\n *\n * @param {Number} degree\n */\nReedSolomonEncoder.prototype.initialize = function initialize (degree) {\n // create an irreducible generator polynomial\n this.degree = degree\n this.genPoly = Polynomial.generateECPolynomial(this.degree)\n}\n\n/**\n * Encodes a chunk of data\n *\n * @param {Uint8Array} data Buffer containing input data\n * @return {Uint8Array} Buffer containing encoded data\n */\nReedSolomonEncoder.prototype.encode = function encode (data) {\n if (!this.genPoly) {\n throw new Error('Encoder not initialized')\n }\n\n // Calculate EC for this data block\n // extends data size to data+genPoly size\n const paddedData = new Uint8Array(data.length + this.degree)\n paddedData.set(data)\n\n // The error correction codewords are the remainder after dividing the data codewords\n // by a generator polynomial\n const remainder = Polynomial.mod(paddedData, this.genPoly)\n\n // return EC data blocks (last n byte, where n is the degree of genPoly)\n // If coefficients number in remainder are less than genPoly degree,\n // pad with 0s to the left to reach the needed number of coefficients\n const start = this.degree - remainder.length\n if (start > 0) {\n const buff = new Uint8Array(this.degree)\n buff.set(remainder, start)\n\n return buff\n }\n\n return remainder\n}\n\nmodule.exports = ReedSolomonEncoder\n","const numeric = '[0-9]+'\nconst alphanumeric = '[A-Z $%*+\\\\-./:]+'\nlet kanji = '(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|' +\n '[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|' +\n '[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|' +\n '[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+'\nkanji = kanji.replace(/u/g, '\\\\u')\n\nconst byte = '(?:(?![A-Z0-9 $%*+\\\\-./:]|' + kanji + ')(?:.|[\\r\\n]))+'\n\nexports.KANJI = new RegExp(kanji, 'g')\nexports.BYTE_KANJI = new RegExp('[^A-Z0-9 $%*+\\\\-./:]+', 'g')\nexports.BYTE = new RegExp(byte, 'g')\nexports.NUMERIC = new RegExp(numeric, 'g')\nexports.ALPHANUMERIC = new RegExp(alphanumeric, 'g')\n\nconst TEST_KANJI = new RegExp('^' + kanji + '$')\nconst TEST_NUMERIC = new RegExp('^' + numeric + '$')\nconst TEST_ALPHANUMERIC = new RegExp('^[A-Z0-9 $%*+\\\\-./:]+$')\n\nexports.testKanji = function testKanji (str) {\n return TEST_KANJI.test(str)\n}\n\nexports.testNumeric = function testNumeric (str) {\n return TEST_NUMERIC.test(str)\n}\n\nexports.testAlphanumeric = function testAlphanumeric (str) {\n return TEST_ALPHANUMERIC.test(str)\n}\n","const Mode = require('./mode')\nconst NumericData = require('./numeric-data')\nconst AlphanumericData = require('./alphanumeric-data')\nconst ByteData = require('./byte-data')\nconst KanjiData = require('./kanji-data')\nconst Regex = require('./regex')\nconst Utils = require('./utils')\nconst dijkstra = require('dijkstrajs')\n\n/**\n * Returns UTF8 byte length\n *\n * @param {String} str Input string\n * @return {Number} Number of byte\n */\nfunction getStringByteLength (str) {\n return unescape(encodeURIComponent(str)).length\n}\n\n/**\n * Get a list of segments of the specified mode\n * from a string\n *\n * @param {Mode} mode Segment mode\n * @param {String} str String to process\n * @return {Array} Array of object with segments data\n */\nfunction getSegments (regex, mode, str) {\n const segments = []\n let result\n\n while ((result = regex.exec(str)) !== null) {\n segments.push({\n data: result[0],\n index: result.index,\n mode: mode,\n length: result[0].length\n })\n }\n\n return segments\n}\n\n/**\n * Extracts a series of segments with the appropriate\n * modes from a string\n *\n * @param {String} dataStr Input string\n * @return {Array} Array of object with segments data\n */\nfunction getSegmentsFromString (dataStr) {\n const numSegs = getSegments(Regex.NUMERIC, Mode.NUMERIC, dataStr)\n const alphaNumSegs = getSegments(Regex.ALPHANUMERIC, Mode.ALPHANUMERIC, dataStr)\n let byteSegs\n let kanjiSegs\n\n if (Utils.isKanjiModeEnabled()) {\n byteSegs = getSegments(Regex.BYTE, Mode.BYTE, dataStr)\n kanjiSegs = getSegments(Regex.KANJI, Mode.KANJI, dataStr)\n } else {\n byteSegs = getSegments(Regex.BYTE_KANJI, Mode.BYTE, dataStr)\n kanjiSegs = []\n }\n\n const segs = numSegs.concat(alphaNumSegs, byteSegs, kanjiSegs)\n\n return segs\n .sort(function (s1, s2) {\n return s1.index - s2.index\n })\n .map(function (obj) {\n return {\n data: obj.data,\n mode: obj.mode,\n length: obj.length\n }\n })\n}\n\n/**\n * Returns how many bits are needed to encode a string of\n * specified length with the specified mode\n *\n * @param {Number} length String length\n * @param {Mode} mode Segment mode\n * @return {Number} Bit length\n */\nfunction getSegmentBitsLength (length, mode) {\n switch (mode) {\n case Mode.NUMERIC:\n return NumericData.getBitsLength(length)\n case Mode.ALPHANUMERIC:\n return AlphanumericData.getBitsLength(length)\n case Mode.KANJI:\n return KanjiData.getBitsLength(length)\n case Mode.BYTE:\n return ByteData.getBitsLength(length)\n }\n}\n\n/**\n * Merges adjacent segments which have the same mode\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction mergeSegments (segs) {\n return segs.reduce(function (acc, curr) {\n const prevSeg = acc.length - 1 >= 0 ? acc[acc.length - 1] : null\n if (prevSeg && prevSeg.mode === curr.mode) {\n acc[acc.length - 1].data += curr.data\n return acc\n }\n\n acc.push(curr)\n return acc\n }, [])\n}\n\n/**\n * Generates a list of all possible nodes combination which\n * will be used to build a segments graph.\n *\n * Nodes are divided by groups. Each group will contain a list of all the modes\n * in which is possible to encode the given text.\n *\n * For example the text '12345' can be encoded as Numeric, Alphanumeric or Byte.\n * The group for '12345' will contain then 3 objects, one for each\n * possible encoding mode.\n *\n * Each node represents a possible segment.\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction buildNodes (segs) {\n const nodes = []\n for (let i = 0; i < segs.length; i++) {\n const seg = segs[i]\n\n switch (seg.mode) {\n case Mode.NUMERIC:\n nodes.push([seg,\n { data: seg.data, mode: Mode.ALPHANUMERIC, length: seg.length },\n { data: seg.data, mode: Mode.BYTE, length: seg.length }\n ])\n break\n case Mode.ALPHANUMERIC:\n nodes.push([seg,\n { data: seg.data, mode: Mode.BYTE, length: seg.length }\n ])\n break\n case Mode.KANJI:\n nodes.push([seg,\n { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) }\n ])\n break\n case Mode.BYTE:\n nodes.push([\n { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) }\n ])\n }\n }\n\n return nodes\n}\n\n/**\n * Builds a graph from a list of nodes.\n * All segments in each node group will be connected with all the segments of\n * the next group and so on.\n *\n * At each connection will be assigned a weight depending on the\n * segment's byte length.\n *\n * @param {Array} nodes Array of object with segments data\n * @param {Number} version QR Code version\n * @return {Object} Graph of all possible segments\n */\nfunction buildGraph (nodes, version) {\n const table = {}\n const graph = { start: {} }\n let prevNodeIds = ['start']\n\n for (let i = 0; i < nodes.length; i++) {\n const nodeGroup = nodes[i]\n const currentNodeIds = []\n\n for (let j = 0; j < nodeGroup.length; j++) {\n const node = nodeGroup[j]\n const key = '' + i + j\n\n currentNodeIds.push(key)\n table[key] = { node: node, lastCount: 0 }\n graph[key] = {}\n\n for (let n = 0; n < prevNodeIds.length; n++) {\n const prevNodeId = prevNodeIds[n]\n\n if (table[prevNodeId] && table[prevNodeId].node.mode === node.mode) {\n graph[prevNodeId][key] =\n getSegmentBitsLength(table[prevNodeId].lastCount + node.length, node.mode) -\n getSegmentBitsLength(table[prevNodeId].lastCount, node.mode)\n\n table[prevNodeId].lastCount += node.length\n } else {\n if (table[prevNodeId]) table[prevNodeId].lastCount = node.length\n\n graph[prevNodeId][key] = getSegmentBitsLength(node.length, node.mode) +\n 4 + Mode.getCharCountIndicator(node.mode, version) // switch cost\n }\n }\n }\n\n prevNodeIds = currentNodeIds\n }\n\n for (let n = 0; n < prevNodeIds.length; n++) {\n graph[prevNodeIds[n]].end = 0\n }\n\n return { map: graph, table: table }\n}\n\n/**\n * Builds a segment from a specified data and mode.\n * If a mode is not specified, the more suitable will be used.\n *\n * @param {String} data Input data\n * @param {Mode | String} modesHint Data mode\n * @return {Segment} Segment\n */\nfunction buildSingleSegment (data, modesHint) {\n let mode\n const bestMode = Mode.getBestModeForData(data)\n\n mode = Mode.from(modesHint, bestMode)\n\n // Make sure data can be encoded\n if (mode !== Mode.BYTE && mode.bit < bestMode.bit) {\n throw new Error('\"' + data + '\"' +\n ' cannot be encoded with mode ' + Mode.toString(mode) +\n '.\\n Suggested mode is: ' + Mode.toString(bestMode))\n }\n\n // Use Mode.BYTE if Kanji support is disabled\n if (mode === Mode.KANJI && !Utils.isKanjiModeEnabled()) {\n mode = Mode.BYTE\n }\n\n switch (mode) {\n case Mode.NUMERIC:\n return new NumericData(data)\n\n case Mode.ALPHANUMERIC:\n return new AlphanumericData(data)\n\n case Mode.KANJI:\n return new KanjiData(data)\n\n case Mode.BYTE:\n return new ByteData(data)\n }\n}\n\n/**\n * Builds a list of segments from an array.\n * Array can contain Strings or Objects with segment's info.\n *\n * For each item which is a string, will be generated a segment with the given\n * string and the more appropriate encoding mode.\n *\n * For each item which is an object, will be generated a segment with the given\n * data and mode.\n * Objects must contain at least the property \"data\".\n * If property \"mode\" is not present, the more suitable mode will be used.\n *\n * @param {Array} array Array of objects with segments data\n * @return {Array} Array of Segments\n */\nexports.fromArray = function fromArray (array) {\n return array.reduce(function (acc, seg) {\n if (typeof seg === 'string') {\n acc.push(buildSingleSegment(seg, null))\n } else if (seg.data) {\n acc.push(buildSingleSegment(seg.data, seg.mode))\n }\n\n return acc\n }, [])\n}\n\n/**\n * Builds an optimized sequence of segments from a string,\n * which will produce the shortest possible bitstream.\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @return {Array} Array of segments\n */\nexports.fromString = function fromString (data, version) {\n const segs = getSegmentsFromString(data, Utils.isKanjiModeEnabled())\n\n const nodes = buildNodes(segs)\n const graph = buildGraph(nodes, version)\n const path = dijkstra.find_path(graph.map, 'start', 'end')\n\n const optimizedSegs = []\n for (let i = 1; i < path.length - 1; i++) {\n optimizedSegs.push(graph.table[path[i]].node)\n }\n\n return exports.fromArray(mergeSegments(optimizedSegs))\n}\n\n/**\n * Splits a string in various segments with the modes which\n * best represent their content.\n * The produced segments are far from being optimized.\n * The output of this function is only used to estimate a QR Code version\n * which may contain the data.\n *\n * @param {string} data Input string\n * @return {Array} Array of segments\n */\nexports.rawSplit = function rawSplit (data) {\n return exports.fromArray(\n getSegmentsFromString(data, Utils.isKanjiModeEnabled())\n )\n}\n","let toSJISFunction\nconst CODEWORDS_COUNT = [\n 0, // Not used\n 26, 44, 70, 100, 134, 172, 196, 242, 292, 346,\n 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085,\n 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185,\n 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706\n]\n\n/**\n * Returns the QR Code size for the specified version\n *\n * @param {Number} version QR Code version\n * @return {Number} size of QR code\n */\nexports.getSymbolSize = function getSymbolSize (version) {\n if (!version) throw new Error('\"version\" cannot be null or undefined')\n if (version < 1 || version > 40) throw new Error('\"version\" should be in range from 1 to 40')\n return version * 4 + 17\n}\n\n/**\n * Returns the total number of codewords used to store data and EC information.\n *\n * @param {Number} version QR Code version\n * @return {Number} Data length in bits\n */\nexports.getSymbolTotalCodewords = function getSymbolTotalCodewords (version) {\n return CODEWORDS_COUNT[version]\n}\n\n/**\n * Encode data with Bose-Chaudhuri-Hocquenghem\n *\n * @param {Number} data Value to encode\n * @return {Number} Encoded value\n */\nexports.getBCHDigit = function (data) {\n let digit = 0\n\n while (data !== 0) {\n digit++\n data >>>= 1\n }\n\n return digit\n}\n\nexports.setToSJISFunction = function setToSJISFunction (f) {\n if (typeof f !== 'function') {\n throw new Error('\"toSJISFunc\" is not a valid function.')\n }\n\n toSJISFunction = f\n}\n\nexports.isKanjiModeEnabled = function () {\n return typeof toSJISFunction !== 'undefined'\n}\n\nexports.toSJIS = function toSJIS (kanji) {\n return toSJISFunction(kanji)\n}\n","/**\n * Check if QR Code version is valid\n *\n * @param {Number} version QR Code version\n * @return {Boolean} true if valid version, false otherwise\n */\nexports.isValid = function isValid (version) {\n return !isNaN(version) && version >= 1 && version <= 40\n}\n","const Utils = require('./utils')\nconst ECCode = require('./error-correction-code')\nconst ECLevel = require('./error-correction-level')\nconst Mode = require('./mode')\nconst VersionCheck = require('./version-check')\n\n// Generator polynomial used to encode version information\nconst G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0)\nconst G18_BCH = Utils.getBCHDigit(G18)\n\nfunction getBestVersionForDataLength (mode, length, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, mode)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\nfunction getReservedBitsCount (mode, version) {\n // Character count indicator + mode indicator bits\n return Mode.getCharCountIndicator(mode, version) + 4\n}\n\nfunction getTotalBitsFromDataArray (segments, version) {\n let totalBits = 0\n\n segments.forEach(function (data) {\n const reservedBits = getReservedBitsCount(data.mode, version)\n totalBits += reservedBits + data.getBitsLength()\n })\n\n return totalBits\n}\n\nfunction getBestVersionForMixedData (segments, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n const length = getTotalBitsFromDataArray(segments, currentVersion)\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, Mode.MIXED)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\n/**\n * Returns version number from a value.\n * If value is not a valid version, returns defaultValue\n *\n * @param {Number|String} value QR Code version\n * @param {Number} defaultValue Fallback value\n * @return {Number} QR Code version number\n */\nexports.from = function from (value, defaultValue) {\n if (VersionCheck.isValid(value)) {\n return parseInt(value, 10)\n }\n\n return defaultValue\n}\n\n/**\n * Returns how much data can be stored with the specified QR code version\n * and error correction level\n *\n * @param {Number} version QR Code version (1-40)\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} Quantity of storable data\n */\nexports.getCapacity = function getCapacity (version, errorCorrectionLevel, mode) {\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid QR Code version')\n }\n\n // Use Byte mode as default\n if (typeof mode === 'undefined') mode = Mode.BYTE\n\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n if (mode === Mode.MIXED) return dataTotalCodewordsBits\n\n const usableBits = dataTotalCodewordsBits - getReservedBitsCount(mode, version)\n\n // Return max number of storable codewords\n switch (mode) {\n case Mode.NUMERIC:\n return Math.floor((usableBits / 10) * 3)\n\n case Mode.ALPHANUMERIC:\n return Math.floor((usableBits / 11) * 2)\n\n case Mode.KANJI:\n return Math.floor(usableBits / 13)\n\n case Mode.BYTE:\n default:\n return Math.floor(usableBits / 8)\n }\n}\n\n/**\n * Returns the minimum version needed to contain the amount of data\n *\n * @param {Segment} data Segment of data\n * @param {Number} [errorCorrectionLevel=H] Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} QR Code version\n */\nexports.getBestVersionForData = function getBestVersionForData (data, errorCorrectionLevel) {\n let seg\n\n const ecl = ECLevel.from(errorCorrectionLevel, ECLevel.M)\n\n if (Array.isArray(data)) {\n if (data.length > 1) {\n return getBestVersionForMixedData(data, ecl)\n }\n\n if (data.length === 0) {\n return 1\n }\n\n seg = data[0]\n } else {\n seg = data\n }\n\n return getBestVersionForDataLength(seg.mode, seg.getLength(), ecl)\n}\n\n/**\n * Returns version information with relative error correction bits\n *\n * The version information is included in QR Code symbols of version 7 or larger.\n * It consists of an 18-bit sequence containing 6 data bits,\n * with 12 error correction bits calculated using the (18, 6) Golay code.\n *\n * @param {Number} version QR Code version\n * @return {Number} Encoded version info bits\n */\nexports.getEncodedBits = function getEncodedBits (version) {\n if (!VersionCheck.isValid(version) || version < 7) {\n throw new Error('Invalid QR Code version')\n }\n\n let d = version << 12\n\n while (Utils.getBCHDigit(d) - G18_BCH >= 0) {\n d ^= (G18 << (Utils.getBCHDigit(d) - G18_BCH))\n }\n\n return (version << 12) | d\n}\n","const Utils = require('./utils')\n\nfunction clearCanvas (ctx, canvas, size) {\n ctx.clearRect(0, 0, canvas.width, canvas.height)\n\n if (!canvas.style) canvas.style = {}\n canvas.height = size\n canvas.width = size\n canvas.style.height = size + 'px'\n canvas.style.width = size + 'px'\n}\n\nfunction getCanvasElement () {\n try {\n return document.createElement('canvas')\n } catch (e) {\n throw new Error('You need to specify a canvas element')\n }\n}\n\nexports.render = function render (qrData, canvas, options) {\n let opts = options\n let canvasEl = canvas\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!canvas) {\n canvasEl = getCanvasElement()\n }\n\n opts = Utils.getOptions(opts)\n const size = Utils.getImageWidth(qrData.modules.size, opts)\n\n const ctx = canvasEl.getContext('2d')\n const image = ctx.createImageData(size, size)\n Utils.qrToImageData(image.data, qrData, opts)\n\n clearCanvas(ctx, canvasEl, size)\n ctx.putImageData(image, 0, 0)\n\n return canvasEl\n}\n\nexports.renderToDataURL = function renderToDataURL (qrData, canvas, options) {\n let opts = options\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!opts) opts = {}\n\n const canvasEl = exports.render(qrData, canvas, opts)\n\n const type = opts.type || 'image/png'\n const rendererOpts = opts.rendererOpts || {}\n\n return canvasEl.toDataURL(type, rendererOpts.quality)\n}\n","const Utils = require('./utils')\n\nfunction getColorAttrib (color, attrib) {\n const alpha = color.a / 255\n const str = attrib + '=\"' + color.hex + '\"'\n\n return alpha < 1\n ? str + ' ' + attrib + '-opacity=\"' + alpha.toFixed(2).slice(1) + '\"'\n : str\n}\n\nfunction svgCmd (cmd, x, y) {\n let str = cmd + x\n if (typeof y !== 'undefined') str += ' ' + y\n\n return str\n}\n\nfunction qrToPath (data, size, margin) {\n let path = ''\n let moveBy = 0\n let newRow = false\n let lineLength = 0\n\n for (let i = 0; i < data.length; i++) {\n const col = Math.floor(i % size)\n const row = Math.floor(i / size)\n\n if (!col && !newRow) newRow = true\n\n if (data[i]) {\n lineLength++\n\n if (!(i > 0 && col > 0 && data[i - 1])) {\n path += newRow\n ? svgCmd('M', col + margin, 0.5 + row + margin)\n : svgCmd('m', moveBy, 0)\n\n moveBy = 0\n newRow = false\n }\n\n if (!(col + 1 < size && data[i + 1])) {\n path += svgCmd('h', lineLength)\n lineLength = 0\n }\n } else {\n moveBy++\n }\n }\n\n return path\n}\n\nexports.render = function render (qrData, options, cb) {\n const opts = Utils.getOptions(options)\n const size = qrData.modules.size\n const data = qrData.modules.data\n const qrcodesize = size + opts.margin * 2\n\n const bg = !opts.color.light.a\n ? ''\n : ''\n\n const path =\n ''\n\n const viewBox = 'viewBox=\"' + '0 0 ' + qrcodesize + ' ' + qrcodesize + '\"'\n\n const width = !opts.width ? '' : 'width=\"' + opts.width + '\" height=\"' + opts.width + '\" '\n\n const svgTag = '' + bg + path + '\\n'\n\n if (typeof cb === 'function') {\n cb(null, svgTag)\n }\n\n return svgTag\n}\n","function hex2rgba (hex) {\n if (typeof hex === 'number') {\n hex = hex.toString()\n }\n\n if (typeof hex !== 'string') {\n throw new Error('Color should be defined as hex string')\n }\n\n let hexCode = hex.slice().replace('#', '').split('')\n if (hexCode.length < 3 || hexCode.length === 5 || hexCode.length > 8) {\n throw new Error('Invalid hex color: ' + hex)\n }\n\n // Convert from short to long form (fff -> ffffff)\n if (hexCode.length === 3 || hexCode.length === 4) {\n hexCode = Array.prototype.concat.apply([], hexCode.map(function (c) {\n return [c, c]\n }))\n }\n\n // Add default alpha value\n if (hexCode.length === 6) hexCode.push('F', 'F')\n\n const hexValue = parseInt(hexCode.join(''), 16)\n\n return {\n r: (hexValue >> 24) & 255,\n g: (hexValue >> 16) & 255,\n b: (hexValue >> 8) & 255,\n a: hexValue & 255,\n hex: '#' + hexCode.slice(0, 6).join('')\n }\n}\n\nexports.getOptions = function getOptions (options) {\n if (!options) options = {}\n if (!options.color) options.color = {}\n\n const margin = typeof options.margin === 'undefined' ||\n options.margin === null ||\n options.margin < 0\n ? 4\n : options.margin\n\n const width = options.width && options.width >= 21 ? options.width : undefined\n const scale = options.scale || 4\n\n return {\n width: width,\n scale: width ? 4 : scale,\n margin: margin,\n color: {\n dark: hex2rgba(options.color.dark || '#000000ff'),\n light: hex2rgba(options.color.light || '#ffffffff')\n },\n type: options.type,\n rendererOpts: options.rendererOpts || {}\n }\n}\n\nexports.getScale = function getScale (qrSize, opts) {\n return opts.width && opts.width >= qrSize + opts.margin * 2\n ? opts.width / (qrSize + opts.margin * 2)\n : opts.scale\n}\n\nexports.getImageWidth = function getImageWidth (qrSize, opts) {\n const scale = exports.getScale(qrSize, opts)\n return Math.floor((qrSize + opts.margin * 2) * scale)\n}\n\nexports.qrToImageData = function qrToImageData (imgData, qr, opts) {\n const size = qr.modules.size\n const data = qr.modules.data\n const scale = exports.getScale(size, opts)\n const symbolSize = Math.floor((size + opts.margin * 2) * scale)\n const scaledMargin = opts.margin * scale\n const palette = [opts.color.light, opts.color.dark]\n\n for (let i = 0; i < symbolSize; i++) {\n for (let j = 0; j < symbolSize; j++) {\n let posDst = (i * symbolSize + j) * 4\n let pxColor = opts.color.light\n\n if (i >= scaledMargin && j >= scaledMargin &&\n i < symbolSize - scaledMargin && j < symbolSize - scaledMargin) {\n const iSrc = Math.floor((i - scaledMargin) / scale)\n const jSrc = Math.floor((j - scaledMargin) / scale)\n pxColor = palette[data[iSrc * size + jSrc] ? 1 : 0]\n }\n\n imgData[posDst++] = pxColor.r\n imgData[posDst++] = pxColor.g\n imgData[posDst++] = pxColor.b\n imgData[posDst] = pxColor.a\n }\n }\n}\n","import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","import { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription } from './Subscription';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\nexport class Observable {\n constructor(subscribe) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n lift(operator) {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n subscribe(observerOrNext, error, complete) {\n const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n errorContext(() => {\n const { operator, source } = this;\n subscriber.add(operator\n ?\n operator.call(subscriber, source)\n : source\n ?\n this._subscribe(subscriber)\n :\n this._trySubscribe(subscriber));\n });\n return subscriber;\n }\n _trySubscribe(sink) {\n try {\n return this._subscribe(sink);\n }\n catch (err) {\n sink.error(err);\n }\n }\n forEach(next, promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: (value) => {\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n subscriber.unsubscribe();\n }\n },\n error: reject,\n complete: resolve,\n });\n this.subscribe(subscriber);\n });\n }\n _subscribe(subscriber) {\n var _a;\n return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);\n }\n [Symbol_observable]() {\n return this;\n }\n pipe(...operations) {\n return pipeFromArray(operations)(this);\n }\n toPromise(promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n let value;\n this.subscribe((x) => (value = x), (err) => reject(err), () => resolve(value));\n });\n }\n}\nObservable.create = (subscribe) => {\n return new Observable(subscribe);\n};\nfunction getPromiseCtor(promiseCtor) {\n var _a;\n return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;\n}\nfunction isObserver(value) {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\nfunction isSubscriber(value) {\n return (value && value instanceof Subscriber) || (isObserver(value) && isSubscription(value));\n}\n","import { Subject } from './Subject';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class ReplaySubject extends Subject {\n constructor(_bufferSize = Infinity, _windowTime = Infinity, _timestampProvider = dateTimestampProvider) {\n super();\n this._bufferSize = _bufferSize;\n this._windowTime = _windowTime;\n this._timestampProvider = _timestampProvider;\n this._buffer = [];\n this._infiniteTimeWindow = true;\n this._infiniteTimeWindow = _windowTime === Infinity;\n this._bufferSize = Math.max(1, _bufferSize);\n this._windowTime = Math.max(1, _windowTime);\n }\n next(value) {\n const { isStopped, _buffer, _infiniteTimeWindow, _timestampProvider, _windowTime } = this;\n if (!isStopped) {\n _buffer.push(value);\n !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);\n }\n this._trimBuffer();\n super.next(value);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._trimBuffer();\n const subscription = this._innerSubscribe(subscriber);\n const { _infiniteTimeWindow, _buffer } = this;\n const copy = _buffer.slice();\n for (let i = 0; i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) {\n subscriber.next(copy[i]);\n }\n this._checkFinalizedStatuses(subscriber);\n return subscription;\n }\n _trimBuffer() {\n const { _bufferSize, _timestampProvider, _buffer, _infiniteTimeWindow } = this;\n const adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;\n _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);\n if (!_infiniteTimeWindow) {\n const now = _timestampProvider.now();\n let last = 0;\n for (let i = 1; i < _buffer.length && _buffer[i] <= now; i += 2) {\n last = i;\n }\n last && _buffer.splice(0, last + 1);\n }\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","export const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined))();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind,\n value,\n error,\n };\n}\n","import { isFunction } from './util/isFunction';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\nexport class Subscriber extends Subscription {\n constructor(destination) {\n super();\n this.isStopped = false;\n if (destination) {\n this.destination = destination;\n if (isSubscription(destination)) {\n destination.add(this);\n }\n }\n else {\n this.destination = EMPTY_OBSERVER;\n }\n }\n static create(next, error, complete) {\n return new SafeSubscriber(next, error, complete);\n }\n next(value) {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n }\n else {\n this._next(value);\n }\n }\n error(err) {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n }\n else {\n this.isStopped = true;\n this._error(err);\n }\n }\n complete() {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n }\n else {\n this.isStopped = true;\n this._complete();\n }\n }\n unsubscribe() {\n if (!this.closed) {\n this.isStopped = true;\n super.unsubscribe();\n this.destination = null;\n }\n }\n _next(value) {\n this.destination.next(value);\n }\n _error(err) {\n try {\n this.destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n _complete() {\n try {\n this.destination.complete();\n }\n finally {\n this.unsubscribe();\n }\n }\n}\nconst _bind = Function.prototype.bind;\nfunction bind(fn, thisArg) {\n return _bind.call(fn, thisArg);\n}\nclass ConsumerObserver {\n constructor(partialObserver) {\n this.partialObserver = partialObserver;\n }\n next(value) {\n const { partialObserver } = this;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n error(err) {\n const { partialObserver } = this;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n else {\n handleUnhandledError(err);\n }\n }\n complete() {\n const { partialObserver } = this;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n}\nexport class SafeSubscriber extends Subscriber {\n constructor(observerOrNext, error, complete) {\n super();\n let partialObserver;\n if (isFunction(observerOrNext) || !observerOrNext) {\n partialObserver = {\n next: (observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined),\n error: error !== null && error !== void 0 ? error : undefined,\n complete: complete !== null && complete !== void 0 ? complete : undefined,\n };\n }\n else {\n let context;\n if (this && config.useDeprecatedNextContext) {\n context = Object.create(observerOrNext);\n context.unsubscribe = () => this.unsubscribe();\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context),\n error: observerOrNext.error && bind(observerOrNext.error, context),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context),\n };\n }\n else {\n partialObserver = observerOrNext;\n }\n }\n this.destination = new ConsumerObserver(partialObserver);\n }\n}\nfunction handleUnhandledError(error) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n }\n else {\n reportUnhandledError(error);\n }\n}\nfunction defaultErrorHandler(err) {\n throw err;\n}\nfunction handleStoppedNotification(notification, subscriber) {\n const { onStoppedNotification } = config;\n onStoppedNotification && timeoutProvider.setTimeout(() => onStoppedNotification(notification, subscriber));\n}\nexport const EMPTY_OBSERVER = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop,\n};\n","import { createErrorClass } from './createErrorClass';\nexport const UnsubscriptionError = createErrorClass((_super) => function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}`\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n});\n","import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nexport class Subscription {\n constructor(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n unsubscribe() {\n let errors;\n if (!this.closed) {\n this.closed = true;\n const { _parentage } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n const { initialTeardown: initialFinalizer } = this;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n const { _finalizers } = this;\n if (_finalizers) {\n this._finalizers = null;\n for (const finalizer of _finalizers) {\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n add(teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n }\n _hasParent(parent) {\n const { _parentage } = this;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n }\n _addParent(parent) {\n const { _parentage } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n _removeParent(parent) {\n const { _parentage } = this;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n remove(teardown) {\n const { _finalizers } = this;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\nSubscription.EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n})();\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n","export const config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n","import { EmptyError } from './util/EmptyError';\nimport { SafeSubscriber } from './Subscriber';\nexport function firstValueFrom(source, config) {\n const hasConfig = typeof config === 'object';\n return new Promise((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: (value) => {\n resolve(value);\n subscriber.unsubscribe();\n },\n error: reject,\n complete: () => {\n if (hasConfig) {\n resolve(config.defaultValue);\n }\n else {\n reject(new EmptyError());\n }\n },\n });\n source.subscribe(subscriber);\n });\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nimport { refCount as higherOrderRefCount } from '../operators/refCount';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { hasLift } from '../util/lift';\nexport class ConnectableObservable extends Observable {\n constructor(source, subjectFactory) {\n super();\n this.source = source;\n this.subjectFactory = subjectFactory;\n this._subject = null;\n this._refCount = 0;\n this._connection = null;\n if (hasLift(source)) {\n this.lift = source.lift;\n }\n }\n _subscribe(subscriber) {\n return this.getSubject().subscribe(subscriber);\n }\n getSubject() {\n const subject = this._subject;\n if (!subject || subject.isStopped) {\n this._subject = this.subjectFactory();\n }\n return this._subject;\n }\n _teardown() {\n this._refCount = 0;\n const { _connection } = this;\n this._subject = this._connection = null;\n _connection === null || _connection === void 0 ? void 0 : _connection.unsubscribe();\n }\n connect() {\n let connection = this._connection;\n if (!connection) {\n connection = this._connection = new Subscription();\n const subject = this.getSubject();\n connection.add(this.source.subscribe(createOperatorSubscriber(subject, undefined, () => {\n this._teardown();\n subject.complete();\n }, (err) => {\n this._teardown();\n subject.error(err);\n }, () => this._teardown())));\n if (connection.closed) {\n this._connection = null;\n connection = Subscription.EMPTY;\n }\n }\n return connection;\n }\n refCount() {\n return higherOrderRefCount()(this);\n }\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { from } from './from';\nimport { identity } from '../util/identity';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { popResultSelector, popScheduler } from '../util/args';\nimport { createObject } from '../util/createObject';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function combineLatest(...args) {\n const scheduler = popScheduler(args);\n const resultSelector = popResultSelector(args);\n const { args: observables, keys } = argsArgArrayOrObject(args);\n if (observables.length === 0) {\n return from([], scheduler);\n }\n const result = new Observable(combineLatestInit(observables, scheduler, keys\n ?\n (values) => createObject(keys, values)\n :\n identity));\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\nexport function combineLatestInit(observables, scheduler, valueTransform = identity) {\n return (subscriber) => {\n maybeSchedule(scheduler, () => {\n const { length } = observables;\n const values = new Array(length);\n let active = length;\n let remainingFirstValues = length;\n for (let i = 0; i < length; i++) {\n maybeSchedule(scheduler, () => {\n const source = from(observables[i], scheduler);\n let hasFirstValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n values[i] = value;\n if (!hasFirstValue) {\n hasFirstValue = true;\n remainingFirstValues--;\n }\n if (!remainingFirstValues) {\n subscriber.next(valueTransform(values.slice()));\n }\n }, () => {\n if (!--active) {\n subscriber.complete();\n }\n }));\n }, subscriber);\n }\n }, subscriber);\n };\n}\nfunction maybeSchedule(scheduler, execute, subscription) {\n if (scheduler) {\n executeSchedule(subscription, scheduler, execute);\n }\n else {\n execute();\n }\n}\n","import { concatAll } from '../operators/concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function concat(...args) {\n return concatAll()(from(args, popScheduler(args)));\n}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable((subscriber) => {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { innerFrom } from './innerFrom';\nimport { popResultSelector } from '../util/args';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { createObject } from '../util/createObject';\nexport function forkJoin(...args) {\n const resultSelector = popResultSelector(args);\n const { args: sources, keys } = argsArgArrayOrObject(args);\n const result = new Observable((subscriber) => {\n const { length } = sources;\n if (!length) {\n subscriber.complete();\n return;\n }\n const values = new Array(length);\n let remainingCompletions = length;\n let remainingEmissions = length;\n for (let sourceIndex = 0; sourceIndex < length; sourceIndex++) {\n let hasValue = false;\n innerFrom(sources[sourceIndex]).subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (!hasValue) {\n hasValue = true;\n remainingEmissions--;\n }\n values[sourceIndex] = value;\n }, () => remainingCompletions--, undefined, () => {\n if (!remainingCompletions || !hasValue) {\n if (!remainingEmissions) {\n subscriber.next(keys ? createObject(keys, values) : values);\n }\n subscriber.complete();\n }\n }));\n }\n });\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target)\n ? eventTargetMethods.map((methodName) => (handler) => target[methodName](eventName, handler, options))\n :\n isNodeStyleEventEmitter(target)\n ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName))\n : isJQueryStyleEventEmitter(target)\n ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName))\n : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap((subTarget) => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable((subscriber) => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return (methodName) => (handler) => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n","import { defer } from './defer';\nexport function iif(condition, trueResult, falseResult) {\n return defer(() => (condition() ? trueResult : falseResult));\n}\n","import { __asyncValues, __awaiter } from \"tslib\";\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isPromise } from '../util/isPromise';\nimport { Observable } from '../Observable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isIterable } from '../util/isIterable';\nimport { isReadableStreamLike, readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nimport { isFunction } from '../util/isFunction';\nimport { reportUnhandledError } from '../util/reportUnhandledError';\nimport { observable as Symbol_observable } from '../symbol/observable';\nexport function innerFrom(input) {\n if (input instanceof Observable) {\n return input;\n }\n if (input != null) {\n if (isInteropObservable(input)) {\n return fromInteropObservable(input);\n }\n if (isArrayLike(input)) {\n return fromArrayLike(input);\n }\n if (isPromise(input)) {\n return fromPromise(input);\n }\n if (isAsyncIterable(input)) {\n return fromAsyncIterable(input);\n }\n if (isIterable(input)) {\n return fromIterable(input);\n }\n if (isReadableStreamLike(input)) {\n return fromReadableStreamLike(input);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\nexport function fromInteropObservable(obj) {\n return new Observable((subscriber) => {\n const obs = obj[Symbol_observable]();\n if (isFunction(obs.subscribe)) {\n return obs.subscribe(subscriber);\n }\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n });\n}\nexport function fromArrayLike(array) {\n return new Observable((subscriber) => {\n for (let i = 0; i < array.length && !subscriber.closed; i++) {\n subscriber.next(array[i]);\n }\n subscriber.complete();\n });\n}\nexport function fromPromise(promise) {\n return new Observable((subscriber) => {\n promise\n .then((value) => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, (err) => subscriber.error(err))\n .then(null, reportUnhandledError);\n });\n}\nexport function fromIterable(iterable) {\n return new Observable((subscriber) => {\n for (const value of iterable) {\n subscriber.next(value);\n if (subscriber.closed) {\n return;\n }\n }\n subscriber.complete();\n });\n}\nexport function fromAsyncIterable(asyncIterable) {\n return new Observable((subscriber) => {\n process(asyncIterable, subscriber).catch((err) => subscriber.error(err));\n });\n}\nexport function fromReadableStreamLike(readableStream) {\n return fromAsyncIterable(readableStreamLikeToAsyncGenerator(readableStream));\n}\nfunction process(asyncIterable, subscriber) {\n var asyncIterable_1, asyncIterable_1_1;\n var e_1, _a;\n return __awaiter(this, void 0, void 0, function* () {\n try {\n for (asyncIterable_1 = __asyncValues(asyncIterable); asyncIterable_1_1 = yield asyncIterable_1.next(), !asyncIterable_1_1.done;) {\n const value = asyncIterable_1_1.value;\n subscriber.next(value);\n if (subscriber.closed) {\n return;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (asyncIterable_1_1 && !asyncIterable_1_1.done && (_a = asyncIterable_1.return)) yield _a.call(asyncIterable_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n subscriber.complete();\n });\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Observable } from '../Observable';\nimport { noop } from '../util/noop';\nexport const NEVER = new Observable(noop);\nexport function never() {\n return NEVER;\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from '../util/isFunction';\nexport function throwError(errorOrErrorFactory, scheduler) {\n const errorFactory = isFunction(errorOrErrorFactory) ? errorOrErrorFactory : () => errorOrErrorFactory;\n const init = (subscriber) => subscriber.error(errorFactory());\n return new Observable(scheduler ? (subscriber) => scheduler.schedule(init, 0, subscriber) : init);\n}\n","import { Observable } from '../Observable';\nimport { async as asyncScheduler } from '../scheduler/async';\nimport { isScheduler } from '../util/isScheduler';\nimport { isValidDate } from '../util/isDate';\nexport function timer(dueTime = 0, intervalOrScheduler, scheduler = asyncScheduler) {\n let intervalDuration = -1;\n if (intervalOrScheduler != null) {\n if (isScheduler(intervalOrScheduler)) {\n scheduler = intervalOrScheduler;\n }\n else {\n intervalDuration = intervalOrScheduler;\n }\n }\n return new Observable((subscriber) => {\n let due = isValidDate(dueTime) ? +dueTime - scheduler.now() : dueTime;\n if (due < 0) {\n due = 0;\n }\n let n = 0;\n return scheduler.schedule(function () {\n if (!subscriber.closed) {\n subscriber.next(n++);\n if (0 <= intervalDuration) {\n this.schedule(undefined, intervalDuration);\n }\n else {\n subscriber.complete();\n }\n }\n }, due);\n });\n}\n","export function isValidDate(value) {\n return value instanceof Date && !isNaN(value);\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nimport { argsOrArgArray } from '../util/argsOrArgArray';\nimport { EMPTY } from './empty';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { popResultSelector } from '../util/args';\nexport function zip(...args) {\n const resultSelector = popResultSelector(args);\n const sources = argsOrArgArray(args);\n return sources.length\n ? new Observable((subscriber) => {\n let buffers = sources.map(() => []);\n let completed = sources.map(() => false);\n subscriber.add(() => {\n buffers = completed = null;\n });\n for (let sourceIndex = 0; !subscriber.closed && sourceIndex < sources.length; sourceIndex++) {\n innerFrom(sources[sourceIndex]).subscribe(createOperatorSubscriber(subscriber, (value) => {\n buffers[sourceIndex].push(value);\n if (buffers.every((buffer) => buffer.length)) {\n const result = buffers.map((buffer) => buffer.shift());\n subscriber.next(resultSelector ? resultSelector(...result) : result);\n if (buffers.some((buffer, i) => !buffer.length && completed[i])) {\n subscriber.complete();\n }\n }\n }, () => {\n completed[sourceIndex] = true;\n !buffers[sourceIndex].length && subscriber.complete();\n }));\n }\n return () => {\n buffers = completed = null;\n };\n })\n : EMPTY;\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { operate } from '../util/lift';\nexport function catchError(selector) {\n return operate((source, subscriber) => {\n let innerSub = null;\n let syncUnsub = false;\n let handledResult;\n innerSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, undefined, (err) => {\n handledResult = innerFrom(selector(err, catchError(selector)(source)));\n if (innerSub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n else {\n syncUnsub = true;\n }\n }));\n if (syncUnsub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { isFunction } from '../util/isFunction';\nexport function concatMap(project, resultSelector) {\n return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler = asyncScheduler) {\n return operate((source, subscriber) => {\n let activeTask = null;\n let lastValue = null;\n let lastTime = null;\n const emit = () => {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n const targetTime = lastTime + dueTime;\n const now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, () => {\n emit();\n subscriber.complete();\n }, undefined, () => {\n lastValue = activeTask = null;\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function defaultIfEmpty(defaultValue) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n subscriber.next(value);\n }, () => {\n if (!hasValue) {\n subscriber.next(defaultValue);\n }\n subscriber.complete();\n }));\n });\n}\n","import { concat } from '../observable/concat';\nimport { take } from './take';\nimport { ignoreElements } from './ignoreElements';\nimport { mapTo } from './mapTo';\nimport { mergeMap } from './mergeMap';\nimport { innerFrom } from '../observable/innerFrom';\nexport function delayWhen(delayDurationSelector, subscriptionDelay) {\n if (subscriptionDelay) {\n return (source) => concat(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));\n }\n return mergeMap((value, index) => innerFrom(delayDurationSelector(value, index)).pipe(take(1), mapTo(value)));\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nexport function ignoreElements() {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, noop));\n });\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { delayWhen } from './delayWhen';\nimport { timer } from '../observable/timer';\nexport function delay(due, scheduler = asyncScheduler) {\n const duration = timer(due, scheduler);\n return delayWhen(() => duration);\n}\n","import { identity } from '../util/identity';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function distinctUntilChanged(comparator, keySelector = identity) {\n comparator = comparator !== null && comparator !== void 0 ? comparator : defaultCompare;\n return operate((source, subscriber) => {\n let previousKey;\n let first = true;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n const currentKey = keySelector(value);\n if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function filter(predicate, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => predicate.call(thisArg, value, index++) && subscriber.next(value)));\n });\n}\n","import { operate } from '../util/lift';\nexport function finalize(callback) {\n return operate((source, subscriber) => {\n try {\n source.subscribe(subscriber);\n }\n finally {\n subscriber.add(callback);\n }\n });\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { take } from './take';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { identity } from '../util/identity';\nexport function first(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { map } from './map';\nexport function mapTo(value) {\n return map(() => value);\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","import { map } from './map';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { mergeInternals } from './mergeInternals';\nimport { isFunction } from '../util/isFunction';\nexport function mergeMap(project, resultSelector, concurrent = Infinity) {\n if (isFunction(resultSelector)) {\n return mergeMap((a, i) => map((b, ii) => resultSelector(a, b, i, ii))(innerFrom(project(a, i))), concurrent);\n }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function refCount() {\n return operate((source, subscriber) => {\n let connection = null;\n source._refCount++;\n const refCounter = createOperatorSubscriber(subscriber, undefined, undefined, undefined, () => {\n if (!source || source._refCount <= 0 || 0 < --source._refCount) {\n connection = null;\n return;\n }\n const sharedConnection = source._connection;\n const conn = connection;\n connection = null;\n if (sharedConnection && (!conn || sharedConnection === conn)) {\n sharedConnection.unsubscribe();\n }\n subscriber.unsubscribe();\n });\n source.subscribe(refCounter);\n if (!refCounter.closed) {\n connection = source.connect();\n }\n });\n}\n","import { operate } from '../util/lift';\nimport { scanInternals } from './scanInternals';\nexport function scan(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, true));\n}\n","import { createOperatorSubscriber } from './OperatorSubscriber';\nexport function scanInternals(accumulator, seed, hasSeed, emitOnNext, emitBeforeComplete) {\n return (source, subscriber) => {\n let hasState = hasSeed;\n let state = seed;\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n const i = index++;\n state = hasState\n ?\n accumulator(state, value, i)\n :\n ((hasState = true), value);\n emitOnNext && subscriber.next(state);\n }, emitBeforeComplete &&\n (() => {\n hasState && subscriber.next(state);\n subscriber.complete();\n })));\n };\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { SafeSubscriber } from '../Subscriber';\nimport { operate } from '../util/lift';\nexport function share(options = {}) {\n const { connector = () => new Subject(), resetOnError = true, resetOnComplete = true, resetOnRefCountZero = true } = options;\n return (wrapperSource) => {\n let connection;\n let resetConnection;\n let subject;\n let refCount = 0;\n let hasCompleted = false;\n let hasErrored = false;\n const cancelReset = () => {\n resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();\n resetConnection = undefined;\n };\n const reset = () => {\n cancelReset();\n connection = subject = undefined;\n hasCompleted = hasErrored = false;\n };\n const resetAndUnsubscribe = () => {\n const conn = connection;\n reset();\n conn === null || conn === void 0 ? void 0 : conn.unsubscribe();\n };\n return operate((source, subscriber) => {\n refCount++;\n if (!hasErrored && !hasCompleted) {\n cancelReset();\n }\n const dest = (subject = subject !== null && subject !== void 0 ? subject : connector());\n subscriber.add(() => {\n refCount--;\n if (refCount === 0 && !hasErrored && !hasCompleted) {\n resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero);\n }\n });\n dest.subscribe(subscriber);\n if (!connection &&\n refCount > 0) {\n connection = new SafeSubscriber({\n next: (value) => dest.next(value),\n error: (err) => {\n hasErrored = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnError, err);\n dest.error(err);\n },\n complete: () => {\n hasCompleted = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnComplete);\n dest.complete();\n },\n });\n innerFrom(source).subscribe(connection);\n }\n })(wrapperSource);\n };\n}\nfunction handleReset(reset, on, ...args) {\n if (on === true) {\n reset();\n return;\n }\n if (on === false) {\n return;\n }\n const onSubscriber = new SafeSubscriber({\n next: () => {\n onSubscriber.unsubscribe();\n reset();\n },\n });\n return innerFrom(on(...args)).subscribe(onSubscriber);\n}\n","import { ReplaySubject } from '../ReplaySubject';\nimport { share } from './share';\nexport function shareReplay(configOrBufferSize, windowTime, scheduler) {\n let bufferSize;\n let refCount = false;\n if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n ({ bufferSize = Infinity, windowTime = Infinity, refCount = false, scheduler } = configOrBufferSize);\n }\n else {\n bufferSize = (configOrBufferSize !== null && configOrBufferSize !== void 0 ? configOrBufferSize : Infinity);\n }\n return share({\n connector: () => new ReplaySubject(bufferSize, windowTime, scheduler),\n resetOnError: true,\n resetOnComplete: false,\n resetOnRefCountZero: refCount,\n });\n}\n","import { filter } from './filter';\nexport function skip(count) {\n return filter((_, index) => count <= index);\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { switchMap } from './switchMap';\nimport { isFunction } from '../util/isFunction';\nexport function switchMapTo(innerObservable, resultSelector) {\n return isFunction(resultSelector) ? switchMap(() => innerObservable, resultSelector) : switchMap(() => innerObservable);\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from '../util/isFunction';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { identity } from '../util/identity';\nexport function tap(observerOrNext, error, complete) {\n const tapObserver = isFunction(observerOrNext) || error || complete\n ?\n { next: observerOrNext, error, complete }\n : observerOrNext;\n return tapObserver\n ? operate((source, subscriber) => {\n var _a;\n (_a = tapObserver.subscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n let isUnsub = true;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n var _a;\n (_a = tapObserver.next) === null || _a === void 0 ? void 0 : _a.call(tapObserver, value);\n subscriber.next(value);\n }, () => {\n var _a;\n isUnsub = false;\n (_a = tapObserver.complete) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n subscriber.complete();\n }, (err) => {\n var _a;\n isUnsub = false;\n (_a = tapObserver.error) === null || _a === void 0 ? void 0 : _a.call(tapObserver, err);\n subscriber.error(err);\n }, () => {\n var _a, _b;\n if (isUnsub) {\n (_a = tapObserver.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n }\n (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);\n }));\n })\n :\n identity;\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function throwIfEmpty(errorFactory = defaultErrorFactory) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n subscriber.next(value);\n }, () => (hasValue ? subscriber.complete() : subscriber.error(errorFactory()))));\n });\n}\nfunction defaultErrorFactory() {\n return new EmptyError();\n}\n","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n","export const intervalProvider = {\n setInterval(handler, timeout, ...args) {\n const { delegate } = intervalProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const { delegate } = intervalProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n },\n delegate: undefined,\n};\n","import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class Scheduler {\n constructor(schedulerActionCtor, now = Scheduler.now) {\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\nScheduler.now = dateTimestampProvider.now;\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, now);\n this.actions = [];\n this._active = false;\n }\n flush(action) {\n const { actions } = this;\n if (this._active) {\n actions.push(action);\n return;\n }\n let error;\n this._active = true;\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()));\n this._active = false;\n if (error) {\n while ((action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { Action } from './Action';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nexport class AsyncAction extends Action {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n schedule(state, delay = 0) {\n var _a;\n if (this.closed) {\n return this;\n }\n this.state = state;\n const id = this.id;\n const scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n return this;\n }\n requestAsyncId(scheduler, _id, delay = 0) {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n recycleAsyncId(_scheduler, id, delay = 0) {\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n return undefined;\n }\n execute(state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n _execute(state, _delay) {\n let errored = false;\n let errorValue;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n unsubscribe() {\n if (!this.closed) {\n const { id, scheduler } = this;\n const { actions } = scheduler;\n this.work = this.state = this.scheduler = null;\n this.pending = false;\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n super.unsubscribe();\n }\n }\n}\n","export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n","export const timeoutProvider = {\n setTimeout(handler, timeout, ...args) {\n const { delegate } = timeoutProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout(handler, timeout, ...args);\n }\n return setTimeout(handler, timeout, ...args);\n },\n clearTimeout(handle) {\n const { delegate } = timeoutProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined,\n};\n","export function getSymbolIterator() {\n if (typeof Symbol !== 'function' || !Symbol.iterator) {\n return '@@iterator';\n }\n return Symbol.iterator;\n}\nexport const iterator = getSymbolIterator();\n","export const observable = (() => (typeof Symbol === 'function' && Symbol.observable) || '@@observable')();\n","import { createErrorClass } from './createErrorClass';\nexport const EmptyError = createErrorClass((_super) => function EmptyErrorImpl() {\n _super(this);\n this.name = 'EmptyError';\n this.message = 'no elements in sequence';\n});\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","const { isArray } = Array;\nconst { getPrototypeOf, prototype: objectProto, keys: getKeys } = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return { args: first, keys: null };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map((key) => first[key]),\n keys,\n };\n }\n }\n return { args: args, keys: null };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n","const { isArray } = Array;\nexport function argsOrArgArray(args) {\n return args.length === 1 && isArray(args[0]) ? args[0] : args;\n}\n","export function arrRemove(arr, item) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n","export function createErrorClass(createImpl) {\n const _super = (instance) => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n","export function createObject(keys, values) {\n return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {});\n}\n","import { config } from '../config';\nlet context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n const isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n const { errorThrown, error } = context;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n }\n else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","export function identity(x) {\n return x;\n}\n","export const isArrayLike = ((x) => x && typeof x.length === 'number' && typeof x !== 'function');\n","import { isFunction } from './isFunction';\nexport function isAsyncIterable(obj) {\n return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);\n}\n","export function isFunction(value) {\n return typeof value === 'function';\n}\n","import { observable as Symbol_observable } from '../symbol/observable';\nimport { isFunction } from './isFunction';\nexport function isInteropObservable(input) {\n return isFunction(input[Symbol_observable]);\n}\n","import { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from './isFunction';\nexport function isIterable(input) {\n return isFunction(input === null || input === void 0 ? void 0 : input[Symbol_iterator]);\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || (isFunction(obj.lift) && isFunction(obj.subscribe)));\n}\n","import { isFunction } from \"./isFunction\";\nexport function isPromise(value) {\n return isFunction(value === null || value === void 0 ? void 0 : value.then);\n}\n","import { __asyncGenerator, __await } from \"tslib\";\nimport { isFunction } from './isFunction';\nexport function readableStreamLikeToAsyncGenerator(readableStream) {\n return __asyncGenerator(this, arguments, function* readableStreamLikeToAsyncGenerator_1() {\n const reader = readableStream.getReader();\n try {\n while (true) {\n const { value, done } = yield __await(reader.read());\n if (done) {\n return yield __await(void 0);\n }\n yield yield __await(value);\n }\n }\n finally {\n reader.releaseLock();\n }\n });\n}\nexport function isReadableStreamLike(obj) {\n return isFunction(obj === null || obj === void 0 ? void 0 : obj.getReader);\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","export function noop() { }\n","import { identity } from './identity';\nexport function pipe(...fns) {\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce((prev, fn) => fn(prev), input);\n };\n}\n","import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\nexport function reportUnhandledError(err) {\n timeoutProvider.setTimeout(() => {\n const { onUnhandledError } = config;\n if (onUnhandledError) {\n onUnhandledError(err);\n }\n else {\n throw err;\n }\n });\n}\n","export function createInvalidObservableTypeError(input) {\n return new TypeError(`You provided ${input !== null && typeof input === 'object' ? 'an invalid object' : `'${input}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`);\n}\n","var map = {\n\t\"./af\": 5637,\n\t\"./af.js\": 5637,\n\t\"./ar\": 6777,\n\t\"./ar-dz\": 4508,\n\t\"./ar-dz.js\": 4508,\n\t\"./ar-kw\": 7504,\n\t\"./ar-kw.js\": 7504,\n\t\"./ar-ly\": 5373,\n\t\"./ar-ly.js\": 5373,\n\t\"./ar-ma\": 2412,\n\t\"./ar-ma.js\": 2412,\n\t\"./ar-ps\": 8823,\n\t\"./ar-ps.js\": 8823,\n\t\"./ar-sa\": 6670,\n\t\"./ar-sa.js\": 6670,\n\t\"./ar-tn\": 6448,\n\t\"./ar-tn.js\": 6448,\n\t\"./ar.js\": 6777,\n\t\"./az\": 3009,\n\t\"./az.js\": 3009,\n\t\"./be\": 8299,\n\t\"./be.js\": 8299,\n\t\"./bg\": 4685,\n\t\"./bg.js\": 4685,\n\t\"./bm\": 1171,\n\t\"./bm.js\": 1171,\n\t\"./bn\": 3590,\n\t\"./bn-bd\": 5841,\n\t\"./bn-bd.js\": 5841,\n\t\"./bn.js\": 3590,\n\t\"./bo\": 4309,\n\t\"./bo.js\": 4309,\n\t\"./br\": 4130,\n\t\"./br.js\": 4130,\n\t\"./bs\": 8033,\n\t\"./bs.js\": 8033,\n\t\"./ca\": 5294,\n\t\"./ca.js\": 5294,\n\t\"./cs\": 3028,\n\t\"./cs.js\": 3028,\n\t\"./cv\": 5807,\n\t\"./cv.js\": 5807,\n\t\"./cy\": 342,\n\t\"./cy.js\": 342,\n\t\"./da\": 8269,\n\t\"./da.js\": 8269,\n\t\"./de\": 1489,\n\t\"./de-at\": 2123,\n\t\"./de-at.js\": 2123,\n\t\"./de-ch\": 7757,\n\t\"./de-ch.js\": 7757,\n\t\"./de.js\": 1489,\n\t\"./dv\": 8152,\n\t\"./dv.js\": 8152,\n\t\"./el\": 7687,\n\t\"./el.js\": 7687,\n\t\"./en-au\": 6668,\n\t\"./en-au.js\": 6668,\n\t\"./en-ca\": 6798,\n\t\"./en-ca.js\": 6798,\n\t\"./en-gb\": 3615,\n\t\"./en-gb.js\": 3615,\n\t\"./en-ie\": 1364,\n\t\"./en-ie.js\": 1364,\n\t\"./en-il\": 9907,\n\t\"./en-il.js\": 9907,\n\t\"./en-in\": 533,\n\t\"./en-in.js\": 533,\n\t\"./en-nz\": 3190,\n\t\"./en-nz.js\": 3190,\n\t\"./en-sg\": 1096,\n\t\"./en-sg.js\": 1096,\n\t\"./eo\": 3962,\n\t\"./eo.js\": 3962,\n\t\"./es\": 7726,\n\t\"./es-do\": 5010,\n\t\"./es-do.js\": 5010,\n\t\"./es-mx\": 3654,\n\t\"./es-mx.js\": 3654,\n\t\"./es-us\": 9043,\n\t\"./es-us.js\": 9043,\n\t\"./es.js\": 7726,\n\t\"./et\": 5343,\n\t\"./et.js\": 5343,\n\t\"./eu\": 728,\n\t\"./eu.js\": 728,\n\t\"./fa\": 787,\n\t\"./fa.js\": 787,\n\t\"./fi\": 1771,\n\t\"./fi.js\": 1771,\n\t\"./fil\": 5335,\n\t\"./fil.js\": 5335,\n\t\"./fo\": 9761,\n\t\"./fo.js\": 9761,\n\t\"./fr\": 1670,\n\t\"./fr-ca\": 8991,\n\t\"./fr-ca.js\": 8991,\n\t\"./fr-ch\": 7280,\n\t\"./fr-ch.js\": 7280,\n\t\"./fr.js\": 1670,\n\t\"./fy\": 4203,\n\t\"./fy.js\": 4203,\n\t\"./ga\": 9858,\n\t\"./ga.js\": 9858,\n\t\"./gd\": 8605,\n\t\"./gd.js\": 8605,\n\t\"./gl\": 7365,\n\t\"./gl.js\": 7365,\n\t\"./gom-deva\": 3896,\n\t\"./gom-deva.js\": 3896,\n\t\"./gom-latn\": 5587,\n\t\"./gom-latn.js\": 5587,\n\t\"./gu\": 7950,\n\t\"./gu.js\": 7950,\n\t\"./he\": 2029,\n\t\"./he.js\": 2029,\n\t\"./hi\": 1897,\n\t\"./hi.js\": 1897,\n\t\"./hr\": 9816,\n\t\"./hr.js\": 9816,\n\t\"./hu\": 2253,\n\t\"./hu.js\": 2253,\n\t\"./hy-am\": 8196,\n\t\"./hy-am.js\": 8196,\n\t\"./id\": 1307,\n\t\"./id.js\": 1307,\n\t\"./is\": 5474,\n\t\"./is.js\": 5474,\n\t\"./it\": 3099,\n\t\"./it-ch\": 8188,\n\t\"./it-ch.js\": 8188,\n\t\"./it.js\": 3099,\n\t\"./ja\": 9127,\n\t\"./ja.js\": 9127,\n\t\"./jv\": 182,\n\t\"./jv.js\": 182,\n\t\"./ka\": 758,\n\t\"./ka.js\": 758,\n\t\"./kk\": 3444,\n\t\"./kk.js\": 3444,\n\t\"./km\": 2034,\n\t\"./km.js\": 2034,\n\t\"./kn\": 6223,\n\t\"./kn.js\": 6223,\n\t\"./ko\": 3064,\n\t\"./ko.js\": 3064,\n\t\"./ku\": 8714,\n\t\"./ku-kmr\": 961,\n\t\"./ku-kmr.js\": 961,\n\t\"./ku.js\": 8714,\n\t\"./ky\": 2062,\n\t\"./ky.js\": 2062,\n\t\"./lb\": 4796,\n\t\"./lb.js\": 4796,\n\t\"./lo\": 9279,\n\t\"./lo.js\": 9279,\n\t\"./lt\": 106,\n\t\"./lt.js\": 106,\n\t\"./lv\": 1840,\n\t\"./lv.js\": 1840,\n\t\"./me\": 2240,\n\t\"./me.js\": 2240,\n\t\"./mi\": 3588,\n\t\"./mi.js\": 3588,\n\t\"./mk\": 5518,\n\t\"./mk.js\": 5518,\n\t\"./ml\": 7823,\n\t\"./ml.js\": 7823,\n\t\"./mn\": 8657,\n\t\"./mn.js\": 8657,\n\t\"./mr\": 1285,\n\t\"./mr.js\": 1285,\n\t\"./ms\": 3014,\n\t\"./ms-my\": 6253,\n\t\"./ms-my.js\": 6253,\n\t\"./ms.js\": 3014,\n\t\"./mt\": 167,\n\t\"./mt.js\": 167,\n\t\"./my\": 7940,\n\t\"./my.js\": 7940,\n\t\"./nb\": 14,\n\t\"./nb.js\": 14,\n\t\"./ne\": 9023,\n\t\"./ne.js\": 9023,\n\t\"./nl\": 4208,\n\t\"./nl-be\": 1412,\n\t\"./nl-be.js\": 1412,\n\t\"./nl.js\": 4208,\n\t\"./nn\": 1354,\n\t\"./nn.js\": 1354,\n\t\"./oc-lnc\": 870,\n\t\"./oc-lnc.js\": 870,\n\t\"./pa-in\": 389,\n\t\"./pa-in.js\": 389,\n\t\"./pl\": 7342,\n\t\"./pl.js\": 7342,\n\t\"./pt\": 4774,\n\t\"./pt-br\": 3003,\n\t\"./pt-br.js\": 3003,\n\t\"./pt.js\": 4774,\n\t\"./ro\": 5333,\n\t\"./ro.js\": 5333,\n\t\"./ru\": 3451,\n\t\"./ru.js\": 3451,\n\t\"./sd\": 3921,\n\t\"./sd.js\": 3921,\n\t\"./se\": 9682,\n\t\"./se.js\": 9682,\n\t\"./si\": 582,\n\t\"./si.js\": 582,\n\t\"./sk\": 4348,\n\t\"./sk.js\": 4348,\n\t\"./sl\": 5337,\n\t\"./sl.js\": 5337,\n\t\"./sq\": 9358,\n\t\"./sq.js\": 9358,\n\t\"./sr\": 683,\n\t\"./sr-cyrl\": 9382,\n\t\"./sr-cyrl.js\": 9382,\n\t\"./sr.js\": 683,\n\t\"./ss\": 1156,\n\t\"./ss.js\": 1156,\n\t\"./sv\": 9855,\n\t\"./sv.js\": 9855,\n\t\"./sw\": 8536,\n\t\"./sw.js\": 8536,\n\t\"./ta\": 7754,\n\t\"./ta.js\": 7754,\n\t\"./te\": 7809,\n\t\"./te.js\": 7809,\n\t\"./tet\": 1297,\n\t\"./tet.js\": 1297,\n\t\"./tg\": 2527,\n\t\"./tg.js\": 2527,\n\t\"./th\": 5862,\n\t\"./th.js\": 5862,\n\t\"./tk\": 9331,\n\t\"./tk.js\": 9331,\n\t\"./tl-ph\": 4387,\n\t\"./tl-ph.js\": 4387,\n\t\"./tlh\": 3592,\n\t\"./tlh.js\": 3592,\n\t\"./tr\": 9732,\n\t\"./tr.js\": 9732,\n\t\"./tzl\": 9570,\n\t\"./tzl.js\": 9570,\n\t\"./tzm\": 3553,\n\t\"./tzm-latn\": 7699,\n\t\"./tzm-latn.js\": 7699,\n\t\"./tzm.js\": 3553,\n\t\"./ug-cn\": 5674,\n\t\"./ug-cn.js\": 5674,\n\t\"./uk\": 9974,\n\t\"./uk.js\": 9974,\n\t\"./ur\": 5773,\n\t\"./ur.js\": 5773,\n\t\"./uz\": 357,\n\t\"./uz-latn\": 7135,\n\t\"./uz-latn.js\": 7135,\n\t\"./uz.js\": 357,\n\t\"./vi\": 43,\n\t\"./vi.js\": 43,\n\t\"./x-pseudo\": 767,\n\t\"./x-pseudo.js\": 767,\n\t\"./yo\": 150,\n\t\"./yo.js\": 150,\n\t\"./zh-cn\": 1828,\n\t\"./zh-cn.js\": 1828,\n\t\"./zh-hk\": 6644,\n\t\"./zh-hk.js\": 6644,\n\t\"./zh-mo\": 9305,\n\t\"./zh-mo.js\": 9305,\n\t\"./zh-tw\": 1860,\n\t\"./zh-tw.js\": 1860\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 5358;","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","/**\n * @license Angular v17.3.5\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable, InjectionToken, inject, Optional, Inject, EventEmitter, ɵɵinject, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵstringify, Directive, Input, createNgModule, NgModuleRef, ɵRuntimeError, ɵformatRuntimeError, Host, Attribute, RendererStyleFlags2, untracked, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable, PLATFORM_ID, ɵIMAGE_CONFIG, Renderer2, ElementRef, Injector, ɵperformanceMarkFeature, NgZone, ChangeDetectorRef, numberAttribute, booleanAttribute, ɵIMAGE_CONFIG_DEFAULTS, ɵunwrapSafeValue } from '@angular/core';\nexport { ɵIMAGE_CONFIG as IMAGE_CONFIG } from '@angular/core';\n\nlet _DOM = null;\nfunction getDOM() {\n return _DOM;\n}\nfunction setRootDomAdapter(adapter) {\n _DOM ??= adapter;\n}\n/* tslint:disable:requireParameterType */\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\nclass DomAdapter {\n}\n\n/**\n * This class wraps the platform Navigation API which allows server-specific and test\n * implementations.\n */\nclass PlatformNavigation {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PlatformNavigation, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'platform', useFactory: () => window.navigation }]\n }] });\n\n/**\n * A DI Token representing the main rendering context.\n * In a browser and SSR this is the DOM Document.\n * When using SSR, that document is created by [Domino](https://github.com/angular/domino).\n *\n * @publicApi\n */\nconst DOCUMENT = new InjectionToken(ngDevMode ? 'DocumentToken' : '');\n\n/**\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * `PlatformLocation` encapsulates all calls to DOM APIs, which allows the Router to be\n * platform-agnostic.\n * This means that we can have different implementation of `PlatformLocation` for the different\n * platforms that Angular supports. For example, `@angular/platform-browser` provides an\n * implementation specific to the browser environment, while `@angular/platform-server` provides\n * one suitable for use with server-side rendering.\n *\n * The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}\n * when they need to interact with the DOM APIs like pushState, popState, etc.\n *\n * {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly\n * by the {@link Router} in order to navigate between routes. Since all interactions between {@link\n * Router} /\n * {@link Location} / {@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`\n * class, they are all platform-agnostic.\n *\n * @publicApi\n */\nclass PlatformLocation {\n historyGo(relativePosition) {\n throw new Error(ngDevMode ? 'Not implemented' : '');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PlatformLocation, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }]\n }] });\n/**\n * @description\n * Indicates when a location is initialized.\n *\n * @publicApi\n */\nconst LOCATION_INITIALIZED = new InjectionToken(ngDevMode ? 'Location Initialized' : '');\n/**\n * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * @publicApi\n */\nclass BrowserPlatformLocation extends PlatformLocation {\n constructor() {\n super();\n this._doc = inject(DOCUMENT);\n this._location = window.location;\n this._history = window.history;\n }\n getBaseHrefFromDOM() {\n return getDOM().getBaseHref(this._doc);\n }\n onPopState(fn) {\n const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n window.addEventListener('popstate', fn, false);\n return () => window.removeEventListener('popstate', fn);\n }\n onHashChange(fn) {\n const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n window.addEventListener('hashchange', fn, false);\n return () => window.removeEventListener('hashchange', fn);\n }\n get href() {\n return this._location.href;\n }\n get protocol() {\n return this._location.protocol;\n }\n get hostname() {\n return this._location.hostname;\n }\n get port() {\n return this._location.port;\n }\n get pathname() {\n return this._location.pathname;\n }\n get search() {\n return this._location.search;\n }\n get hash() {\n return this._location.hash;\n }\n set pathname(newPath) {\n this._location.pathname = newPath;\n }\n pushState(state, title, url) {\n this._history.pushState(state, title, url);\n }\n replaceState(state, title, url) {\n this._history.replaceState(state, title, url);\n }\n forward() {\n this._history.forward();\n }\n back() {\n this._history.back();\n }\n historyGo(relativePosition = 0) {\n this._history.go(relativePosition);\n }\n getState() {\n return this._history.state;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: BrowserPlatformLocation, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'platform',\n useFactory: () => new BrowserPlatformLocation(),\n }]\n }], ctorParameters: () => [] });\n\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @returns The joined URL string.\n */\nfunction joinWithSlash(start, end) {\n if (start.length == 0) {\n return end;\n }\n if (end.length == 0) {\n return start;\n }\n let slashes = 0;\n if (start.endsWith('/')) {\n slashes++;\n }\n if (end.startsWith('/')) {\n slashes++;\n }\n if (slashes == 2) {\n return start + end.substring(1);\n }\n if (slashes == 1) {\n return start + end;\n }\n return start + '/' + end;\n}\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\nfunction stripTrailingSlash(url) {\n const match = url.match(/#|\\?|$/);\n const pathEndIdx = (match && match.index) || url.length;\n const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0);\n return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx);\n}\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\nfunction normalizeQueryParams(params) {\n return params && params[0] !== '?' ? '?' + params : params;\n}\n\n/**\n * Enables the `Location` service to read route state from the browser's URL.\n * Angular provides two strategies:\n * `HashLocationStrategy` and `PathLocationStrategy`.\n *\n * Applications should use the `Router` or `Location` services to\n * interact with application route state.\n *\n * For instance, `HashLocationStrategy` produces URLs like\n * http://example.com#/foo,\n * and `PathLocationStrategy` produces\n * http://example.com/foo as an equivalent URL.\n *\n * See these two classes for more.\n *\n * @publicApi\n */\nclass LocationStrategy {\n historyGo(relativePosition) {\n throw new Error(ngDevMode ? 'Not implemented' : '');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: LocationStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]\n }] });\n/**\n * A predefined [DI token](guide/glossary#di-token) for the base href\n * to be used with the `PathLocationStrategy`.\n * The base href is the URL prefix that should be preserved when generating\n * and recognizing URLs.\n *\n * @usageNotes\n *\n * The following example shows how to use this token to configure the root app injector\n * with a base href value, so that the DI framework can supply the dependency anywhere in the app.\n *\n * ```typescript\n * import {NgModule} from '@angular/core';\n * import {APP_BASE_HREF} from '@angular/common';\n *\n * @NgModule({\n * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n * })\n * class AppModule {}\n * ```\n *\n * @publicApi\n */\nconst APP_BASE_HREF = new InjectionToken(ngDevMode ? 'appBaseHref' : '');\n/**\n * @description\n * A {@link LocationStrategy} used to configure the {@link Location} service to\n * represent its state in the\n * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n * browser's URL.\n *\n * If you're using `PathLocationStrategy`, you may provide a {@link APP_BASE_HREF}\n * or add a `` element to the document to override the default.\n *\n * For instance, if you provide an `APP_BASE_HREF` of `'/my/app/'` and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`. To ensure all relative URIs resolve correctly,\n * the `` and/or `APP_BASE_HREF` should end with a `/`.\n *\n * Similarly, if you add `` to the document and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * Note that when using `PathLocationStrategy`, neither the query nor\n * the fragment in the `` will be preserved, as outlined\n * by the [RFC](https://tools.ietf.org/html/rfc3986#section-5.2.2).\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\nclass PathLocationStrategy extends LocationStrategy {\n constructor(_platformLocation, href) {\n super();\n this._platformLocation = _platformLocation;\n this._removeListenerFns = [];\n this._baseHref =\n href ??\n this._platformLocation.getBaseHrefFromDOM() ??\n inject(DOCUMENT).location?.origin ??\n '';\n }\n /** @nodoc */\n ngOnDestroy() {\n while (this._removeListenerFns.length) {\n this._removeListenerFns.pop()();\n }\n }\n onPopState(fn) {\n this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));\n }\n getBaseHref() {\n return this._baseHref;\n }\n prepareExternalUrl(internal) {\n return joinWithSlash(this._baseHref, internal);\n }\n path(includeHash = false) {\n const pathname = this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search);\n const hash = this._platformLocation.hash;\n return hash && includeHash ? `${pathname}${hash}` : pathname;\n }\n pushState(state, title, url, queryParams) {\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.pushState(state, title, externalUrl);\n }\n replaceState(state, title, url, queryParams) {\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.replaceState(state, title, externalUrl);\n }\n forward() {\n this._platformLocation.forward();\n }\n back() {\n this._platformLocation.back();\n }\n getState() {\n return this._platformLocation.getState();\n }\n historyGo(relativePosition = 0) {\n this._platformLocation.historyGo?.(relativePosition);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PathLocationStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: PlatformLocation }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }] });\n\n/**\n * @description\n * A {@link LocationStrategy} used to configure the {@link Location} service to\n * represent its state in the\n * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)\n * of the browser's URL.\n *\n * For instance, if you call `location.go('/foo')`, the browser's URL will become\n * `example.com#/foo`.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/location/ts/hash_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\nclass HashLocationStrategy extends LocationStrategy {\n constructor(_platformLocation, _baseHref) {\n super();\n this._platformLocation = _platformLocation;\n this._baseHref = '';\n this._removeListenerFns = [];\n if (_baseHref != null) {\n this._baseHref = _baseHref;\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n while (this._removeListenerFns.length) {\n this._removeListenerFns.pop()();\n }\n }\n onPopState(fn) {\n this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));\n }\n getBaseHref() {\n return this._baseHref;\n }\n path(includeHash = false) {\n // the hash value is always prefixed with a `#`\n // and if it is empty then it will stay empty\n const path = this._platformLocation.hash ?? '#';\n return path.length > 0 ? path.substring(1) : path;\n }\n prepareExternalUrl(internal) {\n const url = joinWithSlash(this._baseHref, internal);\n return url.length > 0 ? '#' + url : url;\n }\n pushState(state, title, path, queryParams) {\n let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.pushState(state, title, url);\n }\n replaceState(state, title, path, queryParams) {\n let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.replaceState(state, title, url);\n }\n forward() {\n this._platformLocation.forward();\n }\n back() {\n this._platformLocation.back();\n }\n getState() {\n return this._platformLocation.getState();\n }\n historyGo(relativePosition = 0) {\n this._platformLocation.historyGo?.(relativePosition);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: HashLocationStrategy }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: HashLocationStrategy, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: PlatformLocation }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }] });\n\n/**\n * @description\n *\n * A service that applications can use to interact with a browser's URL.\n *\n * Depending on the `LocationStrategy` used, `Location` persists\n * to the URL's path or the URL's hash segment.\n *\n * @usageNotes\n *\n * It's better to use the `Router.navigate()` service to trigger route changes. Use\n * `Location` only if you need to interact with or create normalized URLs outside of\n * routing.\n *\n * `Location` is responsible for normalizing the URL against the application's base href.\n * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n * trailing slash:\n * - `/my/app/user/123` is normalized\n * - `my/app/user/123` **is not** normalized\n * - `/my/app/user/123/` **is not** normalized\n *\n * ### Example\n *\n * \n *\n * @publicApi\n */\nclass Location {\n constructor(locationStrategy) {\n /** @internal */\n this._subject = new EventEmitter();\n /** @internal */\n this._urlChangeListeners = [];\n /** @internal */\n this._urlChangeSubscription = null;\n this._locationStrategy = locationStrategy;\n const baseHref = this._locationStrategy.getBaseHref();\n // Note: This class's interaction with base HREF does not fully follow the rules\n // outlined in the spec https://www.freesoft.org/CIE/RFC/1808/18.htm.\n // Instead of trying to fix individual bugs with more and more code, we should\n // investigate using the URL constructor and providing the base as a second\n // argument.\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters\n this._basePath = _stripOrigin(stripTrailingSlash(_stripIndexHtml(baseHref)));\n this._locationStrategy.onPopState((ev) => {\n this._subject.emit({\n 'url': this.path(true),\n 'pop': true,\n 'state': ev.state,\n 'type': ev.type,\n });\n });\n }\n /** @nodoc */\n ngOnDestroy() {\n this._urlChangeSubscription?.unsubscribe();\n this._urlChangeListeners = [];\n }\n /**\n * Normalizes the URL path for this location.\n *\n * @param includeHash True to include an anchor fragment in the path.\n *\n * @returns The normalized URL path.\n */\n // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n // removed.\n path(includeHash = false) {\n return this.normalize(this._locationStrategy.path(includeHash));\n }\n /**\n * Reports the current state of the location history.\n * @returns The current value of the `history.state` object.\n */\n getState() {\n return this._locationStrategy.getState();\n }\n /**\n * Normalizes the given path and compares to the current normalized path.\n *\n * @param path The given URL path.\n * @param query Query parameters.\n *\n * @returns True if the given URL path is equal to the current normalized path, false\n * otherwise.\n */\n isCurrentPathEqualTo(path, query = '') {\n return this.path() == this.normalize(path + normalizeQueryParams(query));\n }\n /**\n * Normalizes a URL path by stripping any trailing slashes.\n *\n * @param url String representing a URL.\n *\n * @returns The normalized URL string.\n */\n normalize(url) {\n return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url)));\n }\n /**\n * Normalizes an external URL path.\n * If the given URL doesn't begin with a leading slash (`'/'`), adds one\n * before normalizing. Adds a hash if `HashLocationStrategy` is\n * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n *\n * @param url String representing a URL.\n *\n * @returns A normalized platform-specific URL.\n */\n prepareExternalUrl(url) {\n if (url && url[0] !== '/') {\n url = '/' + url;\n }\n return this._locationStrategy.prepareExternalUrl(url);\n }\n // TODO: rename this method to pushState\n /**\n * Changes the browser's URL to a normalized version of a given URL, and pushes a\n * new item onto the platform's history.\n *\n * @param path URL path to normalize.\n * @param query Query parameters.\n * @param state Location history state.\n *\n */\n go(path, query = '', state = null) {\n this._locationStrategy.pushState(state, '', path, query);\n this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n }\n /**\n * Changes the browser's URL to a normalized version of the given URL, and replaces\n * the top item on the platform's history stack.\n *\n * @param path URL path to normalize.\n * @param query Query parameters.\n * @param state Location history state.\n */\n replaceState(path, query = '', state = null) {\n this._locationStrategy.replaceState(state, '', path, query);\n this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n }\n /**\n * Navigates forward in the platform's history.\n */\n forward() {\n this._locationStrategy.forward();\n }\n /**\n * Navigates back in the platform's history.\n */\n back() {\n this._locationStrategy.back();\n }\n /**\n * Navigate to a specific page from session history, identified by its relative position to the\n * current page.\n *\n * @param relativePosition Position of the target page in the history relative to the current\n * page.\n * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)`\n * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go\n * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs\n * when `relativePosition` equals 0.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history\n */\n historyGo(relativePosition = 0) {\n this._locationStrategy.historyGo?.(relativePosition);\n }\n /**\n * Registers a URL change listener. Use to catch updates performed by the Angular\n * framework that are not detectible through \"popstate\" or \"hashchange\" events.\n *\n * @param fn The change handler function, which take a URL and a location history state.\n * @returns A function that, when executed, unregisters a URL change listener.\n */\n onUrlChange(fn) {\n this._urlChangeListeners.push(fn);\n this._urlChangeSubscription ??= this.subscribe((v) => {\n this._notifyUrlChangeListeners(v.url, v.state);\n });\n return () => {\n const fnIndex = this._urlChangeListeners.indexOf(fn);\n this._urlChangeListeners.splice(fnIndex, 1);\n if (this._urlChangeListeners.length === 0) {\n this._urlChangeSubscription?.unsubscribe();\n this._urlChangeSubscription = null;\n }\n };\n }\n /** @internal */\n _notifyUrlChangeListeners(url = '', state) {\n this._urlChangeListeners.forEach((fn) => fn(url, state));\n }\n /**\n * Subscribes to the platform's `popState` events.\n *\n * Note: `Location.go()` does not trigger the `popState` event in the browser. Use\n * `Location.onUrlChange()` to subscribe to URL changes instead.\n *\n * @param value Event that is triggered when the state history changes.\n * @param exception The exception to throw.\n *\n * @see [onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate)\n *\n * @returns Subscribed events.\n */\n subscribe(onNext, onThrow, onReturn) {\n return this._subject.subscribe({ next: onNext, error: onThrow, complete: onReturn });\n }\n /**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\n static { this.normalizeQueryParams = normalizeQueryParams; }\n /**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @returns The joined URL string.\n */\n static { this.joinWithSlash = joinWithSlash; }\n /**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\n static { this.stripTrailingSlash = stripTrailingSlash; }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: Location, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n // See #23917\n useFactory: createLocation,\n }]\n }], ctorParameters: () => [{ type: LocationStrategy }] });\nfunction createLocation() {\n return new Location(ɵɵinject(LocationStrategy));\n}\nfunction _stripBasePath(basePath, url) {\n if (!basePath || !url.startsWith(basePath)) {\n return url;\n }\n const strippedUrl = url.substring(basePath.length);\n if (strippedUrl === '' || ['/', ';', '?', '#'].includes(strippedUrl[0])) {\n return strippedUrl;\n }\n return url;\n}\nfunction _stripIndexHtml(url) {\n return url.replace(/\\/index.html$/, '');\n}\nfunction _stripOrigin(baseHref) {\n // DO NOT REFACTOR! Previously, this check looked like this:\n // `/^(https?:)?\\/\\//.test(baseHref)`, but that resulted in\n // syntactically incorrect code after Closure Compiler minification.\n // This was likely caused by a bug in Closure Compiler, but\n // for now, the check is rewritten to use `new RegExp` instead.\n const isAbsoluteUrl = new RegExp('^(https?:)?//').test(baseHref);\n if (isAbsoluteUrl) {\n const [, pathname] = baseHref.split(/\\/\\/[^\\/]+/);\n return pathname;\n }\n return baseHref;\n}\n\n/** @internal */\nconst CURRENCIES_EN = { \"ADP\": [undefined, undefined, 0], \"AFN\": [undefined, \"؋\", 0], \"ALL\": [undefined, undefined, 0], \"AMD\": [undefined, \"֏\", 2], \"AOA\": [undefined, \"Kz\"], \"ARS\": [undefined, \"$\"], \"AUD\": [\"A$\", \"$\"], \"AZN\": [undefined, \"₼\"], \"BAM\": [undefined, \"KM\"], \"BBD\": [undefined, \"$\"], \"BDT\": [undefined, \"৳\"], \"BHD\": [undefined, undefined, 3], \"BIF\": [undefined, undefined, 0], \"BMD\": [undefined, \"$\"], \"BND\": [undefined, \"$\"], \"BOB\": [undefined, \"Bs\"], \"BRL\": [\"R$\"], \"BSD\": [undefined, \"$\"], \"BWP\": [undefined, \"P\"], \"BYN\": [undefined, undefined, 2], \"BYR\": [undefined, undefined, 0], \"BZD\": [undefined, \"$\"], \"CAD\": [\"CA$\", \"$\", 2], \"CHF\": [undefined, undefined, 2], \"CLF\": [undefined, undefined, 4], \"CLP\": [undefined, \"$\", 0], \"CNY\": [\"CN¥\", \"¥\"], \"COP\": [undefined, \"$\", 2], \"CRC\": [undefined, \"₡\", 2], \"CUC\": [undefined, \"$\"], \"CUP\": [undefined, \"$\"], \"CZK\": [undefined, \"Kč\", 2], \"DJF\": [undefined, undefined, 0], \"DKK\": [undefined, \"kr\", 2], \"DOP\": [undefined, \"$\"], \"EGP\": [undefined, \"E£\"], \"ESP\": [undefined, \"₧\", 0], \"EUR\": [\"€\"], \"FJD\": [undefined, \"$\"], \"FKP\": [undefined, \"£\"], \"GBP\": [\"£\"], \"GEL\": [undefined, \"₾\"], \"GHS\": [undefined, \"GH₵\"], \"GIP\": [undefined, \"£\"], \"GNF\": [undefined, \"FG\", 0], \"GTQ\": [undefined, \"Q\"], \"GYD\": [undefined, \"$\", 2], \"HKD\": [\"HK$\", \"$\"], \"HNL\": [undefined, \"L\"], \"HRK\": [undefined, \"kn\"], \"HUF\": [undefined, \"Ft\", 2], \"IDR\": [undefined, \"Rp\", 2], \"ILS\": [\"₪\"], \"INR\": [\"₹\"], \"IQD\": [undefined, undefined, 0], \"IRR\": [undefined, undefined, 0], \"ISK\": [undefined, \"kr\", 0], \"ITL\": [undefined, undefined, 0], \"JMD\": [undefined, \"$\"], \"JOD\": [undefined, undefined, 3], \"JPY\": [\"¥\", undefined, 0], \"KHR\": [undefined, \"៛\"], \"KMF\": [undefined, \"CF\", 0], \"KPW\": [undefined, \"₩\", 0], \"KRW\": [\"₩\", undefined, 0], \"KWD\": [undefined, undefined, 3], \"KYD\": [undefined, \"$\"], \"KZT\": [undefined, \"₸\"], \"LAK\": [undefined, \"₭\", 0], \"LBP\": [undefined, \"L£\", 0], \"LKR\": [undefined, \"Rs\"], \"LRD\": [undefined, \"$\"], \"LTL\": [undefined, \"Lt\"], \"LUF\": [undefined, undefined, 0], \"LVL\": [undefined, \"Ls\"], \"LYD\": [undefined, undefined, 3], \"MGA\": [undefined, \"Ar\", 0], \"MGF\": [undefined, undefined, 0], \"MMK\": [undefined, \"K\", 0], \"MNT\": [undefined, \"₮\", 2], \"MRO\": [undefined, undefined, 0], \"MUR\": [undefined, \"Rs\", 2], \"MXN\": [\"MX$\", \"$\"], \"MYR\": [undefined, \"RM\"], \"NAD\": [undefined, \"$\"], \"NGN\": [undefined, \"₦\"], \"NIO\": [undefined, \"C$\"], \"NOK\": [undefined, \"kr\", 2], \"NPR\": [undefined, \"Rs\"], \"NZD\": [\"NZ$\", \"$\"], \"OMR\": [undefined, undefined, 3], \"PHP\": [\"₱\"], \"PKR\": [undefined, \"Rs\", 2], \"PLN\": [undefined, \"zł\"], \"PYG\": [undefined, \"₲\", 0], \"RON\": [undefined, \"lei\"], \"RSD\": [undefined, undefined, 0], \"RUB\": [undefined, \"₽\"], \"RWF\": [undefined, \"RF\", 0], \"SBD\": [undefined, \"$\"], \"SEK\": [undefined, \"kr\", 2], \"SGD\": [undefined, \"$\"], \"SHP\": [undefined, \"£\"], \"SLE\": [undefined, undefined, 2], \"SLL\": [undefined, undefined, 0], \"SOS\": [undefined, undefined, 0], \"SRD\": [undefined, \"$\"], \"SSP\": [undefined, \"£\"], \"STD\": [undefined, undefined, 0], \"STN\": [undefined, \"Db\"], \"SYP\": [undefined, \"£\", 0], \"THB\": [undefined, \"฿\"], \"TMM\": [undefined, undefined, 0], \"TND\": [undefined, undefined, 3], \"TOP\": [undefined, \"T$\"], \"TRL\": [undefined, undefined, 0], \"TRY\": [undefined, \"₺\"], \"TTD\": [undefined, \"$\"], \"TWD\": [\"NT$\", \"$\", 2], \"TZS\": [undefined, undefined, 2], \"UAH\": [undefined, \"₴\"], \"UGX\": [undefined, undefined, 0], \"USD\": [\"$\"], \"UYI\": [undefined, undefined, 0], \"UYU\": [undefined, \"$\"], \"UYW\": [undefined, undefined, 4], \"UZS\": [undefined, undefined, 2], \"VEF\": [undefined, \"Bs\", 2], \"VND\": [\"₫\", undefined, 0], \"VUV\": [undefined, undefined, 0], \"XAF\": [\"FCFA\", undefined, 0], \"XCD\": [\"EC$\", \"$\"], \"XOF\": [\"F CFA\", undefined, 0], \"XPF\": [\"CFPF\", undefined, 0], \"XXX\": [\"¤\"], \"YER\": [undefined, undefined, 0], \"ZAR\": [undefined, \"R\"], \"ZMK\": [undefined, undefined, 0], \"ZMW\": [undefined, \"ZK\"], \"ZWD\": [undefined, undefined, 0] };\n\n/**\n * Format styles that can be used to represent numbers.\n * @see {@link getLocaleNumberFormat}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar NumberFormatStyle;\n(function (NumberFormatStyle) {\n NumberFormatStyle[NumberFormatStyle[\"Decimal\"] = 0] = \"Decimal\";\n NumberFormatStyle[NumberFormatStyle[\"Percent\"] = 1] = \"Percent\";\n NumberFormatStyle[NumberFormatStyle[\"Currency\"] = 2] = \"Currency\";\n NumberFormatStyle[NumberFormatStyle[\"Scientific\"] = 3] = \"Scientific\";\n})(NumberFormatStyle || (NumberFormatStyle = {}));\n/**\n * Plurality cases used for translating plurals to different languages.\n *\n * @see {@link NgPlural}\n * @see {@link NgPluralCase}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar Plural;\n(function (Plural) {\n Plural[Plural[\"Zero\"] = 0] = \"Zero\";\n Plural[Plural[\"One\"] = 1] = \"One\";\n Plural[Plural[\"Two\"] = 2] = \"Two\";\n Plural[Plural[\"Few\"] = 3] = \"Few\";\n Plural[Plural[\"Many\"] = 4] = \"Many\";\n Plural[Plural[\"Other\"] = 5] = \"Other\";\n})(Plural || (Plural = {}));\n/**\n * Context-dependant translation forms for strings.\n * Typically the standalone version is for the nominative form of the word,\n * and the format version is used for the genitive case.\n * @see [CLDR website](http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles)\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar FormStyle;\n(function (FormStyle) {\n FormStyle[FormStyle[\"Format\"] = 0] = \"Format\";\n FormStyle[FormStyle[\"Standalone\"] = 1] = \"Standalone\";\n})(FormStyle || (FormStyle = {}));\n/**\n * String widths available for translations.\n * The specific character widths are locale-specific.\n * Examples are given for the word \"Sunday\" in English.\n *\n * @publicApi\n */\nvar TranslationWidth;\n(function (TranslationWidth) {\n /** 1 character for `en-US`. For example: 'S' */\n TranslationWidth[TranslationWidth[\"Narrow\"] = 0] = \"Narrow\";\n /** 3 characters for `en-US`. For example: 'Sun' */\n TranslationWidth[TranslationWidth[\"Abbreviated\"] = 1] = \"Abbreviated\";\n /** Full length for `en-US`. For example: \"Sunday\" */\n TranslationWidth[TranslationWidth[\"Wide\"] = 2] = \"Wide\";\n /** 2 characters for `en-US`, For example: \"Su\" */\n TranslationWidth[TranslationWidth[\"Short\"] = 3] = \"Short\";\n})(TranslationWidth || (TranslationWidth = {}));\n/**\n * String widths available for date-time formats.\n * The specific character widths are locale-specific.\n * Examples are given for `en-US`.\n *\n * @see {@link getLocaleDateFormat}\n * @see {@link getLocaleTimeFormat}\n * @see {@link getLocaleDateTimeFormat}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n * @publicApi\n */\nvar FormatWidth;\n(function (FormatWidth) {\n /**\n * For `en-US`, 'M/d/yy, h:mm a'`\n * (Example: `6/15/15, 9:03 AM`)\n */\n FormatWidth[FormatWidth[\"Short\"] = 0] = \"Short\";\n /**\n * For `en-US`, `'MMM d, y, h:mm:ss a'`\n * (Example: `Jun 15, 2015, 9:03:01 AM`)\n */\n FormatWidth[FormatWidth[\"Medium\"] = 1] = \"Medium\";\n /**\n * For `en-US`, `'MMMM d, y, h:mm:ss a z'`\n * (Example: `June 15, 2015 at 9:03:01 AM GMT+1`)\n */\n FormatWidth[FormatWidth[\"Long\"] = 2] = \"Long\";\n /**\n * For `en-US`, `'EEEE, MMMM d, y, h:mm:ss a zzzz'`\n * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`)\n */\n FormatWidth[FormatWidth[\"Full\"] = 3] = \"Full\";\n})(FormatWidth || (FormatWidth = {}));\n// This needs to be an object literal, rather than an enum, because TypeScript 5.4+\n// doesn't allow numeric keys and we have `Infinity` and `NaN`.\n/**\n * Symbols that can be used to replace placeholders in number patterns.\n * Examples are based on `en-US` values.\n *\n * @see {@link getLocaleNumberSymbol}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n * @object-literal-as-enum\n */\nconst NumberSymbol = {\n /**\n * Decimal separator.\n * For `en-US`, the dot character.\n * Example: 2,345`.`67\n */\n Decimal: 0,\n /**\n * Grouping separator, typically for thousands.\n * For `en-US`, the comma character.\n * Example: 2`,`345.67\n */\n Group: 1,\n /**\n * List-item separator.\n * Example: \"one, two, and three\"\n */\n List: 2,\n /**\n * Sign for percentage (out of 100).\n * Example: 23.4%\n */\n PercentSign: 3,\n /**\n * Sign for positive numbers.\n * Example: +23\n */\n PlusSign: 4,\n /**\n * Sign for negative numbers.\n * Example: -23\n */\n MinusSign: 5,\n /**\n * Computer notation for exponential value (n times a power of 10).\n * Example: 1.2E3\n */\n Exponential: 6,\n /**\n * Human-readable format of exponential.\n * Example: 1.2x103\n */\n SuperscriptingExponent: 7,\n /**\n * Sign for permille (out of 1000).\n * Example: 23.4‰\n */\n PerMille: 8,\n /**\n * Infinity, can be used with plus and minus.\n * Example: ∞, +∞, -∞\n */\n Infinity: 9,\n /**\n * Not a number.\n * Example: NaN\n */\n NaN: 10,\n /**\n * Symbol used between time units.\n * Example: 10:52\n */\n TimeSeparator: 11,\n /**\n * Decimal separator for currency values (fallback to `Decimal`).\n * Example: $2,345.67\n */\n CurrencyDecimal: 12,\n /**\n * Group separator for currency values (fallback to `Group`).\n * Example: $2,345.67\n */\n CurrencyGroup: 13,\n};\n/**\n * The value for each day of the week, based on the `en-US` locale\n *\n * @publicApi\n */\nvar WeekDay;\n(function (WeekDay) {\n WeekDay[WeekDay[\"Sunday\"] = 0] = \"Sunday\";\n WeekDay[WeekDay[\"Monday\"] = 1] = \"Monday\";\n WeekDay[WeekDay[\"Tuesday\"] = 2] = \"Tuesday\";\n WeekDay[WeekDay[\"Wednesday\"] = 3] = \"Wednesday\";\n WeekDay[WeekDay[\"Thursday\"] = 4] = \"Thursday\";\n WeekDay[WeekDay[\"Friday\"] = 5] = \"Friday\";\n WeekDay[WeekDay[\"Saturday\"] = 6] = \"Saturday\";\n})(WeekDay || (WeekDay = {}));\n/**\n * Retrieves the locale ID from the currently loaded locale.\n * The loaded locale could be, for example, a global one rather than a regional one.\n * @param locale A locale code, such as `fr-FR`.\n * @returns The locale code. For example, `fr`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleId(locale) {\n return ɵfindLocaleData(locale)[ɵLocaleDataIndex.LocaleId];\n}\n/**\n * Retrieves day period strings for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized period strings. For example, `[AM, PM]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDayPeriods(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n const amPmData = [\n data[ɵLocaleDataIndex.DayPeriodsFormat],\n data[ɵLocaleDataIndex.DayPeriodsStandalone],\n ];\n const amPm = getLastDefinedValue(amPmData, formStyle);\n return getLastDefinedValue(amPm, width);\n}\n/**\n * Retrieves days of the week for the given locale, using the Gregorian calendar.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized name strings.\n * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDayNames(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n const daysData = [\n data[ɵLocaleDataIndex.DaysFormat],\n data[ɵLocaleDataIndex.DaysStandalone],\n ];\n const days = getLastDefinedValue(daysData, formStyle);\n return getLastDefinedValue(days, width);\n}\n/**\n * Retrieves months of the year for the given locale, using the Gregorian calendar.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized name strings.\n * For example, `[January, February, ...]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleMonthNames(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n const monthsData = [\n data[ɵLocaleDataIndex.MonthsFormat],\n data[ɵLocaleDataIndex.MonthsStandalone],\n ];\n const months = getLastDefinedValue(monthsData, formStyle);\n return getLastDefinedValue(months, width);\n}\n/**\n * Retrieves Gregorian-calendar eras for the given locale.\n * @param locale A locale code for the locale format rules to use.\n * @param width The required character width.\n\n * @returns An array of localized era strings.\n * For example, `[AD, BC]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleEraNames(locale, width) {\n const data = ɵfindLocaleData(locale);\n const erasData = data[ɵLocaleDataIndex.Eras];\n return getLastDefinedValue(erasData, width);\n}\n/**\n * Retrieves the first day of the week for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns A day index number, using the 0-based week-day index for `en-US`\n * (Sunday = 0, Monday = 1, ...).\n * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleFirstDayOfWeek(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.FirstDayOfWeek];\n}\n/**\n * Range of week days that are considered the week-end for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The range of day values, `[startDay, endDay]`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleWeekEndRange(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.WeekendRange];\n}\n/**\n * Retrieves a localized date-value formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see {@link FormatWidth}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDateFormat(locale, width) {\n const data = ɵfindLocaleData(locale);\n return getLastDefinedValue(data[ɵLocaleDataIndex.DateFormat], width);\n}\n/**\n * Retrieves a localized time-value formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see {@link FormatWidth}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n\n * @publicApi\n */\nfunction getLocaleTimeFormat(locale, width) {\n const data = ɵfindLocaleData(locale);\n return getLastDefinedValue(data[ɵLocaleDataIndex.TimeFormat], width);\n}\n/**\n * Retrieves a localized date-time formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see {@link FormatWidth}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDateTimeFormat(locale, width) {\n const data = ɵfindLocaleData(locale);\n const dateTimeFormatData = data[ɵLocaleDataIndex.DateTimeFormat];\n return getLastDefinedValue(dateTimeFormatData, width);\n}\n/**\n * Retrieves a localized number symbol that can be used to replace placeholders in number formats.\n * @param locale The locale code.\n * @param symbol The symbol to localize. Must be one of `NumberSymbol`.\n * @returns The character for the localized symbol.\n * @see {@link NumberSymbol}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleNumberSymbol(locale, symbol) {\n const data = ɵfindLocaleData(locale);\n const res = data[ɵLocaleDataIndex.NumberSymbols][symbol];\n if (typeof res === 'undefined') {\n if (symbol === NumberSymbol.CurrencyDecimal) {\n return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Decimal];\n }\n else if (symbol === NumberSymbol.CurrencyGroup) {\n return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Group];\n }\n }\n return res;\n}\n/**\n * Retrieves a number format for a given locale.\n *\n * Numbers are formatted using patterns, like `#,###.00`. For example, the pattern `#,###.00`\n * when used to format the number 12345.678 could result in \"12'345,678\". That would happen if the\n * grouping separator for your language is an apostrophe, and the decimal separator is a comma.\n *\n * Important: The characters `.` `,` `0` `#` (and others below) are special placeholders\n * that stand for the decimal separator, and so on, and are NOT real characters.\n * You must NOT \"translate\" the placeholders. For example, don't change `.` to `,` even though in\n * your language the decimal point is written with a comma. The symbols should be replaced by the\n * local equivalents, using the appropriate `NumberSymbol` for your language.\n *\n * Here are the special characters used in number patterns:\n *\n * | Symbol | Meaning |\n * |--------|---------|\n * | . | Replaced automatically by the character used for the decimal point. |\n * | , | Replaced by the \"grouping\" (thousands) separator. |\n * | 0 | Replaced by a digit (or zero if there aren't enough digits). |\n * | # | Replaced by a digit (or nothing if there aren't enough). |\n * | ¤ | Replaced by a currency symbol, such as $ or USD. |\n * | % | Marks a percent format. The % symbol may change position, but must be retained. |\n * | E | Marks a scientific format. The E symbol may change position, but must be retained. |\n * | ' | Special characters used as literal characters are quoted with ASCII single quotes. |\n *\n * @param locale A locale code for the locale format rules to use.\n * @param type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)\n * @returns The localized format string.\n * @see {@link NumberFormatStyle}\n * @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleNumberFormat(locale, type) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.NumberFormats][type];\n}\n/**\n * Retrieves the symbol used to represent the currency for the main country\n * corresponding to a given locale. For example, '$' for `en-US`.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The localized symbol character,\n * or `null` if the main country cannot be determined.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleCurrencySymbol(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.CurrencySymbol] || null;\n}\n/**\n * Retrieves the name of the currency for the main country corresponding\n * to a given locale. For example, 'US Dollar' for `en-US`.\n * @param locale A locale code for the locale format rules to use.\n * @returns The currency name,\n * or `null` if the main country cannot be determined.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleCurrencyName(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.CurrencyName] || null;\n}\n/**\n * Retrieves the default currency code for the given locale.\n *\n * The default is defined as the first currency which is still in use.\n *\n * @param locale The code of the locale whose currency code we want.\n * @returns The code of the default currency for the given locale.\n *\n * @publicApi\n */\nfunction getLocaleCurrencyCode(locale) {\n return ɵgetLocaleCurrencyCode(locale);\n}\n/**\n * Retrieves the currency values for a given locale.\n * @param locale A locale code for the locale format rules to use.\n * @returns The currency values.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n */\nfunction getLocaleCurrencies(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.Currencies];\n}\n/**\n * @alias core/ɵgetLocalePluralCase\n * @publicApi\n */\nconst getLocalePluralCase = ɵgetLocalePluralCase;\nfunction checkFullData(data) {\n if (!data[ɵLocaleDataIndex.ExtraData]) {\n throw new Error(`Missing extra locale data for the locale \"${data[ɵLocaleDataIndex.LocaleId]}\". Use \"registerLocaleData\" to load new data. See the \"I18n guide\" on angular.io to know more.`);\n }\n}\n/**\n * Retrieves locale-specific rules used to determine which day period to use\n * when more than one period is defined for a locale.\n *\n * There is a rule for each defined day period. The\n * first rule is applied to the first day period and so on.\n * Fall back to AM/PM when no rules are available.\n *\n * A rule can specify a period as time range, or as a single time value.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n-common-format-data-locale).\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The rules for the locale, a single time value or array of *from-time, to-time*,\n * or null if no periods are available.\n *\n * @see {@link getLocaleExtraDayPeriods}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleExtraDayPeriodRules(locale) {\n const data = ɵfindLocaleData(locale);\n checkFullData(data);\n const rules = data[ɵLocaleDataIndex.ExtraData][2 /* ɵExtraLocaleDataIndex.ExtraDayPeriodsRules */] || [];\n return rules.map((rule) => {\n if (typeof rule === 'string') {\n return extractTime(rule);\n }\n return [extractTime(rule[0]), extractTime(rule[1])];\n });\n}\n/**\n * Retrieves locale-specific day periods, which indicate roughly how a day is broken up\n * in different languages.\n * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n-common-format-data-locale).\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns The translated day-period strings.\n * @see {@link getLocaleExtraDayPeriodRules}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleExtraDayPeriods(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n checkFullData(data);\n const dayPeriodsData = [\n data[ɵLocaleDataIndex.ExtraData][0 /* ɵExtraLocaleDataIndex.ExtraDayPeriodFormats */],\n data[ɵLocaleDataIndex.ExtraData][1 /* ɵExtraLocaleDataIndex.ExtraDayPeriodStandalone */],\n ];\n const dayPeriods = getLastDefinedValue(dayPeriodsData, formStyle) || [];\n return getLastDefinedValue(dayPeriods, width) || [];\n}\n/**\n * Retrieves the writing direction of a specified locale\n * @param locale A locale code for the locale format rules to use.\n * @publicApi\n * @returns 'rtl' or 'ltr'\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n */\nfunction getLocaleDirection(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.Directionality];\n}\n/**\n * Retrieves the first value that is defined in an array, going backwards from an index position.\n *\n * To avoid repeating the same data (as when the \"format\" and \"standalone\" forms are the same)\n * add the first value to the locale data arrays, and add other values only if they are different.\n *\n * @param data The data array to retrieve from.\n * @param index A 0-based index into the array to start from.\n * @returns The value immediately before the given index position.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLastDefinedValue(data, index) {\n for (let i = index; i > -1; i--) {\n if (typeof data[i] !== 'undefined') {\n return data[i];\n }\n }\n throw new Error('Locale data API: locale data undefined');\n}\n/**\n * Extracts the hours and minutes from a string like \"15:45\"\n */\nfunction extractTime(time) {\n const [h, m] = time.split(':');\n return { hours: +h, minutes: +m };\n}\n/**\n * Retrieves the currency symbol for a given currency code.\n *\n * For example, for the default `en-US` locale, the code `USD` can\n * be represented by the narrow symbol `$` or the wide symbol `US$`.\n *\n * @param code The currency code.\n * @param format The format, `wide` or `narrow`.\n * @param locale A locale code for the locale format rules to use.\n *\n * @returns The symbol, or the currency code if no symbol is available.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getCurrencySymbol(code, format, locale = 'en') {\n const currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];\n const symbolNarrow = currency[1 /* ɵCurrencyIndex.SymbolNarrow */];\n if (format === 'narrow' && typeof symbolNarrow === 'string') {\n return symbolNarrow;\n }\n return currency[0 /* ɵCurrencyIndex.Symbol */] || code;\n}\n// Most currencies have cents, that's why the default is 2\nconst DEFAULT_NB_OF_CURRENCY_DIGITS = 2;\n/**\n * Reports the number of decimal digits for a given currency.\n * The value depends upon the presence of cents in that particular currency.\n *\n * @param code The currency code.\n * @returns The number of decimal digits, typically 0 or 2.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getNumberOfCurrencyDigits(code) {\n let digits;\n const currency = CURRENCIES_EN[code];\n if (currency) {\n digits = currency[2 /* ɵCurrencyIndex.NbOfDigits */];\n }\n return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;\n}\n\nconst ISO8601_DATE_REGEX = /^(\\d{4,})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n// 1 2 3 4 5 6 7 8 9 10 11\nconst NAMED_FORMATS = {};\nconst DATE_FORMATS_SPLIT = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\\s\\S]*)/;\nvar ZoneWidth;\n(function (ZoneWidth) {\n ZoneWidth[ZoneWidth[\"Short\"] = 0] = \"Short\";\n ZoneWidth[ZoneWidth[\"ShortGMT\"] = 1] = \"ShortGMT\";\n ZoneWidth[ZoneWidth[\"Long\"] = 2] = \"Long\";\n ZoneWidth[ZoneWidth[\"Extended\"] = 3] = \"Extended\";\n})(ZoneWidth || (ZoneWidth = {}));\nvar DateType;\n(function (DateType) {\n DateType[DateType[\"FullYear\"] = 0] = \"FullYear\";\n DateType[DateType[\"Month\"] = 1] = \"Month\";\n DateType[DateType[\"Date\"] = 2] = \"Date\";\n DateType[DateType[\"Hours\"] = 3] = \"Hours\";\n DateType[DateType[\"Minutes\"] = 4] = \"Minutes\";\n DateType[DateType[\"Seconds\"] = 5] = \"Seconds\";\n DateType[DateType[\"FractionalSeconds\"] = 6] = \"FractionalSeconds\";\n DateType[DateType[\"Day\"] = 7] = \"Day\";\n})(DateType || (DateType = {}));\nvar TranslationType;\n(function (TranslationType) {\n TranslationType[TranslationType[\"DayPeriods\"] = 0] = \"DayPeriods\";\n TranslationType[TranslationType[\"Days\"] = 1] = \"Days\";\n TranslationType[TranslationType[\"Months\"] = 2] = \"Months\";\n TranslationType[TranslationType[\"Eras\"] = 3] = \"Eras\";\n})(TranslationType || (TranslationType = {}));\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a date according to locale rules.\n *\n * @param value The date to format, as a Date, or a number (milliseconds since UTC epoch)\n * or an [ISO date-time string](https://www.w3.org/TR/NOTE-datetime).\n * @param format The date-time components to include. See `DatePipe` for details.\n * @param locale A locale code for the locale format rules to use.\n * @param timezone The time zone. A time zone offset from GMT (such as `'+0430'`),\n * or a standard UTC/GMT or continental US time zone abbreviation.\n * If not specified, uses host system settings.\n *\n * @returns The formatted date string.\n *\n * @see {@link DatePipe}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatDate(value, format, locale, timezone) {\n let date = toDate(value);\n const namedFormat = getNamedFormat(locale, format);\n format = namedFormat || format;\n let parts = [];\n let match;\n while (format) {\n match = DATE_FORMATS_SPLIT.exec(format);\n if (match) {\n parts = parts.concat(match.slice(1));\n const part = parts.pop();\n if (!part) {\n break;\n }\n format = part;\n }\n else {\n parts.push(format);\n break;\n }\n }\n let dateTimezoneOffset = date.getTimezoneOffset();\n if (timezone) {\n dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n date = convertTimezoneToLocal(date, timezone, true);\n }\n let text = '';\n parts.forEach((value) => {\n const dateFormatter = getDateFormatter(value);\n text += dateFormatter\n ? dateFormatter(date, locale, dateTimezoneOffset)\n : value === \"''\"\n ? \"'\"\n : value.replace(/(^'|'$)/g, '').replace(/''/g, \"'\");\n });\n return text;\n}\n/**\n * Create a new Date object with the given date value, and the time set to midnight.\n *\n * We cannot use `new Date(year, month, date)` because it maps years between 0 and 99 to 1900-1999.\n * See: https://github.com/angular/angular/issues/40377\n *\n * Note that this function returns a Date object whose time is midnight in the current locale's\n * timezone. In the future we might want to change this to be midnight in UTC, but this would be a\n * considerable breaking change.\n */\nfunction createDate(year, month, date) {\n // The `newDate` is set to midnight (UTC) on January 1st 1970.\n // - In PST this will be December 31st 1969 at 4pm.\n // - In GMT this will be January 1st 1970 at 1am.\n // Note that they even have different years, dates and months!\n const newDate = new Date(0);\n // `setFullYear()` allows years like 0001 to be set correctly. This function does not\n // change the internal time of the date.\n // Consider calling `setFullYear(2019, 8, 20)` (September 20, 2019).\n // - In PST this will now be September 20, 2019 at 4pm\n // - In GMT this will now be September 20, 2019 at 1am\n newDate.setFullYear(year, month, date);\n // We want the final date to be at local midnight, so we reset the time.\n // - In PST this will now be September 20, 2019 at 12am\n // - In GMT this will now be September 20, 2019 at 12am\n newDate.setHours(0, 0, 0);\n return newDate;\n}\nfunction getNamedFormat(locale, format) {\n const localeId = getLocaleId(locale);\n NAMED_FORMATS[localeId] ??= {};\n if (NAMED_FORMATS[localeId][format]) {\n return NAMED_FORMATS[localeId][format];\n }\n let formatValue = '';\n switch (format) {\n case 'shortDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Short);\n break;\n case 'mediumDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Medium);\n break;\n case 'longDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Long);\n break;\n case 'fullDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Full);\n break;\n case 'shortTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Short);\n break;\n case 'mediumTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Medium);\n break;\n case 'longTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Long);\n break;\n case 'fullTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Full);\n break;\n case 'short':\n const shortTime = getNamedFormat(locale, 'shortTime');\n const shortDate = getNamedFormat(locale, 'shortDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Short), [\n shortTime,\n shortDate,\n ]);\n break;\n case 'medium':\n const mediumTime = getNamedFormat(locale, 'mediumTime');\n const mediumDate = getNamedFormat(locale, 'mediumDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Medium), [\n mediumTime,\n mediumDate,\n ]);\n break;\n case 'long':\n const longTime = getNamedFormat(locale, 'longTime');\n const longDate = getNamedFormat(locale, 'longDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Long), [\n longTime,\n longDate,\n ]);\n break;\n case 'full':\n const fullTime = getNamedFormat(locale, 'fullTime');\n const fullDate = getNamedFormat(locale, 'fullDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Full), [\n fullTime,\n fullDate,\n ]);\n break;\n }\n if (formatValue) {\n NAMED_FORMATS[localeId][format] = formatValue;\n }\n return formatValue;\n}\nfunction formatDateTime(str, opt_values) {\n if (opt_values) {\n str = str.replace(/\\{([^}]+)}/g, function (match, key) {\n return opt_values != null && key in opt_values ? opt_values[key] : match;\n });\n }\n return str;\n}\nfunction padNumber(num, digits, minusSign = '-', trim, negWrap) {\n let neg = '';\n if (num < 0 || (negWrap && num <= 0)) {\n if (negWrap) {\n num = -num + 1;\n }\n else {\n num = -num;\n neg = minusSign;\n }\n }\n let strNum = String(num);\n while (strNum.length < digits) {\n strNum = '0' + strNum;\n }\n if (trim) {\n strNum = strNum.slice(strNum.length - digits);\n }\n return neg + strNum;\n}\nfunction formatFractionalSeconds(milliseconds, digits) {\n const strMs = padNumber(milliseconds, 3);\n return strMs.substring(0, digits);\n}\n/**\n * Returns a date formatter that transforms a date into its locale digit representation\n */\nfunction dateGetter(name, size, offset = 0, trim = false, negWrap = false) {\n return function (date, locale) {\n let part = getDatePart(name, date);\n if (offset > 0 || part > -offset) {\n part += offset;\n }\n if (name === DateType.Hours) {\n if (part === 0 && offset === -12) {\n part = 12;\n }\n }\n else if (name === DateType.FractionalSeconds) {\n return formatFractionalSeconds(part, size);\n }\n const localeMinus = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n return padNumber(part, size, localeMinus, trim, negWrap);\n };\n}\nfunction getDatePart(part, date) {\n switch (part) {\n case DateType.FullYear:\n return date.getFullYear();\n case DateType.Month:\n return date.getMonth();\n case DateType.Date:\n return date.getDate();\n case DateType.Hours:\n return date.getHours();\n case DateType.Minutes:\n return date.getMinutes();\n case DateType.Seconds:\n return date.getSeconds();\n case DateType.FractionalSeconds:\n return date.getMilliseconds();\n case DateType.Day:\n return date.getDay();\n default:\n throw new Error(`Unknown DateType value \"${part}\".`);\n }\n}\n/**\n * Returns a date formatter that transforms a date into its locale string representation\n */\nfunction dateStrGetter(name, width, form = FormStyle.Format, extended = false) {\n return function (date, locale) {\n return getDateTranslation(date, locale, name, width, form, extended);\n };\n}\n/**\n * Returns the locale translation of a date for a given form, type and width\n */\nfunction getDateTranslation(date, locale, name, width, form, extended) {\n switch (name) {\n case TranslationType.Months:\n return getLocaleMonthNames(locale, form, width)[date.getMonth()];\n case TranslationType.Days:\n return getLocaleDayNames(locale, form, width)[date.getDay()];\n case TranslationType.DayPeriods:\n const currentHours = date.getHours();\n const currentMinutes = date.getMinutes();\n if (extended) {\n const rules = getLocaleExtraDayPeriodRules(locale);\n const dayPeriods = getLocaleExtraDayPeriods(locale, form, width);\n const index = rules.findIndex((rule) => {\n if (Array.isArray(rule)) {\n // morning, afternoon, evening, night\n const [from, to] = rule;\n const afterFrom = currentHours >= from.hours && currentMinutes >= from.minutes;\n const beforeTo = currentHours < to.hours || (currentHours === to.hours && currentMinutes < to.minutes);\n // We must account for normal rules that span a period during the day (e.g. 6am-9am)\n // where `from` is less (earlier) than `to`. But also rules that span midnight (e.g.\n // 10pm - 5am) where `from` is greater (later!) than `to`.\n //\n // In the first case the current time must be BOTH after `from` AND before `to`\n // (e.g. 8am is after 6am AND before 10am).\n //\n // In the second case the current time must be EITHER after `from` OR before `to`\n // (e.g. 4am is before 5am but not after 10pm; and 11pm is not before 5am but it is\n // after 10pm).\n if (from.hours < to.hours) {\n if (afterFrom && beforeTo) {\n return true;\n }\n }\n else if (afterFrom || beforeTo) {\n return true;\n }\n }\n else {\n // noon or midnight\n if (rule.hours === currentHours && rule.minutes === currentMinutes) {\n return true;\n }\n }\n return false;\n });\n if (index !== -1) {\n return dayPeriods[index];\n }\n }\n // if no rules for the day periods, we use am/pm by default\n return getLocaleDayPeriods(locale, form, width)[currentHours < 12 ? 0 : 1];\n case TranslationType.Eras:\n return getLocaleEraNames(locale, width)[date.getFullYear() <= 0 ? 0 : 1];\n default:\n // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n // However Closure Compiler does not understand that and reports an error in typed mode.\n // The `throw new Error` below works around the problem, and the unexpected: never variable\n // makes sure tsc still checks this code is unreachable.\n const unexpected = name;\n throw new Error(`unexpected translation type ${unexpected}`);\n }\n}\n/**\n * Returns a date formatter that transforms a date and an offset into a timezone with ISO8601 or\n * GMT format depending on the width (eg: short = +0430, short:GMT = GMT+4, long = GMT+04:30,\n * extended = +04:30)\n */\nfunction timeZoneGetter(width) {\n return function (date, locale, offset) {\n const zone = -1 * offset;\n const minusSign = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n const hours = zone > 0 ? Math.floor(zone / 60) : Math.ceil(zone / 60);\n switch (width) {\n case ZoneWidth.Short:\n return ((zone >= 0 ? '+' : '') +\n padNumber(hours, 2, minusSign) +\n padNumber(Math.abs(zone % 60), 2, minusSign));\n case ZoneWidth.ShortGMT:\n return 'GMT' + (zone >= 0 ? '+' : '') + padNumber(hours, 1, minusSign);\n case ZoneWidth.Long:\n return ('GMT' +\n (zone >= 0 ? '+' : '') +\n padNumber(hours, 2, minusSign) +\n ':' +\n padNumber(Math.abs(zone % 60), 2, minusSign));\n case ZoneWidth.Extended:\n if (offset === 0) {\n return 'Z';\n }\n else {\n return ((zone >= 0 ? '+' : '') +\n padNumber(hours, 2, minusSign) +\n ':' +\n padNumber(Math.abs(zone % 60), 2, minusSign));\n }\n default:\n throw new Error(`Unknown zone width \"${width}\"`);\n }\n };\n}\nconst JANUARY = 0;\nconst THURSDAY = 4;\nfunction getFirstThursdayOfYear(year) {\n const firstDayOfYear = createDate(year, JANUARY, 1).getDay();\n return createDate(year, 0, 1 + (firstDayOfYear <= THURSDAY ? THURSDAY : THURSDAY + 7) - firstDayOfYear);\n}\n/**\n * ISO Week starts on day 1 (Monday) and ends with day 0 (Sunday)\n */\nfunction getThursdayThisIsoWeek(datetime) {\n // getDay returns 0-6 range with sunday as 0.\n const currentDay = datetime.getDay();\n // On a Sunday, read the previous Thursday since ISO weeks start on Monday.\n const deltaToThursday = currentDay === 0 ? -3 : THURSDAY - currentDay;\n return createDate(datetime.getFullYear(), datetime.getMonth(), datetime.getDate() + deltaToThursday);\n}\nfunction weekGetter(size, monthBased = false) {\n return function (date, locale) {\n let result;\n if (monthBased) {\n const nbDaysBefore1stDayOfMonth = new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1;\n const today = date.getDate();\n result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7);\n }\n else {\n const thisThurs = getThursdayThisIsoWeek(date);\n // Some days of a year are part of next year according to ISO 8601.\n // Compute the firstThurs from the year of this week's Thursday\n const firstThurs = getFirstThursdayOfYear(thisThurs.getFullYear());\n const diff = thisThurs.getTime() - firstThurs.getTime();\n result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n }\n return padNumber(result, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n };\n}\n/**\n * Returns a date formatter that provides the week-numbering year for the input date.\n */\nfunction weekNumberingYearGetter(size, trim = false) {\n return function (date, locale) {\n const thisThurs = getThursdayThisIsoWeek(date);\n const weekNumberingYear = thisThurs.getFullYear();\n return padNumber(weekNumberingYear, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign), trim);\n };\n}\nconst DATE_FORMATS = {};\n// Based on CLDR formats:\n// See complete list: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n// See also explanations: http://cldr.unicode.org/translation/date-time\n// TODO(ocombe): support all missing cldr formats: U, Q, D, F, e, j, J, C, A, v, V, X, x\nfunction getDateFormatter(format) {\n if (DATE_FORMATS[format]) {\n return DATE_FORMATS[format];\n }\n let formatter;\n switch (format) {\n // Era name (AD/BC)\n case 'G':\n case 'GG':\n case 'GGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Abbreviated);\n break;\n case 'GGGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Wide);\n break;\n case 'GGGGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Narrow);\n break;\n // 1 digit representation of the year, e.g. (AD 1 => 1, AD 199 => 199)\n case 'y':\n formatter = dateGetter(DateType.FullYear, 1, 0, false, true);\n break;\n // 2 digit representation of the year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n case 'yy':\n formatter = dateGetter(DateType.FullYear, 2, 0, true, true);\n break;\n // 3 digit representation of the year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10)\n case 'yyy':\n formatter = dateGetter(DateType.FullYear, 3, 0, false, true);\n break;\n // 4 digit representation of the year (e.g. AD 1 => 0001, AD 2010 => 2010)\n case 'yyyy':\n formatter = dateGetter(DateType.FullYear, 4, 0, false, true);\n break;\n // 1 digit representation of the week-numbering year, e.g. (AD 1 => 1, AD 199 => 199)\n case 'Y':\n formatter = weekNumberingYearGetter(1);\n break;\n // 2 digit representation of the week-numbering year, padded (00-99). (e.g. AD 2001 => 01, AD\n // 2010 => 10)\n case 'YY':\n formatter = weekNumberingYearGetter(2, true);\n break;\n // 3 digit representation of the week-numbering year, padded (000-999). (e.g. AD 1 => 001, AD\n // 2010 => 2010)\n case 'YYY':\n formatter = weekNumberingYearGetter(3);\n break;\n // 4 digit representation of the week-numbering year (e.g. AD 1 => 0001, AD 2010 => 2010)\n case 'YYYY':\n formatter = weekNumberingYearGetter(4);\n break;\n // Month of the year (1-12), numeric\n case 'M':\n case 'L':\n formatter = dateGetter(DateType.Month, 1, 1);\n break;\n case 'MM':\n case 'LL':\n formatter = dateGetter(DateType.Month, 2, 1);\n break;\n // Month of the year (January, ...), string, format\n case 'MMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated);\n break;\n case 'MMMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide);\n break;\n case 'MMMMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow);\n break;\n // Month of the year (January, ...), string, standalone\n case 'LLL':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated, FormStyle.Standalone);\n break;\n case 'LLLL':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide, FormStyle.Standalone);\n break;\n case 'LLLLL':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow, FormStyle.Standalone);\n break;\n // Week of the year (1, ... 52)\n case 'w':\n formatter = weekGetter(1);\n break;\n case 'ww':\n formatter = weekGetter(2);\n break;\n // Week of the month (1, ...)\n case 'W':\n formatter = weekGetter(1, true);\n break;\n // Day of the month (1-31)\n case 'd':\n formatter = dateGetter(DateType.Date, 1);\n break;\n case 'dd':\n formatter = dateGetter(DateType.Date, 2);\n break;\n // Day of the Week StandAlone (1, 1, Mon, Monday, M, Mo)\n case 'c':\n case 'cc':\n formatter = dateGetter(DateType.Day, 1);\n break;\n case 'ccc':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated, FormStyle.Standalone);\n break;\n case 'cccc':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide, FormStyle.Standalone);\n break;\n case 'ccccc':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow, FormStyle.Standalone);\n break;\n case 'cccccc':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short, FormStyle.Standalone);\n break;\n // Day of the Week\n case 'E':\n case 'EE':\n case 'EEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated);\n break;\n case 'EEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide);\n break;\n case 'EEEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow);\n break;\n case 'EEEEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short);\n break;\n // Generic period of the day (am-pm)\n case 'a':\n case 'aa':\n case 'aaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated);\n break;\n case 'aaaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide);\n break;\n case 'aaaaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow);\n break;\n // Extended period of the day (midnight, at night, ...), standalone\n case 'b':\n case 'bb':\n case 'bbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Standalone, true);\n break;\n case 'bbbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Standalone, true);\n break;\n case 'bbbbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Standalone, true);\n break;\n // Extended period of the day (midnight, night, ...), standalone\n case 'B':\n case 'BB':\n case 'BBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Format, true);\n break;\n case 'BBBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Format, true);\n break;\n case 'BBBBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Format, true);\n break;\n // Hour in AM/PM, (1-12)\n case 'h':\n formatter = dateGetter(DateType.Hours, 1, -12);\n break;\n case 'hh':\n formatter = dateGetter(DateType.Hours, 2, -12);\n break;\n // Hour of the day (0-23)\n case 'H':\n formatter = dateGetter(DateType.Hours, 1);\n break;\n // Hour in day, padded (00-23)\n case 'HH':\n formatter = dateGetter(DateType.Hours, 2);\n break;\n // Minute of the hour (0-59)\n case 'm':\n formatter = dateGetter(DateType.Minutes, 1);\n break;\n case 'mm':\n formatter = dateGetter(DateType.Minutes, 2);\n break;\n // Second of the minute (0-59)\n case 's':\n formatter = dateGetter(DateType.Seconds, 1);\n break;\n case 'ss':\n formatter = dateGetter(DateType.Seconds, 2);\n break;\n // Fractional second\n case 'S':\n formatter = dateGetter(DateType.FractionalSeconds, 1);\n break;\n case 'SS':\n formatter = dateGetter(DateType.FractionalSeconds, 2);\n break;\n case 'SSS':\n formatter = dateGetter(DateType.FractionalSeconds, 3);\n break;\n // Timezone ISO8601 short format (-0430)\n case 'Z':\n case 'ZZ':\n case 'ZZZ':\n formatter = timeZoneGetter(ZoneWidth.Short);\n break;\n // Timezone ISO8601 extended format (-04:30)\n case 'ZZZZZ':\n formatter = timeZoneGetter(ZoneWidth.Extended);\n break;\n // Timezone GMT short format (GMT+4)\n case 'O':\n case 'OO':\n case 'OOO':\n // Should be location, but fallback to format O instead because we don't have the data yet\n case 'z':\n case 'zz':\n case 'zzz':\n formatter = timeZoneGetter(ZoneWidth.ShortGMT);\n break;\n // Timezone GMT long format (GMT+0430)\n case 'OOOO':\n case 'ZZZZ':\n // Should be location, but fallback to format O instead because we don't have the data yet\n case 'zzzz':\n formatter = timeZoneGetter(ZoneWidth.Long);\n break;\n default:\n return null;\n }\n DATE_FORMATS[format] = formatter;\n return formatter;\n}\nfunction timezoneToOffset(timezone, fallback) {\n // Support: IE 11 only, Edge 13-15+\n // IE/Edge do not \"understand\" colon (`:`) in timezone\n timezone = timezone.replace(/:/g, '');\n const requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n}\nfunction addDateMinutes(date, minutes) {\n date = new Date(date.getTime());\n date.setMinutes(date.getMinutes() + minutes);\n return date;\n}\nfunction convertTimezoneToLocal(date, timezone, reverse) {\n const reverseValue = reverse ? -1 : 1;\n const dateTimezoneOffset = date.getTimezoneOffset();\n const timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset));\n}\n/**\n * Converts a value to date.\n *\n * Supported input formats:\n * - `Date`\n * - number: timestamp\n * - string: numeric (e.g. \"1234\"), ISO and date strings in a format supported by\n * [Date.parse()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).\n * Note: ISO strings without time return a date without timeoffset.\n *\n * Throws if unable to convert to a date.\n */\nfunction toDate(value) {\n if (isDate(value)) {\n return value;\n }\n if (typeof value === 'number' && !isNaN(value)) {\n return new Date(value);\n }\n if (typeof value === 'string') {\n value = value.trim();\n if (/^(\\d{4}(-\\d{1,2}(-\\d{1,2})?)?)$/.test(value)) {\n /* For ISO Strings without time the day, month and year must be extracted from the ISO String\n before Date creation to avoid time offset and errors in the new Date.\n If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n date, some browsers (e.g. IE 9) will throw an invalid Date error.\n If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the timeoffset\n is applied.\n Note: ISO months are 0 for January, 1 for February, ... */\n const [y, m = 1, d = 1] = value.split('-').map((val) => +val);\n return createDate(y, m - 1, d);\n }\n const parsedNb = parseFloat(value);\n // any string that only contains numbers, like \"1234\" but not like \"1234hello\"\n if (!isNaN(value - parsedNb)) {\n return new Date(parsedNb);\n }\n let match;\n if ((match = value.match(ISO8601_DATE_REGEX))) {\n return isoStringToDate(match);\n }\n }\n const date = new Date(value);\n if (!isDate(date)) {\n throw new Error(`Unable to convert \"${value}\" into a date`);\n }\n return date;\n}\n/**\n * Converts a date in ISO8601 to a Date.\n * Used instead of `Date.parse` because of browser discrepancies.\n */\nfunction isoStringToDate(match) {\n const date = new Date(0);\n let tzHour = 0;\n let tzMin = 0;\n // match[8] means that the string contains \"Z\" (UTC) or a timezone like \"+01:00\" or \"+0100\"\n const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;\n const timeSetter = match[8] ? date.setUTCHours : date.setHours;\n // if there is a timezone defined like \"+01:00\" or \"+0100\"\n if (match[9]) {\n tzHour = Number(match[9] + match[10]);\n tzMin = Number(match[9] + match[11]);\n }\n dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));\n const h = Number(match[4] || 0) - tzHour;\n const m = Number(match[5] || 0) - tzMin;\n const s = Number(match[6] || 0);\n // The ECMAScript specification (https://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.11)\n // defines that `DateTime` milliseconds should always be rounded down, so that `999.9ms`\n // becomes `999ms`.\n const ms = Math.floor(parseFloat('0.' + (match[7] || 0)) * 1000);\n timeSetter.call(date, h, m, s, ms);\n return date;\n}\nfunction isDate(value) {\n return value instanceof Date && !isNaN(value.valueOf());\n}\n\nconst NUMBER_FORMAT_REGEXP = /^(\\d+)?\\.((\\d+)(-(\\d+))?)?$/;\nconst MAX_DIGITS = 22;\nconst DECIMAL_SEP = '.';\nconst ZERO_CHAR = '0';\nconst PATTERN_SEP = ';';\nconst GROUP_SEP = ',';\nconst DIGIT_CHAR = '#';\nconst CURRENCY_CHAR = '¤';\nconst PERCENT_CHAR = '%';\n/**\n * Transforms a number to a locale string based on a style and a format.\n */\nfunction formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimalSymbol, digitsInfo, isPercent = false) {\n let formattedText = '';\n let isZero = false;\n if (!isFinite(value)) {\n formattedText = getLocaleNumberSymbol(locale, NumberSymbol.Infinity);\n }\n else {\n let parsedNumber = parseNumber(value);\n if (isPercent) {\n parsedNumber = toPercent(parsedNumber);\n }\n let minInt = pattern.minInt;\n let minFraction = pattern.minFrac;\n let maxFraction = pattern.maxFrac;\n if (digitsInfo) {\n const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);\n if (parts === null) {\n throw new Error(`${digitsInfo} is not a valid digit info`);\n }\n const minIntPart = parts[1];\n const minFractionPart = parts[3];\n const maxFractionPart = parts[5];\n if (minIntPart != null) {\n minInt = parseIntAutoRadix(minIntPart);\n }\n if (minFractionPart != null) {\n minFraction = parseIntAutoRadix(minFractionPart);\n }\n if (maxFractionPart != null) {\n maxFraction = parseIntAutoRadix(maxFractionPart);\n }\n else if (minFractionPart != null && minFraction > maxFraction) {\n maxFraction = minFraction;\n }\n }\n roundNumber(parsedNumber, minFraction, maxFraction);\n let digits = parsedNumber.digits;\n let integerLen = parsedNumber.integerLen;\n const exponent = parsedNumber.exponent;\n let decimals = [];\n isZero = digits.every((d) => !d);\n // pad zeros for small numbers\n for (; integerLen < minInt; integerLen++) {\n digits.unshift(0);\n }\n // pad zeros for small numbers\n for (; integerLen < 0; integerLen++) {\n digits.unshift(0);\n }\n // extract decimals digits\n if (integerLen > 0) {\n decimals = digits.splice(integerLen, digits.length);\n }\n else {\n decimals = digits;\n digits = [0];\n }\n // format the integer digits with grouping separators\n const groups = [];\n if (digits.length >= pattern.lgSize) {\n groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));\n }\n while (digits.length > pattern.gSize) {\n groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));\n }\n if (digits.length) {\n groups.unshift(digits.join(''));\n }\n formattedText = groups.join(getLocaleNumberSymbol(locale, groupSymbol));\n // append the decimal digits\n if (decimals.length) {\n formattedText += getLocaleNumberSymbol(locale, decimalSymbol) + decimals.join('');\n }\n if (exponent) {\n formattedText += getLocaleNumberSymbol(locale, NumberSymbol.Exponential) + '+' + exponent;\n }\n }\n if (value < 0 && !isZero) {\n formattedText = pattern.negPre + formattedText + pattern.negSuf;\n }\n else {\n formattedText = pattern.posPre + formattedText + pattern.posSuf;\n }\n return formattedText;\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as currency using locale rules.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param currency A string containing the currency symbol or its name,\n * such as \"$\" or \"Canadian Dollar\". Used in output string, but does not affect the operation\n * of the function.\n * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n * currency code, such as `USD` for the US dollar and `EUR` for the euro.\n * Used to determine the number of digits in the decimal part.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted currency value.\n *\n * @see {@link formatNumber}\n * @see {@link DecimalPipe}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatCurrency(value, locale, currency, currencyCode, digitsInfo) {\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Currency);\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n pattern.minFrac = getNumberOfCurrencyDigits(currencyCode);\n pattern.maxFrac = pattern.minFrac;\n const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.CurrencyGroup, NumberSymbol.CurrencyDecimal, digitsInfo);\n return (res\n .replace(CURRENCY_CHAR, currency)\n // if we have 2 time the currency character, the second one is ignored\n .replace(CURRENCY_CHAR, '')\n // If there is a spacing between currency character and the value and\n // the currency character is suppressed by passing an empty string, the\n // spacing character would remain as part of the string. Then we\n // should remove it.\n .trim());\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as a percentage according to locale rules.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted percentage value.\n *\n * @see {@link formatNumber}\n * @see {@link DecimalPipe}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n * @publicApi\n *\n */\nfunction formatPercent(value, locale, digitsInfo) {\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Percent);\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo, true);\n return res.replace(new RegExp(PERCENT_CHAR, 'g'), getLocaleNumberSymbol(locale, NumberSymbol.PercentSign));\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as text, with group sizing, separator, and other\n * parameters based on the locale.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted text string.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatNumber(value, locale, digitsInfo) {\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Decimal);\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n return formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo);\n}\nfunction parseNumberFormat(format, minusSign = '-') {\n const p = {\n minInt: 1,\n minFrac: 0,\n maxFrac: 0,\n posPre: '',\n posSuf: '',\n negPre: '',\n negSuf: '',\n gSize: 0,\n lgSize: 0,\n };\n const patternParts = format.split(PATTERN_SEP);\n const positive = patternParts[0];\n const negative = patternParts[1];\n const positiveParts = positive.indexOf(DECIMAL_SEP) !== -1\n ? positive.split(DECIMAL_SEP)\n : [\n positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),\n positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1),\n ], integer = positiveParts[0], fraction = positiveParts[1] || '';\n p.posPre = integer.substring(0, integer.indexOf(DIGIT_CHAR));\n for (let i = 0; i < fraction.length; i++) {\n const ch = fraction.charAt(i);\n if (ch === ZERO_CHAR) {\n p.minFrac = p.maxFrac = i + 1;\n }\n else if (ch === DIGIT_CHAR) {\n p.maxFrac = i + 1;\n }\n else {\n p.posSuf += ch;\n }\n }\n const groups = integer.split(GROUP_SEP);\n p.gSize = groups[1] ? groups[1].length : 0;\n p.lgSize = groups[2] || groups[1] ? (groups[2] || groups[1]).length : 0;\n if (negative) {\n const trunkLen = positive.length - p.posPre.length - p.posSuf.length, pos = negative.indexOf(DIGIT_CHAR);\n p.negPre = negative.substring(0, pos).replace(/'/g, '');\n p.negSuf = negative.slice(pos + trunkLen).replace(/'/g, '');\n }\n else {\n p.negPre = minusSign + p.posPre;\n p.negSuf = p.posSuf;\n }\n return p;\n}\n// Transforms a parsed number into a percentage by multiplying it by 100\nfunction toPercent(parsedNumber) {\n // if the number is 0, don't do anything\n if (parsedNumber.digits[0] === 0) {\n return parsedNumber;\n }\n // Getting the current number of decimals\n const fractionLen = parsedNumber.digits.length - parsedNumber.integerLen;\n if (parsedNumber.exponent) {\n parsedNumber.exponent += 2;\n }\n else {\n if (fractionLen === 0) {\n parsedNumber.digits.push(0, 0);\n }\n else if (fractionLen === 1) {\n parsedNumber.digits.push(0);\n }\n parsedNumber.integerLen += 2;\n }\n return parsedNumber;\n}\n/**\n * Parses a number.\n * Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/\n */\nfunction parseNumber(num) {\n let numStr = Math.abs(num) + '';\n let exponent = 0, digits, integerLen;\n let i, j, zeros;\n // Decimal point?\n if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) {\n numStr = numStr.replace(DECIMAL_SEP, '');\n }\n // Exponential form?\n if ((i = numStr.search(/e/i)) > 0) {\n // Work out the exponent.\n if (integerLen < 0)\n integerLen = i;\n integerLen += +numStr.slice(i + 1);\n numStr = numStr.substring(0, i);\n }\n else if (integerLen < 0) {\n // There was no decimal point or exponent so it is an integer.\n integerLen = numStr.length;\n }\n // Count the number of leading zeros.\n for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) {\n /* empty */\n }\n if (i === (zeros = numStr.length)) {\n // The digits are all zero.\n digits = [0];\n integerLen = 1;\n }\n else {\n // Count the number of trailing zeros\n zeros--;\n while (numStr.charAt(zeros) === ZERO_CHAR)\n zeros--;\n // Trailing zeros are insignificant so ignore them\n integerLen -= i;\n digits = [];\n // Convert string to array of digits without leading/trailing zeros.\n for (j = 0; i <= zeros; i++, j++) {\n digits[j] = Number(numStr.charAt(i));\n }\n }\n // If the number overflows the maximum allowed digits then use an exponent.\n if (integerLen > MAX_DIGITS) {\n digits = digits.splice(0, MAX_DIGITS - 1);\n exponent = integerLen - 1;\n integerLen = 1;\n }\n return { digits, exponent, integerLen };\n}\n/**\n * Round the parsed number to the specified number of decimal places\n * This function changes the parsedNumber in-place\n */\nfunction roundNumber(parsedNumber, minFrac, maxFrac) {\n if (minFrac > maxFrac) {\n throw new Error(`The minimum number of digits after fraction (${minFrac}) is higher than the maximum (${maxFrac}).`);\n }\n let digits = parsedNumber.digits;\n let fractionLen = digits.length - parsedNumber.integerLen;\n const fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac);\n // The index of the digit to where rounding is to occur\n let roundAt = fractionSize + parsedNumber.integerLen;\n let digit = digits[roundAt];\n if (roundAt > 0) {\n // Drop fractional digits beyond `roundAt`\n digits.splice(Math.max(parsedNumber.integerLen, roundAt));\n // Set non-fractional digits beyond `roundAt` to 0\n for (let j = roundAt; j < digits.length; j++) {\n digits[j] = 0;\n }\n }\n else {\n // We rounded to zero so reset the parsedNumber\n fractionLen = Math.max(0, fractionLen);\n parsedNumber.integerLen = 1;\n digits.length = Math.max(1, (roundAt = fractionSize + 1));\n digits[0] = 0;\n for (let i = 1; i < roundAt; i++)\n digits[i] = 0;\n }\n if (digit >= 5) {\n if (roundAt - 1 < 0) {\n for (let k = 0; k > roundAt; k--) {\n digits.unshift(0);\n parsedNumber.integerLen++;\n }\n digits.unshift(1);\n parsedNumber.integerLen++;\n }\n else {\n digits[roundAt - 1]++;\n }\n }\n // Pad out with zeros to get the required fraction length\n for (; fractionLen < Math.max(0, fractionSize); fractionLen++)\n digits.push(0);\n let dropTrailingZeros = fractionSize !== 0;\n // Minimal length = nb of decimals required + current nb of integers\n // Any number besides that is optional and can be removed if it's a trailing 0\n const minLen = minFrac + parsedNumber.integerLen;\n // Do any carrying, e.g. a digit was rounded up to 10\n const carry = digits.reduceRight(function (carry, d, i, digits) {\n d = d + carry;\n digits[i] = d < 10 ? d : d - 10; // d % 10\n if (dropTrailingZeros) {\n // Do not keep meaningless fractional trailing zeros (e.g. 15.52000 --> 15.52)\n if (digits[i] === 0 && i >= minLen) {\n digits.pop();\n }\n else {\n dropTrailingZeros = false;\n }\n }\n return d >= 10 ? 1 : 0; // Math.floor(d / 10);\n }, 0);\n if (carry) {\n digits.unshift(carry);\n parsedNumber.integerLen++;\n }\n}\nfunction parseIntAutoRadix(text) {\n const result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n}\n\n/**\n * @publicApi\n */\nclass NgLocalization {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgLocalization, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n useFactory: (locale) => new NgLocaleLocalization(locale),\n deps: [LOCALE_ID],\n }]\n }] });\n/**\n * Returns the plural category for a given value.\n * - \"=value\" when the case exists,\n * - the plural category otherwise\n */\nfunction getPluralCategory(value, cases, ngLocalization, locale) {\n let key = `=${value}`;\n if (cases.indexOf(key) > -1) {\n return key;\n }\n key = ngLocalization.getPluralCategory(value, locale);\n if (cases.indexOf(key) > -1) {\n return key;\n }\n if (cases.indexOf('other') > -1) {\n return 'other';\n }\n throw new Error(`No plural message found for value \"${value}\"`);\n}\n/**\n * Returns the plural case based on the locale\n *\n * @publicApi\n */\nclass NgLocaleLocalization extends NgLocalization {\n constructor(locale) {\n super();\n this.locale = locale;\n }\n getPluralCategory(value, locale) {\n const plural = getLocalePluralCase(locale || this.locale)(value);\n switch (plural) {\n case Plural.Zero:\n return 'zero';\n case Plural.One:\n return 'one';\n case Plural.Two:\n return 'two';\n case Plural.Few:\n return 'few';\n case Plural.Many:\n return 'many';\n default:\n return 'other';\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgLocaleLocalization }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgLocaleLocalization, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }] });\n\n/**\n * Register global data to be used internally by Angular. See the\n * [\"I18n guide\"](guide/i18n-common-format-data-locale) to know how to import additional locale\n * data.\n *\n * The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1\n *\n * @publicApi\n */\nfunction registerLocaleData(data, localeId, extraData) {\n return ɵregisterLocaleData(data, localeId, extraData);\n}\n\nfunction parseCookieValue(cookieStr, name) {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n\nconst WS_REGEXP = /\\s+/;\nconst EMPTY_ARRAY = [];\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n * ```\n * ...\n *\n * ...\n *\n * ...\n *\n * ...\n *\n * ...\n * ```\n *\n * @description\n *\n * Adds and removes CSS classes on an HTML element.\n *\n * The CSS classes are updated as follows, depending on the type of the expression evaluation:\n * - `string` - the CSS classes listed in the string (space delimited) are added,\n * - `Array` - the CSS classes declared as Array elements are added,\n * - `Object` - keys are CSS classes that get added when the expression given in the value\n * evaluates to a truthy value, otherwise they are removed.\n *\n * @publicApi\n */\nclass NgClass {\n constructor(_ngEl, _renderer) {\n this._ngEl = _ngEl;\n this._renderer = _renderer;\n this.initialClasses = EMPTY_ARRAY;\n this.stateMap = new Map();\n }\n set klass(value) {\n this.initialClasses = value != null ? value.trim().split(WS_REGEXP) : EMPTY_ARRAY;\n }\n set ngClass(value) {\n this.rawClass = typeof value === 'string' ? value.trim().split(WS_REGEXP) : value;\n }\n /*\n The NgClass directive uses the custom change detection algorithm for its inputs. The custom\n algorithm is necessary since inputs are represented as complex object or arrays that need to be\n deeply-compared.\n \n This algorithm is perf-sensitive since NgClass is used very frequently and its poor performance\n might negatively impact runtime performance of the entire change detection cycle. The design of\n this algorithm is making sure that:\n - there is no unnecessary DOM manipulation (CSS classes are added / removed from the DOM only when\n needed), even if references to bound objects change;\n - there is no memory allocation if nothing changes (even relatively modest memory allocation\n during the change detection cycle can result in GC pauses for some of the CD cycles).\n \n The algorithm works by iterating over the set of bound classes, staring with [class] binding and\n then going over [ngClass] binding. For each CSS class name:\n - check if it was seen before (this information is tracked in the state map) and if its value\n changed;\n - mark it as \"touched\" - names that are not marked are not present in the latest set of binding\n and we can remove such class name from the internal data structures;\n \n After iteration over all the CSS class names we've got data structure with all the information\n necessary to synchronize changes to the DOM - it is enough to iterate over the state map, flush\n changes to the DOM and reset internal data structures so those are ready for the next change\n detection cycle.\n */\n ngDoCheck() {\n // classes from the [class] binding\n for (const klass of this.initialClasses) {\n this._updateState(klass, true);\n }\n // classes from the [ngClass] binding\n const rawClass = this.rawClass;\n if (Array.isArray(rawClass) || rawClass instanceof Set) {\n for (const klass of rawClass) {\n this._updateState(klass, true);\n }\n }\n else if (rawClass != null) {\n for (const klass of Object.keys(rawClass)) {\n this._updateState(klass, Boolean(rawClass[klass]));\n }\n }\n this._applyStateDiff();\n }\n _updateState(klass, nextEnabled) {\n const state = this.stateMap.get(klass);\n if (state !== undefined) {\n if (state.enabled !== nextEnabled) {\n state.changed = true;\n state.enabled = nextEnabled;\n }\n state.touched = true;\n }\n else {\n this.stateMap.set(klass, { enabled: nextEnabled, changed: true, touched: true });\n }\n }\n _applyStateDiff() {\n for (const stateEntry of this.stateMap) {\n const klass = stateEntry[0];\n const state = stateEntry[1];\n if (state.changed) {\n this._toggleClass(klass, state.enabled);\n state.changed = false;\n }\n else if (!state.touched) {\n // A class that was previously active got removed from the new collection of classes -\n // remove from the DOM as well.\n if (state.enabled) {\n this._toggleClass(klass, false);\n }\n this.stateMap.delete(klass);\n }\n state.touched = false;\n }\n }\n _toggleClass(klass, enabled) {\n if (ngDevMode) {\n if (typeof klass !== 'string') {\n throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ɵstringify(klass)}`);\n }\n }\n klass = klass.trim();\n if (klass.length > 0) {\n klass.split(WS_REGEXP).forEach((klass) => {\n if (enabled) {\n this._renderer.addClass(this._ngEl.nativeElement, klass);\n }\n else {\n this._renderer.removeClass(this._ngEl.nativeElement, klass);\n }\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgClass, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgClass, isStandalone: true, selector: \"[ngClass]\", inputs: { klass: [\"class\", \"klass\"], ngClass: \"ngClass\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgClass, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngClass]',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { klass: [{\n type: Input,\n args: ['class']\n }], ngClass: [{\n type: Input,\n args: ['ngClass']\n }] } });\n\n/**\n * Instantiates a {@link Component} type and inserts its Host View into the current View.\n * `NgComponentOutlet` provides a declarative approach for dynamic component creation.\n *\n * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and\n * any existing component will be destroyed.\n *\n * @usageNotes\n *\n * ### Fine tune control\n *\n * You can control the component creation process by using the following optional attributes:\n *\n * * `ngComponentOutletInputs`: Optional component inputs object, which will be bind to the\n * component.\n *\n * * `ngComponentOutletInjector`: Optional custom {@link Injector} that will be used as parent for\n * the Component. Defaults to the injector of the current view container.\n *\n * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content\n * section of the component, if it exists.\n *\n * * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another\n * module dynamically, then loading a component from that module.\n *\n * * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional\n * NgModule factory to allow loading another module dynamically, then loading a component from that\n * module. Use `ngComponentOutletNgModule` instead.\n *\n * ### Syntax\n *\n * Simple\n * ```\n * \n * ```\n *\n * With inputs\n * ```\n * \n * \n * ```\n *\n * Customized injector/content\n * ```\n * \n * \n * ```\n *\n * Customized NgModule reference\n * ```\n * \n * \n * ```\n *\n * ### A simple example\n *\n * {@example common/ngComponentOutlet/ts/module.ts region='SimpleExample'}\n *\n * A more complete example with additional options:\n *\n * {@example common/ngComponentOutlet/ts/module.ts region='CompleteExample'}\n *\n * @publicApi\n * @ngModule CommonModule\n */\nclass NgComponentOutlet {\n constructor(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n this.ngComponentOutlet = null;\n /**\n * A helper data structure that allows us to track inputs that were part of the\n * ngComponentOutletInputs expression. Tracking inputs is necessary for proper removal of ones\n * that are no longer referenced.\n */\n this._inputsUsed = new Map();\n }\n _needToReCreateNgModuleInstance(changes) {\n // Note: square brackets property accessor is safe for Closure compiler optimizations (the\n // `changes` argument of the `ngOnChanges` lifecycle hook retains the names of the fields that\n // were changed).\n return (changes['ngComponentOutletNgModule'] !== undefined ||\n changes['ngComponentOutletNgModuleFactory'] !== undefined);\n }\n _needToReCreateComponentInstance(changes) {\n // Note: square brackets property accessor is safe for Closure compiler optimizations (the\n // `changes` argument of the `ngOnChanges` lifecycle hook retains the names of the fields that\n // were changed).\n return (changes['ngComponentOutlet'] !== undefined ||\n changes['ngComponentOutletContent'] !== undefined ||\n changes['ngComponentOutletInjector'] !== undefined ||\n this._needToReCreateNgModuleInstance(changes));\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (this._needToReCreateComponentInstance(changes)) {\n this._viewContainerRef.clear();\n this._inputsUsed.clear();\n this._componentRef = undefined;\n if (this.ngComponentOutlet) {\n const injector = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector;\n if (this._needToReCreateNgModuleInstance(changes)) {\n this._moduleRef?.destroy();\n if (this.ngComponentOutletNgModule) {\n this._moduleRef = createNgModule(this.ngComponentOutletNgModule, getParentInjector(injector));\n }\n else if (this.ngComponentOutletNgModuleFactory) {\n this._moduleRef = this.ngComponentOutletNgModuleFactory.create(getParentInjector(injector));\n }\n else {\n this._moduleRef = undefined;\n }\n }\n this._componentRef = this._viewContainerRef.createComponent(this.ngComponentOutlet, {\n injector,\n ngModuleRef: this._moduleRef,\n projectableNodes: this.ngComponentOutletContent,\n });\n }\n }\n }\n /** @nodoc */\n ngDoCheck() {\n if (this._componentRef) {\n if (this.ngComponentOutletInputs) {\n for (const inputName of Object.keys(this.ngComponentOutletInputs)) {\n this._inputsUsed.set(inputName, true);\n }\n }\n this._applyInputStateDiff(this._componentRef);\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n this._moduleRef?.destroy();\n }\n _applyInputStateDiff(componentRef) {\n for (const [inputName, touched] of this._inputsUsed) {\n if (!touched) {\n // The input that was previously active no longer exists and needs to be set to undefined.\n componentRef.setInput(inputName, undefined);\n this._inputsUsed.delete(inputName);\n }\n else {\n // Since touched is true, it can be asserted that the inputs object is not empty.\n componentRef.setInput(inputName, this.ngComponentOutletInputs[inputName]);\n this._inputsUsed.set(inputName, false);\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgComponentOutlet, isStandalone: true, selector: \"[ngComponentOutlet]\", inputs: { ngComponentOutlet: \"ngComponentOutlet\", ngComponentOutletInputs: \"ngComponentOutletInputs\", ngComponentOutletInjector: \"ngComponentOutletInjector\", ngComponentOutletContent: \"ngComponentOutletContent\", ngComponentOutletNgModule: \"ngComponentOutletNgModule\", ngComponentOutletNgModuleFactory: \"ngComponentOutletNgModuleFactory\" }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgComponentOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngComponentOutlet]',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.ViewContainerRef }], propDecorators: { ngComponentOutlet: [{\n type: Input\n }], ngComponentOutletInputs: [{\n type: Input\n }], ngComponentOutletInjector: [{\n type: Input\n }], ngComponentOutletContent: [{\n type: Input\n }], ngComponentOutletNgModule: [{\n type: Input\n }], ngComponentOutletNgModuleFactory: [{\n type: Input\n }] } });\n// Helper function that returns an Injector instance of a parent NgModule.\nfunction getParentInjector(injector) {\n const parentNgModule = injector.get(NgModuleRef);\n return parentNgModule.injector;\n}\n\n/**\n * @publicApi\n */\nclass NgForOfContext {\n constructor($implicit, ngForOf, index, count) {\n this.$implicit = $implicit;\n this.ngForOf = ngForOf;\n this.index = index;\n this.count = count;\n }\n get first() {\n return this.index === 0;\n }\n get last() {\n return this.index === this.count - 1;\n }\n get even() {\n return this.index % 2 === 0;\n }\n get odd() {\n return !this.even;\n }\n}\n/**\n * A [structural directive](guide/structural-directives) that renders\n * a template for each item in a collection.\n * The directive is placed on an element, which becomes the parent\n * of the cloned templates.\n *\n * The `ngForOf` directive is generally used in the\n * [shorthand form](guide/structural-directives#asterisk) `*ngFor`.\n * In this form, the template to be rendered for each iteration is the content\n * of an anchor element containing the directive.\n *\n * The following example shows the shorthand syntax with some options,\n * contained in an `
  • ` element.\n *\n * ```\n *
  • ...
  • \n * ```\n *\n * The shorthand form expands into a long form that uses the `ngForOf` selector\n * on an `` element.\n * The content of the `` element is the `
  • ` element that held the\n * short-form directive.\n *\n * Here is the expanded version of the short-form example.\n *\n * ```\n * \n *
  • ...
  • \n *
    \n * ```\n *\n * Angular automatically expands the shorthand syntax as it compiles the template.\n * The context for each embedded view is logically merged to the current component\n * context according to its lexical position.\n *\n * When using the shorthand syntax, Angular allows only [one structural directive\n * on an element](guide/structural-directives#one-per-element).\n * If you want to iterate conditionally, for example,\n * put the `*ngIf` on a container element that wraps the `*ngFor` element.\n * For further discussion, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * @usageNotes\n *\n * ### Local variables\n *\n * `NgForOf` provides exported values that can be aliased to local variables.\n * For example:\n *\n * ```\n *
  • \n * {{i}}/{{users.length}}. {{user}} default\n *
  • \n * ```\n *\n * The following exported values can be aliased to local variables:\n *\n * - `$implicit: T`: The value of the individual items in the iterable (`ngForOf`).\n * - `ngForOf: NgIterable`: The value of the iterable expression. Useful when the expression is\n * more complex then a property access, for example when using the async pipe (`userStreams |\n * async`).\n * - `index: number`: The index of the current item in the iterable.\n * - `count: number`: The length of the iterable.\n * - `first: boolean`: True when the item is the first item in the iterable.\n * - `last: boolean`: True when the item is the last item in the iterable.\n * - `even: boolean`: True when the item has an even index in the iterable.\n * - `odd: boolean`: True when the item has an odd index in the iterable.\n *\n * ### Change propagation\n *\n * When the contents of the iterator changes, `NgForOf` makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n *\n * Angular uses object identity to track insertions and deletions within the iterator and reproduce\n * those changes in the DOM. This has important implications for animations and any stateful\n * controls that are present, such as `` elements that accept user input. Inserted rows can\n * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state\n * such as user input.\n * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).\n *\n * The identities of elements in the iterator can change while the data does not.\n * This can happen, for example, if the iterator is produced from an RPC to the server, and that\n * RPC is re-run. Even if the data hasn't changed, the second response produces objects with\n * different identities, and Angular must tear down the entire DOM and rebuild it (as if all old\n * elements were deleted and all new elements inserted).\n *\n * To avoid this expensive operation, you can customize the default tracking algorithm.\n * by supplying the `trackBy` option to `NgForOf`.\n * `trackBy` takes a function that has two arguments: `index` and `item`.\n * If `trackBy` is given, Angular tracks changes by the return value of the function.\n *\n * @see [Structural Directives](guide/structural-directives)\n * @ngModule CommonModule\n * @publicApi\n */\nclass NgForOf {\n /**\n * The value of the iterable expression, which can be used as a\n * [template input variable](guide/structural-directives#shorthand).\n */\n set ngForOf(ngForOf) {\n this._ngForOf = ngForOf;\n this._ngForOfDirty = true;\n }\n /**\n * Specifies a custom `TrackByFunction` to compute the identity of items in an iterable.\n *\n * If a custom `TrackByFunction` is not provided, `NgForOf` will use the item's [object\n * identity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is)\n * as the key.\n *\n * `NgForOf` uses the computed key to associate items in an iterable with DOM elements\n * it produces for these items.\n *\n * A custom `TrackByFunction` is useful to provide good user experience in cases when items in an\n * iterable rendered using `NgForOf` have a natural identifier (for example, custom ID or a\n * primary key), and this iterable could be updated with new object instances that still\n * represent the same underlying entity (for example, when data is re-fetched from the server,\n * and the iterable is recreated and re-rendered, but most of the data is still the same).\n *\n * @see {@link TrackByFunction}\n */\n set ngForTrackBy(fn) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && fn != null && typeof fn !== 'function') {\n console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` +\n `See https://angular.io/api/common/NgForOf#change-propagation for more information.`);\n }\n this._trackByFn = fn;\n }\n get ngForTrackBy() {\n return this._trackByFn;\n }\n constructor(_viewContainer, _template, _differs) {\n this._viewContainer = _viewContainer;\n this._template = _template;\n this._differs = _differs;\n this._ngForOf = null;\n this._ngForOfDirty = true;\n this._differ = null;\n }\n /**\n * A reference to the template that is stamped out for each item in the iterable.\n * @see [template reference variable](guide/template-reference-variables)\n */\n set ngForTemplate(value) {\n // TODO(TS2.1): make TemplateRef>> once we move to TS v2.1\n // The current type is too restrictive; a template that just uses index, for example,\n // should be acceptable.\n if (value) {\n this._template = value;\n }\n }\n /**\n * Applies the changes when needed.\n * @nodoc\n */\n ngDoCheck() {\n if (this._ngForOfDirty) {\n this._ngForOfDirty = false;\n // React on ngForOf changes only once all inputs have been initialized\n const value = this._ngForOf;\n if (!this._differ && value) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n try {\n // CAUTION: this logic is duplicated for production mode below, as the try-catch\n // is only present in development builds.\n this._differ = this._differs.find(value).create(this.ngForTrackBy);\n }\n catch {\n let errorMessage = `Cannot find a differ supporting object '${value}' of type '` +\n `${getTypeName(value)}'. NgFor only supports binding to Iterables, such as Arrays.`;\n if (typeof value === 'object') {\n errorMessage += ' Did you mean to use the keyvalue pipe?';\n }\n throw new ɵRuntimeError(-2200 /* RuntimeErrorCode.NG_FOR_MISSING_DIFFER */, errorMessage);\n }\n }\n else {\n // CAUTION: this logic is duplicated for development mode above, as the try-catch\n // is only present in development builds.\n this._differ = this._differs.find(value).create(this.ngForTrackBy);\n }\n }\n }\n if (this._differ) {\n const changes = this._differ.diff(this._ngForOf);\n if (changes)\n this._applyChanges(changes);\n }\n }\n _applyChanges(changes) {\n const viewContainer = this._viewContainer;\n changes.forEachOperation((item, adjustedPreviousIndex, currentIndex) => {\n if (item.previousIndex == null) {\n // NgForOf is never \"null\" or \"undefined\" here because the differ detected\n // that a new item needs to be inserted from the iterable. This implies that\n // there is an iterable value for \"_ngForOf\".\n viewContainer.createEmbeddedView(this._template, new NgForOfContext(item.item, this._ngForOf, -1, -1), currentIndex === null ? undefined : currentIndex);\n }\n else if (currentIndex == null) {\n viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex);\n }\n else if (adjustedPreviousIndex !== null) {\n const view = viewContainer.get(adjustedPreviousIndex);\n viewContainer.move(view, currentIndex);\n applyViewChange(view, item);\n }\n });\n for (let i = 0, ilen = viewContainer.length; i < ilen; i++) {\n const viewRef = viewContainer.get(i);\n const context = viewRef.context;\n context.index = i;\n context.count = ilen;\n context.ngForOf = this._ngForOf;\n }\n changes.forEachIdentityChange((record) => {\n const viewRef = viewContainer.get(record.currentIndex);\n applyViewChange(viewRef, record);\n });\n }\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard(dir, ctx) {\n return true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgForOf, isStandalone: true, selector: \"[ngFor][ngForOf]\", inputs: { ngForOf: \"ngForOf\", ngForTrackBy: \"ngForTrackBy\", ngForTemplate: \"ngForTemplate\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgForOf, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngFor][ngForOf]',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }], propDecorators: { ngForOf: [{\n type: Input\n }], ngForTrackBy: [{\n type: Input\n }], ngForTemplate: [{\n type: Input\n }] } });\nfunction applyViewChange(view, record) {\n view.context.$implicit = record.item;\n}\nfunction getTypeName(type) {\n return type['name'] || typeof type;\n}\n\n/**\n * A structural directive that conditionally includes a template based on the value of\n * an expression coerced to Boolean.\n * When the expression evaluates to true, Angular renders the template\n * provided in a `then` clause, and when false or null,\n * Angular renders the template provided in an optional `else` clause. The default\n * template for the `else` clause is blank.\n *\n * A [shorthand form](guide/structural-directives#asterisk) of the directive,\n * `*ngIf=\"condition\"`, is generally used, provided\n * as an attribute of the anchor element for the inserted template.\n * Angular expands this into a more explicit version, in which the anchor element\n * is contained in an `` element.\n *\n * Simple form with shorthand syntax:\n *\n * ```\n *
    Content to render when condition is true.
    \n * ```\n *\n * Simple form with expanded syntax:\n *\n * ```\n *
    Content to render when condition is\n * true.
    \n * ```\n *\n * Form with an \"else\" block:\n *\n * ```\n *
    Content to render when condition is true.
    \n * Content to render when condition is false.\n * ```\n *\n * Shorthand form with \"then\" and \"else\" blocks:\n *\n * ```\n *
    \n * Content to render when condition is true.\n * Content to render when condition is false.\n * ```\n *\n * Form with storing the value locally:\n *\n * ```\n *
    {{value}}
    \n * Content to render when value is null.\n * ```\n *\n * @usageNotes\n *\n * The `*ngIf` directive is most commonly used to conditionally show an inline template,\n * as seen in the following example.\n * The default `else` template is blank.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfSimple'}\n *\n * ### Showing an alternative template using `else`\n *\n * To display a template when `expression` evaluates to false, use an `else` template\n * binding as shown in the following example.\n * The `else` binding points to an `` element labeled `#elseBlock`.\n * The template can be defined anywhere in the component view, but is typically placed right after\n * `ngIf` for readability.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfElse'}\n *\n * ### Using an external `then` template\n *\n * In the previous example, the then-clause template is specified inline, as the content of the\n * tag that contains the `ngIf` directive. You can also specify a template that is defined\n * externally, by referencing a labeled `` element. When you do this, you can\n * change which template to use at runtime, as shown in the following example.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfThenElse'}\n *\n * ### Storing a conditional result in a variable\n *\n * You might want to show a set of properties from the same object. If you are waiting\n * for asynchronous data, the object can be undefined.\n * In this case, you can use `ngIf` and store the result of the condition in a local\n * variable as shown in the following example.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfAs'}\n *\n * This code uses only one `AsyncPipe`, so only one subscription is created.\n * The conditional statement stores the result of `userStream|async` in the local variable `user`.\n * You can then bind the local `user` repeatedly.\n *\n * The conditional displays the data only if `userStream` returns a value,\n * so you don't need to use the\n * safe-navigation-operator (`?.`)\n * to guard against null values when accessing properties.\n * You can display an alternative template while waiting for the data.\n *\n * ### Shorthand syntax\n *\n * The shorthand syntax `*ngIf` expands into two separate template specifications\n * for the \"then\" and \"else\" clauses. For example, consider the following shorthand statement,\n * that is meant to show a loading page while waiting for data to be loaded.\n *\n * ```\n *
    \n * ...\n *
    \n *\n * \n *
    Loading...
    \n *
    \n * ```\n *\n * You can see that the \"else\" clause references the ``\n * with the `#loading` label, and the template for the \"then\" clause\n * is provided as the content of the anchor element.\n *\n * However, when Angular expands the shorthand syntax, it creates\n * another `` tag, with `ngIf` and `ngIfElse` directives.\n * The anchor element containing the template for the \"then\" clause becomes\n * the content of this unlabeled `` tag.\n *\n * ```\n * \n *
    \n * ...\n *
    \n *
    \n *\n * \n *
    Loading...
    \n *
    \n * ```\n *\n * The presence of the implicit template object has implications for the nesting of\n * structural directives. For more on this subject, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass NgIf {\n constructor(_viewContainer, templateRef) {\n this._viewContainer = _viewContainer;\n this._context = new NgIfContext();\n this._thenTemplateRef = null;\n this._elseTemplateRef = null;\n this._thenViewRef = null;\n this._elseViewRef = null;\n this._thenTemplateRef = templateRef;\n }\n /**\n * The Boolean expression to evaluate as the condition for showing a template.\n */\n set ngIf(condition) {\n this._context.$implicit = this._context.ngIf = condition;\n this._updateView();\n }\n /**\n * A template to show if the condition expression evaluates to true.\n */\n set ngIfThen(templateRef) {\n assertTemplate('ngIfThen', templateRef);\n this._thenTemplateRef = templateRef;\n this._thenViewRef = null; // clear previous view if any.\n this._updateView();\n }\n /**\n * A template to show if the condition expression evaluates to false.\n */\n set ngIfElse(templateRef) {\n assertTemplate('ngIfElse', templateRef);\n this._elseTemplateRef = templateRef;\n this._elseViewRef = null; // clear previous view if any.\n this._updateView();\n }\n _updateView() {\n if (this._context.$implicit) {\n if (!this._thenViewRef) {\n this._viewContainer.clear();\n this._elseViewRef = null;\n if (this._thenTemplateRef) {\n this._thenViewRef = this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context);\n }\n }\n }\n else {\n if (!this._elseViewRef) {\n this._viewContainer.clear();\n this._thenViewRef = null;\n if (this._elseTemplateRef) {\n this._elseViewRef = this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context);\n }\n }\n }\n }\n /**\n * Asserts the correct type of the context for the template that `NgIf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgIf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard(dir, ctx) {\n return true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgIf, isStandalone: true, selector: \"[ngIf]\", inputs: { ngIf: \"ngIf\", ngIfThen: \"ngIfThen\", ngIfElse: \"ngIfElse\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgIf, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngIf]',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }], propDecorators: { ngIf: [{\n type: Input\n }], ngIfThen: [{\n type: Input\n }], ngIfElse: [{\n type: Input\n }] } });\n/**\n * @publicApi\n */\nclass NgIfContext {\n constructor() {\n this.$implicit = null;\n this.ngIf = null;\n }\n}\nfunction assertTemplate(property, templateRef) {\n const isTemplateRefOrNull = !!(!templateRef || templateRef.createEmbeddedView);\n if (!isTemplateRefOrNull) {\n throw new Error(`${property} must be a TemplateRef, but received '${ɵstringify(templateRef)}'.`);\n }\n}\n\n/**\n * A constant indicating a type of comparison that NgSwitch uses to match cases. Extracted to a\n * separate file to facilitate G3 patches.\n */\nconst NG_SWITCH_USE_STRICT_EQUALS = true;\n\nclass SwitchView {\n constructor(_viewContainerRef, _templateRef) {\n this._viewContainerRef = _viewContainerRef;\n this._templateRef = _templateRef;\n this._created = false;\n }\n create() {\n this._created = true;\n this._viewContainerRef.createEmbeddedView(this._templateRef);\n }\n destroy() {\n this._created = false;\n this._viewContainerRef.clear();\n }\n enforceState(created) {\n if (created && !this._created) {\n this.create();\n }\n else if (!created && this._created) {\n this.destroy();\n }\n }\n}\n/**\n * @ngModule CommonModule\n *\n * @description\n * The `[ngSwitch]` directive on a container specifies an expression to match against.\n * The expressions to match are provided by `ngSwitchCase` directives on views within the container.\n * - Every view that matches is rendered.\n * - If there are no matches, a view with the `ngSwitchDefault` directive is rendered.\n * - Elements within the `[NgSwitch]` statement but outside of any `NgSwitchCase`\n * or `ngSwitchDefault` directive are preserved at the location.\n *\n * @usageNotes\n * Define a container element for the directive, and specify the switch expression\n * to match against as an attribute:\n *\n * ```\n * \n * ```\n *\n * Within the container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * \n * ...\n * ...\n * ...\n * \n * ```\n *\n * ### Usage Examples\n *\n * The following example shows how to use more than one case to display the same view:\n *\n * ```\n * \n * \n * ...\n * ...\n * ...\n * \n * ...\n * \n * ```\n *\n * The following example shows how cases can be nested:\n * ```\n * \n * ...\n * ...\n * ...\n * \n * \n * \n * \n * \n * ...\n * \n * ```\n *\n * @publicApi\n * @see {@link NgSwitchCase}\n * @see {@link NgSwitchDefault}\n * @see [Structural Directives](guide/structural-directives)\n *\n */\nclass NgSwitch {\n constructor() {\n this._defaultViews = [];\n this._defaultUsed = false;\n this._caseCount = 0;\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n set ngSwitch(newValue) {\n this._ngSwitch = newValue;\n if (this._caseCount === 0) {\n this._updateDefaultCases(true);\n }\n }\n /** @internal */\n _addCase() {\n return this._caseCount++;\n }\n /** @internal */\n _addDefault(view) {\n this._defaultViews.push(view);\n }\n /** @internal */\n _matchCase(value) {\n const matched = NG_SWITCH_USE_STRICT_EQUALS\n ? value === this._ngSwitch\n : value == this._ngSwitch;\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && matched !== (value == this._ngSwitch)) {\n console.warn(ɵformatRuntimeError(2001 /* RuntimeErrorCode.EQUALITY_NG_SWITCH_DIFFERENCE */, 'As of Angular v17 the NgSwitch directive uses strict equality comparison === instead of == to match different cases. ' +\n `Previously the case value \"${stringifyValue(value)}\" matched switch expression value \"${stringifyValue(this._ngSwitch)}\", but this is no longer the case with the stricter equality check. ` +\n 'Your comparison results return different results using === vs. == and you should adjust your ngSwitch expression and / or values to conform with the strict equality requirements.'));\n }\n this._lastCasesMatched ||= matched;\n this._lastCaseCheckIndex++;\n if (this._lastCaseCheckIndex === this._caseCount) {\n this._updateDefaultCases(!this._lastCasesMatched);\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n return matched;\n }\n _updateDefaultCases(useDefault) {\n if (this._defaultViews.length > 0 && useDefault !== this._defaultUsed) {\n this._defaultUsed = useDefault;\n for (const defaultView of this._defaultViews) {\n defaultView.enforceState(useDefault);\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgSwitch, isStandalone: true, selector: \"[ngSwitch]\", inputs: { ngSwitch: \"ngSwitch\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgSwitch, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngSwitch]',\n standalone: true,\n }]\n }], propDecorators: { ngSwitch: [{\n type: Input\n }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n * Provides a switch case expression to match against an enclosing `ngSwitch` expression.\n * When the expressions match, the given `NgSwitchCase` template is rendered.\n * If multiple match expressions match the switch expression value, all of them are displayed.\n *\n * @usageNotes\n *\n * Within a switch container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * \n * ...\n * ...\n * ...\n * \n * ```\n *\n * Each switch-case statement contains an in-line HTML template or template reference\n * that defines the subtree to be selected if the value of the match expression\n * matches the value of the switch expression.\n *\n * As of Angular v17 the NgSwitch directive uses strict equality comparison (`===`) instead of\n * loose equality (`==`) to match different cases.\n *\n * @publicApi\n * @see {@link NgSwitch}\n * @see {@link NgSwitchDefault}\n *\n */\nclass NgSwitchCase {\n constructor(viewContainer, templateRef, ngSwitch) {\n this.ngSwitch = ngSwitch;\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {\n throwNgSwitchProviderNotFoundError('ngSwitchCase', 'NgSwitchCase');\n }\n ngSwitch._addCase();\n this._view = new SwitchView(viewContainer, templateRef);\n }\n /**\n * Performs case matching. For internal use only.\n * @nodoc\n */\n ngDoCheck() {\n this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgSwitchCase, isStandalone: true, selector: \"[ngSwitchCase]\", inputs: { ngSwitchCase: \"ngSwitchCase\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgSwitchCase, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngSwitchCase]',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{\n type: Optional\n }, {\n type: Host\n }] }], propDecorators: { ngSwitchCase: [{\n type: Input\n }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Creates a view that is rendered when no `NgSwitchCase` expressions\n * match the `NgSwitch` expression.\n * This statement should be the final case in an `NgSwitch`.\n *\n * @publicApi\n * @see {@link NgSwitch}\n * @see {@link NgSwitchCase}\n *\n */\nclass NgSwitchDefault {\n constructor(viewContainer, templateRef, ngSwitch) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {\n throwNgSwitchProviderNotFoundError('ngSwitchDefault', 'NgSwitchDefault');\n }\n ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgSwitchDefault, isStandalone: true, selector: \"[ngSwitchDefault]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgSwitchDefault, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngSwitchDefault]',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{\n type: Optional\n }, {\n type: Host\n }] }] });\nfunction throwNgSwitchProviderNotFoundError(attrName, directiveName) {\n throw new ɵRuntimeError(2000 /* RuntimeErrorCode.PARENT_NG_SWITCH_NOT_FOUND */, `An element with the \"${attrName}\" attribute ` +\n `(matching the \"${directiveName}\" directive) must be located inside an element with the \"ngSwitch\" attribute ` +\n `(matching \"NgSwitch\" directive)`);\n}\nfunction stringifyValue(value) {\n return typeof value === 'string' ? `'${value}'` : String(value);\n}\n\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n * ```\n * \n * there is nothing\n * there is one\n * there are a few\n * \n * ```\n *\n * @description\n *\n * Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.\n *\n * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees\n * that match the switch expression's pluralization category.\n *\n * To use this directive you must provide a container element that sets the `[ngPlural]` attribute\n * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their\n * expression:\n * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\n * matches the switch expression exactly,\n * - otherwise, the view will be treated as a \"category match\", and will only display if exact\n * value matches aren't found and the value maps to its category for the defined locale.\n *\n * See http://cldr.unicode.org/index/cldr-spec/plural-rules\n *\n * @publicApi\n */\nclass NgPlural {\n constructor(_localization) {\n this._localization = _localization;\n this._caseViews = {};\n }\n set ngPlural(value) {\n this._updateView(value);\n }\n addCase(value, switchView) {\n this._caseViews[value] = switchView;\n }\n _updateView(switchValue) {\n this._clearViews();\n const cases = Object.keys(this._caseViews);\n const key = getPluralCategory(switchValue, cases, this._localization);\n this._activateView(this._caseViews[key]);\n }\n _clearViews() {\n if (this._activeView)\n this._activeView.destroy();\n }\n _activateView(view) {\n if (view) {\n this._activeView = view;\n this._activeView.create();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgPlural, isStandalone: true, selector: \"[ngPlural]\", inputs: { ngPlural: \"ngPlural\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgPlural, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngPlural]',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: NgLocalization }], propDecorators: { ngPlural: [{\n type: Input\n }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Creates a view that will be added/removed from the parent {@link NgPlural} when the\n * given expression matches the plural expression according to CLDR rules.\n *\n * @usageNotes\n * ```\n * \n * ...\n * ...\n * \n *```\n *\n * See {@link NgPlural} for more details and example.\n *\n * @publicApi\n */\nclass NgPluralCase {\n constructor(value, template, viewContainer, ngPlural) {\n this.value = value;\n const isANumber = !isNaN(Number(value));\n ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgPluralCase, isStandalone: true, selector: \"[ngPluralCase]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgPluralCase, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngPluralCase]',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Attribute,\n args: ['ngPluralCase']\n }] }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: NgPlural, decorators: [{\n type: Host\n }] }] });\n\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n *\n * Set the font of the containing element to the result of an expression.\n *\n * ```\n * ...\n * ```\n *\n * Set the width of the containing element to a pixel value returned by an expression.\n *\n * ```\n * ...\n * ```\n *\n * Set a collection of style values using an expression that returns key-value pairs.\n *\n * ```\n * ...\n * ```\n *\n * @description\n *\n * An attribute directive that updates styles for the containing HTML element.\n * Sets one or more style properties, specified as colon-separated key-value pairs.\n * The key is a style name, with an optional `.` suffix\n * (such as 'top.px', 'font-style.em').\n * The value is an expression to be evaluated.\n * The resulting non-null value, expressed in the given unit,\n * is assigned to the given style property.\n * If the result of evaluation is null, the corresponding style is removed.\n *\n * @publicApi\n */\nclass NgStyle {\n constructor(_ngEl, _differs, _renderer) {\n this._ngEl = _ngEl;\n this._differs = _differs;\n this._renderer = _renderer;\n this._ngStyle = null;\n this._differ = null;\n }\n set ngStyle(values) {\n this._ngStyle = values;\n if (!this._differ && values) {\n this._differ = this._differs.find(values).create();\n }\n }\n ngDoCheck() {\n if (this._differ) {\n const changes = this._differ.diff(this._ngStyle);\n if (changes) {\n this._applyChanges(changes);\n }\n }\n }\n _setStyle(nameAndUnit, value) {\n const [name, unit] = nameAndUnit.split('.');\n const flags = name.indexOf('-') === -1 ? undefined : RendererStyleFlags2.DashCase;\n if (value != null) {\n this._renderer.setStyle(this._ngEl.nativeElement, name, unit ? `${value}${unit}` : value, flags);\n }\n else {\n this._renderer.removeStyle(this._ngEl.nativeElement, name, flags);\n }\n }\n _applyChanges(changes) {\n changes.forEachRemovedItem((record) => this._setStyle(record.key, null));\n changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));\n changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgStyle, isStandalone: true, selector: \"[ngStyle]\", inputs: { ngStyle: \"ngStyle\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgStyle, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngStyle]',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }], propDecorators: { ngStyle: [{\n type: Input,\n args: ['ngStyle']\n }] } });\n\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Inserts an embedded view from a prepared `TemplateRef`.\n *\n * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`.\n * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding\n * by the local template `let` declarations.\n *\n * @usageNotes\n * ```\n * \n * ```\n *\n * Using the key `$implicit` in the context object will set its value as default.\n *\n * ### Example\n *\n * {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}\n *\n * @publicApi\n */\nclass NgTemplateOutlet {\n constructor(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n this._viewRef = null;\n /**\n * A context object to attach to the {@link EmbeddedViewRef}. This should be an\n * object, the object's keys will be available for binding by the local template `let`\n * declarations.\n * Using the key `$implicit` in the context object will set its value as default.\n */\n this.ngTemplateOutletContext = null;\n /**\n * A string defining the template reference and optionally the context object for the template.\n */\n this.ngTemplateOutlet = null;\n /** Injector to be used within the embedded view. */\n this.ngTemplateOutletInjector = null;\n }\n ngOnChanges(changes) {\n if (this._shouldRecreateView(changes)) {\n const viewContainerRef = this._viewContainerRef;\n if (this._viewRef) {\n viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));\n }\n // If there is no outlet, clear the destroyed view ref.\n if (!this.ngTemplateOutlet) {\n this._viewRef = null;\n return;\n }\n // Create a context forward `Proxy` that will always bind to the user-specified context,\n // without having to destroy and re-create views whenever the context changes.\n const viewContext = this._createContextForwardProxy();\n this._viewRef = viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, viewContext, {\n injector: this.ngTemplateOutletInjector ?? undefined,\n });\n }\n }\n /**\n * We need to re-create existing embedded view if either is true:\n * - the outlet changed.\n * - the injector changed.\n */\n _shouldRecreateView(changes) {\n return !!changes['ngTemplateOutlet'] || !!changes['ngTemplateOutletInjector'];\n }\n /**\n * For a given outlet instance, we create a proxy object that delegates\n * to the user-specified context. This allows changing, or swapping out\n * the context object completely without having to destroy/re-create the view.\n */\n _createContextForwardProxy() {\n return new Proxy({}, {\n set: (_target, prop, newValue) => {\n if (!this.ngTemplateOutletContext) {\n return false;\n }\n return Reflect.set(this.ngTemplateOutletContext, prop, newValue);\n },\n get: (_target, prop, receiver) => {\n if (!this.ngTemplateOutletContext) {\n return undefined;\n }\n return Reflect.get(this.ngTemplateOutletContext, prop, receiver);\n },\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"17.3.5\", type: NgTemplateOutlet, isStandalone: true, selector: \"[ngTemplateOutlet]\", inputs: { ngTemplateOutletContext: \"ngTemplateOutletContext\", ngTemplateOutlet: \"ngTemplateOutlet\", ngTemplateOutletInjector: \"ngTemplateOutletInjector\" }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgTemplateOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngTemplateOutlet]',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.ViewContainerRef }], propDecorators: { ngTemplateOutletContext: [{\n type: Input\n }], ngTemplateOutlet: [{\n type: Input\n }], ngTemplateOutletInjector: [{\n type: Input\n }] } });\n\n/**\n * A collection of Angular directives that are likely to be used in each and every Angular\n * application.\n */\nconst COMMON_DIRECTIVES = [\n NgClass,\n NgComponentOutlet,\n NgForOf,\n NgIf,\n NgTemplateOutlet,\n NgStyle,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgPlural,\n NgPluralCase,\n];\n\nfunction invalidPipeArgumentError(type, value) {\n return new ɵRuntimeError(2100 /* RuntimeErrorCode.INVALID_PIPE_ARGUMENT */, ngDevMode && `InvalidPipeArgument: '${value}' for pipe '${ɵstringify(type)}'`);\n}\n\nclass SubscribableStrategy {\n createSubscription(async, updateLatestValue) {\n // Subscription can be side-effectful, and we don't want any signal reads which happen in the\n // side effect of the subscription to be tracked by a component's template when that\n // subscription is triggered via the async pipe. So we wrap the subscription in `untracked` to\n // decouple from the current reactive context.\n //\n // `untracked` also prevents signal _writes_ which happen in the subscription side effect from\n // being treated as signal writes during the template evaluation (which throws errors).\n return untracked(() => async.subscribe({\n next: updateLatestValue,\n error: (e) => {\n throw e;\n },\n }));\n }\n dispose(subscription) {\n // See the comment in `createSubscription` above on the use of `untracked`.\n untracked(() => subscription.unsubscribe());\n }\n}\nclass PromiseStrategy {\n createSubscription(async, updateLatestValue) {\n return async.then(updateLatestValue, (e) => {\n throw e;\n });\n }\n dispose(subscription) { }\n}\nconst _promiseStrategy = new PromiseStrategy();\nconst _subscribableStrategy = new SubscribableStrategy();\n/**\n * @ngModule CommonModule\n * @description\n *\n * Unwraps a value from an asynchronous primitive.\n *\n * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has\n * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for\n * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid\n * potential memory leaks. When the reference of the expression changes, the `async` pipe\n * automatically unsubscribes from the old `Observable` or `Promise` and subscribes to the new one.\n *\n * @usageNotes\n *\n * ### Examples\n *\n * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\n * promise.\n *\n * {@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}\n *\n * It's also possible to use `async` with Observables. The example below binds the `time` Observable\n * to the view. The Observable continuously updates the view with the current time.\n *\n * {@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}\n *\n * @publicApi\n */\nclass AsyncPipe {\n constructor(ref) {\n this._latestValue = null;\n this.markForCheckOnValueUpdate = true;\n this._subscription = null;\n this._obj = null;\n this._strategy = null;\n // Assign `ref` into `this._ref` manually instead of declaring `_ref` in the constructor\n // parameter list, as the type of `this._ref` includes `null` unlike the type of `ref`.\n this._ref = ref;\n }\n ngOnDestroy() {\n if (this._subscription) {\n this._dispose();\n }\n // Clear the `ChangeDetectorRef` and its association with the view data, to mitigate\n // potential memory leaks in Observables that could otherwise cause the view data to\n // be retained.\n // https://github.com/angular/angular/issues/17624\n this._ref = null;\n }\n transform(obj) {\n if (!this._obj) {\n if (obj) {\n try {\n // Only call `markForCheck` if the value is updated asynchronously.\n // Synchronous updates _during_ subscription should not wastefully mark for check -\n // this value is already going to be returned from the transform function.\n this.markForCheckOnValueUpdate = false;\n this._subscribe(obj);\n }\n finally {\n this.markForCheckOnValueUpdate = true;\n }\n }\n return this._latestValue;\n }\n if (obj !== this._obj) {\n this._dispose();\n return this.transform(obj);\n }\n return this._latestValue;\n }\n _subscribe(obj) {\n this._obj = obj;\n this._strategy = this._selectStrategy(obj);\n this._subscription = this._strategy.createSubscription(obj, (value) => this._updateLatestValue(obj, value));\n }\n _selectStrategy(obj) {\n if (ɵisPromise(obj)) {\n return _promiseStrategy;\n }\n if (ɵisSubscribable(obj)) {\n return _subscribableStrategy;\n }\n throw invalidPipeArgumentError(AsyncPipe, obj);\n }\n _dispose() {\n // Note: `dispose` is only called if a subscription has been initialized before, indicating\n // that `this._strategy` is also available.\n this._strategy.dispose(this._subscription);\n this._latestValue = null;\n this._subscription = null;\n this._obj = null;\n }\n _updateLatestValue(async, value) {\n if (async === this._obj) {\n this._latestValue = value;\n if (this.markForCheckOnValueUpdate) {\n this._ref?.markForCheck();\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: AsyncPipe, isStandalone: true, name: \"async\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: AsyncPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'async',\n pure: false,\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }] });\n\n/**\n * Transforms text to all lower case.\n *\n * @see {@link UpperCasePipe}\n * @see {@link TitleCasePipe}\n * @usageNotes\n *\n * The following example defines a view that allows the user to enter\n * text, and then uses the pipe to convert the input text to all lower case.\n *\n * \n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass LowerCasePipe {\n transform(value) {\n if (value == null)\n return null;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(LowerCasePipe, value);\n }\n return value.toLowerCase();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: \"lowercase\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: LowerCasePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'lowercase',\n standalone: true,\n }]\n }] });\n//\n// Regex below matches any Unicode word and number compatible with ES5. In ES2018 the same result\n// can be achieved by using /[0-9\\p{L}]\\S*/gu and also known as Unicode Property Escapes\n// (https://2ality.com/2017/07/regexp-unicode-property-escapes.html). Since there is no\n// transpilation of this functionality down to ES5 without external tool, the only solution is\n// to use already transpiled form. Example can be found here -\n// https://mothereff.in/regexpu#input=var+regex+%3D+%2F%5B0-9%5Cp%7BL%7D%5D%5CS*%2Fgu%3B%0A%0A&unicodePropertyEscape=1\n//\nconst unicodeWordMatch = /(?:[0-9A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05D0-\\u05EA\\u05EF-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088E\\u08A0-\\u08C9\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\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EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u1711\\u171F-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1878\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4C\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1C90-\\u1CBA\\u1CBD-\\u1CBF\\u1CE9-\\u1CEC\\u1CEE-\\u1CF3\\u1CF5\\u1CF6\\u1CFA\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7CA\\uA7D0\\uA7D1\\uA7D3\\uA7D5-\\uA7D9\\uA7F2-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA8FE\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9F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\uDC34\\uDC47-\\uDC4A\\uDC5F-\\uDC61\\uDC80-\\uDCAF\\uDCC4\\uDCC5\\uDCC7\\uDD80-\\uDDAE\\uDDD8-\\uDDDB\\uDE00-\\uDE2F\\uDE44\\uDE80-\\uDEAA\\uDEB8\\uDF00-\\uDF1A\\uDF40-\\uDF46]|\\uD806[\\uDC00-\\uDC2B\\uDCA0-\\uDCDF\\uDCFF-\\uDD06\\uDD09\\uDD0C-\\uDD13\\uDD15\\uDD16\\uDD18-\\uDD2F\\uDD3F\\uDD41\\uDDA0-\\uDDA7\\uDDAA-\\uDDD0\\uDDE1\\uDDE3\\uDE00\\uDE0B-\\uDE32\\uDE3A\\uDE50\\uDE5C-\\uDE89\\uDE9D\\uDEB0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD30\\uDD46\\uDD60-\\uDD65\\uDD67\\uDD68\\uDD6A-\\uDD89\\uDD98\\uDEE0-\\uDEF2\\uDFB0]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC80-\\uDD43]|\\uD80B[\\uDF90-\\uDFF0]|[\\uD80C\\uD81C-\\uD820\\uD822\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879\\uD880-\\uD883][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE70-\\uDEBE\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDE40-\\uDE7F\\uDF00-\\uDF4A\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1\\uDFE3]|\\uD821[\\uDC00-\\uDFF7]|\\uD823[\\uDC00-\\uDCD5\\uDD00-\\uDD08]|\\uD82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uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDEDF\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF38\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D]|\\uD884[\\uDC00-\\uDF4A])\\S*/g;\n/**\n * Transforms text to title case.\n * Capitalizes the first letter of each word and transforms the\n * rest of the word to lower case.\n * Words are delimited by any whitespace character, such as a space, tab, or line-feed character.\n *\n * @see {@link LowerCasePipe}\n * @see {@link UpperCasePipe}\n *\n * @usageNotes\n * The following example shows the result of transforming various strings into title case.\n *\n * \n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass TitleCasePipe {\n transform(value) {\n if (value == null)\n return null;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(TitleCasePipe, value);\n }\n return value.replace(unicodeWordMatch, (txt) => txt[0].toUpperCase() + txt.slice(1).toLowerCase());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: \"titlecase\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: TitleCasePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'titlecase',\n standalone: true,\n }]\n }] });\n/**\n * Transforms text to all upper case.\n * @see {@link LowerCasePipe}\n * @see {@link TitleCasePipe}\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass UpperCasePipe {\n transform(value) {\n if (value == null)\n return null;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(UpperCasePipe, value);\n }\n return value.toUpperCase();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: \"uppercase\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: UpperCasePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'uppercase',\n standalone: true,\n }]\n }] });\n\n/**\n * The default date format of Angular date pipe, which corresponds to the following format:\n * `'MMM d,y'` (e.g. `Jun 15, 2015`)\n */\nconst DEFAULT_DATE_FORMAT = 'mediumDate';\n\n/**\n * Optionally-provided default timezone to use for all instances of `DatePipe` (such as `'+0430'`).\n * If the value isn't provided, the `DatePipe` will use the end-user's local system timezone.\n *\n * @deprecated use DATE_PIPE_DEFAULT_OPTIONS token to configure DatePipe\n */\nconst DATE_PIPE_DEFAULT_TIMEZONE = new InjectionToken(ngDevMode ? 'DATE_PIPE_DEFAULT_TIMEZONE' : '');\n/**\n * DI token that allows to provide default configuration for the `DatePipe` instances in an\n * application. The value is an object which can include the following fields:\n * - `dateFormat`: configures the default date format. If not provided, the `DatePipe`\n * will use the 'mediumDate' as a value.\n * - `timezone`: configures the default timezone. If not provided, the `DatePipe` will\n * use the end-user's local system timezone.\n *\n * @see {@link DatePipeConfig}\n *\n * @usageNotes\n *\n * Various date pipe default values can be overwritten by providing this token with\n * the value that has this interface.\n *\n * For example:\n *\n * Override the default date format by providing a value using the token:\n * ```typescript\n * providers: [\n * {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {dateFormat: 'shortDate'}}\n * ]\n * ```\n *\n * Override the default timezone by providing a value using the token:\n * ```typescript\n * providers: [\n * {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {timezone: '-1200'}}\n * ]\n * ```\n */\nconst DATE_PIPE_DEFAULT_OPTIONS = new InjectionToken(ngDevMode ? 'DATE_PIPE_DEFAULT_OPTIONS' : '');\n// clang-format off\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a date value according to locale rules.\n *\n * `DatePipe` is executed only when it detects a pure change to the input value.\n * A pure change is either a change to a primitive input value\n * (such as `String`, `Number`, `Boolean`, or `Symbol`),\n * or a changed object reference (such as `Date`, `Array`, `Function`, or `Object`).\n *\n * Note that mutating a `Date` object does not cause the pipe to be rendered again.\n * To ensure that the pipe is executed, you must create a new `Date` object.\n *\n * Only the `en-US` locale data comes with Angular. To localize dates\n * in another language, you must import the corresponding locale data.\n * See the [I18n guide](guide/i18n-common-format-data-locale) for more information.\n *\n * The time zone of the formatted value can be specified either by passing it in as the second\n * parameter of the pipe, or by setting the default through the `DATE_PIPE_DEFAULT_OPTIONS`\n * injection token. The value that is passed in as the second parameter takes precedence over\n * the one defined using the injection token.\n *\n * @see {@link formatDate}\n *\n *\n * @usageNotes\n *\n * The result of this pipe is not reevaluated when the input is mutated. To avoid the need to\n * reformat the date on every change-detection cycle, treat the date as an immutable object\n * and change the reference when the pipe needs to run again.\n *\n * ### Pre-defined format options\n *\n * | Option | Equivalent to | Examples (given in `en-US` locale) |\n * |---------------|-------------------------------------|-------------------------------------------------|\n * | `'short'` | `'M/d/yy, h:mm a'` | `6/15/15, 9:03 AM` |\n * | `'medium'` | `'MMM d, y, h:mm:ss a'` | `Jun 15, 2015, 9:03:01 AM` |\n * | `'long'` | `'MMMM d, y, h:mm:ss a z'` | `June 15, 2015 at 9:03:01 AM GMT+1` |\n * | `'full'` | `'EEEE, MMMM d, y, h:mm:ss a zzzz'` | `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00` |\n * | `'shortDate'` | `'M/d/yy'` | `6/15/15` |\n * | `'mediumDate'`| `'MMM d, y'` | `Jun 15, 2015` |\n * | `'longDate'` | `'MMMM d, y'` | `June 15, 2015` |\n * | `'fullDate'` | `'EEEE, MMMM d, y'` | `Monday, June 15, 2015` |\n * | `'shortTime'` | `'h:mm a'` | `9:03 AM` |\n * | `'mediumTime'`| `'h:mm:ss a'` | `9:03:01 AM` |\n * | `'longTime'` | `'h:mm:ss a z'` | `9:03:01 AM GMT+1` |\n * | `'fullTime'` | `'h:mm:ss a zzzz'` | `9:03:01 AM GMT+01:00` |\n *\n * ### Custom format options\n *\n * You can construct a format string using symbols to specify the components\n * of a date-time value, as described in the following table.\n * Format details depend on the locale.\n * Fields marked with (*) are only available in the extra data set for the given locale.\n *\n * | Field type | Format | Description | Example Value |\n * |-------------------------|-------------|---------------------------------------------------------------|------------------------------------------------------------|\n * | Era | G, GG & GGG | Abbreviated | AD |\n * | | GGGG | Wide | Anno Domini |\n * | | GGGGG | Narrow | A |\n * | Year | y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |\n * | | yy | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |\n * | | yyy | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |\n * | | yyyy | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |\n * | ISO Week-numbering year | Y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |\n * | | YY | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |\n * | | YYY | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |\n * | | YYYY | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |\n * | Month | M | Numeric: 1 digit | 9, 12 |\n * | | MM | Numeric: 2 digits + zero padded | 09, 12 |\n * | | MMM | Abbreviated | Sep |\n * | | MMMM | Wide | September |\n * | | MMMMM | Narrow | S |\n * | Month standalone | L | Numeric: 1 digit | 9, 12 |\n * | | LL | Numeric: 2 digits + zero padded | 09, 12 |\n * | | LLL | Abbreviated | Sep |\n * | | LLLL | Wide | September |\n * | | LLLLL | Narrow | S |\n * | ISO Week of year | w | Numeric: minimum digits | 1... 53 |\n * | | ww | Numeric: 2 digits + zero padded | 01... 53 |\n * | Week of month | W | Numeric: 1 digit | 1... 5 |\n * | Day of month | d | Numeric: minimum digits | 1 |\n * | | dd | Numeric: 2 digits + zero padded | 01 |\n * | Week day | E, EE & EEE | Abbreviated | Tue |\n * | | EEEE | Wide | Tuesday |\n * | | EEEEE | Narrow | T |\n * | | EEEEEE | Short | Tu |\n * | Week day standalone | c, cc | Numeric: 1 digit | 2 |\n * | | ccc | Abbreviated | Tue |\n * | | cccc | Wide | Tuesday |\n * | | ccccc | Narrow | T |\n * | | cccccc | Short | Tu |\n * | Period | a, aa & aaa | Abbreviated | am/pm or AM/PM |\n * | | aaaa | Wide (fallback to `a` when missing) | ante meridiem/post meridiem |\n * | | aaaaa | Narrow | a/p |\n * | Period* | B, BB & BBB | Abbreviated | mid. |\n * | | BBBB | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |\n * | | BBBBB | Narrow | md |\n * | Period standalone* | b, bb & bbb | Abbreviated | mid. |\n * | | bbbb | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |\n * | | bbbbb | Narrow | md |\n * | Hour 1-12 | h | Numeric: minimum digits | 1, 12 |\n * | | hh | Numeric: 2 digits + zero padded | 01, 12 |\n * | Hour 0-23 | H | Numeric: minimum digits | 0, 23 |\n * | | HH | Numeric: 2 digits + zero padded | 00, 23 |\n * | Minute | m | Numeric: minimum digits | 8, 59 |\n * | | mm | Numeric: 2 digits + zero padded | 08, 59 |\n * | Second | s | Numeric: minimum digits | 0... 59 |\n * | | ss | Numeric: 2 digits + zero padded | 00... 59 |\n * | Fractional seconds | S | Numeric: 1 digit | 0... 9 |\n * | | SS | Numeric: 2 digits + zero padded | 00... 99 |\n * | | SSS | Numeric: 3 digits + zero padded (= milliseconds) | 000... 999 |\n * | Zone | z, zz & zzz | Short specific non location format (fallback to O) | GMT-8 |\n * | | zzzz | Long specific non location format (fallback to OOOO) | GMT-08:00 |\n * | | Z, ZZ & ZZZ | ISO8601 basic format | -0800 |\n * | | ZZZZ | Long localized GMT format | GMT-8:00 |\n * | | ZZZZZ | ISO8601 extended format + Z indicator for offset 0 (= XXXXX) | -08:00 |\n * | | O, OO & OOO | Short localized GMT format | GMT-8 |\n * | | OOOO | Long localized GMT format | GMT-08:00 |\n *\n *\n * ### Format examples\n *\n * These examples transform a date into various formats,\n * assuming that `dateObj` is a JavaScript `Date` object for\n * year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11,\n * given in the local time for the `en-US` locale.\n *\n * ```\n * {{ dateObj | date }} // output is 'Jun 15, 2015'\n * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'\n * {{ dateObj | date:'shortTime' }} // output is '9:43 PM'\n * {{ dateObj | date:'mm:ss' }} // output is '43:11'\n * {{ dateObj | date:\"MMM dd, yyyy 'at' hh:mm a\" }} // output is 'Jun 15, 2015 at 09:43 PM'\n * ```\n *\n * ### Usage example\n *\n * The following component uses a date pipe to display the current date in different formats.\n *\n * ```\n * @Component({\n * selector: 'date-pipe',\n * template: `
    \n *

    Today is {{today | date}}

    \n *

    Or if you prefer, {{today | date:'fullDate'}}

    \n *

    The time is {{today | date:'h:mm a z'}}

    \n *
    `\n * })\n * // Get the current date and time as a date-time value.\n * export class DatePipeComponent {\n * today: number = Date.now();\n * }\n * ```\n *\n * @publicApi\n */\n// clang-format on\nclass DatePipe {\n constructor(locale, defaultTimezone, defaultOptions) {\n this.locale = locale;\n this.defaultTimezone = defaultTimezone;\n this.defaultOptions = defaultOptions;\n }\n transform(value, format, timezone, locale) {\n if (value == null || value === '' || value !== value)\n return null;\n try {\n const _format = format ?? this.defaultOptions?.dateFormat ?? DEFAULT_DATE_FORMAT;\n const _timezone = timezone ?? this.defaultOptions?.timezone ?? this.defaultTimezone ?? undefined;\n return formatDate(value, _format, locale || this.locale, _timezone);\n }\n catch (error) {\n throw invalidPipeArgumentError(DatePipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: DatePipe, isStandalone: true, name: \"date\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: DatePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'date',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DATE_PIPE_DEFAULT_TIMEZONE]\n }, {\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DATE_PIPE_DEFAULT_OPTIONS]\n }, {\n type: Optional\n }] }] });\n\nconst _INTERPOLATION_REGEXP = /#/g;\n/**\n * @ngModule CommonModule\n * @description\n *\n * Maps a value to a string that pluralizes the value according to locale rules.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}\n *\n * @publicApi\n */\nclass I18nPluralPipe {\n constructor(_localization) {\n this._localization = _localization;\n }\n /**\n * @param value the number to be formatted\n * @param pluralMap an object that mimics the ICU format, see\n * https://unicode-org.github.io/icu/userguide/format_parse/messages/.\n * @param locale a `string` defining the locale to use (uses the current {@link LOCALE_ID} by\n * default).\n */\n transform(value, pluralMap, locale) {\n if (value == null)\n return '';\n if (typeof pluralMap !== 'object' || pluralMap === null) {\n throw invalidPipeArgumentError(I18nPluralPipe, pluralMap);\n }\n const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);\n return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: \"i18nPlural\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: I18nPluralPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'i18nPlural',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: NgLocalization }] });\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Generic selector that displays the string that matches the current value.\n *\n * If none of the keys of the `mapping` match the `value`, then the content\n * of the `other` key is returned when present, otherwise an empty string is returned.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}\n *\n * @publicApi\n */\nclass I18nSelectPipe {\n /**\n * @param value a string to be internationalized.\n * @param mapping an object that indicates the text that should be displayed\n * for different values of the provided `value`.\n */\n transform(value, mapping) {\n if (value == null)\n return '';\n if (typeof mapping !== 'object' || typeof value !== 'string') {\n throw invalidPipeArgumentError(I18nSelectPipe, mapping);\n }\n if (mapping.hasOwnProperty(value)) {\n return mapping[value];\n }\n if (mapping.hasOwnProperty('other')) {\n return mapping['other'];\n }\n return '';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: \"i18nSelect\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: I18nSelectPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'i18nSelect',\n standalone: true,\n }]\n }] });\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Converts a value into its JSON-format representation. Useful for debugging.\n *\n * @usageNotes\n *\n * The following component uses a JSON pipe to convert an object\n * to JSON format, and displays the string in both formats for comparison.\n *\n * {@example common/pipes/ts/json_pipe.ts region='JsonPipe'}\n *\n * @publicApi\n */\nclass JsonPipe {\n /**\n * @param value A value of any type to convert into a JSON-format string.\n */\n transform(value) {\n return JSON.stringify(value, null, 2);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: JsonPipe, isStandalone: true, name: \"json\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: JsonPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'json',\n pure: false,\n standalone: true,\n }]\n }] });\n\nfunction makeKeyValuePair(key, value) {\n return { key: key, value: value };\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms Object or Map into an array of key value pairs.\n *\n * The output array will be ordered by keys.\n * By default the comparator will be by Unicode point value.\n * You can optionally pass a compareFn if your keys are complex types.\n *\n * @usageNotes\n * ### Examples\n *\n * This examples show how an Object or a Map can be iterated by ngFor with the use of this\n * keyvalue pipe.\n *\n * {@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}\n *\n * @publicApi\n */\nclass KeyValuePipe {\n constructor(differs) {\n this.differs = differs;\n this.keyValues = [];\n this.compareFn = defaultComparator;\n }\n transform(input, compareFn = defaultComparator) {\n if (!input || (!(input instanceof Map) && typeof input !== 'object')) {\n return null;\n }\n // make a differ for whatever type we've been passed in\n this.differ ??= this.differs.find(input).create();\n const differChanges = this.differ.diff(input);\n const compareFnChanged = compareFn !== this.compareFn;\n if (differChanges) {\n this.keyValues = [];\n differChanges.forEachItem((r) => {\n this.keyValues.push(makeKeyValuePair(r.key, r.currentValue));\n });\n }\n if (differChanges || compareFnChanged) {\n this.keyValues.sort(compareFn);\n this.compareFn = compareFn;\n }\n return this.keyValues;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: \"keyvalue\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: KeyValuePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'keyvalue',\n pure: false,\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.KeyValueDiffers }] });\nfunction defaultComparator(keyValueA, keyValueB) {\n const a = keyValueA.key;\n const b = keyValueB.key;\n // if same exit with 0;\n if (a === b)\n return 0;\n // make sure that undefined are at the end of the sort.\n if (a === undefined)\n return 1;\n if (b === undefined)\n return -1;\n // make sure that nulls are at the end of the sort.\n if (a === null)\n return 1;\n if (b === null)\n return -1;\n if (typeof a == 'string' && typeof b == 'string') {\n return a < b ? -1 : 1;\n }\n if (typeof a == 'number' && typeof b == 'number') {\n return a - b;\n }\n if (typeof a == 'boolean' && typeof b == 'boolean') {\n return a < b ? -1 : 1;\n }\n // `a` and `b` are of different types. Compare their string values.\n const aString = String(a);\n const bString = String(b);\n return aString == bString ? 0 : aString < bString ? -1 : 1;\n}\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a value according to digit options and locale rules.\n * Locale determines group sizing and separator,\n * decimal point character, and other locale-specific configurations.\n *\n * @see {@link formatNumber}\n *\n * @usageNotes\n *\n * ### digitsInfo\n *\n * The value's decimal representation is specified by the `digitsInfo`\n * parameter, written in the following format:
    \n *\n * ```\n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}\n * ```\n *\n * - `minIntegerDigits`:\n * The minimum number of integer digits before the decimal point.\n * Default is 1.\n *\n * - `minFractionDigits`:\n * The minimum number of digits after the decimal point.\n * Default is 0.\n *\n * - `maxFractionDigits`:\n * The maximum number of digits after the decimal point.\n * Default is 3.\n *\n * If the formatted value is truncated it will be rounded using the \"to-nearest\" method:\n *\n * ```\n * {{3.6 | number: '1.0-0'}}\n * \n *\n * {{-3.6 | number:'1.0-0'}}\n * \n * ```\n *\n * ### locale\n *\n * `locale` will format a value according to locale rules.\n * Locale determines group sizing and separator,\n * decimal point character, and other locale-specific configurations.\n *\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n *\n * See [Setting your app locale](guide/i18n-common-locale-id).\n *\n * ### Example\n *\n * The following code shows how the pipe transforms values\n * according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * \n *\n * @publicApi\n */\nclass DecimalPipe {\n constructor(_locale) {\n this._locale = _locale;\n }\n /**\n * @param value The value to be formatted.\n * @param digitsInfo Sets digit and decimal representation.\n * [See more](#digitsinfo).\n * @param locale Specifies what locale format rules to use.\n * [See more](#locale).\n */\n transform(value, digitsInfo, locale) {\n if (!isValue(value))\n return null;\n locale ||= this._locale;\n try {\n const num = strToNumber(value);\n return formatNumber(num, locale, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(DecimalPipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: DecimalPipe, isStandalone: true, name: \"number\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: DecimalPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'number',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }] });\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms a number to a percentage\n * string, formatted according to locale rules that determine group sizing and\n * separator, decimal-point character, and other locale-specific\n * configurations.\n *\n * @see {@link formatPercent}\n *\n * @usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * \n *\n * @publicApi\n */\nclass PercentPipe {\n constructor(_locale) {\n this._locale = _locale;\n }\n /**\n *\n * @param value The number to be formatted as a percentage.\n * @param digitsInfo Decimal representation options, specified by a string\n * in the following format:
    \n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `0`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `0`.\n * @param locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n-common-locale-id).\n */\n transform(value, digitsInfo, locale) {\n if (!isValue(value))\n return null;\n locale ||= this._locale;\n try {\n const num = strToNumber(value);\n return formatPercent(num, locale, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(PercentPipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: PercentPipe, isStandalone: true, name: \"percent\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PercentPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'percent',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }] });\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms a number to a currency string, formatted according to locale rules\n * that determine group sizing and separator, decimal-point character,\n * and other locale-specific configurations.\n *\n *\n * @see {@link getCurrencySymbol}\n * @see {@link formatCurrency}\n *\n * @usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * \n *\n * @publicApi\n */\nclass CurrencyPipe {\n constructor(_locale, _defaultCurrencyCode = 'USD') {\n this._locale = _locale;\n this._defaultCurrencyCode = _defaultCurrencyCode;\n }\n /**\n *\n * @param value The number to be formatted as currency.\n * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,\n * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be\n * configured using the `DEFAULT_CURRENCY_CODE` injection token.\n * @param display The format for the currency indicator. One of the following:\n * - `code`: Show the code (such as `USD`).\n * - `symbol`(default): Show the symbol (such as `$`).\n * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their\n * currency.\n * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the\n * locale has no narrow symbol, uses the standard symbol for the locale.\n * - String: Use the given string value instead of a code or a symbol.\n * For example, an empty string will suppress the currency & symbol.\n * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.\n *\n * @param digitsInfo Decimal representation options, specified by a string\n * in the following format:
    \n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `2`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `2`.\n * If not provided, the number will be formatted with the proper amount of digits,\n * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.\n * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.\n * @param locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n-common-locale-id).\n */\n transform(value, currencyCode = this._defaultCurrencyCode, display = 'symbol', digitsInfo, locale) {\n if (!isValue(value))\n return null;\n locale ||= this._locale;\n if (typeof display === 'boolean') {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && console && console.warn) {\n console.warn(`Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are \"code\", \"symbol\" or \"symbol-narrow\".`);\n }\n display = display ? 'symbol' : 'code';\n }\n let currency = currencyCode || this._defaultCurrencyCode;\n if (display !== 'code') {\n if (display === 'symbol' || display === 'symbol-narrow') {\n currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale);\n }\n else {\n currency = display;\n }\n }\n try {\n const num = strToNumber(value);\n return formatCurrency(num, locale, currency, currencyCode, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(CurrencyPipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: \"currency\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: CurrencyPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'currency',\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DEFAULT_CURRENCY_CODE]\n }] }] });\nfunction isValue(value) {\n return !(value == null || value === '' || value !== value);\n}\n/**\n * Transforms a string into a number (if needed).\n */\nfunction strToNumber(value) {\n // Convert strings to numbers\n if (typeof value === 'string' && !isNaN(Number(value) - parseFloat(value))) {\n return Number(value);\n }\n if (typeof value !== 'number') {\n throw new Error(`${value} is not a number`);\n }\n return value;\n}\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Creates a new `Array` or `String` containing a subset (slice) of the elements.\n *\n * @usageNotes\n *\n * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`\n * and `String.prototype.slice()`.\n *\n * When operating on an `Array`, the returned `Array` is always a copy even when all\n * the elements are being returned.\n *\n * When operating on a blank value, the pipe returns the blank value.\n *\n * ### List Example\n *\n * This `ngFor` example:\n *\n * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}\n *\n * produces the following:\n *\n * ```html\n *
  • b
  • \n *
  • c
  • \n * ```\n *\n * ### String Examples\n *\n * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}\n *\n * @publicApi\n */\nclass SlicePipe {\n transform(value, start, end) {\n if (value == null)\n return null;\n if (!this.supports(value)) {\n throw invalidPipeArgumentError(SlicePipe, value);\n }\n return value.slice(start, end);\n }\n supports(obj) {\n return typeof obj === 'string' || Array.isArray(obj);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: SlicePipe, isStandalone: true, name: \"slice\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: SlicePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'slice',\n pure: false,\n standalone: true,\n }]\n }] });\n\n/**\n * @module\n * @description\n * This module provides a set of common Pipes.\n */\n/**\n * A collection of Angular pipes that are likely to be used in each and every application.\n */\nconst COMMON_PIPES = [\n AsyncPipe,\n UpperCasePipe,\n LowerCasePipe,\n JsonPipe,\n SlicePipe,\n DecimalPipe,\n PercentPipe,\n TitleCasePipe,\n CurrencyPipe,\n DatePipe,\n I18nPluralPipe,\n I18nSelectPipe,\n KeyValuePipe,\n];\n\n// Note: This does not contain the location providers,\n// as they need some platform specific implementations to work.\n/**\n * Exports all the basic Angular directives and pipes,\n * such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.\n * Re-exported by `BrowserModule`, which is included automatically in the root\n * `AppModule` when you create a new app with the CLI `new` command.\n *\n * @publicApi\n */\nclass CommonModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.3.5\", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: CommonModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: CommonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [COMMON_DIRECTIVES, COMMON_PIPES],\n exports: [COMMON_DIRECTIVES, COMMON_PIPES],\n }]\n }] });\n\nconst PLATFORM_BROWSER_ID = 'browser';\nconst PLATFORM_SERVER_ID = 'server';\nconst PLATFORM_WORKER_APP_ID = 'browserWorkerApp';\nconst PLATFORM_WORKER_UI_ID = 'browserWorkerUi';\n/**\n * Returns whether a platform id represents a browser platform.\n * @publicApi\n */\nfunction isPlatformBrowser(platformId) {\n return platformId === PLATFORM_BROWSER_ID;\n}\n/**\n * Returns whether a platform id represents a server platform.\n * @publicApi\n */\nfunction isPlatformServer(platformId) {\n return platformId === PLATFORM_SERVER_ID;\n}\n/**\n * Returns whether a platform id represents a web worker app platform.\n * @publicApi\n * @deprecated This function serves no purpose since the removal of the Webworker platform. It will\n * always return `false`.\n */\nfunction isPlatformWorkerApp(platformId) {\n return platformId === PLATFORM_WORKER_APP_ID;\n}\n/**\n * Returns whether a platform id represents a web worker UI platform.\n * @publicApi\n * @deprecated This function serves no purpose since the removal of the Webworker platform. It will\n * always return `false`.\n */\nfunction isPlatformWorkerUi(platformId) {\n return platformId === PLATFORM_WORKER_UI_ID;\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n/**\n * @publicApi\n */\nconst VERSION = new Version('17.3.5');\n\n/**\n * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.\n *\n * @publicApi\n */\nclass ViewportScroller {\n // De-sugared tree-shakable injection\n // See #23917\n /** @nocollapse */\n static { this.ɵprov = ɵɵdefineInjectable({\n token: ViewportScroller,\n providedIn: 'root',\n factory: () => isPlatformBrowser(inject(PLATFORM_ID))\n ? new BrowserViewportScroller(inject(DOCUMENT), window)\n : new NullViewportScroller(),\n }); }\n}\n/**\n * Manages the scroll position for a browser window.\n */\nclass BrowserViewportScroller {\n constructor(document, window) {\n this.document = document;\n this.window = window;\n this.offset = () => [0, 0];\n }\n /**\n * Configures the top offset used when scrolling to an anchor.\n * @param offset A position in screen coordinates (a tuple with x and y values)\n * or a function that returns the top offset position.\n *\n */\n setOffset(offset) {\n if (Array.isArray(offset)) {\n this.offset = () => offset;\n }\n else {\n this.offset = offset;\n }\n }\n /**\n * Retrieves the current scroll position.\n * @returns The position in screen coordinates.\n */\n getScrollPosition() {\n return [this.window.scrollX, this.window.scrollY];\n }\n /**\n * Sets the scroll position.\n * @param position The new position in screen coordinates.\n */\n scrollToPosition(position) {\n this.window.scrollTo(position[0], position[1]);\n }\n /**\n * Scrolls to an element and attempts to focus the element.\n *\n * Note that the function name here is misleading in that the target string may be an ID for a\n * non-anchor element.\n *\n * @param target The ID of an element or name of the anchor.\n *\n * @see https://html.spec.whatwg.org/#the-indicated-part-of-the-document\n * @see https://html.spec.whatwg.org/#scroll-to-fragid\n */\n scrollToAnchor(target) {\n const elSelected = findAnchorFromDocument(this.document, target);\n if (elSelected) {\n this.scrollToElement(elSelected);\n // After scrolling to the element, the spec dictates that we follow the focus steps for the\n // target. Rather than following the robust steps, simply attempt focus.\n //\n // @see https://html.spec.whatwg.org/#get-the-focusable-area\n // @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus\n // @see https://html.spec.whatwg.org/#focusable-area\n elSelected.focus();\n }\n }\n /**\n * Disables automatic scroll restoration provided by the browser.\n */\n setHistoryScrollRestoration(scrollRestoration) {\n this.window.history.scrollRestoration = scrollRestoration;\n }\n /**\n * Scrolls to an element using the native offset and the specified offset set on this scroller.\n *\n * The offset can be used when we know that there is a floating header and scrolling naively to an\n * element (ex: `scrollIntoView`) leaves the element hidden behind the floating header.\n */\n scrollToElement(el) {\n const rect = el.getBoundingClientRect();\n const left = rect.left + this.window.pageXOffset;\n const top = rect.top + this.window.pageYOffset;\n const offset = this.offset();\n this.window.scrollTo(left - offset[0], top - offset[1]);\n }\n}\nfunction findAnchorFromDocument(document, target) {\n const documentResult = document.getElementById(target) || document.getElementsByName(target)[0];\n if (documentResult) {\n return documentResult;\n }\n // `getElementById` and `getElementsByName` won't pierce through the shadow DOM so we\n // have to traverse the DOM manually and do the lookup through the shadow roots.\n if (typeof document.createTreeWalker === 'function' &&\n document.body &&\n typeof document.body.attachShadow === 'function') {\n const treeWalker = document.createTreeWalker(document.body, NodeFilter.SHOW_ELEMENT);\n let currentNode = treeWalker.currentNode;\n while (currentNode) {\n const shadowRoot = currentNode.shadowRoot;\n if (shadowRoot) {\n // Note that `ShadowRoot` doesn't support `getElementsByName`\n // so we have to fall back to `querySelector`.\n const result = shadowRoot.getElementById(target) || shadowRoot.querySelector(`[name=\"${target}\"]`);\n if (result) {\n return result;\n }\n }\n currentNode = treeWalker.nextNode();\n }\n }\n return null;\n}\n/**\n * Provides an empty implementation of the viewport scroller.\n */\nclass NullViewportScroller {\n /**\n * Empty implementation\n */\n setOffset(offset) { }\n /**\n * Empty implementation\n */\n getScrollPosition() {\n return [0, 0];\n }\n /**\n * Empty implementation\n */\n scrollToPosition(position) { }\n /**\n * Empty implementation\n */\n scrollToAnchor(anchor) { }\n /**\n * Empty implementation\n */\n setHistoryScrollRestoration(scrollRestoration) { }\n}\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n */\nclass XhrFactory {\n}\n\n/**\n * Value (out of 100) of the requested quality for placeholder images.\n */\nconst PLACEHOLDER_QUALITY = '20';\n\n// Converts a string that represents a URL into a URL class instance.\nfunction getUrl(src, win) {\n // Don't use a base URL is the URL is absolute.\n return isAbsoluteUrl(src) ? new URL(src) : new URL(src, win.location.href);\n}\n// Checks whether a URL is absolute (i.e. starts with `http://` or `https://`).\nfunction isAbsoluteUrl(src) {\n return /^https?:\\/\\//.test(src);\n}\n// Given a URL, extract the hostname part.\n// If a URL is a relative one - the URL is returned as is.\nfunction extractHostname(url) {\n return isAbsoluteUrl(url) ? new URL(url).hostname : url;\n}\nfunction isValidPath(path) {\n const isString = typeof path === 'string';\n if (!isString || path.trim() === '') {\n return false;\n }\n // Calling new URL() will throw if the path string is malformed\n try {\n const url = new URL(path);\n return true;\n }\n catch {\n return false;\n }\n}\nfunction normalizePath(path) {\n return path.endsWith('/') ? path.slice(0, -1) : path;\n}\nfunction normalizeSrc(src) {\n return src.startsWith('/') ? src.slice(1) : src;\n}\n\n/**\n * Noop image loader that does no transformation to the original src and just returns it as is.\n * This loader is used as a default one if more specific logic is not provided in an app config.\n *\n * @see {@link ImageLoader}\n * @see {@link NgOptimizedImage}\n */\nconst noopImageLoader = (config) => config.src;\n/**\n * Injection token that configures the image loader function.\n *\n * @see {@link ImageLoader}\n * @see {@link NgOptimizedImage}\n * @publicApi\n */\nconst IMAGE_LOADER = new InjectionToken(ngDevMode ? 'ImageLoader' : '', {\n providedIn: 'root',\n factory: () => noopImageLoader,\n});\n/**\n * Internal helper function that makes it easier to introduce custom image loaders for the\n * `NgOptimizedImage` directive. It is enough to specify a URL builder function to obtain full DI\n * configuration for a given loader: a DI token corresponding to the actual loader function, plus DI\n * tokens managing preconnect check functionality.\n * @param buildUrlFn a function returning a full URL based on loader's configuration\n * @param exampleUrls example of full URLs for a given loader (used in error messages)\n * @returns a set of DI providers corresponding to the configured image loader\n */\nfunction createImageLoader(buildUrlFn, exampleUrls) {\n return function provideImageLoader(path) {\n if (!isValidPath(path)) {\n throwInvalidPathError(path, exampleUrls || []);\n }\n // The trailing / is stripped (if provided) to make URL construction (concatenation) easier in\n // the individual loader functions.\n path = normalizePath(path);\n const loaderFn = (config) => {\n if (isAbsoluteUrl(config.src)) {\n // Image loader functions expect an image file name (e.g. `my-image.png`)\n // or a relative path + a file name (e.g. `/a/b/c/my-image.png`) as an input,\n // so the final absolute URL can be constructed.\n // When an absolute URL is provided instead - the loader can not\n // build a final URL, thus the error is thrown to indicate that.\n throwUnexpectedAbsoluteUrlError(path, config.src);\n }\n return buildUrlFn(path, { ...config, src: normalizeSrc(config.src) });\n };\n const providers = [{ provide: IMAGE_LOADER, useValue: loaderFn }];\n return providers;\n };\n}\nfunction throwInvalidPathError(path, exampleUrls) {\n throw new ɵRuntimeError(2959 /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */, ngDevMode &&\n `Image loader has detected an invalid path (\\`${path}\\`). ` +\n `To fix this, supply a path using one of the following formats: ${exampleUrls.join(' or ')}`);\n}\nfunction throwUnexpectedAbsoluteUrlError(path, url) {\n throw new ɵRuntimeError(2959 /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */, ngDevMode &&\n `Image loader has detected a \\`\\` tag with an invalid \\`ngSrc\\` attribute: ${url}. ` +\n `This image loader expects \\`ngSrc\\` to be a relative URL - ` +\n `however the provided value is an absolute URL. ` +\n `To fix this, provide \\`ngSrc\\` as a path relative to the base URL ` +\n `configured for this loader (\\`${path}\\`).`);\n}\n\n/**\n * Function that generates an ImageLoader for [Cloudflare Image\n * Resizing](https://developers.cloudflare.com/images/image-resizing/) and turns it into an Angular\n * provider. Note: Cloudflare has multiple image products - this provider is specifically for\n * Cloudflare Image Resizing; it will not work with Cloudflare Images or Cloudflare Polish.\n *\n * @param path Your domain name, e.g. https://mysite.com\n * @returns Provider that provides an ImageLoader function\n *\n * @publicApi\n */\nconst provideCloudflareLoader = createImageLoader(createCloudflareUrl, ngDevMode ? ['https:///cdn-cgi/image//'] : undefined);\nfunction createCloudflareUrl(path, config) {\n let params = `format=auto`;\n if (config.width) {\n params += `,width=${config.width}`;\n }\n // When requesting a placeholder image we ask for a low quality image to reduce the load time.\n if (config.isPlaceholder) {\n params += `,quality=${PLACEHOLDER_QUALITY}`;\n }\n // Cloudflare image URLs format:\n // https://developers.cloudflare.com/images/image-resizing/url-format/\n return `${path}/cdn-cgi/image/${params}/${config.src}`;\n}\n\n/**\n * Name and URL tester for Cloudinary.\n */\nconst cloudinaryLoaderInfo = {\n name: 'Cloudinary',\n testUrl: isCloudinaryUrl,\n};\nconst CLOUDINARY_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.cloudinary\\.com\\/.+/;\n/**\n * Tests whether a URL is from Cloudinary CDN.\n */\nfunction isCloudinaryUrl(url) {\n return CLOUDINARY_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for Cloudinary and turns it into an Angular provider.\n *\n * @param path Base URL of your Cloudinary images\n * This URL should match one of the following formats:\n * https://res.cloudinary.com/mysite\n * https://mysite.cloudinary.com\n * https://subdomain.mysite.com\n * @returns Set of providers to configure the Cloudinary loader.\n *\n * @publicApi\n */\nconst provideCloudinaryLoader = createImageLoader(createCloudinaryUrl, ngDevMode\n ? [\n 'https://res.cloudinary.com/mysite',\n 'https://mysite.cloudinary.com',\n 'https://subdomain.mysite.com',\n ]\n : undefined);\nfunction createCloudinaryUrl(path, config) {\n // Cloudinary image URLformat:\n // https://cloudinary.com/documentation/image_transformations#transformation_url_structure\n // Example of a Cloudinary image URL:\n // https://res.cloudinary.com/mysite/image/upload/c_scale,f_auto,q_auto,w_600/marketing/tile-topics-m.png\n // For a placeholder image, we use the lowest image setting available to reduce the load time\n // else we use the auto size\n const quality = config.isPlaceholder ? 'q_auto:low' : 'q_auto';\n let params = `f_auto,${quality}`;\n if (config.width) {\n params += `,w_${config.width}`;\n }\n return `${path}/image/upload/${params}/${config.src}`;\n}\n\n/**\n * Name and URL tester for ImageKit.\n */\nconst imageKitLoaderInfo = {\n name: 'ImageKit',\n testUrl: isImageKitUrl,\n};\nconst IMAGE_KIT_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.imagekit\\.io\\/.+/;\n/**\n * Tests whether a URL is from ImageKit CDN.\n */\nfunction isImageKitUrl(url) {\n return IMAGE_KIT_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for ImageKit and turns it into an Angular provider.\n *\n * @param path Base URL of your ImageKit images\n * This URL should match one of the following formats:\n * https://ik.imagekit.io/myaccount\n * https://subdomain.mysite.com\n * @returns Set of providers to configure the ImageKit loader.\n *\n * @publicApi\n */\nconst provideImageKitLoader = createImageLoader(createImagekitUrl, ngDevMode ? ['https://ik.imagekit.io/mysite', 'https://subdomain.mysite.com'] : undefined);\nfunction createImagekitUrl(path, config) {\n // Example of an ImageKit image URL:\n // https://ik.imagekit.io/demo/tr:w-300,h-300/medium_cafe_B1iTdD0C.jpg\n const { src, width } = config;\n const params = [];\n if (width) {\n params.push(`w-${width}`);\n }\n // When requesting a placeholder image we ask for a low quality image to reduce the load time.\n if (config.isPlaceholder) {\n params.push(`q-${PLACEHOLDER_QUALITY}`);\n }\n const urlSegments = params.length ? [path, `tr:${params.join(',')}`, src] : [path, src];\n const url = new URL(urlSegments.join('/'));\n return url.href;\n}\n\n/**\n * Name and URL tester for Imgix.\n */\nconst imgixLoaderInfo = {\n name: 'Imgix',\n testUrl: isImgixUrl,\n};\nconst IMGIX_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.imgix\\.net\\/.+/;\n/**\n * Tests whether a URL is from Imgix CDN.\n */\nfunction isImgixUrl(url) {\n return IMGIX_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for Imgix and turns it into an Angular provider.\n *\n * @param path path to the desired Imgix origin,\n * e.g. https://somepath.imgix.net or https://images.mysite.com\n * @returns Set of providers to configure the Imgix loader.\n *\n * @publicApi\n */\nconst provideImgixLoader = createImageLoader(createImgixUrl, ngDevMode ? ['https://somepath.imgix.net/'] : undefined);\nfunction createImgixUrl(path, config) {\n const url = new URL(`${path}/${config.src}`);\n // This setting ensures the smallest allowable format is set.\n url.searchParams.set('auto', 'format');\n if (config.width) {\n url.searchParams.set('w', config.width.toString());\n }\n // When requesting a placeholder image we ask a low quality image to reduce the load time.\n if (config.isPlaceholder) {\n url.searchParams.set('q', PLACEHOLDER_QUALITY);\n }\n return url.href;\n}\n\n/**\n * Name and URL tester for Netlify.\n */\nconst netlifyLoaderInfo = {\n name: 'Netlify',\n testUrl: isNetlifyUrl,\n};\nconst NETLIFY_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.netlify\\.app\\/.+/;\n/**\n * Tests whether a URL is from a Netlify site. This won't catch sites with a custom domain,\n * but it's a good start for sites in development. This is only used to warn users who haven't\n * configured an image loader.\n */\nfunction isNetlifyUrl(url) {\n return NETLIFY_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for Netlify and turns it into an Angular provider.\n *\n * @param path optional URL of the desired Netlify site. Defaults to the current site.\n * @returns Set of providers to configure the Netlify loader.\n *\n * @publicApi\n */\nfunction provideNetlifyLoader(path) {\n if (path && !isValidPath(path)) {\n throw new ɵRuntimeError(2959 /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */, ngDevMode &&\n `Image loader has detected an invalid path (\\`${path}\\`). ` +\n `To fix this, supply either the full URL to the Netlify site, or leave it empty to use the current site.`);\n }\n if (path) {\n const url = new URL(path);\n path = url.origin;\n }\n const loaderFn = (config) => {\n return createNetlifyUrl(config, path);\n };\n const providers = [{ provide: IMAGE_LOADER, useValue: loaderFn }];\n return providers;\n}\nconst validParams = new Map([\n ['height', 'h'],\n ['fit', 'fit'],\n ['quality', 'q'],\n ['q', 'q'],\n ['position', 'position'],\n]);\nfunction createNetlifyUrl(config, path) {\n // Note: `path` can be undefined, in which case we use a fake one to construct a `URL` instance.\n const url = new URL(path ?? 'https://a/');\n url.pathname = '/.netlify/images';\n if (!isAbsoluteUrl(config.src) && !config.src.startsWith('/')) {\n config.src = '/' + config.src;\n }\n url.searchParams.set('url', config.src);\n if (config.width) {\n url.searchParams.set('w', config.width.toString());\n }\n // When requesting a placeholder image we ask for a low quality image to reduce the load time.\n // If the quality is specified in the loader config - always use provided value.\n const configQuality = config.loaderParams?.['quality'] ?? config.loaderParams?.['q'];\n if (config.isPlaceholder && !configQuality) {\n url.searchParams.set('q', PLACEHOLDER_QUALITY);\n }\n for (const [param, value] of Object.entries(config.loaderParams ?? {})) {\n if (validParams.has(param)) {\n url.searchParams.set(validParams.get(param), value.toString());\n }\n else {\n if (ngDevMode) {\n console.warn(ɵformatRuntimeError(2959 /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */, `The Netlify image loader has detected an \\`\\` tag with the unsupported attribute \"\\`${param}\\`\".`));\n }\n }\n }\n // The \"a\" hostname is used for relative URLs, so we can remove it from the final URL.\n return url.hostname === 'a' ? url.href.replace(url.origin, '') : url.href;\n}\n\n// Assembles directive details string, useful for error messages.\nfunction imgDirectiveDetails(ngSrc, includeNgSrc = true) {\n const ngSrcInfo = includeNgSrc\n ? `(activated on an element with the \\`ngSrc=\"${ngSrc}\"\\`) `\n : '';\n return `The NgOptimizedImage directive ${ngSrcInfo}has detected that`;\n}\n\n/**\n * Asserts that the application is in development mode. Throws an error if the application is in\n * production mode. This assert can be used to make sure that there is no dev-mode code invoked in\n * the prod mode accidentally.\n */\nfunction assertDevMode(checkName) {\n if (!ngDevMode) {\n throw new ɵRuntimeError(2958 /* RuntimeErrorCode.UNEXPECTED_DEV_MODE_CHECK_IN_PROD_MODE */, `Unexpected invocation of the ${checkName} in the prod mode. ` +\n `Please make sure that the prod mode is enabled for production builds.`);\n }\n}\n\n/**\n * Observer that detects whether an image with `NgOptimizedImage`\n * is treated as a Largest Contentful Paint (LCP) element. If so,\n * asserts that the image has the `priority` attribute.\n *\n * Note: this is a dev-mode only class and it does not appear in prod bundles,\n * thus there is no `ngDevMode` use in the code.\n *\n * Based on https://web.dev/lcp/#measure-lcp-in-javascript.\n */\nclass LCPImageObserver {\n constructor() {\n // Map of full image URLs -> original `ngSrc` values.\n this.images = new Map();\n this.window = null;\n this.observer = null;\n assertDevMode('LCP checker');\n const win = inject(DOCUMENT).defaultView;\n if (typeof win !== 'undefined' && typeof PerformanceObserver !== 'undefined') {\n this.window = win;\n this.observer = this.initPerformanceObserver();\n }\n }\n /**\n * Inits PerformanceObserver and subscribes to LCP events.\n * Based on https://web.dev/lcp/#measure-lcp-in-javascript\n */\n initPerformanceObserver() {\n const observer = new PerformanceObserver((entryList) => {\n const entries = entryList.getEntries();\n if (entries.length === 0)\n return;\n // We use the latest entry produced by the `PerformanceObserver` as the best\n // signal on which element is actually an LCP one. As an example, the first image to load on\n // a page, by virtue of being the only thing on the page so far, is often a LCP candidate\n // and gets reported by PerformanceObserver, but isn't necessarily the LCP element.\n const lcpElement = entries[entries.length - 1];\n // Cast to `any` due to missing `element` on the `LargestContentfulPaint` type of entry.\n // See https://developer.mozilla.org/en-US/docs/Web/API/LargestContentfulPaint\n const imgSrc = lcpElement.element?.src ?? '';\n // Exclude `data:` and `blob:` URLs, since they are not supported by the directive.\n if (imgSrc.startsWith('data:') || imgSrc.startsWith('blob:'))\n return;\n const img = this.images.get(imgSrc);\n if (!img)\n return;\n if (!img.priority && !img.alreadyWarnedPriority) {\n img.alreadyWarnedPriority = true;\n logMissingPriorityError(imgSrc);\n }\n if (img.modified && !img.alreadyWarnedModified) {\n img.alreadyWarnedModified = true;\n logModifiedWarning(imgSrc);\n }\n });\n observer.observe({ type: 'largest-contentful-paint', buffered: true });\n return observer;\n }\n registerImage(rewrittenSrc, originalNgSrc, isPriority) {\n if (!this.observer)\n return;\n const newObservedImageState = {\n priority: isPriority,\n modified: false,\n alreadyWarnedModified: false,\n alreadyWarnedPriority: false,\n };\n this.images.set(getUrl(rewrittenSrc, this.window).href, newObservedImageState);\n }\n unregisterImage(rewrittenSrc) {\n if (!this.observer)\n return;\n this.images.delete(getUrl(rewrittenSrc, this.window).href);\n }\n updateImage(originalSrc, newSrc) {\n const originalUrl = getUrl(originalSrc, this.window).href;\n const img = this.images.get(originalUrl);\n if (img) {\n img.modified = true;\n this.images.set(getUrl(newSrc, this.window).href, img);\n this.images.delete(originalUrl);\n }\n }\n ngOnDestroy() {\n if (!this.observer)\n return;\n this.observer.disconnect();\n this.images.clear();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: LCPImageObserver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: LCPImageObserver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\nfunction logMissingPriorityError(ngSrc) {\n const directiveDetails = imgDirectiveDetails(ngSrc);\n console.error(ɵformatRuntimeError(2955 /* RuntimeErrorCode.LCP_IMG_MISSING_PRIORITY */, `${directiveDetails} this image is the Largest Contentful Paint (LCP) ` +\n `element but was not marked \"priority\". This image should be marked ` +\n `\"priority\" in order to prioritize its loading. ` +\n `To fix this, add the \"priority\" attribute.`));\n}\nfunction logModifiedWarning(ngSrc) {\n const directiveDetails = imgDirectiveDetails(ngSrc);\n console.warn(ɵformatRuntimeError(2964 /* RuntimeErrorCode.LCP_IMG_NGSRC_MODIFIED */, `${directiveDetails} this image is the Largest Contentful Paint (LCP) ` +\n `element and has had its \"ngSrc\" attribute modified. This can cause ` +\n `slower loading performance. It is recommended not to modify the \"ngSrc\" ` +\n `property on any image which could be the LCP element.`));\n}\n\n// Set of origins that are always excluded from the preconnect checks.\nconst INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']);\n/**\n * Injection token to configure which origins should be excluded\n * from the preconnect checks. It can either be a single string or an array of strings\n * to represent a group of origins, for example:\n *\n * ```typescript\n * {provide: PRECONNECT_CHECK_BLOCKLIST, useValue: 'https://your-domain.com'}\n * ```\n *\n * or:\n *\n * ```typescript\n * {provide: PRECONNECT_CHECK_BLOCKLIST,\n * useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}\n * ```\n *\n * @publicApi\n */\nconst PRECONNECT_CHECK_BLOCKLIST = new InjectionToken(ngDevMode ? 'PRECONNECT_CHECK_BLOCKLIST' : '');\n/**\n * Contains the logic to detect whether an image, marked with the \"priority\" attribute\n * has a corresponding `` tag in the `document.head`.\n *\n * Note: this is a dev-mode only class, which should not appear in prod bundles,\n * thus there is no `ngDevMode` use in the code.\n */\nclass PreconnectLinkChecker {\n constructor() {\n this.document = inject(DOCUMENT);\n /**\n * Set of tags found on this page.\n * The `null` value indicates that there was no DOM query operation performed.\n */\n this.preconnectLinks = null;\n /*\n * Keep track of all already seen origin URLs to avoid repeating the same check.\n */\n this.alreadySeen = new Set();\n this.window = null;\n this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);\n assertDevMode('preconnect link checker');\n const win = this.document.defaultView;\n if (typeof win !== 'undefined') {\n this.window = win;\n }\n const blocklist = inject(PRECONNECT_CHECK_BLOCKLIST, { optional: true });\n if (blocklist) {\n this.populateBlocklist(blocklist);\n }\n }\n populateBlocklist(origins) {\n if (Array.isArray(origins)) {\n deepForEach(origins, (origin) => {\n this.blocklist.add(extractHostname(origin));\n });\n }\n else {\n this.blocklist.add(extractHostname(origins));\n }\n }\n /**\n * Checks that a preconnect resource hint exists in the head for the\n * given src.\n *\n * @param rewrittenSrc src formatted with loader\n * @param originalNgSrc ngSrc value\n */\n assertPreconnect(rewrittenSrc, originalNgSrc) {\n if (!this.window)\n return;\n const imgUrl = getUrl(rewrittenSrc, this.window);\n if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin))\n return;\n // Register this origin as seen, so we don't check it again later.\n this.alreadySeen.add(imgUrl.origin);\n // Note: we query for preconnect links only *once* and cache the results\n // for the entire lifespan of an application, since it's unlikely that the\n // list would change frequently. This allows to make sure there are no\n // performance implications of making extra DOM lookups for each image.\n this.preconnectLinks ??= this.queryPreconnectLinks();\n if (!this.preconnectLinks.has(imgUrl.origin)) {\n console.warn(ɵformatRuntimeError(2956 /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */, `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` +\n `image. Preconnecting to the origin(s) that serve priority images ensures that these ` +\n `images are delivered as soon as possible. To fix this, please add the following ` +\n `element into the of the document:\\n` +\n ` `));\n }\n }\n queryPreconnectLinks() {\n const preconnectUrls = new Set();\n const selector = 'link[rel=preconnect]';\n const links = Array.from(this.document.querySelectorAll(selector));\n for (let link of links) {\n const url = getUrl(link.href, this.window);\n preconnectUrls.add(url.origin);\n }\n return preconnectUrls;\n }\n ngOnDestroy() {\n this.preconnectLinks?.clear();\n this.alreadySeen.clear();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PreconnectLinkChecker, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n/**\n * Invokes a callback for each element in the array. Also invokes a callback\n * recursively for each nested array.\n */\nfunction deepForEach(input, fn) {\n for (let value of input) {\n Array.isArray(value) ? deepForEach(value, fn) : fn(value);\n }\n}\n\n/**\n * In SSR scenarios, a preload `` element is generated for priority images.\n * Having a large number of preload tags may negatively affect the performance,\n * so we warn developers (by throwing an error) if the number of preloaded images\n * is above a certain threshold. This const specifies this threshold.\n */\nconst DEFAULT_PRELOADED_IMAGES_LIMIT = 5;\n/**\n * Helps to keep track of priority images that already have a corresponding\n * preload tag (to avoid generating multiple preload tags with the same URL).\n *\n * This Set tracks the original src passed into the `ngSrc` input not the src after it has been\n * run through the specified `IMAGE_LOADER`.\n */\nconst PRELOADED_IMAGES = new InjectionToken('NG_OPTIMIZED_PRELOADED_IMAGES', {\n providedIn: 'root',\n factory: () => new Set(),\n});\n\n/**\n * @description Contains the logic needed to track and add preload link tags to the `` tag. It\n * will also track what images have already had preload link tags added so as to not duplicate link\n * tags.\n *\n * In dev mode this service will validate that the number of preloaded images does not exceed the\n * configured default preloaded images limit: {@link DEFAULT_PRELOADED_IMAGES_LIMIT}.\n */\nclass PreloadLinkCreator {\n constructor() {\n this.preloadedImages = inject(PRELOADED_IMAGES);\n this.document = inject(DOCUMENT);\n }\n /**\n * @description Add a preload `` to the `` of the `index.html` that is served from the\n * server while using Angular Universal and SSR to kick off image loads for high priority images.\n *\n * The `sizes` (passed in from the user) and `srcset` (parsed and formatted from `ngSrcset`)\n * properties used to set the corresponding attributes, `imagesizes` and `imagesrcset`\n * respectively, on the preload `` tag so that the correctly sized image is preloaded from\n * the CDN.\n *\n * {@link https://web.dev/preload-responsive-images/#imagesrcset-and-imagesizes}\n *\n * @param renderer The `Renderer2` passed in from the directive\n * @param src The original src of the image that is set on the `ngSrc` input.\n * @param srcset The parsed and formatted srcset created from the `ngSrcset` input\n * @param sizes The value of the `sizes` attribute passed in to the `` tag\n */\n createPreloadLinkTag(renderer, src, srcset, sizes) {\n if (ngDevMode) {\n if (this.preloadedImages.size >= DEFAULT_PRELOADED_IMAGES_LIMIT) {\n throw new ɵRuntimeError(2961 /* RuntimeErrorCode.TOO_MANY_PRELOADED_IMAGES */, ngDevMode &&\n `The \\`NgOptimizedImage\\` directive has detected that more than ` +\n `${DEFAULT_PRELOADED_IMAGES_LIMIT} images were marked as priority. ` +\n `This might negatively affect an overall performance of the page. ` +\n `To fix this, remove the \"priority\" attribute from images with less priority.`);\n }\n }\n if (this.preloadedImages.has(src)) {\n return;\n }\n this.preloadedImages.add(src);\n const preload = renderer.createElement('link');\n renderer.setAttribute(preload, 'as', 'image');\n renderer.setAttribute(preload, 'href', src);\n renderer.setAttribute(preload, 'rel', 'preload');\n renderer.setAttribute(preload, 'fetchpriority', 'high');\n if (sizes) {\n renderer.setAttribute(preload, 'imageSizes', sizes);\n }\n if (srcset) {\n renderer.setAttribute(preload, 'imageSrcset', srcset);\n }\n renderer.appendChild(this.document.head, preload);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: PreloadLinkCreator, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/**\n * When a Base64-encoded image is passed as an input to the `NgOptimizedImage` directive,\n * an error is thrown. The image content (as a string) might be very long, thus making\n * it hard to read an error message if the entire string is included. This const defines\n * the number of characters that should be included into the error message. The rest\n * of the content is truncated.\n */\nconst BASE64_IMG_MAX_LENGTH_IN_ERROR = 50;\n/**\n * RegExpr to determine whether a src in a srcset is using width descriptors.\n * Should match something like: \"100w, 200w\".\n */\nconst VALID_WIDTH_DESCRIPTOR_SRCSET = /^((\\s*\\d+w\\s*(,|$)){1,})$/;\n/**\n * RegExpr to determine whether a src in a srcset is using density descriptors.\n * Should match something like: \"1x, 2x, 50x\". Also supports decimals like \"1.5x, 1.50x\".\n */\nconst VALID_DENSITY_DESCRIPTOR_SRCSET = /^((\\s*\\d+(\\.\\d+)?x\\s*(,|$)){1,})$/;\n/**\n * Srcset values with a density descriptor higher than this value will actively\n * throw an error. Such densities are not permitted as they cause image sizes\n * to be unreasonably large and slow down LCP.\n */\nconst ABSOLUTE_SRCSET_DENSITY_CAP = 3;\n/**\n * Used only in error message text to communicate best practices, as we will\n * only throw based on the slightly more conservative ABSOLUTE_SRCSET_DENSITY_CAP.\n */\nconst RECOMMENDED_SRCSET_DENSITY_CAP = 2;\n/**\n * Used in generating automatic density-based srcsets\n */\nconst DENSITY_SRCSET_MULTIPLIERS = [1, 2];\n/**\n * Used to determine which breakpoints to use on full-width images\n */\nconst VIEWPORT_BREAKPOINT_CUTOFF = 640;\n/**\n * Used to determine whether two aspect ratios are similar in value.\n */\nconst ASPECT_RATIO_TOLERANCE = 0.1;\n/**\n * Used to determine whether the image has been requested at an overly\n * large size compared to the actual rendered image size (after taking\n * into account a typical device pixel ratio). In pixels.\n */\nconst OVERSIZED_IMAGE_TOLERANCE = 1000;\n/**\n * Used to limit automatic srcset generation of very large sources for\n * fixed-size images. In pixels.\n */\nconst FIXED_SRCSET_WIDTH_LIMIT = 1920;\nconst FIXED_SRCSET_HEIGHT_LIMIT = 1080;\n/**\n * Default blur radius of the CSS filter used on placeholder images, in pixels\n */\nconst PLACEHOLDER_BLUR_AMOUNT = 15;\n/**\n * Used to warn or error when the user provides an overly large dataURL for the placeholder\n * attribute.\n * Character count of Base64 images is 1 character per byte, and base64 encoding is approximately\n * 33% larger than base images, so 4000 characters is around 3KB on disk and 10000 characters is\n * around 7.7KB. Experimentally, 4000 characters is about 20x20px in PNG or medium-quality JPEG\n * format, and 10,000 is around 50x50px, but there's quite a bit of variation depending on how the\n * image is saved.\n */\nconst DATA_URL_WARN_LIMIT = 4000;\nconst DATA_URL_ERROR_LIMIT = 10000;\n/** Info about built-in loaders we can test for. */\nconst BUILT_IN_LOADERS = [\n imgixLoaderInfo,\n imageKitLoaderInfo,\n cloudinaryLoaderInfo,\n netlifyLoaderInfo,\n];\n/**\n * Directive that improves image loading performance by enforcing best practices.\n *\n * `NgOptimizedImage` ensures that the loading of the Largest Contentful Paint (LCP) image is\n * prioritized by:\n * - Automatically setting the `fetchpriority` attribute on the `` tag\n * - Lazy loading non-priority images by default\n * - Automatically generating a preconnect link tag in the document head\n *\n * In addition, the directive:\n * - Generates appropriate asset URLs if a corresponding `ImageLoader` function is provided\n * - Automatically generates a srcset\n * - Requires that `width` and `height` are set\n * - Warns if `width` or `height` have been set incorrectly\n * - Warns if the image will be visually distorted when rendered\n *\n * @usageNotes\n * The `NgOptimizedImage` directive is marked as [standalone](guide/standalone-components) and can\n * be imported directly.\n *\n * Follow the steps below to enable and use the directive:\n * 1. Import it into the necessary NgModule or a standalone Component.\n * 2. Optionally provide an `ImageLoader` if you use an image hosting service.\n * 3. Update the necessary `` tags in templates and replace `src` attributes with `ngSrc`.\n * Using a `ngSrc` allows the directive to control when the `src` gets set, which triggers an image\n * download.\n *\n * Step 1: import the `NgOptimizedImage` directive.\n *\n * ```typescript\n * import { NgOptimizedImage } from '@angular/common';\n *\n * // Include it into the necessary NgModule\n * @NgModule({\n * imports: [NgOptimizedImage],\n * })\n * class AppModule {}\n *\n * // ... or a standalone Component\n * @Component({\n * standalone: true\n * imports: [NgOptimizedImage],\n * })\n * class MyStandaloneComponent {}\n * ```\n *\n * Step 2: configure a loader.\n *\n * To use the **default loader**: no additional code changes are necessary. The URL returned by the\n * generic loader will always match the value of \"src\". In other words, this loader applies no\n * transformations to the resource URL and the value of the `ngSrc` attribute will be used as is.\n *\n * To use an existing loader for a **third-party image service**: add the provider factory for your\n * chosen service to the `providers` array. In the example below, the Imgix loader is used:\n *\n * ```typescript\n * import {provideImgixLoader} from '@angular/common';\n *\n * // Call the function and add the result to the `providers` array:\n * providers: [\n * provideImgixLoader(\"https://my.base.url/\"),\n * ],\n * ```\n *\n * The `NgOptimizedImage` directive provides the following functions:\n * - `provideCloudflareLoader`\n * - `provideCloudinaryLoader`\n * - `provideImageKitLoader`\n * - `provideImgixLoader`\n *\n * If you use a different image provider, you can create a custom loader function as described\n * below.\n *\n * To use a **custom loader**: provide your loader function as a value for the `IMAGE_LOADER` DI\n * token.\n *\n * ```typescript\n * import {IMAGE_LOADER, ImageLoaderConfig} from '@angular/common';\n *\n * // Configure the loader using the `IMAGE_LOADER` token.\n * providers: [\n * {\n * provide: IMAGE_LOADER,\n * useValue: (config: ImageLoaderConfig) => {\n * return `https://example.com/${config.src}-${config.width}.jpg}`;\n * }\n * },\n * ],\n * ```\n *\n * Step 3: update `` tags in templates to use `ngSrc` instead of `src`.\n *\n * ```\n * \n * ```\n *\n * @publicApi\n */\nclass NgOptimizedImage {\n constructor() {\n this.imageLoader = inject(IMAGE_LOADER);\n this.config = processConfig(inject(ɵIMAGE_CONFIG));\n this.renderer = inject(Renderer2);\n this.imgElement = inject(ElementRef).nativeElement;\n this.injector = inject(Injector);\n this.isServer = isPlatformServer(inject(PLATFORM_ID));\n this.preloadLinkCreator = inject(PreloadLinkCreator);\n // a LCP image observer - should be injected only in the dev mode\n this.lcpObserver = ngDevMode ? this.injector.get(LCPImageObserver) : null;\n /**\n * Calculate the rewritten `src` once and store it.\n * This is needed to avoid repetitive calculations and make sure the directive cleanup in the\n * `ngOnDestroy` does not rely on the `IMAGE_LOADER` logic (which in turn can rely on some other\n * instance that might be already destroyed).\n */\n this._renderedSrc = null;\n /**\n * Indicates whether this image should have a high priority.\n */\n this.priority = false;\n /**\n * Disables automatic srcset generation for this image.\n */\n this.disableOptimizedSrcset = false;\n /**\n * Sets the image to \"fill mode\", which eliminates the height/width requirement and adds\n * styles such that the image fills its containing element.\n */\n this.fill = false;\n }\n /** @nodoc */\n ngOnInit() {\n ɵperformanceMarkFeature('NgOptimizedImage');\n if (ngDevMode) {\n const ngZone = this.injector.get(NgZone);\n assertNonEmptyInput(this, 'ngSrc', this.ngSrc);\n assertValidNgSrcset(this, this.ngSrcset);\n assertNoConflictingSrc(this);\n if (this.ngSrcset) {\n assertNoConflictingSrcset(this);\n }\n assertNotBase64Image(this);\n assertNotBlobUrl(this);\n if (this.fill) {\n assertEmptyWidthAndHeight(this);\n // This leaves the Angular zone to avoid triggering unnecessary change detection cycles when\n // `load` tasks are invoked on images.\n ngZone.runOutsideAngular(() => assertNonZeroRenderedHeight(this, this.imgElement, this.renderer));\n }\n else {\n assertNonEmptyWidthAndHeight(this);\n if (this.height !== undefined) {\n assertGreaterThanZero(this, this.height, 'height');\n }\n if (this.width !== undefined) {\n assertGreaterThanZero(this, this.width, 'width');\n }\n // Only check for distorted images when not in fill mode, where\n // images may be intentionally stretched, cropped or letterboxed.\n ngZone.runOutsideAngular(() => assertNoImageDistortion(this, this.imgElement, this.renderer));\n }\n assertValidLoadingInput(this);\n if (!this.ngSrcset) {\n assertNoComplexSizes(this);\n }\n assertValidPlaceholder(this, this.imageLoader);\n assertNotMissingBuiltInLoader(this.ngSrc, this.imageLoader);\n assertNoNgSrcsetWithoutLoader(this, this.imageLoader);\n assertNoLoaderParamsWithoutLoader(this, this.imageLoader);\n if (this.lcpObserver !== null) {\n const ngZone = this.injector.get(NgZone);\n ngZone.runOutsideAngular(() => {\n this.lcpObserver.registerImage(this.getRewrittenSrc(), this.ngSrc, this.priority);\n });\n }\n if (this.priority) {\n const checker = this.injector.get(PreconnectLinkChecker);\n checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc);\n }\n }\n if (this.placeholder) {\n this.removePlaceholderOnLoad(this.imgElement);\n }\n this.setHostAttributes();\n }\n setHostAttributes() {\n // Must set width/height explicitly in case they are bound (in which case they will\n // only be reflected and not found by the browser)\n if (this.fill) {\n this.sizes ||= '100vw';\n }\n else {\n this.setHostAttribute('width', this.width.toString());\n this.setHostAttribute('height', this.height.toString());\n }\n this.setHostAttribute('loading', this.getLoadingBehavior());\n this.setHostAttribute('fetchpriority', this.getFetchPriority());\n // The `data-ng-img` attribute flags an image as using the directive, to allow\n // for analysis of the directive's performance.\n this.setHostAttribute('ng-img', 'true');\n // The `src` and `srcset` attributes should be set last since other attributes\n // could affect the image's loading behavior.\n const rewrittenSrcset = this.updateSrcAndSrcset();\n if (this.sizes) {\n this.setHostAttribute('sizes', this.sizes);\n }\n if (this.isServer && this.priority) {\n this.preloadLinkCreator.createPreloadLinkTag(this.renderer, this.getRewrittenSrc(), rewrittenSrcset, this.sizes);\n }\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (ngDevMode) {\n assertNoPostInitInputChange(this, changes, [\n 'ngSrcset',\n 'width',\n 'height',\n 'priority',\n 'fill',\n 'loading',\n 'sizes',\n 'loaderParams',\n 'disableOptimizedSrcset',\n ]);\n }\n if (changes['ngSrc'] && !changes['ngSrc'].isFirstChange()) {\n const oldSrc = this._renderedSrc;\n this.updateSrcAndSrcset(true);\n const newSrc = this._renderedSrc;\n if (this.lcpObserver !== null && oldSrc && newSrc && oldSrc !== newSrc) {\n const ngZone = this.injector.get(NgZone);\n ngZone.runOutsideAngular(() => {\n this.lcpObserver?.updateImage(oldSrc, newSrc);\n });\n }\n }\n }\n callImageLoader(configWithoutCustomParams) {\n let augmentedConfig = configWithoutCustomParams;\n if (this.loaderParams) {\n augmentedConfig.loaderParams = this.loaderParams;\n }\n return this.imageLoader(augmentedConfig);\n }\n getLoadingBehavior() {\n if (!this.priority && this.loading !== undefined) {\n return this.loading;\n }\n return this.priority ? 'eager' : 'lazy';\n }\n getFetchPriority() {\n return this.priority ? 'high' : 'auto';\n }\n getRewrittenSrc() {\n // ImageLoaderConfig supports setting a width property. However, we're not setting width here\n // because if the developer uses rendered width instead of intrinsic width in the HTML width\n // attribute, the image requested may be too small for 2x+ screens.\n if (!this._renderedSrc) {\n const imgConfig = { src: this.ngSrc };\n // Cache calculated image src to reuse it later in the code.\n this._renderedSrc = this.callImageLoader(imgConfig);\n }\n return this._renderedSrc;\n }\n getRewrittenSrcset() {\n const widthSrcSet = VALID_WIDTH_DESCRIPTOR_SRCSET.test(this.ngSrcset);\n const finalSrcs = this.ngSrcset\n .split(',')\n .filter((src) => src !== '')\n .map((srcStr) => {\n srcStr = srcStr.trim();\n const width = widthSrcSet ? parseFloat(srcStr) : parseFloat(srcStr) * this.width;\n return `${this.callImageLoader({ src: this.ngSrc, width })} ${srcStr}`;\n });\n return finalSrcs.join(', ');\n }\n getAutomaticSrcset() {\n if (this.sizes) {\n return this.getResponsiveSrcset();\n }\n else {\n return this.getFixedSrcset();\n }\n }\n getResponsiveSrcset() {\n const { breakpoints } = this.config;\n let filteredBreakpoints = breakpoints;\n if (this.sizes?.trim() === '100vw') {\n // Since this is a full-screen-width image, our srcset only needs to include\n // breakpoints with full viewport widths.\n filteredBreakpoints = breakpoints.filter((bp) => bp >= VIEWPORT_BREAKPOINT_CUTOFF);\n }\n const finalSrcs = filteredBreakpoints.map((bp) => `${this.callImageLoader({ src: this.ngSrc, width: bp })} ${bp}w`);\n return finalSrcs.join(', ');\n }\n updateSrcAndSrcset(forceSrcRecalc = false) {\n if (forceSrcRecalc) {\n // Reset cached value, so that the followup `getRewrittenSrc()` call\n // will recalculate it and update the cache.\n this._renderedSrc = null;\n }\n const rewrittenSrc = this.getRewrittenSrc();\n this.setHostAttribute('src', rewrittenSrc);\n let rewrittenSrcset = undefined;\n if (this.ngSrcset) {\n rewrittenSrcset = this.getRewrittenSrcset();\n }\n else if (this.shouldGenerateAutomaticSrcset()) {\n rewrittenSrcset = this.getAutomaticSrcset();\n }\n if (rewrittenSrcset) {\n this.setHostAttribute('srcset', rewrittenSrcset);\n }\n return rewrittenSrcset;\n }\n getFixedSrcset() {\n const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map((multiplier) => `${this.callImageLoader({\n src: this.ngSrc,\n width: this.width * multiplier,\n })} ${multiplier}x`);\n return finalSrcs.join(', ');\n }\n shouldGenerateAutomaticSrcset() {\n let oversizedImage = false;\n if (!this.sizes) {\n oversizedImage =\n this.width > FIXED_SRCSET_WIDTH_LIMIT || this.height > FIXED_SRCSET_HEIGHT_LIMIT;\n }\n return (!this.disableOptimizedSrcset &&\n !this.srcset &&\n this.imageLoader !== noopImageLoader &&\n !oversizedImage);\n }\n /**\n * Returns an image url formatted for use with the CSS background-image property. Expects one of:\n * * A base64 encoded image, which is wrapped and passed through.\n * * A boolean. If true, calls the image loader to generate a small placeholder url.\n */\n generatePlaceholder(placeholderInput) {\n const { placeholderResolution } = this.config;\n if (placeholderInput === true) {\n return `url(${this.callImageLoader({\n src: this.ngSrc,\n width: placeholderResolution,\n isPlaceholder: true,\n })})`;\n }\n else if (typeof placeholderInput === 'string' && placeholderInput.startsWith('data:')) {\n return `url(${placeholderInput})`;\n }\n return null;\n }\n /**\n * Determines if blur should be applied, based on an optional boolean\n * property `blur` within the optional configuration object `placeholderConfig`.\n */\n shouldBlurPlaceholder(placeholderConfig) {\n if (!placeholderConfig || !placeholderConfig.hasOwnProperty('blur')) {\n return true;\n }\n return Boolean(placeholderConfig.blur);\n }\n removePlaceholderOnLoad(img) {\n const callback = () => {\n const changeDetectorRef = this.injector.get(ChangeDetectorRef);\n removeLoadListenerFn();\n removeErrorListenerFn();\n this.placeholder = false;\n changeDetectorRef.markForCheck();\n };\n const removeLoadListenerFn = this.renderer.listen(img, 'load', callback);\n const removeErrorListenerFn = this.renderer.listen(img, 'error', callback);\n }\n /** @nodoc */\n ngOnDestroy() {\n if (ngDevMode) {\n if (!this.priority && this._renderedSrc !== null && this.lcpObserver !== null) {\n this.lcpObserver.unregisterImage(this._renderedSrc);\n }\n }\n }\n setHostAttribute(name, value) {\n this.renderer.setAttribute(this.imgElement, name, value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"16.1.0\", version: \"17.3.5\", type: NgOptimizedImage, isStandalone: true, selector: \"img[ngSrc]\", inputs: { ngSrc: [\"ngSrc\", \"ngSrc\", unwrapSafeUrl], ngSrcset: \"ngSrcset\", sizes: \"sizes\", width: [\"width\", \"width\", numberAttribute], height: [\"height\", \"height\", numberAttribute], loading: \"loading\", priority: [\"priority\", \"priority\", booleanAttribute], loaderParams: \"loaderParams\", disableOptimizedSrcset: [\"disableOptimizedSrcset\", \"disableOptimizedSrcset\", booleanAttribute], fill: [\"fill\", \"fill\", booleanAttribute], placeholder: [\"placeholder\", \"placeholder\", booleanOrDataUrlAttribute], placeholderConfig: \"placeholderConfig\", src: \"src\", srcset: \"srcset\" }, host: { properties: { \"style.position\": \"fill ? \\\"absolute\\\" : null\", \"style.width\": \"fill ? \\\"100%\\\" : null\", \"style.height\": \"fill ? \\\"100%\\\" : null\", \"style.inset\": \"fill ? \\\"0\\\" : null\", \"style.background-size\": \"placeholder ? \\\"cover\\\" : null\", \"style.background-position\": \"placeholder ? \\\"50% 50%\\\" : null\", \"style.background-repeat\": \"placeholder ? \\\"no-repeat\\\" : null\", \"style.background-image\": \"placeholder ? generatePlaceholder(placeholder) : null\", \"style.filter\": \"placeholder && shouldBlurPlaceholder(placeholderConfig) ? \\\"blur(15px)\\\" : null\" } }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: NgOptimizedImage, decorators: [{\n type: Directive,\n args: [{\n standalone: true,\n selector: 'img[ngSrc]',\n host: {\n '[style.position]': 'fill ? \"absolute\" : null',\n '[style.width]': 'fill ? \"100%\" : null',\n '[style.height]': 'fill ? \"100%\" : null',\n '[style.inset]': 'fill ? \"0\" : null',\n '[style.background-size]': 'placeholder ? \"cover\" : null',\n '[style.background-position]': 'placeholder ? \"50% 50%\" : null',\n '[style.background-repeat]': 'placeholder ? \"no-repeat\" : null',\n '[style.background-image]': 'placeholder ? generatePlaceholder(placeholder) : null',\n '[style.filter]': `placeholder && shouldBlurPlaceholder(placeholderConfig) ? \"blur(${PLACEHOLDER_BLUR_AMOUNT}px)\" : null`,\n },\n }]\n }], propDecorators: { ngSrc: [{\n type: Input,\n args: [{ required: true, transform: unwrapSafeUrl }]\n }], ngSrcset: [{\n type: Input\n }], sizes: [{\n type: Input\n }], width: [{\n type: Input,\n args: [{ transform: numberAttribute }]\n }], height: [{\n type: Input,\n args: [{ transform: numberAttribute }]\n }], loading: [{\n type: Input\n }], priority: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], loaderParams: [{\n type: Input\n }], disableOptimizedSrcset: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], fill: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], placeholder: [{\n type: Input,\n args: [{ transform: booleanOrDataUrlAttribute }]\n }], placeholderConfig: [{\n type: Input\n }], src: [{\n type: Input\n }], srcset: [{\n type: Input\n }] } });\n/***** Helpers *****/\n/**\n * Sorts provided config breakpoints and uses defaults.\n */\nfunction processConfig(config) {\n let sortedBreakpoints = {};\n if (config.breakpoints) {\n sortedBreakpoints.breakpoints = config.breakpoints.sort((a, b) => a - b);\n }\n return Object.assign({}, ɵIMAGE_CONFIG_DEFAULTS, config, sortedBreakpoints);\n}\n/***** Assert functions *****/\n/**\n * Verifies that there is no `src` set on a host element.\n */\nfunction assertNoConflictingSrc(dir) {\n if (dir.src) {\n throw new ɵRuntimeError(2950 /* RuntimeErrorCode.UNEXPECTED_SRC_ATTR */, `${imgDirectiveDetails(dir.ngSrc)} both \\`src\\` and \\`ngSrc\\` have been set. ` +\n `Supplying both of these attributes breaks lazy loading. ` +\n `The NgOptimizedImage directive sets \\`src\\` itself based on the value of \\`ngSrc\\`. ` +\n `To fix this, please remove the \\`src\\` attribute.`);\n }\n}\n/**\n * Verifies that there is no `srcset` set on a host element.\n */\nfunction assertNoConflictingSrcset(dir) {\n if (dir.srcset) {\n throw new ɵRuntimeError(2951 /* RuntimeErrorCode.UNEXPECTED_SRCSET_ATTR */, `${imgDirectiveDetails(dir.ngSrc)} both \\`srcset\\` and \\`ngSrcset\\` have been set. ` +\n `Supplying both of these attributes breaks lazy loading. ` +\n `The NgOptimizedImage directive sets \\`srcset\\` itself based on the value of ` +\n `\\`ngSrcset\\`. To fix this, please remove the \\`srcset\\` attribute.`);\n }\n}\n/**\n * Verifies that the `ngSrc` is not a Base64-encoded image.\n */\nfunction assertNotBase64Image(dir) {\n let ngSrc = dir.ngSrc.trim();\n if (ngSrc.startsWith('data:')) {\n if (ngSrc.length > BASE64_IMG_MAX_LENGTH_IN_ERROR) {\n ngSrc = ngSrc.substring(0, BASE64_IMG_MAX_LENGTH_IN_ERROR) + '...';\n }\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc, false)} \\`ngSrc\\` is a Base64-encoded string ` +\n `(${ngSrc}). NgOptimizedImage does not support Base64-encoded strings. ` +\n `To fix this, disable the NgOptimizedImage directive for this element ` +\n `by removing \\`ngSrc\\` and using a standard \\`src\\` attribute instead.`);\n }\n}\n/**\n * Verifies that the 'sizes' only includes responsive values.\n */\nfunction assertNoComplexSizes(dir) {\n let sizes = dir.sizes;\n if (sizes?.match(/((\\)|,)\\s|^)\\d+px/)) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc, false)} \\`sizes\\` was set to a string including ` +\n `pixel values. For automatic \\`srcset\\` generation, \\`sizes\\` must only include responsive ` +\n `values, such as \\`sizes=\"50vw\"\\` or \\`sizes=\"(min-width: 768px) 50vw, 100vw\"\\`. ` +\n `To fix this, modify the \\`sizes\\` attribute, or provide your own \\`ngSrcset\\` value directly.`);\n }\n}\nfunction assertValidPlaceholder(dir, imageLoader) {\n assertNoPlaceholderConfigWithoutPlaceholder(dir);\n assertNoRelativePlaceholderWithoutLoader(dir, imageLoader);\n assertNoOversizedDataUrl(dir);\n}\n/**\n * Verifies that placeholderConfig isn't being used without placeholder\n */\nfunction assertNoPlaceholderConfigWithoutPlaceholder(dir) {\n if (dir.placeholderConfig && !dir.placeholder) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc, false)} \\`placeholderConfig\\` options were provided for an ` +\n `image that does not use the \\`placeholder\\` attribute, and will have no effect.`);\n }\n}\n/**\n * Warns if a relative URL placeholder is specified, but no loader is present to provide the small\n * image.\n */\nfunction assertNoRelativePlaceholderWithoutLoader(dir, imageLoader) {\n if (dir.placeholder === true && imageLoader === noopImageLoader) {\n throw new ɵRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`placeholder\\` attribute is set to true but ` +\n `no image loader is configured (i.e. the default one is being used), ` +\n `which would result in the same image being used for the primary image and its placeholder. ` +\n `To fix this, provide a loader or remove the \\`placeholder\\` attribute from the image.`);\n }\n}\n/**\n * Warns or throws an error if an oversized dataURL placeholder is provided.\n */\nfunction assertNoOversizedDataUrl(dir) {\n if (dir.placeholder &&\n typeof dir.placeholder === 'string' &&\n dir.placeholder.startsWith('data:')) {\n if (dir.placeholder.length > DATA_URL_ERROR_LIMIT) {\n throw new ɵRuntimeError(2965 /* RuntimeErrorCode.OVERSIZED_PLACEHOLDER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`placeholder\\` attribute is set to a data URL which is longer ` +\n `than ${DATA_URL_ERROR_LIMIT} characters. This is strongly discouraged, as large inline placeholders ` +\n `directly increase the bundle size of Angular and hurt page load performance. To fix this, generate ` +\n `a smaller data URL placeholder.`);\n }\n if (dir.placeholder.length > DATA_URL_WARN_LIMIT) {\n console.warn(ɵformatRuntimeError(2965 /* RuntimeErrorCode.OVERSIZED_PLACEHOLDER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`placeholder\\` attribute is set to a data URL which is longer ` +\n `than ${DATA_URL_WARN_LIMIT} characters. This is discouraged, as large inline placeholders ` +\n `directly increase the bundle size of Angular and hurt page load performance. For better loading performance, ` +\n `generate a smaller data URL placeholder.`));\n }\n }\n}\n/**\n * Verifies that the `ngSrc` is not a Blob URL.\n */\nfunction assertNotBlobUrl(dir) {\n const ngSrc = dir.ngSrc.trim();\n if (ngSrc.startsWith('blob:')) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`ngSrc\\` was set to a blob URL (${ngSrc}). ` +\n `Blob URLs are not supported by the NgOptimizedImage directive. ` +\n `To fix this, disable the NgOptimizedImage directive for this element ` +\n `by removing \\`ngSrc\\` and using a regular \\`src\\` attribute instead.`);\n }\n}\n/**\n * Verifies that the input is set to a non-empty string.\n */\nfunction assertNonEmptyInput(dir, name, value) {\n const isString = typeof value === 'string';\n const isEmptyString = isString && value.trim() === '';\n if (!isString || isEmptyString) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`${name}\\` has an invalid value ` +\n `(\\`${value}\\`). To fix this, change the value to a non-empty string.`);\n }\n}\n/**\n * Verifies that the `ngSrcset` is in a valid format, e.g. \"100w, 200w\" or \"1x, 2x\".\n */\nfunction assertValidNgSrcset(dir, value) {\n if (value == null)\n return;\n assertNonEmptyInput(dir, 'ngSrcset', value);\n const stringVal = value;\n const isValidWidthDescriptor = VALID_WIDTH_DESCRIPTOR_SRCSET.test(stringVal);\n const isValidDensityDescriptor = VALID_DENSITY_DESCRIPTOR_SRCSET.test(stringVal);\n if (isValidDensityDescriptor) {\n assertUnderDensityCap(dir, stringVal);\n }\n const isValidSrcset = isValidWidthDescriptor || isValidDensityDescriptor;\n if (!isValidSrcset) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`ngSrcset\\` has an invalid value (\\`${value}\\`). ` +\n `To fix this, supply \\`ngSrcset\\` using a comma-separated list of one or more width ` +\n `descriptors (e.g. \"100w, 200w\") or density descriptors (e.g. \"1x, 2x\").`);\n }\n}\nfunction assertUnderDensityCap(dir, value) {\n const underDensityCap = value\n .split(',')\n .every((num) => num === '' || parseFloat(num) <= ABSOLUTE_SRCSET_DENSITY_CAP);\n if (!underDensityCap) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`ngSrcset\\` contains an unsupported image density:` +\n `\\`${value}\\`. NgOptimizedImage generally recommends a max image density of ` +\n `${RECOMMENDED_SRCSET_DENSITY_CAP}x but supports image densities up to ` +\n `${ABSOLUTE_SRCSET_DENSITY_CAP}x. The human eye cannot distinguish between image densities ` +\n `greater than ${RECOMMENDED_SRCSET_DENSITY_CAP}x - which makes them unnecessary for ` +\n `most use cases. Images that will be pinch-zoomed are typically the primary use case for ` +\n `${ABSOLUTE_SRCSET_DENSITY_CAP}x images. Please remove the high density descriptor and try again.`);\n }\n}\n/**\n * Creates a `RuntimeError` instance to represent a situation when an input is set after\n * the directive has initialized.\n */\nfunction postInitInputChangeError(dir, inputName) {\n let reason;\n if (inputName === 'width' || inputName === 'height') {\n reason =\n `Changing \\`${inputName}\\` may result in different attribute value ` +\n `applied to the underlying image element and cause layout shifts on a page.`;\n }\n else {\n reason =\n `Changing the \\`${inputName}\\` would have no effect on the underlying ` +\n `image element, because the resource loading has already occurred.`;\n }\n return new ɵRuntimeError(2953 /* RuntimeErrorCode.UNEXPECTED_INPUT_CHANGE */, `${imgDirectiveDetails(dir.ngSrc)} \\`${inputName}\\` was updated after initialization. ` +\n `The NgOptimizedImage directive will not react to this input change. ${reason} ` +\n `To fix this, either switch \\`${inputName}\\` to a static value ` +\n `or wrap the image element in an *ngIf that is gated on the necessary value.`);\n}\n/**\n * Verify that none of the listed inputs has changed.\n */\nfunction assertNoPostInitInputChange(dir, changes, inputs) {\n inputs.forEach((input) => {\n const isUpdated = changes.hasOwnProperty(input);\n if (isUpdated && !changes[input].isFirstChange()) {\n if (input === 'ngSrc') {\n // When the `ngSrc` input changes, we detect that only in the\n // `ngOnChanges` hook, thus the `ngSrc` is already set. We use\n // `ngSrc` in the error message, so we use a previous value, but\n // not the updated one in it.\n dir = { ngSrc: changes[input].previousValue };\n }\n throw postInitInputChangeError(dir, input);\n }\n });\n}\n/**\n * Verifies that a specified input is a number greater than 0.\n */\nfunction assertGreaterThanZero(dir, inputValue, inputName) {\n const validNumber = typeof inputValue === 'number' && inputValue > 0;\n const validString = typeof inputValue === 'string' && /^\\d+$/.test(inputValue.trim()) && parseInt(inputValue) > 0;\n if (!validNumber && !validString) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`${inputName}\\` has an invalid value. ` +\n `To fix this, provide \\`${inputName}\\` as a number greater than 0.`);\n }\n}\n/**\n * Verifies that the rendered image is not visually distorted. Effectively this is checking:\n * - Whether the \"width\" and \"height\" attributes reflect the actual dimensions of the image.\n * - Whether image styling is \"correct\" (see below for a longer explanation).\n */\nfunction assertNoImageDistortion(dir, img, renderer) {\n const removeLoadListenerFn = renderer.listen(img, 'load', () => {\n removeLoadListenerFn();\n removeErrorListenerFn();\n const computedStyle = window.getComputedStyle(img);\n let renderedWidth = parseFloat(computedStyle.getPropertyValue('width'));\n let renderedHeight = parseFloat(computedStyle.getPropertyValue('height'));\n const boxSizing = computedStyle.getPropertyValue('box-sizing');\n if (boxSizing === 'border-box') {\n const paddingTop = computedStyle.getPropertyValue('padding-top');\n const paddingRight = computedStyle.getPropertyValue('padding-right');\n const paddingBottom = computedStyle.getPropertyValue('padding-bottom');\n const paddingLeft = computedStyle.getPropertyValue('padding-left');\n renderedWidth -= parseFloat(paddingRight) + parseFloat(paddingLeft);\n renderedHeight -= parseFloat(paddingTop) + parseFloat(paddingBottom);\n }\n const renderedAspectRatio = renderedWidth / renderedHeight;\n const nonZeroRenderedDimensions = renderedWidth !== 0 && renderedHeight !== 0;\n const intrinsicWidth = img.naturalWidth;\n const intrinsicHeight = img.naturalHeight;\n const intrinsicAspectRatio = intrinsicWidth / intrinsicHeight;\n const suppliedWidth = dir.width;\n const suppliedHeight = dir.height;\n const suppliedAspectRatio = suppliedWidth / suppliedHeight;\n // Tolerance is used to account for the impact of subpixel rendering.\n // Due to subpixel rendering, the rendered, intrinsic, and supplied\n // aspect ratios of a correctly configured image may not exactly match.\n // For example, a `width=4030 height=3020` image might have a rendered\n // size of \"1062w, 796.48h\". (An aspect ratio of 1.334... vs. 1.333...)\n const inaccurateDimensions = Math.abs(suppliedAspectRatio - intrinsicAspectRatio) > ASPECT_RATIO_TOLERANCE;\n const stylingDistortion = nonZeroRenderedDimensions &&\n Math.abs(intrinsicAspectRatio - renderedAspectRatio) > ASPECT_RATIO_TOLERANCE;\n if (inaccurateDimensions) {\n console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the image does not match ` +\n `the aspect ratio indicated by the width and height attributes. ` +\n `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +\n `(aspect-ratio: ${round(intrinsicAspectRatio)}). \\nSupplied width and height attributes: ` +\n `${suppliedWidth}w x ${suppliedHeight}h (aspect-ratio: ${round(suppliedAspectRatio)}). ` +\n `\\nTo fix this, update the width and height attributes.`));\n }\n else if (stylingDistortion) {\n console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the rendered image ` +\n `does not match the image's intrinsic aspect ratio. ` +\n `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +\n `(aspect-ratio: ${round(intrinsicAspectRatio)}). \\nRendered image size: ` +\n `${renderedWidth}w x ${renderedHeight}h (aspect-ratio: ` +\n `${round(renderedAspectRatio)}). \\nThis issue can occur if \"width\" and \"height\" ` +\n `attributes are added to an image without updating the corresponding ` +\n `image styling. To fix this, adjust image styling. In most cases, ` +\n `adding \"height: auto\" or \"width: auto\" to the image styling will fix ` +\n `this issue.`));\n }\n else if (!dir.ngSrcset && nonZeroRenderedDimensions) {\n // If `ngSrcset` hasn't been set, sanity check the intrinsic size.\n const recommendedWidth = RECOMMENDED_SRCSET_DENSITY_CAP * renderedWidth;\n const recommendedHeight = RECOMMENDED_SRCSET_DENSITY_CAP * renderedHeight;\n const oversizedWidth = intrinsicWidth - recommendedWidth >= OVERSIZED_IMAGE_TOLERANCE;\n const oversizedHeight = intrinsicHeight - recommendedHeight >= OVERSIZED_IMAGE_TOLERANCE;\n if (oversizedWidth || oversizedHeight) {\n console.warn(ɵformatRuntimeError(2960 /* RuntimeErrorCode.OVERSIZED_IMAGE */, `${imgDirectiveDetails(dir.ngSrc)} the intrinsic image is significantly ` +\n `larger than necessary. ` +\n `\\nRendered image size: ${renderedWidth}w x ${renderedHeight}h. ` +\n `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h. ` +\n `\\nRecommended intrinsic image size: ${recommendedWidth}w x ${recommendedHeight}h. ` +\n `\\nNote: Recommended intrinsic image size is calculated assuming a maximum DPR of ` +\n `${RECOMMENDED_SRCSET_DENSITY_CAP}. To improve loading time, resize the image ` +\n `or consider using the \"ngSrcset\" and \"sizes\" attributes.`));\n }\n }\n });\n // We only listen to the `error` event to remove the `load` event listener because it will not be\n // fired if the image fails to load. This is done to prevent memory leaks in development mode\n // because image elements aren't garbage-collected properly. It happens because zone.js stores the\n // event listener directly on the element and closures capture `dir`.\n const removeErrorListenerFn = renderer.listen(img, 'error', () => {\n removeLoadListenerFn();\n removeErrorListenerFn();\n });\n}\n/**\n * Verifies that a specified input is set.\n */\nfunction assertNonEmptyWidthAndHeight(dir) {\n let missingAttributes = [];\n if (dir.width === undefined)\n missingAttributes.push('width');\n if (dir.height === undefined)\n missingAttributes.push('height');\n if (missingAttributes.length > 0) {\n throw new ɵRuntimeError(2954 /* RuntimeErrorCode.REQUIRED_INPUT_MISSING */, `${imgDirectiveDetails(dir.ngSrc)} these required attributes ` +\n `are missing: ${missingAttributes.map((attr) => `\"${attr}\"`).join(', ')}. ` +\n `Including \"width\" and \"height\" attributes will prevent image-related layout shifts. ` +\n `To fix this, include \"width\" and \"height\" attributes on the image tag or turn on ` +\n `\"fill\" mode with the \\`fill\\` attribute.`);\n }\n}\n/**\n * Verifies that width and height are not set. Used in fill mode, where those attributes don't make\n * sense.\n */\nfunction assertEmptyWidthAndHeight(dir) {\n if (dir.width || dir.height) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the attributes \\`height\\` and/or \\`width\\` are present ` +\n `along with the \\`fill\\` attribute. Because \\`fill\\` mode causes an image to fill its containing ` +\n `element, the size attributes have no effect and should be removed.`);\n }\n}\n/**\n * Verifies that the rendered image has a nonzero height. If the image is in fill mode, provides\n * guidance that this can be caused by the containing element's CSS position property.\n */\nfunction assertNonZeroRenderedHeight(dir, img, renderer) {\n const removeLoadListenerFn = renderer.listen(img, 'load', () => {\n removeLoadListenerFn();\n removeErrorListenerFn();\n const renderedHeight = img.clientHeight;\n if (dir.fill && renderedHeight === 0) {\n console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the height of the fill-mode image is zero. ` +\n `This is likely because the containing element does not have the CSS 'position' ` +\n `property set to one of the following: \"relative\", \"fixed\", or \"absolute\". ` +\n `To fix this problem, make sure the container element has the CSS 'position' ` +\n `property defined and the height of the element is not zero.`));\n }\n });\n // See comments in the `assertNoImageDistortion`.\n const removeErrorListenerFn = renderer.listen(img, 'error', () => {\n removeLoadListenerFn();\n removeErrorListenerFn();\n });\n}\n/**\n * Verifies that the `loading` attribute is set to a valid input &\n * is not used on priority images.\n */\nfunction assertValidLoadingInput(dir) {\n if (dir.loading && dir.priority) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loading\\` attribute ` +\n `was used on an image that was marked \"priority\". ` +\n `Setting \\`loading\\` on priority images is not allowed ` +\n `because these images will always be eagerly loaded. ` +\n `To fix this, remove the “loading” attribute from the priority image.`);\n }\n const validInputs = ['auto', 'eager', 'lazy'];\n if (typeof dir.loading === 'string' && !validInputs.includes(dir.loading)) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loading\\` attribute ` +\n `has an invalid value (\\`${dir.loading}\\`). ` +\n `To fix this, provide a valid value (\"lazy\", \"eager\", or \"auto\").`);\n }\n}\n/**\n * Warns if NOT using a loader (falling back to the generic loader) and\n * the image appears to be hosted on one of the image CDNs for which\n * we do have a built-in image loader. Suggests switching to the\n * built-in loader.\n *\n * @param ngSrc Value of the ngSrc attribute\n * @param imageLoader ImageLoader provided\n */\nfunction assertNotMissingBuiltInLoader(ngSrc, imageLoader) {\n if (imageLoader === noopImageLoader) {\n let builtInLoaderName = '';\n for (const loader of BUILT_IN_LOADERS) {\n if (loader.testUrl(ngSrc)) {\n builtInLoaderName = loader.name;\n break;\n }\n }\n if (builtInLoaderName) {\n console.warn(ɵformatRuntimeError(2962 /* RuntimeErrorCode.MISSING_BUILTIN_LOADER */, `NgOptimizedImage: It looks like your images may be hosted on the ` +\n `${builtInLoaderName} CDN, but your app is not using Angular's ` +\n `built-in loader for that CDN. We recommend switching to use ` +\n `the built-in by calling \\`provide${builtInLoaderName}Loader()\\` ` +\n `in your \\`providers\\` and passing it your instance's base URL. ` +\n `If you don't want to use the built-in loader, define a custom ` +\n `loader function using IMAGE_LOADER to silence this warning.`));\n }\n }\n}\n/**\n * Warns if ngSrcset is present and no loader is configured (i.e. the default one is being used).\n */\nfunction assertNoNgSrcsetWithoutLoader(dir, imageLoader) {\n if (dir.ngSrcset && imageLoader === noopImageLoader) {\n console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`ngSrcset\\` attribute is present but ` +\n `no image loader is configured (i.e. the default one is being used), ` +\n `which would result in the same image being used for all configured sizes. ` +\n `To fix this, provide a loader or remove the \\`ngSrcset\\` attribute from the image.`));\n }\n}\n/**\n * Warns if loaderParams is present and no loader is configured (i.e. the default one is being\n * used).\n */\nfunction assertNoLoaderParamsWithoutLoader(dir, imageLoader) {\n if (dir.loaderParams && imageLoader === noopImageLoader) {\n console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loaderParams\\` attribute is present but ` +\n `no image loader is configured (i.e. the default one is being used), ` +\n `which means that the loaderParams data will not be consumed and will not affect the URL. ` +\n `To fix this, provide a custom loader or remove the \\`loaderParams\\` attribute from the image.`));\n }\n}\nfunction round(input) {\n return Number.isInteger(input) ? input : input.toFixed(2);\n}\n// Transform function to handle SafeValue input for ngSrc. This doesn't do any sanitization,\n// as that is not needed for img.src and img.srcset. This transform is purely for compatibility.\nfunction unwrapSafeUrl(value) {\n if (typeof value === 'string') {\n return value;\n }\n return ɵunwrapSafeValue(value);\n}\n// Transform function to handle inputs which may be booleans, strings, or string representations\n// of boolean values. Used for the placeholder attribute.\nfunction booleanOrDataUrlAttribute(value) {\n if (typeof value === 'string' && value.startsWith(`data:`)) {\n return value;\n }\n return booleanAttribute(value);\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { APP_BASE_HREF, AsyncPipe, BrowserPlatformLocation, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, IMAGE_LOADER, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgOptimizedImage, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PRECONNECT_CHECK_BLOCKLIST, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, XhrFactory, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, provideNetlifyLoader, registerLocaleData, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID, PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID, PlatformNavigation as ɵPlatformNavigation, getDOM as ɵgetDOM, normalizeQueryParams as ɵnormalizeQueryParams, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };\n","/**\n * @license Angular v17.3.5\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable, inject, NgZone, runInInjectionContext, InjectionToken, ɵPendingTasks, PLATFORM_ID, ɵConsole, ɵformatRuntimeError, Inject, ɵRuntimeError, makeEnvironmentProviders, NgModule, TransferState, makeStateKey, ɵperformanceMarkFeature, APP_BOOTSTRAP_LISTENER, ApplicationRef, ɵwhenStable, ɵtruncateMiddle } from '@angular/core';\nimport { of, Observable, from } from 'rxjs';\nimport { concatMap, filter, map, finalize, switchMap, tap } from 'rxjs/operators';\nimport * as i1 from '@angular/common';\nimport { isPlatformServer, DOCUMENT, ɵparseCookieValue } from '@angular/common';\n\n/**\n * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a\n * `HttpResponse`.\n *\n * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the\n * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the\n * `HttpBackend`.\n *\n * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain.\n *\n * @publicApi\n */\nclass HttpHandler {\n}\n/**\n * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend.\n *\n * Interceptors sit between the `HttpClient` interface and the `HttpBackend`.\n *\n * When injected, `HttpBackend` dispatches requests directly to the backend, without going\n * through the interceptor chain.\n *\n * @publicApi\n */\nclass HttpBackend {\n}\n\n/**\n * Represents the header configuration options for an HTTP request.\n * Instances are immutable. Modifying methods return a cloned\n * instance with the change. The original object is never changed.\n *\n * @publicApi\n */\nclass HttpHeaders {\n /** Constructs a new HTTP header object with the given values.*/\n constructor(headers) {\n /**\n * Internal map of lowercased header names to the normalized\n * form of the name (the form seen first).\n */\n this.normalizedNames = new Map();\n /**\n * Queued updates to be materialized the next initialization.\n */\n this.lazyUpdate = null;\n if (!headers) {\n this.headers = new Map();\n }\n else if (typeof headers === 'string') {\n this.lazyInit = () => {\n this.headers = new Map();\n headers.split('\\n').forEach((line) => {\n const index = line.indexOf(':');\n if (index > 0) {\n const name = line.slice(0, index);\n const key = name.toLowerCase();\n const value = line.slice(index + 1).trim();\n this.maybeSetNormalizedName(name, key);\n if (this.headers.has(key)) {\n this.headers.get(key).push(value);\n }\n else {\n this.headers.set(key, [value]);\n }\n }\n });\n };\n }\n else if (typeof Headers !== 'undefined' && headers instanceof Headers) {\n this.headers = new Map();\n headers.forEach((values, name) => {\n this.setHeaderEntries(name, values);\n });\n }\n else {\n this.lazyInit = () => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n assertValidHeaders(headers);\n }\n this.headers = new Map();\n Object.entries(headers).forEach(([name, values]) => {\n this.setHeaderEntries(name, values);\n });\n };\n }\n }\n /**\n * Checks for existence of a given header.\n *\n * @param name The header name to check for existence.\n *\n * @returns True if the header exists, false otherwise.\n */\n has(name) {\n this.init();\n return this.headers.has(name.toLowerCase());\n }\n /**\n * Retrieves the first value of a given header.\n *\n * @param name The header name.\n *\n * @returns The value string if the header exists, null otherwise\n */\n get(name) {\n this.init();\n const values = this.headers.get(name.toLowerCase());\n return values && values.length > 0 ? values[0] : null;\n }\n /**\n * Retrieves the names of the headers.\n *\n * @returns A list of header names.\n */\n keys() {\n this.init();\n return Array.from(this.normalizedNames.values());\n }\n /**\n * Retrieves a list of values for a given header.\n *\n * @param name The header name from which to retrieve values.\n *\n * @returns A string of values if the header exists, null otherwise.\n */\n getAll(name) {\n this.init();\n return this.headers.get(name.toLowerCase()) || null;\n }\n /**\n * Appends a new value to the existing set of values for a header\n * and returns them in a clone of the original instance.\n *\n * @param name The header name for which to append the values.\n * @param value The value to append.\n *\n * @returns A clone of the HTTP headers object with the value appended to the given header.\n */\n append(name, value) {\n return this.clone({ name, value, op: 'a' });\n }\n /**\n * Sets or modifies a value for a given header in a clone of the original instance.\n * If the header already exists, its value is replaced with the given value\n * in the returned object.\n *\n * @param name The header name.\n * @param value The value or values to set or override for the given header.\n *\n * @returns A clone of the HTTP headers object with the newly set header value.\n */\n set(name, value) {\n return this.clone({ name, value, op: 's' });\n }\n /**\n * Deletes values for a given header in a clone of the original instance.\n *\n * @param name The header name.\n * @param value The value or values to delete for the given header.\n *\n * @returns A clone of the HTTP headers object with the given value deleted.\n */\n delete(name, value) {\n return this.clone({ name, value, op: 'd' });\n }\n maybeSetNormalizedName(name, lcName) {\n if (!this.normalizedNames.has(lcName)) {\n this.normalizedNames.set(lcName, name);\n }\n }\n init() {\n if (!!this.lazyInit) {\n if (this.lazyInit instanceof HttpHeaders) {\n this.copyFrom(this.lazyInit);\n }\n else {\n this.lazyInit();\n }\n this.lazyInit = null;\n if (!!this.lazyUpdate) {\n this.lazyUpdate.forEach((update) => this.applyUpdate(update));\n this.lazyUpdate = null;\n }\n }\n }\n copyFrom(other) {\n other.init();\n Array.from(other.headers.keys()).forEach((key) => {\n this.headers.set(key, other.headers.get(key));\n this.normalizedNames.set(key, other.normalizedNames.get(key));\n });\n }\n clone(update) {\n const clone = new HttpHeaders();\n clone.lazyInit = !!this.lazyInit && this.lazyInit instanceof HttpHeaders ? this.lazyInit : this;\n clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);\n return clone;\n }\n applyUpdate(update) {\n const key = update.name.toLowerCase();\n switch (update.op) {\n case 'a':\n case 's':\n let value = update.value;\n if (typeof value === 'string') {\n value = [value];\n }\n if (value.length === 0) {\n return;\n }\n this.maybeSetNormalizedName(update.name, key);\n const base = (update.op === 'a' ? this.headers.get(key) : undefined) || [];\n base.push(...value);\n this.headers.set(key, base);\n break;\n case 'd':\n const toDelete = update.value;\n if (!toDelete) {\n this.headers.delete(key);\n this.normalizedNames.delete(key);\n }\n else {\n let existing = this.headers.get(key);\n if (!existing) {\n return;\n }\n existing = existing.filter((value) => toDelete.indexOf(value) === -1);\n if (existing.length === 0) {\n this.headers.delete(key);\n this.normalizedNames.delete(key);\n }\n else {\n this.headers.set(key, existing);\n }\n }\n break;\n }\n }\n setHeaderEntries(name, values) {\n const headerValues = (Array.isArray(values) ? values : [values]).map((value) => value.toString());\n const key = name.toLowerCase();\n this.headers.set(key, headerValues);\n this.maybeSetNormalizedName(name, key);\n }\n /**\n * @internal\n */\n forEach(fn) {\n this.init();\n Array.from(this.normalizedNames.keys()).forEach((key) => fn(this.normalizedNames.get(key), this.headers.get(key)));\n }\n}\n/**\n * Verifies that the headers object has the right shape: the values\n * must be either strings, numbers or arrays. Throws an error if an invalid\n * header value is present.\n */\nfunction assertValidHeaders(headers) {\n for (const [key, value] of Object.entries(headers)) {\n if (!(typeof value === 'string' || typeof value === 'number') && !Array.isArray(value)) {\n throw new Error(`Unexpected value of the \\`${key}\\` header provided. ` +\n `Expecting either a string, a number or an array, but got: \\`${value}\\`.`);\n }\n }\n}\n\n/**\n * Provides encoding and decoding of URL parameter and query-string values.\n *\n * Serializes and parses URL parameter keys and values to encode and decode them.\n * If you pass URL query parameters without encoding,\n * the query parameters can be misinterpreted at the receiving end.\n *\n *\n * @publicApi\n */\nclass HttpUrlEncodingCodec {\n /**\n * Encodes a key name for a URL parameter or query-string.\n * @param key The key name.\n * @returns The encoded key name.\n */\n encodeKey(key) {\n return standardEncoding(key);\n }\n /**\n * Encodes the value of a URL parameter or query-string.\n * @param value The value.\n * @returns The encoded value.\n */\n encodeValue(value) {\n return standardEncoding(value);\n }\n /**\n * Decodes an encoded URL parameter or query-string key.\n * @param key The encoded key name.\n * @returns The decoded key name.\n */\n decodeKey(key) {\n return decodeURIComponent(key);\n }\n /**\n * Decodes an encoded URL parameter or query-string value.\n * @param value The encoded value.\n * @returns The decoded value.\n */\n decodeValue(value) {\n return decodeURIComponent(value);\n }\n}\nfunction paramParser(rawParams, codec) {\n const map = new Map();\n if (rawParams.length > 0) {\n // The `window.location.search` can be used while creating an instance of the `HttpParams` class\n // (e.g. `new HttpParams({ fromString: window.location.search })`). The `window.location.search`\n // may start with the `?` char, so we strip it if it's present.\n const params = rawParams.replace(/^\\?/, '').split('&');\n params.forEach((param) => {\n const eqIdx = param.indexOf('=');\n const [key, val] = eqIdx == -1\n ? [codec.decodeKey(param), '']\n : [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))];\n const list = map.get(key) || [];\n list.push(val);\n map.set(key, list);\n });\n }\n return map;\n}\n/**\n * Encode input string with standard encodeURIComponent and then un-encode specific characters.\n */\nconst STANDARD_ENCODING_REGEX = /%(\\d[a-f0-9])/gi;\nconst STANDARD_ENCODING_REPLACEMENTS = {\n '40': '@',\n '3A': ':',\n '24': '$',\n '2C': ',',\n '3B': ';',\n '3D': '=',\n '3F': '?',\n '2F': '/',\n};\nfunction standardEncoding(v) {\n return encodeURIComponent(v).replace(STANDARD_ENCODING_REGEX, (s, t) => STANDARD_ENCODING_REPLACEMENTS[t] ?? s);\n}\nfunction valueToString(value) {\n return `${value}`;\n}\n/**\n * An HTTP request/response body that represents serialized parameters,\n * per the MIME type `application/x-www-form-urlencoded`.\n *\n * This class is immutable; all mutation operations return a new instance.\n *\n * @publicApi\n */\nclass HttpParams {\n constructor(options = {}) {\n this.updates = null;\n this.cloneFrom = null;\n this.encoder = options.encoder || new HttpUrlEncodingCodec();\n if (!!options.fromString) {\n if (!!options.fromObject) {\n throw new Error(`Cannot specify both fromString and fromObject.`);\n }\n this.map = paramParser(options.fromString, this.encoder);\n }\n else if (!!options.fromObject) {\n this.map = new Map();\n Object.keys(options.fromObject).forEach((key) => {\n const value = options.fromObject[key];\n // convert the values to strings\n const values = Array.isArray(value) ? value.map(valueToString) : [valueToString(value)];\n this.map.set(key, values);\n });\n }\n else {\n this.map = null;\n }\n }\n /**\n * Reports whether the body includes one or more values for a given parameter.\n * @param param The parameter name.\n * @returns True if the parameter has one or more values,\n * false if it has no value or is not present.\n */\n has(param) {\n this.init();\n return this.map.has(param);\n }\n /**\n * Retrieves the first value for a parameter.\n * @param param The parameter name.\n * @returns The first value of the given parameter,\n * or `null` if the parameter is not present.\n */\n get(param) {\n this.init();\n const res = this.map.get(param);\n return !!res ? res[0] : null;\n }\n /**\n * Retrieves all values for a parameter.\n * @param param The parameter name.\n * @returns All values in a string array,\n * or `null` if the parameter not present.\n */\n getAll(param) {\n this.init();\n return this.map.get(param) || null;\n }\n /**\n * Retrieves all the parameters for this body.\n * @returns The parameter names in a string array.\n */\n keys() {\n this.init();\n return Array.from(this.map.keys());\n }\n /**\n * Appends a new value to existing values for a parameter.\n * @param param The parameter name.\n * @param value The new value to add.\n * @return A new body with the appended value.\n */\n append(param, value) {\n return this.clone({ param, value, op: 'a' });\n }\n /**\n * Constructs a new body with appended values for the given parameter name.\n * @param params parameters and values\n * @return A new body with the new value.\n */\n appendAll(params) {\n const updates = [];\n Object.keys(params).forEach((param) => {\n const value = params[param];\n if (Array.isArray(value)) {\n value.forEach((_value) => {\n updates.push({ param, value: _value, op: 'a' });\n });\n }\n else {\n updates.push({ param, value: value, op: 'a' });\n }\n });\n return this.clone(updates);\n }\n /**\n * Replaces the value for a parameter.\n * @param param The parameter name.\n * @param value The new value.\n * @return A new body with the new value.\n */\n set(param, value) {\n return this.clone({ param, value, op: 's' });\n }\n /**\n * Removes a given value or all values from a parameter.\n * @param param The parameter name.\n * @param value The value to remove, if provided.\n * @return A new body with the given value removed, or with all values\n * removed if no value is specified.\n */\n delete(param, value) {\n return this.clone({ param, value, op: 'd' });\n }\n /**\n * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are\n * separated by `&`s.\n */\n toString() {\n this.init();\n return (this.keys()\n .map((key) => {\n const eKey = this.encoder.encodeKey(key);\n // `a: ['1']` produces `'a=1'`\n // `b: []` produces `''`\n // `c: ['1', '2']` produces `'c=1&c=2'`\n return this.map.get(key)\n .map((value) => eKey + '=' + this.encoder.encodeValue(value))\n .join('&');\n })\n // filter out empty values because `b: []` produces `''`\n // which results in `a=1&&c=1&c=2` instead of `a=1&c=1&c=2` if we don't\n .filter((param) => param !== '')\n .join('&'));\n }\n clone(update) {\n const clone = new HttpParams({ encoder: this.encoder });\n clone.cloneFrom = this.cloneFrom || this;\n clone.updates = (this.updates || []).concat(update);\n return clone;\n }\n init() {\n if (this.map === null) {\n this.map = new Map();\n }\n if (this.cloneFrom !== null) {\n this.cloneFrom.init();\n this.cloneFrom.keys().forEach((key) => this.map.set(key, this.cloneFrom.map.get(key)));\n this.updates.forEach((update) => {\n switch (update.op) {\n case 'a':\n case 's':\n const base = (update.op === 'a' ? this.map.get(update.param) : undefined) || [];\n base.push(valueToString(update.value));\n this.map.set(update.param, base);\n break;\n case 'd':\n if (update.value !== undefined) {\n let base = this.map.get(update.param) || [];\n const idx = base.indexOf(valueToString(update.value));\n if (idx !== -1) {\n base.splice(idx, 1);\n }\n if (base.length > 0) {\n this.map.set(update.param, base);\n }\n else {\n this.map.delete(update.param);\n }\n }\n else {\n this.map.delete(update.param);\n break;\n }\n }\n });\n this.cloneFrom = this.updates = null;\n }\n }\n}\n\n/**\n * A token used to manipulate and access values stored in `HttpContext`.\n *\n * @publicApi\n */\nclass HttpContextToken {\n constructor(defaultValue) {\n this.defaultValue = defaultValue;\n }\n}\n/**\n * Http context stores arbitrary user defined values and ensures type safety without\n * actually knowing the types. It is backed by a `Map` and guarantees that keys do not clash.\n *\n * This context is mutable and is shared between cloned requests unless explicitly specified.\n *\n * @usageNotes\n *\n * ### Usage Example\n *\n * ```typescript\n * // inside cache.interceptors.ts\n * export const IS_CACHE_ENABLED = new HttpContextToken(() => false);\n *\n * export class CacheInterceptor implements HttpInterceptor {\n *\n * intercept(req: HttpRequest, delegate: HttpHandler): Observable> {\n * if (req.context.get(IS_CACHE_ENABLED) === true) {\n * return ...;\n * }\n * return delegate.handle(req);\n * }\n * }\n *\n * // inside a service\n *\n * this.httpClient.get('/api/weather', {\n * context: new HttpContext().set(IS_CACHE_ENABLED, true)\n * }).subscribe(...);\n * ```\n *\n * @publicApi\n */\nclass HttpContext {\n constructor() {\n this.map = new Map();\n }\n /**\n * Store a value in the context. If a value is already present it will be overwritten.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n * @param value The value to store.\n *\n * @returns A reference to itself for easy chaining.\n */\n set(token, value) {\n this.map.set(token, value);\n return this;\n }\n /**\n * Retrieve the value associated with the given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns The stored value or default if one is defined.\n */\n get(token) {\n if (!this.map.has(token)) {\n this.map.set(token, token.defaultValue());\n }\n return this.map.get(token);\n }\n /**\n * Delete the value associated with the given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns A reference to itself for easy chaining.\n */\n delete(token) {\n this.map.delete(token);\n return this;\n }\n /**\n * Checks for existence of a given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns True if the token exists, false otherwise.\n */\n has(token) {\n return this.map.has(token);\n }\n /**\n * @returns a list of tokens currently stored in the context.\n */\n keys() {\n return this.map.keys();\n }\n}\n\n/**\n * Determine whether the given HTTP method may include a body.\n */\nfunction mightHaveBody(method) {\n switch (method) {\n case 'DELETE':\n case 'GET':\n case 'HEAD':\n case 'OPTIONS':\n case 'JSONP':\n return false;\n default:\n return true;\n }\n}\n/**\n * Safely assert whether the given value is an ArrayBuffer.\n *\n * In some execution environments ArrayBuffer is not defined.\n */\nfunction isArrayBuffer(value) {\n return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer;\n}\n/**\n * Safely assert whether the given value is a Blob.\n *\n * In some execution environments Blob is not defined.\n */\nfunction isBlob(value) {\n return typeof Blob !== 'undefined' && value instanceof Blob;\n}\n/**\n * Safely assert whether the given value is a FormData instance.\n *\n * In some execution environments FormData is not defined.\n */\nfunction isFormData(value) {\n return typeof FormData !== 'undefined' && value instanceof FormData;\n}\n/**\n * Safely assert whether the given value is a URLSearchParams instance.\n *\n * In some execution environments URLSearchParams is not defined.\n */\nfunction isUrlSearchParams(value) {\n return typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams;\n}\n/**\n * An outgoing HTTP request with an optional typed body.\n *\n * `HttpRequest` represents an outgoing request, including URL, method,\n * headers, body, and other request configuration options. Instances should be\n * assumed to be immutable. To modify a `HttpRequest`, the `clone`\n * method should be used.\n *\n * @publicApi\n */\nclass HttpRequest {\n constructor(method, url, third, fourth) {\n this.url = url;\n /**\n * The request body, or `null` if one isn't set.\n *\n * Bodies are not enforced to be immutable, as they can include a reference to any\n * user-defined data type. However, interceptors should take care to preserve\n * idempotence by treating them as such.\n */\n this.body = null;\n /**\n * Whether this request should be made in a way that exposes progress events.\n *\n * Progress events are expensive (change detection runs on each event) and so\n * they should only be requested if the consumer intends to monitor them.\n *\n * Note: The `FetchBackend` doesn't support progress report on uploads.\n */\n this.reportProgress = false;\n /**\n * Whether this request should be sent with outgoing credentials (cookies).\n */\n this.withCredentials = false;\n /**\n * The expected response type of the server.\n *\n * This is used to parse the response appropriately before returning it to\n * the requestee.\n */\n this.responseType = 'json';\n this.method = method.toUpperCase();\n // Next, need to figure out which argument holds the HttpRequestInit\n // options, if any.\n let options;\n // Check whether a body argument is expected. The only valid way to omit\n // the body argument is to use a known no-body method like GET.\n if (mightHaveBody(this.method) || !!fourth) {\n // Body is the third argument, options are the fourth.\n this.body = third !== undefined ? third : null;\n options = fourth;\n }\n else {\n // No body required, options are the third argument. The body stays null.\n options = third;\n }\n // If options have been passed, interpret them.\n if (options) {\n // Normalize reportProgress and withCredentials.\n this.reportProgress = !!options.reportProgress;\n this.withCredentials = !!options.withCredentials;\n // Override default response type of 'json' if one is provided.\n if (!!options.responseType) {\n this.responseType = options.responseType;\n }\n // Override headers if they're provided.\n if (!!options.headers) {\n this.headers = options.headers;\n }\n if (!!options.context) {\n this.context = options.context;\n }\n if (!!options.params) {\n this.params = options.params;\n }\n // We do want to assign transferCache even if it's falsy (false is valid value)\n this.transferCache = options.transferCache;\n }\n // If no headers have been passed in, construct a new HttpHeaders instance.\n this.headers ??= new HttpHeaders();\n // If no context have been passed in, construct a new HttpContext instance.\n this.context ??= new HttpContext();\n // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.\n if (!this.params) {\n this.params = new HttpParams();\n this.urlWithParams = url;\n }\n else {\n // Encode the parameters to a string in preparation for inclusion in the URL.\n const params = this.params.toString();\n if (params.length === 0) {\n // No parameters, the visible URL is just the URL given at creation time.\n this.urlWithParams = url;\n }\n else {\n // Does the URL already have query parameters? Look for '?'.\n const qIdx = url.indexOf('?');\n // There are 3 cases to handle:\n // 1) No existing parameters -> append '?' followed by params.\n // 2) '?' exists and is followed by existing query string ->\n // append '&' followed by params.\n // 3) '?' exists at the end of the url -> append params directly.\n // This basically amounts to determining the character, if any, with\n // which to join the URL and parameters.\n const sep = qIdx === -1 ? '?' : qIdx < url.length - 1 ? '&' : '';\n this.urlWithParams = url + sep + params;\n }\n }\n }\n /**\n * Transform the free-form body into a serialized format suitable for\n * transmission to the server.\n */\n serializeBody() {\n // If no body is present, no need to serialize it.\n if (this.body === null) {\n return null;\n }\n // Check whether the body is already in a serialized form. If so,\n // it can just be returned directly.\n if (typeof this.body === 'string' ||\n isArrayBuffer(this.body) ||\n isBlob(this.body) ||\n isFormData(this.body) ||\n isUrlSearchParams(this.body)) {\n return this.body;\n }\n // Check whether the body is an instance of HttpUrlEncodedParams.\n if (this.body instanceof HttpParams) {\n return this.body.toString();\n }\n // Check whether the body is an object or array, and serialize with JSON if so.\n if (typeof this.body === 'object' ||\n typeof this.body === 'boolean' ||\n Array.isArray(this.body)) {\n return JSON.stringify(this.body);\n }\n // Fall back on toString() for everything else.\n return this.body.toString();\n }\n /**\n * Examine the body and attempt to infer an appropriate MIME type\n * for it.\n *\n * If no such type can be inferred, this method will return `null`.\n */\n detectContentTypeHeader() {\n // An empty body has no content type.\n if (this.body === null) {\n return null;\n }\n // FormData bodies rely on the browser's content type assignment.\n if (isFormData(this.body)) {\n return null;\n }\n // Blobs usually have their own content type. If it doesn't, then\n // no type can be inferred.\n if (isBlob(this.body)) {\n return this.body.type || null;\n }\n // Array buffers have unknown contents and thus no type can be inferred.\n if (isArrayBuffer(this.body)) {\n return null;\n }\n // Technically, strings could be a form of JSON data, but it's safe enough\n // to assume they're plain strings.\n if (typeof this.body === 'string') {\n return 'text/plain';\n }\n // `HttpUrlEncodedParams` has its own content-type.\n if (this.body instanceof HttpParams) {\n return 'application/x-www-form-urlencoded;charset=UTF-8';\n }\n // Arrays, objects, boolean and numbers will be encoded as JSON.\n if (typeof this.body === 'object' ||\n typeof this.body === 'number' ||\n typeof this.body === 'boolean') {\n return 'application/json';\n }\n // No type could be inferred.\n return null;\n }\n clone(update = {}) {\n // For method, url, and responseType, take the current value unless\n // it is overridden in the update hash.\n const method = update.method || this.method;\n const url = update.url || this.url;\n const responseType = update.responseType || this.responseType;\n // Carefully handle the transferCache to differentiate between\n // `false` and `undefined` in the update args.\n const transferCache = update.transferCache ?? this.transferCache;\n // The body is somewhat special - a `null` value in update.body means\n // whatever current body is present is being overridden with an empty\n // body, whereas an `undefined` value in update.body implies no\n // override.\n const body = update.body !== undefined ? update.body : this.body;\n // Carefully handle the boolean options to differentiate between\n // `false` and `undefined` in the update args.\n const withCredentials = update.withCredentials ?? this.withCredentials;\n const reportProgress = update.reportProgress ?? this.reportProgress;\n // Headers and params may be appended to if `setHeaders` or\n // `setParams` are used.\n let headers = update.headers || this.headers;\n let params = update.params || this.params;\n // Pass on context if needed\n const context = update.context ?? this.context;\n // Check whether the caller has asked to add headers.\n if (update.setHeaders !== undefined) {\n // Set every requested header.\n headers = Object.keys(update.setHeaders).reduce((headers, name) => headers.set(name, update.setHeaders[name]), headers);\n }\n // Check whether the caller has asked to set params.\n if (update.setParams) {\n // Set every requested param.\n params = Object.keys(update.setParams).reduce((params, param) => params.set(param, update.setParams[param]), params);\n }\n // Finally, construct the new HttpRequest using the pieces from above.\n return new HttpRequest(method, url, body, {\n params,\n headers,\n context,\n reportProgress,\n responseType,\n withCredentials,\n transferCache,\n });\n }\n}\n\n/**\n * Type enumeration for the different kinds of `HttpEvent`.\n *\n * @publicApi\n */\nvar HttpEventType;\n(function (HttpEventType) {\n /**\n * The request was sent out over the wire.\n */\n HttpEventType[HttpEventType[\"Sent\"] = 0] = \"Sent\";\n /**\n * An upload progress event was received.\n *\n * Note: The `FetchBackend` doesn't support progress report on uploads.\n */\n HttpEventType[HttpEventType[\"UploadProgress\"] = 1] = \"UploadProgress\";\n /**\n * The response status code and headers were received.\n */\n HttpEventType[HttpEventType[\"ResponseHeader\"] = 2] = \"ResponseHeader\";\n /**\n * A download progress event was received.\n */\n HttpEventType[HttpEventType[\"DownloadProgress\"] = 3] = \"DownloadProgress\";\n /**\n * The full response including the body was received.\n */\n HttpEventType[HttpEventType[\"Response\"] = 4] = \"Response\";\n /**\n * A custom event from an interceptor or a backend.\n */\n HttpEventType[HttpEventType[\"User\"] = 5] = \"User\";\n})(HttpEventType || (HttpEventType = {}));\n/**\n * Base class for both `HttpResponse` and `HttpHeaderResponse`.\n *\n * @publicApi\n */\nclass HttpResponseBase {\n /**\n * Super-constructor for all responses.\n *\n * The single parameter accepted is an initialization hash. Any properties\n * of the response passed there will override the default values.\n */\n constructor(init, defaultStatus = HttpStatusCode.Ok, defaultStatusText = 'OK') {\n // If the hash has values passed, use them to initialize the response.\n // Otherwise use the default values.\n this.headers = init.headers || new HttpHeaders();\n this.status = init.status !== undefined ? init.status : defaultStatus;\n this.statusText = init.statusText || defaultStatusText;\n this.url = init.url || null;\n // Cache the ok value to avoid defining a getter.\n this.ok = this.status >= 200 && this.status < 300;\n }\n}\n/**\n * A partial HTTP response which only includes the status and header data,\n * but no response body.\n *\n * `HttpHeaderResponse` is a `HttpEvent` available on the response\n * event stream, only when progress events are requested.\n *\n * @publicApi\n */\nclass HttpHeaderResponse extends HttpResponseBase {\n /**\n * Create a new `HttpHeaderResponse` with the given parameters.\n */\n constructor(init = {}) {\n super(init);\n this.type = HttpEventType.ResponseHeader;\n }\n /**\n * Copy this `HttpHeaderResponse`, overriding its contents with the\n * given parameter hash.\n */\n clone(update = {}) {\n // Perform a straightforward initialization of the new HttpHeaderResponse,\n // overriding the current parameters with new ones if given.\n return new HttpHeaderResponse({\n headers: update.headers || this.headers,\n status: update.status !== undefined ? update.status : this.status,\n statusText: update.statusText || this.statusText,\n url: update.url || this.url || undefined,\n });\n }\n}\n/**\n * A full HTTP response, including a typed response body (which may be `null`\n * if one was not returned).\n *\n * `HttpResponse` is a `HttpEvent` available on the response event\n * stream.\n *\n * @publicApi\n */\nclass HttpResponse extends HttpResponseBase {\n /**\n * Construct a new `HttpResponse`.\n */\n constructor(init = {}) {\n super(init);\n this.type = HttpEventType.Response;\n this.body = init.body !== undefined ? init.body : null;\n }\n clone(update = {}) {\n return new HttpResponse({\n body: update.body !== undefined ? update.body : this.body,\n headers: update.headers || this.headers,\n status: update.status !== undefined ? update.status : this.status,\n statusText: update.statusText || this.statusText,\n url: update.url || this.url || undefined,\n });\n }\n}\n/**\n * A response that represents an error or failure, either from a\n * non-successful HTTP status, an error while executing the request,\n * or some other failure which occurred during the parsing of the response.\n *\n * Any error returned on the `Observable` response stream will be\n * wrapped in an `HttpErrorResponse` to provide additional context about\n * the state of the HTTP layer when the error occurred. The error property\n * will contain either a wrapped Error object or the error response returned\n * from the server.\n *\n * @publicApi\n */\nclass HttpErrorResponse extends HttpResponseBase {\n constructor(init) {\n // Initialize with a default status of 0 / Unknown Error.\n super(init, 0, 'Unknown Error');\n this.name = 'HttpErrorResponse';\n /**\n * Errors are never okay, even when the status code is in the 2xx success range.\n */\n this.ok = false;\n // If the response was successful, then this was a parse error. Otherwise, it was\n // a protocol-level failure of some sort. Either the request failed in transit\n // or the server returned an unsuccessful status code.\n if (this.status >= 200 && this.status < 300) {\n this.message = `Http failure during parsing for ${init.url || '(unknown url)'}`;\n }\n else {\n this.message = `Http failure response for ${init.url || '(unknown url)'}: ${init.status} ${init.statusText}`;\n }\n this.error = init.error || null;\n }\n}\n/**\n * Http status codes.\n * As per https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml\n * @publicApi\n */\nvar HttpStatusCode;\n(function (HttpStatusCode) {\n HttpStatusCode[HttpStatusCode[\"Continue\"] = 100] = \"Continue\";\n HttpStatusCode[HttpStatusCode[\"SwitchingProtocols\"] = 101] = \"SwitchingProtocols\";\n HttpStatusCode[HttpStatusCode[\"Processing\"] = 102] = \"Processing\";\n HttpStatusCode[HttpStatusCode[\"EarlyHints\"] = 103] = \"EarlyHints\";\n HttpStatusCode[HttpStatusCode[\"Ok\"] = 200] = \"Ok\";\n HttpStatusCode[HttpStatusCode[\"Created\"] = 201] = \"Created\";\n HttpStatusCode[HttpStatusCode[\"Accepted\"] = 202] = \"Accepted\";\n HttpStatusCode[HttpStatusCode[\"NonAuthoritativeInformation\"] = 203] = \"NonAuthoritativeInformation\";\n HttpStatusCode[HttpStatusCode[\"NoContent\"] = 204] = \"NoContent\";\n HttpStatusCode[HttpStatusCode[\"ResetContent\"] = 205] = \"ResetContent\";\n HttpStatusCode[HttpStatusCode[\"PartialContent\"] = 206] = \"PartialContent\";\n HttpStatusCode[HttpStatusCode[\"MultiStatus\"] = 207] = \"MultiStatus\";\n HttpStatusCode[HttpStatusCode[\"AlreadyReported\"] = 208] = \"AlreadyReported\";\n HttpStatusCode[HttpStatusCode[\"ImUsed\"] = 226] = \"ImUsed\";\n HttpStatusCode[HttpStatusCode[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpStatusCode[HttpStatusCode[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpStatusCode[HttpStatusCode[\"Found\"] = 302] = \"Found\";\n HttpStatusCode[HttpStatusCode[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpStatusCode[HttpStatusCode[\"NotModified\"] = 304] = \"NotModified\";\n HttpStatusCode[HttpStatusCode[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpStatusCode[HttpStatusCode[\"Unused\"] = 306] = \"Unused\";\n HttpStatusCode[HttpStatusCode[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpStatusCode[HttpStatusCode[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpStatusCode[HttpStatusCode[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpStatusCode[HttpStatusCode[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpStatusCode[HttpStatusCode[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpStatusCode[HttpStatusCode[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpStatusCode[HttpStatusCode[\"NotFound\"] = 404] = \"NotFound\";\n HttpStatusCode[HttpStatusCode[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpStatusCode[HttpStatusCode[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpStatusCode[HttpStatusCode[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpStatusCode[HttpStatusCode[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpStatusCode[HttpStatusCode[\"Conflict\"] = 409] = \"Conflict\";\n HttpStatusCode[HttpStatusCode[\"Gone\"] = 410] = \"Gone\";\n HttpStatusCode[HttpStatusCode[\"LengthRequired\"] = 411] = \"LengthRequired\";\n HttpStatusCode[HttpStatusCode[\"PreconditionFailed\"] = 412] = \"PreconditionFailed\";\n HttpStatusCode[HttpStatusCode[\"PayloadTooLarge\"] = 413] = \"PayloadTooLarge\";\n HttpStatusCode[HttpStatusCode[\"UriTooLong\"] = 414] = \"UriTooLong\";\n HttpStatusCode[HttpStatusCode[\"UnsupportedMediaType\"] = 415] = \"UnsupportedMediaType\";\n HttpStatusCode[HttpStatusCode[\"RangeNotSatisfiable\"] = 416] = \"RangeNotSatisfiable\";\n HttpStatusCode[HttpStatusCode[\"ExpectationFailed\"] = 417] = \"ExpectationFailed\";\n HttpStatusCode[HttpStatusCode[\"ImATeapot\"] = 418] = \"ImATeapot\";\n HttpStatusCode[HttpStatusCode[\"MisdirectedRequest\"] = 421] = \"MisdirectedRequest\";\n HttpStatusCode[HttpStatusCode[\"UnprocessableEntity\"] = 422] = \"UnprocessableEntity\";\n HttpStatusCode[HttpStatusCode[\"Locked\"] = 423] = \"Locked\";\n HttpStatusCode[HttpStatusCode[\"FailedDependency\"] = 424] = \"FailedDependency\";\n HttpStatusCode[HttpStatusCode[\"TooEarly\"] = 425] = \"TooEarly\";\n HttpStatusCode[HttpStatusCode[\"UpgradeRequired\"] = 426] = \"UpgradeRequired\";\n HttpStatusCode[HttpStatusCode[\"PreconditionRequired\"] = 428] = \"PreconditionRequired\";\n HttpStatusCode[HttpStatusCode[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpStatusCode[HttpStatusCode[\"RequestHeaderFieldsTooLarge\"] = 431] = \"RequestHeaderFieldsTooLarge\";\n HttpStatusCode[HttpStatusCode[\"UnavailableForLegalReasons\"] = 451] = \"UnavailableForLegalReasons\";\n HttpStatusCode[HttpStatusCode[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpStatusCode[HttpStatusCode[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpStatusCode[HttpStatusCode[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpStatusCode[HttpStatusCode[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpStatusCode[HttpStatusCode[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n HttpStatusCode[HttpStatusCode[\"HttpVersionNotSupported\"] = 505] = \"HttpVersionNotSupported\";\n HttpStatusCode[HttpStatusCode[\"VariantAlsoNegotiates\"] = 506] = \"VariantAlsoNegotiates\";\n HttpStatusCode[HttpStatusCode[\"InsufficientStorage\"] = 507] = \"InsufficientStorage\";\n HttpStatusCode[HttpStatusCode[\"LoopDetected\"] = 508] = \"LoopDetected\";\n HttpStatusCode[HttpStatusCode[\"NotExtended\"] = 510] = \"NotExtended\";\n HttpStatusCode[HttpStatusCode[\"NetworkAuthenticationRequired\"] = 511] = \"NetworkAuthenticationRequired\";\n})(HttpStatusCode || (HttpStatusCode = {}));\n\n/**\n * Constructs an instance of `HttpRequestOptions` from a source `HttpMethodOptions` and\n * the given `body`. This function clones the object and adds the body.\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n *\n */\nfunction addBody(options, body) {\n return {\n body,\n headers: options.headers,\n context: options.context,\n observe: options.observe,\n params: options.params,\n reportProgress: options.reportProgress,\n responseType: options.responseType,\n withCredentials: options.withCredentials,\n transferCache: options.transferCache,\n };\n}\n/**\n * Performs HTTP requests.\n * This service is available as an injectable class, with methods to perform HTTP requests.\n * Each request method has multiple signatures, and the return type varies based on\n * the signature that is called (mainly the values of `observe` and `responseType`).\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n\n *\n * @usageNotes\n * Sample HTTP requests for the [Tour of Heroes](/tutorial/tour-of-heroes/toh-pt0) application.\n *\n * ### HTTP Request Example\n *\n * ```\n * // GET heroes whose name contains search term\n * searchHeroes(term: string): observable{\n *\n * const params = new HttpParams({fromString: 'name=term'});\n * return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params});\n * }\n * ```\n *\n * Alternatively, the parameter string can be used without invoking HttpParams\n * by directly joining to the URL.\n * ```\n * this.httpClient.request('GET', this.heroesUrl + '?' + 'name=term', {responseType:'json'});\n * ```\n *\n *\n * ### JSONP Example\n * ```\n * requestJsonp(url, callback = 'callback') {\n * return this.httpClient.jsonp(this.heroesURL, callback);\n * }\n * ```\n *\n * ### PATCH Example\n * ```\n * // PATCH one of the heroes' name\n * patchHero (id: number, heroName: string): Observable<{}> {\n * const url = `${this.heroesUrl}/${id}`; // PATCH api/heroes/42\n * return this.httpClient.patch(url, {name: heroName}, httpOptions)\n * .pipe(catchError(this.handleError('patchHero')));\n * }\n * ```\n *\n * @see [HTTP Guide](guide/understanding-communicating-with-http)\n * @see [HTTP Request](api/common/http/HttpRequest)\n *\n * @publicApi\n */\nclass HttpClient {\n constructor(handler) {\n this.handler = handler;\n }\n /**\n * Constructs an observable for a generic HTTP request that, when subscribed,\n * fires the request through the chain of registered interceptors and on to the\n * server.\n *\n * You can pass an `HttpRequest` directly as the only parameter. In this case,\n * the call returns an observable of the raw `HttpEvent` stream.\n *\n * Alternatively you can pass an HTTP method as the first parameter,\n * a URL string as the second, and an options hash containing the request body as the third.\n * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the\n * type of returned observable.\n * * The `responseType` value determines how a successful response body is parsed.\n * * If `responseType` is the default `json`, you can pass a type interface for the resulting\n * object as a type parameter to the call.\n *\n * The `observe` value determines the return type, according to what you are interested in\n * observing.\n * * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including\n * progress events by default.\n * * An `observe` value of response returns an observable of `HttpResponse`,\n * where the `T` parameter depends on the `responseType` and any optionally provided type\n * parameter.\n * * An `observe` value of body returns an observable of `` with the same `T` body type.\n *\n */\n request(first, url, options = {}) {\n let req;\n // First, check whether the primary argument is an instance of `HttpRequest`.\n if (first instanceof HttpRequest) {\n // It is. The other arguments must be undefined (per the signatures) and can be\n // ignored.\n req = first;\n }\n else {\n // It's a string, so it represents a URL. Construct a request based on it,\n // and incorporate the remaining arguments (assuming `GET` unless a method is\n // provided.\n // Figure out the headers.\n let headers = undefined;\n if (options.headers instanceof HttpHeaders) {\n headers = options.headers;\n }\n else {\n headers = new HttpHeaders(options.headers);\n }\n // Sort out parameters.\n let params = undefined;\n if (!!options.params) {\n if (options.params instanceof HttpParams) {\n params = options.params;\n }\n else {\n params = new HttpParams({ fromObject: options.params });\n }\n }\n // Construct the request.\n req = new HttpRequest(first, url, options.body !== undefined ? options.body : null, {\n headers,\n context: options.context,\n params,\n reportProgress: options.reportProgress,\n // By default, JSON is assumed to be returned for all calls.\n responseType: options.responseType || 'json',\n withCredentials: options.withCredentials,\n transferCache: options.transferCache,\n });\n }\n // Start with an Observable.of() the initial request, and run the handler (which\n // includes all interceptors) inside a concatMap(). This way, the handler runs\n // inside an Observable chain, which causes interceptors to be re-run on every\n // subscription (this also makes retries re-run the handler, including interceptors).\n const events$ = of(req).pipe(concatMap((req) => this.handler.handle(req)));\n // If coming via the API signature which accepts a previously constructed HttpRequest,\n // the only option is to get the event stream. Otherwise, return the event stream if\n // that is what was requested.\n if (first instanceof HttpRequest || options.observe === 'events') {\n return events$;\n }\n // The requested stream contains either the full response or the body. In either\n // case, the first step is to filter the event stream to extract a stream of\n // responses(s).\n const res$ = (events$.pipe(filter((event) => event instanceof HttpResponse)));\n // Decide which stream to return.\n switch (options.observe || 'body') {\n case 'body':\n // The requested stream is the body. Map the response stream to the response\n // body. This could be done more simply, but a misbehaving interceptor might\n // transform the response body into a different format and ignore the requested\n // responseType. Guard against this by validating that the response is of the\n // requested type.\n switch (req.responseType) {\n case 'arraybuffer':\n return res$.pipe(map((res) => {\n // Validate that the body is an ArrayBuffer.\n if (res.body !== null && !(res.body instanceof ArrayBuffer)) {\n throw new Error('Response is not an ArrayBuffer.');\n }\n return res.body;\n }));\n case 'blob':\n return res$.pipe(map((res) => {\n // Validate that the body is a Blob.\n if (res.body !== null && !(res.body instanceof Blob)) {\n throw new Error('Response is not a Blob.');\n }\n return res.body;\n }));\n case 'text':\n return res$.pipe(map((res) => {\n // Validate that the body is a string.\n if (res.body !== null && typeof res.body !== 'string') {\n throw new Error('Response is not a string.');\n }\n return res.body;\n }));\n case 'json':\n default:\n // No validation needed for JSON responses, as they can be of any type.\n return res$.pipe(map((res) => res.body));\n }\n case 'response':\n // The response stream was requested directly, so return it.\n return res$;\n default:\n // Guard against new future observe types being added.\n throw new Error(`Unreachable: unhandled observe type ${options.observe}}`);\n }\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `DELETE` request to execute on the server. See the individual overloads for\n * details on the return type.\n *\n * @param url The endpoint URL.\n * @param options The HTTP options to send with the request.\n *\n */\n delete(url, options = {}) {\n return this.request('DELETE', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `GET` request to execute on the server. See the individual overloads for\n * details on the return type.\n */\n get(url, options = {}) {\n return this.request('GET', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `HEAD` request to execute on the server. The `HEAD` method returns\n * meta information about the resource without transferring the\n * resource itself. See the individual overloads for\n * details on the return type.\n */\n head(url, options = {}) {\n return this.request('HEAD', url, options);\n }\n /**\n * Constructs an `Observable` that, when subscribed, causes a request with the special method\n * `JSONP` to be dispatched via the interceptor pipeline.\n * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain\n * API endpoints that don't support newer,\n * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol.\n * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the\n * requests even if the API endpoint is not located on the same domain (origin) as the client-side\n * application making the request.\n * The endpoint API must support JSONP callback for JSONP requests to work.\n * The resource API returns the JSON response wrapped in a callback function.\n * You can pass the callback function name as one of the query parameters.\n * Note that JSONP requests can only be used with `GET` requests.\n *\n * @param url The resource URL.\n * @param callbackParam The callback function name.\n *\n */\n jsonp(url, callbackParam) {\n return this.request('JSONP', url, {\n params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'),\n observe: 'body',\n responseType: 'json',\n });\n }\n /**\n * Constructs an `Observable` that, when subscribed, causes the configured\n * `OPTIONS` request to execute on the server. This method allows the client\n * to determine the supported HTTP methods and other capabilities of an endpoint,\n * without implying a resource action. See the individual overloads for\n * details on the return type.\n */\n options(url, options = {}) {\n return this.request('OPTIONS', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `PATCH` request to execute on the server. See the individual overloads for\n * details on the return type.\n */\n patch(url, body, options = {}) {\n return this.request('PATCH', url, addBody(options, body));\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `POST` request to execute on the server. The server responds with the location of\n * the replaced resource. See the individual overloads for\n * details on the return type.\n */\n post(url, body, options = {}) {\n return this.request('POST', url, addBody(options, body));\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `PUT` request to execute on the server. The `PUT` method replaces an existing resource\n * with a new set of values.\n * See the individual overloads for details on the return type.\n */\n put(url, body, options = {}) {\n return this.request('PUT', url, addBody(options, body));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: HttpClient }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: HttpClient, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: HttpHandler }] });\n\nconst XSSI_PREFIX$1 = /^\\)\\]\\}',?\\n/;\nconst REQUEST_URL_HEADER = `X-Request-URL`;\n/**\n * Determine an appropriate URL for the response, by checking either\n * response url or the X-Request-URL header.\n */\nfunction getResponseUrl$1(response) {\n if (response.url) {\n return response.url;\n }\n // stored as lowercase in the map\n const xRequestUrl = REQUEST_URL_HEADER.toLocaleLowerCase();\n return response.headers.get(xRequestUrl);\n}\n/**\n * Uses `fetch` to send requests to a backend server.\n *\n * This `FetchBackend` requires the support of the\n * [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) which is available on all\n * supported browsers and on Node.js v18 or later.\n *\n * @see {@link HttpHandler}\n *\n * @publicApi\n */\nclass FetchBackend {\n constructor() {\n // We need to bind the native fetch to its context or it will throw an \"illegal invocation\"\n this.fetchImpl = inject(FetchFactory, { optional: true })?.fetch ?? fetch.bind(globalThis);\n this.ngZone = inject(NgZone);\n }\n handle(request) {\n return new Observable((observer) => {\n const aborter = new AbortController();\n this.doRequest(request, aborter.signal, observer).then(noop, (error) => observer.error(new HttpErrorResponse({ error })));\n return () => aborter.abort();\n });\n }\n async doRequest(request, signal, observer) {\n const init = this.createRequestInit(request);\n let response;\n try {\n const fetchPromise = this.fetchImpl(request.urlWithParams, { signal, ...init });\n // Make sure Zone.js doesn't trigger false-positive unhandled promise\n // error in case the Promise is rejected synchronously. See function\n // description for additional information.\n silenceSuperfluousUnhandledPromiseRejection(fetchPromise);\n // Send the `Sent` event before awaiting the response.\n observer.next({ type: HttpEventType.Sent });\n response = await fetchPromise;\n }\n catch (error) {\n observer.error(new HttpErrorResponse({\n error,\n status: error.status ?? 0,\n statusText: error.statusText,\n url: request.urlWithParams,\n headers: error.headers,\n }));\n return;\n }\n const headers = new HttpHeaders(response.headers);\n const statusText = response.statusText;\n const url = getResponseUrl$1(response) ?? request.urlWithParams;\n let status = response.status;\n let body = null;\n if (request.reportProgress) {\n observer.next(new HttpHeaderResponse({ headers, status, statusText, url }));\n }\n if (response.body) {\n // Read Progress\n const contentLength = response.headers.get('content-length');\n const chunks = [];\n const reader = response.body.getReader();\n let receivedLength = 0;\n let decoder;\n let partialText;\n // We have to check whether the Zone is defined in the global scope because this may be called\n // when the zone is nooped.\n const reqZone = typeof Zone !== 'undefined' && Zone.current;\n // Perform response processing outside of Angular zone to\n // ensure no excessive change detection runs are executed\n // Here calling the async ReadableStreamDefaultReader.read() is responsible for triggering CD\n await this.ngZone.runOutsideAngular(async () => {\n while (true) {\n const { done, value } = await reader.read();\n if (done) {\n break;\n }\n chunks.push(value);\n receivedLength += value.length;\n if (request.reportProgress) {\n partialText =\n request.responseType === 'text'\n ? (partialText ?? '') +\n (decoder ??= new TextDecoder()).decode(value, { stream: true })\n : undefined;\n const reportProgress = () => observer.next({\n type: HttpEventType.DownloadProgress,\n total: contentLength ? +contentLength : undefined,\n loaded: receivedLength,\n partialText,\n });\n reqZone ? reqZone.run(reportProgress) : reportProgress();\n }\n }\n });\n // Combine all chunks.\n const chunksAll = this.concatChunks(chunks, receivedLength);\n try {\n const contentType = response.headers.get('Content-Type') ?? '';\n body = this.parseBody(request, chunksAll, contentType);\n }\n catch (error) {\n // Body loading or parsing failed\n observer.error(new HttpErrorResponse({\n error,\n headers: new HttpHeaders(response.headers),\n status: response.status,\n statusText: response.statusText,\n url: getResponseUrl$1(response) ?? request.urlWithParams,\n }));\n return;\n }\n }\n // Same behavior as the XhrBackend\n if (status === 0) {\n status = body ? HttpStatusCode.Ok : 0;\n }\n // ok determines whether the response will be transmitted on the event or\n // error channel. Unsuccessful status codes (not 2xx) will always be errors,\n // but a successful status code can still result in an error if the user\n // asked for JSON data and the body cannot be parsed as such.\n const ok = status >= 200 && status < 300;\n if (ok) {\n observer.next(new HttpResponse({\n body,\n headers,\n status,\n statusText,\n url,\n }));\n // The full body has been received and delivered, no further events\n // are possible. This request is complete.\n observer.complete();\n }\n else {\n observer.error(new HttpErrorResponse({\n error: body,\n headers,\n status,\n statusText,\n url,\n }));\n }\n }\n parseBody(request, binContent, contentType) {\n switch (request.responseType) {\n case 'json':\n // stripping the XSSI when present\n const text = new TextDecoder().decode(binContent).replace(XSSI_PREFIX$1, '');\n return text === '' ? null : JSON.parse(text);\n case 'text':\n return new TextDecoder().decode(binContent);\n case 'blob':\n return new Blob([binContent], { type: contentType });\n case 'arraybuffer':\n return binContent.buffer;\n }\n }\n createRequestInit(req) {\n // We could share some of this logic with the XhrBackend\n const headers = {};\n const credentials = req.withCredentials ? 'include' : undefined;\n // Setting all the requested headers.\n req.headers.forEach((name, values) => (headers[name] = values.join(',')));\n // Add an Accept header if one isn't present already.\n headers['Accept'] ??= 'application/json, text/plain, */*';\n // Auto-detect the Content-Type header if one isn't present already.\n if (!headers['Content-Type']) {\n const detectedType = req.detectContentTypeHeader();\n // Sometimes Content-Type detection fails.\n if (detectedType !== null) {\n headers['Content-Type'] = detectedType;\n }\n }\n return {\n body: req.serializeBody(),\n method: req.method,\n headers,\n credentials,\n };\n }\n concatChunks(chunks, totalLength) {\n const chunksAll = new Uint8Array(totalLength);\n let position = 0;\n for (const chunk of chunks) {\n chunksAll.set(chunk, position);\n position += chunk.length;\n }\n return chunksAll;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: FetchBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: FetchBackend }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: FetchBackend, decorators: [{\n type: Injectable\n }] });\n/**\n * Abstract class to provide a mocked implementation of `fetch()`\n */\nclass FetchFactory {\n}\nfunction noop() { }\n/**\n * Zone.js treats a rejected promise that has not yet been awaited\n * as an unhandled error. This function adds a noop `.then` to make\n * sure that Zone.js doesn't throw an error if the Promise is rejected\n * synchronously.\n */\nfunction silenceSuperfluousUnhandledPromiseRejection(promise) {\n promise.then(noop, noop);\n}\n\nfunction interceptorChainEndFn(req, finalHandlerFn) {\n return finalHandlerFn(req);\n}\n/**\n * Constructs a `ChainedInterceptorFn` which adapts a legacy `HttpInterceptor` to the\n * `ChainedInterceptorFn` interface.\n */\nfunction adaptLegacyInterceptorToChain(chainTailFn, interceptor) {\n return (initialRequest, finalHandlerFn) => interceptor.intercept(initialRequest, {\n handle: (downstreamRequest) => chainTailFn(downstreamRequest, finalHandlerFn),\n });\n}\n/**\n * Constructs a `ChainedInterceptorFn` which wraps and invokes a functional interceptor in the given\n * injector.\n */\nfunction chainedInterceptorFn(chainTailFn, interceptorFn, injector) {\n // clang-format off\n return (initialRequest, finalHandlerFn) => runInInjectionContext(injector, () => interceptorFn(initialRequest, (downstreamRequest) => chainTailFn(downstreamRequest, finalHandlerFn)));\n // clang-format on\n}\n/**\n * A multi-provider token that represents the array of registered\n * `HttpInterceptor` objects.\n *\n * @publicApi\n */\nconst HTTP_INTERCEPTORS = new InjectionToken(ngDevMode ? 'HTTP_INTERCEPTORS' : '');\n/**\n * A multi-provided token of `HttpInterceptorFn`s.\n */\nconst HTTP_INTERCEPTOR_FNS = new InjectionToken(ngDevMode ? 'HTTP_INTERCEPTOR_FNS' : '');\n/**\n * A multi-provided token of `HttpInterceptorFn`s that are only set in root.\n */\nconst HTTP_ROOT_INTERCEPTOR_FNS = new InjectionToken(ngDevMode ? 'HTTP_ROOT_INTERCEPTOR_FNS' : '');\n/**\n * A provider to set a global primary http backend. If set, it will override the default one\n */\nconst PRIMARY_HTTP_BACKEND = new InjectionToken(ngDevMode ? 'PRIMARY_HTTP_BACKEND' : '');\n/**\n * Creates an `HttpInterceptorFn` which lazily initializes an interceptor chain from the legacy\n * class-based interceptors and runs the request through it.\n */\nfunction legacyInterceptorFnFactory() {\n let chain = null;\n return (req, handler) => {\n if (chain === null) {\n const interceptors = inject(HTTP_INTERCEPTORS, { optional: true }) ?? [];\n // Note: interceptors are wrapped right-to-left so that final execution order is\n // left-to-right. That is, if `interceptors` is the array `[a, b, c]`, we want to\n // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside\n // out.\n chain = interceptors.reduceRight(adaptLegacyInterceptorToChain, interceptorChainEndFn);\n }\n const pendingTasks = inject(ɵPendingTasks);\n const taskId = pendingTasks.add();\n return chain(req, handler).pipe(finalize(() => pendingTasks.remove(taskId)));\n };\n}\nlet fetchBackendWarningDisplayed = false;\n/** Internal function to reset the flag in tests */\nfunction resetFetchBackendWarningFlag() {\n fetchBackendWarningDisplayed = false;\n}\nclass HttpInterceptorHandler extends HttpHandler {\n constructor(backend, injector) {\n super();\n this.backend = backend;\n this.injector = injector;\n this.chain = null;\n this.pendingTasks = inject(ɵPendingTasks);\n // Check if there is a preferred HTTP backend configured and use it if that's the case.\n // This is needed to enable `FetchBackend` globally for all HttpClient's when `withFetch`\n // is used.\n const primaryHttpBackend = inject(PRIMARY_HTTP_BACKEND, { optional: true });\n this.backend = primaryHttpBackend ?? backend;\n // We strongly recommend using fetch backend for HTTP calls when SSR is used\n // for an application. The logic below checks if that's the case and produces\n // a warning otherwise.\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !fetchBackendWarningDisplayed) {\n const isServer = isPlatformServer(injector.get(PLATFORM_ID));\n if (isServer && !(this.backend instanceof FetchBackend)) {\n fetchBackendWarningDisplayed = true;\n injector\n .get(ɵConsole)\n .warn(ɵformatRuntimeError(2801 /* RuntimeErrorCode.NOT_USING_FETCH_BACKEND_IN_SSR */, 'Angular detected that `HttpClient` is not configured ' +\n \"to use `fetch` APIs. It's strongly recommended to \" +\n 'enable `fetch` for applications that use Server-Side Rendering ' +\n 'for better performance and compatibility. ' +\n 'To enable `fetch`, add the `withFetch()` to the `provideHttpClient()` ' +\n 'call at the root of the application.'));\n }\n }\n }\n handle(initialRequest) {\n if (this.chain === null) {\n const dedupedInterceptorFns = Array.from(new Set([\n ...this.injector.get(HTTP_INTERCEPTOR_FNS),\n ...this.injector.get(HTTP_ROOT_INTERCEPTOR_FNS, []),\n ]));\n // Note: interceptors are wrapped right-to-left so that final execution order is\n // left-to-right. That is, if `dedupedInterceptorFns` is the array `[a, b, c]`, we want to\n // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside\n // out.\n this.chain = dedupedInterceptorFns.reduceRight((nextSequencedFn, interceptorFn) => chainedInterceptorFn(nextSequencedFn, interceptorFn, this.injector), interceptorChainEndFn);\n }\n const taskId = this.pendingTasks.add();\n return this.chain(initialRequest, (downstreamRequest) => this.backend.handle(downstreamRequest)).pipe(finalize(() => this.pendingTasks.remove(taskId)));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: HttpInterceptorHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.5\", ngImport: i0, type: HttpInterceptorHandler, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: HttpBackend }, { type: i0.EnvironmentInjector }] });\n\n// Every request made through JSONP needs a callback name that's unique across the\n// whole page. Each request is assigned an id and the callback name is constructed\n// from that. The next id to be assigned is tracked in a global variable here that\n// is shared among all applications on the page.\nlet nextRequestId = 0;\n/**\n * When a pending \";\n pageForm.innerHTML = sendForm;\n }\n let renderForm = document.getElementById('SingleSignOnRedirect');\n renderForm.submit();\n }\n else if (hasJavascript != null) {\n let sendForm = '';\n outputs.forEach((item) => {\n if (item.InputType == InputType.Javascript) {\n sendForm += \"\";\n }\n });\n pageForm.innerHTML = sendForm;\n }\n else if (hasQuery != null) {\n window.open(hasQuery.Value, target);\n }\n else if (hasUrl != null) {\n window.open(hasUrl.Value, target);\n }\n }))\n .toPromise();\n }\n /** Set the auth token to the token provided in the 'portal-token' cookie. */\n sso() {\n let token = this.cookieService.get('portal-token');\n let user = this._makeUserContext(token);\n this.memberService.setUserContext(user);\n localStorage.setItem('token', token);\n }\n /**\n * Will log in the customer using the access token that has already been give to the customer\n *\n * @param accessToken Access Token from the login call\n * @param refreshToken Refresh token from the login call\n * @param redirectUrl if passed in and the redirectUrl is not undefined will navigate to that url\n */\n loginUsingToken(accessToken, refreshToken, redirectUrl = undefined) {\n let user = this._makeUserContext(accessToken);\n this.memberService.setUserContext(user);\n localStorage.setItem('token', accessToken);\n localStorage.setItem('refresh', refreshToken);\n localStorage.setItem('lcid', user.lcid);\n if (redirectUrl !== undefined) {\n this.router.navigate([redirectUrl]);\n }\n }\n /**\n * Will log in the customer using the access token that has already been give to the customer, while also refreshing store values\n *\n * @param accessToken Access Token from the login call\n * @param refreshToken Refresh token from the login call\n * @param redirectUrl if passed in and the redirectUrl is not undefined will navigate to that url\n */\n switchUserLoginUsingToken(accessToken, refreshToken, redirectUrl = undefined) {\n let user = this._makeUserContext(accessToken);\n this.memberService.setUserContext(user);\n localStorage.setItem('token', accessToken);\n localStorage.setItem('refresh', refreshToken);\n localStorage.setItem('lcid', user.lcid);\n //clear stores and refetch data to ensure data integrity when swapping accounts\n this.memberStore.setHasCache(false);\n this.memberService.fetchMemberDetails().toPromise();\n this.memberCardService.fetchCard().toPromise();\n this.childStore.setHasCache(false);\n this.childService.fetchChildren().toPromise();\n this.childService.fetchGuardian().toPromise();\n this.cardStore.setHasCache(false);\n this.cardService.fetchCards();\n if (redirectUrl !== undefined) {\n this.router.navigate([redirectUrl]);\n }\n }\n /** Login using the standard login flow. */\n login(username, password) {\n this.logService.info('Attempting to login as user', username);\n return this.api.post('token', { username, password }).pipe(tap((authResponse) => {\n if (authResponse) {\n this.loginUsingToken(authResponse.AccessToken, authResponse.RefreshToken);\n }\n }));\n }\n /**\n * Login using the MLBAM login flow.\n * @param username The username of the account to login with.\n * @param password The password for the account.\n * @param deviceGUID A GUID that represents the current device (without any hyphens).\n * @param successRedirectUrl The relative path the user should be redirected to on successful login.\n * @param chooseAccountRedirectUrl The relative path the user should be redirected to if there are multiple accounts for them to choose between.\n * @param createAccountRedirectUrl The relative path the user should be redirected to if they are required to create an account.\n */\n mlbamLogin(username, password, deviceGUID, successRedirectUrl = '/', chooseAccountRedirectUrl = '/login/accounts', createAccountRedirectUrl = '/register/new-member') {\n this.logService.info('Attempting to login as MLBAM user', username);\n const apiLoginModel = {\n LoginFields: { username, password, deviceGUID },\n PortalUrl: config.portalUrl,\n };\n return this.api.post('token/mlbam', apiLoginModel).pipe(tap((authResponse) => {\n if (authResponse) {\n if (authResponse.Tokens) {\n // Tokens returned so we can log straight in as a user\n this.logService.info('Tokens returned - logging in...');\n this.loginUsingToken(authResponse.Tokens.AccessToken, authResponse.Tokens.RefreshToken, successRedirectUrl);\n }\n else if (authResponse.AvailableAccounts && authResponse.AvailableAccounts.length > 0) {\n // Multiple accounts are linked to this MLBAM account so the user must choose one to continue\n this.logService.info('Multiple accounts returned, selection is required to continue...');\n this.memberService.setAvailableAccounts(authResponse.AvailableAccounts);\n this.router.navigate([chooseAccountRedirectUrl]);\n }\n else if (authResponse.Status === MlbamLoginResponseStatus.CreateAccount) {\n // username and password is successful but no translation exists so create it\n this.logService.info('Account needs to be created');\n this.router.navigate([createAccountRedirectUrl]);\n }\n else {\n this.logService.error('Login response contains no tokens and no available accounts to choose from.', authResponse);\n }\n }\n else {\n this.logService.error('Login response is not type MlbamLoginResponse.', authResponse);\n }\n }));\n }\n /** Log the current user out. */\n logout(providerId = ProviderName.Fortress, providerTokens = {}) {\n this.logService.info('Logging out...');\n const token = localStorage.getItem('refresh');\n if (providerId !== ProviderName.Fortress && token) {\n let combinedTokens = { refreshToken: token, ...providerTokens };\n return this.api.post(`token/logout/${providerId}`, JSON.stringify(combinedTokens)).pipe(tap(() => {\n localStorage.removeItem('token');\n localStorage.removeItem('refresh');\n }));\n }\n else {\n localStorage.removeItem('token');\n localStorage.removeItem('refresh');\n return this.api.post('token/logout', `\"${token}\"`);\n }\n }\n /** Switch to one of the user's other members by member ID. */\n switchUser(memberId, reload = true) {\n this.logService.info('Switching to user with member ID', memberId);\n const refreshToken = localStorage.getItem('refresh');\n return this.api.post(`sso/switchUser?entity=${memberId}&entityType=3`, `\"${refreshToken}\"`).pipe(tap((token) => {\n this.switchUserLoginUsingToken(token.AccessToken, token.RefreshToken);\n if (reload) {\n location.reload();\n }\n }));\n }\n /** Switch to one of the user's other members by member ID. */\n switchToGuardian(redirectUrl = '/') {\n this.logService.info('Switching to daddy');\n const refreshToken = localStorage.getItem('refresh');\n return this.api.post(`sso/switchtoguardian`, `\"${refreshToken}\"`).pipe(tap((token) => {\n this.switchUserLoginUsingToken(token.AccessToken, token.RefreshToken, redirectUrl);\n }));\n }\n /** Decode the auth token and build a user context model. */\n _makeUserContext(token) {\n let decodedToken = this.jwtHelper.decodeToken(token);\n let user = new UserContext();\n user.externalRef = decodedToken.external_ref;\n user.lcid = decodedToken.lcid;\n user.memberId = decodedToken.member_id;\n user.populationId = decodedToken.population_id;\n if (!decodedToken.population_name) {\n this.populationService\n .fetchPopulations()\n .toPromise()\n .then(() => {\n user.populationName = this.populationQuery.getEntity(user.populationId)?.DisplayName;\n });\n }\n else {\n user.populationName = decodedToken.population_name;\n }\n user.portalId = decodedToken.portal_id;\n user.clubId = +decodedToken.clubId;\n user.sessionId = decodedToken.session_id;\n user.status = +decodedToken.account_status;\n user.clientType = +decodedToken.client_type;\n user.loginType = +decodedToken.login_type;\n user.clubs = decodedToken?.clubs;\n user.clientAttribute = decodedToken.client_attribute;\n user.tierId = decodedToken.tier_id;\n user.tierName = decodedToken.tier_name;\n if (decodedToken.customer_tags && decodedToken.customer_tags !== '[]') {\n user.customerTags = JSON.parse(decodedToken.customer_tags);\n }\n return user;\n }\n /* Support V1 SSO login as a user without a username and password.*/\n ssoLoginV1(sskey, cc, returnUrl) {\n this.logService.debug('Logging on with V1 SSO', {\n sskey,\n cc,\n returnUrl,\n });\n return this.api.post(`sso/ssov1?sskey=${sskey}&cc=${cc}&returnUrl=${returnUrl}`, {}).pipe(tap((authResponse) => {\n if (authResponse) {\n if (authResponse.ErrorNumber != 0) {\n this.logService.error('Failed V1 SSO login', authResponse.ErrorDescription);\n this.router.navigate([returnUrl]);\n }\n else {\n const accessToken = authResponse.Data.AccessToken;\n this.loginUsingToken(accessToken, authResponse.Data.RefreshToken, '/');\n }\n }\n }));\n }\n getAccessToken() {\n return localStorage.getItem('token') ?? '';\n }\n /**Switch Club ID with\n * @param clubId id of club\n * and set new tokens to localStore*/\n switchClub(clubId) {\n let refreshToken = localStorage.getItem('refresh');\n return !this.jwtHelper.isTokenExpired(refreshToken)\n ? this.api\n .post(`sso/switchclub/${clubId}`, `\"${refreshToken}\"`)\n .pipe(map((response) => {\n return this.loginUsingToken(response.AccessToken, response.RefreshToken);\n }))\n .toPromise()\n : of();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuthService, deps: [{ token: i4.JwtHelperService }, { token: ApiService }, { token: LoggingService }, { token: i4$1.CookieService }, { token: i5.DatePipe }, { token: MemberService }, { token: i2.Router }, { token: MemberCardService }, { token: MemberStore }, { token: ChildService }, { token: ChildStore }, { token: CardService }, { token: CardStore }, { token: MemberQuery }, { token: PopulationService }, { token: PopulationQuery }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuthService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuthService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: i4.JwtHelperService }, { type: ApiService }, { type: LoggingService }, { type: i4$1.CookieService }, { type: i5.DatePipe }, { type: MemberService }, { type: i2.Router }, { type: MemberCardService }, { type: MemberStore }, { type: ChildService }, { type: ChildStore }, { type: CardService }, { type: CardStore }, { type: MemberQuery }, { type: PopulationService }, { type: PopulationQuery }] });\n\nclass MemberResolver {\n constructor(memberService, logService, authService) {\n this.memberService = memberService;\n this.logService = logService;\n this.authService = authService;\n }\n resolve() {\n if (this.authService.isAuthenticated()) {\n this.logService.info('Resolving member details');\n return this.memberService.fetchMemberDetails();\n }\n return of(null);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberResolver, deps: [{ token: MemberService }, { token: LoggingService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberResolver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberResolver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: MemberService }, { type: LoggingService }, { type: AuthService }] });\n\nlet MembershipOptionStore = class MembershipOptionStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MembershipOptionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MembershipOptionStore, providedIn: 'root' }); }\n};\nMembershipOptionStore = __decorate([\n StoreConfig({ name: 'membership-option', idKey: 'MembershipOptionId' })\n], MembershipOptionStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MembershipOptionStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass MembershipOptionService {\n constructor(store, api) {\n this.store = store;\n this.api = api;\n }\n fetchMembershipOptions() {\n return this.api.get('membershipoptions').pipe(tap(membershipOptions => this.store.set(membershipOptions)), mapTo(null));\n }\n fetchRegistrationMembershipOptions() {\n return this.api.get('register/membershipoptions').pipe(tap(membershipOptions => this.store.set(membershipOptions)), mapTo(null));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MembershipOptionService, deps: [{ token: MembershipOptionStore }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MembershipOptionService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MembershipOptionService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: MembershipOptionStore }, { type: ApiService }] });\n\nclass MembershipOptionQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n selectPaid() {\n return this.selectAll({ filterBy: option => option.PaymentType === PaymentOptionType.Paid });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MembershipOptionQuery, deps: [{ token: MembershipOptionStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MembershipOptionQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MembershipOptionQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: MembershipOptionStore }] });\n\nclass RegistrationMembershipOptionResolver {\n constructor(membershipOptionService, loggingService) {\n this.membershipOptionService = membershipOptionService;\n this.loggingService = loggingService;\n }\n resolve(route) {\n this.loggingService.info('resolving membership options for wizard');\n return this.membershipOptionService.fetchRegistrationMembershipOptions();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RegistrationMembershipOptionResolver, deps: [{ token: MembershipOptionService }, { token: LoggingService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RegistrationMembershipOptionResolver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: RegistrationMembershipOptionResolver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: MembershipOptionService }, { type: LoggingService }] });\n\nfunction createInitialState$3() {\n return {};\n}\nlet MemberLoyaltyStatusStore = class MemberLoyaltyStatusStore extends Store {\n constructor() {\n super(createInitialState$3());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusStore, providedIn: 'root' }); }\n};\nMemberLoyaltyStatusStore = __decorate([\n StoreConfig({ name: 'member-loyalty-status' })\n], MemberLoyaltyStatusStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass MemberLoyaltyStatusService {\n constructor(memberLoyaltyStatusStore, api, memberQuery) {\n this.memberLoyaltyStatusStore = memberLoyaltyStatusStore;\n this.api = api;\n this.memberQuery = memberQuery;\n }\n fetchMemberLoyaltyStatus() {\n const user = this.memberQuery.getUserContext();\n return this.api.getAnySingle(`members/${user.memberId}/loyalty/${config.purseConfig.virtualLoyalty}`).pipe(tap(loyaltyStatus => this.memberLoyaltyStatusStore.update(loyaltyStatus)), mapTo(null));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusService, deps: [{ token: MemberLoyaltyStatusStore }, { token: ApiService }, { token: MemberQuery }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: MemberLoyaltyStatusStore }, { type: ApiService }, { type: MemberQuery }] });\n\nclass MemberLoyaltyStatusQuery extends Query {\n constructor(store) {\n super(store);\n this.store = store;\n }\n selectMemberAveragePoints() {\n return this.select(state => state.AveragePointsBalance);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusQuery, deps: [{ token: MemberLoyaltyStatusStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: MemberLoyaltyStatusStore }] });\n\nclass MemberLoyaltyStatusResolver {\n constructor(memberLoyaltyStatusService, loggingService) {\n this.memberLoyaltyStatusService = memberLoyaltyStatusService;\n this.loggingService = loggingService;\n }\n resolve() {\n this.loggingService.info('resolving member loyalty status info');\n return this.memberLoyaltyStatusService.fetchMemberLoyaltyStatus();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusResolver, deps: [{ token: MemberLoyaltyStatusService }, { token: LoggingService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusResolver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: MemberLoyaltyStatusResolver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: MemberLoyaltyStatusService }, { type: LoggingService }] });\n\nlet AlertStore = class AlertStore extends EntityStore {\n constructor() {\n super({});\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AlertStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AlertStore, providedIn: 'root' }); }\n};\nAlertStore = __decorate([\n StoreConfig({ name: 'alert', idKey: 'AlertId', cache: { ttl: 30000 } })\n], AlertStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AlertStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass AlertQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n /** select all user alerts from store as observable*/\n selectAlerts() {\n return this.selectAll();\n }\n /** get all user alerts from store */\n getAlerts() {\n return this.getAll();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AlertQuery, deps: [{ token: AlertStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AlertQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AlertQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AlertStore }] });\n\nclass AlertService {\n constructor(alertStore, alertQuery, api) {\n this.alertStore = alertStore;\n this.alertQuery = alertQuery;\n this.api = api;\n }\n /** fetches all alert preference options available for user */\n fetchUserAlertPreferences() {\n this.alertStore.setLoading(true);\n const request$ = this.api.get('alert').pipe(tap$1((alerts) => this.alertStore.set(alerts)), mapTo$1(null));\n return this.alertQuery.getHasCache() ? of(null) : request$;\n }\n /** Updates collection of user alert preferences */\n // TODO: change PUT PortalId to Alert Category ID after development for it is done\n updateUserAlertPreferences(alerts, portalId) {\n var storedAlerts = this.alertQuery.getAlerts();\n var updatedAlerts = alerts.filter(alert => storedAlerts.find(sa => sa.AlertId == alert.AlertId)?.Status != alert.Status);\n if (updatedAlerts.length) {\n this.api.put('alert/updatealerts', portalId, updatedAlerts).toPromise();\n this.alertStore.set(alerts);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AlertService, deps: [{ token: AlertStore }, { token: AlertQuery }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AlertService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AlertService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AlertStore }, { type: AlertQuery }, { type: ApiService }] });\n\nvar AddressType;\n(function (AddressType) {\n AddressType[AddressType[\"DefaultAddress\"] = 0] = \"DefaultAddress\";\n AddressType[AddressType[\"BillingAddress1\"] = 1] = \"BillingAddress1\";\n AddressType[AddressType[\"BillingAddress2\"] = 2] = \"BillingAddress2\";\n AddressType[AddressType[\"ShippingAddress1\"] = 3] = \"ShippingAddress1\";\n AddressType[AddressType[\"ShippingAddress2\"] = 4] = \"ShippingAddress2\";\n AddressType[AddressType[\"AutomaticTopUpAddress\"] = 5] = \"AutomaticTopUpAddress\";\n AddressType[AddressType[\"TopUpAddress\"] = 6] = \"TopUpAddress\";\n})(AddressType || (AddressType = {}));\n\nconst ADDRESS_DEFAULT_MOCK = {\n PortalId: '',\n AddressType: AddressType.DefaultAddress,\n ClubId: 0,\n MemberId: '',\n ExternalRefNumber: '',\n FirstName: '',\n Surname: '',\n AddressName: 'Default Address',\n Street: '',\n Town: '',\n County: '',\n Postcode: '',\n Country: '',\n HomeNumber: '',\n EmailAddress: '',\n};\nconst ADDRESS_SHIPPING_MOCK = {\n PortalId: '',\n AddressType: AddressType.ShippingAddress1,\n ClubId: 0,\n MemberId: '',\n ExternalRefNumber: '',\n FirstName: '',\n Surname: '',\n AddressName: 'Shipping Address 1',\n Street: '',\n Town: '',\n County: '',\n Postcode: '',\n Country: '',\n HomeNumber: '',\n EmailAddress: '',\n};\nconst VALID_ADDRESS_MOCK = {\n PortalId: '',\n AddressType: AddressType.DefaultAddress,\n ClubId: 0,\n MemberId: '',\n ExternalRefNumber: '',\n FirstName: 'First',\n Surname: 'Last',\n AddressName: 'Shipping Address 1',\n Street: 'Street',\n Town: 'City',\n County: 'County',\n Postcode: '54254',\n Country: 'Country',\n HomeNumber: '07111111111',\n EmailAddress: 'test@test.com',\n};\n\nlet AddressStore = class AddressStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressStore, providedIn: 'root' }); }\n};\nAddressStore = __decorate([\n StoreConfig({ name: 'address', idKey: 'AddressType', cache: { ttl: 20000 } })\n], AddressStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass AddressQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n /** All addresses. */\n selectAddresses(exclude) {\n return this.selectAll().pipe(map(addresses => addresses.filter(a => (!exclude || !exclude.includes(a.AddressType)))));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressQuery, deps: [{ token: AddressStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AddressStore }] });\n\nclass AddressService {\n constructor(addressStore, addressQuery, api) {\n this.addressStore = addressStore;\n this.addressQuery = addressQuery;\n this.api = api;\n }\n /** Fetches the addresses and puts them in the store. */\n fetchAddresses() {\n this.addressStore.setLoading(true);\n const request$ = this.api.get('addresses').pipe(tap(addresses => this.addressStore.set(addresses)), mapTo(null));\n return this.addressQuery.getHasCache() ? of(null) : request$;\n }\n /** Save address */\n saveAddress(address) {\n return this.api.put('addresses', '', address).pipe(tap(() => this.addressStore.setHasCache(false)), switchMap(() => this.fetchAddresses())).toPromise();\n }\n getTopUpAddress() {\n return this.api.getAnySingle('topup/topupaddress');\n }\n postTopUpAddress(topupaddress) {\n return this.api.post('topup/topupaddress', topupaddress).toPromise();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressService, deps: [{ token: AddressStore }, { token: AddressQuery }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AddressStore }, { type: AddressQuery }, { type: ApiService }] });\n\nclass AddressResolver {\n constructor(addressService, logService, memberQuery, authService) {\n this.addressService = addressService;\n this.logService = logService;\n this.memberQuery = memberQuery;\n this.authService = authService;\n }\n resolve(route) {\n const user = this.memberQuery.getValue().user;\n //Only fetch the latest addresses when we know the user is logged in\n if (user && this.authService.isAuthenticated()) {\n this.logService.info('Resolving addresses');\n return this.addressService.fetchAddresses();\n }\n return of(null);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressResolver, deps: [{ token: AddressService }, { token: LoggingService }, { token: MemberQuery }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressResolver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AddressResolver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AddressService }, { type: LoggingService }, { type: MemberQuery }, { type: AuthService }] });\n\nclass BalanceService {\n constructor(balanceStore, api, memberQuery) {\n this.balanceStore = balanceStore;\n this.api = api;\n this.memberQuery = memberQuery;\n }\n /** will return current member balance if memberId is null */\n fetchBalance(purse, memberId) {\n memberId = memberId || this.memberQuery.getUserContext().memberId;\n let id = [memberId, purse].join('-');\n const useExternalRefBalance = config.useExternalRefBalance ?? false;\n return this.api\n .getAnySingle(`purse/balance/${purse}?accountBalance=${useExternalRefBalance}`)\n .pipe(tap((acc) => this.balanceStore.upsert(id, { purseId: purse, memberId: memberId || '', balance: acc.TotalBalanceAllowedToSpend })));\n }\n debitBalance(purse, amount, memberId) {\n if (amount < 0) {\n throw new Error('cannot debit a negative amount');\n }\n memberId = memberId || this.memberQuery.getUserContext().memberId;\n let id = [memberId, purse].join('-');\n this.balanceStore.update(id, (b) => {\n return { balance: b.balance - amount };\n });\n }\n addBalance(purse, amount, memberId) {\n if (amount < 0) {\n throw new Error('cannot add a negative amount');\n }\n memberId = memberId || this.memberQuery.getUserContext().memberId;\n let id = [memberId, purse].join('-');\n this.balanceStore.update(id, (b) => {\n return { balance: b.balance + amount };\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BalanceService, deps: [{ token: BalanceStore }, { token: ApiService }, { token: MemberQuery }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BalanceService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BalanceService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: BalanceStore }, { type: ApiService }, { type: MemberQuery }] });\n\nclass BalanceResolver {\n constructor(balanceService, logService) {\n this.balanceService = balanceService;\n this.logService = logService;\n }\n resolve() {\n let ecash$ = this.balanceService.fetchBalance(config.purseConfig.combined);\n let points$ = this.balanceService.fetchBalance(config.purseConfig.virtualLoyalty);\n return forkJoin([ecash$, points$]).pipe(mapTo(null), catchError((error) => {\n this.logService.error('[Balance Resolver] Request Error', error.error.Message);\n return of(null);\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BalanceResolver, deps: [{ token: BalanceService }, { token: LoggingService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BalanceResolver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BalanceResolver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: BalanceService }, { type: LoggingService }] });\n\nfunction getLoyaltyBalance() {\n assertInInjectionContext(getLoyaltyBalance);\n const virtualLoyalty = 6;\n const memberId = inject(MemberQuery).getUserContext().memberId;\n return inject(BalanceQuery).getEntity([memberId, virtualLoyalty].join('-'))?.balance || 0;\n}\n\nvar AnnouncementLinkType;\n(function (AnnouncementLinkType) {\n AnnouncementLinkType[AnnouncementLinkType[\"NoAction\"] = 0] = \"NoAction\";\n AnnouncementLinkType[AnnouncementLinkType[\"Internal\"] = 1] = \"Internal\";\n AnnouncementLinkType[AnnouncementLinkType[\"External\"] = 2] = \"External\";\n})(AnnouncementLinkType || (AnnouncementLinkType = {}));\n\n// tslint:disable: variable-name\nconst ANNOUNCMENET_MOCK = [\n {\n Id: 1,\n Title: 'Announcenement',\n Type: 1,\n Description: '',\n ShortDescription: '',\n StartDate: new Date(),\n EndDate: new Date(),\n Active: true,\n Ordinal: 1,\n GameNumber: 1,\n GameTitle: '',\n Image: 'image.jpg',\n RequestTime: new Date(),\n LinkUrl: 'https://link.com/',\n LinkTitle: '',\n LinkType: AnnouncementLinkType.External,\n AllowComingSoon: false,\n ComingSoonDate: '2022-06-01T11:00:00',\n ComingSoonDescription: '',\n ComingSoonTitle: ''\n },\n {\n Id: 2,\n Title: 'Announcenement',\n Type: 2,\n Description: '',\n ShortDescription: '',\n StartDate: new Date(),\n EndDate: new Date(),\n Active: true,\n Ordinal: 2,\n GameNumber: 2,\n GameTitle: '',\n Image: 'image.jpg',\n RequestTime: new Date(),\n LinkUrl: 'https://link.com/',\n LinkTitle: '',\n LinkType: AnnouncementLinkType.Internal,\n AllowComingSoon: false,\n ComingSoonDate: '2022-06-01T11:00:00',\n ComingSoonDescription: '',\n ComingSoonTitle: ''\n },\n {\n Id: 3,\n Title: 'Announcenement',\n Type: 3,\n Description: '',\n ShortDescription: '',\n StartDate: new Date(),\n EndDate: new Date(),\n Active: true,\n Ordinal: 3,\n GameNumber: 3,\n GameTitle: '',\n Image: 'image.jpg',\n RequestTime: new Date(),\n LinkUrl: 'https://link.com/',\n LinkTitle: '',\n LinkType: AnnouncementLinkType.NoAction,\n AllowComingSoon: false,\n ComingSoonDate: '2022-06-01T11:00:00',\n ComingSoonDescription: '',\n ComingSoonTitle: ''\n },\n];\n\nlet AnnouncementStore = class AnnouncementStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AnnouncementStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AnnouncementStore, providedIn: 'root' }); }\n};\nAnnouncementStore = __decorate([\n StoreConfig({ name: 'announcement', cache: { ttl: 60000 }, idKey: 'Id' })\n], AnnouncementStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AnnouncementStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass AnnouncementQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n /** All club announcements. */\n announcements() {\n return this.selectAll();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AnnouncementQuery, deps: [{ token: AnnouncementStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AnnouncementQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AnnouncementQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AnnouncementStore }] });\n\nclass AnnouncementService {\n constructor(announcementStore, api, announcementQuery) {\n this.announcementStore = announcementStore;\n this.api = api;\n this.announcementQuery = announcementQuery;\n }\n /** Fetch all announcements and put them in the store. */\n fetchAnnouncements() {\n this.announcementStore.setLoading(true);\n const request$ = this.api.get('announcements').pipe(tap(announcements => {\n this.announcementStore.set(announcements);\n }), mapTo(null));\n return this.announcementQuery.getHasCache() ? of(null) : request$;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AnnouncementService, deps: [{ token: AnnouncementStore }, { token: ApiService }, { token: AnnouncementQuery }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AnnouncementService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AnnouncementService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AnnouncementStore }, { type: ApiService }, { type: AnnouncementQuery }] });\n\nclass ContactService {\n constructor(api) {\n this.api = api;\n }\n /** Get the categories of contact types */\n getCategories() {\n return this.api.get('contactus/categories');\n }\n /** Send the message for the api to email */\n async sendMessage(message) {\n return await this.api.post('contactus/send', message).toPromise();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ContactService, deps: [{ token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ContactService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ContactService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: () => [{ type: ApiService }] });\n\nvar CompanyType;\n(function (CompanyType) {\n CompanyType[CompanyType[\"All\"] = 0] = \"All\";\n CompanyType[CompanyType[\"Fortress\"] = 1] = \"Fortress\";\n CompanyType[CompanyType[\"Club\"] = 2] = \"Club\";\n CompanyType[CompanyType[\"Sponsor\"] = 3] = \"Sponsor\";\n CompanyType[CompanyType[\"Affiliate\"] = 4] = \"Affiliate\";\n})(CompanyType || (CompanyType = {}));\n\nlet CompanyStore = class CompanyStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyStore, providedIn: 'root' }); }\n};\nCompanyStore = __decorate([\n StoreConfig({ name: 'company', idKey: 'CompanyId', cache: { ttl: 20000 } })\n], CompanyStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass CompanyQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n selectCompanies() {\n return this.selectAll();\n }\n selectCompany(companyId) {\n return this.selectEntity(companyId);\n }\n /** returns all companies marked as favourite */\n selectFavouriteCompanies() {\n return this.selectAll({ filterBy: (company) => company.Favourite === true });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyQuery, deps: [{ token: CompanyStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: CompanyStore }] });\n\nclass CompanyService {\n constructor(companyStore, companyQuery, api) {\n this.companyStore = companyStore;\n this.companyQuery = companyQuery;\n this.api = api;\n }\n /** Fetches all the companies and puts them in the company store. */\n fetchAllCompanies() {\n this.companyStore.setLoading(true);\n const request$ = this.api.get('companies').pipe(tap((companies) => {\n this.companyStore.upsertMany(companies);\n }), mapTo(null));\n return this.companyQuery.getHasCache() ? of(null) : request$;\n }\n /** Fetch a specific company and puts it in the store */\n fetchCompany(companyId) {\n this.companyStore.setLoading(true);\n const request$ = this.api.getAnySingle('companies/' + companyId).pipe(tap((company) => this.companyStore.upsert(companyId, company)), mapTo(null));\n return request$;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyService, deps: [{ token: CompanyStore }, { token: CompanyQuery }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: CompanyStore }, { type: CompanyQuery }, { type: ApiService }] });\n\nconst COMPANY_OFFERS_MOCK = [\n {\n CompanyId: 0,\n Content: [\n {\n Description: 'No matter where you are or need to go, Europcar has the right car rental for you.',\n LCID: 2057,\n Name: 'Europcar',\n },\n ],\n DepartmentId: 24,\n EndDate: new Date('2021-09-16T11:29:00'),\n Favorite: 0,\n GameNumber: 0,\n ImageUrl: 'europcarDepartment2.jpg',\n OfferId: 9,\n OfferType: 1,\n StartDate: new Date('2021-04-01T11:28:00'),\n TermsAndConditions: '',\n TermsAndConditionsType: 0,\n CategoryTags: [],\n },\n {\n CompanyId: 1,\n Content: [\n {\n Description: \"Cadbury Gifts Direct also features a 'pick and mix' section enable you to create your own unique Cadbury hamper filled with all your favorites.\",\n LCID: 2057,\n Name: 'Cadbury Gifts',\n },\n ],\n DepartmentId: 25,\n EndDate: new Date('2021-09-16T11:29:00'),\n Favorite: 1,\n GameNumber: 0,\n ImageUrl: 'cadburyGiftDepartment2.jpg',\n OfferId: 11,\n OfferType: 0,\n StartDate: new Date('2021-04-01T11:28:00'),\n TermsAndConditions: '',\n TermsAndConditionsType: 0,\n CategoryTags: [],\n },\n];\n\nvar CompanyOfferType;\n(function (CompanyOfferType) {\n CompanyOfferType[CompanyOfferType[\"ExternalWebsite\"] = 0] = \"ExternalWebsite\";\n CompanyOfferType[CompanyOfferType[\"Discount\"] = 1] = \"Discount\";\n CompanyOfferType[CompanyOfferType[\"CouponCode\"] = 2] = \"CouponCode\";\n CompanyOfferType[CompanyOfferType[\"Affiliate\"] = 3] = \"Affiliate\";\n CompanyOfferType[CompanyOfferType[\"NoAction\"] = 4] = \"NoAction\";\n CompanyOfferType[CompanyOfferType[\"SingleSignOn\"] = 5] = \"SingleSignOn\";\n})(CompanyOfferType || (CompanyOfferType = {}));\n\nvar TermsAndConditionsDisplayType;\n(function (TermsAndConditionsDisplayType) {\n /** No T&Cs */\n TermsAndConditionsDisplayType[TermsAndConditionsDisplayType[\"None\"] = 0] = \"None\";\n /** Text T&Cs displayed on site */\n TermsAndConditionsDisplayType[TermsAndConditionsDisplayType[\"Text\"] = 1] = \"Text\";\n /** External T&Cs */\n TermsAndConditionsDisplayType[TermsAndConditionsDisplayType[\"Url\"] = 2] = \"Url\";\n})(TermsAndConditionsDisplayType || (TermsAndConditionsDisplayType = {}));\n\nlet CompanyOfferStore = class CompanyOfferStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyOfferStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyOfferStore, providedIn: 'root' }); }\n};\nCompanyOfferStore = __decorate([\n StoreConfig({ name: 'offer', idKey: 'OfferId', cache: { ttl: 20000 } })\n], CompanyOfferStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyOfferStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass CompanyOfferQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n /**\n * select all available offers\n */\n selectAllOffers() {\n return this.selectAll();\n }\n /**\n * Selects all other offers from the same company\n * @param offerId - offerId to return related offers for\n */\n selectRelatedOffers(offerId) {\n let offer = this.getEntity(offerId);\n if (!offer) {\n return of(offer);\n }\n const foundOffer = offer;\n return this.selectAll({\n filterBy: (relatedOffer) => relatedOffer.CompanyId == foundOffer.CompanyId && relatedOffer.OfferId !== foundOffer.OfferId,\n });\n }\n /**\n * Selects all offers from different companies\n * @param companyId Company to exclude\n */\n selectOtherOffers(companyId) {\n return this.selectAll({ filterBy: (offer) => offer.CompanyId !== companyId });\n }\n /**\n * select a given offer using its offerId\n * @param offerId - Offer to retreive\n */\n selectOffer(offerId) {\n return this.selectEntity(offerId);\n }\n /**\n * select all offers for a given company\n * @param companyId - Company to retreive offers for\n */\n selectCompanyOffers(companyId) {\n return this.selectAll({ filterBy: (offer) => offer.CompanyId == companyId });\n }\n /**\n * select all featured offers\n */\n selectFeaturedOffers() {\n return this.selectAll({ filterBy: (offer) => offer.Favorite == 1 });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyOfferQuery, deps: [{ token: CompanyOfferStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyOfferQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyOfferQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: CompanyOfferStore }] });\n\nvar LoyaltyCategoryType;\n(function (LoyaltyCategoryType) {\n LoyaltyCategoryType[LoyaltyCategoryType[\"None\"] = 0] = \"None\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Facebook\"] = 101] = \"Facebook\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Twitter\"] = 102] = \"Twitter\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"GooglePlus\"] = 103] = \"GooglePlus\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"FourSquare\"] = 104] = \"FourSquare\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Instagram\"] = 105] = \"Instagram\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Youtube\"] = 106] = \"Youtube\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Membership\"] = 200] = \"Membership\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Payment\"] = 201] = \"Payment\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Events\"] = 202] = \"Events\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Notification\"] = 203] = \"Notification\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Ticketing\"] = 204] = \"Ticketing\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Marketplace\"] = 205] = \"Marketplace\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Lotto\"] = 206] = \"Lotto\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Voucher\"] = 207] = \"Voucher\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Auction\"] = 208] = \"Auction\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Surveys\"] = 209] = \"Surveys\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Fantasy\"] = 210] = \"Fantasy\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Announcements\"] = 211] = \"Announcements\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"PortalProducts\"] = 212] = \"PortalProducts\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Guardians\"] = 213] = \"Guardians\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"GiftCodes\"] = 214] = \"GiftCodes\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"UINotifications\"] = 215] = \"UINotifications\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Worksheet\"] = 216] = \"Worksheet\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"CompanyOffer\"] = 217] = \"CompanyOffer\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Scorecard\"] = 218] = \"Scorecard\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Benefits\"] = 219] = \"Benefits\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Games\"] = 220] = \"Games\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"Transactions\"] = 280] = \"Transactions\";\n LoyaltyCategoryType[LoyaltyCategoryType[\"MLBAMapp\"] = 300] = \"MLBAMapp\";\n})(LoyaltyCategoryType || (LoyaltyCategoryType = {}));\n\nclass CompanyOfferService {\n constructor(companyOfferStore, api) {\n this.companyOfferStore = companyOfferStore;\n this.api = api;\n this.offersCategories = [];\n }\n /**\n * Fetch company offers for a given company and department\n * If CompanyId is set to 0, all Company offers are returned\n * If DepartmentId is set to 0 and Company set to 1, all Departments for CompanyId = 1 will be returned\n * If CompanyId and DepartmentId are 0, all offers for all comapnies/departments are retreived\n * @param companyId - company to fetch offers for - if 0 it will fetch all companies\n * @param departmentId - which company department to retreive offers for - if 0 all departments returned\n */\n fetchOffers(companyId, departmentId) {\n const request$ = this.api\n .getAnySingle(`companies/offers?companyId=${companyId}&departmentId=${departmentId}`)\n .pipe(tap((offers) => this.companyOfferStore.upsertMany(offers)), mapTo(null));\n return request$;\n }\n /**\n * Fetches the offer categories and stores them in the service.\n * If the service already loaded them, returns stored value.\n * @returns array of ClubCategoryTag as observable\n * */\n fetchOfferCategories() {\n if (!this.offersCategories.length) {\n return this.api.getAnySingle(`loyalty/categories/${LoyaltyCategoryType.CompanyOffer}`).pipe(tap((categories) => {\n this.offersCategories = categories;\n }));\n }\n else {\n return of(this.offersCategories);\n }\n }\n //TODO: This responses for this service method have not yet been fully defined\n async claimOffer(offerId) {\n return await this.api.post(`companies/claim/${offerId}`, offerId).toPromise();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyOfferService, deps: [{ token: CompanyOfferStore }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyOfferService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CompanyOfferService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: CompanyOfferStore }, { type: ApiService }] });\n\nvar DepartmentType;\n(function (DepartmentType) {\n DepartmentType[DepartmentType[\"All\"] = 0] = \"All\";\n DepartmentType[DepartmentType[\"Admin\"] = 1] = \"Admin\";\n DepartmentType[DepartmentType[\"Club\"] = 2] = \"Club\";\n DepartmentType[DepartmentType[\"Sponsor\"] = 3] = \"Sponsor\";\n DepartmentType[DepartmentType[\"SupportersClub\"] = 4] = \"SupportersClub\";\n DepartmentType[DepartmentType[\"Affiliate\"] = 5] = \"Affiliate\";\n})(DepartmentType || (DepartmentType = {}));\n/**\n * A factory function that creates Department\n */\nfunction createDepartment(params) {\n return {};\n}\n\nconst DEPARTMENT_MOCK = {\n DepartmentId: 24,\n CompanyId: 50,\n DisplayName: 'Department Name',\n Description: 'Department Description',\n Location: '01 Fake Street, PO0000 London',\n City: 'London',\n County: '',\n PostCode: 'PO0000',\n ImageUrl: 'assets/images/placeholders/404placeholder.svg',\n PageText: 'This is the text page',\n Link: '',\n WebsiteUrl: '',\n DepartmentType: 0,\n Balance: 0,\n Active: 1,\n EmailAddress: '',\n Longitude: 0.069782,\n Latitude: 51.624098,\n GeoLocation: {\n accuracy: 0,\n latitude: 51.624098,\n longitude: 0.069782,\n timestamp: 0,\n },\n Ordinal: 0,\n};\n\nfunction createInitialState$2() {\n return {\n parentCompany: new Array()\n };\n}\nlet DepartmentStore = class DepartmentStore extends EntityStore {\n constructor() {\n super(createInitialState$2());\n }\n addCachedCompany(parentCompanyId) {\n let dateCached = new Date();\n let parentCacheIdentifier = { parentCompanyId, dateCached };\n this.update(x => {\n let state = {\n parentCompany: x.parentCompany\n };\n state.parentCompany = x.parentCompany.concat([parentCacheIdentifier]);\n return state;\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentStore, providedIn: 'root' }); }\n};\nDepartmentStore = __decorate([\n StoreConfig({ name: 'department', idKey: 'DepartmentId', cache: { ttl: 20000 } })\n], DepartmentStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass DepartmentQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n selectDepartments(companyId) {\n return this.selectAll({\n filterBy: (entity) => entity.CompanyId === companyId,\n });\n }\n selectDepartment(departmentId) {\n return this.selectEntity(departmentId);\n }\n getDepartment(departmentId) {\n return this.getEntity(departmentId);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentQuery, deps: [{ token: DepartmentStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: DepartmentStore }] });\n\nclass DepartmentService {\n constructor(departmentStore, departmentQuery, api) {\n this.departmentStore = departmentStore;\n this.departmentQuery = departmentQuery;\n this.api = api;\n /** ms to cache departments */\n this.ttl = 60000;\n }\n /** Checks if the department is already cached using the parentCompany in the store */\n isCached(companyId) {\n return (this.departmentQuery.getValue().parentCompany\n .filter(d => d.parentCompanyId === companyId && this.cachedTimeout(d.dateCached))\n .length > 0);\n }\n /** Checks if the date cached is less than the ttl */\n cachedTimeout(dateCached) {\n let timeDiff = new Date().getTime() - dateCached.getTime();\n return timeDiff < this.ttl;\n }\n /** Fetches all the departments and puts them into the store */\n fetchDepartments(companyId) {\n if (this.isCached(companyId)) {\n return of(null);\n }\n let source = this.api.get('companies/' + companyId + '/departments');\n return source.pipe(tap(departments => this.departmentStore.upsertMany(departments)), tap(() => this.departmentStore.addCachedCompany(companyId)), mapTo(null));\n }\n processAffiliate(companyId, departmentId) {\n return this.api.post(`companies/${companyId}/departments/${departmentId}/affiliate`, '', undefined);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentService, deps: [{ token: DepartmentStore }, { token: DepartmentQuery }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: DepartmentStore }, { type: DepartmentQuery }, { type: ApiService }] });\n\nclass DepartmentResolver {\n constructor(departmentService) {\n this.departmentService = departmentService;\n }\n resolve(route, state) {\n return this.departmentService.fetchDepartments(route.params.companyId);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentResolver, deps: [{ token: DepartmentService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentResolver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: DepartmentResolver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: DepartmentService }] });\n\nclass SignalRBaseHub {\n constructor(logService, authService, jwtHelper) {\n this.logService = logService;\n this.authService = authService;\n this.jwtHelper = jwtHelper;\n /**\n * Subject which says if a connection is currently established\n */\n this.connectionEstablished$ = new BehaviorSubject(false);\n }\n /**\n * Stop SignalR connection\n */\n stopSignalR() {\n if (this.hubConnection.state === HubConnectionState.Connected) {\n this.hubConnection.stop();\n }\n }\n /**\n * Start SignalR connection only if it's not disconnected\n */\n startConnection() {\n if (this.hubConnection.state !== HubConnectionState.Disconnected) {\n return;\n }\n this.hubConnection.start().then(() => {\n this.logService.info('Connection started');\n this.connectionEstablished$.next(true);\n }, (error) => this.logService.error(error));\n }\n /**\n * Register .on server events\n */\n registerOnServerEvents() {\n this.hubConnection.onreconnecting(() => {\n this.logService.info('signalr is trying to reconnect');\n });\n this.hubConnection.onreconnected(() => {\n this.logService.info('signalr has been reconnected');\n });\n this.hubConnection.onclose(() => {\n this.connectionEstablished$.next(false);\n this.logService.info('signalr has been closed');\n if (this.hubConnection.state === HubConnectionState.Disconnected) {\n setTimeout(() => this.startConnection(), 3000);\n }\n });\n }\n joinGroup(groupName) {\n return this.connectionEstablished$.pipe(tap(connection => {\n if (connection) {\n this.hubConnection.invoke('AddToGroup', groupName).catch((err) => this.logService.info(err));\n }\n }), mapTo(null));\n }\n removeFromGroup(groupName) {\n if (this.hubConnection.state === HubConnectionState.Connected) {\n this.hubConnection.invoke('RemoveFromGroup', groupName).catch((err) => this.logService.info(err));\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRBaseHub, deps: [{ token: LoggingService }, { token: AuthService }, { token: i4.JwtHelperService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRBaseHub, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRBaseHub, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: LoggingService }, { type: AuthService }, { type: i4.JwtHelperService }] });\n\nconst lowerCaseKeys = (obj) => {\n if (typeof obj !== 'object' || !obj) {\n return obj;\n }\n if (Array.isArray(obj) && obj.length) {\n var mappedArr = obj.map(lowerCaseKeys);\n return mappedArr;\n }\n const entries = Object.entries(obj);\n const mappedEntries = entries.map(([k, v]) => {\n return [`${k.substr(0, 1).toLowerCase()}${k.substr(1)}`, lowerCaseKeys(v)];\n });\n return Object.fromEntries(mappedEntries);\n};\n\n/**\n * Retrieves the message language associated with the supplied LCID\n * @param languages Array of languages associated with the notification\n * @param lcid LCID of the notification we want\n * @returns The language associated with the lcid supplied otherwise the first record if it has one. Otherwise undefined\n */\nfunction getMessageLanguageForLcid(languages, lcid) {\n if (languages && lcid) {\n if (languages.some((ml) => ml.lcid === lcid)) {\n return languages.find((ml) => ml.lcid === lcid);\n }\n else {\n return languages[0];\n }\n }\n return undefined;\n}\n\nconst initialState = {\n total: 0,\n unseenCount: 0,\n ui: {\n isOpen: false,\n currentPage: 1,\n amountPerPage: 10,\n },\n};\nlet NotificationCenterStore = class NotificationCenterStore extends EntityStore {\n constructor() {\n super(initialState);\n }\n updateUI(ui) {\n this.update((state) => ({\n ui: {\n ...state.ui,\n ...ui,\n },\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterStore, providedIn: 'root' }); }\n};\nNotificationCenterStore = __decorate([\n StoreConfig({ name: 'notification-center', idKey: 'id' })\n], NotificationCenterStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nlet NotificationsCenterMappingStore = class NotificationsCenterMappingStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationsCenterMappingStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationsCenterMappingStore, providedIn: 'root' }); }\n};\nNotificationsCenterMappingStore = __decorate([\n StoreConfig({ name: 'notifications-center-mapping', idKey: 'loyaltyActionId' })\n], NotificationsCenterMappingStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationsCenterMappingStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass NotificationsCenterMappingService {\n constructor(notificationsCenterMappingStore, api) {\n this.notificationsCenterMappingStore = notificationsCenterMappingStore;\n this.api = api;\n }\n /**\n * Retrieve all of the notification mappings\n */\n fetchNotificationMappings() {\n const request$ = this.api.get('notificationscenter/mappings').pipe(tap((mappings) => {\n this.notificationsCenterMappingStore.set(lowerCaseKeys(mappings));\n }), mapTo(null));\n return request$;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationsCenterMappingService, deps: [{ token: NotificationsCenterMappingStore }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationsCenterMappingService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationsCenterMappingService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: NotificationsCenterMappingStore }, { type: ApiService }] });\n\nlet NotificationManagementStore = class NotificationManagementStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementStore, providedIn: 'root' }); }\n};\nNotificationManagementStore = __decorate([\n StoreConfig({ name: 'notification-management', idKey: 'NotificationGroupId' })\n], NotificationManagementStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass NotificationManagementService {\n constructor(notificationManagementStore, api) {\n this.notificationManagementStore = notificationManagementStore;\n this.api = api;\n }\n /**\n * Retrieve all of the notification mangement groups for user\n */\n fetchNotificationGroups() {\n const request$ = this.api.get('notificationsmanagement').pipe(tap((groups) => {\n this.notificationManagementStore.set(groups);\n }));\n return cacheable(this.notificationManagementStore, request$).pipe(mapTo(null));\n }\n /**\n * Post the update of the group to the api and update the store with response\n */\n updateGroup(groupDto) {\n this.api\n .post('notificationsmanagement/updategroup', groupDto)\n .subscribe((group) => {\n this.notificationManagementStore.update(group.NotificationGroupId, { Active: group.Active });\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementService, deps: [{ token: NotificationManagementStore }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: NotificationManagementStore }, { type: ApiService }] });\n\nfunction GroupHasLoyaltyTypeAndIsActive(group, loyaltyActionId) {\n if (!group.NotificationGroupItems || group.NotificationGroupItems.length === 0) {\n return false;\n }\n const foundItem = GetItemByLoyaltyId(group.NotificationGroupItems, loyaltyActionId);\n if (foundItem) {\n if (group.Active && foundItem.Active) {\n return true;\n }\n else if (!group.Active && foundItem.Active && foundItem.Critical) {\n return true;\n }\n }\n return false;\n}\nfunction GetItemByLoyaltyId(groupItems, loyaltyActionId) {\n for (const item of groupItems) {\n if (item.LoyaltyActionId === loyaltyActionId) {\n return item;\n }\n }\n return undefined;\n}\n\n/** Loyalty action types that are used for notifications */\nvar NotificationLoyaltyType;\n(function (NotificationLoyaltyType) {\n /** Null action */\n NotificationLoyaltyType[NotificationLoyaltyType[\"None\"] = 0] = \"None\";\n /** Auction Outbid Action */\n NotificationLoyaltyType[NotificationLoyaltyType[\"AuctionOutBid\"] = 200026] = \"AuctionOutBid\";\n /** Marketplace Purchase */\n NotificationLoyaltyType[NotificationLoyaltyType[\"MarketplaceOrderProcessed\"] = 220001] = \"MarketplaceOrderProcessed\";\n /** Voucher code entered */\n NotificationLoyaltyType[NotificationLoyaltyType[\"VoucherCodeEntered\"] = 220000] = \"VoucherCodeEntered\";\n /** Scorecard Complete */\n NotificationLoyaltyType[NotificationLoyaltyType[\"ScorecardComplete\"] = 200077] = \"ScorecardComplete\";\n /** Points notification */\n NotificationLoyaltyType[NotificationLoyaltyType[\"PointsNotification\"] = 230007] = \"PointsNotification\";\n /** Ecash spend */\n NotificationLoyaltyType[NotificationLoyaltyType[\"EcashSpend\"] = 200080] = \"EcashSpend\";\n /** Attendance Check in (from access control) */\n NotificationLoyaltyType[NotificationLoyaltyType[\"AttendanceCheckIn\"] = 200079] = \"AttendanceCheckIn\";\n /** Answer trivia */\n NotificationLoyaltyType[NotificationLoyaltyType[\"AnswerTrivia\"] = 200044] = \"AnswerTrivia\";\n /** Lotto won */\n NotificationLoyaltyType[NotificationLoyaltyType[\"LottoWon\"] = 200081] = \"LottoWon\";\n /** Auction won */\n NotificationLoyaltyType[NotificationLoyaltyType[\"AuctionWon\"] = 200027] = \"AuctionWon\";\n /** AuctionBidPlaced */\n NotificationLoyaltyType[NotificationLoyaltyType[\"AuctionBidPlaced\"] = 200025] = \"AuctionBidPlaced\";\n /** Scorecard Action Complete */\n NotificationLoyaltyType[NotificationLoyaltyType[\"ScorecardActionComplete\"] = 200086] = \"ScorecardActionComplete\";\n /** Scorecard Milestone Complete */\n NotificationLoyaltyType[NotificationLoyaltyType[\"ScorecardMilestoneComplete\"] = 200083] = \"ScorecardMilestoneComplete\";\n /** Campaign Manager Notification */\n NotificationLoyaltyType[NotificationLoyaltyType[\"CampaignManagerNotification\"] = 231000] = \"CampaignManagerNotification\";\n /** Scorecard Expiration Notification */\n NotificationLoyaltyType[NotificationLoyaltyType[\"ScorecardExpirationNotification\"] = 231001] = \"ScorecardExpirationNotification\";\n /** Scorecard Activation Notification */\n NotificationLoyaltyType[NotificationLoyaltyType[\"ScorecardActivationNotification\"] = 231002] = \"ScorecardActivationNotification\";\n})(NotificationLoyaltyType || (NotificationLoyaltyType = {}));\n\nclass NotificationManagementQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n /**\n * Checks the supplied loyaltyActionId against the store\n * and sees if the user allows this notification to be shown or if the notification is critical\n */\n loyaltyTypeIsActive(loyaltyActionId) {\n if (loyaltyActionId === NotificationLoyaltyType.None) {\n return true;\n }\n for (const group of this.getAll()) {\n const active = GroupHasLoyaltyTypeAndIsActive(group, loyaltyActionId);\n if (active) {\n return true;\n }\n }\n return false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementQuery, deps: [{ token: NotificationManagementStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: NotificationManagementStore }] });\n\n/**\n * Message display type , used to alter the display of the notification\n */\nvar NotificationCenterMessageType;\n(function (NotificationCenterMessageType) {\n NotificationCenterMessageType[NotificationCenterMessageType[\"Toast\"] = 1] = \"Toast\";\n // Full screen not used currently\n // Fullscreen = 2,\n NotificationCenterMessageType[NotificationCenterMessageType[\"PersistentToast\"] = 3] = \"PersistentToast\";\n NotificationCenterMessageType[NotificationCenterMessageType[\"Alert\"] = 4] = \"Alert\";\n})(NotificationCenterMessageType || (NotificationCenterMessageType = {}));\n/**\n * Action type of the notification, used to change the action of the notification\n */\nvar NotificationCenterActionType;\n(function (NotificationCenterActionType) {\n /** No link */\n NotificationCenterActionType[NotificationCenterActionType[\"NoAction\"] = 1] = \"NoAction\";\n /** Internal link built via notification center mappings */\n NotificationCenterActionType[NotificationCenterActionType[\"InternalLink\"] = 2] = \"InternalLink\";\n /** Action is to be used as the full url */\n NotificationCenterActionType[NotificationCenterActionType[\"ExternalLink\"] = 3] = \"ExternalLink\";\n})(NotificationCenterActionType || (NotificationCenterActionType = {}));\n\nclass NotificationsCenterMappingQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n /**\n * Gets the mapping url as a string for use as the link on the notification\n * @param notification Notification we want to get the mapping for\n */\n getMappingFromNotifciation(notification) {\n let mappingForLoyalty = this.getAll().find((nm) => nm.loyaltyActionId === notification.loyaltyActionId);\n if (!notification) {\n return '';\n }\n switch (notification.actionType) {\n case NotificationCenterActionType.NoAction:\n return '';\n case NotificationCenterActionType.InternalLink:\n return this.getInternalMappingLink(notification);\n case NotificationCenterActionType.ExternalLink:\n return mappingForLoyalty?.actionUrl;\n }\n }\n /**\n * Gets the mapping url for the internal mapping, when the actiontype is internal\n * @param notification Notification for the internal mapping\n */\n getInternalMappingLink(notification) {\n let mappingForLoyalty = this.getAll().find((nm) => nm.loyaltyActionId === notification.loyaltyActionId);\n if (!mappingForLoyalty || !mappingForLoyalty.mappingExists) {\n return '';\n }\n return mappingForLoyalty.actionUrl;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationsCenterMappingQuery, deps: [{ token: NotificationsCenterMappingStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationsCenterMappingQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationsCenterMappingQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: NotificationsCenterMappingStore }] });\n\nclass NotificationCenterService {\n constructor(store, mappingService, notificationManagementService, notificationManagementQuery, api, memberQuery, mappingQuery) {\n this.store = store;\n this.mappingService = mappingService;\n this.notificationManagementService = notificationManagementService;\n this.notificationManagementQuery = notificationManagementQuery;\n this.api = api;\n this.memberQuery = memberQuery;\n this.mappingQuery = mappingQuery;\n this.notificationReceived$ = new Subject();\n }\n /**\n * Retrieve the first page for the notification center\n * @param pageSize Size of the page\n */\n fetchNotificationCenter(pageSize = 10) {\n const params = new HttpParams().set('page', '1').set('pageSize', pageSize.toString());\n const notificationRequest$ = this.api\n .getAnySingle('notificationscenter?' + params.toString())\n .pipe(tap((notifications) => {\n notifications = lowerCaseKeys(notifications);\n this.updateTotal(notifications.totalCount);\n this.store.set(notifications.items);\n }));\n let requests$ = combineLatest([\n notificationRequest$,\n this.mappingService.fetchNotificationMappings(),\n this.notificationManagementService.fetchNotificationGroups(),\n this.getUnseenNotificationCount(),\n ]);\n this.updateAmountPerPage(pageSize);\n return cacheable(this.store, requests$).pipe(mapTo(null));\n }\n /**\n * Get the current unseen notification count for the user\n */\n getUnseenNotificationCount() {\n return this.api.getAnySingle('notificationscenter/getunseencount').pipe(tap((count) => {\n this.updateUnseenCount(count);\n }));\n }\n /**\n * Retrieve a paged array for the notification center\n * @param page Page number\n * @param pageSize Size of the page\n */\n getNotificationCenterPage(page, pageSize = 10) {\n const params = new HttpParams().set('page', page.toString()).set('pageSize', pageSize.toString());\n return this.api.getAnySingle('notificationscenter?' + params.toString()).pipe(tap((notifications) => {\n if (notifications) {\n notifications = lowerCaseKeys(notifications);\n this.updateTotal(notifications.totalCount);\n this.store.upsertMany(notifications.items);\n }\n }), mapTo(null));\n }\n /**\n * Post back to the API a list of notification ids that we have seen\n * @param notificationIds Array of notification Ids tht we have seen\n */\n postNotificationsAsRead(notificationIds) {\n return this.api\n .postWithArray('notificationscenter/read', notificationIds)\n .pipe(tap(() => {\n let utcNow = moment$1.utc().toDate();\n this.store.update(notificationIds, { isRead: true, readDate: utcNow });\n }), mapTo(null))\n .toPromise();\n }\n /**\n * Set the isOpen store property\n * @param isOpen Is the notification center component open\n */\n updateIsOpen(open) {\n this.store.updateUI({ isOpen: open });\n }\n /**\n * Set the currentPage store property\n * @param currentPage New current page property\n */\n updateCurrentPage(currentPage) {\n this.store.updateUI({ currentPage: currentPage });\n }\n /**\n * Set the AmountPerPage store property\n * @param pageSize New Amount Per Page property\n */\n updateAmountPerPage(pageSize) {\n this.store.updateUI({ amountPerPage: pageSize });\n }\n /**\n * After 5 seconds call mark notifications as read\n */\n startNotificationCheck() {\n if (this.currentTimeout) {\n clearTimeout(this.currentTimeout);\n }\n this.currentTimeout = setTimeout(() => {\n let notifications = entitiesToArray(this.store.getValue(), {\n asObject: false,\n filterBy: (n) => !n.isRead,\n limitTo: undefined,\n });\n let unseenNotificationIds = notifications.map((n) => n.id);\n if (unseenNotificationIds && unseenNotificationIds.length) {\n this.postNotificationsAsRead(unseenNotificationIds);\n let updatedUnseenCount = this.store.getValue().unseenCount - unseenNotificationIds.length;\n this.updateUnseenCount(updatedUnseenCount > 0 ? updatedUnseenCount : 0);\n }\n }, 5000);\n }\n /**\n * Set the total property on the store, to be used for pagination\n * @param total Total notifications the user can see\n */\n updateTotal(total) {\n this.store.update({\n total: total,\n });\n }\n /**\n * Go back one page and start the notification check\n */\n decrementPage() {\n const prevPage = this.store.getValue().ui.currentPage - 1;\n if (prevPage >= 1) {\n this.updateCurrentPage(prevPage);\n this.startNotificationCheck();\n }\n }\n /**\n * Go forward one page and start the notification check\n */\n incrementPage() {\n const nextPage = this.store.getValue().ui.currentPage + 1;\n if (nextPage <= this.MaxPage) {\n this.updateCurrentPage(nextPage);\n this.startNotificationCheck();\n }\n }\n /**\n * Handle receiving notifications, adding them to the store, and set the subject if required\n * @param notificationDto Notification DTO\n */\n receiveNotification(notificationDto) {\n let notification = this.getNotificationViewFromDto(notificationDto);\n // If first notification add to store\n if (this.MaxPage == 0) {\n this.addNotification(notificationDto);\n }\n else {\n // Otherwise invalidate the store and get from API\n this.invalidateCache();\n }\n //Increment unseen count\n this.updateUnseenCount(this.store.getValue().unseenCount + 1);\n // Do something with the notification only if the notification center is not open and not read\n if (!this.store.getValue().ui.isOpen &&\n !notification.isRead &&\n this.notificationManagementQuery.loyaltyTypeIsActive(notification.loyaltyActionId)) {\n this.notificationReceived$.next(notification);\n }\n else if (!this.store.getValue().ui.isOpen && !notification.isRead) {\n // Call the notification check to make sure the notification is marked as read\n // if the user is in the notification center\n this.startNotificationCheck();\n }\n }\n /**\n * Get View from DTO\n * @param notificationDto Notification DTO\n * @returns View object with correct message language\n */\n getNotificationViewFromDto(notificationDto) {\n let notification = notificationDto;\n // retrieve the linkUrl from the mappings and assign it\n let url = this.mappingQuery.getMappingFromNotifciation(notification);\n notification = Object.assign({}, notification, { linkUrl: url });\n let currentMessageLanguage = getMessageLanguageForLcid(notificationDto.messageLanguages, +this.memberQuery.getUserContext().lcid);\n notification.messageLanguage = currentMessageLanguage;\n return notification;\n }\n /**\n * Set unseen count property on the store\n * @param count New unseen notification count\n */\n updateUnseenCount(count) {\n this.store.update({\n unseenCount: count,\n });\n }\n /**\n * Invalidate the cache of the store\n */\n invalidateCache() {\n this.updateCurrentPage(1);\n this.store.setHasCache(false);\n this.store.remove();\n }\n /**\n * Add notification to the store and prepend\n */\n addNotification(notification) {\n this.store.add(notification, { prepend: true });\n }\n /**\n * Returns max page fusing stores values\n */\n get MaxPage() {\n return Math.ceil(this.store.getValue().total / this.store.getValue().ui.amountPerPage);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterService, deps: [{ token: NotificationCenterStore }, { token: NotificationsCenterMappingService }, { token: NotificationManagementService }, { token: NotificationManagementQuery }, { token: ApiService }, { token: MemberQuery }, { token: NotificationsCenterMappingQuery }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: NotificationCenterStore }, { type: NotificationsCenterMappingService }, { type: NotificationManagementService }, { type: NotificationManagementQuery }, { type: ApiService }, { type: MemberQuery }, { type: NotificationsCenterMappingQuery }] });\n\nclass SignalRNotificationService {\n constructor(notificationCenterService) {\n this.notificationCenterService = notificationCenterService;\n }\n /** @inheritdoc */\n registerOnServerEvents(connection) {\n connection.on('ReceiveNotification', (notificationDto) => {\n this.notificationCenterService.receiveNotification(notificationDto);\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRNotificationService, deps: [{ token: NotificationCenterService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRNotificationService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRNotificationService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: NotificationCenterService }] });\n\nlet ScorecardStore = class ScorecardStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardStore, providedIn: 'root' }); }\n};\nScorecardStore = __decorate([\n StoreConfig({ name: 'scorecard', idKey: 'ScorecardId' })\n], ScorecardStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nvar SORT_DIRECTION;\n(function (SORT_DIRECTION) {\n SORT_DIRECTION[SORT_DIRECTION[\"asc\"] = 1] = \"asc\";\n SORT_DIRECTION[SORT_DIRECTION[\"desc\"] = -1] = \"desc\";\n})(SORT_DIRECTION || (SORT_DIRECTION = {}));\nclass Sort {\n /**\n * Sort an array of objects by a property or a function\n * @example\n * const items = [{ name: 'in', lastname: 'wakwak' }, { name: 'sik', lastname: 'kuyamad }];\n * items.sort(Sort.by('name'));\n *\n * you can also pass a function to sort the array\n * @example\n * items.sort(Sort.by((a, b) => a.name.localeCompare(b.name)));\n *\n * you can also pass a second parameter to specify the order of the sort\n * @example\n * sort by name in descending order\n * items.sort(Sort.by('name', 'desc'));\n *\n * @example\n * for sorting by date, add the type option because sometimes it fails when validating the string using luxon\n * items.sort(Sort.by('date', 'asc', { type: 'date' }));\n *\n * OR\n *\n * use\n * @see {@link sortDate}\n *\n * for precision use the options parameter to specify the type of the property you want to sort\n */\n static by(prop, order = 'asc', options) {\n return (a, b) => {\n const direction = SORT_DIRECTION[order];\n if (typeof prop === 'function') {\n return prop(a, b) * direction;\n }\n else if (typeof a[prop] === 'string' || options && options.type === 'string') {\n return a[prop].localeCompare(b[prop]) * direction;\n }\n else if (typeof a[prop] === 'number' || options && options.type === 'number') {\n return (a[prop] - b[prop]) * direction;\n }\n else if (typeof a[prop] === 'boolean' || options && options.type === 'boolean') {\n // asc = false first, desc = true first\n return (a[prop] - b[prop]) * direction;\n }\n else if (options && options.type === 'date') {\n return this.byDate(prop, order)(a, b);\n }\n return 0;\n };\n }\n static multiple(...args) {\n return (a, b) => {\n return args.reduce((acc, curr) => {\n return acc || curr(a, b);\n }, 0);\n };\n }\n /**\n * Luxon date validation sometimes fails esp. when using DateTime.fromISO('10').isValid -> true\n *\n * @example\n * items.sort(Sort.byDate('StartDate', 'asc'));\n */\n static byDate(prop, order = 'asc') {\n return (a, b) => {\n const direction = SORT_DIRECTION[order];\n return DateTime.fromISO(a[prop], { zone: 'utc' }).diff(DateTime.fromISO(b[prop], { zone: 'utc' })).toMillis() * direction;\n };\n }\n}\n\nclass ScorecardQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n selectCompletedScorecardIds() {\n return this.selectAll({ filterBy: (scorecard) => scorecard.Completed }).pipe(map((scorecards) => scorecards.map((s) => s.ScorecardId)));\n }\n hasLinkedScorecards(scorecardId) {\n return this.hasEntity((s) => s.ParentId === scorecardId);\n }\n /** sort scorecard for parent next to child,\n * sort completed to bottom,\n * hide scorecard linked when it completed, show 2 at a time,\n */\n selectAllScorecardSorted() {\n return this.selectAll({\n filterBy: scorecard => {\n const now = DateTime.fromISO((new Date()).toISOString(), { zone: 'utc' });\n const endDate = DateTime.fromISO(scorecard.EndDate, { zone: 'utc' });\n const isValid = now < endDate;\n return scorecard.Favourite == 1 && isValid;\n }\n }).pipe(map(scorecards => {\n let scorecardHasLinked = [];\n let scorecardNoLinkedAndParent = [];\n let filtered = [];\n scorecards.forEach((scorecard) => {\n if (scorecard.ParentId) {\n scorecardHasLinked.push(scorecard); // get all child scorecard which has parentId\n }\n else {\n scorecardNoLinkedAndParent.push(scorecard); // get all parent scorecard (parentId=null) and no linked scorecard\n }\n });\n // parent next to child\n scorecardHasLinked.forEach((scorecard) => {\n let parent;\n parent = scorecardNoLinkedAndParent.find((s) => s.ScorecardId === scorecard.ParentId); /* find first parent scorecard */\n if (!parent)\n parent = scorecardHasLinked.find((s) => s.ScorecardId === scorecard.ParentId); /* if no parent that mean that scorecard is 3rd linked scorecard so find parent scorecard in linked */\n parent && filtered.push(parent);\n filtered.push(scorecard);\n });\n // hide completed scorecard, show only 2 scorecard at a time\n filtered = [...new Set([...filtered, ...scorecardNoLinkedAndParent])]; // remove duplicate in array\n let start;\n let end;\n filtered.forEach((s, idx) => {\n filtered[idx] = { ...s, Hidden: false }; // set property Hideen into each scorecard\n // get first parent\n if (!s.ParentId) {\n start = s;\n }\n // get last child of that linked\n if (start && s.ScorecardId !== start.ScorecardId && !filtered[idx + 1]?.ParentId) {\n // last condition mean next scorecard hasn't parentId, so current is the last one\n end = filtered[idx];\n }\n // already has first and last of the linked\n if (start && end) {\n const indexStart = filtered.findIndex((x) => x.ScorecardId == start?.ScorecardId);\n const indexEnd = filtered.findIndex((x) => x.ScorecardId == end?.ScorecardId);\n let family = filtered.slice(indexStart, indexEnd + 1);\n if (family.length < 3) {\n start = null;\n end = null;\n return;\n }\n let hasUncompletedScorecard = family.some((f) => f.Completed == false);\n if (hasUncompletedScorecard) {\n const uncompletedIdx = family.findIndex((x) => !x.Completed);\n family.forEach((x, idx) => {\n // hide completed scorecard in linked\n if ((x.Completed && !x?.PrizeOptions) ||\n x.HasCustomerSelectedPrize == true ||\n (idx !== uncompletedIdx && idx !== uncompletedIdx + 1)) {\n filtered[filtered.indexOf(x)] = { ...x, Hidden: true };\n }\n });\n }\n start = null;\n end = null;\n }\n });\n return [...filtered].sort(Sort.by('Completed', 'asc'));\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardQuery, deps: [{ token: ScorecardStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: ScorecardStore }] });\n\n/**\n * This scorecard service will handle\n * fetching the scorecards, set the\n * store and handle any interactions with\n * the scorecard store.\n *\n * The fetching of the data\n * will be called within the scorecard\n * resolver.\n */\nclass ScorecardService {\n constructor(scorecardStore, api, scorecardQuery) {\n this.scorecardStore = scorecardStore;\n this.api = api;\n this.scorecardQuery = scorecardQuery;\n this.initDataScorecardDescription$ = new BehaviorSubject({\n confettiColors: undefined,\n });\n }\n /**\n * fetch the active scorecards from the api\n * and set the store.\n */\n fetchScorecards() {\n const request$ = this.api.get('scorecard').pipe(tap((scorecards) => {\n scorecards = this.updateScorecardContent(scorecards);\n this.scorecardStore.set(scorecards);\n }), mapTo(null));\n return this.scorecardQuery.getHasCache() ? of(null) : request$;\n }\n /**\n * Will update each scorecards\n * content by checking against the users\n * LCID and scorecard LCID.\n *\n * If no match is found then first\n * content found will be displayed on\n * the frontend.\n *\n * @param scorecards array of active scorecards from\n * the response.\n */\n updateScorecardContent(scorecards) {\n this.currentLcid = localStorage.getItem('lcid');\n scorecards.forEach((scorecard) => {\n scorecard.Content.forEach((scorecardContent) => {\n if (scorecardContent.LCID.toString() == this.currentLcid) {\n scorecard.Content[0] = scorecardContent;\n scorecard.Actions.forEach((action) => {\n action.Content.forEach((actionContent) => {\n if (scorecardContent.LCID.toString() == actionContent.LCID.toString()) {\n action.Content[0] = actionContent;\n }\n });\n });\n }\n });\n });\n return scorecards;\n }\n /**\n * Set a scorecard action to be completed in the store\n */\n setScorecardActionToCompleted(scorecardId, scorecardActionId) {\n this.scorecardStore.update(scorecardId, ({ ActionsCompleted, Actions }) => ({\n ActionsCompleted: ActionsCompleted + 1,\n Actions: arrayUpdate(Actions, (a) => a.ScorecardActionId == scorecardActionId, {\n ScorecardActionId: scorecardActionId,\n CompletionDate: moment$1.utc().toDate(),\n ActionCompleted: true,\n }),\n }));\n }\n /**\n * Update scorecard milestone customer value within the\n * scorecard store with new customer value.\n * @param scorecardId ID of scorecard which will be updated in the scorecard store.\n * @param customerValue Customer value to replace current customer value of milestone progress within the store.\n */\n setScorecardMilesoneCustomerValueUpdate(scorecardId, customerValue) {\n this.scorecardStore.update(scorecardId, (scorecard) => ({\n ...scorecard,\n Milestone: {\n ...scorecard.Milestone,\n CustomerValue: customerValue,\n },\n }));\n }\n /**\n * Set a scorecard to be completed in the store, and unlock if has child-scorecard and it is locked\n */\n setScorecardToCompleted(currentScorecardId, completedDate) {\n this.scorecardStore.update(currentScorecardId, { Completed: true, CompletionDate: completedDate });\n const hasLinkedScorecards = this.scorecardQuery.hasEntity((s) => s.ParentId === currentScorecardId || s.ChildId === currentScorecardId);\n if (hasLinkedScorecards) {\n this.fetchScorecardBy(currentScorecardId)\n .pipe(take(1), map((linkedScorecards) => ({\n currentScorecard: {\n ...this.findScorecard(linkedScorecards, currentScorecardId),\n Completed: true,\n CompletionDate: completedDate,\n },\n childScorecard: linkedScorecards.find((s) => s.ParentId === currentScorecardId),\n linkedScorecards: linkedScorecards,\n isLinkedMoreThanTwo: linkedScorecards.length > 2,\n })))\n .subscribe(({ currentScorecard, childScorecard, linkedScorecards, isLinkedMoreThanTwo }) => {\n if (isLinkedMoreThanTwo) {\n if (childScorecard) {\n currentScorecard = { ...currentScorecard, Hidden: true };\n childScorecard = { ...childScorecard, Hidden: false };\n const childOfChild = linkedScorecards.find((s) => s.ParentId == childScorecard?.ScorecardId);\n childOfChild && (childOfChild.Hidden = false);\n [currentScorecard, childScorecard, childOfChild].forEach((s) => {\n if (s)\n this.scorecardStore.update(s.ScorecardId, s);\n });\n }\n else {\n // if current scorecard doesn't have any child, that mean all scorecard are completed\n const newLinkedScorecards = linkedScorecards.map((s) => {\n if (s.ScorecardId == currentScorecardId)\n s = currentScorecard;\n return { ...s, Hidden: false };\n });\n this.scorecardStore.upsertMany(newLinkedScorecards);\n }\n }\n else {\n this.scorecardStore.update(childScorecard?.ScorecardId, { Locked: childScorecard?.Locked });\n }\n });\n }\n }\n /*\n * Triggers scorecard JoinWebCall event\n */\n joinWebCall(meetingNumber) {\n return this.api.post('webcall/joined', parseInt(meetingNumber));\n }\n fetchScorecardBy(scorecardId) {\n return this.api.get(`scorecard/details/${scorecardId}`).pipe(tap((scorecards) => {\n scorecards = this.updateScorecardContent(scorecards);\n this.scorecardStore.upsertMany(scorecards);\n scorecards.forEach((scorecard) => {\n let hasCustomerSelectedPrize = this.scorecardQuery.getEntity(scorecardId)?.HasCustomerSelectedPrize;\n this.scorecardStore.update(scorecard.ScorecardId, { ...scorecard, HasCustomerSelectedPrize: hasCustomerSelectedPrize });\n });\n }));\n }\n findScorecard(listScorecard, id) {\n if (!id)\n return {};\n return listScorecard.find((scorecard) => scorecard.ScorecardId === id);\n }\n findScorecardIndex(listScorecard, id) {\n if (!id)\n return -1;\n return listScorecard.findIndex((scorecard) => scorecard.ScorecardId === id);\n }\n selectPrize(scorecardId, prizeId) {\n return this.api.post(`scorecard/selectPrize/${scorecardId}/${prizeId}`, {}).pipe(finalize(() => {\n this.scorecardStore.update(scorecardId, (scorecard) => {\n let prizes = JSON.parse(JSON.stringify(scorecard?.PrizeOptions?.Prizes));\n prizes.forEach((prize) => {\n if (prize.PrizeId === prizeId)\n prize.Selected = true;\n });\n return {\n ...scorecard,\n HasCustomerSelectedPrize: true,\n PrizeOptions: {\n Prizes: prizes,\n CustomerHasSelected: true,\n },\n };\n });\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardService, deps: [{ token: ScorecardStore }, { token: ApiService }, { token: ScorecardQuery }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: ScorecardService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: ScorecardStore }, { type: ApiService }, { type: ScorecardQuery }] });\n\nlet BadgesStore = class BadgesStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgesStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgesStore, providedIn: 'root' }); }\n};\nBadgesStore = __decorate([\n StoreConfig({ name: 'badges', idKey: 'ScorecardId' })\n], BadgesStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgesStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nlet BadgesV2Store = class BadgesV2Store extends EntityStore {\n constructor() {\n super();\n }\n akitaPreAddEntity(entity) {\n return {\n storeId: Math.floor(Math.random() * 1000000),\n ...entity\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgesV2Store, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgesV2Store, providedIn: 'root' }); }\n};\nBadgesV2Store = __decorate([\n StoreConfig({ name: 'badges', idKey: 'storeId' })\n], BadgesV2Store);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgesV2Store, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass BadgesService {\n constructor(badgesStore, api, badgesv2Store) {\n this.badgesStore = badgesStore;\n this.api = api;\n this.badgesv2Store = badgesv2Store;\n }\n /**\n * fetch the active scorecards from the api\n * and set the store.\n */\n fetchBadges() {\n const request$ = this.api.get('scorecard/badges').pipe(tap((badges) => {\n this.badgesStore.set(badges);\n }), mapTo(null));\n return cacheable(this.badgesStore, request$);\n }\n /**\n * Get a scorecard by id\n */\n fetchScorecardBadge(scorecardId) {\n const request$ = this.api.getAnySingle('scorecard/' + scorecardId);\n return request$;\n }\n /**\n * Set a scorecard badge to be completed in the store\n */\n setBadgeToCompleted(scorecardId) {\n this.badgesStore.update(scorecardId, { Status: 1 });\n }\n fetchBadgeV2() {\n const request$ = this.api.get('scorecard/v2/badges').pipe(tap((badges) => {\n this.badgesv2Store.set(badges);\n }), map(() => null));\n return cacheable(this.badgesv2Store, request$);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgesService, deps: [{ token: BadgesStore }, { token: ApiService }, { token: BadgesV2Store }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgesService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: BadgesService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: BadgesStore }, { type: ApiService }, { type: BadgesV2Store }] });\n\nclass SignalRScorecardService {\n constructor(scorecardService, badgesService) {\n this.scorecardService = scorecardService;\n this.badgesService = badgesService;\n }\n /** @inheritdoc */\n registerOnServerEvents(connection) {\n connection.on('ScorecardActionComplete', (scorecardActionMessage) => {\n this.scorecardService.setScorecardActionToCompleted(scorecardActionMessage.scorecardId, scorecardActionMessage.scorecardActionId);\n });\n connection.on('ScorecardMilestoneUpdate', (scorecardMilestoneMessage) => {\n this.scorecardService.setScorecardMilesoneCustomerValueUpdate(scorecardMilestoneMessage.scorecardId, scorecardMilestoneMessage.customerValue);\n });\n connection.on('ScorecardComplete', (scorecardCompleteMessage) => {\n this.scorecardService.setScorecardToCompleted(scorecardCompleteMessage.scorecardId, scorecardCompleteMessage.dateCompleted);\n this.badgesService.setBadgeToCompleted(scorecardCompleteMessage.scorecardId);\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRScorecardService, deps: [{ token: ScorecardService }, { token: BadgesService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRScorecardService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRScorecardService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: ScorecardService }, { type: BadgesService }] });\n\nclass AuctionItemDto {\n}\n\nvar AuctionStatus;\n(function (AuctionStatus) {\n AuctionStatus[AuctionStatus[\"NoBids\"] = 1] = \"NoBids\";\n AuctionStatus[AuctionStatus[\"UserNotBid\"] = 2] = \"UserNotBid\";\n AuctionStatus[AuctionStatus[\"UserWinning\"] = 3] = \"UserWinning\";\n AuctionStatus[AuctionStatus[\"UserLosing\"] = 4] = \"UserLosing\";\n})(AuctionStatus || (AuctionStatus = {}));\n\nclass AuctionItem extends AuctionItemDto {\n static [Symbol.hasInstance](instance) {\n return 'AllowSelfBid' in instance && typeof instance.AllowSelfBid === 'boolean';\n }\n}\nfunction flattenToAuction(auctionView) {\n if (!auctionView) {\n return auctionView;\n }\n let auction = auctionView.AuctionItem;\n auction.Images = auctionView.Images;\n auction.CurrentValue = auctionView.CurrentValue;\n auction.TimeRemainingInSeconds = auctionView.TimeRemainingInSeconds;\n auction.RequireRefesh = auctionView.RequireRefesh;\n auction.RefreshRate = auctionView.RefreshRate;\n auction.IsWinning = auctionView.IsWinning;\n auction.HasPreviousSuccessfulBid = auctionView.HasPreviousSuccessfulBid;\n auction.HasUserBidOnAuction = auctionView.HasUserBidOnAuction;\n if (auction.BidsCount === 0) {\n auction.Status = AuctionStatus.NoBids;\n }\n else if (auction.HasUserBidOnAuction === false) {\n auction.Status = AuctionStatus.UserNotBid;\n }\n else if (auction.HasPreviousSuccessfulBid) {\n if (auction.IsWinning) {\n auction.Status = AuctionStatus.UserWinning;\n }\n else {\n auction.Status = AuctionStatus.UserLosing;\n }\n }\n return auction;\n}\nconst AUCTION_TEXT_COLOR = {\n BLACK: 'text-rewards-black',\n RED: 'text-rewards-danger',\n GREEN: 'text-rewards-success',\n NEW: 'text-rewards-new',\n};\nconst AUCTION_STATE = {\n FEATURED: 'auction.featured.stock',\n NEW: 'auction.new.stock',\n NOT_ENOUGH_POINT: 'auction.not.enough.points',\n COMING_SOON: 'auction.coming.soon',\n};\n\nlet AuctionStore = class AuctionStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionStore, providedIn: 'root' }); }\n};\nAuctionStore = __decorate([\n StoreConfig({ name: 'auction', idKey: 'Id', cache: { ttl: 5000 } })\n], AuctionStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass AuctionQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n /** return a single auction by ID */\n selectAuction(id) {\n return this.selectEntity(id);\n }\n /** return a list of all auctions */\n selectAuctions() {\n return this.selectAll();\n }\n /** returns true if the auction is no longer in the store */\n getExists(id) {\n const item = this.getEntity(id);\n return item === undefined || item === null;\n }\n selectAuctionStatus(id) {\n return this.selectAuction(id).pipe(map((auction) => {\n if (!auction) {\n return 'finished';\n }\n let now = new Date();\n if (new Date(auction.StartDate) > now) {\n return 'comingsoon';\n }\n else if (new Date(auction.EndDate) < now) {\n return 'finished';\n }\n else {\n return 'active';\n }\n }));\n }\n /** returns all auctions marked as favourite */\n selectFavourites() {\n return this.selectAll({ filterBy: (auction) => auction.Favourite !== 0 });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionQuery, deps: [{ token: AuctionStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AuctionStore }] });\n\nclass AuctionService {\n constructor(auctionStore, api, auctionQuery, memberQuery) {\n this.auctionStore = auctionStore;\n this.api = api;\n this.auctionQuery = auctionQuery;\n this.memberQuery = memberQuery;\n }\n fetchAuction(id) {\n return this.api.getById('auctions', id.toString()).pipe(map(a => flattenToAuction(a)), tap(a => {\n if (!a) {\n this.auctionStore.remove(id);\n }\n else {\n this.auctionStore.upsert(id, a);\n }\n }), mapTo(null));\n }\n fetchAuctions() {\n const request$ = this.api.get('auctions').pipe(map(a => a.map(auction => flattenToAuction(auction))), tap(a => {\n this.auctionStore.set(a);\n }), mapTo(null));\n return this.auctionQuery.getHasCache() ? of(null) : request$;\n }\n postBid(bid, memberId = '') {\n return this.api.postForParent('auctions', bid.auctionId, 'bid?memberId=' + memberId, bid.value).pipe(map(a => flattenToAuction(a)), tap(a => this.auctionStore.upsert(a.Id, a)), mapTo('bid successful'));\n }\n updateAuctionAfterBid(auctionUpdate) {\n let portalId = this.memberQuery.getUserContext().portalId;\n this.auctionStore.update(auctionUpdate.auctionId, entity => ({\n CurrentValue: auctionUpdate.currentValue,\n BidsCount: auctionUpdate.bidCount,\n EndDate: auctionUpdate.endDate,\n IsWinning: portalId === auctionUpdate.winningPortalId ? 1 : 0,\n Status: portalId === auctionUpdate.winningPortalId ? AuctionStatus.UserWinning :\n entity.HasUserBidOnAuction === true ? AuctionStatus.UserLosing : AuctionStatus.UserNotBid,\n HasUserBidOnAuction: portalId === auctionUpdate.winningPortalId ? true : entity.HasUserBidOnAuction,\n HasPreviousSuccessfulBid: true\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionService, deps: [{ token: AuctionStore }, { token: ApiService }, { token: AuctionQuery }, { token: MemberQuery }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: AuctionService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AuctionStore }, { type: ApiService }, { type: AuctionQuery }, { type: MemberQuery }] });\n\nclass SignalRAuctionService {\n constructor(auctionService, balanceService) {\n this.auctionService = auctionService;\n this.balanceService = balanceService;\n }\n /** @inheritdoc */\n registerOnServerEvents(connection) {\n connection.on('AuctionUpdateAfterBid', (auctionUpdateMessage) => {\n this.auctionService.updateAuctionAfterBid(auctionUpdateMessage);\n });\n connection.on('OutBidUserUpdate', () => {\n this.balanceService.fetchBalance(config.purseConfig.virtualLoyalty).toPromise();\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRAuctionService, deps: [{ token: AuctionService }, { token: BalanceService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRAuctionService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRAuctionService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AuctionService }, { type: BalanceService }] });\n\nclass SignalRHub extends SignalRBaseHub {\n constructor(logService, signalRNotificationService, signalRScorecardService, signalRAuctionService, authService, jwtHelper) {\n super(logService, authService, jwtHelper);\n this.logService = logService;\n this.signalRNotificationService = signalRNotificationService;\n this.signalRScorecardService = signalRScorecardService;\n this.signalRAuctionService = signalRAuctionService;\n this.authService = authService;\n this.jwtHelper = jwtHelper;\n this.createConnection();\n this.registerOnServerEvents();\n this.startConnection();\n }\n /**\n * Create SignalR connection using token\n */\n createConnection() {\n this.hubConnection = new HubConnectionBuilder()\n .withUrl(config.baseApiUrl + '/hub', {\n accessTokenFactory: async () => {\n const token = localStorage.getItem('token');\n if (token && this.authService.isAuthenticated() && !this.jwtHelper.isTokenExpired(token)) {\n return token;\n }\n else if (!token) {\n return '';\n }\n return (await firstValueFrom(this.authService.refreshAccessToken())).AccessToken;\n },\n })\n .build();\n }\n /**\n * Register .on server events\n */\n registerOnServerEvents() {\n this.signalRNotificationService.registerOnServerEvents(this.hubConnection);\n this.signalRScorecardService.registerOnServerEvents(this.hubConnection);\n this.signalRAuctionService.registerOnServerEvents(this.hubConnection);\n super.registerOnServerEvents();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRHub, deps: [{ token: LoggingService }, { token: SignalRNotificationService }, { token: SignalRScorecardService }, { token: SignalRAuctionService }, { token: AuthService }, { token: i4.JwtHelperService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRHub, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRHub, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: LoggingService }, { type: SignalRNotificationService }, { type: SignalRScorecardService }, { type: SignalRAuctionService }, { type: AuthService }, { type: i4.JwtHelperService }] });\n\nclass SignalRWizardService {\n constructor(authService, router) {\n this.authService = authService;\n this.router = router;\n }\n /** @inheritdoc */\n registerOnServerEvents(connection) {\n connection.on('RegistrationFailComplete', (data) => {\n this.router.navigateByUrl('/register/failure' + `?orderId=${data.orderId}&errorCode=${data.errorCode}`);\n });\n connection.on('RegistrationSuccessComplete', (loginResponse) => {\n const accessToken = loginResponse.accessToken;\n this.authService.loginUsingToken(accessToken, loginResponse.refreshToken, '/');\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRWizardService, deps: [{ token: AuthService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRWizardService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRWizardService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: AuthService }, { type: i2.Router }] });\n\nclass SignalRUnauthrosiedHub extends SignalRBaseHub {\n constructor(logService, signalRWizardService, authService, jwtHelper) {\n super(logService, authService, jwtHelper);\n this.logService = logService;\n this.signalRWizardService = signalRWizardService;\n this.authService = authService;\n this.jwtHelper = jwtHelper;\n }\n /**\n * * Create a connection to the signlar hub (unauthorised)\n * @param orderId the order id of parameter\n */\n connectByOrderId(orderId) {\n this.createConnectionByOrderId(orderId);\n this.registerOnServerEvents();\n this.startConnection();\n }\n /**\n * Create SignalR connection using querystring\n */\n createConnectionByOrderId(orderId) {\n this.hubConnection = new HubConnectionBuilder()\n .withUrl(config.baseApiUrl + '/huborder?orderId=' + orderId)\n .build();\n }\n /**\n * Register .on server events\n */\n registerOnServerEvents() {\n this.signalRWizardService.registerOnServerEvents(this.hubConnection);\n super.registerOnServerEvents();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRUnauthrosiedHub, deps: [{ token: LoggingService }, { token: SignalRWizardService }, { token: AuthService }, { token: i4.JwtHelperService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRUnauthrosiedHub, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: SignalRUnauthrosiedHub, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: LoggingService }, { type: SignalRWizardService }, { type: AuthService }, { type: i4.JwtHelperService }] });\n\n/**\n * Base class of the notification center message\n * the notification center message is used to display the notification\n * when it is sent to the app from the API\n */\nclass NotificationCenterMessage {\n}\n\n/**\n * DTO of the notification center message and is mapped from the API\n */\nclass NotificationCenterMessageDto extends NotificationCenterMessage {\n}\n\n/**\n * View of the notification center message,\n * mapped from the {@link NotificationCenterMessageDto}\n * allows for easier display on the front end\n */\nclass NotificationCenterMessageView extends NotificationCenterMessage {\n}\n\nclass NotificationCenterQuery extends QueryEntity {\n get pageSize() {\n return this.getValue().ui.amountPerPage;\n }\n get maxPage() {\n return Math.ceil(this.getValue().total / this.pageSize);\n }\n constructor(store, mappingQuery, notificationService) {\n super(store);\n this.store = store;\n this.mappingQuery = mappingQuery;\n this.notificationService = notificationService;\n /** observable for the isOpen ui state */\n this.isOpen$ = this.select((state) => state.ui.isOpen);\n this.unseenNotificationsCount$ = this.select((state) => state.unseenCount);\n this.pageNum$ = this.select((state) => state.ui.currentPage);\n this.showPrev$ = this.select((state) => state.ui.currentPage !== 1);\n this.showNext$ = this.select((state) => state.ui.currentPage !== this.maxPage && this.maxPage > 1);\n /**\n * The amount we should offset the pagination by\n * e.g. page 2 with 10 items per page - offset should be 20\n */\n this._offset = 0;\n }\n /**\n * Select the paged view of the Notification Center Messages\n * @param lcid LCID for the messages that should be displayed\n */\n selectAllPagedView(lcid) {\n return this.pageNum$.pipe(switchMap((pageNum) => {\n this._offset = this.getOffset(pageNum);\n return this.selectAll().pipe(tap((notifications) => {\n // If we don't have the next page in the store retrieve it from the API\n // Only if max page > 0 (Notifications exist for user)\n if (notifications.length <= this._offset && this.maxPage > 0) {\n this.notificationService.getNotificationCenterPage(pageNum, this.pageSize).toPromise();\n }\n }), map((notifications) => notifications.slice(this._offset, this._offset + this.pageSize)), map((notifications) => {\n return notifications.map((n) => {\n let notificationView = n;\n // retrieve the linkUrl from the mappings and assign it\n let url = this.mappingQuery.getMappingFromNotifciation(notificationView);\n notificationView = Object.assign({}, notificationView, { linkUrl: url });\n if (n.messageLanguages) {\n let currentMessageLanguage = getMessageLanguageForLcid(n.messageLanguages, lcid);\n notificationView = Object.assign({}, notificationView, { messageLanguage: currentMessageLanguage });\n }\n return notificationView;\n });\n }));\n }));\n }\n /**\n * Get the ids of all unseen notifications in the store\n */\n getUnseenNotificationIdsFromStore() {\n return this.getAll({\n filterBy: (n) => !n.isRead,\n }).map((n) => n.id);\n }\n /**\n * Get Offset using page number supplied or current page\n * @param pageNum page number to use when calculating offset\n * @returns offset count of items (page 2 with a page size of 5 would be 10)\n */\n getOffset(pageNum) {\n if (!pageNum) {\n pageNum = this.getValue().ui.currentPage;\n }\n return (pageNum - 1) * this.pageSize;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterQuery, deps: [{ token: NotificationCenterStore }, { token: NotificationsCenterMappingQuery }, { token: NotificationCenterService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: NotificationCenterStore }, { type: NotificationsCenterMappingQuery }, { type: NotificationCenterService }] });\n\n/**\n * Mapping model which ties loyaltyActionId to the url\n */\nclass NotificationMappingModel {\n}\n\nclass NotificationCenterMappingResolver {\n constructor(mappingService) {\n this.mappingService = mappingService;\n }\n /**\n * Resolves the notification mappings\n * @param route route data and params\n * @param state state of the router\n */\n resolve(route, state) {\n return this.mappingService.fetchNotificationMappings();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterMappingResolver, deps: [{ token: NotificationsCenterMappingService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterMappingResolver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationCenterMappingResolver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: NotificationsCenterMappingService }] });\n\nclass EntityNotificationGroupDto {\n constructor(notificationGroupId, portalId, active, entityNotificaitonGroupId) {\n this.NotificationGroupId = notificationGroupId;\n this.PortalId = portalId;\n this.Active = active;\n this.EntityNotificationGroupId = entityNotificaitonGroupId;\n }\n}\n\nclass EntityNotificationGroupItem {\n}\n\nclass NotificationManagementResolver {\n constructor(notificationManagementService) {\n this.notificationManagementService = notificationManagementService;\n }\n resolve(route, state) {\n return this.notificationManagementService.fetchNotificationGroups();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementResolver, deps: [{ token: NotificationManagementService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementResolver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: NotificationManagementResolver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: NotificationManagementService }] });\n\n/**\n * The type of commands the popup should display to the user\n * Only used for PopUpNotificationType == TextBased\n */\nvar PopUpCommandType;\n(function (PopUpCommandType) {\n /** popup should display 'Confirm' button */\n PopUpCommandType[PopUpCommandType[\"Confirm\"] = 0] = \"Confirm\";\n /** popup should display 'Ok' and 'Cancel' buttons */\n PopUpCommandType[PopUpCommandType[\"OkCancel\"] = 1] = \"OkCancel\";\n})(PopUpCommandType || (PopUpCommandType = {}));\n\n/**\n * Model containing PopUp Notification data\n */\nclass PopUpNotificationModel {\n}\n\n/**\n * DTO for the PopUp Notification\n */\nclass PopUpNotificationDto extends PopUpNotificationModel {\n}\n\n/**\n * How the user responded to the popup\n */\nvar PopUpNotificationResponseType;\n(function (PopUpNotificationResponseType) {\n /** user accepted (pressed 'Ok' or 'Confirm') */\n PopUpNotificationResponseType[PopUpNotificationResponseType[\"Accepted\"] = 0] = \"Accepted\";\n /** user denied (did not press 'Confirm') */\n PopUpNotificationResponseType[PopUpNotificationResponseType[\"Denied\"] = 1] = \"Denied\";\n /** user pressed 'Cancel' */\n PopUpNotificationResponseType[PopUpNotificationResponseType[\"Cancelled\"] = 2] = \"Cancelled\";\n /** an error occurred and the popup was not displayed */\n PopUpNotificationResponseType[PopUpNotificationResponseType[\"Error\"] = 3] = \"Error\";\n})(PopUpNotificationResponseType || (PopUpNotificationResponseType = {}));\n\n/**\n * The type of popup notification\n */\nvar PopUpNotificationType;\n(function (PopUpNotificationType) {\n /** text only */\n PopUpNotificationType[PopUpNotificationType[\"TextBased\"] = 0] = \"TextBased\";\n /** directs user to an action/component */\n PopUpNotificationType[PopUpNotificationType[\"ActionBased\"] = 1] = \"ActionBased\";\n /** tutorial for new functionality */\n PopUpNotificationType[PopUpNotificationType[\"Guided\"] = 2] = \"Guided\";\n})(PopUpNotificationType || (PopUpNotificationType = {}));\n\n/**\n * ViewModel for the required PopUp notification language variant\n */\nclass PopUpNotificationViewModel extends PopUpNotificationModel {\n}\n\nconst POPUP_NOTIFICATION_TEXT_MOCK = {\n popUpNotificationId: 1,\n name: 'Mock text popup notification',\n description: 'Description of mock text popup notification',\n pageUrl: '',\n componentName: '',\n image: 'src',\n notificationType: 0,\n windowType: 0,\n commandType: 0,\n popUpNotificationLanguage: {\n description: 'Description of mock text popup notification',\n lCID: 2057,\n name: 'Mock text popup notification',\n popUpNotificationId: 1,\n },\n};\nconst POPUP_NOTIFICATION_ACTION_MOCK = {\n popUpNotificationId: 2,\n name: 'Mock action popup notification',\n description: 'Description of mock action popup notification',\n pageUrl: '',\n componentName: 'fgb-edit-account-details',\n image: '',\n notificationType: 1,\n windowType: 0,\n commandType: 0,\n popUpNotificationLanguage: {\n description: 'Description of mock action popup notification',\n lCID: 2057,\n name: 'Mock text popup notification',\n popUpNotificationId: 1,\n },\n};\n\n/** the type of popup modal to display */\nvar PopUpWindowType;\n(function (PopUpWindowType) {\n /** normal text modal */\n PopUpWindowType[PopUpWindowType[\"MessageBox\"] = 0] = \"MessageBox\";\n /** urgent text modal */\n PopUpWindowType[PopUpWindowType[\"ImportantMessage\"] = 1] = \"ImportantMessage\";\n})(PopUpWindowType || (PopUpWindowType = {}));\n\nlet PopUpNotificationStore = class PopUpNotificationStore extends EntityStore {\n constructor() {\n super({});\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationStore, providedIn: 'root' }); }\n};\nPopUpNotificationStore = __decorate([\n StoreConfig({ name: 'popup-notifications', idKey: 'popUpNotificationId' })\n], PopUpNotificationStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass PopUpNotificationQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n /**\n * Retrieves the popup notification for a given page\n * @param pageUrl the page to retreive popup notification for ('' for Home page)\n * @param lcid LCID of the required popup notification\n * @returns the popup notification associated with the given pageUrl, otherwise undefined\n */\n getPopUpNotificationForPage(pageUrl, lcid) {\n if (pageUrl && lcid) {\n // strip trailing forward slash for non homepage pages\n if (pageUrl.length > 1) {\n pageUrl = pageUrl.replace(/\\/$/, '');\n }\n // Undefined page urls are to be shown on all pages\n let popUpNotification = this.getAll().filter((popup) => popup.pageUrl == pageUrl || popup.pageUrl == undefined)[0];\n if (popUpNotification) {\n let popUpNotificationViewModel = popUpNotification;\n if (popUpNotification.popUpNotificationLanguages) {\n let popUpNotificationLanguage = this.popUpNotificationLanguageForLcid(popUpNotification, lcid);\n popUpNotificationViewModel = Object.assign({}, popUpNotificationViewModel, {\n popUpNotificationLanguage: popUpNotificationLanguage,\n });\n }\n return popUpNotificationViewModel;\n }\n else {\n return undefined;\n }\n }\n else {\n return undefined;\n }\n }\n /**\n * Retrieves the popup notification language variant for a given LCID\n * @param popUpNotification Popup notification data object\n * @param lcid LCID of the required popup notification\n * @returns The language variant associated with the given lcid otherwise the original data as default.\n */\n popUpNotificationLanguageForLcid(popUpNotification, lcid) {\n const availableLanguages = popUpNotification.popUpNotificationLanguages;\n if (availableLanguages.length && lcid) {\n if (availableLanguages.some((popUpNotificationLanguage) => popUpNotificationLanguage.lCID === lcid)) {\n return availableLanguages.find((popUpNotificationLanguage) => popUpNotificationLanguage.lCID === lcid);\n }\n else {\n return this.defaultLanguage(popUpNotification);\n }\n }\n return this.defaultLanguage(popUpNotification);\n }\n /**\n * Retrieves the original data as default language for a popup notification\n * @param popUpNotification Popup notification data object\n * @returns The original data as default language variant.\n */\n defaultLanguage(popUpNotification) {\n return {\n description: popUpNotification.description,\n lCID: +config.defaultLcid,\n name: popUpNotification.name,\n popUpNotificationId: popUpNotification.popUpNotificationId,\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationQuery, deps: [{ token: PopUpNotificationStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: PopUpNotificationStore }] });\n\nclass PopUpNotificationService {\n constructor(store, api) {\n this.store = store;\n this.api = api;\n }\n /**\n * Retrieve the current customer's avalaible popup notifications and populate the store\n */\n fetchPopUpNotifications() {\n const request$ = this.api.get('notificationspopup/unseenpopup').pipe(tap((popUpNotifications) => {\n this.store.set(lowerCaseKeys(popUpNotifications));\n }));\n return cacheable(this.store, request$, { emitNext: true }).pipe(mapTo(null));\n }\n /**\n * Mark a given notification as read and remove it from the store\n * @param popUpNotificationId The popup notification to mark as read\n * @param responseType The user's response type to the popup\n * @param seenDate the date/time when the popup was seen/responded to\n */\n markNotificationsAsRead(popUpNotificationId, responseType) {\n return this.api\n .post('notificationspopup/respondtopopup', { popUpNotificationId, responseType })\n .pipe(tap(() => {\n this.store.remove(popUpNotificationId);\n }), mapTo(null))\n .toPromise();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationService, deps: [{ token: PopUpNotificationStore }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: PopUpNotificationStore }, { type: ApiService }] });\n\nclass PopUpNotificationResolver {\n constructor(popUpNotificationService, logService) {\n this.popUpNotificationService = popUpNotificationService;\n this.logService = logService;\n }\n /**\n * Resolve the current user's popup notifications\n * @param route Route data/params\n * @param state State of the router\n */\n resolve() {\n this.logService.info(`Resolving popup Notifications`);\n return this.popUpNotificationService.fetchPopUpNotifications();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationResolver, deps: [{ token: PopUpNotificationService }, { token: LoggingService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationResolver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: PopUpNotificationResolver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: PopUpNotificationService }, { type: LoggingService }] });\n\nvar TermsAndConditionsType;\n(function (TermsAndConditionsType) {\n // General terms and conditions\n TermsAndConditionsType[TermsAndConditionsType[\"General\"] = 1] = \"General\";\n // Loading card terms and conditions\n TermsAndConditionsType[TermsAndConditionsType[\"LoadCard\"] = 2] = \"LoadCard\";\n // Print ticket terms and conditions\n TermsAndConditionsType[TermsAndConditionsType[\"PrintTicket\"] = 3] = \"PrintTicket\";\n // Ticket sell terms and conditions\n TermsAndConditionsType[TermsAndConditionsType[\"SellTickets\"] = 4] = \"SellTickets\";\n // Ticket transfer terms and conditions\n TermsAndConditionsType[TermsAndConditionsType[\"TransferTickets\"] = 5] = \"TransferTickets\";\n // Pricacy policy\n TermsAndConditionsType[TermsAndConditionsType[\"PrivacyPolicy\"] = 6] = \"PrivacyPolicy\";\n /// Loyalty terms and conditions\n TermsAndConditionsType[TermsAndConditionsType[\"LoyaltyScheme\"] = 7] = \"LoyaltyScheme\";\n // Guardian specific terms and conditions\n TermsAndConditionsType[TermsAndConditionsType[\"Guardian\"] = 8] = \"Guardian\";\n // Child specific terms and conditions\n TermsAndConditionsType[TermsAndConditionsType[\"GuardianChildren\"] = 9] = \"GuardianChildren\";\n})(TermsAndConditionsType || (TermsAndConditionsType = {}));\n\nlet TermsAndConditionsStore = class TermsAndConditionsStore extends EntityStore {\n constructor() {\n super();\n }\n akitaPreAddEntity(x) {\n return {\n ...x,\n storeID: [x.Type, x.Id, x.LCID].join('-'),\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TermsAndConditionsStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TermsAndConditionsStore, providedIn: 'root' }); }\n};\nTermsAndConditionsStore = __decorate([\n StoreConfig({ name: 'termsAndConditions', idKey: 'storeID' })\n], TermsAndConditionsStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TermsAndConditionsStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass TermsAndConditionQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n /** Select terms and conditions by type and lcid.\n * @param selectedType terms and condition type\n * @param lcid language variant to be displayed\n */\n selectTermsAndConditions(selectedType, lcid) {\n return this.selectAll({\n filterBy: (entity) => entity.Type === selectedType && entity.LCID === lcid,\n });\n }\n /** Checks if there are terms of specific type in store.\n * @param termsType terms and condition type\n */\n hasTerms(termsType) {\n return Boolean(this.getAll({ filterBy: [(entity) => entity.Type == termsType] }).length);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TermsAndConditionQuery, deps: [{ token: TermsAndConditionsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TermsAndConditionQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TermsAndConditionQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: TermsAndConditionsStore }] });\n\nclass TermsAndConditionsService {\n constructor(api, termsAndConditionsStore, termsAndConditionsQuery, logService) {\n this.api = api;\n this.termsAndConditionsStore = termsAndConditionsStore;\n this.termsAndConditionsQuery = termsAndConditionsQuery;\n this.logService = logService;\n }\n /** Fetch all terms and conditions and put them in the store.\n * @param selectedType terms and condition type\n * @param lcid language variant to be displayed\n * @param clubId get the clubId of the user\n */\n fetchTermsAndConditions(selectedType, lcid, clubId = 1) {\n this.logService.debug(`Fetching ${TermsAndConditionsType[selectedType]} Terms and Conditions`);\n return this.api.get(`terms/all/${selectedType}/${clubId}`).pipe(tap((terms) => {\n terms.forEach((term) => {\n term.Type = selectedType;\n });\n this.termsAndConditionsStore.add(terms);\n }), map((terms) => terms.filter((term) => term.LCID === +lcid)));\n }\n /** Gets terms and conditions for a specific type\n * @param selectedType terms and condition type\n * @param lcid (Optional) language variant to be displayed. If not specified, config default lcid is used.\n */\n getTermsAndConditions(selectedType, lcid, clubId = 1) {\n return this.termsAndConditionsQuery.hasTerms(selectedType)\n ? this.termsAndConditionsQuery.selectTermsAndConditions(selectedType, lcid ? +lcid : +config.defaultLcid)\n : this.fetchTermsAndConditions(selectedType, lcid ? lcid : config.defaultLcid, clubId);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TermsAndConditionsService, deps: [{ token: ApiService }, { token: TermsAndConditionsStore }, { token: TermsAndConditionQuery }, { token: LoggingService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TermsAndConditionsService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: TermsAndConditionsService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }], ctorParameters: () => [{ type: ApiService }, { type: TermsAndConditionsStore }, { type: TermsAndConditionQuery }, { type: LoggingService }] });\n\nlet EarnPointsStore = class EarnPointsStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsStore, providedIn: 'root' }); }\n};\nEarnPointsStore = __decorate([\n StoreConfig({ name: 'earn-points', idKey: 'SectionId' })\n], EarnPointsStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass EarnPointsService {\n constructor(earnPointsStore, api, logService) {\n this.earnPointsStore = earnPointsStore;\n this.api = api;\n this.logService = logService;\n }\n /** Fetch all earn points and put them in the store.\n *\n * @param populationId population variant added onto call\n * @param lcid language variant to be displayed\n */\n fetchEarnPoints(populationId, lcid, clubId) {\n this.logService.debug(`Fetching Earn Points`);\n const request$ = this.api\n .get(`content/EarnPoints?clubId=${clubId}&lcid=${lcid}&populationId=${populationId}`)\n .pipe(tap((earnPoints) => {\n this.earnPointsStore.set(earnPoints);\n }));\n return cacheable(this.earnPointsStore, request$);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsService, deps: [{ token: EarnPointsStore }, { token: ApiService }, { token: LoggingService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: EarnPointsStore }, { type: ApiService }, { type: LoggingService }] });\n\nclass EarnPointsQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsQuery, deps: [{ token: EarnPointsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: EarnPointsQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: EarnPointsStore }] });\n\nlet FaqSectionStore = class FaqSectionStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionStore, providedIn: 'root' }); }\n};\nFaqSectionStore = __decorate([\n StoreConfig({ name: 'faq-section', idKey: 'SectionId' })\n], FaqSectionStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass FaqSectionService {\n constructor(FaqSectionStore, api, logService) {\n this.FaqSectionStore = FaqSectionStore;\n this.api = api;\n this.logService = logService;\n }\n /** Fetch all faqs and put them in the store.\n *\n * @param populationId population variant added onto call\n * @param lcid language variant to be displayed\n */\n fetchFaqSection(populationId, lcid, clubId) {\n this.logService.debug(`Fetching FAQs`);\n const request$ = this.api\n .get(`content/FAQs?clubId=${clubId}&lcid=${lcid}&populationId=${populationId}`)\n .pipe(tap((faqSection) => {\n this.FaqSectionStore.upsertMany(faqSection);\n }));\n return cacheable(this.FaqSectionStore, request$);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionService, deps: [{ token: FaqSectionStore }, { token: ApiService }, { token: LoggingService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: FaqSectionStore }, { type: ApiService }, { type: LoggingService }] });\n\nclass FaqSectionQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionQuery, deps: [{ token: FaqSectionStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: FaqSectionQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: FaqSectionStore }] });\n\n// tslint:disable: variable-name\n\n// tslint:disable: variable-name\nclass CallBackModel {\n constructor(responseString, queryString, headers = {}) {\n this.ResponseString = responseString;\n this.QueryString = queryString;\n this.Headers = headers;\n }\n}\n\nconst CARD_TOKEN_MOCK_DEFAULT = {\n TokenId: 0,\n PortalId: 'PortalID',\n ClubId: 0,\n CardToken: 'CardToken',\n ExpiryDate: null,\n CardType: 0,\n CardNumber: '4111111111111111',\n IsDefaultToken: true,\n Frozen: false,\n CardIssuer: 'Test',\n};\nconst CARD_TOKEN_MOCK_OTHERS = [\n {\n TokenId: 0,\n PortalId: 'PortalID',\n ClubId: 0,\n CardToken: 'CardToken2',\n ExpiryDate: null,\n CardType: 0,\n CardNumber: '4111111111111112',\n IsDefaultToken: false,\n Frozen: false,\n CardIssuer: 'Test',\n },\n {\n TokenId: 0,\n PortalId: 'PortalID',\n ClubId: 0,\n CardToken: 'CardTokenFrozen',\n ExpiryDate: null,\n CardType: 0,\n CardNumber: '4111111111111113',\n IsDefaultToken: false,\n Frozen: true,\n CardIssuer: 'Test',\n },\n];\n\nclass ProviderUiActionResponse {\n}\nclass ProviderActionModel {\n}\nvar ProviderActionKind;\n(function (ProviderActionKind) {\n /// No Action is required\n ProviderActionKind[ProviderActionKind[\"None\"] = 0] = \"None\";\n /// Post Form using the Form\n ProviderActionKind[ProviderActionKind[\"PostForm\"] = 1] = \"PostForm\";\n /// Redirect using the URL\n ProviderActionKind[ProviderActionKind[\"RedirectUrl\"] = 2] = \"RedirectUrl\";\n /// Create IFrame Modal using the URL\n ProviderActionKind[ProviderActionKind[\"IframeModalRedirect\"] = 3] = \"IframeModalRedirect\";\n /// Create IFrame Modal post using the url\n ProviderActionKind[ProviderActionKind[\"IframeModalPostRedirect\"] = 4] = \"IframeModalPostRedirect\";\n /// Create IFrame using the URL\n ProviderActionKind[ProviderActionKind[\"IframeRedirect\"] = 5] = \"IframeRedirect\";\n /// Create IFrame post using the url\n ProviderActionKind[ProviderActionKind[\"IframePostRedirect\"] = 6] = \"IframePostRedirect\";\n /// Render Content to the page\n ProviderActionKind[ProviderActionKind[\"RenderContent\"] = 7] = \"RenderContent\";\n /// Render the Content to an IFrame\n ProviderActionKind[ProviderActionKind[\"RenderContentToIFrame\"] = 8] = \"RenderContentToIFrame\";\n})(ProviderActionKind || (ProviderActionKind = {}));\nvar ProviderNextActionKind;\n(function (ProviderNextActionKind) {\n /// No Action Required\n ProviderNextActionKind[ProviderNextActionKind[\"None\"] = 0] = \"None\";\n /// Need to make contact with the payment gateway\n ProviderNextActionKind[ProviderNextActionKind[\"ContactPaymentGateway\"] = 10] = \"ContactPaymentGateway\";\n /// Require more information about shipping\n ProviderNextActionKind[ProviderNextActionKind[\"RequireShippingInformation\"] = 20] = \"RequireShippingInformation\";\n /// Require customer to provide address information\n ProviderNextActionKind[ProviderNextActionKind[\"RequireAddressInformation\"] = 30] = \"RequireAddressInformation\";\n /// Validate the user's address before proceeding with purchase\n ProviderNextActionKind[ProviderNextActionKind[\"ValidateDefaultAddressUponPurchase\"] = 40] = \"ValidateDefaultAddressUponPurchase\";\n})(ProviderNextActionKind || (ProviderNextActionKind = {}));\n\nconst PROVIDER_RESPONSE_SUCCESS_MOCK = {\n Success: true,\n OrderId: '12345',\n Amount: 5,\n ErrorCode: '',\n ErrorMessage: '',\n ProviderActionInformation: {\n FormId: '',\n Form: '',\n Url: '',\n TargetName: '',\n ActionKind: 0,\n NextAction: 0,\n Scripts: [''],\n Javascript: '',\n }\n};\nconst PROVIDER_RESPONSE_NEED_SHIPPING_MOCK = {\n Success: false,\n OrderId: '12345',\n Amount: 5,\n ErrorCode: '',\n ErrorMessage: '',\n ProviderActionInformation: {\n FormId: '',\n Form: '',\n Url: '',\n TargetName: '',\n ActionKind: 0,\n NextAction: 20,\n Scripts: [''],\n Javascript: '',\n }\n};\nconst PROVIDER_RESPONSE_NEED_ADDRESS_MOCK = {\n Success: false,\n OrderId: '12345',\n Amount: 5,\n ErrorCode: '',\n ErrorMessage: '',\n ProviderActionInformation: {\n FormId: '',\n Form: '',\n Url: '',\n TargetName: '',\n ActionKind: 0,\n NextAction: 40,\n Scripts: [''],\n Javascript: '',\n }\n};\nconst PROVIDER_RESPONSE_ERROR_MOCK = {\n Success: false,\n OrderId: '12345',\n Amount: 5,\n ErrorCode: '404',\n ErrorMessage: 'Item Not Found',\n ProviderActionInformation: {\n FormId: '',\n Form: '',\n Url: '',\n TargetName: '',\n ActionKind: 0,\n NextAction: 0,\n Scripts: [''],\n Javascript: '',\n }\n};\n\nclass TopUpViewModel {\n constructor(acn, amount, portalId, memberId, successUrl, failureUrl) {\n this.acn = acn;\n this.amount = amount;\n this.portalId = portalId;\n this.memberId = memberId;\n this.successUrl = successUrl;\n this.failureUrl = failureUrl;\n }\n}\n\nvar TopUpAmountTypeId;\n(function (TopUpAmountTypeId) {\n TopUpAmountTypeId[TopUpAmountTypeId[\"TopUpAmount\"] = 1] = \"TopUpAmount\";\n TopUpAmountTypeId[TopUpAmountTypeId[\"AutoTopUpThreshHold\"] = 2] = \"AutoTopUpThreshHold\";\n TopUpAmountTypeId[TopUpAmountTypeId[\"AutoTopUpTopUpAmount\"] = 3] = \"AutoTopUpTopUpAmount\";\n TopUpAmountTypeId[TopUpAmountTypeId[\"TransferAmounts\"] = 4] = \"TransferAmounts\";\n TopUpAmountTypeId[TopUpAmountTypeId[\"TopUpTicketAmount\"] = 5] = \"TopUpTicketAmount\";\n TopUpAmountTypeId[TopUpAmountTypeId[\"TopUpMobile\"] = 6] = \"TopUpMobile\";\n TopUpAmountTypeId[TopUpAmountTypeId[\"CharityDonation\"] = 7] = \"CharityDonation\";\n})(TopUpAmountTypeId || (TopUpAmountTypeId = {}));\n\nclass EcashTransferViewModel {\n constructor(MemberId, ToMemberId, Amount, PurseNumber, ClubId) {\n this.MemberId = MemberId;\n this.ToMemberId = ToMemberId;\n this.Amount = Amount;\n this.PurseNumber = PurseNumber;\n this.ClubId = ClubId;\n }\n}\n\n/**\n * A factory function that creates RenewalBonus\n */\nfunction createRenewalBonus(params) {\n return {};\n}\n\nlet CardTokenStore = class CardTokenStore extends EntityStore {\n constructor() {\n super();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenStore, providedIn: 'root' }); }\n};\nCardTokenStore = __decorate([\n StoreConfig({ name: 'card-token', idKey: 'TokenId', cache: { ttl: 20000 } })\n], CardTokenStore);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenStore, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\n\nclass CardTokenQuery extends QueryEntity {\n constructor(store) {\n super(store);\n this.store = store;\n }\n /** All card tokens. */\n selectCard() {\n return this.selectAll();\n }\n /** The default card token. */\n selectDefaultCard() {\n return this.selectActive().pipe(map(x => (Array.isArray(x) ? x[0] : x)));\n }\n /** All card tokens except the default card token. */\n selectExceptDefaultCard() {\n return this.selectAll({ filterBy: entity => !entity.IsDefaultToken });\n }\n /** All frozen card tokens. */\n selectFrozenCards() {\n return this.selectAll({ filterBy: card => card.Frozen });\n }\n /** All unfrozen card tokens. */\n selectUnfrozenCards() {\n return this.selectAll({ filterBy: card => !card.Frozen });\n }\n /** All expired card tokens. */\n selectExpiredCards() {\n return this.selectAll({\n filterBy: card => {\n if (!card.ExpiryDate) {\n return false;\n }\n return new Date(card.ExpiryDate) < new Date();\n }\n });\n }\n /** All unexpired card tokens. */\n selectUnexpiredCards() {\n return this.selectAll({\n filterBy: card => {\n if (!card.ExpiryDate) {\n return true;\n }\n return new Date(card.ExpiryDate) >= new Date();\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenQuery, deps: [{ token: CardTokenStore }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.2.1\", ngImport: i0, type: CardTokenQuery, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [{ type: CardTokenStore }] });\n\n// tslint:disable: no-eval : JavaScript is returned from the API due to legacy support for Portal V3\nclass PaymentService {\n constructor(router, logService) {\n this.router = router;\n this.logService = logService;\n this.scripts = {};\n }\n /** Loads an external script with a new