1(self.webpackChunkmeridianbet_web_v4=self.webpackChunkmeridianbet_web_v4||[]).push([[8792],{68374:(he,M,r)=>{"use strict";r.d(M,{B3:()=>p,G2:()=>v,Rv:()=>i,Vz:()=>m,WL:()=>_,h6:()=>d,vQ:()=>h});var o=r(49969);const i=(0,o.hZ)("fade",[(0,o.kY)(":enter",(0,o.Os)([(0,o.P)(":self",[(0,o.iF)({opacity:0}),(0,o.i0)("300ms",(0,o.iF)({opacity:1}))]),(0,o.P)("@*",(0,o.MA)())])),(0,o.kY)(":leave",(0,o.Os)([(0,o.P)(":self",[(0,o.i0)("300ms",(0,o.iF)({opacity:0}))]),(0,o.P)("@*",(0,o.MA)())]))]),d=(0,o.hZ)("fadeSimple",[(0,o.kY)(":enter",(0,o.Os)([(0,o.P)(":self",[(0,o.iF)({opacity:0}),(0,o.i0)("300ms",(0,o.iF)({opacity:1}))])])),(0,o.kY)(":leave",(0,o.Os)([(0,o.P)(":self",[(0,o.i0)("300ms",(0,o.iF)({opacity:0}))])]))]),h=(0,o.hZ)("fadeSimpleFast",[(0,o.kY)(":enter",(0,o.Os)([(0,o.P)(":self",[(0,o.iF)({opacity:0}),(0,o.i0)("150ms",(0,o.iF)({opacity:1}))])])),(0,o.kY)(":leave",(0,o.Os)([(0,o.P)(":self",[(0,o.i0)("150ms",(0,o.iF)({opacity:0}))])]))]),v=(0,o.hZ)("fadeSimpleFastModal",[(0,o.kY)(":enter",(0,o.Os)([(0,o.P)(":self",[(0,o.iF)({opacity:0}),(0,o.i0)("200ms 1500ms",(0,o.iF)({opacity:1}))])])),(0,o.kY)(":leave",(0,o.Os)([(0,o.P)(":self",[(0,o.i0)("200ms",(0,o.iF)({opacity:0}))])]))]),_=(0,o.hZ)("fadeSimpleMedium",[(0,o.kY)(":enter",(0,o.Os)([(0,o.P)(":self",[(0,o.iF)({opacity:0}),(0,o.i0)("200ms",(0,o.iF)({opacity:1}))])])),(0,o.kY)(":leave",(0,o.Os)([(0,o.P)(":self",[(0,o.i0)("300ms",(0,o.iF)({opacity:0}))])]))]),m=(0,o.hZ)("singleEventFadeOut",[(0,o.kY)(":enter",[(0,o.iF)({opacity:"0",width:"100%"}),(0,o.i0)(".5s ease-in-out",(0,o.iF)({opacity:"1"}))]),(0,o.kY)(":leave",[(0,o.iF)({opacity:"1",width:"100%"}),(0,o.i0)(".5s ease-in-out",(0,o.iF)({opacity:"0"}))])]),p=(0,o.hZ)("missionsFadeIn",[(0,o.wk)("inactive",(0,o.iF)({transform:"translateX(0) scale(0.5)"})),(0,o.wk)("active",(0,o.iF)({transform:"scale(1)",opacity:1})),(0,o.kY)("inactive => active",[(0,o.i0)("0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55)")]),(0,o.kY)("active => inactive",[(0,o.i0)("0.2s ease-out")])])},89157:(he,M,r)=>{"use strict";r.d(M,{q:()=>i});var o=r(49969);const i=(0,o.hZ)("notificationPopupAnimation",[(0,o.kY)(":enter",[(0,o.iF)({transform:"translateX(100%)"}),(0,o.i0)(".4s ease-in-out",(0,o.iF)({transform:"translateX(0)"}))]),(0,o.kY)(":leave",[(0,o.iF)({opacity:1,transform:"translateX(0)"}),(0,o.i0)(".2s ease-in-out",(0,o.iF)({opacity:0,transform:"translateX(100%)"}))])])},36412:(he,M,r)=>{"use strict";r.d(M,{u:()=>L,J:()=>T});var o=r(2091),i=r(20279),d=r(54438),h=r(15539),v=r(95006),_=r(83921),m=r(14421),p=r(21626),u=r(54356),E=r(28257),C=r(3923),l=r(27767),y=r(54509),I=r(73955),S=r(3287),P=r(84978),F=r(34405);let N=(()=>{class Z{constructor(){this._configurationService=(0,d.WQX)(P.s),this._translateService=(0,d.WQX)(I.c$),this._configTemplateService=(0,d.WQX)(S.c),this._configKeysService=(0,d.WQX)(y.u),this._restConfigurationService=(0,d.WQX)(F.M)}updateConfiguration(ve,me,xe){this._configurationService.expandConfigurations(ve.bo?.configurations??{}),this._translateService.setTranslation(xe,ve.bo?.translations??{},!0),this._configTemplateService.addTemplates(ve.bo?.templates??{}),ve.rest&&this._restConfigurationService.updateRestConfiguration(ve.rest),this._configKeysService.markKeysAsLoaded(me)}static{this.\u0275fac=function(me){return new(me||Z)}}static{this.\u0275prov=d.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})();const U=Z=>{if(!(0,E.FX)())return!0;const ie=C.C[Z.data.configScope]??C.C[l.h8.ALL];if(!ie)return!0;const ve=(0,d.WQX)(u.w).locale,{url:me,type:xe,alreadyLoaded:$}=(0,E.Ys)(ve,ie,(0,d.WQX)(y.u).loadedConfigurationKeys);if(xe!==l.$S.UNIFIED||$)return!0;const V=(0,d.WQX)(N);return(0,d.WQX)(p.Qq).get(me).pipe((0,h.M)(oe=>V.updateConfiguration(oe,ie,ve)),(0,v.T)(()=>!0),(0,_.W)(()=>(0,m.of)(!1)))},T=[{path:":locale",loadChildren:()=>Promise.all([r.e(5398),r.e(6581),r.e(2044),r.e(9697),r.e(3537),r.e(3186),r.e(2581),r.e(2076),r.e(662)]).then(r.bind(r,662)).then(Z=>Z.MainModule),data:{translationKey:":locale"},canActivate:[U]},{path:"",loadChildren:()=>Promise.all([r.e(6581),r.e(2076),r.e(8847)]).then(r.bind(r,8847)).then(
1Z=>Z.LandingPageModule),pathMatch:"full",data:{pageName:i.Bi.LANDING,translationKey:"",configScope:l.h8.LANDING_PAGE},canActivate:[U]},{path:"**",redirectTo:"",pathMatch:"full"}];let L=(()=>{class Z{static{this.\u0275fac=function(me){return new(me||Z)}}static{this.\u0275mod=d.$C({type:Z})}static{this.\u0275inj=d.G2t({imports:[o.iI.forRoot(T,{initialNavigation:"enabledNonBlocking"}),o.iI]})}}return Z})()},27717:(he,M,r)=>{"use strict";r.d(M,{$:()=>pn});var o=r(10467),i=r(31635),d=r(91398),h=r(54438),v=r(2091),_=r(45286),m=r(23712),p=r(67018),u=r(62125),E=r(72036),C=r(3578),l=r(60177),y=r(23220),I=r(48410),S=r(22804),P=r(30798),F=r(92487),N=r(20279),U=r(76227),T=r(37320),L=r(89157),Z=r(85046),ie=r(62548),ve=r(5954),me=r(85375),xe=r(63020),$=r(8700),V=r(18978),oe=r(86807),z=r(31471),W=r(82361),re=r(73955),ee=r(39934),Se=r(62861),J=r(58114),de=r(96467);let ke=(()=>{class Pn{constructor(){this._modalService=(0,h.WQX)(W.B),this.missionsService=(0,h.WQX)(Se.x),this._routingService=(0,h.WQX)(ee.O),this.payload=h.hFB.required()}close(){this._modalService.close()}goToMissions(){this._routingService.navigate(this._routingService.getUrlByPageName(N.Bi.MISSIONS)),this.close()}static{this.\u0275fac=function(Q){return new(Q||Pn)}}static{this.\u0275cmp=h.VBU({type:Pn,selectors:[["missions-tier-change-modal"]],inputs:{payload:[1,"payload"]},standalone:!0,features:[h.aNF],decls:24,vars:17,consts:[[1,"c-modal"],[1,"c-modal__body"],[1,"c-missions-reward-header"],[1,"c-missions-reward-header__name"],[1,"c-missions-reward-header__close-btn",3,"click"],["icon","close",1,"c-close-icon"],[1,"c-missions-header__name",3,"ngClass"],[1,"c-missions-header__image-wrapper"],[1,"c-missions-header__image",3,"src"],[1,"c-missions-description",3,"ngClass"],[1,"c-missions-description__title"],[1,"c-missions-description__text",3,"ngClass"],[1,"c-missions-reward-bottom"],[1,"c-missions-reward-buy-btn-container"],[1,"c-missions-btn",3,"click"]],template:function(Q,Te){1&Q&&(h.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),h.EFF(4),h.nI1(5,"translate"),h.k0s(),h.j41(6,"button",4),h.bIt("click",function(){return Te.close()}),h.nrm(7,"svg-icon",5),h.k0s()(),h.j41(8,"div",6),h.EFF(9),h.k0s(),h.j41(10,"div",7),h.nrm(11,"img",8),h.k0s(),h.j41(12,"div",9)(13,"div",10),h.EFF(14),h.nI1(15,"translate"),h.k0s(),h.j41(16,"div",11),h.EFF(17),h.nI1(18,"translate"),h.k0s()(),h.j41(19,"div",12)(20,"div",13)(21,"button",14),h.bIt("click",function(){return Te.goToMissions()}),h.EFF(22),h.nI1(23,"translate"),h.k0s()()()()()),2&Q&&(h.R7$(4),h.JRh(h.bMT(5,9,"general.tier_upgraded")),h.R7$(4),h.Y8G("ngClass","c-missions-header__name--"+Te.payload().tier.type),h.R7$(),h.SpI(" ",Te.payload().tier.name," "),h.R7$(2),h.FS9("src",Te.payload().tier.imageUrl,h.B4B),h.R7$(),h.Y8G("ngClass","c-missions-description--"+Te.payload().tier.type),h.R7$(2),h.SpI(" ",h.bMT(15,11,"general.new_tier_unlocked")," "),h.R7$(2),h.Y8G("ngClass","c-missions-description__text--"+Te.payload().tier.type),h.R7$(),h.SpI(" ",h.bMT(18,13,"general.new_tier_unlocked_text")," "),h.R7$(5),h.SpI(" ",h.bMT(23,15,"general.go_to_missions")," "))},dependencies:[J.A,de.D,re.h,re.D9,l.CommonModule,l.NgClass],styles:[".c-missions-header__image-wrapper[_ngcontent-%COMP%]{width:200xp;height:250px;display:flex;justify-content:center;align-items:end}.c-missions-header__image[_ngcontent-%COMP%]{object-fit:contain;width:200xp;height:250px}.c-missions-reward-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:10px}.c-missions-description[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:20px 0}.c-missions-description.c-missions-description--TIER_1[_ngcontent-%COMP%]{background:var(--missions-tier-bronze-title);-webkit-background-clip:text;color:transparent}.c-missions-description.c-missions-description--TIER_2[_ngcontent-%COMP%]{background:var(--missions-tier-silver-title);-webkit-background-clip:text;color:transparent}.c-missions-description.c-missions-description--TIER_3[_ngcontent-%COMP%]{background:var(--missions-tier-gold-title);-webkit-background-clip:text;color:transparent}.c-missions-description.c-missions-description--INVITE_ONLY[_ngcontent-%COMP%]{background:var(--missions-tier-diamond-title);-webkit-background-clip:text;color:transparent}.c-missions-description__title[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:20px 0;font-weight:900;font-size:32px;font-family:var(--font-cond);font-style:italic;text-transform:uppercase}.c-missions-description__text[_ngcontent-%COMP%]{display:flex;justify-content:center;width:95%;text-align:center;margin-top:10px;max-width:400px;font-weight:500;font-family:var(--font);font-size:14px;line-height:17px}.c-missions-description__text.c-missions-description__text--TIER_1[_ngcontent-%COMP%]{background:var(--missions-orange-36);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.c-missions-description__text.c-missions-description__text--TIER_2[_ngcontent-%COMP%]{background:var(--missions-tier-silver-title);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.c-missions-description__text.c-missions-description__text--TIER_3[_ngcontent-%COMP%]{background:var(--missions-yellow-06);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.c-missions-description__text.c-missions-description__text--INVITE_ONLY[_ngcontent-%COMP%]{background:var(--missions-diamond-14);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.c-missions-header__name[_ngcontent-%COMP%]{height:60px;display:flex;justify-content:center;text-transform:uppercase;margin:20px 0;font-family:var(--font-cond);font-size:60px;font-style:italic;font-weight:900;align-items:center}.c-missions-header__name.c-missions-header__name--TIER_1[_ngcontent-%COMP%]{background:var(--missions-tier-bronze-title);-webkit-background-clip:text;color:transparent}.c-missions-header__name.c-missions-header__name--TIER_2[_ngcontent-%COMP%]{background:var(--missions-tier-silver-title);-webkit-background-clip:text;color:transparent}.c-missions-header__name.c-missions-header__name--TIER_3[_ngcontent-%COMP%]{background:var(--missions-tier-gold-title);-webkit-background-clip:text;color:transparent}.c-missions-header__name.c-missions-header__name--INVITE_ONLY[_ngcontent-%COMP%]{background:var(--missions-tier-diamond-title);-webkit-background-clip:text;color:transparent}.c-missions-reward-header__name[_ngcontent-%COMP%]{font-family:var(--font-cond);font-weight:900;font-style:italic;font-size:21px;
1color:var(--missions-orange-03);text-transform:uppercase}.c-missions-reward-header__close-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;color:var(--white);width:12px;height:12px}.c-missions-reward-buy-btn-container[_ngcontent-%COMP%]{padding:0 30px}.c-missions-btn[_ngcontent-%COMP%]{width:100%;background:linear-gradient(180deg,var(--missions-orange-13) 0%,var(--missions-orange-05) 100%);padding:18px;border-radius:8px;font-family:var(--font-cond);font-weight:900;font-style:italic;font-size:20px;color:var(--white);text-transform:uppercase}.c-missions-btn.c-missions-btn--back[_ngcontent-%COMP%]{background:linear-gradient(to bottom,var(--missions-blue-03),var(--missions-blue-04))}.c-missions-btn[_ngcontent-%COMP%]:disabled{opacity:.5}.c-missions-reward-bottom[_ngcontent-%COMP%]{padding-top:30px;margin:auto 0 0}.c-modal__body[_ngcontent-%COMP%]{display:flex;flex-direction:column;border-top-left-radius:12px;border-top-right-radius:12px;border-top:1px solid var(--missions-orange-17);background:linear-gradient(to bottom,var(--missions-orange-16),var(--base-blue-06) 50%,var(--base-blue-06));min-height:80%}"]})}}return Pn})();var ge=r(36444),ye=r(8950),Pe=r(42073),Me=r(72161),We=r(77286),Oe=r(58167),tt=r(60767),Qe=r(34405),_t=r(55406),ht=r(98655),mt=r(84978),Vt=r(68757),Ot=r(2754),Fe=r(53811),Ye=r(89389),Re=r(45433),De=r(30507),He=r(5450),we=r(7900),Tt=r(58333),ct=r(75300),tn=r(40872),Ee=r(6468),se=r(38933),be=r(99999),je=r(12084),ft=r(6734),kt=r(54103),Yt=r(18655),yn=r(30569),ln=r(15455),Mn=r(48115);class An{constructor(){this._stabilityService=(0,h.WQX)(Mn.B),this._authService=(0,h.WQX)(Oe.u),this._botDetectionService=(0,h.WQX)(yn.a),this._client={},this.RECONNECT_RETRY_TIME=5e3}runSocketIoPaymentService(){(0,h.QZP)(()=>{this._handleCreateSocketClient(this._authService.accessToken())})}_handleCreateSocketClient(ne){this._botDetectionService.isBot||(this.disconnect(),this._authService.currentUser().isUserLogin&&this.connect(ne))}createClient(ne){return(0,ln.default)(WEBSOCKET_PAYMENT_URL,{path:"/socket.io",query:{access_token:ne},reconnection:!0,reconnectionDelayMax:this.RECONNECT_RETRY_TIME,...this._setUpReconnectionAttempts()})}_setUpReconnectionAttempts(){return"undefined"!=SOCKET_RECONNECTION_ATTEMPTS&&SOCKET_RECONNECTION_ATTEMPTS?{reconnectionAttempts:Number(SOCKET_RECONNECTION_ATTEMPTS)}:{}}connect(ne){(0,E.A)(this._client)&&this._stabilityService.isAppStable().subscribe(()=>{this._client=this.createClient(ne),this.setEventHandlers()})}setEventHandlers(){this._client.on("payment",(...ne)=>{_t.L.paymentStatusUpdate.next(JSON.parse(ne))})}disconnect(){(0,E.A)(this._client)||(this.removeAllListeners(),this._client.disconnect(),this._client=null)}removeAllListeners(){this._client.removeAllListeners()}static{this.\u0275fac=function(H){return new(H||An)}}static{this.\u0275prov=h.jDH({token:An,factory:An.\u0275fac,providedIn:"root"})}}(0,i.Cg)([me.X],An.prototype,"runSocketIoPaymentService",null),(0,i.Cg)([me.X],An.prototype,"_handleCreateSocketClient",null);var un=r(79158),wn=r(18254),Xn=r(63755),vt=r(62611),Dt=r(83477),ze=r(30306),on=r(69956),Gt=r(28998),Qn=r(64684),Ct=r(68933),ut=r(90486),Xe=r(37342),qe=r(26015),Bt=r(7901),St=r(18354);const Rt="seen_push_notifications_first_experience_modal";let Lt=(()=>{class Pn{constructor(){this._restConfigurationService=(0,h.WQX)(Qe.M),this._authService=(0,h.WQX)(Oe.u),this._routingService=(0,h.WQX)(ee.O)}shouldShowPushNotificationsFirstExperienceModal(){var H=this;return(0,o.A)(function*(){return!(!H._authService.currentUser().isUserLogin||!H._restConfigurationService.getGeneralCustomConfigurationParams("enableGenericPushNotifications")||(yield H._waitForPotentialRedirect(),yield H._routingService.waitForNavigationToFinish(),H._routingService.isSingleCasinoGameActive())||JSON.parse(localStorage.getItem(Rt)??"false"))})()}setSeenPushNotificationsFirstExperienceModal(){localStorage.setItem(Rt,JSON.stringify(!0))}_waitForPotentialRedirect(){return new Promise(H=>setTimeout(()=>H(!0),250))}static{this.\u0275fac=function(Q){return new(Q||Pn)}}static{this.\u0275prov=h.jDH({token:Pn,factory:Pn.\u0275fac,providedIn:"root"})}}return Pn})();const fn=Pn=>({"l-main-content--header-hidden":Pn}),cn=Pn=>({"hidden-wrapper":Pn});function Kt(Pn,ne){if(1&Pn){const H=h.RV6();h.j41(0,"header",10),h.bIt("overflowRecalculationDemanded",function(){h.eBV(H);const Te=h.XpG();return h.Njj(Te.calculateOverflow())})("emitPageId",function(Te){h.eBV(H);const lt=h.XpG();return h.Njj(lt.handleChangeOfPage(Te))}),h.k0s()}if(2&Pn){const H=h.XpG();h.Y8G("navigationConf",H.navigationConf)("selectedPage",H.selectedPage)("selectedActiveTab",H.selectedActiveTab)("overflowItems",H.overflowItems)("selectedNavigationName",H.selectedNavigationName)("shouldHideSearch",H.shouldHideSearch)}}function Ue(Pn,ne){1&Pn&&h.nrm(0,"main-search")}function at(Pn,ne){if(1&Pn){const H=h.RV6();h.j41(0,"net-balance",11),h.bIt("closeNotificationEmitter",function(){h.eBV(H);const Te=h.XpG();return h.Njj(Te.handleCloseNetBalance())}),h.k0s()}if(2&Pn){const H=h.XpG();h.Y8G("@notificationPopupAnimation",void 0)("netBalance",H.netBalance)}}function xt(Pn,ne){1&Pn&&h.nrm(0,"global-loader")}function Zt(Pn,ne){if(1&Pn){const H=h.RV6();h.qex(0),h.j41(1,"notification-popup",12),h.bIt("onCloseNotification",function(Te){h.eBV(H);const lt=h.XpG();return h.Njj(lt.removeNotification(Te))}),h.k0s(),h.bVm()}if(2&Pn){const H=ne.$implicit,Q=ne.index;h.R7$(),h.Y8G("notification",H)("index",Q)}}function rn(Pn,ne){if(1&Pn){const H=h.RV6();h.j41(0,"deposit-notification-popup",13),h.bIt("closed",function(){h.eBV(H);const Te=h.XpG();return h.Njj(Te.onNotificationClosed())}),h.k0s()}if(2&Pn){const H=h.XpG();h.Y8G("@notificationPopupAnimation",void 0)("notification",H.singleDepositNotification)}}function dn(Pn,ne){if(1&Pn){const H=h.RV6();h.j41(0,"div",14),h.bIt("click",function(){h.eBV(H);const Te=h.XpG();return h.Njj(Te.openChatbot())}),h.k0s()}}function sn(Pn,ne){if(1&Pn){const H=h.RV6();h.j41(0,"div",14),h.bIt("click",function(){h.eBV(H);const Te=h.XpG();return h.Njj(Te.openOracleChat())}),h.k0s()}}function ai(Pn,ne){if(1&Pn&&h.nrm(0,"a",15),2&Pn){const H=h.XpG();h.Y8G("href",H.isMibewSupportUrl,h.B4B)}}function _i(Pn,ne){if(1&Pn){const H=h.RV6();h.j41(0,"div",14),h.bIt("click",function(){h.eBV(H);const Te=h.XpG();return h.Njj(Te.openTawkChat())}),h.k0s()}}class pn{constructor(ne,H,Q,Te,lt,Pt,Sn,Kn,Ht,Jn,ci,ji,qi,Fn,Ve,rt,nt,wt,Qt,Nt,an,Ln,On,Zn,li,Bn,vi,bi,Mi,ri,mi,Wi,Nn,Dn,ro,Jo,Ur,er,oo,_o,qn,mo,zs,ir,Xs,Xa,Pa,Gr,Io,jo,Zo,qo){this._modalService=ne,this._router=H,this._routingService=Q,this._globalLoaderService=Te,this._cookieService=Pt,this._authService=Sn,this._favoriteService=Kn,this._activatedRoute=Ht,this._restConfigurationService=Jn,this._socketHandlerService=ci,this.socketIoService=ji,this._translateService=qi,this._configurationService=Fn,this._liveStreamService=Ve,this._canonicalService=rt,this._location=nt,this._lazyLoadScript=wt,this._personalLimitsService=Qt,this._socketIoSessionDurationService=Nt,this._accountNavigationService=an,this._casinoService=Ln,this._resizeService=On,this._googleTagManagerService=Zn,this._oracleSdkService=li,this._themeService=Bn,this._verificationNotificationService=vi,this._hrefLangService=bi,this._preloadImagesSsrService=Mi,this._blinkingService=ri,this._ticketBonusService=mi,this._ticketService=Wi,this._sessionDurationService=Nn,this._socketIOPaymentService=Dn,this._userBalanceService=ro,this._accountService=Jo,this._localStorageService=Ur,this._stabilityService=er,this.searchService=oo,this._recaptchaService=_o,this._sumsubApiService=qn,this._itsmeService=mo,this._errorService=zs,this._unicoService=ir,this.headerService=Xs,this.missionsService=Xa,this._registrationProvidersService=Pa,this._simulationHttpService=Gr,this._sumsubService=Io,this._freshdeskService=jo,this._lastGamePlayedService=Zo,this._pushNotificationsStateService=qo,this.TIME_TO_REMOVE_NOTIFICATION=5e3,this.CHECK_FOR_OVERFLOW_TIME=500,this.CASINO_GAME="CASINO_GAME",this._subscriptions=[],this._checkForOverflow$=new _.B7,this.globalLoaderVisible=!1,this.notifications=[],this.isSalesForceChatEnabled=!1,this.selectedPage="sport",this.navigationAccountUrls=[],this.overflowItems=[],this.canTrigger=!1,this.selectedNavigationName="",this.isInitLoad=!1,this.shouldHideSearch=!0,this.showNetBalanceNotification=!1,this.isOracleChatEnabled=!1,this.isMibewSupportUrl="",this.isTawkChatEnabled=!1,this.tawkChatLogged=!1,this.isOracleChatVisible=!1,this.isSingleDepositNotificationPopupVisible=!1,this.singleDepositNotification=null,d.R.isBrowser=(0,l.isPlatformBrowser)(lt),(0,h.QZP)(()=>{this._authStatusChange(this._authService.currentUser().isUserLogin),this._isTawkChatEnabled()},{allowSignalWrites:!0}),this._socketIOPaymentService.runSocketIoPaymentService()}ngOnInit(){if(this._cookieService.set("first_time_visit_site","1",{path:"/",sameSite:"Lax",secure:!0,expires:(0,Z.GK)()}),this._setInitNavigation(),this.headerService.updateVisibility(),this._setCanonicalLink(),this._subscribeActivatedRoute(),this._hrefLangService.addOrReplaceHrefLang(),!d.R.isBrowser)return this._userBalanceService.calculateIfBalanceIsVisible(),void this._preloadImages();this._subscribeOnRouteChange(),this._subscribeOnGlobalLoader(),this._subscribeOnNetBalanceFetch(),this._subscribeOnChangePersonalLimits(),this.isOracleChatEnabled=this._configurationService.getParam("is_oracle_chat_enabled"),this._isSalesForceChatEnabled(),this._loadChatBot(),this._checkIfFreshdeskChatIsVisible(),this._setMibewSupportUrl(),this._subscribeOnLoginActionHappened(),this._subscribeOnLogoutActionHappened(),this._subscribeOnUpdateSessionDurationMessage(),this._subscribeOnWindowResize(),this._subscribeToMyAccountNavigationEvent(),this._subscribeOnNavigationRestart(),this._subscribeOnCheckForOverFlow(),this.shouldHideSearch=this._routingService.shouldHideSearch(),this._subscribeOnThemeChange(),this.isOracleChatEnabled&&this._oracleSdkService.connectToOracleSdk(),this._subscribeOnSessionSocketReconnect(),this.getToken(),this._subscribeOnSingleDepositActionHappened()}onResize(ne){this._resizeService.resize.next(ne.innerWidth)}ngOnDestroy(){(0,m.A)(this._subscriptions,ne=>ne.unsubscribe()),this._sessionDurationService.sessionDurationDataSet?.unsubscribe()}_subscribeOnWindowResize(){this._subscriptions.push(this._resizeService.resize.pipe((0,xe.B)(this.CHECK_FOR_OVERFLOW_TIME)).subscribe(ne=>{this.calculateOverflow(),this._resizeService.calculateMarketNumber(ne)}))}get user(){return this._authService.currentUser()}_subscribeOnCheckForOverFlow(){this._subscriptions.push(this._checkForOverflow$.pipe((0,xe.B)(this.CHECK_FOR_OVERFLOW_TIME)).subscribe(()=>this.calculateOverflow()))}_isTawkChatEnabled(){if(!this._restConfigurationService.getGeneralCustomConfigurationParams("tawkChatEnabled"))return void(this.isTawkChatEnabled=!1);const H=this._restConfigurationService.getGeneralCustomConfigurationParams("tawkChatForUnknownSession");this.isTawkChatEnabled=!!H||this._authService.currentUser().isUserLogin}hashInBase64(){const ne=this._authService.currentUser().accountId+"",H=z.HmacSHA256(ne,TAWK_API_KEY);return z.enc.Hex.stringify(H)}_handleTawkChatLogout(){this.tawkChatLogged&&(this.tawkChatLogged=!1,window.Tawk_API.logout(function(ne){ne||window.Tawk_API.minimize()}))}_subscribeToPlayerMissionUpdate(){this._playerMissionUpdate=this._socketHandlerService.playerMissionUpdate$.subscribe(ne=>{this.missionsService.setUserPoints(this.missionsService.formatUpdateMissionData(ne)),ne.tierChangeDirection===ge.gs.UPGRADED&&this.openModal(ne)})}_subscribeToPlayerMissionUpdateRoom(){this.socketIoService.subscribe(y.fu.PLAYER_MISSION_RANK_UPDATE,this._socketHandlerService.formatSubscribeRoomParamsObject(y.ej.PLAYER_MISSION_RANK_UPDATE))}_unsubscribeFromPlayerMissionUpdateRoom(){this.socketIoService.unsubscribe(y.fu.PLAYER_MISSION_RANK_UPDATE,this._socketHandlerService.formatUnSubscribeRoomParamsObject(y.ej.PLAYER_MISSION_RANK_UPDATE))}openModal(ne){const H=(0,p.A)(this.missionsService.allTiers(),Q=>Q.type===ne.tierAfter);H&&this._modalService.open({component:ke,payload:{tier:H}})}_handleTawkChatLogin(){this.tawkChatLogged?window.Tawk_API.maximize():(this.tawkChatLogged=!0,window.Tawk_API.login({hash:this.hashInBase64(),userId:this._authService.currentUser().accountId+"",name:{first:this._authService.currentUser().firstName,last:this._authService.currentUser().lastName}},function(ne){ne||(window.Tawk_API.start(),window.Tawk_API.maximize())}))}_getSimulationToken(){this._restConfigurationService.getGeneralCustomConfigurationParams("enableExpressBetting")&&(this._authService.currentUser().isUserLogin?this._ticketService.loggedOnSimulationTab||this.handleSimulationToken():this._simulationHttpService.removeJwtToken())}getToken(){var ne=this;this._subscriptions.push(this._authService.currentUser$.subscribe((0,o.A)(function*(){ne._getSimulationToken(),ne._checkIfSumsubIsEnabled()})))}getTokenForSumSub(){var ne=this;return(0,o.A)(function*(){ne._authService.currentUser().isUserLogin?ne._sumsubApiService.getJwtToken()||(yield ne._sumsubApiService.setJwtToken(ne._authService.currentUser().accountId),!ne._routingService.isOnVerification()&&(ne._sumsubService.setLevelName(),ne._authService.currentUser().applicantId&&(!ne._authService.currentUser().verified&&ne._authService.currentUser().sumsubStatusDTO===Pe.Pr.APPROVED||(yield ne._sumsubService.getApplicantLevels())))):ne._sumsubApiService.removeJwtToken()})()}handleSimulationToken(){this._casinoService.launchCasinoGame(this._getDataForLaunchGame()).subscribe(ne=>{const H=new URLSearchParams(new URL(ne.payload.url).search),Q={};H.forEach((Te,lt)=>{Q[lt]=Te}
1),this._simulationHttpService.get(`oauth?accessToken=${String(Q.authToken)}&market_id=${Q.oid}&client_app=${Q.client_app}`).subscribe(Te=>{this._simulationHttpService._setToken((0,u.A)(Te,"token","")),this._authService.setSimulatonBonusForAccount((0,u.A)(Te,"user.bonus",0))})})}_getDataForLaunchGame(){return{casinoProviderId:this._configurationService.getParam("simulation_casino_provider_id"),casinoGameId:this._configurationService.getParam("simulation_casino_game_id"),currency:this._getCurrency(),locale:S.P.locale,casinoGameMode:T.Td.REAL,wallet:"STANDARD"}}_getCurrency(){return this._authService.currentUser().isUserLogin?this._authService.getAccountCurrencyObject():this._restConfigurationService.getGeneralConfigurationParams("mainCurrency")}removeSumsubToken(){this._sumsubApiService.removeJwtToken()}openTawkChat(){this._handleTawkChatLogin()}_setMibewSupportUrl(){this.isMibewSupportUrl=this._configurationService.getParam("mibew_support_url")}_setCanonicalLink(){const ne=this._routingService.getCurrentUrl().split("?")[0];this._canonicalService._addOrReplaceTag({rel:"canonical",href:`${WEBSITE_URL}${ne}`})}_subscribeActivatedRoute(){this._subscriptions.push(this._activatedRoute.queryParams.subscribe(ne=>{this._handleRedirectCookies(ne),this._handleLoginModal(ne),this._handleTicketPreview(ne),this._handleBlinkingVerification(ne),this._handleItsmeVerification(ne),this._handleItsmeErrors(ne)}))}_handleLoginModal(ne){const H=(0,u.A)(ne,"login",!1),Q=this._authService.currentUser().isUserLogin;H&&this._restConfigurationService.getGeneralConfigurationParams("enableLogin")&&!Q&&this._openLoginModal()}_handleTicketPreview(ne){const H=(0,u.A)(ne,"ticketId","");H&&Promise.all([r.e(5398),r.e(9697),r.e(5783)]).then(r.bind(r,67453)).then(({TicketPreviewModal:Q})=>{this._modalService.open({component:Q,payload:{ticketId:H}})})}_handleBlinkingVerification(ne){(0,u.A)(ne,"blinkingVerificationCompleted","")&&(this._location.replaceState(this._routingService.getUrlByPageName("home")),this._modalService.openPopup({component:oe.SuccessPopup,payload:{message:"account.verification_sucessfull"}}))}_handleItsmeVerification(ne){if((0,u.A)(ne,"itsmeVerificationCompleted","")){if(this._location.replaceState(this._routingService.getUrlByPageName("home")),this._authService.currentUser().verified)return void setTimeout(()=>{this._openItsmeVerificationSuccess()});setTimeout(()=>{this._authService.refreshToken(!1,!1),this._authService.currentUser().verified?setTimeout(()=>{this._openItsmeVerificationSuccess()}):this._openGenericItsmeError()},2e3)}}_openItsmeVerificationSuccess(){this._modalService.openPopup({component:oe.SuccessPopup,payload:{message:"account.itsme_verification_successfull"}})}_handleItsmeErrors(ne){var H=this;return(0,o.A)(function*(){const Q=(0,u.A)(ne,"itsmeVerificationError","");Q&&(H._location.replaceState(H._routingService.getUrlByPageName("home")),setTimeout(()=>{H._errorService.openErrorPopup({error:`error.itsme_${Q}`})}))})()}_openGenericItsmeError(){var ne=this;return(0,o.A)(function*(){ne._modalService.close(),ne._errorService.openErrorPopup({error:"error.generic_itsme_verification_error"})})()}_handleRedirectCookies(ne){if(this._authService.currentUser().isUserLogin)return;const H=(0,u.A)(ne,ie.A.REDIRECT,""),Q=(0,u.A)(ne,ie.A.PROVIDER,"");H&&(this._cookieService.set(ie.A.REDIRECT,H,{path:"/",sameSite:"Strict",secure:!0,expires:(0,Z.GK)()}),Q&&this._cookieService.set(ie.A.PROVIDER,Q,{path:"/",sameSite:"Strict",secure:!0,expires:(0,Z.GK)()}))}_openLoginModal(){this._modalService.open({component:V.LoginModal,payload:{}})}_subscribeOnGlobalLoader(){this._subscriptions.push(this._globalLoaderService.globalLoaderChange$.subscribe(ne=>{this.globalLoaderVisible=ne}))}_subscribeOnSingleDepositActionHappened(){this._subscriptions.push(this._accountService.singleDepositHappened$.subscribe(ne=>{this.singleDepositNotification=ne,this.isSingleDepositNotificationPopupVisible=!0}))}_subscribeOnRouteChange(){this._router.events.subscribe(ne=>{ne instanceof v.ld&&ne.url!==ne.urlAfterRedirects&&this._routingService.navigateToHome(),ne instanceof v.wF&&(this.headerService.updateVisibility(),this._routingService.isOnCasino(!0)&&this.clearAllFilters(),this._routingService.isOnDeposit()&&this._sessionDurationService.shouldOpenSetLimitsModal(P.vo.DEPOSIT)&&this._sessionDurationService.openSetLimitsModal(),this.shouldHideSearch=this._routingService.shouldHideSearch(),this._routingService.isRouteActive(N.Bi.ACCOUNT_PAGE,!1)&&this._setInitAccountNavigation(),this._resetOverflowItems(),this._setSelectedTab(),this._setCanonicalLink(),this.calculateOverflow(),this._hrefLangService.addOrReplaceHrefLang())})}onNotificationClosed(){this.singleDepositNotification=null,this.isSingleDepositNotificationPopupVisible=!1}clearAllFilters(){this._casinoService.restartNavigation.next(),this._routingService.shouldCalculateScrollOnSlider.next(!0)}_subscribeOnChangePersonalLimits(){this._subscriptions.push(this._personalLimitsService.updatePersonalLimitsUserData$.subscribe(()=>{this._sessionDurationService.groupedConfigMandatoryLimits=null}))}_resetOverflowItems(){this.overflowItems=[]}calculateOverflow(){if(!this._routingService.isRouteActive(N.Bi.ACCOUNT_PAGE,!1))return;const ne=[];let H=0,Q=0,Te=[],lt=document.querySelector(".c-header__main-nav");try{H=lt.getBoundingClientRect().width,Te=Array.from(lt.children),Q=30}catch{return this._checkForOverflow$.next()}for(let Pt=0;Pt<this.selectedActiveTab.subItems.length;Pt++){if(!Te[Pt])return;Q+(Pt+1===Te.length&&0===this.overflowItems.length?180:400)<H&&Pt<5?Te[Pt+1]&&(Q+=Te[Pt+1].getBoundingClientRect().width):ne.push(this.selectedActiveTab.subItems[Pt])}this.overflowItems=ne}_subscribeOnNetBalanceFetch(){this._subscriptions.push(this._authService.netBalanceFetched$.subscribe(ne=>{this.netBalance={...ne,currency:this._authService.getAccountCurrency()},this.showNetBalanceNotification=!0,this._clearNotificationAfterDelay()}))}_clearNotificationAfterDelay(){this._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>{this.showNetBalanceNotification=!1},this.TIME_TO_REMOVE_NOTIFICATION)})}handleCloseNetBalance(){this.showNetBalanceNotification=!1}_authStatusChange(ne){this._favoriteService.favoriteIds=[],this._favoriteService.removeFromSession(),this._userBalanceService.calculateIfBalanceIsVisible(),this._checkIfOracleChatIsVisible(ne),this._maybeShowPushNotificationsFirstExperienceModal(),ne?(this._subscribeOnPaymentStatusChange(),this._subscribeToAccountBalanceRoom(),this._subscribeToPlayerMissionUpdateRoom(),this._subscribeToPlayerMissionUpdate(),this._subscribeOnAccountBalanceChange(),this._subscribeToAccountVerificationRoom(),this._sessionDurationService.checkForEnabledLimits(),this._checkSubmittedPayments(),this._setAvailableProvidersAndCheckUnico(),this._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskEnabed")&&this._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskBtnForLoginUserOnly")&&this._freshdeskService.onChangeStatus()):this._lastGamePlayedService.clearLastPlayedGame(),this._handleTawkChatLogout(),this.showNetBalanceNotification=!1,this._oracleSdkService.onChangeStatus(),this._ticketService.setNotificationsForTicketAvailable()}_checkIfSumsubIsEnabled(){this._sumsubService.isSumSubEnabled()&&this.getTokenForSumSub()}_setAvailableProvidersAndCheckUnico(){this._registrationProvidersService.getAvailableProviders().subscribe(ne=>{this._registrationProvidersService.availableProviders.set(ye.D.parseAvailableProviders(ne)),this._authService.shouldCheckUnicoFaceRecognition&&(this._unicoService.tryToOpenUnicoVerificationModal({callback:()=>{}},!1,!0),this._authService.shouldCheckUnicoFaceRecognition=!1)})}_checkIfOracleChatIsVisible(ne){this.isOracleChatVisible=ne||!this._restConfigurationService.getGeneralCustomConfigurationParams("oracleBtnForLoginUserOnly")}_checkIfFreshdeskChatIsVisible(){this._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskEnabed")&&(this._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskEnabed")&&this._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskBtnForLoginUserOnly")&&!this._authService.currentUser().isUserLogin||this._freshdeskService.connectToFreshdesk())}_subscribeOnPaymentStatusChange(){this._updatePaymentStatus$=this._socketHandlerService.paymentStatusUpdate$.subscribe(ne=>{I.gf.includes((0,u.A)(ne,"paymentState",""))&&(this.addNotification(ne),I.mv.includes((0,u.A)(ne,"paymentState",""))&&(this._googleTagManagerService.resetTemporaryEvent(ve.UQ),this._googleTagManagerService.pushDepositSubmittedOnDataLayer(ne)))})}addNotification(ne){const H=`\n ${this._translageKey(`account.notification_${ne.type?.toLocaleLowerCase()}`)} ${ne.paymentId}\n ${this._translageKey(`account.${ne.paymentState?.toLocaleLowerCase()}`)} ${this._translageKey("account.for")}\n `;this._notifySinglePaymentModalIfIsOpen(ne),this.notifications.push({message:H,success:"CREATE_TRANSFER_SUCCESS"===(0,u.A)(ne,"paymentState",""),amount:`${(0,u.A)(ne,"amount","")}`,currency:(0,u.A)(ne,"currency","")});const Q=this._configurationService.getParam("payment_notification_remove_time");this._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>{this.notifications.shift()},Q?parseInt(Q,10):this.TIME_TO_REMOVE_NOTIFICATION)})}removeNotification(ne){this.notifications.splice(ne,1)}_unSubscribeOnPaymentStatusChange(){this._updatePaymentStatus$&&this._updatePaymentStatus$.unsubscribe()}_subscribeToAccountBalanceRoom(){this.socketIoService.subscribe(y.fu.ACCOUNT_BA
1LANCE,this._socketHandlerService.formatSubscribeRoomParamsObject(y.ej.ACCOUNT_BALANCE_UPDATE))}_unsubscribeToAccountBalanceRoom(){this.socketIoService.unsubscribe(y.fu.ACCOUNT_BALANCE,this._socketHandlerService.formatUnSubscribeRoomParamsObject(y.ej.ACCOUNT_BALANCE_UPDATE))}_subscribeToAccountVerificationRoom(){this.socketIoService.subscribe(y.fu.ACCOUNT_VERIFICATION,this._socketHandlerService.formatSubscribeRoomParamsObject(y.ej.ACCOUNT_VERIFICATION_UPDATE)),this._accountVerificationUpdate=this._socketHandlerService.updateAccountVerification$.subscribe(ne=>{this._blinkingService.updateVerification(ne),this._itsmeService.updateVerification(ne)})}_unsubscribeToAccountVerificationRoom(){this._accountVerificationUpdate&&(this.socketIoService.unsubscribe(y.fu.ACCOUNT_VERIFICATION,this._socketHandlerService.formatUnSubscribeRoomParamsObject(y.ej.ACCOUNT_VERIFICATION_UPDATE)),this._accountVerificationUpdate.unsubscribe())}_subscribeOnAccountBalanceChange(){this._balanceUpdate=this._socketHandlerService.updateAccountBalance$.subscribe(ne=>{this._authService.updateBalance(ne)})}_translageKey(ne){return this._translateService.instant(ne)}_loadChatBot(){this.isSalesForceChatEnabled&&this._lazyLoadScript.loadScript("assets/scripts/salesforce-chatbot.js")}_isSalesForceChatEnabled(){this.isSalesForceChatEnabled=typeof IS_CHATBOT_AVAILABLE_WEB<"u"&&"true"==IS_CHATBOT_AVAILABLE_WEB&&!this.isOracleChatEnabled&&!this._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskEnabed")}openChatbot(){let ne=document.getElementsByClassName("helpButton embeddedServiceSidebarMinimizedDefaultUI");(0,u.A)(ne,"[0]")||(ne=document.getElementsByClassName("minimizedContainer embeddedServiceSidebarMinimizedDefaultUI")),(0,u.A)(ne,"[0]")||(ne=document.getElementsByClassName("helpButtonEnabled uiButton")),(0,u.A)(ne,"[0]")&&ne[0].click()}openOracleChat(){typeof CLOUDFLARE_RECAPTCHA_KEY<"u"&&CLOUDFLARE_RECAPTCHA_KEY?this._recaptchaService.execute().subscribe(()=>{this._oracleSdkService.openChat()}):this._oracleSdkService.openChat()}_subscribeOnLoginActionHappened(){var ne=this;this._subscriptions.push(this._authService.loginActionHappened$.subscribe((0,o.A)(function*(){ne._sessionDurationService.handleOnLogin(),ne._oracleSdkService.onChangeStatus(),ne._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskEnabed")&&ne._freshdeskService.onChangeStatus(),ne.checkIfNotifyModalShouldOpen()})))}checkIfNotifyModalShouldOpen(){this._authService.currentUser().isUserLogin&&this._restConfigurationService.getGeneralCustomConfigurationParams("notifyNonVerified")&&this._verificationNotificationService.notifyNotVerifyUser()}_subscribeOnLogoutActionHappened(){var ne=this;this._subscriptions.push(this._authService.beforeLogout$.subscribe((0,o.A)(function*(){ne._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskEnabed")&&!ne._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskBtnForLoginUserOnly")&&ne._freshdeskService.onChangeStatus(!0),ne._unsubscribeToAccountVerificationRoom(),ne._verificationNotificationService.stopTimeOnLogout(),ne._sessionDurationService.sessionDurationDataSet?.unsubscribe(),ne._socketIoSessionDurationService.disconnect(),ne._sessionDurationService.handleSessionDurationExpiration(),ne._personalLimitsService.removeTransactionLimitsData(),ne.handleTicketBonusManuallySelect(),ne._disconnectFromAccountBalance(),ne._unSubscribeOnPaymentStatusChange(),ne._clearTicket(),ne._clearSimulationTicket(),ne.removeSumsubToken(),ne._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskEnabed")&&ne._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskBtnForLoginUserOnly")&&ne._freshdeskService.hideWidget()})))}_disconnectFromAccountBalance(){this._authService.currentUser().isUserLogin&&(this._unsubscribeToAccountBalanceRoom(),this._unsubscribeFromPlayerMissionUpdateRoom(),this._balanceUpdate.unsubscribe(),this._playerMissionUpdate.unsubscribe())}handleTicketBonusManuallySelect(){this._ticketBonusService.manuallySelectBonusForTicket.next(!1)}_subscribeOnUpdateSessionDurationMessage(){var ne=this;this._subscriptions.push(this._socketIoSessionDurationService.updateSessionDurationMessage$.subscribe(function(){var H=(0,o.A)(function*(Q){yield ne._sessionDurationService.handleSessionDurationUpdateMessage(Q)});return function(Q){return H.apply(this,arguments)}}()))}_subscribeOnSessionSocketReconnect(){this._subscriptions.push(this._socketIoSessionDurationService.newSessionSocketInstance$.subscribe(()=>{this._sessionDurationService.checkForEnabledLimits()}))}_setSelectedTab(){let ne=!1;if((0,m.A)(this.navigationConf.topLeftSection,H=>{if((0,m.A)(H.subItems,Q=>
1{const Te="home"==Q.name;return Q.flags.includes("outsideCasinoGame")&&this._routingService.isRouteActiveOutideOfCasino(Q.url.toLocaleLowerCase(),Te)?(this.selectedPage=H.name,ne=!0,this.setActiveTabAndNavigationItems(H.name,"topLeftSection"),!0):!this._routingService.isRouteActive(Q.name,Te)||(this.selectedPage=H.name,ne=!0,"CASINO_PAGE"==Q.type?this._setFirstNavigationItemForCasino(H.name,"topLeftSection"):this.setActiveTabAndNavigationItems(H.name,"topLeftSection"),!1)}),H.name===N.Bi.DONATIONS){if(!this._routingService.isRouteActive(N.Bi.DONATIONS,!1))return;this.setActiveTabAndNavigationItems("sport","topLeftSection"),this.selectedPage=N.Bi.DONATIONS,ne=!0}if(H.name===N.Bi.HELP){if(!this._routingService.isRouteActive(N.Bi.HELP,!1))return;this.selectedPage=N.Bi.HELP,ne=!0}if(H.name===N.Bi.EURO_24_STATISTICS){if(!this._routingService.isRouteActive(N.Bi.EURO_24_STATISTICS,!1))return;this.selectedPage=N.Bi.EURO_24_STATISTICS,ne=!0}}),this._routingService.isRouteActive(N.Bi.ACCOUNT_PAGE,!1))return this.selectedPage=N.Bi.ACCOUNT_PAGE,this._setNavigationUrl(this.navigationAccountUrls,!0),this.selectedActiveTab={subItems:this.navigationAccountUrls},ne=!0,void this._setInitAccountNavigation();if(!this.selectedActiveTab||!ne){const H=this._configurationService.getParam("is_casino_only")?"casino":"sport";this.setActiveTabAndNavigationItems(H,"topLeftSection")}}_setFirstNavigationItemForCasino(ne,H){if((0,E.A)(this.navigationConf))return;if(this.selectedActiveTab=(0,u.A)(this.navigationConf,H,[]).find(Te=>Te.name===ne),"virtuals"===this.selectedActiveTab.name)return void this.setActiveTabAndNavigationItems(this.selectedActiveTab.name,"topLeftSection");this.isInitLoad=!1,this._setNavigationUrlCasino(this.selectedActiveTab.subItems,ne);const Q=(0,u.A)(this.selectedActiveTab,"subItems[0]");this.selectedNavigationName=Q.name,this.handleChangeOfPage({pageId:Q.pageId,pageName:ne,selectedNavigationName:Q.name}),this.selectedPage=ne}handleChangeOfPage(ne){this.selectedNavigationName=ne.selectedNavigationName,this._casinoService.handleChangeOfPage.next(ne)}setActiveTabAndNavigationItems(ne,H){(0,E.A)(this.navigationConf)||(this.isInitLoad=!0,this.selectedActiveTab=(0,u.A)(this.navigationConf,H,[]).find(Q=>Q.name===ne),this._setNavigationUrl(this.selectedActiveTab.subItems))}_setNavigationUrl(ne,H=!1){(0,m.A)(ne,Q=>{if(Q.shouldShowOnlyIcon=!!Q.flags&&Q.flags.includes("icon"),!(0,E.A)(Q.sport))return void(Q.url=this._setNavigationForSportPage(Q));const Te=(0,u.A)(Q,"type")===this.CASINO_GAME&&Q.flags.includes("singleCasinoGame"),lt=(0,u.A)(Q,"type")===this.CASINO_GAME&&Q.flags.includes("outsideCasinoGame");if(Q.isExternal||!lt){if(!Q.isExternal&&Te&&(Q.url=this._routingService.getCasinoPageUrlByPageNameAndCasinoType(Q.slug,"casino")),!Q.isExternal&&!Te&&(Q.url=H?this._routingService.getAccountUrlByPage(Q.name):this._routingService.getUrlByPageName(Q.name)),Q.isExternal&&Q.externalUrl){const Pt=this._configurationService.getParam("is_forced_redirection_to_help_page_enabled");if("help"===Q.name&&Pt)return void(Q.externalUrl=this._routingService.getUrlByPageName("help"));Q.externalUrl=Q.externalUrl.replace(/{locale}/g,`${S.P.locale}`)}}else Q.url=this._routingService.getOutsideCasinoPageUlrByPageNameAndCasinoType(Q.slug,"numbers").toLocaleLowerCase()})}_setInitAccountNavigation(){const ne=this._routingService.getCurrentUrl().split("?")[0],H=this.navigationAccountUrls.find(Q=>Q.url===ne)||this.overflowItems.find(Q=>Q.url===ne);H&&this._accountNavigationService.setAccountNavigationParentItem(H)}_setNavigationForSportPage(ne){switch(ne.type){case F.Y.SPORT:return this._routingService.addHomePrefix(`${U.O.formatSlugFromName(ne.sport)}`);case F.Y.REGION:return this._routingService.addHomePrefix(`${U.O.formatSlugFromName(ne.sport)}/${U.O.formatSlugFromName(ne.region)}`);case F.Y.LEAGUE:return this._routingService.addHomePrefix(`${U.O.formatSlugFromName(ne.sport)}/${U.O.formatSlugFromName(ne.region)}/${U.O.formatSlugFromName(ne.league)}`);default:return""}}_setInitNavigation(){this.navigationConf=this._restConfigurationService.getNavigationConf(),this._setNavigationUrl(this.navigationConf.topLeftSection),this._setNavigationUrl(this.navigationConf.topRightSection),this._setNavigationUrlForSubpages(this.navigationConf),this._setSelectedTab()}_setNavigationUrlForSubpages(ne){[...ne.topLeftSection,...ne.topRightSection].forEac
1h(H=>{this._setNavigationUrl(H.subItems)})}_subscribeToMyAccountNavigationEvent(){this._subscriptions.push(this._accountNavigationService.myAccountNavigationSet$.subscribe(ne=>{if((0,E.A)(ne))return;let H=[...ne];H=this._checkCanShowPersonalLimit(ne),H=this._checkCanShowPersonalDocuments(H),this.navigationAccountUrls=H,this._setSelectedTab(),this.calculateOverflow()}))}_checkCanShowPersonalLimit(ne){return this._restConfigurationService.getGeneralConfigurationParams("enableLimits")?ne:(0,C.A)(ne,H=>H.name!==N.db.PERSONAL_LIMITS)}_checkCanShowPersonalDocuments(ne){return this._configurationService.getParam("is_upload_document_enabled")?ne:(0,C.A)(ne,H=>H.name!==N.db.PERSONAL_DOCUMENTS)}_setNavigationUrlCasino(ne,H){(0,m.A)(ne,(Q,Te)=>{Q.isExternal||(Q.url=0===Te?this._routingService.getUrlByPageName(H):this._routingService.getCasinoPageUrlByPageNameAndCasinoType(Q.name,H))})}_subscribeOnNavigationRestart(){this._subscriptions.push(this._casinoService.restartNavigation$.subscribe(()=>{this._setSelectedTab()}))}_subscribeOnThemeChange(){this._subscriptions.push(this._themeService.themeName$.subscribe(()=>{this._oracleSdkService.onChangeStatus()}))}_preloadImages(){this._preloadImagesSsrService.addImagesForPreload(["assets/styles/flags-sprites/svg/sprite.css.svg"])}_clearTicket(){(this._ticketService?.isTicketCreated||this._ticketService?.itemsOnTicket?.length||this._ticketService?.currentTicket?.selections?.length)&&this._ticketService.cancelCurrentTicket()}_clearSimulationTicket(){this._ticketService.resetSimulationTicket()}_notifySinglePaymentModalIfIsOpen(ne){if(ne.type!==P.vo.DEPOSIT)return;const H=(0,u.A)(ne,"paymentState","");this._accountService.singlePaymentStatus.next(H!==$.tv.CREATE_TRANSFER_SUCCESS&&H!==$.tv.ACCEPT?{type:$.Rw.DEPOSIT_ERROR,params:""}:{type:$.Rw.DEPOSIT_SUCCESS,params:""})}_checkSubmittedPayments(){this._googleTagManagerService.cleanupExpiredPaymentIds(),JSON.parse(this._localStorageService.getItem(`depositSubmitted-${this._authService.currentUser().accountId}`)??"[]").forEach(H=>{this._accountService.getPaymentStatus(H.paymentId).subscribe(Q=>{(Q.paymentState===$.tv.CREATE_TRANSFER_SUCCESS||Q.paymentState===$.tv.CREATE_TRANSFER)&&this._googleTagManagerService.pushDepositSubmittedOnDataLayer(Q)})})}_maybeShowPushNotificationsFirstExperienceModal(){var ne=this;return(0,o.A)(function*(){if(!(yield ne._pushNotificationsStateService.shouldShowPushNotificationsFirstExperienceModal()))return;const{PushNotificationsFirstExperienceModalComponent:Q}=yield r.e(9007).then(r.bind(r,39007));ne._modalService.open({component:Q,payload:{closeCb:()=>ne._pushNotificationsStateService.setSeenPushNotificationsFirstExperienceModal()}})})()}static{this.\u0275fac=function(H){return new(H||pn)(h.rXU(W.B),h.rXU(v.Ix),h.rXU(ee.O),h.rXU(Me.e),h.rXU(h.Agw),h.rXU(We.Q),h.rXU(Oe.u),h.rXU(tt.U),h.rXU(v.nX),h.rXU(Qe.M),h.rXU(_t.L),h.rXU(ht.D),h.rXU(re.c$),h.rXU(mt.s),h.rXU(Vt.o),h.rXU(Ot.s),h.rXU(l.Location),h.rXU(Fe.K),h.rXU(Ye.T),h.rXU(Re.d),h.rXU(De.N),h.rXU(He.p),h.rXU(we.c),h.rXU(Tt.A),h.rXU(ct.o),h.rXU(tn.F),h.rXU(Ee.S),h.rXU(se.N),h.rXU(be.j),h.rXU(je.s),h.rXU(ft.X),h.rXU(kt.Y),h.rXU(Yt.k),h.rXU(An),h.rXU(un.l),h.rXU(wn.D),h.rXU(Xn.s),h.rXU(Mn.B),h.rXU(vt.S),h.rXU(Dt.N),h.rXU(ze.SumsubApiService),h.rXU(on.S),h.rXU(Gt.I),h.rXU(Qn.u),h.rXU(Ct.d),h.rXU(Se.x),h.rXU(ut.J),h.rXU(Xe.L),h.rXU(qe.x),h.rXU(Bt.Z),h.rXU(St.d),h.rXU(Lt))}}static{this.\u0275cmp=h.VBU({type:pn,selectors:[["main-app"]],hostBindings:function(H,Q){1&H&&h.bIt("resize",function(lt){return Q.onResize(lt.target)},!1,h.tSv)},decls:16,vars:16,consts:[["ngSkipHydration","",3,"navigationConf","selectedPage","selectedActiveTab","overflowItems","selectedNavigationName","shouldHideSearch","overflowRecalculationDemanded","emitPageId",4,"ngIf"],[1,"l-main-content",3,"ngClass"],[3,"netBalance","closeNotificationEmitter",4,"ngIf"],[4,"ngIf"],[1,"c-notifications__wrapper",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"notification"],["class","c-customer-support-button",3,"click",4,"ngIf"],["id","recapture-container",1,"c-customer-support-button__recapture"],["class","c-customer-support-button","target","_blank",3,"href",4,"ngIf"],["ngSkipHydration","",3,"overflowRecalculationDemanded","emitPageId","navigationConf","selectedPage","selectedActiveTab","overflowItems","selectedNavigationName","shouldHideSearch"],[3,"closeNotificationEmitter","netBalance"],[3,"onCloseNotification","notification","index"],[3,"closed","notification"],[1,"c-customer-support-button",3,"click"],["target","_blank",1,"c-customer-support-button",3,"href"]],template:function(H,Q){1&H&&(h.DNE(0,Kt,1,6,"header",0),h.j41(1,"div",1),h.nrm(2,"router-outlet"),h.k0s(),h.nrm(3,"balance-notification"),h.DNE(4,Ue,1,0,"main-search")(5,at,1,2,"net-balance",2)(6,xt,1,0,"global-loader",3),h.j41(7,"div",4),h.DNE(8,Zt,2,2,"ng-container",5),h.k0s(),h.DNE(9,rn,1,2,"deposit-notification-popup",6)(10,dn,1,0,"div",7),h.nrm(11,"div",8),h.DNE(12,sn,1,0,"div",7)(13,ai,1,1,"a",9)(14,_i,1,0,"div",7),h.nrm(15,"modal-wrapper")),2&H&&(h.Y8G("ngIf",!Q.headerService.isHeaderHidden()&&Q.navigationConf),h.R7$(),h.Y8G("ngClass",h.eq3(12,fn,Q.headerService.isHeaderHidden())),h.R7$(3),h.vxM(Q.searchService.isSearchOpen?4:-1),h.R7$(),h.Y8G("ngIf",Q.showNetBalanceNotification&&Q.netBalance),h.R7$(),h.Y8G("ngIf",Q.globalLoaderVisible),h.R7$(),h.Y8G("ngClass",h.eq3(14,cn,!Q.notifications.length)),h.R7$(),h.Y8G("ngForOf",Q.notifications),h.R7$(),h.vxM(Q.isSingleDepositNotificationPopupVisible?9:-1),h.R7$(),h.Y8G("ngIf",Q.isSalesForceChatEnabled),h.R7$(2),h.Y8G("ngIf",Q.isOracleChatEnabled&&Q.isOracleChatVisible),h.R7$(),h.Y8G("ngIf",!!Q.isMibewSupportUrl),h.R7$(),h.Y8G("ngIf",Q.isTawkChatEnabled))},styles:[".l-main-content[_ngcontent-%COMP%]{display:flex;height:calc(100vh - 80px)}.l-main-content.l-main-content--header-hidden[_ngcontent-%COMP%]{height:100vh}.c-notifications__wrapper[_ngcontent-%COMP%]{position:absolute;top:35px;right:5px;z-index:var(--z-index-modal);display:flex;flex-direction:column;gap:3px}.c-customer-support-button[_ngcontent-%COMP%]{display:block;position:fixed;left:55px;bottom:2px;width:46px;height:46px;background-color:var(--base-green-01);color:var(--white);font-size:18px;font-weight:400;line-height:40px;transition:background-color .2s linear;border-radius:50%;background-image:url(chat-icon-new.f7f6223c8cd0ca33.svg);background-repeat:no-repeat;background-position:center;background-size:40px;z-index:99;cursor:pointer}.c-customer-support-button[_ngcontent-%COMP%]:hover{background-color:var(--base-green-70)}.c-customer-support-button__recapture[_ngcontent-%COMP%]{position:fixed;left:55px;z-index:100;bottom:80px;background-image:none;background-color:transparent}.hidden-wrapper[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_delayVisibility 0 .2s}@keyframes _ngcontent-%COMP%_delayVisibility{0%{visibility:visible}to{visibility:hidden;pointer-events:none}}"],data:{animation:[L.q]}})}}(0,i.Cg)([me.X],pn.prototype,"ngOnDestroy",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeOnCheckForOverFlow",null),(0,i.Cg)([me.X],pn.prototype,"_isTawkChatEnabled",null),(0,i.Cg)([me.X],pn.prototype,"_handleTawkChatLogout",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeToPlayerMissionUpdate",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeToPlayerMissionUpdateRoom",null),(0,i.Cg)([me.X],pn.prototype,"_unsubscribeFromPlayerMissionUpdateRoom",null),(0,i.Cg)([me.X],pn.prototype,"openModal",null),(0,i.Cg)([me.X],pn.prototype,"_handleTawkChatLogin",null),(0,i.Cg)([me.X],pn.prototype,"_getSimulationToken",null),(0,i.Cg)([me.X],pn.prototype,"_handleTicketPreview",null),(0,i.Cg)([me.X],pn.prototype,"_handleBlinkingVerification",null),(0,i.Cg)([me.X],pn.prototype,"_handleItsmeVerification",null),(0,i.Cg)([me.X],pn.prototype,"_handleItsmeErrors",null),(0,i.Cg)([me.X],pn.prototype,"_openGenericItsmeError",null),(0,i.Cg)([me.X],pn.prototype,"_handleRedirectCookies",null),(0,i.Cg)([me.X],pn.prototype,"calculateOverflow",null),(0,i.Cg)([me.X],pn.prototype,"_setAvailableProvidersAndCheckUnico",null),(0,i.Cg)([me.X],pn.prototype,"_checkIfFreshdeskChatIsVisible",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeOnPaymentStatusChange",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeToAccountVerificationRoom",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeOnAccountBalanceChange",null),(0,i.Cg)([me.X],pn.prototype,"_loadChatBot",null),(0,i.Cg)([me.X],pn.prototype,"_isSalesForceChatEnabled",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeOnLoginActionHappened",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeOnLogoutActionHappened",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeOnUpdateSessionDurationMessage",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeOnSessionSocketReconnect",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeToMyAccountNavigationEvent",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeOnNavigationRestart",null),(0,i.Cg)([me.X],pn.prototype,"_subscribeOnThemeChange",null),(0,i.Cg)([me.X],pn.prototype,"_checkSubmittedPayments",null),(0,i.Cg)([me.X],pn.prototype,"_maybeShowPushNotificationsFirstExperienceModal",null)},62291:(he,M,r)=>{"use strict";r.d(M,{T:()=>_});var o=r(20279),i=r(27717),d=r(27189),h=r(47950),v=r(71195);const _=[{path:"",component:i.$,children:[{path:"pwdcreate",canActivate:[d.a],data:{pageName:o.Bi.PWD_CREATE,translationKey:"pwdcreate"},loadChildren:()=>r.e(9028).then(r.bind(r,19028)).then(m=>m.ResetPasswordModule)},{path:"email-activation",data:{pageName:o.Bi.EMAIL_ACTIVATION,translationKey:"email-activation"},loadChildren:()=>r.e(2010).then(r.bind(r,52010)).then(m=>m.EmailActivationPageModule)},{path:"email-activation-v2",data:{pageName:o.Bi.EMAIL_ACTIVATION_V2,translationKey:"email-activation-v2"},loadChildren:()=>r.e(1478).then(r.bind(r,99097)).then(m=>m.EmailActivationV2PageModule)},{path:"home",loadChildren:()=>Promise.all([r.e(5398),r.e(6581),r.e(9697),r.e(3537),r.e(2076),r.e(5084)]).then(r.bind(r,49658)).then(m=>m.HomePageWrapperModule),data:{pageName:o.Bi.HOME,translationKey:"home"}},{path:"casino",loadChildren:()=>Promise.all([r.e(4458),r.e(5398),r.e(6581),r.e(2044),r.e(876),r.e(3306),r.e(2076),r.e(9235)]).then(r.bind(r,79235)).then(m=>
1m.CasinoPageModule),canActivate:[h.j],data:{pageName:o.Bi.CASINO,translationKey:"casino"}},{path:"numbers",loadChildren:()=>Promise.all([r.e(2076),r.e(5859)]).then(r.bind(r,15859)).then(m=>m.OutsideCasinoGameModule),data:{pageName:o.Bi.NUMBERS,translationKey:"numbers"}},{path:"donations",loadChildren:()=>Promise.all([r.e(8951),r.e(67)]).then(r.bind(r,78951)).then(m=>m.DonationsPageModule),data:{pageName:o.Bi.DONATIONS,translationKey:"donations"}},{path:"live-dealer",loadChildren:()=>Promise.all([r.e(4458),r.e(5398),r.e(6581),r.e(2044),r.e(876),r.e(3306),r.e(2076),r.e(9235)]).then(r.bind(r,79235)).then(m=>m.CasinoPageModule),canActivate:[h.j],data:{pageName:o.Bi.LIVE_DEALER,translationKey:"live-dealer"}},{path:"registration",loadChildren:()=>Promise.all([r.e(5398),r.e(1339),r.e(2271),r.e(5416)]).then(r.bind(r,40908)).then(m=>m.RegistrationPageModule),pathMatch:"full",data:{pageName:o.Bi.REGISTRATION,translationKey:"registration"}},{path:"virtuals-page",loadChildren:()=>r.e(9623).then(r.bind(r,9623)).then(m=>m.VirtualsPageModule),data:{pageName:o.Bi.VIRTUALS_PAGE,translationKey:"virtuals-page"}},{path:"account-page",loadChildren:()=>Promise.all([r.e(5398),r.e(2044),r.e(9697),r.e(3537),r.e(1339),r.e(876),r.e(2271),r.e(2076),r.e(5734)]).then(r.bind(r,85734)).then(m=>m.AccountPageModule),data:{pageName:o.Bi.ACCOUNT_PAGE,translationKey:"account-page"}},{path:"coupons",loadChildren:()=>r.e(1976).then(r.bind(r,91976)).then(m=>m.CouponsPageModule),canActivate:[h.j,v.r],data:{pageName:o.Bi.COUPONS,translationKey:"coupons"}},{path:"help",loadChildren:()=>Promise.all([r.e(5398),r.e(2044),r.e(3186),r.e(8929)]).then(r.bind(r,8929)).then(m=>m.HelpPageModule),data:{pageName:o.Bi.HELP,translationKey:"help"}},{path:"promo-calendar",loadChildren:()=>r.e(9013).then(r.bind(r,19013)).then(m=>m.PromoCalendarPageModule),canActivate:[h.j,v.r],data:{pageName:o.Bi.PROMO_CALENDAR,translationKey:"promo-calendar"}},{path:"euro-24-statistics",loadChildren:()=>r.e(7978).then(r.bind(r,37978)).then(m=>m.Euro24StatisticsPageModule),canActivate:[h.j,v.r],data:{pageName:o.Bi.EURO_24_STATISTICS,translationKey:"euro-24-statistics"}},{path:"statistics",loadChildren:()=>r.e(9074).then(r.bind(r,9074)).then(m=>m.StatisticsPageModule),canActivate:[v.r],data:{pageName:o.Bi.STATISTICS,translationKey:"statistics"}},{path:"livescore",loadChildren:()=>r.e(9074).then(r.bind(r,9074)).then(m=>m.StatisticsPageModule),canActivate:[v.r],data:{pageName:o.Bi.LIVESCORE,translationKey:"livescore"}},{path:"tailored-offer",loadChildren:()=>Promise.all([r.e(2076),r.e(2207)]).then(r.bind(r,42207)).then(m=>m.TailoredOfferModule),canActivate:[v.r],data:{pageName:o.Bi.TAILORED_OFFER,translationKey:"tailored-offer"}},{path:"missions",loadChildren:()=>Promise.all([r.e(6581),r.e(6459),r.e(2076),r.e(3727)]).then(r.bind(r,86459)).then(m=>m.MissionsPageModule),data:{pageName:o.Bi.MISSIONS,translationKey:"missions"}},{path:"vip",loadChildren:()=>r.e(3477).then(r.bind(r,33477)).then(m=>m.VipPageModule),data:{pageName:o.Bi.VIP,translationKey:"vip"}}]},{path:"**",redirectTo:"home",pathMatch:"full"}]},30136:(he,M,r)=>{"use strict";r.d(M,{r:()=>y});var o=r(8950),i=r(77312),d=r(54438),h=r(12084),v=r(60177),_=r(96467),m=r(73955);const p=I=>({disabled:I}),u=I=>({"c-verification-status--alert":I});function E(I,S){1&I&&d.nrm(0,"svg-icon",7)}function C(I,S){1&I&&d.nrm(0,"svg-icon",8)}
1function l(I,S){if(1&I&&(d.j41(0,"div",4),d.DNE(1,E,1,0,"svg-icon",5)(2,C,1,0,"svg-icon",6),d.j41(3,"span"),d.EFF(4),d.nI1(5,"translate"),d.k0s()()),2&I){const P=d.XpG();d.Y8G("ngClass",d.eq3(6,u,"INFORMATION_MISMATCH"===P._blinkingService.blinkingVerificationSettings.options.status)),d.R7$(),d.Y8G("ngIf","INFORMATION_MISMATCH"===P._blinkingService.blinkingVerificationSettings.options.status),d.R7$(),d.Y8G("ngIf","INFORMATION_MISMATCH"!==P._blinkingService.blinkingVerificationSettings.options.status),d.R7$(2),d.SpI(" ",d.bMT(5,4,"account."+P._blinkingService.blinkingVerificationSettings.options.status.toLowerCase())," ")}}let y=(()=>{class I{constructor(P){this._blinkingService=P,this.buttonWrapperClasses="",this.displayStatusMessage=!0,this.fetchingUrlInProgress=!1}handleClick(){this._blinkingService.blinkingVerificationSettings.options.disabled||typeof window>"u"||this.fetchingUrlInProgress||(this.fetchingUrlInProgress=!0,this._blinkingService.prepareVerificationUrl().pipe((0,i.j)(()=>{this.fetchingUrlInProgress=!1})).subscribe(P=>{location.href=o.D.parseExternalProviderUrl(P).externalProviderURL}))}static{this.\u0275fac=function(F){return new(F||I)(d.rXU(h.s))}}static{this.\u0275cmp=d.VBU({type:I,selectors:[["app-blinking-verify-button"]],inputs:{buttonWrapperClasses:"buttonWrapperClasses",displayStatusMessage:"displayStatusMessage"},decls:6,vars:10,consts:[[3,"click","ngClass"],["icon","blinking",1,"c-blinking-button__icon"],[1,"c-blinking-button__text"],["class","c-verification-status",3,"ngClass",4,"ngIf"],[1,"c-verification-status",3,"ngClass"],["class","c-verification-status__icon","icon","error",4,"ngIf"],["class","c-verification-status__icon","icon","sand-clock",4,"ngIf"],["icon","error",1,"c-verification-status__icon"],["icon","sand-clock",1,"c-verification-status__icon"]],template:function(F,N){1&F&&(d.j41(0,"div",0),d.bIt("click",function(){return N.handleClick()}),d.nrm(1,"svg-icon",1),d.j41(2,"span",2),d.EFF(3),d.nI1(4,"translate"),d.k0s()(),d.DNE(5,l,6,8,"div",3)),2&F&&(d.ZvI("c-blinking-button ",N.buttonWrapperClasses,""),d.Y8G("ngClass",d.eq3(8,p,N._blinkingService.blinkingVerificationSettings.options.disabled||N.fetchingUrlInProgress)),d.R7$(3),d.JRh(d.bMT(4,6,"account.verify_with_blinking")),d.R7$(2),d.Y8G("ngIf",N._blinkingService.blinkingVerificationSettings.options.disabled&&N._blinkingService.blinkingVerificationSettings.options.status&&N.displayStatusMessage))},dependencies:[v.NgClass,v.NgIf,_.D,m.D9],styles:[".c-verification-status[_ngcontent-%COMP%]{margin-top:6px;padding-left:8px;color:var(--baseTextColor03);display:flex;align-items:center;font-size:12px;font-family:var(--font-cond);line-height:12px}.c-verification-status.c-verification-status--alert[_ngcontent-%COMP%]{color:var(--base-primary)}.c-verification-status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-wrap:balance}.c-verification-status__icon[_ngcontent-%COMP%]{height:16px;width:11px;margin-right:6px;flex-shrink:0}"]})}}return I})()},86902:(he,M,r)=>{"use strict";r.d(M,{J:()=>v});var o=r(60177),i=r(73955),d=r(58114),h=r(54438);let v=(()=>{class _{static{this.\u0275fac=function(u){return new(u||_)}}static{this.\u0275mod=h.$C({type:_})}static{this.\u0275inj=h.G2t({imports:[o.CommonModule,d.A,i.h]})}}return _})()},12084:(he,M,r)=>{"use strict";r.d(M,{s:()=>u});var o=r(10467),i=r(6847),d=r(97317),h=r(54438),v=r(65283),_=r(90486),m=r(58167),p=r(84978);let u=(()=>{class E{constructor(l,y,I,S){this._httpService=l,this._registrationProvidersService=y,this._authService=I,this._configurationService=S,this.REGISTER_EXTERNALLY_URL="api/v1/register_externally",this.VERIFY_EXTERNALLY_URL="api/v1/verify_externally",this.EXTERNAL_ACCOUNT_INFORMATION_URL="api/v1/external_account_information",this.PREDEFINED_BLINKING_SETTINGS={showButton:!1,options:{disabled:!0,status:""}},this.blinkingVerificationSettings=this.PREDEFINED_BLINKING_SETTINGS,this.blinkingRegistrationUrl="",this.initialProvidersCheck=!1,this.userRedirectedFromBlinking=!1,this.STATUSES_FOR_DISABLED_STATE=[i.P2.UPDATE_IN_PROGRESS,i.P2.VIDEO_SESSION_IN_PROGRESS,i.P2.BLINKING_IN_PROGRESS,i.P2.PENDING_BACK_OFFICE_APPROVAL,i.P2.PENDING_FOR_ONBOARDING,i.P2.PENDING_FOR_CONFIRMATION,i.P2.ONBOARDING_IN_PROGRESS,i.P2.PENDING_FOR_VIDEO_SESSION,i.P2.INFORMATION_MISMATCH]}getRegisterExternalyUrl(l){return this._httpService.post(this.REGISTER_EXTERNALLY_URL,l)}getVerifyExternalyUrl(l){return this._httpService.post(this.VERIFY_EXTERNALLY_URL,l)}getAccountInformation(l,y){return this._httpService.get(`${this.EXTERNAL_ACCOUNT_INFORMATION_URL}?provider=${l}&providerId=${y}`,"")}clearBlinkingSettings(){this.blinkingVerificationSettings=this.PREDEFINED_BLINKING_SETTINGS}prepareVerificationUrl(){return this.getVerifyExternalyUrl({provider:d.z.BLINKING})}
1fetchProvidersAndCheckVerification(){!this.initialProvidersCheck||this.isBlinkingDisabled()?(this.availableProvidersData=this._registrationProvidersService.availableProviders(),this._handleProvidersResponse(),this.initialProvidersCheck=!0):this._checkForVerification()}_checkForVerification(){if(this._isAccountVerified())return this.blinkingVerificationSettings.showButton=!1,void(this.blinkingVerificationSettings.options={disabled:!1,status:""});const l=this._authService.currentUser().externalAccountInfo?.status;if(this._isDisabledByStatus(l))return this.blinkingVerificationSettings.showButton=!0,void(this.blinkingVerificationSettings.options={disabled:!0,status:l});this.blinkingVerificationSettings.showButton=!0,this.blinkingVerificationSettings.options={disabled:!1,status:l}}_handleProvidersResponse(){this.isBlinkingDisabled()?(this.blinkingVerificationSettings.showButton=!1,this.blinkingVerificationSettings.options={disabled:!1,status:""}):this._checkForVerification()}isBlinkingDisabled(){return!this.availableProvidersData.availableProviders?.includes(d.z.BLINKING)}showButtonAndEnable(){this.blinkingVerificationSettings.showButton=!0,this.blinkingVerificationSettings.options.disabled=!1}_areDocumentsValidBeyondGracePeriod(l){if(!l)return!0;const y=24*Number(this._configurationService.getParam("blinking_document_verification_grace_period_days"))*60*60*1e3;return l>Date.now()+y}_isAccountVerified(){return this._authService.currentUser().verified&&this._areDocumentsValidBeyondGracePeriod(this._authService.currentUser().verifiedUntil)}_isDisabledByStatus(l){return this.STATUSES_FOR_DISABLED_STATE.includes(l)}updateVerification(l){if(!this.isBlinkingDisabled()){if(l?.verified)return this.blinkingVerificationSettings.showButton=!1,void(this.blinkingVerificationSettings.options={disabled:!1,status:""});this._refreshAccountAndCheckForVerification()}}_refreshAccountAndCheckForVerification(){var l=this;return(0,o.A)(function*(){yield l._authService.refreshFetchAccountInfo(),l._checkForVerification()})()}static{this.\u0275fac=function(y){return new(y||E)(h.KVO(v.k),h.KVO(_.J),h.KVO(m.u),h.KVO(p.s))}}static{this.\u0275prov=h.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}return E})()},18158:(he,M,r)=>{"use strict";r.d(M,{L:()=>Qe});var o=r(91398),i=r(54438),d=r(62125),h=r(23712),v=r(40173),_=r(72036),m=r(4346),p=r(1068),u=r(52760),E=r(4393),C=r(20279),l=r(47580),y=r(39934),I=r(62946),S=r(20838),P=r(54103),F=r(84978),N=r(60767),U=r(32720),T=r(55326),L=r(34405),Z=r(10951);const ie=(_t,ht)=>({"c-event--without-league":_t,"c-event--last":ht}),ve=_t=>({"is-highlighted-event":_t}),me=_t=>({selected:_t}),xe=()=>({openStream:!0}),$=()=>({openMatchTracker:!0});function V(_t,ht){if(1&_t&&(i.j41(0,"div",26),i.EFF(1),i.k0s()),2&_t){const mt=i.XpG();i.R7$(),i.SpI(" ",mt.singleEvent.header.code," ")}}function oe(_t,ht){if(1&_t&&(i.j41(0,"span",29),i.EFF(1),i.nI1(2,"translate"),i.k0s()),2&_t){const mt=i.XpG(3);i.R7$(),i.JRh(i.bMT(2,1,mt.labelName))}}function z(_t,ht){if(1&_t&&(i.j41(0,"div",6),i.DNE(1,oe,3,3,"span",28),i.EFF(2),i.k0s()),2&_t){const mt=i.XpG(2);i.R7$(),i.Y8G("ngIf",!!mt.labelName),i.R7$(),i.Lme(" ",null==mt.singleEvent||null==mt.singleEvent.header||null==mt.singleEvent.header.region?null:mt.singleEvent.header.region.name," - ",null==mt.singleEvent||null==mt.singleEvent.header||null==mt.singleEvent.header.league?null:mt.singleEvent.header.league.name," ")}}function W(_t,ht){if(1&_t&&i.DNE(0,z,3,3,"div",27),2&_t){const mt=i.XpG();i.Y8G("ngIf",mt.shouldShowLeagueInfo)}}function re(_t,ht){if(1&_t&&(i.qex(0),i.j41(1,"div",30),i.EFF(2),i.nI1(3,"formatEventPeriod"),i.nI1(4,"translate"),i.k0s(),i.j41(5,"div",31),i.EFF(6),i.nI1(7,"formatEventTime"),i.k0s(),i.bVm()),2&_t){const mt=i.XpG();i.R7$(2),i.SpI(" ",i.bMT(4,5,i.i5U(3,2,mt.singleEvent.header,mt.triggerPipe))," "),i.R7$(4),i.SpI(" ",i.i5U(7,7,mt.singleEvent.header,mt.triggerPipe)," ")}}function ee(_t,ht){if(1&_t&&(i.j41(0,"div",32),i.EFF(1),i.nI1(2,"formatEventPeriod"),i.nI1(3,"translate"),i.k0s()),2&_t){const mt=i.XpG();i.R7$(),i.SpI(" ",i.bMT(3,4,i.i5U(2,1,mt.singleEvent.header,mt.triggerPipe))," ")}}function Se(_t,ht){if(1&_t&&(i.nrm(0,"svg-icon",14),i.nI1(1,"lowercase")),2&_t){let mt;const Vt=i.XpG();i.Y8G("flag",!0)("showDefaultFlag",!1)("icon",Vt.FLAG_NAMES[i.bMT(1,3,null!==(mt=null==Vt.event.header.untranslatedRivals?null:Vt.event.header.untranslatedRivals[0])&&void 0!==mt?mt:"")])}}function J(_t,ht){if(1&_t&&(i.qSk(),i.j41(0,"svg",15),i.nrm(1,"use"),i.nI1(2,"sportIconFallback"),i.k0s()),2&_t){const mt=i.XpG();i.R7$(),i.BMQ("href","assets/styles/sport-sprites/svg/sprite.symbol.svg#"+i.bMT(2,1,null==mt.event||null==mt.event.header||null==mt.event.header.sport?null:mt.event.header.sport.sportId))}}function de(_t,ht){if(1&_t&&(i.nrm(0,"svg-icon",14),i.nI1(1,"lowercase")),2&_t){let mt;const Vt=i.XpG();i.Y8G("flag",!0)("showDefaultFlag",!1)("icon",Vt.FLAG_NAMES[i.bMT(1,3,null!==(mt=null==Vt.event.header.untranslatedRivals?null:Vt.event.header.untranslatedRivals[1])&&void 0!==mt?mt:"")])}}function ke(_t,ht){if(1&_t&&(i.qSk(),i.j41(0,"svg",15),i.nrm(1,"use"),i.nI1(2,"sportIconFallback"),i.k0s()),2&_t){const mt=i.XpG();i.R7$(),i.BMQ("href","assets/styles/sport-sprites/svg/sprite.symbol.svg#"+i.bMT(2,1,null==mt.event||null==mt.event.header||null==mt.event.header.sport?null:mt.event.header.sport.sportId))}}function ge(_t,ht){1&_t&&i.eu8(0,33)}function ye(_t,ht){if(1&_t){const mt=i.RV6();i.j41(0,"a",34),i.bIt("click",function(){i.eBV(mt);const Ot=i.XpG();return i.Njj(Ot.redirectToSingleMatch())}),i.nrm(1,"svg-icon",35),i.k0s()}if(2&_t){const mt=i.XpG();i.Y8G("routerLink",mt.matchUrl)("state",i.lJ4(2,xe))}}function Pe(_t,ht){if(1&_t){const mt=i.RV6();i.j41(0,"a",34),i.bIt("click",function(){i.eBV(mt);const Ot=i.XpG();return i.Njj(Ot.redirectToSingleMatch())}),i.nrm(1,"svg-icon",36),i.k0s()}if(2&_t){const mt=i.XpG();i.Y8G("routerLink",mt.matchUrl)("state",i.lJ4(2,$))}}function Me(_t,ht){if(1&_t&&i.EFF(0),2&_t){const mt=i.XpG();i.SpI(" +",null==mt.singleEvent||null==mt.singleEvent.header?null:mt.singleEvent.header.numberOfVisibleSelections," ")}}function We(_t,ht){1&_t&&i.nrm(0,"svg-icon",23)}function Oe(_t,ht){if(1&_t&&i.EFF(0),2&_t){const mt=i.XpG();i.SpI(" +",null==mt.singleEvent||null==mt.singleEvent.header?null:mt.singleEvent.header.numberOfVisibleSelections," ")}}function tt(_t,ht){1&_t&&i.nrm(0,"svg-icon",23)}let Qe=(()=>{class _t{constructor(mt,Vt,Ot,Fe,Ye,Re,De,He,we,Tt,ct,tn){this._eventInfoService=mt,this._routeService=Vt,this._trackersService=Ot,this._updateManagerService=Fe,this._ticketService=Ye,this._configurationService=Re,this._cdr=De,this.favoriteService=He,this.eventService=we,this._liveStreamsService=Tt,this._restConfigurationService=ct,this._highlightEventsService=tn,this.shouldShowLeagueInfo=!0,this.numberOfMarkets=3,this.isLastElement=!1,this.isOnRegionOrLeaguePage=!1,this.type="",this.pageNameEarlyPayout=C.Bi.EARLY_PAYOUT,this.FLAG_NAMES={},this.showTimeAndPeriod=!1,this.showOnlyPeriod=!1,this.matchUrl="",this.triggerUpdate=0,this.isMatchTrackerIconVisible=(0,i.vPA)(!1),this.triggerPipeForExtraData=0,this.singleEvent={},this.isStreamAvailable=(0,i.vPA)(!1),this.isHighlightedEvent=!1,this.dynamicScoreComponent={},this._subscriptions=[],(0,i.QZP)(()=>{this._checkIfStreamAvailable(this._liveStreamsService.liveStreamEvents()),this._setMatchTrackerIconVisibility()},{allowSignalWrites:!0})}ngOnInit(){this.singleEvent=this.event,this.matchUrl=this._routeService.getLiveMatchUrl(this.singleEvent.header),this.showTimeAndPeriod=this._eventInfoService.canShowTimeAndPeriod((0,d.A)(this.singleEvent,"header.sport.sportId")),this.showOnlyPeriod=this._eventInfoService.canShowOnlyPeriod((0,d.A)(this.singleEvent,"header.sport.sportId")),this.loadComponent(this.singleEvent.header.sport.sportId),this._checkIsLabelVisible(),this.setFlags(),this.setHighlightedLeagueIds(),o.R.isBrowser&&(this._subscribeOnEventUpdate(),this._subscribeOnItemChangeOnTicket())}ngOnDestroy(){(0,h.A)(this._subscriptions,mt=>mt.unsubscribe())}_setMatchTrackerIconVisibility(){this.isMatchTrackerIconVisible.set(this._trackersService.isBetradarStatisticsAvailableForMatch(this.singleEvent)||!!this._trackersService.mappedEventIds()?.[this.event.header.eventId]&&!!this._restConfigurationService.getGeneralCustomConfigurationParams("lSportsGroupId"))}setFlags(){this.FLAG_NAMES=this._configurationService.getParam("icon_names")}_subscribeOnEventUpdate(){this._subscriptions.push(this._updateManagerService.onUpdateEvent$.subscribe(mt=>{mt.header.eventId===this.singleEvent.header.eventId&&(this.singleEvent=mt,this.triggerPipeForExtraData++,this.dynamicScoreComponent.inputs.event=this.singleEvent,this.dynamicScoreComponent.inputs.triggerUpdate=this.singleEvent.resultTrigger)}))}setHighlightedLeagueIds(){this.isHighlightedEvent=this._highlightEventsService.hasLeagueId(this.event.header.league.leagueId)}redirectToSingleMatch(){this._routeService.liveMatchOpened.next(!0)}toggleFavorite(){const mt=this.favoriteService.getFavoriteIds();(0,v.A)(mt,this.singleEvent.header.eventId)?this.favoriteService.removeId(mt,this.event):this.favoriteService.addFavoriteId(this.singleEvent.header.eventId)}loadComponent(mt){switch(mt){case m.W.FOOTBALL:case m.W.VIRTUAL_FOOTBALL:case m.W.FUTSAL:this.dynamicScoreComponent={component:p.FootballResultsComponent,inputs:{event:this.singleEvent,triggerUpdate:this.singleEvent.resultTrigger}};break;case m.W.VOLEYBALL:case m.W.BASKETBALL:case m.W.TENNIS:case m.W.WATERPOLO:case m.W.BASEBALL:case m.W.AMERICAN_FOOTBALL:case m.W.DARTS:case m.W.TABLE_TENNIS:case m.W.BASKETBALL_3_X_3:case m.W.BADMINTON:case m.W.BEACH_VOLLEYBALL:case m.W.RUGBY_LEAGUE:case m.W.AUSSIE_RULES:case m.W.VIRTUAL_BASKETBALL:case m.W.BOWLS:case m.W.VIRTUAL_ICE_HOCKEY:this.dynamicScoreComponent={component:u.BasketballResultsComponent,inputs:{event:this.singleEvent,triggerUpdate:this.singleEvent.resultTrigger}};break;default:this.dynamicScoreComponent={component:E.OtherResultsComponent,inputs:{event:this.singleEvent,triggerUpdate:this.singleEvent.resultTrigger}}}}_checkIsLabelVisible(){this.labelName=this._eventInfoService.getEventLabel(this.singleEvent.header)}_subscribeOnItemChangeOnTicket(){this._subscriptions.push(this._ticketService.itemChangeOnTicket$.subscribe(()=>{this._cdr.detectChanges()}))}_checkIfStreamAvailable(mt={}){(0,_.A)(mt)||!this.event||this.isStreamAvailable.set(!!this._liveStreamsService.liveStreamEvents()[this.event.header.eventId])}static{this.\u0275fac=function(Vt){return new(Vt||_t)(i.rXU(l.i),i.rXU(y.O),i.rXU(I.t),i.rXU(S.c),i.rXU(P.Y),i.rXU(F.s),i.rXU(i.gRc),i.rXU(N.U),i.rXU(U.U),i.rXU(T.P),i.rXU(L.M),i.rXU(Z.P))}}static{this.\u0275cmp=i.VBU({type:_t,selectors:[["live-event"]],hostVars:2,hostBindings:function(Vt,Ot){2&Vt&&i.AVh("c-event-live-region-league",Ot.isOnRegionOrLeaguePage)},inputs:{event:"event",triggerPipe:"triggerPipe",selectionTrigger:"selectionTrigger",shouldShowLeagueInfo:"shouldShowLeagueInfo",numberOfMarkets:"numberOfMarkets",isLastElement:"isLastElement",isOnRegionOrLeaguePage:"isOnRegionOrLeaguePage",type:"type"},decls:44,vars:63,consts:[[1,"c-event",3,"ngClass"],[1,"c-event__info-wrapper",3,"ngClass"],[1,"c-event__info",3,"click","routerLink"],[1,"c-event__info-left","u-flex-direction-row"],["class","c-event__info-code",4,"ngIf"],[1,"c-event__info-left-container"],[1,"c-event__league"],[1,"c-event__info-left-inner"],[1,"c-event__time"],[1,"c-event__period","c-event__period--live"],[4,"ngIf"],["class","c-current-time",4,"ngIf"],[1,"c-event__rivals"],[1,"c-event__rivals--home"],[1,"c-event-rival-icon","rival-region-flag",3,"flag","showDefaultFlag","icon"],[1,"c-event-sport-fallback-icon"],[1,"c-event__rivals--away"],["style","display: flex;",4,"ngComponentOutlet","ngComponentOutletInputs"],[1,"c-event__cta-wrapper"],[1,"c-event__favourite-icon-wrapper",3,"click","ngClass"],["
1icon","favorite-casino",1,"c-event__favourite-icon"],["class","c-event__stream-icon-wrapper",3,"routerLink","state","click",4,"ngIf"],[1,"c-event-action","c-event-action--bottom","u-line-height-30","c-event-action--left-live",3,"routerLink"],["icon","event-link",1,"c-icon--xs"],[1,"c-item-games",3,"event","triggerPipe","selectionTrigger","numberOfMarkets","isLeagueInfoShown","isEarlyPayoutPage","type"],[1,"c-event-action","c-event-action--bottom","u-line-height-30","c-event-action--right-live",3,"routerLink"],[1,"c-event__info-code"],["class","c-event__league",4,"ngIf"],["class","c-event__league--period",4,"ngIf"],[1,"c-event__league--period"],[1,"c-event__period-time"],[1,"c-event__period-min"],[1,"c-current-time"],[2,"display","flex"],[1,"c-event__stream-icon-wrapper",3,"click","routerLink","state"],["icon","live-stream",1,"c-event__stream-icon"],["icon","match-tracker-icon",1,"c-event__stream-icon"]],template:function(Vt,Ot){1&Vt&&(i.j41(0,"div",0)(1,"div",1)(2,"a",2),i.bIt("click",function(){return Ot.redirectToSingleMatch()}),i.j41(3,"div",3),i.DNE(4,V,2,1,"div",4),i.j41(5,"div",5),i.DNE(6,W,1,1,"div",6),i.j41(7,"div",7)(8,"div",8)(9,"div",9),i.DNE(10,re,8,10,"ng-container",10)(11,ee,4,6,"div",11),i.k0s()(),i.j41(12,"div",12)(13,"div",13),i.nI1(14,"getAdditionalClassForRivalsPipe"),i.DNE(15,Se,2,5,"svg-icon",14),i.nI1(16,"shouldShowFlag"),i.DNE(17,J,3,3,":svg:svg",15),i.j41(18,"span"),i.EFF(19),i.nI1(20,"getRivalName"),i.k0s()(),i.j41(21,"div",16),i.nI1(22,"getAdditionalClassForRivalsPipe"),i.DNE(23,de,2,5,"svg-icon",14),i.nI1(24,"shouldShowFlag"),i.DNE(25,ke,3,3,":svg:svg",15),i.j41(26,"span"),i.EFF(27),i.nI1(28,"getRivalName"),i.k0s()()()()()(),i.DNE(29,ge,1,0,"ng-container",17),i.k0s(),i.j41(30,"div",18)(31,"div",19),i.nI1(32,"isInFavorites"),i.bIt("click",function(){return Ot.toggleFavorite()}),i.nrm(33,"svg-icon",20),i.k0s(),i.DNE(34,ye,2,3,"a",21)(35,Pe,2,3,"a",21),i.k0s(),i.j41(36,"a",22),i.DNE(37,Me,1,1)(38,We,1,0,"svg-icon",23),i.k0s()(),i.j41(39,"item-games",24),i.EFF(40," >"),i.k0s(),i.j41(41,"a",25),i.DNE(42,Oe,1,1)(43,tt,1,0,"svg-icon",23),i.k0s()()),2&Vt&&(i.Y8G("ngClass",i.l_i(56,ie,!Ot.shouldShowLeagueInfo,Ot.isLastElement)),i.R7$(),i.Y8G("ngClass",i.eq3(59,ve,Ot.isHighlightedEvent)),i.R7$(),i.Y8G("routerLink",Ot.matchUrl),i.R7$(2),i.Y8G("ngIf",Ot.singleEvent.header.code&&Ot.eventService.eventCodeVisible),i.R7$(2),i.vxM(Ot.isOnRegionOrLeaguePage?-1:6),i.R7$(4),i.Y8G("ngIf",Ot.showTimeAndPeriod),i.R7$(),i.Y8G("ngIf",Ot.showOnlyPeriod),i.R7$(2),i.HbH(i.brH(14,35,Ot.singleEvent.header,0,Ot.triggerPipeForExtraData)),i.BMQ("yellowCardNumber",null==Ot.singleEvent||null==Ot.singleEvent.header||null==Ot.singleEvent.header.result||null==Ot.singleEvent.header.result.extraData?null:Ot.singleEvent.header.result.extraData.HYEL)("redCardNumber",null==Ot.singleEvent||null==Ot.singleEvent.header||null==Ot.singleEvent.header.result||null==Ot.singleEvent.header.result.extraData?null:Ot.singleEvent.header.result.extraData.HRED),i.R7$(2),i.vxM(i.bMT(16,39,null==Ot.event||null==Ot.event.header||null==Ot.event.header.league?null:Ot.event.header.league.leagueId)?15:17),i.R7$(4),i.SpI(" ",i.i5U(20,41,Ot.singleEvent.header.rivals,0)," "),i.R7$(2),i.HbH(i.brH(22,44,Ot.singleEvent.header,1,Ot.triggerPipeForExtraData)),i.BMQ("yellowCardNumber",null==Ot.singleEvent||null==Ot.singleEvent.header||null==Ot.singleEvent.header.result||null==Ot.singleEvent.header.result.extraData?null:Ot.singleEvent.header.result.extraData.AYEL)("redCardNumber",null==Ot.singleEvent||null==Ot.singleEvent.header||null==Ot.singleEvent.header.result||null==Ot.singleEvent.header.result.extraData?null:Ot.singleEvent.header.result.extraData.ARED),i.R7$(2),i.vxM(i.bMT(24,48,null==Ot.event||null==Ot.event.header||null==Ot.event.header.league?null:Ot.event.header.league.leagueId)?23:25),i.R7$(4),i.SpI(" ",i.i5U(28,50,Ot.singleEvent.header.rivals,1)," "),i.R7$(2),i.Y8G("ngComponentOutlet",Ot.dynamicScoreComponent.component)("ngComponentOutletInputs",Ot.dynamicScoreComponent.inputs),i.R7$(2),i.Y8G("ngClass",i.eq3(61,me,i.i5U(32,53,Ot.singleEvent.header.eventId,Ot.favoriteService.favoriteTriggerPipe))),i.R7$(3),i.Y8G("ngIf",Ot.isStreamAvailable()),i.R7$(),i.Y8G("ngIf",Ot.isMatchTrackerIconVisible()),i.R7$(),i.Y8G("routerLink",Ot.matchUrl),i.R7$(),i.vxM(0===(null==Ot.singleEvent||null==Ot.singleEvent.header?null:Ot.singleEvent.header.numberOfVisibleSelections)||null!=Ot.singleEvent&&null!=Ot.singleEvent.header&&Ot.singleEvent.header.numberOfVisibleSelections?37:38),i.R7$(2),i.Y8G("event",Ot.event)("triggerPipe",Ot.triggerPipe)("selectionTrigger",Ot.selectionTrigger)("numberOfMarkets",Ot.numberOfMarkets)("isLeagueInfoShown",Ot.shouldShowLeagueInfo)("isEarlyPayoutPage",Ot.type===Ot.pageNameEarlyPayout)("type",Ot.type===Ot.pageNameEarlyPayout?"early-payout":""),i.R7$(2),i.Y8G("routerLink",Ot.matchUrl),i.R7$(),i.vxM(0===(null==Ot.singleEvent||null==Ot.singleEvent.header?null:Ot.singleEvent.header.numberOfVisibleSelections)||null!=Ot.singleEvent&&null!=Ot.singleEvent.header&&Ot.singleEvent.header.numberOfVisibleSelections?42:43))},styles:['[_nghost-%COMP%] .c-event.c-event--last[_ngcontent-%COMP%]{border-bottom:none;border-radius:0 0 4px 4px}.c-event-live-region-league[_nghost-%COMP%] .c-event__info[_ngcontent-%COMP%]{align-items:center}.c-event[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid var(--baseBlack02);overflow:hidden}.c-event.c-event--without-league[_ngcontent-%COMP%] .c-event__info-left-inner[_ngcontent-%COMP%]{margin-bottom:auto}.c-event.c-event--without-league[_ngcontent-%COMP%] .c-event-action__bottom[_ngcontent-%COMP%], .c-event.c-event--without-league[_ngcontent-%COMP%] .c-event-action__top[_ngcontent-%COMP%]{height:25px;padding-top:0}.c-event.c-event--without-league[_ngcontent-%COMP%] .c-event__info[_ngcontent-%COMP%]{align-items:center}.c-event.c-event--placeholders[_ngcontent-%COMP%]{background:var(--baseGradient01)}.c-event.c-event--placeholders[_ngcontent-%COMP%] .c-event__info-wrapper[_ngcontent-%COMP%]{background:var(--baseGradient01);box-shadow:1px 0 0 0 var(--baseBlack02)}.c-event.c-event--placeholders[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-indent:-99999px}.c-event.c-event--placeholders[_ngcontent-%COMP%] .c-event-action[_ngcontent-%COMP%]{margin-left:auto}.c-event[_ngcontent-%COMP%]:hover .c-event__info-wrapper[_ngcontent-%COMP%]{background:var(--baseBlue06)}.c-event[_ngcontent-%COMP%]:hover .c-item-games[_ngcontent-%COMP%]{background-color:var(--baseBlue06)}.c-event.c-event--selected[_ngcontent-%COMP%] .c-event__info-wrapper[_ngcontent-%COMP%]{background:var(--base-blue-04)}.c-event.c-event--selected[_ngcontent-%COMP%] .c-event__rivals[_ngcontent-%COMP%], .c-event.c-event--selected[_ngcontent-%COMP%] .c-event__period[_ngcontent-%COMP%]{color:var(--white)}.c-event.c-event--selected[_ngcontent-%COMP%] .c-event__info-code[_ngcontent-%COMP%]{color:var(--base-yellow-01)}
1.c-current-time[_ngcontent-%COMP%]{color:var(--base-green-01);font-size:18px;height:32px;overflow:hidden;white-space:nowrap;display:flex;align-items:center;justify-content:center}.c-event__info-wrapper[_ngcontent-%COMP%]{display:flex;min-width:320px;width:320px;background:var(--baseGradient01)}@media screen and (max-width: 1100px){.c-event__info-wrapper[_ngcontent-%COMP%]{min-width:calc(50% + 25px);width:calc(50% + 25px)}}.c-event__info-wrapper.is-highlighted-event[_ngcontent-%COMP%]{background:var(--highlightedEventBgColor)}.c-event__info[_ngcontent-%COMP%]{width:100%;min-width:0;min-height:1px;display:flex;text-decoration:none;align-items:flex-end;padding-bottom:2px}.c-event__info-left[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:0;flex:1}.c-event__info-left.u-flex-direction-row[_ngcontent-%COMP%]{flex-direction:row}.c-event__info-left-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:0;flex:1}.c-event__info-left-inner[_ngcontent-%COMP%]{display:flex;margin-top:auto}.c-event__time[_ngcontent-%COMP%]{cursor:pointer;min-width:55px;max-width:55px}.c-event__period[_ngcontent-%COMP%]{width:100%;color:var(--baseTextColor);font-size:12px;font-weight:500;line-height:16px;text-align:center}.c-event__period.c-event__period--live[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-event__period--sport[_ngcontent-%COMP%]{font-size:12px;color:var(--dark-grey);font-weight:600}.c-event__period-time[_ngcontent-%COMP%]{height:16px;font-size:12px;line-height:16px;padding:0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-event__period-min[_ngcontent-%COMP%]{height:16px;padding:0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-event__rivals[_ngcontent-%COMP%]{cursor:pointer;display:block;color:var(--baseWhite16);text-align:left;text-decoration:none;text-indent:5px;display:flex;flex-direction:column;flex-grow:1;min-width:0}.c-event__league[_ngcontent-%COMP%]{padding-left:5px;padding-right:5px;line-height:20px;text-decoration:none;color:var(--base-white-03);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-event__league[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:var(--eventLeagueLink)}.c-event__league--period[_ngcontent-%COMP%]{padding:0 3px;border-radius:2px;margin-top:3px;margin-right:4px;background-color:var(--base-primary);color:var(--white);font-size:12px;line-height:14px;letter-spacing:-.5px;text-indent:0;text-transform:uppercase}.c-event-early-payout-icon[_ngcontent-%COMP%]{width:17px;height:17px;margin-right:4px;flex-shrink:0;color:var(--earlyPayoutText)}.c-event-early-payout-icon.c-event-early-payout-icon--transform[_ngcontent-%COMP%]{transform:translateY(8px)}.c-event-sport-fallback-icon[_ngcontent-%COMP%]{width:18px;height:10px;margin-right:4px;margin-left:2px;flex-shrink:0}.c-event__rivals-card.search-red-card[_ngcontent-%COMP%]{align-items:center}.c-event__rivals-card.search-red-card[_ngcontent-%COMP%]:before{order:1;display:flex;align-items:center;justify-content:center;content:attr(redCardNumber);padding:0 2px;max-width:6px;max-height:14px;font-size:12px;color:var(--white);margin-inline:5px;border-radius:3px;background-color:var(--sport-search-red-card);flex-shrink:0}.c-event__rivals-card.search-yellow-card[_ngcontent-%COMP%]{align-items:center}.c-event__rivals-card.search-yellow-card[_ngcontent-%COMP%]:after{order:2;display:flex;align-items:center;justify-content:center;content:attr(yellowCardNumber);padding:0 2px;max-width:6px;max-height:14px;font-size:12px;color:var(--black);margin-inline:5px;border-radius:3px;background-color:var(--base-yellow-01);flex-shrink:0}.c-event__rivals-card.not-serving[_ngcontent-%COMP%], .c-event__rivals-card.serving[_ngcontent-%COMP%]{align-items:center;height:14px;margin-left:2px}.c-event__rivals-card.not-serving[_ngcontent-%COMP%]:before{display:block;content:"";min-width:7px;height:7px;margin-left:2px;margin-right:-2px;border-radius:4px;background-color:transparent}.c-event__rivals-card.serving[_ngcontent-%COMP%]:before{display:block;content:"";min-width:7px;height:7px;margin-left:2px;margin-right:-2px;border-radius:4px;background-color:var(--base-green-01)}.c-event__rivals--home[_ngcontent-%COMP%], .c-event__rivals--away[_ngcontent-%COMP%]{height:16px;width:100%;font-family:var(--font-cond);font-size:14px;white-space:nowrap;display:flex;min-width:0;line-height:15px;font-weight:500;align-items:center}.c-event__rivals--home[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .c-event__rivals--away[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:auto;order:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-event__rivals--home.not-serving[_ngcontent-%COMP%], .c-event__rivals--home.serving[_ngcontent-%COMP%], .c-event__rivals--away.not-serving[_ngcontent-%COMP%], .c-event__rivals--away.serving[_ngcontent-%COMP%]{align-items:center}.c-event__rivals--home.not-serving[_ngcontent-%COMP%]:before, .c-event__rivals--away.not-serving[_ngcontent-%COMP%]:before{display:block;content:"";min-width:7px;height:7px;margin-right:-2px;border-radius:4px;background-color:transparent;position:absolute;margin-left:19px}.c-event__rivals--home.serving[_ngcontent-%COMP%]:before, .c-event__rivals--away.serving[_ngcontent-%COMP%]:before{display:block;content:"";min-width:7px;height:7px;margin-right:-2px;border-radius:4px;background-color:var(--base-green-01);position:absolute;margin-left:19px}.c-event__rivals--home.red-card[_ngcontent-%COMP%], .c-event__rivals--away.red-card[_ngcontent-%COMP%]{align-items:center}.c-event__rivals--home.red-card[_ngcontent-%COMP%]:before, .c-event__rivals--away.red-card[_ngcontent-%COMP%]:before{order:1;display:flex;align-items:center;justify-content:center;content:attr(redCardNumber);padding-right:4px;max-width:6px;max-height:14px;font-size:12px;color:var(--baseRed02);margin-inline:5px;border-radius:1px;background-color:var(--baseRed01);flex-shrink:0}.c-event__rivals--home.yellow-card[_ngcontent-%COMP%], .c-event__rivals--away.yellow-card[_ngcontent-%COMP%]{align-items:center}.c-event__rivals--home.yellow-card[_ngcontent-%COMP%]:after, .c-event__rivals--away.yellow-card[_ngcontent-%COMP%]:after{order:2;display:flex;align-items:center;justify-content:center;content:attr(yellowCardNumber);padding-right:4px;max-width:6px;max-height:14px;font-size:12px;color:var(--baseYellow04);margin-inline:5px;border-radius:1px;background-color:var(--baseYellow03);flex-shrink:0}.c-event__game--with-title[_ngcontent-%COMP%] .c-event-game__title[_ngcontent-%COMP%]{width:100%;height:25px;
1box-shadow:var(--box-shadow-bottom) var(--selectionBoxShadow),var(--box-shadow-left) var(--selectionBoxShadow);font-size:12px;font-weight:600;line-height:25px;text-align:center;background-color:var(--eventGameTitleBg)}.c-event__game--with-title[_ngcontent-%COMP%] .c-selection[_ngcontent-%COMP%]{line-height:35px}.c-event-action[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;cursor:pointer;min-width:40px;max-width:40px;background-color:var(--baseBlue06);color:var(--baseYellow06);font-size:12px;text-align:center;text-decoration:none;order:3}.c-event-action.c-event-action--left[_ngcontent-%COMP%]{display:none;min-width:40px;max-width:40px}@media screen and (max-width: 1200px){.c-event-action.c-event-action--left[_ngcontent-%COMP%]{display:block}}.c-event-action.c-event-action--left-live[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 1200px){.c-event-action.c-event-action--left-live[_ngcontent-%COMP%]{display:flex;flex-direction:column}}.c-event-action.c-event-action--right[_ngcontent-%COMP%]{display:block}@media screen and (max-width: 1200px){.c-event-action.c-event-action--right[_ngcontent-%COMP%]{display:none}}.c-event-action.c-event-action--right-live[_ngcontent-%COMP%]{display:flex;flex-direction:column}@media screen and (max-width: 1200px){.c-event-action.c-event-action--right-live[_ngcontent-%COMP%]{display:none}}.c-event-action.c-event-action--bottom[_ngcontent-%COMP%]{font-size:11px;font-weight:500;line-height:11px}.c-event-action.c-event-action--bottom[_ngcontent-%COMP%]:hover{background-color:var(--baseBlue07)}.c-event-action__bottom[_ngcontent-%COMP%]{flex:1;align-content:center;font-size:11px;font-weight:500}.c-event-action__top[_ngcontent-%COMP%]{cursor:pointer;height:26px;padding-top:3px}.c-event-action__top[_ngcontent-%COMP%]:hover{background-color:var(--baseBlue07)}.c-event-action__bottom[_ngcontent-%COMP%]{display:block;cursor:pointer;height:30px;font-size:11px;font-weight:500;line-height:11px;align-content:center;color:inherit;text-decoration:inherit}.c-event-action__bottom[_ngcontent-%COMP%]:hover{background-color:var(--baseBlue07)}.c-event__cta-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;background-color:var(--baseBlue06)}.c-event__cta-wrapper[_ngcontent-%COMP%] + .c-event-action[_ngcontent-%COMP%]{border-left:1px solid var(--baseBlack02)}.c-event__favourite-icon-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;transition:color .1s linear;cursor:pointer;height:100%;max-height:20px;min-width:25px}.c-event__favourite-icon-wrapper[_ngcontent-%COMP%]:hover .c-event__favourite-icon[_ngcontent-%COMP%]{--favorite-fill-stroke: var(--baseYellow01)}.c-event__favourite-icon-wrapper.selected[_ngcontent-%COMP%] .c-event__favourite-icon[_ngcontent-%COMP%]{--favorite-fill-stroke: var(--baseYellow09);color:var(--base-yellow-01)}.c-event__favourite-icon[_ngcontent-%COMP%]{width:11px;height:11px;margin-left:1px;--favorite-fill-stroke: var(--baseWhite19);color:transparent}.c-event__stream-icon-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;color:var(--baseGrey07);transition:color .1s linear;cursor:pointer;height:100%;max-height:20px;min-width:25px}.c-event__stream-icon-wrapper[_ngcontent-%COMP%]:hover{color:var(--baseYellow01)}.c-event__statistics-icon[_ngcontent-%COMP%]{margin-left:1px;width:13px;height:11px}.c-event__stream-icon[_ngcontent-%COMP%]{margin-left:1px;width:15px;height:12px}.c-event__info-code[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;align-self:center;justify-content:center;padding:8px 4px;margin-left:5px;border-radius:4px;color:var(--baseYellow06);font-weight:400}.c-event-rival-icon[_ngcontent-%COMP%]{display:inline-flex;width:18px;height:12px;margin-right:3px;margin-top:1px;flex-shrink:0;border-radius:2px;overflow:hidden}'],changeDetection:0})}}return _t})()},52760:(he,M,r)=>{"use strict";r.r(M),r.d(M,{BasketballResultsComponent:()=>u});var o=r(73955),i=r(58114),d=r(60177),h=r(17435),v=r(67533),_=r(54438);const m=E=>({"u-mt-8 c-event__score--smaller-width":E}),p=E=>({"u-mb-5":E});let u=(()=>{class E{constructor(){this.triggerUpdate=0,this.isFeaturedMatch=!1}static{this.\u0275fac=function(y){return new(y||E)}}static{this.\u0275cmp=_.VBU({type:E,selectors:[["basketball-results-component"]],inputs:{event:"event",triggerUpdate:"triggerUpdate",isFeaturedMatch:"isFeaturedMatch"},standalone:!0,features:[_.aNF],decls:15,vars:36,consts:[[2,"display","flex"],[1,"c-event__score",3,"ngClass"],[1,"c-score__home","u-color-base",3,"ngClass"],[1,"c-score__away","u-color-base"],[1,"c-event__score","c-event__score--final",3,"ngClass"],[1,"c-score__home","u-color-red",3,"ngClass"],[1,"c-score__home","u-color-red"]],template:function(y,I){1&y&&(_.j41(0,"div",0)(1,"div",1)(2,"div",2),_.EFF(3),_.nI1(4,"getPeriodResults"),_.k0s(),_.j41(5,"div",3),_.
1EFF(6),_.nI1(7,"getPeriodResults"),_.k0s()(),_.j41(8,"div",4)(9,"div",5),_.EFF(10),_.nI1(11,"getFormattedResults"),_.k0s(),_.j41(12,"div",6),_.EFF(13),_.nI1(14,"getFormattedResults"),_.k0s()()()),2&y&&(_.R7$(),_.Y8G("ngClass",_.eq3(28,m,I.isFeaturedMatch)),_.R7$(),_.Y8G("ngClass",_.eq3(30,p,I.isFeaturedMatch)),_.R7$(),_.JRh(_.ii3(4,8,I.event.header,0,null,I.triggerUpdate)),_.R7$(3),_.JRh(_.ii3(7,13,I.event.header,1,null,I.triggerUpdate)),_.R7$(2),_.Y8G("ngClass",_.eq3(32,m,I.isFeaturedMatch)),_.R7$(),_.Y8G("ngClass",_.eq3(34,p,I.isFeaturedMatch)),_.R7$(),_.JRh(_.ii3(11,18,I.event.header,0,"score",I.triggerUpdate)),_.R7$(3),_.JRh(_.ii3(14,23,I.event.header,1,"score",I.triggerUpdate)))},dependencies:[d.CommonModule,d.NgClass,o.h,i.A,h.G,v.n],styles:[".c-event__score[_ngcontent-%COMP%]{min-width:25px;max-width:33px;font-size:13px;line-height:20px;text-align:center;text-transform:uppercase;font-family:var(--font-cond)}.c-event__score.c-event__score--smaller-width[_ngcontent-%COMP%]{min-width:15px}.c-event__score--final[_ngcontent-%COMP%]{max-width:38px}.c-score__index[_ngcontent-%COMP%]{color:var(--baseYellow09);line-height:20px;font-weight:500;font-size:12px;padding:0 4px;overflow:hidden}.c-score__home[_ngcontent-%COMP%], .c-score__away[_ngcontent-%COMP%]{line-height:16px;height:16px}"]})}}return E})()},1068:(he,M,r)=>{"use strict";r.r(M),r.d(M,{FootballResultsComponent:()=>u});var o=r(60177),i=r(73955),d=r(58114),h=r(17435),v=r(67533),_=r(54438);const m=E=>({"u-mt-8 c-event__score--smaller-width":E}),p=E=>({"u-mb-5":E});let u=(()=>{class E{constructor(){this.triggerUpdate=0,this.isFeaturedMatch=!1}static{this.\u0275fac=function(y){return new(y||E)}}static{this.\u0275cmp=_.VBU({type:E,selectors:[["football-results-component"]],inputs:{event:"event",triggerUpdate:"triggerUpdate",isFeaturedMatch:"isFeaturedMatch"},standalone:!0,features:[_.aNF],decls:15,vars:36,consts:[[2,"display","flex"],[1,"c-event__score",3,"ngClass"],[1,"c-score__home","u-color-base",3,"ngClass"],[1,"c-score__away","u-color-base"],[1,"c-event__score","c-event__score--final",3,"ngClass"],[1,"c-score__home","u-color-red",3,"ngClass"],[1,"c-score__away","u-color-red"]],template:function(y,I){1&y&&(_.j41(0,"div",0)(1,"div",1)(2,"div",2),_.EFF(3),_.nI1(4,"getPeriodResults"),_.k0s(),_.j41(5,"div",3),_.EFF(6),_.nI1(7,"getPeriodResults"),_.k0s()(),_.j41(8,"div",4)(9,"div",5),_.EFF(10),_.nI1(11,"getFormattedResults"),_.k0s(),_.j41(12,"div",6),_.EFF(13),_.nI1(14,"getFormattedResults"),_.k0s()()()),2&y&&(_.R7$(),_.Y8G("ngClass",_.eq3(28,m,I.isFeaturedMatch)),_.R7$(),_.Y8G("ngClass",_.eq3(30,p,I.isFeaturedMatch)),_.R7$(),_.JRh(_.ii3(4,8,I.event.header,0,0,I.triggerUpdate)),_.R7$(3),_.JRh(_.ii3(7,13,I.event.header,1,0,I.triggerUpdate)),_.R7$(2),_.Y8G("ngClass",_.eq3(32,m,I.isFeaturedMatch)),_.R7$(),_.Y8G("ngClass",_.eq3(34,p,I.isFeaturedMatch)),_.R7$(),_.JRh(_.ii3(11,18,I.event.header,0,"score",I.triggerUpdate)),_.R7$(3),_.JRh(_.ii3(14,23,I.event.header,1,"score",I.triggerUpdate)))},dependencies:[o.CommonModule,o.NgClass,i.h,d.A,h.G,v.n],styles:[".c-event__score[_ngcontent-%COMP%]{min-width:25px;max-width:33px;font-size:13px;line-height:20px;text-align:center;text-transform:uppercase;font-family:var(--font-cond)}.c-event__score.c-event__score--smaller-width[_ngcontent-%COMP%]{min-width:15px}.c-event__score--final[_ngcontent-%COMP%]{max-width:38px}.c-score__index[_ngcontent-%COMP%]{color:var(--baseYellow09);line-height:20px;font-weight:500;font-size:12px;padding:0 4px;overflow:hidden}.c-score__home[_ngcontent-%COMP%], .c-score__away[_ngcontent-%COMP%]{line-height:16px;height:16px}"]})}}return E})()},4393:(he,M,r)=>{"use strict";r.r(M),r.d(M,{OtherResultsComponent:()=>l});var o=r(60177),i=r(73955),d=r(58114),h=r(62125),v=r(4346),_=r(54438),m=r(19218),p=r(47580);let u=(()=>{class y{constructor(S,P){this._scoreHelpersService=S,this._eventInfoService=P}transform(S,P,F){return this._formatResultsForSport(S,P)}_formatResultsForSport(S,P){return(0,h.A)(S,"header.sport.sportId")===v.W.CRICKET?this._getResultFromExtraData(S.header,P):this._isDotaOrLol(S)&&this._isNotOtherSport(S)?this._getDotaOrLolResults(S,P):!this._isDotaOrLol(S)&&this._isNotOtherSport(S)?this._scoreHelpersService.getCricketEventResult(S,P):this._eventInfoService.getTeamScore(S.header,P)}_getResultFromExtraData(S,P){const F=this._getEventResultFromExtraData(S,P);return"0/0"==F?"":F}_getEventResultFromExtraData(S,P){return this._eventInfoService.getExtraDataAttr(S.result,P?"ResultAway":"ResultHome")}_getDotaOrLolResults(S,P){return String((0,h.A)(S,`header.result.currentPeriod.points[${P}]`,""))}_isDotaOrLol(S){return this._scoreHelpersService.isDotaOrLolId(S)}_isNotOtherSport(S){return!this._scoreHelpersService.isOtherSports(S)}static{this.\u0275fac=function(P){return new(P||y)(_.rXU(m.f,16),_.rXU(p.i,16))}}static{this.\u0275pipe=_.EJ8({name:"formatOtherSportsResults",type:y,pure:!0,standalone:!0})}}return y})();const E=y=>({"u-mt-8":y}),C=y=>
1({"u-mb-5":y});let l=(()=>{class y{constructor(){this.triggerUpdate=0,this.isFeaturedMatch=!1}static{this.\u0275fac=function(P){return new(P||y)}}static{this.\u0275cmp=_.VBU({type:y,selectors:[["other-results-component"]],inputs:{event:"event",triggerUpdate:"triggerUpdate",isFeaturedMatch:"isFeaturedMatch"},standalone:!0,features:[_.aNF],decls:7,vars:16,consts:[[1,"c-event__score",3,"ngClass"],[1,"c-score__home","u-color-red",3,"ngClass"],[1,"c-score__away","u-color-red"]],template:function(P,F){1&P&&(_.j41(0,"div",0)(1,"div",1),_.EFF(2),_.nI1(3,"formatOtherSportsResults"),_.k0s(),_.j41(4,"div",2),_.EFF(5),_.nI1(6,"formatOtherSportsResults"),_.k0s()()),2&P&&(_.Y8G("ngClass",_.eq3(12,E,F.isFeaturedMatch)),_.R7$(),_.Y8G("ngClass",_.eq3(14,C,F.isFeaturedMatch)),_.R7$(),_.JRh(_.brH(3,4,F.event,0,F.triggerUpdate)),_.R7$(3),_.JRh(_.brH(6,8,F.event,1,F.triggerUpdate)))},dependencies:[o.CommonModule,o.NgClass,i.h,d.A,u],styles:[".c-event__score[_ngcontent-%COMP%]{min-width:25px;max-width:33px;font-size:13px;line-height:20px;text-align:center;text-transform:uppercase;font-family:var(--font-cond)}.c-event__score.c-event__score--smaller-width[_ngcontent-%COMP%]{min-width:15px}.c-event__score--final[_ngcontent-%COMP%]{max-width:38px}.c-score__index[_ngcontent-%COMP%]{color:var(--baseYellow09);line-height:20px;font-weight:500;font-size:12px;padding:0 4px;overflow:hidden}.c-score__home[_ngcontent-%COMP%], .c-score__away[_ngcontent-%COMP%]{line-height:16px;height:16px}"]})}}return y})()},46048:(he,M,r)=>{"use strict";r.d(M,{y:()=>ye});var o=r(54438),i=r(62125),d=r(23712),h=r(72036),v=r(57041),_=r(20279),m=r(47580),p=r(39934),u=r(62946),E=r(82361),C=r(84978),l=r(34405),y=r(48115),I=r(63940),S=r(32720),P=r(55326),F=r(10951);const N=(Pe,Me,We)=>({"c-event--selected":Pe,"c-event--without-league":Me,"c-event--last":We}),U=Pe=>({"is-highlighted-event":Pe}),T=Pe=>({"c-epo-event__info":Pe}),L=Pe=>({"c-event-early-payout-icon--transform":Pe});function Z(Pe,Me){if(1&Pe&&(o.j41(0,"div",30),o.EFF(1),o.k0s()),2&Pe){const We=o.XpG();o.R7$(),o.SpI(" ",We.event.header.code," ")}}function ie(Pe,Me){if(1&Pe&&(o.j41(0,"span",33),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&Pe){const We=o.XpG(2);o.R7$(),o.JRh(o.bMT(2,1,We.labelName))}}function ve(Pe,Me){if(1&Pe&&(o.j41(0,"div",31),o.DNE(1,ie,3,3,"span",32),o.EFF(2),o.k0s()),2&Pe){const We=o.XpG();o.R7$(),o.Y8G("ngIf",!!We.labelName),o.R7$(),o.Lme("",null==We.event||null==We.event.header||null==We.event.header.region?null:We.event.header.region.name," - ",null==We.event||null==We.event.header||null==We.event.header.league?null:We.event.header.league.name," ")}}function me(Pe,Me){if(1&Pe&&(o.nrm(0,"svg-icon",14),o.nI1(1,"lowercase")),2&Pe){let We;const Oe=o.XpG();o.Y8G("flag",!0)("showDefaultFlag",!1)("icon",Oe.FLAG_NAMES[o.bMT(1,3,null!==(We=null==Oe.event.header.untranslatedRivals?null:Oe.event.header.untranslatedRivals[0])&&void 0!==We?We:"")])}}function xe(Pe,Me){if(1&Pe&&(o.qSk(),o.j41(0,"svg",15),o.nrm(1,"use"),o.nI1(2,"sportIconFallback"),o.k0s()),2&Pe){const We=o.XpG();o.R7$(),o.BMQ("href","assets/styles/sport-sprites/svg/sprite.symbol.svg#"+o.bMT(2,1,null==We.event||null==We.event.header||null==We.event.header.sport?null:We.event.header.sport.sportId))}}function $(Pe,Me){if(1&Pe&&(o.nrm(0,"svg-icon",14),o.nI1(1,"lowercase")),2&Pe){let We;const Oe=o.XpG();o.Y8G("flag",!0)("showDefaultFlag",!1)("icon",Oe.FLAG_NAMES[o.bMT(1,3,null!==(We=null==Oe.event.header.untranslatedRivals?null:Oe.event.header.untranslatedRivals[1])&&void 0!==We?We:"")])}}function V(Pe,Me){if(1&Pe&&(o.qSk(),o.j41(0,"svg",15),o.nrm(1,"use"),o.nI1(2,"sportIconFallback"),o.k0s()),2&Pe){const We=o.XpG();o.R7$(),o.BMQ("href","assets/styles/sport-sprites/svg/sprite.symbol.svg#"+o.bMT(2,1,null==We.event||null==We.event.header||null==We.event.header.sport?null:We.event.header.sport.sportId))}}function oe(Pe,Me){if(1&Pe&&o.nrm(0,"svg-icon",17),2&Pe){const We=o.XpG();o.Y8G("ngClass",o.eq3(1,L,!We.sholudShowLeagueInfo))}}function z(Pe,Me){if(1&Pe&&(o.nrm(0,"svg-icon",18),o.nI1(1,"sportIcon")),2&Pe){let We;const Oe=o.XpG();o.Y8G("ngClass",o.eq3(5,L,!Oe.sholudShowLeagueInfo))("icon",o.i5U(1,2,null==Oe.event||null==Oe.event.header||null==Oe.event.header.sport?null:Oe.event.header.sport.sportId,null!==(We=Oe.earlyPayoutThreshold)&&void 0!==We?We:"default"))}}function W(Pe,Me){if(1&Pe){const We=o.RV6();o.j41(0,"div",34),o.bIt("click",function(){o.eBV(We);const tt=o.XpG();return o.Njj(tt.openStatisticsModal())}),o.nrm(1,"svg-icon",35),o.k0s()}}function re(Pe,Me){if(1&Pe){const We=o.RV6();o.j41(0,"div",34),o.bIt("click",function(){o.eBV(We);const tt=o.XpG();return o.Njj(tt.goToSingleEventPage())}),o.nrm(1,"svg-icon",36),o.k0s()}}function ee(Pe,Me){if(1&Pe&&o.EFF(0),2&Pe){const We=o.XpG();o.SpI(" +",null==We.event||null==We.event.header?null:We.event.header.numberOfVisibleSelections," ")}}function Se(Pe,Me){1&Pe&&o.nrm(0,"svg-icon",26)}function J(Pe,Me){if(1&Pe&&o.nrm(0,"item-games",27),2&Pe){const We=o.XpG();o.Y8G("isLeagueInfoShown",We.sholudShowLeagueInfo)("event",We.event)("triggerPipe",We.triggerPipe)("selectionTrigger",We.selectionTrigger)("numberOfMarkets",We.
1numberOfMarkets)("isEarlyPayoutPage",We.type===We.pageNameEarlyPayout)("type",We.type===We.pageNameEarlyPayout?"early-payout":"")}}function de(Pe,Me){if(1&Pe&&o.nrm(0,"item-games-old",28),2&Pe){const We=o.XpG();o.Y8G("event",We.event)("triggerPipe",We.triggerPipe)("selectionTrigger",We.selectionTrigger)}}function ke(Pe,Me){if(1&Pe&&o.EFF(0),2&Pe){const We=o.XpG();o.SpI(" +",null==We.event||null==We.event.header?null:We.event.header.numberOfVisibleSelections," ")}}function ge(Pe,Me){1&Pe&&o.nrm(0,"svg-icon",26)}let ye=(()=>{class Pe{constructor(We,Oe,tt,Qe,_t,ht,mt,Vt,Ot,Fe,Ye,Re){this._eventInfoService=We,this._routeService=Oe,this._trackersService=tt,this._modalService=Qe,this._routingService=_t,this._configurationService=ht,this._restConfigurationService=mt,this._stabilityService=Vt,this.eventPreviewService=Ot,this.eventService=Fe,this._liveStreamsService=Ye,this._highlightEventsService=Re,this.configuredPositions=!0,this.sholudShowLeagueInfo=!0,this.numberOfMarkets=3,this.isLastElement=!1,this.type="",this.earlyPayoutThreshold=void 0,this.pageNameEarlyPayout=_.Bi.EARLY_PAYOUT,this.FLAG_NAMES={},this.showTimeAndPeriod=!1,this.showOnlyPeriod=!1,this.matchUrl="",this.isMatchTrackerIconVisible=!1,this.isStatisticsEnabled=!1,this.showFlagOnRivalsForLeagues=!1,this.isStreamAvailable=(0,o.vPA)(!1),this.isHighlightedEvent=!1,this._subscriptions=[],(0,o.QZP)(()=>{this._checkIfStreamAvailable(this._liveStreamsService.standardStreamEvents())},{allowSignalWrites:!0})}ngOnInit(){this.showTimeAndPeriod=this._eventInfoService.canShowTimeAndPeriod((0,i.A)(this.event,"header.sport.sportId")),this.showOnlyPeriod=this._eventInfoService.canShowOnlyPeriod((0,i.A)(this.event,"header.sport.sportId")),this.matchUrl=this._routeService.getSingleEventMatchUrl(this.event.header),this.isMatchTrackerIconVisible=this._trackersService.isBetradarStatisticsAvailableForMatch(this.event),this.isStatisticsEnabled=this._configurationService.getParam("is_betradar_statistics_enabled"),this._checkIsLabelVisible(),this.showFlagOnRivalsForLeague(),this.setFlags(),this.setHighlightedLeagueIds()}ngOnDestroy(){(0,d.A)(this._subscriptions,We=>We.unsubscribe()),this.eventPreviewService.eventPreviewId=0}setFlags(){this.FLAG_NAMES=this._configurationService.getParam("icon_names")}showFlagOnRivalsForLeague(){let We=this._restConfigurationService.getGeneralCustomConfigurationParams("showFlagOnRivalsForLeagues");We&&(We=We.split(","),this.showFlagOnRivalsForLeagues=We.includes(`${this.event.header.league.leagueId}`))}openStatisticsModal(){this._modalService.open({component:v.I,payload:{event:this.event}})}setHighlightedLeagueIds(){this.isHighlightedEvent=this._highlightEventsService.hasLeagueId(this.event.header.league.leagueId)}openEventInPreviewModal(We,Oe){We.stopPropagation(),setTimeout(()=>{this.eventPreviewService.showEventPreviewForEventId(this.event.header.eventId,Oe)})}_checkIsLabelVisible(){this.labelName=this._eventInfoService.getEventLabel(this.event.header)}goToSingleEventPage(){this._routingService.navigateToSingleMatch(this.event.header)}_checkIfStreamAvailable(We={}){(0,h.A)(We)||!this.event||this.isStreamAvailable.set(!!this._liveStreamsService.standardStreamEvents()[this.event.header.eventId])}static{this.\u0275fac=function(Oe){return new(Oe||Pe)(o.rXU(m.i),o.rXU(p.O),o.rXU(u.t),o.rXU(E.B),o.rXU(p.O),o.rXU(C.s),o.rXU(l.M),o.rXU(y.B),o.rXU(I.a),o.rXU(S.U),o.rXU(P.P),o.rXU(F.P))}}static{this.\u0275cmp=o.VBU({type:Pe,selectors:[["standard-event"]],inputs:{event:"event",triggerPipe:"triggerPipe",resultTrigger:"resultTrigger",selectionTrigger:"selectionTrigger",configuredPositions:"configuredPositions",sholudShowLeagueInfo:"sholudShowLeagueInfo",numberOfMarkets:"numberOfMarkets",isLastElement:"isLastElement",type:"type",earlyPayoutThreshold:"earlyPayoutThreshold"},decls:50,vars:42,consts:[[1,"c-event",3,"ngClass"],[1,"c-event__info-wrapper",3,"ngClass"],[1,"c-event__info",3,"click","ngClass"],[1,"c-event__info-left","u-flex-direction-row"],["class","c-event__info-code",4,"ngIf"],[1,"c-event__info-left-container"],["class","c-event__league",4,"ngIf"],[1,"c-event__info-left-inner"],[1,"c-event__time"],[1,"c-event__period"],[1,"c-event__period-time"],[1,"c-event__period-min"],[1,"c-event__rivals"],[1,"c-event__rivals--home"],[1,"c-event-rival-icon","rival-region-flag",3,"flag","showDefaultFlag","icon"],[1,"c-event-sport-fallback-icon"],[1,"c-event__rivals--away"],["icon","boosted-odds",1,"c-event-early-payout-icon",3,"ngClass"],[1,"c-event-early-payout-icon",3,"ngClass","icon"],[1,"c-event__cta-wrapper"],["class","c-event__stream-icon-wrapper",3,"click",4,"ngIf"],[1,"c-event__stream-icon-wrapper"],[1,"c-event-action","u-line-height-30","c-event-action--left"],[1,"c-event-action__top",3,"click"],["icon","event-details",1,"c-icon--xs"],[1,"c-event-action__bottom",3,"routerLink"],["icon","event-link",1,"c-icon--xs"],[1,"c-item-games",3,"isLeagueInfoShown","event","triggerPipe","selectionTrigger","numberOfMarkets","isEarlyPayoutPage","type"],[1,"c-item-games",3,"event","triggerPipe","selectionTrigger"],[1,"c-event-action","u-line-height-30","c-event-action--right"],[1,"c-event__info-code"],[1,"c-event__league"],["class","c-event__league--period",4,"ngIf"],[1,"c-event__league--period"],[1,"c-event__stream-icon-wrapper",3,"click"],["icon","stats-alt",1,"c-event__statistics-icon"],["icon","live-stream",1,"c-event__stream-icon"]],template:function(Oe,tt){1&Oe&&(o.j41(0,"div",0)(1,"div",1)(2,"div",2),o.bIt("click",function(_t){return tt.openEventInPreviewModal(_t,null==tt.event||null==tt.event.header||null==tt.event.header.sport?null:tt.event.header.sport.sportId)}),o.j41(3,"div",3),o.DNE(4,Z,2,1,"div",4),o.j41(5,"div",5),o.DNE(6,ve,3,3,"div",6),o.j41(7,"div",7)(8,"div",8)(9,"div",9)(10,"div",10),o.EFF(11),o.nI1(12,"date"),o.k0s(),o.j41(13,"div",11),o.EFF(14),o.nI1(15,"dayLabel"),o.k0s()()(),o.j41(16,"div",12)(17,"div",13),o.DNE(18,me,2,5,"svg-icon",14)(19,xe,3,3,":svg:svg",15),o.j41(20,"span"),o.EFF(21),o.nI1(22,"getRivalName"),o.k0s()(),o.j41(23,"div",16),o.DNE(24,$,2,5,"svg-icon",14)(25,V,3,3,":svg:svg",15),o.j41(26,"span"),o.EFF(27),o.nI1(28,"getRivalName"),o.k0s(),o.DNE(29,oe,1,3,"svg-icon",17)(30,z,2,7,"svg-icon",18),o.nI1(31,"generalCustomConfigurationPipe"),o.k0s()()()()()(),o.j41(32,"div",19),o.DNE(33,W,2,0,"div",20)(34,re,2,0,"div",20),o.nrm(35,"div",21),o.k0s(),o.j41(36,"div",22)(37,"div",23),o.bIt("click",function(_t){return tt.openEventInPreviewModal(_t,null==tt.event||null==tt.event.header||null==tt.event.header.sport?null:tt.event.header.sport.sportId)}),o.nrm(38,"svg-icon",24),o.k0s(),o.j41(39,"a",25),o.DNE(40,ee,1,1)(41,Se,1,0,"svg-icon",26),o.k0s()()(),o.DNE(42,J,1,7,"item-games",27)(43,de,1,3,"item-games-old",28),o.j41(44,"div",29)(45,"div",23),o.bIt("click",function(_t){return tt.openEventInPreviewModal(_t,null==tt.event||null==tt.event.header||null==tt.event.header.sport?null:tt.event.header.sport.sportId)}),o.nrm(46,"svg-icon",24),o.k0s(),o.j41(47,"a",25),o.DNE(48,ke,1,1
1)(49,ge,1,0,"svg-icon",26),o.k0s()()()),2&Oe&&(o.Y8G("ngClass",o.sMw(34,N,tt.eventPreviewService.eventPreviewId===tt.event.header.eventId,!tt.sholudShowLeagueInfo,tt.isLastElement)),o.R7$(),o.Y8G("ngClass",o.eq3(38,U,tt.isHighlightedEvent)),o.R7$(),o.Y8G("ngClass",o.eq3(40,T,tt.type===tt.pageNameEarlyPayout)),o.R7$(2),o.Y8G("ngIf",tt.event.header.code&&tt.eventService.eventCodeVisible),o.R7$(2),o.Y8G("ngIf",tt.sholudShowLeagueInfo),o.R7$(5),o.JRh(o.i5U(12,21,null==tt.event||null==tt.event.header?null:tt.event.header.startTime,"HH:mm")),o.R7$(3),o.JRh(o.bMT(15,24,null==tt.event||null==tt.event.header?null:tt.event.header.startTime)),o.R7$(4),o.vxM(tt.showFlagOnRivalsForLeagues?18:19),o.R7$(3),o.SpI(" ",o.i5U(22,26,null==tt.event||null==tt.event.header?null:tt.event.header.rivals,0)," "),o.R7$(3),o.vxM(tt.showFlagOnRivalsForLeagues?24:25),o.R7$(3),o.SpI(" ",o.i5U(28,29,null==tt.event||null==tt.event.header?null:tt.event.header.rivals,1)," "),o.R7$(2),o.vxM(null!=tt.event&&null!=tt.event.header&&tt.event.header.boostedOdds?29:-1),o.R7$(),o.vxM(null!=tt.event&&null!=tt.event.header&&tt.event.header.hasEarlyPayout&&o.bMT(31,32,"enableEarlyPayout")?30:-1),o.R7$(3),o.Y8G("ngIf",tt.isMatchTrackerIconVisible&&tt.isStatisticsEnabled),o.R7$(),o.Y8G("ngIf",tt.isStreamAvailable()),o.R7$(5),o.Y8G("routerLink",tt.matchUrl),o.R7$(),o.vxM(0===(null==tt.event||null==tt.event.header?null:tt.event.header.numberOfVisibleSelections)||null!=tt.event&&null!=tt.event.header&&tt.event.header.numberOfVisibleSelections?40:41),o.R7$(2),o.vxM(tt.configuredPositions||tt.type===tt.pageNameEarlyPayout?42:-1),o.R7$(),o.vxM(tt.configuredPositions||tt.type===tt.pageNameEarlyPayout?-1:43),o.R7$(4),o.Y8G("routerLink",tt.matchUrl),o.R7$(),o.vxM(0===(null==tt.event||null==tt.event.header?null:tt.event.header.numberOfVisibleSelections)||null!=tt.event&&null!=tt.event.header&&tt.event.header.numberOfVisibleSelections?48:49))},styles:['[_nghost-%COMP%] .c-event.c-event--last[_ngcontent-%COMP%]{border-bottom:none;border-radius:0 0 4px 4px}.c-event-live-region-league[_nghost-%COMP%] .c-event__info[_ngcontent-%COMP%]{align-items:center}.c-event[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid var(--baseBlack02);overflow:hidden}.c-event.c-event--without-league[_ngcontent-%COMP%] .c-event__info-left-inner[_ngcontent-%COMP%]{margin-bottom:auto}.c-event.c-event--without-league[_ngcontent-%COMP%] .c-event-action__bottom[_ngcontent-%COMP%], .c-event.c-event--without-league[_ngcontent-%COMP%] .c-event-action__top[_ngcontent-%COMP%]{height:25px;padding-top:0}.c-event.c-event--without-league[_ngcontent-%COMP%] .c-event__info[_ngcontent-%COMP%]{align-items:center}.c-event.c-event--placeholders[_ngcontent-%COMP%]{background:var(--baseGradient01)}.c-event.c-event--placeholders[_ngcontent-%COMP%] .c-event__info-wrapper[_ngcontent-%COMP%]{background:var(--baseGradient01);box-shadow:1px 0 0 0 var(--baseBlack02)}.c-event.c-event--placeholders[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-indent:-99999px}.c-event.c-event--placeholders[_ngcontent-%COMP%] .c-event-action[_ngcontent-%COMP%]{margin-left:auto}.c-event[_ngcontent-%COMP%]:hover .c-event__info-wrapper[_ngcontent-%COMP%]{background:var(--baseBlue06)}.c-event[_ngcontent-%COMP%]:hover .c-item-games[_ngcontent-%COMP%]{background-color:var(--baseBlue06)}.c-event.c-event--selected[_ngcontent-%COMP%] .c-event__info-wrapper[_ngcontent-%COMP%]{background:var(--base-blue-04)}.c-event.c-event--selected[_ngcontent-%COMP%] .c-event__rivals[_ngcontent-%COMP%], .c-event.c-event--selected[_ngcontent-%COMP%] .c-event__period[_ngcontent-%COMP%]{color:var(--white)}.c-event.c-event--selected[_ngcontent-%COMP%] .c-event__info-code[_ngcontent-%COMP%]{color:var(--base-yellow-01)}.c-current-time[_ngcontent-%COMP%]{color:var(--base-green-01);font-size:18px;height:32px;overflow:hidden;white-space:nowrap;display:flex;align-items:center;justify-content:center}.c-event__info-wrapper[_ngcontent-%COMP%]{display:flex;min-width:320px;width:320px;background:var(--baseGradient01)}@media screen and (max-width: 1100px){.c-event__info-wrapper[_ngcontent-%COMP%]{min-width:calc(50% + 25px);width:calc(50% + 25px)}}.c-event__info-wrapper.is-highlighted-event[_ngcontent-%COMP%]{background:var(--highlightedEventBgColor)}.c-event__info[_ngcontent-%COMP%]{width:100%;min-width:0;min-height:1px;display:flex;text-decoration:none;align-items:flex-end;padding-bottom:2px}.c-event__info-left[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:0;flex:1}.c-event__info-left.u-flex-direction-row[_ngcontent-%COMP%]{flex-direction:row}.c-event__info-left-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:0;flex:1}.c-event__info-left-inner[_ngcontent-%COMP%]{display:flex;margin-top:auto}.c-event__time[_ngcontent-%COMP%]{cursor:pointer;min-width:55px;max-width:55px}.c-event__period[_ngcontent-%COMP%]{width:100%;color:var(--baseTextColor);font-size:12px;font-weight:500;line-height:16px;text-align:center}
1.c-event__period.c-event__period--live[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-event__period--sport[_ngcontent-%COMP%]{font-size:12px;color:var(--dark-grey);font-weight:600}.c-event__period-time[_ngcontent-%COMP%]{height:16px;font-size:12px;line-height:16px;padding:0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-event__period-min[_ngcontent-%COMP%]{height:16px;padding:0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-event__rivals[_ngcontent-%COMP%]{cursor:pointer;display:block;color:var(--baseWhite16);text-align:left;text-decoration:none;text-indent:5px;display:flex;flex-direction:column;flex-grow:1;min-width:0}.c-event__league[_ngcontent-%COMP%]{padding-left:5px;padding-right:5px;line-height:20px;text-decoration:none;color:var(--base-white-03);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-event__league[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:var(--eventLeagueLink)}.c-event__league--period[_ngcontent-%COMP%]{padding:0 3px;border-radius:2px;margin-top:3px;margin-right:4px;background-color:var(--base-primary);color:var(--white);font-size:12px;line-height:14px;letter-spacing:-.5px;text-indent:0;text-transform:uppercase}.c-event-early-payout-icon[_ngcontent-%COMP%]{width:17px;height:17px;margin-right:4px;flex-shrink:0;color:var(--earlyPayoutText)}.c-event-early-payout-icon.c-event-early-payout-icon--transform[_ngcontent-%COMP%]{transform:translateY(8px)}.c-event-sport-fallback-icon[_ngcontent-%COMP%]{width:18px;height:10px;margin-right:4px;margin-left:2px;flex-shrink:0}.c-event__rivals-card.search-red-card[_ngcontent-%COMP%]{align-items:center}.c-event__rivals-card.search-red-card[_ngcontent-%COMP%]:before{order:1;display:flex;align-items:center;justify-content:center;content:attr(redCardNumber);padding:0 2px;max-width:6px;max-height:14px;font-size:12px;color:var(--white);margin-inline:5px;border-radius:3px;background-color:var(--sport-search-red-card);flex-shrink:0}.c-event__rivals-card.search-yellow-card[_ngcontent-%COMP%]{align-items:center}.c-event__rivals-card.search-yellow-card[_ngcontent-%COMP%]:after{order:2;display:flex;align-items:center;justify-content:center;content:attr(yellowCardNumber);padding:0 2px;max-width:6px;max-height:14px;font-size:12px;color:var(--black);margin-inline:5px;border-radius:3px;background-color:var(--base-yellow-01);flex-shrink:0}.c-event__rivals-card.not-serving[_ngcontent-%COMP%], .c-event__rivals-card.serving[_ngcontent-%COMP%]{align-items:center;height:14px;margin-left:2px}.c-event__rivals-card.not-serving[_ngcontent-%COMP%]:before{display:block;content:"";min-width:7px;height:7px;margin-left:2px;margin-right:-2px;border-radius:4px;background-color:transparent}.c-event__rivals-card.serving[_ngcontent-%COMP%]:before{display:block;content:"";min-width:7px;height:7px;margin-left:2px;margin-right:-2px;border-radius:4px;background-color:var(--base-green-01)}.c-event__rivals--home[_ngcontent-%COMP%], .c-event__rivals--away[_ngcontent-%COMP%]{height:16px;width:100%;font-family:var(--font-cond);font-size:14px;white-space:nowrap;display:flex;min-width:0;line-height:15px;font-weight:500;align-items:center}.c-event__rivals--home[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .c-event__rivals--away[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:auto;order:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-event__rivals--home.not-serving[_ngcontent-%COMP%], .c-event__rivals--home.serving[_ngcontent-%COMP%], .c-event__rivals--away.not-serving[_ngcontent-%COMP%], .c-event__rivals--away.serving[_ngcontent-%COMP%]{align-items:center}.c-event__rivals--home.not-serving[_ngcontent-%COMP%]:before, .c-event__rivals--away.not-serving[_ngcontent-%COMP%]:before{display:block;content:"";min-width:7px;height:7px;margin-right:-2px;border-radius:4px;background-color:transparent;position:absolute;margin-left:19px}.c-event__rivals--home.serving[_ngcontent-%COMP%]:before, .c-event__rivals--away.serving[_ngcontent-%COMP%]:before{display:block;content:"";min-width:7px;height:7px;margin-right:-2px;border-radius:4px;background-color:var(--base-green-01);position:absolute;margin-left:19px}.c-event__rivals--home.red-card[_ngcontent-%COMP%], .c-event__rivals--away.red-card[_ngcontent-%COMP%]{align-items:center}.c-event__rivals--home.red-card[_ngcontent-%COMP%]:before, .c-event__rivals--away.red-card[_ngcontent-%COMP%]:before{order:1;display:flex;align-items:center;justify-content:center;content:attr(redCardNumber);padding-right:4px;max-width:6px;max-height:14px;font-size:12px;color:var(--baseRed02);margin-inline:5px;border-radius:1px;background-color:var(--baseRed01);flex-shrink:0}.c-event__rivals--home.yellow-card[_ngcontent-%COMP%], .c-event__rivals--away.yellow-card[_ngcontent-%COMP%]{align-items:center}.c-event__rivals--home.yellow-card[_ngcontent-%COMP%]:after, .c-event__rivals--away.yellow-card[_ngcontent-%COMP%]:after{order:2;display:flex;align-items:center;justify-content:center;content:attr(yellowCardNumber);padding-right:4px;max-width:6px;max-height:14px;font-size:12px;color:var(--baseYellow04);margin-inline:5px;border-radius:1px;background-color:var(--baseYellow03);flex-shrink:0}.c-event__game--with-title[_ngcontent-%COMP%] .c-event-game__title[_ngcontent-%COMP%]{width:100%;height:25px;
1box-shadow:var(--box-shadow-bottom) var(--selectionBoxShadow),var(--box-shadow-left) var(--selectionBoxShadow);font-size:12px;font-weight:600;line-height:25px;text-align:center;background-color:var(--eventGameTitleBg)}.c-event__game--with-title[_ngcontent-%COMP%] .c-selection[_ngcontent-%COMP%]{line-height:35px}.c-event-action[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;cursor:pointer;min-width:40px;max-width:40px;background-color:var(--baseBlue06);color:var(--baseYellow06);font-size:12px;text-align:center;text-decoration:none;order:3}.c-event-action.c-event-action--left[_ngcontent-%COMP%]{display:none;min-width:40px;max-width:40px}@media screen and (max-width: 1200px){.c-event-action.c-event-action--left[_ngcontent-%COMP%]{display:block}}.c-event-action.c-event-action--left-live[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 1200px){.c-event-action.c-event-action--left-live[_ngcontent-%COMP%]{display:flex;flex-direction:column}}.c-event-action.c-event-action--right[_ngcontent-%COMP%]{display:block}@media screen and (max-width: 1200px){.c-event-action.c-event-action--right[_ngcontent-%COMP%]{display:none}}.c-event-action.c-event-action--right-live[_ngcontent-%COMP%]{display:flex;flex-direction:column}@media screen and (max-width: 1200px){.c-event-action.c-event-action--right-live[_ngcontent-%COMP%]{display:none}}.c-event-action.c-event-action--bottom[_ngcontent-%COMP%]{font-size:11px;font-weight:500;line-height:11px}.c-event-action.c-event-action--bottom[_ngcontent-%COMP%]:hover{background-color:var(--baseBlue07)}.c-event-action__bottom[_ngcontent-%COMP%]{flex:1;align-content:center;font-size:11px;font-weight:500}.c-event-action__top[_ngcontent-%COMP%]{cursor:pointer;height:26px;padding-top:3px}.c-event-action__top[_ngcontent-%COMP%]:hover{background-color:var(--baseBlue07)}.c-event-action__bottom[_ngcontent-%COMP%]{display:block;cursor:pointer;height:30px;font-size:11px;font-weight:500;line-height:11px;align-content:center;color:inherit;text-decoration:inherit}.c-event-action__bottom[_ngcontent-%COMP%]:hover{background-color:var(--baseBlue07)}.c-event__cta-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;background-color:var(--baseBlue06)}.c-event__cta-wrapper[_ngcontent-%COMP%] + .c-event-action[_ngcontent-%COMP%]{border-left:1px solid var(--baseBlack02)}.c-event__favourite-icon-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;transition:color .1s linear;cursor:pointer;height:100%;max-height:20px;min-width:25px}.c-event__favourite-icon-wrapper[_ngcontent-%COMP%]:hover .c-event__favourite-icon[_ngcontent-%COMP%]{--favorite-fill-stroke: var(--baseYellow01)}.c-event__favourite-icon-wrapper.selected[_ngcontent-%COMP%] .c-event__favourite-icon[_ngcontent-%COMP%]{--favorite-fill-stroke: var(--baseYellow09);color:var(--base-yellow-01)}.c-event__favourite-icon[_ngcontent-%COMP%]{width:11px;height:11px;margin-left:1px;--favorite-fill-stroke: var(--baseWhite19);color:transparent}.c-event__stream-icon-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;color:var(--baseGrey07);transition:color .1s linear;cursor:pointer;height:100%;max-height:20px;min-width:25px}.c-event__stream-icon-wrapper[_ngcontent-%COMP%]:hover{color:var(--baseYellow01)}.c-event__statistics-icon[_ngcontent-%COMP%]{margin-left:1px;width:13px;height:11px}.c-event__stream-icon[_ngcontent-%COMP%]{margin-left:1px;width:15px;height:12px}.c-event__info-code[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;align-self:center;justify-content:center;padding:8px 4px;margin-left:5px;border-radius:4px;color:var(--baseYellow06);font-weight:400}.c-event-rival-icon[_ngcontent-%COMP%]{display:inline-flex;width:18px;height:12px;margin-right:3px;margin-top:1px;flex-shrink:0;border-radius:2px;overflow:hidden}']})}}return Pe})()},13801:(he,M,r)=>{"use strict";r.d(M,{m:()=>m});var o=r(54438),i=r(58114),d=r(96467);const h=["*"];function v(p,u){1&p&&o.nrm(0,"svg-icon",2)}function _(p,u){1&p&&o.nrm(0,"svg-icon",3)}let m=(()=>{class p{constructor(){this.value=(0,o.hFB)(""),this.validationPattern=(0,o.hFB)(new RegExp("")),this.isValid=(0,o.EWP)(()=>this.validationPattern().test(this.value()))}static{this.\u0275fac=function(C){return new(C||p)}}static{this.\u0275cmp=o.VBU({type:p,selectors:[["expression-validation-indicator"]],inputs:{value:[1,"value"],validationPattern:[1,"validationPattern"]},standalone:!0,features:[o.aNF],ngContentSelectors:h,decls:6,vars:1,consts:[[1,"c-expression-validation-indicator__container"],[1,"c-expression-validation-indicator__icon"],["icon","success-indicator",1,"c-expression-validation-indicator__success-icon"],["icon","error-indicator",1,"c-expression-validation-indicator__success-icon"],[1,"c-expression-validation-indicator__content"]],template:function(C,l){1&C&&(o.NAR(),o.j41(0,"div",0)(1,"span",1),o.DNE(2,v,1,0,"svg-icon",2)(3,_,1,0,"svg-icon",3),o.k0s(),o.j41(4,"span",4),o.SdG(5),o.k0s()()),2&C&&(o.R7$(2),o.vxM(l.isValid()?2:3))},dependencies:[i.A,d.D],styles:[".c-expression-validation-indicator__container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;margin-top:5px}.c-expression-validation-indicator__success-icon[_ngcontent-%COMP%]{width:14px;
1height:14px;margin:4px 10px 0 0}.c-expression-validation-indicator__content[_ngcontent-%COMP%]{color:var(--baseWhite01);font-family:var(--font-cond);font-size:12px;font-weight:400}"]})}}return p})()},45878:(he,M,r)=>{"use strict";r.d(M,{x:()=>N});var o=r(31635),i=r(54438),d=r(8950),h=r(77312),v=r(69956),_=r(80538),m=r(97317),p=r(73955),u=r(60177),E=r(58114),C=r(85375),l=r(96467);const y=U=>({disabled:U}),I=U=>({"c-verification-status--alert":U});function S(U,T){1&U&&i.nrm(0,"svg-icon",4)}function P(U,T){1&U&&i.nrm(0,"svg-icon",5)}function F(U,T){if(1&U&&(i.j41(0,"div",3),i.DNE(1,S,1,0,"svg-icon",4)(2,P,1,0,"svg-icon",5),i.j41(3,"span"),i.EFF(4),i.nI1(5,"translate"),i.k0s()()),2&U){const L=i.XpG();i.Y8G("ngClass",i.eq3(5,I,"INFORMATION_MISMATCH"===L.itsmeService.itsmeVerificationSettings.options.status)),i.R7$(),i.vxM("INFORMATION_MISMATCH"===L.itsmeService.itsmeVerificationSettings.options.status?1:2),i.R7$(3),i.JRh(i.bMT(5,3,"account."+L.itsmeService.itsmeVerificationSettings.options.status.toLowerCase()))}}class N{constructor(){this._itsmeHttpService=(0,i.WQX)(_.Q),this.itsmeService=(0,i.WQX)(v.S),this.buttonWrapperClasses=(0,i.hFB)(""),this.displayStatusMessage=(0,i.hFB)(!0),this.fetchingUrlInProgress=!1}handleClick(){this.itsmeService.itsmeVerificationSettings.options.disabled||this.fetchingUrlInProgress||(this.fetchingUrlInProgress=!0,this._itsmeHttpService.getVerifyExternalyUrl({provider:m.z.ITSME}).pipe((0,h.j)(()=>{this.fetchingUrlInProgress=!1})).subscribe(T=>{T.payload.externalProviderURL&&(location.href=decodeURI(d.D.parseExternalProviderUrl(T).externalProviderURL))}))}static{this.\u0275fac=function(L){return new(L||N)}}static{this.\u0275cmp=i.VBU({type:N,selectors:[["app-itsme-verify-button"]],inputs:{buttonWrapperClasses:[1,"buttonWrapperClasses"],displayStatusMessage:[1,"displayStatusMessage"]},standalone:!0,features:[i.aNF],decls:6,vars:10,consts:[[3,"click","ngClass"],["icon","itsme",1,"c-itsme-button__icon"],[1,"c-itsme-button__text"],[1,"c-verification-status",3,"ngClass"],["icon","error",1,"c-verification-status__icon"],["icon","sand-clock",1,"c-verification-status__icon"]],template:function(L,Z){1&L&&(i.j41(0,"div",0),i.bIt("click",function(){return Z.handleClick()}),i.nrm(1,"svg-icon",1),i.j41(2,"span",2),i.EFF(3),i.nI1(4,"translate"),i.k0s()(),i.DNE(5,F,6,7,"div",3)),2&L&&(i.ZvI("c-itsme-button ",Z.buttonWrapperClasses(),""),i.Y8G("ngClass",i.eq3(8,y,Z.itsmeService.itsmeVerificationSettings.options.disabled||Z.fetchingUrlInProgress)),i.R7$(3),i.JRh(i.bMT(4,6,"account.verify_with_itsme")),i.R7$(2),i.vxM(Z.itsmeService.itsmeVerificationSettings.options.disabled&&Z.itsmeService.itsmeVerificationSettings.options.status&&Z.displayStatusMessage()?5:-1))},dependencies:[p.h,p.D9,u.CommonModule,u.NgClass,E.A,l.D],styles:[".c-verification-status[_ngcontent-%COMP%]{margin-top:6px;padding-left:8px;color:var(--baseTextColor03);display:flex;align-items:center;font-size:12px;font-family:var(--font-cond);line-height:12px}.c-verification-status.c-verification-status--alert[_ngcontent-%COMP%]{color:var(--base-primary)}.c-verification-status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-wrap:balance}.c-verification-status__icon[_ngcontent-%COMP%]{height:16px;width:11px;margin-right:6px;flex-shrink:0}"]})}}(0,o.Cg)([C.X],N.prototype,"handleClick",null)},80538:(he,M,r)=>{"use strict";r.d(M,{Q:()=>d});var o=r(54438),i=r(65283);let d=(()=>{class h{constructor(){this._httpService=(0,o.WQX)(i.k),this.REGISTER_EXTERNALLY_URL="api/v1/register_externally",this.VERIFY_EXTERNALLY_URL="api/v1/verify_externally",this.EXTERNAL_ACCOUNT_INFORMATION_URL="api/v1/external_account_information"}getRegisterExternalyUrl(_){return this._httpService.post(this.REGISTER_EXTERNALLY_URL,_)}getVerifyExternalyUrl(_){return this._httpService.post(this.VERIFY_EXTERNALLY_URL,_)}getAccountInformation(_,m){return this._httpService.get(`${this.EXTERNAL_ACCOUNT_INFORMATION_URL}?provider=${_}&providerId=${m}`,"")}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},69956:(he,M,r)=>{"use strict";r.d(M,{S:()=>p});var o=r(10467),i=r(54438),d=r(6847),h=r(97317),v=r(58167),_=r(84978),m=r(90486);let p=(()=>{class u{constructor(){this._registrationProvidersService=(0,i.WQX)(m.J),this._authService=(0,i.WQX)(v.u),this._configurationService=(0,i.WQX)(_.s),this.itsmeVerificationSettings={showButton:!1,options:{disabled:!0,status:""}},this.initialProvidersCheck=!1,this.userRedirectedFromItsme=!1,this.fetchingUrl=!1,this.STATUSES_FOR_DISABLED_STATE=[d.P2.UPDATE_IN_PROGRESS,d.P2.VIDEO_SESSION_IN_PROGRESS,d.P2.BLINKING_IN_PROGRESS,d.P2.PENDING_BACK_OFFICE_APPROVAL,d.P2.PENDING_FOR_ONBOARDING,d.P2.PENDING_FOR_CONFIRMATION,d.P2.ONBOARDING_IN_PROGRESS,d.P2.PENDING_FOR_VIDEO_SESSION,d.P2.INFORMATION_MISMATCH],this.STATUSES_WITH_ERROR_ICON=[d.P2.INFORMATION_MISMATCH],this.STATUSES_WITH_CLOCK_ICON=[d.P2.PENDING_BACK_OFFICE_APPROVAL,d.P2.UPDATE_IN_PROGRESS,d.P2.VIDEO_SESSION_IN_PROGRESS,d.P2.BLINKING_IN_PROGRESS,d.P2.PENDING_FOR_ONBOARDING,d.P2.PENDING_FOR_CONFIRMATION,d.P2.ONBOARDING_IN_PROGRESS,d.P2.PENDING_FOR_UPDATE,d.P2.PENDING_FOR_VIDEO_SESSION],this.isItsmeEnabled=(0,i.EWP)(()=>this._registrationProvidersService.availableProviders().availableProviders?.includes(h.z.ITSME))}
1updateVerification(C){if(this.isItsmeEnabled()){if(C?.verified)return void this.setItsmeSettings(!1,!1);this._refreshAccountAndCheckForVerification()}}setItsmeSettings(C,l,y=""){this.itsmeVerificationSettings.showButton=C,this.itsmeVerificationSettings.options={disabled:l,status:y}}fetchProvidersAndCheckVerification(){this.initialProvidersCheck&&this.isItsmeEnabled()?this._checkForVerification():(this._handleProvidersResponse(),this.initialProvidersCheck=!0)}_checkForVerification(){if(this._isAccountVerified())return void this.setItsmeSettings(!1,!1);const C=this._authService.currentUser().externalAccountInfo?.status;this._isDisabledByStatus(C)?this.setItsmeSettings(!0,!0,C):this.setItsmeSettings(!0,!1,C)}_handleProvidersResponse(){this.isItsmeEnabled()?this._checkForVerification():this.setItsmeSettings(!1,!1)}_isAccountVerified(){return this._authService.currentUser().verified}_isDisabledByStatus(C){return this.STATUSES_FOR_DISABLED_STATE.includes(C)}_refreshAccountAndCheckForVerification(){var C=this;return(0,o.A)(function*(){yield C._authService.refreshFetchAccountInfo(),C._checkForVerification()})()}_setItsmeStatusIcon(C){return this.STATUSES_WITH_ERROR_ICON.includes(C)?"error":this.STATUSES_WITH_CLOCK_ICON.includes(C)?"sand-clock":""}static{this.\u0275fac=function(l){return new(l||u)}}static{this.\u0275prov=i.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()},81237:(he,M,r)=>{"use strict";r.d(M,{q:()=>i});var o=r(54438);let i=(()=>{class d{constructor(){this.width=(0,o.hFB)(50),this.height=(0,o.hFB)(50)}static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275cmp=o.VBU({type:d,selectors:[["local-loader"]],inputs:{width:[1,"width"],height:[1,"height"]},decls:7,vars:2,consts:[[1,"c-local-loader"],[1,"c-loader__wrapper"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 100 100",2,"background","none"],["cx","50","cy","50","fill","none","r","40","stroke","#C43D2F","stroke-width","12"],["cx","50","cy","50","fill","none","r","40","stroke","#FFF","stroke-width","6","stroke-linecap","round","transform","rotate(11.9131 50 50)"],["attributeName","transform","type","rotate","calcMode","linear","values","0 50 50;180 50 50;360 50 50","keyTimes","0;0.5;1","dur","1s","begin","0s","repeatCount","indefinite"],["attributeName","stroke-dasharray","calcMode","linear","values","90 100;180 100;90 100","keyTimes","0;0.5;1","dur","1s","begin","0s","repeatCount","indefinite"]],template:function(_,m){1&_&&(o.j41(0,"div",0)(1,"div",1),o.qSk(),o.j41(2,"svg",2),o.nrm(3,"circle",3),o.j41(4,"circle",4),o.nrm(5,"animateTransform",5)(6,"animate",6),o.k0s()()()()),2&_&&(o.R7$(2),o.BMQ("width",m.width()+"px")("height",m.height()+"px"))},styles:[".c-local-loader[_ngcontent-%COMP%]{display:flex;justify-content:center}.c-loader__wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}"]})}}return d})()},60488:(he,M,r)=>{"use strict";r.d(M,{z:()=>d});var o=r(45906),i=r(54438);let d=(()=>{class h{static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275mod=i.$C({type:h})}static{this.\u0275inj=i.G2t({imports:[o.U]})}}return h})()},18978:(he,M,r)=>{"use strict";r.r(M),r.d(M,{LoginModal:()=>Tt});var o=r(10467),i=r(60177),d=r(89417),h=r(73955),v=r(62125),_=r(95447),m=r(58114),p=r(62548),u=r(14553),E=r(49837),C=r(67374),l=r(20279),y=r(21834),I=r(86807),S=r(66459),P=r(33471),F=r(72036),N=r(43647),U=r(65785),T=r(54438),L=r(82361),Z=r(58167),ie=r(34405),ve=r(96467);const me=(ct,tn)=>({"c-input-field--alert":ct,"c-input-field--success":tn}),xe=ct=>({"c-input__show-password--show":ct}),$=ct=>({visible:ct}),V=ct=>({disabled:ct});function oe(ct,tn){1&ct&&(T.j41(0,"p",22),T.EFF(1),T.nI1(2,"translate"),T.k0s()),2&ct&&(T.R7$(),T.SpI(" ",T.bMT(2,1,"account.password_mismatch")," "))}let z=(()=>{class ct{constructor(Ee,se,be,je){this._modalService=Ee,this._authService=se,this.formBuilder=be,this._restConfiguration=je,this.isValidSmsCode=!0,this.showPassword=!1,this.showRepeatPassword=!1,this.queryParams={},this.passwordType=_.Ge,this.textType=_.a$}setSmsCodeValue(Ee){this.smsCodeValue=Ee,this.smsCodeValue.isValid&&
1(this.isValidSmsCode=!0)}ngOnInit(){this._createForm()}closeModal(){this._modalService.close()}_showSuccessPopup(Ee){this.closeModal(),this._modalService.openPopup({component:I.SuccessPopup,payload:Ee})}toggleShowPassword(){this.showPassword=!this.showPassword}toggleShowRepeatPassword(){this.showRepeatPassword=!this.showRepeatPassword}_createForm(){this.passwordForm=this.formBuilder.group({password:["",(0,S.O)(this._restConfiguration.getGeneralConfigurationParams("passwordType"))],repeatPassword:["",(0,P.f)()]})}isErrorMessageVisible(Ee){const se=this.passwordForm.controls[Ee];return se.value.length&&se.errors}validateRepeatPassword(){(0,F.A)((0,v.A)(this.passwordForm,"controls.repeatPassword.value",""))||this.passwordForm.get("repeatPassword")?.setValue((0,v.A)(this.passwordForm,"controls.repeatPassword.value",""))}submit(){this.isValidSmsCode=this.smsCodeValue?.isValid||!1,this.isValidSmsCode&&this._authService.resetPasswordRequest({accountId:(0,v.A)(this.payload,"accountId"),resetPasswordCode:this.smsCodeValue?.smsCodeValue||"",newPassword:this.passwordForm.controls.password.value,newPasswordRepeated:this.passwordForm.controls.repeatPassword.value}).subscribe(Ee=>this._handleSuccess(Ee))}_handleSuccess(Ee){var se=this;return(0,o.A)(function*(){(0,v.A)(Ee,"errorCode")||(se._authService.loginInProgress=!0,yield se._authService.loginUser({password:se.passwordForm.controls.password.value,username:se.payload.phone,grant_type:E.s.ACCOUNT},!1,!0),se._authService.loginActionHappened(),se._showSuccessPopup(Ee.payload))})()}static{this.\u0275fac=function(se){return new(se||ct)(T.rXU(L.B),T.rXU(Z.u),T.rXU(d.ok),T.rXU(ie.M))}}static{this.\u0275cmp=T.VBU({type:ct,selectors:[["reset-password-modal"]],inputs:{payload:"payload"},standalone:!0,features:[T.aNF],decls:38,vars:45,consts:[[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-button-close",3,"click"],["icon","close",1,"c-button-close-icon"],[1,"c-modal__body"],[1,"c-sms-modal__title"],[3,"onSubmitSms","isValid"],[3,"formGroup"],[1,"c-input-field","c-input-field--password",3,"ngClass"],[1,"c-input-field__label"],[1,"c-label"],["formControlName","password",1,"c-input",3,"keyup","type"],["type","button",1,"c-input__show-password",3,"click","ngClass"],["icon","password-visibility",1,"c-icon--md-2","show-password",3,"ngClass"],[3,"value"],["formControlName","repeatPassword",1,"c-input",3,"type"],["icon","password-visibility",1,"c-icon--md-2","show-password"],["class","c-error-message",4,"ngIf"],[1,"c-modal__footer"],[1,"c-button","c-button--large",3,"click"],[1,"c-button","c-button--success","c-button--large",3,"click","disabled","ngClass"],[1,"c-error-message"]],template:function(se,be){1&se&&(T.j41(0,"div",0)(1,"div",1)(2,"p",2),T.EFF(3),T.nI1(4,"translate"),T.k0s(),T.j41(5,"button",3),T.bIt("click",function(){return be.closeModal()}),T.nrm(6,"svg-icon",4),T.k0s()(),T.j41(7,"div",5)(8,"h3",6),T.EFF(9),T.nI1(10,"translate"),T.k0s(),T.j41(11,"sms-code-input",7),T.bIt("onSubmitSms",function(ft){return be.setSmsCodeValue(ft)}),T.k0s(),T.j41(12,"form",8)(13,"div",9)(14,"label",10)(15,"span",11),T.EFF(16),T.nI1(17,"translate"),T.k0s(),T.j41(18,"input",12),T.bIt("keyup",function(){return be.validateRepeatPassword()}),T.k0s(),T.j41(19,"button",13),T.bIt("click",function(){return be.toggleShowPassword()}),T.nrm(20,"svg-icon",14),T.k0s()(),T.nrm(21,"password-validation-indicator",15),T.k0s(),T.j41(22,"div",9)(23,"label",10)(24,"span",11),T.EFF(25),T.nI1(26,"translate"),T.k0s(),T.nrm(27,"input",16),T.j41(28,"button",13),T.bIt("click",function(){return be.toggleShowRepeatPassword()}),T.nrm(29,"svg-icon",17),T.k0s()(),T.DNE(30,oe,3,3,"p",18),T.k0s()()(),T.j41(31,"div",19)(32,"button",20),T.bIt("click",function(){return be.closeModal()}),T.EFF(33),T.nI1(34,"translate"),T.k0s(),T.j41(35,"button",21),T.bIt("click",function(){return be.submit()}),T.EFF(36),T.nI1(37,"translate"),T.k0s()()()),2&se&&(T.R7$(3),T.JRh(T.bMT(4,19,"account.change_password")),T.R7$(6),T.JRh(T.bMT(10,21,"general.reset_password_code_description")),T.R7$(2),T.Y8G("isValid",be.isValidSmsCode),T.R7$(),T.Y8G("formGroup",be.passwordForm),T.R7$(),T.Y8G("ngClass",T.l_i(31,me,be.isErrorMessageVisible("password"),(null==be.passwordForm||null==be.passwordForm.controls||null==be.passwordForm.controls.password?null:be.passwordForm.controls.password.valid)&&(null==be.passwordForm.controls||null==be.passwordForm.controls.password?null:be.passwordForm.controls.password.touched))
1),T.R7$(3),T.JRh(T.bMT(17,23,"account.new_password")),T.R7$(2),T.Y8G("type",be.showPassword?be.textType:be.passwordType),T.R7$(),T.Y8G("ngClass",T.eq3(34,xe,be.showPassword)),T.R7$(),T.Y8G("ngClass",T.eq3(36,$,be.showPassword)),T.R7$(),T.Y8G("value",null==be.passwordForm||null==be.passwordForm.controls||null==be.passwordForm.controls.password?null:be.passwordForm.controls.password.value),T.R7$(),T.Y8G("ngClass",T.l_i(38,me,be.isErrorMessageVisible("repeatPassword"),(null==be.passwordForm||null==be.passwordForm.controls||null==be.passwordForm.controls.repeatPassword?null:be.passwordForm.controls.repeatPassword.valid)&&(null==be.passwordForm.controls||null==be.passwordForm.controls.repeatPassword?null:be.passwordForm.controls.repeatPassword.touched))),T.R7$(3),T.JRh(T.bMT(26,25,"account.repeat_new_password")),T.R7$(2),T.Y8G("type",be.showRepeatPassword?be.textType:be.passwordType),T.R7$(),T.Y8G("ngClass",T.eq3(41,xe,be.showRepeatPassword)),T.R7$(2),T.Y8G("ngIf",be.isErrorMessageVisible("repeatPassword")),T.R7$(3),T.JRh(T.bMT(34,27,"general.cancel")),T.R7$(2),T.Y8G("disabled",!be.passwordForm.valid)("ngClass",T.eq3(43,V,!be.passwordForm.valid)),T.R7$(),T.JRh(T.bMT(37,29,"general.submit")))},dependencies:[i.CommonModule,i.NgClass,i.NgIf,h.h,h.D9,m.A,ve.D,d.X1,d.qT,d.me,d.BC,d.cb,d.j4,d.JD,d.YN,N.J,N.V,U.h],styles:['.c-input-field[_ngcontent-%COMP%]{position:relative;margin-bottom:10px}.c-input-field.c-input-field--success[_ngcontent-%COMP%]:before{background-image:url(success-indicator.4b928420b308f92c.svg);opacity:1}.c-input-field.c-input-field--password[_ngcontent-%COMP%]:before{right:40px}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{position:relative;display:block;line-height:20px;padding-left:5px;margin-top:-1px;background-color:var(--base-primary);border-radius:0 0 4px 4px;font-family:var(--font);color:var(--white);width:100%;font-size:12px}.c-input-field[_ngcontent-%COMP%]:before{content:"";position:absolute;right:10px;top:39px;pointer-events:none;touch-action:none;display:block;opacity:0;transition:opacity .2s linear;width:12px;height:12px;background-image:none;background-size:100%;background-position:center;background-repeat:no-repeat}.c-input-field__label[_ngcontent-%COMP%]{font-family:var(--font);line-height:30px;display:flex;justify-content:space-between}.c-input[_ngcontent-%COMP%]{padding:0 10px;line-height:30px;font-size:12px;font-family:var(--font-cond);border:1px solid var(--baseAccountBlue04);border-radius:4px;background-color:var(--baseBlue08);color:var(--inputColor)}.c-input[_ngcontent-%COMP%]:focus{border-color:var(--baseAccountBlue05)}.c-error-message[_ngcontent-%COMP%]{display:none;width:65%;margin-left:auto}.c-label[_ngcontent-%COMP%]{line-height:16px;margin-bottom:5px;margin-left:10px;color:var(--baseWhite06)}',"[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}.c-modal[_ngcontent-%COMP%]{max-width:364px}.c-sms-modal__title[_ngcontent-%COMP%]{font-size:14px;font-weight:400;color:var(--baseWhite06);text-align:center;margin-bottom:30px;margin-top:10px}.c-input-field[_ngcontent-%COMP%]{margin-bottom:15px}.c-input-field[_ngcontent-%COMP%]:before{top:31px}.c-input-field__label[_ngcontent-%COMP%]{flex-direction:column}.c-input[_ngcontent-%COMP%]{width:100%}.c-resend-password[_ngcontent-%COMP%]{width:100%;max-width:300px;margin:0 auto 30px;text-align:right}.c-resend-password[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-family:var(--font);color:var(--baseButtonColor02);text-decoration:underline;font-size:12px;font-weight:400;margin-left:auto}.c-input__show-password[_ngcontent-%COMP%]{color:var(--baseTextColor);position:absolute;right:10px;top:37px;transform:translateY(-50%);height:20px;width:20px;overflow-y:hidden;border-radius:50%;transition:all .2s linear}.c-input__show-password[_ngcontent-%COMP%] .show-password[_ngcontent-%COMP%]{width:20px;height:40px;transition:transform .2s linear}.c-input__show-password.c-input__show-password--show[_ngcontent-%COMP%] .show-password[_ngcontent-%COMP%]{transform:translateY(-50%)}"]})}}return ct})();var W=r(50323),re=r(72161);const ee=(ct,tn)=>({"c-input-field--alert":ct,"c-input-field--success":tn}),Se=ct=>({disabled:ct});function J(ct,tn){1&ct&&(T.j41(0,"div",16),T.EFF(1),T.nI1(2,"translate"),T.k0s()),2&ct&&(T.R7$(),T.SpI(" ",T.bMT(2,1,"general.required_username")," "))}let de=(()=>{class ct{constructor(Ee,se,be,je){this._modalService=Ee,this._authService=se,this._globalLoaderService=be,this._restConfigurationService=je,this.forgotPasswordForm=new d.gE({username:new d.MJ("",d.k0.required)}),this.showLoader=!1}ngOnInit(){this._setUserNameValue()}_setUserNameValue(){this.forgotPasswordForm.patchValue({username:this.payload.username})}closeModal(){this.payload.cancelFunction&&this.payload.cancelFunction(),this._modalService.close()}_showSuccessPopup(){this.closeModal(),this._modalService.openPopup({component:I.SuccessPopup,payload:{message:"general.password_reset_request_sent"}}
1)}submit(){if(this.forgotPasswordForm.valid){if(this._restConfigurationService.getGeneralCustomConfigurationParams("multiLoginUsernameAllowed")&&!String(this.forgotPasswordForm.value.username).match(/[a-zA-Z]/g)){const Ee=new RegExp(`^(\\+)*(${this._restConfigurationService.getGeneralCustomConfigurationParams("countryCodePrefix")})*(0)*`);this.forgotPasswordForm.value.username=this._restConfigurationService.getGeneralCustomConfigurationParams("countryCodePrefix")+String(this.forgotPasswordForm.value.username).replace(Ee,"")}this.closeModal(),this._globalLoaderService.showLoader(),this._authService.resetPassword({username:String(this.forgotPasswordForm.value.username)}).subscribe(Ee=>{if(this._globalLoaderService.hideLoader(),Ee.payload.communicationMethod===_.Z0&&this._restConfigurationService.getGeneralConfigurationParams("resetPasswordSmsType")===W.Ye.CODE)return this.closeModal(),void this._openResetPasswordModal(Ee.payload.accountId);this._showSuccessPopup()},()=>{},()=>{this._globalLoaderService.hideLoader()})}}_openResetPasswordModal(Ee){this.closeModal(),this._modalService.open({component:z,payload:{accountId:Ee,phone:this.forgotPasswordForm.value.username}})}static{this.\u0275fac=function(se){return new(se||ct)(T.rXU(L.B),T.rXU(Z.u),T.rXU(re.e),T.rXU(ie.M))}}static{this.\u0275cmp=T.VBU({type:ct,selectors:[["forgot-password-modal"]],inputs:{payload:"payload"},standalone:!0,features:[T.aNF],decls:24,vars:22,consts:[[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-button-close",3,"click"],["icon","close",1,"c-button-close-icon"],[1,"c-modal__body"],[1,"c-modal-info-container"],[1,"c-info__desc"],[3,"formGroup"],[1,"c-input-field",3,"ngClass"],[1,"c-input-field__label"],["type","text","formControlName","username","autocomplete","on",1,"c-input"],["class","c-error-message",4,"ngIf"],[1,"c-modal__footer"],[1,"c-button","c-button--large",3,"click"],[1,"c-button","c-button--success","c-button--large",3,"click","disabled","ngClass"],[1,"c-error-message"]],template:function(se,be){1&se&&(T.j41(0,"div",0)(1,"div",1)(2,"p",2),T.EFF(3),T.nI1(4,"translate"),T.k0s(),T.j41(5,"button",3),T.bIt("click",function(){return be.closeModal()}),T.nrm(6,"svg-icon",4),T.k0s()(),T.j41(7,"div",5)(8,"div",6)(9,"p",7),T.EFF(10),T.nI1(11,"translate"),T.k0s()(),T.j41(12,"form",8)(13,"div",9)(14,"label",10),T.nrm(15,"input",11),T.k0s(),T.DNE(16,J,3,3,"div",12),T.k0s()()(),T.j41(17,"div",13)(18,"button",14),T.bIt("click",function(){return be.closeModal()}),T.EFF(19),T.nI1(20,"translate"),T.k0s(),T.j41(21,"button",15),T.bIt("click",function(){return be.submit()}),T.EFF(22),T.nI1(23,"translate"),T.k0s()()()),2&se&&(T.R7$(3),T.JRh(T.bMT(4,9,"general.forgot_password")),T.R7$(7),T.JRh(T.bMT(11,11,"general.forgot_password_desc")),T.R7$(2),T.Y8G("formGroup",be.forgotPasswordForm),T.R7$(),T.Y8G("ngClass",T.l_i(17,ee,!be.forgotPasswordForm.controls.username.valid&&be.forgotPasswordForm.controls.username.touched,(null==be.forgotPasswordForm||null==be.forgotPasswordForm.controls||null==be.forgotPasswordForm.controls.username?null:be.forgotPasswordForm.controls.username.valid)&&be.forgotPasswordForm.controls.username.touched)),T.R7$(3),T.Y8G("ngIf",!be.forgotPasswordForm.controls.username.valid&&be.forgotPasswordForm.controls.username.touched),T.R7$(3),T.JRh(T.bMT(20,13,"general.cancel")),T.R7$(2),T.Y8G("disabled",!be.forgotPasswordForm.value.username)("ngClass",T.eq3(20,Se,!be.forgotPasswordForm.value.username)),T.R7$(),T.JRh(T.bMT(23,15,"general.reset_password")))},dependencies:[i.CommonModule,i.NgClass,i.NgIf,h.h,h.D9,m.A,ve.D,d.X1,d.qT,d.me,d.BC,d.cb,d.j4,d.JD,d.YN],styles:['.c-input-field[_ngcontent-%COMP%]{position:relative;margin-bottom:10px}.c-input-field.c-input-field--success[_ngcontent-%COMP%]:before{background-image:url(success-indicator.4b928420b308f92c.svg);opacity:1}.c-input-field.c-input-field--password[_ngcontent-%COMP%]:before{right:40px}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{position:relative;display:block;line-height:20px;padding-left:5px;margin-top:-1px;background-color:var(--base-primary);border-radius:0 0 4px 4px;font-family:var(--font);color:var(--white);width:100%;font-size:12px}.c-input-field[_ngcontent-%COMP%]:before{content:"";position:absolute;right:10px;top:39px;pointer-events:none;touch-action:none;display:block;opacity:0;transition:opacity .2s linear;width:12px;height:12px;background-image:none;background-size:100%;background-position:center;background-repeat:no-repeat}.c-input-field__label[_ngcontent-%COMP%]{font-family:var(--font);line-height:30px;display:flex;justify-content:space-between}.c-input[_ngcontent-%COMP%]{padding:0 10px;line-height:30px;font-size:12px;font-family:var(--font-cond);border:1px solid var(--baseAccountBlue04);border-radius:4px;background-color:var(--baseBlue08);color:var(--inputColor)}.c-input[_ngcontent-%COMP%]:focus{border-color:var(--baseAccountBlue05)}.c-error-message[_ngcontent-%COMP%]{display:none;
1width:65%;margin-left:auto}.c-label[_ngcontent-%COMP%]{line-height:16px;margin-bottom:5px;margin-left:10px;color:var(--baseWhite06)}',"[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}.c-modal[_ngcontent-%COMP%]{max-width:364px}.c-info__desc[_ngcontent-%COMP%]{color:var(--baseWhite10);line-height:20px;font-size:14px;font-weight:400;font-family:var(--font)}.c-modal-info-container[_ngcontent-%COMP%]{display:flex;align-items:stretch;gap:8px;margin-bottom:32px;color:var(--baseWhite01)}.c-modal-info-container[_ngcontent-%COMP%]:last-of-type{margin-bottom:40px}.c-input-field[_ngcontent-%COMP%]:before{width:16px;height:16px;top:50%;transform:translateY(-50%)}.c-modal__body[_ngcontent-%COMP%]{padding:32px}.c-info__icon[_ngcontent-%COMP%]{width:24px;height:24px;flex-shrink:0}.c-input-field__label[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:0}.c-input[_ngcontent-%COMP%]{width:100%;height:44px}.c-modal__footer[_ngcontent-%COMP%]{padding:0 32px 32px}.c-button[_ngcontent-%COMP%], .c-button.c-button--large[_ngcontent-%COMP%]{line-height:1}"]})}}return ct})();var ke=r(46819),ge=r(21626);function ye(ct,tn){1&ct&&(T.j41(0,"p",7),T.EFF(1),T.nI1(2,"translate"),T.k0s()),2&ct&&(T.R7$(),T.JRh(T.bMT(2,1,"general.otp_code_sent_phone")))}function Pe(ct,tn){if(1&ct&&(T.j41(0,"p",7),T.EFF(1),T.nI1(2,"translate"),T.k0s()),2&ct){const Ee=T.XpG();T.R7$(),T.Lme("",T.bMT(2,2,"general.otp_code_sent_email")," ",Ee.payload.username,"")}}let Me=(()=>{class ct{constructor(Ee,se,be,je){this._modalService=Ee,this._authService=se,this._globalLoaderService=be,this._translateService=je,this.isSubmitting=!1,this.errorResponse=""}_closeModal(){this._modalService.close()}handleSubmit(Ee){var se=this;return(0,o.A)(function*(){se.isSubmitting=!0,se._globalLoaderService.showLoader(),se._authService.loginInProgress=!0;try{yield se._authService.loginUser({username:se.payload.username,otp_code:Ee,grant_type:E.s.OTP},!1,!0),se._closeModal(),se._authService.loginActionHappened(),se.payload.callback&&se.payload.callback()}catch(be){be instanceof ge.yz&&(se.errorResponse=be?.error?.error,se.otpCodeInputComponent.clearInput())}se.isSubmitting=!1,se._globalLoaderService.hideLoader()})()}resendActivationCode(){this._authService.getOtpCode(this.payload.username).subscribe(()=>{this._showSuccessPopup({message:this._translateService.instant("general.otp_code_resent")})})}_showSuccessPopup(Ee){this._modalService.openPopup({component:I.SuccessPopup,payload:Ee})}handlePasteCode(){var Ee=this;return(0,o.A)(function*(){const se=yield navigator.clipboard.readText();Ee.otpCodeInputComponent.handleOnPaste(se)})()}close(){this.payload.cancelFunction&&this.payload.cancelFunction(),this._closeModal()}static{this.\u0275fac=function(se){return new(se||ct)(T.rXU(L.B),T.rXU(Z.u),T.rXU(re.e),T.rXU(h.c$))}}static{this.\u0275cmp=T.VBU({type:ct,selectors:[["otp-activation-modal"]],viewQuery:function(se,be){if(1&se&&T.GBs(ke.f,5),2&se){let je;T.mGM(je=T.lsd())&&(be.otpCodeInputComponent=je.first)}},inputs:{payload:"payload"},standalone:!0,features:[T.aNF],decls:29,vars:21,consts:[[1,"c-modal","c-modal-otp"],[1,"c-modal__header","c-modal__header--otp"],[1,"c-modal__title"],[1,"c-button-close",3,"click"],["icon","close",1,"c-button-close-icon"],[1,"c-modal__body","c-modal__body-otp"],[1,"c-otp-modal__title"],[1,"c-otp-modal__description"],[3,"onSubmitCode","isSubmitting"],[1,"c-error-message"],[1,"c-otp-modal__actions"],[1,"c-paste",3,"click"],[1,"c-resend-code",3,"click"],[1,"c-footer__check-spam"]],template:function(se,be){1&se&&(T.j41(0,"div",0)(1,"div",1)(2,"p",2),T.EFF(3),T.nI1(4,"translate"),T.k0s(),T.j41(5,"button",3),T.bIt("click",function(){return be.close()}),T.nrm(6,"svg-icon",4),T.k0s()(),T.j41(7,"div",5)(8,"h3",6),T.EFF(9),T.nI1(10,"translate"),T.k0s(),T.DNE(11,ye,3,3,"p",7)(12,Pe,3,4,"p",7),T.j41(13,"p",7),T.EFF(14),T.nI1(15,"translate"),T.k0s(),T.j41(16,"otp-code-input",8),T.bIt("onSubmitCode",function(ft){return be.handleSubmit(ft)}),T.k0s(),T.j41(17,"div",9),T.EFF(18),T.k0s(),T.j41(19,"div",10)(20,"button",11),T.bIt("click",function(){return be.handlePasteCode()}
1),T.EFF(21),T.nI1(22,"translate"),T.k0s(),T.j41(23,"button",12),T.bIt("click",function(){return be.resendActivationCode()}),T.EFF(24),T.nI1(25,"translate"),T.k0s()(),T.j41(26,"p",13),T.EFF(27),T.nI1(28,"translate"),T.k0s()()()),2&se&&(T.R7$(3),T.JRh(T.bMT(4,9,"general.login")),T.R7$(6),T.JRh(T.bMT(10,11,"general.otp_code_title")),T.R7$(2),T.vxM(be.payload.isPhoneNumberLogin?11:12),T.R7$(3),T.JRh(T.bMT(15,13,"general.otp_code_expiration")),T.R7$(2),T.Y8G("isSubmitting",be.isSubmitting),T.R7$(2),T.JRh(be.errorResponse),T.R7$(3),T.JRh(T.bMT(22,15,"general.paste")),T.R7$(3),T.JRh(T.bMT(25,17,"general.resend_otp")),T.R7$(3),T.JRh(T.bMT(28,19,"general.check_spam_folder")))},dependencies:[h.h,h.D9,i.CommonModule,d.X1,d.YN,m.A,ve.D,ke.f],styles:['.c-input-field[_ngcontent-%COMP%]{position:relative;margin-bottom:10px}.c-input-field.c-input-field--success[_ngcontent-%COMP%]:before{background-image:url(success-indicator.4b928420b308f92c.svg);opacity:1}.c-input-field.c-input-field--password[_ngcontent-%COMP%]:before{right:40px}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{position:relative;display:block;line-height:20px;padding-left:5px;margin-top:-1px;background-color:var(--base-primary);border-radius:0 0 4px 4px;font-family:var(--font);color:var(--white);width:100%;font-size:12px}.c-input-field[_ngcontent-%COMP%]:before{content:"";position:absolute;right:10px;top:39px;pointer-events:none;touch-action:none;display:block;opacity:0;transition:opacity .2s linear;width:12px;height:12px;background-image:none;background-size:100%;background-position:center;background-repeat:no-repeat}.c-input-field__label[_ngcontent-%COMP%]{font-family:var(--font);line-height:30px;display:flex;justify-content:space-between}.c-input[_ngcontent-%COMP%]{padding:0 10px;line-height:30px;font-size:12px;font-family:var(--font-cond);border:1px solid var(--baseAccountBlue04);border-radius:4px;background-color:var(--baseBlue08);color:var(--inputColor)}.c-input[_ngcontent-%COMP%]:focus{border-color:var(--baseAccountBlue05)}.c-error-message[_ngcontent-%COMP%]{display:none;width:65%;margin-left:auto}.c-label[_ngcontent-%COMP%]{line-height:16px;margin-bottom:5px;margin-left:10px;color:var(--baseWhite06)}',".c-modal-otp[_ngcontent-%COMP%]{box-shadow:0 4px 4px #00000040}.c-modal__header--otp[_ngcontent-%COMP%]{justify-content:flex-start;height:auto;padding:20px;font-size:22px;font-weight:500;line-height:24px;border-bottom:1px solid var(--baseAccountBlue06)}.c-modal__body-otp[_ngcontent-%COMP%]{padding:30px 58px}.c-error-message[_ngcontent-%COMP%]{position:relative;display:block;line-height:20px;padding-left:5px;margin-top:-10px;background-color:var(--base-primary);border-radius:0 0 4px 4px;font-family:var(--font);color:var(--white);width:100%;font-size:12px}.c-otp-modal__title[_ngcontent-%COMP%]{font-family:var(--font);font-size:28px;line-height:24px;font-weight:400;text-align:center;margin-bottom:10px}.c-otp-modal__description[_ngcontent-%COMP%]{font-family:var(--font);font-size:16px;font-weight:400;line-height:21px;text-align:center}.c-otp-modal__description[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:500}.c-otp-modal__actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-content:center;font-family:var(--font)}.c-resend-code[_ngcontent-%COMP%]{margin-top:10px;color:var(--baseRed07)}.c-paste[_ngcontent-%COMP%]{margin-top:10px;color:var(--baseTextColor)}.c-footer__check-spam[_ngcontent-%COMP%]{margin-top:130px;font-family:var(--font);text-align:center}"]})}}return ct})();var We=r(36435),Oe=r(77286),tt=r(39934),Qe=r(6468),_t=r(34139),ht=r(84978),mt=r(58333),Vt=r(58618);const Ot=ct=>({"c-input-field--alert":ct}),Fe=ct=>({"c-input__show-password--show":ct}),Ye=ct=>({disabled:ct});function Re(ct,tn){1&ct&&(T.j41(0,"div",12),T.EFF(1),T.nI1(2,"translate"),T.k0s()),2&ct&&(T.R7$(),T.SpI(" ",T.bMT(2,1,"general.required_username")," "))}function De(ct,tn){if(1&ct&&(T.j41(0,"div",13),T.EFF(1),T.k0s()),2&ct){const Ee=T.XpG();T.R7$(),T.SpI(" ",Ee.loginError," ")}}function He(ct,tn){1&ct&&(T.j41(0,"div",18),T.EFF(1),T.nI1(2,"translate"),T.k0s()),2&ct&&(T.R7$(),T.SpI(" ",T.bMT(2,1,"general.required_password")," "))}function we(ct,tn){if(1&ct){const Ee=T.RV6();T.j41(0,"div",24)(1,"div",25),T.nrm(2,"div",26),T.j41(3,"div",27),T.EFF(4),T.nI1(5,"translate"),T.k0s()()(),T.j41(6,"div",28)(7,"button",29),T.bIt("click",function(){T.eBV(Ee);const be=T.XpG();return T.Njj(be.requestOtp())}
1),T.EFF(8),T.nI1(9,"translate"),T.k0s()(),T.j41(10,"div",30),T.bIt("click",function(){T.eBV(Ee);const be=T.XpG();return T.Njj(be.navigateToRegistration())}),T.EFF(11),T.nI1(12,"translate"),T.j41(13,"button",31),T.EFF(14),T.nI1(15,"translate"),T.k0s()()}if(2&ct){const Ee=T.XpG();T.R7$(4),T.JRh(T.bMT(5,6,"general.or")),T.R7$(3),T.Y8G("disabled",!Ee.loginForm.value.username||!Ee.loginForm.controls.username.valid)("ngClass",T.eq3(14,Ye,!Ee.loginForm.value.username||!Ee.loginForm.controls.username.valid)),T.R7$(),T.SpI("",T.bMT(9,8,"general.otp")," "),T.R7$(3),T.SpI(" ",T.bMT(12,10,"general.dont_have_account_yet")," "),T.R7$(3),T.SpI("",T.bMT(15,12,"general.register")," ")}}let Tt=(()=>{class ct{constructor(Ee,se,be,je,ft,kt,Yt,yn,ln,Mn){this._modalService=Ee,this._authService=se,this._globalLoaderService=be,this._restConfigurationService=je,this._cookieService=ft,this._routingService=kt,this._verificationNotificationService=Yt,this.inputValidationService=yn,this._configurationService=ln,this._googleTagManagerService=Mn,this.loginForm=new d.gE({username:new d.MJ("",d.k0.required),password:new d.MJ("",d.k0.required)}),this.showPassword=!1,this.loginError="",this.passwordType=_.Ge,this.textType=_.a$,this.loginType="",this.EMAIL="email"}ngOnInit(){this._subscribeOnUsernameChange(),this.loginType=this._configurationService.getParam("login_type")===this.EMAIL?"email":"text"}_subscribeOnUsernameChange(){this.loginForm.get("username")?.valueChanges.subscribe(Ee=>{Ee||(this.loginError="")})}_closeModal(){this._modalService.close()}onSubmit(Ee){var se=this;return(0,o.A)(function*(){if(Ee.stopPropagation(),!se.loginForm.valid)return;se.formatPhoneNumberIfRequired(),se._globalLoaderService.showLoader(),se._authService.loginInProgress=!0;const be=se._restConfigurationService.getGeneralCustomConfigurationParams("lifetimeNetProfitKPI");se._authService.loginUser({username:String(se.loginForm.value.username),password:String(se.loginForm.value.password),grant_type:E.s.ACCOUNT},be,!0).then((0,o.A)(function*(){se._closeModal(),se._globalLoaderService.hideLoader(),se._handleSuccessfulLogin()})).catch(je=>{if((0,v.A)(je,"error").activationMethod===_.Z0)return se._closeModal(),se._openActivationSmsModal(String(se.loginForm.value.username),String(se.loginForm.value.password)),void se._globalLoaderService.hideLoader();se.loginError=(0,v.A)(je,"error.errorMessages[0]"),se._globalLoaderService.hideLoader()})})()}_handleSuccessfulLogin(){if(this._setDataLayerOnLogin(),this._globalLoaderService.hideLoader(),this._authService.loginActionHappened(),this._authService.shouldRedirectToDeposit())return setTimeout(()=>this._authService.showUserBalance()),this._routingService.navigateToDepositWithParams({});this.payload.callback&&this.payload.callback(),this._handleRedirect()}formatPhoneNumberIfRequired(){if(this._restConfigurationService.getGeneralCustomConfigurationParams("multiLoginUsernameAllowed")&&!String(this.loginForm.value.username).match(/[a-zA-Z]/g)){const Ee=new RegExp(`^(\\+)*(${this._restConfigurationService.getGeneralCustomConfigurationParams("countryCodePrefix")})*(0)*`);return this.loginForm.value.username=this._restConfigurationService.getGeneralCustomConfigurationParams("countryCodePrefix")+String(this.loginForm.value.username).replace(Ee,""),!0}return!1}openForgotPasswordModal(){this._closeModal(),this._modalService.open({component:de,payload:{username:this.loginForm.value.username,cancelFunction:this.payload.cancelFunction}})}_openActivationSmsModal(Ee,se){this._modalService.open({component:We.SmsActivationModal,payload:{phone:Ee,password:se,callback:this.payload.callback,cancelFunction:this.payload.cancelFunction}})}_openActivationOtpModal(Ee){this._modalService.open({component:Me,payload:Ee})}toggleShowPassword(){this.showPassword=!this.showPassword}navigateToRegistration(){var Ee=this;return(0,o.A)(function*(){Ee._routingService.navigateToPageWithCB(l.Bi.REGISTRATION,Ee._closeModal.bind(Ee))})()}_handleRedirect(){const Ee=this._cookieService.get(p.A.REDIRECT),se=this._cookieService.get(p.A.PROVIDER);Ee&&(this._cookieService.delete(p.A.REDIRECT),this._cookieService.delete(p.A.PROVIDER),this._routingService.navigateToDepositWithParams({provider:se}))}_setDataLayerOnLogin(){const Ee={event:"loginCompleted",accountId:this._authService.currentUser().accountId,timestamp:C().format("YYYY-MM-DDTHH:mm:ssZ")};this._googleTagManagerService.addEmailOrPhoneToDataLayer(Ee)}requestOtp(){const Ee=this.formatPhoneNumberIfRequired(),se=this.loginForm.value.username,be=this.payload.callback,je=this.payload.cancelFunction;se&&(this._globalLoaderService.showLoader(),this._authService.getOtpCode(se).subscribe(()=>{this._closeModal(),this._openActivationOtpModal({username:se,isPhoneNumberLogin:Ee,callback:be,cancelFunction:je}),this._globalLoaderService.hideLoader()}
1,ft=>{this.loginError=ft.error,this._globalLoaderService.hideLoader()}))}close(){this.payload.cancelFunction&&this.payload.cancelFunction(),this._closeModal()}static{this.\u0275fac=function(se){return new(se||ct)(T.rXU(L.B),T.rXU(Z.u),T.rXU(re.e),T.rXU(ie.M),T.rXU(Oe.Q),T.rXU(tt.O),T.rXU(Qe.S),T.rXU(_t.N),T.rXU(ht.s),T.rXU(mt.A))}}static{this.\u0275cmp=T.VBU({type:ct,selectors:[["login-modal"]],inputs:{payload:"payload"},standalone:!0,features:[T.aNF],decls:40,vars:41,consts:[[1,"c-modal","c-modal--login",3,"keyup.enter"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-button-close",3,"click"],["icon","close","data-cy","loginCloseButton",1,"c-button-close-icon"],[1,"c-modal__body"],[1,"c-login-description"],[3,"formGroup"],[1,"c-input-field",3,"ngClass"],[1,"c-input-field__label"],[1,"c-label"],["autocomplete","on","formControlName","username","data-cy","userNameInput",1,"c-input",3,"input","type","name"],["data-cy","requiredUsernameErrorMessage",1,"c-error-message"],[1,"c-error-message"],[1,"c-input-field","c-input-field--password",3,"ngClass"],["name","password","formControlName","password","autocomplete","on","data-cy","passwordInput",1,"c-input",3,"type"],["type","button",1,"c-input__show-password",3,"click","ngClass"],["icon","password-visibility",1,"c-icon--md-2","show-password"],["data-cy","requiredPasswordErrorMessage",1,"c-error-message"],[1,"c-forgot-password-link"],["data-cy","forgotPasswordLink",3,"click"],[1,"c-modal__footer-wrapper"],[1,"c-modal__footer"],["preventDoubleClick","","data-cy","LoginSubmitButton",1,"c-button","c-button--large","c-button--success",3,"click","disabled","ngClass"],[1,"c-modal-line-container"],[1,"c-modal__footer-spacer-wrapper"],[1,"c-modal-line"],[1,"c-modal__footer-spacer"],[1,"c-modal__footer-otp"],["data-cy","loginOtpButton",1,"c-button","c-button--large","c-button--continue",3,"click","disabled","ngClass"],[1,"c-registration-login-note",3,"click"],[1,"c-registration-login-note__button"]],template:function(se,be){1&se&&(T.j41(0,"div",0),T.bIt("keyup.enter",function(ft){return be.onSubmit(ft)}),T.j41(1,"div",1)(2,"p",2),T.EFF(3),T.nI1(4,"translate"),T.k0s(),T.j41(5,"button",3),T.bIt("click",function(){return be.close()}),T.nrm(6,"svg-icon",4),T.k0s()(),T.j41(7,"div",5)(8,"p",6),T.EFF(9),T.nI1(10,"translate"),T.k0s(),T.j41(11,"form",7)(12,"div",8)(13,"label",9)(14,"span",10),T.EFF(15),T.nI1(16,"translate"),T.k0s(),T.j41(17,"input",11),T.bIt("input",function(ft){return be.inputValidationService.allowAnyTextWithoutWhiteSpaceOnInput(ft,be.loginForm.get("username"))}),T.k0s()(),T.DNE(18,Re,3,3,"div",12)(19,De,2,1,"div",13),T.k0s(),T.j41(20,"div",14)(21,"label",9)(22,"span",10),T.EFF(23),T.nI1(24,"translate"),T.k0s(),T.nrm(25,"input",15),T.j41(26,"button",16),T.bIt("click",function(){return be.toggleShowPassword()}),T.nrm(27,"svg-icon",17),T.k0s()(),T.DNE(28,He,3,3,"div",18),T.k0s()(),T.j41(29,"div",19)(30,"button",20),T.bIt("click",function(){return be.openForgotPasswordModal()}),T.EFF(31),T.nI1(32,"translate"),T.k0s()()(),T.j41(33,"div",21)(34,"div",22)(35,"button",23),T.bIt("click",function(ft){return be.onSubmit(ft)}),T.EFF(36),T.nI1(37,"translate"),T.k0s()(),T.DNE(38,we,16,16),T.nI1(39,"generalConfigurationPipe"),T.k0s()()),2&se&&(T.R7$(3),T.JRh(T.bMT(4,19,"general.login")),T.R7$(6),T.JRh(T.bMT(10,21,"general.login_description")),T.R7$(2),T.Y8G("formGroup",be.loginForm),T.R7$(),T.Y8G("ngClass",T.eq3(33,Ot,!be.loginForm.controls.username.valid&&be.loginForm.controls.username.touched||be.loginError)),T.R7$(3),T.JRh(T.bMT(16,23,"general.username")),T.R7$(2),T.Y8G("type",be.loginType)("name",be.loginType===be.EMAIL?"email":"username"),T.R7$(),T.vxM(null!=be.loginForm.controls.username.errors&&be.loginForm.controls.username.errors.required&&be.loginForm.controls.username.touched?18:-1),T.R7$(),T.vxM(be.loginError?19:-1),T.R7$(),T.Y8G("ngClass",T.eq3(35,Ot,!be.loginForm.controls.password.valid&&be.loginForm.controls.password.touched)),T.R7$(3),T.JRh(T.bMT(24,25,"general.password")),T.R7$(2),T.Y8G("type",be.showPassword?be.textType:be.passwordType),T.R7$(),T.Y8G("ngClass",T.eq3(37,Fe,be.showPassword)),T.R7$(2),T.vxM(!be.loginForm.controls.password.valid&&be.loginForm.controls.password.touched?28:-1),T.R7$(3),T.SpI("",T.bMT(32,27,"general.forgotten_password")," "),T.R7$(4),T.Y8G("disabled",!be.loginForm.value.username||!be.loginForm.value.password||!be.loginForm.controls.username.valid)("ngClass",T.eq3(39,Ye,!be.loginForm.value.username||!be.loginForm.value.password||!be.loginForm.controls.username.valid)),T.R7$(),T.SpI(" ",T.bMT(37,29,"general.login")," "),T.R7$(2),T.vxM(T.bMT(39,31,"otpLoginEnabled")?38:-1))},dependencies:[h.h,h.D9,i.CommonModule,i.NgClass,d.X1,d.qT,d.me,d.BC,d.cb,d.j4,d.JD,d.YN,m.A,ve.D,u.n,u.l,y.j,Vt.T],styles:['.c-input-field[_ngcontent-%COMP%]{position:relative;margin-bottom:10px}.c-input-field.c-input-field--success[_ngcontent-%COMP%]:before{background-image:url(success-indicator.4b928420b308f92c.svg);opacity:1}.c-input-field.c-input-field--password[_ngcontent-%COMP%]:before{right:40px}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{position:relative;display:block;line-height:20px;padding-left:5px;margin-top:-1px;background-color:var(--base-primary);border-radius:0 0 4px 4px;font-family:var(--font);color:var(--white);width:100%;font-size:12px}.c-input-field[_ngcontent-%COMP%]:before{content:"";position:absolute;right:10px;top:39px;pointer-events:none;touch-action:none;display:block;opacity:0;transition:opacity .2s linear;width:12px;height:12px;background-image:none;background-size:100%;background-position:center;background-repeat:no-repeat}.c-input-field__label[_ngcontent-%COMP%]{font-family:var(--font);line-height:30px;display:flex;justify-content:space-between}.c-input[_ngcontent-%COMP%]{padding:0 10px;line-height:30px;font-size:12px;font-family:var(--font-cond);border:1px solid var(--baseAccountBlue04);border-radius:4px;background-color:var(--baseBlue08);color:var(--inputColor)}.c-input[_ngcontent-%COMP%]:focus{border-color:var(--baseAccountBlue05)}.c-error-message[_ngcontent-%COMP%]{display:none;
1width:65%;margin-left:auto}.c-label[_ngcontent-%COMP%]{line-height:16px;margin-bottom:5px;margin-left:10px;color:var(--baseWhite06)}','[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}.c-forgot-password-link[_ngcontent-%COMP%]{width:100%;margin-left:auto;text-align:right}.c-forgot-password-link[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-family:var(--font);color:var(--baseButtonColor02);text-decoration:none;font-size:12px;font-weight:400}.c-forgot-password-link[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{text-decoration:underline}.c-input-field[_ngcontent-%COMP%]{margin-bottom:15px}.c-input-field__label[_ngcontent-%COMP%]{flex-direction:column}.c-input[_ngcontent-%COMP%]{width:100%}.c-input__show-password[_ngcontent-%COMP%]{color:var(--baseTextColor);position:absolute;right:10px;top:37px;transform:translateY(-50%);height:20px;width:20px;overflow-y:hidden;border-radius:50%;transition:all .2s linear}.c-input__show-password[_ngcontent-%COMP%] .show-password[_ngcontent-%COMP%]{width:20px;height:40px;transition:transform .2s linear}.c-input__show-password.c-input__show-password--show[_ngcontent-%COMP%] .show-password[_ngcontent-%COMP%]{transform:translateY(-50%)}.c-login-description[_ngcontent-%COMP%]{font-family:var(--font);color:var(--baseTextColor);font-size:14px;padding:0 0 20px;font-weight:600}.c-modal__footer-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;flex-direction:column;justify-content:center}.c-modal__footer-spacer-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:100%}.c-modal-line-container[_ngcontent-%COMP%]{width:100%;padding:0 20px}.c-modal-line[_ngcontent-%COMP%]{content:"";position:absolute;left:0;right:0;display:block;width:100%;height:1px;background-color:var(--baseBlue19);padding:0 20px}.c-modal__footer-spacer[_ngcontent-%COMP%]{padding:5px 10px;font-size:14px;text-transform:uppercase;background-color:var(--baseModalBackground);z-index:2;color:var(--baseAccountWhite06)}.c-modal__footer-otp[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:20px}.c-label[_ngcontent-%COMP%]{margin-left:0;color:var(--baseTextColor);font-weight:400}.c-registration-login-note[_ngcontent-%COMP%]{color:var(--base-white-06);font-size:14px;line-height:1.2;padding-bottom:20px;text-align:center}.c-registration-login-note__button[_ngcontent-%COMP%]{color:var(--base-green-01);font-weight:600;text-decoration:underline;background-color:transparent;border:none}']})}}return ct})()},72864:(he,M,r)=>{"use strict";r.d(M,{n:()=>C});var o=r(58114),i=r(60177),d=r(89417),h=r(73955),v=r(14553),_=r(54438),m=r(82361),p=r(96467);function u(l,y){if(1&l){const I=_.RV6();_.j41(0,"button",9),_.bIt("click",function(){_.eBV(I);const P=_.XpG();return _.Njj(P.closeModal())}),_.nrm(1,"svg-icon",10),_.k0s()}}function E(l,y){if(1&l){const I=_.RV6();_.j41(0,"button",11),_.bIt("click",function(){_.eBV(I);const P=_.XpG();return _.Njj(P.closeModal())}),_.EFF(1),_.nI1(2,"translate"),_.k0s()}2&l&&(_.R7$(),_.JRh(_.bMT(2,1,"general.cancel")))}let C=(()=>{class l{constructor(I){this._modalService=I}closeModal(){this._modalService.closePopup()}confirm(){this.payload.confirmFunction&&this.payload.confirmFunction(),this._modalService.closePopup()}static{this.\u0275fac=function(S){return new(S||l)(_.rXU(m.B))}}static{this.\u0275cmp=_.VBU({type:l,selectors:[["alert-popup"]],inputs:{payload:"payload"},standalone:!0,features:[_.aNF],decls:15,vars:11,consts:[[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],["class","c-button-close",3,"click",4,"ngIf"],[1,"c-modal__body"],[1,"c-modal__body-text"],[1,"c-modal__footer"],["class","c-button",3,"click",4,"ngIf"],["preventDoubleClick","",1,"c-button","c-button--success",3,"click"],[1,"c-button-close",3,"click"],["icon","close",1,"c-button-close-icon"],[1,"c-button",3,"click"]],template:function(S,P){1&S&&(_.j41(0,"div",0)(1,"div",1)(2,"p",2),_.EFF(3),_.nI1(4,"translate"),_.k0s(),_.DNE(5,u,2,0,"button",3),_.k0s(),_.j41(6,"div",4)(7,"p",5),_.EFF(8),_.nI1(9,"translate"),_.k0s()(),_.j41(10,"div",6),_.DNE(11,E,3,3,"button",7),_.j41(12,"button",8),_.bIt("click",function(){return P.confirm()}),_.EFF(13),_.nI1(14,"translate"),_.k0s()()()),2&S&&(_.R7$(3),_.JRh(_.bMT(4,5,"general.alert")),_.R7$(2),_.Y8G("ngIf",!P.payload.removeCloseButton),_.R7$(3),_.JRh(_.bMT(9,7,(null==P.payload?null:P.payload.message)||"")),_.R7$(3),_.Y8G("ngIf",null==P.payload?null:P.payload.showCancelButton),_.R7$(2),_.JRh(_.bMT(14,9,"general.ok")))},dependencies:[h.h,h.D9,i.CommonModule,i.NgIf,d.X1,o.A,p.D,v.n,v.l],styles:[".c-modal__body[_ngcontent-%COMP%]{max-width:400px}.c-modal__footer[_ngcontent-%COMP%] > .c-button[_ngcontent-%COMP%]{width:50%}"]}
1)}}return l})()},16191:(he,M,r)=>{"use strict";r.d(M,{E:()=>I});var o=r(58114),i=r(60177),d=r(86902),h=r(73955),v=r(54438),_=r(82361),m=r(12084),p=r(96467),u=r(30136);function E(S,P){if(1&S&&(v.qex(0),v.nrm(1,"svg-icon",10),v.j41(2,"div",11),v.EFF(3),v.nI1(4,"translate"),v.k0s(),v.bVm()),2&S){const F=v.XpG();v.R7$(3),v.SpI(" ",v.bMT(4,1,"account."+(null==F.payload?null:F.payload.modalType)+"_modal_blinking_verification_required")," ")}}function C(S,P){if(1&S&&(v.qex(0),v.nrm(1,"svg-icon",12),v.j41(2,"div",11),v.EFF(3),v.nI1(4,"translate"),v.k0s(),v.bVm()),2&S){const F=v.XpG();v.R7$(3),v.SpI(" ",v.bMT(4,1,"account."+(null==F.payload?null:F.payload.modalType)+"_modal_blinking_verification_unsuccessful")," ")}}function l(S,P){if(1&S&&(v.qex(0),v.nrm(1,"svg-icon",10),v.j41(2,"div",11),v.EFF(3),v.nI1(4,"translate"),v.k0s(),v.bVm()),2&S){const F=v.XpG();v.R7$(3),v.SpI(" ",v.bMT(4,1,"account."+(null==F.payload?null:F.payload.modalType)+"_modal_blinking_verification_in_progress")," ")}}function y(S,P){1&S&&v.nrm(0,"app-blinking-verify-button",13),2&S&&v.Y8G("displayStatusMessage",!1)}let I=(()=>{class S{constructor(F,N){this._modalService=F,this.blinkingService=N}closeBlinkingModal(){this._modalService.closePopup()}static{this.\u0275fac=function(N){return new(N||S)(v.rXU(_.B),v.rXU(m.s))}}static{this.\u0275cmp=v.VBU({type:S,selectors:[["blinking-verification-modal"]],inputs:{payload:"payload"},standalone:!0,features:[v.aNF],decls:14,vars:7,consts:[[1,"c-modal-wrapper"],[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-button-close",3,"click"],["icon","close",1,"c-button-close-icon"],[1,"c-modal__body"],[4,"ngIf"],[1,"c-modal__footer"],[3,"displayStatusMessage",4,"ngIf"],["icon","info-new-icon",1,"c-blinking-modal__icon","c-blinking-modal__icon--info"],[1,"c-modal__info"],["icon","alert-triangle-empty",1,"c-blinking-modal__icon"],[3,"displayStatusMessage"]],template:function(N,U){1&N&&(v.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"p",3),v.EFF(4),v.nI1(5,"translate"),v.k0s(),v.j41(6,"button",4),v.bIt("click",function(){return U.closeBlinkingModal()}),v.nrm(7,"svg-icon",5),v.k0s()(),v.j41(8,"div",6),v.DNE(9,E,5,3,"ng-container",7)(10,C,5,3,"ng-container",7)(11,l,5,3,"ng-container",7),v.k0s(),v.j41(12,"div",8),v.DNE(13,y,1,1,"app-blinking-verify-button",9),v.k0s()()()),2&N&&(v.R7$(4),v.SpI(" ",v.bMT(5,5,"notification.verification_of_account"),""),v.R7$(5),v.Y8G("ngIf",!U.blinkingService.blinkingVerificationSettings.options.disabled),v.R7$(),v.Y8G("ngIf","INFORMATION_MISMATCH"===U.blinkingService.blinkingVerificationSettings.options.status&&U.blinkingService.blinkingVerificationSettings.options.disabled),v.R7$(),v.Y8G("ngIf","INFORMATION_MISMATCH"!==U.blinkingService.blinkingVerificationSettings.options.status&&U.blinkingService.blinkingVerificationSettings.options.disabled),v.R7$(2),v.Y8G("ngIf",null==U.blinkingService.blinkingVerificationSettings?null:U.blinkingService.blinkingVerificationSettings.showButton))},dependencies:[o.A,p.D,i.CommonModule,i.NgIf,d.J,u.r,h.h,h.D9],styles:[".c-modal-wrapper[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;padding:0 20px;background-color:var(--baseBackdropBg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:var(--z-index-error-modal)}.c-modal[_ngcontent-%COMP%]{width:100%;padding:0;max-width:476px;background:var(--baseBlue21);color:var(--baseTextColor);border-radius:10px;border:1px solid var(--transparentWhite);overflow:hidden}.c-modal__header[_ngcontent-%COMP%]{padding:0 10px}.c-modal__title[_ngcontent-%COMP%]{width:100%;padding:10px;font-size:18px;text-align:center;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-modal__body[_ngcontent-%COMP%]{padding:20px 10px;font-size:13px;line-height:16px;text-align:center}.c-modal__footer[_ngcontent-%COMP%]{padding-top:0}.c-modal__info[_ngcontent-%COMP%]{max-width:356px;font-family:var(--font-cond);font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:center;margin:16px auto auto;color:var(--baseWhite05)}.c-blinking-modal__icon[_ngcontent-%COMP%]{width:18px;height:18px}.c-blinking-modal__icon--info[_ngcontent-%COMP%]{color:var(--baseWhite05)}"]})}}return S})()},40328:(he,M,r)=>{"use strict";r.r(M),r.d(M,{ErrorPopup:()=>We});var o=r(58114),i=r(60177),d=r(89417),h=r(73955),v=r(62125);const E="BONUS_NOTIFICATION_CONDITION_MAX_PAYOUT";var C=r(20279),l=r(54438);let y=(()=>{class Oe{static{this.\u0275fac=function(_t){return new(_t||Oe)}}static{this.\u0275mod=l.$C({type:Oe})}static{this.\u0275inj=l.G2t({imports:[i.CommonModule]})}}return Oe})();var I=r(82361),S=r(54103),P=r(72161),F=r(39934);let N=(()=>{class Oe{transform(Qe){return Qe.split(/(?=[A-Z])/).join("_").toLowerCase()}static{this.\u0275fac=function(_t){return new(_t||Oe)}}static{this.\u0275pipe=l.EJ8({name:"mapErrorField",type:Oe,pure:!0})}}return Oe})();var U=r(68999),T=r(58167);let L=(()=>{class Oe{constructor(Qe,_t){this._translateService=Qe,this._authService=_t}transform(Qe){let _t="";switch(Qe.key){case"BONUS_NOTIFICATION_CONDITION_NUMBER_OF_ITEMS":_t=this._getBonusNotificationConditionNumberOfItems(Qe);break;case"BONUS_NOTIFICATION_CONDITION_PAYIN":_t=this._getBonusNotificationConditionPayin(Qe);break;case"BONUS_NOTIFICATION_CONDITION_NUMBER_OF_COMBINATIONS":_t=this._getBonusNotificationConditionNumberOfCombination(Qe);break;
1case"BONUS_NOTIFICATION_CONDITION_MIN_PRICE_PER_ITEM":_t=this._getBonusNotificationConditionMinimumPricePerItem(Qe);break;case E:_t=this._getBonusNotificationConditionMaxPayout(Qe)}return _t}_getBonusNotificationConditionNumberOfItems(Qe){const _t=(0,U.A)(Qe.key),mt=Qe.maximum?Qe.maximum:Qe.minimum;return`\n ${this._translate(Qe.maximum?`${_t}_maximum`:`${_t}_minimum`)} \n ${mt}, \n ${this._translate("curent_number_of_selection_is")} \n ${Qe.current}.\n `}_getBonusNotificationConditionPayin(Qe){const _t=(0,U.A)(Qe.key),mt=Qe.maximum?Qe.maximum:Qe.minimum;return`\n ${this._translate(Qe.maximum?`${_t}_maximum`:`${_t}_minimum`)} \n ${mt}\n ${this._authService.getAccountCurrency()}, \n ${this._translate("curent_payin_is")} \n ${Qe.current} \n ${this._authService.getAccountCurrency()}.\n `}_getBonusNotificationConditionNumberOfCombination(Qe){const _t=(0,U.A)(Qe.key),mt=Qe.maximum?Qe.maximum:Qe.minimum;return`\n ${this._translate(Qe.maximum?`${_t}_maximum`:`${_t}_minimum`)} \n ${mt}, \n ${this._translate("curent_number_of_combination_is")} \n ${Qe.current}.\n `}_getBonusNotificationConditionMinimumPricePerItem(Qe){const _t=(0,U.A)(Qe.key),mt=Qe.maximum?Qe.maximum:Qe.minimum;return`\n ${this._translate(Qe.maximum?`${_t}_maximum`:`${_t}_minimum`)} \n ${mt}, \n ${this._translate("price_one_of_selection_is")} \n ${Qe.current}.\n `}_getBonusNotificationConditionMaxPayout(Qe){const _t=(0,U.A)(Qe.key),mt=Qe.maximum?Qe.maximum:Qe.minimum;return`\n ${this._translate(Qe.maximum?`${_t}_maximum`:`${_t}_minimum`)} \n ${mt}\n ${this._authService.getAccountCurrency()}, \n ${this._translate("curent_payout_on_ticket_is")} \n ${Qe.current}\n ${this._authService.getAccountCurrency()}.\n `}_translate(Qe){return this._translateService.instant(`error.${Qe}`)}static{this.\u0275fac=function(_t){return new(_t||Oe)(l.rXU(h.c$,16),l.rXU(T.u,16))}}static{this.\u0275pipe=l.EJ8({name:"formatBonusNotificationError",type:Oe,pure:!0})}}return Oe})(),Z=(()=>{class Oe{transform(Qe){return Qe?"string"==typeof Qe?Qe:(0,v.A)(Qe,"errorCode",""):""}static{this.\u0275fac=function(_t){return new(_t||Oe)}}static{this.\u0275pipe=l.EJ8({name:"checkErrorType",type:Oe,pure:!0})}}return Oe})();var ie=r(40173);let ve=(()=>{class Oe{transform(Qe){return(0,ie.A)(Qe,"error")?Qe:`error.${Qe.toLowerCase()}`}static{this.\u0275fac=function(_t){return new(_t||Oe)}}static{this.\u0275pipe=l.EJ8({name:"checkIfHasErrorAndAdd",type:Oe,pure:!0})}}return Oe})();function me(Oe,tt){if(1&Oe&&(l.j41(0,"span"),l.EFF(1),l.nI1(2,"checkIfHasErrorAndAdd"),l.nI1(3,"translate"),l.k0s()),2&Oe){const Qe=l.XpG(3);l.R7$(),l.SpI(" ",l.bMT(3,3,l.bMT(2,1,Qe.payload.errorCode?Qe.payload.errorCode:"")),"")}}function xe(Oe,tt){if(1&Oe&&(l.qex(0),l.j41(1,"span"),l.EFF(2),l.k0s(),l.bVm()),2&Oe){const Qe=tt.$implicit;l.R7$(2),l.SpI("",Qe," ")}}function $(Oe,tt){if(1&Oe&&(l.qex(0),l.j41(1,"p"),l.DNE(2,me,4,5,"span",7),l.EFF(3),l.nI1(4,"checkErrorType"),l.nI1(5,"translate"),l.DNE(6,xe,3,1,"ng-container",9),l.k0s(),l.bVm()),2&Oe){const Qe=l.XpG(2);l.R7$(2),l.Y8G("ngIf",null==Qe.payload?null:Qe.payload.errorCode),l.R7$(),l.SpI(" ",l.bMT(5,5,l.bMT(4,3,null==Qe.payload?null:Qe.payload.error))," "),l.R7$(3),l.Y8G("ngForOf",Qe.payload.parameters)}}function V(Oe,tt){if(1&Oe&&(l.qex(0),l.j41(1,"span"),l.EFF(2),l.nI1(3,"mapErrorField"),l.nI1(4,"translate"),l.k0s(),l.bVm()),2&Oe){const Qe=tt.$implicit;l.R7$(2),l.SpI("",l.bMT(4,3,"error."+l.bMT(3,1,Qe))," ")}}function oe(Oe,tt){if(1&Oe&&(l.j41(0,"div"),l.EFF(1),l.nI1(2,"translate"),l.nI1(3,"translate"),l.DNE(4,V,5,5,"ng-container",9),l.k0s()),2&Oe){const Qe=l.XpG().$implicit;l.R7$(),l.Lme(" ",l.bMT(2,3,Qe.errorCode?"error."+Qe.errorCode.toLowerCase():"")," ",l.bMT(3,5,Qe.error?"error."+Qe.error.toLowerCase():"")," "),l.R7$(3),l.Y8G("ngForOf",null==Qe?null:Qe.parameters)}}function z(Oe,tt){if(1&Oe&&(l.qex(0),l.DNE(1,oe,5,7,"div",7),l.bVm()),2&Oe){const Qe=tt.$implicit;l.R7$(),l.Y8G("ngIf",null==Qe?null:Qe.errorCode)}}function W(Oe,tt){if(1&Oe&&(l.qex(0),l.DNE(1,z,2,1,"ng-container",9),l.bVm()),2&Oe){const Qe=l.XpG(2);l.R7$(),l.Y8G("ngForOf",null==Qe.payload?null:Qe.payload.errors)}}function re(Oe,tt){if(1&Oe&&(l.j41(0,"div"),l.EFF(1),l.nI1(2,"translate"),l.k0s()),2&Oe){const Qe=tt.$implicit;l.R7$(),l.SpI(" ",l.bMT(2,1,Qe)," ")}}function ee(Oe,tt){if(1&Oe&&(l.qex(0),l.DNE(1,re,3,3,"div",9),l.bVm()),2&Oe){const Qe=l.XpG(2);l.R7$(),l.Y8G("ngForOf",null==Qe.payload?null:Qe.payload.ticketErrors)}}function Se(Oe,tt){if(1&Oe&&(l.qex(0),l.DNE(1,$,7,7,"ng-container",7)(2,W,2,1,"ng-container",7)(3,ee,2,1,"ng-container",7),l.bVm()),2&Oe){const Qe=l.XpG();
1l.R7$(),l.Y8G("ngIf",!(Qe.isBonusNotications||Qe.isMultiError||null!=Qe.payload&&Qe.payload.isTicketErrors)),l.R7$(),l.Y8G("ngIf",Qe.isMultiError),l.R7$(),l.Y8G("ngIf",null==Qe.payload?null:Qe.payload.isTicketErrors)}}function J(Oe,tt){if(1&Oe&&(l.qex(0),l.j41(1,"div",10),l.EFF(2),l.k0s(),l.bVm()),2&Oe){const Qe=tt.$implicit;l.R7$(2),l.SpI(" ",Qe," ")}}function de(Oe,tt){if(1&Oe&&l.DNE(0,J,3,1,"ng-container",9),2&Oe){const Qe=l.XpG();l.Y8G("ngForOf",null==Qe.payload?null:Qe.payload.errorMessages)}}function ke(Oe,tt){if(1&Oe&&(l.qex(0),l.j41(1,"div",11),l.EFF(2),l.nI1(3,"translate"),l.k0s(),l.j41(4,"div"),l.EFF(5),l.nI1(6,"formatBonusNotificationError"),l.k0s(),l.bVm()),2&Oe){const Qe=tt.$implicit;l.R7$(2),l.SpI(" ",l.bMT(3,2,"error_title."+Qe.key),": "),l.R7$(3),l.SpI(" ",l.bMT(6,4,Qe)," ")}}function ge(Oe,tt){1&Oe&&(l.j41(0,"div"),l.EFF(1),l.nI1(2,"translate"),l.k0s()),2&Oe&&(l.R7$(),l.SpI(" ",l.bMT(2,1,"error.do_you_accept_max_payout")," "))}function ye(Oe,tt){if(1&Oe&&(l.qex(0),l.DNE(1,ke,7,6,"ng-container",9)(2,ge,3,3,"div",7),l.bVm()),2&Oe){const Qe=l.XpG();l.R7$(),l.Y8G("ngForOf",Qe.bonusNotificationErrors),l.R7$(),l.Y8G("ngIf",Qe.isOptionsAvailable)}}function Pe(Oe,tt){if(1&Oe){const Qe=l.RV6();l.j41(0,"div",12)(1,"button",13),l.bIt("click",function(){l.eBV(Qe);const ht=l.XpG();return l.Njj(ht.closeModal())}),l.EFF(2),l.nI1(3,"translate"),l.k0s()()}2&Oe&&(l.R7$(2),l.SpI(" ",l.bMT(3,1,"general.cancel")," "))}function Me(Oe,tt){if(1&Oe){const Qe=l.RV6();l.qex(0),l.j41(1,"div",12)(2,"button",13),l.bIt("click",function(){l.eBV(Qe);const ht=l.XpG();return l.Njj(ht.rejectOrAcceptConditions(!1))}),l.EFF(3),l.nI1(4,"translate"),l.k0s(),l.j41(5,"button",14),l.bIt("click",function(){l.eBV(Qe);const ht=l.XpG();return l.Njj(ht.rejectOrAcceptConditions(!0))}),l.EFF(6),l.nI1(7,"translate"),l.k0s()(),l.bVm()}if(2&Oe){const Qe=l.XpG();l.R7$(3),l.SpI(" ",l.bMT(4,2,Qe.rejectTranslation)," "),l.R7$(3),l.SpI(" ",l.bMT(7,4,Qe.acceptTranslation)," ")}}let We=(()=>{class Oe{constructor(Qe,_t,ht,mt){this._modalService=Qe,this._ticketService=_t,this._globalLoaderService=ht,this._routingService=mt,this.isMultiError=!1,this.isBonusNotications=!1,this.bonusNotificationErrors=[],this.isOptionsAvailable=!1,this.isLimitNotSetError=!1,this.hasTranslatedErrorMessages=!1,this.rejectTranslation="general.no",this.acceptTranslation="general.yes",this.LIMIT_NOT_SET="LIMIT_NOT_SET"}ngOnInit(){this._setupModalParameters(),this._setBonusErrorsAndCheckIsAvailableAcceptOption(),this._setHasTranslatedErrorMessages(),this._setHasLimitNotSetErrors()}_setupModalParameters(){this.isBonusNotications="BONUS_NOTIFICATION_CONDITION_VALIDATION_FAILED"===(0,v.A)(this.payload,"errorCode"),this.isMultiError=Array.isArray(this.payload?.errors)}closeModal(){this.payload.redirectToCasino&&this._routingService.navigateToCasinoHomePage(),this._modalService.closePopup()}_setBonusErrorsAndCheckIsAvailableAcceptOption(){this.isBonusNotications&&(this.bonusNotificationErrors=(0,v.A)(this.payload,"payload",[]),1===(0,v.A)(this.bonusNotificationErrors,"length")&&(this.isOptionsAvailable=(0,v.A)(this.bonusNotificationErrors,"[0].key")===E&&!(0,v.A)(this.bonusNotificationErrors,"[0].minimum")))}rejectOrAcceptConditions(Qe){if(Qe)return this.isLimitNotSetError?(this._modalService.closePopup(),void this._routingService.navigateToAccountPageByPageName(C.db.PERSONAL_LIMITS)):(this._globalLoaderService.showLoader(),this._ticketService.submitCurrentTicket(Qe),void this._modalService.closePopup());this._modalService.closePopup()}_setHasTranslatedErrorMessages(){this.hasTranslatedErrorMessages=!!this.payload.errorMessages&&!!this.payload.errorMessages.length}_setHasLimitNotSetErrors(){(0,v.A)(this.payload,"errorCode","")===this.LIMIT_NOT_SET&&(this.isOptionsAvailable=!0,this.isLimitNotSetError=!0,this.rejectTranslation="general.ok",this.acceptTranslation="account.set_limit")}static{this.\u0275fac=function(_t){return new(_t||Oe)(l.rXU(I.B),l.rXU(S.Y),l.rXU(P.e),l.rXU(F.O))}}static{this.\u0275cmp=l.VBU({type:Oe,selectors:[["error-popup"]],inputs:{payload:"payload"},standalone:!0,features:[l.aNF],decls:13,vars:8,consts:[["translatedErrors",""],[1,"c-modal-wrapper"],[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-modal__body"],[4,"ngIf","ngIfElse"],[4,"ngIf"],["class","c-modal__footer",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"c-translated-error"],[1,"c-alert-message"],[1,"c-modal__footer"],[1,"c-modal__button",3,"click"],[1,"c-modal__button","confirm",3,"click"]],template:function(_t,ht){if(1&_t&&(l.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"p",4),l.EFF(4),l.nI1(5,"translate"),l.k0s()(),l.j41(6,"div",5),l.DNE(7,Se,4,3,"ng-container",6)(8,de,1,1,"ng-template",null,0,l.C5r)(10,ye,3,2,"ng-container",7),l.k0s(),l.DNE(11,Pe,4,3,"div",8)(12,Me,8,6,"ng-container",7),l.k0s()()),2&_t){let mt;const Vt=l.sdS(9);l.R7$(4),l.JRh(l.bMT(5,6,null!==(mt=null==ht.payload?null:ht.payload.title)&&void 0!==mt?mt:"general.error")),l.R7$(3),l.Y8G("ngIf",!ht.hasTranslatedErrorMessages)("ngIfElse",Vt),l.R7$(3),l.Y8G("ngIf",ht.isBonusNotications&&!(null!=ht.payload.errorMessages&&ht.payload.errorMessages.length)),l.R7$(),l.Y8G("ngIf",!ht.isOptionsAvailable),l.R7$(),l.Y8G("ngIf",ht.isOptionsAvailable)}},dependencies:[h.h,h.D9,i.CommonModule,i.NgForOf,i.NgIf,d.X1,o.A,y,N,L,Z,ve],styles:[".c-modal-wrapper[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;padding:0 20px;background-color:var(--baseBackdropBg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:var(--z-index-error-modal)}.c-modal[_ngcontent-%COMP%]{width:100%;padding:0;max-width:340px;
1background-color:var(--baseModalBackground);color:var(--baseTextColor);border-radius:10px;overflow:hidden}.c-modal__header[_ngcontent-%COMP%]{padding:0 10px}.c-modal__title[_ngcontent-%COMP%]{width:100%;padding:10px;color:var(--base-primary);font-size:18px;text-align:center;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-modal__body[_ngcontent-%COMP%]{padding:20px 10px;font-size:13px;line-height:16px;text-align:center}.c-modal__footer[_ngcontent-%COMP%]{padding-top:0}.c-modal__button[_ngcontent-%COMP%]{width:100%;border-radius:4px;text-transform:uppercase;background:var(--base-primary);color:var(--white);max-width:200px;font-size:13px;height:30px;font-weight:700;text-align:center;display:flex;align-items:center;justify-content:center}.c-modal__button.confirm[_ngcontent-%COMP%]{background-color:var(--base-green-01)}.c-translated-error[_ngcontent-%COMP%]{margin-bottom:20px}.c-translated-error[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}"]})}}return Oe})()},81797:(he,M,r)=>{"use strict";r.d(M,{I:()=>I});var o=r(54438),i=r(82361),d=r(58114),h=r(60177),v=r(73955),_=r(69956),m=r(45878),p=r(96467);function u(S,P){if(1&S&&(o.nrm(0,"svg-icon",9),o.j41(1,"div",10),o.EFF(2),o.nI1(3,"translate"),o.k0s()),2&S){const F=o.XpG();o.R7$(2),o.SpI(" ",o.bMT(3,1,"account."+F.payload().modalType+"_modal_itsme_verification_required"),"")}}function E(S,P){if(1&S&&(o.nrm(0,"svg-icon",11),o.j41(1,"div",10),o.EFF(2),o.nI1(3,"translate"),o.k0s()),2&S){const F=o.XpG(2);o.R7$(2),o.JRh(o.bMT(3,1,"account."+F.payload().modalType+"_modal_itsme_verification_unsuccessful"))}}function C(S,P){if(1&S&&(o.nrm(0,"svg-icon",9),o.j41(1,"div",10),o.EFF(2),o.nI1(3,"translate"),o.k0s()),2&S){const F=o.XpG(2);o.R7$(2),o.JRh(o.bMT(3,1,"account."+F.payload().modalType+"_modal_itsme_verification_in_progress"))}}function l(S,P){if(1&S&&o.DNE(0,E,4,3)(1,C,4,3),2&S){const F=o.XpG();o.vxM("INFORMATION_MISMATCH"===F.itsmeService.itsmeVerificationSettings.options.status?0:1)}}function y(S,P){1&S&&o.nrm(0,"app-itsme-verify-button",8),2&S&&o.Y8G("displayStatusMessage",!1)}let I=(()=>{class S{constructor(){this._modalService=(0,o.WQX)(i.B),this.itsmeService=(0,o.WQX)(_.S),this.payload=(0,o.hFB)({})}closeItsmeModal(){this._modalService.closePopup()}static{this.\u0275fac=function(N){return new(N||S)}}static{this.\u0275cmp=o.VBU({type:S,selectors:[["app-itsme-verification-modal"]],inputs:{payload:[1,"payload"]},standalone:!0,features:[o.aNF],decls:13,vars:5,consts:[[1,"c-modal-wrapper"],[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-button-close",3,"click"],["icon","close",1,"c-button-close-icon"],[1,"c-modal__body"],[1,"c-modal__footer"],[3,"displayStatusMessage"],["icon","info-new-icon",1,"c-itsme-modal__icon","c-itsme-modal__icon--info"],[1,"c-modal__info"],["icon","alert-triangle-empty",1,"c-itsme-modal__icon"]],template:function(N,U){1&N&&(o.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"p",3),o.EFF(4),o.nI1(5,"translate"),o.k0s(),o.j41(6,"button",4),o.bIt("click",function(){return U.closeItsmeModal()}),o.nrm(7,"svg-icon",5),o.k0s()(),o.j41(8,"div",6),o.DNE(9,u,4,3)(10,l,2,1),o.k0s(),o.j41(11,"div",7),o.DNE(12,y,1,1,"app-itsme-verify-button",8),o.k0s()()()),2&N&&(o.R7$(4),o.SpI(" ",o.bMT(5,3,"notification.verification_of_account"),""),o.R7$(5),o.vxM(U.itsmeService.itsmeVerificationSettings.options.disabled?10:9),o.R7$(3),o.vxM(null!=U.itsmeService.itsmeVerificationSettings&&U.itsmeService.itsmeVerificationSettings.showButton?12:-1))},dependencies:[d.A,p.D,h.CommonModule,v.h,v.D9,m.x],styles:[".c-modal-wrapper[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;padding:0 20px;background-color:var(--baseBackdropBg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:var(--z-index-error-modal)}.c-modal[_ngcontent-%COMP%]{width:100%;padding:0;max-width:476px;background:var(--baseBlue21);color:var(--baseTextColor);border-radius:10px;border:1px solid var(--transparentWhite);overflow:hidden}.c-modal__header[_ngcontent-%COMP%]{padding:0 10px}.c-modal__title[_ngcontent-%COMP%]{width:100%;padding:10px;font-size:18px;text-align:center;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-modal__body[_ngcontent-%COMP%]{padding:20px 10px;font-size:13px;line-height:16px;text-align:center}.c-modal__footer[_ngcontent-%COMP%]{padding-top:0}.c-modal__info[_ngcontent-%COMP%]{max-width:356px;font-family:var(--font-cond);font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:center;margin:16px auto auto;color:var(--baseWhite05)}.c-itsme-modal__icon[_ngcontent-%COMP%]{width:18px;height:18px}.c-itsme-modal__icon--info[_ngcontent-%COMP%]{color:var(--baseWhite05)}"]})}}return S})()},86807:(he,M,r)=>{"use strict";r.r(M),r.d(M,{SuccessPopup:()=>I});var o=r(58114),i=r(60177),d=r(89417),h=r(73955),v=r(10475),_=r(68374),m=r(54438),p=r(82361);function u(S,P){if(1&S&&(m.j41(0,"p",10),m.EFF(1),m.k0s()),2&S){const F=m.XpG(2);m.R7$(),m.SpI(" ",F.payload.untranslatedMessage," ")}}function E(S,P){if(1&S&&(m.j41(0,"p",11)(1,"span",12),m.EFF(2),m.k0s(),m.j41(3,"span",13),m.EFF(4),m.nI1(5,"formatCurrency"),m.k0s()()),2&S){const F=m.XpG(2);m.R7$(2),m.JRh(F.payload.amount),m.R7$(2),m.JRh(m.bMT(5,2,F.payload.currency))}}function C(S,P){if(1&S&&(m.j41(0,"div",7)(1,"p"),m.EFF(2),m.nI1(3,"translate"),m.k0s(),m.DNE(4,u,2,1,"p",8)(5,E,6,4,"p",9),m.k0s()),2&S){const F=m.XpG();m.R7$(2),m.JRh(m.bMT(3,3,F.payload.message)),m.R7$(2),m.Y8G("ngIf",F.payload.untranslatedMessage),m.R7$(),m.Y8G("ngIf",F.payload.amount)}}function l(S,P){if(1&S&&(m.j41(0,"p"),m.EFF(1),m.nI1(2,"translate"),m.k0s()),2&S){const F=P.$implicit;m.R7$(),m.JRh(m.bMT(2,1,F))}}function y(S,P){if(1&S&&(m.j41(0,"div",7),m.DNE(1,l,3,3,"p",14),m.k0s()),2&S){const F=m.XpG();m.R7$(),m.Y8G("ngForOf",F.payload.errorMessages)}}let I=(()=>{class S{constructor(F){this._modalService=F}
1closePopup(){this._modalService.closePopup()}confirm(){this.payload.confirmFunction&&this.payload.confirmFunction(),this._modalService.closePopup()}static{this.\u0275fac=function(N){return new(N||S)(m.rXU(p.B))}}static{this.\u0275cmp=m.VBU({type:S,selectors:[["success-popup"]],inputs:{payload:"payload"},standalone:!0,features:[m.aNF],decls:12,vars:9,consts:[[1,"c-modal-wrapper"],[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],["class","c-modal__body",4,"ngIf"],[1,"c-modal__footer"],[1,"c-modal__button",3,"click"],[1,"c-modal__body"],["class","c-success-popup__untranslated_message",4,"ngIf"],["class","c-modal__info",4,"ngIf"],[1,"c-success-popup__untranslated_message"],[1,"c-modal__info"],[1,"c-success-popup__amount"],[1,"c-success-popup__currency"],[4,"ngFor","ngForOf"]],template:function(N,U){if(1&N&&(m.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"p",3),m.EFF(4),m.nI1(5,"translate"),m.k0s()(),m.DNE(6,C,6,5,"div",4)(7,y,2,1,"div",4),m.j41(8,"div",5)(9,"button",6),m.bIt("click",function(){return U.confirm()}),m.EFF(10),m.nI1(11,"translate"),m.k0s()()()()),2&N){let T;m.Y8G("@fadeSimpleMedium",void 0),m.R7$(4),m.JRh(m.bMT(5,5,null!==(T=U.payload.title)&&void 0!==T?T:"general.success")),m.R7$(2),m.Y8G("ngIf",!(null!=U.payload.errorMessages&&U.payload.errorMessages.length)),m.R7$(),m.Y8G("ngIf",null==U.payload.errorMessages?null:U.payload.errorMessages.length),m.R7$(3),m.SpI(" ",m.bMT(11,7,"general.ok")," ")}},dependencies:[h.h,h.D9,i.CommonModule,i.NgForOf,i.NgIf,d.X1,o.A,v.P],styles:['account-page[_ngcontent-%COMP%]{overflow-y:auto;flex:1;min-width:0}.l-account-page[_ngcontent-%COMP%]{background-color:var(--baseBlack);height:calc(100vh - 80px);min-width:0;width:100%}.l-settings__wrapper[_ngcontent-%COMP%]{height:calc(100vh - 80px);scroll-behavior:smooth;width:100%}.l-account-page__main[_ngcontent-%COMP%]{height:100%;background-color:var(--baseBlack)}.l-settings[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1 0 0;width:100%;max-width:1000px;margin:0 auto 86px;font-family:var(--font)}.l-settings__header[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:34px;align-items:center}.c-settings__title[_ngcontent-%COMP%]{font-size:16px;line-height:18px;text-transform:uppercase;color:var(--baseAccountWhite06);font-family:var(--font-cond);font-weight:700}.c-settings-title__tag[_ngcontent-%COMP%]{font-size:14px;text-transform:uppercase;padding:6px 12px;margin-left:10px;border-radius:4px}.c-settings-title__tag.verified[_ngcontent-%COMP%]{background-color:#203b18;color:#17bb00}.c-settings-title__tag.not-verified[_ngcontent-%COMP%]{background-color:#363636;color:var(--white)}.l-settings__verified[_ngcontent-%COMP%]{margin-left:10px;color:#17bb00;background-color:#203b18}.l-settings__not-verified[_ngcontent-%COMP%]{margin-left:10px;color:#757575;background-color:#363636}.l-settings__ctn[_ngcontent-%COMP%]{border:1px solid var(--baseAccountBlue04);display:flex;flex-direction:column;margin:0 24px 24px;background-color:var(--baseBlue02);flex:1 1 auto;border-radius:10px;padding:50px 60px;position:relative}.l-settings__ctn--self-exclusion[_ngcontent-%COMP%]{padding:10px 20px}.l-settings__form[_ngcontent-%COMP%]{display:grid;column-gap:20px;grid-template-columns:repeat(2,1fr);grid-auto-rows:dense}.l-settings__col[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;margin-bottom:18px}.c-slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background:var(--accountSliderNotCheckedBgColor);transition:all .2s linear;border-radius:34px}.c-slider[_ngcontent-%COMP%]:before{position:absolute;content:"";height:15px;width:15px;inset:50% 0 0 2px;background-color:var(--accountSliderDiscNotCheckedBgColor);transition:all .4s cubic-bezier(.77,0,.175,1);transform:translateY(-50%);border-radius:50%}.c-settings-tab[_ngcontent-%COMP%]{font-family:var(--font-cond);font-weight:700;font-size:16px;line-height:19px;padding:15px 20px;min-width:170px;background-color:transparent;color:var(--baseAccountSettingsColor01);border:0;outline:none;cursor:pointer;text-transform:uppercase;position:relative;transition:all .3s linear}.c-settings-tab[_ngcontent-%COMP%]:before{content:"";position:absolute;bottom:0;left:0;width:100%;height:3px;border-radius:3px 3px 0 0;background-color:var(--baseAccountSettingsColor01)}.c-settings-tab[_ngcontent-%COMP%]:not(:last-child):after{content:"";position:absolute;bottom:0;right:0;top:50%;transform:translateY(-50%);width:1px;height:30px;background-color:var(--baseAccountSettingsColor01)}.c-settings-tab.c-settings-tab--selected[_ngcontent-%COMP%]{color:var(--baseAccountSettingsColor02)}.c-settings-tab.c-settings-tab--selected[_ngcontent-%COMP%]:before{background-color:var(--baseAccountSettingsColor02)}.c-settings-tab[_ngcontent-%COMP%]:not(.c-settings-tab--selected):hover{opacity:.8}.c-settings-note[_ngcontent-%COMP%]{font-family:var(--font);font-size:14px;margin-bottom:20px;color:var(--baseAccountWhite06)}
1.c-settings-note.c-settings-note--large[_ngcontent-%COMP%]{font-size:16px;font-weight:700}.c-settings-note.c-settings-note--extra-large[_ngcontent-%COMP%]{font-size:22px;font-weight:400}.c-input-field[_ngcontent-%COMP%]{position:relative;width:100%}.c-input-field.c-input-field--show-pass[_ngcontent-%COMP%] .c-input-field__error-img[_ngcontent-%COMP%]{right:40px}.c-input-field[_ngcontent-%COMP%]:not(.c-input-field--invalid) + .c-settings-btn--search-alt[_ngcontent-%COMP%]{margin-top:25px}.c-input-field[_ngcontent-%COMP%] + .c-settings-btn--search-alt[_ngcontent-%COMP%]{margin-top:10px}.c-input-field--success[_ngcontent-%COMP%] .c-settings-input[_ngcontent-%COMP%]{border-color:var(--success-color-3)}.c-input-field--success[_ngcontent-%COMP%]:before{position:absolute;content:"";display:block;opacity:1;width:16px;height:16px;background-image:url(validation-success.7887eaac7d0d2459.svg);background-size:90%;background-repeat:no-repeat;background-position:center;top:50%;transform:translateY(-50%);right:13px}.c-input-field--invalid[_ngcontent-%COMP%] .c-settings-input-label[_ngcontent-%COMP%]{color:var(--base-primary)}.c-input-field--invalid[_ngcontent-%COMP%] .c-settings-input[_ngcontent-%COMP%]{border:1px solid var(--base-primary)}.c-input-field--invalid[_ngcontent-%COMP%] .c-settings-input[_ngcontent-%COMP%]:focus{border:1px solid var(--base-primary)}.c-input-field--invalid[_ngcontent-%COMP%] .c-input-field__error[_ngcontent-%COMP%], .c-input-field--invalid[_ngcontent-%COMP%] .c-input-field__error-img[_ngcontent-%COMP%]{display:block}.c-settings-input-label[_ngcontent-%COMP%]{display:flex;margin-bottom:10px;font-size:14px;line-height:16px;padding-left:7px;color:var(--baseAccountWhite06)}.c-settings-input-label.c-settings-input-label--heading[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.c-settings-input-label.c-settings-input-label--cards[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.c-settings-input-label.c-settings-input-label-crypto[_ngcontent-%COMP%]{color:var(--baseTextColor03)}.c-settings-input[_ngcontent-%COMP%]{background:transparent;color:var(--baseAccountWhite06);border:1px solid var(--baseAccountBlue05);box-sizing:border-box;border-radius:10px;padding:13px 20px;outline:none;font-size:14px;line-height:16px;display:flex;width:100%;background-color:var(--baseAccountBlue03);font-family:var(--font);-webkit-appearance:none}.c-settings-input[_ngcontent-%COMP%]:focus{border:1px solid var(--success-color)}.c-settings-input.c-settings-input--transaction-limit[_ngcontent-%COMP%]{padding-right:75px}.c-settings-input.c-settings-input--border-success[_ngcontent-%COMP%]{border-color:var(--success-color)}.c-settings-input.c-settings-input--select[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;background-color:transparent;background:url(arrow-down.86467b5f2ba252bb.svg) no-repeat 97% 50%}.c-settings-input[disabled][_ngcontent-%COMP%], .c-settings-input.disabled[_ngcontent-%COMP%]{background-color:var(--baseAccountSettingsColor06);opacity:.4;pointer-events:none;user-focus:none}.c-input-field__error[_ngcontent-%COMP%]{font-size:11px;margin-top:5px;color:var(--base-primary)}.c-input-field__error.aboslute-error[_ngcontent-%COMP%]{position:absolute;top:50px}.c-calendar-icon[_ngcontent-%COMP%]{color:var(--baseTextColor);pointer-events:none;position:absolute;right:20px;top:38px;width:20px;height:20px}.c-no-transactions-message[_ngcontent-%COMP%]{color:var(--base-white-04);display:flex;flex-direction:column;align-items:center}.c-no-transactions-message__icon[_ngcontent-%COMP%]{width:90px;height:90px;margin:auto}.l-payments[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1 0 0;min-width:1000px;max-width:1366px;margin:0 auto;display:block;font-family:var(--font)}.l-payments__ctn[_ngcontent-%COMP%]{display:flex;flex:1 0 0;padding:0 12px 12px;position:relative}.l-payments__list[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:0;min-width:320px;max-width:320px}@media screen and (max-width: 1365px){.l-payments__list[_ngcontent-%COMP%]{min-width:260px;max-width:260px}}.l-payments__main[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;box-shadow:0 0 6px #00000029;border-radius:10px;margin-left:24px;background-color:var(--baseBlue02);min-height:720px;position:relative}.l-payments__main.l-payments__main--sumsub-action-in-progress[_ngcontent-%COMP%]{justify-content:center}@media only screen and (max-width: 1520px){.l-payments__main[_ngcontent-%COMP%]{margin-left:14px}}.l-payments__provider[_ngcontent-%COMP%]{flex:1 0 52%;min-width:50%;min-height:700px;padding:50px 64px 64px}.l-payments__provider-iframe[_ngcontent-%COMP%]{width:100%;height:100%}.l-payments__provider-terms[_ngcontent-%COMP%]{flex:1 1 45%;display:flex}.c-no-providers-message[_ngcontent-%COMP%]{background-color:var(--accountContentBgColor);color:var(--baseTextColor);border-radius:10px;min-height:500px;display:flex;align-items:center;justify-content:center;text-align:center;width:100%;font-size:24px}.c-settings-input__show-pass[_ngcontent-%COMP%]{color:var(--baseTextColor);cursor:pointer;position:absolute;top:36px;width:50px;max-height:25px;right:0;overflow-y:hidden}.c-settings-input__show-pass[_ngcontent-%COMP%] .show-password[_ngcontent-%COMP%]{pointer-events:none;transition:transform .2s linear}.c-settings-input__show-pass[_ngcontent-%COMP%] .show-password.visible[_ngcontent-%COMP%]{transform:translateY(-50%)}.c-settings-input__show-pass[_ngcontent-%COMP%] + .c-input-field__error-img[_ngcontent-%COMP%], .c-input-field__error[_ngcontent-%COMP%] + .c-input-field__error-img[_ngcontent-%COMP%]{right:20px;top:49px;width:16px;height:16px}.c-settings-input[type=text][_ngcontent-%COMP%] + .c-settings-input__show-pass[_ngcontent-%COMP%], .c-settings-input[type=text][_ngcontent-%COMP%] + .c-settings-input__show-pass--desktop[_ngcontent-%COMP%]{background-position:bottom center}.c-input-field__error_single_provider[_ngcontent-%COMP%]{font-size:11px;color:var(--base-primary)}.c-input-field__error-img[_ngcontent-%COMP%]{position:absolute;top:50px;transform:translateY(-50%);right:10px;display:none}.c-report-table[_ngcontent-%COMP%]{display:flex;flex-direction:column;border:1px solid var(--baseAccountBlue04);border-radius:10px;overflow:hidden}.c-report-table[_ngcontent-%COMP%] .c-report-table__body[_ngcontent-%COMP%] .c-report-table__row[_ngcontent-%COMP%]{cursor:default}.c-report-table.c-report-table--tickets[_ngcontent-%COMP%] .c-report-table__cell[_ngcontent-%COMP%]{padding:15px 5px 15px 20px;flex:1}.c-report-table.c-report-table--tickets[_ngcontent-%COMP%] .c-report-table__cell[_ngcontent-%COMP%]:not(:nth-of-type(1)), .c-report-table.c-report-table--tickets[_ngcontent-%COMP%] .c-report-table__cell[_ngcontent-%COMP%]:not(:nth-of-type(2)){flex:.5}.c-report-table.c-report-table--tickets[_ngcontent-%COMP%] .c-report-table__cell[_ngcontent-%COMP%]:nth-of-type(3), .c-report-table.c-report-table--tickets[_ngcontent-%COMP%] .c-report-table__cell[_ngcontent-%COMP%]:nth-of-type(5), .c-report-table.c-report-table--tickets[_ngcontent-%COMP%] .c-report-table__cell[_ngcontent-%COMP%]:nth-of-type(6){min-width:140px}.c-report-table--tickets-alt[_ngcontent-%COMP%] .c-report-table__header[_ngcontent-%COMP%]{background-color:var(--baseAccountButtonBg)}.c-report-table--tickets-alt[_ngcontent-%COMP%] .c-report-table__body[_ngcontent-%COMP%] .c-report-table__row[_ngcontent-%COMP%]{background-color:var(--baseAccountBlue03)}.c-report-table--tickets-alt[_ngcontent-%COMP%] .c-report-table__body[_ngcontent-%COMP%] .c-report-table__row.c-report-table__row--active[_ngcontent-%COMP%]{cursor:pointer}.c-report-table--tickets-alt[_ngcontent-%COMP%] .c-report-table__body[_ngcontent-%COMP%] .c-report-table__row.c-report-table__row--active[_ngcontent-%COMP%]:hover{background:var(--baseAccountBlue01)}.c-report-table__header[_ngcontent-%COMP%]{background-color:var(--baseAccountButtonBg)}.c-report-table__header[_ngcontent-%COMP%] .c-report-table__cell[_ngcontent-%COMP%]{font-weight:500;color:var(--baseAccountSettingsColor05)}.c-report-table__body[_ngcontent-%COMP%] .c-report-table__cell[_ngcontent-%COMP%]{font-weight:700;color:var(--baseAccountWhite06)}.c-report-table__body[_ngcontent-%COMP%] .c-report-table__cell--winner[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-report-table__body[_ngcontent-%COMP%] .c-report-table__cell--lost[_ngcontent-%COMP%]{color:var(--base-primary)}.c-report-table__body[_ngcontent-%COMP%] .c-report-table__row[_ngcontent-%COMP%]{cursor:pointer}.c-report-table__body[_ngcontent-%COMP%] .c-report-table__row.c-report-table__row--active[_ngcontent-%COMP%]{cursor:default}.c-report-table__body[_ngcontent-%COMP%] .c-report-table__row.c-report-table__row--active[_ngcontent-%COMP%] + .c-ticket-details[_ngcontent-%COMP%]{display:block}.c-report-table__body[_ngcontent-%COMP%] .c-report-table__row.c-report-table__row--active[_ngcontent-%COMP%]:hover{background:var(--baseAccountBlue01)}.c-report-table__row-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;border-top:1px solid var(--baseAccountBlue04)}.c-report-table__row-wrapper[_ngcontent-%COMP%]:nth-of-type(odd) .c-report-table__row[_ngcontent-%COMP%]{background:var(--baseAccountBlue06)}.c-report-table__row-wrapper[_ngcontent-%COMP%] .c-report-table__row[_ngcontent-%COMP%]{background-color:var(--baseAccountBlue03)}.c-report-table__row-wrapper[_ngcontent-%COMP%] .c-report-table__row[_ngcontent-%COMP%]:hover{background:var(--baseAccountBlue01)}.c-report-table__row[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.c-report-table__row.loser[_ngcontent-%COMP%] .c-report-table__cell--status[_ngcontent-%COMP%]{color:var(--base-primary)}.c-report-table__row.winner[_ngcontent-%COMP%] .c-report-table__cell--status[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-report-table__cell[_ngcontent-%COMP%]{color:var(--baseTextColor);font-family:var(--font);font-size:14px;line-height:16px;padding:15px 5px 15px 20px;flex:1}.c-report-table__cell.c-report-table__cell--status[_ngcontent-%COMP%]{text-transform:uppercase;position:relative}.c-report-table__cell.c-report-table__cell--share[_ngcontent-%COMP%]{flex:0!important;padding:0 5px!important;display:flex;justify-content:center;align-items:center;overflow:hidden;min-width:80px!important}.c-ticket-details[_ngcontent-%COMP%]{font-size:14px;line-height:16px;color:var(--darker-grey);font-weight:700}.c-ticket-league-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.c-ticket-league[_ngcontent-%COMP%]{font-size:14px;font-weight:400;margin-bottom:10px;color:var(--text-light-color);display:flex;align-items:center}.c-ticket-league[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-child){padding-left:5px}.c-ticket-league[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid var(--text-light-color);padding-right:5px}.c-local-loader-wrapper[_ngcontent-%COMP%]{position:absolute;top:15vw;width:100%;left:50%;transform:translate(-50%)}.c-payments-iframe[_ngcontent-%COMP%]{z-index:var(--z-index-min)}.c-payments-iframe.c-payments-iframe__pe[_ngcontent-%COMP%]{background-color:var(--gray-13)}.dp-modal[_ngcontent-%COMP%]{position:fixed;inset:0;background:#ffffffbf}.dp[_ngcontent-%COMP%]{position:relative;background:#fff;box-shadow:2px 2px 16px #00000040;line-height:1.4;border-radius:4px;max-height:400px;z-index:1000;padding-top:6px;overflow:hidden;-webkit-tap-highlight-color:transparent}.dp[_ngcontent-%COMP%]:before{content:" ";height:6px;position:absolute;top:0;left:0;right:0;background:#3b99fc;background:linear-gradient(-90deg,#3b99fc,#8aefc8)}
1.dp-permanent[_ngcontent-%COMP%] .dp[_ngcontent-%COMP%]{padding-top:0;border:1px solid #EEE;box-shadow:none}.dp-permanent[_ngcontent-%COMP%] .dp[_ngcontent-%COMP%]:before{display:none}.dp-cal[_ngcontent-%COMP%]{min-height:300px}.dp-below[_ngcontent-%COMP%]{position:absolute;font-size:.8em;width:400px;max-width:100vw}.dp-permanent[_ngcontent-%COMP%]{position:relative;font-size:.8em;width:400px;max-width:100vw}.dp-permanent[_ngcontent-%COMP%] .dp[_ngcontent-%COMP%]{z-index:var(--z-index-zero)}.dp-modal[_ngcontent-%COMP%] .dp[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-width:600px;width:calc(100% - 4em);transform:translate(-50%,-50%);animation:_ngcontent-%COMP%_slide-up .3s forwards}.dp-months[_ngcontent-%COMP%]{padding:24px}.dp-years[_ngcontent-%COMP%]{box-sizing:border-box;max-height:400px;padding:8px 0;overflow:auto!important}.dp-cal-month[_ngcontent-%COMP%], .dp-cal-year[_ngcontent-%COMP%], .dp-day[_ngcontent-%COMP%], .dp-month[_ngcontent-%COMP%], .dp-year[_ngcontent-%COMP%]{box-sizing:border-box;text-align:center;text-decoration:none;position:relative;color:#3b404d;border-radius:2px;border:0;background:transparent}.dp-cal-header[_ngcontent-%COMP%]{position:relative;text-align:center;padding-bottom:16px;background:#f5f5f5}.dp-next[_ngcontent-%COMP%], .dp-prev[_ngcontent-%COMP%]{position:absolute;width:30px;height:30px;overflow:hidden;top:14px;color:#777;border-radius:2px;border:0;background:transparent}.dp-next[_ngcontent-%COMP%]:focus, .dp-prev[_ngcontent-%COMP%]:focus, .dp-next[_ngcontent-%COMP%]:hover, .dp-prev[_ngcontent-%COMP%]:hover{outline:none;color:inherit}.dp-prev[_ngcontent-%COMP%]{left:24px}.dp-next[_ngcontent-%COMP%]{right:24px}.dp-prev[_ngcontent-%COMP%]:before, .dp-next[_ngcontent-%COMP%]:before{content:"";border:2px solid;width:10px;height:10px;display:inline-block;transform:rotate(-45deg);transition:border-color .2s;margin:9px 0 40px 4px}.dp-prev[_ngcontent-%COMP%]:before{border-right:0;border-bottom:0}.dp-next[_ngcontent-%COMP%]:before{border-left:0;border-top:0;margin-left:0;margin-right:4px}.dp-cal-month[_ngcontent-%COMP%], .dp-cal-year[_ngcontent-%COMP%]{display:inline-block;font-size:1.4em;padding:16px 8px 8px;outline:none}.dp-cal-footer[_ngcontent-%COMP%]{text-align:center;background:#f5f5f5}.dp-day-today[_ngcontent-%COMP%]:after{content:"";height:0;width:0;border:7px solid #227BD7;border-bottom-color:transparent;border-left-color:transparent;position:absolute;top:0;right:0}.dp-close[_ngcontent-%COMP%], .dp-clear[_ngcontent-%COMP%], .dp-today[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;width:33%;padding:8px;text-decoration:none;color:inherit;border:0;background:transparent}.dp-permanent[_ngcontent-%COMP%] .dp-close[_ngcontent-%COMP%], .dp-permanent[_ngcontent-%COMP%] .dp-clear[_ngcontent-%COMP%]{display:none}.dp-close[_ngcontent-%COMP%]:active, .dp-clear[_ngcontent-%COMP%]:active, .dp-today[_ngcontent-%COMP%]:active, .dp-next[_ngcontent-%COMP%]:active, .dp-prev[_ngcontent-%COMP%]:active, .dp-cal-month[_ngcontent-%COMP%]:active, .dp-cal-year[_ngcontent-%COMP%]:active{background:#75bcfc;color:#fff}@media screen and (min-device-width: 1200px){.dp-close[_ngcontent-%COMP%]:hover, .dp-close[_ngcontent-%COMP%]:focus, .dp-clear[_ngcontent-%COMP%]:hover, .dp-clear[_ngcontent-%COMP%]:focus, .dp-today[_ngcontent-%COMP%]:hover, .dp-today[_ngcontent-%COMP%]:focus, .dp-next[_ngcontent-%COMP%]:hover, .dp-next[_ngcontent-%COMP%]:focus, .dp-prev[_ngcontent-%COMP%]:hover, .dp-prev[_ngcontent-%COMP%]:focus, .dp-cal-month[_ngcontent-%COMP%]:focus, .dp-cal-month[_ngcontent-%COMP%]:hover, .dp-cal-year[_ngcontent-%COMP%]:hover, .dp-cal-year[_ngcontent-%COMP%]:focus{background:#75bcfc;color:#fff}}.dp-col-header[_ngcontent-%COMP%], .dp-day[_ngcontent-%COMP%]{width:14.28571429%;display:inline-block;padding:8px;text-align:center}.dp-col-header[_ngcontent-%COMP%]{color:#aaa;text-transform:uppercase;font-weight:300;font-size:.8em;padding:8px 0}.dp-month[_ngcontent-%COMP%]{width:33%;display:inline-block;padding:8px}.dp-year[_ngcontent-%COMP%]{display:block;padding:8px 40px;width:100%}.dp-edge-day[_ngcontent-%COMP%]{color:#aaa}.dp-day[_ngcontent-%COMP%]:hover, .dp-month[_ngcontent-%COMP%]:hover, .dp-year[_ngcontent-%COMP%]:hover, .dp-current[_ngcontent-%COMP%]:focus, .dp-day[_ngcontent-%COMP%]:focus, .dp-month[_ngcontent-%COMP%]:focus, .dp-year[_ngcontent-%COMP%]:focus{outline:none;background:#75bcfc;color:#fff}.dp-selected[_ngcontent-%COMP%]:hover, .dp-selected[_ngcontent-%COMP%]:focus, button.dp-day.dp-selected[_ngcontent-%COMP%]{background:#3b99fc;color:#fff}.dp-day-disabled[_ngcontent-%COMP%]{background:transparent;color:#ddd}.dp-day-disabled[_ngcontent-%COMP%]:focus, .dp-day-disabled[_ngcontent-%COMP%]:hover{background:#ddd}button.dp-current.dp-day-disabled[_ngcontent-%COMP%]{color:#ddd;background-color:transparent}.dp-day.dp-current[_ngcontent-%COMP%]{background:#fff;color:#3b404d}.dp-focuser[_ngcontent-%COMP%]{position:absolute;z-index:var(--z-index-zero);top:50%;left:50%}@media (max-width: 480px),(max-height: 480px){.dp-modal[_ngcontent-%COMP%] .dp[_ngcontent-%COMP%]{font-size:.9em;width:auto;width:100%}.dp-day-of-week[_ngcontent-%COMP%], .dp-day[_ngcontent-%COMP%]{padding:8px}}@keyframes _ngcontent-%COMP%_slide-up{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}.ngx-file-drop__drop-zone[_ngcontent-%COMP%]{height:auto!important;border:1px dashed var(--baseAccountSettingsColor11)!important}.ngx-file-drop__drop-container[_ngcontent-%COMP%] .ngx-file-drop__drop-zone[_ngcontent-%COMP%]{padding:0 20px!important;border:1px dashed var(--bankAccountFileUploaderBorder)!important}.ngx-file-drop__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;margin:25px 0 20px;border-radius:10px;padding:0!important;font-size:14px!important;line-height:16px;width:100%;color:var(--darker-grey)!important;height:auto!important}.ngx-file-drop__content[_ngcontent-%COMP%]{border:none}.bank__list-item-button-text[_ngcontent-%COMP%]{padding:5px 0}.c-sumsub-sdk-wrapper[_ngcontent-%COMP%]{position:absolute;inset:0;padding:.5em;background:#000000b3;font-size:1em;line-height:1.1;font-weight:500;z-index:var(--z-index-min);display:flex;flex-direction:column}.c-modal-wrapper[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;padding:0 20px;background-color:var(--baseBackdropBg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:var(--z-index-error-modal)}.c-modal[_ngcontent-%COMP%]{width:100%;padding:0;max-width:340px;
1background-color:var(--baseModalBackground);color:var(--baseTextColor);border-radius:10px;overflow:hidden}.c-modal__header[_ngcontent-%COMP%]{padding:0 10px}.c-modal__title[_ngcontent-%COMP%]{width:100%;padding:10px;color:var(--baseTextColor);font-size:18px;text-align:center;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-modal__body[_ngcontent-%COMP%]{padding:20px 10px;font-size:13px;line-height:16px;text-align:center}.c-modal__footer[_ngcontent-%COMP%]{padding-top:0}.c-modal__button[_ngcontent-%COMP%]{width:100%;border-radius:4px;text-transform:uppercase;background:var(--base-green-01);color:var(--white);max-width:200px;font-size:13px;height:30px;font-weight:700;text-align:center;display:flex;align-items:center;justify-content:center}.c-modal__info[_ngcontent-%COMP%]{margin-top:10px}.c-success-popup__amount[_ngcontent-%COMP%], .c-success-popup__currency[_ngcontent-%COMP%]{font-size:18px;font-weight:700;color:var(--base-yellow-01);margin-right:5px}.c-success-popup__currency[_ngcontent-%COMP%]{margin-right:0}.c-success-popup__untranslated_message[_ngcontent-%COMP%]{padding-top:10px;font-size:18px;font-weight:700;color:var(--baseTextColor)}'],data:{animation:[_.WL]}})}}return S})()},1595:(he,M,r)=>{"use strict";r.d(M,{w:()=>l});var o=r(58114),i=r(60177),d=r(54438),h=r(89417),v=r(73955),_=r(82361),m=r(14553),p=r(39934),u=r(20279),E=r(96467);const C=y=>({disabled:y});let l=(()=>{class y{constructor(){this._modalService=(0,d.WQX)(_.B),this._routingService=(0,d.WQX)(p.O),this.payload=(0,d.hFB)({})}closeModal(){this._modalService.close()}navigateToSumsubVerification(){this._routingService.navigateToAccountPageByPageName(u.db.ACCOUNT_VERIFICATION),this.closeModal()}static{this.\u0275fac=function(P){return new(P||y)}}static{this.\u0275cmp=d.VBU({type:y,selectors:[["app-sumsub-verification-modal"]],inputs:{payload:[1,"payload"]},standalone:!0,features:[d.aNF],decls:18,vars:12,consts:[[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-button-close",3,"click"],["icon","close",1,"c-button-close-icon"],[1,"c-modal__body"],["icon","verification-info",1,"c-modal__body-icon"],[1,"c-modal__body-text"],[1,"c-modal__footer"],[1,"c-sumsub-button",3,"click","ngClass"],["icon","verification-icon",1,"c-sumsub-button__icon"],[1,"c-sumsub-button__text"]],template:function(P,F){1&P&&(d.j41(0,"div",0)(1,"div",1)(2,"p",2),d.EFF(3),d.nI1(4,"translate"),d.k0s(),d.j41(5,"button",3),d.bIt("click",function(){return F.closeModal()}),d.nrm(6,"svg-icon",4),d.k0s()(),d.j41(7,"div",5),d.nrm(8,"svg-icon",6),d.j41(9,"p",7),d.EFF(10),d.nI1(11,"translate"),d.k0s()(),d.j41(12,"div",8)(13,"div",9),d.bIt("click",function(){return F.navigateToSumsubVerification()}),d.nrm(14,"svg-icon",10),d.j41(15,"span",11),d.EFF(16),d.nI1(17,"translate"),d.k0s()()()()),2&P&&(d.R7$(3),d.JRh(d.bMT(4,4,"general.sumsub_verification_modal_title")),d.R7$(7),d.SpI(" ",d.bMT(11,6,"pending"===F.payload().status?"general.sumsub_verification_modal_message_pending_status":"general.sumsub_verification_modal_message_not_verified_status")," "),d.R7$(3),d.Y8G("ngClass",d.eq3(10,C,"pending"===F.payload().status)),d.R7$(3),d.JRh(d.bMT(17,8,"account.verify_sumsub")))},dependencies:[v.h,v.D9,i.CommonModule,i.NgClass,h.X1,o.A,E.D,m.n],styles:[".c-modal[_ngcontent-%COMP%]{min-width:476px;border:1px solid var(--baseBlue18);background-color:var(--baseBlue21)}.c-modal__body[_ngcontent-%COMP%]{padding:18px 32px 8px;display:flex;flex-direction:column;align-items:center}.c-settings-modal-switch[_ngcontent-%COMP%]{max-height:24px}.c-modal__body-text[_ngcontent-%COMP%]{margin-top:23px;color:var(--base-white-02);font-size:14px}.c-modal__header[_ngcontent-%COMP%]{font-size:18px}.c-modal__body-icon[_ngcontent-%COMP%]{width:18px;height:18px}.c-settings-field[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--baseWhite13)}.c-settings-field__inner[_ngcontent-%COMP%]{display:flex;flex:1}.c-settings-field__label[_ngcontent-%COMP%]{color:var(--baseWhite16);font-family:var(--font);font-size:16px;font-weight:600;line-height:24px;margin-right:32px}.c-settings-field__button[_ngcontent-%COMP%]{border:1px solid var(--baseBlue18);color:var(--baseWhite01);padding:10px 16px;font-family:var(--font-cond);font-size:12px;font-weight:500;flex:1}.c-settings-field__button.selected[_ngcontent-%COMP%]{background-color:var(--baseYellow06);color:var(--baseBlack07)}.c-settings-field__button[_ngcontent-%COMP%]:first-of-type{border-radius:4px 0 0 4px}.c-settings-field__button[_ngcontent-%COMP%]:not(:first-of-type){border-left:0}.c-settings-field__button[_ngcontent-%COMP%]:last-of-type{border-radius:0 4px 4px 0}.c-modal__footer[_ngcontent-%COMP%]{padding:16px 38px 30px;gap:20px}.c-button[_ngcontent-%COMP%]{height:44px;font-size:15px;font-weight:500}.c-sumsub-button[_ngcontent-%COMP%]{min-width:330px}"]})}}return y})()},48391:(he,M,r)=>{"use strict";r.d(M,{u:()=>i});var o=r(76543);function i(d,h){const v=d?.rewardsAvailable||[],_=d?.maxPotentialRewards||0;return v.map(m=>{const p=h.includes(m.id);let u=!1;if(!p)if(h.length>=_)u=!0;else for(const E of h){const C=v.find(y=>y.id===E);if(C&&C.otherRewardsRelation?.find(I=>I.id===m.id)?.operator===o.mL.OR){u=!0;break}if(m.otherRewardsRelation?.find(y=>y.id===E)?.operator===o.mL.OR){u=!0;break}}
1return{...m,isSelected:p,isDisabled:u}})}},24709:(he,M,r)=>{"use strict";r.d(M,{Y:()=>S});var o=r(54438),i=r(73955),d=r(60177),h=r(39934),v=r(58114),_=r(5450),m=r(48115),p=r(2091),u=r(96467);const E=["cardContainer"];function C(P,F){if(1&P){const N=o.RV6();o.j41(0,"svg-icon",6),o.bIt("click",function(){o.eBV(N);const T=o.XpG();return o.Njj(T.scrollLeft())}),o.k0s()}}function l(P,F){if(1&P&&(o.j41(0,"div",9)(1,"span",10),o.EFF(2),o.nI1(3,"titlecase"),o.k0s()()),2&P){let N;const U=o.XpG(2);o.R7$(2),o.SpI(" ",o.bMT(3,1,null==(N=U.selectedGame())?null:N.gameName)," ")}}function y(P,F){if(1&P){const N=o.RV6();o.j41(0,"div",4)(1,"div",7),o.bIt("click",function(){const T=o.eBV(N).$index,L=o.XpG();return o.Njj(L.onSliderChange(T))}),o.nrm(2,"img",8),o.k0s(),o.DNE(3,l,4,3,"div",9),o.k0s()}if(2&P){const N=F.$implicit,U=F.$index,T=o.XpG();o.R7$(),o.AVh("c-card--highlight",U===T.focusedGameIndex()),o.R7$(),o.FS9("alt",null==N?null:N.gameName),o.Y8G("src",null==N?null:N.imageUrl,o.B4B),o.R7$(),o.vxM(U===T.focusedGameIndex()?3:-1)}}function I(P,F){if(1&P){const N=o.RV6();o.j41(0,"svg-icon",11),o.bIt("click",function(){o.eBV(N);const T=o.XpG();return o.Njj(T.scrollRight())}),o.k0s()}}let S=(()=>{class P{constructor(N){this._router=N,this._casinoService=(0,o.WQX)(_.p),this._stabilityService=(0,o.WQX)(m.B),this._routingService=(0,o.WQX)(h.O),this.isProgrammaticScroll=!1,this.freeCasinoGames=(0,o.hFB)([]),this.freeCasinoGamesMapped=(0,o.EWP)(()=>{const U=this.freeCasinoGames();return U.length&&"id"in U[0]?U.map(this.mapResponseFromWebSocket):U}),this.focusedGameIndex=(0,o.vPA)(0),this.selectedGame=(0,o.vPA)(null),this.isLoading=!0,this.launchType="DIRECT_FROM_URL",this.wallet="STANDARD",this.gameMode="REAL"}ngOnInit(){this.freeCasinoGames().length?this.freeCasinoGames().length>2?(this.focusedGameIndex.set(1),this.updateSelectedGame()):this.freeCasinoGames().length>0&&this.updateSelectedGame():this.selectedGame.set(null)}ngAfterViewInit(){this.freeCasinoGames().length>0&&this.scrollToFocusedCard(),this.cardContainerRef?.nativeElement.addEventListener("scroll",this.onScroll.bind(this))}ngOnDestroy(){clearTimeout(this.scrollTimeoutId),clearTimeout(this.resetTimeoutId),this.cardContainerRef?.nativeElement.removeEventListener("scroll",this.onScroll.bind(this))}mapResponseFromWebSocket(N){return{gameId:N.id,gameName:N.name,imageUrl:N.portraitImageUrl,slugUrl:N.slugUrl,launchType:"DIRECT_FROM_URL",wallet:"STANDARD",gameMode:"REAL"}}onScroll(){if(!this.cardContainerRef||this.isProgrammaticScroll)return;const N=this.cardContainerRef.nativeElement,U=N.querySelectorAll(".c-card");let T=this.focusedGameIndex(),L=1/0;U.forEach((Z,ie)=>{const ve=Z.getBoundingClientRect(),me=N.getBoundingClientRect();if((Math.min(ve.right,me.right)-Math.max(ve.left,me.left))/ve.width>=.6){const V=Math.abs(me.left+me.width/2-(ve.left+ve.width/2));V<L&&(L=V,T=ie)}}),T!==this.focusedGameIndex()&&(this.focusedGameIndex.set(T),this.updateSelectedGame())}scrollLeft(){this.focusedGameIndex()>0&&this.adjustFocus(this.focusedGameIndex()-1)}scrollRight(){this.focusedGameIndex()<this.freeCasinoGames().length-1&&this.adjustFocus(this.focusedGameIndex()+1)}onSliderChange(N){this.adjustFocus(N)}navigateToGame(){this._casinoService.setAlternativeLaunchType(this.selectedGame().launchType||this.launchType),this._router.navigate([this._routingService.getCasinoPageUrlByPageNameAndCasinoType(this.selectedGame()?.slugUrl,"casino")],{state:{casinoGameMode:this.selectedGame()?.gameMode||this.gameMode,wallet:this.selectedGame()?.wallet||this.wallet}})}adjustFocus(N){this.focusedGameIndex.set(N),this.updateSelectedGame(),this.scrollToFocusedCard()}updateSelectedGame(){this.selectedGame.set(this.freeCasinoGamesMapped()[this.focusedGameIndex()]??null)}scrollToFocusedCard(){const N=this.cardContainerRef?.nativeElement;if(!N)return;const U=N.querySelectorAll(".c-card")[this.focusedGameIndex()];if(U){const T=U.getBoundingClientRect(),L=N.getBoundingClientRect(),Z=T.left-L.left-(L.width/2-T.width/2);this.isProgrammaticScroll=!0,this.scrollTimeoutId=this._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>{N.scrollTo({left:N.scrollLeft+Z,behavior:"smooth"})},0)}),this.resetTimeoutId=this._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>{this.isProgrammaticScroll=!1,this.updateSelectedGame()},500)})}}static{this.\u0275fac=function(U){return new(U||P)(o.rXU(p.Ix))}}static{this.\u0275cmp=o.VBU({type:P,selectors:[["free-spins-notification-sli
1der"]],viewQuery:function(U,T){if(1&U&&o.GBs(E,5),2&U){let L;o.mGM(L=o.lsd())&&(T.cardContainerRef=L.first)}},inputs:{freeCasinoGames:[1,"freeCasinoGames"]},standalone:!0,features:[o.aNF],decls:7,vars:2,consts:[["cardContainer",""],[1,"c-content-wrapper"],["icon","free-spins-arrow-left",1,"c-content-wrapper__arrow","c-content-wrapper__arrow--left"],[1,"c-card-container"],[1,"c-card-wrapper"],["icon","free-spins-arrow-right",1,"c-content-wrapper__arrow","c-content-wrapper__arrow--right"],["icon","free-spins-arrow-left",1,"c-content-wrapper__arrow","c-content-wrapper__arrow--left",3,"click"],[1,"c-card",3,"click"],[1,"c-card__img",3,"src","alt"],[1,"c-card__subtitle_container"],[1,"c-card__subtitle_text"],["icon","free-spins-arrow-right",1,"c-content-wrapper__arrow","c-content-wrapper__arrow--right",3,"click"]],template:function(U,T){1&U&&(o.j41(0,"div",1),o.DNE(1,C,1,0,"svg-icon",2),o.j41(2,"div",3,0),o.Z7z(4,y,4,5,"div",4,o.Vm6),o.k0s(),o.DNE(6,I,1,0,"svg-icon",5),o.k0s()),2&U&&(o.R7$(),o.vxM(T.focusedGameIndex()>0?1:-1),o.R7$(3),o.Dyx(T.freeCasinoGamesMapped()),o.R7$(2),o.vxM(T.focusedGameIndex()<T.freeCasinoGamesMapped().length-1?6:-1))},dependencies:[i.h,d.CommonModule,d.TitleCasePipe,v.A,u.D],styles:["[_nghost-%COMP%]{scroll-snap-align:start;scroll-snap-stop:always;--card-width: 150px}.c-content-wrapper[_ngcontent-%COMP%], .c-card-container[_ngcontent-%COMP%]{scrollbar-width:none;-ms-overflow-style:none}.c-card-container[_ngcontent-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;mask-image:linear-gradient(to right,#fff0,#000 20% 90%,#fff0);-webkit-mask-image:linear-gradient(to right,rgba(255,255,255,0) 0%,rgb(0,0,0) 20%,rgb(0,0,0) 90%,rgba(255,255,255,0) 100%)}.c-content-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar, .c-card-container[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.c-content-wrapper[_ngcontent-%COMP%]{width:100%;position:relative;overflow-x:auto;scroll-padding-left:0px;scroll-padding-right:0px}.c-content-wrapper[_ngcontent-%COMP%] .c-content-wrapper__arrow[_ngcontent-%COMP%]{width:28px;height:37px;position:absolute;top:45%;transform:translateY(-50%);z-index:200;border-radius:50%;padding:10px;color:var(--baseBlack14);cursor:pointer}.c-content-wrapper[_ngcontent-%COMP%] .c-content-wrapper__arrow--left[_ngcontent-%COMP%]{right:93%;margin-left:10px}.c-content-wrapper[_ngcontent-%COMP%] .c-content-wrapper__arrow--right[_ngcontent-%COMP%]{left:93%}.c-card-container[_ngcontent-%COMP%]{display:flex;align-items:flex-end;justify-content:flex-start;overflow-x:scroll;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:0 calc((100% - var(--card-width)) / 2) 0;margin-bottom:10px;gap:12px}.c-card-container.center[_ngcontent-%COMP%]{justify-content:center;padding:0}.c-card-wrapper[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;scroll-snap-align:center}.c-card[_ngcontent-%COMP%]{flex:0 0 auto;border-radius:8px;background-color:var(--black);width:122px;height:222px;position:relative;transition:transform .5s,filter .5s;will-change:transform;cursor:pointer}.c-card.c-card--highlight[_ngcontent-%COMP%]{height:248px;width:150px;z-index:1}.c-card[_ngcontent-%COMP%] .c-card[_ngcontent-%COMP%]:first-of-type{margin-left:95px}.c-card[_ngcontent-%COMP%] .c-card[_ngcontent-%COMP%]:last-of-type{margin-right:125px}.c-card__img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:fill;border-radius:6px}.c-card__subtitle_container[_ngcontent-%COMP%]{width:160px;margin:5px auto 0;text-align:center;transition:opacity .99s ease;color:var(--baseBlack14);line-height:24px}.c-card__subtitle_container[_ngcontent-%COMP%] .c-card__subtitle_text[_ngcontent-%COMP%]{text-align:center;font-size:20px;font-weight:700;font-family:var(--font)!important;white-space:normal;word-break:break-word}.c-card__subtitle_container[_ngcontent-%COMP%] .c-card--no-highlight[_ngcontent-%COMP%]{font-size:12px!important}"]})}}return P})()},46819:(he,M,r)=>{"use strict";r.d(M,{f:()=>_});var o=r(54438),i=r(6327),d=r(89417),h=r(73955),v=r(48115);let _=(()=>{class m{constructor(){this._stabilityService=(0,o.WQX)(v.B),this.onSubmitCode=new o.bkB,this.isPasteInProgress=!1,this.otpPassword={input1:"",input2:"",input3:"",input4:"",input5:"",input6:""}}onChange(u,E){if(!this.isPasteInProgress){if("Backspace"===u.key)return this.otpPassword[`input${E}`]="",void this._setFieldInFocus(E-1);if("ArrowLeft"!==u.key)if("ArrowRight"!==u.key){if(/^[a-zA-Z0-9]$/.test(u.key)){if(this.otpPassword[`input${E}`]=u.key.toUpperCase(),this._canSubmit())return void this.emitSubmit();this._setFieldInFocus(E+1)}}else this._setFieldInFocus(E+1);else this._setFieldInFocus(E-1)}}emitSubmit(){this.onSubmitCode.emit((0,i.A)(this.otpPassword).join(""))}onPaste(u){this.isPasteInProgress=!0;const E=u.clipboardData?.getData("text")||"";this.handleOnPaste(E)}handleOnPaste(u){this._setPastedText(u),this._setFieldInFocus(u.length<6?u.length:6),this._canSubmit()&&this.emitSubmit()}clearInput(){for(let u=1;u<=6;u++)this.otpPassword[`input${u}`]=""}_setPastedText(u){u.substring(0,6).split("").forEach((E,C)=>{this.otpPassword[`input${C+1}`]=E}),this._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>this.isPasteInProgress=!1,300)})}_setFieldInFocus(u){document.getElementById(`otp-password-${u}`)?.focus()}_canSubmit(){return Object.keys(this.otpPassword).every(u=>this.otpPassword[u])}static{this.\u0275fac=function(E){return new(E||m)}}static{this.\u0275cmp=o.VBU({type:m,selectors:[["otp-code-input"]],inputs:{isSubmitting:"isSubmitting"},outputs:{onSubmitCode:"onSubmitCode"},standalone:!0,features:[o.aNF],decls:11,vars:12,consts:[[1,"c-input-field"],[1,"c-input-field__label"],[1,"c-input__wrapper"],["type","text","id","otp-password-1","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],["type","text","id","otp-password-2","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],["type","text","id","otp-password-3","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],[1,"c-input__divider"],["type","text","id","otp-password-4","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],["type","text","id","otp-password-5","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],["type","text","id","otp-password-6","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"]],template:function(E,C){1&E&&(o.j41(0,"div",0)(1,"label",1)(2,"div",2)(3,"input",3),o.bIt("keyup",function(y){return C.onChange(y,1)})("paste",function(y){return C.onPaste(y)}),o.k0s(),o.j41(4,"input",4),o.bIt("keyup",function(y){return C.onChange(y,2)})("paste",function(y){return C.onPaste(y)}),o.k0s(),o.j41(5,"input",5),o.bIt("keyup",function(y){return C.onChange(y,3)})("paste",function(y){return C.onPaste(y)}),o.k0s()(),o.nrm(6,"span",6),o.j41(7,"div",2)(8,"input",7),o.bIt("keyup",function(y){return C.onChange(y,4)})("paste",function(y){return C.onPaste(y)}),o.k0s(),o.j41(9,"input",8),o.bIt("keyup",function(y){return C.onChange(y,5)})("paste",function(y){return C.onPaste(y)}),o.k0s(),o.j41(10,"input",9),o.bIt("keyup",function(y){return C.onChange(y,6)})("paste",function(y){return C.onPaste(y)}),o.k0s()()()()),2&E&&(o.R7$(3),o.Y8G("value",C.otpPassword.input1)("disabled",C.isSubmitting),o.R7$(),o.Y8G("value",C.otpPassword.input2)("disabled",C.isSubmitting),o.R7$(),o.Y8G("value",C.otpPassword.input3)("disabled",C.isSubmitting),o.R7$(3),o.Y8G("value",C.otpPassword.input4)("disabled",C.isSubmitting),o.R7$(),o.Y8G("value",C.otpPassword.input5)("disabled",C.isSubmitting),o.R7$(),o.Y8G("value",C.otpPassword.input6)("disabled",C.isSubmitting))},dependencies:[d.YN,h.h],styles:['.c-input-field[_ngcontent-%COMP%]{position:relative;margin-bottom:10px}.c-input-field.c-input-field--success[_ngcontent-%COMP%]:before{background-image:url(success-indicator.4b928420b308f92c.svg);opacity:1}.c-input-field.c-input-field--password[_ngcontent-%COMP%]:before{right:40px}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{position:relative;display:block;line-height:20px;padding-left:5px;margin-top:-1px;background-color:var(--base-primary);border-radius:0 0 4px 4px;font-family:var(--font);color:var(--white);width:100%;font-size:12px}.c-input-field[_ngcontent-%COMP%]:before{content:"";position:absolute;right:10px;top:39px;pointer-events:none;touch-action:none;display:block;opacity:0;transition:opacity .2s linear;width:12px;height:12px;background-image:none;background-size:100%;background-position:center;background-repeat:no-repeat}.c-input-field__label[_ngcontent-%COMP%]{font-family:var(--font);line-height:30px;display:flex;justify-content:space-between}.c-input[_ngcontent-%COMP%]{padding:0 10px;line-height:30px;font-size:12px;font-family:var(--font-cond);border:1px solid var(--baseAccountBlue04);border-radius:4px;background-color:var(--baseBlue08);color:var(--inputColor)}.c-input[_ngcontent-%COMP%]:focus{border-color:var(--baseAccountBlue05)}.c-error-message[_ngcontent-%COMP%]{display:none;
1width:65%;margin-left:auto}.c-label[_ngcontent-%COMP%]{line-height:16px;margin-bottom:5px;margin-left:10px;color:var(--baseWhite06)}',".c-input-field[_ngcontent-%COMP%]{width:fit-content;margin:30px auto 10px}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input__wrapper[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-radius:0}.c-input-field__label[_ngcontent-%COMP%]{gap:15px;align-items:center;justify-content:center}.c-input__wrapper[_ngcontent-%COMP%]{border:1px solid var(--baseAccountBlue04);border-radius:5px;overflow:hidden}.c-input__divider[_ngcontent-%COMP%]{width:15px;height:1px;border:1px solid var(--baseTextColor)}.c-input[_ngcontent-%COMP%]{aspect-ratio:1;width:80px;height:94px;border-top:none;border-left:none;border-bottom:none;border-radius:0;text-align:center;text-transform:uppercase;background-color:var(--baseBlue08);font-size:28px}.c-input[_ngcontent-%COMP%]:last-of-type{border:none}.c-input[_ngcontent-%COMP%]:focus{border-color:var(--baseAccountBlue04)}"]})}}return m})()},65785:(he,M,r)=>{"use strict";r.d(M,{h:()=>I});var o=r(54438),i=r(94727),d=r(21834),h=r(13801),v=r(45906),_=r(58114),m=r(73955),p=r(58618);function u(S,P){if(1&S&&(o.j41(0,"expression-validation-indicator",1),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&S){const F=o.XpG(2);o.Y8G("value",F.value())("validationPattern",F.ULTRAWEAK_PASSWORD_REGEX),o.R7$(),o.SpI(" ",o.bMT(2,3,"registration.password_length_four")," ")}}function E(S,P){if(1&S&&(o.j41(0,"expression-validation-indicator",1),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&S){const F=o.XpG(2);o.Y8G("value",F.value())("validationPattern",F.WEAK_PASSWORD_REGEX),o.R7$(),o.SpI(" ",o.bMT(2,3,"registration.password_length_six")," ")}}function C(S,P){if(1&S&&(o.j41(0,"expression-validation-indicator",1),o.EFF(1),o.nI1(2,"translate"),o.k0s(),o.j41(3,"expression-validation-indicator",1),o.EFF(4),o.nI1(5,"translate"),o.k0s(),o.j41(6,"expression-validation-indicator",1),o.EFF(7),o.nI1(8,"translate"),o.k0s(),o.j41(9,"expression-validation-indicator",1),o.EFF(10),o.nI1(11,"translate"),o.k0s(),o.j41(12,"expression-validation-indicator",1),o.EFF(13),o.nI1(14,"translate"),o.k0s()),2&S){const F=o.XpG(2);o.Y8G("value",F.value())("validationPattern",F.EIGHT_CHARACTERS_REGEX),o.R7$(),o.SpI(" ",o.bMT(2,15,"registration.password_length_eight")," "),o.R7$(2),o.Y8G("value",F.value())("validationPattern",F.NUMBER_REGEX),o.R7$(),o.SpI(" ",o.bMT(5,17,"registration.password_one_number")," "),o.R7$(2),o.Y8G("value",F.value())("validationPattern",F.UPPERCASE_REGEX),o.R7$(),o.SpI(" ",o.bMT(8,19,"registration.password_one_uppercase_character")," "),o.R7$(2),o.Y8G("value",F.value())("validationPattern",F.SPECIAL_CHARACTER_REGEX),o.R7$(),o.SpI(" ",o.bMT(11,21,"registration.password_one_special_character")," "),o.R7$(2),o.Y8G("value",F.value())("validationPattern",F.NON_WHITESPACE_REGEX),o.R7$(),o.SpI(" ",o.bMT(14,23,"registration.password_no_whitespace")," ")}}function l(S,P){if(1&S&&(o.DNE(0,u,3,5,"expression-validation-indicator",1),o.nI1(1,"generalConfigurationPipe"),o.DNE(2,E,3,5,"expression-validation-indicator",1)(3,C,15,25)),2&S){let F;const N=o.XpG();o.vxM((F=o.bMT(1,1,"passwordType"))===N.PASSWORD_CONFIG_VALUE.ULTRAWEAK?0:F===N.PASSWORD_CONFIG_VALUE.WEAK?2:F===N.PASSWORD_CONFIG_VALUE.STRONG?3:-1)}}function y(S,P){if(1&S&&(o.j41(0,"expression-validation-indicator",0),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&S){const F=o.XpG();o.Y8G("validationPattern",F.NON_WHITESPACE_REGEX),o.R7$(),o.SpI(" ",o.bMT(2,2,"registration.password_and_username_matched")," ")}}let I=(()=>{class S{constructor(){this.value=(0,o.hFB)(""),this.similarityCheck=(0,o.hFB)(!1),this.PASSWORD_CONFIG_VALUE=i.jt,this.WEAK_PASSWORD_REGEX=i.PM,this.ULTRAWEAK_PASSWORD_REGEX=i.NH,this.EIGHT_CHARACTERS_REGEX=i.$x,this.NUMBER_REGEX=i.M$,this.UPPERCASE_REGEX=i.jK,this.SPECIAL_CHARACTER_REGEX=i.MZ,this.NON_WHITESPACE_REGEX=i.Oo}static{this.\u0275fac=function(N){return new(N||S)}}static{this.\u0275cmp=o.VBU({type:S,selectors:[["password-validation-indicator"]],inputs:{value:[1,"value"],similarityCheck:[1,"similarityCheck"]},standalone:!0,features:[o.Jv_([]),o.aNF],decls:2,vars:1,consts:[[1,"c-input-validation-indicator",3,"validationPattern"],[3,"value","validationPattern"]],template:function(N,U){1&N&&o.DNE(0,l,4,3)(1,y,3,4,"expression-validation-indicator",0),2&N&&o.vxM(U.similarityCheck()?1:0)},dependencies:[v.U,m.D9,_.A,h.m,d.j,p.T],encapsulation:2})}}return S})()},82870:(he,M,r)=>{"use strict";r.d(M,{Y:()=>v});var o=r(58114),i=r(73955),d=r(45906),h=r(54438);let v=(()=>{class _{static{this.\u0275fac=function(u){return new(u||_)}}static{this.\u0275mod=h.$C({type:_})}static{this.\u0275inj=h.G2t({imports:[d.U,o.A,i.h]})}}return _})()}
1,57041:(he,M,r)=>{"use strict";r.d(M,{I:()=>E});var o=r(62125),i=r(22804),d=r(73955),h=r(58114),v=r(31727),_=r(54438),m=r(82361),p=r(34405),u=r(96467);let E=(()=>{class C{constructor(y,I){this._modalService=y,this._restConfigurationService=I,this.iframeUrl=""}ngOnInit(){this._initIframeUrl()}closeModal(){this._modalService.close()}_initIframeUrl(){const y=this._restConfigurationService.getGeneralCustomConfigurationParams("h2hStatisticsUrl");if(!y)return;const{language:I,type:S,id:P}=this._getBetradarUnifiedData();this.iframeUrl=y.replace("{locale}/{type}/{betradarId}",`${I}/${S}/${P}`)}_getBetradarUnifiedData(){const y=(0,o.A)(this.payload.event,"header.betradar");return{language:this._getLanguage(),type:y.type,id:y.id}}_getLanguage(){switch(i.P.locale){case"sr":return"srl";case"ca":return"br";default:return i.P.locale}}static{this.\u0275fac=function(I){return new(I||C)(_.rXU(m.B),_.rXU(p.M))}}static{this.\u0275cmp=_.VBU({type:C,selectors:[["single-event-statistics-modal"]],inputs:{payload:"payload"},standalone:!0,features:[_.aNF],decls:10,vars:6,consts:[[1,"c-modal",2,"width","95%","height","95%"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-button-close",3,"click"],["icon","close","data-cy","loginCloseButton",1,"c-button-close-icon"],[1,"c-modal__body",2,"height","100%"],[2,"height","100%",3,"src"]],template:function(I,S){1&I&&(_.j41(0,"div",0)(1,"div",1)(2,"p",2),_.EFF(3),_.nI1(4,"translate"),_.k0s(),_.j41(5,"button",3),_.bIt("click",function(){return S.closeModal()}),_.nrm(6,"svg-icon",4),_.k0s()(),_.j41(7,"div",5),_.nrm(8,"iframe",6),_.nI1(9,"safe"),_.k0s()()),2&I&&(_.R7$(3),_.JRh(_.bMT(4,2,"general.statistics")),_.R7$(5),_.Y8G("src",_.bMT(9,4,S.iframeUrl),_.f$h))},dependencies:[d.h,d.D9,h.A,u.D,v.g],styles:['[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}.c-forgot-password-link[_ngcontent-%COMP%]{width:100%;margin-left:auto;text-align:right}.c-forgot-password-link[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-family:var(--font);color:var(--baseButtonColor02);text-decoration:none;font-size:12px;font-weight:400}.c-forgot-password-link[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{text-decoration:underline}.c-input-field[_ngcontent-%COMP%]{margin-bottom:15px}.c-input-field__label[_ngcontent-%COMP%]{flex-direction:column}.c-input[_ngcontent-%COMP%]{width:100%}.c-input__show-password[_ngcontent-%COMP%]{color:var(--baseTextColor);position:absolute;right:10px;top:37px;transform:translateY(-50%);height:20px;width:20px;overflow-y:hidden;border-radius:50%;transition:all .2s linear}.c-input__show-password[_ngcontent-%COMP%] .show-password[_ngcontent-%COMP%]{width:20px;height:40px;transition:transform .2s linear}.c-input__show-password.c-input__show-password--show[_ngcontent-%COMP%] .show-password[_ngcontent-%COMP%]{transform:translateY(-50%)}.c-login-description[_ngcontent-%COMP%]{font-family:var(--font);color:var(--baseTextColor);font-size:14px;padding:0 0 20px;font-weight:600}.c-modal__footer-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;flex-direction:column;justify-content:center}.c-modal__footer-spacer-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:100%}.c-modal-line-container[_ngcontent-%COMP%]{width:100%;padding:0 20px}.c-modal-line[_ngcontent-%COMP%]{content:"";position:absolute;left:0;right:0;display:block;width:100%;height:1px;background-color:var(--baseBlue19);padding:0 20px}.c-modal__footer-spacer[_ngcontent-%COMP%]{padding:5px 10px;font-size:14px;text-transform:uppercase;background-color:var(--baseModalBackground);z-index:2;color:var(--baseAccountWhite06)}.c-modal__footer-otp[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:20px}.c-label[_ngcontent-%COMP%]{margin-left:0;color:var(--baseTextColor);font-weight:400}.c-registration-login-note[_ngcontent-%COMP%]{color:var(--base-white-06);font-size:14px;line-height:1.2;padding-bottom:20px;text-align:center}.c-registration-login-note__button[_ngcontent-%COMP%]{color:var(--base-green-01);font-weight:600;text-decoration:underline;background-color:transparent;border:none}']})}}return C})()},56955:(he,M,r)=>{"use strict";r.d(M,{X:()=>o,z:()=>i});const o="ALL",i="BET_BUILDER"},36435:(he,M,r)=>{"use strict";r.r(M),r.d(M,{SmsActivationModal:()=>y});var o=r(10467),i=r(60177),d=r(89417),h=r(73955),v=r(49837),_=r(58114),m=r(43647),p=r(86807),u=r(54438),E=r(82361),C=r(58167),l=r(96467);let y=(()=>{class I{constructor(P,F){this._modalService=P,this._authService=F,this.isValidSmsCode=!0}_closeModal(){this._modalService.close()}close(){this.payload.cancelFunction&&this.payload.cancelFunction(),this._closeModal()}setSmsCodeValue(P){this.smsCodeValue=P,this.smsCodeValue.isValid&&
1(this.isValidSmsCode=!0)}onSubmit(){var P=this;return(0,o.A)(function*(){if(P.isValidSmsCode=P.smsCodeValue?.isValid||!1,!P.isValidSmsCode)return;const F=P.smsCodeValue?.smsCodeValue||"",N=P.payload.phone.replace("+","");P._authService.activateSms(N,F).subscribe(function(){var U=(0,o.A)(function*(T){P._authService.loginInProgress=!0,P._closeModal(),yield P._authService.loginUser({password:P.payload.password,username:N,grant_type:v.s.ACCOUNT},!1,!0),P._authService.loginActionHappened(),P._modalService.openPopup({component:p.SuccessPopup,payload:T.payload})});return function(T){return U.apply(this,arguments)}}())})()}resendActivationCode(){const P=this.payload.phone.replace("+","");this._authService.resendSmsActivation(P).subscribe(F=>{this._showSuccessPopup(F.payload)})}_showSuccessPopup(P){this._modalService.openPopup({component:p.SuccessPopup,payload:P})}static{this.\u0275fac=function(F){return new(F||I)(u.rXU(E.B),u.rXU(C.u))}}static{this.\u0275cmp=u.VBU({type:I,selectors:[["sms-activation-modal"]],inputs:{payload:"payload"},standalone:!0,features:[u.aNF],decls:23,vars:16,consts:[[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-button-close",3,"click"],["icon","close",1,"c-button-close-icon"],[1,"c-modal__body"],[1,"c-sms-modal__title"],[3,"onSubmitSms","isValid"],[1,"c-resend-password"],[3,"click"],[1,"c-modal__footer"],[1,"c-button","c-button--large",3,"click"],[1,"c-button","c-button--success","c-button--large",3,"click"]],template:function(F,N){1&F&&(u.j41(0,"div",0)(1,"div",1)(2,"p",2),u.EFF(3),u.nI1(4,"translate"),u.k0s(),u.j41(5,"button",3),u.bIt("click",function(){return N.close()}),u.nrm(6,"svg-icon",4),u.k0s()(),u.j41(7,"div",5)(8,"h3",6),u.EFF(9),u.nI1(10,"translate"),u.k0s(),u.j41(11,"sms-code-input",7),u.bIt("onSubmitSms",function(T){return N.setSmsCodeValue(T)}),u.k0s(),u.j41(12,"div",8)(13,"button",9),u.bIt("click",function(){return N.resendActivationCode()}),u.EFF(14),u.nI1(15,"translate"),u.k0s()()(),u.j41(16,"div",10)(17,"button",11),u.bIt("click",function(){return N.close()}),u.EFF(18),u.nI1(19,"translate"),u.k0s(),u.j41(20,"button",12),u.bIt("click",function(){return N.onSubmit()}),u.EFF(21),u.nI1(22,"translate"),u.k0s()()()),2&F&&(u.R7$(3),u.JRh(u.bMT(4,6,"registration.sms_activation")),u.R7$(6),u.JRh(u.bMT(10,8,"general.activation_code_desctiption")),u.R7$(2),u.Y8G("isValid",N.isValidSmsCode),u.R7$(3),u.JRh(u.bMT(15,10,"registration.resend_sms")),u.R7$(4),u.JRh(u.bMT(19,12,"general.cancel")),u.R7$(3),u.JRh(u.bMT(22,14,"general.login")))},dependencies:[h.h,h.D9,i.CommonModule,d.X1,d.YN,_.A,l.D,m.J,m.V],styles:['.c-input-field[_ngcontent-%COMP%]{position:relative;margin-bottom:10px}.c-input-field.c-input-field--success[_ngcontent-%COMP%]:before{background-image:url(success-indicator.4b928420b308f92c.svg);opacity:1}.c-input-field.c-input-field--password[_ngcontent-%COMP%]:before{right:40px}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{position:relative;display:block;line-height:20px;padding-left:5px;margin-top:-1px;background-color:var(--base-primary);border-radius:0 0 4px 4px;font-family:var(--font);color:var(--white);width:100%;font-size:12px}.c-input-field[_ngcontent-%COMP%]:before{content:"";position:absolute;right:10px;top:39px;pointer-events:none;touch-action:none;display:block;opacity:0;transition:opacity .2s linear;width:12px;height:12px;background-image:none;background-size:100%;background-position:center;background-repeat:no-repeat}.c-input-field__label[_ngcontent-%COMP%]{font-family:var(--font);line-height:30px;display:flex;justify-content:space-between}.c-input[_ngcontent-%COMP%]{padding:0 10px;line-height:30px;font-size:12px;font-family:var(--font-cond);border:1px solid var(--baseAccountBlue04);border-radius:4px;background-color:var(--baseBlue08);color:var(--inputColor)}.c-input[_ngcontent-%COMP%]:focus{border-color:var(--baseAccountBlue05)}.c-error-message[_ngcontent-%COMP%]{display:none;width:65%;margin-left:auto}.c-label[_ngcontent-%COMP%]{line-height:16px;margin-bottom:5px;margin-left:10px;color:var(--baseWhite06)}',".c-sms-modal__title[_ngcontent-%COMP%]{font-size:14px;font-weight:400;color:var(--baseWhite06);text-align:center;margin-bottom:30px;margin-top:10px}.c-resend-password[_ngcontent-%COMP%]{width:100%;max-width:300px;margin:0 auto;text-align:right}.c-resend-password[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-family:var(--font);color:var(--baseButtonColor02);text-decoration:underline;font-size:12px;font-weight:400;margin-left:auto}"]})}}return I})()},43647:(he,M,r)=>{"use strict";r.d(M,{J:()=>l,V:()=>C});var o=r(60177),i=r(54438),d=r(89417),h=r(73955),v=r(6327),_=r(23712),m=r(86052);const p=y=>({"c-input-field--alert":y}),u=y=>({"c-input__wrapper--registration-page":y});function E(y,I){1&y&&(i.j41(0,"span",6),i.EFF(1,"-"),i.k0s())}let C=(()=>{class y{constructor(){this.onSubmitSms=new i.bkB,this.isValid=!0,this.isRegistrationPage=!1,this.isPasteInProgress=!1,this.otpPassword={input1:"",input2:"",input3:"",input4:"",input5:"",input6:""}}onChange(S,P){let F=!1;const N=S.target;this.otpPassword[`input${P}`]=N.value,F=Object.keys(this.otpPassword).every(U=>this.otpPassword[U]),F?this.onSubmit(!0):(this.onSubmit(!1),document.getElementById(`otp-password-${P+(N.value?1:-1)}`)?.focus())}onSubmit(S){this.onSubmitSms.emit({smsCodeValue:(0,v.A)(this.otpPassword).join(""),isValid:S})}onPaste(S){if(this.isPasteInProgress)return;const P=S.clipboardData?.getData("text")||"";this._setPastedText(P),this.onSubmit(!0)}_setPastedText(S){this.isPasteInProgress=!0,(0,_.A)((0,m.A)(S,"").slice(0,6),(P,F)=>{this.otpPassword[`input${F+1}`]=P})}static{this.\u0275fac=function(P){return new(P||y)}}static{this.\u0275cmp=i.VBU({type:y,selectors:[["sms-code-input"]],inputs:{isValid:"isValid",isRegistrationPage:"isRegistrationPage"},outputs:{onSubmitSms:"onSubmitSms"},decls:14,vars:19,consts:[[1,"c-input-field",3,"ngClass"],[1,"c-input-field__label"],[1,"c-input__wrapper",3,"ngClass"],["type","text","id","otp-password-1","maxlength","1",1,"c-input",3,"keyup","paste","ngModelChange","ngModel"],["type","text","id","otp-password-2","maxlength","1",1,"c-input",3,"keyup","paste","ngModelChange","ngModel"],["type","text","id","otp-password-3","maxlength","1",1,"c-input",3,"keyup","paste","ngModelChange","ngModel"],[1,"c-input__divider"],["type","text","id","otp-password-4","maxlength","1",1,"c-input",3,"keyup","paste","ngModelChange","ngModel"],["type","text","id","otp-password-5","maxlength","1",1,"c-input",3,"keyup","paste","ngModelChange","ngModel"],["type","text","id","otp-password-6","maxlength","1",1,"c-input",3,"keyup","paste","ngModelChange","ngModel"],[1,"c-error-message"]],template:function(P,F){1&P&&(i.j41(0,"div",0)(1,"label",1)(2,"div",2)(3,"input",3),i.bIt("keyup",function(U){return F.onChange(U,1)})("paste",function(U){return F.onPaste(U)}),i.mxI("ngModelChange",function(U){return i.DH7(F.otpPassword.input1,U)||(F.otpPassword.input1=U),U}),i.k0s(),i.j41(4,"input",4),i.bIt("keyup",function(U){return F.onChange(U,2)})("paste",function(U){return F.onPaste(U)}),i.mxI("ngModelChange",function(U){return i.DH7(F.otpPassword.input2,U)||(F.otpPassword.input2=U),U}),i.k0s(),i.j41(5,"input",5),i.bIt("keyup",function(U){return F.onChange(U,3)})("paste",function(U){return F.onPaste(U)}),i.mxI("ngModelChange",function(U){return i.DH7(F.otpPassword.input3,U)||(F.otpPassword.input3=U),U}),i.k0s()(),i.DNE(6,E,2,0,"span",6),i.j41(7,"div",2)(8,"input",7),i.bIt("keyup",function(U){return F.onChange(U,4)})("paste",function(U){return F.onPaste(U)}),i.mxI("ngModelChange",function(U){return i.DH7(F.otpPassword.input4,U)||(F.otpPassword.input4=U),U}),i.k0s(),i.j41(9,"input",8),i.bIt("keyup",function(U){return F.onChange(U,5)})("paste",function(U){return F.onPaste(U)}),i.mxI("ngModelChange",function(U){return i.DH7(F.otpPassword.input5,U)||(F.otpPassword.input5=U),U}),i.k0s(),i.j41(10,"input",9),i.bIt("keyup",function(U){return F.onChange(U,6)})("paste",function(U){return F.onPaste(U)}),i.mxI("ngModelChange",function(U){return i.DH7(F.otpPassword.input6,U)||(F.otpPassword.input6=U),U}),i.k0s()()(),i.j41(11,"div",10),i.EFF(12),i.nI1(13,"translate"),i.k0s()()),2&P&&(i.Y8G("ngClass",i.eq3(13,p,!F.isValid)),i.R7$(2),i.Y8G("ngClass",i.eq3(15,u,F.isRegistrationPage)),i.R7$(),i.R50("ngModel",F.otpPassword.input1),i.R7$(),i.R50("ngModel",F.otpPassword.input2),i.R7$(),i.R50("ngModel",F.otpPassword.input3),i.R7$(),i.vxM(F.isRegistrationPage?-1:6),i.R7$(),i.Y8G("ngClass",i.eq3(1
17,u,F.isRegistrationPage)),i.R7$(),i.R50("ngModel",F.otpPassword.input4),i.R7$(),i.R50("ngModel",F.otpPassword.input5),i.R7$(),i.R50("ngModel",F.otpPassword.input6),i.R7$(2),i.JRh(i.bMT(13,11,"general.required_code")))},dependencies:[o.NgClass,d.me,d.BC,d.tU,d.vS,h.D9],styles:['.c-input-field[_ngcontent-%COMP%]{position:relative;margin-bottom:10px}.c-input-field.c-input-field--success[_ngcontent-%COMP%]:before{background-image:url(success-indicator.4b928420b308f92c.svg);opacity:1}.c-input-field.c-input-field--password[_ngcontent-%COMP%]:before{right:40px}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{position:relative;display:block;line-height:20px;padding-left:5px;margin-top:-1px;background-color:var(--base-primary);border-radius:0 0 4px 4px;font-family:var(--font);color:var(--white);width:100%;font-size:12px}.c-input-field[_ngcontent-%COMP%]:before{content:"";position:absolute;right:10px;top:39px;pointer-events:none;touch-action:none;display:block;opacity:0;transition:opacity .2s linear;width:12px;height:12px;background-image:none;background-size:100%;background-position:center;background-repeat:no-repeat}.c-input-field__label[_ngcontent-%COMP%]{font-family:var(--font);line-height:30px;display:flex;justify-content:space-between}.c-input[_ngcontent-%COMP%]{padding:0 10px;line-height:30px;font-size:12px;font-family:var(--font-cond);border:1px solid var(--baseAccountBlue04);border-radius:4px;background-color:var(--baseBlue08);color:var(--inputColor)}.c-input[_ngcontent-%COMP%]:focus{border-color:var(--baseAccountBlue05)}.c-error-message[_ngcontent-%COMP%]{display:none;width:65%;margin-left:auto}.c-label[_ngcontent-%COMP%]{line-height:16px;margin-bottom:5px;margin-left:10px;color:var(--baseWhite06)}',".c-input-field[_ngcontent-%COMP%]{width:fit-content;margin:0 auto 10px}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input__wrapper[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-radius:0}.c-input-field__label[_ngcontent-%COMP%]{gap:15px;align-items:center;justify-content:center}.c-input__wrapper[_ngcontent-%COMP%]{border:1px solid var(--baseAccountBlue04);border-radius:4px;overflow:hidden}.c-input__wrapper.c-input__wrapper--registration-page[_ngcontent-%COMP%]{border:1.5px solid var(--baseBlue57);border-radius:7px}.c-input__wrapper.c-input__wrapper--registration-page[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]:not(:last-child){border-right:1.5px solid var(--baseBlue57)}.c-input__wrapper.c-input__wrapper--registration-page[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{height:78px;width:69px;background-color:var(--baseBlue58);font-size:20px}.c-input[_ngcontent-%COMP%]{aspect-ratio:1;width:44px;border-top:none;border-left:none;border-bottom:none;border-radius:0;text-align:center}.c-input[_ngcontent-%COMP%]:last-of-type{border:none}.c-input[_ngcontent-%COMP%]:focus{border-color:var(--baseAccountBlue04)}"]})}}return y})(),l=(()=>{class y{static{this.\u0275fac=function(P){return new(P||y)}}static{this.\u0275mod=i.$C({type:y})}static{this.\u0275inj=i.G2t({imports:[h.h,o.CommonModule,d.X1,d.YN]})}}return y})()},96467:(he,M,r)=>{"use strict";r.d(M,{D:()=>d});var o=r(54438);function i(h,v){if(1&h&&(o.qSk(),o.nrm(0,"use",0)),2&h){const _=o.XpG();o.x72("style","display: ",_.flag?"block":"none",";",o.$dS)}}let d=(()=>{class h{constructor(){this.icon="",this.flag=!1,this.sport=!1,this.showDefaultFlag=!0}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275cmp=o.VBU({type:h,selectors:[["svg-icon"]],inputs:{icon:"icon",flag:"flag",sport:"sport",showDefaultFlag:"showDefaultFlag"},decls:3,vars:4,consts:[[0,"xlink","href","assets/styles/flags-sprites/svg/sprite.css.svg#default"]],template:function(m,p){1&m&&(o.qSk(),o.j41(0,"svg"),o.DNE(1,i,1,2,":svg:use",0),o.nrm(2,"use"),o.k0s()),2&m&&(o.R7$(),o.vxM(p.showDefaultFlag?1:-1),o.R7$(),o.qtP("href","assets/styles/",p.flag?"flags-sprites":p.sport?"sport-sprites":"sprites","/svg/sprite.css.svg#",p.icon,""))},styles:["[_nghost-%COMP%]{display:inline-flex}.c-icon--xs-14[_nghost-%COMP%]{width:14px;
1height:14px}.c-icon--xs[_nghost-%COMP%]{width:16px;height:16px}.c-icon--xs-10[_nghost-%COMP%]{width:10px;height:10px}.c-icon--xs-2[_nghost-%COMP%]{width:14px;height:14px}.c-icon--xs-12[_nghost-%COMP%]{width:12px;height:12px}.c-icon--xs-17[_nghost-%COMP%]{width:17px;height:17px}.c-icon--xs-3[_nghost-%COMP%]{width:18px;height:18px}.c-icon--sm[_nghost-%COMP%]{width:20px;height:20px}.c-icon--sm-1[_nghost-%COMP%]{width:19px;height:21px}.c-icon--sm-2[_nghost-%COMP%]{width:24px;height:24px}.c-icon--sm-23[_nghost-%COMP%]{width:23px;height:23px}.c-icon--md[_nghost-%COMP%]{width:30px;height:30px}.c-icon--md-1[_nghost-%COMP%]{width:32px;height:32px}.c-icon--carousel-controls[_nghost-%COMP%]{width:30px;height:56px}.c-icon--md-2[_nghost-%COMP%]{width:40px;height:40px}.c-icon--md-4[_nghost-%COMP%]{width:44px;height:44px}.c-icon--md-3[_nghost-%COMP%]{width:50px;height:50px}.c-icon--lg[_nghost-%COMP%]{width:67px;height:67px}.c-icon--height-30[_nghost-%COMP%]{height:30px}.c-icon--h-13-w-17[_nghost-%COMP%]{height:13px;width:17px}.c-icon--h-17-w-15[_nghost-%COMP%]{height:17px;width:15px}.rival-region-flag[_nghost-%COMP%] svg[_ngcontent-%COMP%], .top-league[_nghost-%COMP%] svg[_ngcontent-%COMP%]{transform:scale(1.5)}svg[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;width:100%}"]})}}return h})()},58114:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});var o=r(54438);let i=(()=>{class d{static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275mod=o.$C({type:d})}static{this.\u0275inj=o.G2t({})}}return d})()},57146:(he,M,r)=>{"use strict";r.d(M,{bS:()=>ye,$8:()=>ge,mw:()=>Pe});var o=r(54438),i=r(29689),d=r(10977),h=r(74077);const _=function v(Me,We,Oe){for(var tt=-1,Qe=Me.length;++tt<Qe;){var _t=Me[tt],ht=We(_t);if(null!=ht&&(void 0===mt?ht==ht&&!(0,h.A)(ht):Oe(ht,mt)))var mt=ht,Vt=_t}return Vt};var m=r(71981);const u=function p(Me,We){return Me<We},y=function l(Me,We){return Me>We};var P=r(62125),F=r(72036),N=r(49969),U=r(95006),T=r(54103),L=r(58167),Z=r(60177),ie=r(96467),ve=r(73955),me=r(10475);const xe=(Me,We)=>We.translation,$=Me=>({"stroke-dashoffset":Me}),V=Me=>({open:Me}),oe=(Me,We,Oe)=>({"c-ticket-condition-color-valid":Me,"c-ticket-condition-color-invalid":We,"c-ticket-condition-color-idle":Oe});function z(Me,We){if(1&Me&&o.nrm(0,"svg-icon",11),2&Me){const Oe=o.XpG(2);o.Y8G("ngClass",o.eq3(1,V,Oe.areConditionsVisible))}}function W(Me,We){1&Me&&o.nrm(0,"svg-icon",20)}function re(Me,We){1&Me&&o.nrm(0,"svg-icon",21)}function ee(Me,We){if(1&Me&&(o.j41(0,"li",16),o.EFF(1),o.nI1(2,"translate"),o.j41(3,"span",17),o.EFF(4),o.nI1(5,"formatCurrency"),o.k0s(),o.DNE(6,W,1,0,"svg-icon",18)(7,re,1,0,"svg-icon",19),o.k0s()),2&Me){const Oe=o.XpG().$implicit,tt=o.XpG(3);o.R7$(),o.Lme(" ",o.bMT(2,7,Oe.translation),"",Oe.isSpecialCondition?"":":"," "),o.R7$(2),o.Y8G("ngClass",o.sMw(11,oe,!Oe.isSpecialCondition&&Oe.conditionState===tt.ConditionState.VALID,!Oe.isSpecialCondition&&Oe.conditionState===tt.ConditionState.INVALID,Oe.isSpecialCondition||Oe.conditionState===tt.ConditionState.IDLE)),o.R7$(),o.Lme(" ",Oe.value," ",Oe.showCurrency?tt.currency.alphabeticCode:o.bMT(5,9,"")," "),o.R7$(2),o.Y8G("ngIf",!Oe.isSpecialCondition&&Oe.conditionState===tt.ConditionState.VALID),o.R7$(),o.Y8G("ngIf",!Oe.isSpecialCondition&&Oe.conditionState===tt.ConditionState.INVALID)}}function Se(Me,We){1&Me&&o.DNE(0,ee,8,15,"li",16),2&Me&&o.vxM(We.$implicit.value?0:-1)}function J(Me,We){if(1&Me&&(o.j41(0,"div",22),o.nrm(1,"svg-icon",23),o.j41(2,"div",24),o.EFF(3),o.nI1(4,"translate"),o.nI1(5,"formatCurrency"),o.k0s()()),2&Me){const Oe=o.XpG(3);o.R7$(3),o.E5c(" ",o.bMT(4,3,"ticket.max_payout")," ",Oe.maxPayoutTo()," ",o.bMT(5,5,Oe.currency.alphabeticCode),". ")}}function de(Me,We){if(1&Me&&(o.j41(0,"div")(1,"div",12)(2,"div",13),o.EFF(3),o.nI1(4,"translate"),o.nI1(5,"uppercase"),o.k0s(),o.j41(6,"div",14),o.Z7z(7,Se,1,1,null,null,xe),o.DNE(9,J,6,7,"div",15),o.k0s()()()),2&Me){const Oe=o.XpG(2);o.Y8G("@openClose",void 0),o.R7$(3),o.JRh(o.bMT(5,5,o.bMT(4,3,"ticket.betslip_bonus_condition_header"))),o.R7$(4),o.Dyx(Oe.notificationConditions()),o.R7$(2),o.Y8G("ngIf",Oe.maxPayoutTo())}}function ke(Me,We){if(1&Me){const Oe=o.RV6();o.j41(0,"div",1)(1,"div",2),o.bIt("click",function(){o.eBV(Oe);const Qe=o.XpG();return o.Njj(Qe.toggleConditionsVisibility())}),o.j41(2,"div",3),o.qSk(),o.j41(3,"svg",4),o.nrm(4,"path",5)(5,"path",6),o.k0s(),o.joV(),o.j41(6,"div",7),o.EFF(7),o.k0s()(),o.j41(8,"p",8),o.EFF(9),o.nI1(10,"translate"),o.k0s(),o.j41(11,"button"),o.DNE(12,z,1,3,"svg-icon",9),o.k0s()(),o.DNE(13,de,10,7,"div",10),o.k0s()}if(2&Me){const Oe=o.XpG();o.Y8G("ngClass",Oe.metConditions()===Oe.conditionsToMeet()?"c-ticket-progress--active":"c-ticket-progress--inactive"),o.R7$(5),o.Y8G("ngStyle",o.eq3(9,$,Oe.percentageProgress())),o.R7$(2),o.Lme(" ",Oe.metConditions()," / ",Oe.conditionsToMeet()," "),o.R7$(2),o.JRh(o.bMT(10,7,"ticket.bonus_progress_message")),o.R7$(3),o.Y8G("ngIf",!0),o.R7$(),o.Y8G("ngIf",Oe.areConditionsVisible)}}
1var ge=function(Me){return Me.VALID="VALID",Me.INVALID="INVALID",Me}(ge||{}),ye=function(Me){return Me.IDLE="IDLE",Me.VALID="VALID",Me.INVALID="INVALID",Me}(ye||{});let Pe=(()=>{class Me{constructor(Oe,tt,Qe){this._ticketService=Oe,this._notificationsService=tt,this._authService=Qe,this._currentTicket=(0,o.vPA)({},{equal:()=>!1}),this._notification=(0,o.vPA)({},{equal:d.A}),this._payinState=(0,o.vPA)(ge.VALID),this.ConditionState=ye,this.currency={},this.areConditionsVisible=!1,this._subscriptions=[],this.notificationConditions=(0,o.EWP)(()=>[{translation:"ticket.min_selection_quota",value:this._notification().minPricePerItemFrom,conditionState:this._minSelectionQuotaState()},{translation:"ticket.max_selection_quota",value:this._notification().minPricePerItemTo,conditionState:this._maxSelectionQuotaState()},{translation:"ticket.min_selections",value:this._notification().minNumberOfWinnerItemsFrom,conditionState:this._minSelectionNumberState()},{translation:"ticket.max_selections",value:this._notification().minNumberOfWinnerItemsTo,conditionState:this._maxSelectionNumberState()},{translation:"ticket.min_payin",value:this._notification().payinFrom,showCurrency:!0,conditionState:this._minPayInState()},{translation:"ticket.max_payin",value:this._notification().payinTo,showCurrency:!0,conditionState:this._maxPayInState()},{translation:"ticket.min_combinations",value:this._notification().numberOfCombinationsFrom,conditionState:this._minNumberOfCombinationsState()},{translation:"ticket.max_combinations",value:this._notification().numberOfCombinationsTo,conditionState:this._maxNumberOfCombinationsState()},{translation:"ticket.min_payout",value:this._notification().maxPayoutFrom,showCurrency:!0,conditionState:this._minPayoutState()},{translation:"ticket.min_total_price",value:this._notification().minTotalPrice,showCurrency:!1,conditionState:this._minTotalPriceState()},{translation:"ticket.max_total_price",value:this._notification().maxTotalPrice,showCurrency:!1,conditionState:this._maxTotalPriceState()}]),this._areConditionsMet=(0,o.QZP)(()=>{this._ticketService.bonusConditions.next(this.metConditions()===this.conditionsToMeet()?ye.VALID:ye.INVALID)}),this.metConditions=(0,o.EWP)(()=>this.notificationConditions().filter(_t=>_t.conditionState===ye.VALID).length),this.conditionsToMeet=(0,o.EWP)(()=>this.notificationConditions().filter(_t=>!_t.isSpecialCondition&&_t.value).length),this.maxPayoutTo=(0,o.EWP)(()=>this._notification().maxPayoutTo),this.percentageProgress=(0,o.EWP)(()=>this.metConditions()/this.conditionsToMeet()*100+100),this._activeSelections=(0,o.EWP)(()=>this._currentTicket().selections?.filter(_t=>"ACTIVE"===_t.status&&!_t.dummy)),this._minSelectionQuota=(0,o.EWP)(()=>function E(Me,We){return Me&&Me.length?_(Me,(0,m.A)(We,2),u):void 0}(this._activeSelections(),_t=>_t.price)?.price||0),this._maxSelectionQuota=(0,o.EWP)(()=>function I(Me,We){return Me&&Me.length?_(Me,(0,m.A)(We,2),y):void 0}(this._activeSelections(),_t=>_t.price)?.price||0),this._numberOfSelections=(0,o.EWP)(()=>(0,P.A)(this._activeSelections(),"length",0)),this._minSelectionQuotaState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"minPricePerItemFrom",this._numberOfSelections())?ye.IDLE:this._minSelectionQuota()<this._notification().minPricePerItemFrom?ye.INVALID:ye.VALID),this._maxSelectionQuotaState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"minPricePerItemTo",this._numberOfSelections())?ye.IDLE:this._maxSelectionQuota()>this._notification().minPricePerItemTo?ye.INVALID:ye.VALID),this._minSelectionNumberState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"minNumberOfWinnerItemsFrom",this._numberOfSelections())?ye.IDLE:this._numberOfSelections()<this._notification().minNumberOfWinnerItemsFrom?ye.INVALID:ye.VALID),this._maxSelectionNumberState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"minNumberOfWinnerItemsTo",this._numberOfSelections())?ye.IDLE:this._numberOfSelections()>this._notification().minNumberOfWinnerItemsTo?ye.INVALID:ye.VALID),this._minPayInState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"payinFrom",this._numberOfSelections())?ye.IDLE:this._currentTicket().payin<this._notification().payinFrom||this._payinState()===ge.INVALID?ye.INVALID:ye.VALID),this._maxPayInState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"payinTo",this._numberOfSelections())?ye.IDLE:this._payinState()===ge.INVALID?this._notification().payinFrom?ye.VALID:ye.INVA
1LID:this._currentTicket().payin>this._notification().payinTo?ye.INVALID:ye.VALID),this._minNumberOfCombinationsState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"numberOfCombinationsFrom",this._numberOfSelections())?ye.IDLE:this._currentTicket().numberOfCombinations<this._notification().numberOfCombinationsFrom?ye.INVALID:ye.VALID),this._maxNumberOfCombinationsState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"numberOfCombinationsTo",this._numberOfSelections())?ye.IDLE:this._currentTicket().numberOfCombinations>this._notification().numberOfCombinationsTo?ye.INVALID:ye.VALID),this._minPayoutState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"maxPayoutFrom",this._numberOfSelections())?ye.IDLE:this._currentTicket().minimumPotentialPayout<this._notification().maxPayoutFrom?ye.INVALID:ye.VALID),this._minTotalPriceState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"minTotalPrice",this._numberOfSelections())?ye.IDLE:(this._currentTicket().minimumPrice||0)<this._notification().minTotalPrice?ye.INVALID:ye.VALID),this._maxTotalPriceState=(0,o.EWP)(()=>this._isBonusConditionDisabled(this._currentTicket(),this._notification(),"maxTotalPrice",this._numberOfSelections())?ye.IDLE:(this._currentTicket().minimumPrice||0)>this._notification().maxTotalPrice?ye.INVALID:ye.VALID)}ngOnInit(){this._setUserCurrency(),this._subscribeOnTicketUpdate(),this._subscribeOnTicketPartialUpdate(),this._subscribeOnInvalidPayIn(),this._subscribeOnNotifications()}ngOnDestroy(){this._unsubscribe()}_unsubscribe(){this._subscriptions.forEach(Oe=>Oe.unsubscribe())}toggleConditionsVisibility(){this.areConditionsVisible=!this.areConditionsVisible}_setUserCurrency(){this.currency=this._authService.getAccountCurrencyObject()}_subscribeOnTicketUpdate(){this._currentTicket.set(this._ticketService.currentTicket),this._subscriptions.push(this._ticketService.ticketUpdate$.subscribe(Oe=>{this._currentTicket.set(Oe)}))}_subscribeOnTicketPartialUpdate(){this._subscriptions.push(this._ticketService._ticketPartialSelectionUpdate.subscribe(Oe=>{this._currentTicket.update(tt=>({...tt,selections:Oe}))}))}_subscribeOnInvalidPayIn(){this._subscriptions.push(this._ticketService.payinState.subscribe(Oe=>{this._payinState.set(Oe)}))}_subscribeOnNotifications(){this._subscriptions.push(this._notificationsService.notificationWrappers$.pipe((0,U.T)(i.I.filterBonusAcceptedNotifications)).subscribe(Oe=>{this._notification.set(Oe.length?Oe[0]:{})}))}_isBonusConditionDisabled(Oe,tt,Qe,_t){return(0,F.A)(Oe)||!_t||!tt[Qe]}static{this.\u0275fac=function(tt){return new(tt||Me)(o.rXU(T.Y),o.rXU(i.I),o.rXU(L.u))}}static{this.\u0275cmp=o.VBU({type:Me,selectors:[["ticket-bonus-betslip"]],decls:1,vars:1,consts:[["class","c-ticket-progress",3,"ngClass",4,"ngIf"],[1,"c-ticket-progress",3,"ngClass"],[1,"c-ticket-progress-inner",3,"click"],[1,"c-progress-bar-wrapper"],["viewbox","0 0 110 100",1,"c-progress-bar"],["d","M61 32C61 28.1917 60.2499 24.4206 58.7925 20.9022C57.3351 17.3837 55.199 14.1868 52.5061 11.4939C49.8132 8.80101 46.6163 6.66488 43.0978 5.20749C39.5794 3.75011 35.8083 3 32 3C28.1917 3 24.4206 3.7501 20.9022 5.20749C17.3838 6.66487 14.1868 8.80099 11.4939 11.4939C8.80101 14.1868 6.66489 17.3837 5.2075 20.9022C3.75011 24.4206 3 28.1917 3 32","fill","none",1,"c-progress-bar__background"],["fill","none","d","M61 32C61 28.1917 60.2499 24.4206 58.7925 20.9022C57.3351 17.3837 55.199 14.1868 52.5061 11.4939C49.8132 8.80101 46.6163 6.66488 43.0978 5.20749C39.5794 3.75011 35.8083 3 32 3C28.1917 3 24.4206 3.7501 20.9022 5.20749C17.3838 6.66487 14.1868 8.80099 11.4939 11.4939C8.80101 14.1868 6.66489 17.3837 5.2075 20.9022C3.75011 24.4206 3 28.1917 3 32",1,"c-progress-bar__indicator",3,"ngStyle"],[1,"c-progress-bar__value"],[1,"c-ticket-progress__text"],["icon","menu-dropdown-alt","class","c-ticket-paying-method",3,"ngClass",4,"ngIf"],[4,"ngIf"],["icon","menu-dropdown-alt",1,"c-ticket-paying-method",3,"ngClass"],[1,"c-ticket-bonus"],[1,"c-ticket-bonus-condition"],[1,"c-ticket-bonus-list"],["class","c-ticket-bonus-condition-footer",4,"ngIf"],[1,"c-ticket-bonus-list__item"],[3,"ngClass"],["class","c-ticket-bonus-arrow","icon","success-indicator",4,"ngIf"],["class","c-ticket-bonus-arrow","icon","error-indicator",4,"ngIf"],["icon","success-indicator",1,"c-ticket-bonus-arrow"],["
1icon","error-indicator",1,"c-ticket-bonus-arrow"],[1,"c-ticket-bonus-condition-footer"],["icon","info-new-icon",1,"c-ticket-bonus-condition-footer__info"],[1,"c-ticket-bonus-max-payout-condition"]],template:function(tt,Qe){1&tt&&o.DNE(0,ke,14,11,"div",0),2&tt&&o.Y8G("ngIf",Qe.conditionsToMeet())},dependencies:[Z.NgClass,Z.NgIf,Z.NgStyle,ie.D,ve.D9,Z.UpperCasePipe,me.P],styles:["[_nghost-%COMP%]{margin-top:auto}.c-ticket-progress[_ngcontent-%COMP%]{height:auto;overflow:hidden;margin:10px;color:var(--baseTextColor03);border-radius:4px;display:flex;flex-direction:column;background-color:var(--limitStatusBgColor);border:1px solid var(--baseBlue23)}.c-ticket-progress.c-ticket-progress--active[_ngcontent-%COMP%] .c-progress-bar__value[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-ticket-progress.c-ticket-progress--inactive[_ngcontent-%COMP%] .c-progress-bar__value[_ngcontent-%COMP%]{color:var(--base-green-100)}.c-ticket-progress__active-text[_ngcontent-%COMP%]{background-color:var(--baseGreen02);color:var(--baseGreen03);text-align:center;font-weight:700;padding:5px;border-radius:4px;font-size:13px;margin-bottom:10px}.c-ticket-progress-inner[_ngcontent-%COMP%]{display:flex;align-items:center;padding:10px 8px;background-color:var(--baseBlue23);cursor:pointer;transition:opacity .3s linear}.c-ticket-progress-inner[_ngcontent-%COMP%]:hover{opacity:.8}.c-progress-bar-wrapper[_ngcontent-%COMP%]{position:relative}.c-progress-bar[_ngcontent-%COMP%]{width:65px;height:35px}.c-progress-bar__background[_ngcontent-%COMP%]{stroke-linecap:round;stroke-width:6;stroke:var(--baseBlack10)}.c-progress-bar__indicator[_ngcontent-%COMP%]{stroke-linecap:round;stroke-width:6;stroke:var(--base-green-01);stroke-dasharray:100;transition:stroke-dashoffset .5s linear}.c-progress-bar__value[_ngcontent-%COMP%]{position:absolute;bottom:3px;left:52%;transform:translate(-50%);font-size:14px;line-height:20px;font-weight:500;font-family:var(--font);color:var(--base-green-100)}.c-ticket-progress__text[_ngcontent-%COMP%]{text-align:center;font-size:12px;font-weight:500;font-family:var(--font-cond);padding-left:10px;padding-right:10px}.c-ticket-paying-method[_ngcontent-%COMP%]{position:relative;height:10px;width:10px;color:var(--baseTextColor03);transform:rotate(90deg);transition:transform .2s linear}.c-ticket-paying-method.open[_ngcontent-%COMP%]{transform:rotate(270deg)}.c-ticket-condition-color-valid[_ngcontent-%COMP%]{color:var(--baseGreen08)}.c-ticket-condition-color-invalid[_ngcontent-%COMP%]{color:var(--baseRed06)}.c-ticket-condition-color-idle[_ngcontent-%COMP%]{color:#facc01}.c-ticket-bonus[_ngcontent-%COMP%]{margin:15px 2px 15px 15px;font-size:12px}.c-ticket-bonus-condition[_ngcontent-%COMP%]{margin-bottom:10px;font-weight:700}.c-ticket-bonus-list__item[_ngcontent-%COMP%]{padding-left:1px;padding-right:25px;position:relative;margin:5px 0 0 1px}.c-ticket-bonus-arrow[_ngcontent-%COMP%]{position:absolute;top:50%;right:10px;transform:translateY(-50%);width:12px;height:12px}.c-ticket-bonus-condition-footer[_ngcontent-%COMP%]{display:flex;text-align:center;margin-top:15px}.c-ticket-bonus-condition-footer__info[_ngcontent-%COMP%]{margin-right:5px;width:12px;height:12px}.c-ticket-bonus-max-payout-condition[_ngcontent-%COMP%]{color:var(--baseWhite05)}"],data:{animation:[(0,N.hZ)("openClose",[(0,N.kY)(":enter",[(0,N.iF)({height:"0"}),(0,N.i0)("500ms ease-out",(0,N.iF)({height:"*"}))]),(0,N.kY)(":leave",[(0,N.i0)("500ms ease-out",(0,N.iF)({height:"0"}))])])]},changeDetection:0})}}return Me})()},24766:(he,M,r)=>{"use strict";r.d(M,{Eq:()=>v,iO:()=>
1o,lM:()=>i,ug:()=>h,xS:()=>d});const o=15,i=2,d=8,h=3;var v=function(_){return _.IDLE="IDLE",_.FAVOURITE_GAMES="FAVORITES",_.RECENTLY_PLAYED_GAMES="RECENTLY_PLAYED",_.CASINO_TOURNAMENTS="CASINO_TOURNAMENTS",_}(v||{})},62548:(he,M,r)=>{"use strict";r.d(M,{A:()=>o});const o={EMAIL_ACTIVATION_DATA:"emailActivationData",REDIRECT:"redirect",EMAIL_ACTIVATION_ROUTE:"v2",PROVIDER:"provider",IS_FIRST_TIME_CASINO_MESSAGE_SEEN:"is_first_time_casino_message_seen",SHOW_USER_BALANCE:"show_user_balance"}},42199:(he,M,r)=>{"use strict";r.d(M,{XW:()=>o,Zc:()=>_,a1:()=>d,eV:()=>v,kJ:()=>m,mp:()=>i,t4:()=>h});const o="default",i="ignore",d="general",h="rethrow_error",v="invalid_token",_="insufficient_scope",m="unauthorized"},46663:(he,M,r)=>{"use strict";r.d(M,{CL:()=>d,KV:()=>h,c4:()=>o,xz:()=>i});const o={HIDDEN:"HIDDEN",RESULTED:"RESULTED",FINISHED:"FINISHED",ACTIVE:"ACTIVE",BLOCKED:"BLOCKED",ARCHIVED:"ARCHIVED"},i={HIDDEN:"HIDDEN",RESULTED:"RESULTED",FINISHED:"FINISHED",ACTIVE:"ACTIVE",BLOCKED:"BLOCKED",ARCHIVED:"ARCHIVED"},d={UP:"UP",DOWN:"DOWN",NEUTRAL:"NEUTRAL"},h={PLAYER_MARKET:"PLAYER_MARKET",REGULAR:"REGULAR"}},95447:(he,M,r)=>{"use strict";r.d(M,{BN:()=>F,C$:()=>W,Ge:()=>z,Hc:()=>C,KO:()=>u,KT:()=>J,PZ:()=>ie,Qk:()=>P,SS:()=>v,Sl:()=>U,UG:()=>ve,Wv:()=>S,Xh:()=>o,Z0:()=>re,Zy:()=>$,a$:()=>oe,aZ:()=>i,d7:()=>Se,dA:()=>_,eS:()=>h,fX:()=>T,lF:()=>E,lo:()=>l,nd:()=>d,ny:()=>V,oY:()=>y,pF:()=>N,qk:()=>L,ux:()=>Z,wK:()=>ee});const o="access_token",i="refresh_token",d="session_id",h="theme-name",v="default",_="light",u="STANDARD_BET",E="LIVE_BET",C="ACTIVE",l="lang",y=400,S="favorite_live_matches",P="KENO",F="LUCKY6",N="VIRTUAL_HORSES",U="VIRTUAL_DOGS",T="configurations-translations",L="configurations-rest",Z="configurations-keys",ie="configuration-registration",ve="api/v4/configuration",$="expires_at",V="NEW_TOKEN",oe="text",z="password",W="ALA",re="SMS",ee="old",Se="new",J="repeat"},5954:(he,M,r)=>{"use strict";r.d(M,{$K:()=>o,Du:()=>d,Hr:()=>u,UQ:()=>i,ho:()=>p,jK:()=>_,u5:()=>v,yi:()=>h});const o="BetAbandoned",i="DepositAbandoned",d="abandoned_bet_time_interval",h="abandoned_bet_event_cooldown",v="abandoned_deposit_time_interval",_="abandoned_deposit_event_cooldown",p="NO EMAIL",u="NO PHONE"},46051:(he,M,r)=>{"use strict";r.d(M,{B_:()=>i,I5:()=>d,ir:()=>h});var o=function(v){return v.EN="en",v.ES="es",v.PT="pt",v.FR="fr",v.SR="sr",v.NL="nl",v.SW="sw",v.BR="ca",v.EL="el",v}(o||{});const i=[o.EN,o.ES,o.PT,o.FR,o.SR,o.NL,o.SW,o.BR],d={\u0111:"dj",\u0110:"dj"},h={ca:"pt-BR"}},38886:(he,M,r)=>{"use strict";r.d(M,{Ei:()=>i,I2:()=>C,IH:()=>o,K:()=>v,K9:()=>h,Nk:()=>I,bF:()=>u,de:()=>d,eJ:()=>_,mA:()=>p,ul:()=>E,wE:()=>m});const o=14,i=7,d=90;var h=function(P){return P.FREE_SPINS="FREE_SPINS",P.EXTRA_BONUS="EXTRA_BONUS",P.OTHER="OTHER",P.SPORT_BONUS="SPORT_BONUS",P.CASINO_BONUS="CASINO_BONUS",P}(h||{}),v=function(P){return P.POINTS_EARNED="POINTS_EARNED",P.POINTS_AWARDED_MANUAL="POINTS_AWARDED_MANUAL",P.POINTS_SPENT="POINTS_SPENT",P}(v||{}),_=function(P){return P.ALL="ALL",P.MISSIONS="MISSIONS",P.AWARDS="AWARDS",P}(_||{});const m=[v.POINTS_EARNED,v.POINTS_AWARDED_MANUAL,v.POINTS_SPENT],p=[v.POINTS_EARNED,v.POINTS_AWARDED_MANUAL],u=[v.POINTS_SPENT],E="INVITE_ONLY",C="TIER_3",I="referralCode"},48410:(he,M,r)=>{"use strict";r.d(M,{Ay:()=>u,Hg:()=>i,J4:()=>p,Lx:()=>o,MD:()=>h,gf:()=>m,mv:()=>v,pN:()=>d});const o="DEPOSIT",i="WITHDRAW",d="BETSHOP_ID",h="MARKET_ID",v=["CREATE_TRANSFER_SUCCESS","ACCEPT","RESERVATION_AUTHORIZATION_APPROVED"],m=["CREATE_TRANSFER_SUCCESS","REJECT","FAILED","RESERVATION_AUTHORIZATION_REJECTED","RESERVATION_FAILED"],p=6,u=6},2428:(he,M,r)=>{"use strict";r.d(M,{Di:()=>u,LP:()=>v,Ld:()=>P,Nb:()=>p,OT:()=>I,PS:()=>h,QQ:()=>S,Ql:()=>N,Sr:()=>F,Tc:()=>m,Y5:()=>d,_R:()=>U,ae:()=>l,gV:()=>i,j4:()=>C,pb:()=>y,qG:()=>E,s:()=>_});const i="api/v1/configuration/navigation",d="api/v2/configuration/general",h="api/v1/configuration/betting",v="api/v1/configuration/payments",_="configuration-",m="api/v1/configuration",p={BETTING:"betting",GAME_GROUPS:"game-groups",GENERAL:"general",MY_ACCOUNT:"my-account",NAVIGATION:"navigation",NUMBERS:"numbers",PAYMENTS:"payments",REGISTRATION:"registration",USER_SPECIFIC:"user-specific",MY_ACCOUNT_NAVIGATION:"my-account-navigation"},u="api/v1/client-report",E="api/v2/client-report",C="api/v3/client-report",l={TICKET:"ticket",ACCOUNT_TRANSACTION:"account-transaction",CASINO_TRANSACTION:"casino-transaction",CASINO_PROMOTIONS_HISTORY:"casino-promotion-progress",MISSION_TRANSACTION:"mission-transaction"},y="api/v2/configuration/limit",I="api/v2/account/personal-limits",S="api/v1/account/personal-limits/self-exclusion",P="api/v1/account/personal-limits/timeout",F="api/v1/account/personal-limits/session-timer",N="api/v1/account/personal-limits/availability-period",U="api/v1/account/personal-limits/pause"},20279:(he,M,r)=>{"use strict";r.d(M,{Bi:()=>o,F9:()=>u,GP:()=>m,IF:()=>v,Pg:()=>p,Tc:()=>i,db:()=>d,l0:()=>h,rt:()=>_});const o={DEFAULT:"default",LANDING:"landing",HOME:"home",LIVE:"live",SPORT:"sport",REGION:"region",
1LEAGUE:"league",CASINO:"casino",CASINO_HOME:"casino-home",SPORT_TODAY:"sport-today",MATCHES_TODAY:"matches-today",ODDS:"odds",ACCOUNT_PAGE:"account-page",CASINO_CATEGORY:"casino-category",REGISTRATION:"registration",SINGLE_EVENT:"single-event",LIVE_SINGLE_EVENT:"live-single-event",STATIC:"static-page-template",KENO:"keno",LOTTERY:"lottery",LUCKY_6:"lucky-6",LUCKY_SIX:"lucky-six",VIRTUAL_HORSE_DOG:"virtual-horse-dog",VIRTUALS_PAGE:"virtuals-page",VIRTUAL_RACING:"virtual-racing",PWD_CREATE:"pwdcreate",EMAIL_ACTIVATION:"email-activation",EMAIL_ACTIVATION_V2:"email-activation-v2",COUPONS:"coupons",PROMO_CALENDAR:"promo-calendar",EURO_24_STATISTICS:"euro-24-statistics",ROOT_PAGE:"/",LIVE_DEALER:"live-dealer",VIRTUAL_GAMES:"virtual-games",VIRTUAL_SPORTS:"virtual-sports",VIRTUALS:"virtuals",BETMAN_VIRTUALS:"betman-virtuals",BETGAMES:"betgames",BITVILLE:"bitville",WINGO:"wingo",WINGOCG:"wingocg",GOLDEN_RACE:"golden-race",STATISTICS:"statistics",LIVESCORE:"livescore",NUMBERS:"numbers",DONATIONS:"donations",TAILORED_OFFER:"tailored-offer",HELP:"help",HELP_CATEGORY_PAGE:"category",HELP_SINGLE_QUESTION_PAGE:"single-question",MISSIONS:"missions",MISSIONS_SHOP:"shop",VIP:"vip",MISSIONS_HISTORY:"history",EARLY_PAYOUT:"early-payout",MISSIONS_REFER_A_FRIEND:"refer-a-friend"},i={[o.SPORT]:o.HOME,[o.HOME]:o.HOME,[o.CASINO_HOME]:o.CASINO,[o.VIP]:o.VIP,[o.NUMBERS]:o.NUMBERS,[o.LOTTERY]:o.HOME+"/"+o.KENO,[o.BETMAN_VIRTUALS]:o.HOME+"/"+o.BETMAN_VIRTUALS,[o.BITVILLE]:o.HOME+"/"+o.BITVILLE,[o.BETGAMES]:o.HOME+"/"+o.BETGAMES,[o.GOLDEN_RACE]:o.HOME+"/"+o.GOLDEN_RACE,[o.WINGO]:o.HOME+"/"+o.WINGO,[o.WINGOCG]:o.HOME+"/"+o.WINGOCG,[o.VIRTUAL_HORSE_DOG]:o.HOME+"/"+o.VIRTUAL_RACING,[o.VIRTUAL_RACING]:o.HOME+"/"+o.VIRTUAL_RACING,[o.LUCKY_6]:o.HOME+"/"+o.LUCKY_6,[o.LUCKY_SIX]:o.LUCKY_6,[o.KENO]:o.HOME+"/"+o.KENO,[o.SPORT_TODAY]:o.HOME+"/"+o.ODDS+"/"+o.MATCHES_TODAY,[o.LIVE]:o.HOME+"/"+o.LIVE,[o.VIRTUAL_GAMES]:o.VIRTUALS_PAGE,[o.VIRTUAL_SPORTS]:o.VIRTUALS_PAGE+"/"+o.VIRTUAL_SPORTS,[o.HELP_CATEGORY_PAGE]:o.HELP,[o.MISSIONS_SHOP]:o.MISSIONS+"/"+o.MISSIONS_SHOP,[o.MISSIONS_HISTORY]:o.MISSIONS+"/"+o.MISSIONS_HISTORY,[o.EARLY_PAYOUT]:o.HOME+"/"+o.EARLY_PAYOUT,[o.MISSIONS_REFER_A_FRIEND]:o.MISSIONS+"/"+o.MISSIONS_REFER_A_FRIEND},d={PERSONAL_DATA:"personal-data",NOTIFICATIONS:"notifications",DEPOSITED:"deposit",WITHDRAW:"withdraw",PAYOUT_RETAIL_TICKETS:"payout-retail-tickets",DEPOSITED_SUCCESS:"deposited-success",WITHDRAW_SUCCESS:"withdraw-success",DEPOSITED_ERROR:"deposited-error",WITHDRAW_ERROR:"withdraw-error",TICKET_REPORT:"ticket-report",ACCOUNT_TRANSACTION:"account-transaction",CASINO_TRANSACTION:"casino-transactions",TRANSACTION_HISTORY:"transaction-history",ACCOUNT_SETTINGS:"settings",PERSONAL_DOCUMENTS:"personal-documents",PERSONAL_LIMITS:"personal-limits",EXCLUSION_LIMITS:"exclusion-limits",TRANSACTION_LIMITS:"transaction-limits",SESSION_DURATION:"session-duration",AVAILABILITY_PERIOD:"availability-period",MANAGE_BANK_ACCOUNTS:"manage-bank-accounts",CASINO_PROMOTIONS_HISTORY:"casino-promotions-history",BONUS_PROMOTIONS:"bonus-promotions",PAUSE_LIMIT:"pause-duration",SESSION_HISTORY:"session-history",PLAYER_MISSIONS:"player-missions",ACCOUNT_VERIFICATION:"verification",ANNUAL_GROSS:"annual-gross",BONUS_REPORT:"bonus-report"},h={ERROR:"error",REGISTRATION:"registration",VIRTUAL:"virtual",LUCKY_PAGE:"lucky_page",KENO_PAGE:"keno_page",URL:"url",PERIOD_DESCRIPTION:"period_description",ACCOUNT:"account",HEADER:"header",TICKET:"ticket",GENERAL:"general",PAYMENT:"payment"},v="date_error",_="overlapping_dates_description",m="account_nothing_selected",p="status_nothing_selected",u="pageWithTabsOnly"},23220:(he,M,r)=>{"use strict";r.d(M,{aq:()=>d,ej:()=>i,fu:()=>o});const o={SPORT_LIVE:"sport-update-live",SPORT_STANDARD:"sport-update-standard",OFFER_LIVE:"offer-feed-update-live",OFFER_STANDARD:"offer-feed-update-standard",OFFER_STANDARD_WITH_LIVE:"offer-feed-update-offer",OFFER_UPDATE_EARLY_PAYOUT_SPORT:"offer-feed-update-offer",OFFER_TOP_LIVE:"offer-feed-update-top-live",OFFER_TOP_STANDARD:"offer-feed-update-top-standard",SINGLE_EVENT_UPDATE:"single-event-update",OFFER_SIDEBAR_UPDATE:"offer-sidebar-update",LIVE_SIDEBAR_HEADERS:"live-sidebar-headers",VIRTUAL_OFFER_UPDATE:"virtual-offer-update",ACCOUNT_BA
1LANCE:"account-balance-update",TICKET:"online-ticket-creation-update",OFFER_FAVORITE:"offer-feed-update-favorite",MY_TICKET:"online-ticket-update",BONUS_NOTIFICATION_UPDATE:"notification-update",ACCOUNT_VERIFICATION:"account-verification-change",ACCOUNT_CASINO_PROMOTION_PROGRESS_UPDATE:"account-casino-promotion-progress-update",FEATURED_MATCHES:"featured-matches",BET_BOOSTER_EVENTS:"bet-booster-update-event",SINGLE_EVENT_BET_BOOST_UPDATE:"single-event-bet-boost-update",BET_BOOST_LEAGUE_UPDATE:"bet-boost-league-update-topic",OTHER_AWARD_COUNT_UPDATE:"other-award-count-update",PLAYER_MISSION_RANK_UPDATE:"player-mission-rank-update",OFFER_UPDATE_OFFER_GROUP:"offer-feed-update-offer",OFFER_UPDATE_OFFER_RIVAL:"offer-feed-update-offer",OFFER_UPDATE_OFFER_PLAYER:"offer-feed-update-offer",PROMOTION_PROGRESS_UPDATE:"promotion-progress"},i={SPORT_LIVE:"SPORT_UPDATE_LIVE",SPORT_STANDARD:"SPORT_UPDATE_STANDARD",OFFER_UPDATE_LIVE_SPORT:"OFFER_UPDATE_LIVE_SPORT",OFFER_UPDATE_STANDARD_SPORT_WITH_LIVE:"OFFER_UPDATE_OFFER_SPORT",OFFER_UPDATE_STANDARD_SPORT:"OFFER_UPDATE_STANDARD_SPORT",OFFER_UPDATE_EARLY_PAYOUT_SPORT:"OFFER_UPDATE_EARLY_PAYOUT_SPORT",OFFER_UPDATE_OFFER_REGION:"OFFER_UPDATE_OFFER_REGION",OFFER_UPDATE_OFFER_LEAGUE:"OFFER_UPDATE_OFFER_LEAGUE",SINGLE_EVENT_UPDATE:"SINGLE_EVENT_UPDATE_V2",OFFER_SIDEBAR_UPDATE:"OFFER_SIDEBAR_UPDATE",LIVE_SIDEBAR_EVENT_HEADER:"LIVE_SIDEBAR_EVENT_HEADER",KENO:"KENO",LUCKY6:"LUCKY6",VIRTUAL_DOGS:"VIRTUAL_DOGS",VIRTUAL_HORSES:"VIRTUAL_HORSES",OFFER_UPDATE_TOP_LIVE:"OFFER_UPDATE_TOP_LIVE",OFFER_UPDATE_TOP_STANDARD:"OFFER_UPDATE_TOP_STANDARD",ACCOUNT_BALANCE_UPDATE:"ACCOUNT_BALANCE_UPDATE",ACCOUNT_VERIFICATION_UPDATE:"ACCOUNT_VERIFICATION_UPDATE",TICKET:"ONLINE_TICKET_CREATION_UPDATE",FAVORITE_EVENTS_UPDATE:"FAVORITE_EVENTS_UPDATE",MY_TICKET:"ONLINE_TICKET_UPDATE",BONUS_NOTIFICATION_UPDATE:"NOTIFICATION_UPDATE",ACCOUNT_CASINO_PROMOTION_PROGRESS:"ACCOUNT_CASINO_PROMOTION_PROGRESS_UPDATE",FEATURED_MATCHES_UPDATE:"FEATURED_MATCHES",BET_BOOSTER_EVENTS:"BET_BOOSTER_EVENTS",SINGLE_EVENT_BET_BOOST_UPDATE:"SINGLE_EVENT_BET_BOOST_UPDATE",OFFER_UPDATE_BET_BOOST_LEAGUE:"OFFER_UPDATE_BET_BOOST_LEAGUE",OTHER_AWARD_COUNT_UPDATE:"OTHER_AWARD_COUNT_UPDATE",PLAYER_MISSION_RANK_UPDATE:"PLAYER_MISSION_RANK_UPDATE",OFFER_UPDATE_OFFER_GROUP:"OFFER_UPDATE_OFFER_GROUP",OFFER_UPDATE_OFFER_RIVAL:"OFFER_UPDATE_OFFER_RIVAL",OFFER_UPDATE_OFFER_PLAYER:"OFFER_UPDATE_OFFER_PLAYER",PROMOTION_PROGRESS_UPDATE:"PROMOTION_PROGRESS_UPDATE"},d={SUBSCRIBE:"SUBSCRIBE",UNSUBSCRIBE:"UNSUBSCRIBE"}},54674:(he,M,r)=>{"use strict";r.d(M,{IS:()=>m,SC:()=>v,d0:()=>d,ds:()=>_,f:()=>h,ly:()=>i,nQ:()=>p,nx:()=>u,tE:()=>o});const o={ALL:"ALL",ONE_HOUR:"ONE_HOUR",THREE_HOURS:"THREE_HOURS",ONE_DAY:"ONE_DAY",THREE_DAYS:"THREE_DAYS"},i={TIME:"events",LEAGUE:"leagues"},d={START_TIME_ASC:"START_TIME_ASC",START_TIME_DESC:"START_TIME_DESC",TOTAL_GOALS_ASC:"TOTAL_GOALS_ASC",TOTAL_GOALS_DESC:"TOTAL_GOALS_DESC",TOP_LEAGUES:"TOP_LEAGUES",SORT_A_TO_Z:"SORT_A_TO_Z",SORT_Z_TO_A:"SORT_Z_TO_A"},h="saved-filters-live",v=[{key:i.TIME,translation_key:"general.time"},{key:i.LEAGUE,translation_key:"general.league"}],_=[{key:d.TOP_LEAGUES,translation_key:"general.top_leagues",iconName:"arrange-list-ascending"},{key:d.START_TIME_ASC,translation_key:"general.start_time_asc",iconName:"time-ascending-up"},{key:d.START_TIME_DESC,translation_key:"general.start_time_desc",iconName:"time-ascending-down"}],m=[{key:d.TOP_LEAGUES,translation_key:"general.top_leagues",iconName:"arrange-list-ascending"},{key:d.SORT_A_TO_Z,translation_key:"general.sort_a_to_z",iconName:"sort-a-z"},{key:d.SORT_Z_TO_A,translation_key:"general.sort_z_to_a",iconName:"sort-z-a"}],p={58:[{key:d.TOTAL_GOALS_ASC,translation_key:"general.total_goals_asc",iconName:"total-goals-asc"},{key:d.TOTAL_GOALS_DESC,translation_key:"general.total_goals_desc",iconName:"total-goals-desc"}]},u=[d.TOTAL_GOALS_ASC,d.TOTAL_GOALS_DESC]},4346:(he,M,r)=>{"use strict";r.d(M,{W:()=>o});const o={LIVE_STREAMS:-1,FAVOURITES:0,VOLEYBALL:54,BASKETBALL:55,TENNIS:56,LIVE_FOOTBALL:57,FOOTBALL:58,ICE_HOCKEY:59,HANDBALL:60,NFL:61,WATERPOLO:62,BASEBALL:63,RUGBY_UNION:65,CRICKET:66,FORMULA_1:67,MOTO_GP:68,SNOOKER:69,TENNIS_WIN:70,TENNIS_WIL:71,CYCLING:72,POLITICS:73,INTERNET:74,EUROVISION:75,BOXING:76,SPECIAL_OFFER:77,GOALSCORERS:78,ATHLETICS:79,AMER
1ICAN_FOOTBALL:80,ALPINE_SKIING:81,VIRTUAL_FOOTBALL:82,RALLY:83,FOOTBALL_ANTEPOST:84,GOLF:85,DARTS:86,MARTIAL_ARTS:87,ANTEPOST_BETTING:88,TABLE_TENNIS:89,BADMINTON:90,BEACH_VOLLEYBALL:91,BEACH_SOCCER:92,FUTSAL:93,RUGBY_LEAGUE:94,SKI_JUMPING:95,HORSE_RACING:96,TROTTING:97,SPECIALS:98,BIATHLON:99,ROWING:100,SWIMMING:101,SHOOTING:102,KIRON:103,KENO:105,WINTER_OLYMPICS:106,BOWLS:107,CROSS_COUNTRY_SKIING:108,CHESS:109,DOG_RACING:110,POOL:112,CURLING:113,BASKETBALL_WIN:114,SQUASH:115,FOOTBALL_80:116,NETBALL:117,BANDY:118,SPORT_SPECIALS:119,AUSSIE_RULES:120,LOTTO:121,E_SPORTS:122,OLYMPIC_GAMES:123,HOCKEY:126,VR_DOGS:127,VR_HORSES:128,BASKETBALL_3_X_3:129,ESPORT_COUNTER_STRIKE:130,ESPORT_CALL_OF_DUTY:131,ESPORT_DOTA:132,ESPORT_HEARTHSTONE:133,ESPORT_LEAGUE_OF_LEGENDS:134,ESPORT_NBA_2_K:135,ESPORT_OVERWATCH:136,ESPORT_STAR_CRAFT:137,ESPORT_RAINBOW_SIX:138,ESPORT_ROCKET_LEAGUE:139,ESPORT_KING_OF_GLORY:140,HORSE_RACING_ANTEPOST:141,VIRTUAL_TENNIS:144,VIRTUAL_BASKETBALL:177,VIRTUAL_ICE_HOCKEY:179}},98557:(he,M,r)=>{"use strict";r.d(M,{$9:()=>ve,A5:()=>l,AI:()=>p,Cf:()=>de,D9:()=>Z,Eb:()=>je,Gf:()=>we,IJ:()=>d,Me:()=>ee,Mx:()=>E,N4:()=>Me,NN:()=>m,O1:()=>C,Oq:()=>Ye,P:()=>ht,P_:()=>Tt,Q_:()=>ie,Sr:()=>Se,Vj:()=>F,Vx:()=>Ee,Wk:()=>S,Yo:()=>We,aJ:()=>Oe,as:()=>be,dL:()=>tt,dr:()=>ct,dy:()=>P,eZ:()=>U,ey:()=>ge,gD:()=>Pe,gw:()=>_,h1:()=>_t,iW:()=>J,if:()=>Qe,jx:()=>v,lb:()=>tn,ll:()=>re,lq:()=>Re,mO:()=>W,mS:()=>ke,mo:()=>xe,nI:()=>i,ni:()=>me,o2:()=>h,p2:()=>y,pB:()=>Ot,qV:()=>N,qc:()=>u,r9:()=>$,tV:()=>ye,uK:()=>L,wH:()=>o,wQ:()=>Fe,x3:()=>z,xx:()=>se,yP:()=>I,yV:()=>T,zo:()=>He});const o="SINGLE_SELECTION",i="MULTI_SELECTION",d="SYSTEM",h="SINGLE_TICKET",v="SYSTEM_TICKET",_="SYSTEM_IN_SYSTEM",m="SYSTEM_IN_SYSTEM_TICKET",p="cash",u="bonus",E="LUCK",C="CUSTOM_BET",l="BET_BOOST",y="SINGLE_BOOST",I="PARTIAL",S="FAILED",P="NEW",F="REJECTED",N="CONFIRMED",U="EXPIRED",T="REJECT",L="LIMIT",Z="AUTHORIZATION_REJECTED",ie="AUTO_RISK_AUTHORIZATION_REQUIRED",ve="AUTHORIZATION_CHANGE_REQUIRED",me="AUTO_RISK_RISK_HIGH",xe="AUTO_RISK_DUPLICATE_AUTHORIZATION_REQUIRED",$="ALARM_CHANGE_REQUIRED",z="NONE",W="GAVE_UP",re="EVENT",ee="HALF_LOSER",Se="WINNER",J="STANDARD",de="LOSER",ke="IN_PROGRESS",ge="PAID_OUT",ye="VOID",Pe="CANCELLED",Me="check_tickets",We="my_tickets",Oe="MY_TICKETS_OPEN_TAB",tt="MY_TICKETS_SETTLED_TAB",Qe="RETAIL",_t=6,ht="BONUS",Ot="UP_TO_10_PERCENTS",Fe="ALL_CHANGES",Ye="JUST_BIGGER",Re="CASH_OUT_AMOUNT_CHANGED",He="TICKET_NOT_FOUND_FOR_ID",we="TEMPORARY_TICKET_CHECK",Tt="STANDARD",ct="BONUS",tn="DEFAULT_TICKET",Ee="SIMULATION_TICKET",se="PAYOUT_CODE_MISMATCH_FOR_TICKET",be={EVENT:{id:"eventId",name:"home"},LEAGUE:{id:"leagueId",name:"leagueName"},GAME_TEMPLATE:{id:"gameTemplateId",name:"marketName"}};var je=function(ft){return ft[ft.ALL=0]="ALL",ft[ft.OPEN=1]="OPEN",ft[ft.SETTLED=2]="SETTLED",ft}(je||{})},85375:(he,M,r)=>{"use strict";function o(i,d,h){const v=h.value;return h.value=function(..._){if(typeof window<"u")return v.apply(this,_)},h}r.d(M,{X:()=>o})},30925:(he,M,r)=>{"use strict";r.d(M,{U:()=>h,k:()=>d});var o=r(54438),i=r(95447);let d=(()=>{class v{constructor(){this.footerElementSelector="",this.ignoreScrollUp=!1,this.elementScrolledToEnd=new o.bkB,this._lastScrollTop=0}onElementScroll(m){const p=m.target,u=p.scrollTop;this.ignoreScrollUp&&u<this._lastScrollTop?this._lastScrollTop=u:(this._lastScrollTop=u,this._checkIfIsEndOfSlider(p)&&this.elementScrolledToEnd.emit(!0))}_checkIfIsEndOfSlider(m){if(!m)return!1;let p=0;return this.footerElementSelector&&document.querySelectorAll(this.footerElementSelector).forEach(u=>{p+=u.offsetHeight}),m.offsetHeight+m.scrollTop+p>=m.scrollHeight-i.oY&&!this._isOnlyFooterVisible(m,p)}_isOnlyFooterVisible(m,p){return m.scrollHeight<m.scrollTop+p}static{this.\u0275fac=function(p){return new(p||v)}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","elementScrolledToEnd",""]],hostBindings:function(p,u){1&p&&o.bIt("scroll",function(C){return u.onElementScroll(C)})},inputs:{footerElementSelector:[0,"footerElements","footerElementSelector"],ignoreScrollUp:"ignoreScrollUp"},outputs:{elementScrolledToEnd:"elementScrolledToEnd"}})}}return v})(),h=(()=>{class v{static{this.\u0275fac=function(p){return new(p||v)}}static{this.\u0275mod=o.$C({type:v})}static{this.\u0275inj=o.G2t({})}}return v})()},14553:(he,M,r)=>{"use strict";r.d(M,{l:()=>d,n:()=>h});var o=r(54438),i=r(48115);let d=(()=>{class v{constructor(m,p,u){this.el=m,this.renderer=p,this._stabilityService=u,this.isElementDisabled=!1}onClick(){this.isButtonElement()&&!this.isElementDisabled&&this.disableElement()}onKeyPress(){(this.isButtonElement()||this.isInputElement())&&!this.isElementDisabled&&this.disableElement()}disableElement(){this.isElementDisabled=!0,this.renderer.setAttribute(this.el.nativeElement,"disabled","true"),this._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>{this.isElementDisabled=!1,this.renderer.removeAttribute(this.el.nativeElement,"disabled")},1e3)})}isButtonElement(){return"button"===this.el.nativeElement.tagName.toLowerCase()}isInputElement(){return"input"===this.el.nativeElement.tagName.toLowerCase()}static{this.\u0275fac=function(p){return new(p||v)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(i.B))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","preventDoubleClick",""]],hostBindings:function(p,u){1&p&&o.bIt("click",function(C){return u.onClick(C)})("keyup.enter",function(C){return u.onKeyPress(C)})}})}}return v})(),h=(()=>{class v{static{this.\u0275fac=function(p){return new(p||v)}}static{this.\u0275mod=o.$C({type:v})}static{this.\u0275inj=o.G2t({})}}return v})()},27189:(he,M,r)=>{"use strict";r.d(M,{a:()=>h});var o=r(54438),i=r(58167),d=r(39934);let h=(()=>{class v{constructor(m,p){this._authService=m,this._routingService=p}canActivate(){return new Promise(m=>{if(!this._authService.currentUser().isUserLogin)return m(!0);m(!0),this._routingService.navigate(this._routingService.getUrlByPageName("home"))})}static{this.\u0275fac=function(p){return new(p||v)(o.KVO(i.u),o.KVO(d.O))}}static{this.\u0275prov=o.jDH({token:v,factory:v.\u0275fac})}}return v})()},47950:(he,M,r)=>{"use strict";r.d(M,{j:()=>v});var o=r(20279),i=r(54438),d=r(39934),h=r(34405);let v=(()=>{class _{constructor(p,u){this._routingService=p,this._restConfigurationService=u,this.SPORT_TODAY="sport-today",this.VIRTUAL_HORSES="virtual-horses",this.VIRTUAL_DOG="virtual-dogs",this.VIRTUAL_RACING="virtual-racing"}canActivate(p){return new Promise(u=>{if(!this._restConfigurationService.getActivePages().length)return;let E=p.data.pageName||p.params.type;E=this._mapException(E),this._restConfigurationService.getActivePages().includes(E)?u(!0):(this._routingService.navigateToHome(),u(!1))})}_mapException(p){return p===o.Bi.MATCHES_TODAY?this.SPORT_TODAY:p===this.VIRTUAL_HORSES||p===this.VIRTUAL_DOG||p===this.VIRTUAL_RACING?o.Bi.VIRTUAL_HORSE_DOG:p}static{this.\u0275fac=function(u){return new(u||_)(i.KVO(d.O),i.KVO(h.M))}}static{this.\u0275prov=i.jDH({token:_,factory:_.\u0275fac})}}return _})()},71195:(he,M,r)=>{"use strict";r.d(M,{r:()=>h});var o=r(54438),i=r(39934),d=r(84978);const h=()=>{const v=(0,o.WQX)(d.s),_=(0,o.WQX)(i.O);return!v.getParam("is_casino_only")||(_.navigateToHome(),!1)}},28257:(he,M,r)=>{"use strict";r.d(M,{AY:()=>d,FX:()=>i,Ys:()=>h});var o=r(27767);const i=()=>!!CONFIGURATION_MIDDLEWARE_URL,d=(p,u)=>`${u}${o.rY}${p}`,h=(p,u,E)=>{let C,l,y=!1;const I={websiteUrl:WEBSITE_URL,...p&&{language:p}};if(CONFIGURATION_MIDDLEWARE_URL){C=`${CONFIGURATION_MIDDLEWARE_URL}/unified-configuration/web`,l=o.$S.UNIFIED;const P=_(u,E);y=!Object.keys(P).length,Object.assign(I,P)}else C=`${BO_API_URL}
1/configurations/v2/web`,l=o.$S.BO;return{url:`${C}?${new URLSearchParams(I).toString()}`,type:l,alreadyLoaded:y}},_=(p,u)=>{const E=m(p.configurations,u?.configurations),C=m(p.translationSections,u?.translationSections),l=m(p.templates,u?.templates),y=m(p.urls,u?.urls),I=m(p.rest,u?.rest);return{...E?{withConfigurations:E}:{},...C?{withTranslationSections:C}:{},...l?{withTemplates:l}:{},...y?{withUrls:y}:{},...I?{withRest:I}:{}}},m=(p,u)=>{if(u===o.RW)return"";if(p===o.RW)return u?.size?`${o.Ut.OMIT}${o.DY}${[...u].join(o.RR)}`:`${o.Ut.ALL}${o.DY}`;const E=u?.size?p.filter(C=>!u.has(C)):p;return E.length?`${o.Ut.ONLY}${o.DY}${E.join(o.RR)}`:""}},3923:(he,M,r)=>{"use strict";r.d(M,{$:()=>v,C:()=>h});var o=r(27767),i=r(71757),d=r(28257);const h={[o.h8.INIT]:{configurations:["is_casino_only","home_page_name","is_landing_page_enabled","is_geo_location_enabled","allowed_country_codes","white_listed_ip_addresses","black_listed_ip_addresses","ip_range_from","ip_range_to","logout_inactive_user_enabled","inactive_time_before_logout","google_site_verification_content_web","mibew_support_url","is_social_enabled","social_meta_tags"],translationSections:["cookie_alert","noscript","general"],templates:[],urls:o.RW,rest:[]},[o.h8.ALL]:{configurations:o.RW,translationSections:o.RW,templates:o.RW,urls:o.RW,rest:o.RW},[o.h8.LANDING_PAGE]:{configurations:["is_forced_redirection_to_help_page_enabled","website_id","website_name","landing_page_cards"],translationSections:["header","landing_page","seo"],templates:[(0,d.AY)("landing","footer_content_web"),(0,d.AY)("default","footer_content_web"),(0,d.AY)("default","promo_section_landing_page")],urls:[],rest:[i.b.NAVIGATION,i.b.GENERAL]}},v=(u,E=!1)=>!(0,d.FX)()||E?h[o.h8.ALL]:_(h[o.h8.INIT],p(u)),_=(u,E)=>({configurations:m(u.configurations,E.configurations),translationSections:m(u.translationSections,E.translationSections),templates:m(u.templates,E.templates),urls:m(u.urls,E.urls),rest:m(u.rest,E.rest)}),m=(u,E)=>u===o.RW||E===o.RW?o.RW:[...u,...E],p=u=>"/"===u?h[o.h8.LANDING_PAGE]:h[o.h8.ALL]},85046:(he,M,r)=>{"use strict";r.d(M,{$z:()=>h,Cb:()=>u,GK:()=>_,W7:()=>d,Y_:()=>v,hC:()=>E,iy:()=>i,t9:()=>l});var o=r(10467);const i=(y,I)=>{const S=[];let P=1,F=!1;for(let N=0;N<y;N++){for(F=!1;!F;)P=Math.floor(Math.random()*I)+1,F=-1===S.indexOf(P);S.push(P)}return S},d=(y,I)=>`${I}.${y}`,h=(y,I)=>y.reduce((S,P)=>((S[P[I]]=S[P[I]]||[]).push(P),S),{}),v=(y,I)=>y>=I,_=(y=new Date)=>new Date(y.setFullYear(y.getFullYear()+1)),u=function(){var y=(0,o.A)(function*(I){const S=(new TextEncoder).encode(I),P=yield crypto.subtle.digest("SHA-256",S);return Array.from(new Uint8Array(P)).map(U=>U.toString(16).padStart(2,"0")).join("")});return function(S){return y.apply(this,arguments)}}(),E=y=>{const I={\u040a:"Nj",\u0409:"Lj",\u040f:"D\u017e",\u045a:"nj",\u0459:"lj",\u045f:"d\u017e",\u0410:"A",\u0411:"B",\u0412:"V",\u0413:"G",\u0414:"D",\u0402:"\u0110",\u0415:"E",\u0416:"\u017d",\u0417:"Z",\u0418:"I",\u0408:"J",\u041a:"K",\u041b:"L",\u041c:"M",\u041d:"N",\u041e:"O",\u041f:"P",\u0420:"R",\u0421:"S",\u0422:"T",\u040b:"\u0106",\u0423:"U",\u0424:"F",\u0425:"H",\u0426:"C",\u0427:"\u010c",\u0428:"\u0160",\u0430:"a",\u0431:"b",\u0432:"v",\u0433:"g",\u0434:"d",\u0452:"\u0111",\u0435:"e",\u0436:"\u017e",\u0437:"z",\u0438:"i",\u0458:"j",\u043a:"k",\u043b:"l",\u043c:"m",\u043d:"n",\u043e:"o",\u043f:"p",\u0440:"r",\u0441:"s",\u0442:"t",\u045b:"\u0107",\u0443:"u",\u0444:"f",\u0445:"h",\u0446:"c",\u0447:"\u010d",\u0448:"\u0161"};return y.split("").map(S=>I[S]||S).join("")};function l(y){return function C(y){return!!y&&y.includes("?")}(y)}},98229:(he,M,r)=>{"use strict";r.d(M,{o:()=>d,p:()=>h});var o=r(95447),i=r(98557);const d=v=>v.status===i.qV&&h(v),h=v=>!!v?.selections?.some(_=>[o.KO,o.lF].includes(_.eventType))},27767:(he,M,r)=>{"use strict";r.d(M,{$S:()=>m,DY:()=>h,RR:()=>i,RW:()=>o,Ut:()=>v,h8:()=>_,rY:()=>d});const o="*",i=",",d="_",h=";",v={ONLY:"only",OMIT:"omit",ALL:"all"},_={INIT:"init",ALL:"all",LANDING_PAGE:"landing_page"},m={UNIFIED:"unified",BO:"bo"}},50323:(he,M,r)=>{"use strict";r.d(M,{Im:()=>v,QC:()=>_,YX:()=>h,Ye:()=>d,gB:()=>i});var o=r(37320),i=function(m){return m.ALLOW_ALL="ALLOW_ALL",m.ALLOW_VERIFIED="ALLOW_VERIFIED",m.NOT_ALLOWED="NOT_ALLOWED",m}(i||{}),d=function(m){return m.CODE="CODE",m.LINK="LINK",m}(d||{}),h=function(m){return m.ID="ID",m.PERSONALDATA="PERSONALDATA",m}(h||{}),v=function(m){return m.V1="v1",m.V2="v2",m}(v||{});const _={generalHelpUrl:"",phoneNumberValidation:"",personalInfoOnRegistraionRegex:"",depositHelpUrl:"",withdrawHelpUrl:"",statisticsUrl:"",h2hStatisticsUrl:"",enableClientTaxCalculationForBettingTickets:!1,lifetimeNetProfitKPI:!1,amusnetJackpotFeedURL:"",enableBetBuilderForSportIds:"",enableBouncer:!1,registrationEmailNotificationSelected:!1,registrationPushNotificationSelected:!1,notifyNonVerifiedUntilHours:20,notifyNonVerifiedAfterSeconds:5,registrationSMSNotificationSelected:!1,denyPasswordUsernameSimilarity:!1,passwordUsernameSimilarityTreshold:0,streetOnRegistrationRegex:"",showBonusInfoForBonusTicket:!0,peruvianCityAdjustments:!1,peruvianCityListUrl:"",showSecondsInClientReports:!1,enableBetRadarStreaming:!1,enableHomeCasino:!1,specialStatisticsUrl:"",enableImgArenaStreaming:!1,androidAppURL:"",iosAppURL:"",enableGooglePlaceAPI:!1,allowAddressEntryOnlyFromGoogleResponse:!1,enableGoogleGeocodeAPI:!1,minAmountForBalanceNotification:1,showFlagOnRivalsForLeagues:"",mobilePromoPageButtonUrl:"",livescoreUrl:"",passwordType:"ULTRAWEAK",numberOfRegistrationPages:1,multiLoginUsernameAllowed:!1,countryCodePrefix:"",notifyNonVerified:!1,viberBotUrl:"",domainsExcludedFromBouncer:"",bankTransferStyleCSS:"",enableBetBazarStreaming:!1,clientReportTimeLimit:0,enablePlaytechPreview:!1,enablePragmaticPreview:!1,enableBetBuilderForPrematch:!1,enableHomePageBetBoost:!1,enableBetBuilderForLive:!1,playerBalanceVisibilityEye:!1,enableSportSearchEventRecommender:!1,googleAutocompleteTypes:"address",enableEarlyPayout:!1,fastDepositListOfAvailableProviders:null,enableDepositFeature:!1,enableFastDepositFeature:!1,zeroBalanceEvent:!1,enableInfrontStreaming:!1,zeroBalanceLimit:0,zeroBalanceOffset:30,enableDepositOptionOnCasinoSinglePage:!1,enableFastDepositOptionOnCasinoSinglePage:!1,useCpfChecker:!1,showYearOnEventsForBetslipAndClientReports:!1,cookieModalVisible:!1,showLastSessionDetail
1s:!1,disableFunModeForCasino:!1,termsAndConditionsUrl:"",showSessionInfoOnTicketPreview:!1,useCheckinFaceRecognition:!1,faceRecognitionRecheckPeriod:0,checkinApiKey:"",checkinSdkKey:"",checkinApiUrl:"",currentSessionTimer:!1,currentSessionBalance:!1,deactivationEmailRecipient:"",oracleBtnForLoginUserOnly:!1,freshdeskHost:"",freshdeskToken:"",freshdeskWidgetId:"",freshdeskJWTkey:"",deactivationEmailWebsite:"",brDeactivationAccount:!1,responsibleRegistrationInfo:!1,enableRadarGeoChecker:!1,enableRadarGeoCheckerOnRegistration:!1,radarGeoCheckerKey:"",radarSkipVerifyApp:!0,checkinFlowDocumentType:"",responsibleModalConfirmation:!1,checkinFlowDocumentTypeNew:"",ticketCheckFieldRegex:"",termsAndCondSelectedOnRegistration:!1,enableMissionsAccessThroughHeader:!1,totalTermsAndConditionsAcceptanceOnRegistration:!1,showPayinAndPayoutTaxUnderPayout:!1,sumsubIdentificationStatus:"",sumsubPOAStatus:"",sumsubPersonalDataVerificationThresholdTrust:0,askForVerification:"",sumsubLevelName:"",sumsubVerificationMethod:h.ID,oddsMovementIframeUrl:"",enableOddsMovementChartForSportIds:[],eGamesWeeklyDepositLimit:!1,freshdeskEnabed:!1,freshdeskBtnForLoginUserOnly:!1,tawkChatEnabled:!1,enableMerbetStreaming:!1,tawkChatForUnknownSession:!1,questionnaireFormOn:!1,selfExclusionNewDesign:!1,missionsIconBeautify:!1,popupSportBonusNotification:!1,popupCasinoBonusNotification:!1,popupInfoNotification:!1,popupMissionsLevelsNotification:!1,popupMissionsPointsNotification:!1,casinoSearchEndpoint:o.yB.V2,casinoSearchType:o.yB.V2,casinoSearchInfo:!1,casinoSearchModal:"",casinoSearchSuggestions:"",minBalanceForDepositRedirection:0,freeSpinsPopupNotification:!1,referFriendNavigationVisible:!1,factilizaEnabled:!1,fullfillAdditionalDataFromFactiliza:!1,enableSingleTierMissions:!1,enableExpressBetting:!1,lSportsGroupId:"",newsletterAllChannel:!1,sumsubFaceRecognitionOnDeposit:!1,sumsubDepositLevelName:"",enableOnlineRetailTicketCashout:!1,openModalOnDepositButton:!1,age18PlusOnRegistrations:!1,featuredMatchesDesignVersion:v.V1,highlightEvent:"",ignoreZeroAfterPrefix:"",sportTournamentLeagueList:"",sportsTournamentUrl:"",enableStatsPerformStreaming:!1,supportPhoneNumber:"",supportWhatsAppNumber:"",supportContactFormEnabled:!1,playerMarketsSubstitutionDesignList:"",bonusPromotionsQuickAccess:!1,bonusPromotionsHomeWidgetPreview:!1,assistanceHelpUrl:"",enableGenericPushNotifications:!1}},71757:(he,M,r)=>{"use strict";r.d(M,{b:()=>o});const o={NAVIGATION:"navigation",GENERAL:"general",BETTING:"betting",PAYMENTS:"payments"}},4076:(he,M,r)=>{"use strict";r.d(M,{Z:()=>o,o:()=>i});var o=function(d){return d.DEFAULT_TRACKER="default-tracker",d.MERBET_TRACKER="merbet-tracker",d.BETRADAR_TRACKER="betradar-tracker",d.LIVE_STREAM_TRACKER="live-stream-tracker",d.BET_CONSTRUCT_TRACKER="bet-construct-tracker",d.STATSWIDGET_TRACKER="statswidget-tracker",d}(o||{}),i=function(d){return d.MATCH_TRACKER="MATCH_TRACKER",d.LIVE_STREAM="LIVE_STREAM",d.ODDS_TRENDING="ODDS_TRENDING",d}(i||{})},92487:(he,M,r)=>{"use strict";r.d(M,{Y:()=>o});const o={SPORT:"SPORT",REGION:"REGION",LEAGUE:"LEAGUE"}},76543:(he,M,r)=>{"use strict";r.d(M,{$v:()=>m,If:()=>v,Yb:()=>o,_n:()=>d,mL:()=>h,pc:()=>_,pe:()=>i});var o=function(p){return p.NEW="NEW",p.SEEN="SEEN",p.ACCEPTED="ACCEPTED",p.REJECTED="REJECTED",p.EXPIRED="EXPIRED",p}(o||{}),i=function(p){return p.REJECT="REJECT",p.ACCEPT="ACCEPT",p.SEEN="SEEN",p}(i||{}),d=function(p){return p.INFO="INFO",p.BONUS="BONUS",p.REGISTRATION_BONUS="REGISTRATION_BONUS",p.DEPOSIT_BONUS="DEPOSIT_BONUS",p.CASINO_PROMOTION="CASINO_PROMOTION",p.MISSION="MISSION",p.POINTS_EARNED="POINTS_EARNED",p.TIER_UPGRADED="TIER_UPGRADED",p.TIER_DOWNGRADED="TIER_DOWNGRADED",p.FREE_SPINS="FREE_SPINS",p.BONUS_CHOICE="BONUS_CHOICE",p.CASINO_BET_LIMIT="CASINO_BET_LIMIT",p}(d||{}),h=function(p){return p.OR="OR",p.AND="AND",p}(h||{}),v=function(p){return p.INFO="infoNotification",p.BONUS="bonusNotification",p.REGISTRATION_BONUS="autoBonusNotification",p.DEPOSIT_BONUS="autoBonusNotification",p.CASINO_PROMOTION="casinoPromotionNotification",p.MISSION="missionNotification",p.POINTS_EARNED="missionNotification",p.TIER_UPGRADED="missionNotification",p.TIER_DOWNGRADED="missionNotification",p.FREE_SPINS="infoNotification",p.CA
1SINO_BET_LIMIT="casinoBetLimit",p.BONUS_CHOICE="bonusChoiceNotification",p}(v||{}),_=function(p){return p.BONUS="bonus",p.MISSION="mission",p.INFO="info",p.READ="read",p}(_||{});class m{constructor(u){this.type=u.type,this.infoNotification=u.infoNotification,this.bonusNotification=u.bonusNotification,this.autoBonusNotification=u.autoBonusNotification,this.casinoPromotionNotification=u.casinoPromotionNotification,this.bonusChoiceNotification=u.bonusChoiceNotification,this.missionNotification=u.missionNotification,this.status=this.getNotification()?.status,this.casinoBetLimit=u.casinoBetLimit}getNotification(){switch(this.type){case d.INFO:case d.FREE_SPINS:return this.infoNotification;case d.CASINO_BET_LIMIT:return this.casinoBetLimit;case d.BONUS:return this.bonusNotification;case d.REGISTRATION_BONUS:case d.DEPOSIT_BONUS:return this.autoBonusNotification;case d.CASINO_PROMOTION:return this.casinoPromotionNotification;case d.BONUS_CHOICE:return this.bonusChoiceNotification;case d.MISSION:case d.POINTS_EARNED:case d.TIER_UPGRADED:case d.TIER_DOWNGRADED:return this.missionNotification}}isBonusNotification(){return[d.BONUS,d.CASINO_PROMOTION,d.DEPOSIT_BONUS,d.REGISTRATION_BONUS].includes(this.type)}}},30763:(he,M,r)=>{"use strict";r.d(M,{K:()=>i});var o=r(37320);
1class i{static from(h){return h.payload}static fromCasinoNavigationResponse(h){return h.map(v=>({...v,items:v.items.map(_=>({..._,type:o.cU.TYPE_NAVIGATION_ITEM}))}))}static fromCasinoGameSearchModalResponse(h){return h.payload}}},16972:(he,M,r)=>{"use strict";r.d(M,{R:()=>i});var o=r(62125);class i{static fromEventsResponse(h){return h.payload.events}static fromTopEventsResponse(h){return h.payload.events}static fromSingleEventResponse(h){return h.payload}static fromSingleSportResponse(h){return h.payload.events}static fromPositionResponse(h){return h.payload}static fromEventPositionResponse(h){return h.payload}static getEventFromEventHeader(h){return{header:h}}static fromEventsByLeagueResponse(h){return h.payload}static fromEventsByTimeResponse(h){return h.payload.events}static fromGameGroupResponse(h){return h.payload}static fromBetBuilderGameGroupResponse(h){return h.payload}static fromBetradarCalculateResponse(h){return h.payload}static fromFeaturedMatchesResponse(h){return(0,o.A)(h,"payload.events",[])}}},41926:(he,M,r)=>{"use strict";r.d(M,{J:()=>i});var o=r(62125);class i{static fromResponse(h){return h.payload}static fromTopStandardResponse(h){return h.payload}static getPositionsFromResponse(h){return{positions:h.payload.positions,configuredPositions:h.payload.configuredPositions}}static formatStandardTopLeagues(h){return h.payload.highlightedLeagues}static fromStandardSidebarResponse(h){return h.payload.sports}static fromSportUpdate(h){return{sportId:h.sportId,slug:h.slug,events:[],sportTranslations:[],name:h.name,active:h.active,offerType:h.offerType,offerSubType:h.offerSubType}}static fromLiveSidebarResponse(h){return h.payload}static fromEventHeader(h){return{sportId:(0,o.A)(h,"sport.sportId"),name:(0,o.A)(h,"sport.name",""),slug:""}}}},59187:(he,M,r)=>{"use strict";r.d(M,{p:()=>o});var o=function(i){return i.HIDDEN="hidden",i.VISIBLE="visible",i}(o||{})},43773:(he,M,r)=>{"use strict";r.d(M,{F:()=>i,Y:()=>o});var o=function(d){return d.CHECK_SUCCESS="SUCCESS",d.CHECK_FAILED="FAILED",d.CHECK_PENDING="PENDING",d}(o||{}),i=function(d){return d.IDLE="idle",d.APPROVED="approved",d.DECLINED="declined",d.NEEDS_REVIEW="needs-review",d}(i||{})},29904:(he,M,r)=>{"use strict";r.d(M,{q:()=>o});var o=function(i){return i.ACTIVE="ACTIVE",i.FINISHED="FINISHED",i.BLOCKED="BLOCKED",i.HIDDEN="HIDDEN",i.RESULTED="RESULTED",i.ARCHIVED="ARCHIVED",i}(o||{})},42853:(he,M,r)=>{"use strict";r.d(M,{G:()=>i,IR:()=>d,jY:()=>o});const o={ogDescription:"og:description",ogSiteName:"og:site_name",ogTitle:"og:title",ogType:"og:type",ogImage:"og:image",ogImageWidth:"og:image:width",ogImageHeight:"og:image:height",ogUrl:"og:url",ogTwitterCard:"twitter:card"},i={[o.ogDescription]:"ogDescription",[o.ogSiteName]:"ogSiteName",[o.ogTitle]:"ogTitle",[o.ogType]:"ogType",[o.ogImage]:"ogImage",[o.ogImageWidth]:"ogImageWidth",[o.ogImageHeight]:"ogImageHeight",[o.ogUrl]:"ogUrl",[o.ogTwitterCard]:"ogTwitterCard"},d={ROOT:"root",BETTING:"betting",CASINO:"casino",SPORT:"sport",REGION:"region",
1LEAGUE:"league"}},6847:(he,M,r)=>{"use strict";r.d(M,{P2:()=>S,Dc:()=>F,lJ:()=>P});var o=r(33938),i=r(60438),d=r(86052);const v=function h(N,U){for(var T=-1,L=null==N?0:N.length;++T<L;)if(!U(N[T],T,N))return!1;return!0};var _=r(73883);const p=function m(N,U){var T=!0;return(0,_.A)(N,function(L,Z,ie){return T=!!U(L,Z,ie)}),T};var u=r(71981),E=r(43744),C=r(67357);var I=r(96503),S=function(N){return N.CREATED="CREATED",N.ONBOARDING_IN_PROGRESS="ONBOARDING_IN_PROGRESS",N.COMPLETED="COMPLETED",N.PENDING_FOR_UPDATE="PENDING_FOR_UPDATE",N.UPDATE_IN_PROGRESS="UPDATE_IN_PROGRESS",N.PENDING_FOR_VIDEO_SESSION="PENDING_FOR_VIDEO_SESSION",N.VIDEO_SESSION_IN_PROGRESS="VIDEO_SESSION_IN_PROGRESS",N.BLINKING_IN_PROGRESS="BLINKING_IN_PROGRESS",N.EXPIRED="EXPIRED",N.PENDING_BACK_OFFICE_APPROVAL="PENDING_BACK_OFFICE_APPROVAL",N.PENDING_FOR_ONBOARDING="PENDING_FOR_ONBOARDING",N.REJECTED="REJECTED",N.BLOCKED="BLOCKED",N.TERMINATED="TERMINATED",N.PENDING_FOR_CONFIRMATION="PENDING_FOR_CONFIRMATION",N.SOFT_DELETE="SOFT_DELETE",N.INFORMATION_MISMATCH="INFORMATION_MISMATCH",N}(S||{}),P=function(N){return N.VOLUNTARY_CLOSURE="VOLUNTARY_CLOSURE",N.INACTIVITY="INACTIVITY",N.OTHER="OTHER",N}(P||{});class F{constructor(U,T,L,Z,ie){this.allowedCountryCodes=U.split(","),this.whiteListedIpAddresses=T.split(","),this.blackistedIpAddresses=L.split(","),this.ipRangeFrom=Z.split(","),this.ipRangeTo=ie.split(",")}isIpAddressInRange(U){const T=(0,o.A)(this.ipRangeFrom.length);return(0,i.A)(T,L=>{const Z=(0,d.A)(this.ipRangeFrom[L],"."),ie=(0,d.A)(this.ipRangeTo[L],".");return function l(N,U,T){var L=(0,E.A)(N)?v:p;return T&&(0,C.A)(N,U,T)&&(U=void 0),L(N,(0,u.A)(U,3))}(U.split("."),(ve,me)=>(0,I.A)(ve)>=(0,I.A)(Z[me])&&(0,I.A)(ve)<=(0,I.A)(ie[me]))})}}},42073:(he,M,r)=>{"use strict";r.d(M,{JS:()=>v,PI:()=>i,Pr:()=>E,Wh:()=>p,Xk:()=>h,_0:()=>_,aL:()=>d,im:()=>u,m4:()=>o,rN:()=>m});var o=function(C){return C.ID_VERIFICATION="sumsubIdentificationInfo",C.ADDRESS_VERIFICATION="sumsubPoaInfo",C}(o||{}),i=function(C){return C.PROOF_OF_RESIDENCE="PROOF_OF_RESIDENCE",C.IDENTITY="IDENTITY",C}(i||{}),d=function(C){return C.PASSPORT="PASSPORT",C.ID_CARD="ID_CARD",C.RESIDENCE_PERMIT="RESIDENCE_PERMIT",C.DRIVERS="DRIVERS",C}(d||{}),h=function(C){return C.STATUS_CHANGED="idCheck.onApplicantStatusChanged",C.STEP_COMPLETED="idCheck.onStepCompleted",C.APPLICANT_SUBMITTED="idCheck.onApplicantSubmitted",C.STEP_INITIATED="idCheck.onStepInitiated",C.APPLICANT_RESUBMITTED="idCheck.onApplicantResubmitted",C.SDK_INITIALIZED="idCheck.onInitialized",C}(h||{}),v=function(C){return C.STATUS_CHANGED="APPLICANT_STATUS_CHANGED",C.STEP_INITIATED="STEP_INITIATED",C.STEP_COMPLETED="STEP_COMPLETED",C.APPLICANT_SUBMITTED="APPLICANT_SUBMITTED",C.APPLICANT_RESUBMITTED="APPLICANT_RESUBMITTED",C.SDK_CLOSED="SDK_CLOSED",C.SDK_INITIALIZED="SDK_INITIALIZED",C.CUSTOM_APPLICANT_RESET="CUSTOM_APPLICANT_RESET",C}(v||{}),_=function(C){return C.APPLICANT_ACTION_COMPLETED="idCheck.onApplicantActionCompleted",C}(_||{}),m=function(C){return C.INIT="init",C.COMPLETED="completed",C.ON_HOLD="onHold",C.PENDING="pending",C}(m||{}),p=function(C){return C.GREEN="GREEN",C.RED="RED",C}(p||{}),u=function(C){return C.FINAL="FINAL",C.RETRY="RETRY",C}(u||{}),E=function(C){return C.IDLE="IDLE",C.DOCUMENTS_REQUESTED="DOCUMENTS_REQUESTED",C.APPROVED="APPROVED",C.REJECTED="REJECTED",C.RESUBMISSION_REQUESTED="RESUBMISSION_REQUESTED",C.REQUIRES_ACTION="REQUIRES_ACTION",C.PENDING="PENDING",C}(E||{})},72206:(he,M,r)=>{"use strict";r.d(M,{S5:()=>i,SC:()=>d,Xp:()=>h,fg:()=>o});const o="UNICO";var i=function(v){return v.IDLE="IDLE",v.IN_PROGRESS="IN_PROGRESS",v.APPROVED="APPROVED",v.REJECTED="REJECTED",v}(i||{}),d=function(v){return v.ID_DOCS="iddocs",v.ID_TOKEN="idtoken",v}(d||{}),h=function(v){return v.TYPE_APPROVED="FINISH",v.STATE_APPROVED="PROCESS_STATE_FINISHED",v.STATE_FAILED="PROCESS_STATE_FAILED",v.RESULT_APPROVED="PROCESS_RESULT_OK",v.RESULT_ERROR="PROCESS_RESULT_ERROR",v.RESULT_INVALID_IDENTITY="PROCESS_RESULT_INVALID_IDENTITY",v.RESULT_UNSPECIFIED="PROCESS_RESULT_UNSPECIFIED",v.RESULT_EXPIRED="PROCESS_RESULT_EXPIRED",v.INCONCLUSIVE="AUTHENTICATION_RESULT_INCONCLUSIVE",v}(h||{})},49837:(he,M,r)=>{"use strict";r.d(M,{s:()=>o});var o=function(i){return i.GENERAL="general",i.ACCOUNT="account",i.REFRESH_TOKEN="refresh_token",i.OTP="otp",i}(o||{})},45906:(he,M,r)=>{"use strict";r.d(M,{U:()=>Ee});var o=r(2091),i=r(60177),d=r(73955),h=r(47580),v=r(18158),_=r(46048),m=r(58114),p=r(19218),u=r(23712),E=r(62125),C=r(46663),l=r(54438),y=r(54103),I=r(51538),S=r(85032);const P=(se,be)=>({"event.positions.length | getEventSelectionLength":se,"c-event__game-wrapper--without-league-info":be}),F=(se,be,je,ft,kt,Yt,yn)=>({"c-selection--selected":se,"c-selection--epo":be,disabled:je,"c-selection--line":ft,"c-selection--label":kt,"price-up":Yt,"price-down":yn}),N=(se,be,je,ft,kt)=>[se,be,je,ft,kt],U=se=>({"c-selection--label":se}),T=se=>({"c-selection--selected":se});function L(se,be){if(1&se&&(l.j41(0,"div",6),l.nI1(1,"getMarketTooltip"),l.EFF(2),l.k0s()),2&se){const je=l.XpG().$implicit,ft=l.XpG();l.Y8G("title",l.ii3(1,2,je.groups[0].selections[0]&&je.groups[0].selections[0].gameTemplateId,ft.event.header.sport.sportId,je.groups[0].name,ft.tooltipService.triggerPipeCounter)),l.R7$(2),l.JRh(null==je.groups[0]?null:je.groups[0].name)}}function Z(se,be){if(1&se&&(l.j41(0,"div",12),l.nI1(1,"getTooltipFromSelection"),l.EFF(2),l.k0s()),2&se){const je=l.XpG(),ft=je.$implicit,kt=je.index,Yt=l.XpG(2).$implicit,yn=l.XpG();l.Y8G("ngClass",l.eq3(9,U,null==Yt.groups[0]?null:Yt.groups[0].containsTemplateWithVariableMarketName))("title",l.iJd(1,3,l.s1E(11,N,kt,ft,yn.event,Yt.groups[0],yn.tooltipService.triggerPipeCounter))),l.R7$(2),l.SpI(" ",Yt.groups[0].handicap||Yt.groups[0].overUnder," ")}}function ie(se,be){if(1&se&&(l.j41(0,"div",11)(1,"span",13),l.EFF(2),l.k0s(),l.j41(3,"span",14),l.EFF(4),l.nI1(5,"formatOddPipe"),l.k0s()()),2&se){const je=l.XpG().$implicit,ft=l.XpG(3);l.R7$(),l.Y8G("ngClass",l.eq3(7,T,ft.ticketService.itemsOnTicket[je.selectionId]&&!ft.ticketService.itemsOnTicket[je.selectionId].betBuilder)),l.R7$(),l.JRh(je.name),l.R7$(2),l.JRh(l.brH(5,3,je.price,ft.oddsFormatService.selectedFormat,ft.selectionTrigger))}}function ve(se,be){if(1&se&&(l.EFF(0),l.nI1(1,"formatOddPipe")),2&se){const je=l.XpG().$implicit,ft=l.XpG(3);l.SpI(" ",l.brH(1,1,je.price,ft.oddsFormatService.selectedFormat,ft.selectionTrigger)," ")}}function me(se,be){if(1&se){const je=l.RV6();l.qex(0),l.DNE(1,Z,3,17,"div",9),l.j41(2,"div",10),l.nI1(3,"getTooltipFromSelection"),l.bIt("click",function(){const kt=l.eBV(je).$implicit,Yt=l.XpG(3);return l.Njj(Yt.toggleItemOnTicket(kt))}),l.DNE(4,ie,6,9,"div",11)(5,ve,2,5),l.k0s(),l.bVm()}if(2&se){const je=be.$implicit,ft=be.index,kt=l.XpG(2).$implicit,Yt=l.XpG();
1l.R7$(),l.Y8G("ngIf",1===ft&&(kt.groups[0].handicap||kt.groups[0].overUnder)),l.R7$(),l.Y8G("ngClass",l.sGs(10,F,Yt.ticketService.itemsOnTicket[je.selectionId]&&!Yt.ticketService.itemsOnTicket[je.selectionId].betBuilder,Yt.isEarlyPayoutPage,"BLOCKED"===je.state,je.price<=1,null==kt.groups[0]?null:kt.groups[0].containsTemplateWithVariableMarketName,je.trend===Yt.UP,je.trend===Yt.DOWN))("title",l.iJd(3,4,l.s1E(18,N,ft,je,Yt.event,kt.groups[0],Yt.tooltipService.triggerPipeCounter))),l.R7$(2),l.vxM(Yt.isEarlyPayoutPage?4:5)}}function xe(se,be){if(1&se&&(l.j41(0,"div",7),l.nI1(1,"getEventSelectionPositionNumber"),l.DNE(2,me,6,24,"ng-container",8),l.k0s()),2&se){const je=l.XpG().$implicit,ft=l.XpG();l.Y8G("ngClass",l.brH(1,2,je.groups[0],null==ft.event||null==ft.event.header?null:ft.event.header.state,ft.triggerPipe)),l.R7$(2),l.Y8G("ngForOf",je.groups[0].selections)}}function $(se,be){1&se&&(l.j41(0,"div",15),l.nrm(1,"svg-icon",16),l.k0s())}function V(se,be){if(1&se&&(l.j41(0,"div",2),l.DNE(1,L,3,7,"div",3),l.nI1(2,"isMarketAvailable"),l.DNE(3,xe,3,6,"div",4),l.nI1(4,"isMarketAvailable"),l.DNE(5,$,2,0,"div",5),l.nI1(6,"isMarketUnavailable"),l.k0s()),2&se){const je=be.$implicit,ft=l.XpG();l.R7$(),l.Y8G("ngIf",(null==je.groups[0]?null:je.groups[0].containsTemplateWithVariableMarketName)&&l.brH(2,3,je,ft.event,ft.checkAvailableMarketPipe)),l.R7$(2),l.Y8G("ngIf",l.brH(4,7,je,ft.event,ft.checkAvailableMarketPipe)),l.R7$(2),l.Y8G("ngIf",l.brH(6,11,je,ft.event,ft.checkAvailableMarketPipe))}}let oe=(()=>{class se{constructor(je,ft,kt,Yt){this.ticketService=je,this.oddsFormatService=ft,this.tooltipService=kt,this.cdr=Yt,this.isLeagueInfoShown=!0,this.numberOfMarkets=3,this.type="",this.isEarlyPayoutPage=!1,this.stateActive=C.c4.ACTIVE,this.checkAvailableMarketPipe=0,this.UP=C.CL.UP,this.DOWN=C.CL.DOWN,this._subscriptions=[]}ngOnInit(){this.subscribeOnItemChangeOnTicket()}ngOnChanges(je){(je.selectionTrigger||je.triggerPipe)&&this.checkAvailableMarketPipe++}ngOnDestroy(){(0,u.A)(this._subscriptions,je=>je.unsubscribe())}subscribeOnItemChangeOnTicket(){this._subscriptions.push(this.ticketService.itemChangeOnTicket$.subscribe(()=>{this.cdr.detectChanges()}))}toggleItemOnTicket(je){(0,E.A)(je,"price")<1||this.ticketService.toggledItemOnTicket((0,E.A)(je,"selectionId"))}static{this.\u0275fac=function(ft){return new(ft||se)(l.rXU(y.Y),l.rXU(I.$),l.rXU(S.J),l.rXU(l.gRc))}}static{this.\u0275cmp=l.VBU({type:se,selectors:[["item-games"]],inputs:{event:"event",triggerPipe:"triggerPipe",selectionTrigger:"selectionTrigger",isLeagueInfoShown:"isLeagueInfoShown",numberOfMarkets:"numberOfMarkets",type:"type",isEarlyPayoutPage:"isEarlyPayoutPage"},features:[l.OA$],decls:3,vars:12,consts:[[3,"ngClass"],["class","c-event__game",4,"ngFor","ngForOf"],[1,"c-event__game"],["class","c-event__game-label",3,"title",4,"ngIf"],["class","c-event__game-selections",3,"ngClass",4,"ngIf"],["class","c-selection c-selection--unavailable",4,"ngIf"],[1,"c-event__game-label",3,"title"],[1,"c-event__game-selections",3,"ngClass"],[4,"ngFor","ngForOf"],["class","c-selection c-selection--limit",3,"ngClass","title",4,"ngIf"],[1,"c-selection",3,"click","ngClass","title"],[1,"c-selection-items-container"],[1,"c-selection","c-selection--limit",3,"ngClass","title"],[1,"c-selection-item-name",3,"ngClass"],[1,"c-selection-item-price"],[1,"c-selection","c-selection--unavailable"],["icon","lock",1,"c-icon--xs-3"]],template:function(ft,kt){1&ft&&(l.j41(0,"div",0),l.DNE(1,V,7,15,"div",1),l.nI1(2,"slice"),l.k0s()),2&ft&&(l.ZvI("c-event__game-wrapper ",kt.type,""),l.Y8G("ngClass",l.l_i(9,P,kt.triggerPipe,!kt.isLeagueInfoShown)),l.R7$(),l.Y8G("ngForOf",l.brH(2,5,null==kt.event?null:kt.event.positions,0,kt.numberOfMarkets)))},styles:['@keyframes _ngcontent-%COMP%_flash{0%{opacity:1}50%{opacity:.4}to{opacity:1}}@keyframes _ngcontent-%COMP%_priceArrow{0%{opacity:0}15%{opacity:1}85%{opacity:1}to{opacity:0}}@keyframes _ngcontent-%COMP%_flipInX{0%{transform-origin:top center;transform:perspective(400px) rotateX(-90deg);opacity:0}
1to{transform:perspective(400px) rotateX(0);opacity:1}}@keyframes _ngcontent-%COMP%_blink{0%{opacity:.3}to{opacity:1}}@keyframes _ngcontent-%COMP%_fadein{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_fadeInUp{0%{opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _ngcontent-%COMP%_spinner{0%{transform:rotateY(0)}to{transform:rotateY(-360deg)}}@keyframes _ngcontent-%COMP%_bonanzaFirstAnimation{0%{opacity:0}10%{opacity:1}40%{opacity:1}50%{opacity:0}to{opacity:0}}@keyframes _ngcontent-%COMP%_bonanzaSecondAnimation{0%{opacity:1}10%{opacity:0}40%{opacity:0}50%{opacity:1}to{opacity:1}}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_fadeInScale{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}[_nghost-%COMP%]{width:100%;background-color:var(--baseBlue02)}.c-selection-items-container[_ngcontent-%COMP%]{padding-left:5px;display:flex;flex-direction:column}.price[_ngcontent-%COMP%]{font-size:12px;position:relative;line-height:10px}.c-selection-item-name[_ngcontent-%COMP%]{font-size:12px;color:var(--baseWhite04);line-height:25px}.c-event__game-wrapper.early-payout[_ngcontent-%COMP%], .c-event__game-wrapper.early-payout[_ngcontent-%COMP%] .c-selection[_ngcontent-%COMP%], .c-event__game-wrapper.early-payout.c-event__game-wrapper--without-league-info[_ngcontent-%COMP%] .c-selection[_ngcontent-%COMP%]{line-height:25px}.c-event__game-wrapper[_ngcontent-%COMP%]{height:56px;overflow:hidden;display:flex;align-items:stretch}.c-event__game-wrapper.c-event__game-wrapper--without-league-info[_ngcontent-%COMP%]{height:50px}.c-event__game-wrapper.c-event__game-wrapper--without-league-info[_ngcontent-%COMP%] .c-selection[_ngcontent-%COMP%]{line-height:50px}.c-event__game-wrapper.c-event__game-wrapper--without-league-info[_ngcontent-%COMP%] .c-selection.c-selection--label[_ngcontent-%COMP%]{line-height:31px}.c-event__game-wrapper.c-event__game-wrapper--without-league-info[_ngcontent-%COMP%] .c-selection.c-selection--label.price-up[_ngcontent-%COMP%]:after{top:1px!important}.c-event__game-wrapper.c-event__game-wrapper--without-league-info[_ngcontent-%COMP%] .c-selection.c-selection--label.price-down[_ngcontent-%COMP%]:after{bottom:2px!important}.c-event__game-wrapper.c-event__game-wrapper--without-league-info[_ngcontent-%COMP%] .c-selection.price-up[_ngcontent-%COMP%]:after{top:5px}.c-event__game-wrapper.c-event__game-wrapper--without-league-info[_ngcontent-%COMP%] .c-selection.price-down[_ngcontent-%COMP%]:after{bottom:5px}@media screen and (max-width: 1365px){.c-event__game-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-of-type(3){display:none}}@media screen and (max-width: 1200px){.c-event__game-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-of-type(2){display:none}}.c-event__game[_ngcontent-%COMP%]{width:100%;min-width:0;flex:1;border-left:1px solid var(--baseBlack02)}.c-event__game-label[_ngcontent-%COMP%] ~ .c-event__game-selections[_ngcontent-%COMP%] .c-selection.price-up[_ngcontent-%COMP%]:after{top:5px;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:7px solid var(--base-green-01)}.c-event__game-label[_ngcontent-%COMP%] ~ .c-event__game-selections[_ngcontent-%COMP%] .c-selection.price-down[_ngcontent-%COMP%]:after{bottom:6px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:7px solid var(--base-primary)}.c-event__game-selections--one[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr}.c-event__game-selections--two[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr}.c-event__game-selections--three[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr}.c-event__game-selections--four[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr}.c-event__game-selections--five[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(5,20%)}.c-selection[_ngcontent-%COMP%]{cursor:pointer;background-color:transparent;color:var(--baseTextColor);position:relative;font-family:var(--font-cond);font-size:calc(10px + .3vw);font-weight:500;line-height:56px;text-align:center;flex:1}.c-selection[_ngcontent-%COMP%]:after{content:"";opacity:0;position:absolute;display:block;width:0;height:0;right:50%;transform:translate(50%);z-index:var(--z-index-above-min)}.c-selection.price-up[_ngcontent-%COMP%]:after{top:7px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:10px solid var(--base-green-01);animation:6s ease-in-out 0s 1 _ngcontent-%COMP%_priceArrow,1s ease-in-out 1s 4 _ngcontent-%COMP%_flash}.c-selection.price-down[_ngcontent-%COMP%]:after{bottom:7px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:10px solid var(--base-primary);animation:6s ease-in-out 0s 1 _ngcontent-%COMP%_priceArrow,1s ease-in-out 1s 4 _ngcontent-%COMP%_flash}.c-selection[_ngcontent-%COMP%]:hover, .c-selection[_ngcontent-%COMP%]:hover .c-selection-name[_ng
1content-%COMP%]{background-color:var(--baseBlue07)}.c-selection.c-selection--selected[_ngcontent-%COMP%]{background-color:var(--base-yellow-01);color:var(--black);transition:background-color .2s linear}.c-selection.c-selection--selected[_ngcontent-%COMP%] .c-selection-name[_ngcontent-%COMP%]{background-color:var(--baseYelow01)}.c-selection.c-selection--selected[_ngcontent-%COMP%] .c-selection-item-name[_ngcontent-%COMP%]{color:var(--black)}.c-selection.disabled[_ngcontent-%COMP%]{pointer-events:none;color:var(--selectionDisabledColor)}.c-selection.c-selection--label[_ngcontent-%COMP%]{line-height:40px}.c-selection--epo.price-up[_ngcontent-%COMP%]:after{top:20px;left:13px}.c-selection--epo.price-down[_ngcontent-%COMP%]:after{bottom:20px;right:13px}.c-selection--unavailable[_ngcontent-%COMP%]{cursor:default;color:var(--baseBlue18);font-size:12px;line-height:50px;text-align:center;font-weight:400;text-transform:uppercase;display:flex;justify-content:center;align-items:center;height:100%}.c-selection--unavailable[_ngcontent-%COMP%] svg-icon[_ngcontent-%COMP%]{display:inline-flex}.c-selection--line[_ngcontent-%COMP%]{pointer-events:none;color:var(--baseBlue18);font-size:25px;font-weight:400}.c-selection--limit[_ngcontent-%COMP%]{pointer-events:none;cursor:default;background-color:var(--baseBlue09);color:var(--baseYellow01);font-size:16px;font-weight:400}.c-event__game-label[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:20px;font-size:12px;font-weight:500;text-align:center;padding:2px;background-color:var(--baseBlue09);color:var(--baseTextColor);border-bottom:1px solid transparent;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}']})}}return se})();var z=r(20279);const W=(se,be,je)=>({"c-selection--selected":se,disabled:be,"c-selection--line":je}),re=(se,be,je,ft,kt)=>[se,be,je,ft,kt];function ee(se,be){if(1&se&&(l.j41(0,"div",12),l.nI1(1,"getTooltipFromSelection"),l.j41(2,"span",11),l.EFF(3),l.k0s()()),2&se){const je=l.XpG(),ft=je.$implicit,kt=je.index,Yt=l.XpG(2).$implicit,yn=l.XpG();l.Y8G("title",l.iJd(1,2,l.s1E(8,re,kt,ft,yn.event,Yt.groups[0],yn.tooltipService.triggerPipeCounter))),l.R7$(3),l.SpI(" ",Yt.groups[0].handicap||Yt.groups[0].overUnder," ")}}function Se(se,be){if(1&se){const je=l.RV6();l.qex(0),l.DNE(1,ee,4,14,"div",8),l.j41(2,"div",9),l.nI1(3,"getTooltipFromSelection"),l.bIt("click",function(){const kt=l.eBV(je).$implicit,Yt=l.XpG(3);return l.Njj(Yt.toggleItemOnTicket(kt))}),l.j41(4,"span",10),l.EFF(5),l.k0s(),l.j41(6,"span",11),l.EFF(7),l.nI1(8,"formatOddPipe"),l.k0s()(),l.bVm()}if(2&se){const je=be.$implicit,ft=be.index,kt=l.XpG(2).$implicit,Yt=l.XpG();l.R7$(),l.Y8G("ngIf",1===ft&&(kt.groups[0].handicap||kt.groups[0].overUnder)),l.R7$(),l.Y8G("ngClass",l.sMw(15,W,Yt.ticketService.itemsOnTicket[je.selectionId],"BLOCKED"===je.state,je.price<=1))("title",l.iJd(3,5,l.s1E(19,re,ft,je,Yt.event,kt.groups[0],Yt.tooltipService.triggerPipeCounter))),l.R7$(3),l.SpI(" ",je.name," "),l.R7$(2),l.SpI(" ",l.brH(8,11,je.price,Yt.oddsFormatService.selectedFormat,Yt.selectionTrigger)," ")}}function J(se,be){if(1&se&&(l.j41(0,"div",5)(1,"div",6),l.DNE(2,Se,9,25,"ng-container",7),l.nI1(3,"slice"),l.k0s()()),2&se){const je=l.XpG().$implicit;l.R7$(2),l.Y8G("ngForOf",l.brH(3,1,je.groups[0].selections,0,10))}}function de(se,be){1&se&&(l.j41(0,"div",13),l.EFF(1),l.nI1(2,"translate"),l.k0s()),2&se&&(l.R7$(),l.SpI(" ",l.bMT(2,1,"general.unavailable")," "))}function ke(se,be){if(1&se&&(l.j41(0,"div",2),l.DNE(1,J,4,5,"div",3),l.nI1(2,"isMarketAvailable"),l.DNE(3,de,3,3,"div",4),l.nI1(4,"isMarketUnavailable"),l.k0s()),2&se){const je=be.$implicit,ft=l.XpG();l.R7$(),l.Y8G("ngIf",l.brH(2,2,je,ft.event,ft.checkAvailableMarketPipe)),l.R7$(2),l.Y8G("ngIf",l.brH(4,6,je,ft.event,ft.checkAvailableMarketPipe))}}let ge=(()=>{class se{constructor(je,ft,kt){this.ticketService=je,this.oddsFormatService=ft,this.tooltipService=kt,this.type="",this.checkAvailableMarketPipe=0,this.pageNameEarlyPayout=z.Bi.EARLY_PAYOUT}ngOnChanges(je){(je.selectionTrigger||je.triggerPipe)&&this.checkAvailableMarketPipe++}toggleItemOnTicket(je){(0,E.A)(je,"price")<1||this.ticketService.toggledItemOnTicket((0,E.A)(je,"selectionId"))}static{this.\u0275fac=function(ft){return new(ft||se)(l.rXU(y.Y),l.rXU(I.$),l.rXU(S.J))}}static{this.\u0275cmp=l.VBU({type:se,selectors:[["item-games-old"]],inputs:{event:"event",triggerPipe:"triggerPipe",selectionTrigger:"selectionTrigger",type:"type"},features:[l.OA$],decls:2,vars:1,consts:[[1,"c-event__game-wrapper"],["class","c-event__game",4,"ngFor","ngForOf"],[1,"c-event__game"],["class","c-event__selection",4,"ngIf"],["class","c-selection c-selection--unavailable",4,"ngIf"],[1,"c-event__selection"],[1,"c-event__selection-number"],[4,"ngFor","ngForOf"],["class","c-selection c-selection--limit",3,"title",4,"ngIf"],[1,"c-selection",3,"click","ngClass","title"],[1,"c-selection-name"],[1,"c-selection-
1price"],[1,"c-selection","c-selection--limit",3,"title"],[1,"c-selection","c-selection--unavailable"]],template:function(ft,kt){1&ft&&(l.j41(0,"div",0),l.DNE(1,ke,5,10,"div",1),l.k0s()),2&ft&&(l.R7$(),l.Y8G("ngForOf",null==kt.event?null:kt.event.positions))},styles:["[_nghost-%COMP%]{width:100%;background-color:var(--eventGamesBg);display:flex;flex-direction:column;min-width:0}.c-event__game-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;background-color:var(--baseBlue02);color:var(--baseTextColor);flex:1}.c-event__game-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.c-event__game[_ngcontent-%COMP%]{text-align:center}.c-event__selection[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.c-event__selection-number[_ngcontent-%COMP%]{display:flex;justify-content:center;flex:1}.c-event__selection-number[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1}.c-event__selection-header[_ngcontent-%COMP%]{background-color:var(--baseBlue08);color:var(--baseWhite02);border-bottom:1px solid var(--baseBlack02);font-size:12px;height:20px;border-left:1px solid var(--baseBlack02);display:flex;align-items:center;justify-content:center}.c-selection-name[_ngcontent-%COMP%]{text-align:center;font-size:11px;font-weight:400;height:16px;line-height:16px;border-bottom:1px solid var(--baseBlack02);width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-selection-price[_ngcontent-%COMP%]{font-size:12px;flex:1;display:flex;align-items:center;justify-content:center}.c-quota[_ngcontent-%COMP%]{height:25px;font-size:12px;display:flex;align-items:center;justify-content:center;font-weight:600;color:var(--eventRivalsColor)}.c-selection[_ngcontent-%COMP%]{cursor:pointer;font-size:calc(11px + .3vw);text-align:center;position:relative;font-family:var(--font-cond);background-color:transparent;color:var(--baseTextColor);border-left:1px solid var(--baseBlack02);font-weight:600;min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.c-selection[_ngcontent-%COMP%]:hover, .c-selection[_ngcontent-%COMP%]:hover .c-selection-name[_ngcontent-%COMP%]{background-color:var(--baseBlue07)}.c-selection.c-selection--selected[_ngcontent-%COMP%]{background-color:var(--base-yellow-01);color:var(--black);transition:background-color .2s linear}.c-selection.c-selection--selected[_ngcontent-%COMP%] .c-selection-name[_ngcontent-%COMP%]{background-color:var(--baseYelow01)}.c-selection.disabled[_ngcontent-%COMP%]{pointer-events:none;color:var(--selectionDisabledColor)}.c-selection.c-selection--label[_ngcontent-%COMP%]{line-height:40px}.c-selection--unavailable[_ngcontent-%COMP%]{pointer-events:none;background-color:var(--selectionDisablegBg);color:var(--baseBlue18);font-size:12px;line-height:60px;text-align:center;font-weight:400;text-transform:uppercase}.c-selection--line[_ngcontent-%COMP%]{pointer-events:none;background-color:var(--selectionDisablegBg);color:var(--selectionDisabledColor);font-size:25px;font-weight:400}.c-selection--limit[_ngcontent-%COMP%]{pointer-events:none;background-color:var(--baseBlue09);color:var(--baseYellow01);font-size:16px;font-weight:400}"]})}}return se})();var ye=r(30925);let Pe=(()=>{class se{static{this.\u0275fac=function(ft){return new(ft||se)}}static{this.\u0275mod=l.$C({type:se})}static{this.\u0275inj=l.G2t({imports:[i.CommonModule]})}}return se})(),Me=(()=>{class se{transform(je,ft,kt){return je?.groups&&je.groups[0]&&je.groups[0].selections&&ft?.header?.state===C.c4.ACTIVE&&!this._isAllSelectionsBlocked(je)}_isAllSelectionsBlocked(je){if(0===je.groups[0].selections.length)return!0;let ft=0;for(let kt=0;kt<je.groups[0].selections.length;kt++)je.groups[0].selections[kt].state===C.c4.BLOCKED&&ft++;return je.groups[0].selections.length===ft}static{this.\u0275fac=function(ft){return new(ft||se)}}static{this.\u0275pipe=l.EJ8({name:"isMarketAvailable",type:se,pure:!0})}}return se})(),We=(()=>{class se{transform(je,ft,kt){return!(0,E.A)(je,"groups[0].selections")||0===je.groups[0].selections.length||(0,E.A)(ft,"header.state")!==C.c4.ACTIVE||this._isAllSelectionsBlocked(je)}_isAllSelectionsBlocked(je){let ft=0;for(let kt=0;kt<je.groups[0].selections.length;kt++)je.groups[0].selections[kt].state===C.c4.BLOCKED&&ft++;return je.groups[0].selections.length===ft}static{this.\u0275fac=function(ft){return new(ft||se)}}static{this.\u0275pipe=l.EJ8({name:"isMarketUnavailable",type:se,pure:!0})}}return se})(),Oe=(()=>{class se{constructor(je,ft){this._tooltipService=je,this._translationService=ft}transform(je,ft,kt,Yt,yn){const ln=kt.header?.sport?.sportId,Mn=ft.gameTemplateId,An=kt.header?.rivals,un=Yt.handicap,wn=Yt.overUnder,Xn=Yt.name,vt=(0,E.A)(this._tooltipService.currentTooltips,`[${ln}][${Mn}].selectionTooltips[${je+1}]`,"");let Dt=vt&&this._translationService.instant(vt);return Dt=Dt.replace("{1}",An[0]?An[0]:"").trim(),Dt=Dt.replace("{2}",An[1]?An[1]:"").trim(),Dt=Dt.replace("{m}",Xn||"").trim(),Dt=Dt.replace("{h}",un?`${un}`:"").trim(),Dt=Dt.replace("{o}",wn?`${wn}`:"").trim(),Dt}static{this.\u0275fac=function(ft){return new(ft||se)(l.rXU(S.J,16),l.rXU(d.c$,16))}}static{this.\u0275pipe=l.EJ8({name:"getTooltipFromSelection",type:se,pure:!0})}}return se})();var tt=r(28026),Qe=r(96467),_t=r(34405);let ht=(()=>{class se{constructor(je){this._restConfigurationService=je}transform(je){let ft=this._restConfigurationService.getGeneralCustomConfigurationParams("showFlagOnRivalsForLeagues");return!!ft&&(ft=ft.split(","),ft.includes(`${je}`))}static{this.\u0275fac=function(ft){return new(ft||se)(l.rXU(_t.M,16))}}static{this.\u0275pipe=l.EJ8({name:"shouldShowFlag",type:se,pure:!0})}}return se})();var mt=r(55975),Vt=r(25569),Ot=r(72252),Fe=r(80536),Ye=r(10511),Re=r(33160),De=r(23882),He=r(36586),we=r(23434),Tt=r(4370),ct=r(76747),tn=r(88685);let Ee=(()=>{class se{static{this.\u0275fac=function(ft){return new(ft||se)}}static{this.\u0275mod=l.$C({type:se})}static{this.\u0275inj=l.G2t({providers:[h.i,p.f],imports:[o.iI,i.CommonModule,d.h,m.A,Pe,ye.U,tt.a,o.iI,i.CommonModule,d.h,ye.U]})}}return se})();l.wjB(v.L,[o.Wk,i.NgClass,i.NgComponentOutlet,i.NgIf,Qe.D,oe],[i.LowerCasePipe,d.D9,ht,mt.G,Vt.l,Ot.H,Fe.d,Ye.a,Re.k]),l.wjB(_.y,[o.Wk,i.NgClass,i.NgIf,Qe.D,oe,ge],[i.LowerCasePipe,i.DatePipe,d.D9,mt.G,De.w,He.b,we.C,Re.k]),l.wjB(oe,[i.NgClass,i.NgForOf,i.NgIf,Qe.D],[i.SlicePipe,Tt.B,ct.P,tn.Y,Me,We,Oe]),l.wjB(ge,[i.NgClass,i.NgForOf,i.NgIf],[i.SlicePipe,d.D9,ct.P,Me,We,Oe])},93726:(he,M,r)=>{"use strict";r.d(M,{c:()=>l});var o=r(10467),i=r(54438),d=r(73955),h=r(58114),v=r(60177),_=r(64684),m=r(72206),p=r(60488),u=r(58167),E=r(81237);function C(y,I){1&y&&i.nrm(0,"local-loader")}let l=(()=>{class y{constructor(){this._authService=(0,i.WQX)(u.u),this._unicoService=(0,i.WQX)(_.u),this.unicoFlow=(0,i.hFB)(m.SC.ID_DOCS),this.isLoaderActive=(0,i.vPA)(!0)}ngOnInit(){var S=this;return(0,o.A)(function*(){yield S._authService.setUnicoJwtToken(),yield S._unicoService.setUnicoToken(),yield S._unicoService.initUnicoSDK(S.unicoFlow()),yield S._unicoService.openUnicoSDK(),S.isLoaderActive.set(!1),S._unicoService.isUnicoInitialized.set(!0)})()}ngOnDestroy(){var S=this;return(0,o.A)(function*(){yield S._unicoService.closeUnicoSDK(),S._unicoService.isUnicoVisible.set(!1),S._unicoService.isUnicoInitialized.set(!1)})()}static{this.\u0275fac=function(P){return new(P||y)}}static{this.\u0275cmp=i.VBU({type:y,selectors:[["app-unico-sdk"]],inputs:{unicoFlow:[1,"unicoFlow"]},standalone:!0,features:[i.aNF],decls:2,vars:1,consts:[["id","unico_iframe_embedded"]],template:function(P,F){1&P&&(i.j41(0,"div",0),i.DNE(1,C,1,0,"local-loader"),i.k0s()),2&P&&(i.R7$(),i.vxM(F.isLoaderActive()?1:-1))},dependencies:[d.h,h.A,v.CommonModule,p.z,E.q],styles:["[_nghost-%COMP%]{display:block;width:100%;z-index:10;position:relative;flex:1}#unico_iframe_embedded[_ngcontent-%COMP%]{height:80vh;display:flex;align-items:center;justify-content:center}"]})}}return y})()},8700:(he,M,r)=>{"use strict";r.d(M,{K$:()=>y,LQ:()=>u,Pc:()=>_,Q0:()=>v,Rw:()=>E,SD:()=>C,YT:()=>S,YY:()=>l,ib:()=>m,mj:()=>I,nh:()=>i,rZ:()=>p,tv:()=>d,yx:()=>h});const i={ACCEPT:"ACCEPT",AUTO_RESERVATION_AUTHORIZATION_REQUIRED:"AUTO_RESERVATION_AUTHORIZATION_REQUIRED",CHECK:"CHECK",CREATE_TRANSFER:"CREATE_TRANSFER",CREATE_TRANSFER_SUCCESS:"CREATE_TRANSFER_SUCCESS",FAILED:"FAILED",NEW:"NEW",NEW_RESERVATION:"NEW_RESERVATION",PENDING:"PENDING",REJECT:"REJECT",RESERVATION_AUTHORIZATION_APPROVED:"RESERVATION_AUTHORIZATION_APPROVED",RESERVATION_AUTHORIZATION_HOLD:"RESERVATION_AUTHORIZATION_HOLD",RESERVATION_AUTHORIZATION_REJECTED:"RESERVATION_AUTHORIZATION_REJECTED",RESERVATION_FAILED:"RESERVATION_FAILED",SUBMITTED:"SUBMITTED"},d={ACCEPT:"ACCEPT",CHECK:"CHECK",CREATE_TRANSFER:"CREATE_TRANSFER",CREATE_TRANSFER_SUCCESS:"CREATE_TRANSFER_SUCCESS",FAILED:"FAILED",INITIATED:"INITIATED",NEW:"NEW",PENDING:"PENDING",REJECT:"REJECT",SUBMITTED:"SUBMITTED"},h={ACKRILA:"ACKRILA",URL:"URL"},v={PREVIEW:"preview",BANKTRANSFER_BALKAN:"banktransfer-balkan",BANKTRANSFER_EU:"banktransfer-eu",COINSPAID:"coinspaid",ALLSECURE:"allsecure",MONRI:"monri",POSTA_SRBIJE:"posta-srbije",PHONE_NUMBER_PAYMENT:"phone-number-payment",VIVA:"viva-native",PAYSPOT_PROXY:"payspot-proxy"},_="PAYMENT_PROVIDER",m=9,p={NAME:"bankName",NUMBER:"bankNumber",CHECK:"moduloCheck"},u={WITHDRAW_BANK_ACCOUNT_NUMBER:"WITHDRAW_BANK_ACCOUNT_NUMBER",ACCOUNT_BANK_ID:"ACCOUNT_BANK_ID"},E={DEPOSIT_SUCCESS:"deposited-success",DEPOSIT_ERROR:"deposited-error",ERROR:"error"},C={SUBMITTED:"SUBMITTED",REJECTED:"REJECTED",CANCEL:"CANCEL"},l="SOURCE_OF_FUNDS",y="ONLY_VERIFIED_PLAYERS_CAN_DEPOSIT_MONEY",I="LOCATION_ID",S="LOCATION_NAME"},31185:(he,M,r)=>{"use strict";r.d(M,{GK:()=>d,IM:()=>p,Jt:()=>v,jN:()=>h,jv:()=>m,mN:()=>_,vQ:()=>u});var o=r(30798);const d="MANDATORY",h="ONE_OF_MANDATORY",v=[o.vo.DEPOSIT,o.vo.WAGER,o.vo.LOSS],_=[o.IV.ONE_DAY,o.IV.TWO_DAYS,o.IV.THREE_DAYS,o.IV.ONE_WEEK,o.IV.ONE_MONTH,o.IV.SIX_WEEKS],m=[o.Qf.SIX_MONTHS,o.Qf.ONE_YEAR,o.Qf.TWO_YEARS,o.Qf.FIVE_YEARS,o.Qf.LIFETIME],p=[o.Ef.UNLIMITED_ACCESS,o.Ef.FIFTEEN_MINUTES,o.Ef.THIRTY_MINUTES,o.Ef.FORTY_FIVE_MINUTES,o.Ef.ONE_HOUR,o.Ef.TWO_HOURS,o.Ef.THREE_HOURS,o.Ef.FOUR_HOURS,o.Ef.FIVE_HOURS,o.Ef.SIX_HOURS],u=[{dayOfWeek:o.yY.MONDAY,currentAvailabilityPeriodDailyLimit:{repeatsEveryWeek:!1,availabilityType:o.Lu.ACTIVE_THROUGHOUT_THE_DAY,activeOnSpecificTimeStartTimeInMinutes:null,activeOnSpecificTimeEndTimeInMinutes:null},nextAvailabilityPeriodDailyLimit:null},{dayOfWeek:o.yY.TUESDAY,currentAvailabilityPeriodDailyLimit:{repeatsEveryWeek:!1,availabilityType:o.Lu.ACTIVE_THROUGHOUT_THE_DAY,activeOnSpecificTimeStartTimeInMinutes:null,activeOnSpecificTimeEndTimeInMinutes:null},nextAvailabilityPeriodDailyLimit:null},{dayOfWeek:o.yY.WEDNESDAY,currentAvailabilityPeriodDailyLimit:{repeatsEveryWeek:!1,availabilityType:o.Lu.ACTIVE_THROUGHOUT_THE_DAY,activeOnSpecificTimeStartTimeInMinutes:null,activeOnSpecificTimeEndTimeInMinutes:null},nextAvailabilityPeriodDailyLimit:null},{dayOfWeek:o.yY.THURSDAY,currentAvailabilityPeriodDailyLimit:{repeatsEveryWeek:!1,availabilityType:o.Lu.ACTIVE_THROUGHOUT_THE_DAY,activeOnSpecificTimeStartTimeInMinutes:null,activeOnSpecificTimeEndTimeInMinutes:null},nextAvailabilityPeriodDailyLimit:null},{dayOfWeek:o.yY.FRIDAY,currentAvailabilityPeriodDailyLimit:{repeatsEveryWeek:!1,availabilityType:o.Lu.ACTIVE_THROUGHOUT_THE_DAY,activeOnSpecificTimeStartTimeInMinutes:null,activeOnSpecificTimeEndTimeInMinutes:null},nextAvailabilityPeriodDailyLimit:null},{dayOfWeek:o.yY.SATURDAY,currentAvailabilityPeriodDailyLimit:{repeatsEveryWeek:!1,availabilityType:o.Lu.ACTIVE_THROUGHOUT_THE_DAY,activeOnSpecificTimeStartTimeInMinutes:null,activeOnSpecificTimeEndTimeInMinutes:null},nextAvailabilityPeriodDailyLimit:null},{dayOfWeek:o.yY.SUNDAY,currentAvailabilityPeriodDailyLimit:{repeatsEveryWeek:!1,availabilityType:o.Lu.ACTIVE_THROUGHOUT_THE_DAY,activeOnSpecificTimeStartTimeInMinutes:null,activeOnSpecificTimeEndTimeInMinutes:null},nextAvailabilityPeriodDailyLimit:null}]},35132:(he,M,r)=>{"use strict";r.d(M,{d:()=>i});var o=r(30798);
1class i{static fromPersonalLimitsConfigurationResponse(h){return h.payload}static fromUserPersonalLimitsDataResponse(h){return h.payload}static fromExclusionLimitSetResponse(h){return h.payload}static fromPauseSetResponse(h){return h.payload}static fromSessionDurationResponse(h){return null!==h.payload.sessionDuration?h.payload.sessionDuration:o.Ef.UNLIMITED_ACCESS}static fromAvailabilityPeriodResponse(h){return h.payload}static fromAvailabilityPeriodDailyResponse(h){return h.payload}}},30798:(he,M,r)=>{"use strict";r.d(M,{Ef:()=>m,IV:()=>h,Lu:()=>E,Q3:()=>o,Qf:()=>_,SQ:()=>l,YY:()=>C,sl:()=>i,vo:()=>d,yY:()=>p,z5:()=>u});var o=function(y){return y.OPTIONAL="OPTIONAL",y.MANDATORY="MANDATORY",y.ONE_OF_MANDATORY="ONE_OF_MANDATORY",y}(o||{}),i=function(y){return y.DAILY="DAILY",y.WEEKLY="WEEKLY",y.MONTHLY="MONTHLY",y}(i||{}),d=function(y){return y.DEPOSIT="DEPOSIT",y.WAGER="WAGER",y.LOSS="LOSS",y}(d||{}),h=function(y){return y.ONE_DAY="ONE_DAY",y.TWO_DAYS="TWO_DAYS",y.THREE_DAYS="THREE_DAYS",y.ONE_WEEK="ONE_WEEK",y.ONE_MONTH="ONE_MONTH",y.SIX_WEEKS="SIX_WEEKS",y}(h||{}),_=function(y){return y.SIX_MONTHS="SIX_MONTHS",y.ONE_YEAR="ONE_YEAR",y.TWO_YEARS="TWO_YEARS",y.FIVE_YEARS="FIVE_YEARS",y.LIFETIME="LIFETIME",y}(_||{}),m=function(y){return y.UNLIMITED_ACCESS="UNLIMITED_ACCESS",y.FIFTEEN_MINUTES="FIFTEEN_MINUTES",y.THIRTY_MINUTES="THIRTY_MINUTES",y.FORTY_FIVE_MINUTES="FORTY_FIVE_MINUTES",y.ONE_HOUR="ONE_HOUR",y.TWO_HOURS="TWO_HOURS",y.THREE_HOURS="THREE_HOURS",y.FOUR_HOURS="FOUR_HOURS",y.FIVE_HOURS="FIVE_HOURS",y.SIX_HOURS="SIX_HOURS",y}(m||{}),p=function(y){return y.MONDAY="MONDAY",y.TUESDAY="TUESDAY",y.WEDNESDAY="WEDNESDAY",y.THURSDAY="THURSDAY",y.FRIDAY="FRIDAY",y.SATURDAY="SATURDAY",y.SUNDAY="SUNDAY",y}(p||{});const u={0:p.SUNDAY,1:p.MONDAY,2:p.TUESDAY,3:p.WEDNESDAY,4:p.THURSDAY,5:p.FRIDAY,6:p.SATURDAY};var E=function(y){return y.ACTIVE_THROUGHOUT_THE_DAY="ACTIVE_THROUGHOUT_THE_DAY",y.INACTIVE_THROUGHOUT_THE_DAY="INACTIVE_THROUGHOUT_THE_DAY",y.ACTIVE_ON_SPECIFIC_TIME_FRAME="ACTIVE_ON_SPECIFIC_TIME_FRAME",y}(E||{}),C=function(y){return y.ACTIVE="active",y.PENDING="pending",y.EXPIRED="expired",y}(C||{}),l=function(y){return y.FORCE="force",y.LOGOUT="logout",y.UNLIMITED_ACCESS="unlimitedAccess",y}(l||{})},10157:(he,M,r)=>{"use strict";r.d(M,{_:()=>Z});var o=r(31635),i=r(54438),d=r(14421),h=r(71576),v=r(77286),_=r(28998),m=r(21626),p=r(61131);let u=(()=>{class ie extends h.F{constructor(me,xe,$,V,oe,z){super(me,xe,$,V,oe,z),this._cookieService=me,this._errorService=xe,this._state=$,this._httpClient=V,this._transferStateService=oe,this.platformId=z,this._apiUrl=`${API_URL}/api/v1`}static{this.\u0275fac=function(xe){return new(xe||ie)(i.KVO(v.Q),i.KVO(_.I),i.KVO(i.pJN),i.KVO(m.Qq),i.KVO(p.G),i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}}return ie})();var E=r(95006),C=r(20522),l=r(70762);class I{constructor(ve){this.total=ve}call(ve,me){return me.subscribe(new S(ve,this.total))}}class S extends l.v{constructor(ve,me){super(ve),this.total=me,this.count=0}_next(ve){++this.count>this.total&&this.destination.next(ve)}}var P=r(15539),F=r(65283),N=r(58167),U=r(89079),T=r(85375),L=r(42199);class Z{constructor(){this._pushNotificationsHttpService=(0,i.WQX)(u),this._httpService=(0,i.WQX)(F.k),this._authService=(0,i.WQX)(N.u),this._settingsCache=(0,i.vPA)(null),this._clearSettingsCacheOnAuthChange()}_clearSettingsCacheOnAuthChange(){(0,U.br)(this._authService.currentUser).pipe((0,E.T)(ve=>ve.isUserLogin),(0,C.F)(),function y(ie){return ve=>ve.lift(new I(ie))}(1),(0,U.pQ)()).subscribe(()=>this._settingsCache.set(null))}getSettings(){const ve=this._settingsCache();return ve?(0,d.of)(structuredClone(ve)):this._pushNotificationsHttpService.get("generic-push/settings","generic-push/settings").pipe((0,P.M)(me=>this._settingsCache.set(structuredClone(me))))}saveSettings(ve){return this._pushNotificationsHttpService.put("generic-push/settings",ve).pipe((0,P.M)(()=>this._settingsCache.set(null)))}getDefaultSettings(){return this._pushNotificationsHttpService.get("generic-push/settings/defaults","generic-push/settings/defaults")}getMyMatches(){return this._httpService.get("api/v1/subscriptions/events","subscriptions/events").pipe((0,E.T)(ve=>ve.payload))}subscribeToNotifications(ve){return this._httpService.post(`api/v1/subscriptions/events/${ve}`)}unsubscribeFromNotifications(ve){return this._httpService.delete(`api/v1/subscriptions/events/${ve}`)}subscribeToNotificationsForTicket(ve,me){return this._httpService.post(`api/v1/subscriptions/tickets/${ve}`,{enabled:!0},me?L.mp:void 0)}toggleNotificationsForEvent(ve,me){return this._httpService.put(`api/v1/subscriptions/events/${ve}/notifications`,{enabled:me})}getFavoriteRivals(){return this._httpService.get("api/v1/favorites/rivals","favorites/rivals").pipe((0,E.T)(ve=>ve.payload))}getFavoriteRivalStatus(ve){return this._httpService.get(`api/v1/favorites/rivals/${ve}/status`,`favorites/rivals/${ve}/status`).pipe((0,E.T)(me=>me.payload))}deleteFavoriteRivals(ve){return this._httpService.delete(`api/v1/favorites/rivals/${ve}`)}addFavoriteRivals(ve){return this._httpService.post(`api/v1/favorites/rivals/${ve}`)}static{this.\u0275fac=function(me){return new(me||Z)}}static{this.\u0275prov=i.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}(0,o.Cg)([T.X],Z.prototype,"_clearSettingsCacheOnAuthChange",null)},30507:(he,M,r)=>{"use strict";r.d(M,{N:()=>u});var o=r(10467),i=r(72036),d=r(3578),h=r(79928),v=r(2428),_=r(54438),m=r(65283),p=r(34405);let u=(()=>{class E{constructor(l,y){this._httpService=l,this._restConfigurationService=y,this._myAccountNavigation=new h.t([]),this.myAccountNavigationSet$=this._myAccountNavigation.asObservable(),this._accountNavigationParentItemSet=new h.t({}),this.accountNavigationParentItemSet$=this._accountNavigationParentItemSet.asObservable(),this.mainSection=[]}getMyAccountNavigation(){this.mainSection.length?this._myAccountNavigation.next(this.mainSection):this._httpService.get(`${v.Tc}/${v.Nb.MY_ACCOUNT_NAVIGATION}`).subscribe(l=>{if((0,i.A)(l.payload)||(0,i.A)(l.payload.mainSection))return;const y=this._checkFromConfigAreSomeItemsDisabled(l.payload.mainSection);this._myAccountNavigation.next(y)})}getMyAccountNavigationPromise(){var l=this;return(0,o.A)(function*(){const y=yield l._httpService.get(`${v.Tc}/${v.Nb.MY_ACCOUNT_NAVIGATION}
1`).toPromise();if((0,i.A)(y.payload)||(0,i.A)(y.payload.mainSection))return[];const I=l._checkFromConfigAreSomeItemsDisabled(y.payload.mainSection);return l.mainSection=I,I})()}_removeItemFromConfigByName(l,y){return(0,d.A)(l,I=>I.name!==y)}_checkFromConfigAreSomeItemsDisabled(l){return this._restConfigurationService.getGeneralConfigurationParams("enableLimits")||(l=this._removeItemFromConfigByName(l,"personal-limits")),this._restConfigurationService.getGeneralCustomConfigurationParams("enableGenericPushNotifications")||(l=this._removeItemFromConfigByName(l,"notifications")),l}getAccountNavigationParentItem(){return this.accountNavigationParentItem}setAccountNavigationParentItem(l){this.accountNavigationParentItem=l,this._accountNavigationParentItemSet.next(l)}static{this.\u0275fac=function(y){return new(y||E)(_.KVO(m.k),_.KVO(p.M))}}static{this.\u0275prov=_.jDH({token:E,factory:E.\u0275fac})}}return E})()},18254:(he,M,r)=>{"use strict";r.d(M,{D:()=>l});var o=r(10467),i=r(3578),d=r(62125),h=r(45286),v=r(42199),_=r(68002),m=r(97144),p=r(54438),u=r(74864),E=r(53811),C=r(73955);let l=(()=>{class y{constructor(S,P,F){this._accountHttpService=S,this._lazyLoadScript=P,this._translateService=F,this.deposited=[],this.withdraw=[],this.isLoadingPaymentsDone=!1,this.paymentSuccess=null,this.paymentError=null,this.paymentErrorType="",this.accountPaymentListSet=new h.B7,this.accountPaymentListSet$=this.accountPaymentListSet.asObservable(),this.accountPaymentError=new h.B7,this.accountPaymentError$=this.accountPaymentError.asObservable(),this.singleDepositHappened=new h.B7,this.singleDepositHappened$=this.singleDepositHappened.asObservable(),this.accountAllSecureGetMethods=new h.B7,this.accountAllSecureGetMethods$=this.accountAllSecureGetMethods.pipe((0,_.c)(1e3)),this.accountMonriGetMethods=new h.B7,this.accountMonriGetMethods$=this.accountMonriGetMethods.asObservable(),this.singlePaymentStatus=new h.B7,this.singlePaymentStatus$=this.singlePaymentStatus.asObservable()}getPaymentMethods(){var S=this;this._accountHttpService.get("api/v2/payment-methods").subscribe(function(){var P=(0,o.A)(function*(F){const[N,U]=yield Promise.all([S._checkIfHasGooglePaymentAndPreparePayments(F),S._checkIfHasApplePaymentAndPreparePayments(F)]);S._prepareDepositedAndWithdrawList(F,U,N),S.isLoadingPaymentsDone=!0});return function(F){return P.apply(this,arguments)}}(),()=>{this.isLoadingPaymentsDone=!0})}submitDepositPayment(S){return this._accountHttpService.post("api/v2/deposit",S,v.mp,!0)}submitWithdrawPayment(S,P="v2"){return this._accountHttpService.post(`api/${P}/withdraw`,S,v.mp,!0)}submitAcrillaWithdrawPayment(S,P){return this._accountHttpService.put(`api/v2/withdraw/${S}?locationId=${P}`)}submitBanktransferWithdrawPayment(S){return this._accountHttpService.post("api/v2/withdraw/bank-transfer",S,v.mp,!0)}submitCancelReservation(){return this._accountHttpService.put("api/v1/cancel",{},v.a1,!0)}cardPaymentCallBack(S,P){return this._accountHttpService.put(`api/v1/deposit/${S}`,P)}getPaymentStatus(S){return this._accountHttpService.get(`api/v2/payment/${S}`)}getAllSecureSavedCards(){return this._accountHttpService.get("api/v1/allsecure").toPromise()}getMonriSavedCards(S){return this._accountHttpService.post("api/v1/monri",S)}deleteMonriSavedCard(S,P){return this._accountHttpService.post(`api/v1/monri/${P}/expire`,S).toPromise()}deleteAllSecureCard(S,P){return this._accountHttpService.post(`api/v1/allsecure/${S}/deregister`,P).toPromise()}getSavedPhoneNumbers(S,P){return this._accountHttpService.get(`api/v1/${P.toLowerCase()}/${S}/saved-numbers`)}deleteSavedPhoneNumber(S,P,F){return this._accountHttpService.delete(`api/v1/${P.toLowerCase()}/${S}/saved-numbers/${F}`)}formatSelectedBetshopInfo(S){let P="";return S.city&&(P+=`${S.city},`),S.displayName&&(P+=` ${S.displayName},`),S.street&&(P+=` ${S.street}`),P.replace(/,$/,"")}formatSelectedAckrillaLocation(S){let P="";return S.name&&(P+=`${S.name},`),S.address&&(P+=` ${S.address},`),S.city&&(P+=` ${S.city}`),P.replace(/,$/,"")}getDataForCoinsPaid(S){return this._accountHttpService.post("api/v1/coinspaid",S)}_prepareDepositedAndWithdrawList(S,P,F){this.deposited=[...P?[P]:[],...F?[F]:[],...(0,i.A)(S.paymentMethods,N=>N.deposit)],this.withdraw=(0,i.A)(S.paymentMethods,N=>N.withdrawal),this.accountPaymentListSet.next(!0)}_checkIfHasGooglePaymentAndPreparePayments(S){var P=this;return(0,o.A)(function*(){if(!S?.paymentMethods?.length)return null;const F=S.paymentMethods.find(U=>"true"===U?.paymentClientParameters?.hasGooglePay);if(!F)return null;const N=(0,d.A)(m.c.googlePay,WEBSITE_URL);if(!N)return null;try{if(yield P._lazyLoadScript.loadScript("https://pay.google.com/gp/p/js/pay.js","google-pay").toProm
1ise(),(yield new google.payments.api.PaymentsClient({environment:N.environment,merchantId:N.merchantId,merchantName:N.merchantName}).isReadyToPay({apiVersion:2,apiVersionMinor:0,allowedPaymentMethods:[{type:"CARD",parameters:{allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"],allowedCardNetworks:["VISA","MASTERCARD"]}}]}))?.result)return{...F,displayName:P._translateService.instant("account.pay_with_google"),paymentSpecialType:"google"}}catch{return null}return null})()}_checkIfHasApplePaymentAndPreparePayments(S){var P=this;return(0,o.A)(function*(){if(!S?.paymentMethods?.length)return null;const F=S.paymentMethods.find(N=>"true"===N?.paymentClientParameters?.hasApplePay);if(!F)return null;try{if(yield P._lazyLoadScript.loadScript("https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js","apple-pay").toPromise(),window?.ApplePaySession?.canMakePayments())return{...F,displayName:P._translateService.instant("account.pay_with_apple"),paymentSpecialType:"apple"}}catch{return null}return null})()}getDataForUserUpdate(S){const{accountId:P,nickname:F,gender:N,firstName:U,lastName:T,loyaltyCardNumber:L,personalId:Z,phone:ie,email:ve,street:me,city:xe,postalCode:$,country:V,passportNumber:oe,birthdate:z,notificationLanguage:W,defaultPayin:re,newsletterEmail:ee,newsletterSms:Se,newsletterPush:J,accountActivationMethod:de,acceptedTermsAndConditions:ke}=S;return{accountId:P,nickname:F,gender:N,firstName:U,lastName:T,loyaltyCardNumber:L,personalId:Z,phone:ie,email:ve,street:me,city:xe,postalCode:$,country:V,passportNumber:oe,birthdate:z,notificationLanguage:W,defaultPayin:re,newsletterEmail:ee,newsletterSms:Se,newsletterPush:J,accountActivationMethod:de,acceptedTermsAndConditions:ke}}getPaymentProviders(S){return"deposit"===S?this.deposited:this.withdraw}static{this.\u0275fac=function(P){return new(P||y)(p.KVO(u.L),p.KVO(E.K),p.KVO(C.c$))}}static{this.\u0275prov=p.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},23726:(he,M,r)=>{"use strict";r.d(M,{T:()=>v});var o=r(54438),i=r(21626);let d=(()=>{class _{constructor(){this._httpService=(0,o.WQX)(i.Qq)}sendQueryToMeridianbetbot(p,u){return this._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/meridianbetbot`,u,{headers:{Authorization:`Bearer ${p.token}`}})}static{this.\u0275fac=function(u){return new(u||_)}}static{this.\u0275prov=o.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})();var h=r(58167);let v=(()=>{class _{constructor(){this._authService=(0,o.WQX)(h.u),this._meridianbetbotApiService=(0,o.WQX)(d),this.shouldOpenOracleChat=(0,o.vPA)(!1)}sendQueryToAiBot(p){return this._meridianbetbotApiService.sendQueryToMeridianbetbot(this._authService.getJwtToken(),p)}parseLinks(p){return p.replace(/\[([^\]]+)\]\(([^)]+)\)/g,'<a href="$2" class="link" target="_blank">$1</a>')}parseBold(p){return p.replace(/\*\*([^\*]+)\*\*/g,"<b>$1</b>")}generateUUID(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,p=>{const u=16*Math.random()|0;return("x"===p?u:3&u|8).toString(16)})}formatChatForOperator(p){return p.map(u=>`${u.sender}:\n${u.text.replace(/<br>/g,"\n").replace(/<[^>]*>/g,"")}`).join("\n\n")}static{this.\u0275fac=function(u){return new(u||_)}}static{this.\u0275prov=o.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},26015:(he,M,r)=>{"use strict";r.d(M,{x:()=>ve});var o=r(10467),i=r(54438),d=function(){return d=Object.assign||function(me){for(var xe,$=1,V=arguments.length;$<V;$++)for(var oe in xe=arguments[$])Object.prototype.hasOwnProperty.call(xe,oe)&&(me[oe]=xe[oe]);return me},d.apply(this,arguments)};function h(me){return me.endsWith("-v2")?2:1}var v=function(){function me(xe,$,V,oe){var z=this;this.iframe=null,this.iframeId=null,this.sessionId="",this.$container=null,this.initialized=!1,this.scrollPosition=-1,this.scrollElement=null,this.onMessage=function(W){z.onSdkMessage(W)},this.baseUrl=xe||this.getCurrentBaseUrl("https://in.sumsub.com",$.accessToken),this.config=$,this.config.packageVersion=this.getVersion(),this.config.origin=location.origin,this.callbacks=V,this.options=oe}return me.prototype.getVersion=function(){return"2.6.1"},me.prototype.getCurrentBaseUrl=function(xe,$){var V=["_act-sbx-jwt-","_act-jwt-"].find(function(re){return $.startsWith(re)});if(V)for(var oe=0,z=$.replace(V,"").replace("-v2","").split(".").map(function(re){try{return atob(re)}catch{return re}}).map(function(re){try{return JSON.parse(re)}catch{return re}});oe<z.length;oe++){var W=z[oe];if(W?.url)return W.url}return xe},me.prototype.getIframeId=function(){if(2===this.config.version)try{return btoa(this.config.accessToken)}catch{return this.config.accessToken}return String(Math.floor(1e8*Math.random()))},me.prototype.launch=function(xe){this.options.addViewportTag&&this.addViewportTag(),this.iframe=this.createIframe(xe),this.sessionId="",this.iframeId="id_"+this.getIframeId(),this.iframe&&this.config?(this.registerEventListener(),this.iframe.src=this.getIframeSrc()):console.error("Idensic was not initialized since either provided element was not found in the DOM or invalid config")}
1,me.prototype.addViewportTag=function(){var xe=document.getElementsByName("viewport");if(!xe||0===xe.length){var $=document.createElement("meta");$.setAttribute("name","viewport"),$.setAttribute("content","width=device-width,user-scalable=yes"),document.head.appendChild($)}},me.prototype.createIframe=function(xe){var $="string"==typeof xe?document.querySelector(xe):xe;if(!$)return console.error("Provide a valid selector for the iframe container"),null;this.$container=$;var V=document.createElement("iframe");for(V.width="100%",V.scrolling="no",V.allow="camera; microphone; geolocation; clipboard-write",V.setAttribute("frameborder","0");$.firstChild;)$.removeChild($.firstChild);return $.appendChild(V),V},me.prototype.getIframeSrc=function(){var xe="?_="+this.iframeId,V=this.baseUrl+(2===this.config.version?"/websdk":"/idensic")+"/websdk.html";return 2===this.config.version&&this.config.theme&&(xe+="&theme="+this.config.theme),2===this.config.version&&this.config.customizationName&&(xe+="&customizationName="+encodeURIComponent(this.config.customizationName)),2===this.config.version&&this.config.translationName&&(xe+="&translationName="+encodeURIComponent(this.config.translationName)),V+xe},me.prototype.registerEventListener=function(){window.addEventListener("message",this.onMessage)},me.prototype.onSdkMessage=function(xe){var $;if(this.baseUrl===xe.origin){var V=xe.data;if(V.method&&~V.method.indexOf("idCheck")&&(!this.sessionId||this.sessionId===V.sessionId)&&null!==($=this.iframe)&&void 0!==$&&$.contentWindow){if("idCheck.onReady"==V.method&&V.frameId===this.iframeId){this.sessionId=V.sessionId;var oe={options:{adaptIframeHeight:this.options.adaptIframeHeight,enableScrollIntoView:this.options.enableScrollIntoView}};this.iframe.contentWindow.postMessage(d(d({method:"idCheck.init"},this.config),oe),"*")}if("idCheck.onInitialized"==V.method&&(this.initialized=!0),"idCheck.onResize"==V.method&&this.options.adaptIframeHeight&&(this.iframe.style.height=V.height+"px"),"idCheck.onSetBorderRadius"!=V.method)if("idCheck.scrollTo"==V.method&&this.options.adaptIframeHeight)this.scrollTo(V.top);
1else if("idCheck.getScrollPosition"!=V.method)if("idCheck.restoreScrollPosition"!=V.method){var z=V.method;delete V.method,delete V.frameId,delete V.sessionId,"idCheck.onError"===z&&"invalid-token"===V.code?this.callExpirationHandler():"idCheck.onError"===z&&"function"==typeof this.callbacks.onError?this.callbacks.onError(V):"function"==typeof this.callbacks.onMessage&&this.callbacks.onMessage(z,V)}else this.restoreScrollPosition();else this.getScrollPosition();else this.iframe&&V.radius&&"string"==typeof V.radius&&(this.iframe.style.borderRadius=V.radius,this.iframe.style.overflow="hidden")}}},me.prototype.callExpirationHandler=function(){var xe=this,$=this.callbacks.expirationHandler;$.legacy?$.handler(function(V){return xe.updateAccessTokenOrReinitialize(V)}):$.handler().then(function(V){return xe.updateAccessTokenOrReinitialize(V)},function(V){null!=V||(V="Failed to update access token"),V.message&&(V=V.message),"string"!=typeof V&&(V=String(V)),xe.updateAccessToken(null,V)})},me.prototype.updateAccessTokenOrReinitialize=function(xe){var $=xe?h(xe):this.config.version;if(xe&&this.iframe&&!this.initialized&&this.config.version!=$)return this.sessionId="",this.config.accessToken=xe,this.config.version=$,this.baseUrl=this.getCurrentBaseUrl(this.baseUrl,xe),this.iframeId="id_"+this.getIframeId(),void(this.iframe.src=this.getIframeSrc());this.updateAccessToken(xe)},me.prototype.getScrolledElement=function(){for(var xe,$=null===(xe=this.iframe)||void 0===xe?void 0:xe.parentElement;0===$?.scrollTop&&"BODY"!==$?.tagName;)$=$?.parentElement;return $},me.prototype.getScrollPosition=function(){var xe,$,V=this.getScrolledElement();this.scrollPosition=V?.scrollTop||-1,this.scrollElement=this.scrollPosition>0&&V?V:null,null===($=null===(xe=this.iframe)||void 0===xe?void 0:xe.contentWindow)||void 0===$||$.postMessage({method:"idCheck.scrollPositionStored"},"*")},me.prototype.restoreScrollPosition=function(){this.scrollElement&&this.scrollPosition>=0&&(this.scrollElement.scrollTop=this.scrollPosition),this.scrollPosition=-1,this.scrollElement=null},me.prototype.scrollTo=function(xe){var $;if(this.options.enableScrollIntoView){var V=this.getScrolledElement();if(0===V?.scrollTop&&"BODY"===V?.tagName){var oe=(null===($=this.iframe)||void 0===$?void 0:$.getBoundingClientRect().top)||0;window.scrollTo({top:oe+xe,behavior:"smooth"})}else V?.scrollTo({top:xe,behavior:"smooth"})}},me.prototype.updateAccessToken=function(xe,$){var V,oe;null===(oe=null===(V=this.iframe)||void 0===V?void 0:V.contentWindow)||void 0===oe||oe.postMessage({method:"idCheck.updateAccessToken",accessToken:xe,error:$},"*")},me.prototype.destroy=function(){for(window.removeEventListener("message",this.onMessage);this.$container&&this.$container.firstChild;)this.$container.removeChild(this.$container.firstChild);this.$container=null},me.prototype.navigateBack=function(){var xe,$;null===($=null===(xe=this.iframe)||void 0===xe?void 0:xe.contentWindow)||void 0===$||$.postMessage({method:"idCheck.callNavigationBack"},"*")},me.prototype.singleStepNext=function(xe){var $,V;null===(V=null===($=this.iframe)||void 0===$?void 0:$.contentWindow)||void 0===V||V.postMessage({method:"idCheck.callSingleStepNext",step:xe},"*")},me.prototype.setLanguage=function(xe){var $,V;null===(V=null===($=this.iframe)||void 0===$?void 0:$.contentWindow)||void 0===V||V.postMessage({method:"idCheck.callSet
1Language",language:xe},"*")},me.prototype.setTheme=function(xe){var $,V;null===(V=null===($=this.iframe)||void 0===$?void 0:$.contentWindow)||void 0===V||V.postMessage({method:"idCheck.callSetTheme",theme:xe},"*")},me}(),_=function(){function me(xe,$){if(this.config=null,this.eventHandlers={},this.anyEventHandler=null,this.options={adaptIframeHeight:!0,addViewportTag:!0,enableScrollIntoView:!0},"string"!=typeof xe)throw new Error("Access token must be a string");if("function"!=typeof $)throw new Error("updateAccessToken callback is required");this.accessToken=xe,this.updateAccessToken=$}return me.prototype.onTestEnv=function(){return this},me.prototype.withBaseUrl=function(xe){return this.baseUrl=xe,this},me.prototype.withConf=function(xe){return this.config=xe,this},me.prototype.withOptions=function(xe){var $;return xe.hasOwnProperty("adaptIframeHeight")&&(this.options.adaptIframeHeight=xe.adaptIframeHeight),xe.hasOwnProperty("addViewportTag")&&(this.options.addViewportTag=xe.addViewportTag),this.options.enableScrollIntoView=null===($=xe.enableScrollIntoView)||void 0===$||$,this},me.prototype.on=function(xe,$){return this.eventHandlers[xe]=$,this},me.prototype.onMessage=function(xe){return this.anyEventHandler=xe,this},me.prototype.onNavigationUiControlsStateChanged=function(xe){return this.eventHandlers["idCheck.onNavigationUiControlsStateChanged"]=xe,this},me.prototype.build=function(){var xe,$,V,oe,z,W,re,ee,Se,J,de,ke,ge,ye,Pe,Me=this,We=h(this.accessToken);return new v(this.baseUrl,{version:We,theme:null===(xe=this.config)||void 0===xe?void 0:xe.theme,customizationName:null===($=this.config)||void 0===$?void 0:$.customizationName,translationName:null===(V=this.config)||void 0===V?void 0:V.translationName,accessToken:this.accessToken,lang:null===(oe=this.config)||void 0===oe?void 0:oe.lang,email:null===(z=this.config)||void 0===z?void 0:z.email,phone:null===(W=this.config)||void 0===W?void 0:W.phone,country:null===(re=this.config)||void 0===re?void 0:re.country,uiConf:null===(ee=this.config)||void 0===ee?void 0:ee.uiConf,i18n:null===(Se=this.config)||void 0===Se?void 0:Se.i18n,documentsByCountries:null===(J=this.config)||void 0===J?void 0:J.documentsByCountries,documentDefinitions:null===(de=this.config)||void 0===de?void 0:de.documentDefinitions,autoSelectDocumentDefinitions:null===(ke=this.config)||void 0===ke?void 0:ke.autoSelectDocumentDefinitions,controlledNavigationBack:null===(ge=this.config)||void 0===ge?void 0:ge.controlledNavigationBack,singleStep:null===(ye=this.config)||void 0===ye?void 0:ye.singleStep,preferredCameras:null===(Pe=this.config)||void 0===Pe?void 0:Pe.preferredCameras},{expirationHandler:{legacy:!1,handler:this.updateAccessToken},onMessage:function(Oe,tt){var Qe,_t=Me.eventHandlers[Oe];_t?_t(tt):null===(Qe=Me.anyEventHandler)||void 0===Qe||Qe.call(Me,Oe,tt)}},this.options)},me}(),p_init=(function(){function me(xe,$){this.debugEnabled=!1,this.options={adaptIframeHeight:!0,addViewportTag:!0,enableScrollIntoView:!0},this.config=null,this.accessToken=null,this.expirationHandler=null,this.baseUrl=xe,this.flowName=$}me.prototype.withAccessToken=function(xe,$){if(this.accessToken=xe,!$||"function"!=typeof $)throw new Error('Invalid parameter, "expirationHandler" must be a function');return this.expirationHandler=$,this},me.prototype.debug=function(xe){return this.debugEnabled=xe,this},me.prototype.withOptions=function(xe){var $;return xe.hasOwnProperty("adaptIframeHeight")&&(this.options.adaptIframeHeight=xe.adaptIframeHeight),xe.hasOwnProperty("addViewportTag")&&(this.options.addViewportTag=xe.addViewportTag),this.options.enableScrollIntoView=null===($=xe.enableScrollIntoView)||void 0===$||$,this},me.prototype.withConf=function(xe){return this.config=xe,this},me.prototype.build=function(){var xe,$,V,oe,z,W,re,ee,Se,J,de,ke,ge,ye,Pe;if(!this.accessToken||!this.expirationHandler)throw new Error("Configure access token end the expiration handler before");var Me=h(this.accessToken);return new v(this.baseUrl,{version:Me,theme:null===(xe=this.config)||void 0===xe?void 0:xe.theme,customizationName:null===($=this.config)||void 0===$?void 0:$.customizationName,translationName:null===(V=this.config)||void 0===V?void 0:V.translationName,accessToken:this.accessToken,flowName:this.flowName,lang:null===(oe=this.config)||void 0===oe?void 0:oe.lang,email:null===(z=this.config)||void 0===z?void 0:z.email,phone:null===(W=this.config)||void 0===W?void 0:W.phone,country:null===(re=this.config)||void 0===re?void 0:re.country,uiConf:null===(ee=this.config)||void 0===ee?void 0:ee.uiConf,i18n:null===(Se=this.config)||void 0===Se?void 0:Se.i18n,documentsByCountries:null===(J=this.config)||void 0===J?void 0:J.documentsByCountries,documentDefinitions:null===(de=this.config)||void 0===de?void 0:de.documentDefinitions,autoSelectDocumentDefinitions:null===(ke=this.config)||void 0===ke?void 0:ke.autoSelectDocumentDefinitions,singleStep:null===(ge=this.config)||void 0===ge?void 0:ge.singleStep},{expirationHandler:{legacy:!0,handler:this.expirationHandler},onMessage:null===(ye=this.config)||void 0===ye?void 0:ye.onMessage,onError:null===(Pe=this.config)||void 0===Pe?void 0:Pe.onError},{adaptIframeHeight:this.options.adaptIframeHeight,addViewportTag:this.options.addViewportTag,enableScrollIntoView:this.options.enableScrollIntoView,debug:this.debugEnabled})}}(),function(me,xe){return new _(me,xe)}),u=r(42073),E=r(72036),C=r(51981),l=r(40173),y=r(62125),I=r(58167),S=r(34405),P=r(85046),F=r(30306),N=r(40872),U=r(95447),T=r(22804),L=r(90486
1),Z=r(50323),ie=r(67374);let ve=(()=>{class me{constructor(){this._authService=(0,i.WQX)(I.u),this._restConfigurationService=(0,i.WQX)(S.M),this._sumsubApiService=(0,i.WQX)(F.SumsubApiService),this._themeService=(0,i.WQX)(N.F),this._localizationService=(0,i.WQX)(T.P),this._registrationProvidersService=(0,i.WQX)(L.J),this.SUMSUB="SUMSUB",this.SUMSUB_SELFI_ACTION="selfie-action",this.levelName="",this.exitedSteps={poa:!1,identify:!1},this.isSumSubEnabled=(0,i.EWP)(()=>this._registrationProvidersService.availableProviders().availableProviders?.includes(this.SUMSUB)),this.sumsubNotVerified=(0,i.EWP)(()=>this._registrationProvidersService.availableProviders().availableProviders?.includes(this.SUMSUB)&&!this._authService.currentUser().verified)}getOrRegisterApplicant(){var $=this;return(0,o.A)(function*(){$.setLevelName(),yield $._checkForApplicantId()})()}setLevelName(){this.levelName=this._restConfigurationService.getGeneralCustomConfigurationParams("sumsubLevelName")}destroySdkInstance(){var $=this;return(0,o.A)(function*(){$.snsWebSdkInstance&&(yield $._trackApplicant({},u.JS.SDK_CLOSED),$.snsWebSdkInstance.destroy(),$.snsWebSdkInstance=null)})()}getAplicantAndLaunchSdk(){var $=this;return(0,o.A)(function*(){const V=yield $._sumsubApiService.getApplicantToken($._authService.currentUser().accountId,$.levelName);$._launchWebSdk(V.token)})()}getAplicantAndLaunchSdkAction($=()=>{},V=()=>{}){var oe=this;return(0,o.A)(function*(){const z=oe._restConfigurationService.getGeneralCustomConfigurationParams("sumsubDepositLevelName")||oe.SUMSUB_SELFI_ACTION,W=yield oe._sumsubApiService.getApplicantActionToken(oe._authService.currentUser().accountId,z);oe._launchWebSdkAction(W.token,$,V)})()}_launchWebSdkAction($,V=()=>{},oe=()=>{}){this.snsWebSdkInstance=p_init($,()=>this._getNewActionAccessToken()).withConf({lang:this._localizationService.getSelectedLocale(),theme:this._themeService.getTheme()===U.dA?"light":"dark"}).withOptions({addViewportTag:!1,adaptIframeHeight:!0,enableScrollIntoView:!1}).on(u._0.APPLICANT_ACTION_COMPLETED,function(){var z=(0,o.A)(function*(W){W?.answer===u.Wh.GREEN?setTimeout(()=>V(),2e3):setTimeout(()=>oe(),4e3)});return function(W){return z.apply(this,arguments)}}()).build(),this.snsWebSdkInstance.launch("#sumsub-sdk")}_launchWebSdk($){var V=this;this.snsWebSdkInstance=p_init($,()=>this._getNewAccessToken()).withConf({lang:this._localizationService.getSelectedLocale(),theme:this._themeService.getTheme()===U.dA?"light":"dark"}).withOptions({addViewportTag:!1,adaptIframeHeight:!0,enableScrollIntoView:!1}).on(u.Xk.STATUS_CHANGED,function(){var oe=(0,o.A)(function*(z){const W={sumsubStatus:V._mapLevelStatus(z)};let re=W.sumsubStatus===u.Pr.APPROVED,ee={};if(re){const{accountId:J,applicantId:de}=V._authService.currentUser();ee=yield V._sumsubApiService.getApplicantData(J,de)}if(yield V.trackStatusChanged(z),!(0,E.A)(ee)&&!V._hasValidFields(ee)&&re){const{accountId:J,applicantId:de}=V._authService.currentUser();yield V._sumsubApiService.resetApplicant(J,de),V.exitedSteps.poa&&V._updateStep(W,u.m4.ADDRESS_VERIFICATION,u.Pr.PENDING),V.exitedSteps.identify&&V._updateStep(W,u.m4.ID_VERIFICATION,u.Pr.PENDING),W.sumsubStatus=u.Pr.DOCUMENTS_REQUESTED,re=!1}const Se=!(0,E.A)(ee)&&re?V._formatAccountInfo(ee):{};V._authService.currentUser.update(J=>({...J,...W,...Se,verified:re})),yield V._authService.saveSumsubData({...W,...Se}).toPromise(),V._authService.currentUser().verified&&(yield V._sumsubApiService.getApplicantDocuments(V._authService.currentUser().accountId,V._authService.currentUser().applicantId))});return function(z){return oe.apply(this,arguments)}}()).on(u.Xk.SDK_INITIALIZED,function(){var oe=(0,o.A)(function*(z){yield V._trackApplicant(z,u.JS.SDK_INITIALIZED)});return function(z){return oe.apply(this,arguments)}}()).on(u.Xk.APPLICANT_SUBMITTED,function(){var oe=(0,o.A)(function*(z){yield V._trackApplicant(z,u.JS.APPLICANT_SUBMITTED)});return function(z){return oe.apply(this,arguments)}}()).on(u.Xk.STEP_INITIATED,function(){var oe=(0,o.A)(function*(z){yield V._trackApplicant(z,u.JS.STEP_INITIATED)});return function(z){return oe.apply(this,arguments)}}()).on(u.Xk.APPLICANT_RESUBMITTED,function(){var oe=(0,o.A)(function*(z){yield V._trackApplicant(z,u.JS.APPLICANT_RESUBMITTED)});return function(z){return oe.apply(this,arguments)}}()).on(u.Xk.STEP_COMPLETED,function(){var oe=(0,o.A)(function*(z){if(yield V._trackApplicant(z,u.JS.STEP_COMPLETED),![u.PI.PROOF_OF_RESIDENCE,u.PI.IDENTITY].includes(z.idDocSetType))return;const W=z.idDocSetType===u.PI.PROOF_OF_RESIDENCE?u.m4.ADDRESS_VERIFICATION:u.m4.ID_VERIFICATION,re={[W]:{levelName:W,status:u.Pr.APPROVED}};V._authService.currentUser.update(ee=>({...ee,...re}
1)),yield V._authService.saveSumsubData(re).toPromise()});return function(z){return oe.apply(this,arguments)}}()).build(),this.snsWebSdkInstance.launch("#sumsub-sdk")}trackStatusChanged($){var V=this;return(0,o.A)(function*(){const{applicantId:oe,accountId:z}=V._authService.currentUser(),W=yield V._sumsubApiService.getApplicantLevels(z,oe),re=V._getStepStatus(W.steps[u.PI.PROOF_OF_RESIDENCE]),ee=V._getStepStatus(W.steps[u.PI.IDENTITY]),Se=(0,C.A)(W.steps,u.PI.PROOF_OF_RESIDENCE),J=(0,C.A)(W.steps,u.PI.IDENTITY);Se&&($.reviewResult[u.PI.PROOF_OF_RESIDENCE]=re),J&&($.reviewResult[u.PI.IDENTITY]=ee),yield V._trackApplicant($,u.JS.STATUS_CHANGED)})()}_checkForApplicantId(){var $=this;return(0,o.A)(function*(){const{applicantId:V,accountId:oe}=$._authService.currentUser();if(V)$.getApplicantLevels();else try{const W={applicantId:(yield $._sumsubApiService.registerApplicant(oe,$.levelName)).applicantId,sumsubStatus:u.Pr.DOCUMENTS_REQUESTED};$._authService.currentUser.update(re=>({...re,...W})),yield $._authService.saveSumsubData(W).toPromise()}catch(z){if(409===z.error.status){const W=z.error.data.description.match(/[a-f0-9]{24,32}/i);if(W){const re={applicantId:W[0],sumsubStatus:u.Pr.DOCUMENTS_REQUESTED};$._authService.currentUser.update(ee=>({...ee,...re})),yield $._authService.saveSumsubData(re).toPromise()}}}})()}getApplicantLevels(){var $=this;return(0,o.A)(function*(){const{applicantId:V,verified:oe,accountId:z}=$._authService.currentUser();if(!$._sumsubApiService.getJwtToken())return;const W=yield $._sumsubApiService.getApplicantLevels(z,V);$._updatePoaStatus(W);const re=$._getStepStatus(W?.steps[u.PI.PROOF_OF_RESIDENCE]),ee=$._getStepStatus(W?.steps[u.PI.IDENTITY]),Se=$._mapLevelStatus(W?.review),J=(0,C.A)(W?.steps,u.PI.PROOF_OF_RESIDENCE),de=(0,C.A)(W?.steps,u.PI.IDENTITY);let ke={};const ge={sumsubStatus:Se};if(J&&($.exitedSteps.poa=!0,$._updateStep(ge,u.m4.ADDRESS_VERIFICATION,re)),de&&($.exitedSteps.identify=!0,$._updateStep(ge,u.m4.ID_VERIFICATION,ee)),ge.sumsubStatus===u.Pr.APPROVED){const ye=yield $._sumsubApiService.getApplicantData(z,V);if(ke=$._formatAccountInfo(ye),oe)return;if(!$._hasValidFields(ye))return yield $._sumsubApiService.resetApplicant(z,V),$._resetStatuses(ge,J,de),ge.sumsubStatus=u.Pr.DOCUMENTS_REQUESTED,$._authService.currentUser.update(Pe=>({...Pe,...ge})),void(yield $._authService.saveSumsubData(ge).toPromise());yield $._sumsubApiService.getApplicantDocuments($._authService.currentUser().accountId,$._authService.currentUser().applicantId)}$._authService.currentUser().verified||(yield $._authService.saveSumsubData({...ge,...ke}).toPromise(),$._authService.currentUser.update(ye=>({...ye,...ge,...ke,verified:ge.sumsubStatus===u.Pr.APPROVED})))})()}_hasValidFields($){const V=$?.idDocs?.find(z=>Object.keys(u.aL).includes(`${z?.idDocType}`));switch(this._restConfigurationService.getGeneralCustomConfigurationParams("sumsubVerificationMethod")){case Z.YX.ID:return!!this._isPersonalIdEqual(V);case Z.YX.PERSONALDATA:return!!this._isPersonalDataEqual(V)}}_isPersonalIdEqual($){const V=$?.idDocType===u.aL.PASSPORT;let oe=V?"passport":"additionalNumber",z=this._getUserFieldValue(V);!z&&V&&(oe="additionalNumber",z=this._getUserFieldValue(!1));const W=$&&$[oe]?$[oe]:$&&$.number,ee=z===W||W&&(0,l.A)(String(W),String(z));if(ee||V)return ee;const Se=$&&$.number,de=z===Se||Se&&(0,l.A)(String(Se),String(z));return de||this._trackApplicant({sumsubField:oe,sumsubValue:W,fieldValue:z,fieldName:V?"passportNumber":this._authService.currentUser().personalId?"personalId":"alienRegistrationCardNumber"},u.JS.CUSTOM_APPLICANT_RESET).then(()=>{console.log("Applicant reset tracked successfully")}).catch(ke=>{console.log("Error tracking applicant reset",ke)}),de}_getUserFieldValue($){return $?this._authService.currentUser().passportNumber:this._authService.currentUser().personalId||this._authService.currentUser().alienRegistrationCardNumber}_isPersonalDataEqual($){if(!$)return!1;const{firstName:V,lastName:oe,birthdate:z}=this._authService.currentUser();if(!V||!oe||!z)return!1;const W=this._restConfigurationService.getGeneralCustomConfigurationParams("sumsubPersonalDataVerificationThresholdTrust"),re=ee=>ee?.trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"");return 100*stringSimilarity.compareTwoStrings(re($.firstName),re(V))>=W&&100*stringSimilarity.compareTwoStrings(re($.lastName),re(oe))>=W&&($.dob===z||ie($.dob).isSame(ie(z)))}_resetStatuses($,V,oe){V&&this._updateStep($,u.m4.ADDRESS_VERIFICATION),oe&&this._updateStep($,u.m4.ID_VERIFICATION),$.sumsubStatus=u.Pr.DOCUMENTS_REQUESTED}_updateStep($,V,oe=u.Pr.PENDING){$[V]={levelName:this.levelName,status:oe}}_getStepStatus($){return $?.reviewResult?.reviewAnswer===u.Wh.GREEN?u.Pr.APPROVED:$?.reviewResult?.reviewAnswer===u.Wh.RED?u.Pr.REJECTED:u.Pr.PENDING}_getNewAccessToken(){var $=this;return(0,o.A)(function*(){return(yield $._sumsubApiService.getNewAccessToken($._authService.currentUser().accountId,$.levelName)).token||"newAccessToken"})()}_getNewActionAccessToken(){var $=this;return(0,o.A)(function*(){const V=$._restConfigurationService.getGeneralCustomConfigurationParams("sumsubDepositLevelName")||$.SUMSUB_SELFI_ACTION;return(yield $._sumsubApiService.getNewAccessToken($._authService.currentUser().accountId,V)).token||"newAccessToken"})()}_mapLevelStatus($){return $?.reviewStatus===u.rN.INIT?u.Pr.DOCUMENTS_REQUESTED:$?.reviewStatus===u.rN.COMPLETED&&$.reviewResult?.reviewAnswer===u.Wh.GREEN?u.Pr.APPROVED:$?.reviewStatus===u.rN.COMPLETED&&$.reviewResult?.reviewAnswer===u.Wh.RED&&$.reviewResult?.reviewRejectType===u.im.FINAL?u.Pr.REJECTED:$?.reviewStatus===u.rN.COMPLETED&&$.reviewResult?.reviewAnswer===u.Wh.RED&&$.reviewResult?.reviewRejectType===u.im.RETRY?u.Pr.RESUBMISSION_REQUESTED:$?.reviewStatus===u.rN.ON_HOLD?u.Pr.REQUIRES_ACTION:$?.reviewStatus===u.rN.PENDING?u.Pr.PENDING:u.Pr.DOCUMENTS_REQUESTED}_formatAccountInfo($){const V=$?.idDocs?.find(re=>Object.keys(u.aL).includes(`${re?.idDocType}`))||{},oe={firstName:$.firstNameEn?$.firstNameEn:$.firstName,lastName:$.lastNameEn?$.lastNameEn:$.lastName,birthdate:$.dob,gender:(0,C.A)($,"gender")?"M"===$.gender?"MALE":"FEMALE":null,nationality:(0,P.hC)((0,y.A)($,"nationality","")),country:(0,P.hC)((0,y.A)($,"country","")),street:(0,y.A)($,"addresses[0].streetEn",""),city:(0,y.A)($,"addresses[0].townEn",""),personalDocumentId:V.number,issuedTime:new Date(V.issuedDate).getTime(),verifiedUntil:new Date(V?.validUntil).getTime()};return this._restConfigurationService.getGeneralCustomConfigurationParams("sumsubVerificationMethod")===Z.YX.PERSONALDATA&&V?.additionalNumber&&(oe.personalId=V.additionalNumber),Object.fromEntries(Object.entries(oe).filter(([,re])=>null!=re&&""!==re))}_trackApplicant($,V){var oe=this;return(0,o.A)(function*(){try{const{accountId:z,applicantId:W}=oe._authService.currentUser();yield oe._sumsubApiService.trackApplicant({...$,accountId:z,timestamp:(new Date).getTime(),applicantId:W,stepType:V})}catch(z){console.log("trackApplicant error",z)}})()}_updatePoaStatus($){$?.steps?.PROOF_OF_RESIDENCE?.reviewResult?.reviewAnswer===u.Wh.GREEN&&(this._authService.currentUser.update(V=>
1({...V,sumsubPOAStatus:{status:u.Pr.APPROVED,levelName:this.levelName}})),$?.steps?.IDENTITY?.reviewResult?.reviewAnswer===u.Wh.GREEN&&$?.steps?.SELFIE?.reviewResult?.reviewAnswer===u.Wh.GREEN&&this._authService.currentUser.update(V=>({...V,sumsubStatus:u.Pr.APPROVED})))}static{this.\u0275fac=function(V){return new(V||me)}}static{this.\u0275prov=i.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})()},64684:(he,M,r)=>{"use strict";r.d(M,{u:()=>Ye});var o=r(10467),i=r(54438),d=r(90486),h=r(72206),v=r(68737),_=r(58167);function m(Re,De,He,we,Tt,ct,tn){try{var Ee=Re[ct](tn),se=Ee.value}catch(be){return void He(be)}Ee.done?De(se):Promise.resolve(se).then(we,Tt)}function p(Re){return function(){var De=this,He=arguments;return new Promise(function(we,Tt){var ct=Re.apply(De,He);function tn(se){m(ct,we,Tt,tn,Ee,"next",se)}function Ee(se){m(ct,we,Tt,tn,Ee,"throw",se)}tn(void 0)})}}function u(Re,De,He){return(De="symbol"==typeof(Tt=function(ct){if("object"!=typeof ct||!ct)return ct;var Ee=ct[Symbol.toPrimitive];if(void 0!==Ee){var se=Ee.call(ct,"string");if("object"!=typeof se)return se;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(ct)}(De))?Tt:Tt+"")in Re?Object.defineProperty(Re,De,{value:He,enumerable:!0,configurable:!0,writable:!0}):Re[De]=He,Re;var Tt}function E(Re,De){var He=Object.keys(Re);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(Re);De&&(we=we.filter(function(Tt){return Object.getOwnPropertyDescriptor(Re,Tt).enumerable})),He.push.apply(He,we)}return He}function C(Re){for(var De=1;De<arguments.length;De++){var He=null!=arguments[De]?arguments[De]:{};De%2?E(Object(He),!0).forEach(function(we){u(Re,we,He[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Re,Object.getOwnPropertyDescriptors(He)):E(Object(He)).forEach(function(we){Object.defineProperty(Re,we,Object.getOwnPropertyDescriptor(He,we))})}return Re}function l(){l=function(){return De};var Re,De={},He=Object.prototype,we=He.hasOwnProperty,Tt=Object.defineProperty||function(St,Rt,Lt){St[Rt]=Lt.value},ct="function"==typeof Symbol?Symbol:{},tn=ct.iterator||"@@iterator",Ee=ct.asyncIterator||"@@asyncIterator",se=ct.toStringTag||"@@toStringTag";function be(St,Rt,Lt){return Object.defineProperty(St,Rt,{value:Lt,enumerable:!0,configurable:!0,writable:!0}),St[Rt]}try{be({},"")}catch{be=function(Rt,Lt,fn){return Rt[Lt]=fn}}function je(St,Rt,Lt,fn){var Kt=Object.create((Rt&&Rt.prototype instanceof An?Rt:An).prototype),Ue=new qe(fn||[]);return Tt(Kt,"_invoke",{value:Qn(St,Lt,Ue)}),Kt}function ft(St,Rt,Lt){try{return{type:"normal",arg:St.call(Rt,Lt)}}catch(fn){return{type:"throw",arg:fn}}}De.wrap=je;var kt="suspendedStart",Yt="suspendedYield",yn="executing",ln="completed",Mn={};function An(){}function un(){}function wn(){}var Xn={};be(Xn,tn,function(){return this});var vt=Object.getPrototypeOf,Dt=vt&&vt(vt(Bt([])));Dt&&Dt!==He&&we.call(Dt,tn)&&(Xn=Dt);var ze=wn.prototype=An.prototype=Object.create(Xn);function on(St){["next","throw","return"].forEach(function(Rt){be(St,Rt,function(Lt){return this._invoke(Rt,Lt)})})}function Gt(St,Rt){function Lt(cn,Kt,Ue,at){var xt=ft(St[cn],St,Kt);if("throw"!==xt.type){var Zt=xt.arg,rn=Zt.value;return rn&&"object"==typeof rn&&we.call(rn,"__await")?Rt.resolve(rn.__await).then(function(dn){Lt("next",dn,Ue,at)},function(dn){Lt("throw",dn,Ue,at)}):Rt.resolve(rn).then(function(dn){Zt.value=dn,Ue(Zt)},function(dn){return Lt("throw",dn,Ue,at)})}at(xt.arg)}var fn;Tt(this,"_invoke",{value:function(cn,Kt){function Ue(){return new Rt(function(at,xt){Lt(cn,Kt,at,xt)})}return fn=fn?fn.then(Ue,Ue):Ue()}})}function Qn(St,Rt,Lt){var fn=kt;return function(cn,Kt){if(fn===yn)throw Error("Generator is already running");if(fn===ln){if("throw"===cn)throw Kt;return{value:Re,done:!0}}for(Lt.method=cn,Lt.arg=Kt;;){var Ue=Lt.delegate;if(Ue){var at=Ct(Ue,Lt);if(at){if(at===Mn)continue;return at}}if("next"===Lt.method)Lt.sent=Lt._sent=Lt.arg;else if("throw"===Lt.method){if(fn===kt)throw fn=ln,Lt.arg;Lt.dispatchException(Lt.arg)}else"return"===Lt.method&&Lt.abrupt("return",Lt.arg);fn=yn;var xt=ft(St,Rt,Lt);if("normal"===xt.type){if(fn=Lt.done?ln:Yt,xt.arg===Mn)continue;return{value:xt.arg,done:Lt.done}}"throw"===xt.type&&(fn=ln,Lt.method="throw",Lt.arg=xt.arg)}}}function Ct(St,Rt){var Lt=Rt.method,fn=St.iterator[Lt];if(fn===Re)return Rt.delegate=null,"throw"===Lt&&St.iterator.return&&
1(Rt.method="return",Rt.arg=Re,Ct(St,Rt),"throw"===Rt.method)||"return"!==Lt&&(Rt.method="throw",Rt.arg=new TypeError("The iterator does not provide a '"+Lt+"' method")),Mn;var cn=ft(fn,St.iterator,Rt.arg);if("throw"===cn.type)return Rt.method="throw",Rt.arg=cn.arg,Rt.delegate=null,Mn;var Kt=cn.arg;return Kt?Kt.done?(Rt[St.resultName]=Kt.value,Rt.next=St.nextLoc,"return"!==Rt.method&&(Rt.method="next",Rt.arg=Re),Rt.delegate=null,Mn):Kt:(Rt.method="throw",Rt.arg=new TypeError("iterator result is not an object"),Rt.delegate=null,Mn)}function ut(St){var Rt={tryLoc:St[0]};1 in St&&(Rt.catchLoc=St[1]),2 in St&&(Rt.finallyLoc=St[2],Rt.afterLoc=St[3]),this.tryEntries.push(Rt)}function Xe(St){var Rt=St.completion||{};Rt.type="normal",delete Rt.arg,St.completion=Rt}function qe(St){this.tryEntries=[{tryLoc:"root"}],St.forEach(ut,this),this.reset(!0)}function Bt(St){if(St||""===St){var Rt=St[tn];if(Rt)return Rt.call(St);if("function"==typeof St.next)return St;if(!isNaN(St.length)){var Lt=-1,fn=function cn(){for(;++Lt<St.length;)if(we.call(St,Lt))return cn.value=St[Lt],cn.done=!1,cn;return cn.value=Re,cn.done=!0,cn};return fn.next=fn}}throw new TypeError(typeof St+" is not iterable")}return un.prototype=wn,Tt(ze,"constructor",{value:wn,configurable:!0}),Tt(wn,"constructor",{value:un,configurable:!0}),un.displayName=be(wn,se,"GeneratorFunction"),De.isGeneratorFunction=function(St){var Rt="function"==typeof St&&St.constructor;return!!Rt&&(Rt===un||"GeneratorFunction"===(Rt.displayName||Rt.name))},De.mark=function(St){return Object.setPrototypeOf?Object.setPrototypeOf(St,wn):(St.__proto__=wn,be(St,se,"GeneratorFunction")),St.prototype=Object.create(ze),St},De.awrap=function(St){return{__await:St}},on(Gt.prototype),be(Gt.prototype,Ee,function(){return this}),De.AsyncIterator=Gt,De.async=function(St,Rt,Lt,fn,cn){void 0===cn&&(cn=Promise);var Kt=new Gt(je(St,Rt,Lt,fn),cn);return De.isGeneratorFunction(Rt)?Kt:Kt.next().then(function(Ue){return Ue.done?Ue.value:Kt.next()})},on(ze),be(ze,se,"Generator"),be(ze,tn,function(){return this}),be(ze,"toString",function(){return"[object Generator]"}),De.keys=function(St){var Rt=Object(St),Lt=[];for(var fn in Rt)Lt.push(fn);return Lt.reverse(),function cn(){for(;Lt.length;){var Kt=Lt.pop();if(Kt in Rt)return cn.value=Kt,cn.done=!1,cn}return cn.done=!0,cn}},De.values=Bt,qe.prototype={constructor:qe,reset:function(St){if(this.prev=0,this.next=0,this.sent=this._sent=Re,this.done=!1,this.delegate=null,this.method="next",this.arg=Re,this.tryEntries.forEach(Xe),!St)for(var Rt in this)"t"===Rt.charAt(0)&&we.call(this,Rt)&&!isNaN(+Rt.slice(1))&&(this[Rt]=Re)},stop:function(){this.done=!0;var St=this.tryEntries[0].completion;if("throw"===St.type)throw St.arg;return this.rval},dispatchException:function(St){if(this.done)throw St;var Rt=this;function Lt(xt,Zt){return Kt.type="throw",Kt.arg=St,Rt.next=xt,Zt&&(Rt.method="next",Rt.arg=Re),!!Zt}for(var fn=this.tryEntries.length-1;fn>=0;--fn){var cn=this.tryEntries[fn],Kt=cn.completion;if("root"===cn.tryLoc)return Lt("end");if(cn.tryLoc<=this.prev){var Ue=we.call(cn,"catchLoc"),at=we.call(cn,"finallyLoc");if(Ue&&at){if(this.prev<cn.catchLoc)return Lt(cn.catchLoc,!0);if(this.prev<cn.finallyLoc)return Lt(cn.finallyLoc)}else if(Ue){if(this.prev<cn.catchLoc)return Lt(cn.catchLoc,!0)}else{if(!at)throw Error("try statement without catch or finally");if(this.prev<cn.finallyLoc)return Lt(cn.finallyLoc)}}}},abrupt:function(St,Rt){for(var Lt=this.tryEntries.length-1;Lt>=0;--Lt){var fn=this.tryEntries[Lt];if(fn.tryLoc<=this.prev&&we.call(fn,"finallyLoc")&&this.prev<fn.finallyLoc){var cn=fn;break}}cn&&("break"===St||"continue"===St)&&cn.tryLoc<=Rt&&Rt<=cn.finallyLoc&&(cn=null);var Kt=cn?cn.completion:{};return Kt.type=St,Kt.arg=Rt,cn?(this.method="next",this.next=cn.finallyLoc,Mn):this.complete(Kt)},complete:function(St,Rt){if("throw"===St.type)throw St.arg;return"break"===St.type||"continue"===St.type?this.next=St.arg:"return"===St.type?(this.rval=this.arg=St.arg,this.method="return",this.next="end"):"normal"===St.type&&Rt&&(this.next=Rt),Mn},finish:function(St){for(var Rt=this.tryEntries.length-1;Rt>=0;--Rt){var Lt=this.tryEntries[Rt];if(Lt.finallyLoc===St)return this.complete(Lt.completion,Lt.afterLoc),Xe(Lt),Mn}},catch:function(St){for(var Rt=this.tryEntries.length-1;Rt>=0;--Rt){var Lt=this.tryEntries[Rt];if(Lt.tryLoc===St){var fn=Lt.completion;if("throw"===fn.type){var cn=fn.arg;Xe(Lt)}return cn}}throw Error("illegal catch attempt")},delegateYield:function(St,Rt,Lt){return this.delegate={iterator:Bt(St),resultName:Rt,nextLoc:Lt},"next"===this.method&&(this.arg=Re),Mn}},De}var y,I,S,P,Re,F="2.1.2",N=!1,U=!1,T="REDIRECT",L="SILENT",Z="prod",ie=u(u(u({},"dev","https://idpay-dev.unico.io"),"uat","https://idpay-uat.unico.io"),Z,"https://idpay.unico.io"),ve=function(){console.log(">>> reset"),y=void 0,I=void 0,N=!1,U=!1,S=void 0},me=function(){if(P)return Promise.resolve();(P=document.createElement("script")).src="".concat(I,"/sdk-assets/index.js");var Re=new Promise(function(De){P.onload=De});return document.body.appendChild(P),Promise.all([Re])},xe=function(){var Re=document.createElement("link");Re.setAttribute("href","".concat(I,"/sdk-assets/assets/styles.css")),Re.setAttribute("rel","stylesheet");var De=new Promise(function(He){Re.onload=He});return document.head.appendChild(Re),Promise.all([De])},$=(Re=p(l().mark(function De(He){var we,ct,tn,Ee;return l().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return we=He.token,tn=void 0===(ct=He.env)?Z:ct,y=void 0===(Ee=He.type)?"IFRAME":Ee,I=He.useCurrentOrigin?window.location.origin:ie[tn],se.next=5,me();case 5:UnicoSDKAssets.trackEvent(UnicoSDKAssets.EVENT_TYPES.INITIALIZE),se.t0=y,se.next=se.t0===L?9:se.t0===T?13:14;break;case 9:return se.next=11,UnicoSDKAssets.clientBoxControl.initSilent();case 11:return S=se.sent,se.abrupt("break",17);case 13:return se.abrupt("break",17);case 14:return se.next=16,xe();case 16:UnicoSDKAssets.clientBoxControl.create({host:I,token:we,sdkVersion:F});case 17:if(N=!0,U&&z(U),!S){se.next=21;break}return se.abrupt("return",S);case 21:case"end":return se.stop()}},De)})),function(De){return Re.apply(this,arguments)}),oe=(p(l().mark(function De(He){return l().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return console.warn("Warning: The `init()` function is deprecated and will be removed in future versions. Please initialize directly on the product object, e.g., `IDPaySDK.init({ ... })` or `ByUnicoSDK.init({ ... })`. See our documentation for more details."),we.abrupt("return",$(He));case 2:case"end":return we.stop()}},De)})),function(Re){var De=Re.transactionId,He=Re.token,we={transactionId:De,token:He,onFinish:Re.onFinish,host:I,sdkVersion:F,c
1ollectionId:S};if(console.log("open",we),N)switch(UnicoSDKAssets.trackEvent(UnicoSDKAssets.EVENT_TYPES.START_FLOW,we),y){case L:UnicoSDKAssets.clientBoxControl.verify(we);break;case T:UnicoSDKAssets.clientBoxControl.redirect(De,He,I,F);break;default:UnicoSDKAssets.clientBoxControl.open(we)}else U=we}),z=function(Re){oe({transactionId:Re.transactionId,token:Re.token,onFinish:Re.onFinish})},re={init:function(){var Re=p(l().mark(function De(He){return l().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return console.log(">>> initByUnicoSDK > options:",He),we.abrupt("return",$(C({},He)));case 2:case"end":return we.stop()}},De)}));return function(De){return Re.apply(this,arguments)}}(),close:function(){ve(),UnicoSDKAssets.clientBoxControl.close()},open:function(Re){var we=Re.onFinish;oe({transactionId:Re.transactionId,token:Re.token,onFinish:function(Tt){ve(),we?.(Tt)}})}},J=(p(l().mark(function De(He){return l().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return console.log(">>> initIDPaySDK > options:",He),we.abrupt("return",$(C(C({},He),{},{token:null})));case 2:case"end":return we.stop()}},De)})),r(58114)),de=r(60177),ke=r(73955),ge=r(82361),ye=r(93726),Pe=r(6847),Me=r(96467);let We=(()=>{class Re{constructor(){this.unicoService=(0,i.WQX)(Ye),this._modalService=(0,i.WQX)(ge.B),this._authService=(0,i.WQX)(_.u),this.payload=(0,i.hFB)({}),this.UNICO_FLOW=h.SC}closeModal(){this._modalService.close()}ngOnDestroy(){this.unicoService.isLoginCheckinInProgress&&(this._authService.logoutUser(Pe.lJ.OTHER),this.unicoService.openErrorPopup("general.unico_id_check_unsuccessful"))}static{this.\u0275fac=function(we){return new(we||Re)}}static{this.\u0275cmp=i.VBU({type:Re,selectors:[["app-unico-idcheck-verification-modal"]],inputs:{payload:[1,"payload"]},standalone:!0,features:[i.aNF],decls:12,vars:8,consts:[[1,"c-modal","c-modal--unico"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-button-close",3,"click","disabled"],["icon","close",1,"c-button-close-icon"],[1,"c-modal__body"],[1,"c-modal__body-text"],[3,"unicoFlow"]],template:function(we,Tt){1&we&&(i.j41(0,"div",0)(1,"div",1)(2,"p",2),i.EFF(3),i.nI1(4,"translate"),i.k0s(),i.j41(5,"button",3),i.bIt("click",function(){return Tt.closeModal()}),i.nrm(6,"svg-icon",4),i.k0s()(),i.j41(7,"div",5)(8,"p",6),i.EFF(9),i.nI1(10,"translate"),i.k0s(),i.nrm(11,"app-unico-sdk",7),i.k0s()()),2&we&&(i.R7$(3),i.JRh(i.bMT(4,4,"general.unico_idcheck_verification_modal_title")),i.R7$(2),i.Y8G("disabled",!Tt.unicoService.isUnicoInitialized()),i.R7$(4),i.JRh(i.bMT(10,6,"general.unico_idcheck_verification_modal_message")),i.R7$(2),i.Y8G("unicoFlow",Tt.UNICO_FLOW.ID_TOKEN))},dependencies:[ke.h,ke.D9,de.CommonModule,J.A,Me.D,ye.c],styles:[".c-modal[_ngcontent-%COMP%]{border:1px solid var(--baseBlue18);background-color:var(--baseBlue21);max-width:600px;width:100%}.c-modal__header[_ngcontent-%COMP%]{font-size:18px}.c-modal__body[_ngcontent-%COMP%]{padding:18px 32px 8px;display:flex;flex-direction:column;align-items:center}.c-modal__body-text[_ngcontent-%COMP%]{margin-top:23px;color:var(--base-white-02);font-size:14px}.c-modal__footer[_ngcontent-%COMP%]{padding:16px 38px 30px;gap:20px}"]})}}return Re})();var Oe=r(39934),tt=r(20279);let Qe=(()=>{class Re{constructor(){this._modalService=(0,i.WQX)(ge.B),this._routingService=(0,i.WQX)(Oe.O),this.payload=(0,i.hFB)({})}closeModal(){this._modalService.close()}navigateToUnicoIdDocsVerification(){this._routingService.navigateToAccountPageByPageName(tt.db.ACCOUNT_VERIFICATION),this._modalService.close()}static{this.\u0275fac=function(we){return new(we||Re)}}static{this.\u0275cmp=i.VBU({type:Re,selectors:[["app-unico-iddocs-verification-modal"]],inputs:{payload:[1,"payload"]},standalone:!0,features:[i.aNF],decls:18,vars:9,consts:[[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],[1,"c-button-close",3,"click"],["icon","close",1,"c-button-close-icon"],[1,"c-modal__body"],["icon","verification-info",1,"c-modal__body-icon"],[1,"c-modal__body-text"],[1,"c-modal__footer"],[1,"c-unico-button",3,"click"],["icon","verification-icon",1,"c-unico-button__icon"],[1,"c-unico-button__text"]],template:function(we,Tt){1&we&&(i.j41(0,"div",0)(1,"div",1)(2,"p",2),i.EFF(3),i.nI1(4,"translate"),i.k0s(),i.j41(5,"button",3),i.bIt("click",function(){return Tt.closeModal()}),i.nrm(6,"svg-icon",4),i.k0s()(),i.j41(7,"div",5),i.nrm(8,"svg-icon",6),i.j41(9,"p",7),i.EFF(10),i.nI1(11,"translate"),i.k0s()(),i.j41(12,"div",8)(13,"div",9),i.bIt("click",function(){return Tt.navigateToUnicoIdDocsVerification()}),i.nrm(14,"svg-icon",10),i.j41(15,"span",11),i.EFF(16),i.nI1(17,"translate"),i.k0s()()()()),2&we&&(i.R7$(3),i.JRh(i.bMT(4,3,"general.unico_iddocs_verification_modal_title")),i.R7$(7),i.JRh(i.bMT(11,5,"general.unico_iddocs_verification_modal_message")),i.R7$(6),i.JRh(i.bMT(17,7,"general.unico_iddocs_verification_modal_verify_btn")))},dependencies:[ke.h,ke.D9,de.CommonModule,J.A,Me.D],styles:[".c-modal[_ngcontent-%COMP%]{min-width:476px;border:1px solid var(--baseBlue18);background-color:var(--baseBlue21)}.c-modal__header[_ngcontent-%COMP%]{font-size:18px}.c-modal__body[_ngcontent-%COMP%]{padding:18px 32px 8px;display:flex;flex-direction:column;align-items:center;max-width:700px}.c-modal__body-icon[_ngcontent-%COMP%]{width:18px;height:18px}.c-modal__body-text[_ngcontent-%COMP%]{margin-top:23px;color:var(--base-white-02);font-size:14px}.c-modal__footer[_ngcontent-%COMP%]{padding:16px 38px 30px;gap:20px}.c-unico-button[_ngcontent-%COMP%]{min-width:330px}"]})}}return Re})();var _t=r(95447),ht=r(34405),mt=r(67374),Vt=r(40328),Ot=r(85046),Fe=r(62125);let Ye=(()=>{class Re{constructor(){this._authService=(0,i.WQX)(_.u),this._unicoApiService=(0,i.WQX)(v.UnicoApiService),this._modalService=(0,i.WQX)(ge.B),this._restConfigurationService=(0,i.WQX)(ht.M),this._registrationProvidersService=(0,i.WQX)(d.J),this.isUnicoVisible=(0,i.vPA)(!1),this.isUnicoInitialized=(0,i.vPA)(!1),this._unicoProcess=(0,i.vPA)({}),this._unicoToken=(0,i.vPA)({}),this._callbackAction=()=>{},this._callbackActionWithdraw=!1,this.isLoginCheckinInProgress=!1,this.wasErrorPopupShown=!1,this._isUnicoIdDocsVerificationEnabled=(0,i.EWP)(()=>this.isUnicoEnabled()&&!this._authService.currentUser().verified)}isUnicoEnabled(){return this._registrationProvidersService.availableProviders().availableProviders?.includes(h.fg)}isUnicoIdCheckVerificationEnabled(He=!1){return He?this.isUnicoEnabled()&&this._authService.currentUser().verified:this.isUnicoEnabled()&&this._authService.currentUser().verified&&this.checkShouldDoUnicoFaceRecognition()}getUnicoToken(){return this._unicoToken()}setUnicoToken(){var He=this;return(0,o.A)(function*(){const we=yield He._unicoApiService.fetchUnicoToken(He._authService.getJwtToken(),{accountId:He._authService.currentUser().accountId+""});He._unicoToken.set(we)})()}initUnicoSDK(He){var we=this;return(0,o.A)(function*(){const Tt=we._getUserData(He);try{const ct=yield we._unicoApiService.startUnicoProcess(we._authService.getJwtToken(),Tt);we._unicoProcess.set(ct),re.init({env:"uat",token:we._unicoProcess().token})}catch(ct){we._modalService.close(),we.openErrorPopup((0,Ot.W7)(`unico_error_${(0,Fe.A)(ct,"error.error.code",999)}`,tt.l0.ACCOUNT))}})()}openUnicoSDK(){var He=this;return(0,o.A)(function*(){re.open({transactionId:He._authService.currentUser().unicoProcessId||He._unicoProcess().processId,token:He._unicoProcess().token,onFinish:He._authService.currentUser().unicoProcessId&&He._authService.currentUser().verified?He._finishUnicoProcessIdCheck.bind(He):He._finishUnicoProcessIdDocs.bind(He)})})()}closeUnicoSDK(){return(0,o.A)(function*(){re.close()})()}tryToOpenUnicoVerificationModal(He,we=!1,Tt=!1){return this.wasErrorPopupShown=!1,this._isUnicoIdDocsVerificationEnabled()?(this.isLoginCheckinInProgress=!1,this._openUnicoIdDocsVerificationModal(),!0):!!this.isUnicoIdCheckVerificationEnabled(we)&&(this.isLoginCheckinInProgress=Tt,this._callbackAction=
1He.callback,this._callbackActionWithdraw=we,this._openUnicoIdCheckVerificationModal(),!0)}_finishUnicoProcessIdDocs(He){var we=this;return(0,o.A)(function*(){if(He.type!==h.Xp.TYPE_APPROVED)return;const Tt=yield we._unicoApiService.getUnicoProcess(we._authService.getJwtToken(),{accountId:we._authService.currentUser().accountId+"",token:we.getUnicoToken().access_token},we._unicoProcess().processId),{state:ct,result:tn,authenticationInfo:Ee}=Tt.process;if(ct===h.Xp.STATE_APPROVED&&tn===h.Xp.RESULT_APPROVED&&(Ee.authenticationResult!==h.Xp.INCONCLUSIVE||(Ee.scoreEngineResult?.score??0)>0))return we._callbackActionWithdraw||we._authService.saveUnicoData({unicoStatus:h.S5.APPROVED,unicoProcessId:we._unicoProcess().processId,unicoFaceRecognitionTime:mt().valueOf()}).toPromise().then(je=>{we._authService.currentUser.update(ft=>({...ft,...je.payload,verified:!0}))}),we._callbackAction(),void we._modalService.close();ct!==h.Xp.STATE_APPROVED||tn!==h.Xp.RESULT_ERROR?(we.openErrorPopup(`general.unico_id_docs_unsuccessful_${ct.toLocaleLowerCase()}`),we._authService.saveUnicoData({unicoStatus:h.S5.REJECTED,unicoProcessId:we._unicoProcess().processId}).toPromise().then(se=>{we._authService.currentUser.update(be=>({...be,...se.payload})),we.isUnicoVisible.set(!1)})):yield we.openUnicoSDK()})()}_finishUnicoProcessIdCheck(He){var we=this;return(0,o.A)(function*(){if(He.type!==h.Xp.TYPE_APPROVED)return;const Tt=yield we._unicoApiService.getUnicoProcess(we._authService.getJwtToken(),{accountId:we._authService.currentUser().accountId+"",token:we.getUnicoToken().access_token},we._unicoProcess().processId),{state:ct,result:tn,authenticationInfo:Ee}=Tt.process;if(ct===h.Xp.STATE_APPROVED&&tn===h.Xp.RESULT_APPROVED&&(Ee.authenticationResult!==h.Xp.INCONCLUSIVE||(Ee.scoreEngineResult?.score??0)>0))return we._callbackActionWithdraw||we._authService.saveUnicoData({unicoFaceRecognitionTime:mt().valueOf()}).toPromise().then(je=>{we._authService.currentUser.update(ft=>({...ft,...je.payload}))}),we._callbackAction(),we._modalService.close(),void(we.isLoginCheckinInProgress=!1);ct!==h.Xp.STATE_APPROVED||tn!==h.Xp.RESULT_ERROR?(we.openErrorPopup(`general.unico_id_check_unsuccessful_${ct.toLocaleLowerCase()}`),we.isUnicoVisible.set(!1),we._modalService.close()):yield we.openUnicoSDK()})()}_openUnicoIdDocsVerificationModal(){this._modalService.open({component:Qe,payload:{callback:()=>{}}})}_openUnicoIdCheckVerificationModal(){this._modalService.open({component:We,payload:{callback:()=>{}}})}_getUserData(He){return{accountId:this._authService.currentUser().accountId+"",token:this.getUnicoToken().access_token,flow:He,duiValue:this._authService.currentUser().personalId+"",fullName:this._authService.currentUser().firstName+" "+this._authService.currentUser().lastName,phone:this._getUserPhoneNumber(),email:this._authService.currentUser().email,bioTokenId:this._authService.currentUser().unicoProcessId}}_getUserPhoneNumber(){return this._authService.currentUser().phone.startsWith("+")?this._authService.currentUser().phone.substring(1):this._authService.currentUser().phone}checkShouldDoUnicoFaceRecognition(){return!(!this._restConfigurationService.getGeneralCustomConfigurationParams("faceRecognitionRecheckPeriod")||this._authService.currentUser().country===_t.C$)&&mt().diff(mt(this._authService.currentUser().unicoFaceRecognitionTime),"minute")>=Number(this._restConfigurationService.getGeneralCustomConfigurationParams("faceRecognitionRecheckPeriod"))}openErrorPopup(He){this.wasErrorPopupShown||(this.wasErrorPopupShown=!0,this._modalService.openPopup({component:Vt.ErrorPopup,payload:{error:He}}))}static{this.\u0275fac=function(we){return new(we||Re)}}static{this.\u0275prov=i.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}}return Re})()},50861:(he,M,r)=>{"use strict";r.d(M,{$W:()=>xe,$X:()=>m,B6:()=>S,BB:()=>V,DG:()=>v,GZ:()=>Se,JA:()=>_,KL:()=>C,LH:()=>N,Q7:()=>Z,Su:()=>E,T3:()=>W,Vy:()=>l,Wi:()=>ee,Y8:()=>y,bD:()=>re,dE:()=>oe,eJ:()=>U,eP:()=>de,gr:()=>z,h_:()=>ie,iU:()=>ve,k8:()=>F,lV:()=>me,ll:()=>J,mh:()=>P,oN:()=>I,ps:()=>$,qW:()=>u,zo:()=>T,zp:()=>L});var o=r(37320);const v="DEFAULT_FIXED",_="FAVOURITES",m="RECENTLY_PLAYED",u={PAGES:"PAGES",GAMES:"GAMES",LABELS:"LABELS",FAVOURITES:"FAVOURITES",RECENTLY_PLAYED:"RECENTLY_PLAYED",CUSTOM:"CUSTOM",TOURNAMENTS:"TOURNAMENTS",PRO
1VIDERS:"PROVIDERS",BONUS:"BONUS"},E="PROVIDER",C="PAGE",l=-1,y=-2,I=1,S=15,P=3,F={[o.QI.DEFAULT_BIG]:"assets/site-specific-images/casino-big.png",[o.QI.DEFAULT_THUMBNAIL]:"assets/site-specific-images/casino-default.png",[o.QI.HOME_PAGE_THUMBNAIL]:"assets/site-specific-images/casino-default.png",[o.QI.LANDSCAPE]:"assets/site-specific-images/casino-landscape.png",[o.QI.PORTRAIT]:"assets/site-specific-images/casino-portrait.png"},N="ROULETTE",U="MEGAWHEEL",T="ANDARBAHAR",L="DRAGONTIGER",Z="SWEETBONANZA",ie="BOOMORBUST",ve="BACCARAT",me="BLACKJACK",xe="ONEBJ",$="SICBO",V="SPACEMAN",oe="HIGHFLYER",z="CASINO_PAGE",W="SPORT",re="CASINO_GAME",ee="LEAGUE",Se="LOCATION",J="EVENT",de="info_about_v3_search_seen"},37320:(he,M,r)=>{"use strict";r.d(M,{JC:()=>i,Jc:()=>l,QI:()=>p,SV:()=>v,Td:()=>m,WM:()=>I,bX:()=>y,cU:()=>o,hV:()=>u,pG:()=>E,sX:()=>_,yB:()=>h});var o=function(S){return S[S.TYPE_NAVIGATION_ITEM=0]="TYPE_NAVIGATION_ITEM",S[S.TYPE_FAVOURITES=1]="TYPE_FAVOURITES",S[S.TYPE_RECENTLY_PLAYED=2]="TYPE_RECENTLY_PLAYED",S}(o||{});const i={PROVIDER:"provider",CATEGORY:"category",SLOT_TYPE:"slotType",RTP:"rtp",VOLATILITY:"volatility"},h={V2:"v2",V3:"v3"},v={...h,V23:"v23"};var _=function(S){return S.DEFAULT_FIXED="DEFAULT_FIXED",S.DEFAULT_SLIDER="DEFAULT_SLIDER",S.FAVOURITES="FAVOURITES",S.PORTRAIT_SLIDER="PORTRAIT_SLIDER",S.PORTRAIT_SLIDER_HIGHLIGHTED="PORTRAIT_SLIDER_HIGHLIGHTED",S.RECENTLY_PLAYED="RECENTLY_PLAYED",S.DYNAMIC_BIG="DYNAMIC_BIG",S.CASINO_TOURNAMENT="CASINO_TOURNAMENT",S.POPULAR="POPULAR",S.BRANDED_GAMES="BRANDED_GAMES",S.DOUBLE_SLIDER="DOUBLE_SLIDER",S}(_||{}),m=function(S){return S.FUN="FUN",S.REAL="REAL",S}(m||{}),p=function(S){return S.DEFAULT_THUMBNAIL="DEFAULT_THUMBNAIL",S.DEFAULT_BIG="DEFAULT_BIG",S.LANDSCAPE="LANDSCAPE",S.PORTRAIT="PORTRAIT",S.GAME_BACK_GROUND="GAME_BACK_GROUND",S.HOME_PAGE_THUMBNAIL="HOME_PAGE_THUMBNAIL",S}(p||{}),u=function(S){return S.SEARCH="SEARCH",S.IM_FEELING_LUCKY="IM_FEELING_LUCKY",S.FILTER="FILTER",S}(u||{}),E=function(S){return S.GAME="GAME",S.RECOMMENDER_SEEN="RECOMMENDER_SEEN",S.RECOMMENDER_UNSEEN="RECOMMENDER_UNSEEN",S.CASINO_TOURNAMENT="CASINO_TOURNAMENT",S.RECENTLY_PLAYED="RECENTLY_PLAYED",S.CASINO_MISSIONS="CASINO_MISSIONS",S.PROVIDERS="PROVIDERS",S.CASINO_BANNERS="CASINO_BANNERS",S.CASINO_JACKPOTS="CASINO_JACKPOTS",S.BRANDED_GAMES="BRANDED_GAMES",S.EXCLUSIVE="EXCLUSIVE",S.DAILY_COLD_GAMES="DAILY_COLD_GAMES",S.DAILY_HOT_GAMES="DAILY_HOT_GAMES",S}(E||{}),l=function(S){return S.STANDARD="STANDARD",S.CASINO_PROMO="CASINO_PROMO",S}(l||{}),y=function(S){return S.ACTIVE="ACTIVE",S.INACTIVE="INACTIVE",S}(y||{}),I=function(S){return S.ACTIVE="ACTIVE",S.MONEY_SPENT="MONEY_SPENT",S.PLAYER_QUIT="PLAYER_QUIT",S.CASINO_PROMOTION_DEACTIVATED="CASINO_PROMOTION_DEACTIVATED",S.ROLLOVER_MET="ROLLOVER_MET",S.DURATION_EXPIRED="DURATION_EXPIRED",S}(I||{})},76377:(he,M,r)=>{"use strict";r.d(M,{P:()=>h});var o=r(54438),i=r(37320),d=r(47981);let h=(()=>{class v{constructor(){this.initialCasinoAppliedFilters={providerIds:null,categoryIds:null,slotTypes:null,volatilityTypes:null,rtpBuckets:null},this.casinoFilterKey=i.JC,this._casinoFilterData=(0,o.vPA)(null),this._appliedFilters=(0,o.vPA)({...this.initialCasinoAppliedFilters}),this.casinoFilterData=this._casinoFilterData.asReadonly(),this.appliedFilters=this._appliedFilters.asReadonly(),this.isCasinoFilterOpen=(0,o.vPA)(!1),this.selectedProviders=(0,o.vPA)([]),this.selectedCategories=(0,o.vPA)([]),this.selectedSlotTypes=(0,o.vPA)([]),this.selectedRtpBuckets=(0,o.vPA)([]),this.selectedVolatilityTypes=(0,o.vPA)([]),this.providerSearch=(0,o.vPA)(""),this.categorySearch=(0,o.vPA)(""),this.selectedProvidersMap=(0,o.EWP)(()=>(0,d.Sp)(this.selectedProviders())),this.selectedCategoriesMap=(0,o.EWP)(()=>(0,d.Sp)(this.selectedCategories())),this.selectedSlotTypesMap=(0,o.EWP)(()=>(0,d.Sp)(this.selectedSlotTypes())),this.selectedRtpBucketsMap=(0,o.EWP)(()=>(0,d.Sp)(this.selectedRtpBuckets())),this.selectedVolatilityTypesMap=(0,o.EWP)(()=>(0,d.Sp)(this.selectedVolatilityTypes())),this.filterProviders=(0,o.EWP)(()=>this._casinoFilterData()?.providers??[]),this.filterCategories=(0,o.EWP)(()=>this._casinoFilterData()?.categories??[]),this.filteredProviders=(0,o.EWP)(()=>(0,d.WE)(this.filterProviders(),this.selectedProviders(),this.providerSearch(),m=>m.providerId,m=>m.providerName)),this.filteredCategories=(0,o.EWP)(()=>(0,d.WE)(this.filterCategories(),this.selectedCategories(),this.categorySearch(),m=>m.id,m=>m.categoryName)),this.slotTypes=(0,o.EWP)(()=>this._casinoFilterData()?.slotTypes??[]),this.volatilityTypes=(0,o.EWP)(()=>this._casinoFilterData()?.volatilityTypes??[]),this.rtpBuckets=(0,o.EWP)(()=>this._casinoFilterData()?.rtpBuckets??[]),this.appliedProvidersCount=(0,o.EWP)(()=>this.appliedFilters().providerIds?.length??0),this.appliedCategoriesCount=(0,o.EWP)(()=>this.appliedFilters().categoryIds?.length??0),this.appliedSlotTypesCount=(0,o.EWP)(()=>this.appliedFilters().slotTypes?.length??0),this.appliedRtpBucketsCount=(0,o.EWP)(()=>this.appliedFilters().rtpBuckets?.length??0),this.appliedVolatilityTypesCount=(0,o.EWP)(()=>this.appliedFilters().volatilityTypes?.length??0),this.hasSelectedFilters=(0,o.EWP)(()=>this.selectedProviders().length>0||this.selectedCategories().length>0||this.selectedSlotTypes().length>0||this.selectedRtpBuckets().length>0||this.selectedVolatilityTypes().length>0),this.hasFilterChanges=(0,o.EWP)(()=>{const m=this.appliedFilters();return!((0,d.Z9)(this.selectedProviders(),m.providerIds??[])&&(0,d.Z9)(this.selectedCategories(),m.categoryIds??[])&&(0,d.Z9)(this.selectedSlotTypes(),m.slotTypes??[])&&(0,d.Z9)(this.selectedRtpBuckets(),m.rtpBuckets??[])&&(0,d.Z9)(this.selectedVolatilityTypes(),m.volatilityTypes??[]))}),this.casinoFiltersCount=(0,o.EWP)(()=>this.appliedProvidersCount()+this.appliedCategoriesCount()+this.appliedSlotTypesCount()+this.appliedRtpBucketsCount()+this.appliedVolatilityTypesCount()),this.hasCasinoFilters=(0,o.EWP)(()=>{const m=this.casinoFilterData();return!(!m||0===Object.keys(m).length)&&[m?.providers,m?.categories,m?.slotTypes,m?.volatilityTypes,m?.rtpBuckets].some(p=>null!==p&&p?.length>0)})}setCasinoFilterData(m){this._casinoFilterData.set(m)}setAppliedFilters(m){this._appliedFilters.set({providerIds:[...m?.providerIds??[]],categoryIds:[...m?.categoryIds??[]],slotTypes:[...m?.slotTypes??[]],volatilityTypes:[...m?.volatilityTypes??[]],rtpBuckets:[...m?.rtpBuckets??[]]})}toggleFilter(m,p){switch(m){case i.JC.PROVIDER:(0,d.eV)(this.selectedProviders,p);break;case i.JC.CATEGORY:(0,d.eV)(this.selectedCategories,p);break;case i.JC.SLOT_TYPE:(0,d.eV)(this.selectedSlotTypes,p);break;case i.JC.RTP:(0,d.eV)(this.selectedRtpBuckets,p);break;case i.JC.VOLATILITY:(0,d.eV)(this.selectedVolatilityTypes,p)}}clearSelectedFilters(){this.selectedProviders.set([]),this.selectedCategories.set([]),this.selectedSlotTypes.set([]),this.selectedRtpBuckets.set([]),this.selectedVolatilityTypes.set([]),this.categorySearch.set(""),this.providerSearch.set("")}
1applyFilters(){const m={providerIds:[...this.selectedProviders()],categoryIds:[...this.selectedCategories()],slotTypes:[...this.selectedSlotTypes()],volatilityTypes:[...this.selectedVolatilityTypes()],rtpBuckets:[...this.selectedRtpBuckets()]};return this.categorySearch.set(""),this.providerSearch.set(""),this.isCasinoFilterOpen.set(!1),this.setAppliedFilters(m),m}restoreAppliedFilters(){const m=this.appliedFilters();this.selectedProviders.set([...m.providerIds??[]]),this.selectedCategories.set([...m.categoryIds??[]]),this.selectedSlotTypes.set([...m.slotTypes??[]]),this.selectedRtpBuckets.set([...m.rtpBuckets??[]]),this.selectedVolatilityTypes.set([...m.volatilityTypes??[]])}resetFilters(){this._casinoFilterData.set(null),this._appliedFilters.set({...this.initialCasinoAppliedFilters}),this.selectedProviders.set([]),this.selectedCategories.set([]),this.selectedSlotTypes.set([]),this.selectedRtpBuckets.set([]),this.selectedVolatilityTypes.set([]),this.providerSearch.set(""),this.categorySearch.set(""),this.isCasinoFilterOpen.set(!1)}updateAppliedFiltersByAvailableFilters(m){const p=this.appliedFilters();this.setAppliedFilters({providerIds:p.providerIds?.filter(u=>m.providers?.some(E=>E.providerId===u))??[],categoryIds:p.categoryIds?.filter(u=>m.categories?.some(E=>E.id===u))??[],slotTypes:p.slotTypes?.filter(u=>m.slotTypes?.includes(u))??[],volatilityTypes:p.volatilityTypes?.filter(u=>m.volatilityTypes?.includes(u))??[],rtpBuckets:p.rtpBuckets?.filter(u=>m.rtpBuckets?.includes(u))??[]}),this.restoreAppliedFilters()}static{this.\u0275fac=function(p){return new(p||v)}}static{this.\u0275prov=o.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},93576:(he,M,r)=>{"use strict";r.d(M,{B:()=>l});var o=r(54438),i=r(71576),d=r(22804),h=r(42199),v=r(51235),_=r(95447),m=r(83921),p=r(77286),u=r(28998),E=r(21626),C=r(61131);let l=(()=>{class y extends i.F{constructor(S,P,F,N,U,T){super(S,P,F,N,U,T),this._cookieService=S,this._errorService=P,this._state=F,this._httpClient=N,this._transferStateService=U,this.platformId=T,this._apiUrl=CASINO_API}delete(S,P={},F=h.XW){return this._httpClient.request("delete",`${this._apiUrl}/${S}`,{headers:{Authorization:`Bearer ${this._cookieService.get(_.Xh)}`,"Accept-Language":d.P.locale},body:P}).pipe((0,m.W)(N=>(this._errorService.handleError(N,F),v.w)))}static{this.\u0275fac=function(P){return new(P||y)(o.KVO(p.Q),o.KVO(u.I),o.KVO(o.pJN),o.KVO(E.Qq),o.KVO(C.G),o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},5450:(he,M,r)=>{"use strict";r.d(M,{p:()=>re});var o=r(54438),i=r(79928),d=r(45286),h=r(90696),v=r(14421),_=r(37320),m=r(42199),p=r(23712),u=r(67640),E=r(50861),C=r(20279),l=r(83921),y=r(68712),I=r(95006),S=r(30763),P=r(24766),F=r(22804);function N(ee,Se){return ee.map(J=>({id:J.id,displayName:J.displayName,count:Se.filter(de=>de.casinoCategoriesIds?.includes(J.id)).length,active:!1}))}function U(ee,Se){return ee.map(J=>({id:J.providerId,displayName:J.providerName,count:Se.filter(de=>de.casinoProviderId===J.providerId).length,active:!1}))}var L=r(76227),Z=r(47981),ie=r(73955),ve=r(93576),me=r(39934),xe=r(2091),$=r(63755),V=r(65283),oe=r(34405),z=r(21626),W=r(76377);let re=(()=>{class ee{constructor(J,de,ke,ge,ye,Pe,Me,We,Oe){this._casinoHttpService=J,this._routingService=de,this._router=ke,this._localStorageService=ge,this._httpService=ye,this._restConfigurationService=Pe,this._localizationService=Me,this._httpClient=We,this._casinoFilterService=Oe,this.casinoPageName=(0,o.vPA)(P.Eq.IDLE),this.isCasinoGameOpen=(0,o.vPA)(!1),this.hasRecentlyPlayedGames=(0,o.vPA)(!1),this.hasAvailableProviders=(0,o.vPA)(!1),this.allCustomProviders=(0,o.vPA)([]),this._gamesPageCache=new Map,this.handleChangeOfPage=new i.t({}),this.handleChangeOfPage$=this.handleChangeOfPage.asObservable(),this.removedFavourite=new d.B7,this.removedFavourite$=this.removedFavourite.asObservable(),this.addedFavourite=new d.B7,this.addedFavourite$=this.addedFavourite.asObservable(),this.logoutEvent=new d.B7,this.logoutEvent$=this.logoutEvent.asObservable(),this.restartNavigation=new d.B7,this.restartNavigation$=this.restartNavigation.asObservable(),this.casinoPageId=null,this.alternativeLaunchType=null,this.playWithStandardWalletSubscriber=new d.B7,this.playWithStandardWalletSubscriber$=this.playWithStandardWalletSubscriber.asObservable(),this.launchNewCasinoGame=new d.B7,this.launchNewCasinoGame$=this.lau
1nchNewCasinoGame.asObservable(),this.isCasinoSearchOpen=!1,this.isTournamentPage=(0,o.vPA)(!1),this.isProviderPage=(0,o.vPA)(!1),this.isBonusPage=(0,o.vPA)(!1),this.previousIsBonusPage=(0,o.vPA)(!1),this.casinoNavigationFetched=new d.B7,this.casinoNavigationFetched$=this.casinoNavigationFetched.asObservable(),this.casinoPromotionActive=(0,o.vPA)(!1),this._translateService=(0,o.WQX)(ie.c$),this.currentSeoContent=(0,o.vPA)(null)}prepareCasinoSections(){this._getStandardAndLiveCasinoNavigationObservables().length&&(0,h.p)([this._casinoHttpService.get("api/v1/navigations","casino-navigations"),...this._getStandardAndLiveCasinoNavigationObservables()]).subscribe(de=>{this.casinoNavigationData={navigation:de[0].payload,pages:de.slice(1).map(ke=>ke?.payload)},this.casinoNavigationFetched.next(this.casinoNavigationData)})}getCasinoPageSettings(J){return this._casinoHttpService.get(`api/v1/casino-page-settings/${J}`,`casino-page-settings-${J}`,m.t4,!1,!1).pipe((0,l.W)(()=>(0,v.of)({})))}checkIsCustomPage(J){this.isTournamentPage.set(J.casinoNavigationItemType===E.qW.TOURNAMENTS),this.isProviderPage.set(J.casinoNavigationItemType===E.qW.PROVIDERS),this.isBonusPage.set(J.casinoNavigationItemType===E.qW.BONUS)}getCasinoGameForPage(J,de,ke,ge,ye){const Pe=`api/v1/casino-page/${J}/casino-page-section/${de}/casino-games?size=${ge}&offset=${ye}&casinoProviderIds=${ke}`;if(0===ye&&this._gamesPageCache.has(Pe))return this._gamesPageCache.get(Pe);const Me=this._casinoHttpService.get(Pe,Pe,m.XW,!1,!0).pipe((0,y.t)({bufferSize:1,refCount:!1}));return 0===ye&&this._gamesPageCache.set(Pe,Me),Me}clearGamesPageCache(){this._gamesPageCache.clear()}getPromotionCasinoGames(J){const de=`api/v1/promotion-games${(0,Z.dn)(J)}`;return this._casinoHttpService.get(de,"promotion-games",m.XW,!1,!0)}getCasinoFilteredGame(J,de,ke,ge){const ye=[null!=ke&&`size=${ke}`,null!=ge&&`offset=${ge}`].filter(Boolean).join("&"),Pe=(0,Z.dn)(de);let Me="";Me=ye&&Pe?`?${ye}&${Pe.slice(1)}`:ye?`?${ye}`:Pe;const We=`api/v1/casino-page/${J}/filter${Me}`;return this._casinoHttpService.get(We,We,m.XW,!1,!0)}_getStandardAndLiveCasinoNavigationObservables(){const J=[];return(0,p.A)(this._restConfigurationService.getNavigationConfigurationParams("topLeftSection"),de=>{(0,p.A)(de.subItems,ke=>{ke.type===E.gr&&(ke.name===C.Bi.LIVE_DEALER&&J.push(this.getCasinoPageSettings(ke.pageId)),ke.name===C.Bi.CASINO&&J.push(this.getCasinoPageSettings(ke.pageId)))})}),J}getLaunchCasinoGameData(J,de,ke=""){return this._casinoHttpService.get(`api/v1/game-launch/${J}?locale=${de}${ke}`,`${J}-${de}`,m.mp,!0)}searchCasinoGamesWithType(J){return this._casinoHttpService.get(`api/v1/casino-page/type/${J}`,"casino-page-type",m.mp).pipe((0,I.T)(de=>S.K.fromCasinoGameSearchModalResponse(de)))}launchCasinoGame(J,de=m.XW){return this._casinoHttpService.post("api/v2/game-launch",J,de)}searchCasinoGames(J,de,ke){if(!J||""===J.trim())return Promise.resolve({});const ge=de===_.yB.V3?`&lang=${this._localizationService.getSelectedLocale()}&spellcheck=${ke}`:"";return this._casinoHttpService.get(`api/${de}/casino-games/search?searchTerm=${encodeURI(J)}${ge}`).pipe((0,I.T)(ye=>function T(ee,Se){const J=Se!==ee.correctedSearchTerm?ee.correctedSearchTerm??null:null;return{casinoCategories:N(ee.casinoCategories,ee.games),casinoProviders:U(ee.casinoProviders,ee.games),correctedSearchTerm:J,games:ee.games}}(ye.payload,J))).toPromise()}goToCasinoHomePage(){this._routingService.navigateToCasino(""),this._router.location.replaceState(this._routingService.getCasinoPageUrlByPage())}goToCasinoProviderPage(J,de){this._routingService.navigate(this._routingService.getCasinoPageUrlByPage(L.O.formatSlug(de)),{provider:J})}getRecentlyPlayed(J){const de=`api/v1/recent-played${(0,Z.dn)(J)}`;return this._casinoHttpService.get(de,"casino-recent-played",m.XW,!0)}getFavourites(J){const de=`api/v1/favourite${(0,Z.dn)(J)}`;return this._casinoHttpService.get(de)}_addToFavourites(J){const de=this._translateService.instant("general.favourites_slug"),ge=this._router.url.split("?")[0].split("/").filter(Boolean).pop()===de;this._casinoHttpService.put("api/v1/favourite",{casinoGameId:J.id,casinoProvi
1derId:J.casinoProviderId}).subscribe(()=>{J.favourite=!0,ge&&this.addedFavourite.next(J)})}_deleteFavourite(J){const de=this._translateService.instant("general.favourites_slug"),ge=this._router.url.split("?")[0].split("/").filter(Boolean).pop()===de;this._casinoHttpService.delete("api/v1/favourite",{casinoGameId:J.id,casinoProviderId:J.casinoProviderId}).subscribe(()=>{J.favourite=!1,ge?this._updateFiltesAfterFavouriteDelete(J):this.removedFavourite.next(J)})}getCasinoPageSettingsBySlugUrl(J){const de=decodeURIComponent(J);return this._casinoHttpService.get(`api/v2/casino-page-settings/${de}`,`casino-page-settings-${de}`,m.t4,!1,!1).pipe((0,l.W)(()=>(0,v.of)({})))}_updateFiltesAfterFavouriteDelete(J){const de=this._casinoFilterService.appliedFilters();this.getFavourites(de).subscribe(ke=>{const ge=ke.payload.filters||{};this._casinoFilterService.setCasinoFilterData(ge),this._casinoFilterService.updateAppliedFiltersByAvailableFilters(ge),this.removedFavourite.next(J)})}addOrDeleteFromFavourites(J){J.favourite?this._deleteFavourite(J):this._addToFavourites(J)}handleLogout(){this.logoutEvent.next()}setAlternativeLaunchType(J){this.alternativeLaunchType=J}isAlternativeTypeUnknown(){return"UNKNOWN"===this.alternativeLaunchType}getAlternativeLaunchType(J=!1){if("UNKNOWN"===this.alternativeLaunchType)return"";if((0,u.A)(this.alternativeLaunchType))return this.alternativeLaunchType;const de=this._localStorageService.getItem("alternativeLaunchType")||"";return de?(J&&this._localStorageService.removeItem("alternativeLaunchType"),de):this.alternativeLaunchType||""}openCasinoSearch(){this.isCasinoSearchOpen=!0}closeCasinoSearch(){this.isCasinoSearchOpen=!1}casinoGameOpen(){this.isCasinoGameOpen.set(!0)}casinoGameClose(){this.isCasinoGameOpen.set(!1)}getInfoAboutV3Search(J){return this._httpClient.get(J,{headers:{"Accept-Language":F.P.locale}})}getInfoAboutV3SearchSeen(){return JSON.parse(localStorage.getItem(E.eP)??"false")}setInfoAboutV3SearchSeen(){localStorage.setItem(E.eP,JSON.stringify(!0))}getSearchSuggestions(J){return this._httpClient.get(J,{headers:{"Accept-Language":F.P.locale}})}getCasinoProviders(){return this._casinoHttpService.get("api/v1/casino-providers","casino-providers",m.mp,!0)}getCasinoProviderGames(J,de,ke){return this._casinoHttpService.get(`api/v1/casino-providers/${J}?size=${de}&offset=${ke}`,"casino-provider-games").pipe((0,I.T)(ge=>({res:ge.payload.games,showMore:ge.payload.hasMore})))}static{this.\u0275fac=function(de){return new(de||ee)(o.KVO(ve.B),o.KVO(me.O),o.KVO(xe.Ix),o.KVO($.s),o.KVO(V.k),o.KVO(oe.M),o.KVO(F.P),o.KVO(z.Qq),o.KVO(W.P))}}static{this.\u0275prov=o.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}}return ee})()},18354:(he,M,r)=>{"use strict";r.d(M,{d:()=>v});var o=r(31635),i=r(54438),d=r(58167),h=r(85375);class v{constructor(){this.LAST_PLAYED_GAME_KEY="mb_lastGamePlayed",this.DISMISSED_GAME_KEY="mb_lastGameDismissed",this.EXPIRATION_DAYS=7,this._authService=(0,i.WQX)(d.u)}saveLastPlayedGame(m){const p={...m,startedOn:Date.now()};localStorage.setItem(this.LAST_PLAYED_GAME_KEY,JSON.stringify(p)),this._clearDismissedNotification()}getLastPlayedGame(){const m=localStorage.getItem(this.LAST_PLAYED_GAME_KEY);if(!m)return null;try{const p=JSON.parse(m),u=this._authService.getAccountEmail(),E=(Date.now()-p.startedOn)/864e5;return u!==p.username||E>this.EXPIRATION_DAYS?(this.clearLastPlayedGame(),null):this._isNotificationDismissed(p.gameId)?null:p}catch{return this.clearLastPlayedGame(),null}}clearLastPlayedGame(){localStorage.removeItem(this.LAST_PLAYED_GAME_KEY)}dismissNotification(m){sessionStorage.setItem(this.DISMISSED_GAME_KEY,m.toString())}_isNotificationDismissed(m){return sessionStorage.getItem(this.DISMISSED_GAME_KEY)===m.toString()}_clearDismissedNotification(){sessionStorage.removeItem(this.DISMISSED_GAME_KEY)}static{this.\u0275fac=function(p){return new(p||v)}}static{this.\u0275prov=i.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}(0,o.Cg)([h.X],v.prototype,"getLastPlayedGame",null),(0,o.Cg)([h.X],v.prototype,"clearLastPlayedGame",null)},47981:(he,M,r)=>{"use strict";function o(_,m,p,u,E){const C=p.toLocaleLowerCase().trim(),l=C?_.filter(S=>E(S).toLocaleLowerCase().includes(C)):_;return[...m.map(S=>l.find(P=>
1u(P)===S)).filter(Boolean),...l.filter(S=>!m.includes(u(S)))]}function i(_){return _.reduce((m,p)=>(m[p]=!0,m),{})}function d(_,m){return _.length===m.length&&_.every(p=>m.includes(p))}function h(_,m){_.update(p=>p.includes(m)?p.filter(u=>u!==m):[...p,m])}function v(_){if(!_)return"";const{providerIds:m=[],categoryIds:p=[],slotTypes:u=[],volatilityTypes:E=[],rtpBuckets:C=[]}=_,l=[m?.length&&`casinoProviderIds=${m.join(",")}`,p?.length&&`categoryIds=${p.join(",")}`,u?.length&&`slotTypes=${u.join(",")}`,E?.length&&`volatilityTypes=${E.join(",")}`,C?.length&&`rtpBuckets=${C.join(",")}`].filter(Boolean).join("&");return l?`?${l}`:""}r.d(M,{Sp:()=>i,WE:()=>o,Z9:()=>d,dn:()=>v,eV:()=>h})},55326:(he,M,r)=>{"use strict";r.d(M,{P:()=>L});var o=r(10467),i=r(31635),d=r(54438),h=r(23712),v=r(67018),_=r(79928),m=r(51235),p=r(15539),u=r(77312),E=r(68712),C=r(85375),l=r(91398),y=r(21626),I=r(65283),S=r(84978),P=r(66348),F=r(34405),N=r(48115),U=r(62946),T=r(30569);class L{constructor(ie,ve,me,xe,$,V,oe,z){this._httpClient=ie,this._httpService=ve,this._configurationService=me,this._positionService=xe,this._restConfigurationService=$,this._stabilityService=V,this._trackersService=oe,this._botDetectionService=z,this._isImgArenaEnabled=this._restConfigurationService.getGeneralCustomConfigurationParams("enableImgArenaStreaming"),this._isBetradarEnabled=this._restConfigurationService.getGeneralCustomConfigurationParams("enableBetRadarStreaming"),this._isBetBazarEnabled=this._restConfigurationService.getGeneralCustomConfigurationParams("enableBetBazarStreaming"),this._isStatsPerformEnabled=this._restConfigurationService.getGeneralCustomConfigurationParams("enableStatsPerformStreaming"),this._isInfrontStreamingEnabled=this._restConfigurationService.getGeneralCustomConfigurationParams("enableInfrontStreaming"),this._merbetEnabled=this._restConfigurationService.getGeneralCustomConfigurationParams("enableMerbetStreaming"),this.liveStreamIds={},this.listOfliveStreamEventIds=[],this.liveStreamSports=[],this.standardStreamIds={},this._standardStreamsRefetched=new _.t([]),this.standardStreamsRefetched$=this._standardStreamsRefetched.asObservable(),this._liveStreamsRefetched=new _.t([]),this.liveStreamsRefetched$=this._liveStreamsRefetched.asObservable(),this.liveStreamEvents=(0,d.vPA)({}),this.standardStreamEvents=(0,d.vPA)({}),this.fetchingInProgress=!1,this._fetchStreamEventIds$=null}subscribeIntervalForGettingStreamEvents(){this.intervalObject||this._botDetectionService.isBot||this._stabilityService.isAppStable().subscribe(()=>{this.intervalObject=window.setInterval(()=>{this.fetchStreamEventIds().subscribe()},6e4)})}unsubscribeIntervalForGettingStreamEvents(){this.intervalObject&&(clearInterval(this.intervalObject),this.intervalObject=null)}fetchStreamEventIds(){return!l.R.isBrowser||this._botDetectionService.isBot?m.w:(this._fetchStreamEventIds$||(this.fetchingInProgress=!0,this._fetchStreamEventIds$=this._httpClient.get(`${IMGARENA_LIVE_STREAM}/api/events?imgArena=${this._isImgArenaEnabled}&merbet=${this._merbetEnabled}&infront=${this._isInfrontStreamingEnabled}&betRadar=${this._isBetradarEnabled}&betBazar=${this._isBetBazarEnabled}&betRadarCountryCodes=${COUNTRY_ISO_CODE}&mappedEvents=true&betRadarDevice=Desktop&website=${WEBSITE_URL}&statsPerform=${this._isStatsPerformEnabled}`).pipe((0,p.M)(({live:ie,standard:ve,mapped:me})=>{this.liveStreamIds=[],this.standardStreamIds=[],this._trackersService.setMappedEventIds(me);const xe=[],$=[];(0,h.A)(ie,V=>{this.liveStreamIds[Number(V.eventId)]=V,$.push(V.eventId)}),(0,h.A)(ve,V=>{this.standardStreamIds[Number(V.eventId)]=V,xe.push(V.eventId)}),this.listOfliveStreamEventIds=$,this.fetchingInProgress=!1,this.liveStreamEvents.set(this.liveStreamIds),this.standardStreamEvents.set(this.standardStreamIds),this._liveStreamsRefetched.next(this.listOfliveStreamEventIds),this._standardStreamsRefetched.next(xe)}),(0,u.j)(()=>{this._fetchStreamEventIds$=null}),(0,E.t)(1))),this._fetchStreamEventIds$)}handleLiveStreamEventResponse(ie,ve){var me=this;return(0,o.A)(function*(){const xe=[];return yield Promise.all(ie.map(function(){var $=(0,o.A)(function*(V,oe){const z=(0,v.A)(ve,{sportId:V.sportId}),W=yield me._fetchStreamEventPositions(V.sportId);xe[oe]={configuredPositions:!0,events:V.events||[],name:z?.name,slug:z?.slug,sportId:z?.sportId,selectedPositions:W.selectedPositions,sportPositions:W.sportPositions}});return function(V,oe){return $.apply(this,arguments)}}())),xe})()}_fetchStreamEventPositions(ie){return this._positionService.getPositionsForSport(ie,"live").toProm
1ise()}getEventIdsWithStream(ie){var ve=this;return(0,o.A)(function*(){const me=yield ve.fetchEventsWithLiveStreamPromise(ve.listOfliveStreamEventIds);ve.liveStreamSports=yield ve.handleLiveStreamEventResponse(me.payload.sports,ie)})()}fetchEventsWithLiveStreamPromise(ie){return this._httpService.get(`api/v1/live/favorite?eventIds=${ie}`).toPromise()}static{this.\u0275fac=function(ve){return new(ve||L)(d.KVO(y.Qq),d.KVO(I.k),d.KVO(S.s),d.KVO(P.$),d.KVO(F.M),d.KVO(N.B),d.KVO(U.t),d.KVO(T.a))}}static{this.\u0275prov=d.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}}(0,i.Cg)([C.X],L.prototype,"subscribeIntervalForGettingStreamEvents",null)},36444:(he,M,r)=>{"use strict";r.d(M,{Po:()=>d,cD:()=>i,gs:()=>o});var o=function(_){return _.UPGRADED="UPGRADED",_}(o||{}),i=function(_){return _.CASINO="CASINO",_}(i||{}),d=function(_){return _.OTHER="OTHER",_}(d||{})},94727:(he,M,r)=>{"use strict";r.d(M,{$x:()=>S,AE:()=>d,Ai:()=>m,L0:()=>o,M$:()=>P,MV:()=>Z,MZ:()=>N,NH:()=>I,Ok:()=>L,Oo:()=>U,PM:()=>y,Ui:()=>p,Xw:()=>i,dX:()=>T,er:()=>u,fC:()=>v,jK:()=>F,jt:()=>C,qv:()=>l,uZ:()=>E}
1);const o="RESOURCE_ALREADY_EXISTS",i=/^[\w!#$%&'*+/=?`{|}~^-]+(?:\.[\w!#$%&'*+/=?`{|}~^-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,6}$/,d=/^([^0-9]*)$/,v=/^\+(?:[0-9] ?){6,14}[0-9]$/,m=/^[0-9]{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])[0-9]{3}[0-9]{2}$/,p=/^(0[1-9]|[12][0-9]|3[01])(0[1-9]|1[012])[0-9]{9}$/,u=/^([0-9]{9})$/,E={EX_YU_JMBG:"EX_YU_JMBG",BELGIAN_JMBG:"BELGIAN_JMBG",EXACTLY_9_DIGITS:"EXACTLY_9_DIGITS",BRAZILIAN_CPF:"BRAZILIAN_CPF"},C={STRONG:"STRONG",WEAK:"WEAK",ULTRAWEAK:"ULTRAWEAK"},l=/^(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*()_+\-=\[\]{};':",./<>?])(?=\S+$).{8,}$/,y=/^([^\s]){6,}$/,I=/^.{4,}$/,S=/^.{8,}$/,P=/[0-9]/,F=/[A-Z]/,N=/[!@#$%^&*()_+\-=[\]{};':",./<>?]/,U=/^\S+$/,T="REGEX",L={NICK_NAME:{name:"nickname"},FIRST_NAME:{name:"firstName"},LAST_NAME:{name:"lastName"},EMAIL:{name:"email"},PASSWORD:{name:"password"},REPEAT_PASSWORD:{name:"repeatPassword"},COUNTRY:{name:"country"},NATIONALITY:{name:"nationality"},PHONE:{name:"phone"},PERSONAL_ID:{name:"personalId"},YEAR_OF_BIRTH:{name:"yearOfBirth"},MONTH_OF_BIRTH:{name:"monthOfBirth"},DAY_OF_BIRTH:{name:"dayOfBirth"},CITY:{name:"city"},ACCOUNT_ACTIVATION_METHOD:{name:"accountActivationMethod"},PASSPORT_NUMBER:{name:"passportNumber"},STREET:{name:"street"},PROMO_CODE_USE:{name:"usePromoCode"},PROMO_CODE:{name:"promoCode"},POSTAL_CODE:{name:"postalCode"},NEWSLETTER_EMAIL_NOTIFICATIONS:{name:"newsletterEmail"},NEWSLETTER_PUSH_NOTIFICATIONS:{name:"newsletterPush"},NEWSLETTER_SMS_NOTIFICATIONS:{name:"newsletterSms"},LOYALTY_CARD_NUMBER:{name:"loyaltyCardNumber"},TERMS:{name:"termsAndConditions"},GENDER:{name:"gender"},PEP:{name:"pep"},ALIEN_REGISTRATION_CARD_NUMBER:{name:"alienRegistrationCardNumber"},CURRENCY:{name:"currency"},REFERRAL_CODE:{name:"referralCode"},PRIVACY_POLICY_AND_GDPR:{name:"privacyPolicyAndGDPR"}},Z=Array.from({length:31},(ie,ve)=>({name:`${ve+1}`,value:ve+1}))},97317:(he,M,r)=>{"use strict";r.d(M,{M:()=>i,z:()=>o});var o=function(d){return d.BLINKING="BLINKING",d.IPIFICATION="IPIFICATION",d.ITSME="ITSME",d.SUMSUB="SUMSUB",d.UNICO="UNICO",d}(o||{}),i=function(d){return d[d.PERU_PERSONAL_ID_LENGTH=8]="PERU_PERSONAL_ID_LENGTH",d[d.PERU_ALIEN_ID_LENGTH=9]="PERU_ALIEN_ID_LENGTH",d}(i||{})},8950:(he,M,r)=>{"use strict";r.d(M,{D:()=>o});class o{static parseAvailableProviders(d){return d.payload}static parseExternalProviderUrl(d){return d.payload}static parseExternalAccountInformation(d){return d.payload}}},21834:(he,M,r)=>{"use strict";r.d(M,{j:()=>i});var o=r(54438);let i=(()=>{class d{static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275mod=o.$C({type:d})}static{this.\u0275inj=o.G2t({})}}return d})()},58618:(he,M,r)=>{"use strict";r.d(M,{T:()=>d});var o=r(54438),i=r(34405);let d=(()=>{class h{constructor(_){this._restConfigurationService=_}transform(_){return this._restConfigurationService.getGeneralConfigurationParams(_)}static{this.\u0275fac=function(m){return new(m||h)(o.rXU(i.M,16))}}static{this.\u0275pipe=o.EJ8({name:"generalConfigurationPipe",type:h,pure:!0})}}return h})()},28026:(he,M,r)=>{"use strict";r.d(M,{a:()=>i});var o=r(54438);let i=(()=>{class d{static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275mod=o.$C({type:d})}static{this.\u0275inj=o.G2t({})}}return d})()},23882:(he,M,r)=>{"use strict";r.d(M,{w:()=>d});var o=r(54438),i=r(34405);let d=(()=>{class h{constructor(_){this._restConfigurationService=_}transform(_){return this._restConfigurationService.getGeneralCustomConfigurationParams(_)}static{this.\u0275fac=function(m){return new(m||h)(o.rXU(i.M,16))}}static{this.\u0275pipe=o.EJ8({name:"generalCustomConfigurationPipe",type:h,pure:!0})}}return h})()},23434:(he,M,r)=>{"use strict";r.d(M,{C:()=>i});var o=r(54438);let i=(()=>{class d{transform(v,_=void 0){const m={default:"default-epo",58:"epo-football-icon","58-1":"epo-football-icon-1","58-2":"epo-football-icon","58-3":"epo-football-icon-3",56:"epo-tennis-icon",59:"epo-hockey-icon",55:"epo-basketball-icon",129:"epo-basketball-icon",63:"epo-baseball-icon",60:"epo-handball-icon",80:"epo-american-football-icon"};return"default"===_?m[_]:m[_?`${v}-${_}`:`${v}`]||"early-payout"}static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275pipe=o.EJ8({name:"sportIcon",type:d,pure:!0,standalone:!0})}}return d})()},72252:(he,M,r)=>{"use strict";r.d(M,{H:()=>h});var o=r(68999),i=r(54438),d=r(47580);let h=(()=>{class v{constructor(m){this._eventInfoService=m}transform(m,p){const u=this._eventInfoService.getPeriodDescription(m);return u?`period_description.${(0,o.A)(u.split(" ").join("_"))}`:""}static{this.\u0275fac=function(p){return new(p||v)(i.rXU(d.i,16))}}static{this.\u0275pipe=i.EJ8({name:"formatEventPeriod",type:v,pure:!0,standalone:!0})}}return v})()},76747:(he,M,r)=>{"use strict";r.d(M,{P:()=>d});var o=r(54438),i=r(51538);let d=(()=>{class h{constructor(_){this._oddsFormatService=_}transform(_,m,p=0){return this._oddsFormatService.formatOdd(_,m)}static{this.\u0275fac=function(m){return new(m||h)(o.rXU(i.$,16))}}static{this.\u0275pipe=o.EJ8({name:"formatOddPipe",type:h,pure:!0,standalone:!0})}}return h})()},25569:(he,M,r)=>{"use strict";r.d(M,{l:()=>d});var o=r(62125),i=r(54438);let d=(()=>{class h{transform(_,m){return(0,o.A)(_,"matchTime")||""}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275pipe=i.EJ8({name:"formatEventTime",type:h,pure:!0,standalone:!0})}}return h})()},10511:(he,M,r)=>{"use strict";r.d(M,{a:()=>v});var o=r(62125),i=r(4346),d=r(95447),h=r(54438);let v=(()=>{class _{transform(p,u,E){if(p.offerSubType!==d.lF)return"";if(p.sport.sportId===i.W.FOOTBALL){let C="";return 0===u&&Number((0,o.A)(p,"result.extraData.HRED"))>0&&(C+="red-card"),1===u&&Number((0,o.A)(p,"result.extraData.ARED"))>0&&(C+="red-card"),0===u&&Number((0,o.A)(p,"result.extraData.HYEL"))>0&&(C+=" yellow-card"),1===u&&Number((0,o.A)(p,"result.extraData.AYEL"))>0&&(C+=" yellow-card"),C}return[i.W.TENNIS,i.W.TABLE_TENNIS].includes(p.sport.sportId)?Number((0,o.A)(p,"result.extraData.SERV"))===u?"serving":"not-serving":""}static{this.\u0275fac=function(u){return new(u||_)}}
1static{this.\u0275pipe=h.EJ8({name:"getAdditionalClassForRivalsPipe",type:_,pure:!0,standalone:!0})}}return _})()},88685:(he,M,r)=>{"use strict";r.d(M,{Y:()=>v});var o=r(62125),i=r(54438),d=r(85032),h=r(73955);let v=(()=>{class _{constructor(p,u){this._tooltipService=p,this._translationService=u}transform(p,u,E,C){const l=(0,o.A)(this._tooltipService.currentTooltips,`[${u}][${p}].marketTooltip`,"");let y=l&&this._translationService.instant(l);return E&&(y=this.prepareTranslatedKeyWithMarketName(y,E)),y}prepareTranslatedKeyWithMarketName(p,u){return p.replace("{m}",u).trim()}static{this.\u0275fac=function(u){return new(u||_)(i.rXU(d.J,16),i.rXU(h.c$,16))}}static{this.\u0275pipe=i.EJ8({name:"getMarketTooltip",type:_,pure:!0,standalone:!0})}}return _})()},55975:(he,M,r)=>{"use strict";r.d(M,{G:()=>d});var o=r(62125),i=r(54438);let d=(()=>{class h{transform(_,m){return(0,o.A)(_,`[${m}]`,"")}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275pipe=i.EJ8({name:"getRivalName",type:h,pure:!0,standalone:!0})}}return h})()},80536:(he,M,r)=>{"use strict";r.d(M,{d:()=>d});var o=r(54438),i=r(60767);let d=(()=>{class h{constructor(_){this._favoriteService=_}transform(_,m){return this._favoriteService.favoriteIds.includes(_)}static{this.\u0275fac=function(m){return new(m||h)(o.rXU(i.U,16))}}static{this.\u0275pipe=o.EJ8({name:"isInFavorites",type:h,pure:!0,standalone:!0})}}return h})()},33160:(he,M,r)=>{"use strict";r.d(M,{k:()=>i});var o=r(54438);let i=(()=>{class d{transform(v){return{54:"volleyball",55:"basketball",56:"tennis",57:"football",58:"football",59:"ice-hockey",60:"handball",61:"american-football",62:"waterpolo",63:"baseball",65:"rugby-union",66:"cricket",67:"formula-1",68:"motor-sport",69:"snooker",70:"tennis",71:"tennis",72:"cycling",73:"politics",74:"internet",75:"eurovision",76:"boxing",77:"special-offer",78:"football",79:"athletics",80:"american-football",81:"alpine-skiing",82:"virtual-football",83:"rally",84:"",85:"golf",86:"darts",87:"martial-arts",88:"",89:"table-tennis",90:"badminton",91:"beach-volleyball",92:"beach-soccer",93:"futsal",94:"rugby-league",95:"ski-jumping",96:"horse-racing",97:"trotting",98:"specials",99:"biathlon",100:"rowing",101:"swimming",102:"shooting",103:"",104:"basketball",105:"",106:"winter-olympics",107:"bowls",108:"cross-country-skiing",109:"chess",110:"dog-racing",111:"",112:"pool",113:"curling",114:"basketball",115:"squash",116:"football",117:"netball",118:"bandy",119:"sport
1-specials",120:"aussie-rules",121:"",122:"esports",123:"olympic-games",124:"surfing",125:"",126:"hockey",129:"basketball-3x3",130:"esport-counter-strike",131:"esport-call-of-duty",132:"esport-dota",133:"esport-hearthstone",134:"esport-league-of-legends",135:"basketball",136:"esport-overwatch",137:"esport-starcraft",138:"esport-rainbow-six",139:"esport-rocket-league",140:"esport-king-of-glory",141:"race-horse",143:"speedway",144:"virtual-tennis",177:"virtual-basketball",178:"floorball",179:"virtual-ice-hockey",212:"lacrosse",213:"nascar",246:"esport-valorant",247:"esport-league-of-legends",248:"esport-freefire",249:"esport-wild-rift",250:"esport-apex-legend",251:"esport-warcraft-iii",252:"esport-arena-of-valor",253:"esport-street-fighter",254:"handball",255:"bowling",256:"hurling",257:"hockey",258:"",259:"pesapallo",260:"rink-hockey",261:"",263:"",264:"",265:"esport-crossfire",266:"gaelic-football",267:"kabaddi",268:"",269:"judo",270:"karate",271:"",272:"",273:"",274:"",275:"",276:"",277:"esport-street-fighter",278:"esport-starcraft-2",279:"meridian-special",280:"esport-age-of-empires",281:"",282:"",283:"",284:"",285:"",286:"esport-overwatch-2",287:"esport-pubg",288:"",289:"",290:"",291:"",292:"",293:"rugby-sevens",294:"softball",295:"sumo",296:"",297:"",298:"",299:"price-boost",300:"padel"}[v]||""}static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275pipe=o.EJ8({name:"sportIconFallback",type:d,pure:!0,standalone:!0})}}return d})()},10475:(he,M,r)=>{"use strict";r.d(M,{P:()=>i});var o=r(54438);let i=(()=>{class d{transform(v,_=!0){return v&&_?"https://meridianbet.com.cy"===WEBSITE_URL&&"EUR"===v?"\u20ac":v:""}static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275pipe=o.EJ8({name:"formatCurrency",type:d,pure:!0,standalone:!0})}}return d})()},36586:(he,M,r)=>{"use strict";r.d(M,{b:()=>E});var o=r(54438),i=r(73955),d=r(67374),v=r(80456),m=r(92098),u=r(34405);let E=(()=>{class C{constructor(){this._restConfigurationService=(0,o.WQX)(u.M),this._translateService=(0,o.WQX)(i.c$),d.extend(v),d.extend(m)}transform(y,I=!1){return I&&this._restConfigurationService.getGeneralCustomConfigurationParams("showYearOnEventsForBetslipAndClientReports")?d(y).format("DD.MM.YYYY"):d(y).isToday()?this._translateService.instant("general.today"):d(y).isTomorrow()?this._translateService.instant("general.tomorrow"):d(y).format("DD.MM")}static{this.\u0275fac=function(I){return new(I||C)}}static{this.\u0275pipe=o.EJ8({name:"dayLabel",type:C,pure:!0,standalone:!0})}}return C})()},70775:(he,M,r)=>{"use strict";r.d(M,{p:()=>d});var o=r(76543),i=r(54438);let d=(()=>{class h{transform(_){switch(_){case o._n.INFO:return"notification-info";case o._n.CASINO_PROMOTION:return"notification-casino-card";default:return"notification-sport"}}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275pipe=i.EJ8({name:"notificationIcon",type:h,pure:!0,standalone:!0})}}return h})()},26917:(he,M,r)=>{"use strict";r.d(M,{$:()=>d});var o=r(54438),i=r(345);let d=(()=>{class h{constructor(_){this._sanitizer=_}transform(_){return this._sanitizer.bypassSecurityTrustHtml(_)}static{this.\u0275fac=function(m){return new(m||h)(o.rXU(i.up,16))}}static{this.\u0275pipe=o.EJ8({name:"safeHtml",type:h,pure:!0,standalone:!0})}}return h})()},31727:(he,M,r)=>{"use strict";r.d(M,{g:()=>d});var o=r(54438),i=r(345);let d=(()=>{class h{constructor(_){this._sanitizer=_}transform(_){return this._sanitizer.bypassSecurityTrustResourceUrl(_)}static{this.\u0275fac=function(m){return new(m||h)(o.rXU(i.up,16))}}static{this.\u0275pipe=o.EJ8({name:"safe",type:h,pure:!0,standalone:!0})}}return h})()},17435:(he,M,r)=>{"use strict";r.d(M,{G:()=>i});var o=r(54438);let i=(()=>{class d{transform(v,_,m,p){m=null!==m?m:v.formattedResult.periodScores.length-1;const u=v?.formattedResult?.periodScores[m];return u?u[_].toString():"-"}static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275pipe=o.EJ8({name:"getPeriodResults",type:d,pure:!0,standalone:!0})}}return d})()},67533:(he,M,r)=>{"use strict";r.d(M,{n:()=>d});var o=r(62125),i=r(54438);let d=(()=>{class h{transform(_,m,p,u,E=!1){return(0,o.A)(_,`formattedResult[${p}][${m}]`,E?"":"-")}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275pipe=i.EJ8({name:"getFormattedResults",type:h,pure:!0,standalone:!0})}}return h})()},4370:(he,M,r)=>{"use strict";r.d(M,{B:()=>i});var o=r(54438);let i=(()=>{class d{transform(v,_,m){return`c-event__game-selections--${this._getAlphabet
1NameFromNumber(v)} `+("ACTIVE"===_?"":"disabled")}_getAlphabetNameFromNumber(v){return 4===v.selections.length||3===v.selections.length&&v.handicap?"four":3===v.selections.length||v.overUnder||v.handicap?"three":2===v.selections.length?"two":1===v.selections.length?"one":"five"}static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275pipe=o.EJ8({name:"getEventSelectionPositionNumber",type:d,pure:!0,standalone:!0})}}return d})()},58167:(he,M,r)=>{"use strict";r.d(M,{u:()=>cn});var o=r(10467),i=r(31635),d=r(54438),h=r(95447),v=r(38350),_=r(45286),m=r(66607),p=r(79928),u=r(84787),E=r(51235),C=r(74526),l=r(21626),y=r(49090),I=r(15539),S=r(83921),P=r(6847),F=r(49837),N=r(62125),U=r(85401),T=r(1827),L=r(61319);const ie=function Z(Kt,Ue,at){(void 0!==at&&!(0,L.A)(Kt[Ue],at)||void 0===at&&!(Ue in Kt))&&(0,T.A)(Kt,Ue,at)};var ve=r(62676),me=r(9933),xe=r(44314),$=r(94528),V=r(60923),oe=r(66513),z=r(43744),W=r(98388),re=r(39377),ee=r(70129),Se=r(30554),J=r(45281),de=r(28010),ke=r(42661),Me=Function.prototype.toString,We=Object.prototype.hasOwnProperty,Oe=Me.call(Object);var _t=r(28885);const mt=function ht(Kt,Ue){if(("constructor"!==Ue||"function"!=typeof Kt[Ue])&&"__proto__"!=Ue)return Kt[Ue]};var Vt=r(99898),Ot=r(40133);const De=function Re(Kt,Ue,at,xt,Zt,rn,dn){var sn=mt(Kt,at),ai=mt(Ue,at),_i=dn.get(ai);if(_i)ie(Kt,at,_i);else{var pn=rn?rn(sn,ai,at+"",Kt,Ue,dn):void 0,Pn=void 0===pn;if(Pn){var ne=(0,z.A)(ai),H=!ne&&(0,re.A)(ai),Q=!ne&&!H&&(0,_t.A)(ai);pn=ai,ne||H||Q?(0,z.A)(sn)?pn=sn:(0,W.A)(sn)?pn=(0,$.A)(sn):H?(Pn=!1,pn=(0,me.A)(ai,!0)):Q?(Pn=!1,pn=(0,xe.A)(ai,!0)):pn=[]:function tt(Kt){if(!(0,ke.A)(Kt)||"[object Object]"!=(0,J.A)(Kt))return!1;var Ue=(0,de.A)(Kt);if(null===Ue)return!0;var at=We.call(Ue,"constructor")&&Ue.constructor;return"function"==typeof at&&at instanceof at&&Me.call(at)==Oe}(ai)||(0,oe.A)(ai)?(pn=sn,(0,oe.A)(sn)?pn=function Fe(Kt){return(0,Vt.A)(Kt,(0,Ot.A)(Kt))}(sn):(!(0,Se.A)(sn)||(0,ee.A)(sn))&&(pn=(0,V.A)(ai))):Pn=!1}Pn&&(dn.set(ai,pn),Zt(pn,ai,xt,rn,dn),dn.delete(ai)),ie(Kt,at,pn)}},we=function He(Kt,Ue,at,xt,Zt){Kt!==Ue&&(0,ve.A)(Ue,function(rn,dn){if(Zt||(Zt=new U.A),(0,Se.A)(rn))De(Kt,Ue,dn,at,He,xt,Zt);else{var sn=xt?xt(mt(Kt,dn),rn,dn+"",Kt,Ue,Zt):void 0;void 0===sn&&(sn=rn),ie(Kt,dn,sn)}},Ot.A)};var Tt=r(14495),ct=r(67357);const be=function tn(Kt){return(0,Tt.A)(function(Ue,at){var xt=-1,Zt=at.length,rn=Zt>1?at[Zt-1]:void 0,dn=Zt>2?at[2]:void 0;for(rn=Kt.length>3&&"function"==typeof rn?(Zt--,rn):void 0,dn&&(0,ct.A)(at[0],at[1],dn)&&(rn=Zt<3?void 0:rn,Zt=1),Ue=Object(Ue);++xt<Zt;){var sn=at[xt];sn&&Kt(Ue,sn,xt,rn)}return Ue})}(function(Kt,Ue,at,xt){we(Kt,Ue,at,xt)});var je=r(40173),ft=r(42199),kt=r(62548),Yt=r(85046),yn=r(85375),ln=r(60177),Mn=r(7930),An=r(30569),un=r(43773),wn=r(42073),Xn=r(89079);var Dt=r(67076),ze=r(77286),on=r(28998),Gt=r(39934),Qn=r(65283),Ct=r(82361),ut=r(22804),Xe=r(94942),qe=r(61131),Bt=r(34405),St=r(15628),Rt=r(72161),Lt=r(48115),fn=r(63755);class cn{constructor(Ue,at,xt,Zt,rn,dn,sn,ai,_i,pn,Pn,ne,H,Q,Te){this.cookieService=Ue,this._errorService=at,this._httpClient=xt,this._routingService=Zt,this._httpService=rn,this._injector=dn,this._modalService=sn,this._localizationService=ai,this._configurationMiddlewareService=_i,this._transferStateService=pn,this._restConfigurationService=Pn,this._sessionTimerService=ne,this._globalLoaderService=H,this._stabilityService=Q,this._localStorageService=Te,this.currentUser=(0,d.vPA)({}),this.currentUser$=(0,Xn.br)(this.currentUser),this.currentCurrency=(0,d.EWP)(()=>this.currentUser().isUserLogin?this.currentUser().currency:this._restConfigurationService.getGeneralConfigurationParams("mainCurrency")),this.accessToken=(0,d.vPA)(""),this._fullAccess=!0,this.dataUpdated=!1,this.shouldCheckUnicoFaceRecognition=!1,this._jwtToken=(0,d.vPA)({}),this.FORGOT_PASSWORD="api/v1/account/forgot-password",this.CHANGE_PASSWORD="api/v1/account/change-password",this.RESET_PASSWORD="api/v1/account/reset-password",this._loginActionHappened=new _.B7,this.loginActionHappened$=this._loginActionHappened.asObservable(),this._afterBalanceIsUpdated=new _.B7,this.afterBalanceIsUpdated$=this._afterBalanceIsUpdated.asObservable(),this._accountRequestResolved=new m.m,this.accountRequestResolved$=this._accountRequestResolved.asObservable(),this._beforeLogout=new _.B7,this.beforeLogout$=this._beforeLogout.asObservable(),this._isUserBalanceVisible=new p.t(!0),this.isUserBalanceVisible$=this._isUserBalanceVisible.asObservable(),this.loginInProgress=!1,this._netBalanceFetched=new _.B7,this.netBalanceFetched$=this._netBalanceFetched.asObservable(),this.triggerPersonalLimitC
1all=new _.B7,this.triggerPersonalLimitCall$=this.triggerPersonalLimitCall.asObservable(),this.hasUserFullAccessOnRegistration=new p.t(!0),this.hasUserFullAccessOnRegistration$=this.hasUserFullAccessOnRegistration.asObservable(),this.CALL_REFRESH_BEFORE_EXPIRATION_SECONDS=30,this.CICN="ci",this._clientId="",this._platformId=(0,d.WQX)(d.Agw),this._ssrGeneralToken=(0,d.WQX)(Mn.MI,{optional:!0})??null,this._ssrRefreshToken=(0,d.WQX)(Mn.Fs,{optional:!0})??null,this._ssrExpiresAtToken=(0,d.WQX)(Mn.q$,{optional:!0})??null,this._ssrSessionIdToken=(0,d.WQX)(Mn.UG,{optional:!0})??null,this._botDetectionService=(0,d.WQX)(An.a)}_getIdScanService(){var Ue=this;return(0,o.A)(function*(){if(!Ue._idScanServiceInstance){const{IdScanService:at}=yield r.e(7441).then(r.bind(r,17441));Ue._idScanServiceInstance=Ue._injector.get(at)}return Ue._idScanServiceInstance})()}_getSumsubApiService(){var Ue=this;return(0,o.A)(function*(){if(!Ue._sumsubApiServiceInstance){const{SumsubApiService:at}=yield Promise.resolve().then(r.bind(r,30306));Ue._sumsubApiServiceInstance=Ue._injector.get(at)}return Ue._sumsubApiServiceInstance})()}_getRadarGeoLocationService(){var Ue=this;return(0,o.A)(function*(){if(!Ue._radarGeoLocationServiceInstance){const{RadarGeoLocationService:at}=yield Promise.resolve().then(r.bind(r,91926));Ue._radarGeoLocationServiceInstance=Ue._injector.get(at)}return Ue._radarGeoLocationServiceInstance})()}_getAffiliateCodeService(){var Ue=this;return(0,o.A)(function*(){if(!Ue._affiliateCodeServiceInstance){const{AffiliateCodeService:at}=yield r.e(1767).then(r.bind(r,21767));Ue._affiliateCodeServiceInstance=Ue._injector.get(at)}return Ue._affiliateCodeServiceInstance})()}bootstrap(){var Ue=this;return(0,o.A)(function*(){yield Ue._initializeClientId(),"development"===ENV&&(Ue._clientId=yield Ue._fetchClientIdFromMicroservice()),Ue._setTokenFromTransferState();const at=Ue.cookieService.get(h.Zy)||"";at&&(Ue.tokenExpiresAt=parseInt(at,10),Ue.setTimerToRefreshToken(Ue.tokenExpiresAt));const xt=Ue.cookieService.get(h.Xh)||"",Zt=Ue.cookieService.get(h.aZ)||"";try{return xt?xt&&Ue.isTokenExpired()?yield Ue.refreshToken(!1,!1).toPromise():xt&&"undefined"!==xt?yield Ue._setUserByToken(xt,!1,!0):yield Ue._loginWithGeneralToken():(0,ln.isPlatformServer)(Ue._platformId)&&Ue._ssrGeneralToken&&Ue._botDetectionService.isBot?void Ue._transferStateService.set(h.ny,JSON.stringify({access_token:Ue._ssrGeneralToken})):yield Ue._loginWithGeneralToken()}catch{return Zt?yield Ue.refreshToken(!1,!1).toPromise():yield Ue._loginWithGeneralToken()}})()}_loginWithGeneralToken(){var Ue=this;return(0,o.A)(function*(){return yield Ue.loginUser({grant_type:F.s.GENERAL,username:"",password:""})})()}closeOpenedModals(){this._modalService.closeAll()}_handleLoginUserWithoutRefreshToken(Ue){var at=this;return(0,u.H)(this._createBasicAuthHeaders(!1)).pipe((0,y.n)(xt=>this._httpClient.post(`${AUTH_API}/oauth/token`,`grant_type=${encodeURI(Ue.grant_type)}&username=${encodeURI(Ue.username)}&password=${encodeURI(Ue.password||"")}&session_id=${encodeURI(this.cookieService.get(h.nd)||"")}&locale=${this._localizationService.getSelectedLocale()||"en"}`,{headers:xt})),(0,I.M)(function(){var xt=(0,o.A)(function*(Zt){return at._setTokenToTransferState(Zt),at._setTokenData(Zt),yield at._setUserByToken(Zt.access_token),Zt});return function(Zt){return xt.apply(this,arguments)}}()),(0,S.W)(()=>this.resetLocalStorageAndBootstrap()))}getJwtToken(){return this._jwtToken()}setJwtToken(){var Ue=this;return(0,o.A)(function*(){const[at,{AuthApiService:xt}]=yield Promise.all([Promise.resolve().then(r.t.bind(r,93878,23)),r.e(789).then(r.bind(r,90789))]),Zt=at.hashSync(`${Ue.currentUser().accountId}`,10);Ue._jwtToken.set(yield Ue._injector.get(xt).fetchJwtToken({hash:Zt}))})()}setUnicoJwtToken(){var Ue=this;return(0,o.A)(function*(){const[at,{UnicoApiService:xt}]=yield Promise.all([Promise.resolve().then(r.t.bind(r,93878,23)),Promise.resolve().then(r.bind(r,68737))]),Zt=at.hashSync(`${Ue.currentUser().accountId}`,10);Ue._jwtToken.set(yield Ue._injector.get(xt).fetchJwtToken({hash:Zt}))})()}refreshToken(Ue,at){const xt=this.cookieService.get(h.aZ)||"";return!xt||Ue?this._handleLoginUserWithoutRefreshToken({grant_type:F.s.GENERAL,username:"",password:""}):(0,u.H)(this._createBasicAuthHeaders(!1)).pipe((0,y.n)(Zt=>this._httpClient.post(`${AUTH_API}/oauth/token`,`grant_type=refresh_token&refresh_token=${encodeURI(xt)}&locale=${this._localizationService.getSelectedLocale()||"en"}`,{headers:Zt})),(0,I.M)(Zt=>(this._setTokenToTransferState(Zt),this._setTokenData(Zt),at?this.accessToken.set(Zt.access_token):this._setUserByToken(Zt.access_token),Zt)),(0,S.W)(()=>(this.closeOpenedModals(),this._loginWithGeneralToken())))}registerUser(Ue,at){return this._httpClient.post(`${API_URL}
1/betshop/api/v2/account`,Ue,{headers:this._createHeadersForRequest(!1,!0)}).pipe((0,I.M)(xt=>{const Zt=(0,N.A)(xt,"payload.accountActivationMethod");return at||("SMS"===Zt?r.e(9562).then(r.bind(r,59562)).then(({RegistrationService:rn})=>{this._injector.get(rn).openSmsActivation((0,N.A)(xt,"payload.phone",""),(0,N.A)(Ue,"password",""))}):this._routingService.navigateToRegistration({registration_success:!0})),this._getAffiliateCodeService().then(rn=>rn.deleteAffiliateCodes()),!this._restConfigurationService.getGeneralCustomConfigurationParams("useCheckinFaceRecognition")&&!at&&"SMS"!==Zt&&this._routingService.navigateToRegistration({registration_success:!0,activation_method:Zt}),"true"==PHOENIX_ADS_ENABLED&&this.sendPhxAnaliticEvent(),xt.payload}),(0,S.W)(xt=>(this._errorService.handleError(xt),E.w)))}sendPhxAnaliticEvent(){phxAnalytics.deepUrlReport({eventName:"Registration",eventNum:1})}emailActivation(Ue,at,xt){const Zt=this._localizationService.getSelectedLocale()||"en";return this._httpClient.get(`${API_URL}/betshop/api/${xt}/account/email-activation?aid=${Ue}&code=${at}&locale=${Zt}`,{headers:this._createHeadersForRequest(!1,!0)}).pipe((0,S.W)(rn=>(this._errorService.handleError(rn),this.cookieService.delete(kt.A.EMAIL_ACTIVATION_DATA),this._routingService.navigateToHome(),E.w)))}logoutUser(Ue){const at=(new l.Nl).set("logout_reason",Ue);return this._httpClient.post(`${AUTH_API}/logout`,at.toString(),{headers:this._createHeadersForRequest(!1,!1)}).pipe((0,S.W)(xt=>(this._errorService.handleError(xt),E.w)),(0,I.M)(()=>{this.handleLogoutUser(),this._setPredefineData(null)})).toPromise()}getOtpCode(Ue){return(0,u.H)(this._createBasicAuthHeaders(!0)).pipe((0,y.n)(at=>this._httpClient.post(`${AUTH_API}/v1/get-otp-code?username=${encodeURIComponent(Ue)}`,{grant_type:F.s.OTP},{headers:at})))}activateSms(Ue,at){const xt=`phone=${encodeURIComponent(Ue)}&code=${at}`;return this._httpClient.get(`${API_URL}/betshop/api/v1/account/sms-activation?${xt}`,{headers:this._createHeadersForRequestWithLanguage()}).pipe((0,S.W)(Zt=>(this._errorService.handleError(Zt),E.w)))}resendSmsActivation(Ue){const at=`phone=${encodeURIComponent(Ue)}`;return this._httpClient.get(`${API_URL}/betshop/api/v1/account/resend-sms-activation?${at}`,{headers:this._createHeadersForRequestWithLanguage()}).pipe((0,S.W)(xt=>(this._errorService.handleError(xt),E.w)))}saveAccountInfo(Ue){return this._httpClient.put(`${API_URL}/betshop/api/v2/account`,Ue,{headers:this._createHeadersForRequest(!1,!0)}).pipe((0,I.M)(at=>{this.currentUser.update(xt=>be(xt,at.payload,(Zt,rn)=>null===rn?Zt:void 0))}),(0,S.W)(at=>(this._errorService.handleError(at),E.w)))}saveSumsubData(Ue){return this._httpClient.put(`${API_URL}/betshop/api/v2/account/sumsub`,Ue,{headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.cookieService.get(h.Xh)}`}}).pipe((0,I.M)(at=>{const xt=be(this.currentUser(),at.payload,(Zt,rn)=>null===rn?Zt:void 0);return this.currentUser.set(xt),at}),(0,S.W)(at=>(this._errorService.handleError(at),E.w)))}getAccountEmail(){return this.currentUser().email}saveUnicoData(Ue){return this._httpClient.put(`${API_URL}/betshop/api/v2/account/unico`,Ue,{headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.cookieService.get(h.Xh)}`}}).pipe((0,I.M)(at=>{const xt=be(this.currentUser(),at.payload,(Zt,rn)=>null===rn?Zt:void 0);return this.currentUser.set(xt),at}),(0,S.W)(at=>(this._errorService.handleError(at),E.w)))}acceptLastFaceRecognitionTime(){return this._httpClient.put(`${API_URL}/betshop/api/v1/account/face-recognition-completed`,{},{headers:this._createHeadersForRequest(!1,!0)}).pipe((0,I.M)(Ue=>{this.currentUser.update(at=>be(at,Ue.payload,(xt,Zt)=>null===Zt?xt:void 0))}))}updateAccountInfoForCheckIn(Ue){return this._httpClient.put(`${API_URL}/betshop/api/v2/account/check-in`,Ue,{headers:this._createHeadersForRequest(!1,!0)})}acceptTermsAndConditions(){return this._httpClient.put(`${API_URL}/betshop/api/v1/account/accept-tac`,{},{headers:this._createHeadersForRequest(!1,!0)}).pipe((0,I.M)(Ue=>{this.currentUser.update(at=>be(at,Ue.payload,(xt,Zt)=>null===Zt?xt:void 0))}))}getWeeklyLimit(){return this._httpClient.get(`${API_URL}
1/betshop/api/v1/egames/exceed-limit`,{headers:this._createHeadersForRequest(!1,!1)}).pipe((0,S.W)(Ue=>(this._errorService.handleError(Ue),E.w))).toPromise()}increaseLimit(){return this._httpClient.post(`${API_URL}/betshop/api/v1/egames/exceed-limit`,{},{headers:this._createHeadersForRequest(!1,!1)}).pipe((0,S.W)(Ue=>(this._errorService.handleError(Ue),E.w))).toPromise()}deleteLimit(){return this._httpClient.delete(`${API_URL}/betshop/api/v1/egames/exceed-limit`,{headers:this._createHeadersForRequest(!1,!1)}).pipe((0,S.W)(Ue=>(this._errorService.handleError(Ue),E.w))).toPromise()}saveDefaultPayin(Ue){return this._httpClient.patch(`${API_URL}/betshop/api/v1/account/default-payin`,Ue,{headers:this._createHeadersForRequest(!1,!0)}).pipe((0,I.M)(()=>(this.currentUser.update(at=>(at.defaultPayin=Ue.payin,at)),!0)),(0,S.W)(at=>(this._errorService.handleError(at),E.w))).toPromise()}handlePendingStatus(Ue,at){var xt=this;return(0,o.A)(function*(){(yield xt._getIdScanService()).getApplicationData(Ue.checkInAppId,function(){var rn=(0,o.A)(function*(dn){return dn.overallResult.status===un.F.APPROVED?(yield xt._updateFlow(un.Y.CHECK_SUCCESS,dn.id,{checkInSuccessTime:Math.floor(Date.now()/1e3)}),void at(Ue)):dn.overallResult.status!==un.F.DECLINED?dn.overallResult.status===un.F.NEEDS_REVIEW?(xt.openResponseModal(dn.overallResult.status),xt._globalLoaderService.hideLoader(),void(yield xt.logoutUser(P.lJ.OTHER))):void 0:void(yield xt._updateFlow(un.Y.CHECK_FAILED))});return function(dn){return rn.apply(this,arguments)}}())})()}openResponseModal(Ue){var at=this;return(0,o.A)(function*(){const{ChekinStatusModal:xt}=yield r.e(7046).then(r.bind(r,57046));at._modalService.openPopup({component:xt,payload:{idScanResultStatus:Ue}})})()}_updateFlow(Ue,at="",xt={}){var Zt=this;return(0,o.A)(function*(){yield Zt.saveAccountInfo({checkInAppId:at,checkInStatus:Ue,...xt}).toPromise(),Ue===un.Y.CHECK_FAILED&&(Zt.logoutUser(P.lJ.OTHER),Zt.openResponseModal(un.F.DECLINED)),Ue===un.Y.CHECK_FAILED&&Zt.acceptLastFaceRecognitionTime().toPromise()})()}openKycFlow(Ue,at){var xt=this;return(0,o.A)(function*(){const[Zt,{IdScanModal:rn}]=yield Promise.all([xt._getIdScanService(),r.e(1339).then(r.bind(r,1339))]);var dn;xt._modalService.close(),xt._modalService.open({component:rn,priority:!0,payload:{accountId:Ue?.accountId,personalId:Ue?.personalId,isKycFlow:!0,confirmFunction:(dn=(0,o.A)(function*(sn){if(Zt.isUserValidated(sn,Ue))return xt.openResponseModal(un.F.APPROVED),yield xt._updateFlow(un.Y.CHECK_SUCCESS,sn.id,{checkInSuccessTime:Math.floor(Date.now()/1e3)}),void at(Ue);yield xt._updateFlow(un.Y.CHECK_FAILED)}),function(ai){return dn.apply(this,arguments)}),cancelFunction:function(){var dn=(0,o.A)(function*(){yield xt.logoutUser(P.lJ.OTHER)});return function(){return dn.apply(this,arguments)}}(),inProgressFunction:function(){var dn=(0,o.A)(function*(sn){if(sn.id&&!xt.dataUpdated){xt.dataUpdated=!0;try{yield xt._updateFlow(un.Y.CHECK_PENDING,sn.id)}catch{xt.dataUpdated=!1}}});return function(ai){return dn.apply(this,arguments)}}()}})})()}openFaceRecognitionFlow(Ue,at){var xt=this;return(0,o.A)(function*(){const{IdScanModal:Zt}=yield r.e(1339).then(r.bind(r,1339));var rn;xt._modalService.close(),xt._modalService.open({component:Zt,priority:!0,payload:{accountId:Ue.accountId,confirmFunction:(rn=(0,o.A)(function*(){yield xt.acceptLastFaceRecognitionTime().toPromise(),at(Ue)}),function(){return rn.apply(this,arguments)}),cancelFunction:function(){var rn=(0,o.A)(function*(){yield xt.logoutUser(P.lJ.OTHER)});return function(){return rn.apply(this,arguments)}}()}})})()}_fetchAccountInfo(Ue={shouldNotifyNetBalance:!1,isBootstrappingApp:!1}){var at=this;return new Promise(xt=>{this._httpService.get("api/v2/account","account-info").subscribe(function(){var Zt=(0,o.A)(function*(rn){const dn={...(0,N.A)(rn,"payload"),...(0,N.A)(rn,"payload.balances[0]")};if(at._setPredefineData(dn),at._accountRequestResolved.next(),at.shouldCheckUnicoFaceRecognition=!0,!Ue.isBootstrappingApp){if(at._restConfigurationService.getGeneralCustomConfigurationParams("enableRadarGeoChecker")&&((yield at._getRadarGeoLocationService()).setCurrentUser({...dn,isUserLogin:!0}),yield at._isRadarGeoLocationEnabled()))return;if(at._restConfigurationService.getGeneralCustomConfigurationParams("useCheckinFaceRecognition")&&typeof window<"u"&&dn.country!==h.C$){if(dn.checkInStatus!==un.Y.CHECK_SUCCESS)return at.dataUpdated=!1,dn.checkInStatus===un.Y.CHECK_PENDING&&dn.checkInAppId?void at.handlePendingStatus(dn,xt):void at.openKycFlow(dn,xt);if(typeof window<"u"&&at._restConfigurationService.getGeneralCustomConfigurationParams("useCheckinFaceRecognition")&&at.currentUser().country!==h.C$){if(dn.checkInStatus!==un.Y.CHECK_SUCCESS)return at.dataUpdated=!1,dn.checkInStatus===un.Y.CHECK_PENDING&&dn.checkInAppId?void at.handlePendingStatus(dn,xt):void at.openKycFlow(dn,xt);if(at._checkShouldDoFaceRecognition(dn))return void at.openFaceRecognitionFlow(dn,xt)}}}Ue.shouldNotifyNetBalance&&at.fetchAccountKpiAndShowNotification(),xt(dn)});return function(rn){return Zt.apply(this,arguments)}}())})}checkIfUserShouldLogin(){var Ue=this;return(0,o.A)(function*(){if(!(Ue._restConfigurationService.getGeneralCustomConfigurationParams("enableRadarGeoChecker")&&((yield Ue._getRadarGeoLocationService()).setCurrentUser(Ue.currentUser()),Ue.currentUser().isUserLogin&&(yield Ue._isRadarGeoLocationEnabled())))&&Ue._restConfigurationService.getGeneralCustomConfigurationParams("useCheckinFaceRecognition")&&Ue.currentUser().isUserLogin&&Ue.currentUser().country!==h.C$){if(Ue.currentUser().checkInStatus!==un.Y.CHECK_SUCCESS)return Ue.dataUpdated=!1,Ue.currentUser().checkInStatus===un.Y.CHECK_PENDING&&Ue.currentUser().checkInAppId?void(yield Ue.handlePendingStatus(Ue.currentUser(),()=>{})):void(yield Ue.openKycFlow(Ue.currentUser(),()=>{}));if(Ue._checkShouldDoFaceRecognition(Ue.currentUser()))return void Ue.openFaceRecognitionFlow(Ue.currentUser(),()=>{})}})()}_checkShouldDoFaceRecognition(Ue){return!(!this._restConfigurationService.getGeneralCustomConfigurationParams("useCheckinFaceRecognition")||Ue.country===h.C$)&&Math.floor((Date.now()-new Date(Ue.lastFaceRecognitionTime).getTime())/6e4)>this._restConfigurationService.getGeneralCustomConfigurationParams("faceRecognitionRecheckPeriod")}refreshFetchAccountInfo(){return new Promise(Ue=>{this._httpService.get("api/v2/account","account-info").subscribe(at=>{this.currentUser.update(xt=>(be(xt,{...xt,...(0,N.A)(at,"payload"),...(0,N.A)(at,"payload.balances[0]")},(Zt,rn)=>null===rn?Zt:void 0),xt)),Ue()})})}fetchAccountKpi(){return this._httpClient.get(`${API_URL}
1/betshop/api/v1/account/kpi`,{headers:this._createHeadersForRequest(!1,!1)}).pipe((0,S.W)(Ue=>(this._errorService.handleError(Ue),E.w)))}fetchAccountKpiAndShowNotification(){this.fetchAccountKpi().subscribe(Ue=>{this._netBalanceFetched.next({...Ue.payload,currency:this.currentUser().currency.alphabeticCode})})}_openActivationSmsModal(Ue,at){var xt=this;return(0,o.A)(function*(){const{SmsActivationModal:Zt}=yield Promise.resolve().then(r.bind(r,36435));xt._modalService.open({component:Zt,payload:{password:Ue,phone:at}})})()}resetPasswordRequest(Ue){return this._httpService.post(this.RESET_PASSWORD,Ue)}getSessionId(){return this.cookieService.get(h.nd)??""}loginUser(Ue,at=!1,xt=!1){var Zt=this;let rn=`grant_type=${encodeURI(Ue.grant_type)}&username=${encodeURIComponent(Ue.username)}&session_id=${encodeURI(this.cookieService.get(h.nd)||"")}&locale=${this._localizationService.getSelectedLocale()||"en"}`;return Ue.password&&(rn+=`&password=${encodeURIComponent(Ue.password)}`),Ue.otp_code&&(rn+=`&otp_code=${encodeURIComponent(Ue.otp_code)}`),new Promise((dn,sn)=>{this._createBasicAuthHeaders(!1).then(ai=>{this._httpClient.post(`${AUTH_API}/oauth/token`,rn,{headers:ai}).subscribe(function(){var _i=(0,o.A)(function*(pn){Zt._setSessionStartTime(xt),Zt._setTokenToTransferState(pn),Zt._setTokenData(pn),yield Zt._setUserByToken(pn.access_token,at),Zt.cookieService.set(kt.A.IS_FIRST_TIME_CASINO_MESSAGE_SEEN,"false",{path:"/",sameSite:"Strict",secure:!0,expires:(0,Yt.GK)()}),Zt.shouldRedirectToDeposit()&&Zt._routingService.navigateToDepositWithParams({}),dn(pn)});return function(pn){return _i.apply(this,arguments)}}(),_i=>{(0,N.A)(_i,"error.activationMethod")!==h.Z0?(this._errorService.handleError(_i,ft.a1),sn(_i)):sn(_i)})}).catch(sn)})}shouldRedirectToDeposit(){const Ue=this._restConfigurationService.getGeneralCustomConfigurationParams("minBalanceForDepositRedirection");return this.currentUser().isUserLogin&&0!==Ue&&this.currentUser().standardBalanceAmount<Ue}_setSessionStartTime(Ue){Ue&&this._sessionTimerService.setSessionStartTime()}setTokenAfterActivation(Ue,at){var xt=this;return(0,o.A)(function*(){xt._setTokenToTransferState(Ue),xt._setTokenData(Ue),yield xt._setUserByToken(Ue.access_token,at),xt.cookieService.set(kt.A.IS_FIRST_TIME_CASINO_MESSAGE_SEEN,"false",{path:"/",sameSite:"Strict",secure:!0,expires:(0,Yt.GK)()})})()}handleLogoutUser(){this._sessionTimerService.removeSessionStartTime(),this._beforeLogout.next(),this.loginUser({grant_type:F.s.GENERAL,username:"",password:""}),this._restConfigurationService.getGeneralCustomConfigurationParams("enableRadarGeoChecker")&&this._getRadarGeoLocationService().then(Ue=>Ue.setCurrentUser(this.currentUser())),this._localStorageService.removeItem("session-details-shown")}_setUserByToken(Ue,at=!1,xt=!1){var Zt=this;return(0,o.A)(function*(){const rn=(0,v.A)(Ue);let dn={};Zt._isAccountUser(rn)&&(dn=yield Zt._fetchAccountInfo({shouldNotifyNetBalance:at,isBootstrappingApp:xt})),Zt.accessToken.set(Ue),Zt._setUser(rn,dn),yield Zt._resetSumsubApplicant()})()}_isRadarGeoLocationEnabled(){var Ue=this;return(0,o.A)(function*(){return!(typeof window>"u"||!Ue._restConfigurationService.getGeneralCustomConfigurationParams("enableRadarGeoChecker")||(yield(yield Ue._getRadarGeoLocationService()).checkUserLocation(Ue.logoutUser.bind(Ue))))})()}_setUser(Ue,at){this._mapDataFromBeForAccount(Ue,at),this.currentUser.set({...at,...(0,N.A)(Ue,"account"),betshop_id:(0,N.A)(Ue,"betshop_id")})}_resetSumsubApplicant(){var Ue=this;return(0,o.A)(function*(){if(!Ue.currentUser().verified&&Ue.currentUser().sumsubStatusDTO===wn.Pr.APPROVED){const at=yield Ue._getSumsubApiService();at.getJwtToken$.subscribe(xt=>{if(xt){const Zt={sumsubStatus:wn.Pr.DOCUMENTS_REQUESTED};Ue.saveSumsubData(Zt).toPromise(),at.resetApplicant(Ue.currentUser().accountId,Ue.currentUser().applicantId),Ue.currentUser.update(rn=>({...rn,...Zt}))}})}})()}updateBalance(Ue){this.currentUser.update(at=>(this._afterBalanceIsUpdated.next({standardBalance:Number(Ue.standard),balanceChange:Number(Ue.standard)-at.standardBalanceAmount}),at.bonusBalanceAmount=Number(Ue.bonus),at.casinoPromoBalanceAmount=Number(Ue.casinoPromo),at.reservedMoneyAmount=Number(Ue.reservation),at.standardBalanceAmount=Number(Ue.standard),at))}getAccountCurrency(){return this.currentUser().currency.alphabeticCode}getAccountCurrencyObject(){return this.currentUser().currency}_isAccountUser(Ue){return!!Ue&&!!Ue.scope.includes("ACCOUNT")}isBonusAccountAvailableToSee(){return!this.currentUser().isUserLogin||this.currentUser().bonusAccountActive}_initializeClientId(){var Ue=this;return(0,o.A)(function*(){yield Ue._initializeClientIdFrontId(),yield Ue._initializeClientIdSsr()})()}_initializeClientIdSsr(){var Ue=this;return(0,o.A)(function*(){typeof window<"u"||(Ue._clientId=Ue._injector.get(Dt.CI)||"")})()}_initializeClientIdFrontId(){var Ue=this;return(0,o.A)(function*(){Ue._clientId=Ue.cookieService.get(Ue.CICN)||"",Ue._clientId&&Ue.co
1okieService.delete(Ue.CICN,"/")})()}_prepareClientId(){var Ue=this;return(0,o.A)(function*(){return Ue._clientId})()}_fetchClientIdFromMicroservice(){var Ue=this;return(0,o.A)(function*(){try{const at=`${CONFIGURATION_MIDDLEWARE_URL}/token`;return(yield Ue._httpClient.post(at,{platform:"WEB"}).toPromise())?.token||""}catch(at){return console.error("Failed to prepare client ID from microservice:",at),""}})()}_createDataForAuthCookieExpiration(){const Ue=new Date;return Ue.setMonth(Ue.getMonth()+3),Ue}_setTokenData(Ue){this.tokenExpiresAt=Ue.expires_at;const at=this._createDataForAuthCookieExpiration();this.cookieService.set(h.Xh,Ue.access_token,{path:"/",secure:!0,expires:at}),this.cookieService.set(h.aZ,Ue.refresh_token,{path:"/",secure:!0,expires:at}),this.cookieService.set(h.nd,Ue.session_id,{path:"/",secure:!0,expires:at}),this.cookieService.set(h.Zy,Ue.expires_at.toString(),{path:"/",secure:!0,expires:at}),this.setTimerToRefreshToken(Ue.expires_at)}_setTokenToTransferState(Ue){this._transferStateService.set(h.ny,JSON.stringify(Ue))}_setTokenFromTransferState(){if(typeof window>"u")return;const Ue=this._transferStateService.getParsValueOrReturnDefault(h.ny,null);Ue&&(this._setTokenData(Ue),this._transferStateService.remove(h.ny))}removeTokenData(){this.cookieService.delete(h.Xh),this.cookieService.delete(h.aZ),this.cookieService.delete(h.nd)}resetLocalStorageAndBootstrap(){return this.removeTokenData(),this.bootstrap()}resetPassword({username:Ue}){return this._httpService.post(this.FORGOT_PASSWORD,{username:Ue},ft.a1)}changePassword(Ue){return this._httpService.post(this.CHANGE_PASSWORD,Ue)}_mapDataFromBeForAccount(Ue,at){at.isUserLogin=(0,N.A)(Ue,"scope","").includes("ACCOUNT")}setSimulatonBonusForAccount(Ue){this.currentUser.update(at=>(at.simulationBonusAmount=Number(Ue),at))}
1fetchBalanceInfo(){this._httpClient.get(`${API_URL}/betshop/api/v2/account/balance-info`,{headers:this._createHeadersForRequest(!1,!1)}).pipe((0,S.W)(Ue=>(this._errorService.handleError(Ue),E.w))).subscribe(Ue=>{const at=(0,N.A)(Ue,"payload[0]");this.currentUser.update(xt=>(xt.bonusBalanceAmount=Number(at.bonusBalanceAmount),xt.casinoPromoBalanceAmount=Number(at.casinoPromoBalanceAmount),xt.reservedMoneyAmount=Number(at.reservedMoneyAmount),xt.standardBalanceAmount=Number(at.standardBalanceAmount),xt))})}hideUserBalance(){this._isUserBalanceVisible.next(!1)}showUserBalance(){this._isUserBalanceVisible.next(!0)}_setPredefineData(Ue){if(typeof embedded_svc>"u")return;const at={SuppliedName:`${(0,N.A)(Ue,"firstName","")} ${(0,N.A)(Ue,"lastName","")}`,SuppliedEmail:(0,N.A)(Ue,"email",""),SuppliedPhone:(0,N.A)(Ue,"phone","")};embedded_svc.liveAgentAPI?.endChat(),embedded_svc.settings.prepopulatedPrechatFields=at;const xt=Math.floor(24*Math.random());embedded_svc.settings.avatarImgURL=`https://stagevivify2.meridianbet.com/assets-new/avatar-pictures/${xt+1}.png`}loginActionHappened(){this._loginActionHappened.next()}setTimerToRefreshToken(Ue){if(!Ue||typeof window>"u")return;clearTimeout(this.refreshTokenTimeout);const at=Ue-Date.now()-1e3*this.CALL_REFRESH_BEFORE_EXPIRATION_SECONDS;at<=0||this._stabilityService.isAppStable().subscribe(()=>{this.refreshTokenTimeout=setTimeout(()=>{this.refreshToken(!1,!0).subscribe()},at)})}isTokenExpired(){if(this._botDetectionService.isBot)return;const Ue=this.cookieService.get(h.Zy)||"";return!!Ue&&parseInt(Ue,10)-Date.now()-1e3*this.CALL_REFRESH_BEFORE_EXPIRATION_SECONDS<0}setTokenFromStateTransfer(Ue){this._setTokenData(Ue)}getSavedAccessToken(){return this.cookieService.get(h.Xh)??""}getPlayerGeoLocation(Ue){var at=this;return(0,o.A)(function*(){if(at._botDetectionService.isBot)return;let xt={};try{xt=yield at._configurationMiddlewareService.get("geo/ip-location").toPromise()}catch{return}const Zt=xt.clientIp;(0,je.A)(Ue.blackistedIpAddresses,Zt)?at._setUserAccessAndEmit(!1):(0,je.A)(Ue.whiteListedIpAddresses,Zt)||Ue.isIpAddressInRange(Zt)?at._setUserAccessAndEmit(!0):at._setUserAccessAndEmit((0,je.A)(Ue.allowedCountryCodes,xt.countryCode))})()}_setUserAccessAndEmit(Ue){this._fullAccess=Ue,this.hasUserFullAccessOnRegistration.next(Ue)}hasUserFullAccess(){return this._fullAccess}_createHeadersForRequest(Ue,at){return{"Content-Type":at?"application/json":"application/x-www-form-urlencoded",Authorization:`Bearer ${this.cookieService.get(h.Xh)}`}}_createBasicAuthHeaders(Ue){var at=this;return(0,o.A)(function*(){const xt=yield at._prepareClientId();return{"Content-Type":Ue?"application/json":"application/x-www-form-urlencoded",Authorization:`Basic ${btoa(at._getClientName()+":"+xt)}`}})()}_getClientName(){return this._decrypt("e4b7c2a1f9d8e7c6b5a4d3c2b1a0f9e8")(CLIENT_NAME)}_createHeadersForRequestWithLanguage(){return{"Content-Type":"application/x-www-form-urlencoded","Accept-Language":this._localizationService.getSelectedLocale(),Authorization:`Bearer ${this.cookieService.get(h.Xh)}`}}deactivateAccount(Ue){return this._httpClient.post(`${BO_API_URL}/account/deactivate`,Ue).pipe((0,S.W)(at=>(this._errorService.handleError(at),E.w)))}deactivateAccountWithForm(Ue){return this._httpClient.post(`${BO_API_URL}/account/deactivate-with-form`,Ue).pipe((0,S.W)(at=>(this._errorService.handleError(at),(0,C.$)(()=>at))))}accountDeactivationQuestionnaire(){const Ue=(new l.Nl).set("websiteUrl",WEBSITE_URL).set("language",this._localizationService.getSelectedLocale()).set("isMobile",!0);return this._httpClient.get(`${BO_API_URL}/account/account-deactivation-questionnaire`,{params:Ue})}selfExclusionData(){const Ue=(new l.Nl).set("websiteUrl",WEBSITE_URL).set("language",this._localizationService.getSelectedLocale()).set("isMobile",!0);return this._httpClient.get(`${BO_API_URL}/account/account-self-exclusion`,{params:Ue})}isGeneralToken(){return!(0,v.A)(this.getSavedAccessToken()).scope.includes("ACCOUNT")}_decrypt(Ue){const xt=Zt=>(Zt=>Zt.split("").map(rn=>rn.charCodeAt(0)))(Ue).reduce((rn,dn)=>rn^dn,Zt);return Zt=>Zt.match(/.{1,2}/g).map(rn=>parseInt(rn,16)).map(xt).map(rn=>String.fromCharCode(rn)).join("")}static{this.\u0275fac=function(at){return new(at||cn)(d.KVO(ze.Q),d.KVO(on.I),d.KVO(l.Qq),d.KVO(Gt.O),d.KVO(Qn.k),d.KVO(d.zZn),d.KVO(Ct.B),d.KVO(ut.P),d.KVO(Xe.
1S),d.KVO(qe.G),d.KVO(Bt.M),d.KVO(St.L),d.KVO(Rt.e),d.KVO(Lt.B),d.KVO(fn.s))}}static{this.\u0275prov=d.jDH({token:cn,factory:cn.\u0275fac,providedIn:"root"})}}(0,i.Cg)([yn.X],cn.prototype,"checkIfUserShouldLogin",null),(0,i.Cg)([yn.X],cn.prototype,"_initializeClientIdFrontId",null)},30569:(he,M,r)=>{"use strict";r.d(M,{a:()=>_});var o=r(54438),i=r(60177),d=r(67076);const h=(0,o.zw6)("isBot"),v=/bot|crawl|spider|slurp|facebookexternalhit|bingpreview|googlebot|baiduspider|yandexbot|rogerbot|linkedinbot|embedly|chrome-lighthouse|lighthouse/i;let _=(()=>{class m{constructor(){this._isBotFromSSR=(0,o.WQX)(d.LC,{optional:!0})??!1,this._platformId=(0,o.WQX)(o.Agw),this._transferState=(0,o.WQX)(o.pJN),this.isBot=this._detectBot()}_detectBot(){return this._isBotFromSSR?(this._transferState.set(h,!0),!0):!!(0,i.isPlatformBrowser)(this._platformId)&&(this._transferState.hasKey(h)?this._transferState.get(h,!1):v.test(navigator.userAgent))}static{this.\u0275fac=function(E){return new(E||m)}}static{this.\u0275prov=o.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},47580:(he,M,r)=>{"use strict";r.d(M,{i:()=>_});var o=r(62125),i=r(72036),d=r(96503),h=r(4346),v=r(54438);let _=(()=>{class m{constructor(){this.ONLY_PERIOD_SPORT_IDS=[h.W.BEACH_VOLLEYBALL,h.W.VIRTUAL_TENNIS,h.W.ESPORT_LEAGUE_OF_LEGENDS,h.W.VOLEYBALL,h.W.BADMINTON,h.W.TENNIS,h.W.DARTS,h.W.SNOOKER,h.W.CRICKET,h.W.BASEBALL,h.W.ESPORT_COUNTER_STRIKE,h.W.SQUASH,h.W.TABLE_TENNIS,h.W.ESPORT_DOTA,h.W.WATERPOLO,h.W.BOWLS,h.W.HOCKEY,h.W.CRICKET],this.TIME_AND_PERIOD_SPORT_IDS=[h.W.FUTSAL,h.W.FOOTBALL,h.W.HANDBALL,h.W.BASKETBALL,h.W.BASKETBALL_3_X_3,h.W.FUTSAL,h.W.ICE_HOCKEY,h.W.VIRTUAL_FOOTBALL,h.W.VIRTUAL_ICE_HOCKEY,h.W.VIRTUAL_BASKETBALL,h.W.AMERICAN_FOOTBALL,h.W.AUSSIE_RULES,h.W.RUGBY_UNION,h.W.RUGBY_LEAGUE],this.ONLY_FINAL_RESULTS_SPORT_IDS=[h.W.ESPORT_LEAGUE_OF_LEGENDS,h.W.ESPORT_DOTA],this._labeledSports={IsVirtualFootball:"general.virtual_label",Basket3x3:"general.basket3x3",Basketball2x20:"general.basketball2x20"},this._displayPeriodsPerSports={},this._populateDisplayPeriodsPerSport()}getPeriodDescription(u){if(((0,o.A)(u,"sport.sportId")||(0,o.A)(u,"sportId"))===h.W.BOWLS){const C=(0,o.A)(u,"result[0].period.length");return 3===C?"TB":2===C?"2nd":"1st"}return this.getExtraDataAttr(u.result,"PeriodDescription")}isEventSpecificLabeledSport(u,E,C){return u.sport.sportId===C&&"true"===this.getExtraDataAttr(u.result,E)}isEventSpecificLabeledSportWithoutHeader(u,E,C,l){return u===l&&"true"===this.getExtraDataAttr(E,C)}getEventNumberOfPeriods(u){return(0,o.A)(u,"header.result.periods.length")}getMaxPeriodsForSportId(u){return this._displayPeriodsPerSports[u]&&this._displayPeriodsPerSports[u].displayPeriods}shouldDisplayUniqueScorePerPeriod(u){return this._displayPeriodsPerSports[u]&&this._displayPeriodsPerSports[u].sets}getPeriodScoreForEvent(u,E,C){return(0,o.A)(u,`header.result.periods[${E-1}].points[${C}]`)}shouldShowPeriods(u){return!this.isEventSpecificLabeledSport(u,"Basket3x3",h.W.BASKETBALL)&&!this.ONLY_FINAL_RESULTS_SPORT_IDS.includes((0,o.A)(u,"sportId",-1))}getEventLabel(u){return this.isEventSpecificLabeledSport(u,"IsVirtualFootball",58)?this._labeledSports.IsVirtualFootball:this.isEventSpecificLabeledSport(u,"Basket3x3",55)?this._labeledSports.Basket3x3:this.isEventSpecificLabeledSport(u,"Basketball2x20",55)?this._labeledSports.Basketball2x20:void 0}getEventLabelWithoutHeader(u,E){return this.isEventSpecificLabeledSportWithoutHeader(u,E,"IsVirtualFootball",58)?this._labeledSports.IsVirtualFootball:this.isEventSpecificLabeledSportWithoutHeader(u,E,"Basket3x3",55)?this._labeledSports.Basket3x3:this.isEventSpecificLabeledSportWithoutHeader(u,E,"Basketball2x20",55)?this._labeledSports.Basketball2x20:""}getPeriodNumber(u){const E=this.getMaxPeriodsForSportId(u.header.sport.sportId),C=this.getEventNumberOfPeriods(u);let y=Array(u.header.sport.sportId===h.W.BOWLS?E:C).fill(0).map((I,S)=>S);return E&&(y=y.slice(-E)),y}canShowTimeAndPeriod(u){return[58,60,55,93,59,82,179,177,80,120,65,94,126,129].includes(u)}canShowOnlyPeriod(u){return[91,144,134,54,90,56,86,69,66,63,130,115,89,132,62,107].includes(u)}shouldShowTimeAndPeriod(u){return this.TIME_AND_PERIOD_SPORT_IDS.includes((0,o.A)(u,"header.sport.sportId"))}shouldShowOnlyPeriod(u){return this.ONLY_PERIOD_SPORT_IDS.includes((0,o.A)(u,"header.sport.sportId"))}getExtraDataAttr(u,E){return(0,o.A)(u,`extraData.${E}`)}getTeamScore(u,E){return 58==u.sport.sportId&&"LIVE_BET"===u.offerSubType?this._getResultInExtraTime(E,u.result):String(u?.result?.currentPeriod?u.result.currentPeriod.points[E]:"")}getLiveSidebarTeamScore(u,E,C){return 58==C?this._getResultInExtraTime(E,u.result):String(u?.result?.currentPeriod?u.result.currentPeriod.points[E]:"")}_getResultInExtraTime(u,E){if((0,i.A)(E.extraData))return"";let l=Number(E.extraData[u?"OTA":"OTH"]||0);const y=(0,o.A)(E,"currentPeriod.points");if((0,i.A)(y))return"";l=l>=0?l:0;let I=Number((0,o.A)(E,`currentPeriod.points[${u}]`));return I=I&&I>=0?I:0,(I+l).toString()}getPeriodOfEvent(u,E,C){if(u&&u.result.periods[E]){const l=(0,o.A)(u,`result.periods[0].points[${C}]`);switch(u.sport.sportId){case 60:case 59:case 80:case 65:case 120:case 62:{if(0===E)return String(l);const y=(0,d.A)((0,o.A)(u,`result.periods[${E}].points[${C}]`,0));return String(y-l)}case 177:case 55:case 63:{if(0===E)return String(l);if(this.isEventSpecificLabeledSport(u,"Basket3x3",55))return String((0,o.A)(u,`result.currentPeriod.points[${C}]`,0));const y=(0,d.A)((0,o.A)(u,`result.periods[${E-1}].points[${C}]`,0)),I=(0,d.A)((0,o.A)(u,`result.periods[${E}].points[${C}]`,0));return String(I-y)}
1case 58:case 82:case 93:{if(0===E)return String(l);if(!u.result.periods[1])return"-";const y=(0,o.A)(u.result,`currentPeriod.points[${C}]`,0);return String(y-l)}default:if(!this.isEventEnded(u)||0!==u.result.periods[E].points[0]||0!==u.result.periods[E].points[1])return String(u.result.periods[E].points[C])}}return"-"}isEventEnded(u){return!!u.state&&("FINISHED"===u.state||"RESULTED"===u.state)}getTennisResult(u,E){const C=this.getExtraDataAttr(u.result,E);return this.isTieBreak(u)||56!==u.sport.sportId&&144!==u.sport.sportId?C:this.convertTennisResult(C)}isTieBreak(u){const C=(0,o.A)(u,`result.periods[${u.result.periods.length-1}]`);return 6===Number((0,o.A)(C,"points[0]",0))&&(0,o.A)(C,"points[0]",0)===(0,o.A)(C,"points[1]",1)}convertTennisResult(u){switch(u){case"0":return"0";case"1":return"15";case"2":return"30";case"3":return"40";case"4":return"A";default:return""}}_populateDisplayPeriodsPerSport(){this._displayPeriodsPerSports[h.W.SNOOKER]={displayPeriods:25},this._displayPeriodsPerSports[h.W.SQUASH]={displayPeriods:5},this._displayPeriodsPerSports[h.W.TABLE_TENNIS]={displayPeriods:5},this._displayPeriodsPerSports[h.W.VOLEYBALL]={displayPeriods:5},this._displayPeriodsPerSports[h.W.BEACH_VOLLEYBALL]={displayPeriods:3},this._displayPeriodsPerSports[h.W.BADMINTON]={displayPeriods:3},this._displayPeriodsPerSports[h.W.AMERICAN_FOOTBALL]={displayPeriods:4,sets:!0},this._displayPeriodsPerSports[h.W.AUSSIE_RULES]={displayPeriods:4,sets:!0},this._displayPeriodsPerSports[h.W.BASEBALL]={displayPeriods:8,sets:!0},this._displayPeriodsPerSports[h.W.BASKETBALL]={displayPeriods:4,sets:!0},this._displayPeriodsPerSports[h.W.BASKETBALL_3_X_3]={displayPeriods:4,sets:!0},this._displayPeriodsPerSports[h.W.BOWLS]={displayPeriods:3},this._displayPeriodsPerSports[h.W.CRICKET]={displayPeriods:0},this._displayPeriodsPerSports[h.W.ESPORT_COUNTER_STRIKE]={displayPeriods:0},this._displayPeriodsPerSports[h.W.ESPORT_DOTA]={displayPeriods:0},this._displayPeriodsPerSports[h.W.ESPORT_LEAGUE_OF_LEGENDS]={displayPeriods:0},this._displayPeriodsPerSports[h.W.FUTSAL]={displayPeriods:2,sets:!0},this._displayPeriodsPerSports[h.W.HANDBALL]={displayPeriods:4,sets:!0},this._displayPeriodsPerSports[h.W.HOCKEY]={displayPeriods:4,sets:!0},this._displayPeriodsPerSports[h.W.ICE_HOCKEY]={displayPeriods:3,sets:!0},this._displayPeriodsPerSports[h.W.RUGBY_LEAGUE]={displayPeriods:2,sets:!0},this._displayPeriodsPerSports[h.W.RUGBY_UNION]={displayPeriods:2,sets:!0},this._displayPeriodsPerSports[h.W.VIRTUAL_BASKETBALL]={displayPeriods:4,sets:!0},this._displayPeriodsPerSports[h.W.VIRTUAL_ICE_HOCKEY]={displayPeriods:3,sets:!0},this._displayPeriodsPerSports[h.W.WATERPOLO]={displayPeriods:4,sets:!0},this._displayPeriodsPerSports[h.W.TENNIS]={displayPeriods:5},this._displayPeriodsPerSports[h.W.VIRTUAL_TENNIS]={displayPeriods:5}}static{this.\u0275fac=function(E){return new(E||m)}}static{this.\u0275prov=v.jDH({token:m,factory:m.\u0275fac})}}return m})()},63940:(he,M,r)=>{"use strict";r.d(M,{a:()=>v});var o=r(31635),i=r(45286),d=r(85375),h=r(54438);class v{constructor(){this.eventPreviewId=null,this._newEvent=new i.B7,this.newEvent$=this._newEvent.asObservable(),this._sportIdIcon=new i.B7,this.sportIconId$=this._sportIdIcon.asObservable()}closeEventPreview(){this.eventPreviewId=null}showEventPreviewForEventId(m,p){m!==this.eventPreviewId&&(this.eventPreviewId&&(this._newEvent.next(m),this._sportIdIcon.next(p)),this.eventPreviewId=m)}static{this.\u0275fac=function(p){return new(p||v)}}static{this.\u0275prov=h.jDH({token:v,factory:v.\u0275fac})}}(0,o.Cg)([d.X],v.prototype,"showEventPreviewForEventId",null)},32720:(he,M,r)=>{"use strict";r.d(M,{U:()=>L});var o=r(31635),i=r(79928),d=r(45286),h=r(95006),v=r(16972),_=r(42199),m=r(56955),p=r(62125),u=r(85375),E=function(Z){return Z[Z.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",Z[Z.FOUND=302]="FOUND",Z[Z.GONE=410]="GONE",Z}(E||{}),C=r(54438),l=r(65283),y=r(77286),I=r(28998),S=r(60177),P=r(20279),F=r(2091),N=r(39934);const U={[P.Bi.SINGLE_EVENT]:5,[P.Bi.LIVE_SINGLE_EVENT]:3,[P.Bi.LEAGUE]:4,[P.Bi.REGION]:3};let T=(()=>{class Z{constructor(ve,me,xe,$){this._response=ve,this._platformId=me,this._router=xe,this._routingService=$}redirect(ve,me=E.FOUND){if((0,S.isPlatformServer)(this._platformId)){if(this._response){const xe=this._response;if(me!==E.GONE)return void xe.redirect(me,ve);xe.status(E.GONE)}}else this._router.navigateByUrl(ve,{replaceUrl:!0})}redirectToParent(ve=E.FOUND){const me=this._getDeepestPageName(),xe=this._buildParentUrl(me);this.redirect(xe,ve)}redirectToHome(ve=E.FOUND){this.redirect(this._routingService.getHomePageUrl(),ve)}_getDeepestPageName(){let ve=this._router.routerState.root;for(;ve.firstChild;)ve=ve.firstChild;return(0,p.A)(ve.snapshot.data,"pageName","")}_buildParentUrl(ve){const me=U[ve];if(void 0===me)return this._routingService.getHomePageUrl();
1const $=this._router.url.split("?")[0].split("/").filter(Boolean);return $.length<=me?this._routingService.getHomePageUrl():"/"+$.slice(0,me).join("/")}static{this.\u0275fac=function(me){return new(me||Z)(C.KVO("RESPONSE",8),C.KVO(C.Agw),C.KVO(F.Ix),C.KVO(N.O))}}static{this.\u0275prov=C.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})();class L{constructor(ie,ve,me,xe){this._httpService=ie,this._cookieService=ve,this._errorService=me,this._ssrRedirectService=xe,this.handlePlayerDropdownOpen=new i.t({}),this.handlePlayerDropdownOpen$=this.handlePlayerDropdownOpen.asObservable(),this.singleEventFetched=new d.B7,this.singleEventFetched$=this.singleEventFetched.asObservable(),this.singleEventFetchedError=new d.B7,this.singleEventFetchedError$=this.singleEventFetchedError.asObservable(),this.singleEventFetchedOnEventPage=new d.B7,this.singleEventFetchedOnEventPage$=this.singleEventFetchedOnEventPage.asObservable(),this.gamesFetched=new d.B7,this.gamesFetched$=this.gamesFetched.asObservable(),this._marketsFetchedError=new d.B7,this.marketsFetchedError$=this._marketsFetchedError.asObservable(),this.eventCodeVisible=!1}getAllGamesForEvent(ie,ve=_.XW,me=!1){return this._httpService.get(`api/v2/events/${ie}/markets?gameGroupId=all`,"",ve,me).pipe((0,h.T)(xe=>v.R.fromGameGroupResponse(xe)))}getGamesByGameGroupId(ie,ve){ve!==m.z&&this._httpService.get(`api/v2/events/${ie}/markets?gameGroupId=${ve}`,"",_.mp,!0).pipe((0,h.T)(me=>v.R.fromGameGroupResponse(me))).subscribe(me=>{this.gamesFetched.next(me)},me=>{this._marketsFetchedError.next(),this._errorService.openErrorPopup((0,p.A)(me,"error"))})}getFavoriteGamesByGameGroupIds(ie,ve){this._httpService.get(`api/v1/events/${ie}/favorite/markets?gameTemplateIds=${ve}`).pipe((0,h.T)(me=>v.R.fromGameGroupResponse(me))).subscribe(me=>{this.gamesFetched.next(me)})}getSingleEventRequest(ie){return this._httpService.get(`api/v2/events/${ie}`,`event-${ie}`,_.mp,!0).pipe((0,h.T)(ve=>v.R.fromSingleEventResponse(ve)))}getSingleEvent(ie,ve=!1,me=!0){this.getSingleEventRequest(ie).subscribe(xe=>{this.singleEventFetched.next({singleEvent:xe,isEventPreview:ve})},xe=>{me?this._checkArchivedEventBeforeRedirect(ie):this.singleEventFetchedError.next(xe)})}_checkArchivedEventBeforeRedirect(ie){this._httpService.get(`api/v1/archive/events/${ie}`,`archived-${ie}`,_.mp,!0).subscribe(ve=>{this.singleEventFetched.next({singleEvent:v.R.fromSingleEventResponse(ve),isEventPreview:!1})},ve=>{404===(0,p.A)(ve,"status")&&this._ssrRedirectService.redirectToParent(E.GONE)})}getEventCodeVisible(){const ie=this._cookieService.get("eventCodeVisible");ie&&(this.eventCodeVisible=JSON.parse(ie))}setEventCodeVisible(){this._cookieService.set("eventCodeVisible",this.eventCodeVisible.toString(),{path:"/",sameSite:"Strict",secure:!0})}getPreviousResults(ie){const ve=(0,p.A)(ie,"header.result.extraData.OtherMatchResult","");return this._checkIfValidResult(ve)?ve.split(":"):[]}_checkIfValidResult(ie){return!!ie&&new RegExp("^[0-9]+:[0-9]+$").test(ie)}static{this.\u0275fac=function(ve){return new(ve||L)(C.KVO(l.k),C.KVO(y.Q),C.KVO(I.I),C.KVO(T))}}static{this.\u0275prov=C.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}}(0,o.Cg)([u.X],L.prototype,"getEventCodeVisible",null)},60767:(he,M,r)=>{"use strict";r.d(M,{U:()=>_});var o=r(22670),i=r(45286),d=r(95447);class h{static setItem(p,u){typeof sessionStorage>"u"||sessionStorage.setItem(p,JSON.stringify(u))}static setItemRaw(p,u){typeof sessionStorage>"u"||sessionStorage.setItem(p,u)}static getItem(p){return typeof sessionStorage>"u"?"[]":sessionStorage.getItem(p)}static removeItem(p){typeof sessionStorage>"u"||sessionStorage.removeItem(p)}}var v=r(54438);let _=(()=>{class m{constructor(){this.favoriteIds=[],this._toggleLiveFavorite=new i.B7,this.toggleLiveFavorite$=this._toggleLiveFavorite.asObservable(),this._toggleLiveFavoriteMatch=new i.B7,this.toggleLiveFavoriteMatch$=this._toggleLiveFavoriteMatch.asObservable(),this._addLiveFavoriteMatch=new i.B7,this.addLiveFavoriteMatch$=this._addLiveFavoriteMatch.asObservable(),this.favoriteTriggerPipe=1,this.setFavoriteIds()}getFavoriteIds(){return JSON.parse(h.getItem(d.Wv))||[]}setFavoriteIds(){this.favoriteIds=this.getFavoriteIds()}removeId(u,E){const C=(0,o.A)(u,l=>l!==E.header.eventId);0===C.length?h.removeItem(d.Wv):h.setItem(d.Wv,C),this.favoriteIds=C,this._toggleLiveFavorite.next(E),this.favoriteTriggerPipe++}removeMatchId(u,E){const C=(0,o.A)(u,l=>l!==E.eventId);0===C.length?h.removeItem(d.Wv):h.setItem(d.Wv,C),this.favoriteIds=C,this._toggleLiveFavoriteMatch.next(E),this.favoriteTriggerPipe++}addFavoriteId(u){const E=this.getFavoriteIds();E.push(u),h.setItem(d.Wv,E),this.favoriteIds=E,this._addLiveFavoriteMatch.next(u),this.favoriteTriggerPipe++}overrideFavoriteIds(u){this.favoriteIds=u,h.setItem(d.Wv,this.favoriteIds)}removeFromSession(){h.removeItem(d.Wv),this.favoriteTriggerPipe++}static{this.\u0275fac=function(E){return new(E||m)}}static{this.\u0275prov=v.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},15653:(he,M,r)=>{"use strict";r.d(M,{Q:()=>_});var o=r(29880),i=r(67376),h=r(54438),v=r(34405);let _=(()=>{class m{constructor(u){this._restConfigurationService=u}sortFeaturedMatches(u=[]){u.sort(this._setEventOrderSorting)}_setEventOrderSorting(u,E){return(u.header.setEventOrder<=0||!u.header.setEventOrder)&&(u.header.setEventOrder=9999),(E.header.setEventOrder<=0||!E.header.setEventOrder)&&(E.header.setEventOrder=9999),u.header.setEventOrder-E.header.setEventOrder}orderByTimeLiveEvents(u,E=!1){let C=[];E&&(C=this._restConfigurationService.getBettingConfigurationParams("topLeagues").reverse());const l=(0,i.chain)(u).orderBy(y=>y.header.eventId,["asc"]).orderBy(this.orderEventsBySetEventOrder,["asc"]).orderBy(y=>y.header.startTime,["asc"]).orderBy(y=>(0,o.A)(C,y.header.league.leagueId),["desc"]).orderBy(y=>
1!!y.header.topMatch,["desc"]).value();return E?(0,i.chain)(l).orderBy(y=>!!y.header.league.favoriteLeague,["desc"]).value():l}orderLiveEventsByLeagueTab(u,E=!1){let C=[];E&&(C=this._restConfigurationService.getBettingConfigurationParams("topLeagues").reverse());const l=(0,i.chain)(u).orderBy(y=>y.regionSlug,["asc"]).orderBy(y=>(0,o.A)(C,y.leagueId),"desc").value();return E?(0,i.chain)(l).orderBy(y=>y.favoriteLeague,"desc").value():l}sortSportsByOrder(u,E){const C=[...this._restConfigurationService.getBettingConfigurationParams("topSports")].reverse();u.sort((l,y)=>l.name>y.name?1:-1).sort((l,y)=>(0,o.A)(C,y.sportId)-(0,o.A)(C,l.sportId)).sort((l,y)=>l===E?-1:y===E?1:0)}sortRegionsByOrder(u,E){const C=[...this._restConfigurationService.getBettingConfigurationParams("topRegions")].reverse();u.sort((l,y)=>l.name>y.name?1:-1).sort((l,y)=>(0,o.A)(C,y.regionId)-(0,o.A)(C,l.regionId)).sort((l,y)=>l===E?-1:y===E?1:0)}sortLeaguesByOrder(u,E){const C=[...this._restConfigurationService.getBettingConfigurationParams("topLeagues")].reverse();u.sort((l,y)=>l.name>y.name?1:-1).sort((l,y)=>(0,o.A)(C,y.leagueId)-(0,o.A)(C,l.leagueId)).sort((l,y)=>l===E?-1:y===E?1:0).sort((l,y)=>Number(y.favoriteLeague)-Number(l.favoriteLeague))}sortLiveSportsSidebar(u){const E=[...this._restConfigurationService.getBettingConfigurationParams("topLeagues")].reverse();u.sort((C,l)=>C.startTime>l.startTime?1:-1).sort((C,l)=>(0,o.A)(E,l.leagueId)-(0,o.A)(E,C.leagueId)).sort((C,l)=>C.topMatch>l.topMatch?1:-1).sort(this._setEventOrderSortingLiveSidebar).sort((C,l)=>C.eventId>l.eventId?1:-1)}sortLiveSportsSidebarByLeague(u){const E=[...this._restConfigurationService.getBettingConfigurationParams("topLeagues")].reverse();u.sort((C,l)=>C.regionName>l.regionName?1:-1).sort((C,l)=>C.regionName>l.regionName?1:-1).sort((C,l)=>(0,o.A)(E,l.leagueId)-(0,o.A)(E,C.leagueId))}orderByTimeFilterTopLeagueSort(u){const E=this._restConfigurationService.getBettingConfigurationParams("topLeagues").reverse();return(0,i.chain)(u).orderBy(C=>C.header.eventId,["asc"]).orderBy(C=>C.header.startTime,["asc"]).orderBy(C=>(0,o.A)(E,C.header.league.leagueId),["desc"]).orderBy(C=>
1!!C.header.topMatch,["desc"]).orderBy(this.orderEventsBySetEventOrder,["asc"]).value()}orderByTimeFilterTimeSort(u,E="asc"){return(0,i.chain)(u).orderBy([C=>C.header.startTime,C=>C.header.eventId],[E,"asc"]).value()}orderByTimeFilterGoalsSort(u,E="asc"){return(0,i.chain)(u).orderBy([C=>{const[l,y]=C.header.formattedResult.score||[0,0];return l+y},C=>C.header.eventId],[E,"asc"]).value()}orderByLeagueFilterTopLeagueSort(u){const E=this._restConfigurationService.getBettingConfigurationParams("topLeagues").reverse();return(0,i.chain)(u).orderBy(C=>`${C.regionName} - ${C.leagueName}`,["asc"]).orderBy(C=>(0,o.A)(E,C.leagueId),"desc").value()}orderByLeagueFilterLeagueNameSort(u,E="asc"){return(0,i.chain)(u).orderBy(C=>`${C.regionName} - ${C.leagueName}`,[E]).value()}orderEventsBySetEventOrder(u){return u.header.setEventOrder<=0||!(0,i.hasIn)(u.header,"setEventOrder")?9999:u.header.setEventOrder}_setEventOrderSortingLiveSidebar(u,E){return(u.setEventOrder<=0||!u.setEventOrder)&&(u.setEventOrder=9999),(E.setEventOrder<=0||!E.setEventOrder)&&(E.setEventOrder=9999),u.setEventOrder-E.setEventOrder}static{this.\u0275fac=function(E){return new(E||m)(h.KVO(v.M))}}static{this.\u0275prov=h.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},66348:(he,M,r)=>{"use strict";r.d(M,{$:()=>C});var o=r(54438),i=r(60177),d=r(23712),h=r(34029),v=r(14421),_=r(95006),m=r(16972),p=r(41926),u=r(30569),E=r(65283);let C=(()=>{class l{constructor(I){this._httpService=I,this._platformId=(0,o.WQX)(o.Agw),this._botDetectionService=(0,o.WQX)(u.a),this._defaultPositionResponse={sportPositions:[],selectedPositions:[],configuredPositions:!0},this._positionHeaderCache={live:new Map,standard:new Map}}
1getPositionsForSport(I,S){if((0,i.isPlatformServer)(this._platformId)||this._botDetectionService.isBot)return(0,v.of)(this._defaultPositionResponse);const P=this._getPositionResponseFromCache(I,S);return P?(0,v.of)(structuredClone(P)):this._httpService.get(`api/v1/${S}/sport/${I}/position-header`,`${S}-positions-${I}`).pipe((0,_.T)(F=>{const N=this.handlePositions(F);return this._setPositionResponseFromCache(I,S,N),N}))}getSinglePositionForSport(I,S,P,F,N){return this._httpService.get(`api/v1/${N}/sport/${I}/position/${S}/group/${P}?events=${F.join(",")}`,`single-${N}-position`).pipe((0,_.T)(U=>m.R.fromEventPositionResponse(U)))}handlePositions(I){const{positions:S,configuredPositions:P}=p.J.getPositionsFromResponse(I);return{sportPositions:S,selectedPositions:Array(S.length).fill(0),configuredPositions:P}}switchSelections(I,S,P){I.forEach(F=>{this._checkSelectionTrigger(F),S.forEach(N=>{F.header.eventId===N.eventId&&F.positions[P]&&(F.positions[P].groups[0]=N.group)})})}switchLeaguesEvents(I,S,P){const F=[];(0,d.A)(I,N=>{F.push(...N.events)}),this.switchSelections(F,S,P)}_getPositionResponseFromCache(I,S){return this._positionHeaderCache[S].get(I)}_setPositionResponseFromCache(I,S,P){this._positionHeaderCache[S].set(I,P)}_checkSelectionTrigger(I){(0,h.A)(I,"selectionTrigger")?I.selectionTrigger++:I.selectionTrigger=0}static{this.\u0275fac=function(S){return new(S||l)(o.KVO(E.k))}}static{this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})()},19218:(he,M,r)=>{"use strict";r.d(M,{f:()=>l});var o=r(62125),i=r(23712),d=r(96503),h=r(67018),v=r(72036),_=r(40173),m=r(94428);var E=r(29904),C=r(54438);let l=(()=>{class y{constructor(){this._displayableMatchStates=["ACTIVE","BLOCKED"],this._labeledSports={IsVirtualFootball:"general.virtualLabel",Basket3x3:"general.Basket3x3",Basketball2x20:"general.Basketball2x20"},this._sports={football:[58,93,116],basketball:[55,62,80,114,120,129],hockey:[60,59],tennis:[56,54,89,90,91],counter:[130]}}isEventSpecificLabeledSport(S,P,F){return S.header.sport.sportId!==F?"":"true"===this.getExtraDataAttr(S,P)?(0,o.A)(this._labeledSports,`${P}`):void 0}isEventEnded(S){return!!S.state&&(S.state===E.q.FINISHED||S.state===E.q.RESULTED)}_getGetOrdinal(S){const P=["th","st","nd","rd"],F=S%100;return S+(P[(F-20)%10]||P[F]||P[0])}isServing(S,P){let F=!1;const N=(0,o.A)(S,"header.result.extraData");return(0,i.A)(N,U=>"SERV"!==U.name||U.value!==P||(F=!0,!1)),F}getPeriodOfEvent(S,P,F){if(this.isEventValid(S)&&S.header.result.periods[P]){const N=(0,o.A)(S,`header.result.periods[${P}].points[${F}]`);switch(S.header.sport.sportId){case 60:case 59:case 80:case 55:case 129:case 177:case 63:case 65:case 120:case 62:case 179:return N-(0,d.A)((0,o.A)(S,`header.result.periods[${P-1}].points[${F}]`));case 58:case 93:return S.header.result.periods[1]?S.header.result.currentPeriod.points[F]-N:0;default:if(!this.isEventEnded(S.header)||0!==S.header.result.periods[P].points[0]||0!==S.header.result.periods[P].points[1])return S.header.result.periods[P].points[F]}}return 0}getPeriodOfSearchEvent(S,P,F){if(this.isEventSearchValid(S)&&S.result.periods[P]){const N=(0,o.A)(S,`result.periods[${P}].points[${F}]`);switch(S.sportId){case 60:case 59:case 80:case 55:case 177:case 63:case 65:case 120:case 62:case 179:return N-(0,d.A)((0,o.A)(S,`result.periods[${P-1}].points[${F}]`));case 58:case 93:return S.result.periods[1]?S.result.currentPeriod.points[F]-N:0;default:if(0!==S.result.periods[P].points[0]||0!==S.result.periods[P].points[1])return S.result.periods[P].points[F]}}return 0}getCurrentOfEvent(S,P){return(0,o.A)(S,`result.currentPeriod.points[${P}]`,"")}isEventValid(S){return S.header&&S.header.result&&S.header.result.periods}isEventSearchValid(S){return S&&S.result&&S.result.periods}convertTennisResult(S){switch(S){case"0":return"00";case"1":return"15";case"2":return"30";case"3":return"40";case"4":return"A";default:return""}}isPeriodActive(S,P){return!(!this.isEventValid(S)||!S.header.result.periods[P])}getExtraDataAttr(S,P){const F=(0,o.A)(S,"header.result.extraData"),N=(0,h.A)(F,{name:P});if(!(0,v.A)(N))return N.value}getTennisResult(S,P){const F=this.getExtraDataAttr(S,P);return this.isTieBreak(S.header)||56!==S.header.sport.sportId?F:this.convertTennisResult(F)}isSport(S,P){return(0,_.A)((0,o.A)(this._sports,`${S}`),P)}isTieBreak(S){const F=(0,o.A)(S,`result.periods[${S.result.periods.length-1}]`);
1return 6===Number((0,o.A)(F,"points[0]",0))&&(0,o.A)(F,"points[0]",0)===(0,o.A)(F,"points[1]",1)}isResultAvailable(S){return!!(S&&S.header.result&&S.header.result.currentPeriod&&S.header.result.currentPeriod.points)}isAvailableForDisplay(S){return this._displayableMatchStates.indexOf(S)>-1}getTeamScore(S,P){return 58==S.header.sport.sportId&&"LIVE_BET"===S.header.offerSubType?this._getResultInExtraTime(P,S):String(S.header?.result?.currentPeriod?S.header.result.currentPeriod.points[P]:"")}_getResultInExtraTime(S,P){const F=(0,o.A)(P,"header.result.extraData");if((0,v.A)(F))return"";let U=0|parseInt((0,o.A)((0,h.A)(F,{name:S?"OTA":"OTH"}),"value",""),10);const T=(0,o.A)(P,"header.result.currentPeriod.points");if((0,v.A)(T))return"";U=U>=0?U:0;let L=parseInt((0,o.A)(P,`result.currentPeriod.points[${S}]`,""),10);return L=!function p(y){return(0,m.A)(y)&&y!=+y}(L)&&L>=0?L:0,(L+U).toString()}isDotaOrLolId(S){return(0,_.A)([132,134],(0,o.A)(S,"header.sport.sportId"))}isCricketId(S){return 66===(0,o.A)(S,"header.sport.sportId")}isOtherSports(S){return(0,_.A)([59,60,130,69,65],(0,o.A)(S,"header.sport.sportId"))}getCricketEventResult(S,P){return this.getExtraDataAttr(S,P?"ResultAway":"ResultHome")}static{this.\u0275fac=function(P){return new(P||y)}}static{this.\u0275prov=C.jDH({token:y,factory:y.\u0275fac})}}return y})()},62946:(he,M,r)=>{"use strict";r.d(M,{t:()=>l});var o=r(54438),i=r(45286),d=r(4076),h=r(95447),v=r(62125),_=r(91398),m=r(4346),p=r(21626),u=r(22804),E=r(84978),C=r(34405);let l=(()=>{class y{constructor(S,P,F,N){this._httpClient=S,this._localizationService=P,this._configurationService=F,this._restConfigurationService=N,this.MERBET_URL="https://mc.merbet.com",this.BETCONSTRUCT_TRACKER_URL="https://animations.betcoapps.com/#/widget/animation?gameid=",this._matchTrackerInfoSet=new i.B7,this.matchTrackerInfoSet$=this._matchTrackerInfoSet.asObservable(),this.availableBetradarTrackers={},this.mappedEventIds=(0,o.vPA)({}),this._sportsWithBetconstructTracker=[m.W.FOOTBALL,m.W.BASKETBALL,m.W.ICE_HOCKEY],this.setAvailableBetradarSports()}setMappedEventIds(S){this.mappedEventIds.set(S)}setAvailableBetradarSports(){const S=this._configurationService.getParam("betradar_configuration_web")||[];
10!==S.length&&S.forEach(P=>{this.availableBetradarTrackers[Number(P.sportId)]=P.isLiveMatchEnabled})}checkForAvailableTrackers(S){if(_.R.isBrowser){if(this._checkIsBetRadarTrackerEnabled(S))return this._handleBetRadarTracker(S);if(this._restConfigurationService.getGeneralCustomConfigurationParams("lSportsGroupId")&&this.mappedEventIds()?.[S.header.eventId])return void this._handleStatsWidgedTracker(S);if(this._checkIsBeetConstructTracker(S))return this._handleBeetConstructTracker(S);if(S.header.offerSubType!==h.lF)return this._handleDefaultTracker();this._httpClient.get(`${this.MERBET_URL}/matchCheck.php?match=${S.header.eventId}`).subscribe(P=>!1,P=>"OK"===P.error.text?this._handleMerbetTracker(S):this._handleDefaultTracker())}}_checkIsBetRadarTrackerEnabled(S){return!(typeof SIR>"u"||!this._configurationService.getParam("is_betradar_tracker_enabled_web")||!this.isBetradarTrackerEnabledForEvent(S)||!(0,v.A)(S,"header.result.extraData.BetradarUnifiedID"))}_handleBetRadarTracker(S){const P=(0,v.A)(S,"header.betradar");if(P&&"match"!==P.type)return this._handleDefaultTracker();const F=this._getSportBetaradarConfiguration(S);if(!F)return;const N=this._getBetradarStreamOptions(S,F);this.selectedTracker={type:d.Z.BETRADAR_TRACKER,betradarInfo:{betradarId:P.id,language:P.language,trackerConfiguration:N}},this._matchTrackerInfoSet.next({type:d.Z.BETRADAR_TRACKER,betradarInfo:{betradarId:P.id,language:P.language,trackerConfiguration:N}})}_handleMerbetTracker(S){const P=`${this.MERBET_URL}/index.php?lang=${this._localizationService.getSelectedLocale()}&match=${S.header.eventId}`;this.selectedTracker={type:d.Z.MERBET_TRACKER,iframeUrl:P},this._matchTrackerInfoSet.next({type:d.Z.MERBET_TRACKER,iframeUrl:P})}_handleDefaultTracker(){return this.selectedTracker={type:d.Z.DEFAULT_TRACKER},this._matchTrackerInfoSet.next({type:d.Z.DEFAULT_TRACKER})}isBetradarTrackerEnabledForEvent(S){const P=this._getSportBetaradarConfiguration(S);if(!P)return!1;switch(S.header.offerSubType){case h.lF:return!(!P.isLiveMatchEnabled||!P.liveMatchConfiguration);case h.KO:return!(!P.isStandardMatchEnabled||!P.standardMatchConfiguration)&&this.isBetradarStatisticsAvailableForMatch(S);default:return!1}}getSelectedTracker(){return this.selectedTracker}isBetradarStatisticsAvailableForMatch(S){return!!S.header.betradar&&this.availableBetradarTrackers[S.header.sport.sportId]}_getSportBetaradarConfiguration(S){const P=this._configurationService.getParam("betradar_configuration_web");if(P)return P.find(F=>Number(F.sportId)===S.header.sport.sportId)}_getBetradarStreamOptions(S,P){switch(S.header.offerSubType){case h.lF:return this._jsonParseTrackerConfiguration(P.liveMatchConfiguration);case h.KO:return this._jsonParseTrackerConfiguration(P.standardMatchConfiguration);default:return{iframeClass:"match.lmtPlus",options:{}}}}_jsonParseTrackerConfiguration(S){try{return JSON.parse(S)}catch{return{iframeClass:"match.lmtPlus",options:{}}}}_checkIsBeetConstructTracker(S){return this._sportsWithBetconstructTracker.includes(S.header.sport.sportId)&&"FeedConstruct"===(0,v.A)(S,"header.result.extraData.feed")}_handleBeetConstructTracker(S){const P=(0,v.A)(S,"header.result.extraData.FeedConstructID",null);this._matchTrackerInfoSet.next({type:d.Z.BET_CONSTRUCT_TRACKER,iframeUrl:`${this.BETCONSTRUCT_TRACKER_URL}${P}`})}_handleStatsWidgedTracker(S){this.selectedTracker={type:d.Z.STATSWIDGET_TRACKER,mappedEventId:this.mappedEventIds()?.[S.header.eventId]},this._matchTrackerInfoSet.next(this.selectedTracker)}static{this.\u0275fac=function(P){return new(P||y)(o.KVO(p.Qq),o.KVO(u.P),o.KVO(E.s),o.KVO(C.M))}}static{this.\u0275prov=o.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},7901:(he,M,r)=>{"use strict";r.d(M,{Z:()=>E});var o=r(10467),i=r(31635),d=r(85375),h=r(22804),v=r(54438),_=r(53811),m=r(58167),p=r(34405),u=r(21626);class E{constructor(l,y,I,S){this._lazyLoadScript=l,this._authService=y,this._restConfigurationService=I,this._httpClient=S,this._isInitialized=!1,this._isInProgres=!1,this._eventsBound=!1,this._isDefaultLauncherHidden=!1,this.DEFAULT_LANGUAGE="en"}getApplicantData(l){var y=this;return(0,o.A)(function*(){return yield y._httpClient.post(`${CONFIGURATION_MIDDLEWARE_URL}
1/fresh-desk`,l).toPromise()})()}connectToFreshdesk(){if(!this._isInProgres){if(this._isInProgres=!0,!this._isInitialized||!this._getWidget()?.isInitialized?.())return this._getWidget()?(this._isInProgres=!1,void this._initFreshdesk()):void this._lazyLoadScript.loadScript(this._getFreshdeskScriptUrl()).subscribe(()=>{this._initFreshdesk()});this._isInProgres=!1}}clearFreshdesk(){this._closeFreshdeskChat(),this._clearFreshdeskUser(!0).finally(()=>null)}onChangeStatus(l=!1){var y=this;return(0,o.A)(function*(){y._isInProgres||(y._getWidget()?(y._closeFreshdeskChat(),yield y._clearFreshdeskUser(!0),y._eventsBound=!1,yield y._initFreshdesk(l,!0)):y.connectToFreshdesk())})()}openChat(){const l=this._getWidget();l?l.open?.():this.connectToFreshdesk()}clearSession(){this._closeFreshdeskChat(),this._clearFreshdeskUser(!0).finally(()=>null)}hideDefaultLauncher(){this._isDefaultLauncherHidden||(this._isDefaultLauncherHidden=!0,this._applyLauncherVisibility())}showDefaultLauncher(){this._isDefaultLauncherHidden&&(this._isDefaultLauncherHidden=!1,this._applyLauncherVisibility())}_applyLauncherVisibility(){!this._getWidget()?.isInitialized?.()||this._isInProgres||(this._isInProgres=!0,this._initFreshdesk(!1,!0))}hideWidget(){const l=this._getWidget();l&&(l.hide?.(),this._isInitialized=!1,this._eventsBound=!1)}_initFreshdesk(l=!1,y=!1){var I=this;return(0,o.A)(function*(){const S=I._getWidget();let P=I._getCurrentUser();if(!S)return void(I._isInProgres=!1);if(!S?.init)return void(I._isInProgres=!1);l&&(P={});const F=yield I.getApplicantData({firstName:P?.firstName,lastName:P?.lastName,email:I._getUserEmail(P),accountId:String(P?.accountId||""),language:String(h.P.locale)||I.DEFAULT_LANGUAGE,isUserLogin:P?.isUserLogin||!1,isMobile:!1}),N={token:F.t,host:F.h,widgetId:F.w,config:{disableNotifications:!0,headerProperty:{hideChatButton:I._isDefaultLauncherHidden}},contactProperties:{name:`${P?.firstName||""} ${P?.lastName||""}`.trim(),email:I._getUserEmail(P),unique_external_id:String(P?.accountId||""),language:String(h.P.locale)||I.DEFAULT_LANGUAGE},onLoad:()=>{I._handleWidgetLoaded()}};P.isUserLogin&&(N.jwtAuthToken=F.p),y?S.reInit(N):S.init(N),I._isDefaultLauncherHidden===!!N.config?.headerProperty?.hideChatButton?(I._isInProgres=!1,I._isInitialized=!0):yield I._initFreshdesk(!1,!0)})()}_handleWidgetLoaded(){this._registerFreshdeskEvents(),this._createFreshdeskUser(),this._syncCurrentUser()}_registerFreshdeskEvents(){!this._getWidget()?.on||this._eventsBound||(this._eventsBound=!0)}_syncCurrentUser(){const l=this._getWidget(),y=this._getCurrentUser();!l||!y?.accountId||Promise.resolve(l.user.setProperties?.({name:y.firstName||"",lastName:y.lastName||"",email:this._getUserEmail(y)}))}_createFreshdeskUser(){const l=this._getWidget(),y=this._getCurrentUser();!l?.user?.create||!y?.accountId||l.user.create({name:y.firstName,lastName:y.lastName,email:this._getUserEmail(y)})}_clearFreshdeskUser(l=!1){const y=this._getWidget();return y?.user?.clear?y.user.clear({force:l}).catch(()=>null):Promise.resolve()}_closeFreshdeskChat(){const l=this._getWidget();l&&l.close?.()}_getWidget(){const l=window;return l.fcWidget||l.fdWidget}_getCurrentUser(){return this._authService.currentUser?.()}_getUserEmail(l){return l?.email?l.email:l?.accountId?`${l.accountId}@${WEBSITE_URL.replace(/^https?:\/\//,"")}`:""}_getFreshdeskScriptUrl(){return`${this._getFreshdeskHost()}/webchat/js/widget.js`}_getFreshdeskHost(){return this._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskHost")}static{this.\u0275fac=function(y){return new(y||E)(v.KVO(_.K),v.KVO(m.u),v.KVO(p.M),v.KVO(u.Qq))}}static{this.\u0275prov=v.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}(0,i.Cg)([d.X],E.prototype,"connectToFreshdesk",null),(0,i.Cg)([d.X],E.prototype,"clearFreshdesk",null),(0,i.Cg)([d.X],E.prototype,"onChangeStatus",null),(0,i.Cg)([d.X],E.prototype,"openChat",null),(0,i.Cg)([d.X],E.prototype,"clearSession",null),(0,i.Cg)([d.X],E.prototype,"hideDefaultLauncher",null),(0,i.Cg)([d.X],E.prototype,"showDefaultLauncher",null),(0,i.Cg)([d.X],E.prototype,"_applyLauncherVisibility",null),(0,i.Cg)([d.X],E.prototype,"hideWidget",null),(0,i.Cg)([d.X],E.prototype,"_initFreshdesk",null),(0,i.Cg)([d.X],E.prototype,"_handleWidgetLoaded",null),(0,i.Cg)([d.X],E.prototype,"_registerFreshdeskEvents",null),(0,i.Cg)([d.X],E.prototype,"_syncCurrentUser",null),(0,i.Cg)([d.X],E.prototype,"_createFreshdeskUser",null),(0,i.Cg)([d.X],E.prototype,"_clearFreshdeskUser",null),(0,i.Cg)([d.X],E.prototype,"_closeFreshdeskChat",null)},34139:(he,M,r)=>{"use strict";r.d(M,{N:()=>i});var o=r(54438);let i=(()=>{class d{allowOnlyNumbers(v){"Period"!==v.code&&!/[0-9+\- ]/.test(v.code)&&v.preventDefault()}allowOnlyNumbersWithoutPeriod(v){/[0-9]/.test(v.key)||v.preventDefault()}allowEverythingExceptPlusAndMinus(v){("+"===v.data||"-"===v.data||"\u2212"===v.data)&&v.preventDefault()}allowOnlyNumbersOnPaste(v){const _=Number(v.clipboardData?.getData("text")||"");(_<0||!Number.isSafeInteger(_))&&v.preventDefault()}allowOnlyNumbersOnInput(v,_=!1,m=null){if(!(v instanceof InputEvent))return;let u=v.target.value;u=u.replace(_?/[^0-9.]+/g:/[^0-9]+/g,""),v.target.value=u,m&&(m.setValue(u),m.updateValueAndValidity())}allowAnyTextWithoutWhiteSpaceOnInput(v,_=null){if(!(v instanceof InputEvent))return;let p=v.target.value;p=p.replace(/\s/g,""),v.target.value=p,_&&(_.setValue(p),_.updateValueAndValidity())}static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275prov=o.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})()},91398:(he,M,r)=>{"use strict";r.d(M,{R:()=>d});var o=r(60177),i=r(54438);let d=(()=>{class h{static{this.isBrowser=!1}static initBrowser(_){h.isBrowser=(0,o.isPlatformBrowser)(_)}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275prov=i.jDH({token:h,factory:h.\u0275fac})}}return h})()},10951:(he,M,r)=>{"use strict";r.d(M,{P:()=>d});var o=r(54438),i=r(34405);let d=(()=>{class h{constructor(_){this.restConfigurationService=_,this.highlightedLeagueIds=new Set,this.initHighlightedLeagueIds()}hasLeagueId(_){return null!=_&&this.highlightedLeagueIds.has(String(_))}initHighlightedLeagueIds(){this.restConfigurationService.getGeneralCustomConfigurationParams("highlightEvent").split(",").map(_=>
1_.trim()).filter(Boolean).forEach(_=>this.highlightedLeagueIds.add(_))}static{this.\u0275fac=function(m){return new(m||h)(o.KVO(i.M))}}static{this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},74864:(he,M,r)=>{"use strict";r.d(M,{L:()=>m});var o=r(71576),i=r(54438),d=r(77286),h=r(28998),v=r(21626),_=r(61131);let m=(()=>{class p extends o.F{constructor(E,C,l,y,I,S){super(E,C,l,y,I,S),this._cookieService=E,this._errorService=C,this._state=l,this._httpClient=y,this._transferStateService=I,this.platformId=S,this._apiUrl=`${PAYMENT_API}`}static{this.\u0275fac=function(C){return new(C||p)(i.KVO(d.Q),i.KVO(h.I),i.KVO(i.pJN),i.KVO(v.Qq),i.KVO(_.G),i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})()},71576:(he,M,r)=>{"use strict";r.d(M,{F:()=>P});var o=r(54438),i=r(95447),d=r(84787),h=r(51235),v=r(95006),_=r(83921),m=r(60177),p=r(21626),u=r(22804),E=r(42199),C=r(91398),l=r(62125),y=r(77286),I=r(28998),S=r(61131);let P=(()=>{class F{constructor(U,T,L,Z,ie,ve){this._cookieService=U,this._errorService=T,this._state=L,this._httpClient=Z,this._transferStateService=ie,this.platformId=ve,this._apiUrl=""}get(U,T="",L=E.XW,Z=!1,ie=!0){const ve=(0,o.zw6)(T);if(!(0,m.isPlatformServer)(this.platformId)&&""!==ve){const me=this._state.get(ve,null);if(me)return ie&&this._state.remove(ve),(0,d.H)(Promise.resolve(JSON.parse(me)))}return this._handleGetRequest(U,ve,L,Z)}_handleGetRequest(U,T,L,Z){return this._httpClient.get(`${this._apiUrl}/${U}`,{headers:{Authorization:`Bearer ${this._getToken()}`,"Accept-Language":u.P.locale}}).pipe((0,v.T)(ie=>((0,m.isPlatformServer)(this.platformId)&&""!==T&&this._state.set(T,JSON.stringify(ie)),ie)),(0,_.W)(ie=>{if(!C.R.isBrowser&&L!==E.mp&&console.log(ie),this._errorService.handleError(ie,L),!Z)return h.w;throw ie}))}post(U,T={},L=E.XW,Z=!1){return this._httpClient.post(`${this._apiUrl}/${U}`,T,{headers:{Authorization:`Bearer ${this._cookieService.get(i.Xh)}`,"Accept-Language":u.P.locale}}).pipe((0,_.W)(ie=>{if(C.R.isBrowser||console.log(ie),(0,l.A)(ie,"error.error")===E.eV||(this._errorService.handleError(ie,L),!Z))return ie;throw ie}))}put(U,T={},L=E.XW,Z=!1,ie=""){return this._httpClient.put(`${this._apiUrl}/${U}`,T,{headers:this._getHeaders(ie)}).pipe((0,_.W)(ve=>{if(L===E.mp||(0,l.A)(ve,"error.error")===E.eV)throw ve;if(this._errorService.handleError(ve,L),!Z)return ve;throw ve}))}delete(U,T=E.XW){return this._httpClient.delete(`${this._apiUrl}/${U}`,{headers:{Authorization:`Bearer ${this._cookieService.get(i.Xh)}`,"Accept-Language":u.P.locale}}).pipe((0,_.W)(L=>{throw this._errorService.handleError(L,T),L}))}deleteWithParams(U,T={},L=E.XW){return this._httpClient.request("delete",`${this._apiUrl}/${U}`,{headers:{Authorization:`Bearer ${this._cookieService.get(i.Xh)}`,"Accept-Language":u.P.locale},body:T}).pipe((0,_.W)(Z=>{if(L===E.mp||(0,l.A)(Z,"error.error")===E.eV)throw Z;return this._errorService.handleError(Z,L),h.w}))}_getHeaders(U){const T={Authorization:`Bearer ${this._cookieService.get(i.Xh)}`,"Accept-Language":u.P.locale};return U&&Object.assign(T,{"Content-Type":U}),new p.Lr(T)}_getToken(){const U=this._cookieService.get(i.Xh),T=this._getTokenFromTransferState();return!U||U&&T&&U!==T?T:U}_getTokenFromTransferState(){const U=this._transferStateService.getParsValueOrReturnDefault(i.ny,null);return U?(0,l.A)(U,"access_token",""):""}static{this.\u0275fac=function(T){return new(T||F)(o.KVO(y.Q),o.KVO(I.I),o.KVO(o.pJN),o.KVO(p.Qq),o.KVO(S.G),o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})()},94942:(he,M,r)=>{"use strict";r.d(M,{S:()=>p});var o=r(71576),i=r(54438),d=r(77286),h=r(28998),v=r(21626),_=r(22804),m=r(61131);let p=(()=>{class u extends o.F{constructor(C,l,y,I,S,P,F){super(C,l,y,I,P,F),this._cookieService=C,this._errorService=l,this._state=y,this._httpClient=I,this._localizationService=S,this._transferStateService=P,this.platformId=F,this._apiUrl=`${CONFIGURATION_MIDDLEWARE_URL||API_URL}/betshop`}static{this.\u0275fac=function(l){return new(l||u)(i.KVO(d.Q),i.KVO(h.I),i.KVO(i.pJN),i.KVO(v.Qq),i.KVO(_.P),i.KVO(m.G),i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()},142:(he,M,r)=>{"use strict";r.d(M,{Z:()=>I});var o=r(54438),i=r(84787),d=r(51235),h=r(95006),v=r(83921),_=r(60177),m=r(42199),p=r(91398),u=r(71576),E=r(77286),C=r(28998),l=r(21626),y=r(61131);let I=(()=>{class S extends u.F{constructor(F,N,U,T,L,Z){super(F,N,U,T,L,Z),this._cookieService=F,this._errorService=N,this._state=U,this._httpClient=T,this._transferStateService=L,this.platformId=Z,this._apiUrl="",this._apiUrl=`${BO_API_URL}
1`}get(F,N="",U=m.XW,T=!1){const L=(0,o.zw6)(N);if(!(0,_.isPlatformServer)(this.platformId)&&""!==L){const Z=this._state.get(L,null);if(Z)return this._state.remove(L),(0,i.H)(Promise.resolve(JSON.parse(Z)))}return this._handleGetRequest(F,L,U,T)}_handleGetRequest(F,N,U,T){return this._httpClient.get(`${this._apiUrl}/${F}`).pipe((0,h.T)(L=>((0,_.isPlatformServer)(this.platformId)&&""!==N&&this._state.set(N,JSON.stringify(L)),L)),(0,v.W)(L=>{if(p.R.isBrowser||console.log(L),this._errorService.handleError(L,U),!T)return d.w;throw L}))}static{this.\u0275fac=function(N){return new(N||S)(o.KVO(E.Q),o.KVO(C.I),o.KVO(o.pJN),o.KVO(l.Qq),o.KVO(y.G),o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()},65283:(he,M,r)=>{"use strict";r.d(M,{k:()=>m});var o=r(71576),i=r(54438),d=r(77286),h=r(28998),v=r(21626),_=r(61131);let m=(()=>{class p extends o.F{constructor(E,C,l,y,I,S){super(E,C,l,y,I,S),this._cookieService=E,this._errorService=C,this._state=l,this._httpClient=y,this._transferStateService=I,this.platformId=S,this._apiUrl=`${API_URL}/betshop`}static{this.\u0275fac=function(C){return new(C||p)(i.KVO(d.Q),i.KVO(h.I),i.KVO(i.pJN),i.KVO(v.Qq),i.KVO(_.G),i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})()},37342:(he,M,r)=>{"use strict";r.d(M,{L:()=>I});var o=r(71576),i=r(54438),d=r(22804),h=r(60177),v=r(95006),_=r(83921),m=r(42199),p=r(91398),u=r(51235),E=r(77286),C=r(28998),l=r(21626),y=r(61131);let I=(()=>{class S extends o.F{constructor(F,N,U,T,L,Z){super(F,N,U,T,L,Z),this._cookieService=F,this._errorService=N,this._state=U,this._httpClient=T,this._transferStateService=L,this.platformId=Z,this._jwtToken=(0,i.vPA)(""),this._apiUrl=`${SIMULATION_BETTING_URL}/api`}_handleGetRequest(F,N,U,T){return this._httpClient.get(`${this._apiUrl}/${F}`,{headers:{Authorization:`${this._getToken()}`,"Accept-Language":d.P.locale}}).pipe((0,v.T)(L=>((0,h.isPlatformServer)(this.platformId)&&""!==N&&this._state.set(N,JSON.stringify(L)),L)),(0,_.W)(L=>{if(!p.R.isBrowser&&U!==m.mp&&console.log(L),this._errorService.handleError(L,U),!T)return u.w;throw L}))}post(F,N={},U=m.XW,T=!1){return this._httpClient.post(`${this._apiUrl}/${F}`,N,{headers:{Authorization:`${this._getToken()}`,"Accept-Language":d.P.locale}}).pipe((0,_.W)(L=>{if(p.R.isBrowser||console.log(L),this._errorService.handleError({error:{error:L.error.message}},U),!T)return L;throw L}))}getSimulatedTickets(F,N=0,U=50){return this.post(`simulations/resulted-tickets?size=${U}&offset=${N}`,F)}_getToken(){return this._jwtToken()}_setToken(F){return this._jwtToken.set(F)}removeJwtToken(){return this._jwtToken.set("")}static{this.\u0275fac=function(N){return new(N||S)(i.KVO(E.Q),i.KVO(C.I),i.KVO(i.pJN),i.KVO(l.Qq),i.KVO(y.G),i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()},30306:(he,M,r)=>{"use strict";r.r(M),r.d(M,{SumsubApiService:()=>u});var o=r(10467),i=r(31635),d=r(21626),h=r(54438),v=r(93878),m=r(89079),p=r(85375);class u{constructor(){this._httpService=(0,h.WQX)(d.Qq),this._jwtToken=(0,h.vPA)(""),this.getJwtToken$=(0,m.br)(this._jwtToken)}getJwtToken(){return this._jwtToken()}removeJwtToken(){return this._jwtToken.set("")}setJwtToken(C){var l=this;return(0,o.A)(function*(){const y=v.hashSync(`${C}`,10),I=yield l._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/sumsub/jwt`,{hash:y}).toPromise();l._jwtToken.set(I.token)})()}registerApplicant(C,l){var y=this;return(0,o.A)(function*(){return yield y._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/sumsub/registration`,{accountId:C,levelName:l}).toPromise()})()}resetApplicant(C,l){var y=this;return(0,o.A)(function*(){return yield y._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/sumsub/reset`,{accountId:C,applicantId:l},{headers:{Authorization:`Bearer ${y._jwtToken()}`}}).toPromise()})()}getApplicantToken(C,l){var y=this;return(0,o.A)(function*(){return yield y._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/sumsub/token`,{accountId:C,levelName:l},{headers:{Authorization:`Bearer ${y._jwtToken()}`}}).toPromise()})()}getApplicantActionToken(C,l){var y=this;return(0,o.A)(function*(){return yield y._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/sumsub/action`,{applicantId:C,levelName:l},{headers:{Authorization:`Bearer ${y._jwtToken()}`}}).toPromise()})()}getApplicantLevels(C,l){var y=this;return(0,o.A)(function*(){return yield y._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/sumsub/applicant-levels`,{accountId:C,applicantId:l},{headers:{Authorization:`Bearer ${y._jwtToken()}`}}).toPromise()})()}getApplicantData(C,l){var y=this;return(0,o.A)(function*(){return yield y._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/sumsub/applicant`,{accountId:C,applicantId:l},{headers:{Authorization:`Bearer ${y._jwtToken()}`}}).toPromise()})()}getNewAccessToken(C,l){var y=this;return(0,o.A)(function*(){return yield y._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/sumsub/refresh`,{accountId:C,levelName:l},{headers:{Authorization:`Bearer ${y._jwtToken()}`}}).toPromise()})()}getApplicantDocuments(C,l){var y=this;return(0,o.A)(function*(){return yield y._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/sumsub/documents`,{accountId:C,applicantId:l},{headers:{Authorization:`Bearer ${y._jwtToken()}`}}).toPromise()})()}trackApplicant(C){var l=this;return(0,o.A)(function*(){return yield l._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/sumsub/track`,C,{headers:{Authorization:`Bearer ${l._jwtToken()}`}}).toPromise()})()}static{this.\u0275fac=function(l){return new(l||u)}}static{this.\u0275prov=h.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}(0,i.Cg)([p.X],u.prototype,"getApplicantDocuments",null),(0,i.Cg)([p.X],u.prototype,"trackApplicant",null)},68737:(he,M,r)=>{"use strict";r.r(M),r.d(M,{UnicoApiService:()=>h});var o=r(10467),i=r(21626),d=r(54438);let h=(()=>{class v{constructor(){this._httpService=(0,d.WQX)(i.Qq)}fetchJwtToken(m){var p=this;return(0,o.A)(function*(){return yield p._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}
1/betshop/unico/jwt`,m).toPromise()})()}fetchUnicoToken(m,p){var u=this;return(0,o.A)(function*(){return yield u._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/unico/token`,p,{headers:{Authorization:`Bearer ${m.token}`}}).toPromise()})()}startUnicoProcess(m,p){var u=this;return(0,o.A)(function*(){return yield u._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/unico/process`,p,{headers:{Authorization:`Bearer ${m.token}`}}).toPromise()})()}getUnicoProcess(m,p,u){var E=this;return(0,o.A)(function*(){return yield E._httpService.post(`${CONFIGURATION_MIDDLEWARE_URL}/betshop/unico/process/${u}`,p,{headers:{Authorization:`Bearer ${m.token}`}}).toPromise()})()}static{this.\u0275fac=function(p){return new(p||v)}}static{this.\u0275prov=d.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},8169:(he,M,r)=>{"use strict";r.d(M,{t:()=>u});var o=r(54438),i=r(22804),d=r(62125),h=r(345),v=r(42853),_=r(84978),m=r(60177),p=r(39934);let u=(()=>{class E{constructor(){this._configurationService=(0,o.WQX)(_.s),this._routingService=(0,o.WQX)(p.O),this._meta=(0,o.WQX)(h.W8),this._platformId=(0,o.WQX)(o.Agw),this._scopeHierarchy={[v.IR.BETTING]:v.IR.ROOT,[v.IR.CASINO]:v.IR.ROOT,[v.IR.SPORT]:v.IR.BETTING,[v.IR.REGION]:v.IR.SPORT,[v.IR.LEAGUE]:v.IR.REGION}}setSocialMediaTags(l){(0,m.isPlatformServer)(this._platformId)&&this._setSocialMediaTagsImpl(l)}_setSocialMediaTagsImpl(l){if(!this._configurationService.getParam("is_social_enabled"))return;const I=this._configurationService.getParam("social_meta_tags"),S=this._resolveMetaTagsWithFallback(I,l,i.P.locale);S&&this._replaceSocialMediaTags(S)}_resolveMetaTagsWithFallback(l,y,I){const S=this._getScopeFallbacks(y.scope),P=this._getLanguageFallbacks(I);let F=!0;for(const N of S)for(const U of P){const T=this._getMetaTagsForScopeAndLanguage(l,N,y,U);if(!T||this._areMetaTagsEmpty(T)){F=!1;continue}if(!T?.ogUrl?.trim()||!F){const ve=this._routingService.getCurrentUrl().split("?")[0];T.ogUrl=`${WEBSITE_URL}${ve}`}const L=y.seoContent?.metaTitle,Z=y.seoContent?.metaDescription,ie={...T,...L&&{ogTitle:L},...Z&&{ogDescription:Z}};return this._generateMetaDefinitions(ie)}return null}_getScopeFallbacks(l){const y=[l];let I=this._scopeHierarchy[l];for(;I;)y.push(I),I=this._scopeHierarchy[I];return y}_getLanguageFallbacks(l){const y=[l,DEFAULT_LOCALE].filter(Boolean);return Array.from(new Set(y))}_getMetaTagsForScopeAndLanguage(l,y,I,S){const P=this._getMetaTagsForScope(l,y,I);return(0,d.A)(P,`[${S}]`,null)}_getMetaTagsForScope(l,y,I){switch(y){case v.IR.ROOT:case v.IR.BETTING:case v.IR.CASINO:return(0,d.A)(l,`[${y}]`,null);case v.IR.SPORT:return(0,d.A)(l,`[${y}][${I.sportId}]`,null);case v.IR.REGION:return(0,d.A)(l,`[${y}][${I.regionId}]`,null);case v.IR.LEAGUE:return(0,d.A)(l,`[${y}][${I.leagueId}]`,null);default:return null}}_generateMetaDefinitions(l){return Object.values(v.jY).map(y=>{const S=(0,d.A)(l,v.G[y],"");return{...this._isTwitterTag(y)?{name:y}:{property:y},content:S||""}})}_replaceSocialMediaTags(l){Object.values(v.jY).forEach(y=>{const I=this._isTwitterTag(y)?"name":"property",S=l.find(P=>P[I]===y);S?.content?.trim()?this._meta.updateTag(S):this._meta.removeTag(`${I}='${y}'`)})}_isTwitterTag(l){return l.startsWith("twitter:")}_areMetaTagsEmpty(l){return Object.values(l).every(y=>!y?.trim())}static{this.\u0275fac=function(y){return new(y||E)}}static{this.\u0275prov=o.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}return E})()},62861:(he,M,r)=>{"use strict";r.d(M,{x:()=>C});var o=r(54438),i=r(60177),d=r(65283);class h{static fromTiersResponse(y){return y.payload}static fromTierCategoriesResponse(y){return y.payload}static fromCategoryItemsResponse(y){return y.payload}static fromPointBalanceResponse(y){return y.payload}static fromAwardsTypesResponse(y){return y.payload}static fromAwardsResponse(y){return y.payload}static fromReferAFriendResponse(y){return y.payload}}var v=r(95006),_=r(58167),m=r(34405),p=r(42199),u=r(2428),E=r(38886);let C=(()=>{class l{constructor(){this._httpService=(0,o.WQX)(d.k),this._authService=(0,o.WQX)(_.u),this._restConfigurationService=(0,o.WQX)(m.M),this._platformId=(0,o.WQX)(o.Agw),this.currentTier=(0,o.vPA)(0),this.isMissionMainPageActive=(0,o.vPA)(!1),this.activeTier=(0,o.vPA)(0),this.userPointsBalance=(0,o.vPA)({}),this.changedAfterAuthTracker=(0,o.vPA)(0),this.allTiers=(0,o.vPA)([]),this.activeTierCategories=(0,o.vPA)([]),this.allTiersLoaded=(0,o.vPA)(!1),this.shouldFilter=(0,o.vPA)(!1),this.initSetupFinished=(0,o.EWP)(()=>this.allTiersLoaded()&&0!==this.changedAfterAuthTracker()),this.MISSIONS_DIAMOND_TIER=E.ul,this.shopLayoutType=(0,o.vPA)("highlighted"),this.isSingleTierMissions=!1,this.hasAvailableMissions=(0,o.vPA)(!1),this.currentSeoContent=(0,o.vPA)({}),this.isDiamondTierActive=(0,o.EWP)(()=>this.allTiers()[this.activeTier()]?.type===this.MISSIONS_DIAMOND_TIER),this.isUserDiamondTier=(0,o.EWP)(()=>this.allTiers()[this.currentTier()]?.type===this.MISSIONS_DIAMOND_TIER),this.currentTierType=(0,o.EWP)(()=>this.allTiers()[this.currentTier()]?.type.toLocaleLowerCase()),this.activeTierType=(0,o.EWP)(()=>this.allTiers()[this.activeTier()]?.type.toLocaleLowerCase()),this.usersNextTier=(0,o.EWP)(()=>this.allTiers()[this.currentTier()+1].name||""),this._restConfigurationService.getGeneralConfigurationParams("enableMissions")&&(this.isSingleTierMissions=this._restConfigurationService.getGeneralCustomConfigurationParams("enableSingleTierMissions"),(0,o.QZP)(()=>
1{if(!(0,i.isPlatformServer)(this._platformId)){if(!this.allTiersLoaded())return void this._getTiers().pipe((0,v.T)(I=>this.isSingleTierMissions?[{...I[0],toPoints:Number.MAX_SAFE_INTEGER-10}]:I)).subscribe(I=>{this.allTiers.set(I),this.allTiersLoaded.set(!0)});this._authService.currentUser().isUserLogin?this._handleLogin():this._handleLogout()}},{allowSignalWrites:!0}))}_handleLogin(){this._getUserPoints().subscribe(I=>{this.setUserPoints(I),this.changedAfterAuthTracker.update(S=>S+1)})}_handleLogout(){this.disableToggleFilter(),this._clearPoints(),this.changedAfterAuthTracker.update(I=>I+1)}_getTiers(){return this._httpService.get("api/v1/tiers","missions-tiers").pipe((0,v.T)(I=>h.fromTiersResponse(I)))}formatUpdateMissionData(I){return{tier:I.tierAfter,tierPoints:I.tierPoints,missionPoints:I.missionPoints}}setUserPoints(I){this.userPointsBalance.set(I);const S=this.isSingleTierMissions?0:this.allTiers().findIndex(P=>P.type===this.userPointsBalance().tier);this.currentTier.set(-1!==S?S:1),this.activeTier.set(-1!==S?S:1)}_getUserPoints(){return this._httpService.get("api/v1/point-balance","missions-point-balance").pipe((0,v.T)(I=>h.fromPointBalanceResponse(I)))}_clearPoints(){this.userPointsBalance.set({tierPoints:0,missionPoints:0}),this.currentTier.set(0),this.activeTier.set(0)}toggleAwardsFilter(){this.shouldFilter.update(I=>!I)}getTierCategories(I){return this._httpService.get(`api/v1/missions/categories/tier/${this.allTiers()[I].type}`,`missions-tier-categories-${I}`).pipe((0,v.T)(S=>h.fromTierCategoriesResponse(S)))}getItemsForCategory(I,S){return this._httpService.get(`api/v1/missions/tier/${this.allTiers()[S].type}/category/${I}`,`missions-missions-${S}-${I}
1`).pipe((0,v.T)(P=>h.fromCategoryItemsResponse(P)))}getAwardsTypes(){return this._httpService.get("api/v1/awards/types","missions-awards-types").pipe((0,v.T)(I=>h.fromAwardsTypesResponse(I)))}getAwards(I){return this._httpService.get(`api/v1/awards/type/${I}`,`missions-awards-${I}`).pipe((0,v.T)(S=>h.fromAwardsResponse(S)))}getTierNameFromType(I){return this.allTiers().find(S=>S.type===I)?.name}disableToggleFilter(){this.shouldFilter.set(!1)}handleBuyingMissionAward(I,S){return this._httpService.post(`api/v1/awards/buy/${I}/${S}`,{awardType:I,awardId:S},p.t4)}handleMissionsHistoryTransactions(I,S=0,P=100){return this._httpService.post(`${u.qG}/${u.ae.MISSION_TRANSACTION}?size=${P}&offset=${S}`,I,p.t4)}getUserReferAFriendInfo(){return this._httpService.get("api/v1/missions/refer-a-friend","missions-refer-a-friend",p.t4).pipe((0,v.T)(I=>h.fromReferAFriendResponse(I)))}static{this.\u0275fac=function(S){return new(S||l)}}static{this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})()},29689:(he,M,r)=>{"use strict";r.d(M,{I:()=>Xn});var o=r(31635),i=r(54438),d=r(79928),h=r(49714),v=r(76543),_=r(58728),m=r(95006),p=r(42199),u=r(82361),E=r(58114),C=r(73955),l=r(60177),y=r(26917),I=r(70775),S=r(10475),P=r(28998),F=r(23712),N=r(62125),U=r(39934),T=r(14553),L=r(55406),Z=r(93576),ie=r(5450),ve=r(76227),me=r(96467);const xe=vt=>({"c-notification-modal-wrapper--casino":vt});function $(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.k0s(),i.j41(5,"span"),i.EFF(6),i.k0s()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,5,i.bMT(1,3,"casino.min"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.minPricePerItemFrom,""),i.R7$(2),i.JRh(null!=ze.payload&&ze.payload.minPricePerItemTo?",":"")}}function V(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.k0s()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,4,i.bMT(1,2,"casino.max"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.minPricePerItemTo,"")}}function oe(vt,Dt){if(1&vt&&(i.j41(0,"span"),i.EFF(1),i.nI1(2,"translate"),i.DNE(3,$,7,7)(4,V,5,6,"span",18),i.k0s()),2&vt){const ze=i.XpG(2);i.R7$(),i.SpI(" ",i.bMT(2,3,"general.price_of_selection")+": "," "),i.R7$(2),i.vxM(null!=ze.payload&&ze.payload.minPricePerItemFrom?3:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.minPricePerItemTo?4:-1)}}function z(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.k0s(),i.j41(5,"span"),i.EFF(6),i.k0s()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,5,i.bMT(1,3,"casino.min"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.minNumberOfWinnerItemsFrom,""),i.R7$(2),i.JRh(null!=ze.payload&&ze.payload.minNumberOfWinnerItemsTo?",":"")}}function W(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.k0s()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,4,i.bMT(1,2,"casino.max"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.minNumberOfWinnerItemsTo,"")}}function re(vt,Dt){if(1&vt&&(i.j41(0,"span"),i.EFF(1),i.nI1(2,"translate"),i.DNE(3,z,7,7)(4,W,5,6,"span",18),i.k0s()),2&vt){const ze=i.XpG(2);i.R7$(),i.SpI(" ",i.bMT(2,3,"general.number_of_winner_selections")+": "," "),i.R7$(2),i.vxM(null!=ze.payload&&ze.payload.minNumberOfWinnerItemsFrom?3:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.minNumberOfWinnerItemsTo?4:-1)}}function ee(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.j41(5,"span",19),i.EFF(6),i.nI1(7,"formatCurrency"),i.k0s()(),i.j41(8,"span"),i.EFF(9),i.k0s()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,6,i.bMT(1,4,"casino.min"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.maxPayoutFrom,""),i.R7$(2),i.JRh(i.bMT(7,8,null==ze.payload||null==ze.payload.currency?null:ze.payload.currency.alphabeticCode)),i.R7$(3),i.JRh(null!=ze.payload&&ze.payload.maxPayoutTo?",":"")}}function Se(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.j41(5,"span",19),i.EFF(6),i.nI1(7,"formatCurrency"),i.k0s()()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,5,i.bMT(1,3,"casino.max"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.maxPayoutTo,""),i.R7$(2),i.JRh(i.bMT(7,7,null==ze.payload||null==ze.payload.currency?null:ze.payload.currency.alphabeticCode))}}function J(vt,Dt){if(1&vt&&(i.j41(0,"span"),i.EFF(1),i.nI1(2,"translate"),i.DNE(3,ee,10,10)(4,Se,8,9,"span",18),i.k0s()),2&vt){const ze=i.XpG(2);i.R7$(),i.SpI(" ",i.bMT(2,3,"ticket.payout")+": "," "),i.R7$(2),i.vxM(null!=ze.payload&&ze.payload.maxPayoutFrom?3:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.maxPayoutTo?4:-1)}}function de(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.j41(5,"span",19),i.EFF(6),i.nI1(7,"formatCurrency"),i.k0s()(),i.j41(8,"span"),i.EFF(9),i.k0s()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,6,i.bMT(1,4,"casino.min"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.payinFrom,""),i.R7$(2),i.JRh(i.bMT(7,8,null==ze.payload||null==ze.payload.currency?null:ze.payload.currency.alphabeticCode)),i.R7$(3),i.JRh(null!=ze.payload&&ze.payload.payinTo?",":"")}}function ke(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.j41(5,"span",19),i.EFF(6),i.nI1(7,"formatCurrency"),i.k0s()()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,5,i.bMT(1,3,"casino.max"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.payinTo,""),i.R7$(2),i.JRh(i.bMT(7,7,null==ze.payload||null==ze.payload.currency?null:ze.payload.currency.alphabeticCode))}}function ge(vt,Dt){if(1&vt&&(i.j41(0,"span"),i.EFF(1),i.nI1(2,"translate"),i.DNE(3,de,10,10)(4,ke,8,9,"span",18),i.k0s()),2&vt){const ze=i.XpG(2);i.R7$(),i.SpI(" ",i.bMT(2,3,"ticket.payin")+": "," "),i.R7$(2),i.vxM(null!=ze.payload&&ze.payload.payinFrom?3:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.payinTo?4:-1)}}function ye(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.k0s(),i.j41(5,"span"),i.EFF(6),i.k0s()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,5,i.bMT(1,3,"casino.min"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.minTotalPrice,""),i.R7$(2),i.JRh(null!=ze.payload&&ze.payload.minTotalPrice?",":"")}}function Pe(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.k0s()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,4,i.bMT(1,2,"casino.max"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.maxTotalPrice,"")}}function Me(vt,Dt){if(1&vt&&(i.j41(0,"span"),i.EFF(1),i.nI1(2,"translate"),i.DNE(3,ye,7,7)(4,Pe,5,6,"span",18),i.k0s()),2&vt){const ze=i.XpG(2);i.R7$(),i.SpI(" ",i.bMT(2,3,"ticket.ticket-price")+": "," "),i.R7$(2),i.vxM(null!=ze.payload&&ze.payload.minTotalPrice?3:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.maxTotalPrice?4:-1)}}function We(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.k0s(),i.j41(5,"span"),i.EFF(6),i.k0s()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,5,i.bMT(1,3,"casino.min"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.numberOfCombinationsFrom,""),i.R7$(2),i.JRh(null!=ze.payload&&ze.payload.numberOfCombinationsTo?",":"")}}function Oe(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate"),i.nI1(2,"lowercase"),i.j41(3,"span",18),i.EFF(4),i.k0s()),2&vt){const ze=i.XpG(3);i.SpI(" ",i.bMT(2,4,i.bMT(1,2,"casino.max"))," "),i.R7$(4),i.SpI(" ",null==ze.payload?null:ze.payload.numberOfCombinationsTo,"")}}function tt(vt,Dt){if(1&vt&&(i.j41(0,"span"),i.EFF(1),i.nI1(2,"translate"),i.DNE(3,We,7,7)(4,Oe,5,6,"span",18),i.k0s()),2&vt){const ze=i.XpG(2);i.R7$(),i.SpI(" ",i.bMT(2,3,"general.number_of_combinations")+": "," "),i.R7$(2),i.vxM(null!=ze.payload&&ze.payload.numberOfCombinationsFrom?3:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.numberOfCombinationsTo?4:-1)}}function Qe(vt,Dt){if(1&vt&&(i.j41(0,"div",11),i.DNE(1,oe,5,5,"span")(2,re,5,5,"span")(3,J,5,5,"span")(4,ge,5,5,"span")(5,Me,5,5,"span")(6,tt,5,5,"span"),i.k0s()),2&vt){const ze=i.XpG();i.R7$(),i.vxM(null!=ze.payload&&ze.payload.minPricePerItemFrom||null!=ze.payload&&ze.payload.minPricePerItemTo?1:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.minNumberOfWinnerItemsFrom||null!=ze.payload&&ze.payload.minNumberOfWinnerItemsTo?2:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.maxPayoutFrom||null!=ze.payload&&ze.payload.maxPayoutTo?3:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.payinFrom||null!=ze.payload&&ze.payload.payinTo?4:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.minTotalPrice||null!=ze.payload&&ze.payload.maxTotalPrice?5:-1),i.R7$(),i.vxM(null!=ze.payload&&ze.payload.numberOfCombinationsFrom||null!=ze.payload&&ze.payload.numberOfCombinationsTo?6:-1)}}function _t(vt,Dt){if(1&vt&&(i.j41(0,"span"),i.EFF(1),i.k0s()),2&vt){const ze=Dt.$implicit;i.R7$(),i.JRh(ze)}}function ht(vt,Dt){if(1&vt&&(i.j41(0,"div",13),i.nrm(1,"svg-icon",20),i.Z7z(2,_t,2,1,"span",null,i.fX1),i.k0s()),2&vt){const ze=i.XpG();i.R7$(2),i.Dyx(ze.errorMessages)}}function mt(vt,Dt){1&vt&&(i.EFF(0),i.nI1(1,"translate")),2&vt&&i.Sp
1I(" ",i.bMT(1,1,"general.casino_promotion_accepted")," ")}function Vt(vt,Dt){if(1&vt&&(i.nrm(0,"div",14),i.nI1(1,"safeHtml")),2&vt){const ze=i.XpG();i.Y8G("innerHtml",i.bMT(1,1,ze.innerHtmlContent),i.npT)}}function Ot(vt,Dt){if(1&vt){const ze=i.RV6();i.j41(0,"button",21),i.bIt("click",function(){i.eBV(ze);const Gt=i.XpG(2);return i.Njj(Gt.toggleBonusConditions())}),i.EFF(1),i.nI1(2,"translate"),i.k0s(),i.j41(3,"button",22),i.bIt("click",function(){i.eBV(ze);const Gt=i.XpG(2);return i.Njj(Gt.handleAction(Gt.NOTIFICATION_ACTIONS.ACCEPT,!0))}),i.EFF(4),i.nI1(5,"translate"),i.k0s()}2&vt&&(i.R7$(),i.SpI(" ",i.bMT(2,2,"general.sure_reject")," "),i.R7$(3),i.SpI(" ",i.bMT(5,4,"general.sure_accept")," "))}function Fe(vt,Dt){if(1&vt){const ze=i.RV6();i.j41(0,"button",23),i.bIt("click",function(){i.eBV(ze);const Gt=i.XpG(2);return i.Njj(Gt.handleAction(Gt.NOTIFICATION_ACTIONS.REJECT))}),i.EFF(1),i.nI1(2,"translate"),i.k0s(),i.j41(3,"button",24),i.bIt("click",function(){i.eBV(ze);const Gt=i.XpG(2);return i.Njj(Gt.handleAction(Gt.NOTIFICATION_ACTIONS.ACCEPT))}),i.EFF(4),i.nI1(5,"translate"),i.k0s()}if(2&vt){const ze=i.XpG(2);i.Y8G("disabled",ze.areActionsDisabled),i.R7$(),i.SpI(" ",i.bMT(2,4,"general.reject")," "),i.R7$(2),i.Y8G("disabled",ze.areActionsDisabled),i.R7$(),i.SpI(" ",i.bMT(5,6,"general.accept")," ")}}function Ye(vt,Dt){if(1&vt&&(i.j41(0,"div",16),i.DNE(1,Ot,6,6)(2,Fe,6,8),i.k0s()),2&vt){const ze=i.XpG();i.R7$(),i.vxM(ze.errorMessages.length?1:2)}}function Re(vt,Dt){if(1&vt){const ze=i.RV6();i.j41(0,"div",17)(1,"button",22),i.bIt("click",function(){i.eBV(ze);const Gt=i.XpG();return i.Njj(Gt.redirectToCasino())}),i.EFF(2),i.nI1(3,"translate"),i.k0s()()}2&vt&&(i.R7$(2),i.SpI(" ",i.bMT(3,1,"general.navigate_to_casino_games")," "))}let De=(()=>{class vt{constructor(){this._modalService=(0,i.WQX)(u.B),this._notificationsService=(0,i.WQX)(Xn),this._errorService=(0,i.WQX)(P.I),this._routingService=(0,i.WQX)(U.O),this._socketHandlerService=(0,i.WQX)(L.L),this._casinoHttpService=(0,i.WQX)(Z.B),this.casinoService=(0,i.WQX)(ie.p),this.innerHtmlContent="",this.areActionsDisabled=!1,this.hasAnyBonusConditions=!1,this.TIMEOUT_DURATON=5e3,this.NOTIFICATION_TYPES=v._n,this.NOTIFICATION_ACTIONS=v.pe,this.NOTIFICATION_STATUS=v.Yb,this.isNotificationProccessed=!1,this.errorMessages=[],this._regex=/(http\S+)/gi,this._anchorSubstitute='<a style="color: #396F85; font-weight: 700; margin-top: 2px" target="_blank" href="$1">$1</a>',this._subscriptions=[]}ngOnInit(){this._subscriptions.push(this._socketHandlerService.bonusNotificationsUpdate$.subscribe(ze=>{if(ze.id===this.payload.id){if(this.payload=ze,this.payload.status===v.Yb.ACCEPTED&&this.payload.casinoPageId)return void this.casinoService.casinoPromotionActive.set(!0);this._modalService.closeNotification({payload:ze,component:""})}}))}ngOnChanges(){this.checkHasAnyBonusConditions(),this.setInnerHtmlContent(),this.errorMessages=[],this.areActionsDisabled=!1}ngOnDestroy(){(0,F.A)(this._subscriptions,ze=>ze.unsubscribe())}setInnerHtmlContent(){this.innerHtmlContent=this.payload.body.replace(this._regex,this._anchorSubstitute)}checkHasAnyBonusConditions(){this.hasAnyBonusConditions=!!(this.payload.maxPayoutFrom||this.payload.maxPayoutTo||this.payload.minNumberOfWinnerItemsFrom||this.payload.minNumberOfWinnerItemsTo||this.payload.minPricePerItemFrom||this.payload.minPricePerItemTo||this.payload.minTotalPrice||this.payload.numberOfCombinationsFrom||this.payload.numberOfCombinationsTo||this.payload.payinFrom||this.payload.payinTo||this.payload.maxTotalPrice)}close(){this._modalService.closeNotification()}handleAction(ze,on=!1){ze===this.NOTIFICATION_ACTIONS.SEEN&&this.payload?.status!==this.NOTIFICATION_STATUS.NEW||((ze===this.NOTIFICATION_ACTIONS.ACCEPT||ze===this.NOTIFICATION_ACTIONS.REJECT)&&(this.areActionsDisabled=!0,setTimeout(()=>{this.areActionsDisabled=!1},this.TIMEOUT_DURATON)),this._notificationsService.handleBonusNotificationAction(this.payload,ze,on).subscribe(()=>{on&&(this.isNotificationProccessed=!1,this.errorMessages=[])},Gt=>{400===Gt.status?(this.isNotificationProccessed=!0,this.errorMessages=(0,N.A)(Gt,"error.errorMessages",[])):this._errorService.handleError(Gt)}))}toggleBonusConditions(){this.areActionsDisabled=!1,this.isNotificationProccessed=!1,this.errorMessages=[]}redirectToCasino(){this.casinoService.getCasinoPageSettings(this.payload?.casinoPageId).subscribe(ze=>{this.close(),this._routingService.navigateByUrl(this._routingService.getCasinoPageUrlByPage(ve.O.formatSlug(ze.payload.pageName)))})}static{this.\u0275fac=function(on){return new(on||vt)}}static{this.\u0275cmp=i.VBU({type:vt,selectors:[["bonus-notification-modal"]],inputs:{payload:"payload"},standalone:!0,features:[i.OA$,i.aNF],decls:30,vars:24,consts:[[1,"c-notification-modal-wrapper","c-notification-modal-wrapper--bonus",3,"ngClass"],["preventDoubleClick","",1,"c-button-close",3,"click"],["icon","close","data-cy","loginCloseButton",1,"c-button-close-icon"],[1,"c-notification-modal__header"],[1,"u-flex-shrink-0","u-mr-4","c-notification-modal-icon",3,"icon"],[1,"c-notification-modal__header-value"],[1,"c-notification-modal-title"],[1,"c-notification-modal__timestamp"],[1,"c-notification-modal__timestamp-type"],[1,"c-notification-modal__timestamp-dot"],[1,"c-notification-modal__timestamp-expiration"],[1,"c-notification-modal__body-conditions"],[1,"c-notification-modal__body"],[1,"c-notification-modal__body-confirmation"],[3,"innerHtml"],[1,"c-notification-modal__footer"],[1,"c-notification-modal__footer-buttons"],[1,"c-notification-modal__button"],[1,"c-notification-modal__price"],[1,"c-notification-modal__currency"],["icon","notification-alert",1,"c-icon--md-1","c-notification-modal__body-alert-icon"],["preventDoubleClick","",1,"c-notification-modal__footer-button","c-notification-modal__footer-button--reject",3,"click"],["preventDoubleClick","",1,"c-notification-modal__footer-button","c-notification-modal__footer-button--success",3,"click"],["preventDoubleClick","",1,"c-notification-modal__footer-button","c-notification-modal__footer-button--reject",3,"click","disabled"],["preventDoubleClick","",1,"c-notification-modal__footer-button","c-notification-modal__footer-button--success",3,"click","disabled"]],template:function(on,Gt){1&on&&(i.j41(0,"div",0)(1,"button",1),i.bIt("click",function(){return Gt.close()}),i.nrm(2,"svg-icon",2),i.k0s(),i.j41(3,"div",3),i.nrm(4,"svg-icon",4),i.nI1(5,"notificationIcon"),i.j41(6,"div",5),i.EFF(7),i.nI1(8,"formatCurrency"),i.k0s(),i.j41(9,"span",6),i.EFF(10),i.k0s(),i.j41(11,"div",7)(12,"span",8),i.EFF(13),i.nI1(14,"translate"),i.k0s(),i.nrm(15,"span",9),i.j41(16,"span"),i.EFF(17),i.nI1(18,"translate"),i.k0s(),i.j41(19,"span",10),i.EFF(20),i.nI1(21,"date"),i.k0s()(),i.DNE(22,Qe,7,6,"div",11),i.k0s(),i.j41(23,"div",12),i.DNE(24,ht,4,0,"div",13)(25,mt,2,3)(26,Vt,2,3,"div",14),i.k0s(),i.j41(27,"div",15),i.DNE(28,Ye,3,1,"div",16)(29,Re,4,3,"div",17),i.k0s()()),2&on&&(i.Y8G("ngClass",i.eq3(22,xe,Gt.payload.type===Gt.NOTIFICATION_TYPES.CASINO_PROMOTION)),i.R7$(4),i.FS9("icon",i.bMT(5,11,Gt.payload.type)),i.R7$(3),i.Lme(" ",Gt.payload.amount," ",i.bMT(8,13,Gt.payload.currency.alphabeticCode)," "),i.R7$(3),i.JRh(Gt.payload.headline),i.R7$(3),i.JRh(i.bMT(14,15,Gt.payload.type===Gt.NOTIFICATION_TYPES.CASINO_PROMOTION?"general.casino":"general.sport")),i.R7$(4),i.SpI("",i.bMT(18,17,"general.accept_time")," "),i.R7$(3),i.JRh(i.i5U(21,19,Gt.payload.acceptDeadline,"dd/MM, HH:mm")),i.R7$(2),i.vxM(!Gt.errorMessages.length&&Gt.hasAnyBonusConditions?22:-1),i.R7$(2),i.vxM(Gt.errorMessages.length?24:Gt.payload.status===Gt.NOTIFICATION_STATUS.ACCEPTED&&Gt.payload.casinoPageId?25:26),i.R7$(4),i.vxM(Gt.payload.status===Gt.NOTIFICATION_STATUS.NEW||Gt.payload.status===Gt.NOTIFICATION_STATUS.SEEN?28:Gt.payload.status===Gt.NOTIFICATION_STATUS.ACCEPTED&&Gt.payload.casinoPageId?29:-1))},dependencies:[l.CommonModule,l.NgClass,l.LowerCasePipe,l.DatePipe,E.A,me.D,C.h,C.D9,y.$,I.p,S.P,T.n,T.l],styles:['[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center;font-family:var(--font)}.c-button-close[_ngcontent-%COMP%]{top:0;height:50px;color:var(--baseTextColor)}.c-notification-modal-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;gap:16px;border-top:1px solid var(--base-blue-16);border-radius:12px;
1background:var(--singleNotificationBackground3);width:500px;padding:32px}.c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%]{border-top:1px solid var(--missionsNotificaionBorder);background:var(--singleNotificationBackground4)}.c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%] .c-notification-modal-icon[_ngcontent-%COMP%], .c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%] .c-notification-modal__timestamp-type[_ngcontent-%COMP%]{color:var(--missionsGold)}.c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%] .c-notification-modal-title[_ngcontent-%COMP%]{color:var(--missionsGold);font-size:20px;margin-top:0;margin-bottom:2px}.c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%] .c-notification-modal__body[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent 0%,var(--missionsNotificaionBorder2) 51.44%,transparent 100%)}.c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%] .c-notification-modal__footer-button[_ngcontent-%COMP%]{border:1px solid var(--missionsGold)}.c-notification-modal-wrapper.c-notification-modal-wrapper--bonus[_ngcontent-%COMP%]{border-top:1px solid var(--base-green-01);background:var(--singleNotificationBackground)}.c-notification-modal-wrapper.c-notification-modal-wrapper--bonus[_ngcontent-%COMP%] .c-notification-modal__body[_ngcontent-%COMP%]:before{background-image:var(--notificationDividerLineBonus)}.c-notification-modal-wrapper.c-notification-modal-wrapper--bonus[_ngcontent-%COMP%] .c-notification-modal-icon[_ngcontent-%COMP%], .c-notification-modal-wrapper.c-notification-modal-wrapper--bonus[_ngcontent-%COMP%] .c-notification-modal__timestamp-type[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-notification-modal-wrapper.c-notification-modal-wrapper--bonus[_ngcontent-%COMP%] .c-notification-modal-title[_ngcontent-%COMP%]{color:var(--base-green-01);font-size:20px;margin-top:0;margin-bottom:2px}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%]{border-color:var(--primary-purple-02);background:var(--singleNotificationBackground2)}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal__body[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent 0%,#42007B 51.44%,transparent 100%)}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal-icon[_ngcontent-%COMP%], .c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal__timestamp-type[_ngcontent-%COMP%], .c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal-title[_ngcontent-%COMP%]{color:var(--primary-purple-01)}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal__footer-button--success[_ngcontent-%COMP%]{background-color:var(--casino-purple)}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal__footer-button--reject[_ngcontent-%COMP%]{border:1px solid var(--casino-purple)}.c-notification-modal__header[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;gap:4px}.c-notification-modal__header-value[_ngcontent-%COMP%]{font-size:36px;font-weight:600;color:var(--baseTextColor03);text-transform:uppercase}.c-notification-modal-icon[_ngcontent-%COMP%]{color:var(--base-blue-16);width:44px;height:44px}.c-notification-modal-title[_ngcontent-%COMP%]{font-size:24px;color:var(--baseTextColor);max-width:70%;text-align:center;margin-top:12px;text-transform:uppercase}.c-notification-modal__timestamp[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;color:var(--baseTextColor04);font-weight:600}.c-notification-modal__timestamp-type[_ngcontent-%COMP%]{color:var(--base-blue-16)}.c-notification-modal__timestamp-expiration[_ngcontent-%COMP%]{color:var(--baseWhite16);font-size:14px;font-weight:400}.c-notification-modal__timestamp-dot[_ngcontent-%COMP%]{display:inline-block;width:3px;height:3px;background-color:var(--baseTextColor04);border-radius:50%;margin:0 5px}.c-notification-modal__body[_ngcontent-%COMP%]{position:relative;padding-top:28px;text-align:center;font-size:14px;color:var(--baseTextColor04);margin-bottom:16px;font-weight:600}.c-notification-modal__body[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;height:2px;width:100%;background-image:linear-gradient(90deg,transparent 0%,var(--infoNotificationBorder) 51.44%,transparent 100%)}.c-notification-modal__footer[_ngcontent-%COMP%]{text-align:center}.c-notification-modal__footer.c-notification-modal__footer--missions-shop[_ngcontent-%COMP%]{display:flex;gap:12px}.c-notification-modal__footer.c-notification-modal__footer--missions-shop[_ngcontent-%COMP%] .c-notification-modal__footer-button[_ngcontent-%COMP%]{flex:1}.c-notification-modal__footer-buttons[_ngcontent-%COMP%]{display:flex;gap:8px;width:100%}.c-notification-modal__footer-buttons[_ngcontent-%COMP%] .c-notification-modal__footer-button[_ngcontent-%COMP%]{flex:1}.c-notification-modal__footer-button[_ngcontent-%COMP%]{color:var(--baseTextColor);font-family:var(--font-cond);font-size:14px;font-weight:500;text-transform:uppercase;padding:13px 24px;border-radius:4px;border:1px solid var(--base-blue-16)}.c-notification-modal__footer-button[_ngcontent-%COMP%]:hover{opacity:.7}.c-notification-modal__footer-button.c-notification-modal__footer-button--success[_ngcontent-%COMP%]{color:var(--white);background-color:var(--base-green-01);border:none}.c-notification-modal__footer-button.c-notification-modal__footer-button--reject[_ngcontent-%COMP%]{border:1px solid var(--base-green-01);color:var(--baseWhite16)}.c-notification-modal__footer-button.c-notification-modal__footer-button--missions-shop[_ngcontent-%COMP%]{background:var(--missionsGold);color:var(--gray-10)}.c-notification-modal__body-conditions[_ngcontent-%COMP%]{display:flex;flex-direction:column;
1background:var(--notificationsBackground);border-radius:8px;padding:8px 12px;font-size:14px;color:var(--baseWhite16);width:100%;margin-top:10px;font-weight:600}.c-notification-modal__body-conditions[_ngcontent-%COMP%]:empty{display:none}.c-notification-modal__price[_ngcontent-%COMP%]{color:var(--base-green-01);font-weight:400}.c-notification-modal__currency[_ngcontent-%COMP%]{text-transform:uppercase;font-size:11px}.c-notification-modal__body-confirmation[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:24px}.c-notification-modal__body-alert-icon[_ngcontent-%COMP%]{color:var(--baseWhite02)}']})}}return vt})();var He=r(62861),we=r(20279);const Tt=vt=>({"c-notification-modal-wrapper--missions":vt}),ct=vt=>({"c-notification-modal__footer--missions-shop":vt});function tn(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate")),2&vt){i.XpG(2);const ze=i.r8f(0);i.Lme(" ",i.bMT(1,2,ze.text)," ",ze.value+" "," ")}}function Ee(vt,Dt){if(1&vt&&(i.EFF(0),i.nI1(1,"translate")),2&vt){i.XpG(2);const ze=i.r8f(0);i.Lme(" ",ze.value+" "," ",i.bMT(1,2,ze.text)," ")}}function se(vt,Dt){if(1&vt&&(i.j41(0,"div",5),i.DNE(1,tn,2,4)(2,Ee,2,4),i.k0s()),2&vt){const ze=i.XpG();i.R7$(),i.vxM(ze.payload().missionNotificationType||ze.payload().type===ze.NOTIFICATION_TYPES.TIER_DOWNGRADED?1:2)}}function be(vt,Dt){if(1&vt){const ze=i.RV6();i.j41(0,"button",16),i.bIt("click",function(){i.eBV(ze);const Gt=i.XpG();return i.Njj(Gt.redirectToMissionsShopPage())}),i.EFF(1),i.nI1(2,"translate"),i.k0s()}2&vt&&(i.R7$(),i.SpI(" ",i.bMT(2,1,"missions.go_to_missions_shop")," "))}let je=(()=>{class vt{constructor(){this.payload=i.hFB.required(),this._modalService=(0,i.WQX)(u.B),this._notificationsService=(0,i.WQX)(Xn),this._errorService=(0,i.WQX)(P.I),this._missionsService=(0,i.WQX)(He.x),this._routingService=(0,i.WQX)(U.O),this.NOTIFICATION_TYPES=v._n,this._regex=/(http\S+)/gi,this._anchorSubstitute='<a style="color: #396F85; font-weight: 700; margin-top: 2px" target="_blank" href="$1">$1</a>',this.isMission=(0,i.EWP)(()=>[v._n.MISSION,v._n.POINTS_EARNED,v._n.TIER_UPGRADED,v._n.TIER_DOWNGRADED].includes(this.payload()?.type)),this.extraTextAndValue=(0,i.EWP)(()=>{const ze=this.payload().missionNotificationType;return this.payload()?.type===v._n.POINTS_EARNED||ze===v._n.POINTS_EARNED?{text:"general.points",value:this.payload().points.toString()}:this.payload()?.type===v._n.TIER_UPGRADED||ze===v._n.TIER_UPGRADED?{text:"general.tier_level",value:this._missionsService.getTierNameFromType(this.payload().tier)??""}:this.payload()?.type===v._n.TIER_DOWNGRADED||ze===v._n.TIER_DOWNGRADED?{text:"general.back_to_level",value:this._missionsService.getTierNameFromType(this.payload().tier)??""}:null}),this.innerHtmlContentComputed=(0,i.EWP)(()=>this.payload().body.replace(this._regex,this._anchorSubstitute))}ngOnInit(){this.payload().status!==v.Yb.NEW&&this._modalService.closeNotification()}close(){this._handleNotification()}_handleNotification(){this._notificationsService.handleBonusNotificationAction(this.payload(),v.pe.SEEN).subscribe(()=>{this._modalService.closeNotification()},ze=>{this._modalService.closeNotification(),this._errorService.handleError(ze)})}redirectToMissionsShopPage(){this._routingService.navigateByUrl(this._routingService.getUrlByPageName(we.Bi.MISSIONS_SHOP)),this._handleNotification()}static{this.\u0275fac=function(on){return new(on||vt)}}static{this.\u0275cmp=i.VBU({type:vt,selectors:[["info-notification-modal"]],inputs:{payload:[1,"payload"]},standalone:!0,features:[i.aNF],decls:28,vars:27,consts:[[1,"c-notification-modal-wrapper",3,"ngClass"],["preventDoubleClick","",1,"c-button-close",3,"click"],["icon","close","data-cy","loginCloseButton",1,"c-button-close-icon"],[1,"c-notification-modal__header"],[1,"u-flex-shrink-0","u-mr-4","c-notification-modal-icon",3,"icon"],[1,"c-notification-modal__header-value"],[1,"c-notification-modal-title"],[1,"c-notification-modal__timestamp"],[1,"c-notification-modal__timestamp-type"],[1,"c-notification-modal__timestamp-dot"],[1,"c-notification-modal__timestamp-expiration"],[1,"c-notification-modal__body"],[3,"innerHtml"],[1,"c-notification-modal__footer",3,"ngClass"],["preventDoubleClick","",1,"c-notification-modal__footer-button",3,"click"],[1,"c-notification-modal__footer-button","c-notification-modal__footer-button--missions-shop"],[1,"c-notification-modal__footer-button","c-notification-modal__footer-button--missions-shop",3,"click"]],template:function(on,Gt){if(1&on){const Qn=i.RV6();i.SS7(0),i.j41(1,"div",0)(2,"button",1),i.bIt("click",function(){return i.eBV(Qn),i.Njj(Gt.close())}),i.nrm(3,"svg-icon",2),i.k0s(),i.j41(4,"div",3),i.nrm(5,"svg-icon",4),i.DNE(6,se,3,1,"div",5),i.j41(7,"span",6),i.EFF(8),i.k0s(),i.j41(9,"div",7)(10,"span",8),i.EFF(11),i.nI1(12,"translate"),i.k0s(),i.nrm(13,"span",9),i.j41(14,"span"),i.EFF(15),i.nI1(16,"translate"),i.k0s(),i.j41(17,"span",10),i.EFF(18),i.nI1(19,"date"),i.k0s()()(),i.j41(20,"div",11),i.nrm(21,"div",12),i.nI1(22,"safeHtml"),i.k0s(),i.j41(23,"div",13)(24,"button",14),i.bIt("click",function(){return i.eBV(Qn),i.Njj(Gt.close())}),i.EFF(25),i.nI1(26,"translate"),i.k0s(),i.DNE(27,be,3,3,"button",15),i.k0s()()}if(2&on){let Qn,Ct;const ut=i.bH3(Gt.extraTextAndValue());i.R7$(),i.Y8G("ngClass",i.eq3(23,Tt,Gt.isMission())),i.R7$(4),i.Y8G("icon",Gt.isMission()?"missions-without-star":"info"),i.R7$(),i.vxM(ut?6:-1),i.R7$(2),i.JRh(Gt.payload().headline),i.R7$(3),i.JRh(i.bMT(12,12,Gt.isMission()?"general.missions":"general.info")),i.R7$(4),i.SpI("",i.bMT(16,14,"general.expiration_time")," "),i.R7$(3),i.JRh(i.i5U(19,16,Gt.payload().expireDeadline,"dd/MM, HH:mm")),i.R7$(3),i.Y8G("innerHtml",i.bMT(22,19,Gt.innerHtmlContentComputed()),i.npT),i.R7$(2),i.Y8G("ngClass",i.eq3(25,ct,Gt.payload().type===Gt.NOTIFICATION_TYPES.POINTS_EARNED||(null==(Qn=Gt.payload())?null:Qn.missionNotificationType)===Gt.NOTIFICATION_TYPES.POINTS_EARNED)),i.R7$(2),i.SpI(" ",i.bMT(26,21,"general.read_and_close")," "),i.R7$(2),i.vxM((null==(Ct=Gt.payload())?null:Ct.type)===Gt.NOTIFICATION_TYPES.POINTS_EARNED||(null==(Ct=Gt.payload())?null:Ct.missionNotificationType)===Gt.NOTIFICATION_TYPES.POINTS_EARNED?27:-1)}},dependencies:[l.CommonModule,l.NgClass,l.DatePipe,E.A,me.D,C.h,C.D9,y.$,T.n,T.l],styles:['[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center;font-family:var(--font)}.c-button-close[_ngcontent-%COMP%]{top:0;height:50px;color:var(--baseTextColor)}.c-notification-modal-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;gap:16px;border-top:1px solid var(--base-blue-16);border-radius:12px;
1background:var(--singleNotificationBackground3);width:500px;padding:32px}.c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%]{border-top:1px solid var(--missionsNotificaionBorder);background:var(--singleNotificationBackground4)}.c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%] .c-notification-modal-icon[_ngcontent-%COMP%], .c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%] .c-notification-modal__timestamp-type[_ngcontent-%COMP%]{color:var(--missionsGold)}.c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%] .c-notification-modal-title[_ngcontent-%COMP%]{color:var(--missionsGold);font-size:20px;margin-top:0;margin-bottom:2px}.c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%] .c-notification-modal__body[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent 0%,var(--missionsNotificaionBorder2) 51.44%,transparent 100%)}.c-notification-modal-wrapper.c-notification-modal-wrapper--missions[_ngcontent-%COMP%] .c-notification-modal__footer-button[_ngcontent-%COMP%]{border:1px solid var(--missionsGold)}.c-notification-modal-wrapper.c-notification-modal-wrapper--bonus[_ngcontent-%COMP%]{border-top:1px solid var(--base-green-01);background:var(--singleNotificationBackground)}.c-notification-modal-wrapper.c-notification-modal-wrapper--bonus[_ngcontent-%COMP%] .c-notification-modal__body[_ngcontent-%COMP%]:before{background-image:var(--notificationDividerLineBonus)}.c-notification-modal-wrapper.c-notification-modal-wrapper--bonus[_ngcontent-%COMP%] .c-notification-modal-icon[_ngcontent-%COMP%], .c-notification-modal-wrapper.c-notification-modal-wrapper--bonus[_ngcontent-%COMP%] .c-notification-modal__timestamp-type[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-notification-modal-wrapper.c-notification-modal-wrapper--bonus[_ngcontent-%COMP%] .c-notification-modal-title[_ngcontent-%COMP%]{color:var(--base-green-01);font-size:20px;margin-top:0;margin-bottom:2px}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%]{border-color:var(--primary-purple-02);background:var(--singleNotificationBackground2)}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal__body[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent 0%,#42007B 51.44%,transparent 100%)}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal-icon[_ngcontent-%COMP%], .c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal__timestamp-type[_ngcontent-%COMP%], .c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal-title[_ngcontent-%COMP%]{color:var(--primary-purple-01)}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal__footer-button--success[_ngcontent-%COMP%]{background-color:var(--casino-purple)}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal__footer-button--reject[_ngcontent-%COMP%]{border:1px solid var(--casino-purple)}.c-notification-modal__header[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;gap:4px}.c-notification-modal__header-value[_ngcontent-%COMP%]{font-size:36px;font-weight:600;color:var(--baseTextColor03);text-transform:uppercase}.c-notification-modal-icon[_ngcontent-%COMP%]{color:var(--base-blue-16);width:44px;height:44px}.c-notification-modal-title[_ngcontent-%COMP%]{font-size:24px;color:var(--baseTextColor);max-width:70%;text-align:center;margin-top:12px;text-transform:uppercase}.c-notification-modal__timestamp[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;color:var(--baseTextColor04);font-weight:600}.c-notification-modal__timestamp-type[_ngcontent-%COMP%]{color:var(--base-blue-16)}.c-notification-modal__timestamp-expiration[_ngcontent-%COMP%]{color:var(--baseWhite16);font-size:14px;font-weight:400}.c-notification-modal__timestamp-dot[_ngcontent-%COMP%]{display:inline-block;width:3px;height:3px;background-color:var(--baseTextColor04);border-radius:50%;margin:0 5px}.c-notification-modal__body[_ngcontent-%COMP%]{position:relative;padding-top:28px;text-align:center;font-size:14px;color:var(--baseTextColor04);margin-bottom:16px;font-weight:600}.c-notification-modal__body[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;height:2px;width:100%;background-image:linear-gradient(90deg,transparent 0%,var(--infoNotificationBorder) 51.44%,transparent 100%)}.c-notification-modal__footer[_ngcontent-%COMP%]{text-align:center}.c-notification-modal__footer.c-notification-modal__footer--missions-shop[_ngcontent-%COMP%]{display:flex;gap:12px}.c-notification-modal__footer.c-notification-modal__footer--missions-shop[_ngcontent-%COMP%] .c-notification-modal__footer-button[_ngcontent-%COMP%]{flex:1}.c-notification-modal__footer-buttons[_ngcontent-%COMP%]{display:flex;gap:8px;width:100%}.c-notification-modal__footer-buttons[_ngcontent-%COMP%] .c-notification-modal__footer-button[_ngcontent-%COMP%]{flex:1}.c-notification-modal__footer-button[_ngcontent-%COMP%]{color:var(--baseTextColor);font-family:var(--font-cond);font-size:14px;font-weight:500;text-transform:uppercase;padding:13px 24px;border-radius:4px;border:1px solid var(--base-blue-16)}.c-notification-modal__footer-button[_ngcontent-%COMP%]:hover{opacity:.7}.c-notification-modal__footer-button.c-notification-modal__footer-button--success[_ngcontent-%COMP%]{color:var(--white);background-color:var(--base-green-01);border:none}.c-notification-modal__footer-button.c-notification-modal__footer-button--reject[_ngcontent-%COMP%]{border:1px solid var(--base-green-01);color:var(--baseWhite16)}.c-notification-modal__footer-button.c-notification-modal__footer-button--missions-shop[_ngcontent-%COMP%]{background:var(--missionsGold);color:var(--gray-10)}.c-notification-modal__body-conditions[_ngcontent-%COMP%]{display:flex;flex-direction:column;
1background:var(--notificationsBackground);border-radius:8px;padding:8px 12px;font-size:14px;color:var(--baseWhite16);width:100%;margin-top:10px;font-weight:600}.c-notification-modal__body-conditions[_ngcontent-%COMP%]:empty{display:none}.c-notification-modal__price[_ngcontent-%COMP%]{color:var(--base-green-01);font-weight:400}.c-notification-modal__currency[_ngcontent-%COMP%]{text-transform:uppercase;font-size:11px}.c-notification-modal__body-confirmation[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:24px}.c-notification-modal__body-alert-icon[_ngcontent-%COMP%]{color:var(--baseWhite02)}']})}}return vt})();var ft=r(85375),kt=r(24709);let Yt=(()=>{class vt{constructor(){this.payload=i.hFB.required(),this._modalService=(0,i.WQX)(u.B),this._notificationsService=(0,i.WQX)(Xn),this._errorService=(0,i.WQX)(P.I),this._regex=/(http\S+)/gi,this._anchorSubstitute='<a style="color: #396F85; font-weight: 700; margin-top: 2px" target="_blank" href="$1">$1</a>',this.innerHtmlContentComputed=(0,i.EWP)(()=>this.payload().body.replace(this._regex,this._anchorSubstitute))}ngOnInit(){this.payload().status!==v.Yb.NEW&&this._modalService.closeNotification()}close(){this._handleNotification()}navigateToGame(){this._handleNotification(),this.freeSpinsNotificationSlider.navigateToGame()}_handleNotification(){this._notificationsService.handleBonusNotificationAction(this.payload(),v.pe.SEEN).subscribe(()=>{this._modalService.closeNotification()},ze=>{this._modalService.closeNotification(),this._errorService.handleError(ze)})}static{this.\u0275fac=function(on){return new(on||vt)}}static{this.\u0275cmp=i.VBU({type:vt,selectors:[["free-spins-notification-modal"]],viewQuery:function(on,Gt){if(1&on&&i.GBs(kt.Y,5),2&on){let Qn;i.mGM(Qn=i.lsd())&&(Gt.freeSpinsNotificationSlider=Qn.first)}},inputs:{payload:[1,"payload"]},standalone:!0,features:[i.aNF],decls:18,vars:11,consts:[[1,"c-notification-modal-wrapper","c-notification-modal-wrapper--casino"],["preventDoubleClick","",1,"c-button-close",3,"click"],["icon","close","data-cy","loginCloseButton",1,"c-button-close-icon"],[1,"c-notification-modal__header"],["icon","notification-casino-card",1,"u-flex-shrink-0","u-mr-4","u-mb-5","c-notification-modal-icon"],[1,"c-notification-modal-title"],[1,"c-notification-modal-type"],[1,"c-notification-modal__body"],[3,"freeCasinoGames"],[1,"c-notification-modal__body-text",3,"innerHtml"],[1,"c-notification-modal__footer"],["preventDoubleClick","",1,"c-notification-modal__footer-button",3,"click"]],template:function(on,Gt){1&on&&(i.j41(0,"div",0)(1,"button",1),i.bIt("click",function(){return Gt.close()}),i.nrm(2,"svg-icon",2),i.k0s(),i.j41(3,"div",3),i.nrm(4,"svg-icon",4),i.j41(5,"span",5),i.EFF(6),i.k0s(),i.j41(7,"span",6),i.EFF(8),i.nI1(9,"translate"),i.k0s()(),i.j41(10,"div",7),i.nrm(11,"free-spins-notification-slider",8)(12,"div",9),i.nI1(13,"safeHtml"),i.k0s(),i.j41(14,"div",10)(15,"button",11),i.bIt("click",function(){return Gt.navigateToGame()}),i.EFF(16),i.nI1(17,"translate"),i.k0s()()()),2&on&&(i.R7$(6),i.JRh(Gt.payload().headline),i.R7$(2),i.JRh(i.bMT(9,5,"general.casino")),i.R7$(3),i.Y8G("freeCasinoGames",Gt.payload().freeSpinsGames),i.R7$(),i.Y8G("innerHtml",i.bMT(13,7,Gt.innerHtmlContentComputed()),i.npT),i.R7$(4),i.SpI(" ",i.bMT(17,9,"general.play_now")," "))},dependencies:[l.CommonModule,E.A,me.D,C.h,C.D9,y.$,T.n,T.l,kt.Y],styles:['[_nghost-%COMP%]{align-items:center;justify-content:center;font-family:var(--font);display:flex;max-height:100vh;flex-direction:column}.c-button-close[_ngcontent-%COMP%]{top:0;height:50px;color:var(--baseTextColor)}.c-notification-modal-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;gap:16px;border-top:1px solid var(--base-blue-16);border-radius:12px;background:var(--singleNotificationBackground3);width:500px;padding:32px;max-height:90vh;overflow-y:auto}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%]{border-color:var(--primary-purple-02);background:var(--singleNotificationBackground2)}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal__body[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent 0%,#42007B 51.44%,transparent 100%)}.c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal-icon[_ngcontent-%COMP%], .c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal-title[_ngcontent-%COMP%], .c-notification-modal-wrapper.c-notification-modal-wrapper--casino[_ngcontent-%COMP%] .c-notification-modal-type[_ngcontent-%COMP%]{color:var(--primary-purple-01)}.c-notification-modal__header[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;gap:2px}.c-notification-modal-icon[_ngcontent-%COMP%]{width:44px;height:44px}.c-notification-modal-title[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:130%;letter-spacing:-.1px;color:var(--baseTextColor);max-width:70%;text-align:center;margin-top:6px;text-transform:uppercase}.c-notification-modal-type[_ngcontent-%COMP%]{font-size:12px;font-family:var(--font);font-weight:400;color:var(--baseTextColor);max-width:70%;text-align:center;margin-top:4px;line-height:16px}.c-notification-modal__body-text[_ngcontent-%COMP%]{position:relative;color:var(--baseTextColor04);padding-top:18px}.c-notification-modal__body-text[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;height:2px;width:100%;background-image:linear-gradient(90deg,transparent 0%,#42007B 51.44%,transparent 100%)}.c-notification-modal__body[_ngcontent-%COMP%]{font-size:14px;font-family:var(--font);font-weight:400;color:var(--baseTextColor04);position:relative;text-align:center;line-height:130%;padding:4px 32px 0;margin:0 -32px 16px}.c-notification-modal__footer[_ngcontent-%COMP%]{text-align:center}.c-notification-modal__footer-button[_ngcontent-%COMP%]{font-size:14px;font-family:var(--font-cond);font-weight:500;text-transform:uppercase;color:var(--white);padding:13px 24px;border-radius:4px;line-height:20px;
1min-width:200px;background-color:var(--casino-purple)}.c-notification-modal__footer-button[_ngcontent-%COMP%]:hover{opacity:.7}']})}}return vt})();var yn=r(48391);const ln=(vt,Dt)=>Dt.id;function Mn(vt,Dt){if(1&vt){const ze=i.RV6();i.j41(0,"div",16),i.bIt("click",function(){const Gt=i.eBV(ze).$implicit,Qn=i.XpG();return i.Njj(Qn.toggleReward(Gt.id,Gt.isDisabled))}),i.j41(1,"div",17)(2,"span",18),i.EFF(3),i.nI1(4,"translate"),i.k0s(),i.j41(5,"span",19),i.EFF(6),i.k0s()(),i.nrm(7,"img",20),i.k0s()}if(2&vt){const ze=Dt.$implicit;i.ZvI("c-reward-card c-reward-card--",ze.type.toLowerCase(),""),i.AVh("selected",ze.isSelected)("disabled",ze.isDisabled),i.R7$(3),i.JRh(i.bMT(4,10,"general."+ze.type.toLowerCase())),i.R7$(3),i.JRh(ze.shortDescription),i.R7$(),i.Y8G("src",ze.imageUrl,i.B4B)}}class An{constructor(){this._modalService=(0,i.WQX)(u.B),this._socketHandlerService=(0,i.WQX)(L.L),this._notificationsService=(0,i.WQX)(Xn),this.NOTIFICATION_ACTIONS=v.pe,this.payload={},this.selectedIds=(0,i.vPA)([]),this._subscriptions=[],this.rewardsWithState=(0,i.EWP)(()=>(0,yn.u)(this.payload,this.selectedIds())),this.isConfirmDisabled=(0,i.EWP)(()=>{const Dt=this.payload.maxPotentialRewards||0,ze=this.selectedIds().length;return 0===ze||ze>Dt})}ngOnInit(){this._subscribeOnBonusNotificationsUpdate()}ngOnDestroy(){(0,F.A)(this._subscriptions,Dt=>Dt.unsubscribe())}_subscribeOnBonusNotificationsUpdate(){this._subscriptions.push(this._socketHandlerService.bonusNotificationsUpdate$.subscribe(Dt=>{Dt.id===this.payload.id&&(this.payload=Dt)}))}toggleReward(Dt,ze){ze||this.selectedIds.update(on=>on.includes(Dt)?on.filter(Gt=>Gt!==Dt):[...on,Dt])}handleBonusChoiceAction(Dt){const ze=Dt===v.pe.SEEN&&this.payload.status===v.Yb.SEEN,on=Dt===v.pe.ACCEPT&&this.isConfirmDisabled();if(ze||on)return;
1const Gt={notificationId:this.payload.id,action:Dt,acceptedRewardIds:Dt===v.pe.ACCEPT?this.selectedIds():null};this._notificationsService.handleBonusChoiceNotificationAction(Gt).subscribe()}closeModal(){this._modalService.closeNotification()}static{this.\u0275fac=function(ze){return new(ze||An)}}static{this.\u0275cmp=i.VBU({type:An,selectors:[["bonus-choice-notification-modal"]],inputs:{payload:"payload"},standalone:!0,features:[i.aNF],decls:27,vars:16,consts:[[1,"c-bonus-choice-notification-modal",3,"click"],["preventDoubleClick","",1,"c-bonus-choice-notification-modal__close",3,"click"],["icon","close",1,"c-bonus-choice-notification-modal__close-icon"],[1,"c-bonus-choice-notification-modal__header"],[1,"c-bonus-choice-notification-modal__title"],[1,"c-bonus-choice-notification-modal__date"],[1,"c-bonus__type"],[1,"c-bonus__dot"],[1,"c-bonus__text"],[1,"c-bonus__date"],[1,"c-bonus-choice-notification-modal__divider"],[1,"c-bonus-choice-notification-modal__body"],[1,"c-bonus-choice-notification-modal__body-ctn"],[3,"class","selected","disabled"],[1,"c-bonus-choice-notification-modal__footer"],[1,"c-bonus-choice-notification-modal__footer-btn","c-bonus-choice-notification-modal__footer-btn--success",3,"click","disabled"],[3,"click"],[1,"c-reward-content__info"],[1,"c-reward-content__info-title"],[1,"c-reward-content__info-value"],[1,"c-reward-content__img",3,"src"]],template:function(ze,on){1&ze&&(i.j41(0,"div",0),i.bIt("click",function(){return on.handleBonusChoiceAction(on.NOTIFICATION_ACTIONS.SEEN)}),i.j41(1,"div",1),i.bIt("click",function(){return on.handleBonusChoiceAction(on.NOTIFICATION_ACTIONS.SEEN),on.closeModal()}),i.nrm(2,"svg-icon",2),i.k0s(),i.j41(3,"div",3)(4,"div",4),i.EFF(5),i.k0s(),i.j41(6,"div",5)(7,"span",6),i.EFF(8),i.nI1(9,"translate"),i.k0s(),i.nrm(10,"div",7),i.j41(11,"span",8),i.EFF(12),i.nI1(13,"translate"),i.k0s(),i.j41(14,"span",9),i.EFF(15),i.nI1(16,"date"),i.k0s()()(),i.nrm(17,"div",10),i.j41(18,"div",11)(19,"div",12),i.EFF(20),i.k0s()(),i.Z7z(21,Mn,8,12,"div",13,ln),i.j41(23,"div",14)(24,"button",15),i.bIt("click",function(){return on.handleBonusChoiceAction(on.NOTIFICATION_ACTIONS.ACCEPT)}),i.EFF(25),i.nI1(26,"translate"),i.k0s()()()),2&ze&&(i.R7$(5),i.JRh(on.payload.headline),i.R7$(3),i.SpI(" ",i.bMT(9,7,"general.bonus_choice")," "),i.R7$(4),i.JRh(i.bMT(13,9,"general.accept_time")),i.R7$(3),i.JRh(i.i5U(16,11,on.payload.acceptDeadline,"dd/MM, HH:mm")),i.R7$(5),i.SpI(" ",on.payload.body,""),i.R7$(),i.Dyx(on.rewardsWithState()),i.R7$(3),i.Y8G("disabled",on.isConfirmDisabled()),i.R7$(),i.SpI(" ",i.bMT(26,14,"general.accept")," "))},dependencies:[C.h,C.D9,l.CommonModule,l.DatePipe,E.A,me.D],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center;font-family:var(--font);padding:15px}.c-bonus-choice-notification-modal[_ngcontent-%COMP%]{padding:30px 15px;border-radius:8px;position:relative;border-top:var(--promotionChoiceModalBorder02);border-right:var(--promotionChoiceModalBorder03);border-bottom:var(--promotionChoiceModalBorder03);border-left:var(--promotionChoiceModalBorder03);background:var(--promotionChoiceModalBg);max-width:607px}.c-bonus-choice-notification-modal__close[_ngcontent-%COMP%]{position:absolute;top:17px;right:17px;color:var(--baseBlack8);border-radius:5px;border:1px solid var(--baseBlue56);display:flex;justify-content:center;align-items:center;width:36px;height:36px;cursor:pointer;transition:opacity .2s ease-in-out}.c-bonus-choice-notification-modal__close[_ngcontent-%COMP%]:hover{opacity:.7}.c-bonus-choice-notification-modal__close-icon[_ngcontent-%COMP%]{color:var(--baseBlue56);width:14px;height:14px}.c-bonus-choice-notification-modal__header[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.c-bonus-choice-notification-modal__title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:24px;font-weight:700;text-align:start;min-width:0;color:var(--baseTextColor03);overflow:hidden;text-overflow:ellipsis;font-family:var(--font);text-transform:uppercase;text-align:center;padding:0 45px}.c-bonus-choice-notification-modal__date[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:6px;justify-content:center;align-items:center;margin-top:5px}.c-bonus__type[_ngcontent-%COMP%]{font-size:12px;color:var(--base-blue-16);font-weight:400}.c-bonus__dot[_ngcontent-%COMP%]{display:flex;width:3px;height:3px;background:var(--baseWhite06);border-radius:50%}.c-bonus__text[_ngcontent-%COMP%]{font-size:12px;font-weight:400;color:var(--baseWhite06)}.c-bonus__date[_ngcontent-%COMP%]{font-size:14px;font-weight:600;color:var(--baseWhite30)}.c-bonus-choice-notification-modal__divider[_ngcontent-%COMP%]{width:100%;height:2px;
1background:var(--promotionChoiceModalDevider);margin:16px 0}.c-bonus-choice-notification-modal__body-ctn[_ngcontent-%COMP%]{font-size:14px;line-height:1.3;color:var(--baseWhite06);margin-bottom:14px;padding:0 40px;text-align:center}.c-reward-card[_ngcontent-%COMP%]{outline:2px solid var(--promotionChoiceModalRewardBorder);background:var(--promotionChoiceModalRewardBg);padding:13px 14px;margin-top:10px;border-radius:8px;position:relative;overflow:hidden;transition:opacity .2s ease-in-out;cursor:pointer}.c-reward-card.c-reward-card--sport_bonus[_ngcontent-%COMP%] .c-reward-content__info-value[_ngcontent-%COMP%]{background:var(--promotionChoiceRewardSportGradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-fill-color:transparent}.c-reward-card.c-reward-card--casino_bonus[_ngcontent-%COMP%] .c-reward-content__info-value[_ngcontent-%COMP%]{background:var(--promotionChoiceRewardCasinoGradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-fill-color:transparent}.c-reward-card.c-reward-card--free_spins[_ngcontent-%COMP%] .c-reward-content__info-value[_ngcontent-%COMP%]{background:var(--promotionChoiceRewardFreeSpinsGradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-fill-color:transparent}.c-reward-card.c-reward-card--mission_points[_ngcontent-%COMP%] .c-reward-content__info-value[_ngcontent-%COMP%]{background:var(--promotionChoiceRewardMissionPointsGradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-fill-color:transparent}.c-reward-card[_ngcontent-%COMP%]:hover{opacity:.8}.c-reward-card.selected[_ngcontent-%COMP%]{outline-color:var(--promotionChoiceModalRewardBorderSelected)}.c-reward-card.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.5}.c-reward-content__info[_ngcontent-%COMP%]{max-width:60%;display:flex;flex-direction:column;gap:3px;position:relative;z-index:1}.c-reward-content__info-title[_ngcontent-%COMP%]{font-weight:900;font-size:28px;font-style:italic;line-height:1;background:var(--promotionChoiceRewardTitleGradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-fill-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}.c-reward-content__info-value[_ngcontent-%COMP%]{font-weight:900;font-style:italic;font-size:35px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.c-reward-content__img[_ngcontent-%COMP%]{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.c-bonus-choice-notification-modal__footer[_ngcontent-%COMP%]{display:flex;margin-top:31px;gap:8px}.c-bonus-choice-notification-modal__footer-btn[_ngcontent-%COMP%]{text-align:center;font-size:14px;font-weight:500;font-family:var(--font-cond);border-radius:4px;color:var(--white);text-transform:uppercase;transition:opacity .2s ease-in-out;width:100%;padding:10px 0}.c-bonus-choice-notification-modal__footer-btn[_ngcontent-%COMP%]:disabled{transition:.2s all ease;opacity:.5;pointer-events:none}.c-bonus-choice-notification-modal__footer-btn.c-bonus-choice-notification-modal__footer-btn--success[_ngcontent-%COMP%]{background-color:var(--base-green-01);color:var(--white)}.c-bonus-choice-notification-modal__footer-btn[_ngcontent-%COMP%]:hover{opacity:.8}"]})}}(0,o.Cg)([ft.X],An.prototype,"_subscribeOnBonusNotificationsUpdate",null);var un=r(72864),wn=r(65283);class Xn{constructor(Dt){this._httpService=Dt,this._modalService=(0,i.WQX)(u.B),this.isNotificationsSidebarOpen=(0,i.vPA)(!1),this._notificationWrappersSubject=new d.t([]),this.notificationWrappers$=this._notificationWrappersSubject.asObservable().pipe((0,_.p)(()=>!this._isNotificationWrappersInitialValue)),this._allNotificationWrappersSubject=new d.t([]),this.allNotificationWrappers$=this._allNotificationWrappersSubject.asObservable().pipe((0,_.p)(()=>!this._isNotificationWrappersInitialValue)),this._newNotifications=new d.t([]),this.newNotifications$=this._newNotifications.asObservable(),this._isNotificationWrappersInitialValue=!0}get notificationWrappers(){return this._notificationWrappersSubject.value}get allNotificationWrappers(){return this._allNotificationWrappersSubject.value}static countNewNonBonusNotifications(Dt){return Dt.filter(ze=>ze.getNotification()?.status===v.Yb.NEW&&!ze.isBonusNotification()).length}
1static countNewBonusNotifications(Dt){return Dt.filter(ze=>ze.getNotification()?.status===v.Yb.NEW&&ze.isBonusNotification()).length}static filterBonusAcceptedNotifications(Dt){return Dt.reduce((ze,on)=>{if(on.isBonusNotification()){const Gt=on.getNotification();Gt.status===v.Yb.ACCEPTED&&(on.type===v._n.BONUS||on.type===v._n.DEPOSIT_BONUS||on.type===v._n.REGISTRATION_BONUS)&&ze.push(Gt)}return ze},[])}fetchNotifications(){(0,h.zV)([this._getPendingNotifications(),this._getHistoryNotifications()]).pipe((0,m.T)(([Dt,ze])=>[...Dt,...ze])).subscribe(Dt=>{this._sortNotifications(Dt);const ze=this._filterNewNotifications(Dt);this._isNotificationWrappersInitialValue=!1,this._notificationWrappersSubject.next(ze),this._allNotificationWrappersSubject.next(Dt),ze.length&&this._handleNewNotifications(ze)})}_filterNewNotifications(Dt){return Dt.filter(ze=>![v.Yb.EXPIRED,v.Yb.REJECTED].includes(ze.getNotification()?.status))}handleMarkAllNotificationsAsSeen(Dt){return this._httpService.post("api/v1/notification/pending/mark-seen",{notificationIds:Dt})}_handleNewNotifications(Dt){Dt.forEach(ze=>{switch(ze.type){case v._n.BONUS:this._openBonusNotification(ze.bonusNotification,ze.type);break;case v._n.CASINO_PROMOTION:this._openBonusNotification(ze.casinoPromotionNotification,ze.type);break;case v._n.DEPOSIT_BONUS:case v._n.REGISTRATION_BONUS:this._openBonusNotification(ze.autoBonusNotification,ze.type);break;case v._n.CASINO_BET_LIMIT:this._openAlertPopup(ze.casinoBetLimit);break;case v._n.INFO:this._openInfoNotification(ze.infoNotification);break;case v._n.FREE_SPINS:this._openFreeSpinsNotification(ze.infoNotification);break;case v._n.MISSION:case v._n.TIER_UPGRADED:case v._n.TIER_DOWNGRADED:case v._n.POINTS_EARNED:this._openInfoNotification(ze.missionNotification);break;case v._n.BONUS_CHOICE:this._openBonusChoiceNotification(ze.bonusChoiceNotification)}})}_openAlertPopup(Dt){document.fullscreenElement&&document.exitFullscreen(),this._modalService.openPopup({component:un.n,payload:{...Dt}})}handleBonusChoiceNotificationAction(Dt){return this._httpService.post("api/v1/notification/bonus-choice",Dt)}handleBonusNotificationAction(Dt,ze,on=!1){return this._httpService.post("api/v2/notification/pending",{notificationId:Dt.id,bulkId:Dt.bulkId,action:ze,overrideOtherBonuses:on},p.mp,!0)}handleNotificationUpdate(Dt,ze=!1){Dt.id||(Dt.id=Dt.notificationId);const on=this._createUpdateNotificationWrapperItem(Dt);this._updateNotificationWrappers(on),(this._modalService.isNotificationOpen||Dt.status===v.Yb.NEW||ze)&&this._handleNewNotifications([on])}_createUpdateNotificationWrapperItem(Dt){const ze=v.If[Dt.type],on=new v.$v({type:Dt.type,infoNotification:{},bonusNotification:{},autoBonusNotification:{},casinoPromotionNotification:{},bonusChoiceNotification:{},missionNotification:{},casinoBetLimit:{}});return on[ze]=Dt,new v.$v(on)}_updateNotificationWrappers(Dt){const ze=this.notificationWrappers.findIndex(Ct=>Dt.getNotification()?.id===Ct.getNotification()?.id),on=this.allNotificationWrappers.findIndex(Ct=>Dt.getNotification()?.id===Ct.getNotification()?.id),Gt=this.notificationWrappers,Qn=this.allNotificationWrappers;-1===ze?Gt.unshift(Dt):[v.Yb.ACCEPTED,v.Yb.SEEN].includes(Dt.getNotification()?.status)?Gt[ze]=Dt:Gt.splice(ze,1),-1===on?Qn.unshift(Dt):Qn[on]=Dt,this._notificationWrappersSubject.next(Gt),this._allNotificationWrappersSubject.next(Qn)}_getPendingNotifications(){return this._httpService.get("api/v2/notification/pending").pipe((0,m.T)(Dt=>this._extractNotificationWrappersFromHttpResponse(Dt)))}_getHistoryNotifications(){return this._httpService.get("api/v2/notification/history").pipe((0,m.T)(Dt=>this._extractNotificationWrappersFromHttpResponse(Dt)))}_sortNotifications(Dt){Dt.sort((ze,on)=>{const Gt=ze.getNotification();return on.getNotification().sentTime-Gt.sentTime}).sort((ze,on)=>{const Gt=ze.getNotification(),Qn=on.getNotification();return Qn.status===Gt.status?0:Gt.status===v.Yb.NEW?-1:Qn.status===v.Yb.NEW?1:0})}_extractNotificationWrappersFromHttpResponse(Dt){return Dt.payload?.map(ze=>new v.$v(ze)).filter(ze=>!!ze.getNotification())||[]}openCloseNotificatinsSidebar(Dt=!1){this.isNotificationsSidebarOpen.set(Dt)}
1_openBonusNotification(Dt,ze){Dt.status!==v.Yb.NEW&&Dt.status!==v.Yb.SEEN||this._modalService.openNotification({component:De,payload:{...Dt,type:ze}})}_openBonusChoiceNotification(Dt){Dt.status!==v.Yb.NEW&&Dt.status!==v.Yb.SEEN||this._modalService.openNotification({component:An,payload:Dt})}_openInfoNotification(Dt){Dt.status===v.Yb.NEW&&this._modalService.openNotification({component:je,payload:Dt})}_openFreeSpinsNotification(Dt){Dt.status===v.Yb.NEW&&this._modalService.openNotification({component:Yt,payload:{...Dt,type:v._n.FREE_SPINS}})}static{this.\u0275fac=function(ze){return new(ze||Xn)(i.KVO(wn.k))}}static{this.\u0275prov=i.jDH({token:Xn,factory:Xn.\u0275fac,providedIn:"root"})}}(0,o.Cg)([ft.X],Xn.prototype,"_handleNewNotifications",null),(0,o.Cg)([ft.X],Xn.prototype,"_openAlertPopup",null)},75300:(he,M,r)=>{"use strict";r.d(M,{o:()=>S});var o=r(31635);const i={en:{agent:"Agent",agentMessage:"{0} says",attachment_audio:"Audio attachment",attachment_file:"File attachment",attachment_image:"Image attachment",attachment_video:"Video attachment",attachmentAudioFallback:"Your browser does not support embedded audio. However you can {0}download it{/0}.",attachmentVideoFallback:"Your browser does not support embedded video. However you can {0}download it{/0}.",audioResponseOff:"Turn audio response on",audioResponseOn:"Turn audio response off",avatarAgent:"Agent icon",avatarBot:"Bot icon",avatarUser:"User icon",card:"Card {0}",cardImagePlaceholder:"Card image",cardNavNext:"Next card",cardNavPrevious:"Previous card",chatButtonTitle:"Live Chat",chatTitle:"Chat",chatSubtitle:"",clear:"Clear conversation",close:"Close widget",closing:"Closing",connected:"Connected",connecting:"Connecting",connectionFailureMessage:"Sorry, the assistant is unavailable right now. If the issue persists, contact your help desk.",connectionRetryLabel:"Try Again",defaultGreetingMessage:"Hey, Nice to meet you! Allow me a moment to get back to you.",defaultWaitMessage:"I'm still working on your request. Thank you for your patience!",defaultSorryMessage:"I'm sorry. I can\t get you the right content. Please try again.",disconnected:"Disconnected",download:"Download",editFieldErrorMessage:"Field input is invalid",editFormErrorMessage:"Some of the fields need your attention",endConversation:"End Conversation",endConversationConfirmMessage:"Are you sure you want to end the conversation?",endConversationDescription:"This will also clear your conversation history.",errorSpeechInvalidUrl:"ODA URL for connection is not set. Please pass 'URI' parameter during SDK initialization.",errorSpeechMultipleConnection:"Another voice recognition is ongoing. Can't start a new one.",errorSpeechTooMuchTimeout:"The voice message is too long to recognize and generate text.",errorSpeechUnavailable:"To allow voice messaging, update your browser settings to enable access to your microphone.",errorSpeechUnsupportedLocale:"The locale set for voice recognition is not supported. Please use a valid locale in 'speechLocale' setting.",inputPlaceholder:"Type a message",imageViewerClose:"Close image viewer",imageViewerOpen:"Open image viewer",itemIterator:"Item {0}",noResultText:"No more results",noSpeechTimeout:"The voice could not be detected to perform recognition.",language_detect:"Detect Language",linkField:"Click on the highlighted text to open Link for {0}",noText:"No",openMap:"Open Map",previousChats:"End of previous conversation",ratingStar:"Rate {0} star",recognitionTextPlaceholder:"Speak your message",requestLocation:"Requesting location",requestLocationDeniedPermission:"To allow sharing your location, update your browser settings to enable access to your location. You can also type in the location instead.",requestLocationDeniedTimeout:"It is taking too long to get your location. Please try sharing it again, or else t
1ype it in.",requestLocationDeniedUnavailable:"Your current location is unavailable. Please try sharing it again, or else type it in.",retryMessage:"Try again",send:"Send message",shareAudio:"Share Audio",shareFile:"Share File",shareLocation:"Share Location",shareVisual:"Share Image/Video",shareFailureMessage:"Sorry, sharing is not available on this device.",skillMessage:"Skill says",showOptions:"Show Options",speak:"Speak a message",relTimeNow:"Now",relTimeMoment:"A few seconds ago",relTimeMin:"{0}min ago",relTimeHr:"{0}hr ago",relTimeDay:"{0}d ago",relTimeMon:"{0}mth ago",relTimeYr:"{0}yr ago",typingIndicator:"Waiting for response",upload:"Share popup",uploadFailed:"Upload Failed.",uploadFileNetworkFailure:"Upload not completed due to network failure.",uploadFileSizeLimitExceeded:"File size should not be more than {0}MB.",uploadFileSizeZeroByte:"Files of size zero bytes can\t be uploaded.",uploadUnauthorized:"Upload request is unauthorized.",uploadUnsupportedFileType:"Unsupported file type.",userMessage:"I say",utteranceGeneric:"Message from skill.",webViewAccessibilityTitle:"In-widget Webview to display links",webViewClose:"Done",webViewErrorInfoDismiss:"Dismiss",webViewErrorInfoText:"Don\u2019t see the page? {0}Click here{/0} to open it in a browser.",yesText:"Yes"},sr:{agent:"Agent",agentMessage:"{0} ka\u017ee",attachment_audio:"Audio prilog",attachment_file:"Fajl u prilogu",attachment_image:"Slika u prilogu",attachment_video:"Video u prilogu",attachmentAudioFallback:"Va\u0161 pretra\u017eiva\u010d ne podr\u017eava ugra\u0111eni zvuk. Me\u0111utim, mo\u017eete ga {0}preuzeti{/0}.",attachmentVideoFallback:"Va\u0161 pretra\u017eiva\u010d ne podr\u017eava ugra\u0111eni video. Me\u0111utim, mo\u017eete ga {0}preuzeti{/0}.",audioResponseOff:"Uklju\u010di zvu\u010dni odgovor",audioResponseOn:"Isklju\u010di zvu\u010dni odgovor",avatarAgent:"Ikona agenta",avatarBot:"Ikona bota",avatarUser:"Ikona korisnika",card:"Kartica {0}",cardImagePlaceholder:"Slika kartice",cardNavNext:"Slede\u0107a kartica",cardNavPrevious:"Prethodna kartica",chatButtonTitle:"U\u017eivo \u0107askanje",chatTitle:"\u0106askanje",chatSubtitle:"",clear:"O\u010disti razgovor",close:"Zatvori vid\u017eet",closing:"Zatvaranje",connected:"Povezan",connecting:"Povezivanje",connectionFailureMessage:"\u017dao nam je, pomo\u0107nik trenutno nije dostupan. Ako se problem nastavi, kontaktirajte svoj help desk.",connectionRetryLabel:"Poku\u0161aj ponovo",defaultGreetingMessage:"\u0106ao, drago mi je da sam te upoznao! Daj mi trenutak da ti odgovorim.",defaultWaitMessage:"Jo\u0161 uvek radim na tvom zahtevu. Hvala ti na strpljenju!",defaultSorryMessage:"Izvinjavam se. Ne mogu vam dostaviti odgovaraju\u0107i sadr\u017eaj. Molim vas, poku\u0161ajte ponovo.",disconnected:"Isklju\u010den",download:"Preuzmi",editFieldErrorMessage:"Polje za unos je neva\u017ee\u0107e",editFormErrorMessage:"Neka od polja zahtevaju va\u0161u pa\u017enju",endConversation:"Zavr\u0161i razgovor",endConversationConfirmMessage:"Da li ste sigurni da \u017eelite zavr\u0161iti razgovor?",endConversationDescription:"Ovo \u0107e tako\u0111e obrisati istoriju va\u0161eg razgovora.",errorSpeechInvalidUrl:"ODA URL za povezivanje nije postavljen. Molimo vas da prosledite 'URI' parametar tokom inicijalizacije SDK-a.",errorSpeechMultipleConnection:"Druga prepoznavanja glasa su u toku. Ne mogu pokrenuti novo.",errorSpeechTooMuchTimeout:"Glasovna poruka je preduga da bi se prepoznala i generisao tekst.",errorSpeechUnavailable:"Da biste omogu\u0107ili glasovno slanje poruka, a\u017eurirajte postavke pretra\u017eiva\u010da da biste omogu\u0107ili pristup mikrofonu.",errorSpeechUnsupportedLocale:"Postavljena lokalna vrednost za prepoznavanje glasa nije podr\u017eana. Molimo vas da koristite va\u017ee\u0107u lokalnu vrednost u postavci 'speechLocale.",inputPlaceholder:"Unesite poruku",imageViewerClose:"Zatvori pregleda\u010d slika",imageViewerOpen:"Otvori pregleda\u010d slika",itemIterator:"Stavka {0}",noResultText:"Nema vi\u0161e rezultata",noSpeechTimeout:"Glas nije mogao biti detektovan da bi se izvr\u0161ilo prepoznavanje.",language_detect:"Otkrij Jezik",linkField:"Kliknite na ozna\u010deni tekst da biste otvorili link za {0}",noText:"Ne",openMap:"Otvori Mapu",previousChats:"Kraj prethodnog razgovora",ratingStar:"Ocenite {0} zvezda",recognitionTextPlaceholder:"Izgovori svoju poruku",requestLocation:"Tra\u017eenje lokacije",requestLocationDeniedPermission:"Da b
1iste omogu\u0107ili deljenje va\u0161e lokacije, a\u017eurirajte postavke pretra\u017eiva\u010da da biste omogu\u0107ili pristup lokaciji. Tako\u0111e mo\u017eete otkucati lokaciju.",requestLocationDeniedTimeout:"Dugo traje dobijanje va\u0161e lokacije. Molimo vas da poku\u0161ate ponovo, ili je upi\u0161ete.",requestLocationDeniedUnavailable:"Va\u0161a trenutna lokacija nije dostupna. Molimo vas da poku\u0161ate ponovo, ili je upi\u0161ete.",retryMessage:"Poku\u0161aj ponovo",send:"Po\u0161alji poruku",shareAudio:"Podeli Audio",shareFile:"Podeli Fajl",shareLocation:"Podeli Lokaciju",shareVisual:"Podeli Sliku/Video",shareFailureMessage:"Izvinjavamo se, deljenje nije dostupno na ovom ure\u0111aju.",skillMessage:"Ve\u0161tina ka\u017ee",showOptions:"Prika\u017ei Opcije",speak:"Izgovori poruku",relTimeNow:"Sada",relTimeMoment:"Pre nekoliko sekundi",relTimeMin:"Pre {0} minuta",relTimeHr:"Pre {0} sati",relTimeDay:"Pre {0} dana",relTimeMon:"Pre {0} meseci",relTimeYr:"Pre {0} godina",typingIndicator:"\u010cekanje na odgovor",upload:"Podeli iska\u010du\u0107i prozor",uploadFailed:"Neuspelo postavljanje.",uploadFileNetworkFailure:"Postavljanje nije zavr\u0161eno zbog mre\u017enog problema.",uploadFileSizeLimitExceeded:"Veli\u010dina fajla ne sme biti ve\u0107a od {0}MB.",uploadFileSizeZeroByte:"Fajlovi veli\u010dine nula bajta ne mogu biti postavljeni.",uploadUnauthorized:"Zahtev za otpremanje nije ovla\u0161\u0107en.",uploadUnsupportedFileType:"Nepodr\u017eana vrsta fajla.",userMessage:"Ja ka\u017eem",utteranceGeneric:"Poruka od ve\u0161tine.",webViewAccessibilityTitle:"Webview unutar vid\u017eeta za prikazivanje linkova",webViewClose:"Gotovo",webViewErrorInfoDismiss:"Odbaci",webViewErrorInfoText:"Ne vidite stranicu? {0}Kliknite ovde{/0} da je otvorite u pregleda\u010du.",yesText:"Da"},es:{agent:"Agente",agentMessage:"{0} dice",attachment_audio:"Adjunto de audio",attachment_file:"Adjunto de archivo",attachment_image:"Adjunto de imagen",attachment_video:"Adjunto de video",attachmentAudioFallback:"Tu navegador no admite audio incorporado. Sin embargo, puedes {0}descargarlo{/0}.",attachmentVideoFallback:"Tu navegador no admite video incorporado. Sin embargo, puedes {0}descargarlo{/0}.",audioResponseOff:"Activar la respuesta de audio",audioResponseOn:"Desactivar la respuesta de audio",avatarAgent:"Icono del agente",avatarBot:"Icono del bot",avatarUser:"Icono del usuario",card:"Tarjeta {0}",cardImagePlaceholder:"Imagen de la tarjeta",cardNavNext:"Siguiente tarjeta",cardNavPrevious:"Tarjeta anterior",chatButtonTitle:"Chat en vivo",chatTitle:"Chat",chatSubtitle:"",clear:"Conversaci\xf3n clara",close:"Cerrar widget",closing:"Clausura",connected:"Conectado",connecting:"Conectando",connectionFailureMessage:"Lo sentimos, el asistente no est\xe1 disponible en este momento. Si el problema persiste, comun\xedquese con su mesa de ayuda.",connectionRetryLabel:"Intentar de nuevo",defaultGreetingMessage:"\xa1Hola, gusto en conocerte! Perm\xedteme un momento para responderte.",defaultWaitMessage:"Todav\xeda estoy trabajando en tu solicitud. \xa1Gracias por tu paciencia!",defaultSorryMessage:"Lo siento. No puedo proporcionarte el contenido correcto. Por favor, int\xe9ntalo de nuevo.",disconnected:"Desconectado",download:"Descargar",editFieldErrorMessage:"La entrada del campo no es v\xe1lida",editFormErrorMessage:"Algunos de los campos necesitan su atenci\xf3n.",endConversation:"Finalizar conversaci\xf3n",endConversationConfirmMessage:"\xbfEst\xe1s seguro de que quieres finalizar la conversaci\xf3n?",endConversationDescription:"Esto tambi\xe9n eliminar\xe1 el historial de tu conversaci\xf3n.",errorSpeechInvalidUrl:"La URL de la ODA para la conexi\xf3n no est\xe1 configurada. Por favor, pasa el par\xe1metro 'URI' durante la inicializaci\xf3n del SDK.",errorSpeechMultipleConnection:"Otra reconocimiento de voz est\xe1 en curso. No se puede iniciar uno nuevo.",errorSpeechTooMuchTimeout:"El mensaje de voz es demasiado largo para reconocerlo y generar texto.",errorSpeechUnavailable:"Para permitir el env\xedo de mensajes de voz, actualiza la configuraci\xf3n de tu navegador para permitir el acceso a tu micr\xf3fono.",errorSpeechUnsupportedLocale:"La configuraci\xf3n local establecida para el reconocimiento de voz no es compatible. Por favor, utiliza una configuraci\xf3n de local v\xe1lida en el ajuste 'speechLocale.",inputPlaceholder:"Escribe un mensaje",imageViewerClose:"Cerrar visor de im\xe1genes",imageViewerOpen:"Abrir visor de im\xe1genes",itemIterator:"Art\xedculo {0}",noResultText:"Sin m\xe1s resultados",noSpeechTimeout:"No se pudo detectar la voz para realizar el reconocimiento.",language_detect:"Detectar Idioma",linkField:"Haz clic en el texto resaltado para abrir el enlace para {0}",noText:"No",openMap:"Abrir Mapa",previousChats:"Fin de la conversaci\xf3n anterior",ratingStar:"Calificar {0} estrella",recognitionTextPlaceholder:"Habla tu mensaje",requestLocation:"Solicitando ubicaci\xf3n",requestLocationDeniedPermission:"Para permitir compartir tu ubicaci\xf3n, actualiza la configuraci\xf3n de tu navegador para permitir el acceso a tu ubicaci\xf3n. Tambi\xe9n puedes escribir la ubicaci\xf3n.",requestLocationDeniedTimeout:"Est\xe1 tardando demasiado en obtener tu ubicaci\xf3n. Por favor, intenta compartirlo de nuevo, o escr\xedbelo.",requestLocationDeniedUnavailable:"Tu ubicaci\xf3n actual no est\xe1 disponible. Por favor, intenta compartirlo de nuevo, o escr\xedbelo.",retryMessage:"Intentar de nuevo",send:"Enviar mensaje",shareAudio:"Compartir Audio",shareFile:"Compartir Archivo",shareLocation:"Compartir Ubicaci\xf3n",shareVisual:"Compartir Imagen/Video",shareFailureMessage:"Lo siento, no est\xe1 disponible la opci\xf3n de compartir en este dispositivo.",skillMessage:"La habilidad dice",showOptions:"Mostrar Opciones",speak:"Hablar un mensaje",relTimeNow:"Ahora",relTimeMoment:"Hace unos segundos",relTimeMin:"Hace {0} minutos",relTimeHr:"Hace {0} horas",relTimeDay:"Hace {0} d\xedas",relTimeMon:"Hace {0} meses",relTimeYr:"Hace {0} a\xf1os",typingIndicator:"Esperando respuesta",upload:"Ventana emergente de compartir",uploadFailed:"Fallo al subir.",uploadFileNetworkFailure:"La subida no se complet\xf3 debido a un fallo en la red.",uploadFileSizeLimitExceeded:"El tama\xf1o del ar
1chivo no debe ser superior a {0}MB.",uploadFileSizeZeroByte:"Los archivos de tama\xf1o cero bytes no se pueden subir.",uploadUnauthorized:"La solicitud de subida no est\xe1 autorizada.",uploadUnsupportedFileType:"Tipo de archivo no compatible.",userMessage:"Yo digo",utteranceGeneric:"Mensaje de la habilidad.",webViewAccessibilityTitle:"Webview dentro del widget para mostrar enlaces",webViewClose:"Hecho",webViewErrorInfoDismiss:"Descartar",webViewErrorInfoText:"\xbfNo ves la p\xe1gina? {0}Haz clic aqu\xed{/0} para abrirla en un navegador.",yesText:"S\xed"},me:{agent:"Agent",agentMessage:"{0} ka\u017ee",attachment_audio:"Audio prilog",attachment_file:"Fajl u prilogu",attachment_image:"Slika u prilogu",attachment_video:"Video u prilogu",attachmentAudioFallback:"Va\u0161 pregleda\u010d ne podr\u017eava ugra\u0111eni zvuk. Me\u0111utim, mo\u017eete ga {0}preuzeti{/0}.",attachmentVideoFallback:"Va\u0161 pregleda\u010d ne podr\u017eava ugra\u0111eni video. Me\u0111utim, mo\u017eete ga {0}preuzeti{/0}.",audioResponseOff:"Uklju\u010di audio odgovor",audioResponseOn:"Isklju\u010di audio odgovor",avatarAgent:"Ikona agenta",avatarBot:"Ikona bota",avatarUser:"Ikona korisnika",card:"Kartica {0}",cardImagePlaceholder:"Slika kartice",cardNavNext:"Sljede\u0107a kartica",cardNavPrevious:"Prethodna kartica",chatButtonTitle:"U\u017eivo razgovor",chatTitle:"\u0106askanje",chatSubtitle:"",clear:"O\u010disti razgovor",close:"Zatvori vid\u017eet",closing:"Zatvaranje",connected:"Povezan",connecting:"Povezivanje",connectionFailureMessage:"Izvinjavamo se, pomo\u0107nik trenutno nije dostupan. Ako problem se problem nastavi, kontaktirajte va\u0161 help desk.",connectionRetryLabel:"Poku\u0161aj ponovo",defaultGreetingMessage:"\u0106ao, drago mi je da sam te upoznao! Daj mi trenutak da ti odgovorim.",defaultWaitMessage:"Jo\u0161 uvijek radim na tvom zahtjevu. Hvala ti na strpljenju!",defaultSorryMessage:"Izvinjavam se. Ne mogu vam dostaviti odgovaraju\u0107i sadr\u017eaj. Molim vas, poku\u0161ajte ponovo.",disconnected:"Isklju\u010den",download:"Preuzmi",editFieldErrorMessage:"Polje unosa nije va\u017ee\u0107e",editFormErrorMessage:"Neka od polja zahtijevaju va\u0161u pa\u017enju",endConversation:"Zavr\u0161i razgovor",endConversationConfirmMessage:"Jeste li sigurni da \u017eelite zavr\u0161iti razgovor?",endConversationDescription:"Ovo \u0107e tako\u0111e obrisati istoriju va\u0161eg razgovora.",errorSpeechInvalidUrl:"ODA URL za povezivanje nije postavljena. Molimo vas da proslijedite 'URI' parametar tokom inicijalizacije SDK-a.",errorSpeechMultipleConnection:"Drugo prepoznavanje glasa je u toku. Ne mogu zapo\u010deti novo.",errorSpeechTooMuchTimeout:"Govorna poruka je preduga za prepoznavanje i generisanje teksta.",errorSpeechUnavailable:"Da biste omogu\u0107ili slanje govornih poruka, a\u017eurirajte postavke svog pregleda\u010da da omogu\u0107ite pristup mikrofonu.",errorSpeechUnsupportedLocale:"Postavljena lokalna vrijednost za prepoznavanje glasa nije podr\u017eana. Molimo vas da koristite valjanu lokalnu vrijednost u postavci 'speechLocale.",inputPlaceholder:"Unesite poruku",imageViewerClose:"Zatvori pregleda\u010d slika",imageViewerOpen:"Otvori pregleda\u010d slika",itemIterator:"Stavka {0}",noResultText:"Nema vi\u0161e rezultata",noSpeechTimeout:"Govor nije mogao biti detektovan da bi se izvr\u0161ilo prepoznavanje.",language_detect:"Detektuj jezik",linkField:"Kliknite na ozna\u010deni tekst da biste otvorili link za {0}",noText:"Ne",openMap:"Otvori Mapu",previousChats:"Kraj prethodnog razgovora",ratingStar:"Ocijeni {0} zvjezdica",recognitionTextPlaceholder:"Izgovori svoju poruku",requestLocation:"Tra\u017eenje lokacije",requestLocationDeniedPermission:"Da biste omogu\u0107ili dijeljenje va\u0161e lokacije, a\u017eurirajte postavke svog pregleda\u010da da omogu\u0107ite pristup va\u0161oj lokaciji. Tako\u0111e mo\u017eete upisati lokaciju.",requestLocationDeniedTimeout:"Traje predugo da se dobije va\u0161a lokacija. Molimo vas da poku\u0161ate ponovo dijeliti, ili je upi\u0161ite.",requestLocationDeniedUnavailable:"Va\u0161a trenutna lokacija nije dostupna. Molimo vas da poku\u0161ate ponovo dijeliti, ili je upi\u0161ite.",retryMessage:"Poku\u0161aj ponovo",send:"Po\u0161alji poruku",shareAudio:"Podijeli Audio",shareFile:"Podijeli Fajl",shareLocation:"Podijeli Lokaciju",shareVisual:"Podijeli Sliku/Video",shareFailureMessage:"Izvinjavamo se, dijeljenje nije dostupno na ovom ure\u0111aju.",skillMessage:"Vje\u0161tina ka\u017ee",showOptions:"Prika\u017ei Opcije",speak:"Izgovori poruku",relTimeNow:"Sada",relTimeMoment:"Prije nekoliko sekundi",relTimeMin:"Prije {0} minuta",relTimeHr:"Prije {0} sati",relTimeDay:"Prije {0} dana",relTimeMon:"Prije {0} mjeseci",relTimeYr:"Prije {0} godina",typingIndicator:"\u010cekanje na odgovor",upload:"Podijeli iska\u010du\u0107i prozor",uploadFailed:"Neuspjelo postavljanje.",uploadFileNetworkFailure:"Postavljanje nije zavr\u0161eno zbog problema sa mre\u017eom.",uploadFileSizeLimitExceeded:"Veli\u010dina fajla ne smije biti ve\u0107a od {0}MB.",uploadFileSizeZeroByte:"Fajlovi veli\u010dine nula bajta ne mogu biti postavljeni.",uploadUnauthorized:"Zahtjev za postavljanje nije autorizovan.",uploadUnsupportedFileType:"Nepodr\u017eani tip fajla.",userMe
1ssage:"Ja ka\u017eem",utteranceGeneric:"Poruka od vje\u0161tine.",webViewAccessibilityTitle:"Webview unutar vid\u017eeta za prikazivanje linkova",webViewClose:"Gotovo",webViewErrorInfoDismiss:"Odbaci",webViewErrorInfoText:"Ne vidite stranicu? {0}Kliknite ovdje{/0} da je otvorite u pregleda\u010du.",yesText:"Da"},ba:{agent:"Agent",agentMessage:"{0} ka\u017ee",attachment_audio:"Audio prilog",attachment_file:"Fajl u prilogu",attachment_image:"Slika u prilogu",attachment_video:"Video u prilogu",attachmentAudioFallback:"Va\u0161 pregleda\u010d ne podr\u017eava ugra\u0111eni zvuk. Me\u0111utim, mo\u017eete ga {0}preuzeti{/0}.",attachmentVideoFallback:"Va\u0161 pregleda\u010d ne podr\u017eava ugra\u0111eni video. Me\u0111utim, mo\u017eete ga {0}preuzeti{/0}.",audioResponseOff:"Uklju\u010di audio odgovor",audioResponseOn:"Isklju\u010di audio odgovor",avatarAgent:"Ikona agenta",avatarBot:"Ikona bota",avatarUser:"Ikona korisnika",card:"Kartica {0}",cardImagePlaceholder:"Slika kartice",cardNavNext:"Sljede\u0107a kartica",cardNavPrevious:"Prethodna kartica",chatButtonTitle:"U\u017eivo razgovor",chatTitle:"\u0106askanje",chatSubtitle:"",clear:"O\u010disti razgovor",close:"Zatvori vid\u017eet",closing:"Zatvaranje",connected:"Povezan",connecting:"Povezivanje",connectionFailureMessage:"Izvinjavamo se, pomo\u0107nik trenutno nije dostupan. Ako se problem nastavi, kontaktirajte svoj help desk.",connectionRetryLabel:"Poku\u0161aj ponovo",defaultGreetingMessage:"\u0106ao, drago mi je da sam te upoznao! Daj mi trenutak da ti odgovorim.",defaultWaitMessage:"Jo\u0161 uvijek radim na tvom zahtjevu. Hvala ti na strpljenju!",defaultSorryMessage:"Izvinjavam se. Ne mogu vam dostaviti odgovaraju\u0107i sadr\u017eaj. Molim vas, poku\u0161ajte ponovo.",disconnected:"Isklju\u010den",download:"Preuzmi",editFieldErrorMessage:"Polje unosa nije va\u017ee\u0107e",editFormErrorMessage:"Neka od polja zahtijevaju va\u0161u pa\u017enju",endConversation:"Zavr\u0161i razgovor",endConversationConfirmMessage:"Jeste li sigurni da \u017eelite zavr\u0161iti razgovor?",endConversationDescription:"Ovo \u0107e tako\u0111e obrisati istoriju va\u0161eg razgovora.",errorSpeechInvalidUrl:"ODA URL za povezivanje nije postavljena. Molimo vas da proslijedite 'URI' parametar tokom inicijalizacije SDK-a.",errorSpeechMultipleConnection:"Drugo prepoznavanje glasa je u toku. Ne mogu zapo\u010deti novo.",errorSpeechTooMuchTimeout:"Govorna poruka je preduga za prepoznavanje i generisanje teksta.",errorSpeechUnavailable:"Da biste omogu\u0107ili slanje govornih poruka, a\u017eurirajte postavke svog pregleda\u010da da omogu\u0107ite pristup mikrofonu.",errorSpeechUnsupportedLocale:"Postavljena lokalna vrijednost za prepoznavanje glasa nije podr\u017eana. Molimo vas da koristite valjanu lokalnu vrijednost u postavci 'speechLocale.",inputPlaceholder:"Unesite poruku",imageViewerClose:"Zatvori pregleda\u010d slika",imageViewerOpen:"Otvori pregleda\u010d slika",itemIterator:"Stavka {0}",noResultText:"Nema vi\u0161e rezultata",noSpeechTimeout:"Govor nije mogao biti detektovan za prepoznavanje.",language_detect:"Detektuj jezik",language_bs:"Oznaka jezika",linkField:"Kliknite na ozna\u010deni tekst da biste otvorili link za {0}",noText:"Ne",openMap:"Otvori Mapu",previousChats:"Kraj prethodnog razgovora",ratingStar:"Ocijeni {0} zvjezdica",recognitionTextPlaceholder:"Izgovori svoju poruku",requestLocation:"Tra\u017eenje lokacije",requestLocationDeniedPermission:"Da biste omogu\u0107ili dijeljenje va\u0161e lokacije, a\u017eurirajte postavke svog pregleda\u010da da omogu\u0107ite pristup va\u0161oj lokaciji. Tako\u0111e mo\u017eete upisati lokaciju.",requestLocationDeniedTimeout:"Traje predugo da se dobije va\u0161a lokacija. Molimo vas da poku\u0161ate ponovo dijeliti, ili je upi\u0161ite.",requestLocationDeniedUnavailable:"Va\u0161a trenutna lokacija nije dostupna. Molimo vas da poku\u0161ate ponovo dijeliti, ili je upi\u0161ite.",retryMessage:"Poku\u0161aj ponovo",send:"Po\u0161alji poruku",shareAudio:"Podijeli Audio",shareFile:"Podijeli Fajl",shareLocation:"Podijeli Lokaciju",shareVisual:"Podijeli Sliku/Video",shareFailureMessage:"Izvinjavamo se, dijeljenje nije dostupno na ovom ure\u0111aju.",skillMessage:"Vje\u0161tina ka\u017ee",showOptions:"Prika\u017ei Opcije",speak:"Izgovori poruku",relTimeNow:"Sada",relTimeMoment:"Prije nekoliko sekundi",relTimeMin:"Prije {0} minuta",relTimeHr:"Prije {0} sati",relTimeDay:"Prije {0} dana",relTimeMon:"Prije {0} mjeseci",relTimeYr:"Prije {0} godina",typingIndicator:"\u010cekanje na odgovor",upload:"Podijeli iska\u010du\u0107i prozor",uploadFailed:"Neuspjelo postavljanje.",uploadFileNetworkFailure:"Postavljanje nije zavr\u0161eno zbog problema sa mre\u017eom.",uploadFileSizeLimitExceeded:"Veli\u010dina fajla ne smije biti ve\u0107a od {0}MB.",uploadFileSizeZeroByte:"Fajlovi veli\u010dine nula bajta ne mogu biti postavljeni.",uploadUnauthorized:"Zahtjev za postavljanje nije autorizovan.",uploadUnsupportedFileType:"Nepodr\u017eani tip fajla.",userMe
1ssage:"Ja ka\u017eem",utteranceGeneric:"Poruka od vje\u0161tine.",webViewAccessibilityTitle:"Webview unutar vid\u017eeta za prikazivanje linkova",webViewClose:"Gotovo",webViewErrorInfoDismiss:"Odbaci",webViewErrorInfoText:"Ne vidite stranicu? {0}Kliknite ovdje{/0} da je otvorite u pregleda\u010du.",yesText:"Da"},el:{agent:"\u03a0\u03c1\u03ac\u03ba\u03c4\u03bf\u03c1\u03b1\u03c2",agentMessage:"{0} \u03bb\u03ad\u03b5\u03b9",attachment_audio:"\u03a0\u03c1\u03bf\u03c3\u03ac\u03c1\u03c4\u03b7\u03bc\u03b1 \u03ae\u03c7\u03bf\u03c5",attachment_file:"\u03a0\u03c1\u03bf\u03c3\u03ac\u03c1\u03c4\u03b7\u03bc\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5",attachment_image:"\u03a0\u03c1\u03bf\u03c3\u03ac\u03c1\u03c4\u03b7\u03bc\u03b1 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2",attachment_video:"\u03a0\u03c1\u03bf\u03c3\u03ac\u03c1\u03c4\u03b7\u03bc\u03b1 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf",attachmentAudioFallback:"\u039f \u03c0\u03b5\u03c1\u03b9\u03b7\u03b3\u03b7\u03c4\u03ae\u03c2 \u03c3\u03b1\u03c2 \u03b4\u03b5\u03bd \u03c5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03af\u03b6\u03b5\u03b9 \u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03c9\u03bc\u03ad\u03bd\u03bf \u03ae\u03c7\u03bf. \u03a9\u03c3\u03c4\u03cc\u03c3\u03bf, \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03bf\u03bd {0}\u03ba\u03b1\u03c4\u03b5\u03b2\u03ac\u03c3\u03b5\u03c4\u03b5{/0}.",attachmentVideoFallback:"\u039f \u03c0\u03b5\u03c1\u03b9\u03b7\u03b3\u03b7\u03c4\u03ae\u03c2 \u03c3\u03b1\u03c2 \u03b4\u03b5\u03bd \u03c5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03af\u03b6\u03b5\u03b9 \u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03c9\u03bc\u03ad\u03bd\u03bf \u03b2\u03af\u03bd\u03c4\u03b5\u03bf. \u03a9\u03c3\u03c4\u03cc\u03c3\u03bf, \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03bf\u03bd {0}\u03ba\u03b1\u03c4\u03b5\u03b2\u03ac\u03c3\u03b5\u03c4\u03b5{/0}.",audioResponseOff:"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5 \u03b1\u03c0\u03ac\u03bd\u03c4\u03b7\u03c3\u03b7\u03c2",audioResponseOn:"\u0391\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5 \u03b1\u03c0\u03ac\u03bd\u03c4\u03b7\u03c3\u03b7\u03c2",avatarAgent:"\u0395\u03b9\u03ba\u03bf\u03bd\u03af\u03b4\u03b9\u03bf \u03c0\u03c1\u03ac\u03ba\u03c4\u03bf\u03c1\u03b1",avatarBot:"\u0395\u03b9\u03ba\u03bf\u03bd\u03af\u03b4\u03b9\u03bf bot",avatarUser:"\u0395\u03b9\u03ba\u03bf\u03bd\u03af\u03b4\u03b9\u03bf \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7",card:"\u039a\u03ac\u03c1\u03c4\u03b1 {0}",cardImagePlaceholder:"\u0395\u03b9\u03ba\u03cc\u03bd\u03b1 \u03ba\u03ac\u03c1\u03c4\u03b1\u03c2",cardNavNext:"\u0395\u03c0\u03cc\u03bc\u03b5\u03bd\u03b7 \u03ba\u03ac\u03c1\u03c4\u03b1",cardNavPrevious:"\u03a0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7 \u03ba\u03ac\u03c1\u03c4\u03b1",chatButtonTitle:"\u0396\u03c9\u03bd\u03c4\u03b1\u03bd\u03ae \u03c3\u03c5\u03bd\u03bf\u03bc\u03b9\u03bb\u03af\u03b1",chatTitle:"\u03a3\u03c5\u03bd\u03bf\u03bc\u03b9\u03bb\u03af\u03b1",chatSubtitle:"",clear:"\u039a\u03b1\u03b8\u03b1\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c3\u03c5\u03bd\u03bf\u03bc\u03b9\u03bb\u03af\u03b1\u03c2",close:"\u039a\u03bb\u03b5\u03af\u03c3\u03b9\u03bc\u03bf widget",closing:"\u039a\u03bb\u03b5\u03af\u03c3\u03b9\u03bc\u03bf",connected:"\u03a3\u03c5\u03bd\u03b4\u03b5\u03b4\u03b5\u03bc\u03ad\u03bd\u03bf",connecting:"\u03a3\u03c5\u03bd\u03b4\u03ad\u03b5\u03c4\u03b1\u03b9",connectionFailureMessage:"\u039b\u03c5\u03c0\u03bf\u03cd\u03bc\u03b1\u03c3\u03c4\u03b5, \u03bf \u03b2\u03bf\u03b7\u03b8\u03cc\u03c2 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03bf\u03c2 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7 \u03c3\u03c4\u03b9\u03b3\u03bc\u03ae. \u0395\u03ac\u03bd \u03c4\u03bf \u03c0\u03c1\u03cc\u03b2\u03bb\u03b7\u03bc\u03b1 \u03c0\u03b1\u03c1\u03b1\u03bc\u03ad\u03bd\u03b5\u03b9, \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03bc\u03b5 \u03c4\u03b7\u03bd \u03c5\u03c0\u03bf\u03c3\u03c4\u03ae\u03c1\u03b9\u03be\u03ae \u03c3\u03b1\u03c2.",connectionRetryLabel:"\u0394\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03be\u03b1\u03bd\u03ac",defaultGreetingMessage:"\u0393\u03b5\u03b9\u03b1, \u03c7\u03b1\u03af\u03c1\u03bf\u03bc\u03b1\u03b9 \u03c0\u03bf\u03c5 \u03c3\u03b1\u03c2 \u03b3\u03bd\u03ce\u03c1\u03b9\u03c3\u03b1! \u0394\u03ce\u03c3\u03c4\u03b5 \u03bc\u03bf\u03c5 \u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc \u03bd\u03b1 \u03c3\u03b1\u03c2 \u03b1\u03c0\u03b1\u03bd\u03c4\u03ae\u03c3\u03c9.",defaultWaitMessage:"\u0395\u03be\u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03ce \u03bd\u03b1 \u03b5\u03c1\u03b3\u03ac\u03b6\u03bf\u03bc\u03b1\u03b9 \u03c3\u03c4\u03bf \u03b1\u03af\u03c4\u03b7\u03bc\u03ac \u03c3\u03b1\u03c2. \u03a3\u03b1\u03c2 \u03b5\u03c5\u03c7\u03b1\u03c1\u03b9\u03c3\u03c4\u03bf\u03cd\u03bc\u03b5 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03c5\u03c0\u03bf\u03bc\u03bf\u03bd\u03ae \u03c3\u03b1\u03c2!",defaultSorryMessage:"\u039b\u03c5\u03c0\u03bf\u03cd\u03bc\u03b1\u03b9, \u03b4\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03ce \u03bd\u03b1 \u03c3\u03b1\u03c2 \u03c0\u03b1\u03c1\u03ad\u03c7\u03c9 \u03c4\u03bf\u03bd \u03c3\u03c9\u03c3\u03c4\u03cc \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce, \u03b4\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03be\u03b1\u03bd\u03ac.",disconnected:"\u0391\u03c0\u03bf\u03c3\u03c5\u03bd\u03b4\u03b5\u03b4\u03b5\u03bc\u03ad\u03bd\u03bf",download:"\u039b\u03ae\u03c8\u03b7",editFieldErrorMessage:"\u03a4\u03bf \u03c0\u03b5\u03b4\u03af\u03bf \u03b5\u03b9\u03c3\u03cc\u03b4\u03bf\u03c5 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03ad\u03b3\u03ba\u03c5\u03c1\u03bf",editFormErrorMessage:"\u039f\u03c1\u03b9\u03c3\u03bc\u03ad\u03bd\u03b1 \u03c0\u03b5\u03b4\u03af\u03b1 \u03c7\u03c1\u03b5\u03b9\u03ac\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9 \u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03c3\u03bf\u03c7\u03ae \u03c3\u03b1\u03c2",endConversation:"\u039b\u03ae\u03be\u03b7 \u03c3\u03c5\u03bd\u03bf\u03bc\u03b9\u03bb\u03af\u03b1\u03c2",endConversationConfirmMessage:"\u0395\u03af\u03c3\u03c4\u03b5 \u03c3\u03af\u03b3\u03bf\u03c5\u03c1\u03bf\u03b9 \u03cc\u03c4\u03b9 \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03bb\u03ae\u03be\u03b5\u03c4\u03b5 \u03c4\u03b7 \u03c3\u03c5\u03bd\u03bf\u03bc\u03b9\u03bb\u03af\u03b1;",endConversationDescription:"\u0391\u03c5\u03c4\u03cc \u03b8\u03b1 \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c8\u03b5\u03b9 \u03b5\u03c0\u03af\u03c3\u03b7\u03c2 \u03c4\u03bf \u03b9\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc \u03c4\u03b7\u03c2 \u03c3\u03c5\u03bd\u03bf\u03bc\u03b9\u03bb\u03af\u03b1\u03c2 \u03c3\u03b1\u03c2.",errorSpeechInvali
1dUrl:"\u0397 \u03b4\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 URL \u03c4\u03b7\u03c2 ODA \u03b3\u03b9\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b4\u03b5\u03bd \u03ad\u03c7\u03b5\u03b9 \u03bf\u03c1\u03b9\u03c3\u03c4\u03b5\u03af. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce, \u03c0\u03b5\u03c1\u03ac\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c0\u03b1\u03c1\u03ac\u03bc\u03b5\u03c4\u03c1\u03bf 'URI' \u03ba\u03b1\u03c4\u03ac \u03c4\u03b7\u03bd \u03b1\u03c1\u03c7\u03b9\u03ba\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c4\u03bf\u03c5 SDK.",errorSpeechMultipleConnection:"\u0388\u03bd\u03b1 \u03ac\u03bb\u03bb\u03bf \u03b1\u03bd\u03b1\u03b3\u03bd\u03ce\u03c1\u03b9\u03c3\u03b7\u03c2 \u03c6\u03c9\u03bd\u03ae\u03c2 \u03b2\u03c1\u03af\u03c3\u03ba\u03b5\u03c4\u03b1\u03b9 \u03c3\u03b5 \u03b5\u03be\u03ad\u03bb\u03b9\u03be\u03b7. \u0394\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03be\u03b5\u03ba\u03b9\u03bd\u03ae\u03c3\u03b5\u03b9 \u03ad\u03bd\u03b1 \u03bd\u03ad\u03bf.",errorSpeechTooMuchTimeout:"\u03a4\u03bf \u03c6\u03c9\u03bd\u03b7\u03c4\u03b9\u03ba\u03cc \u03bc\u03ae\u03bd\u03c5\u03bc\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03c0\u03bf\u03bb\u03cd \u03bc\u03b5\u03b3\u03ac\u03bb\u03bf \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b1\u03bd\u03b1\u03b3\u03bd\u03c9\u03c1\u03b9\u03c3\u03c4\u03b5\u03af \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b7\u03b8\u03b5\u03af \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf.",errorSpeechUnavailable:"\u0393\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03c0\u03b9\u03c4\u03c1\u03b1\u03c0\u03b5\u03af \u03b7 \u03c6\u03c9\u03bd\u03b7\u03c4\u03b9\u03ba\u03ae \u03b1\u03bb\u03bb\u03b7\u03bb\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1, \u03b5\u03bd\u03b7\u03bc\u03b5\u03c1\u03ce\u03c3\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03c1\u03c5\u03b8\u03bc\u03af\u03c3\u03b5\u03b9\u03c2 \u03c4\u03bf\u03c5 \u03c0\u03c1\u03bf\u03b3\u03c1\u03ac\u03bc\u03bc\u03b1\u03c4\u03bf\u03c2 \u03c0\u03b5\u03c1\u03b9\u03ae\u03b3\u03b7\u03c3\u03ae\u03c2 \u03c3\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03bf \u03bc\u03b9\u03ba\u03c1\u03cc\u03c6\u03c9\u03bd\u03cc \u03c3\u03b1\u03c2.",errorSpeechUnsupportedLocale:"\u039f\u03b9 \u03c4\u03bf\u03c0\u03b9\u03ba\u03ad\u03c2 \u03c1\u03c5\u03b8\u03bc\u03af\u03c3\u03b5\u03b9\u03c2 \u03c0\u03bf\u03c5 \u03ad\u03c7\u03bf\u03c5\u03bd \u03bf\u03c1\u03b9\u03c3\u03c4\u03b5\u03af \u03b3\u03b9\u03b1 \u03c4\u03b7 \u03c6\u03c9\u03bd\u03b7\u03c4\u03b9\u03ba\u03ae \u03b1\u03bd\u03b1\u03b3\u03bd\u03ce\u03c1\u03b9\u03c3\u03b7 \u03b4\u03b5\u03bd \u03c5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9. \u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03bc\u03b9\u03b1 \u03ad\u03b3\u03ba\u03c5\u03c1\u03b7 \u03c4\u03bf\u03c0\u03b9\u03ba\u03ae \u03c1\u03cd\u03b8\u03bc\u03b9\u03c3\u03b7 \u03c3\u03c4\u03b7 \u03c1\u03cd\u03b8\u03bc\u03b9\u03c3\u03b7 'speechLocale'.",inputPlaceholder:"\u03a0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03bf\u03b3\u03ae\u03c3\u03c4\u03b5 \u03ad\u03bd\u03b1 \u03bc\u03ae\u03bd\u03c5\u03bc\u03b1",imageViewerClose:"\u039a\u03bb\u03b5\u03af\u03c3\u03b9\u03bc\u03bf \u03c0\u03c1\u03bf\u03b2\u03bf\u03bb\u03ae\u03c2 \u03b5\u03b9\u03ba\u03cc\u03bd\u03c9\u03bd",imageViewerOpen:"\u0391\u03bd\u03bf\u03af\u03be\u03c4\u03b5 \u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03c0\u03c1\u03bf\u03b2\u03bf\u03bb\u03ae\u03c2 \u03b5\u03b9\u03ba\u03cc\u03bd\u03c9\u03bd",itemIterator:"\u03a3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03bf {0}",noResultText:"\u038c\u03c7\u03b9 \u03ac\u03bb\u03bb\u03b1 \u03b1\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1",noSpeechTimeout:"\u0394\u03b5\u03bd \u03ae\u03c4\u03b1\u03bd \u03b4\u03c5\u03bd\u03b1\u03c4\u03cc\u03c2 \u03bf \u03b5\u03bd\u03c4\u03bf\u03c0\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c4\u03b7\u03c2 \u03c6\u03c9\u03bd\u03ae\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b3\u03af\u03bd\u03b5\u03b9 \u03b7 \u03b1\u03bd\u03b1\u03b3\u03bd\u03ce\u03c1\u03b9\u03c3\u03b7.",language_detect:"\u0395\u03bd\u03c4\u03bf\u03c0\u03b9\u03c3\u03bc\u03cc\u03c2 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1\u03c2",language_el:"\u0395\u03c4\u03b9\u03ba\u03ad\u03c4\u03b1 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1\u03c2",linkField:"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03c3\u03c4\u03bf \u03b5\u03c0\u03b9\u03c3\u03b7\u03bc\u03b1\u03c3\u03bc\u03ad\u03bd\u03bf \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b1\u03bd\u03bf\u03af\u03be\u03b5\u03c4\u03b5 \u03c4\u03bf\u03bd \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03bc\u03bf \u03b3\u03b9\u03b1 {0}",noText:"\u039f\u03c7\u03b9",openMap:"\u0391\u03bd\u03bf\u03af\u03be\u03c4\u03b5 \u03c4\u03bf\u03bd \u03c7\u03ac\u03c1\u03c4\u03b7",previousChats:"\u03a4\u03ad\u03bb\u03bf\u03c2 \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7\u03c2 \u03c3\u03c5\u03bd\u03bf\u03bc\u03b9\u03bb\u03af\u03b1\u03c2",ratingStar:"\u0391\u03be\u03b9\u03bf\u03bb\u03bf\u03b3\u03ae\u03c3\u03c4\u03b5 {0} \u03b1\u03c3\u03c4\u03ad\u03c1\u03b9\u03b1",recognitionTextPlaceholder:"\u03a0\u03b5\u03af\u03c4\u03b5 \u03c4\u03bf \u03bc\u03ae\u03bd\u03c5\u03bc\u03ac \u03c3\u03b1\u03c2",requestLocation:"\u0391\u03af\u03c4\u03b7\u03bc\u03b1 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1\u03c2",requestLocationDeniedPermission:"\u0393\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03c0\u03b9\u03c4\u03c1\u03ad\u03c8\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03ba\u03bf\u03b9\u03bd\u03ae \u03c7\u03c1\u03ae\u03c3\u03b7 \u03c4\u03b7\u03c2 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1\u03c2 \u03c3\u03b1\u03c2, \u03b5\u03bd\u03b7\u03bc\u03b5\u03c1\u03ce\u03c3\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03c1\u03c5\u03b8\u03bc\u03af\u03c3\u03b5\u03b9\u03c2 \u03c4\u03bf\u03c5 \u03c0\u03c1\u03bf\u03b3\u03c1\u03ac\u03bc\u03bc\u03b1\u03c4\u03bf\u03c2 \u03c0\u03b5\u03c1\u03b9\u03ae\u03b3\u03b7\u03c3\u03ae\u03c2 \u03c3\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bd \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1 \u03c3\u03b1\u03c2. \u039c\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03b5\u03c0\u03af\u03c3\u03b7\u03c2 \u03bd\u03b1 \u03c0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03bf\u03b3\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1.",requestLocationDeniedTimeout:"\u03a7\u03c1\u03b5\u03b9\u03ac\u03b6\u03b5\u03c4\u03b1\u03b9 \u03c0\u03bf\u03bb\u03cd\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03bb\u03ac\u03b2\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1 \u03c3\u03b1\u03c2. \u0394\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03bf \u03bc\u03bf\u03b9\u03c1\u03b1\u03c3\u03c4\u03b5\u03af\u03c4\u03b5 \u03be\u03b1\u03bd\u03ac, \u03b4\u03b9\u03b1\u03c6\u03bf\u03c1\u03b5\u03c4\u03b9\u03ba\u03ac \u03c0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03bf\u03b3\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf.",requestLocationDeniedUnavailable:"\u0397 \u03c4\u03c1\u03ad\u03c7\u03bf\u03c5\u03c3\u03b1 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1 \u03c3\u03b1\u03c2 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03b7. \u0394\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03bf \u03bc\u03bf\u03b9\u03c1\u03b1\u03c3\u03c4\u03b5\u03af\u03c4\u03b5 \u03be\u03b1\u03bd\u03ac, \u03b4\u03b9\u03b1\u03c6\u03bf\u03c1\u03b5\u03c4\u03b9\u03ba\u03ac \u03c0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03bf\u03b3\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf.",retryMessage:"\u03a0\u03c1\u03bf\u03c3\u03c0\u03ac\u03b8\u03b7\u03c3\u03b5 \u03be\u03b1\u03bd\u03ac",send:"\u039d\u03b1 \u03c3\u03c4\u03b5\u03af\u03bb\u03b5\u03c4\u03b5 \u03bc\u03ae\u03bd\u03c5\u03bc\u03b1",shareAudio:"\u039a\u03bf\u03b9\u03bd\u03ae \u03c7\u03c1\u03ae\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5",shareFile:"\u039a\u03bf\u03b9\u03bd\u03ae \u03c7\u03c1\u03ae\u03c3\u03b7 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5",shareLocation:"\u039a\u03bf\u03b9\u03bd\u03ae \u03c7\u03c1\u03ae\u03c3\u03b7 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1\u03c2",shareVisual:"\u039a\u03bf\u03b9\u03bd\u03ae \u03c7\u03c1\u03ae\u03c3\u03b7 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2/\u03b2\u03af\u03bd\u03c4\u03b5\u03bf",shareFailureMessage:"\u039b\u03c5\u03c0\u03bf\u03cd\u03bc\u03b1\u03c3\u03c4\u03b5, \u03b7 \u03ba\u03bf\u03b9\u03bd\u03ae \u03c7\u03c1\u03ae\u03c3\u03b7 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03b7 \u03c3\u03b5 \u03b1\u03c5\u03c4\u03ae\u03bd \u03c4\u03b7 \u03c3\u03c5\u03c3\u03ba\u03b5\u03c5\u03ae.",skillMessage:"\u0397 \u03b4\u03b5\u03be\u03b9\u03bf\u03c4\u03b5\u03c7\u03bd\u03af\u03b1 \u03bb\u03ad\u03b5\u03b9",showOptions:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ce\u03bd",speak:"\u03a0\u03b5\u03af\u03c4\u03b5 \u03ad\u03bd\u03b1 \u03bc\u03ae\u03bd\u03c5\u03bc\u03b1",relTimeNow:"\u03a4\u03ce\u03c1\u03b1",relTimeMoment:"\u039c\u03b5\u03c1\u03b9\u03ba\u03ac \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1 \u03c0\u03c1\u03b9\u03bd",relTimeMin:"\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03bb\u03b5\u03c0\u03c4\u03ac",relTimeHr:"\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03ce\u03c1\u03b5\u03c2",relTimeDay:"\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03b7\u03bc\u03ad\u03c1\u03b5\u03c2",relTimeMon:"\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03bc\u03ae\u03bd\u03b5\u03c2",relTimeYr:"\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1",typingIndicator:"\u0391\u03bd\u03b1\u03bc\u03ad\u03bd\u03c9 \u03b1\u03c0\u03ac\u03bd\u03c4\u03b7\u03c3\u03b7",upload:"\u039a\u03bf\u03b9\u03bd\u03ae \u03c7\u03c1\u03ae\u03c3\u03b7 \u03b1\u03bd\u03b1\u03b4\u03c5\u03cc\u03bc\u03b5\u03bd\u03bf\u03c5 \u03c0\u03b1\u03c1\u03b1\u03b8\u03cd\u03c1\u03bf\u03c5",uploadFailed:"\u0397 \u03bc\u03b5\u03c4\u03b1\u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7 \u03b1\u03c0\u03ad\u03c4\u03c5\u03c7\u03b5.",uploadFileNetworkFailure:"\u0397 \u03bc\u03b5\u03c4\u03b1\u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7 \u03b4\u03b5\u03bd \u03bf\u03bb\u03bf\u03ba\u03bb\u03b7\u03c1\u03ce\u03b8\u03b7\u03ba\u03b5 \u03bb\u03cc\u03b3\u03c9 \u03b1\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b1\u03c2 \u03b4\u03b9\u03ba\u03c4\u03cd\u03bf\u03c5.",uploadFileSizeLimitExceeded:"\u03a4\u03bf \u03bc\u03ad\u03b3\u03b5\u03b8\u03bf\u03c2 \u03c4\u03bf\u03c5 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \u03b4\u03b5\u03bd \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b5\u03b3\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03bf \u03b1\u03c0\u03cc {0}
1MB.",uploadFileSizeZeroByte:"\u0394\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b4\u03c5\u03bd\u03b1\u03c4\u03ae \u03b7 \u03bc\u03b5\u03c4\u03b1\u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7 \u03b1\u03c1\u03c7\u03b5\u03af\u03c9\u03bd \u03bc\u03b5\u03b3\u03ad\u03b8\u03bf\u03c5\u03c2 \u03bc\u03b7\u03b4\u03ad\u03bd byte.",uploadUnauthorized:"\u03a4\u03bf \u03b1\u03af\u03c4\u03b7\u03bc\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7\u03c2 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b5\u03be\u03bf\u03c5\u03c3\u03b9\u03bf\u03b4\u03bf\u03c4\u03b7\u03bc\u03ad\u03bd\u03bf.",uploadUnsupportedFileType:"\u039c\u03b7 \u03c5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03b9\u03b6\u03cc\u03bc\u03b5\u03bd\u03bf\u03c2 \u03c4\u03cd\u03c0\u03bf\u03c2 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5.",userMessage:"\u03bb\u03ad\u03c9",utteranceGeneric:"\u039c\u03ae\u03bd\u03c5\u03bc\u03b1 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03b9\u03ba\u03b1\u03bd\u03cc\u03c4\u03b7\u03c4\u03b1.",webViewAccessibilityTitle:"In-widget Webview \u03b3\u03b9\u03b1 \u03b5\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03bc\u03c9\u03bd",webViewClose:"\u0395\u03b3\u03b9\u03bd\u03b5",webViewErrorInfoDismiss:"\u0391\u03c0\u03bf\u03bb\u03cd\u03c9",webViewErrorInfoText:"\u0394\u03b5\u03bd \u03b2\u03bb\u03ad\u03c0\u03b5\u03c4\u03b5 \u03c4\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1; {0}\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b5\u03b4\u03ce{/0} \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf \u03b1\u03bd\u03bf\u03af\u03be\u03b5\u03c4\u03b5 \u03c3\u03b5 \u03ad\u03bd\u03b1 \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03c0\u03b5\u03c1\u03b9\u03ae\u03b3\u03b7\u03c3\u03b7\u03c2.",yesText:"\u039d\u03b1\u03af"},sw:{agent:"Wakala",agentMessage:"{0} anasema",attachment_audio:"Kiambatisho cha sauti",attachment_file:"Kiambatisho cha faili",attachment_image:"Kiambatisho cha picha",attachment_video:"Kiambatisho cha video",attachmentAudioFallback:"Kivinjari chako hakitumii sauti iliyopachikwa. Hata hivyo unaweza {0}kuipakua{/0}.",attachmentVideoFallback:"Kivinjari chako hakitumii video iliyopachikwa. Hata hivyo unaweza {0}kuipakua{/0}.",audioResponseOff:"Washa majibu ya sauti",audioResponseOn:"Zima majibu ya sauti",avatarAgent:"Aikoni ya wakala",avatarBot:"Aikoni ya kijibu",avatarUser:"Aikoni ya mtumiaji",card:"Kadi {0}",cardImagePlaceholder:"Picha ya kadi",cardNavNext:"Kadi inayofuata",cardNavPrevious:"Kadi iliyotangulia",chatButtonTitle:"Chat ya Moja kwa Moja",chatTitle:"Soga",chatSubtitle:"",clear:"Mazungumzo wazi",close:"Funga wijeti",closing:"Kufunga",connected:"Imeunganishwa",connecting:"Inaunganisha",connectionFailureMessage:"Samahani, programu ya mratibu haipatikani kwa sasa. Tatizo likiendelea, wasiliana na dawati lako la usaidizi.",connectionRetryLabel:"Jaribu tena",defaultGreetingMessage:"Hey, nimefurahi kukutana nawe! Niruhusu muda nirudi kwako.",defaultWaitMessage:"Bado ninafanyia kazi ombi lako. Asante kwa uvumilivu wako!",defaultSorryMessage:"Samahani. Siwezi kupata maudhui sahihi. Tafadhali jaribu tena.",disconnected:"Imetenganishwa",download:"Pakua",editFieldErrorMessage:"Ingizo la sehemu ni batili",editFormErrorMessage:"Baadhi ya nyanja zinahitaji umakini wako",endConversation:"Maliza Mazungumzo",endConversationConfirmMessage:"Je, una uhakika unataka kusitisha mazungumzo?",endConversationDescription:"Hii pia itafuta historia ya mazungumzo yako.",errorSpeechInvalidUrl:"URL ya ODA ya muunganisho haijawekwa. Tafadhali pitisha kigezo cha 'URI' wakati wa uanzishaji wa SDK.",errorSpeechMultipleConnection:"Utambuzi mwingine wa sauti unaendelea. Haiwezi kuanzisha mpya.",errorSpeechTooMuchTimeout:"Ujumbe wa sauti ni mrefu sana kuweza kutambua na kutengeneza maandishi.",errorSpeechUnavailable:"Ili kuruhusu utumaji ujumbe wa sauti, sasisha mipangilio ya kivinjari chako ili kuwezesha ufikiaji wa maikrofoni yako.",errorSpeechUnsupportedLocale:"Lugha iliyowekwa kwa ajili ya utambuzi wa sauti haitumiki. Tafadhali tumia lugha halali katika mpangilio wa 'speechLocale'.",inputPlaceholder:"Andika ujumbe",imageViewerClose:"Funga kitazamaji picha",imageViewerOpen:"Fungua kitazamaji picha",itemIterator:"Kipengee {0}",noResultText:"Hakuna matokeo zaidi",noSpeechTimeout:"Sauti haikuweza kutambuliwa ili kufanya utambuzi.",language_detect:"Tambua Lugha",language_sw:"Lebo ya Lugha",linkField:"Bofya maandishi yaliyoangaziwa ili kufungua Kiungo cha {0}",noText:"Lakini",openMap:"Fungua Ramani",previousChats:"Mwisho wa mazungumzo ya awali",ratingStar:"Kadiria {0} zamani",recognitionTextPlaceholder:"Zungumza ujumbe wako",requestLocation:"Inaomba eneo",requestLocationDeniedPermission:"Ili kuruhusu kushiriki eneo lako, sasisha mipangilio ya kivinjari chako ili kuwezesha ufikiaji wa eneo lako. Unaweza pia kuandika mahali badala yake.",requestLocationDeniedTimeout:"Inachukua muda mrefu sana kupata eneo lako. Tafadhali jaribu kuishiriki tena, au sivy
1o iandike.",requestLocationDeniedUnavailable:"Eneo lako la sasa halipatikani. Tafadhali jaribu kuishiriki tena, au sivyo iandike.",retryMessage:"Jaribu tena",send:"Tuma ujumbe",shareAudio:"Shiriki Sauti",shareFile:"Shiriki Faili",shareLocation:"Shiriki Mahali",shareVisual:"Shiriki Picha/Video",shareFailureMessage:"Samahani, kushiriki hakupatikani kwenye kifaa hiki.",skillMessage:"Skill anasema",showOptions:"Onyesha Chaguo",speak:"Zungumza ujumbe",relTimeNow:"Sasa",relTimeMoment:"Sekunde chache zilizopita",relTimeMin:"Dakika {0} zilizopita",relTimeHr:"Saa {0} zilizopita",relTimeDay:"Siku {0} zilizopita",relTimeMon:"{0}miezi iliyopita",relTimeYr:"Miaka {0} iliyopita",typingIndicator:"Inasubiri majibu",upload:"Shiriki ibukizi",uploadFailed:"Imeshindwa Kupakia.",uploadFileNetworkFailure:"Upakiaji haujakamilika kwa sababu ya hitilafu ya mtandao.",uploadFileSizeLimitExceeded:"Ukubwa wa faili haupaswi kuwa zaidi ya MB {0}.",uploadFileSizeZeroByte:"Faili za ukubwa wa baiti sifuri haziwezi kupakiwa.",uploadUnauthorized:"Ombi la kupakia halijaidhinishwa.",uploadUnsupportedFileType:"Aina ya faili isiyotumika.",userMessage:"Nasema",utteranceGeneric:"Ujumbe kutoka kwa ujuzi.",webViewAccessibilityTitle:"Mwonekano wa Wavuti wa ndani ya wijeti ili kuonyesha viungo",webViewClose:"Don",webViewErrorInfoDismiss:"Ondoa",webViewErrorInfoText:"Je, huoni ukurasa? {0}Bofya hapa{/0} ili kuifungua katika kivinjari.",yesText:"Hiyo"},nl:{agent:"Agent",agentMessage:"{0} zegt",attachment_audio:"Audiobijlage",attachment_file:"Bestandsbijlage",attachment_image:"Afbeelding bijlage",attachment_video:"Videobijlage",attachmentAudioFallback:"Uw browser ondersteunt geen ingesloten audio. U kunt het echter wel {0}downloaden{/0}.",attachmentVideoFallback:"Uw browser ondersteunt geen ingesloten video. U kunt het echter wel {0}downloaden{/0}.",audioResponseOff:"Schakel audioreactie in",audioResponseOn:"Schakel de audiorespons uit",avatarAgent:"Agent-pictogram",avatarBot:"Bot-pictogram",avatarUser:"Gebruikerspictogram",card:"Kaart {0}",cardImagePlaceholder:"Kaart afbeelding",cardNavNext:"Volgende kaart",cardNavPrevious:"Vorige kaart",chatButtonTitle:"Live chat",chatTitle:"Chatten",chatSubtitle:"",clear:"Duidelijke conversatie",close:"Widget sluiten",closing:"Sluitend",connected:"Verbonden",connecting:"Verbinden",connectionFailureMessage:"Sorry, de assistent is momenteel niet beschikbaar. Als het probleem zich blijft voordoen, neem dan contact op met uw helpdesk.",connectionRetryLabel:"Probeer het nog eens",defaultGreetingMessage:"Hallo leuk je te ontmoeten! Sta mij toe even terug te komen.",defaultWaitMessage:"Ik werk nog steeds aan uw verzoek. Bedankt voor uw geduld!",defaultSorryMessage:"Het spijt me. Ik kan u niet de juiste inhoud bezorgen. Probeer het opnieuw.",disconnected:"Losgekoppeld",download:"Downloaden",editFieldErrorMessage:"Veldinvoer is ongeldig",editFormErrorMessage:"Sommige velden hebben uw aandacht nodig",endConversation:"Be\xebindig het gesprek",endConversationConfirmMessage:"Weet u zeker dat u het gesprek wilt be\xebindigen?",endConversationDescription:"Hiermee wordt ook uw gespreksgeschiedenis gewist.",errorSpeechInvalidUrl:"ODA-URL voor verbinding is niet ingesteld. Geef de parameter 'URI' door tijdens de SDK-initialisatie.",errorSpeechMultipleConnection:"Er is nog een stemherkenning gaande. Kan geen nieuwe starten.",errorSpeechTooMuchTimeout:"Het gesproken bericht is te lang om tekst te herkennen en te genereren.",errorSpeechUnavailable:"Om voicemail toe te staan, update je je browserinstellingen om toegang tot je microfoon mogelijk te maken.",errorSpeechUnsupportedLocale:"De landinstelling die is ingesteld voor stemherkenning wordt niet ondersteund. Gebruik een geldige landinstelling in de instelling 'speechLocale'.",inputPlaceholder:"Type een bericht",imageViewerClose:"Sluit de afbeeldingsviewer",imageViewerOpen:"Open de afbeeldingsviewer",itemIterator:"Artikel {0}",noResultText:"Geen resultaten meer",noSpeechTimeout:"De stem kon niet worden gedetecteerd om herkenning uit te voeren.",language_detect:"Taal detecteren",language_nl:"Taallabel",linkField:"Klik op de gemarkeerde tekst om de link voor {0} te openen",noText:"Nee",openMap:"Kaart openen",previousChats:"Einde vorig gesprek",ratingStar:"Beoordeel {0} ster",recognitionTextPlaceholder:"Spreek uw boodschap uit",requestLocation:"Locatie opvragen",requestLocationDeniedPermission:"Om het delen van uw locatie mogelijk te maken, moet u uw browserinstellingen bijwerken om toegang tot uw locatie mogelijk te maken. U kunt in plaats daarvan ook de locatie typen.",requestLocationDeniedTimeout:"Het duurt te lang om uw locatie te bepalen. Probeer het opnieuw te delen, of typ het anders in.",requestLocationDeniedUnavailable:"Uw huidige locatie is niet beschikbaar. Probeer het opnieuw te delen, of typ het anders in.",retryMessage:"Probeer het nog eens",send:"Beric
1ht versturen",shareAudio:"Deel audio",shareFile:"Deel bestand",shareLocation:"Deel locatie",shareVisual:"Deel afbeelding/video",shareFailureMessage:"Sorry, delen is niet beschikbaar op dit apparaat.",skillMessage:"Vaardigheid zegt",showOptions:"Opties weergeven",speak:"Spreek een boodschap in",relTimeNow:"Nu",relTimeMoment:"Een paar seconden geleden",relTimeMin:"{0} minuten geleden",relTimeHr:"{0} uur geleden",relTimeDay:"{0} dagen geleden",relTimeMon:"{0} maanden geleden",relTimeYr:"{0} jaar geleden",typingIndicator:"Wachten op een antwoord",upload:"Pop-up delen",uploadFailed:"Upload mislukt.",uploadFileNetworkFailure:"Upload niet voltooid vanwege netwerkstoring.",uploadFileSizeLimitExceeded:"De bestandsgrootte mag niet groter zijn dan {0}MB.",uploadFileSizeZeroByte:"Bestanden ter grootte van nul bytes kunnen niet worden ge\xfcpload.",uploadUnauthorized:"Uploadverzoek is niet toegestaan.",uploadUnsupportedFileType:"Niet ondersteund bestandstype.",userMessage:"Ik zeg",utteranceGeneric:"Bericht van vaardigheid.",webViewAccessibilityTitle:"In-widget Webview om links weer te geven",webViewClose:"Klaar",webViewErrorInfoDismiss:"Afwijzen",webViewErrorInfoText:"Zie je de pagina niet? {0}Klik hier{/0} om het in een browser te openen.",yesText:"Ja"},fr:{agent:"Agent",agentMessage:"{0} dit",attachment_audio:"Pi\xe8ce jointe audio",attachment_file:"Pi\xe8ce jointe",attachment_image:"Image jointe",attachment_video:"Vid\xe9o en pi\xe8ce jointe",attachmentAudioFallback:"Votre navigateur ne prend pas en charge l'audio int\xe9gr\xe9. Cependant, vous pouvez le {0}t\xe9l\xe9charger{/0}.",attachmentVideoFallback:"Votre navigateur ne prend pas en charge la vid\xe9o int\xe9gr\xe9e. Cependant, vous pouvez le {0}t\xe9l\xe9charger{/0}.",audioResponseOff:"Activer la r\xe9ponse audio",audioResponseOn:"D\xe9sactiver la r\xe9ponse audio",avatarAgent:"Ic\xf4ne d'agent",avatarBot:"Ic\xf4ne du robot",avatarUser:"Ic\xf4ne utilisateur",card:"Carte {0}",cardImagePlaceholder:"Image de la carte",cardNavNext:"Carte suivante",cardNavPrevious:"Carte pr\xe9c\xe9dente",chatButtonTitle:"Chat en direct",chatTitle:"Chat",chatSubtitle:"",clear:"Conversation claire",close:"Fermer le widget",closing:"Fermeture",connected:"Connect\xe9",connecting:"De liaison",connectionFailureMessage:"D\xe9sol\xe9, l'assistant n'est pas disponible pour le moment. Si le probl\xe8me persiste, contactez votre service d'assistance.",connectionRetryLabel:"Essayer \xe0 nouveau",defaultGreetingMessage:"Bonjour, enchant\xe9 de faire votre connaissance! Accordez-moi un moment pour revenir vers vous.",defaultWaitMessage:"Je travaille toujours sur votre demande. Merci pour votre patience!",defaultSorryMessage:"Je suis d\xe9sol\xe9. Je ne parviens pas \xe0 vous fournir le bon contenu. Veuillez r\xe9essayer.",disconnected:"D\xe9branch\xe9",download:"T\xe9l\xe9charger",editFieldErrorMessage:"La saisie du champ n'est pas valide",editFormErrorMessage:"Certains champs n\xe9cessitent votre attention",endConversation:"Mettre fin \xe0 la conversation",endConversationConfirmMessage:"\xcates-vous s\xfbr de vouloir mettre fin \xe0 la conversation\xa0?",endConversationDescription:"Cela effacera \xe9galement l\u2019historique de vos conversations.",errorSpeechInvalidUrl:"L'URL ODA pour la connexion n'est pas d\xe9finie. Veuillez transmettre le param\xe8tre 'URI' lors de l'initialisation du SDK.",errorSpeechMultipleConnection:"Une autre reconnaissance vocale est en cours. Impossible d'en d\xe9marrer un nouveau.",errorSpeechTooMuchTimeout:"Le message vocal est trop long pour \xeatre reconnu et g\xe9n\xe9rer du texte.",errorSpeechUnavailable:"Pour autoriser la messagerie vocale, mettez \xe0 jour les param\xe8tres de votre navigateur pour activer l'acc\xe8s \xe0 votre microphone.",errorSpeechUnsupportedLocale:"Les param\xe8tres r\xe9gionaux d\xe9finis pour la reconnaissance vocale ne sont pas pris en charge. Veuillez utiliser des param\xe8tres r\xe9gionaux valides dans le param\xe8tre 'speechLocale'.",inputPlaceholder:"Tapez un message",imageViewerClose:"Fermer la visionneuse d'images",imageViewerOpen:"Ouvrir la visionneuse d'images",itemIterator:"Article\xa0{0}",noResultText:"Plus de r\xe9sultats",noSpeechTimeout:"La voix n'a pas pu \xeatre d\xe9tect\xe9e pour effectuer la reconnaissance.",language_detect:"D\xe9tecter la langue",language_fr:"\xc9tiquette de langue",linkField:"Cliquez sur le texte en surbrillance pour ouvrir le lien pour {0}",noText:"Non",openMap:"Ouvrir la carte",previousChats:"Fin de la conversation pr\xe9c\xe9dente",ratingStar:"Notez {0} \xe9toile",recognitionTextPlaceholder:"Dites votre message",requestLocation:"Emplacement de la demande",requestLocationDeniedPermission:"Pour autoriser le partage de votre position, mettez \xe0 jour les param\xe8tres de votre navigateur pour permettre l'acc\xe8s \xe0 votre position. Vous pouvez \xe9galement saisir l'emplacement \xe0 la place.",requestLocationDeniedTimeout:"Il faut trop de temps pour obtenir votre position. Veuillez r\xe9essayer de le partager, ou bien saisissez-le.",requestLocationDeniedUnavailable:"Votre position actuelle n'est pas disponible. Veuillez r\xe9essayer de le partager, ou bien saisissez-le.",retryMessage:"Essayer \xe0 nouveau",send:"Envoyer le message",shareAudio:"Partager l'audio",shareFile:"Partager le fichier",shareLocation:"Emplacement partag\xe9",shareVisual:"Partager une image/une vid\xe9o",shareFailureMessage:"D\xe9sol\xe9, le partage n'est pas disponible sur cet appareil.",skillMessage:"La comp\xe9tence dit",showOptions:"Afficher les options",speak:"Dites un message",relTimeNow:"Maintenant",relTimeMoment:"Il ya quelques secondes",relTimeMin:"il y a {0} minutes",relTimeHr:"il y a {0} heures",relTimeDay:"il y a {0} jours",relTimeMon:"il y a {0} mois",relTimeYr:"il y a {0} ans",typingIndicator:"En attente d'une r\xe9ponse",upload:"Partager la fen\xeatre contextuelle",uploadFailed:"\xc9chec du t\xe9l\xe9chargement.",uploadFileNetworkFailure:"Le t\xe9l\xe9chargement n'a pas \xe9t\xe9 termin\xe9 en raison d'une panne de r\xe9seau.",uploadFileSizeLimitExceeded:"La taille du fichier ne doit pas d\xe9passer {0}\xa0Mo.",uploadFileSizeZeroByte:"Les fichiers de taille z\xe9ro octet ne peuvent pas \xeatre t\xe9l\xe9charg\xe9s.",uploadUnauthorized:"La demande de t\xe9l\xe9chargement n'est pas autoris\xe9e.",uploadUnsupportedFileType:"Type de fichier non pris en charge.",userMe
1ssage:"Je dis",utteranceGeneric:"Message de comp\xe9tence.",webViewAccessibilityTitle:"Vue Web int\xe9gr\xe9e au widget pour afficher les liens",webViewClose:"Fait",webViewErrorInfoDismiss:"Rejeter",webViewErrorInfoText:"Vous ne voyez pas la page ? {0}Cliquez ici{/0} pour l'ouvrir dans un navigateur.",yesText:"Oui"},pt:{agent:"Agente",agentMessage:"{0} diz",attachment_audio:"Anexo de \xe1udio",attachment_file:"Anexo de arquivo",attachment_image:"Anexo de imagem",attachment_video:"Anexo de v\xeddeo",attachmentAudioFallback:"Seu navegador n\xe3o suporta \xe1udio incorporado. No entanto, voc\xea pode {0}fazer o download{/0}.",attachmentVideoFallback:"Seu navegador n\xe3o suporta v\xeddeo incorporado. No entanto, voc\xea pode {0}fazer o download{/0}.",audioResponseOff:"Ativar resposta de \xe1udio",audioResponseOn:"Desativar a resposta de \xe1udio",avatarAgent:"\xcdcone do agente",avatarBot:"\xcdcone do bot",avatarUser:"\xcdcone do usu\xe1rio",card:"Cart\xe3o {0}",cardImagePlaceholder:"Imagem do cart\xe3o",cardNavNext:"Pr\xf3ximo cart\xe3o",cardNavPrevious:"Cart\xe3o anterior",chatButtonTitle:"Bate-papo ao vivo",chatTitle:"Bater papo",chatSubtitle:"",clear:"Limpar conversa",close:"Fechar widget",closing:"Fechando",connected:"Conectado",connecting:"Conectando",connectionFailureMessage:"Desculpe, o assistente n\xe3o est\xe1 dispon\xedvel no momento. Se o problema persistir, entre em contato com o suporte t\xe9cnico.",connectionRetryLabel:"Tente novamente",defaultGreetingMessage:"Ei prazer em conhec\xea-lo! Permita-me um momento para voltar para voc\xea.",defaultWaitMessage:"Ainda estou trabalhando em sua solicita\xe7\xe3o. Obrigado pela sua paci\xeancia!",defaultSorryMessage:"Desculpe. N\xe3o consigo obter o conte\xfado certo. Por favor, tente novamente.",disconnected:"Desconectado",download:"Download",editFieldErrorMessage:"A entrada do campo \xe9 inv\xe1lida",editFormErrorMessage:"Alguns dos campos precisam de sua aten\xe7\xe3o",endConversation:"Encerrar conversa",endConversationConfirmMessage:"Tem certeza de que deseja encerrar a conversa?",endConversationDescription:"Isso tamb\xe9m limpar\xe1 seu hist\xf3rico de conversas.",errorSpeechInvalidUrl:"O URL ODA para conex\xe3o n\xe3o est\xe1 definido. Por favor, passe o par\xe2metro 'URI' durante a inicializa\xe7\xe3o do SDK.",errorSpeechMultipleConnection:"Outro reconhecimento de voz est\xe1 em andamento. N\xe3o \xe9 poss\xedvel iniciar um novo.",errorSpeechTooMuchTimeout:"A mensagem de voz \xe9 muito longa para reconhecer e gerar texto.",errorSpeechUnavailable:"Para permitir mensagens de voz, atualize as configura\xe7\xf5es do seu navegador para permitir o acesso ao seu microfone.",errorSpeechUnsupportedLocale:"A localidade definida para reconhecimento de voz n\xe3o \xe9 suportada. Por favor, use uma localidade v\xe1lida na configura\xe7\xe3o 'speechLocale'.",inputPlaceholder:"Digite uma mensagem",imageViewerClose:"Fechar visualizador de imagens",imageViewerOpen:"Abra o visualizador de imagens",itemIterator:"Item {0}",noResultText:"N\xe3o h\xe1 mais resultados",noSpeechTimeout:"A voz n\xe3o p\xf4de ser detectada para realizar o reconhecimento.",language_detect:"Detectar idioma",language_pt:"Etiqueta de idioma",linkField:"Clique no texto destacado para abrir o link para {0}",noText:"N\xe3o",openMap:"Abrir mapa",previousChats:"Fim da conversa anterior",ratingStar:"Avalie {0} estrela",recognitionTextPlaceholder:"Fale sua mensagem",requestLocation:"Solicitando localiza\xe7\xe3o",requestLocationDeniedPermission:"Para permitir o compartilhamento de sua localiza\xe7\xe3o, atualize as configura\xe7\xf5es do navegador para permitir o acesso \xe0 sua localiza\xe7\xe3o. Voc\xea tamb\xe9m pode digitar o local.",requestLocationDeniedTimeout:"Est\xe1 demorando muito para obter sua localiza\xe7\xe3o. Tente compartilh\xe1-lo novamente ou digite-o.",requestLocationDeniedUnavailable:"Sua localiza\xe7\xe3o atual n\xe3o est\xe1 dispon\xedvel. Tente compartilh\xe1-lo novamente ou digite-o.",retryMessage:"Tente novamente",send:"Enviar mensagem",shareAudio:"Compartilhar \xe1udio",shareFile:"Compartilhar arquivo",shareLocation:"Compartilhar localiza\xe7\xe3o",shareVisual:"Compartilhar imagem/v\xeddeo",shareFailureMessage:"Desculpe, o compartilhamento n\xe3o est\xe1 dispon\xedvel neste dispositivo.",skillMessage:"Habilidade diz",showOptions:"Mostrar op\xe7\xf5es",speak:"Fale uma mensagem",relTimeNow:"Agora",relTimeMoment:"Alguns segundos atr\xe1s",relTimeMin:"{0}minutos atr\xe1s",relTimeHr:"{0}hora atr\xe1s",relTimeDay:"{0} dias atr\xe1s",relTimeMon:"{0} m\xeas atr\xe1s",relTimeYr:"{0} ano atr\xe1s",typingIndicator:"Aguardando resposta",upload:"Compartilhar pop-up",uploadFailed:"Falha no upload.",uploadFileNetworkFailure:"O upload n\xe3o foi conclu\xeddo devido a uma falha na rede.",uploadFileSizeLimitExceeded:"O tamanho do arquivo n\xe3o deve ser superior a {0}MB.",uploadFileSizeZeroByte:"Arquivos de tamanho zero bytes n\xe3o podem ser carregados.",uploadUnauthorized:"A solicita\xe7\xe3o de upload n\xe3o \xe9 autorizada.",uploadUnsupportedFileType:"Tipo de arquivo n\xe3o suportado.",userMe
1ssage:"Eu digo",utteranceGeneric:"Mensagem da habilidade.",webViewAccessibilityTitle:"Webview no widget para exibir links",webViewClose:"Feito",webViewErrorInfoDismiss:"Liberar",webViewErrorInfoText:"N\xe3o v\xea a p\xe1gina? {0}Clique aqui{/0} para abri-lo em um navegador.",yesText:"Sim"}};var d=r(95447),h=r(85375),v=r(20279),_=r(54438),m=r(53811),p=r(22804),u=r(58167),E=r(40872),C=r(84978),l=r(48115),y=r(39934),I=r(23726);class S{constructor(F,N,U,T,L,Z,ie,ve){this._lazyLoadScript=F,this._localizationService=N,this._authService=U,this._themeService=T,this._configurationService=L,this._stabilityService=Z,this._routingService=ie,this._meridianbetbotService=ve,this.URI=ORACLE_URI}connectToOracleSdk(){this._lazyLoadScript.loadScript("assets/scripts/web-sdk.js").subscribe(()=>{this._initOracleSdk()})}_initOracleSdk(){!document||!window.WebSDK||(this.Bots=new WebSDK(this._getConfigurations()),this._subscribeOnEvents())}onChangeStatus(){!this._configurationService.getParam("is_oracle_chat_enabled")||!this.Bots||(this.Bots.destroy(),this.Bots=new WebSDK(this._getConfigurations()),this._subscribeOnEvents())}openChat(F=""){this._configurationService.getParam("is_oracle_chat_enabled")&&(this.Bots.openChat(),this._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>{this._updateUser(),F&&this._sendFirstMessage(F)},1e3)}))}_sendFirstMessage(F){this.Bots.sendMessage({type:"text",text:F})}_getUserEmailOrPhone(){return this._authService.currentUser().isUserLogin?"EMAIL"===this._authService.currentUser().accountActivationMethod?this._authService.currentUser().email:this._authService.currentUser().phone.replace(/\+/g,""):""}_getConfigurations(){const F=this._themeService.getTheme()===d.dA,N=this._routingService.isRouteActive(v.Bi.HELP,!1);return{URI:this.URI,channelId:this._configurationService.getParam("oracle_channel_id"),userId:this._getUserEmailOrPhone(),country:this._configurationService.getParam("oracle_country_code"),enableAutocomplete:!0,enableClearMessage:!0,enableSpeech:!1,locale:this.getCurrentLocale(),showConnectionStatus:!0,i18n:i,timestampMode:"relative",fontFamily:"roboto",position:{bottom:"0px",right:N?"40px":"2000px"},icons:{send:F?"../../../assets/images/svg/oracle-send.svg":"../../../assets/images/svg/oracle-white-send.svg",shareMenu:F?"../../../assets/images/svg/oracle-upload.svg":"../../../assets/images/svg/oracle-white-upload.svg"}
1,colors:{branding:"#D11101",headerText:"#FFFFFF",conversationBackground:F?"#F0F5F8":"#10181C",botMessageBackground:F?"#FFFFFF":"#223B46",botText:F?"#2D2D2D":"#FFFFFF",userMessageBackground:F?"#D0E2EB":"#346275",userText:F?"#2D2D2D":"#FFFFFF",headerButtonFill:"#FFFFFF",footerBackground:F?"":"#223B46",inputBackground:F?"":"#223B46",inputBorder:F?"":"#223B46",inputText:F?"":"#FFFFFF"}}}_subscribeOnEvents(){this.Bots.on("widget:opened",()=>{this.Bots.connect()}),this.Bots.on("widget:closed",()=>{this._meridianbetbotService.shouldOpenOracleChat.set(!0),this.Bots.disconnect()}),this.Bots.on("chatend",()=>{this._meridianbetbotService.shouldOpenOracleChat.set(!1)})}_updateUser(){const F=this._authService.currentUser().isUserLogin?{profile:{firstName:this._authService.currentUser().firstName,lastName:this._authService.currentUser().lastName,email:this._authService.currentUser().email,country:this._configurationService.getParam("oracle_country_code"),properties:{justGotUpdated:!0}}}:{profile:{country:this._configurationService.getParam("oracle_country_code"),properties:{justGotUpdated:!0}}};this.Bots.updateUser(F)}getCurrentLocale(){const F=this._localizationService.getSelectedLocale(),N=this._configurationService.getParam("oracle_country_code");return"sr"!==F?F:"me"===N.toLowerCase()?"me":"ba"===N.toLowerCase()?"ba":F}static{this.\u0275fac=function(N){return new(N||S)(_.KVO(m.K),_.KVO(p.P),_.KVO(u.u),_.KVO(E.F),_.KVO(C.s),_.KVO(l.B),_.KVO(y.O),_.KVO(I.T))}}static{this.\u0275prov=_.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}(0,o.Cg)([h.X],S.prototype,"connectToOracleSdk",null)},83477:(he,M,r)=>{"use strict";r.d(M,{N:()=>v});var o=r(60177),i=r(45817),d=r(54438),h=r(53811);let v=(()=>{class _{constructor(p,u){this.document=p,this._lazyLoadScript=u,this.addRecaptchaScript()}addRecaptchaScript(){typeof window>"u"||(typeof CLOUDFLARE_RECAPTCHA_KEY<"u"&&CLOUDFLARE_RECAPTCHA_KEY||typeof TURNSTILE_SITE_KEY<"u"&&TURNSTILE_SITE_KEY)&&this._lazyLoadScript.loadScript("https://challenges.cloudflare.com/turnstile/v0/api.js?onload=onloadTurnstileCallback").subscribe(()=>{},()=>{})}execute(){return new i.c(p=>{typeof turnstile>"u"?p.next():(turnstile.remove("#recapture-container"),turnstile.render("#recapture-container",{sitekey:CLOUDFLARE_RECAPTCHA_KEY,callback:function(){setTimeout(()=>{turnstile.remove("#recapture-container")},1e3),p.next()}}))})}executeInvisible(){return new i.c(p=>{if(typeof turnstile>"u")return p.next(""),void p.complete();try{const u=this.document.createElement("div");u.id="turnstile-invisible-"+Date.now(),u.style.display="none",this.document.body.appendChild(u),turnstile.render(`#${u.id}`,{sitekey:TURNSTILE_SITE_KEY,callback:E=>{setTimeout(()=>{turnstile.remove(`#${u.id}`),this.document.body.removeChild(u)},100),p.next(E),p.complete()},"error-callback":E=>{this.document.body.removeChild(u),p.error(E)},"expired-callback":()=>{this.document.body.removeChild(u),p.next(""),p.complete()},"timeout-callback":()=>{this.document.body.removeChild(u),p.error(new Error("Turnstile timeout"))}}),setTimeout(()=>{turnstile.execute(`#${u.id}`)},100)}catch(u){p.error(u)}})}static{this.\u0275fac=function(u){return new(u||_)(d.KVO(o.DOCUMENT),d.KVO(h.K))}}static{this.\u0275prov=d.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},62611:(he,M,r)=>{"use strict";r.d(M,{S:()=>v});var o=r(45286),i=r(95447),d=r(54438),h=r(65283);let v=(()=>{class _{constructor(p){this._httpService=p,this._searchModalClosed=new o.B7,this.searchModalClosed$=this._searchModalClosed.asObservable(),this.isSearchOpen=!1}search(p,u=0,E){return this._httpService.get(`api/v4/search?term=${encodeURI(p)}&page=${u}${E?`&sportId=${E}`:""}`)}shouldLoadMore(p,u,E){return this._checkIfIsEnd(p,u,E)}_checkIfIsEnd(p,u,E){return p+u>=E-i.oY}closeSearch(){this._searchModalClosed.next(),this.isSearchOpen=!1}openSearch(){this.isSearchOpen=!0}static{this.\u0275fac=function(u){return new(u||_)(d.KVO(h.k))}}static{this.\u0275prov=d.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},80166:(he,M,r)=>{"use strict";r.d(M,{$:()=>S});var o=r(31635),i=r(45286),d=r(76651),h=r(23176),v=r(63020),_=r(49090),m=r(85375),p=r(6847),u=r(59187),E=r(54438),C=r(58167),l=r(63755),y=r(84978),I=r(48115);class S{constructor(F,N,U,T){this._authService=F,this._localStorageService=N,this._configurationService=U,this._stabilityService=T,this.activityEventsSubject=ne
1w i.B7,this.isLogoutInactivityEnabled=!1,this.inactivityTime=1e3,this.debounceTime=2e4,this.TIME_OF_LEAVING="time_of_leaving",this._setupConfiguration(),this.boundEventHandle=this.eventHandles.bind(this),this.boundVisibilityHandle=this._handleVisibility.bind(this)}_setupConfiguration(){this.isLogoutInactivityEnabled=this._configurationService.getParam("logout_inactive_user_enabled");const F=Number(this._configurationService.getParam("inactive_time_before_logout"));this.inactivityTime=F&&F>0?F:null,this.inactivityTime?this.inactivityThreshold=60*this.inactivityTime*1e3-this.debounceTime:this.isLogoutInactivityEnabled=!1}startTracking(){this.isLogoutInactivityEnabled&&(this._monitorActivityEvents(),this._setupActivityListeners())}_setupActivityListeners(){["click","mousewheel","mousemove","keydown"].forEach(F=>{document.addEventListener(F,this.boundEventHandle)},!0),document.addEventListener("visibilitychange",this.boundVisibilityHandle)}clearTracking(){this.isLogoutInactivityEnabled&&(["click","mousewheel","mousemove","keydown"].forEach(F=>{document.removeEventListener(F,this.boundEventHandle)}),document.removeEventListener("visibilitychange",this.boundVisibilityHandle),this.unsubscribeFromEmitter())}unsubscribeFromEmitter(){this.inactivityEmitter?.unsubscribe()}stopTrackingMovement(){this._authService.currentUser().isUserLogin&&this.isLogoutInactivityEnabled&&this.unsubscribeFromEmitter()}continueTrackingMovement(){this._authService.currentUser().isUserLogin&&this.isLogoutInactivityEnabled&&this._monitorActivityEvents()}eventHandles(){this.activityEventsSubject.next()}_monitorActivityEvents(){this._stabilityService.isAppStable().subscribe(()=>{this.inactivityEmitter=this.activityEventsSubject.pipe((0,h.Z)(null),(0,v.B)(this.debounceTime),(0,_.n)(()=>(0,d.O)(this.inactivityThreshold))).subscribe(()=>{this._authService.logoutUser(p.lJ.INACTIVITY)})})}_handleVisibility(){if(document.visibilityState===u.p.HIDDEN&&this._localStorageService.setItem(this.TIME_OF_LEAVING,Date.now()),document.visibilityState===u.p.VISIBLE){const F=this._localStorageService.getItem(this.TIME_OF_LEAVING);if(!F)return;this._localStorageService.removeItem(this.TIME_OF_LEAVING),(Date.now()-F)/this.inactivityThreshold>1&&this._authService.logoutUser(p.lJ.INACTIVITY)}}static{this.\u0275fac=function(N){return new(N||S)(E.KVO(C.u),E.KVO(l.s),E.KVO(y.s),E.KVO(I.B))}}static{this.\u0275prov=E.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}(0,o.Cg)([m.X],S.prototype,"_setupConfiguration",null),(0,o.Cg)([m.X],S.prototype,"startTracking",null),(0,o.Cg)([m.X],S.prototype,"_setupActivityListeners",null),(0,o.Cg)([m.X],S.prototype,"clearTracking",null),(0,o.Cg)([m.X],S.prototype,"unsubscribeFromEmitter",null),(0,o.Cg)([m.X],S.prototype,"stopTrackingMovement",null),(0,o.Cg)([m.X],S.prototype,"continueTrackingMovement",null),(0,o.Cg)([m.X],S.prototype,"eventHandles",null),(0,o.Cg)([m.X],S.prototype,"_monitorActivityEvents",null),(0,o.Cg)([m.X],S.prototype,"_handleVisibility",null)},18655:(he,M,r)=>{"use strict";r.d(M,{k:()=>Fe});var o=r(10467),i=r(31635),d=r(30798),h=r(23712),v=r(30335),_=r(3578),m=r(67018),p=r(31185),u=r(85375),E=r(6847),C=r(60177),l=r(54438),y=r(73955),I=r(58114),S=r(91398),P=r(48115),F=r(96467);let N=(()=>{class Ye{constructor(){this._stabilityService=(0,l.WQX)(P.B),this.timer=""}ngOnInit(){S.R.isBrowser&&(this.calculateCountDownTime(),this._stabilityService.isAppStable().subscribe(()=>{this._intervalId=window.setInterval(()=>{this.calculateCountDownTime()},1e3)}))}ngOnDestroy(){clearInterval(this._intervalId)}calculateCountDownTime(){const De=new Date(this.payload.endTime),He=new Date,we=De.getTime()-He.getTime();let Tt=Math.floor(we/1e3);Tt=Tt<=0?0:Tt;const ct=Math.floor(Tt/60),tn=Math.floor(Tt%60);if(this.timer=`${ct.toString().padStart(2,"0")}:${tn.toString().padStart(2,"0")}`,!(Tt>0)){if(clearInterval(this._intervalId),this.payload.countDownTriggerFunction)return this.payload.countDownTriggerFunction();if(this.payload.cancelFunction)return this.payload.cancelFunction()}}cancel(){this.payload.cancelFunction&&this.payload.cancelFunction()}confirm(){this.payload.confirmFunction&&this.payload.confirmFunction()}static{this.\u0275fac=function(He){return new(He||Ye)}}static{this.\u0275cmp=l.VBU({type:Ye,selectors:[["countdown-modal"]],inputs:{payload:"payload"},standalone:!0,features:[l.aNF],decls:22,vars:13,consts:[[1,"c-personal-limits-wrapper"],[1,"c-personal-limits"],[1,"c-personal-limits__header"],[1,"c-personal-limits__title"],[3,"click"],["icon","close",1,"c-personal-limits__close"],[1,"c-personal-limits__main"],["
1icon","error",1,"c-personal-limits__image"],[1,"c-personal-limits__timer"],[1,"c-personal-limits__info"],[1,"c-personal-limits__footer"],[1,"c-personal-limits-btn","c-personal-limits-btn--error",3,"click"],[1,"c-personal-limits-btn","c-personal-limits-btn--success",3,"click"]],template:function(He,we){1&He&&(l.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h4",3),l.EFF(4),l.nI1(5,"translate"),l.k0s(),l.j41(6,"button",4),l.bIt("click",function(){return we.cancel()}),l.nrm(7,"svg-icon",5),l.k0s()(),l.j41(8,"div",6),l.nrm(9,"svg-icon",7),l.j41(10,"p",8),l.EFF(11),l.k0s(),l.j41(12,"p",9),l.EFF(13),l.nI1(14,"translate"),l.k0s()(),l.j41(15,"div",10)(16,"button",11),l.bIt("click",function(){return we.cancel()}),l.EFF(17),l.nI1(18,"translate"),l.k0s(),l.j41(19,"button",12),l.bIt("click",function(){return we.confirm()}),l.EFF(20),l.nI1(21,"translate"),l.k0s()()()()),2&He&&(l.R7$(4),l.JRh(l.bMT(5,5,we.payload.title)),l.R7$(7),l.JRh(we.timer),l.R7$(2),l.JRh(l.bMT(14,7,we.payload.description)),l.R7$(4),l.SpI(" ",l.bMT(18,9,"general.logout")," "),l.R7$(3),l.SpI(" ",l.bMT(21,11,"general.stay_login")," "))},dependencies:[y.h,y.D9,C.CommonModule,I.A,F.D],styles:[".c-personal-limits-wrapper[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;padding:0 20px;background-color:var(--baseBackdropBg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:var(--z-index-error-modal)}.c-personal-limits[_ngcontent-%COMP%]{width:100%;padding:0;max-width:476px;min-height:242px;background-color:var(--registrationModalBg);color:var(--baseTextColor);border-radius:4px;border:1px solid var(--baseAccountWhite09);overflow:hidden}.c-personal-limits__header[_ngcontent-%COMP%]{display:flex;padding:0 20px;background-color:var(--baseModalHeaderBackground)}.c-personal-limits__title[_ngcontent-%COMP%]{width:100%;padding:10px;color:var(--baseTextColor);margin-left:10px;font-size:24px;text-align:center;font-weight:500;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-personal-limits__image[_ngcontent-%COMP%]{width:28px;height:28px;color:var(--baseTextColor)}.c-personal-limits__close[_ngcontent-%COMP%]{width:10px;height:10px;color:var(--baseTextColor)}.c-personal-limits__info[_ngcontent-%COMP%]{font-family:var(--font);font-size:14px;color:var(--baseAccountSettingsColor09)}.c-personal-limits__main[_ngcontent-%COMP%]{padding:25px 60px;text-align:center;display:flex;flex-direction:column;align-items:center;line-height:16px;gap:10px}.c-personal-limits__timer[_ngcontent-%COMP%]{font-size:16px;font-weight:700}.c-personal-limits__footer[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 40px 20px}.c-personal-limits-btn[_ngcontent-%COMP%]{min-width:175px;height:40px;border-radius:4px;font-family:var(--font-cond);font-size:14px;text-align:center;font-weight:700;text-transform:uppercase;background-color:transparent;border:1px solid var(--base-blue-04);color:var(--baseWhite01)}.c-personal-limits-btn--error[_ngcontent-%COMP%]{border-color:var(--base-blue-05)}.c-personal-limits-btn--success[_ngcontent-%COMP%]{background-color:var(--base-green-01);transition:opacity .2s linear;color:var(--white);margin-left:20px;border-color:var(--base-green-01)}.c-personal-limits-btn--success[_ngcontent-%COMP%]:disabled{pointer-events:none;opacity:.4}.c-personal-limits-btn--success[_ngcontent-%COMP%]:hover{opacity:.85}.c-personal-limits-title[_ngcontent-%COMP%]{font-size:14px;font-weight:400;display:flex;color:var(--baseWhite07);margin-right:auto;padding-bottom:10px;padding-top:10px}.c-input-field-wrapper[_ngcontent-%COMP%]{position:relative}"]})}}return Ye})();var U=r(89417);const T=(Ye,Re,De)=>He=>(De||(De=Object.keys(He.controls)),He&&He.controls&&De.some(Tt=>!Ye(He.controls[Tt]))?null:{[Re]:!0});var L=r(53988),Z=r(35132),ie=r(82870);const ve=/^[1-9]\d*$/;function me(){return Ye=>Ye.value&&!ve.test(Ye.value)?{leadingZero:"account.leading_zero"}:{}}var xe=r(10475),$=r(86807),V=r(34139),oe=r(82361),z=r(39934),W=r(89389),re=r(58167),ee=r(62125);const Se=(Ye,Re)=>({"c-settings-select-wrapper--active":Ye,"c-settings-select-wrapper--disabled":Re});function J(Ye,Re){if(1&Ye){const De=l.RV6();l.j41(0,"li",7),l.bIt("click",function(){const we=l.eBV(De).$implicit,Tt=l.XpG();return l.Njj(Tt.selectParam(we))}),l.EFF(1),l.nI1(2,"lowercase"),l.nI1(3,"translate"),l.nI1(4,"uppercase"),l.nI1(5,"lowercase"),l.nI1(6,"translate"),l.k0s()}if(2&Ye){const De=Re.$implicit,He=l.XpG();l.HbH(He.selectedParameter===De?"selected":""),l.R7$(),l.SpI(" ",He.uppercase?l.bMT(4,7,l.bMT(3,5,l.bMT(2,3,He.translateSection+"."+De))):l.bMT(6,11,l.bMT(5,9,He.translateSection+"."+De))," ")}}let de=(()=>{class Ye{constructor(){this.selectedParameter="",this.values=[],this.dropDownTitle="",this.disabled=!1,this.isForLimits=!1,this.timeOptions=[],this.type="",this.selectId="param-select",this.wrapperClass="",this.translateSection="account",this.id="",this.up
1percase=!0,this.onSelectedParam=new l.bkB,this.isListOpened=!1}eventHandler(De){(0,ee.A)(De,"target.id")!==this.id&&(this.isListOpened=!1)}toggleList(){this.isListOpened=!this.isListOpened}selectParam(De){this.selectedParameter=De,this.onSelectedParam.emit(this.isForLimits?{value:this.selectedParameter,type:this.type}:this.selectedParameter),this.isListOpened=!1}static{this.\u0275fac=function(He){return new(He||Ye)}}static{this.\u0275cmp=l.VBU({type:Ye,selectors:[["custom-translating-dropdown"]],hostBindings:function(He,we){1&He&&l.bIt("click",function(ct){return we.eventHandler(ct)},!1,l.EBC)},inputs:{selectedParameter:"selectedParameter",values:"values",dropDownTitle:"dropDownTitle",disabled:"disabled",isForLimits:"isForLimits",timeOptions:"timeOptions",type:"type",selectId:"selectId",wrapperClass:"wrapperClass",translateSection:"translateSection",id:"id",uppercase:"uppercase"},outputs:{onSelectedParam:"onSelectedParam"},decls:13,vars:17,consts:[[1,"c-settings-select-wrapper",3,"ngClass"],[1,"c-settings-select",3,"click","id"],[1,"c-settings-select__value"],[1,"c-settings-select__arrow"],["icon","account-dropdown-arrow",1,"c-settings-select__arrow-icon"],[1,"c-settings-select__list"],["class","c-settings-select__list-item",3,"class","click",4,"ngFor","ngForOf"],[1,"c-settings-select__list-item",3,"click"]],template:function(He,we){1&He&&(l.j41(0,"div",0)(1,"div",1),l.bIt("click",function(){return we.toggleList()}),l.j41(2,"span",2),l.EFF(3),l.nI1(4,"lowercase"),l.nI1(5,"translate"),l.nI1(6,"uppercase"),l.nI1(7,"lowercase"),l.nI1(8,"translate"),l.k0s()(),l.j41(9,"span",3),l.nrm(10,"svg-icon",4),l.k0s(),l.j41(11,"ul",5),l.DNE(12,J,7,13,"li",6),l.k0s()()),2&He&&(l.Y8G("ngClass",l.l_i(14,Se,we.isListOpened,we.disabled)),l.R7$(),l.FS9("id",we.id),l.R7$(2),l.SpI(" ",we.uppercase?l.bMT(6,8,l.bMT(5,6,l.bMT(4,4,we.translateSection+"."+(we.selectedParameter?we.selectedParameter:we.dropDownTitle)))):l.bMT(8,12,l.bMT(7,10,we.translateSection+"."+(we.selectedParameter?we.selectedParameter:we.dropDownTitle)))," "),l.R7$(9),l.Y8G("ngForOf",we.values))},dependencies:[C.NgClass,C.NgForOf,F.D,C.UpperCasePipe,C.LowerCasePipe,y.D9],styles:['.c-settings-select-wrapper[_ngcontent-%COMP%]{border:1px solid var(--baseAccountBlue05);background-color:var(--baseAccountBlue03);border-radius:10px;position:relative;cursor:pointer}.c-settings-select-wrapper.c-settings-select-wrapper--error[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-settings-select-wrapper.c-settings-select-wrapper--active[_ngcontent-%COMP%]{border-radius:10px 10px 0 0}.c-settings-select-wrapper.c-settings-select-wrapper--active[_ngcontent-%COMP%] .c-settings-select__arrow[_ngcontent-%COMP%]{transform:rotate(180deg)}.c-settings-select-wrapper.c-settings-select-wrapper--active[_ngcontent-%COMP%] .c-settings-select__list[_ngcontent-%COMP%]{display:block}.c-settings-select-wrapper.c-settings-select-wrapper--active[_ngcontent-%COMP%] .c-settings-select[_ngcontent-%COMP%]{border-bottom:1px solid var(--baseAccountBlue05);border-radius:10px 10px 0 0}.c-settings-select-wrapper.c-settings-select-wrapper--limit[_ngcontent-%COMP%] .c-settings-select[_ngcontent-%COMP%]{padding:13px 10px 12px}.c-settings-select-wrapper.c-settings-select-wrapper--limit[_ngcontent-%COMP%] .c-settings-select[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{margin-bottom:0;margin-top:1px}.c-settings-select-wrapper.c-settings-select-wrapper--limit[_ngcontent-%COMP%] .c-settings-select__arrow[_ngcontent-%COMP%]{right:10px;pointer-events:none}.c-settings-select-wrapper.c-settings-select-wrapper--limit[_ngcontent-%COMP%] .c-settings-select[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{pointer-events:none}.c-settings-select-wrapper.c-settings-select-wrapper--limit[_ngcontent-%COMP%] .c-settings-select__list-item[_ngcontent-%COMP%]{margin:0;padding:10px;position:relative}.c-settings-select-wrapper.c-settings-select-wrapper--limit[_ngcontent-%COMP%] .c-settings-select__list-item.selected[_ngcontent-%COMP%]:after{position:absolute;right:5px;border-radius:50%;top:50%;transform:translateY(-50%);content:"";width:8px;height:8px;background:var(--blue-primary);border:1px solid var(--dropdownItemRounderMark)}.c-settings-select-wrapper.c-settings-select-wrapper--limit[_ngcontent-%COMP%] .c-settings-select__list-item[_ngcontent-%COMP%]:hover{background-color:var(--dropdownItemBgColorHover)}.c-settings-select-wrapper--disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.4}.c-settings-select-wrapper--disabled[_ngcontent-%COMP%] .c-settings-select[_ngcontent-%COMP%]{background-color:var(--baseAccountSettingsColor06)}.c-settings-select[_ngcontent-%COMP%]{width:100%;display:flex;background:transparent;border:none;padding:14px 20px;outline:none;font-size:14px;line-height:16px;border-radius:10px;color:var(--baseTextColor);text-transform:capitalize;min-height:44px}.c-settings-select[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:25px;pointer-events:none}.c-settings-select__arrow[_ngcontent-%COMP%]{position:absolute;top:14px;right:20px;transform:rotate(90deg);transition:transform .2s linear;color:var(--baseTextColor);transform-origin:center;display:inline-flex;pointer-events:none;width:14px}.c-settings-select__list[_ngcontent-%COMP%]{list-style-type:none;max-height:277px;overflow-y:auto;display:none;position:absolute;background:var(--dropdownItemsBgColor);left:-1px;width:calc(100% + 2px);border-left:1px solid var(--baseAccountBlue05);border-right:1px solid var(--baseAccountBlue05);border-bottom:1px solid var(--baseAccountBlue05);border-radius:0 0 10px 10px;z-index:var(--z-index-dropdown)}.c-settings-select__list.c-settings-select__list--error[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-settings-select__list-item[_ngcontent-%COMP%]{position:relative;color:var(--baseTextColor);font-size:14px;padding:15px 20px;cursor:pointer;transition:all .2s ease;text-transform:capitalize}.c-settings-select__list-item.selected-yellow[_ngcontent-%COMP%]{color:var(--black-02);background-color:var(--base-yellow-01)}.c-settings-select__list-item[_ngcontent-%COMP%]:hover{color:var(--text-light-color)}',".c-settings-select-wrapper[_ngcontent-%COMP%]{background-color:var(--baseBlue16)}.c-settings-select[_ngcontent-%COMP%]{padding:10px}.c-settings-select__list-item[_ngcontent-%COMP%]{display:flex;justify-content:space-between;background-color:var(--baseBlue16);color:var(--baseGrey22);padding:10px;margin:0}.c-settings-select__list-item.selected[_ngcontent-%COMP%]{color:var(--black-02);background-color:var(--base-yellow-01)}.c-settings-select__list-item[_ngcontent-%COMP%]:hover{opacity:.9}.c-settings-select__value[_ngcontent-%COMP%]{pointer-events:none;touch-action:none}.c-settings-select__arrow[_ngcontent-%COMP%]{top:-53px}"]})}}return Ye})();const ke=Ye=>({"l-editing-mode":Ye}),ge=Ye=>({disabled:Ye}),ye=(Ye,Re)=>({"c-input-field--error":Ye,"c-input-field--selected":Re});function Pe(Ye,Re){1&Ye&&(l.j41(0,"div",28),l.EFF(1),l.nI1(2,"translate"),l.k0s()),2&Ye&&(l.R7$(),l.SpI(" ",l.bMT(2,1,"account.field_required")," "))}function Me(Ye,Re){if(1&Ye&&(l.j41(0,"div",28),l.EFF(1),l.nI1(2,"translate"),l.k0s()),2&Ye){const De=l.XpG(2).$implicit,He=l.XpG(4);l.R7$(),l.Lme(" ",l.bMT(2,2,"account.max_input")," ",null==He.transactionLimitsForm.controls[De.limitName].errors?null:He.transactionLimitsForm.controls[De.limitName].errors.max.max," ")}}function We(Ye,Re){1&Ye&&(l.j41(0,"div",28),l.EFF(1),l.nI1(2,"translate"),l.k0s()),2&Ye&&(l.R7$(),l.SpI(" ",l.bMT(2,1,"account.invali
1d_input")," "))}function Oe(Ye,Re){if(1&Ye&&(l.j41(0,"div",26),l.DNE(1,Pe,3,3,"div",27)(2,Me,3,4,"div",27)(3,We,3,3,"div",27),l.k0s()),2&Ye){const De=l.XpG().$implicit,He=l.XpG(4);l.R7$(),l.Y8G("ngIf",null==He.transactionLimitsForm.controls[De.limitName].errors?null:He.transactionLimitsForm.controls[De.limitName].errors.required),l.R7$(),l.Y8G("ngIf",null==He.transactionLimitsForm.controls[De.limitName].errors?null:He.transactionLimitsForm.controls[De.limitName].errors.max),l.R7$(),l.Y8G("ngIf",(null==He.transactionLimitsForm.controls[De.limitName].errors?null:He.transactionLimitsForm.controls[De.limitName].errors.leadingZero)||(null==He.transactionLimitsForm.controls[De.limitName].errors?null:He.transactionLimitsForm.controls[De.limitName].errors.min))}}function tt(Ye,Re){if(1&Ye){const De=l.RV6();l.j41(0,"div",21)(1,"div",22)(2,"label",23),l.nI1(3,"formatCurrency"),l.j41(4,"input",24),l.bIt("keypress",function(we){l.eBV(De);const Tt=l.XpG(4);return l.Njj(Tt.inputValidationService.allowOnlyNumbersWithoutPeriod(we))})("paste",function(we){l.eBV(De);const Tt=l.XpG(4);return l.Njj(Tt.inputValidationService.allowOnlyNumbersOnPaste(we))}),l.k0s()(),l.DNE(5,Oe,4,3,"div",25),l.k0s()()}if(2&Ye){const De=Re.$implicit,He=l.XpG(2).$implicit,we=l.XpG(2);l.R7$(),l.Y8G("ngClass",l.l_i(7,ye,we.transactionLimitsForm.controls[De.limitName].invalid&&(we.transactionLimitsForm.controls[De.limitName].dirty||we.transactionLimitsForm.controls[De.limitName].touched),De.timePeriod+"_LIMIT"===we.selectedLimitDropdown[He])),l.R7$(),l.BMQ("currencycode",l.bMT(3,5,null==De.currency?null:De.currency.alphabeticCode)),l.R7$(2),l.FS9("max",De.maxValue),l.FS9("formControlName",De.limitName),l.R7$(),l.Y8G("ngIf",we.transactionLimitsForm.controls[De.limitName].invalid&&(we.transactionLimitsForm.controls[De.limitName].dirty||we.transactionLimitsForm.controls[De.limitName].touched))}}function Qe(Ye,Re){if(1&Ye){const De=l.RV6();l.qex(0),l.j41(1,"h4",18),l.EFF(2),l.nI1(3,"lowercase"),l.nI1(4,"translate"),l.k0s(),l.j41(5,"custom-translating-dropdown",19),l.bIt("onSelectedParam",function(we){l.eBV(De);const Tt=l.XpG().$implicit,ct=l.XpG(2);return l.Njj(ct.onChangeDropdown(Tt,we))}),l.k0s(),l.DNE(6,tt,6,10,"div",20),l.bVm()}if(2&Ye){const De=l.XpG().$implicit,He=l.XpG(2);l.R7$(2),l.JRh(l.bMT(4,8,l.bMT(3,6,"account."+De+"_limits"))),l.R7$(3),l.Y8G("values",He.limitDropdownData[De])("selectedParameter",He.selectedLimitDropdown[De]||"")("id",De)("uppercase",!1),l.R7$(),l.Y8G("ngForOf",He.payload[De])}}function _t(Ye,Re){if(1&Ye&&(l.j41(0,"div",16),l.DNE(1,Qe,7,10,"ng-container",17),l.k0s()),2&Ye){const De=Re.$implicit,He=l.XpG(2);l.R7$(),l.Y8G("ngIf",He.payload[De])}}function ht(Ye,Re){if(1&Ye&&(l.j41(0,"div",13)(1,"form",14),l.DNE(2,_t,2,1,"div",15),l.k0s()()),2&Ye){const De=l.XpG();l.R7$(),l.Y8G("formGroup",De.transactionLimitsForm),l.R7$(),l.Y8G("ngForOf",De.LIMIT_DISPLAY_ORDER)}}let mt=(()=>{class Ye{constructor(De,He,we,Tt,ct){this.inputValidationService=De,this._modalService=He,this._routingService=we,this._personalLimitsService=Tt,this._authService=ct,this.LIMIT_DISPLAY_ORDER=p.Jt,this.selectedLimitDropdown={[d.vo.DEPOSIT]:"",[d.vo.WAGER]:"",[d.vo.LOSS]:""},this.limitDropdownData={[d.vo.DEPOSIT]:[],[d.vo.WAGER]:[],[d.vo.LOSS]:[]},this.isEditingMode=!1,this._formOneOfMandatoryValidationArrayMap={}}ngOnInit(){this._prepareLimitDropdownData(),this._setUserLimits(),this._initForm()}cancel(){this._routingService.isOnDeposit()&&Object.prototype.hasOwnProperty.call(this.payload,d.vo.DEPOSIT)&&this._routingService.navigateToHome(),this._modalService.close()}confirm(){this.isEditingMode?this.submitForm():this._toggleEditingMode()}_toggleEditingMode(){this.isEditingMode=!this.isEditingMode}_setUserLimits(){this._personalLimitsService.getPersonalLimits().then(De=>{this.userPersonalLimitsData=De})}_initForm(De=!1){this.transactionLimitsForm=this.createFormGroupFromLimitsData(this.payload,De)}createFormGroupFromLimitsData(De,He=!1){const we={};return this.LIMIT_DISPLAY_ORDER.forEach(Tt=>{De[Tt]&&De[Tt].forEach(ct=>{const tn=this.getUserLimitDataItemFromConfigDataItem(ct);this._mergeUserAndConfigModel(ct,tn),we[ct.limitName]=new U.MJ(He?void 0:tn?.value,ct.limitMandatory===d.Q3.MANDATORY?[U.k0.required,me()]:[me()]),ct.limitMandatory===d.Q3.ONE_OF_MANDATORY&&this._addToCustomValidationMap(ct)})}),new U.gE(we,this._getCustomValidatorsArray())}
1_addToCustomValidationMap(De){this.LIMIT_DISPLAY_ORDER.forEach(He=>{De.limitType===He&&(this._formOneOfMandatoryValidationArrayMap[He]?this._formOneOfMandatoryValidationArrayMap[He].push(De.limitName):this._formOneOfMandatoryValidationArrayMap[He]=[De.limitName])})}_mergeUserAndConfigModel(De,He){De.limitName=this.getLimitNameFromParams(De),De.limitStartTime=He?.limitStartTime,De.currentTimeFrameStartTime=He?.currentTimeFrameStartTime,De.currentTimeFrameEndTime=He?.currentTimeFrameEndTime,De.nextLimitStartTime=He?.nextLimitStartTime,De.nextValue=He?.nextValue}_getCustomValidatorsArray(){const De=[];for(const He of Object.values(this._formOneOfMandatoryValidationArrayMap)){const we=He[0].split("_")[1];De.push(T(U.k0.required,we,He))}return De}getLimitNameFromParams(De){return De.timePeriod+"_"+De.limitType}getUserLimitDataItemFromConfigDataItem(De){return(0,m.A)(this.userPersonalLimitsData,He=>He.limitType===De.limitType&&He.timePeriod===De.timePeriod)}getConfigDataItemFromFormControlKey(De){const[He,we]=De.split("_");return(0,m.A)(this.payload[we],Tt=>Tt.timePeriod===He)}clearForm(){this._formOneOfMandatoryValidationArrayMap={},this._initForm(!0)}submitForm(){this.transactionLimitsForm.invalid||this._personalLimitsService.savePersonalLimits(this._formatFormDataForSubmit()).subscribe(De=>{this.userPersonalLimitsData=Z.d.fromUserPersonalLimitsDataResponse(De),this._personalLimitsService.setPersonalLimits(this.userPersonalLimitsData),this._showSuccessPopup()})}_formatFormDataForSubmit(){const De=[];for(const He of this.userPersonalLimitsData)De.push({timePeriod:He.timePeriod,currency:He.currency,limitType:He.limitType,value:He.value});for(const[He,we]of Object.entries(this.transactionLimitsForm.controls)){const[Tt,ct]=He.split("_"),tn=(0,L.A)(De,Ee=>Ee.limitType===ct&&Ee.timePeriod===Tt);-1===tn?we.value&&De.push({timePeriod:Tt,currency:this._authService.getAccountCurrencyObject(),limitType:ct,value:we.value}):De[tn].value=we.value}return De}_showSuccessPopup(){this.close(),this._modalService.openPopup({component:$.SuccessPopup,payload:{message:"account.personal_limits_updated"}})}close(){this._modalService.close()}onChangeDropdown(De,He){this.selectedLimitDropdown[De]=He}_prepareLimitDropdownData(De=this.payload){this.LIMIT_DISPLAY_ORDER.forEach(He=>{De[He]&&De[He].forEach(we=>{this.limitDropdownData[He].push(`${we.timePeriod}_LIMIT`)}),this.selectedLimitDropdown[He]=this.limitDropdownData[He][0]})}static{this.\u0275fac=function(He){return new(He||Ye)(l.rXU(V.N),l.rXU(oe.B),l.rXU(z.O),l.rXU(W.T),l.rXU(re.u))}}static{this.\u0275cmp=l.VBU({type:Ye,selectors:[["personal-limits-modal"]],inputs:{payload:"payload"},standalone:!0,features:[l.aNF],decls:22,vars:26,consts:[[1,"c-personal-limits-wrapper"],[1,"c-personal-limits"],[1,"c-personal-limits__header"],[1,"c-personal-limits__title"],[3,"click"],["icon","close",1,"c-personal-limits__close"],[1,"c-personal-limits__main",3,"ngClass"],["icon","tooltip-alert",1,"c-personal-limits__image",3,"ngClass"],[1,"c-personal-limits__info"],["class","c-personal-limits__content",4,"ngIf"],[1,"c-personal-limits__footer",3,"ngClass"],[1,"c-personal-limits-btn","c-personal-limits-btn--error",3,"click"],[1,"c-personal-limits-btn","c-personal-limits-btn--success",3,"click","disabled","ngClass"],[1,"c-personal-limits__content"],[1,"l-personal-limits-box",3,"formGroup"],["class","c-personal-limit__form-item",4,"ngFor","ngForOf"],[1,"c-personal-limit__form-item"],[4,"ngIf"],[1,"c-personal-limits-title"],[3,"onSelectedParam","values","selectedParameter","id","uppercase"],["class","c-input-field-wrapper",4,"ngFor","ngForOf"],[1,"c-input-field-wrapper"],[1,"c-personal-limits-input-field",3,"ngClass"],[1,"c-personal-limits-input-label"],["type","number","min","1",1,"c-settings-input",3,"keypress","paste","max","formControlName"],["class","alert alert-danger",4,"ngIf"],[1,"alert","alert-danger"],["class","c-error-message",4,"ngIf"],[1,"c-error-message"]],template:function(He,we){1&He&&(l.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h4",3),l.EFF(4),l.nI1(5,"translate"),l.k0s(),l.j41(6,"button",4),l.bIt("click",function(){return we.cancel()}),l.nrm(7,"svg-icon",5),l.k0s()(),l.j41(8,"div",6),l.nrm(9,"svg-icon",7),l.j41(10,"div",8)(11,"p"),l.EFF(12),l.nI1(13,"translate"),l.k0s()(),l.DNE(14,ht,3,2,"div",9),l.k0s(),l.j41(15,"div",10)(16,"button",11),l.bIt("click",function(){return we.cancel()}),l.EFF(17),l.nI1(18,"translate"),l.k0s(),l.j41(19,"button",12),l.bIt("click",function(){return we.confirm()}),l.EFF(20),l.nI1(21,"translate"),l.k0s()()()()),2&He&&(l.R7$(4),l.JRh(l.bMT(5,10,"account.set_limit")),l.R7$(4),l.Y8G("ngClass",l.eq3(18,ke,we.isEditingMode)),l.R7$(),l.Y8G("ngClass",l.eq3(20,ke,we.isEditingMode)),l.R7$(3),l.JRh(l.bMT(13,12,we.isEditingMode?"account.mandatory_limits_modal_info_expanded":"account.mandatory_limits_modal_info")),l.R7$(2),l.Y8G("ngIf",we.isEditingMode),l.R7$(),l.Y8G("ngClass",l.eq3(22,ke,we.isEditingMode)),l.R7$(2),l.SpI(" ",l.bMT(18,14,"general.cancel")," "),l.R7$(2),l.Y8G("disabled",we.isEditingMode&&(we.transactionLimitsForm.invali
1d||we.transactionLimitsForm.pristine))("ngClass",l.eq3(24,ge,we.isEditingMode&&we.transactionLimitsForm.invalid)),l.R7$(),l.SpI(" ",l.bMT(21,16,we.isEditingMode?"general.save":"account.set_limit")," "))},dependencies:[y.h,y.D9,C.CommonModule,C.NgClass,C.NgForOf,C.NgIf,C.LowerCasePipe,U.X1,U.qT,U.me,U.Q0,U.BC,U.cb,U.VZ,U.zX,U.j4,U.JD,I.A,F.D,ie.Y,de,xe.P],styles:['.c-personal-limits-wrapper[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;padding:0 20px;background-color:var(--baseBackdropBg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:var(--z-index-modal)}.c-personal-limits[_ngcontent-%COMP%]{width:100%;padding:0;max-width:476px;min-height:242px;background-color:var(--registrationModalBg);color:var(--baseTextColor);border-radius:4px;border:1px solid var(--baseAccountWhite09);overflow:hidden}.c-personal-limits__header[_ngcontent-%COMP%]{display:flex;padding:0 10px;background-color:var(--baseModalHeaderBackground)}.c-personal-limits__title[_ngcontent-%COMP%]{width:100%;padding:10px;color:var(--baseTextColor);margin-left:10px;font-size:18px;text-align:center;font-weight:600;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-personal-limits__image[_ngcontent-%COMP%]{width:25px;height:25px;margin-bottom:25px;color:var(--baseTextColor)}.c-personal-limits__close[_ngcontent-%COMP%]{width:10px;height:10px;color:var(--baseTextColor)}.c-personal-limits__info[_ngcontent-%COMP%]{font-size:14px}.c-personal-limits__main[_ngcontent-%COMP%]{padding:10px 60px 40px;font-size:13px;line-height:16px;text-align:center}.c-personal-limits__footer[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 40px 20px}.c-personal-limits-btn[_ngcontent-%COMP%]{height:40px;border-radius:4px;font-family:var(--font-cond);font-size:14px;text-align:center;font-weight:700;text-transform:uppercase;background-color:transparent;border:1px solid var(--base-blue-04);color:var(--baseWhite01);padding:0 32px}.c-personal-limits-btn--error[_ngcontent-%COMP%]{border-color:var(--base-blue-05)}.c-personal-limits-btn--success[_ngcontent-%COMP%]{background-color:var(--base-blue-04);color:var(--white);margin-left:20px}.c-personal-limits-btn--success[_ngcontent-%COMP%]:disabled{pointer-events:none;opacity:.4}.l-personal-limits-box[_ngcontent-%COMP%]{padding:30px 23px 0}.c-personal-limits__info[_ngcontent-%COMP%]{color:var(--baseGrey22);padding:20px}.c-personal-limits-input-label[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;padding-left:0;margin-top:10px;margin-bottom:0}.c-personal-limits-input-label[_ngcontent-%COMP%]:after{content:attr(currencycode);display:block;position:absolute;-webkit-text-decoration:uppercase;text-decoration:uppercase;right:20px;top:30%}.c-input-field--error[_ngcontent-%COMP%] .c-personal-limits-input-label[_ngcontent-%COMP%]:after{right:34px}.c-personal-limits-title[_ngcontent-%COMP%]{font-size:14px;font-weight:400;display:flex;color:var(--baseWhite07);margin-right:auto;padding-bottom:10px;padding-top:10px}.c-input-field-wrapper[_ngcontent-%COMP%]{position:relative}.c-personal-limits-label__text[_ngcontent-%COMP%]{color:var(--baseGrey22);padding-left:5px}.c-personal-limits-input-field[_ngcontent-%COMP%]{display:none;background-color:transparent;text-align:left}.c-personal-limits-input-field.c-input-field--selected[_ngcontent-%COMP%]{display:block}.c-personal-limits-input-field.c-input-field--success[_ngcontent-%COMP%] .c-settings-input[_ngcontent-%COMP%]{border-color:var(--success-color-3)}.c-personal-limits-input-field.c-input-field--error[_ngcontent-%COMP%] .c-input-label[_ngcontent-%COMP%], .c-personal-limits-input-field.c-input-field--error-with-icon[_ngcontent-%COMP%] .c-input-label[_ngcontent-%COMP%], .c-personal-limits-input-field.c-input-field--error-without-icon[_ngcontent-%COMP%] .c-input-label[_ngcontent-%COMP%]{color:var(--base-primary)}.c-personal-limits-input-field.c-input-field--error[_ngcontent-%COMP%] .c-settings-input[_ngcontent-%COMP%], .c-personal-limits-input-field.c-input-field--error-with-icon[_ngcontent-%COMP%] .c-settings-input[_ngcontent-%COMP%], .c-personal-limits-input-field.c-input-field--error-without-icon[_ngcontent-%COMP%] .c-settings-input[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-personal-limits-input-field.c-input-field--error[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%], .c-personal-limits-input-field.c-input-field--error-with-icon[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%], .c-personal-limits-input-field.c-input-field--error-without-icon[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{margin-top:3px;color:var(--base-primary);display:block;text-align:left}
1.c-personal-limits-input-field.c-input-field--error[_ngcontent-%COMP%]:before, .c-personal-limits-input-field.c-input-field--error-with-icon[_ngcontent-%COMP%]:before, .c-personal-limits-input-field.c-input-field--error-without-icon[_ngcontent-%COMP%]:before{position:absolute;content:"";display:block;opacity:1;width:16px;height:16px;background-image:url(validation-error.1d5525733a90f884.svg);background-size:90%;background-repeat:no-repeat;background-position:center;top:11px;right:10px;z-index:var(--z-index-min)}.c-personal-limits-input-field.c-input-field--error-with-icon[_ngcontent-%COMP%]:before{right:35px}.c-personal-limits-input-field.c-input-field--error-without-icon[_ngcontent-%COMP%]:before{display:none}.c-settings-input[_ngcontent-%COMP%]{color:var(--baseAccountWhite06);border:1px solid var(--baseAccountBlue05);box-sizing:border-box;border-radius:10px;padding:10px;outline:none;font-size:14px;line-height:16px;display:flex;width:100%;background-color:var(--baseBlue16);font-family:var(--font);-webkit-appearance:none;-moz-appearance:textfield}.c-settings-input[_ngcontent-%COMP%]:focus{border:1px solid var(--success-color)}.c-settings-input.c-settings-input--transaction-limit[_ngcontent-%COMP%]{padding-right:75px}.c-settings-input.c-settings-input--border-success[_ngcontent-%COMP%]{border-color:var(--success-color)}.c-settings-input.c-settings-input--select[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;background-color:transparent;background:url(arrow-down.86467b5f2ba252bb.svg) no-repeat 97% 50%}.c-settings-input[disabled][_ngcontent-%COMP%]{background-color:var(--baseAccountSettingsColor06);opacity:.4}']})}}return Ye})();var Vt=r(45433),Ot=r(34405);class Fe{constructor(Re,De,He,we,Tt){this._personalLimitsService=Re,this._modalService=De,this._authService=He,this._socketIoSessionDurationService=we,this._restConfigurationService=Tt,this.isForceLoggedOut=!1,this._sessionDurationModalOpened=!1}handleSessionDurationExpiration(Re=!1){if(this._modalService.closeAll(),this._sessionDurationModalOpened=!1,!this._personalLimitsService.allowSessionDuration||this.isForceLoggedOut||(this.isForceLoggedOut=Re,!this._authService.currentUser().isUserLogin))return;const De=Re?d.SQ.FORCE:d.SQ.LOGOUT;this._personalLimitsService.deletePersonalLimitsSessionDuration(this._authService.currentUser().accountId,De),this._clearPersonalLimitsForUser()}handleSessionDurationUpdateMessage(Re){var De=this;return(0,o.A)(function*(){return Re.expiresAt&&(De._personalLimitsService.sessionDurationExpirationDate=Re.expiresAt),Re.duration&&De._personalLimitsService.setSessionDuration(Re.duration),Re.status===d.YY.ACTIVE&&De._sessionDurationModalOpened&&De._modalService.closePopup(),yield De._handleSessionDurationStatus(Re.status)})()}_clearPersonalLimitsForUser(){this.groupedConfigMandatoryLimits=null,this._personalLimitsService.resetPersonalLimits(),this._personalLimitsService.setSessionDuration(null)}_handleSessionDurationStatus(Re){var De=this;return(0,o.A)(function*(){if(Re===d.YY.EXPIRED){if(!De._authService.currentUser().isUserLogin)return;const He=yield De._personalLimitsService.getSessionDuration();if(He!==d.Ef.UNLIMITED_ACCESS&&null!==He)return yield De._authService.logoutUser(E.lJ.OTHER)}De._socketIoSessionDurationService.subscribe(String(De._authService.currentUser().accountId)),Re===d.YY.PENDING&&De._openCountdownModal()})()}checkForEnabledLimits(){this._restConfigurationService.getGeneralConfigurationParams("enableLimits")&&this._checkForMandatoryLimitsAndSessionDurationInConfig()}_checkForSessionDurationInConfig(Re){var De=this;return(0,o.A)(function*(){Re.sessionTimerLimit&&(De._socketIoSessionDurationService.connect(),De._personalLimitsService.allowSessionDuration=!0,De._personalLimitsService.getPersonalLimitsSessionDurationStatus(),De.sessionDurationDataSet?.unsubscribe(),De.sessionDurationDataSet=De._personalLimitsService.sessionDurationDataSet$.subscribe(function(){var He=(0,o.A)(function*(we){return yield De._handleSessionDurationStatus(we)});return function(we){return He.apply(this,arguments)}}()))})()}_checkForMandatoryLimitsAndSessionDurationInConfig(){this._personalLimitsService.getTransactionLimits().then(Re=>{const De=Re;if(this._checkForSessionDurationInConfig(Re),!De?.balanceLimits?.length)return;const He=[];(0,h.A)(De.balanceLimits,we=>{(we.limitMandatory===d.Q3.MANDATORY||we.limitMandatory===d.Q3.ONE_OF_MANDATORY)&&He.push(we)}),He.length&&(this.groupedConfigMandatoryLimits=this._sortAndGroupBalanceLimits(He),this._checkForMandatoryLimitsInUser())})}_sortAndGroupBalanceLimits(Re){const De=Object.values(d.sl);return Re.sort((He,we)=>De.indexOf(He.timePeriod)-De.indexOf(we.timePeriod)),(0,v.A)(Re,He=>He.limitType)}_checkForMandatoryLimitsInUser(){this._personalLimitsService.getPersonalLimits().then(Re=>{p.Jt.forEach(De=>{this.groupedConfigMandatoryLimits&&(this.groupedConfigMandatoryLimits[De]&&this.groupedConfigMandatoryLimits[De].forEach(He=>{!this.groupedConfigMandatoryLimits||!this.groupedConfigMandatoryLimits[De]||!this._getUserLimitDataItemFromConfigDataItem(He,Re)||(this.groupedConfigMandatoryLimits[De]=(0,_.A)(this.groupedConfigMandatoryLimits[De],Tt=>Tt!==He),He.limitMandatory===d.Q3.ONE_OF_MANDATORY&&this.groupedConfigMandatoryLimits&&delete this.groupedConfigMandatoryLimits[De])}),!this.groupedConfigMandatoryLimits[De]?.length&&delete this.groupedConfigMandatoryLimits[De])}),this.shouldOpenSetLimitsModal()&&this.openSetLimitsModal()})}shouldOpenSetLimitsModal(Re=""){return!(!this.groupedConfigMandatoryLimits||!Object.keys(this.groupedConfigMandatoryLimits)?.length||Re&&!Object.prototype.hasOwnProperty.call(this.groupedConfigMandatoryLimits,Re))}openSetLimitsModal(){this._modalService.open({component:mt,payload:this.groupedConfigMandatoryLimits||{}})}_openCountdownModal(){this._sessionDurationModalOpened||(this._modalService.openPopup({component:N,priority:!0,payload:{title:"account.extend_session_limit",description:"account.session_duration_modal_description",endTime:this._personalLimitsService.sessionDurationExpirationDate,confirmFunction:()=>this.handleSessionDurationSave(!0),cancelFunction:()=>this.handleSessionDurationExpiration(!0)}}),this._sessionDurationModalOpened=!0)}_getUserLimitDataItemFromConfigDataItem(Re,De){return(0,m.A)(De,He=>He.limitType===Re.limitType&&He.timePeriod===Re.timePeriod)}handleOnLogin(){var Re=this;return(0,o.A)(function*(){Re._clearPersonalLimitsForUser(),yield Re.handleSessionDurationSave(),Re.isForceLoggedOut=!1})()}handleSessionDurationSave(Re=!1){var De=this;return(0,o.A)(function*(){const He=yield De._personalLimitsService.getTransactionLimits();if(De._personalLimitsService.allowSessionDuration=He.sessionTimerLimit,!He.sessionTimerLimit)return;const we=yield De._personalLimitsService.getSessionDuration();we&&(yield De._personalLimitsService.savePersonalLimitsSessionDurationExpiration(we,Re),De._sessionDurationModalOpened&&(De._sessionDurationModalOpened=!1,De._modalService.closePopup()))})()}static{this.\u0275fac=function(De){return new(De||Fe)(l.KVO(W.T),l.KVO(oe.B),l.KVO(re.u),l.KVO(Vt.d),l.KVO(Ot.M))}}static{this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}}(0,i.Cg)([u.X],Fe.prototype,"checkForEnabledLimits",null)},2754:(he,M,r)=>{"use strict";r.d(M,{s:()=>d});var o=r(60177),i=r(54438);let d=(()=>{class h{constructor(_,m){this.rendererFactory=_,this._document=m}_addOrReplaceTag(_){const m=this._document.querySelector('link[rel="canonical"]');if(m)m.setAttribute("href",_?.href);else try{const p=this.rendererFactory.createRenderer(this._document,{id:"-1",encapsulation:i.gXe.None,styles:[],data:{}}),u=p.createElement("link"),E=this._document.head;if(null===E)throw new Error("<head> not found in DOCUMENT");Object.keys(_).forEach(C=>p.setAttribute(u,C,_[C])),p.appendChild(E,u)}catch(p){console.error("Error with canonical service : ",p)}}static{this.\u0275fac=function(m){return new(m||h)(i.KVO(i._9s),i.KVO(o.DOCUMENT))}}static{this.\u0275prov=i.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},54509:(he,M,r)=>{"use strict";r.d(M,{u:()=>d});var o=r(27767),i=r(54438);let d=(()=>{class h{constructor(){this.loadedConfigurationKeys={configurations:new Set,translationSections:new Set,urls:new Set,templates:new Set,rest:ne
1w Set}}markKeysAsLoaded(_){this.loadedConfigurationKeys.configurations=this._updateKeys(this.loadedConfigurationKeys.configurations,_.configurations),this.loadedConfigurationKeys.translationSections=this._updateKeys(this.loadedConfigurationKeys.translationSections,_.translationSections),this.loadedConfigurationKeys.templates=this._updateKeys(this.loadedConfigurationKeys.templates,_.templates),this.loadedConfigurationKeys.urls=this._updateKeys(this.loadedConfigurationKeys.urls,_.urls),this.loadedConfigurationKeys.rest=this._updateKeys(this.loadedConfigurationKeys.rest,_.rest)}_updateKeys(_,m){if(_===o.RW)return _;if(m===o.RW)return m;for(const p of m)_.add(p);return _}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275prov=i.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},3287:(he,M,r)=>{"use strict";r.d(M,{c:()=>d});var o=r(28257),i=r(54438);let d=(()=>{class h{constructor(){this._templates={}}addTemplates(_){this._templates={...this._templates,..._}}getTemplate(_,m){const p=(0,o.AY)(_,m);return this._templates[p]}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275prov=i.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},84978:(he,M,r)=>{"use strict";r.d(M,{s:()=>h});var o=r(54438),i=r(62125),d=r(95447);let h=(()=>{class v{constructor(m){this._state=m,this._configurations={}}initConfigurations(){this._configurations=this._setConfigurations()}getParam(m){return(0,i.A)(this._configurations,m,"")}_setConfigurations(){const m=(0,o.zw6)(d.fX);return this._state.get(m,null)?.configurations??{}}expandConfigurations(m){this._configurations={...this._configurations,...m}}static{this.\u0275fac=function(p){return new(p||v)(o.KVO(o.pJN))}}static{this.\u0275prov=o.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},28998:(he,M,r)=>{"use strict";r.d(M,{I:()=>p});var o=r(62125),i=r(45286),d=r(42199),h=r(91398),v=r(54438),_=r(82361),m=r(72161);let p=(()=>{class u{constructor(C,l){this._modalService=C,this._globalLoaderService=l,this.httpErrorEmitter=new i.B7,this.httpErrorEmitter$=this.httpErrorEmitter.asObservable()}formatError(C,l){const y=C.error;return y.error&&(y.error=`${l}.${y.error.toLowerCase()}`),y}handleError(C,l=d.XW){if(!h.R.isBrowser||l===d.mp||(0,o.A)(C,"error")===d.eV||(0,o.A)(C,"error.error")===d.Zc)return;this.httpErrorEmitter.next(),this._globalLoaderService.hideLoader();const y=l!==d.XW?this.formatError(C,l):C.error;if(y&&0!==C.status){if(l===d.t4)throw C;this.openErrorPopup(y)}}openErrorPopup(C){Promise.resolve().then(r.bind(r,40328)).then(({ErrorPopup:l})=>{this._modalService.openPopup({component:l,payload:C})})}static{this.\u0275fac=function(l){return new(l||u)(v.KVO(_.B),v.KVO(m.e))}}static{this.\u0275prov=v.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()},72161:(he,M,r)=>{"use strict";r.d(M,{e:()=>d});var o=r(45286),i=r(54438);let d=(()=>{class h{constructor(){this._globalLoaderChange=new o.B7,this.globalLoaderChange$=this._globalLoaderChange.asObservable(),this.isModalOpen=!1}showLoader(){this.isModalOpen=!0,this._globalLoaderChange.next(!0)}hideLoader(){this.isModalOpen=!1,this._globalLoaderChange.next(!1)}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275prov=i.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},58333:(he,M,r)=>{"use strict";r.d(M,{A:()=>C});var o=r(10467),i=r(31635),d=r(5954),h=r(85046),v=r(85375),_=r(54438),m=r(63755),p=r(84978),u=r(58167),E=r(48115);class C{constructor(y,I,S,P){this.localStorage=y,this._configurationService=I,this._authService=S,this._stabilityService=P,this.ONE_MINUTE=6e4,this.DEPOSIT_EXPIRATION_TIME=828e5,this.intervals={},this._subscribetoBeforeLogout()}_subscribetoBeforeLogout(){this._authService.beforeLogout$.subscribe(()=>{this.pushOnDataLayer({accountId:null,hashedEmail:null,hashedPhone:null})})}windowRef(){return window}getDataLayer(){const y=this.windowRef();return y.dataLayer=y.dataLayer||[],y.dataLayer}addEmailOrPhoneToDataLayer(y){var I=this;return(0,o.A)(function*(){const P=(y?.hashedEmail||I._authService.currentUser().email)?.toLowerCase().trim(),F=P?yield(0,h.Cb)(P):null;F&&(y={...y,hashedEmail:F});const U=(y?.hashedPhone||I._authService.currentUser().phone)?.trim().replace(/[^\d]/g,""),T=U?yield(0,h.Cb)(U):null;T&&(y={...y,hashedPhone:T}),I.pushOnDataLayer(y)})()}pushOnDataLayer(y){const I=this.getDataLayer();"accountId"in y||(y={...y,accountId:this._authService.currentUser().accountId?.toString()||null}),I.push(y)}handleTemporaryEvent(y,I){const S=this.localStorage.getItem(`${I}-pushedTime`)||null;S&&new Date(Number(S)).setHours(23,59,59,999)>Date.now()||(this._createTemporaryEvent(y,I),this._handleTimeInterval(I))}_createTemporaryEvent(y,I){this.localStorage.setItem(`${I}-data`,y),this.localStorage.setItem(`${I}-start`,Date.now())}resetTemporaryEvent(y){this.localStorage.removeItem(`${y}-data`),this.localStorage.removeItem(`${y}-start`)}_handleTimeInterval(y){try{const I=this.localStorage.getItem(`${y}-start`)||null;if(!I)return;const S=Date.now(),P=(this.getConfigForEventType(y)?.timeInterval||15)*this.ONE_MINUTE,F=S-I;if(y in this.intervals&&(clearInterval(this.intervals[y]),this.intervals[y]=void 0),F>=P){const N=this.localStorage.getItem(`${y}-data`);if(!N)return;return this.pushOnDataLayer(N),this.localStorage.setItem(`${y}-pushedTime`,Date.now()),void this.resetTemporaryEvent(y)}this._stabilityService.isAppStable().subscribe(()=>{this.intervals[y]=setInterval(()=>{this._handleTimeInterval(y)},P-F)})}catch{}}getConfigForEventType(y){switch(y){case d.$K:return{timeInterval:this._configurationService.getParam(d.Du),eventCooldown:this._configurationService.getParam(d.yi)};case d.UQ:return{timeInterval:this._configurationService.getParam(d.u5),eventCooldown:this._configurationService.getParam(d.jK)};default:return{timeInterval:15,eventCooldown:24}}}pushDepositSubmittedOnDataLayer(y){var I=this;return(0,o.A)(function*(){if(y.amount&&y.paymentId){const S={event:"depositCompleted",accountId:I._authService.currentUser().accountId.toString(),timestamp:(new Date).toISOString(),amount:y.amount,transactionId:y.paymentId};I.sendDepositPhxAnaliticEvent(),I.addEmailOrPhoneToDataLayer(S),I._checkAndRemovePaymentId(y.paymentId)}})()}_checkAndRemovePaymentId(y){const I=JSON.parse(this.localStorage.getItem(`depositSubmitted-${this._authService.currentUser().accountId}`)??"[]");if(I.some(S=>S.paymentId===y)){if(I.length<=1)return void this.localStorage.removeItem(`depositSubmitted-${this._authService.currentUser().accountId}`);this.localStorage.setItem(`depositSubmitted-${this._authService.currentUser().accountId}`,JSON.stringify(I.filter(S=>S.paymentId!==y)))}}cleanupExpiredPaymentIds(){const y=(new Date).getTime();let I=JSON.parse(this.localStorage.getItem(`depositSubmitted-${this._authService.currentUser().accountId}`)??"[]");I=I.filter(S=>y-S.timestamp<this.DEPOSIT_EXPIRATION_TIME),this.localStorage.setItem(`depositSubmitted-${this._authService.currentUser().accountId}`,JSON.stringify(I))}sendDepositPhxAnaliticEvent(){"true"==PHOENIX_ADS_ENABLED&&phxAnalytics.deepUrlReport({eventName:"Deposit",eventNum:1})}static{this.\u0275fac=function(I){return new(I||C)(_.KVO(m.s),_.KVO(p.s),_.KVO(u.u),_.KVO(E.B))}}
1static{this.\u0275prov=_.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}(0,i.Cg)([v.X],C.prototype,"_subscribetoBeforeLogout",null),(0,i.Cg)([v.X],C.prototype,"pushDepositSubmittedOnDataLayer",null),(0,i.Cg)([v.X],C.prototype,"_checkAndRemovePaymentId",null),(0,i.Cg)([v.X],C.prototype,"cleanupExpiredPaymentIds",null)},68933:(he,M,r)=>{"use strict";r.d(M,{d:()=>v});var o=r(54438),i=r(39934),d=r(5450),h=r(20279);let v=(()=>{class _{constructor(){this._routingService=(0,o.WQX)(i.O),this._casinoService=(0,o.WQX)(d.p),this.isHeaderHidden=(0,o.vPA)(!1)}updateVisibility(){this.isHeaderHidden.set(this._shouldHideHeader())}_shouldHideHeader(){return this._routingService.isRouteActive(h.Bi.LANDING)||this._routingService.isSingleCasinoGameActive()&&!this._casinoService.isTournamentPage()}static{this.\u0275fac=function(u){return new(u||_)}}static{this.\u0275prov=o.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},38933:(he,M,r)=>{"use strict";r.d(M,{N:()=>m});var o=r(60177),i=r(76227),d=r(54438),h=r(39934),v=r(69146),_=r(22804);let m=(()=>{class p{constructor(E,C,l,y,I){this.rendererFactory=E,this._routingService=C,this._translateRoutingService=l,this._localizationService=y,this.document=I,this.translatedRoutes={},this.keysToTranslateOnOtherLanguage=[]}addLandingPageTags(){const E=this.rendererFactory.createRenderer(null,null);"ca"===DEFAULT_LOCALE&&(DEFAULT_LOCALE="pt",COUNTRY_ISO_CODE="BR"),this._removeHrefLangsIfExists(),this._removeCanonicalIfExists(),this._createTag(E,"alternate",WEBSITE_URL,`${DEFAULT_LOCALE}-${COUNTRY_ISO_CODE}`),this._createTag(E,"canonical",WEBSITE_URL)}_createTag(E,C,l,y=""){const I={rel:C,href:l};"alternate"===C&&(I.hreflang=y);const S=E.createElement("link");this._setAttributes(E,S,I),E.appendChild(this.document.head,S)}addOrReplaceHrefLang(E={},C=""){if(this._removeHrefLangsIfExists(),0!==Object.keys(E).length)return this._setHrefLangsSeoLinkedWebsites(E,C),void(this.keysToTranslateOnOtherLanguage=[])}_setHrefLangsSeoLinkedWebsites(E,C=""){const l=this.rendererFactory.createRenderer(null,null),y=Object.keys(E);for(let I=0;I<y.length;I++){const P=E[y[I]];P.forEach(F=>{"ca-BR"===F.hreflang&&(F.hreflang="pt-BR");const N=i.O.formatUrlToAscii(F.href),U=this.document.head.querySelector(`link[rel="alternate"][hreflang="${F.hreflang}"]`);U?l.setAttribute(U,"href",N):this._createTag(l,"alternate",N,F.hreflang)}),0===I&&P.length>0&&C&&this._createTag(l,"alternate",i.O.formatUrlToAscii(C),"x-default")}}_removeHrefLangsIfExists(){this.document.head.querySelectorAll('link[rel="alternate"]').forEach(C=>{C.getAttribute("hreflang")&&C&&C.parentNode&&C.parentNode.removeChild(C)})}_removeCanonicalIfExists(){this.document.head.querySelectorAll('link[rel="canonical"]').forEach(C=>{C&&C.parentNode&&C.parentNode.removeChild(C)})}_setAttributes(E,C,l){Object.entries(l).forEach(([y,I])=>{E.setAttribute(C,y,I)})}static{this.\u0275fac=function(C){return new(C||p)(d.KVO(d._9s),d.KVO(h.O),d.KVO(v.a),d.KVO(_.P),d.KVO(o.DOCUMENT))}}static{this.\u0275prov=d.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})()},53811:(he,M,r)=>{"use strict";r.d(M,{K:()=>h});var o=r(60177),i=r(66607),d=r(54438);let h=(()=>{class v{constructor(m){this.document=m,this.loadedLibraries={},this.ALL_SECURE="allSecure",this.MONRI="monri"}loadScript(m,p){if(this.loadedLibraries[m])return this.loadedLibraries[m].asObservable();this.loadedLibraries[m]=new i.m;const u=this.document.createElement("script");return u.type="text/javascript",u.src=m,p===this.ALL_SECURE&&u.setAttribute("data-main","payment-js"),p&&p!==this.ALL_SECURE&&p!==this.MONRI&&(u.id=p),u.defer=!0,u.onload=()=>{this.loadedLibraries[m].next(),this.loadedLibraries[m].complete()},this.document.body.appendChild(u),this.loadedLibraries[m].asObservable()}static{this.\u0275fac=function(p){return new(p||v)(d.KVO(o.DOCUMENT))}}static{this.\u0275prov=d.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},68757:(he,M,r)=>{"use strict";r.d(M,{o:()=>m});var o=r(31635),i=r(62125),d=r(72036),h=r(85375),v=r(54438),_=r(53811);class m{constructor(u,E){this._lazyLoadScriptService=u,this._ngZone=E,this.config={size:{width:50,height:50,unit:"%"},ws:{playBuffer:1500,forwardOnBuffer:1500,showLoaderOnForward:!0,restartTime:3e3,restartServerTime:5e3},http:{fastSpeed:1.1,fastSpeedOn:2e3,fastSpeedOff:1200,restartServerTime:5e3}},this.streamData={},this.groupData={},this.triggerPipe=0}_generateStreamsObject(u){return{ws:[{url:`${(0,i.A)(u,"ws")}`}],wsdata:[{url:`${(0,i.A)(u,"wsdata")}`}],m3u8:[{url:`${(0,i.A)(u,"m3u8")}`}],m3u8data:[{url:`${(0,i.A)(u,"m3u8data")}`}],http:[{url:`${(0,i.A)(u,"http")}`}],httpdata:[{url:`${(0,i.A)(u,"httpdata")}`}],name:(0,i.A)(u,"name")}}setupVideo(u){this.stop(),this._lazyLoadScriptService.loadScript("../../../assets/scripts/istplayer.min.js").subscribe(()=>{if(this.istPlay=new ISTPlay(this.config,[this._generateStreamsObject(u)],this.config.size,!1),this.istPlay.setShowControls(!0),this.istPlay.setForcePlay(!0),this.istPlay.setVolume(0,!0),!window.document.getElementById("istplayerdiv"))return void setTimeout(()=>{this.setupVideo(u)},1e3);this._ngZone.runOutsideAngular(()=>{this.istPlay.init(window.document.getElementById("istplayerdiv"))});const E=document.querySelector("#istplayerdiv video");!E||(0,d.A)(E)||(E.setAttribute("muted","true"),E.muted=!0,E.src&&E.play())})}destroy(){const u=document.querySelector("#istplayerdiv video");!u||(0,d.A)(u)||(u.setAttribute("muted","true"),u.setAttribute("autoplay",""),u.autoplay=!0,u.muted=!0,this.stop())}stop(){if(this.istPlay)try{this.istPlay.destroy(),this.istPlay=null}catch{this.istPlay=null}}static{this.\u0275fac=function(E){return new(E||m)(v.KVO(_.K),v.KVO(v.SKi))}}static{this.\u0275prov=v.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}(0,o.Cg)([h.X],m.prototype,"destroy",null)},63755:(he,M,r)=>{"use strict";r.d(M,{s:()=>i});var o=r(54438);let i=(()=>{class d{constructor(){this._isLocalStorageDefined=!0,this._isLocalStorageDefined=typeof localStorage<"u"}setItem(v,_){this._isLocalStorageDefined&&localStorage.setItem(v,JSON.stringify(_))}getItem(v){if(this._isLocalStorageDefined){const _=localStorage.getItem(v);return _?JSON.parse(_):null}return null}removeItem(v){this._isLocalStorageDefined&&localStorage.removeItem(v)}static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275prov=o.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})()},22804:(he,M,r)=>{"use strict";r.d(M,{P:()=>$});var o=r(10467),i=r(54438),d=r(62125),h=r(95447),v=r(76651),_=r(49090),m=r(95006),p=r(85046),u=r(73955),E=r(21626),C=r(77286),l=r(61131),y=r(69146),I=r(84978),S=r(41926),P=r(76227),F=r(20279),N=r(30763),U=r(65283),T=r(93576),L=r(142),Z=r(2091);let ie=(()=>{class V{constructor(z,W,re,ee,Se,J){this._httpService=z,this._translateRoutingService=W,this._casinoHttpService=re,this._helpHttpService=ee,this._configurationService=Se,this._router=J,this._routeTranslation=""}setPreviousRouteParts(){var z=this;return(0,o.A)(function*(){const W=z._getUrlSlugs(),re=W.dynamic,ee=W.static;if(z._pageType=z._translateRoutingService.getTranslationKey(ee[1])?.split(".")[1],z._pageType===F.Bi.HELP)return void(yield z._setPreviousRoutePartsHelp(re));const Se=z._translateRoutingService.getTranslationKey(re[0])?.split(".")[1]===F.Bi.EARLY_PAYOUT;if(0!==re.length&&re[0]!==F.Bi.LIVE){Se&&(z._pageType=F.Bi.EARLY_PAYOUT);try{switch(z._pageType){case F.Bi.HOME:yield z._setPreviousRoutePartsHome(re);break;case F.Bi.LIVE_DEALER:case F.Bi.CASINO:yield z._setPreviousRoutePartsCasino(re);break;case F.Bi.HELP:yield z._setPreviousRoutePartsHelp(re);break;case F.Bi.EARLY_PAYOUT:yield z._setPreviousRoutePartsEarlyPayout(re)}}catch{z._previousRouteParts=void 0}}})()}_setPreviousRoutePartsEarlyPayout(z){var W=this;
1return(0,o.A)(function*(){const re=yield W._getSidebarSports();W._previousRouteParts=W._extractEarlyPayoutDynamicUrlSlugs(re,z)})()}_extractEarlyPayoutDynamicUrlSlugs(z,W){const re={sportId:void 0},ee=this._findWhereNameIsSlug(z,W[1]);return ee&&(re.sportId=ee.sportId),re}replaceRouteWithTranslation(){var z=this;return(0,o.A)(function*(){if(z._shouldKeepOriginalRoute()){if(z._pageType===F.Bi.HELP){const W=(0,d.A)(z._translateRoutingService.translatedRoutes[$.locale],"url.help","help"),ee=window.location.search;z._router.location.replaceState(`${$.locale}/${W}`+(ee||""))}}else yield z._translatePreviousRouteParts(),z._routeTranslation&&z._router.location.replaceState(z._formatUrlTranslation(z._routeTranslation))})()}_getUrlSlugs(){const z=window.location.pathname.split("/").map(W=>decodeURIComponent(W)).filter(W=>W);return{static:z.slice(0,2),dynamic:z.slice(2)}}_setPreviousRoutePartsHome(z){var W=this;return(0,o.A)(function*(){const re=yield W._getSidebarSports();W._previousRouteParts=W._extractHomeDynamicUrlSlugs(re,z)})()}_getSidebarSports(){var z=this;return(0,o.A)(function*(){const W=yield z._getSidebarData();return S.J.fromStandardSidebarResponse(W)})()}_getSidebarData(){return this._httpService.get("api/v1/standard/sidebar","sidebar").toPromise()}_getCasinoNavigationItems(){var z=this;return(0,o.A)(function*(){const W=yield z._getCasinoNavigationData();return N.K.fromCasinoNavigationResponse(W.payload).reduce((ee,Se)=>ee.concat(Se.items),[])})()}_getCasinoNavigationData(){return this._casinoHttpService.get("api/v1/navigations","casino-navigations").toPromise()}_getHelpQuestions(z){const re=`help/help-domain/${this._configurationService.getParam("domainId")}/category/${z}?locale=${$.locale}&isMobile=false`;return this._helpHttpService.get(re,"HELP_DOMAIN_CATEGORY").toPromise()}_getHelpDomain(){const W=`help/help-domain/${this._configurationService.getParam("domainId")}?locale=${$.locale}&isMobile=false`;return this._helpHttpService.get(W,"HELP_DOMAIN").toPromise()}_extractHomeDynamicUrlSlugs(z,W){const re={sportId:void 0,regionId:void 0,leagueId:void 0,rivals:void 0,id:void 0,tabTranslationKey:void 0,tabSubParts:void 0},ee=this._findWhereNameIsSlug(z,W[0]);if(!ee)return re;re.sportId=ee.sportId;const Se=this._findWhereNameIsSlug(ee.regions,W[1]);if(!Se)return re;re.regionId=Se.regionId;const J=this._findWhereNameIsSlug(Se.leagues,W[2]);if(!J)return re;re.leagueId=J.leagueId;const de=W[3]?this._translateRoutingService.getTranslationKey(W[3]):void 0;return de?(re.tabTranslationKey=de,re.tabSubParts=W.slice(4)):(re.rivals=W[3],re.id=W[4]),re}_findWhereNameIsSlug(z,W){return z.find(re=>P.O.formatSlugFromName(re)===W)}_setPreviousRoutePartsCasino(z){var W=this;return(0,o.A)(function*(){const re=yield W._getCasinoNavigationItems();W._previousRouteParts=W._extractCasinoDynamicUrlSlugs(re,z)})()}_extractCasinoDynamicUrlSlugs(z,W){const re=this._extractCasinoPageId(z,W[0]);return{pageId:re,pageName:re?void 0:W[0],gameName:W[1]}}_extractCasinoPageId(z,W){return z.find(re=>P.O.formatSlugFromName(re)===W)?.casinoPageId}_setPreviousRoutePartsHelp(z){var W=this;return(0,o.A)(function*(){const re=yield W._getHelpQuestions(z[0]),ee=yield W._getHelpDomain();W._previousRouteParts=W._extractHelpDynamicUrlSlugs(ee,re,z)})()}_extractHelpDynamicUrlSlugs(z,W,re){const[ee,Se]=re;if(!ee)return{};const J={},de=z.categories.find(ge=>ge.categorySlug===ee);if(J.categoryId=de?.id,!Se)return J;const ke=W.find(ge=>ge.pageSlug===Se);return J.questionId=ke?.id,J}_shouldKeepOriginalRoute(){return!this._previousRouteParts||Object.values(this._previousRouteParts).every(z=>void 0===z)}_translatePreviousRouteParts(){var z=this;return(0,o.A)(function*(){if(z._previousRouteParts&&z._pageType)try{switch(z._pageType){case F.Bi.HOME:case F.Bi.EARLY_PAYOUT:yield z._translateHomeDynamicUrlParts();break;case F.Bi.LIVE_DEALER:case F.Bi.CASINO:yield z._translateCasinoDynamicUrlParts();break;case F.Bi.HELP:yield z._translateHelpDynamicUrlParts()}}catch{z._routeTranslation=""}})()}_translateHomeDynamicUrlParts(){var z=this;
1return(0,o.A)(function*(){const W=yield z._getSidebarSports();z._routeTranslation=z._getHomeRouteTranslation(W)})()}_getHomeRouteTranslation(z){let W="";if(!this._previousRouteParts||!this._previousRouteParts.sportId)return W;const re=z.find(J=>J.sportId===this._previousRouteParts?.sportId);if(!re||(W+=P.O.formatSlugFromName(re)+"/",!this._previousRouteParts.regionId))return W;const ee=re.regions.find(J=>J.regionId===this._previousRouteParts?.regionId);if(!ee||(W+=P.O.formatSlugFromName(ee)+"/",!this._previousRouteParts.leagueId))return W;const Se=ee.leagues.find(J=>J.leagueId===this._previousRouteParts?.leagueId);if(!Se)return W;if(W+=P.O.formatSlugFromName(Se)+"/",this._previousRouteParts.tabTranslationKey){const de=(0,d.A)(this._translateRoutingService.translatedRoutes[$.locale],this._previousRouteParts.tabTranslationKey,"");de&&(W+=de+"/"),this._previousRouteParts.tabSubParts?.length&&(W+=this._previousRouteParts.tabSubParts.join("/")+"/")}else this._previousRouteParts.rivals&&(W+=this._previousRouteParts.rivals+"/"),this._previousRouteParts.id&&(W+=this._previousRouteParts.id+"/");return W}_translateCasinoDynamicUrlParts(){var z=this;return(0,o.A)(function*(){const W=yield z._getCasinoNavigationItems();z._routeTranslation=z._getCasinoRouteTranslation(W)})()}_getCasinoRouteTranslation(z){let W="";if(!this._previousRouteParts)return W;if(this._previousRouteParts.pageId){const re=z.find(ee=>ee.casinoPageId===this._previousRouteParts?.pageId);re&&(W+=P.O.formatSlugFromName(re))}else W+=this._previousRouteParts?.pageName;return this._previousRouteParts.gameName&&(W+="/"+this._previousRouteParts.gameName+"/"),W}_translateHelpDynamicUrlParts(){var z=this;return(0,o.A)(function*(){let W="";const ee=(yield z._getHelpDomain()).categories.find(Se=>Se.id===z._previousRouteParts?.categoryId);if(ee?.categorySlug){if(W+=`${ee?.categorySlug}`,z._previousRouteParts?.questionId&&ee){const J=(yield z._getHelpQuestions(ee?.categorySlug)).find(de=>de.id===z._previousRouteParts?.questionId);J?.pageSlug&&(W+=`/${J?.pageSlug}`)}z._routeTranslation=W}else z._routeTranslation=""})()}_formatUrlTranslation(z){const W=window.location.search,re=(0,d.A)(this._translateRoutingService.translatedRoutes[$.locale],"url."+String(this._pageType),this._pageType);return this._pageType===F.Bi.EARLY_PAYOUT?this._handleEarlyPayoutUrl($.locale,re,z,W):`${$.locale}/${re}/`+this._removeTrailingSlash(z)+(W||"")}_handleEarlyPayoutUrl(z,W="",re,ee){return`${z}/${(0,d.A)(this._translateRoutingService.translatedRoutes[z],"url."+String(F.Bi.HOME),F.Bi.HOME)}/${W}/`+this._removeTrailingSlash(re)+(ee||"")}_removeTrailingSlash(z){return z.endsWith("/")?z.slice(0,-1):z}static{this.\u0275fac=function(W){return new(W||V)(i.KVO(U.k),i.KVO(y.a),i.KVO(T.B),i.KVO(L.Z),i.KVO(I.s),i.KVO(Z.Ix))}}static{this.\u0275prov=i.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}}return V})();var ve=r(54356),me=r(48115),xe=r(3287);let $=(()=>{class V{static{this.locale=""}constructor(z,W,re,ee,Se,J,de,ke,ge,ye,Pe){this.translate=z,this._state=W,this._httpClient=re,this.cookieService=ee,this._transferStateService=Se,this._translateRoutingService=J,this._configurationService=de,this._localizationHelperService=ke,this._minimalRedundantLocaleService=ge,this._stabilityService=ye,this._configTemplateService=Pe,this.languages=[]}initTranslations(){const z=this._getTranslations(),W=this._getRouteTranslations();
1this.languages=Object.keys(W),this.languages.forEach(re=>{this.translate.setTranslation(re,{...W[re]},!0)}),this._setDefaultLang(),this.translate.setTranslation(V.locale,z,!0),this._translateRoutingService.configureRouteTranslation(W[V.locale]),this._translateRoutingService.translatedRoutes=W}_setDefaultLang(){this.translate.addLangs(this.languages);let z="";const W=this._transferStateService.get(h.fX,null);W&&(z=W.selectedLanguage??""),this.translate.setDefaultLang(V.locale?V.locale:z||this.languages[0]),V.locale=V.locale?V.locale:z||this.languages[0],this._minimalRedundantLocaleService.locale=V.locale}switchLang(z){var W=this;return(0,o.A)(function*(){let re=`${CONFIGURATION_MIDDLEWARE_URL||BO_API_URL}/configurations/v2/web?websiteUrl=${WEBSITE_URL}`;z&&(re+=`&language=${z}`),yield W._localizationHelperService.setPreviousRouteParts(),W._httpClient.get(re).subscribe(ee=>{W._transferStateService.set(h.fX,ee);const Se=W._getRouteTranslations();W._configurationService.initConfigurations(),W._configTemplateService.addTemplates(ee?.templates??{}),W._setTranslations(z),W._translateRoutingService.configureRouteTranslation(Se[z]),W._translateRoutingService.translatedRoutes=Se,W._localizationHelperService.replaceRouteWithTranslation().then(()=>W._reloadApp())})})()}_reloadApp(){typeof window>"u"||window.location.reload()}getSelectedLocale(){return V.locale}_getTranslations(){const z=(0,i.zw6)(h.fX);return this._state.get(z,null)?.translations||{}}_getRouteTranslations(){const z=(0,i.zw6)(h.fX),W=this._state.get(z,null);return(0,d.A)(W,"urls",{en:{}})}_setTranslations(z){const W=this._getTranslations(),re=this._getRouteTranslations(),ee=(0,i.zw6)(h.fX);this._state.remove(ee),this.languages=Object.keys(re),this.translate.setTranslation(z,W,!0),this._setDefaultLang(),this._translateRoutingService.configureRouteTranslation(re[z]),V.locale=z,this._minimalRedundantLocaleService.locale=V.locale,this.cookieService.set(h.lo,z,{path:"/",sameSite:"Strict",secure:!0,expires:(0,p.GK)()}),this._translateRoutingService.translatedRoutes=re}subscribeOnCurrentTime(){const W=1e3*(60-(new Date).getSeconds());return this._stabilityService.isAppStable().pipe((0,_.n)(()=>(0,v.O)(W,6e4).pipe((0,m.T)(()=>this.getWebSiteTime()))))}getWebSiteTime(){const z=new Date,W=z.getHours().toString().padStart(2,"0")+":"+z.getMinutes().toString().padStart(2,"0"),re=-z.getTimezoneOffset();return W+" "+(re>0?"GMT+":"GMT")+re/60}getFormattedDateFromEpoch(z,W){return(0,o.A)(function*(){const[re,ee]=yield Promise.all([Promise.resolve().then(r.t.bind(r,67374,23)),r(65359)(`./${V.locale}`)]);return(re.default??re)(z).locale(ee).format(W)})()}static{this.\u0275fac=function(W){return new(W||V)(i.KVO(u.c$),i.KVO(i.pJN),i.KVO(E.Qq),i.KVO(C.Q),i.KVO(l.G),i.KVO(y.a),i.KVO(I.s),i.KVO(ie),i.KVO(ve.w),i.KVO(me.B),i.KVO(xe.c))}}static{this.\u0275prov=i.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}}return V})()},54356:(he,M,r)=>{"use strict";r.d(M,{w:()=>i});var o=r(54438);let i=(()=>{class d{constructor(){this.locale=""}static{this.\u0275fac=function(_){return new(_||d)}}static{this.\u0275prov=o.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})()},82361:(he,M,r)=>{"use strict";r.d(M,{B:()=>h});var o=r(79928),i=r(45286),d=r(54438);let h=(()=>{class v{constructor(){this._openModal=new o.t(null),this.openModal$=this._openModal.asObservable(),this._closeModal=new i.B7,this.closeModal$=this._closeModal.asObservable(),this._openPopupModal=new i.B7,this.openPopupModal$=this._openPopupModal.asObservable(),this._closePopupModal=new i.B7,this.closePopupModal$=this._closePopupModal.asObservable(),this._openNotificationModal=new i.B7,this.openNotificationModal$=this._openNotificationModal.asObservable(),this._closeNotificationModal=new i.B7,this.closeNotificationModal$=this._closeNotificationModal.asObservable(),this._closeAll=new i.B7,this.closeAll$=this._closeAll.asObservable(),this.isModalOpen=!1,this.isPopupOpen=!1,this.isNotificationOpen=!1}restartModalService(){this._openModal.next(null)}open(m){this._openModal.next({component:m.component,payload:m.payload,priority:m.priority})}close(){this.isModalOpen=!1,this._closeModal.next()}openPopup(m){this._openPopupModal.next({component:m.component,payload:m.payload,priority:m.priority})}
1closePopup(){this.isPopupOpen=!1,this._closePopupModal.next()}openNotification(m){this._openNotificationModal.next({component:m.component,payload:m.payload})}closeNotification(m){m?this._closeNotificationModal.next(m):this._closeNotificationModal.next()}closeAll(){this._closeAll.next()}static{this.\u0275fac=function(p){return new(p||v)}}static{this.\u0275prov=d.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},51538:(he,M,r)=>{"use strict";r.d(M,{$:()=>_});var o=r(40173),i=r(83677),d=r(45286),h=r(54438),v=r(63755);let _=(()=>{class m{constructor(u){this._localStorageService=u,this.REPLACEMENT_CHAR="-",this.DEFAULT_ODD="decimal",this.FRACTIONAL_FORMAT="fractional",this.AMERICAN_FORMAT="american",this.HONG_KONG_FORMAT="hongkong",this.MIN_ODD=1,this.SPECIAL_ODD_FORMAT_SPORTS=[73,98,119],this.selectedFormat="decimal",this._formatUpdate=new d.B7,this.formatUpdate$=this._formatUpdate.asObservable(),this.selectedFormat=this.getSelectedFormat()}_showReplacementChar(u){return u<=this.MIN_ODD}getSelectedFormat(){return this.getFormat(this._localStorageService.getItem("odds_format"))}setSelectedFormat(u){this._localStorageService.setItem("odds_format",u),this.selectedFormat=u,this._formatUpdate.next(this.selectedFormat)}getFormat(u){return u||this.DEFAULT_ODD}getGreatestCommonDivisor(u,E){return u%E?this.getGreatestCommonDivisor(E,u%E):E}fractionalFormat(u){const E=Math.round((1e3*u-1e3)/1e3*100),C=this.getGreatestCommonDivisor(E,100);return Math.floor(E/C)+"/"+Math.floor(100/C)}americanFormat(u){let E="+ ",C=(1e3*u-1e3)/1e3;return u<2?(E="- ",C=100/C):C*=100,E+Math.round(C).toFixed(0)}hongKongFormat(u,E){return(0,o.A)(this.SPECIAL_ODD_FORMAT_SPORTS,E)?(Math.round(100*u)/100).toFixed(2).replace(/\.?0+$/g,""):u>=10?this.trimZeroAtTheEndOfNumber(u):(Math.round(100*u)/100).toFixed(2)}formatDecimals(u,E){return(0,o.A)(this.SPECIAL_ODD_FORMAT_SPORTS,E)?(Math.round(100*u)/100).toFixed(2).replace(/\.?0+$/g,""):u>=10?this.trimZeroAtTheEndOfNumber(u):(Math.round(100*u)/100).toFixed(2)}trimZeroAtTheEndOfNumber(u){const E=Math.round(100*u)/100*100%10,C=Math.round(10*u)/10*10%10;return 0===E||E>9?(0,i.A)(u,0===C||C>9?0:1):(Math.round(100*u)/100).toFixed(2)}formatOdd(u,E){if(!u||this._showReplacementChar(u))return this.REPLACEMENT_CHAR;switch(u=Number((Math.round(100*u)/100).toFixed(2)),E){case this.FRACTIONAL_FORMAT:return this.fractionalFormat(u);case this.AMERICAN_FORMAT:return this.americanFormat(u);case this.HONG_KONG_FORMAT:return this.hongKongFormat(u-1);default:return this.formatDecimals(u)}}trimZero(u){const E=Math.round(100*u)/100*100%10,C=Math.round(10*u)/10*10%10;return 0===E||E>9?(0,i.A)(u,0===C||C>9?0:1):(Math.round(100*u)/100).toFixed(2)}static{this.\u0275fac=function(E){return new(E||m)(h.KVO(v.s))}}static{this.\u0275prov=h.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},89389:(he,M,r)=>{"use strict";r.d(M,{T:()=>N});var o=r(10467),i=r(2428),d=r(45286),h=r(30798),v=r(35132),_=r(84046),m=r(72036),p=r(42199),u=r(54438),E=r(65283),C=r(71576),l=r(77286),y=r(28998),I=r(21626),S=r(61131);let P=(()=>{class U extends C.F{constructor(L,Z,ie,ve,me,xe){super(L,Z,ie,ve,me,xe),this._cookieService=L,this._errorService=Z,this._state=ie,this._httpClient=ve,this._transferStateService=me,this.platformId=xe,this._apiUrl=`${SESSION_DURATION_API_URL}`}static{this.\u0275fac=function(Z){return new(Z||U)(u.KVO(l.Q),u.KVO(y.I),u.KVO(u.pJN),u.KVO(I.Qq),u.KVO(S.G),u.KVO(u.Agw))}}static{this.\u0275prov=u.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}}return U})();var F=r(58167);let N=(()=>{class U{constructor(L,Z,ie){this._httpService=L,this._personalLimitApiHttpService=Z,this._authService=ie,this.updatePersonalLimitsUserData=new d.B7,this.updatePersonalLimitsUserData$=this.updatePersonalLimitsUserData.asObservable(),this.updateAvailabilityPeriodLimitsUserData=new d.B7,this.updateAvailabilityPeriodLimitsUserData$=this.updateAvailabilityPeriodLimitsUserData.asObservable(),this.sessionDurationDataSet=new d.B7,this.sessionDurationDataSet$=this.sessionDurationDataSet.asObservable(),this._sessionDurationUserDataSet=new d.B7,this.sessionDurationUserDataSet$=this._sessionDurationUserDataSet.asObservable(),this.sessionDurationExpirationDate="",this.allowSessionDuration=!1,this._fetchTransactionLimitsInProgress=!1,this._transactionLimitsObservable=new d.B7,this.transactionLimitsObservable$=this._transactionLimitsObservable.asObservable(),this._fetchSessionDurationInProgress=!1,this._sessionDurationObservable=new d.B7,this.sessionDurationObservable$=this._sessionDurationObservable.asObservable(),this.setSelfExclusionOnSerbia=new d.B7,this.setSelfExclusionOnSerbia$=this.setSelfExclusionOnSerbia.asObservable(),this._isGetPersonalLimitsSessionDurationStatusInProgress=!1}fetchTransactionLimits(){return this._httpService.get(i.pb,"personal-limits-data")}getTransactionLimits(){var L=this;return(0,o.A)(function*(){return L._fetchTransactionLimitsInProgress?yield L.transactionLimitsObservable$.pipe((0,_.$)()).toPromise():new Promise(Z=>{if((0,m.A)(L._transactionLimitsData)&&!L._fetchTransactionLimitsInProgress)return L._fetchTransactionLimitsInProgress=!0,void L.fetchTransactionLimits().subscribe(ie=>{L._transactionLimitsData=v.d.fromPersonalLimitsConfigurationResponse(ie),L._transactionLimitsObservable.next(L._transactionLimitsData),L._fetchTransactionLimitsInProgress=!1,Z(L._transactionLimitsData)});L._fetchTransactionLimitsInProgress=!1,Z(L._transactionLimitsData)})})()}removeTransactionLimitsData(){this._transactionLimitsData={}}_fetchPersonalLimits(){return this._httpService.get(i.OT,"personal-limits-user-data")}getPersonalLimits(L=!1){return new Promise(Z=>{this._personalLimitsUserData&&!L?Z(this._personalLimitsUserData):this._fetchPersonalLimits().subscribe(ie=>{this._personalLimitsUserData=v.d.fromUserPersonalLimitsDataResponse(ie),Z(this._personalLimitsUserData)})})}_fetchSessionDuration(){return this._httpService.get(i.Sr,"personal-limits-session-timer")}getSessionDuration(){var L=this;return(0,o.A)(function*(){return L._fetchSessionDurationInProgress?yield L.sessionDurationObservable$.pipe((0,_.$)()).toPromise():new Promise(Z=>{if(!L._sessionDurationUserData&&L._authService.currentUser().isUserLogin&&!L._fetchSessionDurationInProgress)return L._fetchSessionDurationInProgress=!0,void L._fetchSessionDuration().subscribe(ie=>{L._authService.currentUser().isUserLogin?(L._sessionDurationUserData=v.d.fromSessionDurationResponse(ie),L._sessionDurationObservable.next(L._sessionDurationUserData),L._fetchSessionDurationInProgress=!1,Z(L._sessionDurationUserData)):L._fetchSessionDurationInProgress=!1});L._fetchSessionDurationInProgress=!1,Z(L._sessionDurationUserData)})})()}resetPersonalLimits(){this._personalLimitsUserData=null}setPersonalLimits(L){this._personalLimitsUserData=L,this.updatePersonalLimitsUserData.next(L)}savePersonalLimits(L){return this._httpService.put(i.OT,L)}savePersonalLimitsSelfExclusion(L){return this._httpService.put(i.QQ,{exclusionDuration:L})}savePersonalLimitsTimeOut(L){return this._httpService.put(i.Ld,{exclusionDuration:L})}savePersonalLimitsSessionDuration(L){return this._httpService.put(i.Sr,{sessionDuration:L})}savePauseLimits(L){return this._httpService.put(i._R,{exclusionDuration:L})}getPauseLimits(){return this._httpService.get(i._R,"",p.mp)}setSessionDuration(L){this._sessionDurationUserData=L,L&&this._sessionDurationUserDataSet.next(L)}savePersonalLimitsSessionDurationExpiration(L,Z=!1){var ie=this;return(0,o.A)(function*(){if(ie._authService.currentUser().isUserLogin){if(!L||L===h.Ef.UNLIMITED_ACCESS)return void ie.deletePersonalLimitsSessionDuration(ie._authService.currentUser().accountId,h.SQ.UNLIMITED_ACCESS);ie._personalLimitApiHttpService.post("session",{id:ie._authService.currentUser().accountId,duration:L,reset:Z}).subscribe(ve=>{ie.sessionDurationExpirationDate=ve.expiresAt,ie.sessionDurationDataSet.next(ve.status),ie._authService.loginInProgress=!1})}})()}getPersonalLimitsSessionDurationStatus(){this._authService.loginInProgress||this._isGetPersonalLimitsSessionDurationStatusInProgress||!this._authService.currentUser().isUserLogin||!this.allowSessionDuration||(this._isGetPersonalLimitsSessionDurationStatusInProgress=!0,this._personalLimitApiHttpService.get(`session/${this._authService.currentUser().accountId}`,"personal-limits-api-session").subscribe(L=>{this.sessionDurationExpirationDate=L.expiresAt?L.expiresAt:"",this._isGetPersonalLimitsSessionDurationStatusInProgress=!1,this._authService.loginInProgress=!1,this.sessionDurationDataSet.next(L.status)}))}deletePersonalLimitsSessionDuration(L,Z=h.SQ.LOGOUT){this._personalLimitApiHttpService.delete(`session/${L}?type=${Z}`).subscribe(),this.sessionDurationExpirationDate="",this._authService.loginInProgress=!1,this.sessionDurationDataSet.next(h.YY.EXPIRED)}_fetchAvailabilityPeriod(){return this._httpService.get(i.Ql,"personal-limits-availability-period")}getAvailabilityPeriod(){return new Promise(L=>{this._fetchAvailabilityPeriod().subscribe(Z=>{L(v.d.fromAvailabilityPeriodResponse(Z))})})}saveAvailabilityPeriodDailyLimit(L){return this._httpService.put(i.Ql,L)}static{this.\u0275fac=function(Z){return new(Z||U)(u.KVO(E.k),u.KVO(P),u.KVO(F.u))}}static{this.\u0275prov=u.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}}return U})()},99999:(he,M,r)=>{"use strict";r.d(M,{j:()=>h,s:()=>d});var o=r(54438),i=r(60177);const d=/(https?:\/\/[^\s"']+\.(?:png|jpe?g|webp))/gi;let h=(()=>{class v{constructor(m,p){this.rendererFactory=m,this.document=p,this.prec
1onnectUrls=[],this.preloadUrls=[]}addImagesForPreload(m,p="preconnect"){try{const u=this.rendererFactory.createRenderer(this.document,{id:"-1",encapsulation:o.gXe.None,styles:[],data:{}});if(!this.document?.head)return void console.log("NO DOCUMENT HEAD FOUND");this._addOrUpdatePreconnectLinks(m,u,p)}catch(u){console.log("ERROR:",u)}}_addOrUpdatePreconnectLinks(m,p,u){m.forEach(E=>{const C=this._getOrigin(E);C&&(this.preconnectUrls.includes(C)||this.preconnectUrls.push(C),"preconnect-and-preload"===u&&!this.preloadUrls.includes(E)&&this.preloadUrls.push(E))}),this.preconnectUrls.forEach(E=>{if(!this.document.querySelector(`link[rel="preconnect"][href="${E}"]`)){const l=p.createElement("link");p.setAttribute(l,"rel","preconnect"),p.setAttribute(l,"href",E),p.appendChild(this.document.head,l)}}),this.preloadUrls.forEach(E=>{if(!this.document.querySelector(`link[rel="preload"][href="${E}"]`)){const l=p.createElement("link");p.setAttribute(l,"rel","preload"),p.setAttribute(l,"href",E),p.setAttribute(l,"as","image"),p.setAttribute(l,"fetchpriority","high"),p.appendChild(this.document.head,l)}})}_getOrigin(m){try{return new URL(m).origin}catch{return null}}static{this.\u0275fac=function(p){return new(p||v)(o.KVO(o._9s),o.KVO(i.DOCUMENT))}}static{this.\u0275prov=o.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},91926:(he,M,r)=>{"use strict";r.r(M),r.d(M,{RadarGeoLocationService:()=>xe});var o=r(10467),i=r(6847),d=function($){return $.ERROR_VERIFY_APP="ERROR_VERIFY_APP",$.ERROR_PERMISSIONS="ERROR_PERMISSIONS",$.ERROR_LOCATION="ERROR_LOCATION",$.ERROR_RATE_LIMIT="ERROR_RATE_LIMIT",$}(d||{}),h=r(58114),v=r(73955),_=r(18978),m=r(68374),p=r(54438),u=r(82361),E=r(72161),C=r(58167),l=r(96467);function y($,V){if(1&$){const oe=p.RV6();p.j41(0,"div",6),p.nrm(1,"svg-icon",7),p.j41(2,"p",8),p.EFF(3),p.nI1(4,"translate"),p.k0s(),p.j41(5,"p",8),p.EFF(6),p.nI1(7,"translate"),p.k0s(),p.j41(8,"a",9),p.nI1(9,"translate"),p.EFF(10),p.nI1(11,"translate"),p.k0s()(),p.j41(12,"div",10)(13,"button",11),p.bIt("click",function(){p.eBV(oe);const W=p.XpG();return p.Njj(W.closeModal())}),p.EFF(14),p.nI1(15,"translate"),p.k0s(),p.j41(16,"button",12),p.bIt("click",function(){p.eBV(oe);const W=p.XpG();return p.Njj(W.handleNextAndOpenLoginModal())}),p.EFF(17),p.nI1(18,"translate"),p.k0s()()}2&$&&(p.R7$(3),p.SpI(" ",p.bMT(4,6,"general.verify_app_required_web_1")," "),p.R7$(3),p.SpI(" ",p.bMT(7,8,"general.verify_app_required_web_2")," "),p.R7$(2),p.BMQ("href",p.bMT(9,10,"general.verify_app_required_web_download_link"),p.B4B),p.R7$(2),p.SpI(" ",p.bMT(11,12,"general.verify_app_required_web_download")," "),p.R7$(4),p.JRh(p.bMT(15,14,"general.cancel")),p.R7$(3),p.SpI("",p.bMT(18,16,"general.next")," "))}function I($,V){if(1&$){const oe=p.RV6();p.j41(0,"div",6),p.nrm(1,"svg-icon",13),p.j41(2,"p",8),p.EFF(3),p.nI1(4,"translate"),p.k0s()(),p.j41(5,"div",10)(6,"button",11),p.bIt("click",function(){p.eBV(oe);const W=p.XpG(2);return p.Njj(W.closeModal())}),p.EFF(7),p.nI1(8,"translate"),p.k0s()()}2&$&&(p.R7$(3),p.SpI(" ",p.bMT(4,2,"general.enable_location_guideline")," "),p.R7$(4),p.JRh(p.bMT(8,4,"general.cancel")))}function S($,V){if(1&$){const oe=p.RV6();p.j41(0,"div",6),p.nrm(1,"svg-icon",13),p.j41(2,"p",8),p.EFF(3),p.nI1(4,"translate"),p.k0s(),p.j41(5,"p",8),p.EFF(6),p.nI1(7,"translate"),p.k0s()(),p.j41(8,"div",10)(9,"button",11),p.bIt("click",function(){p.eBV(oe);const W=p.XpG(2);return p.Njj(W.closeModal())}),p.EFF(10),p.nI1(11,"translate"),p.k0s(),p.j41(12,"button",12),p.bIt("click",function(){p.eBV(oe);const W=p.XpG(2);return p.Njj(W.handleNextAndOpenLoginModal())}),p.EFF(13),p.nI1(14,"translate"),p.k0s()()}2&$&&(p.R7$(3),p.SpI(" ",p.bMT(4,4,"general.location_not_enabled_web_1")," "),p.R7$(3),p.SpI(" ",p.bMT(7,6,"general.location_not_enabled_web_2")," "),p.R7$(4),p.JRh(p.bMT(11,8,"general.cancel")),p.R7$(3),p.JRh(p.bMT(14,10,"general.next")))}function P($,V){if(1&$&&p.DNE(0,I,9,6)(1,S,15,12),2&$){const oe=p.XpG();p.vxM(oe.payload.showGuideline?0:1)}}function F($,V){if(1&$){const oe=p.RV6();p.j41(0,"div",6),p.nrm(1,"svg-icon",13),p.j41(2,"p",8),p.EFF(3),p.nI1(4,"translate"),p.k0s(),p.j41(5,"p",8),p.EFF(6),p.nI1(7,"translate"),p.k0s()(),p.j41(8,"div",14)(9,"button",15),p.bIt("click",function(){p.eBV(oe);const W=p.XpG();return p.Njj(W.closeModal())}),p.EFF(10),p.nI1(11,"translate"),p.k0s()()}2&$&&(p.R7$(3),p.SpI(" ",p.bMT(4,3,"general.location_not_available_web_1")," "),p.R7$(3),p.SpI(" ",p.bMT(7,5,"general.location_not_available_web_2")," "),p.R7$(4),p.SpI("",p.bMT(11,7,"general.close")," "))}function N($,V){if(1&$){const oe=p.RV6();p.j41(0,"div",6),p.nrm(1,"svg-icon",13),p.j41(2,"p",8),p.EFF(3),p.nI1(4,"translate"),p.k0s(),p.j41(5,"p",8),p.EFF(6),p.nI1(7,"translate"),p.k0s()(),p.j41(8,"div",14)(9,"button",15),p.bIt("click",function(){p.eBV(oe);const W=p.XpG();return p.Njj(W.closeModal())}),p.EFF(10),p.nI1(11,"translate"),p.k0s()()}2&$&&(p.R7$(3),p.SpI(" ",p.bMT(4,3,"general.error_limit_rate_web_1")," "),p.R7$(3),p.SpI(" ",p.bMT(7,5,"general.error_limit_rate_web_2")," "),p.R7$(4),p.SpI(" ",p.bMT(11,7,"general.close")," "))}function U($,V){if(1&$&&(p.j41(0,"p",8),p.EFF(1),p.nI1(2,"translate"),p.k0s()),2&$){const oe=V.$implicit;p.R7$(),p.SpI(" ",p.bMT(2,1,"general."+oe.errorCode)," ")}}function T($,V){if(1&$){const oe=p.RV6();p.j41(0,"div",6),p.nrm(1,"svg-icon",16),p.j41(2,"p",8),p.EFF(3),p.nI1(4,"translate"),p.k0s(),p.Z7z(5,U,3,3,"p",8,p.fX1),p.k0s(),p.j41(7,"div",10)(8,"button",15),p.bIt("click",function(){p.eBV(oe);const W=p.XpG();return p.Njj(W.closeModal())}),p.EFF(9),p.nI1(10,"translate"),p.k0s()()}if(2&$){const oe=p.XpG();p.R7$(3),p.SpI(" ",p.bMT(4,2,"general.fraud_failure_reasons_web_1")," "),p.R7$(2),p.Dyx(oe.payload.errors),p.R7$(4),p.SpI(" ",p.bMT(10,4,"general.close")," ")}}let L=(()=>{class ${constructor(oe,z,W,re){this._modalService=oe,this._globalLoaderService=z,this._radarGeolocationService=W,this._authService=re,this.payload={},this.RADAR_GEOLOCATION_ERROR=d}closeModal(){this._modalService.close()}handleNext(){var oe=this;return(0,o.A)(function*(){oe.closeModal(),oe._globalLoaderService.showLoader()})()}handleNextAndOpenLoginModal(){var oe=this;return(0,o.A)(function*(){oe.handleNext(),(yield oe._radarGeolocationService.checkUserLocation(()=>{},!0,!0))&&!oe._authService.currentUser().isUserLogin&&oe._modalService.open({component:_.LoginModal,payload:{}})})()}static{this.\u0275fac=function(z){return new(z||$)(p.rXU(u.B),p.rXU(E.e),p.rXU(xe),p.rXU(C.u))}}static{this.\u0275cmp=p.VBU({type:$,selectors:[["location-modal"]],inputs:{payload:"payload"},standalone:!0,features:[p.aNF],decls:13,vars:5,consts:[[1,"c-modal-wrapper"],[1,"c-modal"],[1,"c-modal__header"],[1,"c-modal__title"],["aria-label","Close Mod
1al",1,"c-button-close",3,"click"],["icon","close",1,"c-button-close-icon"],[1,"c-modal__body"],["icon","circle_checkmark",1,"c-modal__location-icon"],[1,"c-modal__text"],["target","_blank",1,"c-modal__download"],[1,"c-modal__footer"],[1,"c-button","c-button--large",3,"click"],[1,"c-button","c-button--success","c-button--large",3,"click"],["icon","session_location_icon",1,"c-modal__check-icon"],[1,"c-modal__footer","c-modal__footer--sm"],[1,"c-button","c-button--warning","c-button--large",3,"click"],["icon","alert-triangle",1,"c-modal__triangle-icon"]],template:function(z,W){1&z&&(p.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"p",3),p.EFF(4),p.nI1(5,"translate"),p.k0s(),p.j41(6,"button",4),p.bIt("click",function(){return W.closeModal()}),p.nrm(7,"svg-icon",5),p.k0s()(),p.DNE(8,y,19,18)(9,P,2,1)(10,F,12,9)(11,N,12,9)(12,T,11,6),p.k0s()()),2&z&&(p.Y8G("@fadeSimpleMedium",void 0),p.R7$(4),p.JRh(p.bMT(5,3,W.payload.title)),p.R7$(4),p.vxM(W.payload.errorStatus===W.RADAR_GEOLOCATION_ERROR.ERROR_VERIFY_APP?8:W.payload.errorStatus===W.RADAR_GEOLOCATION_ERROR.ERROR_PERMISSIONS?9:W.payload.errorStatus===W.RADAR_GEOLOCATION_ERROR.ERROR_LOCATION?10:W.payload.errorStatus===W.RADAR_GEOLOCATION_ERROR.ERROR_RATE_LIMIT?11:12))},dependencies:[h.A,l.D,v.h,v.D9],styles:["[_nghost-%COMP%]{z-index:200}.c-modal-wrapper[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;padding:0 20px;background-color:var(--baseBackdropBg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:var(--z-index-error-modal)}.c-modal[_ngcontent-%COMP%]{width:100%;padding:0;min-width:476px;max-width:476px;background:var(--baseBlue21);color:var(--baseTextColor);border-radius:10px;border:1px solid var(--transparentWhite);overflow:hidden}.c-modal__header[_ngcontent-%COMP%]{padding:0 10px}.c-modal__title[_ngcontent-%COMP%]{width:100%;padding:10px;font-size:18px;text-align:center;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-modal__body[_ngcontent-%COMP%]{padding:14px 30px 12px;font-size:13px;line-height:16px;text-align:center}.c-modal__footer[_ngcontent-%COMP%]{padding-top:0;max-width:80%;margin:auto}.c-modal__footer.c-modal__footer--sm[_ngcontent-%COMP%]{max-width:170px}.c-modal__info[_ngcontent-%COMP%]{min-height:356px;font-family:var(--font-cond);font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:center;display:flex;margin:0;color:var(--baseWhite05);justify-content:center;align-items:center}.c-modal__location-icon[_ngcontent-%COMP%], .c-modal__check-icon[_ngcontent-%COMP%]{height:75px;width:50px;margin-bottom:14px;color:var(--base-green-01)}.c-modal__triangle-icon[_ngcontent-%COMP%]{height:65px;width:50px;margin-bottom:14px;color:var(--base-primary)}.c-modal__download[_ngcontent-%COMP%]{color:var(--baseYellow12);text-transform:uppercase;font-weight:400;font-size:14px;text-decoration:underline;display:inline-block;margin-bottom:18px;cursor:pointer}.c-modal__text[_ngcontent-%COMP%]{font-weight:400;font-size:14px;margin-bottom:22px}.c-local-loader-wrapper[_ngcontent-%COMP%]{position:absolute;top:15vw;width:100%;left:50%;transform:translate(-50%)}"],data:{animation:[m.WL]}})}}return $})();var Z=r(95447),ie=r(53811),ve=r(34405),me=r(48115);let xe=(()=>{class ${constructor(oe,z,W,re,ee){this._lazyLoadScript=oe,this._restConfigurationService=z,this._modalService=W,this._globalLoaderService=re,this._stabilityService=ee,this.isRadarInit=!1,this.submitTicketGeoLocation=""}initRadarTracking(){var oe=this;return(0,o.A)(function*(){oe.isRadarInit||(oe.isRadarInit=!0,yield oe._lazyLoadScript.loadScript("https://js.radar.com/v4.4.8/radar.min.js").toPromise(),Radar.initialize(oe._restConfigurationService.getGeneralCustomConfigurationParams("radarGeoCheckerKey")))})()}setCurrentUser(oe){this.currentUser=oe}checkUserLocation(oe=()=>{},z=!0,W=!1){var re=this;return(0,o.A)(function*(){return re.currentUser?.country===Z.C$?(z&&re._globalLoaderService.hideLoader(),Promise.resolve(!0)):(yield re.initRadarTracking(),re.currentUser?.isUserLogin&&re.currentUser.accountId&&Radar.setUserId(re.currentUser.accountId),new Promise(ee=>{Radar.trackVerified({skipVerifyApp:re._restConfigurationService.getGeneralCustomConfigurationParams("radarSkipVerifyApp")}).then(function(){var Se=(0,o.A)(function*(J){J.passed||(yield oe(i.lJ.OTHER),re._globalLoaderService.hideLoader(),re._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>{re.openErrorPopup(re._formatErrorPayload(J))},200)})),z&&re._globalLoaderService.hideLoader(),re.submitTicketGeoLocation=J.token,ee(J.passed)});return function(J){return Se.apply(this,arguments)}}()).catch(function(){var Se=(0,o.A)(function*(J){yield oe(i.lJ.OTHER),re._globalLoaderService.hideLoader(),re.openErrorPopup({...re._formatErrorPayload(J),showGuideline:W}),ee(!1)});return function(J){return Se.apply(this,arguments)}}())}))})()}_formatErrorPayload(oe){let z=[];return oe.failureReasons&&(z=oe.failureReasons.map(W=>({title:"",errorCode:W}))),{title:this.getErrorTitle(oe),errors:z,errorStatus:oe?.status}}openErrorPopup(oe){this._modalService.open({component:L,payload:oe,priority:!0})}getErrorTitle(oe){switch(oe?.status){case d.ERROR_VERIFY_APP:return"error.verify_app_required";case d.ERROR_PERMISSIONS:return"error.location_not_enabled";case d.ERROR_LOCATION:return"error.location_not_available";case d.ERROR_RATE_LIMIT:return"error.error_limit_rate";default:return"error.fraud_failure_reasons"}}static{this.\u0275fac=function(z){return new(z||$)(p.KVO(ie.K),p.KVO(ve.M),p.KVO(u.B),p.KVO(E.e),p.KVO(me.B))}}static{this.\u0275prov=p.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})()},90486:(he,M,r)=>{"use strict";r.d(M,{J:()=>d});var o=r(54438),i=r(65283);let d=(()=>{class h{constructor(){this._httpService=(0,o.WQX)(i.k),this.AVAILABLE_PROVIDERS_URL="api/v1/available_providers",this.availableProviders=(0,o.vPA)({})}getAvailableProviders(){return this._httpService.get(this.AVAILABLE_PROVIDERS_URL,"available-providers")}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},7900:(he,M,r)=>{"use strict";r.d(M,{c:()=>h});var o=r(45286),i=r(79928),d=r(54438);let h=(()=>{class v{constructor(){this.resize=new o.B7,this.resize$=this.resize.asObservable(),this.numberOfMarkets=new i.t(3),this.numberOfMarkets$=this.numberOfMarkets.asObservable(),!(typeof window>"u")&&this.calculateMarketNumber(window.innerWidth)}calculateMarketNumber(m){m>=1366&&this.numberOfMarkets.next(3),m<1366&&m>1200&&this.numberOfMarkets.next(2),m<=1200&&this.numberOfMarkets.next(1)}static{this.\u0275fac=function(p){return new(p||v)}}static{this.\u0275prov=d.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},34405:(he,M,r)=>{"use strict";r.d(M,{M:()=>m});var o=r(23712),i=r(62125),d=r(2428),h=r(50323),v=r(71757),_=r(54438);let m=(()=>{class p{constructor(){this._bettingConfig={},this._generalConfig={},this._navigationConfig={},this._paymentsConfig={},this.navigationSections=[],this._activePages=[]}initConfigurations(E,C){switch(C){case d.gV:case v.b.NAVIGATION:this._navigationConfig=E,this.navigationSections.push(...this._navigationConfig.topLeftSection,...this._navigationConfig.topRightSection),this._setActiveNavigationPages(this.navigationSections);break;case d.Y5:case v.b.GENERAL:this._generalConfig=E;break;case d.PS:case v.b.BETTING:this._bettingConfig=E;break;case d.LP:case v.b.PAYMENTS:this._paymentsConfig=E}}
1updateRestConfiguration(E){Object.entries(E).forEach(([C,l])=>{this.initConfigurations(l,C)})}_setActiveNavigationPages(E){(0,o.A)(E,C=>{this._activePages.push(C.name),C.subItems.length&&(0,o.A)(C.subItems,l=>{this._activePages.push(l.name)})})}getParam(E){return(0,i.A)(this._bettingConfig,E,[])}getNavigationConf(){return this._navigationConfig}getBettingConf(){return this._bettingConfig}getActivePages(){return this._activePages}getBettingConfigurationParams(E){return this._bettingConfig[E]}getGeneralConfiguration(){return this._generalConfig}getGeneralConfigurationParams(E){return this._generalConfig[E]}getNavigationConfigurationParams(E){return this._navigationConfig[E]}getGeneralCustomConfigurationParams(E){try{return void 0!==this._generalConfig.customConfigurations[E]?this._generalConfig.customConfigurations[E]:h.QC[E]}catch{return h.QC[E]}}getPaymentConfigurationParams(E){return this._paymentsConfig[E]}getCurrencyConfigurationParams(E){return this._generalConfig.mainCurrency[E]}getCurrencyConfiguration(){return this._generalConfig.mainCurrency}static{this.\u0275fac=function(C){return new(C||p)}}static{this.\u0275prov=_.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})()},39934:(he,M,r)=>{"use strict";r.d(M,{O:()=>N});var o=r(2091),i=r(62125),d=r(68999),h=r(86052),v=r(72036),_=r(67018),m=r(58728),p=r(19493),u=r(20279),E=r(79928),C=r(45286),l=r(76227),y=r(54438),I=r(22804),S=r(60177),P=r(69146),F=r(34405);let N=(()=>{class U{constructor(L,Z,ie,ve,me,xe,$){this._router=L,this._activatedRoute=Z,this._localizationService=ie,this._location=ve,this._urlSlugService=me,this._translateRoutingService=xe,this._restConfigurationService=$,this.liveMatchOpened=new E.t(!1),this.liveMatchOpened$=this.liveMatchOpened.asObservable(),this.clickFromFeatureMatch=new C.B7,this.clickFromFeatureMatch$=this.clickFromFeatureMatch.asObservable(),this.notifyOfRouteChange=new C.B7,this.notifyOfRouteChange$=this.notifyOfRouteChange.asObservable(),this.changeStandardSportNavigation=new C.B7,this.changeStandardSportNavigation$=this.changeStandardSportNavigation.asObservable(),this.previousRouteUrl="/",this.shouldCalculateScrollOnSlider=new C.B7,this.shouldCalculateScrollOnSlider$=this.shouldCalculateScrollOnSlider.asObservable(),this.updatePreviousRouteUrl()}updatePreviousRouteUrl(){this._router.events.subscribe(L=>{L instanceof o.Z&&!this._shouldReplaceUrl(this._router)&&(this.previousRouteUrl=this._router.url)})}_shouldReplaceUrl(L){return L.getCurrentNavigation()?.extras?.replaceUrl??!1}goBack(){this.isPreviousRouteLandingPage()?this.navigateToCasinoHomePage():this.navigateByUrl(this.previousRouteUrl)}getBackUrl(){if(this.isPreviousRouteLandingPage()){const L=this.isLiveDealer()?u.Bi.LIVE_DEALER:u.Bi.CASINO_HOME;return this.getUrlByPageName(L)}return this.previousRouteUrl}isPreviousRouteLandingPage(){return"/"===this.previousRouteUrl}getHomePageUrl(){const L=this._localizationService.getSelectedLocale();return`/${L}/${(0,i.A)(this._translateRoutingService.translatedRoutes,`[${L}]['url.${this.getHomePage().name}']`)}`}getHelpPageUrl(){const L=this._localizationService.getSelectedLocale();return`/${L}/${(0,i.A)(this._translateRoutingService.translatedRoutes,`[${L}]['url.help']`)}`}navigate(L,Z={}){this._router.navigate([L],{queryParams:Z})}navigateWithCB(L,Z){this._router.navigate([L]).then(()=>Z())}navigateByUrl(L){this._router.navigateByUrl(L)}navigateToHome(){this.createRouteByNameAndNavigate(this.getHomePage()?.name)}getHomePage(){return this._restConfigurationService.getNavigationConf().topLeftSection.reduce((L,Z)=>L||Z.subItems.find(ie=>ie.flags.includes("home"))||null,null)}navigateToCasinoHomePage(){const L=this.isLiveDealer()?u.Bi.LIVE_DEALER:u.Bi.CASINO_HOME;this.createRouteByNameAndNavigate(L)}navigateToLivePage(){this.createRouteByNameAndNavigate(u.Bi.LIVE)}navigateToSportPage(){this.createRouteByNameAndNavigate(u.Bi.SPORT_TODAY)}navigateToRegistration(L={}){this.navigate(this.getUrlByPageName(u.Bi.REGISTRATION),L)}navigateToPageWithCB(L,Z){this.navigateWithCB(this.getUrlByPageName(L),Z)}navigateToDepositWithParams(L={}){this.navigate(this.getAccountUrlByPage(u.db.DEPOSITED),L)}navigateToSingleMatch(L){const Z=this._formatSingleEventMatchUrl(L);this.navigate(Z)}navigateToSingleMatchFromTicket(L,Z){switch(Z){case"LIVE_BET":case"STANDARD_BET":return this.navigate(this.formatSingleEventMatchUrlFromTicketItem(L));case"VIRTUAL_HORSES":case"VIRTUAL_DOGS":return void this.navigateToSingleVirtual
1Event((0,d.A)(L.submodule.replace("_","-")),L.drawId);case"KENO":return this.createRouteByNameAndNavigate(u.Bi.KENO);case"LUCKY6":return this.createRouteByNameAndNavigate(u.Bi.LUCKY_6)}}navigateToSingleMatchFromBetBoost(L){const Z=this._formatSingleEventMatchUrlFromBetBoostItemHeader(L);this.navigate(Z)}navigateToLiveMatch(L){const Z=this._formatSingleEventMatchUrl(L);this.navigate(Z)}navigateToCasino(L){const Z=this.getCasinoPageUrlByPage(L);this.navigate(Z)}navigateToCasinoByName(L="",Z){const ie=this.getCasinoPageUrlByPageNameAndCasinoType(L,Z);this.navigate(ie)}navigateToSingleVirtualEvent(L,Z){this._router.navigate([`${this.getUrlByPageName(u.Tc[u.Bi.VIRTUAL_RACING])}/${L}/${Z}`],{replaceUrl:!0})}getSingleVirtualGameUrl(L){return`${this.getUrlByPageName(u.Bi.VIRTUALS_PAGE)}/${L}`}changeUrlForSingleVirtual(L,Z){this._location.go(`${this.getUrlByPageName(u.Bi.VIRTUAL_RACING)}/${L}/${Z}`)}getSingleEventMatchUrl(L){return L.eventId?this._formatSingleEventMatchUrl(L):this.getUrlByPageName(this.getHomePage().name)}getLiveMatchUrl(L){return L.eventId?this._formatSingleEventMatchUrl(L):this.getUrlByPageName(this.getHomePage().name)}getRouteSnapshot(L="default",Z){if(Z?.sport||Z?.region||Z?.league)return this._getBreadcrumbsFromSidebarData(Z,L);const ie=this._router.url.split("/");"default"===L&&ie.length>6&&ie.splice(ie.length-1,1),ie.splice(0,3);const ve=[];ie.forEach((xe,$)=>{ve.push({name:this._createRouteName(xe),url:`${ve[ve.length-1]?ve[ve.length-1].url:this.getUrlByPageName(u.Bi.HOME)}/${xe}`,redirectionDisabled:ve.length-1===$})});const{locale:me}=this._formatMandatoryUrlSlugs();return ve.unshift({name:(0,i.A)(this._translateRoutingService.translatedRoutes,`[${me}]['url.home']`),url:this.getUrlByPageName(u.Bi.HOME),redirectionDisabled:!1}),Z?.lastItemName&&ve.length>0&&(ve[ve.length-1].name=Z.lastItemName),"league-page"===L?this._compressMappedRouteArrayForLeaguePageBreacrumbs(ve):ve}_getBreadcrumbsFromSidebarData(L,Z="default"){const{sport:ie,region:ve,league:me,eventName:xe}=L,{locale:$}=this._formatMandatoryUrlSlugs(),V=[];if(V.push({name:(0,i.A)(this._translateRoutingService.translatedRoutes,`[${$}]['url.home']`),url:this.getUrlByPageName(u.Bi.HOME),redirectionDisabled:!1}),ie){const oe=`${V[V.length-1].url}/${l.O.formatSlugFromName(ie)}`;V.push({name:ie.name,url:oe,redirectionDisabled:!1,sportId:ie.sportId})}if(ve&&ie){const oe=`${V[V.length-1].url}/${l.O.formatSlugFromName(ve)}`;V.push({name:ve.name,url:oe,redirectionDisabled:!1})}if(me&&ve&&ie){const oe=`${V[V.length-1].url}/${l.O.formatSlugFromName(me)}`;V.push({name:me.name,url:oe,redirectionDisabled:!1})}if(xe&&me&&ve&&ie){const oe=`${V[V.length-1].url}/${l.O.formatSlugFromName({name:xe})}`;V.push({name:xe,url:oe,redirectionDisabled:!1})}return V.forEach((oe,z)=>{oe.redirectionDisabled=z===V.length-1}),"league-page"===Z?this._compressMappedRouteArrayForLeaguePageBreacrumbs(V):V}_compressMappedRouteArrayForLeaguePageBreacrumbs(L){const ie=L.slice(0,5).map(me=>({...me})),ve=L.slice(5);for(let me=0;me<ve.length;me+=2){const xe={...ve[me]},$=ve[me+1];$&&(xe.url=$.url),ie.push(xe)}return ie}_createRouteName(L){return(0,h.A)(decodeURIComponent(L),"?")[0]}initBreadcrumbs(L="default",Z){const ie=this.getRouteSnapshot(L,Z);setTimeout(()=>{this.notifyOfRouteChange.next(ie)})}formatSingleEventMatchUrlFromTicketItem(L){if(!(0,i.A)(L,"home"))return this.getUrlByPageName(this.getHomePage().name);const{locale:Z,homeSlug:ie}=this._formatMandatoryUrlSlugs(),{sportSlug:ve,regionSlug:me,leagueSlug:xe,rivalsSlug:$,eventId:V}=this._urlSlugService.formatEventSlugsFromTicketItem(L);return L.antepost?`/${Z}/${ie}/${ve}/${me}/${xe}`:`/${Z}/${ie}/${ve}/${me}/${xe}/${$}/${V}`}_formatSingleEventMatchUrl(L){const{locale:Z,homeSlug:ie}=this._formatMandatoryUrlSlugs(),{sportSlug:ve,regionSlug:me,leagueSlug:xe,rivalsSlug:$,eventId:V}=this._urlSlugService.formatEventSlugs(L);return`/${Z}/${ie}/${ve}/${me}/${xe}/${$}/${V}`}_formatSingleEventMatchUrlFromBetBoostItemHeader(L){const{locale:Z,homeSlug:ie}=this._formatMandatoryUrlSlugs(),{sportSlug:ve,regionSlug:me,leagueSlug:xe,rivalsSlug:$,eventId:V}=this._urlSlugService.formatEventSlugsFromBetBoostItemHeader(L);return`/${Z}/${ie}/${ve}/${me}/${xe}/${$}/${V}`}_formatMandatoryUrlSlugs(){const L=this._localizationService.getSelectedLocale();return{locale:L,homeSlug:(0,i.A)(this._translateRoutingService.translatedRoutes,`[${L}]['url.home']`),liveSlug:(0,i.A)(this._translateRoutingService.translatedRoutes,`[${L}]['url.live']`)}}formatMissionSingleEventMatchUrl(L){const{locale:Z,homeSlug:ie}=this._formatMandatoryUrlSlugs(),{sportName:ve,regionName:me,leagueName:xe,rivals:$,eventId:V}=L;return`/${Z}/${ie}/${l.O.formatSlug(ve)}/${l.O.formatSlug(me)}/${l.O.formatSlug(xe)}/${l.O.formatSlug($.home)}-${l.O.formatSlug($.away)}/${V}`}navigateToSport(L){L&&this._addHomePrefixAndNavigate(L)}navigateToRegion(L,Z){!L||!Z||this._addHomePrefixAndNavigate(`${L}/${Z}`)}addHomePrefix(L){return`${this.getUrlByPageName(u.Bi.HOME)}/${L}`}addEarlyPayoutPrefix(L){return`${this.getUrlByPageName(u.Bi.EARLY_PAYOUT)}/${L}`}navigateToLeague(L,Z,ie){!L||!Z||this._addHomePrefixAndNavigate(`${L}/${Z}/${ie}`)}getLeaguePageUrl(L,Z,ie){return this._addPrefixHome(`${L}/${Z}/${ie}`)}getRegionPageUrl(L,Z){return this._addPrefixHome(`${L}/${Z}`)}createRouteByNameAndNavigate(L){this.navigate(this.getUrlByPageName(L))}_addPrefixHome(L){return`${this.getUrlByPageName(u.Bi.HOME)}/${L}`}_addHomePrefixAndNavigate(L){this.navigateByUrl(this._addPrefixHome(L))}getCasinoPageUrlByPage(L){const Z=this._localizationService.getSelectedLocale(),ie=(0,i.A)(this._translateRoutingService.translatedRoutes,`[${Z}]['url.${u.Bi.CASINO}']`);return L?`/${Z}/${ie}/${L}`:`/${Z}/${ie}`}getLiveDealerPageUrlByPage(L){const Z=this._localizationService.getSelectedLocale(),ie=(0,i.A)(this._translateRoutingService.translatedRoutes,`[${Z}]['url.${u.Bi.LIVE_DEALER}']`);return L?`/${Z}/${ie}/${L}`:`/${Z}/${ie}`}getHelpPageUrlSingleQuestion(L,Z){const ie=this._localizationService.getSelectedLocale();return`/${ie}/${(0,i.A)(this._translateRoutingService.translatedRoutes,`[${ie}]['url.${u.Bi.HELP}']`)}/${L}/${Z}`}getCasinoPageUrlByPageNameAndCasinoType(L="",Z){const ie=this._localizationService.getSelectedLocale(),ve=(0,i.A)(this._translateRoutingService.translatedRoutes,`[${ie}]['url.${Z}']`);return L?`/${ie}/${ve}/${L}`:`/${ie}/${ve}`}getOutsideCasinoPageUlrByPageNameAndCasinoType(L="",Z){const ie=this._localizationService.getSelectedLocale(),ve=(0,i.A)(this._translateRoutingService.translatedRoutes,`[${ie}]['url.${Z}']`);return L?`/${ie}/${ve}/${L}`:`/${ie}/${ve}`}getUrlByPageName(L){L=this._getPageNameBaseOnNavigationSectionName(L),L=u.Tc[L]||L;const Z=this._localizationService.getSelectedLocale();if(!L)return"";const ie=L.split("/").reduce((ve,me)=>ve+"/"+(0,i.A)(this._translateRoutingService.translatedRoutes,`[${Z}]['url.${me}']`),"");return`/${Z}${ie}`}_getPageNameBaseOnNavigationSectionName(L){return L===u.Bi.LANDING?u.Bi.ROOT_PAGE:[u.Bi.SPORT,u.Bi.LOTTERY,u.Bi.VIRTUALS].includes(L)?this._findFirstActiveGame(L):L}_findFirstActiveGame(L){if((0,v.A)(this._restConfigurationService.getNavigationConf()))return L;const Z=(0,_.A)(this._restConfigurationService.navigationSections,ve=>ve.name===L),ie=(0,i.A)(Z,"subItems[0]",{});return ie?u.Tc[ie.name]||ie.name:L}navigateToAccountPageByPageName(L){this.navigate(this.getAccountUrlByPage(L))}getAccountUrlByPage(L){const Z=this._localizationService.getSelectedLocale();return`${this.getUrlByPageName(u.Bi.ACCOUNT_PAGE)}/${(0,i.A)(this._translateRoutingService.translatedRoutes,`[${Z}]['url.${L}']`)}`}
1getActiveRouteParams(){let L=(0,i.A)(this._activatedRoute,"_routerState.snapshot.url","");if(!L)return;L=decodeURIComponent(L).split("?")[0];const Z=L.split("/");return{lang:(0,i.A)(Z,[1],""),home:(0,i.A)(Z,[2],""),sport:(0,i.A)(Z,[3],""),region:(0,i.A)(Z,[4],""),league:(0,i.A)(Z,[5],"")}}getActiveRouteParamsFromUrl(L){if(!L)return;const ie=decodeURIComponent(L).split("?")[0].split("/");return{sport:(0,i.A)(ie,[3],""),region:(0,i.A)(ie,[4],""),league:(0,i.A)(ie,[5],"")}}isLiveDealer(){return this.isRouteActive(u.Bi.LIVE_DEALER,!1)}shouldHideSearch(){return this.isRouteActive(u.Bi.CASINO,!1)||this.isRouteActive(u.Bi.LIVE_DEALER,!1)}shouldHideSidebar(){return this.isRouteActive(u.Bi.CASINO,!1)||this.isRouteActive(u.Bi.ACCOUNT_PAGE,!1)||this.isRouteActive(u.Bi.LANDING)||this.isRouteActive(u.Bi.REGISTRATION,!1)||this.isRouteActive(u.Bi.LIVE)||this.isRouteActive(u.Bi.KENO)||this.isRouteActive(u.Bi.LUCKY_6)||this.isRouteActive(u.Bi.PWD_CREATE)||this.isRouteActive(u.Bi.EMAIL_ACTIVATION)||this.isRouteActive(u.Bi.EMAIL_ACTIVATION_V2)||this.isRouteActive(u.Bi.VIRTUAL_RACING,!1)||this.isRouteActive(u.Bi.COUPONS)||this.isRouteActive(u.Bi.PROMO_CALENDAR)||this.isRouteActive(u.Bi.LIVE_DEALER,!1)||this.isRouteActive(u.Bi.VIRTUAL_GAMES,!1)||this.isRouteActive(u.Tc[u.Bi.VIRTUAL_RACING],!1)||this.isRouteActive(u.Tc[u.Bi.BETMAN_VIRTUALS],!1)||this.isRouteActive(u.Tc[u.Bi.BETGAMES],!1)||this.isRouteActive(u.Tc[u.Bi.BITVILLE],!1)||this.isRouteActive(u.Tc[u.Bi.WINGO],!1)||this.isRouteActive(u.Tc[u.Bi.WINGOCG],!1)||this.isRouteActive(u.Tc[u.Bi.GOLDEN_RACE],!1)||this.isRouteActive(u.Bi.STATISTICS,!1)||this.isRouteActive(u.Bi.LIVESCORE,!1)||this.isRouteActive(u.Tc[u.Bi.NUMBERS],!1)||this.isRouteActive(u.Bi.DONATIONS,!1)||this.isRouteActive(u.Bi.TAILORED_OFFER,!1)||this.isRouteActive(u.Bi.MISSIONS,!1)||this.isRouteActive(u.Tc[u.Bi.MISSIONS_SHOP],!1)||this.isRouteActive(u.Bi.VIP,!1)||this.isRouteActive(u.Bi.HELP,!1)}shouldHideSnow(){return this.isSingleCasinoGameActive()||this.isLiveCasinoGameActive()||this.isRouteActive(u.Tc[u.Bi.NUMBERS],!1)||this.isRouteActive(u.Tc[u.Bi.BETMAN_VIRTUALS])||this.isRouteActive(u.Tc[u.Bi.BETGAMES])||this.isRouteActive(u.Tc[u.Bi.BITVILLE])||this.isRouteActive(u.Tc[u.Bi.WINGO])||this.isRouteActive(u.Tc[u.Bi.WINGOCG])||this.isRouteActive(u.Tc[u.Bi.GOLDEN_RACE])||this.isRouteActive(u.Bi.KENO)||this.isRouteActive(u.Bi.LUCKY_6)||this.isRouteActive(u.Bi.VIRTUAL_RACING,!1)||this.isRouteActive(u.Bi.VIRTUAL_GAMES,!1)}shouldCloseSidebar(){return this.isRouteActive(u.Bi.SPORT)||this.isRouteActive(u.Bi.REGION)||this.isRouteActive(u.Bi.LEAGUE)||this.isRouteActive(u.Bi.MATCHES_TODAY)}shouldHideLiveSidebar(L){return u.Bi.SINGLE_EVENT!==L.snapshot.data.pageName}shouldHideTicket(){return this.isRouteActive(u.Bi.CASINO,!1)||this.isRouteActive(u.Bi.LIVE_DEALER,!1)||this.isRouteActive(u.Bi.ACCOUNT_PAGE,!1)||this.isRouteActive(u.Bi.LANDING)||this.isRouteActive(u.Bi.REGISTRATION,!1)||this.isRouteActive(u.Bi.PWD_CREATE)||this.isRouteActive(u.Bi.EMAIL_ACTIVATION)||this.isRouteActive(u.Bi.EMAIL_ACTIVATION_V2)||this.isRouteActive(u.Bi.COUPONS)||this.isRouteActive(u.Bi.PROMO_CALENDAR)||this.isRouteActive(u.Bi.VIRTUAL_GAMES,!1)||this.isRouteActive(u.Tc[u.Bi.BETMAN_VIRTUALS])||this.isRouteActive(u.Tc[u.Bi.BETGAMES])||this.isRouteActive(u.Tc[u.Bi.BITVILLE])||this.isRouteActive(u.Tc[u.Bi.WINGO])||this.isRouteActive(u.Tc[u.Bi.WINGOCG])||this.isRouteActive(u.Tc[u.Bi.GOLDEN_RACE])||this.isRouteActive(u.Bi.STATISTICS,!1)||this.isRouteActive(u.Bi.LIVESCORE,!1)||this.isRouteActive(u.Bi.NUMBERS,!1)||this.isRouteActive(u.Bi.DONATIONS,!1)||this.isRouteActive(u.Bi.MISSIONS,!1)||this.isRouteActive(u.Bi.VIP,!1)||this.isRouteActive(u.Bi.HELP,!1)}getCurrentUrl(){return decodeURIComponent(decodeURIComponent((0,i.A)(this._location,"_locationStrategy._platformLocation.pathname","")+(0,i.A)(this._location,"_locationStrategy._platformLocation.search","")))}isRouteActive(L,Z=!0){const ie=this.getCurrentUrl();return L=this.getUrlByPageName(L)||L,Z?ie===L:ie.startsWith(L)}isRouteActiveOutideOfCasino(L,Z=!0){const ie=this.getCurrentUrl().toLocaleLowerCase();return Z?ie===L:ie.startsWith(L)}getSingleEventUrl(L){const{locale:Z,homeSlug:ie}=this._formatMandatoryUrlSlugs(),{sportSlug:ve,regionSlug:me,leagueSlug:xe,rivalsSlug:$,eventId:V}=L;return`/${Z}/${ie}/${ve}/${me}/${xe}/${$}/${V}`}getTranslatedUrl(L){return(0,i.A)(this._translateRoutingService.translatedRoutes,`[${this._localizationService.getSelectedLocale()}]['url.${L}']`)}isOnDeposit(){return this.getCurrentUrl().startsWith(this.getAccountUrlByPage(u.db.DEPOSITED))}isOnVerification(){return this.getCurrentUrl().startsWith(this.getAccountUrlByPage(u.db.ACCOUNT_VERIFICATION))}isOnDepositError(){return this.getCurrentUrl().startsWith(this.getAccountUrlByPage(u.db.DEPOSITED_ERROR))}getHomeUrl(){return this.getUrlByPageName(this.getHomePage().name)}waitForNavigationToFinish(L=1e3){return this._router.getCurrentNavigation()?new Promise(Z=>{const ie=setTimeout(()=>{ve.unsubscribe(),Z()},L),ve=this._router.events.pipe((0,m.p)(me=>me instanceof o.wF||me instanceof o.j5||me instanceof o.L6),(0,p.s)(1)).subscribe(()=>{clearTimeout(ie),Z()})}):Promise.resolve()}isSingleCasinoGameActive(){const Z=(0,i.A)(this._activatedRoute,"_routerState.snapshot.url","").split("/");return this.isRouteActive(u.Bi.CASINO,!1)&&Z.length>=5}isLiveCasinoGameActive(){const L=(0,i.A)(this._activatedRoute,"_routerState.snapshot.url","");return this.isRouteActive(u.Bi.LIVE_DEALER,!1)&&L.split("/").length>=5}updateHistoryState(L,Z=null){const ie=(0,i.A)(history,"state");history.replaceState({...ie,...L},"",Z)}navigateToEarlyPayoutPage(L){if(!L?.name)return;const Z=l.O.formatSlugFromName(L),ie=this._localizationService.getSelectedLocale(),ve=(0,i.A)(this._translateRoutingService.translatedRoutes,`[${ie}]['url.home']`),me=(0,i.A)(this._translateRoutingService.translatedRoutes,`[${ie}]['url.early-payout']`);this.navigateByUrl(`${ie}/${ve}/${me}/${Z}`)}isOnCasino(L){return this.isRouteActive(u.Bi.CASINO,L)||this.isRouteActive(u.Bi.LIVE_DEALER,L)}static{this.\u0275fac=function(Z){return new(Z||U)(y.KVO(o.Ix),y.KVO(o.nX),y.KVO(I.P),y.KVO(S.Location),y.KVO(l.O),y.KVO(P.a),y.KVO(F.M))}}static{this.\u0275prov=y.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}}return U})()},78121:(he,M,r)=>{"use strict";r.d(M,{i:()=>E});var o=r(31635),i=r(85375),d=r(95447),h=r(63020),v=r(54438),_=r(34405),m=r(21626),p=r(77286),u=r(58167);class E{constructor(l,y,I,S){this._restConfigurationService=l,this._httpClient=y,this._cookieService=I,this._authService=S,this._sessionBalanceFetched=!1}initAndSubscribeOnSessionBalance(){this._sessionBalanceFetched||!this._restConfigurationService.getGeneralCustomConfigurationParams("currentSessionBalance")||(this._fetchCurrentSession(),this._subscribeOnBalanceChange())}_subscribeOnBalanceChange(){this._currentSessionBalanceSubscription=this._authService.afterBalanceIsUpdated$.pipe((0,h.B)(300)).subscribe(()=>{this._fetchCurrentSession()})}unsubscribeOnBalanceChange(){this._restConfigurationService.getGeneralCustomConfigurationParams("currentSessionBalance")&&this._currentSessionBalanceSubscription?.unsubscribe()}_fetchCurrentSession(){const l=this._authService.getSessionId();this._httpClient.get(`${API_URL}
1/betshop/api/v1/client-report/account-sessions?size=10`,{headers:{Authorization:`Bearer ${this._cookieService.get(d.Xh)}`}}).subscribe(y=>{this.currentSessionBalance=y?.payload?.find(I=>I.sessionId===l)?.balance||0})}static{this.\u0275fac=function(y){return new(y||E)(v.KVO(_.M),v.KVO(m.Qq),v.KVO(p.Q),v.KVO(u.u))}}static{this.\u0275prov=v.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}(0,o.Cg)([i.X],E.prototype,"initAndSubscribeOnSessionBalance",null),(0,o.Cg)([i.X],E.prototype,"_subscribeOnBalanceChange",null),(0,o.Cg)([i.X],E.prototype,"unsubscribeOnBalanceChange",null)},15628:(he,M,r)=>{"use strict";r.d(M,{L:()=>p});var o=r(31635),i=r(54438),d=r(39601),h=r(85375),v=r(63755),_=r(34405),m=r(48115);class p{constructor(E,C,l){this._localStorageService=E,this._restConfigurationService=C,this._stabilityService=l,this.SESSION_TIME_KEY="session-time",this.currentSessionTime=(0,i.vPA)("")}initAndSubscribeOnSessionTimer(){const E=Number(this._localStorageService.getItem(this.SESSION_TIME_KEY));!E||!this._restConfigurationService.getGeneralCustomConfigurationParams("currentSessionTimer")||(this.unsubscribeFromSessionTimer(),this._stabilityService.isAppStable().subscribe(()=>{this._currentSessionTimeSubscription=(0,d.Y)(1e3).pipe().subscribe(()=>{const C=Date.now()-E,l=Math.floor(C/1e3),y=Math.floor(l/3600).toString().padStart(2,"0"),I=Math.floor(l%3600/60).toString().padStart(2,"0"),S=(l%60).toString().padStart(2,"0");this.currentSessionTime.set(`${y}:${I}:${S}`)})}))}unsubscribeFromSessionTimer(){this._restConfigurationService.getGeneralCustomConfigurationParams("currentSessionTimer")&&this._currentSessionTimeSubscription?.unsubscribe()}setSessionStartTime(){this._localStorageService.setItem(this.SESSION_TIME_KEY,Date.now())}removeSessionStartTime(){this._localStorageService.removeItem(this.SESSION_TIME_KEY)}static{this.\u0275fac=function(C){return new(C||p)(i.KVO(v.s),i.KVO(_.M),i.KVO(m.B))}}static{this.\u0275prov=i.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}(0,o.Cg)([h.X],p.prototype,"initAndSubscribeOnSessionTimer",null),(0,o.Cg)([h.X],p.prototype,"unsubscribeFromSessionTimer",null),(0,o.Cg)([h.X],p.prototype,"setSessionStartTime",null),(0,o.Cg)([h.X],p.prototype,"removeSessionStartTime",null)},6734:(he,M,r)=>{"use strict";r.d(M,{X:()=>d});var o=r(45286),i=r(54438);let d=(()=>{class h{constructor(){this.showBonusInfoForBonusTicket=new o.B7,this.showBonusInfoForBonusTicket$=this.showBonusInfoForBonusTicket.asObservable(),this.manuallySelectBonusForTicket=new o.B7,this.manuallySelectBonusForTicket$=this.manuallySelectBonusForTicket.asObservable()}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275prov=i.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},61131:(he,M,r)=>{"use strict";r.d(M,{G:()=>d});var o=r(54438),i=r(60177);let d=(()=>{class h{constructor(_,m){this.platformId=_,this._transferState=m,this.keys=new Map}get(_,m=null){return this.has(_)?this._transferState.get(this._getStateKey(_),m):m||null}has(_){return this._transferState.hasKey(this._getStateKey(_))}remove(_){(0,i.isPlatformServer)(this.platformId)||this._transferState.remove(this._getStateKey(_))}set(_,m){(0,i.isPlatformServer)(this.platformId)&&this._transferState.set(this._getStateKey(_),m)}getParsValueOrReturnDefault(_,m){try{return this.has(_)?JSON.parse(this._transferState.get(this._getStateKey(_),"")):m}catch{return m}}_getStateKey(_){return this.keys.has(_)||this.keys.set(_,(0,o.zw6)(_)),this.keys.get(_)}static{this.\u0275fac=function(m){return new(m||h)(o.KVO(o.Agw),o.KVO(o.pJN))}}static{this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},69146:(he,M,r)=>{"use strict";r.d(M,{a:()=>ve});var o=r(33446),i=r(72036),d=r(23712),h=r(62125),v=r(6327),_=r(56689),m=r(71981),p=r(34501),u=r(65473),E=r(14);var y=r(57372);const S=function I(me,xe){if(null==me)return{};var $=(0,_.A)((0,y.A)(me),function(V){return[V]});return xe=(0,m.A)(xe),function C(me,xe,$){for(var V=-1,oe=xe.length,z={};++V<oe;){var W=xe[V],re=(0,p.A)(me,W);$(re,W)&&(0,u.A)(z,(0,E.A)(W,me),re)}return z}(me,$,function(V,oe){return xe(V,oe[0])})};var P=r(3578),F=r(60438),N=r(36412),U=r(62291),T=r(54438),L=r(73955),Z=r(2091),ie=r(60177);let ve=(()=>{class me{constructor($,V,oe,z){this.translate=$,this._router=V,this._location=oe,this._translateService=z,this._previousRoutes={},this._currentRoutes={},this.translatedRoutes={}}configureRouteTranslation($){this._setTranslations($),this._restartRoutesToDefault(N.J),this._translateRoutes(N.J),this._restartChildRoutesToDefault(N.J),this._router.resetConfig(N.J),this.translateChildRoutes(U.T),this._reloadCurrentRoute()}_setTranslations($){this._previousRoutes=(0,o.A)(this._currentRoutes);const V=this._filterUrlTranslations($),oe=(0,i.A)(this._previousRoutes);(0,d.A)(V,(z,W)=>{const re=W.split(".")[1];this._currentRoutes[re]=z,oe&&(this._previousRoutes[re]=re)})}translateChildRoutes($){this._restartChildRoutesToDefault($),this._translateRoutes($),(0,d.A)($,V=>{V.children&&V.children.length&&this._translateRoutes(V.children)})}getTranslationKey($){if($){const V=Object.keys(this.translatedRoutes);for(const oe of V){const z=Object.keys(this.translatedRoutes[oe]);for(const W of z)if((0,h.A)(this.translatedRoutes[oe],W,"")==$)return W}}}_restartChildRoutesToDefault($){(0,h.A)($,"[0].children")?(0,d.A)((0,h.A)($,"[0].children"),V=>{const oe=(0,h.A)(V,"data.translationKey","");oe&&(V.path=oe)}):(0,d.A)((0,h.A)($,"[0]"),V=>{const oe=(0,h.A)(V,"data.translationKey","");oe&&(V.path=oe)})}_reloadCurrentRoute(){const $=decodeURIComponent((0,h.A)(this._location,"_locationStrategy._platformLocation.pathname","")),V=$.split("/")?.[1],oe=this._translateService.instant("url.help");
1if($.startsWith(`/${V}/${oe}`))return;const z=(0,h.A)(this._location,"_locationStrategy._platformLocation.search","");if("/"===$)return;const W=this._translateUrl($);this._router.location.replaceState(W+z)}_translateUrl($){return(0,d.A)(this._previousRoutes,(V,oe)=>{""===V&&(V=oe),$=this._translateBySegments(V,oe,$)}),$}_translateBySegments($,V,oe){const z=oe.split("/"),W=this._getIndexesToSkipForTranslation(z,oe);return(0,v.A)(z,(ee,Se)=>W.includes(Se)?ee:ee===$?this._currentRoutes[V]:ee).join("/")}_getIndexesToSkipForTranslation($,V){return this._isSingleCasinoGameRoute(V)?$.map((z,W)=>z?W:-1).filter(z=>z>=0).slice(-2):[]}_isSingleCasinoGameRoute($){const V=$.split("/").filter(Boolean);if(V.length<4)return!1;const oe=V[1];return["casino","live-dealer",this._currentRoutes.casino,this._currentRoutes["live-dealer"],this._previousRoutes.casino,this._previousRoutes["live-dealer"]].filter(Boolean).includes(oe)}_filterUrlTranslations($){const V=new RegExp("url");return S($,(oe,z)=>V.test(z))}_filterRoutesForTranslate($,V){return(0,P.A)($,oe=>(0,F.A)((0,h.A)(oe,"path","").split("/"),z=>z===V))}_translateRoutes($){return(0,d.A)(this._previousRoutes,(V,oe)=>{const z=new RegExp(V),W=this._filterRoutesForTranslate($,V);W.length&&(0,d.A)(W,re=>{this._setRoutePath(re,this._currentRoutes[oe],z),re.children&&re.children.length&&this._translateRoutes(re.children)})}),$}_setRoutePath($,V,oe){$.path=(0,h.A)($,"path","").replace(oe,V)}_restartRoutesToDefault($){(0,d.A)($,V=>{(0,h.A)(V,"data.translationKey")&&(V.path=(0,h.A)(V,"data.translationKey"))})}static{this.\u0275fac=function(V){return new(V||me)(T.KVO(L.c$),T.KVO(Z.Ix),T.KVO(ie.Location),T.KVO(L.c$))}}static{this.\u0275prov=T.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})()},76227:(he,M,r)=>{"use strict";r.d(M,{O:()=>_});var o=r(62125),i=r(68999),d=r(46051),h=r(22804),v=r(54438);let _=(()=>{class m{formatEventSlugs(u){return{sportSlug:m.formatSlug((0,o.A)(u,"sport.name","")),regionSlug:m.formatSlug((0,o.A)(u,"region.name","")),leagueSlug:m.formatSlug((0,o.A)(u,"league.name","")),rivalsSlug:m.formatRivalsSlug((0,o.A)(u,"rivals[0]",""),(0,o.A)(u,"rivals[1]","")),eventId:(0,o.A)(u,"eventId")}}formatEventSlugsFromTicketItem(u){return{sportSlug:m.formatSlug((0,o.A)(u,"sportName","")),regionSlug:m.formatSlug((0,o.A)(u,"regionName","")),leagueSlug:m.formatSlug((0,o.A)(u,"leagueName","")),rivalsSlug:m.formatRivalsSlug(u.home,u.away),eventId:(0,o.A)(u,"eventId")}}formatEventSlugsFromBetBoostItemHeader(u){return{sportSlug:m.formatSlug((0,o.A)(u,"sport.sportName","")),regionSlug:m.formatSlug((0,o.A)(u,"region.regionName","")),leagueSlug:m.formatSlug((0,o.A)(u,"league.leagueName","")),rivalsSlug:m.formatSlug((0,o.A)(u,"rivalsSlug","")),eventId:(0,o.A)(u,"eventId")}}static formatRivalsSlug(u,E){const C=m.formatSlug(u),l=m.formatSlug(E);let y=C;return l&&(y+="-"+l),y}static formatSlugFromName(u){return m.formatSlug(u.name)}static formatSlug(u){if(!u)return"";const E=(h.P.locale||"").toLowerCase(),C=d.B_.includes(E),l=C?m.toAscii(u):u,y=C?l.replace(/[\n\r\s\t]+/g,"-").replace(/[^a-zA-Z0-9-._]/g,""):l.replace(/[\n\r\s\t]+/g,"-").replace(/[^\p{L}0-9-._]/gu,"");return(0,i.A)(y)}static formatUrlToAscii(u){if(!u)return"";const E=m.getLanguageLocaleFromUrl(u);return d.B_.includes(E)?m.toAscii(u):u}static toAscii(u){return u.replace(/[\u0111\u0110]/g,C=>d.I5[C]||C).normalize("NFD").replace(/[\u0300-\u036f]/g,"")}static getLanguageLocaleFromUrl(u){return u.replace(/^[a-z]+:\/\/[^/]+/i,"").split("?")[0].split("#")[0].split("/")[1]||""}static{this.\u0275fac=function(E){return new(E||m)}}static{this.\u0275prov=v.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},79158:(he,M,r)=>{"use strict";r.d(M,{l:()=>m});var o=r(54438),i=r(85046),d=r(62548),h=r(34405),v=r(58167),_=r(77286);let m=(()=>{class p{constructor(E,C,l){this._restConfigurationService=E,this._authService=C,this._cookieService=l,this.isBalanceVisible=(0,o.vPA)(!0),this.isBalanceVisibilityChangeEnabled=!1}setBalanceVisibility(E){this.isBalanceVisibilityChangeEnabled&&(this.isBalanceVisible.set(E),this._cookieService.set(this._getUserKeyForStorage(this._authService.currentUser()),`${E}
1`,{path:"/",sameSite:"Strict",secure:!0,expires:(0,i.GK)()}))}calculateIfBalanceIsVisible(){this.isBalanceVisibilityChangeEnabled=this._restConfigurationService.getGeneralCustomConfigurationParams("playerBalanceVisibilityEye");const E=this._authService.currentUser();if(!this.isBalanceVisibilityChangeEnabled||!E)return void this.isBalanceVisible.set(!0);const C=this._cookieService.get(this._getUserKeyForStorage(E));this.setBalanceVisibility(""===C||"true"===C)}isCasinoDepositEnabled(){return this._restConfigurationService.getGeneralCustomConfigurationParams("enableDepositFeature")||this._restConfigurationService.getGeneralCustomConfigurationParams("enableFastDepositFeature")&&!!this._restConfigurationService.getGeneralCustomConfigurationParams("fastDepositListOfAvailableProviders")}isFastDepositEnabled(){return this._restConfigurationService.getGeneralCustomConfigurationParams("enableFastDepositFeature")&&!!this._restConfigurationService.getGeneralCustomConfigurationParams("fastDepositListOfAvailableProviders")}_getUserKeyForStorage(E){return`${d.A.SHOW_USER_BALANCE}-${E?.accountId}`}static{this.\u0275fac=function(C){return new(C||p)(o.KVO(h.M),o.KVO(v.u),o.KVO(_.Q))}}static{this.\u0275prov=o.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})()},6468:(he,M,r)=>{"use strict";r.d(M,{S:()=>U});var o=r(54438),i=r(73955),d=r(82361),h=r(58114),v=r(39934),_=r(20279),m=r(69956),p=r(80538),u=r(12084),E=r(90486),C=r(97317),l=r(8950),y=r(96467);const I=T=>({daysLeft:T});let S=(()=>{class T{constructor(){this._modalService=(0,o.WQX)(d.B),this._routingService=(0,o.WQX)(v.O),this._itsmeHttpService=(0,o.WQX)(p.Q),this._itsmeService=(0,o.WQX)(m.S),this._blinkingService=(0,o.WQX)(u.s),this._registrationProvidersService=(0,o.WQX)(E.J),this.payload=o.hFB.required()}close(){this._modalService.closePopup()}clickCta(){this._startVerificationFlow(),this._modalService.closePopup()}_startVerificationFlow(){const Z=this._registrationProvidersService.availableProviders().availableProviders;Z.includes(C.z.SUMSUB)||Z.includes(C.z.UNICO)?this._routingService.navigateToAccountPageByPageName(_.db.ACCOUNT_VERIFICATION):Z.includes(C.z.ITSME)&&!this._itsmeService.itsmeVerificationSettings?.options?.disabled?this._itsmeRedirect():Z.includes(C.z.BLINKING)&&!this._blinkingService.blinkingVerificationSettings?.options?.disabled&&this._blinkingRedirect()}_itsmeRedirect(){this._itsmeHttpService.getVerifyExternalyUrl({provider:C.z.ITSME}).subscribe(Z=>{Z.payload.externalProviderURL&&(location.href=decodeURI(l.D.parseExternalProviderUrl(Z).externalProviderURL))})}_blinkingRedirect(){this._blinkingService.prepareVerificationUrl().subscribe(Z=>{location.href=l.D.parseExternalProviderUrl(Z).externalProviderURL})}static{this.\u0275fac=function(ie){return new(ie||T)}}static{this.\u0275cmp=o.VBU({type:T,selectors:[["verification-alert-modal"]],inputs:{payload:[1,"payload"]},standalone:!0,features:[o.aNF],decls:18,vars:12,consts:[[1,"c-modal-wrapper"],[1,"c-modal"],[1,"c-modal__header"],[1,"c-button-close",3,"click"],["icon","close","data-cy","verificationAlertCloseButton",1,"c-button-close-icon"],[1,"c-verification-alert-icon"],["src","/assets/images/account/verification-alert.png",1,"c-verification-alert-icon__img"],[1,"c-modal__title"],[1,"c-modal__body"],[1,"c-modal__info"],[1,"c-modal__footer"],[1,"c-modal__button",3,"click"]],template:function(ie,ve){1&ie&&(o.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),o.bIt("click",function(){return ve.close()}),o.nrm(4,"svg-icon",4),o.k0s(),o.j41(5,"div",5),o.nrm(6,"img",6),o.k0s(),o.j41(7,"p",7),o.EFF(8),o.nI1(9,"translate"),o.k0s()(),o.j41(10,"div",8)(11,"div",9),o.EFF(12),o.nI1(13,"translate"),o.k0s()(),o.j41(14,"div",10)(15,"button",11),o.bIt("click",function(){return ve.clickCta()}),o.EFF(16),o.nI1(17,"translate"),o.k0s()()()()),2&ie&&(o.R7$(8),o.JRh(o.i5U(9,3,"notification.verify_account_title_with_daysLeft",o.eq3(10,I,ve.payload().daysLeft))),o.R7$(4),o.JRh(o.bMT(13,6,"notification.verify_account_text")),o.R7$(4),o.SpI(" ",o.bMT(17,8,"notification.verify_account_now")," "))},dependencies:[i.h,i.D9,h.A,y.D],styles:[".c-modal-wrapper[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;padding:0 20px;background-color:var(--baseBackdropBg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:var(--z-index-error-modal)}.c-modal[_ngcontent-%COMP%]{min-width:unset;width:360px;padding:0;
1background:var(--verificationModalBackground);color:var(--baseTextColor);border-radius:12px;border:1px solid var(--verificationModalBorder);overflow:hidden}.c-modal__header[_ngcontent-%COMP%]{background:unset;flex-direction:column;padding:0 10px}.c-button-close[_ngcontent-%COMP%]{width:12px;height:12px;box-sizing:content-box;padding:10px;top:0;color:#778b96}.c-button-close-icon[_ngcontent-%COMP%]{width:12px;height:12px}.c-modal__title[_ngcontent-%COMP%]{width:100%;padding:20px 10px 10px;font-size:22px;line-height:17px;text-align:center;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-modal__body[_ngcontent-%COMP%]{padding:0 20px;font-size:13px;line-height:16px;text-align:center}.c-modal__footer[_ngcontent-%COMP%]{padding-top:0}.c-modal__button[_ngcontent-%COMP%]{font-family:var(--font);width:100%;border-radius:8px;background:var(--base-green-01);color:var(--white);padding:17px 14px;font-size:14px;line-height:13px;font-weight:600;text-align:center;display:flex;align-items:center;justify-content:center}.c-translated-error[_ngcontent-%COMP%]{margin-bottom:20px}.c-translated-error[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}.c-modal__info[_ngcontent-%COMP%]{font-family:var(--font);font-size:13px;font-weight:400;line-height:17px;letter-spacing:0px;text-align:center;margin:auto auto 20px;color:var(--baseWhite05)}.c-verification-alert-icon[_ngcontent-%COMP%]{margin-top:20px;width:64px;height:64px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:radial-gradient(64% 64% at 50% 50%,#4a6ba699,#0c182d99),#213141}.c-verification-alert-icon__img[_ngcontent-%COMP%]{width:43px;height:43px;object-fit:contain}"]})}}return T})();var P=r(58167),F=r(34405),N=r(48115);let U=(()=>{class T{constructor(Z,ie,ve,me){this._authService=Z,this._restConfigurationService=ie,this._modalService=ve,this._stabilityService=me,this.timeOutData=null}notifyNotVerifyUser(){const Z=this._authService.currentUser();if(Z.verified)return;const ie=new Date(Z.createTime),ve=new Date,me=Math.abs(ie.valueOf()-ve.valueOf())/36e5,xe=this._restConfigurationService.getGeneralCustomConfigurationParams("notifyNonVerifiedUntilHours")||20;xe<=me||this._stabilityService.isAppStable().subscribe(()=>{this.timeOutData=setTimeout(()=>{const $=Math.ceil((xe-me)/24);this._modalService.openPopup({component:S,payload:{daysLeft:$}})},1e3*(this._restConfigurationService.getGeneralCustomConfigurationParams("notifyNonVerifiedAfterSeconds")||5))})}stopTimeOnLogout(){this.timeOutData&&clearInterval(this.timeOutData)}static{this.\u0275fac=function(ie){return new(ie||T)(o.KVO(P.u),o.KVO(F.M),o.KVO(d.B),o.KVO(N.B))}}static{this.\u0275prov=o.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()},55406:(he,M,r)=>{"use strict";r.d(M,{L:()=>m});var o=r(45286),i=r(23220);const d_FOOTBALL_EPO1=1,d_FOOTBALL_EPO2=2,d_FOOTBALL_EPO3=3,h={[d_FOOTBALL_EPO1]:"1.0",[d_FOOTBALL_EPO2]:"2.0",[d_FOOTBALL_EPO3]:"3.0"};var v=r(62125),_=r(54438);class m{constructor(){this.updateLiveSportOffer$=m.updateLiveSportOffer.asObservable(),this.liveSportChange$=m.liveSportChange.asObservable(),this.standardSportChange$=m.standardSportChange.asObservable(),this.eventUpdate$=m.eventUpdate.asObservable(),this.updateStandardSportOffer$=m.updateStandardSportOffer.asObservable(),this.standardSidebarUpdate$=m.standardSidebarUpdate.asObservable(),this.liveSidebarHeaderChange$=m.liveSidebarHeaderChange.asObservable(),this.virtualUpdate$=m.virtualUpdate.asObservable(),this.liveTopSportChange$=m.liveTopSportChange.asObservable(),this.standardTopSportChange$=m.standardTopSportChange.asObservable(),this.updateAccountBalance$=m.updateAccountBalance.asObservable(),this.updateAccountVerification$=m.updateAccountVerification.asObservable(),this.ticketUpdate$=m.ticketUpdate.asObservable(),this.favoriteEventUpdate$=m.favoriteEventUpdate.asObservable(),this.myTicketUpdate$=m.myTicketUpdate.asObservable(),this.paymentStatusUpdate$=m.paymentStatusUpdate.asObservable(),this.bonusNotificationsUpdate$=m.bonusNotificationsUpdate.asObservable(),this.casinoPromotionUpdate$=m.casinoPromotionUpdate.asObservable(),this.featuredMatchUpdate$=m.featuredMatchUpdate.asObservable(),this.betBoostUpdate$=m.betBoostUpdate.asObservable(),this.singleBetBoostUpdate$=m.singleBetBoostUpdate.asObservable(),this.leagueBetBoostUpdate$=m.leagueBetBoostUpdate.asObservable(),this.missionsA
1wardCountUpdate$=m.missionsAwardCountUpdate.asObservable(),this.playerMissionUpdate$=m.playerMissionUpdate.asObservable(),this.promotionProgressUpdate$=m.promotionProgressUpdate.asObservable()}static{this.updateLiveSportOffer=new o.B7}static{this.liveSportChange=new o.B7}static{this.standardSportChange=new o.B7}static{this.eventUpdate=new o.B7}static{this.updateStandardSportOffer=new o.B7}static{this.standardSidebarUpdate=new o.B7}static{this.liveSidebarHeaderChange=new o.B7}static{this.virtualUpdate=new o.B7}static{this.liveTopSportChange=new o.B7}static{this.standardTopSportChange=new o.B7}static{this.updateAccountBalance=new o.B7}static{this.updateAccountVerification=new o.B7}static{this.ticketUpdate=new o.B7}static{this.favoriteEventUpdate=new o.B7}static{this.myTicketUpdate=new o.B7}static{this.paymentStatusUpdate=new o.B7}static{this.bonusNotificationsUpdate=new o.B7}static{this.casinoPromotionUpdate=new o.B7}static{this.featuredMatchUpdate=new o.B7}static{this.betBoostUpdate=new o.B7}static{this.singleBetBoostUpdate=new o.B7}static{this.leagueBetBoostUpdate=new o.B7}
1static{this.missionsAwardCountUpdate=new o.B7}static{this.playerMissionUpdate=new o.B7}static{this.promotionProgressUpdate=new o.B7}createSubscriberGroupParams(u,E,C,l){return{subscriptionType:i.ej.OFFER_UPDATE_OFFER_GROUP,action:i.aq.SUBSCRIBE,sportId:u,leagueId:E,groupId:C,type:"STANDARD",selectedGroupIndices:l}}createUnsubscribeGroupParams(u,E,C){return{subscriptionType:i.ej.OFFER_UPDATE_OFFER_GROUP,action:i.aq.UNSUBSCRIBE,sportId:u,leagueId:E,groupId:C}}createSubscriberRivalParams(u,E,C,l){return{subscriptionType:i.ej.OFFER_UPDATE_OFFER_RIVAL,action:i.aq.SUBSCRIBE,sportId:u,leagueId:E,rivalId:C,type:"STANDARD",selectedGroupIndices:l}}createUnsubscribeRivalParams(u,E,C){return{subscriptionType:i.ej.OFFER_UPDATE_OFFER_RIVAL,action:i.aq.UNSUBSCRIBE,sportId:u,leagueId:E,rivalId:C}}createSubscriberPlayerParams(u,E,C,l,y){return{subscriptionType:i.ej.OFFER_UPDATE_OFFER_PLAYER,action:i.aq.SUBSCRIBE,sportId:u,leagueId:E,rivalId:C,playerId:l,type:"STANDARD",selectedGroupIndices:y}}createUnsubscribePlayerParams(u,E,C,l){return{subscriptionType:i.ej.OFFER_UPDATE_OFFER_PLAYER,action:i.aq.UNSUBSCRIBE,sportId:u,leagueId:E,rivalId:C,playerId:l}}createSubscriberParamsObject(u,E,C){return{subscriptionType:C,action:i.aq.SUBSCRIBE,sportId:u,selectedGroupIndices:E}}createUnSubscriberParams(u,E){return{subscriptionType:E,action:i.aq.UNSUBSCRIBE,sportId:u}}createSubscriberEarlyPayoutParams(u,E){return{subscriptionType:i.ej.OFFER_UPDATE_EARLY_PAYOUT_SPORT,action:i.aq.SUBSCRIBE,sportId:u,...null!==E&&{threshold:h[E]}}}createUnSubscriberEarlyPayoutParams(u){return{subscriptionType:i.ej.OFFER_UPDATE_EARLY_PAYOUT_SPORT,action:i.aq.UNSUBSCRIBE,sportId:u}}formatSubscribeRoomParamsObject(u){return{subscriptionType:u,action:i.aq.SUBSCRIBE}}formatSubscribeRoomParamsObjectForTicketHistory(u,E){return{subscriptionType:u,action:i.aq.SUBSCRIBE,ticketId:E}}formatUnSubscribeRoomParamsObjectForTicketHistory(u,E){return{subscriptionType:u,action:i.aq.UNSUBSCRIBE,ticketId:E}}formatUnSubscribeRoomParamsObject(u){return{subscriptionType:u,action:i.aq.UNSUBSCRIBE}}formatSubscriptionForSingleEvent(u,E){return{subscriptionType:i.ej.SINGLE_EVENT_UPDATE,action:i.aq.SUBSCRIBE,eventId:u,selectedGameGroup:E}}formatUnSubscriptionForSingleEvent(u,E){return{subscriptionType:i.ej.SINGLE_EVENT_UPDATE,action:i.aq.UNSUBSCRIBE,eventId:u,selectedGameGroup:E}}formatSubscriptionForStandardSidebarUpdate(){return{subscriptionType:i.ej.OFFER_SIDEBAR_UPDATE,action:i.aq.SUBSCRIBE}}formatUnSubscriptionForStandardSidebarUpdate(){return{subscriptionType:i.ej.OFFER_SIDEBAR_UPDATE,action:i.aq.UNSUBSCRIBE}}formatSubscriptionForLiveSidebarEventHeader(u){return{subscriptionType:i.ej.LIVE_SIDEBAR_EVENT_HEADER,action:i.aq.SUBSCRIBE,sportId:u}}formatUnSubscriptionForLiveSidebarEventHeader(u){return{subscriptionType:i.ej.LIVE_SIDEBAR_EVENT_HEADER,action:i.aq.UNSUBSCRIBE,sportId:u}}createSubscriberRegionParamsObject(u,E,C,l){return{subscriptionType:l,action:i.aq.SUBSCRIBE,sportId:u,regionId:E,selectedGroupIndices:C}}createSubscriberLeagueParamsObject(u,E,C,l,y){return{subscriptionType:y,action:i.aq.SUBSCRIBE,sportId:u,regionId:E,leagueId:C,selectedGroupIndices:l}}createUnSubscriberRegionParams(u,E){return{subscriptionType:i.ej.OFFER_UPDATE_OFFER_REGION,action:i.aq.UNSUBSCRIBE,sportId:u,regionId:E}}createUnSubscriberLeagueParams(u,E,C){return{subscriptionType:i.ej.OFFER_UPDATE_OFFER_LEAGUE,action:i.aq.UNSUBSCRIBE,sportId:u,regionId:E,leagueId:C}}createSubscriberParamsObjectVirtual(u){return{subscriptionType:"VIRTUAL_OFFER_UPDATE",action:i.aq.SUBSCRIBE,offerSubtype:u}}createUnSubscriberParamsObjectVirtual(u){return{subscriptionType:"VIRTUAL_OFFER_UPDATE",action:i.aq.UNSUBSCRIBE,offerSubtype:u}}formatSubscriptionForFavoriteUpdate(u){return{subscriptionType:i.ej.FAVORITE_EVENTS_UPDATE,action:i.aq.SUBSCRIBE,sports:u}}formatUnSubscriptionForFavoriteUpdate(u){return{subscriptionType:i.ej.FAVORITE_EVENTS_UPDATE,action:i.aq.UNSUBSCRIBE,sports:u}}formatSubscriptionForSingleEventBetBoost(u){return{subscriptionType:i.ej.SINGLE_EVENT_BET_BOOST_UPDATE,action:i.aq.SUBSCRIBE,eventId:u}}formatUnSubscriptionForSingleEventBetBoost(u){return{subscriptionType:i.ej.SINGLE_EVENT_BET_BOOST_UPDATE,action:i.aq.UNSUBSCRIBE,eventId:u}}formatSubscriptionForBetBoostLeague(u,E,C){return{subscriptionType:i.ej.OFFER_UPDATE_BET_BOOST_LEAGUE,action:i.aq.SUBSCRIBE,sportId:u,regionId:E,leagueId:C}}formatUnSubscriptionForBetBoostLeague(u,E,C){return{subscriptionType:i.ej.OFFER_UPDATE_BET_BOOST_LEAGUE,action:i.aq.UNSUBSCRIBE,sportId:u,regionId:E,leagueId:C}}static handleOfferFeedMessage(u,E,C){switch(u){case i.fu.SPORT_STANDARD:m.standardSportChange.next(E);break;case i.fu.SPORT_LIVE:m.liveSportChange.next(E);break;case i.fu.SINGLE_EVENT_UPDATE:m.eventUpdate.next(E);break;case i.fu.OFFER_STANDARD:case i.fu.OFFER_STANDARD_WITH_LIVE:case i.fu.OFFER_UPDATE_EARLY_PAYOUT_SPORT:m.updateStandardSportOffer.next(E);break;case i.fu.OFFER_SIDEBAR_UPDATE:m.standardSidebarUpdate.next(E);break;case i.fu.OFFER_LIVE:m.updateLiveSportOffer.next(E);break;case i.fu.LIVE_SIDEBAR_HEADERS:m.liveSidebarHeaderChange.next(E);break;case i.fu.VIRTUAL_OFFER_UPDATE:m.virtualUpdate.next(E);break;case i.fu.OFFER_TOP_LIVE:m.liveTopSportChange.next(E);break;case i.fu.OFFER_TOP_STANDARD:m.standardTopSportChange.next(E);break;
1case i.fu.ACCOUNT_BALANCE:m.updateAccountBalance.next(E);break;case i.fu.FEATURED_MATCHES:m.featuredMatchUpdate.next(E);break;case i.fu.ACCOUNT_VERIFICATION:m.updateAccountVerification.next(E);break;case i.fu.TICKET:m.ticketUpdate.next(E),"FULL"===(0,v.A)(E,"updateType")&&C((0,v.A)(E,"ticket.id"));break;case i.fu.OFFER_FAVORITE:m.favoriteEventUpdate.next(E);break;case i.fu.MY_TICKET:m.myTicketUpdate.next(E);break;case i.fu.PLAYER_MISSION_RANK_UPDATE:m.playerMissionUpdate.next(E);break;case i.fu.BONUS_NOTIFICATION_UPDATE:m.bonusNotificationsUpdate.next(E);break;case i.fu.ACCOUNT_CASINO_PROMOTION_PROGRESS_UPDATE:m.casinoPromotionUpdate.next(E);break;case i.fu.BET_BOOSTER_EVENTS:m.betBoostUpdate.next(E);break;case i.fu.SINGLE_EVENT_BET_BOOST_UPDATE:m.singleBetBoostUpdate.next(E);break;case i.fu.BET_BOOST_LEAGUE_UPDATE:m.leagueBetBoostUpdate.next(E);break;case i.fu.OTHER_AWARD_COUNT_UPDATE:m.missionsAwardCountUpdate.next(E);break;case i.fu.PROMOTION_PROGRESS_UPDATE:m.promotionProgressUpdate.next(E)}}static{this.\u0275fac=function(E){return new(E||m)}}static{this.\u0275prov=_.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}},45433:(he,M,r)=>{"use strict";r.d(M,{d:()=>E});var o=r(31635),i=r(54438),d=r(72036),h=r(53988),v=r(15455),_=r(85375),m=r(30569),p=r(45286),u=r(48115);class E{constructor(){this._stabilityService=(0,i.WQX)(u.B),this._botDetectionService=(0,i.WQX)(m.a),this.newSessionSocketInstance=new p.B7,this.newSessionSocketInstance$=this.newSessionSocketInstance.asObservable(),this._updateSessionDurationMessage=new p.B7,this.updateSessionDurationMessage$=this._updateSessionDurationMessage.asObservable(),this._client={},this._currentlySubscribedRooms=[],this._isReconnect=!1,this.RECONNECT_RETRY_TIME=5e3,this.REFRESH_DELAY=300}createClient(){return(0,v.default)(SESSION_DURATION_API_SOCKET_URL,{path:"/socket.io",reconnection:!0,reconnectionDelayMax:this.RECONNECT_RETRY_TIME})}connect(){this._botDetectionService.isBot||(0,d.A)(this._client)&&(this._client=this.createClient(),this.setEventHandlers())}disconnect(){(0,d.A)(this._client)||(this._client.disconnect(),this._client={})}subscribe(l){(0,d.A)(this._client)||-1!==(0,h.A)(this._currentlySubscribedRooms,I=>I.name===l)||(this._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>{this._client.emit("subscribe",l),this._currentlySubscribedRooms.push({name:l})},this.REFRESH_DELAY)}),this._client.on(l,I=>{this.handleOfferFeedMessage(I)}))}unsubscribe(l){(0,d.A)(this._client)||(this._client.emit("unsubscribe",l),this._client.off(l),this._currentlySubscribedRooms=[])}setEventHandlers(){this._client.io.on("reconnect",()=>{this._isReconnect=!0}),this._client.on("connect",()=>{this._currentlySubscribedRooms.forEach(l=>{this._client.off(l.name)}),this._currentlySubscribedRooms=[],this._isReconnect&&(this._isReconnect=!1,this.newSessionSocketInstance.next(!0))})}handleOfferFeedMessage(l){let y=null;try{const I=JSON.parse(l);y={expiresAt:I?.expiresAt,duration:I?.duration,status:I?.status}}catch{y=null}y&&this._updateSessionDurationMessage.next(y)}static{this.\u0275fac=function(y){return new(y||E)}}static{this.\u0275prov=i.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}(0,o.Cg)([_.X],E.prototype,"createClient",null),(0,o.Cg)([_.X],E.prototype,"connect",null),(0,o.Cg)([_.X],E.prototype,"disconnect",null),(0,o.Cg)([_.X],E.prototype,"subscribe",null)},98655:(he,M,r)=>{"use strict";r.d(M,{D:()=>N});var o=r(10467),i=r(31635),d=r(54438),h=r(23712),v=r(72036),_=r(62125),m=r(55406),p=r(22804),u=r(45286),E=r(63020),C=r(85375),l=r(23220),y=r(38350),I=r(30569),S=r(58167),P=r(48115),F=r(2091);class N{constructor(T,L,Z){this._authService=T,this._stabilityService=L,this._activatedRoute=Z,this.newSocketInstance=new u.B7,this.newSocketInstance$=this.newSocketInstance.asObservable().pipe((0,E.B)(1e3)),this._client={},this._isReconnect=!1,this.currentlySubscribedRooms=[],this.tempRoomUntilClientCreated=[],this.RECONNECT_RETRY_TIME=5e3,this.CONNECTION_DELAY=100,this.REFRESH_DELAY=300,this.SERVER_DISCONNECT_ERROR="io server disconnect",this._currentToken="",this.ACCOUNT="ACCOUNT",this._botDetectionService=(0,d.WQX)(I.a),(0,d.QZP)(()=>{this._handleCreateSocketClient(this._authService.accessToken())})}_handleCreateSocketClient(T){this._botDetectionService.isBot||this._currentToken&&this._client&&this._client.connected&&this._checkIfNewTokenScope(T)||(this._currentToken=T,this.disconnect(),setTimeout(()=>{this.connect(T)},this.CONNECTION_DELAY))}_checkIfNewTokenScope(T){const L=(0,y.A)(T),Z=(0,y.A)(this._currentToken);return L.scope.includes(this.ACCOUNT)===Z.scope.includes(this.ACCOUNT)}createClient(T){var L=this;return(0,o.A)(function*(){const{default:Z}=yield Promise.resolve().then(r.bind(r,15455));return Z(WEBSOCKET_URL,{path:"/betshop-online",query:{access_token:T,language:p.P.locale||"en"},reconnection:!0,reconnectionDelayMax:L.RECONNECT_RETRY_TIME,...L.setUpReconnectionAttempts(),transports:["websocket","polling"]})})()}setUpReconnectionAttempts(){return"undefined"!=SOCKET_RECONNECTION_ATTEMPTS&&SOCKET_RECONNECTION_ATTEMPTS?{reconnectionAttempts:Number(SOCKET_RECONNECTION_ATTEMPTS)}:{}}removeAllListeners(){this._client.removeAllListeners()}connectOnError(){this._client.connect(),this.refreshSubscriptions()}connect(T){var L=this;return(0,o.A)(function*(){L._client=yield L.createClient(T),L.setEventHandlers(),setTimeout(()=>{L.refreshSubscriptions(),L.tempSubscriptions()},L.REFRESH_DELAY)})()}refreshSubscriptions(){this.currentlySubscribedRooms.length&&(0,h.A)(this.currentlySubscribedRooms,T=>{this.subscribe(T.name,T.params)})}tempSubscriptions(){this.tempRoomUntilClientCreated.length&&((0,h.A)(this.tempRoomUntilClientCreated,T=>{this.subscribe(T.name,T.params)}),this.tempRoomUntilClientCreated=[])}setEventHandlers(){var T=this;this._client.on("connect",()=>{this._isReconnect&&(this._isReconnect=!1,this.refreshSubscriptions(),this.newSocketInstance.next(!0))}),this._client.on("connect_error",(0,o.A)(function*(){T._authService.isTokenExpired()&&(yield T._authService.refreshToken(!1,!1).toPromise())})),this._client.io.on("reconnect",()=>{this._isReconnect=!0}),this._client.on("disconnect",function(){var L=(0,o.A)(function*(Z){Z===T.SERVER_DISCONNECT_ERROR&&(T._handleCreateSocketClient(T._currentToken),T.newSocketInstance.next(!0))});return function(Z){return L.apply(this,arguments)}}())}disconnect(){(0,v.A)(this._client)||((0,h.A)(this.currentlySubscribedRooms,T=>{this.unsubscribe(T.name,{...T.params,action:l.aq.UNSUBSCRIBE},!0)}),this.removeAllListeners(),this._client.disconnect(),this._client=null)}checkIfRoomExist(T){return!!this.currentlySubscribedRooms.find(L=>L.name===T)}subscribe(T,L){(0,v.A)(this._client)?this.tempRoomUntilClientCreated.find(Z=>Z.name===T&&Z.params.sportId===L.sportId)||this.tempRoomUntilClientCreated.push({name:T,params:L}):(this._emitNewSubscription(L),this.currentlySubscribedRooms.find(Z=>Z.name===T&&Z.params.sportId===L.sportId)||this.currentlySubscribedRooms.push({name:T,params:L}),!this._client.hasListeners(T)&&this._client.on(T,(Z,ie)=>{m.L.handleOfferFeedMessage(T,JSON.parse(Z),ie)}))}unsubscribe(T,L,Z=!1){if((0,v.A)(this._client)||(T===l.fu.OFFER_STANDARD_WITH_LIVE?this._handleSocketOffForMultileagues():this._client.off(T),this._emitNewSubscription(L),Z))return;const ie=this.currentlySubscribedRooms.findIndex(ve=>ve.name===T&&ve.params.sportId===L.sportId);-1!==ie&&this.currentlySubscribedRooms.splice(ie,1)}emitOnlySubscriptions(T){this._emitNewSubscription(T)}_emitNewSubscription(T){this._client.emit("subscriptions",JSON.stringify(T))}_handleSocketOffForMultileagues(){(0,_.A)(this._activatedRoute,"snapshot.queryParams.leagueIds")?.length||this._client.off(l.fu.OFFER_STANDARD_WITH_LIVE)}static{this.\u0275fac=function(L){return new(L||N)(d.KVO(S.u),d.KVO(P.B),d.KVO(F.nX))}}static{this.\u0275prov=d.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}(0,i.Cg)([C.X],N.prototype,"_handleCreateSocketClient",null),(0,i.Cg)([C.X],N.prototype,"subscribe",null)},85032:(he,M,r)=>{"use strict";r.d(M,{J:()=>E});var o=r(91398),i=r(54438),d=r(71576),h=r(21626),v=r(84978),_=r(77286),m=r(28998),p=r(61131),u=r(30569);let E=(()=>{class C extends d.F{constructor(y,I,S,P,F,N,U,T){super(S,P,F,y,N,U),this._httpClient=y,this._configurationService=I,this._cookieService=S,this._errorService=P,this._state=F,this._transferStateService=N,this.platformId=U,this._botDetectionService=T,this.currentTooltips={},this.triggerPipeCounter=0,this._sportIdForFetchInProgress=null,this._apiUrl=`${BO_API_URL}
1`}getTooltipsForSport(y){const I=this._configurationService.getParam("sport_ids_with_tooltips")||[];if(!o.R.isBrowser||this._botDetectionService.isBot||this.currentTooltips[y]||!I.includes(y)||this._sportIdForFetchInProgress&&this._sportIdForFetchInProgress===y)return;const P=`tooltips/${this._configurationService.getParam("website_id")}/${y}`;this._sportIdForFetchInProgress=y,this.get(P,`tooltips-sport-${y}`).subscribe(F=>{this.currentTooltips[y]=F,this.triggerPipeCounter++},()=>{},()=>{this._sportIdForFetchInProgress=null})}static{this.\u0275fac=function(I){return new(I||C)(i.KVO(h.Qq),i.KVO(v.s),i.KVO(_.Q),i.KVO(m.I),i.KVO(i.pJN),i.KVO(p.G),i.KVO(i.Agw),i.KVO(u.a))}}static{this.\u0275prov=i.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()},54103:(he,M,r)=>{"use strict";r.d(M,{Y:()=>Vt});var o=r(10467),i=r(31635),d=r(98557),h=r(54438),v=r(45286),_=r(51235),m=r(14421),p=r(62125),u=r(23712),E=r(40173),C=r(3578),l=r(67018),y=r(72036),I=r(42199),S=r(83921),P=r(95006),F=r(67374),U=r(5954),T=r(16191),L=r(95447),Z=r(57146),ie=r(85375),ve=r(1595),me=r(20279),xe=r(81797),$=r(72864),V=r(98229),oe=r(65283),z=r(72161),W=r(28998),re=r(58167),ee=r(34405),Se=r(58333),J=r(12084),de=r(69956),ke=r(82361),ge=r(91926),ye=r(39934),Pe=r(2091),Me=r(26015),We=r(30306),Oe=r(84978),tt=r(37342),Qe=r(73955),_t=r(22804),ht=r(30569),mt=r(10157);class Vt{constructor(Fe,Ye,Re,De,He,we,Tt,ct,tn,Ee,se,be,je,ft,kt,Yt,yn,ln,Mn,An,un){this._httpService=Fe,this._globalLoaderService=Ye,this._errorService=Re,this._authService=De,this._restConfigurationService=He,this._googleTagManagerService=we,this._blinkingService=Tt,this._itsmeService=ct,this._modalService=tn,this._restConfiguration=Ee,this._radarGeoLocationService=se,this._routingService=be,this._router=je,this._sumsubService=ft,this._sumsubApiService=kt,this._configurationService=Yt,this._simulationHttpService=yn,this._translationService=ln,this._localizationService=Mn,this._botDetectionService=An,this._pushNotificationsService=un,this._ticketUpdate=new v.B7,this._ticketPartialSelectionUpdate=new v.B7,this.changeStakeForSystem=new v.B7,this.restartStakeForSystem=new v.B7,this.walletTypeChange=new v.B7,this.changedItemsOnTicket=new v.B7,this.checkTicketStatus=new v.B7,this.itemChangeOnTicket=new v.B7,this.ticketUpdateAfterItemRemove=new v.B7,this.updatePayinOnTicker=new v.B7,this.updateCashOutTicket=new v.B7,this.changeTab=new v.B7,this.toggleBankerOnSystem=new v.B7,this.ticketCheckSearchResolved=new v.B7,this.payinState=new v.B7,this.bonusConditions=new v.B7,this.checkSimulationBonus=new v.B7,this.numberOfTicketsEnabled=(0,h.vPA)(!0),this.walletTypeChange$=this.walletTypeChange.asObservable(),this.ticketUpdate$=this._ticketUpdate.asObservable(),this.changeStakeForSystem$=this.changeStakeForSystem.asObservable(),this.restartStakeForSystem$=this.restartStakeForSystem.asObservable(),this.changedItemsOnTicket$=this.changedItemsOnTicket.asObservable(),this.checkTicketStatus$=this.checkTicketStatus.asObservable(),this.itemChangeOnTicket$=this.itemChangeOnTicket.asObservable(),this.ticketUpdateAfterItemRemove$=this.ticketUpdateAfterItemRemove.asObservable(),this.updateCashOutTicket$=this.updateCashOutTicket.asObservable(),this.changeTab$=this.changeTab.asObservable(),this.toggleBankerOnSystem$=this.toggleBankerOnSystem.asObservable(),this._clearPayoutCodeInput=new v.B7,this.clearPayoutCodeInput$=this._clearPayoutCodeInput.asObservable(),this.ticketCheckSearchResolved$=this.ticketCheckSearchResolved.asObservable(),this.checkSimulationBonus$=this.checkSimulationBonus.asObservable(),this.multipleSystemsMode=!1,this.isMultipleSystemDirty=!1,this.multipleSystemsSelections=[],this.preparedMultipleSystemSelections=[],this.triggerSystemPipe=0,this.itemsOnTicket={},this.itemsWithoutBanker=[],this.triggerSelectedMarketsPipe=0,this.triggerBankerPipe=0,this.currentTicket={},this.acceptOddChange=!0,this.enableNotificationsForTicket=!1,this.notificationsForTicketAvailable=!1,this.walletType="STANDARD",this.selectedTicketMode="",this.isTicketSystemSet=!1,this.isSystemInSystemSet=!1,this.isRegularSystemSet=!1,this.isMultiSelectOnItem=!1,this.isBankerOnTicket=!1,this.bankersSelection=[],this.totalPayingByCombination=0,this.isTicketCreated=!1,this.isToggleActionInProgress=!1,this.previousPayinValue=null,this.isBetBuilderOnTicket=!1,this.isBetBoostOnTicket=!1,this._nonBankerSelections=[],this.MULTIPLE_FILTER_TICKET_TYPES=[d.wH,d.nI,d.A5,d.O1],this.CASHOUT_STATUSES=["CASH_OUT_REGULAR","CASH_OUT_REVOKE","CASH_OUT_AUTOMATIC"],this.selectedTicketType=d.lb,this.invalidSelections=[],this.simulationTrigger=0,this.simulationMatchUrl="",this.simulationCurrentTicketId="",this.loggedOnSimulationTab=!1,this.simulationMatchInProgress=!1,!this._configurationService.getParam("is_casino_only")&&this.checkTicketOnReload()}toggledItemOnTicket(Fe,Ye){if(!this.isToggleActionInProgress){if(this.isSystemInSystemSet)return void this._errorService.openErrorPopup({error:"general.cannot_remove_items_on_set_sis"});if(this.itemsOnTicket[Fe]?.betBuilder)return void this._errorService.openErrorPopup({error:"general.item_already_on_betbuilder"});this.isToggleActionInProgress=!0,this.itemsOnTicket[Fe]?this.removeItemFromTicket(Fe):this.addItemOnTicket(Fe,Ye)}}removeCustomBetItem(Fe){this.isSystemInSystemSet?this._errorService.openErrorPopup({error:"general.cannot_remove_items_on_set_sis"}):(this._httpService.put("api/v1/create-ticket/remove-custom-bet",{customBetGroupId:Fe}).subscribe(({payload:Ye})=>{this.selectedTicketMode===d.o2&&(this.selectedTicketMode=Ye.numberOfCombinations>1?d.jx:d.o2),this.multipleSystemsMode=!1,this._setCurrentTicket(Ye),this.isTicketCreated||(this.isTicketCreated=!0),this._setItemsOnTicket(this._updateItemsOnTicket(Ye.selections)),this.isToggleActionInProgress=!1,this.ticketUpdateAfterItemRemove.next(Ye)}
1,()=>{this.isToggleActionInProgress=!1,this.triggerSelectedMarketsPipe++}),this.itemChangeOnTicket.next(!0))}removeBetBoostItemOnTicket(Fe){if(this.isSystemInSystemSet)return void this._errorService.openErrorPopup({error:"general.cannot_remove_items_on_set_sis"});const Ye=this.currentTicket.selections.find(Re=>Re.id===Fe[0])?.betBoostGroup;this._httpService.put("api/v1/create-ticket/remove-bet-boost",{betBoostGroup:Ye},I.XW,!0).subscribe(({payload:Re})=>{this.multipleSystemsMode=!1,this._setCurrentTicket(Re);const De=Re.selections.map(He=>He.id);Object.keys(this.itemsOnTicket).forEach(He=>{De.includes(He)||delete this.itemsOnTicket[He]}),this.selectedTicketMode===d.o2&&(this.selectedTicketMode=Re.numberOfCombinations>1?d.jx:d.o2),this.ticketUpdateAfterItemRemove.next(Re),this._setItemsOnTicket(this._updateItemsOnTicket(Re.selections))},Re=>{Re.error.errorCode===d.zo&&this.getCurrentTicketAndResetItems()},()=>{this.triggerSelectedMarketsPipe++}),this.itemChangeOnTicket.next(!0)}cancelCurrentTicket(){this._httpService.delete("api/v1/create-ticket").subscribe(()=>{this.isTicketCreated=!1,this._setItemsOnTicket({}),this.currentTicket={},this._setInitialPayin(),this.bankersSelection=[],this.selectedTicketMode=d.o2,this.multipleSystemsMode=!1,this._setCurrentTicket(this.currentTicket),this.updatePayinOnTicker.next(!0),this.itemChangeOnTicket.next(!0),this.invalidSelections=[]})}asyncCancelCurrentTicket(){var Fe=this;return(0,o.A)(function*(){yield Fe._httpService.delete("api/v1/create-ticket").toPromise(),Fe.isTicketCreated=!1,Fe._setItemsOnTicket({}),Fe.currentTicket={},Fe.previousPayinValue=null,Fe.bankersSelection=[],Fe.selectedTicketMode=d.o2,Fe.multipleSystemsMode=!1,Fe._setCurrentTicket(Fe.currentTicket),Fe.updatePayinOnTicker.next(!0),Fe.itemChangeOnTicket.next(!0),Fe.invalidSelections=[]})()}toggleBetBoostOnTicket(Fe){this.itemsOnTicket[Fe[0]]?this.removeBetBoostItemOnTicket(Fe):this.addBetBoostItemOnTicket(Fe)}_setRadarGeoLocation(){return this._restConfiguration.getGeneralCustomConfigurationParams("radarSkipVerifyApp")?{}:{geolocationToken:this._radarGeoLocationService.submitTicketGeoLocation}}appendLocaleToSimulationUrl(Fe){return""===Fe?"":`${Fe}&&locale=${this._localizationService.getSelectedLocale()}`}submitCurrentTicket(Fe=!1){var Ye=this;return(0,o.A)(function*(){Ye.currentTicket?.items?.length&&(!Ye._restConfiguration.getGeneralCustomConfigurationParams("radarSkipVerifyApp")&&!(yield Ye._radarGeoLocationService.checkUserLocation(Ye._authService.logoutUser.bind(Ye._authService)))||Ye._httpService.post("api/v1/create-ticket/submit-ticket",{acceptQuotaChanges:Ye.acceptOddChange,removeNonActive:!1,directAuthorizationRequest:!1,acceptBonusNotificationPayout:Fe,walletType:Ye.walletType,...Ye._setRadarGeoLocation()},I.mp,!0).subscribe(()=>{},Re=>{Ye._globalLoaderService.hideLoader(),Ye._checkForVerificationModal((0,p.A)(Re,"error"))}))})()}submitPayoutTicket(Fe){return this._httpService.post("api/v1/payout-ticket",Fe,I.mp,!0).pipe((0,S.W)(Ye=>(this._globalLoaderService.hideLoader(),this._errorService.openErrorPopup((0,p.A)(Ye,"error")),this._clearPayoutCodeInput.next(),_.w)))}opetAlertPopup(Fe){this._modalService.openPopup({component:$.n,payload:{message:this._instantTranslate(Fe)}})}_instantTranslate(Fe){return this._translationService.instant(Fe)}_checkForVerificationModal(Fe){if(["ONLY_VERIFIED_PLAYERS_CAN_PLAY_FOR_BONUS","ONLY_VERIFIED_PLAYERS_CAN_PLAY_FOR_STANDARD"].includes((0,p.A)(Fe,"errorCode",""))){if(!this._blinkingService.isBlinkingDisabled())return void this._modalService.openPopup({component:T.E,payload:{modalType:"ticket"}});if(this._itsmeService.isItsmeEnabled())return void this._modalService.openPopup({component:xe.I,payload:{modalType:"ticket"}});if(this._sumsubService.isSumSubEnabled()){const{applicantId:Ye,accountId:Re}=this._authService.currentUser();return void this._sumsubApiService.getApplicantLevels(Re,Ye).then(De=>{this.openSumsubErrorModal(De.review.reviewStatus)}).catch(()=>{this.openSumsubErrorModal("")})}}this._errorService.openErrorPopup(Fe)}openSumsubErrorModal(Fe){this._modalService.open({component:ve.w,payload:{status:Fe,callback:this._navigateToSumsubVerification.bind(this)}})}_navigateToSumsubVerification(){this._router.navigate([this._routingService.getUrlByPageName(me.Bi.ACCOUNT_PAGE),me.db.ACCOUNT_VERIFICATION])}acceptTicketModifications(){this._httpService.get("api/v1/create-ticket/accept").subscribe()}rejectTicketModifications(){this._httpService.get("api/v1/create-ticket/reject").subscribe()}clearTicketData(){this.isTicketCreated=!1,this._setItemsOnTicket({}),this.selectedTicketMode=d.o2,this.currentTicket={},this.bankersSelection=[],this.acceptOddChange=!0,this.enableNotificationsForTicket=!1,this.invalidSelections=[]}createNextTicket(){this.clearTicketData(),this._httpService.get("api/v2/create-ticket/next").subscribe(({payload:Fe})=>{this._googleTagManagerService.resetTemporaryEvent(U.$K),(0,u.A)(Fe.selections,Ye=>{Ye.custombet||this._pushItemOnTicket(Ye.id)}),this._setInitialPayin(),this.multipleSystemsMode=!1,this._setCurrentTicket(Fe),this._checkTicketStatus(Fe),this.updatePayinOnTicker.next(!0)})}toggleAcceptOddChange(){this.acceptOddChange=!this.acceptOddChange}toggleEnableNotificationsForTicket(){this.enableNotificationsForTicket=!this.enableNotificationsForTicket}toggleBanker(Fe){(0,E.A)(this.bankersSelection,Fe.id)?this.bankersSelection=(0,C.A)(this.bankersSelection,Re=>Re!==Fe.id):(0,E.A)(this.multipleSystemsSelections,Fe.id)?(this.multipleSystemsSelections=(0,C.A)(this.multipleSystemsSelections,Re=>Re!==Fe.id),this.bankersSelection.push(Fe.id),this.triggerSystemPipe++):this.bankersSelection.push(Fe.id);const Ye=(0,p.A)(this.currentTicket,"items[0]",{});this.itemsWithoutBanker=this._filterItemsWithoutBanker(Ye),this._nonBankerSelections=this._filterNonBankerSelections(),this._nonBankerSelections.length<=1?this.changeTicketMode(d.o2):(this.totalPayingByCombination=0,this.toggleBankerOnSystem.next(),this.triggerBankerPipe++)}toggleMultipleSystems(){this.multipleSystemsMode=!this.multipleSystemsMode,this._resetSystemItems(),(this.isMultipleSystemDirty||this.isTicketSystemSet)&&this._resetTicket()}toggleSystemItem(Fe){(0,E.A)(this.multipleSystemsSelections,Fe.id)?this.multipleSystemsSelections=(0,C.A)(this.multipleSystemsSelections,Ye=>Ye!==Fe.id):(0,E.A)(this.bankersSelection,Fe.id)?(this.bankersSelection=(0,C.A)(this.bankersSelection,Ye=>Ye!==Fe.id),this.multipleSystemsSelections.push(Fe.id),this.triggerBankerPipe++):this.multipleSystemsSelections.push(Fe.id),this.isMultipleSystemDirty=!0,this.triggerSystemPipe++}repeatTicket(Fe){return new Promise(Ye=>{this._httpService.post(`api/v2/create-ticket/replay-ticket/${Fe}`).subscribe(({payload:Re})=>{this.multipleSystemsMode=!1,this.changeTicketType(d.lb),this._setCurrentTicket(Re),this._checkTicketStatus(Re),this.itemsOnTicket={},(0,u.A)(Re.selections,De=>{De.customBet||this._pushItemOnTicket(De.id)}),this._setInitialPayin(),this.changeTab.next(!0),Ye(!0)})})}addPayingOnTicket(Fe){this.payinState.next(!Fe||Fe<=0?Z.$8.INVALID:Z.$8.VALID),Fe&&!(Fe<=0)&&Fe!==this.previousPayinValue&&(this.previousPayinValue=Fe,this._httpService.put("api/v2/create-ticket/set-pay-in",{payin:Fe}).subscribe(({payload:Ye})=>{this._setCurrentTicket(Ye),this.multipleSystemsMode=!1,this.isMultipleSystemDirty=!1,this.preparedMultipleSystemSelections=[],this._resetSystemItems()}))}addPayingOnTicketPromise(Fe){var Ye=this;return(0,o.A)(function*(){if(Ye.payinState.next(!Fe||Fe<=0?Z.$8.INVALID:Z.$8.VALID),!Fe||Fe<=0||Fe===Ye.previousPayinValue)return;Ye.previousPayinValue=Fe;const Re=yield Ye._httpService.put("api/v2/create-ticket/set-pay-in",{payin:Fe}).toPromise();Ye._setCurrentTicket(Re.payload),Ye.multipleSystemsMode=!1,Ye.isMultipleSystemDirty=!1,Ye.preparedMultipleSystemSelections=[],Ye._resetSystemItems()})()}setNumberOfTickets(Fe){return new Promise(Ye=>{this._httpService.put(`api/v1/create-ticket/set-split-number/${Fe}`,{}).subscribe(({payload:Re})=>{this.multipleSystemsMode=!1,this._setCurrentTicket(Re),Ye(!0)})})}getCashOutTicket(Fe){return this._httpService.get(`api/v1/cash-out/${Fe}`)}cashOutTicket(Fe,Ye,Re,De){const He={amount:Ye,changeOption:Re};return De?.length&&this._restConfigurationService.getBettingConfigurationParams("enableOnlineRetailTicketCashout")&&(He.payoutCode=De),this._httpService.put(`api/v1/cash-out/${Fe}`,{...He},I.mp)}changeTicketType(Fe){this.selectedTicketType=Fe}changeTicketMode(Fe){[d.o2,d.NN].includes(Fe)&&this.isMultiSelectOnItem||[d.jx,d.NN].includes(Fe)&&this._nonBankerSelections.length<=1||((this.isTicketSystemSet||this.isSystemInSystemSet||this.isMultipleSystemDirty)&&this._resetTicket(),this._resetBankers(),this._resetSystemItems(),this.selectedTicketMode=Fe,this.multipleSystemsMode=!1)}_resetBankers(){this.bankersSelection=this._getDummySelectionsIds();const Fe=(0,p.A)(this.currentTicket,"items[0]",{});this.itemsWithoutBanker=this._filterItemsWithoutBanker(Fe),this._nonBankerSelections=this._filterNonBankerSelections(),this.triggerBankerPipe++}_resetSystemItems(){this.multipleSystemsSelections=[],this.triggerSystemPipe++}
1createSystemWithSystem(){const{systemItems:Fe,bankersItems:Ye}=this._formatItemsAndBankersForSystemWithSystem(),Re=Fe.length+Ye.length;this._submitSystem(this._formatSystemForRequest(Re,Re,[...Ye,...Fe]))}createSystem(Fe){const{items:Ye,bankersItems:Re}=this._formatItemsAndBankers(),De=this._formatSystemForRequest(Fe.combination,Fe.itemsCount,Ye);this._submitSystem(this.bankersSelection.length?this._formatSystemForRequest(Re.length+1,Re.length+1,[...Re,De]):De)}createSystemItems(Fe){const Ye=[],Re=[];(0,u.A)(this.multipleSystemsSelections,He=>{(0,u.A)((0,p.A)(this.currentTicket,"items[0].items",[]),(we,Tt)=>{we?.selectionIds.includes(He)&&Ye.push((0,p.A)(this.currentTicket,"items[0].items",[]).splice(Tt,1)[0])})});const De={itemType:"SYSTEM",minimumWins:(0,p.A)(Fe,"combination"),maximumWins:(0,p.A)(Fe,"itemsCount"),selectionIds:[],items:Ye.map(He=>(Re.push(...He.selectionIds),{...He}))};this.currentTicket.items[0].items.push(De),this.preparedMultipleSystemSelections=[...this.preparedMultipleSystemSelections,...Re],this._resetSystemItems(),this.triggerSystemPipe++}createSystemInSystem(Fe){const{items:Ye,bankersItems:Re}=this._formatItemsAndBankers(),De=[];(0,u.A)(Fe,we=>{De.push(this._formatSystemInSystemForRequest(we.combination,we.itemsCount,we.money,Ye))});const He={itemType:"SYSTEM_IN_SYSTEM",minimumWins:De.length,maximumWins:De.length,selectionIds:[],items:De};this._submitSystem(this._formatSystemForRequest(Re.length+1,Re.length+1,[...Re,He],!0))}changePayingMethod(Fe){this.walletType=Fe?"BONUS":"STANDARD",this.walletTypeChange.next(Fe)}addItemVirtualOnTicket(Fe){this._httpService.post("api/v2/create-ticket/add-virtual-game-selections",Fe).subscribe(({payload:Ye})=>{this._addSelectedIds(Ye),this.selectedTicketMode===d.o2&&(this.selectedTicketMode=Ye.numberOfCombinations>1?d.jx:d.o2),this._setCurrentTicket(Ye),this.isTicketCreated||(this.isTicketCreated=!0,this.formatAndPushDataToGTM()),this.itemChangeOnTicket.next(!0)})}removeItemFromTicket(Fe){this._httpService.put("api/v2/create-ticket/remove-selection",{selectionId:Fe},I.XW,!0).subscribe(({payload:Ye})=>{this.multipleSystemsMode=!1,this._updateSelectionsForTicketChange(Fe,Ye,"remove"),this._setCurrentTicket(Ye),(this.selectedTicketMode===d.o2||!this.itemsOnTicket.length)&&(this.selectedTicketMode=Ye.numberOfCombinations>1?d.jx:d.o2),1===Object.keys(this.itemsOnTicket).length&&(this.selectedTicketMode=d.o2),Object.keys(this.itemsOnTicket).length||this.updatePayinOnTicker.next(!0),this.isToggleActionInProgress=!1,this.ticketUpdateAfterItemRemove.next(Ye),this.itemChangeOnTicket.next(!0)},Ye=>{Ye.error.errorCode===d.zo&&this.getCurrentTicketAndResetItems(),this.isToggleActionInProgress=!1,this.triggerSelectedMarketsPipe++})}addItemOnTicket(Fe,Ye){const Re={selectionId:Fe};if(Ye&&(Re.recommendationType=Ye),this.selectedTicketType===d.Vx){const De=Fe.split("_")[0];if(this.currentTicket.selections?.findIndex(we=>we.id.includes(De))>=0)return this.isToggleActionInProgress=!1,void this.opetAlertPopup("general.can_not_play_system_for_simulation")}this._httpService.post("api/v3/create-ticket/add-selection",Re).subscribe(({payload:De})=>{this.multipleSystemsMode=!1,this._updateSelectionsForTicketChange(Fe,De,"add"),this._handleTicketPayload(De),this.itemChangeOnTicket.next(!0)},()=>{this.isToggleActionInProgress=!1,this.triggerSelectedMarketsPipe++})}addItemsOnTicket(Fe,Ye){if(this.isToggleActionInProgress)return;this.isToggleActionInProgress=!0;const Re=Fe.map(De=>({selectionId:De,recommendationType:Ye}));this._httpService.post("api/v1/create-ticket/add-selections",Re).subscribe(({payload:De})=>{Fe.forEach(He=>this._updateSelectionsForTicketChange(He,De,"add")),this._handleTicketPayload(De),this.itemChangeOnTicket.next(!0)},()=>{this.isToggleActionInProgress=!1,this.triggerSelectedMarketsPipe++})}addItemsOnTicketPromise(Fe){var Ye=this;return(0,o.A)(function*(){const Re=Fe.map(De=>({selectionId:De}));try{const De=yield Ye._httpService.post("api/v1/create-ticket/add-selections",Re).toProm
1ise();Ye._setCurrentTicket(De.payload),De.payload.selections.forEach(He=>{Ye._updateSelectionsForTicketChange(He.id,De.payload,"add")})}catch{}Ye.itemChangeOnTicket.next(!0),Ye.triggerSelectedMarketsPipe++})()}_updateSelectionsForTicketChange(Fe,Ye,Re){const De=Ye.selections.map(we=>we.id),He=Ye.selections.map(we=>({id:we.id,betBuilder:we.customBet}));"add"===Re&&1===Ye?.selections?.length&&this._setItemsOnTicket({[Fe]:{betBuilder:Ye.selections[0].customBet}}),"remove"===Re&&this.itemsOnTicket[Fe]&&delete this.itemsOnTicket[Fe],this._addMultipleDummySelections(He),Object.keys(this.itemsOnTicket).filter(we=>!De.includes(we)).forEach(Reflect.deleteProperty.bind(null,this.itemsOnTicket))}_addMultipleDummySelections(Fe){Fe.forEach(Ye=>{this.itemsOnTicket[Ye.id]||this._pushItemOnTicket(Ye.id,Ye.betBuilder)})}_updateItemsOnTicket(Fe){const Ye={};return Fe.forEach(Re=>{Ye[Re.id]={betBuilder:!!Re?.customBet}}),Ye}addBetBuilderItemOnTicket(Fe){this._httpService.post("api/v1/create-ticket/add-custom-bet",Fe).subscribe(({payload:Ye})=>{this._handleTicketPayload(Ye),this._setItemsOnTicket(this._updateItemsOnTicket(Ye.selections))},()=>{this.isToggleActionInProgress=!1,this.triggerSelectedMarketsPipe++})}addBetBoostItemOnTicket(Fe){this._httpService.post("api/v1/create-ticket/add-bet-boost",{selectionIds:Fe}).subscribe(({payload:Ye})=>{this.multipleSystemsMode=!1,Ye.selections.map(Re=>(this._pushItemOnTicket(Re.id),Re.id)),this._handleTicketPayload(Ye),this._setItemsOnTicket(this._updateItemsOnTicket(Ye.selections))},()=>{this.isToggleActionInProgress=!1,this.triggerSelectedMarketsPipe++})}_handleTicketPayload(Fe){this.selectedTicketMode===d.o2&&(this.selectedTicketMode=Fe.numberOfCombinations>1?d.jx:d.o2),this._setCurrentTicket(Fe),this.isTicketCreated||(this.isTicketCreated=!0,this.formatAndPushDataToGTM()),this.isToggleActionInProgress=!1}_setItemsOnTicket(Fe){this.itemsOnTicket=Fe,this.changedItemsOnTicket.next(),this.itemChangeOnTicket.next(!0)}_pushItemOnTicket(Fe,Ye=!1){this.itemsOnTicket[Fe]={betBuilder:Ye},this.changedItemsOnTicket.next()}_addSelectedIds(Fe){(0,u.A)(Fe.selections,Ye=>{const Re=(0,p.A)(Ye,"id");Re&&!this.itemsOnTicket[Re]&&this._pushItemOnTicket(Re)})}_formatItemsAndBankersForSystemWithSystem(){const Fe=[],Ye=[];return(0,u.A)(this.currentTicket.items[0].items,Re=>{const De=[];if(this.MULTIPLE_FILTER_TICKET_TYPES.includes(Re.itemType))return void Fe.push(this._formatEventForRequest(Re));(0,u.A)(Re.items,we=>{De.push(this._formatEventForRequest(we))});const He={itemType:"SYSTEM",maximumWins:(0,p.A)(Re,"maximumWins"),minimumWins:(0,p.A)(Re,"minimumWins"),selectionIds:[],items:De};Ye.push(He)}),{systemItems:Ye,bankersItems:Fe}}_formatItemsAndBankers(){const Fe=[],Ye=[];return(0,u.A)(this.currentTicket.items[0].items,Re=>{const De=(0,l.A)(this.currentTicket.selections,He=>He.id===Re.selectionIds[0]);(0,E.A)(this.bankersSelection,De?.id)?Ye.push(this._formatEventForRequest(Re)):Fe.push(this._formatEventForRequest(Re))}),{items:Fe,bankersItems:Ye}}_formatEventForRequest(Fe){return{itemType:"EVENT",minimumWins:Fe.minimumWins,maximumWins:Fe.maximumWins,selectionIds:Fe.selectionIds,items:[]}}_formatSystemForRequest(Fe,Ye,Re,De=!1){let He={itemType:"SYSTEM",minimumWins:Fe,maximumWins:Ye,selectionIds:[],items:Re};return De&&(He=Object.assign(He,{payinType:"PER_SYSTEM"})),He}_formatSystemInSystemForRequest(Fe,Ye,Re,De){return{itemType:"SYSTEM",minimumWins:Fe,maximumWins:Ye,selectionIds:[],payin:Re,items:De}}_submitSystem(Fe){this._httpService.put("api/v3/create-ticket/set-system",Fe).subscribe(({payload:Ye})=>{this.multipleSystemsMode=!1,this._setCurrentTicket(Ye),this._checkTicketStatus(Ye),this.isMultipleSystemDirty=!1,this.preparedMultipleSystemSelections=[]})}_resetTicket(){this._httpService.put("api/v2/create-ticket/remove-system").subscribe(({payload:Fe})=>{this._setCurrentTicket(Fe),this.isMultipleSystemDirty=!1,this.preparedMultipleSystemSelections=[]})}checkTicketOnReload(){this._botDetectionService.isBot||this._httpService.get("api/v2/create-ticket/get-current-ticket","","ignore").subscribe(({payload:Fe})=>{(0,u.A)(Fe.selections,Ye=>{this._pushItemOnTicket(Ye.id,Ye?.customBet)}),this._setCurrentTicket(Fe),this._checkTicketStatus(Fe),this._setInitialPayinIfHasItemsTicket(),this.checkTicketStatus.next(Fe),this.itemChangeOnTicket.next(!0)})}reInitTicket(){this.checkTicketStatus.next(this.currentTicket)}_setCurrentTicket(Fe){this.currentTicket=Fe,this.setNotificationsForTicketAvailable();const Ye=(0,p.A)(this.currentTicket,"items[0]",{});this.itemsWithoutBanker=this._filterItemsWithoutBanker(Ye),this._nonBankerSelections=this._filterNonBankerSelections(),this._checkIsSystemIsSet(Ye),this.triggerSelectedMarketsPipe++,this._ticketUpdate.next(this.currentTicket)}setNotificationsForTicketAvailable(){this._canSubscribeToTicket(this.currentTicket).subscribe(Fe=>{this.notificationsForTicketAvailable=Fe})}_canSubscribeToTicket(Fe){return this._restConfigurationService.getGeneralCustomConfigurationParams("enableGenericPushNotifications")&&this._authService.currentUser().isUserLogin&&(0,V.p)(Fe)?this._pushNotificationsService.getSettings().pipe((0,P.T)(Ye=>Ye.enabled)):(0,m.of)(!1)}_filterItemsWithoutBanker(Fe){let Ye=(0,p.A)(Fe,"items",[]);if(!this.bankersSelection.length)return Ye;const Re=this.currentTicket.selections.filter(De=>this.bankersSelection.includes(De.id));return(0,u.A)(Re,De=>{Ye=(0,C.A)(Ye,He=>!He.selectionIds.includes(De.id))}),Ye}_filterNonBankerSelections(){return(0,p.A)(this.currentTicket,"selections",[]).filter(Fe=>!this.bankersSelection.includes(Fe.id))}_checkIsSystemIsSet(Fe){if(!Fe||(0,y.A)(Fe))return this.isTicketSystemSet=!1,this.isSystemInSystemSet=!1,this.isMultiSelectOnItem=!1,this.isBankerOnTicket=!1,this.isBetBuilderOnTicket=!1,void(this.isBetBoostOnTicket=!1);const Ye=this._checkTypeOfItems(Fe,d.IJ);this.isRegularSystemSet=!!Ye||Fe.maximumWins!==Fe.minimumWins,this.isSystemInSystemSet=!!this._checkTypeOfItems(Fe,d.gw),this.isMultiSelectOnItem=!!this._checkTypeOfItems(Fe,d.nI),this.isTicketSystemSet=this.isRegularSystemSet||this.isSystemInSystemSet,this.isBankerOnTicket=!!this._checkTypeOfItems(Fe,d.wH)&&this.isTicketSystemSet,this.isBetBuilderOnTicket=!!this._checkTypeOfItems(Fe,d.O1),this.isBetBoostOnTicket=!!this._checkTypeOfItems(Fe,d.A5)||!!this._checkTypeOfItems(Fe,d.p2),this.isMultiSelectOnItem&&(this._resetBankers(),this.selectedTicketMode=d.jx)}addTemporaryTicket(){return this._httpService.post("api/v2/temporary-ticket/create-temporary-ticket")}getCurrentTicketAndResetItems(){this._setItemsOnTicket({}),this.checkTicketOnReload()}_checkTypeOfItems(Fe,Ye){return(0,l.A)(Fe.items,Re=>Re.itemType===Ye)}_checkTicketStatus(Fe){this.selectedTicketMode=Fe.numberOfCombinations>1?this.isSystemInSystemSet?d.NN:d.jx:d.o2}isSystemSetForTicketFromAuthorisation(Fe){const Re=!!this._checkTypeOfItems(Fe,d.IJ)||Fe.maximumWins!==Fe.minimumWins,De=!!this._checkTypeOfItems(Fe,d.gw);return Re||De}isSystemMultiSelect(Fe){return!!this._checkTypeOfItems(Fe,d.nI)}_setInitialPayin(){this.previousPayinValue=null,this.currentTicket.payin=this._isUserLoggedAndPayinIsNotNull()?(0,p.A)(this._authService.currentUser(),"defaultPayin"):this._restConfigurationService.getBettingConfigurationParams("defaultPayin"),this.addPayingOnTicket(this.currentTicket.payin)}_setInitialPayinIfHasItemsTicket(){const Fe=(0,p.A)(this.currentTicket,"items",[]).length>0;this.previousPayinValue=null,Fe||(this.currentTicket.payin=this._isUserLoggedAndPayinIsNotNull()?this._authService.currentUser().defaultPayin:this._restConfigurationService.getBettingConfigurationParams("defaultPayin")),this.addPayingOnTicket(this.currentTicket.payin)}_isUserLoggedAndPayinIsNotNull(){return this._authService.currentUser().isUserLogin&&this._authService.currentUser().defaultPayin>0}submitAutomaticCashout(Fe,Ye){return this._httpService.post("api/v1/automatic/cash-out",{ticketId:Fe,minimalCashOut:Ye}).toPromise()}removeAutomaticCashout(Fe){return this._httpService.delete(`api/v1/automatic/cash-out/${Fe}
1`).toPromise()}updateAutomaticCashout(Fe,Ye){return this._httpService.post("api/v1/automatic/cash-out/update",{ticketId:Fe,minimalCashOut:Ye}).toPromise()}hasEnoughBalance(){const Fe=this._authService.currentUser();return"STANDARD"===this.walletType?Fe.standardBalanceAmount>=this.currentTicket.payin:Fe.bonusBalanceAmount>=this.currentTicket.payin}hasEnoughSiulationBalance(){const Fe=this._authService.currentUser();return"STANDARD"===this.walletType?Fe.standardBalanceAmount>=this.currentTicket.payin:Fe.simulationBonusAmount>=this.currentTicket.payin}getTemporaryTicket(Fe){return this._httpService.get(`api/v2/temporary-ticket/get-temporary-ticket/${Fe}`).toPromise().then(Ye=>{const Re=(0,p.A)(Ye,"payload");if(!Re)throw Error();return(0,u.A)(Re.selections,De=>{De.customBet||this._pushItemOnTicket(De.id)}),this.multipleSystemsMode=!1,this._setCurrentTicket(Re),this._checkTicketStatus(Re),this._setInitialPayinIfHasItemsTicket(),this.checkTicketStatus.next(Re),Ye})}checkIfTicketIsCashedOut(Fe){return(0,E.A)(this.CASHOUT_STATUSES,Fe)}formatAndPushDataToGTM(Fe=!0){if((0,y.A)(this.currentTicket)||Fe&&this.currentTicket.selections.length>1||!this._authService.currentUser())return;const Ye=this.currentTicket.selections[0];if(!Ye)return;let Re=`${Ye.marketName} | ${Ye.name}`;Ye.handicap&&(Re+=` H: ${Ye.handicap}`),Ye.overUnder&&(Re+=` O/U: ${Ye.overUnder}`);const De=F(this.currentTicket.timestamp).format("YYYY-MM-DDTHH:mm:ssZ"),He=`${Ye.home} - ${Ye.away}`,{email:we,accountId:Tt}=this._authService.currentUser(),ct={event:U.$K,stage:U.$K,customer_id:Tt,email:we||"NoEmail",date:De,ticket_id:this.currentTicket.id,type:(0,p.A)(this.currentTicket,"selections[0].eventType")===L.lF?"Live":"PreMatch",game:Re,game_rivals:He,game_type:this.currentTicket.selections[0].sportId,total_stake:this.currentTicket.stake,total_odd:this.currentTicket.maximumPrice,min_win:this.currentTicket.minimumBetwin,max_win:this.currentTicket.maximumBetwin,device_type:"Desktop Browser",country:COUNTRY_ISO_CODE};this._googleTagManagerService.handleTemporaryEvent(ct,ct.stage)}_getDummySelectionsIds(){return 0===(0,p.A)(this.currentTicket,"selections",[]).length?[]:this.currentTicket.selections?.reduce((Fe,Ye)=>(Ye.dummy&&Fe.push(Ye.id),Fe),[])}isSelectionDummy(Fe){const Ye=this.currentTicket.selections.find(Re=>Re.id===Fe);return!(!Ye||!Ye.dummy)}getRecommendedTickets(){return this._httpService.get("api/v1/recommended-tickets","recommended-tickets",I.t4).toPromise().then(Fe=>Fe?.payload)}resetSimulationTicket(){this.simulationCurrentTicketId="",this.simulationMatchUrl="",this.simulationMatchInProgress=!1}toggleEnableNumberOfTickets(){this.numberOfTicketsEnabled.set(!this.numberOfTicketsEnabled())}static{this.\u0275fac=function(Ye){return new(Ye||Vt)(h.KVO(oe.k),h.KVO(z.e),h.KVO(W.I),h.KVO(re.u),h.KVO(ee.M),h.KVO(Se.A),h.KVO(J.s),h.KVO(de.S),h.KVO(ke.B),h.KVO(ee.M),h.KVO(ge.RadarGeoLocationService),h.KVO(ye.O),h.KVO(Pe.Ix),h.KVO(Me.x),h.KVO(We.SumsubApiService),h.KVO(Oe.s),h.KVO(tt.L),h.KVO(Qe.c$),h.KVO(_t.P),h.KVO(ht.a),h.KVO(mt._))}}static{this.\u0275prov=h.jDH({token:Vt,factory:Vt.\u0275fac,providedIn:"root"})}}(0,i.Cg)([ie.X],Vt.prototype,"checkTicketOnReload",null)},48115:(he,M,r)=>{"use strict";r.d(M,{B:()=>d});var o=r(54438),i=r(45817);let d=(()=>{class h{constructor(){this.injector=(0,o.WQX)(o.zZn)}isAppStable(){return new i.c(_=>(0,o.N4e)(this.injector,()=>{(0,o.mal)(()=>{_.next(),_.complete()})}))}static{this.\u0275fac=function(m){return new(m||h)}}static{this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},20838:(he,M,r)=>{"use strict";r.d(M,{c:()=>Tt});var o=r(46663),i=r(53988),d=r(62125),h=r(23712),v=r(67018),_=r(34029),m=r(72036),p=r(70576),u=r(29880),E=r(40173),C=r(23660),l=r(21938),y=r(31287),I=r(40936);const F=(0,r(51392).A)("length");var N=r(75251),U="\\ud800-\\udfff",me="["+U+"]",xe="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",$="\\ud83c[\\udffb-\\udfff]",oe="[^"+U+"]",z="(?:\\ud83c[\\udde6-\\uddff]){2}",W="[\\ud800-\\udbff][\\udc00-\\udfff]",ee="(?:"+xe+"|"+$+")?",Se="[\\ufe0e\\ufe0f]?",de=Se+ee+"(?:\\u200d(?:"+[oe,z,W].join("|")+")"+Se+ee+")*",ke="(?:"+[oe+xe+"?",xe,z,W,me].join("|")+")",ge=RegExp($+"(?="+$+")|"+ke+de,"g");const We=function Me(ct){return(0,N.A)(ct)?function ye(ct){for(var tn=ge.lastIndex=0;ge.test(ct);)++tn;return tn}(ct):F(ct)},_t=function Qe(ct){if(null==ct)return 0;if((0,y.A)(ct))return(0,I.A)(ct)?We(ct):ct.length;var tn=(0,l.A)(ct);return"[object Map]"==tn||"[object Set]"==tn?ct.size:(0,C.A)(ct).length};var ht=r(29904),mt=r(95447),Vt=r(67376),Ot=r(67374),Fe=r(54674),Ye=r(45286
1),Re=r(54438),De=r(34405),He=r(15653),we=r(60767);let Tt=(()=>{class ct{constructor(Ee,se,be){this._restConfigurationService=Ee,this._orderService=se,this._favoriteService=be,this._sidebarInvalidEventStates=[ht.q.HIDDEN,ht.q.FINISHED,ht.q.RESULTED],this._sidebarDisplayEventStates=[ht.q.ACTIVE,ht.q.BLOCKED],this._isResultUpdated=!1,this._isSelectionUpdated=!1,this.shouldUpdate=!1,this.shouldReorder=!1,this.selectPreviousSport=!1,this.onUpdateEvent=new Ye.B7,this.onUpdateEvent$=this.onUpdateEvent.asObservable(),this.reorderIfResultIsUpdated=!1}updateListOfFeaturedMatches(Ee,se){const be=(0,i.A)(Ee,je=>(0,d.A)(je,"header.eventId")===(0,d.A)(se,"header.eventId"));if(-1!==be)return this._canRemoveEvent(se,(0,d.A)(Ee[be],"header.offerType")===mt.lF)?(Ee.splice(be,1),void(this._canAddNewEvent(se,(0,d.A)(se,"header.offerType")===mt.lF)&&(this._addFeaturedMatch(Ee,se),this._orderService.sortFeaturedMatches(Ee)))):void this._updateFeaturedMatch(Ee[be],se);this._canAddNewEvent(se,(0,d.A)(se,"header.offerType")===mt.lF)&&(this._addFeaturedMatch(Ee,se),this._orderService.sortFeaturedMatches(Ee))}_updateFeaturedMatch(Ee,se){this._updateHeaderParams(Ee,se),this._checkUpdatedResults((0,d.A)(se,"header.formattedResult"),Ee.header.formattedResult),this._checkUpdatedResults((0,d.A)(se,"header.result"),Ee.header.result),this._updateFeaturedMatchMarket(Ee,se),this._increaseTriggerIfHasBeenUpdated(Ee),this._checkAndUpdateEventState(se,Ee)}_checkAndUpdateEventState(Ee,se){(0,d.A)(Ee,"header.state")&&(se.header.state=(0,d.A)(Ee,"header.state"))}_updateFeaturedMatchMarket(Ee,se){se.market&&se.market.marketId===Ee.market?.marketId?((0,h.A)(se.market.selections,be=>{const je=(0,v.A)(Ee.market.selections,ft=>be.selectionId===ft.selectionId);je&&(be.trend=this.getTrendFromSelectionPrices(je.price,be.price))}),Ee.market.state!==se.market.state&&(Ee.market.state=se.market.state,(0,_.A)(Ee,"selectionTrigger")?Ee.selectionTrigger++:Ee.selectionTrigger=0),Ee.market.selections=se.market.selections):Ee.market=se.market}updatePlayerMarkets(Ee,se){if(!Ee.playerMarkets?.length)return;const be=se.find(je=>je.header.eventId===Ee.header.eventId);if(be){if(!be?.playerMarkets)return void(be.playerMarkets=Ee.playerMarkets);for(const je of Ee.playerMarkets){const ft=be.playerMarkets.find(kt=>kt.gameTemplateId===je.gameTemplateId);if(ft)for(const kt of je.markets){const Yt=ft.markets.find(yn=>yn.marketId===kt.marketId);if(Yt){if("ACTIVE"!==kt.state){ft.markets.splice(ft.markets.indexOf(Yt),1),ft.markets.length||be.playerMarkets.splice(be.playerMarkets.indexOf(ft),1);continue}Yt.state=kt.state;for(const yn of kt.selections){const ln=Yt.selections.find(Mn=>Mn.selectionId===yn.selectionId);ln?(ln.price=yn.price,ln.state=yn.state):Yt.selections.push(yn)}}}else be.playerMarkets.push(je)}}}getTrendFromSelectionPrices(Ee,se){return Ee<se?"up":Ee>se?"down":""}_checkUpdatedResults(Ee,se={}){(0,m.A)(Ee)||(0,h.A)(Object.keys(Ee),be=>{if("object"!=typeof Ee[be]||!se[be])return se[be]=Ee[be],void(this._isResultUpdated=!0);this._checkUpdatedResults(Ee[be],se[be])})}_addFeaturedMatch(Ee,se){Ee.splice(Ee.length,0,se)}_canRemoveEvent(Ee,se){return se?this._canRemoveLive(Ee):this._canRemoveStandard(Ee)}updateListOfSports(Ee,se,be=mt.KO){const je=(0,i.A)(Ee,ft=>ft.sportId===se.sportId);if(-1!==je||se.active){if(-1===je&&se.active){const ft=be===mt.KO?Ee.length:this._getIndexForAddingNewSport(Ee,se);return void Ee.splice(ft,0,se)}Ee.splice(je,1)}}_getIndexForAddingNewSport(Ee,se){let be=null;const je=[...Ee,se];je[0]&&0===je[0].sportId&&(be=je.shift()||null);let ft=(0,p.A)(je,"name");ft=(0,p.A)(ft,Yt=>(0,u.A)(this._getTopSportsIdsFromRestConfig(),Yt.sportId),"desc");const kt=(0,i.A)(ft,Yt=>Yt.sportId===se.sportId);return be?kt+1:kt}_getTopSportsIdsFromRestConfig(){const Ee=this._restConfigurationService.getBettingConfigurationParams("topSports");return Ee?Ee.reverse():[]}updateListOfEvents(Ee,se,be,je=!1,ft="",kt="ALL"){if(!this._isEventInTimeRange(be.header.startTime,kt)&&be.header.offerSubType===mt.KO)return;this.shouldUpdate=!1;const Yt=(0,i.A)(Ee,yn=>(0,d.A)(yn,"header.eventId")===(0,d.A)(be,"header.eventId"));-1===Yt?this._canAddNewEvent(be)&&this._addNewEvent(Ee,be,se,ft):this._removeOrUpdateEvent(Ee,se,be,Yt,je)}_isEventInTimeRange(Ee,se){if(se===Fe.tE.ALL||!Ee)return!0;const be=Ot().startOf("hour");let je=Ot();switch(se){case Fe.tE.ONE_HOUR:je=je.add(1,"hours").startOf("hour");break;case Fe.tE.THREE_HOURS:je=je.add(3,"hours").startOf("hour");break;case Fe.tE.ONE_DAY:je=je.add(1,"days");break;case Fe.tE.THREE_DAYS:je=je.add(3,"days")}return Ot(Ee).isAfter(be)&&Ot(Ee).isBefore(je)||Ot(Ee).isSame(je)}_addNewEvent(Ee,se,be,je){switch(this._addMissingPositions(se),je){case"top-standard":return void this._addNewTopStandardEvent(Ee,se,be);case"top-live":return void this._addNewTopLiveEvent(Ee,se,be);default:return void this._addEvent(Ee,se,be)}}_addNewTopStandardEvent(Ee,se,be){if(this._restConfigurationService.getBettingConfigurationParams("standardEventsHomepage")===Ee.length){if(this.shouldIgnoreNewTopStandardEvent(Ee[Ee.length-1],se))return;Ee.pop()}this._addEvent(Ee,se,be)}_addEvent(Ee,se,be){Ee.splice(Ee.length,0,se),be.push(se.header.eventId),this.shouldReorder=!0,this.shouldUpdate=!0}_addMissingPositions(Ee){if(Ee.positions.length<3)for(let se=0;se<3;se++)-1===(0,i.A)(Ee.positions,{index:se})&&Ee.positions.push({index:se,groups:[]});Ee.positions=(0,p.A)(Ee.positions,"index")}orderLeagues(Ee){const se=[...this._restConfigurationService.getBettingConfigurationParams("topLeagues")].reverse();return(0,Vt.chain)(Ee).orderBy(be=>be.leagueName,["asc"]).orderBy(be=>be.regionSlug,["asc"]).orderBy(be=>(0,u.A)(se,be.leagueId),["desc"]).orderBy(be=>be.favoriteLeague,"desc").value()}orderStandardEventsOnLeagueTab(Ee){return(0,Vt.chain)(Ee).orderBy(se=>se.header.eventId,["asc"]).orderBy(se=>
1se.header.startTime,["asc"]).value()}orderStandardEventsOnTimeTab(Ee){const se=this._restConfigurationService.getBettingConfigurationParams("topLeagues");return(0,Vt.chain)(Ee).orderBy(be=>be.header.eventId,["asc"]).orderBy(this._orderService.orderEventsBySetEventOrder,["asc"]).orderBy(be=>be.header.topMatch,["desc"]).orderBy(be=>(0,u.A)(se,be.header.league.leagueId),["desc"]).orderBy(be=>be.header.startTime,["asc"]).value()}updateListOfLeagueEvents(Ee,se,be,je=!1,ft="ALL"){if(!this._isEventInTimeRange(be.header.startTime,ft)&&be.header.offerSubType===mt.KO)return;this.shouldUpdate=!1;const kt=(0,i.A)(Ee,Yt=>Yt.leagueId===be.header.league.leagueId);if(-1===kt){if(!this._canAddNewEvent(be,je))return;return Ee.push(this._addNewLeagueToLeagueTab(be)),this.shouldReorder=!0,void(this.shouldUpdate=!0)}this.updateListOfEvents(Ee[kt].events,se,be,je,"",ft),this.shouldUpdate&&(Ee[kt].events=this.orderStandardEventsOnLeagueTab(Ee[kt].events)),!Ee[kt].events.length&&Ee.splice(kt,1)}updateLiveSidebarSports(Ee,se){const be=se;if(se.active&&this._isNewSport(Ee,be)){const ft=this._getIndexForAddingNewSport(Ee,se);return void Ee.splice(ft,0,be)}const je=(0,i.A)(Ee,ft=>ft.sportId===se.sportId);-1!==je&&Ee.splice(je,1)}orderTopStandardEvents(Ee){return(0,Vt.chain)(Ee).orderBy(se=>se.header.eventId,["asc"]).orderBy(se=>se.header.startTime,["asc"]).orderBy(se=>se.header.topMatch,["desc"]).value()}_addNewTopLiveEvent(Ee,se,be){if(this._restConfigurationService.getBettingConfigurationParams("liveEventsHomepage")===Ee.length){if(this.shouldIgnoreNewTopLiveEvent(Ee[Ee.length-1],se))return;Ee.pop()}this._addEvent(Ee,se,be)}orderTopLiveEvents(Ee){const se=this._restConfigurationService.getBettingConfigurationParams("topLeagues");return(0,Vt.chain)(Ee).orderBy(be=>be.header.eventId,["asc"]).orderBy(this._orderService.orderEventsBySetEventOrder,["asc"]).orderBy(be=>be.header.startTime,["asc"]).orderBy(be=>be.header.topMatch,["desc"]).orderBy(be=>(0,u.A)(se,be.header.league.leagueId),["desc"]).value()}shouldIgnoreNewTopLiveEvent(Ee,se){const be=this.orderTopLiveEvents([Ee,se]);return Ee.header.eventId===be[0].header.eventId}shouldIgnoreNewTopStandardEvent(Ee,se){const be=this.orderTopStandardEvents([Ee,se]);return Ee.header.eventId===be[0].header.eventId}_addNewLeagueToLeagueTab(Ee){return{events:[Ee],leagueId:Ee.header.league.leagueId,leagueName:Ee.header.league.name,leagueSlug:Ee.header.league.slug,regionId:Ee.header.region.regionId,regionName:Ee.header.region.name,regionSlug:Ee.header.region.slug,favoriteLeague:Ee.header.league.favoriteLeague}}updateVirtual(Ee,se){const be=se.findIndex(je=>je.eventId===Ee.eventId);-1!==be&&(se[be].state=Ee.state)}_updateSelections(Ee,se){se.positions&&(0,h.A)(se.positions,be=>(0,d.A)(be,"groups[0].selections[0].placeholder")?(Ee.positions[be.index].groups[0].selections=[],this._isSelectionUpdated=!0,!1):this._isGroupEmpty(Ee,be)?(Ee.positions[be.index]?.groups||(Ee.positions[be.index]={...Ee.positions[be.index],groups:[]}),Ee.positions[be.index].groups=be.groups,void(this._isSelectionUpdated=!0)):this._isSelectionsEmpty(Ee,be)?(Ee.positions[be.index].groups[0].selections=be.groups[0].selections,void(this._isSelectionUpdated=!0)):void this._updateSingleSelection(Ee,be))}checkUpdatedResults(Ee,se){(0,m.A)(Ee)||(0,m.A)(se)||(0,h.A)(Object.keys(Ee),be=>{if("object"!=typeof Ee[be]||se&&!se[be])return se[be]=Ee[be],void(this._isResultUpdated=!0);this.checkUpdatedResults(Ee[be],se[be])})}canRemoveEvent(Ee,se=!1){return se?this._canRemoveStandard(Ee):this._canRemoveLive(Ee)}_canAddNewEvent(Ee,se=!1){return(0,_.A)(Ee,"header.offerSubType")&&(0,_.A)(Ee,"header.offerType")&&(0,_.A)(Ee,"header.code")&&(0,_.A)(Ee,"header.state")&&this._canAddState(Ee,se)}_canAddState(Ee,se=!1){return se?(0,d.A)(Ee,"header.state")===o.xz.ACTIVE:(0,E.A)([o.xz.ACTIVE,o.xz.BLOCKED],(0,d.A)(Ee,"header.state"))}_removeOrUpdateEvent(Ee,se,be,je,ft=!1){if(this.shouldUpdate=!1,this.canRemoveEvent(be,ft))return Ee.splice(je,1),se.splice(je,1),void(this.selectPreviousSport=0===Ee.length);
1this._checkIsFinalResultUpdated((0,d.A)(Ee[je],"header.result.finalPeriod.points"),(0,d.A)(be,"header.result.finalPeriod.points")),this._updateHeaderParams(Ee[je],be),this._updateSelections(Ee[je],be),this._updateEventState(Ee[je],be),this.checkUpdatedResults((0,d.A)(be,"header.formattedResult"),Ee[je].header.formattedResult),this.checkUpdatedResults((0,d.A)(be,"header.result"),Ee[je].header.result),this._increaseTriggerIfHasBeenUpdated(Ee[je]),(0,_.A)(Ee[je],"selectionTrigger")?Ee[je].selectionTrigger++:Ee[je].selectionTrigger=0,this.onUpdateEvent.next(Ee[je])}_updateEventState(Ee,se){(0,d.A)(se,"header.state")&&(Ee.header.state=(0,d.A)(se,"header.state"))}_isSelectionsEmpty(Ee,se){return 0===_t((0,d.A)(Ee,`positions[${se.index}].groups[0].selections`))}_isGroupEmpty(Ee,se){return 0===_t((0,d.A)(Ee,`positions[${se.index}].groups`))}_updateSingleSelection(Ee,se){(0,d.A)(se,"groups[0].overUnder")&&((0,d.A)(Ee,`positions[${se.index}].groups[0].overUnder`)?Ee.positions[se.index].groups[0].overUnder=se.groups[0].overUnder:Ee.positions[se.index]=se,this._isSelectionUpdated=!0),(0,d.A)(se,"groups[0].handicap")&&((0,d.A)(Ee,`positions[${se.index}].groups[0].handicap`)?Ee.positions[se.index].groups[0].handicap=se.groups[0].handicap:Ee.positions[se.index]=se,this._isSelectionUpdated=!0),(0,d.A)(Ee,`positions[${se.index}].groups[0].selections`)&&((0,d.A)(Ee,"header.offerType")===mt.lF&&(0,h.A)(se.groups[0].selections,be=>{const je=(0,v.A)(Ee.positions[se.index].groups[0].selections,ft=>ft.selectionId===be.selectionId);je&&(be.trend=this._calculateTrendForSelections(be.price,je.price))}),Ee.positions[se.index].groups[0].selections=se.groups[0].selections,this._isSelectionUpdated=!0)}_calculateTrendForSelections(Ee,se){return Ee>se?o.CL.UP:Ee<se?o.CL.DOWN:o.CL.NEUTRAL}updateLiveSidebarHeadersSortedByLeague(Ee,se){const be=Ee[se.sport.sportId],je=Ee[se.sport.sportId].findIndex(kt=>kt.leagueId===se.league.leagueId),ft=Ee[0];(0,m.A)(ft)||this._handleFavoriteLiveSidebarHeaders(se,ft),!(0,m.A)(be)&&(this._handleAddLiveSidebarItemForLeagueFilter(se,be,je)||this._handleRemoveLiveSidebarItemForLeagueFilter(se,be,je)||this._handleUpdateLiveSidebarItemForLeague(se,be[je]))}updateLiveSidebarHeaders(Ee,se){const be=Ee[se.sport.sportId],je=Ee[0];(0,m.A)(je)||this._handleFavoriteLiveSidebarHeaders(se,je),!(0,m.A)(be)&&(this._handleAddLiveSidebarItem(se,be)||this._handleRemoveLiveSidebarItem(se,be)||this._handleUpdateLiveSidebarItem(se,be))}_handleFavoriteLiveSidebarHeaders(Ee,se){this._handleRemoveLiveSidebarItem(Ee,se)||this._handleUpdateLiveSidebarItem(Ee,se)}_handleAddLiveSidebarItemForLeagueFilter(Ee,se,be){if(!this._sidebarDisplayEventStates.includes(Ee.state))return!1;const je=se.findIndex(kt=>kt.leagueId===Ee.league.leagueId);return-1===je?(se.push({...Ee,leagueId:Ee.league.leagueId,leagueName:Ee.league.name,leagueSlug:Ee.league.slug,regionId:Ee.region.regionId,regionName:Ee.region.name,regionSlug:Ee.region.slug,offerSubType:"",events:[Ee],isOpen:!1}),this._orderService.sortLiveSportsSidebarByLeague(se),!0):-1===se[je].events.findIndex(kt=>kt.eventId===Ee.eventId)&&(se[je].events.push(Ee),this._orderService.sortLiveSportsSidebar(se[je].events),!0)}_handleAddLiveSidebarItem(Ee,se){return!(!this._sidebarDisplayEventStates.includes(Ee.state)||!this._isNewEvent(se,Ee)||(se.push(Ee),this._orderService.sortLiveSportsSidebar(se),0))}_handleRemoveLiveSidebarItemForLeagueFilter(Ee,se,be){if(-1==be)return!1;if(this._sidebarInvalidEventStates.includes(Ee.state)){const je=se[be]?.events.findIndex(ft=>ft.eventId===Ee.eventId);return-1!==je&&(this._favoriteService.getFavoriteIds().includes(se[be]?.events[je]?.eventId)&&this._favoriteService.removeMatchId(this._favoriteService.getFavoriteIds(),se[be].events[je]),se[be].events.splice(je,1),se[be].events.length||se.splice(be,1),!0)}return!1}_handleRemoveLiveSidebarItem(Ee,se){if(this._sidebarInvalidEventStates.includes(Ee.state)){const be=se.findIndex(je=>je.eventId===Ee.eventId);return-1!==be&&(this._favoriteService.getFavoriteIds().includes(se[be].eventId)&&this._favoriteService.removeMatchId(this._favoriteService.getFavoriteIds(),se[be]),se.splice(be,1),!0)}return!1}_handleUpdateLiveSidebarItemForLeague(Ee,se){se&&se.events.forEac
1h(be=>{if(be.eventId!==Ee.eventId)return;const je={...be.result.extraData,...(0,d.A)(Ee,"result.extraData",{})};Ee.formattedResult&&(be.formattedResult=Ee.formattedResult),be.result={...be.result,...Ee.result,extraData:je}})}_handleUpdateLiveSidebarItem(Ee,se){se.forEach(be=>{if(be.eventId!==Ee.eventId)return;const je={...be.result.extraData,...(0,d.A)(Ee,"result.extraData",{})};Ee.formattedResult&&(be.formattedResult=Ee.formattedResult),be.result={...be.result,...Ee.result,extraData:je}})}_isNewEvent(Ee,se){return!Ee.some(be=>be.eventId===se.eventId)}_isNewSport(Ee,se){return!Ee.some(be=>be.sportId===se.sportId)}_increaseTriggerIfHasBeenUpdated(Ee){this._checkResultTrigger(Ee),this._checkSelectionTrigger(Ee)}_checkResultTrigger(Ee){this._isResultUpdated&&((0,_.A)(Ee,"resultTrigger")?Ee.resultTrigger++:Ee.resultTrigger=0,this._isResultUpdated=!1)}_checkSelectionTrigger(Ee){this._isSelectionUpdated&&((0,_.A)(Ee,"selectionTrigger")?Ee.selectionTrigger++:Ee.selectionTrigger=0,this._isSelectionUpdated=!1)}_updateHeaderParams(Ee,se){if((0,d.A)(se,"header.matchTime")&&(Ee.header.matchTime=(0,d.A)(se,"header.matchTime")),(0,_.A)(se,"header.offerSubType")&&(0,d.A)(se,"header.offerSubType")!==(0,d.A)(Ee,"header.offerSubType")&&(Ee.header.offerType=se.header.offerType,Ee.header.offerSubType=se.header.offerSubType,Ee.header.formattedResult=se.header.formattedResult,Ee.header.result=se.header.result,Ee.header.matchTime=se.header.matchTime),(0,_.A)(se,"header.topMatch")&&(this.shouldUpdate=!0,this.shouldReorder=!0,Ee.header.topMatch=(0,d.A)(se,"header.topMatch")),(0,_.A)(se,"header.setEventOrder")&&(this.shouldUpdate=!0,this.shouldReorder=!0,Ee.header.setEventOrder=(0,d.A)(se,"header.setEventOrder")),(0,_.A)(se,"header.numberOfVisibleSelections")&&(Ee.header.numberOfVisibleSelections=(0,d.A)(se,"header.numberOfVisibleSelections")),!(0,m.A)((0,d.A)(se,"header.result.extraData"))){const be={...(0,d.A)(Ee,"header.result.extraData",{}),...(0,d.A)(se,"header.result.extraData",{})};if(!Ee.header?.result?.extraData)return;Ee.header.result.extraData=be}}_canRemoveStandard(Ee){return mt.lF===(0,d.A)(Ee.header,"offerSubType")||(0,E.A)([o.c4.RESULTED,o.c4.FINISHED,o.c4.BLOCKED,o.c4.HIDDEN,o.c4.ARCHIVED],(0,d.A)(Ee.header,"state"))}_canRemoveLive(Ee){return(0,E.A)([o.c4.RESULTED,o.c4.FINISHED,o.c4.HIDDEN,o.c4.ARCHIVED],(0,d.A)(Ee.header,"state"))}updateStandardSidebar(Ee,se){const{sidebarSport:be,sidebarRegion:je,sidebarLeague:ft}=this._getOrCreateSidebarItems(Ee,se);if(!se.eventCount)return this._handleRemoveStandardSidebarItem(Ee,be,je,ft,se.leagueId);const kt=se.eventCount-ft.eventCount;kt&&(ft.eventCount=se.eventCount,ct._updateSportEventsCount(be,kt))}_getOrCreateSidebarItems(Ee,se){let be=Ee.find(kt=>kt.sportId===se.sportId);be||(be=ct._createSidebarSport(se),Ee.push(be),this._orderService.sortSportsByOrder(Ee,Ee[0]));let je=be.regions.find(kt=>kt.regionId===se.regionId);je||(je=ct._createSidebarRegion(se),be.regions.push(je),this._orderService.sortRegionsByOrder(be.regions,be.regions[0]));let ft=je.leagues.find(kt=>kt.leagueId===se.leagueId);return ft||(ft=ct._createSidebarLeague(se),je.leagues.push(ft),be.eventCount+=se.eventCount,this._orderService.sortLeaguesByOrder(je.leagues,je.leagues[0])),{sidebarSport:be,sidebarRegion:je,sidebarLeague:ft}}static _createSidebarSport(Ee){return{eventCount:0,sportId:Ee.sportId,name:Ee.sportName,slug:Ee.sportSlug,regions:[]}}static _createSidebarRegion(Ee){return{regionId:Ee.regionId,name:Ee.regionName,slug:Ee.regionSlug,sportId:Ee.sportId,leagues:[]}}static _createSidebarLeague(Ee){return{sportId:Ee.sportId,regionSlug:Ee.regionSlug,regionId:Ee.regionId,eventCount:Ee.eventCount,leagueId:Ee.leagueId,name:Ee.leagueName,slug:Ee.leagueSlug,favoriteLeague:Ee.favoriteLeague,configuredPositions:!0}}_handleRemoveStandardSidebarItem(Ee,se,be,je,ft){const kt=je.eventCount;be.leagues.splice(be.leagues.findIndex(Yt=>Yt.leagueId===ft),1),be.leagues.length||se.regions.splice(se.regions.findIndex(Yt=>
1Yt.regionId===be.regionId),1),se.regions.length?ct._updateSportEventsCount(se,-kt):Ee.splice(Ee.findIndex(Yt=>Yt.sportId===se.sportId),1)}static _updateSportEventsCount(Ee,se){Ee.eventCount+=se}_checkIsFinalResultUpdated(Ee,se){!se||!Ee||(this.reorderIfResultIsUpdated=!(0,Vt.isEqual)(se,Ee))}static{this.\u0275fac=function(se){return new(se||ct)(Re.KVO(De.M),Re.KVO(He.Q),Re.KVO(we.U))}}static{this.\u0275prov=Re.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})()},40872:(he,M,r)=>{"use strict";r.d(M,{F:()=>l});var o=r(60177),i=r(95447);const d={meridianbetrs:{default:{baseTextColor:"#FFFFFF",baseTextColor02:"#FFFFFF",baseTextColor03:"#FFFFFF",baseTextColor04:"#CACACA",baseTextColor05:"#FFFFFF",baseTextColor06:"#D7D7D7",baseTextColor8:"#FFFFFF",modalBackdropBg:"rgba(0,0,0,.8)",baseBackdropBg:"rgba(0,0,0,.75)",baseDonationsBg:"rgba(255, 255, 255, 0)",baseResponsibleGamingColor:"#FACC01",baseBlack:"#030A0E",baseBlack02:"#030A0E",baseBlack05:"#030A0E",baseBlack06:"#030A0E",baseBlack07:"#2D2D2D",baseBlack08:"#030A0E",baseBlack09:"#030A0E",baseBlack10:"#171F14",baseBlack11:"rgba(0, 0, 0, .8)",baseBlack12:"#2D2D2D",baseBlack13:"#FACC01",baseBlack14:"#FFFFFF",baseBlack15:"#D7D7D7",baseBlack16:"#1C4656",baseBlack17:"#193A47",baseBlack18:"#193A47",baseBlack19:"#12222B",baseBlack20:"#14232A",baseBlack21:"#142329",baseBlack22:"#10191d",baseBlack23:"#0E1419",baseBlack24:"#03090D",baseBlack25:"#0E1419",baseWhite01:"#E4E4E4",baseWhite02:"#FFFFFF",baseWhite03:"#FFFFFF",baseWhite04:"#BDBDBD",baseWhite05:"#BDBDBD",baseWhite06:"#CACACA",baseWhite07:"#FFFFFF",baseWhite08:"#B9B9B9",baseWhite09:"#FFFFFF",baseWhite10:"#E4E4E4",baseWhite11:"transparent",baseWhite12:"#BDBDBD",baseWhite13:"#16232A",baseWhite14:"#CACACA",baseWhite15:"#757575",baseWhite16:"#FFFFFF",baseWhite18:"#E4E4E4",baseWhite19:"#E4E4E4",baseWhite20:"#BDBDBD",baseWhite21:"transparent",baseWhite22:"#FFFFFF",baseWhite23:"#E4E4E4",baseWhite24:"transparent",baseWhite25:"#E4E4E4",baseWhite26:"#FFF",baseWhite27:"rgba(255,255,255, .5)",baseWhite28:"#E4E4E4",baseWhite29:"#CACACA",baseWhite30:"#FFFFFF",baseWhite31:"#757575",baseWhite32:"#989898",baseWhite33:"#BDBDBD",baseWhite34:"#FFFFFF",baseWhite35:"#989898",baseWhite36:"#F2F2F2",baseWhite37:"#FFFFFF",baseGradient01:"linear-gradient(90deg, #1C2F38 0%, #16232A 100%);",baseGradient02:" linear-gradient(90deg, #1C2F38 0%, #10181C 100%)",baseGradient03:" linear-gradient(90deg, #1C2F38 0%, #10181C 100%)",baseGradient04:"linear-gradient(to right, rgba(3, 10, 14, 0) 95%, rgba(3, 10, 14, 1) 100%)",baseGradient05:"transparent",baseGradient06:"linear-gradient(to right, #242b34 4%, #0d0f12 28%, #2a363f 74%)",baseGradient07:"linear-gradient(to right, #000000 4%, #303740 28%, #000000 74%)",baseBlue01:"#10181C",baseBlue02:"#16232A",baseBlue03:"#16232A",baseBlue04:"#1C2F38",baseBlue06:"#10181C",baseBlue07:"rgb(0, 0, 0)",baseBlue08:"#1C2F38",baseBlue09:"#1C2F38",baseBlue10:"#16232A",baseBlue12:"#284755",baseBlue13:"#284755",baseBlue16:"#16232A",baseBlue17:"#284755",baseBlue18:"#284755",baseBlue19:"#396F85",baseBlue20:"#396F85",baseBlue21:"#10181C",baseBlue22:"#223B46",baseBlue23:"#284755",baseBlue24:"transparent",baseBlue25:"#223449",baseBlue26:"#223B46",baseBlue27:"#1C2F38",baseBlue28:"#284755",baseBlue29:"#FFFFFF",baseBlue30:"#284755",baseBlue31:"#16232A",baseBlue32:"#8ABACE",baseBlue33:"#223B46",baseBlue34:"#223B46",baseBlue35:"#A2CAFF",baseBlue36:"#FFFFFF",baseBlue37:"#284755",baseBlue38:"#458BA6",baseBlue39:"#1C2F38",baseBlue40:"#2E5465",baseBlue41:"#2E5465",baseBlue42:"#2E5465",baseBlue43:"#2E5465",baseBlue44:"#284755",baseBlue45:"#16232A",baseBlue46:"#284755",baseBlue47:"#1C2F38",baseBlue48:"#1C2F38",baseBlue49:"#284755",baseBlue50:"#284755",baseBlue51:"#17272e",baseBlue52:"#284755",baseBlue53:"#10181C",baseBlue54:"#396F85",baseBlue55:"#2E5465",baseBlue56:"#4999B6",baseBlue57:"#346275",baseBlue58:"#16232A",baseBlue59:"#34627666",baseBlue60:"#1A313C",baseBlue61:"#223B46",baseBlue62:"#223B46",baseBlue63:"#1C2F38",baseBlue64:"#263F4B",baseBlue65:"#3F7D95",baseBlue66:"#1C2F38",baseBlue67:"#16232A",baseBlue68:"#3F7D95",baseBlue69:"#223B46",baseBlue70:"#223B46",baseBlue71:"#456A7866",basePurple01:"#F096FF",baseYellow01:"#FACC01",baseYellow02:"#FACC01",baseYellow03:"#4A3D1B",baseYellow04:"#FACC01",baseYellow05:"#FACC01",baseYellow06:"#FACC01",baseYellow07:"#FACC01",baseYellow08:"#FACC01",baseYellow09:"#FACC01",baseYellow10:"#FACC01",baseYellow11:"#FFBB33",baseYellow12:"#FFBB33",baseYellow13:"#FACC01",baseYellow14:"#FACC01",baseYellow15:"#FFE28C",baseYellow16:"#4A3D1B",baseYellow17:"#FACC01",baseYellow18:"#FACC01",baseYellow19:"#FACC01",baseYellow20:"#FACC01",baseYellow21:"#FACC01",baseHighlight01:"#FACC01",baseHighlight02:"#4A3D1B",baseRed01:"#431B11",baseRed02:"#D11101",baseRed03:"#431B11",baseRed04:"#431B11",baseRed05:"#F68E73",baseRed06:"#FEB4A0",baseRed07:"#C43D2F",baseRed08:"#EA6648",baseGrey02:"#222",baseGrey03:"#CACACA",baseGrey04:"#CACACA",baseGrey05:"#808080",baseGrey06:"rgba(255,255,255, 0.1)",baseGrey07:"#9A9A9A",baseGrey08:"currentColor",baseGrey09:"#D7D7D7",baseGrey10:"#BDBDBD",baseGrey11:"#284755",baseGrey12:"#6A6A6A",baseGrey13:"#262626",baseGrey14:"#FFFFFF",baseGrey15:"#1C2F38",baseGrey16:"#16232A",baseGrey17:"#CACACA",baseGrey18:"#BDBDBD",baseGrey19:"#D7D7D7",baseGrey20:"#FFFFFF",baseGrey21:"#D3D3D3",baseGrey22:"#CACACA",baseGrey23:"#A8B1B6",baseGrey24:"#CDCDCD",baseGrey25:"#D3D3D3",baseGrey26:"#0C161B",baseGrey27:"#DFDFDF",baseGrey28:"#CACACA",baseGrey29:"#FFFFFFB2",baseGrey30:"#8C989B",baseGrey31:"#FFFFFF80",baseGrey32:"#FFFFFF66",baseGrey33:"#87999D",baseGrey34:"#999999",baseGreen:"#203B18",baseGreen02:"#277818",baseGreen03:"#DFF4D6",baseGreen04:"#203B18",baseGreen05:"#9ADC85",baseGreen06:"#234919",baseGreen07:"#1C2C17",baseGreen08:"#BDE8AD",baseGreen09:"#203B1A",transparentWhite:"transparent",baseLimitColor01:"#B4931B",baseLimitColor02:"#FACC01",baseModalBackgroun
1d:"#10181C",baseModalHeaderBackground:"#16232A",baseButtonColor01:"#FFFFFF",baseButtonColor02:"#FACC01",baseAccountBlue01:"#10181C",baseAccountBlue03:"#1C2F38",baseAccountBlue04:"#284755",baseAccountBlue05:"#396F85",baseAccountBlue06:"#223B46",baseAccountBlue07:"#1C2F38",baseAccountBlue08:"#1C2F38",baseAccountBlue09:"#284755",baseAccountButtonBg:"#284755",baseAccountButtonBgHover:"transparent",baseAccountSettingsColor01:"#BDBDBD",baseAccountSettingsColor02:"#396F85",baseAccountSettingsColor05:"#FFFFFF",baseAccountSettingsColor06:"#1C2F38",baseAccountSettingsColor07:"#BDBDBD",baseAccountSettingsColor08:"#BDBDBD",baseAccountSettingsColor09:"#FFFFFF",baseAccountSettingsColor10:"#396F85",baseAccountSettingsColor11:"#396F85",baseAccountWhite05:"#284755",baseAccountWhite06:"#ffffff",baseAccountSelect:"#111111",baseAccountSelectBg:"#FACC01",baseAccountWhite07:"#F4F4F4",baseAccountWhite08:"#222222",baseAccountWhite09:"transparent",accountSliderCheckedBgColor:"#5E4E1D",accountSliderDiscCheckedBgColor:"#FACC01",accountSliderNotCheckedBgColor:"#10181C",accountSliderDiscNotCheckedBgColor:"#396F85",limitTitleColor:"#ffffff",limitDescriptionColor:"#BDBDBD",limitCardBgColor:"#284755",limitActiveStatusBgColor:"#203B18",limitTimeStatusColor:"#08A0FF",limitTimeStatusBgColor:"#223449",limitStatusBgColor:"#1C2F38",limitStatusEffectiveColor:"#BDBDBD",limitStatusEffectiveBgColor:"#2D2D2D",limitActiveStatusColor:"#17BB00",limitStatusColor:"#ffffff",limitEditButtonBgHoverColor:"#223B46",limitRadioButtonBorderColor:"#396F85",limitRadioButtonCheckBgColor:"#396F85",limitRadioButtonCheckBorderColor:"#10181C",limitCardActiveBgColor:"#396F85",limitRadioButtonIsCheckedBgColor:"#FACC01",limitCardLabelBgColor:"#396F85",limitCardActiveBorderColor:"#FACC01",dropdownItemRounderMark:"#223449",dropdownItemsBgColor:"#16232A",dropdownItemBgColorHover:"#10181C",loaderTrackColor:"#9A9A9A",maxBankAccountLabelColor:"#BDBDBD",bankAccountVerificationMessage:"#FFFFFF",bankAccountVerificationStatusNotVerifiedBackground:"#431B11",bankAccountVerificationStatusNotVerifiedColor:"#E25132",bankAccountVerificationStatusNotVerifiedBorder:"#E25132",bankAccountVerificationStatusVerifiedBackground:"#203B18",bankAccountVerificationStatusVerifiedColor:"#5EC846",bankAccountVerificationStatusVerifiedBorder:"#5EC846",bankAccountNumberColor:"#BDBDBD",bankAccountFileUploaderBorder:"#3F7D95",bankAccountAddNewAccountColor:"#CBA617",bankAccountPrimaryAccountColor:"#FFFFFF",bankAccountLineSeparatorColor:"#4C5E68",depositModalBgColor:"#10181C",depositModalHeaderBackground:"#16232A",depositModalTitleColor:"#FFFFFF",depositModalInfoColor:"#D7D7D7",depositModalCardAmountBg:"#16232A",depositModalCardAmountColor:"#FFFFFF",depositModalCurrencyColor:"#D7D7D7",depositModalMinMaxInfoColor:"#989898",depositModalCancelButtonColor:"#CACACA",searchSportBackground:"#FACC01",searchEventBackground:"#FFFFFF0D",searchSportNavigationBackground:"#051720",liveSportTabSelected:"#25581A",liveSportTabHover:"#1f4816",standardSportTabHover:"#16232A",topLiveSectionBackground:"linear-gradient(165deg, #234919 30px, #030A0E 16vw)",topStandardSectionBackground:"linear-gradient(165deg, #26405E 30px, #030A0E 16vw)",defaultSectionBackground:"linear-gradient(160deg, #284755 5vw, #030A0E 22vw)",recommendedMatchesBg:"linear-gradient(172deg, #007172 6.47%, transparent 30.07%)",featuredMatchBackground:"linear-gradient(170deg, #284755 7.47%, #030A0E 40.07%);",featuredMatchBackgroundV2:"linear-gradient(170deg, #D1160D -33.31%, #030A0E 11.53vw)",searchfeaturedMatchesBg:"linear-gradient(172deg, #284755 6.47%, transparent 30.07%)",featuredMatchBackgroundGradient01:"linear-gradient(180.02deg, rgba(0, 0, 0, 0.54) 20.01%, rgba(0, 0, 0, 0.6) 73.07%)",featuredMatchBackgroundGradient02:"linear-gradient(180.02deg, rgba(0, 0, 0, 0.36) 20.01%, rgba(0, 0, 0, 0.48) 73.07%)",featuredMatchBackgroundGradient03:"linear-gradient(180.36deg, rgba(0, 0, 0, 0.8) 25.54%, rgba(0, 0, 0, 0.45) 92.49%)",featuredMatchItemGameBackground:"transparent",featuredMatchBackgroundImageFootball:"url('../../assets/images/featured-match/featured_match_background_football.png')",featuredMatchBackgroun
1dImageBasketball:"url('../../assets/images/featured-match/featured_match_background_basketball.png')",featuredMatchBackgroundImageTennis:"url('../../assets/images/featured-match/featured_match_background_tennis.png')",featuredMatchBackgroundImageOther:"url('../../assets/images/featured-match/featured_match_background_other.png')",featuredMatchBackgroundImageV2:"linear-gradient(78.09deg, #D01B20 0%, #291107 100%)",eventGamesBg:"#383838",eventGameTitleBg:"rgba(0, 0, 0, 0.1)",eventHeaderColor:"#b9b9b9",eventRivalsColor:"#dedede",eventScoreColor:"#d7d7d7",sectionHeaderBg:"#212121",selectionBoxShadow:"#595959",selectionDisabledColor:"rgba(255, 255, 255, .2)",selectionDisablegBg:"rgba(0, 0, 0, 0.05)",earlyPayoutNameBackground:"linear-gradient(177deg, var(--base-green-17) -5%, var(--base-blue-06) 50%)",marketSubstitutionNameBackground:"linear-gradient(177deg,#084b42 -5%, rgba(3, 10, 14, 0.6) 50%)",marketSubstitutionNameTextColor:"linear-gradient(236.9deg, #09E3CD 30.29%, #11D2AE 74.03%)",boostedOddsBackground:"linear-gradient(177deg, var(--base-blue-14) -5%, var(--base-blue-06) 50%)",earlyPayoutExplanationBackground:"transparent",earlyPayoutEventFilterBackground:"#030A0E",earlyPayoutBackground:"#2E776D59",earlyPayoutText:"#3CE4A9",inputColor:"#fff",registrationModalBg:"#10181C",modalBg:"#212121",modalHeaderBorder:"#575656",breadcrumbBg:"#3D3D3D",modalFooterBorder:"rgba(255, 255, 255, 0.25)",buttonColor:"#dedede",buttonDisabledBg:"#d7d7d7b8",buttonDisabledColor:"#4949492b",buttonHover:"#868585",buttonSuccessHoverBg:"#77b300",buttonVirtaulsBGLigter:"rgba(255,255,255,.25)",transparentBgColor:"#ffffff1a",transparentBgColorLighter:"#ffffff0d",accountContent:"#BDBDBD",accountContentBgColor:"#383838",accountContentBgColorHover:"#2b2b2b",defaultSidebarScroller:"#3b3b3b",sidebarLinkCounterBg:"#3b3b3b",sidebarScroller:"#3b3b3b",fastTicketBallBg:"#ffbb33",fastTicketSelectionBg:"#cccccc20",singleEventSelection:"#3D3D3D",iconCasinoColor:"#FACC01",seoTextShadowColor:"rgba(0,0,0,0.4)",noResultDescription:"#CACACA",primaryBoxShadow:"0px 4px 4px rgba(0, 0, 0, 0.25), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.12)",borderRadius:"0",sportSearchBackground:"linear-gradient(180deg, rgba(22, 37, 45, 0.85) 19.84%, rgba(22, 37, 45, 0.17) 58.98%)",sportSearchBackground02:"#00151fe8",betboostBackgroundColor:"linear-gradient(170deg, #D1160D -33.31%, #030A0E 11.53vw)",betboostBackgroundLeagueColor:"linear-gradient(172deg, #D1160D -33%, #030A0E 38.53%)",betboostTabBackgroun
1dColor:"#651F10",betboostCardBackgroundColor:"rgba(0, 0, 0, 0.5)",betboostCardBorderColor:"#651F10",betboostAccentColor:"#FEB4A0",betboostOddBackgroundColor:"#231611",betboostBettingRivalColor:"#D7D7D7",betboostLeaugeHeaderBg:"transparent",betboostTicketSelectionHighlightColor:"#FACC01",betboostTicketOddColor:"#FACC01",singleBetboostBgColor:"linear-gradient(174deg, #5B100E -3.3%, #10181C 41.08%)",singleNotificationBackground:"linear-gradient(340deg, #030A0E 50%, #153414 99%)",singleNotificationBackground2:"linear-gradient(340deg, #030A0E 50%, #370063 99%)",singleNotificationBackground3:"linear-gradient(340deg, #030A0E 50%, #183740 99%)",singleNotificationBackground4:"linear-gradient(340deg, #030A0E 50%, #4F2A17 99%)",notificationsBackground:"#204622",infoNotificationBorder:"#2C4653",missionsNotificaionBorder:"#A36240",missionsNotificaionBorder2:"#4F3324",missionsGold:"#FFB189",missionInfoModalTextBg:"linear-gradient(180deg, #E7E7E7 0%, #C3C3C3 100%)",missionInfoModalPoints:"linear-gradient(180deg, #fff 0%, #BEBEBE 100%)",missionClockBackground:"linear-gradient(180deg,rgba(255, 255, 255, 0.88) 0%,rgba(153, 153, 153, 0.88) 100%)",notificationDividerLineBonus:"linear-gradient(90deg, transparent 0%, #1B3D13 51.44%, transparent 100%)",greenStatusBg:"#1C2C17",greenStatusText:"#FFFFFF",greenStatusCircleBorder:"#203B18",greenStatusCircleBg:"#17BB00",redStatusBg:"#331912",redStatusBg02:"#431B11",redStatusText:"#FFFFFF",redStatusCircleBorder:"#431B11",redStatusCircleBg:"#D11101",yellowStatusBg:"#372E18",yellowStatusText:"#FFFFFF",yellowStatusCircleBorder:"#4A3D1B",yellowStatusCircleBg:"#FACC01",greyStatusBg:"#232323",greytatusText:"#FFFFFF",greyStatusCircleBorder:"#2D2D2D",greyStatusCircleBg:"#808080",brownStatusBg:"#2A1E13",brownStatusText:"#FFFFFF",brownStatusCircleBorder:"#362413",brownStatusCircleBg:"#9D5B00",rejectBtnBorder:"#396F85",rejectBtnColor:"#FFFFFF",giftIconColor:"#FACC01",ticketWidgetBorderColor:"rgba(255, 255, 255, 0.12)",ticketWidgetDarkBackground:"#3D3D3D",ticketWidgetDarkerBackground:"#2F2F2F",ticketWidgetDarkestBacground:"#222222",ticketWidgetArrowsNeutral:"#E9E9E9",ticketWidgetIconNeutral:"#BDBDBD",ticketWidgetIconBright:"#BDBDBD",ticketWidgetTextSelected:"rgba(255, 255, 255, 0.82)",ticketWidgetYellowColor:"#FFBB33",dinaPrimary:"#FFF",dinaSecondary:"#FFF",promotionCardBg:"#141B27CC",promotionCardBorder:"#222737",promotionCardCategoryBg:"#070D19CC",promotionCardCategoryColor:"#FACC04",promotionSectionTitle:"#F6F6F6",promotionSectionCondition:"#949DAC",promotionSectionInfo:"rgba(148, 157, 172, 0.5)",promotionSectionInfoActive:"#FFFFFF",promotionTooltipBg:"rgba(11, 11, 23, 0.94)",promotionTooltipText:"#949DAC",promotionLink:"rgba(116, 130, 155, 1)",promotionEmptyStateText:"#969696",promotionEmptyStateIcon:"#969696",promotionHistoryCardBg:"#1A1F2A",promotionHistoryCardBorder:"transparent",promotionHistoryCardColor:"#FFFFFF",promotionHistoryCardColorDate:"#EEF0F1",promotionHistoryCardBgBorder:"#24314d",promotionHistoryTextColor:"#949DAC",promotionHistoryDate:"#EEF0F1",promotionPotentialRewardBorder:"#6E6E6E",promotionPotentialRewardBg:"#FFFFFF1A",promotionPotentialRewardText:"linear-gradient(180deg, #F6F6F6 0%, #909090 100%)",promotionExpiresBorder:"#FFD036",promotionExpiresBorderWigget:"#FFD036",promotionExpiresColor:"#FDEEDD",promotionIconLock:"#CECECE",promotionsRewardTagBg:"#2A2F3A",promotionsRewardTagShadow:"#00000040",singlePromoDetailColor:"#FFC72B",singlePromotionCardBg:"radial-gradient(63.37% 16.35% at 50% 100%, rgba(255, 199, 43, 0.1) 0%, #141B27CC 100%)",singlePromotionCardPercentage:"#CED441",singlePromotionCardPercentageBarBg:"linear-gradient(0deg, #253248, #253248), linear-gradient(90deg, rgba(18, 24, 36, 0.3) 56.32%, rgba(18, 24, 36, 0) 73.68%)",expiredStatusBg:"#83838333",expiredStatusText:"#BABABA",canceledStatusBg:"#B91C1C33",canceledStatusText:"#CF1B1B",completedStatusBg:"#15803D33",completedStatusText:"#29BC60",ejectedStatusBg:"#A1620733",ejectedStatusText:"#E99214",promotionNavigationBottom:"linear-gradient(90deg, rgba(250, 204, 1, 0) -1.42%, #FACC01 50.23%, rgba(250, 204, 1, 0) 100%)",promotionNavigationBottomRound:"radial-gradient(90% 60% at 50% 114%, #FCD
1B4D 0%, rgba(255, 252, 252, 0) 58.29%);",promotionNavigationButtonSelected:"linear-gradient(180deg, #FFFFFF 0%, #FCDB4D 100%)",promotionNavigationButton:"#8E8484",promotionNavigationTitle:"#FFC72B",promotionChoiceBg:"linear-gradient(341.85deg, #030A0E 66.25%, #183740 99.41%)",promotionChoiceDevider:"linear-gradient(90deg, rgba(17, 42, 51, 0.5) 0%, rgba(74, 153, 182, 0.5) 51.44%, rgba(17, 42, 51, 0.5) 100%)",promotionChoiceCardBorder:"#223B46",promotionChoiceCardBorderSelected:"#396F85",promotionChoiceCardBgSelected:"#1B3541",promotionChoiceButtonBorder:"#FFC72B99",promotionChoiceButtonColor:"#FFC72B",promotionChoiceCheckboxBg:" #3462754D",promotionChoiceCheckboxBorder:"#223B46",promotionChoiceCheckboxBgChecked:" #0F1C22",promotionChoiceCheckboxBorderChecked:"#0F1C22",promotionChoiceCheckboxIconChecked:"#FFFFFF",questionnareTextColor:"#D7D7D7",questionnareMessage:"#BDBDBD",questionnaireModalBody:"#1081C",questionnaireModalBackground:"#10181C",questionnaireButtonHover:"#FFFFFF",questionnaireButtonAnswerBorder:"#284755",questionnaireButtonAnswerBackground:"#16232A",questionnaireButtonAnswerChecked:"#FACC01",questionnaireTextareaBorder:"#284755",questionnaireTextareaBackground:"#16232A",questionnaireRejectButton:"#FFFFFF",questionnaireAlertIcon:"#FACC01",missionsDefaultLogoColor:"#FFFFFF",qrValidationBackground:"rgba(28, 47, 56, 1)",simulationGradient:"linear-gradient(347.21deg, rgba(1, 7, 12, 0) 46.41%, #062F46 91.51%)",simulationGradientBlue:"linear-gradient(347.21deg, rgba(1, 7, 12, 0) 46.41%, #062F46 91.51%)",leaguePageMatchInformationBg:"linear-gradient(180deg, var(--base-blue-06) 0%, var(--base-blue-02) 100%)",leagueCountriesListFadeBg:"linear-gradient(270deg, var(--base-blue-06) 0%, rgba(3, 10, 14, 0) 100%)",leagueCountryFlagBorder:"linear-gradient(180deg, #1bf953 0%, rgba(27, 249, 83, 0.4) 100%)",tournamentGroupInnerBg:"radial-gradient(49.85% 79.64% at 50.15% 100%, #62aecc33 0%, #81dbff00 100%), linear-gradient(0deg, #10181c, #10181c)",tournamentRoundsInnerBg:"linear-gradient(180deg, #030A0E 0%, #16232A 100%);",tournamentRoundsBorderBg:"#2E526F",tournamentRoundsOutterBg:"linear-gradient(90deg, #182E36 0%, #10181C 100%)",tournamentRoundsFinaleBg:"linear-gradient(180deg, #030A0E 0%, #16232A 40%, #144438 100%)",playoffPenaltiesBg:"#F1151530",playoffOvertimeBg:"#FACC0430",playerChipInnerBg:"linear-gradient(180deg, #030A0E 0%, #16232A 100%)",playerChipOuterBg:"linear-gradient(180deg, #091821 0%, #173357 100%)",highlightedEventBgColor:"linear-gradient(90deg, rgb(50 94 44 / 40%) 0%, rgba(1, 76, 62, 0.4) 100%)",verificationModalBackground:"linear-gradient(180deg, #1C2F38 0%, #1c2f3800 22%), #10181C",verificationModalBorder:"#FFFFFF24",bonusReportBorderColor:"#1C4858",bonusReportTabBgColor:"#153139",bonusReportTabTextColor:"#FFFFFF",bonusReportBgColor:"#010A0D",bonusReportTitleColor:"#FFFFFF",bonusReportTitleBgColor:"linear-gradient(0deg, #12232B, #12232B), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(90deg, rgba(14, 28, 34, 0.64) 64.54%, rgba(14, 28, 34, 0) 93.42%)",bonusReportDetailsBgColor:"#12232B",bonusReportLineColor:"rgba(255, 255, 255, 0.5)",bonusReportEmptyBonusTitleColor:"#FFFFFF",bonusReportEmptyBonusContentColor:"#A3A4A5",bonusReportAmountColor:"#FFFFFF",bonusReportBadgeNewBg:"rgba(55, 191, 255, 0.39)",bonusReportBadgeNewColor:"#E6E5E5",bonusReportBadgeSeenBg:"rgba(58, 116, 143, 0.2)",bonusReportBadgeSeenColor:"#BABABA",bonusReportBadgeRejectedBg:"rgba(185, 28, 28, 0.28)",bonusReportBadgeRejectedColor:"#FF4242",bonusReportBadgeExpiredBg:"rgba(131, 131, 131, 0.2)",bonusReportBadgeExpiredColor:"#BABABA",bonusReportBadgeAcceptedBg:"rgba(21, 128, 61, 0.2)",bonusReportBadgeAcceptedColor:"#29BC60",promotionChoiceModalBorder:"#4A9AB7",promotionChoiceModalBorder02:"1px solid #4A9AB7",promotionChoiceModalBorder03:"none",promotionChoiceModalBg:"linear-gradient(341.85deg, #030A0E 66.25%, #183740 99.41%)",promotionChoiceModalDevider:"linear-gradient(90deg, rgba(8, 12, 31, 0) 0%, #2C4653 51.44%, rgba(8, 12, 31, 0) 100%)",promotionChoiceModalRewardBorder:"#FFFFFF3D",promotionChoiceModalRewardBorderSelected:"#FFD036",promotionCh
1oiceModalRewardBg:"#131821",promotionChoiceRewardSportGradient:"linear-gradient(180deg, #40FA8B 0%, #017440 100%)",promotionChoiceRewardCasinoGradient:"linear-gradient(180deg, #C34AFF 0%, #8B47FF 100%)",promotionChoiceRewardFreeSpinsGradient:"linear-gradient(180deg, #40FAF7 0%, #0081BD 100%)",promotionChoiceRewardMissionPointsGradient:"linear-gradient(180deg, #FF8F4A 0%, #FF5447 100%)",promotionChoiceRewardTitleGradient:"linear-gradient(180deg, #FFFFFF 0%, #CACACA 100%)",firstExperienceModalHeader:"radial-gradient(60% 90% at 50% 0%, #B91017 0%, #B9101700 100%)",firstExperienceBackground:"#131313",firstExperienceBorder:"#B61117",firstExperienceStep:"#FFFFFF57",firstExperienceActiveStep:"#FF0000",firstExperienceDescription:"#9D9D9D",firstExperienceBtnColor:"#000000",firstExperienceBtnBackground:"#F3F3F3"},light:{baseTextColor:"#111111",baseTextColor02:"#000000",baseTextColor03:"#2D2D2D",baseTextColor04:"#757575",baseTextColor05:"#171717",baseTextColor06:"#171717",baseTextColor8:"#171717",modalBackdropBg:"rgba(0,0,0,.6)",baseBackdropBg:"rgba(255,255,255,.75)",baseDonationsBg:"rgba(0, 0, 0, 0.16)",baseResponsibleGamingColor:"#17BB00",baseBlack:"#ffffff",baseBlack02:"#D7D7D7",baseBlack05:"#FFFFFF",baseBlack06:"#E4E4E4",baseBlack07:"#FFF",baseBlack08:"#FFF",baseBlack09:"transparent",baseBlack10:"#FFFFFF",baseBlack11:"rgba(255, 255, 255, .8)",baseBlack12:"#757575",baseBlack13:"#2D2D2D",baseBlack14:"#2D2D2D",baseBlack15:"#757575",baseBlack16:"#dededeff",baseBlack17:"#EEEEEE",baseBlack18:"#EEEEEE",baseBlack19:"#FFFFFF",baseBlack20:"transparent",baseBlack21:"#FFFFFF",baseBlack22:"#F2F2F2",baseBlack23:"#FFFFFF",baseBlack24:"#D6D6D6",baseBlack25:"#EBEBEB",baseWhite01:"#2D2D2D",baseWhite02:"#757575",baseWhite03:"#3E3D3D",baseWhite04:"#3E3D3D",baseWhite05:"#757575",baseWhite06:"#757575",baseWhite07:"#363636",baseWhite08:"#2D2D2D",baseWhite09:"#000000",baseWhite10:"#757575",baseWhite11:"#D7D7D7",baseWhite12:"#2D2D2D",baseWhite13:"#D7D7D7",baseWhite14:"#2D2D2D",baseWhite15:"#BDBDBD",baseWhite16:"#2D2D2D",baseWhite18:"#4A4A4A",baseWhite19:"#1A1A1A",baseWhite20:"#FFFFFF",baseWhite21:"#FFFFFF",baseWhite22:"#1A1A1A",baseWhite23:"#284755",baseWhite24:"#D7D7D7",baseWhite25:"#363636",baseWhite26:"#989898",baseWhite27:"rgba(0,0,0, .5)",baseWhite28:"#555555",baseWhite29:"#989898",baseWhite30:"#2D2D2D",baseWhite31:"#FFFFFF",baseWhite32:"#757575",baseWhite33:"#757575",baseWhite34:"#CACACA",baseWhite36:"#000000",baseWhite37:"#10181C",baseGradient01:"#ffffff",baseGradient02:"#F2F2F2",baseGradient03:"#ffffff",baseGradient04:"linear-gradient(to right, rgba(228, 228, 228, 0) 95%, rgba(228, 228, 228, 1) 100%)",baseGradient05:"linear-gradient(270deg, #F2F2F2 0%, rgba(242, 242, 242, 0) 6.62%)",baseGradient06:"linear-gradient(to right, #ffffff 15%, #c9c9c9 28%, #ffffff 74%)",baseGradient07:"linear-gradient(to right, #ffffff 4%, #f1f0f0 28%, #ffffff 74%)",baseBlue01:"#E4E4E4",baseBlue02:"#ffffff",baseBlue03:"#FFFFFF",baseBlue04:"#284755",baseBlue06:"#F2F2F2",baseBlue07:"#E1EBF1",baseBlue08:"#E4E4E4",baseBlue09:"#F2F2F2",baseBlue10:"#E4E4E4",baseBlue12:"#757575",baseBlue13:"#f2f2f2",baseBlue16:"#F2F2F2",baseBlue17:"#E3E3E3",baseBlue18:"#D7D7D7",baseBlue19:"#284755",baseBlue20:"#FACC01",baseBlue21:"#FFFFFF",baseBlue22:"#D7D7D7",baseBlue23:"#E4E4E4",baseBlue24:"#284755",baseBlue25:"#E2EDFF",baseBlue26:"#E4E4E4",baseBlue27:"#D7D7D7",baseBlue28:"#BDBDBD",baseBlue29:"#284755",baseBlue30:"#D7D7D7",baseBlue31:"#fff",baseBlue32:"#757575",baseBlue33:"#F2F2F2",baseBlue34:"#E4E4E4",baseBlue35:"#08A0FF",baseBlue36:"#223B46",baseBlue37:"#CACACA",baseBlue38:"#2D2D2D",baseBlue39:"#CACACA",baseBlue40:"#D7D7D7",baseBlue41:"#2D2D2D",baseBlue42:"#CACACA",baseBlue43:"#D7D7D7",baseBlue44:"#D7D7D7",baseBlue45:"#FFFFFF",baseBlue46:"#284755",baseBlue47:"#E4E4E4",baseBlue48:"#FFFFFF",baseBlue49:"#D1D1D2",baseBlue50:"#F4F4F4",baseBlue51:"#f3f3f3",baseBlue52:"transparent",baseBlue53:"transparent",baseBlue54:"#346275",baseBlue55:"#17BB00",baseBlue56:"#CACACA",baseBlue57:"#D4D4D4",baseBlue58:"#EEEEEE",baseBlue59:"#878787",baseBlue60:"#E5E5E5",baseBlue61:"#FFFFFF",baseBlue62:"#E0E0E0",baseBlue63:"#FFFFFF",baseBlue64:"#EEEEEE",baseBlue65:"#3F
17D95",baseBlue66:"#EEEEEE",baseBlue67:"#F8F8F8",baseBlue68:"#BDBDBD",baseBlue69:"#B3B3B3",baseBlue70:"#F2F2F2",baseBlue71:"#D6D6D6",basePurple01:"#D500FF",baseYellow01:"#757575",baseYellow02:"#2D2D2D",baseYellow03:"#FACC01",baseYellow04:"#4A3D1B",baseYellow05:"#CBA617",baseYellow06:"#284755",baseYellow07:"#284755",baseYellow08:"transparent",baseYellow09:"#1A1A1A",baseYellow10:"#10181C",baseYellow11:"#2D2D2D",baseYellow12:"#17BB00",baseYellow13:"#FFFFFF",baseYellow14:"#735E1E",baseYellow15:"#CBA617",baseYellow16:"#FFECB3",baseYellow17:"#17BB00",baseYellow18:"#D7D7D7",baseYellow19:"#1FAA0C",baseYellow20:"unset",baseYellow21:"#00BE00",baseHighlight01:"#17BB00",baseHighlight02:"#BDE8AD",baseRed01:"#D11101",baseRed02:"#e3e3e3",baseRed03:"#FFD9CF",baseRed04:"#F68E73",baseRed05:"#431B11",baseRed06:"#D11101",baseRed07:"#C43D2F",baseRed08:"#D11101",baseGrey02:"#FBFBFB",baseGrey03:"#363636",baseGrey04:"#979797",baseGrey05:"#979797",baseGrey06:"#D7D7D7",baseGrey07:"#1A1A1A",baseGrey08:"#ffffff",baseGrey09:"#2D2D2D",baseGrey10:"#111111",baseGrey11:"#D7D7D7",baseGrey12:"#989898",baseGrey13:"#ffffff",baseGrey14:"#F2F2F2",baseGrey15:"#f5f2f2",baseGrey16:"#f5f2f2",baseGrey17:"#7a7878",baseGrey18:"#9E9FA0",baseGrey19:"#000000",baseGrey20:"#000000",baseGrey21:"#D3D3D3",baseGrey22:"#555555",baseGrey23:"#757575",baseGrey24:"#757575",baseGrey25:"#1A1A1A",baseGrey26:"#DADADA",baseGrey27:"#10181C",baseGrey28:"#828B7F",baseGrey29:"#929292",baseGrey30:"#8C989B",baseGrey31:"#00000080",baseGrey32:"#89898966",baseGrey33:"#929292",baseGrey34:"#5D5D5D",baseGreen:"#DFF4D6",baseGreen02:"#9ADC85",baseGreen03:"#277818",baseGreen04:"#9ADC85",baseGreen05:"#203B18",baseGreen06:"#D7D7D7",baseGreen07:"#FFFFFF",baseGreen08:"#17BB00",baseGreen09:"#DFF4D6",transparentWhite:"#BDBDBD",baseLimitColor01:"#284755",baseLimitColor02:"#284755",baseModalBackground:"#F2F2F2",baseModalHeaderBackground:"#E4E4E4",baseButtonColor01:"#2D2D2D",baseButtonColor02:"#396F85",baseAccountBlue01:"rgba(185,185,185, .5)",baseAccountBlue03:"#FFFFFF",baseAccountBlue04:"rgba(185,185,185, .5)",baseAccountBlue05:"rgba(185,185,185, .5)",baseAccountBlue06:"#EEEEEE",baseAccountBlue07:"#F4F4F4",baseAccountBlue08:"#1C2F38",baseAccountBlue09:"#FFFFFF",baseAccountButtonBg:"transparent",baseAccountButtonBgHover:"rgba(185,185,185, .5)",baseAccountSettingsColor01:"#979797",baseAccountSettingsColor02:"#D11101",baseAccountSettingsColor05:"#A3A4A5",baseAccountSettingsColor06:"#EEEEEE",baseAccountSettingsColor07:"#000000",baseAccountSettingsColor08:"#A3A4A5",baseAccountSettingsColor09:"#2D2D2D",baseAccountSettingsColor10:"transparent",baseAccountSettingsColor11:"#B9B9B9",baseAccountWhite05:"#FFFFFF",baseAccountWhite06:"#222222",baseAccountSelect:"#FFFFFF",baseAccountSelectBg:"#17BB00",baseAccountWhite07:"#777777",baseAccountWhite08:"#ffffff",baseA
1ccountWhite09:"rgba(185, 185, 185, 50%)",accountSliderCheckedBgColor:"#BDE8AD",accountSliderDiscCheckedBgColor:"#17BB00",accountSliderNotCheckedBgColor:"#D7D7D7",accountSliderDiscNotCheckedBgColor:"#757575",limitTitleColor:"#2D2D2D",limitDescriptionColor:"#757575",limitCardBgColor:"#ffffff",limitActiveStatusBgColor:"#EFF9EA",limitTimeStatusColor:"#08A0FF",limitTimeStatusBgColor:"#F1F6FF",limitStatusBgColor:"#F2F2F2",limitStatusEffectiveColor:"#BDBDBD",limitStatusEffectiveBgColor:"#F2F2F2",limitActiveStatusColor:"#17BB00",limitStatusColor:"#2D2D2D",limitEditButtonBgHoverColor:"#F2F2F2",limitRadioButtonBorderColor:"#D7D7D7",limitRadioButtonCheckBgColor:"#757575",limitRadioButtonCheckBorderColor:"#D7D7D7",limitCardActiveBgColor:"transparent",limitRadioButtonIsCheckedBgColor:"#17BB00",limitCardLabelBgColor:"#EFF9EA",limitCardActiveBorderColor:"#17BB00",dropdownItemRounderMark:"#D3E4FF",dropdownItemsBgColor:"#F2F2F2",dropdownItemBgColorHover:"#E4E4E4",loaderTrackColor:"#D7D7D7",maxBankAccountLabelColor:"#555555",bankAccountVerificationMessage:"#2D2D2D",bankAccountVerificationStatusNotVerifiedBackground:"#FFC7B7",bankAccountVerificationStatusNotVerifiedColor:"#D11101",bankAccountVerificationStatusNotVerifiedBorder:"#D11101",bankAccountVerificationStatusVerifiedBackground:"#CEEEC2",bankAccountVerificationStatusVerifiedColor:"#239912",bankAccountVerificationStatusVerifiedBorder:"#239912",bankAccountNumberColor:"#555555",bankAccountFileUploaderBorder:"#3F7D95",bankAccountAddNewAccountColor:"#396F85",bankAccountPrimaryAccountColor:"#2D2D2D",bankAccountLineSeparatorColor:"#D8D8D8",depositModalBgColor:"#FFFFFF",depositModalHeaderBackground:"#F2F2F2",depositModalTitleColor:"#222222",depositModalInfoColor:"#444444",depositModalCardAmountBg:"#FFFFFF",depositModalCardAmountColor:"#808080",depositModalCurrencyColor:"#888888",depositModalMinMaxInfoColor:"#9D9D9D",depositModalCancelButtonColor:"#444444",searchSportBackground:"#D11101",searchEventBackground:"#E4E4E466",searchSportNavigationBackground:"linear-gradient(90deg, #fcfcfc 0%, #f6f6f6 100%)",liveSportTabSelected:"#284755",liveSportTabHover:"#DFDFDF",standardSportTabHover:"#DFDFDF",topLiveSectionBackground:"#F2F2F2",topStandardSectionBackground:"#F2F2F2",defaultSectionBackground:"#F2F2F2",recommendedMatchesBg:"transparent",featuredMatchBackground:"#F2F2F2",searchfeaturedMatchesBg:"transparent",featuredMatchBackgroundGradient01:"linear-gradient(180.02deg, rgba(255, 255, 255, 0.9) 20.01%, rgba(255, 255, 255, 0.9) 73.07%)",featuredMatchBackgroundGradient02:"linear-gradient(180.02deg, rgba(255, 255, 255, 0.85) 20.01%, rgba(255, 255, 255, 0.85) 73.07%)",featuredMatchBackgroundGradient03:"linear-gradient(180.02deg, rgba(255, 255, 255, 0.80) 20.01%, rgba(255, 255, 255, 0.80) 73.07%)",featuredMatchItemGameBackground:"#FFFFFF",featuredMatchBackgroundImageFootball:"url('../../assets/images/featured-match/featured_match_gray_background_football.png')",featuredMatchBackgroundImageBasketball:"url('../../assets/images/featured-match/featured_match_gray_background_basketball.png')",featuredMatchBackgroundImageTennis:"url('../../assets/images/featured-match/featured_match_gray_background_tennis.png')",featuredMatchBackgroundImageOther:"url('../../assets/images/featured-match/featured_match_gray_background_other.png')",featuredMatchBackgroundImageV2:"linear-gradient(78.09deg, #284755 0%, #071B29 100%)",eventGamesBg:"inherit",eventGameTitleBg:"#FFF",eventHeaderColor:"#666",eventRivalsColor:"#444",eventScoreColor:"#666",sectionHeaderBg:"#444",selectionBoxShadow:"#fff",selectionDisabledColor:"#888",selectionDisablegBg:"rgba(0, 0, 0, 0.05)",earlyPayoutNameBackground:"#F2F2F2",marketSubstitutionNameBackground:"#F2F2F2",marketSubstitutionNameTextColor:"linear-gradient(236.9deg, #00D0BB 30.29%, #00C39F 74.03%)",boostedOddsBackground:"#F2F2F2",earlyPayoutExplanationBackground:"#FFFFFF",earlyPayoutEventFilterBackground:"#FFFFFF",earlyPayoutBackground:"#EFEFEF",earlyPayoutText:"#17BB00",inputColor:"#444",registrationModalBg:"#fff",modalBg:"#f6f6f6",modalHeaderBorder:"#d7d7d7",breadcrumbBg:"#fff",buttonBorder:"rgba(0, 0, 0, 0.1)",modalFooterBorder:"#CCC",buttonColor:"#666",buttonDisabledBg:"#d7d7d7b8",buttonDisabledColor:"#4949492b",buttonHover:"rgba(0, 0, 0, 0.3)",buttonSuccessHoverBg:"#77b300",buttonVirtaulsBGLigter:"#FFFFFF",transparentBgColor:"#0000001a",transparentBgColorLighter:"#0000000d",accountContent:"#222222",accountContentBgColor:"#FFF",accountContentDark:"#a3a4a5",defaultSidebarScroller:"#444",sidebarLinkCounterBg:"#444",sidebarScroller:"#ccc",fastTicketSelectionBg:"#cccccc80",fastTicketBallBg:"#ffbb33",singleEventSelection:"#666",iconCasinoColor:"#FACC01",seoTextShadowColor:"rgba(255,255,255,0.4)",noResultDescription:"#CACACA",primaryBoxShadow:"0px 2px 1px 0px rgba(0, 0, 0, 0.12), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 4px 4px 0px rgba(0, 0, 0, 0.25)",borderRadius:"4px",sportSearchBackgroun
1d:"linear-gradient(180deg, rgba(255, 255, 255, 0.93) 19.84%, rgba(255, 255, 255, 0.93) 58.98%)",sportSearchBackground02:"transparent",betboostBackgroundColor:"#F2F2F2",betboostBackgroundLeagueColor:"#F2F2F2",betboostTabBackgroundColor:"#284755",betboostCardBackgroundColor:"#FFFFFF",betboostCardBorderColor:"#D7D7D7",betboostAccentColor:"#757575",betboostOddBackgroundColor:"#F2F2F2",betboostTicketSelectionHighlightColor:"#B4931B",betboostTicketOddColor:"#17212B",singleBetboostBgColor:"#F2F2F2",betboostBettingRivalColor:"#757575",betboostLeaugeHeaderBg:"#E4E4E4",singleNotificationBackground:"#F2F2F2",singleNotificationBackground2:"#F2F2F2",singleNotificationBackground3:"#F2F2F2",singleNotificationBackground4:"#F2F2F2",notificationsBackground:"#E4E4E4",infoNotificationBorder:"#4A9AB7",missionsNotificaionBorder:"#FF8140",missionsNotificaionBorder2:"#FF8140",missionsGold:"#FF8140",missionInfoModalTextBg:"#757575",missionInfoModalPoints:"#2D2D2D",missionClockBackground:"linear-gradient(180deg,rgba(3, 3, 3, 0.88) 0%,rgba(17, 17, 17, 0.88) 100%)",notificationDividerLineBonus:"linear-gradient(90deg, transparent 0%, #17BB00 51.44%, transparent 100%)",greenStatusBg:"#EFF9EA",greenStatusText:"#17BB00",greenStatusCircleBorder:"#BDE8AD",greenStatusCircleBg:"#17BB00",redStatusBg:"#FFECE7",redStatusBg02:"#FFECE7",redStatusText:"#D11101",redStatusCircleBorder:"#FEB4A0",redStatusCircleBg:"#D11101",yellowStatusBg:"#FFFAEC",yellowStatusText:"#CBA617",yellowStatusCircleBorder:"#FFECB3",yellowStatusCircleBg:"#CBA617",greyStatusBg:"#F2F2F2",greyStatusText:"#808080",greyStatusCircleBorder:"#CACACA",greyStatusCircleBg:"#808080",brownStatusBg:"#F9EFE7",brownStatusText:"#9D5B00",brownStatusCircleBorder:"#E3C0A3",brownStatusCircleBg:"#9D5B00",rejectBtnBorder:"#396F85",rejectBtnColor:"#000000",giftIconColor:"#2D2D2D",ticketWidgetBorderColor:"rgba(0, 0, 0, 0.12)",ticketWidgetDarkBackground:"#AEAEAE",ticketWidgetDarkerBackground:"#C2C2C2",ticketWidgetDarkestBacground:"#7a7a7a",ticketWidgetArrowsNeutral:"#585858",ticketWidgetIconNeutral:"#757575",ticketWidgetIconBright:"#E7E7E7",ticketWidgetTextSelected:"#FFFFFF",ticketWidgetYellowColor:"#FFA200",dinaPrimary:"#C52F33",dinaSecondary:"#064B76",promotionCardBg:"#FFFFFF",promotionCardBorder:"rgba(202, 202, 202, 1)",promotionCardCategoryBg:"#B2B3B494",promotionCardCategoryColor:"#FFFFFF",promotionSectionTitle:"#171717",promotionSectionCondition:"#737373",promotionSectionInfo:"#737373CF",promotionSectionInfoActive:"#0B0B17F0",promotionTooltipBg:"#d9dadb",promotionTooltipText:"#000000DE",promotionLink:"#737373",promotionEmptyStateText:"#A3A4A5",promotionEmptyStateIcon:"#B2B2B2",promotionHistoryCardBg:"#FFFFFF",promotionHistoryCardBorder:"#CACACA",promotionHistoryCardColor:"#3F3F3F",promotionHistoryCardColorDate:"#3F3F3F",promotionHistoryCardBgBorder:"#CACACA",promotionHistoryTextColor:"#737373",promotionHistoryDate:"#3F3F3FCC",promotionPotentialRewardBorder:"#6F6F6F",promotionPotentialRewardBg:"#FFFFFF1A",promotionPotentialRewardText:"linear-gradient(180deg, #939393 0%, #939393 100%)",promotionExpiresBorder:"#EDAE00",promotionExpiresBorderWigget:"#49829C",promotionExpiresColor:"#2C281ECC",promotionIconLock:"#939393",promotionsRewardTagBg:"#EAEAEB",promotionsRewardTagShadow:"#00000045",singlePromoDetailColor:"#399AB5",singlePromotionCardBg:"radial-gradient(86.37% 29.35% at 60% 100%, rgb(54 54 54 / 20%) 0%, rgb(255, 255, 255) 100%)",singlePromotionCardPercentage:"#171717",singlePromotionCardPercentageBarBg:"linear-gradient(90deg, #D1D2D3 56.32%, #E9E9E9 73.68%)",promotionNavigationBottom:"linear-gradient(90deg, rgba(250, 204, 1, 0) -1.42%, #399AB5 50.23%, rgba(250, 204, 1, 0) 100%)",promotionNavigationBottomRound:"radial-gradient(50.17% 15.96% at 52.83% 100%, rgba(57, 154, 181, 0.5265) 0%, rgba(243, 243, 243, 0) 87.58%);",promotionNavigationButtonSelected:"linear-gradient(180deg, #FFFFFF -54.62%, #399AB5 80.65%)",promotionNavigationButton:"#B3B3B3",promotionNavigationTitle:"#399AB5",expiredStatusBg:"#E6E6E6",expiredStatusText:"#A6A4A4",canceledStatusBg:"#B91C1C33",canceledStatusText:"#BD1A1A",completedStatusBg:"#15803D33",completedStatusText:"#059F3E",ejectedStatusBg:"#D2810C33",ejectedStatusText:"#DE8D19",promotionCh
1oiceBg:"transparent",promotionChoiceDevider:"linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(228, 228, 228, 0.9) 51.44%, rgba(255, 255, 255, 0.9) 100%);",promotionChoiceCardBorder:"#396F85",promotionChoiceCardBorderSelected:"#5295B3",promotionChoiceCardBgSelected:"#2E5465",promotionChoiceButtonBorder:"#399AB5",promotionChoiceButtonColor:"#399AB5",promotionChoiceCheckboxBg:"transparent",promotionChoiceCheckboxBorder:"#396F85",promotionChoiceCheckboxBgChecked:" #FFFFFF",promotionChoiceCheckboxBorderChecked:"#FFFFFF",promotionChoiceCheckboxIconChecked:"#2E5465",questionnareTextColor:"#757575",questionnareMessage:"#757575",questionnaireModalBody:"#F2F2F2",questionnaireModalBackground:"#F2F2F2",questionnaireButtonHover:"#2D2D2D",questionnaireButtonAnswerBorder:"#757575",questionnaireButtonAnswerBackground:"#FFFFFF",questionnaireButtonAnswerChecked:"#17BB00",questionnaireTextareaBorder:"#D7D7D7",questionnaireTextareaBackground:"#FFFFFF",questionnaireRejectButton:"#000000",questionnaireAlertIcon:"#17BB00",missionsDefaultLogoColor:"#989898",qrValidationBackground:"rgba(242, 242, 242, 1)",starBgColor:"#989898",starBorderColor:"#ffffff",simulationGradient:"#ffffff",simulationGradientBlue:"#284755",leaguePageMatchInformationBg:"#E4E4E4",leagueCountriesListFadeBg:"transparent",playerChipInnerBg:"linear-gradient(180deg, #FFFFFF 0%, #E2E2E2 100%)",playerChipOuterBg:"#D8D8D8",leagueCountryFlagBorder:"#F91B1F",tournamentGroupInnerBg:"#E9E9E9",tournamentRoundsInnerBg:"linear-gradient(180deg, #FFFFFF 0%, #E2E2E2 100%)",tournamentRoundsBorderBg:"#D8D8D8",tournamentRoundsOutterBg:"#FFFFFF",tournamentRoundsFinaleBg:"linear-gradient(87.67deg,rgba(11,219,94,0.15)0%,rgba(148,242,48,0.099)35.72%,rgba(1,76,62,0.03) 92.88%)",playoffPenaltiesBg:"#FFECE7",playoffOvertimeBg:"#FFFAEC",highlightedEventBgColor:"linear-gradient(90deg, rgb(192 233 186 / 40%) 0%, rgb(255 255 255 / 50%) 100%)",verificationModalBackground:"#FFFFFF",verificationModalBorder:"#EBEBEB",bonusReportBorderColor:"#E8E8E8",bonusReportTabBgColor:"#D9D9D9",bonusReportTabTextColor:"#171717",bonusReportBgColor:"#FFFFFF",bonusReportTitleColor:"#171717",bonusReportTitleBgColor:"linear-gradient(90deg, #E2E2E2, #FCF9F9), linear-gradient(0deg, rgba(210, 210, 210, 0.2), rgba(210, 210, 210, 0.2)), linear-gradient(90deg, rgba(217, 217, 217, 0.64) 0%, rgba(217, 217, 217, 0.64) 75%, rgba(217, 217, 217, 0) 75%, rgba(217, 217, 217, 0) 100%)",bonusReportDetailsBgColor:"#FFFFFF",bonusReportLineColor:"rgba(23, 23, 23, 0.5)",bonusReportEmptyBonusTitleColor:"#171717",bonusReportEmptyBonusContentColor:"#969696",bonusReportAmountColor:"#171717",bonusReportBadgeNewBg:"rgba(3, 149, 218, 0.25)",bonusReportBadgeNewColor:"#395867",bonusReportBadgeSeenBg:"rgba(105, 105, 105, 0.25)",bonusReportBadgeSeenColor:"#6E6E6E",bonusReportBadgeRejectedBg:"rgba(239, 124, 124, 0.27)",bonusReportBadgeRejectedColor:"#EB0202",bonusReportBadgeExpiredBg:"rgba(105, 105, 105, 0.25)",bonusReportBadgeExpiredColor:"rgba(23, 23, 23, 0.5)",bonusReportBadgeAcceptedBg:"rgba(30, 167, 81, 0.25)",bonusReportBadgeAcceptedColor:"#079B3E",promotionChoiceModalBorder:"#CACACA",promotionChoiceModalBorder02:"1px solid #CACACA",promotionChoiceModalBorder03:"1px solid #CACACA",promotionChoiceModalBg:"#F2F2F2",promotionChoiceModalDevider:"linear-gradient(90deg, rgba(8, 12, 31, 0) 0%, #2C4653 51.44%, rgba(8, 12, 31, 0) 100%)",promotionChoiceModalRewardBorder:"#CACACA",promotionChoiceModalRewardBorderSelected:"#2F93AF",promotionChoiceModalRewardBg:"#FFFFFF",promotionChoiceRewardSportGradient:"linear-gradient(180deg, #1BE56C 0%, #017440 100%)",promotionChoiceRewardCasinoGradient:"linear-gradient(180deg, #C34AFF 0%, #8B47FF 100%)",promotionChoiceRewardFreeSpinsGradient:"linear-gradient(180deg, #34DCD9 0%, #0081BD 100%)",promotionChoiceRewardMissionPointsGradient:"linear-gradient(180deg, #FF8F4A 0%, #FF5447 100%)",promotionChoiceRewardTitleGradient:"#295C6D",firstExperienceModalHeader:"transparent",firstExperienceBackground:"#FFFFFF",firstExperienceBorder:"#E4E4E4",firstExperienceStep:"#B1B1B1",firstExperienceActiveStep:"#000000",firstExperienceDescription:"#737373",firstExperienceBtnColor:"#FFFFFF",firstExperienceBtnBackgroun
1d:"#000000"}}},h={meridianbet:{primarySite:"#D11101",primaryHeaderBg:"linear-gradient(90deg, #A6080E 0%, #D11101 100%);"},jogabets:{primarySite:"#1a237e",primaryHeaderBg:"#142371"},xsports:{primarySite:"#F48D3B",primaryHeaderBg:"#F48D3B"},amazonbetting:{primaryHeaderBg:"#FFA000",primarySite:"#FFA000"},casino:{primaryHeaderBg:"#59039C",primarySite:"#59039C"}};var v=r(45286),_=r(20522),m=r(20279),p=r(89079),u=r(54438),E=r(77286),C=r(39934);let l=(()=>{class y{constructor(S,P,F){this.document=S,this._cookieService=P,this._routingService=F,this.theme=d,this.siteSpecific=h,this._themeName=new v.B7,this.themeName$=this._themeName.asObservable().pipe((0,_.F)()),this.themeName=(0,p.ot)(this.themeName$,{initialValue:this._getThemeFromCookie()})}getTheme(S){return S||this._getThemeFromCookie()}setTheme(S){const P=this._handleThemeSwitch(S);this._cookieService.set(i.eS,P,{path:"/",sameSite:"Strict",secure:!0}),this._themeName.next(P),this._shouldSetTemporaryDefaultTheme()&&this.setTemporaryTheme(i.SS)}setTemporaryTheme(S){if(S===this.getTheme())return;const P=this._handleThemeSwitch(S);this._themeName.next(P)}restoreOriginalTheme(S){if(S!==this.getTheme())return;const P=this._handleThemeSwitch(S);this._themeName.next(P)}_handleThemeSwitch(S){const P=this.getTheme(S),F=this._formatVariables(P),N=this._formatSiteSpecificVariables(WEBSITE_NAME),U=this.document.documentElement.querySelector('[name="variables"]');return U?this._setVariables(U,F,N):this._createStyleElementForVariables(F,N),P}_getThemeFromCookie(){return this._cookieService.get(i.eS)||"default"}_setVariables(S,P,F){S.innerHTML=`:root {${P} ${F}}`}_formatVariables(S){const P=this.theme.meridianbetrs[S];let F="";return Object.keys(P).forEach(N=>{F+=`--${N}: ${P[N]};`}),F}_formatSiteSpecificVariables(S){const P=this.siteSpecific[S]||this.siteSpecific.meridianbet||null;if(!P)return"";let F="";return Object.keys(P).forEach(N=>{F+=`--${N}: ${P[N]};`}),F}_createStyleElementForVariables(S,P){const F=this.document.createElement("style");F.setAttribute("name","variables"),this._setVariables(F,S,P),this.document.documentElement.appendChild(F)}_shouldSetTemporaryDefaultTheme(){return this._routingService.isRouteActive(m.Bi.CASINO,!1)||this._routingService.isRouteActive(m.Bi.LIVE_DEALER,!1)}static{this.\u0275fac=function(P){return new(P||y)(u.KVO(o.DOCUMENT),u.KVO(E.Q),u.KVO(C.O))}}static{this.\u0275prov=u.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},66459:(he,M,r)=>{"use strict";r.d(M,{O:()=>i});var o=r(94727);function i(d){return h=>""===h.value?{}:d!==o.jt.ULTRAWEAK||o.NH.test(h.value)?d!==o.jt.WEAK||o.PM.test(h.value)?d!==o.jt.STRONG||o.qv.test(h.value)?{}:{validatePassword:{valid:!1,error_message:"registration.strong_password_error"}}:{validatePassword:{valid:!1,error_message:"registration.weak_password_error"}}:{validatePassword:{valid:!1,error_message:"registration.ultraweak_password_error"}}}},33471:(he,M,r)=>{"use strict";function o(){return i=>{const d=i.value;let h="";return i.root.get("password")&&(h=i.root.get("password")?.value),h&&d===h?null:{validateRepeatPassword:{valid:!1}}}}r.d(M,{f:()=>o})},97144:(he,M,r)=>{"use strict";r.d(M,{c:()=>o});const o={production:!0,salt:"e4b7c2a1f9d8e7c6b5a4d3c2b1a0f9e8",googlePay:{"https://vifor.edfsn.club":{merchantId:"BCR2DN5T5OAJVNLV",merchantName:"Meridianbet CY",environment:"TEST",gatewayMerchantId:"d02e0db5-395f-46d8-afdf-bf4fba787814"},"https://vifor-stage2.edfsn.club":{merchantId:"BCR2DN5T5OAJVNLV",merchantName:"Meridianbet CY",environment:"TEST",gatewayMerchantId:"d02e0db5-395f-46d8-afdf-bf4fba787814"}}}},29148:(he,M,r)=>{"use strict";var o=r(10467),i=r(345),d=r(54438),h=r(21626),v=r(73955),_=r(36412),m=r(31635),p=r(62125),u=r(2091);let E=(()=>{class ae{static hideSnow(){document.getElementById("embedim--snow")?.classList.add("hide-snow")}static showSnow(){document.getElementById("embedim--snow")?.classList.remove("hide-snow")}static{this.\u0275fac=function(X){return new(X||ae)}}static{this.\u0275prov=d.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})();var C=r(60177),l=r(46051),y=r(85375),I=r(8950),S=r(42853),P=r(53811),F=r(39934),N=r(22804),U=r(84978),T=r(34405),L=r(58167),Z=r(80166),ie=r(15628),ve=r(78121),me=r(77286),xe=r(63755),$=r(90486),V=r(95006),oe=r(14421),z=r(20279),W=r(30569);let re=(()=>{class ae{constructor(){this._httpClient=(0,d.WQX)(h.Qq),this._activatedRoute=(0,d.WQX)(u.nX),this._document=(0,d.WQX)(C.DOCUMENT),this._botDetectionService=(0,d.WQX)(W.a),this._scriptsCache=[]}injectCustomScripts(){this._botDetectionService.isBot||this._getScriptMarkupByLocation("custom-script").subscribe(({body:x,head:X})=>{x&&this._document.body.insertAdjacentHTML("beforeend",x),X&&this._document.head.insertAdjacentHTML("beforeend",X)})}injectScripts(){this.fetchCustomScripts().then(()=>{this.injectBotScripts(),this.injectMetaTags(),this.injectCustomScripts()})}injectBotScripts(){this._getScriptMarkupByLocation("bot-script").subscribe(({head:x})=>{this._document.head.insertAdjacentHTML("beforeend",x)})}injectMetaTags(){this._getScriptMarkupByLocation("meta-tags").subscribe(({head:x})=>{this._document.head.insertAdjacentHTML("beforeend",x)})}_getScriptMarkupByLocation(x){return this._getCustomScripts(x).pipe((0,V.T)(X=>{let fe=this._activatedRoute,Be=fe.snapshot.data.pageName||"";for(;fe.firstChild;)fe=fe.firstChild,Be=fe.snapshot.data.pageName||Be;return this._formatScriptMarkupByLocation(Be,X)}))}_getCustomScripts(x){return(0,oe.of)(this._scriptsCache.filter(X=>X.type===x))}fetchCustomScripts(){var x=this;return(0,o.A)(function*(){const X=(new h.Nl).set("websiteUrl",WEBSITE_URL),Be=`${CONFIGURATION_MIDDLEWARE_URL||BO_API_URL}
1/configurations/custom-scripts`;try{x._scriptsCache=yield x._httpClient.get(Be,{params:X}).toPromise()}catch(Ze){console.error("Failed to fetch custom scripts:",Ze),x._scriptsCache=[]}})()}_formatScriptMarkupByLocation(x,X){let fe="",Be="";for(const Ze of X)Ze.enabled&&(!Ze.pageName||this._isSamePageName(Ze.pageName,x))&&("body"===Ze.location?fe+=Ze.script.trim()+"\n":"head"===Ze.location&&(Be+=Ze.script.trim()+"\n"));return{body:fe.trim(),head:Be.trim()}}_isSamePageName(x,X){return x===X||z.Tc[x]===X}static{this.\u0275fac=function(X){return new(X||ae)}}static{this.\u0275prov=d.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})();var ee=r(8169),Se=r(58114),J=r(96467);function de(ae,A){if(1&ae){const x=d.RV6();d.j41(0,"div",1)(1,"div",2),d.nrm(2,"svg-icon",3),d.j41(3,"div",4),d.EFF(4),d.nI1(5,"translate"),d.k0s(),d.j41(6,"div",5),d.bIt("click",function(){d.eBV(x);const fe=d.XpG();return d.Njj(fe.hideCookieAlert())}),d.EFF(7),d.nI1(8,"translate"),d.k0s()()()}2&ae&&(d.R7$(4),d.JRh(d.bMT(5,2,"cookie_alert.description")),d.R7$(3),d.SpI(" ",d.bMT(8,4,"cookie_alert.button")," "))}class ke{constructor(A){this._cookieService=A,this.showCookieAlert=!1}ngOnInit(){this._handleCookieAlert()}_handleCookieAlert(){this._cookieService.get("show_cookie_alert")||(this.showCookieAlert=!0)}hideCookieAlert(){this.showCookieAlert=!1,this._cookieService.set("show_cookie_alert",JSON.stringify(!1),{path:"/",sameSite:"Strict",secure:!0,expires:365})}static{this.\u0275fac=function(x){return new(x||ke)(d.rXU(me.Q))}}static{this.\u0275cmp=d.VBU({type:ke,selectors:[["cookie-alert"]],standalone:!0,features:[d.aNF],decls:1,vars:1,consts:[["class","c-cookie-alert-wrapper",4,"ngIf"],[1,"c-cookie-alert-wrapper"],[1,"c-cookie-alert"],["icon","cookie-alert",1,"c-cookie-alert__icon"],[1,"c-cookie-alert__text"],[1,"c-cookie-alert__btn",3,"click"]],template:function(x,X){1&x&&d.DNE(0,de,9,6,"div",0),2&x&&d.Y8G("ngIf",X.showCookieAlert)},dependencies:[C.CommonModule,C.NgIf,v.h,v.D9,Se.A,J.D],styles:[".c-cookie-alert[_ngcontent-%COMP%]{display:flex;align-items:center;background-color:var(--base-yellow-01);position:absolute;bottom:0;z-index:var(--z-index-cookie-alert);width:calc(100% - 510px);left:200px;padding:10px 20px;border-top-left-radius:4px;border-top-right-radius:4px;height:80px}@media only screen and (max-width: 1024px){.c-cookie-alert[_ngcontent-%COMP%]{width:514px}}.c-cookie-alert__icon[_ngcontent-%COMP%]{width:25px;height:25px}.c-cookie-alert__text[_ngcontent-%COMP%]{flex:1;padding:5px 10px;color:var(--gray-10);font-size:14px}.c-cookie-alert__btn[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;cursor:pointer;padding:10px 15px;border-radius:4px;color:var(--white);background-color:var(--base-green-01);font-weight:700;font-family:var(--font-cond);font-size:13px;text-transform:uppercase;transition:background-color .2s linear;white-space:nowrap;height:44px;min-width:120px}.c-cookie-alert__btn[_ngcontent-%COMP%]:hover{background-color:var(--success-06)}"]})}}function ge(ae,A){1&ae&&d.nrm(0,"cookie-alert")}function ye(ae,A){1&ae&&d.eu8(0)}function Pe(ae,A){if(1&ae&&d.DNE(0,ye,1,0,"ng-container",1),2&ae){const x=d.XpG();d.Y8G("ngComponentOutlet",x.dynamicComponentModal.component)("ngComponentOutletInputs",x.dynamicComponentModal.inputs)}}(0,m.Cg)([y.X],ke.prototype,"_handleCookieAlert",null);class Me{constructor(A,x,X,fe,Be,Ze,et,Et,Mt,zt,mn,fi,Hn,En,Un,ui,ki,Ne,or,Hi){this._lazyLoadScript=A,this._injector=x,this._activatedRoute=X,this._router=fe,this._routingService=Be,this._localizationService=Ze,this._configurationService=et,this._metaService=Et,this._restConfigurationService=Mt,this._authService=zt,this.document=mn,this.activityTrackerService=fi,this._sessionTimerService=Hn,this._sessionBalanceService=En,this._cookieService=Un,this._localStorageService=ui,this._registrationProvidersService=ki,this._customScriptsService=Ne,this._botDetectionService=or,this._metaTagHelperService=Hi,this.isCookieModalVisible=!1,this.RESPONSIBLE_GAMING_COOKIE_KEY_NAME="show_responsible_gaming_alert_web",this.responsibleGamingFinished=!1,this.dynamicComponentModal={},(0,d.QZP)(()=>{this._openModalIfResponsibleGamingFinished(this._authService.currentUser().isUserLogin),this._authService.currentUser().isUserLogin?(this.activityTrackerService.startTracking(),this._sessionTimerService.initAndSubscribeOnSessionTimer(),this._sessionBalanceService.initAndSubscribeOnSessionBalance()):(this.activityTrackerService.clearTracking(),this._sessionTimerService.unsubscribeFromSessionTimer(),this._sessionBalanceService.unsubscribeOnBalanceChange())})}ngOnInit(){var A=this;return(0,o.A)(function*(){if(A._setAvailableProviders(),A._metaTagHelperService.setSocialMediaTags({scope:S.IR.ROOT}),typeof window>"u")return A._setDocumentLanguage(),A._setGoogleSiteMetaTag(),void A._customScriptsService.injectScripts();A._setAvailableProviders(),A._loadDevToolsDisabledScript(),A._loadGTM(),A._loadStringSimilarityScript(),A._lazyLoadTawkScript(),A._subscribeOnRouteChange(),A.isCookieModalVisible=A._restConfigurationService.getGeneralCustomConfigurationParams("cookieModalVisible")})()}_setAvailableProviders(){this._registrationProvidersService.getAvailableProviders().subscribe(A=>{this._registrationProvidersService.availableProviders.set(I.D.parseAvailableProviders(A))})}_loadDevToolsDisabledScript(){typeof window>"u"||!DISABLE_DEVTOOLS||this._lazyLoadScript.loadScript("../assets/scripts/disable-devtools.js")}_loadGTM(){typeof window>"u"||!GOOGLE_TAG_MANAGER_CODE||this._botDetectionService.isBot||(this._lazyLoadScript.loadScript("../assets/js/google-tag-manager.js"),this._loadGA())}_loadStringSimilarityScript(){this._botDetectionService.isBot||this._lazyLoadScript.loadScript("//unpkg.com/string-similarity/umd/string-similarity.min.js")}_loadGA(){typeof window>"u"||!GOOGLE_ANALYTICS_CODE||this._lazyLoadScript.loadScript("../assets/js/gtag.js")}_loadSNow(){typeof window>"u"||!SNOW||this._lazyLoadScript.loadScript("../assets/scripts/snow.js")}_lazyLoadTawkScript(){this._restConfigurationService.getGeneralCustomConfigurationParams("tawkChatEnabled")&&this._lazyLoadScript.loadScript("../assets/js/tawk.js")}_subscribeOnRouteChange(){var A=this;this._router.events.subscribe(function(){var x=(0,o.A)(function*(X){if(X instanceof u.wF){const{Affiliate
1CodeService:fe}=yield r.e(1767).then(r.bind(r,21767));A._injector.get(fe).saveAffiliateCodes((0,p.A)(A._activatedRoute,"snapshot.queryParams")),SNOW&&A._checkSnow()}});return function(X){return x.apply(this,arguments)}}())}_checkSnow(){this._routingService.shouldHideSnow()?E.hideSnow():E.showSnow()}_setDocumentLanguage(){this.document.documentElement.lang=l.ir[this._localizationService.getSelectedLocale()]||this._localizationService.getSelectedLocale()}_openModalIfResponsibleGamingFinished(A){this._openResponsibleGamingModal(A)}_setGoogleSiteMetaTag(){const A={name:"google-site-verification",content:this._configurationService.getParam("google_site_verification_content_web")};this._metaService.addTag(A)}_openResponsibleGamingModal(A){const x=this._localStorageService.getItem("session-details-shown"),X=this._restConfigurationService.getGeneralConfigurationParams("termsAndConditionsEnabled")&&!this._authService.currentUser().acceptedTermsAndConditions&&this._authService.currentUser().isUserLogin,fe=this._restConfigurationService.getGeneralCustomConfigurationParams("showLastSessionDetails")&&this._authService.currentUser().isUserLogin&&!x,Be=this._restConfigurationService.getGeneralCustomConfigurationParams("responsibleModalConfirmation")&&!this._cookieService.get(this.RESPONSIBLE_GAMING_COOKIE_KEY_NAME);!Be&&!fe&&!X||!this._authService.currentUser().isUserLogin&&this._cookieService.get(this.RESPONSIBLE_GAMING_COOKIE_KEY_NAME)||this._createResponsibleGamingComponent(X,fe,Be)}_createResponsibleGamingComponent(A,x,X){var fe=this;return(0,o.A)(function*(){const{ResponsibleGamingModal:Be}=yield r.e(8281).then(r.bind(r,48281));fe._openModal({component:Be,payload:{showTermsAndConditionsModal:A,showSessionDetailsModal:x,showResponsibleGamingModal:X,callback:()=>fe.closeModal()}})})()}_openModal(A){this.dynamicComponentModal={component:A.component,inputs:{payload:A.payload}}}closeModal(){this.dynamicComponentModal={}}static{this.\u0275fac=function(x){return new(x||Me)(d.rXU(P.K),d.rXU(d.zZn),d.rXU(u.nX),d.rXU(u.Ix),d.rXU(F.O),d.rXU(N.P),d.rXU(U.s),d.rXU(i.W8),d.rXU(T.M),d.rXU(L.u),d.rXU(C.DOCUMENT),d.rXU(Z.$),d.rXU(ie.L),d.rXU(ve.i),d.rXU(me.Q),d.rXU(xe.s),d.rXU($.J),d.rXU(re),d.rXU(W.a),d.rXU(ee.t))}}static{this.\u0275cmp=d.VBU({type:Me,selectors:[["app-root"]],decls:4,vars:2,consts:[[1,"l-main"],[4,"ngComponentOutlet","ngComponentOutletInputs"]],template:function(x,X){1&x&&(d.j41(0,"main",0),d.nrm(1,"router-outlet"),d.DNE(2,ge,1,0,"cookie-alert"),d.k0s(),d.DNE(3,Pe,1,2,"ng-container")),2&x&&(d.R7$(2),d.vxM(X.isCookieModalVisible?2:-1),d.R7$(),d.vxM(X.dynamicComponentModal?3:-1))},dependencies:[C.NgComponentOutlet,u.n3,ke],styles:[".oda-chat-wrapper .oda-chat-footer-button.oda-chat-button-send,.oda-chat-button-upload{background-color:transparent!important}.oda-chat-wrapper .oda-chat-footer-button.oda-chat-button-send:hover,.oda-chat-button-upload:hover{opacity:.7}.oda-chat-button.oda-chat-flex{display:none!important}.oda-chat-wrapper .oda-chat-dialog-wrapper .oda-chat-prompt-banner{box-shadow:none!important;border:1px solid var(--baseGrey11)!important;background-color:var(--baseBlue31)}.oda-chat-popup-action{height:44px!important;text-transform:uppercase!important;background-color:var(--baseBlue31)!important;color:var(--baseTextColor03)!important;border:1px solid var(--base-blue-05)!important}.oda-chat-popup-action.oda-chat-filled.oda-chat-flex{background-color:var(--base-yellow-01)!important;color:var(--grey-10)!important;border-style:none!important}.oda-chat-prompt-banner-background{background-color:var(--baseBlack11)!important;height:calc(100% - 55px)!important;bottom:0!important;filter:blur(5px)!important}.oda-chat-wrapper .oda-chat-dialog-wrapper .oda-chat-prompt-banner .oda-chat-prompt-banner-main-content .oda-chat-prompt-banner-text{color:var(--baseTextColor03)!important}.oda-chat-wrapper .oda-chat-dialog-wrapper .oda-chat-prompt-banner .oda-chat-prompt-banner-main-content .oda-chat-prompt-banner-description{color:var(--baseWhite06)!important}.oda-chat-wrapper .oda-chat-timestamp-header{color:var(--baseWhite14)!important}.oda-chat-user-input::placeholder{color:var(--baseWhite29)!important}.oda-chat-wrapper .oda-chat-relative-timestamp{color:var(--baseWhite14)!important}.helpButton,.helpButtonEnabled,.sidebarMinimized{display:none!important}.embeddedServiceSidebar.layout-docked .dockableContainer{right:auto!important;
1left:20px!important}.sidebarHeader{border:none!important;background:var(--primaryHeaderBg)!important}.sidebarHeader button{padding:0 6px}.sidebarHeader.minimizedContainer{background-color:var(--success-color)!important;text-decoration:none!important;transition:background-color .3s linear;width:164px!important;min-width:auto!important}.sidebarHeader.minimizedContainer:hover{background-color:var(--success-color-hover)!important}.helpButton{font-size:16px;border-radius:8px 8px 0 0}.helpButton button{background-color:var(--success-color)!important;transition:background-color .3s linear;text-decoration:none!important;padding:0 18px!important}.helpButton button:hover{background-color:var(--success-color-hover)!important}.helpButtonEnabled{background-color:var(--success-color)!important;transition:background-color .3s linear;text-decoration:none!important}.helpButtonEnabled:hover{background-color:var(--success-color-hover)!important}.helpButtonEnabled:focus .helpButtonLabel{text-decoration:none!important}.submitButton,.dialog-button-0{background-color:var(--success-color)!important;font-weight:700!important;font-size:16px!important;text-transform:uppercase;font-family:var(--font-cond)!important;border-radius:10px!important;transition:background-color .3s linear;text-decoration:none!important;box-shadow:none!important}.submitButton:hover,.dialog-button-0:hover{background-color:var(--success-color-hover)!important}.dialog-button-1{font-weight:700!important;font-size:16px!important;text-transform:uppercase;font-family:var(--font-cond)!important;border-radius:10px!important}.uiButton--default .label{color:inherit!important;font-family:var(--font-cond)}.uiButton--default{text-shadow:none!important;box-shadow:none}.uiButton--default:hover{background-color:var(--success-color-hover)!important}.embeddedServiceSidebarFormField,.pre-chat-field{margin-bottom:15px}.embeddedServiceSidebarFormField .split-field-container,.embeddedServiceSidebarFormField .uiInput--input,.embeddedServiceSidebarFormField .uiInput--select,.pre-chat-field .split-field-container,.pre-chat-field .uiInput--input,.pre-chat-field .uiInput--select{margin-bottom:0!important}.embeddedServiceSidebarFormField .uiLabel-left,.embeddedServiceSidebarFormField .uiLabel,.pre-chat-field .uiLabel-left,.pre-chat-field .uiLabel{color:var(--darker-grey)!important;font-size:14px!important;line-height:1.2!important}.embeddedServiceSidebarFormField .slds-style-inputtext,.embeddedServiceSidebarFormField .slds-style-select,.pre-chat-field .slds-style-inputtext,.pre-chat-field .slds-style-select{font-family:var(--font)!important;color:var(--darker-grey)!important;border-radius:10px!important;border-color:var(--border-color-input)!important}.embeddedServiceSidebarFormField .slds-style-inputtext:focus,.embeddedServiceSidebarFormField .slds-style-select:focus,.pre-chat-field .slds-style-inputtext:focus,.pre-chat-field .slds-style-select:focus{box-shadow:none!important;border-color:var(--success-color)!important}.embeddedServiceSidebarFormField .has-error .uiLabel-left,.embeddedServiceSidebarFormField .has-error .uiLabel,.pre-chat-field .has-error .uiLabel-left,.pre-chat-field .has-error .uiLabel{color:var(--primary)!important}.embeddedServiceSidebarFormField .has-error .slds-style-inputtext,.embeddedServiceSidebarFormField .has-error .slds-style-select,.pre-chat-field .has-error .slds-style-inputtext,.pre-chat-field .has-error .slds-style-select{border-color:var(--primary)!important}.embeddedServiceSidebarFormField .required,.pre-chat-field .required{color:var(--primary)!important}.embeddedServiceSidebar.modalContainer{font-family:var(--font)!important;font-size:14px!important}.uiInputDefaultError .form-element__help{color:var(--primary)!important;margin-top:0!important}\n"],encapsulation:2})}}(0,m.Cg)([y.X],Me.prototype,"_openModalIfResponsibleGamingFinished",null);var We=r(79928),Oe=r(74526),tt=r(83921),Qe=r(49090),_t=r(77312),ht=r(58728),mt=r(19493),Vt=r(42199);let Ot=(()=>{class ae{constructor(x){this._authService=x,this.REFRESH_TOKEN_ERROR_DESCRIPTION="Cannot convert access token to JSON",this.ACCOUNT_NOT_ACTIVE_DESCRIPTION="Account is not active",this.ACCOUNT_NOT_ACTIVE="account_is_not_active",this.ACCOUNT_NOT_VALID="ACCOUNT_NOT_VALID",this.ACCOUNT_BLOCKED="ACCOUNT_BLOCKED",this.tokenSubject=ne
1w We.t(null),this.isRefreshingToken=!1}intercept(x,X){return X.handle(x).pipe((0,tt.W)(fe=>x.url.includes("token")&&(0,p.A)(fe,"status")!==h.kG.BadRequest?X.handle(x):this._isInvalidRefreshAccessToken(fe)?(this.isRefreshingToken=!1,this.handleRefreshToken(x,X,!0)):this._isInvalidAccessToken(fe)?this.handleRefreshToken(x,X):this._isAccountNotActive(fe)?this.handleRefreshToken(x,X,!0,!0,fe):(0,Oe.$)(fe)))}handleRefreshToken(x,X,fe=!1,Be=!1,Ze){return this.isRefreshingToken?this._getTokenFromFirstResponseForNew(x,X):this._getNewToken(x,X,fe,Be,Ze)}_getNewToken(x,X,fe=!1,Be=!1,Ze){return this.isRefreshingToken=!0,this.tokenSubject.next(null),this._authService.refreshToken(fe,!1).pipe((0,Qe.n)(et=>(this.tokenSubject.next(et),Be?(0,Oe.$)(Ze):X.handle(this._addToken(x,et)))),(0,_t.j)(()=>{this.isRefreshingToken=!1,this.tokenSubject=new We.t(null)}))}_getTokenFromFirstResponseForNew(x,X){return this.tokenSubject.pipe((0,ht.p)(fe=>null!=fe),(0,mt.s)(1),(0,Qe.n)(fe=>X.handle(this._addToken(x,fe))))}_addToken(x,X){return X?x.clone({headers:x.headers.set("Authorization",`Bearer ${X?.access_token}`)}):x}_isInvalidAccessToken(x){return"invalid_token"===(0,p.A)(x,"error.error")}_isInvalidRefreshAccessToken(x){return"invalid_token"===(0,p.A)(x,"error.error")&&(0,p.A)(x,"error.error_description")===this.REFRESH_TOKEN_ERROR_DESCRIPTION}_isAccountNotActive(x){return(0,p.A)(x,"error.error")===this.ACCOUNT_NOT_ACTIVE||(0,p.A)(x,"error.error")===Vt.kJ||(0,p.A)(x,"error.errorCode")===this.ACCOUNT_NOT_VALID||(0,p.A)(x,"error.errorCode")===this.ACCOUNT_BLOCKED||(0,p.A)(x,"error.error_description")===this.ACCOUNT_NOT_ACTIVE_DESCRIPTION}static{this.\u0275fac=function(X){return new(X||ae)(d.KVO(L.u))}}static{this.\u0275prov=d.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})();var Fe=r(49969);function Re(ae){return new d.wOt(3e3,!1)}function Kt(ae){switch(ae.length){case 0:return new Fe.sf;case 1:return ae[0];default:return new Fe.ui(ae)}}function Ue(ae,A,x=new Map,X=new Map){const fe=[],Be=[];let Ze=-1,et=null;if(A.forEach(Et=>{const Mt=Et.get("offset"),zt=Mt==Ze,mn=zt&&et||new Map;Et.forEach((fi,Hn)=>{let En=Hn,Un=fi;if("offset"!==Hn)switch(En=ae.normalizePropertyName(En,fe),Un){case Fe.FX:Un=x.get(Hn);break;case Fe.kp:Un=X.get(Hn);break;default:Un=ae.normalizeStyleValue(Hn,En,Un,fe)}mn.set(En,Un)}),zt||Be.push(mn),et=mn,Ze=Mt}),fe.length)throw function on(){return new d.wOt(3502,!1)}();return Be}function at(ae,A,x,X){switch(A){case"start":ae.onStart(()=>X(x&&xt(x,"start",ae)));break;case"done":ae.onDone(()=>X(x&&xt(x,"done",ae)));break;case"destroy":ae.onDestroy(()=>X(x&&xt(x,"destroy",ae)))}}function xt(ae,A,x){const Be=Zt(ae.element,ae.triggerName,ae.fromState,ae.toState,A||ae.phaseName,x.totalTime??ae.totalTime,!!x.disabled),Ze=ae._data;return null!=Ze&&(Be._data=Ze),Be}function Zt(ae,A,x,X,fe="",Be=0,Ze){return{element:ae,triggerName:A,fromState:x,toState:X,phaseName:fe,totalTime:Be,disabled:!!Ze}}function rn(ae,A,x){let X=ae.get(A);return X||ae.set(A,X=x),X}function dn(ae){const A=ae.indexOf(":");return[ae.substring(1,A),ae.slice(A+1)]}const sn=typeof document>"u"?null:document.documentElement;function ai(ae){const A=ae.parentNode||ae.host||null;return A===sn?null:A}let pn=null,Pn=!1;function Te(ae,A){for(;A;){if(A===ae)return!0;A=ai(A)}return!1}function lt(ae,A,x){if(x)return Array.from(ae.querySelectorAll(A));const X=ae.querySelector(A);return X?[X]:[]}let Sn=(()=>{class ae{validateStyleProperty(x){return function ne(ae){pn||(pn=function Q(){return typeof document<"u"?document.body:null}()||{},Pn=!!pn.style&&"WebkitAppearance"in pn.style);let A=!0;return pn.style&&!function _i(ae){return"ebkit"==ae.substring(1,6)}(ae)&&(A=ae in pn.style,!A&&Pn&&(A="Webkit"+ae.charAt(0).toUpperCase()+ae.slice(1)in pn.style)),A}(x)}containsElement(x,X){return Te(x,X)}getParentElement(x){return ai(x)}query(x,X,fe){return lt(x,X,fe)}computeStyle(x,X,fe){return fe||""}animate(x,X,fe,Be,Ze,et=[],Et){return new Fe.sf(fe,Be)}static{this.\u0275fac=function(X){return new(X||ae)}}static{this.\u0275prov=d.jDH({token:ae,factory:ae.\u0275fac})}}return ae})();class Kn{static{this.NOOP=new Sn}}class Ht{}const ci=1e3,Fn="ng-enter",Ve="ng-leave",rt="ng-trigger",nt=".ng-trigger",wt="ng-animating",Qt=".ng-animating";function Nt(ae){if("number"==typeof ae)return ae;const A=ae.match(/^(-?[\.\d]+)(m?s)/);return!A||A.length<2?0:an(parseFloat(A[1]),A[2])}function an(ae,A){return"s"===A?ae*ci:ae}
1function Ln(ae,A,x){return ae.hasOwnProperty("duration")?ae:function On(ae,A,x){let fe,Be=0,Ze="";if("string"==typeof ae){const et=ae.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===et)return A.push(Re()),{duration:0,delay:0,easing:""};fe=an(parseFloat(et[1]),et[2]);const Et=et[3];null!=Et&&(Be=an(parseFloat(Et),et[4]));const Mt=et[5];Mt&&(Ze=Mt)}else fe=ae;if(!x){let et=!1,Et=A.length;fe<0&&(A.push(function De(){return new d.wOt(3100,!1)}()),et=!0),Be<0&&(A.push(function He(){return new d.wOt(3101,!1)}()),et=!0),et&&A.splice(Et,0,Re())}return{duration:fe,delay:Be,easing:Ze}}(ae,A,x)}function Bn(ae,A,x){A.forEach((X,fe)=>{const Be=Dn(fe);x&&!x.has(fe)&&x.set(fe,ae.style[Be]),ae.style[Be]=X})}function vi(ae,A){A.forEach((x,X)=>{const fe=Dn(X);ae.style[fe]=""})}function bi(ae){return Array.isArray(ae)?1==ae.length?ae[0]:(0,Fe.K2)(ae):ae}const ri=new RegExp("{{\\s*(.+?)\\s*}}","g");function mi(ae){let A=[];if("string"==typeof ae){let x;for(;x=ri.exec(ae);)A.push(x[1]);ri.lastIndex=0}return A}function Wi(ae,A,x){const X=`${ae}`,fe=X.replace(ri,(Be,Ze)=>{let et=A[Ze];return null==et&&(x.push(function Tt(){return new d.wOt(3003,!1)}()),et=""),et.toString()});return fe==X?ae:fe}const Nn=/-+([a-z0-9])/g;function Dn(ae){return ae.replace(Nn,(...A)=>A[1].toUpperCase())}function er(ae,A,x){switch(A.type){case Fe.If.Trigger:return ae.visitTrigger(A,x);case Fe.If.State:return ae.visitState(A,x);case Fe.If.Transition:return ae.visitTransition(A,x);case Fe.If.Sequence:return ae.visitSequence(A,x);case Fe.If.Group:return ae.visitGroup(A,x);case Fe.If.Animate:return ae.visitAnimate(A,x);case Fe.If.Keyframes:return ae.visitKeyframes(A,x);case Fe.If.Style:return ae.visitStyle(A,x);case Fe.If.Reference:return ae.visitReference(A,x);case Fe.If.AnimateChild:return ae.visitAnimateChild(A,x);case Fe.If.AnimateRef:return ae.visitAnimateRef(A,x);case Fe.If.Query:return ae.visitQuery(A,x);case Fe.If.Stagger:return ae.visitStagger(A,x);default:throw function ct(){return new d.wOt(3004,!1)}()}}function oo(ae,A){return window.getComputedStyle(ae)[A]}const _o=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class qn extends Ht{normalizePropertyName(A,x){return Dn(A)}normalizeStyleValue(A,x,X,fe){let Be="";const Ze=X.toString().trim();if(_o.has(x)&&0!==X&&"0"!==X)if("number"==typeof X)Be="px";else{const et=X.match(/^[+-]?[\d\.]+([a-z]*)$/);et&&0==et[1].length&&fe.push(function tn(){return new d.wOt(3005,!1)}())}return Ze+Be}}const Gr="*";const qo=new Set(["true","1"]),ur=new Set(["false","0"]);function As(ae,A){const x=qo.has(ae)||ur.has(ae),X=qo.has(A)||ur.has(A);return(fe,Be)=>{let Ze=ae==Gr||ae==fe,et=A==Gr||A==Be;return!Ze&&x&&"boolean"==typeof fe&&(Ze=fe?qo.has(ae):ur.has(ae)),!et&&X&&"boolean"==typeof Be&&(et=Be?qo.has(A):ur.has(A)),Ze&&et}}const Ni=new RegExp("s*:selfs*,?","g");function dr(ae,A,x,X){return new Yi(ae).build(A,x,X)}class Yi{constructor(A){this._driver=A}build(A,x,X){const fe=new Kr(x);return this._resetContextStyleTimingState(fe),er(this,bi(A),fe)}_resetContextStyleTimingState(A){A.currentQuerySelector="",A.collectedStyles=new Map,A.collectedStyles.set("",new Map),A.currentTime=0}visitTrigger(A,x){let X=x.queryCount=0,fe=x.depCount=0;const Be=[],Ze=[];return"@"==A.name.charAt(0)&&x.errors.push(function Ee(){return new d.wOt(3006,!1)}()),A.definitions.forEach(et=>{if(this._resetContextStyleTimingState(x),et.type==Fe.If.State){const Et=et,Mt=Et.name;Mt.toString().split(/\s*,\s*/).forEach(zt=>{Et.name=zt,Be.push(this.visitState(Et,x))}),Et.name=Mt}else if(et.type==Fe.If.Transition){const Et=this.visitTransition(et,x);X+=Et.queryCount,fe+=Et.depCount,Ze.push(Et)}else x.errors.push(function se(){return new d.wOt(3007,!1)}())}),{type:Fe.If.Trigger,name:A.name,states:Be,transitions:Ze,queryCount:X,depCount:fe,options:null}}visitState(A,x){const X=this.visitStyle(A.styles,x),fe=A.options&&A.options.params||null;if(X.containsDynamicStyles){const Be=new Set,Ze=fe||{};
1X.styles.forEach(et=>{et instanceof Map&&et.forEach(Et=>{mi(Et).forEach(Mt=>{Ze.hasOwnProperty(Mt)||Be.add(Mt)})})}),Be.size&&x.errors.push(function be(){return new d.wOt(3008,!1)}(0,Be.values()))}return{type:Fe.If.State,name:A.name,style:X,options:fe?{params:fe}:null}}visitTransition(A,x){x.queryCount=0,x.depCount=0;const X=er(this,bi(A.animation),x),fe=function Io(ae,A){const x=[];return"string"==typeof ae?ae.split(/\s*,\s*/).forEach(X=>function jo(ae,A,x){if(":"==ae[0]){const Et=function Zo(ae,A){switch(ae){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(x,X)=>parseFloat(X)>parseFloat(x);case":decrement":return(x,X)=>parseFloat(X)<parseFloat(x);default:return A.push(function Xn(){return new d.wOt(3016,!1)}()),"* => *"}}(ae,x);if("function"==typeof Et)return void A.push(Et);ae=Et}const X=ae.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==X||X.length<4)return x.push(function wn(){return new d.wOt(3015,!1)}()),A;const fe=X[1],Be=X[2],Ze=X[3];A.push(As(fe,Ze)),"<"==Be[0]&&(fe!=Gr||Ze!=Gr)&&A.push(As(Ze,fe))}(X,x,A)):x.push(ae),x}(A.expr,x.errors);return{type:Fe.If.Transition,matchers:fe,animation:X,queryCount:x.queryCount,depCount:x.depCount,options:$i(A.options)}}visitSequence(A,x){return{type:Fe.If.Sequence,steps:A.steps.map(X=>er(this,X,x)),options:$i(A.options)}}visitGroup(A,x){const X=x.currentTime;let fe=0;const Be=A.steps.map(Ze=>{x.currentTime=X;const et=er(this,Ze,x);return fe=Math.max(fe,x.currentTime),et});return x.currentTime=fe,{type:Fe.If.Group,steps:Be,options:$i(A.options)}}visitAnimate(A,x){const X=function xo(ae,A){if(ae.hasOwnProperty("duration"))return ae;if("number"==typeof ae)return Cr(Ln(ae,A).duration,0,"");const x=ae;if(x.split(/\s+/).some(Be=>"{"==Be.charAt(0)&&"{"==Be.charAt(1))){const Be=Cr(0,0,"");return Be.dynamic=!0,Be.strValue=x,Be}const fe=Ln(x,A);return Cr(fe.duration,fe.delay,fe.easing)}(A.timings,x.errors);x.currentAnimateTimings=X;let fe,Be=A.styles?A.styles:(0,Fe.iF)({});if(Be.type==Fe.If.Keyframes)fe=this.visitKeyframes(Be,x);else{let Ze=A.styles,et=!1;
1if(!Ze){et=!0;const Mt={};X.easing&&(Mt.easing=X.easing),Ze=(0,Fe.iF)(Mt)}x.currentTime+=X.duration+X.delay;const Et=this.visitStyle(Ze,x);Et.isEmptyStep=et,fe=Et}return x.currentAnimateTimings=null,{type:Fe.If.Animate,timings:X,style:fe,options:null}}visitStyle(A,x){const X=this._makeStyleAst(A,x);return this._validateStyleAst(X,x),X}_makeStyleAst(A,x){const X=[],fe=Array.isArray(A.styles)?A.styles:[A.styles];for(let et of fe)"string"==typeof et?et===Fe.kp?X.push(et):x.errors.push(new d.wOt(3002,!1)):X.push(new Map(Object.entries(et)));let Be=!1,Ze=null;return X.forEach(et=>{if(et instanceof Map&&(et.has("easing")&&(Ze=et.get("easing"),et.delete("easing")),!Be))for(let Et of et.values())if(Et.toString().indexOf("{{")>=0){Be=!0;break}}),{type:Fe.If.Style,styles:X,easing:Ze,offset:A.offset,containsDynamicStyles:Be,options:null}}_validateStyleAst(A,x){const X=x.currentAnimateTimings;let fe=x.currentTime,Be=x.currentTime;X&&Be>0&&(Be-=X.duration+X.delay),A.styles.forEach(Ze=>{"string"!=typeof Ze&&Ze.forEach((et,Et)=>{const Mt=x.collectedStyles.get(x.currentQuerySelector),zt=Mt.get(Et);let mn=!0;zt&&(Be!=fe&&Be>=zt.startTime&&fe<=zt.endTime&&(x.errors.push(function kt(){return new d.wOt(3010,!1)}()),mn=!1),Be=zt.startTime),mn&&Mt.set(Et,{startTime:Be,endTime:fe}),x.options&&function Mi(ae,A,x){const X=A.params||{},fe=mi(ae);fe.length&&fe.forEach(Be=>{X.hasOwnProperty(Be)||x.push(function we(){return new d.wOt(3001,!1)}())})}(et,x.options,x.errors)})})}visitKeyframes(A,x){const X={type:Fe.If.Keyframes,styles:[],options:null};if(!x.currentAnimateTimings)return x.errors.push(function Yt(){return new d.wOt(3011,!1)}()),X;let Be=0;const Ze=[];let et=!1,Et=!1,Mt=0;const zt=A.steps.map(ki=>{const Ne=this._makeStyleAst(ki,x);let or=null!=Ne.offset?Ne.offset:function ts(ae){if("string"==typeof ae)return null;let A=null;if(Array.isArray(ae))ae.forEach(x=>{if(x instanceof Map&&x.has("offset")){const X=x;A=parseFloat(X.get("offset")),X.delete("offset")}});else if(ae instanceof Map&&ae.has("offset")){const x=ae;A=parseFloat(x.get("offset")),x.delete("offset")}return A}(Ne.styles),Hi=0;return null!=or&&(Be++,Hi=Ne.offset=or),Et=Et||Hi<0||Hi>1,et=et||Hi<Mt,Mt=Hi,Ze.push(Hi),Ne});Et&&x.errors.push(function yn(){return new d.wOt(3012,!1)}()),et&&x.errors.push(function ln(){return new d.wOt(3200,!1)}());const mn=A.steps.length;let fi=0;Be>0&&Be<mn?x.errors.push(function Mn(){return new d.wOt(3202,!1)}()):0==Be&&(fi=1/(mn-1));const Hn=mn-1,En=x.currentTime,Un=x.currentAnimateTimings,ui=Un.duration;return zt.forEach((ki,Ne)=>{const or=fi>0?Ne==Hn?1:fi*Ne:Ze[Ne],Hi=or*ui;x.currentTime=En+Un.delay+Hi,Un.duration=Hi,this._validateStyleAst(ki,x),ki.offset=or,X.styles.push(ki)}),X}visitReference(A,x){return{type:Fe.If.Reference,animation:er(this,bi(A.animation),x),options:$i(A.options)}}visitAnimateChild(A,x){return x.depCount++,{type:Fe.If.AnimateChild,options:$i(A.options)}}visitAnimateRef(A,x){return{type:Fe.If.AnimateRef,animation:this.visitReference(A.animation,x),options:$i(A.options)}}visitQuery(A,x){const X=x.currentQuerySelector,fe=A.options||{};x.queryCount++,x.currentQuery=A;const[Be,Ze]=function es(ae){const A=!!ae.split(/\s*,\s*/).find(x=>":self"==x);return A&&(ae=ae.replace(Ni,"")),ae=ae.replace(/@\*/g,nt).replace(/@\w+/g,x=>nt+"-"+x.slice(1)).replace(/:animating/g,Qt),[ae,A]}(A.selector);x.currentQuerySelector=X.length?X+" "+Be:Be,rn(x.collectedStyles,x.currentQuerySelector,new Map);const et=er(this,bi(A.animation),x);return x.currentQuery=null,x.currentQuerySelector=X,{type:Fe.If.Query,selector:Be,limit:fe.limit||0,optional:!!fe.optional,includeSelf:Ze,animation:et,originalSelector:A.selector,options:$i(A.options)}}visitStagger(A,x){x.currentQuery||x.errors.push(function An(){return new d.wOt(3013,!1)}());const X="full"===A.timings?{duration:0,delay:0,easing:"full"}:Ln(A.timings,x.errors,!0);return{type:Fe.If.Stagger,animation:er(this,bi(A.animation),x),timings:X,options:null}}}class Kr{constructor(A){this.errors=A,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function $i(ae){return ae?(ae={...ae}).params&&(ae.params=function xn(ae){return ae?{...ae}:null}(ae.params)):ae={},ae}function Cr(ae,A,x){return{duration:ae,delay:A,easing:x}}function Hr(ae,A,x,X,fe,Be,Ze=null,et=!1){return{type:1,element:ae,keyframes:A,preStyleProps:x,postStyleProps:X,duration:fe,delay:Be,totalTime:fe+Be,easing:Ze,subTimeline:et}}class Po{constructor(){this._map=new Map}get(A){return this._map.get(A)||[]}append(A,x){let X=this._map.get(A);X||this._map.set(A,X=[]),X.push(...x)}has(A){return this._map.has(A)}clear(){this._map.clear()}}const ns=new RegExp(":enter","g"),Rr=new RegExp(":leave","g");function zr(ae,A,x,X,fe,Be=new Map,Ze=new Map,et,Et,Mt=[]){return(new Ji).buildKeyframes(ae,A,x,X,fe,Be,Ze,et,Et,Mt)}class Ji{buildKeyframes(A,x,X,fe,Be,Ze,et,Et,Mt,zt=[]){Mt=Mt||new Po;const mn=new tr(A,x,Mt,fe,Be,zt,[]);mn.options=Et;const fi=Et.delay?Nt(Et.delay):0;mn.currentTimeline.delayNextStep(fi),mn.currentTimeline.setStyles([Ze],null,mn.errors,Et),er(this,X,mn);const Hn=mn.timelines.filter(En=>En.containsAnimation());if(Hn.length&&et.size){let En;for(let Un=Hn.length-1;Un>=0;Un--){const ui=Hn[Un];
1if(ui.element===x){En=ui;break}}En&&!En.allowOnlyTimelineStyles()&&En.setStyles([et],null,mn.errors,Et)}return Hn.length?Hn.map(En=>En.buildKeyframes()):[Hr(x,[],[],[],0,fi,"",!1)]}visitTrigger(A,x){}visitState(A,x){}visitTransition(A,x){}visitAnimateChild(A,x){const X=x.subInstructions.get(x.element);if(X){const fe=x.createSubContext(A.options),Be=x.currentTimeline.currentTime,Ze=this._visitSubInstructions(X,fe,fe.options);Be!=Ze&&x.transformIntoNewTimeline(Ze)}x.previousNode=A}visitAnimateRef(A,x){const X=x.createSubContext(A.options);X.transformIntoNewTimeline(),this._applyAnimationRefDelays([A.options,A.animation.options],x,X),this.visitReference(A.animation,X),x.transformIntoNewTimeline(X.currentTimeline.currentTime),x.previousNode=A}_applyAnimationRefDelays(A,x,X){for(const fe of A){const Be=fe?.delay;if(Be){const Ze="number"==typeof Be?Be:Nt(Wi(Be,fe?.params??{},x.errors));X.delayNextStep(Ze)}}}_visitSubInstructions(A,x,X){let Be=x.currentTimeline.currentTime;const Ze=null!=X.duration?Nt(X.duration):null,et=null!=X.delay?Nt(X.delay):null;return 0!==Ze&&A.forEach(Et=>{const Mt=x.appendInstructionToTimeline(Et,Ze,et);Be=Math.max(Be,Mt.duration+Mt.delay)}),Be}visitReference(A,x){x.updateOptions(A.options,!0),er(this,A.animation,x),x.previousNode=A}visitSequence(A,x){const X=x.subContextCount;let fe=x;const Be=A.options;if(Be&&(Be.params||Be.delay)&&(fe=x.createSubContext(Be),fe.transformIntoNewTimeline(),null!=Be.delay)){fe.previousNode.type==Fe.If.Style&&(fe.currentTimeline.snapshotCurrentStyles(),fe.previousNode=nr);const Ze=Nt(Be.delay);fe.delayNextStep(Ze)}A.steps.length&&(A.steps.forEach(Ze=>er(this,Ze,fe)),fe.currentTimeline.applyStylesToKeyframe(),fe.subContextCount>X&&fe.transformIntoNewTimeline()),x.previousNode=A}visitGroup(A,x){const X=[];let fe=x.currentTimeline.currentTime;const Be=A.options&&A.options.delay?Nt(A.options.delay):0;A.steps.forEach(Ze=>{const et=x.createSubContext(A.options);Be&&et.delayNextStep(Be),er(this,Ze,et),fe=Math.max(fe,et.currentTimeline.currentTime),X.push(et.currentTimeline)}),X.forEach(Ze=>x.currentTimeline.mergeTimelineCollectedStyles(Ze)),x.transformIntoNewTimeline(fe),x.previousNode=A}_visitTiming(A,x){if(A.dynamic){const X=A.strValue;return Ln(x.params?Wi(X,x.params,x.errors):X,x.errors)}return{duration:A.duration,delay:A.delay,easing:A.easing}}visitAnimate(A,x){const X=x.currentAnimateTimings=this._visitTiming(A.timings,x),fe=x.currentTimeline;X.delay&&(x.incrementTime(X.delay),fe.snapshotCurrentStyles());const Be=A.style;Be.type==Fe.If.Keyframes?this.visitKeyframes(Be,x):(x.incrementTime(X.duration),this.visitStyle(Be,x),fe.applyStylesToKeyframe()),x.currentAnimateTimings=null,x.previousNode=A}visitStyle(A,x){const X=x.currentTimeline,fe=x.currentAnimateTimings;!fe&&X.hasCurrentStyleProperties()&&X.forwardFrame();const Be=fe&&fe.easing||A.easing;A.isEmptyStep?X.applyEmptyStep(Be):X.setStyles(A.styles,Be,x.errors,x.options),x.previousNode=A}visitKeyframes(A,x){const X=x.currentAnimateTimings,fe=x.currentTimeline.duration,Be=X.duration,et=x.createSubContext().currentTimeline;et.easing=X.easing,A.styles.forEach(Et=>{et.forwardTime((Et.offset||0)*Be),et.setStyles(Et.styles,Et.easing,x.errors,x.options),et.applyStylesToKeyframe()}),x.currentTimeline.mergeTimelineCollectedStyles(et),x.transformIntoNewTimeline(fe+Be),x.previousNode=A}visitQuery(A,x){const X=x.currentTimeline.currentTime,fe=A.options||{},Be=fe.delay?Nt(fe.delay):0;Be&&(x.previousNode.type===Fe.If.Style||0==X&&x.currentTimeline.hasCurrentStyleProperties())&&(x.currentTimeline.snapshotCurrentStyles(),x.previousNode=nr);let Ze=X;const et=x.invokeQuery(A.selector,A.originalSelector,A.limit,A.includeSelf,!!fe.optional,x.errors);x.currentQueryTotal=et.length;let Et=null;et.forEach((Mt,zt)=>{x.currentQueryIndex=zt;const mn=x.createSubContext(A.options,Mt);Be&&mn.delayNextStep(Be),Mt===x.element&&(Et=mn.currentTimeline),er(this,A.animation,mn),mn.currentTimeline.applyStylesToKeyframe(),Ze=Math.max(Ze,mn.currentTimeline.currentTime)}),x.currentQueryIndex=0,x.currentQueryTotal=0,x.transformIntoNewTimeline(Ze),Et&&(x.currentTimeline.mergeTimelineCollectedStyles(Et),x.currentTimeline.snapshotCurrentStyles()),x.previousNode=A}visitStagger(A,x){const X=x.parentContext,fe=x.currentTimeline,Be=A.timings,Ze=Math.abs(Be.duration),et=Ze*(x.currentQueryTotal-1);let Et=Ze*x.currentQueryIndex;switch(Be.duration<0?"reverse":Be.easing){case"reverse":Et=et-Et;break;
1case"full":Et=X.currentStaggerTime}const zt=x.currentTimeline;Et&&zt.delayNextStep(Et);const mn=zt.currentTime;er(this,A.animation,x),x.previousNode=A,X.currentStaggerTime=fe.currentTime-mn+(fe.startTime-X.currentTimeline.startTime)}}const nr={};class tr{constructor(A,x,X,fe,Be,Ze,et,Et){this._driver=A,this.element=x,this.subInstructions=X,this._enterClassName=fe,this._leaveClassName=Be,this.errors=Ze,this.timelines=et,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=nr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Et||new so(this._driver,x,0),et.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(A,x){if(!A)return;const X=A;let fe=this.options;null!=X.duration&&(fe.duration=Nt(X.duration)),null!=X.delay&&(fe.delay=Nt(X.delay));const Be=X.params;if(Be){let Ze=fe.params;Ze||(Ze=this.options.params={}),Object.keys(Be).forEach(et=>{(!x||!Ze.hasOwnProperty(et))&&(Ze[et]=Wi(Be[et],Ze,this.errors))})}}_copyOptions(){const A={};if(this.options){const x=this.options.params;if(x){const X=A.params={};Object.keys(x).forEach(fe=>{X[fe]=x[fe]})}}return A}createSubContext(A=null,x,X){const fe=x||this.element,Be=new tr(this._driver,fe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(fe,X||0));return Be.previousNode=this.previousNode,Be.currentAnimateTimings=this.currentAnimateTimings,Be.options=this._copyOptions(),Be.updateOptions(A),Be.currentQueryIndex=this.currentQueryIndex,Be.currentQueryTotal=this.currentQueryTotal,Be.parentContext=this,this.subContextCount++,Be}transformIntoNewTimeline(A){return this.previousNode=nr,this.currentTimeline=this.currentTimeline.fork(this.element,A),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(A,x,X){const fe={duration:x??A.duration,delay:this.currentTimeline.currentTime+(X??0)+A.delay,easing:""},Be=new br(this._driver,A.element,A.keyframes,A.preStyleProps,A.postStyleProps,fe,A.stretchStartingKeyframe);return this.timelines.push(Be),fe}incrementTime(A){this.currentTimeline.forwardTime(this.currentTimeline.duration+A)}delayNextStep(A){A>0&&this.currentTimeline.delayNextStep(A)}invokeQuery(A,x,X,fe,Be,Ze){let et=[];if(fe&&et.push(this.element),A.length>0){A=(A=A.replace(ns,"."+this._enterClassName)).replace(Rr,"."+this._leaveClassName);let Mt=this._driver.query(this.element,A,1!=X);0!==X&&(Mt=X<0?Mt.slice(Mt.length+X,Mt.length):Mt.slice(0,X)),et.push(...Mt)}return!Be&&0==et.length&&Ze.push(function un(){return new d.wOt(3014,!1)}()),et}}class so{constructor(A,x,X,fe){this._driver=A,this.element=x,this.startTime=X,this._elementTimelineStylesLookup=fe,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(x),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(x,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(A){const x=1===this._keyframes.size&&this._pendingStyles.size;this.duration||x?(this.forwardTime(this.currentTime+A),x&&this.snapshotCurrentStyles()):this.startTime+=A}fork(A,x){return this.applyStylesToKeyframe(),new so(this._driver,A,x||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=ne
1w Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(A){this.applyStylesToKeyframe(),this.duration=A,this._loadKeyframe()}_updateStyle(A,x){this._localTimelineStyles.set(A,x),this._globalTimelineStyles.set(A,x),this._styleSummary.set(A,{time:this.currentTime,value:x})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(A){A&&this._previousKeyframe.set("easing",A);for(let[x,X]of this._globalTimelineStyles)this._backFill.set(x,X||Fe.kp),this._currentKeyframe.set(x,Fe.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(A,x,X,fe){x&&this._previousKeyframe.set("easing",x);const Be=fe&&fe.params||{},Ze=function Ts(ae,A){const x=new Map;let X;return ae.forEach(fe=>{if("*"===fe){X??=A.keys();for(let Be of X)x.set(Be,Fe.kp)}else for(let[Be,Ze]of fe)x.set(Be,Ze)}),x}(A,this._globalTimelineStyles);for(let[et,Et]of Ze){const Mt=Wi(Et,Be,X);this._pendingStyles.set(et,Mt),this._localTimelineStyles.has(et)||this._backFill.set(et,this._globalTimelineStyles.get(et)??Fe.kp),this._updateStyle(et,Mt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((A,x)=>{this._currentKeyframe.set(x,A)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((A,x)=>{this._currentKeyframe.has(x)||this._currentKeyframe.set(x,A)}))}snapshotCurrentStyles(){for(let[A,x]of this._localTimelineStyles)this._pendingStyles.set(A,x),this._updateStyle(A,x)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const A=[];for(let x in this._currentKeyframe)A.push(x);return A}
1mergeTimelineCollectedStyles(A){A._styleSummary.forEach((x,X)=>{const fe=this._styleSummary.get(X);(!fe||x.time>fe.time)&&this._updateStyle(X,x.value)})}buildKeyframes(){this.applyStylesToKeyframe();const A=new Set,x=new Set,X=1===this._keyframes.size&&0===this.duration;let fe=[];this._keyframes.forEach((et,Et)=>{const Mt=new Map([...this._backFill,...et]);Mt.forEach((zt,mn)=>{zt===Fe.FX?A.add(mn):zt===Fe.kp&&x.add(mn)}),X||Mt.set("offset",Et/this.duration),fe.push(Mt)});const Be=[...A.values()],Ze=[...x.values()];if(X){const et=fe[0],Et=new Map(et);et.set("offset",0),Et.set("offset",1),fe=[et,Et]}return Hr(this.element,fe,Be,Ze,this.duration,this.startTime,this.easing,!1)}}class br extends so{constructor(A,x,X,fe,Be,Ze,et=!1){super(A,x,Ze.delay),this.keyframes=X,this.preStyleProps=fe,this.postStyleProps=Be,this._stretchStartingKeyframe=et,this.timings={duration:Ze.duration,delay:Ze.delay,easing:Ze.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let A=this.keyframes,{delay:x,duration:X,easing:fe}=this.timings;if(this._stretchStartingKeyframe&&x){const Be=[],Ze=X+x,et=x/Ze,Et=new Map(A[0]);Et.set("offset",0),Be.push(Et);const Mt=new Map(A[0]);Mt.set("offset",Sr(et)),Be.push(Mt);const zt=A.length-1;for(let mn=1;mn<=zt;mn++){let fi=new Map(A[mn]);const Hn=fi.get("offset");fi.set("offset",Sr((x+Hn*X)/Ze)),Be.push(fi)}X=Ze,x=0,fe="",A=Be}return Hr(this.element,A,this.preStyleProps,this.postStyleProps,X,x,fe,!0)}}function Sr(ae,A=3){const x=Math.pow(10,A-1);return Math.round(ae*x)/x}function Nr(ae,A,x,X,fe,Be,Ze,et,Et,Mt,zt,mn,fi){return{type:0,element:ae,triggerName:A,isRemovalTransition:fe,fromState:x,fromStyles:Be,toState:X,toStyles:Ze,timelines:et,queriedElements:Et,preStyleProps:Mt,postStyleProps:zt,totalTime:mn,errors:fi}}const ao={};class rr{constructor(A,x,X){this._triggerName=A,this.ast=x,this._stateStyles=X}match(A,x,X,fe){return function Ar(ae,A,x,X,fe){return ae.some(Be=>Be(A,x,X,fe))}(this.ast.matchers,A,x,X,fe)}buildStyles(A,x,X){let fe=this._stateStyles.get("*");return void 0!==A&&(fe=this._stateStyles.get(A?.toString())||fe),fe?fe.buildStyles(x,X):new Map}build(A,x,X,fe,Be,Ze,et,Et,Mt,zt){const mn=[],fi=this.ast.options&&this.ast.options.params||ao,En=this.buildStyles(X,et&&et.params||ao,mn),Un=Et&&Et.params||ao,ui=this.buildStyles(fe,Un,mn),ki=new Set,Ne=new Map,or=new Map,Hi="void"===fe,fr={params:Ys(Un,fi),delay:this.ast.options?.delay},Vn=zt?[]:zr(A,x,this.ast.animation,Be,Ze,En,ui,fr,Mt,mn);let bn=0;return Vn.forEach(jr=>{bn=Math.max(jr.duration+jr.delay,bn)}),mn.length?Nr(x,this._triggerName,X,fe,Hi,En,ui,[],[],Ne,or,bn,mn):(Vn.forEach(jr=>{const Ko=jr.element,vr=rn(Ne,Ko,new Set);jr.preStyleProps.forEach(Fo=>vr.add(Fo));const _a=rn(or,Ko,new Set);jr.postStyleProps.forEach(Fo=>_a.add(Fo)),Ko!==x&&ki.add(Ko)}),Nr(x,this._triggerName,X,fe,Hi,En,ui,Vn,[...ki.values()],Ne,or,bn))}}function Ys(ae,A){const x={...A};return Object.entries(ae).forEach(([X,fe])=>{null!=fe&&(x[X]=fe)}),x}class gs{constructor(A,x,X){this.styles=A,this.defaultParams=x,this.normalizer=X}buildStyles(A,x){const X=new Map,fe=Ys(A,this.defaultParams);return this.styles.styles.forEach(Be=>{"string"!=typeof Be&&Be.forEach((Ze,et)=>{Ze&&(Ze=Wi(Ze,fe,x));const Et=this.normalizer.normalizePropertyName(et,x);Ze=this.normalizer.normalizeStyleValue(et,Et,Ze,x),X.set(et,Ze)})}),X}}class Ei{constructor(A,x,X){this.name=A,this.ast=x,this._normalizer=X,this.transitionFactories=[],this.states=new Map,x.states.forEach(fe=>{this.states.set(fe.name,new gs(fe.style,fe.options&&fe.options.params||{},X))}),_s(this.states,"true","1"),_s(this.states,"false","0"),x.transitions.forEach(fe=>{this.transitionFactories.push(new rr(A,fe,this.states))}),this.fallbackTransition=function co(ae,A){return new rr(ae,{type:Fe.If.Transition,animation:{type:Fe.If.Sequence,steps:[],options:null},matchers:[(Ze,et)=>!0],options:null,queryCount:0,depCount:0},A)}(A,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(A,x,X,fe){return this.transitionFactories.find(Ze=>Ze.match(A,x,X,fe))||null}matchStyles(A,x,X){return this.fallbackTransition.buildStyles(A,x,X)}}function _s(ae,A,x){ae.has(A)?ae.has(x)||ae.set(x,ae.get(A)):ae.has(x)&&ae.set(A,ae.get(x))}const rs=new Po;class os{constructor(A,x,X){this.bodyNode=A,this._driver=x,this._normalizer=X,this._animations=new Map,this._playersById=new Map,this.players=[]}register(A,x){const X=[],Be=dr(this._driver,x,X,[]);if(X.length)throw function Gt(){return new d.wOt(3503,!1)}();this._animations.set(A,Be)}_buildPlayer(A,x,X){const fe=A.element,Be=Ue(this._normalizer,A.keyframes,x,X);return this._driver.animate(fe,Be,A.duration,A.delay,A.easing,[],!0)}create(A,x,X={}){const fe=[],Be=this._animations.get(A);let Ze;const et=new Map;if(Be?(Ze=zr(this._driver,x,Be,Fn,Ve,new Map,new Map,X,rs,fe),Ze.forEach(zt=>{const mn=rn(et,zt.element,new Map);zt.postStyleProps.forEach(fi=>mn.set(fi,null))})):(fe.push(function Qn(){return new d.wOt(3300,!1)}()),Ze=[]),fe.length)throw function Ct(){return new d.wOt(3504,!1)}();et.forEach((zt,mn)=>{zt.forEach((fi,Hn)=>{zt.set(Hn,this._driver.computeStyle(mn,Hn,Fe.kp))})});const Mt=Kt(Ze.map(zt=>{const mn=et.get(zt.element);return this._buildPlayer(zt,new Map,mn)}));return this._playersById.set(A,Mt),Mt.onDestroy(()=>this.destroy(A)),this.players.push(Mt),Mt}destroy(A){const x=this._getPlayer(A);x.destroy(),this._playersById.delete(A);const X=this.players.indexOf(x);X>=0&&this.players.splice(X,1)}_getPlayer(A){const x=this._playersById.get(A);if(!x)throw function ut(){return new d.wOt(3301,!1)}();return x}listen(A,x,X,fe){const Be=Zt(x,"","","");return at(this._getPlayer(A),X,Be,fe),()=>{}}command(A,x,X,fe){if("register"==X)return void this.register(A,fe[0]);if("create"==X)return void this.create(A,x,fe[0]||{});const Be=this._getPlayer(A);switch(X){case"play":Be.play();break;case"pause":Be.pause();break;case"reset":Be.reset();break;case"restart":Be.restart();break;case"finish":Be.finish();break;case"init":Be.init();break;case"setPosition":Be.setPosition(parseFloat(fe[0]));break;
1case"destroy":this.destroy(A)}}}const vo="ng-animate-queued",_r="ng-animate-disabled",Wo=[],ms={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Qs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Br="__ng_removed";class Js{get params(){return this.options.params}constructor(A,x=""){this.namespaceId=x;const X=A&&A.hasOwnProperty("value");if(this.value=function Rn(ae){return ae??null}(X?A.value:A),X){const{value:Be,...Ze}=A;this.options=Ze}else this.options={};this.options.params||(this.options.params={})}absorbOptions(A){const x=A.params;if(x){const X=this.options.params;Object.keys(x).forEach(fe=>{null==X[fe]&&(X[fe]=x[fe])})}}}const yo="void",le=new Js(yo);class ce{constructor(A,x,X){this.id=A,this.hostElement=x,this._engine=X,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+A,uo(x,this._hostClassName)}listen(A,x,X,fe){if(!this._triggers.has(x))throw function Xe(){return new d.wOt(3302,!1)}();if(null==X||0==X.length)throw function qe(){return new d.wOt(3303,!1)}();if(!function lo(ae){return"start"==ae||"done"==ae}(X))throw function Bt(){return new d.wOt(3400,!1)}();const Be=rn(this._elementListeners,A,[]),Ze={name:x,phase:X,callback:fe};Be.push(Ze);const et=rn(this._engine.statesByElement,A,new Map);return et.has(x)||(uo(A,rt),uo(A,rt+"-"+x),et.set(x,le)),()=>{this._engine.afterFlush(()=>{const Et=Be.indexOf(Ze);Et>=0&&Be.splice(Et,1),this._triggers.has(x)||et.delete(x)})}}register(A,x){return!this._triggers.has(A)&&(this._triggers.set(A,x),!0)}_getTrigger(A){const x=this._triggers.get(A);if(!x)throw function St(){return new d.wOt(3401,!1)}();return x}trigger(A,x,X,fe=!0){const Be=this._getTrigger(x),Ze=new Ie(this.id,x,A);let et=this._engine.statesByElement.get(A);et||(uo(A,rt),uo(A,rt+"-"+x),this._engine.statesByElement.set(A,et=new Map));let Et=et.get(x);const Mt=new Js(X,this.id);if(!(X&&X.hasOwnProperty("value"))&&Et&&Mt.absorbOptions(Et.options),et.set(x,Mt),Et||(Et=le),Mt.value!==yo&&Et.value===Mt.value){if(!function Ro(ae,A){const x=Object.keys(ae),X=Object.keys(A);if(x.length!=X.length)return!1;for(let fe=0;fe<x.length;fe++){const Be=x[fe];if(!A.hasOwnProperty(Be)||ae[Be]!==A[Be])return!1}return!0}(Et.params,Mt.params)){const Un=[],ui=Be.matchStyles(Et.value,Et.params,Un),ki=Be.matchStyles(Mt.value,Mt.params,Un);Un.length?this._engine.reportError(Un):this._engine.afterFlush(()=>{vi(A,ui),Bn(A,ki)})}return}const fi=rn(this._engine.playersByElement,A,[]);fi.forEach(Un=>{Un.namespaceId==this.id&&Un.triggerName==x&&Un.queued&&Un.destroy()});let Hn=Be.matchTransition(Et.value,Mt.value,A,Mt.params),En=!1;if(!Hn){if(!fe)return;Hn=Be.fallbackTransition,En=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:A,triggerName:x,transition:Hn,fromState:Et,toState:Mt,player:Ze,isFallbackTransition:En}),En||(uo(A,vo),Ze.onStart(()=>{xs(A,vo)})),Ze.onDone(()=>{let Un=this.players.indexOf(Ze);Un>=0&&this.players.splice(Un,1);const ui=this._engine.playersByElement.get(A);if(ui){let ki=ui.indexOf(Ze);ki>=0&&ui.splice(ki,1)}}),this.players.push(Ze),fi.push(Ze),Ze}deregister(A){this._triggers.delete(A),this._engine.statesByElement.forEach(x=>x.delete(A)),this._elementListeners.forEach((x,X)=>{this._elementListeners.set(X,x.filter(fe=>fe.name!=A))})}clearElementCache(A){this._engine.statesByElement.delete(A),this._elementListeners.delete(A);const x=this._engine.playersByElement.get(A);x&&(x.forEach(X=>X.destroy()),this._engine.playersByElement.delete(A))}_signalRemovalForInnerTriggers(A,x){const X=this._engine.driver.query(A,nt,!0);X.forEach(fe=>{if(fe[Br])return;const Be=this._engine.fetchNamespacesByElement(fe);Be.size?Be.forEach(Ze=>Ze.triggerLeaveAnimation(fe,x,!1,!0)):this.clearElementCache(fe)}),this._engine.afterFlushAnimationsDone(()=>X.forEach(fe=>this.clearElementCache(fe)))}triggerLeaveAnimation(A,x,X,fe){const Be=this._engine.statesByElement.get(A),Ze=new Map;if(Be){const et=[];if(Be.forEach((Et,Mt)=>{if(Ze.set(Mt,Et.value),this._triggers.has(Mt)){const zt=this.trigger(A,Mt,yo,fe);zt&&et.push(zt)}}),et.length)return this._engine.markElementAsRemoved(this.id,A,!0,x,Ze),X&&Kt
1(et).onDone(()=>this._engine.processLeaveNode(A)),!0}return!1}prepareLeaveAnimationListeners(A){const x=this._elementListeners.get(A),X=this._engine.statesByElement.get(A);if(x&&X){const fe=new Set;x.forEach(Be=>{const Ze=Be.name;if(fe.has(Ze))return;fe.add(Ze);const Et=this._triggers.get(Ze).fallbackTransition,Mt=X.get(Ze)||le,zt=new Js(yo),mn=new Ie(this.id,Ze,A);this._engine.totalQueuedPlayers++,this._queue.push({element:A,triggerName:Ze,transition:Et,fromState:Mt,toState:zt,player:mn,isFallbackTransition:!0})})}}removeNode(A,x){const X=this._engine;if(A.childElementCount&&this._signalRemovalForInnerTriggers(A,x),this.triggerLeaveAnimation(A,x,!0))return;let fe=!1;if(X.totalAnimations){const Be=X.players.length?X.playersByQueriedElement.get(A):[];if(Be&&Be.length)fe=!0;else{let Ze=A;for(;Ze=Ze.parentNode;)if(X.statesByElement.get(Ze)){fe=!0;break}}}if(this.prepareLeaveAnimationListeners(A),fe)X.markElementAsRemoved(this.id,A,!1,x);else{const Be=A[Br];(!Be||Be===ms)&&(X.afterFlush(()=>this.clearElementCache(A)),X.destroyInnerAnimations(A),X._onRemovalComplete(A,x))}}insertNode(A,x){uo(A,this._hostClassName)}drainQueuedTransitions(A){const x=[];return this._queue.forEach(X=>{const fe=X.player;if(fe.destroyed)return;const Be=X.element,Ze=this._elementListeners.get(Be);Ze&&Ze.forEach(et=>{if(et.name==X.triggerName){const Et=Zt(Be,X.triggerName,X.fromState.value,X.toState.value);Et._data=A,at(X.player,et.phase,Et,et.callback)}}),fe.markedForDestroy?this._engine.afterFlush(()=>{fe.destroy()}):x.push(X)}),this._queue=[],x.sort((X,fe)=>{const Be=X.transition.ast.depCount,Ze=fe.transition.ast.depCount;return 0==Be||0==Ze?Be-Ze:this._engine.driver.containsElement(X.element,fe.element)?1:-1})}destroy(A){this.players.forEach(x=>x.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,A)}}class G{_onRemovalComplete(A,x){this.onRemovalComplete(A,x)}constructor(A,x,X){this.bodyNode=A,this.driver=x,this._normalizer=X,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(fe,Be)=>{}}get queuedPlayers(){const A=[];return this._namespaceList.forEach(x=>{x.players.forEach(X=>{X.queued&&A.push(X)})}),A}createNamespace(A,x){const X=new ce(A,x,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,x)?this._balanceNamespaceList(X,x):(this.newHostElements.set(x,X),this.collectEnterElement(x)),this._namespaceLookup[A]=X}_balanceNamespaceList(A,x){const X=this._namespaceList,fe=this.namespacesByHostElement;if(X.length-1>=0){let Ze=!1,et=this.driver.getParentElement(x);for(;et;){const Et=fe.get(et);if(Et){const Mt=X.indexOf(Et);X.splice(Mt+1,0,A),Ze=!0;break}et=this.driver.getParentElement(et)}Ze||X.unshift(A)}else X.push(A);return fe.set(x,A),A}register(A,x){let X=this._namespaceLookup[A];return X||(X=this.createNamespace(A,x)),X}registerTrigger(A,x,X){let fe=this._namespaceLookup[A];fe&&fe.register(x,X)&&this.totalAnimations++}destroy(A,x){A&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const X=this._fetchNamespace(A);this.namespacesByHostElement.delete(X.hostElement);const fe=this._namespaceList.indexOf(X);fe>=0&&this._namespaceList.splice(fe,1),X.destroy(x),delete this._namespaceLookup[A]}))}_fetchNamespace(A){return this._namespaceLookup[A]}fetchNamespacesByElement(A){const x=new Set,X=this.statesByElement.get(A);if(X)for(let fe of X.values())if(fe.namespaceId){const Be=this._fetchNamespace(fe.namespaceId);Be&&x.add(Be)}return x}trigger(A,x,X,fe){if(oi(x)){const Be=this._fetchNamespace(A);if(Be)return Be.trigger(x,X,fe),!0}return!1}insertNode(A,x,X,fe){if(!oi(x))return;const Be=x[Br];if(Be&&Be.setForRemoval){Be.setForRemoval=!1,Be.setForMove=!0;const Ze=this.collectedLeaveElements.indexOf(x);Ze>=0&&this.collectedLeaveElements.splice(Ze,1)}if(A){const Ze=this._fetchNamespace(A);
1Ze&&Ze.insertNode(x,X)}fe&&this.collectEnterElement(x)}collectEnterElement(A){this.collectedEnterElements.push(A)}markElementAsDisabled(A,x){x?this.disabledNodes.has(A)||(this.disabledNodes.add(A),uo(A,_r)):this.disabledNodes.has(A)&&(this.disabledNodes.delete(A),xs(A,_r))}removeNode(A,x,X){if(oi(x)){const fe=A?this._fetchNamespace(A):null;fe?fe.removeNode(x,X):this.markElementAsRemoved(A,x,!1,X);const Be=this.namespacesByHostElement.get(x);Be&&Be.id!==A&&Be.removeNode(x,X)}else this._onRemovalComplete(x,X)}markElementAsRemoved(A,x,X,fe,Be){this.collectedLeaveElements.push(x),x[Br]={namespaceId:A,setForRemoval:fe,hasAnimation:X,removedBeforeQueried:!1,previousTriggersValues:Be}}listen(A,x,X,fe,Be){return oi(x)?this._fetchNamespace(A).listen(x,X,fe,Be):()=>{}}_buildInstruction(A,x,X,fe,Be){return A.transition.build(this.driver,A.element,A.fromState.value,A.toState.value,X,fe,A.fromState.options,A.toState.options,x,Be)}destroyInnerAnimations(A){let x=this.driver.query(A,nt,!0);x.forEach(X=>this.destroyActiveAnimationsForElement(X)),0!=this.playersByQueriedElement.size&&(x=this.driver.query(A,Qt,!0),x.forEach(X=>this.finishActiveQueriedAnimationOnElement(X)))}destroyActiveAnimationsForElement(A){const x=this.playersByElement.get(A);x&&x.forEach(X=>{X.queued?X.markedForDestroy=!0:X.destroy()})}finishActiveQueriedAnimationOnElement(A){const x=this.playersByQueriedElement.get(A);x&&x.forEach(X=>X.finish())}whenRenderingDone(){return new Promise(A=>{if(this.players.length)return Kt(this.players).onDone(()=>A());A()})}processLeaveNode(A){const x=A[Br];if(x&&x.setForRemoval){if(A[Br]=ms,x.namespaceId){this.destroyInnerAnimations(A);const X=this._fetchNamespace(x.namespaceId);X&&X.clearElementCache(A)}this._onRemovalComplete(A,x.setForRemoval)}A.classList?.contains(_r)&&this.markElementAsDisabled(A,!1),this.driver.query(A,".ng-animate-disabled",!0).forEach(X=>{this.markElementAsDisabled(X,!1)})}flush(A=-1){let x=[];if(this.newHostElements.size&&(this.newHostElements.forEach((X,fe)=>this._balanceNamespaceList(X,fe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let X=0;X<this.collectedEnterElements.length;X++)uo(this.collectedEnterElements[X],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const X=[];try{x=this._flushAnimations(X,A)}finally{for(let fe=0;fe<X.length;fe++)X[fe]()}}else for(let X=0;X<this.collectedLeaveElements.length;X++)this.processLeaveNode(this.collectedLeaveElements[X]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(X=>X()),this._flushFns=[],this._whenQuietFns.length){const X=this._whenQuietFns;this._whenQuietFns=[],x.length?Kt(x).onDone(()=>{X.forEach(fe=>fe())}):X.forEach(fe=>fe())}}reportError(A){throw function Rt(){return new d.wOt(3402,!1)}()}_flushAnimations(A,x){const X=new Po,fe=[],Be=new Map,Ze=[],et=new Map,Et=new Map,Mt=new Map,zt=new Set;this.disabledNodes.forEach(gn=>{zt.add(gn);const Wn=this.driver.query(gn,".ng-animate-queued",!0);for(let Gn=0;Gn<Wn.length;Gn++)zt.add(Wn[Gn])});const mn=this.bodyNode,fi=Array.from(this.statesByElement.keys()),Hn=Is(fi,this.collectedEnterElements),En=new Map;let Un=0;Hn.forEach((gn,Wn)=>{const Gn=Fn+Un++;En.set(Wn,Gn),gn.forEach(Si=>uo(Si,Gn))});const ui=[],ki=new Set,Ne=new Set;for(let gn=0;gn<this.collectedLeaveElements.length;gn++){const Wn=this.collectedLeaveElements[gn],Gn=Wn[Br];Gn&&Gn.setForRemoval&&(ui.push(Wn),ki.add(Wn),Gn.hasAnimation?this.driver.query(Wn,".ng-star-inserted",!0).forEach(Si=>ki.add(Si)):Ne.add(Wn))}const or=new Map,Hi=Is(fi,Array.from(ki));Hi.forEach((gn,Wn)=>{const Gn=Ve+Un++;or.set(Wn,Gn),gn.forEach(Si=>uo(Si,Gn))}),A.push(()=>{Hn.forEach((gn,Wn)=>{const Gn=En.get(Wn);gn.forEach(Si=>xs(Si,Gn))}),Hi.forEach((gn,Wn)=>{const Gn=or.get(Wn);gn.forEach(Si=>xs(Si,Gn))}),ui.forEach(gn=>{this.processLeaveNode(gn)})});const fr=[],Vn=[];for(let gn=this._namespaceList.length-1;gn>=0;gn--)this._namespaceList[gn].drainQueuedTransitions(x).forEach(Gn=>{const Si=Gn.player,zi=Gn.element;if(fr.push(Si),this.collectedEnterElements.length){const Dr=zi[Br];if(Dr&&Dr.setForMove){if(Dr.previousTriggersValues&&Dr.previousTriggersValues.has(Gn.triggerName)){const No=Dr.previousTriggersValues.get(Gn.triggerName),ls=this.statesByElement.get(Gn.element);if(ls&&ls.has(Gn.triggerName)){const Rc=ls.get(Gn.triggerName);Rc.value=No,ls.set(Gn.triggerName,Rc)}}return void Si.destroy()}}
1const fo=!mn||!this.driver.containsElement(mn,zi),ar=or.get(zi),Fs=En.get(zi),Zi=this._buildInstruction(Gn,X,Fs,ar,fo);if(Zi.errors&&Zi.errors.length)return void Vn.push(Zi);if(fo)return Si.onStart(()=>vi(zi,Zi.fromStyles)),Si.onDestroy(()=>Bn(zi,Zi.toStyles)),void fe.push(Si);if(Gn.isFallbackTransition)return Si.onStart(()=>vi(zi,Zi.fromStyles)),Si.onDestroy(()=>Bn(zi,Zi.toStyles)),void fe.push(Si);const hc=[];Zi.timelines.forEach(Dr=>{Dr.stretchStartingKeyframe=!0,this.disabledNodes.has(Dr.element)||hc.push(Dr)}),Zi.timelines=hc,X.append(zi,Zi.timelines),Ze.push({instruction:Zi,player:Si,element:zi}),Zi.queriedElements.forEach(Dr=>rn(et,Dr,[]).push(Si)),Zi.preStyleProps.forEach((Dr,No)=>{if(Dr.size){let ls=Et.get(No);ls||Et.set(No,ls=new Set),Dr.forEach((Rc,Ho)=>ls.add(Ho))}}),Zi.postStyleProps.forEach((Dr,No)=>{let ls=Mt.get(No);ls||Mt.set(No,ls=new Set),Dr.forEach((Rc,Ho)=>ls.add(Ho))})});if(Vn.length){const gn=[];Vn.forEach(Wn=>{gn.push(function fn(){return new d.wOt(3505,!1)}())}),fr.forEach(Wn=>Wn.destroy()),this.reportError(gn)}const bn=new Map,jr=new Map;Ze.forEach(gn=>{const Wn=gn.element;X.has(Wn)&&(jr.set(Wn,Wn),this._beforeAnimationBuild(gn.player.namespaceId,gn.instruction,bn))}),fe.forEach(gn=>{const Wn=gn.element;this._getPreviousPlayers(Wn,!1,gn.namespaceId,gn.triggerName,null).forEach(Si=>{rn(bn,Wn,[]).push(Si),Si.destroy()})});const Ko=ui.filter(gn=>wo(gn,Et,Mt)),vr=new Map;ss(vr,this.driver,Ne,Mt,Fe.kp).forEach(gn=>{wo(gn,Et,Mt)&&Ko.push(gn)});const Fo=new Map;Hn.forEach((gn,Wn)=>{ss(Fo,this.driver,new Set(gn),Et,Fe.FX)}),Ko.forEach(gn=>{const Wn=vr.get(gn),Gn=Fo.get(gn);vr.set(gn,new Map([...Wn?.entries()??[],...Gn?.entries()??[]]))});const sr=[],Qa=[],Or={};Ze.forEach(gn=>{const{element:Wn,player:Gn,instruction:Si}=gn;if(X.has(Wn)){if(zt.has(Wn))return Gn.onDestroy(()=>Bn(Wn,Si.toStyles)),Gn.disabled=!0,Gn.overrideTotalTime(Si.totalTime),void fe.push(Gn);let zi=Or;if(jr.size>1){let ar=Wn;const Fs=[];for(;ar=ar.parentNode;){const Zi=jr.get(ar);if(Zi){zi=Zi;break}Fs.push(ar)}Fs.forEach(Zi=>jr.set(Zi,zi))}const fo=this._buildAnimation(Gn.namespaceId,Si,bn,Be,Fo,vr);if(Gn.setRealPlayer(fo),zi===Or)sr.push(Gn);else{const ar=this.playersByElement.get(zi);ar&&ar.length&&(Gn.parentPlayer=Kt(ar)),fe.push(Gn)}}else vi(Wn,Si.fromStyles),Gn.onDestroy(()=>Bn(Wn,Si.toStyles)),Qa.push(Gn),zt.has(Wn)&&fe.push(Gn)}),Qa.forEach(gn=>{const Wn=Be.get(gn.element);if(Wn&&Wn.length){const Gn=Kt(Wn);gn.setRealPlayer(Gn)}}),fe.forEach(gn=>{gn.parentPlayer?gn.syncPlayerEvents(gn.parentPlayer):gn.destroy()});for(let gn=0;gn<ui.length;gn++){const Wn=ui[gn],Gn=Wn[Br];if(xs(Wn,Ve),Gn&&Gn.hasAnimation)continue;let Si=[];if(et.size){let fo=et.get(Wn);fo&&fo.length&&Si.push(...fo);let ar=this.driver.query(Wn,Qt,!0);for(let Fs=0;Fs<ar.length;Fs++){let Zi=et.get(ar[Fs]);Zi&&Zi.length&&Si.push(...Zi)}}const zi=Si.filter(fo=>!fo.destroyed);zi.length?Zs(this,Wn,zi):this.processLeaveNode(Wn)}return ui.length=0,sr.forEach(gn=>{this.players.push(gn),gn.onDone(()=>{gn.destroy();const Wn=this.players.indexOf(gn);this.players.splice(Wn,1)}),gn.play()}),sr}afterFlush(A){this._flushFns.push(A)}afterFlushAnimationsDone(A){this._whenQuietFns.push(A)}_getPreviousPlayers(A,x,X,fe,Be){let Ze=[];if(x){const et=this.playersByQueriedElement.get(A);et&&(Ze=et)}else{const et=this.playersByElement.get(A);if(et){const Et=!Be||Be==yo;et.forEach(Mt=>{Mt.queued||!Et&&Mt.triggerName!=fe||Ze.push(Mt)})}}return(X||fe)&&(Ze=Ze.filter(et=>!(X&&X!=et.namespaceId||fe&&fe!=et.triggerName))),Ze}_beforeAnimationBuild(A,x,X){const Be=x.element,Ze=x.isRemovalTransition?void 0:A,et=x.isRemovalTransition?void 0:x.triggerName;for(const Et of x.timelines){const Mt=Et.element,zt=Mt!==Be,mn=rn(X,Mt,[]);this._getPreviousPlayers(Mt,zt,Ze,et,x.toState).forEach(Hn=>{const En=Hn.getRealPlayer();En.beforeDestroy&&En.beforeDestroy(),Hn.destroy(),mn.push(Hn)})}vi(Be,x.fromStyles)}_buildAnimation(A,x,X,fe,Be,Ze){const et=x.triggerName,Et=x.element,Mt=[],zt=new Set,mn=new Set,fi=x.timelines.map(En=>{const Un=En.element;zt.add(Un);const ui=Un[Br];if(ui&&ui.removedBeforeQueried)return new Fe.sf(En.duration,En.delay);const ki=Un!==Et,Ne=function da(ae){const A=[];return $o(ae,A),A}((X.get(Un)||Wo).map(bn=>bn.getRealPlayer())).filter(bn=>!!bn.element&&bn.element===Un),or=Be.get(Un),Hi=Ze.get(Un),fr=Ue(this._normalizer,En.keyframes,or,Hi),Vn=this._buildPlayer(En,fr,Ne);
1if(En.subTimeline&&fe&&mn.add(Un),ki){const bn=new Ie(A,et,Un);bn.setRealPlayer(Vn),Mt.push(bn)}return Vn});Mt.forEach(En=>{rn(this.playersByQueriedElement,En.element,[]).push(En),En.onDone(()=>function st(ae,A,x){let X=ae.get(A);if(X){if(X.length){const fe=X.indexOf(x);X.splice(fe,1)}0==X.length&&ae.delete(A)}return X}(this.playersByQueriedElement,En.element,En))}),zt.forEach(En=>uo(En,wt));const Hn=Kt(fi);return Hn.onDestroy(()=>{zt.forEach(En=>xs(En,wt)),Bn(Et,x.toStyles)}),mn.forEach(En=>{rn(fe,En,[]).push(Hn)}),Hn}_buildPlayer(A,x,X){return x.length>0?this.driver.animate(A.element,x,A.duration,A.delay,A.easing,X):new Fe.sf(A.duration,A.delay)}}class Ie{constructor(A,x,X){this.namespaceId=A,this.triggerName=x,this.element=X,this._player=new Fe.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(A){this._containsRealPlayer||(this._player=A,this._queuedCallbacks.forEach((x,X)=>{x.forEach(fe=>at(A,X,void 0,fe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(A.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(A){this.totalTime=A}syncPlayerEvents(A){const x=this._player;x.triggerCallback&&A.onStart(()=>x.triggerCallback("start")),A.onDone(()=>this.finish()),A.onDestroy(()=>this.destroy())}_queueEvent(A,x){rn(this._queuedCallbacks,A,[]).push(x)}onDone(A){this.queued&&this._queueEvent("done",A),this._player.onDone(A)}onStart(A){this.queued&&this._queueEvent("start",A),this._player.onStart(A)}onDestroy(A){this.queued&&this._queueEvent("destroy",A),this._player.onDestroy(A)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(A){this.queued||this._player.setPosition(A)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(A){const x=this._player;x.triggerCallback&&x.triggerCallback(A)}}function oi(ae){return ae&&1===ae.nodeType}function Ds(ae,A){const x=ae.style.display;return ae.style.display=A??"none",x}function ss(ae,A,x,X,fe){const Be=[];x.forEach(Et=>Be.push(Ds(Et)));const Ze=[];X.forEach((Et,Mt)=>{const zt=new Map;Et.forEach(mn=>{const fi=A.computeStyle(Mt,mn,fe);zt.set(mn,fi),(!fi||0==fi.length)&&(Mt[Br]=Qs,Ze.push(Mt))}),ae.set(Mt,zt)});let et=0;return x.forEach(Et=>Ds(Et,Be[et++])),Ze}function Is(ae,A){const x=new Map;if(ae.forEach(et=>x.set(et,[])),0==A.length)return x;const fe=new Set(A),Be=new Map;function Ze(et){if(!et)return 1;let Et=Be.get(et);if(Et)return Et;const Mt=et.parentNode;return Et=x.has(Mt)?Mt:fe.has(Mt)?1:Ze(Mt),Be.set(et,Et),Et}return A.forEach(et=>{const Et=Ze(et);1!==Et&&x.get(Et).push(et)}),x}function uo(ae,A){ae.classList?.add(A)}function xs(ae,A){ae.classList?.remove(A)}function Zs(ae,A,x){Kt(x).onDone(()=>ae.processLeaveNode(A))}function $o(ae,A){for(let x=0;x<ae.length;x++){const X=ae[x];X instanceof Fe.ui?$o(X.players,A):A.push(X)}}function wo(ae,A,x){const X=x.get(ae);if(!X)return!1;let fe=A.get(ae);return fe?X.forEach(Be=>fe.add(Be)):A.set(ae,X),x.delete(ae),!0}class Co{constructor(A,x,X){this._driver=x,this._normalizer=X,this._triggerCache={},this.onRemovalComplete=(fe,Be)=>{},this._transitionEngine=new G(A.body,x,X),this._timelineEngine=new os(A.body,x,X),this._transitionEngine.onRemovalComplete=(fe,Be)=>this.onRemovalComplete(fe,Be)}registerTrigger(A,x,X,fe,Be){const Ze=A+"-"+fe;let et=this._triggerCache[Ze];if(!et){const Et=[],zt=dr(this._driver,Be,Et,[]);if(Et.length)throw function ze(){return new d.wOt(3404,!1)}();et=function Xr(ae,A,x){return new Ei(ae,A,x)}(fe,zt,this._normalizer),this._triggerCache[Ze]=et}this._transitionEngine.registerTrigger(x,fe,et)}register(A,x){this._transitionEngine.register(A,x)}destroy(A,x){this._transitionEngine.destroy(A,x)}
1onInsert(A,x,X,fe){this._transitionEngine.insertNode(A,x,X,fe)}onRemove(A,x,X){this._transitionEngine.removeNode(A,x,X)}disableAnimations(A,x){this._transitionEngine.markElementAsDisabled(A,x)}process(A,x,X,fe){if("@"==X.charAt(0)){const[Be,Ze]=dn(X);this._timelineEngine.command(Be,x,Ze,fe)}else this._transitionEngine.trigger(A,x,X,fe)}listen(A,x,X,fe,Be){if("@"==X.charAt(0)){const[Ze,et]=dn(X);return this._timelineEngine.listen(Ze,x,et,Be)}return this._transitionEngine.listen(A,x,X,fe,Be)}flush(A=-1){this._transitionEngine.flush(A)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(A){this._transitionEngine.afterFlushAnimationsDone(A)}}class Yn{static{this.initialStylesByElement=new WeakMap}constructor(A,x,X){this._element=A,this._startStyles=x,this._endStyles=X,this._state=0;let fe=Yn.initialStylesByElement.get(A);fe||Yn.initialStylesByElement.set(A,fe=new Map),this._initialStyles=fe}start(){this._state<1&&(this._startStyles&&Bn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Bn(this._element,this._initialStyles),this._endStyles&&(Bn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Yn.initialStylesByElement.delete(this._element),this._startStyles&&(vi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(vi(this._element,this._endStyles),this._endStyles=null),Bn(this._element,this._initialStyles),this._state=3)}}function xi(ae){let A=null;return ae.forEach((x,X)=>{(function mr(ae){return"display"===ae||"position"===ae})(X)&&(A=A||new Map,A.set(X,x))}),A}class bo{constructor(A,x,X,fe){this.element=A,this.keyframes=x,this.options=X,this._specialStyles=fe,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=X.duration,this._delay=X.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(A=>A()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const A=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,A,this.options),this._finalKeyframe=A.length?A[A.length-1]:new Map;const x=()=>this._onFinish();this.domPlayer.addEventListener("finish",x),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",x)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(A){const x=[];return A.forEach(X=>{x.push(Object.fromEntries(X))}),x}_triggerWebAnimation(A,x,X){return A.animate(this._convertKeyframesToObject(x),X)}onStart(A){this._originalOnStartFns.push(A),this._onStartFns.push(A)}onDone(A){this._originalOnDoneFns.push(A),this._onDoneFns.push(A)}onDestroy(A){this._onDestroyFns.push(A)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(A=>A()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(A=>A()),this._onDestroyFns=[])}setPosition(A){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=A*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const A=new Map;this.hasStarted()&&this._finalKeyframe.forEach((X,fe)=>{"offset"!==fe&&A.set(fe,this._finished?X:oo(this.element,fe))}),this.currentSnapshot=A}triggerCallback(A){const x="start"===A?this._onStartFns:this._onDoneFns;x.forEach(X=>X()),x.length=0}}class Fr{validateStyleProperty(A){return!0}validateAnimatableStyleProperty(A){return!0}containsElement(A,x){return Te(A,x)}getParentElement(A){return ai(A)}query(A,x,X){return lt(A,x,X)}computeStyle(A,x,X){return oo(A,x)}animate(A,x,X,fe,Be,Ze=[]){const Et={duration:X,delay:fe,fill:0==fe?"both":"forwards"};Be&&(Et.easing=Be);const Mt=new Map,zt=Ze.filter(Hn=>Hn instanceof bo);(function Jo(ae,A){return 0===ae||0===A})(X,fe)&&zt.forEach(Hn=>{Hn.currentSnapshot.forEach((En,Un)=>Mt.set(Un,En))});let mn=function Zn(ae){return ae.length?ae[0]instanceof Map?ae:ae.map(A=>
1new Map(Object.entries(A))):[]}(x).map(Hn=>new Map(Hn));mn=function Ur(ae,A,x){if(x.size&&A.length){let X=A[0],fe=[];if(x.forEach((Be,Ze)=>{X.has(Ze)||fe.push(Ze),X.set(Ze,Be)}),fe.length)for(let Be=1;Be<A.length;Be++){let Ze=A[Be];fe.forEach(et=>Ze.set(et,oo(ae,et)))}}return A}(A,mn,Mt);const fi=function uc(ae,A){let x=null,X=null;return Array.isArray(A)&&A.length?(x=xi(A[0]),A.length>1&&(X=xi(A[A.length-1]))):A instanceof Map&&(x=xi(A)),x||X?new Yn(ae,x,X):null}(A,mn);return new bo(A,mn,Et,fi)}}const qs="@.disabled";class yt{constructor(A,x,X,fe){this.namespaceId=A,this.delegate=x,this.engine=X,this._onDestroy=fe,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(A){this.delegate.destroyNode?.(A)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(A,x){return this.delegate.createElement(A,x)}createComment(A){return this.delegate.createComment(A)}createText(A){return this.delegate.createText(A)}appendChild(A,x){this.delegate.appendChild(A,x),this.engine.onInsert(this.namespaceId,x,A,!1)}insertBefore(A,x,X,fe=!0){this.delegate.insertBefore(A,x,X),this.engine.onInsert(this.namespaceId,x,A,fe)}removeChild(A,x,X){this.parentNode(x)&&this.engine.onRemove(this.namespaceId,x,this.delegate)}selectRootElement(A,x){return this.delegate.selectRootElement(A,x)}parentNode(A){return this.delegate.parentNode(A)}nextSibling(A){return this.delegate.nextSibling(A)}setAttribute(A,x,X,fe){this.delegate.setAttribute(A,x,X,fe)}removeAttribute(A,x,X){this.delegate.removeAttribute(A,x,X)}addClass(A,x){this.delegate.addClass(A,x)}removeClass(A,x){this.delegate.removeClass(A,x)}setStyle(A,x,X,fe){this.delegate.setStyle(A,x,X,fe)}removeStyle(A,x,X){this.delegate.removeStyle(A,x,X)}setProperty(A,x,X){"@"==x.charAt(0)&&x==qs?this.disableAnimations(A,!!X):this.delegate.setProperty(A,x,X)}setValue(A,x){this.delegate.setValue(A,x)}listen(A,x,X){return this.delegate.listen(A,x,X)}disableAnimations(A,x){this.engine.disableAnimations(A,x)}}class jt extends yt{constructor(A,x,X,fe,Be){super(x,X,fe,Be),this.factory=A,this.namespaceId=x}setProperty(A,x,X){"@"==x.charAt(0)?"."==x.charAt(1)&&x==qs?this.disableAnimations(A,X=void 0===X||!!X):this.engine.process(this.namespaceId,A,x.slice(1),X):this.delegate.setProperty(A,x,X)}listen(A,x,X){if("@"==x.charAt(0)){const fe=function Ut(ae){switch(ae){case"body":return document.body;case"document":return document;case"window":return window;default:return ae}}(A);let Be=x.slice(1),Ze="";return"@"!=Be.charAt(0)&&([Be,Ze]=function Tn(ae){const A=ae.indexOf(".");return[ae.substring(0,A),ae.slice(A+1)]}(Be)),this.engine.listen(this.namespaceId,fe,Be,Ze,et=>{this.factory.scheduleListenerCallback(et._data||-1,X,et)})}return this.delegate.listen(A,x,X)}}class ti{constructor(A,x,X){this.delegate=A,this.engine=x,this._zone=X,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,x.onRemovalComplete=(fe,Be)=>{Be?.removeChild(null,fe)}}createRenderer(A,x){const fe=this.delegate.createRenderer(A,x);if(!A||!x?.data?.animation){const Mt=this._rendererCache;let zt=Mt.get(fe);return zt||(zt=new yt("",fe,this.engine,()=>Mt.delete(fe)),Mt.set(fe,zt)),zt}const Be=x.id,Ze=x.id+"-"+this._currentId;this._currentId++,this.engine.register(Ze,A);const et=Mt=>{Array.isArray(Mt)?Mt.forEach(et):this.engine.registerTrigger(Be,Ze,A,Mt.name,Mt)};return x.data.animation.forEach(et),new jt(this,Ze,fe,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(A,x,X){if(A>=0&&A<this._microtaskId)return void this._zone.run(()=>x(X));const fe=this._animationCallbacksBuffer;0==fe.length&&queueMicrotask(()=>{this._zone.run(()=>{fe.forEach(Be=>{const[Ze,et]=Be;Ze(et)}),this._animationCallbacksBuffer=[]})}),fe.push([x,X])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const Ra=[{provide:Ht,useFactory:function Tr(){return new qn}},{provide:Co,useClass:(()=>{class ae extends Co{constructor(x,X,fe){super(x,X,fe)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(X){return new(X||ae)(d.KVO(C.DOCUMENT),d.KVO(Kn),d.KVO(Ht))}}static{this.\u0275prov=d.jDH({token:ae,factory:ae.\u0275fac})}}return ae})()},{provide:d._9s,useFactory:function Li(ae,A,x){return new ti(ae,A,x)},deps:[i.B7,Co,d.SKi]}],fa=[{provide:Kn,useFactory:()=>new Fr},{provide:d.bc$,useValue:"BrowserAnimations"},...Ra],Vr=[{provide:Kn,useClass:Sn},{provide:d.bc$,useValue:"NoopAnimations"},...Ra];let Ps=(()=>{class ae{static withConfig(x){return{ngModule:ae,providers:x.disableAnimations?Vr:fa}}static{this.\u0275fac=function(X){return new(X||ae)}}static{this.\u0275mod=d.$C({type:ae})}static{this.\u0275inj=d.G2t({providers:fa,imports:[i.Bb]})}}return ae})();var as=r(40173),Bi=r(72864),pa=r(82361);let ga=(()=>{class ae{constructor(x,X){this.translationService=x,this._modalService=X}handleError(x){if(this._isChunkFailed(x))return this._openAlertPopup();console.error(x),(0,Oe.$)(x)}_openAlertPopup(){this._modalService.openPopup({component:Bi.n,payload:{message:this._instantTranslate("error.new_version_is_available"),confirmFunction:this._reloadApp.bind(this),removeCloseButton:!0}})}_reloadApp(){window&&window.location.reload()}_instantTranslate(x){return this.translationService.instant(x)}_isChunkFailed(x){const X=(0,p.A)(x,"message","");return(0,as.A)(x,"ChunkLoadError")&&(0,as.A)(X,"Loading chunk")&&(0,as.A)(X,"failed.")}static{this.\u0275fac=function(X){return new(X||ae)(d.KVO(v.c$),d.KVO(pa.B))}}static{this.\u0275prov=d.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})();const Lr=new d.nKC("IDeviceFingerprintService");let na=(()=>{class ae{constructor(x,X){this._httpClient=x,this._deviceFingerprintService=X}intercept(x,X){const fe=this._deviceFingerprintService.maybeWithFingerprintHeader(x);if(typeof window<"u"||!MONITORING_REQUESTS_URL)return X.handle(fe);const Be=performance.now();return X.handle(fe).pipe((0,_t.j)(()=>{fe.url!==MONITORING_REQUESTS_URL&&this.logRequestTime(Be,fe.url)}))}logRequestTime(x,X){const fe=""+(performance.now()-x);try{this._httpClient.post(MONITORING_REQUESTS_URL,{url:X,duration:fe}).toPromise()}catch(Be){console.log(Be)}}static{this.\u0275fac=function(X){return new(X||ae)(d.KVO(h.Qq),d.KVO(Lr))}}static{this.\u0275prov=d.jDH({token:ae,factory:ae.\u0275fac})}}return ae})();var ia=r(62386),dc=r(72036),ra=r(7930),hr=r(95447),Yr=r(2428),wa=r(6
17076),cs=r(6847),Fa=r(28257),Rs=r(3923),Na=r(27767),ws=r(61131),Qr=r(65283),ho=r(94942),oa=r(54509),B=r(3287);class Ce{constructor(A,x,X,fe,Be,Ze,et,Et,Mt,zt,mn,fi,Hn,En){this.cookieService=A,this._localizationService=x,this._routingService=X,this._configurationService=fe,this._injector=Be,this._transferStateService=Ze,this._httpClient=et,this._httpService=Et,this._state=Mt,this._restConfigurationService=zt,this._configurationMiddlewareService=mn,this._authService=fi,this._configKeysService=Hn,this._configTemplateService=En,this.initFetchConfigEndpoints=[Yr.gV,Yr.Y5,Yr.PS,Yr.LP]}initCheck(){var A=this;return new Promise((x,X)=>{if("development"!==ENV)try{const fe=this._injector.get(d.Agw);(0,C.isPlatformServer)(fe)?(N.P.locale=this._injector.get(wa.ne)||DEFAULT_LOCALE,this._transferStateService.set("LANGUAGE_KEY",N.P.locale)):(N.P.locale=this._transferStateService.get("LANGUAGE_KEY")||DEFAULT_LOCALE,this._configKeysService.markKeysAsLoaded(this._getConfigurationKeys())),this.fetchAndSetConfigurations().then((0,o.A)(function*(){yield A._setTranslationsAndRoutes(),A._handleRedirection(),yield A._authService.checkIfUserShouldLogin(),x()}))}catch(fe){X(fe)}else{const fe=this.cookieService.get(hr.lo);N.P.locale=fe;const Be=this._getConfigurationKeys(),Ze=(0,Fa.Ys)(fe,Be);this._httpClient.get(Ze.url).subscribe(function(){var et=(0,o.A)(function*(Et){const{boConfig:Mt,restConfig:zt}=Ze.type===Na.$S.UNIFIED?{boConfig:Et.bo,restConfig:Et.rest}:{boConfig:Et,restConfig:void 0};A._state.set((0,d.zw6)(hr.fX),Mt),A._state.set((0,d.zw6)(hr.qk),zt),A._localizationService.initTranslations(),A._configurationService.initConfigurations(),A._configTemplateService.addTemplates(Mt?.templates??{}),A._configKeysService.markKeysAsLoaded(Be),yield A._getPlayerGeoLocation(),A.fetchAndSetConfigurations().then(()=>{if(!A._shouldOpenLandingPage()){const mn=A._routingService.getCurrentUrl();"/"===mn?A._routingService.navigateToHome():A._routingService.navigateByUrl(mn)}A._authService.checkIfUserShouldLogin(),x()})});return function(Et){return et.apply(this,arguments)}}(),()=>{X()})}})}_getConfigurationKeys(){const A=(0,d.zw6)(hr.ux);return(0,C.isPlatformServer)(this._injector.get(d.Agw))&&this._state.set(A,this._injector.get(ra.eA)),this._state.get(A,null)??(0,Rs.$)(window.location.pathname)}fetchAndSetConfigurations(){var A=this;return(0,o.A)(function*(){const x=(0,d.zw6)(hr.qk);(0,C.isPlatformServer)(A._injector.get(d.Agw))&&A._state.set(x,A._injector.get(ra.Ao));const X=A._state.get(x,null);if(X)return A._restConfigurationService.updateRestConfiguration(X),(0,C.isPlatformServer)(A._injector.get(d.Agw))||A._configKeysService.markKeysAsLoaded(A._getConfigurationKeys()),Promise.resolve();const fe=A.initFetchConfigEndpoints.map(Be=>A.fetchConfiguration(Be).then(Ze=>{A._restConfigurationService.initConfigurations(Ze.payload,Be)}));return Promise.all(fe)})()}fetchConfiguration(A){return this._configurationMiddlewareService.get(A,this.generateConfigStateKey(A),Vt.XW,!0).toPromise()}_setTranslationsAndRoutes(){var A=this;return(0,o.A)(function*(){const x=A._injector.get(d.Agw);(0,C.isPlatformServer)(x)&&A._transferStateService.set(hr.fX,A._injector.get(ra.vo));const fe=A._transferStateService.get(hr.fX);A._localizationService.initTranslations(),A._configurationService.initConfigurations(),A._configTemplateService.addTemplates(fe?.templates??{}),A._configKeysService.markKeysAsLoaded(A._getConfigurationKeys()),yield A._getPlayerGeoLocation()})()}_handleRedirection(){if(!this._shouldOpenLandingPage()){const A=this._routingService.getCurrentUrl();"/"===A?this._routingService.navigateToHome():this._routingService.navigateByUrl(A)}}_shouldOpenLandingPage(){return(0,dc.A)(this.cookieService.get("first_time_visit_site"))}generateConfigStateKey(A){const X=A.startsWith("http://")||A.startsWith("https://")?A.split("/").slice(3).find(fe=>!!fe)??"unknown":A.split("/")[A.split("/").length-1];return`${Yr.s}${X}`}_getPlayerGeoLocation(){var A=this;return(0,o.A)(function*(){if("enabled"!==A._configurationService.getParam("is_geo_location_enabled"))return;const X=new cs.Dc(A._configurationService.getParam("allowed_country_codes"),A._configurationService.getParam("white_listed_ip_addresses"),A._configurationService.getParam("black_listed_ip_addresses"),A._configurationService.getParam("ip_range_from"),A._configurationService.getParam("ip_range_to"));yield A._authService.getPlayerGeoLocation(X)})()}static{this.\u0275fac=function(x){return new(x||Ce)(d.KVO(me.Q),d.KVO(N.P),d.KVO(F.O),d.KVO(U.s),d.KVO(d.zZn),d.KVO(ws.G),d.KVO(h.Qq),d.KVO(Qr.k),d.KVO(d.pJN),d.KVO(T.M),d.KVO(ho.S),d.KVO(L.u),d.KVO(oa.u),d.KVO(B.c))}}static{this.\u0275prov=d.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}}(0,m.Cg)([y.X],Ce.prototype,"_getPlayerGeoLocation",null);class Y{maybeWithFingerprintHeader(A){return A}}const ue="X-Device-Fingerprint";class Ke{constructor(){this._hostnamesToSendFingerprintTo=new Set([new URL(API_URL).hostname,new URL(AUTH_API).hostname,new URL(PAYMENT_API).hostname,new URL(CASINO_API).hostname])}
1maybeWithFingerprintHeader(A){return this._shouldSendFingerprintHeaderToUrl(A.url)?A.clone({setHeaders:this._getDeviceFingerprintHeader()}):A}_shouldSendFingerprintHeaderToUrl(A){try{const x=new URL(A).hostname;return this._hostnamesToSendFingerprintTo.has(x)}catch{return!1}}_getDeviceFingerprintHeader(){return{[ue]:this._createDeviceFingerprint()}}_createDeviceFingerprint(){return JSON.stringify({"navigator.hardwareConcurrency":navigator.hardwareConcurrency,"navigator.platform":navigator.platform,"navigator.languages":navigator.languages,"navigator.cookieEnabled":navigator.cookieEnabled,"navigator.deviceMemory":navigator.deviceMemory,"navigator.maxTouchpoints":navigator.maxTouchPoints,"navigator.webdriver":navigator.webdriver,"screen.width":screen.width,"screen.height":screen.height,"screen.colorDepth":screen.colorDepth,"screen.pixelDepth":screen.pixelDepth})}}class It{constructor(){this._authService=(0,d.WQX)(L.u),this._deviceFingerprintService=new Y,this._authChangeEffect=(0,d.QZP)(()=>{this._deviceFingerprintService=this._authService.currentUser().isUserLogin?new Ke:new Y})}maybeWithFingerprintHeader(A){return this._deviceFingerprintService.maybeWithFingerprintHeader(A)}}var Wt=r(58333),Cn=r(83477);const Ri=["microservice/cee","microservice/dni","microservice/cpf","microservice/fresh-desk","betshop/geo/autocomplete","betshop/geo/place_details","betshop/geo/location"],Gi=(ae,A)=>CONFIGURATION_MIDDLEWARE_URL&&!(typeof window>"u")&&TURNSTILE_SITE_KEY&&ae.url.startsWith(CONFIGURATION_MIDDLEWARE_URL)&&Ri.some(X=>ae.url.includes(X))?(0,d.WQX)(Cn.N).executeInvisible().pipe((0,Qe.n)(X=>{if(!X)return A(ae);const fe=ae.clone({headers:ae.headers.set("X-Turnstile-Token",X)});return A(fe)}),(0,tt.W)(X=>(0,Oe.$)(()=>X))):A(ae);var ni=r(40872);function kn(ae,A,x,X){return()=>ae.bootstrap().then((0,o.A)(function*(){yield A.initCheck(),(0,C.isPlatformBrowser)(X)&&(yield x.addEmailOrPhoneToDataLayer({event:"identityReady"}))}))}let Ki=(()=>{class ae{constructor(x){this._themeService=x,this._themeService.setTheme()}static{this.\u0275fac=function(X){return new(X||ae)(d.KVO(ni.F))}}static{this.\u0275mod=d.$C({type:ae,bootstrap:[Me]})}static{this.\u0275inj=d.G2t({providers:[me.Q,(0,i.$x)((0,i.dE)()),{provide:"meridianbet-web-v4",useValue:"serverApp"},{provide:d.hnV,useFactory:kn,multi:!0,deps:[L.u,Ce,Wt.A,d.Agw]},{provide:h.a7,useClass:na,multi:!0},{provide:h.a7,useClass:Ot,multi:!0,deps:[L.u]},{provide:Lr,useFactory:x=>(0,C.isPlatformBrowser)(x)?new It:new Y,deps:[d.Agw]},{provide:d.zcH,useClass:ga},(0,ia.B)({player:()=>r.e(6107).then(r.t.bind(r,66107,23))}),(0,ia.ak)(),(0,h.$R)((0,h.Sx)()),(0,h.$R)((0,h.b$)([Gi]))],imports:[i.Bb,Ps,_.u,v.h.forRoot(),ke]})}}return ae})();r(97144).c.production&&(0,d.SmG)(),(0,o.A)(function*(){if(SENTRY_URL){const ae=yield r.e(7992).then(r.bind(r,17992));ae.init({dsn:SENTRY_URL,sendDefaultPii:!0,integrations:[ae.browserTracingIntegration()],tracesSampleRate:1,tracePropagationTargets:["localhost",WEBSITE_URL]})}document.addEventListener("DOMContentLoaded",()=>{i.sG().bootstrapModule(Ki).catch(ae=>console.error(ae))})})()},7930:(he,M,r)=>{"use strict";r.d(M,{Ao:()=>d,Fs:()=>_,MI:()=>v,UG:()=>m,eA:()=>h,q$:()=>p,vo:()=>i});var o=r(54438);const i=new o.nKC("configuration bo data"),d=new o.nKC("configuration rest data"),h=new o.nKC("configuration keys"),v=new o.nKC("ssr access auth token"),_=new o.nKC("ssr refresh auth token"),m=new o.nKC("ssr session id"),p=new o.nKC("ssr expires at ")},67076:(he,M,r)=>{"use strict";r.d(M,{As:()=>h,CI:()=>v,LC:()=>d,ne:()=>i});var o=r(54438);const i=new o.nKC("locale"),d=new o.nKC("isBot"),h=new o.nKC("isLighthouse"),v=new o.nKC("ci")},93878:function(he,M,r){var o,d;he=r.nmd(he),void 0!==(d="function"==typeof(o=function(){"use strict";var h={},v=null;function _(z){if(he&&he.exports)try{return Object(function(){var ee=new Error("Cannot find module 'crypto'");throw ee.code="MODULE_NOT_FOUND",ee}())(z)}catch{}try{var W;return(self.crypto||self.msCrypto).getRandomValues(W=new Uint32Array(z)),Array.prototype.slice.call(W)}catch{}if(!v)throw Error("Neither WebCryptoAPI nor a crypto module is available. Use bcrypt.setRandomFallback to set an alternative");return v(z)}try{_(1)}catch{}function p(z,W){for(var re=0,ee=0,Se=0,J=z.length;Se<J;++Se)z.charCodeAt(Se)===W.charCodeAt(Se)?++re:++ee;return!(re<0)&&0===ee}v=null,h.setRandomFallback=function(z){v=z},h.genSaltSync=function(z,W){if("number"!=typeof(z=z||N))throw Error("Illegal arguments: "+typeof z+", "+typeof W);z<4?z=4:z>31&&(z=31);var re=[];return re.push("$2a$"),z<10&&re.push("0"),re.push(z.toString()),re.push("$"),re.push(I(_(F),F)),re.join("")},h.genSalt=function(z,W,re){if("function"==typeof W&&(re=W,W=void 0),"function"==typeof z&&(re=z,z=void 0),typeof z>"u")z=N;else if("number"!=typeof z)throw Error("illegal arguments: "+typeof z);function ee(Se){u(function(){try{Se(null,h.genSaltSync(z))}catch(J){Se(J)}})}if(!re)return new Promise(function(Se,J){ee(function(de,ke){de?J(de):Se(ke)})});if("function"!=typeof re)throw Error("Illegal callback: "+typeof re);ee(re)},h.hashSync=function(z,W){if(typeof W>"u"&&(W=N),"number"==typeof W&&(W=h.genSaltSync(W)),"string"!=typeof z||"string"!=typeof W)throw Error("Illegal arguments: "+typeof z+", "+typeof W);return oe(z,W)},h.hash=function(z,W,re,ee){function Se(J){"string"==typeof z&&"number"==typeof W?h.genSalt(W,function(de,ke){oe(z,ke,J,ee)}):"string"==typeof z&&"string"==typeof W?oe(z,W,J,ee):u(J.bind(this,Error("Illegal arguments: "+typeof z+", "+typeof W)))}if(!re)return new Promise(function(J,de){Se(function(ke,ge){ke?de(ke):J(ge)})});if("function"!=typeof re)throw Error("Illegal callback: "+typeof re);Se(re)},h.compareSync=function(z,W){if("string"!=typeof z||"string"!=typeof W)throw Error("Illegal arguments: "+typeof z+", "+typeof W);return 60===W.length&&p(h.hashSync(z,W.substr(0,W.length-31)),W)},h.compare=function(z,W,re,ee){function Se(J){"string"==typeof z&&"string"==typeof W?60===W.length?h.hash(z,W.substr(0,29),function(de,ke){de?J(de):J(null,p(ke,W))},ee):u(J.bind(this,null,!1)):u(J.bind(this,Error("Illegal arguments: "+typeof z+", "+typeof W)))}if(!re)return new Promise(function(J,de){Se(function(ke,ge){ke?de(ke):J(ge)})});if("function"!=typeof re)throw Error("Illegal callback: "+typeof re);Se(re)},h.getRounds=function(z){if("string"!=typeof z)throw Error("Illegal arguments: "+typeof z);return parseInt(z.split("$")[2],10)},h.getSalt=function(z){if("string"!=typeof z)throw Error("Illegal arguments: "+typeof z);if(60!==z.length)throw Error("Illegal hash length: "+z.length+" != 60");return z.substring(0,29)};var u=typeof process<"u"&&process&&"function"==typeof process.nextTick?"function"==typeof setImmediate?setImmediate:process.nextTick:setTimeout;var C="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),l=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,54,55,56,57,58,59,60,61,62,63,-1,-1,-1,-1,-1,-1,-1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,-1,-1,-1,-1,-1,-1,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,-1,-1,-1,-1,-1],y=String.fromCharCode;function I(z,W){var Se,J,re=0,ee=[];
1if(W<=0||W>z.length)throw Error("Illegal len: "+W);for(;re<W;){if(Se=255&z[re++],ee.push(C[Se>>2&63]),Se=(3&Se)<<4,re>=W){ee.push(C[63&Se]);break}if(J=255&z[re++],ee.push(C[63&(Se|=J>>4&15)]),Se=(15&J)<<2,re>=W){ee.push(C[63&Se]);break}J=255&z[re++],ee.push(C[63&(Se|=J>>6&3)]),ee.push(C[63&J])}return ee.join("")}function S(z,W){var de,ke,ge,Pe,Me,re=0,ee=z.length,Se=0,J=[];if(W<=0)throw Error("Illegal len: "+W);for(;re<ee-1&&Se<W&&(de=(Me=z.charCodeAt(re++))<l.length?l[Me]:-1,ke=(Me=z.charCodeAt(re++))<l.length?l[Me]:-1,!(-1==de||-1==ke||(Pe=de<<2>>>0,Pe|=(48&ke)>>4,J.push(y(Pe)),++Se>=W||re>=ee)||(Me=z.charCodeAt(re++),ge=Me<l.length?l[Me]:-1,-1==ge)||(Pe=(15&ke)<<4>>>0,Pe|=(60&ge)>>2,J.push(y(Pe)),++Se>=W||re>=ee)));)Me=z.charCodeAt(re++),Pe=(3&ge)<<6>>>0,J.push(y(Pe|=Me<l.length?l[Me]:-1)),++Se;var We=[];for(re=0;re<Se;re++)We.push(J[re].charCodeAt(0));return We}var z,P=z={MAX_CODEPOINT:1114111,encodeUTF8:function(W,re){var ee=null;for("number"==typeof W&&(ee=W,W=function(){return null});null!==ee||null!==(ee=W());)ee<128?re(127&ee):ee<2048?(re(ee>>6&31|192),re(63&ee|128)):ee<65536?(re(ee>>12&15|224),re(ee>>6&63|128),re(63&ee|128)):(re(ee>>18&7|240),re(ee>>12&63|128),re(ee>>6&63|128),re(63&ee|128)),ee=null},decodeUTF8:function(W,re){for(var ee,Se,J,de,ke=function(ge){ge=ge.slice(0,ge.indexOf(null));var ye=Error(ge.toString());throw ye.name="TruncatedError",ye.bytes=ge,ye};null!==(ee=W());)if(128&ee)if(192==(224&ee))null===(Se=W())&&ke([ee,Se]),re((31&ee)<<6|63&Se);else if(224==(240&ee))(null===(Se=W())||null===(J=W()))&&ke([ee,Se,J]),re((15&ee)<<12|(63&Se)<<6|63&J);else{if(240!=(248&ee))throw RangeError("Illegal starting byte: "+ee);(null===(Se=W())||null===(J=W())||null===(de=W()))&&ke([ee,Se,J,de]),re((7&ee)<<18|(63&Se)<<12|(63&J)<<6|63&de)}else re(ee)},UTF16toUTF8:function(W,re){for(var ee,Se=null;null!==(ee=null!==Se?Se:W());)ee>=55296&&ee<=57343&&null!==(Se=W())&&Se>=56320&&Se<=57343?(re(1024*(ee-55296)+Se-56320+65536),Se=null):re(ee);null!==Se&&re(Se)},UTF8toUTF16:function(W,re){var ee=null;for("number"==typeof W&&(ee=W,W=function(){return null});null!==ee||null!==(ee=W());)ee<=65535?re(ee):(re(55296+((ee-=65536)>>10)),re(ee%1024+56320)),ee=null},encodeUTF16toUTF8:function(W,re){z.UTF16toUTF8(W,function(ee){z.encodeUTF8(ee,re)})},decodeUTF8toUTF16:function(W,re){z.decodeUTF8(W,function(ee){z.UTF8toUTF16(ee,re)})},calculateCodePoint:function(W){return W<128?1:W<2048?2:W<65536?3:4},calculateUTF8:function(W){for(var re,ee=0;null!==(re=W());)ee+=z.calculateCodePoint(re);return ee},calculateUTF16asUTF8:function(W){var re=0,ee=0;return z.UTF16toUTF8(W,function(Se){++re,ee+=z.calculateCodePoint(Se)}),[re,ee]}};Date.now=Date.now||function(){return+new Date};var F=16,N=10,U=16,T=100,L=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],Z=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,
1122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,
11797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],ie=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892];function ve(z,W,re,ee){var Se,J=z[W],de=z[W+1];return Se=ee[(J^=re[0])>>>24],Se+=ee[256|J>>16&255],Se^=ee[512|J>>8&255],Se=ee[(de^=(Se+=ee[768|255&J])^re[1])>>>24],Se+=ee[256|de>>16&255],Se^=ee[512|de>>8&255],Se=ee[(J^=(Se+=ee[768|255&de])^re[2])>>>24],Se+=ee[256|J>>16&255],Se^=ee[512|J>>8&255],Se=ee[(de^=(Se+=ee[768|255&J])^re[3])>>>24],Se+=ee[256|de>>16&255],Se^=ee[512|de>>8&255],Se=ee[(J^=(Se+=ee[768|255&de])^re[4])>>>24],Se+=ee[256|J>>16&255],Se^=ee[512|J>>8&255],Se=ee[(de^=(Se+=ee[768|255&J])^re[5])>>>24],Se+=ee[256|de>>16&255],Se^=ee[512|de>>8&255],Se=ee[(J^=(Se+=ee[768|255&de])^re[6])>>>24],Se+=ee[256|J>>16&255],Se^=ee[512|J>>8&255],Se=ee[(de^=(Se+=ee[768|255&J])^re[7])>>>24],Se+=ee[256|de>>16&255],Se^=ee[512|de>>8&255],Se=ee[(J^=(Se+=ee[768|255&de])^re[8])>>>24],Se+=ee[256|J>>16&255],Se^=ee[512|J>>8&255],Se=ee[(de^=(Se+=ee[768|255&J])^re[9])>>>24],Se+=ee[256|de>>16&255],Se^=ee[512|de>>8&255],Se=ee[(J^=(Se+=ee[768|255&de])^re[10])>>>24],Se+=ee[256|J>>16&255],Se^=ee[512|J>>8&255],Se=ee[(de^=(Se+=ee[768|255&J])^re[11])>>>24],Se+=ee[256|de>>16&255],Se^=ee[512|de>>8&255],Se=ee[(J^=(Se+=ee[768|255&de])^re[12])>>>24],Se+=ee[256|J>>16&255],Se^=ee[512|J>>8&255],Se=ee[(de^=(Se+=ee[768|255&J])^re[13])>>>24],Se+=ee[256|de>>16&255],Se^=ee[512|de>>8&255],Se=ee[(J^=(Se+=ee[768|255&de])^re[14])>>>24],Se+=ee[256|J>>16&255],Se^=ee[512|J>>8&255],Se=ee[(de^=(Se+=ee[768|255&J])^re[15])>>>24],Se+=ee[256|de>>16&255],Se^=ee[512|de>>8&255],J^=(Se+=ee[768|255&de])^re[16],z[W]=de^re[U+1],z[W+1]=J,z}function me(z,W){for(var re=0,ee=0;re<4;++re)ee=ee<<8|255&z[W],W=(W+1)%z.length;return{key:ee,offp:W}}function xe(z,W,re){for(var ke,ee=0,Se=[0,0],J=W.length,de=re.length,ge=0;ge<J;ge++)ee=(ke=me(z,ee)).offp,W[ge]=W[ge]^ke.key;for(ge=0;ge<J;ge+=2)Se=ve(Se,0,W,re),W[ge]=Se[0],W[ge+1]=Se[1];for(ge=0;ge<de;ge+=2)Se=ve(Se,0,W,re),re[ge]=Se[0],re[ge+1]=Se[1]}function V(z,W,re,ee,Se){var ke,J=ie.slice(),de=J.length;if(re<4||re>31){if(ke=Error("Illegal number of rounds (4-31): "+re),ee)return void u(ee.bind(this,ke));throw ke}if(W.length!==F){if(ke=Error("Illegal salt length: "+W.length+" != "+F),ee)return void u(ee.bind(this,ke));throw ke}re=1<<re>>>0;var ge,ye,Me,Pe=0;function We(){if(Se&&Se(Pe/re),!(Pe<re)){for(Pe=0;Pe<64;Pe++)for(Me=0;Me<de>>1;Me++)ve(J,Me<<1,ge,ye);var Qe=[];for(Pe=0;Pe<de;Pe++)Qe.push((J[Pe]>>24&255)>>>0),Qe.push((J[Pe]>>16&255)>>>0),Qe.push((J[Pe]>>8&255)>>>0),Qe.push((255&J[Pe])>>>0);return ee?void ee(null,Qe):Qe}for(var tt=Date.now();Pe<re&&(Pe+=1,xe(z,ge,ye),xe(W,ge,ye),!(Date.now()-tt>T)););ee&&u(We)}if(Int32Array?(ge=new Int32Array(L),ye=new Int32Array(Z)):(ge=L.slice(),ye=Z.slice()),function $(z,W,re,ee){for(var ge,Se=0,J=[0,0],de=re.length,ke=ee.length,ye=0;ye<de;ye++)Se=(ge=me(W,Se)).offp,re[ye]=re[ye]^ge.key;for(Se=0,ye=0;ye<de;ye+=2)Se=(ge=me(z,Se)).offp,J[0]^=ge.key,Se=(ge=me(z,Se)).offp,J[1]^=ge.key,J=ve(J,0,re,ee),re[ye]=J[0],re[ye+1]=J[1];for(ye=0;ye<ke;ye+=2)Se=(ge=me(z,Se)).offp,J[0]^=ge.key,Se=(ge=me(z,Se)).offp,J[1]^=ge.key,J=ve(J,0,re,ee),ee[ye]=J[0],ee[ye+1]=J[1]}(W,z,ge,ye),typeof ee<"u")We();else for(var Oe;;)if(typeof(Oe=We())<"u")return Oe||[]}function oe(z,W,re,ee){var Se,J,de;if("string"!=typeof z||"string"!=typeof W){if(Se=Error("Invalid string / salt: Not a string"),re)return void u(re.bind(this,Se));throw Se}if("$"!==W.charAt(0)||"2"!==W.charAt(1)){if(Se=Error("Invalid salt version: "+W.substring(0,2)),re)return void u(re.bind(this,Se));throw Se}if("$"===W.charAt(2))J="\0",de=3;
1else{if("a"!==(J=W.charAt(2))&&"b"!==J&&"y"!==J||"$"!==W.charAt(3)){if(Se=Error("Invalid salt revision: "+W.substring(2,4)),re)return void u(re.bind(this,Se));throw Se}de=4}if(W.charAt(de+2)>"$"){if(Se=Error("Missing salt rounds"),re)return void u(re.bind(this,Se));throw Se}var ye=10*parseInt(W.substring(de,de+1),10)+parseInt(W.substring(de+1,de+2),10),Pe=W.substring(de+3,de+25),Me=function E(z){var W=[],re=0;return P.encodeUTF16toUTF8(function(){return re>=z.length?null:z.charCodeAt(re++)},function(ee){W.push(ee)}),W}(z+=J>="a"?"\0":""),We=S(Pe,F);function Oe(tt){var Qe=[];return Qe.push("$2"),J>="a"&&Qe.push(J),Qe.push("$"),ye<10&&Qe.push("0"),Qe.push(ye.toString()),Qe.push("$"),Qe.push(I(We,We.length)),Qe.push(I(tt,4*ie.length-1)),Qe.join("")}if(typeof re>"u")return Oe(V(Me,We,ye));V(Me,We,ye,function(tt,Qe){tt?re(tt,null):re(null,Oe(Qe))},ee)}return h.encodeBase64=I,h.decodeBase64=S,h})?o.apply(M,[]):o)&&(he.exports=d)},93188:function(he,M,r){var o;he.exports=(o=r(17656),r(98891),r(78855),r(4147),r(12414),function(){var i=o,h=i.lib.BlockCipher,v=i.algo,_=[],m=[],p=[],u=[],E=[],C=[],l=[],y=[],I=[],S=[];!function(){for(var N=[],U=0;U<256;U++)N[U]=U<128?U<<1:U<<1^283;var T=0,L=0;for(U=0;U<256;U++){var Z=L^L<<1^L<<2^L<<3^L<<4;_[T]=Z=Z>>>8^255&Z^99,m[Z]=T;var xe,ie=N[T],ve=N[ie],me=N[ve];p[T]=(xe=257*N[Z]^16843008*Z)<<24|xe>>>8,u[T]=xe<<16|xe>>>16,E[T]=xe<<8|xe>>>24,C[T]=xe,l[Z]=(xe=16843009*me^65537*ve^257*ie^16843008*T)<<24|xe>>>8,y[Z]=xe<<16|xe>>>16,I[Z]=xe<<8|xe>>>24,S[Z]=xe,T?(T=ie^N[N[N[me^ie]]],L^=N[N[L]]):T=L=1}}();var P=[0,1,2,4,8,16,32,64,128,27,54],F=v.AES=h.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var U=this._keyPriorReset=this._key,T=U.words,L=U.sigBytes/4,ie=4*((this._nRounds=L+6)+1),ve=this._keySchedule=[],me=0;me<ie;me++)me<L?ve[me]=T[me]:(N=ve[me-1],me%L?L>6&&me%L==4&&(N=_[N>>>24]<<24|_[N>>>16&255]<<16|_[N>>>8&255]<<8|_[255&N]):(N=_[(N=N<<8|N>>>24)>>>24]<<24|_[N>>>16&255]<<16|_[N>>>8&255]<<8|_[255&N],N^=P[me/L|0]<<24),ve[me]=ve[me-L]^N);for(var xe=this._invKeySchedule=[],$=0;$<ie;$++){if(me=ie-$,$%4)var N=ve[me];else N=ve[me-4];xe[$]=$<4||me<=4?N:l[_[N>>>24]]^y[_[N>>>16&255]]^I[_[N>>>8&255]]^S[_[255&N]]}}},encryptBlock:function(N,U){this._doCryptBlock(N,U,this._keySchedule,p,u,E,C,_)},decryptBlock:function(N,U){var T=N[U+1];N[U+1]=N[U+3],N[U+3]=T,this._doCryptBlock(N,U,this._invKeySchedule,l,y,I,S,m),T=N[U+1],N[U+1]=N[U+3],N[U+3]=T},_doCryptBlock:function(N,U,T,L,Z,ie,ve,me){for(var xe=this._nRounds,$=N[U]^T[0],V=N[U+1]^T[1],oe=N[U+2]^T[2],z=N[U+3]^T[3],W=4,re=1;re<xe;re++){var ee=L[$>>>24]^Z[V>>>16&255]^ie[oe>>>8&255]^ve[255&z]^T[W++],Se=L[V>>>24]^Z[oe>>>16&255]^ie[z>>>8&255]^ve[255&$]^T[W++],J=L[oe>>>24]^Z[z>>>16&255]^ie[$>>>8&255]^ve[255&V]^T[W++],de=L[z>>>24]^Z[$>>>16&255]^ie[V>>>8&255]^ve[255&oe]^T[W++];$=ee,V=Se,oe=J,z=de}ee=(me[$>>>24]<<24|me[V>>>16&255]<<16|me[oe>>>8&255]<<8|me[255&z])^T[W++],Se=(me[V>>>24]<<24|me[oe>>>16&255]<<16|me[z>>>8&255]<<8|me[255&$])^T[W++],J=(me[oe>>>24]<<24|me[z>>>16&255]<<16|me[$>>>8&255]<<8|me[255&V])^T[W++],de=(me[z>>>24]<<24|me[$>>>16&255]<<16|me[V>>>8&255]<<8|me[255&oe])^T[W++],N[U]=ee,N[U+1]=Se,N[U+2]=J,N[U+3]=de},keySize:8});i.AES=h._createHelper(F)}(),o.AES)},45269:function(he,M,r){var o;he.exports=(o=r(17656),r(98891),r(78855),r(4147),r(12414),function(){var i=o,h=i.lib.BlockCipher;const _=16,m=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],p
vendor: 11,038 bytes, line 1
1=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var
1u={pbox:[],sbox:[]};function E(S,P){let L=S.sbox[0][P>>24&255]+S.sbox[1][P>>16&255];return L^=S.sbox[2][P>>8&255],L+=S.sbox[3][255&P],L}function C(S,P,F){let T,N=P,U=F;for(let L=0;L<_;++L)N^=S.pbox[L],U=E(S,N)^U,T=N,N=U,U=T;return T=N,N=U,U=T,U^=S.pbox[_],N^=S.pbox[_+1],{left:N,right:U}}var I=i.algo.Blowfish=h.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var S=this._keyPriorReset=this._key;!function y(S,P,F){for(let Z=0;Z<4;Z++){S.sbox[Z]=[];for(let ie=0;ie<256;ie++)S.sbox[Z][ie]=p[Z][ie]}let N=0;for(let Z=0;Z<_+2;Z++)S.pbox[Z]=m[Z]^P[N],N++,N>=F&&(N=0);let U=0,T=0,L=0;for(let Z=0;Z<_+2;Z+=2)L=C(S,U,T),U=L.left,T=L.right,S.pbox[Z]=U,S.pbox[Z+1]=T;for(let Z=0;Z<4;Z++)for(let ie=0;ie<256;ie+=2)L=C(S,U,T),U=L.left,T=L.right,S.sbox[Z][ie]=U,S.sbox[Z][ie+1]=T;return!0}(u,S.words,S.sigBytes/4)}},encryptBlock:function(S,P){var F=C(u,S[P],S[P+1]);S[P]=F.left,S[P+1]=F.right},decryptBlock:function(S,P){var F=function l(S,P,F){let T,N=P,U=F;for(let L=_+1;L>1;--L)N^=S.pbox[L],U=E(S,N)^U,T=N,N=U,U=T;return T=N,N=U,U=T,U^=S.pbox[1],N^=S.pbox[0],{left:N,right:U}}(u,S[P],S[P+1]);S[P]=F.left,S[P+1]=F.right},blockSize:2,keySize:4,ivSize:2});i.Blowfish=h._createHelper(I)}(),o.Blowfish)},12414:function(he,M,r){var d,h,v,_,m,p,E,l,y,S,P,F,U,L,ie,ve,xe,$,o;he.exports=(o=r(17656),r(4147),void(o.lib.Cipher||(d=o,h=d.lib,v=h.Base,_=h.WordArray,m=h.BufferedBlockAlgorithm,p=d.enc,E=p.Base64,l=d.algo.EvpKDF,y=h.Cipher=m.extend({cfg:v.extend(),createEncryptor:function(V,oe){return this.create(this._ENC_XFORM_MODE,V,oe)},createDecryptor:function(V,oe){return this.create(this._DEC_XFORM_MODE,V,oe)},init:function(V,oe,z){this.cfg=this.cfg.extend(z),this._xformMode=V,this._key=oe,this.reset()},reset:function(){m.reset.call(this),this._doReset()},process:function(V){return this._append(V),this._process()},finalize:function(V){return V&&this._append(V),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function V(oe){return"string"==typeof oe?$:ve}return function(oe){return{encrypt:function(z,W,re){return V(W).encrypt(oe,z,W,re)},decrypt:function(z,W,re){return V(W).decrypt(oe,z,W,re)}}}}()}),h.StreamCipher=y.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),S=d.mode={},P=h.BlockCipherMode=v.extend({createEncryptor:function(V,oe){return this.Encryptor.create(V,oe)},createDecryptor:function(V,oe){return this.Decryptor.create(V,oe)},init:function(V,oe){this._cipher=V,this._iv=oe}}),F=S.CBC=function(){var V=P.extend();function oe(z,W,re){var ee,Se=this._iv;Se?(ee=Se,this._iv=undefined):ee=this._prevBlock;for(var J=0;J<re;J++)z[W+J]^=ee[J]}return V.Encryptor=V.extend({processBlock:function(z,W){var re=this._cipher,ee=re.blockSize;oe.call(this,z,W,ee),re.encryptBlock(z,W),this._prevBlock=z.slice(W,W+ee)}}),V.Decryptor=V.extend({processBlock:function(z,W){var re=this._cipher,ee=re.blockSize,Se=z.slice(W,W+ee);re.decryptBlock(z,W),oe.call(this,z,W,ee),this._prevBlock=Se}}),V}(),U=(d.pad={}).Pkcs7={pad:function(V,oe){for(var z=4*oe,W=z-V.sigBytes%z,re=W<<24|W<<16|W<<8|W,ee=[],Se=0;Se<W;Se+=4)ee.push(re);var J=_.create(ee,W);V.concat(J)},unpad:function(V){V.sigBytes-=255&V.words[V.sigBytes-1>>>2]}},h.BlockCipher=y.extend({cfg:y.cfg.extend({mode:F,padding:U}),reset:function(){var V;y.reset.call(this);var oe=this.cfg,z=oe.iv,W=oe.mode;this._xformMode==this._ENC_XFORM_MODE?V=W.createEncryptor:(V=W.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==V?this._mode.init(this,z&&z.words):(this._mode=V.call(W,this,z&&z.words),this._mode.__creator=V)},_doProcessBlock:function(V,oe){this._mode.processBlock(V,oe)},_doFinalize:function(){var V,oe=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(oe.pad(this._data,this.blockSize),V=this._process(!0)):(V=this._process(!0),oe.unpad(V)),V},blockSize:4}),L=h.CipherParams=v.extend({init:function(V){this.mixIn(V)},toString:function(V){return(V||this.formatter).stringify(this)}}),ie=(d.format={}).OpenSSL={stringify:function(V){var z=V.ciphertext,W=V.salt;return(W?_.create([1398893684,1701076831]).concat(W).concat(z):z).toString(E)},parse:function(V){var oe,z=E.parse(V),W=z.words;return 1398893684==W[0]&&1701076831==W[1]&&(oe=_.create(W.slice(2,4)),W.splice(0,4),z.sigBytes-=16),L.create({ciphertext:z,salt:oe})}},ve=h.SerializableCipher=v.extend({cfg:v.extend({format:ie}),encrypt:function(V,oe,z,W){W=this.cfg.extend(W);var re=V.createEncryptor(z,W),ee=re.finalize(oe),Se=re.cfg;return L.create({ciphertext:ee,key:z,iv:Se.iv,algorithm:V,mode:Se.mode,padding:Se.padding,blockSize:V.blockSize,formatter:W.format})},decrypt:function(V,oe,z,W){return W=this.cfg.extend(W),oe=this._parse(oe,W.format),V.createDecryptor(z,W).finalize(oe.ciphertext)},_parse:function(V,oe){return"string"==typeof V?oe.parse(V,this):V}}),xe=(d.kdf={}).OpenSSL={execute:function(V,oe,z,W,re){if(W||(W=_.random(8)),re)var ee=l.create({keySize:oe+z,hasher:re}).compute(V,W);else ee=l.create({keySize:oe+z}).compute(V,W);var Se=_.create(ee.words.slice(oe),4*z);return ee.sigBytes=4*oe,L.create({key:ee,iv:Se,salt:W})}},$=h.PasswordBasedCipher=ve.extend({cfg:ve.cfg.extend({kdf:xe}),encrypt:function(V,oe,z,W){var re=(W=this.cfg.extend(W)).kdf.execute(z,V.keySize,V.ivSize,W.salt,W.hasher);W.iv=re.iv;var ee=ve.encrypt.call(this,V,oe,re.key,W);return ee.mixIn(re),ee},decrypt:function(V,oe,z,W){W=this.cfg.extend(W),oe=this._parse(oe,W.format);var re=W.kdf.execute(z,V.keySize,V.ivSize,oe.salt,W.hasher);return W.iv=re.iv,ve.decrypt.call(this,V,oe,re.key,W)}}))))},17656:function(he,M,r){var o;he.exports=(o=o||function(i){var h;if(typeof window<"u"&&window.crypto&&(h=window.crypto),typeof self<"u"&&self.crypto&&(h=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(h=globalThis.crypto),!h&&typeof window<"u"&&window.msCrypto&&(h=window.msCrypto),!h&&typeof global<"u"&&global.crypto&&(h=global.crypto),!h)try{h=r(50477)}catch{}var v=function(){if(h){if("function"==typeof h.getRandomValues)try{return h.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof h.randomBytes)try{return h.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},_=Object.create||function(){function N(){}return function(U){var T;return N.prototype=U,T=new N,N.prototype=null,T}}(),m={},p=m.lib={},u=p.Base=function(){return{extend:function(N){var U=_(this);return N&&U.mixIn(N),(!U.hasOwnProperty("init")||this.init===U.init)&&(U.init=function(){U.$super.init.a
1pply(this,arguments)}),U.init.prototype=U,U.$super=this,U},create:function(){var N=this.extend();return N.init.apply(N,arguments),N},init:function(){},mixIn:function(N){for(var U in N)N.hasOwnProperty(U)&&(this[U]=N[U]);N.hasOwnProperty("toString")&&(this.toString=N.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),E=p.WordArray=u.extend({init:function(N,U){N=this.words=N||[],this.sigBytes=null!=U?U:4*N.length},toString:function(N){return(N||l).stringify(this)},concat:function(N){var U=this.words,T=N.words,L=this.sigBytes,Z=N.sigBytes;if(this.clamp(),L%4)for(var ie=0;ie<Z;ie++)U[L+ie>>>2]|=(T[ie>>>2]>>>24-ie%4*8&255)<<24-(L+ie)%4*8;else for(var me=0;me<Z;me+=4)U[L+me>>>2]=T[me>>>2];return this.sigBytes+=Z,this},clamp:function(){var N=this.words,U=this.sigBytes;N[U>>>2]&=4294967295<<32-U%4*8,N.length=i.ceil(U/4)},clone:function(){var N=u.clone.call(this);return N.words=this.words.slice(0),N},random:function(N){for(var U=[],T=0;T<N;T+=4)U.push(v());return new E.init(U,N)}}),C=m.enc={},l=C.Hex={stringify:function(N){for(var U=N.words,T=N.sigBytes,L=[],Z=0;Z<T;Z++){var ie=U[Z>>>2]>>>24-Z%4*8&255;L.push((ie>>>4).toString(16)),L.push((15&ie).toString(16))}return L.join("")},parse:function(N){for(var U=N.length,T=[],L=0;L<U;L+=2)T[L>>>3]|=parseInt(N.substr(L,2),16)<<24-L%8*4;return new E.init(T,U/2)}},y=C.Latin1={stringify:function(N){for(var U=N.words,T=N.sigBytes,L=[],Z=0;Z<T;Z++)L.push(String.fromCharCode(U[Z>>>2]>>>24-Z%4*8&255));return L.join("")},parse:function(N){for(var U=N.length,T=[],L=0;L<U;L++)T[L>>>
12]|=(255&N.charCodeAt(L))<<24-L%4*8;return new E.init(T,U)}},I=C.Utf8={stringify:function(N){try{return decodeURIComponent(escape(y.stringify(N)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(N){return y.parse(unescape(encodeURIComponent(N)))}},S=p.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new E.init,this._nDataBytes=0},_append:function(N){"string"==typeof N&&(N=I.parse(N)),this._data.concat(N),this._nDataBytes+=N.sigBytes},_process:function(N){var U,T=this._data,L=T.words,Z=T.sigBytes,ie=this.blockSize,me=Z/(4*ie),xe=(me=N?i.ceil(me):i.max((0|me)-this._minBufferSize,0))*ie,$=i.min(4*xe,Z);if(xe){for(var V=0;V<xe;V+=ie)this._doProcessBlock(L,V);U=L.splice(0,xe),T.sigBytes-=$}return new E.init(U,$)},clone:function(){var N=u.clone.call(this);return N._data=this._data.clone(),N},_minBufferSize:0}),F=(p.Hasher=S.extend({cfg:u.extend(),init:function(N){this.cfg=this.cfg.extend(N),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(N){return this._append(N),this._process(),this},finalize:function(N){return N&&this._append(N),this._doFinalize()},blockSize:16,_createHelper:function(N){return function(U,T){return new N.init(T).finalize(U)}},_createHmacHelper:function(N){return function(U,T){return new F.HMAC.init(N,T).finalize(U)}}}),m.algo={});return m}(Math),o)},98891:function(he,M,r){var o,h;he.exports=(o=r(17656),h=o.lib.WordArray,o.enc.Base64={stringify:function(p){var u=p.words,E=p.sigBytes,C=this._map;p.clamp();for(var l=[],y=0;y<E;y+=3)for(var F=(u[y>>>2]>>>24-y%4*8&255)<<16|(u[y+1>>>2]>>>24-(y+1)%4*8&255)<<8|u[y+2>>>2]>>>24-(y+2)%4*8&255,N=0;N<4&&y+.75*N<E;N++)l.push(C.charAt(F>>>6*(3-N)&63));var U=C.charAt(64);if(U)for(;l.length%4;)l.push(U);return l.join("")},parse:function(p){var u=p.length,E=this._map,C=this._reverseMap;if(!C){C=this._reverseMap=[];for(var l=0;l<E.length;l++)C[E.charCodeAt(l)]=l}var y=E.charAt(64);if(y){var I=p.indexOf(y);-1!==I&&(u=I)}return function m(p,u,E){for(var C=[],l=0,y=0;y<u;y++)if(y%4){var I=E[p.charCodeAt(y-1)]<<y%4*2,S=E[p.charCodeAt(y)]>>>6-y%4*2;C[l>>>2]|=(I|S)<<24-l%4*8,l++}return h.create(C,l)}(p,u,C)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},6598:function(he,M,r){var o,h;he.exports=(o=r(17656),h=o.lib.WordArray,o.enc.Base64url={stringify:function(p,u){void 0===u&&(u=!0);var E=p.words,C=p.sigBytes,l=u?this._safe_map:this._map;p.clamp();for(var y=[],I=0;I<C;I+=3)for(var N=(E[I>>>2]>>>24-I%4*8&255)<<16|(E[I+1>>>2]>>>24-(I+1)%4*8&255)<<8|E[I+2>>>2]>>>24-(I+2)%4*8&255,U=0;U<4&&I+.75*U<C;U++)y.push(l.charAt(N>>>6*(3-U)&63));var T=l.charAt(64);if(T)for(;y.length%4;)y.push(T);return y.join("")},parse:function(p,u){void 0===u&&(u=!0);var E=p.length,C=u?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var y=0;y<C.length;y++)l[C.charCodeAt(y)]=y}var I=C.charAt(64);if(I){var S=p.indexOf(I);-1!==S&&(E=S)}return function m(p,u,E){for(var C=[],l=0,y=0;y<u;y++)if(y%4){var I=E[p.charCodeAt(y-1)]<<y%4*2,S=E[p.charCodeAt(y)]>>>6-y%4*2;C[l>>>2]|=(I|S)<<24-l%4*8,l++}return h.create(C,l)}(p,E,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},o.enc.Base64url)},75304:function(he,M,r){var o;he.exports=(o=r(17656),function(){var h=o.lib.WordArray,v=o.enc;function m(p){return p<<8&4278255360|p>>>8&16711935}v.Utf16=v.Utf16BE={stringify:function(p){for(var u=p.words,E=p.sigBytes,C=[],l=0;l<E;l+=2)C.push(String.fromCharCode(u[l>>>2]>>>16-l%4*8&65535));return C.join("")},parse:function(p){for(var u=p.length,E=[],C=0;C<u;C++)E[C>>>1]|=p.charCodeAt(C)<<16-C%2*16;return h.create(E,2*u)}},v.Utf16LE={stringify:function(p){for(var u=p.words,E=p.sigBytes,C=[],l=0;l<E;l+=2){var y=m(u[l>>>2]>>>16-l%4*8&65535);C.push(String.fromCharCode(y))}return C.join("")},parse:function(p){for(var u=p.length,E=[],C=0;C<u;C++)E[C>>>1]|=m(p.charCodeAt(C)<<16-C%2*16);return h.create(E,2*u)}}}(),o.enc.Utf16)},4147:function(he,M,r){var i,d,h,v,_,p,o;he.exports=(o=r(17656),r(79986),r(37868),v=(d=(i=o).lib).WordArray,p=(_=i.algo).EvpKDF=(h=d.Base).extend({cfg:h.extend({keySize:4,hasher:_.MD5,iterations:1}),init:function(u){this.cfg=this.cfg.extend(u)},compute:function(u,E){for(var C,l=this.cfg,y=l.hasher.create(),I=v.create(),S=I.words,P=l.keySize,F=l.iterations;S.length<P;){C&&y.update(C),C=y.update(u).finalize(E),y.reset();for(var N=1;N<F;N++)C=y.finalize(C),y.reset();I.concat(C)}return I.sigBytes=4*P,I}}),i.EvpKDF=function(u,E,C){return p.create(C).compute(u,E)},o.EvpKDF)},64564:function(he,M,r){var o,v,m;he.exports=(o=r(17656),r(12414),v=o.lib.CipherParams,m=o.enc.Hex,o.format.Hex={stringify:function(E){return E.ciphertext.toString(m)},parse:function(E){var C=m.parse(E);return v.create({ciphertext:C})}},o.format.Hex)},37868:function(he,M,r){var o,_;he.exports=(o=r(17656),_=o.enc.Utf8,void(o.algo.HMAC=o.lib.Base.extend({init:function(u,E){u=this._hasher=new u.init,"string"==typeof E&&(E=_.parse(E));var C=u.blockSize,l=4*C;E.sigBytes>l&&(E=u.finalize(E)),E.clamp();for(var y=this._oKey=E.clone(),I=this._iKey=E.clone(),S=y.words,P=I.words,F=0;F<C;F++)S[F]^=1549556828,P[F]^=909522486;y.sigBytes=I.sigBytes=l,this.reset()},reset:function(){var u=this._hasher;u.reset(),u.update(this._iKey)},update:function(u){return this._hasher.update(u),this},finalize:function(u){var E=this._hasher,C=E.finalize(u);return E.reset(),E.finalize(this._oKey.clone().concat(C))}})))},31471:function(he,M,r){var o;he.exports=(o=r(17656),r(24501),r(88823),r(75304),r(98891),r(6598),r(78855),r(79986),r(15168),r(39225),r(20885),r(84068),r(3752),r(10447),r(37868),r(87738),r(4147),r(12414),r(34152),r(69098),r(71057),r(86700),r(36115),r(90332),r(27516),r(29047),r(36964),r(52599),r(64564),r(93188),r(72515),r(85350),r(72795),r(82923),r(45269),o)},88823:function(he,M,r){var o;he.exports=(o=r(17656),function(){if("function"==typeof ArrayBuffer){var h=o.lib.WordArray,v=h.init,_=h.init=function(m){if(m instanceof ArrayBuffer&&(m=new Uint8Array(m)),(m instanceof Int8Array||typeof Uint8ClampedArray<"u"&&m instanceof Uint8ClampedArray||m instanceof Int16Array||m instanceof Uint16Array||m instanceof Int32Array||m instanceof Uint32Array||m instanceof Float32Array||m instanceof Float64Array)&&(m=new Uint8Array(m.buffer,m.byteOffset,m.byteLength)),m instanceof Uint8Array){for(var p=m.byteLength,u=[],E=0;E<p;E++)u[E>>>2]|=m[E]<<24-E%4*8;v.call(this,u,p)}else v.apply(this,arguments)};_.prototype=h}}(),o.lib.WordArray)},78855:function(he,M,r){var o;he.exports=(o=r(17656),function(i){var d=o,h=d.lib,v=h.WordArray,_=h.Hasher,m=d.algo,p=[];!function(){for(var I=0;I<64;I++)p[I]=4294967296*i.abs(i.sin(I+1))|0}();var u=m.MD5=_.extend({_doReset:function(){this._hash=new v.init([
vendor: 8,348 bytes, line 1
11732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(I,S){for(var P=0;P<16;P++){var F=S+P,N=I[F];I[F]=16711935&(N<<8|N>>>24)|4278255360&(N<<24|N>>>8)}var U=this._hash.words,T=I[S+0],L=I[S+1],Z=I[S+2],ie=I[S+3],ve=I[S+4],me=I[S+5],xe=I[S+6],$=I[S+7],V=I[S+8],oe=I[S+9],z=I[S+10],W=I[S+11],re=I[S+12],ee=I[S+13],Se=I[S+14],J=I[S+15],de=U[0],ke=U[1],ge=U[2],ye=U[3];de=E(de,ke,ge,ye,T,7,p[0]),ye=E(ye,de,ke,ge,L,12,p[1]),ge=E(ge,ye,de,ke,Z,17,p[2]),ke=E(ke,ge,ye,de,ie,22,p[3]),de=E(de,ke,ge,ye,ve,7,p[4]),ye=E(ye,de,ke,ge,me,12,p[5]),ge=E(ge,ye,de,ke,xe,17,p[6]),ke=E(ke,ge,ye,de,$,22,p[7]),de=E(de,ke,ge,ye,V,7,p[8]),ye=E(ye,de,ke,ge,oe,12,p[9]),ge=E(ge,ye,de,ke,z,17,p[10]),ke=E(ke,ge,ye,de,W,22,p[11]),de=E(de,ke,ge,ye,re,7,p[12]),ye=E(ye,de,ke,ge,ee,12,p[13]),ge=E(ge,ye,de,ke,Se,17,p[14]),de=C(de,ke=E(ke,ge,ye,de,J,22,p[15]),ge,ye,L,5,p[16]),ye=C(ye,de,ke,ge,xe,9,p[17]),ge=C(ge,ye,de,ke,W,14,p[18]),ke=C(ke,ge,ye,de,T,20,p[19]),de=C(de,ke,ge,ye,me,5,p[20]),ye=C(ye,de,ke,ge,z,9,p[21]),ge=C(ge,ye,de,ke,J,14,p[22]),ke=C(ke,ge,ye,de,ve,20,p[23]),de=C(de,ke,ge,ye,oe,5,p[24]),ye=C(ye,de,ke,ge,Se,9,p[25]),ge=C(ge,ye,de,ke,ie,14,p[26]),ke=C(ke,ge,ye,de,V,20,p[27]),de=C(de,ke,ge,ye,ee,5,p[28]),ye=C(ye,de,ke,ge,Z,9,p[29]),ge=C(ge,ye,de,ke,$,14,p[30]),de=l(de,ke=C(ke,ge,ye,de,re,20,p[31]),ge,ye,me,4,p[32]),ye=l(ye,de,ke,ge,V,11,p[33]),ge=l(ge,ye,de,ke,W,16,p[34]),ke=l(ke,ge,ye,de,Se,23,p[35]),de=l(de,ke,ge,ye,L,4,p[36]),ye=l(ye,de,ke,ge,ve,11,p[37]),ge=l(ge,ye,de,ke,$,16,p[38]),ke=l(ke,ge,ye,de,z,23,p[39]),de=l(de,ke,ge,ye,ee,4,p[40]),ye=l(ye,de,ke,ge,T,11,p[41]),ge=l(ge,ye,de,ke,ie,16,p[42]),ke=l(ke,ge,ye,de,xe,23,p[43]),de=l(de,ke,ge,ye,oe,4,p[44]),ye=l(ye,de,ke,ge,re,11,p[45]),ge=l(ge,ye,de,ke,J,16,p[46]),de=y(de,ke=l(ke,ge,ye,de,Z,23,p[47]),ge,ye,T,6,p[48]),ye=y(ye,de,ke,ge,$,10,p[49]),ge=y(ge,ye,de,ke,Se,15,p[50]),ke=y(ke,ge,ye,de,me,21,p[51]),de=y(de,ke,ge,ye,re,6,p[52]),ye=y(ye,de,ke,ge,ie,10,p[53]),ge=y(ge,ye,de,ke,z,15,p[54]),ke=y(ke,ge,ye,de,L,21,p[55]),de=y(de,ke,ge,ye,V,6,p[56]),ye=y(ye,de,ke,ge,J,10,p[57]),ge=y(ge,ye,de,ke,xe,15,p[58]),ke=y(ke,ge,ye,de,ee,21,p[59]),de=y(de,ke,ge,ye,ve,6,p[60]),ye=y(ye,de,ke,ge,W,10,p[61]),ge=y(ge,ye,de,ke,Z,15,p[62]),ke=y(ke,ge,ye,de,oe,21,p[63]),U[0]=U[0]+de|0,U[1]=U[1]+ke|0,U[2]=U[2]+ge|0,U[3]=U[3]+ye|0},_doFinalize:function(){var I=this._data,S=I.words,P=8*this._nDataBytes,F=8*I.sigBytes;S[F>>>5]|=128<<24-F%32;var N=i.floor(P/4294967296),U=P;S[15+(F+64>>>9<<4)]=16711935&(N<<8|N>>>24)|4278255360&(N<<24|N>>>8),S[14+(F+64>>>9<<4)]=16711935&(U<<8|U>>>24)|4278255360&(U<<24|U>>>8),I.sigBytes=4*(S.length+1),this._process();for(var T=this._hash,L=T.words,Z=0;Z<4;Z++){var ie=L[Z];L[Z]=16711935&(ie<<8|ie>>>24)|4278255360&(ie<<24|ie>>>8)}return T},clone:function(){var I=_.clone.call(this);return I._hash=this._hash.clone(),I}});function E(I,S,P,F,N,U,T){var L=I+(S&P|~S&F)+N+T;return(L<<U|L>>>32-U)+S}function C(I,S,P,F,N,U,T){var L=I+(S&F|P&~F)+N+T;return(L<<U|L>>>32-U)+S}function l(I,S,P,F,N,U,T){var L=I+(S^P^F)+N+T;return(L<<U|L>>>32-U)+S}function y(I,S,P,F,N,U,T){var L=I+(P^(S|~F))+N+T;return(L<<U|L>>>32-U)+S}d.MD5=_._createHelper(u),d.HmacMD5=_._createHmacHelper(u)}(Math),o.MD5)},34152:function(he,M,r){var o;he.exports=(o=r(17656),r(12414),o.mode.CFB=function(){var i=o.lib.BlockCipherMode.extend();function d(h,v,_,m){var p,u=this._iv;u?(p=u.slice(0),this._iv=void 0):p=this._prevBlock,m.encryptBlock(p,0);for(var E=0;E<_;E++)h[v+E]^=p[E]}return i.Encryptor=i.extend({processBlock:function(h,v){var _=this._cipher,m=_.blockSize;d.call(this,h,v,m,_),this._prevBlock=h.slice(v,v+m)}}),i.Decryptor=i.extend({processBlock:function(h,v){var _=this._cipher,m=_.blockSize,p=h.slice(v,v+m);d.call(this,h,v,m,_),this._prevBlock=p}}),i}(),o.mode.CFB)},71057:function(he,M,r){var o;he.exports=(o=r(17656),r(12414),o.mode.CTRGladman=function(){var i=o.lib.BlockCipherMode.extend();function d(_){if(255&~(_>>24))_+=1<<24;else{var m=_>>16&255,p=_>>8&255,u=255&_;255===m?(m=0,255===p?(p=0,255===u?u=0:++u):++p):++m,_=0,_+=m<<16,_+=p<<8,_+=u}return _}var v=i.Encryptor=i.extend({processBlock:function(_,m){var p=this._cipher,u=p.blockSize,E=this._iv,C=this._counter;E&&(C=this._counter=E.slice(0),this._iv=void 0),function h(_){return 0===(_[0]=d(_[0]))&&(_[1]=d(_[1])),_}(C);var l=C.slice(0);p.encryptBlock(l,0);for(var y=0;y<u;y++)_[m+y]^=l[y]}});return i.Decryptor=v,i}(),o.mode.CTRGladman)},69098:function(he,M,r){var i,d,o;he.exports=(o=r(17656),r(12414),o.mode.CTR=(d=(i=o.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(h,v){var _=this._cipher,m=_.blockSize,p=this._iv,u=this._counter;p&&(u=this._counter=p.slice(0),this._iv=void 0);var E=u.slice(0);_.encryptBlock(E,0),u[m-1]=u[m-1]+1|0;for(var C=0;C<m;C++)h[v+C]^=E[C]}}),i.Decryptor=d,i),o.mode.CTR)},36115:function(he,M,r){var i,o;he.exports=(o=r(17656),r(12414),o.mode.ECB=((i=o.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(d,h){this._cipher.encryptBlock(d,h)}}),i.Decryptor=i.extend({processBlock:function(d,h){this._cipher.decryptBlock(d,h)}}),i),o.mode.ECB)},86700:function(he,M,r){var i,d,o;he.exports=(o=r(17656),r(12414),o.mode.OFB=(d=(i=o.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(h,v){var _=this._cipher,m=_.blockSize,p=this._iv,u=this._keystream;p&&(u=this._keystream=p.slice(0),this._iv=void 0),_.encryptBlock(u,0);for(var E=0;E<m;E++)h[v+E]^=u[E]}}),i.Decryptor=d,i),o.mode.OFB)},90332:function(he,M,r){var o;he.exports=(o=r(17656),r(12414),o.pad.AnsiX923={pad:function(i,d){var h=i.sigBytes,v=4*d,_=v-h%v,m=h+_-1;i.clamp(),i.words[m>>>2]|=_<<24-m%4*8,i.sigBytes+=_},unpad:function(i){i.sigBytes-=255&i.words[i.sigBytes-1>>>2]}},o.pad.Ansix923)},27516:function(he,M,r){var o;he.exports=(o=r(17656),r(12414),o.pad.Iso10126={pad:function(i,d){var h=4*d,v=h-i.sigBytes%h;i.concat(o.lib.WordArray.random(v-1)).concat(o.lib.WordArray.create([v<<24],1))},unpad:function(i){i.sigBytes-=255&i.words[i.sigBytes-1>>>2]}},o.pad.Iso10126)},29047:function(he,M,r){var o;he.exports=(o=r(17656),r(12414),o.pad.Iso97971={pad:function(i,d){i.concat(o.lib.WordArray.create([2147483648],1)),o.pad.ZeroPadding.pad(i,d)},unpad:function(i){o.pad.ZeroPadding.unpad(i),i.sigBytes--}},o.pad.Iso97971)},52599:function(he,M,r){var o;he.exports=(o=r(17656),r(12414),o.pad.NoPadding={pad:function(){},unpad:function(){}},o.pad.NoPadding)},36964:function(he,M,r){var o;he.exports=(o=r(17656),r(12414),o.pad.ZeroPadding={pad:function(i,d){var h=4*d;i.clamp(),i.sigBytes+=h-(i.sigBytes%h||h)},unpad:function(i){var d=i.words,h=i.sigBytes-1;for(h=i.sigBytes-1;h>=0;h--)if(d[h>>>2]>>>24-h%4*8&255){i.sigBytes=h+1;break}}},o.pad.ZeroPadding)},87738:function(he,M,r){var i,d,h,v,_,p,u,o;he.exports=(o=r(17656),r(15168),r(37868),v=(d=(i=o).lib).WordArray,p=(_=i.algo).HMAC,u=_.PBKDF2=(h=d.Base).extend({cfg:h.extend({keySize:4,hasher:_.SHA256,iterations:25e4}),init:function(E){this.cfg=this.cfg.extend(E)},compute:function(E,C){for(var l=this.cfg,y=p.create(l.hasher,E),I=v.create(),S=v.create([1]),P=I.words,F=S.words,N=l.keySize,U=l.iterations;P.length<N;){var T=y.update(C).finalize(S);y.reset();for(var L=T.words,Z=L.length,ie=T,ve=1;ve<U;ve++){ie=y.finalize(ie),y.reset();for(var me=ie.words,xe=0;xe<Z;xe++)L[xe]^=me[xe]}I.concat(T),F[0]++}return I.sigBytes=4*N,I}}),i.PBKDF2=function(E,C,l){return u.create(l).compute(E,C)},o.PBKDF2)},82923:function(he,M,r){var o;he.exports=(o=r(17656),r(98891),r(78855),r(4147),r(12414),function(){var i=o,h=i.lib.StreamCipher,_=[],m=[],p=[],u=i.algo.RabbitLegacy=h.extend({_doReset:function(){var C=this._key.words,l=this.cfg.iv,y=this._X=[C[0],C[3]<<16|C[2]>>>16,C[1],C[0]<<16|C[3]>>>16,C[2],C[1]<<16|C[0]>>>16,C[3],C[2]<<16|C[1]>>>16],I=this._C=[C[2]<<16|C[2]>>>16,4294901760&C[0]|65535&C[1],C[3]<<16|C[3]>>>16,4294901760&C[1]|65535&C[2],C[0]<<16|C[0]>>>16,4294901760&C[2]|65535&C[3],C[1]<<16|C[1]>>>16,4294901760&C[3]|65535&C[0]];this._b=0;for(var S=0;S<4;S++)E.call(this);for(S=0;S<8;S++)I[S]^=y[S+4&7];if(l){var P=l.words,F=P[0],N=P[1],U=16711935&(F<<8|F>>>24)|4278255360&(F<<24|F>>>8),T=16711935&(N<<8|N>>>24)|4278255360&(N<<24|N>>>8),L=U>>>16|4294901760&T,Z=T<<16|65535&U;for(I[0]^=U,I[1]^=L,I[2]^=T,I[3]^=Z,I[4]^=U,I[5]^=L,I[6]^=T,I[7]^=Z,S=0;S<4;S++)E.call(this)}},_doProcessBlock:function(C,l){var y=this._X;E.call(this),_[0]=y[0]^y[5]>>>16^y[3]<<16,_[1]=y[2]^y[7]>>>16^y[5]<<16,_[2]=y[4]^y[1]>>>
116^y[7]<<16,_[3]=y[6]^y[3]>>>16^y[1]<<16;for(var I=0;I<4;I++)_[I]=16711935&(_[I]<<8|_[I]>>>24)|4278255360&(_[I]<<24|_[I]>>>8),C[l+I]^=_[I]},blockSize:4,ivSize:2});function E(){for(var C=this._X,l=this._C,y=0;y<8;y++)m[y]=l[y];for(l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0<m[0]>>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0<m[1]>>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0<m[2]>>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0<m[3]>>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0<m[4]>>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0<m[5]>>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0<m[6]>>>0?1:0)|0,this._b=l[7]>>>0<m[7]>>>0?1:0,y=0;y<8;y++){var I=C[y]+l[y],S=65535&I,P=I>>>16;p[y]=((S*S>>>17)+S*P>>>15)+P*P^((4294901760&I)*I|0)+((65535&I)*I|0)}C[0]=p[0]+(p[7]<<16|p[7]>>>16)+(p[6]<<16|p[6]>>>16)|0,C[1]=p[1]+(p[0]<<8|p[0]>>>24)+p[7]|0,C[2]=p[2]+(p[1]<<16|p[1]>>>16)+(p[0]<<16|p[0]>>>16)|0,C[3]=p[3]+(p[2]<<8|p[2]>>>24)+p[1]|0,C[4]=p[4]+(p[3]<<16|p[3]>>>16)+(p[2]<<16|p[2]>>>16)|0,C[5]=p[5]+(p[4]<<8|p[4]>>>24)+p[3]|0,C[6]=p[6]+(p[5]<<16|p[5]>>>16)+(p[4]<<16|p[4]>>>16)|0,C[7]=p[7]+(p[6]<<8|p[6]>>>24)+p[5]|0}i.RabbitLegacy=h._createHelper(u)}(),o.RabbitLegacy)},72795:function(he,M,r){var o;he.exports=(o=r(17656),r(98891),r(78855),r(4147),r(12414),function(){var i=o,h=i.lib.StreamCipher,_=[],m=[],p=[],u=i.algo.Rabbit=h.extend({_doReset:function(){for(var C=this._key.words,l=this.cfg.iv,y=0;y<4;y++)C[y]=16711935&(C[y]<<8|C[y]>>>24)|4278255360&(C[y]<<24|C[y]>>>8);var I=this._X=[C[0],C[3]<<16|C[2]>>>16,C[1],C[0]<<16|C[3]>>>16,C[2],C[1]<<16|C[0]>>>16,C[3],C[2]<<16|C[1]>>>16],S=this._C=[C[2]<<16|C[2]>>>16,4294901760&C[0]|65535&C[1],C[3]<<16|C[3]>>>16,4294901760&C[1]|65535&C[2],C[0]<<16|C[0]>>>16,4294901760&C[2]|65535&C[3],C[1]<<16|C[1]>>>16,4294901760&C[3]|65535&C[0]];for(this._b=0,y=0;y<4;y++)E.call(this);for(y=0;y<8;y++)S[y]^=I[y+4&7];if(l){var P=l.words,F=P[0],N=P[1],U=16711935&(F<<8|F>>>24)|4278255360&(F<<24|F>>>8),T=16711935&(N<<8|N>>>24)|4278255360&(N<<24|N>>>8),L=U>>>16|4294901760&T,Z=T<<16|65535&U;for(S[0]^=U,S[1]^=L,S[2]^=T,S[3]^=Z,S[4]^=U,S[5]^=L,S[6]^=T,S[7]^=Z,y=0;y<4;y++)E.call(this)}},_doProcessBlock:function(C,l){var y=this._X;E.call(this),_[0]=y[0]^y[5]>>>16^y[3]<<16,_[1]=y[2]^y[7]>>>16^y[5]<<16,_[2]=y[4]^y[1]>>>16^y[7]<<16,_[3]=y[6]^y[3]>>>16^y[1]<<16;for(var I=0;I<4;I++)_[I]=16711935&(_[I]<<8|_[I]>>>24)|4278255360&(_[I]<<24|_[I]>>>8),C[l+I]^=_[I]},blockSize:4,ivSize:2});function E(){for(var C=this._X,l=this._C,y=0;y<8;y++)m[y]=l[y];for(l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0<m[0]>>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0<m[1]>>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0<m[2]>>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0<m[3]>>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0<m[4]>>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0<m[5]>>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0<m[6]>>>0?1:0)|0,this._b=l[7]>>>0<m[7]>>>0?1:0,y=0;y<8;y++){var I=C[y]+l[y],S=65535&I,P=I>>>16;p[y]=((S*S>>>17)+S*P>>>15)+P*P^((4294901760&I)*I|0)+((65535&I)*I|0)}C[0]=p[0]+(p[7]<<16|p[7]>>>16)+(p[6]<<16|p[6]>>>16)|0,C[1]=p[1]+(p[0]<<8|p[0]>>>24)+p[7]|0,C[2]=p[2]+(p[1]<<16|p[1]>>>16)+(p[0]<<16|p[0]>>>16)|0,C[3]=p[3]+(p[2]<<8|p[2]>>>24)+p[1]|0,C[4]=p[4]+(p[3]<<16|p[3]>>>16)+(p[2]<<16|p[2]>>>16)|0,C[5]=p[5]+(p[4]<<8|p[4]>>>24)+p[3]|0,C[6]=p[6]+(p[5]<<16|p[5]>>>16)+(p[4]<<16|p[4]>>>16)|0,C[7]=p[7]+(p[6]<<8|p[6]>>>24)+p[5]|0}i.Rabbit=h._createHelper(u)}(),o.Rabbit)},85350:function(he,M,r){var o;he.exports=(o=r(17656),r(98891),r(78855),r(4147),r(12414),function(){var i=o,h=i.lib.StreamCipher,v=i.algo,_=v.RC4=h.extend({_doReset:function(){for(var u=this._key,E=u.words,C=u.sigBytes,l=this._S=[],y=0;y<256;y++)l[y]=y;y=0;for(var I=0;y<256;y++){var S=y%C,F=l[y];l[y]=l[I=(I+l[y]+(E[S>>>2]>>>24-S%4*8&255))%256],l[I]=F}this._i=this._j=0},_doProcessBlock:function(u,E){u[E]^=m.call(this)},keySize:8,ivSize:0});function m(){for(var u=this._S,E=this._i,C=this._j,l=0,y=0;y<4;y++){var I=u[E=(E+1)%256];u[E]=u[C=(C+u[E])%256],u[C]=I,l|=u[(u[E]+u[C])%256]<<24-8*y}return this._i=E,this._j=C,l}i.RC4=h._createHelper(_);var p=v.RC4Drop=_.extend({cfg:_.cfg.extend({drop:192}),_doReset:function(){_._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)m.call(this)}});i.RC4Drop=h._createHelper(p)}(),o.RC4)},10447:function(he,M,r){var o;he.exports=(o=r(17656),function(){var d=o,h=d.lib,v=h.WordArray,_=h.Hasher,m=d.algo,p=v.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=v.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),E=v.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),C=v.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=v.create([0,1518500249,1859775393,2400959708,2840853838]),y=v.create([1352829926,1548603684,1836072691,2053994217,0]),I=m.RIPEMD160=_.extend({_doReset:function(){this._hash=v.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(L,Z){for(var ie=0;ie<16;ie++){var ve=Z+ie,me=L[ve];
vendor: 5,369 bytes, line 1
1L[ve]=16711935&(me<<8|me>>>24)|4278255360&(me<<24|me>>>8)}var ee,Se,J,de,ke,ge,ye,Pe,Me,We,Oe,xe=this._hash.words,$=l.words,V=y.words,oe=p.words,z=u.words,W=E.words,re=C.words;for(ge=ee=xe[0],ye=Se=xe[1],Pe=J=xe[2],Me=de=xe[3],We=ke=xe[4],ie=0;ie<80;ie+=1)Oe=ee+L[Z+oe[ie]]|0,Oe+=ie<16?S(Se,J,de)+$[0]:ie<32?P(Se,J,de)+$[1]:ie<48?F(Se,J,de)+$[2]:ie<64?N(Se,J,de)+$[3]:U(Se,J,de)+$[4],Oe=(Oe=T(Oe|=0,W[ie]))+ke|0,ee=ke,ke=de,de=T(J,10),J=Se,Se=Oe,Oe=ge+L[Z+z[ie]]|0,Oe+=ie<16?U(ye,Pe,Me)+V[0]:ie<32?N(ye,Pe,Me)+V[1]:ie<48?F(ye,Pe,Me)+V[2]:ie<64?P(ye,Pe,Me)+V[3]:S(ye,Pe,Me)+V[4],Oe=(Oe=T(Oe|=0,re[ie]))+We|0,ge=We,We=Me,Me=T(Pe,10),Pe=ye,ye=Oe;Oe=xe[1]+J+Me|0,xe[1]=xe[2]+de+We|0,xe[2]=xe[3]+ke+ge|0,xe[3]=xe[4]+ee+ye|0,xe[4]=xe[0]+Se+Pe|0,xe[0]=Oe},_doFinalize:function(){var L=this._data,Z=L.words,ie=8*this._nDataBytes,ve=8*L.sigBytes;Z[ve>>>5]|=128<<24-ve%32,Z[14+(ve+64>>>9<<4)]=16711935&(ie<<8|ie>>>24)|4278255360&(ie<<24|ie>>>8),L.sigBytes=4*(Z.length+1),this._process();for(var me=this._hash,xe=me.words,$=0;$<5;$++){var V=xe[$];xe[$]=16711935&(V<<8|V>>>24)|4278255360&(V<<24|V>>>8)}return me},clone:function(){var L=_.clone.call(this);return L._hash=this._hash.clone(),L}});function S(L,Z,ie){return L^Z^ie}function P(L,Z,ie){return L&Z|~L&ie}function F(L,Z,ie){return(L|~Z)^ie}function N(L,Z,ie){return L&ie|Z&~ie}function U(L,Z,ie){return L^(Z|~ie)}function T(L,Z){return L<<Z|L>>>32-Z}d.RIPEMD160=_._createHelper(I),d.HmacRIPEMD160=_._createHmacHelper(I)}(Math),o.RIPEMD160)},79986:function(he,M,r){var i,d,h,v,m,p,o;he.exports=(o=r(17656),h=(d=(i=o).lib).WordArray,m=[],p=i.algo.SHA1=(v=d.Hasher).extend({_doReset:function(){this._hash=new h.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,E){for(var C=this._hash.words,l=C[0],y=C[1],I=C[2],S=C[3],P=C[4],F=0;F<80;F++){if(F<16)m[F]=0|u[E+F];else{var N=m[F-3]^m[F-8]^m[F-14]^m[F-16];m[F]=N<<1|N>>>31}var U=(l<<5|l>>>27)+P+m[F];U+=F<20?1518500249+(y&I|~y&S):F<40?1859775393+(y^I^S):F<60?(y&I|y&S|I&S)-1894007588:(y^I^S)-899497514,P=S,S=I,I=y<<30|y>>>2,y=l,l=U}C[0]=C[0]+l|0,C[1]=C[1]+y|0,C[2]=C[2]+I|0,C[3]=C[3]+S|0,C[4]=C[4]+P|0},_doFinalize:function(){var u=this._data,E=u.words,C=8*this._nDataBytes,l=8*u.sigBytes;return E[l>>>5]|=128<<24-l%32,E[14+(l+64>>>9<<4)]=Math.floor(C/4294967296),E[15+(l+64>>>9<<4)]=C,u.sigBytes=4*E.length,this._process(),this._hash},clone:function(){var u=v.clone.call(this);return u._hash=this._hash.clone(),u}}),i.SHA1=v._createHelper(p),i.HmacSHA1=v._createHmacHelper(p),o.SHA1)},39225:function(he,M,r){var i,h,v,_,m,o;he.exports=(o=r(17656),r(15168),h=(i=o).lib.WordArray,m=(v=i.algo).SHA224=(_=v.SHA256).extend({_doReset:function(){this._hash=new h.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var p=_._doFinalize.call(this);return p.sigBytes-=4,p}}),i.SHA224=_._createHelper(m),i.HmacSHA224=_._createHmacHelper(m),o.SHA224)},15168:function(he,M,r){var o;he.exports=(o=r(17656),function(i){var d=o,h=d.lib,v=h.WordArray,_=h.Hasher,m=d.algo,p=[],u=[];!function(){function l(P){for(var F=i.sqrt(P),N=2;N<=F;N++)if(!(P%N))return!1;return!0}function y(P){return 4294967296*(P-(0|P))|0}for(var I=2,S=0;S<64;)l(I)&&(S<8&&(p[S]=y(i.pow(I,.5))),u[S]=y(i.pow(I,1/3)),S++),I++}();var E=[],C=m.SHA256=_.extend({_doReset:function(){this._hash=new v.init(p.slice(0))},_doProcessBlock:function(l,y){for(var I=this._hash.words,S=I[0],P=I[1],F=I[2],N=I[3],U=I[4],T=I[5],L=I[6],Z=I[7],ie=0;ie<64;ie++){if(ie<16)E[ie]=0|l[y+ie];else{var ve=E[ie-15],xe=E[ie-2];E[ie]=((ve<<25|ve>>>7)^(ve<<14|ve>>>18)^ve>>>3)+E[ie-7]+((xe<<15|xe>>>17)^(xe<<13|xe>>>19)^xe>>>10)+E[ie-16]}var oe=S&P^S&F^P&F,re=Z+((U<<26|U>>>6)^(U<<21|U>>>11)^(U<<7|U>>>25))+(U&T^~U&L)+u[ie]+E[ie];Z=L,L=T,T=U,U=N+re|0,N=F,F=P,P=S,S=re+(((S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22))+oe)|0}I[0]=I[0]+S|0,I[1]=I[1]+P|0,I[2]=I[2]+F|0,I[3]=I[3]+N|0,I[4]=I[4]+U|0,I[5]=I[5]+T|0,I[6]=I[6]+L|0,I[7]=I[7]+Z|0},_doFinalize:function(){var l=this._data,y=l.words,I=8*this._nDataBytes,S=8*l.sigBytes;return y[S>>>5]|=128<<24-S%32,y[14+(S+64>>>9<<4)]=i.floor(I/4294967296),y[15+(S+64>>>9<<4)]=I,l.sigBytes=4*y.length,this._process(),this._hash},clone:function(){var l=_.clone.call(this);return l._hash=this._hash.clone(),l}});d.SHA256=_._createHelper(C),d.HmacSHA256=_._createHmacHelper(C)}(Math),o.SHA256)},3752:function(he,M,r){var o;he.exports=(o=r(17656),r(24501),function(i){var d=o,h=d.lib,v=h.WordArray,_=h.Hasher,p=d.x64.Word,u=d.algo,E=[],C=[],l=[];!function(){for(var S=1,P=0,F=0;F<24;F++){E[S+5*P]=(F+1)*(F+2)/2%64;var U=(2*S+3*P)%5;S=P%5,P=U}for(S=0;S<5;S++)for(P=0;P<5;P++)C[S+5*P]=P+(2*S+3*P)%5*5;for(var T=1,L=0;L<24;L++){for(var Z=0,ie=0,ve=0;ve<7;ve++){if(1&T){var me=(1<<ve)-1;me<32?ie^=1<<me:Z^=1<<me-32}128&T?T=T<<1^113:T<<=1}l[L]=p.create(Z,ie)}}();var y=[];!function(){for(var S=0;S<25;S++)y[S]=p.create()}();var I=u.SHA3=_.extend({cfg:_.cfg.extend({outputLength:512}),_doReset:function(){for(var S=this._state=[],P=0;P<25;P++)S[P]=new p.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(S,P){for(var F=this._state,N=this.blockSize/2,U=0;U<N;U++){var T=S[P+2*U],L=S[P+2*U+1];T=16711935&(T<<8|T>>>24)|4278255360&(T<<24|T>>>8),(Z=F[U]).high^=L=16711935&(L<<8|L>>>24)|4278255360&(L<<24|L>>>8),Z.low^=T}for(var ie=0;ie<24;ie++){for(var ve=0;ve<5;ve++){for(var me=0,xe=0,$=0;$<5;
1$++)me^=(Z=F[ve+5*$]).high,xe^=Z.low;var V=y[ve];V.high=me,V.low=xe}for(ve=0;ve<5;ve++){var oe=y[(ve+4)%5],z=y[(ve+1)%5],W=z.high,re=z.low;for(me=oe.high^(W<<1|re>>>31),xe=oe.low^(re<<1|W>>>31),$=0;$<5;$++)(Z=F[ve+5*$]).high^=me,Z.low^=xe}for(var ee=1;ee<25;ee++){var Se=(Z=F[ee]).high,J=Z.low,de=E[ee];de<32?(me=Se<<de|J>>>32-de,xe=J<<de|Se>>>32-de):(me=J<<de-32|Se>>>64-de,xe=Se<<de-32|J>>>64-de);var ke=y[C[ee]];ke.high=me,ke.low=xe}var ge=y[0],ye=F[0];for(ge.high=ye.high,ge.low=ye.low,ve=0;ve<5;ve++)for($=0;$<5;$++){var Pe=y[ee=ve+5*$],Me=y[(ve+1)%5+5*$],We=y[(ve+2)%5+5*$];(Z=F[ee]).high=Pe.high^~Me.high&We.high,Z.low=Pe.low^~Me.low&We.low}var Z,Oe=l[ie];(Z=F[0]).high^=Oe.high,Z.low^=Oe.low}},_doFinalize:function(){var S=this._data,P=S.words,N=8*S.sigBytes,U=32*this.blockSize;P[N>>>5]|=1<<24-N%32,P[(i.ceil((N+1)/U)*U>>>5)-1]|=128,S.sigBytes=4*P.length,this._process();for(var T=this._state,L=this.cfg.outputLength/8,Z=L/8,ie=[],ve=0;ve<Z;ve++){var me=T[ve],xe=me.high,$=me.low;xe=16711935&(xe<<8|xe>>>24)|4278255360&(xe<<24|xe>>>8),ie.push($=16711935&($<<8|$>>>24)|4278255360&($<<24|$>>>8)),ie.push(xe)}return new v.init(ie,L)},clone:function(){for(var S=_.clone.call(this),P=S._state=this._state.slice(0),F=0;F<25;F++)P[F]=P[F].clone();return S}});d.SHA3=_._createHelper(I),d.HmacSHA3=_._createHmacHelper(I)}(Math),o.SHA3)},84068:function(he,M,r){var i,d,h,v,_,m,p,o;he.exports=(o=r(17656),r(24501),r(20885),h=(d=(i=o).x64).Word,v=d.WordArray,p=(_=i.algo).SHA384=(m=_.SHA512).extend({_doReset:function(){this._hash=new v.init([new h.init(3418070365,3238371032),new h.init(1654270250,914150663),new h.init(2438529370,812702999),new h.init(355462360,4144912697),new h.init(1731405415,4290775857),new h.init(2394180231,1750603025),new h.init(3675008525,1694076839),new h.init(1203062813,3204075428)])},_doFinalize:function(){var u=m._doFinalize.call(this);return u.sigBytes-=16,u}}),i.SHA384=m._createHelper(p),i.HmacSHA384=m._createHmacHelper(p),o.SHA384)},20885:function(he,M,r){var o;he.exports=(o=r(17656),r(24501),function(){var i=o,h=i.lib.Hasher,v=i.x64,_=v.Word,m=v.WordArray,p=i.algo;function u(){return _.create.apply(_,arguments)}var E=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(18164
102316,1246189591)],C=[];!function(){for(var y=0;y<80;y++)C[y]=u()}();var l=p.SHA512=h.extend({_doReset:function(){this._hash=new m.init([new _.init(1779033703,4089235720),new _.init(3144134277,2227873595),new _.init(1013904242,4271175723),new _.init(2773480762,1595750129),new _.init(1359893119,2917565137),new _.init(2600822924,725511199),new _.init(528734635,4215389547),new _.init(1541459225,327033209)])},_doProcessBlock:function(y,I){for(var S=this._hash.words,P=S[0],F=S[1],N=S[2],U=S[3],T=S[4],L=S[5],Z=S[6],ie=S[7],ve=P.high,me=P.low,xe=F.high,$=F.low,V=N.high,oe=N.low,z=U.high,W=U.low,re=T.high,ee=T.low,Se=L.high,J=L.low,de=Z.high,ke=Z.low,ge=ie.high,ye=ie.low,Pe=ve,Me=me,We=xe,Oe=$,tt=V,Qe=oe,_t=z,ht=W,mt=re,Vt=ee,Ot=Se,Fe=J,Ye=de,Re=ke,De=ge,He=ye,we=0;we<80;we++){var Tt,ct,tn=C[we];if(we<16)ct=tn.high=0|y[I+2*we],Tt=tn.low=0|y[I+2*we+1];else{var Ee=C[we-15],se=Ee.high,be=Ee.low,ft=(be>>>1|se<<31)^(be>>>8|se<<24)^(be>>>7|se<<25),kt=C[we-2],Yt=kt.high,yn=kt.low,Mn=(yn>>>19|Yt<<13)^(yn<<3|Yt>>>29)^(yn>>>6|Yt<<26),An=C[we-7],Xn=C[we-16],Dt=Xn.low;tn.high=ct=(ct=(ct=((se>>>1|be<<31)^(se>>>8|be<<24)^se>>>7)+An.high+((Tt=ft+An.low)>>>0<ft>>>0?1:0))+((Yt>>>19|yn<<13)^(Yt<<3|yn>>>29)^Yt>>>6)+((Tt+=Mn)>>>0<Mn>>>0?1:0))+Xn.high+((Tt+=Dt)>>>0<Dt>>>0?1:0),tn.low=Tt}var Lt,ze=mt&Ot^~mt&Ye,on=Vt&Fe^~Vt&Re,Gt=Pe&We^Pe&tt^We&tt,ut=(Me>>>28|Pe<<4)^(Me<<30|Pe>>>2)^(Me<<25|Pe>>>7),Bt=E[we],Rt=Bt.low,fn=De+((mt>>>14|Vt<<18)^(mt>>>18|Vt<<14)^(mt<<23|Vt>>>9))+((Lt=He+((Vt>>>14|mt<<18)^(Vt>>>18|mt<<14)^(Vt<<23|mt>>>9)))>>>0<He>>>0?1:0),cn=ut+(Me&Oe^Me&Qe^Oe&Qe);De=Ye,He=Re,Ye=Ot,Re=Fe,Ot=mt,Fe=Vt,mt=_t+(fn=(fn=(fn=fn+ze+((Lt+=on)>>>0<on>>>0?1:0))+Bt.high+((Lt+=Rt)>>>0<Rt>>>0?1:0))+ct+((Lt+=Tt)>>>0<Tt>>>0?1:0))+((Vt=ht+Lt|0)>>>0<ht>>>0?1:0)|0,_t=tt,ht=Qe,tt=We,Qe=Oe,We=Pe,Oe=Me,Pe=fn+(((Pe>>>28|Me<<4)^(Pe<<30|Me>>>2)^(Pe<<25|Me>>>7))+Gt+(cn>>>0<ut>>>0?1:0))+((Me=Lt+cn|0)>>>0<Lt>>>0?1:0)|0}me=P.low=me+Me,P.high=ve+Pe+(me>>>0<Me>>>0?1:0),$=F.low=$+Oe,F.high=xe+We+($>>>0<Oe>>>0?1:0),oe=N.low=oe+Qe,N.high=V+tt+(oe>>>0<Qe>>>0?1:0),W=U.low=W+ht,U.high=z+_t+(W>>>0<ht>>>0?1:0),ee=T.low=ee+Vt,T.high=re+mt+(ee>>>0<Vt>>>0?1:0),J=L.low=J+Fe,L.high=Se+Ot+(J>>>0<Fe>>>0?1:0),ke=Z.low=ke+Re,Z.high=de+Ye+(ke>>>0<Re>>>0?1:0),ye=ie.low=ye+He,ie.high=ge+De+(ye>>>0<He>>>0?1:0)},_doFinalize:function(){var y=this._data,I=y.words,S=8*this._nDataBytes,P=8*y.sigBytes;return I[P>>>5]|=128<<24-P%32,I[30+(P+128>>>10<<5)]=Math.floor(S/4294967296),I[31+(P+128>>>10<<5)]=S,y.sigBytes=4*I.length,this._process(),this._hash.toX32()},clone:function(){var y=h.clone.call(this);return y._hash=this._hash.clone(),y},blockSize:32});i.SHA512=h._createHelper(l),i.HmacSHA512=h._createHmacHelper(l)}(),o.SHA512)},72515:function(he,M,r){var o;he.exports=(o=r(17656),r(98891),r(78855),r(4147),r(12414),function(){var i=o,d=i.lib,h=d.WordArray,v=d.BlockCipher,_=i.algo,m=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],p=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],E
vendor: 4,679 bytes, line 1
1=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:2
vendor: 2,950 bytes, line 1
162272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],
1C=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=_.DES=v.extend({_doReset:function(){for(var F=this._key.words,N=[],U=0;U<56;U++){var T=m[U]-1;N[U]=F[T>>>5]>>>31-T%32&1}for(var L=this._subKeys=[],Z=0;Z<16;Z++){var ie=L[Z]=[],ve=u[Z];for(U=0;U<24;U++)ie[U/6|0]|=N[(p[U]-1+ve)%28]<<31-U%6,ie[4+(U/6|0)]|=N[28+(p[U+24]-1+ve)%28]<<31-U%6;for(ie[0]=ie[0]<<1|ie[0]>>>31,U=1;U<7;U++)ie[U]=ie[U]>>>4*(U-1)+3;ie[7]=ie[7]<<5|ie[7]>>>27}var me=this._invSubKeys=[];for(U=0;U<16;U++)me[U]=L[15-U]},encryptBlock:function(P,F){this._doCryptBlock(P,F,this._subKeys)},decryptBlock:function(P,F){this._doCryptBlock(P,F,this._invSubKeys)},_doCryptBlock:function(P,F,N){this._lBlock=P[F],this._rBlock=P[F+1],y.call(this,4,252645135),y.call(this,16,65535),I.call(this,2,858993459),I.call(this,8,16711935),y.call(this,1,1431655765);for(var U=0;U<16;U++){for(var T=N[U],L=this._lBlock,Z=this._rBlock,ie=0,ve=0;ve<8;ve++)ie|=E[ve][((Z^T[ve])&C[ve])>>>0];this._lBlock=Z,this._rBlock=L^ie}var me=this._lBlock;this._lBlock=this._rBlock,this._rBlock=me,y.call(this,1,1431655765),I.call(this,8,16711935),I.call(this,2,858993459),y.call(this,16,65535),y.call(this,4,252645135),P[F]=this._lBlock,P[F+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function y(P,F){var N=(this._lBlock>>>P^this._rBlock)&F;this._rBlock^=N,this._lBlock^=N<<P}function I(P,F){var N=(this._rBlock>>>P^this._lBlock)&F;this._lBlock^=N,this._rBlock^=N<<P}i.DES=v._createHelper(l);var S=_.TripleDES=v.extend({_doReset:function(){var F=this._key.words;if(2!==F.length&&4!==F.length&&F.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var N=F.slice(0,2),U=F.length<4?F.slice(0,2):F.slice(2,4),T=F.length<6?F.slice(0,2):F.slice(4,6);this._des1=l.createEncryptor(h.create(N)),this._des2=l.createEncryptor(h.create(U)),this._des3=l.createEncryptor(h.create(T))},encryptBlock:function(P,F){this._des1.encryptBlock(P,F),this._des2.decryptBlock(P,F),this._des3.encryptBlock(P,F)},decryptBlock:function(P,F){this._des3.decryptBlock(P,F),this._des2.encryptBlock(P,F),this._des1.decryptBlock(P,F)},keySize:6,ivSize:2,blockSize:2});i.TripleDES=v._createHelper(S)}(),o.TripleDES)},24501:function(he,M,r){var h,v,_,m,o;he.exports=(o=r(17656),v=(h=o.lib).Base,_=h.WordArray,(m=o.x64={}).Word=v.extend({init:function(E,C){this.high=E,this.low=C}}),m.WordArray=v.extend({init:function(E,C){E=this.words=E||[],this.sigBytes=null!=C?C:8*E.length},toX32:function(){for(var E=this.words,C=E.length,l=[],y=0;y<C;y++){var I=E[y];l.push(I.high),l.push(I.low)}return _.create(l,this.sigBytes)},clone:function(){for(var E=v.clone.call(this),C=E.words=this.words.slice(0),l=C.length,y=0;y<l;y++)C[y]=C[y].clone();return E}}),o)},67374:function(he){he.exports=function(){"use strict";var r=6e4,o=36e5,i="millisecond",d="second",h="minute",v="hour",_="day",m="week",p="month",u="quarter",E="year",C="date",l="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
vendor: 5,704 bytes, line 1
1|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function($){var V=["th","st","nd","rd"],oe=$%100;return"["+$+(V[(oe-20)%10]||V[oe]||V[0])+"]"}},P=function($,V,oe){var z=String($);return!z||z.length>=V?$:""+Array(V+1-z.length).join(oe)+$},F={s:P,z:function($){var V=-$.utcOffset(),oe=Math.abs(V),z=Math.floor(oe/60),W=oe%60;return(V<=0?"+":"-")+P(z,2,"0")+":"+P(W,2,"0")},m:function $(V,oe){if(V.date()<oe.date())return-$(oe,V);var z=12*(oe.year()-V.year())+(oe.month()-V.month()),W=V.clone().add(z,p),re=oe-W<0,ee=V.clone().add(z+(re?-1:1),p);return+(-(z+(oe-W)/(re?W-ee:ee-W))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:p,y:E,w:m,d:_,D:C,h:v,m:h,s:d,ms:i,Q:u}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return void 0===$}},N="en",U={};U[N]=S;var T="$isDayjsObject",L=function($){return $ instanceof me||!(!$||!$[T])},Z=function $(V,oe,z){var W;if(!V)return N;if("string"==typeof V){var re=V.toLowerCase();U[re]&&(W=re),oe&&(U[re]=oe,W=re);var ee=V.split("-");if(!W&&ee.length>1)return $(ee[0])}else{var Se=V.name;U[Se]=V,W=Se}return!z&&W&&(N=W),W||!z&&N},ie=function($,V){if(L($))return $.clone();var oe="object"==typeof V?V:{};return oe.date=$,oe.args=arguments,new me(oe)},ve=F;ve.l=Z,ve.i=L,ve.w=function($,V){return ie($,{locale:V.$L,utc:V.$u,x:V.$x,$offset:V.$offset})};var me=function(){function $(oe){this.$L=Z(oe.locale,null,!0),this.parse(oe),this.$x=this.$x||oe.x||{},this[T]=!0}var V=$.prototype;return V.parse=function(oe){this.$d=function(z){var W=z.date,re=z.utc;if(null===W)return new Date(NaN);if(ve.u(W))return new Date;if(W instanceof Date)return new Date(W);if("string"==typeof W&&!/Z$/i.test(W)){var ee=W.match(y);if(ee){var Se=ee[2]-1||0,J=(ee[7]||"0").substring(0,3);return re?new Date(Date.UTC(ee[1],Se,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,J)):new Date(ee[1],Se,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,J)}}return new Date(W)}(oe),this.init()},V.init=function(){var oe=this.$d;this.$y=oe.getFullYear(),this.$M=oe.getMonth(),this.$D=oe.getDate(),this.$W=oe.getDay(),this.$H=oe.getHours(),this.$m=oe.getMinutes(),this.$s=oe.getSeconds(),this.$ms=oe.getMilliseconds()},V.$utils=function(){return ve},V.isValid=function(){return this.$d.toString()!==l},V.isSame=function(oe,z){var W=ie(oe);return this.startOf(z)<=W&&W<=this.endOf(z)},V.isAfter=function(oe,z){return ie(oe)<this.startOf(z)},V.isBefore=function(oe,z){return this.endOf(z)<ie(oe)},V.$g=function(oe,z,W){return ve.u(oe)?this[z]:this.set(W,oe)},V.unix=function(){return Math.floor(this.valueOf()/1e3)},V.valueOf=function(){return this.$d.getTime()},V.startOf=function(oe,z){var W=this,re=!!ve.u(z)||z,ee=ve.p(oe),Se=function(We,Oe){var tt=ve.w(W.$u?Date.UTC(W.$y,Oe,We):new Date(W.$y,Oe,We),W);return re?tt:tt.endOf(_)},J=function(We,Oe){return ve.w(W.toDate()[We].apply(W.toDate("s"),(re?[0,0,0,0]:[23,59,59,999]).slice(Oe)),W)},de=this.$W,ke=this.$M,ge=this.$D,ye="set"+(this.$u?"UTC":"");switch(ee){case E:return re?Se(1,0):Se(31,11);case p:return re?Se(1,ke):Se(0,ke+1);case m:var Pe=this.$locale().weekStart||0,Me=(de<Pe?de+7:de)-Pe;return Se(re?ge-Me:ge+(6-Me),ke);case _:case C:return J(ye+"Hours",0);case v:return J(ye+"Minutes",1);case h:return J(ye+"Seconds",2);case d:return J(ye+"Milliseconds",3);default:return this.clone()}},V.endOf=function(oe){return this.startOf(oe,!1)},V.$set=function(oe,z){var W,re=ve.p(oe),ee="set"+(this.$u?"UTC":""),Se=(W={},W[_]=ee+"Date",W[C]=ee+"Date",W[p]=ee+"Month",W[E]=ee+"FullYear",W[v]=ee+"Hours",W[h]=ee+"Minutes",W[d]=ee+"Seconds",W[i]=ee+"Milliseconds",W)[re],J=re===_?this.$D+(z-this.$W):z;if(re===p||re===E){var de=this.clone().set(C,1);de.$d[Se](J),de.init(),this.$d=de.set(C,Math.min(this.$D,de.daysInMonth())).$d}else Se&&this.$d[Se](J);return this.init(),this},V.set=function(oe,z){return this.clone().$set(oe,z)},V.get=function(oe){return this[ve.p(oe)]()},V.add=function(oe,z){var W,re=this;oe=Number(oe);var ee=ve.p(z),Se=function(ke){var ge=ie(re);return ve.w(ge.date(ge.date()+Math.round(ke*oe)),re)};if(ee===p)return this.set(p,this.$M+oe);if(ee===E)return this.set(E,this.$y+oe);if(ee===_)return Se(1);if(ee===m)return Se(7);var J=(W={},W[h]=r,W[v]=o,W[d]=1e3,W)[ee]||1,de=this.$d.getTime()+oe*J;return ve.w(de,this)},V.subtract=function(oe,z){return this.add(-1*oe,z)},V.format=function(oe){var z=this,W=this.$locale();if(!this.isValid())return W.invalidDate||l;var re=oe||"YYYY-MM-DDTHH:mm:ssZ",ee=ve.z(this),Se=this.$H,J=this.$m,de=this.$M,ke=W.weekdays,ge=W.months,Pe=function(Oe,tt,Qe,_t){return Oe&&(Oe[tt]||Oe(z,re))||Qe[tt].slice(0,_t)},Me=function(Oe){return ve.s(Se%12||12,Oe,"0")},We=W.meridiem||function(Oe,tt,Qe){var _t=Oe<12?"AM":"PM";return Qe?_t.toLowerCase():_t};return re.replace(I,function(Oe,tt){return tt||function(Qe){switch(Qe){case"YY":return String(z.$y).slice(-2);case"YYYY":return ve.s(z.$y,4,"0");case"M":return de+1;case"MM":return ve.s(de+1,2,"0");case"MMM":return Pe(W.monthsShort,de,ge,3);case"MMMM":return Pe(ge,de);case"D":return z.$D;case"DD":return ve.s(z.$D,2,"0");case"d":return String(z.$W);case"dd":return Pe(W.weekdaysMin,z.$W,ke,2);case"ddd":return Pe(W.weekdaysShort,z.$W,ke,3);case"dddd":return ke[z.$W];case"H":return String(Se);case"HH":return ve.s(Se,2,"0");case"h":return Me(1);case"hh":return Me(2);case"a":return We(Se,J,!0);case"A":return We(Se,J,!1);case"m":return String(J);case"mm":return ve.s(J,2,"0");case"s":return String(z.$s);case"ss":return ve.s(z.$s,2,"0");case"SSS":return ve.s(z.$ms,3,"0");case"Z":return ee}return null}(Oe)||ee.replace(":","")})}
1,V.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},V.diff=function(oe,z,W){var re,ee=this,Se=ve.p(z),J=ie(oe),de=(J.utcOffset()-this.utcOffset())*r,ke=this-J,ge=function(){return ve.m(ee,J)};switch(Se){case E:re=ge()/12;break;case p:re=ge();break;case u:re=ge()/3;break;case m:re=(ke-de)/6048e5;break;case _:re=(ke-de)/864e5;break;case v:re=ke/o;break;case h:re=ke/r;break;case d:re=ke/1e3;break;default:re=ke}return W?re:ve.a(re)},V.daysInMonth=function(){return this.endOf(p).$D},V.$locale=function(){return U[this.$L]},V.locale=function(oe,z){if(!oe)return this.$L;var W=this.clone(),re=Z(oe,z,!0);return re&&(W.$L=re),W},V.clone=function(){return ve.w(this.$d,this)},V.toDate=function(){return new Date(this.valueOf())},V.toJSON=function(){return this.isValid()?this.toISOString():null},V.toISOString=function(){return this.$d.toISOString()},V.toString=function(){return this.$d.toUTCString()},$}(),xe=me.prototype;return ie.prototype=xe,[["$ms",i],["$s",d],["$m",h],["$H",v],["$W",_],["$M",p],["$y",E],["$D",C]].forEach(function($){xe[$[1]]=function(V){return this.$g(V,$[0],$[1])}}),ie.extend=function($,V){return $.$i||($(V,me,ie),$.$i=!0),ie},ie.locale=Z,ie.isDayjs=L,ie.unix=function($){return ie(1e3*$)},ie.en=U[N],ie.Ls=U,ie.p={},ie}()},80456:function(he){he.exports=function(){"use strict";return function(M,r,o){r.prototype.isToday=function(){var i="YYYY-MM-DD",d=o();return this.format(i)===d.format(i)}}}()},92098:function(he){he.exports=function(){"use strict";return function(M,r,o){r.prototype.isTomorrow=function(){var i="YYYY-MM-DD",d=o().add(1,"day");return this.format(i)===d.format(i)}}}()},38350:(he,M,r)=>{"use strict";function o(m){this.message=m}r.d(M,{A:()=>_}),(o.prototype=new Error).name="InvalidCharacterError";var i=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(m){var p=String(m).replace(/=+$/,"");if(p.length%4==1)throw new o("'atob' failed: The string to be decoded is not correctly encoded.");for(var u,E,C=0,l=0,y="";E=p.charAt(l++);~E&&(u=C%4?64*u+E:E,C++%4)?y+=String.fromCharCode(255&u>>(-2*C&6)):0)E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(E);return y};function h(m){this.message=m}(h.prototype=new Error).name="InvalidTokenError";const _=function v(m,p){if("string"!=typeof m)throw new h("Invalid token specified");var u=!0===(p=p||{}).header?0:1;try{return JSON.parse(function d(m){var p=m.replace(/-/g,"+").replace(/_/g,"/");switch(p.length%4){case 0:break;case 2:p+="==";break;case 3:p+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(i(p).replace(/(.)/g,function(E,C){var l=C.charCodeAt(0).toString(16).toUpperCase();return l.length<2&&(l="0"+l),"%"+l}))}catch{return i(p)}}(m.split(".")[u]))}catch(E){throw new h("Invalid token specified: "+E.message)}}},67376:function(he,M,r){var o;he=r.nmd(he),function(){var i,_="Expected a function",p="__lodash_hash_undefined__",E="__lodash_placeholder__",L=32,ee=1/0,Se=9007199254740991,ke=4294967295,Pe=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",L],["partialRight",64],["rearg",256]],Me="[object Arguments]",We="[object Array]",tt="[object Boolean]",Qe="[object Date]",ht="[object Error]",mt="[object Function]",Vt="[object GeneratorFunction]",Ot="[object Map]",Fe="[object Number]",Re="[object Object]",De="[object Promise]",we="[object RegExp]",Tt="[object Set]",ct="[object String]",tn="[object Symbol]",se="[object WeakMap]",je="[object ArrayBuffer]",ft="[object DataView]",kt="[object Float32Array]",Yt="[object Float64Array]",yn="[object Int8Array]",ln="[object Int16Array]",Mn="[object Int32Array]",An="[object Uint8Array]",un="[object Uint8ClampedArray]",wn="[object Uint16Array]",Xn="[object Uint32Array]",vt=/\b__p \+= '';/g,Dt=/\b(__p \+=) '' \+/g,ze=/(__e\(.*?\)|\b__t\)) \+\n'';/g,on=/&(?:amp|lt|gt|quot|#39);/g,Gt=/[&<>"']/g,Qn=RegExp(on.source),Ct=RegExp(Gt.source),ut=/<%-([\s\S]+?)%>/g,Xe=/<%([\s\S]+?)%>/g,qe=/<%=([\s\S]+?)%>/g,Bt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,St=/^\w*$/,Rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/[\\^$.*+?()[\]{}|]/g,fn=RegExp(Lt.source),cn=/^\s+/,Kt=/\s/,Ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,at=/\{\n\/\* \[wrapped with (.+)\] \*/,xt=/,? & /,Zt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,rn=/[()=,{}\[\]\/\s]/,dn=/\\(\\)?/g,sn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ai=/\w*$/,_i=/^[-+]0x[0-9a-f]+$/i,pn=/^0b[01]+$/i,Pn=/^\[object .+?Constructor\]$/,ne=/^0o[0-7]+$/i,H=/^(?:0|[1-9]\d*)$/,Q=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 5,236 bytes, line 1
17f]/g,Te=/($^)/,lt=/['\n\r\u2028\u2029\\]/g,Pt="\\ud800-\\udfff",Jn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ci="\\u2700-\\u27bf",ji="a-z\\xdf-\\xf6\\xf8-\\xff",nt="A-Z\\xc0-\\xd6\\xd8-\\xde",wt="\\ufe0e\\ufe0f",Qt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",an="["+Pt+"]",Ln="["+Qt+"]",On="["+Jn+"]",Zn="\\d+",li="["+ci+"]",Bn="["+ji+"]",vi="[^"+Pt+Qt+Zn+ci+ji+nt+"]",bi="\\ud83c[\\udffb-\\udfff]",ri="[^"+Pt+"]",mi="(?:\\ud83c[\\udde6-\\uddff]){2}",Wi="[\\ud800-\\udbff][\\udc00-\\udfff]",Nn="["+nt+"]",ro="(?:"+Bn+"|"+vi+")",Jo="(?:"+Nn+"|"+vi+")",Ur="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",er="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",oo="(?:"+On+"|"+bi+")?",_o="["+wt+"]?",ir=_o+oo+"(?:\\u200d(?:"+[ri,mi,Wi].join("|")+")"+_o+oo+")*",Xs="(?:"+[li,mi,Wi].join("|")+")"+ir,Xa="(?:"+[ri+On+"?",On,mi,Wi,an].join("|")+")",Pa=RegExp("['\u2019]","g"),Gr=RegExp(On,"g"),Io=RegExp(bi+"(?="+bi+")|"+Xa+ir,"g"),jo=RegExp([Nn+"?"+Bn+"+"+Ur+"(?="+[Ln,Nn,"$"].join("|")+")",Jo+"+"+er+"(?="+[Ln,Nn+ro,"$"].join("|")+")",Nn+"?"+ro+"+"+Ur,Nn+"+"+er,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zn,Xs].join("|"),"g"),Zo=RegExp("[\\u200d"+Pt+Jn+wt+"]"),qo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ur=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],As=-1,hi={};hi[kt]=hi[Yt]=hi[yn]=hi[ln]=hi[Mn]=hi[An]=hi[un]=hi[wn]=hi[Xn]=!0,hi[Me]=hi[We]=hi[je]=hi[tt]=hi[ft]=hi[Qe]=hi[ht]=hi[mt]=hi[Ot]=hi[Fe]=hi[Re]=hi[we]=hi[Tt]=hi[ct]=hi[se]=!1;var Ni={};Ni[Me]=Ni[We]=Ni[je]=Ni[ft]=Ni[tt]=Ni[Qe]=Ni[kt]=Ni[Yt]=Ni[yn]=Ni[ln]=Ni[Mn]=Ni[Ot]=Ni[Fe]=Ni[Re]=Ni[we]=Ni[Tt]=Ni[ct]=Ni[tn]=Ni[An]=Ni[un]=Ni[wn]=Ni[Xn]=!0,Ni[ht]=Ni[mt]=Ni[se]=!1;var es={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xn=parseFloat,Kr=parseInt,ts="object"==typeof global&&global&&global.Object===Object&&global,xo="object"==typeof self&&self&&self.Object===Object&&self,$i=ts||xo||Function("return this")(),Cr=M&&!M.nodeType&&M,Hr=Cr&&he&&!he.nodeType&&he,Po=Hr&&Hr.exports===Cr,Mo=Po&&ts.process,Mr=function(){try{return Hr&&Hr.require&&Hr.require("util").types||Mo&&Mo.binding&&Mo.binding("util")}catch{}}(),ns=Mr&&Mr.isArrayBuffer,is=Mr&&Mr.isDate,Rr=Mr&&Mr.isMap,zr=Mr&&Mr.isRegExp,Ji=Mr&&Mr.isSet,nr=Mr&&Mr.isTypedArray;function tr(yt,jt,Ut){switch(Ut.length){case 0:return yt.call(jt);case 1:return yt.call(jt,Ut[0]);case 2:return yt.call(jt,Ut[0],Ut[1]);case 3:return yt.call(jt,Ut[0],Ut[1],Ut[2])}return yt.apply(jt,Ut)}function so(yt,jt,Ut,Tn){for(var ti=-1,Oi=null==yt?0:yt.length;++ti<Oi;){var Tr=yt[ti];jt(Tn,Tr,Ut(Tr),yt)}return Tn}function br(yt,jt){for(var Ut=-1,Tn=null==yt?0:yt.length;++Ut<Tn&&!1!==jt(yt[Ut],Ut,yt););return yt}function Sr(yt,jt){for(var Ut=null==yt?0:yt.length;Ut--&&!1!==jt(yt[Ut],Ut,yt););return yt}function Ts(yt,jt){for(var Ut=-1,Tn=null==yt?0:yt.length;++Ut<Tn;)if(!jt(yt[Ut],Ut,yt))return!1;return!0}function Nr(yt,jt){for(var Ut=-1,Tn=null==yt?0:yt.length,ti=0,Oi=[];++Ut<Tn;){var Tr=yt[Ut];jt(Tr,Ut,yt)&&(Oi[ti++]=Tr)}return Oi}function ao(yt,jt){return!(null==yt||!yt.length)&&vo(yt,jt,0)>-1}function rr(yt,jt,Ut){for(var Tn=-1,ti=null==yt?0:yt.length;++Tn<ti;)if(Ut(jt,yt[Tn]))return!0;return!1}function wi(yt,jt){for(var Ut=-1,Tn=null==yt?0:yt.length,ti=Array(Tn);++Ut<Tn;)ti[Ut]=jt(yt[Ut],Ut,yt);return ti}function Ar(yt,jt){for(var Ut=-1,Tn=jt.length,ti=yt.length;++Ut<Tn;)yt[ti+Ut]=jt[Ut];return yt}function Ys(yt,jt,Ut,Tn){var ti=-1,Oi=null==yt?0:yt.length;for(Tn&&Oi&&(Ut=yt[++ti]);++ti<Oi;)Ut=jt(Ut,yt[ti],ti,yt);return Ut}function gs(yt,jt,Ut,Tn){var ti=null==yt?0:yt.length;for(Tn&&ti&&(Ut=yt[--ti]);ti--;)Ut=jt(Ut,yt[ti],ti,yt);return Ut}function Xr(yt,jt){for(var Ut=-1,Tn=null==yt?0:yt.length;++Ut<Tn;)if(jt(yt[Ut],Ut,yt))return!0;return!1}var Ei=Os("length");function rs(yt,jt,Ut){var Tn;return Ut(yt,function(ti,Oi,Tr){if(jt(ti,Oi,Tr))return Tn=Oi,!1}),Tn}function os(yt,jt,Ut,Tn){for(var ti=yt.length,Oi=Ut+(Tn?1:-1);Tn?Oi--:++Oi<ti;)if(jt(yt[Oi],Oi,yt))return Oi;return-1}function vo(yt,jt,Ut){return jt==jt?function Co(yt,jt,Ut){for(var Tn=Ut-1,ti=yt.length;++Tn<ti;)if(yt[Tn]===jt)return Tn;return-1}(yt,jt,Ut):os(yt,_r,Ut)}function wr(yt,jt,Ut,Tn){for(var ti=Ut-1,Oi=yt.length;++ti<Oi;)if(Tn(yt[ti],jt))return ti;return-1}function _r(yt){return yt!=yt}function Ma(yt,jt){var Ut=null==yt?0:yt.length;return Ut?Qs(yt,jt)/Ut:NaN}function Os(yt){return function(jt){return null==jt?i:jt[yt]}}function Eo(yt){return function(jt){return null==yt?i:yt[jt]}}function Wo(yt,jt,Ut,Tn,ti){return ti(yt,function(Oi,Tr,Li){Ut=Tn?(Tn=!1,Oi):jt(Ut,Oi,Tr,Li)}),Ut}function Qs(yt,jt){for(var Ut,Tn=-1,ti=yt.length;++Tn<ti;){var Oi=jt(yt[Tn]);Oi!==i&&(Ut=Ut===i?Oi:Ut+Oi)}return Ut}function Br(yt,jt){for(var Ut=-1,Tn=Array(yt);++Ut<yt;)Tn[Ut]=jt(Ut);return Tn}
vendor: 4,772 bytes, line 1
1function yo(yt){return yt&&yt.slice(0,mr(yt)+1).replace(cn,"")}function le(yt){return function(jt){return yt(jt)}}function ce(yt,jt){return wi(jt,function(Ut){return yt[Ut]})}function G(yt,jt){return yt.has(jt)}function Ie(yt,jt){for(var Ut=-1,Tn=yt.length;++Ut<Tn&&vo(jt,yt[Ut],0)>-1;);return Ut}function st(yt,jt){for(var Ut=yt.length;Ut--&&vo(jt,yt[Ut],0)>-1;);return Ut}var oi=Eo({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),lo=Eo({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ds(yt){return"\\"+es[yt]}function Is(yt){return Zo.test(yt)}function Zs(yt){var jt=-1,Ut=Array(yt.size);return yt.forEach(function(Tn,ti){Ut[++jt]=[ti,Tn]}),Ut}function da(yt,jt){return function(Ut){return yt(jt(Ut))}}function $o(yt,jt){for(var Ut=-1,Tn=yt.length,ti=0,Oi=[];++Ut<Tn;){var Tr=yt[Ut];(Tr===jt||Tr===E)&&(yt[Ut]=E,Oi[ti++]=Ut)}return Oi}function Ro(yt){var jt=-1,Ut=Array(yt.size);return yt.forEach(function(Tn){Ut[++jt]=Tn}),Ut}function Yn(yt){return Is(yt)?function Fr(yt){for(var jt=Io.lastIndex=0;Io.test(yt);)++jt;return jt}(yt):Ei(yt)}function xi(yt){return Is(yt)?function ha(yt){return yt.match(Io)||[]}(yt):function co(yt){return yt.split("")}(yt)}function mr(yt){for(var jt=yt.length;jt--&&Kt.test(yt.charAt(jt)););return jt}var bo=Eo({"&":"&","<":"<",">":">",""":'"',"'":"'"}),qs=function yt(jt){var c,Ut=(jt=null==jt?$i:qs.defaults($i.Object(),jt,qs.pick($i,ur))).Array,Tn=jt.Date,ti=jt.Error,Oi=jt.Function,Tr=jt.Math,Li=jt.Object,Ra=jt.RegExp,fa=jt.String,Vr=jt.TypeError,Ps=Ut.prototype,ta=Li.prototype,Ms=jt["__core-js_shared__"],as=Oi.prototype.toString,Bi=ta.hasOwnProperty,pa=0,ga=(c=/[^.]+$/.exec(Ms&&Ms.keys&&Ms.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"",Lr=ta.toString,na=as.call(Li),ia=$i._,dc=Ra("^"+as.call(Bi).replace(Lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ra=Po?jt.Buffer:i,hr=jt.Symbol,Yr=jt.Uint8Array,wa=ra?ra.allocUnsafe:i,cs=da(Li.getPrototypeOf,Li),Fa=Li.create,Rs=ta.propertyIsEnumerable,Na=Ps.splice,ws=hr?hr.isConcatSpreadable:i,Qr=hr?hr.iterator:i,ho=hr?hr.toStringTag:i,oa=function(){try{var c=qa(Li,"defineProperty");return c({},"",{}),c}catch{}}(),B=jt.clearTimeout!==$i.clearTimeout&&jt.clearTimeout,Ce=Tn&&Tn.now!==$i.Date.now&&Tn.now,Y=jt.setTimeout!==$i.setTimeout&&jt.setTimeout,ue=Tr.ceil,Ke=Tr.floor,It=Li.getOwnPropertySymbols,Wt=ra?ra.isBuffer:i,Cn=jt.isFinite,Ri=Ps.join,Gi=da(Li.keys,Li),ni=Tr.max,kn=Tr.min,Ki=Tn.now,$n=jt.parseInt,ae=Tr.random,A=Ps.reverse,x=qa(jt,"DataView"),X=qa(jt,"Map"),fe=qa(jt,"Promise"),Be=qa(jt,"Set"),Ze=qa(jt,"WeakMap"),et=qa(Li,"create"),Et=Ze&&new Ze,Mt={},zt=tc(x),mn=tc(X),fi=tc(fe),Hn=tc(Be),En=tc(Ze),Un=hr?hr.prototype:i,ui=Un?Un.valueOf
1:i,ki=Un?Un.toString:i;function Ne(c){if(xr(c)&&!yi(c)&&!(c instanceof Vn)){if(c instanceof fr)return c;if(Bi.call(c,"__wrapped__"))return jf(c)}return new fr(c)}var or=function(){function c(){}return function(g){if(!yr(g))return{};if(Fa)return Fa(g);c.prototype=g;var O=new c;return c.prototype=i,O}}();function Hi(){}function fr(c,g){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!g,this.__index__=0,this.__values__=i}function Vn(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ke,this.__views__=[]}function vr(c){var g=-1,O=null==c?0:c.length;for(this.clear();++g<O;){var q=c[g];this.set(q[0],q[1])}}function gn(c){var g=-1,O=null==c?0:c.length;for(this.clear();++g<O;){var q=c[g];this.set(q[0],q[1])}}function ar(c){var g=-1,O=null==c?0:c.length;for(this.clear();++g<O;){var q=c[g];this.set(q[0],q[1])}}function No(c){var g=-1,O=null==c?0:c.length;for(this.__data__=new ar;++g<O;)this.add(c[g])}function Ho(c){var g=this.__data__=new gn(c);this.size=g.size}function w(c,g){var O=yi(c),q=!O&&Wa(c),Ae=!O&&!q&&ca(c),Ge=!O&&!q&&!Ae&&Jc(c),ot=O||q||Ae||Ge,gt=ot?Br(c.length,fa):[],pt=gt.length;for(var qt in c)(g||Bi.call(c,qt))&&(!ot||!("length"==qt||Ae&&("offset"==qt||"parent"==qt)||Ge&&("buffer"==qt||"byteLength"==qt||"byteOffset"==qt)||Va(qt,pt)))&>.push(qt);return gt}function K(c){var g=c.length;return g?c[hl(0,g-1)]:i}function pe(c,g){return ml(Ir(c),Er(g,0,c.length))}function Le(c){return ml(Ir(c))}function Je(c,g,O){(O!==i&&!aa(c[g],O)||O===i&&!(g in c))&&Fi(c,g,O)}function Ft(c,g,O){var q=c[g];(!Bi.call(c,g)||!aa(q,O)||O===i&&!(g in c))&&Fi(c,g,O)}function At(c,g){for(var O=c.length;O--;)if(aa(c[O][0],g))return O;return-1}function vn(c,g,O,q){return va(c,function(Ae,Ge,ot){g(q,Ae,O(Ae),ot)}),q}function ii(c,g){return c&&Aa(g,go(g),c)}function Fi(c,g,O){"__proto__"==g&&oa?oa(c,g,{configurable:!0,enumerable:!0,value:O,writable:!0}):c[g]=O}function Bo(c,g){for(var O=-1,q=g.length,Ae=Ut(q),Ge=null==c;++O<q;)Ae[O]=Ge?i:Rp(c,g[O]);return Ae}function Er(c,g,O){return c==c&&(O!==i&&(c=c<=O?c:O),g!==i&&(c=c>=g?c:g)),c}function kr(c,g,O,q,Ae,Ge){var ot,gt=1&g,pt=2&g,qt=4&g;if(O&&(ot=Ae?O(c,q,Ae,Ge):O(c)),ot!==i)return ot;if(!yr(c))return c;var en=yi(c);if(en){if(ot=function Vc(c){var g=c.length,O=new c.constructor(g);return g&&"string"==typeof c[0]&&Bi.call(c,"index")&&(O.index=c.index,O.input=c.input),O}(c),!gt)return Ir(c,ot)}else{var nn=ko(c),In=nn==mt||nn==Vt;if(ca(c))return po(c,gt);if(nn==Re||nn==Me||In&&!Ae){if(ot=pt||In?{}:Wr(c),!gt)return pt?function au(c,g){return Aa(c,ec(c),g)}(c,function pi(c,g){return c&&Aa(g,Xo(g),c)}(ot,c)):function su(c,g){return Aa(c,Uc(c),g)}(c,ii(ot,c))}else{if(!Ni[nn])return Ae?c:{};ot=function v0(c,g,O){var q=c.constructor;switch(g){case je:return Ua(c);case tt:case Qe:return new q(+c);case ft:return function cr(c,g){var O=g?Ua(c.buffer):c.buffer;return new c.constructor(O,c.byteOffset,c.byteLength)}(c,O);case kt:case Yt:case yn:case ln:case Mn:case An:case un:case wn:case Xn:return Ad(c,O);case Ot:return new q;case Fe:case ct:return new q(c);case we:return function Cf(c){var g=new c.constructor(c.source,ai.exec(c));return g.lastIndex=c.lastIndex,g}(c);case Tt:return new q;case tn:return function h0(c){return ui?Li(ui.call(c)):{}}(c)}}(c,nn,gt)}}Ge||(Ge=new Ho);var jn=Ge.get(c);if(jn)return jn;Ge.set(c,ot),nh(c)?c.forEach(function(zn){ot.add(kr(zn,g,O,zn,c,Ge))}):xu(c)&&c.forEach(function(zn,Di){ot.set(Di,kr(zn,g,O,Di,c,Ge))});var Ci=en?i:(qt?pt?du:gl:pt?Xo:go)(c);return br(Ci||c,function(zn,Di){Ci&&(zn=c[Di=zn]),Ft(ot,Di,kr(zn,g,O,Di,c,Ge))}),ot}function Ba(c,g,O){var q=O.length;if(null==c)return!q;for(c=Li(c);q--;){var Ae=O[q],ot=c[Ae];if(ot===i&&!(Ae in c)||!(0,g[Ae])(ot))return!1}return!0}function cl(c,g,O){if("function"!=typeof c)throw new Vr(_);return $r(function(){c.apply(i,O)},g)}function ma(c,g,O,q){var Ae=-1,Ge=ao,ot=!0,gt=c.length,pt=[],qt=g.length;if(!gt)return pt;O&&(g=wi(g,le(O))),q?(Ge=rr,ot=!1):g.length>=200&&(Ge=G,ot=!1,g=new No(g));e:for(;++Ae<gt;){var en=c[Ae],nn=null==O?en:O(en);if(en=q||0!==en?en:0,ot&&nn==nn){for(var In=qt;In--;)if(g[In]===nn)continue e;pt.push(en)}else Ge(g,nn,q)||pt.push(en)}return pt}Ne.templateSettings={escape:ut,evaluate:Xe,interpolate:qe,variable:"",imports:{_:Ne}},(Ne.prototype=Hi.prototype).constructor=Ne,(fr.prototype=or(Hi.prototype)).constructor=fr,(Vn.prototype=or(Hi.prototype)).constructor=Vn,vr.prototype.clear=function _a(){this.__data__=et?et(null):{},this.size=0},vr.prototype.delete=function Fo(c){var g=this.has(c)&&delete this.__data__[c];return this.size-=g?1:0,g},vr.prototype.get=function sr(c){var g=this.__data__;if(et){var O=g[c];return O===p?i:O}return Bi.call(g,c)?g[c]:i},vr.prototype.has=function Qa(c){var g=this.__data__;return et?g[c]!==i:Bi.call(g,c)},vr.prototype.set=function Or(c,g){var O=this.__data__;return this.size+=this.has(c)?0:1,O[c]=et&&g===i?p:g,this},gn.prototype.clear=function Wn(){this.__data__=[],this.size=0},gn.prototype.delete=function Gn(c){var g=this.__data__,O=At(g,c);return!(O<0||(O==g.length-1?g.pop():Na.call(g,O,1),--this.size,0))},gn.prototype.get=function Si(c){var g=this.__data__,O=At(g,c);return O<0?i:g[O][1]},gn.prototype.has=function zi(c){return At(this.__data__,c)>-1},gn.prototype.set=function fo(c,g){var O=this.__data__,q=At(O,c);return q<0?(++this.size,O.push([c,g])):O[q][1]=g,this},ar.prototype.clear=function Fs(){this.size=0,this.__data__={hash:new vr,map:new(X||gn
1),string:new vr}},ar.prototype.delete=function Zi(c){var g=_l(this,c).delete(c);return this.size-=g?1:0,g},ar.prototype.get=function hc(c){return _l(this,c).get(c)},ar.prototype.has=function al(c){return _l(this,c).has(c)},ar.prototype.set=function Dr(c,g){var O=_l(this,c),q=O.size;return O.set(c,g),this.size+=O.size==q?0:1,this},No.prototype.add=No.prototype.push=function ls(c){return this.__data__.set(c,p),this},No.prototype.has=function Rc(c){return this.__data__.has(c)},Ho.prototype.clear=function a0(){this.__data__=new gn,this.size=0},Ho.prototype.delete=function c0(c){var g=this.__data__,O=g.delete(c);return this.size=g.size,O},Ho.prototype.get=function l0(c){return this.__data__.get(c)},Ho.prototype.has=function R(c){return this.__data__.has(c)},Ho.prototype.set=function j(c,g){var O=this.__data__;if(O instanceof gn){var q=O.__data__;if(!X||q.length<199)return q.push([c,g]),this.size=++O.size,this;O=this.__data__=new ar(q)}return O.set(c,g),this.size=O.size,this};var va=Od(ya),rf=Od(pc,!0);function Ea(c,g){var O=!0;return va(c,function(q,Ae,Ge){return O=!!g(q,Ae,Ge)}),O}function ll(c,g,O){for(var q=-1,Ae=c.length;++q<Ae;){var Ge=c[q],ot=g(Ge);if(null!=ot&&(gt===i?ot==ot&&!qr(ot):O(ot,gt)))var gt=ot,pt=Ge}return pt}function Ui(c,g){var O=[];return va(c,function(q,Ae,Ge){g(q,Ae,Ge)&&O.push(q)}),O}function Jr(c,g,O,q,Ae){var Ge=-1,ot=c.length;for(O||(O=Rd),Ae||(Ae=[]);++Ge<ot;){var gt=c[Ge];g>0&&O(gt)?g>1?Jr(gt,g-1,O,q,Ae):Ar(Ae,gt):q||(Ae[Ae.length]=gt)}return Ae}var fc=Dd(),Lo=Dd(!0);function ya(c,g){return c&&fc(c,g,go)}function pc(c,g){return c&&Lo(c,g,go)}function Ca(c,g){return Nr(g,function(O){return Ia(c[O])})}function Zr(c,g){for(var O=0,q=(g=ka(g,c)).length;null!=c&&O<q;)c=c[Vs(g[O++])];return O&&O==q?c:i}function af(c,g,O){var q=g(c);return yi(c)?q:Ar(q,O(c))}function So(c){return null==c?c===i?"[object Undefined]":"[object Null]":ho&&ho in Li(c)?function m0(c){var g=Bi.call(c,ho),O=c[ho];try{c[ho]=i;var q=!0}catch{}var Ae=Lr.call(c);return q&&(g?c[ho]=O:delete c[ho]),Ae}(c):function Bf(c){return Lr.call(c)}(c)}function gd(c,g){return c>g}function Ns(c,g){return null!=c&&Bi.call(c,g)}function cf(c,g){return null!=c&&g in Li(c)}function Xl(c,g,O){for(var q=O?rr:ao,Ae=c[0].length,Ge=c.length,ot=Ge,gt=Ut(Ge),pt=1/0,qt=[];ot--;){var en=c[ot];ot&&g&&(en=wi(en,le(g))),pt=kn(en.length,pt),gt[ot]=!O&&(g||Ae>=120&&en.length>=120)?new No(ot&&en):i}en=c[0];var nn=-1,In=gt[0];e:for(;++nn<Ae&&qt.length<pt;){var jn=en[nn],si=g?g(jn):jn;if(jn=O||0!==jn?jn:0,!(In?G(In,si):q(qt,si,O))){for(ot=Ge;--ot;){var Ci=gt[ot];if(!(Ci?G(Ci,si):q(c[ot],si,O)))continue e}In&&In.push(si),qt.push(jn)}}return qt}function gc(c,g,O){var q=null==(c=kf(c,g=ka(g,c)))?c:c[Vs(js(g))];return null==q?i:tr(q,c,O)}function ul(c){return xr(c)&&So(c)==Me}function Es(c,g,O,q,Ae){return c===g||(null==c||null==g||!xr(c)&&!xr(g)?c!=c&&g!=g:function di(c,g,O,q,Ae,Ge){var ot=yi(c),gt
vendor: 4,378 bytes, line 1
1=yi(g),pt=ot?We:ko(c),qt=gt?We:ko(g),en=(pt=pt==Me?Re:pt)==Re,nn=(qt=qt==Me?Re:qt)==Re,In=pt==qt;if(In&&ca(c)){if(!ca(g))return!1;ot=!0,en=!1}if(In&&!en)return Ge||(Ge=new Ho),ot||Jc(c)?xf(c,g,O,q,Ae,Ge):function Oa(c,g,O,q,Ae,Ge,ot){switch(O){case ft:if(c.byteLength!=g.byteLength||c.byteOffset!=g.byteOffset)return!1;c=c.buffer,g=g.buffer;case je:return!(c.byteLength!=g.byteLength||!Ge(new Yr(c),new Yr(g)));case tt:case Qe:case Fe:return aa(+c,+g);case ht:return c.name==g.name&&c.message==g.message;case we:case ct:return c==g+"";case Ot:var gt=Zs;case Tt:if(gt||(gt=Ro),c.size!=g.size&&!(1&q))return!1;var qt=ot.get(c);if(qt)return qt==g;q|=2,ot.set(c,g);var en=xf(gt(c),gt(g),q,Ae,Ge,ot);return ot.delete(c),en;case tn:if(ui)return ui.call(c)==ui.call(g)}return!1}(c,g,pt,O,q,Ae,Ge);if(!(1&O)){var jn=en&&Bi.call(c,"__wrapped__"),si=nn&&Bi.call(g,"__wrapped__");if(jn||si){var Ci=jn?c.value():c,zn=si?g.value():g;return Ge||(Ge=new Ho),Ae(Ci,zn,O,q,Ge)}}return!!In&&(Ge||(Ge=new Ho),function _0(c,g,O,q,Ae,Ge){var ot=1&O,gt=gl(c),pt=gt.length;if(pt!=gl(g).length&&!ot)return!1;for(var nn=pt;nn--;){var In=gt[nn];if(!(ot?In in g:Bi.call(g,In)))return!1}var jn=Ge.get(c),si=Ge.get(g);if(jn&&si)return jn==g&&si==c;var Ci=!0;Ge.set(c,g),Ge.set(g,c);for(var zn=ot;++nn<pt;){var Di=c[In=gt[nn]],Ii=g[In];if(q)var hs=ot?q(Ii,Di,In,g,c,Ge):q(Di,Ii,In,c,g,Ge);if(!(hs===i?Di===Ii||Ae(Di,Ii,O,q,Ge):hs)){Ci=!1;break}zn||(zn="constructor"==In)}if(Ci&&!zn){var To=c.constructor,Qo=g.constructor;To!=Qo&&"constructor"in c&&"constructor"in g&&!("function"==typeof To&&To instanceof To&&"function"==typeof Qo&&Qo instanceof Qo)&&(Ci=!1)}return Ge.delete(c),Ge.delete(g),Ci}(c,g,O,q,Ae,Ge))}(c,g,O,q,Es,Ae))}function dl(c,g,O,q){var Ae=O.length,Ge=Ae,ot=!q;if(null==c)return!Ge;for(c=Li(c);Ae--;){var gt=O[Ae];if(ot&>[2]?gt[1]!==c[gt[0]]:!(gt[0]in c))return!1}for(;++Ae<Ge;){var pt=(gt=O[Ae])[0],qt=c[pt],en=gt[1];if(ot&>[2]){if(qt===i&&!(pt in c))return!1}else{var nn=new Ho;if(q)var In=q(qt,en,pt,c,g,nn);if(!(In===i?Es(en,qt,3,q,nn):In))return!1}}return!0}function md(c){return!(!yr(c)||function wd(c){return!!ga&&ga in c}(c))&&(Ia(c)?dc:Pn).test(tc(c))}function uf(c){return"function"==typeof c?c:null==c?Ao:"object"==typeof c?yi(c)?ff(c[0],c[1]):hf(c):Qp(c)}function Zl(c){if(!Wc(c))return Gi(c);var g=[];for(var O in Li(c))Bi.call(c,O)&&"constructor"!=O&&g.push(O);return g}function vd(c,g){return c<g}function df(c,g){var O=-1,q=bs(c)?Ut(c.length):[];return va(c,function(Ae,Ge,ot){q[++O]=g(Ae,Ge,ot)}),q}function hf(c){var g=hu(c);return 1==g.length&&g[0][2]?Ff(g[0][0],g[0][1]):function(O){return O===c||dl(O,c,g)}}function ff(c,g){return jc(c)&&wf(g)?Ff(Vs(c),g):function(O){var q=Rp(O,c);return q===i&&q===g?oh(O,c):Es(g,q,3)}}function ql(c,g,O,q,Ae){c!==g&&fc(g,function(Ge,ot){if(Ae||(Ae=new Ho),yr(Ge))!function $t(c,g,O,q,Ae,Ge,ot){var gt=gu(c,O),pt=gu(g,O),qt=ot.get(pt);if(qt)Je(c,O,qt);else{var en=Ge?Ge(gt,pt,O+"",c,g,ot):i,nn=en===i;if(nn){var In=yi(pt),jn=!In&&ca(pt),si=!In&&!jn&&Jc(pt);en=pt,In||jn||si?yi(gt)?en=gt:gr(gt)?en=Ir(gt):jn?(nn=!1,en=po(pt,!0)):si?(nn=!1,en=Ad(pt,!0)):en=[]:rc(pt)||Wa(pt)?(en=gt,Wa(gt)?en=Dp(gt):(!yr(gt)||Ia(gt))&&(en=Wr(pt))):nn=!1}nn&&(ot.set(pt,en),Ae(en,pt,q,Ge,ot),ot.delete(pt)),Je(c,O,en)}}(c,g,ot,O,ql,q,Ae);else{var gt=q?q(gu(c,ot),Ge,ot+"",c,g,Ae):i;gt===i&&(gt=Ge),Je(c,ot,gt)}},Xo)}function Ai(c,g){var O=c.length;if(O)return Va(g+=g<0?O:0,O)?c[g]:i}function Ed(c,g,O){g=g.length?wi(g,function(Ge){return yi(Ge)?function(ot){return Zr(ot,1===Ge.length?Ge[0]:Ge)}:Ge}):[Ao];var q=-1;return g=wi(g,le(ei())),function ms(yt,jt){var Ut=yt.length;for(yt.sort(jt);Ut--;)yt[Ut]=yt[Ut].value;return yt}(df(c,function(Ge,ot,gt){return{criteria:wi(g,function(qt){return qt(Ge)}),index:++q,value:Ge}}),function(Ge,ot){return function Sf(c,g,O){for(var q=-1,Ae=c.criteria,Ge=g.criteria,ot=Ae.length,gt=O.length;++q<ot;){var pt=bf(Ae[q],Ge[q]);if(pt)return q>=gt?pt:pt*("desc"==O[q]?-1:1)}return c.index-g.index}(Ge,ot,O)})}function Qi(c,g,O){for(var q=-1,Ae=g.length,Ge={};++q<Ae;){var ot=g[q],gt=Zr(c,ot);O(gt,ot)&&wc(Ge,ka(ot,c),gt)}return Ge}function mc(c,g,O,q){var Ae=q?wr:vo,Ge=-1,ot=g.length,gt=c;for(c===g&&(g=Ir(g)),O&&(gt=wi(c,le(O)));++Ge<ot;)for(var pt=0,qt=g[Ge],en=O?O(qt):qt;(pt=Ae(gt,en,pt,q))>-1;)gt!==c&&Na.call(gt,pt,1),Na.call(c,pt,1);return c}function Bs(c,g){for(var O=c?g.length:0,q=O-1;O--;){var Ae=g[O];
vendor: 6,541 bytes, line 1
1if(O==q||Ae!==Ge){var Ge=Ae;Va(Ae)?Na.call(c,Ae,1):fl(c,Ae)}}return c}function hl(c,g){return c+Ke(ae()*(g-c+1))}function eu(c,g){var O="";if(!c||g<1||g>Se)return O;do{g%2&&(O+=c),(g=Ke(g/2))&&(c+=c)}while(g);return O}function Pi(c,g){return Uf(Lf(c,g,Ao),c+"")}function Gv(c){return K(Ic(c))}function _f(c,g){var O=Ic(c);return ml(O,Er(g,0,O.length))}function wc(c,g,O,q){if(!yr(c))return c;for(var Ae=-1,Ge=(g=ka(g,c)).length,ot=Ge-1,gt=c;null!=gt&&++Ae<Ge;){var pt=Vs(g[Ae]),qt=O;if("__proto__"===pt||"constructor"===pt||"prototype"===pt)return c;if(Ae!=ot){var en=gt[pt];(qt=q?q(en,pt,gt):i)===i&&(qt=yr(en)?en:Va(g[Ae+1])?[]:{})}Ft(gt,pt,qt),gt=gt[pt]}return c}var Cd=Et?function(c,g){return Et.set(c,g),c}:Ao,zo=oa?function(c,g){return oa(c,"toString",{configurable:!0,enumerable:!1,value:Hp(g),writable:!0})}:Ao;function La(c){return ml(Ic(c))}function ys(c,g,O){var q=-1,Ae=c.length;g<0&&(g=-g>Ae?0:Ae+g),(O=O>Ae?Ae:O)<0&&(O+=Ae),Ae=g>O?0:O-g>>>0,g>>>=0;for(var Ge=Ut(Ae);++q<Ae;)Ge[q]=c[q+g];return Ge}function sa(c,g){var O;return va(c,function(q,Ae,Ge){return!(O=g(q,Ae,Ge))}),!!O}function Ls(c,g,O){var q=0,Ae=null==c?q:c.length;if("number"==typeof g&&g==g&&Ae<=2147483647){for(;q<Ae;){var Ge=q+Ae>>>1,ot=c[Ge];null!==ot&&!qr(ot)&&(O?ot<=g:ot<g)?q=Ge+1:Ae=Ge}return Ae}return bd(c,g,Ao,O)}function bd(c,g,O,q){var Ae=0,Ge=null==c?0:c.length;if(0===Ge)return 0;for(var ot=(g=O(g))!=g,gt=null===g,pt=qr(g),qt=g===i;Ae<Ge;){var en=Ke((Ae+Ge)/2),nn=O(c[en]),In=nn!==i,jn=null===nn,si=nn==nn,Ci=qr(nn);if(ot)var zn=q||si;else zn=qt?si&&(q||In):gt?si&&In&&(q||!jn):pt?si&&In&&!jn&&(q||!Ci):!jn&&!Ci&&(q?nn<=g:nn<g);zn?Ae=en+1:Ge=en}return kn(Ge,4294967294)}function Sd(c,g){for(var O=-1,q=c.length,Ae=0,Ge=[];++O<q;){var ot=c[O],gt=g?g(ot):ot;if(!O||!aa(gt,pt)){var pt=gt;Ge[Ae++]=0===ot?0:ot}}return Ge}function mf(c){return"number"==typeof c?c:qr(c)?NaN:+c}function Cs(c){if("string"==typeof c)return c;if(yi(c))return wi(c,Cs)+"";if(qr(c))return ki?ki.call(c):"";var g=c+"";return"0"==g&&1/c==-ee?"-0":g}function ba(c,g,O){var q=-1,Ae=ao,Ge=c.length,ot=!0,gt=[],pt=gt;if(O)ot=!1,Ae=rr;else if(Ge>=200){var qt=g?null:p0(c);if(qt)return Ro(qt);ot=!1,Ae=G,pt=new No}else pt=g?[]:gt;e:for(;++q<Ge;){var en=c[q],nn=g?g(en):en;if(en=O||0!==en?en:0,ot&&nn==nn){for(var In=pt.length;In--;)if(pt[In]===nn)continue e;g&&pt.push(nn),gt.push(en)}else Ae(pt,nn,O)||(pt!==gt&&pt.push(nn),gt.push(en))}return gt}function fl(c,g){return null==(c=kf(c,g=ka(g,c)))||delete c[Vs(js(g))]}function tu(c,g,O,q){return wc(c,g,O(Zr(c,g)),q)}function vc(c,g,O,q){for(var Ae=c.length,Ge=q?Ae:-1;(q?Ge--:++Ge<Ae)&&g(c[Ge],Ge,c););return O?ys(c,q?0:Ge,q?Ge+1:Ae):ys(c,q?Ge+1:0,q?Ae:Ge)}function vf(c,g){var O=c;return O instanceof Vn&&(O=O.value()),Ys(g,function(q,Ae){return Ae.func.apply(Ae.thisArg,Ar([q],Ae.args))},O)}function nu(c,g,O){var q=c.length;if(q<2)return q?ba(c[0]):[];for(var Ae=-1,Ge=Ut(q);++Ae<q;)for(var ot=c[Ae],gt=-1;++gt<q;)gt!=Ae&&(Ge[Ae]=ma(Ge[Ae]||ot,c[gt],g,O));return ba(Jr(Ge,1),g,O)}function iu(c,g,O){for(var q=-1,Ae=c.length,Ge=g.length,ot={};++q<Ae;)O(ot,c[q],q<Ge?g[q]:i);return ot}function ru(c){return gr(c)?c:[]}function ou(c){return"function"==typeof c?c:Ao}function ka(c,g){return yi(c)?c:jc(c,g)?[c]:S0(Xi(c))}var Ef=Pi;function Sa(c,g,O){var q=c.length;return O=O===i?q:O,!g&&O>=q?c:ys(c,g,O)}var yf=B||function(c){return $i.clearTimeout(c)};function po(c,g){if(g)return c.slice();var O=c.length,q=wa?wa(O):new c.constructor(O);return c.copy(q),q}function Ua(c){var g=new c.constructor(c.byteLength);return new Yr(g).set(new Yr(c)),g}function Ad(c,g){var O=g?Ua(c.buffer):c.buffer;return new c.constructor(O,c.byteOffset,c.length)}function bf(c,g){if(c!==g){var O=c!==i,q=null===c,Ae=c==c,Ge=qr(c),ot=g!==i,gt=null===g,pt=g==g,qt=qr(g);if(!gt&&!qt&&!Ge&&c>g||Ge&&ot&&pt&&!gt&&!qt||q&&ot&&pt||!O&&pt||!Ae)return 1;if(!q&&!Ge&&!qt&&c<g||qt&&O&&Ae&&!q&&!Ge||gt&&O&&Ae||!ot&&Ae||!pt)return-1}return 0}function Td(c,g,O,q){for(var Ae=-1,Ge=c.length,ot=O.length,gt=-1,pt=g.length,qt=ni(Ge-ot,0),en=Ut(pt+qt),nn=!q;++gt<pt;)en[gt]=g[gt];for(;++Ae<ot;)(nn||Ae<Ge)&&(en[O[Ae]]=c[Ae]);for(;qt--;)en[gt++]=c[Ae++];return en}function Fc(c,g,O,q){for(var Ae=-1,Ge=c.length,ot=-1,gt=O.length,pt=-1,qt=g.length,en=ni(Ge-gt,0),nn=Ut(en+qt),In=!q;++Ae<en;)nn[Ae]=c[Ae];for(var jn=Ae;++pt<qt;)nn[jn+pt]=g[pt];for(;++ot<gt;)(In||Ae<Ge)&&(nn[jn+O[ot]]=c[Ae++]);return nn}function Ir(c,g){var O=-1,q=c.length;for(g||(g=Ut(q));++O<q;)g[O]=c[O];return g}function Aa(c,g,O,q){var Ae=!O;O||(O={});for(var Ge=-1,ot=g.length;++Ge<ot;){var gt=g[Ge],pt=q?q(O[gt],c[gt],gt,O,c):i;pt===i&&(pt=c[gt]),Ae?Fi(O,gt,pt):Ft(O,gt,pt)}return O}function Ec(c,g){return function(O,q){var Ae=yi(O)?so:vn,Ge=g?g():{};return Ae(O,c,ei(q,2),Ge)}}function Ja(c){return Pi(function(g,O){var q=-1,Ae=O.length,Ge=Ae>1?O[Ae-1]:i,ot=Ae>2?O[2]:i;for(Ge=c.length>3&&"function"==typeof Ge?(Ae--,Ge):i,ot&&Uo(O[0],O[1],ot)&&(Ge=Ae<3?i:Ge,Ae=1),g=Li(g);++q<Ae;){var gt=O[q];gt&&c(g,gt,q,Ge)}return g})}function Od(c,g){return function(O,q){if(null==O)return O;if(!bs(O))return c(O,q);for(var Ae=O.length,Ge=g?Ae:-1,ot=Li(O);(g?Ge--:++Ge<Ae)&&!1!==q(ot[Ge],Ge,ot););return O}}function Dd(c){return function(g,O,q){for(var Ae=-1,Ge=Li(g),ot=q(g),gt=ot.length;gt--;){var pt=ot[c?gt:++Ae];if(!1===O(Ge[pt],pt,Ge))break}return g}}function yc(c){return function(g){var O=Is(g=Xi(g))?xi(g):i,q=O?O[0]:g.charAt(0),Ae=O?Sa(O,1).join(""):g.slice(1);return q[c]()+Ae}}function Ta(c){return function(g){return Ys(ds(ch(g).replace(Pa,"")),c,"")}}function pl(c){return function(){var g=arguments;switch(g.length){case 0:return new c;case 1:return new c(g[0]);case 2:return new c(g[0],g[1]);case 3:return new c(g[0],g[1],g[2]);case 4:return new c(g[0],g[1],g[2],g[3]);case 5:return new c(g[0],g[1],g[2],g[3],g[4]);case 6:return new c(g[0],g[1],g[2],g[3],g[4],g[5]);case 7:return new c(g[0],g[1],g[2],g[3],g[4],g[5],g[6])}var O=or(c.prototype),q=c.apply(O,g);return yr(q)?q:O}}function xd(c){return function(g,O,q){var Ae=Li(g);if(!bs(g)){var Ge=ei(O,3);g=go(g),O=function(gt){return Ge(Ae[gt],gt,Ae)}}var ot=c(g,O,q);return ot>-1?Ae[Ge?g[ot]:ot]:i}}function Af(c){return Us(function(g){var O=g.length,q=O,Ae=fr.prototype.thru;for(c&&g.reverse();q--;){var Ge=g[q];if("function"!=typeof Ge)throw new Vr(_);if(Ae&&!ot&&"wrapper"==Lc(Ge))var ot=new fr([],!0)}for(q=ot?q:O;++q<O;){var gt=Lc(Ge=g[q]),pt="wrapper"==gt?Bc(Ge):i;ot=pt&&fu(pt[0])&&424==pt[1]&&!pt[4].length&&1==pt[9]?ot[Lc(pt[0])].apply(ot,pt[3]):1==Ge.length&&fu(Ge)?ot[gt]():ot.thru(Ge)}return function(){var qt=arguments,en=qt[0];
vendor: 22,582 bytes, line 1
1if(ot&&1==qt.length&&yi(en))return ot.plant(en).value();for(var nn=0,In=O?g[nn].apply(this,qt):en;++nn<O;)In=g[nn].call(this,In);return In}})}function cu(c,g,O,q,Ae,Ge,ot,gt,pt,qt){var en=128&g,nn=1&g,In=2&g,jn=24&g,si=512&g,Ci=In?i:pl(c);return function zn(){for(var Di=arguments.length,Ii=Ut(Di),hs=Di;hs--;)Ii[hs]=arguments[hs];if(jn)var To=kc(zn),Qo=function Rn(yt,jt){for(var Ut=yt.length,Tn=0;Ut--;)yt[Ut]===jt&&++Tn;return Tn}(Ii,To);if(q&&(Ii=Td(Ii,q,Ae,jn)),Ge&&(Ii=Fc(Ii,Ge,ot,jn)),Di-=Qo,jn&&Di<qt){var Pr=$o(Ii,To);return Df(c,g,cu,zn.placeholder,O,Ii,Pr,gt,pt,qt-Di)}var $s=nn?O:this,la=In?$s[c]:c;return Di=Ii.length,gt?Ii=function Kv(c,g){for(var O=c.length,q=kn(g.length,O),Ae=Ir(c);q--;){var Ge=g[q];c[q]=Va(Ge,O)?Ae[Ge]:i}return c}(Ii,gt):si&&Di>1&&Ii.reverse(),en&&pt<Di&&(Ii.length=pt),this&&this!==$i&&this instanceof zn&&(la=Ci||pl(la)),la.apply($s,Ii)}}function Tf(c,g){return function(O,q){return function Yl(c,g,O,q){return ya(c,function(Ae,Ge,ot){g(q,O(Ae),Ge,ot)}),q}(O,c,g(q),{})}}function Pd(c,g){return function(O,q){var Ae;if(O===i&&q===i)return g;if(O!==i&&(Ae=O),q!==i){if(Ae===i)return q;"string"==typeof O||"string"==typeof q?(O=Cs(O),q=Cs(q)):(O=mf(O),q=mf(q)),Ae=c(O,q)}return Ae}}function Of(c){return Us(function(g){return g=wi(g,le(ei())),Pi(function(O){var q=this;return c(g,function(Ae){return tr(Ae,q,O)})})})}function Nc(c,g){var O=(g=g===i?" ":Cs(g)).length;if(O<2)return O?eu(g,c):g;var q=eu(g,ue(c/Yn(g)));return Is(g)?Sa(xi(q),0,c).join(""):q.slice(0,c)}function lu(c){return function(g,O,q){return q&&"number"!=typeof q&&Uo(g,O,q)&&(O=q=i),g=Ga(g),O===i?(O=g,g=0):O=Ga(O),function yd(c,g,O,q){for(var Ae=-1,Ge=ni(ue((g-c)/(O||1)),0),ot=Ut(Ge);Ge--;)ot[q?Ge:++Ae]=c,c+=O;return ot}(g,O,q=q===i?g<O?1:-1:Ga(q),c)}}function Za(c){return function(g,O){return"string"==typeof g&&"string"==typeof O||(g=Ws(g),O=Ws(O)),c(g,O)}}function Df(c,g,O,q,Ae,Ge,ot,gt,pt,qt){var en=8&g;g|=en?L:64,4&(g&=~(en?64:L))||(g&=-4);var Ci=[c,g,Ae,en?Ge:i,en?ot:i,en?i:Ge,en?i:ot,gt,pt,qt],zn=O.apply(i,Ci);return fu(c)&&Fd(zn,Ci),zn.placeholder=q,Vf(zn,c,g)}function bc(c){var g=Tr[c];return function(O,q){if(O=Ws(O),(q=null==q?0:kn(Ti(q),292))&&Cn(O)){var Ae=(Xi(O)+"e").split("e");return+((Ae=(Xi(g(Ae[0]+"e"+(+Ae[1]+q)))+"e").split("e"))[0]+"e"+(+Ae[1]-q))}return g(O)}}var p0=Be&&1/Ro(new Be([,-0]))[1]==ee?function(c){return new Be(c)}:el;function uu(c){return function(g){var O=ko(g);return O==Ot?Zs(g):O==Tt?function wo(yt){var jt=-1,Ut=Array(yt.size);return yt.forEach(function(Tn){Ut[++jt]=[Tn,Tn]}),Ut}(g):function Js(yt,jt){return wi(jt,function(Ut){return[Ut,yt[Ut]]})}(g,c(g))}}function ks(c,g,O,q,Ae,Ge,ot,gt){var pt=2&g;if(!pt&&"function"!=typeof c)throw new Vr(_);var qt=q?q.length:0;if(qt||(g&=-97,q=Ae=i),ot=ot===i?ot:ni(Ti(ot),0),gt=gt===i?gt:Ti(gt),qt-=Ae?Ae.length:0,64&g){var en=q,nn=Ae;q=Ae=i}var In=pt?i:Bc(c),jn=[c,g,O,q,Ae,en,nn,Ge,ot,gt];if(In&&function Nf(c,g){var O=c[1],q=g[1],Ae=O|q;if(!(Ae<131)&&!(128==q&&8==O||128==q&&256==O&&c[7].length<=g[8]||384==q&&g[7].length<=g[8]&&8==O))return c;1&q&&(c[2]=g[2],Ae|=1&O?0:4);var gt=g[3];if(gt){var pt=c[3];c[3]=pt?Td(pt,gt,g[4]):gt,c[4]=pt?$o(c[3],E):g[4]}(gt=g[5])&&(c[5]=(pt=c[5])?Fc(pt,gt,g[6]):gt,c[6]=pt?$o(c[5],E):g[6]),(gt=g[7])&&(c[7]=gt),128&q&&(c[8]=null==c[8]?g[8]:kn(c[8],g[8])),null==c[9]&&(c[9]=g[9]),c[0]=g[0],c[1]=Ae}(jn,In),c=jn[0],g=jn[1],O=jn[2],q=jn[3],Ae=jn[4],!(gt=jn[9]=jn[9]===i?pt?0:c.length:ni(jn[9]-qt,0))&&24&g&&(g&=-25),g&&1!=g)si=8==g||16==g?function Id(c,g,O){var q=pl(c);return function Ae(){for(var Ge=arguments.length,ot=Ut(Ge),gt=Ge,pt=kc(Ae);gt--;)ot[gt]=arguments[gt];var qt=Ge<3&&ot[0]!==pt&&ot[Ge-1]!==pt?[]:$o(ot,pt);return(Ge-=qt.length)<O?Df(c,g,cu,Ae.placeholder,i,ot,qt,i,i,O-Ge):tr(this&&this!==$i&&this instanceof Ae?q:c,this,ot)}}(c,g,gt):g!=L&&33!=g||Ae.length?cu.apply(i,jn):function Cc(c,g,O,q){var Ae=1&g,Ge=pl(c);return function ot(){for(var gt=-1,pt=arguments.length,qt=-1,en=q.length,nn=Ut(en+pt),In=this&&this!==$i&&this instanceof ot?Ge:c;++qt<en;)nn[qt]=q[qt];for(;pt--;)nn[qt++]=arguments[++gt];return tr(In,Ae?O:this,nn)}}(c,g,O,q);else var si=function f0(c,g,O){var q=1&g,Ae=pl(c);return function Ge(){return(this&&this!==$i&&this instanceof Ge?Ae:c).apply(q?O:this,arguments)}}(c,g,O);return Vf((In?Cd:Fd)(si,jn),c,g)}function g0(c,g,O,q){return c===i||aa(c,ta[O])&&!Bi.call(q,O)?g:c}function Md(c,g,O,q,Ae,Ge){return yr(c)&&yr(g)&&(Ge.set(g,c),ql(c,g,i,Md,Ge),Ge.delete(g)),c}function If(c){return rc(c)?i:c}function xf(c,g,O,q,Ae,Ge){var ot=1&O,gt=c.length,pt=g.length;if(gt!=pt&&!(ot&&pt>gt))return!1;var qt=Ge.get(c),en=Ge.get(g);if(qt&&en)return qt==g&&en==c;var nn=-1,In=!0,jn=2&O?new No:i;for(Ge.set(c,g),Ge.set(g,c);++nn<gt;){var si=c[nn],Ci=g[nn];if(q)var zn=ot?q(Ci,si,nn,g,c,Ge):q(si,Ci,nn,c,g,Ge);if(zn!==i){if(zn)continue;In=!1;break}if(jn){if(!Xr(g,function(Di,Ii){if(!G(jn,Ii)&&(si===Di||Ae(si,Di,O,q,Ge)))return jn.push(Ii)})){In=!1;break}}else if(si!==Ci&&!Ae(si,Ci,O,q,Ge)){In=!1;break}}return Ge.delete(c),Ge.delete(g),In}function Us(c){return Uf(Lf(c,i,Kf),c+"")}function gl(c){return af(c,go,Uc)}function du(c){return af(c,Xo,ec)}var Bc=Et?function(c){return Et.get(c)}:el;function Lc(c){for(var g=c.name+"",O=Mt[g],q=Bi.call(Mt,g)?O.length:0;q--;){var Ae=O[q],Ge=Ae.func;if(null==Ge||Ge==c)return Ae.name}return g}function kc(c){return(Bi.call(Ne,"placeholder")?Ne:c).placeholder}function ei(){var c=Ne.iteratee||Nl;return c=c===Nl?uf:c,arguments.length?c(arguments[0],arguments[1]):c}function _l(c,g){var O=c.__data__;return function E0(c){var g=typeof c;return"string"==g||"number"==g||"symbol"==g||"boolean"==g?"__proto__"!==c:null===c}(g)?O["string"==typeof g?"string":"hash"]:O.map}function hu(c){for(var g=go(c),O=g.length;O--;){var q=g[O],Ae=c[q];g[O]=[q,Ae,wf(Ae)]}return g}function qa(c,g){var O=function ss(yt,jt){return null==yt?i:yt[jt]}(c,g);return md(O)?O:i}var Uc=It?function(c){return null==c?[]:(c=Li(c),Nr(It(c),function(g){return Rs.call(c,g)}))}:tl,ec=It?function(c){for(var g=[];c;)Ar(g,Uc(c)),c=cs(c);return g}:tl,ko=So;function Sc(c,g,O){for(var q=-1,Ae=(g=ka(g,c)).length,Ge=!1;++q<Ae;){var ot=Vs(g[q]);if(!(Ge=null!=c&&O(c,ot)))break;c=c[ot]}return Ge||++q!=Ae?Ge:!!(Ae=null==c?0:c.length)&&Pl(Ae)&&Va(ot,Ae)&&(yi(c)||Wa(c))}function Wr(c){return"function"!=typeof c.constructor||Wc(c)?{}:or(cs(c))}function Rd(c){return yi(c)||Wa(c)||!!(ws&&c&&c[ws])}function Va(c,g){var O=typeof c;return!!(g=g??Se)&&("number"==O||"symbol"!=O&&H.test(c))&&c>-1&&c%1==0&&c<g}function Uo(c,g,O){if(!yr(O))return!1;var q=typeof g;return!!("number"==q?bs(O)&&Va(g,O.length):"string"==q&&g in O)&&aa(O[g],c)}function jc(c,g){if(yi(c))return!1;var O=typeof c;return!("number"!=O&&"symbol"!=O&&"boolean"!=O&&null!=c&&!qr(c))||St.test(c)||!Bt.test(c)||null!=g&&c in Li(g)}function fu(c){var g=Lc(c),O=Ne[g];if("function"!=typeof O||!(g in Vn.prototype))return!1;if(c===O)return!0;var q=Bc(O);return!!q&&c===q[0]}(x&&ko(new x(new ArrayBuffer(1)))!=ft||X&&ko(new X)!=Ot||fe&&ko(fe.resolve())!=De||Be&&ko(new Be)!=Tt||Ze&&ko(new Ze)!=se)&&(ko=function(c){var g=So(c),O=g==Re?c.constructor:i,q=O?tc(O):"";if(q)switch(q){case zt:return ft;case mn:return Ot;case fi:return De;case Hn:return Tt;case En:return se}return g});var pu=Ms?Ia:Ll;function Wc(c){var g=c&&c.constructor;return c===("function"==typeof g&&g.prototype||ta)}function wf(c){return c==c&&!yr(c)}function Ff(c,g){return function(O){return null!=O&&O[c]===g&&(g!==i||c in Li(O))}}function Lf(c,g,O){return g=ni(g===i?c.length-1:g,0),function(){for(var q=arguments,Ae=-1,Ge=ni(q.length-g,0),ot=Ut(Ge);++Ae<Ge;)ot[Ae]=q[g+Ae];Ae=-1;for(var gt=Ut(g+1);++Ae<g;)gt[Ae]=q[Ae];return gt[g]=O(ot),tr(c,this,gt)}}function kf(c,g){return g.length<2?c:Zr(c,ys(g,0,-1))}function gu(c,g){if(("constructor"!==g||"function"!=typeof c[g])&&"__proto__"!=g)return c[g]}var Fd=b0(Cd),$r=Y||function(c,g){return $i.setTimeout(c,g)},Uf=b0(zo);function Vf(c,g,O){var q=g+"";return Uf(c,function Rf(c,g){var O=g.length;if(!O)return c;var q=O-1;return g[q]=(O>1?"& ":"")+g[q],g=g.join(O>2?", ":" "),c.replace(Ue,"{\n/* [wrapped with "+g+"] */\n")}(q,function $c(c,g){return br(Pe,function(O){var q="_."+O[0];g&O[1]&&!ao(c,q)&&c.push(q)}),c.sort()}(function Mf(c){var g=c.match(at);return g?g[1].split(xt):[]}(q),O)))}function b0(c){var g=0,O=0;return function(){var q=Ki(),Ae=16-(q-O);if(O=q,Ae>0){if(++g>=800)return arguments[0]}else g=0;return c.apply(i,arguments)}}function ml(c,g){var O=-1,q=c.length,Ae=q-1;for(g=g===i?q:g;++O<g;){var Ge=hl(O,Ae),ot=c[Ge];c[Ge]=c[O],c[O]=ot}return c.length=g,c}var S0=function y0(c){var g=Xc(c,function(q){return 500===O.size&&O.clear(),q}),O=g.cache;return g}(function(c){var g=[];return 46===c.charCodeAt(0)&&g.push(""),c.replace(Rt,function(O,q,Ae,Ge){g.push(Ae?Ge.replace(dn,"$1"):q||O)}),g});function Vs(c){if("string"==typeof c||qr(c))return c;var g=c+"";return"0"==g&&1/c==-ee?"-0":g}function tc(c){if(null!=c){try{return as.call(c)}catch{}try{return c+""}catch{}}return""}function jf(c){if(c instanceof Vn)return c.clone();var g=new fr(c.__wrapped__,c.__chain__);return g.__actions__=Ir(c.__actions__),g.__index__=c.__index__,g.__values__=c.__values__,g}var T0=Pi(function(c,g){return gr(c)?ma(c,Jr(g,1,gr,!0)):[]}),Da=Pi(function(c,g){var O=js(g);return gr(O)&&(O=i),gr(c)?ma(c,Jr(g,1,gr,!0),ei(O,2)):[]}),_u=Pi(function(c,g){var O=js(g);return gr(O)&&(O=i),gr(c)?ma(c,Jr(g,1,gr,!0),i,O):[]});function Gf(c,g,O){var q=null==c?0:c.length;if(!q)return-1;var Ae=null==O?0:Ti(O);return Ae<0&&(Ae=ni(q+Ae,0)),os(c,ei(g,3),Ae)}function pr(c,g,O){var q=null==c?0:c.length;if(!q)return-1;var Ae=q-1;return O!==i&&(Ae=Ti(O),Ae=O<0?ni(q+Ae,0):kn(Ae,q-1)),os(c,ei(g,3),Ae,!0)}function Kf(c){return null!=c&&c.length?Jr(c,1):[]}function vu(c){return c&&c.length?c[0]:i}var Ld=Pi(function(c){var g=wi(c,ru);return g.length&&g[0]===c[0]?Xl(g):[]}),I0=Pi(function(c){var g=js(c),O=wi(c,ru);return g===js(O)?g=i:O.pop(),O.length&&O[0]===c[0]?Xl(O,ei(g,2)):[]}),x0=Pi(function(c){var g=js(c),O=wi(c,ru);return(g="function"==typeof g?g:i)&&O.pop(),O.length&&O[0]===c[0]?Xl(O,i,g):[]});function js(c){var g=null==c?0:c.length;return g?c[g-1]:i}var Yf=Pi(M0);function M0(c,g){return c&&c.length&&g&&g.length?mc(c,g):c}var w0=Us(function(c,g){var O=null==c?0:c.length,q=Bo(c,g);return Bs(c,wi(g,function(Ae){return Va(Ae,O)?+Ae:Ae}).sort(bf)),q});function kd(c){return null==c?c:A.call(c)}var k0=Pi(function(c){return ba(Jr(c,1,gr,!0))}),U0=Pi(function(c){var g=js(c);return gr(g)&&(g=i),ba(Jr(c,1,gr,!0),ei(g,2))}),ep=Pi(function(c){var g=js(c);return g="function"==typeof g?g:i,ba(Jr(c,1,gr,!0),i,g)});function bl(c){if(!c||!c.length)return[];var g=0;return c=Nr(c,function(O){if(gr(O))return g=ni(O.length,g),!0}),Br(g,function(O){return wi(c,Os(O))})}function $d(c,g){if(!c||!c.length)return[];var O=bl(c);return null==g?O:wi(O,function(q){return tr(g,i,q)})}var Eu=Pi(function(c,g){return gr(c)?ma(c,g):[]}),Xv=Pi(function(c){return nu(Nr(c,gr))}),Yv=Pi(function(c){var g=js(c);return gr(g)&&(g=i),nu(Nr(c,gr),ei(g,2))}),Vo=Pi(function(c){var g=js(c);return g="function"==typeof g?g:i,nu(Nr(c,gr),i,g)}),Kc=Pi(bl),j0=Pi(function(c){var g=c.length,O=g>1?c[g-1]:i;return O="function"==typeof O?(c.pop(),O):i,$d(c,O)});function Gd(c){var g=Ne(c);return g.__chain__=!0,g}function Sl(c,g){return g(c)}var $0=Us(function(c){var g=c.length,O=g?c[0]:0,q=this.__wrapped__,Ae=function(Ge){return Bo(Ge,c)};return!(g>1||this.__actions__.length)&&q instanceof Vn&&Va(O)?((q=q.slice(O,+O+(g?1:0))).__actions__.push({func:Sl,args:[Ae],thisArg:i}),new fr(q,this.__chain__).thru(function(Ge){return g&&!Ge.length&&Ge.push(i),Ge})):this.thru(Ae)}),sp=Ec(function(c,g,O){Bi.call(c,O)?++c[O]:Fi(c,O,1)}),cp=xd(Gf),lp=xd(pr);function dp(c,g){return(yi(c)?br:va)(c,ei(g,3))}function hp(c,g){return(yi(c)?Sr:rf)(c,ei(g,3))}var fp=Ec(function(c,g,O){Bi.call(c,O)?c[O].push(g):Fi(c,O,[g])}),pp=Pi(function(c,g,O){var q=-1,Ae="function"==typeof g,Ge=bs(c)?Ut(c.length):[];return va(c,function(ot){Ge[++q]=Ae?tr(g,ot,O):gc(ot,g,O)}),Ge}),Q0=Ec(function(c,g,O){Fi(c,O,g)});function Cu(c,g){return(yi(c)?wi:df)(c,ei(g,3))}var J0=Ec(function(c,g,O){c[O?0:1].push(g)},function(){return[[],[]]}),Zv=Pi(function(c,g){if(null==c)return[];var O=g.length;return O>1&&Uo(c,g[0],g[1])?g=[]:O>2&&Uo(g[0],g[1],g[2])&&(g=[g[0]]),Ed(c,Jr(g,1),[])}),Au=Ce||function(){return $i.Date.now()};function Hd(c,g,O){return g=O?i:g,ks(c,128,i,i,i,i,g=c&&null==g?c.length:g)}function zd(c,g){var O;if("function"!=typeof g)throw new Vr(_);return c=Ti(c),function(){return--c>0&&(O=g.apply(this,arguments)),c<=1&&(g=i),O}}var Xd=Pi(function(c,g,O){var q=1;if(O.length){var Ae=$o(O,kc(Xd));q|=L}return ks(c,q,g,O,Ae)}),mp=Pi(function(c,g,O){var q=3;if(O.length){var Ae=$o(O,kc(mp));q|=L}return ks(g,q,c,O,Ae)});function Tu(c,g,O){var q,Ae,Ge,ot,gt,pt,qt=0,en=!1,nn=!1,In=!0;if("function"!=typeof c)throw new Vr(_);function jn(Pr){var $s=q,la=Ae;return q=Ae=i,qt=Pr,ot=c.apply(la,$s)}function zn(Pr){var $s=Pr-pt;return pt===i||$s>=g||$s<0||nn&&Pr-qt>=Ge}function Di(){var Pr=Au();if(zn(Pr))return Ii(Pr);gt=$r(Di,function Ci(Pr){var ag=g-(Pr-pt);return nn?kn(ag,Ge-(Pr-qt)):ag}(Pr))}function Ii(Pr){return gt=i,In&&q?jn(Pr):(q=Ae=i,ot)}function Qo(){var Pr=Au(),$s=zn(Pr);if(q=arguments,Ae=this,pt=Pr,$s){if(gt===i)return function si(Pr){return qt=Pr,gt=$r(Di,g),en?jn(Pr):ot}(pt);if(nn)return yf(gt),gt=$r(Di,g),jn(pt)}return gt===i&&(gt=$r(Di,g)),ot}return g=Ws(g)||0,yr(O)&&(en=!!O.leading,Ge=(nn="maxWait"in O)?ni(Ws(O.maxWait)||0,g):Ge,In="trailing"in O?!!O.trailing:In),Qo.cancel=function hs(){gt!==i&&yf(gt),qt=0,q=pt=Ae=gt=i},Qo.flush=function To(){return gt===i?ot:Ii(Au())},Qo}var Yd=Pi(function(c,g){return cl(c,1,g)}),zc=Pi(function(c,g,O){return cl(c,Ws(g)||0,O)});function Xc(c,g){if("function"!=typeof c||null!=g&&"function"!=typeof g)throw new Vr(_);var O=function(){var q=arguments,Ae=g?g.apply(this,q):q[0],Ge=O.cache;if(Ge.has(Ae))return Ge.get(Ae);var ot=c.apply(this,q);return O.cache=Ge.set(Ae,ot)||Ge,ot};return O.cache=new(Xc.Cache||ar),O}function ic(c){if("function"!=typeof c)throw new Vr(_);return function(){var g=arguments;switch(g.length){case 0:return!c.call(this);case 1:return!c.call(this,g[0]);case 2:return!c.call(this,g[0],g[1]);case 3:return!c.call(this,g[0],g[1],g[2])}return!c.apply(this,g)}}Xc.Cache=ar;var Yc=Ef(function(c,g){var O=(g=1==g.length&&yi(g[0])?wi(g[0],le(ei())):wi(Jr(g,1),le(ei()))).length;return Pi(function(q){for(var Ae=-1,Ge=kn(q.length,O);++Ae<Ge;)q[Ae]=g[Ae].call(this,q[Ae]);return tr(c,this,q)})}),Al=Pi(function(c,g){var O=$o(g,kc(Al));return ks(c,L,i,g,O)}),Tl=Pi(function(c,g){var O=$o(g,kc(Tl));return ks(c,64,i,g,O)}),Ol=Us(function(c,g){return ks(c,256,i,i,i,g)});function aa(c,g){return c===g||c!=c&&g!=g}var Il=Za(gd),Cp=Za(function(c,g){return c>=g}),Wa=ul(function(){return arguments}())?ul:function(c){return xr(c)&&Bi.call(c,"callee")&&!Rs.call(c,"callee")},yi=Ut.isArray,eE=ns?le(ns):function Ql(c){return xr(c)&&So(c)==je};function bs(c){return null!=c&&Pl(c.length)&&!Ia(c)}function gr(c){return xr(c)&&bs(c)}var ca=Wt||Ll,qd=is?le(is):function _d(c){return xr(c)&&So(c)==Qe};function Iu(c){if(!xr(c))return!1;var g=So(c);return g==ht||"[object DOMException]"==g||"string"==typeof c.message&&"string"==typeof c.name&&!rc(c)}function Ia(c){if(!yr(c))return!1;var g=So(c);return g==mt||g==Vt||"[object AsyncFunction]"==g||"[object Proxy]"==g}function xl(c){return"number"==typeof c&&c==Ti(c)}function Pl(c){return"number"==typeof c&&c>-1&&c%1==0&&c<=Se}function yr(c){var g=typeof c;return null!=c&&("object"==g||"function"==g)}function xr(c){return null!=c&&"object"==typeof c}var xu=Rr?le(Rr):function Jl(c){return xr(c)&&ko(c)==Ot};function l_(c){return"number"==typeof c||xr(c)&&So(c)==Fe}function rc(c){if(!xr(c)||So(c)!=Re)return!1;var g=cs(c);if(null===g)return!0;var O=Bi.call(g,"constructor")&&g.constructor;return"function"==typeof O&&O instanceof O&&as.call(O)==na}var Ml=zr?le(zr):function $v(c){return xr(c)&&So(c)==we},nh=Ji?le(Ji):function u0(c){return xr(c)&&ko(c)==Tt};function Rl(c){return"string"==typeof c||!yi(c)&&xr(c)&&So(c)==ct}function qr(c){return"symbol"==typeof c||xr(c)&&So(c)==tn}var Jc=nr?le(nr):function d0(c){return xr(c)&&Pl(c.length)&&!!hi[So(c)]},f_=Za(vd),$a=Za(function(c,g){return c<=g});function Oc(c){if(!c)return[];if(bs(c))return Rl(c)?xi(c):Ir(c);if(Qr&&c[Qr])return function xs(yt){for(var jt,Ut=[];!(jt=yt.next()).done;)Ut.push(jt.value);return Ut}(c[Qr]());var g=ko(c);return(g==Ot?Zs:g==Tt?Ro:Ic)(c)}function Ga(c){return c?(c=Ws(c))===ee||c===-ee?17976931348623157e292*(c<0?-1:1):c==c?c:0:0===c?c:0}function Ti(c){var g=Ga(c),O=g%1;return g==g?O?g-O:g:0}function Op(c){return c?Er(Ti(c),0,ke):0}function Ws(c){if("number"==typeof c)return c;if(qr(c))return NaN;if(yr(c)){var g="function"==typeof c.valueOf?c.valueOf():c;c=yr(g)?g+"":g}if("string"!=typeof c)return 0===c?c:+c;c=yo(c);var O=pn.test(c);return O||ne.test(c)?Kr(c.slice(2),O?2:8):_i.test(c)?NaN:+c}function Dp(c){return Aa(c,Xo(c))}function Xi(c){return null==c?"":Cs(c)}var g_=Ja(function(c,g){if(Wc(g)||bs(g))Aa(g,go(g),c);else for(var O in g)Bi.call(g,O)&&Ft(c,O,g[O])}),Ip=Ja(function(c,g){Aa(g,Xo(g),c)}),Mu=Ja(function(c,g,O,q){Aa(g,Xo(g),c,q)}),__=Ja(function(c,g,O,q){Aa(g,go(g),c,q)}),Ru=Us(Bo),wl=Pi(function(c,g){c=Li(c);var O=-1,q=g.length,Ae=q>2?g[2]:i;for(Ae&&Uo(g[0],g[1],Ae)&&(q=1);++O<q;)for(var Ge=g[O],ot=Xo(Ge),gt=-1,pt=ot.length;++gt<pt;){var qt=ot[gt],en=c[qt];(en===i||aa(en,ta[qt])&&!Bi.call(c,qt))&&(c[qt]=Ge[qt])}return c}),xp=Pi(function(c){return c.push(i,Md),tr(sh,i,c)});function Rp(c,g,O){var q=null==c?i:Zr(c,g);return q===i?O:q}function oh(c,g){return null!=c&&Sc(c,g,cf)}var m_=Tf(function(c,g,O){null!=g&&"function"!=typeof g.toString&&(g=Lr.call(g)),c[g]=O},Hp(Ao)),v_=Tf(function(c,g,O){null!=g&&"function"!=typeof g.toString&&(g=Lr.call(g)),Bi.call(c,g)?c[g].push(O):c[g]=[O]},ei),E_=Pi(gc);function go(c){return bs(c)?w(c):Zl(c)}function Xo(c){return bs(c)?w(c,!0):function _c(c){if(!yr(c))return function C0(c){var g=[];if(null!=c)for(var O in Li(c))g.push(O);return g}(c);var g=Wc(c),O=[];for(var q in c)"constructor"==q&&(g||!Bi.call(c,q))||O.push(q);return O}(c)}var C_=Ja(function(c,g,O){ql(c,g,O)}),sh=Ja(function(c,g,O,q){ql(c,g,O,q)}),wu=Us(function(c,g){var O={};if(null==c)return O;var q=!1;g=wi(g,function(Ge){return Ge=ka(Ge,c),q||(q=Ge.length>1),Ge}),Aa(c,du(c),O),q&&(O=kr(O,7,If));for(var Ae=g.length;Ae--;)fl(O,g[Ae]);return O}),ah=Us(function(c,g){return null==c?{}:function pf(c,g){return Qi(c,g,function(O,q){return oh(c,q)})}(c,g)});function Bp(c,g){if(null==c)return{};var O=wi(du(c),function(q){return[q]});return g=ei(g),Qi(c,O,function(q,Ae){return g(q,Ae[0])})}var Fu=uu(go),Nu=uu(Xo);function Ic(c){return null==c?[]:ce(c,go(c))}var D_=Ta(function(c,g,O){return g=g.toLowerCase(),c+(O?Up(g):g)});function Up(c){return Yo(Xi(c).toLowerCase())}function ch(c){return(c=Xi(c))&&c.replace(Q,oi).replace(Gr,"")}var M_=Ta(function(c,g,O){return c+(O?"-":"")+g.toLowerCase()}),R_=Ta(function(c,g,O){return c+(O?" ":"")+g.toLowerCase()}),w_=yc("toLowerCase"),dE=Ta(function(c,g,O){return c+(O?"_":"")+g.toLowerCase()}),fE=Ta(function(c,g,O){return c+(O?" ":"")+Yo(g)}),Zc=Ta(function(c,g,O){return c+(O?" ":"")+g.toUpperCase()}),Yo=yc("toUpperCase");function ds(c,g,O){return c=Xi(c),(g=O?i:g)===i?function uo(yt){return qo.test(yt)}(c)?function Ya(yt){return yt.match(jo)||[]}(c):function _s(yt){return yt.match(Zt)||[]}(c):c.match(g)||[]}var dh=Pi(function(c,g){try{return tr(c,i,g)}catch(O){return Iu(O)?O:new ti(O)}}),pE=Us(function(c,g){return br(g,function(O){O=Vs(O),Fi(c,O,Xd(c[O],c))}),c});function Hp(c){return function(){return c}}var Xp=Af(),_E=Af(!0);function Ao(c){return c}function Nl(c){return uf("function"==typeof c?c:kr(c,1))}var qc=Pi(function(c,g){return function(O){return gc(O,c,g)}}),fh=Pi(function(c,g){return function(O){return gc(c,O,g)}});function ku(c,g,O){var q=go(g),Ae=Ca(g,q);null==O&&(!yr(g)||!Ae.length&&q.length)&&(O=g,g=c,c=this,Ae=Ca(g,go(g)));var Ge=!(yr(O)&&"chain"in O&&!O.chain),ot=Ia(c);return br(Ae,function(gt){var pt=g[gt];c[gt]=pt,ot&&(c.prototype[gt]=function(){var qt=this.__chain__;if(Ge||qt){var en=c(this.__wrapped__);return(en.__actions__=Ir(this.__actions__)).push({func:pt,args:arguments,thisArg:c}),en.__chain__=qt,en}return pt.apply(c,Ar([this.value()],arguments))})}),c}function el(){}var k_=Of(wi),Yp=Of(Ts),U_=Of(Xr);function Qp(c){return jc(c)?Os(Vs(c)):function gf(c){return function(g){return Zr(g,c)}}(c)}var gh=lu(),Bl=lu(!0);function tl(){return[]}function Ll(){return!1}var eg=Pd(function(c,g){return c+g},0),mh=bc("ceil"),W_=Pd(function(c,g){return c/g},1),tg=bc("floor"),og=Pd(function(c,g){return c*g},1),Eh=bc("round"),kl=Pd(function(c,g){return c-g},0);return Ne.after=function e_(c,g){if("function"!=typeof g)throw new Vr(_);return c=Ti(c),function(){if(--c<1)return g.apply(this,arguments)}},Ne.ary=Hd,Ne.assign=g_,Ne.assignIn=Ip,Ne.assignInWith=Mu,Ne.assignWith=__,Ne.at=Ru,Ne.before=zd,Ne.bind=Xd,Ne.bindAll=pE,Ne.bindKey=mp,Ne.castArray=function Ep(){if(!arguments.length)return[];var c=arguments[0];return yi(c)?c:[c]},Ne.chain=Gd,Ne.chunk=function A0(c,g,O){g=(O?Uo(c,g,O):g===i)?1:ni(Ti(g),0);var q=null==c?0:c.length;if(!q||g<1)return[];for(var Ae=0,Ge=0,ot=Ut(ue(q/g));Ae<q;)ot[Ge++]=ys(c,Ae,Ae+=g);return ot},Ne.compact=function Ac(c){for(var g=-1,O=null==c?0:c.length,q=0,Ae=[];++g<O;){var Ge=c[g];Ge&&(Ae[q++]=Ge)}return Ae},Ne.concat=function Hv(){var c=arguments.length;if(!c)return[];for(var g=Ut(c-1),O=arguments[0],q=c;q--;)g[q-1]=arguments[q];return Ar(yi(O)?Ir(O):[O],Jr(g,1))},Ne.cond=function N_(c){var g=null==c?0:c.length,O=ei();return c=g?wi(c,function(q){if("function"!=typeof q[1])throw new Vr(_);return[O(q[0]),q[1]]}):[],Pi(function(q){for(var Ae=-1;++Ae<g;){var Ge=c[Ae];if(tr(Ge[0],this,q))return tr(Ge[1],this,q)}})},Ne.conforms=function gE(c){return function vs(c){var g=go(c);return function(O){return Ba(O,c,g)}}(kr(c,1))},Ne.constant=Hp,Ne.countBy=sp,Ne.create=function Ka(c,g){var O=or(c);return null==g?O:ii(O,g)},Ne.curry=function Hc(c,g,O){var q=ks(c,8,i,i,i,i,i,g=O?i:g);return q.placeholder=Hc.placeholder,q},Ne.curryRight=function vp(c,g,O){var q=ks(c,16,i,i,i,i,i,g=O?i:g);return q.placeholder=vp.placeholder,q},Ne.debounce=Tu,Ne.defaults=wl,Ne.defaultsDeep=xp,Ne.defer=Yd,Ne.delay=zc,Ne.difference=T0,Ne.differenceBy=Da,Ne.differenceWith=_u,Ne.drop=function Wf(c,g,O){var q=null==c?0:c.length;return q?ys(c,(g=O||g===i?1:Ti(g))<0?0:g,q):[]},Ne.dropRight=function $f(c,g,O){var q=null==c?0:c.length;return q?ys(c,0,(g=q-(g=O||g===i?1:Ti(g)))<0?0:g):[]},Ne.dropRightWhile=function zv(c,g){return c&&c.length?vc(c,ei(g,3),!0,
1!0):[]},Ne.dropWhile=function Nd(c,g){return c&&c.length?vc(c,ei(g,3),!0):[]},Ne.fill=function mu(c,g,O,q){var Ae=null==c?0:c.length;return Ae?(O&&"number"!=typeof O&&Uo(c,g,O)&&(O=0,q=Ae),function sf(c,g,O,q){var Ae=c.length;for((O=Ti(O))<0&&(O=-O>Ae?0:Ae+O),(q=q===i||q>Ae?Ae:Ti(q))<0&&(q+=Ae),q=O>q?0:Op(q);O<q;)c[O++]=g;return c}(c,g,O,q)):[]},Ne.filter=function ap(c,g){return(yi(c)?Nr:Ui)(c,ei(g,3))},Ne.flatMap=function up(c,g){return Jr(Cu(c,g),1)},Ne.flatMapDeep=function X0(c,g){return Jr(Cu(c,g),ee)},Ne.flatMapDepth=function Y0(c,g,O){return O=O===i?1:Ti(O),Jr(Cu(c,g),O)},Ne.flatten=Kf,Ne.flattenDeep=function Bd(c){return null!=c&&c.length?Jr(c,ee):[]},Ne.flattenDepth=function O0(c,g){return null!=c&&c.length?Jr(c,g=g===i?1:Ti(g)):[]},Ne.flip=function Ou(c){return ks(c,512)},Ne.flow=Xp,Ne.flowRight=_E,Ne.fromPairs=function D0(c){for(var g=-1,O=null==c?0:c.length,q={};++g<O;){var Ae=c[g];q[Ae[0]]=Ae[1]}return q},Ne.functions=function rh(c){return null==c?[]:Ca(c,go(c))},Ne.functionsIn=function rE(c){return null==c?[]:Ca(c,Xo(c))},Ne.groupBy=fp,Ne.initial=function zf(c){return null!=c&&c.length?ys(c,0,-1):[]},Ne.intersection=Ld,Ne.intersectionBy=I0,Ne.intersectionWith=x0,Ne.invert=m_,Ne.invertBy=v_,Ne.invokeMap=pp,Ne.iteratee=Nl,Ne.keyBy=Q0,Ne.keys=go,Ne.keysIn=Xo,Ne.map=Cu,Ne.mapKeys=function Fp(c,g){var O={};return g=ei(g,3),ya(c,function(q,Ae,Ge){Fi(O,g(q,Ae,Ge),q)}),O},Ne.mapValues=function y_(c,g){var O={};return g=ei(g,3),ya(c,function(q,Ae,Ge){Fi(O,Ae,g(q,Ae,Ge))}),O},Ne.matches=function hh(c){return hf(kr(c,1))},Ne.matchesProperty=function B_(c,g){return ff(c,kr(g,1))},Ne.memoize=Xc,Ne.merge=C_,Ne.mergeWith=sh,Ne.method=qc,Ne.methodOf=fh,Ne.mixin=ku,Ne.negate=ic,Ne.nthArg=function L_(c){return c=Ti(c),Pi(function(g){return Ai(g,c)})},Ne.omit=wu,Ne.omitBy=function Np(c,g){return Bp(c,ic(ei(g)))},Ne.once=function Du(c){return zd(2,c)},Ne.orderBy=function Jv(c,g,O,q){return null==c?[]:(yi(g)||(g=null==g?[]:[g]),yi(O=q?i:O)||(O=null==O?[]:[O]),Ed(c,g,O))},Ne.over=k_,Ne.overArgs=Yc,Ne.overEvery=Yp,Ne.overSome=U_,Ne.partial=Al,Ne.partialRight=Tl,Ne.partition=J0,Ne.pick=ah,Ne.pickBy=Bp,Ne.property=Qp,Ne.propertyOf=function Jp(c){return function(g){return null==c?i:Zr(c,g)}},Ne.pull=Yf,Ne.pullAll=M0,Ne.pullAllBy=function R0(c,g,O){return c&&c.length&&g&&g.length?mc(c,g,ei(O,2)):c},Ne.pullAllWith=function Qf(c,g,O){return c&&c.length&&g&&g.length?mc(c,g,i,O):c},Ne.pullAt=w0,Ne.range=gh,Ne.rangeRight=Bl,Ne.rearg=Ol,Ne.reject=function Z0(c,g){return(yi(c)?Nr:Ui)(c,ic(ei(g,3)))},Ne.remove=function F0(c,g){var O=[];if(!c||!c.length)return O;var q=-1,Ae=[],Ge=c.length;for(g=ei(g,3);++q<Ge;){var ot=c[q];g(ot,q,c)&&(O.push(ot),Ae.push(q))}return Bs(c,Ae),O},Ne.rest=function Qd(c,g){if("function"!=typeof c)throw new Vr(_);return Pi(c,g=g===i?g:Ti(g))},Ne.reverse=kd,Ne.sampleSize=function bu(c,g,O){return g=(O?Uo(c,g,O):g===i)?1:Ti(g),(yi(c)?pe:_f)(c,g)},Ne.set=function Lp(c,g,O){return null==c?c:wc(c,g,O)},Ne.setWith=function kp(c,g,O,q){return q="function"==typeof q?q:i,null==c?c:wc(c,g,O,q)},Ne.shuffle=function q0(c){return(yi(c)?Le:La)(c)},Ne.slice=function Gc(c,g,O){var q=null==c?0:c.length;return q?(O&&"number"!=typeof O&&Uo(c,g,O)?(g=0,O=q):(g=null==g?0:Ti(g),O=O===i?q:Ti(O)),ys(c,g,O)):[]},Ne.sortBy=Zv,Ne.sortedUniq=function Vd(c){return c&&c.length?Sd(c):[]},Ne.sortedUniqBy=function Zf(c,g){return c&&c.length?Sd(c,ei(g,2)):[]},Ne.split=function hE(c,g,O){return O&&"number"!=typeof O&&Uo(c,g,O)&&(g=O=i),(O=O===i?ke:O>>>0)?(c=Xi(c))&&("string"==typeof g||null!=g&&!Ml(g))&&!(g=Cs(g))&&Is(c)?Sa(xi(c),0,O):c.split(g,O):[]},Ne.spread=function qv(c,g){if("function"!=typeof c)throw new Vr(_);return g=null==g?0:ni(Ti(g),0),Pi(function(O){var q=O[g],Ae=Sa(O,0,g);return q&&Ar(Ae,q),tr(c,this,Ae)})},Ne.tail=function yl(c){var g=null==c?0:c.length;return g?ys(c,1,g):[]},Ne.take=function Cl(c,g,O){return c&&c.length?ys(c,0,(g=O||g===i?1:Ti(g))<0?0:g):[]},Ne.takeRight=function qf(c,g,O){var q=null==c?0:c.length;return q?ys(c,(g=q-(g=O||g===i?1:Ti(g)))<0?0:g,q):[]},Ne.takeRightWhile=function jd(c,g){return c&&c.length?vc(c,ei(g,3),!1,!0):[]},Ne.takeWhile=function L0(c,g){return c&&c.length?vc(c,ei(g,3)):[]},Ne.tap=function W0(c,g){return g(c),c},Ne.throttle=function Jd(c,g,O){var q=!0,Ae=!0;if("function"!=typeof c)throw new Vr(_);return yr(O)&&(q="leading"in O?!!O.leading:q,Ae="trailing"in O?!!O.trailing:Ae),Tu(c,g,{leading:q,maxWait:g,trailing:Ae})},Ne.thru=Sl,Ne.toArray=Oc,Ne.toPairs=Fu,Ne.toPairsIn=Nu,Ne.toPath=function xc(c){return yi(c)?wi(c,Vs):qr(c)?[c]:Ir(S0(Xi(c)))},Ne.toPlainObject=Dp,Ne.transform=function b_(c,g,O){var q=yi(c),Ae=q||c
1a(c)||Jc(c);if(g=ei(g,4),null==O){var Ge=c&&c.constructor;O=Ae?q?new Ge:[]:yr(c)&&Ia(Ge)?or(cs(c)):{}}return(Ae?br:ya)(c,function(ot,gt,pt){return g(O,ot,gt,pt)}),O},Ne.unary=function Dl(c){return Hd(c,1)},Ne.union=k0,Ne.unionBy=U0,Ne.unionWith=ep,Ne.uniq=function Wd(c){return c&&c.length?ba(c):[]},Ne.uniqBy=function V0(c,g){return c&&c.length?ba(c,ei(g,2)):[]},Ne.uniqWith=function us(c,g){return g="function"==typeof g?g:i,c&&c.length?ba(c,i,g):[]},Ne.unset=function S_(c,g){return null==c||fl(c,g)},Ne.unzip=bl,Ne.unzipWith=$d,Ne.update=function A_(c,g,O){return null==c?c:tu(c,g,ou(O))},Ne.updateWith=function T_(c,g,O,q){return q="function"==typeof q?q:i,null==c?c:tu(c,g,ou(O),q)},Ne.values=Ic,Ne.valuesIn=function oE(c){return null==c?[]:ce(c,Xo(c))},Ne.without=Eu,Ne.words=ds,Ne.wrap=function t_(c,g){return Al(ou(g),c)},Ne.xor=Xv,Ne.xorBy=Yv,Ne.xorWith=Vo,Ne.zip=Kc,Ne.zipObject=function tp(c,g){return iu(c||[],g||[],Ft)},Ne.zipObjectDeep=function np(c,g){return iu(c||[],g||[],wc)},Ne.zipWith=j0,Ne.entries=Fu,Ne.entriesIn=Nu,Ne.extend=Ip,Ne.extendWith=Mu,ku(Ne,Ne),Ne.add=eg,Ne.attempt=dh,Ne.camelCase=D_,Ne.capitalize=Up,Ne.ceil=mh,Ne.clamp=function sE(c,g,O){return O===i&&(O=g,g=i),O!==i&&(O=(O=Ws(O))==O?O:0),g!==i&&(g=(g=Ws(g))==g?g:0),Er(Ws(c),g,O)},Ne.clone=function n_(c){return kr(c,4)},Ne.cloneDeep=function Zd(c){return kr(c,5)},Ne.cloneDeepWith=function yp(c,g){return kr(c,5,g="function"==typeof g?g:i)},Ne.cloneWith=function i_(c,g){return kr(c,4,g="function"==typeof g?g:i)},Ne.conformsTo=function r_(c,g){return null==g||Ba(c,g,go(g))},Ne.deburr=ch,Ne.defaultTo=function zp(c,g){return null==c||c!=c?g:c},Ne.divide=W_,Ne.endsWith=function I_(c,g,O){c=Xi(c),g=Cs(g);var q=c.length,Ae=O=O===i?q:Er(Ti(O),0,q);return(O-=g.length)>=0&&c.slice(O,Ae)==g},Ne.eq=aa,Ne.escape=function x_(c){return(c=Xi(c))&&Ct.test(c)?c.replace(Gt,lo):c},Ne.escapeRegExp=function P_(c){return(c=Xi(c))&&fn.test(c)?c.replace(Lt,"\\$&"):c},Ne.every=function yu(c,g,O){var q=yi(c)?Ts:Ea;return O&&Uo(c,g,O)&&(g=i),q(c,ei(g,3))},Ne.find=cp,Ne.findIndex=Gf,Ne.findKey=function Pp(c,g){return rs(c,ei(g,3),ya)},Ne.findLast=lp,Ne.findLastIndex=pr,Ne.findLastKey=function Mp(c,g){return rs(c,ei(g,3),pc)},Ne.floor=tg,Ne.forEach=dp,Ne.forEachRight=hp,Ne.forIn=function tE(c,g){return null==c?c:fc(c,ei(g,3),Xo)},Ne.forInRight=function nE(c,g){return null==c?c:Lo(c,ei(g,3),Xo)},Ne.forOwn=function iE(c,g){return c&&ya(c,ei(g,3))},Ne.forOwnRight=function ih(c,g){return c&&pc(c,ei(g,3))},Ne.get=Rp,Ne.gt=Il,Ne.gte=Cp,Ne.has=function wp(c,g){return null!=c&&Sc(c,g,Ns)},Ne.hasIn=oh,Ne.head=vu,Ne.identity=Ao,Ne.includes=function Qv(c,g,O,q){c=bs(c)?c:Ic(c),O=O&&!q?Ti(O):0;var Ae=c.length;return O<0&&(O=ni(Ae+O,0)),Rl(c)?O<=Ae&&c.indexOf(g,O)>-1:!!Ae&&vo(c,g,O)>-1},Ne.indexOf=function Hf(c,g,O){var q=null==c?0:c.length;if(!q)return-1;var Ae=null==O?0:Ti(O);return Ae<0&&(Ae=ni(q+Ae,0)),vo(c,g,Ae)},Ne.inRange=function Fl(c,g,O){return g=Ga(g),O===i?(O=g,g=0):O=Ga(O),function lf(c,g,O){return c>=kn(g,O)&&c<ni(g,O)}(c=Ws(c),g,O)},Ne.invoke=E_,Ne.isArguments=Wa,Ne.isArray=yi,Ne.isArrayBuffer=eE,Ne.isArrayLike=bs,Ne.isArrayLikeObject=gr,Ne.isBoolean=function o_(c){return!0===c||!1===c||xr(c)&&So(c)==tt},Ne.isBuffer=ca,Ne.isDate=qd,Ne.isElement=function bp(c){return xr(c)&&1===c.nodeType&&!rc(c)},Ne.isEmpty=function s_(c){if(null==c)return!0;if(bs(c)&&(yi(c)||"string"==typeof c||"function"==typeof c.splice||ca(c)||Jc(c)||Wa(c)))return!c.length;var g=ko(c);if(g==Ot||g==Tt)return!c.size;if(Wc(c))return!Zl(c).length;for(var O in c)if(Bi.call(c,O))return!1;return!0},Ne.isEqual=function Sp(c,g){return Es(c,g)},Ne.isEqualWith=function eh(c,g,O){var q=(O="function"==typeof O?O:i)?O(c,g):i;return q===i?Es(c,g,i,O):!!q},Ne.isError=Iu,Ne.isFinite=function Tc(c){return"number"==typeof c&&Cn(c)},Ne.isFunction=Ia,Ne.isInteger=xl,Ne.isLength=Pl,Ne.isMap=xu,Ne.isMatch=function Ap(c,g){return c===g||dl(c,g,hu(g))},Ne.isMatchWith=function Pu(c,g,O){return O="function"==typeof O?O:i,dl(c,g,hu(g),O)},Ne.isNaN=function th(c){return l_(c)&&c!=+c},Ne.isNative=function Qc(c){if(pu(c))throw new ti("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return md(c)},Ne.isNil=function c_(c){return null==c},Ne.isNull=function a_(c){return null===c},Ne.isNumber=l_,Ne.isObject=yr,Ne.isObjectLike=xr,Ne.isPlainObject=rc,Ne.isRegExp=Ml,Ne.isSafeInteger=function Tp(c){return xl(c)&&c>=-Se&&c<=Se}
1,Ne.isSet=nh,Ne.isString=Rl,Ne.isSymbol=qr,Ne.isTypedArray=Jc,Ne.isUndefined=function u_(c){return c===i},Ne.isWeakMap=function d_(c){return xr(c)&&ko(c)==se},Ne.isWeakSet=function h_(c){return xr(c)&&"[object WeakSet]"==So(c)},Ne.join=function Xf(c,g){return null==c?"":Ri.call(c,g)},Ne.kebabCase=M_,Ne.last=js,Ne.lastIndexOf=function ja(c,g,O){var q=null==c?0:c.length;if(!q)return-1;var Ae=q;return O!==i&&(Ae=(Ae=Ti(O))<0?ni(q+Ae,0):kn(Ae,q-1)),g==g?function uc(yt,jt,Ut){for(var Tn=Ut+1;Tn--;)if(yt[Tn]===jt)return Tn;return Tn}(c,g,Ae):os(c,_r,Ae,!0)},Ne.lowerCase=R_,Ne.lowerFirst=w_,Ne.lt=f_,Ne.lte=$a,Ne.max=function ng(c){return c&&c.length?ll(c,Ao,gd):i},Ne.maxBy=function ig(c,g){return c&&c.length?ll(c,ei(g,2),gd):i},Ne.mean=function vh(c){return Ma(c,Ao)},Ne.meanBy=function rg(c,g){return Ma(c,ei(g,2))},Ne.min=function Uu(c){return c&&c.length?ll(c,Ao,vd):i},Ne.minBy=function Pc(c,g){return c&&c.length?ll(c,ei(g,2),vd):i},Ne.stubArray=tl,Ne.stubFalse=Ll,Ne.stubObject=function V_(){return{}},Ne.stubString=function j_(){return""},Ne.stubTrue=function _h(){return!0},Ne.multiply=og,Ne.nth=function P0(c,g){return c&&c.length?Ai(c,Ti(g)):i},Ne.noConflict=function ph(){return $i._===this&&($i._=ia),this},Ne.noop=el,Ne.now=Au,Ne.pad=function lh(c,g,O){c=Xi(c);var q=(g=Ti(g))?Yn(c):0;if(!g||q>=g)return c;var Ae=(g-q)/2;return Nc(Ke(Ae),O)+c+Nc(ue(Ae),O)},Ne.padEnd=function aE(c,g,O){c=Xi(c);var q=(g=Ti(g))?Yn(c):0;return g&&q<g?c+Nc(g-q,O):c},Ne.padStart=function cE(c,g,O){c=Xi(c);var q=(g=Ti(g))?Yn(c):0;return g&&q<g?Nc(g-q,O)+c:c},Ne.parseInt=function uh(c,g,O){return O||null==g?g=0:g&&(g=+g),$n(Xi(c).replace(cn,""),g||0)},Ne.random=function O_(c,g,O){if(O&&"boolean"!=typeof O&&Uo(c,g,O)&&(g=O=i),O===i&&("boolean"==typeof g?(O=g,g=i):"boolean"==typeof c&&(O=c,c=i)),c===i&&g===i?(c=0,g=1):(c=Ga(c),g===i?(g=c,c=0):g=Ga(g)),c>g){var q=c;c=g,g=q}if(O||c%1||g%1){var Ae=ae();return kn(c+Ae*(g-c+xn("1e-"+((Ae+"").length-1))),g)}return hl(c,g)},Ne.reduce=function gp(c,g,O){var q=yi(c)?Ys:Wo,Ae=arguments.length<3;return q(c,ei(g,4),O,Ae,va)},Ne.reduceRight=function Kd(c,g,O){var q=yi(c)?gs:Wo,Ae=arguments.length<3;return q(c,ei(g,4),O,Ae,rf)},Ne.repeat=function lE(c,g,O){return g=(O?Uo(c,g,O):g===i)?1:Ti(g),eu(Xi(c),g)},Ne.replace=function uE(){var c=arguments,g=Xi(c[0]);return c.length<3?g:g.replace(c[1],c[2])},Ne.result=function Dc(c,g,O){var q=-1,Ae=(g=ka(g,c)).length;for(Ae||(Ae=1,c=i);++q<Ae;){var Ge=null==c?i:c[Vs(g[q])];Ge===i&&(q=Ae,Ge=O),c=Ia(Ge)?Ge.call(c):Ge}return c},Ne.round=Eh,Ne.runInContext=yt,Ne.sample=function nc(c){return(yi(c)?K:Gv)(c)},Ne.size=function _p(c){if(null==c)return 0;if(bs(c))return Rl(c)?Yn(c):c.length;var g=ko(c);return g==Ot||g==Tt?c.size:Zl(c).length},Ne.snakeCase=dE,Ne.some=function Su(c,g,O){var q=yi(c)?Xr:sa;return O&&Uo(c,g,O)&&(g=i),q(c,ei(g,3))},Ne.sortedIndex=function vl(c,g){return Ls(c,g)},Ne.sortedIndexBy=function Jf(c,g,O){return bd(c,g,ei(O,2))},Ne.sortedIndexOf=function N0(c,g){var O=null==c?0:c.length;if(O){var q=Ls(c,g);if(q<O&&aa(c[q],g))return q}return-1},Ne.sortedLastIndex=function Ud(c,g){return Ls(c,g,!0)},Ne.sortedLastIndexBy=function El(c,g,O){return bd(c,g,ei(O,2),!0)},Ne.sortedLastIndexOf=function B0(c,g){if(null!=c&&c.length){var q=Ls(c,g,!0)-1;if(aa(c[q],g))return q}return-1},Ne.startCase=fE,Ne.startsWith=function F_(c,g,O){return c=Xi(c),O=null==O?0:Er(Ti(O),0,c.length),g=Cs(g),c.slice(O,O+g.length)==g},Ne.subtract=kl,Ne.sum=function sg(c){return c&&c.length?Qs(c,Ao):0},Ne.sumBy=function yh(c,g){return c&&c.length?Qs(c,ei(g,2)):0},Ne.template=function Bu(c,g,O){var q=Ne.templateSettings;O&&Uo(c,g,O)&&(g=i),c=Xi(c),g=Mu({},g,q,g0);var gt,pt,Ae=Mu({},g.imports,q.imports,g0),Ge=go(Ae),ot=ce(Ae,Ge),qt=0,en=g.interpolate||Te,nn="__p += '",In=Ra((g.escape||Te).source+"|"+en.source+"|"+(en===qe?sn:Te).source+"|"+(g.evaluate||Te).source+"|$","g"),jn="//# sourceURL="+(Bi.call(g,"sourceURL")?(g.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++As+"]")+"\n";c.replace(In,function(zn,Di,Ii,hs,To,Qo){return Ii||(Ii=hs),nn+=c.slice(qt,Qo).replace(lt,Ds),Di&&(gt=!0,nn+="' +\n__e("+Di+") +\n'"),To&&(pt=!0,nn+="';\n"+To+";\n__p += '"),Ii&&(nn+="' +\n((__t = ("+Ii+")) == null ? '' : __t) +\n'"),qt=Qo+zn.length,zn}),nn+="';\n";var si=Bi.call(g,"variable")&&g.variable;if(si){if(rn.test(si))throw new ti("Invalid `variable` option passed into `_.template`")}else nn="with (obj) {\n"+nn+"\n}\n";nn=(pt?nn.replace(vt,""):nn).replace(Dt,"$1").replace(ze,"$1;"),nn="function("+(si||"obj")+") {\n"+(si?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(gt?", __e = _.escape":"")+(pt?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
1\n")+nn+"return __p\n}";var Ci=dh(function(){return Oi(Ge,jn+"return "+nn).apply(i,ot)});if(Ci.source=nn,Iu(Ci))throw Ci;return Ci},Ne.times=function Zp(c,g){if((c=Ti(c))<1||c>Se)return[];var O=ke,q=kn(c,ke);g=ei(g),c-=ke;for(var Ae=Br(q,g);++O<c;)g(O);return Ae},Ne.toFinite=Ga,Ne.toInteger=Ti,Ne.toLength=Op,Ne.toLower=function Lu(c){return Xi(c).toLowerCase()},Ne.toNumber=Ws,Ne.toSafeInteger=function p_(c){return c?Er(Ti(c),-Se,Se):0===c?c:0},Ne.toString=Xi,Ne.toUpper=function Vp(c){return Xi(c).toUpperCase()},Ne.trim=function jp(c,g,O){if((c=Xi(c))&&(O||g===i))return yo(c);if(!c||!(g=Cs(g)))return c;var q=xi(c),Ae=xi(g);return Sa(q,Ie(q,Ae),st(q,Ae)+1).join("")},Ne.trimEnd=function Wp(c,g,O){if((c=Xi(c))&&(O||g===i))return c.slice(0,mr(c)+1);if(!c||!(g=Cs(g)))return c;var q=xi(c);return Sa(q,0,st(q,xi(g))+1).join("")},Ne.trimStart=function $p(c,g,O){if((c=Xi(c))&&(O||g===i))return c.replace(cn,"");if(!c||!(g=Cs(g)))return c;var q=xi(c);return Sa(q,Ie(q,xi(g))).join("")},Ne.truncate=function Gp(c,g){var O=30,q="...";if(yr(g)){var Ae="separator"in g?g.separator:Ae;O="length"in g?Ti(g.length):O,q="omission"in g?Cs(g.omission):q}var Ge=(c=Xi(c)).length;if(Is(c)){var ot=xi(c);Ge=ot.length}if(O>=Ge)return c;var gt=O-Yn(q);if(gt<1)return q;var pt=ot?Sa(ot,0,gt).join(""):c.slice(0,gt);if(Ae===i)return pt+q;if(ot&&(gt+=pt.length-gt),Ml(Ae)){if(c.slice(gt).search(Ae)){var qt,en=pt;for(Ae.global||(Ae=Ra(Ae.source,Xi(ai.exec(Ae))+"g")),Ae.lastIndex=0;qt=Ae.exec(en);)var nn=qt.index;pt=pt.slice(0,nn===i?gt:nn)}}else if(c.indexOf(Cs(Ae),gt)!=gt){var In=pt.lastIndexOf(Ae);In>-1&&(pt=pt.slice(0,In))}return pt+q},Ne.unescape=function Kp(c){return(c=Xi(c))&&Qn.test(c)?c.replace(on,bo):c},Ne.uniqueId=function qp(c){var g=++pa;return Xi(c)+g},Ne.upperCase=Zc,Ne.upperFirst=Yo,Ne.each=dp,Ne.eachRight=hp,Ne.first=vu,ku(Ne,function(){var c={};return ya(Ne,function(g,O){Bi.call(Ne.prototype,O)||(c[O]=g)}),c}(),{chain:!1}),Ne.VERSION="4.17.21",br(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){Ne[c].placeholder=Ne}),br(["drop","take"],function(c,g){Vn.prototype[c]=function(O){O=O===i?1:ni(Ti(O),0);var q=this.__filtered__&&!g?new Vn(this):this.clone();return q.__filtered__?q.__takeCount__=kn(O,q.__takeCount__):q.__views__.push({size:kn(O,ke),type:c+(q.__dir__<0?"Right":"")}),q},Vn.prototype[c+"Right"]=function(O){return this.reverse()[c](O).reverse()}}),br(["filter","map","takeWhile"],function(c,g){var O=g+1,q=1==O||3==O;Vn.prototype[c]=function(Ae){var Ge=this.clone();return Ge.__iteratees__.push({iteratee:ei(Ae,3),type:O}),Ge.__filtered__=Ge.__filtered__||q,Ge}}),br(["head","last"],function(c,g){var O="take"+(g?"Right":"");Vn.prototype[c]=function(){return this[O](1).value()[0]}}),br(["initial","tail"],function(c,g){var O="drop"+(g?"":"Right");Vn.prototype[c]=function(){return this.__filtered__?new Vn(this):this[O](1)}}),Vn.prototype.compact=function(){return this.filter(Ao)},Vn.prototype.find=function(c){return this.filter(c).head()},Vn.prototype.findLast=function(c){return this.reverse().find(c)},Vn.prototype.invokeMap=Pi(function(c,g){return"function"==typeof c?new Vn(this):this.map(function(O){return gc(O,c,g)})}),Vn.prototype.reject=function(c){return this.filter(ic(ei(c)))},Vn.prototype.slice=function(c,g){c=Ti(c);var O=this;return O.__filtered__&&(c>0||g<0)?new Vn(O):(c<0?O=O.takeRight(-c):c&&(O=O.drop(c)),g!==i&&(O=(g=Ti(g))<0?O.dropRight(-g):O.take(g-c)),O)},Vn.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Vn.prototype.toArray=function(){return this.take(ke)},ya(Vn.prototype,function(c,g){var O=/^(?:filter|find|map|reject)|While$/.test(g),q=/^(?:head|last)$/.test(g),Ae=Ne[q?"take"+("last"==g?"Right":""):g],Ge=q||/^find/.test(g);Ae&&(Ne.prototype[g]=function(){var ot=this.__wrapped__,gt=q?[1]:arguments,pt=ot instanceof Vn,qt=gt[0],en=pt||yi(ot),nn=function(Di){var Ii=Ae.apply(Ne,Ar([Di],gt));return q&&In?Ii[0]:Ii};en&&O&&"function"==typeof qt&&1!=qt.length&&(pt=en=!1);var In=this.__chain__,si=Ge&&!In,Ci=pt&&!this.__actions__.length;if(!Ge&&en){ot=Ci?ot:new Vn(this);var zn=c.apply(ot,gt);return zn.__actions__.push({func:Sl,args:[nn],thisArg:i}),new fr(zn,In)}
1return si&&Ci?c.apply(this,gt):(zn=this.thru(nn),si?q?zn.value()[0]:zn.value():zn)})}),br(["pop","push","shift","sort","splice","unshift"],function(c){var g=Ps[c],O=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",q=/^(?:pop|shift)$/.test(c);Ne.prototype[c]=function(){var Ae=arguments;if(q&&!this.__chain__){var Ge=this.value();return g.apply(yi(Ge)?Ge:[],Ae)}return this[O](function(ot){return g.apply(yi(ot)?ot:[],Ae)})}}),ya(Vn.prototype,function(c,g){var O=Ne[g];if(O){var q=O.name+"";Bi.call(Mt,q)||(Mt[q]=[]),Mt[q].push({name:g,func:O})}}),Mt[cu(i,2).name]=[{name:"wrapper",func:i}],Vn.prototype.clone=function bn(){var c=new Vn(this.__wrapped__);return c.__actions__=Ir(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=Ir(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=Ir(this.__views__),c},Vn.prototype.reverse=function jr(){if(this.__filtered__){var c=new Vn(this);c.__dir__=-1,c.__filtered__=!0}else(c=this.clone()).__dir__*=-1;return c},Vn.prototype.value=function Ko(){var c=this.__wrapped__.value(),g=this.__dir__,O=yi(c),q=g<0,Ae=O?c.length:0,Ge=function Pf(c,g,O){for(var q=-1,Ae=O.length;++q<Ae;){var Ge=O[q],ot=Ge.size;switch(Ge.type){case"drop":c+=ot;break;case"dropRight":g-=ot;break;case"take":g=kn(g,c+ot);break;case"takeRight":c=ni(c,g-ot)}}return{start:c,end:g}}(0,Ae,this.__views__),ot=Ge.start,gt=Ge.end,pt=gt-ot,qt=q?gt:ot-1,en=this.__iteratees__,nn=en.length,In=0,jn=kn(pt,this.__takeCount__);if(!O||!q&&Ae==pt&&jn==pt)return vf(c,this.__actions__);var si=[];e:for(;pt--&&In<jn;){for(var Ci=-1,zn=c[qt+=g];++Ci<nn;){var Di=en[Ci],hs=Di.type,To=(0,Di.iteratee)(zn);if(2==hs)zn=To;else if(!To){if(1==hs)continue e;break e}}si[In++]=zn}return si},Ne.prototype.at=$0,Ne.prototype.chain=function ip(){return Gd(this)},Ne.prototype.commit=function G0(){return new fr(this.value(),this.__chain__)},Ne.prototype.next=function K0(){this.__values__===i&&(this.__values__=Oc(this.value()));var c=this.__index__>=this.__values__.length;return{done:c,value:c?i:this.__values__[this.__index__++]}},Ne.prototype.plant=function z0(c){for(var g,O=this;O instanceof Hi;){var q=jf(O);q.__index__=0,q.__values__=i,g?Ae.__wrapped__=q:g=q;var Ae=q;O=O.__wrapped__}return Ae.__wrapped__=c,g},Ne.prototype.reverse=function rp(){var c=this.__wrapped__;if(c instanceof Vn){var g=c;return this.__actions__.length&&(g=new Vn(this)),(g=g.reverse()).__actions__.push({func:Sl,args:[kd],thisArg:i}),new fr(g,this.__chain__)}return this.thru(kd)},Ne.prototype.toJSON=Ne.prototype.valueOf=Ne.prototype.value=function op(){return vf(this.__wrapped__,this.__actions__)},Ne.prototype.first=Ne.prototype.head,Qr&&(Ne.prototype[Qr]=function H0(){return this}),Ne}();$i._=qs,(o=function(){return qs}.call(M,r,M,he))!==i&&(he.exports=o)}.call(this)},79928:(he,M,r)=>{"use strict";r.d(M,{t:()=>d});var o=r(45286),i=r(2145);class d extends o.B7{constructor(v){super(),this._value=v}get value(){return this.getValue()}_subscribe(v){const _=super._subscribe(v);return _&&!_.closed&&v.next(this._value),_}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.P;return this._value}next(v){super.next(this._value=v)}}},42351:(he,M,r)=>{"use strict";r.d(M,{E:()=>v});var o=r(51235),i=r(14421),d=r(74526);class v{constructor(m,p,u){this.kind=m,this.value=p,this.error=u,this.hasValue="N"===m}observe(m){switch(this.kind){case"N":return m.next&&m.next(this.value);case"E":return m.error&&m.error(this.error);case"C":return m.complete&&m.complete()}}do(m,p,u){switch(this.kind){case"N":return m&&m(this.value);case"E":return p&&p(this.error);case"C":return u&&u()}}accept(m,p,u){return m&&"function"==typeof m.next?this.observe(m):this.do(m,p,u)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return(0,d.$)(this.error);case"C":return(0,o.I)()}throw new Error("unexpected notification kind value")}static createNext(m){return typeof m<"u"?new v("N",m):v.undefinedValueNotification}static createError(m){return new v("E",void 0,m)}static createComplete(){return v.completeNotification}}v.completeNotification=new v("C"),v.undefinedValueNotification=new v("N",void 0)},45817:(he,M,r)=>{"use strict";r.d(M,{c:()=>u});var o=r(70762),d=r(40091),h=r(20178),_=r(45722),m=r(78167),p=r(80614);let u=(()=>{class C{constructor(y){this._isScalar=!1,y&&(this._subscribe=y)}lift(y){const I=new C;return I.source=this,I.operator=y,I}
1subscribe(y,I,S){const{operator:P}=this,F=function v(C,l,y){if(C){if(C instanceof o.v)return C;if(C[d.D])return C[d.D]()}return C||l||y?new o.v(C,l,y):new o.v(h.I)}(y,I,S);if(F.add(P?P.call(F,this.source):this.source||p.$.useDeprecatedSynchronousErrorHandling&&!F.syncErrorThrowable?this._subscribe(F):this._trySubscribe(F)),p.$.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable&&(F.syncErrorThrowable=!1,F.syncErrorThrown))throw F.syncErrorValue;return F}_trySubscribe(y){try{return this._subscribe(y)}catch(I){p.$.useDeprecatedSynchronousErrorHandling&&(y.syncErrorThrown=!0,y.syncErrorValue=I),function i(C){for(;C;){const{closed:l,destination:y,isStopped:I}=C;if(l||I)return!1;C=y&&y instanceof o.v?y:null}return!0}(y)?y.error(I):console.warn(I)}}forEach(y,I){return new(I=E(I))((S,P)=>{let F;F=this.subscribe(N=>{try{y(N)}catch(U){P(U),F&&F.unsubscribe()}},P,S)})}_subscribe(y){const{source:I}=this;return I&&I.subscribe(y)}[_.s](){return this}pipe(...y){return 0===y.length?this:(0,m.m)(y)(this)}toPromise(y){return new(y=E(y))((I,S)=>{let P;this.subscribe(F=>P=F,F=>S(F),()=>I(P))})}}return C.create=l=>new C(l),C})();function E(C){if(C||(C=p.$.Promise||Promise),!C)throw new Error("no Promise impl found");return C}},20178:(he,M,r)=>{"use strict";r.d(M,{I:()=>d});var o=r(80614),i=r(58253);const d={closed:!0,next(h){},error(h){if(o.$.useDeprecatedSynchronousErrorHandling)throw h;(0,i.T)(h)},complete(){}}},66607:(he,M,r)=>{"use strict";r.d(M,{m:()=>F});var o=r(45286),i=r(68189),h=r(76228);const m=new class v extends h.q{}(class d extends i.R{constructor(T,L){super(T,L),this.scheduler=T,this.work=L}schedule(T,L=0){return L>0?super.schedule(T,L):(this.delay=L,this.state=T,this.scheduler.flush(this),this)}execute(T,L){return L>0||this.closed?super.execute(T,L):this._execute(T,L)}requestAsyncId(T,L,Z=0){return null!==Z&&Z>0||null===Z&&this.delay>0?super.requestAsyncId(T,L,Z):T.flush(this)}});var p=r(74337),u=r(70762),E=r(42351);class y extends u.v{constructor(T,L,Z=0){super(T),this.scheduler=L,this.delay=Z}static dispatch(T){const{notification:L,destination:Z}=T;L.observe(Z),this.unsubscribe()}scheduleMessage(T){this.destination.add(this.scheduler.schedule(y.dispatch,this.delay,new I(T,this.destination)))}_next(T){this.scheduleMessage(E.E.createNext(T))}_error(T){this.scheduleMessage(E.E.createError(T)),this.unsubscribe()}_complete(){this.scheduleMessage(E.E.createComplete()),this.unsubscribe()}}class I{constructor(T,L){this.notification=T,this.destination=L}}var S=r(2145),P=r(21259);class F extends o.B7{constructor(T=Number.POSITIVE_INFINITY,L=Number.POSITIVE_INFINITY,Z){super(),this.scheduler=Z,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=T<1?1:T,this._windowTime=L<1?1:L,L===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(T){if(!this.isStopped){const L=this._events;L.push(T),L.length>this._bufferSize&&L.shift()}super.next(T)}nextTimeWindow(T){this.isStopped||(this._events.push(new N(this._getNow(),T)),this._trimBufferThenGetEvents()),super.next(T)}_subscribe(T){const L=this._infiniteTimeWindow,Z=L?this._events:this._trimBufferThenGetEvents(),ie=this.scheduler,ve=Z.length;let me;if(this.closed)throw new S.P;if(this.isStopped||this.hasError?me=p.y.EMPTY:(this.observers.push(T),me=new P.Y(this,T)),ie&&T.add(T=new y(T,ie)),L)for(let xe=0;xe<ve&&!T.closed;xe++)T.next(Z[xe]);else for(let xe=0;xe<ve&&!T.closed;xe++)T.next(Z[xe].value);return this.hasError?T.error(this.thrownError):this.isStopped&&T.complete(),me}_getNow(){return(this.scheduler||m).now()}_trimBufferThenGetEvents(){const T=this._getNow(),L=this._bufferSize,Z=this._windowTime,ie=this._events,ve=ie.length;let me=0;for(;me<ve&&!(T-ie[me].time<Z);)me++;return ve>L&&(me=Math.max(me,ve-L)),me>0&&ie.splice(0,me),ie}}class N{constructor(T,L){this.time=T,this.value=L}}},45286:(he,M,r)=>{"use strict";r.d(M,{B7:()=>p,PJ:()=>m});var o=r(45817),i=r(70762),d=r(74337),h=r(2145),v=r(21259),_=r(40091);class m extends i.v{constructor(C){super(C),this.destination=C}}let p=(()=>{class E extends o.c{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[_.D](){return new m(this)}lift(l){const y=new u(this,this);return y.operator=l,y}next(l){if(this.closed)throw new h.P;if(!this.isStopped){const{observers:y}=this,I=y.length,S=y.slice();for(let P=0;P<I;P++)S[P].next(l)}}error(l){if(this.closed)throw new h.P;this.hasError=!0,this.thrownError=l,this.isStopped=!0;const{observers:y}=this,I=y.length,S=y.slice();for(let P=0;P<I;P++)S[P].error(l);this.observers.length=0}complete(){if(this.closed)throw new h.P;this.isStopped=!0;const{observers:l}=this,y=l.length,I=l.slice();for(let S=0;S<y;S++)I[S].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(l){if(this.closed)throw new h.P;return super._trySubscribe(l)}_subscribe(l){if(this.closed)throw new h.P;return this.hasError?(l.error(this.thrownError),d.y.EMPTY):this.isStopped?(l.complete(),d.y.EMPTY):(this.observers.push(l),new v.Y(this,l))}asObservable(){const l=new o.c;return l.source=this,l}}return E.create=(C,l)=>new u(C,l),E})();class u extends p{constructor(C,l){super(),this.destination=C,this.source=l}next(C){const{destination:l}=this;l&&l.next&&l.next(C)}error(C){const{destination:l}=this;l&&l.error&&this.destination.error(C)}complete(){const{destination:C}
1=this;C&&C.complete&&this.destination.complete()}_subscribe(C){const{source:l}=this;return l?this.source.subscribe(C):d.y.EMPTY}}},21259:(he,M,r)=>{"use strict";r.d(M,{Y:()=>i});var o=r(74337);class i extends o.y{constructor(h,v){super(),this.subject=h,this.subscriber=v,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const h=this.subject,v=h.observers;if(this.subject=null,!v||0===v.length||h.isStopped||h.closed)return;const _=v.indexOf(this.subscriber);-1!==_&&v.splice(_,1)}}},70762:(he,M,r)=>{"use strict";r.d(M,{v:()=>m});var o=r(98099),i=r(20178),d=r(74337),h=r(40091),v=r(80614),_=r(58253);class m extends d.y{constructor(E,C,l){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.I;break;case 1:if(!E){this.destination=i.I;break}if("object"==typeof E){E instanceof m?(this.syncErrorThrowable=E.syncErrorThrowable,this.destination=E,E.add(this)):(this.syncErrorThrowable=!0,this.destination=new p(this,E));break}default:this.syncErrorThrowable=!0,this.destination=new p(this,E,C,l)}}[h.D](){return this}static create(E,C,l){const y=new m(E,C,l);return y.syncErrorThrowable=!1,y}next(E){this.isStopped||this._next(E)}error(E){this.isStopped||(this.isStopped=!0,this._error(E))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(E){this.destination.next(E)}_error(E){this.destination.error(E),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:E}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=E,this}}class p extends m{constructor(E,C,l,y){super(),this._parentSubscriber=E;let I,S=this;(0,o.T)(C)?I=C:C&&(I=C.next,l=C.error,y=C.complete,C!==i.I&&(S=Object.create(C),(0,o.T)(S.unsubscribe)&&this.add(S.unsubscribe.bind(S)),S.unsubscribe=this.unsubscribe.bind(this))),this._context=S,this._next=I,this._error=l,this._complete=y}next(E){if(!this.isStopped&&this._next){const{_parentSubscriber:C}=this;v.$.useDeprecatedSynchronousErrorHandling&&C.syncErrorThrowable?this.__tryOrSetError(C,this._next,E)&&this.unsubscribe():this.__tryOrUnsub(this._next,E)}}error(E){if(!this.isStopped){const{_parentSubscriber:C}=this,{useDeprecatedSynchronousErrorHandling:l}=v.$;if(this._error)l&&C.syncErrorThrowable?(this.__tryOrSetError(C,this._error,E),this.unsubscribe()):(this.__tryOrUnsub(this._error,E),this.unsubscribe());else if(C.syncErrorThrowable)l?(C.syncErrorValue=E,C.syncErrorThrown=!0):(0,_.T)(E),this.unsubscribe();else{if(this.unsubscribe(),l)throw E;(0,_.T)(E)}}}complete(){if(!this.isStopped){const{_parentSubscriber:E}=this;if(this._complete){const C=()=>this._complete.call(this._context);v.$.useDeprecatedSynchronousErrorHandling&&E.syncErrorThrowable?(this.__tryOrSetError(E,C),this.unsubscribe()):(this.__tryOrUnsub(C),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(E,C){try{E.call(this._context,C)}catch(l){if(this.unsubscribe(),v.$.useDeprecatedSynchronousErrorHandling)throw l;(0,_.T)(l)}}__tryOrSetError(E,C,l){if(!v.$.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{C.call(this._context,l)}catch(y){return v.$.useDeprecatedSynchronousErrorHandling?(E.syncErrorValue=y,E.syncErrorThrown=!0,!0):((0,_.T)(y),!0)}return!1}_unsubscribe(){const{_parentSubscriber:E}=this;this._context=null,this._parentSubscriber=null,E.unsubscribe()}}},74337:(he,M,r)=>{"use strict";r.d(M,{y:()=>_});var o=r(27354),i=r(61456),d=r(98099);const v=(()=>{function p(u){return Error.call(this),this.message=u?`${u.length} errors occurred during unsubscription:\n${u.map((E,C)=>`${C+1}) ${E.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=u,this}return p.prototype=Object.create(Error.prototype),p})();class _{constructor(u){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,u&&(this._ctorUnsubscribe=!0,this._unsubscribe=u)}unsubscribe(){let u;if(this.closed)return;let{_parentOrParents:E,_ctorUnsubscribe:C,_unsubscribe:l,_subscriptions:y}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,E instanceof _)E.remove(this);else if(null!==E)for(let I=0;I<E.length;++I)E[I].remove(this);if((0,d.T)(l)){C&&(this._unsubscribe=void 0);try{l.call(this)}catch(I){u=I instanceof v?m(I.errors):[I]}}if((0,o.c)(y)){let I=-1,S=y.length;for(;++I<S;){const P=y[I];if((0,i.G)(P))try{P.unsubscribe()}catch(F){u=u||[],F instanceof v?u=u.concat(m(F.errors)):u.push(F)}}}if(u)throw new v(u)}add(u){let E=u;if(!u)return _.EMPTY;switch(typeof u){case"function":E=new _(u);case"object":if(E===this||E.closed||"function"!=typeof E.unsubscribe)return E;if(this.closed)return E.unsubscribe(),E;if(!(E instanceof _)){const y=E;E=new _,E._subscriptions=[y]}break;default:throw new Error("unrecognized teardown "+u+" added to Subscription.")}let{_parentOrParents:C}=E;
1if(null===C)E._parentOrParents=this;else if(C instanceof _){if(C===this)return E;E._parentOrParents=[C,this]}else{if(-1!==C.indexOf(this))return E;C.push(this)}const l=this._subscriptions;return null===l?this._subscriptions=[E]:l.push(E),E}remove(u){const E=this._subscriptions;if(E){const C=E.indexOf(u);-1!==C&&E.splice(C,1)}}}var p;function m(p){return p.reduce((u,E)=>u.concat(E instanceof v?E.errors:E),[])}_.EMPTY=((p=new _).closed=!0,p)},80614:(he,M,r)=>{"use strict";r.d(M,{$:()=>i});let o=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(d){if(d){const h=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+h.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=d},get useDeprecatedSynchronousErrorHandling(){return o}}},13004:(he,M,r)=>{"use strict";r.d(M,{gn:()=>_,tS:()=>p,zA:()=>h});var o=r(70762),i=r(45817),d=r(60135);class h extends o.v{constructor(E){super(),this.parent=E}_next(E){this.parent.notifyNext(E)}_error(E){this.parent.notifyError(E),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class _ extends o.v{notifyNext(E){this.destination.next(E)}notifyError(E){this.destination.error(E)}notifyComplete(){this.destination.complete()}}function p(u,E){if(E.closed)return;if(u instanceof i.c)return u.subscribe(E);let C;try{C=(0,d.i)(u)(E)}catch(l){E.error(l)}return C}},14725:(he,M,r)=>{"use strict";r.d(M,{G:()=>_,f:()=>m});var o=r(45286),i=r(45817),h=(r(70762),r(74337)),v=r(13110);class _ extends i.c{constructor(l,y){super(),this.source=l,this.subjectFactory=y,this._refCount=0,this._isComplete=!1}_subscribe(l){return this.getSubject().subscribe(l)}getSubject(){const l=this._subject;return(!l||l.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let l=this._connection;return l||(this._isComplete=!1,l=this._connection=new h.y,l.add(this.source.subscribe(new p(this.getSubject(),this))),l.closed&&(this._connection=null,l=h.y.EMPTY)),l}refCount(){return(0,v.B)()(this)}}const m=(()=>{const C=_.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:C._subscribe},_isComplete:{value:C._isComplete,writable:!0},getSubject:{value:C.getSubject},connect:{value:C.connect},refCount:{value:C.refCount}}})();class p extends o.PJ{constructor(l,y){super(l),this.connectable=y}_error(l){this._unsubscribe(),super._error(l)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const l=this.connectable;if(l){this.connectable=null;const y=l._connection;l._refCount=0,l._subject=null,l._connection=null,y&&y.unsubscribe()}}}},49714:(he,M,r)=>{"use strict";r.d(M,{zV:()=>C});var o=r(32234),i=r(27354),d=r(70762);class h extends d.v{notifyNext(S,P,F,N,U){this.destination.next(P)}notifyError(S,P){this.destination.error(S)}notifyComplete(S){this.destination.complete()}}class v extends d.v{constructor(S,P,F){super(),this.parent=S,this.outerValue=P,this.outerIndex=F,this.index=0}_next(S){this.parent.notifyNext(this.outerValue,S,this.outerIndex,this.index++,this)}_error(S){this.parent.notifyError(S,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var _=r(60135),m=r(45817);function p(I,S,P,F,N=new v(I,P,F)){if(!N.closed)return S instanceof m.c?S.subscribe(N):(0,_.i)(S)(N)}var u=r(44279);const E={};function C(...I){let S,P;return(0,o.m)(I[I.length-1])&&(P=I.pop()),"function"==typeof I[I.length-1]&&(S=I.pop()),1===I.length&&(0,i.c)(I[0])&&(I=I[0]),(0,u.c)(I,P).lift(new l(S))}class l{constructor(S){this.resultSelector=S}call(S,P){return P.subscribe(new y(S,this.resultSelector))}}class y extends h{constructor(S,P){super(S),this.resultSelector=P,this.active=0,this.values=[],this.observables=[]}_next(S){this.values.push(E),this.observables.push(S)}_complete(){const S=this.observables,P=S.length;if(0===P)this.destination.complete();else{this.active=P,this.toRespond=P;for(let F=0;F<P;F++)this.add(p(this,S[F],void 0,F))}}notifyComplete(S){0==(this.active-=1)&&this.destination.complete()}notifyNext(S,P,F){const N=this.values,T=this.toRespond?N[F]===E?--this.toRespond:this.toRespond:0;N[F]=P,0===T&&(this.resultSelector?this._tryResultSelector(N):this.destination.next(N.slice()))}_tryResultSelector(S){let P;try{P=this.resultSelector.apply(this,S)}catch(F){return void this.destination.error(F)}this.destination.next(P)}}},41639:(he,M,r)=>{"use strict";r.d(M,{x:()=>h});var o=r(14421),i=r(56201);function h(...v){return function d(){return(0,i.U)(1)}()((0,o.of)(...v))}},29418:(he,M,r)=>{"use strict";r.d(M,{v:()=>h});var o=r(45817),i=r(84787),d=r(51235);function h(v){return new o.c(_=>{let m;try{m=v()}catch(u){return void _.error(u)}return(m?(0,i.H)(m):(0,d.I)()).subscribe(_)})}},51235:(he,M,r)=>{"use strict";r.d(M,{I:()=>d,w:()=>i});var o=r(45817);const i=new o.c(v=>v.complete());function d(v){return v?function h(v){return new o.c(_=>v.schedule(()=>_.complete()))}(v):i}},90696:(he,M,r)=>{"use strict";r.d(M,{p:()=>_});var o=r(45817),i=r(27354),d=r(95006),h=r(61456),v=r(84787);function _(...p){if(1===p.length){const u=p[0];if((0,i.c)(u))return m(u,null);if((0,h.G)(u)&&Object.getPrototypeOf(u)===Object.prototype){const E=Object.keys(u);return m(E.map(C=>u[C]),E)}}if("function"==typeof p[p.length-1]){const u=p.pop();
1return m(p=1===p.length&&(0,i.c)(p[0])?p[0]:p,null).pipe((0,d.T)(E=>u(...E)))}return m(p,null)}function m(p,u){return new o.c(E=>{const C=p.length;if(0===C)return void E.complete();const l=new Array(C);let y=0,I=0;for(let S=0;S<C;S++){const P=(0,v.H)(p[S]);let F=!1;E.add(P.subscribe({next:N=>{F||(F=!0,I++),l[S]=N},error:N=>E.error(N),complete:()=>{y++,(y===C||!F)&&(I===C&&E.next(u?u.reduce((N,U,T)=>(N[U]=l[T],N),{}):l),E.complete())}}))}})}},84787:(he,M,r)=>{"use strict";r.d(M,{H:()=>S});var o=r(45817),i=r(60135),d=r(74337),h=r(45722),m=r(32496),p=r(37765),C=r(15998),l=r(25253);function S(P,F){return F?function I(P,F){if(null!=P){if(function E(P){return P&&"function"==typeof P[h.s]}(P))return function v(P,F){return new o.c(N=>{const U=new d.y;return U.add(F.schedule(()=>{const T=P[h.s]();U.add(T.subscribe({next(L){U.add(F.schedule(()=>N.next(L)))},error(L){U.add(F.schedule(()=>N.error(L)))},complete(){U.add(F.schedule(()=>N.complete()))}}))})),U})}(P,F);if((0,C.y)(P))return function _(P,F){return new o.c(N=>{const U=new d.y;return U.add(F.schedule(()=>P.then(T=>{U.add(F.schedule(()=>{N.next(T),U.add(F.schedule(()=>N.complete()))}))},T=>{U.add(F.schedule(()=>N.error(T)))}))),U})}(P,F);if((0,l.X)(P))return(0,m.V)(P,F);if(function y(P){return P&&"function"==typeof P[p.lJ]}(P)||"string"==typeof P)return function u(P,F){if(!P)throw new Error("Iterable cannot be null");return new o.c(N=>{const U=new d.y;let T;return U.add(()=>{T&&"function"==typeof T.return&&T.return()}),U.add(F.schedule(()=>{T=P[p.lJ](),U.add(F.schedule(function(){if(N.closed)return;let L,Z;try{const ie=T.next();L=ie.value,Z=ie.done}catch(ie){return void N.error(ie)}Z?N.complete():(N.next(L),this.schedule())}))})),U})}(P,F)}throw new TypeError((null!==P&&typeof P||P)+" is not observable")}(P,F):P instanceof o.c?P:new o.c((0,i.i)(P))}},44279:(he,M,r)=>{"use strict";r.d(M,{c:()=>h});var o=r(45817),i=r(84385),d=r(32496);function h(v,_){return _?(0,d.V)(v,_):new o.c((0,i.v)(v))}},39601:(he,M,r)=>{"use strict";r.d(M,{Y:()=>h});var o=r(45817),i=r(41080),d=r(49132);function h(_=0,m=i.b){return(!(0,d.k)(_)||_<0)&&(_=0),(!m||"function"!=typeof m.schedule)&&(m=i.b),new o.c(p=>(p.add(m.schedule(v,_,{subscriber:p,counter:0,period:_})),p))}function v(_){const{subscriber:m,counter:p,period:u}=_;m.next(p),this.schedule({subscriber:m,counter:p+1,period:u},u)}},14421:(he,M,r)=>{"use strict";r.d(M,{of:()=>h});var o=r(32234),i=r(44279),d=r(32496);function h(...v){let _=v[v.length-1];return(0,o.m)(_)?(v.pop(),(0,d.V)(v,_)):(0,i.c)(v)}},74526:(he,M,r)=>{"use strict";r.d(M,{$:()=>i});var o=r(45817);function i(h,v){return new o.c(v?_=>v.schedule(d,0,{error:h,subscriber:_}):_=>_.error(h))}function d({error:h,subscriber:v}){v.error(h)}},76651:(he,M,r)=>{"use strict";r.d(M,{O:()=>v});var o=r(45817),i=r(41080),d=r(49132),h=r(32234);function v(m=0,p,u){let E=-1;return(0,d.k)(p)?E=Number(p)<1?1:Number(p):(0,h.m)(p)&&(u=p),(0,h.m)(u)||(u=i.b),new o.c(C=>{const l=(0,d.k)(m)?m:+m-u.now();return u.schedule(_,l,{index:0,period:E,subscriber:C})})}function _(m){const{index:p,period:u,subscriber:E}=m;if(E.next(p),!E.closed){if(-1===u)return E.complete();m.index=p+1,this.schedule(m,u)}}},83921:(he,M,r)=>{"use strict";r.d(M,{W:()=>i});var o=r(13004);function i(v){return function(m){const p=new d(v),u=m.lift(p);return p.caught=u}}class d{constructor(_){this.selector=_}call(_,m){return m.subscribe(new h(_,this.selector,this.caught))}}class h extends o.gn{constructor(_,m,p){super(_),this.selector=m,this.caught=p}error(_){if(!this.isStopped){let m;try{m=this.selector(_,this.caught)}catch(E){return void super.error(E)}this._unsubscribeAndRecycle();const p=new o.zA(this);this.add(p);const u=(0,o.tS)(m,p);u!==p&&this.add(u)}}}},43574:(he,M,r)=>{"use strict";r.d(M,{H:()=>i});var o=r(18456);function i(d,h){return(0,o.ZZ)(d,h,1)}},63020:(he,M,r)=>{"use strict";r.d(M,{B:()=>d});var o=r(70762),i=r(41080);function d(m,p=i.b){return u=>u.lift(new h(m,p))}class h{constructor(p,u){this.dueTime=p,this.scheduler=u}call(p,u){return u.subscribe(new v(p,this.dueTime,this.scheduler))}}class v extends o.v{constructor(p,u,E){super(p),this.dueTime=u,this.scheduler
1=E,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(p){this.clearDebounce(),this.lastValue=p,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(_,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:p}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(p)}}clearDebounce(){const p=this.debouncedSubscription;null!==p&&(this.remove(p),p.unsubscribe(),this.debouncedSubscription=null)}}function _(m){m.debouncedNext()}},97849:(he,M,r)=>{"use strict";r.d(M,{U:()=>i});var o=r(70762);function i(v=null){return _=>_.lift(new d(v))}class d{constructor(_){this.defaultValue=_}call(_,m){return m.subscribe(new h(_,this.defaultValue))}}class h extends o.v{constructor(_,m){super(_),this.defaultValue=m,this.isEmpty=!0}_next(_){this.isEmpty=!1,this.destination.next(_)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},68002:(he,M,r)=>{"use strict";r.d(M,{c:()=>v});var o=r(41080),d=r(70762),h=r(42351);function v(u,E=o.b){const l=function i(u){return u instanceof Date&&!isNaN(+u)}(u)?+u-E.now():Math.abs(u);return y=>y.lift(new _(l,E))}class _{constructor(E,C){this.delay=E,this.scheduler=C}call(E,C){return C.subscribe(new m(E,this.delay,this.scheduler))}}class m extends d.v{constructor(E,C,l){super(E),this.delay=C,this.scheduler=l,this.queue=[],this.active=!1,this.errored=!1}static dispatch(E){const C=E.source,l=C.queue,y=E.scheduler,I=E.destination;for(;l.length>0&&l[0].time-y.now()<=0;)l.shift().notification.observe(I);if(l.length>0){const S=Math.max(0,l[0].time-y.now());this.schedule(E,S)}else this.unsubscribe(),C.active=!1}_schedule(E){this.active=!0,this.destination.add(E.schedule(m.dispatch,this.delay,{source:this,destination:this.destination,scheduler:E}))}scheduleNotification(E){if(!0===this.errored)return;const C=this.scheduler,l=new p(C.now()+this.delay,E);this.queue.push(l),!1===this.active&&this._schedule(C)}_next(E){this.scheduleNotification(h.E.createNext(E))}_error(E){this.errored=!0,this.queue=[],this.destination.error(E),this.unsubscribe()}_complete(){this.scheduleNotification(h.E.createComplete()),this.unsubscribe()}}class p{constructor(E,C){this.time=E,this.notification=C}}},20522:(he,M,r)=>{"use strict";r.d(M,{F:()=>i});var o=r(70762);function i(v,_){return m=>m.lift(new d(v,_))}class d{constructor(_,m){this.compare=_,this.keySelector=m}call(_,m){return m.subscribe(new h(_,this.compare,this.keySelector))}}class h extends o.v{constructor(_,m,p){super(_),this.keySelector=p,this.hasKey=!1,"function"==typeof m&&(this.compare=m)}compare(_,m){return _===m}_next(_){let m;try{const{keySelector:u}=this;m=u?u(_):_}catch(u){return this.destination.error(u)}let p=!1;if(this.hasKey)try{const{compare:u}=this;p=u(this.key,m)}catch(u){return this.destination.error(u)}else this.hasKey=!0;p||(this.key=m,this.destination.next(_))}}},58728:(he,M,r)=>{"use strict";r.d(M,{p:()=>i});var o=r(70762);function i(v,_){return function(p){return p.lift(new d(v,_))}}class d{constructor(_,m){this.predicate=_,this.thisArg=m}call(_,m){return m.subscribe(new h(_,this.predicate,this.thisArg))}}class h extends o.v{constructor(_,m,p){super(_),this.predicate=m,this.thisArg=p,this.count=0}_next(_){let m;try{m=this.predicate.call(this.thisArg,_,this.count++)}catch(p){return void this.destination.error(p)}m&&this.destination.next(_)}}},77312:(he,M,r)=>{"use strict";r.d(M,{j:()=>d});var o=r(70762),i=r(74337);function d(_){return m=>m.lift(new h(_))}class h{constructor(m){this.callback=m}call(m,p){return p.subscribe(new v(m,this.callback))}}class v extends o.v{constructor(m,p){super(m),this.add(new i.y(p))}}},84046:(he,M,r)=>{"use strict";r.d(M,{$:()=>m});var o=r(29994),i=r(58728),d=r(19493),h=r(97849),v=r(63314),_=r(55241);function m(p,u){const E=arguments.length>=2;return C=>C.pipe(p?(0,i.p)((l,y)=>p(l,y,C)):_.D,(0,d.s)(1),E?(0,h.U)(u):(0,v.v)(()=>new o.G))}},95006:(he,M,r)=>{"use strict";r.d(M,{T:()=>i});var o=r(70762);function i(v,_){return function(p){if("function"!=typeof v)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return p.lift(new d(v,_))}}class d{constructor(_,m){this.project=_,this.thisArg=m}call(_,m){return m.subscribe(new h(_,this.project,this.thisArg))}}class h extends o.v{constructor(_,m,p){super(_),this.project=m,this.count=0,this.thisArg=p||this}_next(_){let m;try{m=this.project.call(this.thisArg,_,this.count++)}catch(p){return void this.destination.error(p)}this.destination.next(m)}}},56201:(he,M,r)=>{"use strict";r.d(M,{U:()=>d});var o=r(18456),i=r(55241);function d(h=Number.POSITIVE_INFINITY){return(0,o.ZZ)(i.D,h)}},18456:(he,M,r)=>{"use strict";r.d(M,{ZZ:()=>h});var o=r(95006),i=r(84787),d=r(13004);function h(p,u,E=Number.POSITIVE_INFINITY){return"function"==typeof u?C=>C.pipe(h((l,y)=>(0,i.H)(p(l,y)).pipe((0,o.T)((I,S)=>u(l,I,y,S))),E)):("number"==typeof u&&(E=u),C=>C.lift(new v(p,E)))}class v{constructor(u,E=Number.POSITIVE_INFINITY){this.project=u,this.concurrent=E}call(u,E){return E.subscribe(new _(u,this.project,this.concurrent))}}class _ extends d.gn{constructor(u,E,C=Number.POSITIVE_INFINITY){super(u),this.project=E,this.concurrent=C,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(u){this.active<this.concurrent?this._tryNext(u):this.buffer.push(u)}_tryNext(u){let E;const C=this.index++;try{E=this.project(u,C)}catch(l){return void this.destination.error(l)}this.active++,this._innerSub(E)}_innerSub(u){const E=new d.zA(this),C=this.destination;C.add(E);const l=(0,d.tS)(u,E);l!==E&&C.add(l)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(u){this.destination.next(u)}notifyComplete(){const u=this.buffer;this.active--,u.length>0?this._next(u.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},13110:(he,M,r)=>{"use strict";r.d(M,{B:()=>i});var o=r(70762);function i(){return function(_){return _.lift(new d(_))}}class d{constructor(_){this.connectable=_}call(_,m){const{connectable:p}=this;p._refCount++;const u=new h(_,p),E=m.subscribe(u);return u.closed||(u.connection=p.connect()),E}}class h extends o.v{constructor(_,m){super(_),this.connectable=m}_unsubscribe(){const{connectable:_}=this;if(!_)return void(this.connection=null);this.connectable=null;const m=_._refCount;if(m<=0)return void(this.connection=null);if(_._refCount=m-1,m>1)return void(this.connection=null);const{connection:p}=this,u=_._connection;this.connection=null,u&&(!p||u===p)&&u.unsubscribe()}}},68712:(he,M,r)=>{"use strict";r.d(M,{t:()=>i});var o=r(66607);function i(h,v,_){let m;return m=h&&"object"==typeof h?h:{bufferSize:h,windowTime:v,refCount:!1,scheduler:_},p=>p.lift(function d({bufferSize:h=Number.POSITIVE_INFINITY,windowTime:v=Number.POSITIVE_INFINITY,refCount:_,sc
1heduler:m}){let p,E,u=0,C=!1,l=!1;return function(I){let S;u++,!p||C?(C=!1,p=new o.m(h,v,m),S=p.subscribe(this),E=I.subscribe({next(P){p.next(P)},error(P){C=!0,p.error(P)},complete(){l=!0,E=void 0,p.complete()}}),l&&(E=void 0)):S=p.subscribe(this),this.add(()=>{u--,S.unsubscribe(),S=void 0,E&&!l&&_&&0===u&&(E.unsubscribe(),E=void 0,p=void 0)})}}(m))}},23176:(he,M,r)=>{"use strict";r.d(M,{Z:()=>d});var o=r(41639),i=r(32234);function d(...h){const v=h[h.length-1];return(0,i.m)(v)?(h.pop(),_=>(0,o.x)(h,_,v)):_=>(0,o.x)(h,_)}},49090:(he,M,r)=>{"use strict";r.d(M,{n:()=>h});var o=r(95006),i=r(84787),d=r(13004);function h(m,p){return"function"==typeof p?u=>u.pipe(h((E,C)=>(0,i.H)(m(E,C)).pipe((0,o.T)((l,y)=>p(E,l,C,y))))):u=>u.lift(new v(m))}class v{constructor(p){this.project=p}call(p,u){return u.subscribe(new _(p,this.project))}}class _ extends d.gn{constructor(p,u){super(p),this.project=u,this.index=0}_next(p){let u;const E=this.index++;try{u=this.project(p,E)}catch(C){return void this.destination.error(C)}this._innerSub(u)}_innerSub(p){const u=this.innerSubscription;u&&u.unsubscribe();const E=new d.zA(this),C=this.destination;C.add(E),this.innerSubscription=(0,d.tS)(p,E),this.innerSubscription!==E&&C.add(this.innerSubscription)}_complete(){const{innerSubscription:p}=this;(!p||p.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(p){this.destination.next(p)}}},19493:(he,M,r)=>{"use strict";r.d(M,{s:()=>h});var o=r(70762),i=r(70434),d=r(51235);function h(m){return p=>0===m?(0,d.I)():p.lift(new v(m))}class v{constructor(p){if(this.total=p,this.total<0)throw new i.k}call(p,u){return u.subscribe(new _(p,this.total))}}class _ extends o.v{constructor(p,u){super(p),this.total=u,this.count=0}_next(p){const u=this.total,E=++this.count;E<=u&&(this.destination.next(p),E===u&&(this.destination.complete(),this.unsubscribe()))}}},7605:(he,M,r)=>{"use strict";r.d(M,{Q:()=>i});var o=r(13004);function i(v){return _=>_.lift(new d(v))}class d{constructor(_){this.notifier=_}call(_,m){const p=new h(_),u=(0,o.tS)(this.notifier,new o.zA(p));return u&&!p.seenValue?(p.add(u),m.subscribe(p)):p}}class h extends o.gn{constructor(_){super(_),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},15539:(he,M,r)=>{"use strict";r.d(M,{M:()=>h});var o=r(70762);function i(){}var d=r(98099);function h(m,p,u){return function(C){return C.lift(new v(m,p,u))}}class v{constructor(p,u,E){this.nextOrObserver=p,this.error=u,this.complete=E}call(p,u){return u.subscribe(new _(p,this.nextOrObserver,this.error,this.complete))}}class _ extends o.v{constructor(p,u,E,C){super(p),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=E||i,this._tapComplete=C||i,(0,d.T)(u)?(this._context=this,this._tapNext=u):u&&(this._context=u,this._tapNext=u.next||i,this._tapError=u.error||i,this._tapComplete=u.complete||i)}_next(p){try{this._tapNext.call(this._context,p)}catch(u){return void this.destination.error(u)}this.destination.next(p)}_error(p){try{this._tapError.call(this._context,p)}catch(u){return void this.destination.error(u)}this.destination.error(p)}_complete(){try{this._tapComplete.call(this._context)}catch(p){return void this.destination.error(p)}return this.destination.complete()}}},63314:(he,M,r)=>{"use strict";r.d(M,{v:()=>d});var o=r(29994),i=r(70762);function d(m=_){return p=>p.lift(new h(m))}class h{constructor(p){this.errorFactory=p}call(p,u){return u.subscribe(new v(p,this.errorFactory))}}class v extends i.v{constructor(p,u){super(p),this.errorFactory=u,this.hasValue=!1}_next(p){this.hasValue=!0,this.destination.next(p)}_complete(){if(this.hasValue)return this.destination.complete();{let p;try{p=this.errorFactory()}catch(u){p=u}this.destination.error(p)}}}function _(){return new o.G}},32496:(he,M,r)=>{"use strict";r.d(M,{V:()=>d});var o=r(45817),i=r(74337);function d(h,v){return new o.c(_=>{const m=new i.y;let p=0;return m.add(v.schedule(function(){p!==h.length?(_.next(h[p++]),_.closed||m.add(this.schedule())):_.complete()}
1)),m})}},68189:(he,M,r)=>{"use strict";r.d(M,{R:()=>d});var o=r(74337);class i extends o.y{constructor(v,_){super()}schedule(v,_=0){return this}}class d extends i{constructor(v,_){super(v,_),this.scheduler=v,this.work=_,this.pending=!1}schedule(v,_=0){if(this.closed)return this;this.state=v;const m=this.id,p=this.scheduler;return null!=m&&(this.id=this.recycleAsyncId(p,m,_)),this.pending=!0,this.delay=_,this.id=this.id||this.requestAsyncId(p,this.id,_),this}requestAsyncId(v,_,m=0){return setInterval(v.flush.bind(v,this),m)}recycleAsyncId(v,_,m=0){if(null!==m&&this.delay===m&&!1===this.pending)return _;clearInterval(_)}execute(v,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const m=this._execute(v,_);if(m)return m;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(v,_){let p,m=!1;try{this.work(v)}catch(u){m=!0,p=!!u&&u||new Error(u)}if(m)return this.unsubscribe(),p}_unsubscribe(){const v=this.id,_=this.scheduler,m=_.actions,p=m.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==p&&m.splice(p,1),null!=v&&(this.id=this.recycleAsyncId(_,v,null)),this.delay=null}}},76228:(he,M,r)=>{"use strict";r.d(M,{q:()=>i});let o=(()=>{class d{constructor(v,_=d.now){this.SchedulerAction=v,this.now=_}schedule(v,_=0,m){return new this.SchedulerAction(this,v).schedule(m,_)}}return d.now=()=>Date.now(),d})();class i extends o{constructor(h,v=o.now){super(h,()=>i.delegate&&i.delegate!==this?i.delegate.now():v()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(h,v=0,_){return i.delegate&&i.delegate!==this?i.delegate.schedule(h,v,_):super.schedule(h,v,_)}flush(h){const{actions:v}=this;if(this.active)return void v.push(h);let _;this.active=!0;do{if(_=h.execute(h.state,h.delay))break}while(h=v.shift());if(this.active=!1,_){for(;h=v.shift();)h.unsubscribe();throw _}}}},41080:(he,M,r)=>{"use strict";r.d(M,{b:()=>h});var o=r(68189);const h=new(r(76228).q)(o.R)},37765:(he,M,r)=>{"use strict";r.d(M,{lJ:()=>i});const i=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},45722:(he,M,r)=>{"use strict";r.d(M,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},40091:(he,M,r)=>{"use strict";r.d(M,{D:()=>o});const o="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},70434:(he,M,r)=>{"use strict";r.d(M,{k:()=>i});const i=(()=>{function d(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return d.prototype=Object.create(Error.prototype),d})()},29994:(he,M,r)=>{"use strict";r.d(M,{G:()=>i});const i=(()=>{function d(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return d.prototype=Object.create(Error.prototype),d})()},2145:(he,M,r)=>{"use strict";r.d(M,{P:()=>i});const i=(()=>{function d(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return d.prototype=Object.create(Error.prototype),d})()},58253:(he,M,r)=>{"use strict";function o(i){setTimeout(()=>{throw i},0)}r.d(M,{T:()=>o})},55241:(he,M,r)=>{"use strict";function o(i){return i}r.d(M,{D:()=>o})},27354:(he,M,r)=>{"use strict";r.d(M,{c:()=>o});const o=Array.isArray||(i=>i&&"number"==typeof i.length)},25253:(he,M,r)=>{"use strict";r.d(M,{X:()=>o});const o=i=>i&&"number"==typeof i.length&&"function"!=typeof i},98099:(he,M,r)=>{"use strict";function o(i){return"function"==typeof i}r.d(M,{T:()=>o})},49132:(he,M,r)=>{"use strict";r.d(M,{k:()=>i});var o=r(27354);function i(d){return!(0,o.c)(d)&&d-parseFloat(d)+1>=0}},61456:(he,M,r)=>{"use strict";function o(i){return null!==i&&"object"==typeof i}r.d(M,{G:()=>o})},8982:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});var o=r(45817);function i(d){return!!d&&(d instanceof o.c||"function"==typeof d.lift&&"function"==typeof d.subscribe)}},15998:(he,M,r)=>{"use strict";function o(i){return!!i&&"function"!=typeof i.subscribe&&"function"==typeof i.then}r.d(M,{y:()=>o})},32234:(he,M,r)=>{"use strict";function o(i){return i&&"function"==typeof i.schedule}r.d(M,{m:()=>o})},78167:(he,M,r)=>{"use strict";r.d(M,{F:()=>i,m:()=>d});var o=r(55241);function i(...h){return d(h)}function d(h){return 0===h.length?o.D:1===h.length?h[0]:function(_){return h.reduce((m,p)=>p(m),_)}}},60135:(he,M,r)=>{"use strict";r.d(M,{i:()=>C});var o=r(84385),i=r(58253),h=r(37765),_=r(45722),p=r(25253),u=r(15998),E=r(61456);const C=l=>{if(l&&"function"==typeof l[_.s])return(l=>y=>{const I=l[_.s]();if("function"!=typeof I.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return I.subscribe(y)})(l);if((0,p.X)(l))return(0,o.v)(l);if((0,u.y)(l))return(l=>y=>(l.then(I=>{y.closed||(y.next(I),y.complete())},I=>y.error(I)).then(null,i.T),y))(l);if(l&&"function"==typeof l[h.lJ])return(l=>y=>{const I=l[h.lJ]();for(;;){let S;try{S=I.next()}catch(P){return y.error(P),y}if(S.done){y.complete();break}if(y.next(S.value),y.closed)break}return"function"==typeof I.return&&y.add(()=>{I.return&&I.return()}),y})(l);
1{const I=`You provided ${(0,E.G)(l)?"an invalid object":`'${l}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(I)}}},84385:(he,M,r)=>{"use strict";r.d(M,{v:()=>o});const o=i=>d=>{for(let h=0,v=i.length;h<v&&!d.closed;h++)d.next(i[h]);d.complete()}},65359:(he,M,r)=>{var o={"./af":[73333,3333],"./af.js":[73333,3333],"./am":[85300,5300],"./am.js":[85300,5300],"./ar":[19913,9913],"./ar-dz":[51292,1292],"./ar-dz.js":[51292,1292],"./ar-iq":[28616,8616],"./ar-iq.js":[28616,8616],"./ar-kw":[5632,5632],"./ar-kw.js":[5632,5632],"./ar-ly":[59933,9933],"./ar-ly.js":[59933,9933],"./ar-ma":[65708,5708],"./ar-ma.js":[65708,5708],"./ar-sa":[55918,5918],"./ar-sa.js":[55918,5918],"./ar-tn":[59632,9632],"./ar-tn.js":[59632,9632],"./ar.js":[19913,9913],"./az":[43377,3377],"./az.js":[43377,3377],"./be":[75195,5195],"./be.js":[75195,5195],"./bg":[39101,9101],"./bg.js":[39101,9101],"./bi":[45623,5623],"./bi.js":[45623,5623],"./bm":[64211,4211],"./bm.js":[64211,4211],"./bn":[70742,742],"./bn-bd":[55553,5553],"./bn-bd.js":[55553,5553],"./bn.js":[70742,742],"./bo":[79701,9701],"./bo.js":[79701,9701],"./br":[1090,1090],"./br.js":[1090,1090],"./bs":[85329,7710],"./bs.js":[85329,7710],"./ca":[92334,2334],"./ca.js":[92334,2334],"./cs":[50356,356],"./cs.js":[50356,356],"./cv":[9823,9823],"./cv.js":[9823,9823],"./cy":[2902,2902],"./cy.js":[2902,2902],"./da":[52269,2269],"./da.js":[52269,2269],"./de":[51409,1409],"./de-at":[67035,7035],"./de-at.js":[
167035,7035],"./de-ch":[19437,9437],"./de-ch.js":[19437,9437],"./de.js":[51409,1409],"./dv":[25480,5480],"./dv.js":[25480,5480],"./el":[58455,8455],"./el.js":[58455,8455],"./en":[69785,9785],"./en-au":[26364,6364],"./en-au.js":[26364,6364],"./en-ca":[35726,5726],"./en-ca.js":[35726,5726],"./en-gb":[51583,1583],"./en-gb.js":[51583,1583],"./en-ie":[37236,7236],"./en-ie.js":[37236,7236],"./en-il":[74195,4195],"./en-il.js":[74195,4195],"./en-in":[89685,9685],"./en-in.js":[89685,9685],"./en-nz":[29238,9238],"./en-nz.js":[29238,9238],"./en-sg":[25224,5224],"./en-sg.js":[25224,5224],"./en-tt":[26082,6082],"./en-tt.js":[26082,6082],"./en.js":[69785,9785],"./eo":[57002,7002],"./eo.js":[57002,7002],"./es":[72494,2494],"./es-do":[88194,8194],"./es-do.js":[88194,8194],"./es-mx":[70678,678],"./es-mx.js":[70678,678],"./es-pr":[33857,3857],"./es-pr.js":[33857,3857],"./es-us":[51251,1251],"./es-us.js":[51251,1251],"./es.js":[72494,2494],"./et":[76175,6175],"./et.js":[76175,6175],"./eu":[41816,1816],"./eu.js":[41816,1816],"./fa":[73987,3987],"./fa.js":[73987,3987],"./fi":[91115,3496],"./fi.js":[91115,3496],"./fo":[15569,5569],"./fo.js":[15569,5569],"./fr":[34230,4230],"./fr-ca":[36591,8972],"./fr-ca.js":[36591,8972],"./fr-ch":[8048,8048],"./fr-ch.js":[8048,8048],"./fr.js":[34230,4230],"./fy":[38683,8683],"./fy.js":[38683,8683],"./ga":[63698,3698],"./ga.js":[63698,3698],"./gd":[67677,7677],"./gd.js":[67677,7677],"./gl":[56693,6693],"./gl.js":[56693,6693],"./gom-latn":[24435,4435],"./gom-latn.js":[24435,4435],"./gu":[30766,766],"./gu.js":[30766,766],"./he":[89165,9165],"./he.js":[89165,9165],"./hi":[39177,9177],"./hi.js":[39177,9177],"./hr":[62376,2376],"./hr.js":[62376,2376],"./ht":[9374,9374],"./ht.js":[9374,9374],"./hu":[58941,8941],"./hu.js":[58941,8941],"./hy-am":[72948,2948],"./hy-am.js":[72948,2948],"./id":[41275,1275],"./id.js":[41275,1275],"./index.d":[99797,9797],"./index.d.ts":[99797,9797],"./is":[16098,6098],"./is.js":[16098,6098],"./it":[59531,9531],"./it-ch":[81727,1727],"./it-ch.js":[81727,1727],"./it.js":[59531,9531],"./ja":[90599,599],"./ja.js":[90599,599],"./jv":[27510,7510],"./jv.js":[27510,7510],"./ka":[57910,7910],"./ka.js":[57910,7910],"./kk":[14420,4420],"./kk.js":[14420,4420],"./km":[15506,5506],"./km.js":[15506,5506],"./kn":[22303,2303],"./kn.js":[22303,2303],"./ko":[30216,216],"./ko.js":[30216,216],"./ku":[17274,7274],"./ku.js":[17274,7274],"./ky":[46830,6830],"./ky.js":[46830,6830],"./lb":[56396,6396],"./lb.js":[56396,6396],"./lo":[51775,1775],"./lo.js":[51775,1775],"./lt":[30394,394],"./lt.js":[30394,394],"./lv":[50544,544],"./lv.js":[50544,544],"./me":[62928,2928],"./me.js":[62928,2928],"./mi":[14852,4852],"./mi.js":[14852,4852],"./mk":[12910,2910],"./mk.js":[12910,2910],"./ml":[16591,6591],"./ml.js":[16591,6591],"./mn":[38577,8577],"./mn.js":[38577,8577],"./mr":[49301,9301],"./mr.js":[49301,9301],"./ms":[40342,342],"./ms-my":[84989,4989],"./ms-my.js":[84989,4989],"./ms.js":[40342,342],"./mt":[98871,8871],"./mt.js":[98871,8871],"./my":[80500,500],"./my.js":[80500,500],"./nb":[47406,7406],"./nb.js":[47406,7406],"./ne":[1615,1615],"./ne.js":[1615,1615],"./nl":[74128,4128],"./nl-be":[76708,6708],"./nl-be.js":[76708,6708],"./nl.js":[74128,4128],"./nn":[10906,906],"./nn.js":[10906,906],"./oc-lnc":[18486,8486],"./oc-lnc.js":[18486,8486],"./pa-in":[9845,9845],"./pa-in.js":[9845,9845],"./pl":[3518,3518],"./pl.js":[3518,3518],"./pt":[31014,1014],"./pt-br":[7803,7803],"./pt-br.js":[7803,7803],"./pt.js":[31014,1014],"./rn":[60486,486],"./rn.js":[60486,486],"./ro":[91205,1205],"./ro.js":[91205,1205],"./ru":[30587,587],"./ru.js":[30587,587],"./rw":[45533,5533],"./rw.js":[45533,5533],"./sd":[75329,5329],"./sd.js":[75329,5329],"./se":[55602,5602],"./se.js":[55602,5602],"./si":[72886,2886],"./si.js":[72886,2886],"./sk":[77484,7484],"./sk.js":[77484,7484],"./sl":[59097,9097],"./sl.js":[59097,9097],"./sq":[39022,9022],"./sq.js":[39022,9022],"./sr":[46123,6123],"./sr-cyrl":[31190,1190],"./sr-cyrl.js":[31190,1190],"./sr.js":[46123,6123],"./ss":[24100,4100],"./ss.js":[24100,4100],"./sv":[175,175],"./sv-fi":[63057,3057],"./sv-fi.js":[63057,3057],"./sv.js":[175,175],"./sw":[56248,6248],"./sw.js":[56248,6248],"./ta":[18237,8237],"./ta.js":[18237,8237],"./te":[33985,3985],"./te.js":[33985,3985],"./tet":[78081,8081],"./tet.js":[78081,8081],"./tg":[33503,3503],"./tg.js":[33503,3503],"./th":[66230,6230],"./th.js":[66230,6230],"./tk":[20051,51],"./tk.js":[20051,51],"./tl-ph":[88595,8595],"./tl-ph.js":[88595,8595],"./tlh":[61912,1912],"./tlh.js":[61912,1912],"./tr":[1092,1092],"./tr.js":[1092,1092],"./types.d":[71808,1808],"./types.d.ts":[71808,1808],"./tzl":[21122,1122],"./tzl.js":[21122,1122],"./tzm":[89009,9009],"./tzm-latn":[20227,227],"./tzm-latn.js":[20227,227],"./tzm.js":[89009,9009],"./ug-cn":[86074,6074],"./ug-cn.js":[86074,6074],"./uk":[73318,3318],"./uk.js":[73318,3318],"./ur":[42013,2013],"./ur.js":[42013,2013],"./uz":[47381,7381],"./uz-latn":[8447,8447],"./uz-latn.js":[8447,8447],"./uz.js":[47381,7381],"./vi":[28443,8443],"./vi.js":[28443,8443],"./x-pseudo":[80047,47],"./x-pseudo.js":[80047,47],"./yo":[18182,8182],"./yo.js":[18182,8182],"./zh":[89576,9576],"./zh-cn":[84564,4564],"./zh-cn.js":[84564,4564],"./zh-hk":[36228,6228],"./zh-hk.js":[36228,6228],"./zh-tw":[87556,7556],"./zh-tw.js":[87556,7556],"./zh.js":[89576,9576]};function i(d){if(!r.o(o,d))return Promise.resolve().then(()=>{var _=new Error("Cannot find module '"+d+"'");throw _.code="MODULE_NOT_FOUND",_});var h=o[d],v=h[0];return r.e(h[1]).then(()=>r.t(v,23))}i.keys=()=>Object.keys(o),i.id=65359,he.exports=i},50477:()=>{},49969:(he,M,r)=>{"use strict";r.d(M,{FX:()=>xe,If:()=>o,K2:()=>_,MA:()=>l,Os:()=>v,P:()=>I,hZ:()=>d,i0:()=>h,iF:()=>m,kY:()=>E,kp:()=>i,sf:()=>ve,ui:()=>me,wk:()=>p});var o=function($){return $[$.State=0]="State",$[$.Transition=1]="Transition",$[$.Sequence=2]="Sequence",$[$.Group=3]="Group",$[$.Animate=4]="Animate",$[$.Keyframes=5]="Keyframes",$[$.Style=6]="Style",$[$.Trigger=7]="Trigger",$[$.Reference=8]="Reference",$[$.AnimateChild=9]="AnimateChild",$[$.AnimateRef=10]="AnimateRef",$[$.Query=11]="Query",$[$.Stagger=12]="Stagger",$}(o||{});const i="*";function d($,V){return{type:o.Trigger,name:$,definitions:V,options:{}}}function h($,V=null){return{type:o.Animate,styles:V,timings:$}}function v($,V=null){return{type:o.Group,steps:$,options:V}}function _($,V=null){return{type:o.Sequence,steps:$,options:V}}function m($){return{type:o.Style,styles:$,offset:null}}function p($,V,oe){return{type:o.State,name:$,styles:V,options:oe}}function E($,V,oe=null){return{type:o.Transition,expr:$,animation:V,options:oe}}function l($=null){return{type:o.AnimateChild,options:$}}function I($,V,oe=null){return{type:o.Query,selector:$,animation:V,options:oe}}class ve{constructor(V=0,oe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=V+oe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}onStart(V){this._originalOnStartFns.push(V),this._onStartFns.push(V)}onDone(V){this._originalOnDoneFns.push(V),this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(V=>V()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(V){this._position=this.totalTime?V*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(V){const oe="start"==V?this._onStartFns:this._onDoneFns;oe.forEach(z=>z()),oe.length=0}}class me{constructor(V){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=V;let oe=0,z=0,W=0;const re=this.players.length;0==re?queueMicrotask(()=>
1this._onFinish()):this.players.forEach(ee=>{ee.onDone(()=>{++oe==re&&this._onFinish()}),ee.onDestroy(()=>{++z==re&&this._onDestroy()}),ee.onStart(()=>{++W==re&&this._onStart()})}),this.totalTime=this.players.reduce((ee,Se)=>Math.max(ee,Se.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}init(){this.players.forEach(V=>V.init())}onStart(V){this._onStartFns.push(V)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(V=>V()),this._onStartFns=[])}onDone(V){this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(V=>V.play())}pause(){this.players.forEach(V=>V.pause())}restart(){this.players.forEach(V=>V.restart())}finish(){this._onFinish(),this.players.forEach(V=>V.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(V=>V.destroy()),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this.players.forEach(V=>V.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(V){const oe=V*this.totalTime;this.players.forEach(z=>{const W=z.totalTime?Math.min(1,oe/z.totalTime):1;z.setPosition(W)})}getPosition(){const V=this.players.reduce((oe,z)=>null===oe||z.totalTime>oe.totalTime?z:oe,null);return null!=V?V.getPosition():0}beforeDestroy(){this.players.forEach(V=>{V.beforeDestroy&&V.beforeDestroy()})}triggerCallback(V){const oe="start"==V?this._onStartFns:this._onDoneFns;oe.forEach(z=>z()),oe.length=0}}const xe="!"},60177:(he,M,r)=>{"use strict";r.r(M),r.d(M,{APP_BASE_HREF:()=>P,AsyncPipe:()=>oo,BrowserPlatformLocation:()=>C,CommonModule:()=>Kr,CurrencyPipe:()=>dr,DATE_PIPE_DEFAULT_OPTIONS:()=>Xa,DATE_PIPE_DEFAULT_TIMEZONE:()=>Xs,DOCUMENT:()=>p,DatePipe:()=>Pa,DecimalPipe:()=>hi,FormStyle:()=>$,FormatWidth:()=>oe,HashLocationStrategy:()=>N,I18nPluralPipe:()=>Io,I18nSelectPipe:()=>jo,IMAGE_CONFIG:()=>i.GGh,IMAGE_LOADER:()=>Ts,JsonPipe:()=>Zo,KeyValuePipe:()=>ur,LOCATION_INITIALIZED:()=>E,Location:()=>U,LocationStrategy:()=>S,LowerCasePipe:()=>_o,NgClass:()=>qi,NgComponentOutlet:()=>Fn,NgFor:()=>nt,NgForOf:()=>nt,NgForOfContext:()=>rt,NgIf:()=>Nt,NgIfContext:()=>an,NgLocaleLocalization:()=>Kn,NgLocalization:()=>Pt,NgOptimizedImage:()=>Tn,NgPlural:()=>Mi,NgPluralCase:()=>ri,NgStyle:()=>mi,NgSwitch:()=>Zn,NgSwitchCase:()=>li,NgSwitchDefault:()=>Bn,NgTemplateOutlet:()=>Wi,NumberFormatStyle:()=>me,NumberSymbol:()=>z,PRECONNECT_CHECK_BLOCKLIST:()=>lo,PathLocationStrategy:()=>F,PercentPipe:()=>Ni,PlatformLocation:()=>u,Plural:()=>xe,SlicePipe:()=>es,TitleCasePipe:()=>mo,TranslationWidth:()=>V,UpperCasePipe:()=>zs,VERSION:()=>Hr,ViewportScroller:()=>Po,WeekDay:()=>W,XhrFactory:()=>is,formatCurrency:()=>_i,formatDate:()=>ft,formatNumber:()=>Pn,formatPercent:()=>pn,getCurrencySymbol:()=>He,getLocaleCurrencyCode:()=>_t,getLocaleCurrencyName:()=>Qe,getLocaleCurrencySymbol:()=>tt,getLocaleDateFormat:()=>ye,getLocaleDateTimeFormat:()=>Me,getLocaleDayNames:()=>Se,getLocaleDayPeriods:()=>ee,getLocaleDirection:()=>Ye,getLocaleEraNames:()=>de,getLocaleExtraDayPeriodRules:()=>Ot,getLocaleExtraDayPeriods:()=>Fe,getLocaleFirstDayOfWeek:()=>ke,getLocaleId:()=>re,getLocaleMonthNames:()=>J,getLocaleNumberFormat:()=>Oe,getLocaleNumberSymbol:()=>We,getLocalePluralCase:()=>mt,getLocaleTimeFormat:()=>Pe,getLocaleWeekEndRange:()=>ge,getNumberOfCurrencyDigits:()=>Tt,isPlatformBrowser:()=>$i,isPlatformServer:()=>Cr,provideCloudflareLoader:()=>wi,provideCloudinaryLoader:()=>Ei,provideImageKitLoader:()=>vo,provideImgixLoader:()=>Eo,provideNetlifyLoader:()=>Js,registerLocaleData:()=>Ht,\u0275DomAdapter:()=>_,\u0275NullViewportScroller:()=>ns,\u0275PLATFORM_BROWSER_ID:()=>ts,\u0275PLATFORM_SERVER_ID:()=>xo,\u0275PlatformNavigation:()=>m,\u0275getDOM:()=>h,\u0275normalizeQueryParams:()=>I,\u0275parseCookieValue:()=>Jn,\u0275setRootDomAdapter:()=>v}),r(10467);var i=r(54438);let d=null;function h(){return d}function v(B){d??=B}class _{}let m=(()=>{class B{static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275prov=i.jDH({token:B,factory:()=>window.navigation,providedIn:"platform"})}}return B})();const p=new i.nKC("");let u=(()=>{class B{historyGo(Y){throw new Error("")}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275prov=i.jDH({token:B,factory:()=>(0,i.WQX)(C),providedIn:"platform"})}}return B})();const E=new i.nKC("");let C=(()=>{class B extends u{constructor(){super(),this._doc=(0,i.WQX)(p),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return h().getBaseHref(this._doc)}onPopState(Y){const ue=h().getGlobalEventTarget(this._doc,"window");return ue.addEventListener("popstate",Y,!1),()=>ue.removeEventListener("popstate",Y)}onHashChange(Y){const ue=h().getGlobalEventTarget(this._doc,"window");return ue.addEventListener("hashchange",Y,!1),()=>ue.removeEventListener("hashchange",Y)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Y){this._location.pathname=Y}pushState(Y,ue,Ke){this._history.pushState(Y,ue,Ke)}replaceState(Y,ue,Ke){this._history.replaceState(Y,ue,Ke)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Y=0){this._history.go(Y)}getState(){return this._history.state}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275prov=i.jDH({token:B,factory:()=>new B,providedIn:"platform"})}}return B})();function l(B,Ce){if(0==B.length)return Ce;if(0==Ce.length)return B;let Y=0;return B.endsWith("/")&&Y++,Ce.startsWith("/")&&Y++,2==Y?B+Ce.substring(1):1==Y?B+Ce:B+"/"+Ce}function y(B){const Ce=B.match(/#|\?|$/),Y=Ce&&Ce.index||B.length;return B.slice(0,Y-("/"===B[Y-1]?1:0))+B.slice(Y)}function I(B){return B&&"?"!==B[0]?"?"+B:B}let S=(()=>{class B{historyGo(Y){throw new Error("")}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275prov=i.jDH({token:B,factory:()=>(0,i.WQX)(F),providedIn:"root"})}}return B})();const P=new i.nKC("");let F=(()=>{class B extends S{constructor(Y,ue){super(),this._platformLocation=Y,this._removeListenerFns=[],this._baseHref=ue??this._platformLocation.getBaseHrefFromDOM()??(0,i.WQX)(p).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Y){this._removeListenerFns.push(this._platformLocation.onPopState(Y),this._platformLocation.on
1HashChange(Y))}getBaseHref(){return this._baseHref}prepareExternalUrl(Y){return l(this._baseHref,Y)}path(Y=!1){const ue=this._platformLocation.pathname+I(this._platformLocation.search),Ke=this._platformLocation.hash;return Ke&&Y?`${ue}${Ke}`:ue}pushState(Y,ue,Ke,It){const Wt=this.prepareExternalUrl(Ke+I(It));this._platformLocation.pushState(Y,ue,Wt)}replaceState(Y,ue,Ke,It){const Wt=this.prepareExternalUrl(Ke+I(It));this._platformLocation.replaceState(Y,ue,Wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Y=0){this._platformLocation.historyGo?.(Y)}static{this.\u0275fac=function(ue){return new(ue||B)(i.KVO(u),i.KVO(P,8))}}static{this.\u0275prov=i.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})(),N=(()=>{class B extends S{constructor(Y,ue){super(),this._platformLocation=Y,this._baseHref="",this._removeListenerFns=[],null!=ue&&(this._baseHref=ue)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Y){this._removeListenerFns.push(this._platformLocation.onPopState(Y),this._platformLocation.onHashChange(Y))}getBaseHref(){return this._baseHref}path(Y=!1){const ue=this._platformLocation.hash??"#";return ue.length>0?ue.substring(1):ue}prepareExternalUrl(Y){const ue=l(this._baseHref,Y);return ue.length>0?"#"+ue:ue}pushState(Y,ue,Ke,It){let Wt=this.prepareExternalUrl(Ke+I(It));0==Wt.length&&(Wt=this._platformLocation.pathname),this._platformLocation.pushState(Y,ue,Wt)}replaceState(Y,ue,Ke,It){let Wt=this.prepareExternalUrl(Ke+I(It));0==Wt.length&&(Wt=this._platformLocation.pathname),this._platformLocation.replaceState(Y,ue,Wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Y=0){this._platformLocation.historyGo?.(Y)}static{this.\u0275fac=function(ue){return new(ue||B)(i.KVO(u),i.KVO(P,8))}}static{this.\u0275prov=i.jDH({token:B,factory:B.\u0275fac})}}return B})(),U=(()=>{class B{constructor(Y){this._subject=new i.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Y;const ue=this._locationStrategy.getBaseHref();this._basePath=function ie(B){if(new RegExp("^(https?:)?//").test(B)){const[,Y]=B.split(/\/\/[^\/]+/);return Y}return B}(y(Z(ue))),this._locationStrategy.onPopState(Ke=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ke.state,type:Ke.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Y=!1){return this.normalize(this._locationStrategy.path(Y))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Y,ue=""){return this.path()==this.normalize(Y+I(ue))}normalize(Y){return B.stripTrailingSlash(function L(B,Ce){if(!B||!Ce.startsWith(B))return Ce;const Y=Ce.substring(B.length);return""===Y||["/",";","?","#"].includes(Y[0])?Y:Ce}(this._basePath,Z(Y)))}prepareExternalUrl(Y){return Y&&"/"!==Y[0]&&(Y="/"+Y),this._locationStrategy.prepareExternalUrl(Y)}go(Y,ue="",Ke=null){this._locationStrategy.pushState(Ke,"",Y,ue),this._notifyUrlChangeListeners(this.prepareExternalUrl(Y+I(ue)),Ke)}replaceState(Y,ue="",Ke=null){this._locationStrategy.replaceState(Ke,"",Y,ue),this._notifyUrlChangeListeners(this.prepareExternalUrl(Y+I(ue)),Ke)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Y=0){this._locationStrategy.historyGo?.(Y)}onUrlChange(Y){return this._urlChangeListeners.push(Y),this._urlChangeSubscription??=this.subscribe(ue=>{this._notifyUrlChangeListeners(ue.url,ue.state)}),()=>{const ue=this._urlChangeListeners.indexOf(Y);this._urlChangeListeners.splice(ue,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Y="",ue){this._urlChangeListeners.forEach(Ke=>Ke(Y,ue))}subscribe(Y,ue,Ke){return this._subject.subscribe({next:Y,error:ue,complete:Ke})}static{this.normalizeQueryParams=I}static{this.joinWithSlash=l}static{this.stripTrailingSlash=y}static{this.\u0275fac=function(ue){return new(ue||B)(i.KVO(S))}}static{this.\u0275prov=i.jDH({token:B,factory:()=>function T(){return new U((0,i.KVO)(S))}(),providedIn:"root"})}}return B})();function Z(B){return B.replace(/\/index.html$/,"")}const ve={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var me=function(B){return B[B.Decimal=0]="Decimal",B[B.Percent=1]="Percent",B[B.Currency=2]="Currency",B[B.Scientific=3]="Scientific",B}(me||{}),xe=function(B){return B[B.Zero=0]="Zero",B[B.One=1]="One",B[B.Two=2]="Two",B[B.Few=3]="Few",B[B.Many=4]="Many",B[B.Other=5]="Other",B}(xe||{}),$=function(B){return B[B.Format=0]="Format",B[B.Standalone=1]="Standalone",B}($||{}),V=function(B){return B[B.Narrow=0]="Narrow",B[B.Abbreviated=1]="Abbreviated",B[B.Wide=2]="Wide",B[B.Short=3]="Short",B}(V||{}),oe=function(B){return B[B.Short=0]="Short",B[B.Medium=1]="Medium",B[B.Long=2]="Long",B[B.Full=3]="Full",B}(oe||{});const z={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};var W=function(B){return B[B.Sunday=0]="Sunday",B[B.Monday=1]="Monday",B[B.Tuesday=2]="Tuesday",B[B.Wednesday=3]="Wednesday",B[B.Thursday=4]="Thursday",B[B.Friday=5]="Friday",B[B.Saturday=6]="Saturday",B}(W||{});function re(B){return(0,i.H5H)(B)[i.KH2.LocaleId]}function ee(B,Ce,Y){const ue=(0,i.H5H)(B),It=Re([ue[i.KH2.DayPeriodsFormat],ue[i.KH2.DayPeriodsStandalone]],Ce);return Re(It,Y)}function Se(B,Ce,Y){const ue=(0,i.H5H)(B),It=Re([ue[i.KH2.DaysFormat],ue[i.KH2.DaysStandalone]],Ce);return Re(It,Y)}function J(B,Ce,Y){const ue=(0,i.H5H)(B),It=Re([ue[i.KH2.MonthsFormat],ue[i.KH2.MonthsStandalone]],Ce);return Re(It,Y)}
1function de(B,Ce){return Re((0,i.H5H)(B)[i.KH2.Eras],Ce)}function ke(B){return(0,i.H5H)(B)[i.KH2.FirstDayOfWeek]}function ge(B){return(0,i.H5H)(B)[i.KH2.WeekendRange]}function ye(B,Ce){return Re((0,i.H5H)(B)[i.KH2.DateFormat],Ce)}function Pe(B,Ce){return Re((0,i.H5H)(B)[i.KH2.TimeFormat],Ce)}function Me(B,Ce){return Re((0,i.H5H)(B)[i.KH2.DateTimeFormat],Ce)}function We(B,Ce){const Y=(0,i.H5H)(B),ue=Y[i.KH2.NumberSymbols][Ce];if(typeof ue>"u"){if(Ce===z.CurrencyDecimal)return Y[i.KH2.NumberSymbols][z.Decimal];if(Ce===z.CurrencyGroup)return Y[i.KH2.NumberSymbols][z.Group]}return ue}function Oe(B,Ce){return(0,i.H5H)(B)[i.KH2.NumberFormats][Ce]}function tt(B){return(0,i.H5H)(B)[i.KH2.CurrencySymbol]||null}function Qe(B){return(0,i.H5H)(B)[i.KH2.CurrencyName]||null}function _t(B){return(0,i.uq$)(B)}const mt=i.mq5;function Vt(B){if(!B[i.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${B[i.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ot(B){const Ce=(0,i.H5H)(B);return Vt(Ce),(Ce[i.KH2.ExtraData][2]||[]).map(ue=>"string"==typeof ue?De(ue):[De(ue[0]),De(ue[1])])}function Fe(B,Ce,Y){const ue=(0,i.H5H)(B);Vt(ue);const It=Re([ue[i.KH2.ExtraData][0],ue[i.KH2.ExtraData][1]],Ce)||[];return Re(It,Y)||[]}function Ye(B){return(0,i.H5H)(B)[i.KH2.Directionality]}function Re(B,Ce){for(let Y=Ce;Y>-1;Y--)if(typeof B[Y]<"u")return B[Y];throw new Error("Locale data API: locale data undefined")}function De(B){const[Ce,Y]=B.split(":");return{hours:+Ce,minutes:+Y}}function He(B,Ce,Y="en"){const ue=function ht(B){return(0,i.H5H)(B)[i.KH2.Currencies]}(Y)[B]||ve[B]||[],Ke=ue[1];return"narrow"===Ce&&"string"==typeof Ke?Ke:ue[0]||B}const we=2;function Tt(B){let Ce;const Y=ve[B];return Y&&(Ce=Y[2]),"number"==typeof Ce?Ce:we}const ct=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,tn={},Ee=/((?:[^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]*)/;var se=function(B){return B[B.Short=0]="Short",B[B.ShortGMT=1]="ShortGMT",B[B.Long=2]="Long",B[B.Extended=3]="Extended",B}(se||{}),be=function(B){return B[B.FullYear=0]="FullYear",B[B.Month=1]="Month",B[B.Date=2]="Date",B[B.Hours=3]="Hours",B[B.Minutes=4]="Minutes",B[B.Seconds=5]="Seconds",B[B.FractionalSeconds=6]="FractionalSeconds",B[B.Day=7]="Day",B}(be||{}),je=function(B){return B[B.DayPeriods=0]="DayPeriods",B[B.Days=1]="Days",B[B.Months=2]="Months",B[B.Eras=3]="Eras",B}(je||{});function ft(B,Ce,Y,ue){let Ke=function Rt(B){if(fn(B))return B;if("number"==typeof B&&!isNaN(B))return new Date(B);if("string"==typeof B){if(B=B.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(B)){const[Ke,It=1,Wt=1]=B.split("-").map(Cn=>+Cn);return kt(Ke,It-1,Wt)}const Y=parseFloat(B);if(!isNaN(B-Y))return new Date(Y);let ue;if(ue=B.match(ct))return function Lt(B){const Ce=new Date(0);let Y=0,ue=0;const Ke=B[8]?Ce.setUTCFullYear:Ce.setFullYear,It=B[8]?Ce.setUTCHours:Ce.setHours;B[9]&&(Y=Number(B[9]+B[10]),ue=Number(B[9]+B[11])),Ke.call(Ce,Number(B[1]),Number(B[2])-1,Number(B[3]));const Wt=Number(B[4]||0)-Y,Cn=Number(B[5]||0)-ue,Ri=Number(B[6]||0),Gi=Math.floor(1e3*parseFloat("0."+(B[7]||0)));return It.call(Ce,Wt,Cn,Ri,Gi),Ce}(ue)}const Ce=new Date(B);if(!fn(Ce))throw new Error(`Unable to convert "${B}" into a date`);return Ce}(B);Ce=Yt(Y,Ce)||Ce;let Cn,Wt=[];for(;Ce;){if(Cn=Ee.exec(Ce),!Cn){Wt.push(Ce);break}{Wt=Wt.concat(Cn.slice(1));const ni=Wt.pop();if(!ni)break;Ce=ni}}let Ri=Ke.getTimezoneOffset();ue&&(Ri=qe(ue,Ri),Ke=function St(B,Ce,Y){const ue=Y?-1:1,Ke=B.getTimezoneOffset();return function Bt(B,Ce){return(B=new Date(B.getTime())).setMinutes(B.getMinutes()+Ce),B}(B,ue*(qe(Ce,Ke)-Ke))}(Ke,ue,!0));let Gi="";return Wt.forEach(ni=>{const kn=function Xe(B){if(ut[B])return ut[B];let Ce;switch(B){case"G":case"GG":case"GGG":Ce=wn(je.Eras,V.Abbreviated);break;case"GGGG":Ce=wn(je.Eras,V.Wide);break;case"GGGGG":Ce=wn(je.Eras,V.Narrow);break;case"y":Ce=An(be.FullYear,1,0,!1,!0);break;case"yy":Ce=An(be.FullYear,2,0,!0,!0);break;case"yyy":Ce=An(be.FullYear,3,0,!1,!0);break;case"yyyy":Ce=An(be.FullYear,4,0,!1,!0);break;case"Y":Ce=Ct(1);break;case"YY":Ce=Ct(2,!0);break;case"YYY":Ce=Ct(3);break;case"YYYY":Ce=Ct(4);break;case"M":case"L":Ce=An(be.Month,1,1);break;case"MM":case"LL":Ce=An(be.Month,2,1);break;case"MMM":Ce=wn(je.Months,V.Abbreviated);break;case"MMMM":Ce=wn(je.Months,V.Wide);break;case"MMMMM":Ce=wn(je.Months,V.Narrow);break;case"LLL":Ce=wn(je.Months,V.Abbreviated,$.Standalone);break;case"LLLL":Ce=wn(je.Months,V.Wide,$.Standalone);break;case"LLLLL":Ce=wn(je.Months,V.Narrow,$.Standalone);break;case"w":Ce=Qn(1);break;case"ww":Ce=Qn(2);break;case"W":Ce=Qn(1,!0);break;case"d":Ce=An(be.Date,1);break;case"dd":Ce=An(be.Date,2);break;case"c":case"cc":Ce=An(be.Day,1);break;case"ccc":Ce=wn(je.Days,V.Abbreviated,$.Standalone);break;case"cccc":Ce=wn(je.Days,V.Wide,$.Standalone);break;case"ccccc":Ce=wn(je.Days,V.Narrow,$.Standalone);break;case"cccccc":Ce=wn(je.Days,V.Short,$.Standalone);break;case"E":case"EE":case"EEE":Ce=wn(je.Days,V.Abbreviated);break;case"EEEE":Ce=wn(je.Days,V.Wide);break;case"EEEEE":Ce=wn(je.Days,V.Narrow);break;case"EEEEEE":Ce=wn(je.Days,V.Short);break;case"a":case"aa":case"aaa":Ce=wn(je.DayPeriods,V.Abbreviated);break;case"aaaa":Ce=wn(je.DayPeriods,V.Wide);break;case"aaaaa":Ce=wn(je.DayPeriods,V.Narrow);break;
1case"b":case"bb":case"bbb":Ce=wn(je.DayPeriods,V.Abbreviated,$.Standalone,!0);break;case"bbbb":Ce=wn(je.DayPeriods,V.Wide,$.Standalone,!0);break;case"bbbbb":Ce=wn(je.DayPeriods,V.Narrow,$.Standalone,!0);break;case"B":case"BB":case"BBB":Ce=wn(je.DayPeriods,V.Abbreviated,$.Format,!0);break;case"BBBB":Ce=wn(je.DayPeriods,V.Wide,$.Format,!0);break;case"BBBBB":Ce=wn(je.DayPeriods,V.Narrow,$.Format,!0);break;case"h":Ce=An(be.Hours,1,-12);break;case"hh":Ce=An(be.Hours,2,-12);break;case"H":Ce=An(be.Hours,1);break;case"HH":Ce=An(be.Hours,2);break;case"m":Ce=An(be.Minutes,1);break;case"mm":Ce=An(be.Minutes,2);break;case"s":Ce=An(be.Seconds,1);break;case"ss":Ce=An(be.Seconds,2);break;case"S":Ce=An(be.FractionalSeconds,1);break;case"SS":Ce=An(be.FractionalSeconds,2);break;case"SSS":Ce=An(be.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ce=vt(se.Short);break;case"ZZZZZ":Ce=vt(se.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ce=vt(se.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ce=vt(se.Long);break;default:return null}return ut[B]=Ce,Ce}(ni);Gi+=kn?kn(Ke,Y,Ri):"''"===ni?"'":ni.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Gi}function kt(B,Ce,Y){const ue=new Date(0);return ue.setFullYear(B,Ce,Y),ue.setHours(0,0,0),ue}function Yt(B,Ce){const Y=re(B);if(tn[Y]??={},tn[Y][Ce])return tn[Y][Ce];let ue="";switch(Ce){case"shortDate":ue=ye(B,oe.Short);break;case"mediumDate":ue=ye(B,oe.Medium);break;case"longDate":ue=ye(B,oe.Long);break;case"fullDate":ue=ye(B,oe.Full);break;case"shortTime":ue=Pe(B,oe.Short);break;case"mediumTime":ue=Pe(B,oe.Medium);break;case"longTime":ue=Pe(B,oe.Long);break;case"fullTime":ue=Pe(B,oe.Full);break;case"short":const Ke=Yt(B,"shortTime"),It=Yt(B,"shortDate");ue=yn(Me(B,oe.Short),[Ke,It]);break;case"medium":const Wt=Yt(B,"mediumTime"),Cn=Yt(B,"mediumDate");ue=yn(Me(B,oe.Medium),[Wt,Cn]);break;case"long":const Ri=Yt(B,"longTime"),Gi=Yt(B,"longDate");ue=yn(Me(B,oe.Long),[Ri,Gi]);break;case"full":const ni=Yt(B,"fullTime"),kn=Yt(B,"fullDate");ue=yn(Me(B,oe.Full),[ni,kn])}return ue&&(tn[Y][Ce]=ue),ue}function yn(B,Ce){return Ce&&(B=B.replace(/\{([^}]+)}/g,function(Y,ue){return null!=Ce&&ue in Ce?Ce[ue]:Y})),B}function ln(B,Ce,Y="-",ue,Ke){let It="";(B<0||Ke&&B<=0)&&(Ke?B=1-B:(B=-B,It=Y));let Wt=String(B);for(;Wt.length<Ce;)Wt="0"+Wt;return ue&&(Wt=Wt.slice(Wt.length-Ce)),It+Wt}function An(B,Ce,Y=0,ue=!1,Ke=!1){return function(It,Wt){let Cn=function un(B,Ce){switch(B){case be.FullYear:return Ce.getFullYear();case be.Month:return Ce.getMonth();case be.Date:return Ce.getDate();case be.Hours:return Ce.getHours();case be.Minutes:return Ce.getMinutes();case be.Seconds:return Ce.getSeconds();case be.FractionalSeconds:return Ce.getMilliseconds();case be.Day:return Ce.getDay();default:throw new Error(`Unknown DateType value "${B}".`)}}(B,It);if((Y>0||Cn>-Y)&&(Cn+=Y),B===be.Hours)0===Cn&&-12===Y&&(Cn=12);else if(B===be.FractionalSeconds)return function Mn(B,Ce){return ln(B,3).substring(0,Ce)}(Cn,Ce);const Ri=We(Wt,z.MinusSign);return ln(Cn,Ce,Ri,ue,Ke)}}function wn(B,Ce,Y=$.Format,ue=!1){return function(Ke,It){return function Xn(B,Ce,Y,ue,Ke,It){switch(Y){case je.Months:return J(Ce,Ke,ue)[B.getMonth()];case je.Days:return Se(Ce,Ke,ue)[B.getDay()];case je.DayPeriods:const Wt=B.getHours(),Cn=B.getMinutes();if(It){const Gi=Ot(Ce),ni=Fe(Ce,Ke,ue),kn=Gi.findIndex(Ki=>{if(Array.isArray(Ki)){const[$n,ae]=Ki,A=Wt>=$n.hours&&Cn>=$n.minutes,x=Wt<ae.hours||Wt===ae.hours&&Cn<ae.minutes;if($n.hours<ae.hours){if(A&&x)return!0}else if(A||x)return!0}else if(Ki.hours===Wt&&Ki.minutes===Cn)return!0;return!1});if(-1!==kn)return ni[kn]}return ee(Ce,Ke,ue)[Wt<12?0:1];case je.Eras:return de(Ce,ue)[B.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Y}`)}}(Ke,It,B,Ce,Y,ue)}}function vt(B){return function(Ce,Y,ue){const Ke=-1*ue,It=We(Y,z.MinusSign),Wt=Ke>0?Math.floor(Ke/60):Math.ceil(Ke/60);switch(B){case se.Short:return(Ke>=0?"+":"")+ln(Wt,2,It)+ln(Math.abs(Ke%60),2,It);case se.ShortGMT:return"GMT"+(Ke>=0?"+":"")+ln(Wt,1,It);case se.Long:return"GMT"+(Ke>=0?"+":"")+ln(Wt,2,It)+":"+ln(Math.abs(Ke%60),2,It);case se.Extended:return 0===ue?"Z":(Ke>=0?"+":"")+ln(Wt,2,It)+":"+ln(Math.abs(Ke%60),2,It);default:throw new Error(`Unknown zone width "${B}"`)}}}const Dt=0,ze=4;function Gt(B){const Ce=B.getDay(),Y=0===Ce?-3:ze-Ce;return kt(B.getFullYear(),B.getMonth(),B.getDate()+Y)}function Qn(B,Ce=!1){return function(Y,ue){let Ke;if(Ce){const It=new Date(Y.getFullYear(),Y.getMonth(),1).getDay()-1,Wt=Y.getDate();Ke=1+Math.floor((Wt+It)/7)}else{const It=Gt(Y),Wt=function on(B){const Ce=kt(B,Dt,1).getDay();return kt(B,0,1+(Ce<=ze?ze:ze+7)-Ce)}(It.getFullYear()),Cn=It.getTime()-Wt.getTime();Ke=1+Math.round(Cn/6048e5)}return ln(Ke,B,We(ue,z.MinusSign))}}function Ct(B,Ce=!1){return function(Y,ue){return ln(Gt(Y).getFullYear(),B,We(ue,z.MinusSign),Ce)}}const ut={};function qe(B,Ce){B=B.replace(/:/g,"");const Y=Date.parse("Jan 01, 1970 00:00:00 "+B)/6e4;return isNaN(Y)?Ce:Y}function fn(B){return B instanceof Date&&!isNaN(B.valueOf())}
1const cn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Kt=22,Ue=".",at="0",xt=";",Zt=",",rn="#",dn="\xa4",sn="%";function ai(B,Ce,Y,ue,Ke,It,Wt=!1){let Cn="",Ri=!1;if(isFinite(B)){let Gi=function Q(B){let ue,Ke,It,Wt,Cn,Ce=Math.abs(B)+"",Y=0;for((Ke=Ce.indexOf(Ue))>-1&&(Ce=Ce.replace(Ue,"")),(It=Ce.search(/e/i))>0?(Ke<0&&(Ke=It),Ke+=+Ce.slice(It+1),Ce=Ce.substring(0,It)):Ke<0&&(Ke=Ce.length),It=0;Ce.charAt(It)===at;It++);if(It===(Cn=Ce.length))ue=[0],Ke=1;else{for(Cn--;Ce.charAt(Cn)===at;)Cn--;for(Ke-=It,ue=[],Wt=0;It<=Cn;It++,Wt++)ue[Wt]=Number(Ce.charAt(It))}return Ke>Kt&&(ue=ue.splice(0,Kt-1),Y=Ke-1,Ke=1),{digits:ue,exponent:Y,integerLen:Ke}}(B);Wt&&(Gi=function H(B){if(0===B.digits[0])return B;const Ce=B.digits.length-B.integerLen;return B.exponent?B.exponent+=2:(0===Ce?B.digits.push(0,0):1===Ce&&B.digits.push(0),B.integerLen+=2),B}(Gi));let ni=Ce.minInt,kn=Ce.minFrac,Ki=Ce.maxFrac;if(It){const fe=It.match(cn);if(null===fe)throw new Error(`${It} is not a valid digit info`);const Be=fe[1],Ze=fe[3],et=fe[5];null!=Be&&(ni=lt(Be)),null!=Ze&&(kn=lt(Ze)),null!=et?Ki=lt(et):null!=Ze&&kn>Ki&&(Ki=kn)}!function Te(B,Ce,Y){if(Ce>Y)throw new Error(`The minimum number of digits after fraction (${Ce}) is higher than the maximum (${Y}).`);let ue=B.digits,Ke=ue.length-B.integerLen;const It=Math.min(Math.max(Ce,Ke),Y);let Wt=It+B.integerLen,Cn=ue[Wt];if(Wt>0){ue.splice(Math.max(B.integerLen,Wt));for(let kn=Wt;kn<ue.length;kn++)ue[kn]=0}else{Ke=Math.max(0,Ke),B.integerLen=1,ue.length=Math.max(1,Wt=It+1),ue[0]=0;for(let kn=1;kn<Wt;kn++)ue[kn]=0}if(Cn>=5)if(Wt-1<0){for(let kn=0;kn>Wt;kn--)ue.unshift(0),B.integerLen++;ue.unshift(1),B.integerLen++}else ue[Wt-1]++;for(;Ke<Math.max(0,It);Ke++)ue.push(0);let Ri=0!==It;const Gi=Ce+B.integerLen,ni=ue.reduceRight(function(kn,Ki,$n,ae){return ae[$n]=(Ki+=kn)<10?Ki:Ki-10,Ri&&(0===ae[$n]&&$n>=Gi?ae.pop():Ri=!1),Ki>=10?1:0},0);ni&&(ue.unshift(ni),B.integerLen++)}(Gi,kn,Ki);let $n=Gi.digits,ae=Gi.integerLen;const A=Gi.exponent;let x=[];for(Ri=$n.every(fe=>!fe);ae<ni;ae++)$n.unshift(0);for(;ae<0;ae++)$n.unshift(0);ae>0?x=$n.splice(ae,$n.length):(x=$n,$n=[0]);const X=[];for($n.length>=Ce.lgSize&&X.unshift($n.splice(-Ce.lgSize,$n.length).join(""));$n.length>Ce.gSize;)X.unshift($n.splice(-Ce.gSize,$n.length).join(""));$n.length&&X.unshift($n.join("")),Cn=X.join(We(Y,ue)),x.length&&(Cn+=We(Y,Ke)+x.join("")),A&&(Cn+=We(Y,z.Exponential)+"+"+A)}else Cn=We(Y,z.Infinity);return Cn=B<0&&!Ri?Ce.negPre+Cn+Ce.negSuf:Ce.posPre+Cn+Ce.posSuf,Cn}function _i(B,Ce,Y,ue,Ke){const Wt=ne(Oe(Ce,me.Currency),We(Ce,z.MinusSign));return Wt.minFrac=Tt(ue),Wt.maxFrac=Wt.minFrac,ai(B,Wt,Ce,z.CurrencyGroup,z.CurrencyDecimal,Ke).replace(dn,Y).replace(dn,"").trim()}function pn(B,Ce,Y){return ai(B,ne(Oe(Ce,me.Percent),We(Ce,z.MinusSign)),Ce,z.Group,z.Decimal,Y,!0).replace(new RegExp(sn,"g"),We(Ce,z.PercentSign))}function Pn(B,Ce,Y){return ai(B,ne(Oe(Ce,me.Decimal),We(Ce,z.MinusSign)),Ce,z.Group,z.Decimal,Y)}function ne(B,Ce="-"){const Y={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ue=B.split(xt),Ke=ue[0],It=ue[1],Wt=-1!==Ke.indexOf(Ue)?Ke.split(Ue):[Ke.substring(0,Ke.lastIndexOf(at)+1),Ke.substring(Ke.lastIndexOf(at)+1)],Cn=Wt[0],Ri=Wt[1]||"";Y.posPre=Cn.substring(0,Cn.indexOf(rn));for(let ni=0;ni<Ri.length;ni++){const kn=Ri.charAt(ni);kn===at?Y.minFrac=Y.maxFrac=ni+1:kn===rn?Y.maxFrac=ni+1:Y.posSuf+=kn}const Gi=Cn.split(Zt);if(Y.gSize=Gi[1]?Gi[1].length:0,Y.lgSize=Gi[2]||Gi[1]?(Gi[2]||Gi[1]).length:0,It){const ni=Ke.length-Y.posPre.length-Y.posSuf.length,kn=It.indexOf(rn);Y.negPre=It.substring(0,kn).replace(/'/g,""),Y.negSuf=It.slice(kn+ni).replace(/'/g,"")}else Y.negPre=Ce+Y.posPre,Y.negSuf=Y.posSuf;return Y}function lt(B){const Ce=parseInt(B);if(isNaN(Ce))throw new Error("Invalid integer literal when parsing "+B);return Ce}let Pt=(()=>{class B{static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275prov=i.jDH({token:B,factory:function(ue){let Ke=null;return ue?Ke=new ue:(It=i.KVO(i.xe9),Ke=new Kn(It)),Ke;var It},providedIn:"root"})}}return B})();function Sn(B,Ce,Y,ue){let Ke=`=${B}`;if(Ce.indexOf(Ke)>-1||(Ke=Y.getPluralCategory(B,ue),Ce.indexOf(Ke)>-1))return Ke;if(Ce.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${B}"`)}let Kn=(()=>{class B extends Pt{constructor(Y){super(),this.locale=Y}getPluralCategory(Y,ue){switch(mt(ue||this.locale)(Y)){case xe.Zero:return"zero";case xe.One:return"one";case xe.Two:return"two";case xe.Few:return"few";case xe.Many:return"many";default:return"other"}}static{this.\u0275fac=function(ue){return new(ue||B)(i.KVO(i.xe9))}}static{this.\u0275prov=i.jDH({token:B,factory:B.\u0275fac})}}return B})();function Ht(B,Ce,Y){return(0,i.XSP)(B,Ce,Y)}function Jn(B,Ce){Ce=encodeURIComponent(Ce);for(const Y of B.split(";")){const ue=Y.indexOf("="),[Ke,It]=-1==ue?[Y,""]:[Y.slice(0,ue),Y.slice(ue+1)];if(Ke.trim()===Ce)return decodeURIComponent(It)}return null}const ci=/\s+/,ji=[];let qi=(()=>{class B{constructor(Y,ue){this._ngEl=Y,this._renderer=ue,this.initialClasses=ji,this.stateMap=new Map}set klass(Y){this.initialClasses=null!=Y?Y.trim().split(ci):ji}set ngClass(Y){this.rawClass="string"==typeof Y?Y.trim().split(ci):Y}ngDoCheck(){for(const ue of this.initialClasses)this._updateState(ue,!0);const Y=this.rawClass;if(Array.isArray(Y)||Y instanceof Set)for(const ue of Y)this._updateState(ue,!0);else if(null!=Y)for(const ue of Object.keys(Y))this._updateState(ue,!!Y[ue]);this._applyStateDiff()}_updateState(Y,ue){const Ke=this.stateMap.get(Y);void 0!==Ke?(Ke.enabled!==ue&&(Ke.changed=!0,Ke.enabled=ue),Ke.touched=!0):this.stateMap.set(Y,{enabled:ue,changed:!0,touched:!0})}_applyStateDiff(){for(const Y of this.stateMap){const ue=Y[0],Ke=Y[1];Ke.changed?(this._toggleClass(ue,Ke.enabled),Ke.changed=!1):Ke.touched||(Ke.enabled&&this._toggleClass(ue,!1),this.stateMap.delete(ue)),Ke.touched=!1}}
1_toggleClass(Y,ue){(Y=Y.trim()).length>0&&Y.split(ci).forEach(Ke=>{ue?this._renderer.addClass(this._ngEl.nativeElement,Ke):this._renderer.removeClass(this._ngEl.nativeElement,Ke)})}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.aKT),i.rXU(i.sFG))}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return B})(),Fn=(()=>{class B{constructor(Y){this._viewContainerRef=Y,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(Y){return void 0!==Y.ngComponentOutletNgModule||void 0!==Y.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Y){return void 0!==Y.ngComponentOutlet||void 0!==Y.ngComponentOutletContent||void 0!==Y.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(Y)}ngOnChanges(Y){if(this._needToReCreateComponentInstance(Y)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const ue=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Y)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,i.w6W)(this.ngComponentOutletNgModule,Ve(ue)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Ve(ue)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:ue,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Y of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Y,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Y){for(const[ue,Ke]of this._inputsUsed)Ke?(Y.setInput(ue,this.ngComponentOutletInputs[ue]),this._inputsUsed.set(ue,!1)):(Y.setInput(ue,void 0),this._inputsUsed.delete(ue))}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.c1b))}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[i.OA$]})}}return B})();function Ve(B){return B.get(i.Vns).injector}class rt{constructor(Ce,Y,ue,Ke){this.$implicit=Ce,this.ngForOf=Y,this.index=ue,this.count=Ke}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let nt=(()=>{class B{set ngForOf(Y){this._ngForOf=Y,this._ngForOfDirty=!0}set ngForTrackBy(Y){this._trackByFn=Y}get ngForTrackBy(){return this._trackByFn}constructor(Y,ue,Ke){this._viewContainer=Y,this._template=ue,this._differs=Ke,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Y){Y&&(this._template=Y)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Y=this._ngForOf;!this._differ&&Y&&(this._differ=this._differs.find(Y).create(this.ngForTrackBy))}if(this._differ){const Y=this._differ.diff(this._ngForOf);Y&&this._applyChanges(Y)}}_applyChanges(Y){const ue=this._viewContainer;Y.forEachOperation((Ke,It,Wt)=>{if(null==Ke.previousIndex)ue.createEmbeddedView(this._template,new rt(Ke.item,this._ngForOf,-1,-1),null===Wt?void 0:Wt);else if(null==Wt)ue.remove(null===It?void 0:It);else if(null!==It){const Cn=ue.get(It);ue.move(Cn,Wt),wt(Cn,Ke)}});for(let Ke=0,It=ue.length;Ke<It;Ke++){const Cn=ue.get(Ke).context;Cn.index=Ke,Cn.count=It,Cn.ngForOf=this._ngForOf}Y.forEachIdentityChange(Ke=>{wt(ue.get(Ke.currentIndex),Ke)})}static ngTemplateContextGuard(Y,ue){return!0}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.c1b),i.rXU(i.C4Q),i.rXU(i._q3))}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return B})();function wt(B,Ce){B.context.$implicit=Ce.item}let Nt=(()=>{class B{constructor(Y,ue){this._viewContainer=Y,this._context=new an,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
1Ref=null,this._elseViewRef=null,this._thenTemplateRef=ue}set ngIf(Y){this._context.$implicit=this._context.ngIf=Y,this._updateView()}set ngIfThen(Y){Ln("ngIfThen",Y),this._thenTemplateRef=Y,this._thenViewRef=null,this._updateView()}set ngIfElse(Y){Ln("ngIfElse",Y),this._elseTemplateRef=Y,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Y,ue){return!0}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.c1b),i.rXU(i.C4Q))}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return B})();class an{constructor(){this.$implicit=null,this.ngIf=null}}function Ln(B,Ce){if(Ce&&!Ce.createEmbeddedView)throw new Error(`${B} must be a TemplateRef, but received '${(0,i.Tbb)(Ce)}'.`)}class On{constructor(Ce,Y){this._viewContainerRef=Ce,this._templateRef=Y,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ce){Ce&&!this._created?this.create():!Ce&&this._created&&this.destroy()}}let Zn=(()=>{class B{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Y){this._ngSwitch=Y,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Y){this._defaultViews.push(Y)}_matchCase(Y){const ue=Y===this._ngSwitch;return this._lastCasesMatched||=ue,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ue}_updateDefaultCases(Y){if(this._defaultViews.length>0&&Y!==this._defaultUsed){this._defaultUsed=Y;for(const ue of this._defaultViews)ue.enforceState(Y)}}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return B})(),li=(()=>{class B{constructor(Y,ue,Ke){this.ngSwitch=Ke,Ke._addCase(),this._view=new On(Y,ue)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.c1b),i.rXU(i.C4Q),i.rXU(Zn,9))}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return B})(),Bn=(()=>{class B{constructor(Y,ue,Ke){Ke._addDefault(new On(Y,ue))}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.c1b),i.rXU(i.C4Q),i.rXU(Zn,9))}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return B})(),Mi=(()=>{class B{constructor(Y){this._localization=Y,this._caseViews={}}set ngPlural(Y){this._updateView(Y)}addCase(Y,ue){this._caseViews[Y]=ue}_updateView(Y){this._clearViews();const Ke=Sn(Y,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Ke])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Y){Y&&(this._activeView=Y,this._activeView.create())}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(Pt))}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}}return B})(),ri=(()=>{class B{constructor(Y,ue,Ke,It){this.value=Y;const Wt=!isNaN(Number(Y));It.addCase(Wt?`=${Y}`:Y,new On(Ke,ue))}static{this.\u0275fac=function(ue){return new(ue||B)(i.kS0("ngPluralCase"),i.rXU(i.C4Q),i.rXU(i.c1b),i.rXU(Mi,1))}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngPluralCase",""]],standalone:!0})}}return B})(),mi=(()=>{class B{constructor(Y,ue,Ke){this._ngEl=Y,this._differs=ue,this._renderer=Ke,this._ngStyle=null,this._differ=null}set ngStyle(Y){this._ngStyle=Y,!this._differ&&Y&&(this._differ=this._differs.find(Y).create())}ngDoCheck(){if(this._differ){const Y=this._differ.diff(this._ngStyle);Y&&this._applyChanges(Y)}}_setStyle(Y,ue){const[Ke,It]=Y.split("."),Wt=-1===Ke.indexOf("-")?void 0:i.czy.DashCase;null!=ue?this._renderer.setStyle(this._ngEl.nativeElement,Ke,It?`${ue}${It}`:ue,Wt):this._renderer.removeStyle(this._ngEl.nativeElement,Ke,Wt)}_applyChanges(Y){Y.forEachRemovedItem(ue=>this._setStyle(ue.key,null)),Y.forEachAddedItem(ue=>this._setStyle(ue.key,ue.currentValue)),Y.forEachChangedItem(ue=>this._setStyle(ue.key,ue.currentValue))}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.aKT),i.rXU(i.MKu),i.rXU(i.sFG))}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return B})(),Wi=(()=>
1{class B{constructor(Y){this._viewContainerRef=Y,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Y){if(this._shouldRecreateView(Y)){const ue=this._viewContainerRef;if(this._viewRef&&ue.remove(ue.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Ke=this._createContextForwardProxy();this._viewRef=ue.createEmbeddedView(this.ngTemplateOutlet,Ke,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Y){return!!Y.ngTemplateOutlet||!!Y.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Y,ue,Ke)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ue,Ke),get:(Y,ue,Ke)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ue,Ke)}})}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.c1b))}}static{this.\u0275dir=i.FsC({type:B,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.OA$]})}}return B})();function Dn(B,Ce){return new i.wOt(2100,!1)}class ro{createSubscription(Ce,Y){return(0,i.O8t)(()=>Ce.subscribe({next:Y,error:ue=>{throw ue}}))}dispose(Ce){(0,i.O8t)(()=>Ce.unsubscribe())}}class Jo{createSubscription(Ce,Y){return Ce.then(Y,ue=>{throw ue})}dispose(Ce){}}const Ur=new Jo,er=new ro;let oo=(()=>{class B{constructor(Y){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Y}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Y){if(!this._obj){if(Y)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Y)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Y!==this._obj?(this._dispose(),this.transform(Y)):this._latestValue}_subscribe(Y){this._obj=Y,this._strategy=this._selectStrategy(Y),this._subscription=this._strategy.createSubscription(Y,ue=>this._updateLatestValue(Y,ue))}_selectStrategy(Y){if((0,i.jNT)(Y))return Ur;if((0,i.zjR)(Y))return er;throw Dn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Y,ue){Y===this._obj&&(this._latestValue=ue,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.gRc,16))}}static{this.\u0275pipe=i.EJ8({name:"async",type:B,pure:!1,standalone:!0})}}return B})(),_o=(()=>{class B{transform(Y){if(null==Y)return null;if("string"!=typeof Y)throw Dn();return Y.toLowerCase()}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275pipe=i.EJ8({name:"lowercase",type:B,pure:!0,standalone:!0})}}return B})();const qn=/(?:[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\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
10EB3\u0EBD\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-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\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]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\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;let mo=(()=>{class B{transform(Y){if(null==Y)return null;if("string"!=typeof Y)throw Dn();return Y.replace(qn,ue=>
1ue[0].toUpperCase()+ue.slice(1).toLowerCase())}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275pipe=i.EJ8({name:"titlecase",type:B,pure:!0,standalone:!0})}}return B})(),zs=(()=>{class B{transform(Y){if(null==Y)return null;if("string"!=typeof Y)throw Dn();return Y.toUpperCase()}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275pipe=i.EJ8({name:"uppercase",type:B,pure:!0,standalone:!0})}}return B})();const Xs=new i.nKC(""),Xa=new i.nKC("");let Pa=(()=>{class B{constructor(Y,ue,Ke){this.locale=Y,this.defaultTimezone=ue,this.defaultOptions=Ke}transform(Y,ue,Ke,It){if(null==Y||""===Y||Y!=Y)return null;try{return ft(Y,ue??this.defaultOptions?.dateFormat??"mediumDate",It||this.locale,Ke??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Wt){throw Dn()}}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.xe9,16),i.rXU(Xs,24),i.rXU(Xa,24))}}static{this.\u0275pipe=i.EJ8({name:"date",type:B,pure:!0,standalone:!0})}}return B})();const Gr=/#/g;let Io=(()=>{class B{constructor(Y){this._localization=Y}transform(Y,ue,Ke){if(null==Y)return"";if("object"!=typeof ue||null===ue)throw Dn();return ue[Sn(Y,Object.keys(ue),this._localization,Ke)].replace(Gr,Y.toString())}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(Pt,16))}}static{this.\u0275pipe=i.EJ8({name:"i18nPlural",type:B,pure:!0,standalone:!0})}}return B})(),jo=(()=>{class B{transform(Y,ue){if(null==Y)return"";if("object"!=typeof ue||"string"!=typeof Y)throw Dn();return ue.hasOwnProperty(Y)?ue[Y]:ue.hasOwnProperty("other")?ue.other:""}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275pipe=i.EJ8({name:"i18nSelect",type:B,pure:!0,standalone:!0})}}return B})(),Zo=(()=>{class B{transform(Y){return JSON.stringify(Y,null,2)}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275pipe=i.EJ8({name:"json",type:B,pure:!1,standalone:!0})}}return B})(),ur=(()=>{class B{constructor(Y){this.differs=Y,this.keyValues=[],this.compareFn=As}transform(Y,ue=As){if(!Y||!(Y instanceof Map)&&"object"!=typeof Y)return null;this.differ??=this.differs.find(Y).create();const Ke=this.differ.diff(Y),It=ue!==this.compareFn;return Ke&&(this.keyValues=[],Ke.forEachItem(Wt=>{this.keyValues.push(function qo(B,Ce){return{key:B,value:Ce}}(Wt.key,Wt.currentValue))})),(Ke||It)&&(this.keyValues.sort(ue),this.compareFn=ue),this.keyValues}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.MKu,16))}}static{this.\u0275pipe=i.EJ8({name:"keyvalue",type:B,pure:!1,standalone:!0})}}return B})();function As(B,Ce){const Y=B.key,ue=Ce.key;if(Y===ue)return 0;if(void 0===Y)return 1;if(void 0===ue)return-1;if(null===Y)return 1;if(null===ue)return-1;if("string"==typeof Y&&"string"==typeof ue)return Y<ue?-1:1;if("number"==typeof Y&&"number"==typeof ue)return Y-ue;if("boolean"==typeof Y&&"boolean"==typeof ue)return Y<ue?-1:1;const Ke=String(Y),It=String(ue);return Ke==It?0:Ke<It?-1:1}let hi=(()=>{class B{constructor(Y){this._locale=Y}transform(Y,ue,Ke){if(!ps(Y))return null;Ke||=this._locale;try{return Pn(Yi(Y),Ke,ue)}catch(It){throw Dn()}}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.xe9,16))}}static{this.\u0275pipe=i.EJ8({name:"number",type:B,pure:!0,standalone:!0})}}return B})(),Ni=(()=>{class B{constructor(Y){this._locale=Y}transform(Y,ue,Ke){if(!ps(Y))return null;Ke||=this._locale;try{return pn(Yi(Y),Ke,ue)}catch(It){throw Dn()}}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.xe9,16))}}static{this.\u0275pipe=i.EJ8({name:"percent",type:B,pure:!0,standalone:!0})}}return B})(),dr=(()=>{class B{constructor(Y,ue="USD"){this._locale=Y,this._defaultCurrencyCode=ue}transform(Y,ue=this._defaultCurrencyCode,Ke="symbol",It,Wt){if(!ps(Y))return null;Wt||=this._locale,"boolean"==typeof Ke&&(Ke=Ke?"symbol":"code");let Cn=ue||this._defaultCurrencyCode;"code"!==Ke&&(Cn="symbol"===Ke||"symbol-narrow"===Ke?He(Cn,"symbol"===Ke?"wide":"narrow",Wt):Ke);try{return _i(Yi(Y),Wt,Cn,ue,It)}catch(Ri){throw Dn()}}static{this.\u0275fac=function(ue){return new(ue||B)(i.rXU(i.xe9,16),i.rXU(i.Ocv,16))}}static{this.\u0275pipe=i.EJ8({name:"currency",type:B,pure:!0,standalone:!0})}}return B})();function ps(B){return!(null==B||""===B||B!=B)}
1function Yi(B){if("string"==typeof B&&!isNaN(Number(B)-parseFloat(B)))return Number(B);if("number"!=typeof B)throw new Error(`${B} is not a number`);return B}let es=(()=>{class B{transform(Y,ue,Ke){if(null==Y)return null;if(!this.supports(Y))throw Dn();return Y.slice(ue,Ke)}supports(Y){return"string"==typeof Y||Array.isArray(Y)}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275pipe=i.EJ8({name:"slice",type:B,pure:!1,standalone:!0})}}return B})(),Kr=(()=>{class B{static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275mod=i.$C({type:B})}static{this.\u0275inj=i.G2t({})}}return B})();const ts="browser",xo="server";function $i(B){return B===ts}function Cr(B){return B===xo}const Hr=new i.RxE("18.2.13");let Po=(()=>{class B{static{this.\u0275prov=(0,i.jDH)({token:B,providedIn:"root",factory:()=>$i((0,i.WQX)(i.Agw))?new Mo((0,i.WQX)(p),window):new ns})}}return B})();class Mo{constructor(Ce,Y){this.document=Ce,this.window=Y,this.offset=()=>[0,0]}setOffset(Ce){this.offset=Array.isArray(Ce)?()=>Ce:Ce}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ce){this.window.scrollTo(Ce[0],Ce[1])}scrollToAnchor(Ce){const Y=function Mr(B,Ce){const Y=B.getElementById(Ce)||B.getElementsByName(Ce)[0];if(Y)return Y;if("function"==typeof B.createTreeWalker&&B.body&&"function"==typeof B.body.attachShadow){const ue=B.createTreeWalker(B.body,NodeFilter.SHOW_ELEMENT);let Ke=ue.currentNode;for(;Ke;){const It=Ke.shadowRoot;if(It){const Wt=It.getElementById(Ce)||It.querySelector(`[name="${Ce}"]`);if(Wt)return Wt}Ke=ue.nextNode()}}return null}(this.document,Ce);Y&&(this.scrollToElement(Y),Y.focus())}setHistoryScrollRestoration(Ce){this.window.history.scrollRestoration=Ce}scrollToElement(Ce){const Y=Ce.getBoundingClientRect(),ue=Y.left+this.window.pageXOffset,Ke=Y.top+this.window.pageYOffset,It=this.offset();this.window.scrollTo(ue-It[0],Ke-It[1])}}class ns{setOffset(Ce){}getScrollPosition(){return[0,0]}scrollToPosition(Ce){}scrollToAnchor(Ce){}setHistoryScrollRestoration(Ce){}}class is{}const Rr="20";function Ji(B){return/^https?:\/\//.test(B)}function tr(B){if("string"!=typeof B||""===B.trim())return!1;try{return new URL(B),!0}catch{return!1}}function br(B){return B.startsWith("/")?B.slice(1):B}const Sr=B=>B.src,Ts=new i.nKC("",{providedIn:"root",factory:()=>Sr});function Nr(B,Ce){return function(ue){return tr(ue)||function ao(){throw new i.wOt(2959,!1)}(),ue=function so(B){return B.endsWith("/")?B.slice(0,-1):B}(ue),[{provide:Ts,useValue:Wt=>(Ji(Wt.src)&&function rr(){throw new i.wOt(2959,!1)}(),B(ue,{...Wt,src:br(Wt.src)}))}]}}const wi=Nr(Ar);function Ar(B,Ce){let Y="format=auto";return Ce.width&&(Y+=`,width=${Ce.width}`),Ce.isPlaceholder&&(Y+=`,quality=${Rr}`),`${B}/cdn-cgi/image/${Y}/${Ce.src}`}const Ei=Nr(co);function co(B,Ce){let ue="f_auto,"+(Ce.isPlaceholder?"q_auto:low":"q_auto");return Ce.width&&(ue+=`,w_${Ce.width}`),`${B}/image/upload/${ue}/${Ce.src}`}const vo=Nr(wr);function wr(B,Ce){const{src:Y,width:ue}=Ce,Ke=[];ue&&Ke.push(`w-${ue}`),Ce.isPlaceholder&&Ke.push(`q-${Rr}`);const It=Ke.length?[B,`tr:${Ke.join(",")}`,Y]:[B,Y];return new URL(It.join("/")).href}const Eo=Nr(Wo);function Wo(B,Ce){const Y=new URL(`${B}/${Ce.src}`);return Y.searchParams.set("auto","format"),Ce.width&&Y.searchParams.set("w",Ce.width.toString()),Ce.isPlaceholder&&Y.searchParams.set("q",Rr),Y.href}function Js(B){if(B&&!tr(B))throw new i.wOt(2959,!1);return B&&(B=new URL(B).origin),[{provide:Ts,useValue:ue=>function le(B,Ce){const Y=new URL(Ce??"https://a/");Y.pathname="/.netlify/images",!Ji(B.src)&&!B.src.startsWith("/")&&(B.src="/"+B.src),Y.searchParams.set("url",B.src),B.width&&Y.searchParams.set("w",B.width.toString());B.isPlaceholder&&!(B.loaderParams?.quality??B.loaderParams?.q)&&Y.searchParams.set("q",Rr);for(const[Ke,It]of Object.entries(B.loaderParams??{}))yo.has(Ke)&&Y.searchParams.set(yo.get(Ke),It.toString());return"a"===Y.hostname?Y.href.replace(Y.origin,""):Y.href}(ue,B)}]}const yo=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),lo=new i.nKC(""),uo=new i.nKC("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let xs=(()=>{class B{constructor(){this.preloadedImages=(0,i.WQX)(uo),this.document=(0,i.WQX)(p)}createPreloadLinkTag(Y,ue,Ke,It){if(this.preloadedImages.has(ue))return;this.preloadedImages.add(ue);const Wt=Y.createElement("link");Y.setAttribute(Wt,"as","image"),Y.setAttribute(Wt,"href",ue),Y.setAttribute(Wt,"rel","preload"),Y.setAttribute(Wt,"fetchpriority","high"),It&&Y.setAttribute(Wt,"imageSizes",It),Ke&&Y.setAttribute(Wt,"imageSrcset",Ke),Y.appendChild(this.document.head,Wt)}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275prov=i.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})();const da=/^((\s*\d+w\s*(,|$)){1,})$/,Co=[1,2];let Tn=(()=>{class B{constructor(){this.imageLoader=(0,i.WQX)(Ts),this.config=function ti(B){let Ce={};return B.breakpoints&&(Ce.breakpoints=B.breakpoints.sort((Y,ue)=>Y-ue)),Object.assign({}
1,i.PUk,B,Ce)}((0,i.WQX)(i.GGh)),this.renderer=(0,i.WQX)(i.sFG),this.imgElement=(0,i.WQX)(i.aKT).nativeElement,this.injector=(0,i.WQX)(i.zZn),this.isServer=Cr((0,i.WQX)(i.Agw)),this.preloadLinkCreator=(0,i.WQX)(xs),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,i.ngT)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const Y=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),Y,this.sizes)}ngOnChanges(Y){if(Y.ngSrc&&!Y.ngSrc.isFirstChange()){const ue=this._renderedSrc;this.updateSrcAndSrcset(!0);const Ke=this._renderedSrc;null!==this.lcpObserver&&ue&&Ke&&ue!==Ke&&this.injector.get(i.SKi).runOutsideAngular(()=>{this.lcpObserver?.updateImage(ue,Ke)})}}callImageLoader(Y){let ue=Y;return this.loaderParams&&(ue.loaderParams=this.loaderParams),this.imageLoader(ue)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Y=da.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Ke=>""!==Ke).map(Ke=>{Ke=Ke.trim();const It=Y?parseFloat(Ke):parseFloat(Ke)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:It})} ${Ke}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Y}=this.config;let ue=Y;return"100vw"===this.sizes?.trim()&&(ue=Y.filter(It=>It>=640)),ue.map(It=>`${this.callImageLoader({src:this.ngSrc,width:It})} ${It}w`).join(", ")}updateSrcAndSrcset(Y=!1){Y&&(this._renderedSrc=null);const ue=this.getRewrittenSrc();let Ke;return this.setHostAttribute("src",ue),this.ngSrcset?Ke=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Ke=this.getAutomaticSrcset()),Ke&&this.setHostAttribute("srcset",Ke),Ke}getFixedSrcset(){return Co.map(ue=>`${this.callImageLoader({src:this.ngSrc,width:this.width*ue})} ${ue}x`).join(", ")}shouldGenerateAutomaticSrcset(){let Y=!1;return this.sizes||(Y=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Sr&&!Y}generatePlaceholder(Y){const{placeholderResolution:ue}=this.config;return!0===Y?`url(${this.callImageLoader({src:this.ngSrc,width:ue,isPlaceholder:!0})})`:"string"==typeof Y?`url(${Y})`:null}shouldBlurPlaceholder(Y){return!Y||!Y.hasOwnProperty("blur")||!!Y.blur}removePlaceholderOnLoad(Y){const ue=()=>{const Wt=this.injector.get(i.gRc);Ke(),It(),this.placeholder=!1,Wt.markForCheck()},Ke=this.renderer.listen(Y,"load",ue),It=this.renderer.listen(Y,"error",ue);!function ws(B,Ce){B.complete&&B.naturalWidth&&Ce()}(Y,ue)}ngOnDestroy(){}setHostAttribute(Y,ue){this.renderer.setAttribute(this.imgElement,Y,ue)}static{this.\u0275fac=function(ue){return new(ue||B)}}static{this.\u0275dir=i.FsC({type:B,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(ue,Ke){2&ue&&i.xc7("position",Ke.fill?"absolute":null)("width",Ke.fill?"100%":null)("height",Ke.fill?"100%":null)("inset",Ke.fill?"0":null)("background-size",Ke.placeholder?"cover":null)("background-position",Ke.placeholder?"50% 50%":null)("background-repeat",Ke.placeholder?"no-repeat":null)("background-image",Ke.placeholder?Ke.generatePlaceholder(Ke.placeholder):null)("filter",Ke.placeholder&&Ke.shouldBlurPlaceholder(Ke.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",ho],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",i.Udg],height:[2,"height","height",i.Udg],loading:"loading",priority:[2,"priority","priority",i.L39],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",i.L39],fill:[2,"fill","fill",i.L39],placeholder:[2,"placeholder","placeholder",oa],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[i.GFd,i.OA$]})}}return B})();function ho(B){return"string"==typeof B?B:(0,i.rcV)(B)}function oa(B){return"string"==typeof B&&"true"!==B&&"false"!==B&&""!==B?B:(0,i.L39)(B)}},21626:(he,M,r)=>{"use strict";r.d(M,{$R:()=>St,$m:()=>ci,Lr:()=>S,Nl:()=>ie,Qq:()=>
1Me,Sx:()=>fn,a7:()=>Ye,b$:()=>Rt,kG:()=>ye,yz:()=>de});var o=r(10467),i=r(54438),d=r(14421),h=r(45817),v=r(84787),_=r(43574),m=r(58728),p=r(95006),u=r(77312),E=r(49090),C=r(15539),l=r(60177);class y{}class I{}class S{constructor(rt){this.normalizedNames=new Map,this.lazyUpdate=null,rt?"string"==typeof rt?this.lazyInit=()=>{this.headers=new Map,rt.split("\n").forEach(nt=>{const wt=nt.indexOf(":");if(wt>0){const Qt=nt.slice(0,wt),Nt=Qt.toLowerCase(),an=nt.slice(wt+1).trim();this.maybeSetNormalizedName(Qt,Nt),this.headers.has(Nt)?this.headers.get(Nt).push(an):this.headers.set(Nt,[an])}})}:typeof Headers<"u"&&rt instanceof Headers?(this.headers=new Map,rt.forEach((nt,wt)=>{this.setHeaderEntries(wt,nt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(rt).forEach(([nt,wt])=>{this.setHeaderEntries(nt,wt)})}:this.headers=new Map}has(rt){return this.init(),this.headers.has(rt.toLowerCase())}get(rt){this.init();const nt=this.headers.get(rt.toLowerCase());return nt&&nt.length>0?nt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(rt){return this.init(),this.headers.get(rt.toLowerCase())||null}append(rt,nt){return this.clone({name:rt,value:nt,op:"a"})}set(rt,nt){return this.clone({name:rt,value:nt,op:"s"})}delete(rt,nt){return this.clone({name:rt,value:nt,op:"d"})}maybeSetNormalizedName(rt,nt){this.normalizedNames.has(nt)||this.normalizedNames.set(nt,rt)}init(){this.lazyInit&&(this.lazyInit instanceof S?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(rt=>this.applyUpdate(rt)),this.lazyUpdate=null))}copyFrom(rt){rt.init(),Array.from(rt.headers.keys()).forEach(nt=>{this.headers.set(nt,rt.headers.get(nt)),this.normalizedNames.set(nt,rt.normalizedNames.get(nt))})}clone(rt){const nt=new S;return nt.lazyInit=this.lazyInit&&this.lazyInit instanceof S?this.lazyInit:this,nt.lazyUpdate=(this.lazyUpdate||[]).concat([rt]),nt}applyUpdate(rt){const nt=rt.name.toLowerCase();switch(rt.op){case"a":case"s":let wt=rt.value;if("string"==typeof wt&&(wt=[wt]),0===wt.length)return;this.maybeSetNormalizedName(rt.name,nt);const Qt=("a"===rt.op?this.headers.get(nt):void 0)||[];Qt.push(...wt),this.headers.set(nt,Qt);break;case"d":const Nt=rt.value;if(Nt){let an=this.headers.get(nt);if(!an)return;an=an.filter(Ln=>-1===Nt.indexOf(Ln)),0===an.length?(this.headers.delete(nt),this.normalizedNames.delete(nt)):this.headers.set(nt,an)}else this.headers.delete(nt),this.normalizedNames.delete(nt)}}setHeaderEntries(rt,nt){const wt=(Array.isArray(nt)?nt:[nt]).map(Nt=>Nt.toString()),Qt=rt.toLowerCase();this.headers.set(Qt,wt),this.maybeSetNormalizedName(rt,Qt)}forEach(rt){this.init(),Array.from(this.normalizedNames.keys()).forEach(nt=>rt(this.normalizedNames.get(nt),this.headers.get(nt)))}}class F{encodeKey(rt){return L(rt)}encodeValue(rt){return L(rt)}decodeKey(rt){return decodeURIComponent(rt)}decodeValue(rt){return decodeURIComponent(rt)}}const U=/%(\d[a-f0-9])/gi,T={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function L(Ve){return encodeURIComponent(Ve).replace(U,(rt,nt)=>T[nt]??rt)}function Z(Ve){return`${Ve}`}class ie{constructor(rt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=rt.encoder||new F,rt.fromString){if(rt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function N(Ve,rt){const nt=new Map;return Ve.length>0&&Ve.replace(/^\?/,"").split("&").forEach(Qt=>{const Nt=Qt.indexOf("="),[an,Ln]=-1==Nt?[rt.decodeKey(Qt),""]:[rt.decodeKey(Qt.slice(0,Nt)),rt.decodeValue(Qt.slice(Nt+1))],On=nt.get(an)||[];On.push(Ln),nt.set(an,On)}),nt}(rt.fromString,this.encoder)}else rt.fromObject?(this.map=new Map,Object.keys(rt.fromObject).forEach(nt=>{const wt=rt.fromObject[nt],Qt=Array.isArray(wt)?wt.map(Z):[Z(wt)];this.map.set(nt,Qt)})):this.map=null}has(rt){return this.init(),this.map.has(rt)}get(rt){this.init();const nt=this.map.get(rt);return nt?nt[0]:null}getAll(rt){return this.init(),this.map.get(rt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(rt,nt){return this.clone({param:rt,value:nt,op:"a"})}appendAll(rt){const nt=[];return Object.keys(rt).forEach(wt=>{const Qt=rt[wt];Array.isArray(Qt)?Qt.forEach(Nt=>{nt.push({param:wt,value:Nt,op:"a"})}):nt.push({param:wt,value:Qt,op:"a"})}),this.clone(nt)}set(rt,nt){return this.clone({param:rt,value:nt,op:"s"})}delete(rt,nt){return this.clone({param:rt,value:nt,op:"d"})}toString(){return this.init(),this.keys().map(rt=>{const nt=this.encoder.encodeKey(rt);return this.map.get(rt).map(wt=>nt+"="+this.encoder.encodeValue(wt)).join("&")}).filter(rt=>""!==rt).join("&")}clone(rt){const nt=new ie({encoder:this.encoder});return nt.cloneFrom=this.cloneFrom||this,nt.updates=(this.updates||[]).concat(rt),nt}
1init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(rt=>this.map.set(rt,this.cloneFrom.map.get(rt))),this.updates.forEach(rt=>{switch(rt.op){case"a":case"s":const nt=("a"===rt.op?this.map.get(rt.param):void 0)||[];nt.push(Z(rt.value)),this.map.set(rt.param,nt);break;case"d":if(void 0===rt.value){this.map.delete(rt.param);break}{let wt=this.map.get(rt.param)||[];const Qt=wt.indexOf(Z(rt.value));-1!==Qt&&wt.splice(Qt,1),wt.length>0?this.map.set(rt.param,wt):this.map.delete(rt.param)}}}),this.cloneFrom=this.updates=null)}}class me{constructor(){this.map=new Map}set(rt,nt){return this.map.set(rt,nt),this}get(rt){return this.map.has(rt)||this.map.set(rt,rt.defaultValue()),this.map.get(rt)}delete(rt){return this.map.delete(rt),this}has(rt){return this.map.has(rt)}keys(){return this.map.keys()}}function $(Ve){return typeof ArrayBuffer<"u"&&Ve instanceof ArrayBuffer}function V(Ve){return typeof Blob<"u"&&Ve instanceof Blob}function oe(Ve){return typeof FormData<"u"&&Ve instanceof FormData}class W{constructor(rt,nt,wt,Qt){let Nt;if(this.url=nt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=rt.toUpperCase(),function xe(Ve){switch(Ve){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Qt?(this.body=void 0!==wt?wt:null,Nt=Qt):Nt=wt,Nt&&(this.reportProgress=!!Nt.reportProgress,this.withCredentials=!!Nt.withCredentials,Nt.responseType&&(this.responseType=Nt.responseType),Nt.headers&&(this.headers=Nt.headers),Nt.context&&(this.context=Nt.context),Nt.params&&(this.params=Nt.params),this.transferCache=Nt.transferCache),this.headers??=new S,this.context??=new me,this.params){const an=this.params.toString();if(0===an.length)this.urlWithParams=nt;else{const Ln=nt.indexOf("?");this.urlWithParams=nt+(-1===Ln?"?":Ln<nt.length-1?"&":"")+an}}else this.params=new ie,this.urlWithParams=nt}serializeBody(){return null===this.body?null:"string"==typeof this.body||$(this.body)||V(this.body)||oe(this.body)||function z(Ve){return typeof URLSearchParams<"u"&&Ve instanceof URLSearchParams}(this.body)?this.body:this.body instanceof ie?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||oe(this.body)?null:V(this.body)?this.body.type||null:$(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ie?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(rt={}){const nt=rt.method||this.method,wt=rt.url||this.url,Qt=rt.responseType||this.responseType,Nt=rt.transferCache??this.transferCache,an=void 0!==rt.body?rt.body:this.body,Ln=rt.withCredentials??this.withCredentials,On=rt.reportProgress??this.reportProgress;let Zn=rt.headers||this.headers,li=rt.params||this.params;const Bn=rt.context??this.context;return void 0!==rt.setHeaders&&(Zn=Object.keys(rt.setHeaders).reduce((vi,bi)=>vi.set(bi,rt.setHeaders[bi]),Zn)),rt.setParams&&(li=Object.keys(rt.setParams).reduce((vi,bi)=>vi.set(bi,rt.setParams[bi]),li)),new W(nt,wt,an,{params:li,headers:Zn,context:Bn,reportProgress:On,responseType:Qt,withCredentials:Ln,transferCache:Nt})}}var re=function(Ve){return Ve[Ve.Sent=0]="Sent",Ve[Ve.UploadProgress=1]="UploadProgress",Ve[Ve.ResponseHeader=2]="ResponseHeader",Ve[Ve.DownloadProgress=3]="DownloadProgress",Ve[Ve.Response=4]="Response",Ve[Ve.User=5]="User",Ve}(re||{});class ee{constructor(rt,nt=200,wt="OK"){this.headers=rt.headers||new S,this.status=void 0!==rt.status?rt.status:nt,this.statusText=rt.statusText||wt,this.url=rt.url||null,this.ok=this.status>=200&&this.status<300}}class Se extends ee{constructor(rt={}){super(rt),this.type=re.ResponseHeader}clone(rt={}){return new Se({headers:rt.headers||this.headers,status:void 0!==rt.status?rt.status:this.status,statusText:rt.statusText||this.statusText,url:rt.url||this.url||void 0})}}class J extends ee{constructor(rt={}){super(rt),this.type=re.Response,this.body=void 0!==rt.body?rt.body:null}clone(rt={}
1){return new J({body:void 0!==rt.body?rt.body:this.body,headers:rt.headers||this.headers,status:void 0!==rt.status?rt.status:this.status,statusText:rt.statusText||this.statusText,url:rt.url||this.url||void 0})}}class de extends ee{constructor(rt){super(rt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${rt.url||"(unknown url)"}`:`Http failure response for ${rt.url||"(unknown url)"}: ${rt.status} ${rt.statusText}`,this.error=rt.error||null}}var ye=function(Ve){return Ve[Ve.Continue=100]="Continue",Ve[Ve.SwitchingProtocols=101]="SwitchingProtocols",Ve[Ve.Processing=102]="Processing",Ve[Ve.EarlyHints=103]="EarlyHints",Ve[Ve.Ok=200]="Ok",Ve[Ve.Created=201]="Created",Ve[Ve.Accepted=202]="Accepted",Ve[Ve.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Ve[Ve.NoContent=204]="NoContent",Ve[Ve.ResetContent=205]="ResetContent",Ve[Ve.PartialContent=206]="PartialContent",Ve[Ve.MultiStatus=207]="MultiStatus",Ve[Ve.AlreadyReported=208]="AlreadyReported",Ve[Ve.ImUsed=226]="ImUsed",Ve[Ve.MultipleChoices=300]="MultipleChoices",Ve[Ve.MovedPermanently=301]="MovedPermanently",Ve[Ve.Found=302]="Found",Ve[Ve.SeeOther=303]="SeeOther",Ve[Ve.NotModified=304]="NotModified",Ve[Ve.UseProxy=305]="UseProxy",Ve[Ve.Unused=306]="Unused",Ve[Ve.TemporaryRedirect=307]="TemporaryRedirect",Ve[Ve.PermanentRedirect=308]="PermanentRedirect",Ve[Ve.BadRequest=400]="BadRequest",Ve[Ve.Unauthorized=401]="Unauthorized",Ve[Ve.PaymentRequired=402]="PaymentRequired",Ve[Ve.Forbidden=403]="Forbidden",Ve[Ve.NotFound=404]="NotFound",Ve[Ve.MethodNotAllowed=405]="MethodNotAllowed",Ve[Ve.NotAcceptable=406]="NotAcceptable",Ve[Ve.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Ve[Ve.RequestTimeout=408]="RequestTimeout",Ve[Ve.Conflict=409]="Conflict",Ve[Ve.Gone=410]="Gone",Ve[Ve.LengthRequired=411]="LengthRequired",Ve[Ve.PreconditionFailed=412]="PreconditionFailed",Ve[Ve.PayloadTooLarge=413]="PayloadTooLarge",Ve[Ve.UriTooLong=414]="UriTooLong",Ve[Ve.UnsupportedMediaType=415]="UnsupportedMediaType",Ve[Ve.RangeNotSatisfiable=416]="RangeNotSatisfiable",Ve[Ve.ExpectationFailed=417]="ExpectationFailed",Ve[Ve.ImATeapot=418]="ImATeapot",Ve[Ve.MisdirectedRequest=421]="MisdirectedRequest",Ve[Ve.UnprocessableEntity=422]="UnprocessableEntity",Ve[Ve.Locked=423]="Locked",Ve[Ve.FailedDependency=424]="FailedDependency",Ve[Ve.TooEarly=425]="TooEarly",Ve[Ve.UpgradeRequired=426]="UpgradeRequired",Ve[Ve.PreconditionRequired=428]="PreconditionRequired",Ve[Ve.TooManyRequests=429]="TooManyRequests",Ve[Ve.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Ve[Ve.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Ve[Ve.InternalServerError=500]="InternalServerError",Ve[Ve.NotImplemented=501]="NotImplemented",Ve[Ve.BadGateway=502]="BadGateway",Ve[Ve.ServiceUnavailable=503]="ServiceUnavailable",Ve[Ve.GatewayTimeout=504]="GatewayTimeout",Ve[Ve.HttpVersionNotSupported=505]="HttpVersionNotSupported",Ve[Ve.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Ve[Ve.InsufficientStorage=507]="InsufficientStorage",Ve[Ve.LoopDetected=508]="LoopDetected",Ve[Ve.NotExtended=510]="NotExtended",Ve[Ve.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Ve}(ye||{});function Pe(Ve,rt){return{body:rt,headers:Ve.headers,context:Ve.context,observe:Ve.observe,params:Ve.params,reportProgress:Ve.reportProgress,responseType:Ve.responseType,withCredentials:Ve.withCredentials,transferCache:Ve.transferCache}}let Me=(()=>{class Ve{constructor(nt){this.handler=nt}request(nt,wt,Qt={}){let Nt;if(nt instanceof W)Nt=nt;else{let On,Zn;On=Qt.headers instanceof S?Qt.headers:new S(Qt.headers),Qt.params&&(Zn=Qt.params instanceof ie?Qt.params:new ie({fromObject:Qt.params})),Nt=new W(nt,wt,void 0!==Qt.body?Qt.body:null,{headers:On,context:Qt.context,params:Zn,reportProgress:Qt.reportProgress,responseType:Qt.responseType||"json",withCredentials:Qt.withCredentials,transferCache:Qt.transferCache})}const an=(0,d.of)(Nt).pipe((0,_.H)(On=>this.handler.handle(On)));if(nt instanceof W||"events"===Qt.observe)return an;const Ln=an.pipe((0,m.p)(On=>On instanceof J));switch(Qt.observe||"body"){case"body":switch(Nt.responseType){case"arraybuffer":return Ln.pipe((0,p.T)(On=>
1{if(null!==On.body&&!(On.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return On.body}));case"blob":return Ln.pipe((0,p.T)(On=>{if(null!==On.body&&!(On.body instanceof Blob))throw new Error("Response is not a Blob.");return On.body}));case"text":return Ln.pipe((0,p.T)(On=>{if(null!==On.body&&"string"!=typeof On.body)throw new Error("Response is not a string.");return On.body}));default:return Ln.pipe((0,p.T)(On=>On.body))}case"response":return Ln;default:throw new Error(`Unreachable: unhandled observe type ${Qt.observe}}`)}}delete(nt,wt={}){return this.request("DELETE",nt,wt)}get(nt,wt={}){return this.request("GET",nt,wt)}head(nt,wt={}){return this.request("HEAD",nt,wt)}jsonp(nt,wt){return this.request("JSONP",nt,{params:(new ie).append(wt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(nt,wt={}){return this.request("OPTIONS",nt,wt)}patch(nt,wt,Qt={}){return this.request("PATCH",nt,Pe(Qt,wt))}post(nt,wt,Qt={}){return this.request("POST",nt,Pe(Qt,wt))}put(nt,wt,Qt={}){return this.request("PUT",nt,Pe(Qt,wt))}static{this.\u0275fac=function(wt){return new(wt||Ve)(i.KVO(y))}}static{this.\u0275prov=i.jDH({token:Ve,factory:Ve.\u0275fac})}}return Ve})();const We=/^\)\]\}',?\n/;function tt(Ve){if(Ve.url)return Ve.url;const rt="X-Request-URL".toLocaleLowerCase();return Ve.headers.get(rt)}let Qe=(()=>{class Ve{constructor(){this.fetchImpl=(0,i.WQX)(_t,{optional:!0})?.fetch??((...nt)=>globalThis.fetch(...nt)),this.ngZone=(0,i.WQX)(i.SKi)}handle(nt){return new h.c(wt=>{const Qt=new AbortController;return this.doRequest(nt,Qt.signal,wt).then(ht,Nt=>wt.error(new de({error:Nt}))),()=>Qt.abort()})}doRequest(nt,wt,Qt){var Nt=this;return(0,o.A)(function*(){const an=Nt.createRequestInit(nt);let Ln;try{const Mi=Nt.ngZone.runOutsideAngular(()=>Nt.fetchImpl(nt.urlWithParams,{signal:wt,...an}));(function mt(Ve){Ve.then(ht,ht)})(Mi),Qt.next({type:re.Sent}),Ln=yield Mi}catch(Mi){return void Qt.error(new de({error:Mi,status:Mi.status??0,statusText:Mi.statusText,url:nt.urlWithParams,headers:Mi.headers}))}const On=new S(Ln.headers),Zn=Ln.statusText,li=tt(Ln)??nt.urlWithParams;let Bn=Ln.status,vi=null;if(nt.reportProgress&&Qt.next(new Se({headers:On,status:Bn,statusText:Zn,url:li})),Ln.body){const Mi=Ln.headers.get("content-length"),ri=[],mi=Ln.body.getReader();let Nn,Dn,Wi=0;const ro=typeof Zone<"u"&&Zone.current;yield Nt.ngZone.runOutsideAngular((0,o.A)(function*(){for(;;){const{done:Ur,value:er}=yield mi.read();if(Ur)break;if(ri.push(er),Wi+=er.length,nt.reportProgress){Dn="text"===nt.responseType?(Dn??"")+(Nn??=new TextDecoder).decode(er,{stream:!0}):void 0;const oo=()=>Qt.next({type:re.DownloadProgress,total:Mi?+Mi:void 0,loaded:Wi,partialText:Dn});ro?ro.run(oo):oo()}}}));const Jo=Nt.concatChunks(ri,Wi);try{const Ur=Ln.headers.get("Content-Type")??"";vi=Nt.parseBody(nt,Jo,Ur)}catch(Ur){return void Qt.error(new de({error:Ur,headers:new S(Ln.headers),status:Ln.status,statusText:Ln.statusText,url:tt(Ln)??nt.urlWithParams}))}}0===Bn&&(Bn=vi?200:0),Bn>=200&&Bn<300?(Qt.next(new J({body:vi,headers:On,status:Bn,statusText:Zn,url:li})),Qt.complete()):Qt.error(new de({error:vi,headers:On,status:Bn,statusText:Zn,url:li}))})()}parseBody(nt,wt,Qt){switch(nt.responseType){case"json":const Nt=(new TextDecoder).decode(wt).replace(We,"");return""===Nt?null:JSON.parse(Nt);case"text":return(new TextDecoder).decode(wt);case"blob":return new Blob([wt],{type:Qt});case"arraybuffer":return wt.buffer}}createRequestInit(nt){const wt={},Qt=nt.withCredentials?"include":void 0;if(nt.headers.forEach((Nt,an)=>wt[Nt]=an.join(",")),nt.headers.has("Accept")||(wt.Accept="application/json, text/plain, */*"),!nt.headers.has("Content-Type")){const Nt=nt.detectContentTypeHeader();null!==Nt&&(wt["Content-Type"]=Nt)}return{body:nt.serializeBody(),method:nt.method,headers:wt,credentials:Qt}}concatChunks(nt,wt){const Qt=new Uint8Array(wt);let Nt=0;for(const an of nt)Qt.set(an,Nt),Nt+=an.length;return Qt}static{this.\u0275fac=function(wt){return new(wt||Ve)}}static{this.\u0275prov=i.jDH({token:Ve,factory:Ve.\u0275fac})}}return Ve})();class _t{}function ht(){}function Vt(Ve,rt){return rt(Ve)}function Ot(Ve,rt){return(nt,wt)=>rt.intercept(nt,{handle:Qt=>Ve(Qt,wt)})}const Ye=new i.nKC(""),Re=new i.nKC(""),De=new i.nKC(""),He=new i.nKC("",{providedIn:"root",factory:()=>!0});function we(){let Ve=null;return(rt,nt)=>{null===Ve&&(Ve=((0,i.WQX)(Ye,{optional:!0})??[]).reduceRight(Ot,Vt));const wt=(0,i.WQX)(i.TgB);if((0,i.WQX)(He)){const Nt=wt.add();return Ve(rt,nt).pipe((0,u.j)(()=>wt.remove(Nt)))}return Ve(rt,nt)}}let tn=(()=>{class Ve extends y{constructor(nt,wt){super(),this.backend=nt,this.injector=wt,this.chain=null,this.pendingTasks=(0,i.WQX)(i.TgB),this.contributeToStability=(0,i.WQX)(He)}handle(nt){if(null===this.chain){const wt=Array.from(new Set([...this.injector.get(Re),...this.injector.get(De,[])]));this.chain=wt.reduceRight((Qt,Nt)=>function Fe(Ve,rt,nt){return(wt,Qt)=>(0,i.N4e)(nt,()=>rt(wt,Nt=>Ve(Nt,Qt)))}(Qt,Nt,this.injector),Vt)}if(this.contributeToStability){const wt=this.pendingTasks.add();return this.chain(nt,Qt=>this.backend.handle(Qt)).pipe((0,u.j)(()=>this.pendingTasks.remove(wt)))}return this.chain(nt,wt=>this.backend.handle(wt))}static{this.\u0275fac=function(wt){return new(wt||Ve)(i.KVO(I),i.KVO(i.uvJ))}}static{this.\u0275prov=i.jDH({token:Ve,factory:Ve.\u0275fac})}}return Ve})();const un=/^\)\]\}',?\n/;let Xn=(()=>{class Ve{constructor(nt){this.xhrFactory=nt}handle(nt){if("JSONP"===nt.method)throw new i.wOt(-2800,!1);const wt=this.xhrFactory;return(wt.\u0275loadImpl?(0,v.H)(wt.\u0275loadImpl()):(0,d.of)(null)).pipe((0,E.n)(()=>new h.c(Nt=>{const an=wt.build();if(an.open(nt.method,nt.urlWithParams),nt.withCredentials&&(an.withCredentials=!0),nt.headers.forEac
1h((ri,mi)=>an.setRequestHeader(ri,mi.join(","))),nt.headers.has("Accept")||an.setRequestHeader("Accept","application/json, text/plain, */*"),!nt.headers.has("Content-Type")){const ri=nt.detectContentTypeHeader();null!==ri&&an.setRequestHeader("Content-Type",ri)}if(nt.responseType){const ri=nt.responseType.toLowerCase();an.responseType="json"!==ri?ri:"text"}const Ln=nt.serializeBody();let On=null;const Zn=()=>{if(null!==On)return On;const ri=an.statusText||"OK",mi=new S(an.getAllResponseHeaders()),Wi=function wn(Ve){return"responseURL"in Ve&&Ve.responseURL?Ve.responseURL:/^X-Request-URL:/m.test(Ve.getAllResponseHeaders())?Ve.getResponseHeader("X-Request-URL"):null}(an)||nt.url;return On=new Se({headers:mi,status:an.status,statusText:ri,url:Wi}),On},li=()=>{let{headers:ri,status:mi,statusText:Wi,url:Nn}=Zn(),Dn=null;204!==mi&&(Dn=typeof an.response>"u"?an.responseText:an.response),0===mi&&(mi=Dn?200:0);let ro=mi>=200&&mi<300;if("json"===nt.responseType&&"string"==typeof Dn){const Jo=Dn;Dn=Dn.replace(un,"");try{Dn=""!==Dn?JSON.parse(Dn):null}catch(Ur){Dn=Jo,ro&&(ro=!1,Dn={error:Ur,text:Dn})}}ro?(Nt.next(new J({body:Dn,headers:ri,status:mi,statusText:Wi,url:Nn||void 0})),Nt.complete()):Nt.error(new de({error:Dn,headers:ri,status:mi,statusText:Wi,url:Nn||void 0}))},Bn=ri=>{const{url:mi}=Zn(),Wi=new de({error:ri,status:an.status||0,statusText:an.statusText||"Unknown Error",url:mi||void 0});Nt.error(Wi)};let vi=!1;const bi=ri=>{vi||(Nt.next(Zn()),vi=!0);let mi={type:re.DownloadProgress,loaded:ri.loaded};ri.lengthComputable&&(mi.total=ri.total),"text"===nt.responseType&&an.responseText&&(mi.partialText=an.responseText),Nt.next(mi)},Mi=ri=>{let mi={type:re.UploadProgress,loaded:ri.loaded};ri.lengthComputable&&(mi.total=ri.total),Nt.next(mi)};return an.addEventListener("load",li),an.addEventListener("error",Bn),an.addEventListener("timeout",Bn),an.addEventListener("abort",Bn),nt.reportProgress&&(an.addEventListener("progress",bi),null!==Ln&&an.upload&&an.upload.addEventListener("progress",Mi)),an.send(Ln),Nt.next({type:re.Sent}),()=>{an.removeEventListener("error",Bn),an.removeEventListener("abort",Bn),an.removeEventListener("load",li),an.removeEventListener("timeout",Bn),nt.reportProgress&&(an.removeEventListener("progress",bi),null!==Ln&&an.upload&&an.upload.removeEventListener("progress",Mi)),an.readyState!==an.DONE&&an.abort()}})))}static{this.\u0275fac=function(wt){return new(wt||Ve)(i.KVO(l.XhrFactory))}}static{this.\u0275prov=i.jDH({token:Ve,factory:Ve.\u0275fac})}}return Ve})();const vt=new i.nKC(""),ze=new i.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Gt=new i.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Qn{}let Ct=(()=>{class Ve{constructor(nt,wt,Qt){this.doc=nt,this.platform=wt,this.cookieName=Qt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const nt=this.doc.cookie||"";return nt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.\u0275parseCookieValue)(nt,this.cookieName),this.lastCookieString=nt),this.lastToken}static{this.\u0275fac=function(wt){return new(wt||Ve)(i.KVO(l.DOCUMENT),i.KVO(i.Agw),i.KVO(ze))}}static{this.\u0275prov=i.jDH({token:Ve,factory:Ve.\u0275fac})}}return Ve})();function ut(Ve,rt){const nt=Ve.url.toLowerCase();if(!(0,i.WQX)(vt)||"GET"===Ve.method||"HEAD"===Ve.method||nt.startsWith("http://")||nt.startsWith("https://"))return rt(Ve);const wt=(0,i.WQX)(Qn).getToken(),Qt=(0,i.WQX)(Gt);return null!=wt&&!Ve.headers.has(Qt)&&(Ve=Ve.clone({headers:Ve.headers.set(Qt,wt)})),rt(Ve)}var qe=function(Ve){return Ve[Ve.Interceptors=0]="Interceptors",Ve[Ve.LegacyInterceptors=1]="LegacyInterceptors",Ve[Ve.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ve[Ve.NoXsrfProtection=3]="NoXsrfProtection",Ve[Ve.JsonpSupport=4]="JsonpSupport",Ve[Ve.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ve[Ve.Fetch=6]="Fetch",Ve}(qe||{});function Bt(Ve,rt){return{\u0275kind:Ve,\u0275providers:rt}}function St(...Ve){const rt=[Me,Xn,tn,{provide:y,useExisting:tn},{provide:I,useFactory:()=>(0,i.WQX)(Qe,{optional:!0})??(0,i.WQX)(Xn)},{provide:Re,useValue:ut,multi:!0},{provide:vt,useValue:!0},{provide:Qn,useClass:Ct}];
1for(const nt of Ve)rt.push(...nt.\u0275providers);return(0,i.EmA)(rt)}function Rt(Ve){return Bt(qe.Interceptors,Ve.map(rt=>({provide:Re,useValue:rt,multi:!0})))}const Lt=new i.nKC("");function fn(){return Bt(qe.LegacyInterceptors,[{provide:Lt,useFactory:we},{provide:Re,useExisting:Lt,multi:!0}])}const sn=new i.nKC(""),ai="b",_i="h",pn="s",Pn="st",ne="u",H="rt",Q=new i.nKC(""),Te=["GET","HEAD"];function lt(Ve,rt){const{isCacheActive:nt,...wt}=(0,i.WQX)(Q),{transferCache:Qt,method:Nt}=Ve;if(!nt||!1===Qt||"POST"===Nt&&!wt.includePostRequests&&!Qt||"POST"!==Nt&&!Te.includes(Nt)||!wt.includeRequestsWithAuthHeaders&&function Pt(Ve){return Ve.headers.has("authorization")||Ve.headers.has("proxy-authorization")}(Ve)||!1===wt.filter?.(Ve))return rt(Ve);const an=(0,i.WQX)(i.pJN),Ln=(0,i.WQX)(sn,{optional:!0}),On=(0,l.isPlatformServer)((0,i.WQX)(i.Agw));if(Ln&&!On)throw new i.wOt(2803,!1);const Zn=On&&Ln?function qi(Ve,rt){const nt=new URL(Ve,"resolve://").origin,wt=rt[nt];return wt?Ve.replace(nt,wt):Ve}(Ve.url,Ln):Ve.url,li=function Ht(Ve,rt){const{params:nt,method:wt,responseType:Qt}=Ve,Nt=Kn(nt);let an=Ve.serializeBody();an instanceof URLSearchParams?an=Kn(an):"string"!=typeof an&&(an="");const On=function Jn(Ve){let rt=0;for(const nt of Ve)rt=Math.imul(31,rt)+nt.charCodeAt(0)|0;return rt+=2147483648,rt.toString()}([wt,Qt,rt,an,Nt].join("|"));return(0,i.zw6)(On)}(Ve,Zn),Bn=an.get(li,null);let vi=wt.includeHeaders;if("object"==typeof Qt&&Qt.includeHeaders&&(vi=Qt.includeHeaders),Bn){const{[ai]:bi,[H]:Mi,[_i]:ri,[pn]:mi,[Pn]:Wi,[ne]:Nn}=Bn;let Dn=bi;switch(Mi){case"arraybuffer":Dn=(new TextEncoder).encode(bi).buffer;break;case"blob":Dn=new Blob([bi])}let ro=new S(ri);return(0,d.of)(new J({body:Dn,headers:ro,status:mi,statusText:Wi,url:Nn}))}return rt(Ve).pipe((0,C.M)(bi=>{bi instanceof J&&On&&an.set(li,{[ai]:bi.body,[_i]:Sn(bi.headers,vi),[pn]:bi.status,[Pn]:bi.statusText,[ne]:Zn,[H]:Ve.responseType})}))}function Sn(Ve,rt){if(!rt)return{};const nt={};for(const wt of rt){const Qt=Ve.getAll(wt);null!==Qt&&(nt[wt]=Qt)}return nt}function Kn(Ve){return[...Ve.keys()].sort().map(rt=>`${rt}=${Ve.getAll(rt)}`).join("&")}function ci(Ve){return[{provide:Q,useFactory:()=>((0,i.ngT)("NgHttpTransferCache"),{isCacheActive:!0,...Ve})},{provide:De,useValue:lt,multi:!0,deps:[i.pJN,Q]},{provide:i.iLQ,multi:!0,useFactory:()=>{const rt=(0,i.WQX)(i.o8S),nt=(0,i.WQX)(Q);return()=>{(0,i.zuW)(rt).then(()=>{nt.isCacheActive=!1})}}}]}},54438:(he,M,r)=>{"use strict";function o(e,t){return Object.is(e,t)}r.d(M,{bc$:()=>Au,iLQ:()=>zg,sZ2:()=>bu,hnV:()=>aS,Hbi:()=>ZP,o8S:()=>lc,BIS:()=>e_,gRc:()=>bS,Ql9:()=>CP,OM3:()=>Rh,Ocv:()=>IP,abz:()=>$c,Z63:()=>co,aKT:()=>vl,uvJ:()=>Lr,zcH:()=>ja,bkB:()=>Da,$GK:()=>qn,nKC:()=>Fn,zZn:()=>$r,_q3:()=>Uv,MKu:()=>Vv,xe9:()=>wv,Co$:()=>Ky,Vns:()=>Wl,SKi:()=>pr,Xx1:()=>Mo,Agw:()=>Su,PLl:()=>_p,sFG:()=>NT,_9s:()=>cm,czy:()=>Ao,WPN:()=>Dc,kdw:()=>ns,C4Q:()=>Ah,NYb:()=>pP,giA:()=>oS,pJN:()=>Hc,xvI:()=>Wx,RxE:()=>Jb,c1b:()=>Eg,gXe:()=>wr,mal:()=>Dg,Af3:()=>Qr,tdH:()=>VO,L39:()=>PM,EWP:()=>wM,Ol2:()=>Tm,w6W:()=>PO,oH4:()=>vS,QZP:()=>eA,SmG:()=>LP,Rfq:()=>Ct,WQX:()=>xn,hFB:()=>F0,QuC:()=>bo,EmA:()=>jt,zw6:()=>Xd,geq:()=>dO,Udg:()=>MM,CGW:()=>R0,fpN:()=>JP,HJs:()=>UM,N4e:()=>Na,vPA:()=>Ay,O8t:()=>FM,ebz:()=>lO,H3F:()=>Zb,GGh:()=>zd,PUk:()=>Hd,H8p:()=>Ms,KH2:()=>dd,TgB:()=>Ac,wOt:()=>we,WHO:()=>iS,e01:()=>rS,lNU:()=>He,PpM:()=>Gu,h9k:()=>Np,$MX:()=>Ru,ZF7:()=>Oc,Kcf:()=>Ti,e5t:()=>p_,UyX:()=>Ws,cWb:()=>Op,osQ:()=>Dp,H5H:()=>nv,Zy3:()=>Tt,uq$:()=>cI,mq5:()=>nC,JZv:()=>un,LfX:()=>Pt,plB:()=>nl,jNT:()=>Iv,zjR:()=>sS,ngT:()=>fs,XSP:()=>aI,TL$:()=>Z0,Tbb:()=>ze,zUL:()=>Gt,rcV:()=>$a,zuW:()=>xv,M8M:()=>IM,Vt3:()=>Cm,GFd:()=>Gy,OA$:()=>Bo,Jv_:()=>ub,aNF:()=>db,R7$:()=>qt,BMQ:()=>km,x72:()=>Um,qtP:()=>Vm,HbH:()=>B1,ZvI:()=>$1,STu:()=>G1,AVh:()=>zm,vxM:()=>X1,wni:()=>LC,SS7:()=>mv,nv$:()=>f1,qhs:()=>g1,LVR:()=>p1,VBU:()=>Zs,FsC:()=>Co,jDH:()=>H,G2t:()=>Te,$C:()=>Ro,EJ8:()=>uc,rXU:()=>nn,nrm:()=>Zm,eu8:()=>qm,bVm:()=>Bg,qex:()=>Ng,k0s:()=>Fg,j41:()=>wg,RV6:()=>tC,xGo:()=>Rf,Mr5:()=>ev,KVO:()=>Yi,kS0:()=>jc,QTQ:()=>In,bIt:()=>ov,lsd:()=>VC,joV:()=>Ad,qSk:()=>Cf,XpG:()=>DC,nI1:()=>xb,bMT:()=>Pb,i5U:()=>Mb,brH:()=>Rb,ii3:()=>wb,iJd:()=>Fb,SdG:()=>xC,NAR:()=>IC,Y8G:()=>Gm,FS9:()=>av,Mz_:()=>jg,FCK:()=>cv,lJ4:()=>gb,eq3:()=>_b,l_i:()=>mb,sMw:()=>vb,ziG:()=>Eb,s1E:()=>yb,l4e:()=>Cb,sGs:()=>bb,lV:()=>Sb,NyB:()=>WC,mGM:()=>UC,r8f:()=>cb,sdS:()=>$C,Dyx:()=>Z1,Z7z:()=>J1,fX1:()=>Q1,Vm6:()=>Y1,Njj:()=>
1pf,EBC:()=>Gp,tSv:()=>$p,eBV:()=>Ed,npT:()=>Lp,f$h:()=>Nu,$dS:()=>kp,B4B:()=>Fu,n$t:()=>Ic,wjB:()=>hb,bH3:()=>ab,xc7:()=>Hm,zvX:()=>tv,DNE:()=>Dm,C5r:()=>Nb,EFF:()=>qC,JRh:()=>uv,SpI:()=>Wg,Lme:()=>dv,E5c:()=>hv,LHq:()=>fv,SEQ:()=>pv,DH7:()=>ob,mxI:()=>_v,R50:()=>gv,GBs:()=>kC,wEZ:()=>jC});let i=null,d=!1,h=1;const v=Symbol("SIGNAL");function _(e){const t=i;return i=e,t}function m(){return i}const E={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function C(e){if(d)throw new Error("");if(null===i)return;i.consumerOnSignalRead(e);const t=i.nextProducerIndex++;ve(i),t<i.producerNode.length&&i.producerNode[t]!==e&&ie(i)&&Z(i.producerNode[t],i.producerIndexOfThis[t]),i.producerNode[t]!==e&&(i.producerNode[t]=e,i.producerIndexOfThis[t]=ie(i)?L(e,i,t):0),i.producerLastReadVersion[t]=e.version}function y(e){if((!ie(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==h)){if(!e.producerMustRecompute(e)&&!U(e))return e.dirty=!1,void(e.lastCleanEpoch=h);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=h}}function I(e){if(void 0===e.liveConsumerNode)return;const t=d;d=!0;try{for(const n of e.liveConsumerNode)n.dirty||P(n)}finally{d=t}}function S(){return!1!==i?.consumerAllowSignalWrites}function P(e){e.dirty=!0,I(e),e.consumerMarkedDirty?.(e)}function F(e){return e&&(e.nextProducerIndex=0),_(e)}function N(e,t){if(_(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ie(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Z(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function U(e){ve(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],s=e.producerLastReadVersion[t];if(s!==n.version||(y(n),s!==n.version))return!0}return!1}function T(e){if(ve(e),ie(e))for(let t=0;t<e.producerNode.length;t++)Z(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function L(e,t,n){if(me(e),0===e.liveConsumerNode.length&&xe(e))for(let s=0;s<e.producerNode.length;s++)e.producerIndexOfThis[s]=L(e.producerNode[s],e,s);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Z(e,t){if(me(e),1===e.liveConsumerNode.length&&xe(e))for(let s=0;s<e.producerNode.length;s++)Z(e.producerNode[s],e.producerIndexOfThis[s]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const s=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];ve(a),a.producerIndexOfThis[s]=t}}function ie(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ve(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function me(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function xe(e){return void 0!==e.producerNode}function $(e){const t=Object.create(W);t.computation=e;const n=()=>
1{if(y(t),C(t),t.value===z)throw t.error;return t.value};return n[v]=t,n}const V=Symbol("UNSET"),oe=Symbol("COMPUTING"),z=Symbol("ERRORED"),W={...E,value:V,dirty:!0,error:null,equal:o,producerMustRecompute:e=>e.value===V||e.value===oe,producerRecomputeValue(e){if(e.value===oe)throw new Error("Detected cycle in computations.");const t=e.value;e.value=oe;const n=F(e);let s;try{s=e.computation()}catch(a){s=z,e.error=a}finally{N(e,n)}t!==V&&t!==z&&s!==z&&e.equal(t,s)?e.value=t:(e.value=s,e.version++)}};let ee=function re(){throw new Error};function Se(){ee()}let de=null;function Pe(e,t){S()||Se(),e.equal(e.value,t)||(e.value=t,function tt(e){e.version++,function l(){h++}(),I(e),de?.()}(e))}const Oe={...E,equal:o,value:void 0};const _t=()=>{},ht={...E,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:_t};var Vt=r(79928),Ot=r(45286),Fe=r(74337),Ye=r(95006),Re=r(84046);const He="https://g.co/ng/security#xss";class we extends Error{constructor(t,n){super(Tt(t,n)),this.code=t}}function Tt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const ct=Symbol("InputSignalNode#UNSET"),tn={...Oe,transformFn:void 0,applyValueToInputSignal(e,t){Pe(e,t)}};function be(e,t){const n=Object.create(tn);function s(){if(C(n),n.value===ct)throw new we(-950,!1);return n.value}return n.value=e,n.transformFn=t?.transform,s[v]=n,s}function je(e){return{toString:e}.toString()}const kt="__parameters__";function Mn(e,t,n){return je(()=>{const s=function ln(e){return function(...n){if(e){const s=e(...n);for(const a in s)this[a]=s[a]}}}(t);function a(...f){if(this instanceof a)return s.apply(this,f),this;const b=new a(...f);return D.annotation=b,D;function D(k,te,_e){const $e=k.hasOwnProperty(kt)?k[kt]:Object.defineProperty(k,kt,{value:[]})[kt];for(;$e.length<=_e;)$e.push(null);return($e[_e]=$e[_e]||[]).push(b),k}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}const un=globalThis;function vt(e){for(let t in e)if(e[t]===vt)return t;throw Error("Could not find renamed property on target object.")}function Dt(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ze(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ze).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function on(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function Gt(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const n=Math.round(t/2);return e.substring(0,n)+"..."+e.substring(e.length-n)}const Qn=vt({__forward_ref__:vt});function Ct(e){return e.__forward_ref__=Ct,e.toString=function(){return ze(this())},e}function ut(e){return Xe(e)?e():e}function Xe(e){return"function"==typeof e&&e.hasOwnProperty(Qn)&&e.__forward_ref__===Ct}function H(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Te(e){return{providers:e.providers||[],imports:e.imports||[]}}function lt(e){return Sn(e,Jn)||Sn(e,ji)}function Pt(e){return null!==lt(e)}function Sn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ht(e){return e&&(e.hasOwnProperty(ci)||e.hasOwnProperty(qi))?e[ci]:null}const Jn=vt({\u0275prov:vt}),ci=vt({\u0275inj:vt}),ji=vt({ngInjectableDef:vt}),qi=vt({ngInjectorDef:vt});class Fn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=H({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function li(e){return e&&!!e.\u0275providers}const Bn=vt({\u0275cmp:vt}),vi=vt({\u0275dir:vt}),bi=vt({\u0275pipe:vt}),Mi=vt({\u0275mod:vt}),ri=vt({\u0275fac:vt}),mi=vt({__NG_ELEMENT_ID__:vt}),Wi=vt({__NG_ENV_ID__:vt});function Nn(e){return"string"==typeof e?e:null==e?"":String(e)}function _o(e,t){throw new we(-201,!1)}var qn=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(qn||{});let mo;function zs(){return mo}function ir(e){const t=mo;return mo=e,t}function Xs(e,t,n){const s=lt(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:n&qn.Optional?null:void 0!==t?t:void _o()}const Gr={},Io="__NG_DI_FLAG__",jo="ngTempTokenPath",qo=/\n/gm,As="__source";let hi;function dr(e){const t=hi;return hi=e,t}function ps(e,t=qn.Default){if(void 0===hi)throw new we(-203,!1);return null===hi?Xs(e,void 0,t):hi.get(e,t&qn.Optional?null:void 0,t)}function Yi(e,t=qn.Default){return(zs()||ps)(ut(e),t)}function xn(e,t=qn.Default){return Yi(e,Kr(t))}function Kr(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ts(e){const t=[];for(let n=0;n<e.length;n++){const s=ut(e[n]);if(Array.isArray(s)){if(0===s.length)throw new we(900,!1);let a,f=qn.Default;for(let b=0;b<s.length;b++){const D=s[b],k=$i(D);"number"==typeof k?-1===k?a=D.token:f|=k:a=D}t.push(Yi(a,f))}else t.push(Yi(s))}return t}function xo(e,t){return e[Io]=t,e.prototype[Io]=t,e}function $i(e){return e[Io]}const Mo=xo(Mn("Optional"),8),ns=xo(Mn("SkipSelf"),4);function Rr(e,t){return e.hasOwnProperty(ri)?e[ri]:null}function nr(e,t){e.forEach(n=>Array.isArray(n)?nr(n,t):t(n))}function tr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function so(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function rr(e,t,n){let s=Ar(e,t);return s>=0?e[1|s]=n:(s=~s,function Nr(e,t,n,s){let a=e.length;if(a==t)e.push(n,s);else if(1===a)e.push(s,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;
1e[t]=n,e[t+1]=s}}(e,s,t,n)),s}function wi(e,t){const n=Ar(e,t);if(n>=0)return e[1|n]}function Ar(e,t){return function gs(e,t,n){let s=0,a=e.length>>n;for(;a!==s;){const f=s+(a-s>>1),b=e[f<<n];if(t===b)return f<<n;b>t?a=f:s=f+1}return~(a<<n)}(e,t,1)}const Xr={},Ei=[],co=new Fn(""),_s=new Fn("",-1),rs=new Fn("");class os{get(t,n=Gr){if(n===Gr){const s=new Error(`NullInjectorError: No provider for ${ze(t)}!`);throw s.name="NullInjectorError",s}return n}}var vo=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(vo||{}),wr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(wr||{}),_r=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(_r||{});function Ma(e,t,n){let s=e.length;for(;;){const a=e.indexOf(t,n);if(-1===a)return a;if(0===a||e.charCodeAt(a-1)<=32){const f=t.length;if(a+f===s||e.charCodeAt(a+f)<=32)return a}n=a+1}}function Os(e,t,n){let s=0;for(;s<n.length;){const a=n[s];if("number"==typeof a){if(0!==a)break;s++;const f=n[s++],b=n[s++],D=n[s++];e.setAttribute(t,b,D,f)}else{const f=a,b=n[++s];Wo(f)?e.setProperty(t,f,b):e.setAttribute(t,f,b),s++}}return s}function Eo(e){return 3===e||4===e||6===e}function Wo(e){return 64===e.charCodeAt(0)}function ms(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?n=a:0===n||Qs(e,n,a,null,-1===n||2===n?t[++s]:null)}}return e}function Qs(e,t,n,s,a){let f=0,b=e.length;if(-1===t)b=-1;else for(;f<e.length;){const D=e[f++];if("number"==typeof D){if(D===t){b=-1;break}if(D>t){b=f-1;break}}}for(;f<e.length;){const D=e[f];if("number"==typeof D)break;if(D===n){if(null===s)return void(null!==a&&(e[f+1]=a));if(s===e[f+1])return void(e[f+2]=a)}f++,null!==s&&f++,null!==a&&f++}-1!==b&&(e.splice(b,0,t),f=b+1),e.splice(f++,0,n),null!==s&&e.splice(f++,0,s),null!==a&&e.splice(f++,0,a)}const Br="ng-template";function Js(e,t,n,s){let a=0;if(s){for(;a<t.length&&"string"==typeof t[a];a+=2)if("class"===t[a]&&-1!==Ma(t[a+1].toLowerCase(),n,0))return!0}else if(yo(e))return!1;if(a=t.indexOf(1,a),a>-1){let f;for(;++a<t.length&&"string"==typeof(f=t[a]);)if(f.toLowerCase()===n)return!0}return!1}function yo(e){return 4===e.type&&e.value!==Br}function le(e,t,n){return t===(4!==e.type||n?e.value:Br)}function ce(e,t,n){let s=4;const a=e.attrs,f=null!==a?function oi(e){for(let t=0;t<e.length;t++)if(Eo(e[t]))return t;return e.length}(a):0;let b=!1;for(let D=0;D<t.length;D++){const k=t[D];if("number"!=typeof k){if(!b)if(4&s){if(s=2|1&s,""!==k&&!le(e,k,n)||""===k&&1===t.length){if(G(s))return!1;b=!0}}else if(8&s){if(null===a||!Js(e,a,k,n)){if(G(s))return!1;b=!0}}else{const te=t[++D],_e=Ie(k,a,yo(e),n);if(-1===_e){if(G(s))return!1;b=!0;continue}if(""!==te){let $e;if($e=_e>f?"":a[_e+1].toLowerCase(),2&s&&te!==$e){if(G(s))return!1;b=!0}}}}else{if(!b&&!G(s)&&!G(k))return!1;if(b&&G(k))continue;b=!1,s=k|1&s}}return G(s)||b}function G(e){return!(1&e)}function Ie(e,t,n,s){if(null===t)return-1;let a=0;if(s||!n){let f=!1;for(;a<t.length;){const b=t[a];if(b===e)return a;
1if(3===b||6===b)f=!0;else{if(1===b||2===b){let D=t[++a];for(;"string"==typeof D;)D=t[++a];continue}if(4===b)break;if(0===b){a+=4;continue}}a+=f?1:2}return-1}return function lo(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const s=e[n];if("number"==typeof s)return-1;if(s===t)return n;n++}return-1}(t,e)}function st(e,t,n=!1){for(let s=0;s<t.length;s++)if(ce(e,t[s],n))return!0;return!1}function Ds(e,t){e:for(let n=0;n<t.length;n++){const s=t[n];if(e.length===s.length){for(let a=0;a<e.length;a++)if(e[a]!==s[a])continue e;return!0}}return!1}function ss(e,t){return e?":not("+t.trim()+")":t}function Is(e){let t=e[0],n=1,s=2,a="",f=!1;for(;n<e.length;){let b=e[n];if("string"==typeof b)if(2&s){const D=e[++n];a+="["+b+(D.length>0?'="'+D+'"':"")+"]"}else 8&s?a+="."+b:4&s&&(a+=" "+b);else""!==a&&!G(b)&&(t+=ss(f,a),a=""),s=b,f=f||!G(s);n++}return""!==a&&(t+=ss(f,a)),t}function Zs(e){return je(()=>{const t=ha(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===vo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||wr.Emulated,styles:e.styles||Ei,_:null,schemas:e.schemas||null,tView:null,id:""};Ya(n);const s=e.dependencies;return n.directiveDefs=Go(s,!1),n.pipeDefs=Go(s,!0),n.id=function yt(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const a of n)t=Math.imul(31,t)+a.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function da(e){return Yn(e)||xi(e)}function $o(e){return null!==e}function Ro(e){return je(()=>({type:e.type,bootstrap:e.bootstrap||Ei,declarations:e.declarations||Ei,imports:e.imports||Ei,exports:e.exports||Ei,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function wo(e,t){if(null==e)return Xr;const n={};for(const s in e)if(e.hasOwnProperty(s)){const a=e[s];let f,b,D=_r.None;Array.isArray(a)?(D=a[0],f=a[1],b=a[2]??f):(f=a,b=a),t?(n[f]=D!==_r.None?[s,D]:s,t[f]=b):n[f]=s}return n}function Co(e){return je(()=>{const t=ha(e);return Ya(t),t})}function uc(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Yn(e){return e[Bn]||null}function xi(e){return e[vi]||null}function mr(e){return e[bi]||null}function bo(e){const t=Yn(e)||xi(e)||mr(e);return null!==t&&t.standalone}function Fr(e,t){const n=e[Mi]||null;if(!n&&!0===t)throw new Error(`Type ${ze(e)} does not have '\u0275mod' property.`);return n}function ha(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Xr,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ei,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wo(e.inputs,t),outputs:wo(e.outputs),debugInfo:null}}function Ya(e){e.features?.forEach(t=>t(e))}function Go(e,t){if(!e)return null;const n=t?mr:da;return()=>("function"==typeof e?e():e).map(s=>n(s)).filter($o)}function jt(e){return{\u0275providers:e}}function Ut(...e){return{\u0275providers:Tn(0,e),\u0275fromNgModule:!0}}function Tn(e,...t){const n=[],s=new Set;let a;const f=b=>{n.push(b)};return nr(t,b=>{const D=b;Oi(D,f,[],s)&&(a||=[],a.push(D))}),void 0!==a&&ti(a,f),n}function ti(e,t){for(let n=0;n<e.length;n++){const{ngModule:s,providers:a}=e[n];Li(a,f=>{t(f,s)})}}function Oi(e,t,n,s){if(!(e=ut(e)))return!1;let a=null,f=Ht(e);const b=!f&&Yn(e);if(f||b){if(b&&!b.standalone)return!1;a=e}else{const k=e.ngModule;if(f=Ht(k),!f)return!1;a=k}const D=s.has(a);if(b){if(D)return!1;
1if(s.add(a),b.dependencies){const k="function"==typeof b.dependencies?b.dependencies():b.dependencies;for(const te of k)Oi(te,t,n,s)}}else{if(!f)return!1;{if(null!=f.imports&&!D){let te;s.add(a);try{nr(f.imports,_e=>{Oi(_e,t,n,s)&&(te||=[],te.push(_e))})}finally{}void 0!==te&&ti(te,t)}if(!D){const te=Rr(a)||(()=>new a);t({provide:a,useFactory:te,deps:Ei},a),t({provide:rs,useValue:a,multi:!0},a),t({provide:co,useValue:()=>Yi(a),multi:!0},a)}const k=f.providers;if(null!=k&&!D){const te=e;Li(k,_e=>{t(_e,te)})}}}return a!==e&&void 0!==e.providers}function Li(e,t){for(let n of e)li(n)&&(n=n.\u0275providers),Array.isArray(n)?Li(n,t):t(n)}const Ra=vt({provide:String,useValue:vt});function fa(e){return null!==e&&"object"==typeof e&&Ra in e}function ea(e){return"function"==typeof e}const Ms=new Fn(""),as={},Bi={};let pa;function ga(){return void 0===pa&&(pa=new os),pa}class Lr{}class na extends Lr{get destroyed(){return this._destroyed}constructor(t,n,s,a){super(),this.parent=n,this.source=s,this.scopes=a,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Rs(t,b=>this.processProvider(b)),this.records.set(_s,Yr(void 0,this)),a.has("environment")&&this.records.set(Lr,Yr(void 0,this));const f=this.records.get(Ms);null!=f&&"string"==typeof f.value&&this.scopes.add(f.value),this.injectorDefTypes=new Set(this.get(rs,Ei,qn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=_(null);try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of n)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=dr(this),s=ir(void 0);try{return t()}finally{dr(n),ir(s)}}get(t,n=Gr,s=qn.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Wi))return t[Wi](this);s=Kr(s);const f=dr(this),b=ir(void 0);try{if(!(s&qn.SkipSelf)){let k=this.records.get(t);if(void 0===k){const te=function Fa(e){return"function"==typeof e||"object"==typeof e&&e instanceof Fn}(t)&<(t);k=te&&this.injectableDefInScope(te)?Yr(ia(t),as):null,this.records.set(t,k)}if(null!=k)return this.hydrate(t,k)}return(s&qn.Self?ga():this.parent).get(t,n=s&qn.Optional&&n===Gr?null:n)}catch(D){if("NullInjectorError"===D.name){if((D[jo]=D[jo]||[]).unshift(ze(t)),f)throw D;return function Cr(e,t,n,s){const a=e[jo];throw t[As]&&a.unshift(t[As]),e.message=function Hr(e,t,n,s=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let a=ze(t);if(Array.isArray(t))a=t.map(ze).join(" -> ");else if("object"==typeof t){let f=[];for(let b in t)if(t.hasOwnProperty(b)){let D=t[b];f.push(b+":"+("string"==typeof D?JSON.stringify(D):ze(D)))}a=`{${f.join(", ")}}`}return`${n}${s?"("+s+")":""}[${a}]: ${e.replace(qo,"\n ")}`}("\n"+e.message,a,n,s),e.ngTokenPath=a,e[jo]=null,e}(D,t,"R3InjectorError",this.source)}throw D}finally{ir(b),dr(f)}}resolveInjectorInitializers(){const t=_(null),n=dr(this),s=ir(void 0);try{const f=this.get(co,Ei,qn.Self);for(const b of f)b()}finally{dr(n),ir(s),_(t)}}toString(){const t=[],n=this.records;for(const s of n.keys())t.push(ze(s));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new we(205,!1)}processProvider(t){let n=ea(t=ut(t))?t:ut(t&&t.provide);const s=function ra(e){return fa(e)?Yr(void 0,e.useValue):Yr(hr(e),as)}(t);if(!ea(t)&&!0===t.multi){let a=this.records.get(n);a||(a=Yr(void 0,as,!0),a.factory=()=>ts(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,s)}hydrate(t,n){const s=_(null);try{return n.value===as&&(n.value=Bi,n.value=n.factory()),"object"==typeof n.value&&n.value&&function cs(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(s)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ut(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function ia(e){const t=lt(e),n=null!==t?t.factory:Rr(e);if(null!==n)return n;if(e instanceof Fn)throw new we(204,!1);if(e instanceof Function)return function dc(e){if(e.length>0)throw new we(204,!1);const n=function Kn(e){return e&&(e[Jn]||e[ji])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new we(204,!1)}function hr(e,t,n){let s;if(ea(e)){const a=ut(e);return Rr(a)||ia(a)}if(fa(e))s=()=>ut(e.useValue);else if(function Ps(e){return!(!e||!e.useFactory)}(e))s=()=>
1e.useFactory(...ts(e.deps||[]));else if(function Vr(e){return!(!e||!e.useExisting)}(e))s=()=>Yi(ut(e.useExisting));else{const a=ut(e&&(e.useClass||e.provide));if(!function wa(e){return!!e.deps}(e))return Rr(a)||ia(a);s=()=>new a(...ts(e.deps))}return s}function Yr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Rs(e,t){for(const n of e)Array.isArray(n)?Rs(n,t):n&&li(n)?Rs(n.\u0275providers,t):t(n)}function Na(e,t){e instanceof na&&e.assertNotDestroyed();const s=dr(e),a=ir(void 0);try{return t()}finally{dr(s),ir(a)}}function ws(){return void 0!==zs()||null!=function Ni(){return hi}()}function Qr(e){if(!ws())throw new we(-203,!1)}const $n=0,ae=1,A=2,x=3,X=4,fe=5,Be=6,Ze=7,et=8,Et=9,Mt=10,zt=11,mn=12,fi=13,Hn=14,En=15,Un=16,ui=17,ki=18,Ne=19,or=20,Hi=21,fr=22,Vn=23,bn=25,jr=1,Ko=6,vr=7,Fo=9,sr=10;var Qa=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Qa||{});function Or(e){return Array.isArray(e)&&"object"==typeof e[jr]}function gn(e){return Array.isArray(e)&&!0===e[jr]}function Wn(e){return!!(4&e.flags)}function Gn(e){return e.componentOffset>-1}function Si(e){return!(1&~e.flags)}function zi(e){return!!e.template}function fo(e){return!!(512&e[A])}function Zi(e){return!(256&~e[A])}class pi{constructor(t,n,s){this.previousValue=t,this.currentValue=n,this.firstChange=s}isFirstChange(){return this.firstChange}}function Fi(e,t,n,s){null!==t?t.applyValueToInputSignal(t,s):e[n]=s}function Bo(){return Er}function Er(e){return e.type.prototype.ngOnChanges&&(e.setInput=vs),kr}function kr(){const e=cl(this),t=e?.current;if(t){const n=e.previous;if(n===Xr)e.previous=t;else for(let s in t)n[s]=t[s];e.current=null,this.ngOnChanges(t)}}function vs(e,t,n,s,a){const f=this.declaredInputs[s],b=cl(e)||function ma(e,t){return e[Ba]=t}(e,{previous:Xr,current:null}),D=b.current||(b.current={}),k=b.previous,te=k[f];D[f]=new pi(te&&te.currentValue,n,k===Xr),Fi(e,t,a,n)}Bo.ngInherit=!0;const Ba="__ngSimpleChanges__";function cl(e){return e[Ba]||null}const Ea=function(e,t,n){},ll="svg";function Ui(e){for(;Array.isArray(e);)e=e[$n];return e}function fc(e,t){return Ui(t[e])}function Lo(e,t){return Ui(t[e.index])}function pc(e,t){return e.data[t]}function Ca(e,t){return e[t]}function Zr(e,t){const n=t[e];return Or(n)?n:n[$n]}function So(e){return!(128&~e[A])}function Ns(e,t){return null==t?null:e[t]}function cf(e){e[ui]=0}function lf(e){1024&e[A]||(e[A]|=1024,So(e)&&ul(e))}function Xl(e,t){for(;e>0;)t=t[Hn],e--;return t}function Yl(e){return!!(9216&e[A]||e[Vn]?.dirty)}function gc(e){e[Mt].changeDetectionScheduler?.notify(8),64&e[A]&&(e[A]|=1024),Yl(e)&&ul(e)}function ul(e){e[Mt].changeDetectionScheduler?.notify(0);let t=Es(e);for(;null!==t&&!(8192&t[A])&&(t[A]|=8192,So(t));)t=Es(t)}function Ql(e,t){if(!(256&~e[A]))throw new we(911,!1);null===e[Hi]&&(e[Hi]=[]),e[Hi].push(t)}function _d(e,t){if(null===e[Hi])return;const n=e[Hi].indexOf(t);-1!==n&&e[Hi].splice(n,1)}function Es(e){const t=e[x];return gn(t)?t[x]:t}const di={lFrame:ou(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let md=!1;function Zl(){return di.bindingsEnabled}function _c(){return null!==di.skipHydrationRootTNode}function $t(){return di.lFrame.lView}function Ai(){return di.lFrame.tView}function Ed(e){return di.lFrame.contextLView=e,e[et]}function pf(e){return di.lFrame.contextLView=null,e}function Qi(){let e=gf();for(;null!==e&&64===e.type;)e=e.parent;return e}function gf(){return di.lFrame.currentTNode}function Bs(e,t){const n=di.lFrame;n.currentTNode=e,n.isParent=t}function hl(){return di.lFrame.isParent}function yd(){di.lFrame.isParent=!1}function eu(){return di.lFrame.contextLView}function wc(){return md}function Cd(e){md=e}function zo(){const e=di.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function La(){return di.lFrame.bindingIndex}function sa(){return di.lFrame.bindingIndex++}function Ls(e){const t=di.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function mf(e,t){const n=di.lFrame;n.bindingIndex=n.bindingRootIndex=e,ba(t)}function ba(e){di.lFrame.currentDirectiveIndex=e}function fl(e){const t=di.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function tu(){return di.lFrame.currentQueryIndex}function vc(e){di.lFrame.currentQueryIndex=e}function vf(e){const t=e[ae];return 2===t.type?t.declTNode:1===t.type?e[fe]:null}function nu(e,t,n){if(n&qn.SkipSelf){let a=t,f=e;for(;!(a=a.parent,null!==a||n&qn.Host||(a=vf(f),null===a||(f=f[Hn],10&a.t
1ype))););if(null===a)return!1;t=a,e=f}const s=di.lFrame=ru();return s.currentTNode=t,s.lView=e,!0}function iu(e){const t=ru(),n=e[ae];di.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ru(){const e=di.lFrame,t=null===e?null:e.child;return null===t?ou(e):t}function ou(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ka(){const e=di.lFrame;return di.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ef=ka;function Sa(){const e=ka();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function po(){return di.lFrame.selectedIndex}function Ua(e){di.lFrame.selectedIndex=e}function cr(){const e=di.lFrame;return pc(e.tView,e.selectedIndex)}function Cf(){di.lFrame.currentNamespace=ll}function Ad(){!function bf(){di.lFrame.currentNamespace=null}()}function Sf(){return di.lFrame.currentNamespace}let Td=!0;function Fc(){return Td}function Ir(e){Td=e}function su(e,t){for(let n=t.directiveStart,s=t.directiveEnd;n<s;n++){const f=e.data[n].type.prototype,{ngAfterContentInit:b,ngAfterContentChecked:D,ngAfterViewInit:k,ngAfterViewChecked:te,ngOnDestroy:_e}=f;b&&(e.contentHooks??=[]).push(-n,b),D&&((e.contentHooks??=[]).push(n,D),(e.contentCheckHooks??=[]).push(n,D)),k&&(e.viewHooks??=[]).push(-n,k),te&&((e.viewHooks??=[]).push(n,te),(e.viewCheckHooks??=[]).push(n,te)),null!=_e&&(e.destroyHooks??=[]).push(n,_e)}}function au(e,t,n){Od(e,t,3,n)}function Ec(e,t,n,s){(3&e[A])===n&&Od(e,t,n,s)}function Ja(e,t){let n=e[A];(3&n)===t&&(n&=16383,n+=1,e[A]=n)}function Od(e,t,n,s){const f=s??-1,b=t.length-1;let D=0;for(let k=void 0!==s?65535&e[ui]:0;k<b;k++)if("number"==typeof t[k+1]){if(D=t[k],null!=s&&D>=s)break}else t[k]<0&&(e[ui]+=65536),(D<f||-1==f)&&(f0(e,n,t,k),e[ui]=(4294901760&e[ui])+k+2),k++}function Dd(e,t){Ea(4,e,t);const n=_(null);try{t.call(e)}finally{_(n),Ea(5,e,t)}}function f0(e,t,n,s){const a=n[s]<0,f=n[s+1],D=e[a?-n[s]:n[s]];a?e[A]>>14<e[ui]>>16&&(3&e[A])===t&&(e[A]+=16384,Dd(D,f)):Dd(D,f)}const yc=-1;class Ta{constructor(t,n,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=s}}const Nc={};class Cc{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,s){s=Kr(s);const a=this.injector.get(t,Nc,s);return a!==Nc||n===Nc?a:this.parentInjector.get(t,n,s)}}function lu(e){return e!==yc}function Za(e){return 32767&e}function bc(e,t){let n=function Df(e){return e>>16}(e),s=t;for(;n>0;)s=s[Hn],n--;return s}let uu=!0;function ks(e){const t=uu;return uu=e,t}const Md=255,If=5;let xf=0;const Oa={};function Us(e,t){const n=du(e,t);if(-1!==n)return n;const s=t[ae];s.firstCreatePass&&(e.injectorIndex=t.length,gl(s.data,e),gl(t,null),gl(s.blueprint,null));const a=Bc(e,t),f=e.injectorIndex;if(lu(a)){const b=Za(a),D=bc(a,t),k=D[ae].data;for(let te=0;te<8;te++)t[f+te]=D[b+te]|k[b+te]}return t[f+8]=a,f}function gl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function du(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Bc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,s=null,a=t;for(;null!==a;){if(s=Uo(a),null===s)return yc;if(n++,a=a[Hn],-1!==s.injectorIndex)return s.injectorIndex|n<<16}return yc}function Lc(e,t,n){!function _0(e,t,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(mi)&&(s=n[mi]),null==s&&(s=n[mi]=xf++);const a=s&Md;t.data[e+(a>>If)]|=1<<a}
1(e,t,n)}function ei(e,t,n){if(n&qn.Optional||void 0!==e)return e;_o()}function _l(e,t,n,s){if(n&qn.Optional&&void 0===s&&(s=null),!(n&(qn.Self|qn.Host))){const a=e[Et],f=ir(void 0);try{return a?a.get(t,s,n&qn.Optional):Xs(t,s,n&qn.Optional)}finally{ir(f)}}return ei(s,0,n)}function hu(e,t,n,s=qn.Default,a){if(null!==e){if(2048&t[A]&&!(s&qn.Self)){const b=function Va(e,t,n,s,a){let f=e,b=t;for(;null!==f&&null!==b&&2048&b[A]&&!(512&b[A]);){const D=qa(f,b,n,s|qn.Self,Oa);if(D!==Oa)return D;let k=f.parent;if(!k){const te=b[or];if(te){const _e=te.get(n,Oa,s);if(_e!==Oa)return _e}k=Uo(b),b=b[Hn]}f=k}return a}(e,t,n,s,Oa);if(b!==Oa)return b}const f=qa(e,t,n,s,Oa);if(f!==Oa)return f}return _l(t,n,s,a)}function qa(e,t,n,s,a){const f=function ko(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(mi)?e[mi]:void 0;return"number"==typeof t?t>=0?t&Md:v0:t}(n);if("function"==typeof f){if(!nu(t,e,s))return s&qn.Host?ei(a,0,s):_l(t,n,s,a);try{let b;if(b=f(s),null!=b||s&qn.Optional)return b;_o()}finally{Ef()}}else if("number"==typeof f){let b=null,D=du(e,t),k=yc,te=s&qn.Host?t[En][fe]:null;for((-1===D||s&qn.SkipSelf)&&(k=-1===D?Bc(e,t):t[D+8],k!==yc&&Mf(s,!1)?(b=t[ae],D=Za(k),t=bc(k,t)):D=-1);-1!==D;){const _e=t[ae];if(Pf(f,D,_e.data)){const $e=m0(D,t,n,b,s,te);if($e!==Oa)return $e}k=t[D+8],k!==yc&&Mf(s,t[ae].data[D+8]===te)&&Pf(f,D,t)?(b=_e,D=Za(k),t=bc(k,t)):D=-1}}return a}function m0(e,t,n,s,a,f){const b=t[ae],D=b.data[e+8],_e=Uc(D,b,n,null==s?Gn(D)&&uu:s!=b&&!!(3&D.type),a&qn.Host&&f===D);return null!==_e?ec(t,b,_e,D):Oa}function Uc(e,t,n,s,a){const f=e.providerIndexes,b=t.data,D=1048575&f,k=e.directiveStart,_e=f>>20,it=a?D+_e:e.directiveEnd;for(let dt=s?D:D+_e;dt<it;dt++){const bt=b[dt];if(dt<k&&n===bt||dt>=k&&bt.type===n)return dt}if(a){const dt=b[k];if(dt&&zi(dt)&&dt.type===n)return k}return null}function ec(e,t,n,s){let a=e[n];const f=t.data;if(function pl(e){return e instanceof Ta}(a)){const b=a;b.resolving&&function Ur(e,t){throw t&&t.join(" > "),new we(-200,e)}(function Dn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Nn(e)}(f[n]));const D=ks(b.canSeeViewProviders);b.resolving=!0;const te=b.injectImpl?ir(b.injectImpl):null;nu(e,s,qn.Default);try{a=e[n]=b.factory(void 0,f,e,s),t.firstCreatePass&&n>=s.directiveStart&&function Aa(e,t,n){const{ngOnChanges:s,ngOnInit:a,ngDoCheck:f}=t.type.prototype;if(s){const b=Er(t);(n.preOrderHooks??=[]).push(e,b),(n.preOrderCheckHooks??=[]).push(e,b)}a&&(n.preOrderHooks??=[]).push(0-e,a),f&&((n.preOrderHooks??=[]).push(e,f),(n.preOrderCheckHooks??=[]).push(e,f))}(n,f[n],t)}finally{null!==te&&ir(te),ks(D),b.resolving=!1,Ef()}}return a}function Pf(e,t,n){return!!(n[t+(e>>If)]&1<<e)}function Mf(e,t){return!(e&qn.Self||e&qn.Host&&t)}class Wr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,s){return hu(this._tNode,this._lView,t,Kr(s),n)}}function v0(){return new Wr(Qi(),$t())}function Rf(e){return je(()=>{const t=e.prototype.constructor,n=t[ri]||Rd(t),s=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==s;){const f=a[ri]||Rd(a);if(f&&f!==n)return f;a=Object.getPrototypeOf(a)}return f=>new f})}function Rd(e){return Xe(e)?()=>{const t=Rd(ut(e));return t&&t()}:Rr(e)}function Uo(e){const t=e[ae],n=t.type;return 2===n?t.declTNode:1===n?e[fe]:null}function jc(e){return function kc(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const s=n.length;let a=0;for(;a<s;){const f=n[a];if(Eo(f))break;if(0===f)a+=2;else if("number"==typeof f)for(a++;a<s&&"string"==typeof n[a];)a++;else{if(f===t)return n[a+1];a+=2}}}return null}(Qi(),e)}function gu(e,t=null,n=null,s){const a=Fd(e,t,n,s);return a.resolveInjectorInitializers(),a}function Fd(e,t=null,n=null,s,a=new Set){const f=[n||Ei,Ut(e)];return s=s||("object"==typeof e?void 0:ze(e)),new na(f,t||ga(),s||null,a)}class $r{static{this.THROW_IF_NOT_FOUND=Gr}static{this.NULL=new os}static create(t,n){if(Array.isArray(t))return gu({name:""},n,t,"");{const s=t.name??"";return gu({name:s},t.parent,t.providers,s)}}static{this.\u0275prov=H({token:$r,providedIn:"any",factory:()=>Yi(_s)})}static{this.__NG_ELEMENT_ID__=-1}}new Fn("").__NG_ELEMENT_ID__=e=>{const t=Qi();if(null===t)throw new we(204,!1);if(2&t.type)return t.value;if(e&qn.Optional)return null;throw new we(204,!1)};function Vs(e){return e.ngOriginalError}const tc=!0;let $c=(()=>{class e{static{this.__NG_ELEMENT_ID__=A0}static{this.__NG_ENV_ID__=n=>n}}return e})();
1class jf extends $c{constructor(t){super(),this._lView=t}onDestroy(t){return Ql(this._lView,t),()=>_d(this._lView,t)}}function A0(){return new jf($t())}let Ac=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Vt.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}}return e})();const Da=class T0 extends Ot.B7{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,ws()&&(this.destroyRef=xn($c,{optional:!0})??void 0,this.pendingTasks=xn(Ac,{optional:!0})??void 0)}emit(t){const n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,s){let a=t,f=n||(()=>null),b=s;if(t&&"object"==typeof t){const k=t;a=k.next?.bind(k),f=k.error?.bind(k),b=k.complete?.bind(k)}this.__isAsync&&(f=this.wrapInTimeout(f),a&&(a=this.wrapInTimeout(a)),b&&(b=this.wrapInTimeout(b)));const D=super.subscribe({next:a,error:f,complete:b});return t instanceof Fe.y&&t.add(D),D}wrapInTimeout(t){return n=>{const s=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==s&&this.pendingTasks?.remove(s)})}}};function _u(...e){}function Wf(e){let t,n;function s(){e=_u;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),s()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),s()})),()=>s()}function $f(e){return queueMicrotask(()=>e()),()=>{e=_u}}const Nd="isAngularZone",mu=Nd+"_ID";let Gf=0;class pr{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Da(!1),this.onMicrotaskEmpty=new Da(!1),this.onStable=new Da(!1),this.onError=new Da(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:f=tc}=t;if(typeof Zone>"u")throw new we(908,!1);Zone.assertZonePatched();const b=this;b._nesting=0,b._outer=b._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(b._inner=b._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(b._inner=b._inner.fork(Zone.longStackTraceZoneSpec)),b.shouldCoalesceEventChangeDetection=!a&&s,b.shouldCoalesceRunChangeDetection=a,b.callbackScheduled=!1,b.scheduleInRootZone=f,function D0(e){const t=()=>{!function O0(e){function t(){Wf(()=>{e.callbackScheduled=!1,vu(e),e.isCheckStableRunning=!0,Bd(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),vu(e))}(e)},n=Gf++;e._inner=e._inner.fork({name:"angular",properties:{[Nd]:!0,[mu]:n,[mu+n]:!0},onInvokeTask:(s,a,f,b,D,k)=>{if(function I0(e){return Xf(e,"__ignore_ng_zone__")}(k))return s.invokeTask(f,b,D,k);try{return Hf(e),s.invokeTask(f,b,D,k)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===b.type||e.shouldCoalesceRunChangeDetection)&&t(),zf(e)}},onInvoke:(s,a,f,b,D,k,te)=>{try{return Hf(e),s.invoke(f,b,D,k,te)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function x0(e){return Xf(e,"__scheduler_tick__")}(k)&&t(),zf(e)}},onHasTask:(s,a,f,b)=>{s.hasTask(f,b),a===f&&("microTask"==b.change?(e._hasPendingMicrotasks=b.microTask,vu(e),Bd(e)):"macroTask"==b.change&&(e.hasPendingMacrotasks=b.macroTask))},onHandleError:(s,a,f,b)=>(s.handleError(f,b),e.runOutsideAngular(()=>e.onError.emit(b)),!1)})}(b)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Nd)}static assertInAngularZone(){if(!pr.isInAngularZone())throw new we(909,!1)}static assertNotInAngularZone(){if(pr.isInAngularZone())throw new we(909,!1)}run(t,n,s){return this._inner.run(t,n,s)}runTask(t,n,s,a){const f=this._inner,b=f.scheduleEventTask("NgZoneEvent: "+a,t,Kf,_u,_u);try{return f.runTask(b,n,s)}finally{f.cancelTask(b)}}runGuarded(t,n,s){return this._inner.runGuarded(t,n,s)}runOutsideAngular(t){return this._outer.run(t)}}const Kf={};function Bd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function vu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Hf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function zf(e){e._nesting--,Bd(e)}class Ld{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Da,this.onMicrotaskEmpty=new Da,this.onStable=new Da,this.onError=ne
1w Da}run(t,n,s){return t.apply(n,s)}runGuarded(t,n,s){return t.apply(n,s)}runOutsideAngular(t){return t()}runTask(t,n,s,a){return t.apply(n,s)}}function Xf(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class ja{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Vs(t);for(;n&&Vs(n);)n=Vs(n);return n||null}}const P0=new Fn("",{providedIn:"root",factory:()=>{const e=xn(pr),t=xn(ja);return n=>e.runOutsideAngular(()=>t.handleError(n))}});class Yf{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=xn(ja,{optional:!0}),this.destroyRef=xn($c),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new we(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{const n=this.listeners?.indexOf(t);void 0!==n&&-1!==n&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new we(953,!1);if(null===this.listeners)return;const n=_(null);try{for(const s of this.listeners)try{s(t)}catch(a){this.errorHandler?.handleError(a)}}finally{_(n)}}}function R0(e){return new Yf}function Qf(e,t){return be(e,t)}const F0=(Qf.required=function w0(e){return be(ct,e)},Qf);function kd(){return Gc(Qi(),$t())}function Gc(e,t){return new vl(Lo(e,t))}let vl=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=kd}}return e})();function Jf(e){return e instanceof vl?e.nativeElement:e}function N0(){return this._results[Symbol.iterator]()}class Ud{get changes(){return this._changes??=new Da}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Ud.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=N0)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const s=function Ji(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function zr(e,t,n){if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++){let a=e[s],f=t[s];if(n&&(a=n(a),f=n(f)),f!==a)return!1}return!0}(this._results,s,n))&&(this._results=s,this.length=s.length,this.last=s[this.length-1],this.first=s[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}const El="ngSkipHydration",B0="ngskiphydration";function Vd(e){const t=e.mergedAttrs;if(null===t)return!1;for(let n=0;n<t.length;n+=2){const s=t[n];if("number"==typeof s)return!1;if("string"==typeof s&&s.toLowerCase()===B0)return!0}return!1}function Zf(e){return e.hasAttribute(El)}function yl(e){return!(128&~e.flags)}const jd=new Map;let L0=0;function Wd(e){jd.delete(e[Ne])}const Eu="__ngContext__";function Vo(e,t){Or(t)?(e[Eu]=t[Ne],function U0(e){jd.set(e[Ne],e)}(t)):e[Eu]=t}function rp(e){return sp(e[mn])}function op(e){return sp(e[X])}function sp(e){for(;null!==e&&!gn(e);)e=e[X];return e}let Kd;function Z0(e){Kd=e}function nc(){if(void 0!==Kd)return Kd;if(typeof document<"u")return document;throw new we(210,!1)}const bu=new Fn("",{providedIn:"root",factory:()=>q0}),q0="ng",_p=new Fn(""),Su=new Fn("",{providedIn:"platform",factory:()=>"unknown"}),Au=new Fn(""),e_=new Fn("",{providedIn:"root",factory:()=>nc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Hd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},zd=new Fn("",{providedIn:"root",factory:()=>Hd});function Xd(e){return e}function mp(){const e=new Hc;return"browser"===xn(Su)&&(e.store=function vp(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(s){console.warn("Exception while restoring TransferState for app "+t,s)}return{}}(nc(),xn(bu))),e}let Hc=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static{this.\u0275prov=H({token:e,providedIn:"root",factory:mp}
1)}get(n,s){return void 0!==this.store[n]?this.store[n]:s}set(n,s){this.store[n]=s}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,s){this.onSerializeCallbacks[n]=s}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(s){console.warn("Exception in onSerialize callback: ",s)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const Tu="h",Yd="b";var zc=function(e){return e.FirstChild="f",e.NextSibling="n",e}(zc||{});const Ou="e",Xc="t",ic="c",Du="x",Yc="r",Al="i",Tl="n",Ol="d",Jd="__nghData__",Dl="ngh",t_="nghm";let Ep=()=>null;function n_(e,t,n=!1){let s=e.getAttribute(Dl);if(null==s)return null;const[a,f]=s.split("|");if(s=n?f:a,!s)return null;const D=n?a:f?`|${f}`:"";let k={};if(""!==s){const _e=t.get(Hc,null,{optional:!0});null!==_e&&(k=_e.get(Jd,[])[Number(s)])}const te={data:k,firstChild:e.firstChild??null};return n&&(te.firstChild=e,ca(te,0,e.nextSibling)),D?e.setAttribute(Dl,D):e.removeAttribute(Dl),te}function Zd(e,t,n=!1){return Ep(e,t,n)}function yp(e){let t=e._lView;return 2===t[ae].type?null:(fo(t)&&(t=t[bn]),t)}function ca(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function qd(e,t){return e.segmentHeads?.[t]??null}function Sp(e,t){return e.data[ic]?.[t]??null}function eh(e,t){const n=Sp(e,t)??[];let s=0;for(let a of n)s+=a[Yc]*(a[Du]??1);return s}function Tc(e,t){if(typeof e.disconnectedNodes>"u"){const n=e.data[Ol];e.disconnectedNodes=n?new Set(n):null}return!!function Iu(e){if(typeof e.disconnectedNodes>"u"){const t=e.data[Ol];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}(e)?.has(t)}const xl=new Fn(""),yr=new Fn("",{providedIn:"root",factory:()=>!1});let Pu,rc;function Qc(e){return function th(){if(void 0===Pu&&(Pu=null,un.trustedTypes))try{Pu=un.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pu}()?.createHTML(e)||e}function Ml(){if(void 0===rc&&(rc=null,un.trustedTypes))try{rc=un.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rc}function Tp(e){return Ml()?.createHTML(e)||e}function Rl(e){return Ml()?.createScriptURL(e)||e}class qr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${He})`}}class Jc extends qr{getTypeName(){return"HTML"}}class u_ extends qr{getTypeName(){return"Style"}}class d_ extends qr{getTypeName(){return"Script"}}class h_ extends qr{getTypeName(){return"URL"}}class f_ extends qr{getTypeName(){return"ResourceURL"}}function $a(e){return e instanceof qr?e.changingThisBreaksApplicationSecurity:e}function Oc(e,t){const n=function Ga(e){return e instanceof qr&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${He})`)}return n===t}function Ti(e){return new Jc(e)}function Op(e){return new u_(e)}function Ws(e){return new d_(e)}function Dp(e){return new h_(e)}function p_(e){return new f_(e)}class g_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Qc(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class Ip{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Qc(t),n}}const __=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(__)?e:"unsafe:"+e}function Ka(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function wl(...e){const t={};for(const n of e)for(const s in n)n.hasOwnProperty(s)&&(t[s]=!0);return t}const xp=Ka("area,br,col,hr,img,wbr"),Pp=Ka("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Mp=Ka("rp,rt"),ih=wl(xp,wl(Pp,Ka("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),wl(Mp,Ka("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),wl(Mp,Pp)),rh=Ka("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wp=wl(rh,Ka("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ka("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),oh=Ka("script,style,template");class m_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,s=!0,a=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?s=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,s&&n.firstChild)a.push(n),n=go(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let f=E_(n);if(f){n=f;break}n=a.pop()}return this.buf.join("")}startElement(t){const n=Xo(t).toLowerCase();if(!ih.hasOwnProperty(n))return this.sanitizedSomething=!0,!oh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const s=t.attributes;for(let a=0;a<s.length;a++){const f=s.item(a),b=f.name,D=b.toLowerCase();if(!wp.hasOwnProperty(D)){this.sanitizedSomething=!0;continue}let k=f.value;rh[D]&&(k=Ru(k)),this.buf.push(" ",b,'="',sh(k),'"')}return this.buf.push(">"),!0}endElement(t){const n=Xo(t).toLowerCase();ih.hasOwnProperty(n)&&!xp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(sh(t))}}function E_(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Fp(t);return t}function go(e){const t=e.firstChild;if(t&&function v_(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Fp(t);return t}function Xo(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Fp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const y_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,C_=/([^\#-~ |!])/g;function sh(e){return e.replace(/&/g,"&").replace(y_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(C_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let wu;function Np(e,t){let n=null;try{wu=wu||function Xi(e){const t=new Ip(e);return function Mu(){try{return!!(new window.DOMParser).parseFromString(Qc(""),"text/html")}catch{return!1}}()?new g_(t):t}(e);let s=t?String(t):"";n=wu.getInertBodyElement(s);let a=5,f=s;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,s=f,f=n.innerHTML,n=wu.getInertBodyElement(s)}while(s!==f);return Qc((new m_).sanitizeChildren(ah(n)||n))}finally{if(n){const s=ah(n)||n;for(;s.firstChild;)s.firstChild.remove()}}}function ah(e){return"content"in e&&function Bp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Dc=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Dc||{});function Lp(e){const t=Fl();return t?Tp(t.sanitize(Dc.HTML,e)||""):Oc(e,"HTML")?Tp($a(e)):Np(nc(),Nn(e))}function kp(e){const t=Fl();return t?t.sanitize(Dc.STYLE,e)||"":Oc(e,"Style")?$a(e):Nn(e)}function Fu(e){const t=Fl();return t?t.sanitize(Dc.URL,e)||"":Oc(e,"URL")?$a(e):Ru(Nn(e))}function Nu(e){const t=Fl();if(t)return Rl(t.sanitize(Dc.RESOURCE_URL,e)||"");if(Oc(e,"ResourceURL"))return Rl($a(e));throw new we(904,!1)}function Ic(e,t,n){return function T_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Nu:Fu}(t,n)(e)}function Fl(){const e=$t();return e&&e[Mt].sanitizer}const O_=/^>|^->|<!--|-->|--!>|<!-$/g,D_=/(<|>)/g,Up="\u200b$1\u200b";function $p(e){return e.ownerDocument.defaultView}function Gp(e){return e.ownerDocument}function Yo(e){return e instanceof Function?e():e}function ds(e){return"browser"===(e??xn($r)).get(Su)}var Ao=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ao||{});let Nl;function hh(e,t){return Nl(e,t)}function qc(e,t,n,s,a){if(null!=s){let f,b=!1;gn(s)?f=s:Or(s)&&(b=!0,s=s[$n]);const D=Ui(s);0===e&&null!==n?null==a?qp(t,n,D):xc(t,n,D,a||null,!0):1===e&&null!==n?xc(t,n,D,a||null,!0):2===e?kl(t,D,b):3===e&&t.destroyNode(D),null!=f&&function q(e,t,n,s,a){const f=n[vr];f!==Ui(n)&&qc(t,e,s,f,a);for(let D=sr;D<n.length;D++){const k=n[D];c(k[ae],k,e,t,s,f)}}(t,e,f,n,a)}}function fh(e,t){return e.createText(t)}
1function ph(e,t){return e.createComment(function ch(e){return e.replace(O_,t=>t.replace(D_,Up))}(t))}function el(e,t,n){return e.createElement(t,n)}function Yp(e,t){t[Mt].changeDetectionScheduler?.notify(9),c(e,t,t[zt],2,null,null)}function Jp(e,t){const n=e[Fo],s=t[x];(Or(s)||t[En]!==s[x][En])&&(e[A]|=Qa.HasTransplantedViews),null===n?e[Fo]=[t]:n.push(t)}function gh(e,t){const n=e[Fo],s=n.indexOf(t);n.splice(s,1)}function Bl(e,t){if(e.length<=sr)return;const n=sr+t,s=e[n];if(s){const a=s[Un];null!==a&&a!==e&&gh(a,s),t>0&&(e[n-1][X]=s[X]);const f=so(e,sr+t);!function L_(e,t){Yp(e,t),t[$n]=null,t[fe]=null}(s[ae],s);const b=f[ki];null!==b&&b.detachView(f[ae]),s[x]=null,s[X]=null,s[A]&=-129}return s}function tl(e,t){if(!(256&t[A])){const n=t[zt];n.destroyNode&&c(e,t,n,3,null,null),function U_(e){let t=e[mn];if(!t)return Ll(e[ae],e);for(;t;){let n=null;if(Or(t))n=t[mn];else{const s=t[sr];s&&(n=s)}if(!n){for(;t&&!t[X]&&t!==e;)Or(t)&&Ll(t[ae],t),t=t[x];null===t&&(t=e),Or(t)&&Ll(t[ae],t),n=t&&t[X]}t=n}}(t)}}function Ll(e,t){if(256&t[A])return;const n=_(null);try{t[A]&=-129,t[A]|=256,t[Vn]&&T(t[Vn]),function j_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let s=0;s<n.length;s+=2){const a=t[n[s]];if(!(a instanceof Ta)){const f=n[s+1];if(Array.isArray(f))for(let b=0;b<f.length;b+=2){const D=a[f[b]],k=f[b+1];Ea(4,D,k);try{k.call(D)}finally{Ea(5,D,k)}}else{Ea(4,a,f);try{f.call(a)}finally{Ea(5,a,f)}}}}}(e,t),function V_(e,t){const n=e.cleanup,s=t[Ze];if(null!==n)for(let f=0;f<n.length-1;f+=2)if("string"==typeof n[f]){const b=n[f+3];b>=0?s[b]():s[-b].unsubscribe(),f+=2}else n[f].call(s[n[f+1]]);null!==s&&(t[Ze]=null);const a=t[Hi];if(null!==a){t[Hi]=null;for(let f=0;f<a.length;f++)(0,a[f])()}}(e,t),1===t[ae].type&&t[zt].destroy();const s=t[Un];if(null!==s&&gn(t[x])){s!==t[x]&&gh(s,t);const a=t[ki];null!==a&&a.detachView(e)}Wd(t)}finally{_(n)}}function _h(e,t,n){return function Zp(e,t,n){let s=t;for(;null!==s&&168&s.type;)s=(t=s).parent;if(null===s)return n[$n];{const{componentOffset:a}=s;if(a>-1){const{encapsulation:f}=e.data[s.directiveStart+a];if(f===wr.None||f===wr.Emulated)return null}return Lo(s,n)}}(e,t.parent,n)}function xc(e,t,n,s,a){e.insertBefore(t,n,s,a)}function qp(e,t,n){e.appendChild(t,n)}function eg(e,t,n,s,a){null!==s?xc(e,t,n,s,a):qp(e,t,n)}function mh(e,t){return e.parentNode(t)}function tg(e,t,n){return ig(e,t,n)}let vh,ig=function ng(e,t,n){return 40&e.type?Lo(e,n):null};function Uu(e,t,n,s){const a=_h(e,s,t),f=t[zt],D=tg(s.parent||t[fe],s,t);if(null!=a)if(Array.isArray(n))for(let k=0;k<n.length;k++)eg(f,a,n[k],D,!1);else eg(f,a,n,D,!1);void 0!==vh&&vh(f,s,t,n,a)}function Pc(e,t){if(null!==t){const n=t.type;if(3&n)return Lo(t,e);if(4&n)return Eh(-1,e[t.index]);if(8&n){const s=t.child;if(null!==s)return Pc(e,s);{const a=e[t.index];return gn(a)?Eh(-1,a):Ui(a)}}if(128&n)return Pc(e,t.next);if(32&n)return hh(t,e)()||Ui(e[t.index]);{const s=og(e,t);return null!==s?Array.isArray(s)?s[0]:Pc(Es(e[En]),s):Pc(e,t.next)}}return null}function og(e,t){return null!==t?e[En][fe].projection[t.projection]:null}function Eh(e,t){const n=sr+e+1;if(n<t.length){const s=t[n],a=s[ae].firstChild;if(null!==a)return Pc(s,a)}return t[vr]}function kl(e,t,n){e.removeChild(null,t,n)}function sg(e){e.textContent=""}function yh(e,t,n,s,a,f,b){for(;null!=n;){if(128===n.type){n=n.next;continue}const D=s[n.index],k=n.type;if(b&&0===t&&(D&&Vo(Ui(D),s),n.flags|=2),32&~n.flags)if(8&k)yh(e,t,n.child,s,a,f,!1),qc(t,e,a,D,f);else if(32&k){const te=hh(n,s);let _e;for(;_e=te();)qc(t,e,a,_e,f);qc(t,e,a,D,f)}else 16&k?O(e,t,s,n,a,f):qc(t,e,a,D,f);n=b?n.projectionNext:n.next}}function c(e,t,n,s,a,f){yh(n,s,e.firstChild,t,a,f,!1)}function O(e,t,n,s,a,f){const b=n[En],k=b[fe].projection[s.projection];if(Array.isArray(k))for(let te=0;te<k.length;te++)qc(t,e,a,k[te],f);else{let te=k;const _e=b[x];yl(s)&&(te.flags|=128),yh(e,t,te,_e,a,f,!0)}}function ot(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function gt(e,t,n){const{mergedAttrs:s,classes:a,styles:f}=n;null!==s&&Os(e,t,s),null!==a&&ot(e,t,a),null!==f&&function Ge(e,t,n){e.setAttribute(t,"style",n)}(e,t,f)}const pt={};function qt(e=1){en(Ai(),$t(),po()+e,!1)}function en(e,t,n,s){if(!s)if(3&~t[A]){const f=e.preOrderHooks;null!==f&&Ec(t,f,0,n)}else{const f=e.preOrderCheckHooks;null!==f&&au(t,f,n)}Ua(n)}function nn(e,t=qn.Default){const n=$t();return null===n?Yi(e,t):hu(Qi(),n,ut(e),t)}function In(){throw new Error("invalid")}function jn(e,t,n,s,a,f){const b=_(null);try{let D=null;a&_r.SignalBased&&(D=t[s][v]),null!==D&&void 0!==D.transformFn&&(f=D.transformFn(f)),a&_r.HasDecoratorInputTransform&&(f=e.inputTransforms[s].call(t,f)),null!==e.setInput?e.setInput(t,D,f,n,s):Fi(t,D,s,f)}finally{_(b)}}function Ci(e,t,n,s,a,f,b,D,k,te,_e){const $e=t.blueprint.slice();return $e[$n]=a,$e[A]=204|s,(null!==te||e&&2048&e[A])&&($e[A]|=2048),cf($e),$e[x]=$e[Hn]=e,$e[et]=n,$e[Mt]=b||e&&e[Mt],$e[zt]=D||e&&e[zt],$e[Et]=k||e&&e[Et]||null,$e[fe]=f,$e[Ne]=function k0(){return L0++}(),$e[Be]=_e,$e[or]=te,$e[En]=2==t.type?e[En]:$e,$e}function zn(e,t,n,s,a){let f=e.data[t];if(null===f)f=function Di(e,t,n,s,a){const f=gf(),b=hl(),k=e.data[t]=function aA(e,t,n,s,a,f){let b=t?t.injectorIndex:-1,D=0;return _c()&&(D|=128),{type:n,index:s,insertBeforeIndex:null,injectorIndex:b,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOff
1set:-1,propertyBindings:null,flags:D,providerIndexes:0,value:a,attrs:f,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,b?f:f&&f.parent,n,t,s,a);return null===e.firstChild&&(e.firstChild=k),null!==f&&(b?null==f.child&&null!==k.parent&&(f.child=k):null===f.next&&(f.next=k,k.prev=f)),k}(e,t,n,s,a),function bd(){return di.lFrame.inI18n}()&&(f.flags|=32);else if(64&f.type){f.type=n,f.value=s,f.attrs=a;const b=function mc(){const e=di.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();f.injectorIndex=null===b?-1:b.injectorIndex}return Bs(f,!0),f}function Ii(e,t,n,s){if(0===n)return-1;const a=t.length;for(let f=0;f<n;f++)t.push(s),e.blueprint.push(s),e.data.push(null);return a}function hs(e,t,n,s,a){const f=po(),b=2&s;try{Ua(-1),b&&t.length>bn&&en(e,t,bn,!1),Ea(b?2:0,a),n(s,a)}finally{Ua(f),Ea(b?3:1,a)}}function To(e,t,n){if(Wn(t)){const s=_(null);try{const f=t.directiveEnd;for(let b=t.directiveStart;b<f;b++){const D=e.data[b];D.contentQueries&&D.contentQueries(1,n[b],b)}}finally{_(s)}}}function Qo(e,t,n){Zl()&&(function pA(e,t,n,s){const a=n.directiveStart,f=n.directiveEnd;Gn(n)&&function CA(e,t,n){const s=Lo(t,e),a=$s(n);let b=16;n.signals?b=4096:n.onPush&&(b=64);const D=cg(e,Ci(e,a,null,b,s,t,null,e[Mt].rendererFactory.createRenderer(s,n),null,null,null));e[t.index]=D}(t,n,e.data[a+n.componentOffset]),e.firstCreatePass||Us(n,t),Vo(s,t);const b=n.initialInputs;for(let D=a;D<f;D++){const k=e.data[D],te=ec(t,e,D,n);Vo(te,t),null!==b&&bA(0,D-a,te,k,0,b),zi(k)&&(Zr(n.index,t)[et]=ec(t,e,D,n))}}(e,t,n,Lo(n,t)),!(64&~n.flags)&&CE(e,t,n))}function Pr(e,t,n=Lo){const s=t.localNames;if(null!==s){let a=t.index+1;for(let f=0;f<s.length;f+=2){const b=s[f+1],D=-1===b?n(t,e):e[b];e[a++]=D}}}function $s(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=la(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function la(e,t,n,s,a,f,b,D,k,te,_e){const $e=bn+s,it=$e+a,dt=function ag(e,t){const n=[];for(let s=0;s<t;s++)n.push(s<e?null:pt);return n}($e,it),bt="function"==typeof te?te():te;return dt[ae]={type:e,blueprint:dt,template:n,queries:null,viewQuery:D,declTNode:t,data:dt.slice().fill(null,$e),bindingStartIndex:$e,expandoStartIndex:it,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof f?f():f,pipeRegistry:"function"==typeof b?b():b,firstChild:null,schemas:k,consts:bt,incompleteFirstPass:!1,ssrId:_e}}let mE=()=>null;function rA(e){Zf(e)?sg(e):function aa(e){const t=nc(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(f){const b=function r_(e){return e.textContent?.replace(/\s/gm,"")}(f);return"ngetn"===b||"ngtns"===b?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let s;const a=[];for(;s=n.nextNode();)a.push(s);for(const f of a)"ngetn"===f.textContent?f.replaceWith(t.createTextNode("")):f.remove()}(e)}function vE(e,t,n,s,a){for(let f in t){if(!t.hasOwnProperty(f))continue;const b=t[f];if(void 0===b)continue;s??={};let D,k=_r.None;Array.isArray(b)?(D=b[0],k=b[1]):D=b;let te=f;if(null!==a){if(!a.hasOwnProperty(f))continue;te=a[f]}0===e?EE(s,n,te,D,k):EE(s,n,te,D)}return s}function EE(e,t,n,s,a){let f;e.hasOwnProperty(n)?(f=e[n]).push(t,s):f=e[n]=[t,s],void 0!==a&&f.push(a)}function Gs(e,t,n,s,a,f,b,D){const k=Lo(t,n);let _e,te=t.inputs;!D&&null!=te&&(_e=te[s])?(z_(e,n,_e,s,a),Gn(t)&&function uA(e,t){const n=Zr(t,e);16&n[A]||(n[A]|=64)}(n,t.index)):3&t.type&&(s=function lA(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(s),a=null!=b?b(a,t.value||"",s):a,f.setProperty(k,s,a))}function $_(e,t,n,s){if(Zl()){const a=null===s?null:{"":-1},f=function _A(e,t){const n=e.directiveRegistry;let s=null,a=null;if(n)for(let f=0;f<n.length;f++){const b=n[f];
1if(st(t,b.selectors,!1))if(s||(s=[]),zi(b))if(null!==b.findHostDirectiveDefs){const D=[];a=a||new Map,b.findHostDirectiveDefs(b,D,a),s.unshift(...D,b),G_(e,t,D.length)}else s.unshift(b),G_(e,t,0);else a=a||new Map,b.findHostDirectiveDefs?.(b,s,a),s.push(b)}return null===s?null:[s,a]}(e,n);let b,D;null===f?b=D=null:[b,D]=f,null!==b&&yE(e,t,n,b,a,D),a&&function mA(e,t,n){if(t){const s=e.localNames=[];for(let a=0;a<t.length;a+=2){const f=n[t[a+1]];if(null==f)throw new we(-301,!1);s.push(t[a],f)}}}(n,s,a)}n.mergedAttrs=ms(n.mergedAttrs,n.attrs)}function yE(e,t,n,s,a,f){for(let te=0;te<s.length;te++)Lc(Us(n,t),e,s[te].type);!function EA(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,s.length);for(let te=0;te<s.length;te++){const _e=s[te];_e.providersResolver&&_e.providersResolver(_e)}let b=!1,D=!1,k=Ii(e,t,s.length,null);for(let te=0;te<s.length;te++){const _e=s[te];n.mergedAttrs=ms(n.mergedAttrs,_e.hostAttrs),yA(e,n,t,k,_e),vA(k,_e,a),null!==_e.contentQueries&&(n.flags|=4),(null!==_e.hostBindings||null!==_e.hostAttrs||0!==_e.hostVars)&&(n.flags|=64);const $e=_e.type.prototype;!b&&($e.ngOnChanges||$e.ngOnInit||$e.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),b=!0),!D&&($e.ngOnChanges||$e.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),D=!0),k++}!function cA(e,t,n){const a=t.directiveEnd,f=e.data,b=t.attrs,D=[];let k=null,te=null;for(let _e=t.directiveStart;_e<a;_e++){const $e=f[_e],it=n?n.get($e):null,bt=it?it.outputs:null;k=vE(0,$e.inputs,_e,k,it?it.inputs:null),te=vE(1,$e.outputs,_e,te,bt);const Jt=null===k||null===b||yo(t)?null:SA(k,_e,b);D.push(Jt)}null!==k&&(k.hasOwnProperty("class")&&(t.flags|=8),k.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=D,t.inputs=k,t.outputs=te}(e,n,f)}function CE(e,t,n){const s=n.directiveStart,a=n.directiveEnd,f=n.index,b=function Cs(){return di.lFrame.currentDirectiveIndex}();try{Ua(f);for(let D=s;D<a;D++){const k=e.data[D],te=t[D];ba(D),(null!==k.hostBindings||0!==k.hostVars||null!==k.hostAttrs)&&gA(k,te)}}finally{Ua(-1),ba(b)}}function gA(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function G_(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function vA(e,t,n){if(n){if(t.exportAs)for(let s=0;s<t.exportAs.length;s++)n[t.exportAs[s]]=e;zi(t)&&(n[""]=e)}}function yA(e,t,n,s,a){e.data[s]=a;const f=a.factory||(a.factory=Rr(a.type)),b=new Ta(f,zi(a),nn);e.blueprint[s]=b,n[s]=b,function hA(e,t,n,s,a){const f=a.hostBindings;if(f){let b=e.hostBindingOpCodes;null===b&&(b=e.hostBindingOpCodes=[]);const D=~t.index;(function fA(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(b)!=D&&b.push(D),b.push(n,s,f)}}(e,t,s,Ii(e,n,a.hostVars,pt),a)}function oc(e,t,n,s,a,f){const b=Lo(e,t);!function K_(e,t,n,s,a,f,b){if(null==f)e.removeAttribute(t,a,n);else{const D=null==b?Nn(f):b(f,s||"",a);e.setAttribute(t,a,D,n)}}(t[zt],b,f,e.value,n,s,a)}function bA(e,t,n,s,a,f){const b=f[t];if(null!==b)for(let D=0;D<b.length;
1)jn(s,n,b[D++],b[D++],b[D++],b[D++])}function SA(e,t,n){let s=null,a=0;for(;a<n.length;){const f=n[a];if(0!==f)if(5!==f){if("number"==typeof f)break;if(e.hasOwnProperty(f)){null===s&&(s=[]);const b=e[f];for(let D=0;D<b.length;D+=3)if(b[D]===t){s.push(f,b[D+1],b[D+2],n[a+1]);break}}a+=2}else a+=2;else a+=4}return s}function bE(e,t,n,s){return[e,!0,0,t,null,s,null,n,null,null]}function SE(e,t){const n=e.contentQueries;if(null!==n){const s=_(null);try{for(let a=0;a<n.length;a+=2){const b=n[a+1];if(-1!==b){const D=e.data[b];vc(n[a]),D.contentQueries(2,t[b],b)}}}finally{_(s)}}}function cg(e,t){return e[mn]?e[fi][X]=t:e[mn]=t,e[fi]=t,t}function H_(e,t,n){vc(0);const s=_(null);try{t(e,n)}finally{_(s)}}function AE(e){return e[Ze]??=[]}function TE(e){return e.cleanup??=[]}function OE(e,t,n){return(null===e||zi(e))&&(n=function Jr(e){for(;Array.isArray(e);){if("object"==typeof e[jr])return e;e=e[$n]}return null}(n[t.index])),n[zt]}function lg(e,t){const n=e[Et],s=n?n.get(ja,null):null;s&&s.handleError(t)}function z_(e,t,n,s,a){for(let f=0;f<n.length;){const b=n[f++],D=n[f++],k=n[f++];jn(e.data[b],t[b],s,D,k,a)}}function Mc(e,t,n){const s=fc(t,e);!function ku(e,t,n){e.setValue(t,n)}(e[zt],s,n)}function AA(e,t){const n=Zr(t,e),s=n[ae];!function TA(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(s,n);const a=n[$n];null!==a&&null===n[Be]&&(n[Be]=Zd(a,n[Et])),X_(s,n,n[et])}function X_(e,t,n){iu(t);try{const s=e.viewQuery;null!==s&&H_(1,s,n);const a=e.template;null!==a&&hs(e,t,a,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ki]?.finishViewCreation(e),e.staticContentQueries&&SE(e,t),e.staticViewQueries&&H_(2,e.viewQuery,n);const f=e.components;null!==f&&function OA(e,t){for(let n=0;n<t.length;n++)AA(e,t[n])}(t,f)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),s}finally{t[A]&=-5,Sa()}}function Vu(e,t,n,s){const a=_(null);try{const f=t.tView,k=Ci(e,f,n,4096&e[A]?4096:16,null,t,null,null,s?.injector??null,s?.embeddedViewInjector??null,s?.dehydratedView??null);k[Un]=e[t.index];const _e=e[ki];return null!==_e&&(k[ki]=_e.createEmbeddedView(f)),X_(f,k,n),k}finally{_(a)}}function DE(e,t){const n=sr+t;if(n<e.length)return e[n]}function Ul(e,t){return!t||null===t.firstChild||yl(e)}function ju(e,t,n,s=!0){const a=t[ae];if(function Qp(e,t,n,s){const a=sr+s,f=n.length;s>0&&(n[a-1][X]=t),s<f-sr?(t[X]=n[a],tr(n,sr+s,t)):(n.push(t),t[X]=null),t[x]=n;const b=t[Un];null!==b&&n!==b&&Jp(b,t);const D=t[ki];null!==D&&D.insertView(e),gc(t),t[A]|=128}(a,t,e,n),s){const b=Eh(n,e),D=t[zt],k=mh(D,e[vr]);null!==k&&function k_(e,t,n,s,a,f){s[$n]=a,s[fe]=t,c(e,s,n,1,a,f)}(a,e[fe],D,t,k,b)}const f=t[Be];null!==f&&null!==f.firstChild&&(f.firstChild=null)}function Y_(e,t){const n=Bl(e,t);return void 0!==n&&tl(n[ae],n),n}function Ch(e,t,n,s,a=!1){for(;null!==n;){if(128===n.type){n=a?n.projectionNext:n.next;continue}const f=t[n.index];null!==f&&s.push(Ui(f)),gn(f)&&IE(f,s);const b=n.type;if(8&b)Ch(e,t,n.child,s);else if(32&b){const D=hh(n,t);let k;for(;k=D();)s.push(k)}else if(16&b){const D=og(t,n);if(Array.isArray(D))s.push(...D);
1else{const k=Es(t[En]);Ch(k[ae],k,D,s,!0)}}n=a?n.projectionNext:n.next}return s}function IE(e,t){for(let n=sr;n<e.length;n++){const s=e[n],a=s[ae].firstChild;null!==a&&Ch(s[ae],s,a,t)}e[vr]!==e[$n]&&t.push(e[vr])}let xE=[];const PA={...E,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ul(e.lView)},consumerOnSignalRead(){this.lView[Vn]=this}},RA={...E,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Es(e.lView);for(;t&&!PE(t[ae]);)t=Es(t);t&&lf(t)},consumerOnSignalRead(){this.lView[Vn]=this}};function PE(e){return 2!==e.type}const wA=100;function ug(e,t=!0,n=0){const s=e[Mt],a=s.rendererFactory;a.begin?.();try{!function FA(e,t){const n=wc();try{Cd(!0),Q_(e,t);let s=0;for(;Yl(e);){if(s===wA)throw new we(103,!1);s++,Q_(e,1)}}finally{Cd(n)}}(e,n)}catch(b){throw t&&lg(e,b),b}finally{a.end?.(),s.inlineEffectRunner?.flush()}}function NA(e,t,n,s){const a=t[A];if(!(256&~a))return;t[Mt].inlineEffectRunner?.flush(),iu(t);let D=!0,k=null,te=null;PE(e)?(te=function DA(e){return e[Vn]??function IA(e){const t=xE.pop()??Object.create(PA);return t.lView=e,t}(e)}(t),k=F(te)):null===m()?(D=!1,te=function MA(e){const t=e[Vn]??Object.create(RA);return t.lView=e,t}(t),k=F(te)):t[Vn]&&(T(t[Vn]),t[Vn]=null);try{cf(t),function ys(e){return di.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&hs(e,t,n,2,s);const _e=!(3&~a);if(_e){const dt=e.preOrderCheckHooks;null!==dt&&au(t,dt,null)}else{const dt=e.preOrderHooks;null!==dt&&Ec(t,dt,0,null),Ja(t,0)}if(function BA(e){for(let t=rp(e);null!==t;t=op(t)){if(!(t[A]&Qa.HasTransplantedViews))continue;const n=t[Fo];for(let s=0;s<n.length;s++)lf(n[s])}}(t),RE(t,0),null!==e.contentQueries&&SE(e,t),_e){const dt=e.contentCheckHooks;null!==dt&&au(t,dt)}else{const dt=e.contentHooks;null!==dt&&Ec(t,dt,1),Ja(t,1)}!function si(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let s=0;s<n.length;s++){const a=n[s];if(a<0)Ua(~a);else{const f=a,b=n[++s],D=n[++s];mf(b,f),D(2,t[f])}}}finally{Ua(-1)}}(e,t);const $e=e.components;null!==$e&&FE(t,$e,0);const it=e.viewQuery;if(null!==it&&H_(2,it,s),_e){const dt=e.viewCheckHooks;null!==dt&&au(t,dt)}else{const dt=e.viewHooks;null!==dt&&Ec(t,dt,2),Ja(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[fr]){for(const dt of t[fr])dt();t[fr]=null}t[A]&=-73}catch(_e){throw ul(t),_e}finally{null!==te&&(N(te,k),D&&function xA(e){e.lView[Vn]!==e&&(e.lView=null,xE.push(e))}(te)),Sa()}}function RE(e,t){for(let n=rp(e);null!==n;n=op(n))for(let s=sr;s<n.length;s++)wE(n[s],t)}function LA(e,t,n){wE(Zr(t,e),n)}function wE(e,t){So(e)&&Q_(e,t)}function Q_(e,t){const s=e[ae],a=e[A],f=e[Vn];let b=!!(0===t&&16&a);if(b||=!!(64&a&&0===t),b||=!!(1024&a),b||=!(!f?.dirty||!U(f)),b||=!1,f&&(f.dirty=!1),e[A]&=-9217,b)NA(s,e,s.template,e[et]);else if(8192&a){RE(e,1);const D=s.components;null!==D&&FE(e,D,1)}}function FE(e,t,n){for(let s=0;s<t.length;s++)LA(e,t[s],n)}function bh(e,t){const n=wc()?64:1088;for(e[Mt].changeDetectionScheduler?.notify(t);e;){e[A]|=n;const s=Es(e);if(fo(e)&&!s)return e;e=s}return null}class Sh{get rootNodes(){const t=this._lView,n=t[ae];return Ch(n,t,n.firstChild,[])}constructor(t,n,s=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=s,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[et]}set context(t){this._lView[et]=t}get destroyed(){return!(256&~this._lView[A])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[x];if(gn(t)){const n=t[8],s=n?n.indexOf(this):-1;s>-1&&(Bl(t,s),so(n,s))}this._attachedToViewContainer=!1}tl(this._lView[ae],this._lView)}onDestroy(t){Ql(this._lView,t)}markForCheck(){bh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[A]&=-129}reattach(){gc(this._lView),this._lView[A]|=128}detectChanges(){this._lView[A]|=1024,ug(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new we(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=fo(this._lView),n=this._lView[Un];null!==n&&!t&&gh(n,this._lView),Yp(this._lView[ae],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new we(902,!1);this._appRef=t;const n=fo(this._lView),s=this._lView[Un];null!==s&&!n&&Jp(s,this._lView),gc(this._lView)}}let Ah=(()=>{class e{static{this.__NG_ELEMENT_ID__=VA}}return e})();const kA=Ah,UA=class extends kA{constructor(t,n,s){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=s}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,s){const a=Vu(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:s});return new Sh(a)}};function VA(){return dg(Qi(),$t())}function dg(e,t){return 4&e.type?new UA(t,e,Gc(e,t)):null}const rT=new RegExp(`^(\\d+)*(${Yd}|${Tu})*(.*)`);function tm(e){return e.index-bn}function Ph(e,t,n,s){const a=tm(s);let f=function HE(e,t){const n=e.i18nNodes;if(n)return n.get(t)}(e,a);if(void 0===f){const b=e.data[Tl];if(b?.[a])f=function zE(e,t){const[n,...s]=function sT(e){const t=e.match(rT),[n,s,a,f]=t,b=s?parseInt(s,10):a,D=[];for(const[k,te,_e]of f.matchAll(/(f|n)(\d*)/g)){const $e=parseInt(_e,10)||1;D.push(te,$e)}return[b,...D]}(e);let a;a=n===Tu?t[En][$n]:n===Yd?function Kp(e){return e.ownerDocument.body}(t[En][$n]):Ui(t[Number(n)+bn]);return function lT(e,t){let n=e;for(let s=0;s<t.length;s+=2){const a=t[s],f=t[s+1];for(let b=0;b<f;b++)switch(a){case zc.FirstChild:n=n.firstChild;break;case zc.NextSibling:n=n.nextSibling}}return n}(a,s)}(b[a],n);else if(t.firstChild===s)f=e.firstChild;else{const D=null===s.prev,k=s.prev??s.parent;if(function aT(e){return!e.prev&&8===e.parent?.type}(s))f=qd(e,tm(s.parent));else{let te=Lo(k,n);if(D)f=te.firstChild;else{const _e=tm(k),$e=qd(e,_e);f=2===k.type&&$e?gg(eh(e,_e)+1,$e):te.nextSibling}}}}return f}function gg(e,t){let n=t;for(let s=0;s<e;s++)n=n.nextSibling;return n}let YE=!1;function OT(e,t,n){for(const s of n.node.cases[n.case]){const a=t.get(s.index-bn);a&&kl(e,a,!1)}}function qE(e){const t=e[Ko]??[],s=e[x][zt];for(const a of t)DT(a,s);e[Ko]=Ei}function DT(e,t){let n=0,s=e.firstChild;if(s){const a=e.data[Yc];for(;n<a;){const f=s.nextSibling;kl(t,s,!1),s=f,n++}}}function ey(e){qE(e);const t=e[$n];Or(t)&&_g(t);for(let n=sr;n<e.length;n++)_g(e[n])}function _g(e){!function TT(e){const t=e[Be];if(t){const{i18nNodes:n,dehydratedIcuData:s}=t;if(n&&s){const a=e[zt];for(const f of s.values())OT(a,n,f)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[ae];for(let n=bn;n<t.bindingStartIndex;n++)gn(e[n])?ey(e[n]):Or(e[n])&&_g(e[n])}
1let ty=()=>null;function PT(e,t){const n=e[Ko];return t&&null!==n&&0!==n.length?n[0].data[Al]===t?n.shift():(qE(e),null):null}function jl(e,t){return ty(e,t)}class $u{}const Gu=new Fn("",{providedIn:"root",factory:()=>!1}),ny=new Fn(""),am=new Fn("");class RT{}class iy{}class FT{resolveComponentFactory(t){throw function wT(e){const t=Error(`No component factory found for ${ze(e)}.`);return t.ngComponent=e,t}(t)}}class Rh{static{this.NULL=new FT}}class cm{}let NT=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function BT(){const e=$t(),n=Zr(Qi().index,e);return(Or(n)?n:e)[zt]}()}}return e})(),LT=(()=>{class e{static{this.\u0275prov=H({token:e,providedIn:"root",factory:()=>null})}}return e})();function nl(e){return!!Fr(e)}function vg(e,t,n){let s=n?e.styles:null,a=n?e.classes:null,f=0;if(null!==t)for(let b=0;b<t.length;b++){const D=t[b];"number"==typeof D?f=D:1==f?a=on(a,D):2==f&&(s=on(s,D+": "+t[++b]+";"))}n?e.styles=s:e.stylesWithoutHost=s,n?e.classes=a:e.classesWithoutHost=a}class ay extends Rh{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Yn(t);return new Nh(n,this.ngModule)}}function cy(e,t){const n=[];for(const s in e){if(!e.hasOwnProperty(s))continue;const a=e[s];if(void 0===a)continue;const f=Array.isArray(a),b=f?a[0]:a;n.push(t?{propName:b,templateName:s,isSignal:!!((f?a[1]:_r.None)&_r.SignalBased)}:{propName:b,templateName:s})}return n}class Nh extends iy{get inputs(){const t=this.componentDef,n=t.inputTransforms,s=cy(t.inputs,!0);if(null!==n)for(const a of s)n.hasOwnProperty(a.propName)&&(a.transform=n[a.propName]);return s}get outputs(){return cy(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function uo(e){return e.map(Is).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,s,a){const f=_(null);try{let b=(a=a||this.ngModule)instanceof Lr?a:a?.injector;b&&null!==this.componentDef.getStandaloneInjector&&(b=this.componentDef.getStandaloneInjector(b)||b);const D=b?new Cc(t,b):t,k=D.get(cm,null);if(null===k)throw new we(407,!1);const $e={rendererFactory:k,sanitizer:D.get(LT,null),inlineEffectRunner:null,changeDetectionScheduler:D.get($u,null)},it=k.createRenderer(null,this.componentDef),dt=this.componentDef.selectors[0][0]||"div",bt=s?function nA(e,t,n,s){const f=s.get(yr,!1)||n===wr.ShadowDom,b=e.selectRootElement(t,f);return function iA(e){mE(e)}(b),b}(it,s,this.componentDef.encapsulation,D):el(it,dt,function VT(e){const t=e.toLowerCase();return"svg"===t?ll:"math"===t?"math":null}(dt));let Jt=512;this.componentDef.signals?Jt|=4096:this.componentDef.onPush||(Jt|=16);let hn=null;null!==bt&&(hn=Zd(bt,D,!0));const _n=la(0,null,null,1,0,null,null,null,null,null,null),Xt=Ci(null,_n,null,Jt,null,null,$e,it,D,null,hn);iu(Xt);let gi,Vi,lr=null;try{const io=this.componentDef;let Hs,pd=null;io.findHostDirectiveDefs?(Hs=[],pd=new Map,io.findHostDirectiveDefs(io,Hs,pd),Hs.push(io)):Hs=[io];const tA=function WT(e,t){const n=e[ae],s=bn;return e[s]=t,zn(n,s,2,"#host",null)}(Xt,bt);lr=function $T(e,t,n,s,a,f,b){const D=a[ae];!function GT(e,t,n,s){for(const a of e)t.mergedAttrs=ms(t.mergedAttrs,a.hostAttrs);null!==t.mergedAttrs&&(vg(t,t.mergedAttrs,!0),null!==n&>(s,n,t))}(s,e,t,b);let k=null;null!==t&&(k=Zd(t,a[Et]));const te=f.rendererFactory.createRenderer(t,n);let _e=16;n.signals?_e=4096:n.onPush&&(_e=64);const $e=Ci(a,$s(n),null,_e,a[e.index],e,f,te,null,null,k);return D.firstCreatePass&&G_(D,e,s.length-1),cg(a,$e),a[e.index]=$e}(tA,bt,io,Hs,Xt,$e,it),Vi=pc(_n,bn),bt&&function HT(e,t,n,s){if(s)Os(e,n,["ng-version","18.2.13"]);else{const{attrs:a,classes:f}=function xs(e){const t=[],n=[];let s=1,a=2;for(;s<e.length;){let f=e[s];if("string"==typeof f)2===a?""!==f&&t.push(f,e[++s]):8===a&&n.push(f);else{if(!G(a))break;a=f}s++}return{attrs:t,classes:n}}(t.selectors[0]);a&&Os(e,n,a),f&&f.length>0&&ot(e,n,f.join(" "))}}(it,io,bt,s),void 0!==n&&function zT(e,t,n){const s=e.projection=[];for(let a=0;a<t.length;a++){const f=n[a];s.push(null!=f?Array.from(f):null)}}(Vi,this.ngContentSelectors,n),gi=function KT(e,t,n,s,a,f){const b=Qi(),D=a[ae],k=Lo(b,a);yE(D,a,b,n,null,s);for(let _e=0;_e<n.length;_e++)Vo(ec(a,D,b.directiveStart+_e,b),a);CE(D,a,b),k&&Vo(k,a);
1const te=ec(a,D,b.directiveStart+b.componentOffset,b);if(e[et]=a[et]=te,null!==f)for(const _e of f)_e(te,t);return To(D,b,a),te}(lr,io,Hs,pd,Xt,[XT]),X_(_n,Xt,null)}catch(io){throw null!==lr&&Wd(lr),Wd(Xt),io}finally{Sa()}return new jT(this.componentType,gi,Gc(Vi,Xt),Xt,Vi)}finally{_(f)}}}class jT extends RT{constructor(t,n,s,a,f){super(),this.location=s,this._rootLView=a,this._tNode=f,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Sh(a,void 0,!1),this.componentType=t}setInput(t,n){const s=this._tNode.inputs;let a;if(null!==s&&(a=s[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const f=this._rootLView;z_(f[ae],f,a,t,n),this.previousInputValues.set(t,n),bh(Zr(this._tNode.index,f),1)}}get injector(){return new Wr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function XT(){const e=Qi();su($t()[ae],e)}let Eg=(()=>{class e{static{this.__NG_ELEMENT_ID__=YT}}return e})();function YT(){return dy(Qi(),$t())}const QT=Eg,ly=class extends QT{constructor(t,n,s){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=s}get element(){return Gc(this._hostTNode,this._hostLView)}get injector(){return new Wr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Bc(this._hostTNode,this._hostLView);if(lu(t)){const n=bc(t,this._hostLView),s=Za(t);return new Wr(n[ae].data[s+8],n)}return new Wr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=uy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-sr}createEmbeddedView(t,n,s){let a,f;"number"==typeof s?a=s:null!=s&&(a=s.index,f=s.injector);const b=jl(this._lContainer,t.ssrId),D=t.createEmbeddedViewImpl(n||{},f,b);return this.insertImpl(D,a,Ul(this._hostTNode,b)),D}createComponent(t,n,s,a,f){const b=t&&!function Ke(e){return"function"==typeof e}(t);let D;if(b)D=n;else{const bt=n||{};D=bt.index,s=bt.injector,a=bt.projectableNodes,f=bt.environmentInjector||bt.ngModuleRef}const k=b?t:new Nh(Yn(t)),te=s||this.parentInjector;if(!f&&null==k.ngModule){const Jt=(b?te:this.parentInjector).get(Lr,null);Jt&&(f=Jt)}const _e=Yn(k.componentType??{}),$e=jl(this._lContainer,_e?.id??null),dt=k.create(te,a,$e?.firstChild??null,f);return this.insertImpl(dt.hostView,D,Ul(this._hostTNode,$e)),dt}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,s){const a=t._lView;if(function gd(e){return gn(e[x])}(a)){const D=this.indexOf(t);if(-1!==D)this.detach(D);
1else{const k=a[x],te=new ly(k,k[fe],k[x]);te.detach(te.indexOf(t))}}const f=this._adjustIndex(n),b=this._lContainer;return ju(b,a,f,s),t.attachToViewContainerRef(),tr(dm(b),f,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=uy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),s=Bl(this._lContainer,n);s&&(so(dm(this._lContainer),n),tl(s[ae],s))}detach(t){const n=this._adjustIndex(t,-1),s=Bl(this._lContainer,n);return s&&null!=so(dm(this._lContainer),n)?new Sh(s):null}_adjustIndex(t,n=0){return t??this.length+n}};function uy(e){return e[8]}function dm(e){return e[8]||(e[8]=[])}function dy(e,t){let n;const s=t[e.index];return gn(s)?n=s:(n=bE(s,t,null,e),t[e.index]=n,cg(t,n)),hy(n,t,e,s),new ly(n,e,t)}let hy=py,hm=()=>!1;function fy(e,t,n){return hm(e,t,n)}function py(e,t,n,s){if(e[vr])return;let a;a=8&n.type?Ui(s):function JT(e,t){const n=e[zt],s=n.createComment(""),a=Lo(t,e);return xc(n,mh(n,a),s,function W_(e,t){return e.nextSibling(t)}(n,a),!1),s}(t,n),e[vr]=a}function ZT(e,t,n){if(e[vr]&&e[Ko])return!0;const s=n[Be],a=t.index-bn;if(!s||function Cl(e){if(yl(e))return!0;let t=e.parent;for(;t;){if(yl(e)||Vd(t))return!0;t=t.parent}return!1}(t)||Tc(s,a))return!1;const b=qd(s,a),D=s.data[ic]?.[a],[k,te]=function xT(e,t){const n=[];for(const s of t)for(let a=0;a<(s[Du]??1);a++){const f={data:s,firstChild:null};s[Yc]>0&&(f.firstChild=e,e=gg(s[Yc],e)),n.push(f)}return[e,n]}(b,D);return e[vr]=k,e[Ko]=te,!0}function qT(e,t,n,s){hm(e,n,t)||py(e,t,n,s)}class fm{constructor(t){this.queryList=t,this.matches=null}clone(){return new fm(this.queryList)}setDirty(){this.queryList.setDirty()}}class pm{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const s=null!==t.contentQueries?t.contentQueries[0]:n.length,a=[];for(let f=0;f<s;f++){const b=n.getByIndex(f);a.push(this.queries[b.indexInDeclarationView].clone())}return new pm(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Em(t,n).matches&&this.queries[n].setDirty()}}class gy{constructor(t,n,s=null){this.flags=n,this.read=s,this.predicate="string"==typeof t?function oO(e){return e.split(",").map(t=>t.trim())}(t):t}}class gm{constructor(t=[]){this.queries=t}elementStart(t,n){for(let s=0;s<this.queries.length;s++)this.queries[s].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let s=0;s<this.length;s++){const a=null!==n?n.length:0,f=this.getByIndex(s).embeddedTView(t,a);f&&(f.indexInDeclarationView=s,null!==n?n.push(f):n=[f])}return null!==n?new gm(n):null}template(t,n){for(let s=0;s<this.queries.length;s++)this.queries[s].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class _m{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new _m(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let s=t.parent;for(;null!==s&&8&s.type&&s.index!==n;)s=s.parent;return n===(null!==s?s.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const s=this.metadata.predicate;if(Array.isArray(s))for(let a=0;a<s.length;a++){const f=s[a];this.matchTNodeWithReadOption(t,n,tO(n,f)),this.matchTNodeWithReadOption(t,n,Uc(n,t,f,!1,!1))}else s===Ah?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Uc(n,t,s,!1,!1))}matchTNodeWithReadOption(t,n,s){if(null!==s){const a=this.metadata.read;if(null!==a)if(a===vl||a===Eg||a===Ah&&4&n.type)this.addMatch(n.index,-2);else{const f=Uc(n,t,a,!1,!1);null!==f&&this.addMatch(n.index,f)}else this.addMatch(n.index,s)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function tO(e,t){const n=e.localNames;if(null!==n)for(let s=0;s<n.length;s+=2)if(n[s]===t)return n[s+1];return null}function iO(e,t,n,s){return-1===n?function nO(e,t){return 11&e.type?Gc(e,t):4&e.type?dg(e,t):null}(t,e):-2===n?function rO(e,t,n){return n===vl?Gc(t,e):n===Ah?dg(t,e):n===Eg?dy(t,e):void 0}(e,t,s):ec(e,e[ae],n,t)}function _y(e,t,n,s){const a=t[ki].queries[s];if(null===a.matches){const f=e.data,b=n.matches,D=[];for(let k=0;null!==b&&k<b.length;k+=2){const te=b[k];D.push(te<0?null:iO(t,f[te],b[k+1],n.metadata.read))}a.matches=D}return a.matches}function mm(e,t,n,s){const a=e.queries.getByIndex(n),f=a.matches;if(null!==f){const b=_y(e,t,a,n);for(let D=0;D<f.length;D+=2){const k=f[D];if(k>0)s.push(b[D/2]);else{const te=f[D+1],_e=t[-k];for(let $e=sr;$e<_e.length;$e++){const it=_e[$e];it[Un]===it[x]&&mm(it[ae],it,te,s)}if(null!==_e[Fo]){const $e=_e[Fo];for(let it=0;
1it<$e.length;it++){const dt=$e[it];mm(dt[ae],dt,te,s)}}}}}return s}function vm(e,t){return e[ki].queries[t].queryList}function my(e,t,n){const s=new Ud(!(4&~n));return function sA(e,t,n,s){const a=AE(t);a.push(n),e.firstCreatePass&&TE(e).push(s,a.length-1)}(e,t,s,s.destroy),(t[ki]??=new pm).queries.push(new fm(s))-1}function vy(e,t,n){const s=Ai();return s.firstCreatePass&&(yy(s,new gy(e,t,n),-1),!(2&~t)&&(s.staticViewQueries=!0)),my(s,$t(),t)}function yy(e,t,n){null===e.queries&&(e.queries=new gm),e.queries.track(new _m(t,n))}function Em(e,t){return e.queries.getByIndex(t)}function Cy(e,t){const n=e[ae],s=Em(n,t);return s.crossesNgTemplate?mm(n,e,t,[]):_y(n,e,s,t)}const by=new Set;function fs(e){by.has(e)||(by.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Ay(e,t){fs("NgSignals");const n=function ke(e){const t=Object.create(Oe);t.value=e;const n=()=>(C(t),t.value);return n[v]=t,n}(e),s=n[v];return t?.equal&&(s.equal=t.equal),n.set=a=>Pe(s,a),n.update=a=>function Me(e,t){S()||Se(),Pe(e,t(e.value))}(s,a),n.asReadonly=Ty.bind(n),n}function Ty(){const e=this[v];if(void 0===e.readonlyFn){const t=()=>this();t[v]=e,e.readonlyFn=t}return e.readonlyFn}function Oy(e){return function Sy(e){return"function"==typeof e&&void 0!==e[v]}(e)&&"function"==typeof e.set}function ym(e,t){let n;const s=$(()=>{n._dirtyCounter();const a=function aO(e,t){const n=e._lView,s=e._queryIndex;if(void 0===n||void 0===s||4&n[A])return t?void 0:Ei;const a=vm(n,s),f=Cy(n,s);return a.reset(f,Jf),t?a.first:a._changesDetected||void 0===e._flatValue?e._flatValue=a.toArray():e._flatValue}(n,e);if(t&&void 0===a)throw new we(-951,!1);return a});return n=s[v],n._dirtyCounter=Ay(0),n._flatValue=void 0,s}function My(e,t){return function Dy(){return ym(!0,!1)}()}const lO=(My.required=function cO(e,t){return function Iy(){return ym(!0,!0)}()},My);function Ry(e){const t=Object.create(tn),n=new Yf;function s(){return C(t),wy(t.value),t.value}return t.value=e,s[v]=t,s.asReadonly=Ty.bind(s),s.set=a=>{t.equal(t.value,a)||(Pe(t,a),n.emit(a))},s.update=a=>{wy(t.value),s.set(a(t.value))},s.subscribe=n.subscribe.bind(n),s.destroyRef=n.destroyRef,s}function wy(e){if(e===ct)throw new we(952,!1)}function Fy(e){return Ry(e)}const dO=(Fy.required=function uO(){return Ry(ct)},Fy);function Cm(e){let t=function Uy(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const s=[e];for(;t;){let a;if(zi(e))a=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new we(903,!1);a=t.\u0275dir}if(a){if(n){s.push(a);const b=e;b.inputs=Cg(e.inputs),b.inputTransforms=Cg(e.inputTransforms),b.declaredInputs=Cg(e.declaredInputs),b.outputs=Cg(e.outputs);const D=a.hostBindings;D&&AO(e,D);const k=a.viewQuery,te=a.contentQueries;if(k&&bO(e,k),te&&SO(e,te),yO(e,a),Dt(e.outputs,a.outputs),zi(a)&&a.data.animation){const _e=e.data;_e.animation=(_e.animation||[]).concat(a.data.animation)}}const f=a.features;if(f)for(let b=0;b<f.length;b++){const D=f[b];D&&D.ngInherit&&D(e),D===Cm&&(n=!1)}}t=Object.getPrototypeOf(t)}!function CO(e){let t=0,n=null;for(let s=e.length-1;s>=0;s--){const a=e[s];a.hostVars=t+=a.hostVars,a.hostAttrs=ms(a.hostAttrs,n=ms(n,a.hostAttrs))}}(s)}function yO(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const s=t.inputs[n];if(void 0!==s&&(e.inputs[n]=s,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const a=Array.isArray(s)?s[0]:s;if(!t.inputTransforms.hasOwnProperty(a))continue;e.inputTransforms??={},e.inputTransforms[a]=t.inputTransforms[a]}}}function Cg(e){return e===Xr?{}:e===Ei?[]:e}function bO(e,t){const n=e.viewQuery;e.viewQuery=n?(s,a)=>{t(s,a),n(s,a)}:t}function SO(e,t){const n=e.contentQueries;e.contentQueries=n?(s,a,f)=>{t(s,a,f),n(s,a,f)}:t}function AO(e,t){const n=e.hostBindings;e.hostBindings=n?(s,a)=>{t(s,a),n(s,a)}:t}function Gy(e){const t=e.inputConfig,n={};for(const s in t)if(t.hasOwnProperty(s)){const a=t[s];Array.isArray(a)&&a[3]&&(n[s]=a[3])}e.inputTransforms=n}class Wl{}class Ky{}function PO(e,t){return new Sm(e,t??null,[])}class Sm extends Wl{constructor(t,n,s,a=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ay(this);const f=Fr(t);this._bootstrapComponents=Yo(f.bootstrap),this._r3Injector=Fd(t,n,[{provide:Wl,useValue:this},{provide:Rh,useValue:this.componentFactoryResolver},...s],ze(t),new Set(["environment"])),a&&this.resolveInjectorInitializer
1s()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Am extends Ky{constructor(t){super(),this.moduleType=t}create(t){return new Sm(this.moduleType,t,[])}}class Hy extends Wl{constructor(t){super(),this.componentFactoryResolver=new ay(this),this.instance=null;const n=new na([...t.providers,{provide:Wl,useValue:this},{provide:Rh,useValue:this.componentFactoryResolver}],t.parent||ga(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Tm(e,t,n=null){return new Hy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let RO=(()=>{class e{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(n,s,a,f){if(!this.cachedInjectors.has(n)){const b=a.length>0?Tm(a,s,f):null;this.cachedInjectors.set(n,b)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=H({token:e,providedIn:"environment",factory:()=>new e})}}return e})();function bg(e){return!!Om(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Om(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function sc(e,t,n){return e[t]=n}function Lh(e,t){return e[t]}function eo(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function $l(e,t,n,s){const a=eo(e,t,n);return eo(e,t+1,s)||a}function Sg(e,t,n,s,a){const f=$l(e,t,n,s);return eo(e,t+2,a)||f}function xa(e,t,n,s,a,f){const b=$l(e,t,n,s);return $l(e,t+2,a,f)||b}function Hu(e){return!(32&~e.flags)}function kh(e,t,n,s,a,f,b,D,k,te){const _e=n+bn,$e=t.firstCreatePass?function BO(e,t,n,s,a,f,b,D,k){const te=t.consts,_e=zn(t,e,4,b||null,D||null);$_(t,n,_e,Ns(te,k)),su(t,_e);const $e=_e.tView=la(2,_e,s,a,f,t.directiveRegistry,t.pipeRegistry,null,t.schemas,te,null);return null!==t.queries&&(t.queries.template(t,_e),$e.queries=t.queries.embeddedTView(_e)),_e}(_e,t,e,s,a,f,b,D,k):t.data[_e];Bs($e,!1);const it=zy(t,e,$e,n);Fc()&&Uu(t,e,it,$e),Vo(it,e);const dt=bE(it,e,it,$e);return e[_e]=dt,cg(e,dt),fy(dt,$e,e),Si($e)&&Qo(t,e,$e),null!=k&&Pr(e,$e,te),$e}function Dm(e,t,n,s,a,f,b,D){const k=$t(),te=Ai();return kh(k,te,e,t,n,s,a,Ns(te.consts,f),b,D),Dm}let zy=Xy;function Xy(e,t,n,s){return Ir(!0),t[zt].createComment("")}function LO(e,t,n,s){const a=t[Be],f=!a||_c()||Hu(n)||Tc(a,s);if(Ir(f),f)return Xy(0,t);const b=a.data[Xc]?.[s]??null;null!==b&&null!==n.tView&&null===n.tView.ssrId&&(n.tView.ssrId=b);const D=Ph(a,e,t,n);return ca(a,s,D),gg(eh(a,s),D)}var to=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(to||{});const Yy=0,UO=1;var no=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(no||{}),Uh=function(e){return e[e.Initial=-1]="Initial",e}(Uh||{});const zu=0,Ag=1,Qy=4,Jy=5;var Zy=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Zy||{});function Og(e,t,n){const s=1===e?Jy:Qy;null===t[s]&&(t[s]=[]),t[s].push(n)}function Im(e,t){const n=1===e?Jy:Qy,s=t[n];if(null!==s){for(const a of s)a();t[n]=null}}function qy(e){Im(1,e),Im(0,e)}function VO(e,t){if(null!==m())throw new we(-602,!1)}var Xu=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Xu||{});let e1=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}}return e})();class jh{constructor(){this.ngZone=xn(pr),this.scheduler=xn($u),this.errorHandler=xn(ja,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Xu.EarlyRead,Xu.Write,Xu.MixedReadWrite,Xu.Read]}execute(){this.executing=!0;for(const t of jh.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[t])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(s){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(s)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=H({token:jh,providedIn:"root",factory:()=>new jh})}}class jO{constructor(t,n,s,a){this.impl=t,this.hooks=n,this.once=s,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Dg(e,t){!t?.injector&&Qr();const n=t?.injector??xn($r);return ds(n)?(fs("NgAfterNextRender"),function t1(e,t,n,s){const a=t.get(e1);a.impl??=t.get(jh);const f=n?.phase??Xu.MixedReadWrite,b=!0!==n?.manualCleanup?t.get($c):null,D=new jO(
1a.impl,function $O(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,f),s,b);return a.impl.register(D),D}(e,n,t,!0)):n1}const n1={destroy(){}};function Ig(e){return e+1}function Gl(e,t){return e[Ig(t.index)]}function ua(e,t){const n=Ig(t.index);return e.data[n]}function xm(e,t){return t===no.Placeholder?e.placeholderBlockConfig?.[Yy]??null:t===no.Loading?e.loadingBlockConfig?.[Yy]??null:null}function r1(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const s of t)n.add(s);return e.length===n.size?e:Array.from(n)}const Yu=new WeakMap;let Qu=null,Rm=0;class wm{constructor(){this.callbacks=new Set,this.listener=()=>{for(const t of this.callbacks)t()}}}function l1(e,t,n){const s=n.get(pr);let a=Yu.get(e);return Qu=Qu||s.runOutsideAngular(()=>new IntersectionObserver(f=>{for(const b of f)b.isIntersecting&&Yu.has(b.target)&&s.run(Yu.get(b.target).listener)})),a||(a=new wm,s.runOutsideAngular(()=>Qu.observe(e)),Yu.set(e,a),Rm++),a.callbacks.add(t),()=>{Yu.has(e)&&(a.callbacks.delete(t),0===a.callbacks.size&&(Qu?.unobserve(e),Yu.delete(e),Rm--),0===Rm&&(Qu?.disconnect(),Qu=null))}}const tD=new Fn("");let Nm=null;function f1(e,t,n,s,a,f,b,D,k){const te=$t(),_e=Ai(),$e=e+bn,it=kh(te,_e,e,null,0,0);if(_e.firstCreatePass){fs("NgDefer");const hn={primaryTmplIndex:t,loadingTmplIndex:s??null,placeholderTmplIndex:a??null,errorTmplIndex:f??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:to.NOT_STARTED,loadingPromise:null,providers:null};k?.(_e,hn,D,b),function KO(e,t,n){const s=Ig(t);e.data[s]=n}(_e,$e,hn)}fy(te[$e],it,te);const bt=[null,Uh.Initial,null,null,null,null];!function GO(e,t,n){e[Ig(t)]=n}(te,$e,bt);const Jt=()=>qy(bt);Og(0,bt,()=>_d(te,Jt)),Ql(te,Jt)}function p1(e){const t=$t();if(eo(t,sa(),e)){const s=_(null);try{const a=!!e,f=cr(),D=Gl(t,f)[Ag];!1===a&&D===Uh.Initial?Zu(t,f):!0===a&&(D===Uh.Initial||D===no.Placeholder)&&qu(t,f)}finally{_(s)}}}function g1(e,t){const n=$t(),s=Qi();Zu(n,s),function Ju(e,t,n,s,a,f,b){const D=e[Et],k=D.get(pr);Dg({read:function te(){if(Zi(e))return;const _e=Gl(e,t),$e=_e[Ag];if($e!==Uh.Initial&&$e!==no.Placeholder)return;const it=function YO(e,t,n){return null==n?e:n>=0?Xl(n,e):e[t.index][sr]??null}(e,t,s);if(!it)return void Dg({read:te},{injector:D});if(Zi(it))return;const dt=function QO(e,t){return fc(bn+t,e)}(it,n),bt=a(dt,()=>{k.run(()=>{e!==it&&_d(it,bt),f()})},D);e!==it&&Ql(it,bt),Og(b,_e,bt)}},{injector:D})}(n,s,e,t,l1,()=>qu(n,s),0)}function rl(e,t,n,s=!1){const a=n[x],f=a[ae];if(Zi(a))return;const b=Gl(a,t);if(y1(b[Ag],e)&&y1(b[zu]??-1,e)){const k=a[Et],te=ua(f,t),$e=s||!ds(k)||null===function i1(e){return e.loadingBlockConfig?.[UO]??null}(te)&&null===xm(te,no.Loading)&&!xm(te,no.Placeholder)?v1:Nm;try{$e(e,b,n,t,a)}catch(it){lg(a,it)}}}function Bm(e,t,n){return e.get(RO).getOrCreateInjector(t,e,n,"")}function v1(e,t,n,s,a){const f=function HO(e,t,n){const a=ua(t[ae],n);switch(e){case no.Complete:return a.primaryTmplIndex;case no.Loading:return a.loadingTmplIndex;case no.Error:return a.errorTmplIndex;case no.Placeholder:return a.placeholderTmplIndex;default:return null}}(e,a,s);if(null!==f){t[Ag]=e;const b=a[ae],k=pc(b,f+bn),te=0;let _e;if(Y_(n,te),e===no.Complete){const dt=ua(b,s),bt=dt.providers;bt&&bt.length>0&&(_e=function gD(e,t,n){if(e instanceof Cc){const a=e.injector,b=Bm(e.parentInjector,t,n);return new Cc(a,b)}const s=e.get(Lr);if(s!==e){const a=Bm(s,t,n);return new Cc(e,a)}return Bm(e,t,n)}(a[Et],dt,bt))}const $e=jl(n,k.tView.ssrId),it=Vu(a,k,null,{dehydratedView:$e,injector:_e});ju(n,it,te,Ul(k,$e)),bh(it,2)}}function y1(e,t){return e<t}function Zu(e,t){rl(no.Placeholder,t,e[t.index])}function C1(e,t,n){e.loadingPromise.then(()=>{e.loadingState===to.COMPLETE?rl(no.Complete,t,n):e.loadingState===to.FAILED&&rl(no.Error,t,n)})}function qu(e,t){const n=e[ae],s=e[t.index];if(!function Fm(e){return e.get(tD,null,{optional:!0})?.behavior!==Zy.Manual&&ds(e)}(e[Et]))return;const f=Gl(e,t),b=ua(n,t);switch(qy(f),b.loadingState){case to.NOT_STARTED:rl(no.Loading,t,s),function Lm(e,t,n){const s=t[Et],a=t[ae];if(e.loadingState!==to.NOT_STARTED)return e.loadingPromise??Promise.resolve();const f=Gl(t,n),b=function zO(e,t){return pc(e,t.primaryTmplIndex+bn)}(a,e);e.loadingState=to.IN_PROGRESS,Im(1,f);let D=e.dependencyResolverFn;const k=s.get(Ac),te=k.add();return D?(e.loadingPromise=Promise.allSettled(D()).then(_e=>{let $e=!1;const it=[],dt=[];for(const bt of _e){if("fulfilled"!==bt.status){$e=!0;break}{const Jt=bt.value,hn=Yn(Jt)||xi(Jt);if(hn)it.push(hn);else{const _n=mr(Jt);_n&&dt.push(_n)}}}if(e.loadingPromise=null,k.remove(te),$e){if(e.loadingState=to.FAILED,null===e.errorTmplIndex){const Jt=new we(750,!1);lg(t,Jt)}}else{e.loadingState=to.COMPLETE;const bt=b.tView;if(it.length>0){bt.directiveRegistry=r1(bt.directiveRegistry,it);
1const hn=Tn(!1,...it.map(_n=>_n.type));e.providers=hn}dt.length>0&&(bt.pipeRegistry=r1(bt.pipeRegistry,dt))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=to.COMPLETE,k.remove(te)}),e.loadingPromise)}(b,e,t),b.loadingState===to.IN_PROGRESS&&C1(b,t,s);break;case to.IN_PROGRESS:rl(no.Loading,t,s),C1(b,t,s);break;case to.COMPLETE:rl(no.Complete,t,s);break;case to.FAILED:rl(no.Error,t,s)}}function km(e,t,n,s){const a=$t();return eo(a,sa(),t)&&(Ai(),oc(cr(),a,e,t,n,s)),km}function td(e,t,n,s){return eo(e,sa(),n)?t+Nn(n)+s:pt}function nd(e,t,n,s,a,f){const D=$l(e,La(),n,a);return Ls(2),D?t+Nn(n)+s+Nn(a)+f:pt}function Um(e,t,n,s,a,f){const b=$t(),D=td(b,t,n,s);return D!==pt&&oc(cr(),b,e,D,a,f),Um}function Vm(e,t,n,s,a,f,b,D){const k=$t(),te=nd(k,t,n,s,a,f);return te!==pt&&oc(cr(),k,e,te,b,D),Vm}function Pg(e,t){return e<<17|t<<2}function ol(e){return e>>17&32767}function jm(e){return 2|e}function Kl(e){return(131068&e)>>2}function Wm(e,t){return-131069&e|t<<2}function $m(e){return 1|e}function x1(e,t,n,s){const a=e[n+1],f=null===t;let b=s?ol(a):Kl(a),D=!1;for(;0!==b&&(!1===D||f);){const te=e[b+1];bD(e[b],t)&&(D=!0,e[b+1]=s?$m(te):jm(te)),b=s?ol(te):Kl(te)}D&&(e[n+1]=s?jm(a):$m(a))}function bD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ar(e,t)>=0}const Oo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function P1(e){return e.substring(Oo.key,Oo.keyEnd)}function M1(e,t){const n=Oo.textEnd;return n===t?-1:(t=Oo.keyEnd=function OD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Oo.key=t,n),ld(e,t,n))}function ld(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Gm(e,t,n){const s=$t();return eo(s,sa(),t)&&Gs(Ai(),cr(),s,e,t,s[zt],n,!1),Gm}function Km(e,t,n,s,a){const b=a?"class":"style";z_(e,n,t.inputs[b],b,s)}function Hm(e,t,n){return Ha(e,t,n,!1),Hm}function zm(e,t){return Ha(e,t,null,!0),zm}function B1(e){za(ND,cc,e,!0)}function cc(e,t){for(let n=function AD(e){return function w1(e){Oo.key=0,Oo.keyEnd=0,Oo.value=0,Oo.valueEnd=0,Oo.textEnd=e.length}(e),M1(e,ld(e,0,Oo.textEnd))}(t);n>=0;n=M1(t,n))rr(e,P1(t),!0)}function Ha(e,t,n,s){const a=$t(),f=Ai(),b=Ls(2);f.firstUpdatePass&&k1(f,e,b,s),t!==pt&&eo(a,b,t)&&V1(f,f.data[po()],a,a[zt],e,a[b+1]=function LD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ze($a(e)))),e}(t,n),s,b)}function za(e,t,n,s){const a=Ai(),f=Ls(2);a.firstUpdatePass&&k1(a,null,f,s);const b=$t();if(n!==pt&&eo(b,f,n)){const D=a.data[po()];if(W1(D,s)&&!L1(a,f)){let k=s?D.classesWithoutHost:D.stylesWithoutHost;null!==k&&(n=on(k,n||"")),Km(a,D,b,n,s)}else!function BD(e,t,n,s,a,f,b,D){a===pt&&(a=Ei);let k=0,te=0,_e=0<a.length?a[0]:null,$e=0<f.length?f[0]:null;for(;null!==_e||null!==$e;){const it=k<a.length?a[k+1]:void 0,dt=te<f.length?f[te+1]:void 0;let Jt,bt=null;_e===$e?(k+=2,te+=2,it!==dt&&(bt=$e,Jt=dt)):null===$e||null!==_e&&_e<$e?(k+=2,bt=_e):(te+=2,bt=$e,Jt=dt),null!==bt&&V1(e,t,n,s,bt,Jt,b,D),_e=k<a.length?a[k]:null,$e=te<f.length?f[te]:null}}(a,D,b,b[zt],b[f+1],b[f+1]=function FD(e,t,n){if(null==n||""===n)return Ei;const s=[],a=$a(n);if(Array.isArray(a))for(let f=0;f<a.length;f++)e(s,a[f],!0);else if("object"==typeof a)for(const f in a)a.hasOwnProperty(f)&&e(s,f,a[f]);else"string"==typeof a&&t(s,a);return s}(e,t,n),s,f)}}function L1(e,t){return t>=e.expandoStartIndex}function k1(e,t,n,s){const a=e.data;if(null===a[n+1]){const f=a[po()],b=L1(e,n);W1(f,s)&&null===t&&!b&&(t=!1),t=function PD(e,t,n,s){const a=fl(e);let f=s?t.residualClasses:t.residualStyles;if(null===a)0===(s?t.classBindings:t.styleBindings)&&(n=$h(n=Xm(null,e,t,n,s),t.attrs,s),f=null);else{const b=t.directiveStylingLast;if(-1===b||e[b]!==a)if(n=Xm(a,e,t,n,s),null===f){let k=function MD(e,t,n){const s=n?t.classBindings:t.styleBindings;if(0!==Kl(s))return e[ol(s)]}(e,t,s);void 0!==k&&Array.isArray(k)&&(k=Xm(null,e,t,k[1],s),k=$h(k,t.attrs,s),function RD(e,t,n,s){e[ol(n?t.classBindings:t.styleBindings)]=s}(e,t,s,k))}else f=function wD(e,t,n){let s;const a=t.directiveEnd;for(let f=1+t.directiveStylingLast;f<a;f++)s=$h(s,e[f].hostAttrs,n);return $h(s,t.attrs,n)}(e,t,s)}return void 0!==f&&(s?t.residualClasses=f:t.residualStyles=f),n}(a,f,t,s),function yD(e,t,n,s,a,f){let b=f?t.classBindings:t.styleBindings,D=ol(b),k=Kl(b);e[s]=n;let _e,te=!1;if(Array.isArray(n)?(_e=n[1],(null===_e||Ar(n,_e)>0)&&(te=!0)):_e=n,a)if(0!==k){const it=ol(e[D+1]);e[s+1]=Pg(it,D),0!==it&&(e[it+1]=Wm(e[it+1],s)),e[D+1]=function vD(e,t){return 131071&e|t<<17}(e[D+1],s)}else e[s+1]=Pg(D,0),0!==D&&(e[D+1]=Wm(e[D+1],s)),D=s;else e[s+1]=Pg(k,0),0===D?D=s:e[k+1]=Wm(e[k+1],s),k=s;te&&(e[s+1]=jm(e[s+1])),x1(e,_e,s,!0),x1(e,_e,s,!1),function CD(e,t,n,s,a){const f=a?e.residualClasses:e.residualStyles;null!=f&&"string"==typeof t&&Ar(f,t)>=0&&(n[s+1]=$m(n[s+1]))}(t,_e,e,s,f),b=Pg(D,k),f?t.classBindings=b:t.styleBindings=b}(a,f,t,n,b,s)}}function Xm(e,t,n,s,a){let f=null;const b=n.directiveEnd;let D=n.directiveStylingLast;
1for(-1===D?D=n.directiveStart:D++;D<b&&(f=t[D],s=$h(s,f.hostAttrs,a),f!==e);)D++;return null!==e&&(n.directiveStylingLast=D),s}function $h(e,t,n){const s=n?1:2;let a=-1;if(null!==t)for(let f=0;f<t.length;f++){const b=t[f];"number"==typeof b?a=b:a===s&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),rr(e,b,!!n||t[++f]))}return void 0===e?null:e}function ND(e,t,n){const s=String(t);""!==s&&!s.includes(" ")&&rr(e,s,n)}function V1(e,t,n,s,a,f,b,D){if(!(3&t.type))return;const k=e.data,te=k[D+1],_e=function ED(e){return!(1&~e)}(te)?j1(k,t,n,a,Kl(te),b):void 0;Mg(_e)||(Mg(f)||function mD(e){return!(2&~e)}(te)&&(f=j1(k,null,n,a,D,b)),function Ae(e,t,n,s,a){if(t)a?e.addClass(n,s):e.removeClass(n,s);else{let f=-1===s.indexOf("-")?void 0:Ao.DashCase;null==a?e.removeStyle(n,s,f):("string"==typeof a&&a.endsWith("!important")&&(a=a.slice(0,-10),f|=Ao.Important),e.setStyle(n,s,a,f))}}(s,b,fc(po(),n),a,f))}function j1(e,t,n,s,a,f){const b=null===t;let D;for(;a>0;){const k=e[a],te=Array.isArray(k),_e=te?k[1]:k,$e=null===_e;let it=n[a+1];it===pt&&(it=$e?Ei:void 0);let dt=$e?wi(it,s):_e===s?it:void 0;if(te&&!Mg(dt)&&(dt=wi(k,s)),Mg(dt)&&(D=dt,b))return D;const bt=e[a+1];a=b?ol(bt):Kl(bt)}if(null!==t){let k=f?t.residualClasses:t.residualStyles;null!=k&&(D=wi(k,s))}return D}function Mg(e){return void 0!==e}function W1(e,t){return!!(e.flags&(t?8:16))}function $1(e,t,n){za(rr,cc,td($t(),e,t,n),!0)}function G1(e,t,n,s,a){za(rr,cc,nd($t(),e,t,n,s,a),!0)}class HD{destroy(t){}updateValue(t,n){}swap(t,n){const s=Math.min(t,n),a=Math.max(t,n),f=this.detach(a);if(a-s>1){const b=this.detach(s);this.attach(s,f),this.attach(a,b)}else this.attach(s,f)}move(t,n){this.attach(n,this.detach(t))}}function Ym(e,t,n,s,a){return e===n&&Object.is(t,s)?1:Object.is(a(e,t),a(n,s))?-1:0}function Qm(e,t,n,s){return!(void 0===t||!t.has(s)||(e.attach(n,t.get(s)),t.delete(s),0))}function K1(e,t,n,s,a){if(Qm(e,t,s,n(s,a)))e.updateValue(s,a);else{const f=e.create(s,a);e.attach(s,f)}}function H1(e,t,n,s){const a=new Set;for(let f=t;f<=n;f++)a.add(s(f,e.at(f)));return a}class z1{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let s=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const a=this._vMap;for(;a.has(s);)s=a.get(s);a.set(s,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,s]of this.kvMap)if(t(s,n),void 0!==this._vMap){const a=this._vMap;for(;a.has(s);)s=a.get(s),t(s,n)}}}function X1(e,t){fs("NgControlFlow");const n=$t(),s=sa(),a=n[s]!==pt?n[s]:-1,f=-1!==a?Rg(n,bn+a):void 0;if(eo(n,s,e)){const D=_(null);try{if(void 0!==f&&Y_(f,0),-1!==e){const k=bn+e,te=Rg(n,k),_e=Jm(n[ae],k),$e=jl(te,_e.tView.ssrId);ju(te,Vu(n,_e,t,{dehydratedView:$e}),0,Ul(_e,$e))}}finally{_(D)}}else if(void 0!==f){const D=DE(f,0);void 0!==D&&(D[et]=t)}}class XD{constructor(t,n,s){this.lContainer=t,this.$implicit=n,this.$index=s}get $count(){return this.lContainer.length-sr}}function Y1(e){return e}function Q1(e,t){return t}class YD{constructor(t,n,s){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=s}}function J1(e,t,n,s,a,f,b,D,k,te,_e,$e,it){fs("NgControlFlow");const dt=$t(),bt=Ai(),Jt=void 0!==k,hn=$t(),_n=D?b.bind(hn[En][et]):b,Xt=new YD(Jt,_n);hn[bn+e]=Xt,kh(dt,bt,e+1,t,n,s,a,Ns(bt.consts,f)),Jt&&kh(dt,bt,e+2,k,te,_e,$e,Ns(bt.consts,it))}class QD extends HD{constructor(t,n,s){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=s,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-sr}at(t){return this.getLView(t)[et].$implicit}attach(t,n){const s=n[Be];this.needsIndexUpdate||=t!==this.length,ju(this.lContainer,n,t,Ul(this.templateTNode,s))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function JD(e,t){return Bl(e,t)}(this.lContainer,t)}create(t,n){const s=jl(this.lContainer,this.templateTNode.tView.ssrId),a=Vu(this.hostLView,this.templateTNode,new XD(this.lContainer,n,t),{dehydratedView:s});return this.operationsCounter?.recordCreate(),a}destroy(t){tl(t[ae],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[et].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}
1updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[et].$index=t}getLView(t){return function ZD(e,t){return DE(e,t)}(this.lContainer,t)}}function Z1(e){const t=_(null),n=po();try{const s=$t(),a=s[ae],f=s[n],b=n+1,D=Rg(s,b);if(void 0===f.liveCollection){const te=Jm(a,b);f.liveCollection=new QD(D,s,te)}else f.liveCollection.reset();const k=f.liveCollection;if(function zD(e,t,n){let s,a,f=0,b=e.length-1;if(Array.isArray(t)){let k=t.length-1;for(;f<=b&&f<=k;){const te=e.at(f),_e=t[f],$e=Ym(f,te,f,_e,n);if(0!==$e){$e<0&&e.updateValue(f,_e),f++;continue}const it=e.at(b),dt=t[k],bt=Ym(b,it,k,dt,n);if(0!==bt){bt<0&&e.updateValue(b,dt),b--,k--;continue}const Jt=n(f,te),hn=n(b,it),_n=n(f,_e);if(Object.is(_n,hn)){const Xt=n(k,dt);Object.is(Xt,Jt)?(e.swap(f,b),e.updateValue(b,dt),k--,b--):e.move(b,f),e.updateValue(f,_e),f++}else if(s??=new z1,a??=H1(e,f,b,n),Qm(e,s,f,_n))e.updateValue(f,_e),f++,b++;else if(a.has(_n))s.set(Jt,e.detach(f)),b--;else{const Xt=e.create(f,t[f]);e.attach(f,Xt),f++,b++}}for(;f<=k;)K1(e,s,n,f,t[f]),f++}else if(null!=t){const k=t[Symbol.iterator]();let te=k.next();for(;!te.done&&f<=b;){const _e=e.at(f),$e=te.value,it=Ym(f,_e,f,$e,n);if(0!==it)it<0&&e.updateValue(f,$e),f++,te=k.next();else{s??=new z1,a??=H1(e,f,b,n);const dt=n(f,$e);if(Qm(e,s,f,dt))e.updateValue(f,$e),f++,b++,te=k.next();else if(a.has(dt)){const bt=n(f,_e);s.set(bt,e.detach(f)),b--}else e.attach(f,e.create(f,$e)),f++,b++,te=k.next()}}for(;!te.done;)K1(e,s,n,e.length,te.value),te=k.next()}for(;f<=b;)e.destroy(e.detach(b--));s?.forEach(k=>{e.destroy(k)})}(k,e,f.trackByFn),k.updateIndexes(),f.hasEmptyBlock){const te=sa(),_e=0===k.length;if(eo(s,te,_e)){const $e=n+2,it=Rg(s,$e);if(_e){const dt=Jm(a,$e),bt=jl(it,dt.tView.ssrId);ju(it,Vu(s,dt,void 0,{dehydratedView:bt}),0,Ul(dt,bt))}else Y_(it,0)}}}finally{_(t)}}function Rg(e,t){return e[t]}function Jm(e,t){return pc(e,t)}function wg(e,t,n,s){const a=$t(),f=Ai(),b=bn+e,D=a[zt],k=f.firstCreatePass?function qD(e,t,n,s,a,f){const b=t.consts,k=zn(t,e,2,s,Ns(b,a));return $_(t,n,k,Ns(b,f)),null!==k.attrs&&vg(k,k.attrs,!1),null!==k.mergedAttrs&&vg(k,k.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,k),k}(b,f,a,t,n,s):f.data[b],te=q1(f,a,k,D,t,e);a[b]=te;const _e=Si(k);return Bs(k,!0),gt(D,te,k),!Hu(k)&&Fc()&&Uu(f,a,te,k),0===function u0(){return di.lFrame.elementDepthCount}()&&Vo(te,a),function d0(){di.lFrame.elementDepthCount++}(),_e&&(Qo(f,a,k),To(f,k,a)),null!==s&&Pr(a,k),wg}function Fg(){let e=Qi();hl()?yd():(e=e.parent,Bs(e,!1));const t=e;(function vd(e){return di.skipHydrationRootTNode===e})(t)&&function ql(){di.skipHydrationRootTNode=null}(),function uf(){di.lFrame.elementDepthCount--}();const n=Ai();return n.firstCreatePass&&(su(n,e),Wn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function cu(e){return!!(8&e.flags)}(t)&&Km(n,t,$t(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Tf(e){return!!(16&e.flags)}(t)&&Km(n,t,$t(),t.stylesWithoutHost,!1),Fg}function Zm(e,t,n,s){return wg(e,t,n,s),Fg(),Zm}let q1=(e,t,n,s,a,f)=>(Ir(!0),el(s,a,Sf()));function eI(e,t,n,s,a,f){const b=t[Be],D=!b||_c()||Hu(n)||Tc(b,f);if(Ir(D),D)return el(s,a,Sf());const k=Ph(b,e,t,n);return Sp(b,f)&&ca(b,f,k.nextSibling),b&&(Vd(n)||Zf(k))&&Gn(n)&&(function hf(e){di.skipHydrationRootTNode=e}(n),sg(k)),k}function Ng(e,t,n){const s=$t(),a=Ai(),f=e+bn,b=a.firstCreatePass?function nI(e,t,n,s,a){const f=t.consts,b=Ns(f,s),D=zn(t,e,8,"ng-container",b);return null!==b&&vg(D,b,!0),$_(t,n,D,Ns(f,a)),null!==t.queries&&t.queries.elementStart(t,D),D}(f,a,s,t,n):a.data[f];Bs(b,!0);const D=eC(a,s,b,e);return s[f]=D,Fc()&&Uu(a,s,D,b),Vo(D,s),Si(b)&&(Qo(a,s,b),To(a,b,s)),null!=n&&Pr(s,b),Ng}function Bg(){let e=Qi();const t=Ai();return hl()?yd():(e=e.parent,Bs(e,!1)),t.firstCreatePass&&(su(t,e),Wn(e)&&t.queries.elementEnd(e)),Bg}function qm(e,t,n){return Ng(e,t,n),Bg(),qm}let eC=(e,t,n,s)=>(Ir(!0),ph(t[zt],""));function iI(e,t,n,s){let a;const f=t[Be],b=!f||_c()||Tc(f,s)||Hu(n);if(Ir(b),b)return ph(t[zt],"");const D=Ph(f,e,t,n),k=function bp(e,t){const n=e.data;let s=n[Ou]?.[t]??null;return null===s&&n[ic]?.[t]&&(s=eh(e,t)),s}(f,s);return ca(f,s,D),a=gg(k,D),a}function tC(){return $t()}function ev(e,t,n){const s=$t();return eo(s,sa(),t)&&Gs(Ai(),cr(),s,e,t,s[zt],n,!0),ev}function tv(e,t,n){const s=$t();if(eo(s,sa(),t)){const f=Ai(),b=cr();Gs(f,b,s,e,t,OE(fl(f.data),b,s),n,!0)}return tv}const Hl=void 0;var sI=["en",[["a","p"],["AM","PM"],Hl],[["AM","PM"],Hl,Hl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Hl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Hl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Hl,"{1} 'at' {0}",Hl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function oI(e){const n=Math.floor(Math.abs(e)),s=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===s?1:5}];let ud={};function aI(e,t,n){"string"!=typeof t&&(n=t,t=e[dd.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ud[t]=e,n&&(ud[t][dd.ExtraData]=n)}function nv(e){const t=function lI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=iC(t);if(n)return n;const s=t.split("-")[0];if(n=iC(s),n)return n;if("en"===s)return sI;throw new we(701,!1)}function cI(e){return nv(e)[dd.CurrencyCode]||null}function nC(e){return nv(e)[dd.PluralCase]}function iC(e){return e in ud||(ud[e]=un.ng&&un.ng.common&&un.ng.common.locales&&un.ng.common.locales[e]),ud[e]}var dd=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(dd||{});const Lg="en-US";let rC=Lg,bC=(e,t,n)=>{};function ov(e,t,n,s){const a=$t(),f=Ai(),b=Qi();return sv(f,a,a[zt],b,e,t,s),ov}function sv(e,t,n,s,a,f,b){const D=Si(s),te=e.firstCreatePass&&TE(e),_e=t[et],$e=AE(t);let it=!0;if(3&s.type||b){const Jt=Lo(s,t),hn=b?b(Jt):Jt,_n=$e.length,Xt=b?Vi=>b(Ui(Vi[s.index])):s.index;let gi=null;if(!b&&D&&(gi=function JI(e,t,n,s){const a=e.cleanup;if(null!=a)for(let f=0;f<a.length-1;f+=2){const b=a[f];if(b===n&&a[f+1]===s){const D=t[Ze],k=a[f+2];return D.length>k?D[k]:null}"string"==typeof b&&(f+=2)}return null}(e,t,a,s.index)),null!==gi)(gi.__ngLastListenerFn__||gi).__ngNextListenerFn__=f,gi.__ngLastListenerFn__=f,it=!1;else{f=OC(s,t,_e,f),bC(Jt,a,f);const Vi=n.listen(hn,a,f);$e.push(f,Vi),te&&te.push(a,Xt,_n,_n+1)}}else f=OC(s,t,_e,f);const dt=s.outputs;let bt;if(it&&null!==dt&&(bt=dt[a])){const Jt=bt.length;if(Jt)for(let hn=0;hn<Jt;hn+=2){const lr=t[bt[hn]][bt[hn+1]].subscribe(f),io=$e.length;$e.push(f,lr),te&&te.push(a,s.index,io,-(io+1))}}}function TC(e,t,n,s){const a=_(null);try{return Ea(6,t,n),!1!==n(s)}catch(f){return lg(e,f),!1}finally{Ea(7,t,n),_(a)}}function OC(e,t,n,s){return function a(f){if(f===Function)return s;bh(e.componentOffset>-1?Zr(e.index,t):t,5);let D=TC(t,n,s,f),k=a.__ngNextListenerFn__;for(;k;)D=TC(t,n,k,f)&&D,k=k.__ngNextListenerFn__;return D}}function DC(e=1){return function yf(e){return(di.lFrame.contextLView=Xl(e,di.lFrame.contextLView))[et]}(e)}function ZI(e,t){let n=null;const s=function Rn(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let a=0;a<t.length;a++){const f=t[a];if("*"!==f){if(null===s?st(e,f,!0):Ds(s,f))return a}else n=a}return n}function IC(e){const t=$t()[En][fe];if(!t.projection){const s=t.projection=function br(e,t){const n=[];for(let s=0;s<e;s++)n.push(t);return n}(e?e.length:1,null),a=s.slice();let f=t.child;for(;null!==f;){if(128!==f.type){const b=e?ZI(f,e):0;null!==b&&(a[b]?a[b].projectionNext=f:s[b]=f,a[b]=f)}f=f.next}}}function xC(e,t=0,n,s,a,f){const b=$t(),D=Ai(),k=s?e+1:null;null!==k&&kh(b,D,k,s,a,f,null,n);const te=zn(D,bn+e,16,null,n||null);null===te.projection&&(te.projection=t),yd();const $e=!b[Be]||_c();null===b[En][fe].projection[te.projection]&&null!==k?function qI(e,t,n){const s=bn+n,a=t.data[s],f=e[s],b=jl(f,a.tView.ssrId);ju(f,Vu(e,a,void 0,{dehydratedView:b}),0,Ul(a,b))}(b,D,k):$e&&32&~te.flags&&function g(e,t,n){O(t[zt],0,t,n,_h(e,n,t),tg(n.parent||t[fe],n,t))}(D,b,te)}function av(e,t,n){return jg(e,"",t,"",n),av}function jg(e,t,n,s,a){const f=$t(),b=td(f,t,n,s);return b!==pt&&Gs(Ai(),cr(),f,e,b,f[zt],a,!1),jg}function cv(e,t,n,s,a,f,b){const D=$t(),k=nd(D,t,n,s,a,f);return k!==pt&&Gs(Ai(),cr(),D,e,k,D[zt],b,!1),cv}function LC(e,t,n,s){!function Ey(e,t,n,s){const a=Ai();if(a.firstCreatePass){const f=Qi();yy(a,new gy(t,n,s),f.index),function sO(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}
1(a,e),!(2&~n)&&(a.staticContentQueries=!0)}return my(a,$t(),n)}(e,t,n,s)}function kC(e,t,n){vy(e,t,n)}function UC(e){const t=$t(),n=Ai(),s=tu();vc(s+1);const a=Em(n,s);if(e.dirty&&function af(e){return!(4&~e[A])}(t)===!(2&~a.metadata.flags)){if(null===a.matches)e.reset([]);else{const f=Cy(t,s);e.reset(f,Jf),e.notifyOnChanges()}return!0}return!1}function VC(){return vm($t(),tu())}function jC(e,t,n,s){!function Py(e,t){const n=e[v];n._lView=$t(),n._queryIndex=t,n._queryList=vm(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(s=>s+1))}(e,vy(t,n,s))}function WC(e=1){vc(tu()+e)}function lv(e,t,n,s){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=s}function $C(e){return Ca(eu(),bn+e)}function qC(e,t=""){const n=$t(),s=Ai(),a=e+bn,f=s.firstCreatePass?zn(s,a,1,t,null):s.data[a],b=eb(s,n,f,t,e);n[a]=b,Fc()&&Uu(s,n,b,f),Bs(f,!1)}let eb=(e,t,n,s,a)=>(Ir(!0),fh(t[zt],s));function ux(e,t,n,s,a){const f=t[Be],b=!f||_c()||Hu(n)||Tc(f,a);return Ir(b),b?fh(t[zt],s):Ph(f,e,t,n)}function uv(e){return Wg("",e,""),uv}function Wg(e,t,n){const s=$t(),a=td(s,e,t,n);return a!==pt&&Mc(s,po(),a),Wg}function dv(e,t,n,s,a){const f=$t(),b=nd(f,e,t,n,s,a);return b!==pt&&Mc(f,po(),b),dv}function hv(e,t,n,s,a,f,b){const D=$t(),k=function id(e,t,n,s,a,f,b,D){const te=Sg(e,La(),n,a,b);return Ls(3),te?t+Nn(n)+s+Nn(a)+f+Nn(b)+D:pt}(D,e,t,n,s,a,f,b);return k!==pt&&Mc(D,po(),k),hv}function fv(e,t,n,s,a,f,b,D,k){const te=$t(),_e=function rd(e,t,n,s,a,f,b,D,k,te){const $e=xa(e,La(),n,a,b,k);return Ls(4),$e?t+Nn(n)+s+Nn(a)+f+Nn(b)+D+Nn(k)+te:pt}(te,e,t,n,s,a,f,b,D,k);return _e!==pt&&Mc(te,po(),_e),fv}function pv(e,t,n,s,a,f,b,D,k,te,_e,$e,it,dt,bt){const Jt=$t(),hn=function ad(e,t,n,s,a,f,b,D,k,te,_e,$e,it,dt,bt,Jt){const hn=La();let _n=xa(e,hn,n,a,b,k);return _n=Sg(e,hn+4,_e,it,bt)||_n,Ls(7),_n?t+Nn(n)+s+Nn(a)+f+Nn(b)+D+Nn(k)+te+Nn(_e)+$e+Nn(it)+dt+Nn(bt)+Jt:pt}(Jt,e,t,n,s,a,f,b,D,k,te,_e,$e,it,dt,bt);return hn!==pt&&Mc(Jt,po(),hn),pv}function gv(e,t,n){Oy(t)&&(t=t());const s=$t();return eo(s,sa(),t)&&Gs(Ai(),cr(),s,e,t,s[zt],n,!1),gv}function ob(e,t){const n=Oy(e);return n&&e.set(t),n}function _v(e,t){const n=$t(),s=Ai(),a=Qi();return sv(s,n,n[zt],a,e,t),_v}const sb={};function mv(e){const t=Ai(),n=$t(),s=e+bn;return Bs(zn(t,s,128,null,null),!1),lv(t,n,s,sb),mv}function ab(e){return fs("NgLet"),lv(Ai(),$t(),po(),e),e}function cb(e){const n=Ca(eu(),bn+e);if(n===sb)throw new we(314,!1);return n}function vv(e,t,n,s,a){if(e=ut(e),Array.isArray(e))for(let f=0;f<e.length;f++)vv(e[f],t,n,s,a);else{const f=Ai(),b=$t(),D=Qi();let k=ea(e)?e:ut(e.provide);const te=hr(e),_e=1048575&D.providerIndexes,$e=D.directiveStart,it=D.providerIndexes>>20;if(ea(e)||!e.multi){const dt=new Ta(te,a,nn),bt=yv(k,t,a?_e:_e+it,$e);-1===bt?(Lc(Us(D,b),f,k),Ev(f,e,t.length),t.push(k),D.directiveStart++,D.directiveEnd++,a&&(D.providerIndexes+=1048576),n.push(dt),b.push(dt)):(n[bt]=dt,b[bt]=dt)}else{const dt=yv(k,t,_e+it,$e),bt=yv(k,t,_e,_e+it),hn=bt>=0&&n[bt];if(a&&!hn||!a&&!(dt>=0&&n[dt])){Lc(Us(D,b),f,k);const _n=function gx(e,t,n,s,a){const f=new Ta(e,n,nn);return f.multi=[],f.index=t,f.componentProviders=0,lb(f,a,s&&!n),f}(a?px:fx,n.length,a,s,te);!a&&hn&&(n[bt].providerFactory=_n),Ev(f,e,t.length,0),t.push(k),D.directiveStart++,D.directiveEnd++,a&&(D.providerIndexes+=1048576),n.push(_n),b.push(_n)}else Ev(f,e,dt>-1?dt:bt,lb(n[a?bt:dt],te,!a&&s));!a&&s&&hn&&n[bt].componentProviders++}}}function Ev(e,t,n,s){const a=ea(t),f=function ta(e){return!!e.useClass}(t);if(a||f){const k=(f?ut(t.useClass):t).prototype.ngOnDestroy;if(k){const te=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const _e=te.indexOf(n);-1===_e?te.push(n,[s,k]):te[_e+1].push(s,k)}else te.push(n,k)}}}function lb(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function yv(e,t,n,s){for(let a=n;a<s;a++)if(t[a]===e)return a;return-1}function fx(e,t,n,s){return Cv(this.multi,[])}function px(e,t,n,s){const a=this.multi;let f;if(this.providerFactory){const b=this.providerFactory.componentProviders,D=ec(n,n[ae],this.providerFactory.index,s);f=D.slice(0,b),Cv(a,f);for(let k=b;k<D.length;k++)f.push(D[k])}else f=[],Cv(a,f);return f}function Cv(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ub(e,t=[]){return n=>{n.providersResolver=(s,a)=>
1function hx(e,t,n){const s=Ai();if(s.firstCreatePass){const a=zi(e);vv(n,s.data,s.blueprint,a,!0),vv(t,s.data,s.blueprint,a,!1)}}(s,a?a(e):e,t)}}let _x=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const s=Tn(0,n.type),a=s.length>0?Tm([s],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,a)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=H({token:e,providedIn:"environment",factory:()=>new e(Yi(Lr))})}}return e})();function db(e){fs("NgStandalone"),e.getStandaloneInjector=t=>t.get(_x).getOrCreateStandaloneInjector(e)}function hb(e,t,n){const s=e.\u0275cmp;s.directiveDefs=Go(t,!1),s.pipeDefs=Go(n,!0)}function gb(e,t,n){const s=zo()+e,a=$t();return a[s]===pt?sc(a,s,n?t.call(n):t()):Lh(a,s)}function _b(e,t,n,s){return Ab($t(),zo(),e,t,n,s)}function mb(e,t,n,s,a){return Tb($t(),zo(),e,t,n,s,a)}function vb(e,t,n,s,a,f){return Ob($t(),zo(),e,t,n,s,a,f)}function Eb(e,t,n,s,a,f,b){return Db($t(),zo(),e,t,n,s,a,f,b)}function yb(e,t,n,s,a,f,b,D){const k=zo()+e,te=$t(),_e=xa(te,k,n,s,a,f);return eo(te,k+4,b)||_e?sc(te,k+5,D?t.call(D,n,s,a,f,b):t(n,s,a,f,b)):Lh(te,k+5)}function Cb(e,t,n,s,a,f,b,D,k){const te=zo()+e,_e=$t(),$e=xa(_e,te,n,s,a,f);return $l(_e,te+4,b,D)||$e?sc(_e,te+6,k?t.call(k,n,s,a,f,b,D):t(n,s,a,f,b,D)):Lh(_e,te+6)}function bb(e,t,n,s,a,f,b,D,k,te){const _e=zo()+e,$e=$t();let it=xa($e,_e,n,s,a,f);return Sg($e,_e+4,b,D,k)||it?sc($e,_e+7,te?t.call(te,n,s,a,f,b,D,k):t(n,s,a,f,b,D,k)):Lh($e,_e+7)}function Sb(e,t,n,s,a,f,b,D,k,te,_e){const $e=zo()+e,it=$t(),dt=xa(it,$e,n,s,a,f);return xa(it,$e+4,b,D,k,te)||dt?sc(it,$e+8,_e?t.call(_e,n,s,a,f,b,D,k,te):t(n,s,a,f,b,D,k,te)):Lh(it,$e+8)}function Yh(e,t){const n=e[t];return n===pt?void 0:n}function Ab(e,t,n,s,a,f){const b=t+n;return eo(e,b,a)?sc(e,b+1,f?s.call(f,a):s(a)):Yh(e,b+1)}function Tb(e,t,n,s,a,f,b){const D=t+n;
1return $l(e,D,a,f)?sc(e,D+2,b?s.call(b,a,f):s(a,f)):Yh(e,D+2)}function Ob(e,t,n,s,a,f,b,D){const k=t+n;return Sg(e,k,a,f,b)?sc(e,k+3,D?s.call(D,a,f,b):s(a,f,b)):Yh(e,k+3)}function Db(e,t,n,s,a,f,b,D,k){const te=t+n;return xa(e,te,a,f,b,D)?sc(e,te+4,k?s.call(k,a,f,b,D):s(a,f,b,D)):Yh(e,te+4)}function xb(e,t){const n=Ai();let s;const a=e+bn;n.firstCreatePass?(s=function yx(e,t){if(t)for(let n=t.length-1;n>=0;n--){const s=t[n];if(e===s.name)return s}}(t,n.pipeRegistry),n.data[a]=s,s.onDestroy&&(n.destroyHooks??=[]).push(a,s.onDestroy)):s=n.data[a];const f=s.factory||(s.factory=Rr(s.type)),D=ir(nn);try{const k=ks(!1),te=f();return ks(k),lv(n,$t(),a,te),te}finally{ir(D)}}function Pb(e,t,n){const s=e+bn,a=$t(),f=Ca(a,s);return Qh(a,s)?Ab(a,zo(),t,f.transform,n,f):f.transform(n)}function Mb(e,t,n,s){const a=e+bn,f=$t(),b=Ca(f,a);return Qh(f,a)?Tb(f,zo(),t,b.transform,n,s,b):b.transform(n,s)}function Rb(e,t,n,s,a){const f=e+bn,b=$t(),D=Ca(b,f);return Qh(b,f)?Ob(b,zo(),t,D.transform,n,s,a,D):D.transform(n,s,a)}function wb(e,t,n,s,a,f){const b=e+bn,D=$t(),k=Ca(D,b);return Qh(D,b)?Db(D,zo(),t,k.transform,n,s,a,f,k):k.transform(n,s,a,f)}function Fb(e,t,n){const s=e+bn,a=$t(),f=Ca(a,s);return Qh(a,s)?function Ib(e,t,n,s,a,f){let b=t+n,D=!1;for(let k=0;k<a.length;k++)eo(e,b++,a[k])&&(D=!0);return D?sc(e,b,s.apply(f,a)):Yh(e,b)}(a,zo(),t,f.transform,n,f):f.transform.apply(f,n)}function Qh(e,t){return e[ae].data[t].pure}function Nb(e,t){return dg(e,t)}class Jb{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}const Wx=new Jb("18.2.13");let Zb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const iS=new Fn(""),rS=new Fn("");let Dv,pP=(()=>{class e{constructor(n,s,a){this._ngZone=n,this.registry=s,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Dv||(function gP(e){Dv=e}(a),a.addToWindow(s)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(n)||(clearTimeout(s.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,s,a){let f=-1;s&&s>0&&(f=setTimeout(()=>{this._callbacks=this._callbacks.filter(b=>b.timeoutId!==f),n()},s)),this._callbacks.push({doneCb:n,timeoutId:f,updateCb:a})}whenStable(n,s,a){if(a&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,s,a),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,s,a){return[]}static{this.\u0275fac=function(s){return new(s||e)(Yi(pr),Yi(oS),Yi(rS))}}static{this.\u0275prov=H({token:e,factory:e.\u0275fac})}}return e})(),oS=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,s){this._applications.set(n,s)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,s=!0){return Dv?.findTestabilityInTree(this,n,s)??null}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function Iv(e){return!!e&&"function"==typeof e.then}function sS(e){return!!e&&"function"==typeof e.subscribe}const aS=new Fn("");let cS=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,s)=>{this.resolve=n,this.reject=s}),this.appInits=xn(aS,{optional:!0})??[]}
1runInitializers(){if(this.initialized)return;const n=[];for(const a of this.appInits){const f=a();if(Iv(f))n.push(f);else if(sS(f)){const b=new Promise((D,k)=>{f.subscribe({complete:D,error:k})});n.push(b)}}const s=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{s()}).catch(a=>{this.reject(a)}),0===n.length&&s(),this.initialized=!0}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const zg=new Fn("");function uS(e,t){return Array.isArray(t)?t.reduce(uS,e):{...e,...t}}let Yg,lc=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=xn(P0),this.afterRenderManager=xn(e1),this.zonelessEnabled=xn(Gu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Ot.B7,this.afterTick=new Ot.B7,this.componentTypes=[],this.components=[],this.isStable=xn(Ac).hasPendingTasks.pipe((0,Ye.T)(n=>!n)),this._injector=xn(Lr)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(s=>{n=this.isStable.subscribe({next:a=>{a&&s()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,s){const a=n instanceof iy;if(!this._injector.get(cS).done)throw!a&&bo(n),new we(405,!1);let b;b=a?n:this._injector.get(Rh).resolveComponentFactory(n),this.componentTypes.push(b.componentType);const D=function _P(e){return e.isBoundToModule}(b)?void 0:this._injector.get(Wl),te=b.create($r.NULL,[],s||b.selector,D),_e=te.location.nativeElement,$e=te.injector.get(iS,null);return $e?.registerApplication(_e),te.onDestroy(()=>{this.detachView(te.hostView),Xg(this.components,te),$e?.unregisterApplication(_e)}),this._loadComponent(te),te}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new we(101,!1);const n=_(null);try{this._runningTick=!0,this.synchronize()}catch(s){this.internalErrorHandler(s)}finally{this._runningTick=!1,_(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(cm,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let s=0;for(;0!==this.dirtyFlags&&s++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const s=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:f}of this._views)EP(a,f,s,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Yl(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const s=n;this._views.push(s),s.attachToAppRef(this)}detachView(n){const s=n;Xg(this._views,s),s.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const s=this._injector.get(zg,[]);[...this._bootstrapListeners,...s].forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Xg(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new we(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Xg(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function xv(e){Yg??=new WeakMap;const t=Yg.get(e);if(t)return t;const n=e.isStable.pipe((0,Re.$)(s=>s)).toPromise().then(()=>{});return Yg.set(e,n),e.onDestroy(()=>Yg?.delete(e)),n}function EP(e,t,n,s){(n||Yl(e))&&ug(e,t,n&&!s?0:1)}class yP{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let CP=(()=>{class e{compileModuleSync(n){return new Am(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const s=this.compileModuleSync(n),f=Yo(Fr(n).declarations).reduce((b,D)=>{const k=Yn(D);return k&&b.push(new Nh(k)),b},[]);return new yP(s,f)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),AP=(()=>{class e{constructor(){this.zone=xn(pr),this.changeDetectionScheduler
1=xn($u),this.applicationRef=xn(lc)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Pv({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new pr({...Mv(),scheduleInRootZone:n}),[{provide:pr,useFactory:e},{provide:co,multi:!0,useFactory:()=>{const s=xn(AP,{optional:!0});return()=>s.initialize()}},{provide:co,multi:!0,useFactory:()=>{const s=xn(OP);return()=>{s.initialize()}}},!0===t?{provide:ny,useValue:!0}:[],{provide:am,useValue:n??tc}]}function Mv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let OP=(()=>{class e{constructor(){this.subscription=new Fe.y,this.initialized=!1,this.zone=xn(pr),this.pendingTasks=xn(Ac)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{pr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),qh=(()=>{class e{constructor(){this.appRef=xn(lc),this.taskService=xn(Ac),this.ngZone=xn(pr),this.zonelessEnabled=xn(Gu),this.disableScheduling=xn(ny,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Fe.y,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(mu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(xn(am,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ld||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const s=this.useMicrotaskScheduler?$f:Wf;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>s(()=>this.tick())):this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(mu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(s){throw this.taskService.remove(n),s}finally{this.cleanup()}this.useMicrotaskScheduler=!0,$f(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const wv=new Fn("",{providedIn:"root",factory:()=>xn(wv,qn.Optional|qn.SkipSelf)||function DP(){return typeof $localize<"u"&&$localize.locale||Lg}()}),IP=new Fn("",{providedIn:"root",factory:()=>"USD"}),Qg=new Fn("");function Jg(e){return!e.moduleRef}let _S=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,s){const a=s?.scheduleInRootZone,b=s?.ignoreChangesOutsideZone,D=[Pv({ngZoneFactory:()=>function js(e="zone.js",t){return"noop"===e?new Ld:"zone.js"===e?new pr(t):e}(s?.ngZone,{...Mv({eventCoalescing:s?.ngZoneEventCoalescing,runCoalescing:s?.ngZoneRunCoalescing}),scheduleInRootZone:a}),ignoreChangesOutsideZone:b}),{provide:$u,useExisting:qh}],k=function MO(e,t,n){return new Sm(e,t,n,!1)}(n.moduleType,this.injector,D);return function gS(e){const t=Jg(e)?e.r3Injector:e.moduleRef.injector,n=t.get(pr);return n.run(()=>
1{Jg(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const s=t.get(ja,null);let a;if(n.runOutsideAngular(()=>{a=n.onError.subscribe({next:f=>{s.handleError(f)}})}),Jg(e)){const f=()=>t.destroy(),b=e.platformInjector.get(Qg);b.add(f),t.onDestroy(()=>{a.unsubscribe(),b.delete(f)})}else{const f=()=>e.moduleRef.destroy(),b=e.platformInjector.get(Qg);b.add(f),e.moduleRef.onDestroy(()=>{Xg(e.allPlatformModules,e.moduleRef),a.unsubscribe(),b.delete(f)})}return function vP(e,t,n){try{const s=n();return Iv(s)?s.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(s,n,()=>{const f=t.get(cS);return f.runInitializers(),f.donePromise.then(()=>{if(function fI(e){"string"==typeof e&&(rC=e.toLowerCase().replace(/_/g,"-"))}(t.get(wv,Lg)||Lg),Jg(e)){const D=t.get(lc);return void 0!==e.rootComponent&&D.bootstrap(e.rootComponent),D}return function wP(e,t){const n=e.injector.get(lc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(s=>n.bootstrap(s));else{if(!e.instance.ngDoBootstrap)throw new we(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:k,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,s=[]){const a=uS({},s);return function SP(e,t,n){const s=new Am(n);return Promise.resolve(s)}(0,0,n).then(f=>this.bootstrapModuleFactory(f,a))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new we(404,!1);this._modules.slice().forEach(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const n=this._injector.get(Qg,null);n&&(n.forEach(s=>s()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(s){return new(s||e)(Yi($r))}}static{this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),sl=null;const mS=new Fn("");function vS(e,t,n=[]){const s=`Platform: ${t}`,a=new Fn(s);return(f=[])=>{let b=Fv();if(!b||b.injector.get(mS,!1)){const D=[...n,...f,{provide:a,useValue:!0}];e?e(D):function FP(e){if(sl&&!sl.get(mS,!1))throw new we(400,!1);(function lS(){!function J(e){ee=e}(()=>{throw new we(600,!1)})})(),sl=e;const t=e.get(_S);(function yS(e){e.get(_p,null)?.forEach(n=>n())})(e)}(function ES(e=[],t){return $r.create({name:t,providers:[{provide:Ms,useValue:"platform"},{provide:Qg,useValue:new Set([()=>sl=null])},...e]})}(D,s))}return function NP(){const t=Fv();if(!t)throw new we(401,!1);return t}()}}function Fv(){return sl?.get(_S)??null}function LP(){}let bS=(()=>{class e{static{this.__NG_ELEMENT_ID__=kP}}return e})();function kP(e){return function UP(e,t,n){if(Gn(e)&&!n){const s=Zr(e.index,t);return new Sh(s,s)}return 175&e.type?new Sh(t[En],t):null}(Qi(),$t(),!(16&~e))}class OS{constructor(){}supports(t){return bg(t)}create(t){return new GP(t)}}const $P=(e,t)=>t;class GP{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||$P}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,s=this._removalsHead,a=0,f=null;for(;n||s;){const b=!s||n&&n.currentIndex<IS(s,a,f)?n:s,D=IS(b,a,f),k=b.currentIndex;if(b===s)a--,s=s._nextRemoved;else if(n=n._next,null==b.previousIndex)a++;else{f||(f=[]);const te=D-a,_e=k-a;if(te!=_e){for(let it=0;it<te;it++){const dt=it<f.length?f[it]:f[it]=0,bt=dt+it;_e<=bt&&bt<te&&(f[it]=dt+1)}f[b.previousIndex]=_e-te}}D!==k&&t(b,D,k)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!bg(t))throw new we(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let a,f,b,n=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let D=0;D<this.length;D++)f=t[D],b=this._trackByFn(D,f),null!==n&&Object.is(n.trackById,b)?(s&&(n=this._verifyReinsertion(n,f,b,D)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,b,D),s=!0),n=n._next}else a=0,function FO(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let s;for(;!(s=n.next()).done;)t(s.value)}}(t,D=>{b=this._trackByFn(a,D),null!==n&&Object.is(n.trackById,b)?(s&&(n=this._verifyReinsertion(n,D,b,a)),Object.is(n.item,D)||this._addIdentityChange(n,D)):(n=this._mismatch(n,D,b,a),s=!0),n=n._next,a++}),this.length=a;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,s,a){let f;return null===t?f=this._itTail:(f=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(t.
vendor: 4,576 bytes, line 1
1item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,f,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,a))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,f,a)):t=this._addAfter(new KP(n,s),f,a),t}_verifyReinsertion(t,n,s,a){let f=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==f?t=this._reinsertAfter(f,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const a=t._prevRemoved,f=t._nextRemoved;return null===a?this._removalsHead=f:a._nextRemoved=f,null===f?this._removalsTail=a:f._prevRemoved=a,this._insertAfter(t,n,s),this._addToMoves(t,s),t}_moveAfter(t,n,s){return this._unlink(t),this._insertAfter(t,n,s),this._addToMoves(t,s),t}_addAfter(t,n,s){return this._insertAfter(t,n,s),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,s){const a=null===n?this._itHead:n._next;return t._next=a,t._prev=n,null===a?this._itTail=t:a._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new DS),this._linkedRecords.put(t),t.currentIndex=s,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,s=t._next;return null===n?this._itHead=s:n._next=s,null===s?this._itTail=n:s._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new DS),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class KP{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class HP{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let s;for(s=this._head;null!==s;s=s._nextDup)if((null===n||n<=s.currentIndex)&&Object.is(s.trackById,t))return s;return null}remove(t){const n=t._prevDup,s=t._nextDup;return null===n?this._head=s:n._nextDup=s,null===s?this._tail=n:s._prevDup=n,null===this._head}}class DS{constructor(){this.map=new Map}put(t){const n=t.trackById;let s=this.map.get(n);s||(s=new HP,this.map.set(n,s)),s.add(t)}get(t,n){const a=this.map.get(t);return a?a.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function IS(e,t,n){const s=e.previousIndex;if(null===s)return s;let a=0;return n&&s<n.length&&(a=n[s]),s+t+a}class xS{constructor(){}supports(t){return t instanceof Map||Om(t)}create(){return new zP}}class zP{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;
1n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Om(t)))throw new we(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(s,a)=>{if(n&&n.key===a)this._maybeAddToChanges(n,s),this._appendAfter=n,n=n._next;else{const f=this._getOrCreateRecordForKey(a,s);n=this._insertBeforeOrAppend(n,f)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let s=n;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const s=t._prev;return n._next=t,n._prev=s,t._prev=n,s&&(s._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const a=this._records.get(t);this._maybeAddToChanges(a,n);const f=a._prev,b=a._next;return f&&(f._next=b),b&&(b._prev=f),a._next=null,a._prev=null,a}const s=new XP(t);return this._records.set(t,s),s.currentValue=n,this._addToAdditions(s),s}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(s=>n(t[s],s))}}class XP{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function PS(){return new Uv([new OS])}let Uv=(()=>{class e{static{this.\u0275prov=H({token:e,providedIn:"root",factory:PS})}constructor(n){this.factories=n}static create(n,s){if(null!=s){const a=s.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:s=>e.create(n,s||PS()),deps:[[e,new ns,new Mo]]}}find(n){const s=this.factories.find(a=>a.supports(n));if(null!=s)return s;throw new we(901,!1)}}return e})();function MS(){return new Vv([new xS])}let Vv=(()=>{class e{static{this.\u0275prov=H({token:e,providedIn:"root",factory:MS})}constructor(n){this.factories=n}static create(n,s){if(s){const a=s.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:s=>e.create(n,s||MS()),deps:[[e,new ns,new Mo]]}}find(n){const s=this.factories.find(a=>a.supports(n));if(s)return s;throw new we(901,!1)}}return e})();const JP=vS(null,"core",[]);let ZP=(()=>{class e{constructor(n){}static{this.\u0275fac=function(s){return new(s||e)(Yi(lc))}}static{this.\u0275mod=Ro({type:e})}static{this.\u0275inj=Te({})}}return e})(),ZS=!1;function IM(){return jt([{provide:xl,useFactory:()=>{let e=!0;return ds()&&(e=!!xn(Hc,{optional:!0})?.get(Jd,null)),e&&fs("NgHydration"),e}},{provide:co,useValue:()=>{(function JE(e){YE=e})(!1),ds()&&xn(xl)&&(function xM(){const e=nc();let t;for(const n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===t_){t=n;break}if(!t)throw new we(-507,!1)}(),function TM(){ZS||(ZS=!0,function i_(){Ep=n_}(),function tI(){q1=eI}(),function dx(){eb=ux}(),function rI(){eC=iI}(),function kO(){zy=LO}(),function eO(){hy=qT,hm=ZT}(),function MT(){ty=PT}(),function oA(){mE=rA}())}())},multi:!0},{provide:yr,useFactory:()=>ds()&&xn(xl)},{provide:zg,useFactory:()=>
1{if(ds()&&xn(xl)){const e=xn(lc);return xn($r),()=>{(function DM(e){return xv(e)})(e).then(()=>{!function IT(e){const t=e._views;for(const n of t){const s=yp(n);null!==s&&null!==s[$n]&&(Or(s)?_g(s):ey(s))}}(e)})}}return()=>{}},multi:!0}])}function PM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function MM(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function wM(e,t){fs("NgSignals");const n=$(e);return t?.equal&&(n[v].equal=t.equal),n}function FM(e){const t=_(null);try{return e()}finally{_(t)}}const NM=new Fn("",{providedIn:"root",factory:()=>xn(BM)});let BM=(()=>{class e{static{this.\u0275prov=H({token:e,providedIn:"root",factory:()=>new LM})}}return e})();class LM{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=xn(Ac),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const s=this.queues.get(n);s.has(t)||(this.queuedEffectCount++,s.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class kM{constructor(t,n,s,a,f,b){this.scheduler=t,this.effectFn=n,this.creationZone=s,this.injector=f,this.watcher=function Qe(e,t,n){const s=Object.create(ht);n&&(s.consumerAllowSignalWrites=!0),s.fn=e,s.schedule=t;const a=k=>{s.cleanupFn=k};return s.ref={notify:()=>P(s),run:()=>{if(null===s.fn)return;if(function p(){return d}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(s.dirty=!1,s.hasRun&&!U(s))return;s.hasRun=!0;const k=F(s);try{s.cleanupFn(),s.cleanupFn=_t,s.fn(a)}finally{N(s,k)}},cleanup:()=>s.cleanupFn(),destroy:()=>function b(k){(function f(k){return null===k.fn&&null===k.schedule})(k)||(T(k),k.cleanupFn(),k.fn=null,k.schedule=null,k.cleanupFn=_t)}(s),[v]:s},s.ref}(D=>this.runEffect(D),()=>this.schedule(),b),this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(ja,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function eA(e,t){fs("NgSignals"),!t?.injector&&Qr();const n=t?.injector??xn($r),s=!0!==t?.manualCleanup?n.get($c):null,a=new kM(n.get(NM),e,typeof Zone>"u"?null:Zone.current,s,n,t?.allowSignalWrites??!1),f=n.get(bS,null,{optional:!0});return f&&8&f._lView[A]?(f._lView[fr]??=[]).push(a.watcher.notify):a.watcher.notify(),a}function UM(e){const t=Yn(e);if(!t)return null;const n=new Nh(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},89079:(he,M,r)=>{"use strict";r.d(M,{br:()=>u,ot:()=>E,pQ:()=>v});var o=r(54438),i=r(45817),d=r(66607),h=r(7605);function v(l){l||((0,o.Af3)(v),l=(0,o.WQX)(o.abz));const y=new i.c(I=>l.onDestroy(I.next.bind(I)));return I=>I.pipe((0,h.Q)(y))}function u(l,y){!y?.injector&&(0,o.Af3)(u);const I=y?.injector??(0,o.WQX)(o.zZn),S=new d.m(1),P=(0,o.QZP)(()=>{let F;try{F=l()}catch(N){return void(0,o.O8t)(()=>S.error(N))}(0,o.O8t)(()=>S.next(F))},{injector:I,manualCleanup:!0});return I.get(o.abz).onDestroy(()=>{P.destroy(),S.complete()}),S.asObservable()}function E(l,y){const I=!y?.manualCleanup;I&&!y?.injector&&(0,o.Af3)(E);const S=I?y?.injector?.get(o.abz)??(0,o.WQX)(o.abz):null,P=function C(l=Object.is){return(y,I)=>1===y.kind&&1===I.kind&&l(y.value,I.value)}(y?.equal);let F;F=(0,o.vPA)(y?.requireSync?{kind:0}:{kind:1,value:y?.initialValue},{equal:P});const N=l.subscribe({next:U=>F.set({kind:1,value:U}),error:U=>{if(y?.rejectErrors)throw U;F.set({kind:2,error:U})}});if(y?.requireSync&&0===F().kind)throw new o.wOt(601,!1);return S?.onDestroy(N.unsubscribe.bind(N)),(0,o.EWP)(()=>{const U=F();switch(U.kind){case 1:return U.value;case 2:throw U.error;case 0:throw new o.wOt(601,!1)}},{equal:y?.equal})}},89417:(he,M,r)=>{"use strict";r.d(M,{BC:()=>De,Fm:()=>Gr,JD:()=>Kr,MJ:()=>Mi,Q0:()=>ir,VZ:()=>Sr,X1:()=>yo,YN:()=>Js,YS:()=>ao,Zm:()=>C,cV:()=>Bn,cb:()=>He,cz:()=>N,gE:()=>xt,j4:()=>hi,k0:()=>L,kq:()=>u,l_:()=>ur,me:()=>S,ok:()=>Wo,qT:()=>mo,tU:()=>Ei,vS:()=>qn,wz:()=>Cr,xH:()=>Hr,xh:()=>gs,y7:()=>Rr,zX:()=>so});
1var o=r(54438),i=r(60177),d=r(84787),h=r(90696),v=r(45286),_=r(95006);let m=(()=>{class le{constructor(G,Ie){this._renderer=G,this._elementRef=Ie,this.onChange=st=>{},this.onTouched=()=>{}}setProperty(G,Ie){this._renderer.setProperty(this._elementRef.nativeElement,G,Ie)}registerOnTouched(G){this.onTouched=G}registerOnChange(G){this.onChange=G}setDisabledState(G){this.setProperty("disabled",G)}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(o.sFG),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:le})}}return le})(),p=(()=>{class le extends m{static{this.\u0275fac=(()=>{let G;return function(st){return(G||(G=o.xGo(le)))(st||le)}})()}static{this.\u0275dir=o.FsC({type:le,features:[o.Vt3]})}}return le})();const u=new o.nKC(""),E={provide:u,useExisting:(0,o.Rfq)(()=>C),multi:!0};let C=(()=>{class le extends p{writeValue(G){this.setProperty("checked",G)}static{this.\u0275fac=(()=>{let G;return function(st){return(G||(G=o.xGo(le)))(st||le)}})()}static{this.\u0275dir=o.FsC({type:le,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Ie,st){1&Ie&&o.bIt("change",function(oi){return st.onChange(oi.target.checked)})("blur",function(){return st.onTouched()})},features:[o.Jv_([E]),o.Vt3]})}}return le})();const l={provide:u,useExisting:(0,o.Rfq)(()=>S),multi:!0},I=new o.nKC("");let S=(()=>{class le extends m{constructor(G,Ie,st){super(G,Ie),this._compositionMode=st,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function y(){const le=(0,i.\u0275getDOM)()?(0,i.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(le.toLowerCase())}())}writeValue(G){this.setProperty("value",G??"")}_handleInput(G){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(G)}_compositionStart(){this._composing=!0}_compositionEnd(G){this._composing=!1,this._compositionMode&&this.onChange(G)}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(I,8))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Ie,st){1&Ie&&o.bIt("input",function(oi){return st._handleInput(oi.target.value)})("blur",function(){return st.onTouched()})("compositionstart",function(){return st._compositionStart()})("compositionend",function(oi){return st._compositionEnd(oi.target.value)})},features:[o.Jv_([l]),o.Vt3]})}}return le})();function P(le){return null==le||("string"==typeof le||Array.isArray(le))&&0===le.length}function F(le){return null!=le&&"number"==typeof le.length}const N=new o.nKC(""),U=new o.nKC(""),T=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class L{static min(ce){return Z(ce)}static max(ce){return ie(ce)}static required(ce){return ve(ce)}static requiredTrue(ce){return function me(le){return!0===le.value?null:{required:!0}}(ce)}static email(ce){return function xe(le){return P(le.value)||T.test(le.value)?null:{email:!0}}(ce)}static minLength(ce){return $(ce)}static maxLength(ce){return V(ce)}static pattern(ce){return function oe(le){if(!le)return z;let ce,G;return"string"==typeof le?(G="","^"!==le.charAt(0)&&(G+="^"),G+=le,"$"!==le.charAt(le.length-1)&&(G+="$"),ce=new RegExp(G)):(G=le.toString(),ce=le),Ie=>{if(P(Ie.value))return null;const st=Ie.value;return ce.test(st)?null:{pattern:{requiredPattern:G,actualValue:st}}}}(ce)}static nullValidator(ce){return null}static compose(ce){return ke(ce)}static composeAsync(ce){return ye(ce)}}function Z(le){return ce=>{if(P(ce.value)||P(le))return null;const G=parseFloat(ce.value);return!isNaN(G)&&G<le?{min:{min:le,actual:ce.value}}:null}}function ie(le){return ce=>{if(P(ce.value)||P(le))return null;const G=parseFloat(ce.value);return!isNaN(G)&&G>le?{max:{max:le,actual:ce.value}}:null}}function ve(le){return P(le.value)?{required:!0}:null}function $(le){return ce=>P(ce.value)||!F(ce.value)?null:ce.value.length<le?{minlength:{requiredLength:le,actualLength:ce.value.length}}:null}function V(le){return ce=>F(ce.value)&&ce.value.length>le?{maxlength:{requiredLength:le,actualLength:ce.value.length}}:null}function z(le){return null}function W(le){return null!=le}function re(le){return(0,o.jNT)(le)?(0,d.H)(le):le}function ee(le){let ce={};return le.forEach(G=>{ce=null!=G?{...ce,...G}:ce}),0===Object.keys(ce).length?null:ce}function Se(le,ce){return ce.map(G=>
1G(le))}function de(le){return le.map(ce=>function J(le){return!le.validate}(ce)?ce:G=>ce.validate(G))}function ke(le){if(!le)return null;const ce=le.filter(W);return 0==ce.length?null:function(G){return ee(Se(G,ce))}}function ge(le){return null!=le?ke(de(le)):null}function ye(le){if(!le)return null;const ce=le.filter(W);return 0==ce.length?null:function(G){const Ie=Se(G,ce).map(re);return(0,h.p)(Ie).pipe((0,_.T)(ee))}}function Pe(le){return null!=le?ye(de(le)):null}function Me(le,ce){return null===le?[ce]:Array.isArray(le)?[...le,ce]:[le,ce]}function We(le){return le._rawValidators}function Oe(le){return le._rawAsyncValidators}function tt(le){return le?Array.isArray(le)?le:[le]:[]}function Qe(le,ce){return Array.isArray(le)?le.includes(ce):le===ce}function _t(le,ce){const G=tt(ce);return tt(le).forEach(st=>{Qe(G,st)||G.push(st)}),G}function ht(le,ce){return tt(ce).filter(G=>!Qe(le,G))}class mt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ce){this._rawValidators=ce||[],this._composedValidatorFn=ge(this._rawValidators)}_setAsyncValidators(ce){this._rawAsyncValidators=ce||[],this._composedAsyncValidatorFn=Pe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ce){this._onDestroyCallbacks.push(ce)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ce=>ce()),this._onDestroyCallbacks=[]}reset(ce=void 0){this.control&&this.control.reset(ce)}hasError(ce,G){return!!this.control&&this.control.hasError(ce,G)}getError(ce,G){return this.control?this.control.getError(ce,G):null}}class Vt extends mt{get formDirective(){return null}get path(){return null}}class Ot extends mt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Fe{constructor(ce){this._cd=ce}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let De=(()=>{class le extends Fe{constructor(G){super(G)}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(Ot,2))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ie,st){2&Ie&&o.AVh("ng-untouched",st.isUntouched)("ng-touched",st.isTouched)("ng-pristine",st.isPristine)("ng-dirty",st.isDirty)("ng-valid",st.isValid)("ng-invalid",st.isInvalid)("ng-pending",st.isPending)},features:[o.Vt3]})}}return le})(),He=(()=>{class le extends Fe{constructor(G){super(G)}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(Vt,10))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ie,st){2&Ie&&o.AVh("ng-untouched",st.isUntouched)("ng-touched",st.isTouched)("ng-pristine",st.isPristine)("ng-dirty",st.isDirty)("ng-valid",st.isValid)("ng-invalid",st.isInvalid)("ng-pending",st.isPending)("ng-submitted",st.isSubmitted)},features:[o.Vt3]})}}return le})();const vt="VALID",Dt="INVALID",ze="PENDING",on="DISABLED";class Gt{}class Qn extends Gt{constructor(ce,G){super(),this.value=ce,this.source=G}}class Ct extends Gt{constructor(ce,G){super(),this.pristine=ce,this.source=G}}class ut extends Gt{constructor(ce,G){super(),this.touched=ce,this.source=G}}class Xe extends Gt{constructor(ce,G){super(),this.status=ce,this.source=G}}class qe extends Gt{constructor(ce){super(),this.source=ce}}class Bt extends Gt{constructor(ce){super(),this.source=ce}}function St(le){return(cn(le)?le.validators:le)||null}function Lt(le,ce){return(cn(ce)?ce.asyncValidators:le)||null}function cn(le){return null!=le&&!Array.isArray(le)&&"object"==typeof le}function Kt(le,ce,G){const Ie=le.controls;if(!(ce?Object.keys(Ie):Ie).length)throw new o.wOt(1e3,"");if(!Ie[G])throw new o.wOt(1001,"")}function Ue(le,ce,G){le._forEachChild((Ie,st)=>{if(void 0===G[st])throw new o.wOt(1002,"")})}class at{constructor(ce,G){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,o.EWP)(()=>this.statusReactive()),this.statusReactive=(0,o.vPA)(void 0),this._pristine=(0,o.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,o.vPA)(!0),this._touched=(0,o.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,o.vPA)(!1),this._events=new v.B7,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(ce),this._assignAsyncValidators(G)}get validator(){return this._composedValidatorFn}set validator(ce){this._rawValidators=this._composedValidatorFn=ce}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ce){this._rawAsyncValidators=this._composedAsyncValidatorFn=ce}get parent(){return this._parent}get status(){return(0,o.O8t)(this.statusReactive)}set status(ce){(0,o.O8t)(()=>this.statusReactive.set(ce))}get valid(){return this.status===vt}get invalid(){return this.status===Dt}get pending(){return this.status==ze}get disabled(){return this.status===on}get enabled(){return this.status!==on}get pristine(){return(0,o.O8t)(this.pristineReactive)}set pristine(ce){(0,o.O8t)(()=>this.pristineReactive.set(ce))}get dirty(){return!this.pristine}get touched(){return(0,o.O8t)(this.touchedReactive)}set touched(ce){(0,o.O8t)(()=>this.touchedReactive.set(ce))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ce){this._assignValidators(ce)}setAsyncValidators(ce){this._assignAsyncValidators(ce)}addValidators(ce){this.setValidators(_t(ce,this._rawValidators))}addAsyncValidators(ce){this.setAsyncValidators(_t(ce,this._rawAsyncValidators))}removeValidators(ce){this.setValidators(ht(ce,this._rawValidators))}removeAsyncValidators(ce){this.setAsyncValidators(ht(ce,this._rawAsyncValidators))}hasValidator(ce){return Qe(this._rawValidators,ce)}hasAsyncValidator(ce){return Qe(this._rawAsyncValidators,ce)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ce={}){const G=!1===this.touched;this.touched=!0;const Ie=ce.sourceControl??this;this._parent&&!ce.onlySelf&&this._parent.markAsTouched({...ce,sourceControl:Ie}),G&&!1!==ce.emitEvent&&this._events.next(new ut(!0,Ie))}markAllAsTouched(ce={}){this.markAsTouched({onlySelf:!0,emitEvent:ce.emitEvent,sourceControl:this}
1),this._forEachChild(G=>G.markAllAsTouched(ce))}markAsUntouched(ce={}){const G=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Ie=ce.sourceControl??this;this._forEachChild(st=>{st.markAsUntouched({onlySelf:!0,emitEvent:ce.emitEvent,sourceControl:Ie})}),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce,Ie),G&&!1!==ce.emitEvent&&this._events.next(new ut(!1,Ie))}markAsDirty(ce={}){const G=!0===this.pristine;this.pristine=!1;const Ie=ce.sourceControl??this;this._parent&&!ce.onlySelf&&this._parent.markAsDirty({...ce,sourceControl:Ie}),G&&!1!==ce.emitEvent&&this._events.next(new Ct(!1,Ie))}markAsPristine(ce={}){const G=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Ie=ce.sourceControl??this;this._forEachChild(st=>{st.markAsPristine({onlySelf:!0,emitEvent:ce.emitEvent})}),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce,Ie),G&&!1!==ce.emitEvent&&this._events.next(new Ct(!0,Ie))}markAsPending(ce={}){this.status=ze;const G=ce.sourceControl??this;!1!==ce.emitEvent&&(this._events.next(new Xe(this.status,G)),this.statusChanges.emit(this.status)),this._parent&&!ce.onlySelf&&this._parent.markAsPending({...ce,sourceControl:G})}disable(ce={}){const G=this._parentMarkedDirty(ce.onlySelf);this.status=on,this.errors=null,this._forEachChild(st=>{st.disable({...ce,onlySelf:!0})}),this._updateValue();const Ie=ce.sourceControl??this;!1!==ce.emitEvent&&(this._events.next(new Qn(this.value,Ie)),this._events.next(new Xe(this.status,Ie)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ce,skipPristineCheck:G},this),this._onDisabledChange.forEach(st=>st(!0))}enable(ce={}){const G=this._parentMarkedDirty(ce.onlySelf);this.status=vt,this._forEachChild(Ie=>{Ie.enable({...ce,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent}),this._updateAncestors({...ce,skipPristineCheck:G},this),this._onDisabledChange.forEach(Ie=>Ie(!1))}_updateAncestors(ce,G){this._parent&&!ce.onlySelf&&(this._parent.updateValueAndValidity(ce),ce.skipPristineCheck||this._parent._updatePristine({},G),this._parent._updateTouched({},G))}setParent(ce){this._parent=ce}getRawValue(){return this.value}updateValueAndValidity(ce={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Ie=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===vt||this.status===ze)&&this._runAsyncValidator(Ie,ce.emitEvent)}const G=ce.sourceControl??this;!1!==ce.emitEvent&&(this._events.next(new Qn(this.value,G)),this._events.next(new Xe(this.status,G)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ce.onlySelf&&this._parent.updateValueAndValidity({...ce,sourceControl:G})}_updateTreeValidity(ce={emitEvent:!0}){this._forEachChild(G=>G._updateTreeValidity(ce)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?on:vt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ce,G){if(this.asyncValidator){this.status=ze,this._hasOwnPendingAsyncValidator={emitEvent:!1!==G};const Ie=re(this.asyncValidator(this));this._asyncValidationSubscription=Ie.subscribe(st=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(st,{emitEvent:G,shouldHaveEmitted:ce})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const ce=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,ce}return!1}setErrors(ce,G={}){this.errors=ce,this._updateControlsErrors(!1!==G.emitEvent,this,G.shouldHaveEmitted)}get(ce){let G=ce;return null==G||(Array.isArray(G)||(G=G.split(".")),0===G.length)?null:G.reduce((Ie,st)=>Ie&&Ie._find(st),this)}getError(ce,G){const Ie=G?this.get(G):this;return Ie&&Ie.errors?Ie.errors[ce]:null}hasError(ce,G){return!!this.getError(ce,G)}get root(){let ce=this;for(;ce._parent;)ce=ce._parent;return ce}_updateControlsErrors(ce,G,Ie){this.status=this._calculateStatus(),ce&&this.statusChanges.emit(this.status),(ce||Ie)&&this._events.next(new Xe(this.status,G)),this._parent&&this._parent._updateControlsErrors(ce,G,Ie)}_initObservables(){this.valueChanges=new o.bkB,this.statusChanges=new o.bkB}_calculateStatus(){return this._allControlsDisabled()?on:this.errors?Dt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ze)?ze:this._anyControlsHaveStatus(Dt)?Dt:vt}_anyControlsHaveStatus(ce){return this._anyControls(G=>G.status===ce)}_anyControlsDirty(){return this._anyControls(ce=>ce.dirty)}_anyControlsTouched(){return this._anyControls(ce=>ce.touched)}_updatePristine(ce,G){const Ie=!this._anyControlsDirty(),st=this.pristine!==Ie;this.pristine=Ie,this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce,G),st&&this._events.next(new Ct
1(this.pristine,G))}_updateTouched(ce={},G){this.touched=this._anyControlsTouched(),this._events.next(new ut(this.touched,G)),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce,G)}_registerOnCollectionChange(ce){this._onCollectionChange=ce}_setUpdateStrategy(ce){cn(ce)&&null!=ce.updateOn&&(this._updateOn=ce.updateOn)}_parentMarkedDirty(ce){return!ce&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ce){return null}_assignValidators(ce){this._rawValidators=Array.isArray(ce)?ce.slice():ce,this._composedValidatorFn=function Rt(le){return Array.isArray(le)?ge(le):le||null}(this._rawValidators)}_assignAsyncValidators(ce){this._rawAsyncValidators=Array.isArray(ce)?ce.slice():ce,this._composedAsyncValidatorFn=function fn(le){return Array.isArray(le)?Pe(le):le||null}(this._rawAsyncValidators)}}class xt extends at{constructor(ce,G,Ie){super(St(G),Lt(Ie,G)),this.controls=ce,this._initObservables(),this._setUpdateStrategy(G),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ce,G){return this.controls[ce]?this.controls[ce]:(this.controls[ce]=G,G.setParent(this),G._registerOnCollectionChange(this._onCollectionChange),G)}addControl(ce,G,Ie={}){this.registerControl(ce,G),this.updateValueAndValidity({emitEvent:Ie.emitEvent}),this._onCollectionChange()}removeControl(ce,G={}){this.controls[ce]&&this.controls[ce]._registerOnCollectionChange(()=>{}),delete this.controls[ce],this.updateValueAndValidity({emitEvent:G.emitEvent}),this._onCollectionChange()}setControl(ce,G,Ie={}){this.controls[ce]&&this.controls[ce]._registerOnCollectionChange(()=>{}),delete this.controls[ce],G&&this.registerControl(ce,G),this.updateValueAndValidity({emitEvent:Ie.emitEvent}),this._onCollectionChange()}contains(ce){return this.controls.hasOwnProperty(ce)&&this.controls[ce].enabled}setValue(ce,G={}){Ue(this,0,ce),Object.keys(ce).forEach(Ie=>{Kt(this,!0,Ie),this.controls[Ie].setValue(ce[Ie],{onlySelf:!0,emitEvent:G.emitEvent})}),this.updateValueAndValidity(G)}patchValue(ce,G={}){null!=ce&&(Object.keys(ce).forEach(Ie=>{const st=this.controls[Ie];st&&st.patchValue(ce[Ie],{onlySelf:!0,emitEvent:G.emitEvent})}),this.updateValueAndValidity(G))}reset(ce={},G={}){this._forEachChild((Ie,st)=>{Ie.reset(ce?ce[st]:null,{onlySelf:!0,emitEvent:G.emitEvent})}),this._updatePristine(G,this),this._updateTouched(G,this),this.updateValueAndValidity(G)}getRawValue(){return this._reduceChildren({},(ce,G,Ie)=>(ce[Ie]=G.getRawValue(),ce))}_syncPendingControls(){let ce=this._reduceChildren(!1,(G,Ie)=>!!Ie._syncPendingControls()||G);return ce&&this.updateValueAndValidity({onlySelf:!0}),ce}_forEachChild(ce){Object.keys(this.controls).forEach(G=>{const Ie=this.controls[G];Ie&&ce(Ie,G)})}_setUpControls(){this._forEachChild(ce=>{ce.setParent(this),ce._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ce){for(const[G,Ie]of Object.entries(this.controls))if(this.contains(G)&&ce(Ie))return!0;return!1}_reduceValue(){return this._reduceChildren({},(G,Ie,st)=>((Ie.enabled||this.disabled)&&(G[st]=Ie.value),G))}_reduceChildren(ce,G){let Ie=ce;return this._forEachChild((st,Rn)=>{Ie=G(Ie,st,Rn)}),Ie}_allControlsDisabled(){for(const ce of Object.keys(this.controls))if(this.controls[ce].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ce){return this.controls.hasOwnProperty(ce)?this.controls[ce]:null}}class sn extends xt{}const _i=new o.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>pn}),pn="always";function Pn(le,ce){return[...ce.path,le]}function ne(le,ce,G=pn){lt(le,ce),ce.valueAccessor.writeValue(le.value),(le.disabled||"always"===G)&&ce.valueAccessor.setDisabledState?.(le.disabled),function Sn(le,ce){ce.valueAccessor.registerOnChange(G=>{le._pendingValue=G,le._pendingChange=!0,le._pendingDirty=!0,"change"===le.updateOn&&Ht(le,ce)})}(le,ce),function Jn(le,ce){const G=(Ie,st)=>{ce.valueAccessor.writeValue(Ie),st&&ce.viewToModelUpdate(Ie)};le.registerOnChange(G),ce._registerOnDestroy(()=>{le._unregisterOnChange(G)})}(le,ce),function Kn(le,ce){ce.valueAccessor.registerOnTouched(()=>{le._pendingTouched=!0,"blur"===le.updateOn&&le._pendingChange&&Ht(le,ce),"submit"!==le.updateOn&&le.markAsTouched()})}(le,ce),function Te(le,ce){if(ce.valueAccessor.setDisabledState){const G=Ie=>{ce.valueAccessor.setDisabledState(Ie)};le.registerOnDisabledChange(G),ce._registerOnDestroy(()=>{le._unregisterOnDisabledChange(G)})}}(le,ce)}function H(le,ce,G=!0){const Ie=()=>{};ce.valueAccessor&&(ce.valueAccessor.registerOnChange(Ie),ce.valueAccessor.registerOnTouched(Ie)),Pt(le,ce),le&&(ce._invokeOnDestroyCallbacks(),le._registerOnCollectionChange(()=>{}))}function Q(le,ce){le.forEach(G=>{G.registerOnValidatorChange&&G.registerOnValidatorChange(ce)})}function lt(le,ce){const G=We(le);null!==ce.validator?le.setValidators(Me(G,ce.validator)):"function"==typeof G&&le.setValidators([G]);const Ie=Oe(le);null!==ce.asyncValidator?le.setAsyncValidators(Me(Ie,ce.asyncValidator)):"function"==typeof Ie&&le.setAsyncValidators([Ie]);const st=()=>le.updateValueAndValidity();Q(ce._rawValidators,st),Q(ce._rawAsyncValidators,st)}function Pt(le,ce){let G=!1;if(null!==le){if(null!==ce.validator){const st=We(le);if(Array.isArray(st)&&st.length>0){const Rn=st.filter(oi=>oi!==ce.validator);Rn.length!==st.length&&(G=!0,le.setValidators(Rn))}}if(null!==ce.asyncValidator){const st=Oe(le);if(Array.isArray(st)&&st.length>0){const Rn=st.filter(oi=>oi!==ce.asyncValidator);Rn.length!==st.length&&(G=!0,le.setAsyncValidators(Rn))}}}const Ie=()=>{};return Q(ce._rawValidators,Ie),Q(ce._rawAsyncValidators,Ie),G}function Ht(le,ce){le._pendingDirty&&le.markAsDirty(),le.setValue(le._pendingValue,{emitModelToViewChange:!1}),ce.viewToModelUpdate(le._pendingValue),le._pendingChange=!1}function ci(le,ce){lt(le,ce)}function wt(le,ce){if(!le.hasOwnProperty("model"))return!1;const G=le.model;return!!G.isFirstChange()||!Object.is(ce,G.currentValue)}function Nt(le,ce){le._syncPendingControls(),ce.forEach(G=>{const Ie=G.control;"submit"===Ie.updateOn&&Ie._pendingChange&&(G.viewToModelUpdate(Ie._pendingValue),Ie._pendingChange=!1)})}function an(le,ce){if(!ce)return null;let G,Ie,st;return Array.isArray(ce),ce.forEach(Rn=>{Rn.constructor===S?G=Rn:function Qt(le){return Object.getPrototypeOf(le.constructor)===p}(Rn)?Ie=Rn:st=Rn}),st||Ie||G||null}const Zn={provide:Vt,useExisting:(0,o.Rfq)(()=>Bn)},li=Promise.resolve();let Bn=(()=>{class le extends Vt{get submitted(){return(0,o.O8t)(this.submittedReactive)}constructor(G,Ie,st){super(),this.callSetDisabledState=st,this._submitted=(0,o.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,o.vPA)(!1),this._directives=new Set,this.ngSubmit=new o.bkB,this.form=new xt({},ge(G),Pe(Ie))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(G){li.then(()=>{const Ie=this._findContainer(G.path);G.control=Ie.registerControl(G.name,G.control),ne(G.control,G,this.callSetDisabledState),G.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(G)})}getControl(G){return this.form.get(G.path)}
1removeControl(G){li.then(()=>{const Ie=this._findContainer(G.path);Ie&&Ie.removeControl(G.name),this._directives.delete(G)})}addFormGroup(G){li.then(()=>{const Ie=this._findContainer(G.path),st=new xt({});ci(st,G),Ie.registerControl(G.name,st),st.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(G){li.then(()=>{const Ie=this._findContainer(G.path);Ie&&Ie.removeControl(G.name)})}getFormGroup(G){return this.form.get(G.path)}updateModel(G,Ie){li.then(()=>{this.form.get(G.path).setValue(Ie)})}setValue(G){this.control.setValue(G)}onSubmit(G){return this.submittedReactive.set(!0),Nt(this.form,this._directives),this.ngSubmit.emit(G),"dialog"===G?.target?.method}onReset(){this.resetForm()}resetForm(G=void 0){this.form.reset(G),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(G){return G.pop(),G.length?this.form.get(G):this.form}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(N,10),o.rXU(U,10),o.rXU(_i,8))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ie,st){1&Ie&&o.bIt("submit",function(oi){return st.onSubmit(oi)})("reset",function(){return st.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Zn]),o.Vt3]})}}return le})();function vi(le,ce){const G=le.indexOf(ce);G>-1&&le.splice(G,1)}function bi(le){return"object"==typeof le&&null!==le&&2===Object.keys(le).length&&"value"in le&&"disabled"in le}const Mi=class extends at{constructor(ce=null,G,Ie){super(St(G),Lt(Ie,G)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ce),this._setUpdateStrategy(G),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),cn(G)&&(G.nonNullable||G.initialValueIsDefault)&&(this.defaultValue=bi(ce)?ce.value:ce)}setValue(ce,G={}){this.value=this._pendingValue=ce,this._onChange.length&&!1!==G.emitModelToViewChange&&this._onChange.forEach(Ie=>Ie(this.value,!1!==G.emitViewToModelChange)),this.updateValueAndValidity(G)}patchValue(ce,G={}){this.setValue(ce,G)}reset(ce=this.defaultValue,G={}){this._applyFormState(ce),this.markAsPristine(G),this.markAsUntouched(G),this.setValue(this.value,G),this._pendingChange=!1}_updateValue(){}_anyControls(ce){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ce){this._onChange.push(ce)}_unregisterOnChange(ce){vi(this._onChange,ce)}registerOnDisabledChange(ce){this._onDisabledChange.push(ce)}_unregisterOnDisabledChange(ce){vi(this._onDisabledChange,ce)}_forEachChild(ce){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ce){bi(ce)?(this.value=this._pendingValue=ce.value,ce.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ce}},oo={provide:Ot,useExisting:(0,o.Rfq)(()=>qn)},_o=Promise.resolve();let qn=(()=>{class le extends Ot{constructor(G,Ie,st,Rn,oi,lo){super(),this._changeDetectorRef=oi,this.callSetDisabledState=lo,this.control=new Mi,this._registered=!1,this.name="",this.update=new o.bkB,this._parent=G,this._setValidators(Ie),this._setAsyncValidators(st),this.valueAccessor=an(0,Rn)}ngOnChanges(G){if(this._checkForErrors(),!this._registered||"name"in G){if(this._registered&&(this._checkName(),this.formDirective)){const Ie=G.name.previousValue;this.formDirective.removeControl({name:Ie,path:this._getPath(Ie)})}this._setUpControl()}"isDisabled"in G&&this._updateDisabled(G),wt(G,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(G){this.viewModel=G,this.update.emit(G)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ne(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(G){_o.then(()=>{this.control.setValue(G,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(G){const Ie=G.isDisabled.currentValue,st=0!==Ie&&(0,o.L39)(Ie);_o.then(()=>{st&&!this.control.disabled?this.control.disable():!st&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(G){return this._parent?Pn(G,this._parent):[G]}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(Vt,9),o.rXU(N,10),o.rXU(U,10),o.rXU(u,10),o.rXU(o.gRc,8),o.rXU(_i,8))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o.Jv_([oo]),o.Vt3,o.OA$]})}}return le})(),mo=(()=>{class le{static{this.\u0275fac=function(Ie){return new(Ie||le)}}static{this.\u0275dir=o.FsC({type:le,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return le})();const zs={provide:u,useExisting:(0,o.Rfq)(()=>ir),multi:!0};let ir=(()=>{class le extends p{writeValue(G){this.setProperty("value",G??"")}registerOnChange(G){this.onChange=Ie=>{G(""==Ie?null:parseFloat(Ie))}}static{this.\u0275fac=(()=>{let G;return function(st){return(G||(G=o.xGo(le)))(st||le)}})()}static{this.\u0275dir=o.FsC({type:le,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ie,st){1&Ie&&o.bIt("input",function(oi){return st.onChange(oi.target.value)})("blur",function(){return st.onTouched()})},features:[o.Jv_([zs]),o.Vt3]})}}return le})();const Xs={provide:u,useExisting:(0,o.Rfq)(()=>Gr),multi:!0};let Pa=(()=>{class le{constructor(){this._accessors=[]}add(G,Ie){this._accessors.push([G,Ie])}remove(G){for(let Ie=this._accessors.length-1;Ie>=0;--Ie)if(this._accessors[Ie][1]===G)return void this._accessors.splice(Ie,1)}
1select(G){this._accessors.forEach(Ie=>{this._isSameGroup(Ie,G)&&Ie[1]!==G&&Ie[1].fireUncheck(G.value)})}_isSameGroup(G,Ie){return!!G[0].control&&G[0]._parent===Ie._control._parent&&G[1].name===Ie.name}static{this.\u0275fac=function(Ie){return new(Ie||le)}}static{this.\u0275prov=o.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}}return le})(),Gr=(()=>{class le extends p{constructor(G,Ie,st,Rn){super(G,Ie),this._registry=st,this._injector=Rn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,o.WQX)(_i,{optional:!0})??pn}ngOnInit(){this._control=this._injector.get(Ot),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(G){this._state=G===this.value,this.setProperty("checked",this._state)}registerOnChange(G){this._fn=G,this.onChange=()=>{G(this.value),this._registry.select(this)}}setDisabledState(G){(this.setDisabledStateFired||G||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",G),this.setDisabledStateFired=!0}fireUncheck(G){this.writeValue(G)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(Pa),o.rXU(o.zZn))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Ie,st){1&Ie&&o.bIt("change",function(){return st.onChange()})("blur",function(){return st.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o.Jv_([Xs]),o.Vt3]})}}return le})();const Zo=new o.nKC(""),qo={provide:Ot,useExisting:(0,o.Rfq)(()=>ur)};let ur=(()=>{class le extends Ot{set isDisabled(G){}static{this._ngModelWarningSentOnce=!1}constructor(G,Ie,st,Rn,oi){super(),this._ngModelWarningConfig=Rn,this.callSetDisabledState=oi,this.update=new o.bkB,this._ngModelWarningSent=!1,this._setValidators(G),this._setAsyncValidators(Ie),this.valueAccessor=an(0,st)}ngOnChanges(G){if(this._isControlChanged(G)){const Ie=G.form.previousValue;Ie&&H(Ie,this,!1),ne(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}wt(G,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&H(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(G){this.viewModel=G,this.update.emit(G)}_isControlChanged(G){return G.hasOwnProperty("form")}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(N,10),o.rXU(U,10),o.rXU(u,10),o.rXU(Zo,8),o.rXU(_i,8))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o.Jv_([qo]),o.Vt3,o.OA$]})}}return le})();const As={provide:Vt,useExisting:(0,o.Rfq)(()=>hi)};let hi=(()=>{class le extends Vt{get submitted(){return(0,o.O8t)(this._submittedReactive)}set submitted(G){this._submittedReactive.set(G)}constructor(G,Ie,st){super(),this.callSetDisabledState=st,this._submitted=(0,o.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,o.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.bkB,this._setValidators(G),this._setAsyncValidators(Ie)}ngOnChanges(G){this._checkFormPresent(),G.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Pt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(G){const Ie=this.form.get(G.path);return ne(Ie,G,this.callSetDisabledState),Ie.updateValueAndValidity({emitEvent:!1}),this.directives.push(G),Ie}getControl(G){return this.form.get(G.path)}
1removeControl(G){H(G.control||null,G,!1),function Ln(le,ce){const G=le.indexOf(ce);G>-1&&le.splice(G,1)}(this.directives,G)}addFormGroup(G){this._setUpFormContainer(G)}removeFormGroup(G){this._cleanUpFormContainer(G)}getFormGroup(G){return this.form.get(G.path)}addFormArray(G){this._setUpFormContainer(G)}removeFormArray(G){this._cleanUpFormContainer(G)}getFormArray(G){return this.form.get(G.path)}updateModel(G,Ie){this.form.get(G.path).setValue(Ie)}onSubmit(G){return this._submittedReactive.set(!0),Nt(this.form,this.directives),this.ngSubmit.emit(G),this.form._events.next(new qe(this.control)),"dialog"===G?.target?.method}onReset(){this.resetForm()}resetForm(G=void 0){this.form.reset(G),this._submittedReactive.set(!1),this.form._events.next(new Bt(this.form))}_updateDomValue(){this.directives.forEach(G=>{const Ie=G.control,st=this.form.get(G.path);Ie!==st&&(H(Ie||null,G),(le=>le instanceof Mi)(st)&&(ne(st,G,this.callSetDisabledState),G.control=st))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(G){const Ie=this.form.get(G.path);ci(Ie,G),Ie.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(G){if(this.form){const Ie=this.form.get(G.path);Ie&&function ji(le,ce){return Pt(le,ce)}(Ie,G)&&Ie.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){lt(this.form,this),this._oldForm&&Pt(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(N,10),o.rXU(U,10),o.rXU(_i,8))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["","formGroup",""]],hostBindings:function(Ie,st){1&Ie&&o.bIt("submit",function(oi){return st.onSubmit(oi)})("reset",function(){return st.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([As]),o.Vt3,o.OA$]})}}return le})();const xn={provide:Ot,useExisting:(0,o.Rfq)(()=>Kr)};let Kr=(()=>{class le extends Ot{set isDisabled(G){}static{this._ngModelWarningSentOnce=!1}constructor(G,Ie,st,Rn,oi){super(),this._ngModelWarningConfig=oi,this._added=!1,this.name=null,this.update=new o.bkB,this._ngModelWarningSent=!1,this._parent=G,this._setValidators(Ie),this._setAsyncValidators(st),this.valueAccessor=an(0,Rn)}ngOnChanges(G){this._added||this._setUpControl(),wt(G,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(G){this.viewModel=G,this.update.emit(G)}get path(){return Pn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(Vt,13),o.rXU(N,10),o.rXU(U,10),o.rXU(u,10),o.rXU(Zo,8))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[o.Jv_([xn]),o.Vt3,o.OA$]})}}return le})();const ts={provide:u,useExisting:(0,o.Rfq)(()=>Cr),multi:!0};function xo(le,ce){return null==le?`${ce}`:(ce&&"object"==typeof ce&&(ce="Object"),`${le}: ${ce}`.slice(0,50))}let Cr=(()=>{class le extends p{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(G){this._compareWith=G}writeValue(G){this.value=G;const st=xo(this._getOptionId(G),G);this.setProperty("value",st)}registerOnChange(G){this.onChange=Ie=>{this.value=this._getOptionValue(Ie),G(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(G){for(const Ie of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Ie),G))return Ie;return null}_getOptionValue(G){const Ie=function $i(le){return le.split(":")[0]}(G);return this._optionMap.has(Ie)?this._optionMap.get(Ie):G}static{this.\u0275fac=(()=>{let G;return function(st){return(G||(G=o.xGo(le)))(st||le)}})()}static{this.\u0275dir=o.FsC({type:le,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Ie,st){1&Ie&&o.bIt("change",function(oi){return st.onChange(oi.target.value)})("blur",function(){return st.onTouched()})},inputs:{compareWith:"compareWith"},features:[o.Jv_([ts]),o.Vt3]})}}return le})(),Hr=(()=>{class le{constructor(G,Ie,st){this._element=G,this._renderer=Ie,this._select=st,this._select&&(this.id=this._select._registerOption())}set ngValue(G){null!=this._select&&(this._select._optionMap.set(this.id,G),this._setElementValue(xo(this.id,G)),this._select.writeValue(this._select.value))}set value(G){this._setElementValue(G),this._select&&this._select.writeValue(this._select.value)}_setElementValue(G){this._renderer.setProperty(this._element.nativeElement,"value",G)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(Cr,9))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return le})();const Po={provide:u,useExisting:(0,o.Rfq)(()=>is),multi:!0};function Mo(le,ce){return null==le?`${ce}`:("string"==typeof ce&&(ce=`'${ce}'`),ce&&"object"==typeof ce&&(ce="Object"),`${le}: ${ce}`.slice(0,50))}let is=(()=>{class le extends p{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(G){this._compareWith=G}writeValue(G){let Ie;if(this.value=G,Array.isArray(G)){const st=G.map(Rn=>this._getOptionId(Rn));Ie=(Rn,oi)=>{Rn._setSelected(st.indexOf(oi.toString())>-1)}}else Ie=(st,Rn)=>{st._setSelected(!1)};this._optionMap.forEach(Ie)}registerOnChange(G){this.onChange=Ie=>{const st=[],Rn=Ie.selectedOptions;if(void 0!==Rn){const oi=Rn;for(let lo=0;lo<oi.length;lo++){const ss=this._getOptionValue(oi[lo].value);st.push(ss)}}else{const oi=Ie.options;for(let lo=0;lo<oi.length;lo++){const Ds=oi[lo];if(Ds.selected){const ss=this._getOptionValue(Ds.value);st.push(ss)}}}this.value=st,G(st)}}_registerOption(G){const Ie=(this._idCounter++).toString();return this._optionMap.set(Ie,G),Ie}_getOptionId(G){for(const Ie of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Ie)._value,G))return Ie;return null}_getOptionValue(G){const Ie=function Mr(le){return le.split(":")[0]}(G);return this._optionMap.has(Ie)?this._optionMap.get(Ie)._value:G}static{this.\u0275fac=(()=>{let G;return function(st){return(G||(G=o.xGo(le)))(st||le)}})()}static{this.\u0275dir=o.FsC({type:le,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Ie,st){1&Ie&&o.bIt("change",function(oi){return st.onChange(oi.target)})("blur",function(){return st.onTouched()})},inputs:{compareWith:"compareWith"},features:[o.Jv_([Po]),o.Vt3]})}}return le})(),Rr=(()=>{class le{constructor(G,Ie,st){this._element=G,this._renderer=Ie,this._select=st,this._select&&(this.id=this._select._registerOption(this))}set ngValue(G){null!=this._select&&(this._value=G,this._setElementValue(Mo(this.id,G)),this._select.writeValue(this._select.value))}set value(G){this._select?(this._value=G,this._setElementValue(Mo(this.id,G)),this._select.writeValue(this._select.value)):this._setElementValue(G)}_setElementValue(G){this._renderer.setProperty(this._element.nativeElement,"value",G)}_setSelected(G){this._renderer.setProperty(this._element.nativeElement,"selected",G)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(Ie){return new(Ie||le)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(is,9))}}static{this.\u0275dir=o.FsC({type:le,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return le})();function zr(le){return"number"==typeof le?le:parseInt(le,10)}function Ji(le){return"number"==typeof le?le:parseFloat(le)}let nr=(()=>{class le{constructor(){this._validator=z}ngOnChanges(G){if(this.inputName in G){const Ie=this.normalizeInput(G[this.inputName].currentValue);this._enabled=this.enabled(Ie),this._validator=this._enabled?this.createValidator(Ie):z,this._onChange&&this._onChange()}}validate(G){return this._validator(G)}registerOnValidatorChange(G){this._onChange=G}enabled(G){return null!=G}static{this.\u0275fac=function(Ie){return new(Ie||le)}}static{this.\u0275dir=o.FsC({type:le,features:[o.OA$]})}}return le})();const tr={provide:N,useExisting:(0,o.Rfq)(()=>so),multi:!0};let so=(()=>{class le extends nr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=G=>Ji(G),this.createValidator=G=>ie(G)}static{this.\u0275fac=(()=>{let G;return function(st){return(G||(G=o.xGo(le)))(st||le)}})()}static{this.\u0275dir=o.FsC({type:le,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ie,st){2&Ie&&o.BMQ("max",st._enabled?st.max:null)},inputs:{max:"max"},features:[o.Jv_([tr]),o.Vt3]})}}return le})();const br={provide:N,useExisting:(0,o.Rfq)(()=>Sr),multi:!0};let Sr=(()=>{class le extends nr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=G=>Ji(G),this.createValidator=G=>Z(G)}static{this.\u0275fac=(()=>{let G;return function(st){return(G||(G=o.xGo(le)))(st||le)}})()}static{this.\u0275dir=o.FsC({type:le,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ie,st){2&Ie&&o.BMQ("min",st._enabled?st.min:null)},inputs:{min:"min"},features:[o.Jv_([br]),o.Vt3]})}}return le})();const Ts={provide:N,useExisting:(0,o.Rfq)(()=>ao),multi:!0};let ao=(()=>{class le extends nr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.L39,this.createValidator=G=>ve}enabled(G){return G}static{this.\u0275fac=(()=>{let G;return function(st){return(G||(G=o.xGo(le)))(st||le)}})()}static{this.\u0275dir=o.FsC({type:le,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ie,st){2&Ie&&o.BMQ("required",st._enabled?"":null)},inputs:{required:"required"},features:[o.Jv_([Ts]),o.Vt3]})}}return le})();const Ys={provide:N,useExisting:(0,o.Rfq)(()=>gs),multi:!0};let gs=(()=>{class le extends nr{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=G=>zr(G),this.createValidator=G=>$(G)}static{this.\u0275fac=(()=>{let G;return function(st){return(G||(G=o.xGo(le)))(st||le)}})()}static{this.\u0275dir=o.FsC({type:le,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(Ie,st){2&Ie&&o.BMQ("minlength",st._enabled?st.minlength:null)},inputs:{minlength:"minlength"},features:[o.Jv_([Ys]),o.Vt3]})}}return le})();const Xr={provide:N,useExisting:(0,o.Rfq)(()=>Ei),multi:!0};let Ei=(()=>{class le extends nr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=G=>zr(G),this.createValidator=G=>V(G)}static{this.\u0275fac=(()=>{let G;return function(st){return(G||(G=o.xGo(le)))(st||le)}})()}static{this.\u0275dir=o.FsC({type:le,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Ie,st){2&Ie&&o.BMQ("maxlength",st._enabled?st.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o.Jv_([Xr]),o.Vt3]})}}return le})(),wr=(()=>{class le{static{this.\u0275fac=function(Ie){return new(Ie||le)}}static{this.\u0275mod=o.$C({type:le})}static{this.\u0275inj=o.G2t({})}}return le})();class _r extends at{constructor(ce,G,Ie){super(St(G),Lt(Ie,G)),this.controls=ce,this._initOb
1servables(),this._setUpdateStrategy(G),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ce){return this.controls[this._adjustIndex(ce)]}push(ce,G={}){this.controls.push(ce),this._registerControl(ce),this.updateValueAndValidity({emitEvent:G.emitEvent}),this._onCollectionChange()}insert(ce,G,Ie={}){this.controls.splice(ce,0,G),this._registerControl(G),this.updateValueAndValidity({emitEvent:Ie.emitEvent})}removeAt(ce,G={}){let Ie=this._adjustIndex(ce);Ie<0&&(Ie=0),this.controls[Ie]&&this.controls[Ie]._registerOnCollectionChange(()=>{}),this.controls.splice(Ie,1),this.updateValueAndValidity({emitEvent:G.emitEvent})}setControl(ce,G,Ie={}){let st=this._adjustIndex(ce);st<0&&(st=0),this.controls[st]&&this.controls[st]._registerOnCollectionChange(()=>{}),this.controls.splice(st,1),G&&(this.controls.splice(st,0,G),this._registerControl(G)),this.updateValueAndValidity({emitEvent:Ie.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ce,G={}){Ue(this,0,ce),ce.forEach((Ie,st)=>{Kt(this,!1,st),this.at(st).setValue(Ie,{onlySelf:!0,emitEvent:G.emitEvent})}),this.updateValueAndValidity(G)}patchValue(ce,G={}){null!=ce&&(ce.forEach((Ie,st)=>{this.at(st)&&this.at(st).patchValue(Ie,{onlySelf:!0,emitEvent:G.emitEvent})}),this.updateValueAndValidity(G))}reset(ce=[],G={}){this._forEachChild((Ie,st)=>{Ie.reset(ce[st],{onlySelf:!0,emitEvent:G.emitEvent})}),this._updatePristine(G,this),this._updateTouched(G,this),this.updateValueAndValidity(G)}getRawValue(){return this.controls.map(ce=>ce.getRawValue())}clear(ce={}){this.controls.length<1||(this._forEachChild(G=>G._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ce.emitEvent}))}_adjustIndex(ce){return ce<0?ce+this.length:ce}_syncPendingControls(){let ce=this.controls.reduce((G,Ie)=>!!Ie._syncPendingControls()||G,!1);return ce&&this.updateValueAndValidity({onlySelf:!0}),ce}_forEachChild(ce){this.controls.forEach((G,Ie)=>{ce(G,Ie)})}_updateValue(){this.value=this.controls.filter(ce=>ce.enabled||this.disabled).map(ce=>ce.value)}_anyControls(ce){return this.controls.some(G=>G.enabled&&ce(G))}_setUpControls(){this._forEachChild(ce=>this._registerControl(ce))}_allControlsDisabled(){for(const ce of this.controls)if(ce.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ce){ce.setParent(this),ce._registerOnCollectionChange(this._onCollectionChange)}_find(ce){return this.at(ce)??null}}function Eo(le){return!!le&&(void 0!==le.asyncValidators||void 0!==le.validators||void 0!==le.updateOn)}let Wo=(()=>{class le{constructor(){this.useNonNullable=!1}get nonNullable(){const G=new le;return G.useNonNullable=!0,G}group(G,Ie=null){const st=this._reduceControls(G);let Rn={};return Eo(Ie)?Rn=Ie:null!==Ie&&(Rn.validators=Ie.validator,Rn.asyncValidators=Ie.asyncValidator),new xt(st,Rn)}record(G,Ie=null){const st=this._reduceControls(G);return new sn(st,Ie)}control(G,Ie,st){let Rn={};return this.useNonNullable?(Eo(Ie)?Rn=Ie:(Rn.validators=Ie,Rn.asyncValidators=st),new Mi(G,{...Rn,nonNullable:!0})):new Mi(G,Ie,st)}array(G,Ie,st){const Rn=G.map(oi=>this._createControl(oi));return new _r(Rn,Ie,st)}_reduceControls(G){const Ie={};return Object.keys(G).forEach(st=>{Ie[st]=this._createControl(G[st])}),Ie}_createControl(G){return G instanceof Mi||G instanceof at?G:Array.isArray(G)?this.control(G[0],G.length>1?G[1]:null,G.length>2?G[2]:null):this.control(G)}static{this.\u0275fac=function(Ie){return new(Ie||le)}}static{this.\u0275prov=o.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}}return le})(),Js=(()=>{class le{static withConfig(G){return{ngModule:le,providers:[{provide:_i,useValue:G.callSetDisabledState??pn}]}}static{this.\u0275fac=function(Ie){return new(Ie||le)}}static{this.\u0275mod=o.$C({type:le})}static{this.\u0275inj=o.G2t({imports:[wr]})}}return le})(),yo=(()=>{class le{static withConfig(G){return{ngModule:le,providers:[{provide:Zo,useValue:G.warnOnNgModelWithFormControl??"always"},{provide:_i,useValue:G.callSetDisabledState??pn}]}}static{this.\u0275fac=function(Ie){return new(Ie||le)}}static{this.\u0275mod=o.$C({type:le})}static{this.\u0275inj=o.G2t({imports:[wr]})}}return le})()},345:(he,M,r)=>{"use strict";r.d(M,{$x:()=>Gt,B7:()=>xe,Bb:()=>Fe,W8:()=>Ye,dE:()=>Xn,hE:()=>De,sG:()=>ht,up:()=>Mn});var o=r(60177),i=r(54438),d=r(21626);class h extends o.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class v extends h{static makeCurrent(){(0,o.\u0275setRootDomAdapter)(new v)}onAndCancel(ut,Xe,qe){return ut.addEventListener(Xe,qe),()=>{ut.removeEventListener(Xe,qe)}}dispatchEvent(ut,Xe){ut.dispatchEvent(Xe)}remove(ut){ut.remove()}createElement(ut,Xe){return(Xe=Xe||this.getDefaultDocument()).createElement(ut)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ut){return ut.nodeType===Node.ELEMENT_NODE}isShadowRoot(ut){return ut instanceof DocumentFragment}getGlobalEventTarget(ut,Xe){return"window"===Xe?window:"document"===Xe?ut:"body"===Xe?ut.body:null}getBaseHref(ut){const Xe=function m(){return _=_||document.querySelector("base"),_?_.getAttribute("href"):null}();return null==Xe?null:function p(Ct){return new URL(Ct,document.baseURI).pathname}(Xe)}resetBaseElement(){_=null}getUserAgent(){return window.navigator.userAgent}getCookie(ut){return(0,o.\u0275parseCookieValue)(document.cookie,ut)}}let _=null,E=(()=>{class Ct{build(){return new XMLHttpRequest}static{this.\u0275fac=function(qe){return new(qe||Ct)}}static{this.\u0275prov=i.jDH({token:Ct,factory:Ct.\u0275fac})}}return Ct})();const C=new i.nKC("");let l=(()=>{class Ct{constructor(Xe,qe){this._zone=qe,this._eventNameToPlugin=new Map,Xe.forEach(Bt=>{Bt.manager=this}),this._plugins=Xe.slice().reverse()}addEventListener(Xe,qe,Bt){return this._findPluginFor(qe).addEventListener(Xe,qe,Bt)}getZone(){return this._zone}_findPluginFor(Xe){let qe=this._eventNameToPlugin.get(Xe);if(qe)return qe;if(qe=this._plugins.find(St=>St.supports(Xe)),!qe)throw new i.wOt(5101,!1);return this._eventNameToPlugin.set(Xe,qe),qe}static{this.\u0275fac=function(qe){return new(qe||Ct)(i.KVO(C),i.KVO(i.SKi))}}static{this.\u0275prov=i.jDH({token:Ct,factory:Ct.\u0275fac})}}return Ct})();class y{constructor(ut){this._doc=ut}}const I="ng-app-id";let S=(()=>{class Ct{constructor(Xe,qe,Bt,St={}){this.doc=Xe,this.appId=qe,this.nonce=Bt,this.platformId=St,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.isPlatformServer)(St),this.resetHostNodes()}
1addStyles(Xe){for(const qe of Xe)1===this.changeUsageCount(qe,1)&&this.onStyleAdded(qe)}removeStyles(Xe){for(const qe of Xe)this.changeUsageCount(qe,-1)<=0&&this.onStyleRemoved(qe)}ngOnDestroy(){const Xe=this.styleNodesInDOM;Xe&&(Xe.forEach(qe=>qe.remove()),Xe.clear());for(const qe of this.getAllStyles())this.onStyleRemoved(qe);this.resetHostNodes()}addHost(Xe){this.hostNodes.add(Xe);for(const qe of this.getAllStyles())this.addStyleToHost(Xe,qe)}removeHost(Xe){this.hostNodes.delete(Xe)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Xe){for(const qe of this.hostNodes)this.addStyleToHost(qe,Xe)}onStyleRemoved(Xe){const qe=this.styleRef;qe.get(Xe)?.elements?.forEach(Bt=>Bt.remove()),qe.delete(Xe)}collectServerRenderedStyles(){const Xe=this.doc.head?.querySelectorAll(`style[${I}="${this.appId}"]`);if(Xe?.length){const qe=new Map;return Xe.forEach(Bt=>{null!=Bt.textContent&&qe.set(Bt.textContent,Bt)}),qe}return null}changeUsageCount(Xe,qe){const Bt=this.styleRef;if(Bt.has(Xe)){const St=Bt.get(Xe);return St.usage+=qe,St.usage}return Bt.set(Xe,{usage:qe,elements:[]}),qe}getStyleElement(Xe,qe){const Bt=this.styleNodesInDOM,St=Bt?.get(qe);if(St?.parentNode===Xe)return Bt.delete(qe),St.removeAttribute(I),St;{const Rt=this.doc.createElement("style");return this.nonce&&Rt.setAttribute("nonce",this.nonce),Rt.textContent=qe,this.platformIsServer&&Rt.setAttribute(I,this.appId),Xe.appendChild(Rt),Rt}}addStyleToHost(Xe,qe){const Bt=this.getStyleElement(Xe,qe),St=this.styleRef,Rt=St.get(qe)?.elements;Rt?Rt.push(Bt):St.set(qe,{elements:[Bt],usage:1})}resetHostNodes(){const Xe=this.hostNodes;Xe.clear(),Xe.add(this.doc.head)}static{this.\u0275fac=function(qe){return new(qe||Ct)(i.KVO(o.DOCUMENT),i.KVO(i.sZ2),i.KVO(i.BIS,8),i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:Ct,factory:Ct.\u0275fac})}}return Ct})();const P={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},F=/%COMP%/g,N="%COMP%",U=`_nghost-${N}`,T=`_ngcontent-${N}`,Z=new i.nKC("",{providedIn:"root",factory:()=>!0});function me(Ct,ut){return ut.map(Xe=>Xe.replace(F,Ct))}let xe=(()=>{class Ct{constructor(Xe,qe,Bt,St,Rt,Lt,fn,cn=null){this.eventManager=Xe,this.sharedStylesHost=qe,this.appId=Bt,this.removeStylesOnCompDestroy=St,this.doc=Rt,this.platformId=Lt,this.ngZone=fn,this.nonce=cn,this.rendererByCompId=new Map,this.platformIsServer=(0,o.isPlatformServer)(Lt),this.defaultRenderer=new $(Xe,Rt,fn,this.platformIsServer)}createRenderer(Xe,qe){if(!Xe||!qe)return this.defaultRenderer;this.platformIsServer&&qe.encapsulation===i.gXe.ShadowDom&&(qe={...qe,encapsulation:i.gXe.Emulated});const Bt=this.getOrCreateRenderer(Xe,qe);return Bt instanceof ee?Bt.applyToHost(Xe):Bt instanceof re&&Bt.applyStyles(),Bt}getOrCreateRenderer(Xe,qe){const Bt=this.rendererByCompId;let St=Bt.get(qe.id);if(!St){const Rt=this.doc,Lt=this.ngZone,fn=this.eventManager,cn=this.sharedStylesHost,Kt=this.removeStylesOnCompDestroy,Ue=this.platformIsServer;switch(qe.encapsulation){case i.gXe.Emulated:St=new ee(fn,cn,qe,this.appId,Kt,Rt,Lt,Ue);break;case i.gXe.ShadowDom:return new W(fn,cn,Xe,qe,Rt,Lt,this.nonce,Ue);default:St=new re(fn,cn,qe,Kt,Rt,Lt,Ue)}Bt.set(qe.id,St)}return St}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(qe){return new(qe||Ct)(i.KVO(l),i.KVO(S),i.KVO(i.sZ2),i.KVO(Z),i.KVO(o.DOCUMENT),i.KVO(i.Agw),i.KVO(i.SKi),i.KVO(i.BIS))}}static{this.\u0275prov=i.jDH({token:Ct,factory:Ct.\u0275fac})}}return Ct})();class ${constructor(ut,Xe,qe,Bt){this.eventManager=ut,this.doc=Xe,this.ngZone=qe,this.platformIsServer=Bt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ut,Xe){return Xe?this.doc.createElementNS(P[Xe]||Xe,ut):this.doc.createElement(ut)}createComment(ut){return this.doc.createComment(ut)}createText(ut){return this.doc.createTextNode(ut)}appendChild(ut,Xe){(z(ut)?ut.content:ut).appendChild(Xe)}insertBefore(ut,Xe,qe){ut&&(z(ut)?ut.content:ut).insertBefore(Xe,qe)}removeChild(ut,Xe){Xe.remove()}selectRootElement(ut,Xe){let qe="string"==typeof ut?this.doc.querySelector(ut):ut;if(!qe)throw new i.wOt(-5104,!1);return Xe||(qe.textContent=""),qe}parentNode(ut){return ut.parentNode}nextSibling(ut){return ut.nextSibling}setAttribute(ut,Xe,qe,Bt){if(Bt){Xe=Bt+":"+Xe;const St=P[Bt];St?ut.setAttributeNS(St,Xe,qe):ut.setAttribute(Xe,qe)}else ut.setAttribute(Xe,qe)}removeAttribute(ut,Xe,qe){if(qe){const Bt=P[qe];Bt?ut.removeAttributeNS(Bt,Xe):ut.removeAttribute(`${qe}:${Xe}`)}else ut.removeAttribute(Xe)}addClass(ut,Xe){ut.classList.add(Xe)}removeClass(ut,Xe){ut.classList.remove(Xe)}setStyle(ut,Xe,qe,Bt){Bt&(i.czy.DashCase|i.czy.Important)?ut.style.setProperty(Xe,qe,Bt&i.czy.Important?"important":""):ut.style[Xe]=qe}removeStyle(ut,Xe,qe){qe&i.czy.DashCase?ut.style.removeProperty(Xe):ut.style[Xe]=""}setProperty(ut,Xe,qe){null!=ut&&(ut[Xe]=qe)}setValue(ut,Xe){ut.nodeValue=Xe}listen(ut,Xe,qe){if("string"==typeof ut&&!(ut=(0,o.\u0275getDOM)().getGlobalEventTarget(this.doc,ut)))throw new Error(`Unsupported event target ${ut} for event ${Xe}`);return this.eventManager.addEventListener(ut,Xe,this.decoratePreventDefault(qe))}decoratePreventDefault(ut){return Xe=>{if("__ngUnwrap__"===Xe)return ut;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ut(Xe)):ut(Xe))&&Xe.preventDefault()}}}function z(Ct){return"TEMPLATE"===Ct.tagName&&void 0!==Ct.content}class W extends ${constructor(ut,Xe,qe,Bt,St,Rt,Lt,fn){super(ut,St,Rt,fn),this.sharedStylesHost=Xe,this.hostEl=qe,this.shadowRoot=qe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const cn=me(Bt.id,Bt.styles);for(const Kt of cn){const Ue=document.createElement("style");Lt&&Ue.setAttribute("nonce",Lt),Ue.textContent=Kt,this.shadowRoot.appendChild(Ue)}}nodeOrShadowRoot(ut){return ut===this.hostEl?this.shadowRoot:ut}appendChild(ut,Xe){return super.appendChild(this.nodeOrShadowRoot(ut),Xe)}insertBefore(ut,Xe,qe){return super.insertBefore(this.nodeOrShadowRoot(ut),Xe,qe)}removeChild(ut,Xe){return super.removeChild(null,Xe)}parentNode(ut){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ut)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class re extends ${constructor(ut,Xe,qe,Bt,St,Rt,Lt,fn){super(ut,St,Rt,Lt),this.sharedStylesHost=Xe,this.removeStylesOnCompDestroy=Bt,this.styles=fn?me(fn,qe.styles):qe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ee extends re{constructor(ut,Xe,qe,Bt,St,Rt,Lt,fn){const cn=Bt+"-"+qe.id;super(ut,Xe,qe,St,Rt,Lt,fn,cn),this.contentAttr=function ie(Ct){return T.replace(F,Ct)}(cn),this.hostAttr=function ve(Ct){return U.replace(F,Ct)}(cn)}applyToHost(ut){this.applyStyles(),this.setAttribute(ut,this.hostAttr,"")}createElement(ut,Xe){const qe=super.createElement(ut,Xe);return super.setAttribute(qe,this.contentAttr,""),qe}}let Se=(()=>{class Ct extends y{constructor(Xe){super(Xe)}supports(Xe){return!0}addEventListener(Xe,qe,Bt){return Xe.addEventListener(qe,Bt,!1),()=>this.removeEventListener(Xe,qe,Bt)}removeEventListener(Xe,qe,Bt){return Xe.removeEventListener(qe,Bt)}static{this.\u0275fac=function(qe){return new(qe||Ct)(i.KVO(o.DOCUMENT))}}static{this.\u0275prov=i.jDH({token:Ct,factory:Ct.\u0275fac})}}return Ct})();const J=["alt","control","meta","shift"],de={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ke={alt:Ct=>Ct.altKey,control:Ct=>Ct.ctrlKey,meta:Ct=>Ct.metaKey,shift:Ct=>Ct.shiftKey};let ge=(()=>{class Ct extends y{constructor(Xe){super(Xe)}supports(Xe){return null!=Ct.parseEventName(Xe)}addEventListener(Xe,qe,Bt){const St=Ct.parseEventName(qe),Rt=Ct.eventCallback(St.fullKey,Bt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.\u0275getDOM)().onAndCancel(Xe,St.domEventName,Rt))}static parseEventName(Xe){const qe=Xe.toLowerCase().split("."),Bt=qe.shift();if(0===qe.length||"keydown"!==Bt&&"keyup"!==Bt)return null;const St=Ct._normalizeKey(qe.pop());let Rt="",Lt=qe.indexOf("code");if(Lt>
1-1&&(qe.splice(Lt,1),Rt="code."),J.forEach(cn=>{const Kt=qe.indexOf(cn);Kt>-1&&(qe.splice(Kt,1),Rt+=cn+".")}),Rt+=St,0!=qe.length||0===St.length)return null;const fn={};return fn.domEventName=Bt,fn.fullKey=Rt,fn}static matchEventFullKeyCode(Xe,qe){let Bt=de[Xe.key]||Xe.key,St="";return qe.indexOf("code.")>-1&&(Bt=Xe.code,St="code."),!(null==Bt||!Bt)&&(Bt=Bt.toLowerCase()," "===Bt?Bt="space":"."===Bt&&(Bt="dot"),J.forEach(Rt=>{Rt!==Bt&&(0,ke[Rt])(Xe)&&(St+=Rt+".")}),St+=Bt,St===qe)}static eventCallback(Xe,qe,Bt){return St=>{Ct.matchEventFullKeyCode(St,Xe)&&Bt.runGuarded(()=>qe(St))}}static _normalizeKey(Xe){return"esc"===Xe?"escape":Xe}static{this.\u0275fac=function(qe){return new(qe||Ct)(i.KVO(o.DOCUMENT))}}static{this.\u0275prov=i.jDH({token:Ct,factory:Ct.\u0275fac})}}return Ct})();const ht=(0,i.oH4)(i.fpN,"browser",[{provide:i.Agw,useValue:o.\u0275PLATFORM_BROWSER_ID},{provide:i.PLl,useValue:function Oe(){v.makeCurrent()},multi:!0},{provide:o.DOCUMENT,useFactory:function Qe(){return(0,i.TL$)(document),document},deps:[]}]),mt=new i.nKC(""),Vt=[{provide:i.e01,useClass:class u{addToWindow(ut){i.JZv.getAngularTestability=(qe,Bt=!0)=>{const St=ut.findTestabilityInTree(qe,Bt);if(null==St)throw new i.wOt(5103,!1);return St},i.JZv.getAllAngularTestabilities=()=>ut.getAllTestabilities(),i.JZv.getAllAngularRootElements=()=>ut.getAllRootElements(),i.JZv.frameworkStabilizers||(i.JZv.frameworkStabilizers=[]),i.JZv.frameworkStabilizers.push(qe=>{const Bt=i.JZv.getAllAngularTestabilities();let St=Bt.length;const Rt=function(){St--,0==St&&qe()};Bt.forEach(Lt=>{Lt.whenStable(Rt)})})}findTestabilityInTree(ut,Xe,qe){return null==Xe?null:ut.getTestability(Xe)??
1(qe?(0,o.\u0275getDOM)().isShadowRoot(Xe)?this.findTestabilityInTree(ut,Xe.host,!0):this.findTestabilityInTree(ut,Xe.parentElement,!0):null)}},deps:[]},{provide:i.WHO,useClass:i.NYb,deps:[i.SKi,i.giA,i.e01]},{provide:i.NYb,useClass:i.NYb,deps:[i.SKi,i.giA,i.e01]}],Ot=[{provide:i.H8p,useValue:"root"},{provide:i.zcH,useFactory:function tt(){return new i.zcH},deps:[]},{provide:C,useClass:Se,multi:!0,deps:[o.DOCUMENT,i.SKi,i.Agw]},{provide:C,useClass:ge,multi:!0,deps:[o.DOCUMENT]},xe,S,l,{provide:i._9s,useExisting:xe},{provide:o.XhrFactory,useClass:E,deps:[]},[]];let Fe=(()=>{class Ct{constructor(Xe){}static withServerTransition(Xe){return{ngModule:Ct,providers:[{provide:i.sZ2,useValue:Xe.appId}]}}static{this.\u0275fac=function(qe){return new(qe||Ct)(i.KVO(mt,12))}}static{this.\u0275mod=i.$C({type:Ct})}static{this.\u0275inj=i.G2t({providers:[...Ot,...Vt],imports:[o.CommonModule,i.Hbi]})}}return Ct})(),Ye=(()=>{class Ct{constructor(Xe){this._doc=Xe,this._dom=(0,o.\u0275getDOM)()}addTag(Xe,qe=!1){return Xe?this._getOrCreateElement(Xe,qe):null}addTags(Xe,qe=!1){return Xe?Xe.reduce((Bt,St)=>(St&&Bt.push(this._getOrCreateElement(St,qe)),Bt),[]):[]}getTag(Xe){return Xe&&this._doc.querySelector(`meta[${Xe}]`)||null}getTags(Xe){if(!Xe)return[];const qe=this._doc.querySelectorAll(`meta[${Xe}]`);return qe?[].slice.call(qe):[]}updateTag(Xe,qe){if(!Xe)return null;qe=qe||this._parseSelector(Xe);const Bt=this.getTag(qe);return Bt?this._setMetaElementAttributes(Xe,Bt):this._getOrCreateElement(Xe,!0)}removeTag(Xe){this.removeTagElement(this.getTag(Xe))}removeTagElement(Xe){Xe&&this._dom.remove(Xe)}_getOrCreateElement(Xe,qe=!1){if(!qe){const Rt=this._parseSelector(Xe),Lt=this.getTags(Rt).filter(fn=>this._containsAttributes(Xe,fn))[0];if(void 0!==Lt)return Lt}const Bt=this._dom.createElement("meta");return this._setMetaElementAttributes(Xe,Bt),this._doc.getElementsByTagName("head")[0].appendChild(Bt),Bt}_setMetaElementAttributes(Xe,qe){return Object.keys(Xe).forEach(Bt=>qe.setAttribute(this._getMetaKeyMap(Bt),Xe[Bt])),qe}_parseSelector(Xe){const qe=Xe.name?"name":"property";return`${qe}="${Xe[qe]}"`}_containsAttributes(Xe,qe){return Object.keys(Xe).every(Bt=>qe.getAttribute(this._getMetaKeyMap(Bt))===Xe[Bt])}_getMetaKeyMap(Xe){return Re[Xe]||Xe}static{this.\u0275fac=function(qe){return new(qe||Ct)(i.KVO(o.DOCUMENT))}}static{this.\u0275prov=i.jDH({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}}return Ct})();const Re={httpEquiv:"http-equiv"};let De=(()=>{class Ct{constructor(Xe){this._doc=Xe}getTitle(){return this._doc.title}setTitle(Xe){this._doc.title=Xe||""}static{this.\u0275fac=function(qe){return new(qe||Ct)(i.KVO(o.DOCUMENT))}}static{this.\u0275prov=i.jDH({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}}return Ct})(),Mn=(()=>{class Ct{static{this.\u0275fac=function(qe){return new(qe||Ct)}}static{this.\u0275prov=i.jDH({token:Ct,factory:function(qe){let Bt=null;return Bt=qe?new(qe||Ct):i.KVO(An),Bt},providedIn:"root"})}}return Ct})(),An=(()=>{class Ct extends Mn{constructor(Xe){super(),this._doc=Xe}sanitize(Xe,qe){if(null==qe)return null;switch(Xe){case i.WPN.NONE:return qe;case i.WPN.HTML:return(0,i.ZF7)(qe,"HTML")?(0,i.rcV)(qe):(0,i.h9k)(this._doc,String(qe)).toString();case i.WPN.STYLE:return(0,i.ZF7)(qe,"Style")?(0,i.rcV)(qe):qe;case i.WPN.SCRIPT:if((0,i.ZF7)(qe,"Script"))return(0,i.rcV)(qe);throw new i.wOt(5200,!1);case i.WPN.URL:return(0,i.ZF7)(qe,"URL")?(0,i.rcV)(qe):(0,i.$MX)(String(qe));case i.WPN.RESOURCE_URL:if((0,i.ZF7)(qe,"ResourceURL"))return(0,i.rcV)(qe);throw new i.wOt(5201,!1);default:throw new i.wOt(5202,!1)}}bypassSecurityTrustHtml(Xe){return(0,i.Kcf)(Xe)}bypassSecurityTrustStyle(Xe){return(0,i.cWb)(Xe)}bypassSecurityTrustScript(Xe){return(0,i.UyX)(Xe)}bypassSecurityTrustUrl(Xe){return(0,i.osQ)(Xe)}bypassSecurityTrustResourceUrl(Xe){return(0,i.e5t)(Xe)}static{this.\u0275fac=function(qe){return new(qe||Ct)(i.KVO(o.DOCUMENT))}}static{this.\u0275prov=i.jDH({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}}return Ct})();var un=function(Ct){return Ct[Ct.NoHttpTransferCache=0]="NoHttpTransferCache",Ct[Ct.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",Ct[Ct.I18nSupport=2]="I18nSupport",Ct[Ct.EventReplay=3]="EventReplay",Ct}(un||{});function Xn(){return function wn(Ct,ut=[],Xe={}){return{\u0275kind:Ct,\u0275providers:ut}}(un.NoHttpTransferCache)}function Gt(...Ct){const ut=[],Xe=new Set,qe=Xe.has(un.HttpTransferCacheOptions);for(const{\u0275providers:Bt,\u0275kind:St}of Ct)Xe.add(St),Bt.length&&ut.push(Bt);return(0,i.EmA)([[],(0,i.M8M)(),Xe.has(un.NoHttpTransferCache)||qe?[]:(0,d.$m)({}),ut])}},2091:(he,M,r)=>{"use strict";r.d(M,{nX:()=>Cr,j5:()=>Bn,wF:()=>On,L6:()=>bi,Z:()=>Ln,gx:()=>Nn,Ix:()=>x,Wk:()=>Be,wQ:()=>Ze,iI:()=>fo,n3:()=>Ji,ld:()=>Mi});
1var o=r(54438),i=r(8982),d=r(84787),h=r(14421),v=r(79928),_=r(49714),m=r(29994),p=r(41639),u=r(29418),E=r(78167),C=r(74526),l=r(51235),y=r(14725),I=r(45286),S=r(74337),P=r(60177),F=r(95006),N=r(49090),U=r(19493),T=r(23176),L=r(58728),Z=r(18456),ie=r(84046),ve=r(43574),me=r(15539),xe=r(83921),$=r(70762);class oe{constructor(j,w,K=!1){this.accumulator=j,this.seed=w,this.hasSeed=K}call(j,w){return w.subscribe(new z(j,this.accumulator,this.seed,this.hasSeed))}}class z extends $.v{constructor(j,w,K,pe){super(j),this.accumulator=w,this._seed=K,this.hasSeed=pe,this.index=0}get seed(){return this._seed}set seed(j){this.hasSeed=!0,this._seed=j}_next(j){if(this.hasSeed)return this._tryNext(j);this.seed=j,this.destination.next(j)}_tryNext(j){const w=this.index++;let K;try{K=this.accumulator(this.seed,j,w)}catch(pe){this.destination.error(pe)}this.seed=K,this.destination.next(K)}}var W=r(97849),re=r(70434);function ee(R){return function(w){return 0===R?(0,l.I)():w.lift(new Se(R))}}class Se{constructor(j){if(this.total=j,this.total<0)throw new re.k}call(j,w){return w.subscribe(new J(j,this.total))}}class J extends $.v{constructor(j,w){super(j),this.total=w,this.ring=new Array,this.count=0}_next(j){const w=this.ring,K=this.total,pe=this.count++;w.length<K?w.push(j):w[pe%K]=j}_complete(){const j=this.destination;let w=this.count;if(w>0){const K=this.count>=this.total?this.total:this.count,pe=this.ring;for(let Le=0;Le<K;Le++){const Je=w++%K;j.next(pe[Je])}}j.complete()}}var de=r(63314),ke=r(55241);class Pe{constructor(j){this.value=j}call(j,w){return w.subscribe(new Me(j,this.value))}}class Me extends $.v{constructor(j,w){super(j),this.value=w}_next(j){this.destination.next(this.value)}}var We=r(77312),Oe=r(13110),tt=r(7605),Qe=r(56201),_t=r(345);const ht="primary",mt=Symbol("RouteTitle");class Vt{constructor(j){this.params=j||{}}has(j){return Object.prototype.hasOwnProperty.call(this.params,j)}get(j){if(this.has(j)){const w=this.params[j];return Array.isArray(w)?w[0]:w}return null}getAll(j){if(this.has(j)){const w=this.params[j];return Array.isArray(w)?w:[w]}return[]}get keys(){return Object.keys(this.params)}}function Ot(R){return new Vt(R)}function Fe(R,j,w){const K=w.path.split("/");if(K.length>R.length||"full"===w.pathMatch&&(j.hasChildren()||K.length<R.length))return null;const pe={};for(let Le=0;Le<K.length;Le++){const Je=K[Le],Ft=R[Le];if(":"===Je[0])pe[Je.substring(1)]=Ft;else if(Je!==Ft.path)return null}return{consumed:R.slice(0,K.length),posParams:pe}}function Re(R,j){const w=R?De(R):void 0,K=j?De(j):void 0;if(!w||!K||w.length!=K.length)return!1;let pe;for(let Le=0;Le<w.length;Le++)if(pe=w[Le],!He(R[pe],j[pe]))return!1;return!0}function De(R){return[...Object.keys(R),...Object.getOwnPropertySymbols(R)]}function He(R,j){if(Array.isArray(R)&&Array.isArray(j)){if(R.length!==j.length)return!1;const w=[...R].sort(),K=[...j].sort();return w.every((pe,Le)=>K[Le]===pe)}return R===j}function we(R){return R.length>0?R[R.length-1]:null}function Tt(R){return(0,i.A)(R)?R:(0,o.jNT)(R)?(0,d.H)(Promise.resolve(R)):(0,h.of)(R)}const ct={exact:function be(R,j,w){if(!un(R.segments,j.segments)||!Yt(R.segments,j.segments,w)||R.numberOfChildren!==j.numberOfChildren)return!1;for(const K in j.children)if(!R.children[K]||!be(R.children[K],j.children[K],w))return!1;return!0},subset:ft},tn={exact:function se(R,j){return Re(R,j)},subset:function je(R,j){return Object.keys(j).length<=Object.keys(R).length&&Object.keys(j).every(w=>He(R[w],j[w]))},ignored:()=>!0};function Ee(R,j,w){return ct[w.paths](R.root,j.root,w.matrixParams)&&tn[w.queryParams](R.queryParams,j.queryParams)&&!("exact"===w.fragment&&R.fragment!==j.fragment)}function ft(R,j,w){return kt(R,j,j.segments,w)}function kt(R,j,w,K){if(R.segments.length>w.length){const pe=R.segments.slice(0,w.length);return!(!un(pe,w)||j.hasChildren()||!Yt(pe,w,K))}if(R.segments.length===w.length){if(!un(R.segments,w)||!Yt(R.segments,w,K))return!1;for(const pe in j.children)if(!R.children[pe]||!ft(R.children[pe],j.children[pe],K))return!1;return!0}{const pe=w.slice(0,R.segments.length),Le=w.slice(R.segments.length);return!!(un(R.segments,pe)&&Yt(R.segments,pe,K)&&R.children[ht])&&kt(R.children[ht],j,Le,K)}}function Yt(R,j,w){return j.every((K,pe)=>tn[w](R[pe].parameters,K.parameters))}class yn{constructor(j=new ln([],{}),w={},K=null){this.root=j,this.queryParams=w,this.fragment=K}get queryParamMap(){return this._queryParamMap??=Ot(this.queryParams),this._queryParamMap}toString(){return Dt.serialize(this)}}class ln{constructor(j,w){this.segments=j,this.children=w,this.parent=null,Object.values(w).forEac
1h(K=>K.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ze(this)}}class Mn{constructor(j,w){this.path=j,this.parameters=w}get parameterMap(){return this._parameterMap??=Ot(this.parameters),this._parameterMap}toString(){return Bt(this)}}function un(R,j){return R.length===j.length&&R.every((w,K)=>w.path===j[K].path)}let Xn=(()=>{class R{static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275prov=o.jDH({token:R,factory:()=>new vt,providedIn:"root"})}}return R})();class vt{parse(j){const w=new rn(j);return new yn(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(j){const w=`/${on(j.root,!0)}`,K=function Rt(R){const j=Object.entries(R).map(([w,K])=>Array.isArray(K)?K.map(pe=>`${Qn(w)}=${Qn(pe)}`).join("&"):`${Qn(w)}=${Qn(K)}`).filter(w=>w);return j.length?`?${j.join("&")}`:""}(j.queryParams);return`${w}${K}${"string"==typeof j.fragment?`#${function Ct(R){return encodeURI(R)}(j.fragment)}`:""}`}}const Dt=new vt;function ze(R){return R.segments.map(j=>Bt(j)).join("/")}function on(R,j){if(!R.hasChildren())return ze(R);if(j){const w=R.children[ht]?on(R.children[ht],!1):"",K=[];return Object.entries(R.children).forEach(([pe,Le])=>{pe!==ht&&K.push(`${pe}:${on(Le,!1)}`)}),K.length>0?`${w}(${K.join("//")})`:w}{const w=function wn(R,j){let w=[];return Object.entries(R.children).forEach(([K,pe])=>{K===ht&&(w=w.concat(j(pe,K)))}),Object.entries(R.children).forEach(([K,pe])=>{K!==ht&&(w=w.concat(j(pe,K)))}),w}(R,(K,pe)=>pe===ht?[on(R.children[ht],!1)]:[`${pe}:${on(K,!1)}`]);return 1===Object.keys(R.children).length&&null!=R.children[ht]?`${ze(R)}/${w[0]}`:`${ze(R)}/(${w.join("//")})`}}function Gt(R){return encodeURIComponent(R).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qn(R){return Gt(R).replace(/%3B/gi,";")}function ut(R){return Gt(R).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Xe(R){return decodeURIComponent(R)}function qe(R){return Xe(R.replace(/\+/g,"%20"))}function Bt(R){return`${ut(R.path)}${function St(R){return Object.entries(R).map(([j,w])=>`;${ut(j)}=${ut(w)}`).join("")}(R.parameters)}`}const Lt=/^[^\/()?;#]+/;function fn(R){const j=R.match(Lt);return j?j[0]:""}const cn=/^[^\/()?;=#]+/,Ue=/^[^=?&#]+/,xt=/^[^&#]+/;class rn{constructor(j){this.url=j,this.remaining=j}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ln([],{}):new ln([],this.parseChildren())}parseQueryParams(){const j={};if(this.consumeOptional("?"))do{this.parseQueryParam(j)}while(this.consumeOptional("&"));return j}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const j=[];for(this.peekStartsWith("(")||j.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),j.push(this.parseSegment());let w={};this.peekStartsWith("/(")&&(this.capture("/"),w=this.parseParens(!0));let K={};return this.peekStartsWith("(")&&(K=this.parseParens(!1)),(j.length>0||Object.keys(w).length>0)&&(K[ht]=new ln(j,w)),K}parseSegment(){const j=fn(this.remaining);if(""===j&&this.peekStartsWith(";"))throw new o.wOt(4009,!1);return this.capture(j),new Mn(Xe(j),this.parseMatrixParams())}parseMatrixParams(){const j={};for(;this.consumeOptional(";");)this.parseParam(j);return j}parseParam(j){const w=function Kt(R){const j=R.match(cn);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let K="";if(this.consumeOptional("=")){const pe=fn(this.remaining);pe&&(K=pe,this.capture(K))}j[Xe(w)]=Xe(K)}parseQueryParam(j){const w=function at(R){const j=R.match(Ue);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let K="";if(this.consumeOptional("=")){const Je=function Zt(R){const j=R.match(xt);return j?j[0]:""}(this.remaining);Je&&(K=Je,this.capture(K))}const pe=qe(w),Le=qe(K);if(j.hasOwnProperty(pe)){let Je=j[pe];Array.isArray(Je)||(Je=[Je],j[pe]=Je),Je.push(Le)}else j[pe]=Le}parseParens(j){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const K=fn(this.remaining),pe=this.remaining[K.length];if("/"!==pe&&")"!==pe&&";"!==pe)throw new o.wOt(4010,!1);let Le;K.indexOf(":")>-1?(Le=K.slice(0,K.indexOf(":")),this.capture(Le),this.capture(":")):j&&(Le=ht);const Je=this.parseChildren();w[Le]=1===Object.keys(Je).length?Je[ht]:new ln([],Je),this.consumeOptional("//")}return w}peekStartsWith(j){return this.remaining.startsWith(j)}consumeOptional(j){return!!this.peekStartsWith(j)&&(this.remaining=this.remaining.substring(j.length),!0)}capture(j){if(!this.consumeOptional(j))throw new o.wOt(4011,!1)}}function dn(R){return R.segments.length>0?new ln([],{[ht]:R}):R}function sn(R){const j={};for(const[K,pe]of Object.entries(R.children)){const Le=sn(pe);if(K===ht&&0===Le.segments.length&&Le.hasChildren())for(const[Je,Ft]of Object.entries(Le.children))j[Je]=Ft;else(Le.segments.length>0||Le.hasChildren())&&(j[K]=Le)}
1return function ai(R){if(1===R.numberOfChildren&&R.children[ht]){const j=R.children[ht];return new ln(R.segments.concat(j.segments),j.children)}return R}(new ln(R.segments,j))}function _i(R){return R instanceof yn}function Pn(R){let j;const pe=dn(function w(Le){const Je={};for(const At of Le.children){const vn=w(At);Je[At.outlet]=vn}const Ft=new ln(Le.url,Je);return Le===R&&(j=Ft),Ft}(R.root));return j??pe}function ne(R,j,w,K){let pe=R;for(;pe.parent;)pe=pe.parent;if(0===j.length)return Te(pe,pe,pe,w,K);const Le=function Sn(R){if("string"==typeof R[0]&&1===R.length&&"/"===R[0])return new Pt(!0,0,R);let j=0,w=!1;const K=R.reduce((pe,Le,Je)=>{if("object"==typeof Le&&null!=Le){if(Le.outlets){const Ft={};return Object.entries(Le.outlets).forEach(([At,vn])=>{Ft[At]="string"==typeof vn?vn.split("/"):vn}),[...pe,{outlets:Ft}]}if(Le.segmentPath)return[...pe,Le.segmentPath]}return"string"!=typeof Le?[...pe,Le]:0===Je?(Le.split("/").forEach((Ft,At)=>{0==At&&"."===Ft||(0==At&&""===Ft?w=!0:".."===Ft?j++:""!=Ft&&pe.push(Ft))}),pe):[...pe,Le]},[]);return new Pt(w,j,K)}(j);if(Le.toRoot())return Te(pe,pe,new ln([],{}),w,K);const Je=function Ht(R,j,w){if(R.isAbsolute)return new Kn(j,!0,0);if(!w)return new Kn(j,!1,NaN);if(null===w.parent)return new Kn(w,!0,0);const K=H(R.commands[0])?0:1;return function Jn(R,j,w){let K=R,pe=j,Le=w;for(;Le>pe;){if(Le-=pe,K=K.parent,!K)throw new o.wOt(4005,!1);pe=K.segments.length}return new Kn(K,!1,pe-Le)}(w,w.segments.length-1+K,R.numberOfDoubleDots)}(Le,pe,R),Ft=Je.processChildren?qi(Je.segmentGroup,Je.index,Le.commands):ji(Je.segmentGroup,Je.index,Le.commands);return Te(pe,Je.segmentGroup,Ft,w,K)}function H(R){return"object"==typeof R&&null!=R&&!R.outlets&&!R.segmentPath}function Q(R){return"object"==typeof R&&null!=R&&R.outlets}function Te(R,j,w,K,pe){let Je,Le={};
1K&&Object.entries(K).forEach(([At,vn])=>{Le[At]=Array.isArray(vn)?vn.map(ii=>`${ii}`):`${vn}`}),Je=R===j?w:lt(R,j,w);const Ft=dn(sn(Je));return new yn(Ft,Le,pe)}function lt(R,j,w){const K={};return Object.entries(R.children).forEach(([pe,Le])=>{K[pe]=Le===j?w:lt(Le,j,w)}),new ln(R.segments,K)}class Pt{constructor(j,w,K){if(this.isAbsolute=j,this.numberOfDoubleDots=w,this.commands=K,j&&K.length>0&&H(K[0]))throw new o.wOt(4003,!1);const pe=K.find(Q);if(pe&&pe!==we(K))throw new o.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Kn{constructor(j,w,K){this.segmentGroup=j,this.processChildren=w,this.index=K}}function ji(R,j,w){if(R??=new ln([],{}),0===R.segments.length&&R.hasChildren())return qi(R,j,w);const K=function Fn(R,j,w){let K=0,pe=j;const Le={match:!1,pathIndex:0,commandIndex:0};for(;pe<R.segments.length;){if(K>=w.length)return Le;const Je=R.segments[pe],Ft=w[K];if(Q(Ft))break;const At=`${Ft}`,vn=K<w.length-1?w[K+1]:null;if(pe>0&&void 0===At)break;if(At&&vn&&"object"==typeof vn&&void 0===vn.outlets){if(!wt(At,vn,Je))return Le;K+=2}else{if(!wt(At,{},Je))return Le;K++}pe++}return{match:!0,pathIndex:pe,commandIndex:K}}(R,j,w),pe=w.slice(K.commandIndex);if(K.match&&K.pathIndex<R.segments.length){const Le=new ln(R.segments.slice(0,K.pathIndex),{});return Le.children[ht]=new ln(R.segments.slice(K.pathIndex),R.children),qi(Le,0,pe)}return K.match&&0===pe.length?new ln(R.segments,{}):K.match&&!R.hasChildren()?Ve(R,j,w):K.match?qi(R,0,pe):Ve(R,j,w)}function qi(R,j,w){if(0===w.length)return new ln(R.segments,{});{const K=function ci(R){return Q(R[0])?R[0].outlets:{[ht]:R}}(w),pe={};if(Object.keys(K).some(Le=>Le!==ht)&&R.children[ht]&&1===R.numberOfChildren&&0===R.children[ht].segments.length){const Le=qi(R.children[ht],j,w);return new ln(R.segments,Le.children)}
1return Object.entries(K).forEach(([Le,Je])=>{"string"==typeof Je&&(Je=[Je]),null!==Je&&(pe[Le]=ji(R.children[Le],j,Je))}),Object.entries(R.children).forEach(([Le,Je])=>{void 0===K[Le]&&(pe[Le]=Je)}),new ln(R.segments,pe)}}function Ve(R,j,w){const K=R.segments.slice(0,j);let pe=0;for(;pe<w.length;){const Le=w[pe];if(Q(Le)){const At=rt(Le.outlets);return new ln(K,At)}if(0===pe&&H(w[0])){K.push(new Mn(R.segments[j].path,nt(w[0]))),pe++;continue}const Je=Q(Le)?Le.outlets[ht]:`${Le}`,Ft=pe<w.length-1?w[pe+1]:null;Je&&Ft&&H(Ft)?(K.push(new Mn(Je,nt(Ft))),pe+=2):(K.push(new Mn(Je,{})),pe++)}return new ln(K,{})}function rt(R){const j={};return Object.entries(R).forEach(([w,K])=>{"string"==typeof K&&(K=[K]),null!==K&&(j[w]=Ve(new ln([],{}),0,K))}),j}function nt(R){const j={};return Object.entries(R).forEach(([w,K])=>j[w]=`${K}`),j}function wt(R,j,w){return R==w.path&&Re(j,w.parameters)}const Qt="imperative";var Nt=function(R){return R[R.NavigationStart=0]="NavigationStart",R[R.NavigationEnd=1]="NavigationEnd",R[R.NavigationCancel=2]="NavigationCancel",R[R.NavigationError=3]="NavigationError",R[R.RoutesRecognized=4]="RoutesRecognized",R[R.ResolveStart=5]="ResolveStart",R[R.ResolveEnd=6]="ResolveEnd",R[R.GuardsCheckStart=7]="GuardsCheckStart",R[R.GuardsCheckEnd=8]="GuardsCheckEnd",R[R.RouteConfigLoadStart=9]="RouteConfigLoadStart",R[R.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",R[R.ChildActivationStart=11]="ChildActivationStart",R[R.ChildActivationEnd=12]="ChildActivationEnd",R[R.ActivationStart=13]="ActivationStart",R[R.ActivationEnd=14]="ActivationEnd",R[R.Scroll=15]="Scroll",R[R.NavigationSkipped=16]="NavigationSkipped",R}(Nt||{});class an{constructor(j,w){this.id=j,this.url=w}}class Ln extends an{constructor(j,w,K="imperative",pe=null){super(j,w),this.type=Nt.NavigationStart,this.navigationTrigger=K,this.restoredState=pe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class On extends an{constructor(j,w,K){super(j,w),this.urlAfterRedirects=K,this.type=Nt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Zn=function(R){return R[R.Redirect=0]="Redirect",R[R.SupersededByNewNavigation=1]="SupersededByNewNavigation",R[R.NoDataFromResolver=2]="NoDataFromResolver",R[R.GuardRejected=3]="GuardRejected",R}(Zn||{}),li=function(R){return R[R.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",R[R.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",R}(li||{});class Bn extends an{constructor(j,w,K,pe){super(j,w),this.reason=K,this.code=pe,this.type=Nt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class vi extends an{constructor(j,w,K,pe){super(j,w),this.reason=K,this.code=pe,this.type=Nt.NavigationSkipped}}class bi extends an{constructor(j,w,K,pe){super(j,w),this.error=K,this.target=pe,this.type=Nt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Mi extends an{constructor(j,w,K,pe){super(j,w),this.urlAfterRedirects=K,this.state=pe,this.type=Nt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ri extends an{constructor(j,w,K,pe){super(j,w),this.urlAfterRedirects=K,this.state=pe,this.type=Nt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mi extends an{constructor(j,w,K,pe,Le){super(j,w),this.urlAfterRedirects=K,this.state=pe,this.shouldActivate=Le,this.type=Nt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Wi extends an{constructor(j,w,K,pe){super(j,w),this.urlAfterRedirects=K,this.state=pe,this.type=Nt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nn extends an{constructor(j,w,K,pe){super(j,w),this.urlAfterRedirects=K,this.state=pe,this.type=Nt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dn{constructor(j){this.route=j,this.type=Nt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ro{constructor(j){this.route=j,this.type=Nt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Jo{constructor(j){this.snapshot=j,this.type=Nt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}
1class Ur{constructor(j){this.snapshot=j,this.type=Nt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class er{constructor(j){this.snapshot=j,this.type=Nt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oo{constructor(j){this.snapshot=j,this.type=Nt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _o{constructor(j,w,K){this.routerEvent=j,this.position=w,this.anchor=K,this.type=Nt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class qn{}class mo{constructor(j,w){this.url=j,this.navigationBehaviorOptions=w}}function ur(R){return R.outlet||ht}function hi(R){if(!R)return null;if(R.routeConfig?._injector)return R.routeConfig._injector;for(let j=R.parent;j;j=j.parent){const w=j.routeConfig;if(w?._loadedInjector)return w._loadedInjector;if(w?._injector)return w._injector}return null}class Ni{get injector(){return hi(this.route?.snapshot)??this.rootInjector}set injector(j){}constructor(j){this.rootInjector=j,this.outlet=null,this.route=null,this.children=new dr(this.rootInjector),this.attachRef=null}}let dr=(()=>{class R{constructor(w){this.rootInjector=w,this.contexts=new Map}onChildOutletCreated(w,K){const pe=this.getOrCreateContext(w);pe.outlet=K,this.contexts.set(w,pe)}onChildOutletDestroyed(w){const K=this.getContext(w);K&&(K.outlet=null,K.attachRef=null)}onOutletDeactivated(){const w=this.contexts;return this.contexts=new Map,w}onOutletReAttached(w){this.contexts=w}getOrCreateContext(w){let K=this.getContext(w);return K||(K=new Ni(this.rootInjector),this.contexts.set(w,K)),K}getContext(w){return this.contexts.get(w)||null}static{this.\u0275fac=function(K){return new(K||R)(o.KVO(o.uvJ))}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})();class ps{constructor(j){this._root=j}get root(){return this._root.value}parent(j){const w=this.pathFromRoot(j);return w.length>1?w[w.length-2]:null}children(j){const w=Yi(j,this._root);return w?w.children.map(K=>K.value):[]}firstChild(j){const w=Yi(j,this._root);return w&&w.children.length>0?w.children[0].value:null}siblings(j){const w=es(j,this._root);return w.length<2?[]:w[w.length-2].children.map(pe=>pe.value).filter(pe=>pe!==j)}pathFromRoot(j){return es(j,this._root).map(w=>w.value)}}function Yi(R,j){if(R===j.value)return j;for(const w of j.children){const K=Yi(R,w);if(K)return K}return null}function es(R,j){if(R===j.value)return[j];for(const w of j.children){const K=es(R,w);if(K.length)return K.unshift(j),K}return[]}class xn{constructor(j,w){this.value=j,this.children=w}toString(){return`TreeNode(${this.value})`}}function Kr(R){const j={};return R&&R.children.forEach(w=>j[w.value.outlet]=w),j}class ts extends ps{constructor(j,w){super(j),this.snapshot=w,Mr(this,j)}toString(){return this.snapshot.toString()}}function xo(R){const j=function $i(R){const Le=new Po([],{},{},"",{},ht,R,null,{});return new Mo("",new xn(Le,[]))}(R),w=new v.t([new Mn("",{})]),K=new v.t({}),pe=new v.t({}),Le=new v.t({}),Je=new v.t(""),Ft=new Cr(w,K,Le,Je,pe,ht,R,j.root);return Ft.snapshot=j.root,new ts(new xn(Ft,[]),j)}class Cr{constructor(j,w,K,pe,Le,Je,Ft,At){this.urlSubject=j,this.paramsSubject=w,this.queryParamsSubject=K,this.fragmentSubject=pe,this.dataSubject=Le,this.outlet=Je,this.component=Ft,this._futureSnapshot=At,this.title=this.dataSubject?.pipe((0,F.T)(vn=>vn[mt]))??(0,h.of)(void 0),this.url=j,this.params=w,this.queryParams=K,this.fragment=pe,this.data=Le}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,F.T)(j=>Ot(j))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,F.T)(j=>Ot(j))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Hr(R,j,w="emptyOnly"){let K;const{routeConfig:pe}=R;return K=null===j||"always"!==w&&""!==pe?.path&&(j.component||j.routeC
1onfig?.loadComponent)?{params:{...R.params},data:{...R.data},resolve:{...R.data,...R._resolvedData??{}}}:{params:{...j.params,...R.params},data:{...j.data,...R.data},resolve:{...R.data,...j.data,...pe?.data,...R._resolvedData}},pe&&zr(pe)&&(K.resolve[mt]=pe.title),K}class Po{get title(){return this.data?.[mt]}constructor(j,w,K,pe,Le,Je,Ft,At,vn){this.url=j,this.params=w,this.queryParams=K,this.fragment=pe,this.data=Le,this.outlet=Je,this.component=Ft,this.routeConfig=At,this._resolve=vn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ot(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ot(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(K=>K.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Mo extends ps{constructor(j,w){super(w),this.url=j,Mr(this,w)}toString(){return ns(this._root)}}function Mr(R,j){j.value._routerState=R,j.children.forEach(w=>Mr(R,w))}function ns(R){const j=R.children.length>0?` { ${R.children.map(ns).join(", ")} } `:"";return`${R.value}${j}`}function is(R){if(R.snapshot){const j=R.snapshot,w=R._futureSnapshot;R.snapshot=w,Re(j.queryParams,w.queryParams)||R.queryParamsSubject.next(w.queryParams),j.fragment!==w.fragment&&R.fragmentSubject.next(w.fragment),Re(j.params,w.params)||R.paramsSubject.next(w.params),function Ye(R,j){if(R.length!==j.length)return!1;for(let w=0;w<R.length;++w)if(!Re(R[w],j[w]))return!1;return!0}(j.url,w.url)||R.urlSubject.next(w.url),Re(j.data,w.data)||R.dataSubject.next(w.data)}else R.snapshot=R._futureSnapshot,R.dataSubject.next(R._futureSnapshot.data)}function Rr(R,j){const w=Re(R.params,j.params)&&function An(R,j){return un(R,j)&&R.every((w,K)=>Re(w.parameters,j[K].parameters))}(R.url,j.url);return w&&!(!R.parent!=!j.parent)&&(!R.parent||Rr(R.parent,j.parent))}function zr(R){return"string"==typeof R.title||null===R.title}let Ji=(()=>{class R{constructor(){this.activated=null,this._activatedRoute=null,this.name=ht,this.activateEvents=new o.bkB,this.deactivateEvents=new o.bkB,this.attachEvents=new o.bkB,this.detachEvents=new o.bkB,this.parentContexts=(0,o.WQX)(dr),this.location=(0,o.WQX)(o.c1b),this.changeDetector=(0,o.WQX)(o.gRc),this.inputBinder=(0,o.WQX)(tr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(w){if(w.name){const{firstChange:K,previousValue:pe}=w.name;if(K)return;this.isTrackedInParentContexts(pe)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(pe)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(w){return this.parentContexts.getContext(w)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const w=this.parentContexts.getContext(this.name);w?.route&&(w.attachRef?this.attach(w.attachRef,w.route):this.activateWith(w.route,w.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.wOt(4012,!1);this.location.detach();const w=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(w.instance),w}attach(w,K){this.activated=w,this._activatedRoute=K,this.location.insert(w.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(w.instance)}deactivate(){if(this.activated){const w=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(w)}}activateWith(w,K){if(this.isActivated)throw new o.wOt(4013,!1);this._activatedRoute=w;const pe=this.location,Je=w.snapshot.component,Ft=this.parentContexts.getOrCreateContext(this.name).children,At=new nr(w,Ft,pe.injector);this.activated=pe.createComponent(Je,{index:pe.length,injector:At,environmentInjector:K}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275dir=o.FsC({type:R,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.OA$]})}}return R})();
1class nr{__ngOutletInjector(j){return new nr(this.route,this.childContexts,j)}constructor(j,w,K){this.route=j,this.childContexts=w,this.parent=K}get(j,w){return j===Cr?this.route:j===dr?this.childContexts:this.parent.get(j,w)}}const tr=new o.nKC("");let so=(()=>{class R{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(w){this.unsubscribeFromRouteData(w),this.subscribeToRouteData(w)}unsubscribeFromRouteData(w){this.outletDataSubscriptions.get(w)?.unsubscribe(),this.outletDataSubscriptions.delete(w)}subscribeToRouteData(w){const{activatedRoute:K}=w,pe=(0,_.zV)([K.queryParams,K.params,K.data]).pipe((0,N.n)(([Le,Je,Ft],At)=>(Ft={...Le,...Je,...Ft},0===At?(0,h.of)(Ft):Promise.resolve(Ft)))).subscribe(Le=>{if(!w.isActivated||!w.activatedComponentRef||w.activatedRoute!==K||null===K.component)return void this.unsubscribeFromRouteData(w);const Je=(0,o.HJs)(K.component);if(Je)for(const{templateName:Ft}of Je.inputs)w.activatedComponentRef.setInput(Ft,Le[Ft]);else this.unsubscribeFromRouteData(w)});this.outletDataSubscriptions.set(w,pe)}static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac})}}return R})();function Sr(R,j,w){if(w&&R.shouldReuseRoute(j.value,w.value.snapshot)){const K=w.value;K._futureSnapshot=j.value;const pe=function Ts(R,j,w){return j.children.map(K=>{for(const pe of w.children)if(R.shouldReuseRoute(K.value,pe.value.snapshot))return Sr(R,K,pe);return Sr(R,K)})}(R,j,w);return new xn(K,pe)}{if(R.shouldAttach(j.value)){const Le=R.retrieve(j.value);if(null!==Le){const Je=Le.route;return Je.value._futureSnapshot=j.value,Je.children=j.children.map(Ft=>Sr(R,Ft)),Je}}const K=function Nr(R){return new Cr(new v.t(R.url),new v.t(R.params),new v.t(R.queryParams),new v.t(R.fragment),new v.t(R.data),R.outlet,R.component,R)}(j.value),pe=j.children.map(Le=>Sr(R,Le));return new xn(K,pe)}}class ao{constructor(j,w){this.redirectTo=j,this.navigationBehaviorOptions=w}}const rr="ngNavigationCancelingError";function wi(R,j){const{redirectTo:w,navigationBehaviorOptions:K}=_i(j)?{redirectTo:j,navigationBehaviorOptions:void 0}:j,pe=Ar(!1,Zn.Redirect);return pe.url=w,pe.navigationBehaviorOptions=K,pe}function Ar(R,j){const w=new Error(`NavigationCancelingError: ${R||""}`);return w[rr]=!0,w.cancellationCode=j,w}function gs(R){return!!R&&R[rr]}class co{constructor(j,w,K,pe,Le){this.routeReuseStrategy=j,this.futureState=w,this.currState=K,this.forwardEvent=pe,this.inputBindingEnabled=Le}activate(j){const w=this.futureState._root,K=this.currState?this.currState._root:null;this.deactivateChildRoutes(w,K,j),is(this.futureState.root),this.activateChildRoutes(w,K,j)}deactivateChildRoutes(j,w,K){const pe=Kr(w);j.children.forEach(Le=>{const Je=Le.value.outlet;this.deactivateRoutes(Le,pe[Je],K),delete pe[Je]}),Object.values(pe).forEach(Le=>{this.deactivateRouteAndItsChildren(Le,K)})}deactivateRoutes(j,w,K){const pe=j.value,Le=w?w.value:null;if(pe===Le)if(pe.component){const Je=K.getContext(pe.outlet);Je&&this.deactivateChildRoutes(j,w,Je.children)}else this.deactivateChildRoutes(j,w,K);else Le&&this.deactivateRouteAndItsChildren(w,K)}deactivateRouteAndItsChildren(j,w){j.value.component&&this.routeReuseStrategy.shouldDetach(j.value.snapshot)?this.detachAndStoreRouteSubtree(j,w):this.deactivateRouteAndOutlet(j,w)}detachAndStoreRouteSubtree(j,w){const K=w.getContext(j.value.outlet),pe=K&&j.value.component?K.children:w,Le=Kr(j);for(const Je of Object.values(Le))this.deactivateRouteAndItsChildren(Je,pe);if(K&&K.outlet){const Je=K.outlet.detach(),Ft=K.children.onOutletDeactivated();this.routeReuseStrategy.store(j.value.snapshot,{componentRef:Je,route:j,contexts:Ft})}}deactivateRouteAndOutlet(j,w){const K=w.getContext(j.value.outlet),pe=K&&j.value.component?K.children:w,Le=Kr(j);for(const Je of Object.values(Le))this.deactivateRouteAndItsChildren(Je,pe);K&&(K.outlet&&(K.outlet.deactivate(),K.children.onOutletDeactivated()),K.attachRef=null,K.route=null)}activateChildRoutes(j,w,K){const pe=Kr(w);j.children.forEach(Le=>{this.activateRoutes(Le,pe[Le.value.outlet],K),this.forwardEvent(new oo(Le.value.snapshot))}
1),j.children.length&&this.forwardEvent(new Ur(j.value.snapshot))}activateRoutes(j,w,K){const pe=j.value,Le=w?w.value:null;if(is(pe),pe===Le)if(pe.component){const Je=K.getOrCreateContext(pe.outlet);this.activateChildRoutes(j,w,Je.children)}else this.activateChildRoutes(j,w,K);else if(pe.component){const Je=K.getOrCreateContext(pe.outlet);if(this.routeReuseStrategy.shouldAttach(pe.snapshot)){const Ft=this.routeReuseStrategy.retrieve(pe.snapshot);this.routeReuseStrategy.store(pe.snapshot,null),Je.children.onOutletReAttached(Ft.contexts),Je.attachRef=Ft.componentRef,Je.route=Ft.route.value,Je.outlet&&Je.outlet.attach(Ft.componentRef,Ft.route.value),is(Ft.route.value),this.activateChildRoutes(j,null,Je.children)}else Je.attachRef=null,Je.route=pe,Je.outlet&&Je.outlet.activateWith(pe,Je.injector),this.activateChildRoutes(j,null,Je.children)}else this.activateChildRoutes(j,null,K)}}class _s{constructor(j){this.path=j,this.route=this.path[this.path.length-1]}}class rs{constructor(j,w){this.component=j,this.route=w}}function os(R,j,w){const K=R._root;return _r(K,j?j._root:null,w,[K.value])}function wr(R,j){const w=Symbol(),K=j.get(R,w);return K===w?"function"!=typeof R||(0,o.LfX)(R)?j.get(R):R:K}function _r(R,j,w,K,pe={canDeactivateChecks:[],canActivateChecks:[]}){const Le=Kr(j);return R.children.forEach(Je=>{(function Ma(R,j,w,K,pe={canDeactivateChecks:[],canActivateChecks:[]}){const Le=R.value,Je=j?j.value:null,Ft=w?w.getContext(R.value.outlet):null;if(Je&&Le.routeConfig===Je.routeConfig){const At=function Os(R,j,w){if("function"==typeof w)return w(R,j);switch(w){case"pathParamsChange":return!un(R.url,j.url);case"pathParamsOrQueryParamsChange":return!un(R.url,j.url)||!Re(R.queryParams,j.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rr(R,j)||!Re(R.queryParams,j.queryParams);default:return!Rr(R,j)}}(Je,Le,Le.routeConfig.runGuardsAndResolvers);At?pe.canActivateChecks.push(new _s(K)):(Le.data=Je.data,Le._resolvedData=Je._resolvedData),_r(R,j,Le.component?Ft?Ft.children:null:w,K,pe),At&&Ft&&Ft.outlet&&Ft.outlet.isActivated&&pe.canDeactivateChecks.push(new rs(Ft.outlet.component,Je))}else Je&&Eo(j,Ft,pe),pe.canActivateChecks.push(new _s(K)),_r(R,null,Le.component?Ft?Ft.children:null:w,K,pe)})(Je,Le[Je.value.outlet],w,K.concat([Je.value]),pe),delete Le[Je.value.outlet]}),Object.entries(Le).forEach(([Je,Ft])=>Eo(Ft,w.getContext(Je),pe)),pe}function Eo(R,j,w){const K=Kr(R),pe=R.value;
1Object.entries(K).forEach(([Le,Je])=>{Eo(Je,pe.component?j?j.children.getContext(Le):null:j,w)}),w.canDeactivateChecks.push(new rs(pe.component&&j&&j.outlet&&j.outlet.isActivated?j.outlet.component:null,pe))}function Wo(R){return"function"==typeof R}function ce(R){return R instanceof m.G||"EmptyError"===R?.name}const G=Symbol("INITIAL_VALUE");function Ie(){return(0,N.n)(R=>(0,_.zV)(R.map(j=>j.pipe((0,U.s)(1),(0,T.Z)(G)))).pipe((0,F.T)(j=>{for(const w of j)if(!0!==w){if(w===G)return G;if(!1===w||st(w))return w}return!0}),(0,L.p)(j=>j!==G),(0,U.s)(1)))}function st(R){return _i(R)||R instanceof ao}function da(R){return(0,E.F)((0,me.M)(j=>{if("boolean"!=typeof j)throw wi(0,j)}),(0,F.T)(j=>!0===j))}class Ro{constructor(j){this.segmentGroup=j||null}}class wo extends Error{constructor(j){super(),this.urlTree=j}}function Co(R){return(0,C.$)(new Ro(R))}class mr{constructor(j,w){this.urlSerializer=j,this.urlTree=w}lineralizeSegments(j,w){let K=[],pe=w.root;for(;;){if(K=K.concat(pe.segments),0===pe.numberOfChildren)return(0,h.of)(K);if(pe.numberOfChildren>1||!pe.children[ht])return(0,C.$)(new o.wOt(4e3,!1));pe=pe.children[ht]}}applyRedirectCommands(j,w,K,pe,Le){if("string"!=typeof w){const Ft=w,{queryParams:At,fragment:vn,routeConfig:ii,url:pi,outlet:Fi,params:Bo,data:Er,title:kr}=pe,vs=(0,o.N4e)(Le,()=>Ft({params:Bo,data:Er,queryParams:At,fragment:vn,routeConfig:ii,url:pi,outlet:Fi,title:kr}));if(vs instanceof yn)throw new wo(vs);w=vs}const Je=this.applyRedirectCreateUrlTree(w,this.urlSerializer.parse(w),j,K);if("/"===w[0])throw new wo(Je);return Je}applyRedirectCreateUrlTree(j,w,K,pe){const Le=this.createSegmentGroup(j,w.root,K,pe);return new yn(Le,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(j,w){const K={};return Object.entries(j).forEach(([pe,Le])=>{if("string"==typeof Le&&":"===Le[0]){const Ft=Le.substring(1);K[pe]=w[Ft]}else K[pe]=Le}),K}createSegmentGroup(j,w,K,pe){const Le=this.createSegments(j,w.segments,K,pe);let Je={};return Object.entries(w.children).forEach(([Ft,At])=>{Je[Ft]=this.createSegmentGroup(j,At,K,pe)}),new ln(Le,Je)}createSegments(j,w,K,pe){return w.map(Le=>":"===Le.path[0]?this.findPosParam(j,Le,pe):this.findOrReturn(Le,K))}findPosParam(j,w,K){const pe=K[w.path.substring(1)];if(!pe)throw new o.wOt(4001,!1);return pe}findOrReturn(j,w){let K=0;for(const pe of w){if(pe.path===j.path)return w.splice(K),pe;K++}return j}}const bo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fr(R,j,w,K,pe){const Le=ha(R,j,w);return Le.matched?(K=function ir(R,j){return R.providers&&!R._injector&&(R._injector=(0,o.Ol2)(R.providers,j,`Route: ${R.path}`)),R._injector??j}(j,K),function $o(R,j,w,K){const pe=j.canMatch;if(!pe||0===pe.length)return(0,h.of)(!0);const Le=pe.map(Je=>{const Ft=wr(Je,R);return Tt(function le(R){return R&&Wo(R.canMatch)}(Ft)?Ft.canMatch(j,w):(0,o.N4e)(R,()=>Ft(j,w)))});return(0,h.of)(Le).pipe(Ie(),da())}(K,j,w).pipe((0,F.T)(Je=>!0===Je?Le:{...bo}))):(0,h.of)(Le)}function ha(R,j,w){if("**"===j.path)return function Ya(R){return{matched:!0,parameters:R.length>0?we(R).parameters:{},consumedSegments:R,remainingSegments:[],positionalParamSegments:{}}}(w);if(""===j.path)return"full"===j.pathMatch&&(R.hasChildren()||w.length>0)?{...bo}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const pe=(j.matcher||Fe)(w,R,j);if(!pe)return{...bo};const Le={};Object.entries(pe.posParams??{}).forEach(([Ft,At])=>{Le[Ft]=At.path});const Je=pe.consumed.length>0?{...Le,...pe.consumed[pe.consumed.length-1].parameters}:Le;return{matched:!0,consumedSegments:pe.consumed,remainingSegments:w.slice(pe.consumed.length),parameters:Je,positionalParamSegments:pe.posParams??{}}}function Go(R,j,w,K){return w.length>0&&function jt(R,j,w){return w.some(K=>Tn(R,j,K)&&ur(K)!==ht)}(R,w,K)?{segmentGroup:new ln(j,yt(K,new ln(w,R.children))),slicedSegments:[]}:0===w.length&&function Ut(R,j,w){return w.some(K=>Tn(R,j,K))}(R,w,K)?{segmentGroup:new ln(R.segments,qs(R,w,K,R.children)),slicedSegments:w}:{segmentGroup:new ln(R.segments,R.children),slicedSegments:w}}function qs(R,j,w,K){const pe={};for(const Le of w)if(Tn(R,j,Le)&&!K[ur(Le)]){const Je=new ln([],{});pe[ur(Le)]=Je}return{...K,...pe}}function yt(R,j){const w={};w[ht]=j;for(const K of R)if(""===K.path&&ur(K)!==ht){const pe=new ln([],{});w[ur(K)]=pe}return w}function Tn(R,j,w){return(!(R.hasChildren()||j.length>0)||"full"!==w.pathMatch)&&""===w.path}class Oi{}class Ra{constructor(j,w,K,pe,Le,Je,Ft){this.injector=j,this.configLoader=w,this.rootComponentType=K,this.config=pe,this.urlTree=Le,this.paramsInheritanceStrategy=Je,this.urlSerializer
1=Ft,this.applyRedirects=new mr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(j){return new o.wOt(4002,`'${j.segmentGroup}'`)}recognize(){const j=Go(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(j).pipe((0,F.T)(({children:w,rootSnapshot:K})=>{const pe=new xn(K,w),Le=new Mo("",pe),Je=function pn(R,j,w=null,K=null){return ne(Pn(R),j,w,K)}(K,[],this.urlTree.queryParams,this.urlTree.fragment);return Je.queryParams=this.urlTree.queryParams,Le.url=this.urlSerializer.serialize(Je),{state:Le,tree:Je}}))}match(j){const w=new Po([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),ht,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,j,ht,w).pipe((0,F.T)(K=>({children:K,rootSnapshot:w})),(0,xe.W)(K=>{if(K instanceof wo)return this.urlTree=K.urlTree,this.match(K.urlTree.root);throw K instanceof Ro?this.noMatchError(K):K}))}processSegmentGroup(j,w,K,pe,Le){return 0===K.segments.length&&K.hasChildren()?this.processChildren(j,w,K,Le):this.processSegment(j,w,K,K.segments,pe,!0,Le).pipe((0,F.T)(Je=>Je instanceof xn?[Je]:[]))}processChildren(j,w,K,pe){const Le=[];for(const Je of Object.keys(K.children))"primary"===Je?Le.unshift(Je):Le.push(Je);return(0,d.H)(Le).pipe((0,ve.H)(Je=>{const Ft=K.children[Je],At=function As(R,j){const w=R.filter(K=>ur(K)===j);return w.push(...R.filter(K=>ur(K)!==j)),w}(w,Je);return this.processSegmentGroup(j,At,Ft,Je,pe)}),function V(R,j){let w=!1;return arguments.length>=2&&(w=!0),function(pe){return pe.lift(new oe(R,j,w))}}((Je,Ft)=>(Je.push(...Ft),Je)),(0,W.U)(null),function ge(R,j){const w=arguments.length>=2;return K=>K.pipe(R?(0,L.p)((pe,Le)=>R(pe,Le,K)):ke.D,ee(1),w?(0,W.U)(j):(0,de.v)(()=>new m.G))}(),(0,Z.ZZ)(Je=>{if(null===Je)return Co(K);const Ft=Ps(Je);return function fa(R){R.sort((j,w)=>j.value.outlet===ht?-1:w.value.outlet===ht?1:j.value.outlet.localeCompare(w.value.outlet))}(Ft),(0,h.of)(Ft)}))}processSegment(j,w,K,pe,Le,Je,Ft){return(0,d.H)(w).pipe((0,ve.H)(At=>this.processSegmentAgainstRoute(At._injector??j,w,At,K,pe,Le,Je,Ft).pipe((0,xe.W)(vn=>{if(vn instanceof Ro)return(0,h.of)(null);throw vn}))),(0,ie.$)(At=>!!At),(0,xe.W)(At=>{if(ce(At))return function ti(R,j,w){return 0===j.length&&!R.children[w]}(K,pe,Le)?(0,h.of)(new Oi):Co(K);throw At}))}processSegmentAgainstRoute(j,w,K,pe,Le,Je,Ft,At){return ur(K)===Je||Je!==ht&&Tn(pe,Le,K)?void 0===K.redirectTo?this.matchSegmentAgainstRoute(j,pe,K,Le,Je,At):this.allowRedirects&&Ft?this.expandSegmentAgainstRouteUsingRedirect(j,pe,w,K,Le,Je,At):Co(pe):Co(pe)}expandSegmentAgainstRouteUsingRedirect(j,w,K,pe,Le,Je,Ft){const{matched:At,parameters:vn,consumedSegments:ii,positionalParamSegments:pi,remainingSegments:Fi}=ha(w,pe,Le);if(!At)return Co(w);"string"==typeof pe.redirectTo&&"/"===pe.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Bo=new Po(Le,vn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ta(pe),ur(pe),pe.component??pe._loadedComponent??null,pe,Ms(pe)),Er=Hr(Bo,Ft,this.paramsInheritanceStrategy);Bo.params=Object.freeze(Er.params),Bo.data=Object.freeze(Er.data);const kr=this.applyRedirects.applyRedirectCommands(ii,pe.redirectTo,pi,Bo,j);return this.applyRedirects.lineralizeSegments(pe,kr).pipe((0,Z.ZZ)(vs=>this.processSegment(j,K,w,vs.concat(Fi),Je,!1,Ft)))}matchSegmentAgainstRoute(j,w,K,pe,Le,Je){const Ft=Fr(w,K,pe,j);return"**"===K.path&&(w.children={}),Ft.pipe((0,N.n)(At=>At.matched?this.getChildConfig(j=K._injector??j,K,pe).pipe((0,N.n)(({routes:vn})=>{const ii=K._loadedInjector??j,{parameters:pi,consumedSegments:Fi,remainingSegments:Bo}=At,Er=new Po(Fi,pi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ta(K),ur(K),K.component??K._loadedComponent??null,K,Ms(K)),kr=Hr(Er,Je,this.paramsInheritanceStrategy);Er.params=Object.freeze(kr.params),Er.data=Object.freeze(kr.data);const{segmentGroup:vs,slicedSegments:Ba}=Go(w,Fi,Bo,vn);if(0===Ba.length&&vs.hasChildren())return this.processChildren(ii,vn,vs,Er).pipe((0,F.T)(ma=>new xn(Er,ma)));if(0===vn.length&&0===Ba.length)return(0,h.of)(new xn(Er,[]));const cl=ur(K)===Le;return this.processSegment(ii,vn,vs,Ba,cl?ht:Le,!0,Er).pipe((0,F.T)(ma=>new xn(Er,ma instanceof xn?[ma]:[])))})):Co(w)))}getChildConfig(j,w,K){return w.children?(0,h.of)({routes:w.children,injector:j}):w.loadChildren?void 0!==w._loadedRoutes?(0,h.of)({routes:w._loadedRoutes,injector:w._loadedInjector}):function Zs(R,j,w,K){const pe=j.canLoad;if(void 0===pe||0===pe.length)return(0,h.of)(!0);const Le=pe.map(Je=>{const Ft=wr(Je,R);return Tt(function Qs(R){return R&&Wo(R.canLoad)}(Ft)?Ft.canLoad(j,w):(0,o.N4e)(R,()=>Ft(j,w)))});return(0,h.of)(Le).pipe(Ie(),da())}(j,w,K).pipe((0,Z.ZZ)(pe=>pe?this.configLoader.loadChildren(j,w).pipe((0,me.M)(Le=>{w._loadedRoutes=Le.routes,w._loadedInjector=Le.injector})):function xi(){return(0,C.$)(Ar(!1,Zn.GuardRejected))}
1())):(0,h.of)({routes:[],injector:j})}}function Vr(R){const j=R.value.routeConfig;return j&&""===j.path}function Ps(R){const j=[],w=new Set;for(const K of R){if(!Vr(K)){j.push(K);continue}const pe=j.find(Le=>K.value.routeConfig===Le.value.routeConfig);void 0!==pe?(pe.children.push(...K.children),w.add(pe)):j.push(K)}for(const K of w){const pe=Ps(K.children);j.push(new xn(K.value,pe))}return j.filter(K=>!w.has(K))}function ta(R){return R.data||{}}function Ms(R){return R.resolve||{}}function pa(R){const j=R.children.map(w=>pa(w)).flat();return[R,...j]}function ia(R){return(0,N.n)(j=>{const w=R(j);return w?(0,d.H)(w).pipe((0,F.T)(()=>j)):(0,h.of)(j)})}let dc=(()=>{class R{buildTitle(w){let K,pe=w.root;for(;void 0!==pe;)K=this.getResolvedTitleForRoute(pe)??K,pe=pe.children.find(Le=>Le.outlet===ht);return K}getResolvedTitleForRoute(w){return w.data[mt]}static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275prov=o.jDH({token:R,factory:()=>(0,o.WQX)(ra),providedIn:"root"})}}return R})(),ra=(()=>{class R extends dc{constructor(w){super(),this.title=w}updateTitle(w){const K=this.buildTitle(w);void 0!==K&&this.title.setTitle(K)}static{this.\u0275fac=function(K){return new(K||R)(o.KVO(_t.hE))}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})();
1const hr=new o.nKC("",{providedIn:"root",factory:()=>({})});let Yr=(()=>{class R{static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275cmp=o.VBU({type:R,selectors:[["ng-component"]],standalone:!0,features:[o.aNF],decls:1,vars:0,template:function(K,pe){1&K&&o.nrm(0,"router-outlet")},dependencies:[Ji],encapsulation:2})}}return R})();function wa(R){const j=R.children&&R.children.map(wa),w=j?{...R,children:j}:{...R};return!w.component&&!w.loadComponent&&(j||w.loadChildren)&&w.outlet&&w.outlet!==ht&&(w.component=Yr),w}const cs=new o.nKC("");let Fa=(()=>{class R{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.WQX)(o.Ql9)}loadComponent(w){if(this.componentLoaders.get(w))return this.componentLoaders.get(w);if(w._loadedComponent)return(0,h.of)(w._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(w);const K=Tt(w.loadComponent()).pipe((0,F.T)(ws),(0,me.M)(Le=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=Le}),(0,We.j)(()=>{this.componentLoaders.delete(w)})),pe=new y.G(K,()=>new I.B7).pipe((0,Oe.B)());return this.componentLoaders.set(w,pe),pe}loadChildren(w,K){if(this.childrenLoaders.get(K))return this.childrenLoaders.get(K);if(K._loadedRoutes)return(0,h.of)({routes:K._loadedRoutes,injector:K._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(K);const Le=function Rs(R,j,w,K){return Tt(R.loadChildren()).pipe((0,F.T)(ws),(0,Z.ZZ)(pe=>pe instanceof o.Co$||Array.isArray(pe)?(0,h.of)(pe):(0,d.H)(j.compileModuleAsync(pe))),(0,F.T)(pe=>{K&&K(R);let Le,Je,Ft=!1;return Array.isArray(pe)?(Je=pe,!0):(Le=pe.create(w).injector,Je=Le.get(cs,[],{optional:!0,self:!0}).flat()),{routes:Je.map(wa),injector:Le}}))}(K,this.compiler,w,this.onLoadEndListener).pipe((0,We.j)(()=>{this.childrenLoaders.delete(K)})),Je=new y.G(Le,()=>new I.B7).pipe((0,Oe.B)());return this.childrenLoaders.set(K,Je),Je}static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})();function ws(R){return function Na(R){return R&&"object"==typeof R&&"default"in R}(R)?R.default:R}let Qr=(()=>{class R{static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275prov=o.jDH({token:R,factory:()=>(0,o.WQX)(ho),providedIn:"root"})}}return R})(),ho=(()=>{class R{shouldProcessUrl(w){return!0}extract(w){return w}merge(w,K){return w}static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})();const oa=new o.nKC(""),B=new o.nKC("");function Ce(R,j,w){const K=R.get(B),pe=R.get(P.DOCUMENT);return R.get(o.SKi).runOutsideAngular(()=>{if(!pe.startViewTransition||K.skipNextTransition)return K.skipNextTransition=!1,new Promise(vn=>setTimeout(vn));let Le;const Je=new Promise(vn=>{Le=vn}),Ft=pe.startViewTransition(()=>(Le(),function Y(R){return new Promise(j=>{(0,o.mal)({read:()=>setTimeout(j)},{injector:R})})}(R))),{onViewTransitionCreated:At}=K;return At&&(0,o.N4e)(R,()=>At({transition:Ft,from:j,to:w})),Je})}const ue=new o.nKC("");let Ke=(()=>{class R{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new I.B7,this.transitionAbortSubject=new I.B7,this.configLoader=(0,o.WQX)(Fa),this.environmentInjector=(0,o.WQX)(o.uvJ),this.urlSerializer=(0,o.WQX)(Xn),this.rootContexts=(0,o.WQX)(dr),this.location=(0,o.WQX)(P.Location),this.inputBindingEnabled=null!==(0,o.WQX)(tr,{optional:!0}),this.titleStrategy=(0,o.WQX)(dc),this.options=(0,o.WQX)(hr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,o.WQX)(Qr),this.createViewTransition=(0,o.WQX)(oa,{optional:!0}),this.navigationErrorHandler=(0,o.WQX)(ue,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,h.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=pe=>this.events.next(new ro(pe)),this.configLoader.onLoadStartListener=pe=>this.events.next(new Dn(pe))}complete(){this.transitions?.complete()}handleNavigationRequest(w){const K=++this.navigationId;this.transitions?.next({...this.transitions.value,...w,id:K})}setupNavigations(w,K,pe){return this.transitions=new v.t({id:0,currentUrlTree:K,currentRawUrl:K,extractedUrl:this.urlHandlingStrategy.extract(K),urlAfterRedirects:this.urlHandlingStrategy.extract(K),rawUrl:K,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Qt,restoredState:null,currentSnapshot:pe.snapshot,targetSnapshot:null,currentRouterState:pe,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,L.p)(Le=>0!==Le.id),(0,F.T)(Le=>({...Le,extractedUrl:this.urlHandlingStrategy.extract(Le.rawUrl)})),(0,N.n)(Le=>{let Je=!1,Ft=!1;return(0,h.of)(Le).pipe((0,N.n)(At=>{if(this.navigationId>Le.id)return this.cancelNavigationTransition(Le,"",Zn.SupersededByNewNavigation),l.w;this.currentTransition=Le,this.currentNavigation={id:At.id,initialUrl:At.rawUrl,extractedUrl:At.extractedUrl,targetBrowserUrl:"string"==typeof At.extras.browserUrl?this.urlSerializer.parse(At.extras.browserUrl):At.extras.browserUrl,trigger:At.source,extras:At.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const vn=!w.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!vn&&"reload"!==(At.extras.onSameUrlNavigation??w.onSameUrlNavigation)){const pi="";return this.events.next(new vi(At.id,this.urlSerializer.serialize(At.rawUrl),pi,li.IgnoredSameUrlNavigation)),At.resolve(!1),l.w}if(this.urlHandlingStrategy.shouldProcessUrl(At.rawUrl))return(0,h.of)(At).pipe((0,N.n)(pi=>{const Fi=this.transitions?.getValue();return this.events.next(new Ln(pi.id,this.urlSerializer.serialize(pi.extractedUrl),pi.source,pi.restoredState)),Fi!==this.transitions?.getValue()?l.w:Promise.resolve(pi)}),function as(R,j,w,K,pe,Le){return(0,Z.ZZ)(Je=>function Tr(R,j,w,K,pe,Le,Je="emptyOnly"){return new Ra(R,j,w,K,pe,Je,Le).recognize()}
1(R,j,w,K,Je.extractedUrl,pe,Le).pipe((0,F.T)(({state:Ft,tree:At})=>({...Je,targetSnapshot:Ft,urlAfterRedirects:At}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,w.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,me.M)(pi=>{Le.targetSnapshot=pi.targetSnapshot,Le.urlAfterRedirects=pi.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:pi.urlAfterRedirects};const Fi=new Mi(pi.id,this.urlSerializer.serialize(pi.extractedUrl),this.urlSerializer.serialize(pi.urlAfterRedirects),pi.targetSnapshot);this.events.next(Fi)}));if(vn&&this.urlHandlingStrategy.shouldProcessUrl(At.currentRawUrl)){const{id:pi,extractedUrl:Fi,source:Bo,restoredState:Er,extras:kr}=At,vs=new Ln(pi,this.urlSerializer.serialize(Fi),Bo,Er);this.events.next(vs);const Ba=xo(this.rootComponentType).snapshot;return this.currentTransition=Le={...At,targetSnapshot:Ba,urlAfterRedirects:Fi,extras:{...kr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Fi,(0,h.of)(Le)}{const pi="";return this.events.next(new vi(At.id,this.urlSerializer.serialize(At.extractedUrl),pi,li.IgnoredByUrlHandlingStrategy)),At.resolve(!1),l.w}}),(0,me.M)(At=>{const vn=new ri(At.id,this.urlSerializer.serialize(At.extractedUrl),this.urlSerializer.serialize(At.urlAfterRedirects),At.targetSnapshot);this.events.next(vn)}),(0,F.T)(At=>(this.currentTransition=Le={...At,guards:os(At.targetSnapshot,At.currentSnapshot,this.rootContexts)},Le)),function Rn(R,j){return(0,Z.ZZ)(w=>{const{targetSnapshot:K,currentSnapshot:pe,guards:{canActivateChecks:Le,canDeactivateChecks:Je}}=w;return 0===Je.length&&0===Le.length?(0,h.of)({...w,guardsResult:!0}):function oi(R,j,w,K){return(0,d.H)(R).pipe((0,Z.ZZ)(pe=>function xs(R,j,w,K,pe){const Le=j&&j.routeConfig?j.routeConfig.canDeactivate:null;if(!Le||0===Le.length)return(0,h.of)(!0);const Je=Le.map(Ft=>{const At=hi(j)??pe,vn=wr(Ft,At);return Tt(function yo(R){return R&&Wo(R.canDeactivate)}(vn)?vn.canDeactivate(R,j,w,K):(0,o.N4e)(At,()=>vn(R,j,w,K))).pipe((0,ie.$)())});return(0,h.of)(Je).pipe(Ie())}(pe.component,pe.route,w,j,K)),(0,ie.$)(pe=>!0!==pe,!0))}(Je,K,pe,R).pipe((0,Z.ZZ)(Ft=>Ft&&function ms(R){return"boolean"==typeof R}(Ft)?function lo(R,j,w,K){return(0,d.H)(j).pipe((0,ve.H)(pe=>(0,p.x)(function ss(R,j){return null!==R&&j&&j(new Jo(R)),(0,h.of)(!0)}(pe.route.parent,K),function Ds(R,j){return null!==R&&j&&j(new er(R)),(0,h.of)(!0)}(pe.route,K),function uo(R,j,w){const K=j[j.length-1],Le=j.slice(0,j.length-1).reverse().map(Je=>function vo(R){const j=R.routeConfig?R.routeConfig.canActivateChild:null;return j&&0!==j.length?{node:R,guards:j}:null}(Je)).filter(Je=>null!==Je).map(Je=>(0,u.v)(()=>{const Ft=Je.guards.map(At=>{const vn=hi(Je.node)??w,ii=wr(At,vn);return Tt(function Js(R){return R&&Wo(R.canActivateChild)}(ii)?ii.canActivateChild(K,R):(0,o.N4e)(vn,()=>ii(K,R))).pipe((0,ie.$)())});return(0,h.of)(Ft).pipe(Ie())}));return(0,h.of)(Le).pipe(Ie())}(R,pe.path,w),function Is(R,j,w){const K=j.routeConfig?j.routeConfig.canActivate:null;if(!K||0===K.length)return(0,h.of)(!0);const pe=K.map(Le=>(0,u.v)(()=>{const Je=hi(j)??w,Ft=wr(Le,Je);return Tt(function Br(R){return R&&Wo(R.canActivate)}(Ft)?Ft.canActivate(j,R):(0,o.N4e)(Je,()=>Ft(j,R))).pipe((0,ie.$)())}));
1return(0,h.of)(pe).pipe(Ie())}(R,pe.route,w))),(0,ie.$)(pe=>!0!==pe,!0))}(K,Le,R,j):(0,h.of)(Ft)),(0,F.T)(Ft=>({...w,guardsResult:Ft})))})}(this.environmentInjector,At=>this.events.next(At)),(0,me.M)(At=>{if(Le.guardsResult=At.guardsResult,At.guardsResult&&"boolean"!=typeof At.guardsResult)throw wi(0,At.guardsResult);const vn=new mi(At.id,this.urlSerializer.serialize(At.extractedUrl),this.urlSerializer.serialize(At.urlAfterRedirects),At.targetSnapshot,!!At.guardsResult);this.events.next(vn)}),(0,L.p)(At=>!!At.guardsResult||(this.cancelNavigationTransition(At,"",Zn.GuardRejected),!1)),ia(At=>{if(At.guards.canActivateChecks.length)return(0,h.of)(At).pipe((0,me.M)(vn=>{const ii=new Wi(vn.id,this.urlSerializer.serialize(vn.extractedUrl),this.urlSerializer.serialize(vn.urlAfterRedirects),vn.targetSnapshot);this.events.next(ii)}),(0,N.n)(vn=>{let ii=!1;return(0,h.of)(vn).pipe(function Bi(R,j){return(0,Z.ZZ)(w=>{const{targetSnapshot:K,guards:{canActivateChecks:pe}}=w;if(!pe.length)return(0,h.of)(w);const Le=new Set(pe.map(At=>At.route)),Je=new Set;for(const At of Le)if(!Je.has(At))for(const vn of pa(At))Je.add(vn);let Ft=0;return(0,d.H)(Je).pipe((0,ve.H)(At=>Le.has(At)?function ga(R,j,w,K){const pe=R.routeConfig,Le=R._resolve;return void 0!==pe?.title&&!zr(pe)&&(Le[mt]=pe.title),function Lr(R,j,w,K){const pe=De(R);if(0===pe.length)return(0,h.of)({});const Le={};return(0,d.H)(pe).pipe((0,Z.ZZ)(Je=>function na(R,j,w,K){const pe=hi(j)??K,Le=wr(R,pe);return Tt(Le.resolve?Le.resolve(j,w):(0,o.N4e)(pe,()=>Le(j,w)))}(R[Je],j,w,K).pipe((0,ie.$)(),(0,me.M)(Ft=>{if(Ft instanceof ao)throw wi(new vt,Ft);Le[Je]=Ft}))),ee(1),function ye(R){return j=>j.lift(new Pe(R))}(Le),(0,xe.W)(Je=>ce(Je)?l.w:(0,C.$)(Je)))}(Le,R,j,K).pipe((0,F.T)(Je=>(R._resolvedData=Je,R.data=Hr(R,R.parent,w).resolve,null)))}(At,K,R,j):(At.data=Hr(At,At.parent,R).resolve,(0,h.of)(void 0))),(0,me.M)(()=>Ft++),ee(1),(0,Z.ZZ)(At=>Ft===Je.size?(0,h.of)(w):l.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,me.M)({next:()=>ii=!0,complete:()=>{ii||this.cancelNavigationTransition(vn,"",Zn.NoDataFromResolver)}}))}),(0,me.M)(vn=>{const ii=new Nn(vn.id,this.urlSerializer.serialize(vn.extractedUrl),this.urlSerializer.serialize(vn.urlAfterRedirects),vn.targetSnapshot);this.events.next(ii)}))}),ia(At=>{const vn=ii=>{const pi=[];ii.routeConfig?.loadComponent&&!ii.routeConfig._loadedComponent&&pi.push(this.configLoader.loadComponent(ii.routeConfig).pipe((0,me.M)(Fi=>{ii.component=Fi}),(0,F.T)(()=>{})));for(const Fi of ii.children)pi.push(...vn(Fi));return pi};return(0,_.zV)(vn(At.targetSnapshot.root)).pipe((0,W.U)(null),(0,U.s)(1))}),ia(()=>this.afterPreactivation()),(0,N.n)(()=>{const{currentSnapshot:At,targetSnapshot:vn}=Le,ii=this.createViewTransition?.(this.environmentInjector,At.root,vn.root);return ii?(0,d.H)(ii).pipe((0,F.T)(()=>Le)):(0,h.of)(Le)}),(0,F.T)(At=>{const vn=function br(R,j,w){const K=Sr(R,j._root,w?w._root:void 0);return new ts(K,j)}(w.routeReuseStrategy,At.targetSnapshot,At.currentRouterState);return this.currentTransition=Le={...At,targetRouterState:vn},this.currentNavigation.targetRouterState=vn,Le}),(0,me.M)(()=>{this.events.next(new qn)}),((R,j,w,K)=>(0,F.T)(pe=>(new co(j,pe.targetRouterState,pe.currentRouterState,w,K).activate(R),pe)))(this.rootContexts,w.routeReuseStrategy,At=>this.events.next(At),this.inputBindingEnabled),(0,U.s)(1),(0,me.M)({next:At=>{Je=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new On(At.id,this.urlSerializer.serialize(At.extractedUrl),this.urlSerializer.serialize(At.urlAfterRedirects))),this.titleStrategy?.updateTitle(At.targetRouterState.snapshot),At.resolve(!0)},complete:()=>{Je=!0}}),(0,tt.Q)(this.transitionAbortSubject.pipe((0,me.M)(At=>{throw At}))),(0,We.j)(()=>{!Je&&!Ft&&this.cancelNavigationTransition(Le,"",Zn.SupersededByNewNavigation),this.currentTransition?.id===Le.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,xe.W)(At=>{if(Ft=!0,gs(At))this.events.next(new Bn(Le.id,this.urlSerializer.serialize(Le.extractedUrl),At.message,At.cancellationCode)),function Ys(R){return gs(R)&&_i(R.url)}(At)?this.events.next(new mo(At.url,At.navigationBehaviorOptions)):Le.resolve(!1);else{const vn=new bi(Le.id,this.urlSerializer.serialize(Le.extractedUrl),At,Le.targetSnapshot??void 0);try{const ii=(0,o.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(vn));if(ii instanceof ao){const{message:pi,cancellationCode:Fi}=wi(0,ii);this.events.next(new Bn(Le.id,this.urlSerializer.serialize(Le.extractedUrl),pi,Fi)),this.events.next(new mo(ii.redirectTo,ii.navigationBehaviorOptions))}else{this.events.next(vn);const pi=w.errorHandler(At);Le.resolve(!!pi)}}catch(ii){this.options.resolveNavigationPromiseOnError?Le.resolve(!1):Le.reject(ii)}}return l.w}))}))}cancelNavigationTransition(w,K,pe){const Le=new Bn(w.id,this.urlSerializer.serialize(w.extractedUrl),K,pe);this.events.next(Le),w.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const w=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),K=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return w.toString()!==K?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})();function It(R){return R!==Qt}let Wt=(()=>{class R{static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275prov=o.jDH({token:R,factory:()=>(0,o.WQX)(Ri),providedIn:"root"})}}return R})();class Cn{shouldDetach(j){return!1}store(j,w){}shouldAttach(j){return!1}retrieve(j){return null}
1shouldReuseRoute(j,w){return j.routeConfig===w.routeConfig}}let Ri=(()=>{class R extends Cn{static{this.\u0275fac=(()=>{let w;return function(pe){return(w||(w=o.xGo(R)))(pe||R)}})()}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})(),Gi=(()=>{class R{static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275prov=o.jDH({token:R,factory:()=>(0,o.WQX)(ni),providedIn:"root"})}}return R})(),ni=(()=>{class R extends Gi{constructor(){super(...arguments),this.location=(0,o.WQX)(P.Location),this.urlSerializer=(0,o.WQX)(Xn),this.options=(0,o.WQX)(hr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,o.WQX)(Qr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new yn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=xo(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(w){return this.location.subscribe(K=>{"popstate"===K.type&&w(K.url,K.state)})}handleRouterEvent(w,K){if(w instanceof Ln)this.stateMemento=this.createStateMemento();else if(w instanceof vi)this.rawUrlTree=K.initialUrl;else if(w instanceof Mi){if("eager"===this.urlUpdateStrategy&&!K.extras.skipLocationChange){const pe=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl);this.setBrowserUrl(K.targetBrowserUrl??pe,K)}}else w instanceof qn?(this.currentUrlTree=K.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl),this.routerState=K.targetRouterState,"deferred"===this.urlUpdateStrategy&&!K.extras.skipLocationChange&&this.setBrowserUrl(K.targetBrowserUrl??this.rawUrlTree,K)):w instanceof Bn&&(w.code===Zn.GuardRejected||w.code===Zn.NoDataFromResolver)?this.restoreHistory(K):w instanceof bi?this.restoreHistory(K,!0):w instanceof On&&(this.lastSuccessfulId=w.id,this.currentPageId=this.browserPageId)}setBrowserUrl(w,K){const pe=w instanceof yn?this.urlSerializer.serialize(w):w;if(this.location.isCurrentPathEqualTo(pe)||K.extras.replaceUrl){const Je={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId)};this.location.replaceState(pe,"",Je)}else{const Le={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId+1)};this.location.go(pe,"",Le)}}restoreHistory(w,K=!1){if("computed"===this.canceledNavigationResolution){const Le=this.currentPageId-this.browserPageId;0!==Le?this.location.historyGo(Le):this.currentUrlTree===w.finalUrl&&0===Le&&(this.resetState(w),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(K&&this.resetState(w),this.resetUrlToCurrentUrlTree())}resetState(w){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,w.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(w,K){return"computed"===this.canceledNavigationResolution?{navigationId:w,\u0275routerPageId:K}:{navigationId:w}}static{this.\u0275fac=(()=>{let w;return function(pe){return(w||(w=o.xGo(R)))(pe||R)}})()}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})();var kn=function(R){return R[R.COMPLETE=0]="COMPLETE",R[R.FAILED=1]="FAILED",R[R.REDIRECTING=2]="REDIRECTING",R}(kn||{});function Ki(R,j){R.events.pipe((0,L.p)(w=>w instanceof On||w instanceof Bn||w instanceof bi||w instanceof vi),(0,F.T)(w=>w instanceof On||w instanceof vi?kn.COMPLETE:w instanceof Bn&&(w.code===Zn.Redirect||w.code===Zn.SupersededByNewNavigation)?kn.REDIRECTING:kn.FAILED),(0,L.p)(w=>w!==kn.REDIRECTING),(0,U.s)(1)).subscribe(()=>{j()})}function $n(R){throw R}const ae={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},A={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let x=(()=>{class R{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,o.WQX)(o.H3F),this.stateManager=(0,o.WQX)(Gi),this.options=(0,o.WQX)(hr,{optional:!0})||{},this.pendingTasks=(0,o.WQX)(o.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,o.WQX)(Ke),this.urlSerializer
1=(0,o.WQX)(Xn),this.location=(0,o.WQX)(P.Location),this.urlHandlingStrategy=(0,o.WQX)(Qr),this._events=new I.B7,this.errorHandler=this.options.errorHandler||$n,this.navigated=!1,this.routeReuseStrategy=(0,o.WQX)(Wt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,o.WQX)(cs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,o.WQX)(tr,{optional:!0}),this.eventsSubscription=new S.y,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:w=>{this.console.warn(w)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const w=this.navigationTransitions.events.subscribe(K=>{try{const pe=this.navigationTransitions.currentTransition,Le=this.navigationTransitions.currentNavigation;if(null!==pe&&null!==Le)if(this.stateManager.handleRouterEvent(K,Le),K instanceof Bn&&K.code!==Zn.Redirect&&K.code!==Zn.SupersededByNewNavigation)this.navigated=!0;else if(K instanceof On)this.navigated=!0;else if(K instanceof mo){const Je=K.navigationBehaviorOptions,Ft=this.urlHandlingStrategy.merge(K.url,pe.currentRawUrl),At={browserUrl:pe.extras.browserUrl,info:pe.extras.info,skipLocationChange:pe.extras.skipLocationChange,replaceUrl:pe.extras.replaceUrl||"eager"===this.urlUpdateStrategy||It(pe.source),...Je};this.scheduleNavigation(Ft,Qt,null,At,{resolve:pe.resolve,reject:pe.reject,promise:pe.promise})}(function fe(R){return!(R instanceof qn||R instanceof mo)})(K)&&this._events.next(K)}catch(pe){this.navigationTransitions.transitionAbortSubject.next(pe)}});this.eventsSubscription.add(w)}resetRootComponentType(w){this.routerState.root.component=w,this.navigationTransitions.rootComponentType=w}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Qt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((w,K)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(w,"popstate",K)},0)})}navigateToSyncWithBrowser(w,K,pe){const Le={replaceUrl:!0},Je=pe?.navigationId?pe:null;if(pe){const At={...pe};delete At.navigationId,delete At.\u0275routerPageId,0!==Object.keys(At).length&&(Le.state=At)}const Ft=this.parseUrl(w);this.scheduleNavigation(Ft,K,Je,Le)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(w){this.config=w.map(wa),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(w,K={}){const{relativeTo:pe,queryParams:Le,fragment:Je,queryParamsHandling:Ft,preserveFragment:At}=K,vn=At?this.currentUrlTree.fragment:Je;let pi,ii=null;switch(Ft??this.options.defaultQueryParamsHandling){case"merge":ii={...this.currentUrlTree.queryParams,...Le};break;case"preserve":ii=this.currentUrlTree.queryParams;break;default:ii=Le||null}null!==ii&&(ii=this.removeEmptyProps(ii));try{pi=Pn(pe?pe.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof w[0]||"/"!==w[0][0])&&(w=[]),pi=this.currentUrlTree.root}return ne(pi,w,ii,vn??null)}navigateByUrl(w,K={skipLocationChange:!1}){const pe=_i(w)?w:this.parseUrl(w),Le=this.urlHandlingStrategy.merge(pe,this.rawUrlTree);return this.scheduleNavigation(Le,Qt,null,K)}navigate(w,K={skipLocationChange:!1}){return function X(R){for(let j=0;j<R.length;j++)if(null==R[j])throw new o.wOt(4008,!1)}(w),this.navigateByUrl(this.createUrlTree(w,K),K)}serializeUrl(w){return this.urlSerializer.serialize(w)}parseUrl(w){try{return this.urlSerializer.parse(w)}catch{return this.urlSerializer.parse("/")}}isActive(w,K){let pe;if(pe=!0===K?{...ae}:!1===K?{...A}:K,_i(w))return Ee(this.currentUrlTree,w,pe);const Le=this.parseUrl(w);return Ee(this.currentUrlTree,Le,pe)}removeEmptyProps(w){return Object.entries(w).reduce((K,[pe,Le])=>(null!=Le&&(K[pe]=Le),K),{})}scheduleNavigation(w,K,pe,Le,Je){if(this.disposed)return Promise.resolve(!1);let Ft,At,vn;Je?(Ft=Je.resolve,At=Je.reject,vn=Je.promise):vn=new Promise((pi,Fi)=>{Ft=pi,At=Fi});const ii=this.pendingTasks.add();return Ki(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ii))}),this.navigationTransitions.handleNavigationRequest({source:K,restoredState:pe,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:w,extras:Le,resolve:Ft,reject:At,promise:vn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),vn.catch(pi=>Promise.reject(pi))}static{this.\u0275fac=function(K){return new(K||R)}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})(),Be=(()=>{class R{constructor(w,K,pe,Le,Je,Ft){this.router=w,this.route=K,this.tabIndexAttribute=pe,this.renderer=Le,this.el=Je,this.locationStrategy=Ft,this.href=null,this.onChanges=new I.B7,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const At=Je.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===At||"area"===At,this.isAnchorElement?this.subscription=w.events.subscribe(vn=>{vn instanceof On&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(w){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",w)}ngOnChanges(w){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(w){null==w?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=_i(w)||Array.isArray(w)?w:[w],this.setTabIndexIfNotOnNativeEl("0"))}onClick(w,K,pe,Le,Je){const Ft=this.urlTree;return!!(null===Ft||this.isAnchorElement&&(0!==w||K||pe||Le||Je||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ft,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const w=this.urlTree;this.href=null!==w&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(w)):null;const K=null===this.href?null:(0,o.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",K)}applyAttributeValue(w,K){const pe=this.renderer,Le=this.el.nativeElement;null!==K?pe.setAttribute(Le,w,K):pe.removeAttribute(Le,w)}get urlTree(){return null===this.routerLinkInput?null:_i(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(K){return new(K||R)(o.rXU(x),o.rXU(Cr),o.kS0("tabindex"),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(P.LocationStrategy))}}static{this.\u0275dir=o.FsC({type:R,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(K,pe){1&
1K&&o.bIt("click",function(Je){return pe.onClick(Je.button,Je.ctrlKey,Je.shiftKey,Je.altKey,Je.metaKey)}),2&K&&o.BMQ("target",pe.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",o.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",o.L39],replaceUrl:[2,"replaceUrl","replaceUrl",o.L39],routerLink:"routerLink"},standalone:!0,features:[o.GFd,o.OA$]})}}return R})(),Ze=(()=>{class R{get isActive(){return this._isActive}constructor(w,K,pe,Le,Je){this.router=w,this.element=K,this.renderer=pe,this.cdr=Le,this.link=Je,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.bkB,this.routerEventsSubscription=w.events.subscribe(Ft=>{Ft instanceof On&&this.update()})}ngAfterContentInit(){(0,h.of)(this.links.changes,(0,h.of)(null)).pipe((0,Qe.U)()).subscribe(w=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const w=[...this.links.toArray(),this.link].filter(K=>!!K).map(K=>K.onChanges);this.linkInputChangesSubscription=(0,d.H)(w).pipe((0,Qe.U)()).subscribe(K=>{this._isActive!==this.isLinkActive(this.router)(K)&&this.update()})}set routerLinkActive(w){const K=Array.isArray(w)?w:w.split(" ");this.classes=K.filter(pe=>!!pe)}ngOnChanges(w){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const w=this.hasActiveLinks();this.classes.forEach(K=>{w?this.renderer.addClass(this.element.nativeElement,K):this.renderer.removeClass(this.element.nativeElement,K)}),w&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==w&&(this._isActive=w,this.cdr.markForCheck(),this.isActiveChange.emit(w))})}isLinkActive(w){const K=function et(R){return!!R.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return pe=>{const Le=pe.urlTree;return!!Le&&w.isActive(Le,K)}}hasActiveLinks(){const w=this.isLinkActive(this.router);return this.link&&w(this.link)||this.links.some(w)}static{this.\u0275fac=function(K){return new(K||R)(o.rXU(x),o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(o.gRc),o.rXU(Be,8))}}static{this.\u0275dir=o.FsC({type:R,selectors:[["","routerLinkActive",""]],contentQueries:function(K,pe,Le){if(1&K&&o.wni(Le,Be,5),2&K){let Je;o.mGM(Je=o.lsd())&&(pe.links=Je)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.OA$]})}}return R})();class Et{}let mn=(()=>{class R{constructor(w,K,pe,Le,Je){this.router=w,this.injector=pe,this.preloadingStrategy=Le,this.loader=Je}setUpPreloading(){this.subscription=this.router.events.pipe((0,L.p)(w=>w instanceof On),(0,ve.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(w,K){const pe=[];for(const Le of K){Le.providers&&!Le._injector&&(Le._injector=(0,o.Ol2)(Le.providers,w,`Route: ${Le.path}`));const Je=Le._injector??w,Ft=Le._loadedInjector??Je;(Le.loadChildren&&!Le._loadedRoutes&&void 0===Le.canLoad||Le.loadComponent&&!Le._loadedComponent)&&pe.push(this.preloadConfig(Je,Le)),(Le.children||Le._loadedRoutes)&&pe.push(this.processRoutes(Ft,Le.children??Le._loadedRoutes))}return(0,d.H)(pe).pipe((0,Qe.U)())}preloadConfig(w,K){return this.preloadingStrategy.preload(K,()=>{let pe;pe=K.loadChildren&&void 0===K.canLoad?this.loader.loadChildren(w,K):(0,h.of)(null);const Le=pe.pipe((0,Z.ZZ)(Je=>null===Je?(0,h.of)(void 0):(K._loadedRoutes=Je.routes,K._loadedInjector=Je.injector,this.processRoutes(Je.injector??w,Je.routes))));if(K.loadComponent&&!K._loadedComponent){const Je=this.loader.loadComponent(K);return(0,d.H)([Le,Je]).pipe((0,Qe.U)())}return Le})}static{this.\u0275fac=function(K){return new(K||R)(o.KVO(x),o.KVO(o.Ql9),o.KVO(o.uvJ),o.KVO(Et),o.KVO(Fa))}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})();const fi=new o.nKC("");let Hn=(()=>{class R{constructor(w,K,pe,Le,Je={}
1){this.urlSerializer=w,this.transitions=K,this.viewportScroller=pe,this.zone=Le,this.options=Je,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Je.scrollPositionRestoration||="disabled",Je.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(w=>{w instanceof Ln?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=w.navigationTrigger,this.restoredId=w.restoredState?w.restoredState.navigationId:0):w instanceof On?(this.lastId=w.id,this.scheduleScrollEvent(w,this.urlSerializer.parse(w.urlAfterRedirects).fragment)):w instanceof vi&&w.code===li.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(w,this.urlSerializer.parse(w.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(w=>{w instanceof _o&&(w.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(w.position):w.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(w.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(w,K){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new _o(w,"popstate"===this.lastSource?this.store[this.restoredId]:null,K))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(K){o.QTQ()}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac})}}return R})();function ui(R,j){return{\u0275kind:R,\u0275providers:j}}function fr(){const R=(0,o.WQX)(o.zZn);return j=>{const w=R.get(o.o8S);if(j!==w.components[0])return;const K=R.get(x),pe=R.get(Vn);1===R.get(bn)&&K.initialNavigation(),R.get(_a,null,o.$GK.Optional)?.setUpPreloading(),R.get(fi,null,o.$GK.Optional)?.init(),K.resetRootComponentType(w.componentTypes[0]),pe.closed||(pe.next(),pe.complete(),pe.unsubscribe())}}const Vn=new o.nKC("",{factory:()=>new I.B7}),bn=new o.nKC("",{providedIn:"root",factory:()=>1}),_a=new o.nKC("");function Fo(R){return ui(0,[{provide:_a,useExisting:mn},{provide:Et,useExisting:R}])}function Wn(R){return ui(9,[{provide:oa,useValue:Ce},{provide:B,useValue:{skipNextTransition:!!R?.skipInitialTransition,...R}}])}const Si=new o.nKC("ROUTER_FORROOT_GUARD"),zi=[P.Location,{provide:Xn,useClass:vt},x,dr,{provide:Cr,useFactory:function Un(R){return R.routerState.root},deps:[x]},Fa,[]];let fo=(()=>{class R{constructor(w){}static forRoot(w,K){return{ngModule:R,providers:[zi,[],{provide:cs,multi:!0,useValue:w},{provide:Si,useFactory:hc,deps:[[x,new o.Xx1,new o.kdw]]},{provide:hr,useValue:K||{}},K?.useHash?{provide:P.LocationStrategy,useClass:P.HashLocationStrategy}:{provide:P.LocationStrategy,useClass:P.PathLocationStrategy},{provide:fi,useFactory:()=>{const R=(0,o.WQX)(P.ViewportScroller),j=(0,o.WQX)(o.SKi),w=(0,o.WQX)(hr),K=(0,o.WQX)(Ke),pe=(0,o.WQX)(Xn);return w.scrollOffset&&R.setOffset(w.scrollOffset),new Hn(pe,K,R,j,w)}},K?.preloadingStrategy?Fo(K.preloadingStrategy).\u0275providers:[],K?.initialNavigation?al(K):[],K?.bindToComponentInputs?ui(8,[so,{provide:tr,useExisting:so}]).\u0275providers:[],K?.enableViewTransitions?Wn().\u0275providers:[],[{provide:Dr,useFactory:fr},{provide:o.iLQ,multi:!0,useExisting:Dr}]]}}static forChild(w){return{ngModule:R,providers:[{provide:cs,multi:!0,useValue:w}]}}static{this.\u0275fac=function(K){return new(K||R)(o.KVO(Si,8))}}static{this.\u0275mod=o.$C({type:R})}static{this.\u0275inj=o.G2t({})}}return R})();function hc(R){return"guarded"}function al(R){return["disabled"===R.initialNavigation?ui(3,[{provide:o.hnV,multi:!0,useFactory:()=>{const j=(0,o.WQX)(x);return()=>{j.setUpLocationChangeListener()}}},{provide:bn,useValue:2}]).\u0275providers:[],"enabledBlocking"===R.initialNavigation?ui(2,[{provide:bn,useValue:0},{provide:o.hnV,multi:!0,deps:[o.zZn],useFactory:j=>{const w=j.get(P.LOCATION_INITIALIZED,Promise.resolve());return()=>w.then(()=>new Promise(K=>{const pe=j.get(x),Le=j.get(Vn);Ki(pe,()=>{K(!0)}),j.get(Ke).afterPreactivation=()=>(K(!0),Le.closed?(0,h.of)(void 0):Le),pe.initialNavigation()}))}}]).\u0275providers:[]]}const Dr=new o.nKC("")},73955:(he,M,r)=>{"use strict";r.d(M,{D9:()=>W,c$:()=>oe,h:()=>re});var o=r(54438),i=r(14421),d=r(8982),h=r(90696),v=r(41639),_=r(29418),m=r(19493),p=r(68712),u=r(95006),E=r(43574),C=r(49090);class l{}let y=(()=>{class ee extends l{getTranslation(J){return(0,i.of)({})}static \u0275fac=(()=>{let J;return function(ke){return(J||(J=o.xGo(ee)))(ke||ee)}})();static \u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}return ee})();class I{}let S=(()=>{class ee{handle(J){return J.key}static \u0275fac=function(de){return new(de||ee)};static \u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}return ee})();function P(ee,Se){if(ee===Se)return!0;
1if(null===ee||null===Se)return!1;if(ee!=ee&&Se!=Se)return!0;let ke,ge,ye,J=typeof ee;if(J==typeof Se&&"object"==J){if(!Array.isArray(ee)){if(Array.isArray(Se))return!1;for(ge in ye=Object.create(null),ee){if(!P(ee[ge],Se[ge]))return!1;ye[ge]=!0}for(ge in Se)if(!(ge in ye)&&typeof Se[ge]<"u")return!1;return!0}if(!Array.isArray(Se))return!1;if((ke=ee.length)==Se.length){for(ge=0;ge<ke;ge++)if(!P(ee[ge],Se[ge]))return!1;return!0}}return!1}function F(ee){return typeof ee<"u"&&null!==ee}function N(ee){return ee&&"object"==typeof ee&&!Array.isArray(ee)}function U(ee,Se){let J=Object.assign({},ee);return N(ee)&&N(Se)&&Object.keys(Se).forEach(de=>{N(Se[de])?de in ee?J[de]=U(ee[de],Se[de]):Object.assign(J,{[de]:Se[de]}):Object.assign(J,{[de]:Se[de]})}),J}class T{}let L=(()=>{class ee extends T{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(J,de){let ke;return ke="string"==typeof J?this.interpolateString(J,de):"function"==typeof J?this.interpolateFunction(J,de):J,ke}getValue(J,de){let ke="string"==typeof de?de.split("."):[de];de="";do{de+=ke.shift(),!F(J)||!F(J[de])||"object"!=typeof J[de]&&ke.length?ke.length?de+=".":J=void 0:(J=J[de],de="")}while(ke.length);return J}interpolateFunction(J,de){return J(de)}interpolateString(J,de){return de?J.replace(this.templateMatcher,(ke,ge)=>{let ye=this.getValue(de,ge);return F(ye)?ye:ke}):J}static \u0275fac=(()=>{let J;return function(ke){return(J||(J=o.xGo(ee)))(ke||ee)}})();static \u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}return ee})();class Z{}let ie=(()=>{class ee extends Z{compile(J,de){return J}compileTranslations(J,de){return J}static \u0275fac=(()=>{let J;return function(ke){return(J||(J=o.xGo(ee)))(ke||ee)}})();static \u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}return ee})();class ve{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new o.bkB;onLangChange=new o.bkB;onDefaultLangChange=new o.bkB}const me=new o.nKC("USE_STORE"),xe=new o.nKC("USE_DEFAULT_LANG"),$=new o.nKC("DEFAULT_LANGUAGE"),V=new o.nKC("USE_EXTEND");let oe=(()=>{class ee{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new o.bkB;_onLangChange=new o.bkB;_onDefaultLangChange=new o.bkB;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(J){this.isolate?this._defaultLang=J:this.store.defaultLang=J}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(J){this.isolate?this._currentLang=J:this.store.currentLang=J}get langs(){return this.isolate?this._langs:this.store.langs}set langs(J){this.isolate?this._langs=J:this.store.langs=J}get translations(){return this.isolate?this._translations:this.store.translations}set translations(J){this.isolate?this._translations=J:this.store.translations=J}constructor(J,de,ke,ge,ye,Pe=!0,Me=!1,We=!1,Oe){this.store=J,this.currentLoader=de,this.compiler=ke,this.parser=ge,this.missingTranslationHandler=ye,this.useDefaultLang=Pe,this.isolate=Me,this.extend=We,Oe&&this.setDefaultLang(Oe)}setDefaultLang(J){if(J===this.defaultLang)return;let de=this.retrieveTranslations(J);typeof de<"u"?(null==this.defaultLang&&(this.defaultLang=J),de.pipe((0,m.s)(1)).subscribe(ke=>{this.changeDefaultLang(J)})):this.changeDefaultLang(J)}getDefaultLang(){return this.defaultLang}use(J){if(J===this.currentLang)return(0,i.of)(this.translations[J]);let de=this.retrieveTranslations(J);return typeof de<"u"?(this.currentLang||(this.currentLang=J),de.pipe((0,m.s)(1)).subscribe(ke=>{this.changeLang(J)}),de):(this.changeLang(J),(0,i.of)(this.translations[J]))}retrieveTranslations(J){let de;return(typeof this.translations[J]>"u"||this.extend)&&(this._translationRequests[J]=this._translationRequests[J]||this.getTranslation(J),de=this._translationRequests[J]),de}getTranslation(J){this.pending=!0;const de=this.currentLoader.getTranslation(J).pipe((0,p.t)(1),(0,m.s)(1));return this.loadingTranslations=de.pipe((0,u.T)(ke=>this.compiler.compileTranslations(ke,J)),(0,p.t)(1),(0,m.s)(1)),this.loadingTranslations.subscribe({next:ke=>{this.translations[J]=this.extend&&this.translations[J]?{...ke,...this.translations[J]}:ke,this.updateLangs(),this.pending=!1},error:ke=>{this.pending=!1}}),de}setTranslation(J,de,ke=!1){de=this.compiler.compileTranslations(de,J),this.translations[J]=(ke||this.extend)&&this.translations[J]?U(this.translations[J],de):de,this.updateLangs(),this.onTranslationChange.emit({lang:J,translations:this.translations[J]})}getLangs(){return this.langs}addLangs(J){J.forEach(de=>{-1===this.langs.indexOf(de)&&this.langs.push(de)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(J,de,ke){let ge;if(de instanceof Array){let ye={},Pe=!1;for(let Me of de)ye[Me]=this.getParsedResult(J,Me,ke),(0,d.A)(ye[Me])&&(Pe=!0);if(Pe){const Me=de.map(We=>(0,d.A)(ye[We])?ye[We]:(0,i.of)(ye[We]));return(0,h.p)(Me).pipe((0,u.T)(We=>{let Oe={};return We.forEach((tt,Qe)=>{Oe[de[Qe]]=tt}),Oe}))}return ye}if(J&&(ge=this.parser.interpolate(this.parser.getValue(J,de),ke)),typeof ge>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ge=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],de),ke)),typeof ge>"u"){let ye={key:de,translateService:this};typeof ke<"u"&&(ye.interpolateParams=ke),ge=this.missingTranslationHandler.handle(ye)}return typeof ge<"u"?ge:de}get(J,de){if(!F(J)||!J.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,E.H)(ke=>(ke=this.getParsedResult(ke,J,de),(0,d.A)(ke)?ke:(0,i.of)(ke))));{let ke=this.getParsedResult(this.translations[this.currentLang],J,de);return(0,d.A)(ke)?ke:(0,i.of)(ke)}}getStreamOnTranslationChange(J,de){if(!F(J)||!J.length)throw new Error('Parameter "key" required');return(0,v.x)((0,_.v)(()=>this.get(J,de)),this.onTranslationChange.pipe((0,C.n)(ke=>{const ge=this.getParsedResult(ke.translations,J,de);return"function"==typeof ge.subscribe?ge:(0,i.of)(ge)})))}stream(J,de){if(!F(J)||!J.length)throw new Error('Parameter "key" required');return(0,v.x)((0,_.v)(()=>this.get(J,de)),this.onLangChange.pipe((0,C.n)(ke=>{const ge=this.getParsedResult(ke.translations,J,de);return(0,d.A)(ge)?ge:(0,i.of)(ge)})))}instant(J,de){if(!F(J)||!J.length)throw new Error('Parameter "key" required');let ke=this.getParsedResult(this.translations[this.currentLang],J,de);if((0,d.A)(ke)){if(J instanceof Array){let ge={};return J.forEach((ye,Pe)=>{ge[J[Pe]]=J[Pe]}),ge}return J}return ke}set(J,de,ke=this.currentLang){this.translations[ke][J]=this.compiler.compile(de,ke),this.updateLangs(),this.onTranslationChange.emit({lang:ke,translations:this.translations[ke]})}changeLang(J){this.currentLang=J,this.onLangChange.emit({lang:J,translations:this.translations[J]}),null==this.defaultLang&&this.changeDefaultLang(J)}changeDefaultLang(J){this.defaultLang=J,this.onDefaultLangChange.emit({lang:J,translations:this.translations[J]})}reloadLang(J){return this.resetLang(J),this.getTranslation(J)}
1resetLang(J){this._translationRequests[J]=void 0,this.translations[J]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let J=window.navigator.languages?window.navigator.languages[0]:null;return J=J||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof J>"u"?void 0:(-1!==J.indexOf("-")&&(J=J.split("-")[0]),-1!==J.indexOf("_")&&(J=J.split("_")[0]),J)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let J=window.navigator.languages?window.navigator.languages[0]:null;return J=J||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,J}static \u0275fac=function(de){return new(de||ee)(o.KVO(ve),o.KVO(l),o.KVO(Z),o.KVO(T),o.KVO(I),o.KVO(xe),o.KVO(me),o.KVO(V),o.KVO($))};static \u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}return ee})(),W=(()=>{class ee{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(J,de){this.translate=J,this._ref=de}updateValue(J,de,ke){let ge=ye=>{this.value=void 0!==ye?ye:J,this.lastKey=J,this._ref.markForCheck()};if(ke){let ye=this.translate.getParsedResult(ke,J,de);(0,d.A)(ye.subscribe)?ye.subscribe(ge):ge(ye)}this.translate.get(J,de).subscribe(ge)}transform(J,...de){if(!J||!J.length)return J;if(P(J,this.lastKey)&&P(de,this.lastParams))return this.value;let ke;if(F(de[0])&&de.length)if("string"==typeof de[0]&&de[0].length){let ge=de[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{ke=JSON.parse(ge)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${de[0]}`)}}else"object"==typeof de[0]&&!Array.isArray(de[0])&&(ke=de[0]);return this.lastKey=J,this.lastParams=de,this.updateValue(J,ke),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ge=>{this.lastKey&&ge.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(J,ke,ge.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ge=>{this.lastKey&&(this.lastKey=null,this.updateValue(J,ke,ge.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(J,ke))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(de){return new(de||ee)(o.rXU(oe,16),o.rXU(o.gRc,16))};static \u0275pipe=o.EJ8({name:"translate",type:ee,pure:!1});static \u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}return ee})(),re=(()=>{class ee{static forRoot(J={}){return{ngModule:ee,providers:[J.loader||{provide:l,useClass:y},J.compiler||{provide:Z,useClass:ie},J.parser||{provide:T,useClass:L},J.missingTranslationHandler||{provide:I,useClass:S},ve,{provide:me,useValue:J.isolate},{provide:xe,useValue:J.useDefaultLang},{provide:V,useValue:J.extend},{provide:$,useValue:J.defaultLanguage},oe]}}static forChild(J={}){return{ngModule:ee,providers:[J.loader||{provide:l,useClass:y},J.compiler||{provide:Z,useClass:ie},J.parser||{provide:T,useClass:L},J.missingTranslationHandler||{provide:I,useClass:S},{provide:me,useValue:J.isolate},{provide:xe,useValue:J.useDefaultLang},{provide:V,useValue:J.extend},{provide:$,useValue:J.defaultLanguage},oe]}}static \u0275fac=function(de){return new(de||ee)};static \u0275mod=o.$C({type:ee});static \u0275inj=o.G2t({})}return ee})()},77015:(he,M,r)=>{"use strict";r.d(M,{A:()=>F});var d=r(61319);const v=function h(N,U){for(var T=N.length;T--;)if((0,d.A)(N[T][0],U))return T;return-1};var m=Array.prototype.splice;function P(N){var U=-1,T=null==N?0:N.length;for(this.clear();++U<T;){var L=N[U];this.set(L[0],L[1])}}P.prototype.clear=function o(){this.__data__=[],this.size=0},P.prototype.delete=function p(N){var U=this.__data__,T=v(U,N);return!(T<0||(T==U.length-1?U.pop():m.call(U,T,1),--this.size,0))},P.prototype.get=function E(N){var U=this.__data__,T=v(U,N);return T<0?void 0:U[T][1]},P.prototype.has=function l(N){return v(this.__data__,N)>-1},P.prototype.set=function I(N,U){var T=this.__data__,L=v(T,N);return L<0?(++this.size,T.push([N,U])):T[L][1]=U,this};const F=P},86568:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(44713),i=r(1860);const h=(0,o.A)(i.A,"Map")},72291:(he,M,r)=>{"use strict";r.d(M,{A:()=>ye});const d=(0,r(44713).A)(Object,"create");var E=Object.prototype.hasOwnProperty;var I=Object.prototype.hasOwnProperty;function T(Pe){var Me=-1,We=null==Pe?0:Pe.length;for(this.clear();++Me<We;){var Oe=Pe[Me];this.set(Oe[0],Oe[1])}}T.prototype.clear=function h(){this.__data__=d?d(null):{},this.size=0},T.prototype.delete=function _(Pe){var Me=this.has(Pe)&&delete this.__data__[Pe];return this.size-=Me?1:0,Me},T.prototype.get=function C(Pe){var Me=this.__data__;if(d){var We=Me[Pe];return"__lodash_hash_undefined__"===We?void 0:We}return E.call(Me,Pe)?Me[Pe]:void 0},T.prototype.has=function S(Pe){var Me=this.__data__;return d?void 0!==Me[Pe]:I.call(Me,Pe)},T.prototype.set=function N(Pe,Me){var We=this.__data__;return this.size+=this.has(Pe)?0:1,We[Pe]=d&&void 0===Me?"__lodash_hash_undefined__":Me,this};const L=T;var Z=r(77015),ie=r(86568);const oe=function V(Pe,Me){var We=Pe.__data__;return function xe(Pe){var Me=typeof Pe;return"string"==Me||"number"==Me||"symbol"==Me||"boolean"==Me?"__proto__"!==Pe:null===Pe}(Me)?We["string"==typeof Me?"string":"hash"]:We.map};function ge(Pe){var Me=-1,We=null==Pe?0:Pe.length;for(this.clear();++Me<We;){var Oe=Pe[Me];this.set(Oe[0],Oe[1])}}ge.prototype.clear=function ve(){this.size=0,this.__data__={hash:new L,map:new(ie.A||Z.A),string:new L}},ge.prototype.delete=function z(Pe){var Me=oe(this,Pe).delete(Pe);return this.size-=Me?1:0,Me},ge.prototype.get=function re(Pe){return oe(this,Pe).get(Pe)},ge.prototype.has=function Se(Pe){return oe(this,Pe).has(Pe)},ge.prototype.set=function de(Pe,Me){var We=oe(this,Pe),Oe=We.size;return We.set(Pe,Me),this.size+=We.size==Oe?0:1,this};const ye=ge},94226:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(44713),i=r(1860);const h=(0,o.A)(i.A,"Set")},38587:(he,M,r)=>{"use strict";r.d(M,{A:()=>p});
1var o=r(72291);function m(u){var E=-1,C=null==u?0:u.length;for(this.__data__=new o.A;++E<C;)this.add(u[E])}m.prototype.add=m.prototype.push=function d(u){return this.__data__.set(u,"__lodash_hash_undefined__"),this},m.prototype.has=function v(u){return this.__data__.has(u)};const p=m},85401:(he,M,r)=>{"use strict";r.d(M,{A:()=>P});var o=r(77015);var E=r(86568),C=r(72291);function S(F){var N=this.__data__=new o.A(F);this.size=N.size}S.prototype.clear=function i(){this.__data__=new o.A,this.size=0},S.prototype.delete=function h(F){var N=this.__data__,U=N.delete(F);return this.size=N.size,U},S.prototype.get=function _(F){return this.__data__.get(F)},S.prototype.has=function p(F){return this.__data__.has(F)},S.prototype.set=function y(F,N){var U=this.__data__;if(U instanceof o.A){var T=U.__data__;if(!E.A||T.length<199)return T.push([F,N]),this.size=++U.size,this;U=this.__data__=new C.A(T)}return U.set(F,N),this.size=U.size,this};const P=S},6944:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});const d=r(1860).A.Symbol},26509:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});const d=r(1860).A.Uint8Array},99162:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h){for(var v=-1,_=null==d?0:d.length;++v<_&&!1!==h(d[v],v,d););return d}},71861:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h){for(var v=-1,_=null==d?0:d.length,m=0,p=[];++v<_;){var u=d[v];h(u,v,d)&&(p[m++]=u)}return p}},76726:(he,M,r)=>{"use strict";r.d(M,{A:()=>C});var d=r(66513),h=r(43744),v=r(39377),_=r(28606),m=r(28885),u=Object.prototype.hasOwnProperty;const C=function E(l,y){var I=(0,h.A)(l),S=!I&&(0,d.A)(l),P=!I&&!S&&(0,v.A)(l),F=!I&&!S&&!P&&(0,m.A)(l),N=I||S||P||F,U=N?function o(l,y){for(var I=-1,S=Array(l);++I<l;)S[I]=y(I);return S}(l.length,String):[],T=U.length;for(var L in l)(y||u.call(l,L))&&(!N||!("length"==L||P&&("offset"==L||"parent"==L)||F&&("buffer"==L||"byteLength"==L||"byteOffset"==L)||(0,_.A)(L,T)))&&U.push(L);return U}},56689:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h){for(var v=-1,_=null==d?0:d.length,m=Array(_);++v<_;)m[v]=h(d[v],v,d);return m}},70563:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h){for(var v=-1,_=h.length,m=d.length;++v<_;)d[m+v]=h[v];return d}},3071:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h){for(var v=-1,_=null==d?0:d.length;++v<_;)if(h(d[v],v,d))return!0;return!1}},81984:(he,M,r)=>{"use strict";r.d(M,{A:()=>_});var o=r(1827),i=r(61319),h=Object.prototype.hasOwnProperty;const _=function v(m,p,u){var E=m[p];(!h.call(m,p)||!(0,i.A)(E,u)||void 0===u&&!(p in m))&&(0,o.A)(m,p,u)}},1827:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});var o=r(84746);const d=function i(h,v,_){"__proto__"==v&&o.A?(0,o.A)(h,v,{configurable:!0,enumerable:!0,value:_,writable:!0}):h[v]=_}},99526:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h,v){return d==d&&(void 0!==v&&(d=d<=v?d:v),void 0!==h&&(d=d>=h?d:h)),d}},15267:(he,M,r)=>{"use strict";r.d(M,{A:()=>Kn});var o=r(85401),i=r(99162),d=r(81984),h=r(99898),v=r(14429);var p=r(40133);var C=r(9933),l=r(94528),y=r(42697);var P=r(28114);var U=r(67895),T=r(57372),L=r(21938),ie=Object.prototype.hasOwnProperty;var xe=r(75152);var oe=/\w*$/;var re=r(6944),ee=re.A?re.A.prototype:void 0,Se=ee?ee.valueOf:void 0;var ke=r(44314);const ct=function Tt(Ht,Jn,ci){var ji=Ht.constructor;switch(Jn){case"[object ArrayBuffer]":return(0,xe.A)(Ht);case"[object Boolean]":case"[object Date]":return new ji(+Ht);case"[object DataView]":return function $(Ht,Jn){var ci=Jn?(0,xe.A)(Ht.buffer):Ht.buffer;return new Ht.constructor(ci,Ht.byteOffset,Ht.byteLength)}(Ht,ci);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,ke.A)(Ht,ci);case"[object Map]":case"[object Set]":return new ji;case"[object Number]":case"[object String]":return new ji(Ht);case"[object RegExp]":return function z(Ht){var Jn=new Ht.constructor(Ht.source,oe.exec(Ht));return Jn.lastIndex=Ht.lastIndex,Jn}(Ht);case"[object Symbol]":return function J(Ht){return Se?Object(Se.call(Ht)):{}}(Ht)}};var tn=r(60923),Ee=r(43744),se=r(39377),be=r(42661);
1var Yt=r(20778),yn=r(33340),ln=yn.A&&yn.A.isMap;const An=ln?(0,Yt.A)(ln):function ft(Ht){return(0,be.A)(Ht)&&"[object Map]"==(0,L.A)(Ht)};var un=r(30554);var Dt=yn.A&&yn.A.isSet;const on=Dt?(0,Yt.A)(Dt):function Xn(Ht){return(0,be.A)(Ht)&&"[object Set]"==(0,L.A)(Ht)};var ut="[object Arguments]",Rt="[object Function]",Kt="[object Object]",Pt={};Pt[ut]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object DataView]"]=Pt["[object Boolean]"]=Pt["[object Date]"]=Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt[Kt]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object Symbol]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Error]"]=Pt[Rt]=Pt["[object WeakMap]"]=!1;const Kn=function Sn(Ht,Jn,ci,ji,qi,Fn){var Ve,rt=1&Jn,nt=2&Jn,wt=4&Jn;if(ci&&(Ve=qi?ci(Ht,ji,qi,Fn):ci(Ht)),void 0!==Ve)return Ve;if(!(0,un.A)(Ht))return Ht;var Qt=(0,Ee.A)(Ht);if(Qt){if(Ve=function ve(Ht){var Jn=Ht.length,ci=new Ht.constructor(Jn);return Jn&&"string"==typeof Ht[0]&&ie.call(Ht,"index")&&(ci.index=Ht.index,ci.input=Ht.input),ci}(Ht),!rt)return(0,l.A)(Ht,Ve)}else{var Nt=(0,L.A)(Ht),an=Nt==Rt||"[object GeneratorFunction]"==Nt;if((0,se.A)(Ht))return(0,C.A)(Ht,rt);if(Nt==Kt||Nt==ut||an&&!qi){if(Ve=nt||an?{}:(0,tn.A)(Ht),!rt)return nt?function F(Ht,Jn){return(0,h.A)(Ht,(0,P.A)(Ht),Jn)}(Ht,function u(Ht,Jn){return Ht&&(0,h.A)(Jn,(0,p.A)(Jn),Ht)}(Ve,Ht)):function I(Ht,Jn){return(0,h.A)(Ht,(0,y.A)(Ht),Jn)}(Ht,function _(Ht,Jn){return Ht&&(0,h.A)(Jn,(0,v.A)(Jn),Ht)}(Ve,Ht))}else{if(!Pt[Nt])return qi?Ht:{};Ve=ct(Ht,Nt,rt)}}Fn||(Fn=new o.A);var Ln=Fn.get(Ht);if(Ln)return Ln;Fn.set(Ht,Ve),on(Ht)?Ht.forEach(function(li){Ve.add(Sn(li,Jn,ci,li,Ht,Fn))}):An(Ht)&&Ht.forEach(function(li,Bn){Ve.set(Bn,Sn(li,Jn,ci,Bn,Ht,Fn))});var Zn=Qt?void 0:(wt?nt?T.A:U.A:nt?p.A:v.A)(Ht);return(0,i.A)(Zn||Ht,function(li,Bn){Zn&&(li=Ht[Bn=li]),(0,d.A)(Ve,Bn,Sn(li,Jn,ci,Bn,Ht,Fn))}),Ve}},73883:(he,M,r)=>{"use strict";r.d(M,{A:()=>u});var o=r(62676),i=r(14429);var v=r(31287);const u=function _(E,C){return function(l,y){if(null==l)return l;if(!(0,v.A)(l))return E(l,y);for(var I=l.length,S=C?I:-1,P=Object(l);(C?S--:++S<I)&&!1!==y(P[S],S,P););return l}}(function d(E,C){return E&&(0,o.A)(E,C,i.A)})},8556:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h,v,_){for(var m=d.length,p=v+(_?1:-1);_?p--:++p<m;)if(h(d[p],p,d))return p;return-1}},62676:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});const h=function o(v){return function(_,m,p){for(var u=-1,E=Object(_),C=p(_),l=C.length;l--;){var y=C[v?l:++u];if(!1===m(E[y],y,E))break}return _}}()},34501:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(14),i=r(24662);const h=function d(v,_){for(var m=0,p=(_=(0,o.A)(_,v)).length;null!=v&&m<p;)v=v[(0,i.A)(_[m++])];return m&&m==p?v:void 0}},56658:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(70563),i=r(43744);const h=function d(v,_,m){var p=_(v);return(0,i.A)(v)?p:(0,o.A)(p,m(v))}},45281:(he,M,r)=>{"use strict";r.d(M,{A:()=>P});var o=r(6944),i=Object.prototype,d=i.hasOwnProperty,h=i.toString,v=o.A?o.A.toStringTag:void 0;var u=Object.prototype.toString;var I=o.A?o.A.toStringTag:void 0;const P=function S(F){return null==F?void 0===F?"[object Undefined]":"[object Null]":I&&I in Object(F)?function _(F){var N=d.call(F,v),U=F[v];try{F[v]=void 0;var T=!0}catch{}var L=h.call(F);return T&&(N?F[v]=U:delete F[v]),L}(F):function E(F){return u.call(F)}(F)}},70539:(he,M,r)=>{"use strict";r.d(M,{A:()=>m});var o=r(8556);const d=function i(p){return p!=p},m=function _(p,u,E){return u==u?function h(p,u,E){for(var C=E-1,l=p.length;++C<l;)if(p[C]===u)return C;return-1}(p,u,E):(0,o.A)(p,d,E)}},20014:(he,M,r)=>{"use strict";r.d(M,{A:()=>Ye});var o=r(85401),i=r(38587),d=r(3071),h=r(25934);const p=function m(Re,De,He,we,Tt,ct){var tn=1&He,Ee=Re.length,se=De.length;if(Ee!=se&&!(tn&&se>Ee))return!1;var be=ct.get(Re),je=ct.get(De);if(be&&je)return be==De&&je==Re;var ft=-1,kt=!0,Yt=2&He?new i.A:void 0;for(ct.set(Re,De),ct.set(De,Re);++ft<Ee;){var yn=Re[ft],ln=De[ft];if(we)var Mn=tn?we(ln,yn,ft,De,Re,ct):we(yn,ln,ft,Re,De,ct);if(void 0!==Mn){if(Mn)continue;kt=!1;break}if(Yt){if(!(0,d.A)(De,function(An,un){if(!(0,h.A)(Yt,un)&&(yn===An||Tt(yn,An,He,we,ct)))return Yt.push(un)}
1)){kt=!1;break}}else if(yn!==ln&&!Tt(yn,ln,He,we,ct)){kt=!1;break}}return ct.delete(Re),ct.delete(De),kt};var u=r(6944),E=r(26509),C=r(61319);const y=function l(Re){var De=-1,He=Array(Re.size);return Re.forEach(function(we,Tt){He[++De]=[Tt,we]}),He};var I=r(83998),V=u.A?u.A.prototype:void 0,oe=V?V.valueOf:void 0;var re=r(67895),J=Object.prototype.hasOwnProperty;var ge=r(21938),ye=r(43744),Pe=r(39377),Me=r(28885),Oe="[object Arguments]",tt="[object Array]",Qe="[object Object]",ht=Object.prototype.hasOwnProperty;const Vt=function mt(Re,De,He,we,Tt,ct){var tn=(0,ye.A)(Re),Ee=(0,ye.A)(De),se=tn?tt:(0,ge.A)(Re),be=Ee?tt:(0,ge.A)(De),je=(se=se==Oe?Qe:se)==Qe,ft=(be=be==Oe?Qe:be)==Qe,kt=se==be;if(kt&&(0,Pe.A)(Re)){if(!(0,Pe.A)(De))return!1;tn=!0,je=!1}if(kt&&!je)return ct||(ct=new o.A),tn||(0,Me.A)(Re)?p(Re,De,He,we,Tt,ct):function z(Re,De,He,we,Tt,ct,tn){switch(He){case"[object DataView]":if(Re.byteLength!=De.byteLength||Re.byteOffset!=De.byteOffset)return!1;Re=Re.buffer,De=De.buffer;case"[object ArrayBuffer]":return!(Re.byteLength!=De.byteLength||!ct(new E.A(Re),new E.A(De)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,C.A)(+Re,+De);case"[object Error]":return Re.name==De.name&&Re.message==De.message;case"[object RegExp]":case"[object String]":return Re==De+"";case"[object Map]":var Ee=y;case"[object Set]":if(Ee||(Ee=I.A),Re.size!=De.size&&!(1&we))return!1;var be=tn.get(Re);if(be)return be==De;we|=2,tn.set(Re,De);var je=p(Ee(Re),Ee(De),we,Tt,ct,tn);return tn.delete(Re),je;case"[object Symbol]":if(oe)return oe.call(Re)==oe.call(De)}return!1}(Re,De,se,He,we,Tt,ct);if(!(1&He)){var Yt=je&&ht.call(Re,"__wrapped__"),yn=ft&&ht.call(De,"__wrapped__");
1if(Yt||yn){var ln=Yt?Re.value():Re,Mn=yn?De.value():De;return ct||(ct=new o.A),Tt(ln,Mn,He,we,ct)}}return!!kt&&(ct||(ct=new o.A),function de(Re,De,He,we,Tt,ct){var tn=1&He,Ee=(0,re.A)(Re),se=Ee.length;if(se!=(0,re.A)(De).length&&!tn)return!1;for(var ft=se;ft--;){var kt=Ee[ft];if(!(tn?kt in De:J.call(De,kt)))return!1}var Yt=ct.get(Re),yn=ct.get(De);if(Yt&&yn)return Yt==De&&yn==Re;var ln=!0;ct.set(Re,De),ct.set(De,Re);for(var Mn=tn;++ft<se;){var An=Re[kt=Ee[ft]],un=De[kt];if(we)var wn=tn?we(un,An,kt,De,Re,ct):we(An,un,kt,Re,De,ct);if(!(void 0===wn?An===un||Tt(An,un,He,we,ct):wn)){ln=!1;break}Mn||(Mn="constructor"==kt)}if(ln&&!Mn){var Xn=Re.constructor,vt=De.constructor;Xn!=vt&&"constructor"in Re&&"constructor"in De&&!("function"==typeof Xn&&Xn instanceof Xn&&"function"==typeof vt&&vt instanceof vt)&&(ln=!1)}return ct.delete(Re),ct.delete(De),ln}(Re,De,He,we,Tt,ct))};var Ot=r(42661);const Ye=function Fe(Re,De,He,we,Tt){return Re===De||(null==Re||null==De||!(0,Ot.A)(Re)&&!(0,Ot.A)(De)?Re!=Re&&De!=De:Vt(Re,De,He,we,Fe,Tt))}},71981:(he,M,r)=>{"use strict";r.d(M,{A:()=>Se});var o=r(85401),i=r(20014);var m=r(30554);const u=function p(J){return J==J&&!(0,m.A)(J)};var E=r(14429);const I=function y(J,de){return function(ke){return null!=ke&&ke[J]===de&&(void 0!==de||J in Object(ke))}},P=function S(J){var de=function C(J){for(var de=(0,E.A)(J),ke=de.length;ke--;){var ge=de[ke],ye=J[ge];de[ke]=[ge,ye,u(ye)]}return de}(J);return 1==de.length&&de[0][2]?I(de[0][0],de[0][1]):function(ke){return ke===J||function v(J,de,ke,ge){var ye=ke.length,Pe=ye,Me=!ge;if(null==J)return!Pe;for(J=Object(J);ye--;){var We=ke[ye];if(Me&&We[2]?We[1]!==J[We[0]]:!(We[0]in J))return!1}for(;++ye<Pe;){var Oe=(We=ke[ye])[0],tt=J[Oe],Qe=We[1];if(Me&&We[2]){if(void 0===tt&&!(Oe in J))return!1}else{var _t=new o.A;if(ge)var ht=ge(tt,Qe,Oe,J,de,_t);if(!(void 0===ht?(0,i.A)(Qe,tt,3,ge,_t):ht))return!1}}return!0}(ke,J,de)}};var F=r(62125),N=r(34029),U=r(93097),T=r(24662);var me=r(57003),xe=r(43744),$=r(51392),V=r(34501);const re=function W(J){return(0,U.A)(J)?(0,$.A)((0,T.A)(J)):function oe(J){return function(de){return(0,V.A)(de,J)}}(J)},Se=function ee(J){return"function"==typeof J?J:null==J?me.A:"object"==typeof J?(0,xe.A)(J)?function ie(J,de){return(0,U.A)(J)&&u(de)?I((0,T.A)(J),de):function(ke){var ge=(0,F.A)(ke,J);return void 0===ge&&ge===de?(0,N.A)(ke,J):(0,i.A)(de,ge,3)}}(J[0],J[1]):P(J):re(J)}},23660:(he,M,r)=>{"use strict";r.d(M,{A:()=>p});var o=r(35776);const h=(0,r(38992).A)(Object.keys,Object);var _=Object.prototype.hasOwnProperty;const p=function m(u){if(!(0,o.A)(u))return h(u);var E=[];for(var C in Object(u))_.call(u,C)&&"constructor"!=C&&E.push(C);return E}},79103:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(73883),i=r(31287);const h=function d(v,_){var m=-1,p=(0,i.A)(v)?Array(v.length):[];return(0,o.A)(v,function(u,E,C){p[++m]=_(u,E,C)}),p}},51392:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d){return function(h){return h?.[d]}}},14495:(he,M,r)=>{"use strict";r.d(M,{A:()=>T});var o=r(57003);var h=Math.max;const p=function m(L){return function(){return L}};var u=r(84746),I=Date.now;const N=function S(L){var Z=0,ie=0;return function(){var ve=I(),me=16-(ve-ie);if(ie=ve,me>0){if(++Z>=800)return arguments[0]}else Z=0;return L.apply(void 0,arguments)}}(u.A?function(L,Z){return(0,u.A)(L,"toString",{configurable:!0,enumerable:!1,value:p(Z),writable:!0})}:o.A),T=function U(L,Z){return N(function v(L,Z,ie){return Z=h(void 0===Z?L.length-1:Z,0),function(){for(var ve=arguments,me=-1,xe=h(ve.length-Z,0),$=Array(xe);++me<xe;)$[me]=ve[Z+me];me=-1;for(var V=Array(Z+1);++me<Z;)V[me]=ve[me];return V[Z]=ie($),function i(L,Z,ie){switch(ie.length){case 0:return L.call(Z);case 1:return L.call(Z,ie[0]);case 2:return L.call(Z,ie[0],ie[1]);case 3:return L.call(Z,ie[0],ie[1],ie[2])}return L.apply(Z,ie)}(L,this,V)}}(L,Z,o.A),L+"")}},65473:(he,M,r)=>{"use strict";r.d(M,{A:()=>m});var o=r(81984),i=r(14),d=r(28606),h=r(30554),v=r(24662);const m=function _(p,u,E,C){if(!(0,h.A)(p))return p;for(var l=-1,y=(u=(0,i.A)(u,p)).length,I=y-1,S=p;null!=S&&++l<y;){var P=(0,v.A)(u[l]),F=E;if("__proto__"===P||"constructor"===P||"prototype"===P)return p;if(l!=I){var N=S[P];void 0===(F=C?C(N,P,S):void 0)&&(F=(0,h.A)(N)?N:(0,d.A)(u[l+1])?[]:{})}(0,o.A)(S,P,F),S=S[P]}return p}},88787:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h,v){var _=-1,m=d.length;h<0&&(h=-h>m?0:m+h),(v=v>m?m:v)<0&&(v+=m),m=h>v?0:v-h>>>0,h>>>=0;for(var p=Array(m);++_<m;)p[_]=d[_+h];return p}},71473:(he,M,r)=>{"use strict";r.d(M,{A:()=>u});var o=r(6944),i=r(56689),d=r(43744),h=r(74077),v=1/0,_=o.A?o.A.prototype:void 0,m=_?_.toString:void 0;const u=function p(E){if("string"==typeof E)return E;if((0,d.A)(E))return(0,i.A)(E,p)+"";if((0,h.A)(E))return m?m.call(E):"";var C=E+"";return"0"==C&&1/E==-v?"-0":C}},20778:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d){return function(h){return d(h)}}},25934:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h){return d.has(h)}},14:(he,M,r)=>{"use strict";r.d(M,{A:()=>P});
1var o=r(43744),i=r(93097),d=r(72291);function v(F,N){if("function"!=typeof F||null!=N&&"function"!=typeof N)throw new TypeError("Expected a function");var U=function(){var T=arguments,L=N?N.apply(this,T):T[0],Z=U.cache;if(Z.has(L))return Z.get(L);var ie=F.apply(this,T);return U.cache=Z.set(L,ie)||Z,ie};return U.cache=new(v.Cache||d.A),U}v.Cache=d.A;const _=v;var E=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,C=/\\(\\)?/g;const y=function p(F){var N=_(F,function(T){return 500===U.size&&U.clear(),T}),U=N.cache;return N}(function(F){var N=[];return 46===F.charCodeAt(0)&&N.push(""),F.replace(E,function(U,T,L,Z){N.push(L?Z.replace(C,"$1"):T||U)}),N});var I=r(51705);const P=function S(F,N){return(0,o.A)(F)?F:(0,i.A)(F,N)?[F]:y((0,I.A)(F))}},75152:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});var o=r(26509);const d=function i(h){var v=new h.constructor(h.byteLength);return new o.A(v).set(new o.A(h)),v}},9933:(he,M,r)=>{"use strict";r.d(M,{A:()=>p});var o=r(1860),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,d=i&&"object"==typeof module&&module&&!module.nodeType&&module,v=d&&d.exports===i?o.A.Buffer:void 0,_=v?v.allocUnsafe:void 0;const p=function m(u,E){if(E)return u.slice();var C=u.length,l=_?_(C):new u.constructor(C);return u.copy(l),l}},44314:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});var o=r(75152);const d=function i(h,v){var _=v?(0,o.A)(h.buffer):h.buffer;return new h.constructor(_,h.byteOffset,h.length)}},94528:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h){var v=-1,_=d.length;for(h||(h=Array(_));++v<_;)h[v]=d[v];return h}},99898:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(81984),i=r(1827);const h=function d(v,_,m,p){var u=!m;m||(m={});for(var E=-1,C=_.length;++E<C;){var l=_[E],y=p?p(m[l],v[l],l,m,v):void 0;void 0===y&&(y=v[l]),u?(0,i.A)(m,l,y):(0,o.A)(m,l,y)}return m}},35528:(he,M,r)=>{"use strict";r.d(M,{A:()=>u});const i=function o(E,C,l,y){for(var I=-1,S=null==E?0:E.length;++I<S;){var P=E[I];C(y,P,l(P),E)}return y};var d=r(73883);const v=function h(E,C,l,y){return(0,d.A)(E,function(I,S,P){C(y,I,l(I),P)}),y};var _=r(71981),m=r(43744);const u=function p(E,C){return function(l,y){var I=(0,m.A)(l)?i:v,S=C?C():{};return I(l,E,(0,_.A)(y,2),S)}}},42975:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});var o=r(71981),i=r(31287),d=r(14429);const v=function h(_){return function(m,p,u){var E=Object(m);if(!(0,i.A)(m)){var C=(0,o.A)(p,3);m=(0,d.A)(m),p=function(y){return C(E[y],y,E)}}var l=_(m,p,u);return l>-1?E[C?m[l]:l]:void 0}}},84746:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});var o=r(44713);const d=function(){try{var h=(0,o.A)(Object,"defineProperty");return h({},"",{}),h}catch{}}()},17133:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i="object"==typeof global&&global&&global.Object===Object&&global},67895:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});var o=r(56658),i=r(42697),d=r(14429);const v=function h(_){return(0,o.A)(_,d.A,i.A)}},57372:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});var o=r(56658),i=r(28114),d=r(40133);const v=function h(_){return(0,o.A)(_,d.A,i.A)}},44713:(he,M,r)=>{"use strict";r.d(M,{A:()=>Z});var ie,o=r(70129),d=r(1860).A["__core-js_shared__"],v=(ie=/[^.]+$/.exec(d&&d.keys&&d.keys.IE_PROTO||""))?"Symbol(src)_1."+ie:"";var p=r(30554),u=r(38736),C=/^\[object .+?Constructor\]$/,P=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const N=function F(ie){return!(!(0,p.A)(ie)||function _(ie){return!!v&&v in ie}(ie))&&((0,o.A)(ie)?P:C).test((0,u.A)(ie))},Z=function L(ie,ve){var me=function U(ie,ve){return ie?.[ve]}(ie,ve);return N(me)?me:void 0}},28010:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});const d=(0,r(38992).A)(Object.getPrototypeOf,Object)},42697:(he,M,r)=>{"use strict";r.d(M,{A:()=>m});var o=r(71861),i=r(26032),h=Object.prototype.propertyIsEnumerable,v=Object.getOwnPropertySymbols;const m=v?function(p){return null==p?[]:(p=Object(p),(0,o.A)(v(p),function(u){return h.call(p,u)}))}:i.A},28114:(he,M,r)=>{"use strict";r.d(M,{A:()=>m});var o=r(70563),i=r(28010),d=r(42697),h=r(26032);const m=Object.getOwnPropertySymbols?function(p){for(var u=[];p;
1)(0,o.A)(u,(0,d.A)(p)),p=(0,i.A)(p);return u}:h.A},21938:(he,M,r)=>{"use strict";r.d(M,{A:()=>me});var o=r(44713),i=r(1860);const h=(0,o.A)(i.A,"DataView");var v=r(86568);const m=(0,o.A)(i.A,"Promise");var p=r(94226);const E=(0,o.A)(i.A,"WeakMap");var C=r(45281),l=r(38736),y="[object Map]",S="[object Promise]",P="[object Set]",F="[object WeakMap]",N="[object DataView]",U=(0,l.A)(h),T=(0,l.A)(v.A),L=(0,l.A)(m),Z=(0,l.A)(p.A),ie=(0,l.A)(E),ve=C.A;(h&&ve(new h(new ArrayBuffer(1)))!=N||v.A&&ve(new v.A)!=y||m&&ve(m.resolve())!=S||p.A&&ve(new p.A)!=P||E&&ve(new E)!=F)&&(ve=function(xe){var $=(0,C.A)(xe),V="[object Object]"==$?xe.constructor:void 0,oe=V?(0,l.A)(V):"";if(oe)switch(oe){case U:return N;case T:return y;case L:return S;case Z:return P;case ie:return F}return $});const me=ve},54549:(he,M,r)=>{"use strict";r.d(M,{A:()=>p});var o=r(14),i=r(66513),d=r(43744),h=r(28606),v=r(15481),_=r(24662);const p=function m(u,E,C){for(var l=-1,y=(E=(0,o.A)(E,u)).length,I=!1;++l<y;){var S=(0,_.A)(E[l]);if(!(I=null!=u&&C(u,S)))break;u=u[S]}return I||++l!=y?I:!!(y=null==u?0:u.length)&&(0,v.A)(y)&&(0,h.A)(S,y)&&((0,d.A)(u)||(0,i.A)(u))}},75251:(he,M,r)=>{"use strict";r.d(M,{A:()=>E});var p=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const E=function u(C){return p.test(C)}},60923:(he,M,r)=>{"use strict";r.d(M,{A:()=>p});var o=r(30554),i=Object.create;const h=function(){function u(){}return function(E){if(!(0,o.A)(E))return{};if(i)return i(E);u.prototype=E;var C=new u;return u.prototype=void 0,C}}();var v=r(28010),_=r(35776);const p=function m(u){return"function"!=typeof u.constructor||(0,_.A)(u)?{}:h((0,v.A)(u))}},28606:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var i=/^(?:0|[1-9]\d*)$/;const h=function d(v,_){var m=typeof v;return!!(_=_??9007199254740991)&&("number"==m||"symbol"!=m&&i.test(v))&&v>-1&&v%1==0&&v<_}},67357:(he,M,r)=>{"use strict";r.d(M,{A:()=>_});var o=r(61319),i=r(31287),d=r(28606),h=r(30554);const _=function v(m,p,u){if(!(0,h.A)(u))return!1;var E=typeof p;return!!("number"==E?(0,i.A)(u)&&(0,d.A)(p,u.length):"string"==E&&p in u)&&(0,o.A)(u[p],m)}},93097:(he,M,r)=>{"use strict";r.d(M,{A:()=>_});var o=r(43744),i=r(74077),d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,h=/^\w*$/;const _=function v(m,p){if((0,o.A)(m))return!1;var u=typeof m;return!("number"!=u&&"symbol"!=u&&"boolean"!=u&&null!=m&&!(0,i.A)(m))||h.test(m)||!d.test(m)||null!=p&&m in Object(p)}},35776:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});var o=Object.prototype;const d=function i(h){var v=h&&h.constructor;return h===("function"==typeof v&&v.prototype||o)}},33340:(he,M,r)=>{"use strict";r.d(M,{A:()=>m});var o=r(17133),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,d=i&&"object"==typeof module&&module&&!module.nodeType&&module,v=d&&d.exports===i&&o.A.process;const m=function(){try{return d&&d.require&&d.require("util").types||v&&v.binding&&v.binding("util")}catch{}}()},38992:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h){return function(v){return d(h(v))}}},1860:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(17133),i="object"==typeof self&&self&&self.Object===Object&&self;const h=o.A||i||Function("return this")()},83998:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d){var h=-1,v=Array(d.size);return d.forEach(function(_){v[++h]=_}),v}},24662:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(74077),i=1/0;const h=function d(v){if("string"==typeof v||(0,o.A)(v))return v;var _=v+"";return"0"==_&&1/v==-i?"-0":_}},38736:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var i=Function.prototype.toString;const h=function d(v){if(null!=v){try{return i.call(v)}catch{}try{return v+""}catch{}}return""}},33446:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});var o=r(15267);const v=function h(_){return(0,o.A)(_,5)}},61319:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d,h){return d===h||d!=d&&h!=h}},3578:(he,M,r)=>{"use strict";r.d(M,{A:()=>p});var o=r(71861),i=r(73883);const h=function d(u,E){var C=[];return(0,i.A)(u,function(l,y,I){E(l,y,I)&&C.push(l)}),C};var v=r(71981),_=r(43744);const p=function m(u,E){return((0,_.A)(u)?o.A:h)(u,(0,v.A)(E,3))}},67018:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(42975),i=r(53988);const h=(0,o.A)(i.A)},53988:(he,M,r)=>{"use strict";r.d(M,{A:()=>_});var o=r(8556),i=r(71981),d=r(32184),h=Math.max;const _=function v(m,p,u){var E=null==m?0:m.length;if(!E)return-1;var C=null==u?0:(0,d.A)(u);return C<0&&(C=h(E+C,0)),(0,o.A)(m,(0,i.A)(p,3),C)}},23712:(he,M,r)=>{"use strict";r.d(M,{A:()=>p});var o=r(99162),i=r(73883),d=r(57003);var _=r(43744);const p=function m(u,E){return((0,_.A)(u)?o.A:i.A)(u,function h(u){return"function"==typeof u?u:d.A}(E))}},62125:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});var o=r(34501);const d=function i(h,v,_){var m=null==h?void 0:(0,o.A)(h,v);return void 0===m?_:m}},30335:(he,M,r)=>{"use strict";r.d(M,{A:()=>_});var o=r(1827),i=r(35528),h=Object.prototype.hasOwnProperty;const _=(0,i.A)(function(m,p,u){h.call(m,u)?m[u].push(p):(0,o.A)(m,u,[p])})},51981:(he,M,r)=>{"use strict";r.d(M,{A:()=>m});var i=Object.prototype.hasOwnProperty;const h=function d(p,u){return null!=p&&i.call(p,u)};var v=r(54549);const m=function _(p,u){return null!=p&&(0,v.A)(p,u,h)}},34029:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});const i=function o(_,m){return null!=_&&m in Object(_)};var d=r(54549);
1const v=function h(_,m){return null!=_&&(0,d.A)(_,m,i)}},57003:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d){return d}},40173:(he,M,r)=>{"use strict";r.d(M,{A:()=>y});var o=r(70539),i=r(31287),d=r(40936),h=r(32184),v=r(56689);var p=r(14429);const E=function u(I){return null==I?[]:function _(I,S){return(0,v.A)(S,function(P){return I[P]})}(I,(0,p.A)(I))};var C=Math.max;const y=function l(I,S,P,F){I=(0,i.A)(I)?I:E(I),P=P&&!F?(0,h.A)(P):0;var N=I.length;return P<0&&(P=C(N+P,0)),(0,d.A)(I)?P<=N&&I.indexOf(S,P)>-1:!!N&&(0,o.A)(I,S,P)>-1}},29880:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});var o=r(70539),i=r(32184),d=Math.max;const v=function h(_,m,p){var u=null==_?0:_.length;if(!u)return-1;var E=null==p?0:(0,i.A)(p);return E<0&&(E=d(u+E,0)),(0,o.A)(_,m,E)}},66513:(he,M,r)=>{"use strict";r.d(M,{A:()=>E});var o=r(45281),i=r(42661);const v=function h(C){return(0,i.A)(C)&&"[object Arguments]"==(0,o.A)(C)};var _=Object.prototype,m=_.hasOwnProperty,p=_.propertyIsEnumerable;const E=v(function(){return arguments}())?v:function(C){return(0,i.A)(C)&&m.call(C,"callee")&&!p.call(C,"callee")}},43744:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=Array.isArray},31287:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(70129),i=r(15481);const h=function d(v){return null!=v&&(0,i.A)(v.length)&&!(0,o.A)(v)}},98388:(he,M,r)=>{"use strict";r.d(M,{A:()=>h});var o=r(31287),i=r(42661);const h=function d(v){return(0,i.A)(v)&&(0,o.A)(v)}},39377:(he,M,r)=>{"use strict";r.d(M,{A:()=>E});var o=r(1860),h="object"==typeof exports&&exports&&!exports.nodeType&&exports,v=h&&"object"==typeof module&&module&&!module.nodeType&&module,m=v&&v.exports===h?o.A.Buffer:void 0;const E=(m?m.isBuffer:void 0)||function i(){return!1}},72036:(he,M,r)=>{"use strict";r.d(M,{A:()=>I});var o=r(23660),i=r(21938),d=r(66513),h=r(43744),v=r(31287),_=r(39377),m=r(35776),p=r(28885),l=Object.prototype.hasOwnProperty;const I=function y(S){if(null==S)return!0;if((0,v.A)(S)&&((0,h.A)(S)||"string"==typeof S||"function"==typeof S.splice||(0,_.A)(S)||(0,p.A)(S)||(0,d.A)(S)))return!S.length;var P=(0,i.A)(S);if("[object Map]"==P||"[object Set]"==P)return!S.size;if((0,m.A)(S))return!(0,o.A)(S).length;for(var F in S)if(l.call(S,F))return!1;return!0}},10977:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});var o=r(20014);const d=function i(h,v){return(0,o.A)(h,v)}},70129:(he,M,r)=>{"use strict";r.d(M,{A:()=>p});var o=r(45281),i=r(30554);const p=function m(u){if(!(0,i.A)(u))return!1;var E=(0,o.A)(u);return"[object Function]"==E||"[object GeneratorFunction]"==E||"[object AsyncFunction]"==E||"[object Proxy]"==E}},15481:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});const d=function i(h){return"number"==typeof h&&h>-1&&h%1==0&&h<=9007199254740991}},67640:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d){return null===d}},94428:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});var o=r(45281),i=r(42661);const v=function h(_){return"number"==typeof _||(0,i.A)(_)&&"[object Number]"==(0,o.A)(_)}},30554:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d){var h=typeof d;return null!=d&&("object"==h||"function"==h)}},42661:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d){return null!=d&&"object"==typeof d}},40936:(he,M,r)=>{"use strict";r.d(M,{A:()=>_});var o=r(45281),i=r(43744),d=r(42661);const _=function v(m){return"string"==typeof m||!(0,i.A)(m)&&(0,d.A)(m)&&"[object String]"==(0,o.A)(m)}},74077:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});var o=r(45281),i=r(42661);const v=function h(_){return"symbol"==typeof _||(0,i.A)(_)&&"[object Symbol]"==(0,o.A)(_)}},28885:(he,M,r)=>{"use strict";r.d(M,{A:()=>J});var o=r(45281),i=r(15481),d=r(42661),V={};V["[object Float32Array]"]=V["[object Float64Array]"]=V["[object Int8Array]"]=V["[object Int16Array]"]=V["[object Int32Array]"]=V["[object Uint8Array]"]=V["[object Uint8ClampedArray]"]=V["[object Uint16Array]"]=V["[object Uint32Array]"]=!0,V["[object Arguments]"]=V["[object Array]"]=V["[object ArrayBuffer]"]=V["[object Boolean]"]=V["[object DataView]"]=V["[object Date]"]=V["[object Error]"]=V["[object Function]"]=V["[object Map]"]=V["[object Number]"]=V["[object Object]"]=V["[object RegExp]"]=V["[object Set]"]=V["[object String]"]=V["[object WeakMap]"]=!1;var W=r(20778),re=r(33340),ee=re.A&&re.A.isTypedArray;const J=ee?(0,W.A)(ee):function oe(de){return(0,d.A)(de)&&(0,i.A)(de.length)&&!!V[(0,o.A)(de)]}},14429:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});var o=r(76726),i=r(23660),d=r(31287);const v=function h(_){return(0,d.A)(_)?(0,o.A)(_):(0,i.A)(_)}},40133:(he,M,r)=>{"use strict";r.d(M,{A:()=>l});var o=r(76726),i=r(30554),d=r(35776);var m=Object.prototype.hasOwnProperty;const u=function p(y){if(!(0,i.A)(y))return function h(y){var I=[];if(null!=y)for(var S in Object(y))I.push(S);return I}(y);var I=(0,d.A)(y),S=[];for(var P in y)"constructor"==P&&(I||!m.call(y,P))||S.push(P);return S};var E=r(31287);const l=function C(y){return(0,E.A)(y)?(0,o.A)(y,!0):u(y)}},6165:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(d){var h=null==d?0:d.length;return h?d[h-1]:void 0}},6327:(he,M,r)=>{"use strict";r.d(M,{A:()=>_});var o=r(56689),i=r(71981),d=r(79103),h=r(43744);const _=function v(m,p){return((0,h.A)(m)?o.A:d.A)(m,(0,i.A)(p,3))}},70576:(he,M,r)=>{"use strict";r.d(M,{A:()=>N});var o=r(56689),i=r(34501),d=r(71981),h=r(79103);var m=r(20778),p=r(74077);const E=function u(U,T){if(U!==T){var L=void 0!==U,Z=null===U,ie=U==U,ve=(0,p.A)(U),me=void 0!==T,xe=null===T,$=T==T,V=(0,p.A)(T);if(!xe&&!V&&!ve&&U>T||ve&&me&&$&&!xe&&!V||Z&&me&&$||!L&&$||!ie)return 1;if(!Z&&!ve&&!V&&U<T||V&&L&&ie&&!Z&&!ve||xe&&L&&ie||!me&&ie||!$)return-1}return 0};var y=r(57003),I=r(43744);const P=function S(U,T,L){T=T.length?(0,o.A)(T,function(ve){return(0,I.A)(ve)?function(me){return(0,i.A)(me,1===ve.length?ve[0]:ve)}:ve}):[y.A];var Z=-1;return T=(0,o.A)(T,(0,m.A)(d.A)),function v(U,T){var L=U.length;for(U.sort(T);L--;)U[L]=U[L].value;return U}((0,h.A)(U,function(ve,me,xe){return{criteria:(0,o.A)(T,function(V){return V(ve)}),index:++Z,value:ve}}),function(ve,me){return function C(U,T,L){for(var Z=-1,ie=U.criteria,ve=T.criteria,me=ie.length,xe=L.length;++Z<me;){var $=E(ie[Z],ve[Z]);if($)return Z>=xe?$:$*("desc"==L[Z]?-1:1)}return U.index-T.index}(ve,me,L)})},N=function F(U,T,L,Z){return null==U?[]:((0,I.A)(T)||(T=null==T?[]:[T]),(0,I.A)(L=Z?void 0:L)||(L=null==L?[]:[L]),P(U,T,L))}},33938:(he,M,r)=>{"use strict";r.d(M,{A:()=>E});var o=Math.ceil,i=Math.max;var v=r(67357),_=r(58747);const E=function m(C){return function(l,y,I){return I&&"number"!=typeof I&&(0,v.A)(l,y,I)&&(y=I=void 0),l=(0,_.A)(l),void 0===y?(y=l,l=0):y=(0,_.A)(y),function d(C,l,y,I){for(var S=-1,P=i(o((l-C)/(y||1)),0),F=Array(P);P--;)F[I?P:++S]=C,C+=y;return F}(l,y,I=void 0===I?l<y?1:-1:(0,_.A)(I),C)}}()},22670:(he,M,r)=>{"use strict";r.d(M,{A:()=>F});var o=r(71981),i=r(14),d=r(6165),h=r(34501),v=r(88787);var p=r(24662);const E=function u(N,U){return null==(N=function _(N,U){return U.length<2?N:(0,h.A)(N,(0,v.A)(U,0,-1))}
1(N,U=(0,i.A)(U,N)))||delete N[(0,p.A)((0,d.A)(U))]};var C=r(28606),y=Array.prototype.splice;const F=function P(N,U){var T=[];if(!N||!N.length)return T;var L=-1,Z=[],ie=N.length;for(U=(0,o.A)(U,3);++L<ie;){var ve=N[L];U(ve,L,N)&&(T.push(ve),Z.push(L))}return function I(N,U){for(var T=N?U.length:0,L=T-1;T--;){var Z=U[T];if(T==L||Z!==ie){var ie=Z;(0,C.A)(Z)?y.call(N,Z,1):E(N,Z)}}}(N,Z),T}},83677:(he,M,r)=>{"use strict";r.d(M,{A:()=>E});var o=r(1860),i=r(32184),d=r(18770),h=r(51705),v=o.A.isFinite,_=Math.min;const E=function m(C){var l=Math[C];return function(y,I){if(y=(0,d.A)(y),(I=null==I?0:_((0,i.A)(I),292))&&v(y)){var S=((0,h.A)(y)+"e").split("e"),P=l(S[0]+"e"+(+S[1]+I));return+((S=((0,h.A)(P)+"e").split("e"))[0]+"e"+(+S[1]-I))}return l(y)}}("round")},60438:(he,M,r)=>{"use strict";r.d(M,{A:()=>u});var o=r(3071),i=r(71981),d=r(73883);const v=function h(E,C){var l;return(0,d.A)(E,function(y,I,S){return!(l=C(y,I,S))}),!!l};var _=r(43744),m=r(67357);const u=function p(E,C,l){var y=(0,_.A)(E)?o.A:v;return l&&(0,m.A)(E,C,l)&&(C=void 0),y(E,(0,i.A)(C,3))}},86052:(he,M,r)=>{"use strict";r.d(M,{A:()=>_t});var o=r(71473),i=r(88787);var v=r(75251),_=r(67357),m=r(45281),p=r(42661);var l=r(20778),y=r(33340),I=y.A&&y.A.isRegExp;const P=I?(0,l.A)(I):function E(ht){return(0,p.A)(ht)&&"[object RegExp]"==(0,m.A)(ht)};var U="\\ud800-\\udfff",me="["+U+"]",xe="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",$="\\ud83c[\\udffb-\\udfff]",oe="[^"+U+"]",z="(?:\\ud83c[\\udde6-\\uddff]){2}",W="[\\ud800-\\udbff][\\udc00-\\udfff]",ee="(?:"+xe+"|"+$+")?",Se="[\\ufe0e\\ufe0f]?",de=Se+ee+"(?:\\u200d(?:"+[oe,z,W].join("|")+")"+Se+ee+")*",ke="(?:"+[oe+xe+"?",xe,z,W,me].join("|")+")",ge=RegExp($+"(?="+$+")|"+ke+de,"g");const We=function Me(ht){return(0,v.A)(ht)?function ye(ht){return ht.match(ge)||[]}(ht):function F(ht){return ht.split("")}(ht)};var Oe=r(51705);const _t=function Qe(ht,mt,Vt){return Vt&&"number"!=typeof Vt&&(0,_.A)(ht,mt,Vt)&&(mt=Vt=void 0),(Vt=void 0===Vt?4294967295:Vt>>>0)?(ht=(0,Oe.A)(ht))&&("string"==typeof mt||null!=mt&&!P(mt))&&!(mt=(0,o.A)(mt))&&(0,v.A)(ht)?function d(ht,mt,Vt){var Ot=ht.length;return Vt=void 0===Vt?Ot:Vt,!mt&&Vt>=Ot?ht:(0,i.A)(ht,mt,Vt)}(We(ht),0,Vt):ht.split(mt,Vt):[]}},26032:(he,M,r)=>{"use strict";r.d(M,{A:()=>i});const i=function o(){return[]}},58747:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});var o=r(18770),i=1/0;const v=function h(_){return _?(_=(0,o.A)(_))===i||_===-i?17976931348623157e292*(_<0?-1:1):_==_?_:0:0===_?_:0}},32184:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});var o=r(58747);const d=function i(h){var v=(0,o.A)(h),_=v%1;return v==v?_?v-_:v:0}},68999:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});var o=r(51705);const d=function i(h){return(0,o.A)(h).toLowerCase()}},18770:(he,M,r)=>{"use strict";r.d(M,{A:()=>S});var o=/\s/;var h=/^\s+/;const _=function v(P){return P&&P.slice(0,function i(P){for(var F=P.length;F--&&o.test(P.charAt(F)););return F}(P)+1).replace(h,"")};var m=r(30554),p=r(74077),E=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,l=/^0o[0-7]+$/i,y=parseInt;const S=function I(P){if("number"==typeof P)return P;if((0,p.A)(P))return NaN;if((0,m.A)(P)){var F="function"==typeof P.valueOf?P.valueOf():P;P=(0,m.A)(F)?F+"":F}if("string"!=typeof P)return 0===P?P:+P;P=_(P);var N=C.test(P);return N||l.test(P)?y(P.slice(2),N?2:8):E.test(P)?NaN:+P}},96503:(he,M,r)=>{"use strict";r.d(M,{A:()=>v});var o=r(99526),i=r(32184),d=9007199254740991;const v=function h(_){return _?(0,o.A)((0,i.A)(_),-d,d):0===_?_:0}},51705:(he,M,r)=>{"use strict";r.d(M,{A:()=>d});var o=r(71473);const d=function i(h){return null==h?"":(0,o.A)(h)}},77286:(he,M,r)=>{"use strict";r.d(M,{Q:()=>h});var o=r(54438),i=r(60177);const d=new o.nKC("REQUEST");let h=(()=>{class v{constructor(m,p,u){this.document=m,this.platformId=p,this.request=u,this.documentIsAccessible=(0,i.isPlatformBrowser)(this.platformId)}static getCookieRegExp(m){const p=m.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+p+"|;\\s*"+p+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(m){try{return decodeURIComponent(m)}catch{return m}}check(m){return m=encodeURIComponent(m),v.getCookieRegExp(m).test(this.documentIsAccessible?this.document.cookie:this.request?.headers.cookie)}get(m){if(this.check(m)){m=encodeURIComponent(m);const u=v.getCookieRegExp(m).exec(this.documentIsAccessible?this.document.cookie:this.request?.headers.cookie);return u[1]?v.safeDecodeURIComponent(u[1]):""}return""}getAll(){const m={},p=this.documentIsAccessible?this.document?.cookie:this.request?.headers.cookie;return p&&""!==p&&p.split(";").forEach(u=>{const[E,C]=u.split("=");m[v.safeDecodeURIComponent(E.replace(/^ /,""))]=v.safeDecodeURIComponent(C)}),m}set(m,p,u,E,C,l,y,I){if(!this.documentIsAccessible)return;if("number"==typeof u||u instanceof Date||E||C||l||y)return void this.set(m,p,{expires:u,path:E,domain:C,secure:l,sameSite:y||"Lax",partitioned:I});let S=encodeURIComponent(m)+"="+encodeURIComponent(p)+";";const P=u||{};P.expires&&(S+="number"==typeof P.expires?"expires="+new Date((new Date).getTime()+1e3*P.expires*60*60*24).toUTCString()+";":"expires="+P.expires.toUTCString()+";"),P.path&&(S+="path="+P.path+";"),P.domain&&(S+="domain="+P.domain+";"),!1===P.secure&&"None"===P.sameSite&&(P.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${m} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),P.secure&&(S+="secure;"),P.sameSite||(P.sameSite="Lax"),S+="sameSite="+P.sameSite+";",P.partitioned&&(S+="Partitioned;"),this.document.cookie=S}delete(m,p,u,E,C="Lax"){this.documentIsAccessible&&this.set(m,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:p,domain:u,secure:E,sameSite:C})}deleteAll(m,p,u,E="Lax"){if(!this.documentIsAccessible)return;const C=this.getAll();for(const l in C)C.hasOwnProperty(l)&&this.delete(l,m,p,u,E)}static{this.\u0275fac=function(p){return new(p||v)(o.KVO(i.DOCUMENT),o.KVO(o.Agw
1),o.KVO(d,8))}}static{this.\u0275prov=o.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},62386:(he,M,r)=>{"use strict";r.d(M,{B:()=>ie,ak:()=>Z,xm:()=>xe});var o=r(54438),i=r(84787),d=r(14421),h=r(45817),v=r(45286),_=r(79928),m=r(29418),p=r(95006),u=r(15539),E=r(68712),C=r(18456),l=r(58728),y=r(49090),I=r(60177),S=r(89079);const P=["container"],F=new o.nKC("LottieOptions");let U=(()=>{class oe{constructor(){this.player$=function N(){const oe=(0,o.WQX)(o.SKi),{player:z,useWebWorker:W}=(0,o.WQX)(F),re=oe.runOutsideAngular(()=>z());return((0,o.jNT)(re)?(0,i.H)(re).pipe((0,p.T)(Se=>Se.default||Se)):(0,d.of)(re)).pipe((0,u.M)(Se=>Se.useWebWorker?.(W)),(0,E.t)({bufferSize:1,refCount:!0}))}().pipe((0,C.ZZ)(W=>function T(oe){return new h.c(z=>{const W=oe.runOutsideAngular(()=>requestAnimationFrame(()=>{z.next(),z.complete()}));return()=>cancelAnimationFrame(W)})}(this.ngZone).pipe((0,p.T)(()=>W)))),this.ngZone=(0,o.WQX)(o.SKi)}loadAnimation(W){return this.player$.pipe((0,p.T)(re=>this.createAnimationItem(re,W)))}resolveOptions(W,re){return Object.assign({container:re,renderer:"svg",loop:!0,autoplay:!0},W)}createAnimationItem(W,re){return this.ngZone.runOutsideAngular(()=>W.loadAnimation(re))}static{this.\u0275fac=function(re){return new(re||oe)}}static{this.\u0275prov=o.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}return oe})(),L=(()=>{class oe extends U{constructor(){super(...arguments),this.cache=new Map}ngOnDestroy(){this.cache.clear()}loadAnimation(W){return this.player$.pipe((0,p.T)(re=>{const ee=this.createAnimationItem(re,this.transformOptions(W));return this.awaitConfigAndCache(W,ee),ee}))}awaitConfigAndCache(W,re){if(this.isAnimationConfigWithPath(W)){if(this.cache.has(W.path))return;re.addEventListener("config_ready",()=>{this.cache.set(W.path,JSON.stringify(re.animationData))})}}transformOptions(W){return this.isAnimationConfigWithPath(W)&&this.cache.has(W.path)?{...W,path:void 0,animationData:JSON.parse(this.cache.get(W.path))}:W}isAnimationConfigWithPath(W){return"string"==typeof W.path}static{this.\u0275fac=(()=>{let W;return function(ee){return(W||(W=o.xGo(oe)))(ee||oe)}})()}static{this.\u0275prov=o.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}return oe})();function Z(){return[{provide:U,useExisting:L}]}function ie(oe){return[{provide:F,useValue:oe}]}let ve=(()=>{class oe{constructor(){this.options=(0,o.hFB)(null),this.containerClass=(0,o.hFB)(null),this.styles=(0,o.hFB)(null),this.animationCreated=this.getAnimationItem(),this.complete=this.awaitAnimationItemAndStartListening("complete"),this.loopComplete=this.awaitAnimationItemAndStartListening("loopComplete"),this.enterFrame=this.awaitAnimationItemAndStartListening("enterFrame"),this.segmentStart=this.awaitAnimationItemAndStartListening("segmentStart"),this.configReady=this.awaitAnimationItemAndStartListening("config_ready"),this.dataReady=this.awaitAnimationItemAndStartListening("data_ready"),this.domLoaded=this.awaitAnimationItemAndStartListening("DOMLoaded"),this.destroy=this.awaitAnimationItemAndStartListening("destroy"),this.error=this.awaitAnimationItemAndStartListening("error"),this.ngZone=(0,o.WQX)(o.SKi),this.isBrowser=(0,I.isPlatformBrowser)((0,o.WQX)(o.Agw)),this.animationLoader=(0,o.WQX)(U),this.loadAnimation$=new v.B7,this.animationItem$=new _.t(null),this.setupLoadAnimationListener()}ngOnDestroy(){this.destroyAnimation()}loadAnimation(W,re){this.ngZone.runOutsideAngular(()=>this.loadAnimation$.next([W,re]))}getAnimationItem(){return(0,m.v)(()=>
1this.animationItem$).pipe((0,l.p)(W=>null!==W))}awaitAnimationItemAndStartListening(W){return this.getAnimationItem().pipe((0,y.n)(re=>new h.c(ee=>{this.ngZone.runOutsideAngular(()=>{re.addEventListener(W,Se=>{this.ngZone.runOutsideAngular(()=>{ee.next(Se)})})})})))}setupLoadAnimationListener(){this.loadAnimation$.pipe((0,l.p)(([re])=>this.isBrowser&&void 0!==re.options)).pipe((0,y.n)(([re,ee])=>(this.destroyAnimation(),this.animationLoader.loadAnimation(this.animationLoader.resolveOptions(re.options.currentValue,ee)))),(0,S.pQ)()).subscribe(re=>{this.ngZone.run(()=>this.animationItem$.next(re))})}destroyAnimation(){const W=this.animationItem$.getValue();null!==W&&(W.destroy(),this.animationItem$.next(null))}static{this.\u0275fac=function(re){return new(re||oe)}}static{this.\u0275dir=o.FsC({type:oe,selectors:[["","lottie",""]],inputs:{options:[1,"options"],containerClass:[1,"containerClass"],styles:[1,"styles"]},outputs:{animationCreated:"animationCreated",complete:"complete",loopComplete:"loopComplete",enterFrame:"enterFrame",segmentStart:"segmentStart",configReady:"configReady",dataReady:"dataReady",domLoaded:"domLoaded",destroy:"destroy",error:"error"}})}}return oe})(),xe=(()=>{class oe extends ve{constructor(){super(...arguments),this.width=(0,o.hFB)(null),this.height=(0,o.hFB)(null),this.container=null}ngOnChanges(W){super.loadAnimation(W,this.container.nativeElement)}static{this.\u0275fac=(()=>{let W;return function(ee){return(W||(W=o.xGo(oe)))(ee||oe)}})()}static{this.\u0275cmp=o.VBU({type:oe,selectors:[["ng-lottie"]],viewQuery:function(re,ee){if(1&re&&o.GBs(P,7),2&re){let Se;o.mGM(Se=o.lsd())&&(ee.container=Se.first)}},inputs:{width:[1,"width"],height:[1,"height"]},standalone:!0,features:[o.Vt3,o.OA$,o.aNF],decls:2,vars:6,consts:[["container",""],[3,"ngStyle","ngClass"]],template:function(re,ee){1&re&&o.nrm(0,"div",1,0),2&re&&(o.xc7("width",ee.width()||"100%")("height",ee.height()||"100%"),o.Y8G("ngStyle",ee.styles())("ngClass",ee.containerClass()))},dependencies:[I.NgStyle,I.NgClass],encapsulation:2,changeDetection:0})}}return oe})()},15455:(he,M,r)=>{"use strict";r.r(M),r.d(M,{Fetch:()=>vt,Manager:()=>_i,NodeWebSocket:()=>se,NodeXHR:()=>we,Socket:()=>sn,WebSocket:()=>se,WebTransport:()=>be,XHR:()=>we,connect:()=>Pn,default:()=>Pn,io:()=>Pn,protocol:()=>cn});var o={};r.r(o),r.d(o,{Decoder:()=>xt,Encoder:()=>Ue,PacketType:()=>Kt,protocol:()=>cn});const i=Object.create(null);i.open="0",i.close="1",i.ping="2",i.pong="3",i.message="4",i.upgrade="5",i.noop="6";const d=Object.create(null);
vendor: 4,187 bytes, line 1
1Object.keys(i).forEach(ne=>{d[i[ne]]=ne});const h={type:"error",data:"parser error"},v="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),_="function"==typeof ArrayBuffer,m=ne=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(ne):ne&&ne.buffer instanceof ArrayBuffer,p=({type:ne,data:H},Q,Te)=>v&&H instanceof Blob?Q?Te(H):u(H,Te):_&&(H instanceof ArrayBuffer||m(H))?Q?Te(H):u(new Blob([H]),Te):Te(i[ne]+(H||"")),u=(ne,H)=>{const Q=new FileReader;return Q.onload=function(){const Te=Q.result.split(",")[1];H("b"+(Te||""))},Q.readAsDataURL(ne)};function E(ne){return ne instanceof Uint8Array?ne:ne instanceof ArrayBuffer?new Uint8Array(ne):new Uint8Array(ne.buffer,ne.byteOffset,ne.byteLength)}let C;const I=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let ne=0;ne<64;ne++)I["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(ne)]=ne;const F="function"==typeof ArrayBuffer,N=(ne,H)=>{if("string"!=typeof ne)return{type:"message",data:T(ne,H)};const Q=ne.charAt(0);return"b"===Q?{type:"message",data:U(ne.substring(1),H)}:d[Q]?ne.length>1?{type:d[Q],data:ne.substring(1)}:{type:d[Q]}:h},U=(ne,H)=>{if(F){const Q=(ne=>{let Te,Pt,Sn,Kn,Ht,H=.75*ne.length,Q=ne.length,lt=0;"="===ne[ne.length-1]&&(H--,"="===ne[ne.length-2]&&H--);const Jn=new ArrayBuffer(H),ci=new Uint8Array(Jn);for(Te=0;Te<Q;Te+=4)Pt=I[ne.charCodeAt(Te)],Sn=I[ne.charCodeAt(Te+1)],Kn=I[ne.charCodeAt(Te+2)],Ht=I[ne.charCodeAt(Te+3)],ci[lt++]=Pt<<2|Sn>>4,ci[lt++]=(15&Sn)<<4|Kn>>2,ci[lt++]=(3&Kn)<<6|63&Ht;return Jn})(ne);return T(Q,H)}return{base64:!0,data:ne}},T=(ne,H)=>"blob"===H?ne instanceof Blob?ne:new Blob([ne]):ne instanceof ArrayBuffer?ne:ne.buffer;let me;function xe(ne){return ne.reduce((H,Q)=>H+Q.length,0)}function $(ne,H){if(ne[0].length===H)return ne.shift();const Q=new Uint8Array(H);let Te=0;for(let lt=0;lt<H;lt++)Q[lt]=ne[0][Te++],Te===ne[0].length&&(ne.shift(),Te=0);return ne.length&&Te<ne[0].length&&(ne[0]=ne[0].slice(Te)),Q}function z(ne){if(ne)return function W(ne){for(var H in z.prototype)ne[H]=z.prototype[H];return ne}(ne)}z.prototype.on=z.prototype.addEventListener=function(ne,H){return this._callbacks=this._callbacks||{},(this._callbacks["$"+ne]=this._callbacks["$"+ne]||[]).push(H),this},z.prototype.once=function(ne,H){function Q(){this.off(ne,Q),H.apply(this,arguments)}return Q.fn=H,this.on(ne,Q),this},z.prototype.off=z.prototype.removeListener=z.prototype.removeAllListeners=z.prototype.removeEventListener=function(ne,H){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var Q=this._callbacks["$"+ne];if(!Q)return this;if(1==arguments.length)return delete this._callbacks["$"+ne],this;for(var Te,lt=0;lt<Q.length;lt++)if((Te=Q[lt])===H||Te.fn===H){Q.splice(lt,1);break}return 0===Q.length&&delete this._callbacks["$"+ne],this},z.prototype.emitReserved=z.prototype.emit=function(ne){this._callbacks=this._callbacks||{};for(var H=new Array(arguments.length-1),Q=this._callbacks["$"+ne],Te=1;Te<arguments.length;Te++)H[Te-1]=arguments[Te];if(Q){Te=0;for(var lt=(Q=Q.slice(0)).length;Te<lt;++Te)Q[Te].apply(this,H)}return this},z.prototype.listeners=function(ne){return this._callbacks=this._callbacks||{},this._callbacks["$"+ne]||[]},z.prototype.hasListeners=function(ne){return!!this.listeners(ne).length};const re="function"==typeof Promise&&"function"==typeof Promise.resolve?H=>Promise.resolve().then(H):(H,Q)=>Q(H,0),ee=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function de(ne,...H){return H.reduce((Q,Te)=>(ne.hasOwnProperty(Te)&&(Q[Te]=ne[Te]),Q),{})}const ke=ee.setTimeout,ge=ee.clearTimeout;function ye(ne,H){H.useNativeTimers?(ne.setTimeoutFn=ke.bind(ee),ne.clearTimeoutFn=ge.bind(ee)):(ne.setTimeoutFn=ee.setTimeout.bind(ee),ne.clearTimeoutFn=ee.clearTimeout.bind(ee))}function Me(ne){return"string"==typeof ne?function We(ne){let H=0,Q=0;for(let Te=0,lt=ne.length;Te<lt;Te++)H=ne.charCodeAt(Te),H<128?Q+=1:H<2048?Q+=2:H<55296||H>=57344?Q+=3:(Te++,Q+=4);return Q}(ne):Math.ceil(1.33*(ne.byteLength||ne.size))}function Oe(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}
1class _t extends Error{constructor(H,Q,Te){super(H),this.description=Q,this.context=Te,this.type="TransportError"}}class ht extends z{constructor(H){super(),this.writable=!1,ye(this,H),this.opts=H,this.query=H.query,this.socket=H.socket,this.supportsBinary=!H.forceBase64}onError(H,Q,Te){return super.emitReserved("error",new _t(H,Q,Te)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(H){"open"===this.readyState&&this.write(H)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(H){const Q=N(H,this.socket.binaryType);this.onPacket(Q)}onPacket(H){super.emitReserved("packet",H)}onClose(H){this.readyState="closed",super.emitReserved("close",H)}pause(H){}createUri(H,Q={}){return H+"://"+this._hostname()+this._port()+this.opts.path+this._query(Q)}_hostname(){const H=this.opts.hostname;return-1===H.indexOf(":")?H:"["+H+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(H){const Q=function tt(ne){let H="";for(let Q in ne)ne.hasOwnProperty(Q)&&(H.length&&(H+="&"),H+=encodeURIComponent(Q)+"="+encodeURIComponent(ne[Q]));return H}(H);return Q.length?"?"+Q:""}}class mt extends ht{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(H){this.readyState="pausing";const Q=()=>{this.readyState="paused",H()};if(this._polling||!this.writable){let Te=0;this._polling&&(Te++,this.once("pollComplete",function(){--Te||Q()})),this.writable||(Te++,this.once("drain",function(){--Te||Q()}))}else Q()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(H){((ne,H)=>{const Q=ne.split("\x1e"),Te=[];for(let lt=0;lt<Q.length;lt++){const Pt=N(Q[lt],H);if(Te.push(Pt),"error"===Pt.type)break}return Te})(H,this.socket.binaryType).forEach(Te=>{if("opening"===this.readyState&&"open"===Te.type&&this.onOpen(),"close"===Te.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(Te)}),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){const H=()=>{this.write([{type:"close"}])};"open"===this.readyState?H():this.once("open",H)}write(H){this.writable=!1,((ne,H)=>{const Q=ne.length,Te=new Array(Q);let lt=0;ne.forEach((Pt,Sn)=>{p(Pt,!1,Kn=>{Te[Sn]=Kn,++lt===Q&&H(Te.join("\x1e"))})})})(H,Q=>{this.doWrite(Q,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const H=this.opts.secure?"https":"http",Q=this.query||{};return!1!==this.opts.timestampRequests&&(Q[this.opts.timestampParam]=Oe()),!this.supportsBinary&&!Q.sid&&(Q.b64=1),this.createUri(H,Q)}}let Vt=!1;try{Vt=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Ot=Vt;function Fe(){}class Ye extends mt{constructor(H){if(super(H),typeof location<"u"){const Q="https:"===location.protocol;let Te=location.port;Te||(Te=Q?"443":"80"),this.xd=typeof location<"u"&&H.hostname!==location.hostname||Te!==H.port}}doWrite(H,Q){const Te=this.request({method:"POST",data:H});Te.on("success",Q),Te.on("error",(lt,Pt)=>{this.onError("xhr post error",lt,Pt)})}doPoll(){const H=this.request();H.on("data",this.onData.bind(this)),H.on("error",(Q,Te)=>{this.onError("xhr poll error",Q,Te)}),this.pollXhr=H}}let Re=(()=>{class ne extends z{constructor(Q,Te,lt){super(),this.createRequest=Q,ye(this,lt),this._opts=lt,this._method=lt.method||"GET",this._uri=Te,this._data=void 0!==lt.data?lt.data:null,this._create()}_create(){var Q;const Te=de(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");Te.xdomain=!!this._opts.xd;const lt=this._xhr=this.createRequest(Te);try{lt.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){lt.setDisableHeaderCheck&<.setDisableHeaderCheck(!0);for(let Pt in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(Pt)&<.setRequestHeader(Pt,this._opts.extraHeaders[Pt])}}catch{}if("POST"===this._method)try{lt.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{lt.setRequestHeader("Accept","*/*")}catch{}null===(Q=this._opts.cookieJar)||void 0===Q||Q.addCookies(lt),"withCredentials"in lt&&(lt.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(lt.timeout=this._opts.requestTimeout),lt.onreadystatechange=()=>{var Pt;3===lt.readyState&&(null===(Pt=this._opts.cookieJar)||void 0===Pt||Pt.parseCookies(lt.getResponseHeader("set-cookie"))),4===lt.readyState&&(200===lt.status||1223===lt.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof lt.status?lt.status:0)},0))},lt.send(this._data)}catch(Pt){return void this.setTimeoutFn(()=>{this._onError(Pt)},0)}typeof document<"u"&&(this._index=ne.requestsCount++,ne.requests[this._index]=this)}_onError(Q){this.emitReserved("error",Q,this._xhr),this._cleanup(!0)}_cleanup(Q){if(!(typeof this._xhr>"u"||null===this._xhr)){if(this._xhr.onreadystatechange=Fe,Q)try{this._xhr.abort()}catch{}typeof document<"u"&&delete ne.requests[this._index],this._xhr=null}}_onLoad(){const Q=this._xhr.responseText;null!==Q&&(this.emitReserved("data",Q),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}return ne.requestsCount=0,ne.requests={},ne})();function De(){for(let ne in Re.requests)Re.requests.hasOwnProperty(ne)&&Re.requests[ne].abort()}typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",De):"function"==typeof addEventListener&&addEventListener("onpagehide"in ee?"pagehide":"unload",De,!1));const He=function(){const ne=Tt({xdomain:!1});return ne&&null!==ne.responseType}();class we extends Ye{constructor(H){super(H),this.supportsBinary=He&&!(H&&H.forceBase64)}request(H={}){return Object.assign(H,{xd:this.xd},this.opts),new Re(Tt,this.uri(),H)}}function Tt(ne){const H=ne.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!H||Ot))return new XMLHttpRequest}catch{}if(!H)try{return new(ee[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch{}}const ct=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class tn extends ht{get name(){return"websocket"}doOpen(){const H=this.uri(),Q=this.opts.protocols,Te=ct?{}:de(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(Te.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(H,Q,Te)}catch(lt){return this.emitReserved("error",lt)}
1this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=H=>this.onClose({description:"websocket connection closed",context:H}),this.ws.onmessage=H=>this.onData(H.data),this.ws.onerror=H=>this.onError("websocket error",H)}write(H){this.writable=!1;for(let Q=0;Q<H.length;Q++){const Te=H[Q],lt=Q===H.length-1;p(Te,this.supportsBinary,Pt=>{try{this.doWrite(Te,Pt)}catch{}lt&&re(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const H=this.opts.secure?"wss":"ws",Q=this.query||{};return this.opts.timestampRequests&&(Q[this.opts.timestampParam]=Oe()),this.supportsBinary||(Q.b64=1),this.createUri(H,Q)}}const Ee=ee.WebSocket||ee.MozWebSocket;class se extends tn{createSocket(H,Q,Te){return ct?new Ee(H,Q,Te):Q?new Ee(H,Q):new Ee(H)}doWrite(H,Q){this.ws.send(Q)}}class be extends ht{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(H){return this.emitReserved("error",H)}this._transport.closed.then(()=>{this.onClose()}).catch(H=>{this.onError("webtransport error",H)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(H=>{const Q=function V(ne,H){me||(me=new TextDecoder);const Q=[];let Te=0,lt=-1,Pt=!1;return new TransformStream({transform(Sn,Kn){for(Q.push(Sn);;){if(0===Te){if(xe(Q)<1)break;const Ht=$(Q,1);Pt=!(128&~Ht[0]),lt=127&Ht[0],Te=lt<126?3:126===lt?1:2}else if(1===Te){if(xe(Q)<2)break;const Ht=$(Q,2);lt=new DataView(Ht.buffer,Ht.byteOffset,Ht.length).getUint16(0),Te=3}else if(2===Te){if(xe(Q)<8)break;const Ht=$(Q,8),Jn=new DataView(Ht.buffer,Ht.byteOffset,Ht.length),ci=Jn.getUint32(0);if(ci>Math.pow(2,21)-1){Kn.enqueue(h);break}lt=ci*Math.pow(2,32)+Jn.getUint32(4),Te=3}else{if(xe(Q)<lt)break;const Ht=$(Q,lt);Kn.enqueue(N(Pt?Ht:me.decode(Ht),H)),Te=0}if(0===lt||lt>ne){Kn.enqueue(h);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),Te=H.readable.pipeThrough(Q).getReader(),lt=function ve(){return new TransformStream({transform(ne,H){!function l(ne,H){v&&ne.data instanceof Blob?ne.data.arrayBuffer().then(E).then(H):_&&(ne.data instanceof ArrayBuffer||m(ne.data))?H(E(ne.data)):p(ne,!1,Q=>{C||(C=new TextEncoder),H(C.encode(Q))})}(ne,Q=>{const Te=Q.length;let lt;if(Te<126)lt=new Uint8Array(1),new DataView(lt.buffer).setUint8(0,Te);else if(Te<65536){lt=new Uint8Array(3);const Pt=new DataView(lt.buffer);Pt.setUint8(0,126),Pt.setUint16(1,Te)}else{lt=new Uint8Array(9);const Pt=new DataView(lt.buffer);Pt.setUint8(0,127),Pt.setBigUint64(1,BigInt(Te))}ne.data&&"string"!=typeof ne.data&&(lt[0]|=128),H.enqueue(lt),H.enqueue(Q)})}})}();lt.readable.pipeTo(H.writable),this._writer=lt.writable.getWriter();const Pt=()=>{Te.read().then(({done:Kn,value:Ht})=>{Kn||(this.onPacket(Ht),Pt())}).catch(Kn=>{})};Pt();const Sn={type:"open"};this.query.sid&&(Sn.data=`{"sid":"${this.query.sid}"}`),this._writer.write(Sn).then(()=>this.onOpen())})})}write(H){this.writable=!1;for(let Q=0;Q<H.length;Q++){const lt=Q===H.length-1;this._writer.write(H[Q]).then(()=>{lt&&re(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var H;null===(H=this._transport)||void 0===H||H.close()}}const je={websocket:se,webtransport:be,polling:we},ft=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,kt=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Yt(ne){if(ne.length>8e3)throw"URI too long";const H=ne,Q=ne.indexOf("["),Te=ne.indexOf("]");-1!=Q&&-1!=Te&&(ne=ne.substring(0,Q)+ne.substring(Q,Te).replace(/:/g,";")+ne.substring(Te,ne.length));let lt=ft.exec(ne||""),Pt={},Sn=14;for(;Sn--;)Pt[kt[Sn]]=lt[Sn]||"";return-1!=Q&&-1!=Te&&(Pt.source=H,Pt.host=Pt.host.substring(1,Pt.host.length-1).replace(/;/g,":"),Pt.authority=Pt.authority.replace("[","").replace("]","").replace(/;/g,":"),Pt.ipv6uri=!0),Pt.pathNames=function yn(ne,H){const Te=H.replace(/\/{2,9}/g,"/").split("/");return("/"==H.slice(0,1)||0===H.length)&&Te.splice(0,1),"/"==H.slice(-1)&&Te.splice(Te.length-1,1),Te}(0,Pt.path),Pt.queryKey=function ln(ne,H){const Q={};return H.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(Te,lt,Pt){lt&&(Q[lt]=Pt)}),Q}(0,Pt.query),Pt}const Mn="function"==typeof addEventListener&&"function"==typeof removeEventListener,An=[];Mn&&addEventListener("offline",()=>
vendor: 7,288 bytes, line 1
1{An.forEach(ne=>ne())},!1);let un=(()=>{class ne extends z{constructor(Q,Te){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,Q&&"object"==typeof Q&&(Te=Q,Q=null),Q){const lt=Yt(Q);Te.hostname=lt.host,Te.secure="https"===lt.protocol||"wss"===lt.protocol,Te.port=lt.port,lt.query&&(Te.query=lt.query)}else Te.host&&(Te.hostname=Yt(Te.host).host);ye(this,Te),this.secure=null!=Te.secure?Te.secure:typeof location<"u"&&"https:"===location.protocol,Te.hostname&&!Te.port&&(Te.port=this.secure?"443":"80"),this.hostname=Te.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=Te.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},Te.transports.forEach(lt=>{const Pt=lt.prototype.name;this.transports.push(Pt),this._transportsByName[Pt]=lt}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},Te),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function Qe(ne){let H={},Q=ne.split("&");for(let Te=0,lt=Q.length;Te<lt;Te++){let Pt=Q[Te].split("=");H[decodeURIComponent(Pt[0])]=decodeURIComponent(Pt[1])}return H}(this.opts.query)),Mn&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},An.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(Q){const Te=Object.assign({},this.opts.query);Te.EIO=4,Te.transport=Q,this.id&&(Te.sid=this.id);const lt=Object.assign({},this.opts,{query:Te,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[Q]);return new this._transportsByName[Q](lt)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);const Q=this.opts.rememberUpgrade&&ne.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";const Te=this.createTransport(Q);Te.open(),this.setTransport(Te)}setTransport(Q){this.transport&&this.transport.removeAllListeners(),this.transport=Q,Q.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",Te=>this._onClose("transport close",Te))}onOpen(){this.readyState="open",ne.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(Q){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",Q),this.emitReserved("heartbeat"),Q.type){case"open":this.onHandshake(JSON.parse(Q.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const Te=new Error("server error");Te.code=Q.data,this._onError(Te);break;case"message":this.emitReserved("data",Q.data),this.emitReserved("message",Q.data)}}onHandshake(Q){this.emitReserved("handshake",Q),this.id=Q.sid,this.transport.query.sid=Q.sid,this._pingInterval=Q.pingInterval,this._pingTimeout=Q.pingTimeout,this._maxPayload=Q.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const Q=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+Q,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},Q),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const Q=this._getWritablePackets();this.transport.send(Q),this._prevBufferLen=Q.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let Te=1;for(let lt=0;lt<this.writeBuffer.length;lt++){const Pt=this.writeBuffer[lt].data;if(Pt&&(Te+=Me(Pt)),lt>0&&Te>this._maxPayload)return this.writeBuffer.slice(0,lt);Te+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const Q=Date.now()>this._pingTimeoutTime;return Q&&(this._pingTimeoutTime=0,re(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),Q}write(Q,Te,lt){return this._sendPacket("message",Q,Te,lt),this}send(Q,Te,lt){return this._sendPacket("message",Q,Te,lt),this}_sendPacket(Q,Te,lt,Pt){if("function"==typeof Te&&(Pt=Te,Te=void 0),"function"==typeof lt&&(Pt=lt,lt=null),"closing"===this.readyState||"closed"===this.readyState)return;(lt=lt||{}).compress=!1!==lt.compress;const Sn={type:Q,data:Te,options:lt};this.emitReserved("packetCreate",Sn),this.writeBuffer.push(Sn),Pt&&this.once("flush",Pt),this.flush()}close(){const Q=()=>{this._onClose("forced close"),this.transport.close()},Te=()=>{this.off("upgrade",Te),this.off("upgradeError",Te),Q()},lt=()=>{this.once("upgrade",Te),this.once("upgradeError",Te)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?lt():Q()}):this.upgrading?lt():Q()),this}_onError(Q){if(ne.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",Q),this._onClose("transport error",Q)}_onClose(Q,Te){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Mn&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const lt=An.indexOf(this._offlineEventListener);-1!==lt&&An.splice(lt,1)}this.readyState="closed",this.id=null,this.emitReserved("close",Q,Te),this.writeBuffer=[],this._prevBufferLen=0}}}return ne.protocol=4,ne})();class wn extends un{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let H=0;H<this._upgrades.length;H++)this._probe(this._upgrades[H])}_probe(H){let Q=this.createTransport(H),Te=!1;un.priorWebsocketSuccess=!1;const lt=()=>{Te||(Q.send([{type:"ping",data:"probe"}]),Q.once("packet",ji=>{if(!Te)if("pong"===ji.type&&"probe"===ji.data){if(this.upgrading=!0,this.emitReserved("upgrading",Q),!Q)return;un.priorWebsocketSuccess="websocket"===Q.name,this.transport.pause(()=>{Te||"closed"!==this.readyState&&(ci(),this.setTransport(Q),Q.send([{type:"upgrade"}
1]),this.emitReserved("upgrade",Q),Q=null,this.upgrading=!1,this.flush())})}else{const qi=new Error("probe error");qi.transport=Q.name,this.emitReserved("upgradeError",qi)}}))};function Pt(){Te||(Te=!0,ci(),Q.close(),Q=null)}const Sn=ji=>{const qi=new Error("probe error: "+ji);qi.transport=Q.name,Pt(),this.emitReserved("upgradeError",qi)};function Kn(){Sn("transport closed")}function Ht(){Sn("socket closed")}function Jn(ji){Q&&ji.name!==Q.name&&Pt()}const ci=()=>{Q.removeListener("open",lt),Q.removeListener("error",Sn),Q.removeListener("close",Kn),this.off("close",Ht),this.off("upgrading",Jn)};Q.once("open",lt),Q.once("error",Sn),Q.once("close",Kn),this.once("close",Ht),this.once("upgrading",Jn),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==H?this.setTimeoutFn(()=>{Te||Q.open()},200):Q.open()}onHandshake(H){this._upgrades=this._filterUpgrades(H.upgrades),super.onHandshake(H)}_filterUpgrades(H){const Q=[];for(let Te=0;Te<H.length;Te++)~this.transports.indexOf(H[Te])&&Q.push(H[Te]);return Q}}class Xn extends wn{constructor(H,Q={}){const Te="object"==typeof H?H:Q;(!Te.transports||Te.transports&&"string"==typeof Te.transports[0])&&(Te.transports=(Te.transports||["polling","websocket","webtransport"]).map(lt=>je[lt]).filter(lt=>!!lt)),super(H,Te)}}class vt extends mt{doPoll(){this._fetch().then(H=>{if(!H.ok)return this.onError("fetch read error",H.status,H);H.text().then(Q=>this.onData(Q))}).catch(H=>{this.onError("fetch read error",H)})}doWrite(H,Q){this._fetch(H).then(Te=>{if(!Te.ok)return this.onError("fetch write error",Te.status,Te);Q()}).catch(Te=>{this.onError("fetch write error",Te)})}_fetch(H){var Q;const Te=void 0!==H,lt=new Headers(this.opts.extraHeaders);return Te&<.set("content-type","text/plain;charset=UTF-8"),null===(Q=this.socket._cookieJar)||void 0===Q||Q.appendCookies(lt),fetch(this.uri(),{method:Te?"POST":"GET",body:Te?H:null,headers:lt,credentials:this.opts.withCredentials?"include":"omit"}).then(Pt=>{var Sn;return null===(Sn=this.socket._cookieJar)||void 0===Sn||Sn.parseCookies(Pt.headers.getSetCookie()),Pt})}}const on="function"==typeof ArrayBuffer,Gt=ne=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(ne):ne.buffer instanceof ArrayBuffer,Qn=Object.prototype.toString,Ct="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Qn.call(Blob),ut="function"==typeof File||typeof File<"u"&&"[object FileConstructor]"===Qn.call(File);function Xe(ne){return on&&(ne instanceof ArrayBuffer||Gt(ne))||Ct&&ne instanceof Blob||ut&&ne instanceof File}function qe(ne,H){if(!ne||"object"!=typeof ne)return!1;if(Array.isArray(ne)){for(let Q=0,Te=ne.length;Q<Te;Q++)if(qe(ne[Q]))return!0;return!1}if(Xe(ne))return!0;if(ne.toJSON&&"function"==typeof ne.toJSON&&1===arguments.length)return qe(ne.toJSON(),!0);for(const Q in ne)if(Object.prototype.hasOwnProperty.call(ne,Q)&&qe(ne[Q]))return!0;return!1}function Bt(ne){const H=[],Te=ne;return Te.data=St(ne.data,H),Te.attachments=H.length,{packet:Te,buffers:H}}function St(ne,H){if(!ne)return ne;if(Xe(ne)){const Q={_placeholder:!0,num:H.length};return H.push(ne),Q}if(Array.isArray(ne)){const Q=new Array(ne.length);for(let Te=0;Te<ne.length;Te++)Q[Te]=St(ne[Te],H);return Q}if("object"==typeof ne&&!(ne instanceof Date)){const Q={};for(const Te in ne)Object.prototype.hasOwnProperty.call(ne,Te)&&(Q[Te]=St(ne[Te],H));return Q}return ne}function Rt(ne,H){return ne.data=Lt(ne.data,H),delete ne.attachments,ne}function Lt(ne,H){if(!ne)return ne;if(ne&&!0===ne._placeholder){if("number"==typeof ne.num&&ne.num>=0&&ne.num<H.length)return H[ne.num];throw new Error("illegal attachments")}if(Array.isArray(ne))for(let Q=0;Q<ne.length;Q++)ne[Q]=Lt(ne[Q],H);else if("object"==typeof ne)for(const Q in ne)Object.prototype.hasOwnProperty.call(ne,Q)&&(ne[Q]=Lt(ne[Q],H));return ne}const fn=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],cn=5;var Kt=function(ne){return ne[ne.CONNECT=0]="CONNECT",ne[ne.DISCONNECT=1]="DISCONNECT",ne[ne.EVENT=2]="EVENT",ne[ne.ACK=3]="ACK",ne[ne.CONNECT_ERROR=4]="CONNECT_ERROR",ne[ne.BINARY_EVENT=5]="BINARY_EVENT",ne[ne.BINARY_ACK=6]="BINARY_ACK",ne}(Kt||{});
vendor: 5,237 bytes, line 1
1class Ue{constructor(H){this.replacer=H}encode(H){return H.type!==Kt.EVENT&&H.type!==Kt.ACK||!qe(H)?[this.encodeAsString(H)]:this.encodeAsBinary({type:H.type===Kt.EVENT?Kt.BINARY_EVENT:Kt.BINARY_ACK,nsp:H.nsp,data:H.data,id:H.id})}encodeAsString(H){let Q=""+H.type;return(H.type===Kt.BINARY_EVENT||H.type===Kt.BINARY_ACK)&&(Q+=H.attachments+"-"),H.nsp&&"/"!==H.nsp&&(Q+=H.nsp+","),null!=H.id&&(Q+=H.id),null!=H.data&&(Q+=JSON.stringify(H.data,this.replacer)),Q}encodeAsBinary(H){const Q=Bt(H),Te=this.encodeAsString(Q.packet),lt=Q.buffers;return lt.unshift(Te),lt}}function at(ne){return"[object Object]"===Object.prototype.toString.call(ne)}class xt extends z{constructor(H){super(),this.reviver=H}add(H){let Q;if("string"==typeof H){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");Q=this.decodeString(H);const Te=Q.type===Kt.BINARY_EVENT;Te||Q.type===Kt.BINARY_ACK?(Q.type=Te?Kt.EVENT:Kt.ACK,this.reconstructor=new Zt(Q),0===Q.attachments&&super.emitReserved("decoded",Q)):super.emitReserved("decoded",Q)}else{if(!Xe(H)&&!H.base64)throw new Error("Unknown type: "+H);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");Q=this.reconstructor.takeBinaryData(H),Q&&(this.reconstructor=null,super.emitReserved("decoded",Q))}}decodeString(H){let Q=0;const Te={type:Number(H.charAt(0))};if(void 0===Kt[Te.type])throw new Error("unknown packet type "+Te.type);if(Te.type===Kt.BINARY_EVENT||Te.type===Kt.BINARY_ACK){const Pt=Q+1;for(;"-"!==H.charAt(++Q)&&Q!=H.length;);const Sn=H.substring(Pt,Q);if(Sn!=Number(Sn)||"-"!==H.charAt(Q))throw new Error("Illegal attachments");Te.attachments=Number(Sn)}if("/"===H.charAt(Q+1)){const Pt=Q+1;for(;++Q&&","!==H.charAt(Q)&&Q!==H.length;);Te.nsp=H.substring(Pt,Q)}else Te.nsp="/";const lt=H.charAt(Q+1);if(""!==lt&&Number(lt)==lt){const Pt=Q+1;for(;++Q;){const Sn=H.charAt(Q);if(null==Sn||Number(Sn)!=Sn){--Q;break}if(Q===H.length)break}Te.id=Number(H.substring(Pt,Q+1))}if(H.charAt(++Q)){const Pt=this.tryParse(H.substr(Q));if(!xt.isPayloadValid(Te.type,Pt))throw new Error("invalid payload");Te.data=Pt}return Te}tryParse(H){try{return JSON.parse(H,this.reviver)}catch{return!1}}static isPayloadValid(H,Q){switch(H){case Kt.CONNECT:return at(Q);case Kt.DISCONNECT:return void 0===Q;case Kt.CONNECT_ERROR:return"string"==typeof Q||at(Q);case Kt.EVENT:case Kt.BINARY_EVENT:return Array.isArray(Q)&&("number"==typeof Q[0]||"string"==typeof Q[0]&&-1===fn.indexOf(Q[0]));case Kt.ACK:case Kt.BINARY_ACK:return Array.isArray(Q)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Zt{constructor(H){this.packet=H,this.buffers=[],this.reconPack=H}takeBinaryData(H){if(this.buffers.push(H),this.buffers.length===this.reconPack.attachments){const Q=Rt(this.reconPack,this.buffers);return this.finishedReconstruction(),Q}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function rn(ne,H,Q){return ne.on(H,Q),function(){ne.off(H,Q)}}const dn=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class sn extends z{constructor(H,Q,Te){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=H,this.nsp=Q,Te&&Te.auth&&(this.auth=Te.auth),this._opts=Object.assign({},Te),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const H=this.io;this.subs=[rn(H,"open",this.onopen.bind(this)),rn(H,"packet",this.onpacket.bind(this)),rn(H,"error",this.onerror.bind(this)),rn(H,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...H){return H.unshift("message"),this.emit.apply(this,H),this}emit(H,...Q){var Te,lt,Pt;if(dn.hasOwnProperty(H))throw new Error('"'+H.toString()+'" is a reserved event name');if(Q.unshift(H),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(Q),this;const Sn={type:Kt.EVENT,data:Q,options:{}};if(Sn.options.compress=!1!==this.flags.compress,"function"==typeof Q[Q.length-1]){const ci=this.ids++,ji=Q.pop();this._registerAckCallback(ci,ji),Sn.id=ci}const Kn=null===(lt=null===(Te=this.io.engine)||void 0===Te?void 0:Te.transport)||void 0===lt?void 0:lt.writable,Ht=this.connected&&!(null!==(Pt=this.io.engine)&&void 0!==Pt&&Pt._hasPingExpired());return this.flags.volatile&&!Kn||(Ht?(this.notifyOutgoingListeners(Sn),this.packet(Sn)):this.sendBuffer.push(Sn)),this.flags={},this}_registerAckCallback(H,Q){var Te;const lt=null!==(Te=this.flags.timeout)&&void 0!==Te?Te:this._opts.ackTimeout;if(void 0===lt)return void(this.acks[H]=Q);const Pt=this.io.setTimeoutFn(()=>{delete this.acks[H];for(let Kn=0;Kn<this.sendBuffer.length;Kn++)this.sendBuffer[Kn].id===H&&this.sendBuffer.splice(Kn,1);Q.call(this,new Error("operation has timed out"))},lt),Sn=(...Kn)=>{this.io.clearTimeoutFn(Pt),Q.apply(this,Kn)};Sn.withError=!0,this.acks[H]=Sn}emitWithAck(H,...Q){return new Promise((Te,lt)=>{const Pt=(Sn,Kn)=>
vendor: 8,258 bytes, line 1
1Sn?lt(Sn):Te(Kn);Pt.withError=!0,Q.push(Pt),this.emit(H,...Q)})}_addToQueue(H){let Q;"function"==typeof H[H.length-1]&&(Q=H.pop());const Te={id:this._queueSeq++,tryCount:0,pending:!1,args:H,flags:Object.assign({fromQueue:!0},this.flags)};H.push((lt,...Pt)=>Te!==this._queue[0]?void 0:(null!==lt?Te.tryCount>this._opts.retries&&(this._queue.shift(),Q&&Q(lt)):(this._queue.shift(),Q&&Q(null,...Pt)),Te.pending=!1,this._drainQueue())),this._queue.push(Te),this._drainQueue()}_drainQueue(H=!1){if(!this.connected||0===this._queue.length)return;const Q=this._queue[0];Q.pending&&!H||(Q.pending=!0,Q.tryCount++,this.flags=Q.flags,this.emit.apply(this,Q.args))}packet(H){H.nsp=this.nsp,this.io._packet(H)}onopen(){"function"==typeof this.auth?this.auth(H=>{this._sendConnectPacket(H)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(H){this.packet({type:Kt.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},H):H})}onerror(H){this.connected||this.emitReserved("connect_error",H)}onclose(H,Q){this.connected=!1,delete this.id,this.emitReserved("disconnect",H,Q),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(H=>{if(!this.sendBuffer.some(Te=>String(Te.id)===H)){const Te=this.acks[H];delete this.acks[H],Te.withError&&Te.call(this,new Error("socket has been disconnected"))}})}onpacket(H){if(H.nsp===this.nsp)switch(H.type){case Kt.CONNECT:H.data&&H.data.sid?this.onconnect(H.data.sid,H.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Kt.EVENT:case Kt.BINARY_EVENT:this.onevent(H);break;case Kt.ACK:case Kt.BINARY_ACK:this.onack(H);break;case Kt.DISCONNECT:this.ondisconnect();break;case Kt.CONNECT_ERROR:this.destroy();const Te=new Error(H.data.message);Te.data=H.data.data,this.emitReserved("connect_error",Te)}}onevent(H){const Q=H.data||[];null!=H.id&&Q.push(this.ack(H.id)),this.connected?this.emitEvent(Q):this.receiveBuffer.push(Object.freeze(Q))}emitEvent(H){if(this._anyListeners&&this._anyListeners.length){const Q=this._anyListeners.slice();for(const Te of Q)Te.apply(this,H)}super.emit.apply(this,H),this._pid&&H.length&&"string"==typeof H[H.length-1]&&(this._lastOffset=H[H.length-1])}ack(H){const Q=this;let Te=!1;return function(...lt){Te||(Te=!0,Q.packet({type:Kt.ACK,id:H,data:lt}))}}onack(H){const Q=this.acks[H.id];"function"==typeof Q&&(delete this.acks[H.id],Q.withError&&H.data.unshift(null),Q.apply(this,H.data))}onconnect(H,Q){this.id=H,this.recovered=Q&&this._pid===Q,this._pid=Q,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(H=>this.emitEvent(H)),this.receiveBuffer=[],this.sendBuffer.forEach(H=>{this.notifyOutgoingListeners(H),this.packet(H)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(H=>H()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Kt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(H){return this.flags.compress=H,this}get volatile(){return this.flags.volatile=!0,this}timeout(H){return this.flags.timeout=H,this}onAny(H){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(H),this}prependAny(H){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(H),this}offAny(H){if(!this._anyListeners)return this;if(H){const Q=this._anyListeners;for(let Te=0;Te<Q.length;Te++)if(H===Q[Te])return Q.splice(Te,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(H){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(H),this}prependAnyOutgoing(H){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(H),this}offAnyOutgoing(H){if(!this._anyOutgoingListeners)return this;if(H){const Q=this._anyOutgoingListeners;for(let Te=0;Te<Q.length;Te++)if(H===Q[Te])return Q.splice(Te,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(H){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const Q=this._anyOutgoingListeners.slice();for(const Te of Q)Te.apply(this,H.data)}}}function ai(ne){this.ms=(ne=ne||{}).min||100,this.max=ne.max||1e4,this.factor=ne.factor||2,this.jitter=ne.jitter>0&&ne.jitter<=1?ne.jitter:0,this.attempts=0}ai.prototype.duration=function(){var ne=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var H=Math.random(),Q=Math.floor(H*this.jitter*ne);ne=1&Math.floor(10*H)?ne+Q:ne-Q}return 0|Math.min(ne,this.max)},ai.prototype.reset=function(){this.attempts=0},ai.prototype.setMin=function(ne){this.ms=ne},ai.prototype.setMax=function(ne){this.max=ne},ai.prototype.setJitter=function(ne){this.jitter=ne};class _i extends z{constructor(H,Q){var Te;super(),this.nsps={},this.subs=[],H&&"object"==typeof H&&(Q=H,H=void 0),(Q=Q||{}).path=Q.path||"/socket.io",this.opts=Q,ye(this,Q),this.reconnection(!1!==Q.reconnection),this.reconnectionAttempts(Q.reconnectionAttempts||1/0),this.reconnectionDelay(Q.reconnectionDelay||1e3),this.reconnectionDelayMax(Q.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(Te=Q.randomizationFactor)&&void 0!==Te?Te:.5),this.backoff=new ai({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==Q.timeout?2e4:Q.timeout),this._readyState="closed",this.uri=H;const lt=Q.parser||o;this.encoder=new lt.Encoder,this.decoder=new lt.Decoder,this._autoConnect=!1!==Q.autoConnect,this._autoConnect&&this.open()}reconnection(H){return arguments.length?(this._reconnection=!!H,H||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(H){return void 0===H?this._reconnectionAttempts:(this._reconnectionAttempts=H,this)}reconnectionDelay(H){var Q;return void 0===H?this._reconnectionDelay:(this._reconnectionDelay=H,null===(Q=this.backoff)||void 0===Q||Q.setMin(H),this)}randomizationFactor(H){var Q;return void 0===H?this._randomizationFactor:(this._randomizationFactor=H,null===(Q=this.backoff)||void 0===Q||Q.setJitter(H),this)}reconnectionDelayMax(H){var Q;return void 0===H?this._reconnectionDelayMax:(this._reconnectionDelayMax=H,null===(Q=this.backoff)||void 0===Q||Q.setMax(H),this)}timeout(H){return arguments.length?(this._timeout=H,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(H){if(~this._readyState.indexOf("open"))return this;this.engine=new Xn(this.uri,this.opts);const Q=this.engine,Te=this;this._readyState="opening",this.skipReconnect=!1;const lt=rn(Q,"open",function(){Te.onopen(),H&&H()}),Pt=Kn=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",Kn),H?H(Kn):this.maybeReconnectOnOpen()},Sn=rn(Q,"error",Pt);if(!1!==this._timeout){const Ht=this.setTimeoutFn(()=>{lt(),Pt(new Error("timeout")),Q.close()},this._timeout);this.opts.autoUnref&&Ht.unref(),this.subs.push(()=>{this.clearTimeoutFn(Ht)})}return this.subs.push(lt),this.subs.push(Sn),this}connect(H){return this.open(H)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const H=this.engine;this.subs.push(rn(H,"ping",this.onping.bind(this)),rn(H,"data",this.ondata.bind(this)),rn(H,"error",this.onerror.bind(this)),rn(H,"close",this.onclose.bind(this)),rn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(H){try{this.decoder.add(H)}catch(Q){this.onclose("parse error",Q)}}ondecoded(H){re(()=>{this.emitReserved("packet",H)},this.setTimeoutFn)}onerror(H){this.emitReserved("error",H)}socket(H,Q){let Te=this.nsps[H];return Te?this._autoConnect&&!Te.active&&Te.connect():(Te=new sn(this,H,Q),this.nsps[H]=Te),Te}_destroy(H){const Q=Object.keys(this.nsps);for(const Te of Q)if(this.nsps[Te].active)return;this._close()}_packet(H){const Q=this.encoder.encode(H);for(let Te=0;Te<Q.length;Te++)this.engine.write(Q[Te],H.options)}
1cleanup(){this.subs.forEach(H=>H()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(H,Q){var Te;this.cleanup(),null===(Te=this.engine)||void 0===Te||Te.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",H,Q),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const H=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const Q=this.backoff.duration();this._reconnecting=!0;const Te=this.setTimeoutFn(()=>{H.skipReconnect||(this.emitReserved("reconnect_attempt",H.backoff.attempts),!H.skipReconnect&&H.open(lt=>{lt?(H._reconnecting=!1,H.reconnect(),this.emitReserved("reconnect_error",lt)):H.onreconnect()}))},Q);this.opts.autoUnref&&Te.unref(),this.subs.push(()=>{this.clearTimeoutFn(Te)})}}onreconnect(){const H=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",H)}}const pn={};function Pn(ne,H){"object"==typeof ne&&(H=ne,ne=void 0);const Q=function ze(ne,H="",Q){let Te=ne;Q=Q||typeof location<"u"&&location,null==ne&&(ne=Q.protocol+"//"+Q.host),"string"==typeof ne&&("/"===ne.charAt(0)&&(ne="/"===ne.charAt(1)?Q.protocol+ne:Q.host+ne),/^(https?|wss?):\/\//.test(ne)||(ne=typeof Q<"u"?Q.protocol+"//"+ne:"https://"+ne),Te=Yt(ne)),Te.port||(/^(http|ws)$/.test(Te.protocol)?Te.port="80":/^(http|ws)s$/.test(Te.protocol)&&(Te.port="443")),Te.path=Te.path||"/";const Pt=-1!==Te.host.indexOf(":")?"["+Te.host+"]":Te.host;return Te.id=Te.protocol+"://"+Pt+":"+Te.port+H,Te.href=Te.protocol+"://"+Pt+(Q&&Q.port===Te.port?"":":"+Te.port),Te}(ne,(H=H||{}).path||"/socket.io"),Te=Q.source,lt=Q.id;let Ht;return H.forceNew||H["force new connection"]||!1===H.multiplex||pn[lt]&&Q.path in pn[lt].nsps?Ht=new _i(Te,H):(pn[lt]||(pn[lt]=new _i(Te,H)),Ht=pn[lt]),Q.query&&!H.query&&(H.query=Q.queryKey),Ht.socket(Q.path,H)}Object.assign(Pn,{Manager:_i,Socket:sn,io:Pn,connect:Pn})},10467:(he,M,r)=>{"use strict";function o(d,h,v,_,m,p,u){try{var E=d[p](u),C=E.value}catch(l){return void v(l)}E.done?h(C):Promise.resolve(C).then(_,m)}function i(d){return function(){var h=this,v=arguments;return new Promise(function(_,m){var p=d.apply(h,v);function u(C){o(p,_,m,u,E,"next",C)}function E(C){o(p,_,m,u,E,"throw",C)}u(void 0)})}}r.d(M,{A:()=>i})},31635:(he,M,r)=>{"use strict";function v(ge,ye,Pe,Me){var tt,We=arguments.length,Oe=We<3?ye:null===Me?Me=Object.getOwnPropertyDescriptor(ye,Pe):Me;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Oe=Reflect.decorate(ge,ye,Pe,Me);else for(var Qe=ge.length-1;Qe>=0;Qe--)(tt=ge[Qe])&&(Oe=(We<3?tt(Oe):We>3?tt(ye,Pe,Oe):tt(ye,Pe))||Oe);return We>3&&Oe&&Object.defineProperty(ye,Pe,Oe),Oe}r.d(M,{Cg:()=>v}),"function"==typeof SuppressedError&&SuppressedError}},he=>{he(he.s=29148)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.