(self.webpackChunkh5_mcw=self.webpackChunkh5_mcw||[]).push([[8792],{89358:(Be,K,l)=>{"use strict";l.d(K,{S:()=>jn,R:()=>os});var s=l(54438),h=l(30617),e=l(69506),u=l(51066),m=l(51544),C=l(78922),w=l(78325),M=l(84412),b=l(71522),x=l(60328),B=l(20753),Y=l(78382),j=l(78530),ve=l(94768),oe=l(20464),H=l(60177),ae=l(41842),pe=l(65210),de=l(51188);function Pe(Ae,Dt){if(1&Ae&&(s.j41(0,"a",7),s.nrm(1,"img",8),s.k0s()),2&Ae){const Te=s.XpG().$implicit;s.Y8G("href",Te.imageLink,s.B4B),s.R7$(),s.Y8G("mcdSrc",Te.imagePath)("alt",Te.imageAlt),s.BMQ("fetchpriority","low")}}function W(Ae,Dt){if(1&Ae&&(s.j41(0,"a",10),s.nrm(1,"img",8),s.k0s()),2&Ae){const Te=s.XpG(2).$implicit;s.Y8G("routerLink",Te.routerLink),s.R7$(),s.Y8G("mcdSrc",Te.imagePath)("alt",Te.imageAlt),s.BMQ("fetchpriority","low")}}function J(Ae,Dt){if(1&Ae&&s.DNE(0,W,2,4,"a",9),2&Ae){const Te=s.XpG().$implicit,Ye=s.sdS(6);s.Y8G("ngIf",Te.routerLink)("ngIfElse",Ye)}}function te(Ae,Dt){if(1&Ae){const Te=s.RV6();s.j41(0,"img",11),s.bIt("load",function(pn){s.eBV(Te);const Ke=s.XpG().$implicit,Nn=s.XpG(3);return s.Njj(Nn.onImageLoad(pn,Ke.imagePath))}),s.k0s()}if(2&Ae){const Te=s.XpG().$implicit,Ye=s.XpG(3);s.xc7("aspect-ratio",null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].width&&null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].height?(null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].width)+"/"+(null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].height):null),s.Y8G("mcdSrc",Te.imagePath),s.BMQ("fetchpriority","low")("fetchpriority","low")("width",null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].width?null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].width:null)("height",null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].height?null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].height:null)}}function q(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"li"),s.DNE(2,Pe,2,4,"a",6)(3,J,1,2,"ng-template",null,0,s.C5r)(5,te,1,7,"ng-template",null,1,s.C5r),s.k0s(),s.bVm()),2&Ae){const Te=Dt.$implicit,Ye=s.sdS(4);s.R7$(2),s.Y8G("ngIf",Te.imageLink)("ngIfElse",Ye)}}function $(Ae,Dt){if(1&Ae&&(s.j41(0,"div",4)(1,"h2"),s.EFF(2),s.k0s(),s.j41(3,"ul"),s.DNE(4,q,7,2,"ng-container",5),s.k0s()()),2&Ae){const Te=s.XpG().$implicit,Ye=s.XpG();s.Y8G("ngClass",Ye.footerIconItem.type),s.R7$(2),s.JRh(Te(Ye.footerIconItem.title||"")),s.R7$(2),s.Y8G("ngForOf",Ye.footerIconItem.imageData)}}function Q(Ae,Dt){if(1&Ae&&(s.qex(0),s.DNE(1,$,5,3,"div",3),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(),s.Y8G("ngIf",Te.footerIconItem.imageData.length)}}let se=(()=>{class Ae{constructor(){this.cdr=(0,s.WQX)(s.gRc),this.footerIconItem={type:"",title:"",imageData:[]},this.imageSizeMap={}}onImageLoad(Te,Ye){const pn=Te.target;this.imageSizeMap[Ye]={width:pn.naturalWidth,height:pn.naturalHeight},this.cdr.detectChanges()}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-icon-list"]],inputs:{footerIconItem:"footerIconItem"},decls:1,vars:0,consts:[["routerLink",""],["anotherWord",""],[4,"transloco"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngFor","ngForOf"],["target","_blank",3,"href",4,"ngIf","ngIfElse"],["target","_blank",3,"href"],[3,"mcdSrc","alt"],[3,"routerLink",4,"ngIf","ngIfElse"],[3,"routerLink"],[3,"load","mcdSrc"]],template:function(Ye,pn){1&Ye&&s.DNE(0,Q,2,1,"ng-container",2)},dependencies:[H.YU,H.Sq,H.bT,ae.f,pe.h,de.Wk,oe.bA],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})}return Ae})();var Ee=l(65788),me=function(Ae){return Ae[Ae.FACEBOOK=0]="FACEBOOK",Ae[Ae.INSTAGRAM=1]="INSTAGRAM",Ae[Ae.TWITTER=2]="TWITTER",Ae[Ae.TELEGRAM=3]="TELEGRAM",Ae[Ae.LINE=4]="LINE",Ae[Ae.WHATSAPP=5]="WHATSAPP",Ae[Ae.ZALO=6]="ZALO",Ae[Ae.PINTEREST=7]="PINTEREST",Ae[Ae.YOUTUBE=8]="YOUTUBE",Ae[Ae.LIKEE=9]="LIKEE",Ae[Ae.IMO=10]="IMO",Ae[Ae.FORUM=11]="FORUM",Ae[Ae.TIKTOK=12]="TIKTOK",Ae[Ae.MOJ=13]="MOJ",Ae}(me||{});class je extends Ee.N{static#e=this._values=new Array;static#t=this.FACEBOOK=new je(me.FACEBOOK,"facebook");static#n=this.INSTAGRAM=new je(me.INSTAGRAM,"instagram");static#s=this.TWITTER=new je(me.TWITTER,"twitter");static#i=this.TELEGRAM=new je(me.TELEGRAM,"telegram-channel");static#o=this.LINE=new je(me.LINE,"line-for-business");static#r=this.WHATSAPP=new je(me.WHATSAPP,"whatsapp-channel");static#a=this.ZALO=new je(me.ZALO,"zalo");static#c=this.PINTEREST=new je(me.PINTEREST,"pinterest");static#l=this.YOUTUBE=new je(me.YOUTUBE,"youtube");static#u=this.LIKEE=new je(me.LIKEE,"likee");static#d=this.IMO=new je(me.IMO,"imo");static#h=this.FORUM=new je(me.FORUM,"forum");static#f=this.TIKTOK=new je(me.TIKTOK,"tiktok");static#p=this.MOJ=new je(me.MOJ,"moj");constructor(Dt,Te){super(Dt),this._value=Dt,this._displayName=Te,je.values.push(this)}static get values(){return this._values}static getInstanceOf(Dt){return this._values.find(Te=>Te._value===Dt)}get displayName(){return this._displayName}}var Qe=l(88141),Ot=l(91664);function mt(Ae,Dt){if(1&Ae){const Te=s.RV6();s.j41(0,"span",4),s.bIt("visibilityChange",function(pn){s.eBV(Te);const Ke=s.XpG(2);return s.Njj(Ke.visibilityChanged(pn))}),s.k0s()}}function Oe(Ae,Dt){if(1&Ae){const Te=s.RV6();s.j41(0,"a",9)(1,"img",10),s.bIt("load",function(pn){s.eBV(Te);const Ke=s.XpG().$implicit,Nn=s.XpG(4);return s.Njj(Nn.onImageLoad(pn,Ke.imagePath))}),s.k0s()()}if(2&Ae){const Te=s.XpG().$implicit,Ye=s.XpG(4);s.Y8G("href",Te.imageLink,s.B4B),s.R7$(),s.xc7("aspect-ratio",null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].width&&null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].height?(null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].width)+"/"+(null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].height):null),s.Y8G("mcdSrc",Te.imagePath)("alt",Te.imageAlt),s.BMQ("fetchpriority","low")("width",null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].width?null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].width:null)("height",null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].height?null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].height:null)}}function Re(Ae,Dt){if(1&Ae){const Te=s.RV6();s.j41(0,"img",11),s.bIt("load",function(pn){s.eBV(Te);const Ke=s.XpG().$implicit,Nn=s.XpG(4);return s.Njj(Nn.onImageLoad(pn,Ke.imagePath))}),s.k0s()}if(2&Ae){const Te=s.XpG().$implicit,Ye=s.XpG(4);s.xc7("aspect-ratio",null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].width&&null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].height?(null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].width)+"/"+(null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].height):null),s.Y8G("mcdSrc",Te.imagePath),s.BMQ("fetchpriority","low")("width",null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].width?null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].width:null)("height",null!=Ye.imageSizeMap[Te.imagePath]&&Ye.imageSizeMap[Te.imagePath].height?null==Ye.imageSizeMap[Te.imagePath]?null:Ye.imageSizeMap[Te.imagePath].height:null)}}function Ve(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"li"),s.DNE(2,Oe,2,8,"a",8)(3,Re,1,6,"ng-template",null,0,s.C5r),s.k0s(),s.bVm()),2&Ae){const Te=Dt.$implicit,Ye=s.sdS(4);s.R7$(2),s.Y8G("ngIf",Te.imageLink)("ngIfElse",Ye)}}function ye(Ae,Dt){if(1&Ae&&(s.j41(0,"div",6)(1,"h2"),s.EFF(2),s.k0s(),s.j41(3,"ul"),s.DNE(4,Ve,5,2,"ng-container",7),s.k0s()()),2&Ae){const Te=Dt.$implicit,Ye=s.XpG(2).$implicit;s.Y8G("ngClass",Te.type),s.R7$(2),s.JRh(Ye(Te.title)),s.R7$(2),s.Y8G("ngForOf",Te.imageData)}}function ht(Ae,Dt){if(1&Ae&&(s.qex(0),s.DNE(1,ye,5,3,"div",5),s.nI1(2,"async"),s.bVm()),2&Ae){const Te=s.XpG(2);s.R7$(),s.Y8G("ngForOf",s.bMT(2,1,Te.footerSocialMediaIcons$))}}function Ce(Ae,Dt){if(1&Ae&&(s.qex(0),s.DNE(1,mt,1,0,"span",2)(2,ht,3,3,"ng-container",3),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(),s.Y8G("ngIf",!Te.isGlanced),s.R7$(),s.Y8G("ngIf",Te.isGlanced)}}let We=(()=>{class Ae{constructor(Te,Ye,pn){this.message=Te,this.cdr=Ye,this.footerSocialMediaState=pn,this.footerSocialMediaIcons=[],this.hasSocialMediaData=new s.bkB,this.footerSocialMediaIcons$=new M.t([]),this.subscriptions=[],this.isGlanced=!1,this.imageSizeMap={},this.environment=(0,s.WQX)(x.E),this.getFooterSocialMediaIcons$=this.message.getSocialMedia().pipe((0,Qe.M)(Ke=>{if(0===Ke.length)return void this.hasSocialMediaData.emit(!1);const Es={type:"footer-social",title:"ui.global.text.community_website",imageData:[]};this.footerSocialMediaIcons.push(Es),Ke.forEach(rn=>{const Yi=je.getInstanceOf(rn.socialMediaType)?.displayName;Yi&&Es.imageData.push({imagePath:"/assets/images/footer/socialicons/"+Yi+".svg",imageLink:rn.link,imageAlt:Yi})}),this.footerSocialMediaIcons$.next(this.footerSocialMediaIcons),this.cdr.detectChanges()}))}ngOnInit(){this.isGlanced=!1}visibilityChanged(Te){"VISIBLE"===Te&&(this.isGlanced=!0,this.footerSocialMediaState.connect("footerSocialMedia",this.getFooterSocialMediaIcons$))}onImageLoad(Te,Ye){const pn=Te.target;this.imageSizeMap[Ye]={width:pn.naturalWidth,height:pn.naturalHeight},this.cdr.detectChanges()}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)(s.rXU(j.b),s.rXU(s.gRc),s.rXU(ve.Y))};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-social-media-list"]],inputs:{footerSocialMediaIcons:"footerSocialMediaIcons"},outputs:{hasSocialMediaData:"hasSocialMediaData"},decls:1,vars:0,consts:[["anotherWord",""],[4,"transloco"],["class","visibility-check-box","mcdVisibilityDetector","",3,"visibilityChange",4,"ngIf"],[4,"ngIf"],["mcdVisibilityDetector","",1,"visibility-check-box",3,"visibilityChange"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[4,"ngFor","ngForOf"],["target","_blank",3,"href",4,"ngIf","ngIfElse"],["target","_blank",3,"href"],[3,"load","mcdSrc","alt"],[3,"load","mcdSrc"]],template:function(Ye,pn){1&Ye&&s.DNE(0,Ce,3,2,"ng-container",1)},dependencies:[H.YU,H.Sq,H.bT,ae.f,pe.h,oe.bA,Ot.d,H.Jj],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})}return Ae})();function ut(Ae,Dt){if(1&Ae&&(s.j41(0,"a",6),s.EFF(1),s.k0s()),2&Ae){const Te=s.XpG().$implicit,Ye=s.XpG(2).$implicit;s.Y8G("href",Te.linkHref,s.B4B),s.R7$(),s.SpI(" ",Ye(Te.linkText)," ")}}function ft(Ae,Dt){if(1&Ae&&(s.j41(0,"a",7),s.EFF(1),s.k0s()),2&Ae){const Te=s.XpG().$implicit,Ye=s.XpG(2).$implicit;s.Y8G("routerLink",Te.routerLink),s.R7$(),s.SpI(" ",Ye(Te.linkText)," ")}}function vt(Ae,Dt){if(1&Ae&&(s.j41(0,"li"),s.DNE(1,ut,2,2,"a",5)(2,ft,2,2,"ng-template",null,0,s.C5r),s.k0s()),2&Ae){const Te=Dt.$implicit,Ye=s.sdS(3);s.R7$(),s.Y8G("ngIf",Te.linkHref)("ngIfElse",Ye)}}function Kt(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",3)(2,"h2"),s.EFF(3),s.k0s(),s.j41(4,"ul"),s.DNE(5,vt,4,2,"li",4),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG().$implicit,Ye=s.XpG();s.R7$(3),s.JRh(Te("ui.global.text.about_us")),s.R7$(2),s.Y8G("ngForOf",Ye.footerAboutUsLinks)}}function wt(Ae,Dt){if(1&Ae&&(s.qex(0),s.DNE(1,Kt,6,2,"ng-container",2),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(),s.Y8G("ngIf",Te.footerAboutUsLinks&&Te.footerAboutUsLinks.length>0)}}let tn=(()=>{class Ae{constructor(){this.footerAboutUsLinks=[]}ngOnInit(){}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-about-us"]],inputs:{footerAboutUsLinks:"footerAboutUsLinks"},decls:1,vars:0,consts:[["routerLink",""],[4,"transloco"],[4,"ngIf"],[1,"about-us"],[4,"ngFor","ngForOf"],["target","_blank",3,"href",4,"ngIf","ngIfElse"],["target","_blank",3,"href"],[3,"routerLink"]],template:function(Ye,pn){1&Ye&&s.DNE(0,wt,2,1,"ng-container",1)},dependencies:[H.Sq,H.bT,oe.bA,de.Wk],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})}return Ae})();var Wn=l(21413),pi=l(57786),Wt=l(70152),Zt=l(25558),dn=l(96354),Pt=l(65245),Ln=l(5964),dt=l(84572),fe=l(89079),_e=l(74851),Le=function(Ae){return Ae[Ae.MAIN=1]="MAIN",Ae[Ae.REGISTER=2]="REGISTER",Ae[Ae.PROMOTION=3]="PROMOTION",Ae[Ae.SPORTS=4]="SPORTS",Ae[Ae.CASINO=5]="CASINO",Ae[Ae.CARD=6]="CARD",Ae[Ae.FISHING=7]="FISHING",Ae[Ae.SLOT=8]="SLOT",Ae[Ae.TABLE=22]="TABLE",Ae[Ae.ARCADE=24]="ARCADE",Ae[Ae.LOTTERY=26]="LOTTERY",Ae[Ae.CRASH=27]="CRASH",Ae}(Le||{});class tt extends Ee.N{static#e=this._values=new Array;static#t=this.MAIN=new tt(Le.MAIN,[_e.C.MAIN,_e.C.EX_SPORT,_e.C.INDEX_CASINO,_e.C.HOME]);static#n=this.REGISTER=new tt(Le.REGISTER,[_e.C.REGISTER]);static#s=this.PROMOTION=new tt(Le.PROMOTION,[_e.C.PROMOTION]);static#i=this.SPORTS=new tt(Le.SPORTS,[]);static#o=this.CASINO=new tt(Le.CASINO,[_e.C.CASINO]);static#r=this.CARD=new tt(Le.CARD,[_e.C.CARD]);static#a=this.FISHING=new tt(Le.FISHING,[_e.C.FISHING]);static#c=this.SLOT=new tt(Le.SLOT,[_e.C.SLOT]);static#l=this.TABLE=new tt(Le.TABLE,[_e.C.TABLE]);static#u=this.ARCADE=new tt(Le.ARCADE,[_e.C.ARCADE]);static#d=this.LOTTERY=new tt(Le.LOTTERY,[_e.C.LOTTERY]);static#h=this.CRASH=new tt(Le.CRASH,[_e.C.CRASH]);constructor(Dt,Te){super(Dt),this._value=Dt,this._routingPath=Te,tt.values.push(this)}static get values(){return this._values}get routingPath(){return this._routingPath}static getInstanceOf(Dt){return this._values.find(Te=>Te._value===Dt)}}var nt=l(37996),St=l(89257);const Qt=["FooterSeoContent"],En=["FoldingLayer"];function yn(Ae,Dt){if(1&Ae&&(s.j41(0,"div")(1,"div",8),s.EFF(2),s.k0s(),s.nrm(3,"div",9),s.nI1(4,"safeHtml"),s.k0s()),2&Ae){const Te=Dt.$implicit;s.R7$(2),s.JRh(Te.title),s.R7$(),s.Y8G("innerHTML",s.bMT(4,2,Te.h5Content),s.npT)}}function On(Ae,Dt){if(1&Ae){const Te=s.RV6();s.j41(0,"button",10),s.bIt("click",function(){s.eBV(Te);const pn=s.XpG(4);return s.Njj(pn.toggleFolding())}),s.EFF(1),s.nI1(2,"async"),s.k0s()}if(2&Ae){const Te=s.XpG(3).$implicit,Ye=s.XpG();s.R7$(),s.JRh(s.bMT(2,1,Ye.isFolded)?Te("ui.global.text.show_more"):"Show Less")}}function Un(Ae,Dt){if(1&Ae&&(s.j41(0,"div",5,0),s.nI1(2,"async"),s.j41(3,"div",null,1),s.DNE(5,yn,5,4,"div",6),s.k0s(),s.DNE(6,On,3,3,"button",7),s.nI1(7,"async"),s.k0s()),2&Ae){const Te=s.XpG().ngIf,Ye=s.XpG(2);s.HbH(s.bMT(2,4,Ye.isFolded)?"folded":""),s.R7$(5),s.Y8G("ngForOf",Te),s.R7$(),s.Y8G("ngIf",!0===s.bMT(7,6,Ye.isShowFoldBtn))}}function Li(Ae,Dt){if(1&Ae&&(s.qex(0),s.DNE(1,Un,8,8,"div",4),s.bVm()),2&Ae){const Te=Dt.ngIf;s.R7$(),s.Y8G("ngIf",Te.length)}}function Rn(Ae,Dt){if(1&Ae&&(s.qex(0),s.DNE(1,Li,2,1,"ng-container",3),s.nI1(2,"async"),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(),s.Y8G("ngIf",s.bMT(2,1,Te.footerSeoContentsRendered$))}}let Ui=(()=>{class Ae{constructor(){this.siteSetting=(0,s.WQX)(h.p),this.messageService=(0,s.WQX)(j.b),this.router=(0,s.WQX)(de.Ix),this.cdr=(0,s.WQX)(s.gRc),this.footerSeoContentsRendered$=new M.t([]),this.isShowFoldBtn=new M.t(!0),this.isFolded=new M.t(!0),this.getData$=new Wn.B,this.getDataHandler$=(0,pi.h)(this.getData$,this.siteSetting.select("currentCurrencyType"),this.siteSetting.select("currentLanguageType")).pipe((0,fe.pQ)(),(0,Wt.B)(200),(0,Zt.n)(()=>this.messageService.getMessageByTypes()),(0,dn.T)(Te=>Te.filter(Ye=>Ye.messageType===nt.G.FOOTER_SEO_CONTENT.unique))),this.currentRoute$=new M.t(""),this.currentRouteHandler$=this.currentRoute$.pipe((0,Pt.i)(1),(0,fe.pQ)(),(0,dn.T)(Te=>{const Ye=Te.includes("?")?Te.split("?")[0]:Te,pn=_e.C.startWithLink(Ye);return m.q.findByRoutingPath(pn)})),this.routerEvent$=this.router.events.pipe((0,fe.pQ)(),(0,Ln.p)(Te=>Te instanceof de.wF),(0,Qe.M)(Te=>{this.currentRoute$.next(Te.urlAfterRedirects)})).subscribe(),this.footerSeoContents$=(0,dt.z)([this.getDataHandler$,this.currentRouteHandler$]).pipe((0,fe.pQ)(),(0,dn.T)(Te=>{const[Ye,pn]=Te;return Ye.filter(Ke=>tt.getInstanceOf(Ke.pageType)?.routingPath.some(Nn=>Nn.unique===pn?.unique))}),(0,dn.T)(Te=>Te.slice(0,1))).subscribe(Te=>{this.footerSeoContentsRendered$.next(Te),this.cdr.detectChanges(),this.setFoldingLayerHeight()})}ngOnInit(){this.getData$.next(void 0),this.currentRoute$.next(this.router.url)}setFoldingLayerHeight(){if(this.FoldingLayer&&this.FooterSeoContent){const Te=this.FooterSeoContent.nativeElement.offsetHeight;this.FoldingLayer.nativeElement.style.height=Te+"px",Te<200?(this.isShowFoldBtn.next(!1),this.isFolded.next(!1)):(this.isShowFoldBtn.next(!0),this.isFolded.next(!0))}}toggleFolding(){this.isFolded.next(!this.isFolded.value)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-seo-content"]],viewQuery:function(Ye,pn){if(1&Ye&&(s.GBs(Qt,5),s.GBs(En,5)),2&Ye){let Ke;s.mGM(Ke=s.lsd())&&(pn.FooterSeoContent=Ke.first),s.mGM(Ke=s.lsd())&&(pn.FoldingLayer=Ke.first)}},decls:1,vars:0,consts:[["FoldingLayer",""],["FooterSeoContent",""],[4,"transloco"],[4,"ngIf"],["class","footer-seo-content-wrapper",3,"class",4,"ngIf"],[1,"footer-seo-content-wrapper"],[4,"ngFor","ngForOf"],["class","fold-btn button btn-secondary",3,"click",4,"ngIf"],[1,"title"],[1,"seo-content",3,"innerHTML"],[1,"fold-btn","button","btn-secondary",3,"click"]],template:function(Ye,pn){1&Ye&&s.DNE(0,Rn,3,3,"ng-container",2)},dependencies:[H.Sq,H.bT,oe.bA,H.Jj,St.$n],styles:['[_nghost-%COMP%]{display:contents}.footer-seo-content-wrapper[_ngcontent-%COMP%]{width:100%;position:relative;transition:height .2s;margin-bottom:40px;padding:20px 10px 30px}.footer-seo-content-wrapper.folded[_ngcontent-%COMP%]{height:200px!important;overflow:hidden;transition:all .2s;margin-bottom:0}.footer-seo-content-wrapper.folded[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--footer-seo-content-wrapper-bg)}.footer-seo-content-wrapper.folded[_ngcontent-%COMP%] .fold-btn[_ngcontent-%COMP%]{bottom:0}.footer-seo-content-wrapper[_ngcontent-%COMP%] .fold-btn[_ngcontent-%COMP%]{z-index:1;position:absolute;bottom:-40px;left:50%;transform:translate(-50%);width:fit-content;height:30px;padding:0 20px;line-height:30px;font-size:14px;border:0;background:var(--footer-seo-content-wrapper-fold-btn);color:var(--footer-seo-content-wrapper-fold-btn-txt);transition:all .2s}.footer-seo-content-wrapper[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-bottom:12px;font-size:18px;font-weight:600;color:var(--footer-seo-content-wrapper-title)}.footer-seo-content-wrapper[_ngcontent-%COMP%] .seo-content[_ngcontent-%COMP%]{display:block;height:fit-content;text-align:left;padding-bottom:20px;color:var(--footer-seo-content-wrapper-txt);line-height:24px}.is-desktop[_nghost-%COMP%] .footer-seo-content-wrapper[_ngcontent-%COMP%], .is-desktop [_nghost-%COMP%] .footer-seo-content-wrapper[_ngcontent-%COMP%]{max-width:1200px;padding:20px 8px}'],changeDetection:0})}return Ae})();function Kn(Ae,Dt){1&Ae&&s.nrm(0,"mcd-seo-content")}function Hn(Ae,Dt){if(1&Ae&&s.nrm(0,"mcd-icon-list",6),2&Ae){const Te=s.XpG(2);s.Y8G("footerIconItem",Te.licenseData)("ngClass",Te.licenseData.type)}}function Hi(Ae,Dt){if(1&Ae&&s.nrm(0,"mcd-icon-list",6),2&Ae){const Te=s.XpG(2);s.Y8G("footerIconItem",Te.partnerData)("ngClass",Te.partnerData.type)}}function qn(Ae,Dt){if(1&Ae&&s.nrm(0,"mcd-icon-list",6),2&Ae){const Te=s.XpG(2);s.Y8G("footerIconItem",Te.safeData)("ngClass",Te.safeData.type)}}function es(Ae,Dt){if(1&Ae&&s.nrm(0,"mcd-icon-list",6),2&Ae){const Te=s.XpG(2);s.Y8G("footerIconItem",Te.payData)("ngClass",Te.payData.type)}}function ai(Ae,Dt){if(1&Ae&&s.nrm(0,"mcd-about-us",7),2&Ae){const Te=s.XpG(2);s.Y8G("footerAboutUsLinks",Te.footerAboutUsLinks)("ngClass","about-us")}}function As(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"footer",1),s.DNE(2,Kn,1,0,"mcd-seo-content",2),s.j41(3,"div",3),s.DNE(4,Hn,1,2,"mcd-icon-list",4)(5,Hi,1,2,"mcd-icon-list",4)(6,qn,1,2,"mcd-icon-list",4),s.nrm(7,"mcd-social-media-list"),s.DNE(8,es,1,2,"mcd-icon-list",4)(9,ai,1,2,"mcd-about-us",5),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(2),s.Y8G("ngIf",Te.environment.isFooterSeoContentEnable),s.R7$(2),s.Y8G("ngIf",Te.footerIcons),s.R7$(),s.Y8G("ngIf",Te.footerIcons),s.R7$(),s.Y8G("ngIf",Te.footerIcons),s.R7$(2),s.Y8G("ngIf",Te.footerIcons&&Te.payData&&Te.payData.imageData.length),s.R7$(),s.Y8G("ngIf",Te.footerAboutUsLinks)}}new s.nKC("FOOTER_ICONS");let pt=(()=>{class Ae{get footerIcons(){return this._footerIcons}set footerIcons(Te){if(this._footerIcons=Te,Te){const Ye={title:"",imageData:[]};this.licenseData=Te?.footerImageList?.find(pn=>"license"===pn.type)||Ye,this.safeData=Te?.footerImageList?.find(pn=>"safe"===pn.type)||Ye,this.payData=Te?.footerImageList?.find(pn=>"pay"===pn.type)||Ye,this.partnerData=Te?.footerImageList?.find(pn=>"partner"===pn.type)||Ye}}constructor(Te,Ye,pn,Ke,Nn,Es){this.message=Te,this.cdr=Ye,this.footerSocialMediaState=pn,this.platformId=Ke,this.currencySettingState=Nn,this.i18nService=Es,this.year=(new Date).getFullYear(),this.subscriptions=[],this.systemConfig=(0,s.WQX)(B.n),this.environment=(0,s.WQX)(x.E),this.footerSocialMediaIcons=[],this.footerSocialMediaIcons$=new M.t([]),this.customFooterLinkHandler=(0,s.WQX)(Y.x2,{optional:!0})}ngOnInit(){this.styleSetting(),this.subscriptions.push(this.currencySettingState.select().subscribe(()=>{this.setFooterIcons(),this.cdr.detectChanges()}))}ngOnDestroy(){this.subscriptions.forEach(Te=>Te.unsubscribe())}setFooterIcons(){const Te=this.currencySettingState.get("currentLanguageType");this.currencySettingState.select("currentCurrencyType").forEach(Ye=>{this.footerIcons||(this.footerIcons=((Ae,Dt)=>{const Te=[{linkData:[{linkText:"ui.footer.text.affiliate",linkHref:"",routerLink:""},{linkText:"ui.global.text.responsible_gaming",linkHref:"",routerLink:`${m.q.TERMS_DUTY.link}`},{linkText:"ui.global.text.about_us",linkHref:"",routerLink:`${m.q.TERMS.link}`},{linkText:"ui.global.text.contact_us",linkHref:"",routerLink:`${m.q.TERMS_CONTACT.link}`},{linkText:"ui.global.text.privacy_policy",linkHref:"",routerLink:`${m.q.TERMS_PRIVACY.link}`},{linkText:"ui.global.text.faq",linkHref:"",routerLink:`${m.q.TERMS_FAQ.link}`}]}],pn=[{currencyType:u.U.INR,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${Dt}/license1.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${Dt}/safe/age-limit.svg`,imageLink:"terms/age-18-above",imageAlt:"Betting Responsibility"},{imagePath:`/assets/images/footer/${Dt}/safe/regulations.svg`,imageLink:"/terms/duty",imageAlt:""},{imagePath:`/assets/images/footer/${Dt}/safe/gamcare.svg`,imageLink:"",imageAlt:""}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${Dt}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay17.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay18.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay19.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay20.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay21.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay46.png`,imageAlt:"Payment Partners"}]}]},{currencyType:u.U.PKR,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${Dt}/license1.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${Dt}/safe/age-limit.svg`,imageLink:"",imageAlt:"Betting Responsibility"},{imagePath:`/assets/images/footer/${Dt}/safe/regulations.svg`,imageLink:"",imageAlt:""},{imagePath:`/assets/images/footer/${Dt}/safe/gamcare.svg`,imageLink:"",imageAlt:""}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${Dt}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay38.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay39.png`,imageAlt:"Payment Partners"}]}]},{currencyType:u.U.VND,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${Dt}/license1.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${Dt}/safe/age-limit.svg`,imageLink:"",imageAlt:"Betting Responsibility"},{imagePath:`/assets/images/footer/${Dt}/safe/regulations.svg`,imageLink:"",imageAlt:""},{imagePath:`/assets/images/footer/${Dt}/safe/gamcare.svg`,imageLink:"",imageAlt:""}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${Dt}/pay16.png`,imageAlt:"Payment Partners"}]}]},{currencyType:u.U.PHP,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${Dt}/license1.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${Dt}/safe/age-limit.svg`,imageLink:"",imageAlt:"Betting Responsibility"},{imagePath:`/assets/images/footer/${Dt}/safe/regulations.svg`,imageLink:"",imageAlt:""},{imagePath:`/assets/images/footer/${Dt}/safe/gamcare.svg`,imageLink:"",imageAlt:""}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${Dt}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay41.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay42.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay15.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay44.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay64.png`,imageAlt:"Payment Partners"}]}]},{currencyType:u.U.BDT,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${Dt}/license1.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${Dt}/safe/age-limit.svg`,imageLink:"",imageAlt:"Betting Responsibility"},{imagePath:`/assets/images/footer/${Dt}/safe/regulations.svg`,imageLink:"",imageAlt:""},{imagePath:`/assets/images/footer/${Dt}/safe/gamcare.svg`,imageLink:"",imageAlt:""}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${Dt}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay17.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay22.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay33.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay34.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay45.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay46.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay59.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay60.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay61.png`,imageAlt:"Payment Partners"}]}]},{currencyType:u.U.USD,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${Dt}/license1.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${Dt}/safe/age-limit.svg`,imageLink:"",imageAlt:"Betting Responsibility"},{imagePath:`/assets/images/footer/${Dt}/safe/regulations.svg`,imageLink:"",imageAlt:""},{imagePath:`/assets/images/footer/${Dt}/safe/gamcare.svg`,imageLink:"",imageAlt:""}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${Dt}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay46.png`,imageAlt:"Payment Partners"}]}]},{currencyType:u.U.CNY,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${Dt}/license1.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${Dt}/safe/age-limit.svg`,imageLink:"",imageAlt:"Betting Responsibility"},{imagePath:`/assets/images/footer/${Dt}/safe/regulations.svg`,imageLink:"",imageAlt:""},{imagePath:`/assets/images/footer/${Dt}/safe/gamcare.svg`,imageLink:"",imageAlt:""}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${Dt}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay1.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay2.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay3.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay4.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay5.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${Dt}/pay6.png`,imageAlt:"Payment Partners"}]}]},{currencyType:u.U.THB,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${Dt}/license1.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${Dt}/safe/age-limit.svg`,imageLink:"",imageAlt:"Betting Responsibility"},{imagePath:`/assets/images/footer/${Dt}/safe/regulations.svg`,imageLink:"",imageAlt:""},{imagePath:`/assets/images/footer/${Dt}/safe/gamcare.svg`,imageLink:"",imageAlt:""}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${Dt}/pay16.png`,imageAlt:"Payment Partners"}]}]},{currencyType:u.U.KRW,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:"/assets/images/footer/license/license1.svg",imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/safe/safe2.svg",imageLink:"",imageAlt:""},{imagePath:"/assets/images/footer/safe/safe1.svg",routerLink:"",imageAlt:""},{imagePath:"/assets/images/footer/safe/safe3.svg",routerLink:"",imageAlt:"Betting Responsibility"}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:"/assets/images/footer/pay/pay16.svg",imageAlt:"bankdeposit"}]}]},{currencyType:u.U.AED,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:"/assets/images/footer/license/license1.svg",imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/safe/safe2.svg",imageLink:"",imageAlt:""},{imagePath:"/assets/images/footer/safe/safe1.svg",routerLink:"",imageAlt:""},{imagePath:"/assets/images/footer/safe/safe3.svg",routerLink:"",imageAlt:"Betting Responsibility"}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:"/assets/images/footer/pay/pay16.svg",imageAlt:"bankdeposit"}]}]},{currencyType:u.U.MMK,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:"/assets/images/footer/license/license1.svg",imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/safe/safe2.svg",imageLink:"",imageAlt:""},{imagePath:"/assets/images/footer/safe/safe1.svg",routerLink:"",imageAlt:""},{imagePath:"/assets/images/footer/safe/safe3.svg",routerLink:"",imageAlt:"Betting Responsibility"}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:"/assets/images/footer/pay/pay16.svg",imageAlt:"bankdeposit"}]}]},{currencyType:u.U.MMKK,footerImageList:[{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:"/assets/images/footer/license/license1.svg",imageLink:"",imageAlt:"Gaming License"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/safe/safe2.svg",imageLink:"",imageAlt:""},{imagePath:"/assets/images/footer/safe/safe1.svg",routerLink:"",imageAlt:""},{imagePath:"/assets/images/footer/safe/safe3.svg",routerLink:"",imageAlt:"Betting Responsibility"}]},{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:"/assets/images/footer/pay/pay16.svg",imageAlt:"bankdeposit"}]}]}].find(Ke=>Ke.currencyType===Ae);return pn&&!pn.footerLinkList&&(pn.footerLinkList=Te),pn})(Ye,this.environment.iconColor)),this.footerAboutUsLinks=((Ae,Dt,Te,Ye)=>{const pn=[{linkData:[{linkText:"ui.footer.text.affiliate",linkHref:Ye?.affiliates??"",routerLink:""},{linkText:"ui.footer.text.responsible_gaming",linkHref:Ye?.responsibleGaming??"",routerLink:Ye?.responsibleGaming??`${m.q.TERMS_DUTY.link}`},{linkText:"ui.global.text.about_us",linkHref:Ye?.aboutUs??"",routerLink:Ye?.aboutUs??`${m.q.TERMS.link}`},{linkText:"ui.global.text.contact_us",linkHref:Ye?.contactUs??"",routerLink:Ye?.contactUs??`${m.q.TERMS_CONTACT.link}`},{linkText:"ui.global.text.privacy_policy",linkHref:Ye?.privacyPolicy??"",routerLink:Ye?.privacyPolicy??`${m.q.TERMS_PRIVACY.link}`},{linkText:"ui.footer.text.faq",linkHref:Ye?.faq??"",routerLink:Ye?.faq??`${m.q.TERMS_FAQ.link}`},{linkText:"ui.footer.text.security",linkHref:Ye?.security??"",routerLink:Ye?.security??""},{linkText:"ui.global.text.terms_and_conditions",linkHref:Ye?.conditions??"",routerLink:Ye?.conditions??`${m.q.TERMS_CONDITIONS.link}`},{linkText:"ui.global.text.help_page",linkHref:Ye?.helpPage??"",routerLink:""},{linkText:"ui.global.word.vip",linkHref:Ye?.vipDetail??"",routerLink:Ye?.vipDetail??`${m.q.VIP_DETAIL.link}`},{linkText:"ui.global.text.rules_and_regulations",linkHref:Ye?.ruleRegulations??"",routerLink:Ye?.ruleRegulations??`${m.q.TERMS_RULES.link}`},{linkText:"ui.global.text.age_18_above",linkHref:Ye?.age18Above??"",routerLink:Ye?.age18Above??`${m.q.TEAMS_AGE_18_ABOVE.link}`},{linkText:"ui.global.text.kyc_policy",linkHref:Ye?.kycPolicy??"",routerLink:Ye?.kycPolicy??`${m.q.TERMS_KYC_POLICY.link}`},{linkText:"ui.footer.text.anti_money_laundering",linkHref:Ye?.antiMoneyLaundry??"",routerLink:Ye?.antiMoneyLaundry??""}]}];let Ke;var rn;(rn=Ke||(Ke={}))[rn.Affiliate=0]="Affiliate",rn[rn.ResponsibleGaming=1]="ResponsibleGaming",rn[rn.AboutUs=2]="AboutUs",rn[rn.ContactUs=3]="ContactUs",rn[rn.PrivacyPolicy=4]="PrivacyPolicy",rn[rn.FAQ=5]="FAQ",rn[rn.Security=6]="Security",rn[rn.Conditions=7]="Conditions",rn[rn.HelpPage=8]="HelpPage",rn[rn.VipDetail=9]="VipDetail",rn[rn.RulesRegulations=10]="RulesRegulations",rn[rn.Age18Above=11]="Age18Above",rn[rn.KYCPolicy=12]="KYCPolicy",rn[rn.AntiMoneyLaundry=13]="AntiMoneyLaundry";const Es={mxw:[Ke.VipDetail,Ke.Affiliate,Ke.Security,Ke.ResponsibleGaming,Ke.PrivacyPolicy,Ke.AboutUs,Ke.FAQ],s6:[Ke.AboutUs,Ke.HelpPage,Ke.PrivacyPolicy],mp:[Ke.AboutUs,Ke.ContactUs,Ke.Conditions,Ke.ResponsibleGaming,Ke.FAQ,Ke.Affiliate],mb:[Ke.AboutUs,Ke.PrivacyPolicy,Ke.Conditions,Ke.RulesRegulations,Ke.ResponsibleGaming,Ke.FAQ],jwb:[Ke.AboutUs,Ke.ContactUs,Ke.PrivacyPolicy,Ke.Conditions,Ke.RulesRegulations,Ke.ResponsibleGaming,Ke.FAQ,Ke.Affiliate],bvs:[Ke.AboutUs,Ke.ContactUs,Ke.PrivacyPolicy,Ke.Conditions,Ke.RulesRegulations,Ke.ResponsibleGaming,Ke.FAQ,Ke.Affiliate],ccs:[Ke.ResponsibleGaming,Ke.AboutUs,Ke.ContactUs,Ke.PrivacyPolicy,Ke.FAQ],ua:[Ke.AboutUs,Ke.ContactUs,Ke.FAQ,Ke.Conditions,Ke.Affiliate],fw:[Ke.AboutUs,Ke.FAQ,Ke.PrivacyPolicy,Ke.ResponsibleGaming,Ke.RulesRegulations,Ke.Conditions,Ke.Affiliate],mcw:[Ke.ResponsibleGaming,Ke.AboutUs,Ke.Security,Ke.PrivacyPolicy,Ke.FAQ],k9:[Ke.AboutUs,Ke.PrivacyPolicy,Ke.ResponsibleGaming,Ke.RulesRegulations,Ke.Conditions],v9:[Ke.AboutUs,Ke.ContactUs,Ke.PrivacyPolicy,Ke.RulesRegulations,Ke.Conditions,Ke.FAQ,Ke.ResponsibleGaming],ml:[Ke.ResponsibleGaming,Ke.Age18Above,Ke.PrivacyPolicy,Ke.FAQ,Ke.Security,Ke.AboutUs,Ke.Affiliate,Ke.KYCPolicy,Ke.VipDetail],g8:[Ke.ResponsibleGaming,Ke.PrivacyPolicy,Ke.FAQ,Ke.Security,Ke.Age18Above,Ke.AboutUs,Ke.Affiliate,Ke.KYCPolicy,Ke.VipDetail],g68:[Ke.ResponsibleGaming,Ke.AboutUs,Ke.Security,Ke.PrivacyPolicy,Ke.FAQ,Ke.Age18Above,Ke.KYCPolicy,Ke.AntiMoneyLaundry],v7:[Ke.ResponsibleGaming,Ke.AboutUs,Ke.Security,Ke.PrivacyPolicy,Ke.FAQ,Ke.Age18Above,Ke.Affiliate,Ke.KYCPolicy,Ke.AntiMoneyLaundry],oz:[Ke.AboutUs,Ke.ContactUs,Ke.PrivacyPolicy,Ke.RulesRegulations,Ke.Conditions,Ke.FAQ,Ke.ResponsibleGaming],bw:[Ke.ResponsibleGaming,Ke.PrivacyPolicy,Ke.FAQ,Ke.Security,Ke.AboutUs,Ke.Affiliate,Ke.Conditions],cf:[Ke.ResponsibleGaming,Ke.PrivacyPolicy,Ke.FAQ,Ke.Security,Ke.Age18Above,Ke.AboutUs,Ke.Affiliate,Ke.KYCPolicy,Ke.Conditions],bs:[Ke.ResponsibleGaming,Ke.PrivacyPolicy,Ke.FAQ,Ke.Security,Ke.AboutUs,Ke.Affiliate,Ke.VipDetail],bgw:[Ke.ResponsibleGaming,Ke.PrivacyPolicy,Ke.FAQ,Ke.Security,Ke.AboutUs,Ke.Affiliate,Ke.VipDetail,Ke.Conditions],c7:[Ke.AboutUs,Ke.PrivacyPolicy,Ke.Conditions,Ke.ResponsibleGaming,Ke.FAQ],d88:[Ke.ResponsibleGaming,Ke.AboutUs,Ke.Security,Ke.PrivacyPolicy,Ke.FAQ,Ke.Age18Above,Ke.KYCPolicy,Ke.AntiMoneyLaundry,Ke.Conditions],ga:[Ke.AboutUs,Ke.ContactUs,Ke.PrivacyPolicy,Ke.Conditions,Ke.RulesRegulations,Ke.ResponsibleGaming,Ke.FAQ],st:[Ke.AboutUs],jy:[Ke.Affiliate,Ke.ResponsibleGaming,Ke.PrivacyPolicy,Ke.FAQ,Ke.Security,Ke.AboutUs,Ke.Conditions,Ke.VipDetail],bp:[Ke.Affiliate,Ke.ResponsibleGaming,Ke.PrivacyPolicy,Ke.FAQ,Ke.Security,Ke.AboutUs,Ke.Conditions],default:[]}[Ae??"default"]?.map(rn=>pn[0].linkData[rn]);return"mxw"===Ae?Es.forEach(rn=>{let Yi="";Dt!==u.U.INR&&(Dt===u.U.BDT&&Te===b.t.BENGALI&&(Yi="bn/"),rn.linkHref=rn.linkHref?.replace(/hi\//,Yi),rn.routerLink=rn.routerLink?.replace(/hi\//,Yi))}):"mcw"===Ae&&Es.forEach(rn=>{let Yi="";Te!==b.t.ENGLISH&&(Te===b.t.KOREA&&(Yi="ko"),rn.linkHref=rn.linkHref?.replace(/kr/,Yi),rn.routerLink=rn.routerLink?.replace(/kr/,Yi))}),Es})(this.systemConfig.brand,Ye,Te,this.customFooterLinkHandler?this.customFooterLinkHandler():this.environment.customFooterLinks)})}styleSetting(){}getImagePath(Te){return`/assets/images/footer/${this.environment.iconColor}/${Te}.png`}increment(){}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)(s.rXU(j.b),s.rXU(s.gRc),s.rXU(ve.Y),s.rXU(s.Agw),s.rXU(h.p),s.rXU(oe.JO))};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-inner"]],inputs:{footerIcons:"footerIcons"},decls:1,vars:0,consts:[[4,"transloco"],[1,"footer"],[4,"ngIf"],[1,"footer-top"],[3,"footerIconItem","ngClass",4,"ngIf"],[3,"footerAboutUsLinks","ngClass",4,"ngIf"],[3,"footerIconItem","ngClass"],[3,"footerAboutUsLinks","ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,As,10,6,"ng-container",0)},dependencies:[H.YU,H.bT,oe.bA,se,We,tn,Ui],changeDetection:0})}return Ae})();var Et=l(20421),Fe=l(19449),ct=l(93166);function Mt(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"\u09ae\u09c7\u0997\u09be \u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb \u0993\u09af\u09bc\u09be\u09b0\u09cd\u09b2\u09cd\u09a1: \u09ac\u09be\u0982\u09b2\u09be\u09a6\u09c7\u09b6\u09c7 \u0995\u09cd\u09b0\u09bf\u0995\u09c7\u099f \u098f\u0995\u09cd\u09b8\u099a\u09c7\u099e\u09cd\u099c \u098f\u09ac\u0982 \u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb \u09b8\u09be\u0987\u099f\u09b8\u09ae\u09c2\u09b9"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"\u098f\u0995\u099c\u09a8 \u09a8\u09a4\u09c1\u09a8 \u0996\u09c7\u09b2\u09cb\u09af\u09bc\u09be\u09a1\u09bc \u09b9\u09bf\u09b8\u09c7\u09ac\u09c7, \u09ac\u09be\u0982\u09b2\u09be\u09a6\u09c7\u09b6\u09c7\u09b0 \u09b8\u09c7\u09b0\u09be \u09ac\u09c7\u099f\u09bf\u0982 \u09b8\u09be\u0987\u099f \u09ac\u09c7\u099b\u09c7 \u09a8\u09c7\u0993\u09af\u09bc\u09be \u09ac\u09c7\u09b6 \u0995\u09a0\u09bf\u09a8 \u09b9\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7, \u0995\u09be\u09b0\u09a3 \u0985\u09a7\u09bf\u0995\u09be\u0982\u09b6 \u09b8\u09be\u0987\u099f \u0995\u09c7\u09ac\u09b2 \u09a8\u09bf\u099c\u09c7\u09a6\u09c7\u09b0 \u09a6\u09bf\u0995\u09c7 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0\u0995\u09be\u09b0\u09c0 \u099f\u09be\u09a8\u09a4\u09c7\u0987 \u09ac\u09cd\u09af\u09b8\u09cd\u09a4 \u09a5\u09be\u0995\u09c7\u0964 \u0985\u09a8\u09c7\u0995 \u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb \u098f\u09ae\u09a8 \u09b8\u09ac \u0985\u09ab\u09be\u09b0 \u09a6\u09c7\u09af\u09bc \u09af\u09be \u09b6\u09c1\u09a8\u09c7 \u09ad\u09be\u09b2\u09cb \u09ae\u09a8\u09c7 \u09b9\u09b2\u09c7\u0993, \u09b6\u09c1\u09a7\u09c1\u09ae\u09be\u09a4\u09cd\u09b0 \u09b0\u09c7\u099c\u09bf\u09b8\u09cd\u099f\u09cd\u09b0\u09c7\u09b6\u09a8\u09c7\u09b0 \u09ac\u09bf\u09a8\u09bf\u09ae\u09af\u09bc\u09c7 \u09a6\u09c7\u0993\u09af\u09bc\u09be \u0993\u09af\u09bc\u09c7\u09b2\u0995\u09be\u09ae \u09ac\u09cb\u09a8\u09be\u09b8 \u0995\u09cb\u09a8\u0993 \u09b8\u09be\u0987\u099f\u0995\u09c7 \u09b8\u09c7\u09b0\u09be \u0995\u09b0\u09c7 \u09a4\u09cb\u09b2\u09c7 \u09a8\u09be\u0964 \u09a4\u09be\u0987 \u098f\u09ae\u09a8 \u09aa\u09cd\u09b0\u09b2\u09cb\u09ad\u09a8\u09ae\u09c2\u09b2\u0995 \u0985\u09ab\u09be\u09b0\u09c7 \u09b8\u09be\u09ac\u09a7\u09be\u09a8 \u09a5\u09be\u0995\u09be \u0989\u099a\u09bf\u09a4\u0964"),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"\u09a0\u09bf\u0995 \u09ac\u09c7\u099f\u09bf\u0982 \u09b8\u09be\u0987\u099f \u09ac\u09c7\u099b\u09c7 \u09a8\u09c7\u0993\u09af\u09bc\u09be\u09b0 \u0997\u09c1\u09b0\u09c1\u09a4\u09cd\u09ac \u0995\u0996\u09a8\u09cb\u0987 \u0989\u09aa\u09c7\u0995\u09cd\u09b7\u09be \u0995\u09b0\u09be \u0989\u099a\u09bf\u09a4 \u09a8\u09af\u09bc, \u0995\u09be\u09b0\u09a3 \u09b8\u09c7\u0996\u09be\u09a8\u09c7\u0987 \u0986\u09aa\u09a8\u09bf \u0986\u09aa\u09a8\u09be\u09b0 \u0985\u09b0\u09cd\u09a5 \u09a1\u09bf\u09aa\u09cb\u099c\u09bf\u099f \u0995\u09b0\u09c7\u09a8 \u098f\u09ac\u0982 \u099c\u09af\u09bc\u09c0 \u09b9\u09b2\u09c7 \u09b0\u09bf\u099f\u09be\u09b0\u09cd\u09a8 \u0986\u09b6\u09be \u0995\u09b0\u09c7\u09a8\u0964 \u09ad\u09c1\u09b2 \u09b8\u09be\u0987\u099f \u09a8\u09bf\u09b0\u09cd\u09ac\u09be\u099a\u09a8 \u0995\u09b0\u09b2\u09c7 \u0986\u09aa\u09a8\u09bf \u0985\u09b0\u09cd\u09a5\u09a8\u09c8\u09a4\u09bf\u0995 \u0995\u09cd\u09b7\u09a4\u09bf\u09b0 \u09b8\u09ae\u09cd\u09ae\u09c1\u0996\u09c0\u09a8 \u09b9\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7\u09a8\u0964 \u09ac\u09be\u0982\u09b2\u09be\u09a6\u09c7\u09b6\u09c7 \u09b8\u09ac\u099a\u09c7\u09df\u09c7 \u09a8\u09bf\u09b0\u09cd\u09ad\u09b0\u09af\u09cb\u0997\u09cd\u09af \u0995\u09cd\u09b0\u09bf\u0995\u09c7\u099f \u098f\u0995\u09cd\u09b8\u099a\u09c7\u099e\u09cd\u099c \u0993 \u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb \u09b8\u09be\u0987\u099f\u0997\u09c1\u09b2\u09cb\u09b0 \u09ae\u09a7\u09cd\u09af\u09c7 \u09b0\u09df\u09c7\u099b\u09c7: \u09ae\u09c7\u0997\u09be \u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb \u0993\u09af\u09bc\u09be\u09b0\u09cd\u09b2\u09cd\u09a1, \u09ac\u09be\u099c\u09bf \u09b2\u09be\u0987\u09ad, \u099c\u09bf\u09a4\u09ac\u09be\u099c \u0993 \u0989\u0987\u09a8\u09ac\u09bf\u09a1\u09bf\u099f\u09bf\u0964"),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"\u0985\u09a8\u09c7\u0995 \u0996\u09c7\u09b2\u09cb\u09af\u09bc\u09be\u09a1\u09bc \u0985\u09ad\u09bf\u09af\u09cb\u0997 \u0995\u09b0\u09c7\u099b\u09c7\u09a8 \u09af\u09c7, \u0995\u09bf\u099b\u09c1 \u09ac\u09c7\u099f\u09bf\u0982 \u09b8\u09be\u0987\u099f \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be\u09b0 \u09b8\u09ae\u09af\u09bc \u09a4\u09be\u09b0\u09be \u09b8\u09be\u0987\u09ac\u09be\u09b0 \u09ac\u09c1\u09b2\u09bf\u0982\u09df\u09c7\u09b0 \u09b6\u09bf\u0995\u09be\u09b0 \u09b9\u09af\u09bc\u09c7\u099b\u09c7\u09a8\u2014\u098f \u0995\u09be\u09b0\u09a3\u09c7 \u09b8\u09be\u0987\u099f\u09c7\u09b0 \u09a8\u09bf\u09b0\u09be\u09aa\u09a4\u09cd\u09a4\u09be\u09b0 \u0997\u09c1\u09b0\u09c1\u09a4\u09cd\u09ac \u0985\u09aa\u09b0\u09bf\u09b8\u09c0\u09ae\u0964 \u0995\u09cb\u09a8\u09cb \u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb \u09ac\u09be \u09ac\u09c7\u099f\u09bf\u0982 \u09b8\u09be\u0987\u099f \u09ac\u09c7\u099b\u09c7 \u09a8\u09c7\u0993\u09af\u09bc\u09be\u09b0 \u0986\u0997\u09c7 \u09a8\u09bf\u09b6\u09cd\u099a\u09bf\u09a4 \u09b9\u09cb\u09a8 \u09af\u09c7 \u0986\u09aa\u09a8\u09be\u09b0 \u09ac\u09cd\u09af\u0995\u09cd\u09a4\u09bf\u0997\u09a4 \u09a4\u09a5\u09cd\u09af \u09b8\u09c1\u09b0\u0995\u09cd\u09b7\u09bf\u09a4\u09ad\u09be\u09ac\u09c7 \u09b8\u0982\u09b0\u0995\u09cd\u09b7\u09bf\u09a4 \u0993 \u09a8\u09bf\u09b0\u09be\u09aa\u09a6\u09c7 \u09b0\u0995\u09cd\u09b7\u09bf\u09a4 \u0986\u099b\u09c7\u0964"),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"\u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb\u09b0 \u098f\u0995\u099f\u09bf \u0997\u09c1\u09b0\u09c1\u09a4\u09cd\u09ac\u09aa\u09c2\u09b0\u09cd\u09a3 \u09a6\u09bf\u0995 \u09b9\u09b2\u09cb \u09b2\u09be\u0987\u09b8\u09c7\u09a8\u09cd\u09b8, \u09af\u09be \u0995\u09cb\u09a8\u09cb\u09ad\u09be\u09ac\u09c7\u0987 \u0989\u09aa\u09c7\u0995\u09cd\u09b7\u09be \u0995\u09b0\u09be \u0989\u099a\u09bf\u09a4 \u09a8\u09af\u09bc\u0964 \u098f\u0995\u099f\u09bf \u09ae\u09be\u09a8\u09b8\u09ae\u09cd\u09aa\u09a8\u09cd\u09a8 \u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb\u09b0 \u0985\u09ac\u09b6\u09cd\u09af\u0987 \u098f\u0995\u099f\u09bf \u09ac\u09c8\u09a7 \u0993 \u09a8\u09ac\u09be\u09af\u09bc\u09a8\u09af\u09cb\u0997\u09cd\u09af \u09b2\u09be\u0987\u09b8\u09c7\u09a8\u09cd\u09b8 \u09a5\u09be\u0995\u09a4\u09c7 \u09b9\u09ac\u09c7\u0964 \u098f\u0987 \u09b2\u09be\u0987\u09b8\u09c7\u09a8\u09cd\u09b8 \u09a7\u09b0\u09c7 \u09b0\u09be\u0996\u09a4\u09c7 \u09b9\u09b2\u09c7 \u09a8\u09bf\u09b0\u09cd\u09a6\u09bf\u09b7\u09cd\u099f \u0995\u09bf\u099b\u09c1 \u09b6\u09b0\u09cd\u09a4 \u09aa\u09c2\u09b0\u09a3 \u0995\u09b0\u09a4\u09c7 \u09b9\u09af\u09bc\u2014\u09a8\u09be \u09b9\u09b2\u09c7 \u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb \u09a4\u09be\u09a6\u09c7\u09b0 \u0985\u09a8\u09c1\u09ae\u09cb\u09a6\u09a8 \u09b9\u09be\u09b0\u09be\u09a8\u09cb\u09b0 \u099d\u09c1\u0981\u0995\u09bf\u09a4\u09c7 \u09aa\u09a1\u09bc\u09c7\u0964"),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"\u098f\u099b\u09be\u09a1\u09bc\u09be\u0993, \u09ac\u09b0\u09cd\u09a4\u09ae\u09be\u09a8\u09c7 \u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb \u09aa\u09cd\u09b2\u09cd\u09af\u09be\u099f\u09ab\u09b0\u09cd\u09ae\u0997\u09c1\u09b2\u09cb\u09a4\u09c7 \u09ac\u09bf\u09ad\u09bf\u09a8\u09cd\u09a8 \u09ac\u09cd\u09af\u09be\u0982\u0995\u09bf\u0982 \u0985\u09aa\u09b6\u09a8 \u0989\u09aa\u09b2\u09ac\u09cd\u09a7 \u09b0\u09af\u09bc\u09c7\u099b\u09c7\u0964 \u0986\u09aa\u09a8\u09be\u0995\u09c7 \u09b6\u09c1\u09a7\u09c1 \u0986\u09aa\u09a8\u09be\u09b0 \u0989\u09aa\u09af\u09cb\u0997\u09c0 \u09aa\u09a6\u09cd\u09a7\u09a4\u09bf\u099f\u09bf \u09ac\u09c7\u099b\u09c7 \u09a8\u09bf\u09a4\u09c7 \u09b9\u09ac\u09c7\u0964 \u0996\u09c7\u09b2\u09cb\u09af\u09bc\u09be\u09a1\u09bc\u09b0\u09be \u099a\u09be\u0987\u09b2\u09c7 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7\u09a8\u2014\u09ac\u09bf\u0995\u09be\u09b6, \u09b0\u0995\u09c7\u099f, \u09a8\u0997\u09a6, OKWallet \u0995\u09bf\u0982\u09ac\u09be \u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f\u09cb\u0995\u09be\u09b0\u09c7\u09a8\u09cd\u09b8\u09bf\u0964"),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"\u0986\u09ae\u09be\u09a6\u09c7\u09b0 \u0995\u09cd\u09b0\u09ae\u09ac\u09b0\u09cd\u09a7\u09ae\u09be\u09a8 \u09ac\u09bf\u09b6\u09cd\u09ac\u09c7\u09b0 \u0985\u0982\u09b6 \u09b9\u09bf\u09b8\u09c7\u09ac\u09c7 \u09a8\u09a4\u09c1\u09a8 \u09aa\u09cd\u09b0\u09af\u09c1\u0995\u09cd\u09a4\u09bf\u0997\u09c1\u09b2\u09cb \u098f\u0996\u09a8 \u0985\u09a8\u09b2\u09be\u0987\u09a8 \u0997\u09c7\u09ae\u09bf\u0982 \u0985\u09ad\u09bf\u099c\u09cd\u099e\u09a4\u09be\u0995\u09c7 \u0986\u09b0\u0993 \u0989\u09a8\u09cd\u09a8\u09a4 \u0995\u09b0\u099b\u09c7 \u098f\u09ac\u0982 \u09af\u09cb\u0997\u09cd\u09af \u09ac\u09be\u0982\u09b2\u09be\u09a6\u09c7\u09b6\u09bf \u0997\u09c7\u09ae\u09be\u09b0\u09a6\u09c7\u09b0 \u099c\u09a8\u09cd\u09af \u098f\u099f\u09bf\u0995\u09c7 \u0986\u09b0\u0993 \u09b8\u09b9\u099c\u09b2\u09ad\u09cd\u09af \u0995\u09b0\u09c7 \u09a4\u09c1\u09b2\u099b\u09c7\u0964 \u09af\u09a6\u09bf\u0993 \u0987\u09b8\u09b2\u09be\u09ae\u09bf\u0995 \u09b0\u09be\u09b7\u09cd\u099f\u09cd\u09b0 \u09b9\u09bf\u09b8\u09c7\u09ac\u09c7 \u09ac\u09be\u0982\u09b2\u09be\u09a6\u09c7\u09b6\u09c7 \u0985\u09a8\u09b2\u09be\u0987\u09a8 \u0997\u09c7\u09ae\u09bf\u0982 \u09a8\u09bf\u09b7\u09bf\u09a6\u09cd\u09a7, \u09a4\u09ac\u09c1\u0993 \u09a8\u09a4\u09c1\u09a8 \u09a7\u09b0\u09a8\u09c7\u09b0 \u09b2\u09c7\u09a8\u09a6\u09c7\u09a8 \u09aa\u09a6\u09cd\u09a7\u09a4\u09bf\u09b0 \u0995\u09be\u09b0\u09a3\u09c7 \u0985\u09ab\u09b6\u09cb\u09b0 \u0995\u09cd\u09af\u09be\u09b8\u09bf\u09a8\u09cb\u0997\u09c1\u09b2\u09cb\u09b0 \u09aa\u09b0\u09bf\u09b8\u09b0 \u09ac\u09cd\u09af\u09be\u09aa\u0995\u09ad\u09be\u09ac\u09c7 \u09ac\u09c7\u09dc\u09c7\u099b\u09c7\u0964"),s.k0s(),s.nrm(21,"br"),s.j41(22,"p"),s.EFF(23,"\u098f\u0987 \u09a7\u09b0\u09a8\u09c7\u09b0 \u09b2\u09c7\u09a8\u09a6\u09c7\u09a8 \u09ac\u09cd\u09af\u09ac\u09b8\u09cd\u09a5\u09be, \u09af\u09be \u0997\u09cb\u09aa\u09a8\u09c0\u09af\u09bc\u09a4\u09be \u0993 \u09a8\u09bf\u09b0\u09be\u09aa\u09a4\u09cd\u09a4\u09be\u2014\u0989\u09ad\u09af\u09bc\u0987 \u09a8\u09bf\u09b6\u09cd\u099a\u09bf\u09a4 \u0995\u09b0\u09c7, \u0986\u09ae\u09b0\u09be \u0986\u09ae\u09be\u09a6\u09c7\u09b0 \u09aa\u09b0\u09ac\u09b0\u09cd\u09a4\u09c0 \u0985\u0982\u09b6\u09c7 \u09ac\u09bf\u09b8\u09cd\u09a4\u09be\u09b0\u09bf\u09a4\u09ad\u09be\u09ac\u09c7 \u0986\u09b2\u09cb\u099a\u09a8\u09be \u0995\u09b0\u09ac\u09cb\u0964"),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let gn=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-bdt-bn"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,Mt,24,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function Gn(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"Mega Casino World: Cricket Exchange & Casino Sites in Bangladesh"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"As a novice player, it may be challenging to choose the top betting site in Bangladesh because the majority of these sites only seek to draw people to themselves. You should be wary of casinos that provide you all of these in exchange for registering because the welcome bonus they offer is not a criterion for being the finest website."),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"The importance of choosing the right betting site cannot be overstated because that is where you deposit your funds and anticipate receiving returns when you win; if you select the incorrect one, you risk suffering a loss. The best cricket exchange and casino websites include Mega Casino World, Baji Live, Jeetbuzz and WinBDT."),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"Because some players have reported being bothered by cyberbullies when using a betting site, the importance of security cannot be overstated. Make sure your information is securely protected and guarded before picking a casino."),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"Players should not neglect licensing because it is an essential component of a casino. A casino must have a license that is renewable in order to be considered standard, and in order to keep that license, certain requirements must be met. Otherwise, the casino risks losing its authorization."),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"There are so many different banking options available that all you have to do is choose the one that best suits your needs. Players can use methods available like BKash, Rocket, Nagad, OKWallet and CryptoCurrency."),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"New technologies that are part of our growing world will serve to enhance the online gaming experience and make it accessible to Bangladeshi gamers who qualify. Offshore casinos have expanded thanks to the new forms of transaction that are developing, despite the Islamic state's prohibitions on online gaming. We shall talk about this form of transaction, which offers both privacy and security, in our next point."),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let Ci=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-bdt-en"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,Gn,21,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function Ei(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"Mega Casino World: Cricket Exchange & Casino Sites in India"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"The challenge of choosing the best betting site in India is made more difficult for novices. There are many sites that offer you bonus money if you register, but this does not make them better than other casinos because it's only one factor among many others to consider when looking at which gaming website will suit your needs most effectively."),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"You can't afford to wager your money unless you're sure of the website where it will go. The best gaming websites include Mega Casino World, Crickex, BetVisa, Marvelbet, Addabet, Baji Live and WinBDT among others but there are many more options available on our list so make sure that any exchange or casino site meets all regulations before making any deposit."),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"The increasing number of cyberbullies who use betting sites has made it important for players to take security seriously. Make sure that your information is securely protected and guarded before picking any betting platform in India."),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"The licensing process is an essential part of running any casino, and it's important for players to be aware that without these licenses their gaming establishment will not meet standards. To keep its authorization renewal requires rigorous requirements like meeting certain criteria in order not only maintain but also increase upon current levels by continuing with good practices learned throughout years past."),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"There are now more banking options available in India than ever before. All you need to do is find the one that works best for your needs, whether it be through Electronic or over the counter Bank Transfer. There are also banking apps that truly bring convenience to all casino players such as UPI and Rupee-O or even Cryptocurrency thru Binance or any Crypto platform they prefer."),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"The use of new technologies is serving to enhance the online gaming experience and make it accessible in a way that doesn't require qualification. Offshore casinos have expanded thanks largely due this form transaction, which offers both privacy as well security for gamers from Bangladesh who want access but aren\u2019t allowed by law to prohibit them playing anyway!"),s.k0s(),s.nrm(21,"br"),s.j41(22,"p"),s.EFF(23,"The use of new technologies is serving to enhance the online gaming experience and make it accessible in a way that doesn't require much more qualifications. Offshore casinos have expanded thanks largely due this form transaction, which offers both privacy as well security for gamers from India who want access but aren\u2019t allowed by law to prohibit them playing anyway."),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let st=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-inr-en"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,Ei,24,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function Vt(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"\u092e\u0947\u0917\u093e \u0915\u0948\u0938\u0940\u0928\u094b \u0935\u0930\u094d\u0932\u094d\u0921: \u092d\u093e\u0930\u0924 \u092e\u0947\u0902 \u0915\u094d\u0930\u093f\u0915\u0947\u091f \u090f\u0915\u094d\u0938\u091a\u0947\u0902\u091c \u0914\u0930 \u0915\u0948\u0938\u0940\u0928\u094b \u0938\u093e\u0907\u091f\u0947\u0902"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"\u092d\u093e\u0930\u0924 \u092e\u0947\u0902 \u0938\u0930\u094d\u0935\u0936\u094d\u0930\u0947\u0937\u094d\u0920 \u0938\u091f\u094d\u091f\u0947\u092c\u093e\u091c\u0940 \u0938\u093e\u0907\u091f \u091a\u0941\u0928\u0928\u0947 \u0915\u0940 \u091a\u0941\u0928\u094c\u0924\u0940 \u0928\u094c\u0938\u093f\u0916\u093f\u092f\u094b\u0902 \u0915\u0947 \u0932\u093f\u090f \u0905\u0927\u093f\u0915 \u0915\u0920\u093f\u0928 \u0939\u094b \u0917\u0908 \u0939\u0948\u0964 \u092f\u0926\u093f \u0906\u092a \u092a\u0902\u091c\u0940\u0915\u0930\u0923 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u0924\u094b \u0915\u0908 \u0938\u093e\u0907\u091f\u0947\u0902 \u0939\u0948\u0902 \u091c\u094b \u0906\u092a\u0915\u094b \u092c\u094b\u0928\u0938 \u092e\u0928\u0940 \u0915\u0940 \u092a\u0947\u0936\u0915\u0936 \u0915\u0930\u0924\u0940 \u0939\u0948\u0902, \u0932\u0947\u0915\u093f\u0928 \u092f\u0939 \u0909\u0928\u094d\u0939\u0947\u0902 \u0905\u0928\u094d\u092f \u0915\u0948\u0938\u0940\u0928\u094b \u0915\u0940 \u0924\u0941\u0932\u0928\u093e \u092e\u0947\u0902 \u092c\u0947\u0939\u0924\u0930 \u0928\u0939\u0940\u0902 \u092c\u0928\u093e\u0924\u093e \u0939\u0948 \u0915\u094d\u092f\u094b\u0902\u0915\u093f \u092f\u0939 \u0926\u0947\u0916\u0928\u0947 \u092a\u0930 \u0935\u093f\u091a\u093e\u0930 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u0908 \u0905\u0928\u094d\u092f \u0932\u094b\u0917\u094b\u0902 \u092e\u0947\u0902 \u0938\u0947 \u0915\u0947\u0935\u0932 \u090f\u0915 \u0915\u093e\u0930\u0915 \u0939\u0948 \u0915\u093f \u0915\u094c\u0928 \u0938\u0940 \u0917\u0947\u092e\u093f\u0902\u0917 \u0935\u0947\u092c\u0938\u093e\u0907\u091f \u0906\u092a\u0915\u0940 \u0906\u0935\u0936\u094d\u092f\u0915\u0924\u093e\u0913\u0902 \u0915\u0947 \u0905\u0928\u0941\u0930\u0942\u092a \u0938\u092c\u0938\u0947 \u092a\u094d\u0930\u092d\u093e\u0935\u0940 \u0922\u0902\u0917 \u0938\u0947 \u0939\u094b\u0917\u0940\u0964"),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"\u0906\u092a \u0905\u092a\u0928\u0947 \u092a\u0948\u0938\u0947 \u0915\u093e \u0926\u093e\u0902\u0935 \u0932\u0917\u093e\u0928\u0947 \u0915\u093e \u091c\u094b\u0916\u093f\u092e \u0928\u0939\u0940\u0902 \u0909\u0920\u093e \u0938\u0915\u0924\u0947 \u091c\u092c \u0924\u0915 \u0915\u093f \u0906\u092a \u0935\u0947\u092c\u0938\u093e\u0907\u091f \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902 \u0938\u0941\u0928\u093f\u0936\u094d\u091a\u093f\u0924 \u0928 \u0939\u094b\u0902 \u0915\u093f \u092f\u0939 \u0915\u0939\u093e\u0902 \u091c\u093e\u090f\u0917\u093e\u0964 \u0938\u092c\u0938\u0947 \u0905\u091a\u094d\u091b\u0940 \u0917\u0947\u092e\u093f\u0902\u0917 \u0935\u0947\u092c\u0938\u093e\u0907\u091f\u094b\u0902 \u092e\u0947\u0902 \u092e\u0947\u0917\u093e \u0915\u0948\u0938\u0940\u0928\u094b \u0935\u0930\u094d\u0932\u094d\u0921, \u0915\u094d\u0930\u093f\u0915\u0947\u0915\u094d\u0938, \u092c\u0947\u091f\u0935\u0940\u0938\u093e, \u092e\u093e\u0930\u094d\u0935\u0932\u092c\u0947\u091f, \u090f\u0921\u092c\u0947\u091f, \u092c\u093e\u091c\u0940 \u0932\u093e\u0907\u0935 \u0914\u0930 \u0935\u093f\u0928\u092c\u0940\u0921\u0940\u091f\u0940 \u0936\u093e\u092e\u093f\u0932 \u0939\u0948\u0902, \u0932\u0947\u0915\u093f\u0928 \u0939\u092e\u093e\u0930\u0940 \u0938\u0942\u091a\u0940 \u092e\u0947\u0902 \u0915\u0908 \u0914\u0930 \u0935\u093f\u0915\u0932\u094d\u092a \u0909\u092a\u0932\u092c\u094d\u0927 \u0939\u0948\u0902, \u0907\u0938\u0932\u093f\u090f \u0938\u0941\u0928\u093f\u0936\u094d\u091a\u093f\u0924 \u0915\u0930\u0947\u0902 \u0915\u093f \u0915\u094b\u0908 \u092d\u0940 \u090f\u0915\u094d\u0938\u091a\u0947\u0902\u091c \u092f\u093e \u0915\u0948\u0938\u0940\u0928\u094b \u0938\u093e\u0907\u091f \u0915\u093f\u0938\u0940 \u092d\u0940 \u091c\u092e\u093e \u0915\u0930\u0928\u0947 \u0938\u0947 \u092a\u0939\u0932\u0947 \u0938\u092d\u0940 \u0928\u093f\u092f\u092e\u094b\u0902 \u0915\u094b \u092a\u0942\u0930\u093e \u0915\u0930\u0924\u0940 \u0939\u0948\u0964"),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"\u0938\u091f\u094d\u091f\u0947\u092c\u093e\u091c\u0940 \u0938\u093e\u0907\u091f\u094b\u0902 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0928\u0947 \u0935\u093e\u0932\u0947 \u0938\u093e\u0907\u092c\u0930 \u092c\u0941\u0932\u093f\u092f\u094b\u0902 \u0915\u0940 \u092c\u0922\u093c\u0924\u0940 \u0938\u0902\u0916\u094d\u092f\u093e \u0928\u0947 \u0916\u093f\u0932\u093e\u0921\u093c\u093f\u092f\u094b\u0902 \u0915\u0947 \u0932\u093f\u090f \u0938\u0941\u0930\u0915\u094d\u0937\u093e \u0915\u094b \u0917\u0902\u092d\u0940\u0930\u0924\u093e \u0938\u0947 \u0932\u0947\u0928\u093e \u092e\u0939\u0924\u094d\u0935\u092a\u0942\u0930\u094d\u0923 \u092c\u0928\u093e \u0926\u093f\u092f\u093e \u0939\u0948\u0964 \u0938\u0941\u0928\u093f\u0936\u094d\u091a\u093f\u0924 \u0915\u0930\u0947\u0902 \u0915\u093f \u092d\u093e\u0930\u0924 \u092e\u0947\u0902 \u0915\u094b\u0908 \u092d\u0940 \u0938\u091f\u094d\u091f\u0947\u092c\u093e\u091c\u0940 \u092e\u0902\u091a \u091a\u0941\u0928\u0928\u0947 \u0938\u0947 \u092a\u0939\u0932\u0947 \u0906\u092a\u0915\u0940 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0938\u0941\u0930\u0915\u094d\u0937\u093f\u0924 \u0930\u0942\u092a \u0938\u0947 \u0938\u0902\u0930\u0915\u094d\u0937\u093f\u0924 \u0914\u0930 \u0938\u0902\u0930\u0915\u094d\u0937\u093f\u0924 \u0939\u0948\u0964"),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"\u0932\u093e\u0907\u0938\u0947\u0902\u0938\u093f\u0902\u0917 \u092a\u094d\u0930\u0915\u094d\u0930\u093f\u092f\u093e \u0915\u093f\u0938\u0940 \u092d\u0940 \u0915\u0948\u0938\u0940\u0928\u094b \u0915\u094b \u091a\u0932\u093e\u0928\u0947 \u0915\u093e \u090f\u0915 \u0905\u0928\u093f\u0935\u093e\u0930\u094d\u092f \u0939\u093f\u0938\u094d\u0938\u093e \u0939\u0948, \u0914\u0930 \u0916\u093f\u0932\u093e\u0921\u093c\u093f\u092f\u094b\u0902 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939 \u091c\u093e\u0928\u0928\u093e \u092e\u0939\u0924\u094d\u0935\u092a\u0942\u0930\u094d\u0923 \u0939\u0948 \u0915\u093f \u0907\u0928 \u0932\u093e\u0907\u0938\u0947\u0902\u0938\u094b\u0902 \u0915\u0947 \u092c\u093f\u0928\u093e \u0909\u0928\u0915\u093e \u0917\u0947\u092e\u093f\u0902\u0917 \u092a\u094d\u0930\u0924\u093f\u0937\u094d\u0920\u093e\u0928 \u092e\u093e\u0928\u0915\u094b\u0902 \u0915\u094b \u092a\u0942\u0930\u093e \u0928\u0939\u0940\u0902 \u0915\u0930\u0947\u0917\u093e\u0964 \u0905\u092a\u0928\u0947 \u092a\u094d\u0930\u093e\u0927\u093f\u0915\u0930\u0923 \u0915\u094b \u092c\u0928\u093e\u090f \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u0920\u094b\u0930 \u0906\u0935\u0936\u094d\u092f\u0915\u0924\u093e\u0913\u0902 \u0915\u0940 \u0906\u0935\u0936\u094d\u092f\u0915\u0924\u093e \u0939\u094b\u0924\u0940 \u0939\u0948 \u091c\u0948\u0938\u0947 \u0915\u093f \u0915\u0941\u091b \u092e\u093e\u0928\u0926\u0902\u0921\u094b\u0902 \u0915\u094b \u092a\u0942\u0930\u093e \u0915\u0930\u0928\u093e \u0928 \u0915\u0947\u0935\u0932 \u092c\u0928\u093e\u090f \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092c\u0932\u094d\u0915\u093f \u092a\u093f\u091b\u0932\u0947 \u0935\u0930\u094d\u0937\u094b\u0902 \u092e\u0947\u0902 \u0938\u0940\u0916\u0940 \u0917\u0908 \u0905\u091a\u094d\u091b\u0940 \u092a\u094d\u0930\u0925\u093e\u0913\u0902 \u0915\u094b \u091c\u093e\u0930\u0940 \u0930\u0916\u0924\u0947 \u0939\u0941\u090f \u0935\u0930\u094d\u0924\u092e\u093e\u0928 \u0938\u094d\u0924\u0930\u094b\u0902 \u092a\u0930 \u092d\u0940 \u0935\u0943\u0926\u094d\u0927\u093f \u0915\u0930\u0928\u093e\u0964"),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"\u0905\u092c \u092d\u093e\u0930\u0924 \u092e\u0947\u0902 \u092a\u0939\u0932\u0947 \u0938\u0947 \u0915\u0939\u0940\u0902 \u0905\u0927\u093f\u0915 \u092c\u0948\u0902\u0915\u093f\u0902\u0917 \u0935\u093f\u0915\u0932\u094d\u092a \u0909\u092a\u0932\u092c\u094d\u0927 \u0939\u0948\u0902\u0964 \u0906\u092a\u0915\u094b \u092c\u0938 \u0907\u0924\u0928\u093e \u0915\u0930\u0928\u093e \u0939\u0948 \u0915\u093f \u0935\u0939 \u0922\u0942\u0902\u0922\u0947\u0902 \u091c\u094b \u0906\u092a\u0915\u0940 \u091c\u093c\u0930\u0942\u0930\u0924\u094b\u0902 \u0915\u0947 \u0932\u093f\u090f \u0938\u092c\u0938\u0947 \u0905\u091a\u094d\u091b\u093e \u0915\u093e\u092e \u0915\u0930\u0924\u093e \u0939\u0948, \u091a\u093e\u0939\u0947 \u0935\u0939 \u0907\u0932\u0947\u0915\u094d\u091f\u094d\u0930\u0949\u0928\u093f\u0915 \u092f\u093e \u0913\u0935\u0930 \u0915\u093e\u0909\u0902\u091f\u0930 \u092c\u0948\u0902\u0915 \u091f\u094d\u0930\u093e\u0902\u0938\u092b\u093c\u0930 \u0915\u0947 \u092e\u093e\u0927\u094d\u092f\u092e \u0938\u0947 \u0939\u094b\u0964 \u0910\u0938\u0947 \u092c\u0948\u0902\u0915\u093f\u0902\u0917 \u0910\u092a \u092d\u0940 \u0939\u0948\u0902 \u091c\u094b \u0935\u093e\u0938\u094d\u0924\u0935 \u092e\u0947\u0902 \u0938\u092d\u0940 \u0915\u0948\u0938\u0940\u0928\u094b \u0916\u093f\u0932\u093e\u0921\u093c\u093f\u092f\u094b\u0902 \u091c\u0948\u0938\u0947 \u092f\u0942\u092a\u0940\u0906\u0908 \u0914\u0930 \u0930\u0941\u092a\u092f\u093e-\u0913 \u092f\u093e \u092f\u0939\u093e\u0902 \u0924\u0915 \u0915\u093f \u092c\u093f\u0928\u0947\u0902\u0938 \u0915\u0947 \u092e\u093e\u0927\u094d\u092f\u092e \u0938\u0947 \u0915\u094d\u0930\u093f\u092a\u094d\u091f\u094b\u0915\u0930\u0947\u0902\u0938\u0940 \u092f\u093e \u0915\u093f\u0938\u0940 \u092d\u0940 \u0915\u094d\u0930\u093f\u092a\u094d\u091f\u094b \u092a\u094d\u0932\u0947\u091f\u092b\u093c\u0949\u0930\u094d\u092e \u0915\u094b \u092a\u0938\u0902\u0926 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902\u0964"),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"\u0928\u0908 \u0924\u0915\u0928\u0940\u0915\u094b\u0902 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0911\u0928\u0932\u093e\u0907\u0928 \u0917\u0947\u092e\u093f\u0902\u0917 \u0905\u0928\u0941\u092d\u0935 \u0915\u094b \u092c\u0922\u093c\u093e\u0928\u0947 \u0914\u0930 \u0907\u0938\u0947 \u0907\u0938 \u0924\u0930\u0939 \u0938\u0947 \u0938\u0941\u0932\u092d \u092c\u0928\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u093e\u092e \u0915\u0930 \u0930\u0939\u093e \u0939\u0948 \u091c\u093f\u0938\u0915\u0947 \u0932\u093f\u090f \u092f\u094b\u0917\u094d\u092f\u0924\u093e \u0915\u0940 \u0906\u0935\u0936\u094d\u092f\u0915\u0924\u093e \u0928\u0939\u0940\u0902 \u0939\u0948\u0964 \u0905\u092a\u0924\u091f\u0940\u092f \u0915\u0948\u0938\u0940\u0928\u094b \u0928\u0947 \u0907\u0938 \u092b\u0949\u0930\u094d\u092e \u0932\u0947\u0928\u0926\u0947\u0928 \u0915\u0947 \u0915\u093e\u0930\u0923 \u092c\u0921\u093c\u0947 \u092a\u0948\u092e\u093e\u0928\u0947 \u092a\u0930 \u0927\u0928\u094d\u092f\u0935\u093e\u0926 \u0915\u093e \u0935\u093f\u0938\u094d\u0924\u093e\u0930 \u0915\u093f\u092f\u093e \u0939\u0948, \u091c\u094b \u092c\u093e\u0902\u0917\u094d\u0932\u093e\u0926\u0947\u0936 \u0915\u0947 \u0917\u0947\u092e\u0930\u094d\u0938 \u0915\u0947 \u0932\u093f\u090f \u0917\u094b\u092a\u0928\u0940\u092f\u0924\u093e \u0915\u0947 \u0938\u093e\u0925-\u0938\u093e\u0925 \u0938\u0941\u0930\u0915\u094d\u0937\u093e \u0926\u094b\u0928\u094b\u0902 \u092a\u094d\u0930\u0926\u093e\u0928 \u0915\u0930\u0924\u093e \u0939\u0948 \u091c\u094b \u092a\u0939\u0941\u0902\u091a \u091a\u093e\u0939\u0924\u0947 \u0939\u0948\u0902 \u0932\u0947\u0915\u093f\u0928 \u0915\u093c\u093e\u0928\u0942\u0928 \u0926\u094d\u0935\u093e\u0930\u093e \u0909\u0928\u094d\u0939\u0947\u0902 \u0935\u0948\u0938\u0947 \u092d\u0940 \u0916\u0947\u0932\u0928\u0947 \u0938\u0947 \u092a\u094d\u0930\u0924\u093f\u092c\u0902\u0927\u093f\u0924 \u0915\u0930\u0928\u0947 \u0915\u0940 \u0905\u0928\u0941\u092e\u0924\u093f \u0928\u0939\u0940\u0902 \u0939\u0948!"),s.k0s(),s.nrm(21,"br"),s.j41(22,"p"),s.EFF(23,"\u0928\u0908 \u0924\u0915\u0928\u0940\u0915\u094b\u0902 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0911\u0928\u0932\u093e\u0907\u0928 \u0917\u0947\u092e\u093f\u0902\u0917 \u0905\u0928\u0941\u092d\u0935 \u0915\u094b \u092c\u0922\u093c\u093e\u0928\u0947 \u0914\u0930 \u0907\u0938\u0947 \u0907\u0938 \u0924\u0930\u0939 \u0938\u0947 \u0938\u0941\u0932\u092d \u092c\u0928\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u093e\u092e \u0915\u0930 \u0930\u0939\u093e \u0939\u0948 \u091c\u093f\u0938\u0915\u0947 \u0932\u093f\u090f \u0905\u0927\u093f\u0915 \u092f\u094b\u0917\u094d\u092f\u0924\u093e \u0915\u0940 \u0906\u0935\u0936\u094d\u092f\u0915\u0924\u093e \u0928\u0939\u0940\u0902 \u0939\u0948\u0964 \u0905\u092a\u0924\u091f\u0940\u092f \u0915\u0948\u0938\u0940\u0928\u094b \u0928\u0947 \u0907\u0938 \u092b\u0949\u0930\u094d\u092e \u0932\u0947\u0928\u0926\u0947\u0928 \u0915\u0947 \u0915\u093e\u0930\u0923 \u0915\u093e\u092b\u093c\u0940 \u0939\u0926 \u0924\u0915 \u0927\u0928\u094d\u092f\u0935\u093e\u0926 \u0915\u093e \u0935\u093f\u0938\u094d\u0924\u093e\u0930 \u0915\u093f\u092f\u093e \u0939\u0948, \u091c\u094b \u092d\u093e\u0930\u0924 \u0915\u0947 \u0917\u0947\u092e\u0930\u094d\u0938 \u0915\u0947 \u0932\u093f\u090f \u0917\u094b\u092a\u0928\u0940\u092f\u0924\u093e \u0915\u0947 \u0938\u093e\u0925-\u0938\u093e\u0925 \u0938\u0941\u0930\u0915\u094d\u0937\u093e \u0926\u094b\u0928\u094b\u0902 \u092a\u094d\u0930\u0926\u093e\u0928 \u0915\u0930\u0924\u093e \u0939\u0948 \u091c\u094b \u092a\u0939\u0941\u0902\u091a \u091a\u093e\u0939\u0924\u0947 \u0939\u0948\u0902 \u0932\u0947\u0915\u093f\u0928 \u0915\u093c\u093e\u0928\u0942\u0928 \u0926\u094d\u0935\u093e\u0930\u093e \u0909\u0928\u094d\u0939\u0947\u0902 \u0935\u0948\u0938\u0947 \u092d\u0940 \u0916\u0947\u0932\u0928\u0947 \u0938\u0947 \u092a\u094d\u0930\u0924\u093f\u092c\u0902\u0927\u093f\u0924 \u0915\u0930\u0928\u0947 \u0915\u0940 \u0905\u0928\u0941\u092e\u0924\u093f \u0928\u0939\u0940\u0902 \u0939\u0948\u0964"),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let $e=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-inr-hi"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,Vt,24,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function yt(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"Mega Casino World - Trusted Betting & Casino Site in Sri Lanka"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"Mega Casino World is an internationally trusted and licensed betting site offering Sri Lankans an expansive selection of online casino games and sports betting covering cricket alongside all major sports."),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"As licensed and regulated in international gaming jurisdictions Gaming Curacao ensures consistently fair, legitimate gaming services protecting users, MCW over the years has cemented its reputation as becoming the trusted go-to all-inclusive entertainment destination platform in Asia for real-money play highly aligned to nuanced regional user sensibilities."),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"Beyond the deep slots and table games variety sporting nuanced Asian themes within MCW's acclaimed online casino, passionate Sri Lankan punters specifically appreciate the site\u2019s extraordinarily extensive cricket betting markets tracking both domestic matches along with global tournaments worldwide through their premium sportsbook platform."),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"From the Indian Premier League extravaganza held annually which generates billions in wagers, to contests and even obscure under-19 youth competitions - bettors locate unmatched cricket betting depth at MCW satisfying the most discerning Lankan cricket enthusiasts with attractive odds, wide selections, and regular risk-free incentives like profit boosts or cash backs across all major cricket events."),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"Aside from highly secure SSL encrypted transactions, dedicated Sinhala-language customer support, and multiple international licensing certificates confirming legitimate accountability, MCW also responsibly promotes balanced responsible enjoyment of their immersive real money entertainment options explicitly meant for adult users only. Currently, Mega Casino World offers Local Bank transfer as a payment channel specifically for Sri Lankan players"),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"To discover why Mega Casino World, with its diverse betting catalogue customized responsively for South Asian players paired with lucrative sign-up bonuses and reliable payment channels, represents the ultimate Sri Lankan punters\u2019 one-stop destination for conveniently enjoying top-tier online entertainment anytime, anywhere through desktop and mobile access, visitors need simply register an account to experience secure prosperous fun firsthand at Asia\u2019s leading integrated betting site today."),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let et=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-lkr-en"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,yt,21,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function rt(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"\u0db8\u0dd9\u0d9c\u0dcf \u0d9a\u0dd0\u0dc3\u0dd2\u0db1\u0ddd \u0dc0\u0dbb\u0dca\u0dbd\u0dca\u0da9\u0dca \u2013 \u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0d82\u0d9a\u0dcf\u0dc0\u0dda \u0dc0\u0dd2\u0dc1\u0dca\u0dc0\u0dcf\u0dc3\u0daf\u0dcf\u0dba\u0d9a \u0d94\u0da7\u0dca\u0da7\u0dd4 \u0d87\u0dbd\u0dca\u0dbd\u0dd3\u0db8 \u0dc3\u0dc4 \u0db8\u0dcf\u0dbb\u0dca\u0d9c\u0d9c\u0dad \u0d9a\u0dd0\u0dc3\u0dd2\u0db1\u0ddd \u0dc0\u0dda\u0daf\u0dd2\u0d9a\u0dcf\u0dc0"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"\u0db8\u0dd9\u0d9c\u0dcf \u0d9a\u0dd0\u0dc3\u0dd2\u0db1\u0ddd \u0dc0\u0dbb\u0dca\u0dbd\u0dca\u0da9\u0dca (MCW) \u0dba\u0db1\u0dd4 \u0da2\u0dcf\u0dad\u0dca\u200d\u0dba\u0db1\u0dca\u0dad\u0dbb\u0dc0 \u0dc0\u0dd2\u0dc1\u0dca\u0dc0\u0dcf\u0dc3\u0daf\u0dcf\u0dba\u0d9a \u0dc4\u0dcf \u0db6\u0dbd\u0db4\u0dad\u0dca\u200d\u0dbb\u0dbd\u0dcf\u0db7\u0dd3 \u0d94\u0da7\u0dca\u0da7\u0dd4 \u0d87\u0dbd\u0dca\u0dbd\u0dd3\u0db8\u0dda \u0dc3\u0dc4 \u0db8\u0dcf\u0dbb\u0dca\u0d9c\u0d9c\u0dad \u0d9a\u0dd0\u0dc3\u0dd2\u0db1\u0ddd \u0dc0\u0dda\u0daf\u0dd2\u0d9a\u0dcf\u0dc0\u0d9a\u0dca \u0dc0\u0db1 \u0d85\u0dad\u0dbb, \u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0dcf\u0d82\u0d9a\u0dd2\u0d9a \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0d9a\u0dba\u0dd2\u0db1\u0dca\u0da7 \u0d9a\u0dca\u200d\u0dbb\u0dd2\u0d9a\u0da7\u0dca \u0d87\u0dad\u0dd4\u0dc5\u0dd4 \u0dc3\u0dd2\u0dba\u0dbd\u0dd4\u0db8 \u0db4\u0dca\u200d\u0dbb\u0db0\u0dcf\u0db1 \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0dcf \u0d86\u0dc0\u0dbb\u0dab\u0dba \u0dc0\u0db1 \u0db4\u0dbb\u0dd2\u0daf\u0dd2 \u0db4\u0dd4\u0dc5\u0dd4\u0dbd\u0dca \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0dcf \u0d94\u0da7\u0dca\u0da7\u0dd4 \u0dc0\u0dd2\u0d9a\u0dbd\u0dca\u0db4 \u0dc3\u0dc4 \u0db8\u0dcf\u0dbb\u0dca\u0d9c\u0d9c\u0dad \u0d9a\u0dd0\u0dc3\u0dd2\u0db1\u0ddd \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0dcf \u0dbb\u0dd0\u0dc3\u0d9a\u0dca \u0dbd\u0db6\u0dcf \u0daf\u0dda."),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"\u0da2\u0dcf\u0dad\u0dca\u200d\u0dba\u0db1\u0dca\u0dad\u0dbb \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0dcf \u0db1\u0dd2\u0dba\u0dcf\u0db8\u0db1 \u0d86\u0dba\u0dad\u0db1\u0dba\u0d9a\u0dca \u0dc0\u0db1 Gaming Curacao \u0db8\u0d9c\u0dd2\u0db1\u0dca \u0db6\u0dbd\u0db4\u0dad\u0dca\u200d\u0dbb\u0dba \u0dc3\u0dc4 \u0db1\u0dd2\u0dba\u0dcf\u0db8\u0db1\u0dba \u0dbd\u0dd0\u0db6 \u0d87\u0dad\u0dd2 \u0db8\u0dd9\u0dba, \u0dc3\u0dcf\u0db0\u0dcf\u0dbb\u0dab \u0dc4\u0dcf \u0db1\u0dd3\u0dad\u0dca\u200d\u0dba\u0dcf\u0db1\u0dd4\u0d9a\u0dd6\u0dbd \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0dcf \u0dc3\u0dda\u0dc0\u0dcf\u0dc0\u0db1\u0dca \u0dbd\u0db6\u0dcf \u0daf\u0dd3\u0db8, \u0dc3\u0dc4 \u0db4\u0dbb\u0dd2\u0dc1\u0dd3\u0dbd\u0d9a \u0d86\u0dbb\u0d9a\u0dca\u0dc2\u0dcf\u0dc0 \u0dc3\u0dc4\u0dad\u0dd2\u0d9a \u0d9a\u0dd2\u0dbb\u0dd3\u0db8 \u0dc3\u0db3\u0dc4\u0dcf \u0dc0\u0dd2\u0dc1\u0dca\u0dc0\u0dcf\u0dc3\u0daf\u0dcf\u0dba\u0d9a \u0dc0\u0dda\u0daf\u0dd2\u0d9a\u0dcf\u0dc0\u0d9a\u0dca \u0dbd\u0dd9\u0dc3 \u0dc3\u0dd0\u0dbd\u0d9a\u0dda. \u0dc0\u0dc3\u0dbb \u0d9c\u0dab\u0db1\u0dcf\u0dc0\u0d9a\u0dca \u0db4\u0dd4\u0dbb\u0dcf \u0d86\u0dc3\u0dd2\u0dba\u0dcf\u0dc0\u0dda \u0dc3\u0dd0\u0db6\u0dd1 \u0db8\u0dd4\u0daf\u0dbd\u0dca \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0dcf \u0dc3\u0db3\u0dc4\u0dcf \u0dc0\u0dd2\u0dc1\u0dd2\u0dc2\u0dca\u0da7 \u0dc3\u0dda\u0dc0\u0dcf\u0dc0\u0db1\u0dca \u0dc3\u0dd0\u0db4\u0dba\u0dd6 MCW, \u0daf\u0dd0\u0d9a\u0dd2\u0dba \u0dc4\u0dd0\u0d9a\u0dd2 \u0dbd\u0dd9\u0dc3\u0db8 \u0da2\u0db1\u0db4\u0dca\u200d\u0dbb\u0dd2\u0dba \u0dc0\u0dda\u0daf\u0dd2\u0d9a\u0dcf\u0dc0\u0d9a\u0dca \u0dbd\u0dd9\u0dc3 \u0db4\u0dad\u0dca\u0dc0\u0dd3 \u0d87\u0dad."),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"MCW \u0dc4\u0dd2 \u0db8\u0dcf\u0dbb\u0dca\u0d9c\u0d9c\u0dad \u0d9a\u0dd0\u0dc3\u0dd2\u0db1\u0ddd \u0d85\u0dad\u0dca\u0daf\u0dd0\u0d9a\u0dd3\u0db8, \u0db1\u0dd6\u0dad\u0db1 \u0d86\u0dc3\u0dd2\u0dba\u0dcf\u0db1\u0dd4 \u0dad\u0dda\u0db8\u0dcf\u0dc0\u0db1\u0dca\u0d9c\u0dd9\u0db1\u0dca \u0dc3\u0dd9\u0dbb\u0dd2\u0db1\u0dc0\u0dd6 \u0dc3\u0dca\u0dbd\u0ddc\u0da7\u0dca \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0dcf \u0dc3\u0dc4 \u0db8\u0dda\u0dc3 \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0dcf \u0dc0\u0dd2\u0dc0\u0dd2\u0db0\u0dad\u0dca\u0dc0\u0dba\u0d9a\u0dd2\u0db1\u0dca \u0dba\u0dd4\u0d9a\u0dca\u0dad \u0dc0\u0db1 \u0d85\u0dad\u0dbb, \u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0dcf\u0d82\u0d9a\u0dd2\u0d9a \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0d9a\u0dba\u0dd2\u0db1\u0dca\u0da7 \u0d94\u0dc0\u0dd4\u0db1\u0dca\u0d9c\u0dda \u0dc0\u0dcf\u0dbb\u0dd2\u0d9a \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0dcf \u0db4\u0ddc\u0dad\u0dca \u0dc0\u0dda\u0daf\u0dd2\u0d9a\u0dcf\u0dc0 \u0dc4\u0dbb\u0dc4\u0dcf \u0daf\u0dda\u0dc1\u0dd3\u0dba \u0dc4\u0dcf \u0da2\u0dcf\u0dad\u0dca\u200d\u0dba\u0db1\u0dca\u0dad\u0dbb \u0dad\u0dbb\u0d9f \u0db1\u0dd2\u0dbb\u0dd3\u0d9a\u0dca\u0dc2\u0dab\u0dba \u0d9a\u0dd2\u0dbb\u0dd3\u0db8\u0da7\u0daf \u0dc4\u0dd0\u0d9a\u0dd2\u0dba\u0dcf\u0dc0 \u0dc3\u0dbd\u0dc3\u0dba\u0dd2. \u0dc0\u0dd2\u0dc1\u0dda\u0dc2\u0dba\u0dd9\u0db1\u0dca\u0db8, \u0db4\u0dd4\u0dc5\u0dd4\u0dbd\u0dca \u0d9a\u0dca\u200d\u0dbb\u0dd2\u0d9a\u0da7\u0dca \u0d94\u0da7\u0dca\u0da7\u0dd4 \u0dc0\u0dd9\u0dc5\u0db3\u0db4\u0ddc\u0dc5, \u0d94\u0da7\u0dca\u0da7\u0dd4 \u0d87\u0dbd\u0dca\u0dbd\u0dd3\u0db8\u0dca\u0d9a\u0dbb\u0dd4\u0dc0\u0db1\u0dca \u0d85\u0dad\u0dbb \u0dc0\u0dd2\u0dc1\u0dcf\u0dbd \u0da2\u0db1\u0db4\u0dca\u200d\u0dbb\u0dd2\u0dba\u0dad\u0dca\u0dc0\u0dba\u0d9a\u0da7 \u0db4\u0dcf\u0dad\u0dca\u200d\u0dbb \u0dc0\u0dda."),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"\u0d89\u0db1\u0dca\u0daf\u0dd2\u0dba\u0dcf\u0db1\u0dd4 \u0db4\u0dca\u200d\u0dbb\u0dd2\u0db8\u0dd2\u0dba\u0dbb\u0dca \u0dbd\u0dd3\u0d9c\u0dca (IPL) \u0dc0\u0dd0\u0db1\u0dd2 \u0dc0\u0dcf\u0dbb\u0dca\u0dc2\u0dd2\u0d9a \u0da2\u0db1\u0db4\u0dca\u200d\u0dbb\u0dd2\u0dba \u0dad\u0dbb\u0d9f\u0dcf\u0dc0\u0dbd\u0dd3\u0db1\u0dca \u0dc3\u0dd2\u0da7, \u0db6\u0dd2\u0dbd\u0dd2\u0dba\u0db1 \u0d9c\u0dab\u0db1\u0d9a \u0d94\u0da7\u0dca\u0da7\u0dd4 \u0d87\u0dbd\u0dca\u0dbd\u0dd3\u0db8\u0dca \u0dc3\u0dd2\u0daf\u0dd4\u0dc0\u0db1 \u0dad\u0dbb\u0d9f \u0dc3\u0dc4 19\u0db1\u0dca \u0db4\u0dc4\u0dc5 \u0dad\u0dbb\u0d9f\u0dc0\u0dbd\u0da7\u0daf \u0db4\u0dc0\u0dcf, MCW \u0dc4\u0dd2 \u0d9a\u0dca\u200d\u0dbb\u0dd2\u0d9a\u0da7\u0dca \u0d94\u0da7\u0dca\u0da7\u0dd4 \u0d87\u0dbd\u0dca\u0dbd\u0dd3\u0db8\u0dda \u0d9c\u0dd0\u0db9\u0dd4\u0dbb, \u0dc0\u0dd2\u0d9a\u0dbd\u0dca\u0db4 \u0dc3\u0dc4 \u0daf\u0dd2\u0dbb\u0dd2\u0d9c\u0dd0\u0db1\u0dca\u0dc0\u0dd3\u0db8\u0dca \u2014 \u0dc0\u0dcf\u0dc3\u0dd2 \u0dc0\u0dd0\u0da9\u0dd2\u0dc0\u0dd3\u0db8\u0dca, \u0db8\u0dd4\u0daf\u0dbd\u0dca \u0d86\u0db4\u0dc3\u0dd4 \u0dbd\u0db6\u0dcf\u0daf\u0dd3\u0db8 \u0dc0\u0dd0\u0db1\u0dd2 \u2014 \u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0dcf\u0d82\u0d9a\u0dd2\u0d9a \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0d9a\u0dba\u0dd2\u0db1\u0dca\u0da7 \u0d86\u0d9a\u0dbb\u0dca\u0dc2\u0dab\u0dd3\u0dba \u0d85\u0dad\u0dca\u0daf\u0dd0\u0d9a\u0dd3\u0db8\u0d9a\u0dca \u0dbd\u0db6\u0dcf \u0daf\u0dd9\u0dba\u0dd2."),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"\u0d89\u0dad\u0dcf \u0d86\u0dbb\u0d9a\u0dca\u0dc2\u0dd2\u0dad SSL \u0dc3\u0d82\u0d9a\u0dda\u0dad\u0db1\u0dba\u0dd9\u0db1\u0dca \u0d86\u0dbb\u0d9a\u0dca\u0dc2\u0dcf \u0dc0\u0db1 \u0d9c\u0db1\u0dd4\u0daf\u0dd9\u0db1\u0dd4 \u0d9a\u0dca\u200d\u0dbb\u0db8, \u0dc3\u0dd2\u0d82\u0dc4\u0dbd \u0db7\u0dcf\u0dc2\u0dcf\u0dc0\u0dd9\u0db1\u0dca \u0db4\u0dd2\u0dbb\u0dd2\u0db1\u0db8\u0db1 \u0db4\u0dcf\u0dbb\u0dd2\u0db7\u0ddd\u0d9c\u0dd2\u0d9a \u0dc3\u0dc4\u0dcf\u0dba, \u0dc3\u0dc4 \u0db6\u0dc4\u0dd4 \u0da2\u0dcf\u0dad\u0dca\u200d\u0dba\u0db1\u0dca\u0dad\u0dbb \u0db6\u0dbd\u0db4\u0dad\u0dca\u200d\u0dbb \u0dc3\u0dc4\u0dad\u0dd2\u0d9a \u2014 \u0db8\u0dd9\u0dc0\u0dd0\u0db1\u0dd2 \u0dc3\u0dd2\u0dba\u0dbd\u0dca\u0dbd\u0d9a\u0dca\u0db8 \u0dc3\u0db8\u0d9f, MCW \u0dc0\u0dd0\u0da9\u0dd2\u0dc4\u0dd2\u0da7\u0dd2 \u0db4\u0dbb\u0dd2\u0dc1\u0dd3\u0dbd\u0d9a\u0dba\u0dd2\u0db1\u0dca\u0da7 \u0db4\u0db8\u0dab\u0d9a\u0dca \u0d85\u0daf\u0dc4\u0dc3\u0dca \u0d9a\u0dbb\u0db1 \u0dc0\u0d9c\u0d9a\u0dd3\u0db8\u0dd9\u0db1\u0dca \u0dba\u0dd4\u0dad\u0dd4, \u0dc3\u0dd0\u0db6\u0dd1 \u0db8\u0dd4\u0daf\u0dbd\u0dca \u0dc0\u0dd2\u0db1\u0ddd\u0daf\u0dcf\u0dc3\u0dca\u0dc0\u0dcf\u0daf\u0dba \u0db4\u0dca\u200d\u0dbb\u0dc0\u0dbb\u0dca\u0db0\u0db1\u0dba \u0d9a\u0dbb\u0dba\u0dd2. \u0dc0\u0dbb\u0dca\u0dad\u0db8\u0dcf\u0db1\u0dba\u0dda, \u0db8\u0dd9\u0d9c\u0dcf \u0d9a\u0dd0\u0dc3\u0dd2\u0db1\u0ddd \u0dc0\u0dbb\u0dca\u0dbd\u0dca\u0da9\u0dca \u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0dcf\u0d82\u0d9a\u0dd2\u0d9a \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0d9a\u0dba\u0dd2\u0db1\u0dca \u0dc3\u0db3\u0dc4\u0dcf \u0dc0\u0dd2\u0dc1\u0dda\u0dc2\u0dd2\u0dad\u0dc0 \u0daf\u0dda\u0dc1\u0dd3\u0dba \u0db6\u0dd0\u0d82\u0d9a\u0dd4 \u0dc4\u0dd4\u0dc0\u0db8\u0dcf\u0dbb\u0dd4 \u0d9a\u0dca\u200d\u0dbb\u0db8\u0dba\u0d9a\u0dca\u0daf \u0dc3\u0db4\u0dba\u0dba\u0dd2."),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"\u0dbd\u0dcf\u0db7\u0daf\u0dcf\u0dba\u0dd3 \u0dbd\u0dd2\u0dba\u0dcf\u0db4\u0daf\u0dd2\u0d82\u0da0\u0dd2 \u0daf\u0dd3\u0db8\u0db1\u0dcf \u0dc3\u0dc4 \u0dc0\u0dd2\u0dc1\u0dca\u0dc0\u0dcf\u0dc3\u0daf\u0dcf\u0dba\u0d9a \u0d9c\u0dd9\u0dc0\u0dd3\u0db8\u0dca \u0db1\u0dcf\u0dbd\u0dd2\u0d9a\u0dcf \u0dc3\u0db8\u0d9f, \u0daf\u0d9a\u0dd4\u0dab\u0dd4 \u0d86\u0dc3\u0dd2\u0dba\u0dcf\u0db1\u0dd4 \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0d9a\u0dba\u0dd2\u0db1\u0dca\u0da7 \u0d85\u0db7\u0dd2\u0dbb\u0dd4\u0da0\u0dd2\u0d9a\u0dbb\u0dab\u0dba \u0d9a\u0dc5 \u0d94\u0da7\u0dca\u0da7\u0dd4 \u0d87\u0dbd\u0dca\u0dbd\u0dd3\u0db8\u0dda \u0dc0\u0dd2\u0d9a\u0dbd\u0dca\u0db4 \u0dbb\u0dd0\u0dc3\u0d9a\u0dca \u2014 \u0da9\u0dd9\u0dc3\u0dca\u0d9a\u0dca\u0da7\u0ddc\u0db4\u0dca \u0dc3\u0dc4 \u0da2\u0d82\u0d9c\u0db8 \u0d8b\u0db4\u0dcf\u0d82\u0d9c \u0d94\u0dc3\u0dca\u0dc3\u0dda \u0d95\u0db1\u0dd1\u0db8 \u0dc0\u0dda\u0dbd\u0dcf\u0dc0\u0d9a, \u0d95\u0db1\u0dd1\u0db8 \u0dad\u0dd0\u0db1\u0d9a \u2014 \u0d89\u0dc4\u0dc5\u0db8 \u0db8\u0da7\u0dca\u0da7\u0db8\u0dda \u0db8\u0dcf\u0dbb\u0dca\u0d9c\u0d9c\u0dad \u0dc0\u0dd2\u0db1\u0ddd\u0daf\u0dcf\u0dc3\u0dca\u0dc0\u0dcf\u0daf\u0dba \u0dbd\u0db6\u0dcf \u0d9c\u0dd0\u0db1\u0dd3\u0db8\u0da7 \u0dc4\u0dd0\u0d9a\u0dd2\u0dba\u0dcf\u0dc0 \u0dc3\u0dbd\u0dc3\u0dba\u0dd2. \u0db8\u0dd9\u0d9c\u0dcf \u0d9a\u0dd0\u0dc3\u0dd2\u0db1\u0ddd \u0dc0\u0dbb\u0dca\u0dbd\u0dca\u0da9\u0dca, \u0d92 \u0d85\u0db1\u0dd4\u0dc0, \u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0dcf\u0d82\u0d9a\u0dd2\u0d9a \u0d9a\u0dca\u200d\u0dbb\u0dd3\u0da9\u0d9a\u0dba\u0dd2\u0db1\u0dca \u0dc3\u0db3\u0dc4\u0dcf \u0d85\u0dc0\u0dc3\u0db1\u0dca, \u0d91\u0d9a\u0db8 \u0db1\u0dc0\u0dad\u0dd4\u0db8\u0dca \u0d9c\u0db8\u0db1\u0dcf\u0db1\u0dca\u0dad\u0dba\u0d9a\u0dca \u0db6\u0dc0\u0da7 \u0db4\u0dad\u0dca\u0dc0\u0dd3 \u0d87\u0dad."),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let xe=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-lkr-si"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,rt,21,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function Je(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"Mega Casino World\uff1a\u9a6c\u6765\u897f\u4e9a\u9876\u7ea7\u535a\u5f69\u7f51\u7ad9"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"\u9a6c\u6765\u897f\u4e9a\u7684\u7f51\u7edc\u535a\u5f69\u6cd5\u5f8b\u4f53\u7cfb\u590d\u6742\uff0c\u4f46\u8be5\u56fd\u6c11\u4f17\u5bf9\u4f53\u80b2\u5145\u6ee1\u70ed\u60c5\u3002\u56e0\u6b64\uff0c\u8be5\u56fd\u62e5\u6709\u5927\u91cf\u7684\u4f53\u80b2\u535a\u5f69\u7f51\u7ad9\u548c\u673a\u4f1a\u3002"),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"\u8fd9\u4efd\u699c\u5355\u6db5\u76d6\u4e86Mega Casino World\u3001Mansion88\u30011xbet\u3001CMD368\u548c22bet\u7b49\u4e00\u4e9b\u9886\u5148\u7684\u8d4c\u573a\u548c\u4f53\u80b2\u535a\u5f69\u7f51\u7ad9\u3002\u8fd9\u4e9b\u7f51\u7ad9\u90fd\u63d0\u4f9b\u5b89\u5168\u7684\u535a\u5f69\u73af\u5883\u4ee5\u53ca\u4e30\u5bcc\u7684\u6295\u6ce8\u9009\u9879\uff0c\u4f8b\u5982\u70b9\u5dee\u6295\u6ce8\u3001\u8fc7\u5173\u6295\u6ce8\u3001\u8fc7\u5173\u6295\u6ce8\u3001\u547d\u9898\u6295\u6ce8\u3001\u8d5b\u4e2d\u6295\u6ce8\u7b49\u7b49\u3002"),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"\u82f1\u8d85\u8054\u8d5b\u3001\u610f\u7532\u8054\u8d5b\u3001\u6cd5\u7532\u8054\u8d5b\u3001\u897f\u7532\u8054\u8d5b\u3001\u5fb7\u7532\u8054\u8d5b\u548c\u4e16\u754c\u676f\u662f\u8fd9\u4e9b\u8054\u8d5b\u4e2d\u6700\u8457\u540d\u7684\u6b27\u6d32\u9876\u7ea7\u8054\u8d5b\u3002"),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"Mega Casino World \u63d0\u4f9b\u79cd\u7c7b\u4e30\u5bcc\u7684\u6e38\u620f\uff0c\u4f8b\u5982 FIFA \u7b49\u3002\u5982\u679c\u60a8\u5df2\u7ecf\u73a9\u591f\u4e86\u771f\u6b63\u7684\u4f53\u80b2\u8d5b\u4e8b\uff0c\u8fd9\u91cc\u8fd8\u6709\u4e13\u4e3a\u79fb\u52a8\u8bbe\u5907\u6253\u9020\u7684\u8d4c\u573a\uff0c\u751a\u81f3\u8fd8\u6709\u4e13\u95e8\u7684\u9493\u9c7c\u533a\uff0c\u8ba9\u60a8\u6709\u673a\u4f1a\u8d62\u53d6\u5de8\u989d\u7d2f\u79ef\u5956\u91d1\u3001\u9886\u53d6\u5956\u52b1\u4f18\u60e0\uff0c\u751a\u81f3\u6709\u673a\u4f1a\u8d62\u53d6\u91d1\u94b1\u4e70\u4e0d\u5230\u7684\u5956\u54c1\u3002"),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"\u5728\u9a6c\u6765\u897f\u4e9a\uff0c\u6700\u5e38\u89c1\u7684\u8d4c\u573a\u652f\u4ed8\u65b9\u5f0f\u4e4b\u4e00\u662f\u94f6\u884c\u8f6c\u8d26\u3002\u901a\u5e38\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528 Visa \u6216 Mastercard \u4fe1\u7528\u5361\u6216\u501f\u8bb0\u5361\u4ed8\u6b3e\u3002\u6b64\u5916\uff0c\u8fd8\u6709\u7535\u5b50\u94b1\u5305\uff0c\u5b83\u4e3a\u60a8\u63d0\u4f9b\u4e00\u79cd\u5b89\u5168\u7684\u65b9\u5f0f\uff0c\u8ba9\u60a8\u4f7f\u7528\u7f51\u7edc\u94b1\u5305\u4e3a\u60a8\u7684\u8d4c\u573a\u8d26\u6237\u5145\u503c\u3002Skrill\u3001PayPal \u548c Neteller \u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u7535\u5b50\u94b1\u5305\u6e38\u620f\u66ff\u4ee3\u65b9\u6848\u3002"),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"\u5927\u591a\u6570\u5b58\u6b3e\u65b9\u5f0f\u5141\u8bb8\u60a8\u7acb\u5373\u5c06\u8d44\u91d1\u5b58\u5165\u60a8\u7684\u8d4c\u573a\u8d26\u6237\u3002\u4f46\u662f\uff0c\u60a8\u5e94\u8be5\u4ed4\u7ec6\u68c0\u67e5\u6700\u9ad8\u548c\u6700\u4f4e\u5b58\u6b3e\u91d1\u989d\uff0c\u4ee5\u53ca\u4f7f\u7528\u8be5\u7279\u5b9a\u4ea4\u6613\u7684\u4efb\u4f55\u76f8\u5173\u8d39\u7528\u3002"),s.k0s(),s.nrm(21,"br"),s.j41(22,"p"),s.EFF(23,"\u5982\u679c\u8fd9\u662f\u60a8\u7b2c\u4e00\u6b21\u5728\u7279\u5b9a\u8d4c\u573a\u7f51\u7ad9\u5b58\u6b3e\uff0c\u60a8\u5e94\u8be5\u786e\u4fdd\u60a8\u4e86\u89e3\u5f53\u524d\u6709\u6548\u7684\u6b22\u8fce\u4f18\u60e0\uff0c\u56e0\u4e3a\u60a8\u53ef\u80fd\u9700\u8981\u6ee1\u8db3\u67d0\u4e9b\u9650\u5236\u624d\u80fd\u5229\u7528\u5b83\u3002"),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let Yt=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-myr-cn"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,Je,24,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function ln(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"Mega Casino World: Top-rated Betting Sites in Malaysia"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"Malaysia has a complicated legal system in place for internet gaming, yet the nation is passionate about sports. As a result, there are a ton of sports betting websites and opportunities in the nation."),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"To compile the list, some of the leading names when it comes to casino and sports betting sites are Mega Casino World, Mansion88, 1xbet, CMD368 and 22bet. Each of the sites mentioned offers a safe igaming environment as well as the complete range of betting possibilities, such as spreads, parlays, teasers, proposition bets, in-play betting, and more."),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"The EPL, Serie A, Ligue 1, La Liga, Bundesliga and World Cup are among the most well-known top-flights on the continent that are represented in these leagues."),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"Mega Casino World offers a superb variety of lines for games like FIFA. If you've gotten your fill of actual sports. To keep you engaged, there is also a casino that is tailored for mobile devices and even a fishing-specific section where you can possibly earn huge jackpots, claim bonus offers and be eligible for money-can\u2019t-buy prizes."),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"One of the most common casino payment options in Malaysia is bank transfer. This typically offers the choice of making payments with a Visa or Mastercard credit card or debit card. Then there are e-wallets, which offer a secure method for you to finance your casino account using an internet wallet. Skrill, PayPal, and Neteller are a few common e-wallet gaming alternatives."),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"Most deposit methods allow you to instantly put money into your casino account. However, you should double-check the maximum and minimum deposit amounts as well as any fees associated with using that specific transaction."),s.k0s(),s.nrm(21,"br"),s.j41(22,"p"),s.EFF(23,"If this is your first time making a deposit at the specific casino site, you should make sure you are aware of the welcome offer that is currently in effect because you might need to fulfill certain restrictions in order to take advantage of it."),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let kn=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-myr-en"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,ln,24,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function di(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"Mega Casino World: Tapak Pertaruhan Tertinggi di Malaysia"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"Malaysia mempunyai sistem perundangan yang rumit untuk permainan internet, namun negara ini meminati sukan. Akibatnya, terdapat satu tan laman web pertaruhan sukan dan peluang di negara ini."),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"Untuk menyusun senarai, beberapa nama terkemuka ketika datang ke kasino dan tapak pertaruhan sukan ialah Mega Casino World, Mansion88, 1xbet, CMD368 dan 22bet. Setiap tapak yang disebutkan menawarkan persekitaran permainan yang selamat serta rangkaian lengkap kemungkinan pertaruhan, seperti spread, parlay, penggoda, pertaruhan cadangan, pertaruhan dalam permainan dan banyak lagi."),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"EPL, Serie A, Ligue 1, La Liga, Bundesliga dan Piala Dunia adalah antara yang paling terkenal di benua itu yang diwakili dalam liga ini."),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"Mega Casino World menawarkan pelbagai barisan hebat untuk permainan seperti FIFA. Jika anda sudah berpuas hati dengan sukan sebenar. Untuk memastikan anda terlibat, terdapat juga kasino yang disesuaikan untuk peranti mudah alih dan juga bahagian khusus memancing di mana anda mungkin boleh memperoleh jackpot yang besar, menuntut tawaran bonus dan layak untuk hadiah wang tidak boleh dibeli."),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"Salah satu pilihan pembayaran kasino yang paling biasa di Malaysia ialah pindahan wang melalui bank. Ini biasanya menawarkan pilihan untuk membuat pembayaran menggunakan kad kredit atau kad debit Visa atau Mastercard. Kemudian terdapat e-dompet, yang menawarkan kaedah selamat untuk anda membiayai akaun kasino anda menggunakan dompet internet. Skrill, PayPal dan Neteller ialah beberapa alternatif permainan e-dompet biasa."),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"Kebanyakan kaedah deposit membolehkan anda memasukkan wang ke dalam akaun kasino anda dengan serta-merta. Walau bagaimanapun, anda harus menyemak semula amaun deposit maksimum dan minimum serta sebarang yuran yang berkaitan dengan menggunakan transaksi khusus tersebut."),s.k0s(),s.nrm(21,"br"),s.j41(22,"p"),s.EFF(23,"Jika ini kali pertama anda membuat deposit di tapak kasino tertentu, anda harus memastikan anda mengetahui tawaran alu-aluan yang sedang berkuat kuasa kerana anda mungkin perlu memenuhi sekatan tertentu untuk memanfaatkannya."),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let Ni=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-myr-ma"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,di,24,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function Qn(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"Mega Casino World - Trusted Betting & Casino Site in Nepal"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"Over recent years, Mega Casino World (MCW) has built an esteemed reputation as Nepal\u2019s premier internationally accredited online betting site offering local punters an extraordinarily vast selection of digital entertainment spanning immersive Macau-inspired online casino gaming and an exceptionally sprawling sportsbook catering ardently to widespread regional fandom surrounding beloved sporting pastimes like football and cricket."),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"With licenses secured under multiple reputed global gaming certification bodies, Mega Casino World upholds the highest transparency benchmarks giving Nepalis assurance engaging their real-money betting and gaming services - localized sensibilities interwoven broadly into the fabric of gameplay offerings aligned equally to inherent localized expectations as much as international best practices."),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"Given that it features universally popular casino gaming staples, MCW further stands apart via an online slots and table games catalogue sporting distinctive Nepali flourishes using symbolic visuals and artistry across many titles to substantially amplify entertainment resonance for local clientele seeking quintessential vernacular engagement. Sportsbook platform conveniences meanwhile enable Nepalis encountering intrinsic comforts even when exploring exotic foreign sporting action."),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"There exists expansive betting markets covering both prestige international leagues where Nepal-born star athletes compete like prolific cricketer Lamichhane, alongside equal extensive domestic match coverage on national cricket and emerging football. Bettors locate ultra-competitive odds here beating informal channels."),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"Further earning enduring user trust, MCW delivers stringent security - from encryption guarded transactions and geo-verification shields, to native Nepalese-language customer support teams handling the minutest account-related queries smoothly."),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"Nepalis seeking the pinnacle of secure, regulated online entertainment under globally revered licensing prioritizing tailored South Asian punting products substantially mirroring personal sensibilities around sports, gaming risks and play, Mega Casino World is the definitive one-stop destination granting customized prosperous fun through desktop and mobile access anytime. Currently, Mega Casino World offers Local Bank transfer as a payment channel specifically for Nepalis players."),s.k0s(),s.nrm(21,"br"),s.j41(22,"p"),s.EFF(23,"Verify the accrued real winnings-filled privileges yourself by joining Nepal's most eminent internet entertainment leader MCW today."),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let ri=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-npr-en"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,Qn,24,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function xi(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"\u092e\u0947\u0917\u093e \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0935\u0930\u094d\u0932\u094d\u0921 - \u0928\u0947\u092a\u093e\u0932\u092e\u093e \u0935\u093f\u0936\u094d\u0935\u093e\u0938\u093f\u0932\u094b \u092c\u0947\u091f\u093f\u0919 \u0930 \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0938\u093e\u0907\u091f"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"\u0939\u093e\u0932\u0915\u093e \u0935\u0930\u094d\u0937\u0939\u0930\u0942\u092e\u093e, \u092e\u0947\u0917\u093e \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0935\u0930\u094d\u0932\u094d\u0921 (MCW) \u0932\u0947 \u0928\u0947\u092a\u093e\u0932\u092e\u093e \u0905\u0928\u094d\u0924\u0930\u094d\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f \u092e\u093e\u0928\u094d\u092f\u0924\u093e \u092a\u094d\u0930\u093e\u092a\u094d\u0924 \u0905\u0928\u0932\u093e\u0907\u0928 \u092c\u0947\u091f\u093f\u0919 \u0938\u093e\u0907\u091f\u0915\u094b \u0930\u0942\u092a\u092e\u093e \u092a\u094d\u0930\u0924\u093f\u0937\u094d\u0920\u093f\u0924 \u092a\u0939\u093f\u091a\u093e\u0928 \u092c\u0928\u093e\u090f\u0915\u094b \u091b, \u091c\u0938\u0932\u0947 \u0938\u094d\u0925\u093e\u0928\u0940\u092f \u092a\u094d\u0930\u092f\u094b\u0917\u0915\u0930\u094d\u0924\u093e\u0939\u0930\u0942\u0932\u093e\u0908 \u092e\u094d\u092f\u093e\u0915\u093e\u0909 \u0936\u0948\u0932\u0940\u092c\u093e\u091f \u092a\u094d\u0930\u0947\u0930\u093f\u0924 \u0906\u0915\u0930\u094d\u0937\u0915 \u0905\u0928\u0932\u093e\u0907\u0928 \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0917\u0947\u092e\u093f\u0919\u0926\u0947\u0916\u093f \u0932\u093f\u090f\u0930 \u092b\u0941\u091f\u092c\u0932 \u0930 \u0915\u094d\u0930\u093f\u0915\u0947\u091f\u091c\u0938\u094d\u0924\u093e \u0932\u094b\u0915\u092a\u094d\u0930\u093f\u092f \u0916\u0947\u0932\u092a\u094d\u0930\u0924\u093f \u0915\u094d\u0937\u0947\u0924\u094d\u0930\u0940\u092f \u0930\u0941\u091a\u093f\u0932\u093e\u0908 \u0938\u092e\u094d\u092c\u094b\u0927\u0928 \u0917\u0930\u094d\u0928\u0947 \u0935\u093f\u0936\u093e\u0932 \u0938\u094d\u092a\u094b\u0930\u094d\u091f\u094d\u0938\u092c\u0941\u0915\u0938\u092e\u094d\u092e\u0915\u094b \u0921\u093f\u091c\u093f\u091f\u0932 \u092e\u0928\u094b\u0930\u091e\u094d\u091c\u0928\u0915\u094b \u0905\u0924\u094d\u092f\u0928\u094d\u0924\u0948 \u092b\u0930\u093e\u0915\u093f\u0932\u094b \u0926\u093e\u092f\u0930\u093e \u092a\u094d\u0930\u0926\u093e\u0928 \u0917\u0930\u094d\u091b\u0964"),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"\u0927\u0947\u0930\u0948\u091c\u0938\u094b \u092a\u094d\u0930\u0924\u093f\u0937\u094d\u0920\u093f\u0924 \u0905\u0928\u094d\u0924\u0930\u094d\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f \u0917\u0947\u092e\u093f\u0919 \u092a\u094d\u0930\u092e\u093e\u0923\u0928 \u0928\u093f\u0915\u093e\u092f\u0939\u0930\u0942\u092c\u093e\u091f \u0907\u091c\u093e\u091c\u0924\u092a\u0924\u094d\u0930 \u092a\u094d\u0930\u093e\u092a\u094d\u0924 \u0917\u0930\u0947\u0930, \u092e\u0947\u0917\u093e \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0935\u0930\u094d\u0932\u094d\u0921\u0932\u0947 \u0909\u091a\u094d\u091a\u0924\u092e \u092a\u093e\u0930\u0926\u0930\u094d\u0936\u093f\u0924\u093e \u092e\u093e\u092a\u0926\u0923\u094d\u0921\u0939\u0930\u0942 \u092a\u093e\u0932\u0928 \u0917\u0930\u094d\u0926\u091b, \u091c\u0938\u0932\u0947 \u0928\u0947\u092a\u093e\u0932\u0940\u0939\u0930\u0942\u0932\u093e\u0908 \u0909\u0928\u0940\u0939\u0930\u0942\u0915\u094b \u0935\u093e\u0938\u094d\u0924\u0935\u093f\u0915 \u0930\u0915\u092e\u092e\u093e \u0906\u0927\u093e\u0930\u093f\u0924 \u092c\u0947\u091f\u093f\u0919 \u0930 \u0917\u0947\u092e\u093f\u0919 \u0938\u0947\u0935\u093e\u0939\u0930\u0942\u092e\u093e \u092a\u0942\u0930\u094d\u0923 \u0935\u093f\u0936\u094d\u0935\u0938\u0928\u0940\u092f\u0924\u093e \u092a\u094d\u0930\u0926\u093e\u0928 \u0917\u0930\u094d\u091b\u0964 \u0938\u094d\u0925\u093e\u0928\u093f\u092f \u0930\u0941\u091a\u093f \u0930 \u0938\u0902\u0935\u0947\u0926\u0928\u0936\u0940\u0932\u0924\u093e\u0932\u093e\u0908 \u0905\u0928\u094d\u0924\u0930\u094d\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f \u0909\u0924\u094d\u0915\u0943\u0937\u094d\u091f \u0905\u092d\u094d\u092f\u093e\u0938\u0939\u0930\u0942\u0938\u0901\u0917 \u0938\u092e\u093e\u0928 \u0930\u0942\u092a\u092e\u093e \u0938\u092e\u093e\u092f\u094b\u091c\u0928 \u0917\u0930\u094d\u0926\u0948, \u0916\u0947\u0932\u0915\u094b \u0938\u094d\u0935\u0930\u0942\u092a\u092e\u093e \u0917\u0939\u093f\u0930\u094b \u0930\u0942\u092a\u092e\u093e \u0938\u092e\u0947\u091f\u093f\u090f\u0915\u094b \u091b\u0964"),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"\u0938\u093e\u092e\u093e\u0928\u094d\u092f \u0930\u0942\u092a\u092e\u093e \u0935\u093f\u0936\u094d\u0935\u092d\u0930 \u0932\u094b\u0915\u092a\u094d\u0930\u093f\u092f \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0916\u0947\u0932\u0939\u0930\u0942 \u092a\u094d\u0930\u0938\u094d\u0924\u0941\u0924 \u0917\u0930\u094d\u0928\u0947 \u092e\u0947\u0917\u093e \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0935\u0930\u094d\u0932\u094d\u0921 (MCW) \u0932\u0947 \u0906\u092b\u0942\u0932\u093e\u0908 \u0905\u091d \u0905\u0932\u0917 \u092c\u0928\u093e\u0909\u0928\u0947 \u0935\u093f\u0936\u0947\u0937\u0924\u093e \u092d\u0928\u0947\u0915\u094b \u092f\u0938\u0915\u094b \u0905\u0928\u0932\u093e\u0907\u0928 \u0938\u094d\u0932\u091f\u094d\u0938 \u0930 \u091f\u0947\u092c\u0932 \u0917\u0947\u092e\u0939\u0930\u0942\u0915\u094b \u0938\u0902\u0917\u094d\u0930\u0939 \u0939\u094b, \u091c\u0938\u092e\u093e \u0927\u0947\u0930\u0948 \u0916\u0947\u0932\u0939\u0930\u0942\u092e\u093e \u0928\u0947\u092a\u093e\u0932\u0940\u092a\u0928 \u091d\u0932\u094d\u0915\u093f\u0928\u0947 \u092a\u094d\u0930\u0924\u0940\u0915\u093e\u0924\u094d\u092e\u0915 \u0926\u0943\u0936\u094d\u092f \u0930 \u0915\u0932\u093e\u0924\u094d\u092e\u0915\u0924\u093e \u0938\u092e\u093e\u0935\u0947\u0936 \u0917\u0930\u093f\u090f\u0915\u094b \u091b \u2014 \u091c\u0938\u0932\u0947 \u0938\u094d\u0925\u093e\u0928\u093f\u092f \u0916\u0947\u0932\u092a\u094d\u0930\u0947\u092e\u0940\u0939\u0930\u0942\u0932\u093e\u0908 \u092a\u0930\u093f\u091a\u093f\u0924 \u0930 \u0906\u0924\u094d\u092e\u0940\u092f \u0905\u0928\u0941\u092d\u0935 \u0926\u093f\u0932\u093e\u0909\u0901\u0926\u0948 \u092e\u0928\u094b\u0930\u091e\u094d\u091c\u0928\u0915\u094b \u092a\u094d\u0930\u092d\u093e\u0935\u0932\u093e\u0908 \u0909\u0932\u094d\u0932\u0947\u0916\u0928\u0940\u092f \u0930\u0942\u092a\u092e\u093e \u092c\u0922\u093e\u0909\u0901\u091b\u0964 \u0924\u094d\u092f\u0938\u0948\u0917\u0930\u0940, \u0938\u094d\u092a\u094b\u0930\u094d\u091f\u094d\u0938\u092c\u0941\u0915 \u092a\u094d\u0932\u0947\u091f\u092b\u0930\u094d\u092e\u0932\u0947 \u0928\u0947\u092a\u093e\u0932\u0940 \u092a\u094d\u0930\u092f\u094b\u0917\u0915\u0930\u094d\u0924\u093e\u0939\u0930\u0942\u0932\u093e\u0908 \u0935\u093f\u0926\u0947\u0936\u0940 \u0916\u0947\u0932\u0939\u0930\u0942\u092e\u093e \u0930\u092e\u093e\u0909\u0901\u0926\u0948 \u0917\u0930\u094d\u0926\u093e \u092a\u0928\u093f \u0906\u092b\u094d\u0928\u0948 \u0938\u0939\u091c\u0924\u093e \u0930 \u092a\u0930\u093f\u091a\u092f\u0915\u094b \u0905\u0928\u0941\u092d\u0942\u0924\u093f \u0926\u093f\u0932\u093e\u0909\u0928\u0947 \u0938\u0941\u0935\u093f\u0927\u093e \u092a\u094d\u0930\u0926\u093e\u0928 \u0917\u0930\u094d\u0926\u091b\u0964"),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"\u092f\u0939\u093e\u0901 \u0935\u094d\u092f\u093e\u092a\u0915 \u092c\u0947\u091f\u093f\u0919 \u092e\u093e\u0930\u094d\u0915\u0947\u091f\u0939\u0930\u0942 \u0909\u092a\u0932\u092c\u094d\u0927 \u091b\u0928\u094d, \u091c\u0938\u0932\u0947 \u092a\u094d\u0930\u0924\u093f\u0937\u094d\u0920\u093f\u0924 \u0905\u0928\u094d\u0924\u0930\u094d\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f \u0932\u093f\u0917\u0939\u0930\u0942 \u0938\u092e\u0947\u091f\u094d\u091b\u0928\u094d \u2014 \u091c\u0939\u093e\u0901 \u0928\u0947\u092a\u093e\u0932\u0915\u093e \u091a\u0930\u094d\u091a\u093f\u0924 \u0916\u0947\u0932\u093e\u0921\u0940\u0939\u0930\u0942, \u091c\u0938\u094d\u0924\u0948 \u0915\u0940\u0930\u094d\u0924\u093f\u092e\u093e\u0928\u0940 \u0915\u094d\u0930\u093f\u0915\u0947\u091f\u0930 \u0932\u093e\u092e\u093f\u091b\u093e\u0928\u0947, \u092a\u094d\u0930\u0924\u093f\u0938\u094d\u092a\u0930\u094d\u0927\u093e \u0917\u0930\u094d\u091b\u0928\u094d \u2014 \u0938\u093e\u0925\u0948 \u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f \u0915\u094d\u0930\u093f\u0915\u0947\u091f \u0930 \u0909\u0926\u093e\u0909\u0901\u0926\u094b \u092b\u0941\u091f\u092c\u0932\u091c\u0938\u094d\u0924\u093e \u0938\u094d\u0925\u093e\u0928\u093f\u092f \u0916\u0947\u0932\u0939\u0930\u0942\u0915\u094b \u092a\u0928\u093f \u0938\u092e\u093e\u0928 \u0930\u0942\u092a\u092e\u093e \u0935\u093f\u0938\u094d\u0924\u0943\u0924 \u0915\u0935\u0930\u0947\u091c \u092a\u094d\u0930\u0926\u093e\u0928 \u0917\u0930\u093f\u0928\u094d\u091b\u0964 \u0916\u0947\u0932\u093e\u0921\u0940\u0939\u0930\u0942\u0932\u0947 \u092f\u0939\u093e\u0901 \u0905\u0928\u094c\u092a\u091a\u093e\u0930\u093f\u0915 \u092e\u093e\u0927\u094d\u092f\u092e\u0939\u0930\u0942\u092d\u0928\u094d\u0926\u093e \u092a\u094d\u0930\u0924\u093f\u0938\u094d\u092a\u0930\u094d\u0927\u093e\u0924\u094d\u092e\u0915 \u0926\u0930\u0939\u0930\u0942 \u092a\u093e\u0909\u0901\u091b\u0928\u094d\u0964"),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"\u092a\u094d\u0930\u092f\u094b\u0917\u0915\u0930\u094d\u0924\u093e\u0915\u094b \u0926\u0940\u0930\u094d\u0918\u0915\u093e\u0932\u0940\u0928 \u0935\u093f\u0936\u094d\u0935\u093e\u0938 \u0905\u091d \u092e\u091c\u092c\u0941\u0924 \u092c\u0928\u093e\u0909\u0901\u0926\u0948, \u092e\u0947\u0917\u093e \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0935\u0930\u094d\u0932\u094d\u0921 (MCW) \u0932\u0947 \u0915\u0921\u093e\u0907\u0915\u093e \u0938\u093e\u0925 \u0938\u0941\u0930\u0915\u094d\u0937\u093e \u0909\u092a\u093e\u092f\u0939\u0930\u0942 \u0932\u093e\u0917\u0942 \u0917\u0930\u094d\u0926\u091b \u2014 \u0907\u0928\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u0938\u0928\u0926\u094d\u0935\u093e\u0930\u093e \u0938\u0941\u0930\u0915\u094d\u0937\u093f\u0924 \u0932\u0947\u0928\u0926\u0947\u0928 \u0930 \u092d\u0942-\u092a\u094d\u0930\u092e\u093e\u0923\u0940\u0915\u0930\u0923 \u0938\u0941\u0930\u0915\u094d\u0937\u093e \u092a\u094d\u0930\u0923\u093e\u0932\u0940\u0926\u0947\u0916\u093f \u0932\u093f\u090f\u0930 \u0928\u0947\u092a\u093e\u0932\u0940 \u092d\u093e\u0937\u093e\u092e\u093e \u0938\u0947\u0935\u093e \u0926\u093f\u0928\u0947 \u0917\u094d\u0930\u093e\u0939\u0915 \u0938\u0939\u093e\u092f\u0924\u093e \u091f\u094b\u0932\u0940\u0938\u092e\u094d\u092e, \u091c\u0938\u0932\u0947 \u0916\u093e\u0924\u093e\u0938\u092e\u094d\u092c\u0928\u094d\u0927\u0940 \u0938-\u0938\u093e\u0928\u093e \u091c\u093f\u091c\u094d\u091e\u093e\u0938\u093e\u0939\u0930\u0942\u0932\u093e\u0908 \u092a\u0928\u093f \u0938\u0939\u091c \u0930\u0942\u092a\u092e\u093e \u0938\u092e\u093e\u0927\u093e\u0928 \u0917\u0930\u094d\u091b\u0964"),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"\u0935\u093f\u0936\u094d\u0935\u092a\u094d\u0930\u0938\u093f\u0926\u094d\u0927 \u0905\u0928\u0941\u092e\u0924\u093f\u092a\u0924\u094d\u0930\u0939\u0930\u0942\u0905\u0928\u094d\u0924\u0930\u094d\u0917\u0924 \u0938\u0941\u0930\u0915\u094d\u0937\u093f\u0924 \u0930 \u0928\u093f\u092f\u092e\u0928 \u0917\u0930\u093f\u090f\u0915\u094b \u0905\u0928\u0932\u093e\u0907\u0928 \u092e\u0928\u094b\u0930\u091e\u094d\u091c\u0928\u0915\u094b \u0936\u093f\u0916\u0930 \u0916\u094b\u091c\u094d\u0928\u0947 \u0928\u0947\u092a\u093e\u0932\u0940\u0939\u0930\u0942\u0915\u093e \u0932\u093e\u0917\u093f, \u091c\u094b \u0926\u0915\u094d\u0937\u093f\u0923 \u090f\u0936\u093f\u092f\u093e\u0932\u0940 \u092c\u0947\u091f\u093f\u0919 \u0909\u0924\u094d\u092a\u093e\u0926\u0928\u0939\u0930\u0942\u092e\u093e \u0935\u094d\u092f\u0915\u094d\u0924\u093f\u0917\u0924 \u0930\u0941\u091a\u093f, \u0916\u0947\u0932 \u0924\u0925\u093e \u091c\u094b\u0916\u093f\u092e\u092a\u094d\u0930\u0924\u093f\u0915\u094b \u0938\u092e\u091d, \u0930 \u0916\u0947\u0932\u094d\u0928\u0947 \u0936\u0948\u0932\u0940\u0938\u0901\u0917 \u092e\u093f\u0932\u094d\u0926\u094b\u091c\u0941\u0932\u094d\u0926\u094b \u0905\u0928\u0941\u092d\u0935 \u091a\u093e\u0939\u0928\u094d\u091b\u0928\u094d, \u092e\u0947\u0917\u093e \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0935\u0930\u094d\u0932\u094d\u0921 \u0928\u0948 \u0909\u092a\u092f\u0941\u0915\u094d\u0924 \u0917\u0928\u094d\u0924\u0935\u094d\u092f \u0939\u094b\u0964 \u092f\u094b \u092a\u094d\u0932\u0947\u091f\u092b\u0930\u094d\u092e\u0932\u0947 \u0921\u0947\u0938\u094d\u0915\u091f\u092a \u0930 \u092e\u094b\u092c\u093e\u0907\u0932 \u0926\u0941\u0935\u0948\u092e\u093e\u0930\u094d\u092b\u0924 \u0915\u0939\u093f\u0932\u0947 \u092a\u0928\u093f \u092a\u0939\u0941\u0901\u091a\u092f\u094b\u0917\u094d\u092f, \u0905\u0928\u0941\u0915\u0942\u0932\u093f\u0924 \u0930 \u0932\u093e\u092d\u0926\u093e\u092f\u0915 \u0930\u092e\u093e\u0907\u0932\u094b \u092a\u094d\u0930\u0926\u093e\u0928 \u0917\u0930\u094d\u091b\u0964 \u0939\u093e\u0932, \u0928\u0947\u092a\u093e\u0932\u0940 \u0916\u0947\u0932\u093e\u0921\u0940\u0939\u0930\u0942\u0915\u093e \u0932\u093e\u0917\u093f \u0935\u093f\u0936\u0947\u0937\u0930\u0942\u092a\u092e\u093e, \u092e\u0947\u0917\u093e \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0935\u0930\u094d\u0932\u094d\u0921\u0932\u0947 \u0938\u094d\u0925\u093e\u0928\u093f\u092f \u092c\u0948\u0902\u0915 \u091f\u094d\u0930\u093e\u0928\u094d\u0938\u092b\u0930\u092e\u093e\u0930\u094d\u092b\u0924 \u092d\u0941\u0915\u094d\u0924\u093e\u0928\u0940 \u0938\u0941\u0935\u093f\u0927\u093e \u092a\u0928\u093f \u0909\u092a\u0932\u092c\u094d\u0927 \u0917\u0930\u093e\u090f\u0915\u094b \u091b\u0964"),s.k0s(),s.nrm(21,"br"),s.j41(22,"p"),s.EFF(23,"\u0906\u091c\u0948 \u0928\u0947\u092a\u093e\u0932\u0915\u093e \u0938\u092c\u0948\u092d\u0928\u094d\u0926\u093e \u092a\u094d\u0930\u0924\u093f\u0937\u094d\u0920\u093f\u0924 \u0907\u0928\u094d\u091f\u0930\u0928\u0947\u091f \u092e\u0928\u094b\u0930\u091e\u094d\u091c\u0928 \u0928\u0947\u0924\u093e, \u092e\u0947\u0917\u093e \u0915\u094d\u092f\u093e\u0938\u093f\u0928\u094b \u0935\u0930\u094d\u0932\u094d\u0921 (MCW) \u0938\u0901\u0917 \u0938\u093e\u092e\u0947\u0932 \u092d\u090f\u0930 \u0924\u092a\u093e\u0908\u0901\u0932\u0947 \u0938\u0902\u0915\u0932\u093f\u0924 \u0935\u093e\u0938\u094d\u0924\u0935\u093f\u0915 \u091c\u093f\u0924\u0938\u0901\u0917 \u092d\u0930\u093f\u092a\u0942\u0930\u094d\u0923 \u0935\u093f\u0936\u0947\u0937\u093e\u0927\u093f\u0915\u093e\u0930\u0939\u0930\u0942 \u0906\u092b\u0948 \u091c\u093e\u0901\u091a \u0917\u0930\u094d\u0928\u0941\u0939\u094b\u0938\u094d\u0964"),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let ji=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-npr-ne"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,xi,24,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function ss(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"Mega Casino World \u2013 Pakistan\u2019s Trusted Betting & Casino Platform"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"Cricket is unquestionably the most popular sport in Pakistan, where there is a wide variety available. The national cricket team has had tremendous success over the years. There are many cricket bookmakers in Pakistan today, however they are all forbidden by local legislation."),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"In Pakistan, sports betting is popular across the board; cricket, football, kabaddi, and many other games are also widespread. Pakistanis are well renowned for playing in casino games like online slots."),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"Mega Casino World is a reliable option for Pakistani cricket betting. It offers a wide range of cricket competitions, including the IPL, PSL, BBL, and BPL, and you can bet on horse races as well. Another fantastic resource for comparing odds is, Baji Live, Crickex, Jeetwin and ICCWin. At MCW, You can enjoy the following games, to name a few; Poker, Table games, Arcade, Roulette, Blackjack, baccarat and many more to mention."),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"The country's gaming regulators cannot license casino operators, although players may still play through offshore internet gaming sites. Since the UK has a reputation as having the most developed legal market and is dependable and open to Pakistani players, all the top-rated Pakistani casino sites that we've included here are all licensed and controlled by the UK Internet Gaming Commission."),s.k0s(),s.nrm(15,"br"),s.j41(16,"p"),s.EFF(17,"Are all the current casino games available online legal to play in Pakistan? There are typically limitations on the kinds of games to which Pakistani gamers have access. After some investigation, we're pleasantly surprised to learn that Pakistani players have access to a huge selection of games, including our favorite poker."),s.k0s(),s.nrm(18,"br"),s.j41(19,"p"),s.EFF(20,"It can be very difficult to distinguish between skill and luck when playing online casino games in Pakistan because of the blurry line that exists in these endeavors. In general, there are many games available online, but you should always bet sensibly at Pakistani online casinos."),s.k0s(),s.nrm(21,"br"),s.j41(22,"p"),s.EFF(23,"The diversity of payment options accessible for their country and the banking is one very essential factor players check for when registering at internet gaming websites in Pakistan. Players typically access the nation's online casinos from the UK, which provide a wide range of acceptable e-wallets and other payment options."),s.k0s(),s.nrm(24,"br"),s.j41(25,"p"),s.EFF(26,"Bank Deposit, Easypaisa, Jazz Cash, CashMaal, Upaisa, and Perfect Money are favored payment methods provided by the best Pakistani online casinos."),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let mi=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-pkr-en"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,ss,27,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function Ki(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"MCW Casino \u2013 Asia\u2019s Winning Choice for Live Casino Gaming"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5,"The online gaming industry continues to grow rapidly, and Asia remains one of its most dynamic markets. Among the many platforms available today, Mega Casino World has established itself as a leading destination for live casino gaming, premium slots, and secure digital transactions. With a strong reputation for reliability and entertainment, MCW Casino delivers a complete online casino experience tailored to Asian players."),s.k0s(),s.nrm(6,"br"),s.j41(7,"p"),s.EFF(8,"MCW Casino offers an extensive range of games designed to suit all preferences. Players can enjoy immersive live dealer games, exciting video slots, arcade titles, and classic table games such as blackjack, poker, and roulette. By partnering with multiple well-known iGaming providers, the platform ensures a diverse and high-quality gaming library. This allows users to access top-tier titles in one convenient location without the limitations often found on smaller platforms."),s.k0s(),s.nrm(9,"br"),s.j41(10,"p"),s.EFF(11,"A key highlight of MCW Casino is its support for USDT (Tether) as a primary and highly convenient payment method in Asia. As cryptocurrency adoption grows across the region, USDT has become increasingly popular due to its speed, stability, and efficiency. Because USDT is a stable coin pegged to the US dollar, players can enjoy minimized volatility while benefiting from fast deposits and withdrawals. The borderless nature of USDT also makes it ideal for users across different Asian countries, especially where traditional banking systems may cause delays."),s.k0s(),s.nrm(12,"br"),s.j41(13,"p"),s.EFF(14,"Security remains a top priority at MCW Casino, with advanced encryption technology protecting user data and transactions. Combined with responsive 24/7 customer support and a commitment to responsible gaming practices, MCW Casino continues to stand out as a trusted and modern online casino choice in Asia"),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let rs=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-usd-en"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"]],template:function(Ye,pn){1&Ye&&s.DNE(0,Ki,15,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();function be(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1),s.EFF(2,"MCW: S\xe2n Ch\u01a1i Casino Tr\u1ef1c Tuy\u1ebfn Uy T\xedn V\u1edbi Tr\u1ea3i Nghi\u1ec7m \u0110\u1eb3ng C\u1ea5p"),s.k0s(),s.j41(3,"div",2)(4,"p"),s.EFF(5," Trong th\u1ecb tr\u01b0\u1eddng iGaming \u0111\u1ea7y bi\u1ebfn \u0111\u1ed9ng, "),s.j41(6,"strong",3),s.EFF(7,"MCW"),s.k0s(),s.EFF(8," (Mega Casino World) \u0111\xe3 kh\u1eb3ng \u0111\u1ecbnh v\u1ecb th\u1ebf l\xe0 m\u1ed9t trong nh\u1eefng th\u01b0\u01a1ng hi\u1ec7u casino tr\u1ef1c tuy\u1ebfn \u0111\xe1ng tin c\u1eady nh\u1ea5t hi\u1ec7n nay. Kh\xf4ng ch\u1ec9 d\u1eebng l\u1ea1i \u1edf m\u1ed9t n\u1ec1n t\u1ea3ng gi\u1ea3i tr\xed, MCW c\xf2n l\xe0 n\u01a1i h\u1ed9i t\u1ee5 c\u1ee7a c\xf4ng ngh\u1ec7 c\xe1 c\u01b0\u1ee3c hi\u1ec7n \u0111\u1ea1i v\xe0 c\u01a1 h\u1ed9i l\xe0m gi\xe0u minh b\u1ea1ch cho h\xe0ng tri\u1ec7u c\u01b0\u1ee3c th\u1ee7. "),s.k0s(),s.nrm(9,"br"),s.j41(10,"strong",3),s.EFF(11,' H\u1ec7 sinh th\xe1i tr\xf2 ch\u01a1i "All-in-one" t\u1ea1i MCW '),s.k0s(),s.j41(12,"p"),s.EFF(13," \u0110i\u1ec1u khi\u1ebfn "),s.j41(14,"strong",3),s.EFF(15,"MCW"),s.k0s(),s.EFF(16," th\u1ef1c s\u1ef1 kh\xe1c bi\u1ec7t ch\xednh l\xe0 s\u1ef1 \u0111\u1ea7u t\u01b0 b\xe0i b\u1ea3n v\xe0o ch\u1ea5t l\u01b0\u1ee3ng s\u1ea3nh c\u01b0\u1ee3c. T\u1ea1i \u0111\xe2y, b\u1ea1n c\xf3 th\u1ec3 d\u1ec5 d\xe0ng t\xecm th\u1ea5y: "),s.k0s(),s.j41(17,"ul",4)(18,"li"),s.EFF(19," Live Casino: Tr\u1ea3i nghi\u1ec7m Blackjack, Baccarat hay Roulette tr\u1ef1c ti\u1ebfp v\u1edbi Dealer, mang l\u1ea1i c\u1ea3m gi\xe1c ch\xe2n th\u1ef1c nh\u01b0 \u0111ang ng\u1ed3i t\u1ea1i c\xe1c s\xf2ng b\xe0i l\u1edbn \u1edf Macau. "),s.k0s(),s.j41(20,"li"),s.EFF(21," Slot Game & N\u1ed5 H\u0169: H\xe0ng ngh\xecn t\u1ef1a game v\u1edbi \u0111\u1ed3 h\u1ecda s\u1eafc n\xe9t, \u0111i k\xe8m qu\u1ef9 Jackpot c\u1ef1c kh\u1ee7ng t\u1eeb c\xe1c nh\xe0 ph\xe1t h\xe0nh danh ti\u1ebfng. "),s.k0s(),s.j41(22,"li"),s.EFF(23," C\xe1 c\u01b0\u1ee3c \u0111a n\u0103ng: T\u1eeb Poker chi\u1ebfn thu\u1eadt, B\u1eafn c\xe1 \u0111\u1ed5i th\u01b0\u1edfng \u0111\u1ebfn Th\u1ec3 thao \u1ea3o v\xe0 c\xe1c mini game d\xe2n gian nh\u01b0 X\xf3c \u0111\u0129a, T\xe0i x\u1ec9u. "),s.k0s()(),s.nrm(24,"br"),s.j41(25,"strong",3),s.EFF(26," T\u1ea1i sao c\u1ed9ng \u0111\u1ed3ng c\u01b0\u1ee3c th\u1ee7 tin ch\u1ecdn MCW? "),s.k0s(),s.nrm(27,"br"),s.j41(28,"p"),s.EFF(29," L\xfd do "),s.j41(30,"strong",3),s.EFF(31,"MCW"),s.k0s(),s.EFF(32," duy tr\xec \u0111\u01b0\u1ee3c s\u1ee9c h\xfat n\u1eb1m \u1edf h\u1ec7 th\u1ed1ng v\u1eadn h\xe0nh chuy\xean nghi\u1ec7p. N\u1ec1n t\u1ea3ng s\u1edf h\u1eefu giao di\u1ec7n tr\u1ef1c quan, t\u01b0\u01a1ng th\xedch m\u01b0\u1ee3t m\xe0 tr\xean c\u1ea3 m\xe1y t\xednh l\u1eabn \u1ee9ng d\u1ee5ng di \u0111\u1ed9ng. \u0110\u1eb7c bi\u1ec7t, kh\xe2u b\u1ea3o m\u1eadt \u0111\u01b0\u1ee3c m\xe3 h\xf3a \u0111a l\u1edbp, \u0111\u1ea3m b\u1ea3o d\u1eef li\u1ec7u c\xe1 nh\xe2n c\u1ee7a ng\u01b0\u1eddi ch\u01a1i lu\xf4n \u1edf tr\u1ea1ng th\xe1i an to\xe0n tuy\u1ec7t \u0111\u1ed1i. "),s.k0s(),s.j41(33,"p"),s.EFF(34," H\u01a1n th\u1ebf n\u1eefa, MCW t\u1ed1i \u01b0u h\xf3a d\xf2ng ti\u1ec1n cho ng\u01b0\u1eddi ch\u01a1i th\xf4ng qua h\u1ec7 th\u1ed1ng thanh to\xe1n linh ho\u1ea1t (Ng\xe2n h\xe0ng, V\xed \u0111i\u1ec7n t\u1eed, Ti\u1ec1n \u0111i\u1ec7n t\u1eed) v\u1edbi t\u1ed1c \u0111\u1ed9 n\u1ea1p r\xfat nhanh ch\xf3ng. \u0110i k\xe8m l\xe0 c\xe1c ch\u01b0\u01a1ng tr\xecnh ho\xe0n ti\u1ec1n h\xe0ng tu\u1ea7n v\xe0 th\u01b0\u1edfng n\u1ea1p VIP c\u1ef1c k\u1ef3 h\u1eadu h\u0129nh. "),s.k0s(),s.j41(35,"p"),s.EFF(36," N\u1ebfu b\u1ea1n \u0111ang t\xecm ki\u1ebfm m\u1ed9t s\xe2n ch\u01a1i v\u1eeba gi\u1ea3i tr\xed \u0111\u1ec9nh cao, v\u1eeba \u0111\u1ea3m b\u1ea3o t\xednh c\xf4ng b\u1eb1ng, "),s.j41(37,"strong",3),s.EFF(38,"MCW"),s.k0s(),s.EFF(39," ch\xednh l\xe0 l\u1ef1a ch\u1ecdn kh\xf4ng th\u1ec3 b\u1ecf qua. "),s.k0s()(),s.bVm()),2&Ae){const Te=s.XpG();s.R7$(3),s.Y8G("ngClass",Te.isDescriptionOpen()?"footer-collapse__content--active":"footer-collapse__content")}}let Ze=(()=>{class Ae{constructor(){this.isDescriptionOpen=(0,s.WQX)(jn)}static#e=this.\u0275fac=function(Ye){return new(Ye||Ae)};static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-description-vnd-vn"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-collapse__title"],[3,"ngClass"],[1,"footer-collapse__strong"],[1,"footer-collapse__list"]],template:function(Ye,pn){1&Ye&&s.DNE(0,be,40,1,"ng-container",0)},dependencies:[H.YU,oe.bA],encapsulation:2,changeDetection:0})}return Ae})();var qe=l(8688);const Lt=()=>[H.OI],bt=Ae=>[Ae];function cn(Ae,Dt){1&Ae&&s.eu8(0)}function an(Ae,Dt){if(1&Ae&&s.DNE(0,cn,1,0,"ng-container",16),2&Ae){const Te=s.XpG(3);s.Y8G("ngComponentOutlet",Te.footerDescription())}}function vn(Ae,Dt){1&Ae&&s.nrm(0,"div")}function Mn(Ae,Dt){if(1&Ae){const Te=s.RV6();s.nrm(0,"div",12),s.nI1(1,"async"),s.nI1(2,"imageUrl"),s.j41(3,"div",13),s.bIt("click",function(){s.eBV(Te);const pn=s.XpG(2);return s.Njj(pn.toggleDescriptionOpen())}),s.DNE(4,an,1,1)(5,vn,1,0),s.nv$(6,4,Lt,null,5),s.qhs(0,-1),s.j41(8,"div",14),s.EFF(9),s.nrm(10,"div",15),s.nI1(11,"async"),s.nI1(12,"imageUrl"),s.k0s()()}if(2&Ae){let Te,Ye;const pn=s.XpG().$implicit,Ke=s.XpG();s.xc7("background-image",s.bMT(2,8,null==(Te=s.bMT(1,6,Ke.switchThemeService.imageLink$))?null:Te.FOOTER_LOGO)),s.R7$(9),s.SpI(" ",Ke.isDescriptionOpen()?pn("ui.footer.text.btn_show_less"):pn("ui.footer.text.btn_read_more")," "),s.R7$(),s.xc7("-webkit-mask-image",s.bMT(12,12,null==(Ye=s.bMT(11,10,Ke.switchThemeService.imageLink$))?null:Ye.ACCORDION_ARROW_ICON)),s.Y8G("ngClass",Ke.isDescriptionOpen()?"footer-collapse__btn-arrow--active":"footer-collapse__btn-arrow")}}function Ai(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"li"),s.nrm(2,"img",17),s.j41(3,"strong"),s.EFF(4),s.k0s(),s.j41(5,"p"),s.EFF(6),s.k0s()(),s.bVm()),2&Ae){const Te=Dt.$implicit,Ye=s.XpG(2).$implicit;s.R7$(2),s.Y8G("mcdSrc",Te.imagePath)("alt",Te.imageAlt),s.R7$(2),s.JRh(Ye(Te.sponsorName)),s.R7$(2),s.JRh(Ye(Te.sponsorType))}}function hi(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"h2"),s.EFF(2),s.k0s(),s.j41(3,"ul"),s.DNE(4,Ai,7,4,"ng-container",5),s.k0s(),s.bVm()),2&Ae){const Te=Dt.$implicit,Ye=s.XpG().$implicit;s.R7$(2),s.JRh(Ye(Te.title)),s.R7$(2),s.Y8G("ngForOf",Te.imageData)}}function zn(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"li"),s.nrm(2,"img",17),s.j41(3,"strong"),s.EFF(4),s.k0s(),s.j41(5,"p"),s.EFF(6),s.k0s()(),s.bVm()),2&Ae){const Te=Dt.$implicit,Ye=s.XpG(2).$implicit;s.R7$(2),s.Y8G("mcdSrc",Te.imagePath)("alt",Te.imageAlt),s.R7$(2),s.JRh(Ye(Te.ambassadorName)),s.R7$(2),s.JRh(Ye(Te.ambassadorTitle))}}function Oi(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"h2"),s.EFF(2),s.k0s(),s.j41(3,"ul"),s.DNE(4,zn,7,4,"ng-container",5),s.k0s(),s.bVm()),2&Ae){const Te=Dt.$implicit,Ye=s.XpG().$implicit;s.R7$(2),s.JRh(Ye(Te.title)),s.R7$(2),s.Y8G("ngForOf",Te.imageData)}}function cs(Ae,Dt){if(1&Ae&&(s.j41(0,"div",18)(1,"h2"),s.EFF(2),s.k0s(),s.j41(3,"a",19),s.nrm(4,"img",20),s.nI1(5,"async"),s.k0s()()),2&Ae){let Te;const Ye=s.XpG().$implicit,pn=s.XpG();s.R7$(2),s.JRh(Ye("ui.footer.text.app_download")),s.R7$(),s.Y8G("routerLink",s.eq3(5,bt,pn.routingPathType.APP_DOWNLOAD.link)),s.R7$(),s.Y8G("mcdSrc",null==(Te=s.bMT(5,3,pn.switchThemeService.imageLink$))?null:Te.FOOTER_ANDROID_DOWNLOAD)}}function Jn(Ae,Dt){if(1&Ae){const Te=s.RV6();s.j41(0,"div",3)(1,"div",21)(2,"div",22),s.nrm(3,"div",23),s.nI1(4,"async"),s.nI1(5,"imageUrl"),s.j41(6,"h2"),s.EFF(7," Best Online Casino Philippines by MCW Mega Casino World "),s.k0s()(),s.j41(8,"div",24)(9,"p"),s.EFF(10," Heard you are looking for an online casino Philippines with Gcash? For legit online casino Philippines, join MCW casino, play a full range of casino games to match your tastes for a secure and actual licensed gambling time. Tons of bonuses and promotions for new and loyal members. Philippines in the ASEAN being the few countries that allow gambling licenses has given online casinos a tremendous growth rate over the past few years including Covid-19 isolation order. "),s.k0s()(),s.j41(11,"div",25),s.bIt("click",function(){s.eBV(Te);const pn=s.XpG(2);return s.Njj(pn.navigateToAbout())}),s.EFF(12),s.nI1(13,"transloco"),s.k0s()()()}if(2&Ae){let Te;const Ye=s.XpG(2);s.R7$(3),s.xc7("background-image",s.bMT(5,5,null==(Te=s.bMT(4,3,Ye.switchThemeService.imageLink$))?null:Te.FOOTER_LOGO)),s.R7$(9),s.SpI("",s.bMT(13,7,"ui.footer.text.btn_show_all")," ")}}function oi(Ae,Dt){if(1&Ae&&(s.qex(0),s.j41(1,"div",1)(2,"footer",2),s.DNE(3,Mn,13,14),s.j41(4,"div",3)(5,"div",4),s.DNE(6,hi,5,2,"ng-container",5),s.k0s(),s.j41(7,"div",6),s.DNE(8,Oi,5,2,"ng-container",5),s.k0s()(),s.j41(9,"div",3),s.nrm(10,"mcd-icon-list",7)(11,"mcd-icon-list",7),s.DNE(12,cs,6,7,"div",8),s.nrm(13,"mcd-social-media-list"),s.k0s(),s.j41(14,"div",3),s.nrm(15,"mcd-icon-list",7),s.k0s(),s.j41(16,"div",3),s.nrm(17,"mcd-about-us",9),s.k0s(),s.DNE(18,Jn,14,9,"div",3),s.j41(19,"div",10)(20,"div",11)(21,"span"),s.EFF(22),s.k0s()(),s.nrm(23,"mcd-icon-list",7),s.k0s()()(),s.bVm()),2&Ae){const Te=Dt.$implicit,Ye=s.XpG();s.R7$(3),s.vxM(3,Ye.currentCurrency()!==Ye.CurrencyType.PHP?3:-1),s.R7$(3),s.Y8G("ngForOf",Ye.footerSponsors),s.R7$(2),s.Y8G("ngForOf",Ye.footerAmbassadors),s.R7$(2),s.Y8G("footerIconItem",Ye.licenseData)("ngClass",Ye.licenseData.type),s.R7$(),s.Y8G("footerIconItem",Ye.partnerData)("ngClass",Ye.partnerData.type),s.R7$(),s.Y8G("ngIf",(Ye.isDesktop||Ye.isAndroid&&!Ye.isNativeApp)&&!Ye.hideAppDownload),s.R7$(3),s.Y8G("footerIconItem",Ye.payData)("ngClass",Ye.payData.type),s.R7$(2),s.Y8G("footerAboutUsLinks",Ye.footerAboutUsLinks)("ngClass","about-us"),s.R7$(),s.vxM(18,Ye.currentCurrency()===Ye.CurrencyType.PHP?18:-1),s.R7$(4),s.Lme("\xa9 ",Ye.year," ",Te("ui.footer.text.copyrights_reserved",s.eq3(17,bt,Te("ui.global.text.brand_short_name")))," "),s.R7$(),s.Y8G("footerIconItem",Ye.safeData)("ngClass",Ye.safeData.type)}}const jn=new s.nKC("DESCRIPTION_OPEN");let os=(()=>{class Ae extends pt{constructor(){super(...arguments),this.hideAppDownload=!1,this.router=(0,s.WQX)(de.Ix),this.siteSetting=(0,s.WQX)(h.p),this.switchThemeService=(0,s.WQX)(w.Fu),this.injector=(0,s.WQX)(s.zZn),this.currentCurrency=(0,s.vPA)(void 0),this.currentLanguage=(0,s.vPA)(void 0),this.isDescriptionOpen=(0,s.vPA)(!1),this.footerDescription=(0,s.EWP)(()=>this.currentCurrency()===u.U.BDT?this.currentLanguage()===b.t.BENGALI?gn:Ci:this.currentCurrency()===u.U.INR?this.currentLanguage()===b.t.HINDI?$e:st:this.currentCurrency()===u.U.LKR?this.currentLanguage()===b.t.SINHALA?xe:et:this.currentCurrency()===u.U.MYR?this.currentLanguage()===b.t.MALAY?Ni:this.currentLanguage()===b.t.CHINESE?Yt:kn:this.currentCurrency()===u.U.NPR?this.currentLanguage()===b.t.NEPALI?ji:ri:this.currentCurrency()===u.U.PKR?mi:this.currentCurrency()===u.U.USD?rs:this.currentCurrency()===u.U.VND?Ze:Ci),this.footerSponsors=[],this.footerAmbassadors=[],this.routingPathType=m.q,this.CurrencyType=u.U,this.LanguageType=b.t,this.isNativeApp=this.siteSetting.get("siteSettingModel").isNativeApp,this.isAndroid=Et.V.isAndroid(),this.isDesktop=!ct.U.isMobileBrowser()}ngOnInit(){super.ngOnInit(),this.subscriptions.push((0,dt.z)([this.siteSetting.select("currentCurrencyType"),this.siteSetting.select("currentLanguageType")]).pipe((0,Qe.M)(([Te,Ye])=>{this.currentCurrency.set(Te),this.currentLanguage.set(Ye);const Nn=this.siteSetting.get("currencyMappingSettingModel").find(Yi=>Yi.currencyTypeId===Te.unique)?.mapping.find(Yi=>Yi.currencySettingTypeId===C.X.COUNTRY.unique)?.mappingData.map(Yi=>parseInt(Yi)),Es=e.B.getInstanceOf(Nn[0]),rn=(0,Fe.Q1)(Ye,Te,this.environment.iconColor,Es?.name||"");this.footerIcons=rn,this.footerAmbassadors=(0,Fe.OP)(Te),this.footerSponsors=(0,Fe.df)(Te)})).subscribe())}toggleDescriptionOpen(){this.isDescriptionOpen.set(!this.isDescriptionOpen())}navigateToAbout(){this.router.navigateByUrl(m.q.ABOUT.link)}static#e=this.\u0275fac=(()=>{let Te;return function(pn){return(Te||(Te=s.xGo(Ae)))(pn||Ae)}})();static#t=this.\u0275cmp=s.VBU({type:Ae,selectors:[["mcd-footer-inner"]],inputs:{hideAppDownload:"hideAppDownload"},features:[s.Jv_([{provide:jn,useFactory:()=>(0,s.WQX)(Ae).isDescriptionOpen}]),s.Vt3],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer-wrap"],[1,"footer"],[1,"row"],[1,"footer__partners"],[4,"ngFor","ngForOf"],[1,"footer__ambassadors"],[3,"footerIconItem","ngClass"],["class","footer__download",4,"ngIf"],[3,"footerAboutUsLinks","ngClass"],[1,"footer__copyrights"],[1,"footer__copyrights__info"],[1,"footer-collapse__logo"],[1,"footer-collapse",3,"click"],[1,"footer-collapse__btn"],[3,"ngClass"],[4,"ngComponentOutlet"],[3,"mcdSrc","alt"],[1,"footer__download"],[3,"routerLink"],[3,"mcdSrc"],[1,"footer-content"],[1,"footer-content__title"],[1,"footer-content__logo"],[1,"footer-content__content"],[1,"footer-content__btn",3,"click"]],template:function(Ye,pn){1&Ye&&s.DNE(0,oi,24,19,"ng-container",0)},dependencies:[H.YU,H.Sq,H.bT,oe.bA,ae.f,pe.h,se,We,tn,de.Wk,H.Jj,oe.Kj,qe.Hc],encapsulation:2,changeDetection:0})}return Ae})()},19449:(Be,K,l)=>{"use strict";l.d(K,{OP:()=>m,Q1:()=>e,df:()=>u});var s=l(51066),h=l(71522);const e=(C,w,M,b)=>{let R;R=C===h.t.HINDI?[{linkData:[{linkText:"ui.global.text.responsible_gaming",linkHref:"https://mcwlnk.co/INRespGaming",routerLink:""},{linkText:"ui.global.text.about_us",linkHref:"https://mcwlnk.co/INGuide",routerLink:""},{linkText:"ui.footer.word.security",linkHref:"https://mcwlink.co/security-in",routerLink:""},{linkText:"ui.global.text.privacy_policy",linkHref:"https://mcwlink.co/privacy-policy-in",routerLink:""},{linkText:"ui.global.text.faq",linkHref:"https://mcwlnk.co/INFAQ",routerLink:""}]}]:C===h.t.NEPALI?[{linkData:[{linkText:"ui.global.text.responsible_gaming",linkHref:"https://mcwlnk.co/NPRespGaming",routerLink:""},{linkText:"ui.global.text.about_us",linkHref:"https://mcwlnk.co/NPGuide",routerLink:""},{linkText:"ui.footer.word.security",linkHref:"https://mcwlink.co/security/ne/",routerLink:""},{linkText:"ui.global.text.privacy_policy",linkHref:"https://mcwlink.co/privacy-policy/ne/",routerLink:""},{linkText:"ui.global.text.faq",linkHref:"https://mcwlnk.co/NPFAQ",routerLink:""}]}]:C===h.t.SINHALA?[{linkData:[{linkText:"ui.global.text.responsible_gaming",linkHref:"https://mcwlnk.co/LKRespGaming",routerLink:""},{linkText:"ui.global.text.about_us",linkHref:"https://mcwlnk.co/LKGuide",routerLink:""},{linkText:"ui.footer.word.security",linkHref:"https://mcwlink.co/security-lk",routerLink:""},{linkText:"ui.global.text.privacy_policy",linkHref:"https://mcwlink.co/privacy-policy-lk",routerLink:""},{linkText:"ui.global.text.faq",linkHref:"https://mcwlnk.co/LKFAQ",routerLink:""}]}]:[{linkData:[{linkText:"ui.global.text.responsible_gaming",linkHref:`https://mcwlnk.co/${b}RespGaming`,routerLink:""},{linkText:"ui.global.text.about_us",linkHref:`https://mcwlnk.co/${b}Guide`,routerLink:""},{linkText:"ui.footer.word.security",linkHref:"https://www.mcwguide.com/security/",routerLink:""},{linkText:"ui.global.text.privacy_policy",linkHref:"https://www.mcwguide.com/privacy-policy/",routerLink:""},{linkText:"ui.global.text.faq",linkHref:`https://mcwlnk.co/${b}FAQ`,routerLink:""}]}];const x=[{currencyType:s.U.BDT,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${M}/pay16.png`,imageAlt:"Bank Deposit"},{imagePath:`/assets/images/footer/${M}/pay22.png`,imageAlt:"bKash"},{imagePath:`/assets/images/footer/${M}/pay33.png`,imageAlt:"Bank Deposit"},{imagePath:`/assets/images/footer/${M}/pay34.png`,imageAlt:"bKash"},{imagePath:`/assets/images/footer/${M}/pay48.png`,imageAlt:"cryptocurrency"},{imagePath:`/assets/images/footer/${M}/pay45.png`,imageAlt:"UPAY"},{imagePath:`/assets/images/footer/${M}/pay59.png`,imageAlt:"OKWallet"},{imagePath:`/assets/images/footer/${M}/pay60.png`,imageAlt:"SureCash"},{imagePath:`/assets/images/footer/${M}/pay61.png`,imageAlt:"tapPay"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/responsible-gaming/gamcare.svg",imageLink:`https://mcwlnk.co/${b}RespGaming`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/age-limit.svg",imageLink:`https://mcwlnk.co/${b}18above`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/regulations.svg",imageLink:"",imageAlt:"Betting Responsibility"}]},{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${M}/license1.png`,imageLink:"",imageAlt:"Gaming License"},{imagePath:`/assets/images/footer/${M}/gaming-license/anjouan-egaming.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"partner",title:"ui.footer.text.official_brand_partner",imageData:[{imagePath:"/assets/images/footer/partner/new-city-vip.png",imageLink:"https://newcity.vip/",imageAlt:"Official Brand Partner"}]},{title:"ui.footer.text.app_download",imageData:[{imagePath:"/assets/images/footer/app-download/android-en.png",imageAlt:"APP Download",imageLink:"/app-download"}]}]},{currencyType:s.U.VND,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${M}/pay16.png`,imageAlt:"Bank Deposit"},{imagePath:`/assets/images/footer/${M}/pay69.png`,imageAlt:"Momopay"},{imagePath:`/assets/images/footer/${M}/pay15.png`,imageAlt:"help2Pay"},{imagePath:`/assets/images/footer/${M}/pay80.png`,imageAlt:"viepay"},{imagePath:`/assets/images/footer/${M}/pay81.png`,imageAlt:"zalopay"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/responsible-gaming/gamcare.svg",imageLink:`https://mcwlnk.co/${b}RespGaming`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/age-limit.svg",imageLink:`https://mcwlnk.co/${b}18above`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/regulations.svg",imageLink:"",imageAlt:"Betting Responsibility"}]},{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${M}/license1.png`,imageLink:"",imageAlt:"Gaming License"},{imagePath:`/assets/images/footer/${M}/gaming-license/anjouan-egaming.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"partner",title:"ui.footer.text.official_brand_partner",imageData:[{imagePath:"/assets/images/footer/partner/new-city-vip.png",imageLink:"https://newcity.vip/",imageAlt:"Official Brand Partner"}]}]},{currencyType:s.U.PHP,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${M}/pay16.png`,imageAlt:"Bank Deposit"},{imagePath:`/assets/images/footer/${M}/pay41.png`,imageAlt:"GCash"},{imagePath:`/assets/images/footer/${M}/pay42.png`,imageAlt:"GrabPay"},{imagePath:`/assets/images/footer/${M}/pay15.png`,imageAlt:"help2Pay"},{imagePath:`/assets/images/footer/${M}/pay44.png`,imageAlt:"PayMaya"},{imagePath:`/assets/images/footer/${M}/gotyme.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${M}/pay64.png`,imageAlt:"ShopeePay"},{imagePath:`/assets/images/footer/${M}/pay66.png`,imageAlt:"7-11"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/responsible-gaming/gamcare.svg",imageLink:`https://mcwlnk.co/${b}RespGaming`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/age-limit.svg",imageLink:`https://mcwlnk.co/${b}18above`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/regulations.svg",imageLink:"",imageAlt:"Betting Responsibility"}]},{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${M}/license1.png`,imageLink:"",imageAlt:"Gaming License"},{imagePath:`/assets/images/footer/${M}/gaming-license/anjouan-egaming.png`,imageLink:"",imageAlt:"Gaming License"}]},{type:"partner",title:"ui.footer.text.official_brand_partner",imageData:[{imagePath:"/assets/images/footer/partner/new-city-vip.png",imageLink:"https://newcity.vip/",imageAlt:"Official Brand Partner"}]}]},{currencyType:s.U.USD,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:"/assets/images/flag/US.webp",imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/responsible-gaming/gamcare.svg",imageLink:`https://mcwlnk.co/${b}RespGaming`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/age-limit.svg",imageLink:`https://mcwlnk.co/${b}18above`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/regulations.svg",imageLink:"",imageAlt:"Betting Responsibility"}]},{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${M}/license1.png`,imageLink:"",imageAlt:"Gaming License"},{imagePath:`/assets/images/footer/${M}/gaming-license/anjouan-egaming.png`,imageLink:"",imageAlt:"Gaming License"}]}]},{currencyType:s.U.NPR,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${M}/pay16.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/responsible-gaming/gamcare.svg",imageLink:`https://mcwlnk.co/${b}RespGaming`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/age-limit.svg",imageLink:`https://mcwlnk.co/${b}18above`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/responsible-gaming.svg",imageLink:"",imageAlt:"Betting Responsibility"}]},{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${M}/license1.png`,imageLink:"",imageAlt:"Gaming License"},{imagePath:`/assets/images/footer/${M}/gaming-license/anjouan-egaming.png`,imageLink:"",imageAlt:"Gaming License"}]}]},{currencyType:s.U.MYR,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${M}/pay16.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/responsible-gaming/gamcare.svg",imageLink:`https://mcwlnk.co/${b}RespGaming`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/age-limit.svg",imageLink:C===h.t.MALAY?"https://mcwlnk.co/BH18above":C===h.t.CHINESE?"https://mcwlnk.co/CN18Above":"https://mcwlnk.co/BH18above",imageAlt:C===h.t.MALAY?"Untuk umur 18 ke atas sahaja":C===h.t.CHINESE?"\u9650 18 \u5c81\u53ca\u4ee5\u4e0a":"For age 18+ and above"},{imagePath:"/assets/images/footer/responsible-gaming/regulations.svg",imageLink:"",imageAlt:"Betting Responsibility"}]},{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${M}/license1.png`,imageLink:"",imageAlt:"Gaming License"},{imagePath:`/assets/images/footer/${M}/gaming-license/anjouan-egaming.png`,imageLink:"",imageAlt:"Gaming License"}]}]},{currencyType:s.U.PKR,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${M}/pay16.png`,imageAlt:"Bank Deposit"},{imagePath:`/assets/images/footer/${M}/pay38.png`,imageAlt:"JAZZCASH"},{imagePath:`/assets/images/footer/${M}/pay39.png`,imageAlt:"EASYPAISA"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/responsible-gaming/gamcare.svg",imageLink:`https://mcwlnk.co/${b}RespGaming`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/age-limit.svg",imageLink:`https://mcwlnk.co/${b}18above`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/regulations.svg",imageLink:"",imageAlt:"Betting Responsibility"}]},{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${M}/license1.png`,imageLink:"",imageAlt:"Gaming License"},{imagePath:`/assets/images/footer/${M}/gaming-license/anjouan-egaming.png`,imageLink:"",imageAlt:"Gaming License"}]}]},{currencyType:s.U.LKR,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${M}/pay16.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/responsible-gaming/gamcare.svg",imageLink:`https://mcwlnk.co/${b}RespGaming`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/age-limit.svg",imageLink:`https://mcwlnk.co/${b}18above`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/responsible-gaming.svg",imageLink:"",imageAlt:"Betting Responsibility"}]},{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${M}/license1.png`,imageLink:"",imageAlt:"Gaming License"},{imagePath:`/assets/images/footer/${M}/gaming-license/anjouan-egaming.png`,imageLink:"",imageAlt:"Gaming License"}]}]},{currencyType:s.U.INR,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${M}/pay16.png`,imageAlt:"Bank Deposit"},{imagePath:`/assets/images/footer/${M}/pay17.png`,imageAlt:"RUPEE-O"},{imagePath:`/assets/images/footer/${M}/pay18.png`,imageAlt:"UPI"},{imagePath:`/assets/images/footer/${M}/pay48.png`,imageAlt:"cryptocurrency"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:"/assets/images/footer/responsible-gaming/gamcare.svg",imageLink:`https://mcwlnk.co/${b}RespGaming`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/age-limit.svg",imageLink:`https://mcwlnk.co/${b}18above`,imageAlt:"Betting Responsibility"},{imagePath:"/assets/images/footer/responsible-gaming/regulations.svg",imageLink:"",imageAlt:"Betting Responsibility"}]},{type:"license",title:"ui.footer.text.gaming_license",imageData:[{imagePath:`/assets/images/footer/${M}/license1.png`,imageLink:"",imageAlt:"Gaming License"},{imagePath:`/assets/images/footer/${M}/gaming-license/anjouan-egaming.png`,imageLink:"",imageAlt:"Gaming License"}]}]}].find(B=>B.currencyType===w);return x&&!x.footerLinkList&&(x.footerLinkList=R),x},u=C=>{const w=[{title:"ui.footer.text.principal_sponsor",imageData:[]}];let M=[];return M=[{imagePath:"/assets/images/footer/partner/atletico-de-madrid.png",imageAlt:"Atl\xe9tico de Madrid",sponsorName:"ui.footer.text.sponsor_name4",sponsorType:"ui.footer.text.sponsor_type4"},{imagePath:"/assets/images/footer/partner/bundesliga.png",imageAlt:"BUNDESLIGA",sponsorName:"ui.footer.text.sponsor_name1",sponsorType:"ui.footer.text.sponsor_type1"}],w[0].imageData=M,w},m=C=>{const w=[{title:"ui.footer.ambassadors.title",imageData:[]}];if(C!==s.U.MYR)return w[0].imageData=[{imagePath:"/assets/images/footer/ambassador/anrich-nortje.png",imageAlt:"Anrich Nortje",ambassadorName:"ui.footer.ambassadors.football.name",ambassadorTitle:"ui.footer.ambassadors.football"}],w}},75788:(Be,K,l)=>{"use strict";l.d(K,{mD:()=>B,df:()=>s.df});var s=l(19449),h=l(60177),e=l(51188),u=l(18287),m=l(20464),C=l(57761),w=l(54438);let M=(()=>{class j{static#e=this.\u0275fac=function(H){return new(H||j)};static#t=this.\u0275mod=w.$C({type:j});static#n=this.\u0275inj=w.G2t({imports:[h.MD,u.m,m.Q8,C.a]})}return j})(),b=(()=>{class j{static#e=this.\u0275fac=function(H){return new(H||j)};static#t=this.\u0275mod=w.$C({type:j});static#n=this.\u0275inj=w.G2t({imports:[h.MD,u.m,e.iI,m.Q8,M]})}return j})(),R=(()=>{class j{static#e=this.\u0275fac=function(H){return new(H||j)};static#t=this.\u0275mod=w.$C({type:j});static#n=this.\u0275inj=w.G2t({imports:[h.MD,e.iI,m.Q8]})}return j})(),L=(()=>{class j{static#e=this.\u0275fac=function(H){return new(H||j)};static#t=this.\u0275mod=w.$C({type:j});static#n=this.\u0275inj=w.G2t({imports:[h.MD,m.Q8,e.iI]})}return j})();var x=l(75563);let B=(()=>{class j{static#e=this.\u0275fac=function(H){return new(H||j)};static#t=this.\u0275mod=w.$C({type:j});static#n=this.\u0275inj=w.G2t({imports:[h.MD,m.Q8,u.m,b,R,M,L,x.L,e.iI]})}return j})();l(89358)},12393:(Be,K,l)=>{"use strict";var s=l(10467),h=l(345),e=l(54438),u=l(60177),m=l(21626),C=l(71522),w=l(20753),M=l(81084),b=l(20464),R=l(99437),L=l(7673),x=l(9350);let Y=(()=>{class a{constructor(n,o){this.platformId=n,this.http=o,this.cdnService=(0,e.WQX)(M.H),this.environment=(0,e.WQX)(w.n)}getTranslation(n){var o=this;return(0,s.A)(function*(){const _=yield o.getTranslationJson(`${n}.json`);let N={};"true"===_["merged-i18n-json"]||(N=yield o.getTranslationJson(`${n}_custom.json`));const ue={};if(_)for(const we in _)ue[we]=_[we];if(N)for(const we in N)ue[we]=N[we];return ue})()}getTranslationJson(n){var o=this;return(0,s.A)(function*(){let d={};try{d=yield o.getHttpResponseSync(n)}catch{console.error(`readFileSync error ${n}`)}return d})()}getHttpResponseSync(n){let o=".",d={};(0,u.Vy)(this.platformId)&&(o=`${this.environment.ssrDomain}`,d={headers:new m.Lr({"User-Agent":"Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36"})});let _=`${o}/assets/i18n/${n}`;return"."===o&&(_=this.cdnService.useWithServer(_)),function B(a,p){const n="object"==typeof p;return new Promise((o,d)=>{let N,_=!1;a.subscribe({next:U=>{N=U,_=!0},error:d,complete:()=>{_?o(N):n?o(p.defaultValue):d(new x.G)}})})}(this.http.get(_,d).pipe((0,R.W)(U=>(console.error(`error getTranslationJson ${n}`),console.error(U),(0,L.of)({})))))}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(e.Agw),e.KVO(m.Qq))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function ve(a,p){return(0,b.wz)({availableLangs:a,fallbackLang:C.t.default.resourceKey,missingHandler:{useFallbackTranslation:p},reRenderOnLangChange:!0,prodMode:p,flatten:{aot:p},interpolation:["{","}"]})}var oe=l(92608),H=l(49969);function pe(a){return new e.wOt(3e3,!1)}function fe(a){switch(a.length){case 0:return new H.sf;case 1:return a[0];default:return new H.ui(a)}}function _e(a,p,n=new Map,o=new Map){const d=[],_=[];let N=-1,U=null;if(p.forEach(ue=>{const we=ue.get("offset"),Ge=we==N,Xe=Ge&&U||new Map;ue.forEach((sn,fn)=>{let xt=fn,Dn=sn;if("offset"!==fn)switch(xt=a.normalizePropertyName(xt,d),Dn){case H.FX:Dn=n.get(fn);break;case H.kp:Dn=o.get(fn);break;default:Dn=a.normalizeStyleValue(fn,xt,Dn,d)}Xe.set(xt,Dn)}),Ge||_.push(Xe),U=Xe,N=we}),d.length)throw function ft(a){return new e.wOt(3502,!1)}();return _}function Le(a,p,n,o){switch(p){case"start":a.onStart(()=>o(n&&tt(n,"start",a)));break;case"done":a.onDone(()=>o(n&&tt(n,"done",a)));break;case"destroy":a.onDestroy(()=>o(n&&tt(n,"destroy",a)))}}function tt(a,p,n){const _=nt(a.element,a.triggerName,a.fromState,a.toState,p||a.phaseName,n.totalTime??a.totalTime,!!n.disabled),N=a._data;return null!=N&&(_._data=N),_}function nt(a,p,n,o,d="",_=0,N){return{element:a,triggerName:p,fromState:n,toState:o,phaseName:d,totalTime:_,disabled:!!N}}function St(a,p,n){let o=a.get(p);return o||a.set(p,o=n),o}function Qt(a){const p=a.indexOf(":");return[a.substring(1,p),a.slice(p+1)]}const En=typeof document>"u"?null:document.documentElement;function yn(a){const p=a.parentNode||a.host||null;return p===En?null:p}let Un=null,Li=!1;function Hn(a,p){for(;p;){if(p===a)return!0;p=yn(p)}return!1}function Hi(a,p,n){if(n)return Array.from(a.querySelectorAll(p));const o=a.querySelector(p);return o?[o]:[]}let es=(()=>{class a{validateStyleProperty(n){return function Rn(a){Un||(Un=function Kn(){return typeof document<"u"?document.body:null}()||{},Li=!!Un.style&&"WebkitAppearance"in Un.style);let p=!0;return Un.style&&!function On(a){return"ebkit"==a.substring(1,6)}(a)&&(p=a in Un.style,!p&&Li&&(p="Webkit"+a.charAt(0).toUpperCase()+a.slice(1)in Un.style)),p}(n)}matchesElement(n,o){return!1}containsElement(n,o){return Hn(n,o)}getParentElement(n){return yn(n)}query(n,o,d){return Hi(n,o,d)}computeStyle(n,o,d){return d||""}animate(n,o,d,_,N,U=[],ue){return new H.sf(d,_)}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();class ai{static#e=this.NOOP=new es}class As{}const pt=1e3,ct="ng-enter",Mt="ng-leave",gn="ng-trigger",Gn=".ng-trigger",Ci="ng-animating",Ei=".ng-animating";function st(a){if("number"==typeof a)return a;const p=a.match(/^(-?[\.\d]+)(m?s)/);return!p||p.length<2?0:Vt(parseFloat(p[1]),p[2])}function Vt(a,p){return"s"===p?a*pt:a}function $e(a,p,n){return a.hasOwnProperty("duration")?a:function yt(a,p,n){let d,_=0,N="";if("string"==typeof a){const U=a.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===U)return p.push(pe()),{duration:0,delay:0,easing:""};d=Vt(parseFloat(U[1]),U[2]);const ue=U[3];null!=ue&&(_=Vt(parseFloat(ue),U[4]));const we=U[5];we&&(N=we)}else d=a;if(!n){let U=!1,ue=p.length;d<0&&(p.push(function de(){return new e.wOt(3100,!1)}()),U=!0),_<0&&(p.push(function Pe(){return new e.wOt(3101,!1)}()),U=!0),U&&p.splice(ue,0,pe())}return{duration:d,delay:_,easing:N}}(a,p,n)}function xe(a,p,n){p.forEach((o,d)=>{const _=ri(d);n&&!n.has(d)&&n.set(d,a.style[_]),a.style[_]=o})}function Je(a,p){p.forEach((n,o)=>{const d=ri(o);a.style[d]=""})}function Yt(a){return Array.isArray(a)?1==a.length?a[0]:(0,H.K2)(a):a}const kn=new RegExp("{{\\s*(.+?)\\s*}}","g");function di(a){let p=[];if("string"==typeof a){let n;for(;n=kn.exec(a);)p.push(n[1]);kn.lastIndex=0}return p}function Ni(a,p,n){const o=`${a}`,d=o.replace(kn,(_,N)=>{let U=p[N];return null==U&&(n.push(function J(a){return new e.wOt(3003,!1)}()),U=""),U.toString()});return d==o?a:d}const Qn=/-+([a-z0-9])/g;function ri(a){return a.replace(Qn,(...p)=>p[1].toUpperCase())}function mi(a,p,n){switch(p.type){case H.If.Trigger:return a.visitTrigger(p,n);case H.If.State:return a.visitState(p,n);case H.If.Transition:return a.visitTransition(p,n);case H.If.Sequence:return a.visitSequence(p,n);case H.If.Group:return a.visitGroup(p,n);case H.If.Animate:return a.visitAnimate(p,n);case H.If.Keyframes:return a.visitKeyframes(p,n);case H.If.Style:return a.visitStyle(p,n);case H.If.Reference:return a.visitReference(p,n);case H.If.AnimateChild:return a.visitAnimateChild(p,n);case H.If.AnimateRef:return a.visitAnimateRef(p,n);case H.If.Query:return a.visitQuery(p,n);case H.If.Stagger:return a.visitStagger(p,n);default:throw function te(a){return new e.wOt(3004,!1)}()}}function Ki(a,p){return window.getComputedStyle(a)[p]}const rs=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 be extends As{normalizePropertyName(p,n){return ri(p)}normalizeStyleValue(p,n,o,d){let _="";const N=o.toString().trim();if(rs.has(n)&&0!==o&&"0"!==o)if("number"==typeof o)_="px";else{const U=o.match(/^[+-]?[\d\.]+([a-z]*)$/);U&&0==U[1].length&&d.push(function q(a,p){return new e.wOt(3005,!1)}())}return N+_}}const vn="*";const zn=new Set(["true","1"]),Oi=new Set(["false","0"]);function cs(a,p){const n=zn.has(a)||Oi.has(a),o=zn.has(p)||Oi.has(p);return(d,_)=>{let N=a==vn||a==d,U=p==vn||p==_;return!N&&n&&"boolean"==typeof d&&(N=d?zn.has(a):Oi.has(a)),!U&&o&&"boolean"==typeof _&&(U=_?zn.has(p):Oi.has(p)),N&&U}}const oi=new RegExp("s*:selfs*,?","g");function jn(a,p,n,o){return new Ae(a).build(p,n,o)}class Ae{constructor(p){this._driver=p}build(p,n,o){const d=new Ye(n);return this._resetContextStyleTimingState(d),mi(this,Yt(p),d)}_resetContextStyleTimingState(p){p.currentQuerySelector="",p.collectedStyles=new Map,p.collectedStyles.set("",new Map),p.currentTime=0}visitTrigger(p,n){let o=n.queryCount=0,d=n.depCount=0;const _=[],N=[];return"@"==p.name.charAt(0)&&n.errors.push(function $(){return new e.wOt(3006,!1)}()),p.definitions.forEach(U=>{if(this._resetContextStyleTimingState(n),U.type==H.If.State){const ue=U,we=ue.name;we.toString().split(/\s*,\s*/).forEach(Ge=>{ue.name=Ge,_.push(this.visitState(ue,n))}),ue.name=we}else if(U.type==H.If.Transition){const ue=this.visitTransition(U,n);o+=ue.queryCount,d+=ue.depCount,N.push(ue)}else n.errors.push(function Q(){return new e.wOt(3007,!1)}())}),{type:H.If.Trigger,name:p.name,states:_,transitions:N,queryCount:o,depCount:d,options:null}}visitState(p,n){const o=this.visitStyle(p.styles,n),d=p.options&&p.options.params||null;if(o.containsDynamicStyles){const _=new Set,N=d||{};o.styles.forEach(U=>{U instanceof Map&&U.forEach(ue=>{di(ue).forEach(we=>{N.hasOwnProperty(we)||_.add(we)})})}),_.size&&n.errors.push(function se(a,p){return new e.wOt(3008,!1)}(0,_.values()))}return{type:H.If.State,name:p.name,style:o,options:d?{params:d}:null}}visitTransition(p,n){n.queryCount=0,n.depCount=0;const o=mi(this,Yt(p.animation),n),d=function Mn(a,p){const n=[];return"string"==typeof a?a.split(/\s*,\s*/).forEach(o=>function Ai(a,p,n){if(":"==a[0]){const ue=function hi(a,p){switch(a){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,o)=>parseFloat(o)>parseFloat(n);case":decrement":return(n,o)=>parseFloat(o) *"}}(a,n);if("function"==typeof ue)return void p.push(ue);a=ue}const o=a.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push(function ye(a){return new e.wOt(3015,!1)}()),p;const d=o[1],_=o[2],N=o[3];p.push(cs(d,N)),"<"==_[0]&&(d!=vn||N!=vn)&&p.push(cs(N,d))}(o,n,p)):n.push(a),n}(p.expr,n.errors);return{type:H.If.Transition,matchers:d,animation:o,queryCount:n.queryCount,depCount:n.depCount,options:Nn(p.options)}}visitSequence(p,n){return{type:H.If.Sequence,steps:p.steps.map(o=>mi(this,o,n)),options:Nn(p.options)}}visitGroup(p,n){const o=n.currentTime;let d=0;const _=p.steps.map(N=>{n.currentTime=o;const U=mi(this,N,n);return d=Math.max(d,n.currentTime),U});return n.currentTime=d,{type:H.If.Group,steps:_,options:Nn(p.options)}}visitAnimate(p,n){const o=function Ke(a,p){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return Es($e(a,p).duration,0,"");const n=a;if(n.split(/\s+/).some(_=>"{"==_.charAt(0)&&"{"==_.charAt(1))){const _=Es(0,0,"");return _.dynamic=!0,_.strValue=n,_}const d=$e(n,p);return Es(d.duration,d.delay,d.easing)}(p.timings,n.errors);n.currentAnimateTimings=o;let d,_=p.styles?p.styles:(0,H.iF)({});if(_.type==H.If.Keyframes)d=this.visitKeyframes(_,n);else{let N=p.styles,U=!1;if(!N){U=!0;const we={};o.easing&&(we.easing=o.easing),N=(0,H.iF)(we)}n.currentTime+=o.duration+o.delay;const ue=this.visitStyle(N,n);ue.isEmptyStep=U,d=ue}return n.currentAnimateTimings=null,{type:H.If.Animate,timings:o,style:d,options:null}}visitStyle(p,n){const o=this._makeStyleAst(p,n);return this._validateStyleAst(o,n),o}_makeStyleAst(p,n){const o=[],d=Array.isArray(p.styles)?p.styles:[p.styles];for(let U of d)"string"==typeof U?U===H.kp?o.push(U):n.errors.push(new e.wOt(3002,!1)):o.push(new Map(Object.entries(U)));let _=!1,N=null;return o.forEach(U=>{if(U instanceof Map&&(U.has("easing")&&(N=U.get("easing"),U.delete("easing")),!_))for(let ue of U.values())if(ue.toString().indexOf("{{")>=0){_=!0;break}}),{type:H.If.Style,styles:o,easing:N,offset:p.offset,containsDynamicStyles:_,options:null}}_validateStyleAst(p,n){const o=n.currentAnimateTimings;let d=n.currentTime,_=n.currentTime;o&&_>0&&(_-=o.duration+o.delay),p.styles.forEach(N=>{"string"!=typeof N&&N.forEach((U,ue)=>{const we=n.collectedStyles.get(n.currentQuerySelector),Ge=we.get(ue);let Xe=!0;Ge&&(_!=d&&_>=Ge.startTime&&d<=Ge.endTime&&(n.errors.push(function je(a,p,n,o,d){return new e.wOt(3010,!1)}()),Xe=!1),_=Ge.startTime),Xe&&we.set(ue,{startTime:_,endTime:d}),n.options&&function ln(a,p,n){const o=p.params||{},d=di(a);d.length&&d.forEach(_=>{o.hasOwnProperty(_)||n.push(function W(a){return new e.wOt(3001,!1)}())})}(U,n.options,n.errors)})})}visitKeyframes(p,n){const o={type:H.If.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function Qe(){return new e.wOt(3011,!1)}()),o;let _=0;const N=[];let U=!1,ue=!1,we=0;const Ge=p.steps.map(ii=>{const bn=this._makeStyleAst(ii,n);let Fn=null!=bn.offset?bn.offset:function pn(a){if("string"==typeof a)return null;let p=null;if(Array.isArray(a))a.forEach(n=>{if(n instanceof Map&&n.has("offset")){const o=n;p=parseFloat(o.get("offset")),o.delete("offset")}});else if(a instanceof Map&&a.has("offset")){const n=a;p=parseFloat(n.get("offset")),n.delete("offset")}return p}(bn.styles),Bi=0;return null!=Fn&&(_++,Bi=bn.offset=Fn),ue=ue||Bi<0||Bi>1,U=U||Bi0&&_{const Fn=sn>0?bn==fn?1:sn*bn:N[bn],Bi=Fn*zt;n.currentTime=xt+Dn.delay+Bi,Dn.duration=Bi,this._validateStyleAst(ii,n),ii.offset=Fn,o.styles.push(ii)}),o}visitReference(p,n){return{type:H.If.Reference,animation:mi(this,Yt(p.animation),n),options:Nn(p.options)}}visitAnimateChild(p,n){return n.depCount++,{type:H.If.AnimateChild,options:Nn(p.options)}}visitAnimateRef(p,n){return{type:H.If.AnimateRef,animation:this.visitReference(p.animation,n),options:Nn(p.options)}}visitQuery(p,n){const o=n.currentQuerySelector,d=p.options||{};n.queryCount++,n.currentQuery=p;const[_,N]=function Dt(a){const p=!!a.split(/\s*,\s*/).find(n=>":self"==n);return p&&(a=a.replace(oi,"")),a=a.replace(/@\*/g,Gn).replace(/@\w+/g,n=>Gn+"-"+n.slice(1)).replace(/:animating/g,Ei),[a,p]}(p.selector);n.currentQuerySelector=o.length?o+" "+_:_,St(n.collectedStyles,n.currentQuerySelector,new Map);const U=mi(this,Yt(p.animation),n);return n.currentQuery=null,n.currentQuerySelector=o,{type:H.If.Query,selector:_,limit:d.limit||0,optional:!!d.optional,includeSelf:N,animation:U,originalSelector:p.selector,options:Nn(p.options)}}visitStagger(p,n){n.currentQuery||n.errors.push(function Re(){return new e.wOt(3013,!1)}());const o="full"===p.timings?{duration:0,delay:0,easing:"full"}:$e(p.timings,n.errors,!0);return{type:H.If.Stagger,animation:mi(this,Yt(p.animation),n),timings:o,options:null}}}class Ye{constructor(p){this.errors=p,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 Nn(a){return a?(a={...a}).params&&(a.params=function Te(a){return a?{...a}:null}(a.params)):a={},a}function Es(a,p,n){return{duration:a,delay:p,easing:n}}function rn(a,p,n,o,d,_,N=null,U=!1){return{type:1,element:a,keyframes:p,preStyleProps:n,postStyleProps:o,duration:d,delay:_,totalTime:d+_,easing:N,subTimeline:U}}class Yi{constructor(){this._map=new Map}get(p){return this._map.get(p)||[]}append(p,n){let o=this._map.get(p);o||this._map.set(p,o=[]),o.push(...n)}has(p){return this._map.has(p)}clear(){this._map.clear()}}const oa=new RegExp(":enter","g"),pr=new RegExp(":leave","g");function Rr(a,p,n,o,d,_=new Map,N=new Map,U,ue,we=[]){return(new Ji).buildKeyframes(a,p,n,o,d,_,N,U,ue,we)}class Ji{buildKeyframes(p,n,o,d,_,N,U,ue,we,Ge=[]){we=we||new Yi;const Xe=new bs(p,n,we,d,_,Ge,[]);Xe.options=ue;const sn=ue.delay?st(ue.delay):0;Xe.currentTimeline.delayNextStep(sn),Xe.currentTimeline.setStyles([N],null,Xe.errors,ue),mi(this,o,Xe);const fn=Xe.timelines.filter(xt=>xt.containsAnimation());if(fn.length&&U.size){let xt;for(let Dn=fn.length-1;Dn>=0;Dn--){const zt=fn[Dn];if(zt.element===n){xt=zt;break}}xt&&!xt.allowOnlyTimelineStyles()&&xt.setStyles([U],null,Xe.errors,ue)}return fn.length?fn.map(xt=>xt.buildKeyframes()):[rn(n,[],[],[],0,sn,"",!1)]}visitTrigger(p,n){}visitState(p,n){}visitTransition(p,n){}visitAnimateChild(p,n){const o=n.subInstructions.get(n.element);if(o){const d=n.createSubContext(p.options),_=n.currentTimeline.currentTime,N=this._visitSubInstructions(o,d,d.options);_!=N&&n.transformIntoNewTimeline(N)}n.previousNode=p}visitAnimateRef(p,n){const o=n.createSubContext(p.options);o.transformIntoNewTimeline(),this._applyAnimationRefDelays([p.options,p.animation.options],n,o),this.visitReference(p.animation,o),n.transformIntoNewTimeline(o.currentTimeline.currentTime),n.previousNode=p}_applyAnimationRefDelays(p,n,o){for(const d of p){const _=d?.delay;if(_){const N="number"==typeof _?_:st(Ni(_,d?.params??{},n.errors));o.delayNextStep(N)}}}_visitSubInstructions(p,n,o){let _=n.currentTimeline.currentTime;const N=null!=o.duration?st(o.duration):null,U=null!=o.delay?st(o.delay):null;return 0!==N&&p.forEach(ue=>{const we=n.appendInstructionToTimeline(ue,N,U);_=Math.max(_,we.duration+we.delay)}),_}visitReference(p,n){n.updateOptions(p.options,!0),mi(this,p.animation,n),n.previousNode=p}visitSequence(p,n){const o=n.subContextCount;let d=n;const _=p.options;if(_&&(_.params||_.delay)&&(d=n.createSubContext(_),d.transformIntoNewTimeline(),null!=_.delay)){d.previousNode.type==H.If.Style&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=Ps);const N=st(_.delay);d.delayNextStep(N)}p.steps.length&&(p.steps.forEach(N=>mi(this,N,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>o&&d.transformIntoNewTimeline()),n.previousNode=p}visitGroup(p,n){const o=[];let d=n.currentTimeline.currentTime;const _=p.options&&p.options.delay?st(p.options.delay):0;p.steps.forEach(N=>{const U=n.createSubContext(p.options);_&&U.delayNextStep(_),mi(this,N,U),d=Math.max(d,U.currentTimeline.currentTime),o.push(U.currentTimeline)}),o.forEach(N=>n.currentTimeline.mergeTimelineCollectedStyles(N)),n.transformIntoNewTimeline(d),n.previousNode=p}_visitTiming(p,n){if(p.dynamic){const o=p.strValue;return $e(n.params?Ni(o,n.params,n.errors):o,n.errors)}return{duration:p.duration,delay:p.delay,easing:p.easing}}visitAnimate(p,n){const o=n.currentAnimateTimings=this._visitTiming(p.timings,n),d=n.currentTimeline;o.delay&&(n.incrementTime(o.delay),d.snapshotCurrentStyles());const _=p.style;_.type==H.If.Keyframes?this.visitKeyframes(_,n):(n.incrementTime(o.duration),this.visitStyle(_,n),d.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=p}visitStyle(p,n){const o=n.currentTimeline,d=n.currentAnimateTimings;!d&&o.hasCurrentStyleProperties()&&o.forwardFrame();const _=d&&d.easing||p.easing;p.isEmptyStep?o.applyEmptyStep(_):o.setStyles(p.styles,_,n.errors,n.options),n.previousNode=p}visitKeyframes(p,n){const o=n.currentAnimateTimings,d=n.currentTimeline.duration,_=o.duration,U=n.createSubContext().currentTimeline;U.easing=o.easing,p.styles.forEach(ue=>{U.forwardTime((ue.offset||0)*_),U.setStyles(ue.styles,ue.easing,n.errors,n.options),U.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(U),n.transformIntoNewTimeline(d+_),n.previousNode=p}visitQuery(p,n){const o=n.currentTimeline.currentTime,d=p.options||{},_=d.delay?st(d.delay):0;_&&(n.previousNode.type===H.If.Style||0==o&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Ps);let N=o;const U=n.invokeQuery(p.selector,p.originalSelector,p.limit,p.includeSelf,!!d.optional,n.errors);n.currentQueryTotal=U.length;let ue=null;U.forEach((we,Ge)=>{n.currentQueryIndex=Ge;const Xe=n.createSubContext(p.options,we);_&&Xe.delayNextStep(_),we===n.element&&(ue=Xe.currentTimeline),mi(this,p.animation,Xe),Xe.currentTimeline.applyStylesToKeyframe(),N=Math.max(N,Xe.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(N),ue&&(n.currentTimeline.mergeTimelineCollectedStyles(ue),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=p}visitStagger(p,n){const o=n.parentContext,d=n.currentTimeline,_=p.timings,N=Math.abs(_.duration),U=N*(n.currentQueryTotal-1);let ue=N*n.currentQueryIndex;switch(_.duration<0?"reverse":_.easing){case"reverse":ue=U-ue;break;case"full":ue=o.currentStaggerTime}const Ge=n.currentTimeline;ue&&Ge.delayNextStep(ue);const Xe=Ge.currentTime;mi(this,p.animation,n),n.previousNode=p,o.currentStaggerTime=d.currentTime-Xe+(d.startTime-o.currentTimeline.startTime)}}const Ps={};class bs{constructor(p,n,o,d,_,N,U,ue){this._driver=p,this.element=n,this.subInstructions=o,this._enterClassName=d,this._leaveClassName=_,this.errors=N,this.timelines=U,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ps,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ue||new cr(this._driver,n,0),U.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(p,n){if(!p)return;const o=p;let d=this.options;null!=o.duration&&(d.duration=st(o.duration)),null!=o.delay&&(d.delay=st(o.delay));const _=o.params;if(_){let N=d.params;N||(N=this.options.params={}),Object.keys(_).forEach(U=>{(!n||!N.hasOwnProperty(U))&&(N[U]=Ni(_[U],N,this.errors))})}}_copyOptions(){const p={};if(this.options){const n=this.options.params;if(n){const o=p.params={};Object.keys(n).forEach(d=>{o[d]=n[d]})}}return p}createSubContext(p=null,n,o){const d=n||this.element,_=new bs(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,o||0));return _.previousNode=this.previousNode,_.currentAnimateTimings=this.currentAnimateTimings,_.options=this._copyOptions(),_.updateOptions(p),_.currentQueryIndex=this.currentQueryIndex,_.currentQueryTotal=this.currentQueryTotal,_.parentContext=this,this.subContextCount++,_}transformIntoNewTimeline(p){return this.previousNode=Ps,this.currentTimeline=this.currentTimeline.fork(this.element,p),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(p,n,o){const d={duration:n??p.duration,delay:this.currentTimeline.currentTime+(o??0)+p.delay,easing:""},_=new qs(this._driver,p.element,p.keyframes,p.preStyleProps,p.postStyleProps,d,p.stretchStartingKeyframe);return this.timelines.push(_),d}incrementTime(p){this.currentTimeline.forwardTime(this.currentTimeline.duration+p)}delayNextStep(p){p>0&&this.currentTimeline.delayNextStep(p)}invokeQuery(p,n,o,d,_,N){let U=[];if(d&&U.push(this.element),p.length>0){p=(p=p.replace(oa,"."+this._enterClassName)).replace(pr,"."+this._leaveClassName);let we=this._driver.query(this.element,p,1!=o);0!==o&&(we=o<0?we.slice(we.length+o,we.length):we.slice(0,o)),U.push(...we)}return!_&&0==U.length&&N.push(function Ve(a){return new e.wOt(3014,!1)}()),U}}class cr{constructor(p,n,o,d){this._driver=p,this.element=n,this.startTime=o,this._elementTimelineStylesLookup=d,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,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(p){const n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+p),n&&this.snapshotCurrentStyles()):this.startTime+=p}fork(p,n){return this.applyStylesToKeyframe(),new cr(this._driver,p,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(p){this.applyStylesToKeyframe(),this.duration=p,this._loadKeyframe()}_updateStyle(p,n){this._localTimelineStyles.set(p,n),this._globalTimelineStyles.set(p,n),this._styleSummary.set(p,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(p){p&&this._previousKeyframe.set("easing",p);for(let[n,o]of this._globalTimelineStyles)this._backFill.set(n,o||H.kp),this._currentKeyframe.set(n,H.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(p,n,o,d){n&&this._previousKeyframe.set("easing",n);const _=d&&d.params||{},N=function lr(a,p){const n=new Map;let o;return a.forEach(d=>{if("*"===d){o??=p.keys();for(let _ of o)n.set(_,H.kp)}else for(let[_,N]of d)n.set(_,N)}),n}(p,this._globalTimelineStyles);for(let[U,ue]of N){const we=Ni(ue,_,o);this._pendingStyles.set(U,we),this._localTimelineStyles.has(U)||this._backFill.set(U,this._globalTimelineStyles.get(U)??H.kp),this._updateStyle(U,we)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((p,n)=>{this._currentKeyframe.set(n,p)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((p,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,p)}))}snapshotCurrentStyles(){for(let[p,n]of this._localTimelineStyles)this._pendingStyles.set(p,n),this._updateStyle(p,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const p=[];for(let n in this._currentKeyframe)p.push(n);return p}mergeTimelineCollectedStyles(p){p._styleSummary.forEach((n,o)=>{const d=this._styleSummary.get(o);(!d||n.time>d.time)&&this._updateStyle(o,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const p=new Set,n=new Set,o=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((U,ue)=>{const we=new Map([...this._backFill,...U]);we.forEach((Ge,Xe)=>{Ge===H.FX?p.add(Xe):Ge===H.kp&&n.add(Xe)}),o||we.set("offset",ue/this.duration),d.push(we)});const _=[...p.values()],N=[...n.values()];if(o){const U=d[0],ue=new Map(U);U.set("offset",0),ue.set("offset",1),d=[U,ue]}return rn(this.element,d,_,N,this.duration,this.startTime,this.easing,!1)}}class qs extends cr{constructor(p,n,o,d,_,N,U=!1){super(p,n,N.delay),this.keyframes=o,this.preStyleProps=d,this.postStyleProps=_,this._stretchStartingKeyframe=U,this.timings={duration:N.duration,delay:N.delay,easing:N.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let p=this.keyframes,{delay:n,duration:o,easing:d}=this.timings;if(this._stretchStartingKeyframe&&n){const _=[],N=o+n,U=n/N,ue=new Map(p[0]);ue.set("offset",0),_.push(ue);const we=new Map(p[0]);we.set("offset",Fr(U)),_.push(we);const Ge=p.length-1;for(let Xe=1;Xe<=Ge;Xe++){let sn=new Map(p[Xe]);const fn=sn.get("offset");sn.set("offset",Fr((n+fn*o)/N)),_.push(sn)}o=N,n=0,d="",p=_}return rn(this.element,p,this.preStyleProps,this.postStyleProps,o,n,d,!0)}}function Fr(a,p=3){const n=Math.pow(10,p-1);return Math.round(a*n)/n}function ts(a,p,n,o,d,_,N,U,ue,we,Ge,Xe,sn){return{type:0,element:a,triggerName:p,isRemovalTransition:d,fromState:n,fromStyles:_,toState:o,toStyles:N,timelines:U,queriedElements:ue,preStyleProps:we,postStyleProps:Ge,totalTime:Xe,errors:sn}}const kr={};class Sr{constructor(p,n,o){this._triggerName=p,this.ast=n,this._stateStyles=o}match(p,n,o,d){return function Ys(a,p,n,o,d){return a.some(_=>_(p,n,o,d))}(this.ast.matchers,p,n,o,d)}buildStyles(p,n,o){let d=this._stateStyles.get("*");return void 0!==p&&(d=this._stateStyles.get(p?.toString())||d),d?d.buildStyles(n,o):new Map}build(p,n,o,d,_,N,U,ue,we,Ge){const Xe=[],sn=this.ast.options&&this.ast.options.params||kr,xt=this.buildStyles(o,U&&U.params||kr,Xe),Dn=ue&&ue.params||kr,zt=this.buildStyles(d,Dn,Xe),ii=new Set,bn=new Map,Fn=new Map,Bi="void"===d,Bs={params:er(Dn,sn),delay:this.ast.options?.delay},Vn=Ge?[]:Rr(p,n,this.ast.animation,_,N,xt,zt,Bs,we,Xe);let ni=0;return Vn.forEach(bi=>{ni=Math.max(bi.duration+bi.delay,ni)}),Xe.length?ts(n,this._triggerName,o,d,Bi,xt,zt,[],[],bn,Fn,ni,Xe):(Vn.forEach(bi=>{const ar=bi.element,Xr=St(bn,ar,new Set);bi.preStyleProps.forEach(Mo=>Xr.add(Mo));const Ou=St(Fn,ar,new Set);bi.postStyleProps.forEach(Mo=>Ou.add(Mo)),ar!==n&&ii.add(ar)}),ts(n,this._triggerName,o,d,Bi,xt,zt,Vn,[...ii.values()],bn,Fn,ni))}}function er(a,p){const n={...p};return Object.entries(a).forEach(([o,d])=>{null!=d&&(n[o]=d)}),n}class Ls{constructor(p,n,o){this.styles=p,this.defaultParams=n,this.normalizer=o}buildStyles(p,n){const o=new Map,d=er(p,this.defaultParams);return this.styles.styles.forEach(_=>{"string"!=typeof _&&_.forEach((N,U)=>{N&&(N=Ni(N,d,n));const ue=this.normalizer.normalizePropertyName(U,n);N=this.normalizer.normalizeStyleValue(U,ue,N,n),o.set(U,N)})}),o}}class ls{constructor(p,n,o){this.name=p,this.ast=n,this._normalizer=o,this.transitionFactories=[],this.states=new Map,n.states.forEach(d=>{this.states.set(d.name,new Ls(d.style,d.options&&d.options.params||{},o))}),ei(this.states,"true","1"),ei(this.states,"false","0"),n.transitions.forEach(d=>{this.transitionFactories.push(new Sr(p,d,this.states))}),this.fallbackTransition=function Br(a,p,n){return new Sr(a,{type:H.If.Transition,animation:{type:H.If.Sequence,steps:[],options:null},matchers:[(N,U)=>!0],options:null,queryCount:0,depCount:0},p)}(p,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(p,n,o,d){return this.transitionFactories.find(N=>N.match(p,n,o,d))||null}matchStyles(p,n,o){return this.fallbackTransition.buildStyles(p,n,o)}}function ei(a,p,n){a.has(p)?a.has(n)||a.set(n,a.get(p)):a.has(n)&&a.set(p,a.get(n))}const tr=new Yi;class Po{constructor(p,n,o){this.bodyNode=p,this._driver=n,this._normalizer=o,this._animations=new Map,this._playersById=new Map,this.players=[]}register(p,n){const o=[],_=jn(this._driver,n,o,[]);if(o.length)throw function vt(a){return new e.wOt(3503,!1)}();this._animations.set(p,_)}_buildPlayer(p,n,o){const d=p.element,_=_e(this._normalizer,p.keyframes,n,o);return this._driver.animate(d,_,p.duration,p.delay,p.easing,[],!0)}create(p,n,o={}){const d=[],_=this._animations.get(p);let N;const U=new Map;if(_?(N=Rr(this._driver,n,_,ct,Mt,new Map,new Map,o,tr,d),N.forEach(Ge=>{const Xe=St(U,Ge.element,new Map);Ge.postStyleProps.forEach(sn=>Xe.set(sn,null))})):(d.push(function Kt(){return new e.wOt(3300,!1)}()),N=[]),d.length)throw function wt(a){return new e.wOt(3504,!1)}();U.forEach((Ge,Xe)=>{Ge.forEach((sn,fn)=>{Ge.set(fn,this._driver.computeStyle(Xe,fn,H.kp))})});const we=fe(N.map(Ge=>{const Xe=U.get(Ge.element);return this._buildPlayer(Ge,new Map,Xe)}));return this._playersById.set(p,we),we.onDestroy(()=>this.destroy(p)),this.players.push(we),we}destroy(p){const n=this._getPlayer(p);n.destroy(),this._playersById.delete(p);const o=this.players.indexOf(n);o>=0&&this.players.splice(o,1)}_getPlayer(p){const n=this._playersById.get(p);if(!n)throw function tn(a){return new e.wOt(3301,!1)}();return n}listen(p,n,o,d){const _=nt(n,"","","");return Le(this._getPlayer(p),o,_,d),()=>{}}command(p,n,o,d){if("register"==o)return void this.register(p,d[0]);if("create"==o)return void this.create(p,n,d[0]||{});const _=this._getPlayer(p);switch(o){case"play":_.play();break;case"pause":_.pause();break;case"reset":_.reset();break;case"restart":_.restart();break;case"finish":_.finish();break;case"init":_.init();break;case"setPosition":_.setPosition(parseFloat(d[0]));break;case"destroy":this.destroy(p)}}}const Qr="ng-animate-queued",zr="ng-animate-disabled",Lo=[],Ur={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ia={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},hs="__ng_removed";class uo{get params(){return this.options.params}constructor(p,n=""){this.namespaceId=n;const o=p&&p.hasOwnProperty("value");if(this.value=function ko(a){return a??null}(o?p.value:p),o){const{value:_,...N}=p;this.options=N}else this.options={};this.options.params||(this.options.params={})}absorbOptions(p){const n=p.params;if(n){const o=this.options.params;Object.keys(n).forEach(d=>{null==o[d]&&(o[d]=n[d])})}}}const Os="void",ur=new uo(Os);class ca{constructor(p,n,o){this.id=p,this.hostElement=n,this._engine=o,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+p,dr(n,this._hostClassName)}listen(p,n,o,d){if(!this._triggers.has(n))throw function Wn(a,p){return new e.wOt(3302,!1)}();if(null==o||0==o.length)throw function pi(a){return new e.wOt(3303,!1)}();if(!function Gr(a){return"start"==a||"done"==a}(o))throw function Wt(a,p){return new e.wOt(3400,!1)}();const _=St(this._elementListeners,p,[]),N={name:n,phase:o,callback:d};_.push(N);const U=St(this._engine.statesByElement,p,new Map);return U.has(n)||(dr(p,gn),dr(p,gn+"-"+n),U.set(n,ur)),()=>{this._engine.afterFlush(()=>{const ue=_.indexOf(N);ue>=0&&_.splice(ue,1),this._triggers.has(n)||U.delete(n)})}}register(p,n){return!this._triggers.has(p)&&(this._triggers.set(p,n),!0)}_getTrigger(p){const n=this._triggers.get(p);if(!n)throw function Zt(a){return new e.wOt(3401,!1)}();return n}trigger(p,n,o,d=!0){const _=this._getTrigger(n),N=new ns(this.id,n,p);let U=this._engine.statesByElement.get(p);U||(dr(p,gn),dr(p,gn+"-"+n),this._engine.statesByElement.set(p,U=new Map));let ue=U.get(n);const we=new uo(o,this.id);if(!(o&&o.hasOwnProperty("value"))&&ue&&we.absorbOptions(ue.options),U.set(n,we),ue||(ue=ur),we.value!==Os&&ue.value===we.value){if(!function ka(a,p){const n=Object.keys(a),o=Object.keys(p);if(n.length!=o.length)return!1;for(let d=0;d{Je(p,zt),xe(p,ii)})}return}const sn=St(this._engine.playersByElement,p,[]);sn.forEach(Dn=>{Dn.namespaceId==this.id&&Dn.triggerName==n&&Dn.queued&&Dn.destroy()});let fn=_.matchTransition(ue.value,we.value,p,we.params),xt=!1;if(!fn){if(!d)return;fn=_.fallbackTransition,xt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:n,transition:fn,fromState:ue,toState:we,player:N,isFallbackTransition:xt}),xt||(dr(p,Qr),N.onStart(()=>{fo(p,Qr)})),N.onDone(()=>{let Dn=this.players.indexOf(N);Dn>=0&&this.players.splice(Dn,1);const zt=this._engine.playersByElement.get(p);if(zt){let ii=zt.indexOf(N);ii>=0&&zt.splice(ii,1)}}),this.players.push(N),sn.push(N),N}deregister(p){this._triggers.delete(p),this._engine.statesByElement.forEach(n=>n.delete(p)),this._elementListeners.forEach((n,o)=>{this._elementListeners.set(o,n.filter(d=>d.name!=p))})}clearElementCache(p){this._engine.statesByElement.delete(p),this._elementListeners.delete(p);const n=this._engine.playersByElement.get(p);n&&(n.forEach(o=>o.destroy()),this._engine.playersByElement.delete(p))}_signalRemovalForInnerTriggers(p,n){const o=this._engine.driver.query(p,Gn,!0);o.forEach(d=>{if(d[hs])return;const _=this._engine.fetchNamespacesByElement(d);_.size?_.forEach(N=>N.triggerLeaveAnimation(d,n,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>o.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(p,n,o,d){const _=this._engine.statesByElement.get(p),N=new Map;if(_){const U=[];if(_.forEach((ue,we)=>{if(N.set(we,ue.value),this._triggers.has(we)){const Ge=this.trigger(p,we,Os,d);Ge&&U.push(Ge)}}),U.length)return this._engine.markElementAsRemoved(this.id,p,!0,n,N),o&&fe(U).onDone(()=>this._engine.processLeaveNode(p)),!0}return!1}prepareLeaveAnimationListeners(p){const n=this._elementListeners.get(p),o=this._engine.statesByElement.get(p);if(n&&o){const d=new Set;n.forEach(_=>{const N=_.name;if(d.has(N))return;d.add(N);const ue=this._triggers.get(N).fallbackTransition,we=o.get(N)||ur,Ge=new uo(Os),Xe=new ns(this.id,N,p);this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:N,transition:ue,fromState:we,toState:Ge,player:Xe,isFallbackTransition:!0})})}}removeNode(p,n){const o=this._engine;if(p.childElementCount&&this._signalRemovalForInnerTriggers(p,n),this.triggerLeaveAnimation(p,n,!0))return;let d=!1;if(o.totalAnimations){const _=o.players.length?o.playersByQueriedElement.get(p):[];if(_&&_.length)d=!0;else{let N=p;for(;N=N.parentNode;)if(o.statesByElement.get(N)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(p),d)o.markElementAsRemoved(this.id,p,!1,n);else{const _=p[hs];(!_||_===Ur)&&(o.afterFlush(()=>this.clearElementCache(p)),o.destroyInnerAnimations(p),o._onRemovalComplete(p,n))}}insertNode(p,n){dr(p,this._hostClassName)}drainQueuedTransitions(p){const n=[];return this._queue.forEach(o=>{const d=o.player;if(d.destroyed)return;const _=o.element,N=this._elementListeners.get(_);N&&N.forEach(U=>{if(U.name==o.triggerName){const ue=nt(_,o.triggerName,o.fromState.value,o.toState.value);ue._data=p,Le(o.player,U.phase,ue,U.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):n.push(o)}),this._queue=[],n.sort((o,d)=>{const _=o.transition.ast.depCount,N=d.transition.ast.depCount;return 0==_||0==N?_-N:this._engine.driver.containsElement(o.element,d.element)?1:-1})}destroy(p){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,p)}}class xo{_onRemovalComplete(p,n){this.onRemovalComplete(p,n)}constructor(p,n,o,d){this.bodyNode=p,this.driver=n,this._normalizer=o,this.scheduler=d,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=(_,N)=>{}}get queuedPlayers(){const p=[];return this._namespaceList.forEach(n=>{n.players.forEach(o=>{o.queued&&p.push(o)})}),p}createNamespace(p,n){const o=new ca(p,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(o,n):(this.newHostElements.set(n,o),this.collectEnterElement(n)),this._namespaceLookup[p]=o}_balanceNamespaceList(p,n){const o=this._namespaceList,d=this.namespacesByHostElement;if(o.length-1>=0){let N=!1,U=this.driver.getParentElement(n);for(;U;){const ue=d.get(U);if(ue){const we=o.indexOf(ue);o.splice(we+1,0,p),N=!0;break}U=this.driver.getParentElement(U)}N||o.unshift(p)}else o.push(p);return d.set(n,p),p}register(p,n){let o=this._namespaceLookup[p];return o||(o=this.createNamespace(p,n)),o}registerTrigger(p,n,o){let d=this._namespaceLookup[p];d&&d.register(n,o)&&this.totalAnimations++}destroy(p,n){p&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const o=this._fetchNamespace(p);this.namespacesByHostElement.delete(o.hostElement);const d=this._namespaceList.indexOf(o);d>=0&&this._namespaceList.splice(d,1),o.destroy(n),delete this._namespaceLookup[p]}))}_fetchNamespace(p){return this._namespaceLookup[p]}fetchNamespacesByElement(p){const n=new Set,o=this.statesByElement.get(p);if(o)for(let d of o.values())if(d.namespaceId){const _=this._fetchNamespace(d.namespaceId);_&&n.add(_)}return n}trigger(p,n,o,d){if(Bo(n)){const _=this._fetchNamespace(p);if(_)return _.trigger(n,o,d),!0}return!1}insertNode(p,n,o,d){if(!Bo(n))return;const _=n[hs];if(_&&_.setForRemoval){_.setForRemoval=!1,_.setForMove=!0;const N=this.collectedLeaveElements.indexOf(n);N>=0&&this.collectedLeaveElements.splice(N,1)}if(p){const N=this._fetchNamespace(p);N&&N.insertNode(n,o)}d&&this.collectEnterElement(n)}collectEnterElement(p){this.collectedEnterElements.push(p)}markElementAsDisabled(p,n){n?this.disabledNodes.has(p)||(this.disabledNodes.add(p),dr(p,zr)):this.disabledNodes.has(p)&&(this.disabledNodes.delete(p),fo(p,zr))}removeNode(p,n,o){if(Bo(n)){this.scheduler?.notify();const d=p?this._fetchNamespace(p):null;d?d.removeNode(n,o):this.markElementAsRemoved(p,n,!1,o);const _=this.namespacesByHostElement.get(n);_&&_.id!==p&&_.removeNode(n,o)}else this._onRemovalComplete(n,o)}markElementAsRemoved(p,n,o,d,_){this.collectedLeaveElements.push(n),n[hs]={namespaceId:p,setForRemoval:d,hasAnimation:o,removedBeforeQueried:!1,previousTriggersValues:_}}listen(p,n,o,d,_){return Bo(n)?this._fetchNamespace(p).listen(n,o,d,_):()=>{}}_buildInstruction(p,n,o,d,_){return p.transition.build(this.driver,p.element,p.fromState.value,p.toState.value,o,d,p.fromState.options,p.toState.options,n,_)}destroyInnerAnimations(p){let n=this.driver.query(p,Gn,!0);n.forEach(o=>this.destroyActiveAnimationsForElement(o)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(p,Ei,!0),n.forEach(o=>this.finishActiveQueriedAnimationOnElement(o)))}destroyActiveAnimationsForElement(p){const n=this.playersByElement.get(p);n&&n.forEach(o=>{o.queued?o.markedForDestroy=!0:o.destroy()})}finishActiveQueriedAnimationOnElement(p){const n=this.playersByQueriedElement.get(p);n&&n.forEach(o=>o.finish())}whenRenderingDone(){return new Promise(p=>{if(this.players.length)return fe(this.players).onDone(()=>p());p()})}processLeaveNode(p){const n=p[hs];if(n&&n.setForRemoval){if(p[hs]=Ur,n.namespaceId){this.destroyInnerAnimations(p);const o=this._fetchNamespace(n.namespaceId);o&&o.clearElementCache(p)}this._onRemovalComplete(p,n.setForRemoval)}p.classList?.contains(zr)&&this.markElementAsDisabled(p,!1),this.driver.query(p,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(p=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((o,d)=>this._balanceNamespaceList(o,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let o=0;oo()),this._flushFns=[],this._whenQuietFns.length){const o=this._whenQuietFns;this._whenQuietFns=[],n.length?fe(n).onDone(()=>{o.forEach(d=>d())}):o.forEach(d=>d())}}reportError(p){throw function dn(a){return new e.wOt(3402,!1)}()}_flushAnimations(p,n){const o=new Yi,d=[],_=new Map,N=[],U=new Map,ue=new Map,we=new Map,Ge=new Set;this.disabledNodes.forEach(Bn=>{Ge.add(Bn);const Zn=this.driver.query(Bn,".ng-animate-queued",!0);for(let si=0;si{const si=ct+Dn++;xt.set(Zn,si),Bn.forEach(Pi=>dr(Pi,si))});const zt=[],ii=new Set,bn=new Set;for(let Bn=0;Bnii.add(Pi)):bn.add(Zn))}const Fn=new Map,Bi=xs(sn,Array.from(ii));Bi.forEach((Bn,Zn)=>{const si=Mt+Dn++;Fn.set(Zn,si),Bn.forEach(Pi=>dr(Pi,si))}),p.push(()=>{fn.forEach((Bn,Zn)=>{const si=xt.get(Zn);Bn.forEach(Pi=>fo(Pi,si))}),Bi.forEach((Bn,Zn)=>{const si=Fn.get(Zn);Bn.forEach(Pi=>fo(Pi,si))}),zt.forEach(Bn=>{this.processLeaveNode(Bn)})});const Bs=[],Vn=[];for(let Bn=this._namespaceList.length-1;Bn>=0;Bn--)this._namespaceList[Bn].drainQueuedTransitions(n).forEach(si=>{const Pi=si.player,Us=si.element;if(Bs.push(Pi),this.collectedEnterElements.length){const fr=Us[hs];if(fr&&fr.setForMove){if(fr.previousTriggersValues&&fr.previousTriggersValues.has(si.triggerName)){const $c=fr.previousTriggersValues.get(si.triggerName),co=this.statesByElement.get(si.element);if(co&&co.has(si.triggerName)){const Ru=co.get(si.triggerName);Ru.value=$c,co.set(si.triggerName,Ru)}}return void Pi.destroy()}}const Ts=!Xe||!this.driver.containsElement(Xe,Us),ps=Fn.get(Us),Da=xt.get(Us),ws=this._buildInstruction(si,o,Da,ps,Ts);if(ws.errors&&ws.errors.length)return void Vn.push(ws);if(Ts)return Pi.onStart(()=>Je(Us,ws.fromStyles)),Pi.onDestroy(()=>xe(Us,ws.toStyles)),void d.push(Pi);if(si.isFallbackTransition)return Pi.onStart(()=>Je(Us,ws.fromStyles)),Pi.onDestroy(()=>xe(Us,ws.toStyles)),void d.push(Pi);const h0=[];ws.timelines.forEach(fr=>{fr.stretchStartingKeyframe=!0,this.disabledNodes.has(fr.element)||h0.push(fr)}),ws.timelines=h0,o.append(Us,ws.timelines),N.push({instruction:ws,player:Pi,element:Us}),ws.queriedElements.forEach(fr=>St(U,fr,[]).push(Pi)),ws.preStyleProps.forEach((fr,$c)=>{if(fr.size){let co=ue.get($c);co||ue.set($c,co=new Set),fr.forEach((Ru,jd)=>co.add(jd))}}),ws.postStyleProps.forEach((fr,$c)=>{let co=we.get($c);co||we.set($c,co=new Set),fr.forEach((Ru,jd)=>co.add(jd))})});if(Vn.length){const Bn=[];Vn.forEach(Zn=>{Bn.push(function Ln(a,p){return new e.wOt(3505,!1)}())}),Bs.forEach(Zn=>Zn.destroy()),this.reportError(Bn)}const ni=new Map,bi=new Map;N.forEach(Bn=>{const Zn=Bn.element;o.has(Zn)&&(bi.set(Zn,Zn),this._beforeAnimationBuild(Bn.player.namespaceId,Bn.instruction,ni))}),d.forEach(Bn=>{const Zn=Bn.element;this._getPreviousPlayers(Zn,!1,Bn.namespaceId,Bn.triggerName,null).forEach(Pi=>{St(ni,Zn,[]).push(Pi),Pi.destroy()})});const ar=zt.filter(Bn=>po(Bn,ue,we)),Xr=new Map;ho(Xr,this.driver,bn,we,H.kp).forEach(Bn=>{po(Bn,ue,we)&&ar.push(Bn)});const Mo=new Map;fn.forEach((Bn,Zn)=>{ho(Mo,this.driver,new Set(Bn),ue,H.FX)}),ar.forEach(Bn=>{const Zn=Xr.get(Bn),si=Mo.get(Bn);Xr.set(Bn,new Map([...Zn?.entries()??[],...si?.entries()??[]]))});const Ca=[],Fa=[],xr={};N.forEach(Bn=>{const{element:Zn,player:si,instruction:Pi}=Bn;if(o.has(Zn)){if(Ge.has(Zn))return si.onDestroy(()=>xe(Zn,Pi.toStyles)),si.disabled=!0,si.overrideTotalTime(Pi.totalTime),void d.push(si);let Us=xr;if(bi.size>1){let ps=Zn;const Da=[];for(;ps=ps.parentNode;){const ws=bi.get(ps);if(ws){Us=ws;break}Da.push(ps)}Da.forEach(ws=>bi.set(ws,Us))}const Ts=this._buildAnimation(si.namespaceId,Pi,ni,_,Mo,Xr);if(si.setRealPlayer(Ts),Us===xr)Ca.push(si);else{const ps=this.playersByElement.get(Us);ps&&ps.length&&(si.parentPlayer=fe(ps)),d.push(si)}}else Je(Zn,Pi.fromStyles),si.onDestroy(()=>xe(Zn,Pi.toStyles)),Fa.push(si),Ge.has(Zn)&&d.push(si)}),Fa.forEach(Bn=>{const Zn=_.get(Bn.element);if(Zn&&Zn.length){const si=fe(Zn);Bn.setRealPlayer(si)}}),d.forEach(Bn=>{Bn.parentPlayer?Bn.syncPlayerEvents(Bn.parentPlayer):Bn.destroy()});for(let Bn=0;Bn!Ts.destroyed);Us.length?nr(this,Zn,Us):this.processLeaveNode(Zn)}return zt.length=0,Ca.forEach(Bn=>{this.players.push(Bn),Bn.onDone(()=>{Bn.destroy();const Zn=this.players.indexOf(Bn);this.players.splice(Zn,1)}),Bn.play()}),Ca}afterFlush(p){this._flushFns.push(p)}afterFlushAnimationsDone(p){this._whenQuietFns.push(p)}_getPreviousPlayers(p,n,o,d,_){let N=[];if(n){const U=this.playersByQueriedElement.get(p);U&&(N=U)}else{const U=this.playersByElement.get(p);if(U){const ue=!_||_==Os;U.forEach(we=>{we.queued||!ue&&we.triggerName!=d||N.push(we)})}}return(o||d)&&(N=N.filter(U=>!(o&&o!=U.namespaceId||d&&d!=U.triggerName))),N}_beforeAnimationBuild(p,n,o){const _=n.element,N=n.isRemovalTransition?void 0:p,U=n.isRemovalTransition?void 0:n.triggerName;for(const ue of n.timelines){const we=ue.element,Ge=we!==_,Xe=St(o,we,[]);this._getPreviousPlayers(we,Ge,N,U,n.toState).forEach(fn=>{const xt=fn.getRealPlayer();xt.beforeDestroy&&xt.beforeDestroy(),fn.destroy(),Xe.push(fn)})}Je(_,n.fromStyles)}_buildAnimation(p,n,o,d,_,N){const U=n.triggerName,ue=n.element,we=[],Ge=new Set,Xe=new Set,sn=n.timelines.map(xt=>{const Dn=xt.element;Ge.add(Dn);const zt=Dn[hs];if(zt&&zt.removedBeforeQueried)return new H.sf(xt.duration,xt.delay);const ii=Dn!==ue,bn=function Di(a){const p=[];return gr(a,p),p}((o.get(Dn)||Lo).map(ni=>ni.getRealPlayer())).filter(ni=>!!ni.element&&ni.element===Dn),Fn=_.get(Dn),Bi=N.get(Dn),Bs=_e(this._normalizer,xt.keyframes,Fn,Bi),Vn=this._buildPlayer(xt,Bs,bn);if(xt.subTimeline&&d&&Xe.add(Dn),ii){const ni=new ns(p,U,Dn);ni.setRealPlayer(Vn),we.push(ni)}return Vn});we.forEach(xt=>{St(this.playersByQueriedElement,xt.element,[]).push(xt),xt.onDone(()=>function Fo(a,p,n){let o=a.get(p);if(o){if(o.length){const d=o.indexOf(n);o.splice(d,1)}0==o.length&&a.delete(p)}return o}(this.playersByQueriedElement,xt.element,xt))}),Ge.forEach(xt=>dr(xt,Ci));const fn=fe(sn);return fn.onDestroy(()=>{Ge.forEach(xt=>fo(xt,Ci)),xe(ue,n.toStyles)}),Xe.forEach(xt=>{St(d,xt,[]).push(fn)}),fn}_buildPlayer(p,n,o){return n.length>0?this.driver.animate(p.element,n,p.duration,p.delay,p.easing,o):new H.sf(p.duration,p.delay)}}class ns{constructor(p,n,o){this.namespaceId=p,this.triggerName=n,this.element=o,this._player=new H.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(p){this._containsRealPlayer||(this._player=p,this._queuedCallbacks.forEach((n,o)=>{n.forEach(d=>Le(p,o,void 0,d))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(p.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(p){this.totalTime=p}syncPlayerEvents(p){const n=this._player;n.triggerCallback&&p.onStart(()=>n.triggerCallback("start")),p.onDone(()=>this.finish()),p.onDestroy(()=>this.destroy())}_queueEvent(p,n){St(this._queuedCallbacks,p,[]).push(n)}onDone(p){this.queued&&this._queueEvent("done",p),this._player.onDone(p)}onStart(p){this.queued&&this._queueEvent("start",p),this._player.onStart(p)}onDestroy(p){this.queued&&this._queueEvent("destroy",p),this._player.onDestroy(p)}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(p){this.queued||this._player.setPosition(p)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(p){const n=this._player;n.triggerCallback&&n.triggerCallback(p)}}function Bo(a){return a&&1===a.nodeType}function Mi(a,p){const n=a.style.display;return a.style.display=p??"none",n}function ho(a,p,n,o,d){const _=[];n.forEach(ue=>_.push(Mi(ue)));const N=[];o.forEach((ue,we)=>{const Ge=new Map;ue.forEach(Xe=>{const sn=p.computeStyle(we,Xe,d);Ge.set(Xe,sn),(!sn||0==sn.length)&&(we[hs]=Ia,N.push(we))}),a.set(we,Ge)});let U=0;return n.forEach(ue=>Mi(ue,_[U++])),N}function xs(a,p){const n=new Map;if(a.forEach(U=>n.set(U,[])),0==p.length)return n;const d=new Set(p),_=new Map;function N(U){if(!U)return 1;let ue=_.get(U);if(ue)return ue;const we=U.parentNode;return ue=n.has(we)?we:d.has(we)?1:N(we),_.set(U,ue),ue}return p.forEach(U=>{const ue=N(U);1!==ue&&n.get(ue).push(U)}),n}function dr(a,p){a.classList?.add(p)}function fo(a,p){a.classList?.remove(p)}function nr(a,p,n){fe(n).onDone(()=>a.processLeaveNode(p))}function gr(a,p){for(let n=0;nd.add(_)):p.set(a,o),n.delete(a),!0}class Gs{constructor(p,n,o,d){this._driver=n,this._normalizer=o,this._triggerCache={},this.onRemovalComplete=(_,N)=>{},this._transitionEngine=new xo(p.body,n,o,d),this._timelineEngine=new Po(p.body,n,o),this._transitionEngine.onRemovalComplete=(_,N)=>this.onRemovalComplete(_,N)}registerTrigger(p,n,o,d,_){const N=p+"-"+d;let U=this._triggerCache[N];if(!U){const ue=[],Ge=jn(this._driver,_,ue,[]);if(ue.length)throw function ut(a,p){return new e.wOt(3404,!1)}();U=function lo(a,p,n){return new ls(a,p,n)}(d,Ge,this._normalizer),this._triggerCache[N]=U}this._transitionEngine.registerTrigger(n,d,U)}register(p,n){this._transitionEngine.register(p,n)}destroy(p,n){this._transitionEngine.destroy(p,n)}onInsert(p,n,o,d){this._transitionEngine.insertNode(p,n,o,d)}onRemove(p,n,o){this._transitionEngine.removeNode(p,n,o)}disableAnimations(p,n){this._transitionEngine.markElementAsDisabled(p,n)}process(p,n,o,d){if("@"==o.charAt(0)){const[_,N]=Qt(o);this._timelineEngine.command(_,n,N,d)}else this._transitionEngine.trigger(p,n,o,d)}listen(p,n,o,d,_){if("@"==o.charAt(0)){const[N,U]=Qt(o);return this._timelineEngine.listen(N,n,U,_)}return this._transitionEngine.listen(p,n,o,d,_)}flush(p=-1){this._transitionEngine.flush(p)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(p){this._transitionEngine.afterFlushAnimationsDone(p)}}class hr{static#e=this.initialStylesByElement=new WeakMap;constructor(p,n,o){this._element=p,this._startStyles=n,this._endStyles=o,this._state=0;let d=hr.initialStylesByElement.get(p);d||hr.initialStylesByElement.set(p,d=new Map),this._initialStyles=d}start(){this._state<1&&(this._startStyles&&xe(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(xe(this._element,this._initialStyles),this._endStyles&&(xe(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(hr.initialStylesByElement.delete(this._element),this._startStyles&&(Je(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Je(this._element,this._endStyles),this._endStyles=null),xe(this._element,this._initialStyles),this._state=3)}}function yr(a){let p=null;return a.forEach((n,o)=>{(function go(a){return"display"===a||"position"===a})(o)&&(p=p||new Map,p.set(o,n))}),p}class Tr{constructor(p,n,o,d){this.element=p,this.keyframes=n,this.options=o,this._specialStyles=d,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=o.duration,this._delay=o.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(p=>p()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const p=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,p,this.options),this._finalKeyframe=p.length?p[p.length-1]:new Map;const n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(p){const n=[];return p.forEach(o=>{n.push(Object.fromEntries(o))}),n}_triggerWebAnimation(p,n,o){return p.animate(this._convertKeyframesToObject(n),o)}onStart(p){this._originalOnStartFns.push(p),this._onStartFns.push(p)}onDone(p){this._originalOnDoneFns.push(p),this._onDoneFns.push(p)}onDestroy(p){this._onDestroyFns.push(p)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(p=>p()),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(p=>p()),this._onDestroyFns=[])}setPosition(p){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=p*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const p=new Map;this.hasStarted()&&this._finalKeyframe.forEach((o,d)=>{"offset"!==d&&p.set(d,this._finished?o:Ki(this.element,d))}),this.currentSnapshot=p}triggerCallback(p){const n="start"===p?this._onStartFns:this._onDoneFns;n.forEach(o=>o()),n.length=0}}class ie{validateStyleProperty(p){return!0}validateAnimatableStyleProperty(p){return!0}matchesElement(p,n){return!1}containsElement(p,n){return Hn(p,n)}getParentElement(p){return yn(p)}query(p,n,o){return Hi(p,n,o)}computeStyle(p,n,o){return Ki(p,n)}animate(p,n,o,d,_,N=[]){const ue={duration:o,delay:d,fill:0==d?"both":"forwards"};_&&(ue.easing=_);const we=new Map,Ge=N.filter(fn=>fn instanceof Tr);(function ji(a,p){return 0===a||0===p})(o,d)&&Ge.forEach(fn=>{fn.currentSnapshot.forEach((xt,Dn)=>we.set(Dn,xt))});let Xe=function et(a){return a.length?a[0]instanceof Map?a:a.map(p=>new Map(Object.entries(p))):[]}(n).map(fn=>new Map(fn));Xe=function ss(a,p,n){if(n.size&&p.length){let o=p[0],d=[];if(n.forEach((_,N)=>{o.has(N)||d.push(N),o.set(N,_)}),d.length)for(let _=1;_N.set(U,Ki(a,U)))}}return p}(p,Xe,we);const sn=function Vr(a,p){let n=null,o=null;return Array.isArray(p)&&p.length?(n=yr(p[0]),p.length>1&&(o=yr(p[p.length-1]))):p instanceof Map&&(n=yr(p)),n||o?new hr(a,n,o):null}(p,Xe);return new Tr(p,Xe,ue,sn)}}const it="@.disabled";class Tn{constructor(p,n,o,d){this.namespaceId=p,this.delegate=n,this.engine=o,this._onDestroy=d,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(p){this.delegate.destroyNode?.(p)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(p,n){return this.delegate.createElement(p,n)}createComment(p){return this.delegate.createComment(p)}createText(p){return this.delegate.createText(p)}appendChild(p,n){this.delegate.appendChild(p,n),this.engine.onInsert(this.namespaceId,n,p,!1)}insertBefore(p,n,o,d=!0){this.delegate.insertBefore(p,n,o),this.engine.onInsert(this.namespaceId,n,p,d)}removeChild(p,n,o){this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(p,n){return this.delegate.selectRootElement(p,n)}parentNode(p){return this.delegate.parentNode(p)}nextSibling(p){return this.delegate.nextSibling(p)}setAttribute(p,n,o,d){this.delegate.setAttribute(p,n,o,d)}removeAttribute(p,n,o){this.delegate.removeAttribute(p,n,o)}addClass(p,n){this.delegate.addClass(p,n)}removeClass(p,n){this.delegate.removeClass(p,n)}setStyle(p,n,o,d){this.delegate.setStyle(p,n,o,d)}removeStyle(p,n,o){this.delegate.removeStyle(p,n,o)}setProperty(p,n,o){"@"==n.charAt(0)&&n==it?this.disableAnimations(p,!!o):this.delegate.setProperty(p,n,o)}setValue(p,n){this.delegate.setValue(p,n)}listen(p,n,o){return this.delegate.listen(p,n,o)}disableAnimations(p,n){this.engine.disableAnimations(p,n)}}class ci extends Tn{constructor(p,n,o,d,_){super(n,o,d,_),this.factory=p,this.namespaceId=n}setProperty(p,n,o){"@"==n.charAt(0)?"."==n.charAt(1)&&n==it?this.disableAnimations(p,o=void 0===o||!!o):this.engine.process(this.namespaceId,p,n.slice(1),o):this.delegate.setProperty(p,n,o)}listen(p,n,o){if("@"==n.charAt(0)){const d=function Rs(a){switch(a){case"body":return document.body;case"document":return document;case"window":return window;default:return a}}(p);let _=n.slice(1),N="";return"@"!=_.charAt(0)&&([_,N]=function _r(a){const p=a.indexOf(".");return[a.substring(0,p),a.slice(p+1)]}(_)),this.engine.listen(this.namespaceId,d,_,N,U=>{this.factory.scheduleListenerCallback(U._data||-1,o,U)})}return this.delegate.listen(p,n,o)}}class Fs{constructor(p,n,o){this.delegate=p,this.engine=n,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(d,_)=>{const N=_?.parentNode(d);N&&_.removeChild(N,d)}}createRenderer(p,n){const d=this.delegate.createRenderer(p,n);if(!p||!n?.data?.animation){const we=this._rendererCache;let Ge=we.get(d);return Ge||(Ge=new Tn("",d,this.engine,()=>we.delete(d)),we.set(d,Ge)),Ge}const _=n.id,N=n.id+"-"+this._currentId;this._currentId++,this.engine.register(N,p);const U=we=>{Array.isArray(we)?we.forEach(U):this.engine.registerTrigger(_,N,p,we.name,we)};return n.data.animation.forEach(U),new ci(this,N,d,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(p,n,o){if(p>=0&&pn(o));const d=this._animationCallbacksBuffer;0==d.length&&queueMicrotask(()=>{this._zone.run(()=>{d.forEach(_=>{const[N,U]=_;N(U)}),this._animationCallbacksBuffer=[]})}),d.push([n,o])}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 _o=[{provide:As,useFactory:function Jr(){return new be}},{provide:Gs,useClass:(()=>{class a extends Gs{constructor(n,o,d){super(n,o,d,(0,e.WQX)(e.An2,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(u.qQ),e.KVO(ai),e.KVO(As))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})()},{provide:e._9s,useFactory:function Zr(a,p,n){return new Fs(a,p,n)},deps:[h.B7,Gs,e.SKi]}],Fi=[{provide:ai,useFactory:()=>new ie},{provide:e.bc$,useValue:"BrowserAnimations"},..._o],Ba=[{provide:ai,useClass:es},{provide:e.bc$,useValue:"NoopAnimations"},..._o];let Ua=(()=>{class a{static withConfig(n){return{ngModule:a,providers:n.disableAnimations?Ba:Fi}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:Fi,imports:[h.Bb]})}return a})();var en=l(51188),Ga=l(78453),ti=l(30617),ir=l(78325),mo=l(15153),Va=l(58818),$r=l(98856),ot=l(88141),wi=l(57786),$n=l(96697),Ss=l(91986),In=l(5964),Vi=l(65245),on=l(25558),Vs=l(35060),$a=l(44634),mr=l(66980),zo=l(77183),vo=l(43518),$s=l(5552),br=l(77323),as=l(21539),Hc=l(89257),Ms=l(8688);const la=a=>({"show ani":a}),Mr=a=>({display:a});function uc(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",3)(1,"a",4),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.deactivate())}),e.k0s(),e.j41(4,"div",5)(5,"h3"),e.EFF(6),e.k0s()(),e.j41(7,"div",6),e.nrm(8,"div",7),e.nI1(9,"safeHtml"),e.j41(10,"div",8)(11,"div",9)(12,"a",10),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.deactivate())}),e.EFF(13),e.k0s()(),e.j41(14,"div",11)(15,"a",10),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.logout())}),e.EFF(16),e.k0s()()()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.Y8G("@popWrapTriggerAni",d.isActive)("ngClass",e.eq3(14,la,d.isActive)),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,10,null==(n=e.bMT(2,8,d.switchThemeService.imageLink$))?null:n.POP_CLOSE_ICON)),e.R7$(5),e.SpI(" ",d.title," "),e.R7$(2),e.Y8G("innerHTML",e.bMT(9,12,d.content),e.npT),e.R7$(5),e.JRh(o("ui.global.word.cancel")),e.R7$(3),e.JRh(o("ui.member_menu.text.logout"))}}function qr(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",12),e.bIt("@popBgTriggerAni.done",function(d){e.eBV(n);const _=e.XpG(2);return e.Njj(_.onAnimationDone(d))})("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.deactivate())}),e.k0s()}if(2&a){const n=e.XpG(2);e.Y8G("@popBgTriggerAni",n.isActive)("ngStyle",e.eq3(2,Mr,n.isActive?"block":"none"))}}function sr(a,p){if(1&a&&(e.qex(0),e.DNE(1,uc,17,16,"div",1)(2,qr,1,4,"div",2),e.bVm()),2&a){const n=e.XpG();e.R7$(),e.Y8G("ngIf",n.isActive),e.R7$(),e.Y8G("ngIf",n.isActive)}}let dc=(()=>{class a extends zo.u{constructor(n,o){super(),this.authService=o,this.title="",this.content="",this.images=new $s.l,this.switchThemeService=(0,e.WQX)(ir.Fu),this.title=n.title,this.content=n.content}onAnimationDone(n){"void"===n.toState&&this.close()}logout(){this.authService.logout(),this.close()}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(vo.Qs),e.rXU(as.uR))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-logout-check"]],features:[e.Vt3],decls:1,vars:0,consts:[[4,"transloco"],["class","pop-wrap promotion-pop new",3,"ngClass",4,"ngIf"],["class","pop-bg",3,"ngStyle","click",4,"ngIf"],[1,"pop-wrap","promotion-pop","new",3,"ngClass"],[1,"btn-close",3,"click"],[1,"pop-title"],[1,"pop-inner","content-style"],[3,"innerHTML"],[1,"btn-box"],["onclick","",1,"button","btn-secondary"],[3,"click"],["onclick","",1,"button","btn-primary"],[1,"pop-bg",3,"click","ngStyle"]],template:function(o,d){1&o&&e.DNE(0,sr,3,2,"ng-container",0)},dependencies:[u.YU,u.bT,u.B3,b.bA,u.Jj,Hc.$n,Ms.Hc],data:{animation:[br.Rz,br.FA]},changeDetection:0})}return a})();var gi=l(51433),Eo=l(32690),hc=l(33346),Ws=l(60328),hn=l(96354),Nr=l(82409),Aa=l(78294),eo=l(76539),to=l(12806),wr=l(78530),zs=l(37996),Oa=l(75078),Wa=l(29295),li=l(74851),Go=l(23873);let ua=(()=>{class a{static forRoot(n){return{ngModule:a,providers:[{provide:Nr.pA,useValue:()=>l.e(3682).then(l.bind(l,83682)).then(o=>o.NotifyInfoComponent)},Nr._X,{provide:mo.Hc,useValue:()=>n?.customOpenGameComponent?n.customOpenGameComponent():Promise.all([l.e(2586),l.e(7635)]).then(l.bind(l,97635)).then(o=>o.OpenGameComponent)},{provide:mo.AJ,useValue:()=>l.e(7174).then(l.bind(l,47174)).then(o=>o.TipsDisplayComponent)},{provide:mo.YY,useValue:()=>l.e(2320).then(l.bind(l,22320)).then(o=>o.IosGameTipsComponent)},{provide:mo.hR,useValue:()=>l.e(8929).then(l.bind(l,58929)).then(o=>o.OpenGameBonusComponent)},{provide:$a.p,useClass:n?.imageLink||mr.h},{provide:Va.b,useValue:dc},{provide:Aa.r,useValue:eo.F},(0,Go.ZZ)("v2"),{provide:e.iLQ,useFactory:(a,p,n)=>()=>{if("custom"===n.get(Ws.E).desktopMode){let d=a.get("isLogin");a.select("isLogin").pipe((0,on.n)(_=>p.events.pipe((0,In.p)(N=>N instanceof en.wF||N instanceof en.lW),(0,hn.T)(()=>_))),(0,In.p)(_=>_!==d),(0,ot.M)(_=>{d=_;const N={shouldReuseRoute:p.routeReuseStrategy.shouldReuseRoute,onSameUrlNavigation:p.onSameUrlNavigation};p.routeReuseStrategy.shouldReuseRoute=()=>!1,p.onSameUrlNavigation="reload";const U=p.url;p.navigateByUrl("/").then(()=>{p.routeReuseStrategy.shouldReuseRoute=N.shouldReuseRoute,p.onSameUrlNavigation=N.onSameUrlNavigation,p.navigateByUrl(U)})})).subscribe()}},deps:[gi.H,en.Ix,e.zZn],multi:!0},Eo.c,{provide:e.hnV,useFactory:(o,d)=>()=>(o.version$.pipe((0,ot.M)(_=>{d.setMode(_)})).subscribe(),(0,L.of)(!0)),deps:[Eo.c,ir.Fu],multi:!0},{provide:e.hnV,useFactory:o=>()=>(o.startObserve(),(0,L.of)(!0)),deps:[hc.x],multi:!0},u.vh,{provide:e.iLQ,useFactory:(o,d,_,N,U,ue,we)=>()=>{(0,u.UE)(d)&&(0,wi.h)(_.select("isLogin").pipe((0,$n.s)(1),(0,Ss.c)(500),(0,In.p)(Ge=>!Ge)),N.select("currentCurrencyType").pipe((0,Vi.i)(1),(0,Ss.c)(200),(0,In.p)(()=>!_.get("isLogin")))).pipe((0,In.p)(()=>{const Ge=o.url.split("#/")[0];return[li.C.MAIN.link,li.C.MAIN_LANDING_PAGE.link,li.C.INDEX_CASINO.link,li.C.EX_SPORT.link].includes(Ge)}),(0,on.n)(()=>U.getMessageByTypes([zs.G.POP.unique])),(0,on.n)(Ge=>Ge?.length?Ge.filter(Xe=>{const sn=new Date,fn="NOTSHOWTODAY-"+Xe.id?.toString(),xt=we.transform(sn,Oa.$.DATE_PATTERN_FOR_CALENDAR3.format);return!(localStorage.getItem(fn)===xt)}).reduce((Xe,sn)=>Xe.pipe((0,on.n)(()=>ue.openDialog(Wa.D,{data:{id:sn.id,title:`${sn.title}`,content:`${sn.h5Content}`,banner:sn.imageH5SliderPath,contentType:sn.contentType,enableHideForToday:1===sn.extraData?.enableHideForToday}}))),(0,L.of)(void 0)):Vs.t),(0,R.W)(Ge=>(console.error(Ge),Vs.t))).subscribe()},deps:[en.Ix,e.Agw,gi.H,ti.p,wr.b,$r.o,u.vh],multi:!0}]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,to.m]})}return a})();var T=l(69506),re=l(51066),V=l(78922),ee=l(51210),He=l(81042),At=l(80888),ge=l(68576),E=l(70840),A=l(78382),S=l(21413),P=l(84412),z=l(41584),Z=l(56977),ce=l(71996);let Ue=(()=>{class a{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.authState=(0,e.WQX)(gi.H),this.authService=(0,e.WQX)(as.uR),this.userService=(0,e.WQX)(E.D),this.dialogService=(0,e.WQX)($r.o),this.eventQueueService=(0,e.WQX)(He.n),this.appStateService=(0,e.WQX)(ce.i),this.interval=1*A.yr.MINUTE,this.inited=!1,this.checking=!1,this.accountInfo=this.authState.select("accountInfo"),this.approved$=new S.B,this.payload$=new P.t(null),this.dialogComponent=null}listen(){return this.inited||this.init(),this.payload$.pipe((0,In.p)(n=>!!n&&this.authState.get("isLogin")))}init(){!this.isBrowser||this.inited||(this.authState.select("isLogin").pipe((0,In.p)(n=>n),(0,$n.s)(1),(0,ot.M)(()=>{this.subscribeDepositEvents()}),(0,on.n)(()=>this.accountInfo),(0,In.p)(n=>!0===n.approvedOrdersExist&&!0!==n.pendingOrdersExist),(0,on.n)(()=>this.getPlayerApprovedTxn())).subscribe(),this.inited=!0)}subscribeDepositEvents(){this.accountInfo.pipe((0,gi.L)(this.authState)).subscribe(n=>{!0===n.pendingOrdersExist&&this.checkDeposit()}),this.eventQueueService.on(ge.o3).pipe((0,gi.L)(this.authState)).subscribe(()=>{this.checkDeposit()})}checkDeposit(){this.checking||(this.checking=!0,this.approved$.next(!1),(0,z.O)(0,this.interval).pipe((0,Z.Q)(this.approved$),(0,gi.L)(this.authState),(0,on.n)(()=>this.getPlayerApprovedTxn())).subscribe())}getPlayerApprovedTxn(){return this.userService.getPlayerApprovedTxn().pipe((0,Z.Q)(this.approved$),(0,on.n)(n=>{if(n?.length){this.approved$.next(!0),this.checking=!1;const o=this.authState.get("accountInfo"),_=o.currencyTypeId,ue={userId:o.userId,currencyTypeId:_,currencyTypeName:re.U.getInstanceOf(_)?.name||"",firstDepositTimestamp:o.firstDepositTimestamp,detailList:n.map(we=>({...we,isFirst:we.firstDeposit?1:0}))};this.payload$.next(ue),n.forEach(we=>{const Ge={userId:o.userId,amount:we.amount.toString(),currency:o.currencyTypeId,bonusId:we.bonusId};this.eventQueueService.dispatch(we.firstDeposit?new ge.e7(Ge):new ge.IK(Ge))}),setTimeout(()=>{this.authService.checkLogin({skipHttpErrorHandle:!0}).pipe((0,$n.s)(1)).subscribe()},this.interval)}return(0,L.of)(n)}),(0,R.W)(n=>(console.error("deposit-complet-checker :",n),this.approved$.next(!0),this.checking=!1,(0,L.of)(void 0))))}handleDialog(n,o){o&&(this.dialogComponent=o),this.appStateService.get("isIframeGameOpened")?this.pendingDialog(n):this.openDialog(n)}pendingDialog(n){this.appStateService.on("isIframeGameOpened").pipe((0,In.p)(o=>!o),(0,ot.M)(o=>{o||this.openDialog(n)}),(0,$n.s)(1)).subscribe()}openDialog(n){n.reverse().forEach(o=>{this.dialogComponent&&this.dialogService.openDialog(this.dialogComponent,{data:o}).subscribe()})}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Ne=l(38804);let Se=(()=>{class a{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(He.n),this.depositCompleteCheckerService=(0,e.WQX)(Ue),this.appStateService=(0,e.WQX)(ce.i)}get api(){return window.androidJs}init(){this.isBrowser?(localStorage.getItem("debugAppFlyer")&&(window.androidJs={appsFlyerEvent(n,o){console.warn("androidJs.appsFlyerEvent()",n,o)},adjustEvent(n,o){console.warn("androidJs.adjustEvent()",n,o)},postMessage(n,o){console.warn("androidJs.postMessage()",n,o)}}),this.api?(this.appStateService.set("isInAndroidPackage",!0),console.log("AppFlyerService: Find androidJs."),this.observeRegisterSuccess().subscribe(),this.observeDeposit().subscribe(),this.observeEvents()):console.warn("AppFlyerService: No androidJs.")):console.warn("AppFlyerService: Is not browser.")}observeRegisterSuccess(){return this.eventQueueService.on(At.Vw).pipe((0,ot.M)(n=>{console.log("AppFlyerService: registerSuccess()"),this.api.appsFlyerEvent&&this.api.appsFlyerEvent("af_registration")}))}observeDeposit(n){return this.eventQueueService.on(ge.Rd).pipe((0,ot.M)(o=>{o?.payload&&!o.payload.firstDepositTime&&(console.log("AppFlyerService: deposit()"),this.api.adjustEvent&&this.api.adjustEvent("af_purchase1",+(n?.amount||"")))}))}observeEvents(){(0,wi.h)(this.eventQueueService.on(Ne.f).pipe((0,hn.T)(()=>["login"])),this.eventQueueService.on(Ne._).pipe((0,hn.T)(()=>["logout"])),this.eventQueueService.on(At.UZ).pipe((0,hn.T)(()=>["registerClick"])),this.eventQueueService.on(At.Vw).pipe((0,hn.T)(()=>["register"])),this.eventQueueService.on(ge.Rd).pipe((0,hn.T)(()=>["rechargeClick"])),this.eventQueueService.on(ge.Gp).pipe((0,hn.T)(()=>["rechargeClick"])),this.depositCompleteCheckerService.listen().pipe((0,on.n)(n=>(0,L.of)(...n.detailList.map(o=>[o.isFirst?"firstrecharge":"recharge",{isFirst:o.isFirst,amount:o.amount,currency:n.currencyTypeName}]))))).pipe((0,ot.M)(([n,o])=>this.api?.postMessage?.(n,this.convertPayloadToString(o))),(0,R.W)(n=>(console.error(n),(0,L.of)(!0)))).subscribe()}convertPayloadToString(n){if(!n)return n;let o=n;if("object"==typeof n)try{o=JSON.stringify(n)}catch(d){console.error(d)}return o}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),lt=(()=>{class a{static forRoot(n){return{ngModule:a,providers:[Se,{provide:e.iLQ,useFactory:(o,d)=>()=>{(0,u.UE)(o)&&setTimeout(()=>{d.init()},n?.delay||0)},deps:[e.Agw,Se],multi:!0}]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})();var Ct=l(48125),It=l(20001);let Ft=(()=>{class a{static forRoot(n,o){const d=[{provide:e.iLQ,multi:!0,useFactory:(_=(0,u.UE)((0,e.WQX)(e.Agw)),N=(0,e.WQX)(Ct.v))=>()=>{_&&(o?setTimeout(()=>{console.log("chatController delay:",o),N.init()},o):N.init())}}];return n&&d.push({provide:m.a7,useClass:It.R,multi:!0}),{ngModule:a,providers:d}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({})}return a})(),_t=(()=>{class a{constructor(){this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.BATCH_SIZE=10,this.BATCH_INTERVAL=3e5,this.STORAGE_KEY="tracking_events_session",this.DEBOUNCE_DELAY=500,this.lastUploadTime=Date.now(),this.pendingEvents=new Map,this.siteSetting=(0,e.WQX)(ti.p),this.authState=(0,e.WQX)(gi.H)}init(){this.isPlatformBrowser&&(this.setupBeforeUnloadHandler(),this.startBatchTimer())}logEvent(n,o,d){if(!this.isPlatformBrowser)return;const _=this.createEvent(n,o,d),N=this.generateEventKey(_);this.pendingEvents.set(N,_),this.resetDebounceTimer()}createEvent(n,o,d){const _=this.authState.get("accountInfo");return{EVENT_TYPE_ID:n.unique,CURRENCY:this.siteSetting.get("currentCurrencyType").unique,USER_ID:_?.userId||o?.userId||"",AFFILIATE:_?.affiliateCode||o?.affiliateCode||sessionStorage.getItem("affiliateCode")||"",DOMAIN:window.location.origin,VENDOR:o?.game_vendor||"",GAME:o?.game_code||"",LANGUAGE:this.siteSetting.get("currentLanguageType").unique,AMOUNT:o?.amount||"",BONUS_ID:o?.bonusId||0,PAYMENT_METHOD:void 0===o?.paymentMethod?"":o.paymentMethod,TIMESTAMP:Date.now(),EVENT_UUID:d,FBP:o?.fbp||this.getCookie("_fbp")||"",FBC:o?.fbc||this.getCookie("_fbc")||"",TTP:o?.ttp||this.getCookie("_ttp")||"",TTC:o?.ttc||this.getCookie("_ttc")||"",TTCLID:o?.ttclid||this.getCookie("ttclid")||""}}generateEventKey(n){const o=Math.floor(n.TIMESTAMP/this.DEBOUNCE_DELAY)*this.DEBOUNCE_DELAY;return`${n.EVENT_TYPE_ID}_${o}`}resetDebounceTimer(){this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=window.setTimeout(()=>{this.handlePendingEvents()},this.DEBOUNCE_DELAY)}handlePendingEvents(){if(0===this.pendingEvents.size)return;const n=this.loadFromSessionStorage(),o=Array.from(this.pendingEvents.values());this.pendingEvents.clear(),n.push(...o);try{this.saveToSessionStorage(n),console.warn("Added events to storage")}catch{console.warn("Storaging failed, sending existing data and retrying"),this.sendAndClearAll();try{this.saveToSessionStorage(o)}catch{return console.warn("Storage still failed, sending immediately"),void o.forEach(N=>this.sendToBackend([N]))}}this.checkBatchConditions()}loadFromSessionStorage(){try{const n=sessionStorage.getItem(this.STORAGE_KEY);return n?JSON.parse(n):[]}catch(n){return console.warn("Failed to load from sessionStorage:",n),[]}}saveToSessionStorage(n){sessionStorage.setItem(this.STORAGE_KEY,JSON.stringify(n))}clearSessionStorage(){try{sessionStorage.removeItem(this.STORAGE_KEY)}catch(n){console.error("Failed to clear storage:",n)}}checkBatchConditions(){(this.loadFromSessionStorage().length>=this.BATCH_SIZE||Date.now()-this.lastUploadTime>=this.BATCH_INTERVAL)&&this.sendAndClearAll()}sendAndClearAll(){const n=this.loadFromSessionStorage();0!==n.length&&(this.sendToBackend(n)?(this.clearSessionStorage(),this.lastUploadTime=Date.now(),console.warn("Sent and cleared all events")):(console.error("Failed to send events"),this.clearSessionStorage(),this.lastUploadTime=Date.now()))}sendToBackend(n){const d=JSON.stringify({events:n});if(navigator.sendBeacon){const _=new Blob([d],{type:"application/json"});return navigator.sendBeacon("/api/bt/v1/marketing/feTrackingEventLog",_)}return!1}startBatchTimer(){this.batchTimer=window.setInterval(()=>{this.pendingEvents.size>10&&this.handlePendingEvents(),this.checkBatchConditions()},6e4)}setupBeforeUnloadHandler(){const n=()=>{this.handlePendingEvents()};window.addEventListener("beforeunload",n),window.addEventListener("unload",n),window.addEventListener("pagehide",n),document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&n()})}destroy(){this.debounceTimer&&clearTimeout(this.debounceTimer),this.batchTimer&&clearInterval(this.batchTimer),this.handlePendingEvents()}getCookie(n){const d=("; "+document.cookie).split("; "+n+"=");if(d.length>1)return d.pop()?.split(";").shift()}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var jt=l(31635);const nn=new e.nKC("hj-window",{factory:()=>function Bt(a){return(0,u.UE)(a)?window:null}((0,e.WQX)(e.Agw))}),Ht=new e.nKC("ngx-hj-fn",{providedIn:"root",factory:()=>function _n(a){return a?a.hj:null}((0,e.WQX)(nn))}),qt=new e.nKC("ngx-hotjar-settings",{factory:()=>({trackingCode:"",version:6,ennableTracing:!1})});let Cn=(()=>{class a{constructor(n,o){this._hj=n,this.settings=o}get lib(){return this._hj}hj(...n){try{this._hj(...n)}catch(o){((0,e.naY)()||this.settings.ennableTracing)&&console.error(o.message)}}virtualPageView(n){this.hj("vpv",n)}trigger(n){this.hj("trigger",n)}tagRecording(n,...o){Array.isArray(n)||(n=[n]),this.hj("tagRecording",n.concat(...o))}stateChange(n){this.hj("stateChange",n)}formSubmitSuccessful(){this.hj("formSubmitSuccessful")}formSubmitFailed(){this.hj("formSubmitFailed")}}return a.\u0275prov=(0,e.jDH)({factory:function(){return new a((0,e.KVO)(Ht),(0,e.KVO)(qt))},token:a,providedIn:"root"}),a})();const wn={provide:e.iLQ,multi:!0,useFactory:function mn(a){return p=>(0,jt.sH)(this,void 0,void 0,function*(){const o=p.injector.get(en.Ix).events.subscribe(d=>{d instanceof en.wF&&a.stateChange(d.urlAfterRedirects)});p.onDestroy(()=>o.unsubscribe())})},deps:[Cn]},Sn={provide:e.hnV,multi:!0,useFactory:function Ri(a,p,n){return()=>(0,jt.sH)(this,void 0,void 0,function*(){if(!a.trackingCode)return void((0,e.naY)()&&console.error("Empty tracking code for Hotjar. Make sure to provide one when initializing NgxHotjarModule."));if(!p)return void((0,e.naY)()&&console.error("Was not possible to access `document` instance. Make shure this environment works on a Broser like API"));if(!n)return void((0,e.naY)()&&console.error("Was not possible to access `window` api. Make sure this environment works like a browser."));Object.defineProperty(n,"hj",{value:n.hj||function(){(n.hj.q=n.hj.q||[]).push(arguments)},configurable:!0,writable:!0}),Object.defineProperty(n,"_hjSettings",{value:{hjid:a.trackingCode,hjsv:a.version||6},configurable:!0,writable:!0});const o=p.querySelector("head"),d=p.createElement("script"),_=`https://static.hotjar.com/c/hotjar-${n._hjSettings.hjid}.js?sv=${n._hjSettings.hjsv}`;d.async=!0,d.src=a.uri||_,o.appendChild(d)})},deps:[qt,u.qQ,nn]};class ki{static forRoot(p,n=6,o){return{ngModule:ki,providers:[{provide:qt,useValue:{trackingCode:p,version:n,uri:o}},Sn]}}}const Cs=new e.nKC("MS_CLARITY_CONFIG");let $i=(()=>{class a{constructor(){this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.config=(0,e.WQX)(Cs),this.inited=!1}get browserGlobals(){return{windowRef:()=>window,documentRef:()=>document}}addClarityToDom(){return this.isPlatformBrowser?new Promise((n,o)=>{if(this.inited)return n(this.inited);const d=this.browserGlobals.windowRef(),_="clarity";d[_]=d[_]||function(...ue){(d[_].q=d[_].q||[]).push(ue)};const N=this.browserGlobals.documentRef(),U=N.createElement("script");U.id="MicrosoftClarityScript",U.async=!0,U.src=`https://www.clarity.ms/tag/${this.config?.projectId}`,U.addEventListener("load",()=>n(this.inited=!0)),U.addEventListener("error",()=>o(!1)),N.head.insertBefore(U,N.head.firstChild)}):Promise.reject("MicrosoftClarityService.addClarityToDom(), is not platform browser")}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const gs=new e.nKC("APPIER_CONFIG");let Qi=(()=>{class a{constructor(){this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.config=(0,e.WQX)(gs),this.inited=!1,this.tempEventQueue=[]}push(n){if(!this.isPlatformBrowser)return;const o=window;this.inited?!this.inited||o.appier_q?(console.log("Appier send",n),o.appier_q.push(n)):console.warn("AppierService.push(), no dataLayer"):this.tempEventQueue.push(n)}addAppierToDom(n){return this.isPlatformBrowser?new Promise((o,d)=>{if(this.inited)return o(this.inited);const _=window;if(_.location.host!==this.config.site)return d("AppierService.addClarityToDom(), site is not match location.host");_.appier_q=_.appier_q||[];const N=document,U=N.createElement("script");U.id="AppierScript",U.async=!0,U.src=`//jscdn.appier.net/aa.js?id=${this.config.projectId}`,U.addEventListener("load",()=>o(this.inited=!0)),U.addEventListener("error",()=>d(!1)),N.head.insertBefore(U,N.head.firstChild)}).then(()=>{this.push({t:"register",content:{id:this.config.id,site:this.config.site}}),this.tempEventQueue.forEach(o=>{this.push(o)}),this.tempEventQueue.length=0}):Promise.reject("AppierService.addClarityToDom(), is not platform browser")}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();new e.nKC("ngx-google-analytics-settings",{factory:()=>({trackingCode:"",enableTracing:!1})});const Wr=new e.nKC("ngx-window",{providedIn:"root",factory:()=>{const{defaultView:a}=(0,e.WQX)(u.qQ);if(!a)throw new Error("Window is not available");return a}}),no=new e.nKC("ngx-data-layer",{providedIn:"root",factory:()=>function vr(a){return a?a.dataLayer=a.dataLayer||[]:null}((0,e.WQX)(Wr))});function Do(a,p){return a?a.gtag=a.gtag||function(){p.push(arguments)}:null}new e.nKC("ngx-gtag-fn",{providedIn:"root",factory:()=>Do((0,e.WQX)(Wr),(0,e.WQX)(no))}),new e.nKC("ngx-google-analytics-routing-settings",{factory:()=>({})});const Ll=function(a,p){try{window[`ga-disable-${a}`]=!p}catch(n){console.error(n)}};var fc=l(3712),xl=l(8284),Nu=l(35436),O=l(65788),F=function(a){return a[a.LOGIN=1]="LOGIN",a[a.LOGOUT=2]="LOGOUT",a[a.CLICK_REGISTER=4]="CLICK_REGISTER",a[a.REGISTER_SUCCESS=8]="REGISTER_SUCCESS",a[a.CLICK_DEPOSIT=16]="CLICK_DEPOSIT",a[a.CLICK_WITHDRAWAL=32]="CLICK_WITHDRAWAL",a[a.CLICK_GAME=64]="CLICK_GAME",a[a.SWITCH_LANGUAGE=128]="SWITCH_LANGUAGE",a[a.DEPOSIT_SUCCESS=256]="DEPOSIT_SUCCESS",a[a.FIRST_DEPOSIT_SUCCESS=512]="FIRST_DEPOSIT_SUCCESS",a[a.WITHDRAWAL_SUCCESS=1024]="WITHDRAWAL_SUCCESS",a}(F||{});class I extends O.N{static#e=this._values=new Array;static#t=this.LOGIN=new I(F.LOGIN,"Login",void 0,!0);static#n=this.LOGOUT=new I(F.LOGOUT,"Logout");static#s=this.CLICK_REGISTER=new I(F.CLICK_REGISTER,"ClickRegister");static#i=this.REGISTER_SUCCESS=new I(F.REGISTER_SUCCESS,"RegisterSuccess","CompleteRegistration",!0);static#o=this.CLICK_DEPOSIT=new I(F.CLICK_DEPOSIT,"ClickDeposit","InitiateCheckout");static#r=this.CLICK_WITHDRAWAL=new I(F.CLICK_WITHDRAWAL,"ClickWithdrawal");static#a=this.CLICK_GAME=new I(F.CLICK_GAME,"ClickGames");static#c=this.SWITCH_LANGUAGE=new I(F.SWITCH_LANGUAGE,"SwitchLanguage");static#l=this.DEPOSIT_SUCCESS=new I(F.DEPOSIT_SUCCESS,"DepositSuccess","Purchase");static#u=this.FIRST_DEPOSIT_SUCCESS=new I(F.FIRST_DEPOSIT_SUCCESS,"FirstDepositSuccess","Purchase");static#d=this.WITHDRAWAL_SUCCESS=new I(F.WITHDRAWAL_SUCCESS,"WithdrawalSuccess");constructor(p,n,o,d=!1){super(p),this._value=p,this._eventName=n,this._tiktokSecEventName=o,this._needUpdateUserData=d,I.values.push(this)}static get values(){return this._values}static getInstanceOf(p){return this._values.find(n=>n._value===p)}static getInstanceOfByEventName(p){return this._values.find(n=>n._eventName===p)}get eventName(){return this._eventName}get tiktokSecEventName(){return this._tiktokSecEventName}get needUpdateUserData(){return this._needUpdateUserData}static mapEventIdsToNames(p){return p.map(n=>this.getInstanceOf(n)?.eventName).filter(Boolean)}static isValidEventId(p){return void 0!==this.getInstanceOf(p)}static getAllEventNames(){return this.values.map(p=>p.eventName)}}let k=(()=>{class a{constructor(){this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.router=(0,e.WQX)(en.Ix),this.trackingEventLogger=(0,e.WQX)(_t),this.config={trackingCodes:[]},this.defaultDataLayer="dataLayer",this.gaScriptUrl="https://www.googletagmanager.com/gtag/js?id=",this.gaScriptIdPrefix="GAscript-",this.eventQueueService=(0,e.WQX)(He.n),this.authState=(0,e.WQX)(gi.H),this.inited=!1,this.trackingCodes=[],this.eventFilters=new Map,this.#e=new Set}#e;setTrackingConfig(n){const o=n.trackingCodes.filter(d=>!this.#e.has(d));this.trackingCodes=n.trackingCodes,this.eventFilters=n.eventFilters||new Map,this.config.trackingCodes=n.trackingCodes,this.isPlatformBrowser&&o.length>0&&o.forEach(d=>this.addGaToDom(d).catch(_=>console.warn(_)))}sendFilteredEvent(n,o,d){const _=n.eventName,N=this.trackingCodes.filter(U=>this.canSendEvent(U,_));0!==N.length?(N.forEach(U=>{Do(window,this.getDataLayer())("event",_,{...o,send_to:U,event_uuid:d})}),N.length>0&&(console.warn("log Event: >>>",n),this.trackingEventLogger.logEvent(n,o,d))):console.log(`GA event filtered: ${_} - no accounts allow this event`)}gtag(n,o,d,..._){this.isPlatformBrowser&&Do(window,this.getDataLayer())(n,o,d,..._)}canSendEvent(n,o){const d=this.eventFilters.get(n);return!!d&&d.has(o)}getDataLayer(){const n=this.defaultDataLayer;return window[n]=window[n]||[],window[n]}pushDataLayer(n){console.log("GTM push datalayer >>>>>>>",n),this.getDataLayer().push(n)}pageView(n,o){n&&this.gtag("config",n,{page_path:o})}addGaToDom(n){return this.isPlatformBrowser?n?(Ll(n,!0),new Promise((o,d)=>{const _=this.gaScriptIdPrefix+n;if(document.getElementById(_))return this.#e.add(n),o(!0);this.gtag("js",(new Date).toLocaleString()),this.gtag("config",n);const U=`${this.gaScriptUrl}${n}&l=${this.defaultDataLayer}`,ue=document.createElement("script");ue.id=_,ue.async=!0,ue.src=U,ue.addEventListener("load",()=>(this.#e.add(n),o(this.inited=!0))),ue.addEventListener("error",()=>d(!1)),document.head.insertBefore(ue,document.head.firstChild)})):Promise.reject("GaService.addGaToDom(), Empty tracking code for Google Analytics."):Promise.reject("GaService.addGaToDom(), is not platform browser")}addAllTrackingCodesToDom(){return Promise.all(this.config.trackingCodes.map(n=>this.addGaToDom(n).catch(o=>console.warn(o)))).then(()=>!0)}disableTrackingCodes(){return this.isPlatformBrowser?new Promise((n,o)=>{this.config.trackingCodes.forEach(d=>Ll(d,!1)),setTimeout(()=>n(!0),100)}):Promise.reject("GaService.removeAllTrackingCodeScriptsFromDom(), is not platform browser")}init(n){return this.isPlatformBrowser?this.inited?Promise.resolve(this.inited):(this.observeEvents(),this.addAllTrackingCodesToDom().then(()=>{const o=this.router.events.pipe((0,In.p)(d=>d instanceof en.wF),(0,ot.M)(d=>{this.config.trackingCodes.forEach(_=>this.pageView(_,d.url))})).subscribe();return n.onDestroy(()=>{try{o?.unsubscribe()}catch(d){console.error(d)}}),this.inited=!0})):Promise.reject("GaService.init(), is not platform browser")}changeGaTracking(n){return this.isPlatformBrowser?this.disableTrackingCodes().then(()=>this.setTrackingIds(n)).then(()=>this.addAllTrackingCodesToDom()):Promise.reject("GaService.changeTrackingIds(), is not platform browser")}setTrackingIds(n){this.config.trackingCodes=[...n||[]]}observeEvents(){this.eventQueueService.on(Ne.f).pipe((0,ot.M)(n=>{this.sendFilteredEvent(I.LOGIN,n.payload,n.eventUUId),console.log("Ga sent :>>>>> ","event",I.LOGIN.eventName,n.payload)})).subscribe(),this.eventQueueService.on(Ne._).pipe((0,ot.M)(n=>{this.sendFilteredEvent(I.LOGOUT,{},n.eventUUId),console.log("Ga sent :>>>>> ","event",I.LOGOUT.eventName)})).subscribe(),this.eventQueueService.on(At.UZ).pipe((0,ot.M)(n=>{this.sendFilteredEvent(I.CLICK_REGISTER,{},n.eventUUId)})).subscribe(),this.eventQueueService.on(At.Vw).pipe((0,ot.M)(n=>{this.sendFilteredEvent(I.REGISTER_SUCCESS,n.payload,n.eventUUId),console.log("Ga sent :>>>>> ","event",I.REGISTER_SUCCESS.eventName,n.payload)})).subscribe(),this.eventQueueService.on(ge.Rd).pipe((0,ot.M)(n=>{this.sendFilteredEvent(I.CLICK_DEPOSIT,n.payload,n.eventUUId),console.log("Ga sent :>>>>> ","event",I.CLICK_DEPOSIT.eventName,n.payload)})).subscribe(),this.eventQueueService.on(ge.Gp).pipe((0,ot.M)(n=>{this.sendFilteredEvent(I.CLICK_DEPOSIT,n.payload,n.eventUUId),console.log("Ga sent :>>>>> ","event",I.CLICK_DEPOSIT.eventName,n.payload)})).subscribe(),this.eventQueueService.on(fc.c).pipe((0,ot.M)(n=>{this.sendFilteredEvent(I.CLICK_WITHDRAWAL,n.payload,n.eventUUId),console.log("Ga sent :>>>>> ","event",I.CLICK_WITHDRAWAL.eventName,n.payload)})).subscribe(),this.eventQueueService.on(xl.j).pipe((0,ot.M)(n=>{this.sendFilteredEvent(I.CLICK_GAME,n.payload,n.eventUUId),console.log("Ga sent :>>>>> ","event",I.CLICK_GAME.eventName,n.payload)})).subscribe(),this.eventQueueService.on(Nu.V).pipe((0,ot.M)(n=>{this.sendFilteredEvent(I.SWITCH_LANGUAGE,n.payload,n.eventUUId),console.log("Ga sent :>>>>> ","event",I.SWITCH_LANGUAGE.eventName,n.payload)})).subscribe()}static#t=this.\u0275fac=function(o){return new(o||a)};static#n=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const ne=new e.nKC("google-tag-manager-config");let De=(()=>{class a{constructor(n){this._googleTagManagerConfig={id:null,gtm_auth:"",gtm_preview:""},n&&this.set(n)}set(n){this._googleTagManagerConfig=n}get(){return this._googleTagManagerConfig}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(ne,8))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),ze=(()=>{class a{constructor(n,o,d="noisy",_,N,U,ue){this.googleTagManagerConfiguration=n,this.googleTagManagerId=o,this.googleTagManagerMode=d,this.googleTagManagerAuth=_,this.googleTagManagerPreview=N,this.googleTagManagerResourcePath=U,this.googleTagManagerCSPNonce=ue,this.isLoaded=!1,this.browserGlobals={windowRef:()=>window,documentRef:()=>document},this.config=this.googleTagManagerConfiguration?.get(),null==this.config&&(this.config={id:null}),this.config={...this.config,id:o||this.config.id,gtm_auth:_||this.config.gtm_auth,gtm_preview:N||this.config.gtm_preview,gtm_resource_path:U||this.config.gtm_resource_path}}checkForId(){if("silent"!==this.googleTagManagerMode&&!this.config.id)throw new Error("Google tag manager ID not provided.");return!!this.config.id}getDataLayer(){this.checkForId();const n=this.browserGlobals.windowRef();return n.dataLayer=n.dataLayer||[],n.dataLayer}pushOnDataLayer(n){this.checkForId(),this.getDataLayer().push(n)}addGtmToDom(){return new Promise((n,o)=>{if(this.isLoaded)return n(this.isLoaded);if(!this.checkForId())return n(!1);const d=this.browserGlobals.documentRef();this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"});const _=d.createElement("script");_.id="GTMscript",_.async=!0,_.src=this.applyGtmQueryParams(this.config.gtm_resource_path?this.config.gtm_resource_path:"https://www.googletagmanager.com/gtm.js"),_.addEventListener("load",()=>n(this.isLoaded=!0)),_.addEventListener("error",()=>o(!1)),this.googleTagManagerCSPNonce&&_.setAttribute("nonce",this.googleTagManagerCSPNonce),d.head.insertBefore(_,d.head.firstChild)})}pushTag(n){return new Promise((o,d)=>this.checkForId()?this.isLoaded?(this.pushOnDataLayer(n),o()):void this.addGtmToDom().then(()=>(this.pushOnDataLayer(n),o())).catch(()=>d()):o())}applyGtmQueryParams(n){return-1===n.indexOf("?")&&(n+="?"),n+Object.keys(this.config).filter(o=>this.config[o]).map(o=>`${o}=${this.config[o]}`).join("&")}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(De,8),e.KVO("googleTagManagerId",8),e.KVO("googleTagManagerMode",8),e.KVO("googleTagManagerAuth",8),e.KVO("googleTagManagerPreview",8),e.KVO("googleTagManagerResourcePath",8),e.KVO("googleTagManagerCSPNonce",8))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Tt=(()=>{class a extends ze{constructor(){super(...arguments),this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.trackingEventLogger=(0,e.WQX)(_t),this.gtmConfig={ids:[]},this.defaultDataLayer="dataLayer",this.gtmScriptIdPrefix="GTMscript-",this.patternOfGtmScriptVtpMeasurementId='"vtp_measurementId":"(.*?)"',this.eventQueueService=(0,e.WQX)(He.n),this.datePipe=(0,e.WQX)(u.vh),this.authState=(0,e.WQX)(gi.H),this.inited=!1,this.affiliateCode="",this.trackingCodes=[],this.eventFilters=new Map,this.#e=new Set,this.mapOfTrackingIdAndVtpMeasurementIdSet=new Map}#e;getCurrentIds(){return this.gtmConfig.currentIds||[]}setTrackingConfig(n){const o=n.trackingCodes.filter(_=>!this.#e.has(_));this.trackingCodes=n.trackingCodes,this.eventFilters=n.eventFilters||new Map,this.gtmConfig.currentIds=n.trackingCodes,(this.isLoaded??this.inited)&&o.length>0&&o.forEach(_=>this.addGtmToDomById(_))}canSendEvent(n,o){const d=this.eventFilters.get(n);return!!d&&d.has(o)}sendFilteredEvent(n,o,d){const _=n.eventName,N=this.trackingCodes.filter(U=>this.canSendEvent(U,_));0!==N.length?(console.log("GTM push datalayer >>>>>>>",o),d&&(o.eventUUId=d),o.send_to=[...N],this.getDataLayer().push(o),N.length>0&&this.trackingEventLogger.logEvent(n,o,d)):console.log(`GTM event filtered: ${_} - no accounts allow this event`)}getDataLayer(){const n=this.defaultDataLayer;return window[n]=window[n]||[],window[n]}pushDataLayer(n){this.getDataLayer().push(n)}sendRegisterSuccess(n,o){const d={event:"registrationCompleted",eventCategory:"Registration",eventAction:"Submit",eventLabel:"Registration Form Submit",pageUrl:window.location.href.split("?")[0],currency:re.U.getInstanceOf(n.currencyTypeId)?.name||"",registerDate:this.datePipe.transform(n.signUpTimestamp,Oa.$.DATE_PATTERN_FOR_CALENDAR15.format),registerStatus:"success",affiliateCode:this.affiliateCode,...n};this.sendFilteredEvent(I.REGISTER_SUCCESS,d,o)}sendLanguageChanged(n,o){const d={currency:re.U.getInstanceOf(n.currencyTypeId)?.name||"",event:"languageChangedCompleted",eventCategory:"LanguageChanged",eventAction:"Submit",eventLabel:"LanguageChanged",pageUrl:window.location.href.split("?")[0],languageChangedStatus:"success",...n};this.sendFilteredEvent(I.SWITCH_LANGUAGE,d,o)}sendLoginSuccess(n,o){const d={event:"login",eventCategory:"Login",eventAction:"Submit",eventLabel:"Login Success",pageUrl:window.location.href.split("?")[0],...n};this.sendFilteredEvent(I.LOGIN,d,o)}sendLogoutSuccess(n,o){const d={event:"logout",eventCategory:"Logout",eventAction:"Submit",eventLabel:"Logout Success",pageUrl:window.location.href.split("?")[0]};this.sendFilteredEvent(I.LOGOUT,d,o)}sendRegisterClick(n,o){const d={event:"registerClick",eventCategory:"Registration",eventAction:"Submit",eventLabel:"Register Click",pageUrl:window.location.href.split("?")[0]};this.sendFilteredEvent(I.CLICK_REGISTER,d,o)}sendRechargeClick(n,o){const d={event:"rechargeClick",eventCategory:"Deposit",eventAction:"Submit",eventLabel:"Recharge Click",pageUrl:window.location.href.split("?")[0],...n};this.sendFilteredEvent(I.CLICK_DEPOSIT,d,o)}sendWithdrawalClick(n,o){const d={event:"withdrawalClick",eventCategory:"Withdrawal",eventAction:"Submit",eventLabel:"Withdrawal Click",pageUrl:window.location.href.split("?")[0],...n};this.sendFilteredEvent(I.CLICK_WITHDRAWAL,d,o)}sendWithdrawalSuccess(n,o){const d={event:"withdrawal",eventCategory:"Withdrawal",eventAction:"Submit",eventLabel:"Withdrawal Success",pageUrl:window.location.href.split("?")[0],...n};this.sendFilteredEvent(I.WITHDRAWAL_SUCCESS,d,o)}sendGameClick(n,o){const d={event:"gameClick",eventCategory:"Game",eventAction:"Submit",eventLabel:"Game Click",pageUrl:window.location.href.split("?")[0],...n};this.sendFilteredEvent(I.CLICK_GAME,d,o)}sendFirstDepositSuccess(n,o){const d={event:"firstDepositCompleted",eventCategory:"Deposit",eventAction:"Submit",eventLabel:"First Deposit Submit",pageUrl:window.location.href.split("?")[0],currency:re.U.getInstanceOf(n.currencyTypeId)?.name||"",depositStatus:"success",affiliateCode:this.affiliateCode,...n};this.sendFilteredEvent(I.FIRST_DEPOSIT_SUCCESS,d,o)}sendDepositSuccess(n,o){const d={event:"depositCompleted",eventCategory:"Deposit",eventAction:"Submit",eventLabel:"Deposit Submit",pageUrl:window.location.href.split("?")[0],currency:re.U.getInstanceOf(n.currencyTypeId)?.name||"",depositStatus:"success",affiliateCode:this.affiliateCode,...n};this.sendFilteredEvent(I.DEPOSIT_SUCCESS,d,o)}applyGtmQueryParamsCustom(n,o){return-1===n.indexOf("?")&&(n+="?"),n+Object.keys(this.config).filter(d=>this.config[d]||"id"===d).map(d=>`${d}=${"id"===d?o:this.config[d]}`).join("&")}addGtmToDomById(n){const o=this.applyGtmQueryParamsCustom(this.config.gtm_resource_path?this.config.gtm_resource_path:"https://www.googletagmanager.com/gtm.js",n);return fetch(o).then(d=>d.text()).then(d=>{const _=d.match(new RegExp(this.patternOfGtmScriptVtpMeasurementId,"g"))?.map(U=>U.replace('"vtp_measurementId":"',"").replace('"',""))||[],N=this.mapOfTrackingIdAndVtpMeasurementIdSet.get(n)||new Set;_?.forEach(U=>N.add(U)),this.mapOfTrackingIdAndVtpMeasurementIdSet.set(n,N),N.forEach(U=>Ll(U,!0))}).then(()=>new Promise((d,_)=>{const N=this.browserGlobals.documentRef(),U=this.gtmScriptIdPrefix+n;if(N.getElementById(U))return this.#e.add(n),d(!0);this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"});const we=N.createElement("script");we.id=U,we.async=!0,we.src=o,we.addEventListener("load",()=>(this.#e.add(n),d(!0))),we.addEventListener("error",()=>_(!1)),this.googleTagManagerCSPNonce&&we.setAttribute("nonce",this.googleTagManagerCSPNonce),N.head.insertBefore(we,N.head.firstChild)}))}addGtmToDom(){if(!this.isPlatformBrowser)return Promise.reject("GtmService.addGtmToDom(), is not platform browser");if(this.isLoaded)return Promise.resolve(this.isLoaded);this.config.l=this.config.l||this.defaultDataLayer;const n=this.getCurrentIds();return Promise.all(n.map(o=>this.addGtmToDomById(o))).then(()=>!0)}disableMeasurement(){return this.isPlatformBrowser?new Promise((n,o)=>{this.getCurrentIds().forEach(_=>{this.mapOfTrackingIdAndVtpMeasurementIdSet.get(_)?.forEach(U=>Ll(U,!1))}),setTimeout(()=>n(!0),100)}):Promise.reject("GtmService.removeGtmFromDom(), is not platform browser")}init(n){return this.isPlatformBrowser?this.inited?Promise.resolve(this.inited):(this.authState.select("accountInfo").subscribe(o=>{this.affiliateCode=o.affiliateCode||""}),this.observeEvents(),this.addGtmToDom().then(()=>this.inited=!0)):Promise.reject("GtmService.init(), is not platform browser")}setIds(n){this.gtmConfig.currentIds=n}changeGtmIds(n){return this.isPlatformBrowser?this.disableMeasurement().then(()=>{this.setIds(n),this.isLoaded=!1}).then(()=>this.addGtmToDom()):Promise.reject("GtmService.changeTrackingId(), is not platform browser")}observeEvents(){this.eventQueueService.on(Ne.f).pipe((0,ot.M)(n=>this.sendLoginSuccess(n.payload,n.eventUUId))).subscribe(),this.eventQueueService.on(Ne._).pipe((0,ot.M)(n=>this.sendLogoutSuccess({},n.eventUUId))).subscribe(),this.eventQueueService.on(At.UZ).pipe((0,ot.M)(n=>this.sendRegisterClick({},n.eventUUId))).subscribe(),this.eventQueueService.on(At.Vw).pipe((0,ot.M)(n=>{this.sendRegisterSuccess(n.payload,n.eventUUId)})).subscribe(),this.eventQueueService.on(ge.Rd).pipe((0,ot.M)(n=>this.sendRechargeClick(n.payload,n.eventUUId))).subscribe(),this.eventQueueService.on(ge.Gp).pipe((0,ot.M)(n=>this.sendRechargeClick(n.payload,n.eventUUId))).subscribe(),this.eventQueueService.on(fc.c).pipe((0,ot.M)(n=>this.sendWithdrawalClick(n.payload,n.eventUUId))).subscribe(),this.eventQueueService.on(xl.j).pipe((0,ot.M)(n=>this.sendGameClick(n.payload,n.eventUUId))).subscribe(),this.eventQueueService.on(Nu.V).pipe((0,ot.M)(n=>{this.sendLanguageChanged(n.payload,n.eventUUId)})).subscribe()}static#t=this.\u0275fac=(()=>{let n;return function(d){return(n||(n=e.xGo(a)))(d||a)}})();static#n=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var Pn=l(68300);class Ti extends Pn.w{constructor(p){super("AFTER_I18N_ROUTE_CURRENCY_CHANGE",p)}}const ks=new e.nKC("SPORTRADAR_CONFIG");let pc=(()=>{class a{constructor(){this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(He.n),this.config=(0,e.WQX)(ks),this.destroy$=new S.B,this.inited=!1,this.tempEventQueue=[],this.isMultiCurrencyEnable=!1}push(n){if(!this.isPlatformBrowser)return;const o=window;this.inited?!this.inited||o.srtmCommands?(console.log("Sportradar send",n),o.srtmCommands.push(n)):console.warn("SportradarService.push(), no dataLayer"):this.tempEventQueue.push(n)}checkIsMultiCurrencyEnable(n){n&&(this.isMultiCurrencyEnable=!!Object.keys(n).length)}addSportradarToDom(n,o){return this.isPlatformBrowser?new Promise((d,_)=>{if(this.inited)return d(this.inited);const N=window;N.srtmCommands=N.srtmCommands||[];const U=document,ue=U.createElement("script");ue.id="SportradarScript",ue.async=!0,ue.src=`https://tm.ads.sportradar.com/dist/tag-manager.js?id=${o}`,ue.setAttribute("data-srtmn","srtmCommands"),ue.addEventListener("load",()=>(this.registerListeners(n),d(this.inited=!0))),ue.addEventListener("error",()=>_(!1)),U.head.insertBefore(ue,U.head.firstChild)}).then(()=>{this.tempEventQueue.forEach(d=>this.push(d)),this.tempEventQueue.length=0}):Promise.reject("SportradarService.addSportradarToDom(), is not platform browser")}removeCurrentScript(){return new Promise((n,o)=>{const d=document.querySelector("#SportradarScript");return d.parentNode?.removeChild(d),n()})}registerListeners(n){n.onDestroy(()=>{this.destroy$.next(),this.destroy$.complete()}),this.eventQueueService.on(Ti).pipe((0,ot.M)(()=>{this.isMultiCurrencyEnable&&location.reload()}),(0,Z.Q)(this.destroy$)).subscribe(),this.eventQueueService.on(At.uF).pipe((0,ot.M)(()=>{this.push({event:"track.user.registration",payload:{action:"start"}})}),(0,Z.Q)(this.destroy$)).subscribe(),this.eventQueueService.on(At.Vw).pipe((0,ot.M)(o=>{const d={action:"complete",userId:this.getFormattedUserId(o.payload?.userId)};this.push({event:"track.user.registration",payload:d})}),(0,Z.Q)(this.destroy$)).subscribe(),this.eventQueueService.on(Ne.f).pipe((0,ot.M)(o=>{const d={action:"complete",userId:this.getFormattedUserId(o.payload?.userId)};this.push({event:"track.user.login",payload:d})}),(0,Z.Q)(this.destroy$)).subscribe(),this.eventQueueService.on(ge.o3).pipe((0,ot.M)(o=>{this.push({event:"track.betting.deposit",payload:{action:"created",userId:o.payload?.userId,transactionId:o.payload?.transactionId,amount:o.payload?.amount,currency:o.payload?.currency,label:""}})}),(0,Z.Q)(this.destroy$)).subscribe()}getFormattedUserId(n){let o=n=n||"";return this.config.userIdHandler&&(o=this.config.userIdHandler(o)||""),o=btoa(o).replace("=",""),o}changeSportradarIds(n,o){if(!this.isPlatformBrowser)return console.log("sportradarService.changeSportradarIds(), is not platform browser")}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const gc=new e.nKC("SIGNUPTRACKING_CONFIG");let _c=(()=>{class a{constructor(n){this.appStateService=n,this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(He.n),this.config=(0,e.WQX)(gc,{optional:!0}),this.cid="",this.document=(0,e.WQX)(u.qQ),this.retargettingUrl=(0,e.WQX)(A.C9,{optional:!0})}init(){this.isPlatformBrowser?(sessionStorage.signupTrackingCid&&this.setCid(sessionStorage.signupTrackingCid),this.appStateService.on("trackingCid").subscribe(n=>{n&&(this.setCid(n),this.setSessionStorage(n))}),this.eventQueueService.on(At.Vw).pipe((0,ot.M)(()=>{this.sendApiRequest()})).subscribe()):console.warn("SignupTrackingService: Is not browser.")}setCid(n){n&&(this.cid=n)}setSessionStorage(n){n&&sessionStorage.setItem("signupTrackingCid",n)}generateTrackingApiUrl(){return this.config?.signupTrackingUrl.trim()+this.cid.trim()}sendApiRequest(){!this.cid.trim()||!this.config?.signupTrackingUrl||fetch(this.generateTrackingApiUrl()).then().catch(n=>{console.error(n)})}addRetargetting(n=!1){if(!this.isPlatformBrowser)return void console.warn("SignupTrackingService: Is not browser.");if(!this.retargettingUrl)return;const o=n?this.retargettingUrl.successScriptUrl:this.retargettingUrl.scriptUrl,d=n?this.retargettingUrl.successNoScriptUrl:this.retargettingUrl.noScriptUrl,_=document.createElement("script");_.defer=!0,_.src=o,document.head.insertBefore(_,document.head.firstChild);const N=document.createElement("noscript"),U=document.createElement("img");U.src=d,U.setAttribute("width","1"),U.setAttribute("height","1"),U.style.display="none",N.appendChild(U),document.body.appendChild(N)}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(ce.i))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const Kc=new e.nKC("ROOTERTRACKING_CONFIG");let Jo=(()=>{class a{constructor(n){this.appStateService=n,this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(He.n),this.config=(0,e.WQX)(Kc,{optional:!0}),this.rooterClickId=""}init(){this.isPlatformBrowser?(sessionStorage.rooterClickId&&this.setRooterClickId(sessionStorage.rooterClickId),this.appStateService.on("trackingRooterClickId").subscribe(n=>{n&&(this.setRooterClickId(n),this.setSessionStorage(n))}),this.eventQueueService.on(At.Vw).pipe((0,ot.M)(()=>{this.sendApiRequest(this.config?.signupEvtUrl)})).subscribe(),this.eventQueueService.on(ge.o3).pipe((0,ot.M)(()=>{this.sendApiRequest(this.config?.depositEvtUrl)})).subscribe(),this.eventQueueService.on(ge.Gp).pipe((0,ot.M)(()=>{this.sendApiRequest(this.config?.depositEvtUrl)})).subscribe()):console.warn("SignupTrackingService: Is not browser.")}setRooterClickId(n){n&&(this.rooterClickId=n)}setSessionStorage(n){n&&sessionStorage.setItem("rooterClickId",n)}generateTrackingApiUrl(n){return n?.trim()+this.rooterClickId.trim()}sendApiRequest(n){!this.rooterClickId.trim()||!n||fetch(this.generateTrackingApiUrl(n)).then().catch(o=>{console.error(o)})}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(ce.i))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();class Np extends Pn.w{constructor(){super("QE_APP_DOWNLOAD")}}const wp=new e.nKC("SHARECHATTRACKING_CONFIG");let Pp=(()=>{class a{constructor(n){this.appStateService=n,this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(He.n),this.config=(0,e.WQX)(wp,{optional:!0}),this.sharechatClickId="",this.sharechatAdId=""}init(){this.isPlatformBrowser?(sessionStorage.sharechatClickId&&this.setSharechatClickId(sessionStorage.sharechatClickId),sessionStorage.sharechatAdId&&this.setSharechatAdId(sessionStorage.sharechatAdId),this.appStateService.on("trackingSharechatClickId").subscribe(n=>{n&&(this.setSharechatClickId(n),this.setClickIdSessionStorage(n))}),this.appStateService.on("trackingSharechatAdId").subscribe(n=>{n&&(this.setSharechatAdId(n),this.setAdIdSessionStorage(n))}),this.eventQueueService.on(At.Vw).pipe((0,ot.M)(()=>{this.sendApiRequest(this.config?.signupEvtUrl)})).subscribe(),this.eventQueueService.on(ge.o3).pipe((0,ot.M)(n=>{this.sendApiRequest(this.config?.depositEvtUrl,n.payload?.amount)})).subscribe(),this.eventQueueService.on(ge.Gp).pipe((0,ot.M)(n=>{this.sendApiRequest(this.config?.depositEvtUrl,n.payload?.amount)})).subscribe(),this.eventQueueService.on(Np).pipe((0,ot.M)(()=>{this.sendApiRequest(this.config?.downloadEvtUrl)})).subscribe()):console.warn("SharechatTrackingService: Is not browser.")}setSharechatClickId(n){n&&(this.sharechatClickId=n)}setSharechatAdId(n){n&&(this.sharechatAdId=n)}setClickIdSessionStorage(n){n&&sessionStorage.setItem("sharechatClickId",n)}setAdIdSessionStorage(n){n&&sessionStorage.setItem("sharechatAdId",n)}generateTrackingApiUrl(n,o){return n?.trim()+"&eventValue="+o+"&clickId="+this.sharechatClickId.trim()+"&adId="+this.sharechatAdId.trim()}sendApiRequest(n,o="1"){!this.sharechatClickId.trim()||!this.sharechatAdId.trim()||!n||fetch(this.generateTrackingApiUrl(n,o)).then().catch(d=>{console.error(d)})}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(ce.i))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var wu=l(40605),Lp=l(13946),so=l(70152),th=l(73927);const F0=new e.nKC("DISABLE_INTERVAL_RANDOM");let Ao=(()=>{class a{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.authState=(0,e.WQX)(gi.H),this.authService=(0,e.WQX)(as.uR),this.disableIntervalRandom=(0,e.WQX)(F0,{optional:!0}),this.payload$=new P.t(null),this.isStarted=!1,this.delayForStart=3*A.yr.SECOND,this.interval=A.yr.MINUTE*(this.disableIntervalRandom?2:th.z.getRandomInt(2,5))}start(){this.isBrowser&&(this.isStarted||(this.checkDepositStatus().subscribe(),this.isStarted=!0))}doDepositCheck(){return this.authService.getUnNotifiedTxn().pipe((0,on.n)(n=>{const o=n?.data?.detail||[];if(!o.length)return(0,L.of)(void 0);const d=this.authState.get("accountInfo"),_=d.userId,N=d.currencyTypeId,U=re.U.getInstanceOf(N)?.name||"";return this.payload$.next({userId:_,currencyTypeId:N,currencyTypeName:U,firstDepositTimestamp:d.firstDepositTimestamp,detailList:o}),this.authService.clearUnNotifiedTxn(n?.data?.timestamp).pipe((0,R.W)(Ge=>(console.error(Ge),(0,L.of)(void 0))))}),(0,R.W)(n=>(console.error(n),(0,L.of)(void 0))))}checkDepositStatus(){return(0,wi.h)((0,wu.Y)(this.interval).pipe((0,gi.L)(this.authState)),this.authState.select("isLogin").pipe((0,Lp.J)(),(0,In.p)(([n,o])=>!n&&!!o))).pipe((0,so.B)(100),(0,on.n)(()=>this.doDepositCheck()))}listen(){return this.isStarted||setTimeout(()=>{this.start()},this.delayForStart),this.payload$.pipe((0,In.p)(n=>!!n&&this.authState.get("isLogin")))}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();const nh=new e.nKC("APK_TRK_CODE_CONFIG");let ih=(()=>{class a{constructor(){this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.apkTrackingCodeConfig=(0,e.WQX)(nh),this.depositStatusCheckerService=(0,e.WQX)(Ao),this.eventQueueService=(0,e.WQX)(He.n),this.debuggerEnable=!1}get window(){return window}init(){this.isPlatformBrowser?(localStorage.getItem("apk-debugger")&&(this.debuggerEnable=!0),this.debuggerEnable&&(window.androidJs={postMessage(n,o){}},window.android={onEventJsFirstRecharge(n,o){console.warn(1,"onEventJsFirstRecharge",n,o)},onEventJsRecharge(n,o){console.warn(2,"onEventJsRecharge",n,o)},onEventJs(n,o){console.warn(3,"onEventJs",n,o)}}),this.window?.androidJs||this.window?.android?(this.checkDepositStatus().subscribe(),this.eventQueueService.on(At.Vw).pipe((0,ot.M)(n=>{this.sendRegisterSuccess(n.payload)})).subscribe()):console.warn("ApkTrackingCodeService: window.androidJs or window.android is undefined.")):console.warn("ApkTrackingCodeService: Is not browser.")}checkDepositStatus(){return this.depositStatusCheckerService.listen().pipe((0,ot.M)(n=>{n.detailList.forEach(o=>this.sendDepositStatus(n,o))}))}sendDepositStatus(n,o){if(this.isPlatformBrowser)switch(this.apkTrackingCodeConfig.type){case"androidJs":let d=o.isFirst?"first-deposit-success":"deposit-success";this.window?.androidJs.postMessage(d),this.debuggerEnable&&console.log("window.androidJs.postMessage >>>> ",d);break;case"onEventJs":o.isFirst?(this.window?.android.onEventJsFirstRecharge("first_recharge_success"),this.debuggerEnable&&console.log("window.android.onEventJsFirstRecharge >>>> ","first_recharge_success")):(this.window?.android.onEventJsRecharge("recharge_success"),this.debuggerEnable&&console.log("window.android.onEventJsRecharge >>>> ","recharge_success"))}}sendRegisterSuccess(n){if(this.isPlatformBrowser)switch(this.apkTrackingCodeConfig.type){case"androidJs":this.window?.androidJs.postMessage("register-success"),this.debuggerEnable&&console.log("window.androidJs.postMessage >>>> register-success");break;case"onEventJs":this.window?.android.onEventJs("register_success"),this.debuggerEnable&&console.log("window.android.onEventJs >>>> register_success")}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const sh=new e.nKC("XENATRACKING_CONFIG");let xp=(()=>{class a{constructor(n,o){this.appStateService=n,this.authState=o,this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(He.n),this.config=(0,e.WQX)(sh,{optional:!0}),this.depositStatusCheckerService=(0,e.WQX)(Ao),this.xenaQeuryString="",this.userId=""}init(){this.isPlatformBrowser?(sessionStorage.xenaQueryString&&this.setXenaQeuryString(sessionStorage.xenaQueryString),this.authState.select("accountInfo").pipe().subscribe(n=>{this.userId=n.userId}),this.appStateService.on("trackingXenaQeuryString").subscribe(n=>{n&&(this.setXenaQeuryString(n),this.setSessionStorage(n))}),this.eventQueueService.on(At.Vw).pipe((0,ot.M)(()=>{this.sendFetchingApi("registration")})).subscribe(),this.checkDepositStatus().subscribe()):console.warn("SignupTrackingService: Is not browser.")}checkDepositStatus(){return this.depositStatusCheckerService.listen().pipe((0,ot.M)(n=>{n.detailList.forEach(o=>this.sendDepositStatus(o))}))}sendDepositStatus(n){this.sendFetchingApi("deposit",n.isFirst?1:0)}setXenaQeuryString(n){n&&(this.xenaQeuryString=n)}setSessionStorage(n){n&&sessionStorage.setItem("xenaQueryString",n)}sendFetchingApi(n,o=0){if(!this.xenaQeuryString.trim()||!this.config?.fetchUrl)return;let d="",_=this.getFormattedUserId(this.userId);"deposit"===n?d=`${this.config.fetchUrl}&${this.xenaQeuryString}&event_name=${n}&uid=${_}&ftd=${o}`:"registration"===n&&(d=`${this.config.fetchUrl}&${this.xenaQeuryString}&event_name=${n}&uid=${_}`),d&&fetch(d).then().catch(N=>{console.error("xena tracking fetch error >>>>> ",N)})}getFormattedUserId(n){return btoa(n||"").replace("=","")}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(ce.i),e.KVO(gi.H))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const k0=new e.nKC("INCOME_ACCESS_TRACKING_CONFIG");let us=(()=>{class a{constructor(){this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(He.n),this.config=(0,e.WQX)(k0),this.authState=(0,e.WQX)(gi.H),this.router=(0,e.WQX)(en.Ix),this.depositStatusCheckerService=(0,e.WQX)(Ao)}checkDepositStatus(){return this.depositStatusCheckerService.listen().pipe((0,ot.M)(n=>{n.detailList.forEach(o=>this.sendEvent("Sales"))}))}init(){this.isPlatformBrowser?(this.routerLifeCycleState(),this.eventQueueService.on(At.Vw).pipe((0,ot.M)(()=>{this.sendEvent("Registration")})).subscribe(),this.eventQueueService.on(ge.o3).pipe((0,on.n)(()=>this.checkDepositStatus())).subscribe()):console.warn("IncomeAccessTrackingService is not platform browser")}routerLifeCycleState(){this.router.events.pipe((0,In.p)(n=>n instanceof en.wF)).subscribe(()=>{document.querySelectorAll(".incomeAccess").forEach(n=>n.remove())})}sendEvent(n){if(!this.isPlatformBrowser)return void console.warn("addIframeToDom(), is not platform browser");const o=document.createElement("iframe"),d=this.getFormattedUserId(this.authState.get("accountInfo")?.userId)||"";o.className="incomeAccess",o.setAttribute("style","display: none");const _=new URL(`https://wl${this.config.brandName}.adsrv.eacdn.com/Processing/Pixels/${n}.ashx?Playerid=${d}`),N=this.config.queryParams||{};Object.keys(N).forEach(ue=>{_.searchParams.append(ue,`${N[ue]}`)});const U=_.toString();o.src=U,document.body.appendChild(o)}getFormattedUserId(n){return btoa(n||"").replace("=","")}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var Fl=function(a){return a.REGISTRATION="registration",a.DEPOSIT="deposit",a}(Fl||{});const Yc=new e.nKC("SO_PIXEL_CONFIG");let Pr=(()=>{class a{constructor(){this.config=(0,e.WQX)(Yc),this.defaultDataLayer="dataLayer",this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(He.n),this.depositStatusCheckerService=(0,e.WQX)(Ao),this.router=(0,e.WQX)(en.Ix),this.inited=!1,this.trackingCode=""}get api(){return window.otag}init(){this.isBrowser?this.inited?console.warn("SoPixelService :>> Has been inited."):(this.addScriptToDom().then(()=>{this.api?this.observeEvents():console.warn("SoPixelService :>> No api.")}),this.inited=!0):console.warn("SoPixelService :>> Is not browser.")}addScriptToDom(){return this.isBrowser?new Promise((n,o)=>{const d=this.getCurrentId(),_=document.createElement("script");return _.id="SoPixelScript",_.innerHTML=`\n !(function(p,l,o,w,i,n,g)\n {if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];\n p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||\n []).push(arguments)};p[i].q=p[i].q||[];n=l.createElement(o);\n g=l.getElementsByTagName(o)[0];n.async=1;n.src=w;\n g.parentNode.insertBefore(n,g)}})(window,document,"script",\n "//res-odx.op-mobile.opera.com/sp.js","otag");\n otag('init', '${d}')\n `,document.head.insertBefore(_,document.head.firstChild),n(this.inited=!0)}):Promise.reject("SoPixelService.addScriptToDom(), is not platform browser")}observeEvents(){this.eventQueueService.on(At.Vw).pipe((0,ot.M)(()=>this.sendEvent(Fl.REGISTRATION))).subscribe(),this.depositStatusCheckerService.listen().pipe((0,ot.M)(n=>{n.detailList.forEach(o=>{this.sendEvent(Fl.DEPOSIT)})})).subscribe()}changeSoPixelTracking(n){return this.isBrowser?this.removeCurrentScript().then(()=>this.setTrackingId(n)).then(()=>this.addScriptToDom()):Promise.reject("SoPixelService.changeSoPixelTracking(), is not platform browser")}setTrackingId(n){this.trackingCode=n}sendEvent(n){this.api?.("event",n)}getCurrentId(){return this.trackingCode}removeCurrentScript(){return new Promise((n,o)=>{const d=document.querySelector("#SoPixelScript");return d.parentNode?.removeChild(d),n()})}pushDataLayer(n){const o=this.getDataLayer();o&&o.push(n)}getDataLayer(){const n=this.defaultDataLayer;return window[n]=window[n]||[],window[n]}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var Xc=l(76288);const Qc=new e.nKC("TRACKING_CONFIG");let Sa=(()=>{class a{get Hotjar(){return this.ngxHotjarService}get Clarity(){return this.microsoftClarityService}get Appier(){return this.appierService}get Sportradar(){return this.sportradarService}get SignupTracking(){return this.signupTrackingService}get RooterTracking(){return this.rooterTrackingService}get SharechatTracking(){return this.sharechatTrackingService}get ApkTrackingCode(){return this.apkTrackingCodeService}get XenaTracking(){return this.xenaTrackingService}get incomeAccessTracking(){return this.incomeAccessTrackingService}get SoPixel(){return this.soPixelService}constructor(){if(this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.config=(0,e.WQX)(Qc),this.siteSettingState=(0,e.WQX)(ti.p),this.trackingEventLogger=(0,e.WQX)(_t),this.gaService=(0,e.WQX)(k),this.gtmService=(0,e.WQX)(Tt),this.destroy$=new S.B,this.inited=!1,this.isPlatformBrowser&&this.trackingEventLogger.init(),this.config.Hotjar)try{this.ngxHotjarService=(0,e.WQX)(Cn)}catch(n){console.error(n)}if(this.config.Clarity)try{this.microsoftClarityService=(0,e.WQX)($i)}catch(n){console.error(n)}if(this.config.Appier)try{this.appierService=(0,e.WQX)(Qi)}catch(n){console.error(n)}if(this.config.Sportradar)try{this.sportradarService=(0,e.WQX)(pc)}catch(n){console.error(n)}if(this.config.SignupTracking)try{this.signupTrackingService=(0,e.WQX)(_c)}catch(n){console.error(n)}if(this.config.RooterTracking)try{this.rooterTrackingService=(0,e.WQX)(Jo)}catch(n){console.error(n)}if(this.config.SharechatTracking)try{this.sharechatTrackingService=(0,e.WQX)(Pp)}catch(n){console.error(n)}if(this.config.ApkTrackingCode)try{this.apkTrackingCodeService=(0,e.WQX)(ih)}catch(n){console.error(n)}if(this.config.XenaTracking)try{this.xenaTrackingService=(0,e.WQX)(xp)}catch(n){console.error(n)}if(this.config.IncomeAccessTracking)try{this.incomeAccessTrackingService=(0,e.WQX)(us)}catch(n){console.error(n)}if(this.config.SoPixel)try{this.soPixelService=(0,e.WQX)(Pr)}catch(n){console.error(n)}}init(n){this.isPlatformBrowser&&(this.inited||(n.onDestroy(()=>{this.trackingEventLogger.destroy(),this.destroy$.next(),this.destroy$.complete()}),this.siteSettingState.select("currentCurrencyType").pipe((0,$n.s)(1),(0,ot.M)(o=>{try{this.microsoftClarityService?.addClarityToDom()}catch(d){console.error(d)}try{this.appierService?.addAppierToDom(n)}catch(d){console.error(d)}try{this.sportradarService?.checkIsMultiCurrencyEnable(this.config.Sportradar?.currencyTrackingSetting),this.sportradarService?.addSportradarToDom(n,this.config.Sportradar?.currencyTrackingSetting?this.config.Sportradar.currencyTrackingSetting[o.unique]||this.config.Sportradar.id:this.config.Sportradar?.id||"")}catch(d){console.error(d)}try{this.signupTrackingService?.init()}catch(d){console.error(d)}try{this.rooterTrackingService?.init()}catch(d){console.error(d)}try{this.sharechatTrackingService?.init()}catch(d){console.error(d)}try{this.apkTrackingCodeService?.init()}catch(d){console.error(d)}try{this.xenaTrackingService?.init()}catch(d){console.error(d)}try{this.incomeAccessTrackingService?.init()}catch(d){console.error(d)}try{this.config.SoPixel?.currencyTrackingSetting&&this.soPixelService?.setTrackingId(this.config.SoPixel?.currencyTrackingSetting[o.unique]||this.config.SoPixel.trackingCode),this.soPixelService?.init()}catch(d){console.error(d)}this.inited=!0})).subscribe(),this.siteSettingState.select("currentCurrencyType").pipe((0,Vi.i)(1),(0,ot.M)(o=>{this.config.Sportradar?.currencyTrackingSetting&&this.sportradarService?.changeSportradarIds(n,this.config.Sportradar.currencyTrackingSetting[o.unique]||this.config.Sportradar.id),this.config.SoPixel?.currencyTrackingSetting&&this.soPixelService?.changeSoPixelTracking(this.config.SoPixel.currencyTrackingSetting[o.unique]||this.config.SoPixel.trackingCode)}),(0,Z.Q)(this.destroy$)).subscribe(),this.siteSettingState.select("siteSettingModel").pipe((0,ot.M)(o=>{try{const d=o.trackingEventSetting;d&&d?.forEach(_=>{switch(_.trackingType){case Xc.V.GA:this.gaService?.setTrackingConfig({trackingCodes:this.parseTrackingIdsToArray(_.details),eventFilters:this.parseEventFilters(_.details)}),this.gaService?.init(n);break;case Xc.V.GTM:this.gtmService?.setTrackingConfig({trackingCodes:this.parseTrackingIdsToArray(_.details),eventFilters:this.parseEventFilters(_.details)}),this.gtmService?.init(n);break;case Xc.V.FB_PIXEL:{const N=this.parseTrackingIdsToArray(_.details),U=this.parseEventFilters(_.details);N.length>0&&localStorage.setItem("fb_dynamic_pixel_from_api",JSON.stringify(N));const ue={};U.forEach((we,Ge)=>{ue[Ge]=Array.from(we)}),localStorage.setItem("fb_dynamic_pixel_event_filters",JSON.stringify(ue));break}case Xc.V.TIKTOK_PIXEL:{const N=this.parseTrackingIdsToArray(_.details),U=this.parseEventFilters(_.details);N.length>0&&localStorage.setItem("tiktok_dynamic_pixel_from_api",JSON.stringify(N));const ue={};U.forEach((we,Ge)=>{ue[Ge]=Array.from(we)}),localStorage.setItem("tiktok_dynamic_pixel_event_filters",JSON.stringify(ue));break}}})}catch(d){console.error(d)}})).subscribe()))}parseTrackingIdsToArray(n){return Array.from(new Set(n.map(o=>o.trackingAccountId)))}parseEventFilters(n){const o=new Map;return n.forEach(d=>{if(d.enableEvents&&d.enableEvents.length>0){const _=I.mapEventIdsToNames(d.enableEvents);_.length>0&&o.set(d.trackingAccountId,new Set(_))}}),o}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var Wi=l(22806);let Fp=(()=>{class a{get api(){return window.fbq}#e;constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(He.n),this.trackingEventLogger=(0,e.WQX)(_t),this.inited=!1,this.skipDuplicatedApiCheck=!1,this.authState=(0,e.WQX)(gi.H),this.siteSetting=(0,e.WQX)(ti.p),this.trackingService=(0,e.WQX)(Sa,{optional:!0}),this.trackingCodes=[],this.eventFilters=new Map,this.#e=new Set;const n=this.trackingService;n&&this.siteSetting.select("siteSettingModel").pipe((0,In.p)(o=>(o?.trackingEventSetting?.length??0)>0)).subscribe(o=>{const d=o.trackingEventSetting.find(_=>_.trackingType===Xc.V.FB_PIXEL);d&&this.setTrackingConfig({trackingCodes:n.parseTrackingIdsToArray(d.details),eventFilters:n.parseEventFilters(d.details)})})}setTrackingConfig(n){const o=n.trackingCodes.filter(d=>!this.#e.has(d));if(this.trackingCodes=n.trackingCodes,this.eventFilters=n.eventFilters||new Map,this.inited&&this.api&&o.length>0){const d=this.#t()??{},_=o.length;for(let N=0;N<_;N++){const U=o[N];Object.keys(d).length>0?this.api("init",U,d):this.api("init",U),this.#e.add(U)}}}canSendEvent(n,o){if(!this.eventFilters.has(n))return!1;const d=this.eventFilters.get(n);return!!d&&d.has(o)}getAllowedCodesForEvent(n){return this.trackingCodes.filter(o=>this.canSendEvent(o,n.eventName))}sendFilteredEvent(n,o,d){var _=this;return(0,s.A)(function*(){const N=n.eventName,U=_.trackingCodes.filter(sn=>_.canSendEvent(sn,N));if(0===U.length)return void console.log(`FB Pixel event filtered: ${N} - no accounts allow this event`);n.needUpdateUserData&&U.length>0&&_.#i(),o={...o,...!o?.currencyTypeId&&o?.currency&&{currency:re.U.getInstanceOf(o?.currency)?.name},...o?.currencyTypeId&&{currency:re.U.getInstanceOf(o?.currencyTypeId)?.name},..._.getFbcFbpValues()},console.log("FB Pixel trackCustom >>>>>>>",N,o);const ue=d?{eventID:d}:void 0,we=_.#r(o),Ge=_.api,Xe=U.length;for(let sn=0;sn0&&_.trackingEventLogger.logEvent(n,o,d)})()}init(n=!1){if(this.fbPixelDebug("init"),this.skipDuplicatedApiCheck=n,!this.isBrowser)return void console.warn("FbPixelService: Is not browser.");if(this.inited)return void console.warn("FbPixelService: Has been inited.");let o=[];try{o=JSON.parse(localStorage.getItem("fb_dynamic_pixel_from_api")||localStorage.getItem("fb_dynamic_pixel")||"[]")}catch{o=[]}let d={};try{const N=localStorage.getItem("fb_dynamic_pixel_event_filters");N?d=JSON.parse(N):o.forEach(U=>{d[U]=[]})}catch(N){console.warn("Failed to parse FB Pixel event filters:",N),o.forEach(U=>{d[U]=[]})}const _=new Map;Object.entries(d).forEach(([N,U])=>{_.set(N,new Set(U))}),this.setTrackingConfig({trackingCodes:o,eventFilters:_}),this.addScriptToDom(o).then(()=>{this.fbPixelDebug("addScriptToDom"),this.api?this.observeEvents():console.warn("FbPixelService: No api.")}),this.inited=!0}#t(){if(!this.authState.get("isLogin"))return;const n=this.authState.get("accountInfo");if(!n)return;const o={},d=n.userId?.trim();d&&(o.external_id=d);const _=n.userName?.trim().toLowerCase();_&&(o.fn=_);const N=n.email?.trim().toLowerCase();N&&(o.em=N);const U=this.#s(n.callingCode,n.phoneNumber);U&&(o.ph=U);const{fbc:ue,fbp:we}=this.getFbcFbpValues();ue&&(o.fbc=ue),we&&(o.fbp=we);const Ge=this.#n();return Ge&&(o.country=Ge),Object.keys(o).length>0?o:void 0}#n(){try{const n=this.siteSetting.get("accessCountryTypeId");return null==n?void 0:T.B.getInstanceOf(n)?.name?.toLowerCase()}catch{return}}#s(n,o){const d=U=>(U??"").replace(/\D/g,""),_=d(n),N=d(o).replace(/^0+/,"");return N?_+N:""}addScriptToDom(n){if(!this.isBrowser)return Promise.reject("FbPixelService.addScriptToDom(), is not platform browser");if(this.inited)return Promise.resolve(this.inited);if(this.api&&!this.skipDuplicatedApiCheck)return Promise.resolve(this.inited=!0);if(0===n.length)return Promise.reject("FbPixelService.addScriptToDom(), no fb_dynamic_pixel");const o=this.#t(),d=n.map(ue=>o?`fbq('init', '${ue}', ${JSON.stringify(o)});`:`fbq('init', '${ue}');`).join("\n"),_=document.createElement("script");_.id="FbPixelServiceScript",_.innerHTML=`\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n ${d}\n ${n.map(ue=>`fbq('trackSingle', '${ue}', 'PageView');`).join("\n")}\n `,document.head.insertBefore(_,document.head.firstChild);const N=document.createElement("noscript");N.id="FbPixelServiceNoScript",N.innerHTML=n.map(ue=>`\n \n `).join(""),document.head.insertBefore(N,document.head.firstChild);const U=n.length;for(let ue=0;ue(0,Wi.H)(this.sendFilteredEvent(I.LOGIN,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.fbPixelDebug(I.LOGIN.eventName,n.payload))).subscribe(),this.eventQueueService.on(Ne._).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.LOGOUT,{},n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(()=>{this.#i(),this.#o()}),(0,ot.M)(()=>this.fbPixelDebug(I.LOGOUT.eventName))).subscribe(),this.eventQueueService.on(At.UZ).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.CLICK_REGISTER,{},n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(()=>this.fbPixelDebug(I.CLICK_REGISTER.eventName))).subscribe(),this.eventQueueService.on(At.Vw).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.REGISTER_SUCCESS,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.fbPixelDebug(I.REGISTER_SUCCESS.eventName,n.payload))).subscribe(),this.eventQueueService.on(ge.Rd).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.CLICK_DEPOSIT,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.fbPixelDebug(I.CLICK_DEPOSIT.eventName,n.payload))).subscribe(),this.eventQueueService.on(ge.Gp).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.CLICK_DEPOSIT,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.fbPixelDebug(I.CLICK_DEPOSIT.eventName,n.payload))).subscribe(),this.eventQueueService.on(fc.c).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.CLICK_WITHDRAWAL,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.fbPixelDebug(I.CLICK_WITHDRAWAL.eventName,n.payload))).subscribe(),this.eventQueueService.on(xl.j).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.CLICK_GAME,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.fbPixelDebug(I.CLICK_GAME.eventName,n.payload))).subscribe(),this.eventQueueService.on(Nu.V).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.SWITCH_LANGUAGE,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.fbPixelDebug(I.SWITCH_LANGUAGE.eventName,n.payload))).subscribe()}fbPixelDebug(n,o){localStorage.getItem("debugFbPixel")&&console.warn("FbPixelService:",n,o||"")}getFbcFbpValues(){if(!this.isBrowser)return{};const n={},o=this.getCookie("_fbp"),d=this.getCookie("_fbc");return o&&(n.fbp=o),d&&(n.fbc=d),n}getCookie(n){const d=("; "+document.cookie).split("; "+n+"=");if(d.length>1)return d.pop()?.split(";").shift()}#r(n){const{amount:o,bonusId:d,..._}=n;return{..._,...o&&{value:o},...d&&{content_ids:[String(d)]}}}static#a=this.\u0275fac=function(o){return new(o||a)};static#c=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),rh=(()=>{class a{static forRoot(n){return{ngModule:a,providers:[Fp,{provide:e.iLQ,useFactory:(o,d,_)=>()=>{(0,u.UE)(o)&&setTimeout(()=>{const ue=_.parseUrl(_.url).queryParams.fb_dynamic_pixel;let we=[];if(ue)we=[ue],localStorage.removeItem("fb_dynamic_pixel_from_api");else{const Ge=localStorage.getItem("fb_dynamic_pixel_from_api");try{we=Ge?JSON.parse(Ge):[]}catch{we=[]}}localStorage.setItem("fb_dynamic_pixel",JSON.stringify(we)),d.init(n?.skipDuplicatedApiCheck||!1)},n?.delay||3e3)},deps:[e.Agw,Fp,en.Ix],multi:!0}]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})(),kp=(()=>{class a{get api(){return window.ttq}#e;constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(He.n),this.trackingEventLogger=(0,e.WQX)(_t),this.inited=!1,this.skipDuplicatedApiCheck=!1,this.authState=(0,e.WQX)(gi.H),this.siteSetting=(0,e.WQX)(ti.p),this.trackingService=(0,e.WQX)(Sa,{optional:!0}),this.trackingCodes=[],this.eventFilters=new Map,this.#e=new Set;const n=this.trackingService;n&&this.siteSetting.select("siteSettingModel").pipe((0,In.p)(o=>(o?.trackingEventSetting?.length??0)>0)).subscribe(o=>{const d=o.trackingEventSetting.find(_=>_.trackingType===Xc.V.TIKTOK_PIXEL);d&&this.setTrackingConfig({trackingCodes:n.parseTrackingIdsToArray(d.details),eventFilters:n.parseEventFilters(d.details)})})}setTrackingConfig(n){const o=n.trackingCodes.filter(_=>!this.#e.has(_));this.trackingCodes=n.trackingCodes,this.eventFilters=n.eventFilters||new Map;const d=this.api?.load;this.inited&&d&&o.length>0&&o.forEach(_=>{d(_),this.#e.add(_)})}canSendEvent(n,o){if(!this.eventFilters.has(n))return!1;const d=this.eventFilters.get(n);return!!d&&d.has(o)}#t(n,o){const d=U=>(U??"").replace(/\D/g,""),_=d(n),N=d(o).replace(/^0+/,"");return N?"+"+_+N:""}#n(){if(!this.authState.get("isLogin"))return;const n=this.authState.get("accountInfo");if(!n)return;const o={},d=n.userId?.trim();d&&(o.external_id=d);const _=n.email?.trim().toLowerCase();_&&(o.email=_);const N=this.#t(n.callingCode,n.phoneNumber);return N&&(o.phone_number=N),Object.keys(o).length>0?o:void 0}#s(){if(!this.isBrowser||!this.api||!this.inited)return;const n=this.#n()??{};this.api.identify&&this.api.identify(n)}sendFilteredEvent(n,o,d){var _=this;return(0,s.A)(function*(){const N=n.eventName,U=n.tiktokSecEventName,ue=_.trackingCodes.filter(xt=>_.canSendEvent(xt,N));if(0===ue.length)return void console.log(`TikTok Pixel event filtered: ${N} - no accounts allow this event`);n.needUpdateUserData&&_.#s(),o={...o,...!o?.currencyTypeId&&o?.currency&&{currency:re.U.getInstanceOf(o?.currency)?.name},...o?.currencyTypeId&&{currency:re.U.getInstanceOf(o?.currencyTypeId)?.name},..._.getTtcTtpValues()},console.log("TikTok Pixel track >>>>>>>",N,o);const we=d?{event_id:d}:void 0,Ge=_.api;if(!Ge?.instance)return void console.warn("TikTokPixelService: ttq.instance is not ready or invalid.");const Xe=_.#i(o),sn=(xt,Dn)=>we?xt.track(Dn,Xe,we):xt.track(Dn,Xe),fn=ue.length;for(let xt=0;xt0&&_.trackingEventLogger.logEvent(n,o,d)})()}init(n=!1){if(this.tikTokPixelDebug("init"),this.skipDuplicatedApiCheck=n,!this.isBrowser)return void console.warn("TikTokPixelService: Is not browser.");if(this.inited)return void console.warn("TikTokPixelService: Has been inited.");let o=[];try{o=JSON.parse(localStorage.getItem("tiktok_dynamic_pixel_from_api")||localStorage.getItem("tiktok_dynamic_pixel")||"[]")}catch{o=[]}let d={};try{const N=localStorage.getItem("tiktok_dynamic_pixel_event_filters");N?d=JSON.parse(N):o.forEach(U=>{d[U]=[]})}catch(N){console.warn("Failed to parse TikTok Pixel event filters:",N),o.forEach(U=>{d[U]=[]})}const _=new Map;Object.entries(d).forEach(([N,U])=>{_.set(N,new Set(U))}),this.setTrackingConfig({trackingCodes:o,eventFilters:_}),this.addScriptToDom(o).then(()=>{this.tikTokPixelDebug("addScriptToDom"),this.api?(this.observeEvents(),this.#s()):console.warn("TikTokPixelService: No api.")}),this.inited=!0}addScriptToDom(n){return this.isBrowser?this.inited?Promise.resolve(this.inited):this.api&&!this.skipDuplicatedApiCheck?Promise.resolve(this.inited=!0):0===n.length?Promise.reject("TikTokPixelService.addScriptToDom(), no tiktok_dynamic_pixel"):new Promise(o=>{const d=document.createElement("script");d.id="TikTokPixelServiceScript",d.innerHTML=`\n !function (w, d, t) {\n w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i`ttq.load('${N}');`).join("\n")}\n ttq.page();\n }(window, document, 'ttq');\n `,document.head.insertBefore(d,document.head.firstChild);const _=document.createElement("noscript");return _.id="TikTokPixelServiceNoScript",_.innerHTML=n.map(N=>`\n \n `).join(""),document.head.insertBefore(_,document.head.firstChild),n.forEach(N=>this.#e.add(N)),this.tikTokPixelDebug("addScriptToDom inited"),o(this.inited=!0)}):Promise.reject("TikTokPixelService.addScriptToDom(), is not platform browser")}observeEvents(){this.eventQueueService.on(Ne.f).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.LOGIN,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.tikTokPixelDebug(I.LOGIN.eventName,n.payload))).subscribe(),this.eventQueueService.on(Ne._).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.LOGOUT,{},n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(()=>{this.#s()}),(0,ot.M)(()=>this.tikTokPixelDebug(I.LOGOUT.eventName))).subscribe(),this.eventQueueService.on(At.UZ).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.CLICK_REGISTER,{},n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(()=>this.tikTokPixelDebug(I.CLICK_REGISTER.eventName))).subscribe(),this.eventQueueService.on(At.Vw).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.REGISTER_SUCCESS,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.tikTokPixelDebug(I.REGISTER_SUCCESS.eventName,n.payload))).subscribe(),this.eventQueueService.on(ge.Rd).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.CLICK_DEPOSIT,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.tikTokPixelDebug(I.CLICK_DEPOSIT.eventName,n.payload))).subscribe(),this.eventQueueService.on(ge.Gp).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.CLICK_DEPOSIT,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.tikTokPixelDebug(I.CLICK_DEPOSIT.eventName,n.payload))).subscribe(),this.eventQueueService.on(fc.c).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.CLICK_WITHDRAWAL,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.tikTokPixelDebug(I.CLICK_WITHDRAWAL.eventName,n.payload))).subscribe(),this.eventQueueService.on(xl.j).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.CLICK_GAME,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.tikTokPixelDebug(I.CLICK_GAME.eventName,n.payload))).subscribe(),this.eventQueueService.on(Nu.V).pipe((0,on.n)(n=>(0,Wi.H)(this.sendFilteredEvent(I.SWITCH_LANGUAGE,n.payload,n.eventUUId)).pipe((0,hn.T)(()=>n))),(0,ot.M)(n=>this.tikTokPixelDebug(I.SWITCH_LANGUAGE.eventName,n.payload))).subscribe()}tikTokPixelDebug(n,o){localStorage.getItem("debugTikTokPixel")&&console.warn("TikTokPixelService:",n,o||"")}getTtcTtpValues(){if(!this.isBrowser)return{};const n={},o=this.getCookie("_ttp"),d=this.getCookie("_ttc"),_=this.getCookie("ttclid");return o&&(n.ttp=o),d&&(n.ttc=d),_&&(n.ttclid=_),n}getCookie(n){const d=("; "+document.cookie).split("; "+n+"=");if(d.length>1)return d.pop()?.split(";").shift()}#i(n){const{amount:o,bonusId:d,..._}=n;return{..._,...o&&{value:o},...d&&{content_id:String(d)}}}static#o=this.\u0275fac=function(o){return new(o||a)};static#r=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),da=(()=>{class a{static forRoot(n){return{ngModule:a,providers:[kp,{provide:e.iLQ,useFactory:(o,d,_)=>()=>{(0,u.UE)(o)&&setTimeout(()=>{const U=_.parseUrl(_.url).queryParams,ue=U.tiktok_dynamic_pixel;let we=[];if(ue)we=[ue],localStorage.removeItem("tiktok_dynamic_pixel_from_api");else{const Xe=localStorage.getItem("tiktok_dynamic_pixel_from_api");try{we=Xe?JSON.parse(Xe):[]}catch{we=[]}}const Ge=U.ttclid;if(Ge){const sn=`tt.1.${Math.floor(Date.now()/1e3)}.${Ge}`;document.cookie=`_ttc=${sn}; path=/; max-age=604800; SameSite=Lax`}localStorage.setItem("tiktok_dynamic_pixel",JSON.stringify(we)),d.init(n?.skipDuplicatedApiCheck||!1)},n?.delay||3e3)},deps:[e.Agw,kp,en.Ix],multi:!0}]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})();var mc=l(23294),vc=l(71985),ui=l(89079);let Pu=(()=>{class a{constructor(){this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.siteSetting=(0,e.WQX)(ti.p),this.router=(0,e.WQX)(en.Ix),this.systemConfig=(0,e.WQX)(w.n),this.cdnService=(0,e.WQX)(M.H),this.destroyRef=(0,e.WQX)(e.abz),this.loteeJsLoaded$=new P.t(!1),this.checkLoteeGame$=new S.B,this.routerSubscription=null,this.isInited=null}init(){this.isInited||(this.siteSetting.select("siteSettingModel").pipe((0,so.B)(50),(0,mc.F)((n,o)=>n.spinAndWinSetting?.enable===o.spinAndWinSetting?.enable&&n.spinAndWinSetting?.token===o.spinAndWinSetting?.token),(0,ot.M)(n=>{const o=n.spinAndWinSetting?.enable,d=n.spinAndWinSetting?.token;o&&d?this.loteeJsLoaded$.getValue()||this.loadJs().pipe((0,$n.s)(1)).subscribe({next:()=>{this.loteeJsLoaded$.next(!0),this.loadStyle().subscribe({next:()=>{this.loteeStateInit(d)}}),this.routerSubscribe()},error:()=>{console.error("\u8f09\u5165 Lotee \u5c0f\u904a\u6232\u8173\u672c\u5931\u6557 :>>")}}):this.clearJsAndCss()}),(0,ui.pQ)(this.destroyRef)).subscribe(),this.isInited=!0)}routerSubscribe(){this.routerSubscription||(this.routerSubscription=(0,wi.h)(this.checkLoteeGame$,this.router.events.pipe((0,In.p)(n=>n instanceof en.wF))).pipe((0,so.B)(100),(0,ot.M)(()=>{this.checkLoteeGame()}),(0,ui.pQ)(this.destroyRef)).subscribe())}loadJs(){return new vc.c(n=>{if(!this.isPlatformBrowser)return void n.complete();if(document.getElementById("lotee-script"))return n.next(),void n.complete();const{primaryUrl:d}=this.getScriptUrls(),_=this.createScriptElement(d);_.addEventListener("load",()=>{this.completeSubscriber(n)}),_.addEventListener("error",N=>{this.removeScriptElement(_),this.handleScriptLoadError(n)}),this.appendScriptToHead(_)})}getScriptUrls(){return this.systemConfig.production?{primaryUrl:"https://cdn.loteegames.com/sdk/lotee.js",fallbackUrl:"https://lotee-assets.cdn-solutions.co/sdk/lotee.js"}:{primaryUrl:"https://cdn.loteegames.com/sdk/staging/lotee.js",fallbackUrl:"https://lotee-assets.cdn-solutions.co/sdk/staging/lotee.js"}}createScriptElement(n){const o=document.createElement("script");return o.id="lotee-script",o.defer=!0,o.src=this.cdnService.addTimestamp(n),o}appendScriptToHead(n){document.head.insertBefore(n,document.head.firstChild)}removeScriptElement(n){n.parentNode?.removeChild(n)}completeSubscriber(n){n.next(),n.complete()}handleScriptLoadError(n){const{fallbackUrl:o}=this.getScriptUrls(),d=this.createScriptElement(o);d.addEventListener("load",()=>{this.completeSubscriber(n)}),d.addEventListener("error",_=>{this.trackCdnEvent(),n.error(_)}),this.appendScriptToHead(d)}trackCdnEvent(){const d=`lotee_${Math.random().toString(36).substring(2)}`,{primaryUrl:_,fallbackUrl:N}=this.getScriptUrls(),U=JSON.stringify({client_id:d,events:[{name:"load_fallback_error",params:{primary_url:_,fallback_url:N,page_url:window.location.href}}]});fetch("https://www.google-analytics.com/mp/collect?measurement_id=G-06PV2PPMZ8&api_secret=BXxmhUglRIaNU75RuBFU-A",{method:"POST",body:U}).catch(()=>{})}loadStyle(){return new vc.c(n=>{if(!this.isPlatformBrowser)return void n.complete();if(document.getElementById("lotee-style"))return n.next(),void n.complete();let d="";d=this.systemConfig.production?"https://cdn.loteegames.com/sdk/lotee.css":"https://cdn.loteegames.com/sdk/staging/lotee.css";const _=document.createElement("link");_.rel="stylesheet",_.type="text/css",_.href=d,_.id="lotee-style",_.onload=()=>{n.next(),n.complete()},_.onerror=()=>{_.href=this.systemConfig.production?"https://lotee-assets.cdn-solutions.co/sdk/lotee.css":"https://lotee-assets.cdn-solutions.co/sdk/staging/lotee.css",_.onload=()=>{n.next(),n.complete()},_.onerror=()=>{console.error(`Style load error for fallback ${_.href}`),n.error()},document.head.append(_)},document.head.append(_)})}loteeStateInit(n){try{lotee.init(n),this.checkLoteeGame$.next()}catch(o){console.error("loteeInit",o)}}clearJsAndCss(){if(!this.isPlatformBrowser)return;document.querySelectorAll("#lotee-floating-button-container").forEach(_=>_.remove());const o=document.getElementById("lotee-script"),d=document.getElementById("lotee-style");o&&d&&(o.remove(),d.remove(),this.loteeJsLoaded$.next(!1),window.lotee.initialized=!1,this.routerSubscription&&(this.routerSubscription.unsubscribe(),this.routerSubscription=null))}toggleLoteeGameDisplay(n){if(!this.isPlatformBrowser)return;const o=()=>{const d=document.querySelectorAll("#lotee-floating-button-container");0!==d.length?d.forEach(_=>{_.style.display=n?"block":"none"}):setTimeout(o,100)};o()}checkLoteeGame(){const n=this.router.url.replace(/(#\/$|#|\/$)/,"");this.toggleLoteeGameDisplay(n===li.C.MAIN.link||n===li.C.EX_SPORT.link)}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();function oh(){return[Pu,{provide:e.iLQ,useFactory:(a,p)=>n=>{(0,u.UE)(a)&&setTimeout(()=>{p.init()},2e3)},deps:[e.Agw,Pu],multi:!0}]}var yi=l(12564);const kl=new e.nKC("NEU_A_CONFIG");let Lu=(()=>{class a{constructor(){this.ngZone=(0,e.WQX)(e.SKi),this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.cdnService=(0,e.WQX)(M.H),this.systemConfig=(0,e.WQX)(w.n),this.config=(0,e.WQX)(kl),this.authState=(0,e.WQX)(gi.H),this.visitorId="",this.api=null,this.isInited=null,this.isInited$=new P.t(this.isInited),this.destroy$=new S.B}init(n){if(this.config.projectKey&&!this.isInited){if(!this.isPlatformBrowser)return void this.isInited$.next(this.isInited=!1);if(!this.config)return void this.isInited$.next(this.isInited=!1);this.ngZone.onStable.pipe((0,$n.s)(1),(0,on.n)(()=>this.loadJs()),(0,on.n)(()=>this.start()),(0,ot.M)(()=>{this.isInited$.next(this.isInited=!0)}),(0,R.W)(o=>(console.error(o),this.isInited$.next(this.isInited=!1),Vs.t)),(0,on.n)(()=>this.authState.select("isLogin").pipe((0,Vi.i)(1),(0,on.n)(()=>this.getVisitorId()),(0,ot.M)(o=>this.api?.setUser(this.getUID(),{sessionId:o})))),(0,Z.Q)(this.destroy$)).subscribe(),n.onDestroy(()=>{this.isInited$.complete(),this.isInited$.complete(),this.destroy$.next(),this.destroy$.complete()})}}loadJs(){return new vc.c(n=>{const o=this.cdnService.useWithServer("./assets/js/collector-v2.min.js"),d=document.createElement("script");d.id="neuA-script",d.async=!0,d.src=o,d.addEventListener("load",()=>{n.next(),n.complete(),n.unsubscribe()}),d.addEventListener("error",_=>{n.error(_)}),document.head.insertBefore(d,document.head.firstChild)})}start(){return this.generateOption().pipe((0,on.n)(n=>(0,Wi.H)(new opCore(n).then(o=>this.api=o))))}generateOption(){return this.getVisitorId().pipe((0,hn.T)(n=>({"ot-apipath":this.getApiPath(),"ot-token":"","ot-guest":"","ot-interval":this.config.interval||30,"ot-xpath":!1,"ot-tag":"ot-tag","bu-session":n,"bu-project":this.config.projectKey,"bu-uid":this.getUID(),"bu-alias":"","auto-detect-path-changing":!0,"auto-detect-mouse-event":!0})))}getApiPath(){return this.systemConfig.production?"https://collector-cps-live.omnitrend.biz":"https://collector-uat.omnitrend.biz"}getUID(){const n=this.authState.get();return n.isLogin&&n.accountInfo.userId?n.accountInfo.userId:"undefined"}getVisitorId(){return this.visitorId?(0,L.of)(this.visitorId):(0,Wi.H)(l.e(9262).then(l.bind(l,79262)).then(n=>n.FingerprintUtil)).pipe((0,on.n)(n=>n.FingerprintJSv3.getVisitorId()),(0,ot.M)(n=>this.visitorId=n))}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var Ec=l(17111);function _i(a){return a?[{provide:kl,useValue:a},Lu,{provide:e.iLQ,useFactory:(p,n,o,d)=>_=>{(0,u.UE)(p)&&setTimeout(()=>{if(n.init(_),d.get(w.n).customNeuAEvent){const U=new S.B;o.on(yi.W).pipe((0,ot.M)(ue=>{if(ue.payload){const we=JSON.stringify(ue.payload.action);n.api?.addCustomEvent(ue.payload.category||"",we)}}),(0,Z.Q)(U)).subscribe(),_.onDestroy(()=>{try{U.next(),U.complete()}catch(ue){console.error(ue)}})}},a?.delay||2e3)},deps:[e.Agw,Lu,He.n,e.zZn],multi:!0},Ec.j]:[]}function ah(a,p){const n=p.parseUrl(a),o=n.queryParams,d=n.fragment||void 0;return n.queryParams={},n.fragment=null,{url:a,cleanUrl:n.toString(),queryParams:o,fragment:d}}const TA={provide:e.hnV,deps:[e.Agw,en.Ix,ti.p],useFactory:(a,p,n)=>()=>{let o=!1;return(0,u.UE)(a)&&p.events.pipe((0,In.p)(d=>d instanceof en.Z),(0,ot.M)(d=>{const _=ah(p.url,p),N=ah(d.url,p);if(!o&&N.cleanUrl===li.C.MAIN.link&&N.queryParams.refcode){o=!0;let U="";return U=n.get("siteSettingModel").isEnableMultipleRegisterAndLoginFeatures?li.C.REGISTERNEW_THIRDPARTY.link:li.C.REGISTER.link,void p.navigate([U],{queryParams:N.queryParams,fragment:N.fragment})}N.cleanUrl!==li.C.REGISTER.link&&N.cleanUrl!==li.C.REGISTER_QUICK.link&&N.cleanUrl!==li.C.REGISTERNEW_THIRDPARTY?.link||!_.queryParams.refcode||N.queryParams.refcode||p.navigate([N.cleanUrl],{queryParams:{...N.queryParams,refcode:_.queryParams.refcode},fragment:N.fragment})})).subscribe(),(0,L.of)(!0)},multi:!0};let Bp=(()=>{class a{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.router=(0,e.WQX)(en.Ix),this.defaultUrlSerializer=(0,e.WQX)(en.nU),this.isBrowser&&this.router.events.pipe((0,In.p)(n=>n instanceof en.wF||n instanceof en.j5||n instanceof en.lW||n instanceof en.OY),(0,ot.M)(()=>{const n=this.router.url;if(/\(popup:.*\)/.test(n)){const d=this.defaultUrlSerializer.parse(n),[_,N]=d.root.children.primary.segments;let ue=[_,N].concat(d.root.children.popup.segments).map(we=>we.path).join("/");Object.keys(d.queryParams).length>0&&(ue=`${ue}?${new URLSearchParams(d.queryParams).toString()}`),history.replaceState({...history.state||{}},"",ue)}})).subscribe()}canActivate(n,o){if(!this.isBrowser)return!0;if(this.isPopupPage(n,o)){const _=this.defaultUrlSerializer.parse(o.url);let U=this.router.routerState.snapshot.url.split("#/")[0];const ue=this.defaultUrlSerializer.parse(U),we=_.root.children.primary.segments,[Ge,Xe,...sn]=we;delete ue.root.children.popup,_.root.children.primary.segments=we.slice(2),ue.root.children.primary||(ue.root.children.primary=new en.yJ([Ge,Xe],{})),ue.root.children.popup=new en.yJ([...sn],{});const fn=this.router.getCurrentNavigation();return ue.queryParams={..._.queryParams},this.router.navigateByUrl(ue,fn?.extras)}return!0}isPopupPage(n,o){return n.data?.isOpenInDialog}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var ro=l(84572),ch=l(8003),Hr=l(94768);const ja=new e.nKC("MCD_ROUTE_STATE",{providedIn:"root",factory:()=>{const a=new Hr.Y;return a.set({i18nRouteInited:!1}),a}});let xu=(()=>{class a{constructor(){this.currentUrl=(0,e.vPA)(""),this.currentUrlWithFallback=(0,e.EWP)(()=>{const n=this.currentUrl();return n?this.isPlatformBrowser?location.origin+n:n:this.isPlatformBrowser?location.href:""}),this.defaultUrlSerializer=(0,e.WQX)(en.nU),this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.location=(0,e.WQX)(u.aZ),this.document=(0,e.WQX)(u.qQ),this.eventQueueService=(0,e.WQX)(He.n),this.siteSettingService=(0,e.WQX)(ch.D),this.authState=(0,e.WQX)(gi.H),this.siteSettingState=(0,e.WQX)(ti.p),this.mcdRouteState=(0,e.WQX)(ja),this.routesInited=!1,this.listenerInited=!1,this.destroy$=new S.B}get expectedUrlPrefixSegments(){return this.getExpectedUrlPrefixSegmentsByCountryAndLanguage(this.country,this.language)}get expectedUrlPrefix(){return`/${this.expectedUrlPrefixSegments.join("/")}`}getExpectedUrl(n,o,d){const{countryType:_,languageType:N}=this.getCountryAndLanguage(o,d);return this.getValidUrlByCountryAndLanguage(n,_,N)}getExpectedUrlPrefixSegmentsByCountryAndLanguage(n,o){return[n?.name?.toLocaleLowerCase()||"unknown-country",o?.resourceKey||"unknown-language"]}removeCountryAndLanguageFromUrl(n){if(!(n=n||"")||"/"===n)return n;const o=n.indexOf("?");let d="";o>-1&&(d=n.substring(o));const _=n.split("?")[0].split("/").filter(N=>!!N).filter(N=>!N.includes("unknown-"));for(let N=0,U=T.B.values.length;N=N.length&&N.every((xt,Dn)=>_.segments[Dn]===xt))return n;const we=this.removeCountryAndLanguageFromUrl(_.cleanUrl).split("?")[0].split("/").filter(xt=>!!xt);let Xe=[...N,...we].join("/");_.popupUrl&&(Xe+=_.popupUrl);const sn=this.defaultUrlSerializer.parse(Xe);return sn.queryParams=_.queryParams,sn.fragment=_.fragment,this.defaultUrlSerializer.serialize(sn)}getValidUrl(n){return this.getValidUrlByCountryAndLanguage(n,this.country,this.language)}shouldProcessUrl(n){return!0}extract(n){const o=this.defaultUrlSerializer.serialize(n);if(li.C.startWithLink(o)===li.C.SYSTEM_MAINTAIN||o?.includes(li.C.SYSTEM_MAINTAIN.routingPath)){const U=this.removeCountryAndLanguageFromUrl(o);return this.defaultUrlSerializer.parse(U)}const _=this.getValidUrl(o);return this.defaultUrlSerializer.parse(_)}merge(n,o){return n}findMappingsByCurrency(n,o){const d=o.find(U=>U.currencyTypeId===n.unique);if(!d)throw new Error(`No valid currency mapping, currency type id: ${n.unique}`);const _=d.mapping?.find(U=>U.currencySettingTypeId===V.X.COUNTRY.unique);if(!_)throw new Error(`No valid currency-country mapping, currency type id: ${n.unique}`);const N=d.mapping?.find(U=>U.currencySettingTypeId===V.X.LANGUAGE.unique);if(!N)throw new Error(`No valid currency-language mapping, currency type id: ${n.unique}`);return{currencyMapping:d,currencyCountryMapping:_,currencyLanguageMapping:N}}initRoutes(n){if(this.routesInited)return(0,L.of)(this.routesInited);this.router=n;const o=n.config[0],d=[{path:":country/:language",children:[o]}];return(o.children||[]).forEach(_=>{if(_.data?.isOpenInDialog){if(_.path){const N={..._};N.outlet="popup",d.push(N)}else(_.children||[]).forEach(N=>{const U={...N};U.data={..._.data||{},...U.data||{}},U.outlet="popup",d.push(U)});_.canActivate=(_.canActivate||[]).concat([Bp])}_.path?.includes(li.C.SYSTEM_MAINTAIN.routingPath)&&d.unshift(_)}),n.resetConfig(d),this.hackRoutingPathType(),(0,ro.z)([this.authState.select("isLogin"),this.siteSettingState.select("currencyMappingSettingModelInMarket"),this.siteSettingState.select("currentCurrencyType"),this.siteSettingState.select("currentLanguageType"),this.siteSettingState.select("accessCountryTypeId")]).pipe((0,so.B)(10),(0,$n.s)(1),(0,on.n)(([_,N,U,ue,we])=>{console.log("I18N routes initializing..."),console.log(" current currency: ",U.unique);let Ge=this.findMappingsByCurrency(U,N);const Xe=this.isPlatformBrowser?location.pathname:this.location.path(!0);console.log(" path: ",Xe);const sn=Xe.split("/").filter(Dn=>!!Dn);let fn,xt;if(console.log(" Checking country..."),!fn){console.log(" Check country from url.");const Dn=(sn[0]||"").trim().toLowerCase(),zt=T.B.values.find(bn=>bn.name.toLowerCase()===Dn),ii=Ge.currencyCountryMapping.mappingData?.includes(`${zt?.unique}`);if(console.log(` Country name from url (${Dn}) isValid = ${ii}`),ii)fn=zt;else if(zt&&(console.log(" Country from url is valid but does not match currency."),!_)){console.log(" Is not login. Use country from url to find currency.");const bn=N.find(Fn=>Fn.mapping?.find(Bi=>Bi.currencySettingTypeId===V.X.COUNTRY.unique)?.mappingData?.includes(`${zt.unique}`))?.currencyTypeId;if(bn){console.log(` Use country from url (${zt.unique}) find currency id (${bn})`);const Fn=re.U.getInstanceOf(bn);Fn?(console.log(" Use currency find by country from url instead: ",Fn.unique),Ge=this.findMappingsByCurrency(Fn,N),fn=zt,this.siteSettingService.setCurrencyType(U=Fn)):console.error(" Not valid currency type: ",bn)}}}if(!fn){console.log(" Check country from access info.");const Dn=T.B.getInstanceOf(we);Ge.currencyCountryMapping.mappingData?.includes(`${Dn?.unique}`)&&(fn=Dn)}if(!fn){console.log(" Check first country of currency.");const Dn=Ge.currencyCountryMapping.mappingData?.[0],zt=T.B.getInstanceOf(+Dn);zt&&(fn=zt)}if(fn?console.log(" Country checked: ",fn.unique):console.error(" No valid country.",{path:Xe,accessCountryTypeId:we}),console.log(" Checking language..."),!xt){console.log(" Check language from url.");const Dn=(sn[1]||"").trim().toLowerCase(),zt=C.t.values.find(Fn=>Fn.resourceKey.toLowerCase()===Dn),ii=Ge.currencyLanguageMapping.mappingData?.includes(`${zt?.unique}`),bn=Ge.currencyLanguageMapping.mappingData?.includes(zt?.unique);(ii||bn)&&(xt=zt)}return xt||(console.log(" Use currentLanguageType"),xt=ue),xt?console.log(" Language checked: ",xt.unique):console.error(" No valid language.",{path:Xe,accessCountryTypeId:we}),xt!==ue&&this.siteSettingService.setLanguageType(xt),(0,L.of)({countryType:fn,languageType:xt})}),(0,ot.M)(_=>{this.setCountryAndLanguage(_),this.routesInited=!0,this.mcdRouteState.set({i18nRouteInited:!0})}))}hackRoutingPathInstance(n){const o=this.getValidUrl.bind(this);Object.defineProperty(n,"link",{get:function(){return o(this._link)},configurable:!0,enumerable:!0})}hackRoutingPathType(){const o="startWithLink",d=`${o}_old`,_="registerRoutingPath",N=`${_}_old`;[li.C].forEach(U=>{U[d]||(U[d]=U[o],U[o]=ue=>U[d](this.removeCountryAndLanguageFromUrl(ue))),U[N]||(U[N]=U[_],U[_]=ue=>{this.hackRoutingPathInstance(ue),U[N](ue)}),U.values.forEach(ue=>{this.hackRoutingPathInstance(ue)})})}getUrlInfoWithDefaultUrlSerializer(n){const o=this.defaultUrlSerializer.parse(n),d=o.queryParams,_=o.fragment,N=n.match(/\(popup:(.*)\)/),U=N?N[0]:"",ue=o.toString().replace(U,""),we=(ue.split("?")[0].split("(")[0]||"").split("/").filter(Xe=>!!Xe);return{url:n,cleanUrl:ue,queryParams:d,fragment:_,segments:we,popupUrl:U}}setCountryAndLanguage(n){this.country=n.countryType,this.language=n.languageType,this.document.querySelector("html")?.setAttribute("lang",this.language.resourceKey),this.isPlatformBrowser&&localStorage.setItem("countryType",`${this.country?.unique}`)}getCountryAndLanguage(n,o){const _=this.siteSettingState.get("currencyMappingSettingModel").find(U=>U.currencyTypeId===n.unique)?.mapping?.find(U=>U.currencySettingTypeId===V.X.COUNTRY.unique)?.mappingData?.[0];return{countryType:_?T.B.getInstanceOf(+_):void 0,languageType:o}}selectCountryAndLanguage(){return(0,ro.z)([this.siteSettingState.select("currencyMappingSettingModel").pipe((0,mc.F)()),this.siteSettingState.select("currentCurrencyType").pipe((0,mc.F)()),this.siteSettingState.select("currentLanguageType").pipe((0,mc.F)())]).pipe((0,so.B)(50),(0,hn.T)(([n,o,d])=>this.getCountryAndLanguage(o,d)))}initListener(n){if(!this.listenerInited){if(this.isPlatformBrowser){const o=n.injector.get(en.Ix);this.selectCountryAndLanguage().pipe((0,Vi.i)(1),(0,ot.M)(d=>{const _=this.country?.key;this.setCountryAndLanguage(d);const N=this.getValidUrl(this.removeCountryAndLanguageFromUrl(location.href.replace(location.origin,"")));this.currentUrl.set(N),this.location.go(N),history.pushState(null,document.title,N),d.countryType?.key!==_&&this.eventQueueService.dispatch(new Ti(d))}),(0,Z.Q)(this.destroy$)).subscribe(),o.events.pipe((0,In.p)(d=>d instanceof en.L6),(0,ot.M)(()=>o.navigateByUrl(li.C.NOT_FOUND.link)),(0,Z.Q)(this.destroy$)).subscribe()}n.onDestroy(()=>{try{this.destroy$.next(),this.destroy$.complete()}catch(o){console.error(o)}}),this.listenerInited=!0}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var B0=l(47707);function Fu(a,p){const n="object"==typeof p;return new Promise((o,d)=>{const _=new B0.Ms({next:N=>{o(N),_.unsubscribe()},error:d,complete:()=>{n?o(p.defaultValue):d(new x.G)}});a.subscribe(_)})}const Ut=[en.nU,xu,{provide:en.Q0,useExisting:xu},{provide:e.hnV,useFactory:(a=(0,e.WQX)(en.Ix),p=(0,e.WQX)(xu),n=(0,e.WQX)(ce.i))=>()=>(0,Wi.H)(Promise.race([Fu(p.initRoutes(a)),Fu(n.on("isSystemMaintaining").pipe((0,In.p)(o=>!!o)))])),multi:!0},{provide:e.iLQ,useFactory:a=>p=>{a.initListener(p)},deps:[xu],multi:!0}],Gi=[{provide:e.hnV,useFactory:a=>()=>(a.set({i18nRouteInited:!0}),(0,L.of)(!0)),deps:[ja],multi:!0}];function lh(a,p){const n=p.parseUrl(a),o=n.queryParams,d=n.fragment||void 0;return n.queryParams={},n.fragment=null,{url:a,cleanUrl:n.toString(),queryParams:o,fragment:d}}const Up={provide:e.hnV,deps:[e.Agw,en.Ix,ti.p],useFactory:(a,p,n)=>()=>{let o=!1;return(0,u.UE)(a)&&p.events.pipe((0,In.p)(d=>d instanceof en.Z),(0,ot.M)(d=>{lh(p.url,p);const N=lh(d.url,p);if(N.queryParams.bonusReward&&sessionStorage.setItem("bonusReward",N.queryParams.bonusReward),!o&&N.cleanUrl===li.C.MAIN.link&&N.queryParams.bonusReward){o=!0;let U="";return U=n.get("siteSettingModel").isEnableMultipleRegisterAndLoginFeatures?li.C.REGISTERNEW_THIRDPARTY.link:li.C.REGISTER.link,void p.navigate([U],{queryParams:N.queryParams,fragment:N.fragment})}})).subscribe(),(0,L.of)(!0)},multi:!0};function ds(a){const p=[];return a.enableI18nRoute?p.push(...Ut):p.push(...Gi),p.push(TA),p.push(Up),p}var uh=l(59030),ya=l(18810),jr=l(33726),dh=l(28793),hh=l(31927);const Bl="Service workers are disabled or not supported by this browser";class Ul{constructor(p){if(this.serviceWorker=p,p){const o=(0,jr.R)(p,"controllerchange").pipe((0,hn.T)(()=>p.controller)),d=(0,uh.v)(()=>(0,L.of)(p.controller)),_=(0,dh.x)(d,o);this.worker=_.pipe((0,In.p)(Ge=>!!Ge)),this.registration=this.worker.pipe((0,on.n)(()=>p.getRegistration()));const we=(0,jr.R)(p,"message").pipe((0,hn.T)(Ge=>Ge.data)).pipe((0,In.p)(Ge=>Ge&&Ge.type)).pipe((0,hh.m)());we.connect(),this.events=we}else this.worker=this.events=this.registration=function bA(a){return(0,uh.v)(()=>(0,ya.$)(new Error(a)))}(Bl)}postMessage(p,n){return this.worker.pipe((0,$n.s)(1),(0,ot.M)(o=>{o.postMessage({action:p,...n})})).toPromise().then(()=>{})}postMessageWithOperation(p,n,o){const d=this.waitForOperationCompleted(o),_=this.postMessage(p,n);return Promise.all([_,d]).then(([,N])=>N)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(p){let n;return n="string"==typeof p?o=>o.type===p:o=>p.includes(o.type),this.events.pipe((0,In.p)(n))}nextEventOfType(p){return this.eventsOfType(p).pipe((0,$n.s)(1))}waitForOperationCompleted(p){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,In.p)(n=>n.nonce===p),(0,$n.s)(1),(0,hn.T)(n=>{if(void 0!==n.result)return n.result;throw new Error(n.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Dr=(()=>{class a{get isEnabled(){return this.sw.isEnabled}constructor(n){if(this.sw=n,this.pushManager=null,this.subscriptionChanges=new S.B,!n.isEnabled)return this.messages=Vs.t,this.notificationClicks=Vs.t,void(this.subscription=Vs.t);this.messages=this.sw.eventsOfType("PUSH").pipe((0,hn.T)(d=>d.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,hn.T)(d=>d.data)),this.pushManager=this.sw.registration.pipe((0,hn.T)(d=>d.pushManager));const o=this.pushManager.pipe((0,on.n)(d=>d.getSubscription()));this.subscription=(0,wi.h)(o,this.subscriptionChanges)}requestSubscription(n){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Bl));const o={userVisibleOnly:!0};let d=this.decodeBase64(n.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),_=new Uint8Array(new ArrayBuffer(d.length));for(let N=0;NN.subscribe(o)),(0,$n.s)(1)).toPromise().then(N=>(this.subscriptionChanges.next(N),N))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,$n.s)(1),(0,on.n)(o=>{if(null===o)throw new Error("Not subscribed to push notifications.");return o.unsubscribe().then(d=>{if(!d)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Bl))}decodeBase64(n){return atob(n)}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(Ul))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),Zo=(()=>{class a{get isEnabled(){return this.sw.isEnabled}constructor(n){if(this.sw=n,!n.isEnabled)return this.versionUpdates=Vs.t,void(this.unrecoverable=Vs.t);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Bl));const n=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:n},n)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Bl));const n=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:n},n)}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(Ul))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const fh=new e.nKC("");function qo(a,p,n,o){return()=>{if(!(0,u.UE)(o)||!("serviceWorker"in navigator)||!1===n.enabled)return;let d;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof n.registrationStrategy)d=n.registrationStrategy();else{const[N,...U]=(n.registrationStrategy||"registerWhenStable:30000").split(":");switch(N){case"registerImmediately":d=(0,L.of)(null);break;case"registerWithDelay":d=ha(+U[0]||0);break;case"registerWhenStable":d=U[0]?(0,wi.h)(Gp(a),ha(+U[0])):Gp(a);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${n.registrationStrategy}`)}}a.get(e.SKi).runOutsideAngular(()=>d.pipe((0,$n.s)(1)).subscribe(()=>navigator.serviceWorker.register(p,{scope:n.scope}).catch(N=>console.error("Service worker registration failed with:",N))))}}function ha(a){return(0,L.of)(null).pipe((0,Ss.c)(a))}function Gp(a){return a.get(e.o8S).isStable.pipe((0,In.p)(n=>n))}function Vp(a,p){return new Ul((0,u.UE)(p)&&!1!==a.enabled?navigator.serviceWorker:void 0)}class ph{}function V0(a,p={}){return(0,e.EmA)([Dr,Zo,{provide:fh,useValue:a},{provide:ph,useValue:p},{provide:Ul,useFactory:Vp,deps:[ph,e.Agw]},{provide:e.hnV,useFactory:qo,deps:[e.zZn,fh,ph,e.Agw],multi:!0}])}let ku=(()=>{class a{static register(n,o={}){return{ngModule:a,providers:[V0(n,o)]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[Dr,Zo]})}return a})();var gh=l(22741),Bu=l(43920);const Uu=new e.nKC("RELOAD_INFO_UI");var _h=l(15314),zc=l(20421);const Gu=new e.nKC(""),mh="SW_VERSION_LAST_CHECK_TIME_KEY",Vu=15*A.yr.MINUTE;let Gl=(()=>{class a{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.appRef=(0,e.WQX)(e.o8S),this.swUpdate=(0,e.WQX)(Zo,{optional:!0}),this.swPush=(0,e.WQX)(Dr,{optional:!0}),this.httpClient=(0,e.WQX)(m.Qq),this.cdnService=(0,e.WQX)(M.H),this.appStateService=(0,e.WQX)(ce.i),this.forceReloadService=(0,e.WQX)(gh.s),this.authState=(0,e.WQX)(gi.H),this.reloadInfoUi=(0,e.WQX)(Uu,{optional:!0}),this.systemMessageService=(0,e.WQX)(Nr._X),this.config=(0,e.WQX)(Gu,{optional:!0}),this.pwaApiCacheService=(0,e.WQX)(Bu.C),this.translocoService=(0,e.WQX)(b.JO),this.dialogService=(0,e.WQX)($r.o),this.siteSetting=(0,e.WQX)(ti.p),this.bridgeUtilService=(0,e.WQX)(_h.H),this.destroy$=new S.B,this.isInited=!1,this.isIOSSafari=zc.V.isIOSSafari(),this.deferredPrompt=null,this.isInstallable=!1,this.isReadyPrompt$=new P.t(!1)}init(n){this.isInited||(this.config?.enable&&(this.initPrompt(),this.initUpdateChecker(),this.initApiCacheTracker()),n.onDestroy(()=>{try{this.destroy$.next(),this.destroy$.complete()}catch(o){console.error(o)}}),this.isInited=!0)}initPushNotification(){this.siteSetting.select("siteSettingModel").pipe((0,In.p)(n=>!!n),(0,$n.s)(1),(0,ot.M)(n=>{const d=n.pushy;n.isNativeApp?this.initNativeAppPushNotification():d?this.initPushy(d.appId):console.warn("PwaService: No Pushy configuration found")}),(0,Z.Q)(this.destroy$)).subscribe()}initPushNotificationIfNeeded(){if(this.isBrowser){if(sessionStorage.getItem("pushyDeviceToken"))return void console.log("PwaService: Push notification already initialized, skipping");console.log("PwaService: Initializing push notification on demand"),this.initPushNotification()}}initNativeAppPushNotification(){console.log("PwaService: Skipping Pushy initialization and get device token form native app"),this.bridgeUtilService.sendEventToNativeApp("pushyDeviceTokenGet",{}),this.bridgeUtilService.onNativeAppEvent("pushyDeviceTokenResponse").pipe((0,Z.Q)(this.destroy$),(0,ot.M)(o=>{const d=o.payload.deviceToken;sessionStorage.setItem("pushyDeviceToken",d),console.log("PwaService: Received Pushy device token from native app",d)})).subscribe()}initPrompt(){this.isBrowser&&(window.addEventListener("pwa-install-ready",n=>{this.deferredPrompt=n.detail,this.isReadyPrompt$.next(!0),this.config?.debug&&alert("This Site Support PWA.")}),window.addEventListener("beforeinstallprompt",n=>{n.preventDefault(),this.deferredPrompt=n,this.isReadyPrompt$.next(!0)}))}promptInstall(){var n=this;return(0,s.A)(function*(){if(!n.deferredPrompt)return console.warn("\u26a0\ufe0f No deferred prompt available. :>>"),void n.isReadyPrompt$.next(!1);n.deferredPrompt.prompt(),yield n.deferredPrompt.userChoice,n.deferredPrompt=null,n.isReadyPrompt$.next(!1)})()}isCheckPrompt(){return this.isReadyPrompt$.pipe((0,hn.T)(n=>(this.isInstallable=n,!!(this.isInstallable&&this.deferredPrompt||this.isIOSSafari))))}initUpdateChecker(){if(this.isBrowser){if(!this.swUpdate||null===this.swUpdate)return void console.warn("PwaService: No SwUpdate");console.warn(`PwaService: swUpdate.isEnabled = ${this.swUpdate.isEnabled}`),this.swUpdate.unrecoverable.pipe((0,ot.M)(n=>console.error(`PwaService: swUpdate.unrecoverable, reason = ${n.reason}`)),(0,Z.Q)(this.destroy$)).subscribe(),this.swUpdate.versionUpdates.pipe((0,ot.M)(n=>console.warn(`PwaService: swUpdate.versionUpdates, type = ${n.type}`)),(0,In.p)(n=>"VERSION_READY"===n.type),(0,ot.M)(n=>{console.log("A new version is ready.",n);const o=this.config?.forceUpdateAfterCheck;console.warn({forceUpdateAfterCheck:o}),o?this.getForceUpdateTime().pipe((0,ot.M)(d=>{(this.appStateService.get("timestamp")||Date.now())<=d?this.showNewVersionNotificationThenReload():this.forceReloadService.forceReloadAfterRouterNavigation()})).subscribe():this.showNewVersionNotificationThenReload()}),(0,Z.Q)(this.destroy$)).subscribe(),this.appRef.isStable.pipe((0,$n.s)(1),(0,on.n)(()=>this.checkForUpdate({isInitial:!0})),(0,on.n)(()=>(console.log(`PwaService: App is stable. Start to check for updates every ${Vu} milliseconds.`),(0,wu.Y)(Vu))),(0,on.n)(()=>this.checkForUpdate()),(0,Z.Q)(this.destroy$)).subscribe()}}checkForUpdate(n){const o=n?.isInitial?"Initial Check: ":" ";if(!this.swUpdate)return console.warn(`PwaService: ${o}Check for update. No swUpdate`),(0,L.of)(void 0);const _=+(localStorage.getItem(mh)||"0"),N=(new Date).getTime();return N-_{this.swUpdate?.checkForUpdate().then(we=>{console.log(`PwaService: ${o}${we?"A new version is available.":"Already on the latest version."}`),ue.next(),ue.complete(),ue.unsubscribe()}).catch(we=>{console.error("PwaService: Failed to check for updates:",we),ue.error(we),ue.unsubscribe()})}))}initPushy(n){var o=this;return(0,s.A)(function*(){if(o.isBrowser){o.config?.debug&&console.log("PwaService: Initializing Pushy Web Push...");try{const{default:d}=yield l.e(9859).then(l.bind(l,99859));console.warn("PwaService: Initializing Pushy with App ID:",n);const _=yield d.register({appId:n,serviceWorkerFile:"mcdsw-worker.js"});console.warn("PwaService: Pushy device token",_),sessionStorage.setItem("pushyDeviceToken",_),o.config?.debug&&(console.log("PwaService: Pushy registration successful"),console.warn(`Pushy registered successfully!\nDevice Token: ${_}`))}catch(d){const _=d instanceof Error?d.message:String(d);console.error("Pushy register failed",_),o.config?.debug&&console.warn(`Pushy registration failed: ${_}`)}}})()}getForceUpdateTime(){return(0,L.of)(0)}showNewVersionNotificationThenReload(){this.reloadInfoUi?(0,Wi.H)(this.reloadInfoUi()).pipe((0,on.n)(n=>this.dialogService.openDialog(n,{backdropClass:"dialog-backdrop--show"}))).subscribe():this.systemMessageService.show(this.translocoService.translate("pwa.new_version_avaliable"),"",()=>location.reload())}initApiCacheTracker(){this.isBrowser&&(this.authState.select("isLogin").pipe((0,Vi.i)(1),(0,ot.M)(()=>{this.pwaApiCacheService.deletePwaApiCacheByUrl("?isLogin=undefined")}),(0,Z.Q)(this.destroy$)).subscribe(),this.authState.select("isLogin").pipe((0,ot.M)(n=>{this.pwaApiCacheService.deletePwaApiCacheByUrl(`?isLogin=${!n}`)}),(0,Z.Q)(this.destroy$)).subscribe())}showNotification(n){let o={};try{n&&"string"==typeof n.data?o=JSON.parse(n.data):n&&"object"==typeof n.data&&(o=n.data)}catch(U){console.warn("PwaService: Failed to parse data.data JSON",U)}console.warn("PwaService: Pushy notification payloadData",o);const d=o?.url||"",_=d&&""!==d;let N="";_?N=d.startsWith("http")?d:new URL(d,window.location.origin).href:console.warn("PwaService: No valid URL in notification"),console.warn("PwaService: Final notification URL:",N);try{const U={body:n.message||"New message",icon:"/favicon.ico",tag:"notification",requireInteraction:!0,silent:!0,data:_?{onActionClick:{default:{operation:"openWindow",url:N}},url:N}:{onActionClick:{default:{operation:"focusLastFocusedOrOpen",url:window.location.href}},url:window.location.href}};console.warn("PwaService: Showing Pushy notification",n);const ue=new Notification(n.title||"Notification",U);ue.onclick=we=>{console.log("PwaService: notification clicked",we),ue.close(),window.focus();const Xe=we.target.data?.url;console.log("Clicked URL:",Xe),Xe&&window.open(Xe,"_blank")},ue.onclose=()=>{console.log("PwaService: Pushy notification closed")},ue.onerror=we=>{console.error("PwaService: Pushy notification error:",we)},console.log("PwaService: Pushy notification displayed")}catch(U){console.error("PwaService: Error showing Pushy notification:",U)}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var Ds=l(79336);let vh=(()=>{class a{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.pwaApiCacheService=(0,e.WQX)(Bu.C)}intercept(n,o){return"get"===n.method.toLowerCase()&&n.url.includes("/api/bt/")||n.url.includes("/api/wv/")?this.pwaApiCacheService.isDeletingCache$.pipe((0,In.p)(d=>!d),(0,$n.s)(1),(0,on.n)(()=>o.handle(n).pipe((0,ot.M)(d=>{this.isBrowser&&d instanceof m.cS&&((d.body?.status===Ds.m.IP_BLOCK_BAN_COUNTRY.statusCode||d.body?.status===Ds.m.SYSTEM_MAINTAIN.statusCode)&&this.pwaApiCacheService.deletePwaApiCacheByUrl(n.urlWithParams),(d.body?.status!==Ds.m.MUST_BE_LOGIN.statusCode||!n.urlWithParams.includes("isLogin=undefined"))&&d.body?.status!==Ds.m.SUCCESS.statusCode&&this.pwaApiCacheService.deletePwaApiCacheByUrl(n.urlWithParams))})))):o.handle(n)}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();function $0(a){return[{provide:Gu,useValue:a},Gl,{provide:e.iLQ,useFactory:p=>n=>{p.init(n)},deps:[Gl],multi:!0},{provide:m.a7,useClass:vh,multi:!0}]}let Ir=(()=>{class a{static forRoot(n){let o=[];return n?.enable&&(o=[...ku.register(n?.useMcdSw?"mcdsw-worker.js":"ngsw-worker.js",{enabled:n?.enable,registrationStrategy:"registerImmediately"}).providers||[],...$0(n)]),{ngModule:a,providers:o}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,ku]})}return a})(),Cc=(()=>{class a{static forRoot(){return{ngModule:a,providers:[ce.i,{provide:e.iLQ,useFactory:n=>o=>n.registerBootstrap(o),deps:[ce.i],multi:!0}]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})(),_s=(()=>{class a{constructor(){this.ngZone=(0,e.WQX)(e.SKi),this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.cdnService=(0,e.WQX)(M.H),this.authState=(0,e.WQX)(gi.H),this.siteSetting=(0,e.WQX)(ti.p),this.customEnvironment=(0,e.WQX)(w.n),this.eventQueueService=(0,e.WQX)(He.n),this.api=null,this.isInited=null,this.isInited$=new P.t(this.isInited),this.destroy$=new S.B}init(n){if(!this.isInited){if(!this.isPlatformBrowser)return void this.isInited$.next(this.isInited=!1);this.ngZone.onStable.pipe((0,$n.s)(1),(0,on.n)(()=>this.loadJs()),(0,on.n)(()=>this.start()),(0,ot.M)(()=>{this.isInited$.next(this.isInited=!0),this.eventQueueService.on(xl.j).pipe((0,ot.M)(o=>{this.start(),this.api&&o.payload&&this.api.sendUserInfo({website:o.payload.website,userid:o.payload.userid,game_vendor:o.payload.game_vendor})})).subscribe()}),(0,R.W)(o=>(console.error(o),this.isInited$.next(this.isInited=!1),Vs.t)),(0,on.n)(()=>this.authState.select("isLogin")),(0,ot.M)(()=>this.update()),(0,Z.Q)(this.destroy$)).subscribe(),n.onDestroy(()=>{this.isInited$.complete(),this.isInited$.complete(),this.destroy$.next(),this.destroy$.complete()})}}loadJs(){return new vc.c(n=>{const o=this.cdnService.useWithServer("./assets/js/jbl.js"),d=document.createElement("script");d.id="jbl-script",d.async=!0,d.src=o,d.addEventListener("load",()=>{this.api=JBLWebSocket,n.next(),n.complete(),n.unsubscribe()}),d.addEventListener("error",_=>{n.error(_)}),document.head.insertBefore(d,document.head.firstChild)})}start(){if(this.api){const n=this.getProjectHashCode();this.api.connect(n)}return(0,L.of)(void 0)}getProjectHashCode(){const n=this.customEnvironment?.jblProjectKey;return"string"==typeof n&&""!==n.trim()?n:this.customEnvironment.production?"be2f9e64c6f05139160f4e6ab4bef5e0":"db40b1da40b2c8f6e364be1f8bb7e6e4"}update(){this.api&&this.api.upsert(window.location.hostname,this.authState.get("accountInfo")?.userId||"",this.siteSetting.get("siteSettingModel")?.isNativeApp?"Mobile":"WEB","","")}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();function $p(a){return[_s,{provide:e.iLQ,useFactory:(p,n)=>o=>{(0,u.UE)(p)&&setTimeout(()=>{n.init(o)},a||2e3)},deps:[e.Agw,_s],multi:!0}]}var Dc=l(93166),Wp=l(27468),Ic=l(11586),Vl=l(48055),Ta=l(20897),Oo=l(29405),Eh=l(37380),$u=l(86646);let $l=(()=>{class a{constructor(){this.appStateService=(0,e.WQX)(ce.i),this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw))}init(){return this.isBrowser?zc.V.isIOS()?this.detectVideoAndSetState().pipe((0,ot.M)(()=>{setInterval(()=>{this.detectVideoAndSetState()},1e4)})):(this.appStateService.set("canAutoPlayVideo",!0),(0,L.of)(void 0)):(0,L.of)(void 0)}detectVideoAndSetState(){this.removeVideo();const n=document.createElement("video");n.id="detect-video",n.muted=!0,n.playsInline=!0,n.autoplay=!0,n.style.display="none";const o=document.createElement("source");o.src="/assets/images/animation/ios-detect-source.mov",o.type="video/quicktime";const d=document.createElement("source");return d.src="/assets/images/animation/ios-detect-source.webm",d.type="video/webm",n.appendChild(o),n.appendChild(d),document.body.append(n),new vc.c(N=>{let U=!1;const ue=function(){U||(N.next(),N.complete(),U=!0)};n.play().then(()=>{this.appStateService.set("canAutoPlayVideo",!0),ue()}).catch(we=>{we?.toString().includes("NotAllowedError")?this.appStateService.set("canAutoPlayVideo",!1):this.appStateService.set("canAutoPlayVideo",!0),ue()}),setTimeout(()=>{U||(this.appStateService.set("canAutoPlayVideo",!0),ue())},1e3)})}removeVideo(){const n=document.getElementById("detect-video");n&&n.remove()}createCheckVideoScript(){if(this.isBrowser)return;const n=document.createElement("script");n.type="text/javascript",n.innerHTML="\n const container = document.querySelector('.loader-box > .movie-box');\n\n if (container) {\n container.style.display = 'none';\n }\n\n const testingVideo = document.createElement('video');\n testingVideo.id = 'detect-video-render';\n testingVideo.muted = true;\n testingVideo.playsInline = true;\n testingVideo.autoplay = true;\n testingVideo.style.display = 'none';\n\n const movSource = document.createElement('source')\n movSource.src = '/assets/images/animation/ios-detect-source.mov';\n movSource.type = 'video/quicktime';\n\n const webmSource = document.createElement('source')\n webmSource.src = '/assets/images/animation/ios-detect-source.webm';\n webmSource.type = 'video/webm';\n\n testingVideo.appendChild(movSource);\n testingVideo.appendChild(webmSource);\n document.body.append(testingVideo);\n\n const ending = function () {\n testingVideo.remove();\n if (container) {\n container.style.display = 'block';\n }\n }\n\n testingVideo.play().then(() => {\n ending();\n }).catch((error) => {\n if (error?.toString().includes('NotAllowedError')) {\n const originVideo = document.querySelector('.loader-box > .movie-box > video');\n originVideo?.remove();\n\n if (container) {\n const img = document.createElement('img');\n img.src = '/assets/images/animation/loader.png';\n img.style.width = '80px';\n container.appendChild(img);\n }\n }\n ending();\n })\n ",document.querySelector(".loader-box > .movie-box")?.appendChild(n)}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Wl=(()=>{class a{constructor(){if(this._defaultTypeList=[],this._typeList=new Set,this._model={userAgent:"",entryList:[]},![typeof window,typeof document].includes("undefined")&&"PerformanceObserver"in window){for(const n of PerformanceObserver.supportedEntryTypes)this._defaultTypeList.push(n);this._model={...this._model,userAgent:window.navigator.userAgent,initMemory:performance?.memory??null},this._observer=new PerformanceObserver((n,o)=>{this._model.entryList.push(...n.getEntries()),n.getEntries().forEach(d=>{("largest-contentful-paint"===d.entryType||"longtask"===d.entryType||"first-contentful-paint"===d.entryType)&&this.resetStabilityTimeout()})});for(const n of this._defaultTypeList)this._observer.observe({type:n,buffered:!0}),this._typeList.add(n);this.resetStabilityTimeout(),window.getStore=this.getStore.bind(this)}}resetStabilityTimeout(){this._stabilityTimeout&&clearTimeout(this._stabilityTimeout),this._stabilityTimeout=setTimeout(()=>{console.log("performance :>> ","stabilityDisconnect"),this.setMark("mark:stabilityDisconnect"),clearTimeout(this._manualTimeout),this.disconnect()},3e3)}autoDisconnectAfter30s(){this._manualTimeout=setTimeout(()=>{console.log("performance :>> ","autoDisconnect"),this.setMark("mark:autoDisconnect"),clearTimeout(this._stabilityTimeout),this.disconnect()},3e4)}addType(n){for(const o of n)this._typeList.has(o)||(this._observer.observe({type:o,buffered:!0}),this._typeList.add(o))}disconnect(){this._observer&&(this._model.disconnectMemory=performance?.memory??null,this._model.entryList.push(...this.takeRecords()),this._observer.disconnect())}setMark(n){this._observer&&performance.mark(n)}setMeasure(n,o,d){this._observer&&performance.measure(n,o,d)}getStore(){return{...this._model,entryList:[...this._model.entryList.sort((n,o)=>n.startTime-o.startTime)]}}takeRecords(){try{return this._observer.takeRecords()}catch(n){return console.error(n),[]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();const Ch={provide:e.iLQ,multi:!0,deps:[en.Ix,Wl],useFactory:(a,p)=>(a.events.pipe((0,In.p)(n=>n instanceof en.wF),(0,$n.s)(1),(0,ot.M)(()=>{p.setMark("mark:firstNagitaionEnd")})).subscribe(),n=>{(0,e.mal)(()=>{p.setMark("mark:afterNextRender"),p.autoDisconnectAfter30s()},{injector:n.injector})})},Hp=["/open-game"];let Dh=(()=>{class a{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw))}shouldSkipAppInit(){return!!this.isBrowser&&this.isShouldSkipInitRoute(location.href)}isShouldSkipInitRoute(n){return 0!==Hp.filter(d=>{const _=n.indexOf(d),N=n[_+d.length];return!(_<0||"-"===N||"_"===N)}).length}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var ys=l(55918),Jc=l(12498);const ba=function(a){let p;try{const n=localStorage.getItem(a);n&&(p=n)}catch{return p}return p},K0=[{provide:e.hnV,multi:!0,deps:[e.zZn,e.Agw,u.aZ,ce.i,Ic.q,ch.D,as.uR,b.JO,Vl.W,Dh,Ta.W,$u._,$l,_h.H,Wl,gi.H,ti.p,ja],useFactory:(a,p,n,o,d,_,N,U,ue,we,Ge,Xe,sn,fn,xt,Dn,zt,ii)=>()=>{xt.setMark("mark:mcdinit:start");const bn=a.get(w.n),Fn=(0,u.UE)(p);if(console.log("App initializing...",n.path(!0)),Fn){!function H0(){const a=document.querySelector("html"),p=document.querySelector("body"),o="is-mobile",d="is-desktop";a.classList.remove(o,d),a.style.removeProperty("--is-desktop"),a.style.setProperty("--is-desktop",Dc.U.isMobileBrowser()?"0":"1"),Dc.U.isMobileBrowser()?a.classList.add(o):(a.classList.add(d),a.style.setProperty("font-size","3.75px"),p.style.setProperty("font-size","16px"))}();const Vn=document.querySelector("mcd-root")||document.querySelector("mcd-app-wrapper");Vn&&Xe.detectElementChanges(Vn)}else o.set("prerenderPath",n.path());if(we.shouldSkipAppInit()){console.log("Skip App Init."),Dn.set({isLogin:!1});const Vn=re.U.getInstanceOf(+ba("currencyType")),ni=C.t.getInstanceOf(+ba("languageType")),bi=T.B.getInstanceOf(+ba("countryType")),ar=[{currencyTypeId:Vn?.unique,isMaintain:!1,mapping:[{currencySettingTypeId:V.X.CURRENCY.unique,mappingData:[`${Vn.unique}`]},{currencySettingTypeId:V.X.LANGUAGE.unique,mappingData:[`${ni.unique}`]},{currencySettingTypeId:V.X.COUNTRY.unique,mappingData:[`${bi.unique}`]}]}];return zt.set({accessCountryTypeId:bi.unique,currentCurrencyType:Vn,currentLanguageType:ni,currencyMappingSettingModel:ar,currencyMappingSettingModelInMarket:ar}),_.setCurrencyType(Vn),_.setLanguageType(ni),(0,L.of)(!0)}if(Fn){const Vn=new URLSearchParams(window.location.search);if("true"===Vn.get("isNativeApp")){d.markAsNativeApp();const bi=Vn.get("appNameCookie");bi&&(document.cookie=`appNameCookie=${bi}; path=/`)}}const Bs=(0,L.of)(void 0).pipe((0,on.n)(()=>(xt.setMark("mark:mcdinit:step0:start"),Fn?(0,L.of)(void 0).pipe((0,on.n)(()=>{const ni=new URLSearchParams(location.search).get("tk");return ni?N.decryptToken(ni).pipe((0,ot.M)(bi=>{if(bi.status!==Ds.m.SUCCESS.statusCode)throw new Error(bi.message);bi&&bi.data?.tk&&Ge.setToken({accessToken:bi.data.tk,refreshToken:""})}),(0,R.W)(bi=>(console.error("decryptToken Error: ",bi),(0,L.of)(void 0))),(0,ot.M)(()=>{location.assign("/")}),(0,on.n)(()=>Vs.t)):(0,L.of)(void 0)})):(console.log("Skip decryptToken in server side."),(0,L.of)(void 0)))),(0,on.n)(()=>(console.log(" step 1. Check login..."),xt.setMark("mark:mcdinit:step0:end"),xt.setMeasure("measure:mcdinit:step0","mark:mcdinit:step0:start","mark:mcdinit:step0:end"),xt.setMark("mark:mcdinit:step1:start"),Fn&&localStorage.getItem(Oo.v)?(0,L.of)(void 0).pipe((0,on.n)(()=>N.checkLogin({skipHttpErrorHandle:!0}).pipe((0,on.n)(Vn=>{if(Vn?.status===Ds.m.SUCCESS.statusCode||Vn?.status===Ds.m.MUST_BE_LOGIN.statusCode||Vn?.status===Ds.m.IP_BLOCK_BAN_COUNTRY.statusCode||Vn?.status===Ds.m.BRAND_MAINTAIN.statusCode)return(0,L.of)(Vn);let ni=Vn?.message;switch(Vn?.status){case Ds.m.TOKEN_INACTIVE.statusCode:ni="Sorry! Please re-login.";break;case Ds.m.ACCOUNT_IS_INACTIVED.statusCode:ni="Sorry! Your account is inactivated.";break;case Ds.m.ACCOUNT_IS_LOCK.statusCode:ni="Sorry! Your account is locked.";break;default:ni=`Sorry! Error occurred. Code: [${Vn?.status||"unknown"}].`}return(0,ya.$)(()=>new Error(ni))}))),(0,Jc.L)(1),(0,R.W)(Vn=>(Ge.clearToken(),Dn.set({isLogin:!1,accountInfo:void 0}),Fn&&(alert(Vn.message||"Sorry! Please re-login."),location.reload()),(0,ya.$)(()=>Vn)))):(Dn.set({isLogin:!1,accountInfo:void 0}),(0,L.of)(void 0)))),(0,on.n)(()=>(console.log(" step 2. Get playerInfo..."),xt.setMark("mark:mcdinit:step1:end"),xt.setMeasure("measure:mcdinit:step1","mark:mcdinit:step1:start","mark:mcdinit:step1:end"),xt.setMark("mark:mcdinit:step2:start"),Dn.select("isLogin").pipe((0,$n.s)(1),(0,on.n)(Vn=>Vn?Dn.select("accountInfo").pipe((0,$n.s)(1)):(0,L.of)(null))))),(0,on.n)(Vn=>(console.log(" step 3. Get currency mapping..."),xt.setMark("mark:mcdinit:step2:end"),xt.setMeasure("measure:mcdinit:step2","mark:mcdinit:step2:start","mark:mcdinit:step2:end"),xt.setMark("mark:mcdinit:step3:start"),d.getCurrencyMapping().pipe((0,hn.T)(ni=>({...ni,currencyMapping:a.get(A.BB,!1)?ni.currencyMapping.filter(bi=>!bi.isMaintain):ni.currencyMapping})),(0,hn.T)(ni=>({currencyMappingWithAccessSetting:ni,playerInfo:Vn})),(0,R.W)(ni=>{let bi="Unknown error";return ni&&"object"==typeof ni?bi=`[${ni.status||""}] ${ni.message||ni.error||""}`:"string"==typeof ni&&(bi=ni),(0,ya.$)(()=>new Error(bi))})))),(0,ot.M)(({currencyMappingWithAccessSetting:Vn,playerInfo:ni})=>{console.log(" step 4. Check currency..."),xt.setMark("mark:mcdinit:step3:end"),xt.setMeasure("measure:mcdinit:step3","mark:mcdinit:step3:start","mark:mcdinit:step3:end"),xt.setMark("mark:mcdinit:step4:start");const bi=ni?.currencyTypeId,ar=+(ba("currencyType")||""),Xr=+(ba("languageType")||""),Ou=Vn.accessCountryTypeId,Mo=Vn.accessCurrencyTypeId,Ca=Vn.currencyMapping,Fa=Fn?Ca.filter(Ts=>(Ts.mapping.find(Da=>Da.currencySettingTypeId===V.X.MARKET.unique)?.mappingData||[]).includes(bn.market)):Ca;let xr;if(console.log(" Check currency..."),xr=bi,ni?Fa.find(ps=>ps.currencyTypeId===bi)?xr=bi:console.log(` No valid currency mapping of currency type id from player: ${ar}`):console.log(" PlayerInfo does not exist."),xr||(console.log(" Check currency from localStorage."),Fa.find(ps=>ps.currencyTypeId===ar)?xr=ar:console.log(` No valid currency mapping of currency type id from local storage: ${ar}`)),xr||(console.log(" Check currency from access info."),Fa.find(ps=>ps.currencyTypeId===Mo)?xr=Mo:console.log(` No valid currency mapping of currency type id from access info: ${ar}`)),Fn){console.log(" Check currency from market url.");const ps=new URLSearchParams(window.location.search).get("marketCurrency");ps?xr=+ps:console.log(" No valid marketCurrency")}xr||(console.warn("Cannot decide currency, use first currency in market.",{playerInfoCurrencyTypeId:bi,localStorageCurrencyTypeId:ar,accessCurrencyTypeId:Mo}),xr=Fa[0].currencyTypeId);const Bn=re.U.getInstanceOf(xr);if(!Bn)throw new Error(`No valid currency type, currencyTypeId: ${xr}`);console.log(" Currency checked: ",Bn.unique);const Zn=Fa.find(Ts=>Ts.currencyTypeId===Bn.unique);if(!Zn)throw new Error(`No valid currency mapping, currency type id: ${Bn.unique}`);const si=Zn.mapping?.find(Ts=>Ts.currencySettingTypeId===V.X.LANGUAGE.unique);if(!si)throw new Error(`No valid currency-language mapping, currency type id: ${Bn.unique}`);let Pi;if(console.log(" Check language..."),Pi||(console.log(" Check language from localStorage."),Xr&&si.mappingData?.includes(`${Xr}`)&&(Pi=Xr)),Fn){console.log(" Check lang from market url.");const ps=new URLSearchParams(window.location.search).get("marketLang");ps?xr=+ps:console.log(" No valid marketLang")}if(!Pi){const Ts=Zn.mapping?.find(ps=>ps.currencySettingTypeId===V.X.DEFAULT_LANGUAGE.unique)?.mappingData?.[0]||si.mappingData?.[0];console.warn("Cannot decide language, use default language setting.",{localStorageLanguageTypeId:Xr},"Default language id: ",Ts),Ts&&(Pi=+Ts)}const Us=C.t.getInstanceOf(Pi||0);if(!Us)throw new Error(`No valid language type, languageTypeId: ${Pi}`);console.log(" Language checked: ",Us.unique),zt.set({currencyMappingSettingModel:Ca,currencyMappingSettingModelInMarket:Fa,accessCountryTypeId:Ou,accessCurrencyTypeId:Mo}),_.setCurrencyType(Bn),_.setLanguageType(Us),xt.setMark("mark:mcdinit:step4:end"),xt.setMeasure("measure:mcdinit:step4","mark:mcdinit:step4:start","mark:mcdinit:step4:end")}),(0,on.n)(()=>(xt.setMark("mark:mcdinit:step5:start"),ii.select("i18nRouteInited").pipe((0,In.p)(Vn=>!!Vn),(0,$n.s)(1)))),(0,on.n)(()=>(xt.setMark("mark:mcdinit:step5:end"),xt.setMeasure("measure:mcdinit:step5","mark:mcdinit:step5:start","mark:mcdinit:step5:end"),xt.setMark("mark:mcdinit:step5.5:start"),_.continueIfMarketIsValid())),(0,on.n)(()=>(xt.setMark("mark:mcdinit:step5.5:end"),xt.setMeasure("measure:mcdinit:step5.5","mark:mcdinit:step5.5:start","mark:mcdinit:step5.5:end"),xt.setMark("mark:mcdinit:step6:start"),d.getSiteSetting().pipe((0,ot.M)(Vn=>{if(zt.set({siteSettingModel:Vn}),(0,u.UE)(p)){const ni=document.head.querySelector('link[rel="manifest"]');if(ni&&document.head.removeChild(ni),Vn.PWASetting&&!0===Vn.PWASetting.enabled){const bi=window.location.origin,ar=zt.get("currentCurrencyType").name,Xr=document.createElement("link");Xr.rel="manifest",Xr.href=bi+"/"+ar+"/manifest.json",document.head.appendChild(Xr)}}})))),(0,on.n)(()=>(xt.setMark("mark:mcdinit:step6:end"),xt.setMeasure("measure:mcdinit:step6","mark:mcdinit:step6:start","mark:mcdinit:step6:end"),xt.setMark("mark:mcdinit:step7:start"),zt.select("currentLanguageType").pipe((0,$n.s)(1),(0,on.n)(Vn=>(0,L.of)(void 0).pipe((0,on.n)(()=>(U.setFallbackLangForMissingTranslation({fallbackLang:Vn.resourceKey}),U.selectTranslation(Vn.resourceKey))),(0,ot.M)(()=>ue.setActiveLang(Vn))))))),(0,ot.M)(()=>{xt.setMark("mark:mcdinit:step7:end"),xt.setMeasure("measure:mcdinit:step7","mark:mcdinit:step7:start","mark:mcdinit:step7:end"),xt.setMark("mark:mcdinit:step8:start"),bn.production&&ys.gsap.config({nullTargetWarn:!1}),xt.setMark("mark:mcdinit:step8:end"),xt.setMeasure("measure:mcdinit:step8","mark:mcdinit:step8:start","mark:mcdinit:step8:end")}),(0,on.n)(()=>(xt.setMark("mark:mcdinit:step9:start"),sn.init())),(0,hn.T)(()=>(xt.setMark("mark:mcdinit:step9:end"),xt.setMeasure("measure:mcdinit:step9","mark:mcdinit:step9:start","mark:mcdinit:step9:end"),!0)),(0,ot.M)(()=>{xt.setMark("mark:mcdinit:end"),xt.setMeasure("measure:mcdinit","mark:mcdinit:start","mark:mcdinit:end"),console.warn("App Init Finish!"),Fn&&fn.sendWebStateMessage("appInit")}));return(0,Wi.H)(Promise.race([Fu(Bs).then(()=>!0),Fu(o.on("isSystemMaintaining").pipe((0,In.p)(Vn=>!!Vn))).then(()=>!1)])).pipe((0,ot.M)(Vn=>{console.log("isSuccess",Vn)}))}},{provide:e.iLQ,multi:!0,deps:[e.Agw,ti.p,Eh.e],useFactory:(a,p,n)=>o=>{const d=(0,u.UE)(a);d&&p.select("siteSettingModel").pipe((0,Vi.i)(1),(0,ot.M)(_=>{n.cdnDomain=_?.cdnDomain||"",d&&localStorage.setItem("cdnDomain",n.cdnDomain)})).subscribe()}},Ch];let Y0=(()=>{class a{static forRoot(n){return{ngModule:a,providers:[as.P9,as.jZ,{provide:e.iLQ,useFactory:o=>()=>(o.init(),(0,L.of)(!0)),deps:[as.P9],multi:!0},{provide:e.iLQ,useFactory:o=>()=>(o.init(),(0,L.of)(!0)),deps:[as.jZ],multi:!0},...n||[]]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})(),MA=(()=>{class a{static forRoot(n){return{ngModule:a,providers:[Vl.W,{provide:e.iLQ,useFactory:(o,d,_)=>N=>{if(!(0,u.UE)(o))return;const U=(0,wi.h)(d.select("currentLanguageType").pipe((0,Vi.i)(1),(0,ot.M)(ue=>_.setActiveLang(ue)),(0,hn.T)(()=>"language")),d.select("currentCurrencyType").pipe((0,Vi.i)(1),(0,Ss.c)(30),(0,hn.T)(()=>"currency"))).pipe((0,so.B)(50),(0,ot.M)(ue=>_.refresh(ue))).subscribe();N.onDestroy(()=>{try{U?.unsubscribe()}catch(ue){console.error(ue)}})},deps:[e.Agw,ti.p,Vl.W],multi:!0},...n||[]]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})(),jp=null;const X0=(a,p,n,o,d)=>_=>{if(!(0,u.UE)(a))return;const N=(0,wi.h)(p.select("isLogin").pipe((0,Vi.i)(1),(0,Ss.c)(50),(0,on.n)(()=>function(a,p,n){const o=a.getCurrencyMapping(),d=p.getCurrentCurrencySetting();return(n?d&&d.length>0?(0,L.of)({currencyMapping:d}):o:jp?(0,L.of)(jp):o.pipe((0,ot.M)(N=>jp=N))).pipe((0,ot.M)(N=>{p.setCurrencyLanguageToState(N.currencyMapping)}))}(n,o,(0,u.UE)(a)))),(0,wi.h)(d.select("currentCurrencyType").pipe((0,Vi.i)(1)),d.select("currentLanguageType").pipe((0,Vi.i)(1))).pipe((0,so.B)(50))).pipe((0,on.n)(()=>function(a,p){return a.getSiteSetting().pipe((0,ot.M)(n=>{p.set({siteSettingModel:n})}))}(n,d)),(0,ot.M)(()=>{const U=d.get("siteSettingModel").PWASetting;if((0,u.UE)(a)){const ue=document.head.querySelector('link[rel="manifest"]');if(ue&&document.head.removeChild(ue),U&&!0===U.enabled){const we=window.location.origin,Ge=d.get("currentCurrencyType").name,Xe=document.createElement("link");Xe.rel="manifest",Xe.href=we+"/"+Ge+"/manifest.json",document.head.appendChild(Xe)}}})).subscribe();_.onDestroy(()=>{try{N?.unsubscribe()}catch(U){console.error(U)}})},jl=(a,p,n)=>()=>p.select("isLogin").pipe((0,$n.s)(1)).pipe((0,ot.M)(o=>{(0,u.UE)(a)&&n.events.pipe((0,In.p)(d=>d instanceof en.Z),(0,$n.s)(1)).subscribe(d=>{!o||!p.get("accountInfo").isResetPassword||d.url===li.C.CHANGE_PASSWORD.link||n.navigate([li.C.CHANGE_PASSWORD.link])})}),(0,hn.T)(()=>!0)),Oh=(a,p,n)=>o=>{if(!(0,u.UE)(a))return;const d=n.events.pipe((0,In.p)(_=>_ instanceof en.wF),(0,on.n)(()=>p.select("accountInfo").pipe((0,$n.s)(1))),(0,In.p)(_=>!!_.isResetPassword),(0,ot.M)(()=>{const _=n.url;if(_===li.C.CHANGE_PASSWORD.link)return;const N=n.getCurrentNavigation();/popup:member\/change-password/.test(_)&&N?.previousNavigation?.extractedUrl.root.children?.popup||setTimeout(()=>{n.navigate([li.C.CHANGE_PASSWORD.link])},1e3)})).subscribe();o.onDestroy(()=>{try{d?.unsubscribe()}catch(_){console.error(_)}})};let Wu=(()=>{class a{static forRoot(n){return{ngModule:a,providers:[{provide:e.iLQ,useFactory:X0,deps:[e.Agw,gi.H,Ic.q,ch.D,ti.p],multi:!0},{provide:e.hnV,useFactory:jl,deps:[e.Agw,gi.H,en.Ix],multi:!0},{provide:e.iLQ,useFactory:Oh,deps:[e.Agw,gi.H,en.Ix],multi:!0},...n||[]]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})();var Q0=l(25586),Zc=function(a){return a.CUSTOM_META="custommeta",a.TRUE="true",a}(Zc||{});const Kp={"vn/vn":"vi-VN","cn/cn":"zh-CN","my/ma":"ms-MY"},z0=new e.nKC("GET_JSON_LD");var Vo=function(a){return a[a.META=0]="META",a[a.LINK=1]="LINK",a}(Vo||{});let Yp=(()=>{class a{constructor(){this.initialed=!1,this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.meta=(0,e.WQX)(h.W8),this.title=(0,e.WQX)(h.hE),this.siteSettingState=(0,e.WQX)(ti.p),this.skipAppInitChecker=(0,e.WQX)(Dh),this.appStateService=(0,e.WQX)(ce.i),this.customEnvironment=(0,e.WQX)(w.n),this.location=(0,e.WQX)(u.aZ),this.document=(0,e.WQX)(u.qQ),this.getJsonLd=(0,e.WQX)(z0,{optional:!0}),this.checkCurrencyLang$=(0,ro.z)([this.siteSettingState.select("currentCurrencyType"),this.siteSettingState.select("currentLanguageType")]).pipe((0,ot.M)(([n,o])=>{this.getJsonLd&&this.addJsonLdToDom(JSON.stringify(this.getJsonLd(n,o)))}),(0,ui.pQ)()),this.map_LandingPageType_SeoSettingModel=new Map,this.map_LandingPageType_SeoLinkSettingModel=new Map,this.metaSelectorKeyword="name='keywords'",this.metaSelectorDescription="name='description'",this.destroy$=new S.B}checkSeoSetting(){return this.siteSettingState.select("siteSettingModel").pipe((0,$n.s)(1),(0,hn.T)(n=>n?.pageSeoData||[]),(0,ot.M)(n=>this.initMap_LandingPageType_SeoSettingModel(n)))}initMap_LandingPageType_SeoSettingModel(n){n=n||[],this.map_LandingPageType_SeoSettingModel.clear(),this.map_LandingPageType_SeoLinkSettingModel.clear();for(const o of n){const d=Q0.J.getInstanceOf(o.pageTypeId);if(!d){console.warn(`PageSeoService.initMap_LandingPageType_SeoSettingModel(), cannot find landingPageType, seoSettingModel.pageTypeId=[${o.pageTypeId}]`);continue}const _=o.defaultSEOList?.find(bn=>"title"===bn.attribute)?.value||"",N=o.defaultSEOList?.find(bn=>"keywords"===bn.attribute),U=N?.value?{name:"keywords",content:N.value}:null,ue=o.defaultSEOList?.find(bn=>"description"===bn.attribute),we=ue?.value?{name:"description",content:ue.value}:null,Ge=new Map,Xe=[],sn=o.pageSEOList.filter(bn=>bn.tag===Vo.META)||[];for(const bn of sn){const Fn=bn.displayOrder,Bi=bn.contentNo;Xe[Fn]=(Xe[Fn]||new Set).add(Bi);const Vn=Ge.get(Bi)||[];Ge.set(Bi,[...Vn,bn])}const fn=Xe.reduce((bn,Fn)=>[...bn,...Array.from(Fn||[]).map(Bs=>Ge.get(Bs)?.reduce((Vn,ni)=>({...Vn,[ni.attribute]:ni.value}),{})||{})],[]);this.map_LandingPageType_SeoSettingModel.set(d,{seoSettingModel:o,title:_,metaKeywords:U,metaDescription:we,pageSeoMetaDefinitionList:fn});const xt=o.pageSEOList.filter(bn=>bn.tag===Vo.LINK).sort((bn,Fn)=>bn.displayOrder-Fn.displayOrder),Dn=Array.from(new Set(xt.map(bn=>bn.contentNo))),zt=xt.reduce((bn,{contentNo:Fn,attribute:Bi,value:Bs})=>(bn[Fn.toString()]||(bn[Fn.toString()]={[Bi]:Bs}),bn[Fn]=Object.assign(bn[Fn],{[Bi]:Bs}),bn),{}),ii=Dn.map(bn=>zt[bn.toString()]);this.map_LandingPageType_SeoLinkSettingModel.set(d,ii)}}checkPageSeo(n){if(this.clearSeo(),this.customEnvironment.donotPrerenderRootTitle&&!this.isBrowser&&""===this.appStateService.get("prerenderPath"))return;const o=this.getUrlWithoutParams(n);let d=li.C.startWithLink(o);if(d===li.C.TERMS&&(d=this.extractRoutingPathType(o)),!d)return void console.error(`PageSeoService.handleSeo(), cannot find routingPathType, url=[${o}]`);const _=d.landingPageType;_?(this.applySeoOnPage(_),this.applySeoLinkOnPage(_)):console.error(`PageSeoService.handleSeo(), cannot find landingPageType, url=[${o}], routingPathType.key=[${d.key}]`)}initSeoListener(n){if(this.initialed||this.skipAppInitChecker.shouldSkipAppInit())return;const d=n.injector.get(en.Ix);(0,wi.h)(d.events.pipe((0,In.p)(_=>_ instanceof en.wF)),this.siteSettingState.select().pipe((0,on.n)(()=>this.checkSeoSetting()))).pipe((0,so.B)(100),(0,ot.M)(()=>{this.checkPageSeo(d),this.setLinkWithHreflang(this.location,this.document)}),(0,Z.Q)(this.destroy$)).subscribe(),this.checkCurrencyLang$.subscribe(),n.onDestroy(()=>{this.destroy$.next(),this.destroy$.complete()}),this.initialed=!0}clearSeo(){if(!this.isBrowser)return;this.title.setTitle(""),this.meta.removeTag(this.metaSelectorKeyword),this.meta.removeTag(this.metaSelectorDescription);const o=document.querySelectorAll(`meta[${Zc.CUSTOM_META}='${Zc.TRUE}']`);o.length>0&&o.forEach(d=>{d?.parentNode?.removeChild(d)})}getUrlWithoutParams(n){const o=n.parseUrl(n.url);return o.queryParams={},o.fragment=null,o.toString()}applySeoOnPage(n){const o=this.map_LandingPageType_SeoSettingModel.get(n);if(!o)return void console.warn(`PageSeoService.applySeoOnPage(), cannot find seoMetaInfo by landingPageType=[${n?.unique}]`);if(o.title)try{this.title.setTitle(o.title)}catch(N){console.error(N)}if(o.metaKeywords)try{this.meta.updateTag(this.getMarkedMeta(o.metaKeywords),this.metaSelectorKeyword)}catch(N){console.error(N)}if(o.metaDescription)try{this.meta.updateTag(this.getMarkedMeta(o.metaDescription),this.metaSelectorDescription)}catch(N){console.error(N)}const d=this.map_LandingPageType_SeoSettingModel.get(Q0.J.ALL)?.pageSeoMetaDefinitionList||[];for(const N of d)try{this.meta.addTag(this.getMarkedMeta(N))}catch(U){console.error(U)}const _=o.pageSeoMetaDefinitionList||[];for(const N of _)try{this.meta.addTag(this.getMarkedMeta(N))}catch(U){console.error(U)}}applySeoLinkOnPage(n){if(!this.isBrowser)return;const o=this.map_LandingPageType_SeoLinkSettingModel.get(n),d=document,_=d.querySelectorAll("link[customLink='true']");_.length>0&&_.forEach(N=>{N?.parentNode?.removeChild(N)}),0!==o?.length?o?.forEach(N=>{const U=d.createElement("link");for(const ue in N)U.setAttribute(ue,N[ue]);U.setAttribute("customLink","true"),document.head.appendChild(U)}):console.warn(`PageSeoService.applySeoLinkOnPage(), cannot find seoLinkInfo by landingPageType=[${n?.unique}]`)}getMarkedMeta(n){return n&&{...n,[Zc.CUSTOM_META]:Zc.TRUE}}setLinkWithHreflang(n,o){const d=this.getLinkElement(o),_=n.path();this.setLinkAlternate(d,_)}getLinkElement(n){const o="seo-link-alternate";let d=n.getElementById(o);return d||(d=n.createElement("link"),d.setAttribute("id",o),n.head.appendChild(d)),d}setLinkAlternate(n,o){const d=o.split("/"),_=`${d[1]}/${d[2]}`;n.setAttribute("rel","alternate"),n.setAttribute("hreflang",this.convertToLangCode(_)),n.setAttribute("href",`/${_}/`)}convertToLangCode(n){if("vn/vn"===n||"cn/cn"===n||"my/ma"===n)return Kp[n];const o=n.split("/");return`${o[1]}-${o[0].toUpperCase()}`}extractRoutingPathType(n){if(!n.includes("terms/"))return;const o=n.indexOf("terms/")+6,d=n.slice(o).replace(")","");return li.C.values.find(_=>_.routingPath===d)}addJsonLdToDom(n){if(!this.isBrowser)return;const o=document.getElementById("ldJsonId");if(!n)return void(o?.firstChild&&o?.parentNode?.removeChild(o));if(o?.firstChild)return void(o.textContent=n);const _=document.createElement("script");_.setAttribute("type","application/ld+json"),_.setAttribute("id","ldJsonId"),_.textContent=n,document.head.appendChild(_)}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),Hu=(()=>{class a{static forRoot(){return{ngModule:a,providers:[Yp,{provide:e.iLQ,useFactory:n=>o=>n.initSeoListener(o),deps:[Yp],multi:!0}]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})();var Ka=l(46754);let Rh=(()=>{class a{static forRoot(n){return{ngModule:a,providers:[Ka.s,{provide:e.hnV,useFactory:o=>()=>o.init(),deps:[Ka.s],multi:!0},{provide:e.iLQ,useFactory:o=>d=>o.registerBootstrap(d),deps:[Ka.s],multi:!0},...n||[]]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})();var ju=l(46983),Sh=l(88759);let J0=(()=>{class a{static forRoot(){return{ngModule:a,providers:[{provide:Sh.K,deps:[e.Agw],useFactory:n=>{let d="",_="",N=0;(0,u.UE)(n)&&(d=localStorage.getItem(Oo.v)||d,_=localStorage.getItem(Oo.wf)||_,N=+(localStorage.getItem(Oo.lz)||"")||N);const U={accessToken:d,refreshToken:_},ue=new Hr.Y;return ue.set(U),ue}},Ta.W,{provide:m.a7,multi:!0,useExisting:Ta.W},{provide:e.iLQ,multi:!0,deps:[e.Agw,Ta.W],useFactory:(n,o)=>()=>{(0,u.UE)(n)&&o.selectToken().pipe((0,In.p)(_=>!!_?.accessToken),(0,on.n)(_=>{const N=_.sysTimestamp||Date.now(),U=o.parseJwt(_.accessToken)?.exp||0;let we=A.yr.SECOND*U-N-5*A.yr.MINUTE;return we<0&&(we=0),(0,L.of)(!0).pipe((0,Ss.c)(we),(0,on.n)(()=>o.refreshToken()))})).subscribe()}}]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})();var Xp=l(27056),Ku=l(11031),Ya=l(59574);let Qp=(()=>{class a{static forRoot(){return{ngModule:a,providers:[{provide:e.hnV,multi:!0,deps:[Bp],useFactory:n=>()=>(0,L.of)(!0)}]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({})}return a})();var zp=l(47987),qc=l(76939),Z0=(l(65089),l(30023));l(5585);let el=(()=>{class a{static forRoot(n={ignoreImageUrlReplaceCheck:!1}){return{ngModule:a,providers:[{provide:Z0.t,useValue:n?.ignoreImageUrlReplaceCheck||!1}]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,b.Q8,zp.z_,qc.jc]})}return a})(),tl=(()=>{class a{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw))}log(...n){console[this.isBrowser?"error":"log"](...n)}handleError(n){this.log("--------- Tracking Error Start---------"),n instanceof m.yz?(this.log("HttpErrorResponse"),this.log(n),this.log(`Error Status : ${n.status}`),this.log(`Error Message : ${n.message}`)):(this.log(`Error Name : ${n.name}`),this.log(`Error Message : ${n.message}`),this.log(`Error Stack : ${n.stack}`)),this.log("--------- Tracking Error End---------"),this.isBrowser&&/ChunkLoadError/.test(n.message)&&window.location.reload()}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Ns=l(70980);let yh=(()=>{class a{constructor(){this.transferState=(0,e.WQX)(e.pJN)}clearExpiredCacheByKey(n){let o=this.transferState.get((0,e.zw6)(n),[]);o=o.filter(d=>Date.now(){class a{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.cacheStorage=(0,e.WQX)(yh),this.pendingRequestMap=new Map}intercept(n,o){if(!this.isBrowser)return o.handle(n);const d=n.context.get(Zp.W);if(!d)return o.handle(n);const _=d.key,N=this.pendingRequestMap.get(_);if(N?.value)return N.pipe((0,In.p)(ue=>!ue),(0,$n.s)(1),(0,on.n)(()=>this.intercept(n,o)));const U=this.getHttpResponseFromCache(d,n);return U?(0,L.of)(U):(this.pendingRequestMap.set(_,new P.t(!0)),o.handle(n).pipe((0,ot.M)(ue=>{if(ue instanceof m.cS){if(!this.canCacheResponse(d,n,ue))return;const Ge=Date.now(),Xe=d.maxAge||1/0;this.cacheStorage.set(_,{request:n,response:ue,timestamp:Ge,maxAge:Xe,expiredTime:Ge+Xe})}}),(0,Ns.j)(()=>{this.pendingRequestMap.get(_)?.next(!1),this.pendingRequestMap.delete(_)})))}getHttpResponseFromCache(n,o){const d=n.key;return this.cacheStorage.clearExpiredCacheByKey(d),this.cacheStorage.get(d).find(U=>!n.canUseCache||n.canUseCache(o,U))?.response}canCacheResponse(n,o,d){return n.canCacheResponse?n.canCacheResponse({request:o,response:d}):d.body?.status===Ds.m.SUCCESS.statusCode}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),multi:!0,deps:[yh]}];var nl=l(35513);class Yu{constructor(){this.routingPathType=li.C,this.authState=(0,e.WQX)(gi.H),this.siteSetting=(0,e.WQX)(ti.p),this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw))}intercept(p,n){if(p.url.indexOf("/api/bt/")>=0||0===p.url.indexOf("/register")||p.url.indexOf("/api/wv/")>=0){const o=this.siteSetting.get("currentLanguageType")?.unique,d=this.siteSetting.get("currentCurrencyType")?.unique,_=p.context.get(nl.kZ),N=p.context.get(nl.bP),U=p.context.get(nl.SW);switch(p.method.toLowerCase()){case"get":let we=new m.Nl;if(!0!==_){const Xe=this.authState.get("isLogin");we=we.append("isLogin",Xe)}d&&o&&(!0!==N&&(we=we.append("currencyTypeId",d)),!0!==U&&(we=we.append("languageTypeId",o))),p.params.keys().forEach(Xe=>{we=we.append(Xe,p.params.get(Xe)||"")}),p=p.clone({params:we});break;case"post":let Ge={...p.body};d&&o&&(Ge={languageTypeId:o,currencyTypeId:d,...p.body}),p=p.clone({body:Ge})}return n.handle(p).pipe((0,ot.M)(we=>{we instanceof m.cS&&(this.isPlatformBrowser||(!we?.body?.data||we?.body?.status!==Ds.m.SUCCESS.statusCode)&&console.log(`\nAPI error: [${p.urlWithParams}]\n${JSON.stringify(we?.body||{})}`))}))}return n.handle(p)}}let tv=(()=>{class a{constructor(){this.routingPathType=li.C,this.systemMessageService=(0,e.WQX)(Nr._X),this.apiAuthenticationService=(0,e.WQX)(Ta.W),this.authService=(0,e.WQX)(as.uR),this.router=(0,e.WQX)(en.Ix),this.authState=(0,e.WQX)(gi.H),this.appStateService=(0,e.WQX)(ce.i),this.eventQueueService=(0,e.WQX)(He.n)}log(...n){console.error(...n)}intercept(n,o){return o.handle(n).pipe((0,ot.M)(d=>{if(d instanceof m.cS&&d.body){if(!n.url.includes("/api/"))return;const _=d.body,N=n.context.get(nl.nd),U=n.context.get(nl.wM);let ue=!1;if(_.status===Ds.m.IP_BLOCK_BAN_COUNTRY.statusCode)this.router.navigateByUrl(`${this.routingPathType.IP_BLOCK.link}?ip=${_.message.split("-")[0]}&country=${_.message.split("-")[1]}`);else if(_.status!==Ds.m.UNKNOWN_ERROR.statusCode||U)if(_.status===Ds.m.BRAND_MAINTAIN.statusCode){const we=_.data;N||this.router.navigateByUrl(`${this.routingPathType.BRAND_MAINTAIN.link}/${we.maintainStartTimestamp}/${we.maintainEndTimestamp}`)}else if(_.status===Ds.m.SYSTEM_MAINTAIN.statusCode){ue=!0;const we=_.data;N||this.router.navigateByUrl(`${this.routingPathType.SYSTEM_MAINTAIN.link}/${we.maintainStartTimestamp}/${we.maintainEndTimestamp}`)}else if(_.status===Ds.m.ACCOUNT_IS_LOCK.statusCode||_.status===Ds.m.ACCOUNT_IS_INACTIVED.statusCode)this.authService.logout();else if(_.status===Ds.m.TOKEN_INACTIVE.statusCode||_.status===Ds.m.MUST_BE_LOGIN.statusCode)N||(this.apiAuthenticationService.clearToken(),this.authState.set({isLogin:!1,accountInfo:void 0}),this.refresh(n.url));else if(_.status===Ds.m.LIMIT_NEW_PHONE_TIMES.statusCode){const we=(Number(_.ts)||Date.now())+36e5;localStorage.setItem("LIMIT_NEW_PHONE_TIMES",JSON.stringify({message:_.message,limitTs:we}))}else _.status===Ds.m.MESSAGE_NOT_FOUND.statusCode&&this.systemMessageService.show(_.message);else this.log(_),this.systemMessageService.show(_.message);this.appStateService.set("isSystemMaintaining",ue)}}))}refresh(n){this.router.url.split("?");const d=this.router.routeReuseStrategy.shouldReuseRoute,_=this.router.onSameUrlNavigation;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",setTimeout(()=>{this.router.onSameUrlNavigation=_,this.router.routeReuseStrategy.shouldReuseRoute=d},0),this.router.navigateByUrl("/",{skipLocationChange:!0})}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function bh(){const a=[{provide:m.a7,useClass:Yu,multi:!0}];return function qp(){return![typeof window,typeof document].includes("undefined")}()&&a.push({provide:m.a7,useClass:tv,multi:!0}),a}var Xu=l(67487);const eg=[{provide:Eh.e,useFactory:(a=(0,e.WQX)(w.n))=>{let p="";try{p=localStorage.getItem("cdnDomain")||p}catch{}return{brand:a.brand,cdnDomain:p,device:a.device,market:a.market}}},{provide:e.hnV,multi:!0,useFactory:(a=(0,u.UE)((0,e.WQX)(e.Agw)),p=(0,e.WQX)(ti.p),n=(0,e.WQX)(Eh.e))=>()=>(a&&p.select("siteSettingModel").pipe((0,ot.M)(o=>{n.cdnDomain=o?.cdnDomain||"",a&&localStorage.setItem("cdnDomain",n.cdnDomain)})).subscribe(),(0,L.of)(void 0))}];var tg=l(1583);let nv=(()=>{class a{constructor(){this.cloudSetting=(0,e.WQX)(tg.Z),this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw))}intercept(n,o){if(!this.cloudSetting.isCloud)return o.handle(n);if(this.isBrowser&&!n.url.split("/")[n.url.split("/").length-1].match(new RegExp(/.*\..*/g))){const d=window.location.host.split(".");n=n.clone({url:window.location.protocol+"//api."+d[d.length-2]+"."+d[d.length-1].split(":")[0]+n.url})}return o.handle(n)}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),iv=(()=>{class a{static forRoot(){return{ngModule:a,providers:[{provide:tg.Z,useValue:{isCloud:!1}},{provide:m.a7,useClass:nv,multi:!0}]}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({})}return a})(),ng=(()=>{class a{static forRoot(n){n.neuA&&(n.neuA.delay=n.neuA.delay||n.delay||0);const o=[{provide:e.zcH,useClass:tl},{provide:e.sZ2,useValue:"serverApp"},...eg,...bh(),...ev,...n.providers||[],...ds(n.route),..._i(n.neuA),...$p(n.delay),...Ir.forRoot(n?.pwa).providers||[],{provide:e.iLQ,useFactory:(a=(0,u.UE)((0,e.WQX)(e.Agw)),p=(0,e.WQX)(e.zZn),n=(0,e.WQX)($r.o),o=(0,e.WQX)(gi.H),d=(0,e.WQX)(A.$z))=>()=>{a&&(0,ro.z)([o.select("isLogin").pipe((0,Vi.i)(1),(0,In.p)(_=>!!_),(0,ot.M)(()=>{const _=o.get("accountInfo");d.set("once",N=>N.once=!0),d.set("skip",N=>N.skip=_.isResetPassword)})),d.select("skip")]).pipe((0,so.B)(50)).subscribe(([_,N])=>{if(!N){const U=p.get(mo.AJ),ue=p.get(mo.YY),we=Dc.U.isIOSSafari(),Ge=localStorage.getItem("SHOW_IOS_POPUP_EVERY_TIME");we&&("true"===Ge||!Ge)&&(0,Wp.p)([U(),ue()]).pipe((0,on.n)(([Xe,sn])=>n.openDialog(Xe,{data:{content:sn}}))).subscribe()}})},multi:!0},...Hu.forRoot().providers||[],...Rh.forRoot().providers||[],...Xu.t.forRoot().providers||[],{provide:Ku.UA,useValue:n.gallery},{provide:e.iLQ,multi:!0,deps:[ti.p,u.qQ],useFactory:(d,_)=>N=>{d.select("currentLanguageType").pipe((0,ot.M)(U=>{const ue=_.querySelector("html");ue.lang=U.resourceKey,ue.dir=U.textDir})).subscribe()}},...K0,{provide:ju.N,useClass:E.D},...J0.forRoot().providers||[]];return{ngModule:a,providers:o}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[Xp.ZA],imports:[iv.forRoot(),el.forRoot(),Qp.forRoot(),u.MD,Cc.forRoot(),Ir,Y0.forRoot(),MA.forRoot(),Wu.forRoot(),Ya.$]})}return a})();var Lr=l(18287);let ig=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,en.iI,Lr.m]})}return a})(),sv=(()=>{class a{static forRoot(n,o){let d=[];return n.Hotjar&&(d=[...d,...ki.forRoot(n.Hotjar.trackingCode,n.Hotjar.version,n.Hotjar.uri).providers||[],wn]),n.Clarity&&(d=[...d,{provide:Cs,useValue:n.Clarity},$i]),n.Appier&&(d=[...d,{provide:gs,useValue:n.Appier},Qi]),n.Sportradar&&(d=[...d,{provide:ks,useValue:n.Sportradar},pc]),n.SignupTracking&&(d=[...d,{provide:gc,useValue:n.SignupTracking},_c]),n.RooterTracking&&(d=[...d,{provide:Kc,useValue:n.RooterTracking},Jo]),n.SharechatTracking&&(d=[...d,{provide:wp,useValue:n.SharechatTracking},Pp]),n.ApkTrackingCode&&(d=[...d,{provide:nh,useValue:n.ApkTrackingCode},ih]),n.XenaTracking&&(d=[...d,{provide:sh,useValue:n.XenaTracking},xp]),n.IncomeAccessTracking&&(d=[...d,{provide:k0,useValue:n.IncomeAccessTracking},us]),n.SoPixel&&(d=[...d,{provide:Yc,useValue:n.SoPixel},Pr]),d=[...d,{provide:Qc,useValue:n},Sa,k,{provide:"googleTagManagerId",useValue:"NotProvided"},Tt,{provide:e.iLQ,useFactory:(_,N)=>U=>{(0,u.UE)(_)&&setTimeout(()=>{N.init(U)},n?.delay||2e3)},deps:[e.Agw,Sa],multi:!0},...o||[]],{ngModule:a,providers:d}}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[u.vh],imports:[u.MD]})}return a})();function rv(a,p){if(1&a&&(e.j41(0,"div",1)(1,"div",2),e.nrm(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"div",7)(7,"div",8)(8,"div",9)(9,"div",10),e.k0s(),e.j41(10,"div",11),e.nrm(11,"span",12),e.EFF(12),e.k0s()()),2&a){const n=e.XpG().$implicit;e.R7$(2),e.xc7("background-image","url(/assets/images/mobile-rotating2.png)"),e.R7$(),e.xc7("background-image","url(/assets/images/mobile-rotating1.png)"),e.R7$(),e.xc7("background-image","url(/assets/images/mobile-rotating3.png)"),e.R7$(),e.xc7("background-image","url(/assets/images/mobile-light.png)"),e.R7$(6),e.xc7("background-image","url(/assets/images/icon-set/icon-refresh-type02.svg)"),e.R7$(),e.SpI(" ",n("ui.rotating_phone.text.turn_phone_backto_straight"),"")}}function NA(a,p){if(1&a&&(e.qex(0),e.DNE(1,rv,13,11,"div",1),e.bVm()),2&a){const n=e.XpG();e.R7$(),e.vxM(1,n.isLandscape()&&!n.isIframeGameOpened()&&n.isMobile()?1:-1)}}let Mh=(()=>{class a{constructor(){this.canAutoPlayVideo$=(0,e.WQX)(ce.i).on("canAutoPlayVideo").pipe((0,ui.pQ)()),this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.appStateService=(0,e.WQX)(ce.i),this.destroyRef=(0,e.WQX)(e.abz),this.isLandscape=(0,e.vPA)(!1),this.isIframeGameOpened=(0,ui.ot)(this.appStateService.on("isIframeGameOpened"),{initialValue:!1}),this.isMobile=(0,e.vPA)(!1)}ngOnInit(){this.listenViewportChange(),this.checkDevice()}checkDevice(){this.isLandscape.set(Dc.U.isLandscape(window)),this.isMobile.set(Dc.U.isMobileBrowser())}listenViewportChange(){this.isPlatformBrowser&&(0,wi.h)((0,jr.R)(window,"resize"),(0,jr.R)(window,"orientationchange")).pipe((0,so.B)(100),(0,ot.M)(()=>this.checkDevice()),(0,ui.pQ)(this.destroyRef)).subscribe()}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-rotating-phone"]],standalone:!0,features:[e.aNF],decls:1,vars:0,consts:[[4,"transloco"],[1,"rotating-pop"],[1,"rotating-phone-wrap"],[1,"rotating-phone-mr02"],[1,"rotating-phone-mr01"],[1,"rotating-phone-mr03"],[1,"rotating-phone-light"],[1,"dots-01"],[1,"dots-02"],[1,"dots-03"],[1,"dots-04"],[1,"phone-rotating-tips"],[1,"item-icon"]],template:function(o,d){1&o&&e.DNE(0,NA,2,1,"ng-container",0)},dependencies:[u.MD,b.Q8,b.bA],styles:["[_nghost-%COMP%]{display:block}.rotating-pop[_ngcontent-%COMP%]{display:flex;position:fixed;top:0;left:0;flex-direction:column;align-items:center;justify-content:center;width:100%;opacity:1;background:#000000e6;pointer-events:auto}@supports (height: 100dvh){.rotating-pop[_ngcontent-%COMP%]{height:100dvh}}@supports not (height: 100dvh){.rotating-pop[_ngcontent-%COMP%]{height:100vh}}.rotating-phone-wrap[_ngcontent-%COMP%]{position:relative;width:calc(40 * 1rem * var(--is-desktop) + 40 * 1vw * (1 - var(--is-desktop)));height:calc(40 * 1rem * var(--is-desktop) + 40 * 1vw * (1 - var(--is-desktop)))}.rotating-phone-wrap[_ngcontent-%COMP%] .rotating-phone-mr01[_ngcontent-%COMP%]{position:absolute;width:calc(40 * 1rem * var(--is-desktop) + 40 * 1vw * (1 - var(--is-desktop)));height:calc(40 * 1rem * var(--is-desktop) + 40 * 1vw * (1 - var(--is-desktop)));animation:_ngcontent-%COMP%_rotate-center 2s ease-in-out infinite;background-position:top center;background-repeat:no-repeat;background-size:cover}.rotating-phone-wrap[_ngcontent-%COMP%] .rotating-phone-mr02[_ngcontent-%COMP%]{position:absolute;width:calc(40 * 1rem * var(--is-desktop) + 40 * 1vw * (1 - var(--is-desktop)));height:calc(40 * 1rem * var(--is-desktop) + 40 * 1vw * (1 - var(--is-desktop)));opacity:.6;background-position:top center;background-repeat:no-repeat;background-size:cover}.rotating-phone-wrap[_ngcontent-%COMP%] .rotating-phone-mr03[_ngcontent-%COMP%]{position:absolute;width:calc(40 * 1rem * var(--is-desktop) + 40 * 1vw * (1 - var(--is-desktop)));height:calc(40 * 1rem * var(--is-desktop) + 40 * 1vw * (1 - var(--is-desktop)));animation:_ngcontent-%COMP%_rotate-arrow 2s ease-in-out infinite;opacity:0;background-position:top center;background-repeat:no-repeat;background-size:cover}.rotating-phone-wrap[_ngcontent-%COMP%] .rotating-phone-light[_ngcontent-%COMP%]{position:absolute;width:calc(40 * 1rem * var(--is-desktop) + 40 * 1vw * (1 - var(--is-desktop)));height:calc(40 * 1rem * var(--is-desktop) + 40 * 1vw * (1 - var(--is-desktop)));animation:_ngcontent-%COMP%_phone-light 2s ease-in infinite;opacity:0;background-position:top center;background-repeat:no-repeat;background-size:cover}.rotating-phone-wrap[_ngcontent-%COMP%] .dots-01[_ngcontent-%COMP%]{position:absolute;top:calc(6.1333333333 * 1rem * var(--is-desktop) + 6.1333333333 * 1vw * (1 - var(--is-desktop)));left:calc(6.1333333333 * 1rem * var(--is-desktop) + 6.1333333333 * 1vw * (1 - var(--is-desktop)));width:calc(.5333333333 * 1rem * var(--is-desktop) + .5333333333 * 1vw * (1 - var(--is-desktop)));height:calc(.5333333333 * 1rem * var(--is-desktop) + .5333333333 * 1vw * (1 - var(--is-desktop)));animation:_ngcontent-%COMP%_fade-out-01 2s ease-in-out infinite;border-radius:50%;opacity:0;background:#fa0}.rotating-phone-wrap[_ngcontent-%COMP%] .dots-02[_ngcontent-%COMP%]{position:absolute;top:calc(5.3333333333 * 1rem * var(--is-desktop) + 5.3333333333 * 1vw * (1 - var(--is-desktop)));left:calc(6.4 * 1rem * var(--is-desktop) + 6.4 * 1vw * (1 - var(--is-desktop)));width:calc(.8 * 1rem * var(--is-desktop) + .8 * 1vw * (1 - var(--is-desktop)));height:calc(.8 * 1rem * var(--is-desktop) + .8 * 1vw * (1 - var(--is-desktop)));animation:_ngcontent-%COMP%_fade-out-02 2s ease-in-out infinite;border-radius:50%;opacity:0;background:#f8ea45}.rotating-phone-wrap[_ngcontent-%COMP%] .dots-03[_ngcontent-%COMP%]{position:absolute;top:calc(6.4 * 1rem * var(--is-desktop) + 6.4 * 1vw * (1 - var(--is-desktop)));left:calc(6.4 * 1rem * var(--is-desktop) + 6.4 * 1vw * (1 - var(--is-desktop)));width:calc(.8 * 1rem * var(--is-desktop) + .8 * 1vw * (1 - var(--is-desktop)));height:calc(.8 * 1rem * var(--is-desktop) + .8 * 1vw * (1 - var(--is-desktop)));animation:_ngcontent-%COMP%_fade-out-03 2s ease-in-out infinite;border-radius:50%;opacity:0;background:#fa0}.rotating-phone-wrap[_ngcontent-%COMP%] .dots-04[_ngcontent-%COMP%]{position:absolute;top:calc(6.4 * 1rem * var(--is-desktop) + 6.4 * 1vw * (1 - var(--is-desktop)));left:calc(6.4 * 1rem * var(--is-desktop) + 6.4 * 1vw * (1 - var(--is-desktop)));width:calc(.5333333333 * 1rem * var(--is-desktop) + .5333333333 * 1vw * (1 - var(--is-desktop)));height:calc(.5333333333 * 1rem * var(--is-desktop) + .5333333333 * 1vw * (1 - var(--is-desktop)));animation:_ngcontent-%COMP%_fade-out-04 2s ease-in-out infinite;border-radius:50%;opacity:0;background:#f8ea45}.phone-rotating-tips[_ngcontent-%COMP%]{position:fixed;bottom:10%;width:90%;color:#fff;font-size:14px;text-align:center}.phone-rotating-tips[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%]{display:inline-block;width:calc(2.6666666667 * 1rem * var(--is-desktop) + 2.6666666667 * 1vw * (1 - var(--is-desktop)));height:calc(2.6666666667 * 1rem * var(--is-desktop) + 2.6666666667 * 1vw * (1 - var(--is-desktop)));margin-right:1.3333333333vw;background-position:top center;background-repeat:no-repeat;background-size:cover;vertical-align:middle}@keyframes _ngcontent-%COMP%_rotate-center{0%{transform:rotate(0)}35%{transform:rotate(-120deg)}60%{transform:rotate(-70deg)}70%{transform:rotate(-90deg)}90%{transform:rotate(-90deg)}to{transform:rotate(0)}}@keyframes _ngcontent-%COMP%_fade-out-01{0%{transform:translate(0) translateY(0);opacity:0}34%{transform:translate(0) translateY(0);opacity:0}35%{transform:translate(0) translateY(0);opacity:1}50%{transform:translate(20px) translateY(-30px);opacity:0}to{transform:translate(0) translateY(0);opacity:0}}@keyframes _ngcontent-%COMP%_fade-out-02{0%{transform:translate(0) translateY(0);opacity:0}34%{transform:translate(0) translateY(0);opacity:0}35%{transform:translate(0) translateY(0);opacity:1}50%{transform:translate(-5px) translateY(-20px);opacity:0}0%{transform:translate(0) translateY(0);opacity:0}}@keyframes _ngcontent-%COMP%_fade-out-03{0%{transform:translate(0) translateY(0);opacity:0}34%{transform:translate(0) translateY(0);opacity:0}35%{transform:translate(0) translateY(0);opacity:1}50%{transform:translate(-10px) translateY(-5px);opacity:0}0%{transform:translate(0) translateY(0);opacity:0}}@keyframes _ngcontent-%COMP%_fade-out-04{0%{transform:translate(0) translateY(0);opacity:0}34%{transform:translate(0) translateY(0);opacity:0}35%{transform:translate(0) translateY(0);opacity:1}50%{transform:translate(-8px) translateY(15px);opacity:0}0%{transform:translate(0) translateY(0);opacity:0}}@keyframes _ngcontent-%COMP%_rotate-arrow{0%{transform:rotate(30deg);opacity:0}35%{transform:rotate(-10deg);opacity:1}60%{transform:rotate(20deg);opacity:1}70%{transform:rotate(20deg);opacity:.5}90%{transform:rotate(20deg);opacity:0}to{transform:rotate(30deg);opacity:0}}@keyframes _ngcontent-%COMP%_phone-light{0%{opacity:0}69%{opacity:0}70%{opacity:.4}80%{opacity:1}90%{opacity:.4}91%{opacity:0}}"],changeDetection:0})}return a})(),sg=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})();var Ro=l(40085),rg=l(90011),Nh=l(49743);let ov=(()=>{class a extends $s.l{constructor(){super(...arguments),this.LAUNCH_LOGO="/assets/images/logo.webp",this.LAUNCH_GAME_LOGO="/assets/images/logo.webp",this.FOOTER_LOGO="/assets/images/logo-horizontal.png",this.TRANSFER_ANI_PLATFORM_LOGO="/assets/images/logo.webp",this.POP_VERIFICATION_EXPIRED="/assets/images/animation/circle-xmark.png"}static#e=this.\u0275fac=(()=>{let n;return function(d){return(n||(n=e.xGo(a)))(d||a)}})();static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();const $o={brand:"mcw",market:"mcw",device:"h5",isRWD:!0,donotPrerenderRootTitle:!0,enableCheckPaymentMaintain:!0,customSideMenuLink:{BDT:{ENGLISH:{affiliateLink:"https://mcwlink.co/aff-bd",helpPageLink:void 0},BENGALI:{affiliateLink:"https://mcwlink.co/aff-bn",helpPageLink:void 0}},INR:{ENGLISH:{affiliateLink:"https://mcwlink.co/aff-in",helpPageLink:void 0},HINDI:{affiliateLink:"https://mcwlink.co/aff1-in",helpPageLink:void 0}},PHP:{ENGLISH:{affiliateLink:"https://mcwlink.co/affiliates_ph",helpPageLink:void 0},TAGALOG:{affiliateLink:"https://mcwlink.co/affiliates_ph",helpPageLink:void 0}},VND:{ENGLISH:{affiliateLink:"https://mcwlink.co/aff-vn",helpPageLink:void 0},VIETNAMESE:{affiliateLink:"https://mcwlink.co/aff-vn",helpPageLink:void 0}},MYR:{ENGLISH:{affiliateLink:"https://mcwlink.co/aff-my",helpPageLink:void 0}},USD:{ENGLISH:{affiliateLink:"https://mcwlink.co/aff-kh-en",helpPageLink:void 0},CAMBODIAN:{affiliateLink:"https://mcwlink.co/aff-kh",helpPageLink:void 0}},PKR:{ENGLISH:{affiliateLink:"https://mcwlink.co/aff-pk",helpPageLink:void 0}},LKR:{ENGLISH:{affiliateLink:"https://mcwlink.co/",helpPageLink:void 0},SINHALA:{affiliateLink:"https://mcwlink.co/",helpPageLink:void 0}},NPR:{ENGLISH:{affiliateLink:"https://mcwlink.co/",helpPageLink:void 0},NEPALI:{affiliateLink:"https://mcwlink.co/",helpPageLink:void 0}}},production:!0,disableConsole:!0,enableI18nRoute:!0,cdnDomain:"https://img.m167cw.com",ssrDomain:"https://mcw.apincvfe.xyz",vendorIconColor:"white",iconColor:"white",turnstileTheme:"dark",intercomAppId:"cz9vuj8s",intercomApiBaseVND:"https://cz9vuj8s.intercom-messenger.com",pwa:{enable:!0,useMcdSw:!0,forceUpdateAfterCheck:!0},moduleFederationSettings:{remoteName:"vue",remoteEntry:"https://www.seofmi.live/assets/remoteEntry.js",type:"module",exposedModule:"./web-components",elementName:"s-app"},sideMenu:{isDesktopShowAmbassador:!1},enableSignUpSuccessTracking:!0,customHeaderClass:"normal-logo-left",isNeedReplaceGameBoxIconPathToDefault:!0,neuAProjectKey:"j&3-xc4)%%72f4_nfn-v9_n-07t_qw$@8!o&x75v-b=4=*^j3q",brandFilterMode:"showAllGame",jblProjectKey:"94489d36d180add162e46c895c7bde31",navContentDirectionColumn:!0,desktopMode:"custom",useUnchangeableHeader:!0,directlyLoginWhenGameOpened:!0};var ke=l(29119);const kt=a=>"/assets/shared/group/gallery/"+a,av={PROVIDER_CG5GODBEASTS:{[ke.RE.STANDARD]:{default:kt("provider-cg5godbeasts.png")}},PROVIDER_EVOAUTOROULETTE:{[ke.RE.STANDARD]:{default:kt("provider-evoautoroulette.png")}},PROVIDER_EVOBACBO:{[ke.RE.STANDARD]:{default:kt("provider-evobacbo.png")}},PROVIDER_EVOBONSAISPEEDBACCARATA:{[ke.RE.STANDARD]:{default:kt("provider-evobonsaispeedbaccarata.png")}},PROVIDER_EVODRAGONTIGER:{[ke.RE.STANDARD]:{default:kt("provider-evodragontiger.png")}},PROVIDER_EVOFANTAN:{[ke.RE.STANDARD]:{default:kt("provider-evofantan.png")}},PROVIDER_EVOFUNKYTIME:{[ke.RE.STANDARD]:{default:kt("provider-evofunkytime.png")}},PROVIDER_EVOKOREANLIGHTNINGDRAGONTIGER:{[ke.RE.STANDARD]:{default:kt("provider-evokoreanlightningdragontiger.png")}},PROVIDER_EVOLIGHTNINGDICE:{[ke.RE.STANDARD]:{default:kt("provider-evolightningdice.png")}},PROVIDER_EVOLIGHTNINGROULETTE:{[ke.RE.STANDARD]:{default:kt("provider-evolightningroulette.png")}},PROVIDER_EVOLIGHTNINGSICBO:{[ke.RE.STANDARD]:{default:kt("provider-evolightningsicbo.png")}},PROVIDER_EVOMONEYCOMINGEXPANDEDBETS:{[ke.RE.STANDARD]:{default:kt("provider-evomoneycomingexpandedbets.png")}},PROVIDER_EVOMONOPOLYBIGBALLER:{[ke.RE.STANDARD]:{default:kt("provider-evomonopolybigballer.png")}},PROVIDER_EVOSPEEDBACCARATA:{[ke.RE.STANDARD]:{default:kt("provider-evospeedbaccarata.png")}},PROVIDER_FASTSPINMIGHTYSEVENS:{[ke.RE.STANDARD]:{default:kt("provider-fastspinmightysevens.png")}},PROVIDER_FCCHINESENEWYEAR2:{[ke.RE.STANDARD]:{default:kt("provider-fcchinesenewyear2.png")}},PROVIDER_FCCHINESENEWYEAR:{[ke.RE.STANDARD]:{default:kt("provider-fcchinesenewyear.png")}},PROVIDER_FCCHINESENEWYEARMOREWAYS:{[ke.RE.STANDARD]:{default:kt("provider-fcchinesenewyearmoreways.png")}},PROVIDER_FCFORTUNEEGG:{[ke.RE.STANDARD]:{default:kt("provider-fcfortuneegg.png")}},PROVIDER_FCFORTUNEGODDESS:{[ke.RE.STANDARD]:{default:kt("provider-fcfortunegoddess.png")}},PROVIDER_FCGOGORISE:{[ke.RE.STANDARD]:{default:kt("provider-fcgogorise.png")}},PROVIDER_FCGOLDENGENIE:{[ke.RE.STANDARD]:{default:kt("provider-fcgoldengenie.png")}},PROVIDER_FCGRANDBLUE:{[ke.RE.STANDARD]:{default:kt("provider-fcgrandblue.png")}},PROVIDER_FCJUNGLEBANGBANG:{[ke.RE.STANDARD]:{default:kt("provider-fcjunglebangbang.png")}},PROVIDER_FCLEGENDOFINCA:{[ke.RE.STANDARD]:{default:kt("provider-fclegendofinca.png")}},PROVIDER_FCNIGHTMARKET:{[ke.RE.STANDARD]:{default:kt("provider-fcnightmarket.png")}},PROVIDER_FCQUEENOFINCA:{[ke.RE.STANDARD]:{default:kt("provider-fcqueenofinca.png")}},PROVIDER_FCSUGARBANGBANG21:{[ke.RE.STANDARD]:{default:kt("provider-fcsugarbangbang21.png")}},PROVIDER_FCSUGARBANGBANG2:{[ke.RE.STANDARD]:{default:kt("provider-fcsugarbangbang2.png")}},PROVIDER_FCSUPERELEMENTS:{[ke.RE.STANDARD]:{default:kt("provider-fcsuperelements.png")}},PROVIDER_FCTREASURERAIDERS:{[ke.RE.STANDARD]:{default:kt("provider-fctreasureraiders.png")}},PROVIDER_FCWINWINNEKO:{[ke.RE.STANDARD]:{default:kt("provider-fcwinwinneko.png")}},PROVIDER_JDBAVIATOREXTRABET:{[ke.RE.STANDARD]:{default:kt("provider-jdbaviatorextrabet.png")}},PROVIDER_JDBBLOSSOMOFWEALTH:{[ke.RE.STANDARD]:{default:kt("provider-jdbblossomofwealth.png")}},PROVIDER_JDBCAISHENFISHING:{[ke.RE.STANDARD]:{default:kt("provider-jdbcaishenfishing.png")}},PROVIDER_JDBDRAGONFISHING:{[ke.RE.STANDARD]:{default:kt("provider-jdbdragonfishing.png")}},PROVIDER_JDBDRAGONSOARHYPERWILD:{[ke.RE.STANDARD]:{default:kt("provider-jdbdragonsoarhyperwild.png")}},PROVIDER_JDBFIVEDRAGONSFISHING:{[ke.RE.STANDARD]:{default:kt("provider-jdbfivedragonsfishing.png")}},PROVIDER_JDBFRUITYBONANZA:{[ke.RE.STANDARD]:{default:kt("provider-jdbfruitybonanza.png")}},PROVIDER_JDBFRUITYBONANZACOMBO:{[ke.RE.STANDARD]:{default:kt("provider-jdbfruitybonanzacombo.png")}},PROVIDER_JDBKONG:{[ke.RE.STANDARD]:{default:kt("provider-jdbkong.png")}},PROVIDER_JDBMAGICACEWILDLOCK:{[ke.RE.STANDARD]:{default:kt("provider-jdbmagicacewildlock.png")}},PROVIDER_JDBMJOLNIR:{[ke.RE.STANDARD]:{default:kt("provider-jdbmjolnir.png")}},PROVIDER_JDBPIGGYBANK:{[ke.RE.STANDARD]:{default:kt("provider-jdbpiggybank.png")}},PROVIDER_JDBRAGNAROKTHORVSLOKI:{[ke.RE.STANDARD]:{default:kt("provider-jdbragnarokthorvsloki.png")}},PROVIDER_JDBSUPERNIUBI:{[ke.RE.STANDARD]:{default:kt("provider-jdbsuperniubi.png")}},PROVIDER_JDBSUPERNIUBIDELUXE:{[ke.RE.STANDARD]:{default:kt("provider-jdbsuperniubideluxe.png")}},PROVIDER_JDBTRUMPCARD:{[ke.RE.STANDARD]:{default:kt("provider-jdbtrumpcard.png")}},PROVIDER_JILIBOOKOFGOLD:{[ke.RE.STANDARD]:{default:kt("provider-jilibookofgold.png")}},PROVIDER_JILIBOXINGKING:{[ke.RE.STANDARD]:{default:kt("provider-jiliboxingking.png")}},PROVIDER_JILICHARGEBUFFALO:{[ke.RE.STANDARD]:{default:kt("provider-jilichargebuffalo.png")}},PROVIDER_JILICIRCUSJOKER40967:{[ke.RE.STANDARD]:{default:kt("provider-jilicircusjoker40967.png")}},PROVIDER_JILICIRCUSJOKER4096:{[ke.RE.STANDARD]:{default:kt("provider-jilicircusjoker4096.png")}},PROVIDER_JILICLOVERCOINS4X4:{[ke.RE.STANDARD]:{default:kt("provider-jiliclovercoins4x4.png")}},PROVIDER_JILICRAZY777:{[ke.RE.STANDARD]:{default:kt("provider-jilicrazy777.png")}},PROVIDER_JILIDRAGONTREASURE:{[ke.RE.STANDARD]:{default:kt("provider-jilidragontreasure.png")}},PROVIDER_JILIELFBINGO:{[ke.RE.STANDARD]:{default:kt("provider-jilielfbingo.png")}},PROVIDER_JILIFORTUNECOINS:{[ke.RE.STANDARD]:{default:kt("provider-jilifortunecoins.png")}},PROVIDER_JILIFORTUNEGEMS2:{[ke.RE.STANDARD]:{default:kt("provider-jilifortunegems2.png")}},PROVIDER_JILIFORTUNEGEMS3:{[ke.RE.STANDARD]:{default:kt("provider-jilifortunegems3.png")}},PROVIDER_JILIFORTUNEGEMS500:{[ke.RE.STANDARD]:{default:kt("provider-jilifortunegems500.png")}},PROVIDER_JILIFORTUNEGEMS:{[ke.RE.STANDARD]:{default:kt("provider-jilifortunegems.png")}},PROVIDER_JILIFORTUNEKINGJACKPOT:{[ke.RE.STANDARD]:{default:kt("provider-jilifortunekingjackpot.png")}},PROVIDER_JILIGOLDENEMPIRE:{[ke.RE.STANDARD]:{default:kt("provider-jiligoldenempire.png")}},PROVIDER_JILIJACKPOTFISHING:{[ke.RE.STANDARD]:{default:kt("provider-jilijackpotfishing.png")}},PROVIDER_JILIJACKPOTJOKER:{[ke.RE.STANDARD]:{default:kt("provider-jilijackpotjoker.png")}},PROVIDER_JILIJHANDIMUNDA:{[ke.RE.STANDARD]:{default:kt("provider-jilijhandimunda.png")}},PROVIDER_JILIJOKERCOINS:{[ke.RE.STANDARD]:{default:kt("provider-jilijokercoins.png")}},PROVIDER_JILIMEGAFISHING:{[ke.RE.STANDARD]:{default:kt("provider-jilimegafishing.png")}},PROVIDER_JILIMONEYCOMING2:{[ke.RE.STANDARD]:{default:kt("provider-jilimoneycoming2.png")}},PROVIDER_JILIMONEYCOMING:{[ke.RE.STANDARD]:{default:kt("provider-jilimoneycoming.png")}},PROVIDER_JILIMONEYCOMINGEXPANDEDBETS:{[ke.RE.STANDARD]:{default:kt("provider-jilimoneycomingexpandedbets.png")}},PROVIDER_JILIMONEYPOT:{[ke.RE.STANDARD]:{default:kt("provider-jilimoneypot.png")}},PROVIDER_JILINCVIPAVIATOR:{[ke.RE.STANDARD]:{default:kt("provider-jilincvipaviator.png")}},PROVIDER_JILIOCEANKINGJACKPOT:{[ke.RE.STANDARD]:{default:kt("provider-jilioceankingjackpot.png")}},PROVIDER_JILIPUSOYGO:{[ke.RE.STANDARD]:{default:kt("provider-jilipusoygo.png")}},PROVIDER_JILIROYALFISHING:{[ke.RE.STANDARD]:{default:kt("provider-jiliroyalfishing.png")}},PROVIDER_JILIRUMMY:{[ke.RE.STANDARD]:{default:kt("provider-jilirummy.png")}},PROVIDER_JILISUPERACE:{[ke.RE.STANDARD]:{default:kt("provider-jilisuperace.png")}},PROVIDER_JILISUPERACEDELUXE:{[ke.RE.STANDARD]:{default:kt("provider-jilisuperacedeluxe.png")}},PROVIDER_JILISUPERACESPEED:{[ke.RE.STANDARD]:{default:kt("provider-jilisuperacespeed.png")}},PROVIDER_JILITONGITSGO:{[ke.RE.STANDARD]:{default:kt("provider-jilitongitsgo.png")}},PROVIDER_JILITOWER:{[ke.RE.STANDARD]:{default:kt("provider-jilitower.png")}},PROVIDER_KAAGEOFVIKINGS:{[ke.RE.STANDARD]:{default:kt("provider-kaageofvikings.png")}},PROVIDER_KMCOINTOSS:{[ke.RE.STANDARD]:{default:kt("provider-kmcointoss.png")}},PROVIDER_KMGOLDRUSHBONANZA:{[ke.RE.STANDARD]:{default:kt("provider-kmgoldrushbonanza.png")}},PROVIDER_LUCKY365JUNGLE2:{[ke.RE.STANDARD]:{default:kt("provider-lucky365jungle2.png")}},PROVIDER_MG1000WISHES:{[ke.RE.STANDARD]:{default:kt("provider-mg1000wishes.png")}},PROVIDER_NEXTSPIN7DRAGONS:{[ke.RE.STANDARD]:{default:kt("provider-nextspin7dragons.png")}},PROVIDER_PGANUBISWRATH:{[ke.RE.STANDARD]:{default:kt("provider-pganubiswrath.png")}},PROVIDER_PGASGARDIANRISING:{[ke.RE.STANDARD]:{default:kt("provider-pgasgardianrising.png")}},PROVIDER_PGBUTTERFLYBLOSSOM:{[ke.RE.STANDARD]:{default:kt("provider-pgbutterflyblossom.png")}},PROVIDER_PGCOCKTAILNIGHTS:{[ke.RE.STANDARD]:{default:kt("provider-pgcocktailnights.png")}},PROVIDER_PGDINERDELIGHTS:{[ke.RE.STANDARD]:{default:kt("provider-pgdinerdelights.png")}},PROVIDER_PGDREAMSOFMACAU:{[ke.RE.STANDARD]:{default:kt("provider-pgdreamsofmacau.png")}},PROVIDER_PGFORTUNERABBIT:{[ke.RE.STANDARD]:{default:kt("provider-pgfortunerabbit.png")}},PROVIDER_PGGANESHAFORTUNE:{[ke.RE.STANDARD]:{default:kt("provider-pgganeshafortune.png")}},PROVIDER_PGJURASSICKINGDOM:{[ke.RE.STANDARD]:{default:kt("provider-pgjurassickingdom.png")}},PROVIDER_PGLUCKYNEKO:{[ke.RE.STANDARD]:{default:kt("provider-pgluckyneko.png")}},PROVIDER_PGMAHJONGWAYS2:{[ke.RE.STANDARD]:{default:kt("provider-pgmahjongways2.png")}},PROVIDER_PGMAHJONGWAYS:{[ke.RE.STANDARD]:{default:kt("provider-pgmahjongways.png")}},PROVIDER_PGPINATAWINS:{[ke.RE.STANDARD]:{default:kt("provider-pgpinatawins.png")}},PROVIDER_PGTREASURESOFAZTEC:{[ke.RE.STANDARD]:{default:kt("provider-pgtreasuresofaztec.png")}},PROVIDER_PGWAYSOFTHEQILIN:{[ke.RE.STANDARD]:{default:kt("provider-pgwaysoftheqilin.png")}},PROVIDER_PGWILDBANDITO:{[ke.RE.STANDARD]:{default:kt("provider-pgwildbandito.png")}},PROVIDER_PGWILDBOUNTYSHOWDOWN:{[ke.RE.STANDARD]:{default:kt("provider-pgwildbountyshowdown.png")}},PROVIDER_PNG3HANDCASINOHOLDEM:{[ke.RE.STANDARD]:{default:kt("provider-png3handcasinoholdem.png")}},PROVIDER_PPCANDYBLITZ:{[ke.RE.STANDARD]:{default:kt("provider-ppcandyblitz.png")}},PROVIDER_PPSPEEDBACCARAT2:{[ke.RE.STANDARD]:{default:kt("provider-ppspeedbaccarat2.png")}},PROVIDER_PPSTARLIGHTPRINCESS1000:{[ke.RE.STANDARD]:{default:kt("provider-ppstarlightprincess1000.png")}},PROVIDER_PPSUGARRUSH1000:{[ke.RE.STANDARD]:{default:kt("provider-ppsugarrush1000.png")}},PROVIDER_RICH88MONEYROLLING:{[ke.RE.STANDARD]:{default:kt("provider-rich88moneyrolling.png")}},PROVIDER_SPRIBEAVIATOR:{[ke.RE.STANDARD]:{default:kt("provider-spribeaviator.png")}},PROVIDER_YBCRAZYMONEY:{[ke.RE.STANDARD]:{default:kt("provider-ybcrazymoney.png")}},PROVIDER_MGBOUNTIFULBIRDS:{[ke.RE.STANDARD]:{default:kt("provider-mgbountifulbirds.png")}},PROVIDER_PPBIGBASSCHRISTMASFROZENLAKE:{[ke.RE.STANDARD]:{default:kt("provider-ppbigbasschristmasfrozenlake.png")}},PROVIDER_PPMEGAROULETTE3000:{[ke.RE.STANDARD]:{default:kt("provider-ppmegaroulette3000.png")}},PROVIDER_PPMONEYTIME:{[ke.RE.STANDARD]:{default:kt("provider-ppmoneytime.png")}},PROVIDER_EVOBACCARAT:{[ke.RE.STANDARD]:{default:kt("provider-evobaccarat.png")}},PROVIDER_EVOSPEEDBACCARATC:{[ke.RE.STANDARD]:{default:kt("provider-evospeedbaccaratc.png")}},PROVIDER_PPFCPGOLDRUSH:{[ke.RE.STANDARD]:{default:kt("provider-fcgoldrush.png")}},PROVIDER_PPFCTREASURESOFODIN:{[ke.RE.STANDARD]:{default:kt("provider-fctreasuresofodin.png")}},PROVIDER_JDBFORTUNEJEWEL:{[ke.RE.STANDARD]:{default:kt("provider-jdbfortunejewel.png")}},PROVIDER_JDBTREASUREBOWL:{[ke.RE.STANDARD]:{default:kt("provider-jdbtreasurebowl.png")}},PROVIDER_JILIFROGDASH:{[ke.RE.STANDARD]:{default:kt("provider-jilifrogdash.png")}},PROVIDER_JILILUCKYJAGUAR500:{[ke.RE.STANDARD]:{default:kt("provider-jililuckyjaguar500.png")}},PROVIDER_JILIPIRATEQUEEN2:{[ke.RE.STANDARD]:{default:kt("provider-jilipiratequeen2.png")}},PROVIDER_PP24D:{[ke.RE.STANDARD]:{default:kt("provider-pp24d.png")}},PROVIDER_PPFORTUNEACESSUPERSCATTER:{[ke.RE.STANDARD]:{default:kt("provider-ppfortuneacesuperscatter.png")}},PROVIDER_PPGATESOFGATOTKACA1000:{[ke.RE.STANDARD]:{default:kt("provider-ppgatesofgatotkaca1000.png")}},PROVIDER_PPGATESOFOLYMPUSSUPERSCATTER:{[ke.RE.STANDARD]:{default:kt("provider-ppgatesofolympussuperscatter.png")}},PROVIDER_PPRUJAKBONANZA:{[ke.RE.STANDARD]:{default:kt("provider-pprujakbonanza.png")}},PROVIDER_SEXYDRAGONTIGER:{[ke.RE.STANDARD]:{default:kt("provider-sexydragontiger.png")}},PROVIDER_SEXYEXTRASICBO:{[ke.RE.STANDARD]:{default:kt("provider-sexyextrasicbo.png")}},PROVIDER_JILISUPERACEII:{[ke.RE.STANDARD]:{default:kt("provider-jilisuperaceii.png")}},PROVIDER_EVOCRAZYTIME:{[ke.RE.STANDARD]:{default:kt("provider-evocrazytime.png")}},PROVIDER_WMSICBO:{[ke.RE.STANDARD]:{default:kt("provider-wmsicbo.png")}},PROVIDER_MGKONGSJUNGLETOWER:{[ke.RE.STANDARD]:{default:kt("provider-mgkongsjungletower.png")}},PROVIDER_EVOBACCARATLIVE:{[ke.RE.STANDARD]:{default:kt("provider-evobaccaratlive.png")}}},So=a=>"/assets/images/icon-set/theme-icon/"+a,ea=a=>"/assets/images/icon-set/theme-icon/"+a,xn=a=>"/assets/images/brand/white/"+a,ms=a=>"/assets/images/icon-set/sports-icon/"+a,cv={ICON_CRICKET:{[ke.RE.STANDARD]:{default:So("icon-cricket.svg")}},ICON_CRICKET2:{[ke.RE.STANDARD]:{default:So("icon-cricket2.svg")}},ICON_HOTGAME:{[ke.RE.STANDARD]:{default:So("icon-hotgame.svg")}},ICON_ARCADE:{[ke.RE.STANDARD]:{default:So("icon-arcade.svg")}},ICON_CASINO:{[ke.RE.STANDARD]:{default:So("icon-casino.svg")}},ICON_FISH:{[ke.RE.STANDARD]:{default:So("icon-fish.svg")}},ICON_LOTTERY:{[ke.RE.STANDARD]:{default:So("icon-lottery.svg")}},ICON_SLOT:{[ke.RE.STANDARD]:{default:So("icon-slot.svg")}},ICON_SPORT:{[ke.RE.STANDARD]:{default:So("icon-sport.svg")}},ICON_TABLE:{[ke.RE.STANDARD]:{default:So("icon-table.svg")}},ICON_CRASH:{[ke.RE.STANDARD]:{default:So("icon-crash.svg")}},ICON_COCKFIGHTING:{[ke.RE.STANDARD]:{default:So("icon-cockfighting.svg")}}},lv={ICON_ARCADE:{[ke.RE.STANDARD]:{default:ea("icon-arcade.svg")}},ICON_CASINO:{[ke.RE.STANDARD]:{default:ea("icon-casino.svg")}},ICON_HOTGAME:{[ke.RE.STANDARD]:{default:ea("icon-hotgame.svg")}},ICON_CRICKET:{[ke.RE.STANDARD]:{default:ea("icon-cricket.svg")}},ICON_CRICKET2:{[ke.RE.STANDARD]:{default:ea("icon-cricket2.svg")}},ICON_FISH:{[ke.RE.STANDARD]:{default:ea("icon-fish.svg")}},ICON_LOTTERY:{[ke.RE.STANDARD]:{default:ea("icon-lottery.svg")}},ICON_SLOT:{[ke.RE.STANDARD]:{default:ea("icon-slot.svg")}},ICON_SPORT:{[ke.RE.STANDARD]:{default:ea("icon-sport.svg")}},ICON_TABLE:{[ke.RE.STANDARD]:{default:ea("icon-table.svg")}},ICON_CRASH:{[ke.RE.STANDARD]:{default:ea("icon-crash.svg")}},ICON_COCKFIGHTING:{[ke.RE.STANDARD]:{default:ea("icon-cockfighting.svg")}}},Qu={PROVIDER_AWCMCG:{[ke.RE.STANDARD]:{default:xn("provider-awcmcg.png")}},PROVIDER_MAHA:{[ke.RE.STANDARD]:{default:xn("provider-maha.png")}},PROVIDER_AWCMFASTSPIN:{[ke.RE.STANDARD]:{default:xn("provider-awcmfastspin.png")}},PROVIDER_AWCMFC:{[ke.RE.STANDARD]:{default:xn("provider-awcmfc.png")}},PROVIDER_AWCMJILI:{[ke.RE.STANDARD]:{default:xn("provider-awcmjili.png")}},PROVIDER_AWCMKM:{[ke.RE.STANDARD]:{default:xn("provider-awcmkm.png")}},PROVIDER_AWCMP8:{[ke.RE.STANDARD]:{default:xn("provider-awcmp8.png")}},PROVIDER_AWCMPP:{[ke.RE.STANDARD]:{default:xn("provider-awcmpp.png")}},PROVIDER_AWCMPT:{[ke.RE.STANDARD]:{default:xn("provider-awcmpt.png")}},PROVIDER_AWCMRT:{[ke.RE.STANDARD]:{default:xn("provider-awcmrt.png")}},PROVIDER_AWCMSEXY:{[ke.RE.STANDARD]:{default:xn("provider-awcmsexy.png")}},PROVIDER_AWCMSG:{[ke.RE.STANDARD]:{default:xn("provider-awcmsg.png")}},PROVIDER_AWCMYL:{[ke.RE.STANDARD]:{default:xn("provider-awcmyl.png")}},PROVIDER_BPOKER:{[ke.RE.STANDARD]:{default:xn("provider-bpoker.png")}},PROVIDER_CQ9:{[ke.RE.STANDARD]:{default:xn("provider-cq9.png")}},PROVIDER_EKOR:{[ke.RE.STANDARD]:{default:xn("provider-ekor.png")}},PROVIDER_EVO:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_evolution.png")}},PROVIDER_JDB:{[ke.RE.STANDARD]:{default:xn("provider-jdb.png")}},PROVIDER_JOKER:{[ke.RE.STANDARD]:{default:xn("provider-joker.png")}},PROVIDER_KA:{[ke.RE.STANDARD]:{default:xn("provider-ka.png")}},PROVIDER_MG:{[ke.RE.STANDARD]:{default:xn("provider-mg.png")}},PROVIDER_NETENT:{[ke.RE.STANDARD]:{default:xn("provider-netent.png")}},PROVIDER_NEXTSPIN:{[ke.RE.STANDARD]:{default:xn("provider-nextspin.png")}},PROVIDER_NUMBER:{[ke.RE.STANDARD]:{default:xn("provider-number.png")}},PROVIDER_NUMBER2:{[ke.RE.STANDARD]:{default:xn("provider-number2.png")}},PROVIDER_PG:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_pg.png")}},PROVIDER_PLAYNGO:{[ke.RE.STANDARD]:{default:xn("provider-playngo.png")}},PROVIDER_PS:{[ke.RE.STANDARD]:{default:xn("provider-ps.png")}},PROVIDER_RICH88:{[ke.RE.STANDARD]:{default:xn("provider-rich88.png")}},PROVIDER_SA:{[ke.RE.STANDARD]:{default:xn("provider-sa.png")}},PROVIDER_SBOV2:{[ke.RE.STANDARD]:{default:xn("provider-sbov2.png")}},PROVIDER_WM:{[ke.RE.STANDARD]:{default:xn("provider-wm.png")}},PROVIDER_WORLDMATCH:{[ke.RE.STANDARD]:{default:xn("provider-worldmatch.png")}},PROVIDER_KBOOK:{[ke.RE.STANDARD]:{default:xn("provider-kbook.png")}},PROVIDER_BG:{[ke.RE.STANDARD]:{default:xn("provider-bg.png")}},PROVIDER_HOTROAD:{[ke.RE.STANDARD]:{default:xn("provider-awcmhotroad.png")}},PROVIDER_SPRIBE:{[ke.RE.STANDARD]:{default:xn("provider-jdbaspribe.png")}},PROVIDER_AWCMYESBINGO:{[ke.RE.STANDARD]:{default:xn("provider-awcmyesbingo.png")}},PROVIDER_AWCMVR:{[ke.RE.STANDARD]:{default:xn("provider-awcmvr.png")}},PROVIDER_TCGLOTTOVN:{[ke.RE.STANDARD]:{default:xn("provider-tcglottovn.png")}},PROVIDER_SV388:{[ke.RE.STANDARD]:{default:xn("provider-sv388.png")}},PROVIDER_AWCMDG:{[ke.RE.STANDARD]:{default:xn("provider-awcmdg.png")}},PROVIDER_LUCKY365:{[ke.RE.STANDARD]:{default:xn("provider-lucky365.png")}},PROVIDER_AWCMVIA:{[ke.RE.STANDARD]:{default:xn("provider-awcmvia.png")}},PROVIDER_XTREEMFATPANDA:{[ke.RE.STANDARD]:{default:xn("provider-xtreemfatpanda.png")}},PROVIDER_AWCV2_YL:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_yl.png")}},PROVIDER_AWCV2_DRAGOONSOFT:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_dragoonsoft.png")}},PROVIDER_AWCV2_BTG:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_btg.png")}},PROVIDER_AWCV2_CREEDROOMZ:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_creedroomz.png")}},PROVIDER_AWCV2_SMARTSOFT:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_smartsoft.png")}},...av,PROVIDER_AWCV2_NLC:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_nlc.png")}},PROVIDER_AWCV2_WINFINITY:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_winfinity.png")}},PROVIDER_AWCV2_COOLGAME:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_coolgame.png")}},PROVIDER_AWCV2_FIVEG:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_fiveg.png")}},PROVIDER_AWCV2_OCTOPLAY:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_octoplay.png")}},PROVIDER_AWCV2_RELAX:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_relax.png")}},PROVIDER_DREAMGAMINGBACCARATD05:{[ke.RE.STANDARD]:{default:xn("provider-dreamgamingbaccaratd05.png")}},PROVIDER_JILICHICKENDASH:{[ke.RE.STANDARD]:{default:xn("provider-jilichickendash.png")}},PROVIDER_JILISUPERACESPEEDEXCLUSIVE:{[ke.RE.STANDARD]:{default:xn("provider-jilisuperacespeedexclusive.png")}},PROVIDER_PPMEGAWHEEL:{[ke.RE.STANDARD]:{default:xn("provider-ppmegawheel.png")}},PROVIDER_PPMERMAIDTREASURETROVE:{[ke.RE.STANDARD]:{default:xn("provider-ppmermaidtreasuretrove.png")}},PROVIDER_RICH88BIGANDSMALL2:{[ke.RE.STANDARD]:{default:xn("provider-rich88bigandsmall2.png")}},PROVIDER_SEXYBACCARATCLASSIC:{[ke.RE.STANDARD]:{default:xn("provider-sexybaccaratclassic.png")}},PROVIDER_SEXYTHAIFISHPRAWNCRAB:{[ke.RE.STANDARD]:{default:xn("provider-sexythaifishprawncrab.png")}},PROVIDER_GA28:{[ke.RE.STANDARD]:{default:xn("provider-ga28.png")}},PROVIDER_AWCV2_HACKSAW:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_hacksaw.png")}},PROVIDER_AWCV2_ACEWIN:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_acewin.png")}},PROVIDER_AWCV2_SPRIBE:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_spribe.png")}},PROVIDER_AWCV2_JJ:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_jj.png")}},PROVIDER_AWCV2_COMBO:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_combo.png")}},PROVIDER_AWCV2_JDB:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_jdb.png")}},PROVIDER_JDBGTF:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_gtf.png")}},PROVIDER_AWCV2_CRASH88:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_crash88.png")}},PROVIDER_AWCV2_YGGDRASIL:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_yggdrasil.png")}},PROVIDER_AWCV2_LETSGO:{[ke.RE.STANDARD]:{default:xn("provider-awcv2_letsgo.png")}}},Ma={ICON_AWCMBC:{[ke.RE.STANDARD]:{default:ms("icon-awcmbc.svg")}},ICON_EXCHANGE:{[ke.RE.STANDARD]:{default:ms("icon-exchange.svg")}},ICON_GREYHOUND:{[ke.RE.STANDARD]:{default:ms("icon-greyhound.svg")}},ICON_BADMINTON:{[ke.RE.STANDARD]:{default:ms("icon-badminton.svg")}},ICON_BASKETBALL:{[ke.RE.STANDARD]:{default:ms("icon-basketball.svg")}},ICON_HORSEBOOK:{[ke.RE.STANDARD]:{default:ms("icon-horsebook.svg")}},ICON_HORSERACING:{[ke.RE.STANDARD]:{default:ms("icon-horseracing.svg")}},ICON_ICF:{[ke.RE.STANDARD]:{default:ms("icon-icf.svg")}},ICON_SBOV2:{[ke.RE.STANDARD]:{default:ms("icon-sbov2.svg")}},ICON_KABADDI:{[ke.RE.STANDARD]:{default:ms("icon-kabaddi.svg")}},ICON_SOCCER:{[ke.RE.STANDARD]:{default:ms("icon-soccer.svg")}},ICON_SPORTBOOK:{[ke.RE.STANDARD]:{default:ms("icon-sportbook.svg")}},ICON_SV388:{[ke.RE.STANDARD]:{default:ms("icon-sv388.svg")}},ICON_SV388_CUSTOM:{[ke.RE.STANDARD]:{default:ms("icon-sv388-custom.png")}},ICON_TENNIS:{[ke.RE.STANDARD]:{default:ms("icon-tennis.svg")}},ICON_UGV3:{[ke.RE.STANDARD]:{default:ms("icon-ugv3.svg")}},ICON_SBTECH:{[ke.RE.STANDARD]:{default:ms("icon-sbtech.svg")}},ICON_CMD:{[ke.RE.STANDARD]:{default:ms("icon-cmd.svg")}},ICON_CFE:{[ke.RE.STANDARD]:{default:ms("icon-cfe.svg")}},ICON_VIRTUAL:{[ke.RE.STANDARD]:{default:ms("icon-virtual.svg")}},ICON_NST:{[ke.RE.STANDARD]:{default:ms("icon-nst.png")}},ICON_AWCMPINNACLE:{[ke.RE.STANDARD]:{default:ms("icon-awcmpinnacle.png")}},ICON_NST2:{[ke.RE.STANDARD]:{default:ms("icon-nst2.png")}},ICON_AWCV2INSPORTS:{[ke.RE.STANDARD]:{default:ms("icon-awcv2_insports.png")}},ICON_AWCV2INSPORTS2:{[ke.RE.STANDARD]:{default:ms("icon-awcv2_insports2.png")}},ICON_AWCV2FBSPORTS:{[ke.RE.STANDARD]:{default:ms("icon-awcv2_fbsports.png")}}},yo={[ke.tO.NAV]:{...cv},[ke.tO.PROVIDER]:{...Qu,...Ma},[ke.tO.PROVIDER_SPORTS]:{...Qu,...Ma},[ke.tO.LEFT_NAV]:{...lv},[ke.tO.LEFT_PROVIDER]:{...Qu,...Ma},[ke.tO.LEFT_PROVIDER_SPORTS]:{...Qu,...Ma}},ag=(0,ke.R2)(yo),uv=(0,ke.R2)(yo),wh=(0,ke.R2)(yo),fa=(0,ke.R2)(yo),dv=(0,ke.R2)(yo),zu=(0,ke.R2)(yo),Kl=(0,ke.R2)(yo),hv=(0,ke.R2)(yo),cg=(0,ke.R2)(yo),lg={[re.U.INR.name]:ag,[re.U.BDT.name]:uv,[re.U.PHP.name]:wh,[re.U.VND.name]:fa,[re.U.PKR.name]:dv,[re.U.MYR.name]:zu,[re.U.USD.name]:Kl,[re.U.LKR.name]:hv,[re.U.NPR.name]:cg};let Ju=(()=>{class a{constructor(n,o,d){this.router=n,this.authService=o,this.authState=d}canActivateChild(n,o){return this.authState.select("isLogin").pipe((0,on.n)(d=>d?(0,L.of)(!0):this.authService.checkLogin().pipe((0,hn.T)(_=>_.status===Ds.m.SUCCESS.statusCode||this.router.parseUrl("/login?returnUrl="+o.url)))),(0,R.W)(()=>(0,L.of)(this.router.parseUrl("/login?returnUrl="+o.url))))}static#e=this.\u0275fac=function(o){return new(o||a)(e.KVO(en.Ix),e.KVO(as.uR),e.KVO(gi.H))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Na=l(13978),$t=l(51544),fv=l(29655);let pv=(()=>{class a{constructor(){this.httpClient=(0,e.WQX)(fv.t)}static#e=this.GET_AFFILIATE_LANDING_INFO="/api/bt/v1/affiliate/getAffiliateLandingInfo";getAffiliateLandingInfo(n,o,d={}){const _={afCode:n,afKeyword:encodeURIComponent(o||""),...d};return this.httpClient.post(a.GET_AFFILIATE_LANDING_INFO,_).pipe((0,on.n)(N=>N.data?(0,L.of)(N.data):(0,ya.$)(()=>new Error(N.message||N.error))))}static#t=this.\u0275fac=function(o){return new(o||a)};static#n=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var ug=l(983);let dg=(()=>{class a{constructor(){this.affiliateService=(0,e.WQX)(pv),this.router=(0,e.WQX)(en.Ix),this.defaultUrlSerializer=(0,e.WQX)(en.nU)}resolve(n,o){const d=n.params.afCode,_=n.params.afKeyword,N=n.queryParams;return console.log("af link req",{afCode:d,afKeyword:_,queryParams:N}),this.affiliateService.getAffiliateLandingInfo(d,_,N).pipe((0,on.n)(U=>{const ue=this.defaultUrlSerializer.parse(o.url),we=[li.C.LANDING_PAGE.link,U.landingPageType];U.isInternal||we.push(U.correctAfCode);const Ge=this.router.createUrlTree(we,{queryParams:ue.queryParams});return console.log(`Redirect from ${ue} to ${Ge}`),N.fb_dynamic_pixel&&localStorage.setItem("fb_dynamic_pixel",N.fb_dynamic_pixel),this.router.navigateByUrl(Ge),ug.w}),(0,R.W)(U=>(console.error(U),this.router.navigateByUrl(li.C.NOT_FOUND.link),ug.w)))}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),gv=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-af"]],standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(o,d){},encapsulation:2})}return a})(),hg=(()=>{class a{constructor(){this.pwaService=(0,e.WQX)(Gl)}canActivate(){return this.pwaService.initPushNotificationIfNeeded(),!0}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),oo=(()=>{class a{preload(n,o){return(0,L.of)(null)}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Ph=(()=>{class a{constructor(){this.siteSetting=(0,e.WQX)(ti.p)}canActivate(n,o){const d=this.siteSetting.get("currentCurrencyType"),_=this.siteSetting.get("currentLanguageType"),we={PHP_en:"https://mcwlnk.co/MCWAPPPHP",BDT_bn:"https://mcwlnk.co/MCWAPPBDT",BDT_en:"https://mcwlnk.co/MCWAPPBDT-EN",VND_vn:"https://mcwlnk.co/MCWAPPVND",VND_en:"https://mcwlnk.co/MCWAPPVND",USD_km:"https://mcwlnk.co/MCWAPPUSD",USD_en:"https://mcwlnk.co/MCWAPPUSD-EN",MYR_en:"https://mcwlnk.co/MCWAPPMYR",MYR_ma:"https://mcwlink.co/MCWAPPMYR-MA",MYR_cn:"https://mcwlink.co/MCWAPPMYR-CN",PKR_en:"https://mcwlnk.co/MCWAPPPKR",INR_hi:"https://mcwlnk.co/MCWAPPINR",INR_en:"https://mcwlnk.co/MCWAPPINR-EN",NPR_ne:"https://mcwlnk.co/MCWAPPNPR",NPR_en:"https://mcwlnk.co/MCWAPPNPR-EN",LKR_si:"https://mcwlnk.co/MCWAPPLKR",LKR_en:"https://mcwlnk.co/MCWAPPLKR-EN"}[d.name+"_"+_._resourceKey]||void 0;return we&&window.open(we,"_blank"),!1}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),fg=(()=>{class a{constructor(){this.siteSetting=(0,e.WQX)(ti.p),this.router=(0,e.WQX)(en.Ix)}canActivate(){return"PHP"===this.siteSetting.get("currentCurrencyType").name||(this.router.navigateByUrl("/"),!1)}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Lh=(()=>{class a{constructor(){this.siteSetting=(0,e.WQX)(ti.p)}canActivate(n,o){const d=this.siteSetting.get("currentCurrencyType"),_=this.siteSetting.get("currentLanguageType"),we={PHP_en:"https://mcwlnk.co/MCWPHPVIP",BDT_bn:"https://mcwlnk.co/MCWBDTVIP",BDT_en:"https://mcwlnk.co/MCWBDTVIP-EN",VND_vn:"https://mcwlnk.co/MCWVNDVIP",VND_en:"https://mcwlnk.co/MCWVNDVIP",USD_km:"https://mcwlnk.co/MCWUSDVIP",USD_en:"https://mcwlnk.co/MCWUSDVIP-EN",MYR_en:"https://mcwlnk.co/MCWMYRVIP",MYR_ma:"https://mcwlnk.co/MYRBahasa",MYR_cn:"https://mcwlnk.co/MYRChinese",PKR_en:"https://mcwlnk.co/MCWPKRVIP",INR_hi:"https://mcwlnk.co/MCWINRVIP",INR_en:"https://mcwlnk.co/MCWINRVIP-EN",NPR_ne:"https://mcwlnk.co/MCWNPRVIP",NPR_en:"https://mcwlnk.co/MCWNPRVIP-EN",LKR_si:"https://mcwlnk.co/MCWLKRVIP",LKR_en:"https://mcwlnk.co/MCWLKRVIP-EN"}[d.name+"_"+_._resourceKey]||void 0;return we&&window.open(we,"_blank"),!1}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Xt=l(45122),Qa=l(98953),il=l(2348);new e.nKC("CUSTOM_LEFT_MENU_BANNER"),new e.nKC("REPLACE_SPORT_VENDER_LIST"),new e.nKC("CUSTOM_LEFT_MENU_CATEGORY"),new e.nKC("HEAD_COMPONENT_SLOT"),new e.nKC("MENU_COMPONENT_BN"),ys.gsap.registerPlugin(il.I),(0,H.hZ)("collapseHorizontal",[(0,H.wk)("false",(0,H.iF)({opacity:1,width:H.kp})),(0,H.wk)("true",(0,H.iF)({opacity:0,width:0})),(0,H.kY)("false => true",[(0,H.i0)("300ms",(0,H.iF)({opacity:0})),(0,H.i0)("500ms",(0,H.iF)({width:0}))]),(0,H.kY)("true => false",[(0,H.i0)("300ms",(0,H.iF)({opacity:1})),(0,H.i0)("500ms",(0,H.iF)({width:H.kp}))])]);var cl=l(67079);const Za=new e.nKC("SIDE_MENU_STATE",{providedIn:"root",factory:()=>new Hr.Y}),iO=new e.nKC("REPLACE_SPORT_VENDER_LIST"),Yg=new e.nKC("CUSTOM_SIDE_MENU_BANNER"),Xg=new e.nKC("MIDDLE_COMPONENT_SLOT"),sO=new e.nKC("BOTTOM_COMPONENT_SLOT");var ll=l(45829),ul=l(18144),ud=l(89358),xE=l(10098),Js=l(69568),dd=l(23386),tu=l(80247),nu=l(84652),hd=l(83950),pa=l(41842),ga=l(65210);function Qg(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"a",3),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.close())}),e.k0s(),e.j41(2,"img",4),e.bIt("click",function(){const d=e.eBV(n).ngIf,_=e.XpG(2);return e.Njj(_.onClick(d))}),e.k0s(),e.bVm()}if(2&a){const n=p.ngIf;e.R7$(2),e.Y8G("mcdSrc",n.imageH5SliderPath)}}function FE(a,p){if(1&a&&(e.j41(0,"div",1),e.DNE(1,Qg,3,1,"ng-container",2),e.nI1(2,"async"),e.k0s()),2&a){const n=p.ngIf,o=e.XpG();e.Y8G("@popWrapTriggerAni",n),e.R7$(),e.Y8G("ngIf",e.bMT(2,2,o.floatBanner$))}}let zg=(()=>{class a{get isShow(){return this._isShow}set isShow(n){this._isShow=n}constructor(n,o){this.messageService=n,this.dialogService=o,this.performanceSettingService=(0,e.WQX)(Eo.c),this.commonUtilService=(0,e.WQX)(xE.j),this.openGameService=(0,e.WQX)(tu.eD),this.appStateService=(0,e.WQX)(ce.i),this.cdr=(0,e.WQX)(e.gRc),this.destroyRef=(0,e.WQX)(e.abz),this.clickSubject=new S.B,this.disableAnimation=this.performanceSettingService.isLite,this.siteSettingState$=(0,e.WQX)(ti.p),this.authState$=(0,e.WQX)(gi.H),this._isShow=!1,this.isFloatBannerActive$=new P.t(!0),this.subscriptions=[],this.destroy$=new S.B,this.floatBanner$=(0,ro.z)([this.siteSettingState$.select("currentCurrencyType"),this.authState$.select("isLogin")]).pipe((0,Z.Q)(this.destroy$),(0,mc.F)((d,_)=>d[0].unique===_[0].unique&&d[1]===_[1]),(0,on.n)(()=>this.messageService.getMessageByTypes([zs.G.FOOTER_FLOAT_BANNER.unique]).pipe((0,hn.T)(d=>d.find(_=>_.status===hd.Y.ACTIVE.unique)))),(0,Js.t)(1))}ngOnInit(){this.observeIframeOpen(),this.clickSubject.pipe((0,dd.c)(1e3)).subscribe(n=>{this.handleClick(n)})}ngOnDestroy(){this.destroy$.next(void 0)}observeIframeOpen(){this.appStateService.on("isIframeGameOpened").pipe((0,ot.M)(n=>{n&&(this._isShow=!1,this.cdr.detectChanges())}),(0,Z.Q)(this.destroy$)).subscribe()}close(){this.isFloatBannerActive$.next(!1)}onClick(n){this.clickSubject.next(n)}handleClick(n){n.contentType!==nu.h.NONE.unique&&this.messageService.getMessageDetailById(n.id).pipe((0,ot.M)(o=>{if(n.contentType===nu.h.LINK.unique){const _=this.commonUtilService.detectMessageContent(o.h5Content);!1===_.isOpenGame?window.open(_.url):this.openGameFromH5Content(_.url)}else n.contentType===nu.h.TEXT.unique&&this.dialogService.openDialog(Wa.D,{data:{title:`${o.title}`,content:`${o.h5Content}`,banner:n.imageBannerPath,contentType:n.contentType}}).subscribe()}),(0,ui.pQ)(this.destroyRef)).subscribe()}openGameFromH5Content(n){const d=n.replace(/\/open-game-link\//g,"").split("/"),_=Number(d[0]);this.openGameService.open({gameTypeId:_,vendorCode:d[1],gameCode:d[2]}).subscribe()}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(wr.b),e.rXU($r.o))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-float-banner"]],hostVars:1,hostBindings:function(o,d){2&o&&e.zvX("@.disabled",d.disableAnimation)},inputs:{isShow:"isShow"},decls:3,vars:5,consts:[["class","float-banner",4,"ngIf"],[1,"float-banner"],[4,"ngIf"],[1,"close",3,"click"],[3,"click","mcdSrc"]],template:function(o,d){1&o&&(e.DNE(0,FE,3,4,"div",0),e.nI1(1,"async"),e.nI1(2,"async")),2&o&&e.Y8G("ngIf",d.isShow&&e.bMT(1,1,d.isFloatBannerActive$)&&e.bMT(2,3,d.floatBanner$))},dependencies:[u.bT,pa.f,ga.h,u.Jj],data:{animation:[br.tt]},changeDetection:0})}return a})();var Sc=l(68990),To=l(68150),qa=function(a){return a[a.INVISIBLE=-1]="INVISIBLE",a[a.MAINTENANCE=0]="MAINTENANCE",a[a.ACTIVE=1]="ACTIVE",a}(qa||{});class Ho extends O.N{static#e=this._values=new Array;static#t=this.INVISIBLE=new Ho(qa.INVISIBLE);static#n=this.MAINTENANCE=new Ho(qa.MAINTENANCE);static#s=this.ACTIVE=new Ho(qa.ACTIVE);constructor(p){super(p),this._value=p,Ho.values.push(this)}static get values(){return this._values}static getInstanceOf(p){return this._values.find(n=>n._value===p)}}var Zi=l(7760);let fd=(()=>{class a{get isActive(){return(0,e.EWP)(()=>this._isActive())}constructor(){this._destroyRef=(0,e.WQX)(e.abz),this._isActive=(0,e.vPA)(!1),this._trigger$=new S.B,this._trigger$.pipe((0,so.B)(200),(0,ui.pQ)(this._destroyRef)).subscribe(()=>{this._isActive.set(!this._isActive())})}trigger(){this._trigger$.next(null)}activate(){this._isActive.set(!0)}deactivate(){this._isActive.set(!1)}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Xn=l(81818),na=l(89417),Jg=l(92975),yc=l(30786),Zg=l(75548),qg=l(42809);const kE=["inputControl"],rO=a=>({active:a});function pd(a,p){if(1&a&&(e.qex(0),e.nrm(1,"mcd-game-box",17),e.bVm()),2&a){const n=p.$implicit;e.R7$(),e.Y8G("game",n)}}function BE(a,p){if(1&a&&(e.qex(0),e.j41(1,"div",18),e.EFF(2),e.k0s(),e.bVm()),2&a){const n=e.XpG(3).$implicit;e.R7$(2),e.SpI(" ",n("ui.global.text.end_of_data")," ")}}function e_(a,p){if(1&a&&(e.qex(0),e.DNE(1,BE,3,1,"ng-container",16),e.bVm()),2&a){const n=p.ngIf,o=e.XpG(3);e.R7$(),e.Y8G("ngIf",!1===o.isLoading$.value&&n.length>0&&(null==o.pageInfo?null:o.pageInfo.totalPage)===(null==o.pageInfo?null:o.pageInfo.currentPage))}}function t_(a,p){1&a&&(e.qex(0),e.nrm(1,"mcd-no-data"),e.bVm())}function n_(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",4)(1,"div",5)(2,"div",6)(3,"form",7),e.bIt("ngSubmit",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.submitSearch())}),e.j41(4,"div",8),e.nrm(5,"span",9),e.nI1(6,"async"),e.nI1(7,"imageUrl"),e.nrm(8,"input",10,0),e.k0s()(),e.j41(10,"span",11),e.nI1(11,"async"),e.nI1(12,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.closeSearch())}),e.k0s()(),e.j41(13,"div",12)(14,"mcd-waterfall-scroll",13),e.bIt("scrolled",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.loadRecord())}),e.j41(15,"div",14),e.DNE(16,pd,2,1,"ng-container",15),e.nI1(17,"async"),e.k0s(),e.DNE(18,e_,2,1,"ng-container",16),e.nI1(19,"async"),e.k0s(),e.DNE(20,t_,2,0,"ng-container",16),e.nI1(21,"async"),e.k0s()()()}if(2&a){let n,o,d;const _=e.XpG().$implicit,N=e.XpG();e.Y8G("@popWrapTriggerAni",N.isActive)("ngClass",e.eq3(27,rO,N.isActive)),e.R7$(3),e.Y8G("formGroup",N.form),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(7,15,null==(n=e.bMT(6,13,N.switchThemeService.imageLink$))?null:n.SEARCH_SEARCH_ICON)),e.R7$(3),e.Y8G("placeholder",_("ui.filter_tab.search_games")),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(12,19,null==(o=e.bMT(11,17,N.switchThemeService.imageLink$))?null:o.POP_CLOSE_ICON)),e.R7$(4),e.Y8G("anchorCheckerTrigger",N.waterfallAnchorCheckerTrigger$)("isLoading",N.isLoading$),e.R7$(2),e.Y8G("ngForOf",e.bMT(17,21,N.records$)),e.R7$(2),e.Y8G("ngIf",e.bMT(19,23,N.records$)),e.R7$(2),e.Y8G("ngIf",""!==N.searchParams.gameName&&!1===N.isLoading$.value&&0===(null==(d=e.bMT(21,25,N.records$))?null:d.length))}}function cf(a,p){if(1&a&&(e.qex(0),e.DNE(1,n_,22,29,"div",2),e.nrm(2,"div",3),e.bVm()),2&a){const n=e.XpG();e.R7$(),e.Y8G("ngIf",n.isActive)}}let lf=(()=>{class a{constructor(){this.isActive=!1,this.closeSearchEmitEvt=new e.bkB(!1),this.images=new $s.l,this.switchThemeService=(0,e.WQX)(ir.Fu),this.form=new na.gE({}),this.cdr=(0,e.WQX)(e.gRc),this.fb=(0,e.WQX)(na.ok),this.providerService=(0,e.WQX)(Sc.$),this.isLoading$=new P.t(!1),this.searchParams={gameName:"",currentPage:1,pageSize:24},this.searchState=(0,e.WQX)(Hr.Y),this.init$=new S.B,this.initHandler$=this.init$.pipe((0,ot.M)(()=>this.isLoading$.next(!0)),(0,yc.p)(n=>this.providerService.getGameListByKeyword(n.searchParams).pipe((0,ot.M)(()=>{n.commands?.keepRecords||this.searchState.set("records",()=>[])}))),(0,ot.M)(()=>this.isLoading$.next(!1))),this.waterfallAnchorCheckerTrigger$=this.searchState.select("pageInfo").pipe((0,Js.t)(1)),this.records$=this.searchState.select((0,Jg.$z)(["records"]),(0,hn.T)(({records:n})=>n)),this.searchState.connect(this.initHandler$,(n,o)=>({...o,records:(n?.records||[]).concat(o.records||[])}))}ngOnInit(){this.initFromGroup()}ngAfterViewInit(){this.setSearchInputFocus()}initFromGroup(){this.form=this.fb.group({search:[""]})}setSearchInputFocus(){this.inputControl?.nativeElement.focus()}closeSearch(){this.closeSearchEmitEvt.emit(!0),this.isLoading$.next(!1),this.searchParams.gameName="",this.initFromGroup(),this.searchState.set("records",()=>[]),this.cdr.detectChanges()}loadRecord(){this.records$.subscribe(n=>{!n||0===n.length||""===this.form.get("search")?.value.trim()||(this.searchState.select("pageInfo").forEach(_=>{this.pageInfo=_}),this.pageInfo?.currentPage===this.pageInfo?.totalPage)||(this.searchParams.currentPage=(this.pageInfo?.currentPage||0)+1,this.init$.next({searchParams:this.searchParams,commands:{keepRecords:!0}}))})}submitSearch(){const n=this.form.get("search")?.value.trim();""===n||this.searchParams.gameName===n||(this.searchParams.currentPage=1,this.searchState.set("records",()=>[]),this.searchParams.gameName=n,this.init$.next({searchParams:this.searchParams}))}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-search-game"]],viewQuery:function(o,d){if(1&o&&e.GBs(kE,5),2&o){let _;e.mGM(_=e.lsd())&&(d.inputControl=_.first)}},inputs:{isActive:"isActive"},outputs:{closeSearchEmitEvt:"closeSearchEmitEvt"},decls:1,vars:0,consts:[["inputControl",""],[4,"transloco"],["class","search-container",3,"ngClass",4,"ngIf"],[1,"transparent-overlay"],[1,"search-container",3,"ngClass"],[1,"search__wrap-inner"],[1,"search__header"],[3,"ngSubmit","formGroup"],[1,"input-group"],[1,"search__icon-search"],["formControlName","search","type","text",1,"input",3,"placeholder"],[1,"search__close",3,"click"],[1,"search__results","games"],[3,"scrolled","anchorCheckerTrigger","isLoading"],[1,"games-main"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"game"],[1,"prompt"]],template:function(o,d){1&o&&e.DNE(0,cf,3,1,"ng-container",1)},dependencies:[u.YU,u.Sq,u.bT,b.bA,Zg.z,na.qT,na.me,na.BC,na.cb,na.j4,na.JD,qg.X,eo.F,u.Jj,Ms.Hc],encapsulation:2,data:{animation:[br.Z]},changeDetection:0})}return a})();var Kr=l(75563),Tc=l(64337),bc=l(85964);const uf=(a,p)=>p.displayName;function iu(a,p){if(1&a&&(e.nrm(0,"div",3),e.nI1(1,"vendorIcon"),e.nI1(2,"imageUrl")),2&a){const n=e.XpG(2).$implicit,o=e.XpG(2);e.xc7("background-image",e.bMT(2,5,e.i5U(1,2,n,o.vendorIconColor())))}}function i_(a,p){if(1&a&&(e.nrm(0,"div",3),e.nI1(1,"galleryImageAsync"),e.nI1(2,"async"),e.nI1(3,"imageUrl")),2&a){const n=e.XpG(2).$implicit,o=e.XpG(2);e.xc7("background-image",e.bMT(3,7,e.bMT(2,5,e.i5U(1,2,n.iconFlag,o.GalleryCategoryType.LEFT_PROVIDER||o.getGalleryCategoryTypeByGameType(n.content.gameType)))))}}function df(a,p){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2).$implicit;e.R7$(),e.JRh(n.displayName)}}function gd(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",1),e.bIt("click",function(){e.eBV(n);const d=e.XpG().$implicit,_=e.XpG(2);return e.Njj(_.clickNavContent(d))}),e.j41(1,"a"),e.DNE(2,iu,3,7,"div",2)(3,i_,4,9)(4,df,2,1,"p"),e.k0s()()}if(2&a){const n=e.XpG().$implicit,o=e.XpG(2);e.BMQ("web-category-type","VENDOR")("game-type",null==n.content?null:n.content.gameType)("vendor",null==n.content?null:n.content.vendor),e.R7$(2),e.vxM(2,null!=n&&null!=n.customizeData&&n.customizeData.active?2:3),e.R7$(2),e.vxM(4,o.isVerticalTemplate()?-1:4)}}function UE(a,p){if(1&a&&(e.nrm(0,"div",3),e.nI1(1,"vendorIcon"),e.nI1(2,"imageUrl")),2&a){const n=e.XpG(2).$implicit,o=e.XpG(2);e.xc7("background-image",e.bMT(2,5,e.i5U(1,2,n,o.vendorIconColor())))}}function s_(a,p){if(1&a&&(e.nrm(0,"div",3),e.nI1(1,"galleryImageAsync"),e.nI1(2,"async"),e.nI1(3,"imageUrl")),2&a){const n=e.XpG(2).$implicit,o=e.XpG(2);e.xc7("background-image",e.bMT(3,7,e.bMT(2,5,e.i5U(1,2,n.iconFlag,o.getGalleryCategoryTypeByGameType(n.content.gameTypeId)))))}}function GE(a,p){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2).$implicit;e.R7$(),e.JRh(n.displayName)}}function VE(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",1),e.bIt("click",function(){e.eBV(n);const d=e.XpG().$implicit,_=e.XpG(2);return e.Njj(_.clickNavContent(d))}),e.j41(1,"a"),e.qex(2),e.DNE(3,UE,3,7,"div",2)(4,s_,4,9),e.bVm(),e.DNE(5,GE,2,1,"p"),e.k0s()()}if(2&a){const n=e.XpG().$implicit,o=e.XpG(2);e.BMQ("web-category-type","GAME")("game-type",null==n.content?null:n.content.gameTypeId)("vendor-code",null==n.content?null:n.content.vendorCode)("extra-data",null==n.content?null:n.content.extraData),e.R7$(3),e.vxM(3,null!=n&&null!=n.customizeData&&n.customizeData.active?3:4),e.R7$(2),e.vxM(5,o.isVerticalTemplate()?-1:5)}}function $E(a,p){if(1&a&&e.DNE(0,gd,5,5)(1,VE,6,6),2&a){let n;const o=p.$implicit,d=e.XpG(2);e.vxM(0,(n=o.categoryTypeId)===d.WebsiteCategoryType.VENDOR?0:n===d.WebsiteCategoryType.GAME?1:-1)}}function r_(a,p){if(1&a&&(e.j41(0,"ul",0),e.Z7z(1,$E,2,1,null,null,uf),e.k0s()),2&a){let n;const o=e.XpG();e.AVh("active",o.isNavHeadActive())("left-menu__vendor-box--vertical",o.isVerticalTemplate()),e.R7$(),e.Dyx(null==(n=o.categoryData())?null:n.subCategories)}}let hf=(()=>{class a{constructor(){this.categoryData=(0,e.hFB)(),this.isNavHeadActive=(0,e.hFB)(!1),this.vendorIconColor=(0,e.hFB)("white"),this.categoryNavContentClickEvent=(0,e.CGW)(),this.isVerticalTemplate=(0,e.EWP)(()=>this.categoryData()?.layoutTypeId===Zi.IV.VERTICAL),this.WebsiteCategoryType=Zi.IM,this.GalleryCategoryType=ke.tO}clickNavContent(n){this.categoryNavContentClickEvent.emit(n)}getGalleryCategoryTypeByGameType(n){return n===Xt.Z.SPORT.unique?ke.tO.LEFT_PROVIDER_SPORTS:ke.tO.LEFT_PROVIDER}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-left-game-orion-layout"]],inputs:{categoryData:[e.Mj6.SignalBased,"categoryData"],isNavHeadActive:[e.Mj6.SignalBased,"isNavHeadActive"],vendorIconColor:[e.Mj6.SignalBased,"vendorIconColor"]},outputs:{categoryNavContentClickEvent:"categoryNavContentClickEvent"},standalone:!0,features:[e.aNF],decls:1,vars:1,consts:[[1,"item-box","left-menu__vendor-box"],[1,"left-menu__subnav-item",3,"click"],[1,"left-menu__subnav-icon","left-menu__subnav-icon--bg",3,"background-image"],[1,"left-menu__subnav-icon","left-menu__subnav-icon--bg"]],template:function(o,d){if(1&o&&e.DNE(0,r_,3,4),2&o){let _;e.vxM(0,(_=null==(_=d.categoryData())?null:_.categoryTypeId)===d.WebsiteCategoryType.CATEGORY_CONTAINER?0:-1)}},dependencies:[u.MD,u.Jj,Kr.L,Ms.Hc,Lr.m,b.Q8,Ya.$,bc.WX,Tc.u],styles:[".left-menu__vendor-box--vertical[_ngcontent-%COMP%]{grid-auto-rows:150px}.left-menu__vendor-box--vertical[_ngcontent-%COMP%] .left-menu__subnav-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-size:cover}"],changeDetection:0})}return a})();const Ii=(a,p)=>p.displayName,o_=(a,p)=>p.name,Mc=a=>[a],ec=a=>({$implicit:a}),a_=(a,p,n,o,d,_)=>({category:a,data:p,iconTemplate:n,textTemplate:o,onNavHeadClick:d,websiteCategoryType:_}),ff=a=>({active:a}),WE=(a,p)=>({vendor:a,item:p}),su=a=>({display:a});function dl(a,p){if(1&a&&(e.nrm(0,"i",17),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit;e.xc7("mask-image",e.bMT(1,2,n[o.icon]))}}function pf(a,p){if(1&a&&(e.qex(0),e.DNE(1,dl,2,4,"i",36),e.nI1(2,"async"),e.bVm()),2&a){const n=p.$implicit,o=e.XpG().$implicit,d=e.XpG(3);e.R7$(),e.Y8G("ngIf",o.category===n.name&&e.bMT(2,1,d.switchThemeService.imageLink$))}}function ru(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",33),e.bIt("click",function(d){const _=e.eBV(n).$implicit,N=e.XpG(3);return e.Njj(N.expandSecondMenu(d,_))}),e.DNE(1,pf,3,3,"ng-container",34),e.j41(2,"span"),e.EFF(3),e.nI1(4,"lowercase"),e.k0s(),e.nrm(5,"i",35),e.nI1(6,"async"),e.nI1(7,"imageUrl"),e.k0s()}if(2&a){let n;const o=p.$implicit,d=e.XpG(2).$implicit,_=e.XpG();e.AVh("active",o.category===_.menu2ndType),e.BMQ("data-navcategory",o.category),e.R7$(),e.Y8G("ngForOf",_.gameIcon),e.R7$(2),e.SpI(" ",d(e.bMT(4,7,"ui.global.game_type.nav_"+o.gameType.name))," "),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(7,11,null==(n=e.bMT(6,9,_.switchThemeService.imageLink$))?null:n.ACCORDION_ARROW_ICON))}}function c_(a,p){if(1&a&&(e.qex(0),e.DNE(1,ru,8,13,"li",32),e.bVm()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngForOf",n.vendorList())}}function gf(a,p){1&a&&e.eu8(0)}function _f(a,p){if(1&a&&(e.nrm(0,"i",17),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit;e.xc7("mask-image",e.bMT(1,2,n[o.imageKey]))}}function mf(a,p){1&a&&e.eu8(0)}function l_(a,p){if(1&a&&(e.nrm(0,"i",35),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let n;const o=e.XpG(4);e.xc7("-webkit-mask-image",e.bMT(2,4,null==(n=e.bMT(1,2,o.switchThemeService.imageLink$))?null:n.ACCORDION_ARROW_ICON))}}function vf(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",33),e.bIt("click",function(d){const _=e.eBV(n).$implicit;return e.XpG(3).expandSecondMenu(d,_),e.Njj(null==_.onNavHeadClick?null:_.onNavHeadClick(_.data))}),e.DNE(1,gf,1,0,"ng-container",37)(2,_f,2,4,"i",36),e.nI1(3,"async"),e.DNE(4,mf,1,0,"ng-container",37)(5,l_,3,6,"i",38),e.k0s()}if(2&a){const n=p.$implicit,o=e.XpG(3);e.AVh("active",n.category===o.menu2ndType),e.BMQ("data-navcategory",n.category),e.R7$(),e.Y8G("ngTemplateOutlet",n.iconTemplate)("ngTemplateOutletContext",e.eq3(11,ec,n.data)),e.R7$(),e.Y8G("ngIf",n.imageKey&&e.bMT(3,9,o.switchThemeService.imageLink$)),e.R7$(2),e.Y8G("ngTemplateOutlet",n.textTemplate)("ngTemplateOutletContext",e.eq3(13,ec,n.data)),e.R7$(),e.Y8G("ngIf",n.websiteCategoryType===o.websiteCategoryType.CATEGORY_CONTAINER)}}function HE(a,p){if(1&a&&(e.nrm(0,"i",17),e.nI1(1,"galleryImageAsync"),e.nI1(2,"async"),e.nI1(3,"imageUrl")),2&a){const n=p.$implicit,o=e.XpG(5);e.xc7("mask-image",e.bMT(3,7,e.bMT(2,5,e.i5U(1,2,n.iconFlag,o.galleryCategoryType.LEFT_NAV))))}}function jE(a,p){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const n=p.$implicit;e.R7$(),e.JRh(n.displayName)}}function KE(a,p){1&a&&e.eu8(0)}function u_(a,p){if(1&a&&(e.qex(0),e.DNE(1,KE,1,0,"ng-container",37),e.bVm()),2&a){const n=p.$implicit;e.XpG();const o=e.sdS(2),d=e.sdS(4);e.XpG(2);const _=e.sdS(2),N=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",_)("ngTemplateOutletContext",e.eq3(9,ec,e.l4e(2,a_,n.displayName,n,o,d,N.selectCategoryNavTab,n.categoryTypeId)))}}function YE(a,p){if(1&a&&(e.qex(0),e.DNE(1,HE,4,9,"ng-template",null,3,e.C5r)(3,jE,2,1,"ng-template",null,4,e.C5r)(5,u_,2,11,"ng-container",34),e.bVm()),2&a){const n=e.XpG().$implicit;e.R7$(5),e.Y8G("ngForOf",n)}}function XE(a,p){if(1&a&&(e.qex(0),e.DNE(1,YE,6,1,"ng-container",13),e.bVm()),2&a){const n=p.$implicit;e.R7$(),e.Y8G("ngIf",n.length)}}function QE(a,p){if(1&a&&(e.qex(0),e.DNE(1,vf,6,15,"ng-template",null,2,e.C5r)(3,XE,2,1,"ng-container",13),e.nI1(4,"async"),e.bVm()),2&a){const n=e.XpG(2);e.R7$(3),e.Y8G("ngIf",e.bMT(4,1,n.categoryList$))}}function zE(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",18)(1,"a",16),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("winner-board"))}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(8,Mc,d.routingPathType.WINNER_BOARD.link)),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_ICON_WINNER_BOARD)),e.R7$(4),e.JRh(o("ui.winner_board.text.winner_board"))}}function d_(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",39)(1,"a",16),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("VIP"))}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(8,Mc,d.routingPathType.VIP_DETAIL.link)),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_VIP)),e.R7$(4),e.JRh(o("ui.global.word.vip"))}}function h_(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",40)(1,"a",16),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("download"))}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(8,Mc,d.routingPathType.APP_DOWNLOAD.link)),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_DOWNLOAD)),e.R7$(4),e.JRh(o("ui.global.word.download"))}}function JE(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",41)(1,"a",42),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("affiliate"))}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.affiliateLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_AFFILIATE)),e.R7$(4),e.SpI(" ",o(d.isCustomI18nForAffiliateName?"ui.global.word.affiliates":"ui.global.word.affiliate")," ")}}function ZE(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",43)(1,"a",44),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("leaderBoard"))}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.leaderBoardLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_LEADERBOARD)),e.R7$(4),e.JRh(o("ui.global.word.leaderboard"))}}function ao(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",45)(1,"a",44),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("sponsor"))}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.sponsorLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_SPONSOR)),e.R7$(4),e.JRh(o("ui.global.word.sponsor"))}}function qE(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",46)(1,"a",44),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("blog"))}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.blogLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_BLOG)),e.R7$(4),e.JRh(o("ui.global.word.side_blog"))}}function eC(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"a",16),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.menuBtnClick("ambassador"))}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s()(),e.bVm()}if(2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(8,Mc,d.routingPathType.AMBASSADOR.link)),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_AMBASSADOR)),e.R7$(4),e.JRh(o("ui.side_menu.word.ambassador"))}}function oO(a,p){if(1&a){const n=e.RV6();e.j41(0,"a",42),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.close())}),e.nrm(1,"i",17),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.j41(4,"span"),e.EFF(5),e.k0s()()}if(2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG();e.Y8G("href",d.ambassadorLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(3,6,null==(n=e.bMT(2,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_AMBASSADOR)),e.R7$(4),e.JRh(o("ui.side_menu.word.ambassador"))}}function Ef(a,p){if(1&a&&(e.j41(0,"li",47),e.DNE(1,eC,7,10,"ng-container",48)(2,oO,6,8,"ng-template",null,5,e.C5r),e.k0s()),2&a){const n=e.sdS(3),o=e.XpG(2);e.R7$(),e.Y8G("ngIf",!o.ambassadorLink)("ngIfElse",n)}}function f_(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",49)(1,"a",42),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.close())}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.partnershipLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_PARTNERSHIP)),e.R7$(4),e.JRh(o("ui.side_menu.word.partnerships"))}}function tC(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",50)(1,"a",16),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.close())}),e.nrm(3,"i",17),e.nI1(4,"async"),e.nI1(5,"imageUrl"),e.j41(6,"span"),e.EFF(7),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(10,Mc,e.bMT(2,4,d.isLogin$)?d.routingPathType.REFERRAL.link:d.routingPathType.REFERRAL_BONUS.link)),e.R7$(2),e.xc7("mask-image",e.bMT(5,8,null==(n=e.bMT(4,6,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_REFERRAL)),e.R7$(4),e.JRh(o("ui.global.word.refer_bonus"))}}function nC(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",51)(1,"a",44),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("help"))}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.helpPageLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_HELP)),e.R7$(4),e.JRh(o("ui.global.text.help_page"))}}function iC(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"li",33),e.bIt("click",function(d){e.eBV(n);const _=e.XpG(3);return e.Njj(_.expandContactMenu(d))}),e.nrm(2,"i",17),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"span"),e.EFF(6),e.k0s(),e.nrm(7,"i",35),e.nI1(8,"async"),e.nI1(9,"imageUrl"),e.k0s(),e.bVm()}if(2&a){let n,o;const d=e.XpG(2).$implicit,_=e.XpG();e.R7$(),e.AVh("active","contact"===_.menu2ndType),e.BMQ("data-navcategory","contact"),e.R7$(),e.xc7("mask-image",e.bMT(4,10,null==(n=e.bMT(3,8,_.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_PHONE)),e.R7$(4),e.SpI(" ",d("ui.global.text.contact_us")," "),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(9,14,null==(o=e.bMT(8,12,_.switchThemeService.imageLink$))?null:o.ACCORDION_ARROW_ICON))}}function p_(a,p){if(1&a&&(e.j41(0,"ul",52),e.DNE(1,iC,10,16,"ng-container",13),e.k0s()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",!0===n.isLeftMenuOpen())}}function sC(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",57),e.bIt("click",function(){e.eBV(n);const d=e.XpG().$implicit,_=e.XpG(3);return e.Njj(_.goToAllGameType(d.gameType))}),e.j41(1,"a",58),e.qex(2),e.nrm(3,"div",59),e.nI1(4,"async"),e.nI1(5,"imageUrl"),e.bVm(),e.j41(6,"p"),e.EFF(7),e.k0s()()()}if(2&a){let n;const o=e.XpG(3).$implicit,d=e.XpG();e.R7$(3),e.xc7("mask-image",e.bMT(5,5,null==(n=e.bMT(4,3,d.switchThemeService.imageLink$))?null:n.SIDENAV_ALL_PROVIDER_ICON)),e.R7$(4),e.JRh(o("ui.global.text.all_provider"))}}function rC(a,p){if(1&a&&(e.qex(0),e.eu8(1,60),e.bVm()),2&a){const n=p.$implicit,o=e.XpG().$implicit;e.XpG(2);const d=e.sdS(41),_=e.sdS(43);e.R7$(),e.Y8G("ngTemplateOutlet","CRICKETV2"===n.vendorCode||"AWCV2_VELKI"===n.vendorCode?d:_)("ngTemplateOutletContext",e.l_i(2,WE,n,o))}}function Cf(a,p){if(1&a&&(e.j41(0,"ul",55),e.DNE(1,sC,8,7,"li",56)(2,rC,2,5,"ng-container",34),e.k0s()),2&a){const n=p.$implicit,o=e.XpG(3);e.Y8G("ngClass",e.eq3(3,ff,o.menu2ndType===n.category)),e.R7$(),e.Y8G("ngIf","sport"!==n.category&&"rain"!==n.category&&"cockfighting"!==n.category),e.R7$(),e.Y8G("ngForOf",n.vendorList)}}function oC(a,p){if(1&a){const n=e.RV6();e.j41(0,"mcd-left-game-orion-layout",62),e.bIt("categoryNavContentClickEvent",function(d){e.eBV(n);const _=e.XpG(6);return e.Njj(_.clickCategoryNavContent(d))}),e.k0s()}if(2&a){const n=p.$implicit,o=e.XpG(6);e.Y8G("categoryData",n)("isNavHeadActive",o.menu2ndType===n.displayName)("vendorIconColor",o.environment.vendorIconColor)}}function aC(a,p){if(1&a&&(e.qex(0),e.Z7z(1,oC,1,3,"mcd-left-game-orion-layout",61,Ii),e.bVm()),2&a){const n=e.XpG().$implicit;e.R7$(),e.Dyx(n)}}function cC(a,p){if(1&a&&(e.qex(0),e.DNE(1,aC,3,0,"ng-container",13),e.bVm()),2&a){const n=p.$implicit;e.R7$(),e.Y8G("ngIf",n.length)}}function lC(a,p){if(1&a&&(e.qex(0),e.DNE(1,cC,2,1,"ng-container",13),e.nI1(2,"async"),e.bVm()),2&a){const n=e.XpG(3);e.R7$(),e.Y8G("ngIf",e.bMT(2,1,n.categoryList$))}}function uC(a,p){if(1&a&&(e.nrm(0,"span",67),e.nI1(1,"imageUrl")),2&a){const n=e.XpG(2).$implicit;e.xc7("background-image",e.bMT(1,2,n.iconPath))}}function _a(a,p){if(1&a&&(e.nrm(0,"img",59),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit;e.xc7("mask-image",e.bMT(1,2,n[o.icon]))}}function Df(a,p){if(1&a&&(e.qex(0),e.DNE(1,_a,2,4,"img",68),e.nI1(2,"async"),e.bVm()),2&a){const n=p.$implicit,o=e.XpG(2).$implicit,d=e.XpG(5);e.R7$(),e.Y8G("ngIf",o.h5Class===n.name&&e.bMT(2,1,d.switchThemeService.imageLink$))}}function dC(a,p){if(1&a&&e.DNE(0,Df,3,3,"ng-container",34),2&a){const n=e.XpG(6);e.Y8G("ngForOf",n.contactIcon)}}function hC(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",65)(1,"a",42),e.bIt("click",function(d){e.eBV(n);const _=e.XpG().$implicit,N=e.XpG(4);return e.Njj(N.onClickContactLink(d,_.customerServiceTypeId))}),e.DNE(2,uC,2,4,"span",66)(3,dC,1,1),e.j41(4,"p"),e.EFF(5),e.k0s()()()}if(2&a){const n=p.$implicit,o=e.XpG().$implicit,d=e.XpG(4);e.HbH(n.h5Class),e.BMQ("data-category",n.h5Class),e.R7$(),e.FS9("href",d.gotoUrl(o.customerServiceTypeId,o.url),e.B4B),e.R7$(),e.vxM(2,o.iconPath?2:3),e.R7$(3),e.JRh(o.value?o.value:o.displayName)}}function g_(a,p){if(1&a&&(e.qex(0),e.DNE(1,hC,6,7,"li",64),e.bVm()),2&a){const n=p.$implicit,o=e.XpG(4);e.R7$(),e.Y8G("ngIf",o.customerServiceType.getInstanceOf(n.customerServiceTypeId))}}function __(a,p){if(1&a&&(e.j41(0,"ul",63),e.DNE(1,g_,2,1,"ng-container",34),e.k0s()),2&a){const n=p.$implicit,o=e.XpG(3);e.Y8G("ngClass",e.eq3(2,ff,"contact"===o.menu2ndType)),e.R7$(),e.Y8G("ngForOf",n)}}function _d(a,p){if(1&a&&(e.qex(0),e.DNE(1,Cf,3,5,"ul",53)(2,lC,3,3,"ng-container",13),e.nI1(3,"async"),e.DNE(4,__,2,4,"ul",54),e.nI1(5,"async"),e.nI1(6,"async"),e.bVm()),2&a){let n;const o=e.XpG(2);e.R7$(),e.Y8G("ngForOf",o.vendorList()),e.R7$(),e.Y8G("ngIf",e.bMT(3,3,o.isEnableWebsiteCategory$)),e.R7$(2),e.Y8G("ngIf",(null==(n=e.bMT(5,5,o.contactUsList$))?null:n.length)&&e.bMT(6,7,o.contactUsList$))}}function If(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",69),e.bIt("@popBgTriggerAni.done",function(d){e.eBV(n);const _=e.XpG(2);return e.Njj(_.onAnimationDone(d))})("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.close())}),e.k0s()}if(2&a){const n=e.XpG(2);e.Y8G("@popBgTriggerAni",n.isLeftMenuOpen())("ngStyle",e.eq3(2,su,n.isLeftMenuOpen()?"block":"none"))}}function aO(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"mcd-search-game",70),e.bIt("closeSearchEmitEvt",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.closeSearch())}),e.k0s(),e.bVm()}if(2&a){const n=e.XpG(2);e.R7$(),e.Y8G("isActive",n.isOpenSearch())}}function m_(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",65)(1,"a",71),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.navigateToCRICKET())}),e.nrm(2,"div",72),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.nI1(7,"transloco"),e.k0s()()()}if(2&a){let n;const o=e.XpG(3);e.R7$(2),e.xc7("background-image",e.bMT(4,5,null==(n=e.bMT(3,3,o.switchThemeService.imageLink$))?null:n.SIDENAV_CRICKET_ICON)),e.R7$(4),e.JRh(e.bMT(7,7,"ui.global.word.cricket"))}}function v_(a,p){if(1&a&&e.DNE(0,m_,8,9,"li",65),2&a){const n=p.item,o=e.XpG(2);e.vxM(0,n.gameType===o.gameType.SPORT&&o.isShowCricketV2InSports?0:-1)}}function E_(a,p){if(1&a&&(e.j41(0,"div",75)(1,"p"),e.EFF(2),e.k0s()()),2&a){const n=e.XpG(2).$implicit;e.R7$(2),e.JRh(n("ui.provider-maintain.text.um"))}}function md(a,p){if(1&a&&(e.nrm(0,"div",78),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit,d=e.XpG(2).vendor;e.xc7("background-image",e.bMT(1,3,n[o.icon])),e.Y8G("ngClass","icon-sport "+d.imageClass)}}function Af(a,p){if(1&a&&(e.DNE(0,md,2,5,"div",77),e.nI1(1,"async")),2&a){const n=p.$implicit,o=e.XpG(2).vendor,d=e.XpG(2);e.Y8G("ngIf",o.imageClass===n.name&&e.bMT(1,1,d.switchThemeService.imageLink$))}}function La(a,p){if(1&a&&e.Z7z(0,Af,2,3,"div",76,o_),2&a){const n=e.XpG(3);e.Dyx(n.sportsIcon)}}function fC(a,p){if(1&a&&e.nrm(0,"img",79),2&a){const n=e.XpG(),o=n.vendor,d=n.item,_=e.XpG(2);e.Y8G("mcdSrc",_.getImagePath(d.gameType,o))}}function pC(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",73)(1,"a",74),e.bIt("click",function(){const d=e.eBV(n),_=d.vendor,N=d.item,U=e.XpG(2);return e.Njj(U.goToFilter(N.gameType,_))}),e.DNE(2,E_,3,1,"div",75)(3,La,2,0)(4,fC,1,1),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){const n=p.vendor,o=p.item,d=e.XpG(2);e.Y8G("ngStyle",e.eq3(5,su,o.gameType===d.gameType.SPORT&&n.vendorStatus===d.vendorStatusType.INVISIBLE.unique?"none":"flex")),e.R7$(),e.Y8G("ngClass",o.gameType===d.gameType.SPORT&&n.vendorStatus===d.vendorStatusType.MAINTENANCE.unique?"maintain":""),e.R7$(),e.vxM(2,o.gameType===d.gameType.SPORT&&n.vendorStatus===d.vendorStatusType.MAINTENANCE.unique?2:-1),e.R7$(),e.vxM(3,n.imageClass?3:4),e.R7$(3),e.JRh(n.vendorName)}}function Of(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",7)(2,"div",8)(3,"div",9),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.openSearch())}),e.j41(4,"span",10),e.EFF(5),e.k0s(),e.nrm(6,"i",11),e.nI1(7,"async"),e.nI1(8,"imageUrl"),e.k0s(),e.j41(9,"ul",12),e.DNE(10,c_,2,1,"ng-container",13),e.nI1(11,"async"),e.DNE(12,QE,5,3,"ng-container",13),e.nI1(13,"async"),e.k0s(),e.j41(14,"ul",14)(15,"li",15)(16,"a",16),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.menuBtnClick("promotion"))}),e.nrm(17,"i",17),e.nI1(18,"async"),e.nI1(19,"imageUrl"),e.j41(20,"span"),e.EFF(21),e.k0s()()(),e.DNE(22,zE,7,10,"li",18)(23,d_,7,10,"li",19)(24,h_,7,10,"li",20)(25,JE,7,8,"li",21)(26,ZE,7,8,"li",22)(27,ao,7,8,"li",23)(28,qE,7,8,"li",24)(29,Ef,4,2,"li",25)(30,f_,7,8,"li",26)(31,tC,8,12,"li",27),e.nI1(32,"async"),e.DNE(33,nC,7,8,"li",28),e.k0s(),e.DNE(34,p_,2,1,"ul",29),e.nI1(35,"async"),e.k0s(),e.j41(36,"div",30),e.DNE(37,_d,7,9,"ng-container",13),e.k0s()(),e.DNE(38,If,1,4,"div",31)(39,aO,2,1,"ng-container",13)(40,v_,1,1,"ng-template",null,0,e.C5r)(42,pC,7,7,"ng-template",null,1,e.C5r),e.bVm()}if(2&a){let n,o,d,_;const N=p.$implicit,U=e.XpG();e.R7$(),e.AVh("active",U.isLeftMenuOpen()&&!U.isOpenSearch()),e.R7$(4),e.JRh(N("ui.filter_tab.search_games")),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(8,28,null==(n=e.bMT(7,26,U.switchThemeService.imageLink$))?null:n.SEARCH_SEARCH_ICON)),e.R7$(4),e.Y8G("ngIf",U.vendorList()&&!e.bMT(11,30,U.isEnableWebsiteCategory$)),e.R7$(2),e.Y8G("ngIf",e.bMT(13,32,U.isEnableWebsiteCategory$)),e.R7$(4),e.Y8G("routerLink",e.eq3(42,Mc,U.routingPathType.PROMOTION.link)),e.R7$(),e.xc7("mask-image",e.bMT(19,36,null==(o=e.bMT(18,34,U.switchThemeService.imageLink$))?null:o.SIDENAV_CATEGORY_ICON_PROMOTION)),e.R7$(4),e.JRh(N("ui.global.word.promotions")),e.R7$(),e.vxM(22,U.isEnableWinnerBoard?22:-1),e.R7$(),e.Y8G("ngIf",U.vipOpen),e.R7$(),e.Y8G("ngIf",!U.hideAppDownload),e.R7$(),e.Y8G("ngIf",U.affiliateLink),e.R7$(),e.Y8G("ngIf",U.leaderBoardLink),e.R7$(),e.Y8G("ngIf",U.sponsorLink),e.R7$(),e.Y8G("ngIf",U.blogLink),e.R7$(),e.Y8G("ngIf",U.isShowAmbassador),e.R7$(),e.Y8G("ngIf",U.partnershipLink),e.R7$(),e.Y8G("ngIf",U.hasReferBonus&&(null==(d=e.bMT(32,38,U.siteSettingModel$))?null:d.isEnabledRafCommission)),e.R7$(2),e.Y8G("ngIf",U.helpPageLink),e.R7$(),e.Y8G("ngIf",0!==(null==(_=e.bMT(35,40,U.contactUsList$))?null:_.length)),e.R7$(3),e.Y8G("ngIf",U.vendorList()),e.R7$(),e.Y8G("ngIf",U.isLeftMenuOpen()),e.R7$(),e.Y8G("ngIf",U.isOpenSearch())}}const gC=a=>a.charAt(0).toUpperCase()+a.slice(1),C_=a=>{const p=a.lastIndexOf("_");return((a,p,n)=>a.substr(0,p)+"_ACTIVE"+a.substr(p))(a,p)};let hl=(()=>{class a{constructor(){this.redirectUrl="",this.vipOpen=!1,this.hideAppDownload=!1,this.isCustomI18nForAffiliateName=!1,this.hasReferBonus=!1,this.environment=(0,e.WQX)(Ws.E),this.siteSetting=(0,e.WQX)(ti.p),this.authState=(0,e.WQX)(gi.H),this.leftMenuState=(0,e.WQX)(Za),this.eventQueueService=(0,e.WQX)(He.n),this.chatController=(0,e.WQX)(Ct.v),this.openGameService=(0,e.WQX)(tu.eD),this.leftMenuService=(0,e.WQX)(fd),this.settingService=(0,e.WQX)(Ic.q),this.i18nService=(0,e.WQX)(b.JO),this.switchThemeService=(0,e.WQX)(ir.Fu),this.router=(0,e.WQX)(en.Ix),this.cdr=(0,e.WQX)(e.gRc),this.providerService=(0,e.WQX)(Sc.$),this.getVendorService=(0,e.WQX)(ee.Y),this.isOpenSearch=(0,e.vPA)(!1),this.chatService=(0,e.EWP)(()=>this.chatController.chatService()),this.vendorList=(0,e.EWP)(()=>this.getVendorService.vendorList()),this.destroy$=new S.B,this.isBindingAnimation$=new P.t(!1),this.isLogin$=this.authState.select("isLogin").pipe((0,Js.t)(1)),this.siteSettingModel$=this.siteSetting.select("siteSettingModel"),this.isShowAmbassador=!!this.leftMenuState.get("isShowAmbassador"),this.csList$=this.settingService.getCustomerService().pipe((0,hn.T)(n=>n.sort((o,d)=>o.displayOrder-d.displayOrder)),(0,Js.t)(1),(0,ui.pQ)()),this.routingPathType=$t.q,this.customerServiceType=To.C,this.vendorStatusType=Ho,this.gameType=Xt.Z,this.isLeftMenuOpen=this.leftMenuService.isActive,this.menuMaskAni=ys.gsap.timeline({paused:!0}),this.menu2ndType="",this.isShowCricketV2InSports=!1,this.isEnableWebsiteCategory$=this.siteSetting.select("siteSettingModel").pipe((0,hn.T)(n=>n?.isEnableWebsiteCategory),(0,Js.t)(1),(0,ui.pQ)()),this.isEnableWebsiteCategory=!1,this.isEnableWinnerBoard=!1,this.websiteCategoryType=Zi.IM,this.galleryCategoryType=ke.tO,this.siteSettingChange$=this.settingService.select("siteSettingApiStatus").pipe((0,In.p)(n=>"stable"===n),(0,ot.M)(()=>this.providerService.clearWebsiteCategory()),(0,on.n)(()=>this.settingService.select("siteSetting")),(0,Js.t)(1),(0,ui.pQ)()),this.categoryList$=this.providerService.select("websiteCategoryData").pipe((0,ui.pQ)(),(0,hn.T)(n=>n[Zi.mS.LEFT_MENU])),this.sportsIcon=[{name:"exchange",icon:"SIDENAV_EXCHANGE_ICON"},{name:"sportbook",icon:"SIDENAV_SPORTBOOK_ICON"},{name:"ibc",icon:"SIDENAV_SPORTBOOK_ICON"},{name:"kabaddi",icon:"SIDENAV_KABADDI_ICON"},{name:"badminton",icon:"SIDENAV_BADMINTON_ICON"},{name:"basketball",icon:"SIDENAV_BASKETBALL_ICON"},{name:"cricket",icon:"SIDENAV_CRICKET_ICON"},{name:"horsebook",icon:"SIDENAV_HORSEBOOK_ICON"},{name:"sbov2",icon:"SIDENAV_SBO_ICON"},{name:"soccer",icon:"SIDENAV_SOCCER_ICON"},{name:"sv388",icon:"SIDENAV_SV_388_ICON"},{name:"ugv3",icon:"SIDENAV_UGV3_ICON"},{name:"virtual",icon:"SIDENAV_VIRTUAL_ICON"},{name:"icf",icon:"SIDENAV_ICF_ICON"},{name:"awcmbc",icon:"SIDENAV_AWCMBC_ICON"},{name:"tennis",icon:"SIDENAV_TENNIS_ICON"},{name:"horse-racing",icon:"SIDENAV_HORSERACING_ICON"},{name:"greyhound",icon:"SIDENAV_GREYHOUNDRACING_ICON"},{name:"ctb",icon:"SIDENAV_CTB_ICON"},{name:"powereleven",icon:"SIDENAV_POWERELEVEN_ICON"},{name:"powerelevenv2",icon:"SIDENAV_POWERELEVENV2_ICON"},{name:"awcme1sport",icon:"SIDENAV_AWCME1SPORT_ICON"},{name:"sbtech",icon:"SIDENAV_SBTECH_ICON"},{name:"sbtecheu",icon:"SIDENAV_SBTECHEU_ICON"},{name:"nst",icon:"SIDENAV_NST_ICON"},{name:"cfe",icon:"SIDENAV_CFE_ICON"},{name:"cmd",icon:"SIDENAV_CMD_ICON"},{name:"saba",icon:"SIDENAV_SABA_ICON"}],this.contactIcon=[{name:"email",icon:"SIDENAV_CATEGORY_ICON_EMAIL"},{name:"phone",icon:"SIDENAV_CATEGORY_ICON_PHONE"},{name:"zalo",icon:"SIDENAV_CATEGORY_ICON_ZALO"},{name:"facebook-messenger",icon:"SIDENAV_CATEGORY_ICON_FACEBOOK_MESSENGER"},{name:"whatsapp",icon:"SIDENAV_CATEGORY_ICON_WHATSAPP"},{name:"imo",icon:"SIDENAV_CATEGORY_ICON_IMO"},{name:"qq",icon:"SIDENAV_CATEGORY_ICON_QQ"},{name:"wechat",icon:"SIDENAV_CATEGORY_ICON_WECHAT"},{name:"skype",icon:"SIDENAV_CATEGORY_ICON_SKYPE"},{name:"bbm",icon:"SIDENAV_CATEGORY_ICON_BBM"},{name:"kakao-talk",icon:"SIDENAV_CATEGORY_ICON_KAKAO_TALK"},{name:"talk",icon:"SIDENAV_CATEGORY_ICON_TALK"},{name:"viber",icon:"SIDENAV_CATEGORY_ICON_VIBER"},{name:"telegram",icon:"SIDENAV_CATEGORY_ICON_TELEGRAM"},{name:"line",icon:"SIDENAV_CATEGORY_ICON_LINE"}],this.gameIcon=[{name:"rain",icon:"SIDENAV_CATEGORY_ICON_RAIN",iconActive:""},{name:"crash",icon:"SIDENAV_CATEGORY_ICON_CRASH",iconActive:""},{name:"krain",icon:"SIDENAV_CATEGORY_ICON_KRAIN",iconActive:""},{name:"sport",icon:"SIDENAV_CATEGORY_ICON_SPORT",iconActive:""},{name:"casino",icon:"SIDENAV_CATEGORY_ICON_CASINO",iconActive:""},{name:"slot",icon:"SIDENAV_CATEGORY_ICON_SLOT",iconActive:""},{name:"table",icon:"SIDENAV_CATEGORY_ICON_TABLE",iconActive:""},{name:"lottery",icon:"SIDENAV_CATEGORY_ICON_LOTTERY",iconActive:""},{name:"fish",icon:"SIDENAV_CATEGORY_ICON_FISH",iconActive:""},{name:"arcade",icon:"SIDENAV_CATEGORY_ICON_ARCADE",iconActive:""},{name:"card",icon:"SIDENAV_CATEGORY_ICON_CARD",iconActive:""},{name:"other",icon:"SIDENAV_CATEGORY_ICON_OTHER",iconActive:""},{name:"cockfighting",icon:"SIDENAV_CATEGORY_ICON_COCKFIGHTING",iconActive:""}].map(n=>({name:n.name,icon:n.icon,iconActive:C_(n.icon)})),this.contactUsList$=this.settingService.getCustomerService().pipe((0,hn.T)(n=>n),(0,Js.t)(1),(0,ui.pQ)()),this.selectCategoryNavTab=n=>{if(n)if(n.categoryTypeId===Zi.IM.VENDOR){const o=n.content;this.goToGameTypePage(Xt.Z.getInstanceOf(o.gameType),o.vendorCode)}else n.categoryTypeId===Zi.IM.GAME&&this.openCategoryGame(n.content)},this.isShowCricketV2InSports=this.environment.isShowCricketV2InSports,this.isEnableWebsiteCategory=this.siteSetting.get("siteSettingModel").isEnableWebsiteCategory,this.isEnableWinnerBoard=this.siteSetting.get("siteSettingModel").isEnableWinnerBoard}ngOnInit(){this.isEnableWebsiteCategory$.subscribe(n=>{n?this.providerService.actions.getWebsiteCategory():this.providerService.clearWebsiteCategory()})}ngAfterViewInit(){this.bindGsap()}onAnimationDone(n){"void"===n.toState&&this.close()}close(){this.leftMenuService.deactivate(),this.menu2ndType=""}menuBtnClick(n){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:gC(n),loc:"menu"}}})),this.close()}onClickContactLink(n,o){const d=To.C.getInstanceOf(o),_=this.chatService();if(d===To.C.CSLINK){if(!_)return;n.preventDefault(),_.isWidgetOpen()?_.hideWidget():_.showWidget()}}gotoUrl(n,o){switch(To.C.getInstanceOf(n)){case To.C.EMAIL:return`mailto:${o}`;case To.C.SKYPE:return`skype:${o}`;case To.C.PHONE:return`tel:${o}`;default:return`${o}`}}goToAllGameType(n){this.close(),this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:n.name+"_All Provider",loc:"menu"}}})),n===Xt.Z.SLOT?this.router.navigate([this.routingPathType.SLOT.link],{queryParams:{vendor:"all"}}):n===Xt.Z.TABLE?this.router.navigate([this.routingPathType.TABLE.link],{queryParams:{vendor:"all"}}):n===Xt.Z.ARCADE?this.router.navigate([this.routingPathType.ARCADE.link],{queryParams:{vendor:"all"}}):n===Xt.Z.CASINO?this.router.navigate([this.routingPathType.CASINO.link],{queryParams:{vendor:"all"}}):n===Xt.Z.FISH?this.router.navigate([this.routingPathType.FISHING.link],{queryParams:{vendor:"all"}}):n===Xt.Z.LOTTERY?this.router.navigate([this.routingPathType.LOTTERY.link],{queryParams:{vendor:"all"}}):n===Xt.Z.CRASH?this.router.navigate([this.routingPathType.CRASH.link],{queryParams:{vendor:"all"}}):n===Xt.Z.CARD&&this.router.navigate([this.routingPathType.CARD.link],{queryParams:{vendor:"all"}})}goToFilter(n,o){n===Xt.Z.SPORT&&o.vendorStatus===Ho.MAINTENANCE.unique||(this.close(),this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:n.name+"_"+o.vendorName,loc:"menu"}}})),n===Xt.Z.SLOT?this.router.navigate([this.routingPathType.SLOT.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}}):n===Xt.Z.TABLE?"LUDO"===o.vendorCode||"BPOKER"===o.vendorCode||"PokerWin"===o.vendorCode?this.openGameService.open({gameTypeId:Xt.Z.P2P.unique,vendorCode:o.vendorCode,gameCode:o.gameCode,extraData:o.extraData,gameImagePath:this.getImagePath(n,o),loaderImgStyle:"default",vendorName:o.vendorName}).pipe((0,Z.Q)(this.destroy$)).subscribe():this.router.navigate([this.routingPathType.TABLE.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}}):n===Xt.Z.ARCADE?this.router.navigate([this.routingPathType.ARCADE.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}}):n===Xt.Z.CASINO?this.router.navigate([this.routingPathType.CASINO.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}}):n===Xt.Z.FISH?this.router.navigate([this.routingPathType.FISHING.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}}):n===Xt.Z.CRASH?this.router.navigate([this.routingPathType.CRASH.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}}):n===Xt.Z.CARD?this.router.navigate([this.routingPathType.CARD.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}}):n===Xt.Z.LOTTERY?this.router.navigate([this.routingPathType.LOTTERY.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}}):this.openGame(n,o))}getImagePath(n,o){return o.imageFile?o.imageFile?`/assets/images/brand/${this.environment.vendorIconColor}/${o.imageFile}.png`:"":`/assets/images/brand/${this.environment.vendorIconColor}/provider-${o.vendorCode?.toLowerCase()}.png`}openGame(n,o){(n===Xt.Z.RAIN||n===Xt.Z.SPORT||n===Xt.Z.CASINO||n===Xt.Z.LOTTERY||n===Xt.Z.FISH||n===Xt.Z.CARD||n===Xt.Z.CRASH||n===Xt.Z.COCKFIGHTING)&&this.openGameService.open({gameTypeId:n.unique,vendorCode:o.vendorCode||"",gameCode:o.gameCode,extraData:o.extraData,gameImagePath:this.getImagePath(n,o),loaderImgStyle:"default",vendorName:o.vendorName}).pipe((0,Z.Q)(this.destroy$)).subscribe()}navigateToCRICKET(){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:"Sports_CricketV2",loc:"menu"}}})),this.navigateTo(this.routingPathType.CRICKET.link)}navigateTo(n,o=!1,d){o&&d?.stopPropagation(),this.router.url!==n?(this.router.navigateByUrl(n),this.close()):this.close()}expandSecondMenu(n,o){n.stopPropagation(),this.menu2ndType=o.category,this.cdr.detectChanges()}expandContactMenu(n){n.stopPropagation(),this.menu2ndType="contact",this.cdr.detectChanges()}openSearch(){this.isOpenSearch.set(!0)}closeSearch(){this.isOpenSearch.set(!1)}getGalleryCategoryTypeByGameType(n){return n===Xt.Z.SPORT.unique?ke.tO.LEFT_PROVIDER_SPORTS:ke.tO.LEFT_PROVIDER}clickCategoryNavContent(n){const o=n.content.vendorCode;if((o===Xn.EB||o===Xn.cw)&&this.isShowCricketV2InSports)return this.router.navigate([this.routingPathType.CRICKET.link]),void this.close();switch(n.categoryTypeId){case Zi.IM.DIRECT_URL:break;case Zi.IM.VENDOR:const d=n.content;this.goToGameTypePage(Xt.Z.getInstanceOf(d.gameType),d.vendorCode);break;case Zi.IM.GAME:this.openCategoryGame(n.content)}this.close()}openCategoryGame(n){this.openGameService.open(n).subscribe(),this.close()}bindGsap(){this.getAnimateElementList().length?this.isBindingAnimation$.next(!1):setTimeout(()=>this.bindGsap(),250)}getAnimationList(){return[this.menuMaskAni]}getAnimateElementList(){const n=[];return this.getAnimationList().forEach(d=>{d.getChildren(!0,!0,!0).forEach(N=>{(N.targets()||[]).forEach(ue=>n.push(ue))})}),[...new Set(n)]}goToGameTypePage(n,o){n&&(this.router.navigate([n.link],o?{queryParams:{vendor:o.toLocaleLowerCase()}}:void 0),this.close())}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-left-menu-orion"]],inputs:{redirectUrl:"redirectUrl",vipOpen:"vipOpen",hideAppDownload:"hideAppDownload",isCustomI18nForAffiliateName:"isCustomI18nForAffiliateName",hasReferBonus:"hasReferBonus",affiliateLink:"affiliateLink",leaderBoardLink:"leaderBoardLink",sponsorLink:"sponsorLink",blogLink:"blogLink",ambassadorLink:"ambassadorLink",partnershipLink:"partnershipLink",helpPageLink:"helpPageLink"},decls:1,vars:0,consts:[["cricketV2Template",""],["normalVendorTemplate",""],["webSiteCategoryTemplate",""],["iconTemplate",""],["textTemplate",""],["hasAmbassadorLink",""],[4,"transloco"],[1,"left-menu-orion"],[1,"left-menu-orion__nav"],[1,"left-menu__search-games",3,"click"],[1,"left-menu__search-games-text"],[1,"left-menu__search-games-icon"],[1,"item-box","left-menu__game-nav-box"],[4,"ngIf"],[1,"item-box","left-menu__other-nav-box"],["data-category","promotion",1,"left-menu__nav-item"],[3,"click","routerLink"],[1,"left-menu__nav-icon","left-menu__color"],["data-category","winner-board",1,"left-menu__nav-item"],["class","left-menu__nav-item","data-category","vip",4,"ngIf"],["class","left-menu__nav-item","data-category","download",4,"ngIf"],["class","left-menu__nav-item","data-category","affiliate",4,"ngIf"],["class","left-menu__nav-item","data-category","leaderBoard",4,"ngIf"],["class","left-menu__nav-item","data-category","sponsor",4,"ngIf"],["class","left-menu__nav-item","data-category","blog",4,"ngIf"],["data-category","ambassador","class","ambassador",4,"ngIf"],["class","left-menu__nav-item",4,"ngIf"],["class","left-menu__nav-item","data-category","refer-bonus",4,"ngIf"],["class","left-menu__nav-item","data-category","help",4,"ngIf"],["class","item-box left-menu__contact-nav-box",4,"ngIf"],[1,"left-menu-orion__subnav"],["class","pop-bg",3,"ngStyle","click",4,"ngIf"],["class","left-menu__nav-item",3,"active","click",4,"ngFor","ngForOf"],[1,"left-menu__nav-item",3,"click"],[4,"ngFor","ngForOf"],[1,"left-menu__nav-arrow"],["class","left-menu__nav-icon left-menu__color",3,"mask-image",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","left-menu__nav-arrow",3,"-webkit-mask-image",4,"ngIf"],["data-category","vip",1,"left-menu__nav-item"],["data-category","download",1,"left-menu__nav-item"],["data-category","affiliate",1,"left-menu__nav-item"],["target","_blank",3,"click","href"],["data-category","leaderBoard",1,"left-menu__nav-item"],[3,"click","href"],["data-category","sponsor",1,"left-menu__nav-item"],["data-category","blog",1,"left-menu__nav-item"],["data-category","ambassador",1,"ambassador"],[4,"ngIf","ngIfElse"],[1,"left-menu__nav-item"],["data-category","refer-bonus",1,"left-menu__nav-item"],["data-category","help",1,"left-menu__nav-item"],[1,"item-box","left-menu__contact-nav-box"],["class","item-box left-menu__vendor-box",3,"ngClass",4,"ngFor","ngForOf"],["class","item-box left-menu__contact-box",3,"ngClass",4,"ngIf"],[1,"item-box","left-menu__vendor-box",3,"ngClass"],["class","left-menu__subnav-item",3,"click",4,"ngIf"],[1,"left-menu__subnav-item",3,"click"],["tabindex","-1"],[1,"left-menu__subnav-icon","left-menu__color"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"categoryData","isNavHeadActive","vendorIconColor"],[3,"categoryNavContentClickEvent","categoryData","isNavHeadActive","vendorIconColor"],[1,"item-box","left-menu__contact-box",3,"ngClass"],["class","left-menu__subnav-item",3,"class",4,"ngIf"],[1,"left-menu__subnav-item"],[1,"left-menu__subnav-icon","left-menu__use-icon-path",3,"background-image"],[1,"left-menu__subnav-icon","left-menu__use-icon-path"],["class","left-menu__subnav-icon left-menu__color",3,"mask-image",4,"ngIf"],[1,"pop-bg",3,"click","ngStyle"],[3,"closeSearchEmitEvt","isActive"],["tabindex","-1",3,"click"],[1,"left-menu__subnav-icon","left-menu__subnav-icon--bg","icon-sport","cricket"],[1,"left-menu__subnav-item",3,"ngStyle"],["tabindex","-1",3,"click","ngClass"],[1,"left-menu__subnav-item__maintain-inner"],[1,"left-menu__subnav-icon","left-menu__subnav-icon--bg",3,"ngClass","background-image"],["class","left-menu__subnav-icon left-menu__subnav-icon--bg",3,"ngClass","background-image",4,"ngIf"],[1,"left-menu__subnav-icon","left-menu__subnav-icon--bg",3,"ngClass"],[1,"left-menu__subnav-icon",3,"mcdSrc"]],template:function(o,d){1&o&&e.DNE(0,Of,44,44,"ng-container",6)},dependencies:[u.YU,u.Sq,u.bT,u.T3,u.B3,b.bA,en.Wk,pa.f,ga.h,lf,hf,u.Jj,u.GH,b.Kj,Ms.Hc,bc.WX],encapsulation:2,data:{animation:[br.Rz]},changeDetection:0})}return a})();var ia=l(52034);const vd=new e.nKC("MAIN_WALLET_TOLOCALNUMBER_PIPE_OPTION");var Nc=l(51658),tc=l(99172);const Ed=(a,p,n,o,d,_,N,U,ue,we,Ge,Xe,sn,fn)=>{const xt={listClass:"member-list",title:a.translate("ui.member_menu.word.funds"),imageData:[{imageName:a.translate("ui.global.word.deposit"),imageClass:"deposit",imageLink:`${$t.q.WALLET_DEPOSIT.link}`},{imageName:a.translate("ui.member_menu.word.withdrawal"),imageClass:"withdrawal",imageLink:`${$t.q.WALLET_WITHDRAWAL.link}`},{imageName:a.translate("ui.member_menu.text.bonus_wallet"),imageClass:"bonuses",imageLink:`${$t.q.MY_BONUSES.link}`,bonusWalletRelative:!0},...ue?[{imageName:a.translate("ui.free_spin.text.free_spin"),imageClass:"free-spin",imageLink:`${$t.q.FREE_SPIN.link}/running`}]:[],...o?[{imageName:a.translate("ui.member_menu.text.voucher"),imageClass:"voucher",imageLink:`${$t.q.VOUCHER.link}`}]:[]]},Dn={listClass:"member-list",title:a.translate("ui.member_menu.text.my_promotion"),imageData:[...N||U?[{imageName:a.translate("ui.member_menu.word.real_time_bonus"),imageClass:"real-time-bonus",imageLink:`${$t.q.REAL_TIME_BONUS.link}${N?"/rebate":"/rescue"}`}]:[],{imageName:a.translate("ui.member_menu.word.referral"),imageClass:"referral",imageLink:sn&&!fn?`${$t.q.REFERRAL_PROGRAM_DETAILS.link}`:`${$t.q.REFERRAL.link}`},...we?[{imageName:a.translate("ui.winner_board.text.winner_board"),imageClass:"winner-board",imageLink:$t.q.WINNER_BOARD.link}]:[]]},zt={listClass:"member-list",title:a.translate("ui.profile_vip.text.points_history"),imageData:[{imageName:a.translate("ui.member_menu.text.betting_records"),imageClass:"bet-records",imageLink:`${$t.q.BETTING_RECORDS.link}`},{imageName:a.translate("ui.global.text.turnover"),imageClass:"turnover",imageLink:`${$t.q.TURNOVER.link}`,turnoverRelative:!0},{imageName:a.translate("ui.member_menu.text.transaction_records"),imageClass:"records",imageLink:`${$t.q.TRANSACTION_RECORDS.link}`}]},ii={listClass:"member-list",title:a.translate("ui.global.word.my"),imageData:[{imageName:a.translate("ui.member_menu.text.personal_info"),imageClass:"info",imageLink:`${$t.q.PROFILENEW.link}`},{imageName:a.translate("ui.global.text.my_vip"),imageClass:"myvip",vipPointsExchangeRelative:!0,imageLink:`${$t.q.VIP_POINTS_EXCHANGE.link}`},{imageName:a.translate("ui.member_menu.text.change_password"),imageClass:"changepassword",imageLink:`${$t.q.CHANGE_PASSWORD.link}`},{imageName:a.translate("ui.member_menu.word.inbox"),imageClass:"inbox",imageLink:`${$t.q.INBOX.link}`}]};return n&&(ii.imageData=[...ii.imageData,{imageName:a.translate("ui.member_menu.text.set_up_biometric"),imageClass:"biometric",imageLink:`${$t.q.BIOMETRIC.link}`}]),d&&(ii.imageData=[...ii.imageData,{imageName:a.translate("ui.header_inner.text.switch_mode"),imageClass:"mode",imageLink:`${$t.q.SWITCH_MODE.link}`}]),_||(zt.imageData=zt.imageData.filter(Fn=>!Fn.turnoverRelative)),p||(xt.imageData=xt.imageData.filter(Fn=>!Fn.bonusWalletRelative)),Ge||(ii.imageData=ii.imageData.filter(Fn=>!Fn.vipPointsExchangeRelative)),[xt,Dn,zt,ii]},_C=new e.nKC("HEADER_DESKTOP_CONFIG");function mC(a,p){if(1&a&&(e.j41(0,"div",11),e.EFF(1),e.k0s()),2&a){const n=e.XpG().ngIf;e.R7$(),e.JRh(null==n?null:n.userName)}}function vC(a,p){if(1&a&&(e.j41(0,"div",11),e.EFF(1),e.k0s()),2&a){const n=e.XpG().ngIf;e.R7$(),e.JRh(null==n?null:n.userId)}}function EC(a,p){if(1&a&&(e.qex(0),e.DNE(1,mC,2,1,"div",10)(2,vC,2,1,"div",10),e.bVm()),2&a){const n=p.ngIf,o=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==n?null:n.userName),e.R7$(),e.Y8G("ngIf",!(null!=n&&n.userName)&&o.sideMenuState.select("isUserNameFoolProof"))}}function D_(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",12)(1,"div",13),e.EFF(2),e.k0s(),e.j41(3,"div",14),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.reloadPlayerInfo())}),e.EFF(4),e.nI1(5,"async"),e.nrm(6,"div",15),e.nI1(7,"imageUrl"),e.k0s()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(2),e.JRh(o("ui.header_inner.text.vip_points")),e.R7$(),e.AVh("value-display__value--reloading",d.isReloading),e.R7$(),e.SpI(" ",null==(n=e.bMT(5,6,d.accountInfo))||null==n.vipInfo?null:n.vipInfo.points," "),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(7,8,"assets/images/refresh.svg"))}}function Cd(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",12)(1,"div",13),e.EFF(2),e.k0s(),e.j41(3,"div",14),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.reloadPlayerInfo())}),e.EFF(4),e.nI1(5,"async"),e.nI1(6,"toLocalNumber"),e.nrm(7,"div",15),e.nI1(8,"imageUrl"),e.k0s()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(2),e.JRh(o("ui.global.text.bonus_wallet")),e.R7$(),e.AVh("value-display__value--reloading",d.isReloading),e.R7$(),e.SpI(" ",e.i5U(6,8,null==(n=e.bMT(5,6,d.accountInfo))?null:n.bonusWalletBalance,"symbol")," "),e.R7$(3),e.xc7("-webkit-mask-image",e.bMT(8,11,"assets/images/refresh.svg"))}}function CC(a,p){if(1&a&&(e.nrm(0,"div",8),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit;e.xc7("-webkit-mask-image",e.bMT(1,2,n[o.icon]))}}function cO(a,p){if(1&a&&(e.qex(0),e.DNE(1,CC,2,4,"div",19),e.nI1(2,"async"),e.bVm()),2&a){const n=p.$implicit,o=e.XpG().$implicit,d=e.XpG(3);e.R7$(),e.Y8G("ngIf",n.name===o.imageClass&&e.bMT(2,1,d.switchThemeService.imageLink$))}}function DC(a,p){if(1&a&&(e.j41(0,"span",17),e.EFF(1),e.k0s()),2&a){let n;const o=p.ngIf,d=e.XpG(2).$implicit,_=e.XpG(3);e.R7$(),e.SpI(" ",_.getNoticeCount(null!==(n=d.imageClass)&&void 0!==n?n:"",o)," ")}}function IC(a,p){if(1&a&&(e.DNE(0,DC,2,1,"span",20),e.nI1(1,"async")),2&a){const n=e.XpG(4);e.Y8G("ngIf",e.bMT(1,1,n.menuInfo$))}}function I_(a,p){if(1&a&&(e.j41(0,"span",18),e.nrm(1,"i",21),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.k0s()),2&a){let n;const o=e.XpG(4);e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,4,null==(n=e.bMT(2,2,o.switchThemeService.imageLink$))?null:n.ICON_EXCLAMATION))}}function AC(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"a",7),e.bIt("click",function(){const d=e.eBV(n).$implicit,_=e.XpG(3);return e.Njj(_.navigateTo(d.imageLink?d.imageLink:""))}),e.DNE(2,cO,3,3,"ng-container",16),e.j41(3,"div",9),e.EFF(4),e.k0s(),e.DNE(5,IC,2,3,"span",17)(6,I_,4,6,"span",18),e.k0s(),e.bVm()}if(2&a){let n,o;const d=p.$implicit,_=e.XpG(3);e.R7$(2),e.Y8G("ngForOf",_.memberCenterIcon),e.R7$(2),e.JRh(d.imageName),e.R7$(),e.vxM(5,_.showNoticeIcon(null!==(n=d.imageClass)&&void 0!==n?n:"")?5:-1),e.R7$(),e.vxM(6,_.showExclamationIcon(null!==(o=d.imageClass)&&void 0!==o?o:"")?6:-1)}}function OC(a,p){if(1&a&&(e.j41(0,"div",6),e.DNE(1,AC,7,4,"ng-container",16),e.k0s()),2&a){const n=p.$implicit;e.R7$(),e.Y8G("ngForOf",n.imageData)}}function A_(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",1),e.bIt("click",function(d){e.eBV(n);const _=e.XpG();return e.Njj(_.stopBubbling(d))}),e.j41(2,"div",2),e.DNE(3,EC,3,2,"ng-container",3),e.nI1(4,"async"),e.DNE(5,D_,8,10,"div",4)(6,Cd,9,13,"div",4),e.nI1(7,"async"),e.k0s(),e.DNE(8,OC,2,1,"div",5),e.nI1(9,"async"),e.j41(10,"div",6)(11,"a",7),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.logout())}),e.nrm(12,"div",8),e.nI1(13,"async"),e.nI1(14,"imageUrl"),e.j41(15,"div",9),e.EFF(16),e.k0s()()()(),e.bVm()}if(2&a){let n,o;const d=p.$implicit,_=e.XpG();e.R7$(3),e.Y8G("ngIf",e.bMT(4,7,_.accountInfo)),e.R7$(2),e.Y8G("ngIf",_.isVipOpen),e.R7$(),e.Y8G("ngIf",null==(n=e.bMT(7,9,_.siteSettingModel$))?null:n.isBonusWallet),e.R7$(2),e.Y8G("ngForOf",e.bMT(9,11,_.memberMenuList$)),e.R7$(4),e.xc7("-webkit-mask-image",e.bMT(14,15,null==(o=e.bMT(13,13,_.switchThemeService.imageLink$))?null:o.SIDENAV_CATEGORY_ICON_LOGOUT)),e.R7$(4),e.SpI(" ",d("ui.member_menu.text.logout"),"")}}let Rf=(()=>{class a{#e;constructor(n,o,d,_,N){this.sideMenuState=n,this.authService=o,this.cdr=d,this.i18nService=_,this.router=N,this.routerTriggered=new e.bkB,this.logouted=new e.bkB,this.authState=(0,e.WQX)(gi.H),this.siteSetting=(0,e.WQX)(ti.p),this.checkRealTimeInfoService=(0,e.WQX)(as.jZ),this.destroyRef=(0,e.WQX)(e.abz),this.switchThemeService=(0,e.WQX)(ir.Fu),this.headerDesktopConfig=(0,e.WQX)(_C,{optional:!0}),this.checkPlayerInfoService=(0,e.WQX)(as.P9),this.menuInfo$=new P.t(null),this.accountInfo=this.authState.select("accountInfo"),this.isVipOpen=!1,this.isReloading=!1,this.siteSettingModel$=this.siteSetting.select("siteSettingModel"),this.memberCenterIcon=[{name:"deposit",icon:"SIDENAV_CATEGORY_MEMBER_CENTER_ICON_DEPOSIT"},{name:"withdrawal",icon:"SIDENAV_CATEGORY_MEMBER_CENTER_ICON_WITHDRAWAL"},{name:"transfer",icon:"SIDENAV_CATEGORY_ICON_TRANSFER"},{name:"bonuses",icon:"SIDENAV_CATEGORY_ICON_BONUSES"},{name:"voucher",icon:"SIDENAV_CATEGORY_ICON_VOUCHER"},{name:"real-time-bonus",icon:"SIDENAV_CATEGORY_ICON_REAL_TIME_BONUS"},{name:"free-spin",icon:"SIDENAV_CATEGORY_ICON_FREE_SPIN"},{name:"bet-records",icon:"SIDENAV_CATEGORY_ICON_BET_RECORDS"},{name:"turnover",icon:"SIDENAV_CATEGORY_ICON_TURNOVER"},{name:"records",icon:"SIDENAV_CATEGORY_ICON_RECORDS"},{name:"info",icon:"SIDENAV_CATEGORY_ICON_INFO"},{name:"kyc",icon:"SIDENAV_CATEGORY_ICON_KYC"},{name:"changepassword",icon:"SIDENAV_CATEGORY_ICON_CHANGEPASSWORD"},{name:"inbox",icon:"SIDENAV_CATEGORY_ICON_INBOX"},{name:"referral",icon:"SIDENAV_CATEGORY_ICON_REFERRAL"},{name:"biometric",icon:"SIDENAV_CATEGORY_ICON_BIOMETRIC"},{name:"mode",icon:"SIDENAV_CATEGORY_ICON_MODE"},{name:"documents",icon:"SIDENAV_CATEGORY_ICON_DOCUMENTS"},{name:"bank",icon:"SIDENAV_CATEGORY_ICON_BANK"},{name:"crypto",icon:"SIDENAV_CATEGORY_ICON_CRYPTO"},{name:"ewallets",icon:"SIDENAV_CATEGORY_ICON_EWALLETS"},{name:"UPI",icon:"SIDENAV_CATEGORY_ICON_UPI"},{name:"myvip",icon:"SIDENAV_CATEGORY_MEMBER_CENTER_ICON_VIP"},{name:"winner-board",icon:"SIDENAV_ICON_WINNER_BOARD"}],this.isNativeApp=!1,this.isShowVoucher=!1,this.isShowSwitchMode=!1,this.isShowTurnover=!1,this.isShowDocument=!1,this.isShowBank=!1,this.isShowCryptocurrencies=!1,this.isShowEWallets=!1,this.isShowUPI=!1,this.isShowVerification=!1,this.isShowVipPointsExchange=!1,this.isEnableMultipleRegisterAndLoginFeatures=!1,this.hasClaimableRealTimeBonus=(0,ui.ot)(this.menuInfo$.pipe((0,hn.T)(U=>U?.hasClaimableRealTimeBonus??!1)),{initialValue:!1}),this.#e=(0,ui.ot)(this.menuInfo$.pipe((0,hn.T)(U=>U?.hasActiveFreeSpin??!1)),{initialValue:!1}),this.memberMenuList$=this.siteSetting.select("siteSettingModel").pipe((0,hn.T)(U=>{this.isShowTurnover=!1!==this.sideMenuState.get("isShowTurnover"),this.isShowVoucher=this.siteSetting.get("siteSettingModel").isEnableVoucher,this.isShowVipPointsExchange=!!this.sideMenuState.get("isShowVipPointsExchange"),this.isEnableMultipleRegisterAndLoginFeatures=this.siteSetting.get("siteSettingModel").isEnableMultipleRegisterAndLoginFeatures,this.isEnableRealTimeBonus=this.siteSetting.get("siteSettingModel").isEnableRealTimeBonus,this.isEnableRealTimeRescueBonus=this.siteSetting.get("siteSettingModel").isEnableRealTimeRescueBonus,this.isEnableFreeSpin=this.siteSetting.get("siteSettingModel").isEnableFreeSpin,this.isEnableWinnerBoard=this.siteSetting.get("siteSettingModel").isEnableWinnerBoard;const ue=Ed(this.i18nService,U.isBonusWallet,this.isNativeApp,this.isShowVoucher,this.isShowSwitchMode,this.isShowTurnover,this.isEnableRealTimeBonus,this.isEnableRealTimeRescueBonus,this.isEnableFreeSpin,this.isEnableWinnerBoard,this.isShowVipPointsExchange,0,U.isEnabledRafCommission,this.headerDesktopConfig?.customCommonReferralBonus);if(this.isShowDocument=this.siteSetting.get("siteSettingModel").isVerifyDocument,this.isShowBank=this.siteSetting.get("siteSettingModel").isVerifyBank,this.isShowCryptocurrencies=this.siteSetting.get("siteSettingModel").isVerifyCryptocurrency,this.isShowEWallets=this.siteSetting.get("siteSettingModel").isVerifyEWallet,this.isShowUPI=this.siteSetting.get("siteSettingModel").isVerifyUPI,this.isShowVerification=this.isShowDocument||this.isShowBank||this.isShowCryptocurrencies||this.isShowEWallets||this.isShowUPI,this.isShowVerification){const we={listClass:"verification-list",title:this.i18nService.translate("ui.member_menu.word.verification"),imageData:[]};if(this.isShowDocument){const Ge={imageName:this.i18nService.translate("ui.member_menu.word.documents"),imageClass:"documents",imageLink:`${$t.q.VERIFY_DOCUMENT.link}`};we.imageData.push(Ge)}if(this.isShowBank){const Ge={imageName:this.i18nService.translate("ui.member_menu.text.bank_statements"),imageClass:"bank",imageLink:`${$t.q.VERIFY_BANK.link}`};we.imageData.push(Ge)}if(this.isShowCryptocurrencies){const Ge={imageName:this.i18nService.translate("ui.global.text.crypto_currencies"),imageClass:"crypto",imageLink:`${$t.q.VERIFY_CRYPTOCURRENCIES.link}`};we.imageData.push(Ge)}if(this.isShowEWallets){const Ge={imageName:this.i18nService.translate("ui.global.text.e_wallets"),imageClass:"ewallets",imageLink:`${$t.q.VERIFY_E_WALLETS.link}`};we.imageData.push(Ge)}if(this.isShowUPI){const Ge={imageName:this.i18nService.translate("ui.global.text.UPI"),imageClass:"UPI",imageLink:`${$t.q.VERIFY_UPI.link}`};we.imageData.push(Ge)}ue.push(we)}return ue})),this.isNativeApp=this.siteSetting.get("siteSettingModel").isNativeApp}ngOnInit(){this.checkIsVipOpen(),this.checkRealTimeInfoService.getMenuInfo(),this.authState.select("menuInfo").pipe((0,ot.M)(n=>{this.menuInfo$.next(n)}),(0,ui.pQ)(this.destroyRef)).subscribe()}stopBubbling(n){n.stopPropagation()}reloadPlayerInfo(){this.isReloading||(this.isReloading=!0,this.checkPlayerInfoService.checkBalance(),setTimeout(()=>{this.isReloading=!1,this.cdr.detectChanges()},1e3))}navigateTo(n){console.log(n),this.router.url!==n&&this.router.navigateByUrl(n),this.routerTriggered.emit()}logout(){this.logouted.emit(),this.authService.logout_check()}checkIsVipOpen(){this.accountInfo.subscribe(n=>{this.isVipOpen=!!n.vipInfo})}showNoticeIcon(n){return"inbox"===n||"bonuses"===n}getNoticeCount(n,o){return"inbox"===n?o?.unreadMessageCount||0:o?.inactiveBonusWalletCount||0}showExclamationIcon(n){switch(n){case"real-time-bonus":return this.hasClaimableRealTimeBonus();case"free-spin":return this.#e();default:return!1}}static#t=this.\u0275fac=function(o){return new(o||a)(e.rXU(Za),e.rXU(as.uR),e.rXU(e.gRc),e.rXU(b.JO),e.rXU(en.Ix))};static#n=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-header-desktop-user-dropdown"]],outputs:{routerTriggered:"routerTriggered",logouted:"logouted"},features:[e.Jv_([Hr.Y])],decls:1,vars:0,consts:[[4,"transloco"],[1,"header-desktop-user-dropdown",3,"click"],[1,"header-desktop-user-dropdown__head"],[4,"ngIf"],["class","header-desktop-user-dropdown__value-display value-display",4,"ngIf"],["class","header-desktop-user-dropdown__group",4,"ngFor","ngForOf"],[1,"header-desktop-user-dropdown__group"],[1,"header-desktop-user-dropdown__item","header-desktop-user-dropdown-item",3,"click"],[1,"header-desktop-user-dropdown-item__icon"],[1,"header-desktop-user-dropdown-item__text"],["class","header-desktop-user-dropdown__user-name",4,"ngIf"],[1,"header-desktop-user-dropdown__user-name"],[1,"header-desktop-user-dropdown__value-display","value-display"],[1,"value-display__title"],[1,"value-display__value","value-display__value--refreshable",3,"click"],["alt","refresh",1,"value-display__refresh-icon"],[4,"ngFor","ngForOf"],[1,"header-desktop-user-dropdown-item__notice"],[1,"header-desktop-user-dropdown-item__exclamation"],["class","header-desktop-user-dropdown-item__icon",3,"-webkit-mask-image",4,"ngIf"],["class","header-desktop-user-dropdown-item__notice",4,"ngIf"],[1,"item-icon"]],template:function(o,d){1&o&&e.DNE(0,A_,17,17,"ng-container",0)},dependencies:[u.Sq,u.bT,b.bA,u.Jj,Ms.Hc,ia.o4],styles:["header[_ngcontent-%COMP%]{z-index:60}.pop-bg[_ngcontent-%COMP%]{z-index:120}.pop-wrap[_ngcontent-%COMP%]{z-index:129}.menu-mask[_ngcontent-%COMP%]{z-index:115}.gotop[_ngcontent-%COMP%]{z-index:84}.float-banner[_ngcontent-%COMP%]{z-index:80}.searchpage[_ngcontent-%COMP%]{z-index:129}.launch-game-content[_ngcontent-%COMP%]{z-index:115}.tips-display[_ngcontent-%COMP%]{z-index:116}.loader-box[_ngcontent-%COMP%]{z-index:9002}.loading-mask[_ngcontent-%COMP%]{z-index:9001}.rotating-pop[_ngcontent-%COMP%]{z-index:130}#chat-widget-container[_ngcontent-%COMP%]{z-index:120!important}[_nghost-%COMP%]{display:block;width:100%;height:100%}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.header-desktop-user-dropdown[_ngcontent-%COMP%]{background-color:var(--header-desktop-user-dropdown-bg, #2d2e30);border-radius:5px;box-shadow:3.4px 3.4px 2.7px #00000006,8.7px 8.7px 6.9px #00000008,17.7px 17.7px 14.2px #0000000a,36.5px 36.5px 29.2px #0000000c,100px 100px 80px #00000012;height:100%;overflow:auto;color:var(--header-desktop-user-dropdown-txt, #fff)}.header-desktop-user-dropdown__head[_ngcontent-%COMP%]{padding:15px 19px 18px}.header-desktop-user-dropdown__group[_ngcontent-%COMP%]{padding:15px 19px 9px}.header-desktop-user-dropdown__head[_ngcontent-%COMP%] + .header-desktop-user-dropdown__group[_ngcontent-%COMP%], .header-desktop-user-dropdown__group[_ngcontent-%COMP%] + .header-desktop-user-dropdown__group[_ngcontent-%COMP%]{border-top:1px solid var(--header-desktop-user-dropdown-border, #454545)}.header-desktop-user-dropdown__user-name[_ngcontent-%COMP%]{font-weight:700;font-size:16px}.header-desktop-user-dropdown__user-name[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-top:8px}.header-desktop-user-dropdown__value-display[_ngcontent-%COMP%] + .header-desktop-user-dropdown__value-display[_ngcontent-%COMP%]{margin-top:4px}.value-display__title[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:20px}.value-display__value[_ngcontent-%COMP%]{color:var(--header-desktop-user-dropdown-value-display-highlight, #454545);display:flex;align-items:center;font-weight:700;font-size:18px;line-height:25px}.value-display__value--refreshable[_ngcontent-%COMP%]{cursor:pointer}.value-display__value[_ngcontent-%COMP%] > .value-display__refresh-icon[_ngcontent-%COMP%]{margin-left:5px}.value-display__refresh-icon[_ngcontent-%COMP%]{width:10px;height:10px;mask-position:center;mask-repeat:no-repeat;mask-size:cover;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:cover;transform:rotate 1s;background-color:var(--header-desktop-user-dropdown-value-display-highlight, #454545)}.value-display__value--reloading[_ngcontent-%COMP%] .value-display__refresh-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_rotate 1s}.header-desktop-user-dropdown-item[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;padding:9px 0}.header-desktop-user-dropdown-item__icon[_ngcontent-%COMP%]{width:16px;height:16px;mask-repeat:no-repeat;mask-size:contain;mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;-webkit-mask-position:center;background:var(--header-desktop-user-dropdown-icon, var(--header-desktop-user-dropdown-txt))}.header-desktop-user-dropdown-item__icon[_ngcontent-%COMP%] + .header-desktop-user-dropdown-item__text[_ngcontent-%COMP%]{margin-left:16px}.header-desktop-user-dropdown-item__text[_ngcontent-%COMP%]{font-weight:600;font-size:14px;color:var(--header-desktop-user-dropdown-txt, #fff)}.header-desktop-user-dropdown-item__notice[_ngcontent-%COMP%]{width:20px;height:20px;min-width:20px;min-height:20px;border-radius:50%;line-height:20px;margin-left:auto;text-align:center;font-size:14px;background:var(--header-desktop-user-dropdown-inbox-bg, #454545);color:var(--header-desktop-user-dropdown-inbox-txt, #fff)}.header-desktop-user-dropdown-item__exclamation[_ngcontent-%COMP%]{width:20px;height:20px;min-width:20px;min-height:20px;border-radius:50%;line-height:20px;margin-left:auto;text-align:center;background:var(--header-desktop-user-dropdown-exclamation-bg, var(--header-desktop-user-dropdown-inbox-bg))}.header-desktop-user-dropdown-item__exclamation[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%]{display:block;width:20px;height:20px;background:var(--header-desktop-user-dropdown-exclamation-txt, #fff)}"],changeDetection:0})}return a})();var au=l(32001);const cu=["userButton"],lu=["mutationDetectingTarget"],uu=["authContainer"],RC=a=>({active:a});function SC(a,p){if(1&a&&(e.j41(0,"div",9),e.eu8(1,14),e.k0s()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",n.customHeaderExtraContentSponsor)}}function yC(a,p){if(1&a&&(e.j41(0,"div",11),e.nrm(1,"div",20),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.j41(4,"div",21),e.EFF(5),e.k0s()()),2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.Y8G("routerLink",d.routingPathType.WALLET_DEPOSIT.link),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,6,null==(n=e.bMT(2,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_MEMBER_CENTER_ICON_DEPOSIT)),e.R7$(4),e.JRh(o("ui.global.word.deposit"))}}function Dd(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",22),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.balanceReload())}),e.nrm(2,"div",23),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.EFF(5),e.nI1(6,"async"),e.j41(7,"span"),e.EFF(8),e.k0s()(),e.j41(9,"div",24),e.EFF(10,"EXP "),e.j41(11,"span"),e.EFF(12),e.k0s()(),e.bVm()}if(2&a){let n,o;const d=e.XpG(2);e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(4,8,null==(n=e.bMT(3,6,d.switchThemeService.imageLink$))?null:n.HEADER_REFRESH_ICON)),e.Y8G("ngClass",e.eq3(12,RC,d.isReload)),e.R7$(3),e.JRh(null==(o=e.bMT(6,10,d.currentCurrencyType$))?null:o.name),e.R7$(3),e.JRh(d.mainWalletCricket),e.R7$(4),e.JRh(d.exposure)}}function Sf(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",26),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.refreshMainWallet())}),e.nrm(1,"div",27),e.nI1(2,"imageUrl"),e.j41(3,"div",28),e.EFF(4),e.k0s(),e.j41(5,"div",29),e.EFF(6),e.nI1(7,"toLocalNumber"),e.k0s()()}if(2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.AVh("main-wallet-label--clicked",o.mainWalletOnRefresh),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(2,6,"assets/images/refresh.svg")),e.R7$(3),e.JRh(n("ui.main_wallet_display.text.main_wallet")),e.R7$(2),e.SpI(" ",e.bMT(7,8,o.mainWallet),"")}}function TC(a,p){if(1&a&&(e.DNE(0,Sf,8,10,"div",25),e.nI1(1,"async")),2&a){const n=e.XpG(2);e.Y8G("ngIf",!0===e.bMT(1,1,n.isLogin$))}}function lO(a,p){if(1&a&&(e.j41(0,"div",30)(1,"button",31),e.EFF(2),e.k0s(),e.j41(3,"button",32),e.EFF(4),e.k0s()()),2&a){const n=e.XpG().$implicit,o=e.XpG();e.Y8G("ngClass",o.authContainerClassName),e.R7$(),e.Y8G("routerLink",o.isEnableMultipleRegisterAndLoginFeatures?o.routingPathType.REGISTERNEW_THIRDPARTY.link:o.routingPathType.REGISTER.link),e.R7$(),e.JRh(n("ui.header_inner.text.register")),e.R7$(),e.Y8G("routerLink",o.isEnableMultipleRegisterAndLoginFeatures?o.routingPathType.LOGINNEW_QUICK_ACCOUNT.link:o.routingPathType.LOGIN.link),e.R7$(),e.JRh(n("ui.global.word.login"))}}function uO(a,p){if(1&a&&e.eu8(0,14),2&a){const n=e.XpG(2);e.Y8G("ngTemplateOutlet",n.customExtraContentIcon)}}function bC(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",33,2),e.nI1(2,"imageUrl"),e.bIt("click",function(d){e.eBV(n);const _=e.XpG(2);return e.Njj(_.toggleUserDropdown(d))}),e.k0s()}2&a&&e.xc7("-webkit-mask-image",e.bMT(2,2,"assets/images/icon-info.svg"))}function MC(a,p){if(1&a&&(e.nrm(0,"div",35),e.nI1(1,"imageUrl")),2&a){const n=e.XpG(3);e.xc7("-webkit-mask-image",e.bMT(1,3,"assets/images/icon-switches.svg")),e.Y8G("routerLink",n.routingPathType.SWITCH_MODE.link)}}function dO(a,p){if(1&a&&(e.DNE(0,MC,2,5,"div",34),e.nI1(1,"async")),2&a){const n=e.XpG(2);e.Y8G("ngIf",!0===e.bMT(1,1,n.isLogin$))}}function NC(a,p){if(1&a&&e.eu8(0,14),2&a){const n=e.XpG(2);e.Y8G("ngTemplateOutlet",n.customExtraContentIcon)}}function hO(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",4),e.nI1(2,"async"),e.j41(3,"div",5)(4,"div",6)(5,"div",7)(6,"div",8),e.nI1(7,"async"),e.nI1(8,"async"),e.nI1(9,"imageUrl"),e.nI1(10,"async"),e.nI1(11,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.backHome())}),e.k0s(),e.DNE(12,SC,2,1,"div",9),e.k0s(),e.j41(13,"div",10,0),e.DNE(15,yC,6,8,"div",11),e.nI1(16,"async"),e.DNE(17,Dd,13,14,"ng-container",12),e.nI1(18,"async"),e.nI1(19,"async"),e.nI1(20,"async"),e.nI1(21,"async"),e.nI1(22,"async"),e.DNE(23,TC,2,3,"ng-template",null,1,e.C5r)(25,lO,5,5,"div",13),e.nI1(26,"async"),e.DNE(27,uO,1,1,"ng-container",14),e.nI1(28,"async"),e.DNE(29,bC,3,4,"div",15),e.nI1(30,"async"),e.DNE(31,dO,2,3,"div",16)(32,NC,1,1,"ng-container",14),e.nI1(33,"async"),e.j41(34,"div",17),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.listenLanguageMenu(!0))}),e.nrm(35,"img",18),e.nI1(36,"async"),e.k0s()()()()(),e.j41(37,"mcd-language",19),e.bIt("activateLanguage",function(d){e.eBV(n);const _=e.XpG();return e.Njj(_.listenLanguageMenu(d))})("canActivateLanguage",function(d){e.eBV(n);const _=e.XpG();return e.Njj(_.canOpenLanguageMenu(d))}),e.k0s(),e.bVm()}if(2&a){let n,o;const d=e.sdS(24),_=e.XpG();e.R7$(),e.AVh("header-desktop--shrink",_.shallshrink),e.Y8G("ngClass","currency-"+(null==(n=e.bMT(2,18,_.currencyType$))||null==n.name?null:n.name.toLocaleLowerCase())),e.BMQ("id",_.id),e.R7$(5),e.xc7("background-image",e.bMT(7,20,_.logoImgLink$)?e.bMT(9,24,null==(o=e.bMT(8,22,_.switchThemeService.imageLink$))?null:o.MAIN_LOGO_2):e.bMT(11,28,null==(o=e.bMT(10,26,_.switchThemeService.imageLink$))?null:o.MAIN_LOGO)),e.Y8G("routerLink",_.routingPathType.MAIN.link),e.R7$(6),e.vxM(12,_.customHeaderExtraContentSponsor?12:-1),e.R7$(3),e.vxM(15,!0===e.bMT(16,30,_.isLogin$)?15:-1),e.R7$(2),e.Y8G("ngIf","cricket"===e.bMT(18,32,_.headerClass$)&&!0===e.bMT(19,34,_.hasBalanceData$)&&!0===e.bMT(20,36,_.isMFLoginSuccess$)&&!e.bMT(21,38,_.isSystemMaintenance$)&&!e.bMT(22,40,_.isSystemException$))("ngIfElse",d),e.R7$(8),e.Y8G("ngIf",!1===e.bMT(26,42,_.isLogin$)),e.R7$(2),e.vxM(27,_.customExtraContentIcon&&!0===e.bMT(28,44,_.isLogin$)?27:-1),e.R7$(2),e.Y8G("ngIf",!0===e.bMT(30,46,_.isLogin$)),e.R7$(2),e.vxM(31,_.showSwitchMode?31:-1),e.R7$(),e.vxM(32,_.customExtraContentIcon&&!1===e.bMT(33,48,_.isLogin$)?32:-1),e.R7$(3),e.Y8G("mcdSrc",e.bMT(36,50,_.languageImagesPath$)),e.R7$(2),e.Y8G("isActive",_.isLanguageMenuActive)}}const O_={y:"5px",opacity:0,duration:.5},wC={y:0,opacity:1,duration:.5};let PC=0,yf=(()=>{class a{userDropdownBlurHandler(){this.hideUserDropdown()}#e;constructor(n,o,d,_){this.providerService=n,this.cdr=o,this.overlay=d,this.moduleFederationCustomEventService=_,this.canActiveLanguageMenu=!0,this.isShowCustomLogo=!1,this.shallshrink=!1,this.showSwitchMode=!1,this.switchThemeService=(0,e.WQX)(ir.Fu),this.authState=(0,e.WQX)(gi.H),this.siteSetting=(0,e.WQX)(ti.p),this.headerState=(0,e.WQX)(A.ww),this.moduleFederationState=(0,e.WQX)(Qa.H),this.environment=(0,e.WQX)(Ws.E),this.#e=(0,e.WQX)(e.Agw),this.flagPathService=(0,e.WQX)(Nc.r),this.checkPlayerInfoService=(0,e.WQX)(as.P9),this.images=new $s.l,this.currencyType$=this.siteSetting.select("currentCurrencyType"),this.headerClass$=this.headerState.select("headerClass"),this.languageImagesPath="",this.logoImgLink$=this.siteSetting.select("currentCurrencyType").pipe((0,ui.pQ)(),(0,In.p)(N=>!!N),(0,hn.T)(N=>!!(N===re.U.BRL||this.isShowCustomLogo&&N===re.U.VND))),this.languageImagesPath$=(0,ro.z)([this.siteSetting.select("currentCurrencyType"),this.siteSetting.select("currencyMappingSettingModel")]).pipe((0,hn.T)(N=>{let U="/assets/images/flag/default.svg";const[ue,we]=N,Ge=we?.find(Xe=>Xe.currencyTypeId===ue.unique);return U=this.flagPathService.getFlagPathFromCurrencyMapping(Ge,ue,"webp"),U})),this.isLanguageMenuActive=!1,this.mainWallet=0,this.mainWalletOnRefresh=!1,this.isLogin$=this.authState.select("isLogin"),this.dropdownIsActive=!1,this.authContainerClassName="auth-container",this.isEnableMultipleRegisterAndLoginFeatures=this.siteSetting.get("siteSettingModel")?.isEnableMultipleRegisterAndLoginFeatures??!1,this.id="header-desktop-"+ ++PC,this.routingPathType=$t.q,this.refreshMainWallet$=new S.B,this.subscriptions=[],this.dropdownDetach$=new S.B,this.dropdownTimeline=ys.gsap.timeline(),this.currentCurrencyType$=this.siteSetting.select("currentCurrencyType"),this.isSystemReady$=this.moduleFederationState.select("isSystemReady"),this.isSystemMaintenance$=this.moduleFederationState.select("isSystemMaintenance"),this.isSystemException$=this.moduleFederationState.select("isSystemException"),this.isCricketPage$=this.moduleFederationState.select("isCricketPage"),this.isShowHeaderBtn$=new P.t(!1),this.balanceData$=this.moduleFederationState.select("balanceData"),this.hasBalanceData$=new P.t(!1),this.mainWalletCricket="0",this.exposure="0",this.isReload=!1,this.isRefreshThottled=!1,this.refreshThrottleTime=6e4,this.customHeaderExtraContentSponsor$=this.headerState.select("customExtraContentSponsor"),this.customExtraContentIcon$=this.headerState.select("customExtraContentIcon"),this.menuInfo$=this.authState.select("menuInfo"),this.cricketBalance$=this.menuInfo$.pipe((0,hn.T)(N=>N&&"providerBalance"in N?N.providerBalance??0:0)),this.cricketExposure$=this.menuInfo$.pipe((0,hn.T)(N=>N&&"providerExposure"in N?N.providerExposure??0:0)),this.destroy$=new S.B,this.isMFLoginSuccess$=this.moduleFederationCustomEventService.isMFLoginSuccess$}ngOnInit(){this.initMainWalletSub(),this.initRefreshMechanic(),this.detectCustomContentLoaded(),this.environment.isShowCricketV2InSports?this.isLogin$.pipe((0,ot.M)(n=>{n?(this.isCricketPage$.pipe((0,ot.M)(o=>{o?this.getBalanceData():this.hasBalanceData$.next(!1)})).subscribe(),(0,ro.z)([this.moduleFederationCustomEventService.transferVendorId$,this.isLogin$,this.isCricketPage$]).pipe((0,In.p)(([o,d,_])=>null!=o&&!!d&&!!_),(0,$n.s)(1),(0,ot.M)(()=>this.getBalanceData()),(0,Z.Q)(this.destroy$)).subscribe()):this.hasBalanceData$.next(!1)})).subscribe():this.isLogin$.pipe((0,ot.M)(n=>{n?this.getBalanceData():this.hasBalanceData$.next(!1)})).subscribe()}ngAfterViewInit(){(0,u.UE)(this.#e)&&this.initContentMutationObserver()}ngOnDestroy(){this.subscriptions.forEach(n=>{n.unsubscribe()}),this.dropdownDetach$.complete(),this.destroy$.next(),this.destroy$.complete()}refreshMainWallet(){this.mainWalletOnRefresh=!0,this.refreshMainWallet$.next(),clearTimeout(this.refreshTimeout),this.refreshTimeout=setTimeout(()=>{this.mainWalletOnRefresh=!1,this.cdr.detectChanges()},1e3)}listenLanguageMenu(n){this.canActiveLanguageMenu&&(this.isLanguageMenuActive=n)}canOpenLanguageMenu(n){this.canActiveLanguageMenu=n}showUserDropdown(){if(!this.overlayRef)return;const n=new qc.A8(Rf),o=this.overlayRef.attach(n);(0,wi.h)(o.instance.logouted,o.instance.routerTriggered).pipe((0,ot.M)(()=>{this.hideUserDropdown()}),(0,Z.Q)(this.dropdownDetach$)).subscribe(),this.dropdownTimeline.clear(),this.dropdownTimeline.fromTo(this.overlayRef.hostElement,O_,wC),this.dropdownIsActive=!0}hideUserDropdown(){this.overlayRef&&(this.dropdownTimeline.clear(),this.dropdownTimeline.to(this.overlayRef.hostElement,{...O_,onComplete:()=>{this.overlayRef&&(this.overlayRef.detach(),this.dropdownDetach$.next(),this.dropdownIsActive=!1)}}))}toggleUserDropdown(n){n.stopPropagation(),this.dropdownIsActive?this.hideUserDropdown():this.showUserDropdown()}getBalanceData(){const n=this.moduleFederationCustomEventService.getBalanceVendorCode();null!=n?"AWCV2_VELKI"!==n?this.balanceData$.pipe((0,Z.Q)(this.destroy$)).subscribe(o=>{if(!o)return this.hasBalanceData$.next(!1),void this.cdr.markForCheck();if(this.mainWalletCricket=this.numberWithCommas(o.balance),0===o.exposure)this.exposure=`${o.exposure}`;else{const d=this.numberWithCommas(Math.abs(o.exposure));this.exposure=`(${d})`}this.hasBalanceData$.next(!0),this.cdr.markForCheck()}):this.menuInfo$.pipe((0,In.p)(o=>o&&("providerBalance"in o||"providerExposure"in o)),(0,ot.M)(o=>{if(this.mainWalletCricket="providerBalance"in o&&null!=o.providerBalance?this.numberWithCommas(o.providerBalance):"0","providerExposure"in o&&null!=o.providerExposure){const N=o.providerExposure;if(0===N)this.exposure=`${N}`;else{const U=this.numberWithCommas(Math.abs(N));this.exposure=`(${U})`}}else this.exposure="0";this.hasBalanceData$.next("providerBalance"in o&&null!=o.providerBalance||"providerExposure"in o&&null!=o.providerExposure),this.cdr.markForCheck()}),(0,Z.Q)(this.destroy$)).subscribe():this.hasBalanceData$.next(!1)}numberWithCommas(n){const o=n.toString().split(".");return o[0]=o[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),o.join(".")}balanceReload(){if(this.isReload||(this.isReload=!0,setTimeout(()=>{this.isReload=!1,this.cdr.detectChanges()},1e3),this.isRefreshThottled))return;this.isRefreshThottled=!0;const n=this.moduleFederationCustomEventService.getTransferVendorId(),o=this.moduleFederationCustomEventService.getBalanceVendorCode();null!=n?"AWCV2_VELKI"!==o?this.providerService.transferAllToProvider(n).pipe((0,R.W)(d=>(console.error("transferAllToProvider error:",d),(0,L.of)(null))),(0,Ns.j)(()=>{setTimeout(()=>{this.isRefreshThottled=!1},this.refreshThrottleTime)})).subscribe():this.providerService.transferAllToProvider(n).pipe((0,ot.M)(d=>{if(d&&("providerBalance"in d||"providerExposure"in d)){const N={...this.authState.get("menuInfo")};"providerBalance"in d&&(N.providerBalance=d.providerBalance),"providerExposure"in d&&(N.providerExposure=d.providerExposure),this.authState.set({menuInfo:N})}}),(0,R.W)(d=>(console.error("transferAllToProvider error:",d),(0,L.of)(null))),(0,Ns.j)(()=>{setTimeout(()=>{this.isRefreshThottled=!1},this.refreshThrottleTime)})).subscribe():setTimeout(()=>{this.isRefreshThottled=!1},this.refreshThrottleTime)}backHome(){this.isSystemReady$.subscribe(n=>{n&&this.moduleFederationCustomEventService.isBackHome()})}initContentMutationObserver(){const n=this.mutationDetectingTarget.nativeElement;this.contentChanged$=new vc.c(d=>{const _=new MutationObserver(U=>{for(const ue of U)("childList"===ue.type||"characterData"===ue.type)&&d.next()});return _.observe(n,{childList:!0,characterData:!0}),()=>{_.disconnect()}});const o=(0,wi.h)(this.isLogin$.pipe((0,In.p)(d=>!!d)),this.contentChanged$).pipe((0,In.p)(()=>!document.querySelector(`${this.id} .${this.authContainerClassName}`)),(0,so.B)(200),(0,ot.M)(()=>{this.initOverlayRef()})).subscribe();this.subscriptions.push(o)}initOverlayRef(){const o=this.overlay.position().flexibleConnectedTo(this.userButton).withPositions([{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}]).withPush().withDefaultOffsetX(46).withDefaultOffsetY(15);this.overlayRef?.dispose(),this.overlayRef=this.overlay.create({positionStrategy:o,scrollStrategy:this.overlay.scrollStrategies.reposition(),width:220,height:"calc(100% - 80px)",maxHeight:"640px"})}initRefreshMechanic(){this.refreshMainWallet$.pipe((0,dd.c)(15e3),(0,ot.M)(()=>{this.checkPlayerInfoService.checkBalance()})).subscribe()}initMainWalletSub(){const n=this.authState.select("accountInfo").pipe((0,ot.M)(o=>{this.mainWallet=(o.balance??0)+(o.totalMainProviderBalance??0)})).subscribe();this.subscriptions.push(n)}detectCustomContentLoaded(){(0,ro.z)([this.customHeaderExtraContentSponsor$.pipe((0,tc.Z)(null)),this.customExtraContentIcon$.pipe((0,tc.Z)(null))]).pipe((0,Z.Q)(this.destroy$)).subscribe(([n,o])=>{this.customHeaderExtraContentSponsor=n,this.customExtraContentIcon=o,this.cdr.detectChanges()})}static#t=this.\u0275fac=function(o){return new(o||a)(e.rXU(Sc.$),e.rXU(e.gRc),e.rXU(zp.hJ),e.rXU(ul.g))};static#n=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-header-desktop"]],viewQuery:function(o,d){if(1&o&&(e.GBs(cu,5),e.GBs(lu,5),e.GBs(uu,5)),2&o){let _;e.mGM(_=e.lsd())&&(d.userButton=_.first),e.mGM(_=e.lsd())&&(d.mutationDetectingTarget=_.first),e.mGM(_=e.lsd())&&(d.authContainer=_.first)}},hostBindings:function(o,d){1&o&&e.bIt("click",function(){return d.userDropdownBlurHandler()},!1,e.EBC)},inputs:{canActiveLanguageMenu:"canActiveLanguageMenu",isShowCustomLogo:"isShowCustomLogo",shallshrink:"shallshrink",showSwitchMode:"showSwitchMode"},features:[e.Jv_([{provide:ia.zo,useFactory:(n=(0,e.WQX)(e.zZn))=>n.get(vd,null,{optional:!0})}])],decls:1,vars:0,consts:[["mutationDetectingTarget",""],["defaultWallet",""],["userButton",""],[4,"transloco"],[1,"header-desktop",3,"ngClass"],[1,"header-desktop__inner"],[1,"header-desktop__main"],[1,"header-desktop__former"],[1,"header-desktop__logo",3,"click","routerLink"],["name","customContentSponsor",1,"custom-content-sponsor"],[1,"header-desktop__latter"],[1,"header-desktop__item","header-desktop__deposit-label","deposit-label",3,"routerLink"],[4,"ngIf","ngIfElse"],["class","header-desktop__item header-desktop__auth-container",3,"ngClass",4,"ngIf"],[3,"ngTemplateOutlet"],["class","header-desktop__item header-desktop__user",3,"-webkit-mask-image","click",4,"ngIf"],[1,"header-desktop__item","header-desktop__mode-switch",3,"routerLink","-webkit-mask-image"],[1,"header-desktop__item","header-desktop__lang-switch",3,"click"],[3,"mcdSrc"],[1,"header-desktop-lang-switch-menu",3,"activateLanguage","canActivateLanguage","isActive"],[1,"deposit-label__deposit"],[1,"deposit-label__title"],[1,"cricket-money",3,"click"],[1,"icon-refresh",3,"ngClass"],[1,"exp"],["class","header-desktop__item header-desktop__main-wallet-label main-wallet-label",3,"main-wallet-label--clicked","click",4,"ngIf"],[1,"header-desktop__item","header-desktop__main-wallet-label","main-wallet-label",3,"click"],[1,"main-wallet-label__refresh"],[1,"main-wallet-label__title"],[1,"main-wallet-label__value"],[1,"header-desktop__item","header-desktop__auth-container",3,"ngClass"],[1,"auth-container__button","auth-container__button--secondary",3,"routerLink"],[1,"auth-container__button","auth-container__button--primary",3,"routerLink"],[1,"header-desktop__item","header-desktop__user",3,"click"],["class","header-desktop__item header-desktop__mode-switch",3,"routerLink","-webkit-mask-image",4,"ngIf"],[1,"header-desktop__item","header-desktop__mode-switch",3,"routerLink"]],template:function(o,d){1&o&&e.DNE(0,hO,38,52,"ng-container",3)},dependencies:[u.YU,u.bT,u.T3,pa.f,ga.h,au.i,b.bA,en.Wk,u.Jj,Ms.Hc,ia.o4],styles:["header[_ngcontent-%COMP%]{z-index:60}.pop-bg[_ngcontent-%COMP%]{z-index:120}.pop-wrap[_ngcontent-%COMP%]{z-index:129}.menu-mask[_ngcontent-%COMP%]{z-index:115}.gotop[_ngcontent-%COMP%]{z-index:84}.float-banner[_ngcontent-%COMP%]{z-index:80}.searchpage[_ngcontent-%COMP%]{z-index:129}.launch-game-content[_ngcontent-%COMP%]{z-index:115}.tips-display[_ngcontent-%COMP%]{z-index:116}.loader-box[_ngcontent-%COMP%]{z-index:9002}.loading-mask[_ngcontent-%COMP%]{z-index:9001}.rotating-pop[_ngcontent-%COMP%]{z-index:130}#chat-widget-container[_ngcontent-%COMP%]{z-index:120!important}[_nghost-%COMP%]{display:block}.header-desktop[_ngcontent-%COMP%]{padding-bottom:var(--header-desktop-height, 60px);transform:translateZ(0)}.header-desktop__inner[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;background:var(--header-background, #000);display:flex;justify-content:center}.header-desktop__main[_ngcontent-%COMP%]{max-width:var(--layout-desktop-content-max-width, 1200px);width:calc(100% - var(--layout-desktop-content-limit-gap, 15px) * 2);transition:width 1s;position:relative;left:0;right:0;margin:0 auto;display:flex;flex:none}.header-desktop--shrink[_ngcontent-%COMP%] .header-desktop__main[_ngcontent-%COMP%]{width:calc(100% - var(--layout-desktop-content-limit-gap, 15px) * 4)}.header-desktop__main[_ngcontent-%COMP%] .header-desktop__latter[_ngcontent-%COMP%]{margin-left:auto}.header-desktop__former[_ngcontent-%COMP%], .header-desktop__latter[_ngcontent-%COMP%]{display:flex;align-items:center}.header-desktop__former[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .header-desktop__latter[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:none}.header-desktop__logo[_ngcontent-%COMP%]{display:block;height:100%;width:var(--header-logo-width, 80px);background-repeat:no-repeat;background-size:contain;background-position:center;cursor:pointer;opacity:1}.header-desktop__logo[_ngcontent-%COMP%]:hover{opacity:.7}.header-desktop__user[_ngcontent-%COMP%], .header-desktop__deposit-label[_ngcontent-%COMP%], .header-desktop__main-wallet-label[_ngcontent-%COMP%], .header-desktop__mode-switch[_ngcontent-%COMP%], .header-desktop__auth-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .header-desktop__lang-switch[_ngcontent-%COMP%]{cursor:pointer;opacity:1;transition:opacity .5s}.header-desktop__user[_ngcontent-%COMP%]:hover, .header-desktop__deposit-label[_ngcontent-%COMP%]:hover, .header-desktop__main-wallet-label[_ngcontent-%COMP%]:hover, .header-desktop__mode-switch[_ngcontent-%COMP%]:hover, .header-desktop__auth-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, .header-desktop__lang-switch[_ngcontent-%COMP%]:hover{opacity:.8}.header-desktop__user[_ngcontent-%COMP%], .header-desktop__mode-switch[_ngcontent-%COMP%]{height:30px;width:30px;mask-position:center;mask-repeat:no-repeat;mask-size:cover;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:cover;background-color:var(--icon-color, #e9e9e9)}.header-desktop__lang-switch[_ngcontent-%COMP%]{height:20px}.header-desktop__lang-switch[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%}.header-desktop__item[_ngcontent-%COMP%] + .header-desktop__item[_ngcontent-%COMP%]{margin-left:16px}.deposit-label[_ngcontent-%COMP%]{padding:10px;display:flex;align-items:center;border-radius:5px;cursor:pointer;background:var(--deposit-label-bg, #3b392f)}.deposit-label[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-left:10px}.deposit-label__deposit[_ngcontent-%COMP%]{width:20px;height:14px;mask-position:center;mask-repeat:no-repeat;mask-size:cover;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:cover;background-color:var(--main-deposit-text, #fff)}.deposit-label__deposit[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.deposit-label__title[_ngcontent-%COMP%]{font-weight:400;font-size:14px;color:var(--main-deposit-text, #fff)}.main-wallet-label[_ngcontent-%COMP%]{padding:10px;display:flex;align-items:center;border-radius:5px;cursor:pointer;background:var(--main-wallet-label-bg, #3b392f)}.main-wallet-label[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-left:10px}.main-wallet-label__refresh[_ngcontent-%COMP%]{width:14px;height:14px;mask-position:center;mask-repeat:no-repeat;mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;background-color:var(--main-wallet-label-text, #fff)}.main-wallet-label__refresh[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.main-wallet-label--clicked[_ngcontent-%COMP%] .main-wallet-label__refresh[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_rotate 1s}.main-wallet-label__title[_ngcontent-%COMP%]{font-weight:400;font-size:14px;color:var(--main-wallet-label-text, #fff)}.main-wallet-label__value[_ngcontent-%COMP%]{font-weight:700;font-size:14px;color:var(--main-wallet-label-text, #fff)}.auth-container[_ngcontent-%COMP%]{display:flex;align-items:center}.auth-container__button[_ngcontent-%COMP%]{cursor:pointer;padding:10px;display:flex;justify-content:center;border-radius:5px;font-size:12px;border:none}.auth-container__button--primary[_ngcontent-%COMP%]{background:var(--header-btn-bg, #2d2e30);color:var(--header-btn-color, #fff)}.auth-container__button--secondary[_ngcontent-%COMP%]{background:var(--header-btn-bg-secondary, #2d2e30);color:var(--header-btn-color-secondary, #fff)}.auth-container[_ngcontent-%COMP%] > .auth-container__button[_ngcontent-%COMP%]{flex:none;min-width:105px;padding:10px}.auth-container__button[_ngcontent-%COMP%] + .auth-container__button[_ngcontent-%COMP%]{margin-left:5px}.cricket-money[_ngcontent-%COMP%]{display:flex;align-items:center;border-radius:5px 0 0 5px;background:var(--header-login-btn-bg, #000);color:var(--header-login-btn-txt, #fff);margin-left:10px;padding:9px}.exp[_ngcontent-%COMP%]{display:flex;align-items:center;border-radius:0 5px 5px 0;background:var(--header-exp-btn-bg, #000);color:var(--header-exp-btn-txt, #fff);margin-right:10px;padding:9px}.icon-refresh[_ngcontent-%COMP%]{width:16px;height:16px;background:var(--header-refresh-icon-color);mask-repeat:no-repeat;mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;margin-right:4px}.icon-refresh.active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_rotate 1s forwards}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(1turn)}}"],changeDetection:0})}return a})();const fl=new e.nKC("HEADER_DESKTOP_CONFIG");function Tf(a,p){if(1&a&&(e.j41(0,"div",11),e.EFF(1),e.k0s()),2&a){const n=e.XpG().ngIf;e.R7$(),e.JRh(null==n?null:n.userName)}}function Id(a,p){if(1&a&&(e.j41(0,"div",11),e.EFF(1),e.k0s()),2&a){const n=e.XpG().ngIf;e.R7$(),e.JRh(null==n?null:n.userId)}}function R_(a,p){if(1&a&&(e.qex(0),e.DNE(1,Tf,2,1,"div",10)(2,Id,2,1,"div",10),e.bVm()),2&a){const n=p.ngIf,o=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==n?null:n.userName),e.R7$(),e.Y8G("ngIf",!(null!=n&&n.userName)&&o.sideMenuState.select("isUserNameFoolProof"))}}function du(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",12)(1,"div",13),e.EFF(2),e.k0s(),e.j41(3,"div",14),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.reloadPlayerInfo())}),e.EFF(4),e.nI1(5,"async"),e.nrm(6,"div",15),e.nI1(7,"imageUrl"),e.k0s()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(2),e.SpI("",o("ui.header_inner.text.vip_points")," "),e.R7$(),e.AVh("user-info__value--reloading",d.isReloading),e.R7$(),e.SpI(" ",null==(n=e.bMT(5,6,d.accountInfo))||null==n.vipInfo?null:n.vipInfo.points," "),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(7,8,"assets/images/refresh.svg"))}}function S_(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",12)(1,"div",13),e.EFF(2),e.k0s(),e.j41(3,"div",14),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.reloadPlayerInfo())}),e.EFF(4),e.nI1(5,"async"),e.nI1(6,"toLocalNumber"),e.nrm(7,"div",15),e.nI1(8,"imageUrl"),e.k0s()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(2),e.JRh(o("ui.global.text.bonus_wallet")),e.R7$(),e.AVh("user-info__value--reloading",d.isReloading),e.R7$(),e.SpI(" ",e.i5U(6,8,null==(n=e.bMT(5,6,d.accountInfo))?null:n.bonusWalletBalance,"symbol")," "),e.R7$(3),e.xc7("-webkit-mask-image",e.bMT(8,11,"assets/images/refresh.svg"))}}function LC(a,p){if(1&a&&(e.nrm(0,"div",8),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit;e.xc7("mask-image",e.bMT(1,2,n[o.icon]))}}function hu(a,p){if(1&a&&(e.qex(0),e.DNE(1,LC,2,4,"div",19),e.nI1(2,"async"),e.bVm()),2&a){const n=p.$implicit,o=e.XpG().$implicit,d=e.XpG(3);e.R7$(),e.Y8G("ngIf",n.name===o.imageClass&&e.bMT(2,1,d.switchThemeService.imageLink$))}}function y_(a,p){if(1&a&&(e.j41(0,"span",20),e.EFF(1),e.nI1(2,"async"),e.k0s()),2&a){let n;const o=e.XpG(4);e.R7$(),e.JRh(null==(n=e.bMT(2,1,o.menuInfo$))?null:n.unreadMessageCount)}}function xC(a,p){if(1&a&&(e.j41(0,"span",18),e.nrm(1,"i",21),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.k0s()),2&a){let n;const o=e.XpG(4);e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,4,null==(n=e.bMT(2,2,o.switchThemeService.imageLink$))?null:n.ICON_EXCLAMATION))}}function T_(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"a",7),e.bIt("click",function(){const d=e.eBV(n).$implicit,_=e.XpG(3);return e.Njj(_.navigateTo(d.imageLink?d.imageLink:""))}),e.DNE(2,hu,3,3,"ng-container",16),e.j41(3,"div",9),e.EFF(4),e.k0s(),e.DNE(5,y_,3,3,"span",17)(6,xC,4,6,"span",18),e.k0s(),e.bVm()}if(2&a){let n;const o=p.$implicit,d=e.XpG(3);e.R7$(2),e.Y8G("ngForOf",d.memberCenterIcon),e.R7$(2),e.JRh(o.imageName),e.R7$(),e.Y8G("ngIf","inbox"===o.imageClass),e.R7$(),e.vxM(6,d.showExclamationIcon(null!==(n=o.imageClass)&&void 0!==n?n:"")?6:-1)}}function FC(a,p){if(1&a&&(e.j41(0,"div",6),e.DNE(1,T_,7,4,"ng-container",16),e.k0s()),2&a){const n=p.$implicit;e.R7$(),e.Y8G("ngForOf",n.imageData)}}function Ad(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",1),e.bIt("click",function(d){e.eBV(n);const _=e.XpG();return e.Njj(_.stopBubbling(d))}),e.j41(2,"div",2),e.DNE(3,R_,3,2,"ng-container",3),e.nI1(4,"async"),e.DNE(5,du,8,10,"div",4)(6,S_,9,13,"div",4),e.nI1(7,"async"),e.k0s(),e.DNE(8,FC,2,1,"div",5),e.nI1(9,"async"),e.j41(10,"div",6)(11,"a",7),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.logout())}),e.nrm(12,"div",8),e.nI1(13,"async"),e.nI1(14,"imageUrl"),e.j41(15,"div",9),e.EFF(16),e.k0s()()()(),e.bVm()}if(2&a){let n,o;const d=p.$implicit,_=e.XpG();e.R7$(3),e.Y8G("ngIf",e.bMT(4,7,_.accountInfo)),e.R7$(2),e.Y8G("ngIf",_.isVipOpen),e.R7$(),e.Y8G("ngIf",null==(n=e.bMT(7,9,_.siteSettingModel$))?null:n.isBonusWallet),e.R7$(2),e.Y8G("ngForOf",e.bMT(9,11,_.memberMenuList$)),e.R7$(4),e.xc7("mask-image",e.bMT(14,15,null==(o=e.bMT(13,13,_.switchThemeService.imageLink$))?null:o.SIDENAV_CATEGORY_ICON_LOGOUT)),e.R7$(4),e.SpI(" ",d("ui.member_menu.text.logout"),"")}}let kC=(()=>{class a{#e;constructor(n,o,d,_,N){this.sideMenuState=n,this.authService=o,this.cdr=d,this.i18nService=_,this.router=N,this.routerTriggered=new e.bkB,this.logouted=new e.bkB,this.authState=(0,e.WQX)(gi.H),this.siteSetting=(0,e.WQX)(ti.p),this.menuInfo$=new P.t(null),this.checkRealTimeInfoService=(0,e.WQX)(as.jZ),this.destroyRef=(0,e.WQX)(e.abz),this.accountInfo=this.authState.select("accountInfo"),this.isVipOpen=!1,this.isReloading=!1,this.siteSettingModel$=this.siteSetting.select("siteSettingModel"),this.switchThemeService=(0,e.WQX)(ir.Fu),this.memberCenterIcon=[{name:"deposit",icon:"SIDENAV_CATEGORY_MEMBER_CENTER_ICON_DEPOSIT"},{name:"withdrawal",icon:"SIDENAV_CATEGORY_MEMBER_CENTER_ICON_WITHDRAWAL"},{name:"transfer",icon:"SIDENAV_CATEGORY_ICON_TRANSFER"},{name:"bonuses",icon:"SIDENAV_CATEGORY_ICON_BONUSES"},{name:"voucher",icon:"SIDENAV_CATEGORY_ICON_VOUCHER"},{name:"real-time-bonus",icon:"SIDENAV_CATEGORY_ICON_REAL_TIME_BONUS"},{name:"free-spin",icon:"SIDENAV_CATEGORY_ICON_FREE_SPIN"},{name:"bet-records",icon:"SIDENAV_CATEGORY_ICON_BET_RECORDS"},{name:"turnover",icon:"SIDENAV_CATEGORY_ICON_TURNOVER"},{name:"records",icon:"SIDENAV_CATEGORY_ICON_RECORDS"},{name:"info",icon:"SIDENAV_CATEGORY_ICON_INFO"},{name:"kyc",icon:"SIDENAV_CATEGORY_ICON_KYC"},{name:"changepassword",icon:"SIDENAV_CATEGORY_ICON_CHANGEPASSWORD"},{name:"inbox",icon:"SIDENAV_CATEGORY_ICON_INBOX"},{name:"referral",icon:"SIDENAV_CATEGORY_ICON_REFERRAL"},{name:"biometric",icon:"SIDENAV_CATEGORY_ICON_BIOMETRIC"},{name:"mode",icon:"SIDENAV_CATEGORY_ICON_MODE"},{name:"documents",icon:"SIDENAV_CATEGORY_ICON_DOCUMENTS"},{name:"bank",icon:"SIDENAV_CATEGORY_ICON_BANK"},{name:"crypto",icon:"SIDENAV_CATEGORY_ICON_CRYPTO"},{name:"ewallets",icon:"SIDENAV_CATEGORY_ICON_EWALLETS"},{name:"UPI",icon:"SIDENAV_CATEGORY_ICON_UPI"},{name:"myvip",icon:"SIDENAV_CATEGORY_MEMBER_CENTER_ICON_VIP"},{name:"winner-board",icon:"SIDENAV_ICON_WINNER_BOARD"}],this.isNativeApp=!1,this.isShowVoucher=!1,this.isShowSwitchMode=!1,this.isShowTurnover=!1,this.isShowDocument=!1,this.isShowBank=!1,this.isShowCryptocurrencies=!1,this.isShowEWallets=!1,this.isShowUPI=!1,this.isShowVerification=!1,this.isShowVipPointsExchange=!1,this.isEnableMultipleRegisterAndLoginFeatures=!1,this.headerDesktopConfig=(0,e.WQX)(fl,{optional:!0}),this.hasClaimableRealTimeBonus=(0,ui.ot)(this.menuInfo$.pipe((0,hn.T)(U=>U?.hasClaimableRealTimeBonus??!1)),{initialValue:!1}),this.#e=(0,ui.ot)(this.menuInfo$.pipe((0,hn.T)(U=>U?.hasActiveFreeSpin??!1)),{initialValue:!1}),this.memberMenuList$=this.siteSetting.select("siteSettingModel").pipe((0,hn.T)(U=>{this.isShowTurnover=!1!==this.sideMenuState.get("isShowTurnover"),this.isShowVoucher=this.siteSetting.get("siteSettingModel").isEnableVoucher,this.isShowVipPointsExchange=!!this.sideMenuState.get("isShowVipPointsExchange"),this.isEnableMultipleRegisterAndLoginFeatures=this.siteSetting.get("siteSettingModel").isEnableMultipleRegisterAndLoginFeatures,this.isEnableRealTimeBonus=this.siteSetting.get("siteSettingModel").isEnableRealTimeBonus,this.isEnableRealTimeRescueBonus=this.siteSetting.get("siteSettingModel").isEnableRealTimeRescueBonus,this.isEnableFreeSpin=this.siteSetting.get("siteSettingModel").isEnableFreeSpin,this.isEnableWinnerBoard=this.siteSetting.get("siteSettingModel").isEnableWinnerBoard;const ue=Ed(this.i18nService,U.isBonusWallet,this.isNativeApp,this.isShowVoucher,this.isShowSwitchMode,this.isShowTurnover,this.isEnableRealTimeBonus,this.isEnableRealTimeRescueBonus,this.isEnableFreeSpin,this.isEnableWinnerBoard,this.isShowVipPointsExchange,0,U.isEnabledRafCommission,this.headerDesktopConfig?.customCommonReferralBonus);if(this.isShowDocument=this.siteSetting.get("siteSettingModel").isVerifyDocument,this.isShowBank=this.siteSetting.get("siteSettingModel").isVerifyBank,this.isShowCryptocurrencies=this.siteSetting.get("siteSettingModel").isVerifyCryptocurrency,this.isShowEWallets=this.siteSetting.get("siteSettingModel").isVerifyEWallet,this.isShowUPI=this.siteSetting.get("siteSettingModel").isVerifyUPI,this.isShowVerification=this.isShowDocument||this.isShowBank||this.isShowCryptocurrencies||this.isShowEWallets||this.isShowUPI,this.isShowVerification){const we={listClass:"verification-list",title:this.i18nService.translate("ui.member_menu.word.verification"),imageData:[]};if(this.isShowDocument){const Ge={imageName:this.i18nService.translate("ui.member_menu.word.documents"),imageClass:"documents",imageLink:`${$t.q.VERIFY_DOCUMENT.link}`};we.imageData.push(Ge)}if(this.isShowBank){const Ge={imageName:this.i18nService.translate("ui.member_menu.text.bank_statements"),imageClass:"bank",imageLink:`${$t.q.VERIFY_BANK.link}`};we.imageData.push(Ge)}if(this.isShowCryptocurrencies){const Ge={imageName:this.i18nService.translate("ui.global.text.crypto_currencies"),imageClass:"crypto",imageLink:`${$t.q.VERIFY_CRYPTOCURRENCIES.link}`};we.imageData.push(Ge)}if(this.isShowEWallets){const Ge={imageName:this.i18nService.translate("ui.global.text.e_wallets"),imageClass:"ewallets",imageLink:`${$t.q.VERIFY_E_WALLETS.link}`};we.imageData.push(Ge)}if(this.isShowUPI){const Ge={imageName:this.i18nService.translate("ui.global.text.UPI"),imageClass:"UPI",imageLink:`${$t.q.VERIFY_UPI.link}`};we.imageData.push(Ge)}ue.push(we)}return ue})),this.checkPlayerInfoService=(0,e.WQX)(as.P9),this.isNativeApp=this.siteSetting.get("siteSettingModel").isNativeApp}ngOnInit(){this.checkIsVipOpen(),this.checkRealTimeInfoService.getMenuInfo(),this.authState.select("menuInfo").pipe((0,ot.M)(n=>{this.menuInfo$.next(n)}),(0,ui.pQ)(this.destroyRef)).subscribe()}stopBubbling(n){n.stopPropagation()}reloadPlayerInfo(){this.isReloading||(this.isReloading=!0,this.checkPlayerInfoService.checkBalance(),setTimeout(()=>{this.isReloading=!1,this.cdr.detectChanges()},1e3))}navigateTo(n){this.router.url!==n&&this.router.navigateByUrl(n),this.routerTriggered.emit()}logout(){this.logouted.emit(),this.authService.logout_check()}checkIsVipOpen(){this.accountInfo.subscribe(n=>{this.isVipOpen=!!n.vipInfo})}showExclamationIcon(n){switch(n){case"real-time-bonus":return this.hasClaimableRealTimeBonus();case"free-spin":return this.#e();default:return!1}}static#t=this.\u0275fac=function(o){return new(o||a)(e.rXU(Za),e.rXU(as.uR),e.rXU(e.gRc),e.rXU(b.JO),e.rXU(en.Ix))};static#n=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-header-dropdown-menu-orion"]],outputs:{routerTriggered:"routerTriggered",logouted:"logouted"},features:[e.Jv_([Hr.Y])],decls:1,vars:0,consts:[[4,"transloco"],[1,"dropdown-menu",3,"click"],[1,"dropdown-menu__head"],[4,"ngIf"],["class","dropdown-menu__user-info",4,"ngIf"],["class","dropdown-menu__group",4,"ngFor","ngForOf"],[1,"dropdown-menu__group"],[1,"dropdown-menu__item","dropdown-menu-item",3,"click"],[1,"dropdown-menu-item__icon"],[1,"dropdown-menu-item__text"],["class","dropdown-menu__user-name",4,"ngIf"],[1,"dropdown-menu__user-name"],[1,"dropdown-menu__user-info"],[1,"user-info__title"],[1,"user-info__value","user-info__value--refreshable",3,"click"],["alt","refresh",1,"user-info__refresh-icon"],[4,"ngFor","ngForOf"],["class","dropdown-menu-item__notice",4,"ngIf"],[1,"dropdown-menu-item__exclamation"],["class","dropdown-menu-item__icon",3,"mask-image",4,"ngIf"],[1,"dropdown-menu-item__notice"],[1,"item-icon"]],template:function(o,d){1&o&&e.DNE(0,Ad,17,17,"ng-container",0)},dependencies:[u.Sq,u.bT,b.bA,u.Jj,Ms.Hc,ia.o4],changeDetection:0})}return a})();var bf=l(78843),BC=l(46644);const UC=(a,p)=>p.displayName;function GC(a,p){if(1&a&&e.nrm(0,"i",5),2&a){const n=e.XpG();e.xc7("-webkit-mask-image",n.accordionArrowIconPath())}}function Mf(a,p){if(1&a&&(e.nrm(0,"div",9),e.nI1(1,"vendorIcon"),e.nI1(2,"imageUrl")),2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.xc7("background-image",e.bMT(2,5,e.i5U(1,2,n,o.vendorIconColor())))}}function fu(a,p){if(1&a&&(e.nrm(0,"div",9),e.nI1(1,"galleryImageAsync"),e.nI1(2,"async"),e.nI1(3,"imageUrl")),2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.xc7("background-image",e.bMT(3,7,e.bMT(2,5,e.i5U(1,2,n.iconFlag,o.getGalleryCategoryTypeByGameType(n.content.gameType)))))}}function VC(a,p){if(1&a&&(e.j41(0,"p",8),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2).$implicit;e.R7$(),e.JRh(n.displayName)}}function Od(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",6),e.bIt("click",function(){e.eBV(n);const d=e.XpG().$implicit,_=e.XpG();return e.Njj(_.clickNavContent(d))}),e.DNE(1,Mf,3,7,"div",7)(2,fu,4,9)(3,VC,2,1,"p",8),e.k0s()}if(2&a){const n=e.XpG().$implicit,o=e.XpG();e.BMQ("web-category-type","VENDOR")("game-type",null==n.content?null:n.content.gameType)("vendor",null==n.content?null:n.content.vendor),e.R7$(),e.vxM(1,null!=n&&null!=n.customizeData&&n.customizeData.active?1:2),e.R7$(2),e.vxM(3,o.isVerticalTemplate()||o.isHorizontalTemplate()?-1:3)}}function Rd(a,p){if(1&a&&(e.nrm(0,"div",9),e.nI1(1,"vendorIcon"),e.nI1(2,"imageUrl")),2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.xc7("background-image",e.bMT(2,5,e.i5U(1,2,n,o.vendorIconColor())))}}function fO(a,p){if(1&a&&(e.nrm(0,"div",9),e.nI1(1,"galleryImageAsync"),e.nI1(2,"async"),e.nI1(3,"imageUrl")),2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.xc7("background-image",e.bMT(3,7,e.bMT(2,5,e.i5U(1,2,n.iconFlag,o.getGalleryCategoryTypeByGameType(n.content.gameTypeId)))))}}function $C(a,p){if(1&a&&(e.j41(0,"p",8),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2).$implicit;e.R7$(),e.JRh(n.displayName)}}function WC(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",6),e.bIt("click",function(){e.eBV(n);const d=e.XpG().$implicit,_=e.XpG();return e.Njj(_.clickNavContent(d))}),e.DNE(1,Rd,3,7,"div",7)(2,fO,4,9)(3,$C,2,1,"p",8),e.k0s()}if(2&a){const n=e.XpG().$implicit,o=e.XpG();e.BMQ("web-category-type","GAME")("game-type",null==n.content?null:n.content.gameTypeId)("vendor-code",null==n.content?null:n.content.vendorCode)("extra-data",null==n.content?null:n.content.extraData),e.R7$(),e.vxM(1,null!=n&&null!=n.customizeData&&n.customizeData.active?1:2),e.R7$(2),e.vxM(3,o.isVerticalTemplate()||o.isHorizontalTemplate()?-1:3)}}function Nf(a,p){if(1&a&&e.DNE(0,Od,4,5)(1,WC,4,6),2&a){let n;const o=p.$implicit,d=e.XpG();e.vxM(0,(n=o.categoryTypeId)===d.WebsiteCategoryType.VENDOR?0:n===d.WebsiteCategoryType.GAME?1:-1)}}let b_=(()=>{class a{constructor(){this.categoryData=(0,e.hFB)(),this.vendorIconColor=(0,e.hFB)("white"),this.isNavHeadActive=(0,e.hFB)(!1),this.currentActiveCategory=(0,e.hFB)(""),this.accordionArrowIconPath=(0,e.hFB)(""),this.expandSecondMenuEvent=(0,e.CGW)(),this.categoryNavClickEvent=(0,e.CGW)(),this.categoryNavContentClickEvent=(0,e.CGW)(),this.isVerticalTemplate=(0,e.EWP)(()=>this.categoryData()?.layoutTypeId===Zi.IV.VERTICAL),this.isHorizontalTemplate=(0,e.EWP)(()=>this.categoryData()?.layoutTypeId===Zi.IV.HORIZONTAL),this.WebsiteCategoryType=Zi.IM,this.GalleryCategoryType=ke.tO}clickNavHead(n){const o=this.categoryData();o&&(this.expandSecondMenuEvent.emit(n),this.categoryNavClickEvent.emit({categoryObject:o}))}clickNavContent(n){this.categoryNavContentClickEvent.emit(n)}getGalleryCategoryTypeByGameType(n){return n===Xt.Z.SPORT.unique?ke.tO.PROVIDER_SPORTS:ke.tO.PROVIDER}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-game-header-nav-orion"]],inputs:{categoryData:[e.Mj6.SignalBased,"categoryData"],vendorIconColor:[e.Mj6.SignalBased,"vendorIconColor"],isNavHeadActive:[e.Mj6.SignalBased,"isNavHeadActive"],currentActiveCategory:[e.Mj6.SignalBased,"currentActiveCategory"],accordionArrowIconPath:[e.Mj6.SignalBased,"accordionArrowIconPath"]},outputs:{expandSecondMenuEvent:"expandSecondMenuEvent",categoryNavClickEvent:"categoryNavClickEvent",categoryNavContentClickEvent:"categoryNavContentClickEvent"},standalone:!0,features:[e.aNF],decls:8,vars:11,consts:[["routerLinkActive","active",1,"navbar__item"],[1,"navbar__item-head",3,"click"],[1,"navbar__item-arrow",3,"-webkit-mask-image"],[1,"navbar__sub-nav"],[1,"navbar__sub-nav-inner"],[1,"navbar__item-arrow"],[1,"navbar__sub-nav-item",3,"click"],[1,"navbar__sub-nav-item-icon",3,"background-image"],[1,"navbar__sub-nav-item-text"],[1,"navbar__sub-nav-item-icon"]],template:function(o,d){if(1&o&&(e.j41(0,"li",0)(1,"div",1),e.bIt("click",function(){let N;return d.clickNavHead((null==(N=d.categoryData())?null:N.displayName)||"")}),e.EFF(2),e.DNE(3,GC,1,2,"i",2),e.k0s(),e.j41(4,"div",3)(5,"ol",4),e.Z7z(6,Nf,2,1,null,null,UC),e.k0s()()()),2&o){let _,N,U,ue,we;e.AVh("open",d.isNavHeadActive()),e.BMQ("data-category",null==(_=d.categoryData())?null:_.displayName),e.R7$(2),e.SpI(" ",null==(N=d.categoryData())?null:N.displayName," "),e.R7$(),e.vxM(3,(null==(U=d.categoryData())?null:U.categoryTypeId)===d.WebsiteCategoryType.CATEGORY_CONTAINER?3:-1),e.R7$(),e.AVh("vertical",d.isVerticalTemplate())("horizontal",d.isHorizontalTemplate())("active",d.currentActiveCategory()===(null==(ue=d.categoryData())?null:ue.displayName)),e.R7$(2),e.Dyx(null==(we=d.categoryData())?null:we.subCategories)}},dependencies:[u.MD,u.Jj,Kr.L,Ms.Hc,Lr.m,b.Q8,Ya.$,bc.WX,Tc.u],changeDetection:0})}return a})();const M_=a=>({open:a}),HC=a=>({active:a}),jC=(a,p)=>({vendor:a,item:p});function N_(a,p){if(1&a&&(e.qex(0),e.eu8(1,16),e.bVm()),2&a){const n=p.$implicit,o=e.XpG(2).$implicit;e.XpG(2);const d=e.sdS(11),_=e.sdS(13);e.R7$(),e.Y8G("ngTemplateOutlet","CRICKETV2"===n.vendorCode||"AWCV2_VELKI"===n.vendorCode?d:_)("ngTemplateOutletContext",e.l_i(2,jC,n,o))}}function KC(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"li",11)(2,"div",12),e.bIt("click",function(){e.eBV(n);const d=e.XpG().$implicit,_=e.XpG(3);return e.Njj(_.openTargetSubCategoryNav(d.category))}),e.EFF(3),e.nI1(4,"lowercase"),e.nrm(5,"i",13),e.nI1(6,"async"),e.nI1(7,"imageUrl"),e.k0s(),e.j41(8,"div",14)(9,"ol",15),e.DNE(10,N_,2,5,"ng-container",9),e.k0s()()(),e.bVm()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG(2).$implicit,_=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(13,M_,_.currentActiveCategory()===o.category)),e.BMQ("data-navcategory",o.category),e.R7$(2),e.SpI(" ",d(e.bMT(4,7,"ui.global.game_type.nav_"+o.gameType.name))," "),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(7,11,null==(n=e.bMT(6,9,_.switchThemeService.imageLink$))?null:n.ACCORDION_ARROW_ICON)),e.R7$(3),e.Y8G("ngClass",e.eq3(15,HC,_.currentActiveCategory()===o.category)),e.R7$(2),e.Y8G("ngForOf",o.vendorList)}}function YC(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",6),e.bIt("click",function(){e.eBV(n);const d=e.XpG(4);return e.Njj(d.closeSubCategoryNav())}),e.j41(1,"span",7),e.EFF(2),e.nI1(3,"lowercase"),e.k0s()()}if(2&a){const n=e.XpG().$implicit,o=e.XpG(2).$implicit;e.Y8G("routerLink",n.gameType.link),e.BMQ("data-navcategory",n.category),e.R7$(2),e.SpI(" ",o(e.bMT(3,3,"ui.global.game_type.nav_"+n.gameType.name))," ")}}function pl(a,p){if(1&a&&(e.qex(0),e.DNE(1,KC,11,17,"ng-container",10)(2,YC,4,5,"ng-template",null,2,e.C5r),e.bVm()),2&a){const n=p.$implicit,o=e.sdS(3),d=e.XpG(3);e.R7$(),e.Y8G("ngIf",n.gameType===d.gameType.SPORT||n.gameType===d.gameType.COCKFIGHTING)("ngIfElse",o)}}function Sd(a,p){if(1&a&&(e.qex(0),e.DNE(1,pl,4,2,"ng-container",9),e.bVm()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngForOf",n.vendorList())}}function XC(a,p){if(1&a){const n=e.RV6();e.j41(0,"mcd-game-header-nav-orion",18),e.nI1(1,"async"),e.nI1(2,"imageUrl"),e.bIt("expandSecondMenuEvent",function(d){e.eBV(n);const _=e.XpG(4);return e.Njj(_.openTargetSubCategoryNav(d))})("categoryNavClickEvent",function(d){e.eBV(n);const _=e.XpG(4);return e.Njj(_.selectCategoryNavTab(d.categoryObject))})("categoryNavContentClickEvent",function(d){e.eBV(n);const _=e.XpG(4);return e.Njj(_.clickCategoryNavContent(d))}),e.k0s()}if(2&a){let n;const o=p.$implicit,d=e.XpG(4);e.Y8G("categoryData",o)("isNavHeadActive",d.currentActiveCategory()===o.displayName)("currentActiveCategory",d.currentActiveCategory()||"")("vendorIconColor",d.vendorIconColor()||d.environment.vendorIconColor)("accordionArrowIconPath",e.bMT(2,7,null==(n=e.bMT(1,5,d.switchThemeService.imageLink$))?null:n.ACCORDION_ARROW_ICON))}}function w_(a,p){if(1&a&&(e.qex(0),e.Z7z(1,XC,3,9,"mcd-game-header-nav-orion",17,e.Vm6),e.bVm()),2&a){const n=e.XpG().$implicit;e.R7$(),e.Dyx(n)}}function QC(a,p){if(1&a&&(e.qex(0),e.DNE(1,w_,3,0,"ng-container",5),e.bVm()),2&a){const n=p.$implicit;e.R7$(),e.Y8G("ngIf",n.length)}}function P_(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",6),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.closeSubCategoryNav())}),e.j41(1,"span",7),e.EFF(2),e.k0s()()}if(2&a){const n=e.XpG().$implicit,o=e.XpG();e.Y8G("routerLink",o.routingPathType.VIP_DETAIL.link),e.R7$(2),e.JRh(n("ui.global.word.vip"))}}function pO(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",20),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.closeSubCategoryNav())})("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.navigateToCRICKET())}),e.nrm(1,"div",21),e.j41(2,"p",22),e.EFF(3),e.nI1(4,"transloco"),e.k0s()()}2&a&&(e.R7$(),e.xc7("background-image","url(/assets/images/icon-set/sports-icon/icon-cricket.svg)"),e.R7$(2),e.JRh(e.bMT(4,3,"ui.global.word.cricket")))}function zC(a,p){if(1&a&&e.DNE(0,pO,5,5,"li",19),2&a){const n=e.XpG(2);e.Y8G("ngIf",n.isShowCricketV2InSports)}}function pu(a,p){if(1&a&&(e.j41(0,"div",26)(1,"p"),e.EFF(2),e.k0s()()),2&a){const n=e.XpG(3).$implicit;e.R7$(2),e.JRh(n("ui.provider-maintain.text.um"))}}function L_(a,p){if(1&a&&(e.qex(0),e.nrm(1,"img",27),e.bVm()),2&a){const n=e.XpG(2).vendor,o=e.XpG(2);e.R7$(),e.Y8G("mcdSrc",o.getImagePath(n))}}function JC(a,p){if(1&a&&(e.nrm(0,"div",21),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit;e.xc7("background-image",e.bMT(1,2,n[o.icon]))}}function ZC(a,p){if(1&a&&(e.qex(0),e.DNE(1,JC,2,4,"div",28),e.nI1(2,"async"),e.bVm()),2&a){const n=p.$implicit,o=e.XpG(3).vendor,d=e.XpG(2);e.R7$(),e.Y8G("ngIf",o.imageClass===n.name&&e.bMT(2,1,d.switchThemeService.imageLink$))}}function qC(a,p){if(1&a&&(e.qex(0),e.DNE(1,ZC,3,3,"ng-container",9),e.bVm()),2&a){const n=e.XpG(4);e.R7$(),e.Y8G("ngForOf",n.sportsIcon)}}function wf(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",24),e.bIt("click",function(){e.eBV(n);const d=e.XpG(),_=d.vendor,N=d.item,U=e.XpG(2);return e.Njj(U.goToFilter(N.gameType,_))}),e.DNE(1,pu,3,1,"div",25)(2,L_,2,1,"ng-container",5)(3,qC,2,1,"ng-container",5),e.j41(4,"p",22),e.EFF(5),e.k0s()()}if(2&a){const n=e.XpG().vendor,o=e.XpG(2);e.Y8G("ngClass",n.vendorStatus===o.vendorStatusType.MAINTENANCE.unique?"maintain":""),e.R7$(),e.Y8G("ngIf",n.vendorStatus===o.vendorStatusType.MAINTENANCE.unique),e.R7$(),e.Y8G("ngIf",!n.imageClass),e.R7$(),e.Y8G("ngIf",!!n.imageClass),e.R7$(2),e.JRh(n.vendorName)}}function eD(a,p){if(1&a&&e.DNE(0,wf,6,5,"li",23),2&a){const n=p.vendor,o=e.XpG(2);e.Y8G("ngIf",n.vendorStatus!==o.vendorStatusType.INVISIBLE.unique)}}function x_(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"nav",4)(2,"ul"),e.DNE(3,Sd,2,1,"ng-container",5)(4,QC,2,1,"ng-container",5),e.nI1(5,"async"),e.j41(6,"li",6),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.closeSubCategoryNav())}),e.j41(7,"span",7),e.EFF(8),e.k0s()(),e.DNE(9,P_,3,2,"li",8),e.k0s()(),e.DNE(10,zC,1,1,"ng-template",null,0,e.C5r)(12,eD,1,1,"ng-template",null,1,e.C5r),e.bVm()}if(2&a){const n=p.$implicit,o=e.XpG();e.R7$(3),e.Y8G("ngIf",o.vendorList()&&!o.isEnableWebsiteCategory()),e.R7$(),e.Y8G("ngIf",e.bMT(5,5,o.categoryList$)),e.R7$(2),e.Y8G("routerLink",o.routingPathType.PROMOTION.link),e.R7$(2),e.JRh(n("ui.global.word.promotions")),e.R7$(),e.Y8G("ngIf",o.vipOpen)}}let ma=(()=>{class a{constructor(n,o,d,_){this.renderer=n,this.elementRef=o,this.sideMenuState=d,this.router=_,this.vipOpen=!1,this.environment=(0,e.WQX)(Ws.E),this.gameNavIconState=(0,e.WQX)(bf.N),this.siteSetting=(0,e.WQX)(ti.p),this.settingService=(0,e.WQX)(Ic.q),this.openGameService=(0,e.WQX)(tu.eD),this.providerService=(0,e.WQX)(Sc.$),this.eventQueueService=(0,e.WQX)(He.n),this.destroyRef=(0,e.WQX)(e.abz),this.switchThemeService=(0,e.WQX)(ir.Fu),this.getVendorService=(0,e.WQX)(ee.Y),this.vendorIconColor=(0,e.vPA)(""),this.currentActiveCategory=(0,e.vPA)(null),this.isEnableWebsiteCategory=(0,e.vPA)(!1),this.vendorList=(0,e.EWP)(()=>this.getVendorService.vendorList()),this.images=new $s.l,this.destroy$=new S.B,this.tone="",this.gameType=Xt.Z,this.routingPathType=$t.q,this.vendorStatusType=Ho,this.isSubNavOpen=!1,this.isShowCricketV2InSports=!1,this.isEnableWebsiteCategory$=this.siteSetting.select("siteSettingModel").pipe((0,hn.T)(N=>N?.isEnableWebsiteCategory),(0,Js.t)(1),(0,ui.pQ)()),this.websiteCategoryType=Zi.IM,this.galleryCategoryType=ke.tO,this.siteSettingChange$=this.settingService.select("siteSettingApiStatus").pipe((0,In.p)(N=>"stable"===N),(0,ot.M)(()=>this.providerService.clearWebsiteCategory()),(0,on.n)(()=>this.settingService.select("siteSetting")),(0,Js.t)(1),(0,ui.pQ)()),this.categoryList$=this.providerService.select("websiteCategoryData").pipe((0,ui.pQ)(),(0,hn.T)(N=>N[Zi.mS.MAIN_TAB]),(0,hn.T)(N=>this.environment.hideCricketV2Icon?N?.filter(this.categeryListFilterCallback):N)),this.sportsIcon=[{name:"exchange",icon:"NAV_EXCHANGE_ICON"},{name:"sportbook",icon:"NAV_SPORTBOOK_ICON"},{name:"kabaddi",icon:"NAV_KABADDI_ICON"},{name:"badminton",icon:"NAV_BADMINTON_ICON"},{name:"basketball",icon:"NAV_BASKETBALL_ICON"},{name:"cricket",icon:"NAV_CRICKET_ICON"},{name:"horsebook",icon:"NAV_HORSEBOOK_ICON"},{name:"sbov2",icon:"NAV_SBO_ICON"},{name:"soccer",icon:"NAV_SOCCER_ICON"},{name:"sv388",icon:"NAV_SV_388_ICON"},{name:"ugv3",icon:"NAV_UGV3_ICON"},{name:"virtual",icon:"NAV_VIRTUAL_ICON"},{name:"icf",icon:"NAV_ICF_ICON"},{name:"awcmbc",icon:"NAV_AWCMBC_ICON"},{name:"tennis",icon:"NAV_TENNIS_ICON"},{name:"horse-racing",icon:"NAV_HORSERACING_ICON"},{name:"greyhound",icon:"NAV_GREYHOUNDRACING_ICON"},{name:"ctb",icon:"NAV_CTB_ICON"},{name:"powereleven",icon:"NAV_POWERELEVEN_ICON"},{name:"powerelevenv2",icon:"NAV_POWERELEVENV2_ICON"},{name:"awcme1sport",icon:"NAV_AWCME1SPORT_ICON"},{name:"sbtech",icon:"NAV_SBTECH_ICON"},{name:"nst",icon:"NAV_NST_ICON"},{name:"cfe",icon:"NAV_CFE_ICON"},{name:"cmd",icon:"NAV_CMD_ICON"},{name:"saba",icon:"NAV_SABA_ICON"}],this.selectCategoryNavTab=N=>{if(N)if(N.categoryTypeId===Zi.IM.VENDOR){const U=N.content;this.goToGameTypePage(Xt.Z.getInstanceOf(U.gameType),U.vendorCode)}else N.categoryTypeId===Zi.IM.GAME&&this.openCategoryGame(N.content)},this.isShowCricketV2InSports=this.environment.isShowCricketV2InSports}ngOnInit(){this.isEnableWebsiteCategory$.subscribe(n=>{this.isEnableWebsiteCategory.set(n),n?this.providerService.actions.getWebsiteCategory():this.providerService.clearWebsiteCategory()}),this.documentClickListener=this.renderer.listen("document","click",n=>{this.elementRef.nativeElement.contains(n.target)||this.closeSubCategoryNav()}),this.switchThemeService.tone$.pipe((0,ot.M)(n=>{this.tone=n,n&&this.vendorIconColor.set("light"===n?"black":"white")}),(0,Z.Q)(this.destroy$)).subscribe()}ngOnDestroy(){this.documentClickListener&&this.documentClickListener()}categeryListFilterCallback(n){return"CRICKETV2"!==n.content?.vendorCode||"AWCV2_VELKI"!==n.content?.vendorCode}goToFilter(n,o){o.vendorStatus!==Ho.MAINTENANCE.unique&&this.openGame(n,o)}openTargetSubCategoryNav(n){this.currentActiveCategory()!==n?this.currentActiveCategory.set(n):this.currentActiveCategory.set(null)}closeSubCategoryNav(){this.currentActiveCategory.set(null)}openGame(n,o){(n===Xt.Z.RAIN||n===Xt.Z.SPORT||n===Xt.Z.CASINO||n===Xt.Z.LOTTERY||n===Xt.Z.FISH||n===Xt.Z.CARD||n===Xt.Z.COCKFIGHTING)&&this.openGameService.open({gameTypeId:n.unique,vendorCode:o.vendorCode||"",gameCode:o.gameCode,extraData:o.extraData,gameImagePath:this.getImagePath(o),loaderImgStyle:"default",vendorName:o.vendorName}).pipe((0,Z.Q)(this.destroy$)).subscribe(),this.closeSubCategoryNav()}getImagePath(n){const o=d=>n.imageFile?`/assets/images/brand/${d}/${n.imageFile}.png`:`/assets/images/brand/${d}/provider-${n.vendorCode?.toLowerCase()}.png`;return o(this.tone?"light"===this.tone?"black":"dark"===this.tone?"white":this.tone:this.environment.vendorIconColor)}getCharacterImagePath(n,o){return`assets/images/sub-nav/sports/${n.vendorCode?.toLowerCase().replace(/ /g,"")}${o}.png`}navigateToCRICKET(){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:"Sports_CricketV2",loc:"menu"}}})),this.navigateTo(this.routingPathType.CRICKET.link)}navigateTo(n,o=!1,d){o&&d?.stopPropagation(),this.router.url!==n&&this.router.navigateByUrl(n)}getGalleryCategoryTypeByGameType(n){return n===Xt.Z.SPORT.unique?ke.tO.PROVIDER_SPORTS:ke.tO.PROVIDER}clickCategoryNavContent(n){const o=n.content.vendorCode;if((o===Xn.EB||o===Xn.cw)&&this.isShowCricketV2InSports)return this.router.navigate([this.routingPathType.CRICKET.link]),void this.closeSubCategoryNav();switch(n.categoryTypeId){case Zi.IM.DIRECT_URL:break;case Zi.IM.VENDOR:const d=n.content;this.goToGameTypePage(Xt.Z.getInstanceOf(d.gameType),d.vendorCode);break;case Zi.IM.GAME:this.openCategoryGame(n.content)}this.closeSubCategoryNav()}openCategoryGame(n){this.openGameService.open(n).subscribe(),this.closeSubCategoryNav()}goToGameTypePage(n,o){n&&(this.router.navigate([n.link],o?{queryParams:{vendor:o.toLocaleLowerCase()}}:void 0),this.closeSubCategoryNav())}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(Za),e.rXU(en.Ix))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-header-nav-orion"]],inputs:{vipOpen:"vipOpen"},features:[e.Jv_([Hr.Y])],decls:1,vars:0,consts:[["cricketV2Template",""],["normalVendorTemplate",""],["otherGameType",""],[4,"transloco"],[1,"navbar"],[4,"ngIf"],["routerLinkActive","active",1,"navbar__item",3,"click","routerLink"],[1,"navbar__item-text"],["class","navbar__item","routerLinkActive","active",3,"routerLink","click",4,"ngIf"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["routerLinkActive","active",1,"navbar__item",3,"ngClass"],[1,"navbar__item-head",3,"click"],[1,"navbar__item-arrow"],[1,"navbar__sub-nav",3,"ngClass"],[1,"navbar__sub-nav-inner"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"navbar__item",3,"categoryData","isNavHeadActive","currentActiveCategory","vendorIconColor","accordionArrowIconPath"],[1,"navbar__item",3,"expandSecondMenuEvent","categoryNavClickEvent","categoryNavContentClickEvent","categoryData","isNavHeadActive","currentActiveCategory","vendorIconColor","accordionArrowIconPath"],["class","navbar__sub-nav-item",3,"click",4,"ngIf"],[1,"navbar__sub-nav-item",3,"click"],[1,"navbar__sub-nav-item-icon"],[1,"navbar__sub-nav-item-text"],["class","navbar__sub-nav-item",3,"ngClass","click",4,"ngIf"],[1,"navbar__sub-nav-item",3,"click","ngClass"],["class","navbar__sub-nav-item__maintain-inner",4,"ngIf"],[1,"navbar__sub-nav-item__maintain-inner"],[1,"navbar__sub-nav-item-icon",3,"mcdSrc"],["class","navbar__sub-nav-item-icon",3,"background-image",4,"ngIf"]],template:function(o,d){1&o&&e.DNE(0,x_,14,7,"ng-container",3)},dependencies:[u.YU,u.Sq,u.bT,u.T3,pa.f,ga.h,b.bA,en.Wk,en.wQ,BC.g,b_,u.Jj,u.GH,Ms.Hc,b.Kj],changeDetection:0})}return a})();const F_=a=>({active:a});function tD(a,p){if(1&a&&(e.j41(0,"div",19),e.eu8(1,20),e.k0s()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",n.customHeaderExtraContentSponsor)}}function gO(a,p){if(1&a&&(e.j41(0,"div",21),e.nrm(1,"div",22),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.j41(4,"div",23),e.EFF(5),e.k0s()()),2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.Y8G("routerLink",d.routingPathType.WALLET_DEPOSIT.link),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,6,null==(n=e.bMT(2,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_MEMBER_CENTER_ICON_DEPOSIT)),e.R7$(4),e.JRh(o("ui.global.word.deposit"))}}function Zs(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",24),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.balanceReload())}),e.nrm(2,"div",25),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.EFF(5),e.nI1(6,"async"),e.j41(7,"span"),e.EFF(8),e.k0s()(),e.j41(9,"div",26),e.EFF(10,"EXP "),e.j41(11,"span"),e.EFF(12),e.k0s()(),e.bVm()}if(2&a){let n,o;const d=e.XpG(2);e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(4,8,null==(n=e.bMT(3,6,d.switchThemeService.imageLink$))?null:n.HEADER_REFRESH_ICON)),e.Y8G("ngClass",e.eq3(12,F_,d.isReload)),e.R7$(3),e.JRh(null==(o=e.bMT(6,10,d.currentCurrencyType$))?null:o.name),e.R7$(3),e.JRh(d.mainWalletCricket),e.R7$(4),e.JRh(d.exposure)}}function nD(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",28),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.refreshMainWallet())}),e.nrm(1,"div",29),e.nI1(2,"imageUrl"),e.j41(3,"div",23),e.EFF(4),e.k0s(),e.j41(5,"div",30),e.EFF(6),e.nI1(7,"toLocalNumber"),e.k0s()()}if(2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.AVh("clicked",o.mainWalletOnRefresh),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(2,6,"assets/images/refresh.svg")),e.R7$(3),e.JRh(n("ui.main_wallet_display.text.main_wallet")),e.R7$(2),e.SpI(" ",e.bMT(7,8,o.mainWallet),"")}}function Pf(a,p){if(1&a&&(e.DNE(0,nD,8,10,"div",27),e.nI1(1,"async")),2&a){const n=e.XpG(2);e.Y8G("ngIf",!0===e.bMT(1,1,n.isLogin$))}}function iD(a,p){if(1&a&&(e.j41(0,"div",31)(1,"button",32),e.EFF(2),e.k0s(),e.j41(3,"button",33),e.EFF(4),e.k0s()()),2&a){const n=e.XpG().$implicit,o=e.XpG();e.Y8G("ngClass",o.authContainerClassName),e.R7$(),e.Y8G("routerLink",o.isEnableMultipleRegisterAndLoginFeatures?o.routingPathType.REGISTERNEW_THIRDPARTY.link:o.routingPathType.REGISTER.link),e.R7$(),e.JRh(n("ui.header_inner.text.register")),e.R7$(),e.Y8G("routerLink",o.isEnableMultipleRegisterAndLoginFeatures?o.routingPathType.LOGINNEW_QUICK_ACCOUNT.link:o.routingPathType.LOGIN.link),e.R7$(),e.JRh(n("ui.global.word.login"))}}function sD(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",34,2),e.nI1(2,"imageUrl"),e.bIt("click",function(d){e.eBV(n);const _=e.XpG(2);return e.Njj(_.toggleUserDropdown(d))}),e.k0s()}2&a&&e.xc7("-webkit-mask-image",e.bMT(2,2,"assets/images/icon-info.svg"))}function Lf(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",4),e.nI1(2,"async"),e.j41(3,"div",5)(4,"div",6)(5,"ul",7),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.openMenu())}),e.nrm(6,"li")(7,"li")(8,"li"),e.k0s(),e.j41(9,"div",8),e.nI1(10,"async"),e.nI1(11,"async"),e.nI1(12,"imageUrl"),e.nI1(13,"async"),e.nI1(14,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.backHome())}),e.k0s(),e.DNE(15,tD,2,1,"div",9),e.k0s(),e.j41(16,"div",10,0),e.DNE(18,gO,6,8,"div",11),e.nI1(19,"async"),e.DNE(20,Zs,13,14,"ng-container",12),e.nI1(21,"async"),e.nI1(22,"async"),e.nI1(23,"async"),e.nI1(24,"async"),e.nI1(25,"async"),e.DNE(26,Pf,2,3,"ng-template",null,1,e.C5r)(28,iD,5,5,"div",13),e.nI1(29,"async"),e.DNE(30,sD,3,4,"div",14),e.nI1(31,"async"),e.j41(32,"div",15),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.listenLanguageMenu(!0))}),e.nrm(33,"img",16),e.nI1(34,"async"),e.k0s()()(),e.nrm(35,"mcd-header-nav-orion",17),e.k0s(),e.j41(36,"mcd-language",18),e.bIt("activateLanguage",function(d){e.eBV(n);const _=e.XpG();return e.Njj(_.listenLanguageMenu(d))})("canActivateLanguage",function(d){e.eBV(n);const _=e.XpG();return e.Njj(_.canOpenLanguageMenu(d))}),e.k0s(),e.bVm()}if(2&a){let n,o;const d=e.sdS(27),_=e.XpG();e.R7$(),e.AVh("header--shrink",_.shallshrink),e.Y8G("ngClass","currency-"+(null==(n=e.bMT(2,16,_.currencyType$))||null==n.name?null:n.name.toLocaleLowerCase())),e.BMQ("id",_.id),e.R7$(8),e.xc7("background-image",e.bMT(10,18,_.logoImgLink$)?e.bMT(12,22,null==(o=e.bMT(11,20,_.switchThemeService.imageLink$))?null:o.MAIN_LOGO_2):e.bMT(14,26,null==(o=e.bMT(13,24,_.switchThemeService.imageLink$))?null:o.MAIN_LOGO)),e.Y8G("routerLink",_.routingPathType.MAIN.link),e.R7$(6),e.Y8G("ngIf",_.customHeaderExtraContentSponsor),e.R7$(3),e.Y8G("ngIf",!0===e.bMT(19,28,_.isLogin$)),e.R7$(2),e.Y8G("ngIf","cricket"===e.bMT(21,30,_.headerClass$)&&!0===e.bMT(22,32,_.hasBalanceData$)&&!0===e.bMT(23,34,_.isMFLoginSuccess$)&&!e.bMT(24,36,_.isSystemMaintenance$)&&!e.bMT(25,38,_.isSystemException$))("ngIfElse",d),e.R7$(8),e.Y8G("ngIf",!1===e.bMT(29,40,_.isLogin$)),e.R7$(2),e.Y8G("ngIf",!0===e.bMT(31,42,_.isLogin$)),e.R7$(3),e.Y8G("mcdSrc",e.bMT(34,44,_.languageImagesPath$)),e.R7$(2),e.Y8G("vipOpen",_.vipOpen),e.R7$(),e.Y8G("isActive",_.isLanguageMenuActive)}}const xf={y:"5px",opacity:0,duration:.5},k_={y:0,opacity:1,duration:.5};let B_=(()=>{class a extends yf{constructor(){super(...arguments),this.vipOpen=!1,this.leftMenuService=(0,e.WQX)(fd),this.router=(0,e.WQX)(en.Ix)}showUserDropdown(){if(!this.overlayRef)return;const n=new qc.A8(kC),o=this.overlayRef.attach(n);(0,wi.h)(o.instance.logouted,o.instance.routerTriggered).pipe((0,ot.M)(()=>{this.hideUserDropdown()}),(0,Z.Q)(this.dropdownDetach$)).subscribe(),this.dropdownTimeline.clear(),this.dropdownTimeline.fromTo(this.overlayRef.hostElement,xf,k_),this.dropdownIsActive=!0}hideUserDropdown(){this.overlayRef&&(this.dropdownTimeline.clear(),this.dropdownTimeline.to(this.overlayRef.hostElement,{...xf,onComplete:()=>{this.overlayRef&&(this.overlayRef.detach(),this.dropdownDetach$.next(),this.dropdownIsActive=!1)}}))}toggleUserDropdown(n){n.stopPropagation(),this.dropdownIsActive?this.hideUserDropdown():this.showUserDropdown()}openMenu(){this.leftMenuService.activate()}static#e=this.\u0275fac=(()=>{let n;return function(d){return(n||(n=e.xGo(a)))(d||a)}})();static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-header-orion"]],inputs:{vipOpen:"vipOpen"},features:[e.Vt3],decls:1,vars:0,consts:[["mutationDetectingTarget",""],["defaultWallet",""],["userButton",""],[4,"transloco"],[1,"header",3,"ngClass"],[1,"header__main"],[1,"header__brand"],[1,"header__menu-btn",3,"click"],[1,"header__logo",3,"click","routerLink"],["class","custom-content-sponsor","name","customContentSponsor",4,"ngIf"],[1,"header__right"],["class","header__btn header__btn--deposit",3,"routerLink",4,"ngIf"],[4,"ngIf","ngIfElse"],[3,"ngClass",4,"ngIf"],["class","header__user",3,"-webkit-mask-image","click",4,"ngIf"],[1,"header__switch-lang",3,"click"],[3,"mcdSrc"],[3,"vipOpen"],[1,"header-lang-switch-menu",3,"activateLanguage","canActivateLanguage","isActive"],["name","customContentSponsor",1,"custom-content-sponsor"],[3,"ngTemplateOutlet"],[1,"header__btn","header__btn--deposit",3,"routerLink"],[1,"header__icon","header__icon--deposit"],[1,"header__btn-txt"],[1,"cricket-money",3,"click"],[1,"icon-refresh",3,"ngClass"],[1,"exp"],["class","header__btn header__btn--wallet",3,"clicked","click",4,"ngIf"],[1,"header__btn","header__btn--wallet",3,"click"],[1,"header__icon","header__icon--wallet"],[1,"header__btn-value"],[3,"ngClass"],[1,"header__btn","header__btn--secondary",3,"routerLink"],[1,"header__btn","header__btn--primary",3,"routerLink"],[1,"header__user",3,"click"]],template:function(o,d){1&o&&e.DNE(0,Lf,37,46,"ng-container",3)},dependencies:[u.YU,u.bT,u.T3,pa.f,ga.h,au.i,b.bA,en.Wk,ma,u.Jj,Ms.Hc,ia.o4],changeDetection:0})}return a})();var U_=l(24592);const rD=a=>({display:a}),wc=(a,p)=>({active:a,closing:p});function G_(a,p){1&a&&e.nrm(0,"img",13),2&a&&e.Y8G("mcdSrc","/assets/shared/pwa-download/start.svg")}function Ff(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",18)(1,"span",6),e.nI1(2,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(4);return e.Njj(d.iosPopClose())}),e.k0s(),e.j41(3,"div",19)(4,"div",8),e.nrm(5,"img",20),e.nI1(6,"async"),e.k0s(),e.j41(7,"p",21),e.EFF(8),e.k0s()(),e.j41(9,"div",22)(10,"ul")(11,"li")(12,"div",23)(13,"div",24)(14,"span"),e.EFF(15,"1"),e.k0s()(),e.j41(16,"div",25)(17,"p"),e.EFF(18),e.k0s()()()(),e.j41(19,"li",26)(20,"div",23)(21,"div",24)(22,"span"),e.EFF(23,"2"),e.k0s()(),e.j41(24,"div",25),e.nrm(25,"p",27),e.k0s()(),e.j41(26,"div",28)(27,"div",29),e.nrm(28,"span",30),e.nI1(29,"imageUrl"),e.k0s(),e.nrm(30,"img",31),e.k0s()(),e.j41(31,"li",32)(32,"div",23)(33,"div",24)(34,"span"),e.EFF(35,"3"),e.k0s()(),e.j41(36,"div",25),e.nrm(37,"p",27),e.k0s()(),e.j41(38,"div",28)(39,"div",29),e.nrm(40,"span",33),e.nI1(41,"imageUrl"),e.k0s(),e.nrm(42,"img",34),e.k0s()(),e.j41(43,"li",35)(44,"div",23)(45,"div",24)(46,"span"),e.EFF(47,"4"),e.k0s()(),e.j41(48,"div",25),e.nrm(49,"p",27),e.k0s()(),e.j41(50,"div",28)(51,"div",29),e.nrm(52,"span",36),e.nI1(53,"imageUrl"),e.k0s(),e.nrm(54,"img",37),e.k0s()()()()()}if(2&a){const n=e.XpG(3).$implicit,o=e.XpG();e.HbH(e.l_i(29,wc,o.isActive(),o.isClosing())),e.R7$(),e.xc7("mask-image",e.bMT(2,19,"/assets/shared/pwa-download/icon-cross-type04.svg")),e.R7$(4),e.Y8G("mcdSrc",e.bMT(6,21,o.iconPath$)),e.R7$(3),e.JRh(n("ui.pwa_download.text.download_web_app")),e.R7$(10),e.JRh(n("ui.pwa_download.text.launch_safari_and_open_this_website")),e.R7$(7),e.Y8G("innerHTML",n("ui.pwa_download.text.press_the_share_button"),e.npT),e.R7$(3),e.xc7("mask-image",e.bMT(29,23,"/assets/shared/pwa-download/icon-share.svg")),e.R7$(2),e.Y8G("mcdSrc","/assets/shared/pwa-download/img-step2.webp"),e.R7$(7),e.Y8G("innerHTML",n("ui.pwa_download.text.select_add_to_home_screen"),e.npT),e.R7$(3),e.xc7("mask-image",e.bMT(41,25,"/assets/shared/pwa-download/icon-add-home-screen.svg")),e.R7$(2),e.Y8G("mcdSrc","/assets/shared/pwa-download/img-step3.webp"),e.R7$(7),e.Y8G("innerHTML",n("ui.pwa_download.text.press_the_add_button"),e.npT),e.R7$(3),e.xc7("mask-image",e.bMT(53,27,"/assets/shared/pwa-download/icon-add-text.svg")),e.R7$(2),e.Y8G("mcdSrc","/assets/shared/pwa-download/img-step4.webp")}}function oD(a,p){if(1&a){const n=e.RV6();e.qex(0),e.DNE(1,Ff,55,32,"div",16),e.j41(2,"div",17),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.iosPopClose())}),e.k0s(),e.bVm()}if(2&a){const n=e.XpG(3);e.R7$(),e.Y8G("ngIf",n.isActive()||n.isClosing()),e.R7$(),e.xc7("display",n.isActive()||n.isClosing()?"block":"none"),e.Y8G("@popBgTriggerAni",n.isActive()||n.isClosing())}}function V_(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",2),e.nI1(1,"async"),e.j41(2,"div",3),e.nrm(3,"div",4),e.nI1(4,"imageUrl"),e.j41(5,"div",5)(6,"span",6),e.nI1(7,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.pwaDownloadClose())}),e.k0s(),e.nrm(8,"div",7),e.nI1(9,"imageUrl"),e.j41(10,"div",8)(11,"div",9),e.nrm(12,"img",10),e.nI1(13,"async"),e.k0s()(),e.j41(14,"div",11)(15,"p",12),e.EFF(16),e.nI1(17,"async"),e.k0s(),e.Z7z(18,G_,1,1,"img",13,e.fX1),e.k0s(),e.j41(20,"div",14),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.downloadBtn())}),e.j41(21,"p"),e.EFF(22),e.k0s()()()(),e.DNE(23,oD,3,4,"ng-container",15),e.k0s()}if(2&a){const n=e.XpG().$implicit,o=e.XpG();e.AVh("pop-active",o.isActive()),e.Y8G("@popWrapTriggerAni",o.isActive())("ngStyle",e.eq3(27,rD,e.bMT(1,15,o.isMainPage$)?"block":"none")),e.R7$(3),e.xc7("background-image",e.bMT(4,17,"/assets/shared/pwa-download/pwa-texture.webp")),e.R7$(3),e.xc7("mask-image",e.bMT(7,19,"/assets/shared/pwa-download/icon-cross-type04.svg")),e.R7$(2),e.xc7("background-image",e.bMT(9,21,"/assets/shared/pwa-download/pwa-hot-icon.webp")),e.R7$(4),e.Y8G("mcdSrc",e.bMT(13,23,o.iconPath$)),e.R7$(4),e.Lme("",e.bMT(17,25,o.shortName$)," ",n("ui.pwa_download.text.web_app"),""),e.R7$(2),e.Dyx(o.stars),e.R7$(4),e.JRh(n("ui.pwa_download.text.download")),e.R7$(),e.Y8G("ngIf",!0===o.isActive())}}function $_(a,p){if(1&a&&(e.qex(0),e.DNE(1,V_,24,29,"div",1),e.nI1(2,"async"),e.nI1(3,"async"),e.nI1(4,"async"),e.bVm()),2&a){const n=e.XpG();e.R7$(),e.vxM(1,e.bMT(2,1,n.isPwaActive$)&&e.bMT(3,3,n.isCheckPrompt$)&&e.bMT(4,5,n.isShowOn$)?1:-1)}}let kf=(()=>{class a{constructor(){this.destroyRef=(0,e.WQX)(e.abz),this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.pwaService=(0,e.WQX)(Gl),this.dialogService=(0,e.WQX)($r.o),this.i18nService=(0,e.WQX)(Vl.W),this.document=(0,e.WQX)(u.qQ),this.siteSetting=(0,e.WQX)(ti.p),this.router=(0,e.WQX)(en.Ix),this.authState=(0,e.WQX)(gi.H),this.isAndroid=zc.V.isAndroid(),this.isIOSSafari=zc.V.isIOSSafari(),this.isCheckPrompt$=this.pwaService.isCheckPrompt(),this.isPwaActive$=new P.t(!0),this.isShowOn$=new P.t(!1),this.iconPath$=new P.t(""),this.shortName$=new P.t(""),this.isMainPage$=new P.t(!1),this.isLogin$=this.authState.select("isLogin"),this.stars=[1,2,3,4,5],this.isActive=(0,e.vPA)(!1),this.isClosing=(0,e.vPA)(!1),this.url="",this.scrollY=0,this.isLogin=!1,this.subscriptions=[]}ngOnInit(){this.isBrowser&&(this.isLogin$.pipe((0,ui.pQ)(this.destroyRef)).subscribe({next:n=>{this.isLogin=n,this.initPwaActiveState(),n||localStorage.removeItem("pwa_install_closed_by_login_user")},error:n=>{console.error("Error :>> ",n)}}),this.getPwaSettingData(),this.isCheckMainPage())}ngOnDestroy(){this.subscriptions.forEach(n=>n.unsubscribe())}downloadBtn(){this.isIOSSafari?(this.scrollY=window.scrollY,this.document.body.style.position="fixed",this.document.body.style.top=`-${this.scrollY}px`,this.document.body.style.width="100%",this.isActive.set(!0)):this.pwaService.promptInstall()}pwaDownloadClose(){this.isBrowser&&(this.isLogin&&localStorage.setItem("pwa_install_closed_by_login_user","true"),this.isPwaActive$.next(!1))}iosPopClose(){this.document.body.style.position="",this.document.body.style.top="",this.document.body.style.width="",window.scrollTo(0,this.scrollY),this.isClosing.set(!0),setTimeout(()=>{this.isClosing.set(!1),this.isActive.set(!1)},300)}getPwaSettingData(){this.siteSetting.select("siteSettingModel").pipe((0,ui.pQ)(this.destroyRef)).subscribe({next:n=>{n.PWASetting&&(this.isShowOn$.next(!!n.PWASetting.enabled&&n.PWASetting.shownOn),n.PWASetting.iconPath&&this.iconPath$.next(n.PWASetting.iconPath||""),n.PWASetting.shortName&&this.shortName$.next(n.PWASetting.shortName||""))},error:n=>{console.error("Error fetching PWA settings: ",n)}})}isCheckMainPage(){const n=d=>{const _=this.router.url.match(/^(\/[^/]+\/[^/]+)\/.*\(popup:([^)]+)\)/);if(_)d=_[1]+"/"+_[2];else{const U=this.router.url.replace(/(.*)(\(popup:)(.*)(\))/i,"$1/$3");U!==this.router.url&&(d=U)}this.isMainPage$.next(d===li.C.MAIN.link||d===li.C.EX_SPORT.link)};n(this.router.url);const o=this.router.events.subscribe(d=>{d instanceof en.wF&&n(d.urlAfterRedirects)});this.subscriptions.push(o)}initPwaActiveState(){if(!this.isBrowser)return;const n="true"===localStorage.getItem("pwa_install_closed_by_login_user");this.isPwaActive$.next(!this.isLogin||!n)}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-pwa-download"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"pwa-download",3,"pop-active","ngStyle"],[1,"pwa-download",3,"ngStyle"],[1,"pwa-download-bg"],[1,"pwa-texture"],[1,"pwa-download-container"],[1,"pwa-close-btn",3,"click"],[1,"pwa-hot"],[1,"pwa-icon-frame"],[1,"pwa-icon"],["alt","pwa-icon",3,"mcdSrc"],[1,"pwa-content"],[1,"pwa-name"],["alt","start",1,"start",3,"mcdSrc"],[1,"button","btn-primary","download-btn",3,"click"],[4,"ngIf"],["class","ios-pwa-pop",3,"class",4,"ngIf"],[1,"pop-bg",3,"click"],[1,"ios-pwa-pop"],[1,"header"],["alt","pwa-icon",1,"pwa-icon",3,"mcdSrc"],[1,"title"],[1,"pop-content"],[1,"list-info"],[1,"item-num"],[1,"item-txt"],[1,"step-share"],[3,"innerHTML"],[1,"item-img"],[1,"focus"],[1,"share-icon"],["alt","img-step2",1,"step-img",3,"mcdSrc"],[1,"step-home-screen"],[1,"add-home-screen-icon"],["alt","img-step3",1,"step-img",3,"mcdSrc"],[1,"press-add-button"],[1,"add"],["alt","img-step4",1,"step-img",3,"mcdSrc"]],template:function(o,d){1&o&&e.DNE(0,$_,5,7,"ng-container",0)},dependencies:[u.bT,u.B3,pa.f,ga.h,b.bA,u.Jj,Ms.Hc],data:{animation:[U_.Rz,U_.tt]},changeDetection:0})}return a})();const gu=["scrollBody"],Bf=["leftMenu"];function nc(a,p){1&a&&e.nrm(0,"mcd-footer-inner")}ys.gsap.registerPlugin(il.I);let yd=(()=>{class a{prepareRoute(n){return n&&n.activatedRouteData&&n.activatedRouteData.animationState}constructor(n,o,d,_,N,U,ue,we,Ge){this.document=n,this.authState=o,this.layoutState=d,this.siteSetting=_,this.sideMenuState=N,this.cdr=U,this.router=ue,this.route=we,this.moduleFederationCustomEventService=Ge,this.routingPathType=$t.q,this.init$=new S.B,this.destroy$=new S.B,this.destroyRef=(0,e.WQX)(e.abz),this.isLoading$=(0,e.WQX)(ll.m).select("isLoading"),this.currencySettingState=(0,e.WQX)(ti.p),this.environment=(0,e.WQX)(Ws.E),this.moduleFederationState=(0,e.WQX)(Qa.H),this.currentCurrency=(0,e.vPA)(void 0),this.images=new $s.l,this.switchThemeService=(0,e.WQX)(ir.Fu),this.menuOpen=!1,this.contentScrolled=!1,this.isCustomI18nForAffiliateName=!0,this.hasReferBonus=!1,this.isMemberMenuInnerActive=!1,this.isLanguageMenuActive=!1,this.isDarkMode=!1,this.hasVip=!0,this.hasForum=!1,this.hasService=!0,this.switchTheme=!1,this.layoutBackgroundKey$=new S.B,this.loadingMaskOptions={poster:"/assets/images/logo.webp"},this.partnershipLink="",this.isShowAmbassador=$o.sideMenu?.isDesktopShowAmbassador.toString(),this.subscriptions=[],this.isLogin$=this.authState.select("isLogin"),this.isNeedToShowToolbar$=this.layoutState.select("isNeedToShowToolbar"),this.isNeedToShowHeader$=this.layoutState.select("isNeedToShowHeader"),this.contentClass$=this.layoutState.select("contentClass"),this.isHideGoTop$=this.moduleFederationState.select("isSystemReady"),this.isNeedToShowFooter$=this.layoutState.select("isNeedToShowFooter"),this.isEnableWebsiteCategory=this.siteSetting.get("siteSettingModel").isEnableWebsiteCategory,this.customHeadBtnItems=[],this.isSystemReady$=this.moduleFederationState.select("isSystemReady"),this.customSideMenuLink(),this.sideMenuState.set({isShowIconLabel:!0}),this.isEnableWebsiteCategory||(this.customHeadBtnItems=[{type:Xt.Z.COCKFIGHTING.name,vendor:"SV388",icon:{name:"SV388",icon:"LEFT_MENU_HEAD_ICON_SV388",iconActive:"LEFT_MENU_HEAD_ICON_ACTIVE_SV388"},forceShow:!0}]),this.isSystemReady$.pipe((0,ui.pQ)(),(0,ot.M)(Xe=>{Xe&&this.moduleFederationCustomEventService.mf_custom_display_settings({isNewLayout:!0,isDMBookmakerStandalone:!0,isSmallVideoEnabled:!0,isDefaultFilterByTime:!0})})).subscribe(),this.moduleFederationState.select("isShowBannerFooter").pipe((0,ot.M)(Xe=>{this.layoutState.set({isNeedToShowFooter:Xe||void 0===Xe})}),(0,Z.Q)(this.destroy$)).subscribe(),this.bindLayoutBackGroundChange(),this.bindNavigationEndEvent()}ngAfterViewInit(){this.initScrollBodyEventBinding(),this.init$.next()}ngOnInit(){this.checkIsShowReferBonus()}ngOnDestroy(){this.subscriptions.forEach(n=>n.unsubscribe())}checkIsShowReferBonus(){this.isLogin$.pipe((0,ui.pQ)(this.destroyRef),(0,$n.s)(1),(0,In.p)(n=>n&&this.siteSetting.get("siteSettingModel").isEnabledRafCommission),(0,ot.M)(()=>this.hasReferBonus=!0)).subscribe()}initScrollBodyEventBinding(){const n=this.scrollBody.nativeElement,o=(0,jr.R)(n,"scroll").pipe((0,hn.T)(()=>n.scrollTop>0),(0,so.B)(200),(0,ot.M)(d=>{this.contentScrolled=d,this.cdr.detectChanges()})).subscribe();this.subscriptions.push(o)}bindNavigationEndEvent(){const n=this.router.events.pipe((0,In.p)(o=>o instanceof en.wF),(0,hn.T)(()=>this.route.snapshot),(0,hn.T)(o=>{for(;o.firstChild;)o=o.firstChild;return o})).subscribe(o=>{this.layoutBackgroundKey$.next(o.data.layoutBackground)});this.subscriptions.push(n)}bindLayoutBackGroundChange(){let n;this.layoutBackgroundKey$.pipe((0,ot.M)(o=>{n=o}),(0,on.n)(()=>this.switchThemeService.imageLink$),(0,ot.M)(o=>{this.layoutBackground=o[n]})).subscribe()}customSideMenuLink(){const n=this.siteSetting.get("currentCurrencyType"),o=this.siteSetting.get("currentLanguageType"),d=$o.customSideMenuLink[n.name];if(d){const Ge=d[o.name];Ge&&(this.affiliateLink=Ge.affiliateLink,this.helpPageLink=Ge.helpPageLink)}const U=this.siteSetting.get("currencyMappingSettingModel").find(Ge=>Ge.currencyTypeId===n.unique)?.mapping.find(Ge=>Ge.currencySettingTypeId===V.X.COUNTRY.unique)?.mappingData.map(Ge=>parseInt(Ge)),ue=T.B.getInstanceOf(U[0]),we={MYR:{MALAY:"https://mcwlnk.co/BHPartners",CHINESE:"https://mcwlnk.co/CNPartners",ENGLISH:"https://mcwlnk.co/BHPartners"}};this.partnershipLink=n.name in we?we[n.name][o.name]||we[n.name].ENGLISH:`https://mcwlnk.co/${ue?.name}Partners`}listenMemberMenuInner(n){this.isMemberMenuInnerActive=n}openMemberMenu(n){this.isMemberMenuInnerActive=n}menuOpenHandler(n){this.menuOpen=n,this.cdr.detectChanges()}onClickDesktopMain(){!this.menuOpen||this.document.body.scrollWidth>1200||this.leftMenu.closeLeftMenu()}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(u.qQ),e.rXU(gi.H),e.rXU(A.Tl),e.rXU(ti.p),e.rXU(Za),e.rXU(e.gRc),e.rXU(en.Ix),e.rXU(en.nX),e.rXU(ul.g))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["ng-component"]],viewQuery:function(o,d){if(1&o&&(e.GBs(gu,5),e.GBs(Bf,5)),2&o){let _;e.mGM(_=e.lsd())&&(d.scrollBody=_.first),e.mGM(_=e.lsd())&&(d.leftMenu=_.first)}},inputs:{isMemberMenuInnerActive:"isMemberMenuInnerActive",isLanguageMenuActive:"isLanguageMenuActive"},decls:15,vars:20,consts:[["scrollBody",""],["outlet","outlet"],[1,"layout-desktop"],[1,"layout-desktop__inner"],[1,"layout-desktop__main",3,"click"],[1,"layout-desktop__header-inner",3,"shallshrink","vipOpen"],[1,"layout-desktop__body"],[1,"layout-desktop__content"],[4,"ngIf"],[3,"affiliateLink","isCustomI18nForAffiliateName","vipOpen","hasReferBonus","partnershipLink"],[3,"isShow"]],template:function(o,d){if(1&o){const _=e.RV6();e.j41(0,"div",2)(1,"div",3)(2,"div",4),e.bIt("click",function(){return e.eBV(_),e.Njj(d.onClickDesktopMain())}),e.nrm(3,"mcd-header-orion",5),e.j41(4,"div",6,0),e.nI1(6,"imageUrl"),e.j41(7,"div",7),e.nrm(8,"router-outlet",null,1),e.k0s(),e.DNE(10,nc,1,0,"mcd-footer-inner",8),e.nI1(11,"async"),e.k0s()(),e.nrm(12,"mcd-left-menu-orion",9),e.k0s()(),e.nrm(13,"mcd-pwa-download")(14,"mcd-float-banner",10)}if(2&o){const _=e.sdS(9);e.AVh("layout-desktop--menu-open",d.menuOpen),e.R7$(2),e.Y8G("@routeLayoutPageAni",d.prepareRoute(_)),e.R7$(),e.AVh("layout-desktop__header-inner--shaded",d.contentScrolled),e.Y8G("shallshrink",d.menuOpen)("vipOpen",!0),e.R7$(),e.xc7("background-image",e.bMT(6,16,d.layoutBackground)),e.R7$(6),e.Y8G("ngIf",e.bMT(11,18,d.isNeedToShowFooter$)),e.R7$(2),e.Y8G("affiliateLink",d.affiliateLink)("isCustomI18nForAffiliateName",d.isCustomI18nForAffiliateName)("vipOpen",!0)("hasReferBonus",d.hasReferBonus)("partnershipLink",d.partnershipLink),e.R7$(2),e.Y8G("isShow",!0)}},dependencies:[u.bT,en.n3,ud.R,zg,hl,B_,kf,u.Jj,Ms.Hc],styles:['[_ngcontent-%COMP%]:root{--primary: #281a70;--secondary: #ffd259;--primary-gradient-from: #272828;--primary-gradient-to: #483816;--color-success: #40d0cb;--color-danger: #ff5959;--color-warning: #ffd259;--color-info: #00b5ff;--color-border: linear-gradient(245deg, #ff9fa2 0%, #6d25f4 100%);--content-bg: #281a70;--pop-bg: rgba(0, 0, 0, .5);--pop-bg-content: #281a70;--pop-bg-shadow: rgba(0, 0, 0, .05);--pop-mask-bg: rgba(0, 0, 0, .5);--nav-icon-normal-bg: #222222;--nav-icon-active-bg: #ffb80c;--menu-icon-normal-bg: #222222;--menu-icon-active-bg: #ffffff;--icon-all-provider-bg: #ffb80c;--icon-bonus-wallet-bg: #222222;--member-menu-icon-bg: #222222;--left-menu-icon-bg: #222222;--left-menu-head-icon-highlight-bg: #222222;--color-title: #ffffff;--color-text: rgba(255, 255, 255, .4);--color-link: var(--primary);--color-muted: rgba(255, 255, 255, .3);--color-text-strong: #79a5fc;--offset-shadow: #281a70;--inset-shadow: #ffffff;--text-shadow: #834c00;--color-content-bg: #ebebeb;--custom-font: "Jost";--custom-serif: sans-serif;--header-bg: var(--primary);--header-bg-tab: #342e80;--header-bg-none: transparent;--header-bg-gradient: linear-gradient( to bottom, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 100% );--header-bg-active: var(--primary);--header-burger-icon-color: #ffffff;--header-back-icon-color: #ffffff;--header-logout-icon-color: #ffffff;--header-service-icon-color: #ffffff;--header-filter-icon-color: #ffffff;--header-layout-icon-color: #ffffff;--header-title: var(--color-title);--header-vip-title: #ffffff;--header-vip-bg-active: var(--header-bg-active);--header-vip-title-active: var(--header-vip-title);--header-slot-bg-active: #281a70;--header-slot-title: #ffffff;--header-badge-bg: #cd1818;--header-badge-txt: #ffffff;--header-login-btn-bg: transparent;--header-login-btn-shadow: transparent;--header-login-btn-txt: transparent;--header-register-btn-bg: transparent;--header-register-btn-shadow: transparent;--header-register-btn-txt: transparent;--header-deposit-btn-bg: transparent;--header-deposit-btn-txt: transparent;--header-exp-btn-bg: #e62626;--header-exp-btn-txt: #ffffff;--header-refresh-icon-color: #ffffff;--header-close-icon: #ffffff;--btn-main-bg: var(--secondary);--btn-main-txt: #ffffff;--btn-secondary-bg: var(--secondary);--btn-secondary-txt: #ffffff;--btn-main-bg-disabled: #7e6367;--btn-main-txt-disabled: #b1a0a3;--btn-secondary-bg-disabled: #79a5fc;--btn-secondary-txt-disabled: #ffffff;--btn-loading-border: #ffffff;--form-box-bg: #363285;--form-txt: var(--color-title);--form-input-bg: #444796;--form-input-txt: var(--color-title);--form-input-txt-placeholder: rgba(255, 255, 255, .3);--form-input-border: var(--form-input-bg);--form-input-border-focus: #ffd259;--form-input-border-hover: var(--form-input-border-focus);--form-input-bg-disabled: var(--form-input-bg);--form-input-border-disabled: var(--form-input-bg-disabled);--form-input-txt-disabled: #ffffff;--form-select-item-bg: var(--primary);--form-clear-icon-color: #ffd259;--form-eyes-icon-color: #ffffff;--form-select-triangle: #ffffff;--form-refresh-icon-color: #ffffff;--form-upload-bg: var(--form-input-bg);--form-upload-border: var(--color-border);--form-upload-camera-icon-color: #a0a2ca;--form-upload-txt: #a0a2ca;--form-upload-mask-bg: rgba(0, 0, 0, .7);--form-upload-retry-btn-bg: var(--secondary);--form-upload-retry-btn-txt: #ffffff;--form-upload-file-bg: var(--primary);--form-uncheck-color: rgba(255, 255, 255, .5);--form-input-crypto-unit: #ffae12;--form-input-crypto-unit-txt: #ffffff;--tab-header-bg: #342e80;--tab-line-txt: rgba(255, 255, 255, .6);--tab-line-txt-active: #ffd259;--tab-line-underline: #ffd259;--tab-line-badge-bg: #ffd259;--tab-line-badge-txt: #281a70;--tab-btn-txt: #ffffff;--tab-btn-txt-shadow: #834c00;--tab-btn-bg: #342e80;--tab-btn-bg-active: #ffd259;--tab-btn-txt-active: var(--tab-btn-txt);--tab-btn-active-shadow: var(--primary);--tab-btn-bar-bg: var(--primary);--radio-bg: #444796;--radio-txt: #ffffff;--radio-border: var(--color-border);--radio-bg-hover: linear-gradient( 180deg, var(--primary-gradient-from) 0%, var(--primary-gradient-to) 100% );--radio-txt-hover: var(--radio-txt);--radio-border-hover: var(--radio-border);--radio-bg-checked: linear-gradient( 180deg, var(--primary-gradient-from) 0%, var(--primary-gradient-to) 100% );--radio-txt-checked: #ffffff;--radio-border-checked: linear-gradient(190deg, #ff9fa2 0%, #6d25f4 100%);--radio-underline-checked: var(--radio-border-checked);--checkbox-bg-checked: linear-gradient(180deg, #6d4985 0%, #3e1f97 100%);--checkbox-bg-color: #222222;--checkbox-bg-color-checked: #ffffff;--checkbox-tick: #222222;--checkbox-border: var(--color-border);--checkbox-border-checked: #ffffff;--switch-bg: var(--radio-bg);--switch-bg-checked: var(--radio-border-checked);--switch-target-txt: rgba(255, 255, 255, .8);--switch-target-btn-icon: #000000;--switch-target-btn-bg: #333333;--switch-target-knob: #ffffff;--switch-target-race-track-bg: #032682;--date-picker-calendar-bg: linear-gradient( to bottom, var(--form-box-bg) 0%, var(--content-bg) 100% );--date-picker-calendar-shadow: rgba(#000000, .1);--date-picker-calendar-shadow-inset: transparent;--date-picker-calendar-border: transparent;--date-picker-calendar-selected-bg: var(--primary);--date-picker-calendar-selected-txt: var(--color-text);--date-picker-calendar-selected-shadow: rgba(#000000, .3);--date-picker-calendar-selected-shadow-inset: transparent;--date-picker-calendar-table-title: #ffffff;--date-picker-calendar-table-txt: var(--color-text);--date-picker-calendar-today-txt-disabled: var(--color-muted);--date-picker-calendar-today-border: var(--primary);--date-picker-calendar-arrow-icon: var(--date-picker-calendar-table-txt);--pop-title-bg: var(--header-bg);--pop-title: #ffffff;--pop-close-icon-color: #ffffff;--pop-lock-close-icon-color: #ffffff;--pop-txt: rgba(255, 255, 255, .7);--pop-notshow-bg: rgba(0, 0, 0, .2);--pop-notshow-txt: var(--pop-title);--pop-notshow-check-bg: rgba(0, 0, 0, .7);--pop-notshow-check-border: var(--pop-title);--pop-refresh-amount-bg: var(--pop-bg-content);--pop-refresh-amount-txt: var(--pop-title);--popup-page-main-bg: var(--pop-bg-content);--popup-page-main-shadow: #000;--popup-page-main-container-bg: var(--content-bg);--popup-page-main-header-bg: var(--header-bg);--toolbar-bg: var(--header-bg);--toolbar-shadow: rgba(0, 0, 0, .5);--toolbar-txt: #ffffff;--toolbar-txt-active: var(--toolbar-txt);--toolbar-border-shadow: var(--toolbar-shadow);--toolbar-border-bg: var(--toolbar-bg);--toolbar-icon: rgba(255, 255, 255, .7);--toolbar-icon-active: var(--content-bg);--toolbar-icon-bg-front: var(--header-login-btn-bg);--toolbar-icon-bg-back: var(--header-login-btn-bg);--loading-list-circle-main: var(--primary);--loading-list-circle-secondary: var(--secondary);--mode-txt: #ffffff;--mode-tips-bg: #444796;--mode-tips-txt: #ffffff;--pagination-bullet-bg: #ffffff;--pagination-bullet-bg-active: var(--primary);--btn-voucher-txt: #ffffff;--btn-voucher-txt-value: #ff3a3a;--btn-voucher-bg: rgba(34, 34, 34, .9);--btn-voucher-bg-border: var(--color-border);--sidenav-mask: rgba(0, 0, 0, .5);--sidenav-close-icon-color: #ffffff;--sidenav-member-close-icon-color: var(--sidenav-close-icon-color);--sidenav-info-bg: var(--content-bg);--sidenav-info-bottom-bg: linear-gradient( 45deg, rgba(68, 50, 164, .7) 0%, rgba(57, 135, 215, .7) 100% );--sidenav-title-txt: #ffffff;--sidenav-profile-txt: #b9c9ff;--sidenav-info-title-bottom: #ffffff;--sidenav-info-login-icon-color: #ffffff;--sidenav-info-register-icon-color: #ffffff;--sidenav-wallet-txt: #b9c9ff;--sidenav-wallet-amount: #ffffff;--sidenav-wallet-icon-bg: rgba(255, 255, 255, .1);--sidenav-shortcut-txt: #b9c9ff;--sidenav-shortcut-icon-bg: rgba(255, 255, 255, .1);--sidenav-shortcut-icon-txt: #ffffff;--sidenav-category-bg: linear-gradient(45deg, #48509c 0%, #473f8d 100%);--sidenav-category-columns-bg: linear-gradient( 45deg, rgba(123, 138, 225, .9) 0%, #473f8d 100% );--sidenav-category-txt: #ffffff;--sidenav-category-shadow: #241d60;--sidenav-category-bg-active: rgba(161, 160, 255, .3);--sidenav-category-txt-active: #ffffff;--sidenav-info-points-bg: var(--form-box-bg);--sidenav-info-points-txt: #b9c9ff;--sidenav-info-points-number: #ffe51d;--sidenav-bg: var(--primary);--sidenav-set-shortcut-icon-bg: rgba(100, 125, 202, .5);--sidenav-set-shortcut-icon-color: #281a70;--sidenav-set-shortcut-edit-icon-bg: #79a5fc;--sidenav-set-shortcut-edit-icon-color: #4e4eb0;--sidenav-set-shortcut-set-icon-color: #79a5fc;--sidenav-set-shortcut-add-icon-bg: #ffd259;--sidenav-set-shortcut-add-icon-color: #4e4eb0;--sidenav-category-area-bg: #363285;--sidenav-category-icon-bg: var(--sidenav-wallet-icon-bg);--sidenav-category-real-time-bonus-notice-bg: var( --sidenav-set-shortcut-add-icon-bg );--sidenav-category-real-time-bonus-notice-txt: var( --sidenav-set-shortcut-add-icon-color );--sidenav-search-btn-bg: var(--sidenav-category-bg);--sidenav-search-btn-txt: var(--form-input-txt-placeholder);--sidenav-search-btn-search-icon: var(--form-clear-icon-color);--pop-sidenav-search-game-bg: var(--content-bg);--pop-sidenav-search-game-header-bg: var(--header-bg);--pop-sidenav-search-game-header-search-icon: #ffffff;--pop-sidenav-search-game-header-input-bg: var(--form-input-bg);--pop-sidenav-search-game-header-input-txt: var(--form-input-txt);--pop-sidenav-search-game-header-input-border-hover: var( --form-input-border-focus );--pop-sidenav-search-game-header-input-txt-placeholder: var( --form-input-txt-placeholder );--pop-sidenav-search-game-header-close-icon: #ffffff;--sidenav-category-icon-withdrawal: url(/assets/images/menu/icon-withdrawal.svg);--sidenav-category-icon-bonuses: url(/assets/images/menu/icon-bonuses.svg);--sidenav-category-icon-inbox: url(/assets/images/menu/icon-inbox.svg);--sidenav-service-title: var(--color-title);--sidenav-service-txt: var(--color-title);--index-login-btn-bg: var(--header-login-btn-bg);--index-login-btn-txt: var(--header-login-btn-txt);--index-login-btn-shadow: transparent;--index-login-btn-shadow-inset: transparent;--index-register-btn-bg: var(--header-register-btn-bg);--index-register-btn-txt: var(--header-register-btn-txt);--index-register-btn-shadow: transparent;--index-register-btn-shadow-inset: transparent;--language-bg: #d7e3f0;--language-txt: #000000;--language-shadow: rgba(#ffffff, .5);--pop-language-header-bg: var(--pop-bg-content);--pop-language-title: var(--pop-title);--pop-language-content-bg: var(--content-bg);--pop-language-item-bg: var(--form-box-bg);--pop-currency-txt: #ffffff;--pop-language-btn-txt: #ffffff;--pop-language-btn-bg: var(--form-input-bg);--pop-language-btn-border: var(--color-border);--pop-language-btn-bg-active: linear-gradient( 180deg, #6e4a85 0%, #3d1f97 100% );--pop-language-btn-txt-active: var(--pop-language-btn-txt);--pop-language-btn-border-active: var(--pop-language-btn-border);--pop-language-close-icon-color: var(--pop-close-icon-color);--board-before-bg: linear-gradient( 120deg, color-mix(in srgb, #9bc7ff, transparent 100%) 0%, #9bc7ff 100% );--board-before-shadow: #19066c;--board-login-bg: linear-gradient(220deg, #ff9fa2 0%, #7900e2 100%);--board-login-btn-bg: linear-gradient( 120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .6) 100% );--board-login-btn-txt: #ffffff;--board-login-btn-txt-shadow: #f364bc;--board-register-bg: linear-gradient(220deg, #63e9ec 0%, #7900e2 100%);--board-register-btn-bg: linear-gradient( 120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .6) 100% );--board-register-btn-txt: #ffffff;--board-register-btn-txt-shadow: #281a70;--board-btn-shadow: #8800da;--board-after-bg: var(--board-before-bg);--board-deposit-btn-bg: var(--board-register-btn-bg);--board-deposit-btn-txt: var(--board-register-btn-txt);--board-deposit-btn-txt-shadow: var(--board-register-btn-txt-shadow);--board-wallet-txt: #a0a2ca;--board-wallet-amount: var(--sidenav-wallet-amount);--board-wallet-refresh-icon-color: #a0a2ca;--announvement-bg: transparent;--announvement-icon-color: #6f87d6;--announvement-txt: #6f87d6;--nav-bg: #393485;--nav-category-bg: linear-gradient(162deg, #948acc 0%, #353390 100%);--nav-category-shadow: #7878a2;--nav-category-inset-shadow: #222071;--nav-category-txt: #ffffff;--nav-category-bg-active: linear-gradient(to bottom, #ff9fa2 0%, #6d25f4 80%);--nav-category-bg-active-circle: rgba(0, 0, 0, 0);--nav-category-txt-active: #ffffff;--nav-underline: linear-gradient(to right, #7801db 0%, #63e9ec 80%);--nav-item-bg: #393485;--nav-item-bg-shadow: var(--form-box-bg);--sa-maintenance-bg: #ffffff;--sa-maintenance-icon-color: #ffb80c;--sa-maintenance-txt: #222222;--sa-maintenance-info-bg: #ffffff;--sa-maintenance-info-icon-color: var(--color-muted);--sa-maintenance-info-tooltips-bg: #222222;--sa-maintenance-info-tooltips-txt: #ffffff;--sa-back-to-cricket-bg: var(--sa-maintenance-bg);--sa-back-tocricket-tap-icon-color: var(--sa-maintenance-icon-color);--sa-loader-circle: #ffb80c;--icon-marquee-bg: var(--form-box-bg);--icon-marquee-title: var(--color-title);--icon-marquee-border: var(--secondary);--event-title: var(--color-title);--event-border: var(--secondary);--event-slick-dot: rgba(255, 255, 255, .5);--event-slick-dot-active: #79a5fc;--footer-bg: var(--content-bg);--footer-title: var(--primary);--footer-txt: #ffffff;--footer-border: #ffffff;--footer-area-bg: rgba(255, 255, 255, .08);--footer-link: var(--color-muted);--footer-link-hover: var(--color-link);--footer-seo-content-wrapper-bg: linear-gradient( to top, var(--footer-bg) 10%, color-mix(in srgb, var(--footer-bg), transparent 100%) 100% );--footer-seo-content-wrapper-title: #ffffff;--footer-seo-content-wrapper-txt: var(--color-muted);--footer-seo-content-wrapper-fold-btn: var(--btn-main-bg);--footer-seo-content-wrapper-fold-btn-txt: var(--btn-main-txt);--footer-btn-bg: var(--form-box-bg);--footer-btn-txt: #ffffff;--footer-btn-border: #454749;--footer-btn-arrow: var(--footer-btn-txt);--footer-btn-bg-hover: var(--radio-bg-hover);--footer-btn-txt-hover: var(--radio-txt-hover);--footer-btn-border-hover: var(--radio-border-hover);--footer-btn-arrow-hover: var(--footer-btn-txt-hover);--footer-gradient-mask: linear-gradient(transparent, var(--footer-bg));--footer-parthers-title: color-mix(in srgb, var(--color-text), transparent 20%);--footer-parthers-subtitle: color-mix(in srgb, var(--color-text), transparent 20%);--footer-copyrights-txt: var(--color-muted);--lobby-bg: var(--content-bg);--lobby-loading-bg: var(--content-bg);--lobby-title: var(--color-title);--lobby-border: var(--secondary);--lobby-arrow: #ffffff;--lobby-item-bg: #342e80;--lobby-item-title: #b9c9ff;--lobby-item-new-tag-bg: #ffd259;--lobby-item-new-tag-txt: #ffffff;--login-forgetpassword-btn-border: #79a5fc;--login-forgetpassword-btn-txt: var(--login-forgetpassword-btn-border);--login-txt: #ffffff;--login-link: #79a5fc;--alert-login-fail-tips-bg: color-mix(in srgb, var(--color-danger), transparent 80%);--alert-login-fail-tips-border: var(--color-danger);--alert-login-fail-tips-txt: var(--color-danger);--pop-login-fail-bg: var(--pop-bg-content);--pop-login-fail-title: var(--color-danger);--pop-login-fail-txt: #ffffff;--biometric-btn: #393485;--biometric-face: #ffffff;--biometric-btn-txt: #ffffff;--biometric-wave-line-ani: var(--primary);--biometric-wave-line-cirle: #79a5fc;--biometric-wave-line-gradient-start: #ffd259;--biometric-wave-line-gradient-end: #ffd259;--biometric-switch-bg: #79a5fc;--biometric-txt: #ffffff;--biometric-wave-color-1: #ffffff;--biometric-wave-color-2: #673ab7;--biometric-wave-color-3: #79a5fc;--biometric-face-bg: linear-gradient(180deg, #284296 0%, #392290 100%);--biometric-title: #ffffff;--biometric-content: rgba(255, 255, 255, .7);--reset-password-txt: var(--color-title);--register-affiliate: #ffd259;--register-affiliate-txt: var(--content-bg);--register-success-check-icon: var(--color-success);--register-success-check-icon-clip: transparent;--register-fail-check-icon: var(--color-danger);--register-fail-check-icon-clip: transparent;--register-question-tip-txt: #ffffff;--register-question-tip-bg: #8c8c8c;--pop-register-success-mask: #333333;--pop-register-success-bg: #393485;--pop-register-success-title: var(--color-success);--pop-register-success-subtitle: #ffffff;--pop-register-success-txt: rgba(255, 255, 255, .7);--pop-register-success-home-btn-txt: #ffffff;--pop-register-fail-title: var(--color-danger);--search-bg: var(--form-box-bg);--search-item-bg: var(--radio-bg);--search-item-txt: var(--radio-txt);--search-item-border: var(--radio-border);--search-item-bg-hover: var(--radio-bg-hover);--search-item-txt-hover: var(--radio-txt-hover);--search-item-border-hover: var(--radio-border-hover);--search-item-bg-active: var(--radio-bg-checked);--search-item-txt-active: var(--radio-txt-checked);--search-item-border-active: var(--radio-border-checked);--search-search-icon: #ffffff;--pop-search-header-bg: #281a70;--pop-search-back-icon-color: var(--search-search-icon);--pop-search-games-header-bg: var(--pop-search-header-bg);--pop-search-games-header-back-icon: var(--search-search-icon);--pop-search-input-bg: #281a70;--pop-search-input-txt: #ffffff;--pop-search-search-icon-color: var(--pop-search-back-icon-color);--pop-search-input-placeholder: var(--form-input-txt-placeholder);--pop-search-input-border: var(--pop-search-input-bg);--pop-search-input-border-hover: var(--form-input-border-hover);--pop-search-input-border-focus: var(--form-input-border-focus);--pop-search-clear-txt: var(--color-text);--pop-search-title: var(--color-title);--pop-search-inner-bg: #ffffff;--search-btn: var(--search-bg);--brand-search-bg: var(--form-box-bg);--brand-search-item-bg: var(--radio-bg);--brand-search-item-txt: var(--radio-txt);--brand-search-item-border: var(--radio-border);--brand-search-item-bg-active: var(--radio-bg-checked);--brand-search-item-txt-active: var(--radio-txt-checked);--brand-search-item-border-active: var(--radio-border-checked);--brand-search-btn: var(--search-btn);--brand-search-search-icon: var(--search-search-icon);--game-filter-title: var(--search-item-txt);--game-filter-border: var(--secondary);--game-filter-dropdown-menu-txt: var(--search-item-txt);--game-filter-dropdown-menu-bg: var(--search-bg);--game-filter-dropdown-item-bg: var(--search-bg);--game-filter-dropdown-item-bg-active: var(--game-filter-dropdown-item-bg);--game-filter-dropdown-item-txt: var(--game-filter-dropdown-menu-txt);--game-filter-dropdown-item-txt-active: var(--primary);--game-filter-dropdown-arrow-icon: var(--search-item-txt);--slot-tag-new-bg: #ffd259;--slot-tag-new-txt: #ffffff;--slot-card-bg: var(--nav-item-bg);--slot-card-title: var(--color-title);--slot-card-txt: var(--color-text);--slot-card-number: var(--secondary);--slot-jackpot-total: #ffffff;--slot-jackpot-amount: #ffef3c;--pop-transfer-bg: #281a70;--pop-transfer-btn-take-back: var(--gradient-blue);--pop-transfer-btn-other-account: var(--gradient-green);--pop-transfer-btn-other-renew: var(--gradient-orange);--pop-transfer-txt: #ffffff;--pop-transfer-bonus-bg: rgba(255, 255, 255, .8);--pop-transfer-bonus-border: #ffffff;--pop-transfer-bonus-txt: #281a70;--pop-transfer-title: var(--color-title);--pop-transfer-border: var(--secondary);--pop-transfer-tips: var(--color-title);--pop-transfer-amount-fade: #444796;--pop-transfer-wallet-refresh-icon-color: #ffffff;--games-empty-bg: var(--form-box-bg);--games-empty-title: var(--primary);--games-empty-txt: var(--color-title);--pop-bonuswallet-txt: rgba(255, 255, 255, .8);--pop-bonuswallet-title: #ffffff;--pop-bonuswallet-card-bg: linear-gradient( 180deg, rgba(54, 50, 133, .8) 0%, rgba(78, 85, 162, .8) 100% );--pop-bonuswallet-card-title: var(--color-title);--pop-bonuswallet-card-border: var(--secondary);--pop-bonuswallet-card-date: rgba(255, 255, 255, .6);--pop-bonuswallet-card-detail: #b9c9ff;--pop-bonuswallet-card-amount: #ffd259;--pop-bonuswallet-card-start-btn: linear-gradient( 230deg, #ffd259 0%, #ffd259 100% );--pop-bonuswallet-card-start-txt: #ffffff;--pop-bonuswallet-tips: var(--color-text);--promotion-bonuswallet-label-normal: var(--color-success);--promotion-bonuswallet-label-running: var(--primary);--promotion-bonuswallet-label-disabled: #777;--color-walletcard-txt: #ffffff;--promotion-bg: #393485;--promotion-info-bg: #8dbdff;--promotion-info-txt: #ffffff;--promotion-card-title: var(--color-title);--promotion-card-txt: color-mix(in srgb, var(--color-title), transparent 20%);--pop-bonuswallet-tips-txt: rgba(255, 255, 255, .5);--promotion-clock-icon-color: rgba(255, 255, 255, .5);--promotion-deposit-btn-bg: var(--color-success);--promotion-tag-free-bg: var(--color-danger);--promotion-tag-free-txt: #ffffff;--promotion-tag-bonus-bg: var(--color-success);--promotion-tag-bonus-txt: #ffffff;--promotion-tab-underline-active: var(--radio-underline-checked);--pop-promotion-close-icon-color: #ffffff;--pop-promotion-bg: #ffffff;--pop-promotion-txt: #5c567a;--pop-promotion-title: #ffffff;--pop-promotion-clock-icon-color: #5c567a;--pop-promotion-table-title-bg: #342e80;--pop-promotion-table-title-txt: #ffffff;--pop-promotion-table-content-bg: #efeef6;--pop-promotion-table-content-title-bg: var(--pop-promotion-table-title-bg);--pop-promotion-table-content-title-txt: var(--pop-promotion-table-title-txt);--pop-promotion-table-content-txt: #5c567a;--pop-promotion-table-content-border: rgba(255, 255, 255, .2);--pop-promotion-link: var(--color-text-strong);--pop-promotion-bonuswallet-title: #ffffff;--pop-promotion-bonuswallet-wallet-bg: rgba(255, 255, 255, .1);--pop-promotion-bonuswallet-wallet-txt: #a0a2ca;--pop-promotion-bonuswallet-wallet-number: #ffffff;--pop-promotion-bonuswallet-deposit-now-border: rgba(160, 162, 202, .4);--pop-promotion-bonuswallet-deposit-now-bg: var(--pop-bg-content);--pop-promotion-bonuswallet-link: #79a5fc;--btn-status-txt: #ffffff;--btn-attend-bg: var(--color-success);--btn-request-bg: var(--color-danger);--btn-joined-bg: var(--color-warning);--btn-apply-bg: var(--color-info);--btn-detail-bg: var(--btn-main-bg);--btn-deposit-bg: var(--btn-secondary-bg);--btn-request-status-txt: var(--color-muted);--btn-joined-status-txt: var(--color-muted);--btn-apply-status-txt: var(--btn-status-txt);--btn-detail-status-txt: var(--btn-main-txt);--btn-deposit-status-txt: var(--btn-secondary-txt);--form-inputgroup-btn-bg: var(--btn-main-bg);--form-inputgroup-btn-txt: var(--btn-main-txt);--form-inputgroup-input-bg: var(--form-box-bg);--form-inputgroup-input-txt: var(--form-input-txt);--form-inputgroup-input-border: var(--form-input-border);--form-inputgroup-input-border-focus: var(--form-input-border-focus);--form-inputgroup-input-txt-placeholder: var(--form-input-txt-placeholder);--form-inputgroup-input-title: var(--color-text);--limit-title: #ffffff;--limit-txt: #ffffff;--limit-ip-txt: #a0a2ca;--limit-timezone-txt: #79a5fc;--limit-time-txt: #b9c9ff;--gotop-bg: radial-gradient( circle at 1.2% 1.2%, #00ecff 0%, #6230d5 48%, #4e5cff 81%, #00bbe6 139%, #ffffff 139% );--gotop-icon: #ffffff;--chat-bg: radial-gradient( circle at 1.2% 1.2%, #ff9fa2 0%, #a372e2 48%, #6d25f4 81%, #ff9fa2 139%, #ff9fa2 139% );--chat-icon: #ffffff;--app-download-bg: var(--content-bg);--app-download-primary: var(--primary);--app-download-header-bg: var(--header-bg);--app-download-header-title: #ffffff;--app-download-header-back-icon: var(--app-download-header-title);--app-download-title: #ffffff;--app-download-subtitle: var(--app-download-title);--app-download-txt: var(--primary);--app-download-list-txt: #ffffff;--app-download-btn-bg: var(--btn-main-bg);--app-download-btn-txt: var(--btn-main-txt);--app-download-side-btn-bg: var(--app-download-btn-bg);--app-download-side-btn-txt: var(--app-download-btn-txt);--app-download-dot: #ffffff;--app-download-dot-active: var(--app-download-primary);--pop-app-download-side-bg: var(--content-bg);--pop-app-download-side-header-bg: var(--pop-bg-content);--pop-app-download-side-header-title: #ffffff;--pop-app-download-side-header-close-icon: var( --pop-app-download-side-header-title );--launch-bg: #ffffff;--launch-linear-bg: linear-gradient( 135deg, var(--launch-bg) 0%, color-mix(in srgb, var(--launch-bg), transparent 70%) 50% );--launch-menu-highlight-shadow-color01: #b0dbff;--launch-menu-highlight-shadow-color02: rgba(255, 255, 255, .5);--launch-btn-bg: linear-gradient(180deg, #515151 0%, #000000 100%);--launch-home-btn-icon: #ffffff;--launch-home-btn-icon-color: #ffffff;--launch-home-btn-bg: linear-gradient( 180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .3) 100% );--launch-nodeposit-btn-bg: linear-gradient( 180deg, rgba(71, 78, 120, 0) 0%, rgba(71, 78, 120, 0) );--lanuch-stop-color: #ffffff;--lanuch-end-color: #b1b1b1;--lanuch-site-bg: linear-gradient( 180deg, #000000 40%, color-mix(in srgb, #000000, transparent 100%) 100% );--launch-game-header-bg: linear-gradient( 135deg, #00ecff 0%, #6230d5 40%, #4e5cff 60%, #00bbe6 100% );--launch-game-btn-bg: radial-gradient( circle at 1.2% 1.2%, #4e5cff 0%, #6230d5 48%, #4e5cff 81%, #6230d5 139%, #4e5cff 139% );--launch-game-logo-shadow: rgba(0, 0, 0, .5);--launch-game-icon-color: #ffffff;--launch-info-border-left: rgba(255, 255, 255, .1);--launch-info-title: #ffffff;--launch-info-value: #ffffff;--thirdparty-bg: var(--pop-register-success-bg);--thirdparty-h3: var(--color-success);--thirdparty-highlight-span: var(--secondary);--thirdparty-title: var(--color-title);--thirdparty-txt: var(--color-text);--thirdparty-close-btn: var(--thirdparty-h3);--thirdparty-close-txt: var(--thirdparty-bg);--color-card-bg: lighten(var(--color-content-bg), 7%);--tips-content-info-tag: var(--color-info);--tips-document-info-tag: #ff777c;--tips-document-choose-one-info-tag: #ef67ab;--tips-info-supporting-txt-tag: #d8a845;--third-party-primary: var(--primary);--third-party-error: var(--color-danger);--third-party-check: var(--color-success);--third-party-txt-default: #222222;--third-party-txt-secondary: #ffffff;--third-party-txt-fourth: #222222;--third-party-txt-disabled: var(--form-input-txt-disabled);--third-party-icon-default: var(--color-muted);--third-party-icon-secondary: #090d1a;--third-party-shadow-default: #06080f;--third-party-shadow-primary: #ffb80c;--third-party-shadow-secondary: transparent;--third-party-border-default: transparent;--third-party-border-secondary: transparent;--third-party-input-default: #f2f2f2;--third-party-input-disabled: var(--form-input-bg-disabled);--third-party-bg-default: #ebebeb;--third-party-bg-disabled: var(--form-input-bg-disabled);--third-party-gradient-primary-light: #ffc331;--third-party-gradient-primary-dark: #ffb80c;--third-party-gradient-secondary-light: #333333;--third-party-gradient-secondary-dark: #222222;--third-party-gradient-tertiary-light: #f2f2f2;--third-party-gradient-tertiary-dark: #f2f2f2;--third-party-password-txt-success: var(--third-party-check);--third-party-password-icon-success: var(--third-party-password-txt-success);--third-party-password-txt-error: var(--third-party-error);--third-party-password-icon-error: var(--third-party-password-txt-error);--third-party-password-txt-default: #878e92;--third-party-password-icon-default: var(--third-party-password-txt-default);--third-party-login-content-bg: var(--third-party-bg-default);--third-party-login-banner-dot: color-mix(in srgb, var(--third-party-primary), transparent 50%);--third-party-login-banner-dot-active: var(--third-party-primary);--third-party-login-form-txt: var(--third-party-txt-fourth);--third-party-login-form-txt-active: var(--third-party-txt-fourth);--third-party-login-form-input-bg: var(--third-party-input-default);--third-party-login-form-input-border: var(--third-party-border-default);--third-party-login-form-input-txt: var(--form-input-txt);--third-party-login-form-input-txt-placeholder: var( --form-input-txt-placeholder );--third-party-login-form-input-border-focus: var(--third-party-primary);--third-party-login-form-input-bg-disabled: var(--third-party-input-disabled);--third-party-login-form-input-border-disabled: var( --third-party-border-secondary );--third-party-login-form-input-txt-disabled: var(--third-party-txt-disabled);--third-party-login-form-eyes-icon-color: rgba(34, 34, 34, .5);--third-party-login-form-clear-icon-color: rgba(34, 34, 34, .5);--third-party-login-puzzle-box-bg: var(--third-party-input-default);--third-party-login-puzzle-box-border: var(--third-party-border-default);--third-party-login-puzzle-box-txt: var(--third-party-txt-fourth);--third-party-login-puzzle-box-refresh-icon-color: var( --third-party-txt-default );--third-party-login-puzzle-box-slider-bg: var(--third-party-bg-default);--third-party-login-puzzle-box-slider-border: var( --third-party-border-default );--third-party-login-puzzle-box-slider-btn-bg: linear-gradient( 90deg, var(--third-party-gradient-primary-light) 0%, var(--third-party-gradient-primary-dark) 50% );--third-party-login-puzzle-box-slider-btn-inner-shadow: var( --third-party-shadow-primary );--third-party-login-puzzle-box-slider-btn-arrow-icon-color: #222222;--third-party-login-puzzle-box-tips-txt: var(--third-party-txt-default);--third-party-login-puzzle-box-slider-bg-success: color-mix(in srgb, var(--third-party-check), transparent 70%);--third-party-login-puzzle-box-slider-border-success: var( --third-party-check );--third-party-login-puzzle-box-slider-btn-bg-success: var( --third-party-check );--third-party-login-puzzle-box-slider-btn-inner-shadow-success: var( --third-party-check );--third-party-login-puzzle-box-slider-btn-arrow-icon-color-success: var( --third-party-txt-secondary );--third-party-login-puzzle-box-tips-txt-success: var(--third-party-check);--third-party-login-puzzle-box-slider-bg-error: color-mix(in srgb, var(--third-party-error), transparent 70%);--third-party-login-puzzle-box-slider-border-error: var(--third-party-error);--third-party-login-puzzle-box-slider-btn-bg-error: var(--third-party-error);--third-party-login-puzzle-box-slider-btn-inner-shadow-error: var( --third-party-error );--third-party-login-puzzle-box-slider-btn-arrow-icon-color-error: var( --third-party-txt-secondary );--third-party-login-puzzle-box-tips-txt-error: var(--third-party-error);--third-party-login-btn-main-bg: linear-gradient( to right, var(--third-party-gradient-primary-light) 0%, var(--third-party-gradient-primary-dark) 50% );--third-party-login-btn-main-txt: var(--third-party-txt-default);--third-party-login-btn-main-bg-shadow: #06080f;--third-party-login-btn-main-bg-inner-shadow: var( --third-party-shadow-primary );--third-party-login-btn-main-bg-disabled: var(--btn-main-bg-disabled);--third-party-login-btn-main-txt-disabled: var(--btn-main-txt-disabled);--third-party-login-txt: var(--third-party-txt-default);--third-party-login-biometric-btn: var(--third-party-primary);--third-party-login-biometric-btn-txt: var(--third-party-bg-default);--third-party-login-color-danger: var(--third-party-error);--third-party-login-findpassword-txt: var(--third-party-primary);--third-party-login-tab-txt: var(--third-party-txt-default);--third-party-login-tab-txt-active: var(--third-party-primary);--third-party-login-tab-line-active: var(--third-party-primary);--third-party-verification-code-txt: var(--third-party-txt-default);--third-party-verification-tips-txt: var(--third-party-verification-code-txt);--third-party-verification-code-txt-highlight: var(--third-party-primary);--third-party-verification-code-link: var(--third-party-primary);--third-party-register-title: var(--third-party-primary);--third-party-register-btn-main-bg: linear-gradient( 180deg, --third-party-gradient-primary-light 0%, --third-party-gradient-primary-dark 100% );--third-party-register-btn-main-bg-inner-shadow: var( --third-party-shadow-primary );--third-party-register-btn-main-txt: var(--third-party-txt-default);--third-party-register-btn-secondary-bg: linear-gradient( 135deg, var(--third-party-gradient-secondary-light) 0%, var(--third-party-gradient-secondary-dark) 50% );--third-party-register-btn-secondary-bg-inner-shadow: var( --third-party-shadow-secondary );--third-party-register-btn-secondary-txt: var(--third-party-txt-secondary);--third-party-register-btn-tertiary-bg: var(--btn-main-bg);--third-party-register-btn-tertiary-txt: var(--btn-main-txt);--third-party-register-tips-txt: var(--third-party-txt-default);--third-party-register-link: var(--third-party-primary);--third-party-register-footer-tips-txt: var(--third-party-txt-default);--third-party-register-affiliate: var(--third-party-txt-default);--third-party-register-form-select-triangle: var(--third-party-txt-default);--third-party-register-form-select-item-bg: var( --third-party-login-form-input-bg );--third-party-register-form-select-item-hover: color-mix(in srgb, var(--third-party-register-form-select-item-bg), white 20%);--third-party-register-form-check-icon-color: var(--third-party-primary);--third-party-register-form-tips-txt: var(--third-party-txt-default);--third-party-register-form-tips-highlight: var(--third-party-primary);--third-party-register-succes-title: var(--primary);--third-party-register-success-subtitle: var(--color-title);--third-party-register-success-txt: var(--third-party-txt-default);--third-party-register-success-copy-icon-color: var(--third-party-primary);--third-party-register-success-input-border: var( --third-party-border-default );--third-party-register-success-input-copy-btn-bg: var( --third-party-border-default );--third-party-personal-item-title: var(--third-party-txt-fourth);--third-party-personal-item-icon-color: var(--third-party-primary);--third-party-personal-item-icon-color-border: var( --third-party-border-default );--third-party-personal-item-tag-txt: var(--third-party-primary);--third-party-personal-item-tag-bg: color-mix(in srgb, var(--third-party-primary), transparent 90%);--third-party-personal-item-tag-tips: var(--third-party-txt-default);--third-party-personal-item-status-bg: transparent;--third-party-personal-item-status-txt: var(--third-party-check);--third-party-personal-item-status-border: var( --third-party-personal-item-status-txt );--third-party-personal-item-status-error-bg: var(--third-party-error);--third-party-personal-item-status-error-border: transparent;--third-party-personal-item-status-error-txt: #ffffff;--third-party-personal-membername-wrap-bg: transparent;--third-party-personal-membername-wrap-txt: var(--third-party-txt-default);--third-party-personal-vip-membername-txt: var(--third-party-txt-default);--third-party-personal-membername-wrap-tips: var(--color-muted);--third-party-personal-membername-wrap-level-bg: linear-gradient( 105deg, #c8c3b2 2%, #80795a 100% );--third-party-personal-membername-wrap-level-txt: #ffffff;--third-party-personal-myvip-txt: var(--third-party-primary);--third-party-personal-tips-info-border: #51699e;--third-party-personal-tips-info-border-top: color-mix(in srgb, var(--third-party-txt-fourth), transparent 80%);--third-party-personal-tips-info-icon: var(--third-party-txt-fourth);--third-party-personal-tips-info-txt: var(--third-party-txt-fourth);--third-party-personal-tips-info-txt-i: #ffd268;--third-party-personal-tips-info-toggle-btn: var(--third-party-txt-fourth);--third-party-personal-add-phone-bg: transparent;--third-party-personal-add-phone-txt: var(--third-party-txt-default);--third-party-personal-add-phone-border: var(--third-party-txt-default);--quick-register-entry-btn-active-shadow: var( --third-party-register-btn-main-bg-inner-shadow );--quick-register-entry-btn-active-bg: linear-gradient( 180deg, var(--third-party-gradient-primary-light) 0%, var(--third-party-gradient-primary-dark) 100% );--quick-register-entry-btn-border: var(--third-party-border-default);--quick-register-entry-btn-bg: var(--form-box-bg);--quick-register-entry-btn-name: rgba(var(--third-party-txt-fourth) .5);--quick-register-entry-btn-icon: rgba(var(--third-party-txt-fourth) .5);--quick-register-entry-invitation-code-bg: #586e9b;--quick-register-entry-invitation-code-border: #707fac;--quick-register-entry-btn-txt: var(--third-party-primary);--quick-register-entry-btn-txt-active: var(--third-party-primary);--page-main-header-bg: var(--popup-page-main-header-bg);--page-main-close-color: var(--color-title);--event-slick-dot-register: #ffffff;--slick-slide-shadow: rgba(0, 0, 0, .3);--color-card-title: #333333;--color-card-label-text: #3f2200;--color-card-label-bg: #fff7dc;--color-card-label-border: #ffeeb0;--fast-register-success-bg: #ffffff;--fast-register-success-cont-text: #555555;--svg-register-success-editor: var(--primary);--third-party-menubox-bg: #ffffff;--third-party-btn-mask-bg: linear-gradient(to right, #005fbe 0%, #252b73 50%);--third-party-btn-mask-bg-shadow: #005fbe;--third-party-pop-success-bg: rgba(255, 255, 255, .8);--third-party-pop-success-txt: #70b267;--desktop-searchpage-border: var(--color-border);--lighten-third-party-btn-mask-bg-shadow-1: hsla( 210, 100%, 67%, 1 );--lighten-third-party-btn-mask-bg-shadow-2: hsla( 210, 100%, 77%, 1 );--tab-btn-bar-line-shadow: hsla( 20, 0%, 10%, 1 );--loading-animation-card-banner: hsla(250, 62%, 32%, 1) //lighten(var(--content-bg), 5%) }[_ngcontent-%COMP%]:root{--profile-vip-title: var(--color-title);--profile-vip-number: var(--secondary);--profile-vip-btn-bg: #79a5fc;--profile-vip-btn-txt: var(--color-title);--profile-vip-arrow-icon-color: #ffffff;--profile-txt: rgba(255, 255, 255, .3);--profile-name: #ffd259;--profile-tips-txt: var(--color-title);--profile-tips-link: #b9c9ff;--profile-member-menu-point-bg: #ffffff;--pop-getvcode-btn: #79a5fc;--pop-getvcode-btn-txt: #ffffff;--pop-getvcode-countdown-txt: #ffffff;--pop-getvcode-resend-txt: #79a5fc;--bonuswallet-card-bg: linear-gradient(0deg, #464998 0%, #342e81 100%);--bonuswallet-title: var(--color-title);--bonuswallet-zone: rgba(255, 255, 255, .3);--bonuswallet-border: var(--secondary);--bonuswallet-amount: #ffd259;--bonuswallet-amount-complete: #ffd259;--bonuswallet-amount-disable: rgba(255, 210, 89, .5);--bonuswallet-progress-bar-bg: rgba(255, 255, 255, .1);--bonuswallet-progress-bar-bg-shadow: #999999;--bonuswallet-progress-bar-bg-active: linear-gradient( 90deg, #734b07 0%, #916d21 25%, #b69942 50%, #dbc463 75%, #f8e67d 100% );--bonuswallet-progress-bar-bg-active-shadow: #734b07;--bonuswallet-progress-bar-txt: #a0a2ca;--bonuswallet-dot: rgba(255, 255, 255, .5);--bonuswallet-detail-txt: #b9c9ff;--bonuswallet-claim-btn-txt: var(--color-walletcard-tx);--bonuswallet-claim-btn-bg: linear-gradient( to bottom, #eed29f 0%, #cca967 100% );--bonuswallet-cancel-btn-txt: var(--color-walletcard-tx);--bonuswallet-cancel-btn-bg: linear-gradient( to bottom, #d15454 0%, #cb4141 100% );--bonuswallet-receive-btn-txt: var(--color-walletcard-tx);--bonuswallet-receive-btn-bg: linear-gradient( to bottom, #9fd562 0%, #7cb43e 100% );--bonuswallet-disabled-btn-bg: linear-gradient( to bottom, #d8d8d8 0%, #bfbfbf 100% );--bonuswallet-disabled-btn-txt: #444444;--bonuswallet-working-btn-bg: linear-gradient( to bottom, #d8d8d8 0%, #bfbfbf 100% );--bonuswallet-working-btn-txt: #ffffff;--voucher-card-bg: var(--form-box-bg);--voucher-title: var(--color-title);--voucher-border: var(--secondary);--voucher-dealline: var(--color-muted);--voucher-zone: var(--color-muted);--voucher-detail: var(--primary);--voucher-amount: var(--primary);--voucher-txt: var(--color-text);--voucher-start-btn-bg: var(--btn-main-bg);--voucher-start-btn-txt: var(--btn-main-txt);--voucher-disabled-btn-bg: var(--btn-main-bg-disabled);--voucher-disabled-btn-txt: var(--btn-main-txt-disabled);--vip-bg: linear-gradient(245deg, #281a70 0%, #281a70 25%, #281a70 100%);--vip-card-bg: linear-gradient( 120deg, rgba(0, 236, 255, .5) 0%, rgba(98, 48, 213, .5) 40%, rgba(78, 92, 255, .5) 80%, rgba(0, 187, 230, .5) 100% );--vip-card-shadow: #ffffff;--vip-card-title: #ffffff;--vip-card-history-btn-bg: #ffd259;--vip-card-history-icon-color: #ffffff;--vip-card-progress-bar-bg: rgba(255, 255, 255, .2);--vip-card-progress-bar-bg-active: linear-gradient( to right, #b69942 0%, #cfaa47 25%, #ffd259 50%, #ffd259 75%, #cfaa47 100% );--vip-card-progress-bar-bg-active-shadow: #e6c86d;--vip-card-bar-dot: #ffffff;--vip-card-tips: rgba(255, 255, 255, .8);--vip-card-bottom-bg: var(--form-input-bg);--vip-card-bottom-more-txt: #ffffff;--vip-points-card-top-info-txt-strong: #e6c86d;--vip-points-progress-bar-txt: #e6c86d;--vip-total-ttile: rgba(255, 255, 255, .6);--vip-total-num: #ffffff;--vip-total-txt: var(--vip-total-ttile);--vip-total-txt-bg: rgba(0, 0, 0, .2);--vip-total-record-btn-bg: var(--vip-card-history-btn-bg);--vip-total-record-icon: var(--vip-card-history-icon);--vip-convert-title: rgba(255, 255, 255, .8);--vip-convert-border: var(--secondary);--vip-refresh-txt: var(--vip-convert-title);--vip-refresh-icon-color: #ffd259;--vip-cash-point-bg: linear-gradient( 180deg, rgba(40, 137, 243, .5) 0%, rgba(98, 50, 215, .5) 100% );--vip-cash-point-def: #ffd259;--vip-cash-point-grey: #9c9c9c;--vip-cash-point-title: var(--vip-total-ttile);--vip-cash-point-requirement-txt: var(--vip-total-ttile);--vip-cash-point-input-placeholder: rgba(255, 255, 255, .3);--vip-cash-point-input-txt: #ffd259;--vip-cash-point-input-error: var(--color-danger);--vip-cash-point-input-error-icon: #ffffff;--vip-cash-point-input-bg: var(--form-input-bg);--vip-cash-point-tips: var(--vip-convert-title);--vip-cash-point-default-btn-bg: linear-gradient( 90deg, #2f51b1 0%, #4528a5 100% );--vip-cash-point-default-btn-txt: var(--btn-main-txt);--vip-cash-point-default-btn-txt-shadow: none;--vip-cash-point-allow-btn-bg: #ffd259;--vip-cash-point-allow-btn-bg-box-shadow: rgba(102, 97, 73, .5);--vip-cash-point-allow-btn-bg-txt-shadow: none;--vip-ani-title: #ffffff;--vip-history-year: rgba(255, 255, 255, .8);--vip-history-month: var(--vip-refresh-icon-color);--vip-detail-lv1-bg: #ddd8c7;--vip-detail-lv2-bg: #dfdfdf;--vip-detail-lv3-bg: #e2dab5;--vip-detail-lv4-bg: #dae4f2;--vip-detail-lv5-bg: #dae4f2;--vip-detail-lv-bottom-bg: #282467;--vip-detail-lv-txt: #ffffff;--vip-detail-title-bg-lv1: linear-gradient(90deg, #bcb8a8 0%, #80795a 100%);--vip-detail-title-bg-lv2: linear-gradient(90deg, #c4c4c4 0%, #a2a2a2 100%);--vip-detail-title-bg-lv3: linear-gradient(90deg, #ccbb6f 0%, #a69234 100%);--vip-detail-title-bg-lv4: linear-gradient(90deg, #a7bcda 0%, #7596c5 100%);--vip-detail-title-bg-lv5: linear-gradient(90deg, #a7bcda 0%, #7596c5 100%);--vip-detail-box-bg: linear-gradient(180deg, #332d80 0%, #474998 100%);--vip-detail-box-bg-shadow: #281a70;--vip-detail-highlight-txt: #ffd259;--vip-detail-txt: #ffffff;--vip-detail-border: #281a70;--vip-detail-card-bg: linear-gradient(45deg, #48509c 0%, #473f8d 100%);--vip-detail-card-bg-shadow: rgba(0, 0, 0, .2);--vip-detail-card-txt: #b9c9ff;--vip-detail-link: #a0a2ca;--vip-points-table-head-bg: #393485;--vip-points-table-head-txt: #ffffff;--vip-points-table-head-border: rgba(255, 255, 255, .4);--vip-points-table-head-zone: rgba(255, 255, 255, .3);--vip-points-table-body-bg: var(--form-box-bg);--vip-points-table-body-record-bg: var(--vip-points-table-body-bg);--vip-points-table-body-txt: #ffffff;--vip-points-table-body-border: rgba(255, 255, 255, .15);--vip-points-table-body-top-border: var(--vip-points-table-body-bg);--vip-points-table-body-arrow-icon: var(--vip-points-table-body-txt);--accordion-bg: #363285;--accordion-title-bg: #363285;--accordion-title: #ffffff;--accordion-info-icon-color: var(--accordion-title);--accordion-arrow-icon-color: #ffffff;--accordion-dot: var(--color-border);--accordion-txt: #a0a2ca;--accordion-color-bg-title: #ffffff;--accordion-add-bank-card-title-bg: #444796;--accordion-triangle: #ffffff;--accordion-review: var(--color-info);--accordion-success: var(--color-success);--accordion-failed: var(--color-danger);--pop-verification-link: var(--secondary);--wallet-title-border: var(--secondary);--wallet-recommond-tag-bg: #ffb80c;--wallet-recommond-tag-bg-triangle: #5f4200;--wallet-recommond-tag-icon: #ffffff;--wallet-bouns-tag-bg: var(--color-danger);--wallet-bouns-tag-txt: #ffffff;--wallet-maintain-bg: rgba(40, 26, 112, .8);--wallet-maintain-txt: rgba(255, 255, 255, .8);--wallet-account-info-bg: var(--form-input-bg);--wallet-account-info-txt: var(--color-title);--wallet-account-info-border: rgba(255, 255, 255, .2);--wallet-account-info-copy-icon-color: #ffffff;--wallet-account-info-copy-tooltips-bg: #ffffff;--wallet-account-info-copy-tooltips-txt: rgba(0, 0, 0, .5);--wallet-account-info-copy-tooltips-txt-shadow: rgba(0, 0, 0, .5);--wallet-bank-card-bg: linear-gradient( 135deg, #00ecff 0%, #6230d5 20%, #4e5cff 70%, #00bbe6 100% );--wallet-bank-card-shadow: rgba(0, 0, 0, .3);--wallet-bank-card-txt: #ffffff;--wallet-bank-card-copy-icon-color: var(--wallet-bank-card-txt);--wallet-bank-card-amount: #ffea00;--wallet-bank-card-copy-active: rgba(0, 0, 0, .2);--wallet-bank-card-copy-tooltips-bg: var( --wallet-account-info-copy-icon-color );--wallet-bank-card-copy-tooltips-txt: var( --wallet-account-info-copy-tooltips-txt );--wallet-crypto-switch-icon-color: #ffffff;--wallet-crypto-tips-txt: rgba(255, 255, 255, .3);--wallet-crypto-tips-highlight: #ffffff;--wallet-qrcode-icon: #ffffff;--wallet-top-bg: #281a70;--wallet-top-txt: #ffffff;--tips-info-bg: var(--accordion-bg);--tips-info-title: var(--accordion-title);--tips-info-icon-color: var(--tips-info-title);--tips-info-arrow-icon-color: #ffffff;--tips-info-border: rgba(255, 255, 255, .4);--tips-info-personal-txt: #70b267;--tips-info-personal-bg: color-mix(in srgb, var(--tips-info-personal-txt), transparent 85%);--tips-info-content-txt: #409fff;--tips-info-content-bg: color-mix(in srgb, var(--tips-info-content-txt), transparent 85%);--tips-info-document-txt: #ff777c;--tips-info-document-bg: color-mix(in srgb, var(--tips-info-document-txt), transparent 85%);--tips-info-document-choose-one-txt: #ef67ab;--tips-info-document-choose-one-bg: color-mix(in srgb, var(--tips-info-document-choose-one-txt), transparent 85%);--tips-info-supporting-txt: #d8a845;--tips-info-supporting-bg: color-mix(in srgb, var(--tips-info-supporting-txt), transparent 85%);--wallet-pending-transactions-bg: #342e80;--wallet-pending-transactions-title: #ffffff;--wallet-pending-transactions-arrow-icon-color: var( --wallet-pending-transactions-title );--wallet-pending-transactions-number: var(--tips-info-title);--wallet-pending-transactions-date: #a0a2ca;--wallet-pending-transactions-amount: var(--tips-info-title);--wallet-pending-transactions-btn-bg: var(--radio-bg-checked);--wallet-pending-transactions-btn-border: var(--radio-border-checked);--wallet-pending-transactions-btn-txt: var(--radio-txt-checked);--wallet-free-tag-bg: var(--secondary);--wallet-free-tag-txt: #281a70;--wallet-super-fast-bg: linear-gradient( 60deg, #32d5cf, #00b5ff, #a4ff80, #00b5ff );--wallet-express-bg: linear-gradient( 60deg, #ff61a1, #ff9fa2, #ffcc59, #ff59bd );--wallet-select-bank-card-txt: var(--wallet-top-txt);--wallet-bankcard-bg: var(--radio-bg);--wallet-bankcard-bg-checked-bg: var(--radio-bg-checked);--wallet-bankcard-bg-checked-border: #db85b7;--wallet-bankcard-swift-bg: rgba(0, 0, 0, .2);--wallet-otp-send-btn-bg: #79a5fc;--wallet-otp-send-btn-txt: #ffffff;--wallet-otp-resend-txt: #ffd259;--wallet-amount-info-icon: #ffae12;--wallet-amount-info-icon-txt: var(--form-box-bg);--wallet-amount-info-txt: var(--wallet-amount-info-icon);--bank-card-frost-mask: rgba(234, 234, 234, .8);--bank-card-frost-txt: var(--content-bg);--bank-card-frost-icon: var(--content-bg);--bank-card-frost-btn: hsla( 250, 62%, 27%, 1 );--bank-card-frost-btn-txt: #ffffff;--wallet-kyc-verify-mask-bg: rgba(47, 47, 47, .4);--wallet-kyc-verify-mask-txt: #ffffff;--wallet-kyc-verify-mask-txt-shadow: rgba(0, 0, 0, .6);--transaction-pop-processing-cont-border-color: var(--form-input-border);--transaction-pop-state-bg: var(--color-warning);--transaction-pop-state-icon-bg: #ffffff;--transaction-pop-processing-title: var(--secondary);--transaction-pop-processing-txt: var(--color-text);--transaction-pop-amount-cont-txt-strong: var(--secondary);--transaction-pop-amount-cont-txt: var(--color-text);--transaction-pop-info-list-title: var(--color-title);--transaction-pop-info-list-title-bg: var(--form-input-bg-disabled);--transaction-pop-info-list-txt: var(--color-text-strong);--transaction-pop-info-list-txt-bg: var(--form-input-bg);--transfer-ani-txt: #ffffff;--transfer-ani-default-tips-bg: #889fa5;--transfer-ani-default-tips-border: #dadde2;--transfer-ani-platform-bg: #363285;--transfer-ani-platform-darken-color: #281a70;--transfer-ani-platform-lighten-color: #444796;--transfer-ani-platform-logo-border: #c5c5c5;--transfer-ani-platform-secondary-darken-color: #ffd259;--transfer-ani-platform-secondary-lighten-color: #ffd96f;--transfer-ani-account-bg: linear-gradient( 180deg, rgba(216, 216, 216, .8) 0%, rgba(255, 255, 255, .8) 100% );--transfer-ani-account-darken-color: #889fa5;--transfer-ani-account-lighten-color: #dadde2;--transfer-ani-account-logo-border: #dadde2;--transfer-ani-default-bg: #b1bdc5;--transfer-ani-default-light-bg: #82a0aa;--transfer-ani-default-circle-bg: #a3cfcd;--transfer-ani-default-circle-shadow: #82a0aa;--filter-bg: var(--form-box-bg);--filter-title: #ffffff;--filter-item-bg: var(--radio-bg);--filter-item-txt: var(--radio-txt);--filter-item-border: var(--radio-border);--filter-item-bg-hover: var(--radio-bg-hover);--filter-item-txt-hover: var(--radio-txt-hover);--filter-item-border-hover: var(--radio-border-hover);--filter-item-bg-active: var(--radio-bg-checked);--filter-item-txt-active: var(--radio-txt-checked);--filter-item-border-active: var(--radio-border-checked);--filter-btn: var(--search-btn);--transaction-record-filter-icon: var(--search-search-icon);--transaction-record-table-body-date-bg: var(--form-box-bg);--transaction-record-table-body-date: rgba(255, 255, 255, .3);--transaction-record-calendar-icon-color: rgba(255, 255, 255, .3);--transaction-record-table-body-zone: rgba(255, 255, 255, .3);--transaction-record-pending: var(--color-warning);--transaction-record-revert: var(--color-info);--transaction-record-negative: var(--color-danger);--transaction-record-positive: var(--color-success);--transaction-record-pending-bg: color-mix(in srgb, var(--transaction-record-pending), transparent 10%);--transaction-record-revert-bg: color-mix(in srgb, var(--transaction-record-revert), transparent 10%);--transaction-record-negative-bg: color-mix(in srgb, var(--transaction-record-negative), transparent 10%);--transaction-record-positive-bg: color-mix(in srgb, var(--transaction-record-positive), transparent 10%);--transaction-record-status-txt: #ffffff;--pop-transaction-details-bank-name-bg: #281a70;--pop-transaction-details-bank-name-txt: var(--color-title);--pop-transaction-details-header-bg: #281a70;--pop-transaction-details-header-txt: var(--color-title);--pop-transaction-details-close-icon-color: #ffffff;--pop-transaction-details-tab-bg: transparent;--pop-transaction-details-title: #ffffff;--pop-transaction-details-date: rgba(255, 255, 255, .4);--pop-transaction-details-message-bg: #363285;--pop-transaction-details-message-current-txt: #ffffff;--pop-transaction-details-message-txt: color-mix(in srgb, var(--pop-transaction-details-message-current-txt), transparent 40%);--pop-transaction-details-table-bg: #393485;--pop-transaction-details-table-bg-even: #444796;--pop-transaction-details-table-txt: #ffffff;--pop-transaction-details-tips-txt: #ffffff;--pop-transaction-details-timer: var(--btn-main-txt-disabled);--pop-transaction-details-btn-area-bg: #281a70;--transaction-record-table-body-empty-bg: var(--form-box-bg);--betting-record-positive-txt: var(--color-success);--betting-record-negative-txt: var(--color-danger);--betting-details-table-head-bg: #4d4891;--betting-details-table-head-border: #776cb1;--betting-record-table-head-title: #ffffff;--betting-record-table-head-txt: rgba(255, 255, 255, .8);--betting-record-table-date-area-bg: transparent;--betting-record-table-zone: #4d4891;--betting-record-tooltips-icon-color: rgba(255, 255, 255, .3);--betting-record-tooltips-bg: #4d4891;--betting-record-tooltips-border: var(--betting-record-tooltips-bg);--betting-record-tooltips-txt: #ffffff;--betting-record-tooltips-revocation: #79a5fc;--betting-record-tooltips-void: #ffd259;--betting-record-tooltips-refund: #ff5959;--cricket-betting-details-total-bg: #ffb80c;--cricket-betting-details-total-title-bg: #222222;--cricket-betting-details-total-title: #ffb80c;--cricket-betting-details-total-platform-bg: var( --cricket-betting-details-total-title-bg );--cricket-betting-details-total-platform: #ffffff;--cricket-betting-details-total-txt: #222222;--cricket-betting-details-title: #222222;--cricket-betting-details-tag-bg: #f2f2f2;--cricket-betting-details-tag-txt: var(--color-muted);--cricket-betting-details-date-txt: var(--color-muted);--cricket-betting-details-collapse-arrow: #222222;--cricket-betting-details-avg-odds-circle: #ffb80c;--cricket-betting-details-avg-odds-icon: #222222;--cricket-betting-details-turnover-circle: #222222;--cricket-betting-details-turnover-icon: #ffb80c;--cricket-betting-details-stake-circle: var( --cricket-betting-details-turnover-circle );--cricket-betting-details-stake-icon: var( --cricket-betting-details-turnover-icon );--cricket-betting-details-profit-circle: var( --cricket-betting-details-avg-odds-circle );--cricket-betting-details-profit-icon: var( --cricket-betting-details-avg-odds-icon );--cricket-betting-details-value-number: #ffffff;--cricket-betting-details-value-title: var(--color-muted);--cricket-betting-details-value: #222222;--cricket-betting-details-sub-item-bg: #f2f2f2;--cricket-betting-details-sub-item-sport-icon: #222222;--cricket-betting-details-sub-item-vs-txt: #222222;--cricket-betting-details-sub-item-title: var(--color-muted);--cricket-betting-details-sub-item-txt: #222222;--cricket-betting-details-sub-item-market-txt: #ffffff;--cricket-betting-details-sub-item-win-txt: #ffffff;--cricket-betting-details-sub-item-lose-txt: #ffffff;--cricket-betting-details-sub-item-cancel-txt: #222222;--cricket-betting-details-sub-item-voided-txt: var( --cricket-betting-details-value );--cricket-betting-details-sub-item-table-bg: #ffffff;--cricket-betting-details-sub-item-select-title: #ffffff;--cricket-betting-details-sub-item-value-title: var( --cricket-betting-details-value-title );--cricket-betting-details-sub-item-value: var( --cricket-betting-details-value );--cricket-betting-details-profit-amount: var(--color-danger);--mail-notice-icon-circle-bg: linear-gradient( 220deg, #63e9ec 0%, #7900e2 100% );--mail-date-bg: var(--content-bg);--mail-date-txt: rgba(255, 255, 255, .3);--mail-date-calendar-icon-color: var(--mail-date-txt);--mail-date-zone: rgba(255, 255, 255, .3);--mail-list-bg: var(--content-bg);--mail-list-title: var(--color-title);--mail-list-txt: rgba(255, 255, 255, .3);--mail-list-border: var(--vip-points-table-body-border);--mail-editor-icon-color: #ffffff;--mail-editor-pop-bg: var(--pop-bg-content);--mail-editor-pop-txt: #ffffff;--mail-editor-choose-icon-color: var(--color-muted);--mail-editor-choose-icon-active: var(--color-success);--mail-editor-pop-check-bg: #79a5fc;--mail-editor-pop-check-txt: #ffffff;--recommend-gift-bg: linear-gradient(270deg, #6481cd 0%, #a1b6ee 80%);--recommend-title: var(--color-title);--recommend-border: #ffd259;--recommend-txt: var(--vip-detail-card-txt);--recommend-input-border: #6e8ad2;--recommend-input-btn: linear-gradient(270deg, #79a5fc 0%, #79a5fc 80%);--recommend-share-btn: linear-gradient(60deg, #79a5fc 0%, #79a5fc 100%);--recommend-share-txt: #ffffff;--recommend-dot: var(--accordion-dot);--recommend-condition-title: #b9c9ff;--recommend-condition-dot: #ffd259;--recommend-condition-bg: #342e81;--recommend-terms-link: #6481cd;--recommend-input-bg: #393485;--recommend-complete-txt: #b9c9ff;--recommend-rewards-datepicker-txt: #ffffff;--recommend-pending-txt: var(--color-warning);--recommend-expired-txt: var(--color-danger);--referral-reward-tab-btn-bg: var(--radio-bg);--referral-reward-tab-btn-txt: var(--radio-txt);--referral-reward-tab-btn-border: var(--radio-border);--referral-reward-tab-btn-bg-hover: var(--radio-bg-hover);--referral-reward-tab-btn-txt-hover: var(--radio-txt-hover);--referral-reward-tab-btn-border-hover: var(--radio-border-hover);--referral-reward-tab-btn-bg-active: var(--radio-bg-checked);--referral-reward-tab-btn-txt-active: var(--radio-txt-checked);--referral-reward-tab-btn-border-active: var(--radio-border-checked);--referral-reward-tab-btn-underline-active: var(--radio-underline-checked);--referral-reward-lock-mask: rgba(0, 0, 0, .7);--referral-reward-complete-mask: rgba(64, 208, 203, .7);--turnover-card-bg: linear-gradient( 180deg, rgba(54, 50, 133, .8) 0%, rgba(78, 85, 162, .8) 100% );--turnover-card-bg-completed: var(--turnover-card-bg);--turnover-card-title: var(--color-title);--turnover-card-border: var(--primary);--turnover-card-date: var(--pop-bonuswallet-card-date);--turnover-card-detail: var(--pop-bonuswallet-card-detail);--pop-turnover-table-bg: rgba(255, 255, 255, .1);--pop-turnover-table-txt: #ffffff;--pop-turnover-table-border: var(--pop-bg-content);--pop-turnover-arrow-icon-color: var(--primary);--pop-turnover-check-icon: url(/assets/images/icon-set/icon-check-type01.svg);--verify-otp-txt: var(--color-title);--verify-otp-phone-txt: var(--primary);--verify-otp-mail-icon-color: var(--btn-main-txt);--verify-otp-mail-icon-disabled: var(--btn-main-txt-disabled);--pop-verify-add-success-close-icon: #ffffff;--realtime-bonus-available-bg: linear-gradient( to bottom, var(--content-bg) 0%, var(--form-box-bg) 100% );--realtime-bonus-available-title: #ffffff;--realtime-bonus-available-title-icon: var(--realtime-bonus-available-title);--realtime-bonus-available-amount: var(--color-title);--realtime-bonus-available-tips-txt: var(--color-warning);--realtime-bonus-available-btn-bg: var(--btn-main-bg);--realtime-bonus-available-btn-txt: var(--btn-main-txt);--realtime-bonus-claimed-title: var(--color-text);--realtime-bonus-claimed-value: var(--primary);--realtime-bonus-summary-tab-btn-bg: var(--radio-bg);--realtime-bonus-summary-tab-btn-txt: var(--radio-txt);--realtime-bonus-summary-tab-btn-border: var(--radio-border);--realtime-bonus-summary-tab-btn-bg-hover: var(--radio-bg-hover);--realtime-bonus-summary-tab-btn-txt-hover: var(--radio-txt-hover);--realtime-bonus-summary-tab-btn-border-hover: var(--radio-border-hover);--realtime-bonus-summary-tab-btn-bg-active: var(--radio-bg-checked);--realtime-bonus-summary-tab-btn-txt-active: var(--radio-txt-checked);--realtime-bonus-summary-tab-btn-border-active: var(--radio-border-checked);--realtime-bonus-summary-tab-btn-underline-active: var( --radio-underline-checked );--realtime-bonus-summary-list-header-bg: var(--form-input-bg);--realtime-bonus-summary-list-header-title: var(--color-title);--realtime-bonus-summary-list-header-arrow-icon: var( --realtime-bonus-summary-list-header-title );--realtime-bonus-summary-list-header-total-bg: var(--form-box-bg);--realtime-bonus-summary-list-header-total-rebate-title: var(--color-muted);--realtime-bonus-summary-list-header-total-rebate-amount: var(--primary);--realtime-bonus-summary-list-header-total-claimed-title: var(--color-muted);--realtime-bonus-summary-list-header-total-claimed-amount: var(--color-title);--realtime-bonus-summary-list-header-total-expired-title: var( --realtime-bonus-summary-list-header-total-claimed-title );--realtime-bonus-summary-list-header-total-expired-amount: var( --realtime-bonus-summary-list-header-total-claimed-amount );--realtime-bonus-summary-list-content-bg: var(--form-box-bg);--realtime-bonus-summary-list-content-border: var( --realtime-bonus-summary-list-header-bg );--realtime-bonus-summary-list-content-title: var(--color-title);--realtime-bonus-summary-list-content-txt: var(--color-text);--pop-realtime-bonus-number: var(--primary);--realtime-bonus-game-type-accordion-header-bg: rgba(0, 0, 0, .3);--realtime-bonus-game-type-accordion-title: var(--pop-txt);--realtime-bonus-game-type-accordion-title-active: var(--color-title);--realtime-bonus-game-type-accordion-content-bg: var(--form-input-bg);--realtime-bonus-game-type-list-separator: rgba(255, 255, 255, .1);--realtime-bonus-vendor-title: var(--recommend-complete-txt);--realtime-bonus-vendor-detail: var(--color-muted);--about-us-bg: var(--content-bg);--about-us-title: var(--color-title);--about-us-table-bg: transparent;--about-us-table-title: var(--color-title);--about-us-table-title-txt: rgba(255, 255, 255, .6);--about-us-table-title-bg: #79a5fc;--about-us-table-title-border: var(--about-us-table-title-bg);--about-us-mail-link: #79a5fc;--tips-info-txt: var(--color-title);--tips-info-i: var(--tips-info-txt);--tips-personal-info-tag: #70b267;--tips-content-info-tag: #409fff;--tips-document-info-tag: #ff777c;--tips-document-choose-one-info-tag: #ef67dd;--tips-info-supporting-txt-tag: #d8a845}header[_ngcontent-%COMP%]{z-index:60}.pop-bg[_ngcontent-%COMP%]{z-index:120}.pop-wrap[_ngcontent-%COMP%]{z-index:129}.menu-mask[_ngcontent-%COMP%]{z-index:115}.gotop[_ngcontent-%COMP%]{z-index:84}.float-banner[_ngcontent-%COMP%]{z-index:80}.searchpage[_ngcontent-%COMP%]{z-index:129}.launch-game-content[_ngcontent-%COMP%]{z-index:115}.tips-display[_ngcontent-%COMP%]{z-index:116}.loader-box[_ngcontent-%COMP%]{z-index:9002}.loading-mask[_ngcontent-%COMP%]{z-index:9001}.rotating-pop[_ngcontent-%COMP%]{z-index:130}.transparent-overlay[_ngcontent-%COMP%]{z-index:128}#chat-widget-container[_ngcontent-%COMP%]{z-index:120!important}[_ngcontent-%COMP%]:root{--desktop-header-logo-width: 100px;--desktop-header-main-height: 76px;--desktop-header-nav-height: 45px;--desktop-menu-style-change-point: 1200px;--desktop-layout-content-max-width: 1200px;--desktop-layout-content-limit-gap: 16px;--desktop-layout-content-limit: calc( 100% - calc((var(--desktop-layout-content-limit-gap)) * 2) );--desktop-layout-content-limit-when-menu-open: calc( 100% - calc((var(--desktop-layout-content-limit-gap)) * 4) );--desktop-header-bg: #000;--desktop-header-nav-bg: #000;--desktop-header-nav-txt: #fff;--desktop-header-nav-border: var(--color-border);--desktop-header-nav-arrow-icon: var(--desktop-header-nav-txt);--desktop-header-nav-bg-hover: linear-gradient( to bottom, transparent 0%, transparent 50%, var(--primary-gradient-from) 50%, var(--primary-gradient-to) 100% );--desktop-header-nav-txt-hover: var(--radio-txt-hover);--desktop-header-nav-arrow-icon-hover: var(--desktop-header-nav-txt-hover);--desktop-header-nav-bg-open: var(--desktop-header-nav-bg-hover);--desktop-header-nav-txt-open: var(--desktop-header-nav-txt-hover);--desktop-header-nav-arrow-icon-open: var(--desktop-header-nav-txt-open);--desktop-header-nav-bg-active: var(--desktop-header-nav-bg-hover);--desktop-header-nav-txt-active: var(--desktop-header-nav-txt-hover);--desktop-header-nav-arrow-icon-active: var( --desktop-header-nav-arrow-icon-hover );--desktop-header-nav-underline-active: var(--radio-underline-checked);--desktop-header-sub-nav-bg: rgba(0, 0, 0, .7);--desktop-header-sub-nav-txt: #fff;--desktop-header-sub-nav-maintain-bg: linear-gradient( 270deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .7) 35%, rgba(0, 0, 0, .7) 65%, rgba(0, 0, 0, 0) 100% );--desktop-header-sub-nav-maintain-txt: #cfcfcf;--desktop-header-user-icon: #e9e9e9;--desktop-header-login-bg: #2d2e30;--desktop-header-login-txt: #fff;--desktop-header-login-shadow: transparent;--desktop-header-register-bg: #2d2e30;--desktop-header-register-txt: #fff;--desktop-header-register-shadow: transparent;--desktop-header-deposit-bg: #3b392f;--desktop-header-deposit-txt: #fff;--desktop-header-wallet-bg: #3b392f;--desktop-header-wallet-txt: #fff;--desktop-header-dropdown-menu-bg: var(--content-bg);--desktop-header-dropdown-menu-txt: #fff;--desktop-header-dropdown-menu-txt-hover: var(--primary);--desktop-header-dropdown-menu-border: var(--color-border);--desktop-header-dropdown-menu-hightlight: var(--primary);--desktop-header-dropdown-menu-inbox-bg: #454545;--desktop-header-dropdown-menu-inbox-txt: #fff;--desktop-left-menu-search-btn-bg: var(--sidenav-category-bg);--desktop-left-menu-search-btn-txt: var(--form-input-txt-placeholder);--desktop-left-menu-search-btn-search-icon: var(--form-clear-icon-color);--desktop-left-menu-search-btn-border-hover: var(--primary);--desktop-left-menu-1st-bg: var(--sidenav-category-bg);--desktop-left-menu-2nd-bg: var(--desktop-left-menu-1st-bg);--desktop-left-menu-1st-item-txt: var(--radio-txt);--desktop-left-menu-1st-item-arrow: var(--radio-txt);--desktop-left-menu-1st-item-bg-hover: linear-gradient( to left, transparent 0%, transparent 50%, var(--primary-gradient-from) 50%, var(--primary-gradient-to) 100% );--desktop-left-menu-1st-item-txt-hover: var(--radio-txt-hover);--desktop-left-menu-1st-item-arrow-hover: var(--radio-txt-hover);--desktop-left-menu-1st-item-bg-checked: var( --desktop-left-menu-1st-item-bg-hover );--desktop-left-menu-1st-item-txt-checked: var(--radio-txt-checked);--desktop-left-menu-1st-item-arrow-checked: var(--radio-txt-checked);--desktop-left-menu-1st-item-underline-checked: var( --radio-underline-checked );--desktop-left-menu-2nd-item-txt: var(--radio-txt);--desktop-left-menu-2nd-item-maintain-bg: var( --desktop-header-sub-nav-maintain-bg );--desktop-left-menu-2nd-item-maintain-txt: var( --desktop-header-sub-nav-maintain-txt );--desktop-feature-game-tab-bg: var(--form-box-bg);--desktop-feature-game-tab-txt: var(--radio-txt);--desktop-feature-game-tab-border: var(--radio-border);--desktop-feature-game-tab-bg-hover: var(--radio-bg-hover);--desktop-feature-game-tab-txt-hover: var(--radio-txt-hover);--desktop-feature-game-tab-border-hover: var(--radio-border-hover);--desktop-feature-game-tab-bg-checked: var(--radio-bg-checked);--desktop-feature-game-tab-txt-checked: var(--radio-txt-checked);--desktop-feature-game-tab-border-checked: var(--radio-border-checked);--desktop-feature-game-tab-underline-checked: var(--radio-underline-checked);--desktop-feature-game-tab-active-bg: var(--radio-bg-checked);--desktop-feature-game-coming-soon-bg: var(--form-box-bg);--desktop-feature-game-coming-soon-pic-bg: var(--form-input-bg);--desktop-feature-game-coming-soon-pic-txt: var(--color-muted);--desktop-feature-game-coming-soon-pic-gradient-txt: radial-gradient( 50% 50% at 50% 30%, #818890 0%, #4b4f54 100% );--desktop-feature-game-coming-soon-pic-loading-bg: linear-gradient( 90deg, #717171 0%, #313131 50%, #717171 100% );--desktop-feature-game-coming-soon-pic-loading-txt: var(--color-muted);--desktop-games-tab-bg: var(--form-box-bg);--desktop-games-tab-txt: var(--radio-txt);--desktop-games-tab-border: var(--radio-border);--desktop-games-tab-bg-hover: var(--radio-bg-hover);--desktop-games-tab-txt-hover: var(--radio-txt-hover);--desktop-games-tab-border-hover: var(--radio-border-hover);--desktop-games-tab-bg-checked: var(--radio-bg-checked);--desktop-games-tab-txt-checked: var(--radio-txt-checked);--desktop-games-tab-border-checked: var(--radio-border-checked);--desktop-games-tab-underline-checked: var(--radio-underline-checked);--desktop-games-tab-active-bg: var(--radio-bg-checked)}[_nghost-%COMP%]{display:contents}.layout-desktop[_ngcontent-%COMP%]{display:contents;overflow-y:hidden;overflow-x:auto}.layout-desktop__inner[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;height:100%}.layout-desktop__inner[_ngcontent-%COMP%] .layout-desktop__menu[_ngcontent-%COMP%]{flex:none;height:100%;position:relative}@media screen and (max-width: var(--desktop-menu-style-change-point)){.layout-desktop__inner[_ngcontent-%COMP%] .layout-desktop__menu[_ngcontent-%COMP%]{position:fixed;left:0;top:0;z-index:66}}.layout-desktop__inner[_ngcontent-%COMP%] .layout-desktop__main[_ngcontent-%COMP%]{flex:1;position:relative;width:100%;height:100%;flex-direction:column;display:flex;align-items:center;overflow:auto}.layout-desktop__main[_ngcontent-%COMP%]:after{content:"";display:block;position:absolute;width:100%;height:100%;top:0;left:0;z-index:3;opacity:0;transition:opacity 1s,-webkit-backdrop-filter 1s;transition:opacity 1s,backdrop-filter 1s;transition:opacity 1s,backdrop-filter 1s,-webkit-backdrop-filter 1s;pointer-events:none;background-color:var(--layout-desktop-mask-color, rgba(0, 0, 0, .6));-webkit-backdrop-filter:blur(0px);backdrop-filter:blur(0px)}@media screen and (max-width: var(--desktop-menu-style-change-point)){.layout-desktop--menu-open[_ngcontent-%COMP%] .layout-desktop__main[_ngcontent-%COMP%]:after{opacity:1;pointer-events:auto;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}}.layout-desktop__main[_ngcontent-%COMP%] .layout-desktop__header-inner[_ngcontent-%COMP%]{flex:none;width:100%}.layout-desktop__header-inner[_ngcontent-%COMP%]{transition:box-shadow 1s}.layout-desktop__header-inner--shaded[_ngcontent-%COMP%]{box-shadow:0 3.3px 5px #0000004d,0 9.1px 13.8px #00000032,0 22px 33.2px #00000026,0 73px 110px #0000001b}.layout-desktop__main[_ngcontent-%COMP%] .layout-desktop__body[_ngcontent-%COMP%]{flex:1;width:100%;overflow:auto}.layout-desktop__body[_ngcontent-%COMP%] .layout-desktop__content[_ngcontent-%COMP%]{transition:width 1s;position:relative;left:0;right:0}.layout-desktop__body[_ngcontent-%COMP%]{display:flex;flex-direction:column}.layout-desktop__content[_ngcontent-%COMP%]{flex:1}.layout-desktop--menu-open[_ngcontent-%COMP%] .layout-desktop__body[_ngcontent-%COMP%] .layout-desktop__content[_ngcontent-%COMP%]{width:var(--layout-desktop-content-limit-when-menu-open)}'],data:{animation:[cl.J5]},changeDetection:0})}return a})();var W_=l(87027),Pc=l(12507);let aD=(()=>{class a{constructor(n){this.navigationHistoryService=n}onClick(){this.navigationHistoryService.back()}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(Ka.s))};static#t=this.\u0275dir=e.FsC({type:a,selectors:[["","mcdPrevious",""]],hostBindings:function(o,d){1&o&&e.bIt("click",function(){return d.onClick()})}})}return a})();var cD=l(28505);const Uf=(a,p)=>[a,p],ic=a=>[a],xa=a=>({active:a}),_u=()=>({display:"block"});function _O(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",10),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.openMenu())}),e.j41(1,"ul"),e.nrm(2,"li")(3,"li")(4,"li"),e.k0s()()}}function Td(a,p){if(1&a&&(e.j41(0,"div",11),e.EFF(1),e.nI1(2,"async"),e.k0s()),2&a){const n=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,n.title$)," ")}}function H_(a,p){if(1&a&&(e.j41(0,"div",12),e.eu8(1,13),e.k0s()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",n.customHeaderExtraContentSponsor)}}function j_(a,p){if(1&a&&(e.j41(0,"div",14)(1,"div",15),e.eu8(2,13),e.k0s()()),2&a){const n=e.XpG(2);e.R7$(2),e.Y8G("ngTemplateOutlet",n.customHeaderExtraContent)}}function lD(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"a",20),e.bIt("click",function(){e.eBV(n);const d=e.XpG(5);return e.Njj(d.loginSignUpBtnClicked("Login"))}),e.EFF(2),e.k0s(),e.j41(3,"a",21),e.bIt("click",function(){e.eBV(n);const d=e.XpG(5);return e.Njj(d.loginSignUpBtnClicked("SignUp"))}),e.EFF(4),e.k0s(),e.bVm()}if(2&a){const n=e.XpG(4).$implicit,o=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(4,ic,o.routingPathType.LOGIN.link)),e.R7$(),e.JRh(n("ui.global.word.login")),e.R7$(),e.Y8G("routerLink",e.eq3(6,ic,o.routingPathType.REGISTER.link)),e.R7$(),e.JRh(n("ui.global.word.sign_up"))}}function bd(a,p){if(1&a&&(e.qex(0),e.j41(1,"a",22),e.EFF(2),e.k0s(),e.j41(3,"a",23),e.EFF(4),e.k0s(),e.bVm()),2&a){const n=e.XpG(4).$implicit,o=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(4,ic,o.routingPathType.REGISTERNEW_THIRDPARTY.link)),e.R7$(),e.JRh(n("ui.global.word.sign_up")),e.R7$(),e.Y8G("routerLink",e.eq3(6,ic,o.routingPathType.LOGINNEW_QUICK_ACCOUNT.link)),e.R7$(),e.JRh(n("ui.global.word.login"))}}function mu(a,p){if(1&a&&e.eu8(0,13),2&a){const n=e.XpG(5);e.Y8G("ngTemplateOutlet",n.customExtraContentIcon)}}function uD(a,p){if(1&a){const n=e.RV6();e.DNE(0,lD,5,8,"ng-container",9)(1,bd,5,8,"ng-container",9)(2,mu,1,1,"ng-container",13),e.j41(3,"div",17),e.bIt("click",function(){e.eBV(n);const d=e.XpG(4);return e.Njj(d.listenLanguageMenu(!0))}),e.nrm(4,"img",18),e.nI1(5,"async"),e.k0s(),e.j41(6,"mcd-language",19),e.bIt("activateLanguage",function(d){e.eBV(n);const _=e.XpG(4);return e.Njj(_.listenLanguageMenu(d))})("canActivateLanguage",function(d){e.eBV(n);const _=e.XpG(4);return e.Njj(_.canOpenLanguageMenu(d))}),e.k0s()}if(2&a){const n=e.XpG(4);e.Y8G("ngIf",!n.isEnableMultipleRegisterAndLoginFeatures),e.R7$(),e.Y8G("ngIf",n.isEnableMultipleRegisterAndLoginFeatures&&!n.isPopupPageActive()),e.R7$(),e.vxM(2,n.customExtraContentIcon?2:-1),e.R7$(2),e.Y8G("mcdSrc",e.bMT(5,5,n.languageImagesPath$)),e.R7$(2),e.Y8G("isActive",n.isLanguageMenuActive)}}function dD(a,p){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const n=e.XpG(4).$implicit,o=e.XpG();e.R7$(),e.SpI(" ",o.csLinkLabel||n("ui.header.text.chat")," ")}}function hD(a,p){if(1&a){const n=e.RV6();e.j41(0,"a",24),e.bIt("click",function(){e.eBV(n);const d=e.XpG(4);return e.Njj(d.openCSLink())}),e.nrm(1,"span",25),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.DNE(4,dD,2,1,"p",9),e.nI1(5,"async"),e.k0s()}if(2&a){let n,o;const d=e.XpG(4);e.BMQ("name",d.hasLiveChatHook?"liveChatBtn":""),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,6,null==(n=e.bMT(2,4,d.switchThemeService.imageLink$))?null:n.IMG_HEADER_SERVICE_ICON)),e.R7$(3),e.Y8G("ngIf",null==(o=e.bMT(5,8,d.btnSetting$))?null:o.isShowIconText)}}function fD(a,p){if(1&a&&(e.j41(0,"div",14),e.DNE(1,uD,7,7)(2,hD,6,10,"a",16),e.nI1(3,"async"),e.k0s()),2&a){let n;const o=e.XpG(3);e.R7$(),e.vxM(1,o.isDisplayLoginSignUpBtn?1:-1),e.R7$(),e.vxM(2,o.isShowChatIcon&&(null!=(n=e.bMT(3,2,o.siteSettingModel$))&&n.csLiveChatLink||o.chatService())?2:-1)}}function pD(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",26),e.bIt("click",function(){e.eBV(n);const d=e.XpG(4);return e.Njj(d.balanceReload())}),e.nrm(2,"div",27),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.EFF(5),e.nI1(6,"async"),e.j41(7,"span"),e.EFF(8),e.k0s()(),e.j41(9,"div",28),e.EFF(10," EXP "),e.j41(11,"span"),e.EFF(12),e.k0s()(),e.bVm()}if(2&a){let n,o;const d=e.XpG(4);e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(4,8,null==(n=e.bMT(3,6,d.switchThemeService.imageLink$))?null:n.HEADER_REFRESH_ICON)),e.Y8G("ngClass",e.eq3(12,xa,d.isReload)),e.R7$(3),e.SpI(" ",null==(o=e.bMT(6,10,d.currentCurrencyType$))?null:o.name,""),e.R7$(3),e.JRh(d.mainWallet),e.R7$(4),e.JRh(d.exposure)}}function gD(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",29)(2,"div",30),e.nrm(3,"span",31),e.nI1(4,"async"),e.k0s(),e.j41(5,"div",32),e.nI1(6,"async"),e.nI1(7,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(4);return e.Njj(d.reloadWallet())}),e.k0s(),e.nrm(8,"div",33),e.k0s(),e.bVm()}if(2&a){let n;const o=e.XpG(4);e.R7$(3),e.Y8G("localeCurrency",e.bMT(4,5,o.mainWallet$)),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(7,9,null==(n=e.bMT(6,7,o.switchThemeService.imageLink$))?null:n.HEADER_REFRESH_ICON)),e.Y8G("ngClass",e.eq3(11,xa,!1===o.isReload)),e.R7$(3),e.Y8G("routerLink",e.eq3(13,ic,o.routingPathType.WALLET_DEPOSIT.link))}}function _D(a,p){if(1&a&&(e.qex(0),e.j41(1,"a",34),e.EFF(2),e.k0s(),e.bVm()),2&a){const n=e.XpG(3).$implicit,o=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(2,ic,o.routingPathType.WALLET_DEPOSIT.link)),e.R7$(),e.JRh(n("ui.global.word.deposit"))}}function mD(a,p){if(1&a&&e.eu8(0,13),2&a){const n=e.XpG(4);e.Y8G("ngTemplateOutlet",n.customExtraContentIcon)}}function Md(a,p){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const n=e.XpG(4).$implicit,o=e.XpG();e.R7$(),e.SpI(" ",o.csLinkLabel||n("ui.header.text.chat")," ")}}function vD(a,p){if(1&a){const n=e.RV6();e.j41(0,"a",24),e.bIt("click",function(){e.eBV(n);const d=e.XpG(4);return e.Njj(d.openCSLink())}),e.nrm(1,"span",25),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.DNE(4,Md,2,1,"p",9),e.nI1(5,"async"),e.k0s()}if(2&a){let n,o;const d=e.XpG(4);e.BMQ("name",d.hasLiveChatHook?"liveChatBtn":""),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,6,null==(n=e.bMT(2,4,d.switchThemeService.imageLink$))?null:n.IMG_HEADER_SERVICE_ICON)),e.R7$(3),e.Y8G("ngIf",null==(o=e.bMT(5,8,d.btnSetting$))?null:o.isShowIconText)}}function ED(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",14),e.DNE(1,pD,13,14,"ng-container",9),e.nI1(2,"async"),e.nI1(3,"async"),e.nI1(4,"async"),e.nI1(5,"async"),e.nI1(6,"async"),e.DNE(7,gD,9,15,"ng-container",9),e.nI1(8,"async"),e.DNE(9,_D,3,4,"ng-container",9),e.nI1(10,"async"),e.nI1(11,"async"),e.nI1(12,"async"),e.nI1(13,"async"),e.DNE(14,mD,1,1,"ng-container",13),e.j41(15,"div",17),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.listenLanguageMenu(!0))}),e.nrm(16,"img",18),e.nI1(17,"async"),e.k0s(),e.j41(18,"mcd-language",19),e.bIt("activateLanguage",function(d){e.eBV(n);const _=e.XpG(3);return e.Njj(_.listenLanguageMenu(d))})("canActivateLanguage",function(d){e.eBV(n);const _=e.XpG(3);return e.Njj(_.canOpenLanguageMenu(d))}),e.k0s(),e.DNE(19,vD,6,10,"a",16),e.nI1(20,"async"),e.k0s()}if(2&a){let n,o,d;const _=e.XpG(3);e.R7$(),e.Y8G("ngIf","cricket"===e.bMT(2,7,_.headerClass$)&&!0===e.bMT(3,9,_.hasBalanceData$)&&!0===e.bMT(4,11,_.isMFLoginSuccess$)&&!e.bMT(5,13,_.isSystemMaintenance$)&&!e.bMT(6,15,_.isSystemException$)),e.R7$(6),e.Y8G("ngIf",null==(n=e.bMT(8,17,_.btnSetting$))?null:n.hasShowDeposit),e.R7$(2),e.Y8G("ngIf",(null==(o=e.bMT(10,19,_.btnSetting$))?null:o.showDepositTextbtn)&&(!1===e.bMT(11,21,_.hasBalanceData$)||e.bMT(12,23,_.isSystemMaintenance$)||e.bMT(13,25,_.isSystemException$))),e.R7$(5),e.vxM(14,_.customExtraContentIcon?14:-1),e.R7$(2),e.Y8G("mcdSrc",e.bMT(17,27,_.languageImagesPath$)),e.R7$(2),e.Y8G("isActive",_.isLanguageMenuActive),e.R7$(),e.vxM(19,_.isShowChatIcon&&(null!=(d=e.bMT(20,29,_.siteSettingModel$))&&d.csLiveChatLink||_.chatService())?19:-1)}}function K_(a,p){if(1&a&&(e.qex(0),e.DNE(1,fD,4,4,"div",8),e.nI1(2,"async"),e.DNE(3,ED,21,31,"div",8),e.nI1(4,"async"),e.bVm()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",!1===e.bMT(2,2,n.isLogin$)&&!n.isPopupPageActive()),e.R7$(2),e.Y8G("ngIf",!0===e.bMT(4,4,n.isLogin$)&&!n.isPopupPageActive())}}function Y_(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",14)(2,"div",35),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.openEditorMenu())}),e.k0s()(),e.bVm()}if(2&a){let n;const o=e.XpG(2);e.R7$(2),e.Aen(e.lJ4(8,_u)),e.xc7("-webkit-mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,o.switchThemeService.imageLink$))?null:n.MAIL_EDITOR_ICON))}}function Gf(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"header",1),e.nI1(2,"async"),e.nI1(3,"async"),e.nI1(4,"async"),e.nI1(5,"async"),e.j41(6,"div",2),e.nrm(7,"div",3),e.nI1(8,"async"),e.nI1(9,"imageUrl"),e.DNE(10,_O,5,0,"div",4),e.k0s(),e.DNE(11,Td,3,3,"div",5),e.j41(12,"div",6),e.nI1(13,"async"),e.nI1(14,"async"),e.nI1(15,"imageUrl"),e.nI1(16,"async"),e.nI1(17,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.backHome())}),e.k0s(),e.DNE(18,H_,2,1,"div",7)(19,j_,3,1,"div",8)(20,K_,5,6,"ng-container",9),e.nI1(21,"async"),e.nI1(22,"async"),e.DNE(23,Y_,5,9,"ng-container",9),e.nI1(24,"async"),e.nI1(25,"async"),e.k0s(),e.bVm()}if(2&a){let n,o,d,_;const N=e.XpG();e.R7$(),e.Y8G("ngClass",e.l_i(44,Uf,e.bMT(2,14,N.customHeaderClass)?e.bMT(3,16,N.customHeaderClass):N.useUnchangeableHeader?"cricket":e.bMT(4,18,N.headerClass$),"currency-"+(null==(n=e.bMT(5,20,N.currencyType$))||null==n.name?null:n.name.toLocaleLowerCase()))),e.R7$(6),e.xc7("-webkit-mask-image",e.bMT(9,24,null==(o=e.bMT(8,22,N.switchThemeService.imageLink$))?null:o.HEADER_BACK_ICON)),e.R7$(3),e.Y8G("ngIf",!N.hideMenuIcon),e.R7$(),e.Y8G("ngIf",!N.useUnchangeableHeader),e.R7$(),e.HbH(N.hideMenuIcon?"hide-menu":""),e.xc7("background-image",e.bMT(13,26,N.logoImgLink$)?e.bMT(15,30,null==(d=e.bMT(14,28,N.switchThemeService.imageLink$))?null:d.MAIN_LOGO_2):e.bMT(17,34,null==(d=e.bMT(16,32,N.switchThemeService.imageLink$))?null:d.MAIN_LOGO)),e.Y8G("routerLink",e.eq3(47,ic,N.routingPathType.MAIN.link)),e.R7$(6),e.Y8G("ngIf",N.customHeaderExtraContentSponsor),e.R7$(),e.Y8G("ngIf",N.customHeaderExtraContent),e.R7$(),e.Y8G("ngIf",!!e.bMT(21,36,N.customHeaderClass)||!0===e.bMT(22,38,N.isShowHeaderBtn$)),e.R7$(3),e.Y8G("ngIf",!0===e.bMT(24,40,N.isLogin$)&&(null==(_=e.bMT(25,42,N.btnSetting$))?null:_.hasEditBtrn))}}let X_=(()=>{class a{get customHeaderClass(){return this.systemConfig.isRWD&&this.uiConfig.customHeaderClass?this.headerClass$.pipe((0,hn.T)(()=>this.uiConfig.customHeaderClass??"")):this.headerClass$.pipe((0,$n.s)(1),(0,hn.T)(n=>"normal"===n&&this.uiConfig.customHeaderClass?this.uiConfig.customHeaderClass:""))}constructor(n,o,d,_,N,U,ue,we,Ge,Xe,sn,fn,xt,Dn){this.providerService=n,this.siteSetting=o,this.authState=d,this.headerState=_,this.currencySettingState=N,this.sideMenuState=U,this.document=ue,this.moduleFederationState=we,this.userService=Ge,this.forumLoginState=Xe,this.dialogService=sn,this.router=fn,this.moduleFederationCustomEventService=xt,this.cdr=Dn,this.isShowChatIcon=!1,this.hideMenuIcon=!1,this.isShowCustomLogo=!1,this.isDisplayLoginSignUpBtn=!1,this.isLanguageMenuActive=!1,this.canActiveLanguageMenu=!0,this.isShowToggleBoxChange=new e.bkB,this.openMemberMenuEvt=new e.bkB,this.openLiveChat=new e.bkB,this.appState=(0,e.WQX)(Pc.G),this.systemConfig=(0,e.WQX)(w.n),this.environment=(0,e.WQX)(Ws.E),this.eventQueueService=(0,e.WQX)(He.n),this.sideMenuService=(0,e.WQX)(fd),this.checkPlayerInfoService=(0,e.WQX)(as.P9),this.chatController=(0,e.WQX)(Ct.v),this.siteSettingService=(0,e.WQX)(ti.p),this.settingService=(0,e.WQX)(Ic.q),this.switchThemeService=(0,e.WQX)(ir.Fu),this.uiConfig=(0,e.WQX)(Ws.E),this.flagPathService=(0,e.WQX)(Nc.r),this.chatService=(0,e.EWP)(()=>this.chatController.chatService()),this.siteSettingModel$=this.siteSetting.select("siteSettingModel"),this.customHeaderExtraContent$=this.headerState.select("customExtraContent"),this.currentCurrencyType$=this.siteSetting.select("currentCurrencyType"),this.isEnableMultipleRegisterAndLoginFeatures=!1,this.isLogin$=this.authState.select("isLogin"),this.headerClass$=this.headerState.select("headerClass"),this.title$=this.headerState.select("title"),this.isPopupPageActive=(0,ui.ot)(this.appState.select("isPopupPageActive")),this.destroy$=new S.B,this.isSystemMaintenance$=this.moduleFederationState.select("isSystemMaintenance"),this.isSystemException$=this.moduleFederationState.select("isSystemException"),this.isCricketPage$=this.moduleFederationState.select("isCricketPage"),this.animat=ys.gsap.timeline({paused:!0,reversed:!0}),this.subscriptions=[],this.languageType$=this.currencySettingState.select("currentLanguageType"),this.currencyType$=this.currencySettingState.select("currentCurrencyType"),this.accountInfo$=this.authState.select("accountInfo"),this.btnSetting$=this.headerState.select("btnSetting"),this.isEditorMenuActive$=this.headerState.select("editorMenuActive"),this.isShowHeaderBtn$=new P.t(!1),this.balanceData$=this.moduleFederationState.select("balanceData"),this.hasBalanceData$=new P.t(!1),this.mainWallet="0",this.exposure="0",this.mainWallet$=this.authState.select("accountInfo").pipe((0,hn.T)(zt=>zt.mainWallet)),this.languageImagesPath="",this.logoImgLink$=this.siteSetting.select("currentCurrencyType").pipe((0,ui.pQ)(),(0,In.p)(zt=>!!zt),(0,hn.T)(zt=>!!(zt===re.U.BRL||this.isShowCustomLogo&&zt===re.U.VND))),this.languageImagesPath$=(0,ro.z)([this.currencySettingState.select("currentCurrencyType"),this.currencySettingState.select("currencyMappingSettingModel")]).pipe((0,hn.T)(zt=>{let ii="/assets/images/flag/default.svg";const[bn,Fn]=zt,Bi=Fn?.find(Bs=>Bs.currencyTypeId===bn.unique);return ii=this.flagPathService.getFlagPathFromCurrencyMapping(Bi,bn,"webp"),ii})),this.customHeaderExtraContentSponsor$=this.headerState.select("customExtraContentSponsor"),this.customExtraContentIcon$=this.headerState.select("customExtraContentIcon"),this.images=new $s.l,this.isReload=!1,this.isRefreshThottled=!1,this.refreshThrottleTime=6e4,this.menuInfo$=this.authState.select("menuInfo"),this.cricketBalance$=this.menuInfo$.pipe((0,hn.T)(zt=>zt&&"providerBalance"in zt?zt.providerBalance??0:0)),this.cricketExposure$=this.menuInfo$.pipe((0,hn.T)(zt=>zt&&"providerExposure"in zt?zt.providerExposure??0:0)),this.useUnchangeableHeader=this.uiConfig.useUnchangeableHeader,this.openForumSub$=new S.B,this.openForum$=this.openForumSub$.pipe((0,on.n)(()=>this.userService.getForumLoginURL().pipe((0,ot.M)(zt=>{zt&&zt.forumUrl&&window.open(zt.forumUrl)})))),this.hasLiveChatHook=this.headerState.get("btnSetting").hasLiveChatHook,this.routingPathType=$t.q,this.csLinkLabel=this.siteSettingService.get("siteSettingModel").liveChatSetting?.value,this.isMFLoginSuccess$=this.moduleFederationCustomEventService.isMFLoginSuccess$,this.forumLoginState.connect(this.openForum$),this.isEnableMultipleRegisterAndLoginFeatures=this.siteSetting.get("siteSettingModel")?.isEnableMultipleRegisterAndLoginFeatures}ngOnInit(){this.detectCustomContentLoaded(),this.siteSettingModel$.pipe((0,hn.T)(n=>n?.liveChatSetting?.value),(0,ot.M)(n=>{this.csLinkLabel=n}),(0,Z.Q)(this.destroy$)).subscribe(),this.environment.isShowCricketV2InSports?this.isLogin$.pipe((0,ot.M)(n=>{n?(this.isCricketPage$.pipe((0,ot.M)(o=>{o?this.getBalanceData():this.hasBalanceData$.next(!1)})).subscribe(),(0,ro.z)([this.moduleFederationCustomEventService.transferVendorId$,this.isLogin$,this.isCricketPage$]).pipe((0,In.p)(([o,d,_])=>null!=o&&!!d&&!!_),(0,$n.s)(1),(0,ot.M)(()=>this.getBalanceData()),(0,Z.Q)(this.destroy$)).subscribe()):this.hasBalanceData$.next(!1)})).subscribe():this.isLogin$.pipe((0,ot.M)(n=>{n?this.getBalanceData():this.hasBalanceData$.next(!1)})).subscribe(),this.moduleFederationCustomEventService.isShowHeaderBtnInHeader$.subscribe(n=>{this.isShowHeaderBtn$.next(n)})}ngOnDestroy(){this.subscriptions.forEach(n=>n.unsubscribe()),this.animat.kill(),this.destroy$.next(),this.destroy$.complete()}openMenu(){this.sideMenuService.activate(),this.isShowToggleBoxChange.emit(!0)}canOpenLanguageMenu(n){this.canActiveLanguageMenu=n}listenLanguageMenu(n){this.canActiveLanguageMenu&&(this.isLanguageMenuActive=n)}openCSLink(){const n=this.siteSetting.get("siteSettingModel").csLiveChatLink,o=this.headerState.get("btnSetting").hasFreshChatHook,d=this.chatService();d?d.isWidgetOpen()?d.hideWidget():d.showWidget():(n&&window.open(n),o&&this.openLiveChatEvent())}openLiveChatEvent(){this.openLiveChat.emit(!0)}openForumLogin(){this.openForumSub$.next(void 0)}getBalanceData(){const n=this.moduleFederationCustomEventService.getBalanceVendorCode();null!=n?"AWCV2_VELKI"!==n?this.balanceData$.pipe((0,Z.Q)(this.destroy$)).subscribe(o=>{if(!o)return this.hasBalanceData$.next(!1),void this.cdr.markForCheck();if(this.mainWallet=this.numberWithCommas(o.balance),0===o.exposure)this.exposure=`${o.exposure}`;else{const d=this.numberWithCommas(Math.abs(o.exposure));this.exposure=`(${d})`}this.hasBalanceData$.next(!0),this.cdr.markForCheck()}):this.menuInfo$.pipe((0,In.p)(o=>o&&("providerBalance"in o||"providerExposure"in o)),(0,ot.M)(o=>{if(this.mainWallet="providerBalance"in o&&null!=o.providerBalance?this.numberWithCommas(o.providerBalance):"0","providerExposure"in o&&null!=o.providerExposure){const N=o.providerExposure;if(0===N)this.exposure=`${N}`;else{const U=this.numberWithCommas(Math.abs(N));this.exposure=`(${U})`}}else this.exposure="0";this.hasBalanceData$.next("providerBalance"in o&&null!=o.providerBalance||"providerExposure"in o&&null!=o.providerExposure),this.cdr.markForCheck()}),(0,Z.Q)(this.destroy$)).subscribe():this.hasBalanceData$.next(!1)}numberWithCommas(n){const o=n.toString().split(".");return o[0]=o[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),o.join(".")}backHome(){this.moduleFederationCustomEventService.isBackHome()}openEditorMenu(){this.headerState.set({editorMenuActive:!0})}balanceReload(){if(this.isReload||(this.isReload=!0,setTimeout(()=>{this.isReload=!1,this.cdr.detectChanges()},1e3),this.isRefreshThottled))return;this.isRefreshThottled=!0;const n=this.moduleFederationCustomEventService.getTransferVendorId(),o=this.moduleFederationCustomEventService.getBalanceVendorCode();null!=n?"AWCV2_VELKI"!==o?this.providerService.transferAllToProvider(n).pipe((0,R.W)(d=>(console.error("transferAllToProvider error:",d),(0,L.of)(null))),(0,Ns.j)(()=>{setTimeout(()=>{this.isRefreshThottled=!1},this.refreshThrottleTime)})).subscribe():this.providerService.transferAllToProvider(n).pipe((0,ot.M)(d=>{if(d&&("providerBalance"in d||"providerExposure"in d)){const N={...this.authState.get("menuInfo")};"providerBalance"in d&&(N.providerBalance=d.providerBalance),"providerExposure"in d&&(N.providerExposure=d.providerExposure),this.authState.set({menuInfo:N})}}),(0,R.W)(d=>(console.error("transferAllToProvider error:",d),(0,L.of)(null))),(0,Ns.j)(()=>{setTimeout(()=>{this.isRefreshThottled=!1},this.refreshThrottleTime)})).subscribe():setTimeout(()=>{this.isRefreshThottled=!1},this.refreshThrottleTime)}reloadWallet(){this.isReload=!this.isReload,this.checkPlayerInfoService.checkBalance()}loginSignUpBtnClicked(n){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:n,event_type:"click",event_seq:100,event_page:document.querySelector("head title")?.textContent,event_payload:{status_name:"access",loc:"navigation_top"}}}))}detectCustomContentLoaded(){(0,ro.z)([this.customHeaderExtraContent$.pipe((0,tc.Z)(null)),this.customHeaderExtraContentSponsor$.pipe((0,tc.Z)(null)),this.customExtraContentIcon$.pipe((0,tc.Z)(null))]).pipe((0,Z.Q)(this.destroy$)).subscribe(([n,o,d])=>{this.customHeaderExtraContent=n,this.customHeaderExtraContentSponsor=o,this.customExtraContentIcon=d,this.cdr.detectChanges()})}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(Sc.$),e.rXU(ti.p),e.rXU(gi.H),e.rXU(A.ww),e.rXU(ti.p),e.rXU(Za),e.rXU(u.qQ),e.rXU(Qa.H),e.rXU(E.D),e.rXU(Hr.Y),e.rXU($r.o),e.rXU(en.Ix),e.rXU(ul.g),e.rXU(e.gRc))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-header-inner"]],inputs:{isShowChatIcon:"isShowChatIcon",hideMenuIcon:"hideMenuIcon",isShowCustomLogo:"isShowCustomLogo",isDisplayLoginSignUpBtn:"isDisplayLoginSignUpBtn",isLanguageMenuActive:"isLanguageMenuActive",canActiveLanguageMenu:"canActiveLanguageMenu"},outputs:{isShowToggleBoxChange:"isShowToggleBoxChange",openMemberMenuEvt:"openMemberMenuEvt",openLiveChat:"openLiveChat"},decls:1,vars:0,consts:[[4,"transloco"],["id","header",3,"ngClass"],[1,"header-left-btn-group"],["mcdPrevious","",1,"back-btn"],["class","menu-btn",3,"click",4,"ngIf"],["class","header-title",4,"ngIf"],[1,"logo",3,"click","routerLink"],["class","custom-content-sponsor","name","customContentSponsor",4,"ngIf"],["class","header-right-btn-group",4,"ngIf"],[4,"ngIf"],[1,"menu-btn",3,"click"],[1,"header-title"],["name","customContentSponsor",1,"custom-content-sponsor"],[3,"ngTemplateOutlet"],[1,"header-right-btn-group"],["name","customButton",1,"custom-content"],[1,"service-btn"],[1,"language-select",3,"click"],[3,"mcdSrc"],[3,"activateLanguage","canActivateLanguage","isActive"],[1,"login","header-right-link",3,"click","routerLink"],[1,"register","header-right-link",3,"click","routerLink"],[1,"register","header-right-link",3,"routerLink"],[1,"login","header-right-link",3,"routerLink"],[1,"service-btn",3,"click"],[1,"item-icon"],[1,"cricket-money",3,"click"],[1,"icon-refresh",3,"ngClass"],[1,"exp"],[1,"main-wallet"],[1,"amount"],["data-currency","$",3,"localeCurrency"],[1,"icon-refresh",3,"click","ngClass"],["data-category","deposit",1,"item-icon",3,"routerLink"],[1,"deposit","header-right-link",3,"routerLink"],[1,"editor-btn",3,"click"]],template:function(o,d){1&o&&e.DNE(0,Gf,26,49,"ng-container",0)},dependencies:[u.YU,u.bT,u.T3,en.Wk,b.bA,aD,pa.f,ga.h,au.i,cD.T,u.Jj,Ms.Hc],changeDetection:0})}return a})();var CD=l(57610),Q_=l(48544),Vf=l(48610);function z_(a,p){if(1&a&&(e.j41(0,"span",6),e.EFF(1),e.nI1(2,"async"),e.nI1(3,"async"),e.k0s()),2&a){const n=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,n.menuInfo$).unreadMessageCount>99?"99+":e.bMT(3,3,n.menuInfo$).unreadMessageCount," ")}}function J_(a,p){if(1&a){const n=e.RV6();e.j41(0,"li"),e.nI1(1,"async"),e.nI1(2,"async"),e.j41(3,"a",3),e.bIt("click",function(){const d=e.eBV(n).$implicit;return e.Njj(d.onClick&&d.onClick())}),e.j41(4,"span",4),e.nrm(5,"span",5),e.nI1(6,"imageUrl"),e.k0s(),e.j41(7,"p"),e.EFF(8),e.nI1(9,"transloco"),e.k0s(),e.DNE(10,z_,4,5,"span",6),e.nI1(11,"async"),e.nI1(12,"async"),e.k0s()()}if(2&a){let n,o;const d=p.$implicit,_=e.XpG();e.AVh("active",e.bMT(1,8,_.isOpenMemberMenu$)?"mine"===d.key:d.activeRouteText&&(null==(n=e.bMT(2,10,_.currentRoute$))?null:n[d.activeRouteText])),e.R7$(3),e.Y8G("category",_.homePage.FooterBar.value)("title",d.key),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(6,12,d.icon)),e.R7$(3),e.JRh(e.bMT(9,14,d.i18nKey)),e.R7$(2),e.vxM(10,_.showInboxNotice&&"inbox"===d.key&&null!=(o=e.bMT(11,16,_.menuInfo$))&&o.unreadMessageCount&&0!==e.bMT(12,18,_.menuInfo$).unreadMessageCount?10:-1)}}function DD(a,p){1&a&&e.nrm(0,"span",2)}let ID=(()=>{class a{#e;get toolbarTabsGroup(){return(this.isCustomToolbarSort?.length?this.isCustomToolbarSort:this.tabOrder).map(o=>this.toolbarTabs[o]).filter(Boolean)}goOpenMemberMenuInner(){this.openMemberMenuInner.emit(!0),this.isShowToggleBoxChange.emit(!1)}constructor(){this.routingPathType=$t.q,this.#e=(0,e.WQX)(gi.H),this.menuInfo$=(0,wi.h)(this.#e.select("accountInfo"),this.#e.select("menuInfo")),this.router=(0,e.WQX)(en.Ix),this.location=(0,e.WQX)(u.aZ),this.sideMenuState=(0,e.WQX)(Za),this.isOpenMemberMenu$=this.sideMenuState.select("isOpenMemberMenu"),this.images=new $s.l,this.switchThemeService=(0,e.WQX)(ir.Fu),this.homePage=(0,CD.O)(Q_.Z),this.currentRoute$=this.router.events.pipe((0,tc.Z)(new en.wF(0,this.location.path(!1),this.location.path(!1))),(0,In.p)(n=>n instanceof en.wF),(0,Ss.c)(100),(0,hn.T)(()=>({isHome:this.location.path(!1)===$t.q.MAIN.link||this.location.path(!1)===$t.q.EX_SPORT.link,isPromotion:this.location.path(!1)===$t.q.PROMOTION.link,isDeposit:this.location.path(!1)===$t.q.WALLET_DEPOSIT.link,isInbox:this.location.path(!1)===$t.q.INBOX_NOTIFICATION.link})),(0,Js.t)(1),(0,ui.pQ)()),this.hasActive$=(0,ro.z)([this.currentRoute$,this.isOpenMemberMenu$.pipe((0,tc.Z)(!1))]).pipe((0,hn.T)(([n,o])=>!!o||Array.isArray(this.toolbarTabsGroup)&&this.toolbarTabsGroup.some(d=>!!d.activeRouteText&&!!n?.[d.activeRouteText])),(0,mc.F)()),this.openMemberMenuInner=new e.bkB,this.isShowToggleBoxChange=new e.bkB,this.isCustomToolbarSort=[],this.showInboxNotice=!1,this.tabOrder=["home","promotion","deposit","mine"],this.toolbarTabs={home:{key:"home",i18nKey:"ui.global.word.home",onClick:()=>this.router.navigateByUrl($t.q.MAIN.link),icon:this.switchThemeService.imageLink$.value?.IMG_TOOLBAR_ICON_HOME,activeRouteText:"isHome"},promotion:{key:"promotion",i18nKey:"ui.global.word.promotions",onClick:()=>this.router.navigateByUrl($t.q.PROMOTION.link),icon:this.switchThemeService.imageLink$.value?.IMG_TOOLBAR_ICON_PROMOTION,activeRouteText:"isPromotion"},deposit:{key:"deposit",i18nKey:"ui.global.word.deposit",onClick:()=>this.router.navigateByUrl($t.q.WALLET_DEPOSIT.link),icon:this.switchThemeService.imageLink$.value?.IMG_TOOLBAR_ICON_DEPOSIT,activeRouteText:"isDeposit"},mine:{key:"mine",i18nKey:"ui.player_toolbar.my_account",onClick:()=>this.goOpenMemberMenuInner(),icon:this.switchThemeService.imageLink$.value?.IMG_TOOLBAR_ICON_INFO,activeRouteText:"isMine"},inbox:{key:"inbox",i18nKey:"ui.member_menu.word.inbox",onClick:()=>this.router.navigateByUrl($t.q.INBOX_NOTIFICATION.link),icon:this.switchThemeService.imageLink$.value?.IMG_TOOLBAR_ICON_INBOX,activeRouteText:"isInbox"}},this.host=(0,e.WQX)(e.aKT),this.zone=(0,e.WQX)(e.SKi),this.resizeBound=!1,this.LIST_SELECTOR="ul",this.SLIDER_SELECTOR=".toolbar-border",this.ACTIVE_LI_SELECTOR="li.active",this.onWindowResize=()=>{this.moveToActive()},this.router.events.pipe((0,In.p)(n=>n instanceof en.wF),(0,ui.pQ)()).subscribe(()=>{this.zone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.moveToActive())})})}ngAfterViewInit(){this.zone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.moveToActive())});const n=this.getList();n&&!this.mo&&(this.mo=new MutationObserver(()=>this.moveToActive()),this.mo.observe(n,{attributes:!0,subtree:!0,attributeFilter:["class"],childList:!0}))}ngOnDestroy(){this.mo?.disconnect(),this.resizeBound&&window.removeEventListener("resize",this.onWindowResize)}onDelegatedClick(n){const o=this.getList();if(!o)return;const d=n.target?.closest("li");!d||!o.contains(d)||(this.moveSliderTo(d),this.resizeBound||(this.zone.runOutsideAngular(()=>{window.addEventListener("resize",this.onWindowResize,{passive:!0})}),this.resizeBound=!0))}recalcToActive(){this.moveToActive()}getList(){return this.host.nativeElement.querySelector(this.LIST_SELECTOR)}getSlider(){return this.host.nativeElement.querySelector(this.SLIDER_SELECTOR)}findActiveLi(){const n=this.getList();return n?n.querySelector(this.ACTIVE_LI_SELECTOR):null}moveToActive(){const n=this.findActiveLi();n&&this.moveSliderTo(n)}moveSliderTo(n){const o=this.getList(),d=this.getSlider();if(!o||!d)return;const _=we=>{d.style.transform=`translate3d(${we}px, 0, 0)`,o.style.setProperty("--slider-x",`${we}px`)};if(d.offsetParent===o)return void _(Math.round(n.offsetLeft+(n.offsetWidth-d.offsetWidth)/2));const N=n.getBoundingClientRect(),U=o.getBoundingClientRect();_(Math.round(N.left-U.left+(N.width-d.offsetWidth)/2))}static#t=this.\u0275fac=function(o){return new(o||a)};static#n=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-player-toolbar-inner"]],hostBindings:function(o,d){1&o&&e.bIt("click",function(N){return d.onDelegatedClick(N)})},inputs:{isCustomToolbarSort:"isCustomToolbarSort",showInboxNotice:"showInboxNotice"},outputs:{openMemberMenuInner:"openMemberMenuInner",isShowToggleBoxChange:"isShowToggleBoxChange"},decls:6,vars:3,consts:[[1,"toolbar"],[3,"active"],["aria-hidden","true",1,"toolbar-border"],["mcdNeuAClick","",3,"click","category","title"],[1,"icon-wrap"],[1,"item-icon"],[1,"notice"]],template:function(o,d){1&o&&(e.j41(0,"div",0)(1,"ul"),e.Z7z(2,J_,13,20,"li",1,e.Vm6),e.DNE(4,DD,1,0,"span",2),e.nI1(5,"async"),e.k0s()()),2&o&&(e.R7$(2),e.Dyx(d.toolbarTabsGroup),e.R7$(2),e.vxM(4,e.bMT(5,1,d.hasActive$)?4:-1))},dependencies:[Vf.d,u.Jj,b.Kj,Ms.Hc],changeDetection:0})}return a})();var Z_=l(45185);const $f=a=>({transform:a});ys.gsap.registerPlugin(il.I);let Wf=(()=>{class a{constructor(n,o,d,_){this.cdr=n,this.windowsScrollHandlerService=o,this.platformId=d,this.document=_,this.isShow=!1,this.destroy$=new S.B,this.transformX=0,this.transformY=0}ngOnInit(){this.windowsScrollHandlerService.getScrollObservable().pipe((0,Z.Q)(this.destroy$)).subscribe(n=>{this.updateCurrentHeight(n)})}ngOnDestroy(){this.destroy$.next(null)}gotop(){(0,u.UE)(this.platformId)&&ys.gsap.to(window,{duration:.7,scrollTo:0,ease:"expo.out"})}updateCurrentHeight(n){this.isShow=(n.target?.scrollingElement?.scrollTop||0)>350,this.cdr.detectChanges()}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(e.gRc),e.rXU(Z_.G),e.rXU(e.Agw),e.rXU(u.qQ))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-gotop"]],inputs:{transformX:"transformX",transformY:"transformY"},features:[e.Jv_([Z_.G])],decls:1,vars:4,consts:[[1,"gotop","bottom-2",3,"click","ngClass","ngStyle"]],template:function(o,d){1&o&&(e.j41(0,"div",0),e.bIt("click",function(){return d.gotop()}),e.k0s()),2&o&&e.Y8G("ngClass",d.isShow?"is-visible":"")("ngStyle",e.eq3(2,$f,"translate("+d.transformX+"px, "+d.transformY+"px)"))},dependencies:[u.YU,u.B3],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})}return a})();var Hf=l(99146),jf=l(77048),Kf=l(78780),AD=l(26986),q_=l(85571);const OD=(a,p)=>p.displayName;function RD(a,p){if(1&a&&(e.j41(0,"div",2),e.nI1(1,"vendorIcon"),e.nrm(2,"img",3),e.nI1(3,"vendorIcon"),e.k0s()),2&a){const n=e.XpG(3).$implicit,o=e.XpG(2);e.xc7("-webkit-mask-image","url("+e.i5U(1,3,n,o.vendorIconColor())+")"),e.R7$(2),e.Y8G("src",e.i5U(3,6,n,o.vendorIconColor()),e.B4B)}}function em(a,p){if(1&a&&(e.nrm(0,"img",3),e.nI1(1,"vendorIcon")),2&a){const n=e.XpG(3).$implicit,o=e.XpG(2);e.Y8G("src",e.i5U(1,1,n,o.vendorIconColor()),e.B4B)}}function Yf(a,p){if(1&a&&e.DNE(0,RD,4,9,"div",1)(1,em,2,4),2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG(2);e.vxM(0,d.promoVendors().includes(null!==(n=null==o.content?null:o.content.vendorCode)&&void 0!==n?n:"")?0:1)}}function Xf(a,p){if(1&a&&(e.j41(0,"div",2),e.nI1(1,"galleryImage"),e.nrm(2,"img",4),e.nI1(3,"galleryImage"),e.k0s()),2&a){const n=e.XpG(3).$implicit,o=e.XpG(2);e.xc7("-webkit-mask-image","url("+e.i5U(1,3,n.iconFlag,o.getGalleryCategoryTypeByGameType(n.content.gameType))+")"),e.R7$(2),e.Y8G("mcdSrc",e.i5U(3,6,n.iconFlag,o.getGalleryCategoryTypeByGameType(n.content.gameType)))}}function tm(a,p){if(1&a&&(e.nrm(0,"img",4),e.nI1(1,"galleryImage")),2&a){const n=e.XpG(3).$implicit,o=e.XpG(2);e.Y8G("mcdSrc",e.i5U(1,1,n.iconFlag,o.getGalleryCategoryTypeByGameType(n.content.gameType)))}}function nm(a,p){if(1&a&&e.DNE(0,Xf,4,9,"div",1)(1,tm,2,4),2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG(2);e.vxM(0,d.promoVendors().includes(null!==(n=null==o.content?null:o.content.vendorCode)&&void 0!==n?n:"")?0:1)}}function im(a,p){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2).$implicit;e.R7$(),e.JRh(n.displayName)}}function SD(a,p){if(1&a){const n=e.RV6();e.j41(0,"li")(1,"a",0),e.bIt("click",function(){e.eBV(n);const d=e.XpG().$implicit,_=e.XpG(2);return e.Njj(_.clickCategoryNavContent(d))}),e.DNE(2,Yf,2,1)(3,nm,2,1)(4,im,2,1,"p"),e.k0s()()}if(2&a){const n=e.XpG().$implicit,o=e.XpG(2);e.HbH(o.isVerticalTemplate()?"portrait":""),e.BMQ("web-category-type","VENDOR")("game-type",null==n.content?null:n.content.gameType)("vendor",null==n.content?null:n.content.vendor),e.R7$(),e.BMQ("vendor",null==n.content?null:n.content.vendorCode),e.R7$(),e.vxM(2,null!=n&&null!=n.customizeData&&n.customizeData.active?2:3),e.R7$(2),e.vxM(4,o.isVerticalTemplate()?-1:4)}}function sm(a,p){if(1&a&&(e.nrm(0,"img",3),e.nI1(1,"vendorIcon")),2&a){const n=e.XpG(2).$implicit,o=e.XpG(2);e.Y8G("src",e.i5U(1,1,n,o.vendorIconColor()),e.B4B)}}function yD(a,p){if(1&a&&(e.nrm(0,"img",4),e.nI1(1,"galleryImageAsync"),e.nI1(2,"async")),2&a){const n=e.XpG(2).$implicit,o=e.XpG(2);e.Y8G("mcdSrc",e.bMT(2,4,e.i5U(1,1,n.iconFlag,o.getGalleryCategoryTypeByGameType(n.content.gameTypeId))))}}function Qf(a,p){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2).$implicit;e.R7$(),e.JRh(n.displayName)}}function rm(a,p){if(1&a){const n=e.RV6();e.j41(0,"li")(1,"a",0),e.bIt("click",function(){e.eBV(n);const d=e.XpG().$implicit,_=e.XpG(2);return e.Njj(_.clickCategoryNavContent(d,_.getGalleryCategoryTypeByGameType(d.content.gameTypeId)))}),e.DNE(2,sm,2,4,"img",3)(3,yD,3,6)(4,Qf,2,1,"p"),e.k0s()()}if(2&a){const n=e.XpG().$implicit,o=e.XpG(2);e.HbH(o.isVerticalTemplate()?"portrait":""),e.BMQ("web-category-type","GAME")("game-type",null==n.content?null:n.content.gameTypeId)("vendor-code",null==n.content?null:n.content.vendorCode)("extra-data",null==n.content?null:n.content.extraData),e.R7$(2),e.vxM(2,null!=n&&null!=n.customizeData&&n.customizeData.active?2:3),e.R7$(2),e.vxM(4,o.isVerticalTemplate()?-1:4)}}function zf(a,p){if(1&a&&e.DNE(0,SD,5,8)(1,rm,5,8),2&a){let n;const o=p.$implicit,d=e.XpG(2);e.vxM(0,(n=o.categoryTypeId)===d.WebsiteCategoryType.VENDOR?0:n===d.WebsiteCategoryType.GAME?1:-1)}}function mO(a,p){if(1&a&&e.Z7z(0,zf,2,1,null,null,OD),2&a){let n;const o=e.XpG();e.Dyx(null==(n=o.categoryData())?null:n.subCategories)}}let TD=(()=>{class a{constructor(){this.categoryData=(0,e.hFB)(),this.vendorIconColor=(0,e.hFB)("white"),this.promoVendors=(0,e.hFB)([]),this.categoryNavClick=(0,e.CGW)(),this.isVerticalTemplate=(0,e.EWP)(()=>this.categoryData()?.layoutTypeId===Zi.IV.VERTICAL),this.WebsiteCategoryType=Zi.IM,this.websiteCategoryLayoutType=Zi.IV}getGalleryCategoryTypeByGameType(n){return n===Xt.Z.SPORT.unique?ke.tO.LEFT_PROVIDER_SPORTS:ke.tO.LEFT_PROVIDER}clickCategoryNavContent(n,o){this.categoryNavClick.emit({categoryObject:n,galleryType:o})}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-side-game-layout"]],inputs:{categoryData:[e.Mj6.SignalBased,"categoryData"],vendorIconColor:[e.Mj6.SignalBased,"vendorIconColor"],promoVendors:[e.Mj6.SignalBased,"promoVendors"]},outputs:{categoryNavClick:"categoryNavClick"},standalone:!0,features:[e.aNF],decls:1,vars:1,consts:[["tabindex","-1",3,"click"],[1,"highlight-mask",3,"-webkit-mask-image"],[1,"highlight-mask"],[3,"src"],[3,"mcdSrc"]],template:function(o,d){if(1&o&&e.DNE(0,mO,2,0),2&o){let _;e.vxM(0,(_=null==(_=d.categoryData())?null:_.categoryTypeId)===d.WebsiteCategoryType.CATEGORY_CONTAINER?0:-1)}},dependencies:[u.MD,u.Jj,Kr.L,Lr.m,pa.f,ga.h,b.Q8,Ya.$,bc.gA,bc.WX,q_.E,Tc.u],styles:["li.portrait[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;max-height:fit-content;aspect-ratio:250/330}"],changeDetection:0})}return a})();const om=["menuMask"],am=["loaderVideo"],cm=["customMenuBanner"],Jf=(a,p)=>p.name,lm=a=>({player:a}),um=a=>({"is-open-member-menu":a}),dm=()=>[0,1,2,3,4,5,6,7,8],hm=()=>[0,1,2],Yr=a=>[a],sa=a=>({active:a}),bD=a=>({show:a}),MD=()=>[2,3,5,9],ND=(a,p)=>({vendor:a,item:p});function vO(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",54)(1,"p",55),e.EFF(2),e.k0s(),e.j41(3,"div",56)(4,"input",57),e.bIt("change",function(d){e.eBV(n);const _=e.XpG(2);return e.Njj(_.themeChange(d))}),e.k0s(),e.j41(5,"label",58)(6,"div",59),e.nrm(7,"div",60),e.nI1(8,"imageUrl"),e.nrm(9,"div",61),e.nI1(10,"imageUrl"),e.k0s()()()()}if(2&a){const n=e.XpG().$implicit,o=e.XpG();e.R7$(2),e.SpI(" ",n(o.toggleName)," "),e.R7$(2),e.Y8G("checked",o.isThemeBtnChecked),e.BMQ("id",o.switchModeId),e.R7$(),e.BMQ("for",o.switchModeId),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(8,8,"/assets/images/icon-set/toggle/light-mode.svg")),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(10,10,"/assets/images/icon-set/toggle/dark-mode.svg"))}}function EO(a,p){if(1&a&&(e.nrm(0,"img",63),e.nI1(1,"async")),2&a){const n=e.XpG(3);e.Y8G("mcdSrc",e.bMT(1,1,n.sideMenuVideo$)+".png")}}function CO(a,p){if(1&a){const n=e.RV6();e.j41(0,"video",64,6),e.nI1(2,"async"),e.bIt("canplay",function(){e.eBV(n);const d=e.sdS(1);return e.Njj(d.play())})("loadedmetadata",function(){e.eBV(n);const d=e.sdS(1);return e.Njj(d.muted=!0)}),e.nrm(3,"source",65),e.nI1(4,"async"),e.nrm(5,"source",66),e.nI1(6,"async"),e.k0s()}if(2&a){const n=e.XpG(3);e.Y8G("mcdSrc",e.bMT(2,3,n.sideMenuVideo$)+".png"),e.R7$(3),e.BMQ("mcdSrc",e.bMT(4,5,n.sideMenuVideo$)+".mov"),e.R7$(2),e.BMQ("mcdSrc",e.bMT(6,7,n.sideMenuVideo$)+".webm")}}function DO(a,p){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const n=p.ngIf;e.R7$(),e.JRh(n)}}function fm(a,p){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const n=e.XpG().ngIf;e.R7$(),e.JRh(n.userId)}}function pm(a,p){if(1&a&&(e.j41(0,"div",72),e.DNE(1,DO,2,1,"span",19)(2,fm,2,1,"span",19),e.nI1(3,"async"),e.k0s()),2&a){const n=p.ngIf,o=e.XpG(4);e.R7$(),e.Y8G("ngIf",null==n?null:n.userName),e.R7$(),e.Y8G("ngIf",!(null!=n&&n.userName)&&e.bMT(3,2,o.sideMenuState.select("isUserNameFoolProof")))}}function IO(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",73,8),e.bIt("click",function(d){e.eBV(n);const _=e.XpG(4);return e.Njj(_.navigateToVipPointsExchange(d))}),e.j41(2,"div",74),e.EFF(3),e.k0s(),e.j41(4,"span"),e.EFF(5),e.nI1(6,"async"),e.k0s()()}if(2&a){let n;const o=e.XpG(3).$implicit,d=e.XpG();e.R7$(3),e.JRh(o("ui.global.text.vip_points")),e.R7$(2),e.JRh(null==(n=e.bMT(6,2,d.accountInfo$))||null==n.vipInfo?null:n.vipInfo.points)}}function AO(a,p){if(1&a&&(e.qex(0),e.j41(1,"div",67),e.DNE(2,pm,4,4,"div",68),e.nI1(3,"async"),e.j41(4,"p",69,7),e.EFF(6),e.k0s(),e.DNE(7,IO,7,4,"div",70),e.k0s(),e.nrm(8,"div",71),e.nI1(9,"async"),e.nI1(10,"imageUrl"),e.bVm()),2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG();e.R7$(2),e.Y8G("ngIf",e.bMT(3,5,d.accountInfo$)),e.R7$(4),e.SpI(" ",o("ui.global.word.profile")," "),e.R7$(),e.Y8G("ngIf",d.vipOpen),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(10,9,null==(n=e.bMT(9,7,d.switchThemeService.imageLink$))?null:n.HEADER_BACK_ICON))}}function OO(a,p){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const n=e.XpG(3).$implicit;e.R7$(),e.JRh(n("ui.global.text.welcome"))}}function RO(a,p){if(1&a&&(e.j41(0,"div",67),e.DNE(1,OO,2,1,"span",19),e.k0s()),2&a){const n=e.XpG(3);e.R7$(),e.Y8G("ngIf",n.isShowIconLabel)}}function SO(a,p){if(1&a&&(e.qex(0),e.DNE(1,EO,2,3,"ng-template",null,4,e.C5r)(3,CO,7,9,"video",62),e.nI1(4,"async"),e.DNE(5,AO,11,11,"ng-container",20),e.nI1(6,"async"),e.DNE(7,RO,2,1,"ng-template",null,5,e.C5r),e.bVm()),2&a){const n=e.sdS(2),o=e.sdS(8),d=e.XpG(2);e.R7$(3),e.Y8G("ngIf",e.bMT(4,4,d.canAutoPlayVideo$)&&!d.useImgHeader)("ngIfElse",n),e.R7$(2),e.Y8G("ngIf",!0===e.bMT(6,6,d.isLogin$))("ngIfElse",o)}}function yO(a,p){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const n=p.ngIf;e.R7$(),e.JRh(n)}}function TO(a,p){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const n=e.XpG().ngIf;e.R7$(),e.JRh(n.userId)}}function bO(a,p){if(1&a&&(e.j41(0,"div",72),e.DNE(1,yO,2,1,"span",19)(2,TO,2,1,"span",19),e.nI1(3,"async"),e.k0s()),2&a){const n=p.ngIf,o=e.XpG(4);e.R7$(),e.Y8G("ngIf",null==n?null:n.userName),e.R7$(),e.Y8G("ngIf",!(null!=n&&n.userName)&&e.bMT(3,2,o.sideMenuState.select("isUserNameFoolProof")))}}function MO(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",73,8),e.bIt("click",function(d){e.eBV(n);const _=e.XpG(4);return e.Njj(_.navigateToVipPointsExchange(d))}),e.j41(2,"div",74),e.EFF(3),e.k0s(),e.j41(4,"span"),e.EFF(5),e.nI1(6,"async"),e.k0s()()}if(2&a){let n;const o=e.XpG(3).$implicit,d=e.XpG();e.R7$(3),e.JRh(o("ui.global.text.vip_points")),e.R7$(2),e.JRh(null==(n=e.bMT(6,2,d.accountInfo$))||null==n.vipInfo?null:n.vipInfo.points)}}function wD(a,p){if(1&a&&(e.qex(0),e.j41(1,"div",75),e.DNE(2,bO,4,4,"div",68),e.nI1(3,"async"),e.j41(4,"p",69,7),e.EFF(6),e.k0s(),e.DNE(7,MO,7,4,"div",70),e.k0s(),e.nrm(8,"div",71),e.nI1(9,"async"),e.nI1(10,"imageUrl"),e.bVm()),2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG();e.R7$(2),e.Y8G("ngIf",e.bMT(3,5,d.accountInfo$)),e.R7$(4),e.SpI(" ",o("ui.global.word.profile")," "),e.R7$(),e.Y8G("ngIf",d.vipOpen),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(10,9,null==(n=e.bMT(9,7,d.switchThemeService.imageLink$))?null:n.HEADER_BACK_ICON))}}function gl(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"video",64,6),e.nI1(3,"async"),e.bIt("canplay",function(){e.eBV(n);const d=e.sdS(2);return e.Njj(d.play())})("loadedmetadata",function(){e.eBV(n);const d=e.sdS(2);return e.Njj(d.muted=!0)}),e.nrm(4,"source",65),e.nI1(5,"async"),e.nrm(6,"source",66),e.nI1(7,"async"),e.k0s(),e.DNE(8,wD,11,11,"ng-container",19),e.nI1(9,"async"),e.bVm()}if(2&a){const n=e.XpG(2);e.R7$(),e.Y8G("mcdSrc",e.bMT(3,4,n.sideMenuVideo$)+".png"),e.R7$(3),e.BMQ("mcdSrc",e.bMT(5,6,n.sideMenuVideo$)+".mov"),e.R7$(2),e.BMQ("mcdSrc",e.bMT(7,8,n.sideMenuVideo$)+".webm"),e.R7$(2),e.Y8G("ngIf",!0===e.bMT(9,10,n.isLogin$))}}function vu(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",86)(1,"div",87),e.EFF(2),e.j41(3,"div",79),e.nI1(4,"async"),e.nI1(5,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(4);return e.Njj(d.balanceReload())}),e.k0s()(),e.j41(6,"div",88)(7,"span",89)(8,"i"),e.EFF(9),e.nI1(10,"async"),e.nI1(11,"toLocalNumber"),e.k0s()()()()}if(2&a){let n,o;const d=e.XpG(3).$implicit,_=e.XpG();e.R7$(2),e.SpI(" ",d("ui.global.text.bonus_wallet")," "),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(5,7,null==(n=e.bMT(4,5,_.switchThemeService.imageLink$))?null:n.BOARD_WALLET_REFRESH_ICON)),e.Y8G("ngClass",e.eq3(14,sa,_.isReload)),e.R7$(6),e.JRh(e.i5U(11,11,null==(o=e.bMT(10,9,_.accountInfo$))?null:o.bonusWalletBalance,"symbol"))}}function PD(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",76)(2,"div",77)(3,"div",78),e.EFF(4),e.j41(5,"div",79),e.nI1(6,"async"),e.nI1(7,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.balanceReload("mainWallet"))}),e.k0s()(),e.j41(8,"div",80)(9,"span",81)(10,"i"),e.EFF(11),e.nI1(12,"toLocalNumber"),e.k0s()()()(),e.j41(13,"div",82),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.openMemberMenu())}),e.nrm(14,"span",83),e.nI1(15,"async"),e.nI1(16,"imageUrl"),e.nrm(17,"span",84),e.k0s(),e.DNE(18,vu,12,16,"div",85),e.nI1(19,"async"),e.k0s(),e.bVm()}if(2&a){let n,o,d;const _=e.XpG(2).$implicit,N=e.XpG();e.R7$(4),e.SpI(" ",_("ui.global.text.main_account_balance")," "),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(7,10,null==(n=e.bMT(6,8,N.switchThemeService.imageLink$))?null:n.BOARD_WALLET_REFRESH_ICON)),e.Y8G("ngClass",e.eq3(20,sa,N.isReload)),e.R7$(6),e.JRh(e.bMT(12,12,N.mainWallet)),e.R7$(3),e.xc7("mask-image",e.bMT(16,16,null==(o=e.bMT(15,14,N.switchThemeService.imageLink$))?null:o.SIDENAV_CATEGORY_ICON_AFTERLOGIN_BONUSES)),e.R7$(4),e.Y8G("ngIf",!0===(null==(d=e.bMT(19,18,N.siteSettingModel$))?null:d.isBonusWallet))}}function NO(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",86)(1,"div",87),e.EFF(2),e.j41(3,"div",79),e.nI1(4,"async"),e.nI1(5,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(4);return e.Njj(d.balanceReload())}),e.k0s()(),e.j41(6,"div",88)(7,"span",89)(8,"i"),e.EFF(9),e.nI1(10,"async"),e.nI1(11,"toLocalNumber"),e.k0s()()()()}if(2&a){let n,o;const d=e.XpG(3).$implicit,_=e.XpG();e.R7$(2),e.SpI(" ",d("ui.global.text.bonus_wallet")," "),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(5,7,null==(n=e.bMT(4,5,_.switchThemeService.imageLink$))?null:n.BOARD_WALLET_REFRESH_ICON)),e.Y8G("ngClass",e.eq3(14,sa,_.isReload)),e.R7$(6),e.JRh(e.i5U(11,11,null==(o=e.bMT(10,9,_.accountInfo$))?null:o.bonusWalletBalance,"symbol"))}}function gm(a,p){if(1&a&&(e.j41(0,"div",91),e.nI1(1,"async"),e.nrm(2,"span",92),e.j41(3,"h4"),e.EFF(4,"Updated"),e.k0s()()),2&a){const n=e.XpG(4);e.Y8G("ngClass",e.eq3(3,bD,e.bMT(1,1,n.isSuccess$)))}}function LD(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",76)(2,"div",77)(3,"div",78),e.EFF(4),e.j41(5,"div",79),e.nI1(6,"async"),e.nI1(7,"imageUrl"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.balanceReload("mainWallet"))}),e.k0s()(),e.j41(8,"div",80)(9,"span",81)(10,"i"),e.EFF(11),e.nI1(12,"toLocalNumber"),e.k0s()()()(),e.DNE(13,NO,12,16,"div",85),e.nI1(14,"async"),e.k0s(),e.DNE(15,gm,5,5,"div",90),e.bVm()}if(2&a){let n,o;const d=e.XpG(2).$implicit,_=e.XpG();e.R7$(4),e.SpI(" ",d("ui.global.text.main_account_balance")," "),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(7,9,null==(n=e.bMT(6,7,_.switchThemeService.imageLink$))?null:n.BOARD_WALLET_REFRESH_ICON)),e.Y8G("ngClass",e.eq3(15,sa,_.isReload)),e.R7$(6),e.JRh(e.bMT(12,11,_.mainWallet)),e.R7$(2),e.Y8G("ngIf",!0===(null==(o=e.bMT(14,13,_.siteSettingModel$))?null:o.isBonusWallet)),e.R7$(2),e.Y8G("ngIf",_.uiConfig.customSideMenuheader)}}function wO(a,p){if(1&a&&(e.qex(0),e.DNE(1,PD,20,22,"ng-container",19)(2,LD,16,17,"ng-container",19),e.bVm()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",!n.uiConfig.customSideMenuheader),e.R7$(),e.Y8G("ngIf",n.uiConfig.customSideMenuheader)}}function xD(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",93)(1,"div",94),e.nrm(2,"span",95),e.j41(3,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.LoginRegisterBtnClick("Login"))}),e.EFF(4),e.k0s()(),e.j41(5,"div",96),e.nrm(6,"span",97),e.j41(7,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.LoginRegisterBtnClick("SignUp"))}),e.EFF(8),e.k0s()()()}if(2&a){const n=e.XpG().$implicit,o=e.XpG();e.R7$(3),e.Y8G("routerLink",e.eq3(4,Yr,o.isEnableMultipleRegisterAndLoginFeatures?o.routingPathType.LOGINNEW_QUICK_ACCOUNT.link:o.routingPathType.LOGIN.link)),e.R7$(),e.JRh(n("ui.global.word.login_uppercase")),e.R7$(3),e.Y8G("routerLink",e.eq3(6,Yr,o.isEnableMultipleRegisterAndLoginFeatures?o.routingPathType.REGISTERNEW_THIRDPARTY.link:o.routingPathType.REGISTER.link)),e.R7$(),e.JRh(n("ui.global.word.sign_up_uppercase"))}}function FD(a,p){if(1&a&&(e.j41(0,"div",98),e.eu8(1,99),e.k0s()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngComponentOutlet",n.middleComponentSlot)}}function kD(a,p){}function Nd(a,p){1&a&&(e.qex(0),e.DNE(1,kD,0,0,"ng-template",100,9,e.C5r),e.bVm())}function _m(a,p){if(1&a&&(e.nrm(0,"span"),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit;e.xc7("mask-image",e.bMT(1,2,n[o.icon]))}}function BD(a,p){if(1&a&&(e.qex(0),e.DNE(1,_m,2,4,"span",110),e.nI1(2,"async"),e.bVm()),2&a){const n=p.$implicit,o=e.XpG().$implicit,d=e.XpG(4);e.R7$(),e.Y8G("ngIf",n.name===o.imageClass&&e.bMT(2,1,d.switchThemeService.imageLink$))}}function mm(a,p){if(1&a&&(e.j41(0,"span",111),e.EFF(1),e.k0s()),2&a){let n;const o=e.XpG().ngIf,d=e.XpG().$implicit,_=e.XpG(4);e.R7$(),e.SpI(" ",_.getNoticeCount(null!==(n=d.imageClass)&&void 0!==n?n:"",o)," ")}}function PO(a,p){if(1&a&&(e.j41(0,"span",112),e.nrm(1,"i",113),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.k0s()),2&a){let n;const o=e.XpG(6);e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,4,null==(n=e.bMT(2,2,o.switchThemeService.imageLink$))?null:n.ICON_EXCLAMATION))}}function vm(a,p){if(1&a&&(e.qex(0),e.DNE(1,mm,2,1,"span",111)(2,PO,4,6,"span",112),e.bVm()),2&a){let n,o;const d=p.ngIf,_=e.XpG().$implicit,N=e.XpG(4);e.R7$(),e.vxM(1,N.showNoticeIcon(null!==(n=_.imageClass)&&void 0!==n?n:"",d)?1:-1),e.R7$(),e.vxM(2,N.showExclamationIcon(null!==(o=_.imageClass)&&void 0!==o?o:"")?2:-1)}}function LO(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"li",109)(2,"a",105),e.bIt("click",function(){const d=e.eBV(n).$implicit,_=e.XpG(4);return e.Njj(_.navigateTo(d.imageLink?d.imageLink:"",!0))}),e.DNE(3,BD,3,3,"ng-container",24),e.j41(4,"p"),e.EFF(5),e.k0s()(),e.DNE(6,vm,3,2,"ng-container",19),e.nI1(7,"async"),e.k0s(),e.bVm()}if(2&a){const n=p.$implicit,o=e.XpG(4);e.R7$(),e.Y8G("ngClass",n.imageClass?n.imageClass:""),e.R7$(2),e.Y8G("ngForOf",o.memberCenterIcon),e.R7$(2),e.JRh(n.imageName),e.R7$(),e.Y8G("ngIf",e.bMT(7,4,o.menuInfo$))}}function UD(a,p){if(1&a&&(e.qex(0),e.j41(1,"div",106)(2,"div",107)(3,"h2")(4,"span"),e.EFF(5),e.k0s()()(),e.j41(6,"ul",108),e.DNE(7,LO,8,6,"ng-container",24),e.k0s()(),e.bVm()),2&a){const n=p.$implicit;e.R7$(),e.Y8G("ngClass",n.listClass?n.listClass:""),e.R7$(4),e.JRh(n.title),e.R7$(),e.Y8G("ngClass",e.lJ4(4,MD).includes(n.imageData.length)&&"csicons"!==n.listClass?"align-center":""),e.R7$(),e.Y8G("ngForOf",n.imageData)}}function Em(a,p){if(1&a&&(e.nrm(0,"span"),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit;e.xc7("mask-image",e.bMT(1,2,n[o.icon]))}}function Zf(a,p){if(1&a&&(e.qex(0),e.DNE(1,Em,2,4,"span",110),e.nI1(2,"async"),e.bVm()),2&a){const n=p.$implicit,o=e.XpG().$implicit,d=e.XpG(4);e.R7$(),e.Y8G("ngIf",n.name===o.socialMediaTypeName.toLocaleLowerCase()&&e.bMT(2,1,d.switchThemeService.imageLink$))}}function GD(a,p){if(1&a&&(e.qex(0),e.j41(1,"li",109)(2,"a",116),e.DNE(3,Zf,3,3,"ng-container",24),e.j41(4,"p"),e.EFF(5),e.k0s()()(),e.bVm()),2&a){const n=p.$implicit,o=e.XpG(4);e.R7$(),e.Y8G("ngClass",n.socialMediaTypeName.toLocaleLowerCase()),e.R7$(),e.Y8G("href",n.link,e.B4B),e.R7$(),e.Y8G("ngForOf",o.socialIcon),e.R7$(2),e.JRh(n.socialMediaTypeName)}}function VD(a,p){if(1&a&&(e.j41(0,"div",114)(1,"div",107)(2,"h2")(3,"span"),e.EFF(4),e.k0s()()(),e.j41(5,"ul",115),e.DNE(6,GD,6,4,"ng-container",24),e.k0s()()),2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.R7$(4),e.JRh(n("ui.global.text.social")),e.R7$(2),e.Y8G("ngForOf",o.socialMediaList)}}function wd(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",117)(1,"a",105),e.bIt("click",function(){const d=e.eBV(n),_=e.XpG(5);return e.Njj(_.openAboutUsLink(d))}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG(4).$implicit,d=e.XpG();e.R7$(2),e.xc7("mask-image",e.bMT(4,5,null==(n=e.bMT(3,3,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_ABOUT)),e.R7$(4),e.JRh(o("ui.global.text.about_us"))}}function $D(a,p){if(1&a&&(e.DNE(0,wd,7,7,"li",117),e.nI1(1,"async")),2&a){let n;const o=e.XpG(4);e.vxM(0,(n=e.bMT(1,1,o.customMenuAboutUsLink$))?0:-1,n)}}function WD(a,p){if(1&a&&(e.j41(0,"span",119),e.nrm(1,"i"),e.nI1(2,"imageUrl"),e.k0s()),2&a){const n=e.XpG().$implicit;e.R7$(),e.xc7("background-image",e.bMT(2,2,n.iconPath))}}function HD(a,p){if(1&a&&(e.nrm(0,"span"),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit;e.xc7("mask-image",e.bMT(1,2,n[o.icon]))}}function jD(a,p){if(1&a&&(e.qex(0),e.DNE(1,HD,2,4,"span",110),e.nI1(2,"async"),e.bVm()),2&a){let n;const o=p.$implicit,d=e.XpG(2).$implicit,_=e.XpG(4);e.R7$(),e.Y8G("ngIf",(null==(n=_.customerServiceType.getInstanceOf(d.customerServiceTypeId))?null:n.h5Class)===o.name&&e.bMT(2,1,_.switchThemeService.imageLink$))}}function KD(a,p){if(1&a&&e.DNE(0,jD,3,3,"ng-container",24),2&a){const n=e.XpG(5);e.Y8G("ngForOf",n.contactIcon)}}function YD(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"li")(2,"a",118),e.bIt("click",function(d){const _=e.eBV(n).$implicit,N=e.XpG(4);return e.Njj(N.onClickContactLink(d,_.customerServiceTypeId,_.url))}),e.DNE(3,WD,3,4,"span",119)(4,KD,1,1),e.j41(5,"p"),e.EFF(6),e.k0s()()(),e.bVm()}if(2&a){let n;const o=p.$implicit,d=e.XpG(4);e.R7$(),e.HbH(null==(n=d.customerServiceType.getInstanceOf(o.customerServiceTypeId))?null:n.h5Class),e.R7$(),e.FS9("href",d.gotoUrl(o.customerServiceTypeId,o.url),e.B4B),e.R7$(),e.vxM(3,o.iconPath?3:4),e.R7$(3),e.JRh(o.value?o.value:o.displayName)}}function XD(a,p){if(1&a&&(e.qex(0),e.j41(1,"div",114)(2,"div",107)(3,"h2")(4,"span"),e.EFF(5),e.k0s()()(),e.j41(6,"ul",115),e.DNE(7,$D,2,3)(8,YD,7,6,"ng-container",24),e.k0s()(),e.bVm()),2&a){const n=p.$implicit,o=e.XpG(2).$implicit,d=e.XpG();e.R7$(5),e.JRh(o("ui.global.text.contact_us")),e.R7$(2),e.vxM(7,d.isShowAboutUs()?7:-1),e.R7$(),e.Y8G("ngForOf",n)}}function Cm(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",101)(2,"div",102),e.DNE(3,UD,8,5,"ng-container",24),e.nI1(4,"async"),e.DNE(5,VD,7,2,"div",103)(6,XD,9,3,"ng-container",19),e.nI1(7,"async"),e.nI1(8,"async"),e.j41(9,"div",104)(10,"a",105),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.logout())}),e.EFF(11),e.k0s()()()(),e.bVm()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.AVh("active",d.isMemberMenuActive),e.R7$(2),e.Y8G("ngForOf",e.bMT(4,6,d.memberListData$)),e.R7$(2),e.Y8G("ngIf",d.socialMediaList&&d.socialMediaList.length>0),e.R7$(),e.Y8G("ngIf",!0===d.isSideMenuOpen()&&(null==(n=e.bMT(7,8,d.csList$))?null:n.length)&&e.bMT(8,10,d.csList$)),e.R7$(5),e.JRh(o("ui.member_menu.text.logout"))}}function Dm(a,p){1&a&&(e.j41(0,"li")(1,"a"),e.nrm(2,"span",120)(3,"p",121),e.k0s()())}function QD(a,p){1&a&&(e.j41(0,"li")(1,"a"),e.nrm(2,"span",120)(3,"p",121),e.k0s()())}function xO(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",122),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.openSearch())}),e.j41(1,"span"),e.EFF(2),e.k0s(),e.nrm(3,"i",123),e.nI1(4,"async"),e.nI1(5,"imageUrl"),e.k0s()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(2),e.JRh(o("ui.filter_tab.search_games")),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(5,5,null==(n=e.bMT(4,3,d.switchThemeService.imageLink$))?null:n.SEARCH_SEARCH_ICON))}}function Im(a,p){if(1&a){const n=e.RV6();e.j41(0,"ul",124)(1,"li",125),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuDepositWithdrawalClick("Deposit"))}),e.j41(3,"a"),e.nrm(4,"span"),e.nI1(5,"async"),e.nI1(6,"imageUrl"),e.j41(7,"p"),e.EFF(8),e.k0s()()(),e.j41(9,"li",126),e.nI1(10,"async"),e.j41(11,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuDepositWithdrawalClick("Withdrawal"))}),e.nrm(12,"span"),e.nI1(13,"async"),e.nI1(14,"imageUrl"),e.j41(15,"p"),e.EFF(16),e.k0s()()()()}if(2&a){let n,o;const d=e.XpG().$implicit,_=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(22,Yr,_.routingPathType.WALLET_DEPOSIT.link)),e.BMQ("ot-tag","menu_Deposit"+(e.bMT(2,10,_.isLogin$)?"_T":"_F")),e.R7$(3),e.xc7("mask-image",e.bMT(6,14,null==(n=e.bMT(5,12,_.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_DEPOSIT)),e.R7$(4),e.JRh(d("ui.global.word.deposit")),e.R7$(),e.BMQ("ot-tag","menu_Withdrawal"+(e.bMT(10,16,_.isLogin$)?"_T":"_F")),e.R7$(2),e.Y8G("routerLink",e.eq3(24,Yr,_.routingPathType.WALLET_WITHDRAWAL.link)),e.R7$(),e.xc7("mask-image",e.bMT(14,20,null==(o=e.bMT(13,18,_.switchThemeService.imageLink$))?null:o.SIDENAV_CATEGORY_ICON_WITHDRAWAL)),e.R7$(4),e.JRh(d("ui.member_menu.word.withdrawal"))}}function Am(a,p){if(1&a&&(e.nrm(0,"span",109),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let n;const o=e.XpG(3);e.xc7("mask-image",e.bMT(2,5,null==(n=e.bMT(1,3,o.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_CRICKET)),e.Y8G("ngClass",e.eq3(7,sa,"cricket"===o.menu2ndType))}}function Lc(a,p){if(1&a){const n=e.RV6();e.j41(0,"li"),e.nI1(1,"async"),e.j41(2,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("cricket"))}),e.DNE(3,Am,3,9,"span",127),e.j41(4,"p"),e.EFF(5),e.k0s()()()}if(2&a){const n=e.XpG().$implicit,o=e.XpG();e.BMQ("data-category","cricket")("ot-tag","menu_Exchange"+(e.bMT(1,5,o.isLogin$)?"_T":"_F")),e.R7$(2),e.Y8G("routerLink",e.eq3(7,Yr,o.cricketRoute.link)),e.R7$(),e.Y8G("ngIf","cricket"!==o.menu2ndType),e.R7$(2),e.JRh(void 0!==o.cricketDisplayName()?o.cricketDisplayName():n("ui.global.word.cricket"))}}function Om(a,p){if(1&a&&(e.nrm(0,"span"),e.nI1(1,"imageUrl"),e.nI1(2,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit,d=e.XpG(3);e.xc7("mask-image",o.imageActive&&o.category===d.menu2ndType?e.bMT(1,2,n[o.imageActive]):o.image?e.bMT(2,4,n[o.image]):"")}}function zD(a,p){if(1&a){const n=e.RV6();e.j41(0,"li")(1,"a",105),e.bIt("click",function(){const d=e.eBV(n).$implicit,_=e.XpG(3);return e.Njj(_.onCustomSideMenuItemClcik(d))}),e.DNE(2,Om,3,6,"span",110),e.nI1(3,"async"),e.j41(4,"p"),e.EFF(5),e.k0s()()()}if(2&a){const n=p.$implicit,o=e.XpG(2).$implicit,d=e.XpG();e.AVh("game-nav-item",!0)("active",n.category===d.menu2ndType),e.BMQ("data-category",n.category),e.R7$(2),e.Y8G("ngIf",e.bMT(3,7,d.switchThemeService.imageLink$)),e.R7$(3),e.JRh(n.i18nName?o(n.i18nName).toUpperCase():n.displayName)}}function FO(a,p){if(1&a&&(e.qex(0),e.DNE(1,zD,6,9,"li",128),e.bVm()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngForOf",n.customSideMenuCategory)}}function qf(a,p){if(1&a&&(e.nrm(0,"span",109),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit,d=e.XpG().$implicit,_=e.XpG(3);e.xc7("mask-image",e.bMT(1,3,n[o.icon])),e.Y8G("ngClass",e.eq3(5,sa,d.category===_.menu2ndType))}}function ep(a,p){if(1&a&&(e.qex(0),e.DNE(1,qf,2,7,"span",127),e.nI1(2,"async"),e.bVm()),2&a){const n=p.$implicit,o=e.XpG().$implicit,d=e.XpG(3);e.R7$(),e.Y8G("ngIf",n.name===o.category&&e.bMT(2,1,d.switchThemeService.imageLink$))}}function JD(a,p){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"lowercase"),e.nI1(3,"lowercase"),e.nI1(4,"uppercase"),e.k0s()),2&a){const n=e.XpG().$implicit,o=e.XpG(2).$implicit;e.R7$(),e.SpI(" ","CockFighting"===n.gameType.name||"Sport"===n.gameType.name?o(e.bMT(2,1,"ui.global.game_type."+n.gameType.name)):e.bMT(4,5,o(e.bMT(3,3,"ui.global.game_type."+n.gameType.name)))," ")}}function Rm(a,p){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"lowercase"),e.k0s()),2&a){const n=e.XpG().$implicit,o=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",o(e.bMT(2,1,"ui.global.game_type."+n.gameType.name))," ")}}function tp(a,p){if(1&a){const n=e.RV6();e.j41(0,"li")(1,"a",105),e.bIt("click",function(d){const _=e.eBV(n).$implicit,N=e.XpG(3);return e.Njj(N.expandSecondMenu(d,_))}),e.DNE(2,ep,3,3,"ng-container",24)(3,JD,5,7,"p",19)(4,Rm,3,3,"p",19),e.k0s()()}if(2&a){const n=p.$implicit,o=e.XpG(3);e.AVh("game-nav-item",!0)("active",n.category===o.menu2ndType),e.BMQ("data-category",n.category),e.R7$(2),e.Y8G("ngForOf",o.gameIcon),e.R7$(),e.Y8G("ngIf",o.upperCaseGameType),e.R7$(),e.Y8G("ngIf",!o.upperCaseGameType)}}function ZD(a,p){if(1&a&&(e.qex(0),e.DNE(1,tp,5,8,"li",128),e.bVm()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngForOf",n.vendorList())}}function Pd(a,p){if(1&a){const n=e.RV6();e.j41(0,"li")(1,"a",105),e.bIt("click",function(d){const _=e.eBV(n).$implicit,N=e.XpG(3);return e.Njj(N.selectCategoryNavTab(_,!0,d))}),e.nrm(2,"span",129),e.nI1(3,"galleryImageAsync"),e.nI1(4,"async"),e.nI1(5,"imageUrl"),e.j41(6,"p"),e.EFF(7),e.k0s()()()}if(2&a){const n=p.$implicit,o=e.XpG(3);e.AVh("game-nav-item",!0)("active",o.selectedCategoryNavTab===n),e.BMQ("data-category-type-id",n.categoryTypeId)("gallery-image-key",n.iconFlag),e.R7$(2),e.xc7("mask-image",e.bMT(5,15,e.bMT(4,13,e.i5U(3,10,n.iconFlag,o.galleryCategoryType.LEFT_NAV))||"")),e.Y8G("ngClass",e.eq3(17,sa,o.selectedCategoryNavTab===n)),e.R7$(5),e.JRh(n.displayName)}}function kO(a,p){if(1&a&&(e.qex(0),e.DNE(1,Pd,8,19,"li",128),e.bVm()),2&a){const n=p.$implicit;e.R7$(),e.Y8G("ngForOf",n)}}function BO(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",130)(1,"a",105),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.onForumClick())}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(2),e.xc7("mask-image",e.bMT(4,5,null==(n=e.bMT(3,3,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_FORUM)),e.R7$(4),e.JRh(o("ui.global.word.forum"))}}function qD(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",131)(1,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("VIP"))}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(8,Yr,d.routingPathType.VIP_DETAIL.link)),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_VIP)),e.R7$(4),e.JRh(o("ui.member_menu.word.vip"))}}function UO(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",132)(1,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("download"))}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(8,Yr,d.routingPathType.APP_DOWNLOAD.link)),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_DOWNLOAD)),e.R7$(4),e.JRh(o("ui.global.word.download"))}}function _l(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",133)(1,"a",118),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("affiliate"))}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.affiliateLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_AFFILIATE)),e.R7$(4),e.SpI(" ",o(d.isCustomI18nForAffiliateName?"ui.global.word.affiliates":"ui.global.word.affiliate")," ")}}function GO(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",134)(1,"a",118),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("leaderBoard"))}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.leaderBoardLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_LEADERBOARD)),e.R7$(4),e.JRh(o("ui.global.word.leaderboard"))}}function Ld(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"a",118),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.menuBtnClick("sponsor"))}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()(),e.bVm()}if(2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.sponsorLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_SPONSOR)),e.R7$(4),e.JRh(o("ui.global.word.sponsor"))}}function eI(a,p){if(1&a){const n=e.RV6();e.j41(0,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.menuBtnClick("sponsor"))}),e.nrm(1,"span"),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.j41(4,"p"),e.EFF(5),e.k0s()()}if(2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG();e.Y8G("routerLink",e.eq3(8,Yr,d.routingPathType.SPONSOR.link)),e.R7$(),e.xc7("mask-image",e.bMT(3,6,null==(n=e.bMT(2,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_SPONSOR)),e.R7$(4),e.JRh(o("ui.global.word.sponsor"))}}function tI(a,p){if(1&a&&(e.j41(0,"li",135),e.DNE(1,Ld,7,8,"ng-container",20)(2,eI,6,10,"ng-template",null,10,e.C5r),e.k0s()),2&a){const n=e.sdS(3),o=e.XpG(2);e.R7$(),e.Y8G("ngIf",o.sponsorLink)("ngIfElse",n)}}function np(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",136)(1,"a",118),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("blog"))}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.blogLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_BLOG)),e.R7$(4),e.JRh(o("ui.global.word.side_blog"))}}function nI(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.menuBtnClick("ambassador"))}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()(),e.bVm()}if(2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(8,Yr,d.routingPathType.AMBASSADOR.link)),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_AMBASSADOR)),e.R7$(4),e.JRh(o("ui.side_menu.word.ambassador"))}}function va(a,p){if(1&a){const n=e.RV6();e.j41(0,"a",118),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.close())}),e.nrm(1,"span"),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.j41(4,"p"),e.EFF(5),e.k0s()()}if(2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG();e.Y8G("href",d.ambassadorLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(3,6,null==(n=e.bMT(2,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_AMBASSADOR)),e.R7$(4),e.JRh(o("ui.side_menu.word.ambassador"))}}function Eu(a,p){if(1&a&&(e.j41(0,"li",137),e.DNE(1,nI,7,10,"ng-container",20)(2,va,6,8,"ng-template",null,11,e.C5r),e.k0s()),2&a){const n=e.sdS(3),o=e.XpG(2);e.R7$(),e.Y8G("ngIf",!o.ambassadorLink)("ngIfElse",n)}}function Hs(a,p){if(1&a){const n=e.RV6();e.j41(0,"li")(1,"a",118),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.close())}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.partnershipLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_PARTNERSHIP)),e.R7$(4),e.JRh(o("ui.side_menu.word.partnerships"))}}function xc(a,p){if(1&a&&(e.nrm(0,"img",141),e.nI1(1,"async")),2&a){let n;const o=e.XpG(4);e.Y8G("mcdSrc",null==(n=e.bMT(1,1,o.switchThemeService.imageLink$))?null:n.SIDENAV_ICON_REFERRAL_REMINDER_ICON)}}function xd(a,p){if(1&a&&(e.qex(0),e.j41(1,"div",139),e.DNE(2,xc,2,3,"img",140),e.nI1(3,"async"),e.k0s(),e.bVm()),2&a){const n=e.XpG(3);e.R7$(2),e.Y8G("ngIf",e.bMT(3,1,n.switchThemeService.imageLink$))}}function jo(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",138)(1,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("referral-program"))}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()(),e.DNE(7,xd,4,3,"ng-container",19),e.nI1(8,"async"),e.k0s()}if(2&a){let n,o;const d=e.XpG().$implicit,_=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(11,Yr,_.routingPathType.REFERRAL_PROGRAM_PROMOTION.link)),e.R7$(),e.xc7("mask-image",e.bMT(4,7,null==(n=e.bMT(3,5,_.switchThemeService.imageLink$))?null:n.SIDENAV_ICON_REFERRAL)),e.R7$(4),e.JRh(d("ui.global.word.referral_program")),e.R7$(),e.Y8G("ngIf",null==(o=e.bMT(8,9,_.accountInfo$))?null:o.isAvailableClaimRafCommission)}}function Cu(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",142)(1,"a",31),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.close())}),e.nrm(3,"span"),e.nI1(4,"async"),e.nI1(5,"imageUrl"),e.j41(6,"p"),e.EFF(7),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(10,Yr,e.bMT(2,4,d.isLogin$)?d.routingPathType.REFERRAL.link:d.routingPathType.REFERRAL_BONUS.link)),e.R7$(2),e.xc7("mask-image",e.bMT(5,8,null==(n=e.bMT(4,6,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_REFERRAL)),e.R7$(4),e.JRh(o("ui.global.word.refer_bonus"))}}function iI(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",42)(1,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.close())}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(8,Yr,d.routingPathType.WINNER_BOARD.link)),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_ICON_WINNER_BOARD)),e.R7$(4),e.JRh(o("ui.winner_board.text.winner_board"))}}function ml(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",143)(1,"a",144),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.menuBtnClick("help"))}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.helpPageLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_HELP)),e.R7$(4),e.JRh(o("ui.global.text.help_page"))}}function Sm(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",142)(1,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.close())}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",d.getReferBonusLink()),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_REFERRAL_BONUS)),e.R7$(4),e.JRh(o("ui.global.word.refer_bonus"))}}function ym(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",147)(1,"a",118),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.close())}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG(2).$implicit,d=e.XpG();e.R7$(),e.Y8G("href",d.vipProgramLink(),e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_VIP)),e.R7$(4),e.JRh(o("ui.global.word.vip_program"))}}function sI(a,p){if(1&a){const n=e.RV6();e.j41(0,"ul",145),e.DNE(1,Sm,7,8,"li",41),e.nI1(2,"async"),e.j41(3,"li",146)(4,"a",118),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.close())}),e.nrm(5,"span"),e.nI1(6,"async"),e.nI1(7,"imageUrl"),e.j41(8,"p"),e.EFF(9),e.k0s()()(),e.DNE(10,ym,7,8,"li",147),e.k0s()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("ngIf",e.bMT(2,6,d.isLogin$)),e.R7$(3),e.FS9("href",d.referProgramLink,e.B4B),e.R7$(),e.xc7("mask-image",e.bMT(7,10,null==(n=e.bMT(6,8,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_REFERRAL_PROGRAM)),e.R7$(4),e.JRh(o("ui.global.word.refer_program")),e.R7$(),e.vxM(10,d.vipProgramLink()?10:-1)}}function rI(a,p){if(1&a&&(e.nrm(0,"span",119),e.nI1(1,"imageUrl")),2&a){const n=e.XpG(2).$implicit;e.xc7("background-image",e.bMT(1,2,n.iconPath))}}function js(a,p){if(1&a&&(e.nrm(0,"span"),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit;e.xc7("mask-image",e.bMT(1,2,n[o.icon]))}}function Tm(a,p){if(1&a&&(e.qex(0),e.DNE(1,js,2,4,"span",110),e.nI1(2,"async"),e.bVm()),2&a){const n=p.$implicit,o=e.XpG(2).$implicit,d=e.XpG(4);e.R7$(),e.Y8G("ngIf",o.h5Class===n.name&&e.bMT(2,1,d.switchThemeService.imageLink$))}}function oI(a,p){if(1&a&&e.DNE(0,Tm,3,3,"ng-container",24),2&a){const n=e.XpG(5);e.Y8G("ngForOf",n.contactIcon)}}function Ks(a,p){if(1&a){const n=e.RV6();e.j41(0,"li")(1,"a",118),e.bIt("click",function(d){e.eBV(n);const _=e.XpG().$implicit,N=e.XpG(3);return e.Njj(N.onClickContactLink(d,_.customerServiceTypeId,_.url))}),e.DNE(2,rI,2,4,"span",149)(3,oI,1,1),e.j41(4,"p"),e.EFF(5),e.k0s()()()}if(2&a){const n=p.$implicit,o=e.XpG().$implicit,d=e.XpG(3);e.HbH(n.h5Class),e.BMQ("data-category",n.h5Class),e.R7$(),e.FS9("href",d.gotoUrl(o.customerServiceTypeId,o.url),e.B4B),e.R7$(),e.vxM(2,o.iconPath?2:3),e.R7$(3),e.JRh(o.value?o.value:o.displayName)}}function Du(a,p){if(1&a&&(e.qex(0),e.DNE(1,Ks,6,7,"li",148),e.bVm()),2&a){const n=p.$implicit,o=e.XpG(3);e.R7$(),e.Y8G("ngIf",o.customerServiceType.getInstanceOf(n.customerServiceTypeId))}}function vl(a,p){if(1&a&&(e.qex(0),e.DNE(1,Du,2,1,"ng-container",24),e.nI1(2,"async"),e.bVm()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngForOf",e.bMT(2,1,n.csList$))}}function Fd(a,p){if(1&a){const n=e.RV6();e.j41(0,"ul",46)(1,"img",150),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.openLink(d.bannerData.link))}),e.k0s()()}if(2&a){const n=e.XpG(2);e.R7$(),e.Y8G("mcdSrc",n.bannerData.imgUrl)}}function Iu(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",151)(1,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.loginBtnBotClick())}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(),e.Y8G("routerLink",e.eq3(8,Yr,d.routingPathType.LOGINNEW_QUICK_ACCOUNT.link)),e.R7$(),e.xc7("mask-image",e.bMT(4,6,null==(n=e.bMT(3,4,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_LOGIN)),e.R7$(4),e.JRh(o("ui.global.word.login"))}}function kd(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",152)(1,"a",105),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.logout())}),e.nrm(2,"span"),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG().$implicit,d=e.XpG();e.R7$(2),e.xc7("mask-image",e.bMT(4,5,null==(n=e.bMT(3,3,d.switchThemeService.imageLink$))?null:n.SIDENAV_CATEGORY_ICON_LOGOUT)),e.R7$(4),e.JRh(o("ui.member_menu.text.logout"))}}function bm(a,p){if(1&a&&(e.j41(0,"div",153),e.eu8(1,99),e.k0s()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngComponentOutlet",n.bottomComponentSlot)}}function Mm(a,p){if(1&a&&(e.qex(0),e.nrm(1,"img",63),e.bVm()),2&a){const n=e.XpG(2).$implicit;e.R7$(),e.Y8G("mcdSrc",n.imagePath)}}function Nm(a,p){if(1&a&&(e.qex(0),e.nrm(1,"div",158),e.nI1(2,"imageUrl"),e.bVm()),2&a){const n=e.XpG().ngIf,o=e.XpG().$implicit;e.R7$(),e.xc7("background-image",e.bMT(2,2,n[o.image]))}}function Bd(a,p){if(1&a&&(e.qex(0),e.DNE(1,Mm,2,1,"ng-container",19)(2,Nm,3,4,"ng-container",19),e.bVm()),2&a){const n=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",!!n.imagePath),e.R7$(),e.Y8G("ngIf",!!n.image)}}function ip(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",156),e.bIt("click",function(){const d=e.eBV(n).$implicit,_=e.XpG(4);return e.Njj(_.onCustomSideMenuItemClcik(d))}),e.j41(1,"a",157),e.DNE(2,Bd,3,2,"ng-container",19),e.nI1(3,"async"),e.j41(4,"p"),e.EFF(5),e.k0s()()()}if(2&a){const n=p.$implicit,o=e.XpG(3).$implicit,d=e.XpG();e.R7$(2),e.Y8G("ngIf",e.bMT(3,2,d.switchThemeService.imageLink$)),e.R7$(3),e.SpI("",n.i18nName?o(n.i18nName):n.displayName," ")}}function wm(a,p){if(1&a&&(e.j41(0,"ul",109),e.DNE(1,ip,6,4,"li",155),e.k0s()),2&a){const n=p.$implicit,o=e.XpG(3);e.Y8G("ngClass",e.eq3(2,sa,o.menu2ndType===n.category)),e.R7$(),e.Y8G("ngForOf",n.subMenuItems)}}function Ud(a,p){if(1&a&&(e.qex(0),e.DNE(1,wm,2,4,"ul",154),e.bVm()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngForOf",n.customSideMenuCategory)}}function Fc(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",105),e.bIt("click",function(){e.eBV(n);const d=e.XpG().$implicit,_=e.XpG(3);return e.Njj(_.goToAllGameType(d.gameType))}),e.j41(1,"a",157),e.nrm(2,"span",160),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let n;const o=e.XpG(3).$implicit,d=e.XpG();e.R7$(2),e.xc7("mask-image",e.bMT(4,5,null==(n=e.bMT(3,3,d.switchThemeService.imageLink$))?null:n.SIDENAV_ALL_PROVIDER_ICON)),e.R7$(4),e.JRh(o("ui.global.text.all_provider"))}}function aI(a,p){if(1&a&&(e.qex(0),e.eu8(1,161),e.bVm()),2&a){const n=p.$implicit,o=e.XpG().$implicit;e.XpG(3);const d=e.sdS(2),_=e.sdS(4);e.R7$(),e.Y8G("ngTemplateOutlet","CRICKETV2"===n.vendorCode||"AWCV2_VELKI"===n.vendorCode?d:_)("ngTemplateOutletContext",e.l_i(2,ND,n,o))}}function bo(a,p){if(1&a&&(e.j41(0,"ul",109),e.nI1(1,"async"),e.DNE(2,Fc,7,7,"li",159)(3,aI,2,5,"ng-container",24),e.k0s()),2&a){const n=p.$implicit,o=e.XpG(3);e.Y8G("ngClass",e.eq3(6,sa,o.menu2ndType===n.category)),e.BMQ("ot-tag","menu_"+n.gameType.name+(e.bMT(1,4,o.isLogin$)?"_T":"_F")),e.R7$(2),e.Y8G("ngIf","sport"!==n.category&&"rain"!==n.category&&"cockfighting"!==n.category),e.R7$(),e.Y8G("ngForOf",n.vendorList)}}function cI(a,p){if(1&a&&(e.qex(0),e.DNE(1,bo,4,8,"ul",154),e.bVm()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngForOf",n.vendorList())}}function lI(a,p){if(1&a){const n=e.RV6();e.j41(0,"ul",109)(1,"mcd-side-game-layout",162),e.bIt("categoryNavClick",function(d){e.eBV(n);const _=e.XpG(3);return e.Njj(_.clickCategoryNavContent(d.categoryObject,d.galleryType))}),e.k0s()()}if(2&a){const n=p.$implicit,o=e.XpG(3);e.Y8G("ngClass",e.eq3(3,sa,o.selectedCategoryNavTab===n)),e.R7$(),e.Y8G("categoryData",n)("vendorIconColor",o.vendorIconColor()||o.uiConfig.vendorIconColor)}}function sp(a,p){if(1&a&&(e.qex(0),e.DNE(1,lI,2,5,"ul",154),e.bVm()),2&a){const n=p.$implicit;e.R7$(),e.Y8G("ngForOf",n)}}function Pm(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"mcd-search-game",163),e.bIt("closeSearchEmitEvt",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.closeSearch())}),e.k0s(),e.bVm()}if(2&a){const n=e.XpG(2);e.R7$(),e.Y8G("isActive",n.isOpenSearch())}}function Lm(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"div",13),e.nI1(2,"async"),e.nI1(3,"async"),e.bIt("click",function(d){e.eBV(n);const _=e.XpG();return e.Njj(_.closeWithClickingOutsideMenu(d))}),e.j41(4,"div",14),e.nI1(5,"async"),e.nI1(6,"imageUrl"),e.nI1(7,"async"),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.close("closeBtn"))}),e.k0s(),e.j41(8,"div",15)(9,"div",16),e.DNE(10,vO,11,12,"div",17),e.j41(11,"div",18),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.onMenuHeaderClick())}),e.DNE(12,SO,9,8,"ng-container",19)(13,gl,10,12,"ng-container",19),e.k0s(),e.DNE(14,wO,3,2,"ng-container",20),e.nI1(15,"async"),e.DNE(16,xD,9,8,"ng-template",null,2,e.C5r)(18,FD,2,1,"div",21),e.k0s(),e.DNE(19,Nd,3,0,"ng-container",19)(20,Cm,12,12,"ng-container",19),e.nI1(21,"async"),e.j41(22,"div",22)(23,"div"),e.nI1(24,"async"),e.j41(25,"ul",23),e.DNE(26,Dm,4,0,"li",24),e.k0s(),e.j41(27,"ul",25),e.DNE(28,QD,4,0,"li",24),e.k0s()(),e.j41(29,"div"),e.nI1(30,"async"),e.DNE(31,xO,6,7,"div",26)(32,Im,17,26,"ul",27),e.nI1(33,"async"),e.j41(34,"ul",28),e.DNE(35,Lc,6,9,"li",19),e.nI1(36,"async"),e.DNE(37,FO,2,1,"ng-container",19),e.nI1(38,"async"),e.DNE(39,ZD,2,1,"ng-container",19),e.nI1(40,"async"),e.DNE(41,kO,2,1,"ng-container",19),e.nI1(42,"async"),e.nI1(43,"async"),e.k0s(),e.j41(44,"ul",29)(45,"li",30)(46,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.menuBtnClick("promotion"))}),e.nrm(47,"span"),e.nI1(48,"async"),e.nI1(49,"imageUrl"),e.j41(50,"p"),e.EFF(51),e.k0s()()(),e.DNE(52,BO,7,7,"li",32)(53,qD,7,10,"li",33)(54,UO,7,10,"li",34)(55,_l,7,8,"li",35)(56,GO,7,8,"li",36)(57,tI,4,2,"li",37)(58,np,7,8,"li",38)(59,Eu,4,2,"li",39)(60,Hs,7,8,"li",19)(61,jo,9,13,"li",40),e.nI1(62,"async"),e.DNE(63,Cu,8,12,"li",41),e.nI1(64,"async"),e.DNE(65,iI,7,10,"li",42)(66,ml,7,8,"li",43),e.k0s(),e.DNE(67,sI,11,12,"ul",44),e.j41(68,"ul",45),e.DNE(69,vl,3,3,"ng-container",19),e.k0s(),e.DNE(70,Fd,2,1,"ul",46),e.j41(71,"ul",47)(72,"li",48)(73,"a",31),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.menuBtnClick("home"))}),e.nrm(74,"span"),e.nI1(75,"async"),e.nI1(76,"imageUrl"),e.j41(77,"p"),e.EFF(78),e.k0s()()(),e.DNE(79,Iu,7,10,"li",49),e.nI1(80,"async"),e.DNE(81,kd,7,7,"li",50),e.nI1(82,"async"),e.k0s()(),e.DNE(83,bm,2,1,"div",51),e.k0s()(),e.j41(84,"div",52),e.DNE(85,Ud,2,1,"ng-container",19),e.nI1(86,"async"),e.DNE(87,cI,2,1,"ng-container",19),e.nI1(88,"async"),e.DNE(89,sp,2,1,"ng-container",19),e.nI1(90,"async"),e.nI1(91,"async"),e.k0s()(),e.DNE(92,Pm,2,1,"ng-container",19),e.j41(93,"div",53,3),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.close())}),e.k0s(),e.bVm()}if(2&a){let n,o,d,_;const N=p.$implicit,U=e.sdS(17),ue=e.XpG();e.R7$(),e.AVh("active",ue.isSideMenuOpen()&&!ue.isOpenSearch())("show",!e.bMT(2,60,ue.isOpenMemberMenu$)),e.Y8G("ngClass",e.eq3(114,lm,!0===e.bMT(3,62,ue.isLogin$))),e.R7$(3),e.xc7("-webkit-mask-image",e.bMT(6,66,null==(n=e.bMT(5,64,ue.switchThemeService.imageLink$))?null:n.POP_CLOSE_ICON)),e.Y8G("ngClass",e.eq3(116,um,e.bMT(7,68,ue.isOpenMemberMenu$))),e.R7$(6),e.Y8G("ngIf",ue.isShowToggleBox),e.R7$(2),e.Y8G("ngIf",!ue.uiConfig.customSideMenuheader),e.R7$(),e.Y8G("ngIf",ue.uiConfig.customSideMenuheader),e.R7$(),e.Y8G("ngIf",!0===e.bMT(15,70,ue.isLogin$))("ngIfElse",U),e.R7$(4),e.Y8G("ngIf",ue.middleComponentSlot),e.R7$(),e.Y8G("ngIf",ue.customMenuBanner),e.R7$(),e.Y8G("ngIf",e.bMT(21,72,ue.isLogin$)),e.R7$(3),e.xc7("display",!0===e.bMT(24,74,ue.isBindingAnimation$)?"":"none"),e.R7$(3),e.Y8G("ngForOf",e.lJ4(118,dm)),e.R7$(2),e.Y8G("ngForOf",e.lJ4(119,hm)),e.R7$(),e.xc7("display",!1===e.bMT(30,76,ue.isBindingAnimation$)?"":"none"),e.R7$(2),e.Y8G("ngIf",ue.isOrion),e.R7$(),e.Y8G("ngIf",!0===e.bMT(33,78,ue.isLogin$)),e.R7$(3),e.Y8G("ngIf",!1!==e.bMT(36,80,ue.isShowCricket$)&&!ue.isShowCricketV2InSports),e.R7$(2),e.Y8G("ngIf",!e.bMT(38,82,ue.isEnableWebsiteCategory$)&&ue.customSideMenuCategory),e.R7$(2),e.Y8G("ngIf",!e.bMT(40,84,ue.isEnableWebsiteCategory$)&&ue.vendorList()),e.R7$(2),e.Y8G("ngIf",e.bMT(42,86,ue.isEnableWebsiteCategory$)&&e.bMT(43,88,ue.categoryList$)),e.R7$(5),e.Y8G("routerLink",e.eq3(120,Yr,ue.routingPathType.PROMOTION.link)),e.R7$(),e.xc7("mask-image",e.bMT(49,92,null==(o=e.bMT(48,90,ue.switchThemeService.imageLink$))?null:o.SIDENAV_CATEGORY_ICON_PROMOTION)),e.R7$(4),e.JRh(N("ui.global.word.promotions")),e.R7$(),e.Y8G("ngIf",ue.hasForum),e.R7$(),e.Y8G("ngIf",ue.vipOpen),e.R7$(),e.Y8G("ngIf",ue.isAndroid&&!ue.isNativeApp&&!ue.hideAppDownload),e.R7$(),e.Y8G("ngIf",ue.affiliateLink),e.R7$(),e.Y8G("ngIf",ue.leaderBoardLink),e.R7$(),e.Y8G("ngIf",ue.isShowSponsor),e.R7$(),e.Y8G("ngIf",ue.blogLink),e.R7$(),e.Y8G("ngIf",ue.isShowAmbassador),e.R7$(),e.Y8G("ngIf",ue.partnershipLink),e.R7$(),e.Y8G("ngIf",e.bMT(62,94,ue.sideMenuState.select("isShowReferralProgramPromotion"))),e.R7$(2),e.Y8G("ngIf",ue.hasReferBonus&&(null==(d=e.bMT(64,96,ue.siteSettingModel$))?null:d.isEnabledRafCommission)&&!ue.hasReferCompositeEntry),e.R7$(2),e.vxM(65,ue.isEnableWinnerBoard?65:-1),e.R7$(),e.Y8G("ngIf",ue.helpPageLink),e.R7$(),e.Y8G("ngIf",ue.hasReferCompositeEntry),e.R7$(2),e.Y8G("ngIf",!0===ue.isSideMenuOpen()),e.R7$(),e.vxM(70,ue.bannerData?70:-1),e.R7$(3),e.Y8G("routerLink",e.eq3(122,Yr,ue.routingPathType.MAIN.link)),e.R7$(),e.xc7("mask-image",e.bMT(76,100,null==(_=e.bMT(75,98,ue.switchThemeService.imageLink$))?null:_.SIDENAV_CATEGORY_ICON_HOME)),e.R7$(4),e.JRh(N("ui.global.word.home")),e.R7$(),e.Y8G("ngIf",!1===e.bMT(80,102,ue.isLogin$)),e.R7$(2),e.Y8G("ngIf",!0===e.bMT(82,104,ue.isLogin$)),e.R7$(2),e.Y8G("ngIf",ue.bottomComponentSlot),e.R7$(2),e.Y8G("ngIf",!e.bMT(86,106,ue.isEnableWebsiteCategory$)&&ue.customSideMenuCategory),e.R7$(2),e.Y8G("ngIf",!e.bMT(88,108,ue.isEnableWebsiteCategory$)&&ue.vendorList()),e.R7$(2),e.Y8G("ngIf",e.bMT(90,110,ue.isEnableWebsiteCategory$)&&e.bMT(91,112,ue.categoryList$)),e.R7$(3),e.Y8G("ngIf",ue.isOrion),e.R7$(),e.Y8G("@popBgTriggerAni",ue.isSideMenuOpen())}}function uI(a,p){if(1&a&&(e.nrm(0,"div",166),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let n;const o=e.XpG(3);e.xc7("mask-image",e.bMT(2,4,null==(n=e.bMT(1,2,o.switchThemeService.imageLink$))?null:n.SIDENAV_CRICKET_ICON))}}function VO(a,p){if(1&a&&(e.nrm(0,"div",167),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let n;const o=e.XpG(3);e.xc7("background-image",e.bMT(2,4,null==(n=e.bMT(1,2,o.switchThemeService.imageLink$))?null:n.SIDENAV_CRICKET_ICON))}}function dI(a,p){if(1&a){const n=e.RV6();e.j41(0,"li")(1,"a",164),e.bIt("click",function(){e.eBV(n);const d=e.XpG(2);return e.Njj(d.navigateToCRICKET())}),e.DNE(2,uI,3,6,"div",165)(3,VO,3,6),e.j41(4,"p"),e.EFF(5),e.nI1(6,"transloco"),e.k0s()()()}if(2&a){const n=e.XpG(2);e.R7$(2),e.vxM(2,n.isCustomCricketIcon?2:3),e.R7$(3),e.JRh(void 0!==n.cricketDisplayName()?n.cricketDisplayName():e.bMT(6,2,"ui.global.word.cricket_v2"))}}function Gd(a,p){if(1&a&&e.DNE(0,dI,7,4,"li"),2&a){const n=p.item,o=e.XpG();e.vxM(0,"sport"===n.category&&o.isShowCricketV2InSports?0:-1)}}function rp(a,p){if(1&a&&(e.nrm(0,"div",109),e.nI1(1,"imageUrl")),2&a){const n=p.ngIf,o=e.XpG().$implicit,d=e.XpG(2).vendor;e.xc7("background-image",e.bMT(1,3,n[o.icon])),e.Y8G("ngClass","icon-sport "+d.imageClass)}}function op(a,p){if(1&a&&(e.DNE(0,rp,2,5,"div",169),e.nI1(1,"async")),2&a){const n=p.$implicit,o=e.XpG(2).vendor,d=e.XpG();e.Y8G("ngIf",o.imageClass===n.name&&e.bMT(1,1,d.switchThemeService.imageLink$))}}function El(a,p){if(1&a&&e.Z7z(0,op,2,3,"div",168,Jf),2&a){const n=e.XpG(2);e.Dyx(n.sportsIcon)}}function xm(a,p){if(1&a&&e.nrm(0,"img",63),2&a){const n=e.XpG(),o=n.item,d=n.vendor,_=e.XpG();e.Y8G("mcdSrc",_.getImagePath(o.gameType,d))}}function Fm(a,p){if(1&a){const n=e.RV6();e.j41(0,"li",105),e.bIt("click",function(){const d=e.eBV(n),_=d.item,N=d.vendor,U=e.XpG();return e.Njj(U.goToFilter(_.gameType,N))}),e.j41(1,"a",157),e.DNE(2,El,2,0)(3,xm,1,1),e.j41(4,"p"),e.EFF(5),e.k0s()()()}if(2&a){const n=p.vendor;e.R7$(2),e.vxM(2,n.imageClass?2:3),e.R7$(3),e.JRh(n.vendorName)}}let Cl=0;const cp=a=>{const p=a.lastIndexOf("_");return((a,p,n)=>a.substr(0,p)+"_ACTIVE"+a.substr(p))(a,p)},Vd=a=>a.charAt(0).toUpperCase()+a.slice(1);let km=(()=>{class a{#e;get disableAnimation(){return this.performanceSettingService.isLite}get categoryList(){return this.providerService.get("websiteCategoryData")?.[Zi.mS.LEFT_MENU]}constructor(n,o,d,_,N,U,ue,we,Ge,Xe,sn,fn,xt,Dn){this.i18nService=n,this.router=o,this.authService=d,this.cdr=_,this.settingService=N,this.message=U,this.bridgeUtilService=ue,this.memberListState=we,this.forumLoginState=Ge,this.gameNavIconState=Xe,this.authState=sn,this.document=fn,this.sideMenuState=xt,this.appStateService=Dn,this.isMemberMenuInnerActive=!1,this.hasForum=!1,this.hideAppDownload=!1,this.vipOpen=!1,this.isCustomI18nForAffiliateName=!1,this.upperCaseGameType=!1,this.hasReferBonus=!1,this.useImgHeader=!1,this.skipGameInit=!1,this.isOpenMemberMenu=!1,this.hasReferCompositeEntry=!1,this.isCustomCricketIcon=!1,this.isShowToggleBox=!1,this.cricketRoute=$t.q.MAIN,this.isOpenMemberMenuChange=new e.bkB,this.isShowAboutUs=(0,e.hFB)(!0),this.vipProgramLink=(0,e.hFB)(""),this.cricketDisplayName=(0,e.hFB)(void 0),this.eventQueueService=(0,e.WQX)(He.n),this.canAutoPlayVideo$=(0,e.WQX)(ce.i).on("canAutoPlayVideo").pipe((0,ui.pQ)()),this.siteSetting=(0,e.WQX)(ti.p),this.uiState=(0,e.WQX)(Ws.D),this.checkRealTimeInfoService=(0,e.WQX)(as.jZ),this.destroyRef=(0,e.WQX)(e.abz),this.providerService=(0,e.WQX)(Sc.$),this.middleComponentSlot=(0,e.WQX)(Xg,{optional:!0}),this.bottomComponentSlot=(0,e.WQX)(sO,{optional:!0}),this.sideMenuService=(0,e.WQX)(fd),this.filterSportVenderListHandler=(0,e.WQX)(A.q,{optional:!0}),this.customSportVenderListHandler=(0,e.WQX)(A.lK,{optional:!0}),this.customLotteryVenderListHandler=(0,e.WQX)(A.Sn,{optional:!0}),this.customOpenLotteryGame=(0,e.WQX)(A.Ut,{optional:!0}),this.customOnClickGameType=(0,e.WQX)(A.ZS,{optional:!0}),this.customTranslationHandler=(0,e.WQX)(A._Z,{optional:!0}),this.replaceVenderListHandler=(0,e.WQX)(iO,{optional:!0}),this.customMenuBanner=(0,e.WQX)(Yg,{optional:!0}),this.customFooterLinkHandler=(0,e.WQX)(A.x2,{optional:!0}),this.isOrion=(0,e.WQX)(A.Y8,{optional:!0}),this.openGameService=(0,e.WQX)(tu.eD),this.performanceSettingService=(0,e.WQX)(Eo.c),this.navigationHistoryService=(0,e.WQX)(Ka.s),this.checkPlayerInfoService=(0,e.WQX)(as.P9),this.chatController=(0,e.WQX)(Ct.v),this.appState=(0,e.WQX)(Pc.G),this.elementRef=(0,e.WQX)(e.aKT),this.galleryImageService=(0,e.WQX)(Ku.TL),this.config=(0,e.WQX)(A.X8,{optional:!0}),this.getVendorService=(0,e.WQX)(ee.Y),this.injector=(0,e.WQX)(e.zZn),this.uiConfig=(0,e.WQX)(Ws.E),this.systemConfig=(0,e.WQX)(w.n),this.switchThemeService=(0,e.WQX)(ir.Fu),this.userService=(0,e.WQX)(E.D),this.bannerData=(0,e.WQX)(A.Jy,{optional:!0}),this.isOpenSearch=(0,e.vPA)(!1),this.fillEmptyBlockNum=(0,e.vPA)(0),this.vendorIconColor=(0,e.vPA)(""),this.chatService=(0,e.EWP)(()=>this.chatController.chatService()),this.vendorList=(0,e.EWP)(()=>(this.getVendorService.vendorList()||[]).reduce((bn,Fn)=>(Fn.gameType===Xt.Z.OTHER?(Fn.gameTypeGroupList||[]).forEach(Bi=>bn.push(Bi)):bn.push(Fn),bn),[])),this.vendorList$=(0,ui.br)(this.vendorList).pipe((0,Js.t)(1),(0,ui.pQ)()),this.websiteCategoryType=Zi.IM,this.galleryCategoryType=ke.tO,this.isEnableWebsiteCategory$=this.siteSetting.select("siteSettingModel").pipe((0,hn.T)(zt=>zt?.isEnableWebsiteCategory),(0,Js.t)(1),(0,ui.pQ)()),this.categoryList$=this.providerService.select("websiteCategoryData").pipe((0,ui.pQ)(),(0,hn.T)(zt=>zt[Zi.mS.LEFT_MENU])),this.selectedCategoryNavTab=void 0,this.switchModeId="switch-mode-"+ ++Cl,this.customMenuAboutUsLink$=(0,ro.z)([this.siteSetting.select("currentCurrencyType"),this.siteSetting.select("currentLanguageType")]).pipe((0,hn.T)(([zt,ii])=>{const bn=this.systemConfig.CustomMenuLink,Fn=this.uiConfig.customFooterLinks?.aboutUs??this.routingPathType.TERMS.link;if(!bn)return Fn;const Bi=bn[zt.name];if(!Bi)return Fn;const Bs=Bi[ii.name]?.aboutUsLink;if(Bs)return Bs;const Vn=Object.keys(Bi)[0],ni=Bi[Vn]?.aboutUsLink;return ni||Fn})),this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.destroy$=new S.B,this.sideMenuVideo$=new P.t("/assets/images/animation/head-coin"),this.menuInfo$=new P.t(null),this.isLite$=this.performanceSettingService.isLite$,this.routingPathType=$t.q,this.customerServiceType=To.C,this.isSideMenuOpen=this.sideMenuService.isActive,this.isNativeApp=!1,this.isAndroid=!1,this.defaultIconLinkV2=$s.l,this.currentCurrency$=this.siteSetting.select("currentCurrencyType"),this.currentLanguage$=this.siteSetting.select("currentLanguageType"),this.currencyType=this.siteSetting.get("currentCurrencyType"),this.isEnabledRafCommission=this.siteSetting.get("siteSettingModel")?.isEnabledRafCommission,this.isLogin$=this.authState.select("isLogin").pipe((0,Js.t)(1)),this.isSuccess$=new P.t(!1),this.accountInfo$=this.authState.select("accountInfo"),this.currencyMappingSetting$=this.siteSetting.select("currencyMappingSettingModel"),this.currentLanguageType$=this.siteSetting.select("currentLanguageType"),this.siteSettingModel$=this.siteSetting.select("siteSettingModel"),this.mainWallet=0,this.aboutUsLink=this.routingPathType.TERMS.link,this.iconColor="white",this.images=new $s.l,this.mainWalletBalance$=this.authState.select("accountInfo").pipe((0,ot.M)(zt=>{this.mainWallet=zt.mainWallet}),(0,Z.Q)(this.destroy$)).subscribe(),this.menu2ndType="",this.languages$=this.currencyMappingSetting$.pipe((0,hn.T)(zt=>zt.find(ii=>ii.currencyTypeId===this.siteSetting.get("currentCurrencyType").unique)?.mapping.find(ii=>ii.currencySettingTypeId===V.X.LANGUAGE.unique)?.mappingData.map(ii=>Number(ii))),(0,Z.Q)(this.destroy$)),this.isReload=!1,this.isEnableMultipleRegisterAndLoginFeatures=!1,this.isMemberMenuActive=!1,this.isShowDocument=!0,this.isShowBank=!0,this.isShowCryptocurrencies=!0,this.isShowEWallets=!0,this.isShowUPI=!0,this.isShowVerification=!0,this.isShowTimeDetail=!1,this.showDetailFlag=!1,this.isSupportBio=!1,this.isVipOpen=!1,this.referProgramLink="",this.hasClaimableRealTimeBonus=(0,ui.ot)(this.menuInfo$.pipe((0,hn.T)(zt=>zt?.hasClaimableRealTimeBonus??!1)),{initialValue:!1}),this.#e=(0,ui.ot)(this.menuInfo$.pipe((0,hn.T)(zt=>zt?.hasActiveFreeSpin??!1)),{initialValue:!1}),this.isShowCricket$=this.sideMenuState.select("isShowCricket"),this.isShowVoucher=this.siteSetting.get("siteSettingModel").isEnableVoucher,this.isShowSwitchMode=!0===this.sideMenuState.get("isShowSwitchMode"),this.isShowIconLabel=!1!==this.sideMenuState.get("isShowIconLabel"),this.isOpenMemberMenu$=this.sideMenuState.select("isOpenMemberMenu"),this.isShowTurnover=!1!==this.sideMenuState.get("isShowTurnover"),this.isShowAmbassador=!!this.sideMenuState.get("isShowAmbassador"),this.isShowSponsor=!!this.sideMenuState.get("isShowSponsor"),this.isShowVipPointsExchange=this.sideMenuState.get("isShowVipPointsExchange"),this.isShowCricketV2InSports=!1,this.menuMaskAni=ys.gsap.timeline({paused:!0}),this.navHeaderAni=ys.gsap.timeline({paused:!0}),this.navAni=ys.gsap.timeline({paused:!0}),this.memberCenterAni=ys.gsap.timeline({paused:!0}),this.memberCenterItemAni=ys.gsap.timeline({paused:!0}),this.walletMarqueeAni=ys.gsap.timeline({paused:!0}),this.custommenuAni=ys.gsap.timeline({paused:!0}),this.memberListData$=this.memberListState.select("memberMenuImageList").pipe((0,Z.Q)(this.destroy$)),this.initMemberLst$=new S.B,this.initMemberLstHandle$=this.initMemberLst$.pipe((0,on.n)(()=>this.siteSetting.select("siteSettingModel").pipe((0,hn.T)(zt=>{this.isBonusWallet=zt.isBonusWallet,this.isEnableRealTimeBonus=this.siteSetting.get("siteSettingModel").isEnableRealTimeBonus,this.isEnableRealTimeRescueBonus=this.siteSetting.get("siteSettingModel").isEnableRealTimeRescueBonus,this.isEnableFreeSpin=this.siteSetting.get("siteSettingModel").isEnableFreeSpin,this.isEnableMultipleRegisterAndLoginFeatures=this.siteSetting.get("siteSettingModel").isEnableMultipleRegisterAndLoginFeatures,this.isEnableWinnerBoard=this.siteSetting.get("siteSettingModel").isEnableWinnerBoard;const ii=Ed(this.i18nService,zt.isBonusWallet,this.isNativeApp,this.isShowVoucher,this.isShowSwitchMode,this.isShowTurnover,this.isEnableRealTimeBonus,this.isEnableRealTimeRescueBonus,this.isEnableFreeSpin,this.isEnableWinnerBoard,!!this.isShowVipPointsExchange,0,zt.isEnabledRafCommission,this.config?.isGoToReferralPage);if(this.isShowDocument=this.siteSetting.get("siteSettingModel").isVerifyDocument,this.isShowBank=this.siteSetting.get("siteSettingModel").isVerifyBank,this.isShowCryptocurrencies=this.siteSetting.get("siteSettingModel").isVerifyCryptocurrency,this.isShowEWallets=this.siteSetting.get("siteSettingModel").isVerifyEWallet,this.isShowUPI=this.siteSetting.get("siteSettingModel").isVerifyUPI,this.isShowVerification=this.isShowDocument||this.isShowBank||this.isShowCryptocurrencies||this.isShowEWallets||this.isShowUPI,this.isShowVerification){const bn={listClass:"verification-list",title:this.i18nService.translate("ui.member_menu.word.verification"),imageData:[]};if(this.isShowDocument){const Fn={imageName:this.i18nService.translate("ui.member_menu.word.documents"),imageClass:"documents",imageLink:`${$t.q.VERIFY_DOCUMENT.link}`};bn.imageData.push(Fn)}if(this.isShowBank){const Fn={imageName:this.i18nService.translate("ui.member_menu.text.bank_statements"),imageClass:"bank",imageLink:`${$t.q.VERIFY_BANK.link}`};bn.imageData.push(Fn)}if(this.isShowCryptocurrencies){const Fn={imageName:this.i18nService.translate("ui.global.text.crypto_currencies"),imageClass:"crypto",imageLink:`${$t.q.VERIFY_CRYPTOCURRENCIES.link}`};bn.imageData.push(Fn)}if(this.isShowEWallets){const Fn={imageName:this.i18nService.translate("ui.global.text.e_wallets"),imageClass:"ewallets",imageLink:`${$t.q.VERIFY_E_WALLETS.link}`};bn.imageData.push(Fn)}if(this.isShowUPI){const Fn={imageName:this.i18nService.translate("ui.global.text.UPI"),imageClass:"UPI",imageLink:`${$t.q.VERIFY_UPI.link}`};bn.imageData.push(Fn)}ii.push(bn)}return ii}))),(0,Z.Q)(this.destroy$)),this.isNavigateFromMemberMenu="IS_NAVIGATE_FROM_MEMBER_MENU",this.preserveMenuOpenOnNavigationBack$=new S.B,this.isBindingAnimation$=new P.t(!1),this.openForumSub$=new S.B,this.openForum$=this.openForumSub$.pipe((0,on.n)(()=>this.userService.getForumLoginURL().pipe((0,ot.M)(zt=>{zt&&zt.forumUrl&&window.open(zt.forumUrl)})))),this.gameIcon=[{name:"rain",icon:"SIDENAV_CATEGORY_ICON_RAIN",iconActive:""},{name:"crash",icon:"SIDENAV_CATEGORY_ICON_CRASH",iconActive:""},{name:"krain",icon:"SIDENAV_CATEGORY_ICON_KRAIN",iconActive:""},{name:"sport",icon:"SIDENAV_CATEGORY_ICON_SPORT",iconActive:""},{name:"casino",icon:"SIDENAV_CATEGORY_ICON_CASINO",iconActive:""},{name:"slot",icon:"SIDENAV_CATEGORY_ICON_SLOT",iconActive:""},{name:"table",icon:"SIDENAV_CATEGORY_ICON_TABLE",iconActive:""},{name:"lottery",icon:"SIDENAV_CATEGORY_ICON_LOTTERY",iconActive:""},{name:"fish",icon:"SIDENAV_CATEGORY_ICON_FISH",iconActive:""},{name:"arcade",icon:"SIDENAV_CATEGORY_ICON_ARCADE",iconActive:""},{name:"card",icon:"SIDENAV_CATEGORY_ICON_CARD",iconActive:""},{name:"other",icon:"SIDENAV_CATEGORY_ICON_OTHER",iconActive:""},{name:"cockfighting",icon:"SIDENAV_CATEGORY_ICON_COCKFIGHTING",iconActive:""}].map(zt=>({name:zt.name,icon:zt.icon,iconActive:cp(zt.icon)})),this.sportsIcon=[{name:"exchange",icon:"SIDENAV_EXCHANGE_ICON"},{name:"sportbook",icon:"SIDENAV_SPORTBOOK_ICON"},{name:"ibc",icon:"SIDENAV_SPORTBOOK_ICON"},{name:"kabaddi",icon:"SIDENAV_KABADDI_ICON"},{name:"badminton",icon:"SIDENAV_BADMINTON_ICON"},{name:"basketball",icon:"SIDENAV_BASKETBALL_ICON"},{name:"cricket",icon:"SIDENAV_CRICKET_ICON"},{name:"horsebook",icon:"SIDENAV_HORSEBOOK_ICON"},{name:"sbov2",icon:"SIDENAV_SBO_ICON"},{name:"soccer",icon:"SIDENAV_SOCCER_ICON"},{name:"sv388",icon:"SIDENAV_SV_388_ICON"},{name:"ugv3",icon:"SIDENAV_UGV3_ICON"},{name:"virtual",icon:"SIDENAV_VIRTUAL_ICON"},{name:"icf",icon:"SIDENAV_ICF_ICON"},{name:"awcmbc",icon:"SIDENAV_AWCMBC_ICON"},{name:"tennis",icon:"SIDENAV_TENNIS_ICON"},{name:"horse-racing",icon:"SIDENAV_HORSERACING_ICON"},{name:"greyhound",icon:"SIDENAV_GREYHOUNDRACING_ICON"},{name:"ctb",icon:"SIDENAV_CTB_ICON"},{name:"powereleven",icon:"SIDENAV_POWERELEVEN_ICON"},{name:"powerelevenv2",icon:"SIDENAV_POWERELEVENV2_ICON"},{name:"awcmrwb",icon:"SIDENAV_AWCMRWB_ICON"},{name:"awcme1sport",icon:"SIDENAV_AWCME1SPORT_ICON"},{name:"sbtech",icon:"SIDENAV_SBTECH_ICON"},{name:"sbtecheu",icon:"SIDENAV_SBTECHEU_ICON"},{name:"nst",icon:"SIDENAV_NST_ICON"},{name:"cfe",icon:"SIDENAV_CFE_ICON"},{name:"cmd",icon:"SIDENAV_CMD_ICON"},{name:"awcmpinnacle",icon:"SIDENAV_AWCMPINNACLE_ICON"}],this.contactIcon=[{name:"email",icon:"SIDENAV_CATEGORY_ICON_EMAIL"},{name:"phone",icon:"SIDENAV_CATEGORY_ICON_PHONE"},{name:"zalo",icon:"SIDENAV_CATEGORY_ICON_ZALO"},{name:"facebook-messenger",icon:"SIDENAV_CATEGORY_ICON_FACEBOOK_MESSENGER"},{name:"whatsapp",icon:"SIDENAV_CATEGORY_ICON_WHATSAPP"},{name:"imo",icon:"SIDENAV_CATEGORY_ICON_IMO"},{name:"qq",icon:"SIDENAV_CATEGORY_ICON_QQ"},{name:"wechat",icon:"SIDENAV_CATEGORY_ICON_WECHAT"},{name:"skype",icon:"SIDENAV_CATEGORY_ICON_SKYPE"},{name:"bbm",icon:"SIDENAV_CATEGORY_ICON_BBM"},{name:"kakao-talk",icon:"SIDENAV_CATEGORY_ICON_KAKAO_TALK"},{name:"talk",icon:"SIDENAV_CATEGORY_ICON_TALK"},{name:"viber",icon:"SIDENAV_CATEGORY_ICON_VIBER"},{name:"telegram",icon:"SIDENAV_CATEGORY_ICON_TELEGRAM"},{name:"line",icon:"SIDENAV_CATEGORY_ICON_LINE"}],this.memberCenterIcon=[{name:"deposit",icon:"SIDENAV_CATEGORY_MEMBER_CENTER_ICON_DEPOSIT"},{name:"withdrawal",icon:"SIDENAV_CATEGORY_MEMBER_CENTER_ICON_WITHDRAWAL"},{name:"transfer",icon:"SIDENAV_CATEGORY_ICON_TRANSFER"},{name:"bonuses",icon:"SIDENAV_CATEGORY_ICON_BONUSES"},{name:"voucher",icon:"SIDENAV_CATEGORY_ICON_VOUCHER"},{name:"real-time-bonus",icon:"SIDENAV_CATEGORY_ICON_REAL_TIME_BONUS"},{name:"bet-records",icon:"SIDENAV_CATEGORY_ICON_BET_RECORDS"},{name:"turnover",icon:"SIDENAV_CATEGORY_ICON_TURNOVER"},{name:"records",icon:"SIDENAV_CATEGORY_ICON_RECORDS"},{name:"info",icon:"SIDENAV_CATEGORY_ICON_INFO"},{name:"kyc",icon:"SIDENAV_CATEGORY_ICON_KYC"},{name:"changepassword",icon:"SIDENAV_CATEGORY_ICON_CHANGEPASSWORD"},{name:"inbox",icon:"SIDENAV_CATEGORY_ICON_INBOX"},{name:"referral",icon:"SIDENAV_CATEGORY_ICON_REFERRAL"},{name:"biometric",icon:"SIDENAV_CATEGORY_ICON_BIOMETRIC"},{name:"mode",icon:"SIDENAV_CATEGORY_ICON_MODE"},{name:"documents",icon:"SIDENAV_CATEGORY_ICON_DOCUMENTS"},{name:"bank",icon:"SIDENAV_CATEGORY_ICON_BANK"},{name:"crypto",icon:"SIDENAV_CATEGORY_ICON_CRYPTO"},{name:"ewallets",icon:"SIDENAV_CATEGORY_ICON_EWALLETS"},{name:"UPI",icon:"SIDENAV_CATEGORY_ICON_UPI"},{name:"myvip",icon:"SIDENAV_CATEGORY_MEMBER_CENTER_ICON_VIP"},{name:"free-spin",icon:"SIDENAV_CATEGORY_ICON_FREE_SPIN"},{name:"winner-board",icon:"SIDENAV_ICON_WINNER_BOARD"}],this.socialIcon=[{name:"facebook",icon:"SIDENAV_CATEGORY_ICON_FACEBOOK"},{name:"instagram",icon:"SIDENAV_CATEGORY_ICON_INSTAGRAM"},{name:"twitter",icon:"SIDENAV_CATEGORY_ICON_TWITTER"},{name:"telegram",icon:"SIDENAV_CATEGORY_ICON_TELEGRAM"},{name:"line",icon:"SIDENAV_CATEGORY_ICON_LINE"},{name:"zalo",icon:"SIDENAV_CATEGORY_ICON_ZALO"},{name:"pinterest",icon:"SIDENAV_CATEGORY_ICON_PINTEREST"},{name:"youtube",icon:"SIDENAV_CATEGORY_ICON_YOUTUBE"},{name:"likee",icon:"SIDENAV_CATEGORY_ICON_LIKEE"},{name:"forum",icon:"SIDENAV_CATEGORY_ICON_FORUM"},{name:"tiktok",icon:"SIDENAV_CATEGORY_ICON_TIKTOK"},{name:"moj",icon:"SIDENAV_CATEGORY_ICON_MOJ"},{name:"whatsapp",icon:"SIDENAV_CATEGORY_ICON_WHATSAPP"}],this.subscriptions=[],this.isThemeBtnChecked=!0,this.toggleName="ui.global.text.colortheme.true",this.isShow=!1,this.csList$=this.settingService.getCustomerService().pipe((0,hn.T)(zt=>(Array.isArray(zt)?zt:zt?[zt]:[]).sort((bn,Fn)=>bn.displayOrder-Fn.displayOrder)),(0,Js.t)(1),(0,ui.pQ)()),this.forumLoginState.connect(this.openForum$),this.memberListState.connect("memberMenuImageList",this.initMemberLstHandle$),this.initMemberLst$.next(void 0),this.casinoDirectToVendorPage=!0,this.isAndroid=zc.V.isAndroid(),this.isNativeApp=this.siteSetting.get("siteSettingModel")?.isNativeApp,this.isShowCricketV2InSports=this.uiConfig.isShowCricketV2InSports,this.isNativeApp&&(this.bridgeUtilService.sendMessage('{"checkDeviceSupportBio":"1"}'),this.bridgeUtilService.exposeFEFunction("MemberMenuHandler","isDeviceSupportBiometric",zt=>{this.appStateService.set("isSupportBio","true"===zt),this.initMemberLst$.next(void 0)})),(0,e.QZP)(()=>{this.isSideMenuOpen()?this.isBindingAnimation$.pipe((0,In.p)(zt=>!zt),(0,$n.s)(1),(0,Z.Q)(this.destroy$)).subscribe(()=>this.sideMenuAnimate(!0)):this.sideMenuAnimate(!1)})}ngOnChanges(n){n.isOpenMemberMenu&&this.isOpenMemberMenu&&(this.sideMenuService.activate(),setTimeout(()=>{this.openMemberMenu()},200))}ngOnInit(){this.skipGameInit||this.isEnableWebsiteCategory$.pipe((0,ot.M)(n=>{this.fillEmptyBlockNum.set(this.checkFillEmptyBlockNum({isEnableWebsiteCategory:n,isShowCricketV2InSports:this.isShowCricketV2InSports})),n&&this.providerService.actions.getWebsiteCategory()}),(0,Z.Q)(this.destroy$)).subscribe(),this.isLogin$.pipe((0,Z.Q)(this.destroy$)).subscribe(n=>{n&&this.checkIsVipOpen()}),this.isShowSponsor=this.isShowSponsor||!!this.sponsorLink,this.#t()}ngAfterViewInit(){if(this.authState.select("menuInfo").pipe((0,ot.M)(n=>{this.menuInfo$.next(n)}),(0,ui.pQ)(this.destroyRef)).subscribe(),this.isBrowser){this.bindGsap(),(0,ro.z)([(0,wi.h)(this.vendorList$,this.categoryList$,(0,jr.R)(window,"orientationchange").pipe((0,ot.M)(()=>this.close()),(0,Ss.c)(100))),this.isLogin$]).pipe((0,so.B)(100),(0,on.n)(()=>this.bindAnimation()),(0,Z.Q)(this.destroy$)).subscribe();try{this.isLite$.pipe((0,ot.M)(n=>{this.document.querySelectorAll(".menu-second > ul").forEach(o=>{o.setAttribute("style",`transition: ${n?"none":""};`)})})).subscribe()}catch(n){console.warn(n)}this.uiConfig.colorThemeSetting&&this.subscriptions.push(this.uiState.select("colorTheme").subscribe(n=>{n&&n.stylesBundleName&&(this.sideMenuVideo$.next(`assets/images/${n.stylesBundleName}/animation/head-coin`),this.loaderVideo.nativeElement.load(),this.isThemeBtnChecked=n.trigger,this.toggleName=n.i18nKey,this.iconColor=n.iconColor)})),this.initLeftMenuBanner(),this.getReferProgramLink()}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.subscriptions.forEach(n=>n.unsubscribe())}onForumClick(){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:"Forum",loc:"menu"}}})),this.openForumSub$.next(void 0)}expandSecondMenu(n,o){n.stopPropagation(),(!this.customOnClickGameTypeList||!this.customOnClickGameTypeHandler(o))&&(this.resetSecondMenu(),this.menu2ndType=o.category,this.cdr.detectChanges())}getImagePath(n,o){return o.imageFile?o.imageFile?`/assets/images/brand/${this.uiConfig.vendorIconColor}/${o.imageFile}.png`:"":`/assets/images/brand/${this.uiConfig.vendorIconColor}/provider-${o.vendorCode?.toLowerCase()}.png`}openGame(n,o){(n===Xt.Z.RAIN||n===Xt.Z.SPORT||n===Xt.Z.CASINO||n===Xt.Z.LOTTERY||n===Xt.Z.FISH||n===Xt.Z.CARD||n===Xt.Z.CRASH||n===Xt.Z.COCKFIGHTING)&&this.openGameService.open({gameTypeId:n.unique,vendorCode:o.vendorCode||"",gameCode:o.gameCode,extraData:o.extraData,gameImagePath:this.getImagePath(n,o),loaderImgStyle:"default",vendorName:o.vendorName}).pipe((0,Z.Q)(this.destroy$)).subscribe()}goToFilter(n,o){if(this.close(),this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:n.name+"_"+o.vendorName,loc:"menu"}}})),n===Xt.Z.SLOT)this.router.navigate([this.routingPathType.SLOT.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}});else if(n===Xt.Z.TABLE)"LUDO"===o.vendorCode||"BPOKER"===o.vendorCode||"PokerWin"===o.vendorCode?this.openGameService.open({gameTypeId:Xt.Z.P2P.unique,vendorCode:o.vendorCode,gameCode:o.gameCode,extraData:o.extraData,gameImagePath:this.getImagePath(n,o),loaderImgStyle:"default",vendorName:o.vendorName}).pipe((0,Z.Q)(this.destroy$)).subscribe():this.router.navigate([this.routingPathType.TABLE.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}});else if(n===Xt.Z.ARCADE)this.router.navigate([this.routingPathType.ARCADE.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}});else if(n===Xt.Z.CASINO&&this.casinoDirectToVendorPage)this.router.navigate([this.routingPathType.CASINO.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}});else if(n===Xt.Z.FISH)this.router.navigate([this.routingPathType.FISHING.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}});else if(n===Xt.Z.CRASH)this.router.navigate([this.routingPathType.CRASH.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}});else if(n===Xt.Z.CARD)this.router.navigate([this.routingPathType.CARD.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}});else if(n===Xt.Z.LOTTERY)if("TCGLOTTOVN"===o.vendorCode&&this.customOpenLotteryGame){const d=this.customOpenLotteryGame(n,o,this.iconColor).pipe((0,Z.Q)(this.destroy$)).subscribe();this.subscriptions.push(d)}else this.router.navigate([this.routingPathType.LOTTERY.link],{queryParams:{vendor:o.vendorCode?.toLocaleLowerCase()}});else this.openGame(n,o)}getLanguage(n){return C.t.getInstanceOf(n)?.name}balanceReload(n=""){this.isReload||(this.isReload=!0,this.checkPlayerInfoService.checkBalance$().subscribe(o=>{"mainWallet"===n&&this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"BalanceUpdate",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{loc:"menu",balance:o.data?.mainWallet}}}))}),setTimeout(()=>{this.isReload=!1,this.cdr.detectChanges()},1e3),this.isSuccess$.next(!0),setTimeout(()=>{this.isSuccess$.next(!1)},2e3))}showDateTimeDetail(){!0===this.showDetailFlag&&(this.isShowTimeDetail=!this.isShowTimeDetail)}getReferProgramLink(){const n=this.siteSetting.get("currentCurrencyType").name,o=this.siteSetting.get("currentLanguageType").name;this.referProgramLink=this.systemConfig.CustomMenuLink?.[n]?.[o].referProgramLink}getReferBonusLink(){const n=this.authState.get("isLogin");return this.isEnabledRafCommission?n?this.routingPathType.REFERRAL.link:this.routingPathType.REFERRAL_BONUS.link:null}navigateTo(n,o=!1,d=!1,_){d&&_?.stopPropagation(),this.router.url!==n?(this.preserveMenuOpenOnNavigationBack$.next(),this.router.navigateByUrl(n,{state:{[this.isNavigateFromMemberMenu]:o}}),this.close()):this.close()}openAboutUsLink(n){this.getAboutUsLink(),n===this.aboutUsLink&&this.customFooterLinkHandler&&this.getCustomAboutUsUrl()?window.open(this.getCustomAboutUsUrl(),"_blank"):n!==this.routingPathType.TERMS.link?window.open(n,"_blank"):this.navigateTo(n,!0)}checkIsVipOpen(){this.accountInfo$.subscribe(n=>{this.isVipOpen=!!n.vipInfo})}getSocialMediaIcons(){this.message.getSocialMedia().subscribe(n=>{this.socialMediaList=n})}onClickContactLink(n,o,d){this.chatController.onClickContactLink(n,o,d)}gotoUrl(n,o){switch(To.C.getInstanceOf(n)){case To.C.EMAIL:return`mailto:${o}`;case To.C.SKYPE:return`skype:${o}`;case To.C.PHONE:return`tel:${o}`;default:return o?`${o}`:""}}logout(){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:"LogOut",loc:"menu_bottom"}}})),this.close(),this.authService.logout_check()}sideMenuAnimate(n){this.isLogin$.pipe((0,$n.s)(1),(0,Z.Q)(this.destroy$)).subscribe(()=>{try{this.isLite$.pipe((0,$n.s)(1),(0,ot.M)(o=>{o&&(this.menuMaskAni.progress(1),this.navHeaderAni.progress(1),this.navAni.progress(1))})).subscribe(),!0===n?(this.menuMaskAni.play().timeScale(1.5),this.navHeaderAni.play().timeScale(1.5),this.navAni.play().timeScale(1.5),this.uiConfig.customSideMenuheader&&this.walletMarqueeAni.restart(),document.body.style.height="100%",document.body.style.overflow="hidden"):(document.getElementById("menu").scrollTop=0,this.menuMaskAni.reverse(),this.navHeaderAni.reverse(),this.memberCenterAni.reverse(),this.custommenuAni.reverse(),this.navAni.reverse(1),this.memberCenterItemAni.reverse().pause(),document.body.style.height="auto",document.body.style.overflow="visible")}catch(o){console.warn(o)}})}onMenuHeaderClick(){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:"Profile",loc:"menu"}}})),this.openMemberMenu()}openMemberMenu(){this.checkRealTimeInfoService.getMenuInfo(),this.isLogin$.pipe((0,$n.s)(1),(0,Z.Q)(this.destroy$)).subscribe(n=>{n&&(this.isLite$.pipe((0,ot.M)(o=>{o&&(this.memberCenterAni.progress(1),this.custommenuAni.progress(1),this.memberCenterItemAni.progress(1))})).subscribe(),this.sideMenuState.set({isOpenMemberMenu:!0,isOpenMemnerMenuPrev:!0}),this.navAni.reverse(1),this.memberCenterAni.play().timeScale(1.5),this.custommenuAni.play().timeScale(1.5),this.memberCenterItemAni.play().timeScale(1.5),this.walletMarqueeAni.pause().seek(0),setTimeout(()=>{const o=document.getElementById("account"),_=document.getElementById("coinVideo")?.clientWidth??0,U=window.innerWidth-_-32;o.style.maxWidth=U+"px"},800),this.getSocialMediaIcons())})}close(n){this.sideMenuState.set("closeBtn"===n?{isOpenMemberMenu:!1,isOpenMemnerMenuPrev:!1}:{isOpenMemberMenu:!1}),this.sideMenuService.deactivate(),this.resetSecondMenu(),this.isOpenMemberMenuChange.emit(!1),this.appState.set({isMemberMenuActive:!1}),setTimeout(()=>{const o=document.getElementById("account");o&&o.style.removeProperty("max-width")},800)}closeWithClickingOutsideMenu(n){const d=this.getClassList(n.target||n.srcElement);d.length&&(d.includes("menu-first")||d.includes("menu-second")||d.includes("btn-close")||this.close("closeBtn"))}goToAllGameType(n){this.close(),this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:n.name+"_All Provider",loc:"menu"}}})),n===Xt.Z.SLOT?this.router.navigate([this.routingPathType.SLOT.link],{queryParams:{vendor:"all"}}):n===Xt.Z.TABLE?this.router.navigate([this.routingPathType.TABLE.link],{queryParams:{vendor:"all"}}):n===Xt.Z.ARCADE?this.router.navigate([this.routingPathType.ARCADE.link],{queryParams:{vendor:"all"}}):n===Xt.Z.CASINO?this.router.navigate([this.routingPathType.CASINO.link],{queryParams:{vendor:"all"}}):n===Xt.Z.FISH?this.router.navigate([this.routingPathType.FISHING.link],{queryParams:{vendor:"all"}}):n===Xt.Z.LOTTERY?this.router.navigate([this.routingPathType.LOTTERY.link],{queryParams:{vendor:"all"}}):n===Xt.Z.CRASH?this.router.navigate([this.routingPathType.CRASH.link],{queryParams:{vendor:"all"}}):n===Xt.Z.CARD&&this.router.navigate([this.routingPathType.CARD.link],{queryParams:{vendor:"all"}})}navigateToCRICKET(){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:"Sports_CricketV2",loc:"menu"}}})),this.navigateTo(this.routingPathType.CRICKET.link,!0)}themeChange(n){const o=n.target,d=this.uiConfig.colorThemeSetting?.find(_=>_.trigger===o?.checked);d&&this.uiState.set({colorTheme:d})}selectCategoryNavTab(n,o=!1,d){if(d.stopPropagation(),this.resetSecondMenu(),n){if(o){const _=n?.content?.vendorCode;if((_===Xn.EB||_===Xn.cw)&&this.uiConfig.isShowCricketV2InSports)return this.router.navigate([this.routingPathType.CRICKET.link]),void this.close();if(n.categoryTypeId===Zi.IM.VENDOR){const N=n.content;this.goToGameTypePage(Xt.Z.getInstanceOf(N.gameType),N.vendorCode)}else if(n.categoryTypeId===Zi.IM.GAME){const N=this.galleryImageService.getGalleryImage(n.iconFlag,ke.tO.NAV);this.openCategoryGame(n.content,N)}}this.selectedCategoryNavTab=n,this.cdr.detectChanges()}}getGalleryCategoryTypeByGameType(n){return n===Xt.Z.SPORT.unique?ke.tO.LEFT_PROVIDER_SPORTS:ke.tO.LEFT_PROVIDER}clickCategoryNavContent(n,o){const d=n.content.vendorCode;if((d===Xn.EB||d===Xn.cw)&&this.isShowCricketV2InSports)return this.router.navigate([this.routingPathType.CRICKET.link]),void this.close();switch(n.categoryTypeId){case Zi.IM.DIRECT_URL:break;case Zi.IM.VENDOR:const _=n.content;this.goToGameTypePage(Xt.Z.getInstanceOf(_.gameType),_.vendorCode),this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:Vd(Xt.Z.getInstanceOf(_?.gameType)?.name||"")+"_"+n.displayName,loc:"menu"}}}));break;case Zi.IM.GAME:const N=this.galleryImageService.getGalleryImage(n.iconFlag,o),U=n.content;this.openCategoryGame(U,N),this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:Vd(Xt.Z.getInstanceOf(U.gameTypeId)?.name||"")+"_"+n.displayName,loc:"menu"}}}))}this.close()}openCategoryGame(n,o){o&&(n.gameImagePath=o),this.openGameService.open(n).subscribe(),this.close()}onCustomSideMenuItemClcik(n){n.subMenuItems&&n.subMenuItems.length>0?(this.resetSecondMenu(),this.menu2ndType=n.category,this.cdr.detectChanges()):n.onClick?(this.subscriptions.push(n.onClick(this.iconColor).pipe((0,Z.Q)(this.destroy$)).subscribe()),this.close()):n.routingLink&&this.navigateTo(n.routingLink)}navigateToVipPointsExchange(n){n.stopPropagation(),this.navigateTo(this.routingPathType.VIP_POINTS_EXCHANGE.link,!0)}getCustomAboutUsUrl(){return this.customFooterLinkHandler&&this.customFooterLinkHandler().aboutUs||""}LoginRegisterBtnClick(n){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:n,event_type:"click",event_seq:100,event_page:document.querySelector("head title")?.textContent,event_payload:{status_name:"access",loc:"menu_top"}}})),this.close()}loginBtnBotClick(){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Login",event_type:"click",event_seq:100,event_page:document.querySelector("head title")?.textContent,event_payload:{status_name:"access",loc:"menu_bottom"}}})),this.close()}menuBtnClick(n){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:"Normal",event_type:"click",event_page:document.querySelector("head title")?.textContent,event_payload:{dir:Vd(n),loc:"menu"}}})),this.close()}menuDepositWithdrawalClick(n){this.eventQueueService.dispatch(new yi.W(yi.t.CLICK,{action:{event_name:n,event_type:"click",event_seq:100,event_page:document.querySelector("head title")?.textContent,event_payload:{status_name:"access",loc:"menu"}}})),this.close()}showNoticeIcon(n,o){return"inbox"===n&&o?.unreadMessageCount>0||"bonuses"===n&&(o?.inactiveBonusWalletCount||0)>0}getNoticeCount(n,o){return"inbox"===n?o?.unreadMessageCount||0:o?.inactiveBonusWalletCount||0}showExclamationIcon(n){switch(n){case"real-time-bonus":return this.hasClaimableRealTimeBonus();case"free-spin":return this.#e();default:return!1}}openSearch(){this.isOpenSearch.set(!0)}closeSearch(){this.isOpenSearch.set(!1)}openLink(n){window.open(n,"_blank")}checkFillEmptyBlockNum({isEnableWebsiteCategory:n=!1,isShowCricketV2InSports:o=!1}){return n?o?1:-1:!n&&o?-1:0}getAnimationList(){return[this.menuMaskAni,this.navHeaderAni,this.navAni,this.memberCenterAni,this.memberCenterItemAni,this.walletMarqueeAni,this.custommenuAni]}getAnimateElementList(){const n=[];return this.getAnimationList().forEach(d=>{d.getChildren(!0,!0,!0).forEach(N=>{(N.targets()||[]).forEach(ue=>n.push(ue))})}),[...new Set(n)]}clearGsap(){const n=this.getAnimateElementList();this.getAnimationList().forEach(d=>{d.kill()}),n.forEach(d=>{const _="-webkit-mask-image",N=d.style.getPropertyValue(_);d.removeAttribute("style"),N&&d.style.setProperty(_,N),delete d._gsap})}bindGsap(){const n=this.authState.get("isLogin"),o=this.isBonusWallet;this.menuMaskAni=ys.gsap.timeline({paused:!0}),this.navHeaderAni=ys.gsap.timeline({paused:!0}),this.navAni=ys.gsap.timeline({paused:!0}),this.memberCenterAni=ys.gsap.timeline({paused:!0}),this.memberCenterItemAni=ys.gsap.timeline({paused:!0}),this.walletMarqueeAni=ys.gsap.timeline({paused:!0}),this.custommenuAni=ys.gsap.timeline({paused:!0}),this.menuMaskAni.to(".menu-mask",{opacity:1,display:"block",duration:.5,paused:!1}),this.navHeaderAni.from(".menu-top",{y:20,opacity:0,duration:.3,ease:"circ.out",delay:.6,paused:!1}),n?(this.navAni.from(".menu-item .title",{y:20,opacity:0,duration:.05,ease:"circ.out",delay:.8}),this.navAni.fromTo(".shortcut-box li",{y:20,opacity:0,stagger:.05,duration:.05,ease:"circ.out"},{y:0,opacity:1,stagger:.05,duration:.05,ease:"circ.out"},"-=.1"),this.navAni.fromTo(".wallet-box li",{y:20,opacity:0,stagger:.05,duration:.05,ease:"circ.out"},{y:0,opacity:1,stagger:.05,duration:.05,ease:"circ.out"},"-=.1"),this.navAni.fromTo(".main-box li",{y:20,opacity:0,stagger:.05,duration:.05,ease:"circ.out"},{y:0,opacity:1,stagger:.05,duration:.05,ease:"circ.out"},"-=.1"),this.navAni.fromTo(".item-box",{y:20,opacity:0,duration:.1,ease:"circ.out"},{y:0,opacity:1,duration:.1,ease:"circ.out"},"+=.1"),this.navAni.fromTo(".contact-box",{y:20,opacity:0,duration:.1,ease:"circ.out"},{y:0,opacity:1,duration:.1,ease:"circ.out"},"+=.1"),this.navAni.fromTo(".switch-banner",{y:20,opacity:0,duration:.1,ease:"circ.out"},{y:0,opacity:1,duration:.1,ease:"circ.out"},"+=.1"),this.navAni.fromTo(".home-box",{y:20,opacity:0,duration:.1,ease:"circ.out"},{y:0,opacity:1,duration:.1,ease:"circ.out"},"+=.1"),this.bottomComponentSlot&&this.navAni.fromTo(".custom-bottom-box",{y:20,opacity:0,duration:.1,ease:"circ.out"},{y:0,opacity:1,duration:.1,ease:"circ.out"},"+=.1"),this.navAni.from(".menu-first",{width:"auto"}),this.uiConfig.customSideMenuheader&&this.custommenuAni.set(".member-name.ani, .icon-arrow",{y:"0%",opacity:1}).to(".member-name.ani, .icon-arrow",{duration:.5,y:"100%",opacity:0}).to(".member-name.ani, .icon-arrow",{duration:.5,y:"0%",opacity:1},"0.5"),o&&(this.walletMarqueeAni.to(".marquee .main-wallet",{transform:"translateY(-100%)",duration:.5,ease:"circ.out",yoyo:!0,repeat:-1,delay:3,repeatDelay:3}),this.walletMarqueeAni.to(".marquee .balance",{transform:"translateY(-100%)",duration:.5,ease:"circ.out",yoyo:!0,repeat:-1,repeatDelay:3},"-=.5"))):(this.navAni.fromTo(".main-box li",{y:20,opacity:0,stagger:.05,duration:.05,ease:"circ.out",delay:.8},{y:0,opacity:1,stagger:.05,duration:.05,ease:"circ.out",delay:.8}),this.navAni.fromTo(".item-box",{y:20,opacity:0,duration:.1,ease:"circ.out"},{y:0,opacity:1,duration:.1,ease:"circ.out"},"+=.1"),this.navAni.fromTo(".contact-box",{y:20,opacity:0,duration:.1,ease:"circ.out"},{y:0,opacity:1,duration:.1,ease:"circ.out"},"+=.1"),this.navAni.fromTo(".switch-banner",{y:20,opacity:0,duration:.1,ease:"circ.out"},{y:0,opacity:1,duration:.1,ease:"circ.out"},"+=.1"),this.navAni.fromTo(".home-box",{y:20,opacity:0,duration:.1,ease:"circ.out"},{y:0,opacity:1,duration:.1,ease:"circ.out"},"+=.1"),this.bottomComponentSlot&&this.navAni.fromTo(".custom-bottom-box",{y:20,opacity:0,duration:.1,ease:"circ.out"},{y:0,opacity:1,duration:.1,ease:"circ.out"},"+=.1")),this.memberCenterAni.to(".menu-top",{duration:.5,width:window.innerWidth,ease:"circ.out"}),this.memberCenterAni.to(".menu-first",{width:window.innerWidth,left:0,top:0},"-=.5"),this.memberCenterAni.to(".menu-header, .member-name",{height:90},"-=.5"),this.memberCenterAni.to(".menu-first .afterlogin",{height:80},"-=.5"),this.memberCenterAni.to(".menu-header, .menu-first .afterlogin",{borderRadius:0},"-=.5"),this.memberCenterAni.fromTo(".member-name p, .menu-header .icon-arrow, .btn-wallet",{display:"flex"},{display:"none"},"-=1"),this.memberCenterAni.to(".vip-points, .balance",{display:"flex"},"-=.5"),this.memberCenterAni.to(".marquee .balance",{position:"relative",top:"0"},"-=.5"),this.memberCenterAni.fromTo(".marquee .balance",{top:"100%"},{position:"relative",top:"0"},"-=.5"),this.memberCenterAni.to(".member-menu",{opacity:1,display:"block",duration:.5},"-=.4"),this.memberCenterAni.to(".menu-item",{display:"none",duration:.5}),this.memberCenterItemAni.from(".member-menu-content .member-list",{y:20,opacity:0,stagger:.05,ease:"circ.out",delay:.4}),this.memberCenterItemAni.from(".member-menu-content .button-set",{y:20,opacity:0,duration:.1,ease:"circ.out",onReverseComplete:()=>{console.log("reverse!!!")}},"-=.5"),this.memberCenterItemAni.from(".member-menu-content .title",{y:20,opacity:0,duration:.05,ease:"circ.out"},"-=1"),this.memberCenterItemAni.from(".member-menu-content li",{y:20,opacity:0,stagger:.05,ease:"circ.out"},"-=1"),this.getAnimateElementList().length?this.isBindingAnimation$.next(!1):setTimeout(()=>this.bindGsap(),250)}resetAnimationBinding(){this.clearGsap(),setTimeout(()=>{this.bindGsap()},200)}isElementRendered(n){const o=this.elementRef.nativeElement;if(!o.querySelector(".menu-mask")||!o.querySelector(".menu-top")||((n?this.categoryList:this.vendorList())||[]).length&&(!o.querySelectorAll(".game-nav-item").length||!o.querySelectorAll(".menu-second ul").length))return!1;if(this.authState.get("isLogin")){if(!o.querySelector(".afterlogin")||!o.querySelector(".wallet-box")||this.memberListState.get("memberMenuImageList").length&&!o.querySelectorAll(".member-list.member-menu-box").length)return!1}else if(!o.querySelector(".beforelogin"))return!1;return!0}bindAnimation(){return this.isBindingAnimation$.next(!0),(0,wu.Y)(1e3).pipe((0,on.n)(()=>this.isEnableWebsiteCategory$),(0,In.p)(n=>this.isElementRendered(n)),(0,jf.v)(n=>this.isElementRendered(n)),(0,ot.M)(()=>{this.resetAnimationBinding()}),(0,Z.Q)(this.isBindingAnimation$.pipe((0,In.p)(n=>!n),(0,ot.M)(()=>{this.sideMenuAnimate(this.sideMenuService.isActive())}),(0,$n.s)(1))),(0,Z.Q)(this.destroy$))}customOnClickGameTypeHandler(n){const o=this.customOnClickGameTypeList?.find(d=>d.gameType===n.gameType);return!!o&&(o.onClick(),!0)}getAboutUsLink(){if(this.aboutUsLink=this.uiConfig.customFooterLinks?.aboutUs??this.routingPathType.TERMS.link,this.uiConfig.customFooterLinks?.aboutUs&&"mcw"===this.i18nService.translate("ui.global.text.brand_short_name").toLocaleLowerCase()){const n=this.siteSetting.get("currentLanguageType");this.siteSetting.select("currentCurrencyType").forEach(o=>{let d="";o!==re.U.INR&&(o===re.U.BDT&&n===C.t.BENGALI&&(d="bn/"),this.aboutUsLink=this.aboutUsLink?.replace(/hi\//,d))})}}initLeftMenuBanner(){this.customMenuBanner&&this.loadComponent(this.customMenuBanner,this.customMenuBannerDynamicHost)}loadComponent(n,o){const d=o.viewContainerRef;d.clear(),d.createComponent(n,{injector:this.injector}),this.cdr.detectChanges()}getClassList(n,o=[]){return n?(o=o.concat(Array.from(n.classList||[])),this.getClassList(n.parentElement,o)):o}goToGameTypePage(n,o){n&&(this.router.navigate([n.link],o?{queryParams:{vendor:o.toLocaleLowerCase()}}:void 0),this.close())}resetSecondMenu(){this.menu2ndType="",this.selectedCategoryNavTab=void 0}#t(){this.switchThemeService.tone$.pipe((0,ot.M)(n=>{n&&this.vendorIconColor.set("light"===n?"black":"white")}),(0,ui.pQ)(this.destroyRef)).subscribe()}static#n=this.\u0275fac=function(o){return new(o||a)(e.rXU(b.JO),e.rXU(en.Ix),e.rXU(as.uR),e.rXU(e.gRc),e.rXU(Ic.q),e.rXU(wr.b),e.rXU(_h.H),e.rXU(Hr.Y),e.rXU(Hr.Y),e.rXU(bf.N),e.rXU(gi.H),e.rXU(u.qQ),e.rXU(Za),e.rXU(ce.i))};static#s=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-side-menu"]],viewQuery:function(o,d){if(1&o&&(e.GBs(om,5),e.GBs(am,5),e.GBs(cm,5,Hf.N)),2&o){let _;e.mGM(_=e.lsd())&&(d.menuMask=_.first),e.mGM(_=e.lsd())&&(d.loaderVideo=_.first),e.mGM(_=e.lsd())&&(d.customMenuBannerDynamicHost=_.first)}},hostVars:1,hostBindings:function(o,d){2&o&&e.zvX("@.disabled",d.disableAnimation)},inputs:{isMemberMenuInnerActive:"isMemberMenuInnerActive",hasForum:"hasForum",hideAppDownload:"hideAppDownload",vipOpen:"vipOpen",affiliateLink:"affiliateLink",ambassadorLink:"ambassadorLink",leaderBoardLink:"leaderBoardLink",sponsorLink:"sponsorLink",blogLink:"blogLink",helpPageLink:"helpPageLink",customAffiliateLink:"customAffiliateLink",isCustomI18nForAffiliateName:"isCustomI18nForAffiliateName",upperCaseGameType:"upperCaseGameType",partnershipLink:"partnershipLink",hasReferBonus:"hasReferBonus",useImgHeader:"useImgHeader",skipGameInit:"skipGameInit",isOpenMemberMenu:"isOpenMemberMenu",hasReferCompositeEntry:"hasReferCompositeEntry",isCustomCricketIcon:"isCustomCricketIcon",isShowToggleBox:"isShowToggleBox",cricketRoute:"cricketRoute",isShowAboutUs:[e.Mj6.SignalBased,"isShowAboutUs"],vipProgramLink:[e.Mj6.SignalBased,"vipProgramLink"],cricketDisplayName:[e.Mj6.SignalBased,"cricketDisplayName"]},outputs:{isOpenMemberMenuChange:"isOpenMemberMenuChange"},features:[e.Jv_([Hr.Y,u.oe,{provide:bf.N,useFactory:()=>new Hr.Y},{provide:ia.zo,useFactory:(n=(0,e.WQX)(e.zZn))=>n.get(vd,null,{optional:!0})}]),e.OA$],decls:5,vars:0,consts:[["cricketV2Template",""],["normalVendorTemplate",""],["beforeLogin",""],["menuMask",""],["cannotplay",""],["notLogin",""],["loaderVideo",""],["memberNameIconWallet",""],["vipBalance",""],["customMenuBanner",""],["hasSponsor",""],["hasAmbassadorLink",""],[4,"transloco"],["id","menu",1,"menu",3,"click","ngClass"],[1,"btn-close",3,"click","ngClass"],[1,"menu-first"],[1,"menu-top"],["class","toggle-box",4,"ngIf"],[1,"menu-header",3,"click"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["class","menu-component-slot",4,"ngIf"],[1,"menu-item"],[1,"main-box","skeleton-item"],[4,"ngFor","ngForOf"],[1,"item-box","skeleton-item"],["class","search-box",3,"click",4,"ngIf"],["class","wallet-box",4,"ngIf"],[1,"main-box"],[1,"item-box"],["data-category","promotion"],[3,"click","routerLink"],["data-category","forum",4,"ngIf"],["data-category","vip",4,"ngIf"],["data-category","download",4,"ngIf"],["data-category","affiliate",4,"ngIf"],["data-category","leaderBoard",4,"ngIf"],["data-category","sponsor",4,"ngIf"],["data-category","blog",4,"ngIf"],["data-category","ambassador","class","ambassador",4,"ngIf"],["data-category","referral-program",4,"ngIf"],["data-category","refer-bonus",4,"ngIf"],["data-category","winner-board"],["data-category","help",4,"ngIf"],["class","refer-composite-entry-box item-box",4,"ngIf"],[1,"contact-box"],[1,"switch-banner"],[1,"home-box"],["data-category","home"],["data-category","login",4,"ngIf"],["data-category","logout",4,"ngIf"],["class","bottom-menu-component custom-bottom-box",4,"ngIf"],[1,"menu-second"],[1,"menu-mask",3,"click"],[1,"toggle-box"],[1,"toggle-box__title"],[1,"toggle-box__inner"],["type","checkbox",1,"toggle-box__input",3,"change","checked"],[1,"toggle-box__switch"],[1,"toggle-box__disc"],[1,"toggle-box__toggle-img","toggle-box__toggle-img--light"],[1,"toggle-box__toggle-img","toggle-box__toggle-img--dark"],["id","coinVideo","mcdVideo","","autoplay","","muted","","loop","","playsinline","",3,"mcdSrc","canplay","loadedmetadata",4,"ngIf","ngIfElse"],[3,"mcdSrc"],["id","coinVideo","mcdVideo","","autoplay","","muted","","loop","","playsinline","",3,"canplay","loadedmetadata","mcdSrc"],["type","video/quicktime"],["type","video/webm"],[1,"member-name"],["id","account","class","account",4,"ngIf"],["id","profile_text"],["class","vip-points",3,"click",4,"ngIf"],[1,"icon-arrow"],["id","account",1,"account"],[1,"vip-points",3,"click"],[1,"vip-points-text"],[1,"member-name","ani"],[1,"afterlogin","marquee"],[1,"main-wallet"],[1,"wallet"],[1,"icon-refresh",3,"click","ngClass"],[1,"amount"],["data-currency","$",1,"amount"],[1,"btn-wallet",3,"click"],[1,"icon-wallet"],[1,"icon-wallet-bg"],["class","balance",4,"ngIf"],[1,"balance"],[1,"text"],[1,"bonus"],["data-currency","$",1,"bonus"],["class","pop-wrap pop-prompt",3,"ngClass",4,"ngIf"],[1,"pop-wrap","pop-prompt",3,"ngClass"],[1,"item-icon",2,"-webkit-mask-image","url(/assets/images/icon-set/icon-check-type06.svg)"],[1,"beforelogin"],[1,"login-button"],[2,"-webkit-mask-image","url(/assets/images/icon-set/theme-icon/icon-login.svg)"],[1,"register-button"],[2,"-webkit-mask-image","url(/assets/images/icon-set/theme-icon/icon-register.svg)"],[1,"menu-component-slot"],[3,"ngComponentOutlet"],["mcdDynamicHost",""],[1,"member-menu"],[1,"member-menu-content"],["class","member-list member-menu-box",4,"ngIf"],[1,"button","btn-primary"],[3,"click"],[1,"member-list","member-menu-box",3,"ngClass"],[1,"title"],[1,"member-menu-item",3,"ngClass"],[3,"ngClass"],[3,"mask-image",4,"ngIf"],[1,"notice","inbox"],[1,"notice-exclamation"],[1,"icon-exclamation"],[1,"member-list","member-menu-box"],[1,"member-menu-item"],["target","_blank",3,"href"],[1,"about"],["target","_blank",3,"click","href"],[1,"use-icon-path"],[1,"skeleton-item__icon"],[1,"skeleton-item__text"],[1,"search-box",3,"click"],[1,"icon-search"],[1,"wallet-box"],["data-category","deposit",3,"click","routerLink"],["data-category","withdrawal"],[3,"ngClass","mask-image",4,"ngIf"],[3,"game-nav-item","active",4,"ngFor","ngForOf"],[1,"item-icon",3,"ngClass"],["data-category","forum"],["data-category","vip"],["data-category","download"],["data-category","affiliate"],["data-category","leaderBoard"],["data-category","sponsor"],["data-category","blog"],["data-category","ambassador",1,"ambassador"],["data-category","referral-program"],[1,"menu-item-reminder"],["class","menu-item-reminder__icon",3,"mcdSrc",4,"ngIf"],[1,"menu-item-reminder__icon",3,"mcdSrc"],["data-category","refer-bonus"],["data-category","help"],[3,"click","href"],[1,"refer-composite-entry-box","item-box"],["data-category","refer-program"],["data-category","vip-program"],[3,"class",4,"ngIf"],[1,"use-icon-path",3,"background-image"],["alt","switch banner",1,"switch-banner__img",3,"click","mcdSrc"],["data-category","login"],["data-category","logout"],[1,"bottom-menu-component","custom-bottom-box"],[3,"ngClass",4,"ngFor","ngForOf"],["class","menu-second-submenu-item",3,"click",4,"ngFor","ngForOf"],[1,"menu-second-submenu-item",3,"click"],["tabindex","-1"],[1,"icon-sport"],[3,"click",4,"ngIf"],[1,"icon-all-provider"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"categoryNavClick","categoryData","vendorIconColor"],[3,"closeSearchEmitEvt","isActive"],["tabindex","-1",3,"click"],[1,"icon-sport","cricket","custom-cricket",3,"mask-image"],[1,"icon-sport","cricket","custom-cricket"],[1,"icon-sport","cricket"],[3,"ngClass","background-image"],[3,"ngClass","background-image",4,"ngIf"]],template:function(o,d){1&o&&e.DNE(0,Lm,95,124,"ng-container",12)(1,Gd,1,1,"ng-template",null,0,e.C5r)(3,Fm,6,2,"ng-template",null,1,e.C5r)},dependencies:[u.YU,u.OI,u.Sq,u.bT,u.T3,b.bA,en.Wk,pa.f,ga.h,Kf.K,AD.n,Hf.N,lf,TD,u.Jj,u.Pc,u.GH,b.Kj,ia.o4,Ms.Hc,bc.WX],encapsulation:2,data:{animation:[br.Rz,br.fK]},changeDetection:0})}return a})();const sc=a=>[a];function hI(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",6),e.bIt("click",function(){e.eBV(n);const d=e.XpG(3);return e.Njj(d.openLanguageMenu())}),e.nrm(1,"img",7),e.j41(2,"p"),e.EFF(3),e.nI1(4,"async"),e.nrm(5,"br"),e.EFF(6),e.nI1(7,"async"),e.nI1(8,"lowercase"),e.k0s()()}if(2&a){let n,o;const d=e.XpG(2).$implicit,_=e.XpG();e.Y8G("ngClass",e.eq3(10,sc,"order-"+(null==_.buttonOrdering?null:_.buttonOrdering.language))),e.R7$(),e.Y8G("mcdSrc",_.languageImagesPath),e.R7$(2),e.SpI(" ",d("ui.global.currency."+(null==(n=e.bMT(4,4,_.currencyType$))?null:n.name))," "),e.R7$(3),e.SpI(" ",d("ui.global.word.language."+e.bMT(8,8,null==(o=e.bMT(7,6,_.languageType$))?null:o.name))," ")}}function fI(a,p){if(1&a&&(e.j41(0,"a",8),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.Y8G("routerLink",e.eq3(2,sc,o.routingPathType.REGISTERNEW_THIRDPARTY.link)),e.R7$(),e.SpI(" ",n("ui.global.word.sign_up")," ")}}function Dl(a,p){if(1&a&&(e.j41(0,"a",8),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.Y8G("routerLink",e.eq3(2,sc,o.routingPathType.REGISTER.link)),e.R7$(),e.SpI(" ",n("ui.global.word.sign_up")," ")}}function Bm(a,p){if(1&a&&(e.j41(0,"a",8),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.Y8G("routerLink",e.eq3(2,sc,o.routingPathType.LOGINNEW_QUICK_ACCOUNT.link)),e.R7$(),e.SpI(" ",n("ui.global.word.login")," ")}}function pI(a,p){if(1&a&&(e.j41(0,"a",8),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2).$implicit,o=e.XpG();e.Y8G("routerLink",e.eq3(2,sc,o.routingPathType.LOGIN.link)),e.R7$(),e.SpI(" ",n("ui.global.word.login")," ")}}function gI(a,p){if(1&a&&(e.j41(0,"div",1),e.DNE(1,hI,9,12,"div",2),e.j41(2,"div",3),e.DNE(3,fI,2,4,"a",4)(4,Dl,2,4,"a",4),e.k0s(),e.j41(5,"div",5),e.DNE(6,Bm,2,4,"a",4)(7,pI,2,4,"a",4),e.k0s()()),2&a){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.isShowLanguageSelector),e.R7$(),e.Y8G("ngClass",e.eq3(7,sc,"order-"+(null==n.buttonOrdering?null:n.buttonOrdering.register))),e.R7$(),e.Y8G("ngIf",n.isEnableMultipleRegisterAndLoginFeatures),e.R7$(),e.Y8G("ngIf",!n.isEnableMultipleRegisterAndLoginFeatures),e.R7$(),e.Y8G("ngClass",e.eq3(9,sc,"order-"+(null==n.buttonOrdering?null:n.buttonOrdering.login))),e.R7$(),e.Y8G("ngIf",n.isEnableMultipleRegisterAndLoginFeatures),e.R7$(),e.Y8G("ngIf",!n.isEnableMultipleRegisterAndLoginFeatures)}}function _I(a,p){if(1&a&&(e.qex(0),e.DNE(1,gI,8,11,"div",1),e.bVm()),2&a){const n=e.XpG();e.R7$(),e.vxM(1,n.hasShowRegisterGroup?1:-1)}}let Um=(()=>{class a{constructor(n,o){this.currencySettingState=n,this.siteSetting=o,this.hasShowRegisterGroup=!0,this.routingPathType=$t.q,this.flagPathService=(0,e.WQX)(Nc.r),this.isShowLanguageSelector=!0,this.languageType$=this.currencySettingState.select("currentLanguageType"),this.currencyType$=this.currencySettingState.select("currentCurrencyType"),this.languageImagesPath="",this.isEnableMultipleRegisterAndLoginFeatures=!1,this.activateLanguage=new e.bkB,this.isEnableMultipleRegisterAndLoginFeatures=this.siteSetting.get("siteSettingModel").isEnableMultipleRegisterAndLoginFeatures}ngOnInit(){this.initCurrencyAndLanguage()}openLanguageMenu(){this.activateLanguage.emit(!0)}checkHasMultipleLanguage(n){return n.length>1||n[0].mapping.filter(o=>o.currencySettingTypeId===V.X.LANGUAGE.unique)[0].mappingData.length>1}initCurrencyAndLanguage(){this.currencySettingState.select("currencyMappingSettingModel").pipe((0,hn.T)(n=>{n&&(this.isShowLanguageSelector=this.checkHasMultipleLanguage(n),n.forEach(o=>{const d=this.currencySettingState.get("currentCurrencyType").unique;o.currencyTypeId===d&&o.mapping.forEach(_=>{_.currencySettingTypeId===V.X.COUNTRY.unique&&(this.languageImagesPath||(this.languageImagesPath=this.flagPathService.getFlagPathFromCurrencyMapping(o,re.U.getInstanceOf(d),"webp")))})}))})).subscribe()}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(ti.p),e.rXU(ti.p))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-guest-toolbar"]],inputs:{buttonOrdering:"buttonOrdering",hasShowRegisterGroup:"hasShowRegisterGroup"},outputs:{activateLanguage:"activateLanguage"},decls:1,vars:0,consts:[[4,"transloco"],[1,"toolbar","beforelogin","havelanguage"],["class","language-select",3,"ngClass","click",4,"ngIf"],[1,"register-button",3,"ngClass"],[3,"routerLink",4,"ngIf"],[1,"login-button",3,"ngClass"],[1,"language-select",3,"click","ngClass"],["width","60","height","60",3,"mcdSrc"],[3,"routerLink"]],template:function(o,d){1&o&&e.DNE(0,_I,2,1,"ng-container",0)},dependencies:[u.YU,u.bT,b.bA,en.Wk,pa.f,ga.h,u.Jj,u.GH],styles:[".order-1[_ngcontent-%COMP%]{order:1}.order-2[_ngcontent-%COMP%]{order:2}.order-3[_ngcontent-%COMP%]{order:3}"],changeDetection:0})}return a})();const Gm=a=>({loading:a});function mI(a,p){if(1&a){const n=e.RV6();e.j41(0,"mcd-header-inner",11),e.bIt("openMemberMenuEvt",function(d){e.eBV(n);const _=e.XpG();return e.Njj(_.openMemberMenu(d))}),e.k0s()}2&a&&e.Y8G("isShowChatIcon",!0)}function $O(a,p){1&a&&e.nrm(0,"mcd-gotop",12),2&a&&e.Y8G("transformX",0)("transformY",0)}function vI(a,p){1&a&&e.nrm(0,"mcd-footer-inner")}function lp(a,p){if(1&a&&(e.j41(0,"div"),e.DNE(1,vI,1,0,"mcd-footer-inner",8),e.nI1(2,"async"),e.k0s()),2&a){const n=e.XpG();e.Y8G("@footerFadeInAni",n.isFooterAnimation),e.R7$(),e.Y8G("ngIf",e.bMT(2,2,n.isNeedToShowFooter$))}}function up(a,p){if(1&a){const n=e.RV6();e.qex(0),e.j41(1,"mcd-player-toolbar-inner",14),e.bIt("openMemberMenuInner",function(d){e.eBV(n);const _=e.XpG(2);return e.Njj(_.listenMemberMenuInner(d))}),e.k0s(),e.bVm()}}function EI(a,p){if(1&a){const n=e.RV6();e.j41(0,"mcd-guest-toolbar",15),e.bIt("activateLanguage",function(d){e.eBV(n);const _=e.XpG(2);return e.Njj(_.listenLanguageMenu(d))}),e.k0s(),e.j41(1,"mcd-language",16),e.bIt("activateLanguage",function(d){e.eBV(n);const _=e.XpG(2);return e.Njj(_.listenLanguageMenu(d))}),e.k0s()}if(2&a){const n=e.XpG(2);e.R7$(),e.Y8G("isActive",n.isLanguageMenuActive)}}function Vm(a,p){if(1&a&&(e.qex(0),e.DNE(1,up,2,0,"ng-container",13),e.nI1(2,"async"),e.DNE(3,EI,2,1,"ng-template",null,2,e.C5r),e.bVm()),2&a){const n=e.sdS(4),o=e.XpG();e.R7$(),e.Y8G("ngIf",e.bMT(2,2,o.isLogin$))("ngIfElse",n)}}ys.gsap.registerPlugin(il.I);let CI=(()=>{class a{prepareRoute(n){return n&&n.activatedRouteData&&n.activatedRouteData.animationState}constructor(n,o,d,_,N,U,ue,we){this.authState=n,this.layoutState=o,this.siteSetting=d,this.sideMenuState=_,this.currencySettingState=N,this.routeAnimationService=U,this.moduleFederationCustomEventService=ue,this.appStateService=we,this.elementRef=(0,e.WQX)(e.aKT),this.destroy$=new S.B,this.isLoading$=(0,e.WQX)(ll.m).select("isLoading"),this.messageService=(0,e.WQX)(wr.b),this.loaderBoxService=(0,e.WQX)(rg.S),this.moduleFederationState=(0,e.WQX)(Qa.H),this.currentCurrency=(0,e.vPA)(void 0),this.isMemberMenuInnerActive=!1,this.isLanguageMenuActive=!1,this.isOpenMemberMenu=new e.bkB,this.isDarkMode=!1,this.hasVip=!1,this.hasForum=!1,this.hasService=!0,this.hasReferBonus=!1,this.loadingMaskOptions={poster:"/assets/images/logo.webp"},this.partnershipLink="",this.subscriptions=[],this.isFooterAnimation=!1,this.checkLoader=!0,this.isLogin$=this.authState.select("isLogin"),this.isNeedToShowToolbar$=this.layoutState.select("isNeedToShowToolbar"),this.isNeedToShowHeader$=this.layoutState.select("isNeedToShowHeader"),this.isNeedToShowFooter$=this.layoutState.select("isNeedToShowFooter"),this.contentClass$=this.layoutState.select("contentClass"),this.isHideGoTop$=this.moduleFederationState.select("isSystemReady"),this.isCustomI18nForAffiliateName=!0,this.isSystemReady$=this.moduleFederationState.select("isSystemReady"),this.environment=(0,e.WQX)(Ws.E),this.moduleFederationState.select("isShowBannerFooter").pipe((0,ot.M)(Ge=>{this.layoutState.set({isNeedToShowFooter:Ge||void 0===Ge})}),(0,Z.Q)(this.destroy$)).subscribe(),this.isSystemReady$.pipe((0,ui.pQ)(),(0,ot.M)(Ge=>{Ge&&this.moduleFederationCustomEventService.mf_custom_display_settings({isNewLayout:!0,isDMBookmakerStandalone:!0,isSmallVideoEnabled:!0,isDefaultFilterByTime:!0})})).subscribe(),this.customSideMenuLink(),this.initSideMenu()}ngOnInit(){this.loaderBoxService.state$.subscribe(n=>{this.checkLoader=n}),this.isLogin$.pipe((0,ot.M)(n=>{n&&(this.hasReferBonus=!0)})).subscribe()}ngOnDestroy(){this.subscriptions.forEach(n=>n.unsubscribe())}customSideMenuLink(){const n=this.siteSetting.get("currentCurrencyType"),o=this.siteSetting.get("currentLanguageType"),d=$o.customSideMenuLink[n.name];if(d){const Ge=d[o.name];Ge&&(this.affiliateLink=Ge.affiliateLink,this.helpPageLink=Ge.helpPageLink)}const U=this.siteSetting.get("currencyMappingSettingModel").find(Ge=>Ge.currencyTypeId===n.unique)?.mapping.find(Ge=>Ge.currencySettingTypeId===V.X.COUNTRY.unique)?.mappingData.map(Ge=>parseInt(Ge)),ue=T.B.getInstanceOf(U[0]),we={MYR:{MALAY:"https://mcwlnk.co/BHPartners",CHINESE:"https://mcwlnk.co/CNPartners",ENGLISH:"https://mcwlnk.co/BHPartners"}};this.partnershipLink=n.name in we?we[n.name][o.name]||we[n.name].ENGLISH:`https://mcwlnk.co/${ue?.name}Partners`}aniStart(n){this.isFooterAnimation=!1,this.routeAnimationService.layoutAniStart(this.elementRef)}aniEnd(n){this.isFooterAnimation=!0,this.routeAnimationService.layoutAniEnd(this.elementRef),this.routeAnimationService.goTop()}listenMemberMenuInner(n){this.appStateService.set("isMemberMenuActive",n),this.isMemberMenuInnerActive=n}listenLanguageMenu(n){this.isLanguageMenuActive=n}openMemberMenu(n){this.isMemberMenuInnerActive=n,this.isOpenMemberMenu.emit(n)}initSideMenu(){this.sideMenuState.set({isShowCricket:!1})}getCustomAffiliateLink(){const n=this.siteSetting.get("currentCurrencyType"),o=this.siteSetting.get("currentLanguageType");return n===re.U.BDT&&o===C.t.BENGALI||o===C.t.ENGLISH?"":void 0}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(gi.H),e.rXU(A.Tl),e.rXU(ti.p),e.rXU(Za),e.rXU(ti.p),e.rXU(W_.V),e.rXU(ul.g),e.rXU(ce.i))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["ng-component"]],inputs:{isMemberMenuInnerActive:"isMemberMenuInnerActive",isLanguageMenuActive:"isLanguageMenuActive"},outputs:{isOpenMemberMenu:"isOpenMemberMenu"},decls:19,vars:29,consts:[["layoutWrap",""],["outlet","outlet"],["guestToolbar",""],[3,"isShowChatIcon","openMemberMenuEvt",4,"ngIf"],[3,"transformX","transformY",4,"ngIf"],[1,"wrap"],[1,"wrap-inner",3,"ngClass"],[1,"content"],[4,"ngIf"],[3,"isShow"],[3,"isOpenMemberMenuChange","affiliateLink","isCustomI18nForAffiliateName","vipOpen","hasReferBonus","partnershipLink","helpPageLink","isOpenMemberMenu"],[3,"openMemberMenuEvt","isShowChatIcon"],[3,"transformX","transformY"],[4,"ngIf","ngIfElse"],[3,"openMemberMenuInner"],[3,"activateLanguage"],[3,"activateLanguage","isActive"]],template:function(o,d){if(1&o){const _=e.RV6();e.DNE(0,mI,1,1,"mcd-header-inner",3),e.nI1(1,"async"),e.DNE(2,$O,1,2,"mcd-gotop",4),e.nI1(3,"async"),e.j41(4,"div",5,0)(6,"div",6)(7,"div",7),e.nI1(8,"async"),e.j41(9,"div"),e.bIt("@routeLayoutPageAni.start",function(U){return e.eBV(_),e.Njj(d.aniStart(U))})("@routeLayoutPageAni.done",function(U){return e.eBV(_),e.Njj(d.aniEnd(U))}),e.nrm(10,"router-outlet",null,1),e.k0s()(),e.DNE(12,lp,3,4,"div",8),e.k0s()(),e.nrm(13,"mcd-pwa-download")(14,"mcd-float-banner",9),e.nI1(15,"async"),e.DNE(16,Vm,5,4,"ng-container",8),e.nI1(17,"async"),e.j41(18,"mcd-side-menu",10),e.bIt("isOpenMemberMenuChange",function(U){return e.eBV(_),e.Njj(d.isMemberMenuInnerActive=U)}),e.k0s()}if(2&o){const _=e.sdS(11);e.Y8G("ngIf",e.bMT(1,17,d.isNeedToShowHeader$)),e.R7$(2),e.Y8G("ngIf",!e.bMT(3,19,d.isHideGoTop$)),e.R7$(4),e.Y8G("ngClass",e.eq3(27,Gm,d.checkLoader)),e.R7$(),e.HbH(e.bMT(8,21,d.contentClass$)),e.R7$(2),e.Y8G("@routeLayoutPageAni",d.prepareRoute(_)),e.R7$(3),e.Y8G("ngIf",d.isFooterAnimation&&d.messageService.isScrollBannerAndFeatureGameLoaded()),e.R7$(2),e.Y8G("isShow",e.bMT(15,23,d.isNeedToShowFooter$)),e.R7$(2),e.Y8G("ngIf",e.bMT(17,25,d.isNeedToShowToolbar$)),e.R7$(2),e.Y8G("affiliateLink",d.getCustomAffiliateLink())("isCustomI18nForAffiliateName",d.isCustomI18nForAffiliateName)("vipOpen",!0)("hasReferBonus",d.hasReferBonus)("partnershipLink",d.partnershipLink)("affiliateLink",d.affiliateLink)("helpPageLink",d.helpPageLink)("isOpenMemberMenu",d.isMemberMenuInnerActive)}},dependencies:[u.YU,u.bT,en.n3,X_,ud.R,ID,au.i,zg,Wf,km,Um,kf,u.Jj],styles:[".wrap-inner[_ngcontent-%COMP%]{display:flex;min-height:100vh;flex-direction:column}[_nghost-%COMP%]{display:contents}"],data:{animation:[cl.J5,cl.JI]},changeDetection:0})}return a})();const $m=Dc.U.isMobileBrowser()?CI:yd,DI=[{path:"",children:[{path:$t.q.WALLET_DEPOSIT_THIRD_PARTY_RESULT.routingPath,loadChildren:()=>Promise.all([l.e(998),l.e(4897),l.e(3874),l.e(9455),l.e(3004),l.e(5243),l.e(2974),l.e(7686)]).then(l.bind(l,80958)).then(a=>a.DepositThirdPartyResultModule)},{path:$t.q.OPEN_GAME_PAGE.routingPath,loadChildren:()=>l.e(6255).then(l.bind(l,86255)).then(a=>a.OpenGameModule)},{path:$t.q.IP_BLOCK.routingPath,loadChildren:()=>l.e(2616).then(l.bind(l,12616)).then(a=>a.IpBlockModule)},{path:`${li.C.SYSTEM_MAINTAIN.routingPath}/:sDate/:eDate`,loadComponent:()=>l.e(5350).then(l.bind(l,45350)).then(a=>a.SystemMaintainComponent)},{path:$t.q.BRAND_MAINTAIN.routingPath,loadChildren:()=>l.e(485).then(l.bind(l,90485)).then(a=>a.BrandMaintainModule)},{path:$t.q.PROVIDER_MAINTAIN.routingPath,loadChildren:()=>l.e(404).then(l.bind(l,404)).then(a=>a.ProviderMaintainModule)},{path:$t.q.NOT_FOUND.routingPath,loadChildren:()=>l.e(7624).then(l.bind(l,57624)).then(a=>a.NotFoundModule)},{path:$t.q.AF_LINK.routingPath,resolve:{data:dg},component:gv},{path:$t.q.LANDING_PAGE.routingPath,loadChildren:()=>l.e(8365).then(l.bind(l,48365)).then(a=>a.LandingPageModule)},{path:"",component:$m,data:{animationFullPage:"MainPage"},children:[{path:$t.q.MAIN.routingPath,data:{animationState:"MainLayout",casinoDirectToVendorPage:!0,showCarouselBanner:!0,showMaintenanceRow:!1},loadChildren:()=>Dc.U.isMobileBrowser()?Promise.all([l.e(6039),l.e(1391),l.e(2130),l.e(1566),l.e(16)]).then(l.bind(l,16)).then(p=>p.MainModule):Promise.all([l.e(6039),l.e(1391),l.e(2130),l.e(1566),l.e(8839)]).then(l.bind(l,38839)).then(p=>p.MainModule)},{path:$t.q.SLOT.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(9112),l.e(6044),l.e(1886),l.e(2076),l.e(4553)]).then(l.bind(l,64553)).then(a=>a.SlotModule)},{path:$t.q.PROMOTION.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(9112),l.e(4248)]).then(l.bind(l,44248)).then(a=>a.PromotionV2Module)},{path:$t.q.TABLE.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(9112),l.e(6044),l.e(6831)]).then(l.bind(l,36831)).then(a=>a.TableModule)},{path:$t.q.ARCADE.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(9112),l.e(6044),l.e(2076),l.e(1327)]).then(l.bind(l,91327)).then(a=>a.ArcadeModule)},{path:$t.q.FISHING.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(9112),l.e(6044),l.e(1886),l.e(5029)]).then(l.bind(l,95029)).then(a=>a.FishModule)},{path:$t.q.CRASH.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(9112),l.e(6044),l.e(468)]).then(l.bind(l,20468)).then(a=>a.CrashModule)},{path:$t.q.CASINO.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(9112),l.e(6044),l.e(5710)]).then(l.bind(l,45710)).then(a=>a.CasinoModule)},{path:$t.q.LOTTERY.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(9112),l.e(6044),l.e(2430)]).then(l.bind(l,2430)).then(a=>a.LotteryModule)},{path:$t.q.APP_DOWNLOAD.routingPath,canActivate:[Ph],data:{animationState:"GuestLayout"},loadChildren:()=>l.e(6863).then(l.bind(l,16863)).then(a=>a.AppDownloadModule)}]},{path:"member",data:{animationFullPage:"MainPage",isOpenInDialog:!0},canActivateChild:[Ju],children:[{path:$t.q.TRANSACTION_RESULT.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(9455),l.e(2586),l.e(4497)]).then(l.bind(l,64497)).then(a=>a.TransactionResultModule)},{path:`${$t.q.FREE_SPIN.routingPath}/:status`,data:{animationState:"PlayerLayout"},loadComponent:()=>l.e(3361).then(l.bind(l,73361)).then(a=>a.FreeSpinComponent)},{path:$t.q.CHANGE_PASSWORD.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(998),l.e(4897),l.e(3874),l.e(6813)]).then(l.bind(l,46813)).then(a=>a.ChangePasswordModule)},{path:$t.q.PROFILENEW.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(2130),l.e(4830),l.e(5243),l.e(2076),l.e(8777)]).then(l.bind(l,1239)).then(a=>a.ProfileInfoModule)},{path:$t.q.PROFILENEW_ADD_FULLNAME.routingPath,data:{animationState:"PlayerLayout",fieldType:Na.P.FULL_NAME,showGoBack:!0},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(2130),l.e(4830),l.e(5243),l.e(2076),l.e(8777)]).then(l.bind(l,1239)).then(a=>a.ProfileInfoAddonModule)},{path:$t.q.PROFILENEW_ADD_BIRTHDAY.routingPath,data:{animationState:"PlayerLayout",fieldType:Na.P.BIRTHDAY,showGoBack:!0},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(2130),l.e(4830),l.e(5243),l.e(2076),l.e(8777)]).then(l.bind(l,1239)).then(a=>a.ProfileInfoAddonModule)},{path:$t.q.PROFILENEW_ADD_EMAIL.routingPath,data:{animationState:"PlayerLayout",fieldType:Na.P.EMAIL,showGoBack:!0},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(2130),l.e(4830),l.e(5243),l.e(2076),l.e(8777)]).then(l.bind(l,1239)).then(a=>a.ProfileInfoAddonModule)},{path:$t.q.PROFILENEW_VERIFY_EMAIL.routingPath,data:{animationState:"PlayerLayout",fieldType:Na.P.EMAIL,showGoBack:!0,isVerify:!0},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(2130),l.e(4830),l.e(5243),l.e(2076),l.e(8777)]).then(l.bind(l,1239)).then(a=>a.ProfileInfoAddonModule)},{path:$t.q.PROFILENEW_ADD_PHONE.routingPath,data:{animationState:"PlayerLayout",fieldType:Na.P.PHONE,showGoBack:!0},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(2130),l.e(4830),l.e(5243),l.e(2076),l.e(8777)]).then(l.bind(l,1239)).then(a=>a.ProfileInfoAddonModule)},{path:$t.q.PROFILENEW_VERIFY_PHONE.routingPath,data:{animationState:"PlayerLayout",fieldType:Na.P.PHONE,showGoBack:!0,isVerify:!0},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(2130),l.e(4830),l.e(5243),l.e(2076),l.e(8777)]).then(l.bind(l,1239)).then(a=>a.ProfileInfoAddonModule)},{path:$t.q.PROFILENEW_VERIFY_CODE.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(2130),l.e(4830),l.e(5243),l.e(2076),l.e(8777)]).then(l.bind(l,1239)).then(a=>a.VerifyCodeModule)},{path:$t.q.WALLET.routingPath,data:{animationState:"PlayerLayout",isEnableShowBonusAmount:!0},loadChildren:()=>Promise.all([l.e(998),l.e(4897),l.e(3874),l.e(2130),l.e(9455),l.e(3004),l.e(5243),l.e(2974),l.e(2076),l.e(9742)]).then(l.bind(l,89742)).then(a=>a.WalletModule)},{path:$t.q.MY_BONUSES.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(2076),l.e(757)]).then(l.bind(l,60757)).then(a=>a.MyBonusesModule)},{path:$t.q.REAL_TIME_BONUS.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(7037)]).then(l.bind(l,37037)).then(a=>a.RealTimeBonusRoutes)},{path:$t.q.TURNOVER.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(2076),l.e(2389)]).then(l.bind(l,82389)).then(a=>a.TurnoverModule)},{path:$t.q.BETTING_RECORDS.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(2076),l.e(1603)]).then(l.bind(l,11603)).then(a=>a.BettingRecordsModule)},{path:$t.q.TRANSACTION_RECORDS.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(998),l.e(9112),l.e(9455),l.e(2076),l.e(4795)]).then(l.bind(l,4795)).then(a=>a.TransactionRecordsModule)},{path:$t.q.VIP_POINTS_RECORDS.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(2076),l.e(6857)]).then(l.bind(l,56857)).then(a=>a.VipPointsRecordsRoutes)},{path:$t.q.VIP_POINTS_EXCHANGE.routingPath,data:{animationState:"PlayerLayout",vipOpen:!0},loadChildren:()=>Promise.all([l.e(2076),l.e(4215)]).then(l.bind(l,44215)).then(a=>a.VipPointsExchangeModule)},{path:$t.q.VIP_HISTORY.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(2076),l.e(1591)]).then(l.bind(l,11591)).then(a=>a.VipHistoryModule)},{path:$t.q.VERIFY_BANK.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(998),l.e(4897),l.e(3874),l.e(4517),l.e(455),l.e(2130),l.e(2076),l.e(4218)]).then(l.bind(l,74218)).then(a=>a.VerifyBankModule)},{path:$t.q.VERIFY_DOCUMENT.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(6829),l.e(998),l.e(4897),l.e(3874),l.e(4517),l.e(455),l.e(3885)]).then(l.bind(l,93885)).then(a=>a.VerifyDocumentModule)},{path:$t.q.VERIFY_CRYPTOCURRENCIES.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(998),l.e(4897),l.e(3874),l.e(4517),l.e(455),l.e(3004),l.e(8291),l.e(7268)]).then(l.bind(l,7268)).then(a=>a.VerifyCryptocurrenciesModule)},{path:$t.q.VERIFY_E_WALLETS.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(998),l.e(4897),l.e(3874),l.e(4517),l.e(455),l.e(3004),l.e(8291),l.e(9360)]).then(l.bind(l,19360)).then(a=>a.VerifyEWalletsModule)},{path:$t.q.VERIFY_UPI.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(998),l.e(4897),l.e(3874),l.e(4517),l.e(455),l.e(9326),l.e(8641)]).then(l.bind(l,8641)).then(a=>a.VerifyUPIModule)},{path:$t.q.VERIFICATION_OTP.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(4897),l.e(4517),l.e(9428)]).then(l.bind(l,59428)).then(a=>a.VerificationOtpModule)},{path:$t.q.INBOX.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>l.e(2377).then(l.bind(l,92377)).then(a=>a.InboxModule)},{path:$t.q.REFERRAL.routingPath,data:{animationState:"PlayerLayout",supportRecord:!0},canMatch:[()=>!(0,e.WQX)(ti.p).get("siteSettingModel").isEnabledRafCommission],loadChildren:()=>Promise.all([l.e(2076),l.e(8383)]).then(l.bind(l,48383)).then(a=>a.ReferralModule)},{path:$t.q.REFERRAL.routingPath,data:{animationState:"PlayerLayout",supportRecord:!0,isNeedReferBonusData:!0,isInviteBannerNeedCurrency:!0},loadChildren:()=>Promise.all([l.e(2076),l.e(3469)]).then(l.bind(l,43469)).then(a=>a.ReferralInvitationModule)},{path:$t.q.BIOMETRIC.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([l.e(998),l.e(3874),l.e(698)]).then(l.bind(l,90698)).then(a=>a.BiometricModule)}]},{path:"",component:$m,data:{animationFullPage:"MainPage",isOpenInDialog:!0},children:[{path:$t.q.LOGIN.routingPath,redirectTo:$t.q.LOGINNEW_QUICK_ACCOUNT.routingPath,pathMatch:"full"},{path:$t.q.REGISTER.routingPath,redirectTo:$t.q.REGISTERNEW_THIRDPARTY.routingPath,pathMatch:"full"},{path:$t.q.LOGINNEW_QUICK_ACCOUNT.routingPath,canActivate:[hg],data:{animationState:"RegisterLayout",preload:!0},loadChildren:()=>Promise.all([l.e(6039),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(2076),l.e(7958)]).then(l.bind(l,17958)).then(a=>a.QuickLoginAccountModule)},{path:$t.q.REGISTERNEW_QUICK_ACCOUNT.routingPath,redirectTo:$t.q.REGISTERNEW_THIRDPARTY.routingPath},{path:$t.q.REGISTERNEW_QUICK.routingPath,redirectTo:$t.q.REGISTERNEW_THIRDPARTY.routingPath},{path:$t.q.REGISTERNEW_THIRDPARTY.routingPath,canActivate:[hg],data:{animationState:"RegisterLayout",preload:!0,needEmail:!1,needPasswordFormatTips:!0},loadChildren:()=>Promise.all([l.e(6039),l.e(1391),l.e(2612),l.e(3263)]).then(l.bind(l,83263)).then(a=>a.QuickRegisterEntryModule)},{path:$t.q.REGISTERNEW_VERIFY_CODE.routingPath,data:{animationState:"RegisterLayout",preload:!0},loadChildren:()=>Promise.all([l.e(6039),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(9326),l.e(7656),l.e(4830),l.e(9810),l.e(2612),l.e(9020),l.e(8074),l.e(669)]).then(l.bind(l,50669)).then(a=>a.VerifyCodeModule)},{path:$t.q.REGISTERNEW_SUCCESS_PAGE.routingPath,data:{animationState:"RegisterLayout",preload:!0},loadChildren:()=>Promise.all([l.e(6039),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(9326),l.e(7656),l.e(4830),l.e(9810),l.e(2612),l.e(9020),l.e(8074),l.e(669)]).then(l.bind(l,50669)).then(a=>a.SuccessPageModule)},{path:$t.q.FORGOT_PASSWORD.routingPath,data:{animationState:"RegisterLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(4830),l.e(7247)]).then(l.bind(l,8149)).then(a=>a.ForgotPasswordModule)},{path:$t.q.FORGOT_PASSWORD_RESET_SUCCESS.routingPath,data:{pageType:"success",animationState:"RegisterLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(4830),l.e(7247)]).then(l.bind(l,8149)).then(a=>a.ForgotPasswordContactModule)},{path:$t.q.FORGOT_PASSWORD_CONTACT.routingPath,data:{pageType:"contact",animationState:"RegisterLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(4830),l.e(7247)]).then(l.bind(l,8149)).then(a=>a.ForgotPasswordContactModule)},{path:$t.q.FORGOT_PASSWORD_VERIFY.routingPath,data:{animationState:"RegisterLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(4830),l.e(7247)]).then(l.bind(l,8149)).then(a=>a.VerifyCodeModule)},{path:$t.q.FORGOT_PASSWORD_RESET.routingPath,data:{animationState:"RegisterLayout"},loadChildren:()=>Promise.all([l.e(6039),l.e(998),l.e(4897),l.e(3874),l.e(1391),l.e(4830),l.e(7247)]).then(l.bind(l,8149)).then(a=>a.ForgotPasswordResetModule)},{path:$t.q.WINNER_BOARD.routingPath,loadChildren:()=>l.e(908).then(l.bind(l,50908)).then(a=>a.winnerBoardRoutes)},{path:$t.q.VIP_DETAIL.routingPath,canActivate:[Lh],data:{showGoBack:!0},loadChildren:()=>l.e(1401).then(l.bind(l,51401)).then(a=>a.VipDetailModule)},{path:$t.q.ABOUT.routingPath,canActivate:[fg],data:{animationState:"PlayerLayout",showGoBack:!0},loadChildren:()=>l.e(2080).then(l.bind(l,22080)).then(a=>a.BestCasinoModule)}]},{path:"**",redirectTo:"/not-found"}]}];let II=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[en.iI.forRoot(DI,{paramsInheritanceStrategy:"always",enableTracing:!1,preloadingStrategy:oo}),en.iI]})}return a})();var dp=l(61760);function AI(){return[{provide:dp.QK,useValue:a=>{let p={};return a===dp.c$.FORGOT_PASSWORD?p={REQUIRED:"error.validation.form_group.required_no_input",PHONE_INVALID:"error.validation.form_group.phone_invalid"}:a===dp.c$.REGISTRATION&&(p={PASSWORD:"error.validation.form_group.password"}),p}}]}function OI(){return[{provide:(0,ir.Xe)("standard"),useClass:ov}]}let Wm=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,Lr.m]})}return a})();var hp=l(75600),$d=l(89558),Hm=l(71769);let RI=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,Lr.m,Kr.L,b.Q8,en.iI,Hm.L,Ya.$,b_]})}return a})(),jm=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,Lr.m,hp.x,Kr.L,b.Q8,$d.K,en.iI,RI]})}return a})();var SI=l(13315),Km=l(74840);let fp=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,b.Q8,SI.K,na.X1,Km.K,to.m,Lr.m,Kr.L]})}return a})(),rc=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,b.Q8,en.iI,Lr.m,Kr.L,fp,Ya.$,hf]})}return a})();var Ym=l(75788);let Xm=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,Lr.m,b.Q8,en.iI,Kr.L]})}return a})(),Qm=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[{provide:fl,useFactory:()=>({customCommonReferralBonus:!!(0,e.WQX)(ti.p).get("siteSettingModel").isEnabledRafCommission})}],imports:[u.MD,en.iI,Ym.mD,Wm,rc,jm,Kr.L,Lr.m,b.Q8,Xm]})}return a})(),yI=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,en.iI,b.Q8,Rh,Lr.m,hp.x,$d.K,Kr.L]})}return a})(),zm=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,b.Q8,en.iI,Lr.m,Kr.L,q_.E,Hm.L]})}return a})(),Jm=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})();var kc=l(92455),Wd=l(509);let Il=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,Wd.Z,Lr.m,kc.i]})}return a})();var Zm=l(12871);let Al=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,b.Q8,en.iI,Lr.m,Wd.Z,$d.K,kc.i,Kr.L,Ya.$,Zm.s,fp,TD]})}return a})(),pp=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,b.Q8,en.iI,Lr.m,$d.K]})}return a})(),Ol=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[{provide:A.X8,useFactory:()=>({isGoToReferralPage:!0})}],imports:[u.MD,en.iI,yI,Ym.mD,zm,hp.x,Wm,Nh.e,Jm,Il,Al,pp,Xm]})}return a})(),Rl=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return a})(),Sl=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[u.MD,kc.i,Rl]})}return a})();class yl{#e;constructor(){this.customSportVenderListHandler=(0,e.WQX)(A.lK),this.providerService=(0,e.WQX)(Sc.$),this.siteSettingState=(0,e.WQX)(ti.p),this.i18nService=(0,e.WQX)(b.JO),this.#e=(0,e.vPA)([]),this.currentCurrencyType=this.siteSettingState.get("currentCurrencyType"),this.vendorList=this.#e.asReadonly(),this.siteSettingState.select("siteSettingModel").pipe((0,on.n)(({isEnableWebsiteCategory:p})=>p?(0,L.of)([]):this.providerService.getVendors(this.getVendorGameTypeList(this.currentCurrencyType))),(0,ui.pQ)()).subscribe(p=>{const n=this.getFilteredList(p);this.#e.set(n)})}getVendorGameTypeList(p){return p===re.U.PHP||p===re.U.VND||p===re.U.USD?[Xt.Z.COCKFIGHTING.unique,Xt.Z.SPORT.unique,Xt.Z.CASINO.unique,Xt.Z.SLOT.unique,Xt.Z.TABLE.unique,Xt.Z.CRASH.unique,Xt.Z.LOTTERY.unique,Xt.Z.FISH.unique,Xt.Z.ARCADE.unique]:[Xt.Z.SPORT.unique,Xt.Z.CASINO.unique,Xt.Z.SLOT.unique,Xt.Z.TABLE.unique,Xt.Z.CRASH.unique,Xt.Z.LOTTERY.unique,Xt.Z.FISH.unique,Xt.Z.ARCADE.unique,Xt.Z.COCKFIGHTING.unique]}getFilteredList(p){const n=[],o=this.siteSettingState.get("currentCurrencyType").name;return p?.forEach(_=>{const N=Xt.Z.getInstanceOf(_.gameTypeId);if(N){let U=[];if(N==Xt.Z.SPORT){let Ge=[];if(_.vendorList.forEach(Xe=>{o===re.U.VND._name?Ge.push("Saba"===Xe.vendorCode?{...Xe,...Xn.b3,vendorName:"Sportsbook",extraData:"1",sortKey:"sportsbook"}:"SBOv2"===Xe.vendorCode?{...Xe,...Xn.I,sortKey:"SBOv2"}:"UGv3"===Xe.vendorCode?{...Xe,...Xn.cT,sortKey:"UGv3"}:"AWCMHORSEBOOK"===Xe.vendorCode?{...Xe,...Xn.T7,sortKey:"AWCMHORSEBOOK"}:"AWCMSV388"===Xe.vendorCode?{...Xe,...Xn.Zl,sortKey:"AWCMSV388"}:"SV388"===Xe.vendorCode?{...Xe,...Xn.$U,sortKey:"SV388"}:"AWCMBC"===Xe.vendorCode?{...Xe,...Xn.bu,vendorName:"mcw Sports",sortKey:"AWCMBC"}:"ICF"===Xe.vendorCode?{...Xe,...Xn.LY,sortKey:"ICF"}:"SBTech"===Xe.vendorCode?{...Xe,...Xn.HB,vendorName:"BTi",sortKey:"SBTech"}:"CMD"===Xe.vendorCode?{...Xe,...Xn.kR}:Xe):o===re.U.MXN._name?"Saba"===Xe.vendorCode?(Ge.push({...Xe,...Xn.b3,sortKey:"sportsbook"}),Ge.push({...Xe,...Xn.i6,vendorName:"MixParlay",sortKey:"mixParlay"})):Ge.push("UGv3"===Xe.vendorCode?{...Xe,...Xn.cT,sortKey:"UGv3"}:"AWCMBC"===Xe.vendorCode?{...Xe,...Xn.bu,vendorName:"mcw Sports",sortKey:"AWCMBC"}:Xe):o===re.U.USD._name?"CRICKET"===Xe.vendorCode||Ge.push("Saba"===Xe.vendorCode?{...Xe,...Xn.b3,vendorName:"Sportsbook",extraData:"1",sortKey:"sportsbook"}:"SBOv2"===Xe.vendorCode?{...Xe,...Xn.I,sortKey:"SBOv2"}:"UGv3"===Xe.vendorCode?{...Xe,...Xn.cT,sortKey:"UGv3"}:"AWCMHORSEBOOK"===Xe.vendorCode?{...Xe,...Xn.T7,sortKey:"AWCMHORSEBOOK"}:"AWCMSV388"===Xe.vendorCode?{...Xe,...Xn.Zl,sortKey:"AWCMSV388"}:"SV388"===Xe.vendorCode?{...Xe,...Xn.$U,sortKey:"SV388"}:"ICF"===Xe.vendorCode?{...Xe,...Xn.LY,sortKey:"ICF"}:"AWCMBC"===Xe.vendorCode?{...Xe,...Xn.bu,vendorName:"mcw Sports",sortKey:"AWCMBC"}:"SBTech"===Xe.vendorCode?{...Xe,...Xn.HB,vendorName:"BTi",sortKey:"SBTech"}:"CMD"===Xe.vendorCode?{...Xe,...Xn.kR}:{...Xe}):o===re.U.MYR._name?Ge.push("CRICKET"===Xe.vendorCode?{...Xe,...Xn.lH,sortKey:"cricket"}:"Saba"===Xe.vendorCode?{...Xe,...Xn.b3,vendorName:"Sportsbook",extraData:"1",sortKey:"sportsbook"}:"SBOv2"===Xe.vendorCode?{...Xe,...Xn.I,sortKey:"SBOv2"}:"UGv3"===Xe.vendorCode?{...Xe,...Xn.cT,sortKey:"UGv3"}:"AWCMHORSEBOOK"===Xe.vendorCode?{...Xe,...Xn.T7,sortKey:"AWCMHORSEBOOK"}:"AWCMSV388"===Xe.vendorCode?{...Xe,...Xn.Zl,sortKey:"AWCMSV388"}:"SV388"===Xe.vendorCode?{...Xe,...Xn.$U,sortKey:"SV388"}:"ICF"===Xe.vendorCode?{...Xe,...Xn.LY,sortKey:"ICF"}:"AWCMBC"===Xe.vendorCode?{...Xe,...Xn.bu,vendorName:"mcw Sports",sortKey:"AWCMBC"}:"SBTech"===Xe.vendorCode?{...Xe,...Xn.HB,vendorName:"BTi",sortKey:"SBTech"}:"CMD"===Xe.vendorCode?{...Xe,...Xn.kR}:Xe):o===re.U.PKR._name?"HORSEDOG"===Xe.vendorCode?(Ge.push({...Xe,...Xn.XA,vendorName:"Horse racing",sortKey:"Horse racing"}),Ge.push({...Xe,...Xn.J9,vendorName:"Greyhound",sortKey:"Greyhound"})):"Saba"===Xe.vendorCode?Ge.push({...Xe,...Xn.b3,vendorName:"Sportsbook",sortKey:"sportsbook"}):"CRICKET"===Xe.vendorCode?Ge.push({...Xe,...Xn.lH,sortKey:"cricket"}):"AWCMHORSEBOOK"===Xe.vendorCode&&Ge.push({...Xe,...Xn.T7,sortKey:"AWCMHORSEBOOK"}):Ge.push("CRICKET"===Xe.vendorCode?{...Xe,...Xn.lH,sortKey:"cricket"}:"Saba"===Xe.vendorCode?{...Xe,...Xn.b3,vendorName:"Sportsbook",sortKey:"sportsbook"}:"SBOv2"===Xe.vendorCode?{...Xe,...Xn.I,sortKey:"SBOv2"}:"UGv3"===Xe.vendorCode?{...Xe,...Xn.cT,sortKey:"UGv3"}:"AWCMHORSEBOOK"===Xe.vendorCode?{...Xe,...Xn.T7,sortKey:"AWCMHORSEBOOK"}:"AWCMSV388"===Xe.vendorCode?{...Xe,...Xn.Zl,sortKey:"AWCMSV388"}:"SV388"===Xe.vendorCode?{...Xe,...Xn.$U,sortKey:"SV388"}:"ICF"===Xe.vendorCode?{...Xe,...Xn.LY,sortKey:"ICF"}:"AWCMBC"===Xe.vendorCode?{...Xe,...Xn.bu,vendorName:"mcw Sports",sortKey:"AWCMBC"}:"SBTech"===Xe.vendorCode?{...Xe,...Xn.HB,vendorName:"BTi",sortKey:"SBTech"}:"CMD"===Xe.vendorCode?{...Xe,...Xn.kR,vendorName:"CMD",sortKey:"CMD"}:Xe)}),this.customSportVenderListHandler){const Xe=this.customSportVenderListHandler[o];Xe&&(Ge=Ge.sort((sn,fn)=>{const xt=Xe.indexOf(sn.sortKey||""),Dn=Xe.indexOf(fn.sortKey||"");return-1===xt?1:-1===Dn||xtDn?1:0}))}U=Ge}else if(N==Xt.Z.LOTTERY){const Ge=[];_.vendorList.forEach(Xe=>{Ge.push("Saba"===Xe.vendorCode?{...Xe,...Xn.DW,vendorName:"Number"}:Xe)}),U=Ge}else if(N==Xt.Z.COCKFIGHTING){const Ge=[];_.vendorList.forEach(Xe=>{Ge.push("AWCMSV388"===Xe.vendorCode||"SV388"===Xe.vendorCode?{...Xe}:"ICF"===Xe.vendorCode?{...Xe,...Xn.LY}:Xe)}),U=Ge}else U=_.vendorList.map(Ge=>({...Ge}));const ue=N.name.toLowerCase();n.push({title:N.name,category:ue,gameType:N,vendorList:U})}}),n.filter(_=>0!==_.vendorList.length)}}var Bc=l(76672);const Uc=new e.nKC(""),Gc=new e.nKC("");let Tl=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[Bc.g,{provide:Gc,useValue:$o.production},{provide:Uc,useValue:C.t.resourceKeyArray},{provide:b.Ll,useFactory:ve,deps:[Uc,Gc,Bc.g]}],imports:[b.Q8]})}return a})(),bl=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[{provide:w.n,useValue:$o},{provide:A.lK,useFactory:()=>({BDT:["cricket","sportsbook","SBOv2","AWCMHORSEBOOK","AWCMBC"],INR:["cricket","SBTech","sportsbook","SBOv2","AWCMHORSEBOOK","UGv3","AWCMBC"],PKR:["cricket","Greyhound","Horse racing","AWCMHORSEBOOK","sportsbook"],PHP:["UGv3","AWCMBC"],VND:["SBTech","sportsbook","SBOv2","AWCMHORSEBOOK","UGv3"],MYR:["sportsbook","cricket","SBTech","SBOv2","AWCMHORSEBOOK","UGv3"],USD:["SBTech","sportsbook","SBOv2","UGv3","AWCMHORSEBOOK"],MXN:["SBOv2","mixParlay","UGv3"]})},{provide:ee.Y,useClass:yl},...OI(),...AI(),{provide:e.iLQ,useFactory:(n,o,d)=>()=>{(0,u.UE)(n)&&(d.setLoadingState(!0),o.events.pipe((0,In.p)(N=>N instanceof en.wF),(0,$n.s)(1),(0,ot.M)(()=>{setTimeout(()=>d.setLoadingState(!1),3e3)})).subscribe())},deps:[e.Agw,en.Ix,rg.S],multi:!0},Hr.Y,oh(),{provide:A.YR,useValue:!0},{provide:"SocialAuthServiceConfig",useFactory:()=>({autoLogin:!1,providers:[{id:oe.Gz.PROVIDER_ID,provider:new oe.Gz((0,e.WQX)(ti.p).get("siteSettingModel").googleOauthKey.clientId||"",{oneTapEnabled:!1})},{id:oe.nk.PROVIDER_ID,provider:new oe.nk((0,e.WQX)(ti.p).get("siteSettingModel").facebookOauthKey.clientId||"")}],onError:n=>{console.error(n)}})},{provide:Ws.E,useValue:$o},{provide:Ga.i,useValue:{messageTypes:[zs.G.TOP_BANNER.unique,zs.G.SLOT_SLIDER.unique,zs.G.SLOT_JACKPOT_BANNER.unique,zs.G.FISH_JACKPOT_BANNER.unique,zs.G.PROMOTION.unique]}},{provide:Ku.dt,useClass:class{getCustomizedImage(o,d){const _=d?.isActive||d?.isSidemenuActive?"defaultActive":"default";return o.imageObject.standard?.[_]||o.defaultImagePath}}},{provide:Ro.c,useFactory:()=>[{type:"provider",fileName:"awcmjili"},{type:"provider",fileName:"evo"},{type:"provider",fileName:"jdbaspribe"},{type:"provider",fileName:"pg"},{type:"provider",fileName:"awcmsexy"},{type:"provider",fileName:"awcmkm"},{type:"provider",fileName:"jdb"},{type:"provider",fileName:"awcmfc"},{type:"provider",fileName:"awcmyesbingo"},{type:"provider",fileName:"awcmladyluck"},{type:"provider",fileName:"awcmpp"},{type:"provider",fileName:"awcmsg"},{type:"provider",fileName:"awcmfastspin"},{type:"provider",fileName:"saba"},{type:"sport",fileName:"sbtech"},{type:"sport",fileName:"sbov2"},{type:"sport",fileName:"horsebook"},{type:"provider",fileName:"nextspin"},{type:"provider",fileName:"cq9"},{type:"provider",fileName:"awcmp8"},{type:"provider",fileName:"awcmrt"},{type:"provider",fileName:"awcmpt"},{type:"provider",fileName:"rich88"},{type:"provider",fileName:"ka"},{type:"provider",fileName:"worldmatch"},{type:"provider",fileName:"awcmp8"},{type:"provider",fileName:"netent"},{type:"provider",fileName:"awcmdg"},{type:"provider",fileName:"png"},{type:"provider",fileName:"joker"},{type:"provider",fileName:"ugv3"},{type:"provider",fileName:"mg"},{type:"provider",fileName:"bpoker"},{type:"provider",fileName:"awcmyl"},{type:"provider",fileName:"awcmhotroad"},{type:"provider",fileName:"awcmiloveu"}]},{provide:A.ql,useValue:n=>n!==T.B.PK.unique},{provide:A.Cm,useValue:n=>["NPR"].includes(n._name)},{provide:A.x2,useFactory:n=>()=>{const o=n.get("currentCurrencyType"),d=n.get("currentLanguageType"),U=n.get("currencyMappingSettingModel").find(fn=>fn.currencyTypeId===o.unique)?.mapping.find(fn=>fn.currencySettingTypeId===V.X.COUNTRY.unique)?.mappingData.map(fn=>parseInt(fn)),ue=T.B.getInstanceOf(U[0]),we=$o.customSideMenuLink,Ge=o.name,Xe=d.name,sn=we[Ge][Xe]?.affiliateLink||we.BDT.ENGLISH.affiliateLink;return d===C.t.HINDI?{responsibleGaming:"https://mcwlnk.co/INRespGaming",affiliates:sn,aboutUs:"https://mcwlnk.co/INGuide",security:"https://mcwlink.co/security-in",privacyPolicy:"https://mcwlink.co/privacy-policy-in",faq:"https://mcwlnk.co/INFAQ"}:d===C.t.NEPALI?{responsibleGaming:"https://mcwlnk.co/NPRespGaming",affiliates:sn,aboutUs:"https://mcwlnk.co/NPGuide",security:"https://mcwlink.co/security/ne/",privacyPolicy:"https://mcwlink.co/privacy-policy/ne/",faq:"https://mcwlnk.co/NPFAQ"}:d===C.t.MALAY?{responsibleGaming:"https://mcwlnk.co/BHRespGaming",affiliates:sn,aboutUs:"https://mcwlnk.co/BHGuide",security:"https://mcwlnk.co/BHSecurity",privacyPolicy:"https://www.mcwguide.com/privacy-policy/",faq:"https://mcwlnk.co/BHFAQ"}:d===C.t.CHINESE?{responsibleGaming:"https://mcwlnk.co/CNRespGaming",affiliates:sn,aboutUs:"https://mcwlnk.co/CNGuide",security:"https://mcwlnk.co/CNSecurity",privacyPolicy:"https://www.mcwguide.com/privacy-policy/",faq:"https://mcwlnk.co/CNFAQ"}:d===C.t.SINHALA?{responsibleGaming:"https://mcwlnk.co/LKRespGaming",affiliates:sn,aboutUs:"https://mcwlnk.co/LKGuide",security:"https://mcwlink.co/security-lk",privacyPolicy:"https://mcwlink.co/privacy-policy-lk",faq:"https://mcwlnk.co/LKFAQ"}:{responsibleGaming:`https://mcwlnk.co/${ue?.name}RespGaming`,affiliates:sn,aboutUs:`https://mcwlnk.co/${ue?.name}Guide`,security:"https://www.mcwguide.com/security/",privacyPolicy:"https://www.mcwguide.com/privacy-policy/",faq:`https://mcwlnk.co/${ue?.name}FAQ`}},deps:[ti.p]},{provide:A.Y8,useValue:!0},{provide:A.Mq,useValue:!0},{provide:A.Sh,useValue:n=>n===re.U.USD}],imports:[u.MD,Ua,h.Bb,II,m.q1,Tl,Ol,Qm,Mh,Sl,sg,Nh.e,ig,ua.forRoot({imageLink:ov}),ng.forRoot({neuA:{projectKey:$o.neuAProjectKey,debug:!0},route:{enableI18nRoute:$o.enableI18nRoute},pwa:$o.pwa,gallery:lg}),sv.forRoot({}),Ft.forRoot(!0),lt.forRoot({delay:0}),rh.forRoot({delay:0}),da.forRoot({delay:0})]})}return a})();var Au=function(a){return a[a.OPENING=1]="OPENING",a[a.EXECUTING=2]="EXECUTING",a[a.CLOSING=3]="CLOSING",a}(Au||{});class oc extends O.N{static#e=this._values=new Array;static#t=this.OPENING=new oc(Au.OPENING,"opening");static#n=this.EXECUTING=new oc(Au.EXECUTING,"executing");static#s=this.CLOSING=new oc(Au.CLOSING,"closing");constructor(p,n){super(p),this._value=p,this._title=n,oc.values.push(this)}static get values(){return this._values}static getInstanceOf(p){return this._values.find(n=>n._value===p)}get title(){return this._title}}var qm=l(64697);const e0=new e.nKC("ANIMATION_STATE",{providedIn:"root",factory:()=>new Hr.Y});var Ea=function(a){return a.DEFAULT="default",a.DARK="dark",a}(Ea||{});let t0=(()=>{class a{get version$(){return this._version$.pipe((0,Js.t)(1))}get currentVersion(){return this._version$.value}constructor(){this.ThemeVersion=Ea,this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.themeVersionStorageKey="THEME_VERSION";const n=this.checkVersion();this._version$=new P.t(n)}checkVersion(){return this.isBrowser?(localStorage.getItem(this.themeVersionStorageKey)||Ea.DEFAULT)===Ea.DARK?Ea.DARK:(localStorage.setItem(this.themeVersionStorageKey,Ea.DEFAULT),Ea.DEFAULT):Ea.DEFAULT}setVersion(n,o){if(!this.isBrowser)return;o=o||Ea.DEFAULT,this.isBrowser&&localStorage.setItem(this.themeVersionStorageKey,o),this._version$.next(o);const d="s-"+o,_=n+"-theme-"+o;document.getElementsByTagName("html")[0].classList.add(d),document.body.classList.add(_)}removeTheme(){return document.getElementsByTagName("html")[0].classList.forEach(n=>document.getElementsByTagName("html")[0].classList.remove(n)),document.body.classList.forEach(n=>document.body.classList.remove(n)),this}static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function n0(a,p){1&a&&e.nrm(0,"div",7),2&a&&e.Y8G("@fastFadeInOut",void 0)}function s0(a,p){1&a&&e.nrm(0,"img",8)}function r0(a,p){if(1&a){const n=e.RV6();e.j41(0,"video",9,1),e.bIt("canplay",function(){e.eBV(n);const d=e.sdS(1);return e.Njj(d.play())})("loadedmetadata",function(){e.eBV(n);const d=e.sdS(1);return e.Njj(d.muted=!0)}),e.nrm(2,"source",10),e.nI1(3,"videoSourceAddTimestamp"),e.nrm(4,"source",11),e.nI1(5,"videoSourceAddTimestamp"),e.k0s()}2&a&&(e.R7$(2),e.Y8G("src",e.bMT(3,2,"/assets/images/animation/loader.mov"),e.B4B),e.R7$(2),e.Y8G("src",e.bMT(5,4,"/assets/images/animation/loader.webm"),e.B4B))}function Hd(a,p){if(1&a&&(e.qex(0),e.DNE(1,n0,1,1,"div",3),e.j41(2,"div",4)(3,"div",5),e.DNE(4,s0,1,0,"ng-template",null,0,e.C5r)(6,r0,6,6,"video",6),e.nI1(7,"async"),e.k0s()(),e.bVm()),2&a){const n=e.sdS(5),o=e.XpG();e.R7$(),e.Y8G("ngIf",!o.firstLoad),e.R7$(5),e.Y8G("ngIf",e.bMT(7,3,o.canAutoPlayVideo$))("ngIfElse",n)}}let ac=(()=>{class a{constructor(n){this.loaderBoxState=n,this.canAutoPlayVideo$=(0,e.WQX)(ce.i).on("canAutoPlayVideo").pipe((0,ui.pQ)()),this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.isLoading$=new P.t(!0),this.firstLoad=!1}ngOnInit(){this.isBrowser&&this.loaderBoxState.select("isLoading").subscribe(n=>{this.isLoading$.next(n)})}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(ll.m))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-loader-box"]],inputs:{firstLoad:"firstLoad"},decls:2,vars:3,consts:[["cannotplay",""],["loaderVideo",""],[4,"ngIf"],["class","loading-mask",4,"ngIf"],[1,"loader-box"],[1,"movie-box"],["mcdVideo","","width","100%","height","100%","autoplay","","muted","","loop","","playsinline","","poster","/assets/images/animation/loader.png",3,"canplay","loadedmetadata",4,"ngIf","ngIfElse"],[1,"loading-mask"],["mcdSrc","","src","/assets/images/animation/loader.png"],["mcdVideo","","width","100%","height","100%","autoplay","","muted","","loop","","playsinline","","poster","/assets/images/animation/loader.png",3,"canplay","loadedmetadata"],["type","video/quicktime",3,"src"],["type","video/webm",3,"src"]],template:function(o,d){1&o&&(e.DNE(0,Hd,8,5,"ng-container",2),e.nI1(1,"async")),2&o&&e.Y8G("ngIf",e.bMT(1,1,d.isLoading$))},dependencies:[u.bT,u.Jj,M.s],data:{animation:[cl.ID]},changeDetection:0})}return a})();function TI(a,p){1&a&&e.nrm(0,"div",8),2&a&&e.Y8G("@fastFadeInOut",void 0)}function bI(a,p){1&a&&e.nrm(0,"img",9)}function gp(a,p){if(1&a){const n=e.RV6();e.j41(0,"video",10,1),e.bIt("canplay",function(){e.eBV(n);const d=e.sdS(1);return e.Njj(d.play())})("loadedmetadata",function(){e.eBV(n);const d=e.sdS(1);return e.Njj(d.muted=!0)}),e.nrm(2,"source",11),e.nI1(3,"videoSourceAddTimestamp"),e.nrm(4,"source",12),e.nI1(5,"videoSourceAddTimestamp"),e.k0s()}2&a&&(e.R7$(2),e.Y8G("src",e.bMT(3,2,"/assets/images/animation/loader.mov"),e.B4B),e.R7$(2),e.Y8G("src",e.bMT(5,4,"/assets/images/animation/loader.webm"),e.B4B))}function Vc(a,p){if(1&a&&(e.qex(0),e.DNE(1,TI,1,1,"div",3),e.j41(2,"div",4)(3,"div",5),e.DNE(4,bI,1,0,"ng-template",null,0,e.C5r)(6,gp,6,6,"video",6),e.nI1(7,"async"),e.k0s(),e.nrm(8,"div",7),e.k0s(),e.bVm()),2&a){const n=e.sdS(5),o=e.XpG();e.R7$(),e.Y8G("ngIf",!o.firstLoad),e.R7$(5),e.Y8G("ngIf",e.bMT(7,3,o.canAutoPlayVideo$))("ngIfElse",n)}}let _p=(()=>{class a extends ac{constructor(){super(...arguments),this.LowPowerModeService=(0,e.WQX)($l),this.firstLoad=!1}ngAfterViewInit(){this.LowPowerModeService.createCheckVideoScript()}static#e=this.\u0275fac=(()=>{let n;return function(d){return(n||(n=e.xGo(a)))(d||a)}})();static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-loader-box"]],inputs:{firstLoad:"firstLoad"},features:[e.Vt3],decls:2,vars:3,consts:[["cannotplay",""],["loaderVideo",""],[4,"ngIf"],["class","loading-mask",4,"ngIf"],[1,"loader-box"],[1,"movie-box"],["mcdVideo","","width","100%","height","100%","autoplay","","muted","","loop","","playsinline","","poster","/assets/images/animation/loader.png",3,"canplay","loadedmetadata",4,"ngIf","ngIfElse"],["id","loader-detect"],[1,"loading-mask"],["mcdSrc","","src","/assets/images/animation/loader.png"],["mcdVideo","","width","100%","height","100%","autoplay","","muted","","loop","","playsinline","","poster","/assets/images/animation/loader.png",3,"canplay","loadedmetadata"],["type","video/quicktime",3,"src"],["type","video/webm",3,"src"]],template:function(o,d){1&o&&(e.DNE(0,Vc,9,5,"ng-container",2),e.nI1(1,"async")),2&o&&e.Y8G("ngIf",e.bMT(1,1,d.isLoading$))},dependencies:[u.bT,u.Jj,M.s],data:{animation:[cl.ID]},changeDetection:0})}return a})(),MI=(()=>{class a{constructor(n,o){this._viewContainer=n,this._templateRef=o,this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw))}ngOnInit(){this.isPlatformBrowser?this._viewContainer.createEmbeddedView(this._templateRef):this._viewContainer.clear()}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(e.c1b),e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:a,selectors:[["","mcdPrerenderIgnore",""]]})}return a})();const mp=["popupOutlet"],WO=["containerWrapper"];function HO(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",13),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.goBack())}),e.k0s()}2&a&&e.xc7("-webkit-mask-image","url(/assets/images/icon-set/icon-arrow-type01.svg)")}function NI(a,p){if(1&a){const n=e.RV6();e.j41(0,"div",14),e.bIt("click",function(){e.eBV(n);const d=e.XpG();return e.Njj(d.close())}),e.k0s()}}ys.gsap.registerPlugin(il.I);const o0=/(.*)(\(popup:)(.*)(\))/i;let PI=(()=>{class a{#e;get isActiveClass(){return this.isActive()}get isMainRouteLandingPage(){return this.urlTree$.getValue()?.root?.children?.primary?.segments.some(n=>"landing-page"===n.path)}get isPopupRouteRegister(){return this.urlTree$.getValue()?.root?.children?.popup?.segments.some(n=>n.path.includes("register"))}constructor(n,o,d){this.document=n,this.appState=o,this.appStateService=d,this.hasWrapper=!0,this.layoutState=(0,e.WQX)(A.Tl),this.headerState=(0,e.WQX)(A.ww),this.router=(0,e.WQX)(en.Ix),this.navigationService=(0,e.WQX)(Ka.s),this.#e=(0,e.WQX)(e.Agw),this.isActive=(0,e.vPA)(void 0),this.bodyOverflow=(0,e.EWP)(()=>{const _=this.isPopupPageActive()||this.isMemberMenuActive();this.bodyElement&&(this.bodyElement.style.overflow=_?"hidden":"")}),this.scrollY=0,this.bodyElement=this.document.querySelector("body"),this.isPopupPageActive=(0,ui.ot)(this.appState.select("isPopupPageActive")),this.isMemberMenuActive=(0,ui.ot)(this.appState.select("isMemberMenuActive")),this.contentClass$=this.layoutState.select("contentClass"),this.desktopHeaderClass$=this.headerState.select("desktopHeaderClass"),this.title$=this.headerState.select("title"),this.isShowGoBack$=new P.t(!1),this.histories=[],this.urlTree$=new P.t(this.router.parseUrl(this.router.url)),this.router.events.pipe((0,ui.pQ)(),(0,In.p)(_=>_ instanceof en.wF),(0,ot.M)(_=>{setTimeout(()=>{this.urlTree$.next(this.router.parseUrl(this.router.url))},0)}),(0,ot.M)(()=>{this.checkIsPopupPage()||this.resetPopupUrl()})).subscribe(),this.initRoutingData(),(0,e.QZP)(()=>{this.bodyOverflow(),this.handleBodyScrollLock()})}close(){const n=this.router.parseUrl(this.router.url);delete n.queryParams?.refcode,delete n.queryParams?.returnUrl,this.isMainRouteLandingPage?this.router.navigateByUrl(""):(delete n.root.children.popup,this.router.navigateByUrl(n.toString()))}goBack(){this.histories.pop(),this.navigationService.back()}setRouteState(n){this.layoutState.set({isRWDPopupOpen:n}),this.isActive.set(n),this.appStateService.set("isPopupPageActive",n)}handleBodyScrollLock(){const n=this.document.body;n&&(this.isActive()?(this.scrollY=window.scrollY,this.document.body.style.position="fixed",this.document.body.style.top=`-${this.scrollY}px`,this.document.body.style.width="100%"):(n.style.position="",n.style.top="",n.style.width="",(0,u.UE)(this.#e)&&window.scrollTo(0,this.scrollY)))}initRoutingData(){this.router.events.pipe((0,ui.pQ)(),(0,In.p)(n=>n instanceof en.wF),(0,In.p)(()=>!!this.popupOutlet&&!0===this.popupOutlet.isActivated),(0,ot.M)(()=>{const n=this.containerWrapper;n&&n.nativeElement.scrollTop>0&&ys.gsap.to(n.nativeElement,{duration:.2,scrollTo:0,ease:"expo.out"})}),(0,ot.M)(()=>{const n=this.popupOutlet?.activatedRoute.children.find(d=>"primary"===d.outlet),o=function or(a){let p=a;for(;p.firstChild;)p=p.firstChild;return p}(n);o?.snapshot&&this.isShowGoBack$.next(!!o.snapshot.data.showGoBack)}),(0,ot.M)(n=>{if(n instanceof en.wF){if(this.router.getCurrentNavigation()?.extras.state?.[A.m])return;const o=this.histories,d=n.urlAfterRedirects,_=o.indexOf(d);o.push(_<0?d:o.splice(_,1)[0])}})).subscribe()}checkIsPopupPage(){return this.router.url.match(o0)}resetPopupUrl(){this.histories=[]}static#t=this.\u0275fac=function(o){return new(o||a)(e.rXU(u.qQ),e.rXU(Pc.G),e.rXU(ce.i))};static#n=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-popup-page"]],viewQuery:function(o,d){if(1&o&&(e.GBs(mp,5),e.GBs(WO,5)),2&o){let _;e.mGM(_=e.lsd())&&(d.popupOutlet=_.first),e.mGM(_=e.lsd())&&(d.containerWrapper=_.first)}},hostVars:4,hostBindings:function(o,d){2&o&&e.AVh("popup-page-wrapper",d.hasWrapper)("active",d.isActiveClass)},decls:18,vars:21,consts:[["main",""],["containerWrapper",""],["popupOutlet","outlet"],[1,"popup-page"],[1,"popup-page__backdrop",3,"click"],[1,"popup-page__main","popup-page-main"],[1,"popup-page-main__header"],["class","popup-page-main__back",3,"-webkit-mask-image","click",4,"ngIf"],[1,"popup-page-main__title"],["class","popup-page-main__close",3,"click",4,"ngIf"],[1,"popup-page-main__container"],[1,"content"],["name","popup",3,"activate","deactivate"],[1,"popup-page-main__back",3,"click"],[1,"popup-page-main__close",3,"click"]],template:function(o,d){if(1&o){const _=e.RV6();e.j41(0,"div",3)(1,"div",4),e.bIt("click",function(){return e.eBV(_),e.Njj(d.close())}),e.k0s(),e.j41(2,"div",5,0)(4,"div",6),e.nI1(5,"async"),e.DNE(6,HO,1,2,"div",7),e.nI1(7,"async"),e.j41(8,"div",8),e.EFF(9),e.nI1(10,"async"),e.k0s(),e.DNE(11,NI,1,0,"div",9),e.k0s(),e.j41(12,"div",10,1)(14,"div",11),e.nI1(15,"async"),e.j41(16,"router-outlet",12,2),e.bIt("activate",function(){return e.eBV(_),e.Njj(d.setRouteState(!0))})("deactivate",function(){return e.eBV(_),e.Njj(d.setRouteState(!1))}),e.k0s()()()()()}2&o&&(e.AVh("popup-page--active",d.isActive())("popup-page--align-top",d.isActive()),e.R7$(2),e.AVh("popup-page-main--show",d.isActive()),e.R7$(2),e.HbH(e.bMT(5,13,d.desktopHeaderClass$)),e.R7$(2),e.Y8G("ngIf",d.isActive()&&e.bMT(7,15,d.isShowGoBack$)&&d.histories.length>1),e.R7$(3),e.JRh(e.bMT(10,17,d.title$)),e.R7$(2),e.Y8G("ngIf",!d.isMainRouteLandingPage||!d.isPopupRouteRegister),e.R7$(3),e.HbH(e.bMT(15,19,d.contentClass$)))},dependencies:[u.bT,en.n3,u.Jj],changeDetection:0})}return a})();const a0=a=>({isLogin:a}),LI=(a,p)=>({"popup-page--fullheight":a,isLogin:p});function xI(a,p){1&a&&e.nrm(0,"mcd-loader-box")}function c0(a,p){1&a&&e.nrm(0,"mcd-rotating-phone")}function FI(a,p){}let l0=(()=>{class a{prepareRoute(n){return n&&n.activatedRouteData&&n.activatedRouteData.animationFullPage}constructor(n,o,d,_,N,U,ue){this.router=n,this.i18nService=o,this.loaderBoxService=d,this.appStateService=_,this.headerState=N,this.layoutState=U,this.animationState=ue,this.themeSettingService=(0,e.WQX)(t0),this.authState=(0,e.WQX)(gi.H),this.isShowWidget=(0,ui.ot)(this.appStateService.on("showWidget")),this.title="h5-mcw",this.isLoading$=new P.t(!1),this.subscriptions=[],this.isLogin$=this.authState.select("isLogin"),this.hideFloatWidget=!1,this.isFullHeightPopup=!1,this.adjustFloatWidgetPosition={x:-10,y:-30},this.customHeaderConfig=[{routingType:qm.z.TERMS,title:"ui.global.text.terms_and_conditions"}],this.routerLifeCycleState()}ngOnInit(){this.themeSettingService.setVersion("mcw",this.themeSettingService.ThemeVersion.DARK),this.subscriptions.push(this.isLoading$.pipe((0,ot.M)(n=>this.loaderBoxService.setLoadingState(n))).subscribe())}ngAfterViewInit(){document.getElementById("init-loader")?.remove()}ngOnDestroy(){this.subscriptions.forEach(n=>n.unsubscribe())}routerLifeCycleState(){const n=this.router.events.pipe((0,In.p)(d=>d instanceof en.Z)).subscribe(d=>{this.animationState.set({routingLifeCycle:oc.OPENING.unique})}),o=this.router.events.pipe((0,In.p)(d=>d instanceof en.wF)).subscribe(d=>{this.animationState.set({routingLifeCycle:oc.EXECUTING.unique}),this.routerEventChange(d)});this.subscriptions.push(n),this.subscriptions.push(o)}routerEventChange(n){const o=li.C.startWithLink(n.urlAfterRedirects),d=$t.q.findByRoutingPath(o);let _=this.headerState.get("btnSetting");if(_=d===$t.q.INBOX?{..._,hasEditBtrn:!0}:{..._,hasEditBtrn:!1},d){const N=d.layoutConfigType;let U=this.i18nService.translate(N.headerTitle);const ue=this.customHeaderConfig.find(we=>we.routingType===N);ue&&(U=this.i18nService.translate(ue.title)),this.headerState.set({title:U,headerClass:N.headerClass,btnSetting:_}),this.layoutState.set({isNeedToShowToolbar:N.isLayoutNeedToShowToolbar,isNeedToShowHeader:N.isLayoutNeedToShowHeader,isNeedToShowFooter:N.isLayoutNeedToShowFooter,contentClass:N.layoutContentClass+" mcd-style"})}else this.headerState.set({title:"",headerClass:"normal",btnSetting:_}),this.layoutState.set({isNeedToShowToolbar:!0,isNeedToShowHeader:!0,isNeedToShowFooter:!0,contentClass:"mcd-style"});this.hideFloatWidget=d===$t.q.IP_BLOCK||d===$t.q.BRAND_MAINTAIN||d===$t.q.PROVIDER_MAINTAIN||d===$t.q.NOT_FOUND,this.isFullHeightPopup=d===$t.q.REGISTER}static#e=this.\u0275fac=function(o){return new(o||a)(e.rXU(en.Ix),e.rXU(b.JO),e.rXU(rg.S),e.rXU(ce.i),e.rXU(A.ww),e.rXU(A.Tl),e.rXU(e0))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["mcd-root"]],decls:9,vars:12,consts:[["outlet","outlet"],[4,"mcdPrerenderIgnore"],[1,"main-router-wrapper","mcd-style",3,"ngClass"],["mcdDialog",""],[3,"ngClass"]],template:function(o,d){if(1&o&&(e.DNE(0,xI,1,0,"mcd-loader-box",1),e.j41(1,"div",2),e.nI1(2,"async"),e.nrm(3,"router-outlet",null,0),e.k0s(),e.DNE(5,c0,1,0,"mcd-rotating-phone",1)(6,FI,0,0,"ng-template",3),e.nrm(7,"mcd-popup-page",4),e.nI1(8,"async")),2&o){const _=e.sdS(4);e.R7$(),e.Y8G("@routeFullPageAni",d.prepareRoute(_))("ngClass",e.eq3(7,a0,e.bMT(2,3,d.isLogin$))),e.R7$(6),e.Y8G("ngClass",e.l_i(9,LI,d.isFullHeightPopup,e.bMT(8,5,d.isLogin$)))}},dependencies:[u.YU,en.n3,Mh,_p,MI,PI,u.Jj],styles:["[_nghost-%COMP%]{display:contents}"],data:{animation:[cl.Tx]},changeDetection:0})}return a})(),u0=(()=>{class a{static#e=this.\u0275fac=function(o){return new(o||a)};static#t=this.\u0275mod=e.$C({type:a,bootstrap:[l0]});static#n=this.\u0275inj=e.G2t({providers:[{provide:b.oH,useClass:Y}],imports:[bl]})}return a})();$o.production&&(0,e.SmG)();let cc=null;function d0(){h.sG().bootstrapModule(u0).then(function(){var a=(0,s.A)(function*(p){if((0,u.UE)(p.injector.get(e.Agw))){const{default:o}=yield Promise.resolve().then(l.bind(l,55918));o.defaults({overwrite:"auto"}),window.gsap=o,cc&&window.dispatchEvent(new CustomEvent("pwa-install-ready",{detail:cc}))}});return function(p){return a.apply(this,arguments)}}()).catch(a=>console.error(a))}window.addEventListener("beforeinstallprompt",a=>{a.preventDefault(),cc=a}),"complete"===document.readyState?d0():document.addEventListener("DOMContentLoaded",d0)},93188:function(Be,K,l){var s;Be.exports=(s=l(17656),l(98891),l(78855),l(4147),l(12414),function(){var h=s,u=h.lib.BlockCipher,m=h.algo,C=[],w=[],M=[],b=[],R=[],L=[],x=[],B=[],Y=[],j=[];!function(){for(var H=[],ae=0;ae<256;ae++)H[ae]=ae<128?ae<<1:ae<<1^283;var pe=0,de=0;for(ae=0;ae<256;ae++){var Pe=de^de<<1^de<<2^de<<3^de<<4;C[pe]=Pe=Pe>>>8^255&Pe^99,w[Pe]=pe;var q,W=H[pe],J=H[W],te=H[J];M[pe]=(q=257*H[Pe]^16843008*Pe)<<24|q>>>8,b[pe]=q<<16|q>>>16,R[pe]=q<<8|q>>>24,L[pe]=q,x[Pe]=(q=16843009*te^65537*J^257*W^16843008*pe)<<24|q>>>8,B[Pe]=q<<16|q>>>16,Y[Pe]=q<<8|q>>>24,j[Pe]=q,pe?(pe=W^H[H[H[te^W]]],de^=H[H[de]]):pe=de=1}}();var ve=[0,1,2,4,8,16,32,64,128,27,54],oe=m.AES=u.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var ae=this._keyPriorReset=this._key,pe=ae.words,de=ae.sigBytes/4,W=4*((this._nRounds=de+6)+1),J=this._keySchedule=[],te=0;te6&&te%de==4&&(H=C[H>>>24]<<24|C[H>>>16&255]<<16|C[H>>>8&255]<<8|C[255&H]):(H=C[(H=H<<8|H>>>24)>>>24]<<24|C[H>>>16&255]<<16|C[H>>>8&255]<<8|C[255&H],H^=ve[te/de|0]<<24),J[te]=J[te-de]^H);for(var q=this._invKeySchedule=[],$=0;$>>24]]^B[C[H>>>16&255]]^Y[C[H>>>8&255]]^j[C[255&H]]}}},encryptBlock:function(H,ae){this._doCryptBlock(H,ae,this._keySchedule,M,b,R,L,C)},decryptBlock:function(H,ae){var pe=H[ae+1];H[ae+1]=H[ae+3],H[ae+3]=pe,this._doCryptBlock(H,ae,this._invKeySchedule,x,B,Y,j,w),pe=H[ae+1],H[ae+1]=H[ae+3],H[ae+3]=pe},_doCryptBlock:function(H,ae,pe,de,Pe,W,J,te){for(var q=this._nRounds,$=H[ae]^pe[0],Q=H[ae+1]^pe[1],se=H[ae+2]^pe[2],Ee=H[ae+3]^pe[3],me=4,je=1;je>>24]^Pe[Q>>>16&255]^W[se>>>8&255]^J[255&Ee]^pe[me++],Ot=de[Q>>>24]^Pe[se>>>16&255]^W[Ee>>>8&255]^J[255&$]^pe[me++],mt=de[se>>>24]^Pe[Ee>>>16&255]^W[$>>>8&255]^J[255&Q]^pe[me++],Oe=de[Ee>>>24]^Pe[$>>>16&255]^W[Q>>>8&255]^J[255&se]^pe[me++];$=Qe,Q=Ot,se=mt,Ee=Oe}Qe=(te[$>>>24]<<24|te[Q>>>16&255]<<16|te[se>>>8&255]<<8|te[255&Ee])^pe[me++],Ot=(te[Q>>>24]<<24|te[se>>>16&255]<<16|te[Ee>>>8&255]<<8|te[255&$])^pe[me++],mt=(te[se>>>24]<<24|te[Ee>>>16&255]<<16|te[$>>>8&255]<<8|te[255&Q])^pe[me++],Oe=(te[Ee>>>24]<<24|te[$>>>16&255]<<16|te[Q>>>8&255]<<8|te[255&se])^pe[me++],H[ae]=Qe,H[ae+1]=Ot,H[ae+2]=mt,H[ae+3]=Oe},keySize:8});h.AES=u._createHelper(oe)}(),s.AES)},12414:function(Be,K,l){var e,u,m,C,w,M,R,x,B,j,ve,oe,ae,de,W,J,q,$,s;Be.exports=(s=l(17656),l(4147),void(s.lib.Cipher||(e=s,u=e.lib,m=u.Base,C=u.WordArray,w=u.BufferedBlockAlgorithm,M=e.enc,R=M.Base64,x=e.algo.EvpKDF,B=u.Cipher=w.extend({cfg:m.extend(),createEncryptor:function(Q,se){return this.create(this._ENC_XFORM_MODE,Q,se)},createDecryptor:function(Q,se){return this.create(this._DEC_XFORM_MODE,Q,se)},init:function(Q,se,Ee){this.cfg=this.cfg.extend(Ee),this._xformMode=Q,this._key=se,this.reset()},reset:function(){w.reset.call(this),this._doReset()},process:function(Q){return this._append(Q),this._process()},finalize:function(Q){return Q&&this._append(Q),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function Q(se){return"string"==typeof se?$:J}return function(se){return{encrypt:function(Ee,me,je){return Q(me).encrypt(se,Ee,me,je)},decrypt:function(Ee,me,je){return Q(me).decrypt(se,Ee,me,je)}}}}()}),u.StreamCipher=B.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),j=e.mode={},ve=u.BlockCipherMode=m.extend({createEncryptor:function(Q,se){return this.Encryptor.create(Q,se)},createDecryptor:function(Q,se){return this.Decryptor.create(Q,se)},init:function(Q,se){this._cipher=Q,this._iv=se}}),oe=j.CBC=function(){var Q=ve.extend();function se(Ee,me,je){var Qe,Ot=this._iv;Ot?(Qe=Ot,this._iv=undefined):Qe=this._prevBlock;for(var mt=0;mt>>2]}},u.BlockCipher=B.extend({cfg:B.cfg.extend({mode:oe,padding:ae}),reset:function(){var Q;B.reset.call(this);var se=this.cfg,Ee=se.iv,me=se.mode;this._xformMode==this._ENC_XFORM_MODE?Q=me.createEncryptor:(Q=me.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==Q?this._mode.init(this,Ee&&Ee.words):(this._mode=Q.call(me,this,Ee&&Ee.words),this._mode.__creator=Q)},_doProcessBlock:function(Q,se){this._mode.processBlock(Q,se)},_doFinalize:function(){var Q,se=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(se.pad(this._data,this.blockSize),Q=this._process(!0)):(Q=this._process(!0),se.unpad(Q)),Q},blockSize:4}),de=u.CipherParams=m.extend({init:function(Q){this.mixIn(Q)},toString:function(Q){return(Q||this.formatter).stringify(this)}}),W=(e.format={}).OpenSSL={stringify:function(Q){var Ee=Q.ciphertext,me=Q.salt;return(me?C.create([1398893684,1701076831]).concat(me).concat(Ee):Ee).toString(R)},parse:function(Q){var se,Ee=R.parse(Q),me=Ee.words;return 1398893684==me[0]&&1701076831==me[1]&&(se=C.create(me.slice(2,4)),me.splice(0,4),Ee.sigBytes-=16),de.create({ciphertext:Ee,salt:se})}},J=u.SerializableCipher=m.extend({cfg:m.extend({format:W}),encrypt:function(Q,se,Ee,me){me=this.cfg.extend(me);var je=Q.createEncryptor(Ee,me),Qe=je.finalize(se),Ot=je.cfg;return de.create({ciphertext:Qe,key:Ee,iv:Ot.iv,algorithm:Q,mode:Ot.mode,padding:Ot.padding,blockSize:Q.blockSize,formatter:me.format})},decrypt:function(Q,se,Ee,me){return me=this.cfg.extend(me),se=this._parse(se,me.format),Q.createDecryptor(Ee,me).finalize(se.ciphertext)},_parse:function(Q,se){return"string"==typeof Q?se.parse(Q,this):Q}}),q=(e.kdf={}).OpenSSL={execute:function(Q,se,Ee,me,je){if(me||(me=C.random(8)),je)var Qe=x.create({keySize:se+Ee,hasher:je}).compute(Q,me);else Qe=x.create({keySize:se+Ee}).compute(Q,me);var Ot=C.create(Qe.words.slice(se),4*Ee);return Qe.sigBytes=4*se,de.create({key:Qe,iv:Ot,salt:me})}},$=u.PasswordBasedCipher=J.extend({cfg:J.cfg.extend({kdf:q}),encrypt:function(Q,se,Ee,me){var je=(me=this.cfg.extend(me)).kdf.execute(Ee,Q.keySize,Q.ivSize,me.salt,me.hasher);me.iv=je.iv;var Qe=J.encrypt.call(this,Q,se,je.key,me);return Qe.mixIn(je),Qe},decrypt:function(Q,se,Ee,me){me=this.cfg.extend(me),se=this._parse(se,me.format);var je=me.kdf.execute(Ee,Q.keySize,Q.ivSize,se.salt,me.hasher);return me.iv=je.iv,J.decrypt.call(this,Q,se,je.key,me)}}))))},17656:function(Be,K,l){var s;Be.exports=(s=s||function(h,e){var u;if(typeof window<"u"&&window.crypto&&(u=window.crypto),typeof self<"u"&&self.crypto&&(u=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(u=globalThis.crypto),!u&&typeof window<"u"&&window.msCrypto&&(u=window.msCrypto),!u&&typeof global<"u"&&global.crypto&&(u=global.crypto),!u)try{u=l(50477)}catch{}var m=function(){if(u){if("function"==typeof u.getRandomValues)try{return u.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof u.randomBytes)try{return u.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},C=Object.create||function(){function H(){}return function(ae){var pe;return H.prototype=ae,pe=new H,H.prototype=null,pe}}(),w={},M=w.lib={},b=M.Base=function(){return{extend:function(H){var ae=C(this);return H&&ae.mixIn(H),(!ae.hasOwnProperty("init")||this.init===ae.init)&&(ae.init=function(){ae.$super.init.apply(this,arguments)}),ae.init.prototype=ae,ae.$super=this,ae},create:function(){var H=this.extend();return H.init.apply(H,arguments),H},init:function(){},mixIn:function(H){for(var ae in H)H.hasOwnProperty(ae)&&(this[ae]=H[ae]);H.hasOwnProperty("toString")&&(this.toString=H.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),R=M.WordArray=b.extend({init:function(H,ae){H=this.words=H||[],this.sigBytes=null!=ae?ae:4*H.length},toString:function(H){return(H||x).stringify(this)},concat:function(H){var ae=this.words,pe=H.words,de=this.sigBytes,Pe=H.sigBytes;if(this.clamp(),de%4)for(var W=0;W>>2]|=(pe[W>>>2]>>>24-W%4*8&255)<<24-(de+W)%4*8;else for(var te=0;te>>2]=pe[te>>>2];return this.sigBytes+=Pe,this},clamp:function(){var H=this.words,ae=this.sigBytes;H[ae>>>2]&=4294967295<<32-ae%4*8,H.length=h.ceil(ae/4)},clone:function(){var H=b.clone.call(this);return H.words=this.words.slice(0),H},random:function(H){for(var ae=[],pe=0;pe>>2]>>>24-Pe%4*8&255;de.push((W>>>4).toString(16)),de.push((15&W).toString(16))}return de.join("")},parse:function(H){for(var ae=H.length,pe=[],de=0;de>>3]|=parseInt(H.substr(de,2),16)<<24-de%8*4;return new R.init(pe,ae/2)}},B=L.Latin1={stringify:function(H){for(var ae=H.words,pe=H.sigBytes,de=[],Pe=0;Pe>>2]>>>24-Pe%4*8&255));return de.join("")},parse:function(H){for(var ae=H.length,pe=[],de=0;de>>2]|=(255&H.charCodeAt(de))<<24-de%4*8;return new R.init(pe,ae)}},Y=L.Utf8={stringify:function(H){try{return decodeURIComponent(escape(B.stringify(H)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(H){return B.parse(unescape(encodeURIComponent(H)))}},j=M.BufferedBlockAlgorithm=b.extend({reset:function(){this._data=new R.init,this._nDataBytes=0},_append:function(H){"string"==typeof H&&(H=Y.parse(H)),this._data.concat(H),this._nDataBytes+=H.sigBytes},_process:function(H){var ae,pe=this._data,de=pe.words,Pe=pe.sigBytes,W=this.blockSize,te=Pe/(4*W),q=(te=H?h.ceil(te):h.max((0|te)-this._minBufferSize,0))*W,$=h.min(4*q,Pe);if(q){for(var Q=0;Q>>2]>>>24-B%4*8&255)<<16|(b[B+1>>>2]>>>24-(B+1)%4*8&255)<<8|b[B+2>>>2]>>>24-(B+2)%4*8&255,H=0;H<4&&B+.75*H>>6*(3-H)&63));var ae=L.charAt(64);if(ae)for(;x.length%4;)x.push(ae);return x.join("")},parse:function(M){var b=M.length,R=this._map,L=this._reverseMap;if(!L){L=this._reverseMap=[];for(var x=0;x>>6-B%4*2;L[x>>>2]|=(Y|j)<<24-x%4*8,x++}return u.create(L,x)}(M,b,L)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},s.enc.Base64)},80627:function(Be,K,l){Be.exports=l(17656).enc.Utf8},4147:function(Be,K,l){var h,e,u,m,C,M,s;Be.exports=(s=l(17656),l(79986),l(37868),m=(e=(h=s).lib).WordArray,M=(C=h.algo).EvpKDF=(u=e.Base).extend({cfg:u.extend({keySize:4,hasher:C.MD5,iterations:1}),init:function(b){this.cfg=this.cfg.extend(b)},compute:function(b,R){for(var L,x=this.cfg,B=x.hasher.create(),Y=m.create(),j=Y.words,ve=x.keySize,oe=x.iterations;j.lengthx&&(R=b.finalize(R)),R.clamp();for(var B=this._oKey=R.clone(),Y=this._iKey=R.clone(),j=B.words,ve=Y.words,oe=0;oe>>24)|4278255360&(H<<24|H>>>8)}var ae=this._hash.words,pe=Y[j+0],de=Y[j+1],Pe=Y[j+2],W=Y[j+3],J=Y[j+4],te=Y[j+5],q=Y[j+6],$=Y[j+7],Q=Y[j+8],se=Y[j+9],Ee=Y[j+10],me=Y[j+11],je=Y[j+12],Qe=Y[j+13],Ot=Y[j+14],mt=Y[j+15],Oe=ae[0],Re=ae[1],Ve=ae[2],ye=ae[3];Oe=R(Oe,Re,Ve,ye,pe,7,M[0]),ye=R(ye,Oe,Re,Ve,de,12,M[1]),Ve=R(Ve,ye,Oe,Re,Pe,17,M[2]),Re=R(Re,Ve,ye,Oe,W,22,M[3]),Oe=R(Oe,Re,Ve,ye,J,7,M[4]),ye=R(ye,Oe,Re,Ve,te,12,M[5]),Ve=R(Ve,ye,Oe,Re,q,17,M[6]),Re=R(Re,Ve,ye,Oe,$,22,M[7]),Oe=R(Oe,Re,Ve,ye,Q,7,M[8]),ye=R(ye,Oe,Re,Ve,se,12,M[9]),Ve=R(Ve,ye,Oe,Re,Ee,17,M[10]),Re=R(Re,Ve,ye,Oe,me,22,M[11]),Oe=R(Oe,Re,Ve,ye,je,7,M[12]),ye=R(ye,Oe,Re,Ve,Qe,12,M[13]),Ve=R(Ve,ye,Oe,Re,Ot,17,M[14]),Oe=L(Oe,Re=R(Re,Ve,ye,Oe,mt,22,M[15]),Ve,ye,de,5,M[16]),ye=L(ye,Oe,Re,Ve,q,9,M[17]),Ve=L(Ve,ye,Oe,Re,me,14,M[18]),Re=L(Re,Ve,ye,Oe,pe,20,M[19]),Oe=L(Oe,Re,Ve,ye,te,5,M[20]),ye=L(ye,Oe,Re,Ve,Ee,9,M[21]),Ve=L(Ve,ye,Oe,Re,mt,14,M[22]),Re=L(Re,Ve,ye,Oe,J,20,M[23]),Oe=L(Oe,Re,Ve,ye,se,5,M[24]),ye=L(ye,Oe,Re,Ve,Ot,9,M[25]),Ve=L(Ve,ye,Oe,Re,W,14,M[26]),Re=L(Re,Ve,ye,Oe,Q,20,M[27]),Oe=L(Oe,Re,Ve,ye,Qe,5,M[28]),ye=L(ye,Oe,Re,Ve,Pe,9,M[29]),Ve=L(Ve,ye,Oe,Re,$,14,M[30]),Oe=x(Oe,Re=L(Re,Ve,ye,Oe,je,20,M[31]),Ve,ye,te,4,M[32]),ye=x(ye,Oe,Re,Ve,Q,11,M[33]),Ve=x(Ve,ye,Oe,Re,me,16,M[34]),Re=x(Re,Ve,ye,Oe,Ot,23,M[35]),Oe=x(Oe,Re,Ve,ye,de,4,M[36]),ye=x(ye,Oe,Re,Ve,J,11,M[37]),Ve=x(Ve,ye,Oe,Re,$,16,M[38]),Re=x(Re,Ve,ye,Oe,Ee,23,M[39]),Oe=x(Oe,Re,Ve,ye,Qe,4,M[40]),ye=x(ye,Oe,Re,Ve,pe,11,M[41]),Ve=x(Ve,ye,Oe,Re,W,16,M[42]),Re=x(Re,Ve,ye,Oe,q,23,M[43]),Oe=x(Oe,Re,Ve,ye,se,4,M[44]),ye=x(ye,Oe,Re,Ve,je,11,M[45]),Ve=x(Ve,ye,Oe,Re,mt,16,M[46]),Oe=B(Oe,Re=x(Re,Ve,ye,Oe,Pe,23,M[47]),Ve,ye,pe,6,M[48]),ye=B(ye,Oe,Re,Ve,$,10,M[49]),Ve=B(Ve,ye,Oe,Re,Ot,15,M[50]),Re=B(Re,Ve,ye,Oe,te,21,M[51]),Oe=B(Oe,Re,Ve,ye,je,6,M[52]),ye=B(ye,Oe,Re,Ve,W,10,M[53]),Ve=B(Ve,ye,Oe,Re,Ee,15,M[54]),Re=B(Re,Ve,ye,Oe,de,21,M[55]),Oe=B(Oe,Re,Ve,ye,Q,6,M[56]),ye=B(ye,Oe,Re,Ve,mt,10,M[57]),Ve=B(Ve,ye,Oe,Re,q,15,M[58]),Re=B(Re,Ve,ye,Oe,Qe,21,M[59]),Oe=B(Oe,Re,Ve,ye,J,6,M[60]),ye=B(ye,Oe,Re,Ve,me,10,M[61]),Ve=B(Ve,ye,Oe,Re,Pe,15,M[62]),Re=B(Re,Ve,ye,Oe,se,21,M[63]),ae[0]=ae[0]+Oe|0,ae[1]=ae[1]+Re|0,ae[2]=ae[2]+Ve|0,ae[3]=ae[3]+ye|0},_doFinalize:function(){var Y=this._data,j=Y.words,ve=8*this._nDataBytes,oe=8*Y.sigBytes;j[oe>>>5]|=128<<24-oe%32;var H=h.floor(ve/4294967296),ae=ve;j[15+(oe+64>>>9<<4)]=16711935&(H<<8|H>>>24)|4278255360&(H<<24|H>>>8),j[14+(oe+64>>>9<<4)]=16711935&(ae<<8|ae>>>24)|4278255360&(ae<<24|ae>>>8),Y.sigBytes=4*(j.length+1),this._process();for(var pe=this._hash,de=pe.words,Pe=0;Pe<4;Pe++){var W=de[Pe];de[Pe]=16711935&(W<<8|W>>>24)|4278255360&(W<<24|W>>>8)}return pe},clone:function(){var Y=C.clone.call(this);return Y._hash=this._hash.clone(),Y}});function R(Y,j,ve,oe,H,ae,pe){var de=Y+(j&ve|~j&oe)+H+pe;return(de<>>32-ae)+j}function L(Y,j,ve,oe,H,ae,pe){var de=Y+(j&oe|ve&~oe)+H+pe;return(de<>>32-ae)+j}function x(Y,j,ve,oe,H,ae,pe){var de=Y+(j^ve^oe)+H+pe;return(de<>>32-ae)+j}function B(Y,j,ve,oe,H,ae,pe){var de=Y+(ve^(j|~oe))+H+pe;return(de<>>32-ae)+j}e.MD5=C._createHelper(b),e.HmacMD5=C._createHmacHelper(b)}(Math),s.MD5)},36115:function(Be,K,l){var h,s;Be.exports=(s=l(17656),l(12414),s.mode.ECB=((h=s.lib.BlockCipherMode.extend()).Encryptor=h.extend({processBlock:function(e,u){this._cipher.encryptBlock(e,u)}}),h.Decryptor=h.extend({processBlock:function(e,u){this._cipher.decryptBlock(e,u)}}),h),s.mode.ECB)},95067:function(Be,K,l){var s;Be.exports=(s=l(17656),l(12414),s.pad.Pkcs7)},79986:function(Be,K,l){var h,e,u,m,w,M,s;Be.exports=(s=l(17656),u=(e=(h=s).lib).WordArray,w=[],M=h.algo.SHA1=(m=e.Hasher).extend({_doReset:function(){this._hash=new u.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(b,R){for(var L=this._hash.words,x=L[0],B=L[1],Y=L[2],j=L[3],ve=L[4],oe=0;oe<80;oe++){if(oe<16)w[oe]=0|b[R+oe];else{var H=w[oe-3]^w[oe-8]^w[oe-14]^w[oe-16];w[oe]=H<<1|H>>>31}var ae=(x<<5|x>>>27)+ve+w[oe];ae+=oe<20?1518500249+(B&Y|~B&j):oe<40?1859775393+(B^Y^j):oe<60?(B&Y|B&j|Y&j)-1894007588:(B^Y^j)-899497514,ve=j,j=Y,Y=B<<30|B>>>2,B=x,x=ae}L[0]=L[0]+x|0,L[1]=L[1]+B|0,L[2]=L[2]+Y|0,L[3]=L[3]+j|0,L[4]=L[4]+ve|0},_doFinalize:function(){var b=this._data,R=b.words,L=8*this._nDataBytes,x=8*b.sigBytes;return R[x>>>5]|=128<<24-x%32,R[14+(x+64>>>9<<4)]=Math.floor(L/4294967296),R[15+(x+64>>>9<<4)]=L,b.sigBytes=4*R.length,this._process(),this._hash},clone:function(){var b=m.clone.call(this);return b._hash=this._hash.clone(),b}}),h.SHA1=m._createHelper(M),h.HmacSHA1=m._createHmacHelper(M),s.SHA1)},59411:Be=>{function K(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return e}function s(e,u){const m=(u=u||{}).delimiter||".",C=u.maxDepth,w=u.transformKey||l,M={};return function b(R,L,x){x=x||1,Object.keys(R).forEach(function(B){const Y=R[B],j=u.safe&&Array.isArray(Y),ve=Object.prototype.toString.call(Y),oe=K(Y),H="[object Object]"===ve||"[object Array]"===ve,ae=L?L+m+w(B):w(B);if(!j&&!oe&&H&&Object.keys(Y).length&&(!u.maxDepth||x0&&(j=R(Y.shift()),ve=R(Y[0]))}oe[j]=h(e[B],u)}),M}},2348:(Be,K,l)=>{"use strict";l.d(K,{I:()=>H});var s,h,e,u,m,C,w,M=function(){return typeof window<"u"},b=function(){return s||M()&&(s=window.gsap)&&s.registerPlugin&&s},R=function(pe){return"string"==typeof pe},L=function(pe){return"function"==typeof pe},x=function(pe,de){var Pe="x"===de?"Width":"Height",W="scroll"+Pe,J="client"+Pe;return pe===e||pe===u||pe===m?Math.max(u[W],m[W])-(e["inner"+Pe]||u[J]||m[J]):pe[W]-pe["offset"+Pe]},B=function(pe,de){var Pe="scroll"+("x"===de?"Left":"Top");return pe===e&&(null!=pe.pageXOffset?Pe="page"+de.toUpperCase()+"Offset":pe=null!=u[Pe]?u:m),function(){return pe[Pe]}},j=function(pe,de){if(!(pe=C(pe)[0])||!pe.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var Pe=pe.getBoundingClientRect(),W=!de||de===e||de===m,J=W?{top:u.clientTop-(e.pageYOffset||u.scrollTop||m.scrollTop||0),left:u.clientLeft-(e.pageXOffset||u.scrollLeft||m.scrollLeft||0)}:de.getBoundingClientRect(),te={x:Pe.left-J.left,y:Pe.top-J.top};return!W&&de&&(te.x+=B(de,"x")(),te.y+=B(de,"y")()),te},ve=function(pe,de,Pe,W,J){return isNaN(pe)||"object"==typeof pe?R(pe)&&"="===pe.charAt(1)?parseFloat(pe.substr(2))*("-"===pe.charAt(0)?-1:1)+W-J:"max"===pe?x(de,Pe)-J:Math.min(x(de,Pe),j(pe,de)[Pe]-J):parseFloat(pe)-J},oe=function(){s=b(),M()&&s&&document.body&&(e=window,m=document.body,u=document.documentElement,C=s.utils.toArray,s.config({autoKillThreshold:7}),w=s.config(),h=1)},H={version:"3.10.4",name:"scrollTo",rawVars:1,register:function(pe){s=pe,oe()},init:function(pe,de,Pe,W,J){h||oe();var te=this,q=s.getProperty(pe,"scrollSnapType");te.isWin=pe===e,te.target=pe,te.tween=Pe,de=function(pe,de,Pe,W){if(L(pe)&&(pe=pe(de,Pe,W)),"object"!=typeof pe)return R(pe)&&"max"!==pe&&"="!==pe.charAt(1)?{x:pe,y:pe}:{y:pe};if(pe.nodeType)return{y:pe,x:pe};var te,J={};for(te in pe)J[te]="onAutoKill"!==te&&L(pe[te])?pe[te](de,Pe,W):pe[te];return J}(de,W,pe,J),te.vars=de,te.autoKill=!!de.autoKill,te.getX=B(pe,"x"),te.getY=B(pe,"y"),te.x=te.xPrev=te.getX(),te.y=te.yPrev=te.getY(),q&&"none"!==q&&(te.snap=1,te.snapInline=pe.style.scrollSnapType,pe.style.scrollSnapType="none"),null!=de.x?(te.add(te,"x",te.x,ve(de.x,pe,"x",te.x,de.offsetX||0),W,J),te._props.push("scrollTo_x")):te.skipX=1,null!=de.y?(te.add(te,"y",te.y,ve(de.y,pe,"y",te.y,de.offsetY||0),W,J),te._props.push("scrollTo_y")):te.skipY=1},render:function(pe,de){for(var me,je,Qe,Ot,mt,Pe=de._pt,W=de.target,J=de.tween,te=de.autoKill,q=de.xPrev,$=de.yPrev,Q=de.isWin,se=de.snap,Ee=de.snapInline;Pe;)Pe.r(pe,Pe.d),Pe=Pe._next;me=Q||!de.skipX?de.getX():q,Qe=(je=Q||!de.skipY?de.getY():$)-$,Ot=me-q,mt=w.autoKillThreshold,de.x<0&&(de.x=0),de.y<0&&(de.y=0),te&&(!de.skipX&&(Ot>mt||Ot<-mt)&&memt||Qe<-mt)&&je{"use strict";function s(ge){if(void 0===ge)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ge}function h(ge,E){ge.prototype=Object.create(E.prototype),ge.prototype.constructor=ge,ge.__proto__=E}l.r(K),l.d(K,{Back:()=>yr,Bounce:()=>Tr,CSSPlugin:()=>ee,Circ:()=>G,Cubic:()=>ka,Elastic:()=>hr,Expo:()=>le,Linear:()=>Di,Power0:()=>ho,Power1:()=>xs,Power2:()=>dr,Power3:()=>fo,Power4:()=>nr,Quad:()=>gr,Quart:()=>po,Quint:()=>Gs,Sine:()=>ie,SteppedEase:()=>go,Strong:()=>Vr,TimelineLite:()=>ts,TimelineMax:()=>ts,TweenLite:()=>Xi,TweenMax:()=>At,default:()=>He,gsap:()=>He});var m,me,je,Qe,Ot,Re,Kt,Oi,Ke,Ue,Ne,Se,lt,Ct,It,ge,E,A,S,P,z,Z,ce,Ft,e={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},u={duration:.5,overwrite:!1,delay:0},C=1e8,w=1/C,M=2*Math.PI,b=M/4,R=0,L=Math.sqrt,x=Math.cos,B=Math.sin,Y=function(E){return"string"==typeof E},j=function(E){return"function"==typeof E},ve=function(E){return"number"==typeof E},oe=function(E){return typeof E>"u"},H=function(E){return"object"==typeof E},ae=function(E){return!1!==E},pe=function(){return typeof window<"u"},de=function(E){return j(E)||Y(E)},Pe="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},W=Array.isArray,J=/(?:-?\.?\d|\.)+/gi,te=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,q=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Q=/[+-]=-?[.\d]+/,se=/[^,'"\[\]\s]+/gi,Ee=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,mt={},Oe={},Ve=function(E){return(Oe=On(E,mt))&&Mi},ye=function(E,A){return console.warn("Invalid property",E,"set to",A,"Missing plugin? gsap.registerPlugin()")},ht=function(E,A){return!A&&console.warn(E)},Ce=function(E,A){return E&&(mt[E]=A)&&Oe&&(Oe[E]=A)||mt},We=function(){return 0},ut={},ft=[],vt={},wt={},tn={},Wn=30,pi=[],Wt="",Zt=function(E){var S,P,A=E[0];if(H(A)||j(A)||(E=[E]),!(S=(A._gsap||{}).harness)){for(P=pi.length;P--&&!pi[P].targetTest(A););S=pi[P]}for(P=E.length;P--;)E[P]&&(E[P]._gsap||(E[P]._gsap=new Fr(E[P],S)))||E.splice(P,1);return E},dn=function(E){return E._gsap||Zt(ri(E))[0]._gsap},Pt=function(E,A,S){return(S=E[A])&&j(S)?E[A]():oe(S)&&E.getAttribute&&E.getAttribute(A)||S},Ln=function(E,A){return(E=E.split(",")).forEach(A)||E},dt=function(E){return Math.round(1e5*E)/1e5||0},fe=function(E){return Math.round(1e7*E)/1e7||0},_e=function(E,A){var S=A.charAt(0),P=parseFloat(A.substr(2));return E=parseFloat(E),"+"===S?E+P:"-"===S?E-P:"*"===S?E*P:E/P},Le=function(E,A){for(var S=A.length,P=0;E.indexOf(A[P])<0&&++Pce;)Z=Z._prev;return Z?(A._next=Z._next,Z._next=A):(A._next=E[S],E[S]=A),A._next?A._next._prev=A:E[P]=A,A._prev=Z,A.parent=A._dp=E,A},Hn=function(E,A,S,P){void 0===S&&(S="_first"),void 0===P&&(P="_last");var z=A._prev,Z=A._next;z?z._next=Z:E[S]===A&&(E[S]=Z),Z?Z._prev=z:E[P]===A&&(E[P]=z),A._next=A._prev=A.parent=null},Hi=function(E,A){E.parent&&(!A||E.parent.autoRemoveChildren)&&E.parent.remove(E),E._act=0},qn=function(E,A){if(E&&(!A||A._end>E._dur||A._start<0))for(var S=E;S;)S._dirty=1,S=S.parent;return E},ai=function ge(E){return!E||E._ts&&ge(E.parent)},As=function(E){return E._repeat?is(E._tTime,E=E.duration()+E._rDelay)*E:0},is=function(E,A){var S=Math.floor(E/=A);return E&&S===E?S-1:S},pt=function(E,A){return(E-A._start)*A._ts+(A._ts>=0?0:A._dirty?A.totalDuration():A._tDur)},Et=function(E){return E._end=fe(E._start+(E._tDur/Math.abs(E._ts||E._rts||w)||0))},Fe=function(E,A){var S=E._dp;return S&&S.smoothChildTiming&&E._ts&&(E._start=fe(S._time-(E._ts>0?A/E._ts:((E._dirty?E.totalDuration():E._tDur)-A)/-E._ts)),Et(E),S._dirty||qn(S,E)),E},ct=function(E,A){var S;if((A._time||A._initted&&!A._dur)&&(S=pt(E.rawTime(),A),(!A._dur||Yt(0,A.totalDuration(),S)-A._tTime>w)&&A.render(S,!0)),qn(E,A)._dp&&E._initted&&E._time>=E._dur&&E._ts){if(E._dur=0&&S.totalTime(S._tTime),S=S._dp;E._zTime=-w}},Mt=function(E,A,S,P){return A.parent&&Hi(A),A._start=fe((ve(S)?S:S||E!==me?rt(E,S,A):E._time)+A._delay),A._end=fe(A._start+(A.totalDuration()/Math.abs(A.timeScale())||0)),Kn(E,A,"_first","_last",E._sort?"_start":0),Ei(A)||(E._recent=A),P||ct(E,A),E},gn=function(E,A){return(mt.ScrollTrigger||ye("scrollTrigger",A))&&mt.ScrollTrigger.create(A,E)},Gn=function(E,A,S,P){return lo(E,A),E._initted?!S&&E._pt&&(E._dur&&!1!==E.vars.lazy||!E._dur&&E.vars.lazy)&&Kt!==Nn.frame?(ft.push(E),E._lazy=[A,P],1):void 0:1},Ci=function ge(E){var A=E.parent;return A&&A._ts&&A._initted&&!A._lock&&(A.rawTime()<0||ge(A))},Ei=function(E){var A=E.data;return"isFromStart"===A||"isStart"===A},$e=function(E,A,S,P){var z=E._repeat,Z=fe(A)||0,ce=E._tTime/E._tDur;return ce&&!P&&(E._time*=Z/E._dur),E._dur=Z,E._tDur=z?z<0?1e10:fe(Z*(z+1)+E._rDelay*z):Z,ce>0&&!P?Fe(E,E._tTime=E._tDur*ce):E.parent&&Et(E),S||qn(E.parent,E),E},yt=function(E){return E instanceof ts?qn(E):$e(E,E._dur)},et={_start:0,endTime:We,totalDuration:We},rt=function ge(E,A,S){var ce,Ue,Ne,P=E.labels,z=E._recent||et,Z=E.duration()>=C?z.endTime(!1):E._dur;return Y(A)&&(isNaN(A)||A in P)?(Ue=A.charAt(0),Ne="%"===A.substr(-1),ce=A.indexOf("="),"<"===Ue||">"===Ue?(ce>=0&&(A=A.replace(/=/,"")),("<"===Ue?z._start:z.endTime(z._repeat>=0))+(parseFloat(A.substr(1))||0)*(Ne?(ce<0?z:S).totalDuration()/100:1)):ce<0?(A in P||(P[A]=Z),P[A]):(Ue=parseFloat(A.charAt(ce-1)+A.substr(ce+1)),Ne&&S&&(Ue=Ue/100*(W(S)?S[0]:S).totalDuration()),ce>1?ge(E,A.substr(0,ce-1),S)+Ue:Z+Ue)):null==A?Z:+A},xe=function(E,A,S){var ce,Ue,P=ve(A[1]),z=(P?2:1)+(E<2?0:1),Z=A[z];if(P&&(Z.duration=A[1]),Z.parent=S,E){for(ce=Z,Ue=S;Ue&&!("immediateRender"in ce);)ce=Ue.vars.defaults||{},Ue=ae(Ue.vars.inherit)&&Ue.parent;Z.immediateRender=ae(ce.immediateRender),E<2?Z.runBackwards=1:Z.startAt=A[z-1]}return new Xi(A[0],Z,A[z+1])},Je=function(E,A){return E||0===E?A(E):A},Yt=function(E,A,S){return SA?A:S},ln=function(E,A){return Y(E)&&(A=Ee.exec(E))?A[1]:""},di=[].slice,Ni=function(E,A){return E&&H(E)&&"length"in E&&(!A&&!E.length||E.length-1 in E&&H(E[0]))&&!E.nodeType&&E!==je},ri=function(E,A,S){return!Y(E)||S||!Qe&&Es()?W(E)?function(E,A,S){return void 0===S&&(S=[]),E.forEach(function(P){var z;return Y(P)&&!A||Ni(P,1)?(z=S).push.apply(z,ri(P)):S.push(P)})||S}(E,S):Ni(E)?di.call(E,0):E?[E]:[]:di.call((A||Ot).querySelectorAll(E),0)},ji=function(E){return E.sort(function(){return.5-Math.random()})},ss=function(E){if(j(E))return E;var A=H(E)?E:{each:E},S=Ji(A.ease),P=A.from||0,z=parseFloat(A.base)||0,Z={},ce=P>0&&P<1,Ue=isNaN(P)||ce,Ne=A.axis,Se=P,lt=P;return Y(P)?Se=lt={center:.5,edges:.5,end:1}[P]||0:!ce&&Ue&&(Se=P[0],lt=P[1]),function(Ct,It,Ft){var Bt,nn,_n,Ht,qt,Cn,wn,mn,Sn,_t=(Ft||A).length,jt=Z[_t];if(!jt){if(!(Sn="auto"===A.grid?0:(A.grid||[1,C])[1])){for(wn=-C;wn<(wn=Ft[Sn++].getBoundingClientRect().left)&&Sn<_t;);Sn--}for(jt=Z[_t]=[],Bt=Ue?Math.min(Sn,_t)*Se-.5:P%Sn,nn=Sn===C?0:Ue?_t*lt/Sn-.5:P/Sn|0,wn=0,mn=C,Cn=0;Cn<_t;Cn++)_n=Cn%Sn-Bt,Ht=nn-(Cn/Sn|0),jt[Cn]=qt=Ne?Math.abs("y"===Ne?Ht:_n):L(_n*_n+Ht*Ht),qt>wn&&(wn=qt),qt_t?_t-1:Ne?"y"===Ne?_t/Sn:Sn:Math.max(Sn,_t/Sn))||0)*("edges"===P?-1:1),jt.b=_t<0?z-_t:z,jt.u=ln(A.amount||A.each)||0,S=S&&_t<0?pr(S):S}return _t=(jt[Ct]-jt.min)/jt.max||0,fe(jt.b+(S?S(_t):_t)*jt.v)+jt.u}},mi=function(E){var A=Math.pow(10,((E+"").split(".")[1]||"").length);return function(S){var P=Math.round(parseFloat(S)/E)*E*A;return(P-P%1)/A+(ve(S)?0:ln(S))}},Ki=function(E,A){var P,z,S=W(E);return!S&&H(E)&&(P=S=E.radius||C,E.values?(E=ri(E.values),(z=!ve(E[0]))&&(P*=P)):E=mi(E.increment)),Je(A,S?j(E)?function(Z){return z=E(Z),Math.abs(z-Z)<=P?z:Z}:function(Z){for(var Ct,It,ce=parseFloat(z?Z.x:Z),Ue=parseFloat(z?Z.y:0),Ne=C,Se=0,lt=E.length;lt--;)(Ct=z?(Ct=E[lt].x-ce)*Ct+(It=E[lt].y-Ue)*It:Math.abs(E[lt]-ce))(ce=Math.abs(ce))&&(Ue=Z,z=ce);return Ue},hi=function(E,A,S){var Z,ce,P=E.vars,z=P[A];if(z)return Z=P[A+"Params"],ce=P.callbackScope||E,S&&ft.length&&tt(),Z?z.apply(ce,Z):z.call(ce)},zn=function(E){return Hi(E),E.scrollTrigger&&E.scrollTrigger.kill(!1),E.progress()<1&&hi(E,"onInterrupt"),E},Jn=255,oi={aqua:[0,Jn,Jn],lime:[0,Jn,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Jn],navy:[0,0,128],white:[Jn,Jn,Jn],olive:[128,128,0],yellow:[Jn,Jn,0],orange:[Jn,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Jn,0,0],pink:[Jn,192,203],cyan:[0,Jn,Jn],transparent:[Jn,Jn,Jn,0]},jn=function(E,A,S){return(6*(E+=E<0?1:E>1?-1:0)<1?A+(S-A)*E*6:E<.5?S:3*E<2?A+(S-A)*(2/3-E)*6:A)*Jn+.5|0},os=function(E,A,S){var z,Z,ce,Ue,Ne,Se,lt,Ct,It,Ft,P=E?ve(E)?[E>>16,E>>8&Jn,E&Jn]:0:oi.black;if(!P){if(","===E.substr(-1)&&(E=E.substr(0,E.length-1)),oi[E])P=oi[E];else if("#"===E.charAt(0)){if(E.length<6&&(z=E.charAt(1),Z=E.charAt(2),ce=E.charAt(3),E="#"+z+z+Z+Z+ce+ce+(5===E.length?E.charAt(4)+E.charAt(4):"")),9===E.length)return[(P=parseInt(E.substr(1,6),16))>>16,P>>8&Jn,P&Jn,parseInt(E.substr(7),16)/255];P=[(E=parseInt(E.substr(1),16))>>16,E>>8&Jn,E&Jn]}else if("hsl"===E.substr(0,3))if(P=Ft=E.match(J),A){if(~E.indexOf("="))return P=E.match(te),S&&P.length<4&&(P[3]=1),P}else Ue=+P[0]%360/360,Ne=+P[1]/100,z=2*(Se=+P[2]/100)-(Z=Se<=.5?Se*(Ne+1):Se+Ne-Se*Ne),P.length>3&&(P[3]*=1),P[0]=jn(Ue+1/3,z,Z),P[1]=jn(Ue,z,Z),P[2]=jn(Ue-1/3,z,Z);else P=E.match(J)||oi.transparent;P=P.map(Number)}return A&&!Ft&&(z=P[0]/Jn,Z=P[1]/Jn,ce=P[2]/Jn,Se=((lt=Math.max(z,Z,ce))+(Ct=Math.min(z,Z,ce)))/2,lt===Ct?Ue=Ne=0:(It=lt-Ct,Ne=Se>.5?It/(2-lt-Ct):It/(lt+Ct),Ue=lt===z?(Z-ce)/It+(ZE&&(S+=Bt-A),((_n=(qt=(P+=Bt)-S)-Z)>0||nn)&&(Cn=++lt.frame,Ct=qt-1e3*lt.time,lt.time=qt/=1e3,Z+=_n+(_n>=z?4:z-_n),Ht=1),nn||(Ue=Ne(_t)),Ht)for(It=0;It=Bt&&It--},_listeners:ce=[]}),Es=function(){return!Ke&&Nn.wake()},rn={},Yi=/^[\d.\-M][\d.\-,\s]/,wo=/["']/g,ra=function(E){for(var ce,Ue,Ne,A={},S=E.substr(1,E.length-3).split(":"),P=S[0],z=1,Z=S.length;z1&&S.config?S.config.apply(null,~E.indexOf("{")?[ra(A[1])]:function(E){var A=E.indexOf("(")+1,S=E.indexOf(")"),P=E.indexOf("(",A);return E.substring(A,~P&&P=1?A:1,z=(S||(E?.3:.45))/(A<1?A:1),Z=z/M*(Math.asin(1/P)||0),ce=function(Se){return 1===Se?1:P*Math.pow(2,-10*Se)*B((Se-Z)*z)+1},Ue="out"===E?ce:"in"===E?function(Ne){return 1-ce(1-Ne)}:bs(ce);return z=M/z,Ue.config=function(Ne,Se){return ge(E,Ne,Se)},Ue},qs=function ge(E,A){void 0===A&&(A=1.70158);var S=function(Z){return Z?--Z*Z*((A+1)*Z+A)+1:0},P="out"===E?S:"in"===E?function(z){return 1-S(1-z)}:bs(S);return P.config=function(z){return ge(E,z)},P};Ln("Linear,Quad,Cubic,Quart,Quint,Strong",function(ge,E){var A=E<5?E+1:E;Ps(ge+",Power"+(A-1),E?function(S){return Math.pow(S,A)}:function(S){return S},function(S){return 1-Math.pow(1-S,A)},function(S){return S<.5?Math.pow(2*S,A)/2:1-Math.pow(2*(1-S),A)/2})}),rn.Linear.easeNone=rn.none=rn.Linear.easeIn,Ps("Elastic",cr("in"),cr("out"),cr()),function(ge,E){var z=function(ce){return ce<.36363636363636365?ge*ce*ce:ce<.7272727272727273?ge*Math.pow(ce-1.5/E,2)+.75:ce<.9090909090909092?ge*(ce-=2.25/E)*ce+.9375:ge*Math.pow(ce-2.625/E,2)+.984375};Ps("Bounce",function(Z){return 1-z(1-Z)},z)}(7.5625,2.75),Ps("Expo",function(ge){return ge?Math.pow(2,10*(ge-1)):0}),Ps("Circ",function(ge){return-(L(1-ge*ge)-1)}),Ps("Sine",function(ge){return 1===ge?1:1-x(ge*b)}),Ps("Back",qs("in"),qs("out"),qs()),rn.SteppedEase=rn.steps=mt.SteppedEase={config:function(E,A){void 0===E&&(E=1);var S=1/E,P=E+(A?0:1),z=A?1:0;return function(ce){return((P*Yt(0,.99999999,ce)|0)+z)*S}}},u.ease=rn["quad.out"],Ln("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(ge){return Wt+=ge+","+ge+"Params,"});var Fr=function(E,A){this.id=R++,E._gsap=this,this.target=E,this.harness=A,this.get=A?A.get:Pt,this.set=A?A.getSetter:Lo},lr=function(){function ge(A){this.vars=A,this._delay=+A.delay||0,(this._repeat=A.repeat===1/0?-2:A.repeat||0)&&(this._rDelay=A.repeatDelay||0,this._yoyo=!!A.yoyo||!!A.yoyoEase),this._ts=1,$e(this,+A.duration,1,1),this.data=A.data,Ke||Nn.wake()}var E=ge.prototype;return E.delay=function(S){return S||0===S?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+S-this._delay),this._delay=S,this):this._delay},E.duration=function(S){return arguments.length?this.totalDuration(this._repeat>0?S+(S+this._rDelay)*this._repeat:S):this.totalDuration()&&this._dur},E.totalDuration=function(S){return arguments.length?(this._dirty=0,$e(this,this._repeat<0?S:(S-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},E.totalTime=function(S,P){if(Es(),!arguments.length)return this._tTime;var z=this._dp;if(z&&z.smoothChildTiming&&this._ts){for(Fe(this,S),!z._dp||z.parent||ct(z,this);z&&z.parent;)z.parent._time!==z._start+(z._ts>=0?z._tTime/z._ts:(z.totalDuration()-z._tTime)/-z._ts)&&z.totalTime(z._tTime,!0),z=z.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&S0||!this._tDur&&!S)&&Mt(this._dp,this,this._start-this._delay)}return(this._tTime!==S||!this._dur&&!P||this._initted&&Math.abs(this._zTime)===w||!S&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=S),nt(this,S,P)),this},E.time=function(S,P){return arguments.length?this.totalTime(Math.min(this.totalDuration(),S+As(this))%(this._dur+this._rDelay)||(S?this._dur:0),P):this._time},E.totalProgress=function(S,P){return arguments.length?this.totalTime(this.totalDuration()*S,P):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},E.progress=function(S,P){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?S:1-S)+As(this),P):this.duration()?Math.min(1,this._time/this._dur):this.ratio},E.iteration=function(S,P){var z=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(S-1)*z,P):this._repeat?is(this._tTime,z)+1:1},E.timeScale=function(S){if(!arguments.length)return this._rts===-w?0:this._rts;if(this._rts===S)return this;var P=this.parent&&this._ts?pt(this.parent._time,this):this._tTime;return this._rts=+S||0,this._ts=this._ps||S===-w?0:this._rts,this.totalTime(Yt(-this._delay,this._tDur,P),!0),Et(this),function(E){for(var A=E.parent;A&&A.parent;)A._dirty=1,A.totalDuration(),A=A.parent;return E}(this)},E.paused=function(S){return arguments.length?(this._ps!==S&&(this._ps=S,S?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Es(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==w&&(this._tTime-=w)))),this):this._ps},E.startTime=function(S){if(arguments.length){this._start=S;var P=this.parent||this._dp;return P&&(P._sort||!this.parent)&&Mt(P,this,S-this._delay),this}return this._start},E.endTime=function(S){return this._start+(ae(S)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},E.rawTime=function(S){var P=this.parent||this._dp;return P?S&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?pt(P.rawTime(S),this):this._tTime:this._tTime},E.globalTime=function(S){for(var P=this,z=arguments.length?S:P.rawTime();P;)z=P._start+z/(P._ts||1),P=P._dp;return z},E.repeat=function(S){return arguments.length?(this._repeat=S===1/0?-2:S,yt(this)):-2===this._repeat?1/0:this._repeat},E.repeatDelay=function(S){if(arguments.length){var P=this._time;return this._rDelay=S,yt(this),P?this.time(P):this}return this._rDelay},E.yoyo=function(S){return arguments.length?(this._yoyo=S,this):this._yoyo},E.seek=function(S,P){return this.totalTime(rt(this,S),ae(P))},E.restart=function(S,P){return this.play().totalTime(S?-this._delay:0,ae(P))},E.play=function(S,P){return null!=S&&this.seek(S,P),this.reversed(!1).paused(!1)},E.reverse=function(S,P){return null!=S&&this.seek(S||this.totalDuration(),P),this.reversed(!0).paused(!1)},E.pause=function(S,P){return null!=S&&this.seek(S,P),this.paused(!0)},E.resume=function(){return this.paused(!1)},E.reversed=function(S){return arguments.length?(!!S!==this.reversed()&&this.timeScale(-this._rts||(S?-w:0)),this):this._rts<0},E.invalidate=function(){return this._initted=this._act=0,this._zTime=-w,this},E.isActive=function(){var z,S=this.parent||this._dp,P=this._start;return!(S&&!(this._ts&&this._initted&&S.isActive()&&(z=S.rawTime(!0))>=P&&z1?(P?(Z[S]=P,z&&(Z[S+"Params"]=z),"onUpdate"===S&&(this._onUpdate=P)):delete Z[S],this):Z[S]},E.then=function(S){var P=this;return new Promise(function(z){var Z=j(S)?S:Qt,ce=function(){var Ne=P.then;P.then=null,j(Z)&&(Z=Z(P))&&(Z.then||Z===P)&&(P.then=Ne),z(Z),P.then=Ne};P._initted&&1===P.totalProgress()&&P._ts>=0||!P._tTime&&P._ts<0?ce():P._prom=ce})},E.kill=function(){zn(this)},ge}();En(lr.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-w,_prom:0,_ps:!1,_rts:1});var ts=function(ge){function E(S,P){var z;return void 0===S&&(S={}),(z=ge.call(this,S)||this).labels={},z.smoothChildTiming=!!S.smoothChildTiming,z.autoRemoveChildren=!!S.autoRemoveChildren,z._sort=ae(S.sortChildren),me&&Mt(S.parent||me,s(z),P),S.reversed&&z.reverse(),S.paused&&z.paused(!0),S.scrollTrigger&&gn(s(z),S.scrollTrigger),z}h(E,ge);var A=E.prototype;return A.to=function(P,z,Z){return xe(0,arguments,this),this},A.from=function(P,z,Z){return xe(1,arguments,this),this},A.fromTo=function(P,z,Z,ce){return xe(2,arguments,this),this},A.set=function(P,z,Z){return z.duration=0,z.parent=this,Rn(z).repeatDelay||(z.repeat=0),z.immediateRender=!!z.immediateRender,new Xi(P,z,rt(this,Z),1),this},A.call=function(P,z,Z){return Mt(this,Xi.delayedCall(0,P,z),Z)},A.staggerTo=function(P,z,Z,ce,Ue,Ne,Se){return Z.duration=z,Z.stagger=Z.stagger||ce,Z.onComplete=Ne,Z.onCompleteParams=Se,Z.parent=this,new Xi(P,Z,rt(this,Ue)),this},A.staggerFrom=function(P,z,Z,ce,Ue,Ne,Se){return Z.runBackwards=1,Rn(Z).immediateRender=ae(Z.immediateRender),this.staggerTo(P,z,Z,ce,Ue,Ne,Se)},A.staggerFromTo=function(P,z,Z,ce,Ue,Ne,Se,lt){return ce.startAt=Z,Rn(ce).immediateRender=ae(ce.immediateRender),this.staggerTo(P,z,ce,Ue,Ne,Se,lt)},A.render=function(P,z,Z){var Ct,It,Ft,_t,jt,Bt,nn,_n,Ht,qt,Cn,wn,ce=this._time,Ue=this._dirty?this.totalDuration():this._tDur,Ne=this._dur,Se=P<=0?0:fe(P),lt=this._zTime<0!=P<0&&(this._initted||!Ne);if(this!==me&&Se>Ue&&P>=0&&(Se=Ue),Se!==this._tTime||Z||lt){if(ce!==this._time&&Ne&&(Se+=this._time-ce,P+=this._time-ce),Ct=Se,Ht=this._start,Bt=!(_n=this._ts),lt&&(Ne||(ce=this._zTime),(P||!z)&&(this._zTime=P)),this._repeat){if(Cn=this._yoyo,jt=Ne+this._rDelay,this._repeat<-1&&P<0)return this.totalTime(100*jt+P,z,Z);if(Ct=fe(Se%jt),Se===Ue?(_t=this._repeat,Ct=Ne):((_t=~~(Se/jt))&&_t===Se/jt&&(Ct=Ne,_t--),Ct>Ne&&(Ct=Ne)),qt=is(this._tTime,jt),!ce&&this._tTime&&qt!==_t&&(qt=_t),Cn&&1&_t&&(Ct=Ne-Ct,wn=1),_t!==qt&&!this._lock){var mn=Cn&&1&qt,Sn=mn===(Cn&&1&_t);if(_tA)for(P=E._first;P&&P._start<=S;){if("isPause"===P.data&&P._start>A)return P;P=P._next}else for(P=E._last;P&&P._start>=S;){if("isPause"===P.data&&P._start=ce&&P>=0)for(It=this._first;It;){if(Ft=It._next,(It._act||Ct>=It._start)&&It._ts&&nn!==It){if(It.parent!==this)return this.render(P,z,Z);if(It.render(It._ts>0?(Ct-It._start)*It._ts:(It._dirty?It.totalDuration():It._tDur)+(Ct-It._start)*It._ts,z,Z),Ct!==this._time||!this._ts&&!Bt){nn=0,Ft&&(Se+=this._zTime=-w);break}}It=Ft}else{It=this._last;for(var Ri=P<0?P:Ct;It;){if(Ft=It._prev,(It._act||Ri<=It._end)&&It._ts&&nn!==It){if(It.parent!==this)return this.render(P,z,Z);if(It.render(It._ts>0?(Ri-It._start)*It._ts:(It._dirty?It.totalDuration():It._tDur)+(Ri-It._start)*It._ts,z,Z),Ct!==this._time||!this._ts&&!Bt){nn=0,Ft&&(Se+=this._zTime=Ri?-w:w);break}}It=Ft}}if(nn&&!z&&(this.pause(),nn.render(Ct>=ce?0:-w)._zTime=Ct>=ce?1:-1,this._ts))return this._start=Ht,Et(this),this.render(P,z,Z);this._onUpdate&&!z&&hi(this,"onUpdate",!0),(Se===Ue&&this._tTime>=this.totalDuration()||!Se&&ce)&&(Ht===this._start||Math.abs(_n)!==Math.abs(this._ts))&&(this._lock||((P||!Ne)&&(Se===Ue&&this._ts>0||!Se&&this._ts<0)&&Hi(this,1),!z&&(!(P<0)||ce)&&(Se||ce||!Ue)&&(hi(this,Se===Ue&&P>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(Se0)&&this._prom())))}return this},A.add=function(P,z){var Z=this;if(ve(z)||(z=rt(this,z,P)),!(P instanceof lr)){if(W(P))return P.forEach(function(ce){return Z.add(ce,z)}),this;if(Y(P))return this.addLabel(P,z);if(!j(P))return this;P=Xi.delayedCall(0,P)}return this!==P?Mt(this,P,z):this},A.getChildren=function(P,z,Z,ce){void 0===P&&(P=!0),void 0===z&&(z=!0),void 0===Z&&(Z=!0),void 0===ce&&(ce=-C);for(var Ue=[],Ne=this._first;Ne;)Ne._start>=ce&&(Ne instanceof Xi?z&&Ue.push(Ne):(Z&&Ue.push(Ne),P&&Ue.push.apply(Ue,Ne.getChildren(!0,z,Z)))),Ne=Ne._next;return Ue},A.getById=function(P){for(var z=this.getChildren(1,1,1),Z=z.length;Z--;)if(z[Z].vars.id===P)return z[Z]},A.remove=function(P){return Y(P)?this.removeLabel(P):j(P)?this.killTweensOf(P):(Hn(this,P),P===this._recent&&(this._recent=this._last),qn(this))},A.totalTime=function(P,z){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=fe(Nn.time-(this._ts>0?P/this._ts:(this.totalDuration()-P)/-this._ts))),ge.prototype.totalTime.call(this,P,z),this._forcing=0,this):this._tTime},A.addLabel=function(P,z){return this.labels[P]=rt(this,z),this},A.removeLabel=function(P){return delete this.labels[P],this},A.addPause=function(P,z,Z){var ce=Xi.delayedCall(0,z||We,Z);return ce.data="isPause",this._hasPause=1,Mt(this,ce,rt(this,P))},A.removePause=function(P){var z=this._first;for(P=rt(this,P);z;)z._start===P&&"isPause"===z.data&&Hi(z),z=z._next},A.killTweensOf=function(P,z,Z){for(var ce=this.getTweensOf(P,Z),Ue=ce.length;Ue--;)er!==ce[Ue]&&ce[Ue].kill(P,z);return this},A.getTweensOf=function(P,z){for(var Se,Z=[],ce=ri(P),Ue=this._first,Ne=ve(z);Ue;)Ue instanceof Xi?Le(Ue._targets,ce)&&(Ne?(!er||Ue._initted&&Ue._ts)&&Ue.globalTime(0)<=z&&Ue.globalTime(Ue.totalDuration())>z:!z||Ue.isActive())&&Z.push(Ue):(Se=Ue.getTweensOf(ce,z)).length&&Z.push.apply(Z,Se),Ue=Ue._next;return Z},A.tweenTo=function(P,z){z=z||{};var It,Z=this,ce=rt(Z,P),Ne=z.startAt,Se=z.onStart,lt=z.onStartParams,Ct=z.immediateRender,Ft=Xi.to(Z,En({ease:z.ease||"none",lazy:!1,immediateRender:!1,time:ce,overwrite:"auto",duration:z.duration||Math.abs((ce-(Ne&&"time"in Ne?Ne.time:Z._time))/Z.timeScale())||w,onStart:function(){if(Z.pause(),!It){var jt=z.duration||Math.abs((ce-(Ne&&"time"in Ne?Ne.time:Z._time))/Z.timeScale());Ft._dur!==jt&&$e(Ft,jt,0,1).render(Ft._time,!0,!0),It=1}Se&&Se.apply(Ft,lt||[])}},z));return Ct?Ft.render(0):Ft},A.tweenFromTo=function(P,z,Z){return this.tweenTo(z,En({startAt:{time:rt(this,P)}},Z))},A.recent=function(){return this._recent},A.nextLabel=function(P){return void 0===P&&(P=this._time),Ai(this,rt(this,P))},A.previousLabel=function(P){return void 0===P&&(P=this._time),Ai(this,rt(this,P),1)},A.currentLabel=function(P){return arguments.length?this.seek(P,!0):this.previousLabel(this._time+w)},A.shiftChildren=function(P,z,Z){void 0===Z&&(Z=0);for(var Ne,ce=this._first,Ue=this.labels;ce;)ce._start>=Z&&(ce._start+=P,ce._end+=P),ce=ce._next;if(z)for(Ne in Ue)Ue[Ne]>=Z&&(Ue[Ne]+=P);return qn(this)},A.invalidate=function(){var P=this._first;for(this._lock=0;P;)P.invalidate(),P=P._next;return ge.prototype.invalidate.call(this)},A.clear=function(P){void 0===P&&(P=!0);for(var Z,z=this._first;z;)Z=z._next,this.remove(z),z=Z;return this._dp&&(this._time=this._tTime=this._pTime=0),P&&(this.labels={}),qn(this)},A.totalDuration=function(P){var Ne,Se,lt,z=0,Z=this,ce=Z._last,Ue=C;if(arguments.length)return Z.timeScale((Z._repeat<0?Z.duration():Z.totalDuration())/(Z.reversed()?-P:P));if(Z._dirty){for(lt=Z.parent;ce;)Ne=ce._prev,ce._dirty&&ce.totalDuration(),(Se=ce._start)>Ue&&Z._sort&&ce._ts&&!Z._lock?(Z._lock=1,Mt(Z,ce,Se-ce._delay,1)._lock=0):Ue=Se,Se<0&&ce._ts&&(z-=Se,(!lt&&!Z._dp||lt&<.smoothChildTiming)&&(Z._start+=Se/Z._ts,Z._time-=Se,Z._tTime-=Se),Z.shiftChildren(-Se,!1,-1/0),Ue=0),ce._end>z&&ce._ts&&(z=ce._end),ce=Ne;$e(Z,Z===me&&Z._time>z?Z._time:z,1,1),Z._dirty=0}return Z._tDur},E.updateRoot=function(P){if(me._ts&&(nt(me,pt(P,me)),Kt=Nn.frame),Nn.frame>=Wn){Wn+=e.autoSleep||120;var z=me._first;if((!z||!z._ts)&&e.autoSleep&&Nn._listeners.length<2){for(;z&&!z._ts;)z=z._next;z||Nn.sleep()}}},E}(lr);En(ts.prototype,{_lock:0,_hasPause:0,_forcing:0});var er,Ls,kr=function(E,A,S,P,z,Z,ce){var lt,Ct,It,Ft,_t,jt,Bt,nn,Ue=new ns(this._pt,E,A,0,1,hs,null,z),Ne=0,Se=0;for(Ue.b=S,Ue.e=P,S+="",(Bt=~(P+="").indexOf("random("))&&(P=an(P)),Z&&(Z(nn=[S,P],E,A),S=nn[0],P=nn[1]),Ct=S.match($)||[];lt=$.exec(P);)Ft=lt[0],_t=P.substring(Ne,lt.index),It?It=(It+1)%5:"rgba("===_t.substr(-5)&&(It=1),Ft!==Ct[Se++]&&(jt=parseFloat(Ct[Se-1])||0,Ue._pt={_next:Ue._pt,p:_t||1===Se?_t:",",s:jt,c:"="===Ft.charAt(1)?_e(jt,Ft)-jt:parseFloat(Ft)-jt,m:It&&It<4?Math.round:0},Ne=$.lastIndex);return Ue.c=Ne0&&!Ft&&(E._startAt=0),_t&&A<=0)return void(A&&(E._zTime=A))}else!1===Ft&&(E._startAt=0);else if(lt&&_t)if(jt)!Ft&&(E._startAt=0);else if(A&&(Z=!1),mn=En({overwrite:!1,data:"isFromStart",lazy:Z&&ae(ce),immediateRender:Z,stagger:0,parent:nn},Cn),Yn&&(mn[Cs.prop]=Yn),Hi(E._startAt=Xi.set(Bt,mn)),A<0&&E._startAt.render(-1,!0),E._zTime=A,Z){if(!A)return}else ge(E._startAt,w);for(E._pt=E._ptCache=0,ce=_t&&ae(ce)||ce&&!_t,wn=0;wn")});else{for(mn in Cn={},Ft)"ease"===mn||"easeEach"===mn||ei(mn,Ft[mn],Cn,Ft.easeEach);for(mn in Cn)for(Cs=Cn[mn].sort(function(Qi,Yn){return Qi.t-Yn.t}),fs=0,qt=0;qtUe-w&&P>=0?Ue:PNe&&(lt=Ne)),(jt=this._yoyo&&1&It)&&(_n=this._yEase,lt=Ne-lt),_t=is(this._tTime,Ft),lt===ce&&!Z&&this._initted)return this._tTime=Se,this;It!==_t&&(nn&&this._yEase&&Rr(nn,jt),this.vars.repeatRefresh&&!jt&&!this._lock&&(this._lock=Z=1,this.render(fe(Ft*It),!0).invalidate()._lock=0))}if(!this._initted){if(Gn(this,P<0?P:lt,Z,z))return this._tTime=0,this;if(ce!==this._time)return this;if(Ne!==this._dur)return this.render(P,z,Z)}if(this._tTime=Se,this._time=lt,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=Bt=(_n||this._ease)(lt/Ne),this._from&&(this.ratio=Bt=1-Bt),lt&&!ce&&!z&&(hi(this,"onStart"),this._tTime!==Se))return this;for(Ct=this._pt;Ct;)Ct.r(Bt,Ct.d),Ct=Ct._next;nn&&nn.render(P<0?P:!lt&&jt?-w:nn._dur*nn._ease(lt/this._dur),z,Z)||this._startAt&&(this._zTime=P),this._onUpdate&&!z&&(P<0&&this._startAt&&this._startAt.render(P,!0,Z),hi(this,"onUpdate")),this._repeat&&It!==_t&&this.vars.onRepeat&&!z&&this.parent&&hi(this,"onRepeat"),(Se===this._tDur||!Se)&&this._tTime===Se&&(P<0&&this._startAt&&!this._onUpdate&&this._startAt.render(P,!0,!0),(P||!Ne)&&(Se===this._tDur&&this._ts>0||!Se&&this._ts<0)&&Hi(this,1),!z&&(!(P<0)||ce)&&(Se||ce)&&(hi(this,Se===Ue?"onComplete":"onReverseComplete",!0),this._prom&&!(Se0)&&this._prom()))}}else!function(E,A,S,P){var Ne,Se,lt,z=E.ratio,Z=A<0||!A&&(!E._start&&Ci(E)&&(E._initted||!Ei(E))||(E._ts<0||E._dp._ts<0)&&!Ei(E))?0:1,ce=E._rDelay,Ue=0;if(ce&&E._repeat&&(Ue=Yt(0,E._tDur,A),Se=is(Ue,ce),E._yoyo&&1&Se&&(Z=1-Z),Se!==is(E._tTime,ce)&&(z=1-Z,E.vars.repeatRefresh&&E._initted&&E.invalidate())),Z!==z||P||E._zTime===w||!A&&E._zTime){if(!E._initted&&Gn(E,A,P,S))return;for(lt=E._zTime,E._zTime=A||(S?w:0),S||(S=A&&!lt),E.ratio=Z,E._from&&(Z=1-Z),E._time=0,E._tTime=Ue,Ne=E._pt;Ne;)Ne.r(Z,Ne.d),Ne=Ne._next;E._startAt&&A<0&&E._startAt.render(A,!0,!0),E._onUpdate&&!S&&hi(E,"onUpdate"),Ue&&E._repeat&&!S&&E.parent&&hi(E,"onRepeat"),(A>=E._tDur||A<0)&&E.ratio===Z&&(Z&&Hi(E,1),S||(hi(E,Z?"onComplete":"onReverseComplete",!0),E._prom&&E._prom()))}else E._zTime||(E._zTime=A)}(this,P,z,Z);return this},A.targets=function(){return this._targets},A.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),ge.prototype.invalidate.call(this)},A.resetTo=function(P,z,Z,ce){Ke||Nn.wake(),this._ts||this.play();var Ue=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||lo(this,Ue),function(E,A,S,P,z,Z,ce){var Ne,Se,lt,Ue=(E._pt&&E._ptCache||(E._ptCache={}))[A];if(!Ue)for(Ue=E._ptCache[A]=[],Se=E._ptLookup,lt=E._targets.length;lt--;){if((Ne=Se[lt][A])&&Ne.d&&Ne.d._pt)for(Ne=Ne.d._pt;Ne&&Ne.p!==A;)Ne=Ne._next;if(!Ne)return Ls=1,E.vars[A]="+=0",lo(E,ce),Ls=0,1;Ue.push(Ne)}for(lt=Ue.length;lt--;)(Ne=Ue[lt]).s=!P&&0!==P||z?Ne.s+(P||0)+Z*Ne.c:P,Ne.c=S-Ne.s,Ne.e&&(Ne.e=dt(S)+ln(Ne.e)),Ne.b&&(Ne.b=Ne.s+ln(Ne.b))}(this,P,z,Z,ce,this._ease(Ue/this._dur),Ue)?this.resetTo(P,z,Z,ce):(Fe(this,0),this.parent||Kn(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},A.kill=function(P,z){if(void 0===z&&(z="all"),!(P||z&&"all"!==z))return this._lazy=this._pt=0,this.parent?zn(this):this;if(this.timeline){var Z=this.timeline.totalDuration();return this.timeline.killTweensOf(P,z,er&&!0!==er.vars.overwrite)._first||zn(this),this.parent&&Z!==this.timeline.totalDuration()&&$e(this,this._dur*this.timeline._tDur/Z,0,1),this}var lt,Ct,It,Ft,_t,jt,Bt,ce=this._targets,Ue=P?ri(P):ce,Ne=this._ptLookup,Se=this._pt;if((!z||"all"===z)&&function(E,A){for(var S=E.length,P=S===A.length;P&&S--&&E[S]===A[S];);return S<0}(ce,Ue))return"all"===z&&(this._pt=0),zn(this);for(lt=this._op=this._op||[],"all"!==z&&(Y(z)&&(_t={},Ln(z,function(nn){return _t[nn]=1}),z=_t),z=function(E,A){var z,Z,ce,Ue,S=E[0]?dn(E[0]).harness:0,P=S&&S.aliases;if(!P)return A;for(Z in z=On({},A),P)if(Z in z)for(ce=(Ue=P[Z].split(",")).length;ce--;)z[Ue[ce]]=z[Z];return z}(ce,z)),Bt=ce.length;Bt--;)if(~Ue.indexOf(ce[Bt]))for(_t in Ct=Ne[Bt],"all"===z?(lt[Bt]=z,Ft=Ct,It={}):(It=lt[Bt]=lt[Bt]||{},Ft=z),Ft)(jt=Ct&&Ct[_t])&&((!("kill"in jt.d)||!0===jt.d.kill(_t))&&Hn(this,jt,"_pt"),delete Ct[_t]),"all"!==It&&(It[_t]=1);return this._initted&&!this._pt&&Se&&zn(this),this},E.to=function(P,z){return new E(P,z,arguments[2])},E.from=function(P,z){return xe(1,arguments)},E.delayedCall=function(P,z,Z,ce){return new E(z,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:P,onComplete:z,onReverseComplete:z,onCompleteParams:Z,onReverseCompleteParams:Z,callbackScope:ce})},E.fromTo=function(P,z,Z){return xe(2,arguments)},E.set=function(P,z){return z.duration=0,z.repeatDelay||(z.repeat=0),new E(P,z)},E.killTweensOf=function(P,z,Z){return me.killTweensOf(P,z,Z)},E}(lr);En(Xi.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ln("staggerTo,staggerFrom,staggerFromTo",function(ge){Xi[ge]=function(){var E=new ts,A=di.call(arguments,0);return A.splice("staggerFromTo"===ge?5:4,0,0),E[ge].apply(E,A)}});var zr=function(E,A,S){return E[A]=S},Xo=function(E,A,S){return E[A](S)},Qo=function(E,A,S,P){return E[A](P.fp,S)},Xs=function(E,A,S){return E.setAttribute(A,S)},Lo=function(E,A){return j(E[A])?Xo:oe(E[A])&&E.setAttribute?Xs:zr},Ur=function(E,A){return A.set(A.t,A.p,Math.round(1e6*(A.s+A.c*E))/1e6,A)},Ia=function(E,A){return A.set(A.t,A.p,!!(A.s+A.c*E),A)},hs=function(E,A){var S=A._pt,P="";if(!E&&A.b)P=A.b;else if(1===E&&A.e)P=A.e;else{for(;S;)P=S.p+(S.m?S.m(S.s+S.c*E):Math.round(1e4*(S.s+S.c*E))/1e4)+P,S=S._next;P+=A.c}A.set(A.t,A.p,P,A)},uo=function(E,A){for(var S=A._pt;S;)S.r(E,S.d),S=S._next},Os=function(E,A,S,P){for(var Z,z=this._pt;z;)Z=z._next,z.p===P&&z.modifier(E,A,S),z=Z},ur=function(E){for(var S,P,A=this._pt;A;)P=A._next,A.p===E&&!A.op||A.op===E?Hn(this,A,"_pt"):A.dep||(S=1),A=P;return!S},ca=function(E,A,S,P){P.mSet(E,A,P.m.call(P.tween,S,P.mt),P)},xo=function(E){for(var S,P,z,Z,A=E._pt;A;){for(S=A._next,P=z;P&&P.pr>A.pr;)P=P._next;(A._prev=P?P._prev:Z)?A._prev._next=A:z=A,(A._next=P)?P._prev=A:Z=A,A=S}E._pt=z},ns=function(){function ge(A,S,P,z,Z,ce,Ue,Ne,Se){this.t=S,this.s=z,this.c=Z,this.p=P,this.r=ce||Ur,this.d=Ue||this,this.set=Ne||zr,this.pr=Se||0,this._next=A,A&&(A._prev=this)}return ge.prototype.modifier=function(S,P,z){this.mSet=this.mSet||this.set,this.set=ca,this.m=S,this.mt=z,this.tween=P},ge}();Ln(Wt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(ge){return ut[ge]=1}),mt.TweenMax=mt.TweenLite=Xi,mt.TimelineLite=mt.TimelineMax=ts,me=new ts({sortChildren:!1,defaults:u,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),e.stringFilter=pn;var Fo={registerPlugin:function(){for(var E=arguments.length,A=new Array(E),S=0;S1){var P=E.map(function(Se){return Mi.quickSetter(Se,A,S)}),z=P.length;return function(Se){for(var lt=z;lt--;)P[lt](Se)}}var Z=wt[A],ce=dn(E=E[0]||{}),Ue=ce.harness&&(ce.harness.aliases||{})[A]||A,Ne=Z?function(Se){var lt=new Z;Oi._pt=0,lt.init(E,S?Se+S:Se,Oi,0,[E]),lt.render(1,lt),Oi._pt&&uo(1,Oi)}:ce.set(E,Ue);return Z?Ne:function(Se){return Ne(E,Ue,S?Se+S:Se,ce,1)}},quickTo:function(E,A,S){var P,z=Mi.to(E,On(((P={})[A]="+=0.1",P.paused=!0,P),S||{})),Z=function(Ue,Ne,Se){return z.resetTo(A,Ue,Ne,Se)};return Z.tween=z,Z},isTweening:function(E){return me.getTweensOf(E,!0).length>0},defaults:function(E){return E&&E.ease&&(E.ease=Ji(E.ease,u.ease)),Un(u,E||{})},config:function(E){return Un(e,E||{})},registerEffect:function(E){var A=E.name,S=E.effect,z=E.defaults,Z=E.extendTimeline;(E.plugins||"").split(",").forEach(function(ce){return ce&&!wt[ce]&&!mt[ce]&&ht(A+" effect requires "+ce+" plugin.")}),tn[A]=function(ce,Ue,Ne){return S(ri(ce),En(Ue||{},z),Ne)},Z&&(ts.prototype[A]=function(ce,Ue,Ne){return this.add(tn[A](ce,H(Ue)?Ue:(Ne=Ue)&&{},this),Ne)})},registerEase:function(E,A){rn[E]=Ji(A)},parseEase:function(E,A){return arguments.length?Ji(E,A):rn},getById:function(E){return me.getById(E)},exportRoot:function(E,A){void 0===E&&(E={});var P,z,S=new ts(E);for(S.smoothChildTiming=ae(E.smoothChildTiming),me.remove(S),S._dp=0,S._time=S._tTime=me._time,P=me._first;P;)z=P._next,(A||!(!P._dur&&P instanceof Xi&&P.vars.onComplete===P._targets[0]))&&Mt(S,P,P._start-P._delay),P=z;return Mt(me,S,0),S},utils:{wrap:function ge(E,A,S){var P=A-E;return W(E)?Lt(E,ge(0,E.length),A):Je(S,function(z){return(P+(z-E)%P)%P+E})},wrapYoyo:function ge(E,A,S){var P=A-E,z=2*P;return W(E)?Lt(E,ge(0,E.length-1),A):Je(S,function(Z){return E+((Z=(z+(Z-E)%z)%z||0)>P?z-Z:Z)})},distribute:ss,random:rs,snap:Ki,normalize:function(E,A,S){return vn(E,A,0,1,S)},getUnit:ln,clamp:function(E,A,S){return Je(S,function(P){return Yt(E,A,P)})},splitColor:os,toArray:ri,selector:function(E){return E=ri(E)[0]||ht("Invalid scope")||{},function(A){var S=E.current||E.nativeElement||E;return ri(A,S.querySelectorAll?S:S===E?ht("Invalid scope")||Ot.createElement("div"):E)}},mapRange:vn,pipe:function(){for(var E=arguments.length,A=new Array(E),S=0;S=0?zo[Z]:"")+E},$s=function(){typeof window<"u"&&window.document&&(Ie=window,Tn=(it=Ie.document).documentElement,Rs=$a("div")||{style:{}},$a("div"),Vi=vo(Vi),on=Vi+"Origin",Rs.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Vs=!!vo("perspective"),ci=1)},br=function ge(E){var Z,A=$a("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),S=this.parentNode,P=this.nextSibling,z=this.style.cssText;if(Tn.appendChild(A),A.appendChild(this),this.style.display="block",E)try{Z=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=ge}catch{}else this._gsapBBox&&(Z=this._gsapBBox());return S&&(P?S.insertBefore(this,P):S.appendChild(this)),Tn.removeChild(A),this.style.cssText=z,Z},as=function(E,A){for(var S=A.length;S--;)if(E.hasAttribute(A[S]))return E.getAttribute(A[S])},Hc=function(E){var A;try{A=E.getBBox()}catch{A=br.call(E,!0)}return A&&(A.width||A.height)||E.getBBox===br||(A=br.call(E,!0)),!A||A.width||A.x||A.y?A:{x:+as(E,["x","cx","x1"])||0,y:+as(E,["y","cy","y1"])||0,width:0,height:0}},Ms=function(E){return!(!E.getCTM||E.parentNode&&!E.ownerSVGElement||!Hc(E))},la=function(E,A){if(A){var S=E.style;A in Jr&&A!==on&&(A=Vi),S.removeProperty?(("ms"===A.substr(0,2)||"webkit"===A.substr(0,6))&&(A="-"+A),S.removeProperty(A.replace(Ua,"-$1").toLowerCase())):S.removeAttribute(A)}},Mr=function(E,A,S,P,z,Z){var ce=new ns(E._pt,A,S,0,1,Z?Va:mo);return E._pt=ce,ce.b=P,ce.e=z,E._props.push(S),ce},uc={deg:1,rad:1,turn:1},qr=function ge(E,A,S,P){var Ft,_t,jt,Bt,z=parseFloat(S)||0,Z=(S+"").trim().substr((z+"").length)||"px",ce=Rs.style,Ue=wl.test(A),Ne="svg"===E.tagName.toLowerCase(),Se=(Ne?"client":"offset")+(Ue?"Width":"Height"),Ct="px"===P,It="%"===P;return P===Z||!z||uc[P]||uc[Z]?z:("px"!==Z&&!Ct&&(z=ge(E,A,S,"px")),Bt=E.getCTM&&Ms(E),!It&&"%"!==Z||!Jr[A]&&!~A.indexOf("adius")?(ce[Ue?"width":"height"]=100+(Ct?Z:P),_t=~A.indexOf("adius")||"em"===P&&E.appendChild&&!Ne?E:E.parentNode,Bt&&(_t=(E.ownerSVGElement||{}).parentNode),(!_t||_t===it||!_t.appendChild)&&(_t=it.body),(jt=_t._gsap)&&It&&jt.width&&Ue&&jt.time===Nn.time?dt(z/jt.width*100):((It||"%"===Z)&&(ce.position=mr(E,"position")),_t===E&&(ce.position="static"),_t.appendChild(Rs),Ft=Rs[Se],_t.removeChild(Rs),ce.position="absolute",Ue&&It&&((jt=dn(_t)).time=Nn.time,jt.width=_t[Se]),dt(Ct?Ft*z/100:Ft&&z?100/Ft*z:0))):(Ft=Bt?E.getBBox()[Ue?"width":"height"]:E[Se],dt(It?z/Ft*100:z/100*Ft)))},sr=function(E,A,S,P){var z;return ci||$s(),A in Uo&&"transform"!==A&&~(A=Uo[A]).indexOf(",")&&(A=A.split(",")[0]),Jr[A]&&"transform"!==A?(z=wr(E,P),z="transformOrigin"!==A?z[A]:z.svg?z.origin:zs(mr(E,on))+" "+z.zOrigin+"px"):(!(z=E.style[A])||"auto"===z||P||~(z+"").indexOf("calc("))&&(z=Ws[A]&&Ws[A](E,A,S)||mr(E,A)||Pt(E,A)||("opacity"===A?1:0)),S&&!~(z+"").trim().indexOf(" ")?qr(E,A,z,S)+S:z},dc=function(E,A,S,P){if(!S||"none"===S){var z=vo(A,E,1),Z=z&&mr(E,z,1);Z&&Z!==S?(A=z,S=Z):"borderColor"===A&&(S=mr(E,"borderTopColor"))}var Se,lt,Ct,It,Ft,_t,jt,Bt,nn,_n,Ht,ce=new ns(this._pt,E.style,A,0,1,hs),Ue=0,Ne=0;if(ce.b=S,ce.e=P,S+="","auto"==(P+="")&&(E.style[A]=P,P=mr(E,A)||P,E.style[A]=S),pn(Se=[S,P]),P=Se[1],Ct=(S=Se[0]).match(q)||[],(P.match(q)||[]).length){for(;lt=q.exec(P);)jt=lt[0],nn=P.substring(Ue,lt.index),Ft?Ft=(Ft+1)%5:("rgba("===nn.substr(-5)||"hsla("===nn.substr(-5))&&(Ft=1),jt!==(_t=Ct[Ne++]||"")&&(It=parseFloat(_t)||0,Ht=_t.substr((It+"").length),"="===jt.charAt(1)&&(jt=_e(It,jt)+Ht),Bt=parseFloat(jt),_n=jt.substr((Bt+"").length),Ue=q.lastIndex-_n.length,_n||(_n=_n||e.units[A]||Ht,Ue===P.length&&(P+=_n,ce.e+=_n)),Ht!==_n&&(It=qr(E,A,_t,_n)||0),ce._pt={_next:ce._pt,p:nn||1===Ne?nn:",",s:It,c:Bt-It,m:Ft&&Ft<4||"zIndex"===A?Math.round:0});ce.c=Ue-1;)Jr[ce=z[Ne]]&&(Ue=1,ce="transformOrigin"===ce?on:Vi),la(S,ce);Ue&&(la(S,Vi),Z&&(Z.svg&&S.removeAttribute("transform"),wr(S,1),Z.uncache=1))}},Ws={clearProps:function(E,A,S,P,z){if("isFromStart"!==z.data){var Z=E._pt=new ns(E._pt,A,S,0,0,hc);return Z.u=P,Z.pr=-10,Z.tween=z,E._props.push(S),1}}},hn=[1,0,0,1,0,0],Qs={},Nr=function(E){return"matrix(1, 0, 0, 1, 0, 0)"===E||"none"===E||!E},Aa=function(E){var A=mr(E,Vi);return Nr(A)?hn:A.substr(7).match(te).map(dt)},eo=function(E,A){var Z,ce,Ue,Ne,S=E._gsap||dn(E),P=E.style,z=Aa(E);return S.svg&&E.getAttribute("transform")?"1,0,0,1,0,0"===(z=[(Ue=E.transform.baseVal.consolidate().matrix).a,Ue.b,Ue.c,Ue.d,Ue.e,Ue.f]).join(",")?hn:z:(z===hn&&!E.offsetParent&&E!==Tn&&!S.svg&&(Ue=P.display,P.display="block",(!(Z=E.parentNode)||!E.offsetParent)&&(Ne=1,ce=E.nextSibling,Tn.appendChild(E)),z=Aa(E),Ue?P.display=Ue:la(E,"display"),Ne&&(ce?Z.insertBefore(E,ce):Z?Z.appendChild(E):Tn.removeChild(E))),A&&z.length>6?[z[0],z[1],z[4],z[5],z[12],z[13]]:z)},to=function(E,A,S,P,z,Z){var Cn,wn,Sn,ce=E._gsap,Ue=z||eo(E,!0),Ne=ce.xOrigin||0,Se=ce.yOrigin||0,lt=ce.xOffset||0,Ct=ce.yOffset||0,It=Ue[0],Ft=Ue[1],_t=Ue[2],jt=Ue[3],Bt=Ue[4],nn=Ue[5],_n=A.split(" "),Ht=parseFloat(_n[0])||0,qt=parseFloat(_n[1])||0;S?Ue!==hn&&(wn=It*jt-Ft*_t)&&(Sn=Ht*(-Ft/wn)+qt*(It/wn)-(It*nn-Ft*Bt)/wn,Ht=Ht*(jt/wn)+qt*(-_t/wn)+(_t*nn-jt*Bt)/wn,qt=Sn):(Ht=(Cn=Hc(E)).x+(~_n[0].indexOf("%")?Ht/100*Cn.width:Ht),qt=Cn.y+(~(_n[1]||_n[0]).indexOf("%")?qt/100*Cn.height:qt)),P||!1!==P&&ce.smooth?(ce.xOffset=lt+((Bt=Ht-Ne)*It+(nn=qt-Se)*_t)-Bt,ce.yOffset=Ct+(Bt*Ft+nn*jt)-nn):ce.xOffset=ce.yOffset=0,ce.xOrigin=Ht,ce.yOrigin=qt,ce.smooth=!!P,ce.origin=A,ce.originIsAbsolute=!!S,E.style[on]="0px 0px",Z&&(Mr(Z,ce,"xOrigin",Ne,Ht),Mr(Z,ce,"yOrigin",Se,qt),Mr(Z,ce,"xOffset",lt,ce.xOffset),Mr(Z,ce,"yOffset",Ct,ce.yOffset)),E.setAttribute("data-svg-origin",Ht+" "+qt)},wr=function(E,A){var S=E._gsap||new Fr(E);if("x"in S&&!A&&!S.uncache)return S;var Ne,Se,lt,Ct,It,Ft,_t,jt,Bt,nn,_n,Ht,qt,Cn,wn,mn,Sn,Ri,ki,fs,Cs,$i,gs,Qi,Yn,Co,Wr,vr,no,Do,zi,io,P=E.style,z=S.scaleX<0,Z="px",ce="deg",Ue=mr(E,on)||"0";return Ne=Se=lt=Ft=_t=jt=Bt=nn=_n=0,Ct=It=1,S.svg=!(!E.getCTM||!Ms(E)),Cn=eo(E,S.svg),S.svg&&(Qi=(!S.uncache||"0px 0px"===Ue)&&!A&&E.getAttribute("data-svg-origin"),to(E,Qi||Ue,!!Qi||S.originIsAbsolute,!1!==S.smooth,Cn)),Ht=S.xOrigin||0,qt=S.yOrigin||0,Cn!==hn&&(Ri=Cn[0],ki=Cn[1],fs=Cn[2],Cs=Cn[3],Ne=$i=Cn[4],Se=gs=Cn[5],6===Cn.length?(Ct=Math.sqrt(Ri*Ri+ki*ki),It=Math.sqrt(Cs*Cs+fs*fs),Ft=Ri||ki?Fi(ki,Ri)*Zr:0,(Bt=fs||Cs?Fi(fs,Cs)*Zr+Ft:0)&&(It*=Math.abs(Math.cos(Bt*_o))),S.svg&&(Ne-=Ht-(Ht*Ri+qt*fs),Se-=qt-(Ht*ki+qt*Cs))):(Do=Cn[7],Wr=Cn[8],vr=Cn[9],zi=Cn[11],Ne=Cn[12],Se=Cn[13],lt=Cn[14],_t=(wn=Fi(io=Cn[6],no=Cn[10]))*Zr,wn&&(Qi=$i*(mn=Math.cos(-wn))+Wr*(Sn=Math.sin(-wn)),Yn=gs*mn+vr*Sn,Co=io*mn+no*Sn,Wr=$i*-Sn+Wr*mn,vr=gs*-Sn+vr*mn,no=io*-Sn+no*mn,zi=Do*-Sn+zi*mn,$i=Qi,gs=Yn,io=Co),jt=(wn=Fi(-fs,no))*Zr,wn&&(mn=Math.cos(-wn),zi=Cs*(Sn=Math.sin(-wn))+zi*mn,Ri=Qi=Ri*mn-Wr*Sn,ki=Yn=ki*mn-vr*Sn,fs=Co=fs*mn-no*Sn),Ft=(wn=Fi(ki,Ri))*Zr,wn&&(Qi=Ri*(mn=Math.cos(wn))+ki*(Sn=Math.sin(wn)),Yn=$i*mn+gs*Sn,ki=ki*mn-Ri*Sn,gs=gs*mn-$i*Sn,Ri=Qi,$i=Yn),_t&&Math.abs(_t)+Math.abs(Ft)>359.9&&(_t=Ft=0,jt=180-jt),Ct=dt(Math.sqrt(Ri*Ri+ki*ki+fs*fs)),It=dt(Math.sqrt(gs*gs+io*io)),wn=Fi($i,gs),Bt=Math.abs(wn)>2e-4?wn*Zr:0,_n=zi?1/(zi<0?-zi:zi):0),S.svg&&(Qi=E.getAttribute("transform"),S.forceCSS=E.setAttribute("transform","")||!Nr(mr(E,Vi)),Qi&&E.setAttribute("transform",Qi))),Math.abs(Bt)>90&&Math.abs(Bt)<270&&(z?(Ct*=-1,Bt+=Ft<=0?180:-180,Ft+=Ft<=0?180:-180):(It*=-1,Bt+=Bt<=0?180:-180)),A=A||S.uncache,S.x=Ne-((S.xPercent=Ne&&(!A&&S.xPercent||(Math.round(E.offsetWidth/2)===Math.round(-Ne)?-50:0)))?E.offsetWidth*S.xPercent/100:0)+Z,S.y=Se-((S.yPercent=Se&&(!A&&S.yPercent||(Math.round(E.offsetHeight/2)===Math.round(-Se)?-50:0)))?E.offsetHeight*S.yPercent/100:0)+Z,S.z=lt+Z,S.scaleX=dt(Ct),S.scaleY=dt(It),S.rotation=dt(Ft)+ce,S.rotationX=dt(_t)+ce,S.rotationY=dt(jt)+ce,S.skewX=Bt+ce,S.skewY=nn+ce,S.transformPerspective=_n+Z,(S.zOrigin=parseFloat(Ue.split(" ")[2])||0)&&(P[on]=zs(Ue)),S.xOffset=S.yOffset=0,S.force3D=e.force3D,S.renderTransform=S.svg?ua:Vs?Ra:Wa,S.uncache=0,S},zs=function(E){return(E=E.split(" "))[0]+" "+E[1]},Oa=function(E,A,S){var P=ln(A);return dt(parseFloat(A)+parseFloat(qr(E,"x",S+"px",P)))+P},Wa=function(E,A){A.z="0px",A.rotationY=A.rotationX="0deg",A.force3D=0,Ra(E,A)},li="0deg",Go="0px",rr=") ",Ra=function(E,A){var S=A||this,P=S.xPercent,z=S.yPercent,Z=S.x,ce=S.y,Ue=S.z,Ne=S.rotation,Se=S.rotationY,lt=S.rotationX,Ct=S.skewX,It=S.skewY,Ft=S.scaleX,_t=S.scaleY,jt=S.transformPerspective,Bt=S.force3D,nn=S.target,_n=S.zOrigin,Ht="",qt="auto"===Bt&&E&&1!==E||!0===Bt;if(_n&&(lt!==li||Se!==li)){var Sn,Cn=parseFloat(Se)*_o,wn=Math.sin(Cn),mn=Math.cos(Cn);Cn=parseFloat(lt)*_o,Sn=Math.cos(Cn),Z=Oa(nn,Z,wn*Sn*-_n),ce=Oa(nn,ce,-Math.sin(Cn)*-_n),Ue=Oa(nn,Ue,mn*Sn*-_n+_n)}jt!==Go&&(Ht+="perspective("+jt+rr),(P||z)&&(Ht+="translate("+P+"%, "+z+"%) "),(qt||Z!==Go||ce!==Go||Ue!==Go)&&(Ht+=Ue!==Go||qt?"translate3d("+Z+", "+ce+", "+Ue+") ":"translate("+Z+", "+ce+rr),Ne!==li&&(Ht+="rotate("+Ne+rr),Se!==li&&(Ht+="rotateY("+Se+rr),lt!==li&&(Ht+="rotateX("+lt+rr),(Ct!==li||It!==li)&&(Ht+="skew("+Ct+", "+It+rr),(1!==Ft||1!==_t)&&(Ht+="scale("+Ft+", "+_t+rr),nn.style[Vi]=Ht||"translate(0, 0)"},ua=function(E,A){var qt,Cn,wn,mn,Sn,S=A||this,P=S.xPercent,z=S.yPercent,Z=S.x,ce=S.y,Ue=S.rotation,Ne=S.skewX,Se=S.skewY,lt=S.scaleX,Ct=S.scaleY,It=S.target,Ft=S.xOrigin,_t=S.yOrigin,jt=S.xOffset,Bt=S.yOffset,nn=S.forceCSS,_n=parseFloat(Z),Ht=parseFloat(ce);Ue=parseFloat(Ue),Ne=parseFloat(Ne),(Se=parseFloat(Se))&&(Ne+=Se=parseFloat(Se),Ue+=Se),Ue||Ne?(Ue*=_o,Ne*=_o,qt=Math.cos(Ue)*lt,Cn=Math.sin(Ue)*lt,wn=Math.sin(Ue-Ne)*-Ct,mn=Math.cos(Ue-Ne)*Ct,Ne&&(Se*=_o,Sn=Math.tan(Ne-Se),wn*=Sn=Math.sqrt(1+Sn*Sn),mn*=Sn,Se&&(Sn=Math.tan(Se),qt*=Sn=Math.sqrt(1+Sn*Sn),Cn*=Sn)),qt=dt(qt),Cn=dt(Cn),wn=dt(wn),mn=dt(mn)):(qt=lt,mn=Ct,Cn=wn=0),(_n&&!~(Z+"").indexOf("px")||Ht&&!~(ce+"").indexOf("px"))&&(_n=qr(It,"x",Z,"px"),Ht=qr(It,"y",ce,"px")),(Ft||_t||jt||Bt)&&(_n=dt(_n+Ft-(Ft*qt+_t*wn)+jt),Ht=dt(Ht+_t-(Ft*Cn+_t*mn)+Bt)),(P||z)&&(Sn=It.getBBox(),_n=dt(_n+P/100*Sn.width),Ht=dt(Ht+z/100*Sn.height)),It.setAttribute("transform",Sn="matrix("+qt+","+Cn+","+wn+","+mn+","+_n+","+Ht+")"),nn&&(It.style[Vi]=Sn)},T=function(E,A,S,P,z){var lt,Ct,Z=360,ce=Y(z),Ne=parseFloat(z)*(ce&&~z.indexOf("rad")?Zr:1)-P,Se=P+Ne+"deg";return ce&&("short"===(lt=z.split("_")[1])&&(Ne%=Z)!=Ne%180&&(Ne+=Ne<0?Z:-Z),"cw"===lt&&Ne<0?Ne=(Ne+Z*Ba)%Z-~~(Ne/Z)*Z:"ccw"===lt&&Ne>0&&(Ne=(Ne-Z*Ba)%Z-~~(Ne/Z)*Z)),E._pt=Ct=new ns(E._pt,A,S,P,Ne,Ga),Ct.e=Se,Ct.u="deg",E._props.push(S),Ct},re=function(E,A){for(var S in A)E[S]=A[S];return E},V=function(E,A,S){var ce,Ue,Ne,Se,lt,Ct,Ft,P=re({},S._gsap),Z=S.style;for(Ue in P.svg?(Ne=S.getAttribute("transform"),S.setAttribute("transform",""),Z[Vi]=A,ce=wr(S,1),la(S,Vi),S.setAttribute("transform",Ne)):(Ne=getComputedStyle(S)[Vi],Z[Vi]=A,ce=wr(S,1),Z[Vi]=Ne),Jr)(Ne=P[Ue])!==(Se=ce[Ue])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(Ue)<0&&(lt=ln(Ne)!==(Ft=ln(Se))?qr(S,Ue,Ne,Ft):parseFloat(Ne),Ct=parseFloat(Se),E._pt=new ns(E._pt,ce,Ue,lt,Ct-lt,en),E._pt.u=Ft||0,E._props.push(Ue));re(ce,P)};Ln("padding,margin,Width,Radius",function(ge,E){var A="Top",S="Right",P="Bottom",z="Left",Z=(E<3?[A,S,P,z]:[A+z,A+S,P+S,P+z]).map(function(ce){return E<2?ge+ce:"border"+ce+ge});Ws[E>1?"border"+ge:ge]=function(ce,Ue,Ne,Se,lt){var Ct,It;if(arguments.length<4)return Ct=Z.map(function(Ft){return sr(ce,Ft,Ne)}),5===(It=Ct.join(" ")).split(Ct[0]).length?Ct[0]:It;Ct=(Se+"").split(" "),It={},Z.forEach(function(Ft,_t){return It[Ft]=Ct[_t]=Ct[_t]||Ct[(_t-1)/2|0]}),ce.init(Ue,It,lt)}});var ee={name:"css",register:$s,targetTest:function(E){return E.style&&E.nodeType},init:function(E,A,S,P,z){var Ne,Se,lt,Ct,It,Ft,_t,jt,Bt,nn,_n,Ht,qt,Cn,wn,Z=this._props,ce=E.style,Ue=S.vars.startAt;for(_t in ci||$s(),A)if("autoRound"!==_t&&(Se=A[_t],!wt[_t]||!Ys(_t,A,S,P,E,z)))if(Ft=Ws[_t],"function"==(It=typeof Se)&&(It=typeof(Se=Se.call(S,P,E,z))),"string"===It&&~Se.indexOf("random(")&&(Se=an(Se)),Ft)Ft(this,E,_t,Se,S)&&(wn=1);else if("--"===_t.substr(0,2))Ne=(getComputedStyle(E).getPropertyValue(_t)+"").trim(),Se+="",Te.lastIndex=0,Te.test(Ne)||(jt=ln(Ne),Bt=ln(Se)),Bt?jt!==Bt&&(Ne=qr(E,_t,Ne,Bt)+Bt):jt&&(Se+=jt),this.add(ce,"setProperty",Ne,Se,P,z,0,0,_t),Z.push(_t);else if("undefined"!==It){if(Ue&&_t in Ue?(Ne="function"==typeof Ue[_t]?Ue[_t].call(S,P,E,z):Ue[_t],Y(Ne)&&~Ne.indexOf("random(")&&(Ne=an(Ne)),ln(Ne+"")||(Ne+=e.units[_t]||ln(sr(E,_t))||""),"="===(Ne+"").charAt(1)&&(Ne=sr(E,_t))):Ne=sr(E,_t),Ct=parseFloat(Ne),(nn="string"===It&&"="===Se.charAt(1)&&Se.substr(0,2))&&(Se=Se.substr(2)),lt=parseFloat(Se),_t in Uo&&("autoAlpha"===_t&&(1===Ct&&"hidden"===sr(E,"visibility")&<&&(Ct=0),Mr(this,ce,"visibility",Ct?"inherit":"hidden",lt?"inherit":"hidden",!lt)),"scale"!==_t&&"transform"!==_t&&~(_t=Uo[_t]).indexOf(",")&&(_t=_t.split(",")[0])),_n=_t in Jr)if(Ht||((qt=E._gsap).renderTransform&&!A.parseTransform||wr(E,A.parseTransform),Cn=!1!==A.smoothOrigin&&qt.smooth,(Ht=this._pt=new ns(this._pt,ce,Vi,0,1,qt.renderTransform,qt,0,-1)).dep=1),"scale"===_t)this._pt=new ns(this._pt,qt,"scaleY",qt.scaleY,(nn?_e(qt.scaleY,nn+lt):lt)-qt.scaleY||0),Z.push("scaleY",_t),_t+="X";else{if("transformOrigin"===_t){Se=Eo(Se),qt.svg?to(E,Se,0,Cn,0,this):((Bt=parseFloat(Se.split(" ")[2])||0)!==qt.zOrigin&&Mr(this,qt,"zOrigin",qt.zOrigin,Bt),Mr(this,ce,_t,zs(Ne),zs(Se)));continue}if("svgOrigin"===_t){to(E,Se,1,Cn,0,this);continue}if(_t in Qs){T(this,qt,_t,Ct,nn?_e(Ct,nn+Se):Se);continue}if("smoothOrigin"===_t){Mr(this,qt,"smooth",qt.smooth,Se);continue}if("force3D"===_t){qt[_t]=Se;continue}if("transform"===_t){V(this,Se,E);continue}}else _t in ce||(_t=vo(_t)||_t);if(_n||(lt||0===lt)&&(Ct||0===Ct)&&!Wc.test(Se)&&_t in ce)lt||(lt=0),(jt=(Ne+"").substr((Ct+"").length))!==(Bt=ln(Se)||(_t in e.units?e.units[_t]:jt))&&(Ct=qr(E,_t,Ne,Bt)),this._pt=new ns(this._pt,_n?qt:ce,_t,Ct,(nn?_e(Ct,nn+lt):lt)-Ct,_n||"px"!==Bt&&"zIndex"!==_t||!1===A.autoRound?en:ir),this._pt.u=Bt||0,jt!==Bt&&"%"!==Bt&&(this._pt.b=Ne,this._pt.r=ti);else if(_t in ce)dc.call(this,E,_t,Ne,nn?nn+Se:Se);else{if(!(_t in E)){ye(_t,Se);continue}this.add(E,_t,Ne||E[_t],nn?nn+Se:Se,P,z)}Z.push(_t)}wn&&xo(this)},get:sr,aliases:Uo,getSetter:function(E,A,S){var P=Uo[A];return P&&P.indexOf(",")<0&&(A=P),A in Jr&&A!==on&&(E._gsap.x||sr(E,"x"))?S&&Fs===S?"scale"===A?$n:wi:(Fs=S||{})&&("scale"===A?Ss:In):E.style&&!oe(E.style[A])?$r:~A.indexOf("-")?ot:Lo(E,A)},core:{_removeProperty:la,_getMatrix:eo}};Mi.utils.checkPrefix=vo,function(ge,E,A,S){var P=Ln(ge+","+E+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(z){Jr[z]=1});Ln(E,function(z){e.units[z]="deg",Qs[z]=1}),Uo[P[13]]=ge+","+E,Ln("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(z){var Z=z.split(":");Uo[Z[1]]=P[Z[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY"),Ln("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(ge){e.units[ge]="px"}),Mi.registerPlugin(ee);var He=Mi.registerPlugin(ee)||Mi,At=He.core.Tween},84412:(Be,K,l)=>{"use strict";l.d(K,{t:()=>h});var s=l(21413);class h extends s.B{constructor(u){super(),this._value=u}get value(){return this.getValue()}_subscribe(u){const m=super._subscribe(u);return!m.closed&&u.next(this._value),m}getValue(){const{hasError:u,thrownError:m,_value:C}=this;if(u)throw m;return this._throwIfClosed(),C}next(u){super.next(this._value=u)}}},71985:(Be,K,l)=>{"use strict";l.d(K,{c:()=>M});var s=l(47707),h=l(18359),e=l(3494),u=l(71203),m=l(41026),C=l(98071),w=l(49786);let M=(()=>{class x{constructor(Y){Y&&(this._subscribe=Y)}lift(Y){const j=new x;return j.source=this,j.operator=Y,j}subscribe(Y,j,ve){const oe=function L(x){return x&&x instanceof s.vU||function R(x){return x&&(0,C.T)(x.next)&&(0,C.T)(x.error)&&(0,C.T)(x.complete)}(x)&&(0,h.Uv)(x)}(Y)?Y:new s.Ms(Y,j,ve);return(0,w.Y)(()=>{const{operator:H,source:ae}=this;oe.add(H?H.call(oe,ae):ae?this._subscribe(oe):this._trySubscribe(oe))}),oe}_trySubscribe(Y){try{return this._subscribe(Y)}catch(j){Y.error(j)}}forEach(Y,j){return new(j=b(j))((ve,oe)=>{const H=new s.Ms({next:ae=>{try{Y(ae)}catch(pe){oe(pe),H.unsubscribe()}},error:oe,complete:ve});this.subscribe(H)})}_subscribe(Y){var j;return null===(j=this.source)||void 0===j?void 0:j.subscribe(Y)}[e.s](){return this}pipe(...Y){return(0,u.m)(Y)(this)}toPromise(Y){return new(Y=b(Y))((j,ve)=>{let oe;this.subscribe(H=>oe=H,H=>ve(H),()=>j(oe))})}}return x.create=B=>new x(B),x})();function b(x){var B;return null!==(B=x??m.$.Promise)&&void 0!==B?B:Promise}},92771:(Be,K,l)=>{"use strict";l.d(K,{m:()=>e});var s=l(21413),h=l(86129);class e extends s.B{constructor(m=1/0,C=1/0,w=h.U){super(),this._bufferSize=m,this._windowTime=C,this._timestampProvider=w,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=C===1/0,this._bufferSize=Math.max(1,m),this._windowTime=Math.max(1,C)}next(m){const{isStopped:C,_buffer:w,_infiniteTimeWindow:M,_timestampProvider:b,_windowTime:R}=this;C||(w.push(m),!M&&w.push(b.now()+R)),this._trimBuffer(),super.next(m)}_subscribe(m){this._throwIfClosed(),this._trimBuffer();const C=this._innerSubscribe(m),{_infiniteTimeWindow:w,_buffer:M}=this,b=M.slice();for(let R=0;R{"use strict";l.d(K,{B:()=>w});var s=l(71985),h=l(18359);const u=(0,l(81853).L)(b=>function(){b(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var m=l(57908),C=l(49786);let w=(()=>{class b extends s.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(L){const x=new M(this,this);return x.operator=L,x}_throwIfClosed(){if(this.closed)throw new u}next(L){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const x of this.currentObservers)x.next(L)}})}error(L){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=L;const{observers:x}=this;for(;x.length;)x.shift().error(L)}})}complete(){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:L}=this;for(;L.length;)L.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var L;return(null===(L=this.observers)||void 0===L?void 0:L.length)>0}_trySubscribe(L){return this._throwIfClosed(),super._trySubscribe(L)}_subscribe(L){return this._throwIfClosed(),this._checkFinalizedStatuses(L),this._innerSubscribe(L)}_innerSubscribe(L){const{hasError:x,isStopped:B,observers:Y}=this;return x||B?h.Kn:(this.currentObservers=null,Y.push(L),new h.yU(()=>{this.currentObservers=null,(0,m.o)(Y,L)}))}_checkFinalizedStatuses(L){const{hasError:x,thrownError:B,isStopped:Y}=this;x?L.error(B):Y&&L.complete()}asObservable(){const L=new s.c;return L.source=this,L}}return b.create=(R,L)=>new M(R,L),b})();class M extends w{constructor(R,L){super(),this.destination=R,this.source=L}next(R){var L,x;null===(x=null===(L=this.destination)||void 0===L?void 0:L.next)||void 0===x||x.call(L,R)}error(R){var L,x;null===(x=null===(L=this.destination)||void 0===L?void 0:L.error)||void 0===x||x.call(L,R)}complete(){var R,L;null===(L=null===(R=this.destination)||void 0===R?void 0:R.complete)||void 0===L||L.call(R)}_subscribe(R){var L,x;return null!==(x=null===(L=this.source)||void 0===L?void 0:L.subscribe(R))&&void 0!==x?x:h.Kn}}},47707:(Be,K,l)=>{"use strict";l.d(K,{Ms:()=>ve,vU:()=>x});var s=l(98071),h=l(18359),e=l(41026),u=l(45334),m=l(85343);const C=b("C",void 0,void 0);function b(de,Pe,W){return{kind:de,value:Pe,error:W}}var R=l(19270),L=l(49786);class x extends h.yU{constructor(Pe){super(),this.isStopped=!1,Pe?(this.destination=Pe,(0,h.Uv)(Pe)&&Pe.add(this)):this.destination=pe}static create(Pe,W,J){return new ve(Pe,W,J)}next(Pe){this.isStopped?ae(function M(de){return b("N",de,void 0)}(Pe),this):this._next(Pe)}error(Pe){this.isStopped?ae(function w(de){return b("E",void 0,de)}(Pe),this):(this.isStopped=!0,this._error(Pe))}complete(){this.isStopped?ae(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Pe){this.destination.next(Pe)}_error(Pe){try{this.destination.error(Pe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const B=Function.prototype.bind;function Y(de,Pe){return B.call(de,Pe)}class j{constructor(Pe){this.partialObserver=Pe}next(Pe){const{partialObserver:W}=this;if(W.next)try{W.next(Pe)}catch(J){oe(J)}}error(Pe){const{partialObserver:W}=this;if(W.error)try{W.error(Pe)}catch(J){oe(J)}else oe(Pe)}complete(){const{partialObserver:Pe}=this;if(Pe.complete)try{Pe.complete()}catch(W){oe(W)}}}class ve extends x{constructor(Pe,W,J){let te;if(super(),(0,s.T)(Pe)||!Pe)te={next:Pe??void 0,error:W??void 0,complete:J??void 0};else{let q;this&&e.$.useDeprecatedNextContext?(q=Object.create(Pe),q.unsubscribe=()=>this.unsubscribe(),te={next:Pe.next&&Y(Pe.next,q),error:Pe.error&&Y(Pe.error,q),complete:Pe.complete&&Y(Pe.complete,q)}):te=Pe}this.destination=new j(te)}}function oe(de){e.$.useDeprecatedSynchronousErrorHandling?(0,L.l)(de):(0,u.m)(de)}function ae(de,Pe){const{onStoppedNotification:W}=e.$;W&&R.f.setTimeout(()=>W(de,Pe))}const pe={closed:!0,next:m.l,error:function H(de){throw de},complete:m.l}},18359:(Be,K,l)=>{"use strict";l.d(K,{Kn:()=>C,yU:()=>m,Uv:()=>w});var s=l(98071);const e=(0,l(81853).L)(b=>function(L){b(this),this.message=L?`${L.length} errors occurred during unsubscription:\n${L.map((x,B)=>`${B+1}) ${x.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=L});var u=l(57908);class m{constructor(R){this.initialTeardown=R,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let R;if(!this.closed){this.closed=!0;const{_parentage:L}=this;if(L)if(this._parentage=null,Array.isArray(L))for(const Y of L)Y.remove(this);else L.remove(this);const{initialTeardown:x}=this;if((0,s.T)(x))try{x()}catch(Y){R=Y instanceof e?Y.errors:[Y]}const{_finalizers:B}=this;if(B){this._finalizers=null;for(const Y of B)try{M(Y)}catch(j){R=R??[],j instanceof e?R=[...R,...j.errors]:R.push(j)}}if(R)throw new e(R)}}add(R){var L;if(R&&R!==this)if(this.closed)M(R);else{if(R instanceof m){if(R.closed||R._hasParent(this))return;R._addParent(this)}(this._finalizers=null!==(L=this._finalizers)&&void 0!==L?L:[]).push(R)}}_hasParent(R){const{_parentage:L}=this;return L===R||Array.isArray(L)&&L.includes(R)}_addParent(R){const{_parentage:L}=this;this._parentage=Array.isArray(L)?(L.push(R),L):L?[L,R]:R}_removeParent(R){const{_parentage:L}=this;L===R?this._parentage=null:Array.isArray(L)&&(0,u.o)(L,R)}remove(R){const{_finalizers:L}=this;L&&(0,u.o)(L,R),R instanceof m&&R._removeParent(this)}}m.EMPTY=(()=>{const b=new m;return b.closed=!0,b})();const C=m.EMPTY;function w(b){return b instanceof m||b&&"closed"in b&&(0,s.T)(b.remove)&&(0,s.T)(b.add)&&(0,s.T)(b.unsubscribe)}function M(b){(0,s.T)(b)?b():b.unsubscribe()}},41026:(Be,K,l)=>{"use strict";l.d(K,{$:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},30017:(Be,K,l)=>{"use strict";l.d(K,{G:()=>C});var s=l(71985),h=l(18359),e=l(99898),u=l(54360),m=l(39974);class C extends s.c{constructor(M,b){super(),this.source=M,this.subjectFactory=b,this._subject=null,this._refCount=0,this._connection=null,(0,m.S)(M)&&(this.lift=M.lift)}_subscribe(M){return this.getSubject().subscribe(M)}getSubject(){const M=this._subject;return(!M||M.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:M}=this;this._subject=this._connection=null,M?.unsubscribe()}connect(){let M=this._connection;if(!M){M=this._connection=new h.yU;const b=this.getSubject();M.add(this.source.subscribe((0,u._)(b,void 0,()=>{this._teardown(),b.complete()},R=>{this._teardown(),b.error(R)},()=>this._teardown()))),M.closed&&(this._connection=null,M=h.yU.EMPTY)}return M}refCount(){return(0,e.B)()(this)}}},84572:(Be,K,l)=>{"use strict";l.d(K,{z:()=>R});var s=l(71985),h=l(93073),e=l(22806),u=l(33669),m=l(6450),C=l(9326),w=l(58496),M=l(54360),b=l(45225);function R(...B){const Y=(0,C.lI)(B),j=(0,C.ms)(B),{args:ve,keys:oe}=(0,h.D)(B);if(0===ve.length)return(0,e.H)([],Y);const H=new s.c(function L(B,Y,j=u.D){return ve=>{x(Y,()=>{const{length:oe}=B,H=new Array(oe);let ae=oe,pe=oe;for(let de=0;de{const Pe=(0,e.H)(B[de],Y);let W=!1;Pe.subscribe((0,M._)(ve,J=>{H[de]=J,W||(W=!0,pe--),pe||ve.next(j(H.slice()))},()=>{--ae||ve.complete()}))},ve)},ve)}}(ve,Y,oe?ae=>(0,w.e)(oe,ae):u.D));return j?H.pipe((0,m.I)(j)):H}function x(B,Y,j){B?(0,b.N)(j,B,Y):Y()}},28793:(Be,K,l)=>{"use strict";l.d(K,{x:()=>m});var s=l(26365),e=l(9326),u=l(22806);function m(...C){return function h(){return(0,s.U)(1)}()((0,u.H)(C,(0,e.lI)(C)))}},59030:(Be,K,l)=>{"use strict";l.d(K,{v:()=>e});var s=l(71985),h=l(58750);function e(u){return new s.c(m=>{(0,h.Tg)(u()).subscribe(m)})}},983:(Be,K,l)=>{"use strict";l.d(K,{w:()=>h});const h=new(l(71985).c)(m=>m.complete())},27468:(Be,K,l)=>{"use strict";l.d(K,{p:()=>M});var s=l(71985),h=l(93073),e=l(58750),u=l(9326),m=l(54360),C=l(6450),w=l(58496);function M(...b){const R=(0,u.ms)(b),{args:L,keys:x}=(0,h.D)(b),B=new s.c(Y=>{const{length:j}=L;if(!j)return void Y.complete();const ve=new Array(j);let oe=j,H=j;for(let ae=0;ae{pe||(pe=!0,H--),ve[ae]=de},()=>oe--,void 0,()=>{(!oe||!pe)&&(H||Y.next(x?(0,w.e)(x,ve):ve),Y.complete())}))}});return R?B.pipe((0,C.I)(R)):B}},22806:(Be,K,l)=>{"use strict";l.d(K,{H:()=>W});var s=l(58750),h=l(40941),e=l(39974);function u(J,te=0){return(0,e.N)((q,$)=>{$.add(J.schedule(()=>q.subscribe($),te))})}var w=l(71985),b=l(4761),R=l(98071),L=l(45225);function B(J,te){if(!J)throw new Error("Iterable cannot be null");return new w.c(q=>{(0,L.N)(q,te,()=>{const $=J[Symbol.asyncIterator]();(0,L.N)(q,te,()=>{$.next().then(Q=>{Q.done?q.complete():q.next(Q.value)})},0,!0)})})}var Y=l(55055),j=l(59858),ve=l(47441),oe=l(85397),H=l(37953),ae=l(50591),pe=l(15196);function W(J,te){return te?function Pe(J,te){if(null!=J){if((0,Y.l)(J))return function m(J,te){return(0,s.Tg)(J).pipe(u(te),(0,h.Q)(te))}(J,te);if((0,ve.X)(J))return function M(J,te){return new w.c(q=>{let $=0;return te.schedule(function(){$===J.length?q.complete():(q.next(J[$++]),q.closed||this.schedule())})})}(J,te);if((0,j.y)(J))return function C(J,te){return(0,s.Tg)(J).pipe(u(te),(0,h.Q)(te))}(J,te);if((0,H.T)(J))return B(J,te);if((0,oe.x)(J))return function x(J,te){return new w.c(q=>{let $;return(0,L.N)(q,te,()=>{$=J[b.l](),(0,L.N)(q,te,()=>{let Q,se;try{({value:Q,done:se}=$.next())}catch(Ee){return void q.error(Ee)}se?q.complete():q.next(Q)},0,!0)}),()=>(0,R.T)($?.return)&&$.return()})}(J,te);if((0,pe.U)(J))return function de(J,te){return B((0,pe.C)(J),te)}(J,te)}throw(0,ae.L)(J)}(J,te):(0,s.Tg)(J)}},33726:(Be,K,l)=>{"use strict";l.d(K,{R:()=>R});var s=l(58750),h=l(71985),e=l(31397),u=l(47441),m=l(98071),C=l(6450);const w=["addListener","removeListener"],M=["addEventListener","removeEventListener"],b=["on","off"];function R(j,ve,oe,H){if((0,m.T)(oe)&&(H=oe,oe=void 0),H)return R(j,ve,oe).pipe((0,C.I)(H));const[ae,pe]=function Y(j){return(0,m.T)(j.addEventListener)&&(0,m.T)(j.removeEventListener)}(j)?M.map(de=>Pe=>j[de](ve,Pe,oe)):function x(j){return(0,m.T)(j.addListener)&&(0,m.T)(j.removeListener)}(j)?w.map(L(j,ve)):function B(j){return(0,m.T)(j.on)&&(0,m.T)(j.off)}(j)?b.map(L(j,ve)):[];if(!ae&&(0,u.X)(j))return(0,e.Z)(de=>R(de,ve,oe))((0,s.Tg)(j));if(!ae)throw new TypeError("Invalid event target");return new h.c(de=>{const Pe=(...W)=>de.next(1pe(Pe)})}function L(j,ve){return oe=>H=>j[oe](ve,H)}},58750:(Be,K,l)=>{"use strict";l.d(K,{Tg:()=>B});var s=l(31635),h=l(47441),e=l(59858),u=l(71985),m=l(55055),C=l(37953),w=l(50591),M=l(85397),b=l(15196),R=l(98071),L=l(45334),x=l(3494);function B(de){if(de instanceof u.c)return de;if(null!=de){if((0,m.l)(de))return function Y(de){return new u.c(Pe=>{const W=de[x.s]();if((0,R.T)(W.subscribe))return W.subscribe(Pe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(de);if((0,h.X)(de))return function j(de){return new u.c(Pe=>{for(let W=0;W{de.then(W=>{Pe.closed||(Pe.next(W),Pe.complete())},W=>Pe.error(W)).then(null,L.m)})}(de);if((0,C.T)(de))return H(de);if((0,M.x)(de))return function oe(de){return new u.c(Pe=>{for(const W of de)if(Pe.next(W),Pe.closed)return;Pe.complete()})}(de);if((0,b.U)(de))return function ae(de){return H((0,b.C)(de))}(de)}throw(0,w.L)(de)}function H(de){return new u.c(Pe=>{(function pe(de,Pe){var W,J,te,q;return(0,s.sH)(this,void 0,void 0,function*(){try{for(W=(0,s.xN)(de);!(J=yield W.next()).done;)if(Pe.next(J.value),Pe.closed)return}catch($){te={error:$}}finally{try{J&&!J.done&&(q=W.return)&&(yield q.call(W))}finally{if(te)throw te.error}}Pe.complete()})})(de,Pe).catch(W=>Pe.error(W))})}},40605:(Be,K,l)=>{"use strict";l.d(K,{Y:()=>e});var s=l(43236),h=l(41584);function e(u=0,m=s.E){return u<0&&(u=0),(0,h.O)(u,u,m)}},57786:(Be,K,l)=>{"use strict";l.d(K,{h:()=>C});var s=l(26365),h=l(58750),e=l(983),u=l(9326),m=l(22806);function C(...w){const M=(0,u.lI)(w),b=(0,u.R0)(w,1/0),R=w;return R.length?1===R.length?(0,h.Tg)(R[0]):(0,s.U)(b)((0,m.H)(R,M)):e.w}},35060:(Be,K,l)=>{"use strict";l.d(K,{t:()=>e});var s=l(71985),h=l(85343);const e=new s.c(h.l)},7673:(Be,K,l)=>{"use strict";l.d(K,{of:()=>e});var s=l(9326),h=l(22806);function e(...u){const m=(0,s.lI)(u);return(0,h.H)(u,m)}},18810:(Be,K,l)=>{"use strict";l.d(K,{$:()=>e});var s=l(71985),h=l(98071);function e(u,m){const C=(0,h.T)(u)?u:()=>u,w=M=>M.error(C());return new s.c(m?M=>m.schedule(w,0,M):w)}},41584:(Be,K,l)=>{"use strict";l.d(K,{O:()=>m});var s=l(71985),h=l(43236),e=l(79470);function m(C=0,w,M=h.b){let b=-1;return null!=w&&((0,e.m)(w)?M=w:b=w),new s.c(R=>{let L=function u(C){return C instanceof Date&&!isNaN(C)}(C)?+C-M.now():C;L<0&&(L=0);let x=0;return M.schedule(function(){R.closed||(R.next(x++),0<=b?this.schedule(void 0,b):R.complete())},L)})}},54360:(Be,K,l)=>{"use strict";l.d(K,{_:()=>h});var s=l(47707);function h(u,m,C,w,M){return new e(u,m,C,w,M)}class e extends s.vU{constructor(m,C,w,M,b,R){super(m),this.onFinalize=b,this.shouldUnsubscribe=R,this._next=C?function(L){try{C(L)}catch(x){m.error(x)}}:super._next,this._error=M?function(L){try{M(L)}catch(x){m.error(x)}finally{this.unsubscribe()}}:super._error,this._complete=w?function(){try{w()}catch(L){m.error(L)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var m;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(m=this.onFinalize)||void 0===m||m.call(this))}}}},99437:(Be,K,l)=>{"use strict";l.d(K,{W:()=>u});var s=l(58750),h=l(54360),e=l(39974);function u(m){return(0,e.N)((C,w)=>{let R,M=null,b=!1;M=C.subscribe((0,h._)(w,void 0,void 0,L=>{R=(0,s.Tg)(m(L,u(m)(C))),M?(M.unsubscribe(),M=null,R.subscribe(w)):b=!0})),b&&(M.unsubscribe(),M=null,R.subscribe(w))})}},70274:(Be,K,l)=>{"use strict";l.d(K,{H:()=>e});var s=l(31397),h=l(98071);function e(u,m){return(0,h.T)(m)?(0,s.Z)(u,m,1):(0,s.Z)(u,1)}},72066:(Be,K,l)=>{"use strict";l.d(K,{N:()=>w});var s=l(21413),h=l(58750),e=l(39974),u=l(71985);const C={connector:()=>new s.B};function w(M,b=C){const{connector:R}=b;return(0,e.N)((L,x)=>{const B=R();(0,h.Tg)(M(function m(M){return new u.c(b=>M.subscribe(b))}(B))).subscribe(x),x.add(L.subscribe(B))})}},70152:(Be,K,l)=>{"use strict";l.d(K,{B:()=>u});var s=l(43236),h=l(39974),e=l(54360);function u(m,C=s.E){return(0,h.N)((w,M)=>{let b=null,R=null,L=null;const x=()=>{if(b){b.unsubscribe(),b=null;const Y=R;R=null,M.next(Y)}};function B(){const Y=L+m,j=C.now();if(j{R=Y,L=C.now(),b||(b=C.schedule(B,m),M.add(b))},()=>{x(),M.complete()},void 0,()=>{R=b=null}))})}},39901:(Be,K,l)=>{"use strict";l.d(K,{U:()=>e});var s=l(39974),h=l(54360);function e(u){return(0,s.N)((m,C)=>{let w=!1;m.subscribe((0,h._)(C,M=>{w=!0,C.next(M)},()=>{w||C.next(u),C.complete()}))})}},91986:(Be,K,l)=>{"use strict";l.d(K,{c:()=>B});var s=l(43236),h=l(28793),e=l(96697),u=l(39974),m=l(54360),C=l(85343),M=l(73703),b=l(31397),R=l(58750);function L(Y,j){return j?ve=>(0,h.x)(j.pipe((0,e.s)(1),function w(){return(0,u.N)((Y,j)=>{Y.subscribe((0,m._)(j,C.l))})}()),ve.pipe(L(Y))):(0,b.Z)((ve,oe)=>(0,R.Tg)(Y(ve,oe)).pipe((0,e.s)(1),(0,M.u)(ve)))}var x=l(41584);function B(Y,j=s.E){const ve=(0,x.O)(Y,j);return L(()=>ve)}},23294:(Be,K,l)=>{"use strict";l.d(K,{F:()=>u});var s=l(33669),h=l(39974),e=l(54360);function u(C,w=s.D){return C=C??m,(0,h.N)((M,b)=>{let R,L=!0;M.subscribe((0,e._)(b,x=>{const B=w(x);(L||!C(R,B))&&(L=!1,R=B,b.next(x))}))})}function m(C,w){return C===w}},30786:(Be,K,l)=>{"use strict";l.d(K,{p:()=>m});var s=l(96354),h=l(58750),e=l(39974),u=l(54360);function m(C,w){return w?M=>M.pipe(m((b,R)=>(0,h.Tg)(C(b,R)).pipe((0,s.T)((L,x)=>w(b,L,R,x))))):(0,e.N)((M,b)=>{let R=0,L=null,x=!1;M.subscribe((0,u._)(b,B=>{L||(L=(0,u._)(b,void 0,()=>{L=null,x&&b.complete()}),(0,h.Tg)(C(B,R++)).subscribe(L))},()=>{x=!0,!L&&b.complete()}))})}},5964:(Be,K,l)=>{"use strict";l.d(K,{p:()=>e});var s=l(39974),h=l(54360);function e(u,m){return(0,s.N)((C,w)=>{let M=0;C.subscribe((0,h._)(w,b=>u.call(m,b,M++)&&w.next(b)))})}},70980:(Be,K,l)=>{"use strict";l.d(K,{j:()=>h});var s=l(39974);function h(e){return(0,s.N)((u,m)=>{try{u.subscribe(m)}finally{m.add(e)}})}},61594:(Be,K,l)=>{"use strict";l.d(K,{$:()=>w});var s=l(9350),h=l(5964),e=l(96697),u=l(39901),m=l(93774),C=l(33669);function w(M,b){const R=arguments.length>=2;return L=>L.pipe(M?(0,h.p)((x,B)=>M(x,B,L)):C.D,(0,e.s)(1),R?(0,u.U)(b):(0,m.v)(()=>new s.G))}},96354:(Be,K,l)=>{"use strict";l.d(K,{T:()=>e});var s=l(39974),h=l(54360);function e(u,m){return(0,s.N)((C,w)=>{let M=0;C.subscribe((0,h._)(w,b=>{w.next(u.call(m,b,M++))}))})}},73703:(Be,K,l)=>{"use strict";l.d(K,{u:()=>h});var s=l(96354);function h(e){return(0,s.T)(()=>e)}},26365:(Be,K,l)=>{"use strict";l.d(K,{U:()=>e});var s=l(31397),h=l(33669);function e(u=1/0){return(0,s.Z)(h.D,u)}},31397:(Be,K,l)=>{"use strict";l.d(K,{Z:()=>M});var s=l(96354),h=l(58750),e=l(39974),u=l(45225),m=l(54360),w=l(98071);function M(b,R,L=1/0){return(0,w.T)(R)?M((x,B)=>(0,s.T)((Y,j)=>R(x,Y,B,j))((0,h.Tg)(b(x,B))),L):("number"==typeof R&&(L=R),(0,e.N)((x,B)=>function C(b,R,L,x,B,Y,j,ve){const oe=[];let H=0,ae=0,pe=!1;const de=()=>{pe&&!oe.length&&!H&&R.complete()},Pe=J=>H{Y&&R.next(J),H++;let te=!1;(0,h.Tg)(L(J,ae++)).subscribe((0,m._)(R,q=>{B?.(q),Y?Pe(q):R.next(q)},()=>{te=!0},void 0,()=>{if(te)try{for(H--;oe.length&&HW(q)):W(q)}de()}catch(q){R.error(q)}}))};return b.subscribe((0,m._)(R,Pe,()=>{pe=!0,de()})),()=>{ve?.()}}(x,B,b,L)))}},70354:(Be,K,l)=>{"use strict";l.d(K,{f:()=>u});var s=l(30017),h=l(98071),e=l(72066);function u(m,C){const w=(0,h.T)(m)?m:()=>m;return(0,h.T)(C)?(0,e.N)(C,{connector:w}):M=>new s.G(M,w)}},40941:(Be,K,l)=>{"use strict";l.d(K,{Q:()=>u});var s=l(45225),h=l(39974),e=l(54360);function u(m,C=0){return(0,h.N)((w,M)=>{w.subscribe((0,e._)(M,b=>(0,s.N)(M,m,()=>M.next(b),C),()=>(0,s.N)(M,m,()=>M.complete(),C),b=>(0,s.N)(M,m,()=>M.error(b),C)))})}},13946:(Be,K,l)=>{"use strict";l.d(K,{J:()=>e});var s=l(39974),h=l(54360);function e(){return(0,s.N)((u,m)=>{let C,w=!1;u.subscribe((0,h._)(m,M=>{const b=C;C=M,w&&m.next([b,M]),w=!0}))})}},31927:(Be,K,l)=>{"use strict";l.d(K,{m:()=>u});var s=l(21413),h=l(70354),e=l(72066);function u(m){return m?C=>(0,e.N)(m)(C):C=>(0,h.f)(new s.B)(C)}},99898:(Be,K,l)=>{"use strict";l.d(K,{B:()=>e});var s=l(39974),h=l(54360);function e(){return(0,s.N)((u,m)=>{let C=null;u._refCount++;const w=(0,h._)(m,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(C=null);const M=u._connection,b=C;C=null,M&&(!b||M===b)&&M.unsubscribe(),m.unsubscribe()});u.subscribe(w),w.closed||(C=u.connect())})}},12498:(Be,K,l)=>{"use strict";l.d(K,{L:()=>C});var s=l(39974),h=l(54360),e=l(33669),u=l(41584),m=l(58750);function C(w=1/0){let M;M=w&&"object"==typeof w?w:{count:w};const{count:b=1/0,delay:R,resetOnSuccess:L=!1}=M;return b<=0?e.D:(0,s.N)((x,B)=>{let j,Y=0;const ve=()=>{let oe=!1;j=x.subscribe((0,h._)(B,H=>{L&&(Y=0),B.next(H)},void 0,H=>{if(Y++{j?(j.unsubscribe(),j=null,ve()):oe=!0};if(null!=R){const pe="number"==typeof R?(0,u.O)(R):(0,m.Tg)(R(H,Y)),de=(0,h._)(B,()=>{de.unsubscribe(),ae()},()=>{B.complete()});pe.subscribe(de)}else ae()}else B.error(H)})),oe&&(j.unsubscribe(),j=null,ve())};ve()})}},22816:(Be,K,l)=>{"use strict";l.d(K,{S:()=>u});var s=l(39974),h=l(54360);function u(m,C){return(0,s.N)(function e(m,C,w,M,b){return(R,L)=>{let x=w,B=C,Y=0;R.subscribe((0,h._)(L,j=>{const ve=Y++;B=x?m(B,j,ve):(x=!0,j),M&&L.next(B)},b&&(()=>{x&&L.next(B),L.complete()})))}}(m,C,arguments.length>=2,!0))}},69568:(Be,K,l)=>{"use strict";l.d(K,{t:()=>M});var s=l(92771),h=l(58750),e=l(21413),u=l(47707),m=l(39974);function w(b,R,...L){if(!0===R)return void b();if(!1===R)return;const x=new u.Ms({next:()=>{x.unsubscribe(),b()}});return(0,h.Tg)(R(...L)).subscribe(x)}function M(b,R,L){let x,B=!1;return b&&"object"==typeof b?({bufferSize:x=1/0,windowTime:R=1/0,refCount:B=!1,scheduler:L}=b):x=b??1/0,function C(b={}){const{connector:R=(()=>new e.B),resetOnError:L=!0,resetOnComplete:x=!0,resetOnRefCountZero:B=!0}=b;return Y=>{let j,ve,oe,H=0,ae=!1,pe=!1;const de=()=>{ve?.unsubscribe(),ve=void 0},Pe=()=>{de(),j=oe=void 0,ae=pe=!1},W=()=>{const J=j;Pe(),J?.unsubscribe()};return(0,m.N)((J,te)=>{H++,!pe&&!ae&&de();const q=oe=oe??R();te.add(()=>{H--,0===H&&!pe&&!ae&&(ve=w(W,B))}),q.subscribe(te),!j&&H>0&&(j=new u.Ms({next:$=>q.next($),error:$=>{pe=!0,de(),ve=w(Pe,L,$),q.error($)},complete:()=>{ae=!0,de(),ve=w(Pe,x),q.complete()}}),(0,h.Tg)(J).subscribe(j))})(Y)}}({connector:()=>new s.m(x,R,L),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:B})}},65245:(Be,K,l)=>{"use strict";l.d(K,{i:()=>h});var s=l(5964);function h(e){return(0,s.p)((u,m)=>e<=m)}},99172:(Be,K,l)=>{"use strict";l.d(K,{Z:()=>u});var s=l(28793),h=l(9326),e=l(39974);function u(...m){const C=(0,h.lI)(m);return(0,e.N)((w,M)=>{(C?(0,s.x)(m,w,C):(0,s.x)(m,w)).subscribe(M)})}},25558:(Be,K,l)=>{"use strict";l.d(K,{n:()=>u});var s=l(58750),h=l(39974),e=l(54360);function u(m,C){return(0,h.N)((w,M)=>{let b=null,R=0,L=!1;const x=()=>L&&!b&&M.complete();w.subscribe((0,e._)(M,B=>{b?.unsubscribe();let Y=0;const j=R++;(0,s.Tg)(m(B,j)).subscribe(b=(0,e._)(M,ve=>M.next(C?C(B,ve,j,Y++):ve),()=>{b=null,x()}))},()=>{L=!0,x()}))})}},96697:(Be,K,l)=>{"use strict";l.d(K,{s:()=>u});var s=l(983),h=l(39974),e=l(54360);function u(m){return m<=0?()=>s.w:(0,h.N)((C,w)=>{let M=0;C.subscribe((0,e._)(w,b=>{++M<=m&&(w.next(b),m<=M&&w.complete())}))})}},56977:(Be,K,l)=>{"use strict";l.d(K,{Q:()=>m});var s=l(39974),h=l(54360),e=l(58750),u=l(85343);function m(C){return(0,s.N)((w,M)=>{(0,e.Tg)(C).subscribe((0,h._)(M,()=>M.complete(),u.l)),!M.closed&&w.subscribe(M)})}},77048:(Be,K,l)=>{"use strict";l.d(K,{v:()=>e});var s=l(39974),h=l(54360);function e(u,m=!1){return(0,s.N)((C,w)=>{let M=0;C.subscribe((0,h._)(w,b=>{const R=u(b,M++);(R||m)&&w.next(b),!R&&w.complete()}))})}},88141:(Be,K,l)=>{"use strict";l.d(K,{M:()=>m});var s=l(98071),h=l(39974),e=l(54360),u=l(33669);function m(C,w,M){const b=(0,s.T)(C)||w||M?{next:C,error:w,complete:M}:C;return b?(0,h.N)((R,L)=>{var x;null===(x=b.subscribe)||void 0===x||x.call(b);let B=!0;R.subscribe((0,e._)(L,Y=>{var j;null===(j=b.next)||void 0===j||j.call(b,Y),L.next(Y)},()=>{var Y;B=!1,null===(Y=b.complete)||void 0===Y||Y.call(b),L.complete()},Y=>{var j;B=!1,null===(j=b.error)||void 0===j||j.call(b,Y),L.error(Y)},()=>{var Y,j;B&&(null===(Y=b.unsubscribe)||void 0===Y||Y.call(b)),null===(j=b.finalize)||void 0===j||j.call(b)}))}):u.D}},23386:(Be,K,l)=>{"use strict";l.d(K,{c:()=>w});var s=l(43236),h=l(39974),e=l(54360),u=l(58750),C=l(41584);function w(M,b=s.E,R){const L=(0,C.O)(M,b);return function m(M,b){return(0,h.N)((R,L)=>{const{leading:x=!0,trailing:B=!1}=b??{};let Y=!1,j=null,ve=null,oe=!1;const H=()=>{ve?.unsubscribe(),ve=null,B&&(de(),oe&&L.complete())},ae=()=>{ve=null,oe&&L.complete()},pe=Pe=>ve=(0,u.Tg)(M(Pe)).subscribe((0,e._)(L,H,ae)),de=()=>{if(Y){Y=!1;const Pe=j;j=null,L.next(Pe),!oe&&pe(Pe)}};R.subscribe((0,e._)(L,Pe=>{Y=!0,j=Pe,(!ve||ve.closed)&&(x?de():pe(Pe))},()=>{oe=!0,(!(B&&Y&&ve)||ve.closed)&&L.complete()}))})}(()=>L,R)}},93774:(Be,K,l)=>{"use strict";l.d(K,{v:()=>u});var s=l(9350),h=l(39974),e=l(54360);function u(C=m){return(0,h.N)((w,M)=>{let b=!1;w.subscribe((0,e._)(M,R=>{b=!0,M.next(R)},()=>b?M.complete():M.error(C())))})}function m(){return new s.G}},96780:(Be,K,l)=>{"use strict";l.d(K,{R:()=>m});var s=l(18359);class h extends s.yU{constructor(w,M){super()}schedule(w,M=0){return this}}const e={setInterval(C,w,...M){const{delegate:b}=e;return b?.setInterval?b.setInterval(C,w,...M):setInterval(C,w,...M)},clearInterval(C){const{delegate:w}=e;return(w?.clearInterval||clearInterval)(C)},delegate:void 0};var u=l(57908);class m extends h{constructor(w,M){super(w,M),this.scheduler=w,this.work=M,this.pending=!1}schedule(w,M=0){var b;if(this.closed)return this;this.state=w;const R=this.id,L=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(L,R,M)),this.pending=!0,this.delay=M,this.id=null!==(b=this.id)&&void 0!==b?b:this.requestAsyncId(L,this.id,M),this}requestAsyncId(w,M,b=0){return e.setInterval(w.flush.bind(w,this),b)}recycleAsyncId(w,M,b=0){if(null!=b&&this.delay===b&&!1===this.pending)return M;null!=M&&e.clearInterval(M)}execute(w,M){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const b=this._execute(w,M);if(b)return b;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(w,M){let R,b=!1;try{this.work(w)}catch(L){b=!0,R=L||new Error("Scheduled action threw falsy error")}if(b)return this.unsubscribe(),R}unsubscribe(){if(!this.closed){const{id:w,scheduler:M}=this,{actions:b}=M;this.work=this.state=this.scheduler=null,this.pending=!1,(0,u.o)(b,this),null!=w&&(this.id=this.recycleAsyncId(M,w,null)),this.delay=null,super.unsubscribe()}}}},39687:(Be,K,l)=>{"use strict";l.d(K,{q:()=>e});var s=l(86129);class h{constructor(m,C=h.now){this.schedulerActionCtor=m,this.now=C}schedule(m,C=0,w){return new this.schedulerActionCtor(this,m).schedule(w,C)}}h.now=s.U.now;class e extends h{constructor(m,C=h.now){super(m,C),this.actions=[],this._active=!1}flush(m){const{actions:C}=this;if(this._active)return void C.push(m);let w;this._active=!0;do{if(w=m.execute(m.state,m.delay))break}while(m=C.shift());if(this._active=!1,w){for(;m=C.shift();)m.unsubscribe();throw w}}}},30536:(Be,K,l)=>{"use strict";l.d(K,{X:()=>w});var s=l(96780),h=l(18359);const e={schedule(b){let R=requestAnimationFrame,L=cancelAnimationFrame;const{delegate:x}=e;x&&(R=x.requestAnimationFrame,L=x.cancelAnimationFrame);const B=R(Y=>{L=void 0,b(Y)});return new h.yU(()=>L?.(B))},requestAnimationFrame(...b){const{delegate:R}=e;return(R?.requestAnimationFrame||requestAnimationFrame)(...b)},cancelAnimationFrame(...b){const{delegate:R}=e;return(R?.cancelAnimationFrame||cancelAnimationFrame)(...b)},delegate:void 0};var m=l(39687);const w=new class C extends m.q{flush(R){this._active=!0;const L=this._scheduled;this._scheduled=void 0;const{actions:x}=this;let B;R=R||x.shift();do{if(B=R.execute(R.state,R.delay))break}while((R=x[0])&&R.id===L&&x.shift());if(this._active=!1,B){for(;(R=x[0])&&R.id===L&&x.shift();)R.unsubscribe();throw B}}}(class u extends s.R{constructor(R,L){super(R,L),this.scheduler=R,this.work=L}requestAsyncId(R,L,x=0){return null!==x&&x>0?super.requestAsyncId(R,L,x):(R.actions.push(this),R._scheduled||(R._scheduled=e.requestAnimationFrame(()=>R.flush(void 0))))}recycleAsyncId(R,L,x=0){var B;if(null!=x?x>0:this.delay>0)return super.recycleAsyncId(R,L,x);const{actions:Y}=R;null!=L&&(null===(B=Y[Y.length-1])||void 0===B?void 0:B.id)!==L&&(e.cancelAnimationFrame(L),R._scheduled=void 0)}})},43236:(Be,K,l)=>{"use strict";l.d(K,{E:()=>e,b:()=>u});var s=l(96780);const e=new(l(39687).q)(s.R),u=e},86129:(Be,K,l)=>{"use strict";l.d(K,{U:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},19270:(Be,K,l)=>{"use strict";l.d(K,{f:()=>s});const s={setTimeout(h,e,...u){const{delegate:m}=s;return m?.setTimeout?m.setTimeout(h,e,...u):setTimeout(h,e,...u)},clearTimeout(h){const{delegate:e}=s;return(e?.clearTimeout||clearTimeout)(h)},delegate:void 0}},4761:(Be,K,l)=>{"use strict";l.d(K,{l:()=>h});const h=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Be,K,l)=>{"use strict";l.d(K,{s:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Be,K,l)=>{"use strict";l.d(K,{G:()=>h});const h=(0,l(81853).L)(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Be,K,l)=>{"use strict";l.d(K,{R0:()=>C,lI:()=>m,ms:()=>u});var s=l(98071),h=l(79470);function e(w){return w[w.length-1]}function u(w){return(0,s.T)(e(w))?w.pop():void 0}function m(w){return(0,h.m)(e(w))?w.pop():void 0}function C(w,M){return"number"==typeof e(w)?w.pop():M}},93073:(Be,K,l)=>{"use strict";l.d(K,{D:()=>m});const{isArray:s}=Array,{getPrototypeOf:h,prototype:e,keys:u}=Object;function m(w){if(1===w.length){const M=w[0];if(s(M))return{args:M,keys:null};if(function C(w){return w&&"object"==typeof w&&h(w)===e}(M)){const b=u(M);return{args:b.map(R=>M[R]),keys:b}}}return{args:w,keys:null}}},57908:(Be,K,l)=>{"use strict";function s(h,e){if(h){const u=h.indexOf(e);0<=u&&h.splice(u,1)}}l.d(K,{o:()=>s})},81853:(Be,K,l)=>{"use strict";function s(h){const u=h(m=>{Error.call(m),m.stack=(new Error).stack});return u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u}l.d(K,{L:()=>s})},58496:(Be,K,l)=>{"use strict";function s(h,e){return h.reduce((u,m,C)=>(u[m]=e[C],u),{})}l.d(K,{e:()=>s})},49786:(Be,K,l)=>{"use strict";l.d(K,{Y:()=>e,l:()=>u});var s=l(41026);let h=null;function e(m){if(s.$.useDeprecatedSynchronousErrorHandling){const C=!h;if(C&&(h={errorThrown:!1,error:null}),m(),C){const{errorThrown:w,error:M}=h;if(h=null,w)throw M}}else m()}function u(m){s.$.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=m)}},45225:(Be,K,l)=>{"use strict";function s(h,e,u,m=0,C=!1){const w=e.schedule(function(){u(),C?h.add(this.schedule(null,m)):this.unsubscribe()},m);if(h.add(w),!C)return w}l.d(K,{N:()=>s})},33669:(Be,K,l)=>{"use strict";function s(h){return h}l.d(K,{D:()=>s})},47441:(Be,K,l)=>{"use strict";l.d(K,{X:()=>s});const s=h=>h&&"number"==typeof h.length&&"function"!=typeof h},37953:(Be,K,l)=>{"use strict";l.d(K,{T:()=>h});var s=l(98071);function h(e){return Symbol.asyncIterator&&(0,s.T)(e?.[Symbol.asyncIterator])}},98071:(Be,K,l)=>{"use strict";function s(h){return"function"==typeof h}l.d(K,{T:()=>s})},55055:(Be,K,l)=>{"use strict";l.d(K,{l:()=>e});var s=l(3494),h=l(98071);function e(u){return(0,h.T)(u[s.s])}},85397:(Be,K,l)=>{"use strict";l.d(K,{x:()=>e});var s=l(4761),h=l(98071);function e(u){return(0,h.T)(u?.[s.l])}},74402:(Be,K,l)=>{"use strict";l.d(K,{A:()=>e});var s=l(71985),h=l(98071);function e(u){return!!u&&(u instanceof s.c||(0,h.T)(u.lift)&&(0,h.T)(u.subscribe))}},59858:(Be,K,l)=>{"use strict";l.d(K,{y:()=>h});var s=l(98071);function h(e){return(0,s.T)(e?.then)}},15196:(Be,K,l)=>{"use strict";l.d(K,{C:()=>e,U:()=>u});var s=l(31635),h=l(98071);function e(m){return(0,s.AQ)(this,arguments,function*(){const w=m.getReader();try{for(;;){const{value:M,done:b}=yield(0,s.N3)(w.read());if(b)return yield(0,s.N3)(void 0);yield yield(0,s.N3)(M)}}finally{w.releaseLock()}})}function u(m){return(0,h.T)(m?.getReader)}},79470:(Be,K,l)=>{"use strict";l.d(K,{m:()=>h});var s=l(98071);function h(e){return e&&(0,s.T)(e.schedule)}},39974:(Be,K,l)=>{"use strict";l.d(K,{N:()=>e,S:()=>h});var s=l(98071);function h(u){return(0,s.T)(u?.lift)}function e(u){return m=>{if(h(m))return m.lift(function(C){try{return u(C,this)}catch(w){this.error(w)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Be,K,l)=>{"use strict";l.d(K,{I:()=>u});var s=l(96354);const{isArray:h}=Array;function u(m){return(0,s.T)(C=>function e(m,C){return h(C)?m(...C):m(C)}(m,C))}},85343:(Be,K,l)=>{"use strict";function s(){}l.d(K,{l:()=>s})},71203:(Be,K,l)=>{"use strict";l.d(K,{F:()=>h,m:()=>e});var s=l(33669);function h(...u){return e(u)}function e(u){return 0===u.length?s.D:1===u.length?u[0]:function(C){return u.reduce((w,M)=>M(w),C)}}},45334:(Be,K,l)=>{"use strict";l.d(K,{m:()=>e});var s=l(41026),h=l(19270);function e(u){h.f.setTimeout(()=>{const{onUnhandledError:m}=s.$;if(!m)throw u;m(u)})}},50591:(Be,K,l)=>{"use strict";function s(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invalid object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}l.d(K,{L:()=>s})},50477:()=>{},55674:(Be,K,l)=>{"use strict";l.d(K,{$:()=>b});var s=l(54438),h=l(79336),e=l(33346),u=l(84412),m=l(96354),C=l(88141),w=l(51433),M=l(29655);let b=(()=>{class R{static#e=this.GET_TURNOVER_LIST="/api/bt/v1/bonus/getTurnoverList";static#t=this.PARTICIPATE_PROMOTION="/api/bt/v1/bonus/participatePromotion";static#n=this.TRANSFER_IN_BONUS_WALLET="/api/bt/v1/bonus/transferInBonusWallet";static#s=this.GET_REFER_BONUS="/api/bt/v1/bonus/getReferBonus";static#i=this.GET_BONUS_WALLET_LIST="/api/bt/v1/bonus/getBonusWalletList";static#o=this.GET_ACCOUNT_BONUS_TURNOVERS="api/bt/v1/bonus/getAccountBonusTurnovers";static#r=this.GET_UPGRADE_BONUS_WALLET_LIST="/api/bt/v1/bonus/getUpgradeBonusTemplateList";static#a=this.CLAIM_BONUS_WALLET="/api/bt/v1/bonus/claimBonusWallet";static#c=this.COMPLETE_BONUS_WALLET="/api/bt/v1/bonus/completeBonusWallet";static#l=this.CANCEL_BONUS_WALLET="/api/bt/v1/bonus/cancelBonusWallet";static#u=this.UPGRADE_BONUS_WALLET="/api/bt/v1/bonus/upgradeBonusWallet";static#d=this.GET_MATCH_PROVIDER_PROMOTION_WALLET="/api/bt/v1/bonus/getMatchProviderPromotionWallet";static#h=this.GET_VOUCHER_LIST="/api/bt/v1/bonus/getVoucherList";static#f=this.GET_VOUCHER_LIST_WITH_LATEST_STATUS="/api/bt/v1/bonus/getVoucherListWithLatestStatus";static#p=this.GET_PENDING_GAME_TXN="/api/bt/v1/bonus/getPendingGameTxn";static#g=this.GET_REAL_TIME_BONUSES_DATA="/api/bt/v1/bonus/getRealTimeBonusData";static#_=this.GET_REAL_TIME_BONUSES_DETAIL="/api/bt/v1/bonus/getRealTimeBonusDetail";static#m=this.GET_REAL_TIME_BONUSES_RESCUE_DATA="/api/bt/v1/bonus/getRealTimeRescueData";static#v=this.CLAIM_REAL_TIME_BONUS="/api/bt/v1/bonus/claimRealTimeBonus";static#E=this.CLAIM_REAL_TIME_BONUS_RESCUE="/api/bt/v1/bonus/claimRealTimeRescueBonus";static#C=this.GET_TICKET_LIST="/api/bt/v1/bonus/getTicketList";static#D=this.GET_SUPPORT_GAME_LIST="/api/bt/v1/bonus/getSupportGameList";static#I=this.GET_BOUND_GAME="/api/bt/v1/bonus/getBoundGame";constructor(x){this.httpClient=x,this.transferAllToHandlerService=(0,s.WQX)(e.x),this.authState=(0,s.WQX)(w.H),this.referBonusAllData$=new u.t({})}setAlreadyTurnOnPromotionWallet(x){const B=this.authState.get("accountInfo");B.alreadyTurnOnPromotionWallet=x,this.authState.set("accountInfo",()=>({...B}))}getTurnoverList(x){return this.httpClient.get(R.GET_TURNOVER_LIST,x).pipe((0,m.T)(B=>B.data))}participatePromotion(x){return this.httpClient.post(R.PARTICIPATE_PROMOTION,{bonusTemplateId:x})}transferInBonusWallet(x,B){return this.httpClient.post(R.TRANSFER_IN_BONUS_WALLET,{bonusTemplateId:x,amount:`${B}`})}getReferBonus(){return this.httpClient.post(R.GET_REFER_BONUS).pipe((0,m.T)(x=>x.data))}getMyBonusesList(){return this.httpClient.post(R.GET_BONUS_WALLET_LIST).pipe((0,m.T)(x=>x.data))}getAccountBonusTurnovers(){return this.httpClient.post(R.GET_ACCOUNT_BONUS_TURNOVERS).pipe((0,m.T)(x=>x.data))}getVoucherList(){return this.httpClient.post(R.GET_VOUCHER_LIST).pipe((0,m.T)(x=>x.data))}getVoucherListWithLatestStatus(){return this.httpClient.post(R.GET_VOUCHER_LIST_WITH_LATEST_STATUS).pipe((0,m.T)(x=>x.data))}getUpgradeBonusTemplateList(){return this.httpClient.post(R.GET_UPGRADE_BONUS_WALLET_LIST).pipe((0,m.T)(x=>x.data))}claimBonusWallet(x,B=!1){return this.httpClient.post(R.CLAIM_BONUS_WALLET,{bonusTurnoverId:x}).pipe((0,C.M)(Y=>{Y.status===h.m.SUCCESS.statusCode&&(this.transferAllToHandlerService.markAsNeedTransfer({emitEvent:!1}),B||this.setAlreadyTurnOnPromotionWallet(!0))}),(0,m.T)(Y=>Y))}completeBonusWallet(x){return this.httpClient.post(R.COMPLETE_BONUS_WALLET,{bonusTurnoverId:x}).pipe((0,C.M)(B=>{B.status===h.m.SUCCESS.statusCode&&this.setAlreadyTurnOnPromotionWallet(!1)}),(0,m.T)(B=>B))}cancelBonusWallet(x){return this.httpClient.post(R.CANCEL_BONUS_WALLET,{bonusTurnoverId:x}).pipe((0,C.M)(B=>{B.status===h.m.SUCCESS.statusCode&&this.setAlreadyTurnOnPromotionWallet(!0)}),(0,m.T)(B=>B))}upgradeBonusWallet(x,B){return this.httpClient.post(R.UPGRADE_BONUS_WALLET,{bonusTurnoverId:x,toBonusTemplateId:B}).pipe((0,m.T)(Y=>Y))}getMatchProviderPromotionWallet(x,B,Y,j){return this.httpClient.post(R.GET_MATCH_PROVIDER_PROMOTION_WALLET,{vendorCode:x,gameTypeId:B,gameCode:Y,extraData:j}).pipe((0,m.T)(ve=>ve.data))}getPendingGameTxn(x){return this.httpClient.post(R.GET_PENDING_GAME_TXN,{bonusTurnoverId:x}).pipe((0,m.T)(B=>B))}getRealTimeBonusesData(x){return this.httpClient.post(R.GET_REAL_TIME_BONUSES_DATA,x).pipe((0,m.T)(B=>B.data))}getRealTimeBonusesDetailData(x){return this.httpClient.post(R.GET_REAL_TIME_BONUSES_DETAIL,x).pipe((0,m.T)(B=>B.data))}claimRealTimeBonus(){return this.httpClient.post(R.CLAIM_REAL_TIME_BONUS).pipe((0,m.T)(x=>x.data))}getRealTimeBonusesRescueData(x){return this.httpClient.post(R.GET_REAL_TIME_BONUSES_RESCUE_DATA,x).pipe((0,m.T)(B=>B.data))}claimRealTimeBonusRescue(x){return this.httpClient.post(R.CLAIM_REAL_TIME_BONUS_RESCUE,{realTimeBonusId:x}).pipe((0,m.T)(B=>B.data))}getTicketList(x){return this.httpClient.post(R.GET_TICKET_LIST,x).pipe((0,m.T)(B=>B.data))}getSupportedGameList(x){return this.httpClient.post(R.GET_SUPPORT_GAME_LIST,x).pipe((0,m.T)(B=>B.data))}getBoundGame(x){return this.httpClient.post(R.GET_BOUND_GAME,{ticketId:x}).pipe((0,m.T)(B=>B.data))}static#A=this.\u0275fac=function(B){return new(B||R)(s.KVO(M.t))};static#O=this.\u0275prov=s.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})()},78453:(Be,K,l)=>{"use strict";l.d(K,{i:()=>h});const h=new(l(54438).nKC)("RWD_WEB_CUSTOMIZE_MESSAGE_CONFIG")},78530:(Be,K,l)=>{"use strict";l.d(K,{b:()=>W});var s=l(21626),h=l(54438),e=l(51433),u=l(30617),m=l(29655),C=l(95091),w=l(34944),M=l(35513),b=l(37996),R=l(20753),L=l(93166),x=l(78382),B=l(94768),Y=l(27056),j=l(23294),ve=l(25558),oe=l(96354),H=l(5964),ae=l(96697),pe=l(88141),de=l(78453),Pe=function(J){return J[J.WEB=1]="WEB",J[J.H5=2]="H5",J}(Pe||{});let W=(()=>{class J extends B.Y{static#e=this.GET_MESSAGE_BY_TYPES_GET="/api/bt/v1/message/getMessageByTypes";static#t=this.GET_MESSAGE_BY_TYPES_POST="/api/bt/v1/message/getMessageByTypes";static#n=this.GET_PROMOTION_LIST_ALL_GAMETYPE="/api/bt/v1/message/getPromotionListAllGameType";static#s=this.GET_PROMOTION_LIST="/api/bt/v1/message/getPromotionListByWaterfall";static#i=this.GET_PROMOTION_CATEGORIES="/api/bt/v1/message/getPromotionCategories";static#o=this.GET_PROMOTION_LIST_BY_CATEGORIES="/api/bt/v1/message/getPromotionListByCategories";static#r=this.CHECK_PROMO_CODE="/api/bt/v1/message/checkPromoCode";static#a=this.GET_SOCIAL_MEDIA="/api/bt/v1/message/getSocialMedia";static#c=this.GET_FEATURED_GAMES="/api/bt/v1/message/getFeaturedGames";static#l=this.GET_TNC_LIST="/api/bt/v1/message/getTncList";static#u=this.GET_MESSAGE_DETAIL_BY_ID="/api/bt/v1/message/getMessageDetailById";constructor(){super(),this.rwdCustomizeConfig=(0,h.WQX)(de.i,{optional:!0}),this.authState=(0,h.WQX)(e.H),this.siteSetting=(0,h.WQX)(u.p),this.actions=(0,h.WQX)(Y.ZA).create(),this.httpClient=(0,h.WQX)(m.t),this.environment=(0,h.WQX)(R.n),this.isScrollBannerAndFeatureGameLoaded=(0,h.vPA)(!1),this.connect("messageModelList",this.actions.getMessageByTypes$.pipe((0,j.F)((q,$)=>q.currencyTypeId===$.currencyTypeId&&q.languageTypeId===$.languageTypeId&&q.isLogin===$.isLogin&&q.isRWD===$.isRWD),(0,ve.n)(q=>this._getMessageByTypes(q))))}getSocialMedia(){const q={key:J.GET_SOCIAL_MEDIA,maxAge:x.yr.HOUR,canUseCache:C.C.SAME_CURRENCY_LANGUAGE_IN_QUERY_PARAMS},$=new s._y;return $.set(w.W,q),$.set(M.kZ,!0),this.httpClient.get(J.GET_SOCIAL_MEDIA,{platformTypes:[Pe.H5].join(",")},{context:$}).pipe((0,oe.T)(se=>se.data))}getFeatureGames(){return this.httpClient.get(J.GET_FEATURED_GAMES,{platformTypes:[Pe.H5].join(",")}).pipe((0,oe.T)($=>$.data))}checkPromoCode(q){return this.httpClient.post(J.CHECK_PROMO_CODE,{promoCode:q}).pipe((0,oe.T)($=>$))}getPromotionListAllGametype(){return this.httpClient.post(J.GET_PROMOTION_LIST_ALL_GAMETYPE,{platformTypes:[Pe.H5]}).pipe((0,oe.T)($=>$.data||{}))}getPromotionCategories(){return this.httpClient.post(J.GET_PROMOTION_CATEGORIES,{platformTypes:[Pe.H5]}).pipe((0,oe.T)($=>$.data||{}))}getPromotionList(q){return this.httpClient.post(J.GET_PROMOTION_LIST,{...q,platformTypes:[Pe.H5]}).pipe((0,oe.T)(Q=>Q.data||{}))}getPromotionListByCategories(q){return this.httpClient.post(J.GET_PROMOTION_LIST_BY_CATEGORIES,{...q,platformTypes:[Pe.H5]}).pipe((0,oe.T)(Q=>Q.data||{}))}getPromotionListPost(){return this.httpClient.post(J.GET_MESSAGE_BY_TYPES_POST,{messageTypes:[b.G.PROMOTION.unique],platformTypes:[Pe.H5]}).pipe((0,oe.T)($=>$.data||[]))}getMessageByTypes(q=[],$=!1){const Q={messageTypes:q,forceRefresh:$,isLogin:this.authState.get("isLogin"),currencyTypeId:this.siteSetting.get("currentCurrencyType")?.unique,languageTypeId:this.siteSetting.get("currentLanguageType")?.unique,isRWD:this.environment.isRWD};return this.actions.getMessageByTypes(Q),this.select("messageModelList").pipe((0,H.p)(()=>"stable"===this.get("getMessageByTypesApiStatus")),(0,ae.s)(1),(0,oe.T)(se=>se.filter(Ee=>!Q.messageTypes?.length||Q.messageTypes.includes(Ee.messageType))))}_getMessageByTypes(q){const $={key:J.GET_MESSAGE_BY_TYPES_GET,maxAge:1*x.yr.SECOND,canUseCache:(Ee,me)=>!q.forceRefresh&&C.C.SAME_CURRENCY_LANGUAGE_IN_PARAMS(Ee,me)};return(new s._y).set(w.W,$),this.set("getMessageByTypesApiStatus",()=>"fetching"),this.httpClient.get(J.GET_MESSAGE_BY_TYPES_GET,{platformTypes:[Pe.H5].join(","),...this.setMessageTypeForWebContent()}).pipe((0,oe.T)(Ee=>Ee.data||[]),(0,pe.M)(()=>{this.set("getMessageByTypesApiStatus",()=>"stable")}))}getMessageDetailById(q,$){return this.httpClient.get(J.GET_MESSAGE_DETAIL_BY_ID,{id:q,platformTypes:[Pe.H5].join(","),...this.setMessageTypeForWebContent($)}).pipe((0,oe.T)(se=>se.data))}getMessageByTypesPost(q=[],$=!1){const Q={key:J.GET_MESSAGE_BY_TYPES_POST,maxAge:10*x.yr.MINUTE,canUseCache:(me,je)=>!$&&C.C.SAME_CURRENCY_LANGUAGE_IN_BODY(me,je)},se=new s._y;se.set(w.W,Q);const Ee=[Pe.H5];return this.httpClient.post(J.GET_MESSAGE_BY_TYPES_POST,{messageTypes:b.G.values.filter(me=>me.unique!==b.G.PROMOTION.unique).map(me=>me.unique),_originMessageTypes:q,platformTypes:Ee},{context:se}).pipe((0,oe.T)(me=>(me.data||[]).filter(je=>!q?.length||q.includes(je.messageType))))}setMessageTypeForWebContent(q){const $=this.rwdCustomizeConfig?.messageTypes||[];if($?.length>0&&(q||!L.U.isMobileBrowser()))return{typesRequireAllPlatform:$?.toString()}}getTncListPost(){return this.httpClient.post(J.GET_TNC_LIST,{}).pipe((0,oe.T)(q=>q.data||{}))}getTncList(){return this.httpClient.get(J.GET_TNC_LIST,{}).pipe((0,oe.T)(q=>q.data||{}))}static#d=this.\u0275fac=function($){return new($||J)};static#h=this.\u0275prov=h.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})()},70956:(Be,K,l)=>{"use strict";l.d(K,{R:()=>h,i:()=>s});var s=function(e){return e[e.FALSE=0]="FALSE",e[e.TRUE=1]="TRUE",e}(s||{}),h=function(e){return e[e.NORMAL=1]="NORMAL",e[e.PARAMETER=2]="PARAMETER",e[e.HTML=3]="HTML",e}(h||{})},68990:(Be,K,l)=>{"use strict";l.d(K,{$:()=>J});var s=l(54438),h=l(11586),e=l(30617),u=l(29655),m=l(79336),C=l(7760),w=l(94768),M=l(27056),b=l(5964),R=l(25558),L=l(69568),x=l(96354),B=l(30786),Y=l(23294),j=l(96697),ve=l(7673),oe=l(35060),H=l(88141),ae=l(18810),pe=l(12498),de=l(70956),Pe=l(21626),W=l(35513);let J=(()=>{class te extends w.Y{static#e=this.GET_VENDORS="/api/bt/v1/provider/getVendors";static#t=this.GET_GAME_LIST_BY_CATEGORY="/api/bt/v1/provider/getGameListByCategory";static#n=this.GET_JACKPOT_INFO="/api/bt/v1/provider/getJackpotInfo";static#s=this.SET_FAVORITE_BY_GAME_ID="/api/bt/v1/provider/setFavoriteByGameId";static#i=this.GET_TRIAL_GAME_URL="/api/bt/v1/provider/getTrailGameUrl";static#o=this.GET_GAME_URL="/api/bt/v1/provider/getGameUrl";static#r=this.GET_CATEGORIES_BY_GROUP="/api/bt/v1/provider/getCategoriesByGroup";static#a=this.TRANSFER_ALL_TO_PROVIDER="/api/bt/v1/provider/transferAllToProvider";static#c=this.GET_WEBSITE_CATEGORY="/api/bt/v1/provider/getWebsiteCategory";static#l=this.GET_PERSONALIZED_WEBSITE_CATEGORY="/api/bt/v1/provider/getPersonalizedWebsiteCategory";static#u=this.GET_RECOMMENDED_GAME_LIST="/api/bt/v1/provider/getRecommendGameList";static#d=this.GET_GAME_LIST_BY_KEYWORD="/api/bt/v1/provider/getGameListByKeyWord";constructor(){super(),this.siteSetting=(0,s.WQX)(e.p),this.settingService=(0,s.WQX)(h.q),this.siteSettingChange$=this.settingService.select("siteSettingApiStatus").pipe((0,b.p)($=>"stable"===$),(0,R.n)(()=>this.settingService.select("siteSetting")),(0,L.t)(1)),this.isEnableWebsiteCategory$=this.siteSettingChange$.pipe((0,R.n)(()=>this.settingService.select("siteSetting").pipe((0,x.T)($=>$.isEnableWebsiteCategory))),(0,L.t)(1)),this.actions=(0,s.WQX)(M.ZA).create(),this.httpClient=(0,s.WQX)(u.t),this.connect("websiteCategoryData",this.actions.getWebsiteCategory$.pipe((0,b.p)(()=>"stable"===this.settingService.get("siteSettingApiStatus")),(0,B.p)($=>this.getWebsiteCategory($)))),this.connect("vendorsData",this.actions.getVendors$.pipe((0,Y.F)(($,Q)=>$.currencyTypeId===Q.currencyTypeId&&$.languageTypeId===Q.languageTypeId&&this.isArrayEqual($.gameTypes,Q.gameTypes)),(0,R.n)($=>this.getVendors($.gameTypes))))}isArrayEqual($,Q){if($.length!==Q.length)return!1;for(let se=0;se<$.length;se++)if($[se]!==Q[se])return!1;return!0}getWebsiteCategory($){return this.isEnableWebsiteCategory$.pipe((0,j.s)(1),(0,R.n)(Q=>{const se=this.get("websiteCategoryData"),Ee=this.get("websiteCategoryFetchedAt"),me=this.get("lastCurrencyTypeId"),je=this.get("lastLanguageTypeId"),Qe=this.siteSetting.get("currentCurrencyType")?.unique,Ot=this.siteSetting.get("currentLanguageType")?.unique;return this.isValidWebsiteCategoryCache(se,Ee,me,je,Qe,Ot)&&!$?.force?(0,ve.of)(se):Q||$?.force?this.httpClient.get(te.GET_WEBSITE_CATEGORY).pipe((0,x.T)(Oe=>Oe.data),(0,H.M)(Oe=>{this.set({websiteCategoryData:Oe,websiteCategoryFetchedAt:Date.now(),lastCurrencyTypeId:Qe,lastLanguageTypeId:Ot})})):oe.t}))}getVendors($=[]){return this.set("getVendorsApiStatus",()=>"fetching"),this.httpClient.get(te.GET_VENDORS,{gameTypes:$.toString()}).pipe((0,x.T)(Q=>Q.data),(0,H.M)(()=>{this.set("getVendorsApiStatus",()=>"stable")}))}getGameListByCategory($){return this.httpClient.post(te.GET_GAME_LIST_BY_CATEGORY,$).pipe((0,x.T)(Q=>Q.data))}getJackpotInfo(){return this.httpClient.get(te.GET_JACKPOT_INFO).pipe((0,x.T)($=>$.data))}addFavoriteGameById($){return this.httpClient.post(te.SET_FAVORITE_BY_GAME_ID,{favoriteGames:$}).pipe((0,x.T)(Q=>Q.data))}getGameUrl($,Q=!1){let Ee=0;const me={...$,isDesktop:!0===$.isDesktop?de.i.TRUE:!1===$.isDesktop?de.i.FALSE:$.isDesktop},je=new Pe._y;return je.set(W.wM,Q),this.httpClient.post(te.GET_GAME_URL,me,{context:je}).pipe((0,R.n)(Qe=>Qe?.status===m.m.OPEN_GAME_RETRY.statusCode&&Ee<2?(Ee++,(0,ae.$)(()=>Qe)):(0,ve.of)(Qe)),(0,x.T)(Qe=>(Qe.data?.htmlData&&(Qe.data.htmlData=window.atob(Qe.data?.htmlData||"").toString()),Qe)),(0,pe.L)({count:2,delay:2e3}))}getTrialGameUrl($,Q=!1){let Ee=0;const me={...$,isDesktop:!0===$.isDesktop?de.i.TRUE:!1===$.isDesktop?de.i.FALSE:$.isDesktop},je=new Pe._y;return je.set(W.wM,Q),this.httpClient.post(te.GET_TRIAL_GAME_URL,me,{context:je}).pipe((0,R.n)(Qe=>Qe?.status===m.m.OPEN_GAME_RETRY.statusCode&&Ee<2?(Ee++,(0,ae.$)(()=>Qe)):(0,ve.of)(Qe)),(0,x.T)(Qe=>(Qe.data?.htmlData&&(Qe.data.htmlData=window.atob(Qe.data?.htmlData||"").toString()),Qe)),(0,pe.L)({count:2,delay:2e3}))}getCategoriesByGroup($,Q){return this.httpClient.post(te.GET_CATEGORIES_BY_GROUP,{gameTypeId:$,isMain:Q}).pipe((0,x.T)(se=>se.data))}transferAllToProvider($){return this.httpClient.post(te.TRANSFER_ALL_TO_PROVIDER,{vendorId:$}).pipe((0,x.T)(Q=>Q.data))}getPersonalizedWebsiteCategory(){return this.httpClient.get(te.GET_PERSONALIZED_WEBSITE_CATEGORY).pipe((0,x.T)($=>$.data))}getRecommendGameList($,Q){return this.httpClient.post(te.GET_RECOMMENDED_GAME_LIST,{gameTypeIds:$,vendorIds:Q}).pipe((0,x.T)(se=>se.data))}clearWebsiteCategory(){this.set("websiteCategoryData",()=>({[C.mS.LEFT_MENU]:void 0,[C.mS.MAIN_TAB]:void 0,[C.mS.HEADER_FAST]:void 0,[C.mS.CASINO_MENU]:void 0}))}getGameListByKeyword($){return this.httpClient.post(te.GET_GAME_LIST_BY_KEYWORD,$).pipe((0,x.T)(Q=>Q.data))}isValidWebsiteCategoryCache($,Q,se,Ee,me,je){const Ot=Date.now();return!!$&&Object.keys($).length>0&&Object.values($).some(Oe=>Array.isArray(Oe)&&Oe.length>0)&&!!Q&&Ot-Q<6e5&&se===me&&Ee===je}static#h=this.\u0275fac=function(Q){return new(Q||te)};static#f=this.\u0275prov=s.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})()},65215:(Be,K,l)=>{"use strict";l.d(K,{j:()=>u});var s=l(54438),h=l(29655),e=l(96354);let u=(()=>{class m{#e=(0,s.WQX)(h.t);#t="/api/bt/v1/ranking";getWinnerBoard(w){return this.#e.post(`${this.#t}/getWinnerBoard`,w).pipe((0,e.T)(M=>M.data))}getWinnerBoardHistory(w){return this.#e.post(`${this.#t}/getWinnerBoardHistory`,w).pipe((0,e.T)(M=>M.data))}getWinnerBoardReward(w){return this.#e.post(`${this.#t}/getWinnerBoardReward`,w).pipe((0,e.T)(M=>M.data))}static#n=this.\u0275fac=function(M){return new(M||m)};static#s=this.\u0275prov=s.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},56738:(Be,K,l)=>{"use strict";l.d(K,{Cd:()=>e,Gd:()=>s,X5:()=>h,t8:()=>m});var s=function(C){return C[C.LEDAER_BOARD=0]="LEDAER_BOARD",C[C.FIRST_TO_REACH=1]="FIRST_TO_REACH",C}(s||{}),h=function(C){return C[C.DAILY=1]="DAILY",C[C.WEEKLY=2]="WEEKLY",C[C.MONTHLY=4]="MONTHLY",C}(h||{}),e=function(C){return C[C.WIN_AMOUNT=0]="WIN_AMOUNT",C[C.WIN_MULTIPLIER=1]="WIN_MULTIPLIER",C[C.TURNOVER=2]="TURNOVER",C}(e||{}),m=function(C){return C[C.BONUS=0]="BONUS",C[C.PHYSICAL=1]="PHYSICAL",C}(m||{})},76288:(Be,K,l)=>{"use strict";l.d(K,{V:()=>h,z:()=>s});var s=function(e){return e[e.CXGENIE=1]="CXGENIE",e[e.INTERCOM=2]="INTERCOM",e[e.LIVECHAT=3]="LIVECHAT",e[e.CUSTOMIZED=4]="CUSTOMIZED",e}(s||{}),h=function(e){return e[e.FB_PIXEL=1]="FB_PIXEL",e[e.GA=2]="GA",e[e.GTM=3]="GTM",e[e.FB_CAPI=4]="FB_CAPI",e[e.TIKTOK_PIXEL=5]="TIKTOK_PIXEL",e[e.TIKTOK_API=6]="TIKTOK_API",e}(h||{})},11586:(Be,K,l)=>{"use strict";l.d(K,{q:()=>ve});var s=l(54438),h=l(29655),e=l(92771),u=l(84412),m=l(96354),C=l(88141),w=l(76288),M=l(95091),b=l(34944),R=l(78382),L=l(21626),x=l(94768),B=l(51433),Y=l(35513),j=l(60177);let ve=(()=>{class oe extends x.Y{static#e=this.GET_CURRENCY_MAPPING="/api/bt/v1/setting/getCurrencyMapping";static#t=this.GET_CURRENCY_MAPPING_BY_TYPE="/api/bt/v1/setting/getCurrencyMappingByType";static#n=this.GET_SEO_SETTING="/api/bt/v1/setting/getSEOSetting";static#s=this.GET_CUSTOMER_SERVICE="/api/bt/v1/setting/getCustomerService";static#i=this.GET_REGISTER_SETTING="/api/bt/v1/setting/getRegisterSetting";static#o=this.GET_SIGNUP_SETTING="/api/bt/v1/setting/getSignUpSetting";static#r=this.GET_SITE_SETTING="/api/bt/v1/setting/getSiteSetting";static#a=this.CHANGE_CURRENCY_LANG="/api/bt/v1/setting/changeCurrencyLang";static#c=this.GET_APK_URL="/api/bt/v1/setting/getApkUrl";static#l=this.FORGOT_PASSWORD_SETTING="/api/bt/v2_1/setting/forgotPasswordSetting";constructor(){super(),this.httpClient=(0,s.WQX)(h.t),this.authState=(0,s.WQX)(B.H),this.isBrowser=(0,j.UE)((0,s.WQX)(s.Agw)),this.registerEnableVerification$=new e.m(0),this.turnstileSiteKey$=new u.t(""),this.forceNativeApp=!1}markAsNativeApp(){this.forceNativeApp=!0}getCurrencyMapping(){const ae=new L._y;return ae.set(Y.kZ,!0),ae.set(Y.bP,!0),ae.set(Y.SW,!0),this.httpClient.get(oe.GET_CURRENCY_MAPPING,{},{context:ae}).pipe((0,m.T)(pe=>pe.data))}getCurrencyMappingByType(ae){return this.httpClient.post(oe.GET_CURRENCY_MAPPING_BY_TYPE,{currencySettingTypes:ae}).pipe((0,m.T)(pe=>pe.data))}getSEOSetting(ae,pe=!1){const de={key:oe.GET_SEO_SETTING,maxAge:2*R.yr.HOUR,canUseCache:(W,J)=>!pe&&M.C.SAME_CURRENCY_LANGUAGE_IN_BODY(W,J)},Pe=new L._y;return Pe.set(b.W,de),this.httpClient.post(oe.GET_SEO_SETTING,{pageType:ae},{context:Pe}).pipe((0,m.T)(W=>W.data))}getRegisterSetting(){const ae={key:oe.GET_REGISTER_SETTING,maxAge:12*R.yr.HOUR},pe=new L._y;return pe.set(b.W,ae),this.httpClient.post(oe.GET_REGISTER_SETTING,void 0,{context:pe}).pipe((0,m.T)(de=>de.data))}getSignUpSetting(){const ae={key:oe.GET_SIGNUP_SETTING,maxAge:12*R.yr.HOUR},pe=new L._y;return pe.set(b.W,ae),this.httpClient.post(oe.GET_SIGNUP_SETTING,void 0,{context:pe}).pipe((0,m.T)(de=>de.data))}setRegisterEnableVerification(ae){this.registerEnableVerification$.next(ae)}getRegisterEnableVerification(){return this.registerEnableVerification$.asObservable()}setTurnstileSiteKey(ae){this.turnstileSiteKey$.next(ae)}getTurnstileSiteKey(){return this.turnstileSiteKey$.asObservable()}getSiteSettingAPIResponse(){this.set("siteSettingApiStatus",()=>"fetching");let ae={dataPlatformTypeId:2};if(this.isBrowser){const de=this.authState.get("accountInfo")?.affiliateCode||sessionStorage.getItem("affiliateCode");ae={...ae,...de&&{affiliateCode:de}}}return this.httpClient.get(oe.GET_SITE_SETTING,ae).pipe((0,m.T)(pe=>(pe?.data&&this.forceNativeApp&&(pe.data.isNativeApp=!0),pe?.data&&pe?.data.liveChatSetting?.settingType===w.z.CUSTOMIZED&&(pe.data.csLiveChatLink=pe.data.liveChatSetting.settingLink||pe.data.csLiveChatLink),{...pe})),(0,C.M)(pe=>{this.set("siteSetting",()=>pe?.data),this.set("siteSettingApiStatus",()=>"stable")}))}getSiteSetting(){return this.getSiteSettingAPIResponse().pipe((0,m.T)(ae=>ae.data))}getCustomerService(){const ae={key:oe.GET_CUSTOMER_SERVICE,maxAge:12*R.yr.HOUR,canUseCache:(de,Pe)=>{const W=de.params,J=Pe.request.params;return M.C.SAME_CURRENCY_LANGUAGE_IN_QUERY_PARAMS(de,Pe)&&W?.get("isLogin")===J?.get("isLogin")}},pe=new L._y;return pe.set(b.W,ae),this.httpClient.get(oe.GET_CUSTOMER_SERVICE,void 0,{context:pe}).pipe((0,m.T)(de=>de.data))}changeCurrencyLang(ae){return this.httpClient.post(oe.CHANGE_CURRENCY_LANG,ae).pipe((0,m.T)(pe=>pe?.data?.redirectTo))}getApkUrl(){return this.httpClient.post(oe.GET_APK_URL).pipe((0,m.T)(ae=>ae.data?.url))}forgotPasswordSetting(){return this.httpClient.post(oe.FORGOT_PASSWORD_SETTING).pipe((0,m.T)(ae=>ae.data))}static#u=this.\u0275fac=function(pe){return new(pe||oe)};static#d=this.\u0275prov=s.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})()},70840:(Be,K,l)=>{"use strict";l.d(K,{D:()=>yt});var s={};l.r(s),l.d(s,{ERROR_API_KEY_EXPIRED:()=>se,ERROR_API_KEY_INVALID:()=>Q,ERROR_API_KEY_MISSING:()=>$,ERROR_BAD_REQUEST_FORMAT:()=>Ee,ERROR_BAD_RESPONSE_FORMAT:()=>H,ERROR_CLIENT_TIMEOUT:()=>j,ERROR_CSP_BLOCK:()=>ae,ERROR_FORBIDDEN_ENDPOINT:()=>te,ERROR_FORBIDDEN_HEADER:()=>mt,ERROR_FORBIDDEN_ORIGIN:()=>Ot,ERROR_GENERAL_SERVER_FAILURE:()=>me,ERROR_INSTALLATION_METHOD_RESTRICTED:()=>J,ERROR_INTEGRATION_FAILURE:()=>q,ERROR_INVALID_ENDPOINT:()=>pe,ERROR_NETWORK_ABORT:()=>oe,ERROR_NETWORK_CONNECTION:()=>ve,ERROR_RATE_LIMIT:()=>Qe,ERROR_SCRIPT_LOAD_FAIL:()=>ht,ERROR_SERVER_TIMEOUT:()=>je,ERROR_SUBSCRIPTION_NOT_ACTIVE:()=>Pe,ERROR_TOKEN_EXPIRED:()=>Ve,ERROR_TOKEN_INVALID:()=>Re,ERROR_TOKEN_MISSING:()=>Oe,ERROR_UNSUPPORTED_VERSION:()=>W,ERROR_WRONG_REGION:()=>de,default:()=>tn,defaultEndpoint:()=>x,defaultScriptUrlPattern:()=>ft,defaultTlsEndpoint:()=>B,load:()=>vt});var h=l(21626),e=l(54438),u=l(89079),m=l(20897),C=l(35513),w=l(79336),M=l(52662),b=l(10467),R=l(31635),x={default:"endpoint"},B={default:"tlsEndpoint"};function Y(et){for(var rt="",xe=0;xe0){var Je=et[xe].toLowerCase();rt+=Je!==et[xe]?" ".concat(Je):et[xe]}else rt+=et[xe].toUpperCase();return rt}var j="Client timeout",ve="Network connection error",oe="Network request aborted",H="Response cannot be parsed",ae="Blocked by CSP",pe="The endpoint parameter is not a valid URL",de=Y("WrongRegion"),Pe=Y("SubscriptionNotActive"),W=Y("UnsupportedVersion"),J=Y("InstallationMethodRestricted"),te=Y("HostnameRestricted"),q=Y("IntegrationFailed"),$="API key required",Q="API key not found",se="API key expired",Ee="Request cannot be parsed",me="Request failed",je="Request failed to process",Qe="Too many requests, rate limit exceeded",Ot="Not available for this origin",mt="Not available with restricted header",Oe=$,Re=Q,Ve=se,ye="3.9.7",ht="Failed to load the JS script of the agent",Ce="9319",ut="https://fpnpmcdn.net/v//loader_v.js",ft=ut;function vt(et){var rt,ss,Ki,ri,xi,ji,Je=et.apiKey,Yt=void 0===Je?et.token:Je,ln=(0,R.Tt)(et,["scriptUrlPattern","token","apiKey"]),kn=null!==(rt=function L(et,rt){return Object.prototype.hasOwnProperty.call(et,rt)?et[rt]:void 0}(et,"scriptUrlPattern"))&&void 0!==rt?rt:ut,di=(ri=[],xi=function(){ri.push({time:new Date,state:document.visibilityState})},(ss=document).addEventListener("visibilitychange",Ki=xi,void 0),ji=function(){return ss.removeEventListener("visibilitychange",Ki,void 0)},xi(),[ri,ji]),Ni=di[0],Qn=di[1];return Promise.resolve().then(function(){if(!Yt||"string"!=typeof Yt)throw new Error($);var ri=function(xi,ji){return(Array.isArray(xi)?xi:[xi]).map(function(ss){return function(mi,Ki){var rs=encodeURIComponent;return mi.replace(/<[^<>]+>/g,function(be){return""===be?"3":""===be?rs(Ki):""===be?rs(ye):be})}(String(ss),ji)})}(kn,Yt);return function We(et,rt){var xe,Je,Yt,di,mi,Ni=[],Qn=(mi=(0,R.fX)([],et,!0),xe={current:function(){return mi[0]},postpone:function(){var Ki=mi.shift();void 0!==Ki&&mi.push(Ki)},exclude:function(){mi.shift()}},di=0,Je=function(){return Math.random()*Math.min(3e3,100*Math.pow(2,di++))},Yt=new Set,[xe.current(),function(ss,mi){var Ki,rs=mi instanceof Error?mi.message:"";if(rs===ae||rs===pe)xe.exclude(),Ki=0;else if(rs===Ce)xe.exclude();else if(rs===ht){var be=Date.now()-ss.getTime()<50,Ze=xe.current();Ze&&be&&!Yt.has(Ze)&&(Yt.add(Ze),Ki=0),xe.postpone()}else xe.postpone();var qe=xe.current();return void 0===qe?void 0:[qe,Ki??ss.getTime()+Je()-Date.now()]}]),ri=Qn[0],xi=Qn[1];if(void 0===ri)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var ji=function(ss){var mi=new Date,Ki=function(be){return Ni.push({url:ss,startedAt:mi,finishedAt:new Date,error:be})},rs=rt(ss);return rs.then(function(){return Ki()},Ki),rs.catch(function(be){if(Ni.length>=5)throw be;var Ze=xi(mi,be);if(!Ze)throw be;var qe,Lt=Ze[0];return(qe=Ze[1],new Promise(function(cn){return setTimeout(cn,qe)})).then(function(){return ji(Lt)})})};return ji(ri).then(function(ss){return[ss,Ni]})}(ri,Kt)}).catch(function(ri){throw Qn(),function(xi){return xi instanceof Error&&xi.message===Ce?new Error(ht):xi}(ri)}).then(function(ri){var xi=ri[0],ji=ri[1];return Qn(),xi.load((0,R.Cl)((0,R.Cl)({},ln),{ldi:{attempts:ji,visibilityStates:Ni}}))})}function Kt(et){return function(rt,xe,Je,Yt){var ln,kn=document,di="securitypolicyviolation",Ni=function(ri){var xi=new URL(rt,location.href),ji=ri.blockedURI;ji!==xi.href&&ji!==xi.protocol.slice(0,-1)&&ji!==xi.origin||(ln=ri,Qn())};kn.addEventListener(di,Ni);var Qn=function(){return kn.removeEventListener(di,Ni)};return Promise.resolve().then(function(){return function(rt){return new Promise(function(xe,Je){if(function(di){if(URL.prototype)try{return new URL(di,location.href),!1}catch(Ni){if(Ni instanceof Error&&"TypeError"===Ni.name)return!0;throw Ni}}(rt))throw new Error(pe);var Yt=document.createElement("script"),ln=function(){var di;return null===(di=Yt.parentNode)||void 0===di?void 0:di.removeChild(Yt)},kn=document.head||document.getElementsByTagName("head")[0];Yt.onload=function(){ln(),xe()},Yt.onerror=function(){ln(),Je(new Error(ht))},Yt.async=!0,Yt.src=rt,kn.appendChild(Yt)})}(et)}).then(function(ri){return Qn(),ri},function(ri){return new Promise(function(xi){return setTimeout(xi)}).then(function(){if(Qn(),ln)return function(){throw new Error(ae)}();throw ri})})}(et).then(wt)}function wt(){var Je,Yt,ln,kn,et=window,rt="__fpjs_p_l_b",xe=et[rt];if(Je=et,Yt=rt,kn=null===(ln=Object.getOwnPropertyDescriptor)||void 0===ln?void 0:ln.call(Object,Je,Yt),kn?.configurable?delete Je[Yt]:kn&&!kn.writable||(Je[Yt]=void 0),"function"!=typeof xe?.load)throw new Error(Ce);return xe}var tn={load:vt,defaultScriptUrlPattern:ft,ERROR_SCRIPT_LOAD_FAIL:ht,ERROR_API_KEY_EXPIRED:se,ERROR_API_KEY_INVALID:Q,ERROR_API_KEY_MISSING:$,ERROR_BAD_REQUEST_FORMAT:Ee,ERROR_BAD_RESPONSE_FORMAT:H,ERROR_CLIENT_TIMEOUT:j,ERROR_CSP_BLOCK:ae,ERROR_FORBIDDEN_ENDPOINT:te,ERROR_FORBIDDEN_HEADER:mt,ERROR_FORBIDDEN_ORIGIN:Ot,ERROR_GENERAL_SERVER_FAILURE:me,ERROR_INSTALLATION_METHOD_RESTRICTED:J,ERROR_INTEGRATION_FAILURE:q,ERROR_INVALID_ENDPOINT:pe,ERROR_NETWORK_ABORT:oe,ERROR_NETWORK_CONNECTION:ve,ERROR_RATE_LIMIT:Qe,ERROR_SERVER_TIMEOUT:je,ERROR_SUBSCRIPTION_NOT_ACTIVE:Pe,ERROR_TOKEN_EXPIRED:Ve,ERROR_TOKEN_INVALID:Re,ERROR_TOKEN_MISSING:Oe,ERROR_UNSUPPORTED_VERSION:W,ERROR_WRONG_REGION:de,defaultEndpoint:x,defaultTlsEndpoint:B};const Wn="@fpjs@client@",Zt=()=>Date.now();class dn{constructor(rt){var xe;this.tag=rt.tag||null,this.linkedId=rt.linkedId||null,this.extendedResult=null!==(xe=rt.extendedResult)&&void 0!==xe&&xe}toKey(){return`${JSON.stringify(this.tag)}__${JSON.stringify(this.linkedId)}__${this.extendedResult}`}}function Pt(et,rt){return`${rt}__${et}`}function Ln(et,rt){return et.replace(`${rt}__`,"")}class dt{constructor(rt=Wn){this.prefix=rt}set(rt,xe){window.localStorage.setItem(Pt(rt,this.prefix),JSON.stringify(xe))}get(rt){const xe=window.localStorage.getItem(Pt(rt,this.prefix));if(xe)try{return JSON.parse(xe)}catch{return}}remove(rt){window.localStorage.removeItem(Pt(rt,this.prefix))}allKeys(){return Object.keys(window.localStorage).filter(rt=>rt.startsWith(this.prefix)).map(rt=>Ln(rt,this.prefix))}}class fe{constructor(rt=Wn){this.prefix=rt}set(rt,xe){window.sessionStorage.setItem(Pt(rt,this.prefix),JSON.stringify(xe))}get(rt){const xe=window.sessionStorage.getItem(Pt(rt,this.prefix));if(xe)try{return JSON.parse(xe)}catch{return}}remove(rt){window.sessionStorage.removeItem(Pt(rt,this.prefix))}allKeys(){return Object.keys(window.sessionStorage).filter(rt=>rt.startsWith(this.prefix)).map(rt=>Ln(rt,this.prefix))}}class _e{constructor(rt,xe=3600,Je){this.cache=rt,this.cacheTime=xe,this.nowProvider=Je||Zt}get(rt){return(0,R.sH)(this,void 0,void 0,function*(){const xe=yield this.cache.get(rt.toKey());if(!xe)return;const Je=yield this.nowProvider(),Yt=Math.floor(Je/1e3);if(!(xe.expiresAtthis.cache.remove(xe)))})}wrapCacheEntry(rt){return(0,R.sH)(this,void 0,void 0,function*(){const xe=yield this.nowProvider(),Je=Math.floor(xe/1e3)+this.cacheTime;return{body:rt,expiresAt:Je}})}}class Le{constructor(){this.enclosedCache=function(){const rt={};return{set(xe,Je){rt[xe]=Je},get(xe){const Je=rt[xe];if(Je)return Je},remove(xe){delete rt[xe]},allKeys:()=>Object.keys(rt)}}()}}class tt{set(){}get(){}remove(){}allKeys(){return[]}}var nt=function(et){return et.Memory="memory",et.LocalStorage="localstorage",et.SessionStorage="sessionstorage",et.NoCache="nocache",et}(nt||{});const Qt={[nt.Memory]:()=>(new Le).enclosedCache,[nt.LocalStorage]:et=>new dt(et),[nt.SessionStorage]:et=>new fe(et),[nt.NoCache]:()=>new tt},yn=et=>Qt[et];class On{constructor(rt){var xe;let Je;if(this.inFlightRequests=new Map,this.agentPromise=null,this.customAgent=rt?.customAgent,this.agent={get:()=>{throw new Error("FPJSAgent hasn't loaded yet. Make sure to call the init() method first.")}},this.loadOptions=rt?.loadOptions,rt?.cache&&rt?.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the FpjsClient configuration; ignoring `cacheLocation` and using `cache`."),rt?.cache)Je=rt.cache;else{if(this.cacheLocation=rt?.cacheLocation||nt.SessionStorage,!yn(this.cacheLocation))throw new Error(`Invalid cache location "${this.cacheLocation}"`);(et=>{switch(this.cacheLocation){case nt.SessionStorage:try{window.sessionStorage.getItem("item")}catch{return!1}return!0;case nt.LocalStorage:try{window.localStorage.getItem("item")}catch{return!1}return!0;default:return!0}})()||(this.cacheLocation=nt.Memory),Je=yn(this.cacheLocation)(rt?.cachePrefix)}if(rt?.cacheTimeInSeconds&&rt.cacheTimeInSeconds>86400)throw new Error("Cache time cannot exceed 86400 seconds (24 hours)");const Yt=null!==(xe=rt?.cacheTimeInSeconds)&&void 0!==xe?xe:3600;this.cacheManager=new _e(Je,Yt)}init(rt){return(0,R.sH)(this,void 0,void 0,function*(){var xe,Je;if(!this.loadOptions&&!rt)throw new TypeError("No load options provided");const Yt=Object.assign(Object.assign(Object.assign({},this.loadOptions),rt),{integrationInfo:[...(null===(xe=this.loadOptions)||void 0===xe?void 0:xe.integrationInfo)||[],...rt?.integrationInfo||[],"fingerprintjs-pro-spa/1.3.1"]});if(!this.agentPromise){const ln=null!==(Je=this.customAgent)&&void 0!==Je?Je:s;this.agentPromise=ln.load(Yt).then(kn=>(this.agent=kn,kn)).catch(kn=>{throw this.agentPromise=null,kn})}return this.agentPromise})}getVisitorData(){return(0,R.sH)(this,arguments,void 0,function*(rt={},xe=!1){const Yt=On.makeCacheKey(rt).toKey();if(!this.inFlightRequests.has(Yt)){const ln=this._identify(rt,xe).finally(()=>{this.inFlightRequests.delete(Yt)});this.inFlightRequests.set(Yt,ln)}return yield this.inFlightRequests.get(Yt)})}getVisitorDataFromCache(){return(0,R.sH)(this,arguments,void 0,function*(rt={}){const xe=On.makeCacheKey(rt),Je=yield this.cacheManager.get(xe);return Je?Object.assign(Object.assign({},Je),{cacheHit:!0}):void 0})}isInCache(){return(0,R.sH)(this,arguments,void 0,function*(rt={}){return!!(yield this.getVisitorDataFromCache(rt))})}clearCache(){return(0,R.sH)(this,void 0,void 0,function*(){yield this.cacheManager.clearCache()})}static makeCacheKey(rt){return new dn(rt)}_identify(rt){return(0,R.sH)(this,arguments,void 0,function*(xe,Je=!1){const Yt=On.makeCacheKey(xe);if(!Je){const kn=yield this.cacheManager.get(Yt);if(kn)return Object.assign(Object.assign({},kn),{cacheHit:!0})}const ln=yield this.agent.get(xe);return yield this.cacheManager.set(Yt,ln),Object.assign(Object.assign({},ln),{cacheHit:!1})})}}const Ui=new e.nKC("ng-fingerprintjspro-settings-token",{factory:()=>({clientOptions:{loadOptions:{apiKey:""}}})});let Hn=(()=>{class et{constructor(xe){this.settings=xe;const{loadOptions:Je}=xe.clientOptions,Yt={...xe.clientOptions,loadOptions:{...Je,integrationInfo:[...Je.integrationInfo||[],"fingerprintjs-pro-angular/1.3.0"]}};this.fingerprintJsClient=new On(Yt),this.fingerprintJsClientInitPromise=this.fingerprintJsClient.init()}getVisitorData(xe,Je){var Yt=this;return(0,b.A)(function*(){return yield Yt.fingerprintJsClientInitPromise,Yt.fingerprintJsClient.getVisitorData(xe,Je)})()}clearCache(){return this.fingerprintJsClient.clearCache()}}return et.\u0275fac=function(xe){return new(xe||et)(e.KVO(Ui))},et.\u0275prov=e.jDH({token:et,factory:et.\u0275fac,providedIn:"root"}),et})();var qn=l(7673),es=l(22806),ai=l(96354),As=l(99437);let is=(()=>{class et{constructor(){this.ngZone=(0,e.WQX)(e.SKi),this.ngZone.runOutsideAngular(()=>{this.fingerprintjsProAngularService=(0,e.WQX)(Hn)})}getVistorId(){return this.fingerprintjsProAngularService?(0,es.H)(this.fingerprintjsProAngularService.getVisitorData()).pipe((0,ai.T)(xe=>xe.visitorId),(0,As.W)(xe=>(console.error("getVisitorData() error: ",xe),(0,qn.of)("")))):(0,qn.of)("")}static#e=this.\u0275fac=function(Je){return new(Je||et)};static#t=this.\u0275prov=e.jDH({token:et,factory:et.\u0275fac})}return et})();var pt=l(80888),Et=l(81042),Fe=l(31360),ct=l(93188),Mt=l(80627),gn=l(36115),Gn=l(95067),Ci=l(84412),Ei=l(25558),st=l(18810),Vt=l(88141),$e=l(29655);let yt=(()=>{class et{static#e=this.REFRESH_TOKEN="/api/bt/v1/user/refreshToken";static#t=this.GET_CAPTCHA_CODE="/api/bt/v1/user/getCaptchaCode";static#n=this.FORGOT_PASSWORD="/api/bt/v1/user/forgotPassword";static#s=this.GET_INBOX_LIST="/api/bt/v1/user/getInboxList";static#i=this.READ_INBOX="/api/bt/v1/user/readInbox";static#o=this.DELETE_INBOX="/api/bt/v1/user/deleteInbox";static#r=this.CHANGE_PASSWORD="/api/bt/v1/user/changePassword";static#a=this.FIRST_CHANGE_PASSWORD="/api/bt/v1/user/firstChangePassword";static#c=this.REGISTER="/api/bt/v2_1/user/register";static#l=this.GET_PROFILE="/api/bt/v1/user/getProfile";static#u=this.GET_VERIFY_CODE_BY_CONTACT_TYPE="/api/bt/v1/user/getVerifyCodeByContactType";static#d=this.GET_FIRST_VERIFY_CODE_BY_CONTACT_TYPE="/api/bt/v1/user/getFirstVerifyCodeByContactType";static#h=this.GET_VERIFY_OTP_CODE="/api/bt/v1/user/getVerifyCode";static#f=this.VERIFY_CONTACT="/api/bt/v1/user/verifyContact";static#p=this.GET_FORUM_LOGIN_URL="/api/bt/v1/user/getForumLoginUrl";static#g=this.GET_INTERCOM_INFO="/api/bt/v1/user/getIntercomInfo";static#_=this.CREATE_DOCUMENT="/api/bt/v1/user/createDocument";static#m=this.GET_VERIFY_DOCUMENT_DETAIL="/api/bt/v1/user/getVerifyDocumentDetail";static#v=this.GET_VERIFY_BANK_PAGE_DETAIL="/api/bt/v1/user/getVerifyBankPageDetail";static#E=this.CREATE_PENDING_VERIFY_BANK_DATE="/api/bt/v1/user/createPendingVerifyBankData";static#C=this.GET_VERIFY_DOCUMENT_DETAIL_BY_GROUP_TYPE="/api/bt/v1/user/getVerifyDocumentDetailByGroupType";static#D=this.SAVE_PROFILE="/api/bt/v1/user/saveProfile";static#I=this.GET_REFERRAL_CODE_CURRENCY="/api/bt/v1/user/getReferralCodeCurrency";static#A=this.CANCEL_BIO_LOGIN="/api/bt/v1/user/cancelBioLogin";static#O=this.REGISTER_BIO_LOGIN="/api/bt/v1/user/registerBioLogin";static#R=this.GET_SERVER_TIME="/api/bt/v1/user/getServerTime";static#S=this.GET_REGISTER_VERIFY_CODE="/api/bt/v2_1/user/getRegisterVerifyCode";static#y=this.ADD_FINGERPRINT_PRO_INFO="/api/bt/v1/user/addFingerprintProInfo";static#T=this.GET_PLAYER_APPROVED_TXN="/api/bt/v1/user/getPlayerApprovedTxn";static#b=this.FORGOT_PASSWORD_BY_CONTACT_TYPE="/api/bt/v2_1/user/forgotPasswordByContactType";static#M=this.VERIFY_FP_BY_CONTACT_TYPE="/api/bt/v2_1/user/verifyFPbyContactType";static#N=this.RESET_PASSWORD_BY_TOKEN="/api/bt/v2_1/user/resetPasswordByToken";static#w=this.GET_INBOX_CONTENT="/api/bt/v1/user/getInboxContent";constructor(xe){this.httpClient=xe,this.apiAuthenticationService=(0,e.WQX)(m.W),this.eventQueueService=(0,e.WQX)(Et.n),this.fingerprintProService=(0,e.WQX)(is,{optional:!0}),this.fingerprintService=(0,e.WQX)(Fe.m),this.destroyRef=(0,e.WQX)(e.abz),this.verifyParameters$=new Ci.t(void 0)}isRefreshTokenApi(xe){return(xe||"").includes(et.REFRESH_TOKEN)}refreshToken(){const xe=new h._y;return xe.set(C.nd,!0),this.httpClient.post(et.REFRESH_TOKEN,void 0,{context:xe}).pipe((0,Ei.n)(Je=>Je.data?(0,qn.of)(Je.data):(0,st.$)(()=>new Error(Je.message))))}getSmsUsers(xe){return this.httpClient.post(et.FORGOT_PASSWORD,xe).pipe((0,ai.T)(Je=>Je))}getEmailUsers(xe){return this.httpClient.post(et.FORGOT_PASSWORD,xe).pipe((0,ai.T)(Je=>Je))}getCaptchaCode(){return this.httpClient.post(et.GET_CAPTCHA_CODE).pipe((0,ai.T)(xe=>(xe.data&&(xe.data.captcha=this.decryptAES128ECB(xe.data.captcha)),xe.data)))}getInboxList(xe){return this.httpClient.post(et.GET_INBOX_LIST,xe).pipe((0,ai.T)(Je=>(Je.data.pageInfo.isLastPage=Je.data.records.lengthJe))}readInbox(xe){return this.httpClient.post(et.READ_INBOX,{inboxIds:xe})}deleteInbox(xe){return this.httpClient.post(et.DELETE_INBOX,{inboxIds:xe})}changePassword(xe){return this.httpClient.post(et.CHANGE_PASSWORD,xe).pipe((0,ai.T)(Je=>Je))}firstChangePassword(xe){return this.httpClient.post(et.FIRST_CHANGE_PASSWORD,xe).pipe((0,ai.T)(Je=>Je))}getRegister(xe){return this.eventQueueService.dispatch(new pt.UZ),(0,qn.of)(void 0).pipe((0,Ei.n)(()=>(0,qn.of)(void 0).pipe((0,Ei.n)(()=>this.fingerprintService.addFingerprintData(xe)))),(0,Ei.n)(Je=>{const Yt=this.getCookie("_fbp")||"",ln=this.getCookie("_fbc")||"",kn=this.getCookie("_ttp")||"",di=this.getCookie("_ttc")||"",Ni=this.getCookie("ttclid")||"";Je={...Je,fbp:Yt,fbc:ln,ttp:kn,ttc:di,ttclid:Ni};const Qn=sessionStorage.getItem("pushyDeviceToken");return xe=Qn?{...Je,pushToken:Qn}:{...Je},this.httpClient.post(et.REGISTER,xe).pipe((0,Vt.M)(ri=>ri?.data&&this.apiAuthenticationService.setToken(ri.data)),(0,ai.T)(ri=>(ri.status===w.m.SUCCESS.statusCode&&(0,qn.of)(void 0).pipe((0,Ei.n)(()=>this.getFingerprintProVistorId()),(0,Ei.n)(xi=>this.fingerprintProService?this.addFingerprintProInfo(xi):(0,qn.of)(!0)),(0,u.pQ)(this.destroyRef)).subscribe(),ri)))}))}getRegisterVerifyCode(xe){return this.httpClient.post(et.GET_REGISTER_VERIFY_CODE,xe)}getProfile(){return this.httpClient.post(et.GET_PROFILE).pipe((0,ai.T)(xe=>xe.data))}getVerifyCodeByContactType(xe){const Je=this.checkIsLimit(xe.contactTypeId);return Je?this.limitNewPhoneTimeRespoense(Je):this.httpClient.post(et.GET_VERIFY_CODE_BY_CONTACT_TYPE,xe).pipe((0,ai.T)(Yt=>Yt))}getFirstVerifyCodeByContactType(xe){const Je=this.checkIsLimit(xe.contactTypeId);return Je?this.limitNewPhoneTimeRespoense(Je):this.httpClient.post(et.GET_FIRST_VERIFY_CODE_BY_CONTACT_TYPE,xe).pipe((0,ai.T)(Yt=>Yt))}getVerifyOtpCode(){return this.httpClient.post(et.GET_VERIFY_OTP_CODE).pipe((0,ai.T)(xe=>xe))}verifyContact(xe){const Je=this.checkIsLimit(xe.contactTypeId);return Je?this.limitNewPhoneTimeRespoense(Je):this.httpClient.post(et.VERIFY_CONTACT,xe).pipe((0,ai.T)(Yt=>Yt))}setVerifyParameters(xe){this.verifyParameters$.next(xe)}getVerifyParameters(){return this.verifyParameters$.asObservable()}resetVerifyParameters(){this.verifyParameters$.next(void 0)}getForumLoginURL(){return this.httpClient.post(et.GET_FORUM_LOGIN_URL).pipe((0,ai.T)(xe=>xe.data))}createDocument(xe){return this.httpClient.post(et.CREATE_DOCUMENT,xe)}getVerifyDocumentDetail(){return this.httpClient.post(et.GET_VERIFY_DOCUMENT_DETAIL).pipe((0,ai.T)(xe=>xe.data))}getIntercomInfo(){return this.httpClient.get(et.GET_INTERCOM_INFO).pipe((0,ai.T)(xe=>xe.data))}getVerifyBankPageDetail(){return this.httpClient.post(et.GET_VERIFY_BANK_PAGE_DETAIL).pipe((0,ai.T)(xe=>xe.data))}createPendingVerifyBanks(xe){return this.httpClient.post(et.CREATE_PENDING_VERIFY_BANK_DATE,xe)}getVerifyDocumentDetailByGroupType(xe){return this.httpClient.post(et.GET_VERIFY_DOCUMENT_DETAIL_BY_GROUP_TYPE,xe).pipe((0,ai.T)(Je=>Je.data))}saveProfile(xe){return this.httpClient.post(et.SAVE_PROFILE,xe).pipe((0,ai.T)(Je=>Je))}getReferralCodeCurrency(xe){return this.httpClient.post(et.GET_REFERRAL_CODE_CURRENCY,{friendReferrerCode:xe}).pipe((0,ai.T)(Je=>Je))}cancelBioLogin(xe){return this.httpClient.post(et.CANCEL_BIO_LOGIN,{currentBioToken:xe}).pipe((0,ai.T)(Je=>Je))}registerBioLogin(xe){return this.httpClient.post(et.REGISTER_BIO_LOGIN,{password:xe}).pipe((0,ai.T)(Je=>Je))}getServerTime(){return this.httpClient.post(et.GET_SERVER_TIME).pipe((0,ai.T)(xe=>xe.data))}addFingerprintProInfo(xe){return this.httpClient.post(et.ADD_FINGERPRINT_PRO_INFO,{fingerprintPro:xe}).pipe((0,ai.T)(Je=>Je))}getPlayerApprovedTxn(){return this.httpClient.post(et.GET_PLAYER_APPROVED_TXN).pipe((0,ai.T)(xe=>xe.data))}forgotPasswordByContactType(xe){return this.httpClient.post(et.FORGOT_PASSWORD_BY_CONTACT_TYPE,xe).pipe((0,ai.T)(Je=>Je))}verifyFPbyContactType(xe){return this.httpClient.post(et.VERIFY_FP_BY_CONTACT_TYPE,xe).pipe((0,ai.T)(Je=>Je))}resetPasswordByToken(xe){return this.httpClient.post(et.RESET_PASSWORD_BY_TOKEN,xe)}getFingerprintProVistorId(){return this.fingerprintProService?this.fingerprintProService.getVistorId():(0,qn.of)("")}checkIsLimit(xe){if(xe!==M.P.PHONE.unique)return"";const Je=localStorage.getItem("LIMIT_NEW_PHONE_TIMES");if(Je){const Yt=JSON.parse(Je);if(Date.now()({message:xe,status:w.m.LIMIT_NEW_PHONE_TIMES.statusCode})))}decryptAES128ECB(xe){const Yt=Mt.parse("2024CaptchaKey05");return ct.decrypt(decodeURIComponent(xe),Yt,{mode:gn,padding:Gn}).toString(Mt)}getCookie(xe){const Yt=("; "+document.cookie).split("; "+xe+"=");if(Yt.length>1)return Yt.pop()?.split(";").shift()}static#P=this.\u0275fac=function(Je){return new(Je||et)(e.KVO($e.t))};static#L=this.\u0275prov=e.jDH({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})()},21539:(Be,K,l)=>{"use strict";l.d(K,{P9:()=>Oe,jZ:()=>Re,uR:()=>mt});var s=l(73927),h=l(60177),e=l(21626),u=l(54438),m=l(30617),C=l(20897),w=l(35513),M=l(79336),b=l(51066),R=l(71522),L=l(92404),x=l(78922),B=l(58818),Y=l(78382),j=l(38804),ve=l(81042),oe=l(31360),H=l(7673),ae=l(25558),pe=l(96354),de=l(84412),Pe=l(21413),W=l(5964),J=l(88141),te=l(40605),q=l(56977),$=l(41584),Q=l(51433),se=l(51188),Ee=l(29655),me=l(8003),je=l(15314),Qe=l(20464),Ot=l(98856);let mt=(()=>{class Ve{static#e=this.LOGIN="/api/bt/v2_1/user/login";static#t=this.LOGOUT="/api/bt/v1/user/logout";static#n=this.CHECK="/api/bt/v1/user/getPlayerInfo";static#s=this.CHECK_BALANCE_AND_VIP_INFO="/api/bt/v1/user/getBalance";static#i=this.GET_UN_NOTIFIED_TXN="/api/bt/v1/user/getUnNotifiedTxn";static#o=this.CLEAR_UN_NOTIFIED_TXN="/api/bt/v1/user/clearUnNotifiedTxn";static#r=this.GET_PRE_LOGIN_TOKEN="/api/bt/v1/user/getPreLoginToken";static#a=this.GET_REALTIME_INFO="/api/bt/v1/user/getRealTimeInfo";constructor(ht,Ce,We,ut,ft,vt,Kt,wt){this.router=ht,this.httpClient=Ce,this.siteSettingService=We,this.authState=ut,this.bridgeUtilService=ft,this.i18nService=vt,this.siteSettingState=Kt,this.dialogService=wt,this.logoutCheckUi=(0,u.WQX)(B.b,{optional:!0}),this.apiAuthenticationService=(0,u.WQX)(C.W),this.eventQueueService=(0,u.WQX)(ve.n),this.fingerprintService=(0,u.WQX)(oe.m)}setSystemLogin(ht){this.apiAuthenticationService.setToken(ht),this.authState.set({isLogin:!0,accountInfo:ht})}setSystemLogout(){this.apiAuthenticationService.clearToken(),this.authState.set({isLogin:!1,accountInfo:void 0})}checkLanguageTypeByCurrentCurrencyType(){const ht=this.siteSettingState.get("currentCurrencyType"),Ce=this.siteSettingState.get("currentLanguageType"),We=this.siteSettingService.getWebsiteSettingByCurrency(ht,x.X.LANGUAGE)||[];if(!We.find(ft=>ft===`${Ce?.unique}`)){const ft=We[0];if(!ft)return;const vt=R.t.getInstanceOf(+ft);if(!vt)return;this.siteSettingService.setLanguageType(vt)}}login(ht){return ht.loginTypeId===L.t.DEFAULT&&delete ht.loginTypeId,(0,H.of)(void 0).pipe((0,ae.n)(()=>this.fingerprintService.addFingerprintData(ht)),(0,ae.n)(Ce=>{const We=this.getCookie("_fbp")||"",ut=this.getCookie("_fbc")||"",ft=this.getCookie("_ttp")||"",vt=this.getCookie("_ttc")||"",Kt=this.getCookie("ttclid")||"";Ce={...Ce,fbp:We,fbc:ut,ttp:ft,ttc:vt,ttclid:Kt};const wt=sessionStorage.getItem("pushyDeviceToken");return Ce=wt?{...Ce,pushToken:wt}:Ce,this.httpClient.post(Ve.LOGIN,Ce).pipe((0,pe.T)(this.loginApiCallback()))}))}loginApiCallback(){return ht=>{if(ht.status===M.m.SUCCESS.statusCode){const Ce=ht.data;if(Ce){Ce.mainWallet=s.z.add(Ce.balance||0,Ce.totalMainProviderBalance||0),this.setSystemLogin(Ce);const ft=b.U.getInstanceOf(Ce.currencyTypeId);ft&&(this.siteSettingService.setCurrencyType(ft),this.checkLanguageTypeByCurrentCurrencyType())}const We=Number(localStorage.getItem("languageType"));this.bridgeUtilService.sendMessage(`{"site":${this.i18nService.translate("ui.global.text.brand_short_name").toLocaleLowerCase()},"lang":"${R.t.getInstanceOfDefaultEn(We).resourceKey}"}`)}else this.setSystemLogout();return ht}}logout(ht){this.authState.get("isLogin")&&this.httpClient.post(Ve.LOGOUT).subscribe(Ce=>{Ce.status===M.m.SUCCESS.statusCode&&(this.eventQueueService.dispatch(new j._),this.setSystemLogout(),this.router.navigateByUrl(ht||"/"))})}logout_check(){this.dialogService.openDialog(this.logoutCheckUi,{data:{title:`${this.i18nService.translate("ui.member_menu.text.logout")}`,content:`${this.i18nService.translate("ui.global.text.check_logout_popup_text")}`}}).subscribe()}checkLogin(ht={skipHttpErrorHandle:!1}){const Ce=new e._y;return Ce.set(w.nd,ht.skipHttpErrorHandle||!1),this.httpClient.get(Ve.CHECK,void 0,{context:Ce}).pipe((0,ae.n)(We=>{if(We.status===M.m.SUCCESS.statusCode){const ut=We.data;if(ut&&(ut.mainWallet=s.z.add(ut.balance||0,ut.totalMainProviderBalance||0)),this.authState.set({isLogin:!0,accountInfo:ut}),ut){const vt=b.U.getInstanceOf(ut.currencyTypeId);vt&&(this.siteSettingService.setCurrencyType(vt),this.checkLanguageTypeByCurrentCurrencyType())}}else this.setSystemLogout();return(0,H.of)(We)}))}checkBalance(){return this.httpClient.get(Ve.CHECK_BALANCE_AND_VIP_INFO).pipe((0,ae.n)(ht=>{if(ht.status===M.m.SUCCESS.statusCode){const Ce=ht.data;Ce&&(Ce.mainWallet=s.z.add(Ce.balance||0,Ce.totalMainProviderBalance||0));let We=this.authState.get("accountInfo");We=Object.assign({},We,Ce),this.authState.set({accountInfo:We})}return(0,H.of)(ht)}))}getMenuInfo(){return this.httpClient.get(Ve.GET_REALTIME_INFO).pipe((0,ae.n)(ht=>{if(ht.status===M.m.SUCCESS.statusCode){let Ce=this.authState.get("menuInfo");Ce=Object.assign({},Ce,ht.data),this.authState.set({menuInfo:Ce})}return(0,H.of)(ht)}))}getUnNotifiedTxn(){return this.httpClient.post(Ve.GET_UN_NOTIFIED_TXN,void 0)}clearUnNotifiedTxn(ht){return this.httpClient.post(Ve.CLEAR_UN_NOTIFIED_TXN,{timestamp:ht})}decryptToken(ht){const Ce=new e._y;return Ce.set(w.nd,!0),this.httpClient.post(Ve.GET_PRE_LOGIN_TOKEN,{encrypt:ht},{context:Ce}).pipe((0,pe.T)(We=>We))}getCookie(ht){const We=("; "+document.cookie).split("; "+ht+"=");if(We.length>1)return We.pop()?.split(";").shift()}static#c=this.\u0275fac=function(Ce){return new(Ce||Ve)(u.KVO(se.Ix),u.KVO(Ee.t),u.KVO(me.D),u.KVO(Q.H),u.KVO(je.H),u.KVO(Qe.JO),u.KVO(m.p),u.KVO(Ot.o))};static#l=this.\u0275prov=u.jDH({token:Ve,factory:Ve.\u0275fac,providedIn:"root"})}return Ve})();class Oe{constructor(){this.isPlatformBrowser=(0,h.UE)((0,u.WQX)(u.Agw)),this.authState=(0,u.WQX)(Q.H),this.authService=(0,u.WQX)(mt)}static#e=this.DEFAULT_INTERVAL_MS=15*Y.yr.MINUTE;static#t=this.INTERVAL$=new de.t(Oe.DEFAULT_INTERVAL_MS);static#n=this.CHECK$=new Pe.B;get isContinuouslyChecking(){return!!Oe.stopIntervalCheck$}init(){this.isPlatformBrowser&&(Oe.subscriptionOfDoingCheck||(Oe.subscriptionOfDoingCheck=Oe.CHECK$.pipe((0,W.p)(()=>!!this.authState.get("isLogin")),(0,ae.n)(()=>this.authService.checkLogin()),this.startIfLoginAndStopIfLogout()).subscribe(),this.authState.select("isLogin").pipe((0,W.p)(ye=>!!ye),(0,J.M)(()=>this.startIntervalCheck(Oe.DEFAULT_INTERVAL_MS))).subscribe(),this.authState.select("isLogin").pipe((0,W.p)(ye=>!ye),(0,J.M)(()=>this.stopIntervalCheck())).subscribe()))}changeCheckingPeriod(ye){Oe.INTERVAL$.next(ye)}startIntervalCheck(ye){this.isPlatformBrowser&&(Oe.INTERVAL$.next(ye),!this.isContinuouslyChecking&&(Oe.stopIntervalCheck$=new Pe.B,Oe.INTERVAL$.pipe((0,ae.n)(ht=>(0,te.Y)(ht)),(0,J.M)(()=>this.checkBalance()),(0,q.Q)(Oe.stopIntervalCheck$)).subscribe()))}stopIntervalCheck(){this.isPlatformBrowser&&(Oe.stopIntervalCheck$?.next(),Oe.stopIntervalCheck$?.complete(),Oe.stopIntervalCheck$?.unsubscribe(),Oe.stopIntervalCheck$=void 0,Oe.INTERVAL$.next(Oe.DEFAULT_INTERVAL_MS))}checkBalance(){this.authService.checkBalance().subscribe()}checkBalance$(){return this.authService.checkBalance()}checkImmediately(){this.isPlatformBrowser&&Oe.CHECK$.next(void 0)}startIfLoginAndStopIfLogout(){return(0,Q.L)(this.authState)}}class Re{constructor(){this.isPlatformBrowser=(0,h.UE)((0,u.WQX)(u.Agw)),this.authState=(0,u.WQX)(Q.H),this.authService=(0,u.WQX)(mt)}static#e=this.REAL_TIME_INFO_DEFAULT_INTERVAL_MS=1*Y.yr.MINUTE;static#t=this.REAL_TIME_INFO_INTERVAL$=new de.t(Re.REAL_TIME_INFO_DEFAULT_INTERVAL_MS);static#n=this.CHECK$=new Pe.B;get isContinuouslyChecking(){return!!Re.stopIntervalCheck$}init(){this.isPlatformBrowser&&(Re.subscriptionOfDoingCheck||(Re.subscriptionOfDoingCheck=Re.CHECK$.pipe((0,W.p)(()=>!!this.authState.get("isLogin")),(0,ae.n)(()=>this.authService.checkLogin()),this.startIfLoginAndStopIfLogout()).subscribe(),this.authState.select("isLogin").pipe((0,W.p)(ye=>!!ye),(0,J.M)(()=>this.startIntervalCheck(Re.REAL_TIME_INFO_DEFAULT_INTERVAL_MS))).subscribe(),this.authState.select("isLogin").pipe((0,W.p)(ye=>!ye),(0,J.M)(()=>this.stopIntervalCheck())).subscribe()))}changeCheckingPeriod(ye){Re.REAL_TIME_INFO_INTERVAL$.next(ye)}startIntervalCheck(ye){this.isPlatformBrowser&&(Re.REAL_TIME_INFO_INTERVAL$.next(ye),!this.isContinuouslyChecking&&(Re.stopIntervalCheck$=new Pe.B,Re.REAL_TIME_INFO_INTERVAL$.pipe((0,ae.n)(ht=>(0,$.O)(0,ht)),(0,J.M)(()=>this.getMenuInfo()),(0,q.Q)(Re.stopIntervalCheck$)).subscribe()))}stopIntervalCheck(){this.isPlatformBrowser&&(Re.stopIntervalCheck$?.next(),Re.stopIntervalCheck$?.complete(),Re.stopIntervalCheck$?.unsubscribe(),Re.stopIntervalCheck$=void 0,Re.REAL_TIME_INFO_INTERVAL$.next(Re.REAL_TIME_INFO_DEFAULT_INTERVAL_MS))}getMenuInfo(){this.authService.getMenuInfo().subscribe()}getMenuInfo$(){return this.authService.getMenuInfo()}checkImmediately(){this.isPlatformBrowser&&Re.CHECK$.next(void 0)}startIfLoginAndStopIfLogout(){return(0,Q.L)(this.authState)}}},51433:(Be,K,l)=>{"use strict";l.d(K,{H:()=>w,L:()=>M});var s=l(94768),h=l(54438),e=l(5964),u=l(25558),m=l(56977),C=l(96697);const w=new h.nKC("AUTH_STATE",{providedIn:"root",factory:()=>{const b=new s.Y;return b.set({isLogin:void 0}),b}});function M(b){return R=>b.select("isLogin").pipe((0,e.p)(L=>L),(0,u.n)(()=>R.pipe((0,m.Q)(b.select("isLogin").pipe((0,e.p)(L=>!L),(0,C.s)(1))))))}},48055:(Be,K,l)=>{"use strict";l.d(K,{W:()=>j});var s=l(54438),h=l(74851),e=l(20464),u=l(22741),m=l(20753),C=l(81042),w=l(35436),M=l(41584),b=l(96697),R=l(88141),L=l(51433),x=l(89079),B=l(51188),Y=l(8003);let j=(()=>{class ve{constructor(H,ae,pe,de,Pe){this.translocoService=H,this.route=ae,this.router=pe,this.siteSettingService=de,this.platformId=Pe,this.translocoLoader=(0,s.WQX)(e.oH),this.forceReloadService=(0,s.WQX)(u.s),this.environment=(0,s.WQX)(m.n),this.destroyRef=(0,s.WQX)(s.abz),this.eventQueueService=(0,s.WQX)(C.n),this.authState=(0,s.WQX)(L.H),this.isLogin$=this.authState.select("isLogin"),this.routingPathType=h.C,this.availableLanguages=this.translocoService.getAvailableLangs()}refresh(H){const ae=this.router.url.split("?")[0],pe=this.router.routeReuseStrategy.shouldReuseRoute,de=this.router.onSameUrlNavigation;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",setTimeout(()=>{this.router.onSameUrlNavigation=de,this.router.routeReuseStrategy.shouldReuseRoute=pe},0),this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{localStorage.setItem("navigateFromI18nRefresh","true"),this.router.navigate([ae],{queryParams:this.route.snapshot.queryParams}).then(()=>{"currency"===H&&this.environment.forceReloadAfterCurrencyChanged&&this.forceReloadService.forceReloadAfterRouterNavigation(),(0,M.O)(500).pipe((0,x.pQ)(this.destroyRef)).subscribe(()=>{localStorage.removeItem("navigateFromI18nRefresh")})})})}setActiveLang(H){return this.translocoService.setActiveLang(H._resourceKey),this}changeCurrencyAndLanguage(H,ae,pe=!1){this.siteSettingService.continueIfMarketIsValidByCurrencyAndLanguage(H,ae).subscribe(()=>{this.isValidLanguage(ae)&&this.translocoLoader.getTranslation(ae.resourceKey).then(()=>{this.siteSettingService.setCurrencyType(H),this.siteSettingService.setLanguageType(ae),this.isLogin$.pipe((0,x.pQ)(this.destroyRef),(0,b.s)(1),(0,R.M)(de=>{if(de&&!0===pe){const Pe={currencyTypeId:this.authState.get("accountInfo").currencyTypeId,userId:this.authState.get("accountInfo").userId||"",languageName:ae.name,languageResourceKey:ae.resourceKey};this.eventQueueService.dispatch(new w.V(Pe))}})).subscribe()})})}isValidLanguage(H){let ae=!1;const pe=this.availableLanguages;for(const de in pe)if(pe[de]==H._resourceKey){ae=!0;break}return ae||console.error(`${H._resourceKey} not in availableLanguages: ${this.availableLanguages}`),ae}static#e=this.\u0275fac=function(ae){return new(ae||ve)(s.KVO(e.JO),s.KVO(B.nX),s.KVO(B.Ix),s.KVO(Y.D),s.KVO(s.Agw))};static#t=this.\u0275prov=s.jDH({token:ve,factory:ve.\u0275fac})}return ve})()},30617:(Be,K,l)=>{"use strict";l.d(K,{p:()=>u});var s=l(94768),h=l(54438),e=l(62685);const u=new h.nKC("SITE_SETTING",{providedIn:"root",factory:()=>{const m=new s.Y,C=e.r.getGMT((new Date).getTime());return m.set({currentTimeZone:C}),m}})},8003:(Be,K,l)=>{"use strict";l.d(K,{D:()=>x});var s=l(60177),h=l(54438),e=l(11586),u=l(30617),m=l(51066),C=l(71522),w=l(78922),M=l(7673),b=l(35060),R=l(20753),L=l(76672);let x=(()=>{class B{constructor(j){this.languageService=j,this.isBrowser=(0,s.UE)((0,h.WQX)(h.Agw)),this.settingService=(0,h.WQX)(e.q),this.environment=(0,h.WQX)(R.n),this.siteSettingState=(0,h.WQX)(u.p)}getCookie(j){if(!this.isBrowser)return null;const ve=document.cookie.match(new RegExp("(^| )"+j+"=([^;]+)"));return ve?ve[2]:null}continueIfMarketIsValidByCurrencyAndLanguage(j,ve){if(!this.isBrowser)return(0,M.of)(!0);const oe=j,H=ve;return(this.getWebsiteSettingByCurrency(oe,w.X.MARKET)||[]).includes(this.environment.market)?(0,M.of)(!0):(setTimeout(()=>{this.settingService.changeCurrencyLang({currencyTypeId:oe.unique,languageTypeId:H.unique}).subscribe(de=>{if(de){const Pe=new URL(de);if(Pe.searchParams.set("marketCurrency",`${oe.unique}`),Pe.searchParams.set("marketLang",`${H.unique}`),this.siteSettingState.get("siteSettingModel")?.isNativeApp){Pe.searchParams.set("isNativeApp","true");const W=this.getCookie("appNameCookie");W&&Pe.searchParams.set("appNameCookie",W)}location.replace(Pe)}})},0),b.t)}continueIfMarketIsValid(){const j=this.siteSettingState.get("currentCurrencyType"),ve=this.siteSettingState.get("currentLanguageType");return this.continueIfMarketIsValidByCurrencyAndLanguage(j,ve)}getWebsiteSettingByCurrency(j,ve){if(!j||!ve)return;const oe=this.siteSettingState.get("currencyMappingSettingModel");return oe?oe.find(H=>H.currencyTypeId===j.unique)?.mapping?.find(H=>H.currencySettingTypeId===ve.unique)?.mappingData:void 0}setCurrencyLanguageToState(j){const ve=j.map(oe=>oe.currencyTypeId);if(ve.length>0){const oe=this.getCurrentCurrency(ve),ae=j.filter(de=>de.currencyTypeId===oe.unique)[0].mapping.filter(de=>de.currencySettingTypeId===w.X.LANGUAGE.unique).map(de=>de.mappingData).reduce((de,Pe)=>de.concat(Pe),[]),pe=this.getCurrentLanguage(ae);this.siteSettingState.set({currencyMappingSettingModel:j}),this.setCurrencyType(oe),this.setLanguageType(pe)}}getCurrentCurrencySetting(){return this.siteSettingState.get("currencyMappingSettingModel")}getCurrentCurrency(j){const ve=this.isBrowser?Number(localStorage.getItem("currencyType")):null,oe=ve&&j.includes(ve)?ve:j[0],H=m.U.getInstanceOf(oe);if(H)return H;throw new Error("can not find any currency")}getCurrentLanguage(j){let ve=this.languageService.getLocalLanguage();try{return j.includes(ve.unique.toString())||(ve=C.t.default),ve}catch{return console.warn("can not find any language"),C.t.default}}setCurrencyType(j){this.isBrowser&&localStorage.setItem("currencyType",j.unique.toString()),this.siteSettingState.set({currentCurrencyType:j})}setLanguageType(j){this.isBrowser&&localStorage.setItem("languageType",j.unique.toString()),this.siteSettingState.set({currentLanguageType:j})}static#e=this.\u0275fac=function(ve){return new(ve||B)(h.KVO(L.g))};static#t=this.\u0275prov=h.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},12507:(Be,K,l)=>{"use strict";l.d(K,{G:()=>e});var s=l(54438),h=l(94768);const e=new s.nKC("APP_STATE",{providedIn:"root",factory:()=>{const u=new h.Y;return u.set({prerenderPath:void 0,timestamp:1773904699850,isIframeGameOpened:!1,shouldHideExternalUI:!1,siteName:"",isSupportBio:!1,fantasyVoucherAmount:0,trackingCid:"",trackingRooterClickId:"",trackingSharechatClickId:"",trackingSharechatAdId:"",trackingXenaQeuryString:"",showVoucher:!0,isInAndroidPackage:!1,canAutoPlayVideo:!0,showDeco:!1,isPopupPageActive:!1,isMemberMenuActive:!1,showWidget:!1}),u}})},71996:(Be,K,l)=>{"use strict";l.d(K,{i:()=>m});var s=l(54438),h=l(21413),e=l(56977),u=l(12507);let m=(()=>{class C{constructor(){this.state=(0,s.WQX)(u.G),this.destroy$=new h.B}on(M){return this.state.select(M).pipe((0,e.Q)(this.destroy$))}get(M){return this.state.get(M)}set(M,b){this.state.set(M,()=>b)}toggleIframeGameOpened(M){"open"===M?this.state.set("isIframeGameOpened",()=>!0):"close"===M&&this.state.set("isIframeGameOpened",()=>!1)}toggleShouldHideExternalUI(M){"hide"===M?this.state.set("shouldHideExternalUI",()=>!0):"show"===M&&this.state.set("shouldHideExternalUI",()=>!1)}registerBootstrap(M){M.onDestroy(()=>{this.destroy$.next(),this.destroy$.complete()})}static#e=this.\u0275fac=function(b){return new(b||C)};static#t=this.\u0275prov=s.jDH({token:C,factory:C.\u0275fac})}return C})()},20001:(Be,K,l)=>{"use strict";l.d(K,{R:()=>h});var s=l(54438);let h=(()=>{class e{intercept(m,C){return m.url.match("/user/getPlayerInfo")?m=m.clone({params:m.params.append("getIntercomInfo",!0)}):m.url.match("/user/login")&&(m=m.clone({body:{getIntercomInfo:!0,...m.body}})),C.handle(m)}static#e=this.\u0275fac=function(C){return new(C||e)};static#t=this.\u0275prov=s.jDH({token:e,factory:e.\u0275fac})}return e})()},46983:(Be,K,l)=>{"use strict";l.d(K,{N:()=>h});const h=new(l(54438).nKC)("REFRESH_TOKEN_HANDLER")},20897:(Be,K,l)=>{"use strict";l.d(K,{W:()=>oe});var s=l(60177),h=l(21626),e=l(54438),u=l(84412),m=l(5964),C=l(96697),w=l(25558),M=l(7673),b=l(88141),R=l(99437),L=l(18810),x=l(88759),B=l(29405),Y=l(46983),j=l(79336),ve=l(35513);let oe=(()=>{class H{constructor(){this.isBrowser=(0,s.UE)((0,e.WQX)(e.Agw)),this.apiAuthenticationState=(0,e.WQX)(x.K),this.injector=(0,e.WQX)(e.zZn),this.isRefreshingToken$=new u.t(!1)}parseJwt(pe){if(!pe)return null;var Pe=pe.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),W=decodeURIComponent(window.atob(Pe).split("").map(function(J){return"%"+("00"+J.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(W)}setToken(pe){let de=0;pe.accessToken&&(de=this.parseJwt(pe.accessToken)?.exp||de),this.isBrowser&&(localStorage.setItem(B.v,pe.accessToken||""),localStorage.setItem(B.wf,pe.refreshToken||""),localStorage.setItem(B.lz,`${de}`)),this.apiAuthenticationState.set(()=>pe)}clearToken(){return this.setToken({accessToken:"",refreshToken:""})}selectToken(){return this.apiAuthenticationState.select()}getToken(){return{accessToken:localStorage.getItem(B.v),refreshToken:localStorage.getItem(B.wf)}}intercept(pe,de){if(!this.isBrowser)return de.handle(pe);if(/^(http|https):\/\//.test(pe.urlWithParams)){const W=window.location.host.split("."),J=pe.url.split("/")[2].split(".");if(W[W.length-2]+"."+W[W.length-1].split(":")[0]!=J[J.length-2]+"."+J[J.length-1].split(":")[0])return de.handle(pe)}const Pe=this.getRefreshTokenHandler().isRefreshTokenApi(pe.urlWithParams);return Pe?this.handleRequest(pe,de,Pe):this.isRefreshingToken$.pipe((0,m.p)(W=>!W),(0,C.s)(1),(0,w.n)(()=>this.handleRequest(pe,de,Pe)))}getRefreshTokenHandler(){return this.refreshTokenHandler=this.refreshTokenHandler||this.injector.get(Y.N),this.refreshTokenHandler}refreshToken(){return this.getToken()?.refreshToken?(this.isRefreshingToken$.next(!0),this.getRefreshTokenHandler().refreshToken().pipe((0,b.M)(de=>{this.setToken(de),this.isRefreshingToken$.next(!1)}),(0,R.W)(de=>(this.clearToken(),this.isRefreshingToken$.next(!1),(0,L.$)(()=>de))))):(0,M.of)(!1)}handleRequest(pe,de,Pe){const W=this.getToken(),J=Pe?W.refreshToken:W.accessToken,te=pe.context.get(ve.nd);let q=pe.headers;J&&(q=q.append("Authorization",`Bearer ${J}`));const $=pe.clone({headers:q});return de.handle($).pipe((0,m.p)(Q=>Q instanceof h.cS),(0,w.n)(Q=>(Q?.body?.status===j.m.TOKEN_INACTIVE.statusCode&&te&&this.refreshToken().subscribe(),(0,M.of)(Q))))}static#e=this.\u0275fac=function(de){return new(de||H)};static#t=this.\u0275prov=e.jDH({token:H,factory:H.\u0275fac})}return H})()},88759:(Be,K,l)=>{"use strict";l.d(K,{K:()=>h});const h=new(l(54438).nKC)("API_AUTHENTICATION_STATE")},29405:(Be,K,l)=>{"use strict";l.d(K,{lz:()=>h,v:()=>s,wf:()=>e});const s="accessToken",h="accessTokenExp",e="refreshToken"},95091:(Be,K,l)=>{"use strict";l.d(K,{C:()=>s});let s=(()=>{class h{static#e=this.SAME_CURRENCY_LANGUAGE_IN_BODY=(u,m)=>{const C=u.body,w=m.request.body;return C?.currencyTypeId===w?.currencyTypeId&&C?.languageTypeId===w?.languageTypeId};static#t=this.SAME_CURRENCY_LANGUAGE_IN_QUERY_PARAMS=(u,m)=>{try{const w=new URL(m.response.url||"").origin,M=new URL(`${w}/${u.urlWithParams}`).searchParams,b=M.get("currencyTypeId"),R=M.get("languageTypeId"),L=new URL(`${w}/${m.request.urlWithParams}`).searchParams,x=L.get("currencyTypeId"),B=L.get("languageTypeId");return b===x&&R===B}catch{return!1}};static#n=this.SAME_CURRENCY_LANGUAGE_IN_PARAMS=(u,m)=>{const C=u.params,w=m.request.params;return C?.get("currencyTypeId")===w?.get("currencyTypeId")&&C?.get("languageTypeId")===w?.get("languageTypeId")};static#s=this.SAME_CURRENCY_IN_PARAMS=(u,m)=>{const C=u.params,w=m.request.params;return C?.get("currencyTypeId")===w?.get("currencyTypeId")}}return h})()},34944:(Be,K,l)=>{"use strict";l.d(K,{W:()=>h});const h=new(l(21626).rx)(()=>null)},29655:(Be,K,l)=>{"use strict";l.d(K,{t:()=>C});var s=l(60177),h=l(21626),e=l(54438),u=l(20753),m=l(96354);let C=(()=>{class w{constructor(){this.isServer=(0,s.Vy)((0,e.WQX)(e.Agw)),this.http=(0,e.WQX)(h.Qq),this.environment=(0,e.WQX)(u.n),this.jsonOptions={observe:"body",responseType:"json"},this.textOptions={observe:"body",responseType:"text"},this.demoOptions={headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},observe:"body",responseType:"json"}}getBaseUrl(){let b="";return this.isServer&&(b=`${this.environment.ssrDomain}`),b}get(b,R={},L={}){const x={...this.jsonOptions,...L,params:R};return this.http.get(this.getBaseUrl()+b,x).pipe((0,m.T)(B=>B))}post(b,R={},L={}){return this.http.post(this.getBaseUrl()+b,R,Object.assign(L,this.jsonOptions)).pipe((0,m.T)(x=>x))}postAndRespText(b,R={}){return this.http.post(b,R,this.textOptions)}demo(b,R={}){const L=new URLSearchParams;return L.set("gameType","1"),this.http.post(b,L,this.demoOptions).pipe((0,m.T)(x=>x))}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},35513:(Be,K,l)=>{"use strict";l.d(K,{SW:()=>C,bP:()=>m,kZ:()=>u,nd:()=>h,wM:()=>e});var s=l(21626);const h=new s.rx(()=>!1),e=new s.rx(()=>!1),u=new s.rx(()=>!1),m=new s.rx(()=>!1),C=new s.rx(()=>!1)},65788:(Be,K,l)=>{"use strict";l.d(K,{N:()=>s});class s{constructor(e){this.key=e}get unique(){return this.key}}},37380:(Be,K,l)=>{"use strict";l.d(K,{e:()=>h});const h=new(l(54438).nKC)("CDN_SERVER")},81084:(Be,K,l)=>{"use strict";l.d(K,{H:()=>w,s:()=>M});var s=l(54438),h=l(71996),e=l(37380),u=l(60177),m=l(1583),C=l(20753);let w=(()=>{class b{constructor(){this.document=(0,s.WQX)(u.qQ),this.isBrowser=(0,u.UE)((0,s.WQX)(s.Agw)),this.cdnServer=(0,s.WQX)(e.e),this.appStateService=(0,s.WQX)(h.i),this.cloudSetting=(0,s.WQX)(m.Z),this.systemConfig=(0,s.WQX)(C.n)}get cdnDomain(){return(this.appStateService.get("isSystemMaintaining")?this.systemConfig.cdnDomain:this.cdnServer?.cdnDomain)||""}get hasCdnSetting(){return this.cdnDomain&&this.cdnServer?.device}get isLocalhost(){return(this.document?.location?.origin||"").includes("localhost")}cdnDomainAddSuffix(L){return`${L}/${this.cdnServer.market}/${this.cdnServer.device}`}useWithServer(L,x){if(!(L=L||"")||/^(http|https):\/\//.test(L)||this.isBrowser&&this.isLocalhost||!this.isAssets(L))return L;const ve=this.cdnDomain,oe=!this.cloudSetting.isCloud&&!!ve,H=this.canAddTimestamp(L);let ae=L;return oe&&(ae=this.addCdnDomain(ve,ae)),H&&(ae=this.addTimestamp(ae),x&&(ae=this.addFlag(ae,x))),ae}addCdnDomain(L,x){let B=x;0===B.indexOf("./")&&(B=B.replace("./","/"));const Y=this.cdnServer.device,j=this.cdnServer.market;"/"===L[L.length-1]&&(L=L.substring(0,L.length-1));let ve=x;return"/"===ve[0]&&(ve=ve.substring(1,ve.length)),B=`${L}/${j}/${Y}/${ve}`,B}canAddTimestamp(L){return!(!L||L.startsWith("data")||L.includes("/upload/"))}isAssets(L){return 0===L.indexOf("/assets/")||0===L.indexOf("assets/")||0===L.indexOf("./assets/")}addQueryString(L,x,B,Y="end"){const[j,ve]=L.split("?"),oe=(ve||"").split("&").filter(pe=>!!pe);"start"===Y?oe.unshift(`${x}=${B}`):oe.push(`${x}=${B}`);const H=oe.reduce((pe,de)=>{const[Pe,W]=de.split("=");return pe.set(Pe,W),pe},new Map);return`${j||""}?${Array.from(H.keys()).filter(pe=>!!pe).map(pe=>`${pe}=${H.get(pe)}`).join("&")}`}addTimestamp(L){try{const x=this.appStateService.get("timestamp")||(new Date).getTime();return this.addQueryString(L,"v",`${x}`,"start")}catch(x){console.error("addTimestamp",L,x)}return L}addFlag(L,x){return this.addQueryString(L,x.k,x.v)}static#e=this.\u0275fac=function(x){return new(x||b)};static#t=this.\u0275prov=s.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),M=(()=>{class b{constructor(L){this.cdnService=L}transform(L){return this.cdnService.addTimestamp(L)}static#e=this.\u0275fac=function(x){return new(x||b)(s.rXU(w,16))};static#t=this.\u0275pipe=s.EJ8({name:"videoSourceAddTimestamp",type:b,pure:!0})}return b})()},1583:(Be,K,l)=>{"use strict";l.d(K,{Z:()=>h});const h=new(l(54438).nKC)("CLOUD_SETTING")},60086:(Be,K,l)=>{"use strict";l.d(K,{k:()=>e});var s=l(65788),h=function(u){return u[u.INACTIVE=0]="INACTIVE",u[u.ACTIVE=1]="ACTIVE",u[u.COMPLETE=2]="COMPLETE",u[u.RETURN_TO_MAIN=3]="RETURN_TO_MAIN",u[u.SUSPEND=-1]="SUSPEND",u[u.EXPIRED=-2]="EXPIRED",u[u.AUTO_FORCE_SERVE=-3]="AUTO_FORCE_SERVE",u[u.MANUAL_FORCE_SERVE=-4]="MANUAL_FORCE_SERVE",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.INACTIVE=new e(h.INACTIVE,"Inactive");static#n=this.ACTIVE=new e(h.ACTIVE,"Active");static#s=this.COMPLETE=new e(h.COMPLETE,"Complete");static#i=this.RETURN_TO_MAIN=new e(h.RETURN_TO_MAIN,"Return_To_Main");static#o=this.SUSPEND=new e(h.SUSPEND,"Suspend");static#r=this.EXPIRED=new e(h.EXPIRED,"Expired");static#a=this.AUTO_FORCE_SERVE=new e(h.AUTO_FORCE_SERVE,"Auto_Force_Serve");static#c=this.MANUAL_FORCE_SERVE=new e(h.MANUAL_FORCE_SERVE,"Manual_Force_Serve");constructor(m,C){super(m),this._value=m,this._name=C,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}get name(){return this._name}}},79336:(Be,K,l)=>{"use strict";l.d(K,{m:()=>u});var s=l(65788),h=l(13978),e=function(m){return m[m.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",m[m.SUCCESS=1]="SUCCESS",m[m.TOKEN_INACTIVE=2]="TOKEN_INACTIVE",m[m.MUST_BE_LOGIN=3]="MUST_BE_LOGIN",m[m.ACCOUNT_IS_LOCK=4]="ACCOUNT_IS_LOCK",m[m.ACCOUNT_IS_INACTIVED=5]="ACCOUNT_IS_INACTIVED",m[m.ACCOUNT_IS_SUSPENDED=6]="ACCOUNT_IS_SUSPENDED",m[m.FORGOT_PASSWORD_NO_SUPPORT=7]="FORGOT_PASSWORD_NO_SUPPORT",m[m.VERIFY_EMAIL_SENT_FAIL=8]="VERIFY_EMAIL_SENT_FAIL",m[m.VERIFY_SMS_SENT_FAIL=9]="VERIFY_SMS_SENT_FAIL",m[m.ACCOUNT_FAIL_COUNT=10]="ACCOUNT_FAIL_COUNT",m[m.IP_BLOCK_BAN_COUNTRY=11]="IP_BLOCK_BAN_COUNTRY",m[m.BRAND_MAINTAIN=12]="BRAND_MAINTAIN",m[m.SYSTEM_MAINTAIN=13]="SYSTEM_MAINTAIN",m[m.ACCOUNT_IS_NOT_EXISTS=14]="ACCOUNT_IS_NOT_EXISTS",m[m.EXCEEDED_DAILY_OTP_LIMIT=15]="EXCEEDED_DAILY_OTP_LIMIT",m[m.SAME_AS_OLD_PASSWORD=16]="SAME_AS_OLD_PASSWORD",m[m.SMS_FORGET_PASSWORD_ERROR=17]="SMS_FORGET_PASSWORD_ERROR",m[m.VERIFY_NEED_OTP=18]="VERIFY_NEED_OTP",m[m.VERIFY_TIME_LIMIT=19]="VERIFY_TIME_LIMIT",m[m.ACCOUNT_EMAIL_NOT_VERIFIED=20]="ACCOUNT_EMAIL_NOT_VERIFIED",m[m.ACCOUNT_PHONE_NOT_VERIFIED=21]="ACCOUNT_PHONE_NOT_VERIFIED",m[m.FORGOT_PASSWORD_TOKEN_ERROR=22]="FORGOT_PASSWORD_TOKEN_ERROR",m[m.FORGOT_PASSWORD_TOKEN_TIME_LIMIT=23]="FORGOT_PASSWORD_TOKEN_TIME_LIMIT",m[m.OPT_DAILY_LIMIT_REACHED=24]="OPT_DAILY_LIMIT_REACHED",m[m.PROMO_CODE_SUCCESS=25]="PROMO_CODE_SUCCESS",m[m.FREE_CREDIT_SUCCESS=26]="FREE_CREDIT_SUCCESS",m[m.INVALID_PROMO_CODE=27]="INVALID_PROMO_CODE",m[m.PROMO_CODE_PARTICIPANT_EXCEED=28]="PROMO_CODE_PARTICIPANT_EXCEED",m[m.INVALID_PROMO_CODE_CURRENCY=29]="INVALID_PROMO_CODE_CURRENCY",m[m.PROMO_CODE_APPLIED=30]="PROMO_CODE_APPLIED",m[m.CAPTCHA_INVALID=31]="CAPTCHA_INVALID",m[m.OPEN_GAME_ERROR=32]="OPEN_GAME_ERROR",m[m.OPEN_GAME_RETRY=33]="OPEN_GAME_RETRY",m[m.CAPTCHA_EXPIRE=34]="CAPTCHA_EXPIRE",m[m.ACCOUNT_INVALID=35]="ACCOUNT_INVALID",m[m.USER_NAME_INVALID=36]="USER_NAME_INVALID",m[m.PASSWORD_INVALID=37]="PASSWORD_INVALID",m[m.CONFIRM_PASSWORD_INVALID=38]="CONFIRM_PASSWORD_INVALID",m[m.CURRENCY_TYPE_ID_INVALID=39]="CURRENCY_TYPE_ID_INVALID",m[m.CALLING_CODE_INVALID=40]="CALLING_CODE_INVALID",m[m.PHONE_INVALID=41]="PHONE_INVALID",m[m.EMAIL_INVALID=42]="EMAIL_INVALID",m[m.FRIEND_REFERRER_CODE_INVALID=43]="FRIEND_REFERRER_CODE_INVALID",m[m.DATE_OF_BIRTH_INVALID=44]="DATE_OF_BIRTH_INVALID",m[m.USER_BANK_ID_INVALID=45]="USER_BANK_ID_INVALID",m[m.USER_BANK_ACCOUNT_NO_INVALID=46]="USER_BANK_ACCOUNT_NO_INVALID",m[m.LIMIT_NEW_PHONE_TIMES=47]="LIMIT_NEW_PHONE_TIMES",m[m.VIP_CONVERT_POINT_REDEMPTION_ERROR=48]="VIP_CONVERT_POINT_REDEMPTION_ERROR",m[m.EMAIL_FORGET_PASSWORD_ERROR=49]="EMAIL_FORGET_PASSWORD_ERROR",m[m.MESSAGE_NOT_FOUND=50]="MESSAGE_NOT_FOUND",m[m.WITHDRAWAL_TURNOVER_NOT_REACH=51]="WITHDRAWAL_TURNOVER_NOT_REACH",m[m.WITHDRAWAL_NEED_VERIFY=52]="WITHDRAWAL_NEED_VERIFY",m[m.WITHDRAWAL_PENDING_LIMIT_REACH=53]="WITHDRAWAL_PENDING_LIMIT_REACH",m[m.WITHDRAWAL_NOT_ENOUGH_BALANCE=54]="WITHDRAWAL_NOT_ENOUGH_BALANCE",m[m.VERIFICATION_CODE_CONTACT_INFO_IS_ALREADY_EXIST=55]="VERIFICATION_CODE_CONTACT_INFO_IS_ALREADY_EXIST",m[m.VERIFICATION_CODE_RESEND_COOLDOWN_LIMIT=56]="VERIFICATION_CODE_RESEND_COOLDOWN_LIMIT",m[m.DEPOSIT_PROMOTION_REPETITION_IS_FULL=57]="DEPOSIT_PROMOTION_REPETITION_IS_FULL",m}(e||{});class u extends s.N{static#e=this._values=new Array;static#t=this.UNKNOWN_ERROR=new u(e.UNKNOWN_ERROR,"E9999");static#n=this.SUCCESS=new u(e.SUCCESS,"000000");static#s=this.TOKEN_INACTIVE=new u(e.TOKEN_INACTIVE,"S0001");static#i=this.MUST_BE_LOGIN=new u(e.MUST_BE_LOGIN,"S0002");static#o=this.ACCOUNT_IS_LOCK=new u(e.ACCOUNT_IS_LOCK,"S0003",h.P.USER_ID);static#r=this.ACCOUNT_IS_INACTIVED=new u(e.ACCOUNT_IS_INACTIVED,"S0004",h.P.USER_ID);static#a=this.ACCOUNT_IS_NOT_EXISTS=new u(e.ACCOUNT_IS_NOT_EXISTS,"S0005",h.P.USER_ID);static#c=this.ACCOUNT_IS_SUSPENDED=new u(e.ACCOUNT_IS_SUSPENDED,"S0008",h.P.USER_ID);static#l=this.FORGOT_PASSWORD_NO_SUPPORT=new u(e.FORGOT_PASSWORD_NO_SUPPORT,"S0009");static#u=this.VERIFY_SMS_SENT_FAIL=new u(e.VERIFY_SMS_SENT_FAIL,"S0010");static#d=this.VERIFY_EMAIL_SENT_FAIL=new u(e.VERIFY_EMAIL_SENT_FAIL,"S0011");static#h=this.IP_BLOCK_BAN_COUNTRY=new u(e.IP_BLOCK_BAN_COUNTRY,"FS9994");static#f=this.ACCOUNT_FAIL_COUNT=new u(e.ACCOUNT_FAIL_COUNT,"FS9995",h.P.USER_ID);static#p=this.BRAND_MAINTAIN=new u(e.BRAND_MAINTAIN,"FS0001");static#g=this.SYSTEM_MAINTAIN=new u(e.SYSTEM_MAINTAIN,"FS0002");static#_=this.EXCEEDED_DAILY_OTP_LIMIT=new u(e.EXCEEDED_DAILY_OTP_LIMIT,"U0002");static#m=this.SAME_AS_OLD_PASSWORD=new u(e.SAME_AS_OLD_PASSWORD,"U0006",h.P.PASSWORD);static#v=this.SMS_FORGET_PASSWORD_ERROR=new u(e.SMS_FORGET_PASSWORD_ERROR,"U0009");static#E=this.EMAIL_FORGET_PASSWORD_ERROR=new u(e.EMAIL_FORGET_PASSWORD_ERROR,"C0001");static#C=this.MESSAGE_NOT_FOUND=new u(e.MESSAGE_NOT_FOUND,"C0005");static#D=this.VERIFY_NEED_OTP=new u(e.VERIFY_NEED_OTP,"U0010");static#I=this.VERIFY_TIME_LIMIT=new u(e.VERIFY_TIME_LIMIT,"U0011");static#A=this.ACCOUNT_EMAIL_NOT_VERIFIED=new u(e.ACCOUNT_EMAIL_NOT_VERIFIED,"U0012");static#O=this.ACCOUNT_PHONE_NOT_VERIFIED=new u(e.ACCOUNT_PHONE_NOT_VERIFIED,"U0013");static#R=this.FORGOT_PASSWORD_TOKEN_ERROR=new u(e.FORGOT_PASSWORD_TOKEN_ERROR,"U0014");static#S=this.FORGOT_PASSWORD_TOKEN_TIME_LIMIT=new u(e.FORGOT_PASSWORD_TOKEN_TIME_LIMIT,"U0015");static#y=this.OPT_DAILY_LIMIT_REACHED=new u(e.OPT_DAILY_LIMIT_REACHED,"U0016");static#T=this.PROMO_CODE_SUCCESS=new u(e.PROMO_CODE_SUCCESS,"PC0000");static#b=this.FREE_CREDIT_SUCCESS=new u(e.FREE_CREDIT_SUCCESS,"PC0001");static#M=this.INVALID_PROMO_CODE=new u(e.INVALID_PROMO_CODE,"PC0002");static#N=this.PROMO_CODE_PARTICIPANT_EXCEED=new u(e.PROMO_CODE_PARTICIPANT_EXCEED,"PC0003");static#w=this.INVALID_PROMO_CODE_CURRENCY=new u(e.INVALID_PROMO_CODE_CURRENCY,"PC0004");static#P=this.PROMO_CODE_APPLIED=new u(e.PROMO_CODE_APPLIED,"PC0005");static#L=this.OPEN_GAME_ERROR=new u(e.OPEN_GAME_ERROR,"G0001");static#x=this.OPEN_GAME_RETRY=new u(e.OPEN_GAME_RETRY,"G0002");static#F=this.CAPTCHA_EXPIRE=new u(e.CAPTCHA_EXPIRE,"F0001",h.P.VERIFICATION_CODE);static#k=this.CAPTCHA_INVALID=new u(e.CAPTCHA_INVALID,"F0002",h.P.VERIFICATION_CODE);static#B=this.ACCOUNT_INVALID=new u(e.ACCOUNT_INVALID,"F0003",h.P.USER_ID);static#U=this.USER_NAME_INVALID=new u(e.USER_NAME_INVALID,"F0004",h.P.FULL_NAME);static#G=this.PASSWORD_INVALID=new u(e.PASSWORD_INVALID,"F0005",h.P.PASSWORD);static#V=this.CONFIRM_PASSWORD_INVALID=new u(e.CONFIRM_PASSWORD_INVALID,"F0006",h.P.CONFIRM_PASSWORD);static#$=this.CURRENCY_TYPE_ID_INVALID=new u(e.CURRENCY_TYPE_ID_INVALID,"F0007",h.P.CURRENCY_TYPE);static#W=this.CALLING_CODE_INVALID=new u(e.CALLING_CODE_INVALID,"F0008",h.P.PHONE);static#H=this.PHONE_INVALID=new u(e.PHONE_INVALID,"F0009",h.P.PHONE);static#j=this.EMAIL_INVALID=new u(e.EMAIL_INVALID,"F0010",h.P.EMAIL);static#K=this.FRIEND_REFERRER_CODE_INVALID=new u(e.FRIEND_REFERRER_CODE_INVALID,"F0011",h.P.FRIEND_REFERRER_CODE);static#Y=this.DATE_OF_BIRTH_INVALID=new u(e.DATE_OF_BIRTH_INVALID,"F0012",h.P.BIRTHDAY);static#X=this.USER_BANK_ID_INVALID=new u(e.USER_BANK_ID_INVALID,"F0015",h.P.BANK_ID);static#Q=this.USER_BANK_ACCOUNT_NO_INVALID=new u(e.USER_BANK_ACCOUNT_NO_INVALID,"F0016",h.P.BANK_ACC_NUMBER);static#z=this.LIMIT_NEW_PHONE_TIMES=new u(e.LIMIT_NEW_PHONE_TIMES,"F0017");static#J=this.VIP_CONVERT_POINT_REDEMPTION_ERROR=new u(e.VIP_CONVERT_POINT_REDEMPTION_ERROR,"VIP0001");static#Z=this.WITHDRAWAL_TURNOVER_NOT_REACH=new u(e.WITHDRAWAL_TURNOVER_NOT_REACH,"WD0001");static#q=this.WITHDRAWAL_NEED_VERIFY=new u(e.WITHDRAWAL_NEED_VERIFY,"WD0002");static#ee=this.WITHDRAWAL_NOT_ENOUGH_BALANCE=new u(e.WITHDRAWAL_NOT_ENOUGH_BALANCE,"WD0003");static#te=this.VERIFICATION_CODE_CONTACT_INFO_IS_ALREADY_EXIST=new u(e.VERIFICATION_CODE_CONTACT_INFO_IS_ALREADY_EXIST,"FS9997");static#ne=this.VERIFICATION_CODE_RESEND_COOLDOWN_LIMIT=new u(e.VERIFICATION_CODE_RESEND_COOLDOWN_LIMIT,"FS9997");static#ie=this.DEPOSIT_PROMOTION_REPETITION_IS_FULL=new u(e.DEPOSIT_PROMOTION_REPETITION_IS_FULL,"P0002");constructor(C,w,M){super(C),this._value=C,this._statusCode=w,this._field=M,u.values.push(this)}static get values(){return this._values}static getInstanceOf(C){return this._values.find(w=>w._value===C)}static getInstanceOfByStatusCode(C){return this._values.find(w=>w._statusCode===C)}get statusCode(){return this._statusCode}get field(){return this._field}}},91402:(Be,K,l)=>{"use strict";l.d(K,{h:()=>m});var s=l(65788),h=l(52662),e=l(51470),u=function(C){return C[C.LOCAL_BANK=0]="LOCAL_BANK",C[C.ONLINE_BANKING=1]="ONLINE_BANKING",C[C.ALIPAY=2]="ALIPAY",C[C.WECHAT=4]="WECHAT",C[C.JINGDONG=8]="JINGDONG",C[C.QQPAY=16]="QQPAY",C[C.UNIONPAY=32]="UNIONPAY",C[C.BAIDU=64]="BAIDU",C[C.QUICKPAY=128]="QUICKPAY",C[C.TENPAY=256]="TENPAY",C[C.IFPAY=512]="IFPAY",C[C.MOMOPAY=1024]="MOMOPAY",C[C.BKASH=2048]="BKASH",C[C.ROCKET=4096]="ROCKET",C[C.NAGAD=8192]="NAGAD",C[C.ZALO=16384]="ZALO",C[C.PHONEPE=32768]="PHONEPE",C[C.EASYPAISA=65536]="EASYPAISA",C[C.JAZZCASH=131072]="JAZZCASH",C[C.E_SNAPPED=262144]="E_SNAPPED",C[C.CASHMAAL=524288]="CASHMAAL",C[C.GCASH=1048576]="GCASH",C[C.GRABPAY=2097152]="GRABPAY",C[C.CRYPTOEXCHANGE=4194304]="CRYPTOEXCHANGE",C[C.PAYMAYA=8388608]="PAYMAYA",C[C.UPAY=16777216]="UPAY",C[C.CRYPTOSWITCH=33554432]="CRYPTOSWITCH",C[C.TOUCHNGO=67108864]="TOUCHNGO",C[C.BOOSTWALLET=134217728]="BOOSTWALLET",C[C.GPAY=33]="GPAY",C[C.PAYTM=34]="PAYTM",C[C.MOBIKWIK=35]="MOBIKWIK",C[C.JETONWALLET=36]="JETONWALLET",C[C.JETONGO=37]="JETONGO",C[C.FREECHARGE=38]="FREECHARGE",C[C.NEOSURF=39]="NEOSURF",C[C.CREDITCARD=40]="CREDITCARD",C[C.VIETTELPAY=41]="VIETTELPAY",C[C.TRUSTAXIATAPAY=42]="TRUSTAXIATAPAY",C[C.OKWALLET=43]="OKWALLET",C[C.SURECASH=44]="SURECASH",C[C.CONVENIENCESTORE=45]="CONVENIENCESTORE",C[C.UPAISA=46]="UPAISA",C[C.KOMO=47]="KOMO",C[C.SHOPEEPAY=48]="SHOPEEPAY",C[C.YGPAY=49]="YGPAY",C[C.PERFECTMONEY=50]="PERFECTMONEY",C[C.ALFA=51]="ALFA",C[C.NIFT=52]="NIFT",C[C.ONELINKEBANKING=53]="ONELINKEBANKING",C[C.HBLKONNECT=54]="HBLKONNECT",C[C.OMNIPAY=55]="OMNIPAY",C[C.TAYOCASH=56]="TAYOCASH",C[C.STARPAY=57]="STARPAY",C[C.PRAXIS=58]="PRAXIS",C[C.AMAZONPAY=59]="AMAZONPAY",C[C.OLAMONEY=60]="OLAMONEY",C[C.ITZCASH=61]="ITZCASH",C[C.JIOMONEY=62]="JIOMONEY",C[C.MPESAWALLET=63]="MPESAWALLET",C[C.SBIBUDDY=65]="SBIBUDDY",C[C.ZIPCASH=66]="ZIPCASH",C[C.PAYNOWQRCODE=67]="PAYNOWQRCODE",C[C.OXYGENWALLET=68]="OXYGENWALLET",C[C.COINSPH=69]="COINSPH",C[C.ASENSO=70]="ASENSO",C[C.BAYAD=71]="BAYAD",C[C.JUANCASH=72]="JUANCASH",C[C.DCPAY=73]="DCPAY",C[C.VIRTUALBANK=74]="VIRTUALBANK",C[C.PIXBANK=75]="PIXBANK",C[C.NAYAPAY=76]="NAYAPAY",C[C.QRPAYMENT=77]="QRPAYMENT",C[C.VISAMC=78]="VISAMC",C[C.BILLEASE=79]="BILLEASE",C[C.PALAWANPAWNSHOP=80]="PALAWANPAWNSHOP",C[C.DUITNOWQR=82]="DUITNOWQR",C[C.DUITNOWEWALLETQR=83]="DUITNOWEWALLETQR",C[C.LAZADAWALLET=84]="LAZADAWALLET",C[C.IREMIT=85]="IREMIT",C[C.TRAXIONPAY=86]="TRAXIONPAY",C[C.JAZZCASHTILLID=87]="JAZZCASHTILLID",C[C.MANGOPAY=88]="MANGOPAY",C[C.ECPAY=89]="ECPAY",C[C.UPI=90]="UPI",C[C.SCRATCHCARD=91]="SCRATCHCARD",C[C.BIGPAY=92]="BIGPAY",C[C.EMANGO=95]="EMANGO",C[C.INTERAC=96]="INTERAC",C[C.EZCASH=97]="EZCASH",C[C.FASTPAY=98]="FASTPAY",C[C.ESEWA=99]="ESEWA",C[C.KHALTI=100]="KHALTI",C[C.IMEPAY=101]="IMEPAY",C[C.QRPH=102]="QRPH",C[C.USDT_TRC20=103]="USDT_TRC20",C[C.USDT_ERC20=104]="USDT_ERC20",C[C.USDT_OMNI=105]="USDT_OMNI",C[C.BTC=106]="BTC",C[C.ETH=107]="ETH",C[C.CARDANO=108]="CARDANO",C[C.DOGECOIN=109]="DOGECOIN",C[C.LITECOIN=110]="LITECOIN",C[C.XRP=111]="XRP",C[C.TRON=112]="TRON",C[C.USDC=113]="USDC",C[C.QRIS=114]="QRIS",C[C.GoPay=115]="GoPay",C[C.OVO=116]="OVO",C[C.Dana=117]="Dana",C[C.Alfamart=118]="Alfamart",C[C.LinkAja=119]="LinkAja",C[C.VTMoney=120]="VTMoney",C[C.eCNY=121]="eCNY",C[C.JingDongECard=122]="JingDongECard",C[C.TapnGo=123]="TapnGo",C[C.EASYPAISATIL=124]="EASYPAISATIL",C[C.HUIONEPAY=125]="HUIONEPAY",C[C.PIPAY=126]="PIPAY",C[C.TRUEMONEY=127]="TRUEMONEY",C[C.PROMPTPAY=129]="PROMPTPAY",C[C.PIX_CPF=131]="PIX_CPF",C[C.PIX_EMAIL=132]="PIX_EMAIL",C[C.PIX_PHONE=133]="PIX_PHONE",C[C.KBZPAY=137]="KBZPAY",C[C.WAVEPAY=138]="WAVEPAY",C[C.OK=139]="OK",C[C.UABPAY=140]="UABPAY",C[C.MYTELPay=141]="MYTELPay",C[C.FONEPAY=142]="FONEPAY",C[C.VNPTMONEY=143]="VNPTMONEY",C[C.VIETTELMONEY=144]="VIETTELMONEY",C[C.PALAWANPAY=145]="PALAWANPAY",C[C.SADAPAY=146]="SADAPAY",C[C.MARCOPAY=147]="MARCOPAY",C[C.TOKTOKWALLET=148]="TOKTOKWALLET",C[C.TUNEPAY=149]="TUNEPAY",C[C.GOTYME=150]="GOTYME",C[C.IPAY=151]="IPAY",C}(u||{});class m extends s.N{static#e=this._values=new Array;static#t=this.LOCAL_BANK=new m(u.LOCAL_BANK,"Local_bank",0,0);static#n=this.ONLINE_BANKING=new m(u.ONLINE_BANKING,"Online_banking",0,0);static#s=this.ALIPAY=new m(u.ALIPAY,"Alipay",h.P.PHONE.unique,0);static#i=this.WECHAT=new m(u.WECHAT,"Wechat",0,0);static#o=this.JINGDONG=new m(u.JINGDONG,"Jingdong",0,0);static#r=this.QQPAY=new m(u.QQPAY,"Qqpay",0,0);static#a=this.UNIONPAY=new m(u.UNIONPAY,"Unionpay",0,0);static#c=this.BAIDU=new m(u.BAIDU,"Baidu",0,0);static#l=this.QUICKPAY=new m(u.QUICKPAY,"Quickpay",0,0);static#u=this.TENPAY=new m(u.TENPAY,"Tenpay",0,0);static#d=this.IFPAY=new m(u.IFPAY,"Ifpay",0,0);static#h=this.MOMOPAY=new m(u.MOMOPAY,"Momopay",h.P.PHONE.unique,0);static#f=this.BKASH=new m(u.BKASH,"bKash",h.P.PHONE.unique,0);static#p=this.ROCKET=new m(u.ROCKET,"Rocket",h.P.PHONE.unique,0);static#g=this.NAGAD=new m(u.NAGAD,"Nagad",h.P.PHONE.unique,0);static#_=this.ZALO=new m(u.ZALO,"Zalo",0,0);static#m=this.PHONEPE=new m(u.PHONEPE,"Phonepe",h.P.PHONE.unique,0);static#v=this.EASYPAISA=new m(u.EASYPAISA,"Easypaisa",h.P.PHONE.unique,0);static#E=this.JAZZCASH=new m(u.JAZZCASH,"Jazzcash",h.P.PHONE.unique,0);static#C=this.E_SNAPPED=new m(u.E_SNAPPED,"E_snapped",0,0);static#D=this.CASHMAAL=new m(u.CASHMAAL,"Cashmaal",h.P.EMAIL.unique,0);static#I=this.GCASH=new m(u.GCASH,"Gcash",h.P.PHONE.unique,0);static#A=this.GRABPAY=new m(u.GRABPAY,"Grabpay",h.P.PHONE.unique,0);static#O=this.CRYPTOEXCHANGE=new m(u.CRYPTOEXCHANGE,"Cryptoexchange",0,0);static#R=this.PAYMAYA=new m(u.PAYMAYA,"Paymaya",h.P.PHONE.unique,0);static#S=this.UPAY=new m(u.UPAY,"UPay",h.P.PHONE.unique,0);static#y=this.CRYPTOSWITCH=new m(u.CRYPTOSWITCH,"Cryptoswitch",0,0);static#T=this.TOUCHNGO=new m(u.TOUCHNGO,"Touchngo",0,e.K.TOUCH_N_GO.unique);static#b=this.BOOSTWALLET=new m(u.BOOSTWALLET,"Boostwallet",0,0);static#M=this.GPAY=new m(u.GPAY,"Gpay",0,0);static#N=this.PAYTM=new m(u.PAYTM,"Paytm",h.P.PHONE.unique,0);static#w=this.MOBIKWIK=new m(u.MOBIKWIK,"Mobikwik",0,0);static#P=this.JETONWALLET=new m(u.JETONWALLET,"Jetonwallet",0,0);static#L=this.JETONGO=new m(u.JETONGO,"Jetongo",0,0);static#x=this.FREECHARGE=new m(u.FREECHARGE,"Freecharge",0,0);static#F=this.NEOSURF=new m(u.NEOSURF,"Neosurf",0,0);static#k=this.CREDITCARD=new m(u.CREDITCARD,"Creditcard",0,0);static#B=this.VIETTELPAY=new m(u.VIETTELPAY,"Viettelpay",h.P.PHONE.unique,0);static#U=this.TRUSTAXIATAPAY=new m(u.TRUSTAXIATAPAY,"TAP",h.P.PHONE.unique,0);static#G=this.OKWALLET=new m(u.OKWALLET,"OKWallet",h.P.PHONE.unique,0);static#V=this.SURECASH=new m(u.SURECASH,"SureCash",h.P.PHONE.unique,0);static#$=this.CONVENIENCESTORE=new m(u.CONVENIENCESTORE,"7-11",0,0);static#W=this.UPAISA=new m(u.UPAISA,"Upaisa",h.P.PHONE.unique,0);static#H=this.KOMO=new m(u.KOMO,"Komo",0,0);static#j=this.SHOPEEPAY=new m(u.SHOPEEPAY,"Shopeepay",h.P.PHONE.unique,0);static#K=this.YGPAY=new m(u.YGPAY,"Ygpay",0,0);static#Y=this.PERFECTMONEY=new m(u.PERFECTMONEY,"Perfectmoney",0,0);static#X=this.ALFA=new m(u.ALFA,"Alfa",0,0);static#Q=this.NIFT=new m(u.NIFT,"Nift",0,0);static#z=this.ONELINKEBANKING=new m(u.ONELINKEBANKING,"Onelinkebanking",0,0);static#J=this.HBLKONNECT=new m(u.HBLKONNECT,"Hblkonnect",0,0);static#Z=this.OMNIPAY=new m(u.OMNIPAY,"Omnipay",h.P.PHONE.unique,0);static#q=this.TAYOCASH=new m(u.TAYOCASH,"Tayocash",h.P.PHONE.unique,0);static#ee=this.STARPAY=new m(u.STARPAY,"Starpay",0,0);static#te=this.PRAXIS=new m(u.PRAXIS,"Praxis",0,0);static#ne=this.AMAZONPAY=new m(u.AMAZONPAY,"Amazonpay",0,0);static#ie=this.OLAMONEY=new m(u.OLAMONEY,"Olamoney",0,0);static#se=this.ITZCASH=new m(u.ITZCASH,"Itzcash",0,0);static#re=this.JIOMONEY=new m(u.JIOMONEY,"Jiomoney",0,0);static#oe=this.MPESAWALLET=new m(u.MPESAWALLET,"Mpesawallet",0,0);static#ae=this.SBIBUDDY=new m(u.SBIBUDDY,"Sbibuddy",0,0);static#ce=this.ZIPCASH=new m(u.ZIPCASH,"Zipcash",0,0);static#le=this.PAYNOWQRCODE=new m(u.PAYNOWQRCODE,"Paynowqrcode",h.P.PHONE.unique,0);static#ue=this.OXYGENWALLET=new m(u.OXYGENWALLET,"Oxygenwallet",0,0);static#de=this.COINSPH=new m(u.COINSPH,"COINSPH",h.P.PHONE.unique,0);static#he=this.ASENSO=new m(u.ASENSO,"ASENSO",h.P.PHONE.unique,0);static#fe=this.BAYAD=new m(u.BAYAD,"BAYAD",h.P.PHONE.unique,0);static#pe=this.JUANCASH=new m(u.JUANCASH,"JUANCASH",h.P.PHONE.unique,0);static#ge=this.DCPAY=new m(u.DCPAY,"DCPAY",0,0);static#_e=this.VIRTUALBANK=new m(u.VIRTUALBANK,"Virtual Bank",0,0);static#me=this.PIXBANK=new m(u.PIXBANK,"PIXBANK",0,0);static#ve=this.NAYAPAY=new m(u.NAYAPAY,"NAYAPAY",h.P.PHONE.unique,0);static#Ee=this.QRPAYMENT=new m(u.QRPAYMENT,"QRPAYMENT",0,0);static#Ce=this.VISAMC=new m(u.VISAMC,"VISAMC",0,0);static#De=this.BILLEASE=new m(u.BILLEASE,"BILLEASE",0,0);static#Ie=this.PALAWANPAWNSHOP=new m(u.PALAWANPAWNSHOP,"PALAWANPAWNSHOP",h.P.PHONE.unique,0);static#Ae=this.DUITNOWQR=new m(u.DUITNOWQR,"DUITNOWQR",h.P.PHONE.unique,0);static#Oe=this.DUITNOWEWALLETQR=new m(u.DUITNOWEWALLETQR,"DUITNOWEWALLETQR",h.P.PHONE.unique,0);static#Re=this.LAZADAWALLET=new m(u.LAZADAWALLET,"LAZADAWALLET",0,0);static#Se=this.IREMIT=new m(u.IREMIT,"IREMIT",0,0);static#ye=this.TRAXIONPAY=new m(u.TRAXIONPAY,"TRAXIONPAY",0,0);static#Te=this.JAZZCASHTILLID=new m(u.JAZZCASHTILLID,"JAZZCASHTILLID",0,0);static#be=this.MANGOPAY=new m(u.MANGOPAY,"MANGOPAY",0,0);static#Me=this.SCRATCHCARD=new m(u.SCRATCHCARD,"SCRATCHCARD",0,0);static#Ne=this.BIGPAY=new m(u.BIGPAY,"BIGPAY",0,0);static#we=this.EMANGO=new m(u.EMANGO,"EMANGO",h.P.PHONE.unique,0);static#Pe=this.INTERAC=new m(u.INTERAC,"INTERAC",h.P.EMAIL.unique,0);static#Le=this.EZCASH=new m(u.EZCASH,"EZCASH",h.P.PHONE.unique,0);static#xe=this.FASTPAY=new m(u.FASTPAY,"FASTPAY",h.P.PHONE.unique,0);static#Fe=this.ESEWA=new m(u.ESEWA,"ESEWA",h.P.PHONE.unique,0);static#ke=this.KHALTI=new m(u.KHALTI,"KHALTI",h.P.PHONE.unique,0);static#Be=this.IMEPAY=new m(u.IMEPAY,"IMEPAY",h.P.PHONE.unique,0);static#Ue=this.QRPH=new m(u.QRPH,"QRPh",h.P.PHONE.unique,0);static#Ge=this.USDT_TRC20=new m(u.USDT_TRC20,"USDT_TRC20",h.P.PHONE.unique,0);static#Ve=this.USDT_ERC20=new m(u.USDT_ERC20,"USDT_ERC20",h.P.PHONE.unique,0);static#$e=this.USDT_OMNI=new m(u.USDT_OMNI,"USDT_OMNI",h.P.PHONE.unique,0);static#We=this.BTC=new m(u.BTC,"BTC",h.P.PHONE.unique,0);static#He=this.ETH=new m(u.ETH,"ETH",h.P.PHONE.unique,0);static#je=this.CARDANO=new m(u.CARDANO,"CARDANO",h.P.PHONE.unique,0);static#Ke=this.DOGECOIN=new m(u.DOGECOIN,"DOGECOIN",h.P.PHONE.unique,0);static#Ye=this.LITECOIN=new m(u.LITECOIN,"LITECOIN",h.P.PHONE.unique,0);static#Xe=this.XRP=new m(u.XRP,"XRP",h.P.PHONE.unique,0);static#Qe=this.TRON=new m(u.TRON,"TRON",h.P.PHONE.unique,0);static#ze=this.USDC=new m(u.USDC,"USDC",h.P.PHONE.unique,0);static#Je=this.QRIS=new m(u.QRIS,"QRIS",h.P.PHONE.unique,0);static#Ze=this.GoPay=new m(u.GoPay,"GoPay",h.P.PHONE.unique,0);static#qe=this.OVO=new m(u.OVO,"OVO",h.P.PHONE.unique,0);static#et=this.Dana=new m(u.Dana,"Dana",h.P.PHONE.unique,0);static#tt=this.Alfamart=new m(u.Alfamart,"Alfamart",h.P.PHONE.unique,0);static#nt=this.LinkAja=new m(u.LinkAja,"LinkAja",h.P.PHONE.unique,0);static#it=this.VTMoney=new m(u.VTMoney,"VTMoney",h.P.PHONE.unique,0);static#st=this.eCNY=new m(u.eCNY,"eCNY",h.P.PHONE.unique,0);static#rt=this.JingDongECard=new m(u.JingDongECard,"JingDongECard",h.P.PHONE.unique,0);static#ot=this.TapnGo=new m(u.TapnGo,"TapnGo",h.P.PHONE.unique,0);static#at=this.EASYPAISATIL=new m(u.EASYPAISATIL,"EASYPAISATIL",h.P.PHONE.unique,0);static#ct=this.HUIONEPAY=new m(u.HUIONEPAY,"HuionePay",h.P.PHONE.unique,0);static#lt=this.PIPAY=new m(u.PIPAY,"PIPAY",h.P.PHONE.unique,0);static#ut=this.TRUEMONEY=new m(u.TRUEMONEY,"TRUEMONEY",h.P.PHONE.unique,0);static#dt=this.PROMPTPAY=new m(u.PROMPTPAY,"PROMPTPAY",h.P.PHONE.unique,0);static#ht=this.PIX_CPF=new m(u.PIX_CPF,"PIX_CPF",0,e.K.CPF.unique);static#ft=this.PIX_EMAIL=new m(u.PIX_EMAIL,"PIX_EMAIL",h.P.EMAIL.unique,0);static#pt=this.PIX_PHONE=new m(u.PIX_PHONE,"PIX_PHONE",h.P.PHONE.unique,0);static#gt=this.ECPAY=new m(u.ECPAY,"ECPAY",0,0);static#_t=this.UPI=new m(u.UPI,"UPI",0,e.K.UPI.unique);static#mt=this.KBZPAY=new m(u.KBZPAY,"KbzPay",h.P.PHONE.unique,0);static#vt=this.WAVEPAY=new m(u.WAVEPAY,"WavePay",h.P.PHONE.unique,0);static#Et=this.OK=new m(u.OK,"OK",h.P.PHONE.unique,0);static#Ct=this.UABPAY=new m(u.UABPAY,"UabPAY",h.P.PHONE.unique,0);static#Dt=this.MYTELPay=new m(u.MYTELPay,"MytelPay",h.P.PHONE.unique,0);static#It=this.FONEPAY=new m(u.FONEPAY,"Fonepay",h.P.PHONE.unique,0);static#At=this.VNPTMONEY=new m(u.VNPTMONEY,"VNPTMONEY",h.P.PHONE.unique,0);static#Ot=this.VIETTELMONEY=new m(u.VIETTELMONEY,"VIETTELMONEY",h.P.PHONE.unique,0);static#Rt=this.PALAWANPAY=new m(u.PALAWANPAY,"PALAWANPAY",h.P.PHONE.unique,0);static#St=this.SADAPAY=new m(u.SADAPAY,"SADAPAY",h.P.PHONE.unique,0);static#yt=this.MARCOPAY=new m(u.MARCOPAY,"MARCOPAY",h.P.PHONE.unique,0);static#Tt=this.TOKTOKWALLET=new m(u.TOKTOKWALLET,"TOKTOKWALLET",h.P.PHONE.unique,0);static#bt=this.TUNEPAY=new m(u.TUNEPAY,"TUNEPAY",h.P.PHONE.unique,0);static#Mt=this.GOTYME=new m(u.GOTYME,"GOTYME",h.P.PHONE.unique,0);static#Nt=this.IPAY=new m(u.IPAY,"IPay",h.P.PHONE.unique,0);constructor(w,M,b,R){super(w),this._value=w,this._name=M,this._withdrawalContact=b,this._withdrawalDocument=R,m.values.push(this)}static get values(){return this._values}static getInstanceOf(w){return this._values.find(M=>M._value===w)}get name(){return this._name}get isNeedPhoneVerify(){return(this._withdrawalContact&h.P.PHONE.unique)===h.P.PHONE.unique}get isNeedEmailVerify(){return(this._withdrawalContact&h.P.EMAIL.unique)===h.P.EMAIL.unique}get getWithdrawalDocument(){return this._withdrawalDocument}get isNeedDocument(){return this._withdrawalDocument>0}}},83950:(Be,K,l)=>{"use strict";l.d(K,{Y:()=>e});var s=l(65788),h=function(u){return u[u.INACTIVE=0]="INACTIVE",u[u.ACTIVE=1]="ACTIVE",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.INACTIVE=new e(h.INACTIVE,"inactive");static#n=this.ACTIVE=new e(h.ACTIVE,"active");constructor(m,C){super(m),this._value=m,this._name=C,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}get name(){return this._name}}},52662:(Be,K,l)=>{"use strict";l.d(K,{P:()=>e,a:()=>h});var s=l(65788),h=function(u){return u[u.EMAIL=1]="EMAIL",u[u.PHONE=2]="PHONE",u[u.QQ=4]="QQ",u[u.WECHAT=8]="WECHAT",u[u.SKYPE=16]="SKYPE",u[u.ZALO=32]="ZALO",u[u.TELEGRAM=64]="TELEGRAM",u[u.WHATSAPP=128]="WHATSAPP",u[u.KAKAOTALK=256]="KAKAOTALK",u[u.LINE=512]="LINE",u[u.IMO=1024]="IMO",u[u.VIBER=2048]="VIBER",u[u.FBMESSENGER=4096]="FBMESSENGER",u[u.FACEBOOK=8192]="FACEBOOK",u[u.GOOGLE=16384]="GOOGLE",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.EMAIL=new e(h.EMAIL,"EMAIL");static#n=this.PHONE=new e(h.PHONE,"PHONE");static#s=this.QQ=new e(h.QQ,"QQ");static#i=this.WECHAT=new e(h.WECHAT,"WECHAT");static#o=this.SKYPE=new e(h.SKYPE,"SKYPE");static#r=this.ZALO=new e(h.ZALO,"ZALO");static#a=this.TELEGRAM=new e(h.TELEGRAM,"TELEGRAM");static#c=this.WHATSAPP=new e(h.WHATSAPP,"WHATSAPP");static#l=this.KAKAOTALK=new e(h.KAKAOTALK,"KAKAOTALK");static#u=this.LINE=new e(h.LINE,"LINE");static#d=this.IMO=new e(h.IMO,"IMO");static#h=this.VIBER=new e(h.VIBER,"VIBER");static#f=this.FBMESSENGER=new e(h.FBMESSENGER,"FBMESSENGER");static#p=this.FACEBOOK=new e(h.FACEBOOK,"FACEBOOK");static#g=this.GOOGLE=new e(h.GOOGLE,"GOOGLE");constructor(m,C){super(m),this._value=m,this._name=C,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}get name(){return this._name}}},69506:(Be,K,l)=>{"use strict";l.d(K,{B:()=>e});var s=l(65788),h=function(u){return u[u.CN=1]="CN",u[u.SG=2]="SG",u[u.MY=3]="MY",u[u.VN=4]="VN",u[u.KR=5]="KR",u[u.TH=6]="TH",u[u.ID=7]="ID",u[u.IN=8]="IN",u[u.BD=9]="BD",u[u.PH=10]="PH",u[u.PK=11]="PK",u[u.MX=12]="MX",u[u.US=13]="US",u[u.BR=14]="BR",u[u.KH=15]="KH",u[u.NG=16]="NG",u[u.ZA=17]="ZA",u[u.GH=18]="GH",u[u.LK=19]="LK",u[u.NP=20]="NP",u[u.AU=21]="AU",u[u.NZ=22]="NZ",u[u.AFG=23]="AFG",u[u.BT=24]="BT",u[u.MV=25]="MV",u[u.IR=26]="IR",u[u.CA=27]="CA",u[u.HK=28]="HK",u[u.AE=29]="AE",u[u.MM=30]="MM",u[u.TR=31]="TR",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.CN=new e(h.CN,"CN",86,new RegExp("^[1]\\d{10}$"));static#n=this.SG=new e(h.SG,"SG",65,new RegExp("^[89]\\d{7}$"));static#s=this.MY=new e(h.MY,"MY",60,new RegExp("^0?[1-9]\\d{8,9}$"));static#i=this.VN=new e(h.VN,"VN",84,new RegExp("^\\d{9,10}$"));static#o=this.KR=new e(h.KR,"KR",82,new RegExp("^\\d{10,11}$"));static#r=this.TH=new e(h.TH,"TH",66,new RegExp("^\\d{9}$"));static#a=this.ID=new e(h.ID,"ID",62,new RegExp("^0?[8]\\d{7,13}$"));static#c=this.IN=new e(h.IN,"IN",91,new RegExp("^\\d{10}$"));static#l=this.BD=new e(h.BD,"BD",880,new RegExp("^\\d{10,11}$"));static#u=this.PH=new e(h.PH,"PH",63,new RegExp("^[9]\\d{9}$"));static#d=this.PK=new e(h.PK,"PK",92,new RegExp("^\\d{10}$"));static#h=this.MX=new e(h.MX,"MX",52,new RegExp("^\\d{10}$"));static#f=this.US=new e(h.US,"US",1,new RegExp("^\\d{10}$"));static#p=this.BR=new e(h.BR,"BR",55,new RegExp("^\\d{11}$"));static#g=this.KH=new e(h.KH,"KH",855,new RegExp("^\\d{8,9}$"));static#_=this.NG=new e(h.NG,"NG",234,new RegExp("^\\d{10}$"));static#m=this.ZA=new e(h.ZA,"ZA",27,new RegExp("^\\d{9}$"));static#v=this.GH=new e(h.GH,"GH",233,new RegExp("^\\d{9}$"));static#E=this.LK=new e(h.LK,"LK",94,new RegExp("^\\d{9,10}$"));static#C=this.NP=new e(h.NP,"NP",977,new RegExp("^\\d{10}$"));static#D=this.AU=new e(h.AU,"AU",61,new RegExp("^[4]\\d{8}$"));static#I=this.NZ=new e(h.NZ,"NZ",64,new RegExp("^\\d{8,10}$"));static#A=this.AFG=new e(h.AFG,"AFG",93,new RegExp("^\\d{9,10}$"));static#O=this.BT=new e(h.BT,"BT",975,new RegExp("^\\d{8,9}$"));static#R=this.MV=new e(h.MV,"MV",960,new RegExp("^\\d{7}$"));static#S=this.IR=new e(h.IR,"IR",98,new RegExp("^\\d{10}$"));static#y=this.HK=new e(h.HK,"HK",852,new RegExp("^[456789]\\d{7}$"));static#T=this.CA=new e(h.CA,"CA",1,new RegExp("^\\d{10}$"));static#b=this.AE=new e(h.AE,"AE",971,new RegExp("^\\d{9}$"));static#M=this.MM=new e(h.MM,"MM",95,new RegExp("^\\d{8,10}$"));static#N=this.TR=new e(h.TR,"TR",90,new RegExp("^5\\d{9}$"));constructor(m,C,w,M){super(m),this._value=m,this._name=C,this._callingCode=w,this._regExp=M,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){const C=this._values.find(w=>w._value===m);if(!C)throw new Error("Can not find type");return C}static getInstanceOfByCallingCode(m){return this._values.find(C=>C._callingCode===m)}static getInstanceOfByName(m){return this._values.find(C=>C._name===m)}get name(){return this._name}get getCallingCode(){return this._callingCode}get getRegExp(){return this._regExp}}},41206:(Be,K,l)=>{"use strict";l.d(K,{V:()=>e});var s=l(65788),h=function(u){return u[u.BTC=1]="BTC",u[u.USDT=2]="USDT",u[u.ETH=3]="ETH",u[u.USD=4]="USD",u[u.EUR=5]="EUR",u[u.GOLD=6]="GOLD",u[u.USDC=12]="USDC",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.BTC=new e(h.BTC,"BTC","BTC",4);static#n=this.USDT=new e(h.USDT,"USDT","USDT",2);static#s=this.USDC=new e(h.USDC,"USDC","USDC",2);static#i=this.ETH=new e(h.ETH,"ETH","ETH",4);static#o=this.USD=new e(h.USD,"USD","USD",2);static#r=this.EUR=new e(h.EUR,"EUR","EUR",2);static#a=this.GOLD=new e(h.GOLD,"GOLD","GOLD",2);constructor(m,C,w,M){super(m),this._value=m,this._name=C,this._symbol=w,this._fixed=M,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}get name(){return this._name}get symbol(){return this._symbol}get fixed(){return this._fixed}}},51066:(Be,K,l)=>{"use strict";l.d(K,{U:()=>e});var s=l(65788),h=function(u){return u[u.MYR=1]="MYR",u[u.VND=2]="VND",u[u.CNY=3]="CNY",u[u.SGD=4]="SGD",u[u.KRW=5]="KRW",u[u.IDR=6]="IDR",u[u.INR=7]="INR",u[u.BDT=8]="BDT",u[u.THB=9]="THB",u[u.HKD=11]="HKD",u[u.NZD=12]="NZD",u[u.MXN=13]="MXN",u[u.JPY=14]="JPY",u[u.USD=15]="USD",u[u.PHP=16]="PHP",u[u.PKR=17]="PKR",u[u.BRL=18]="BRL",u[u.KHR=19]="KHR",u[u.NGN=20]="NGN",u[u.ZAR=21]="ZAR",u[u.GHS=22]="GHS",u[u.LKR=23]="LKR",u[u.NPR=24]="NPR",u[u.CAD=25]="CAD",u[u.AED=26]="AED",u[u.MMKK=27]="MMKK",u[u.TRY=28]="TRY",u[u.AUD=29]="AUD",u[u.MMK=30]="MMK",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.MYR=new e(h.MYR,"MYR","RM");static#n=this.VND=new e(h.VND,"VND","\u20ab");static#s=this.CNY=new e(h.CNY,"CNY","\xa5");static#i=this.SGD=new e(h.SGD,"SGD","$");static#o=this.KRW=new e(h.KRW,"KRW","\u20a9");static#r=this.IDR=new e(h.IDR,"IDR","Rp");static#a=this.INR=new e(h.INR,"INR","\u20b9");static#c=this.BDT=new e(h.BDT,"BDT","\u09f3");static#l=this.THB=new e(h.THB,"THB","\u0e3f");static#u=this.HKD=new e(h.HKD,"HKD","$");static#d=this.NZD=new e(h.NZD,"NZD","$");static#h=this.MXN=new e(h.MXN,"MXN","$");static#f=this.JPY=new e(h.JPY,"JPY","$");static#p=this.USD=new e(h.USD,"USD","$");static#g=this.PHP=new e(h.PHP,"PHP","\u20b1");static#_=this.PKR=new e(h.PKR,"PKR","\u20a8");static#m=this.BRL=new e(h.BRL,"BRL","R$");static#v=this.KHR=new e(h.KHR,"KHR","\u17db");static#E=this.NGN=new e(h.NGN,"NGN","\u20a6");static#C=this.ZAR=new e(h.ZAR,"ZAR","R");static#D=this.GHS=new e(h.GHS,"GHS","GH\u20b5");static#I=this.LKR=new e(h.LKR,"LKR","Rs");static#A=this.NPR=new e(h.NPR,"NPR","Rs");static#O=this.CAD=new e(h.CAD,"CAD","$");static#R=this.AED=new e(h.AED,"AED","AED");static#S=this.MMKK=new e(h.MMKK,"MMK","Ks");static#y=this.AUD=new e(h.AUD,"AUD","$");static#T=this.TRY=new e(h.TRY,"TRY","\u20ba");static#b=this.MMK=new e(h.MMK,"MMK","Ks");constructor(m,C,w){super(m),this._value=m,this._name=C,this._symbol=w,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}static getInstanceOfByName(m){return this._values.find(C=>C._name===m)}get name(){return this._name}get symbol(){return this._symbol}}},68150:(Be,K,l)=>{"use strict";l.d(K,{C:()=>e});var s=l(65788),h=function(u){return u[u.CSLINK=1]="CSLINK",u[u.EMAIL=2]="EMAIL",u[u.QQ=3]="QQ",u[u.WECHAT=4]="WECHAT",u[u.SKYPE=5]="SKYPE",u[u.ZALO=6]="ZALO",u[u.TELEGRAM=7]="TELEGRAM",u[u.WHATSAPP=8]="WHATSAPP",u[u.KAKAOTALK=9]="KAKAOTALK",u[u.LINE=10]="LINE",u[u.BBM=11]="BBM",u[u.FACEBOOK=12]="FACEBOOK",u[u.IMO=13]="IMO",u[u.PHONE=14]="PHONE",u[u.VIBER=15]="VIBER",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.CSLINK=new e(h.CSLINK,"CSlink","talk");static#n=this.EMAIL=new e(h.EMAIL,"email","email");static#s=this.QQ=new e(h.QQ,"QQ","qq");static#i=this.WECHAT=new e(h.WECHAT,"WeChat","wechat");static#o=this.SKYPE=new e(h.SKYPE,"Skype","skype");static#r=this.ZALO=new e(h.ZALO,"Zalo","zalo");static#a=this.TELEGRAM=new e(h.TELEGRAM,"Telegram","telegram");static#c=this.WHATSAPP=new e(h.WHATSAPP,"WhatsApp","whatsapp");static#l=this.KAKAOTALK=new e(h.KAKAOTALK,"KakaoTalk","kakao-talk");static#u=this.LINE=new e(h.LINE,"LINE","line");static#d=this.BBM=new e(h.BBM,"BBM","bbm");static#h=this.FACEBOOK=new e(h.FACEBOOK,"Facebook Messenger","facebook-messenger");static#f=this.IMO=new e(h.IMO,"imo","imo");static#p=this.PHONE=new e(h.PHONE,"Phone","phone");static#g=this.VIBER=new e(h.VIBER,"Viber","viber");constructor(m,C,w){super(m),this._value=m,this._name=C,this._h5Class=w,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}get name(){return this._name}get h5Class(){return this._h5Class}}},75078:(Be,K,l)=>{"use strict";l.d(K,{$:()=>e});var s=l(65788),h=function(u){return u[u.DATE_PATTERN_FOR_CALENDAR3=0]="DATE_PATTERN_FOR_CALENDAR3",u[u.DATE_PATTERN_FOR_CALENDAR4=1]="DATE_PATTERN_FOR_CALENDAR4",u[u.DATE_PATTERN_FOR_CALENDAR5=2]="DATE_PATTERN_FOR_CALENDAR5",u[u.DATE_PATTERN_FOR_CALENDAR6=3]="DATE_PATTERN_FOR_CALENDAR6",u[u.DATE_PATTERN_FOR_CALENDAR7=4]="DATE_PATTERN_FOR_CALENDAR7",u[u.DATE_PATTERN_FOR_CALENDAR8=5]="DATE_PATTERN_FOR_CALENDAR8",u[u.DATE_PATTERN_FOR_CALENDAR9=6]="DATE_PATTERN_FOR_CALENDAR9",u[u.DATE_PATTERN_FOR_CALENDAR10=7]="DATE_PATTERN_FOR_CALENDAR10",u[u.DATE_PATTERN_FOR_CALENDAR11=8]="DATE_PATTERN_FOR_CALENDAR11",u[u.DATE_PATTERN_FOR_CALENDAR12=9]="DATE_PATTERN_FOR_CALENDAR12",u[u.DATE_PATTERN_FOR_CALENDAR13=10]="DATE_PATTERN_FOR_CALENDAR13",u[u.DATE_PATTERN_FOR_CALENDAR14=11]="DATE_PATTERN_FOR_CALENDAR14",u[u.DATE_PATTERN_FOR_CALENDAR15=12]="DATE_PATTERN_FOR_CALENDAR15",u[u.DATE_PATTERN_FOR_CALENDAR16=13]="DATE_PATTERN_FOR_CALENDAR16",u[u.DATE_PATTERN_FOR_ISO8601=14]="DATE_PATTERN_FOR_ISO8601",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.DATE_PATTERN_FOR_CALENDAR3=new e(h.DATE_PATTERN_FOR_CALENDAR3,"yyyy/MM/dd");static#n=this.DATE_PATTERN_FOR_CALENDAR4=new e(h.DATE_PATTERN_FOR_CALENDAR4,"yyyy-MM-dd");static#s=this.DATE_PATTERN_FOR_CALENDAR5=new e(h.DATE_PATTERN_FOR_CALENDAR5,"yyyy/MM/dd HH:mm");static#i=this.DATE_PATTERN_FOR_CALENDAR6=new e(h.DATE_PATTERN_FOR_CALENDAR6,"yyyy/MM/dd HH:mm:ss");static#o=this.DATE_PATTERN_FOR_CALENDAR7=new e(h.DATE_PATTERN_FOR_CALENDAR7,"yyyy-MM-dd HH:mm:ss");static#r=this.DATE_PATTERN_FOR_CALENDAR8=new e(h.DATE_PATTERN_FOR_CALENDAR8,"yyyy/MM/dd HH:mm:ss.SSS");static#a=this.DATE_PATTERN_FOR_CALENDAR9=new e(h.DATE_PATTERN_FOR_CALENDAR9,"MM/dd/yyyy");static#c=this.DATE_PATTERN_FOR_CALENDAR10=new e(h.DATE_PATTERN_FOR_CALENDAR10,"HH:mm:ss");static#l=this.DATE_PATTERN_FOR_CALENDAR11=new e(h.DATE_PATTERN_FOR_CALENDAR11,"HH:mm");static#u=this.DATE_PATTERN_FOR_CALENDAR12=new e(h.DATE_PATTERN_FOR_CALENDAR12,"MM/dd HH:mm");static#d=this.DATE_PATTERN_FOR_CALENDAR13=new e(h.DATE_PATTERN_FOR_CALENDAR13,"dd MMM YYYY");static#h=this.DATE_PATTERN_FOR_CALENDAR14=new e(h.DATE_PATTERN_FOR_CALENDAR14,"MM/dd");static#f=this.DATE_PATTERN_FOR_CALENDAR15=new e(h.DATE_PATTERN_FOR_CALENDAR15,"yyyyMMdd");static#p=this.DATE_PATTERN_FOR_CALENDAR16=new e(h.DATE_PATTERN_FOR_CALENDAR16,"dd/MM/YYYY HH:mm");static#g=this.DATE_PATTERN_FOR_ISO8601=new e(h.DATE_PATTERN_FOR_ISO8601,"yyyy/MM/dd'T'HH:mm:ssZ");constructor(m,C){super(m),this._value=m,this._format=C,e.values.push(this)}static get values(){return this._values}get format(){return this._format}static get default(){return e.DATE_PATTERN_FOR_CALENDAR7}}},52358:(Be,K,l)=>{"use strict";l.d(K,{T:()=>e});var s=l(65788),h=function(u){return u[u.DOCUMENT=0]="DOCUMENT",u[u.BANK=1]="BANK",u[u.CRYPTO_CURRENCY=2]="CRYPTO_CURRENCY",u[u.EWALLET=3]="EWALLET",u[u.UPI=4]="UPI",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.DOCUMENT=new e(h.DOCUMENT,"Document");static#n=this.BANK=new e(h.BANK,"Bank");static#s=this.CRYPTO_CURRENCY=new e(h.CRYPTO_CURRENCY,"Crypto Currency");static#i=this.EWALLET=new e(h.EWALLET,"E-Wallet");static#o=this.UPI=new e(h.UPI,"UPI");constructor(m,C){super(m),this._value=m,this._name=C,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}get name(){return this._name}}},51470:(Be,K,l)=>{"use strict";l.d(K,{K:()=>u});var s=l(52358),h=l(65788),e=function(m){return m[m.ID=1]="ID",m[m.HEADSHOT=2]="HEADSHOT",m[m.USDT_TRC20=3]="USDT_TRC20",m[m.PASSPORT=4]="PASSPORT",m[m.USDT_ERC20=5]="USDT_ERC20",m[m.USDT_OMNI=6]="USDT_OMNI",m[m.SURECASH=7]="SURECASH",m[m.DRIVER_LICENSE=8]="DRIVER_LICENSE",m[m.CPF=9]="CPF",m[m.BTC=10]="BTC",m[m.ETH=11]="ETH",m[m.TOUCH_N_GO=12]="TOUCH_N_GO",m[m.UPI=13]="UPI",m[m.USDC=14]="USDC",m[m.BANK_STATEMENT=16]="BANK_STATEMENT",m[m.PAN_CARD=32]="PAN_CARD",m[m.GSIS_ID=64]="GSIS_ID",m[m.SCHOOL_ID=128]="SCHOOL_ID",m[m.PRC_ID=256]="PRC_ID",m[m.VOTERS_ID=512]="VOTERS_ID",m[m.SENIOR_CITIZEN_ID=1024]="SENIOR_CITIZEN_ID",m[m.UNIFIED_MULTI_PURPOSE_ID=2048]="UNIFIED_MULTI_PURPOSE_ID",m[m.BARANGAY_CERTIFICATE=4096]="BARANGAY_CERTIFICATE",m[m.FOREIGN_CERTIFICATE_OF_REGISTRATION=8192]="FOREIGN_CERTIFICATE_OF_REGISTRATION",m[m.SOCIAL_SECURITY_SYSTEM_ID=16384]="SOCIAL_SECURITY_SYSTEM_ID",m[m.TIN_CARD=32768]="TIN_CARD",m[m.POSTAL_ID=65536]="POSTAL_ID",m[m.PAG_IBIG_LOYALTY_ID=131072]="PAG_IBIG_LOYALTY_ID",m[m.PHILHEALTH_CARD=262144]="PHILHEALTH_CARD",m[m.CREDIT_CARD_STATEMENT=524288]="CREDIT_CARD_STATEMENT",m[m.UTILITIES_BILL=1048576]="UTILITIES_BILL",m[m.DOCUMENT=9999999]="DOCUMENT",m}(e||{});class u extends h.N{static#e=this._values=new Array;static#t=this.ID=new u(e.ID,"id",s.T.DOCUMENT);static#n=this.HEADSHOT=new u(e.HEADSHOT,"headshot",s.T.DOCUMENT);static#s=this.USDT_TRC20=new u(e.USDT_TRC20,"usdt_trc20",s.T.CRYPTO_CURRENCY);static#i=this.PASSPORT=new u(e.PASSPORT,"passport",s.T.DOCUMENT);static#o=this.USDT_ERC20=new u(e.USDT_ERC20,"usdt_erc20",s.T.CRYPTO_CURRENCY);static#r=this.USDT_OMNI=new u(e.USDT_OMNI,"usdt_omni",s.T.CRYPTO_CURRENCY);static#a=this.SURECASH=new u(e.SURECASH,"surecash",s.T.EWALLET);static#c=this.DRIVER_LICENSE=new u(e.DRIVER_LICENSE,"driver_license",s.T.DOCUMENT);static#l=this.CPF=new u(e.CPF,"cpf",s.T.DOCUMENT);static#u=this.BANK_STATEMENT=new u(e.BANK_STATEMENT,"bank_statement",s.T.BANK);static#d=this.PAN_CARD=new u(e.PAN_CARD,"pan_card",s.T.DOCUMENT);static#h=this.GSIS_ID=new u(e.GSIS_ID,"gsis_id",s.T.DOCUMENT);static#f=this.SCHOOL_ID=new u(e.SCHOOL_ID,"school_id",s.T.DOCUMENT);static#p=this.PRC_ID=new u(e.PRC_ID,"prc_id",s.T.DOCUMENT);static#g=this.VOTERS_ID=new u(e.VOTERS_ID,"voters_id",s.T.DOCUMENT);static#_=this.SENIOR_CITIZEN_ID=new u(e.SENIOR_CITIZEN_ID,"senior_citizen_id",s.T.DOCUMENT);static#m=this.UNIFIED_MULTI_PURPOSE_ID=new u(e.UNIFIED_MULTI_PURPOSE_ID,"unified_multi_purpose_id",s.T.DOCUMENT);static#v=this.BARANGAY_CERTIFICATE=new u(e.BARANGAY_CERTIFICATE,"barangay_certificate",s.T.DOCUMENT);static#E=this.FOREIGN_CERTIFICATE_OF_REGISTRATION=new u(e.FOREIGN_CERTIFICATE_OF_REGISTRATION,"foreign_certificate_of_registration",s.T.DOCUMENT);static#C=this.SOCIAL_SECURITY_SYSTEM_ID=new u(e.SOCIAL_SECURITY_SYSTEM_ID,"social_security_system_id",s.T.DOCUMENT);static#D=this.TIN_CARD=new u(e.TIN_CARD,"tin_card",s.T.DOCUMENT);static#I=this.POSTAL_ID=new u(e.POSTAL_ID,"postal_id",s.T.DOCUMENT);static#A=this.PAG_IBIG_LOYALTY_ID=new u(e.PAG_IBIG_LOYALTY_ID,"pag_ibig_loyalty_id",s.T.DOCUMENT);static#O=this.PHILHEALTH_CARD=new u(e.PHILHEALTH_CARD,"philhealth_card",s.T.DOCUMENT);static#R=this.CREDIT_CARD_STATEMENT=new u(e.CREDIT_CARD_STATEMENT,"credit_card_statement",s.T.DOCUMENT);static#S=this.UTILITIES_BILL=new u(e.UTILITIES_BILL,"utilities_bill",s.T.DOCUMENT);static#y=this.DOCUMENT=new u(e.DOCUMENT,"document",s.T.DOCUMENT);static#T=this.BTC=new u(e.BTC,"btc",s.T.CRYPTO_CURRENCY);static#b=this.ETH=new u(e.ETH,"eth",s.T.CRYPTO_CURRENCY);static#M=this.TOUCH_N_GO=new u(e.TOUCH_N_GO,"touchngo",s.T.EWALLET);static#N=this.UPI=new u(e.UPI,"UPI",s.T.UPI);static#w=this.USDC=new u(e.USDC,"usdc",s.T.CRYPTO_CURRENCY);constructor(C,w,M){super(C),this._value=C,this._name=w,this._group=M,u.values.push(this)}static get values(){return this._values}static getInstanceOf(C){return this._values.find(w=>w._value===C)}static getInstanceOfByName(C){return this._values.find(w=>w._name===C)}get name(){return this._name}get group(){return this._group}}},13978:(Be,K,l)=>{"use strict";l.d(K,{P:()=>e});var s=l(65788),h=function(u){return u[u.ID=0]="ID",u[u.USER_ID=1]="USER_ID",u[u.CAPTCHA=2]="CAPTCHA",u[u.PASSWORD=3]="PASSWORD",u[u.CONFIRM_PASSWORD=4]="CONFIRM_PASSWORD",u[u.PHONE=5]="PHONE",u[u.EMAIL=6]="EMAIL",u[u.CURRENT_PASSWORD=7]="CURRENT_PASSWORD",u[u.NEW_PASSWORD=8]="NEW_PASSWORD",u[u.CONFIRM_NEW_PASSWORD=9]="CONFIRM_NEW_PASSWORD",u[u.FULL_NAME=10]="FULL_NAME",u[u.VERIFICATION_CODE=11]="VERIFICATION_CODE",u[u.CAPTCHA_CODE=12]="CAPTCHA_CODE",u[u.FIRST_NAME=13]="FIRST_NAME",u[u.MIDDLE_NAME=14]="MIDDLE_NAME",u[u.LAST_NAME=15]="LAST_NAME",u[u.BIRTHDAY=16]="BIRTHDAY",u[u.FRIEND_REFERRER_CODE=17]="FRIEND_REFERRER_CODE",u[u.DOCUMENT_NO=18]="DOCUMENT_NO",u[u.DOCUMENT_TYPE_ID=19]="DOCUMENT_TYPE_ID",u[u.EXPIRY_DATE=20]="EXPIRY_DATE",u[u.FRONT_IMAGE=21]="FRONT_IMAGE",u[u.BACK_IMAGE=22]="BACK_IMAGE",u[u.OTHER_IMAGE=23]="OTHER_IMAGE",u[u.BANK_ID=24]="BANK_ID",u[u.BANK_NAME=25]="BANK_NAME",u[u.BANK_BRANCH=26]="BANK_BRANCH",u[u.BANK_ACC_NAME=27]="BANK_ACC_NAME",u[u.BANK_ACC_NUMBER=28]="BANK_ACC_NUMBER",u[u.YOUR_BANK_ACC_NAME=29]="YOUR_BANK_ACC_NAME",u[u.YOUR_BANK_ACC_NUMBER=30]="YOUR_BANK_ACC_NUMBER",u[u.FINANCE_CODE=31]="FINANCE_CODE",u[u.TNC=32]="TNC",u[u.REFERENCE_NO=33]="REFERENCE_NO",u[u.UPI_CODE=34]="UPI_CODE",u[u.CURRENCY_TYPE=35]="CURRENCY_TYPE",u[u.CPF=36]="CPF",u[u.IFSC=37]="IFSC",u[u.IBAN=38]="IBAN",u[u.SWIFT=39]="SWIFT",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.ID=new e(h.ID,"id","ui.global.field.id",void 0);static#n=this.USER_ID=new e(h.USER_ID,"userId","ui.global.field.user_id",void 0);static#s=this.PASSWORD=new e(h.PASSWORD,"password","ui.global.field.password","error.validation.format.password");static#i=this.CONFIRM_PASSWORD=new e(h.CONFIRM_PASSWORD,"confirmPassword","ui.global.field.confirm_password","error.validation.format.password");static#o=this.PHONE=new e(h.PHONE,"phone","ui.global.field.phone_number",void 0);static#r=this.EMAIL=new e(h.EMAIL,"email","ui.global.field.email",void 0);static#a=this.CURRENT_PASSWORD=new e(h.CURRENT_PASSWORD,"currentPassword","ui.global.field.current_password","error.validation.format.password");static#c=this.NEW_PASSWORD=new e(h.NEW_PASSWORD,"newPassword","ui.global.field.new_password","error.validation.format.new_password");static#l=this.CONFIRM_NEW_PASSWORD=new e(h.CONFIRM_NEW_PASSWORD,"confirmNewPassword","ui.global.field.confirm_new_password","error.validation.format.new_password");static#u=this.FULL_NAME=new e(h.FULL_NAME,"fullName","ui.global.field.full_name",void 0);static#d=this.VERIFICATION_CODE=new e(h.VERIFICATION_CODE,"verificationCode","ui.global.field.verification_code",void 0);static#h=this.CAPTCHA_CODE=new e(h.CAPTCHA_CODE,"captchaCode","ui.global.field.verification_code",void 0);static#f=this.FIRST_NAME=new e(h.FIRST_NAME,"firstName","ui.global.field.first_name",void 0);static#p=this.MIDDLE_NAME=new e(h.MIDDLE_NAME,"middleName","ui.global.field.middle_name",void 0);static#g=this.LAST_NAME=new e(h.LAST_NAME,"lastName","ui.global.field.last_name",void 0);static#_=this.BIRTHDAY=new e(h.BIRTHDAY,"dateOfBirth","ui.global.field.date_of_birthday",void 0);static#m=this.FRIEND_REFERRER_CODE=new e(h.FRIEND_REFERRER_CODE,"friendReferrerCode","ui.global.field.friend_referrer_code",void 0);static#v=this.DOCUMENT_TYPE_ID=new e(h.DOCUMENT_TYPE_ID,"documentTypeId","ui.global.field.document",void 0);static#E=this.DOCUMENT_NO=new e(h.DOCUMENT_NO,"documentNo","ui.global.field.document_no",void 0);static#C=this.EXPIRY_DATE=new e(h.EXPIRY_DATE,"expiryDate","ui.global.field.expiry_date",void 0);static#D=this.FRONT_IMAGE=new e(h.FRONT_IMAGE,"documentFrontImage","ui.global.field.document_front_image",void 0);static#I=this.BACK_IMAGE=new e(h.BACK_IMAGE,"documentBackImage","ui.global.field.document_back_image",void 0);static#A=this.OTHER_IMAGE=new e(h.OTHER_IMAGE,"documentOtherImage","ui.global.field.document_other_image",void 0);static#O=this.BANK_ID=new e(h.BANK_ID,"bankId","ui.global.field.bank_id",void 0);static#R=this.BANK_NAME=new e(h.BANK_NAME,"bank","ui.global.field.bank_name",void 0);static#S=this.BANK_BRANCH=new e(h.BANK_BRANCH,"bankBranch","ui.global.field.bank_branch",void 0);static#y=this.BANK_ACC_NAME=new e(h.BANK_ACC_NAME,"bankAccName","ui.global.field.bank_account_name",void 0);static#T=this.BANK_ACC_NUMBER=new e(h.BANK_ACC_NUMBER,"bankAccNumber","ui.global.field.account_number",void 0);static#b=this.YOUR_BANK_ACC_NAME=new e(h.YOUR_BANK_ACC_NAME,"fromBankAccName","ui.global.field.your_bank_account_name",void 0);static#M=this.YOUR_BANK_ACC_NUMBER=new e(h.YOUR_BANK_ACC_NAME,"fromBankAccNo","ui.global.field.bankAccNumberOrPhone",void 0);static#N=this.FINANCE_CODE=new e(h.FINANCE_CODE,"financeCode","ui.global.field.finance_code",void 0);static#w=this.TNC=new e(h.TNC,"TNC","TNC",void 0);static#P=this.REFERENCE_NO=new e(h.REFERENCE_NO,"referenceNo","ui.global.field.reference_no",void 0);static#L=this.UPI_CODE=new e(h.UPI_CODE,"UPICode","ui.global.field.UPI_code",void 0);static#x=this.CURRENCY_TYPE=new e(h.CURRENCY_TYPE,"currencyType","ui.global.field.currency_type",void 0);static#F=this.CPF=new e(h.CPF,"cpf","ui.global.field.cpf",void 0);static#k=this.IFSC=new e(h.IFSC,"ifsc","ui.global.field.ifsc",void 0);static#B=this.IBAN=new e(h.IBAN,"iban","ui.global.field.iban",void 0);static#U=this.SWIFT=new e(h.SWIFT,"swift","ui.global.field.swift",void 0);constructor(m,C,w,M){super(m),this._value=m,this._name=C,this._displayName=w,this._errorValidateMessage=M,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}static getInstanceOfByName(m){return this._values.find(C=>C._name===m)}get name(){return this._name}get displayName(){return this._displayName}get errorValidateMessage(){return this._errorValidateMessage}}},45122:(Be,K,l)=>{"use strict";l.d(K,{Z:()=>e});var s=l(65788),h=function(u){return u[u.SLOT=1]="SLOT",u[u.CASINO=2]="CASINO",u[u.SPORT=4]="SPORT",u[u.FISH=8]="FISH",u[u.CARD=16]="CARD",u[u.ESPORT=32]="ESPORT",u[u.LOTTERY=64]="LOTTERY",u[u.P2P=128]="P2P",u[u.TABLE=256]="TABLE",u[u.OTHER=512]="OTHER",u[u.ARCADE=1024]="ARCADE",u[u.COCKFIGHTING=2048]="COCKFIGHTING",u[u.RAIN=4096]="RAIN",u[u.CRASH=8192]="CRASH",u[u.FREE=16384]="FREE",u}(h||{});class e extends s.N{static#e=this.typeName="GameType";static#t=this._values=new Array;static#n=this.SLOT=new e(h.SLOT,"Slot","slot");static#s=this.CASINO=new e(h.CASINO,"Casino","casino");static#i=this.SPORT=new e(h.SPORT,"Sport","sport");static#o=this.FISH=new e(h.FISH,"Fish","fishing");static#r=this.CARD=new e(h.CARD,"Card","card");static#a=this.ESPORT=new e(h.ESPORT,"ESport","esport");static#c=this.LOTTERY=new e(h.LOTTERY,"Lottery","lottery");static#l=this.P2P=new e(h.P2P,"P2P","p2p");static#u=this.TABLE=new e(h.TABLE,"Table","table");static#d=this.OTHER=new e(h.OTHER,"Other","other");static#h=this.ARCADE=new e(h.ARCADE,"Arcade","arcade");static#f=this.COCKFIGHTING=new e(h.COCKFIGHTING,"CockFighting","cockfighting");static#p=this.RAIN=new e(h.RAIN,"Rain","rain");static#g=this.CRASH=new e(h.CRASH,"Crash","crash");static#_=this.FREE=new e(h.FREE,"Free","free");constructor(m,C,w){super(m),this._value=m,this._name=C,this._link=w,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}static getInstanceOfByName(m){return this._values.find(C=>C._name.toLowerCase()===m.toLowerCase())}get name(){return this._name}get link(){return this._link}static getGameTypes(m){return this._values.filter(C=>(m&C.unique)===C.unique)}}},25586:(Be,K,l)=>{"use strict";l.d(K,{J:()=>e});var s=l(65788),h=function(u){return u[u.ALL=0]="ALL",u[u.MAIN=1]="MAIN",u[u.REGISTER=2]="REGISTER",u[u.PROMOTION=3]="PROMOTION",u[u.SPORTS=4]="SPORTS",u[u.CASINO=5]="CASINO",u[u.CARD=6]="CARD",u[u.FISHING=7]="FISHING",u[u.SLOT=8]="SLOT",u[u.VIP=9]="VIP",u[u.ABOUT=10]="ABOUT",u[u.PAYMENT=11]="PAYMENT",u[u.PRIVACY=12]="PRIVACY",u[u.CONDITIONS=13]="CONDITIONS",u[u.DUTY=14]="DUTY",u[u.AGE_18_ABOVE=15]="AGE_18_ABOVE",u[u.FAQ=16]="FAQ",u[u.RULE=17]="RULE",u[u.CONTACT=18]="CONTACT",u[u.SAFE=19]="SAFE",u[u.NOT_FOUND=20]="NOT_FOUND",u[u.APP=21]="APP",u[u.TABLE=22]="TABLE",u[u.KYC=23]="KYC",u[u.ARCADE=24]="ARCADE",u[u.GLOSSARY=25]="GLOSSARY",u[u.LOTTERY=26]="LOTTERY",u[u.CRASH=27]="CRASH",u[u.LOGIN=28]="LOGIN",u[u.REFERRAL=29]="REFERRAL",u[u.AFFILIATELOGIN=30]="AFFILIATELOGIN",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.ALL=new e(h.ALL);static#n=this.MAIN=new e(h.MAIN);static#s=this.REGISTER=new e(h.REGISTER);static#i=this.PROMOTION=new e(h.PROMOTION);static#o=this.SPORTS=new e(h.SPORTS);static#r=this.CASINO=new e(h.CASINO);static#a=this.CARD=new e(h.CARD);static#c=this.FISHING=new e(h.FISHING);static#l=this.SLOT=new e(h.SLOT);static#u=this.VIP=new e(h.VIP);static#d=this.ABOUT=new e(h.ABOUT);static#h=this.PAYMENT=new e(h.PAYMENT);static#f=this.PRIVACY=new e(h.PRIVACY);static#p=this.CONDITIONS=new e(h.CONDITIONS);static#g=this.DUTY=new e(h.DUTY);static#_=this.AGE_18_ABOVE=new e(h.AGE_18_ABOVE);static#m=this.FAQ=new e(h.FAQ);static#v=this.RULE=new e(h.RULE);static#E=this.CONTACT=new e(h.CONTACT);static#C=this.SAFE=new e(h.SAFE);static#D=this.NOT_FOUND=new e(h.NOT_FOUND);static#I=this.APP=new e(h.APP);static#A=this.TABLE=new e(h.TABLE);static#O=this.KYC=new e(h.KYC);static#R=this.ARCADE=new e(h.ARCADE);static#S=this.GLOSSARY=new e(h.GLOSSARY);static#y=this.LOTTERY=new e(h.LOTTERY);static#T=this.CRASH=new e(h.CRASH);static#b=this.LOGIN=new e(h.LOGIN);static#M=this.REFERRAL=new e(h.REFERRAL);static#N=this.AFFILIATELOGIN=new e(h.AFFILIATELOGIN);constructor(m){super(m),this._value=m,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}}},71522:(Be,K,l)=>{"use strict";l.d(K,{t:()=>u});var s=l(65788),h=function(m){return m[m.ENGLISH=1]="ENGLISH",m[m.CHINESE=2]="CHINESE",m[m.MALAY=3]="MALAY",m[m.VIETNAMESE=4]="VIETNAMESE",m[m.KOREA=5]="KOREA",m[m.THAI=6]="THAI",m[m.INDONESIAN=7]="INDONESIAN",m[m.BENGALI=8]="BENGALI",m[m.TAGALOG=9]="TAGALOG",m[m.SPANISH=10]="SPANISH",m[m.URDU=11]="URDU",m[m.PORTUGUESE=12]="PORTUGUESE",m[m.CAMBODIAN=13]="CAMBODIAN",m[m.CEBUANO=14]="CEBUANO",m[m.HINDI=15]="HINDI",m[m.SINHALA=16]="SINHALA",m[m.TAMIL=17]="TAMIL",m[m.NEPALI=18]="NEPALI",m[m.TRADIONNAL_CHINESE=19]="TRADIONNAL_CHINESE",m[m.BURMESE=20]="BURMESE",m}(h||{}),e=function(m){return m.auto="",m.ltr="ltr",m.rtl="rtl",m}(e||{});class u extends s.N{static#e=this._values=new Array;static#t=this._resourceKeys=new Array;static#n=this.ENGLISH=new u(h.ENGLISH,"ENGLISH","en","GB",e.auto);static#s=this.CHINESE=new u(h.CHINESE,"CHINESE","cn","CN",e.auto);static#i=this.MALAY=new u(h.MALAY,"MALAY","ma","MY",e.auto);static#o=this.VIETNAMESE=new u(h.VIETNAMESE,"VIETNAMESE","vn","VN",e.auto);static#r=this.KOREA=new u(h.KOREA,"KOREA","ko","KR",e.auto);static#a=this.THAI=new u(h.THAI,"THAI","th","TH",e.auto);static#c=this.INDONESIAN=new u(h.INDONESIAN,"INDONESIAN","id","ID",e.auto);static#l=this.BENGALI=new u(h.BENGALI,"BENGALI","bn","BD",e.auto);static#u=this.TAGALOG=new u(h.TAGALOG,"TAGALOG","tl","PH",e.auto);static#d=this.SPANISH=new u(h.SPANISH,"SPANISH","es","MX",e.auto);static#h=this.URDU=new u(h.URDU,"URDU","ur","PK",e.rtl);static#f=this.PORTUGUESE=new u(h.PORTUGUESE,"PORTUGUESE","pt","BRL",e.auto);static#p=this.CAMBODIAN=new u(h.CAMBODIAN,"CAMBODIAN","km","KH",e.auto);static#g=this.CEBUANO=new u(h.CEBUANO,"CEBUANO","ceb","CEB",e.auto);static#_=this.HINDI=new u(h.HINDI,"HINDI","hi","IN",e.auto);static#m=this.SINHALA=new u(h.SINHALA,"SINHALA","si","LK",e.auto);static#v=this.TAMIL=new u(h.TAMIL,"TAMIL","ta","LK",e.auto);static#E=this.NEPALI=new u(h.NEPALI,"NEPALI","ne","NP",e.auto);static#C=this.TRADIONNAL_CHINESE=new u(h.TRADIONNAL_CHINESE,"TRADIONNAL_CHINESE","tc","TC",e.auto);static#D=this.BURMESE=new u(h.BURMESE,"BURMESE","my","MM",e.auto);constructor(C,w,M,b,R){super(C),this._value=C,this._name=w,this._resourceKey=M,this._flagImageName=b,this._textDir=R,u.values.push(this),u._resourceKeys.push(this._resourceKey)}static get values(){return this._values}static get resourceKeyArray(){return this._resourceKeys}static getInstanceOf(C){return this._values.find(w=>w._value===C)}static getInstanceOfDefaultEn(C){return this._values.find(M=>M._value===C)||this.default}static getInstanceOfByName(C){return this._values.find(w=>w._name===C)}static isLanguageDirRtl(C){return C.textDir===e.rtl}get name(){return this._name}get resourceKey(){return this._resourceKey}get textDir(){return this._textDir}static get default(){return u.ENGLISH}get flagImageName(){return this._flagImageName}}},92404:(Be,K,l)=>{"use strict";l.d(K,{G:()=>e,t:()=>h});var s=l(65788),h=function(u){return u[u.ACCOUNT=0]="ACCOUNT",u[u.PHONE=1]="PHONE",u[u.EMAIL=2]="EMAIL",u[u.FACEBOOK=3]="FACEBOOK",u[u.GOOGLE=4]="GOOGLE",u[u.PASSKEY=5]="PASSKEY",u[u.DEFAULT=-1]="DEFAULT",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.ACCOUNT=new e(h.ACCOUNT,"ACCOUNT");static#n=this.PHONE=new e(h.PHONE,"PHONE");static#s=this.EMAIL=new e(h.EMAIL,"EMAIL");static#i=this.FACEBOOK=new e(h.FACEBOOK,"FACEBOOK");static#o=this.GOOGLE=new e(h.GOOGLE,"GOOGLE");static#r=this.PASSKEY=new e(h.PASSKEY,"PASSKEY");constructor(m,C){super(m),this._value=m,this._name=C,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}get name(){return this._name}}},84652:(Be,K,l)=>{"use strict";l.d(K,{h:()=>e});var s=l(65788),h=function(u){return u[u.TEXT=0]="TEXT",u[u.LINK=1]="LINK",u[u.NONE=2]="NONE",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.TEXT=new e(h.TEXT);static#n=this.LINK=new e(h.LINK);static#s=this.NONE=new e(h.NONE);constructor(m){super(m),this._value=m,e.values.push(this)}static get values(){return this._values}}},37996:(Be,K,l)=>{"use strict";l.d(K,{G:()=>e});var s=l(65788),h=function(u){return u[u.TOP_BANNER=0]="TOP_BANNER",u[u.RUNNING=1]="RUNNING",u[u.MEMBER=2]="MEMBER",u[u.POP=3]="POP",u[u.SYSTEM=4]="SYSTEM",u[u.PROMOTION=5]="PROMOTION",u[u.SLOT_SLIDER=6]="SLOT_SLIDER",u[u.SLOT_TOP_BANNER=7]="SLOT_TOP_BANNER",u[u.EMAIL=8]="EMAIL",u[u.SMS=9]="SMS",u[u.POPULAR_GAME=10]="POPULAR_GAME",u[u.RANK_WINNER=11]="RANK_WINNER",u[u.SPORT_SLIDER=12]="SPORT_SLIDER",u[u.CASINO_TOP_BANNER=13]="CASINO_TOP_BANNER",u[u.PROMOTION_TOP_BANNER=14]="PROMOTION_TOP_BANNER",u[u.TABLE_TOP_BANNER=15]="TABLE_TOP_BANNER",u[u.REGISTER_SLIDER=16]="REGISTER_SLIDER",u[u.REGISTER_SUCCESS_SLIDER=17]="REGISTER_SUCCESS_SLIDER",u[u.SOCIAL_MEDIA=18]="SOCIAL_MEDIA",u[u.RANK_BONUS=20]="RANK_BONUS",u[u.RANK_PAYMENT=21]="RANK_PAYMENT",u[u.REFERRAL_TEAMS_AND_CONDITIONS=22]="REFERRAL_TEAMS_AND_CONDITIONS",u[u.SPORT_TOP_BANNER=23]="SPORT_TOP_BANNER",u[u.FISH_TOP_BANNER=24]="FISH_TOP_BANNER",u[u.ARCADE_TOP_BANNER=25]="ARCADE_TOP_BANNER",u[u.FOOTER_FLOAT_BANNER=26]="FOOTER_FLOAT_BANNER",u[u.SIDE_MENU_BANNER=28]="SIDE_MENU_BANNER",u[u.LANDING_PAGE_PROMOTION=30]="LANDING_PAGE_PROMOTION",u[u.LANDING_PAGE_CASINO_BANNER=31]="LANDING_PAGE_CASINO_BANNER",u[u.LANDING_PAGE_SPORT_BANNER=32]="LANDING_PAGE_SPORT_BANNER",u[u.WEBSITE_INTRODUCTION=33]="WEBSITE_INTRODUCTION",u[u.TOURNAMENT=36]="TOURNAMENT",u[u.FOOTER_SEO_CONTENT=37]="FOOTER_SEO_CONTENT",u[u.CASINO_LP_TOP_BANNER=38]="CASINO_LP_TOP_BANNER",u[u.SPORTS_LP_TOP_BANNER=39]="SPORTS_LP_TOP_BANNER",u[u.SLOT_JACKPOT_BANNER=40]="SLOT_JACKPOT_BANNER",u[u.FISH_JACKPOT_BANNER=41]="FISH_JACKPOT_BANNER",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.TOP_BANNER=new e(h.TOP_BANNER);static#n=this.RUNNING=new e(h.RUNNING);static#s=this.MEMBER=new e(h.MEMBER);static#i=this.POP=new e(h.POP);static#o=this.SYSTEM=new e(h.SYSTEM);static#r=this.PROMOTION=new e(h.PROMOTION);static#a=this.SLOT_SLIDER=new e(h.SLOT_SLIDER);static#c=this.SLOT_TOP_BANNER=new e(h.SLOT_TOP_BANNER);static#l=this.EMAIL=new e(h.EMAIL);static#u=this.SMS=new e(h.SMS);static#d=this.POPULAR_GAME=new e(h.POPULAR_GAME);static#h=this.RANK_WINNER=new e(h.RANK_WINNER);static#f=this.SPORT_SLIDER=new e(h.SPORT_SLIDER);static#p=this.CASINO_TOP_BANNER=new e(h.CASINO_TOP_BANNER);static#g=this.PROMOTION_TOP_BANNER=new e(h.PROMOTION_TOP_BANNER);static#_=this.TABLE_TOP_BANNER=new e(h.TABLE_TOP_BANNER);static#m=this.REGISTER_SLIDER=new e(h.REGISTER_SLIDER);static#v=this.REGISTER_SUCCESS_SLIDER=new e(h.REGISTER_SUCCESS_SLIDER);static#E=this.SOCIAL_MEDIA=new e(h.SOCIAL_MEDIA);static#C=this.RANK_BONUS=new e(h.RANK_BONUS);static#D=this.RANK_PAYMENT=new e(h.RANK_PAYMENT);static#I=this.REFERRAL_TEAMS_AND_CONDITIONS=new e(h.REFERRAL_TEAMS_AND_CONDITIONS);static#A=this.SPORT_TOP_BANNER=new e(h.SPORT_TOP_BANNER);static#O=this.FISH_TOP_BANNER=new e(h.FISH_TOP_BANNER);static#R=this.ARCADE_TOP_BANNER=new e(h.ARCADE_TOP_BANNER);static#S=this.FOOTER_FLOAT_BANNER=new e(h.FOOTER_FLOAT_BANNER);static#y=this.SIDE_MENU_BANNER=new e(h.SIDE_MENU_BANNER);static#T=this.LANDING_PAGE_PROMOTION=new e(h.LANDING_PAGE_PROMOTION);static#b=this.LANDING_PAGE_CASINO_BANNER=new e(h.LANDING_PAGE_CASINO_BANNER);static#M=this.LANDING_PAGE_SPORT_BANNER=new e(h.LANDING_PAGE_SPORT_BANNER);static#N=this.WEBSITE_INTRODUCTION=new e(h.WEBSITE_INTRODUCTION);static#w=this.TOURNAMENT=new e(h.TOURNAMENT);static#P=this.FOOTER_SEO_CONTENT=new e(h.FOOTER_SEO_CONTENT);static#L=this.CASINO_LP_TOP_BANNER=new e(h.CASINO_LP_TOP_BANNER);static#x=this.SPORTS_LP_TOP_BANNER=new e(h.SPORTS_LP_TOP_BANNER);static#F=this.SLOT_JACKPOT_BANNER=new e(h.SLOT_JACKPOT_BANNER);static#k=this.FISH_JACKPOT_BANNER=new e(h.FISH_JACKPOT_BANNER);constructor(m){super(m),this._value=m,e.values.push(this)}static get values(){return this._values}}},74851:(Be,K,l)=>{"use strict";l.d(K,{C:()=>u});var s=l(65788),h=l(25586);let e=0;class u extends s.N{static#e=this._values=new Array;static#t=this.MAIN=new u("","/",h.J.MAIN);static#n=this.HOME=new u("home","/home",h.J.MAIN);static#s=this.IP_BLOCK=new u("ip-block","/ip-block",void 0);static#i=this.SYSTEM_MAINTAIN=new u("system-maintain","/system-maintain",void 0);static#o=this.BRAND_MAINTAIN=new u("brand-maintain","/brand-maintain",h.J.MAIN);static#r=this.PROVIDER_MAINTAIN=new u("provider-maintain","/provider-maintain",h.J.MAIN);static#a=this.NOT_FOUND=new u("not-found","/not-found",h.J.NOT_FOUND);static#c=this.LOGINNEW_QUICK_ACCOUNT=new u("account-login-quick","/account-login-quick",h.J.LOGIN);static#l=this.LOGIN=new u("login","/login",h.J.LOGIN);static#u=this.ACCOUNT_LANDING_LOGIN=new u("login","/account-landing/login",h.J.REGISTER);static#d=this.LOGIN_NORMAL=new u("normal","/account-landing/login/normal",h.J.MAIN);static#h=this.LOGIN_PHONE=new u("phone","/account-landing/login/phone",h.J.MAIN);static#f=this.LOGIN_EMAIL=new u("email","/account-landing/login/email",h.J.MAIN);static#p=this.LOGIN_ACCOUNT=new u("account","/account-landing/login/account",h.J.MAIN);static#g=this.ACCOUNT_LANDING=new u("account-landing","/account-landing",h.J.REGISTER);static#_=this.REGISTER_INTRO=new u("register-intro","/register-intro",h.J.REGISTER);static#m=this.REGISTER=new u("register","/register",h.J.REGISTER);static#v=this.ACCOUNT_LANDING_REGISTER=new u("register","/account-landing/register",h.J.REGISTER);static#E=this.REGISTER_NORMAL=new u("normal","/account-landing/register/normal",h.J.REGISTER);static#C=this.REGISTER_PHONE=new u("phone","/account-landing/register/phone",h.J.REGISTER);static#D=this.REGISTER_EMAIL=new u("email","/account-landing/register/email",h.J.REGISTER);static#I=this.REGISTER_ACCOUNT=new u("account","/account-landing/register/account",h.J.REGISTER);static#A=this.REGISTER_VERIFY_EMAIL=new u("verify-email","/verify-email",h.J.REGISTER);static#O=this.REGISTER_VERIFY_PHONE=new u("verify-phone","/verify-phone",h.J.REGISTER);static#R=this.CREATE_PASSWORD=new u("create-password","/create-password",h.J.REGISTER);static#S=this.REGISTER_QUICK=new u("quick","/register/quick",h.J.REGISTER);static#y=this.REGISTERNEW_QUICK_ACCOUNT=new u("new-register-quick-account","/new-register-quick-account",h.J.REGISTER);static#T=this.REGISTERNEW_QUICK=new u("new-register-quick","/new-register-quick",h.J.REGISTER);static#b=this.REGISTERNEW_THIRDPARTY=new u("new-register-entry","/new-register-entry",h.J.REGISTER);static#M=this.QUICK_REGISTER_PHONE=new u("phone","/new-register-entry/phone",h.J.REGISTER);static#N=this.QUICK_REGISTER_EMAIL=new u("email","/new-register-entry/email",h.J.REGISTER);static#w=this.QUICK_REGISTER_ACCOUNT=new u("account","/new-register-entry/account",h.J.REGISTER);static#P=this.QUICK_REGISTER_SOCIAL=new u("social","/new-register-entry/social",h.J.REGISTER);static#L=this.REGISTERNEW_VERIFY_CODE=new u("new-register-verify-code","/new-register-verify-code",h.J.REGISTER);static#x=this.REGISTERNEW_SUCCESS_PAGE=new u("new-register-success-page","/new-register-success-page",h.J.REGISTER);static#F=this.FORGOT_PASSWORD_RESET_SUCCESS=new u("forgot-password/reset-success","/forgot-password/reset-success",h.J.MAIN);static#k=this.FORGOT_PASSWORD_RESET=new u("forgot-password/reset","/forgot-password/reset",h.J.MAIN);static#B=this.FORGOT_PASSWORD_VERIFY=new u("forgot-password/verify","/forgot-password/verify",h.J.MAIN);static#U=this.FORGOT_PASSWORD_CONTACT=new u("forgot-password/contact","/forgot-password/contact",h.J.MAIN);static#G=this.FORGOT_PASSWORD=new u("forgot-password","/forgot-password",h.J.MAIN);static#V=this.FORGOT_PASSWORD_MAIL=new u("email","/forgot-password/email",h.J.MAIN);static#$=this.FORGOT_PASSWORD_SMS=new u("sms","/forgot-password/sms",h.J.MAIN);static#W=this.CHANGE_PASSWORD=new u("change-password","/member/change-password",h.J.MAIN);static#H=this.CHANGE_PASSWORD_V3=new u("change-password","/member/profile/account/change-password",h.J.MAIN);static#j=this.RESET_PASSWORD_PAGE=new u("reset-password","/member/reset-password",h.J.MAIN);static#K=this.PROMOTION=new u("promotion","/promotion",h.J.PROMOTION);static#Y=this.PROMOTION_DETAIL=new u("promotion-detail","/promotion/promotion-detail",h.J.PROMOTION);static#X=this.SPORTS=new u("sports","/sports",h.J.SPORTS);static#Q=this.SLOT=new u("slot","/slot",h.J.SLOT);static#z=this.RECENTLY_GAME=new u("recently-game","/recently-game",h.J.SLOT);static#J=this.SLOT_RECENTLY_GAME=new u("slot-recently-game","/slot-recently-game",h.J.SLOT);static#Z=this.TABLE=new u("table","/table",h.J.TABLE);static#q=this.LOTTERY=new u("lottery","/lottery",h.J.LOTTERY);static#ee=this.ARCADE=new u("arcade","/arcade",h.J.ARCADE);static#te=this.CASINO=new u("casino","/casino",h.J.CASINO);static#ne=this.FISHING=new u("fishing","/fishing",h.J.FISHING);static#ie=this.CRASH=new u("crash","/crash",h.J.CRASH);static#se=this.CARD=new u("card","/card",h.J.CARD);static#re=this.ABOUT=new u("about","/about",h.J.ABOUT);static#oe=this.TERMS=new u("terms","/terms",h.J.MAIN);static#ae=this.TERMS_ABOUT=new u("about","/terms/about",h.J.ABOUT);static#ce=this.TERMS_CONTACT=new u("contact","/terms/contact",h.J.CONTACT);static#le=this.TERMS_PRIVACY=new u("privacy","/terms/privacy",h.J.PRIVACY);static#ue=this.TERMS_KYC_POLICY=new u("kyc-policy","/terms/kyc-policy",h.J.KYC);static#de=this.TERMS_SELF_EXCLUSION_POLICY=new u("self-exclusion-policy","/terms/self-exclusion-policy",void 0);static#he=this.TERMS_UNDERAGE_POLICY=new u("underage-policy","/terms/underage-policy",void 0);static#fe=this.TERMS_SPORT_MARKET_GLOSSARY=new u("sport-market-glossary","/terms/sport-market-glossary",void 0);static#pe=this.TERMS_CONDITIONS=new u("conditions","/terms/conditions",h.J.CONDITIONS);static#ge=this.TERMS_RULES=new u("rules","/terms/rules",h.J.RULE);static#_e=this.TERMS_DUTY=new u("duty","/terms/duty",h.J.DUTY);static#me=this.TERMS_FAQ=new u("faq","/terms/faq",h.J.FAQ);static#ve=this.TERMS_DISCONNECTION=new u("disconnection","/terms/disconnection",h.J.FAQ);static#Ee=this.TERMS_IN_AND_OUT=new u("in-and-out","/terms/in-and-out",h.J.PAYMENT);static#Ce=this.TEAMS_AGE_18_ABOVE=new u("age-18-above","/terms/age-18-above",h.J.AGE_18_ABOVE);static#De=this.TEAMS_SAFE=new u("safe","/terms/safe",h.J.SAFE);static#Ie=this.TEAMS_BC_SPORTS=new u("bc-sports","/terms/bc-sports",h.J.RULE);static#Ae=this.APP_DOWNLOAD=new u("app-download","/app-download",h.J.APP);static#Oe=this.AMBASSADOR=new u("ambassador","/ambassador",h.J.MAIN);static#Re=this.SPONSOR=new u("sponsor","/sponsor",h.J.MAIN);static#Se=this.PROFILE_EDIT_FULLNAME=new u("edit-fullname","/member/profile/info/edit-fullname",h.J.MAIN);static#ye=this.PROFILE_EDIT_EMAIL=new u("edit-email","/member/profile/info/edit-email",h.J.MAIN);static#Te=this.PROFILE_EDIT_PHONE=new u("edit-phone","/member/profile/info/edit-phone",h.J.MAIN);static#be=this.PROFILE_EDIT_BIRTHDAY=new u("edit-birthday","/member/profile/info/edit-birthday",h.J.MAIN);static#Me=this.PROFILE_EDIT_THIRDPARTY_ACCOUNT=new u("edit-thirdparty-account","/member/profile/account/edit-thirdparty-account",h.J.MAIN);static#Ne=this.PROFILE_EDIT_DOCUMENT=new u("edit-document","/member/profile/verify/edit-document",h.J.MAIN);static#we=this.PROFILE_EDIT_BANK_CARD=new u("edit-bank-card","/member/profile/verify/edit-bank-card",h.J.MAIN);static#Pe=this.PROFILE_EDIT_CRYPTO=new u("edit-crypto","/member/profile/verify/edit-crypto",h.J.MAIN);static#Le=this.PROFILE_EDIT_UPI=new u("edit-upi","/member/profile/verify/edit-upi",h.J.MAIN);static#xe=this.PROFILE_EDIT_E_WALETS=new u("edit-e-wallets","/member/profile/verify/edit-e-wallets",h.J.MAIN);static#Fe=this.PROFILE_ADD_PHONE=new u("add-phone","/member/profile/info/add-phone",h.J.MAIN);static#ke=this.PROFILE_ADD_BANK_CARD=new u("add-bank-card","/member/profile/verify/add-bank-card",h.J.MAIN);static#Be=this.PROFILE_ADD_CRYPTO=new u("add-crypto","/member/profile/verify/add-crypto",h.J.MAIN);static#Ue=this.PROFILE_ADD_DOCUMENT=new u("add-document","/member/profile/verify/add-document",h.J.MAIN);static#Ge=this.PROFILE_ADD_UPI=new u("add-upi","/member/profile/verify/add-upi",h.J.MAIN);static#Ve=this.PROFILE_ENTRY_DOCUMENT=new u("entry-document","/member/profile/verify/entry-document",h.J.MAIN);static#$e=this.PROFILE_VERIFY_EMAIL=new u("verify-email","member/profile/info/verify-email",h.J.MAIN);static#We=this.PROFILE_VERIFY_PHONE=new u("verify-phone","member/profile/info/verify-phone",h.J.MAIN);static#He=this.PROFILE_VERIFY_OTP=new u("verify-otp","member/profile/verify/verify-otp",h.J.MAIN);static#je=this.PROFILE_INFO=new u("info","/member/profile/info",h.J.MAIN);static#Ke=this.PROFILE_ACCOUNT=new u("account","/member/profile/account",h.J.MAIN);static#Ye=this.PROFILE_VERIFY=new u("verify","/member/profile/verify",h.J.MAIN);static#Xe=this.PROFILENEW=new u("new-profile-info","/member/new-profile-info",h.J.MAIN);static#Qe=this.PROFILENEW_ADD_FULLNAME=new u("new-profile-add-fullname","/member/new-profile-add-fullname",h.J.MAIN);static#ze=this.PROFILENEW_ADD_BIRTHDAY=new u("new-profile-add-birthday","/member/new-profile-add-birthday",h.J.MAIN);static#Je=this.PROFILENEW_ADD_EMAIL=new u("new-profile-add-email","/member/new-profile-add-email",h.J.MAIN);static#Ze=this.PROFILENEW_VERIFY_EMAIL=new u("new-profile-verify-email","/member/new-profile-verify-email",h.J.MAIN);static#qe=this.PROFILENEW_ADD_PHONE=new u("new-profile-add-phone","/member/new-profile-add-phone",h.J.MAIN);static#et=this.PROFILENEW_VERIFY_PHONE=new u("new-profile-verify-phone","/member/new-profile-verify-phone",h.J.MAIN);static#tt=this.PROFILENEW_VERIFY_CODE=new u("new-profile-verify-code","/member/new-profile-verify-code",h.J.MAIN);static#nt=this.VIP_INFO=new u("vip-info","/member/vip-info",h.J.MAIN);static#it=this.VIP_DETAIL=new u("vip-detail","/vip-detail",h.J.VIP);static#st=this.WALLET=new u("wallet","/member/wallet",h.J.MAIN);static#rt=this.WALLET_DEPOSIT=new u("deposit","/member/wallet/deposit",h.J.MAIN);static#ot=this.WALLET_DEPOSIT_ENTRY=new u("entry","/member/wallet/deposit/entry",h.J.MAIN);static#at=this.WALLET_DEPOSIT_LOCALBANK=new u("localbank","/member/wallet/deposit/localbank",h.J.MAIN);static#ct=this.WALLET_DEPOSIT_THIRDPARTY=new u("thirdparty","/member/wallet/deposit/thirdparty",h.J.MAIN);static#lt=this.WALLET_DEPOSIT_CRYPTO=new u("crypto","/member/wallet/deposit/crypto",h.J.MAIN);static#ut=this.WALLET_DEPOSIT_UNIVERSAL=new u("universal","/member/wallet/deposit/universal",h.J.MAIN);static#dt=this.WALLET_DEPOSIT_LOCALBANK_AMOUNT=new u("localbank-amount","/member/wallet/deposit/localbank-amount",h.J.MAIN);static#ht=this.WALLET_DEPOSIT_THIRDPARTY_AMOUNT=new u("thirdparty-amount","/member/wallet/deposit/thirdparty-amount",h.J.MAIN);static#ft=this.WALLET_DEPOSIT_CRYPTO_AMOUNT=new u("crypto-amount","/member/wallet/deposit/crypto-amount",h.J.MAIN);static#pt=this.WALLET_DEPOSIT_LOCALBANK_TRANSFER=new u("localbank-transfer","/member/wallet/deposit/localbank-transfer",h.J.MAIN);static#gt=this.WALLET_DEPOSIT_CRYPTO_TRANSFER=new u("crypto-transfer","/member/wallet/deposit/crypto-transfer",h.J.MAIN);static#_t=this.WALLET_DEPOSIT_THIRD_PARTY_TRANSFER=new u("crypto-transfer","/member/wallet/deposit/crypto-transfer",h.J.MAIN);static#mt=this.WALLET_DEPOSIT_THIRD_PARTY_RESULT=new u("deposit-third-party-result","/deposit-third-party-result",h.J.MAIN);static#vt=this.WALLET_WITHDRAWAL=new u("withdrawal","/member/wallet/withdrawal",h.J.MAIN);static#Et=this.WALLET_WITHDRAWAL_VERIFY=new u("withdrawal-verify","/member/wallet/withdrawal-verify",h.J.MAIN);static#Ct=this.WALLET_WITHDRAWAL_ENTRY=new u("entry","/member/wallet/withdrawal/entry",h.J.MAIN);static#Dt=this.WALLET_WITHDRAWAL_THIRDPARTY=new u("thirdparty","/member/wallet/withdrawal/thirdparty",h.J.MAIN);static#It=this.WALLET_WITHDRAWAL_CRYPTO=new u("crypto","/member/wallet/withdrawal/crypto",h.J.MAIN);static#At=this.WALLET_WITHDRAWAL_LOCALBANK_AMOUNT=new u("localbank-amount","/member/wallet/withdrawal/localbank-amount",h.J.MAIN);static#Ot=this.WALLET_WITHDRAWAL_THIRDPARTY_AMOUNT=new u("thirdparty-amount","/member/wallet/withdrawal/thirdparty-amount",h.J.MAIN);static#Rt=this.WALLET_WITHDRAWAL_CRYPTO_AMOUNT=new u("crypto-amount","/member/wallet/withdrawal/crypto-amount",h.J.MAIN);static#St=this.MY_BONUSES=new u("my-bonuses","/member/my-bonuses",h.J.MAIN);static#yt=this.MY_BONUSES_RUNNING=new u("running","/member/my-bonuses/running",h.J.MAIN);static#Tt=this.MY_BONUSES_COMPLETE=new u("complete","/member/my-bonuses/complete",h.J.MAIN);static#bt=this.REAL_TIME_BONUS=new u("real-time-bonus","/member/real-time-bonus",h.J.MAIN);static#Mt=this.TURNOVER=new u("turnover","/member/turnover",h.J.MAIN);static#Nt=this.TURNOVER_UNCOMPLETE=new u("uncomplete","/member/turnover/uncomplete",h.J.MAIN);static#wt=this.TURNOVER_COMPLETE=new u("complete","/member/turnover/complete",h.J.MAIN);static#Pt=this.BETTING_RECORDS=new u("betting-records","/member/betting-records",h.J.MAIN);static#Lt=this.BETTING_RECORDS_SETTLED=new u("settled","/member/betting-records/settled",h.J.MAIN);static#xt=this.BETTING_RECORDS_UNSETTLED=new u("unsettled","/member/betting-records/unsettled",h.J.MAIN);static#Ft=this.TRANSACTION_RECORDS=new u("transaction-records","/member/transaction-records",h.J.MAIN);static#kt=this.TRANSACTION_RESULT=new u("transaction-result","/member/transaction-result",h.J.MAIN);static#Bt=this.VIP_POINTS_RECORDS=new u("vip-points-records","/member/vip-points-records",h.J.MAIN);static#Ut=this.VIP_POINTS_EXCHANGE=new u("vip-points-exchange","/member/vip-points-exchange",h.J.MAIN);static#Gt=this.VIP_HISTORY=new u("vip-history","/member/vip-history",h.J.MAIN);static#Vt=this.VIP_POINTS_RECORDS_RECEIVED=new u("received","/member/vip-points-records/received",h.J.MAIN);static#$t=this.VIP_POINTS_RECORDS_USED=new u("used","/member/vip-points-records/used",h.J.MAIN);static#Wt=this.VERIFY_BANK=new u("verify-bank","/member/verify-bank",h.J.MAIN);static#Ht=this.VERIFICATION_OTP=new u("verification-otp","/member/verification-otp",h.J.MAIN);static#jt=this.VERIFY_DOCUMENT=new u("verify-document","/member/verify-document",h.J.MAIN);static#Kt=this.VERIFY_CRYPTOCURRENCIES=new u("verify-cryptocurrencies","/member/verify-cryptocurrencies",h.J.MAIN);static#Yt=this.VERIFY_E_WALLETS=new u("verify-e-wallets","/member/verify-e-wallets",h.J.MAIN);static#Xt=this.VERIFY_UPI=new u("verify-UPI","/member/verify-UPI",h.J.MAIN);static#Qt=this.INBOX=new u("inbox","/member/inbox",h.J.MAIN);static#zt=this.INBOX_NOTIFICATION=new u("notification","/member/inbox/notification",h.J.MAIN);static#Jt=this.REFERRAL=new u("referral","/member/referral",h.J.REFERRAL);static#Zt=this.REFERRAL_PROGRAM=new u("referral-program","/referral-program",h.J.REFERRAL);static#qt=this.REFERRAL_PROGRAM_PROMOTION=new u("promotion","/referral-program/promotion",h.J.REFERRAL);static#en=this.REFERRAL_PROGRAM_PROMOTION_RULES=new u("rules","/referral-program/promotion/rules",h.J.REFERRAL);static#tn=this.REFERRAL_PROGRAM_RULES=new u("referral-program-rules","/referral-program-rules",h.J.REFERRAL);static#nn=this.REFERRAL_PROGRAM_INFO=new u("info","/referral-program/info",h.J.MAIN);static#in=this.REFERRAL_PROGRAM_DETAILS=new u("details","/referral-program/details",h.J.REFERRAL);static#sn=this.REFERRAL_PROGRAM_CASH_REWARD_HISTORY=new u("cash-reward-history","/referral-program/cash-reward-history",h.J.MAIN);static#rn=this.REFERRAL_PROGRAM_CASH_REWARD_DETAIL=new u("cash-reward-detail","/referral-program/cash-reward-detail",h.J.MAIN);static#on=this.REFERRAL_INFORMATION=new u("share","/member/referral/share",h.J.REFERRAL);static#an=this.REFERRAL_RECORDS=new u("rewards","/member/referral/rewards",h.J.REFERRAL);static#cn=this.REFERRAL_INVITATION=new u("referral-invitation","/member/referral-invitation",h.J.REFERRAL);static#ln=this.REFERRAL_INVITE=new u("invite","/member/referral/invite",h.J.REFERRAL);static#un=this.REFERRAL_REWARD=new u("invite-reward","/member/referral/invite-reward",h.J.REFERRAL);static#dn=this.REFERRAL_DETAILS=new u("invite-details","/member/referral/invite-details",h.J.REFERRAL);static#hn=this.REFERRAL_BONUS=new u("referral-bonus","/referral-bonus",h.J.REFERRAL);static#fn=this.COMMON_REFERRAL=new u("common-referral","/member/common-referral",h.J.REFERRAL);static#pn=this.COMMON_REFERRAL_INVITE_FRIEND=new u("invite","/member/common-referral/invite",h.J.REFERRAL);static#gn=this.COMMON_REFERRAL_ACHIVEMENT_BONUS=new u("achivement-bonus","/member/common-referral/achivement-bonus",h.J.REFERRAL);static#_n=this.COMMON_REFERRAL_REBATE_BONUS=new u("rebate-bonus","/member/common-referral/rebate-bonus",h.J.REFERRAL);static#mn=this.COMMON_REFERRAL_DETAILS=new u("referral-details","/member/common-referral/referral-details",h.J.REFERRAL);static#vn=this.BIOMETRIC=new u("biometric","/member/biometric",h.J.MAIN);static#En=this.AF_LINK=new u("af/:afCode/:afKeyword","/af",h.J.MAIN);static#Cn=this.LANDING_PAGE=new u("landing-page","/landing-page",h.J.MAIN);static#Dn=this.GLOSSARY=new u("glossary","/glossary",h.J.GLOSSARY);static#In=this.DRAGON_TIGER_RANKING=new u("dragon-tiger-ranking","/dragon-tiger-ranking",h.J.MAIN);static#An=this.PAYMENT_INTRODUCTION=new u("payment-introduction","/payment-introduction",h.J.MAIN);static#On=this.OPEN_GAME_PAGE=new u("open-game","/open-game",h.J.MAIN);static#Rn=this.EX_SPORT=new u("EXSport","/EXSport",h.J.MAIN);static#Sn=this.CRICKET=new u("cricket","/cricket",h.J.SPORTS);static#yn=this.VOUCHER=new u("voucher","/member/voucher",h.J.MAIN);static#Tn=this.INBOX_ACTIVITY=new u("activity","/member/inbox/activity",h.J.MAIN);static#bn=this.INBOX_BULLETIN=new u("bulletin","/member/inbox/bulletin",h.J.MAIN);static#Mn=this.SWITCH_MODE=new u("switch-mode","/member/switch-mode",h.J.MAIN);static#Nn=this.INDEX_CASINO=new u("index-casino","/index-casino",h.J.MAIN);static#wn=this.MAIN_LANDING_PAGE=new u("main-landing-page","/main-landing-page",h.J.MAIN);static#Pn=this.NEW_MEMBER_GUIDE=new u("new-member-guide","/new-member-guide",h.J.MAIN);static#Ln=this.FREE_SPIN=new u("free-spin","/member/free-spin",h.J.MAIN);static#xn=this.WINNER_BOARD=new u("winner-board","/winner-board",h.J.MAIN);static get values(){return this._values}static registerRoutingPath(C){u.values.push(C)}static getInstanceOf(C){return this._values.find(w=>w.key===C)}static getInstanceOfLink(C){return this._values.find(w=>w.link===C)}static startWithLink(C){return this._values.find(w=>{const R=C.replace(/(.*)(\(popup:)(.*)(\))/i,"/$3")||C;return w===u.MAIN?w._link===R:R.startsWith(w._link)})}constructor(C,w,M){super(e++),this._routingPath=C,this._link=w,this._landingPageType=M,u.values.push(this)}get routingPath(){return this._routingPath}get link(){return this._link}get landingPageType(){return this._landingPageType}}},64697:(Be,K,l)=>{"use strict";l.d(K,{z:()=>e});var s=l(65788),h=function(u){return u[u.IP_BLOCK=0]="IP_BLOCK",u[u.SYSTEM_MAINTAIN=1]="SYSTEM_MAINTAIN",u[u.BRAND_MAINTAIN=2]="BRAND_MAINTAIN",u[u.PROVIDER_MAINTAIN=3]="PROVIDER_MAINTAIN",u[u.NOT_FOUND=4]="NOT_FOUND",u[u.MAIN=5]="MAIN",u[u.MAIN_LANDING_PAGE=6]="MAIN_LANDING_PAGE",u[u.EX_SPORT=7]="EX_SPORT",u[u.LOGIN=8]="LOGIN",u[u.LOGINNEW_QUICK_ACCOUNT=9]="LOGINNEW_QUICK_ACCOUNT",u[u.REGISTER=10]="REGISTER",u[u.REGISTER_QUICK=11]="REGISTER_QUICK",u[u.REGISTERNEW_QUICK_ACCOUNT=12]="REGISTERNEW_QUICK_ACCOUNT",u[u.REGISTERNEW_QUICK=13]="REGISTERNEW_QUICK",u[u.REGISTERNEW_THIRDPARTY=14]="REGISTERNEW_THIRDPARTY",u[u.REGISTERNEW_VERIFY_CODE=15]="REGISTERNEW_VERIFY_CODE",u[u.REGISTERNEW_SUCCESS_PAGE=16]="REGISTERNEW_SUCCESS_PAGE",u[u.FORGOT_PASSWORD=17]="FORGOT_PASSWORD",u[u.FORGOT_PASSWORD_MAIL=18]="FORGOT_PASSWORD_MAIL",u[u.FORGOT_PASSWORD_SMS=19]="FORGOT_PASSWORD_SMS",u[u.FORGOT_PASSWORD_VERIFY=20]="FORGOT_PASSWORD_VERIFY",u[u.FORGOT_PASSWORD_RESET=21]="FORGOT_PASSWORD_RESET",u[u.FORGOT_PASSWORD_RESET_SUCCESS=22]="FORGOT_PASSWORD_RESET_SUCCESS",u[u.RESET_PASSWORD_PAGE=23]="RESET_PASSWORD_PAGE",u[u.CHANGE_PASSWORD=24]="CHANGE_PASSWORD",u[u.PROMOTION=25]="PROMOTION",u[u.REFERRAL_PROGRAM=26]="REFERRAL_PROGRAM",u[u.REFERRAL_PROGRAM_PROMOTION=27]="REFERRAL_PROGRAM_PROMOTION",u[u.REFERRAL_PROGRAM_RULES=28]="REFERRAL_PROGRAM_RULES",u[u.REFERRAL_PROGRAM_DETAILS=29]="REFERRAL_PROGRAM_DETAILS",u[u.SLOT=30]="SLOT",u[u.SLOT_RECENTLY_GAME=31]="SLOT_RECENTLY_GAME",u[u.TABLE=32]="TABLE",u[u.LOTTERY=33]="LOTTERY",u[u.ARCADE=34]="ARCADE",u[u.CASINO=35]="CASINO",u[u.CRASH=36]="CRASH",u[u.CRICKET=37]="CRICKET",u[u.FISHING=38]="FISHING",u[u.CARD=39]="CARD",u[u.TERMS=40]="TERMS",u[u.TERMS_ABOUT=41]="TERMS_ABOUT",u[u.TERMS_CONTACT=42]="TERMS_CONTACT",u[u.TERMS_PRIVACY=43]="TERMS_PRIVACY",u[u.TERMS_CONDITIONS=44]="TERMS_CONDITIONS",u[u.TERMS_RULES=45]="TERMS_RULES",u[u.TERMS_DUTY=46]="TERMS_DUTY",u[u.TERMS_FAQ=47]="TERMS_FAQ",u[u.TERMS_IN_AND_OUT=48]="TERMS_IN_AND_OUT",u[u.TEAMS_AGE_18_ABOVE=49]="TEAMS_AGE_18_ABOVE",u[u.TEAMS_SAFE=50]="TEAMS_SAFE",u[u.TERMS_KYC_POLICY=51]="TERMS_KYC_POLICY",u[u.APP_DOWNLOAD=52]="APP_DOWNLOAD",u[u.AMBASSADOR=53]="AMBASSADOR",u[u.SPONSOR=54]="SPONSOR",u[u.PROFILENEW=55]="PROFILENEW",u[u.PROFILENEW_ADD_FULLNAME=56]="PROFILENEW_ADD_FULLNAME",u[u.PROFILENEW_ADD_BIRTHDAY=57]="PROFILENEW_ADD_BIRTHDAY",u[u.PROFILENEW_ADD_EMAIL=58]="PROFILENEW_ADD_EMAIL",u[u.PROFILENEW_VERIFY_EMAIL=59]="PROFILENEW_VERIFY_EMAIL",u[u.PROFILENEW_ADD_PHONE=60]="PROFILENEW_ADD_PHONE",u[u.PROFILENEW_VERIFY_PHONE=61]="PROFILENEW_VERIFY_PHONE",u[u.PROFILENEW_VERIFY_CODE=62]="PROFILENEW_VERIFY_CODE",u[u.VIP_INFO=63]="VIP_INFO",u[u.VIP_DETAIL=64]="VIP_DETAIL",u[u.WALLET=65]="WALLET",u[u.WALLET_DEPOSIT=66]="WALLET_DEPOSIT",u[u.WALLET_WITHDRAWAL=67]="WALLET_WITHDRAWAL",u[u.MY_BONUSES=68]="MY_BONUSES",u[u.MY_BONUSES_RUNNING=69]="MY_BONUSES_RUNNING",u[u.MY_BONUSES_COMPLETE=70]="MY_BONUSES_COMPLETE",u[u.REAL_TIME_BONUS=71]="REAL_TIME_BONUS",u[u.TURNOVER=72]="TURNOVER",u[u.TURNOVER_UNCOMPLETE=73]="TURNOVER_UNCOMPLETE",u[u.TURNOVER_COMPLETE=74]="TURNOVER_COMPLETE",u[u.VOUCHER=75]="VOUCHER",u[u.BETTING_RECORDS=76]="BETTING_RECORDS",u[u.BETTING_RECORDS_SETTLED=77]="BETTING_RECORDS_SETTLED",u[u.BETTING_RECORDS_UNSETTLED=78]="BETTING_RECORDS_UNSETTLED",u[u.TRANSACTION_RECORDS=79]="TRANSACTION_RECORDS",u[u.TRANSACTION_RECORDS_DETAIL=80]="TRANSACTION_RECORDS_DETAIL",u[u.TRANSACTION_RESULT=81]="TRANSACTION_RESULT",u[u.VIP=82]="VIP",u[u.VIP_HISTORY=83]="VIP_HISTORY",u[u.VIP_POINTS_EXCHANGE=84]="VIP_POINTS_EXCHANGE",u[u.VIP_POINTS_RECORDS=85]="VIP_POINTS_RECORDS",u[u.VIP_POINTS_RECORDS_RECEIVED=86]="VIP_POINTS_RECORDS_RECEIVED",u[u.VIP_POINTS_RECORDS_USED=87]="VIP_POINTS_RECORDS_USED",u[u.VERIFY_BANK=88]="VERIFY_BANK",u[u.VERIFY_DOCUMENT=89]="VERIFY_DOCUMENT",u[u.VERIFY_CRYPTOCURRENCIES=90]="VERIFY_CRYPTOCURRENCIES",u[u.VERIFY_E_WALLETS=91]="VERIFY_E_WALLETS",u[u.VERIFY_UPI=92]="VERIFY_UPI",u[u.VERIFICATION_OTP=93]="VERIFICATION_OTP",u[u.INBOX=94]="INBOX",u[u.INBOX_NOTIFICATION=95]="INBOX_NOTIFICATION",u[u.INBOX_ACTIVITY=96]="INBOX_ACTIVITY",u[u.INBOX_BULLETIN=97]="INBOX_BULLETIN",u[u.REFERRAL=98]="REFERRAL",u[u.REFERRAL_INFORMATION=99]="REFERRAL_INFORMATION",u[u.REFERRAL_RECORDS=100]="REFERRAL_RECORDS",u[u.REFERRAL_INVITATION=101]="REFERRAL_INVITATION",u[u.REFERRAL_INVITE=102]="REFERRAL_INVITE",u[u.REFERRAL_REWARD=103]="REFERRAL_REWARD",u[u.REFERRAL_DETAILS=104]="REFERRAL_DETAILS",u[u.REFERRAL_BONUS=105]="REFERRAL_BONUS",u[u.BIOMETRIC=106]="BIOMETRIC",u[u.SWITCH_MODE=107]="SWITCH_MODE",u[u.MY_FAVORITES=108]="MY_FAVORITES",u[u.SLOT_MY_FAVORITES=109]="SLOT_MY_FAVORITES",u[u.CASINO_MY_FAVORITES=110]="CASINO_MY_FAVORITES",u[u.LANDING_PAGE=111]="LANDING_PAGE",u[u.GLOSSARY=112]="GLOSSARY",u[u.INDEX_CASINO=113]="INDEX_CASINO",u[u.ABOUT=114]="ABOUT",u[u.FREE_SPIN=115]="FREE_SPIN",u[u.WINNER_BOARD=116]="WINNER_BOARD",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this._showToolBar=!0;static#n=this._showHeader=!0;static#s=this._showFooter=!0;static#i=this.IP_BLOCK=new e(h.IP_BLOCK,"","",e._showToolBar,e._showHeader,e._showFooter,"");static#o=this.SYSTEM_MAINTAIN=new e(h.SYSTEM_MAINTAIN,"","",e._showToolBar,e._showHeader,e._showFooter,"");static#r=this.BRAND_MAINTAIN=new e(h.BRAND_MAINTAIN,"","",e._showToolBar,e._showHeader,e._showFooter,"");static#a=this.PROVIDER_MAINTAIN=new e(h.PROVIDER_MAINTAIN,"","",e._showToolBar,e._showHeader,e._showFooter,"");static#c=this.NOT_FOUND=new e(h.NOT_FOUND,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#l=this.MAIN=new e(h.MAIN,"","cricket",e._showToolBar,e._showHeader,e._showFooter,"cricket");static#u=this.INDEX_CASINO=new e(h.INDEX_CASINO,"","normal",e._showToolBar,e._showHeader,e._showFooter,"index-casino");static#d=this.MAIN_LANDING_PAGE=new e(h.MAIN_LANDING_PAGE,"","normal",e._showToolBar,e._showHeader,e._showFooter,"main-landing-page");static#h=this.LOGIN=new e(h.LOGIN,"ui.header_inner.text.login","member",!e._showToolBar,e._showHeader,!e._showFooter,"login-biometric-content");static#f=this.LOGINNEW_QUICK_ACCOUNT=new e(h.LOGINNEW_QUICK_ACCOUNT,"ui.header_inner.text.login","member new-login-tab",!e._showToolBar,e._showHeader,!e._showFooter,"content third-party-login member-content new-login");static#p=this.REGISTER=new e(h.REGISTER,"ui.header_inner.text.register","register",!e._showToolBar,e._showHeader,!e._showFooter,"content member-content");static#g=this.REGISTER_QUICK=new e(h.REGISTER_QUICK,"Quick Register","register",!e._showToolBar,e._showHeader,!e._showFooter,"content member-content");static#_=this.REGISTERNEW_QUICK_ACCOUNT=new e(h.REGISTERNEW_QUICK_ACCOUNT,"ui.header_inner.text.register","member new-login",!e._showToolBar,e._showHeader,!e._showFooter,"content member-content third-party-login");static#m=this.REGISTERNEW_QUICK=new e(h.REGISTERNEW_QUICK,"ui.header_inner.text.register","member new-login",!e._showToolBar,e._showHeader,!e._showFooter,"content member-content third-party-login");static#v=this.REGISTERNEW_THIRDPARTY=new e(h.REGISTERNEW_THIRDPARTY,"ui.header_inner.text.register","member new-login",!e._showToolBar,e._showHeader,!e._showFooter,"content member-content third-party-login");static#E=this.REGISTERNEW_VERIFY_CODE=new e(h.REGISTERNEW_VERIFY_CODE,"ui.global.field.verification_code","member new-login",!e._showToolBar,e._showHeader,!e._showFooter,"content third-party-login verify-code");static#C=this.REGISTERNEW_SUCCESS_PAGE=new e(h.REGISTERNEW_SUCCESS_PAGE,"ui.header_inner.text.register","member new-login",!e._showToolBar,!e._showHeader,!e._showFooter,"third-party-login new-register-success-page");static#D=this.FORGOT_PASSWORD=new e(h.FORGOT_PASSWORD,"ui.header_inner.text.forgot_password","register",!e._showToolBar,e._showHeader,!e._showFooter,"content third-party-login forgot-password");static#I=this.FORGOT_PASSWORD_MAIL=new e(h.FORGOT_PASSWORD_MAIL,"ui.login.text.forget_pass_headerTitle_mail","register",!e._showToolBar,e._showHeader,!e._showFooter,"content");static#A=this.FORGOT_PASSWORD_SMS=new e(h.FORGOT_PASSWORD_SMS,"ui.login.text.forget_pass_headerTitle_sms","register",!e._showToolBar,e._showHeader,!e._showFooter,"content");static#O=this.FORGOT_PASSWORD_VERIFY=new e(h.FORGOT_PASSWORD_VERIFY,"ui.header_inner.text.forgot_password","register",!e._showToolBar,e._showHeader,!e._showFooter,"content third-party-login forgot-password verify-code");static#R=this.FORGOT_PASSWORD_RESET=new e(h.FORGOT_PASSWORD_RESET,"ui.global.text.reset_password","",!e._showToolBar,e._showHeader,!e._showFooter,"third-party-login forgot-password");static#S=this.FORGOT_PASSWORD_RESET_SUCCESS=new e(h.FORGOT_PASSWORD_RESET_SUCCESS,"ui.global.text.reset_password","",!e._showToolBar,e._showHeader,!e._showFooter,"content third-party-login forgot-password");static#y=this.RESET_PASSWORD_PAGE=new e(h.RESET_PASSWORD_PAGE,"","",!e._showToolBar,!e._showHeader,!e._showFooter,"");static#T=this.PROMOTION=new e(h.PROMOTION,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#b=this.SLOT=new e(h.SLOT,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#M=this.SLOT_RECENTLY_GAME=new e(h.SLOT_RECENTLY_GAME,"","",!e._showToolBar,!e._showHeader,!e._showFooter,"");static#N=this.TABLE=new e(h.TABLE,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#w=this.LOTTERY=new e(h.LOTTERY,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#P=this.ARCADE=new e(h.ARCADE,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#L=this.CASINO=new e(h.CASINO,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#x=this.CRASH=new e(h.CRASH,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#F=this.CARD=new e(h.CARD,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#k=this.ABOUT=new e(h.ABOUT,"ui.global.text.best_online_casino","player",e._showToolBar,e._showHeader,e._showFooter,"");static#B=this.CRICKET=new e(h.CRICKET,"","cricket",e._showToolBar,e._showHeader,e._showFooter,"");static#U=this.FISHING=new e(h.FISHING,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#G=this.TERMS=new e(h.TERMS,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#V=this.TERMS_ABOUT=new e(h.TERMS_ABOUT,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#$=this.TERMS_CONTACT=new e(h.TERMS_CONTACT,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#W=this.TERMS_PRIVACY=new e(h.TERMS_PRIVACY,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#H=this.TERMS_CONDITIONS=new e(h.TERMS_CONDITIONS,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#j=this.TERMS_RULES=new e(h.TERMS_RULES,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#K=this.TERMS_DUTY=new e(h.TERMS_DUTY,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#Y=this.TERMS_FAQ=new e(h.TERMS_FAQ,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#X=this.TERMS_IN_AND_OUT=new e(h.TERMS_IN_AND_OUT,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#Q=this.TEAMS_AGE_18_ABOVE=new e(h.TEAMS_AGE_18_ABOVE,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#z=this.TEAMS_SAFE=new e(h.TEAMS_SAFE,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#J=this.TERMS_KYC_POLICY=new e(h.TERMS_KYC_POLICY,"","normal",e._showToolBar,e._showHeader,e._showFooter,"");static#Z=this.APP_DOWNLOAD=new e(h.APP_DOWNLOAD,"","",!e._showToolBar,!e._showHeader,!e._showFooter,"");static#q=this.AMBASSADOR=new e(h.AMBASSADOR,"","normal",!e._showToolBar,e._showHeader,e._showFooter,"content content-ambassador");static#ee=this.SPONSOR=new e(h.SPONSOR,"ui.global.word.sponsor","normal",e._showToolBar,e._showHeader,e._showFooter,"content content-sponsor");static#te=this.CHANGE_PASSWORD=new e(h.CHANGE_PASSWORD,"ui.header_inner.text.change_password","player",e._showToolBar,e._showHeader,!e._showFooter,"content member-content");static#ne=this.PROFILENEW=new e(h.PROFILENEW,"ui.header_inner.text.personal_info","player new-profile",e._showToolBar,e._showHeader,!e._showFooter,"content player-content third-party-login new-profile");static#ie=this.PROFILENEW_ADD_FULLNAME=new e(h.PROFILENEW_ADD_FULLNAME,"ui.header_inner.text.add_full_name","player new-profile",e._showToolBar,e._showHeader,!e._showFooter,"content member-content third-party-login new-profile");static#se=this.PROFILENEW_ADD_BIRTHDAY=new e(h.PROFILENEW_ADD_BIRTHDAY,"ui.header_inner.text.add_birthday","player new-profile",e._showToolBar,e._showHeader,!e._showFooter,"content member-content third-party-login new-profile");static#re=this.PROFILENEW_ADD_EMAIL=new e(h.PROFILENEW_ADD_EMAIL,"ui.header_inner.text.add_email","player new-profile",e._showToolBar,e._showHeader,!e._showFooter,"content member-content third-party-login new-profile");static#oe=this.PROFILENEW_VERIFY_EMAIL=new e(h.PROFILENEW_VERIFY_EMAIL,"ui.header_inner.text.verify_email","player new-profile",e._showToolBar,e._showHeader,!e._showFooter,"content member-content third-party-login new-profile");static#ae=this.PROFILENEW_ADD_PHONE=new e(h.PROFILENEW_ADD_PHONE,"ui.header_inner.text.add_phone","player new-profile",e._showToolBar,e._showHeader,!e._showFooter,"content member-content third-party-login new-profile");static#ce=this.PROFILENEW_VERIFY_PHONE=new e(h.PROFILENEW_VERIFY_PHONE,"ui.header_inner.text.verify_phone","player new-profile",e._showToolBar,e._showHeader,!e._showFooter,"content member-content third-party-login new-profile");static#le=this.PROFILENEW_VERIFY_CODE=new e(h.PROFILENEW_VERIFY_CODE,"ui.global.field.verification_code","player new-profile",e._showToolBar,e._showHeader,!e._showFooter,"content third-party-login verify-code");static#ue=this.VIP_INFO=new e(h.VIP_INFO,"ui.header_inner.text.personal_vip_info","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#de=this.VIP_DETAIL=new e(h.VIP_DETAIL,"ui.header_inner.text.vip_detail","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#he=this.WALLET=new e(h.WALLET,"ui.header_inner.text.my_wallet","player editor",e._showToolBar,e._showHeader,!e._showFooter,"content player-content fixed-tab");static#fe=this.WALLET_DEPOSIT=new e(h.WALLET_DEPOSIT,"ui.header_inner.text.deposit","player editor",e._showToolBar,e._showHeader,e._showFooter,"content player-content");static#pe=this.WALLET_WITHDRAWAL=new e(h.WALLET_WITHDRAWAL,"ui.header_inner.text.withdrawal","player editor",e._showToolBar,e._showHeader,e._showFooter,"content player-content");static#ge=this.MY_BONUSES=new e(h.MY_BONUSES,"ui.header_inner.text.my_promotion","player editor",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#_e=this.MY_BONUSES_RUNNING=new e(h.MY_BONUSES_RUNNING,"ui.header_inner.text.running","player",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#me=this.MY_BONUSES_COMPLETE=new e(h.MY_BONUSES_COMPLETE,"ui.header_inner.text.complete","player",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#ve=this.REAL_TIME_BONUS=new e(h.REAL_TIME_BONUS,"ui.header_inner.text.real_time_bonus","player",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#Ee=this.TURNOVER=new e(h.TURNOVER,"ui.header_inner.text.turnover","player editor",e._showToolBar,e._showHeader,!e._showFooter,"player-content fixed-tab");static#Ce=this.TURNOVER_UNCOMPLETE=new e(h.TURNOVER_UNCOMPLETE,"ui.header_inner.text.uncomplete","player",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#De=this.TURNOVER_COMPLETE=new e(h.TURNOVER_COMPLETE,"ui.header_inner.text.complete","player",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#Ie=this.VOUCHER=new e(h.VOUCHER,"ui.header_inner.text.voucher","player",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#Ae=this.BETTING_RECORDS=new e(h.BETTING_RECORDS,"ui.header_inner.text.betting_records","player editor",e._showToolBar,e._showHeader,!e._showFooter,"player-content fixed-tab");static#Oe=this.BETTING_RECORDS_SETTLED=new e(h.BETTING_RECORDS_SETTLED,"ui.header_inner.text.settled","player",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#Re=this.BETTING_RECORDS_UNSETTLED=new e(h.BETTING_RECORDS_UNSETTLED,"ui.header_inner.text.unsettled","player",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#Se=this.TRANSACTION_RECORDS=new e(h.TRANSACTION_RECORDS,"ui.header_inner.text.transaction_records","player",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#ye=this.TRANSACTION_RECORDS_DETAIL=new e(h.TRANSACTION_RECORDS_DETAIL,"ui.header_inner.text.transaction_records_list","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#Te=this.TRANSACTION_RESULT=new e(h.TRANSACTION_RESULT,"ui.header_inner.text.transaction_result","player",!e._showToolBar,!e._showHeader,!e._showFooter,"content content-box");static#be=this.VIP_POINTS_RECORDS=new e(h.VIP_POINTS_RECORDS,"ui.profile_vip.header","player editor",e._showToolBar,e._showHeader,!e._showFooter,"content player-content player-vip");static#Me=this.VIP=new e(h.VIP,"ui.header_inner.text.my_vip","player vip",e._showToolBar,e._showHeader,!e._showFooter,"content player-content vip-content");static#Ne=this.VIP_POINTS_EXCHANGE=new e(h.VIP_POINTS_EXCHANGE,"ui.header_inner.text.my_vip","player vip",e._showToolBar,e._showHeader,!e._showFooter,"content player-content vip-content");static#we=this.VIP_HISTORY=new e(h.VIP_HISTORY,"ui.header_inner.text.vip_history","player vip",e._showToolBar,e._showHeader,!e._showFooter,"content player-content vip-content");static#Pe=this.VIP_POINTS_RECORDS_RECEIVED=new e(h.VIP_POINTS_RECORDS_RECEIVED,"ui.header_inner.text.points_received","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content player-vip");static#Le=this.VIP_POINTS_RECORDS_USED=new e(h.VIP_POINTS_RECORDS_USED,"ui.header_inner.text.points_used","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content player-vip");static#xe=this.VERIFY_BANK=new e(h.VERIFY_BANK,"ui.header_inner.text.verify_bank","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content playerform-content");static#Fe=this.VERIFY_DOCUMENT=new e(h.VERIFY_DOCUMENT,"ui.header_inner.text.verify_documents","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content playerform-content");static#ke=this.VERIFY_CRYPTOCURRENCIES=new e(h.VERIFY_CRYPTOCURRENCIES,"ui.header_inner.text.verify_crypto_currencies","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content playerform-content");static#Be=this.VERIFY_E_WALLETS=new e(h.VERIFY_E_WALLETS,"ui.header_inner.text.verify_e_Wallets","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content playerform-content");static#Ue=this.VERIFY_UPI=new e(h.VERIFY_UPI,"ui.header_inner.text.verify_UPI","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content playerform-content");static#Ge=this.VERIFICATION_OTP=new e(h.VERIFICATION_OTP,"ui.global.field.verification_code","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content playerform-content");static#Ve=this.INBOX=new e(h.INBOX,"ui.header_inner.text.inbox","player",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#$e=this.INBOX_NOTIFICATION=new e(h.INBOX_NOTIFICATION,"ui.header_inner.text.notification","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#We=this.INBOX_ACTIVITY=new e(h.INBOX_ACTIVITY,"ui.header_inner.text.activity","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#He=this.INBOX_BULLETIN=new e(h.INBOX_BULLETIN,"ui.header_inner.text.bulletin","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#je=this.REFERRAL=new e(h.REFERRAL,"ui.header_inner.text.referral","player editor",e._showToolBar,e._showHeader,!e._showFooter,"player-content fixed-tab");static#Ke=this.REFERRAL_PROGRAM=new e(h.REFERRAL_PROGRAM,"ui.header_inner.text.referral_program","player",e._showToolBar,e._showHeader,e._showFooter,"player-content full-content");static#Ye=this.REFERRAL_PROGRAM_PROMOTION=new e(h.REFERRAL_PROGRAM_PROMOTION,"ui.header_inner.text.referral_program_promotion","player vip scroll-detecting",e._showToolBar,e._showHeader,e._showFooter,"content player-full-content");static#Xe=this.REFERRAL_PROGRAM_RULES=new e(h.REFERRAL_PROGRAM_RULES,"ui.header_inner.text.referral_program_rules","player vip scroll-detecting",e._showToolBar,e._showHeader,e._showFooter,"content player-content");static#Qe=this.REFERRAL_PROGRAM_DETAILS=new e(h.REFERRAL_PROGRAM_DETAILS,"ui.header_inner.text.referral_program_details","player",e._showToolBar,e._showHeader,e._showFooter,"content player-full-content");static#ze=this.REFERRAL_INFORMATION=new e(h.REFERRAL_INFORMATION,"ui.global.word.share","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#Je=this.REFERRAL_RECORDS=new e(h.REFERRAL_RECORDS,"ui.header_inner.text.rewards","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#Ze=this.REFERRAL_INVITATION=new e(h.REFERRAL_INVITATION,"ui.header_inner.text.referral_invite","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#qe=this.REFERRAL_INVITE=new e(h.REFERRAL_INVITE,"ui.header_inner.text.referral_invite","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#et=this.REFERRAL_REWARD=new e(h.REFERRAL_REWARD,"ui.header_inner.text.referral_reward","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#tt=this.REFERRAL_DETAILS=new e(h.REFERRAL_DETAILS,"ui.header_inner.text.referral_details","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#nt=this.REFERRAL_BONUS=new e(h.REFERRAL_BONUS,"ui.header_inner.text.referral","player",!e._showToolBar,e._showHeader,e._showFooter,"content player-content");static#it=this.BIOMETRIC=new e(h.BIOMETRIC,"ui.header_inner.text.set_up_biometric","player",e._showToolBar,e._showHeader,!e._showFooter,"content player-content");static#st=this.SWITCH_MODE=new e(h.SWITCH_MODE,"ui.header_inner.text.switch_mode","player",!e._showToolBar,e._showHeader,!e._showFooter,"content");static#rt=this.LANDING_PAGE=new e(h.LANDING_PAGE,"","",!e._showToolBar,!e._showHeader,!e._showFooter,"");static#ot=this.GLOSSARY=new e(h.GLOSSARY,"","",!e._showToolBar,!e._showHeader,!e._showFooter,"");static#at=this.FREE_SPIN=new e(h.FREE_SPIN,"ui.free_spin.text.free_spin","player editor",e._showToolBar,e._showHeader,!e._showFooter,"player-content");static#ct=this.WINNER_BOARD=new e(h.WINNER_BOARD,"ui.winner_board.text.winner_board","player editor",e._showToolBar,e._showHeader,!e._showFooter,"player-content");constructor(m,C,w,M,b,R,L){super(m),this._value=m,this._headerTitle=C,this._headerClass=w,this._isLayoutNeedToShowToolbar=M,this._isLayoutNeedToShowHeader=b,this._isLayoutNeedToShowFooter=R,this._layoutContentClass=L,e.values.push(this)}static get values(){return this._values}static getInstanceOf(m){return this._values.find(C=>C._value===m)}get headerTitle(){return this._headerTitle}set headerTitle(m){this._headerTitle=m}get headerClass(){return this._headerClass}set headerClass(m){this._headerClass=m}get isLayoutNeedToShowToolbar(){return this._isLayoutNeedToShowToolbar}set isLayoutNeedToShowToolbar(m){this._isLayoutNeedToShowToolbar=m}get isLayoutNeedToShowHeader(){return this._isLayoutNeedToShowHeader}set isLayoutNeedToShowHeader(m){this._isLayoutNeedToShowHeader=m}get isLayoutNeedToShowFooter(){return this._isLayoutNeedToShowFooter}set isLayoutNeedToShowFooter(m){this._isLayoutNeedToShowFooter=m}get layoutContentClass(){return this._layoutContentClass}set layoutContentClass(m){this._layoutContentClass=m}}},51544:(Be,K,l)=>{"use strict";l.d(K,{q:()=>u});var s=l(65788),h=l(74851),e=l(64697);class u extends s.N{static#e=this._values=new Array;static#t=this.MAIN=new u(h.C.MAIN,e.z.MAIN);static#n=this.HOME=new u(h.C.HOME,e.z.MAIN);static#s=this.EX_SPORT=new u(h.C.EX_SPORT,e.z.MAIN);static#i=this.IP_BLOCK=new u(h.C.IP_BLOCK,e.z.IP_BLOCK);static#o=this.SYSTEM_MAINTAIN=new u(h.C.SYSTEM_MAINTAIN,e.z.SYSTEM_MAINTAIN);static#r=this.BRAND_MAINTAIN=new u(h.C.BRAND_MAINTAIN,e.z.BRAND_MAINTAIN);static#a=this.PROVIDER_MAINTAIN=new u(h.C.PROVIDER_MAINTAIN,e.z.PROVIDER_MAINTAIN);static#c=this.NOT_FOUND=new u(h.C.NOT_FOUND,e.z.NOT_FOUND);static#l=this.LOGIN=new u(h.C.LOGIN,e.z.LOGIN);static#u=this.LOGINNEW_QUICK_ACCOUNT=new u(h.C.LOGINNEW_QUICK_ACCOUNT,e.z.LOGINNEW_QUICK_ACCOUNT);static#d=this.REGISTER=new u(h.C.REGISTER,e.z.REGISTER);static#h=this.REGISTER_QUICK=new u(h.C.REGISTER_QUICK,e.z.REGISTER_QUICK);static#f=this.REGISTERNEW_QUICK_ACCOUNT=new u(h.C.REGISTERNEW_QUICK_ACCOUNT,e.z.REGISTERNEW_QUICK_ACCOUNT);static#p=this.REGISTERNEW_QUICK=new u(h.C.REGISTERNEW_QUICK,e.z.REGISTERNEW_QUICK);static#g=this.REGISTERNEW_THIRDPARTY=new u(h.C.REGISTERNEW_THIRDPARTY,e.z.REGISTERNEW_THIRDPARTY);static#_=this.QUICK_REGISTER_PHONE=new u(h.C.QUICK_REGISTER_PHONE,e.z.REGISTERNEW_QUICK);static#m=this.QUICK_REGISTER_EMAIL=new u(h.C.QUICK_REGISTER_EMAIL,e.z.REGISTERNEW_QUICK);static#v=this.QUICK_REGISTER_ACCOUNT=new u(h.C.QUICK_REGISTER_ACCOUNT,e.z.REGISTERNEW_QUICK);static#E=this.QUICK_REGISTER_SOCIAL=new u(h.C.QUICK_REGISTER_SOCIAL,e.z.REGISTERNEW_QUICK);static#C=this.REGISTERNEW_VERIFY_CODE=new u(h.C.REGISTERNEW_VERIFY_CODE,e.z.REGISTERNEW_VERIFY_CODE);static#D=this.REGISTERNEW_SUCCESS_PAGE=new u(h.C.REGISTERNEW_SUCCESS_PAGE,e.z.REGISTERNEW_SUCCESS_PAGE);static#I=this.FORGOT_PASSWORD=new u(h.C.FORGOT_PASSWORD,e.z.FORGOT_PASSWORD);static#A=this.FORGOT_PASSWORD_MAIL=new u(h.C.FORGOT_PASSWORD_MAIL,e.z.FORGOT_PASSWORD_MAIL);static#O=this.FORGOT_PASSWORD_SMS=new u(h.C.FORGOT_PASSWORD_SMS,e.z.FORGOT_PASSWORD_SMS);static#R=this.FORGOT_PASSWORD_CONTACT=new u(h.C.FORGOT_PASSWORD_CONTACT,e.z.FORGOT_PASSWORD);static#S=this.FORGOT_PASSWORD_VERIFY=new u(h.C.FORGOT_PASSWORD_VERIFY,e.z.FORGOT_PASSWORD_VERIFY);static#y=this.FORGOT_PASSWORD_RESET_SUCCESS=new u(h.C.FORGOT_PASSWORD_RESET_SUCCESS,e.z.FORGOT_PASSWORD_RESET_SUCCESS);static#T=this.FORGOT_PASSWORD_RESET=new u(h.C.FORGOT_PASSWORD_RESET,e.z.FORGOT_PASSWORD_RESET);static#b=this.CHANGE_PASSWORD=new u(h.C.CHANGE_PASSWORD,e.z.CHANGE_PASSWORD);static#M=this.RESET_PASSWORD_PAGE=new u(h.C.RESET_PASSWORD_PAGE,e.z.RESET_PASSWORD_PAGE);static#N=this.PROMOTION=new u(h.C.PROMOTION,e.z.PROMOTION);static#w=this.SLOT=new u(h.C.SLOT,e.z.SLOT);static#P=this.SLOT_RECENTLY_GAME=new u(h.C.SLOT_RECENTLY_GAME,e.z.SLOT_RECENTLY_GAME);static#L=this.TABLE=new u(h.C.TABLE,e.z.TABLE);static#x=this.LOTTERY=new u(h.C.LOTTERY,e.z.LOTTERY);static#F=this.ARCADE=new u(h.C.ARCADE,e.z.ARCADE);static#k=this.CASINO=new u(h.C.CASINO,e.z.CASINO);static#B=this.CRASH=new u(h.C.CRASH,e.z.CRASH);static#U=this.CRICKET=new u(h.C.CRICKET,e.z.CRICKET);static#G=this.FISHING=new u(h.C.FISHING,e.z.FISHING);static#V=this.CARD=new u(h.C.CARD,e.z.CARD);static#$=this.ABOUT=new u(h.C.ABOUT,e.z.ABOUT);static#W=this.TERMS=new u(h.C.TERMS,e.z.TERMS);static#H=this.TERMS_ABOUT=new u(h.C.TERMS_ABOUT,e.z.TERMS_ABOUT);static#j=this.TERMS_CONTACT=new u(h.C.TERMS_CONTACT,e.z.TERMS_CONTACT);static#K=this.TERMS_PRIVACY=new u(h.C.TERMS_PRIVACY,e.z.TERMS_PRIVACY);static#Y=this.TERMS_CONDITIONS=new u(h.C.TERMS_CONDITIONS,e.z.TERMS_CONDITIONS);static#X=this.TERMS_RULES=new u(h.C.TERMS_RULES,e.z.TERMS_RULES);static#Q=this.TERMS_DUTY=new u(h.C.TERMS_DUTY,e.z.TERMS_DUTY);static#z=this.TERMS_FAQ=new u(h.C.TERMS_FAQ,e.z.TERMS_FAQ);static#J=this.TERMS_IN_AND_OUT=new u(h.C.TERMS_IN_AND_OUT,e.z.TERMS_IN_AND_OUT);static#Z=this.TEAMS_AGE_18_ABOVE=new u(h.C.TEAMS_AGE_18_ABOVE,e.z.TEAMS_AGE_18_ABOVE);static#q=this.TEAMS_SAFE=new u(h.C.TEAMS_SAFE,e.z.TEAMS_SAFE);static#ee=this.TERMS_KYC_POLICY=new u(h.C.TERMS_KYC_POLICY,e.z.TERMS_KYC_POLICY);static#te=this.APP_DOWNLOAD=new u(h.C.APP_DOWNLOAD,e.z.APP_DOWNLOAD);static#ne=this.AMBASSADOR=new u(h.C.AMBASSADOR,e.z.AMBASSADOR);static#ie=this.SPONSOR=new u(h.C.SPONSOR,e.z.SPONSOR);static#se=this.PROFILENEW=new u(h.C.PROFILENEW,e.z.PROFILENEW);static#re=this.PROFILENEW_ADD_FULLNAME=new u(h.C.PROFILENEW_ADD_FULLNAME,e.z.PROFILENEW_ADD_FULLNAME);static#oe=this.PROFILENEW_ADD_BIRTHDAY=new u(h.C.PROFILENEW_ADD_BIRTHDAY,e.z.PROFILENEW_ADD_BIRTHDAY);static#ae=this.PROFILENEW_ADD_EMAIL=new u(h.C.PROFILENEW_ADD_EMAIL,e.z.PROFILENEW_ADD_EMAIL);static#ce=this.PROFILENEW_VERIFY_EMAIL=new u(h.C.PROFILENEW_VERIFY_EMAIL,e.z.PROFILENEW_VERIFY_EMAIL);static#le=this.PROFILENEW_ADD_PHONE=new u(h.C.PROFILENEW_ADD_PHONE,e.z.PROFILENEW_ADD_PHONE);static#ue=this.PROFILENEW_VERIFY_PHONE=new u(h.C.PROFILENEW_VERIFY_PHONE,e.z.PROFILENEW_VERIFY_PHONE);static#de=this.PROFILENEW_VERIFY_CODE=new u(h.C.PROFILENEW_VERIFY_CODE,e.z.PROFILENEW_VERIFY_CODE);static#he=this.VIP_INFO=new u(h.C.VIP_INFO,e.z.VIP_INFO);static#fe=this.VIP_DETAIL=new u(h.C.VIP_DETAIL,e.z.VIP_DETAIL);static#pe=this.WALLET=new u(h.C.WALLET,e.z.WALLET);static#ge=this.WALLET_DEPOSIT=new u(h.C.WALLET_DEPOSIT,e.z.WALLET_DEPOSIT);static#_e=this.WALLET_DEPOSIT_THIRD_PARTY_RESULT=new u(h.C.WALLET_DEPOSIT_THIRD_PARTY_RESULT,e.z.WALLET_DEPOSIT);static#me=this.WALLET_WITHDRAWAL=new u(h.C.WALLET_WITHDRAWAL,e.z.WALLET_WITHDRAWAL);static#ve=this.MY_BONUSES=new u(h.C.MY_BONUSES,e.z.MY_BONUSES);static#Ee=this.MY_BONUSES_RUNNING=new u(h.C.MY_BONUSES_RUNNING,e.z.MY_BONUSES_RUNNING);static#Ce=this.MY_BONUSES_COMPLETE=new u(h.C.MY_BONUSES_COMPLETE,e.z.MY_BONUSES_COMPLETE);static#De=this.REAL_TIME_BONUS=new u(h.C.REAL_TIME_BONUS,e.z.REAL_TIME_BONUS);static#Ie=this.TURNOVER=new u(h.C.TURNOVER,e.z.TURNOVER);static#Ae=this.TURNOVER_UNCOMPLETE=new u(h.C.TURNOVER_UNCOMPLETE,e.z.TURNOVER_UNCOMPLETE);static#Oe=this.TURNOVER_COMPLETE=new u(h.C.TURNOVER_COMPLETE,e.z.TURNOVER_COMPLETE);static#Re=this.VOUCHER=new u(h.C.VOUCHER,e.z.VOUCHER);static#Se=this.BETTING_RECORDS=new u(h.C.BETTING_RECORDS,e.z.BETTING_RECORDS);static#ye=this.BETTING_RECORDS_SETTLED=new u(h.C.BETTING_RECORDS_SETTLED,e.z.BETTING_RECORDS_SETTLED);static#Te=this.BETTING_RECORDS_UNSETTLED=new u(h.C.BETTING_RECORDS_UNSETTLED,e.z.BETTING_RECORDS_UNSETTLED);static#be=this.TRANSACTION_RECORDS=new u(h.C.TRANSACTION_RECORDS,e.z.TRANSACTION_RECORDS);static#Me=this.TRANSACTION_RESULT=new u(h.C.TRANSACTION_RESULT,e.z.TRANSACTION_RESULT);static#Ne=this.VIP_POINTS_RECORDS=new u(h.C.VIP_POINTS_RECORDS,e.z.VIP_POINTS_RECORDS);static#we=this.VIP_POINTS_EXCHANGE=new u(h.C.VIP_POINTS_EXCHANGE,e.z.VIP_POINTS_EXCHANGE);static#Pe=this.VIP_HISTORY=new u(h.C.VIP_HISTORY,e.z.VIP_HISTORY);static#Le=this.VIP_POINTS_RECORDS_RECEIVED=new u(h.C.VIP_POINTS_RECORDS_RECEIVED,e.z.VIP_POINTS_RECORDS_RECEIVED);static#xe=this.VIP_POINTS_RECORDS_USED=new u(h.C.VIP_POINTS_RECORDS_USED,e.z.VIP_POINTS_RECORDS_USED);static#Fe=this.VERIFY_BANK=new u(h.C.VERIFY_BANK,e.z.VERIFY_BANK);static#ke=this.VERIFY_DOCUMENT=new u(h.C.VERIFY_DOCUMENT,e.z.VERIFY_DOCUMENT);static#Be=this.VERIFY_CRYPTOCURRENCIES=new u(h.C.VERIFY_CRYPTOCURRENCIES,e.z.VERIFY_CRYPTOCURRENCIES);static#Ue=this.VERIFY_E_WALLETS=new u(h.C.VERIFY_E_WALLETS,e.z.VERIFY_E_WALLETS);static#Ge=this.VERIFY_UPI=new u(h.C.VERIFY_UPI,e.z.VERIFY_UPI);static#Ve=this.VERIFICATION_OTP=new u(h.C.VERIFICATION_OTP,e.z.VERIFICATION_OTP);static#$e=this.INBOX=new u(h.C.INBOX,e.z.INBOX);static#We=this.INBOX_NOTIFICATION=new u(h.C.INBOX_NOTIFICATION,e.z.INBOX_NOTIFICATION);static#He=this.INBOX_ACTIVITY=new u(h.C.INBOX_ACTIVITY,e.z.INBOX_ACTIVITY);static#je=this.INBOX_BULLETIN=new u(h.C.INBOX_BULLETIN,e.z.INBOX_BULLETIN);static#Ke=this.REFERRAL=new u(h.C.REFERRAL,e.z.REFERRAL);static#Ye=this.REFERRAL_PROGRAM=new u(h.C.REFERRAL_PROGRAM,e.z.REFERRAL_PROGRAM);static#Xe=this.REFERRAL_PROGRAM_PROMOTION=new u(h.C.REFERRAL_PROGRAM_PROMOTION,e.z.REFERRAL_PROGRAM_PROMOTION);static#Qe=this.REFERRAL_PROGRAM_RULES=new u(h.C.REFERRAL_PROGRAM_RULES,e.z.REFERRAL_PROGRAM_RULES);static#ze=this.REFERRAL_PROGRAM_DETAILS=new u(h.C.REFERRAL_PROGRAM_DETAILS,e.z.REFERRAL_PROGRAM_DETAILS);static#Je=this.REFERRAL_INFORMATION=new u(h.C.REFERRAL_INFORMATION,e.z.REFERRAL_INFORMATION);static#Ze=this.REFERRAL_RECORDS=new u(h.C.REFERRAL_RECORDS,e.z.REFERRAL_RECORDS);static#qe=this.REFERRAL_INVITATION=new u(h.C.REFERRAL_INVITATION,e.z.REFERRAL_INVITATION);static#et=this.REFERRAL_INVITE=new u(h.C.REFERRAL_INVITE,e.z.REFERRAL_INVITE);static#tt=this.REFERRAL_REWARD=new u(h.C.REFERRAL_REWARD,e.z.REFERRAL_REWARD);static#nt=this.REFERRAL_DETAILS=new u(h.C.REFERRAL_DETAILS,e.z.REFERRAL_DETAILS);static#it=this.REFERRAL_BONUS=new u(h.C.REFERRAL_BONUS,e.z.REFERRAL_BONUS);static#st=this.BIOMETRIC=new u(h.C.BIOMETRIC,e.z.BIOMETRIC);static#rt=this.SWITCH_MODE=new u(h.C.SWITCH_MODE,e.z.SWITCH_MODE);static#ot=this.AF_LINK=new u(h.C.AF_LINK,e.z.LANDING_PAGE);static#at=this.LANDING_PAGE=new u(h.C.LANDING_PAGE,e.z.LANDING_PAGE);static#ct=this.GLOSSARY=new u(h.C.GLOSSARY,e.z.GLOSSARY);static#lt=this.OPEN_GAME_PAGE=new u(h.C.OPEN_GAME_PAGE,e.z.MAIN);static#ut=this.INDEX_CASINO=new u(h.C.INDEX_CASINO,e.z.INDEX_CASINO);static#dt=this.MAIN_LANDING_PAGE=new u(h.C.MAIN_LANDING_PAGE,e.z.MAIN_LANDING_PAGE);static#ht=this.FREE_SPIN=new u(h.C.FREE_SPIN,e.z.FREE_SPIN);static#ft=this.WINNER_BOARD=new u(h.C.WINNER_BOARD,e.z.WINNER_BOARD);static findByRoutingPath(C){if(C)return this.values.find(w=>w._routingPath===C)}static get values(){return this._values}get routingPath(){return this._routingPath.routingPath}get link(){return this._routingPath.link}get layoutConfigType(){return this._layoutConfigType}get landingPageType(){return this._routingPath.landingPageType}constructor(C,w){super(C.key),this._routingPath=C,this._layoutConfigType=w,u.values.push(this)}}},7760:(Be,K,l)=>{"use strict";l.d(K,{IM:()=>h,IV:()=>e,mS:()=>s});var s=function(u){return u.MAIN_TAB="0",u.LEFT_MENU="1",u.HEADER_FAST="2",u.CASINO_MENU="3",u}(s||{}),h=function(u){return u[u.CATEGORY_CONTAINER=0]="CATEGORY_CONTAINER",u[u.GAME_CONTAINER=1]="GAME_CONTAINER",u[u.DIRECT_URL=2]="DIRECT_URL",u[u.VENDOR=3]="VENDOR",u[u.GAME=4]="GAME",u[u.FOR_YOU=5]="FOR_YOU",u[u.TOP_GAMES=6]="TOP_GAMES",u[u.NEW_GAMES=7]="NEW_GAMES",u[u.TOP_BET=8]="TOP_BET",u[u.RECOMMEND=9]="RECOMMEND",u[u.LAST_GAMES=10]="LAST_GAMES",u[u.LUCK_GAMES=11]="LUCK_GAMES",u}(h||{}),e=function(u){return u[u.ICON=1]="ICON",u[u.VERTICAL=2]="VERTICAL",u[u.HORIZONTAL=3]="HORIZONTAL",u}(e||{})},78922:(Be,K,l)=>{"use strict";l.d(K,{X:()=>e});var s=l(65788),h=function(u){return u[u.CURRENCY=1]="CURRENCY",u[u.LANGUAGE=2]="LANGUAGE",u[u.COUNTRY=3]="COUNTRY",u[u.TIMEZONE=4]="TIMEZONE",u[u.MARKET=5]="MARKET",u[u.DEFAULT_LANGUAGE=6]="DEFAULT_LANGUAGE",u}(h||{});class e extends s.N{static#e=this._values=new Array;static#t=this.CURRENCY=new e(h.CURRENCY);static#n=this.LANGUAGE=new e(h.LANGUAGE);static#s=this.COUNTRY=new e(h.COUNTRY);static#i=this.TIMEZONE=new e(h.TIMEZONE);static#o=this.MARKET=new e(h.MARKET);static#r=this.DEFAULT_LANGUAGE=new e(h.DEFAULT_LANGUAGE);constructor(m){super(m),this._value=m,e.values.push(this)}static get values(){return this._values}}},51210:(Be,K,l)=>{"use strict";l.d(K,{Y:()=>b});var s=l(54438),h=l(89079),e=l(68990),u=l(30617),m=l(45122),C=l(20464),w=l(25558),M=l(7673);let b=(()=>{class R{#e;get gameTypeList(){return[m.Z.SPORT.unique,m.Z.CASINO.unique,m.Z.SLOT.unique,m.Z.TABLE.unique,m.Z.LOTTERY.unique,m.Z.FISH.unique,m.Z.ARCADE.unique,m.Z.CRASH.unique]}constructor(){this.providerService=(0,s.WQX)(e.$),this.siteSettingState=(0,s.WQX)(u.p),this.i18nService=(0,s.WQX)(C.JO),this.#e=(0,s.vPA)([]),this.vendorList=this.#e.asReadonly(),this.siteSettingState.select("siteSettingModel").pipe((0,w.n)(({isEnableWebsiteCategory:x})=>x?(0,M.of)([]):this.providerService.getVendors(this.gameTypeList)),(0,h.pQ)()).subscribe(x=>{const B=this.getFilteredList(x);this.#e.set(B)})}getFilteredList(x){const B=[];return x?.forEach(j=>{const ve=m.Z.getInstanceOf(j.gameTypeId);if(ve){let oe=[];oe=j.vendorList.map(pe=>({...pe}));const H=ve.name.toLowerCase();B.push({title:ve.name,category:H,gameType:ve,vendorList:oe})}}),B.filter(j=>0!==j.vendorList.length)}static#t=this.\u0275fac=function(B){return new(B||R)};static#n=this.\u0275prov=s.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})()},20753:(Be,K,l)=>{"use strict";l.d(K,{n:()=>h});const h=new(l(54438).nKC)("SYSTEM_CONFIG")},82409:(Be,K,l)=>{"use strict";l.d(K,{_X:()=>b,pA:()=>M});var s=l(54438),h=l(7673),e=l(22806),u=l(88141),m=l(25558),C=l(98856);const w=new s.nKC("SYSTEM_MESSAGE_DIALOG_CONFIG"),M=new s.nKC("NOTIFY_INFO_COMPONENT");let b=(()=>{class R{constructor(){this.notifyUILoader=(0,s.WQX)(M),this.dialogService=(0,s.WQX)(C.o),this.notifyUI=null,this.dialogConfig=(0,s.WQX)(w,{optional:!0})}getNotifyUI(){return this.notifyUI?(0,h.of)(this.notifyUI):(0,e.H)(this.notifyUILoader()).pipe((0,u.M)(x=>this.notifyUI=x))}show(x,B,Y,j){this.getNotifyUI().pipe((0,m.n)(ve=>this.dialogService.openDialog(ve,{...this.dialogConfig||{},data:{title:B,content:x},uiLoaderList:j}))).subscribe(()=>Y?.())}static#e=this.\u0275fac=function(B){return new(B||R)};static#t=this.\u0275prov=s.jDH({token:R,factory:R.\u0275fac})}return R})()},24592:(Be,K,l)=>{"use strict";l.d(K,{Rz:()=>h,tt:()=>m});var s=l(49969);const h=(0,s.hZ)("popBgTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({opacity:0}),(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({opacity:0}))])]),m=((0,s.hZ)("popWrapTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({top:"45%",opacity:0}),(0,s.i0)("300ms 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({top:"50%",opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({top:"45%",opacity:0}))])]),(0,s.hZ)("popWrapTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({transform:"translateY(100%)",opacity:0}),(0,s.i0)("300ms 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateY(0%)",opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateY(100%)",opacity:0}))])]),(0,s.hZ)("popWrapTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({bottom:"-100%",opacity:1}),(0,s.i0)("300ms 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({bottom:"0",opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({bottom:"-100%",opacity:0}))])]));(0,s.hZ)("dialogAlertTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({top:"-50px",opacity:0}),(0,s.i0)("500ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({top:"35px",opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("400ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({top:"-50px",opacity:0}))])]),(0,s.hZ)("dialogTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({transform:"translateX(100%)"}),(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateX(0%)"}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateX(100%)"}))])]),(0,s.hZ)("dialogTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({transform:"translateX(-100%)"}),(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateX(0%)"}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateX(-100%)"}))])]),(0,s.hZ)("dialogTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({transform:"translateX({{percent}})"}),(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateX(0%)"}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateX({{percent}})"}))])])},78294:(Be,K,l)=>{"use strict";l.d(K,{r:()=>h});const h=new(l(54438).nKC)("NO_DATA_COMPONENT")},791:(Be,K,l)=>{"use strict";l.d(K,{M:()=>x});var s=l(54438),h=l(89079),e=l(51188),u=l(20464),m=l(5964),C=l(96354);const w=["*"];function M(B,Y){if(1&B&&(s.j41(0,"div",7),s.EFF(1),s.nI1(2,"transloco"),s.k0s()),2&B){const j=s.XpG().$implicit,ve=s.XpG(2);s.R7$(),s.SpI(" ",ve.enableTranslate()?s.bMT(2,1,j.badgeName):j.badgeName," ")}}function b(B,Y){if(1&B&&(s.j41(0,"div",7),s.EFF(1),s.k0s()),2&B){let j;const ve=s.XpG().$implicit;s.R7$(),s.SpI(" ",null!==(j=ve.unreadNotificationCount)&&void 0!==j?j:0," ")}}function R(B,Y){if(1&B){const j=s.RV6();s.j41(0,"div",5),s.bIt("click",function(){const oe=s.eBV(j).$implicit,H=s.XpG(2);return s.Njj(H.changeTab(oe))}),s.j41(1,"div",6),s.EFF(2),s.nI1(3,"transloco"),s.DNE(4,M,3,3,"div",7)(5,b,2,1,"div",7),s.k0s()()}if(2&B){const j=Y.$implicit,ve=s.XpG(2);s.BMQ("data-tab-current",ve.getIsCurrentTab(j)),s.R7$(2),s.SpI(" ",ve.enableTranslate()?s.bMT(3,4,j.name):j.name," "),s.R7$(2),s.vxM(4,j.badgeName?4:-1),s.R7$(),s.vxM(5,j.showNotificationBadge?5:-1)}}function L(B,Y){if(1&B&&(s.j41(0,"div",1),s.nrm(1,"div",3),s.Z7z(2,R,6,6,"div",4,s.Vm6),s.k0s()),2&B){const j=s.XpG();s.R7$(),s.xc7("width",j.width())("transform",j.transform()),s.R7$(),s.Dyx(j.navItems())}}let x=(()=>{class B{#e;#t;constructor(){this.navItems=s.hFB.required(),this.enableTranslate=(0,s.hFB)(!0),this.onTabChanged=(0,s.CGW)(),this.#e=(0,s.WQX)(e.Ix),this.#t=(0,s.WQX)(s.abz),this.isUrlNavigationEnabled=(0,s.vPA)(!1),this.currentTab=(0,s.vPA)(null),this.width=(0,s.EWP)(()=>`calc(${100/this.navItems().length}%)`),this.transform=(0,s.EWP)(()=>`translate(${100*this.navItems().findIndex(ve=>ve.value===this.currentTab()?.value)}%, 0px)`),(0,s.QZP)(()=>{this.isUrlNavigationEnabled()&&this.#e.events.pipe((0,m.p)(j=>j instanceof e.wF),(0,C.T)(j=>j.url.split("?")[0].replace(/\(popup:([^)]+)\)/,"/$1")),(0,h.pQ)(this.#t)).subscribe(j=>{this.currentTab.set(this.navItems().find(ve=>j.match(ve.url))??null)})})}ngOnInit(){if(this.isUrlNavigationEnabled.set(this.navItems().some(j=>j.url)),this.isUrlNavigationEnabled()){const j=this.#e.url.split("?")[0].replace(/\(popup:([^)]+)\)/,"/$1");this.currentTab.set(this.navItems().find(ve=>j.match(ve.url))??null)}else this.currentTab.set(this.navItems()[0])}changeTab(j){this.isUrlNavigationEnabled()&&j.url?this.#e.navigateByUrl(j.url):(this.currentTab.set(j),this.onTabChanged.emit(j))}getIsCurrentTab(j){const ve=this.currentTab();return this.isUrlNavigationEnabled()&&j.url?ve?.url===j.url?"current":"":ve?.value===j.value?"current":""}static#n=this.\u0275fac=function(ve){return new(ve||B)};static#s=this.\u0275cmp=s.VBU({type:B,selectors:[["mcd-tab-nav"]],inputs:{navItems:[s.Mj6.SignalBased,"navItems"],enableTranslate:[s.Mj6.SignalBased,"enableTranslate"]},outputs:{onTabChanged:"onTabChanged"},standalone:!0,features:[s.aNF],ngContentSelectors:w,decls:4,vars:1,consts:[[1,"tabs"],[1,"tab-btn","tab-btn-page"],[1,"tab-content","tab-content-page"],[1,"line"],[1,"btn"],[1,"btn",3,"click"],[1,"text"],[1,"badge"]],template:function(ve,oe){1&ve&&(s.NAR(),s.j41(0,"div",0),s.DNE(1,L,4,4,"div",1),s.j41(2,"div",2),s.SdG(3),s.k0s()()),2&ve&&(s.R7$(),s.vxM(1,oe.navItems().length>1?1:-1))},dependencies:[u.Q8,u.Kj],styles:["[_nghost-%COMP%]{--tab-nav-bg: var(--tab-header-bg);--tab-button-nav-bg: var(--tab-btn-bg);--tab-button-nav-txt-active: var(--tab-btn-txt-active);--tab-button-nav-txt-inactive: var(--tab-btn-txt-inactive);--tab-nav-line-bg: var(--tab-line-bg)}.tabs[_ngcontent-%COMP%] .tab-btn[_ngcontent-%COMP%] + .tab-content[_ngcontent-%COMP%]{padding-top:50px}.tab-btn-page[_ngcontent-%COMP%]{position:fixed}.tab-content[_ngcontent-%COMP%]{position:relative;overflow-y:auto}.tab-content[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.tab-content[_ngcontent-%COMP%]::-webkit-scrollbar-track{display:none}.tab-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{display:none}.tab-content[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.tab-content[_ngcontent-%COMP%]::-webkit-scrollbar-corner{display:none}.tab-content[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{display:none}"],changeDetection:0})}return B})()},48125:(Be,K,l)=>{"use strict";l.d(K,{v:()=>Ve});var s=l(68150),h=l(54438),e=l(21413),u=l(22806),m=l(25558),C=l(88141),w=l(56977),M=l(96697);let b=(()=>{class ye{constructor(){this.applicationRef=(0,h.WQX)(h.o8S),this.injector=(0,h.WQX)(h.zZn),this.isWidgetOpen=(0,h.vPA)(!1),this.destroy$=new e.B,this.needCloseBtn=(0,h.vPA)(!1),this.unreadCount=(0,h.vPA)(0),this.componentRef=null,this.config=null}getLiveChatWidgetComponent(){return(0,u.H)(l.e(5836).then(l.bind(l,25836)).then(Ce=>Ce.LiveChatWidgetComponent))}setConfig(Ce){}projectComponentInputs(Ce,We){if(We){const ut=Object.getOwnPropertyNames(We);for(const ft of ut)Ce.setInput(ft,We[ft])}return Ce}appendComponent(Ce,We={}){const ft=this.applicationRef.components[0].injector.get(h.c1b).createComponent(Ce,{injector:this.injector});return this.projectComponentInputs(ft,We),ft}init(Ce){return this.config=Ce,this.getLiveChatWidgetComponent().pipe((0,m.n)(We=>(this.componentRef?.instance&&this.componentRef.destroy(),this.componentRef=this.appendComponent(We,{group:this.config?.group||void 0,license:this.config?.license,visibility:"hidden"}),this.componentRef.instance.onVisibilityChanged.pipe((0,C.M)(ut=>{this.config?.hideIcon&&"minimized"===ut.visibility&&this.hideIcon()}),(0,w.Q)(this.destroy$)).subscribe(),this.componentRef.instance.onReady)),(0,M.s)(1),(0,w.Q)(this.destroy$))}destroy(){this.componentRef?.destroy(),this.componentRef=null,this.config=null,this.destroy$.next()}showIcon(){this.componentRef?.instance?.widget?.updateVisibility(1===this.config?.version?"maximized":"minimized")}onShow(){this.componentRef?.instance?.widget?.updateVisibility(1===this.config?.version?"maximized":"minimized")}hideIcon(){this.componentRef?.instance?.widget?.updateVisibility("hidden")}showWidget(){this.componentRef?.instance?.widget?.updateVisibility("maximized")}hideWidget(){this.componentRef?.instance?.widget?.updateVisibility(this.config?.hideIcon?"hidden":"minimized")}static#e=this.\u0275fac=function(We){return new(We||ye)};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();var R=l(7673),L=l(99172),x=l(93166),B=l(51433),Y=l(30617),j=l(71522),ve=l(71996);let oe=(()=>{class ye{constructor(){this.isWidgetOpen=(0,h.vPA)(!1),this.isMobile=x.U.isMobileBrowser(),this.needCloseBtn=(0,h.EWP)(()=>{const Ce=this.isWidgetOpen();return!this.isMobile&&Ce}),this.scriptId="genie-widget-script",this.defaultApiBase="https://widget.cxgenie-crickex.com/widget.js",this.destroy$=new e.B,this.authState=(0,h.WQX)(B.H),this.siteSetting=(0,h.WQX)(Y.p),this.appStateService=(0,h.WQX)(ve.i),this.accountInfo$=this.authState.select("accountInfo"),this.unreadCount=(0,h.vPA)(0)}setConfig(Ce){this.config=Ce}init(Ce){const We=new e.B;return this.loadWidgetScript(Ce).then(()=>{We.next(null),We.complete()}).catch(ut=>{We.error(ut)}),We.asObservable().pipe((0,w.Q)(this.destroy$))}loadWidgetScript(Ce){return new Promise((We,ut)=>{this.removeExistScript();const ft=document.createElement("script");ft.id=this.scriptId,ft.setAttribute("data-aid",Ce.aid),ft.setAttribute("data-lang",this.getGenieLangCode()),ft.setAttribute("data-hide-widget-button",!1===Ce.showWidget?"true":""),ft.setAttribute("data-token",""),ft.setAttribute("data-user-id",""),ft.defer=!0,ft.src=Ce?.apiBase||Ce?.src||this.defaultApiBase,this.appStateService.set("showWidget",!0===Ce.showWidget),this.authState.select("isLogin").pipe((0,m.n)(vt=>vt?(0,R.of)(this.authState.get("accountInfo")):this.accountInfo$.pipe((0,L.Z)(null))),(0,C.M)(vt=>{const Kt=ft.attributes,wt=document.createElement("script");for(let tn=0;tn{this.checkWidgetAvailability(We,ut)}),Ce.addEventListener("error",ft=>{console.error("GenieService load error",ft),ut(ft)})}removeExistScript(){const Ce=document.getElementById(this.scriptId);if(Ce){const ut=document.getElementsByClassName("cxgenie-close-icon");ut.length&&ut[0].remove();const ft=document.getElementsByClassName("cxgenie-chat-modal");ft.length&&ft[0].remove();const vt=document.getElementById("cxgenie-chat-button");vt&&vt.remove(),Ce.remove()}const We=this.config?.src?this.config.src.replace(/\.js$/,".css"):"";if(We){const ut=Array.from(document.querySelectorAll(`link[href*="${We}"]`));ut.length&&ut.forEach(ft=>ft.remove())}}checkWidgetAvailability(Ce,We){const ut=setInterval(()=>{window?.openCXGenieChatWidget&&(clearInterval(ut),Ce())},100);setTimeout(()=>{clearInterval(ut),We("openCXGenieChatWidget is not available")},1e4)}getGenieLangCode(){const Ce=this.siteSetting.get("currentLanguageType");let We=Ce.resourceKey;switch(Ce){case j.t.CHINESE:We="zh";break;case j.t.MALAY:We="ms";break;case j.t.VIETNAMESE:We="vi";break;case j.t.TRADIONNAL_CHINESE:We="zh-TW"}return We}destroy(){this.removeExistScript(),this.destroy$.next()}switchCXGenieChatWidget(Ce,We){Array.from(document.querySelectorAll(Ce)).forEach(We)}showIcon(){this.switchCXGenieChatWidget("div.cxgenie-chat-button",Ce=>{Ce.classList.add("open"),Ce.style.display="flex"}),this.switchCXGenieChatWidget("object.cxgenie-chat-modal",Ce=>{Ce.style.display="block"})}hideIcon(){this.switchCXGenieChatWidget("div.cxgenie-chat-button",Ce=>{Ce.classList.remove("open"),Ce.style.display="none"}),this.switchCXGenieChatWidget("object.cxgenie-chat-modal",Ce=>{Ce.style.display="none"})}showWidget(){window?.openCXGenieChatWidget()}hideWidget(){window?.closeCXGenieChatWidget()}static#e=this.\u0275fac=function(We){return new(We||ye)};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();var H=l(5964),ae=l(51188),pe=l(60177);let de=(()=>{class ye{}return ye.\u0275fac=function(Ce){return new(Ce||ye)},ye.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac}),ye})(),Pe=(()=>{class ye{constructor(Ce,We,ut,ft,vt){this.config=Ce,this.platformId=We,this.router=ut,this.rendererFactory=ft,this.document=vt,(0,pe.UE)(this.platformId)&&(this.renderer2=this.rendererFactory.createRenderer(this.document,{id:"-1",encapsulation:h.gXe.None,styles:[],data:{}}),Ce&&Ce.updateOnRouterChange?this.router.events.pipe((0,H.p)(Kt=>Kt instanceof ae.wF)).subscribe(Kt=>{this.update()}):(0,h.naY)()&&console.warn("\n Common practice in single page applications is to update whenever the route changes.\n ng-intercom supports this functionality out of the box just set 'updateOnRouterChange' to true in your Intercom Module config.\n This warning will not appear in production, if you choose not to use router updating.\n "))}boot(Ce){if(!(0,pe.UE)(this.platformId))return;const We=Ce.app_id?Ce.app_id:this.config.appId;if(!We)throw new Error("Please provide Intercom app_id either in module config or in the `boot()` method");this.loadIntercom(this.config,ut=>{const ft={...Ce,app_id:We};return this._callIntercom("boot",ft)})}shutdown(){return this._callIntercom("shutdown")}update(Ce){return this._callIntercom("update",Ce)}hide(){return this._callIntercom("hide")}show(Ce){return Ce?this.showNewMessage(Ce):this._callIntercom("show")}showMessages(){return this._callIntercom("showMessages")}showNewMessage(Ce){return this._callIntercom("showNewMessage",Ce)}trackEvent(Ce,We){return this._callIntercom("trackEvent",Ce,We)}getVisitorId(){return this._callIntercom("getVisitorId")}get visitorId(){return this._callIntercom("getVisitorId")}onShow(Ce){return this._callIntercom("onShow",Ce)}onHide(Ce){return this._callIntercom("onHide",Ce)}onUnreadCountChange(Ce){return this._callIntercom("onUnreadCountChange",Ce)}startTour(Ce){return this._callIntercom("startTour",Ce)}_callIntercom(Ce,...We){if((0,pe.UE)(this.platformId)&&window.Intercom)return window.Intercom(Ce,...We)}injectIntercomScript(Ce,We){if(!(0,pe.UE)(this.platformId))return;window.intercomSettings=Ce;const ut=this.document.createElement("script");ut.type="text/javascript",ut.async=!0,ut.src=`https://widget.intercom.io/widget/${this.id}`,ut.attachEvent?ut.attachEvent("onload",We):ut.addEventListener("load",We,!1),this.renderer2&&this.renderer2.appendChild&&this.renderer2.appendChild(this.document.head,ut),window.Intercom("update",Ce)}loadIntercom(Ce,We){if(!(0,pe.UE)(this.platformId))return;this.id=Ce.appId;const ut=window,ft=ut.Intercom;if(ut.intercomSettings=Ce,"function"==typeof ft)ft("reattach_activator"),ft("update",Ce),We();else{const vt=function(){vt.c(arguments)};vt.q=[],vt.c=function(Kt){vt.q.push(Kt)},ut.Intercom=vt,this.injectIntercomScript(Ce,We)}}}return ye.\u0275fac=function(Ce){return new(Ce||ye)(h.KVO(de),h.KVO(h.Agw),h.KVO(ae.Ix,8),h.KVO(h._9s),h.KVO(pe.qQ,8))},ye.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac}),ye})(),se=(()=>{class ye{static forRoot(Ce){return{ngModule:ye,providers:[Pe,{provide:de,useValue:Ce}]}}}return ye.\u0275fac=function(Ce){return new(Ce||ye)},ye.\u0275mod=h.$C({type:ye}),ye.\u0275inj=h.G2t({providers:[Pe,de],imports:[ae.iI]}),ye})();var Ee=l(78382),me=l(21626),je=l(20001);let Qe=(()=>{class ye{constructor(Ce){this.injector=Ce,this.intercom=null,this.intercomInitialized=!1,this.config=null,this.isWidgetOpen=(0,h.vPA)(!1),this.isMobile=x.U.isMobileBrowser(),this.needCloseBtn=(0,h.EWP)(()=>{const We=this.isWidgetOpen();return!this.isMobile&&We}),this.scriptId="widget.intercom.io/widget/",this.defaultApiBase="https://api-iam.intercom.io",this.destroy$=new e.B,this.authState=(0,h.WQX)(B.H),this.accountInfo$=this.authState.select("accountInfo"),this.unreadCount=(0,h.vPA)(0),this.isHideIntercomPhoneNumber=(0,h.WQX)(Ee.Nr,{optional:!0})}setConfig(Ce){this.config=Ce,this.loadIntercom()}loadIntercom(){if(this.intercomInitialized||!this.config)return;this.intercomInitialized=!0;const Ce={appId:this.config?.appId,updateOnRouterChange:!0};this.config.site&&(Ce.site=this.config.site);const We=se.forRoot(Ce).providers||[];We.push({provide:me.a7,useClass:je.R,multi:!0});const ut=h.zZn.create({providers:We,parent:this.injector});this.intercom=ut.get(Pe)}init(Ce){return this.authState.select("isLogin").pipe((0,m.n)(We=>We?(0,R.of)(this.authState.get("accountInfo")):this.accountInfo$.pipe((0,L.Z)(null))),(0,C.M)(We=>{this.intercom&&(this.intercom.shutdown(),this.intercom.boot({app_id:Ce.appid||Ce.appId,api_base:Ce.apiBase||this.defaultApiBase,custom_launcher_selector:Ce.custom_launcher_selector?`, ${Ce.custom_launcher_selector}`:"",hide_default_launcher:!Ce.showWidget}),this.intercom.onUnreadCountChange(ut=>{this.unreadCount.set(ut||0)}),this.intercom.onShow(()=>{this.isWidgetOpen.set(!0)}),this.intercom.onHide(()=>{this.isWidgetOpen.set(!1)}),We&&this.intercom.update({user_id:We.userId,name:We.userId,email:We.email,created_at:We.signUpTimestamp,user_hash:We.userHash||"",phone:this.isHideIntercomPhoneNumber?"":`+${We.callingCode}${We.phoneNumber}`,Phone_2:this.getFormattedPhone(!!this.isHideIntercomPhoneNumber,We.callingCode2,We.phoneNumber2),Phone_3:this.getFormattedPhone(!!this.isHideIntercomPhoneNumber,We.callingCode3,We.phoneNumber3)}))}),(0,w.Q)(this.destroy$))}getFormattedPhone(Ce,We,ut){return Ce||!ut?.trim()?"":`+${We??""}${ut}`}destroy(){this.intercom?.shutdown(),this.destroy$.next()}showIcon(){Array.from(document.querySelectorAll("div.intercom-lightweight-app")).forEach(We=>We.style.display="block")}hideIcon(){Array.from(document.querySelectorAll("div.intercom-lightweight-app")).forEach(We=>We.style.display="none")}showWidget(){this.intercom?.show()}hideWidget(){this.intercom?.hide()}static#e=this.\u0275fac=function(We){return new(We||ye)(h.KVO(h.zZn))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();var Ot=l(89079),mt=l(29655),Oe=l(96354),Re=l(76288);let Ve=(()=>{class ye{constructor(){this.httpClient=(0,h.WQX)(mt.t),this.appStateService=(0,h.WQX)(ve.i),this.siteSetting=(0,h.WQX)(Y.p),this.currentChatService=(0,h.vPA)(null),this.showServiceWidget=(0,h.vPA)(null),this.chatService=this.currentChatService.asReadonly(),this.shouldHideExternalUI=(0,Ot.ot)(this.appStateService.on("shouldHideExternalUI")),this.checkChatServiceShowHideUi=(0,h.QZP)(()=>{const Ce=this.shouldHideExternalUI(),We=this.currentChatService();We&&(Ce?We.hideIcon():We.showIcon())}),this.liveChatSettingSignal=(0,Ot.ot)(this.siteSetting.select("siteSettingModel").pipe((0,m.n)(Ce=>(0,R.of)(Ce.liveChatSetting?Ce.liveChatSetting:null)))),this.injector=(0,h.WQX)(h.zZn)}init(){(0,h.QZP)(()=>{const Ce=this.liveChatSettingSignal()?.settingFilePath,We=this.liveChatSettingSignal()?.settingType,ut=(0,h.O8t)(this.currentChatService);if(ut&&(ut.destroy(),this.currentChatService.set(null)),!this.liveChatSettingSignal())return;const ft=We?this.getChatService(We):null;Ce&&ft&&this.getChatSettingFile(Ce,We).pipe((0,m.n)(vt=>(this.setShowServiceWidget(vt,We),ft.setConfig(vt),ft.init(vt)))).subscribe(()=>{this.currentChatService.set(ft)})},{injector:this.injector,allowSignalWrites:!0})}getChatSettingFile(Ce,We){return this.httpClient.get(Ce).pipe((0,Oe.T)(ut=>ut))}getChatService(Ce){switch(Ce){case Re.z.CXGENIE:return this.injector.get(oe);case Re.z.INTERCOM:return this.injector.get(Qe);case Re.z.LIVECHAT:return this.injector.get(b);default:return null}}setShowServiceWidget(Ce,We){let ut;switch(We){case Re.z.CXGENIE:case Re.z.INTERCOM:ut=Ce,this.showServiceWidget.set(ut.showWidget||!1)}}onClickContactLink(Ce,We,ut){const ft=this.chatService(),vt=s.C.getInstanceOf(We);ft&&vt===s.C.CSLINK?(ft.isWidgetOpen()?ft.hideWidget():ft.showWidget(),Ce.preventDefault()):ut||Ce.preventDefault()}openLiveChat(){if(this.liveChatSettingSignal()?.settingType===Re.z.CUSTOMIZED){const We=this.liveChatSettingSignal()?.settingLink;We&&window.open(We,"_blank")}else{const We=this.chatService();if(!We)return;We.isWidgetOpen()?We.hideWidget():We.showWidget()}}static#e=this.\u0275fac=function(We){return new(We||ye)};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})()},5585:(Be,K,l)=>{"use strict";l.d(K,{l:()=>w});var s=l(65089),h=l(54438),e=l(60177),u=l(76939);function m(M,b){if(1&M){const R=h.RV6();h.j41(0,"div",5),h.bIt("click",function(){h.eBV(R);const x=h.XpG();return h.Njj(x.onClickClose())}),h.k0s()}}function C(M,b){}let w=(()=>{class M extends s.m{static#e=this.\u0275fac=(()=>{let R;return function(x){return(R||(R=h.xGo(M)))(x||M)}})();static#t=this.\u0275cmp=h.VBU({type:M,selectors:[["mcd-dialog-bottom"]],features:[h.Vt3],decls:5,vars:2,consts:[[1,"popup",3,"id"],[1,"popup__header"],["class","popup__close",3,"click",4,"ngIf"],[1,"popup__content"],["cdkPortalOutlet",""],[1,"popup__close",3,"click"]],template:function(L,x){1&L&&(h.j41(0,"div",0)(1,"div",1),h.DNE(2,m,1,0,"div",2),h.k0s(),h.j41(3,"div",3),h.DNE(4,C,0,0,"ng-template",4),h.k0s()()),2&L&&(h.Y8G("id",x.id),h.R7$(2),h.Y8G("ngIf",x.enableCloseBtn))},dependencies:[e.bT,u.I3],styles:[".cdk-overlay-pane.dialog-panel{width:100%} .cdk-overlay-backdrop{pointer-events:none} .cdk-overlay-pane{pointer-events:none} .cdk-overlay-pane>*{pointer-events:auto}"],changeDetection:0})}return M})()},77183:(Be,K,l)=>{"use strict";l.d(K,{u:()=>h});var s=l(54438);class h{constructor(){this._isActive=!0,this._isActiveSignal=(0,s.vPA)(!0),this.isActiveSignal=this._isActiveSignal.asReadonly()}get isActive(){return this._isActive}deactivate(){this._isActiveSignal.set(!1),this._isActive=!1}close(u){this.deactivate(),this.dialogRef.close(u)}returnValueAndClose(u){this.deactivate(),this.dialogRef.close(u)}}},65089:(Be,K,l)=>{"use strict";l.d(K,{m:()=>C});var s=l(76939),h=l(54438),e=l(60177);function u(w,M){if(1&w){const b=h.RV6();h.j41(0,"div",5),h.bIt("click",function(){h.eBV(b);const L=h.XpG();return h.Njj(L.onClickClose())}),h.k0s()}}function m(w,M){}let C=(()=>{class w{constructor(){this.afterClickClose=new h.bkB,this.id="",this.maxWidth="",this.enableBackdropClick=!1,this.enableCloseBtn=!1}onClickClose(){this.afterClickClose.emit()}attachComponentPortal(b){return this.portalOutlet.attachComponentPortal(b)}attachTemplatePortal(b){return this.portalOutlet.attachTemplatePortal(b)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=h.VBU({type:w,selectors:[["mcd-dialog"]],viewQuery:function(R,L){if(1&R&&h.GBs(s.I3,7),2&R){let x;h.mGM(x=h.lsd())&&(L.portalOutlet=x.first)}},decls:5,vars:2,consts:[[1,"popup",3,"id"],[1,"popup__header"],["class","popup__close",3,"click",4,"ngIf"],[1,"popup__content"],["cdkPortalOutlet",""],[1,"popup__close",3,"click"]],template:function(R,L){1&R&&(h.j41(0,"div",0)(1,"div",1),h.DNE(2,u,1,0,"div",2),h.k0s(),h.j41(3,"div",3),h.DNE(4,m,0,0,"ng-template",4),h.k0s()()),2&R&&(h.Y8G("id",L.id),h.R7$(2),h.Y8G("ngIf",L.enableCloseBtn))},dependencies:[e.bT,s.I3],styles:[".cdk-overlay-pane.dialog-panel{width:100%;height:100%} .cdk-overlay-backdrop{pointer-events:none} .cdk-overlay-pane{pointer-events:none} .cdk-overlay-pane>*{pointer-events:auto}"],changeDetection:0})}return w})()},43518:(Be,K,l)=>{"use strict";l.d(K,{Pe:()=>u,Qs:()=>e,a2:()=>h});var s=l(54438);const h=new s.nKC("DIALOG_CONFIG"),e=new s.nKC("DIALOG_DATA_TOKEN");class u{constructor(){this.enableBackdropClick=!1,this.enableCloseBtn=!1,this.fixedWindowHeight=!1,this.maxWidth="100%",this.panelClass="dialog-panel",this.backdropClass="dialog-backdrop",this.overlayClass="",this.verticalPosition="center",this.horizontalPosition="center"}}},58818:(Be,K,l)=>{"use strict";l.d(K,{b:()=>h});const h=new(l(54438).nKC)("LOGOUT_CHECK_UI")},98856:(Be,K,l)=>{"use strict";l.d(K,{o:()=>pe});var s=l(47987),h=l(76939),e=l(60177),u=l(54438),m=l(35060),C=l(71985),w=l(43518),M=l(21413),b=l(96697),R=l(5964),L=l(88141);let x=0;class Y{constructor(Pe,W){this.overlatRef=Pe,this.componentInstance=W,this.afterShow$=new M.B,this.afterHide$=new M.B,this.isOpen=!0,this.id=`dialog-${function B(){return x++}()}`,W.id=this.id,W.afterClickClose.pipe((0,b.s)(1)).subscribe(()=>{this.close()}),Pe.detachments().subscribe(()=>{this.afterHide$.next(this.result),this.afterHide$.complete(),this.contentComponentInstance=null,Pe.dispose()}),Pe.backdropClick().pipe((0,R.p)(()=>W.enableBackdropClick),(0,L.M)(()=>this.close())).subscribe()}close(Pe){this.result=Pe,this.finishDialogClose()}finishDialogClose(){this.isOpen=!1,this.overlatRef.detach()}afterShow(){return this.afterShow$.asObservable()}afterHide(){return this.afterHide$.asObservable()}}var j=l(65089),ve=l(5585),oe=l(77183),H=l(86646),ae=l(30023);let pe=(()=>{class de{get isAnyDialogOpened(){return this.dialogRefList.length>0}constructor(W,J){this.overlay=W,this.platformId=J,this.ignoreImageUrlReplaceCheck=(0,u.WQX)(ae.t),this.imageUrlReplaceService=(0,u.WQX)(H._),this.dialogRefList=[],this.isBrowser=!0,this.isBrowser=(0,e.UE)(this.platformId)}openDialogInstance(W,J,te){return this.isBrowser?J?.prototype instanceof oe.u?new C.c($=>{const se={...new w.Pe,...te},Ee=this.createOverlay(se);this.ignoreImageUrlReplaceCheck||this.imageUrlReplaceService.detectElementChanges(Ee.overlayElement);const me=this.attachDialogContainer(W,Ee,se),je=this.attachDialogContent(J,me,Ee,se);this.dialogRefList.push(je),je.afterHide().subscribe(Qe=>{this.removeDialog(je),setTimeout(()=>{$.next(Qe),$.complete(),$.unsubscribe()},10)})}):(alert("DialogService.openDialog(), componentType is not DialogBase. Please extends DialogBase"),m.t):m.t}openDialog(W,J){return this.openDialogInstance(j.m,W,J)}openBottomDialog(W,J){return this.openDialogInstance(ve.l,W,{...J,verticalPosition:"bottom"})}attachDialogContainer(W,J,te){const q=new h.A8(W),Q=J.attach(q).instance;return Q.enableBackdropClick=!!te.enableBackdropClick||Q.enableBackdropClick,Q.enableCloseBtn=!!te.enableCloseBtn||Q.enableCloseBtn,Q.maxWidth=te.maxWidth||Q.maxWidth,Q}attachDialogContent(W,J,te,q){const $=new Y(te,J),Q=this.createInjector(q);let se;if(W instanceof u.C4Q){const Ee=new h.VA(W,void 0,q.data);se=J.attachTemplatePortal(Ee)}else{const Ee=new h.A8(W,void 0,Q);se=J.attachComponentPortal(Ee),$.contentComponentInstance=se.instance,se.instance.dialogRef=$}return $}closeAll(){this.dialogRefList.concat([]).forEach(W=>W.close())}removeDialog(W){const J=this.dialogRefList.indexOf(W);J>-1&&this.dialogRefList.splice(J,1)}createOverlay(W){const J=new s.rR({backdropClass:W.backdropClass,hasBackdrop:!0,panelClass:W.panelClass,positionStrategy:this.getPositionStrategy(W),scrollStrategy:this.overlay.scrollStrategies.block()}),te=this.overlay.create(J);return W.overlayClass&&te.hostElement.classList.add(W.overlayClass),te}getPositionStrategy(W){const J=this.overlay.position().global();return"left"===W.horizontalPosition?J.left("0"):"right"===W.horizontalPosition?J.right("0"):J.centerHorizontally(),"top"===W.verticalPosition?J.top("0"):"bottom"===W.verticalPosition?J.bottom("0"):J.centerVertically(),J}createInjector(W){return u.zZn.create({providers:[{provide:w.Qs,useValue:W.data},{provide:w.a2,useValue:W}],parent:W.parentInjector})}static#e=this.\u0275fac=function(J){return new(J||de)(u.KVO(s.hJ),u.KVO(u.Agw))};static#t=this.\u0275prov=u.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})()},30023:(Be,K,l)=>{"use strict";l.d(K,{t:()=>h});var s=l(54438);const h=new s.nKC("IGNORE_IMAGE_URL_REPLACE_CHECK");new s.nKC("SETUP_BIOMETRICS")},28505:(Be,K,l)=>{"use strict";l.d(K,{T:()=>R});var s=l(60177),h=l(54438),e=l(30617),u=l(21413),m=l(84572),C=l(70152),w=l(88141),M=l(56977),b=l(52034);let R=(()=>{class L{static#e=this.id=0;constructor(B,Y,j,ve){this.elementRef=B,this.renderer=Y,this.document=j,this.toLocalNumberPipe=ve,this.siteSetting$=(0,h.WQX)(e.p),this.currencyDisplay="symbol-narrow",this.refresh$=new u.B,this.destroy$=new u.B;let oe=this.elementRef.nativeElement;for(;oe.nodeType===Node.COMMENT_NODE||oe.nodeType===Node.TEXT_NODE;)oe=this.elementRef.nativeElement.parentElement;this.container=oe,this.id="locale-util-dicrective-"+L.id++,(0,m.z)([this.siteSetting$.select("currentCurrencyType"),this.refresh$]).pipe((0,C.B)(50),(0,w.M)(()=>this.refresh()),(0,M.Q)(this.destroy$)).subscribe()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.destroy$.complete()}ngOnChanges(){this.refresh$.next()}refresh(){const B=this.container.querySelector(`#${this.id}`);B&&B.remove();const Y=this.toLocalNumberPipe.transform(this.value,this.currencyDisplay)||"",j=/\(.*\)/g.test(Y),ve=this.document.createElement("i");ve.innerHTML=`${Y}`,ve.id=this.id,ve.style.display="initial",j&&(ve.style.color="red"),this.container===this.elementRef.nativeElement?this.renderer.appendChild(this.container,ve):this.renderer.insertBefore(this.container,ve,this.elementRef.nativeElement)}static#t=this.\u0275fac=function(Y){return new(Y||L)(h.rXU(h.aKT),h.rXU(h.sFG),h.rXU(s.qQ),h.rXU(b.o4))};static#n=this.\u0275dir=h.FsC({type:L,selectors:[["","localeCurrency",""]],inputs:{value:[h.Mj6.None,"localeCurrency","value"],currencyDisplay:"currencyDisplay"},features:[h.Jv_([b.o4]),h.OA$]})}return L})()},89558:(Be,K,l)=>{"use strict";l.d(K,{K:()=>w});var s=l(60177),u=(l(52034),l(28505),l(54438));let w=(()=>{class M{static#e=this.\u0275fac=function(L){return new(L||M)};static#t=this.\u0275mod=u.$C({type:M});static#n=this.\u0275inj=u.G2t({imports:[s.MD]})}return M})()},52034:(Be,K,l)=>{"use strict";l.d(K,{l6:()=>M,o4:()=>w,zo:()=>C});var s=l(54438),h=l(30617),e=l(69506),u=l(60328),m=l(73927);const C=new s.nKC("CUSTOM_TOLOCALNUMBER_PIPE_OPTION");let w=(()=>{class b{constructor(){this.customToLocalNumberPipeOption=(0,s.WQX)(C,{optional:!0}),this.siteSetting$=(0,s.WQX)(h.p),this.environment=(0,s.WQX)(u.E),this.forceShowArabicNumerals=this.environment.forceShowArabicNumerals,this.useIndonesianThousandSeparatorWhenBengal=this.environment.useIndonesianThousandSeparatorWhenBengal,this.defaultOptions={minimumFractionDigits:2,maximumFractionDigits:2,useGrouping:!0},this.defaultCurrencySign="$"}transform(L,x="symbol-narrow",B=this.defaultOptions.minimumFractionDigits,Y,j=this.defaultOptions.maximumFractionDigits,ve,oe=this.defaultOptions.useGrouping,H){const ae=ve||this.customToLocalNumberPipeOption?.negativeSign;let pe=this.siteSetting$.get("currentLanguageType")?.resourceKey||"en",de=e.B.getInstanceOf(this.siteSetting$.get("accessCountryTypeId")),Pe=e.B.US;de===e.B.BD&&this.useIndonesianThousandSeparatorWhenBengal?("bn"!==pe&&(pe="en"),Pe=e.B.IN):"km"===pe&&(pe="en"),H?.countryType&&(Pe=H.countryType),H?.languageType&&(pe=H.languageType.resourceKey);let W=`${pe}-${Pe?.name.toLowerCase()}`;H?.locale&&(W=H.locale);let J=Number(`${L||""}`.replace(/,/g,""));const te=isNaN(J);if(te&&L)return L.toString();te&&!L&&(J=0),0===J&&(B=0);const q=Object.assign({},{...this.defaultOptions,minimumFractionDigits:B,maximumFractionDigits:j,useGrouping:oe});J=Y?m.z[Y](J,j):m.z.ceil(J,j);let $=J.toString();if(this.forceShowArabicNumerals&&!1!==oe){let me=J.toString().split(".");me[0]=me[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),$=me.join(".")}else $=J.toLocaleString(W,q);J<0&&($="negativeSign"===ae?" "+$:`(${$})`.replace(/\(-/g,"("));let se=this.defaultCurrencySign;const Ee=this.siteSetting$.get("currentCurrencyType");switch(x){case"":se="";break;case"code":se=`${Ee?.name||se}`;break;case"symbol":se=`${Ee?.symbol||se} `;break;case"symbol-narrow":se=`${Ee?.symbol||se}`}return $=`${se}${$}`.trim(),$}static#e=this.\u0275fac=function(x){return new(x||b)};static#t=this.\u0275pipe=s.EJ8({name:"toLocalNumber",type:b,pure:!0})}return b})(),M=(()=>{class b{transform(L){let x=`${L}`,Y="display:initial;";return/\(.*\)/g.test(x)&&(Y+="color:red;"),x=`${x}`,x}static#e=this.\u0275fac=function(x){return new(x||b)};static#t=this.\u0275pipe=s.EJ8({name:"addLocaleNumberNegativeHtml",type:b,pure:!0})}return b})()},18144:(Be,K,l)=>{"use strict";l.d(K,{g:()=>te});var s=l(54438),h=l(89079),e=l(51433),u=l(30617),m=l(45122),C=l(74851),w=l(65788),M=l(51066),b=function(q){return q[q.HKD=1]="HKD",q[q.INR=2]="INR",q[q.EUR=3]="EUR",q[q.U=4]="U",q[q.THB=5]="THB",q[q.AED=6]="AED",q[q.PHP=7]="PHP",q[q.GBP=8]="GBP",q[q.RMB=9]="RMB",q[q.PTS=10]="PTS",q[q.KRW=11]="KRW",q[q.IDR=12]="IDR",q[q.PTU=13]="PTU",q[q.PTE=14]="PTE",q[q.PTG=15]="PTG",q[q.PTH=16]="PTH",q[q.PTI=17]="PTI",q[q.PUI=18]="PUI",q[q.PTR=19]="PTR",q[q.PTA=20]="PTA",q[q.PTM=21]="PTM",q[q.P=22]="P",q[q.PTD=23]="PTD",q[q.IR=24]="IR",q[q.PTAD=25]="PTAD",q[q.PBU=26]="PBU",q[q.VND=27]="VND",q[q.EHK=28]="EHK",q[q.PKR=29]="PKR",q[q.PKU=30]="PKU",q[q.PR=31]="PR",q[q.PIN=32]="PIN",q[q.BDT=33]="BDT",q[q.PSU=34]="PSU",q[q.PNU=35]="PNU",q[q.PAU=36]="PAU",q[q.PZU=37]="PZU",q[q.PHK=38]="PHK",q[q.NPR=39]="NPR",q[q.MYR=42]="MYR",q[q.ZAR=45]="ZAR",q[q.LKR=48]="LKR",q[q.CAD=49]="CAD",q}(b||{});class R extends w.N{static#e=this._values=new Array;static#t=this.HKD=new R(b.HKD,"HKD",M.U.HKD);static#n=this.INR=new R(b.INR,"INR",M.U.INR);static#s=this.EUR=new R(b.EUR,"EUR",void 0);static#i=this.U=new R(b.U,"U",M.U.USD);static#o=this.THB=new R(b.THB,"THB",M.U.THB);static#r=this.AED=new R(b.AED,"AED",void 0);static#a=this.PHP=new R(b.PHP,"PHP",M.U.PHP);static#c=this.GBP=new R(b.GBP,"GBP",void 0);static#l=this.RMB=new R(b.RMB,"RMB",M.U.CNY);static#u=this.PTS=new R(b.PTS,"PTS",void 0);static#d=this.KRW=new R(b.KRW,"KRW",M.U.KRW);static#h=this.IDR=new R(b.IDR,"IDR",M.U.IDR);static#f=this.PTU=new R(b.PTU,"PTU",void 0);static#p=this.PTE=new R(b.PTE,"PTE",void 0);static#g=this.PTG=new R(b.PTG,"PTG",void 0);static#_=this.PTH=new R(b.PTH,"PTH",void 0);static#m=this.PTI=new R(b.PTI,"PTI",void 0);static#v=this.PUI=new R(b.PUI,"PUI",void 0);static#E=this.PTR=new R(b.PTR,"PTR",void 0);static#C=this.PTA=new R(b.PTA,"PTA",void 0);static#D=this.PTM=new R(b.PTM,"PTM",void 0);static#I=this.P=new R(b.P,"P",void 0);static#A=this.PTD=new R(b.PTD,"PTD",M.U.SGD);static#O=this.IR=new R(b.IR,"IR",void 0);static#R=this.PTAD=new R(b.PTAD,"PTAD",void 0);static#S=this.PBU=new R(b.PBU,"PBU",void 0);static#y=this.VND=new R(b.VND,"VND",M.U.VND);static#T=this.EHK=new R(b.EHK,"EHK",void 0);static#b=this.PKR=new R(b.PKR,"PKR",M.U.PKR);static#M=this.PKU=new R(b.PKU,"PKU",void 0);static#N=this.PR=new R(b.PR,"PR",void 0);static#w=this.PIN=new R(b.PIN,"PIN",void 0);static#P=this.BDT=new R(b.BDT,"BDT",M.U.BDT);static#L=this.PSU=new R(b.PSU,"PSU",void 0);static#x=this.PNU=new R(b.PNU,"PNU",void 0);static#F=this.PAU=new R(b.PAU,"PAU",void 0);static#k=this.PZU=new R(b.PZU,"PZU",void 0);static#B=this.PHK=new R(b.PHK,"PHK",void 0);static#U=this.MYR=new R(b.MYR,"MYR",M.U.MYR);static#G=this.NPR=new R(b.NPR,"NPR",M.U.NPR);static#V=this.ZAR=new R(b.ZAR,"ZAR",M.U.ZAR);static#$=this.LKR=new R(b.LKR,"LKR",M.U.LKR);static#W=this.CAD=new R(b.CAD,"CAD",M.U.CAD);constructor($,Q,se){super($),this._value=$,this._name=Q,this._typeId=se,R.values.push(this)}static get values(){return this._values}static getInstanceOf($){return this._values.find(Q=>Q._value===$)}static getInstanceOfByTypeId($){return this._values.find(Q=>Q._typeId?.unique===$)}get name(){return this._name}get typeId(){return this._typeId?.unique}}var L=l(7760),x=l(78843),B=l(21413),Y=l(84412),j=l(25558),ve=l(88141),oe=l(96354),H=l(5964),ae=l(96697),pe=l(56977),de=l(98953),Pe=l(51188),W=l(68990),J=l(94768);let te=(()=>{class q{#e;setGameNavIconList(Q){this.#e.set(Q)}constructor(Q,se,Ee,me,je,Qe,Ot){this.router=Q,this.providerService=se,this.getGameUrlState=Ee,this.authState=me,this.moduleFederationState=je,this.currencySettingState=Qe,this.gameNavIconState=Ot,this.isShowSmartHallBtn$=new B.B,this.isCricketV2Active$=new Y.t(!1),this.isMFLoginSuccess$=new Y.t(!1),this.isMFUrlChanged$=new Y.t(!1),this.isBackHome$=new Y.t(!1),this.isMFLogout$=new Y.t(!1),this.isShowHeaderBtnInHeader$=new Y.t(!1),this.retryLogin=3,this.initOpenGame$=new B.B,this.retrySendCurrencyCount=1,this.getGameUrl$=this.initOpenGame$.pipe((0,j.n)(mt=>this.providerService.getGameUrl(mt).pipe((0,ve.M)(Oe=>{const Re=Oe.data;Re?Re.gameUrl?(localStorage.setItem("queryPass",Re.gameUrl),this.mf_login()):this.getQueryPass():this.moduleFederationState.set({isSystemException:!0})}),(0,oe.T)(Oe=>Oe.data||{})))),this.destroy$=new B.B,this.isListening=!1,this.lastQueryPassVendorCode=null,this.transferVendorId=void 0,this.transferVendorId$=new Y.t(void 0),this.#e=(0,s.vPA)([]),this.gameNavIconList=this.#e.asReadonly(),this.getGameUrlState.connect(this.getGameUrl$),this.initBalanceVendorFromDataSource()}initBalanceVendorFromDataSource(){this.currencySettingState.select("siteSettingModel").pipe((0,oe.T)(se=>se?.isEnableWebsiteCategory)).pipe((0,j.n)(se=>!0===se?this.providerService.select("websiteCategoryData").pipe((0,oe.T)(Ee=>({vendorCode:this.findVendorCodeFromWebsiteCategoryData(Ee),vendorId:this.findVendorIdFromWebsiteCategoryData(Ee)}))):(0,h.br)(this.gameNavIconList).pipe((0,oe.T)(Ee=>this.resolveVendorFromGameNavList(Ee)))),(0,H.p)(se=>"CRICKETV2"===se.vendorCode||"AWCV2_VELKI"===se.vendorCode)).subscribe(({vendorCode:se,vendorId:Ee})=>{this.lastQueryPassVendorCode=se,this.transferVendorId="number"==typeof Ee?Ee:void 0,this.transferVendorId$.next(this.transferVendorId)})}resolveVendorFromGameNavList(Q){const Ee=Q.find(Qe=>"sport"===Qe.category?.toLowerCase()||"sport"===Qe.category)?.vendorList?.find(Qe=>"CRICKETV2"===Qe.vendorCode||"AWCV2_VELKI"===Qe.vendorCode),me=Ee?.vendorCode??null,je=Ee?.vendorId;return{vendorCode:me,vendorId:"number"==typeof je?je:void 0}}listen_sTOc(){this.isListening||(window.addEventListener("sTOc",Q=>{console.warn("recievedCustomEvent,",Q.detail);const se=Q.detail;switch(se.status){case"2001":this.moduleFederationState.set({isSystemException:!1}),this.isMFLogout$.next(!1),this.isMFLoginSuccess$.next(!0);break;case"2002":localStorage.removeItem("queryPass"),this.retryLogin--,this.retryLogin>0?this.getQueryPass():(this.moduleFederationState.set({isSystemException:!0}),console.warn("retried too many times to login"),this.isMFLoginSuccess$.next(!1));break;case"2003":this.router.navigateByUrl(C.C.IP_BLOCK.routingPath);break;case"2004":this.moduleFederationState.set({isSystemMaintenance:!0,umTime:se.data.umTime});break;case"2005":this.moduleFederationState.set({isSystemMaintenanceFinished:!0});break;case"2006":this.moduleFederationState.set({isSystemReady:!0});break;case"2007":this.moduleFederationState.set({isSystemReady:!1}),this.isMFLoginSuccess$.next(!1);break;case"2008":this.moduleFederationState.set({isShowLiveChat:!0});break;case"2009":this.moduleFederationState.set({isShowLiveChat:!1});break;case"2010":this.moduleFederationState.set({balanceData:JSON.parse(se.data)});break;case"2011":this.isMFLogout$.next(!0),this.isMFLoginSuccess$.next(!1);break;case"2012":this.isMFUrlChanged$.next(!0);break;case"2013":JSON.parse(se.data).gameType===m.Z.CASINO._name.toLowerCase()&&this.router.navigateByUrl(C.C.CASINO.routingPath);break;case"2014":case"2016":break;case"2017":if(this.retrySendCurrencyCount--,this.retrySendCurrencyCount<=0)return;this.resendCurrencyFromDefault();break;case"2018":this.moduleFederationState.set({isShowBannerFooter:!0}),this.isShowSmartHallBtn$.next(!1);break;case"2019":this.moduleFederationState.set({isShowBannerFooter:!1}),this.isShowSmartHallBtn$.next(!0);break;case"2020":this.moduleFederationState.set({isMFOpenPopup:!0});break;case"2021":this.moduleFederationState.set({isMFOpenPopup:!1});break;case"2022":this.moduleFederationState.set({systemError:JSON.parse(se.data)})}}),this.isListening=!0)}dispatch_cTOs(Q){console.warn("dispatchCustomEvent",Q);const se=new CustomEvent("cTOs",{detail:Q});window.dispatchEvent(se)}getQueryPass(){let se,Q=null;const Ee=this.currencySettingState.get("siteSettingModel")?.isEnableWebsiteCategory;if(!0===Ee){const Qe=this.providerService.get("websiteCategoryData");Q=this.findVendorCodeFromWebsiteCategoryData(Qe),se=this.findVendorIdFromWebsiteCategoryData(Qe)}if(null==Q&&!1===Ee){const mt=this.#e().find(Re=>"sport"===Re.category?.toLowerCase()||"sport"===Re.category)?.vendorList?.find(Re=>"CRICKETV2"===Re.vendorCode||"AWCV2_VELKI"===Re.vendorCode);Q=mt?.vendorCode??null;const Oe=mt?.vendorId;se="number"==typeof Oe?Oe:void 0}const me=Q??this.lastQueryPassVendorCode??"CRICKETV2";this.lastQueryPassVendorCode=me,this.transferVendorId="number"==typeof se?se:void 0,this.transferVendorId$.next(this.transferVendorId),this.initOpenGame$.next({gameTypeId:m.Z.SPORT.unique,vendorCode:me,gameCode:me})}findVendorCodeFromWebsiteCategoryData(Q){if(!Q||"object"!=typeof Q)return null;const se=me=>{for(const je of me){const Qe=je.content;if(Qe&&("AWCV2_VELKI"===Qe.vendorCode||"CRICKETV2"===Qe.vendorCode))return Qe.vendorCode;if(je.subCategories?.length){const Ot=se(je.subCategories);if(Ot)return Ot}}return null},Ee=[L.mS.MAIN_TAB,L.mS.LEFT_MENU,L.mS.HEADER_FAST,L.mS.CASINO_MENU];for(const me of Ee){const je=Q[me];if(Array.isArray(je)){const Qe=se(je);if(Qe)return Qe}}return null}findVendorIdFromWebsiteCategoryData(Q){if(!Q||"object"!=typeof Q)return;const se=me=>{for(const je of me){const Qe=je.content;if(Qe&&("AWCV2_VELKI"===Qe.vendorCode||"CRICKETV2"===Qe.vendorCode))return"number"==typeof Qe.vendorId?Qe.vendorId:void 0;if(je.subCategories?.length){const Ot=se(je.subCategories);if(null!=Ot)return Ot}}},Ee=[L.mS.MAIN_TAB,L.mS.LEFT_MENU,L.mS.HEADER_FAST,L.mS.CASINO_MENU];for(const me of Ee){const je=Q[me];if(Array.isArray(je)){const Qe=se(je);if(null!=Qe)return Qe}}}getTransferVendorId(){return this.transferVendorId}getBalanceVendorCode(){const Q=this.lastQueryPassVendorCode;return"AWCV2_VELKI"===Q||"CRICKETV2"===Q?Q:void 0}isBackHome(){this.isBackHome$.next(!0)}resendCurrencyFromDefault(){this.isMFLoginSuccess$.pipe((0,ae.s)(1),(0,ve.M)(Q=>{if(!Q)return this.currentCurrencyIdOnInit=this.currencySettingState.get("currentCurrencyType").unique,void this.mf_changeCurrency(this.currentCurrencyIdOnInit)}),(0,pe.Q)(this.destroy$)).subscribe()}mf_login(){const Q=localStorage.getItem("queryPass");if(Q){const se={key:"user",method:"login",status:"1001",message:"Transfer queryPass to MicroService for member",data:JSON.stringify(Q)};this.dispatch_cTOs(se)}else this.getQueryPass()}mf_logout(){this.dispatch_cTOs({key:"user",method:"logout",status:"1002",message:"User is logout"}),localStorage.removeItem("queryPass")}mf_destory(){this.dispatch_cTOs({key:"system",method:"reset",status:"1003",message:"Router will be changed, please reset MicroService"})}mf_notification(Q){this.dispatch_cTOs({key:"system",method:"notification",status:"1004",message:"Transfer notifications to MicroService",data:Q})}mf_getBalance(){this.dispatch_cTOs({key:"user",method:"getBalance",status:"1005",message:"Get user balance"})}mf_changeCurrency(Q){const se=R.getInstanceOfByTypeId(Q)?.unique;if(!se)return;const me={key:"user",method:"changeCurrency",status:"1006",message:"System will change currency",data:'{"currencyTypeId":"'+se.toString()+'"}'};this.dispatch_cTOs(me)}mf_redirectUrl(Q){this.dispatch_cTOs({key:"system",method:"redirect",status:"1007",message:"redirect route",data:'{"to":"'+Q+'"}'})}mf_login_guest(){const Q={key:"user",method:"notLogin",status:"1008",message:"Transfer queryPass to MicroService for guest",data:JSON.stringify("")};this.dispatch_cTOs(Q)}mf_open_leftMenu(){this.dispatch_cTOs({key:"system",method:"leftMenuOpen",status:"1009",message:"Open left menu",data:""})}mf_close_leftMenu(){this.dispatch_cTOs({key:"system",method:"leftMenuClose",status:"1010",message:"Close left menu",data:""})}mf_open_popup(){this.dispatch_cTOs({key:"system",method:"openPopup",status:"1011",message:"Open popup",data:""})}mf_close_popup(){this.dispatch_cTOs({key:"system",method:"closePopup",status:"1012",message:"Close popup",data:""})}mf_show_toolbar(Q){const Ee={key:"system",method:"showToolbar",status:"1014",message:"Show toolbar",data:JSON.stringify({height:Q})};this.dispatch_cTOs(Ee)}mf_custom_display_settings(Q){const se={key:"system",method:"customDisplaySettings",status:"1015",message:"Custom display settings",data:JSON.stringify(Q)};this.dispatch_cTOs(se)}mf_left_menu_existence(Q){const Ee={key:"system",method:"leftMenuExistence",status:"1018",message:"Notify left menu existence",data:JSON.stringify('{"exists":"'+Q+'"}')};this.dispatch_cTOs(Ee)}static#t=this.\u0275fac=function(se){return new(se||q)(s.KVO(Pe.Ix),s.KVO(W.$),s.KVO(J.Y),s.KVO(e.H),s.KVO(de.H),s.KVO(u.p),s.KVO(x.N,8))};static#n=this.\u0275prov=s.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})()},98953:(Be,K,l)=>{"use strict";l.d(K,{H:()=>e});var s=l(94768);const e=new(l(54438).nKC)("MODULE_FEDERATION_STATE",{providedIn:"root",factory:()=>{const u=new s.Y;return u.set({isSystemReady:void 0}),u}})},80247:(Be,K,l)=>{"use strict";l.d(K,{eD:()=>je});var s=l(60177),h=l(54438),e=l(15153),u=l(82409),m=l(98856),C=l(45122),w=l(60086),M=l(79336),b=l(20464),R=l(21413),L=l(22806),x=l(25558),B=l(35060),Y=l(7673),j=l(96354),ve=l(88141),oe=l(56977),H=l(55674),ae=l(51433),pe=l(30617),de=l(51188),Pe=l(62405),W=l(20421),J=l(93166),te=l(20753),q=l(74851),$=l(81042),Q=l(8284),se=l(78382);const Ee=new h.nKC("OPEN_GAMER_DATA_CHECKER");var me=function(Qe){return Qe[Qe.OPEN_GAME=0]="OPEN_GAME",Qe[Qe.STOP=1]="STOP",Qe[Qe.COMPLETE=2]="COMPLETE",Qe}(me||{});let je=(()=>{class Qe{constructor(){this.FORCE_OPEN_WITH_WINDOW_IN_IOS_VENDOR_LIST=["SBOv2"],this.isBrowser=(0,s.UE)((0,h.WQX)(h.Agw)),this.siteSetting=(0,h.WQX)(pe.p),this.authState=(0,h.WQX)(ae.H),this.dialogService=(0,h.WQX)(m.o),this.eventQueueService=(0,h.WQX)($.n),this.systemMessageService=(0,h.WQX)(u._X),this.openGameInfoUi=(0,h.WQX)(e.eQ,{optional:!0}),this.translocoService=(0,h.WQX)(b.JO),this.openGameUiLoader=(0,h.WQX)(e.Hc),this.environment=(0,h.WQX)(te.n),this.router=(0,h.WQX)(de.Ix),this.openGameBonusUiLoader=(0,h.WQX)(e.hR),this.bonusService=(0,h.WQX)(H.$),this.forceOpenWithWindowVendorList=(0,h.WQX)(e.BX,{optional:!0}),this.openGameDataChecker=(0,h.WQX)(Ee,{optional:!0}),this.canUseTrialPlaySetting=(0,h.WQX)(e.cW,{optional:!0}),this.destroy$=new R.B,this.tempOpenGameData=null,this.tempIsRedirectToGame=!1,this.isLogin$=this.authState.select("isLogin"),this.loginRegisterButtonLoader=(0,h.WQX)(e.Fh,{optional:!0}),this.isForceUseSportGametypeId=(0,h.WQX)(se.M6,{optional:!0})}checkCannotPlayMessageDialogUiLoader(){return this.loginRegisterButtonLoader?[this.loginRegisterButtonLoader]:void 0}openCannotPlayMessageDialog(){return this.openGameInfoUi?(0,L.H)(this.openGameInfoUi()).pipe((0,x.n)(mt=>this.dialogService.openDialog(mt,{backdropClass:"dialog-backdrop--show"}))).subscribe():this.systemMessageService.show(this.translocoService.translate("ui.open_game.text.please_regist_alert_message"),this.translocoService.translate("ui.global.word.notification"),void 0,this.checkCannotPlayMessageDialogUiLoader()),B.t}shouldForceOpenWithWindow(mt){if("PG"===mt?.vendorCode)return!1;const Oe=mt.isDesktop&&this.forceOpenWithWindowVendorList?.map(Ve=>Ve.toLowerCase()).includes(mt.vendorCode.toLowerCase()),Re=W.V.isIOS()&&this.FORCE_OPEN_WITH_WINDOW_IN_IOS_VENDOR_LIST.some(Ve=>Ve.toLowerCase()===mt?.vendorCode?.toLowerCase());return Oe||Re}checkCanOpenGameByIframe(mt){if("PG"===mt?.vendorCode)return!0;const Oe=this.siteSetting.get("siteSettingModel").isEnableEmbedGame,Re=C.Z.getInstanceOf(mt.gameTypeId);if(!Oe||!Re)return!1;const Ve=mt.vendorCode,ye=mt.gameCode,ht=this.siteSetting.get("siteSettingModel").gameOpenWindowSetting;let Ce=!0;for(const We of ht)if(!("-1"!==We.gameType&&Re.name.toLocaleLowerCase()!==We.gameType.toLocaleLowerCase()||"-1"!==We.vendorCode&&Ve!==We.vendorCode||"-1"!==We.gameCode&&ye!==We.gameCode)){Ce=!1;break}return Ce}handleGlobalExtraDataRule(mt){return mt?.gameTypeId===C.Z.LOTTERY.unique&&"Saba"===mt.vendorCode&&(mt.extraData=mt.gameCode),mt}checkIsDesktopByBrowserDector(mt){return this.environment.isRWD&&void 0===mt.isDesktop&&(mt.isDesktop=!J.U.isMobileBrowser()),mt}openGame(mt,Oe){let Re=this.handleGlobalExtraDataRule(mt);Re=this.openGameDataChecker?.checkOpenGameData(Re)||Re,Re=this.checkIsDesktopByBrowserDector(Re);const Ve=this.checkCanOpenGameByIframe(Re),ye=this.shouldForceOpenWithWindow(Re);if(Re.canOpenGameByIframe=Ve,Re.forceOpenGameWithWindow=ye,Re.isLogin){const ht={website:this.environment.market,userid:this.authState.get("accountInfo").userId,game_vendor:Re.vendorCode,game_code:Re.gameCode};this.eventQueueService.dispatch(new Q.j(ht))}if(Ve&&!ye)return(0,L.H)(this.openGameUiLoader()).pipe((0,x.n)(ht=>this.dialogService.openDialog(ht,{data:Re})));{const ht=Re.gameTypeId||null,Ce=Re.vendorCode||null,We=Re.gameCode||null,ft=`${q.C.OPEN_GAME_PAGE.link}/${ht}/${Ce}/${We}`,vt=new Pe.o(`${ht}-${Ce}-${We}`);return vt.postMessage(Re),Oe?this.isBrowser&&(location.href=ft):vt.open(ft),(0,Y.of)(vt)}}checkBonusList(mt,Oe){if(!Oe&&mt.hasTrialPlay)return(0,Y.of)(me.OPEN_GAME);const Re=this.siteSetting.get("siteSettingModel").isBonusWallet,Ve=this.authState.get("accountInfo").alreadyTurnOnPromotionWallet;return!Re||Ve?(0,Y.of)(me.OPEN_GAME):this.bonusService.getMatchProviderPromotionWallet(mt.vendorCode,mt.gameTypeId,mt.gameCode||"",mt.extraData||"").pipe((0,x.n)(ut=>{const ft=ut.matchPromotionWalletList,vt=ft.filter(Wn=>Wn.bonusTurnoverStatus===w.k.INACTIVE.unique),Kt=vt.length;if(Kt>1)return this.showBonusDialog(vt,mt);if(1===Kt){const Wn=ft.find(pi=>pi.bonusTurnoverStatus===w.k.INACTIVE.unique)?.bonusTurnoverId;return this.claimBonusWallet(Wn)}return(0,Y.of)(me.OPEN_GAME)}))}showBonusDialog(mt,Oe){return(0,L.H)(this.openGameBonusUiLoader()).pipe((0,x.n)(Re=>this.dialogService.openDialog(Re,{data:{inactiveBonusData:mt,openGameData:Oe}})),(0,x.n)(Re=>Re?this.claimBonusWallet(Re):(0,Y.of)(me.COMPLETE)))}claimBonusWallet(mt){return this.bonusService.claimBonusWallet(mt).pipe((0,j.T)(Oe=>{if(Oe.status!==M.m.SUCCESS.statusCode)return me.COMPLETE;const Re=this.authState.get("accountInfo");return Re.alreadyTurnOnPromotionWallet=!0,this.authState.set("accountInfo",()=>({...Re})),me.OPEN_GAME}))}openWithOpenGameUrl(mt){const Re=mt.replace(/\/open-game-link\//g,"").split("/"),Ve=Number(Re[0]);return this.open({gameTypeId:Ve,vendorCode:Re[1],gameCode:Re[2]})}open(mt,Oe=!1){if(!this.isBrowser)return B.t;this.isLogin$.pipe((0,ve.M)(ye=>{mt.isLogin=ye}),(0,oe.Q)(this.destroy$)).subscribe();const Re=this.authState.get("isLogin");if(this.canUseTrialPlaySetting&&(this.hasTrialPlay=mt.hasTrialPlay),!Re&&!this.hasTrialPlay){if(this.environment.directlyLoginWhenGameOpened){this.siteSetting.get("siteSettingModel"),this.storeTempGameData(mt,Oe);const ht=q.C.LOGINNEW_QUICK_ACCOUNT.link,Ce=this.router.url.replace(/(popup:.*?)(?:\?|$)/,"");return this.router.navigate([ht],{queryParams:{returnUrl:Ce}}),(0,Y.of)(null)}return this.openCannotPlayMessageDialog()}if(this.isForceUseSportGametypeId){const ye=this.isForceUseSportGametypeId(mt.gameTypeId,mt.vendorCode);mt.gameTypeId=ye}return this.checkBonusList(mt,Re).pipe((0,x.n)(ye=>{switch(ye){case me.STOP:return B.t;case me.OPEN_GAME:return this.openGame(mt,Oe)}return(0,Y.of)(!0)}),(0,oe.Q)(this.destroy$))}openWithoutCheckBonusWallet(mt,Oe=!1){if(!this.isBrowser)return B.t;this.isLogin$.pipe((0,ve.M)(ye=>{mt.isLogin=ye}),(0,oe.Q)(this.destroy$)).subscribe();const Re=this.authState.get("isLogin");if(this.canUseTrialPlaySetting&&(this.hasTrialPlay=mt.hasTrialPlay),!Re&&!this.hasTrialPlay){if(this.environment.directlyLoginWhenGameOpened){const ye=this.siteSetting.get("siteSettingModel").isEnableMultipleRegisterAndLoginFeatures;return this.router.navigateByUrl(ye?q.C.LOGINNEW_QUICK_ACCOUNT.link:q.C.LOGIN.link),(0,Y.of)(null)}return this.openCannotPlayMessageDialog()}return console.log("openGameData",mt),this.openGame(mt,Oe)}openTempGame(){if(this.tempOpenGameData){const mt=this.tempOpenGameData,Oe=this.tempIsRedirectToGame;return this.clearTempGameData(),this.open(mt,Oe)}return(0,Y.of)(null)}hasTempGameData(){return null!==this.tempOpenGameData}clearTempGameData(){this.tempOpenGameData=null,this.tempIsRedirectToGame=!1}storeTempGameData(mt,Oe){this.tempOpenGameData={...mt},this.tempIsRedirectToGame=Oe}static#e=this.\u0275fac=function(Oe){return new(Oe||Qe)};static#t=this.\u0275prov=h.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})()},15153:(Be,K,l)=>{"use strict";l.d(K,{AJ:()=>m,BX:()=>h,Fh:()=>w,Hc:()=>e,Kw:()=>R,YY:()=>C,cW:()=>b,eQ:()=>M,hR:()=>u});var s=l(54438);const h=new s.nKC(""),e=new s.nKC("OPEN_GAME_UI_LOADER"),u=new s.nKC("OPEN_GAME_BONUS_UI_LOADER"),m=new s.nKC("TIPS_DISPLAY_LOADER"),C=new s.nKC("IOS_GAME_TIPS_LOADER"),w=new s.nKC("OPEN_GAME_LOGIN_REGISTER_BUTTON_LOADER"),M=new s.nKC("OPEN_GAME_INFO_UI"),b=new s.nKC("CAN_USE_TRIAL_PLAY_SETTING"),R=new s.nKC("CUSTOM_OPEN_GAME_LOGO")},29119:(Be,K,l)=>{"use strict";l.d(K,{R2:()=>e,RE:()=>h,tO:()=>s});var s=function(u){return u.LEFT_NAV="left-nav",u.LEFT_PROVIDER="left-provider",u.LEFT_PROVIDER_SPORTS="left-provider-sports",u.NAV="nav",u.PROVIDER="provider",u.PROVIDER_SPORTS="provider-sports",u}(s||{}),h=function(u){return u.STANDARD="standard",u.LITE="lite",u}(h||{});function e(u,m={}){const C=JSON.parse(JSON.stringify(u));for(const[w,M]of Object.entries(m)){C[w]=C[w]||{};for(const[b,R]of Object.entries(M)){C[w][b]=C[w][b]||{};for(const[L,x]of Object.entries(R)){C[w][b][L]=C[w][b][L]||{};for(const[B,Y]of Object.entries(x))C[w][b][L][B]=Y}}}return C}},66938:(Be,K,l)=>{"use strict";l.d(K,{F:()=>u});var s=l(54438),h=l(20464),e=l(7774);let u=(()=>{class m extends h.bA{constructor(){super(...arguments),this.i18nKeyCustomizer=(0,s.WQX)(e.f,{optional:!0})}getTranslateFn(w,M){const b=super.getTranslateFn(w,M);return(L,x)=>(L=this.i18nKeyCustomizer?this.i18nKeyCustomizer.getCustomI18nKey(L):L,b(L,x))}static#e=this.\u0275fac=(()=>{let w;return function(b){return(w||(w=s.xGo(m)))(b||m)}})();static#t=this.\u0275dir=s.FsC({type:m,selectors:[["","mcdTransloco",""]],features:[s.Vt3]})}return m})()},7774:(Be,K,l)=>{"use strict";l.d(K,{f:()=>h});const h=new(l(54438).nKC)("I18N_KEY_CUSTOMIZER")},43920:(Be,K,l)=>{"use strict";l.d(K,{C:()=>M});var s=l(60177),h=l(54438),e=l(84412),u=l(22806),m=l(25558),C=l(99437),w=l(88141);let M=(()=>{class b{constructor(){this.isBrowser=(0,s.UE)((0,h.WQX)(h.Agw)),this._isDeletingCache$=new e.t(!1),this.isDeletingCache$=this._isDeletingCache$.asObservable()}handleError(L){return console.error("deletePwaApiCacheByUrl(), error = ",L),Promise.resolve(!0)}deletePwaApiCacheByUrl(L){this.isBrowser&&(this._isDeletingCache$.next(!0),(0,u.H)(caches.keys()).pipe((0,m.n)(x=>Promise.all(x.map(B=>B.includes("ngsw:")&&B.includes("data:api")?caches.open(B).then(Y=>Y.keys().then(j=>Promise.all(j.map(ve=>ve.url.includes(L)?Y.delete(ve).catch(this.handleError):Promise.resolve(!0)))).catch(this.handleError)).catch(this.handleError):Promise.resolve(!0)))),(0,C.W)(this.handleError),(0,w.M)(()=>{this._isDeletingCache$.next(!1)})).subscribe())}static#e=this.\u0275fac=function(x){return new(x||b)};static#t=this.\u0275prov=h.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},57610:(Be,K,l)=>{"use strict";l.d(K,{O:()=>h,b:()=>s});class s{constructor(u,m){this.name=u,this._name=u,this._parent=m}get value(){const u=this._parent,m=this._name;return u?`${m}|${u.value}`:m}}function h(e){return new e}},48544:(Be,K,l)=>{"use strict";l.d(K,{Z:()=>L});var s=l(57610);class h extends s.b{constructor(B){super("PROMOTION_BANNER",B)}}class e extends s.b{constructor(B){super("GAME_NAVBAR",B)}}class u extends s.b{constructor(B){super("SPORT_SLIDER",B)}}class m extends s.b{constructor(B){super("TOP_BANNER",B)}}class C extends s.b{constructor(B){super("FOOTER_LINK",B)}}class w extends s.b{constructor(B){super("FOOTER_BAR",B)}}class M extends s.b{constructor(B){super("GAME_PROVIDER",B)}}class b extends s.b{constructor(B){super("MINI_GAMES",B)}}class R extends s.b{constructor(B){super("QUICK_GAME",B)}}class L extends s.b{constructor(B){super("HOME_PAGE",B),this.PromotionBanner=new h(this),this.GameNavBar=new e(this),this.SportSlider=new u(this),this.TopBanner=new m(this),this.FooterLink=new C(this),this.FooterBar=new w(this),this.GameProvider=new M(this),this.MiniGame=new b(this),this.QuickGame=new R(this)}}},48610:(Be,K,l)=>{"use strict";l.d(K,{d:()=>C});var s=l(12564),h=l(81042),e=l(54438),u=l(20753);let m=(()=>{class w{constructor(){this.customEnvironment=(0,e.WQX)(u.n),this.eventQueueService=(0,e.WQX)(h.n)}sendEvent(b){if(this.customEnvironment.customNeuAEvent){if(this.action)return void this.eventQueueService.dispatch(new s.W(b,{category:this.category||"",action:this.action}));this.eventQueueService.dispatch(new s.W(b,{category:this.category||"",action:{type:b,title:this.title||""}}))}}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=e.FsC({type:w,inputs:{title:"title",category:"category",action:"action"}})}return w})(),C=(()=>{class w extends m{onClick(){super.sendEvent(s.t.CLICK)}static#e=this.\u0275fac=(()=>{let b;return function(L){return(b||(b=e.xGo(w)))(L||w)}})();static#t=this.\u0275dir=e.FsC({type:w,selectors:[["","mcdNeuAClick",""]],hostBindings:function(R,L){1&R&&e.bIt("click",function(){return L.onClick()})},features:[e.Vt3]})}return w})()},85571:(Be,K,l)=>{"use strict";l.d(K,{E:()=>e});var s=l(60177),h=l(54438);let e=(()=>{class u{static#e=this.\u0275fac=function(w){return new(w||u)};static#t=this.\u0275mod=h.$C({type:u});static#n=this.\u0275inj=h.G2t({imports:[s.MD]})}return u})()},12564:(Be,K,l)=>{"use strict";l.d(K,{W:()=>e,t:()=>h});var s=l(68300),h=function(u){return u.CLICK="click",u.EXPOSURE="exposure",u}(h||{});class e extends s.w{constructor(m,C){super(m,C)}}},17111:(Be,K,l)=>{"use strict";l.d(K,{j:()=>u});var s=l(54438),h=l(81042),e=l(12564);let u=(()=>{class m{constructor(){this.eventQueueService=(0,s.WQX)(h.n),this.exposeEventObserver=this.initExposeEventObserver()}initExposeEventObserver(){return new IntersectionObserver((b,R)=>{b.forEach(L=>{if(L.isIntersecting){const x=JSON.parse(L.target.dataset.neua);setTimeout(()=>{this.eventQueueService.dispatch(new e.W(e.t.EXPOSURE,{action:x})),R.unobserve(L.target)},3e3)}})},{root:null,rootMargin:"0px",threshold:0})}static#e=this.\u0275fac=function(M){return new(M||m)};static#t=this.\u0275prov=s.jDH({token:m,factory:m.\u0275fac})}return m})()},71769:(Be,K,l)=>{"use strict";l.d(K,{L:()=>w});var s=l(60177),h=l(51188),m=(l(46644),l(94846),l(54438));let w=(()=>{class M{static#e=this.\u0275fac=function(L){return new(L||M)};static#t=this.\u0275mod=m.$C({type:M});static#n=this.\u0275inj=m.G2t({imports:[s.MD,h.iI]})}return M})()},46644:(Be,K,l)=>{"use strict";l.d(K,{g:()=>R});var s=l(60177),h=l(54438),e=l(89079),u=l(51188),m=l(21413),C=l(57786),w=l(5964),M=l(91986),b=l(88141);let R=(()=>{class L{constructor(){this.viewContainerRef=(0,h.WQX)(h.c1b),this.routerLink=(0,h.WQX)(u.Wk),this.destroyRef=(0,h.WQX)(h.abz),this.router=(0,h.WQX)(u.Ix),this.checkActive$=new m.B,this.isBrowser=(0,s.UE)((0,h.WQX)(h.Agw)),this.location=(0,h.WQX)(s.aZ),this.routerLinkActive=""}ngOnInit(){this.isBrowser&&((0,C.h)(this.checkActive$,this.router.events.pipe((0,w.p)(B=>B instanceof u.wF))).pipe((0,M.c)(0),(0,b.M)(()=>{const B=this.location.path(!0),j=(this.routerLink.commands||[])[0]||"";if(!j)return;const ve=this.viewContainerRef.element.nativeElement,oe=("string"==typeof this.routerLinkActive?[this.routerLinkActive]:this.routerLinkActive).filter(H=>!!H);B.includes(j)?oe.forEach(H=>{ve?.classList.add(H)}):oe.forEach(H=>{ve?.classList.remove(H)})}),(0,e.pQ)(this.destroyRef),(0,M.c)(1230)).subscribe(),this.checkActive$.next(void 0))}static#e=this.\u0275fac=function(Y){return new(Y||L)};static#t=this.\u0275dir=h.FsC({type:L,selectors:[["","routerLinkActive","","routerLink",""]],inputs:{routerLinkActive:"routerLinkActive"}})}return L})()},94846:(Be,K,l)=>{"use strict";l.d(K,{T:()=>b});var s=l(60177),h=l(54438),e=l(89079),u=l(51188),m=l(21413),C=l(57786),w=l(5964),M=l(88141);let b=(()=>{class R{constructor(){this.element=(0,h.WQX)(h.aKT),this.destroyRef=(0,h.WQX)(h.abz),this.router=(0,h.WQX)(u.Ix),this.init$=new m.B,this.isBrowser=(0,s.UE)((0,h.WQX)(h.Agw)),this.addClassName="",this.mcdTabUrl=""}ngOnInit(){this.isBrowser&&((0,C.h)(this.init$,this.router.events.pipe((0,w.p)(x=>x instanceof u.wF))).pipe((0,M.M)(()=>{const x=this.element.nativeElement,B=("string"==typeof this.addClassName?[this.addClassName]:this.addClassName).filter(ve=>!!ve);let Y=this.router.url;const j=this.router.url.match(/^(\/[^/]+\/[^/]+)\/.*\(popup:([^)]+)\)/);if(j)Y=j[1]+"/"+j[2];else{const oe=this.router.url.replace(/(.*)(\(popup:)(.*)(\))/i,"$1/$3");oe!==this.router.url&&(Y=oe)}Y===this.mcdTabUrl?x.classList.add(...B):x.classList.remove(...B)}),(0,e.pQ)(this.destroyRef)).subscribe(),this.init$.next(void 0))}static#e=this.\u0275fac=function(B){return new(B||R)};static#t=this.\u0275dir=h.FsC({type:R,selectors:[["","mcdTabLinkActive",""]],inputs:{addClassName:[h.Mj6.None,"mcdTabLinkActive","addClassName"],mcdTabUrl:"mcdTabUrl"}})}return R})()},60328:(Be,K,l)=>{"use strict";l.d(K,{D:()=>u,E:()=>e});var s=l(54438),h=l(94768);const e=new s.nKC("UI_CONFIG"),u=new s.nKC("UI_STATE",{providedIn:"root",factory:()=>new h.Y})},67688:(Be,K,l)=>{"use strict";l.d(K,{q:()=>h});const h=new(l(54438).nKC)("COMING_SOON_COMPONENT")},82211:(Be,K,l)=>{"use strict";l.d(K,{Z:()=>h});const h=new(l(54438).nKC)("EVENT_HAS_ENDED_COMPONENT")},50037:(Be,K,l)=>{"use strict";l.d(K,{W:()=>b});var s=l(54438),h=l(51188),e=l(65215),u=l(56738),m=l(51433),C=l(74851),w=l(80247),M=l(23873);let b=(()=>{class R{constructor(){this.#e=(0,s.WQX)(e.j),this.#t=(0,s.WQX)(w.eD),this.#n=(0,s.WQX)(m.H),this.#s=(0,s.WQX)(h.Ix),this.#i=(0,s.vPA)(void 0),this.#o=(0,s.vPA)(!1),this.#r=(0,s.vPA)(u.X5.DAILY),this.noData=(0,s.EWP)(()=>null===this.#i()?.detail),this.bannerUrl=(0,s.EWP)(()=>this.#i()?.detail?.bannerPath??""),this.dropdownList=(0,s.EWP)(()=>this.#i()?.winnerBoardList??[]),this.dateRange=(0,s.EWP)(()=>({startDate:this.#i()?.detail?.startDate??"",endDate:this.#i()?.detail?.endDate??""})),this.winnerBoardId=(0,s.EWP)(()=>this.#i()?.detail?.winnerBoardId??NaN),this.#a=(0,s.EWP)(()=>this.#i()?.detail?.rankDetail.reduce((x,B)=>(x[B.resetFrequency]={...B,rankList:B.rankList.slice(0,3).reverse()},x),{})),this.navTabItems=(0,s.EWP)(()=>Object.keys(this.#a()??{}).map(x=>({name:M.Mp[Number(x)],value:Number(x)}))),this.rankList=(0,s.EWP)(()=>this.#a()?.[this.#r()]?.rankList??[]),this.userDetail=(0,s.EWP)(()=>this.#a()?.[this.#r()]?.userDetail??null),this.settledDate=(0,s.EWP)(()=>{const x=this.#a()?.[this.#r()]?.settledDate??null;return new Date(x??"").getTime()}),this.isLoading=this.#o.asReadonly(),this.currentFrequency=this.#r.asReadonly()}#e;#t;#n;#s;#i;#o;#r;#a;getFirstToReach(x){if(!x&&this.#i())return;this.#o.set(!0);const B=this.#n.get("accountInfo")?.userId;this.#e.getWinnerBoard({boardType:u.Gd.FIRST_TO_REACH,...B?{userId:B}:{},...x?{winnerBoardId:x}:{}}).subscribe({next:Y=>{this.#i.set(Y);const j=Y?.detail?.rankDetail[0];this.#r.set(j?j.resetFrequency:u.X5.DAILY)},error:Y=>{console.error(Y)},complete:()=>{this.#o.set(!1)}})}changeFrequency(x){this.#r.set(x)}enterGame(x){if(x.gameId){if("CRICKETV2"===x.vendorCode||"AWCV2_VELKI"===x.vendorCode)return void this.#s.navigateByUrl(C.C.CRICKET.link);this.#t.open({gameTypeId:x.gameType,vendorCode:x.vendorCode,gameCode:x.gameCode}).subscribe()}}reset(){this.#i.set(void 0),this.#o.set(!1),this.#r.set(u.X5.DAILY)}static#c=this.\u0275fac=function(B){return new(B||R)};static#l=this.\u0275prov=s.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})()},23873:(Be,K,l)=>{"use strict";l.d(K,{Mp:()=>We,Hj:()=>Ve,ZZ:()=>ut,ei:()=>Ce});var s=l(67688),h=l(82211),e=l(54438),u=l(18287),m=l(20464),C=l(41842),w=l(65210);let M=(()=>{class ft{constructor(){this.startTime=e.hFB.required(),this.endTime=e.hFB.required()}static#e=this.\u0275fac=function(wt){return new(wt||ft)};static#t=this.\u0275cmp=e.VBU({type:ft,selectors:[["mcd-event-has-ended"]],inputs:{startTime:[e.Mj6.SignalBased,"startTime"],endTime:[e.Mj6.SignalBased,"endTime"]},standalone:!0,features:[e.aNF],decls:7,vars:6,consts:[[1,"event-has-ended"],["alt","event-has-ended",1,"event-has-ended__image",3,"mcdSrc"],[1,"event-has-ended__title"],[1,"event-has-ended__text"]],template:function(wt,tn){1&wt&&(e.j41(0,"div",0),e.nrm(1,"img",1),e.j41(2,"div",2),e.EFF(3),e.nI1(4,"transloco"),e.k0s(),e.j41(5,"div",3),e.EFF(6),e.k0s()()),2&wt&&(e.R7$(),e.Y8G("mcdSrc","assets/images/winner-board/no-data-end-time.webp"),e.R7$(2),e.SpI(" ",e.bMT(4,4,"ui.winner_board.text.end_hint")," "),e.R7$(3),e.Lme(" ",tn.startTime()," - ",tn.endTime()," "))},dependencies:[u.m,C.f,w.h,m.Q8,m.Kj],styles:["[_nghost-%COMP%]{--winner-board-event-has-ended-title: var(--on-surface-secondary);--winner-board-event-has-ended-text: var(--primary);--winner-board-event-has-ended-bg: var(--surface-container)}.event-has-ended[_ngcontent-%COMP%]{width:100%;height:100%;background:var(--winner-board-event-has-ended-bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(3.2 * 1rem * var(--is-desktop) + 3.2 * 1vw * (1 - var(--is-desktop)))}.event-has-ended__image[_ngcontent-%COMP%]{width:calc(26.6666666667 * 1rem * var(--is-desktop) + 26.6666666667 * 1vw * (1 - var(--is-desktop)));height:calc(26.6666666667 * 1rem * var(--is-desktop) + 26.6666666667 * 1vw * (1 - var(--is-desktop)))}.event-has-ended__title[_ngcontent-%COMP%]{font-size:calc(3.7333333333 * 1rem * var(--is-desktop) + 3.7333333333 * 1vw * (1 - var(--is-desktop)));font-weight:700;line-height:120%;color:var(--winner-board-event-has-ended-title)}.event-has-ended__text[_ngcontent-%COMP%]{font-size:calc(3.2 * 1rem * var(--is-desktop) + 3.2 * 1vw * (1 - var(--is-desktop)));line-height:120%;color:var(--winner-board-event-has-ended-text)}"],changeDetection:0})}return ft})();var b=l(89079),R=l(71996),L=l(92455),x=l(509),B=l(26986),Y=l(78780);function j(ft,vt){1&ft&&(e.j41(0,"video",1),e.nrm(1,"source",4)(2,"source",5),e.k0s()),2&ft&&(e.Y8G("mcdSrc","assets/images/winner-board/no-data-end-time.png")("muted",!0),e.R7$(),e.BMQ("mcdSrc","assets/images/winner-board/no-data-end-time.mov"),e.R7$(),e.BMQ("mcdSrc","assets/images/winner-board/no-data-end-time.webm"))}function ve(ft,vt){1&ft&&e.nrm(0,"img",6),2&ft&&e.Y8G("mcdSrc","assets/images/winner-board/no-data-end-time.webp")}let oe=(()=>{class ft{constructor(){this.startTime=e.hFB.required(),this.endTime=e.hFB.required(),this.canAutoPlayVideo=(0,b.ot)((0,e.WQX)(R.i).on("canAutoPlayVideo").pipe((0,b.pQ)()),{initialValue:!1})}static#e=this.\u0275fac=function(wt){return new(wt||ft)};static#t=this.\u0275cmp=e.VBU({type:ft,selectors:[["mcd-event-has-ended"]],inputs:{startTime:[e.Mj6.SignalBased,"startTime"],endTime:[e.Mj6.SignalBased,"endTime"]},standalone:!0,features:[e.aNF],decls:8,vars:6,consts:[[1,"event-has-ended"],["mcdVideo","","controls","","autoplay","","preload","","playsinline","","loop","",1,"event-has-ended__video",3,"mcdSrc","muted"],[1,"event-has-ended__title"],[1,"event-has-ended__text"],["type","video/quicktime"],["type","video/webm"],["alt","event-has-ended",1,"event-has-ended__image",3,"mcdSrc"]],template:function(wt,tn){1&wt&&(e.j41(0,"div",0),e.DNE(1,j,3,4,"video",1)(2,ve,1,1),e.j41(3,"div",2),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"div",3),e.EFF(7),e.k0s()()),2&wt&&(e.R7$(),e.vxM(1,tn.canAutoPlayVideo()?1:2),e.R7$(3),e.SpI(" ",e.bMT(5,4,"ui.winner_board.text.end_hint")," "),e.R7$(3),e.Lme(" ",tn.startTime()," - ",tn.endTime()," "))},dependencies:[u.m,C.f,w.h,L.i,B.n,x.Z,Y.K,m.Q8,m.Kj],styles:["[_nghost-%COMP%]{--winner-board-event-has-ended-title: var(--on-surface-secondary);--winner-board-event-has-ended-text: var(--primary);--winner-board-event-has-ended-bg: var(--surface-container)}.event-has-ended[_ngcontent-%COMP%]{width:100%;height:100%;background:var(--winner-board-event-has-ended-bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(3.2 * 1rem * var(--is-desktop) + 3.2 * 1vw * (1 - var(--is-desktop)))}.event-has-ended__video[_ngcontent-%COMP%], .event-has-ended__image[_ngcontent-%COMP%]{width:calc(26.6666666667 * 1rem * var(--is-desktop) + 26.6666666667 * 1vw * (1 - var(--is-desktop)));height:calc(26.6666666667 * 1rem * var(--is-desktop) + 26.6666666667 * 1vw * (1 - var(--is-desktop)))}.event-has-ended__title[_ngcontent-%COMP%]{font-size:calc(3.7333333333 * 1rem * var(--is-desktop) + 3.7333333333 * 1vw * (1 - var(--is-desktop)));font-weight:700;line-height:120%;color:var(--winner-board-event-has-ended-title)}.event-has-ended__text[_ngcontent-%COMP%]{font-size:calc(3.2 * 1rem * var(--is-desktop) + 3.2 * 1vw * (1 - var(--is-desktop)));line-height:120%;color:var(--winner-board-event-has-ended-text)}"],changeDetection:0})}return ft})();var H=l(78325),ae=l(96796),pe=l(40605),de=l(96354),Pe=l(25558),W=l(99172),J=l(77048);let te=(()=>{class ft{constructor(){this.startTime=e.hFB.required(),this.noDataImageLink=(0,e.WQX)(H.Fu).imageLink$.pipe((0,de.T)(Kt=>Kt.get("NO_DATA_PREPARATION"))),this.days=(0,e.EWP)(()=>this.#e().days),this.hours=(0,e.EWP)(()=>this.#e().hours.toString().padStart(2,"0")),this.minutes=(0,e.EWP)(()=>this.#e().minutes.toString().padStart(2,"0")),this.seconds=(0,e.EWP)(()=>this.#e().seconds.toString().padStart(2,"0")),this.#e=(0,b.ot)((0,b.br)(this.startTime).pipe((0,Pe.n)(Kt=>(0,pe.Y)(1e3).pipe((0,W.Z)((0,ae.V)(Kt)),(0,de.T)(()=>(0,ae.V)(Kt)),(0,J.v)(wt=>wt.days+wt.hours+wt.minutes+wt.seconds>0,!0))),(0,b.pQ)()),{initialValue:{days:0,hours:0,minutes:0,seconds:0}})}#e;static#t=this.\u0275fac=function(wt){return new(wt||ft)};static#n=this.\u0275cmp=e.VBU({type:ft,selectors:[["mcd-coming-soon"]],inputs:{startTime:[e.Mj6.SignalBased,"startTime"]},standalone:!0,features:[e.aNF],decls:29,vars:8,consts:[[1,"coming-soon"],["alt","coming-soon",1,"coming-soon__image",3,"mcdSrc"],[1,"coming-soon__title"],[1,"coming-soon__text-block"],[1,"coming-soon__text-block-item"],[1,"coming-soon__text-block-item-value"],[1,"coming-soon__text-block-item-label"]],template:function(wt,tn){1&wt&&(e.j41(0,"div",0),e.nrm(1,"img",1),e.j41(2,"div",2),e.EFF(3),e.nI1(4,"transloco"),e.k0s(),e.j41(5,"div",3)(6,"div",4)(7,"div",5),e.EFF(8),e.k0s(),e.j41(9,"div",6),e.EFF(10," day "),e.k0s()(),e.EFF(11," : "),e.j41(12,"div",4)(13,"div",5),e.EFF(14),e.k0s(),e.j41(15,"div",6),e.EFF(16," hr "),e.k0s()(),e.EFF(17," : "),e.j41(18,"div",4)(19,"div",5),e.EFF(20),e.k0s(),e.j41(21,"div",6),e.EFF(22," min "),e.k0s()(),e.EFF(23," : "),e.j41(24,"div",4)(25,"div",5),e.EFF(26),e.k0s(),e.j41(27,"div",6),e.EFF(28," sec "),e.k0s()()()()),2&wt&&(e.R7$(),e.Y8G("mcdSrc","assets/images/no-data-preparation.png"),e.R7$(2),e.SpI(" ",e.bMT(4,6,"ui.winner_board.text.coming_soon")," "),e.R7$(5),e.SpI(" ",tn.days()," "),e.R7$(6),e.SpI(" ",tn.hours()," "),e.R7$(6),e.SpI(" ",tn.minutes()," "),e.R7$(6),e.SpI(" ",tn.seconds()," "))},dependencies:[u.m,C.f,w.h,m.Q8,m.Kj],styles:["[_nghost-%COMP%]{--coming-soon-title: var(--on-surface-secondary);--coming-soon-text-block-item-bg: rgba(0, 0, 0, .3);--coming-soon-text-block-value: var(--primary);--coming-soon-text-block-label: var(--on-surface-secondary);--coming-soon-bg: var(--surface-container)}.coming-soon[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(3.2 * 1rem * var(--is-desktop) + 3.2 * 1vw * (1 - var(--is-desktop)));background:var(--coming-soon-bg)}.coming-soon[_ngcontent-%COMP%] .coming-soon__image[_ngcontent-%COMP%]{width:calc(26.6666666667 * 1rem * var(--is-desktop) + 26.6666666667 * 1vw * (1 - var(--is-desktop)));height:calc(26.6666666667 * 1rem * var(--is-desktop) + 26.6666666667 * 1vw * (1 - var(--is-desktop)));object-fit:contain}.coming-soon[_ngcontent-%COMP%] .coming-soon__title[_ngcontent-%COMP%]{font-size:calc(3.7333333333 * 1rem * var(--is-desktop) + 3.7333333333 * 1vw * (1 - var(--is-desktop)));line-height:120%;font-weight:700;color:var(--coming-soon-title)}.coming-soon[_ngcontent-%COMP%] .coming-soon__text-block[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%;background-color:var(--winner-board-text-block-bg);padding:calc(2.1333333333 * 1rem * var(--is-desktop) + 2.1333333333 * 1vw * (1 - var(--is-desktop))) calc(7.3333333333 * 1rem * var(--is-desktop) + 7.3333333333 * 1vw * (1 - var(--is-desktop)));color:var(--coming-soon-text-block-label);font-size:calc(5.3333333333 * 1rem * var(--is-desktop) + 5.3333333333 * 1vw * (1 - var(--is-desktop)));font-weight:700}.coming-soon[_ngcontent-%COMP%] .coming-soon__text-block[_ngcontent-%COMP%] .coming-soon__text-block-item[_ngcontent-%COMP%]{display:flex;width:calc(8.2666666667 * 1rem * var(--is-desktop) + 8.2666666667 * 1vw * (1 - var(--is-desktop)));height:calc(10.6666666667 * 1rem * var(--is-desktop) + 10.6666666667 * 1vw * (1 - var(--is-desktop)));border-radius:5px;flex-direction:column;align-items:center;justify-content:center;background-color:var(--coming-soon-text-block-item-bg)}.coming-soon[_ngcontent-%COMP%] .coming-soon__text-block[_ngcontent-%COMP%] .coming-soon__text-block-item[_ngcontent-%COMP%] .coming-soon__text-block-item-value[_ngcontent-%COMP%]{font-size:calc(3.7333333333 * 1rem * var(--is-desktop) + 3.7333333333 * 1vw * (1 - var(--is-desktop)));line-height:120%;font-weight:700;color:var(--coming-soon-text-block-value)}.coming-soon[_ngcontent-%COMP%] .coming-soon__text-block[_ngcontent-%COMP%] .coming-soon__text-block-item[_ngcontent-%COMP%] .coming-soon__text-block-item-label[_ngcontent-%COMP%]{font-size:calc(3.2 * 1rem * var(--is-desktop) + 3.2 * 1vw * (1 - var(--is-desktop)));line-height:120%;color:var(--coming-soon-text-block-label)}"],changeDetection:0})}return ft})();function q(ft,vt){1&ft&&(e.j41(0,"video",1),e.nrm(1,"source",7)(2,"source",8),e.k0s()),2&ft&&(e.Y8G("muted",!0)("mcdSrc","/assets/images/animation/no-data-preparation.png"),e.R7$(),e.BMQ("mcdSrc","/assets/images/animation/no-data-preparation.mov"),e.R7$(),e.BMQ("mcdSrc","/assets/images/animation/no-data-preparation.webm"))}function $(ft,vt){1&ft&&e.nrm(0,"img",9),2&ft&&e.Y8G("mcdSrc","assets/images/animation/no-data-preparation.png")}let Q=(()=>{class ft{constructor(){this.startTime=e.hFB.required(),this.noDataImageLink=(0,e.WQX)(H.Fu).imageLink$.pipe((0,de.T)(Kt=>Kt.get("NO_DATA_PREPARATION"))),this.days=(0,e.EWP)(()=>this.#e().days),this.hours=(0,e.EWP)(()=>this.#e().hours.toString().padStart(2,"0")),this.minutes=(0,e.EWP)(()=>this.#e().minutes.toString().padStart(2,"0")),this.seconds=(0,e.EWP)(()=>this.#e().seconds.toString().padStart(2,"0")),this.canAutoPlayVideo=(0,b.ot)((0,e.WQX)(R.i).on("canAutoPlayVideo").pipe((0,b.pQ)()),{initialValue:!1}),this.#e=(0,b.ot)((0,b.br)(this.startTime).pipe((0,Pe.n)(Kt=>(0,pe.Y)(1e3).pipe((0,W.Z)((0,ae.V)(Kt)),(0,de.T)(()=>(0,ae.V)(Kt)),(0,J.v)(wt=>wt.days+wt.hours+wt.minutes+wt.seconds>0,!0))),(0,b.pQ)()),{initialValue:{days:0,hours:0,minutes:0,seconds:0}})}#e;static#t=this.\u0275fac=function(wt){return new(wt||ft)};static#n=this.\u0275cmp=e.VBU({type:ft,selectors:[["mcd-coming-soon"]],inputs:{startTime:[e.Mj6.SignalBased,"startTime"]},standalone:!0,features:[e.aNF],decls:30,vars:8,consts:[[1,"coming-soon"],["mcdVideo","","controls","","autoplay","","preload","","playsinline","","loop","",1,"coming-soon__video",3,"muted","mcdSrc"],[1,"coming-soon__title"],[1,"coming-soon__text-block"],[1,"coming-soon__text-block-item"],[1,"coming-soon__text-block-item-value"],[1,"coming-soon__text-block-item-label"],["type","video/quicktime"],["type","video/webm"],["alt","coming-soon",1,"coming-soon__image",3,"mcdSrc"]],template:function(wt,tn){1&wt&&(e.j41(0,"div",0),e.DNE(1,q,3,4,"video",1)(2,$,1,1),e.j41(3,"div",2),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"div",3)(7,"div",4)(8,"div",5),e.EFF(9),e.k0s(),e.j41(10,"div",6),e.EFF(11," day "),e.k0s()(),e.EFF(12," : "),e.j41(13,"div",4)(14,"div",5),e.EFF(15),e.k0s(),e.j41(16,"div",6),e.EFF(17," hr "),e.k0s()(),e.EFF(18," : "),e.j41(19,"div",4)(20,"div",5),e.EFF(21),e.k0s(),e.j41(22,"div",6),e.EFF(23," min "),e.k0s()(),e.EFF(24," : "),e.j41(25,"div",4)(26,"div",5),e.EFF(27),e.k0s(),e.j41(28,"div",6),e.EFF(29," sec "),e.k0s()()()()),2&wt&&(e.R7$(),e.vxM(1,tn.canAutoPlayVideo()?1:2),e.R7$(3),e.SpI(" ",e.bMT(5,6,"ui.winner_board.text.coming_soon")," "),e.R7$(5),e.SpI(" ",tn.days()," "),e.R7$(6),e.SpI(" ",tn.hours()," "),e.R7$(6),e.SpI(" ",tn.minutes()," "),e.R7$(6),e.SpI(" ",tn.seconds()," "))},dependencies:[u.m,C.f,w.h,L.i,B.n,x.Z,Y.K,m.Q8,m.Kj],styles:["[_nghost-%COMP%]{--coming-soon-title: var(--on-surface-secondary);--coming-soon-text-block-item-bg: rgba(0, 0, 0, .3);--coming-soon-text-block-value: var(--primary);--coming-soon-text-block-label: var(--on-surface-secondary);--coming-soon-bg: var(--surface-container)}.coming-soon[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(3.2 * 1rem * var(--is-desktop) + 3.2 * 1vw * (1 - var(--is-desktop)));background:var(--coming-soon-bg)}.coming-soon[_ngcontent-%COMP%] .coming-soon__video[_ngcontent-%COMP%], .coming-soon[_ngcontent-%COMP%] .coming-soon__image[_ngcontent-%COMP%]{width:calc(26.6666666667 * 1rem * var(--is-desktop) + 26.6666666667 * 1vw * (1 - var(--is-desktop)));height:calc(26.6666666667 * 1rem * var(--is-desktop) + 26.6666666667 * 1vw * (1 - var(--is-desktop)));object-fit:contain}.coming-soon[_ngcontent-%COMP%] .coming-soon__title[_ngcontent-%COMP%]{font-size:calc(3.7333333333 * 1rem * var(--is-desktop) + 3.7333333333 * 1vw * (1 - var(--is-desktop)));line-height:120%;font-weight:700;color:var(--coming-soon-title)}.coming-soon[_ngcontent-%COMP%] .coming-soon__text-block[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%;background-color:var(--winner-board-text-block-bg);padding:calc(2.1333333333 * 1rem * var(--is-desktop) + 2.1333333333 * 1vw * (1 - var(--is-desktop))) calc(7.3333333333 * 1rem * var(--is-desktop) + 7.3333333333 * 1vw * (1 - var(--is-desktop)));color:var(--coming-soon-text-block-label);font-size:calc(5.3333333333 * 1rem * var(--is-desktop) + 5.3333333333 * 1vw * (1 - var(--is-desktop)));font-weight:700}.coming-soon[_ngcontent-%COMP%] .coming-soon__text-block[_ngcontent-%COMP%] .coming-soon__text-block-item[_ngcontent-%COMP%]{display:flex;width:calc(8.2666666667 * 1rem * var(--is-desktop) + 8.2666666667 * 1vw * (1 - var(--is-desktop)));height:calc(10.6666666667 * 1rem * var(--is-desktop) + 10.6666666667 * 1vw * (1 - var(--is-desktop)));border-radius:5px;flex-direction:column;align-items:center;justify-content:center;background-color:var(--coming-soon-text-block-item-bg)}.coming-soon[_ngcontent-%COMP%] .coming-soon__text-block[_ngcontent-%COMP%] .coming-soon__text-block-item[_ngcontent-%COMP%] .coming-soon__text-block-item-value[_ngcontent-%COMP%]{font-size:calc(3.7333333333 * 1rem * var(--is-desktop) + 3.7333333333 * 1vw * (1 - var(--is-desktop)));line-height:120%;font-weight:700;color:var(--coming-soon-text-block-value)}.coming-soon[_ngcontent-%COMP%] .coming-soon__text-block[_ngcontent-%COMP%] .coming-soon__text-block-item[_ngcontent-%COMP%] .coming-soon__text-block-item-label[_ngcontent-%COMP%]{font-size:calc(3.2 * 1rem * var(--is-desktop) + 3.2 * 1vw * (1 - var(--is-desktop)));line-height:120%;color:var(--coming-soon-text-block-label)}"],changeDetection:0})}return ft})();var se=l(56738),Ee=l(74851),me=l(791),je=l(51188),Qe=l(5964),Ot=l(38753),mt=l(50037);function Oe(ft,vt){if(1&ft&&(e.j41(0,"mcd-tab-nav",0),e.nrm(1,"router-outlet"),e.k0s()),2&ft){const Kt=e.XpG();e.Y8G("navItems",Kt.navTabItems)}}function Re(ft,vt){1&ft&&e.nrm(0,"router-outlet")}class Ve{static#e=this.NAV_TAB_ITEMS=[{name:"ui.winner_board.text.leader_board",value:"leader-board",url:`${Ee.C.WINNER_BOARD.link}/leader-board`},{name:"ui.winner_board.text.first_to_reach",value:"first-to-reach",url:`${Ee.C.WINNER_BOARD.link}/first-to-reach`}];#t;#n;#s;constructor(){this.#t=(0,e.WQX)(je.Ix),this.#n=(0,e.WQX)(Ot.f),this.#s=(0,e.WQX)(mt.W),this.isInHomePage=(0,e.vPA)(!0),this.navTabItems=Ve.NAV_TAB_ITEMS,this.#t.events.pipe((0,Qe.p)(vt=>vt instanceof je.wF),(0,de.T)(vt=>!vt.url.match(/history|reward/)),(0,b.pQ)()).subscribe(vt=>{this.isInHomePage.set(vt)})}ngOnInit(){this.isInHomePage.set(!this.#t.url.match(/history|reward/))}ngOnDestroy(){this.#n.reset(),this.#s.reset()}static#i=this.\u0275fac=function(Kt){return new(Kt||Ve)};static#o=this.\u0275cmp=e.VBU({type:Ve,selectors:[["mcd-winner-board"]],standalone:!0,features:[e.aNF],decls:2,vars:1,consts:[[3,"navItems"]],template:function(Kt,wt){1&Kt&&e.DNE(0,Oe,2,1,"mcd-tab-nav",0)(1,Re,1,0),2&Kt&&e.vxM(0,wt.isInHomePage()?0:1)},dependencies:[me.M,m.Q8,je.n3],changeDetection:0})}const ye=(ft,vt)=>{const Kt=(0,e.WQX)(Ot.f),wt=(0,e.WQX)(je.Ix);return!!Kt.winnerBoardId()||wt.parseUrl(`${Ee.C.WINNER_BOARD.link}/leader-board`)},ht=(ft,vt)=>{const Kt=(0,e.WQX)(mt.W),wt=(0,e.WQX)(je.Ix);return!!Kt.winnerBoardId()||wt.parseUrl(`${Ee.C.WINNER_BOARD.link}/first-to-reach`)},Ce=[{path:"",component:Ve,children:[{path:"",pathMatch:"full",redirectTo:"leader-board"},{path:"leader-board",children:[{path:"",pathMatch:"full",loadComponent:()=>Promise.all([l.e(3736),l.e(8105),l.e(7625)]).then(l.bind(l,17625)).then(ft=>ft.LeaderBoardComponent)},{path:"reward",pathMatch:"full",canActivate:[ye],data:{showGoBack:!0},loadComponent:()=>Promise.all([l.e(8979),l.e(9364)]).then(l.bind(l,59364)).then(ft=>ft.LeaderBoardRewardComponent)},{path:"history",pathMatch:"full",canActivate:[ye],data:{showGoBack:!0},loadComponent:()=>Promise.all([l.e(3736),l.e(2386)]).then(l.bind(l,22386)).then(ft=>ft.LeaderBoardHistoryComponent)}]},{path:"first-to-reach",children:[{path:"",pathMatch:"full",loadComponent:()=>Promise.all([l.e(5413),l.e(8105),l.e(3405)]).then(l.bind(l,23405)).then(ft=>ft.FirstToReachComponent)},{path:"reward",pathMatch:"full",canActivate:[ht],data:{showGoBack:!0},loadComponent:()=>Promise.all([l.e(8979),l.e(4552)]).then(l.bind(l,24552)).then(ft=>ft.FirstToReachRewardComponent)},{path:"history",pathMatch:"full",canActivate:[ht],data:{showGoBack:!0},loadComponent:()=>Promise.all([l.e(5413),l.e(8012)]).then(l.bind(l,28012)).then(ft=>ft.FirstToReachHistoryComponent)}]}]}],We={[se.X5.DAILY]:"ui.winner_board.text.daily",[se.X5.WEEKLY]:"ui.winner_board.text.weekly",[se.X5.MONTHLY]:"ui.winner_board.text.monthly"};function ut(ft){return[{provide:h.Z,useValue:(()=>{switch(ft){case"v1":return M;case"v2":return oe;default:throw new Error(`Invalid version: ${ft}`)}})()},{provide:s.q,useValue:(()=>{switch(ft){case"v1":return te;case"v2":return Q;default:throw new Error(`Invalid version: ${ft}`)}})()}]}},38753:(Be,K,l)=>{"use strict";l.d(K,{f:()=>b});var s=l(54438),h=l(51188),e=l(65215),u=l(56738),m=l(51433),C=l(74851),w=l(80247),M=l(23873);let b=(()=>{class R{constructor(){this.#e=(0,s.WQX)(e.j),this.#t=(0,s.WQX)(w.eD),this.#n=(0,s.WQX)(m.H),this.#s=(0,s.WQX)(h.Ix),this.#i=(0,s.vPA)(void 0),this.#o=(0,s.vPA)(!1),this.#r=(0,s.vPA)(u.X5.DAILY),this.noData=(0,s.EWP)(()=>null===this.#i()?.detail),this.bannerUrl=(0,s.EWP)(()=>this.#i()?.detail?.bannerPath??""),this.dropdownList=(0,s.EWP)(()=>this.#i()?.winnerBoardList??[]),this.dateRange=(0,s.EWP)(()=>({startDate:this.#i()?.detail?.startDate??"",endDate:this.#i()?.detail?.endDate??""})),this.winnerBoardId=(0,s.EWP)(()=>this.#i()?.detail?.winnerBoardId??NaN),this.metricType=(0,s.EWP)(()=>this.#i()?.detail?.metric),this.#a=(0,s.EWP)(()=>this.#i()?.detail?.rankDetail.reduce((x,B)=>(x[B.resetFrequency]=B,x),{})),this.navTabItems=(0,s.EWP)(()=>Object.keys(this.#a()??{}).map(x=>({name:M.Mp[Number(x)],value:Number(x)}))),this.rankList=(0,s.EWP)(()=>this.#a()?.[this.#r()]?.rankList??[]),this.userDetail=(0,s.EWP)(()=>this.#a()?.[this.#r()]?.userDetail??null),this.settledDate=(0,s.EWP)(()=>{const x=this.#a()?.[this.#r()]?.settledDate??null;return new Date(x??"").getTime()}),this.isLoading=this.#o.asReadonly(),this.currentFrequency=this.#r.asReadonly()}#e;#t;#n;#s;#i;#o;#r;#a;getLeaderBoard(x){if(!x&&this.#i())return;this.#o.set(!0);const B=this.#n.get("accountInfo")?.userId;this.#e.getWinnerBoard({boardType:u.Gd.LEDAER_BOARD,...B?{userId:B}:{},...x?{winnerBoardId:x}:{}}).subscribe({next:Y=>{this.#i.set(Y);const j=Y?.detail?.rankDetail[0];this.#r.set(j?j.resetFrequency:u.X5.DAILY)},error:Y=>{console.error(Y)},complete:()=>{this.#o.set(!1)}})}changeFrequency(x){this.#r.set(x)}enterGame(x){if(x.gameId){if("CRICKETV2"===x.vendorCode||"AWCV2_VELKI"===x.vendorCode)return void this.#s.navigateByUrl(C.C.CRICKET.link);this.#t.open({gameTypeId:x.gameType,vendorCode:x.vendorCode,gameCode:x.gameCode}).subscribe()}}reset(){this.#i.set(void 0),this.#o.set(!1),this.#r.set(u.X5.DAILY)}static#c=this.\u0275fac=function(B){return new(B||R)};static#l=this.\u0275prov=s.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})()},44634:(Be,K,l)=>{"use strict";l.d(K,{p:()=>h});const h=new(l(54438).nKC)("DEFAULT_ICON_LINK")},66980:(Be,K,l)=>{"use strict";l.d(K,{h:()=>s});class s{constructor(){this.IMG_CALENDAR_ICON="/assets/images/icon-set/icon-calendar-type01.svg",this.IMG_SEARCH_ARROW="/assets/images/icon-set/icon-arrow-type09.svg",this.IMG_SEARCH_ICON="/assets/images/icon-set/icon-search-type02.svg",this.IMG_FILTER_ICON="/assets/images/icon-set/index-theme-icon/games-filter-icon.svg",this.IMG_HEADER_SERVICE_ICON="/assets/images/icon-set/index-theme-icon/header-service-icon.svg",this.IMG_HEADER_CUSTOMER_ICON="/assets/images/icon-set/index-theme-icon/header-customer-icon.svg",this.IMG_HEADER_FORUM_ICON="/assets/images/icon-set/index-theme-icon/header-forum-icon.svg",this.IMG_HEADER_LOGOUT_ICON="/assets/images/icon-set/index-theme-icon/header-logout-icon.svg",this.IMG_HEADER_APPDOWNLOAD_ICON="/assets/images/icon-set/index-theme-icon/header-appdownload-icon.svg",this.IMG_HEADER_INDEX_ICON="/assets/images/icon-set/index-theme-icon/header-inbox-icon.svg",this.IMG_HEADER_WHATSAPP="/assets/images/icon-set/index-theme-icon/header-whatsapp.svg",this.IMG_HEADER_SCHEDULE="/assets/images/icon-set/index-theme-icon/header-schedule-icon.svg",this.IMG_HEADER_LIVE="",this.IMG_ANNOUNVEMENT_ICON="/assets/images/icon-set/index-theme-icon/index-announcement-icon.svg",this.IMG_ANNOUNVEMENT_TITLE_V_2="/assets/images/icon-set/index-theme-icon/index-announcement-title.svg",this.NAV_ICON_EXCLUSIVE="/assets/images/icon-set/theme-icon/icon-exclusive.png",this.NAV_ICON_SPORT="/assets/images/icon-set/theme-icon/icon-sport.png",this.NAV_ICON_CASINO="/assets/images/icon-set/theme-icon/icon-casino.png",this.NAV_ICON_SLOT="/assets/images/icon-set/theme-icon/icon-slot.png",this.NAV_ICON_TABLE="/assets/images/icon-set/theme-icon/icon-table.png",this.NAV_ICON_LOTTERY="/assets/images/icon-set/theme-icon/icon-lottery.png",this.NAV_ICON_FISH="/assets/images/icon-set/theme-icon/icon-fish.png",this.NAV_ICON_ARCADE="/assets/images/icon-set/theme-icon/icon-arcade.png",this.NAV_ICON_CARD="/assets/images/icon-set/theme-icon/icon-card.png",this.NAV_ICON_OTHER="/assets/images/icon-set/theme-icon/icon-other.png",this.NAV_ICON_RAIN="/assets/images/icon-set/theme-icon/icon-rain.png",this.NAV_ICON_CRASH="/assets/images/icon-set/theme-icon/icon-crash.png",this.NAV_ICON_ESPORT="/assets/images/icon-set/theme-icon/icon-esport.png",this.NAV_ICON_COCKFIGHTING="/assets/images/icon-set/theme-icon/icon-cockfighting.png",this.NAV_ICON_EXCLUSIVE_ACTIVE="/assets/images/icon-set/theme-icon/icon-exclusive.png",this.NAV_ICON_SPORT_ACTIVE="/assets/images/icon-set/theme-icon/icon-sport.png",this.NAV_ICON_CASINO_ACTIVE="/assets/images/icon-set/theme-icon/icon-casino.png",this.NAV_ICON_SLOT_ACTIVE="/assets/images/icon-set/theme-icon/icon-slot.png",this.NAV_ICON_TABLE_ACTIVE="/assets/images/icon-set/theme-icon/icon-table.png",this.NAV_ICON_LOTTERY_ACTIVE="/assets/images/icon-set/theme-icon/icon-lottery.png",this.NAV_ICON_FISH_ACTIVE="/assets/images/icon-set/theme-icon/icon-fish.png",this.NAV_ICON_ARCADE_ACTIVE="/assets/images/icon-set/theme-icon/icon-arcade.png",this.NAV_ICON_CARD_ACTIVE="/assets/images/icon-set/theme-icon/icon-card.png",this.NAV_ICON_OTHER_ACTIVE="/assets/images/icon-set/theme-icon/icon-other.png",this.NAV_ICON_RAIN_ACTIVE="/assets/images/icon-set/theme-icon/icon-rain.png",this.NAV_ICON_CRASH_ACTIVE="/assets/images/icon-set/theme-icon/icon-crash.png",this.NAV_ICON_ESPORT_ACTIVE="/assets/images/icon-set/theme-icon/icon-esport.png",this.NAV_ICON_COCKFIGHTING_ACTIVE="/assets/images/icon-set/theme-icon/icon-cockfighting.png",this.NAV_SECOND_ICON_ALL_PROVIDER="/assets/images/icon-set/icon-all-provider.svg",this.NAV_SECOND_ICON_EXCHANGE="/assets/images/icon-set/sports-icon/icon-exchange.svg",this.NAV_SECOND_ICON_SPORTBOOK="/assets/images/icon-set/sports-icon/icon-sportbook.svg",this.NAV_SECOND_ICON_KABADDI="/assets/images/icon-set/sports-icon/icon-kabaddi.svg",this.NAV_SECOND_ICON_VIRTUAL="/assets/images/icon-set/sports-icon/icon-virtual.svg",this.NAV_SECOND_ICON_LOTTERY="/assets/images/icon-set/sports-icon/icon-lottery.svg",this.NAV_SECOND_ICON_CRICKET="/assets/images/icon-set/sports-icon/icon-cricket.svg",this.NAV_SECOND_ICON_SOCCER="/assets/images/icon-set/sports-icon/icon-soccer.svg",this.NAV_SECOND_ICON_TENNIS="/assets/images/icon-set/sports-icon/icon-tennis.svg",this.NAV_SECOND_ICON_BASKETBALL="/assets/images/icon-set/sports-icon/icon-basketball.svg",this.NAV_SECOND_ICON_RUGBYUNION="/assets/images/icon-set/sports-icon/icon-rugbyunion.svg",this.NAV_SECOND_ICON_HORSERACING="/assets/images/icon-set/sports-icon/icon-horseracing.svg",this.NAV_SECOND_ICON_GREYHOUNDRACING="/assets/images/icon-set/sports-icon/icon-greyhound.svg",this.NAV_SECOND_ICON_BADMINTON="/assets/images/icon-set/sports-icon/icon-badminton.svg",this.NAV_SECOND_ICON_UGV3="/assets/images/icon-set/sports-icon/icon-ugv3.svg",this.NAV_SECOND_ICON_HORSEBOOK="/assets/images/icon-set/sports-icon/icon-horsebook.svg",this.NAV_SECOND_ICON_SBO="/assets/images/icon-set/sports-icon/icon-sbov2.svg",this.NAV_SECOND_ICON_SV_388="/assets/images/icon-set/sports-icon/icon-sv388.svg",this.NAV_SECOND_ICON_ICF="/assets/images/icon-set/sports-icon/icon-icf.svg",this.NAV_SECOND_ICON_AWCMBC="/assets/images/icon-set/sports-icon/icon-awcmbc.svg",this.NAV_SECOND_ICON_AWCMRWB="/assets/images/icon-set/sports-icon/icon-awcmrwb.png",this.NAV_SECOND_ICON_CTB="/assets/images/icon-set/sports-icon/icon-ctb.svg",this.NAV_SECOND_ICON_POWERELEVENV2="/assets/images/icon-set/sports-icon/icon-powerelevenv2.svg",this.NAV_SECOND_ICON_HORSEDOG="/assets/images/icon-set/sports-icon/icon-horsedog.svg",this.NAV_SECOND_ICON_AWCME1SPORT="/assets/images/icon-set/sports-icon/icon-awcme1sport.svg",this.NAV_SECOND_ICON_SBTECH="/assets/images/icon-set/sports-icon/icon-sbtech.svg",this.NAV_SECOND_ICON_NST="/assets/images/icon-set/sports-icon/icon-nst.svg",this.NAV_SECOND_ICON_CMD="/assets/images/icon-set/sports-icon/icon-cmd.svg",this.NAV_SECOND_ICON_AWCMPINNACLE="/assets/images/icon-set/sports-icon/icon-awcmpinnacle.png",this.SIDENAV_ICON_HOME="/assets/images/icon-set/theme-icon/icon-home.png",this.SIDENAV_ICON_EXCLUSIVE="/assets/images/icon-set/theme-icon/icon-exclusive.png",this.SIDENAV_ICON_SPORT="/assets/images/icon-set/theme-icon/icon-sport.png",this.SIDENAV_ICON_CASINO="/assets/images/icon-set/theme-icon/icon-casino.png",this.SIDENAV_ICON_SLOT="/assets/images/icon-set/theme-icon/icon-slot.png",this.SIDENAV_ICON_TABLE="/assets/images/icon-set/theme-icon/icon-table.png",this.SIDENAV_ICON_LOTTERY="/assets/images/icon-set/theme-icon/icon-lottery.png",this.SIDENAV_ICON_FISH="/assets/images/icon-set/theme-icon/icon-fish.png",this.SIDENAV_ICON_ARCADE="/assets/images/icon-set/theme-icon/icon-arcade.png",this.SIDENAV_ICON_CARD="/assets/images/icon-set/theme-icon/icon-card.png",this.SIDENAV_ICON_OTHER="/assets/images/icon-set/theme-icon/icon-other.png",this.SIDENAV_ICON_RAIN="/assets/images/icon-set/theme-icon/icon-rain.png",this.SIDENAV_ICON_CRASH="/assets/images/icon-set/theme-icon/icon-crash.png",this.SIDENAV_ICON_ESPORT="/assets/images/icon-set/theme-icon/icon-esport.png",this.SIDENAV_ICON_COCKFIGHTING="/assets/images/icon-set/theme-icon/icon-cockfighting.png",this.SIDENAV_ICON_HUNDREDS="/assets/images/icon-set/theme-icon/icon-hundreds.png",this.SIDENAV_ICON_REFERRAL="/assets/images/icon-set/theme-icon/icon-referral.png",this.SIDENAV_ICON_REFERRAL_FILLED="/assets/images/icon-set/theme-icon/icon-referral-filled.png",this.SIDENAV_ICON_REFERRAL_BONUS="/assets/images/icon-set/theme-icon/side-sub-nav/icon-referral-bonus.png",this.SIDENAV_ICON_REFERRAL_PROGRAM="/assets/images/icon-set/theme-icon/side-sub-nav/icon-referral-program.png",this.SIDENAV_ICON_REFERRAL_REMINDER_ICON="/assets/images/referral-program/icon-receive.png",this.SIDENAV_ICON_VIP="/assets/images/icon-set/theme-icon/icon-vip.png",this.SIDENAV_ICON_DOWNLOAD="/assets/images/icon-set/theme-icon/icon-download.png",this.SIDENAV_ICON_PROMOTION="/assets/images/icon-set/theme-icon/icon-promotion.png",this.SIDENAV_ICON_SOCIAL_MEDIA="/assets/images/icon-set/theme-icon/icon-social-media.png",this.SIDENAV_ICON_SPONSORSHIP="/assets/images/icon-set/theme-icon/icon-sponsorship.png",this.SIDENAV_ICON_LEADERBOARD="/assets/images/icon-set/theme-icon/icon-leaderboard.png",this.SIDENAV_ICON_RESPONSIBLE_GAMING="/assets/images/icon-set/theme-icon/icon-responsible-gaming.png",this.SIDENAV_ICON_TG_SUPPORT="/assets/images/icon-set/theme-icon/icon-telegram.png",this.SIDENAV_ICON_BLOG="/assets/images/icon-set/theme-icon/icon-crickex-blog.png",this.SIDENAV_ICON_ABOUT_US="/assets/images/icon-set/theme-icon/icon-about-us.png",this.SIDENAV_ICON_FAQ="/assets/images/icon-set/theme-icon/icon-faq.png",this.SIDENAV_ICON_AFFILIATE="/assets/images/icon-set/theme-icon/icon-affiliate.png",this.SIDENAV_ICON_AMBASSADOR="/assets/images/icon-set/menu/icon-ambassador.png",this.SIDENAV_ICON_PARTNERSHIPS="/assets/images/icon-set/theme-icon/icon-partnerships.png",this.SIDENAV_ICON_SERVICE_TALK="/assets/images/icon-set/theme-icon/icon-talk.png",this.SIDENAV_ICON_SERVICE_FORUM="/assets/images/icon-set/theme-icon/icon-forum.png",this.SIDENAV_ICON_WINNER_BOARD="/assets/images/icon-set/theme-icon/icon-winner-board.png",this.SIDENAV_ICON_WINNER_BOARD_FILLED="/assets/images/icon-set/theme-icon/icon-winner-board-filled.png",this.MEMBER_CENTER_ICON_DEPOSIT="/assets/images/icon-set/theme-icon/icon-deposit.png",this.MEMBER_CENTER_ICON_WITHDRAWAL="/assets/images/icon-set/theme-icon/icon-withdrawal.png",this.MEMBER_CENTER_ICON_REAL_TIME_BONUS="/assets/images/icon-set/theme-icon/icon-real-time-bonus.png",this.MEMBER_CENTER_ICON_FREE_SPIN="/assets/images/icon-set/theme-icon/icon-free-spin.png",this.MEMBER_CENTER_ICON_TRANSFER="/assets/images/icon-set/theme-icon/icon-transfer.png",this.MEMBER_CENTER_ICON_BET_RECORDS="/assets/images/icon-set/theme-icon/icon-bet-records.png",this.MEMBER_CENTER_ICON_TURNOVER="/assets/images/icon-set/theme-icon/icon-turnover.png",this.MEMBER_CENTER_ICON_BONUSES="/assets/images/icon-set/theme-icon/icon-bonuses.png",this.MEMBER_CENTER_ICON_RECORDS="/assets/images/icon-set/theme-icon/icon-records.png",this.MEMBER_CENTER_ICON_PROFILE="/assets/images/icon-set/theme-icon/icon-profile.png",this.MEMBER_CENTER_ICON_INBOX="/assets/images/icon-set/theme-icon/icon-inbox.png",this.MEMBER_CENTER_ICON_REFERRAL="/assets/images/icon-set/theme-icon/icon-referral.png",this.MEMBER_CENTER_ICON_REFERRAL_BONUS="/assets/images/icon-set/theme-icon/side-sub-nav/icon-referral-bonus.png",this.MEMBER_CENTER_ICON_REFERRAL_PROGRAM="/assets/images/icon-set/theme-icon/side-sub-nav/icon-referral-program.png",this.MEMBER_CENTER_ICON_REFERRAL_ACHIEVEMENT_BONUS="",this.MEMBER_CENTER_ICON_REFERRAL_DETAILS="",this.MEMBER_CENTER_ICON_REFERRAL_INVITE_FRIEND="",this.MEMBER_CENTER_ICON_REFERRAL_REBATE_BONUS="",this.MEMBER_CENTER_ICON_KYC="/assets/images/icon-set/theme-icon/icon-kyc.png",this.MEMBER_CENTER_ICON_SETTING="/assets/images/icon-set/theme-icon/icon-setting.png",this.MEMBER_CENTER_ICON_CHANGEPASSWORD="/assets/images/icon-set/theme-icon/icon-changepassword.png",this.MEMBER_CENTER_ICON_BIOMETRIC="/assets/images/icon-set/theme-icon/icon-biometric.png",this.MEMBER_CENTER_ICON_GIFT="/assets/images/icon-set/theme-icon/icon-gift.png",this.MEMBER_CENTER_ICON_VIP="/assets/images/icon-set/theme-icon/icon-vip.svg",this.MEMBER_CENTER_ICON_DOCUMENTS="/assets/images/icon-set/theme-icon/icon-documents.png",this.MEMBER_CENTER_ICON_BANK="/assets/images/icon-set/theme-icon/icon-bank.png",this.MEMBER_CENTER_ICON_CRYPTO="/assets/images/icon-set/theme-icon/icon-crypto.png",this.MEMBER_CENTER_ICON_EWALLETS="/assets/images/icon-set/theme-icon/icon-ewallets.png",this.MEMBER_CENTER_ICON_UPI="/assets/images/icon-set/theme-icon/icon-upi.png",this.MEMBER_CENTER_ICON_LOGOUT="/assets/images/icon-set/theme-icon/icon-logout.png",this.MEMBER_CENTER_ICON_WINNER_BOARD="/assets/images/icon-set/theme-icon/icon-winner-board.png",this.CRM_CS_ICON_TELEGRAM="/assets/images/icon-set/theme-icon/icon-telegram.png",this.CRM_CS_ICON_LINE="/assets/images/icon-set/theme-icon/icon-line.png",this.CRM_CS_ICON_WHATSAPP="/assets/images/icon-set/theme-icon/icon-whatsapp.png",this.CRM_CS_ICON_ZALO="/assets/images/icon-set/theme-icon/icon-zalo.png",this.CRM_CS_ICON_IMO="/assets/images/icon-set/theme-icon/icon-imo.png",this.CRM_CS_ICON_EMAIL="/assets/images/icon-set/theme-icon/icon-email.png",this.CRM_CS_ICON_QQ="/assets/images/icon-set/theme-icon/icon-qq.png",this.CRM_CS_ICON_WECHAT="/assets/images/icon-set/theme-icon/icon-wechat.png",this.CRM_CS_ICON_SKYPE="/assets/images/icon-set/theme-icon/icon-skype.png",this.CRM_CS_ICON_BBM="/assets/images/icon-set/theme-icon/icon-bbm.png",this.CRM_CS_ICON_KAKAO_TALK="/assets/images/icon-set/theme-icon/icon-kakao-talk.png",this.CRM_CS_ICON_VIBER="/assets/images/icon-set/theme-icon/icon-viber.png",this.CRM_CS_ICON_PHONE="/assets/images/icon-set/theme-icon/icon-phone.png",this.CRM_CS_ICON_TALK="/assets/images/icon-set/theme-icon/icon-customer.png",this.CRM_CS_ICON_FACEBOOK_MESSENGER="/assets/images/icon-set/theme-icon/icon-facebook-messenger.png",this.CRM_SM_ICON_FACEBOOK="/assets/images/icon-set/crm-icon/icon-facebook.png",this.CRM_SM_ICON_INSTAGRAM="/assets/images/icon-set/crm-icon/icon-instagram.png",this.CRM_SM_ICON_TWITTER="/assets/images/icon-set/crm-icon/icon-twitter.png",this.CRM_SM_ICON_TELEGRAM="/assets/images/icon-set/crm-icon/icon-telegram.png",this.CRM_SM_ICON_LINE="/assets/images/icon-set/crm-icon/icon-line.png",this.CRM_SM_ICON_PINTEREST="/assets/images/icon-set/crm-icon/icon-pinterest.png",this.CRM_SM_ICON_YOUTUBE="/assets/images/icon-set/crm-icon/icon-youtube.png",this.CRM_SM_ICON_LIKEE="/assets/images/icon-set/crm-icon/icon-likee.png",this.CRM_SM_ICON_FORUM="/assets/images/icon-set/crm-icon/icon-forum.png",this.CRM_SM_ICON_TIKTOK="/assets/images/icon-set/crm-icon/icon-tiktok.png",this.CRM_SM_ICON_ZALO="/assets/images/icon-set/crm-icon/icon-zalo.png",this.CRM_SM_ICON_MOJ="/assets/images/icon-set/crm-icon/icon-moj.png",this.CRM_SM_ICON_WHATSAPP="/assets/images/icon-set/crm-icon/icon-whatsapp-channel.png",this.IMG_TOOLBAR_ICON_HOME="/assets/images/icon-set/toolbar-icon/toolbar-icon-home.svg",this.IMG_TOOLBAR_ICON_PROMOTION="/assets/images/icon-set/toolbar-icon/toolbar-icon-promotion.svg",this.IMG_TOOLBAR_ICON_DEPOSIT="/assets/images/icon-set/toolbar-icon/toolbar-icon-deposit.svg",this.IMG_TOOLBAR_ICON_TRANSFER="/assets/images/icon-set/toolbar-icon/toolbar-icon-transfer.svg",this.IMG_TOOLBAR_ICON_MINE="/assets/images/icon-set/toolbar-icon/toolbar-icon-mine.svg",this.IMG_TOOLBAR_ICON_CHAT="",this.IMG_TOOLBAR_ICON_ACTIVE_HOME="/assets/images/icon-set/toolbar-icon/toolbar-icon-home.svg",this.IMG_TOOLBAR_ICON_ACTIVE_PROMOTION="/assets/images/icon-set/toolbar-icon/toolbar-icon-promotion.svg",this.IMG_TOOLBAR_ICON_ACTIVE_DEPOSIT="/assets/images/icon-set/toolbar-icon/toolbar-icon-deposit.svg",this.IMG_TOOLBAR_ICON_ACTIVE_TRANSFER="/assets/images/icon-set/toolbar-icon/toolbar-icon-transfer.svg",this.IMG_TOOLBAR_ICON_ACTIVE_MINE="/assets/images/icon-set/toolbar-icon/toolbar-icon-mine.svg",this.IMG_TOOLBAR_ICON_ACTIVE_CHAT="",this.IMG_MEMBER_ICON_EYES_3_OPEN="/assets/images/icon-set/icon-eye-open-type01.svg",this.IMG_MEMBER_ICON_EYES_3_CLOSE="/assets/images/icon-set/icon-eye-close-type01.svg",this.IMG_MEMBER_ICON_BONUSWALLET="/assets/images/icon-set/icon-bonuswallet.svg",this.IMG_MEMBER_ICON_REFRESH="/assets/images/icon-set/icon-refresh-type01.svg",this.MEMBER_NO_VIP="/assets/images/player/memberpic.svg",this.MEMBER_VIP_LV_1="/assets/images/player/vip/memberpic-lv1.svg",this.MEMBER_VIP_LV_2="/assets/images/player/vip/memberpic-lv2.svg",this.MEMBER_VIP_LV_3="/assets/images/player/vip/memberpic-lv3.svg",this.MEMBER_VIP_LV_4="/assets/images/player/vip/memberpic-lv4.svg",this.MEMBER_VIP_LV_5="/assets/images/player/vip/memberpic-lv5.svg",this.MEMBER_VIP_LV_6="/assets/images/player/vip/memberpic-lv6.svg",this.MEMBER_VIP_LV_7="/assets/images/player/vip/memberpic-lv7.svg",this.MEMBER_VIP_LV_8="/assets/images/player/vip/memberpic-lv8.svg",this.MEMBER_VIP_LV_9="/assets/images/player/vip/memberpic-lv9.svg",this.MEMBER_VIP_LV_10="/assets/images/player/vip/memberpic-lv10.svg",this.IMG_PROMOTION_BG="/assets/images/icon-set/player/promotion-bg.svg",this.IMG_PROMOTION_CLOCK="/assets/images/icon-set/icon-clock.svg",this.IMG_EYES_OPEN="/assets/images/icon-set/icon-eye-open-type03.svg",this.IMG_EYES_CLOSE="/assets/images/icon-set/icon-eye-close-type03.svg",this.IMG_REFRESH="/assets/images/icon-set/icon-refresh-type01.svg",this.IMG_BIOMETRIC="/assets/images/icon-set/icon-face-id.svg",this.IMG_POP_CLOSE="/assets/images/icon-set/icon-cross-type01.svg",this.IMG_FORMWRAP_ARROW="/assets/images/icon-set/icon-arrow-type01.svg",this.IMG_HEADER_BACK="/assets/images/icon-set/icon-arrow-type01.svg",this.IMG_REGISTER_SUCCESS_EDITOR="/assets/images/icon-set/icon-pen.svg",this.IMG_POP_VERIFICATION_EXPIRED="/assets/images/icon-failed.svg",this.APP_DOWNLOAD_ANDROID_ICON="/assets/images/icon-set/app-download/androidicon.svg",this.APP_DOWNLOAD_IOS_ICON="/assets/images/icon-set/app-download/iosicon.svg",this.ACCOUNT_LOGO="/assets/images/transfer-ani/account.svg",this.PLATFORM_LOGO="/assets/images/favicon.png",this.GAMES_JACKPOT_IMG="/assets/images/games-jackpot-bg.jpg",this.LAUNCH_LOGO="/assets/images/logo.png",this.LANUCH_NODEPOSIT_LOGO="/assets/images/logo.png",this.IMG_BANK_CARD_COPY="/assets/images/icon-set/icon-copy.svg",this.IMG_PLAYER_EDITOR="/assets/images/icon-set/icon-editor.svg",this.IMG_HEADER_BG="/assets/images/player/bg-header-bottom.svg",this.IMG_HEADER_PROFILE_BG="/assets/images/player/bg-header-profile.jpg",this.IMG_PLAYER_FORM_CHECKED="/assets/images/player/select-check.svg",this.IMG_PLAYER_FORM_DELETE="/assets/images/icon-set/icon-cross-type09.svg",this.IMG_PLAYER_FORM_ADD="/assets/images/icon-set/icon-add.svg",this.IMG_PLAYER_FORM_CHECK="/assets/images/icon-set/icon-check-type05.svg",this.IMG_TAG_RECOMMOND="/assets/images/icon-set/icon-recommond.svg",this.IMG_TAG_FREE="/assets/images/icon-set/icon-free.svg",this.SVG_SELECT_BAR="/assets/images/icon-set/icon-selectpromotion.svg",this.IMG_FORM_LIST_DELETE="/assets/images/icon-set/icon-cross-type09.svg",this.IMG_PLAYER_FORM_EXCHANGE="/assets/images/icon-set/icon-arrow-type04.svg",this.IMG_PLAYER_FORM_CALENDAR="/assets/images/icon-set/icon-calendar-type02.svg",this.IMG_PLAYER_FORM_CHECKED_G="/assets/images/icon-set/icon-check-type01.svg",this.IMG_PLAYER_FORM_CHECKED_N="/assets/images/icon-set/icon-check-type02.svg",this.IMG_PLAYER_FORM_CHECKED_O="/assets/images/icon-set/icon-check-type03.svg",this.IMG_PLAYER_FORM_CHECKED_W="/assets/images/icon-set/icon-check-type04.svg",this.IMG_PLAYER_FORM_VERIFICATION_CHECK="/assets/images/icon-set/icon-check-type07.svg",this.IMG_EDITOR_CHOSE="/assets/images/icon-set/icon-check-type04.svg",this.IMG_TIP_ICON="/assets/images/icon-set/icon-question.svg",this.IMG_LOBBY_ARROW="/assets/images/icon-set/icon-arrow-type08.svg",this.IMG_FORM_CLEAR_ICON="/assets/images/icon-set/icon-cross-type10.svg",this.IMG_RF_MASK="/assets/images/player/icon-rf-mask.svg",this.COLOR_VIP_MYVIP_MENU_BTN_LV_1="/assets/images/player/vip/vip-ball-1.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_2="/assets/images/player/vip/vip-ball-2.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_3="/assets/images/player/vip/vip-ball-3.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_4="/assets/images/player/vip/vip-ball-4.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_5="/assets/images/player/vip/vip-ball-5.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_6="/assets/images/player/vip/vip-ball-6.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_7="/assets/images/player/vip/vip-ball-7.png",this.FLOAT_BTN_ICON_EMAIL="/assets/images/menu/icon-email.svg",this.FLOAT_BTN_ICON_PHONE="/assets/images/menu/icon-phone.svg",this.FLOAT_BTN_ICON_ZALO="/assets/images/menu/icon-zalo.svg",this.FLOAT_BTN_ICON_FACEBOOK_MESSENGER="/assets/images/menu/icon-facebook-messenger.svg",this.FLOAT_BTN_ICON_WHATSAPP="/assets/images/menu/icon-whatsapp.svg",this.FLOAT_BTN_ICON_IMO="/assets/images/menu/icon-imo.svg",this.FLOAT_BTN_ICON_QQ="/assets/images/menu/icon-qq.svg",this.FLOAT_BTN_ICON_WECHAT="/assets/images/menu/icon-wechat.svg",this.FLOAT_BTN_ICON_SKYPE="/assets/images/menu/icon-skype.svg",this.FLOAT_BTN_ICON_BBM="/assets/images/menu/icon-bbm.svg",this.FLOAT_BTN_ICON_KAKAO_TALK="/assets/images/menu/icon-kakao-talk.svg",this.FLOAT_BTN_ICON_TALK="/assets/images/menu/icon-talk.svg",this.FLOAT_BTN_ICON_VIBER="/assets/images/menu/icon-viber.svg",this.FLOAT_BTN_ICON_TELEGRAM="/assets/images/menu/icon-telegram.svg",this.FLOAT_BTN_ICON_LINE="/assets/images/menu/icon-line.svg",this.IMG_TASKCARD_PENDING="/assets/images/icon-set/player/kyc/status-pending.svg",this.IMG_TASKCARD_SUCCESS="/assets/images/icon-set/player/kyc/status-success.svg",this.IMG_TASKCARD_FAILED="/assets/images/icon-set/player/kyc/status-failed.svg",this.IMG_TASKCARD_COIN="/assets/images/icon-set/player/kyc/status-coin.svg",this.IMG_TASKCARD_COIN_GET="/assets/images/icon-set/player/kyc/status-coinget.svg",this.IMG_ACCORDION_ICON="/assets/images/icon-set/player/kyc/accordion-tips.svg",this.IMG_ACCORDION_ARROW="/assets/images/icon-set/player/kyc/accordion-arrow.svg",this.IMG_UPLOAD_DELETE="/assets/images/icon-set/icon-cross-type09.svg",this.IMG_UPLOAD_CAMERA="/assets/images/icon-set/player/kyc/upload.svg",this.IMG_UPLOAD_LOADING="/assets/images/icon-set/icon-loading.svg",this.IMG_UPLOAD_PENDING="/assets/images/icon-set/player/kyc/status-pending.svg",this.IMG_UPLOAD_SUCCESS="/assets/images/icon-set/player/kyc/status-success.svg",this.IMG_UPLOAD_FAILED="/assets/images/icon-set/player/kyc/status-failed.svg",this.VIP_LV_1="/assets/images/icon-set/player/vip/vip-sidenav-1.svg",this.VIP_LV_2="/assets/images/icon-set/player/vip/vip-sidenav-2.svg",this.VIP_LV_3="/assets/images/icon-set/player/vip/vip-sidenav-3.svg",this.VIP_LV_4="/assets/images/icon-set/player/vip/vip-sidenav-4.svg",this.VIP_LV_5="/assets/images/icon-set/player/vip/vip-sidenav-5.svg",this.VIP_LV_6="/assets/images/icon-set/player/vip/vip-sidenav-6.svg",this.VIP_LV_7="/assets/images/icon-set/player/vip/vip-sidenav-7.svg",this.VIP_LV_8="/assets/images/icon-set/player/vip/vip-sidenav-8.svg",this.VIP_LV_9="/assets/images/icon-set/player/vip/vip-sidenav-9.svg",this.VIP_LV_10="/assets/images/icon-set/player/vip/vip-sidenav-10.svg",this.VIP_LV_S_1="/assets/images/icon-set/player/vip/vip-totem-bg-1.svg",this.VIP_LV_S_2="/assets/images/icon-set/player/vip/vip-totem-bg-2.svg",this.VIP_LV_S_3="/assets/images/icon-set/player/vip/vip-totem-bg-3.svg",this.VIP_LV_S_4="/assets/images/icon-set/player/vip/vip-totem-bg-4.svg",this.VIP_LV_S_5="/assets/images/icon-set/player/vip/vip-totem-bg-5.svg",this.VIP_LV_S_6="/assets/images/icon-set/player/vip/vip-totem-bg-6.svg",this.VIP_LV_S_7="/assets/images/icon-set/player/vip/vip-totem-bg-7.svg",this.VIP_LV_S_8="/assets/images/icon-set/player/vip/vip-totem-bg-8.svg",this.VIP_LV_S_9="/assets/images/icon-set/player/vip/vip-totem-bg-9.svg",this.VIP_LV_S_10="/assets/images/icon-set/player/vip/vip-totem-bg-10.svg",this.VIP_LV_HISTORY="/assets/images/icon-set/player/vip/icon-history.svg",this.VIP_LV_CLEADER="/assets/images/icon-set/player/vip/icon-points.svg",this.VIP_LV_TOP_BG="",this.REFERRAL_HEAD_BANNER="assets/images/referral-program/referral-program-banner.png",this.REFERRAL_SOCIAL_ICON_FB="/assets/images/icon-set/socialicons/white/facebook.svg",this.REFERRAL_SOCIAL_ICON_INSTAGRAM="/assets/images/icon-set/socialicons/white/instagram.svg",this.REFERRAL_SOCIAL_ICON_TWITTER="/assets/images/icon-set/socialicons/white/twitter.svg",this.REFERRAL_SOCIAL_ICON_TELEGRAM="/assets/images/icon-set/socialicons/white/telegram-channel.svg",this.REFERRAL_SOCIAL_ICON_LINE="/assets/images/icon-set/socialicons/white/line-for-business.svg",this.REFERRAL_SOCIAL_ICON_ZALO="/assets/images/icon-set/socialicons/white/zalo.svg",this.REFERRAL_SOCIAL_ICON_PINTEREST="/assets/images/icon-set/socialicons/white/pinterest.svg",this.REFERRAL_SOCIAL_ICON_YOUTUBE="/assets/images/icon-set/socialicons/white/youtube.svg",this.REFERRAL_SOCIAL_ICON_LIKEE="/assets/images/icon-set/socialicons/white/likee.svg",this.REFERRAL_SOCIAL_ICON_FORUM="/assets/images/icon-set/socialicons/white/forum.svg",this.WITHDRAW_FREEZE_PERSONAL_BLOCK_BG_TOP="/assets/images/icon-set/player/withdraw/verify-personal-block-bg-top.png",this.DEPOSIT_PROMOTION_PULL_DOWN_CHECKED="",this.VERIFICATION_ICON_MAIL="/assets/images/icon-set/icon-mail-type01.svg",this.IMG_DOWNLOAD="/assets/images/icon-set/icon-download.svg",this.FORM_EYES_OPEN_ICON="/assets/images/icon-set/icon-eye-open-type03.svg",this.FORM_EYES_CLOSE_ICON="/assets/images/icon-set/icon-eye-close-type03.svg",this.REFERRAL_INVITATION_CODE_COPY="/assets/images/icon-set/icon-copy-type02.svg",this.REFERRAL_BONUS_GOALS_ICON="/assets/images/player/referral/detail-btn.svg",this.BG_AVAILABLE_AMOUNT="/assets/images/real-time-bonus/bg-available-amount.png",this.ICON_AVAILABLE_AMOUNT="/assets/images/real-time-bonus/icon-available-amount.svg",this.DECO_AVAILABLE_AMOUNT="/assets/images/real-time-bonus/deco-available-amount.png",this.RESCUE_AVAILABLE_AMOUNT="/assets/images/real-time-bonus/rescue-available-amount.png",this.ICON_EXCLAMATION="/assets/images/icon-set/icon-exclamation.svg",this.ICON_COLLAPSE="/assets/images/icon-set/icon-collapse.svg",this.ICON_EXPAND="/assets/images/icon-set/icon-expand.svg",this.GAMEBOX_LOGO_LABEL="/assets/images/games/game-box/logo-label.png",this.GAMEBOX_DEFAULT_PROVIDER_DEFAULT="/assets/images/game-provider-default/provider-default.jpg",this.GAMEBOX_DEFAULT_PROVIDER_WORLDMATCH="/assets/images/game-provider-default/provider-worldmatch.jpg",this.GAMEBOX_DEFAULT_PROVIDER_WM="/assets/images/game-provider-default/provider-wm.jpg",this.GAMEBOX_DEFAULT_PROVIDER_TCGLOTTOVN="/assets/images/game-provider-default/provider-tcglottovn.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAPSMARTSOFT="/assets/images/game-provider-default/provider-gapsmartsoft.jpg",this.GAMEBOX_DEFAULT_PROVIDER_SABA="/assets/images/game-provider-default/provider-saba.jpg",this.GAMEBOX_DEFAULT_PROVIDER_RICH88="/assets/images/game-provider-default/provider-rich88.jpg",this.GAMEBOX_DEFAULT_PROVIDER_PS="/assets/images/game-provider-default/provider-ps.jpg",this.GAMEBOX_DEFAULT_PROVIDER_PLAYNGO="/assets/images/game-provider-default/provider-playngo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_PG="/assets/images/game-provider-default/provider-pg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_NETENT="/assets/images/game-provider-default/provider-netent.jpg",this.GAMEBOX_DEFAULT_PROVIDER_MG="/assets/images/game-provider-default/provider-mg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_LUDO="/assets/images/game-provider-default/provider-ludo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_KA="/assets/images/game-provider-default/provider-ka.jpg",this.GAMEBOX_DEFAULT_PROVIDER_JOKER="/assets/images/game-provider-default/provider-joker.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMJOKER="/assets/images/game-provider-default/provider-awcmjoker.jpg",this.GAMEBOX_DEFAULT_PROVIDER_JDBASPRIBE="/assets/images/game-provider-default/provider-jdbaspribe.jpg",this.GAMEBOX_DEFAULT_PROVIDER_JDB="/assets/images/game-provider-default/provider-jdb.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAPGAMZIX="/assets/images/game-provider-default/provider-gapgamzix.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAPFUGASO="/assets/images/game-provider-default/provider-gapfugaso.jpg",this.GAMEBOX_DEFAULT_PROVIDER_EZUGI="/assets/images/game-provider-default/provider-ezugi.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAPEZUGI="/assets/images/game-provider-default/provider-ezugi.jpg",this.GAMEBOX_DEFAULT_PROVIDER_EVO="/assets/images/game-provider-default/provider-evo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_CQ9="/assets/images/game-provider-default/provider-cq9.jpg",this.GAMEBOX_DEFAULT_PROVIDER_BPOKER="/assets/images/game-provider-default/provider-bpoker.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAPBLUEPRINT="/assets/images/game-provider-default/provider-gapblueprint.jpg",this.GAMEBOX_DEFAULT_PROVIDER_BG="/assets/images/game-provider-default/provider-bg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMVR="/assets/images/game-provider-default/provider-awcmvr.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMSG="/assets/images/game-provider-default/provider-awcmsg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMSEXY="/assets/images/game-provider-default/provider-awcmsexy.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMRT="/assets/images/game-provider-default/provider-awcmrt.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMPT="/assets/images/game-provider-default/provider-awcmpt.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMPP="/assets/images/game-provider-default/provider-awcmpp.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMP8="/assets/images/game-provider-default/provider-awcmp8.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMKM="/assets/images/game-provider-default/provider-awcmkm.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMJILI="/assets/images/game-provider-default/provider-awcmjili.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMFC="/assets/images/game-provider-default/provider-awcmfc.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMFASTSPIN="/assets/images/game-provider-default/provider-awcmfastspin.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AGIN="/assets/images/game-provider-default/provider-agin.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AB="/assets/images/game-provider-default/provider-ab.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMYESBINGO="/assets/images/game-provider-default/provider-awcmyesbingo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMHOTROAD="/assets/images/game-provider-default/provider-awcmhotroad.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMASIAGAMING="/assets/images/game-provider-default/provider-xtreemasiagaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBLUEPRINTGAMING="/assets/images/game-provider-default/provider-xtreemblueprintgaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBNG="/assets/images/game-provider-default/provider-xtreembng.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMCQ9="/assets/images/game-provider-default/provider-xtreemcq9.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMDREAMGAMING="/assets/images/game-provider-default/provider-xtreemdreamgaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMEVOLUTION="/assets/images/game-provider-default/provider-xtreemevolution.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMEVOPLAY="/assets/images/game-provider-default/provider-xtreemevoplay.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMEZUGI="/assets/images/game-provider-default/provider-xtreemezugi.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMGAMEART="/assets/images/game-provider-default/provider-xtreemgameart.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMHABANERO="/assets/images/game-provider-default/provider-xtreemhabanero.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMHACKSAW="/assets/images/game-provider-default/provider-xtreemhacksaw.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMMICROGAMING="/assets/images/game-provider-default/provider-xtreemmicrogaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMNOVOMATIC="/assets/images/game-provider-default/provider-xtreemnovomatic.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPG="/assets/images/game-provider-default/provider-xtreempg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPLAYNGO="/assets/images/game-provider-default/provider-xtreemplayngo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPLAYSON="/assets/images/game-provider-default/provider-xtreemplayson.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPLAYSTAR="/assets/images/game-provider-default/provider-xtreemplaystar.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPRAGMATICPLAY="/assets/images/game-provider-default/provider-xtreempragmaticplay.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMRELAXGAMING="/assets/images/game-provider-default/provider-xtreemrelaxgaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMVIVO="/assets/images/game-provider-default/provider-xtreemvivo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMWM="/assets/images/game-provider-default/provider-xtreemwm.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBETGAMESTV="/assets/images/game-provider-default/provider-xtreembetgamestv.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBFGAMES="/assets/images/game-provider-default/provider-xtreembfgames.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBIGTIMEGAMING="/assets/images/game-provider-default/provider-xtreembigtimegaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMDREAMTECH="/assets/images/game-provider-default/provider-xtreemdreamtech.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMGALAXSYS="/assets/images/game-provider-default/provider-xtreemgalaxsys.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMINTOUCHGAMES="/assets/images/game-provider-default/provider-xtreemIntouchgames.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMNOLIMITCITY="/assets/images/game-provider-default/provider-xtreemnolimitcity.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMONETOUCHLIVE="/assets/images/game-provider-default/provider-xtreemonetouchlive.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPOPOK="/assets/images/game-provider-default/provider-xtreempopok.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMREDTIGER="/assets/images/game-provider-default/provider-xtreemredtiger.jpg",this.GAMEBOX_DEFAULT_PROVIDER_LUCKY365="/assets/images/game-provider-default/provider-lucky365.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GW="/assets/images/game-provider-default/provider-gw.jpg",this.WALLET_OTP_SUCCESS_DOC_ICON="/assets/images/icon-set/icon-apply-success.svg"}}},5552:(Be,K,l)=>{"use strict";l.d(K,{l:()=>s});class s{constructor(){this.MAIN_LOGO="/assets/images/logo.webp",this.MAIN_LOGO_2="/assets/images/logo.webp",this.MEMBER_LOGO="/assets/images/member-logo.png",this.MEMBER_LOGO_2="/assets/images/member-logo.png",this.HEADER_BACK_ICON="/assets/images/icon-set/icon-arrow-type01.svg",this.HEADER_REFRESH_ICON="/assets/images/icon-set/icon-refresh-type01.svg",this.FORM_CLEAR_ICON="/assets/images/icon-set/icon-cross-type09.svg",this.FORM_EYES_CLOSE_ICON="/assets/images/icon-set/icon-eye-close-type03.svg",this.FORM_EYES_OPEN_ICON="/assets/images/icon-set/icon-eye-open-type03.svg",this.FORM_REFRESH_ICON="/assets/images/icon-set/icon-refresh-type01.svg",this.FORM_UPLOAD_CAMERA_ICON="/assets/images/icon-set/player/kyc/upload.svg",this.FORM_UPLOAD_LOADING_ICON="/assets/images/icon-set/icon-loading.svg",this.FORM_UPLOAD_PENDING_ICON="/assets/images/icon-set/player/kyc/status-pending.svg",this.FORM_UPLOAD_SUCCESS_ICON="/assets/images/icon-set/player/kyc/status-success.svg",this.FORM_UPLOAD_FAILED_ICON="/assets/images/icon-set/player/kyc/status-failed.svg",this.FORM_CHECK_ICON="/assets/images/icon-set/icon-check-type05.svg",this.FORM_VERIFICATION_CHECK_ICON="/assets/images/icon-set/icon-check-type07.svg",this.FORM_QUESTION_ICON="/assets/images/icon-set/icon-question.svg",this.FORM_ADD_CARD_ICON="/assets/images/icon-set/icon-add-card.svg",this.CHECKBOX_CHECK_ICON="/images/rain/h5/check.svg",this.POP_CLOSE_ICON="/assets/images/icon-set/base/icon-close.svg",this.SIDENAV_SET_SHORTCUT_ICON="/assets/images/icon-set/theme-icon/member-menu/icon-setting.svg",this.SIDENAV_SET_SHORTCUT_EDIT_ICON="/assets/images/icon-set/theme-icon/member-menu/icon-setup.svg",this.SIDENAV_CATEGORY_ICON_AFTERLOGIN_BONUSES="/assets/images/icon-set/theme-icon/icon-bonuses.svg",this.SIDENAV_CATEGORY_ICON_WALLET_BONUSES="/assets/images/icon-set/theme-icon/icon-bonuses.svg",this.SIDENAV_CATEGORY_ICON_KRAIN="/assets/images/icon-set/theme-icon/icon-krain.svg",this.SIDENAV_CATEGORY_ICON_CRICKET="/assets/images/icon-set/theme-icon/icon-cricket.svg",this.SIDENAV_CATEGORY_ICON_SPORT="/assets/images/icon-set/theme-icon/icon-sport.svg",this.SIDENAV_CATEGORY_ICON_CASINO="/assets/images/icon-set/theme-icon/icon-casino.svg",this.SIDENAV_CATEGORY_ICON_SLOT="/assets/images/icon-set/theme-icon/icon-slot.svg",this.SIDENAV_CATEGORY_ICON_TABLE="/assets/images/icon-set/theme-icon/icon-table.svg",this.SIDENAV_CATEGORY_ICON_LOTTERY="/assets/images/icon-set/theme-icon/icon-lottery.svg",this.SIDENAV_CATEGORY_ICON_FISH="/assets/images/icon-set/theme-icon/icon-fish.svg",this.SIDENAV_CATEGORY_ICON_ARCADE="/assets/images/icon-set/theme-icon/icon-arcade.svg",this.SIDENAV_CATEGORY_ICON_CARD="/assets/images/icon-set/theme-icon/icon-card.svg",this.SIDENAV_CATEGORY_ICON_OTHER="/assets/images/icon-set/theme-icon/icon-other.svg",this.SIDENAV_CATEGORY_ICON_SV388="/assets/images/icon-set/theme-icon/icon-sv388.svg",this.SIDENAV_CATEGORY_ICON_CTB="/assets/images/icon-set/theme-icon/icon-ctb.svg",this.SIDENAV_CATEGORY_ICON_AWCME1SPORT="/assets/images/icon-set/theme-icon/icon-awcme1sport.svg",this.SIDENAV_CATEGORY_ICON_ICF="/assets/images/icon-set/theme-icon/icon-icf.svg",this.SIDENAV_CATEGORY_ICON_RAIN="/assets/images/icon-set/theme-icon/icon-rain.svg",this.SIDENAV_CATEGORY_ICON_CRASH="/assets/images/icon-set/theme-icon/icon-crash.svg",this.SIDENAV_CATEGORY_ICON_EXCLUSIVE="/assets/images/icon-set/theme-icon/icon-exclusive.svg",this.SIDENAV_CATEGORY_ICON_COCKFIGHTING="/assets/images/icon-set/theme-icon/icon-cockfighting.svg",this.SIDENAV_CATEGORY_ICON_ACTIVE_KRAIN="/assets/images/icon-set/theme-icon/icon-krain.svg",this.SIDENAV_CATEGORY_ICON_PROMOTION="/assets/images/icon-set/theme-icon/icon-promotion.svg",this.SIDENAV_CATEGORY_ICON_VIP="/assets/images/icon-set/theme-icon/icon-vip.svg",this.SIDENAV_CATEGORY_MEMBER_CENTER_ICON_VIP="/assets/images/icon-set/theme-icon/icon-vip.svg",this.SIDENAV_CATEGORY_ICON_AFFILIATE="/assets/images/icon-set/theme-icon/icon-affiliate.svg",this.SIDENAV_CATEGORY_ICON_DOWNLOAD="/assets/images/icon-set/theme-icon/icon-download.svg",this.SIDENAV_CATEGORY_ICON_DEPOSIT="/assets/images/icon-set/theme-icon/icon-deposit.svg",this.SIDENAV_CATEGORY_MEMBER_CENTER_ICON_DEPOSIT="/assets/images/icon-set/theme-icon/icon-deposit.svg",this.SIDENAV_CATEGORY_ICON_WITHDRAWAL="/assets/images/icon-set/theme-icon/icon-withdrawal.svg",this.SIDENAV_CATEGORY_MEMBER_CENTER_ICON_WITHDRAWAL="/assets/images/icon-set/theme-icon/icon-withdrawal.svg",this.SIDENAV_CATEGORY_ICON_TRANSFER="/assets/images/icon-set/theme-icon/icon-transfer.svg",this.SIDENAV_CATEGORY_ICON_BONUSES="/assets/images/icon-set/theme-icon/icon-bonuses.svg",this.SIDENAV_CATEGORY_ICON_VOUCHER="/assets/images/icon-set/theme-icon/icon-voucher.svg",this.SIDENAV_CATEGORY_ICON_REAL_TIME_BONUS="/assets/images/icon-set/theme-icon/icon-real-time-bonus.svg",this.SIDENAV_CATEGORY_ICON_FREE_SPIN="/assets/images/icon-set/theme-icon/icon-free-spin.svg",this.SIDENAV_CATEGORY_ICON_BET_RECORDS="/assets/images/icon-set/theme-icon/icon-bet-records.svg",this.SIDENAV_CATEGORY_ICON_TURNOVER="/assets/images/icon-set/theme-icon/icon-turnover.svg",this.SIDENAV_CATEGORY_ICON_RECORDS="/assets/images/icon-set/theme-icon/icon-records.svg",this.SIDENAV_CATEGORY_ICON_INFO="/assets/images/icon-set/theme-icon/icon-info.svg",this.SIDENAV_CATEGORY_ICON_KYC="/assets/images/icon-set/theme-icon/icon-kyc.svg",this.SIDENAV_CATEGORY_ICON_CHANGEPASSWORD="/assets/images/icon-set/theme-icon/icon-changepassword.svg",this.SIDENAV_CATEGORY_ICON_INBOX="/assets/images/icon-set/theme-icon/icon-inbox.svg",this.SIDENAV_CATEGORY_ICON_REFERRAL="/assets/images/icon-set/theme-icon/icon-referral.svg",this.SIDENAV_CATEGORY_ICON_REFERRAL_BONUS="/assets/images/icon-set/theme-icon/icon-referral-bonus.svg",this.SIDENAV_CATEGORY_ICON_REFERRAL_PROGRAM="/assets/images/icon-set/theme-icon/icon-referral-program.svg",this.SIDENAV_CATEGORY_ICON_BIOMETRIC="/assets/images/icon-set/theme-icon/icon-biometric.svg",this.SIDENAV_CATEGORY_ICON_MODE="/assets/images/icon-set/theme-icon/icon-switches.svg",this.SIDENAV_CATEGORY_ICON_DOCUMENTS="/assets/images/icon-set/theme-icon/icon-documents.svg",this.SIDENAV_CATEGORY_ICON_BANK="/assets/images/icon-set/theme-icon/icon-bank.svg",this.SIDENAV_CATEGORY_ICON_CRYPTO="/assets/images/icon-set/theme-icon/icon-crypto.svg",this.SIDENAV_CATEGORY_ICON_EWALLETS="/assets/images/icon-set/theme-icon/icon-ewallets.svg",this.SIDENAV_CATEGORY_ICON_UPI="/assets/images/icon-set/theme-icon/icon-upi.svg",this.SIDENAV_CATEGORY_ICON_FACEBOOK="/assets/images/icon-set/theme-icon/icon-facebook.svg",this.SIDENAV_CATEGORY_ICON_INSTAGRAM="/assets/images/icon-set/theme-icon/icon-instagram.svg",this.SIDENAV_CATEGORY_ICON_TWITTER="/assets/images/icon-set/theme-icon/icon-twitter.svg",this.SIDENAV_CATEGORY_ICON_TELEGRAM="/assets/images/icon-set/theme-icon/icon-telegram.svg",this.SIDENAV_CATEGORY_ICON_LINE="/assets/images/icon-set/theme-icon/icon-line.svg",this.SIDENAV_CATEGORY_ICON_ZALO="/assets/images/icon-set/theme-icon/icon-zalo.svg",this.SIDENAV_CATEGORY_ICON_PINTEREST="/assets/images/icon-set/theme-icon/icon-pinterest.svg",this.SIDENAV_CATEGORY_ICON_YOUTUBE="/assets/images/icon-set/theme-icon/icon-youtube.svg",this.SIDENAV_CATEGORY_ICON_LIKEE="/assets/images/icon-set/theme-icon/icon-likee.svg",this.SIDENAV_CATEGORY_ICON_FORUM="/assets/images/icon-set/theme-icon/icon-forum.svg",this.SIDENAV_CATEGORY_ICON_TIKTOK="/assets/images/icon-set/theme-icon/icon-tiktok.svg",this.SIDENAV_CATEGORY_ICON_ABOUT="/assets/images/icon-set/theme-icon/icon-about.svg",this.SIDENAV_CATEGORY_ICON_FACEBOOK_MESSENGER="/assets/images/icon-set/theme-icon/icon-facebook-messenger.svg",this.SIDENAV_CATEGORY_ICON_WHATSAPP="/assets/images/icon-set/theme-icon/icon-whatsapp.svg",this.SIDENAV_CATEGORY_ICON_IMO="/assets/images/icon-set/theme-icon/icon-imo.svg",this.SIDENAV_CATEGORY_ICON_EMAIL="/assets/images/icon-set/theme-icon/icon-email.svg",this.SIDENAV_CATEGORY_ICON_QQ="/assets/images/icon-set/theme-icon/icon-qq.svg",this.SIDENAV_CATEGORY_ICON_WECHAT="/assets/images/icon-set/theme-icon/icon-wechat.svg",this.SIDENAV_CATEGORY_ICON_SKYPE="/assets/images/icon-set/theme-icon/icon-skype.svg",this.SIDENAV_CATEGORY_ICON_BBM="/assets/images/icon-set/theme-icon/icon-bbm.svg",this.SIDENAV_CATEGORY_ICON_KAKAO_TALK="/assets/images/icon-set/theme-icon/icon-kakao-talk.svg",this.SIDENAV_CATEGORY_ICON_TALK="/assets/images/icon-set/theme-icon/icon-customer.svg",this.SIDENAV_CATEGORY_ICON_PHONE="/assets/images/icon-set/theme-icon/icon-phone.svg",this.SIDENAV_CATEGORY_ICON_VIBER="/assets/images/icon-set/theme-icon/icon-viber.svg",this.SIDENAV_CATEGORY_ICON_HOME="/assets/images/icon-set/theme-icon/icon-home.svg",this.SIDENAV_CATEGORY_ICON_LOGIN="/assets/images/icon-set/theme-icon/icon-login.svg",this.SIDENAV_CATEGORY_ICON_LOGOUT="/assets/images/icon-set/theme-icon/icon-logout.svg",this.SIDENAV_CATEGORY_ICON_HELP="/assets/images/icon-set/theme-icon/icon-help.svg",this.SIDENAV_CATEGORY_ICON_LEADERBOARD="/assets/images/icon-set/theme-icon/icon-leaderboard.svg",this.SIDENAV_CATEGORY_ICON_SPONSOR="/assets/images/icon-set/theme-icon/icon-sponsorship.svg",this.SIDENAV_CATEGORY_ICON_MOJ="/assets/images/icon-set/theme-icon/icon-moj.svg",this.SIDENAV_ICON_RESPONSIBLE_GAMING="/assets/images/icon-set/theme-icon/icon-responsible-gaming.png",this.SIDENAV_CATEGORY_ICON_BLOG="/assets/images/icon-set/theme-icon/icon-crickex-blog.svg",this.SIDENAV_CATEGORY_ICON_AMBASSADOR="/assets/images/icon-set/theme-icon/icon-ambassador.svg",this.SIDENAV_CATEGORY_ICON_PARTNERSHIP="/assets/images/icon-set/theme-icon/icon-partnership.svg",this.SIDENAV_EXCHANGE_ICON="/assets/images/icon-set/sports-icon/icon-exchange.svg",this.SIDENAV_SPORTBOOK_ICON="/assets/images/icon-set/sports-icon/icon-sportbook.svg",this.SIDENAV_KABADDI_ICON="/assets/images/icon-set/sports-icon/icon-kabaddi.svg",this.SIDENAV_BADMINTON_ICON="/assets/images/icon-set/sports-icon/icon-badminton.svg",this.SIDENAV_BASKETBALL_ICON="/assets/images/icon-set/sports-icon/icon-basketball.svg",this.SIDENAV_CRICKET_ICON="/assets/images/icon-set/sports-icon/icon-cricket.svg",this.SIDENAV_HORSEBOOK_ICON="/assets/images/icon-set/sports-icon/icon-horsebook.svg",this.SIDENAV_SBO_ICON="/assets/images/icon-set/sports-icon/icon-sbov2.svg",this.SIDENAV_SBO_ICON_DESKTOP="/assets/images/icon-set/sports-icon/dark/icon-sbov2.svg",this.SIDENAV_SOCCER_ICON="/assets/images/icon-set/sports-icon/icon-soccer.svg",this.SIDENAV_SV_388_ICON="/assets/images/icon-set/sports-icon/icon-sv388.svg",this.SIDENAV_UGV3_ICON="/assets/images/icon-set/sports-icon/icon-ugv3.svg",this.SIDENAV_VIRTUAL_ICON="/assets/images/icon-set/sports-icon/icon-virtual.svg",this.SIDENAV_ICF_ICON="/assets/images/icon-set/sports-icon/icon-icf.svg",this.SIDENAV_AWCMBC_ICON="/assets/images/icon-set/sports-icon/icon-awcmbc.svg",this.SIDENAV_AWCME1SPORT_ICON="/assets/images/icon-set/sports-icon/icon-awcme1sport.svg",this.SIDENAV_SBTECH_ICON="/assets/images/icon-set/sports-icon/icon-sbtech.svg",this.SIDENAV_SBTECHEU_ICON="/assets/images/icon-set/sports-icon/icon-sbtecheu.svg",this.SIDENAV_NST_ICON="/assets/images/icon-set/sports-icon/icon-nst.svg",this.SIDENAV_CFE_ICON="/assets/images/icon-set/sports-icon/icon-cfe.svg",this.SIDENAV_CTB_ICON="/assets/images/icon-set/sports-icon/icon-ctb.svg",this.SIDENAV_CMD_ICON="/assets/images/icon-set/sports-icon/icon-cmd.svg",this.SIDENAV_SABA_ICON="/assets/images/icon-set/sports-icon/icon-saba.svg",this.SIDENAV_AWCMPINNACLE_ICON="/assets/images/icon-set/sports-icon/icon-awcmpinnacle.png",this.SIDENAV_POWERELEVEN_ICON="/assets/images/icon-set/sports-icon/icon-powerelevenv2.svg",this.SIDENAV_POWERELEVENV2_ICON="/assets/images/icon-set/sports-icon/icon-powerelevenv2.svg",this.SIDENAV_AWCMRWB_ICON="/assets/images/icon-set/sports-icon/icon-awcmrwb.png",this.SIDENAV_TENNIS_ICON="/assets/images/icon-set/sports-icon/icon-tennis.svg",this.SIDENAV_ICON_REFERRAL="/assets/images/icon-set/theme-icon/icon-referral.svg",this.SIDENAV_ICON_REFERRAL_BONUS="/assets/images/icon-set/theme-icon/icon-referral-bonus.svg",this.SIDENAV_ICON_REFERRAL_PROGRAM="/assets/images/icon-set/theme-icon/icon-referral-program.svg",this.SIDENAV_ICON_REFERRAL_REMINDER_ICON="/assets/images/referral-program/icon-receive.png",this.SIDENAV_ICON_WINNER_BOARD="/assets/images/icon-set/theme-icon/icon-winner-board.svg",this.SIDENAV_HORSERACING_ICON="/assets/images/icon-set/sports-icon/icon-horseracing.svg",this.SIDENAV_GREYHOUNDRACING_ICON="/assets/images/icon-set/sports-icon/icon-greyhoundracing.svg",this.SIDENAV_ALL_PROVIDER_ICON="/assets/images/icon-set/theme-icon/icon-all-provider.svg",this.LEFT_MENU_HEAD_ICON_CASINO="/assets/images/leftmenu-head/icon-casino.svg",this.LEFT_MENU_HEAD_ICON_CTB="/assets/images/leftmenu-head/icon-ctb.svg",this.LEFT_MENU_HEAD_ICON_ACTIVE_CASINO="/assets/images/leftmenu-head/icon-casino-active.svg",this.LEFT_MENU_HEAD_ICON_ACTIVE_CTB="/assets/images/leftmenu-head/icon-ctb-active.svg",this.LEFT_MENU_HEAD_ICON_SV388="/assets/images/leftmenu-head/icon-sv388.svg",this.LEFT_MENU_HEAD_ICON_ACTIVE_SV388="/assets/images/leftmenu-head/icon-sv388-active.svg",this.LEFT_MENU_HEAD_ICON_ICF="/assets/images/leftmenu-head/icon-icf.svg",this.LEFT_MENU_HEAD_ICON_ACTIVE_ICF="/assets/images/leftmenu-head/icon-icf-active.svg",this.LEFT_MENU_HEAD_ICON_CRICKET="/assets/images/desktop/leftmenu-head/icon-cricket.svg",this.LEFT_MENU_HEAD_ICON_JILI="/assets/images/leftmenu-head/icon-casino.svg",this.LEFT_MENU_HEAD_ICON_ACTIVE_JILI="/assets/images/leftmenu-head/icon-casino-active.svg",this.BOARD_WALLET_REFRESH_ICON="/assets/images/icon-set/icon-refresh-type01.svg",this.ANNOUNVEMENT_ICON="/assets/images/icon-set/base/announcement-icon.svg",this.NAV_ITEM_ICON="/assets/images/icon-set/index-theme-icon/card-triangle.svg",this.NAV_ITEM_NEW_ICON="/assets/images/icon-set/index-theme-icon/icon-new.svg",this.NAV_ALL_PROVIDER_ICON="/assets/images/icon-set/theme-icon/icon-all-provider.svg",this.NAV_EXCHANGE_ICON="/assets/images/icon-set/sports-icon/icon-exchange.svg",this.NAV_SPORTBOOK_ICON="/assets/images/icon-set/sports-icon/icon-sportbook.svg",this.NAV_KABADDI_ICON="/assets/images/icon-set/sports-icon/icon-kabaddi.svg",this.NAV_BADMINTON_ICON="/assets/images/icon-set/sports-icon/icon-badminton.svg",this.NAV_BASKETBALL_ICON="/assets/images/icon-set/sports-icon/icon-basketball.svg",this.NAV_CRICKET_ICON="/assets/images/icon-set/sports-icon/icon-cricket.svg",this.NAV_HORSEBOOK_ICON="/assets/images/icon-set/sports-icon/icon-horsebook.svg",this.NAV_SBO_ICON="/assets/images/icon-set/sports-icon/icon-sbov2.svg",this.NAV_SOCCER_ICON="/assets/images/icon-set/sports-icon/icon-soccer.svg",this.NAV_SV_388_ICON="/assets/images/icon-set/sports-icon/icon-sv388.svg",this.NAV_UGV3_ICON="/assets/images/icon-set/sports-icon/icon-ugv3.svg",this.NAV_VIRTUAL_ICON="/assets/images/icon-set/sports-icon/icon-virtual.svg",this.NAV_ICF_ICON="/assets/images/icon-set/sports-icon/icon-icf.svg",this.NAV_AWCMBC_ICON="/assets/images/icon-set/sports-icon/icon-awcmbc.svg",this.NAV_AWCME1SPORT_ICON="/assets/images/icon-set/sports-icon/icon-awcme1sport.svg",this.NAV_SBTECH_ICON="/assets/images/icon-set/sports-icon/icon-sbtech.svg",this.NAV_NST_ICON="/assets/images/icon-set/sports-icon/icon-nst.svg",this.NAV_CFE_ICON="/assets/images/icon-set/sports-icon/icon-cfe.svg",this.NAV_TENNIS_ICON="/assets/images/icon-set/sports-icon/icon-tennis.svg",this.NAV_GREYHOUNDRACING_ICON="/assets/images/icon-set/sports-icon/icon-greyhoundracing.svg",this.NAV_GREYHOUND_ICON="/assets/images/icon-set/sports-icon/icon-greyhound.svg",this.NAV_CTB_ICON="/assets/images/icon-set/sports-icon/icon-ctb.svg",this.NAV_POWERELEVEN_ICON="/assets/images/icon-set/sports-icon/icon-powerelevenv2.svg",this.NAV_POWERELEVENV2_ICON="/assets/images/icon-set/sports-icon/icon-powerelevenv2.svg",this.NAV_AWCMRWB_ICON="/assets/images/icon-set/sports-icon/icon-awcmrwb.png",this.NAV_HORSERACING_ICON="/assets/images/icon-set/sports-icon/icon-horseracing.svg",this.NAV_CMD_ICON="/assets/images/icon-set/sports-icon/icon-cmd.svg",this.NAV_ICON_AWCMPINNACLE="/assets/images/icon-set/sports-icon/icon-awcmpinnacle.png",this.SA_MAINTENANCE_ICON="/assets/images/icon-set/base/icon-road-cones.svg",this.SA_BACK_TOCRICKET_TAP_ICON="/assets/images/icon-set/base/icon-tap.svg",this.NAV_CATEGORY_ICON_SPORT="/assets/images/icon-set/theme-icon/icon-sport.svg",this.NAV_CATEGORY_ICON_CASINO="/assets/images/icon-set/theme-icon/icon-casino.svg",this.NAV_CATEGORY_ICON_SLOT="/assets/images/icon-set/theme-icon/icon-slot.svg",this.NAV_CATEGORY_ICON_TABLE="/assets/images/icon-set/theme-icon/icon-table.svg",this.NAV_CATEGORY_ICON_FISH="/assets/images/icon-set/theme-icon/icon-fish.svg",this.NAV_CATEGORY_ICON_ARCADE="/assets/images/icon-set/theme-icon/icon-arcade.svg",this.NAV_CATEGORY_ICON_CARD="/assets/images/icon-set/theme-icon/icon-card.svg",this.NAV_CATEGORY_ICON_LOTTERY="/assets/images/icon-set/theme-icon/icon-lottery.svg",this.NAV_CATEGORY_ICON_OTHER="/assets/images/icon-set/theme-icon/icon-other.svg",this.NAV_CATEGORY_ICON_RAIN="/assets/images/icon-set/theme-icon/icon-rain.svg",this.NAV_CATEGORY_ICON_CRASH="/assets/images/icon-set/theme-icon/icon-crash.svg",this.NAV_CATEGORY_ICON_COCKFIGHTING="/assets/images/icon-set/theme-icon/icon-cockfighting.svg",this.NAV_CATEGORY_ICON_EXCLUSIVE="/assets/images/icon-set/theme-icon/icon-exclusive.svg",this.NAV_CATEGORY_ICON_ACTIVE_SPORT="/assets/images/icon-set/theme-icon/icon-sport.svg",this.NAV_CATEGORY_ICON_ACTIVE_CASINO="/assets/images/icon-set/theme-icon/icon-casino.svg",this.NAV_CATEGORY_ICON_ACTIVE_SLOT="/assets/images/icon-set/theme-icon/icon-slot.svg",this.NAV_CATEGORY_ICON_ACTIVE_TABLE="/assets/images/icon-set/theme-icon/icon-table.svg",this.NAV_CATEGORY_ICON_ACTIVE_FISH="/assets/images/icon-set/theme-icon/icon-fish.svg",this.NAV_CATEGORY_ICON_ACTIVE_ARCADE="/assets/images/icon-set/theme-icon/icon-arcade.svg",this.NAV_CATEGORY_ICON_ACTIVE_CARD="/assets/images/icon-set/theme-icon/icon-card.svg",this.NAV_CATEGORY_ICON_ACTIVE_LOTTERY="/assets/images/icon-set/theme-icon/icon-lottery.svg",this.NAV_CATEGORY_ICON_ACTIVE_OTHER="/assets/images/icon-set/theme-icon/icon-other.svg",this.NAV_CATEGORY_ICON_ACTIVE_RAIN="/assets/images/icon-set/theme-icon/icon-rain.svg",this.NAV_CATEGORY_ICON_ACTIVE_CRASH="/assets/images/icon-set/theme-icon/icon-crash.svg",this.NAV_CATEGORY_ICON_ACTIVE_COCKFIGHTING="/assets/images/icon-set/theme-icon/icon-cockfighting.svg",this.NAV_CATEGORY_ICON_ACTIVE_EXCLUSIVE="/assets/images/icon-set/theme-icon/icon-exclusive.svg",this.NAV_SABA_ICON="/assets/images/icon-set/sports-icon/icon-saba.svg",this.SUB_NAV_BG="/assets/images/desktop/sub-nav/bg-sub-nav.jpg",this.SLOT_SLIDER_DEFAULT_BANNER="/assets/images/games/slot-banner-default.jpg",this.SA_LOADER_BALL_BASKETBALL="/assets/images/icon-set/sports-icon/icon-basketball.svg",this.SA_LOADER_BALL_SOCCER="/assets/images/icon-set/sports-icon/icon-soccer.svg",this.SA_LOADER_BALL_CRICKET="/assets/images/icon-set/sports-icon/icon-cricket.svg",this.SEARCH_SEARCH_ICON="/assets/images/icon-set/icon-search-type01.svg",this.SEARCH_ALL_PROVIDER_ICON="/assets/images/icon-set/theme-icon/icon-all-provider.svg",this.POP_SEARCH_BACK_ICON="/assets/images/icon-set/icon-arrow-type01.svg",this.POP_SEARCH_SEARCH_ICON="/assets/images/icon-set/icon-search-type01.svg",this.POP_TRANSFER_WALLET_REFRESH_ICON="/assets/images/icon-set/icon-refresh-type01.svg",this.POP_BONUSWALLET_LVUP_BACK_ICON="/assets/images/icon-set/icon-arrow-type01.svg",this.POP_VERIFICATION_EXPIRED="/assets/images/icon-failed.svg",this.PROMOTION_CLOCK_ICON="/assets/images/icon-set/icon-clock.svg",this.PROMOTION_BOUNSWALLET_CHECK_ICON="/assets/images/icon-set/icon-check-type04.svg",this.APP_DOWNLOAD_ANDROID_ICON="/assets/images/icon-set/app-download/androidicon.svg",this.APP_DOWNLOAD_IOS_ICON="/assets/images/icon-set/app-download/iosicon.svg",this.APP_DOWNLOAD_PHONE_KV="",this.LAUNCH_LOGO="/assets/images/launch-game/logo.png",this.LAUNCH_LOGO_2="/assets/images/launch-game/logo.png",this.LANUCH_NODEPOSIT_LOGO="/assets/images/theme/white/logo.png",this.LAUNCH_GAME_LOGO="/assets/images/theme/white/logo.png",this.LAUNCH_GAME_LOGO_2="/assets/images/theme/white/logo.png",this.GAME_HALL_PLAYER_ICON="/assets/images/icon-set/icon-player.svg",this.GAME_HALL_FOR_YOU_ICON="/assets/images/icon-set/games/icon-for-you.svg",this.GAME_HALL_TOP_GAMES_ICON="/assets/images/icon-set/games/icon-top-games.svg",this.GAME_HALL_NEW_GAMES_ICON="/assets/images/icon-set/games/icon-new-games.svg",this.GAME_HALL_JACKPOT_ICON="/assets/images/icon-set/games/icon-jackpot.svg",this.GAME_HALL_GAME_SHOW_ICON="/assets/images/icon-set/games/icon-game-show.svg",this.GAME_HALL_SICBO_ICON="/assets/images/icon-set/games/icon-sicbo.svg",this.GAME_HALL_AVIATOR_CASINO_ICON="/assets/images/icon-set/games/icon-aviator-casino.svg",this.GAME_HALL_FILTER_ICON="/assets/images/icon-set/icon-filter.svg",this.GAME_LIKE_ICON="/assets/images/icon-set/icon-like.svg",this.GAME_DISLIKE_ICON="/assets/images/icon-set/icon-dislike.svg",this.HOME_CRICKET_BG="/assets/images/desktop/bg-cricket.png",this.PAYMENT_METHOD_ESEWA="/assets/images/payment/esewa-w.webp",this.IMG_TOOLBAR_ICON_HOME="/assets/images/icon-set/theme-icon/icon-home.svg",this.IMG_TOOLBAR_ICON_PROMOTION="/assets/images/icon-set/theme-icon/icon-promotion.svg",this.IMG_TOOLBAR_ICON_DEPOSIT="/assets/images/icon-set/theme-icon/icon-deposit.svg",this.IMG_TOOLBAR_ICON_INFO="/assets/images/icon-set/theme-icon/icon-info.svg",this.IMG_TOOLBAR_ICON_INBOX="/assets/images/icon-set/theme-icon/icon-inbox.svg",this.PROFILE_VIP_ARROW_ICON="/assets/images/icon-set/player/vip/icon-arrow.svg",this.VIP_CARD_HISTORY_ICON="/assets/images/icon-set/player/vip/icon-history.svg",this.VIP_TOTAL_RECORD_ICON="/assets/images/icon-set/player/vip/icon-points.svg",this.ACCORDION_INFO_ICON="/assets/images/icon-set/player/kyc/accordion-tips.svg",this.ACCORDION_ARROW_ICON="/assets/images/icon-set/player/kyc/accordion-arrow.svg",this.WALLET_RECOMMOND_TAG_ICON="/assets/images/icon-set/icon-recommond.svg",this.WALLET_BANK_CARD_COPY_ICON="/assets/images/icon-set/icon-copy.svg",this.WALLET_CRYPTO_SWITCH_ICON="/assets/images/icon-set/player/crypto/icon-switch.svg",this.WALLET_FREE_TAG_ICON="/assets/images/icon-set/icon-free.svg",this.WALLET_OTP_SUCCESS_DOC_ICON="/assets/images/icon-set/icon-apply-success.svg",this.WALLET_UPLOAD_DOC_ICON="/assets/images/icon-set/icon-folder.svg",this.TRANSFER_ANI_PLATFORM_LOGO="/assets/images/theme/white/logo.png",this.TRANSFER_ANI_ACCOUNT_LOGO="/assets/images/player/wallet/account.svg",this.TRANSACTION_RECORD_FILTER_ICON="/assets/images/icon-set/index-theme-icon/games-filter-icon.svg",this.TRANSACTION_RECORD_CALENDAR_ICON="/assets/images/icon-set/icon-calendar-type02.svg",this.TRANSACTION_INFO_CHECK_ICON="/assets/images/icon-set/icon-check-type06.svg",this.BETTING_RECORD_TOOLTIPS_ICON="/assets/images/icon-set/icon-question.svg",this.CCS_BETTING_DETAILS_COLLAPSE_ARROW_ICON="/assets/images/icon-set/player/kyc/accordion-arrow.svg",this.MAIL_SPEAKER_ICON="/assets/images/icon-set/icon-speaker.svg",this.MAIL_EDITOR_ICON="/assets/images/icon-set/icon-editor.svg",this.MAIL_EDITOR_CHOOSE_ICON="/assets/images/icon-set/icon-check-type04.svg",this.POP_TURNOVER_ARROW_ICON="/assets/images/icon-set/icon-arrow-type01.svg",this.POP_TURNOVER_CHECK_ICON="/assets/images/icon-set/icon-check-type01.svg",this.FOOTER_LOGO="/assets/images/logo.webp",this.IMG_BIOMETRIC="/assets/images/icon-set/icon-face-id.svg",this.IMG_HEADER_PROFILE_BG="/assets/images/player/bg-header-profile.jpg",this.IMG_SEARCH_ARROW="/assets/images/icon-set/icon-arrow-type09.svg",this.IMG_PLAYER_EDITOR="/assets/images/icon-set/icon-editor.svg",this.IMG_BANK_CARD_COPY="/assets/images/icon-set/icon-copy.svg",this.IMG_PLAYER_FORM_CALENDAR="/assets/images/icon-set/icon-calendar-type02.svg",this.IMG_HEADER_SERVICE_ICON="/assets/images/icon-set/theme-icon/icon-customer.svg",this.MEMBER_NO_VIP="/assets/images/player/memberpic.svg",this.MEMBER_VIP_LV_1="/assets/images/player/vip/memberpic-lv1.svg",this.MEMBER_VIP_LV_2="/assets/images/player/vip/memberpic-lv2.svg",this.MEMBER_VIP_LV_3="/assets/images/player/vip/memberpic-lv3.svg",this.MEMBER_VIP_LV_4="/assets/images/player/vip/memberpic-lv4.svg",this.MEMBER_VIP_LV_5="/assets/images/player/vip/memberpic-lv5.svg",this.MEMBER_VIP_LV_6="/assets/images/player/vip/memberpic-lv6.svg",this.MEMBER_VIP_LV_7="/assets/images/player/vip/memberpic-lv7.svg",this.MEMBER_VIP_LV_8="/assets/images/player/vip/memberpic-lv8.svg",this.MEMBER_VIP_LV_9="/assets/images/player/vip/memberpic-lv9.svg",this.MEMBER_VIP_LV_10="/assets/images/player/vip/memberpic-lv10.svg",this.BG_AVAILABLE_AMOUNT="/assets/images/real-time-bonus/bg-available-amount.png",this.ICON_AVAILABLE_AMOUNT="/assets/images/real-time-bonus/icon-available-amount.svg",this.DECO_AVAILABLE_AMOUNT="/assets/images/real-time-bonus/deco-available-amount.png",this.RESCUE_AVAILABLE_AMOUNT="/assets/images/real-time-bonus/rescue-available-amount.png",this.ICON_EXCLAMATION="/assets/images/icon-set/icon-exclamation.svg",this.ICON_COLLAPSE="/assets/images/icon-set/icon-collapse.svg",this.ICON_EXPAND="/assets/images/icon-set/icon-expand.svg",this.GAMEBOX_LOGO_LABEL="/assets/images/games/game-box/logo-label.png",this.GAMEBOX_DEFAULT_PROVIDER_DEFAULT="/assets/images/game-provider-default/provider-default.jpg",this.GAMEBOX_DEFAULT_PROVIDER_WORLDMATCH="/assets/images/game-provider-default/provider-worldmatch.jpg",this.GAMEBOX_DEFAULT_PROVIDER_WM="/assets/images/game-provider-default/provider-wm.jpg",this.GAMEBOX_DEFAULT_PROVIDER_TCGLOTTOVN="/assets/images/game-provider-default/provider-tcglottovn.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAPSMARTSOFT="/assets/images/game-provider-default/provider-gapsmartsoft.jpg",this.GAMEBOX_DEFAULT_PROVIDER_SABA="/assets/images/game-provider-default/provider-saba.jpg",this.GAMEBOX_DEFAULT_PROVIDER_RICH88="/assets/images/game-provider-default/provider-rich88.jpg",this.GAMEBOX_DEFAULT_PROVIDER_PS="/assets/images/game-provider-default/provider-ps.jpg",this.GAMEBOX_DEFAULT_PROVIDER_PLAYNGO="/assets/images/game-provider-default/provider-playngo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_PG="/assets/images/game-provider-default/provider-pg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_NETENT="/assets/images/game-provider-default/provider-netent.jpg",this.GAMEBOX_DEFAULT_PROVIDER_MG="/assets/images/game-provider-default/provider-mg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_LUDO="/assets/images/game-provider-default/provider-ludo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_KA="/assets/images/game-provider-default/provider-ka.jpg",this.GAMEBOX_DEFAULT_PROVIDER_JOKER="/assets/images/game-provider-default/provider-joker.jpg",this.GAMEBOX_DEFAULT_PROVIDER_JDBASPRIBE="/assets/images/game-provider-default/provider-jdbaspribe.jpg",this.GAMEBOX_DEFAULT_PROVIDER_JDB="/assets/images/game-provider-default/provider-jdb.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAPGAMZIX="/assets/images/game-provider-default/provider-gapgamzix.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAPFUGASO="/assets/images/game-provider-default/provider-gapfugaso.jpg",this.GAMEBOX_DEFAULT_PROVIDER_EZUGI="/assets/images/game-provider-default/provider-ezugi.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAPEZUGI="/assets/images/game-provider-default/provider-ezugi.jpg",this.GAMEBOX_DEFAULT_PROVIDER_EVO="/assets/images/game-provider-default/provider-evo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_CQ9="/assets/images/game-provider-default/provider-cq9.jpg",this.GAMEBOX_DEFAULT_PROVIDER_BPOKER="/assets/images/game-provider-default/provider-bpoker.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAPBLUEPRINT="/assets/images/game-provider-default/provider-gapblueprint.jpg",this.GAMEBOX_DEFAULT_PROVIDER_BG="/assets/images/game-provider-default/provider-bg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMVR="/assets/images/game-provider-default/provider-awcmvr.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMSG="/assets/images/game-provider-default/provider-awcmsg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMSEXY="/assets/images/game-provider-default/provider-awcmsexy.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMRT="/assets/images/game-provider-default/provider-awcmrt.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMPT="/assets/images/game-provider-default/provider-awcmpt.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMPP="/assets/images/game-provider-default/provider-awcmpp.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMP8="/assets/images/game-provider-default/provider-awcmp8.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMKM="/assets/images/game-provider-default/provider-awcmkm.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMJILI="/assets/images/game-provider-default/provider-awcmjili.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMFC="/assets/images/game-provider-default/provider-awcmfc.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMFASTSPIN="/assets/images/game-provider-default/provider-awcmfastspin.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AGIN="/assets/images/game-provider-default/provider-agin.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AB="/assets/images/game-provider-default/provider-ab.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMYESBINGO="/assets/images/game-provider-default/provider-awcmyesbingo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMHOTROAD="/assets/images/game-provider-default/provider-awcmhotroad.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMILOVEU="/assets/images/game-provider-default/provider-awcmiloveu.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMASIAGAMING="/assets/images/game-provider-default/provider-xtreemasiagaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBLUEPRINTGAMING="/assets/images/game-provider-default/provider-xtreemblueprintgaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBNG="/assets/images/game-provider-default/provider-xtreembng.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMCQ9="/assets/images/game-provider-default/provider-xtreemcq9.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMDREAMGAMING="/assets/images/game-provider-default/provider-xtreemdreamgaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMEVOLUTION="/assets/images/game-provider-default/provider-xtreemevolution.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMEVOPLAY="/assets/images/game-provider-default/provider-xtreemevoplay.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMEZUGI="/assets/images/game-provider-default/provider-xtreemezugi.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMGAMEART="/assets/images/game-provider-default/provider-xtreemgameart.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMHABANERO="/assets/images/game-provider-default/provider-xtreemhabanero.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMHACKSAW="/assets/images/game-provider-default/provider-xtreemhacksaw.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMMICROGAMING="/assets/images/game-provider-default/provider-xtreemmicrogaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMNOVOMATIC="/assets/images/game-provider-default/provider-xtreemnovomatic.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPG="/assets/images/game-provider-default/provider-xtreempg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPLAYNGO="/assets/images/game-provider-default/provider-xtreemplayngo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPLAYSON="/assets/images/game-provider-default/provider-xtreemplayson.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPLAYSTAR="/assets/images/game-provider-default/provider-xtreemplaystar.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPRAGMATICPLAY="/assets/images/game-provider-default/provider-xtreempragmaticplay.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMRELAXGAMING="/assets/images/game-provider-default/provider-xtreemrelaxgaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMVIVO="/assets/images/game-provider-default/provider-xtreemvivo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMWM="/assets/images/game-provider-default/provider-xtreemwm.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBETGAMESTV="/assets/images/game-provider-default/provider-xtreembetgamestv.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBFGAMES="/assets/images/game-provider-default/provider-xtreembfgames.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBIGTIMEGAMING="/assets/images/game-provider-default/provider-xtreembigtimegaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMDREAMTECH="/assets/images/game-provider-default/provider-xtreemdreamtech.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMGALAXSYS="/assets/images/game-provider-default/provider-xtreemgalaxsys.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMINTOUCHGAMES="/assets/images/game-provider-default/provider-xtreemIntouchgames.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMNOLIMITCITY="/assets/images/game-provider-default/provider-xtreemnolimitcity.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMONETOUCHLIVE="/assets/images/game-provider-default/provider-xtreemonetouchlive.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPOPOK="/assets/images/game-provider-default/provider-xtreempopok.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMREDTIGER="/assets/images/game-provider-default/provider-xtreemredtiger.jpg",this.GAMEBOX_DEFAULT_PROVIDER_LUCKY365="/assets/images/game-provider-default/provider-lucky365.jpg",this.GAMEBOX_DEFAULT_PROVIDER_VIACASINO="/assets/images/game-provider-default/provider-viacasino.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GW="/assets/images/game-provider-default/provider-gw.jpg",this.REFERRAL_HEAD_BANNER_DESKTOP="assets/images/referral-program/head-banner-desktop.png",this.REFERRAL_HEAD_BANNER="assets/images/referral-program/referral-program-banner.png",this.REFERRAL_PANEL_DESKTOP="assets/images/referral-program/referral-panel-bg-2-desktop.png",this.REFERRAL_PANEL="/assets/images/referral-program/referral-panel-bg-2.png",this.REFERRAL_FLOWCH_1="assets/images/referral-program/referral-program-flowch-1.png",this.REFERRAL_FLOWCH_2="assets/images/referral-program/referral-program-flowch-2.png",this.REFERRAL_FLOWCH_3="assets/images/referral-program/referral-program-flowch-3.png",this.REFFERAL_LEADERBOARD_RANK="assets/images/referral-program/referral-program-leaderboard-rank",this.VERIFICATION_ICON_MAIL="/assets/images/icon-set/icon-mail-type01.svg",this.IMG_DOWNLOAD="/assets/images/icon-set/icon-download.svg",this.MAIN_LANDING_PAGE_CASINO="/assets/images/main-landing-page/dark/casino.svg",this.MAIN_LANDING_PAGE_SPORT="/assets/images/main-landing-page/dark/sport.svg",this.MAIN_LANDING_PAGE_DEPOSIT="/assets/images/main-landing-page/dark/deposit.svg",this.FOOTER_TOOLBAR_MENU="/assets/images/footer-toolbar/dark/menu.svg",this.FOOTER_TOOLBAR_MENU_ACTIVE="/assets/images/footer-toolbar/dark/menu-active.svg",this.FOOTER_TOOLBAR_SPORT="/assets/images/footer-toolbar/dark/sport.svg",this.FOOTER_TOOLBAR_SPORT_ACTIVE="/assets/images/footer-toolbar/dark/sport-active.svg",this.FOOTER_TOOLBAR_REFERRAL="/assets/images/footer-toolbar/dark/referral.svg",this.FOOTER_TOOLBAR_REFERRAL_ACTIVE="/assets/images/footer-toolbar/dark/referral-active.svg",this.FOOTER_TOOLBAR_CASINO="/assets/images/footer-toolbar/dark/casino.svg",this.FOOTER_TOOLBAR_CASINO_ACTIVE="/assets/images/footer-toolbar/dark/casino-active.svg",this.FOOTER_TOOLBAR_PROMOTION="/assets/images/footer-toolbar/dark/promotion.svg",this.FOOTER_TOOLBAR_PROMOTION_ACTIVE="/assets/images/footer-toolbar/dark/promotion-active.svg",this.FOOTER_ANDROID_DOWNLOAD="/assets/images/footer/app-download/android-download.svg",this.REFERRAL_INVITATION_CODE_COPY="/assets/images/icon-set/icon-copy.svg",this.REFERRAL_BONUS_GOALS_ICON="/assets/images/icon-set/icon-search-type01.svg"}}},78325:(Be,K,l)=>{"use strict";l.d(K,{Fu:()=>ve,Xe:()=>Y});var s=l(10467),h=l(60177),e=l(54438),u=l(71996),m=l(20753),C=l(60328),w=l(44634),M=l(93166),b=l(84412),R=l(84572),L=l(70152),x=l(96354),B=l(88141);function Y(oe){return`image-link-${oe}`}const j=new e.nKC("DEFAULT_TONE_GETTER");let ve=(()=>{class oe{get currentTone(){return this._tone.getValue()}get currentMode(){return this._mode.getValue()}get imageLink(){return this._imageLink}set imageLink(ae){this._imageLink=ae,this.imageLink$.next(ae)}constructor(ae,pe){this.injector=(0,e.WQX)(e.zZn),this.timestamp=(0,e.WQX)(u.i).get("timestamp")||(new Date).getTime(),this.defaultToneGetter=(0,e.WQX)(j,{optional:!0}),this.environment=(0,e.WQX)(C.E),this.systemConfig=(0,e.WQX)(m.n),this._imageLink=(0,e.WQX)(w.p,{optional:!0}),this.isBrowser=(0,h.UE)((0,e.WQX)(e.Agw)),this._tone=new b.t(""),this._mode=new b.t(""),this.themeLinks=[],this.imageLink$=new b.t(this._imageLink),this.checkVersion(),this.head=pe.head,this._renderer=ae.createRenderer(null,null),this.mode$=this._mode,this.tone$=this._tone,this.themeFactors$=(0,R.z)([this.mode$,this.tone$]).pipe((0,L.B)(50),(0,x.T)(([de,Pe])=>{const W=M.U.isMobileBrowser(),J=this.environment.desktopMode;return[de,Pe,J?W?"mobile":"desktop":void 0,J]}),(0,B.M)(([de,Pe,W,J])=>{const te=pe.querySelector("html"),q=pe.querySelector("mcd-root");te.classList.remove("is-mobile","is-desktop"),te.style.removeProperty("--is-desktop"),te.style.setProperty("--is-desktop","desktop"===W?"1":"0"),"mobile"===W?this.isBrowser&&te.classList.add("is-mobile"):"desktop"===W&&(this.isBrowser&&te.classList.add("is-desktop"),te.style.setProperty("font-size","3.75px"),pe.querySelector("body").style.setProperty("font-size","16px"),"custom"!==J&&(q.style.setProperty("width","375px"),q.style.setProperty("margin","0 auto"),q.style.setProperty("transform","translateZ(0)"),q.style.setProperty("display","block"),q.style.setProperty("overflow","hidden")))}),(0,x.T)(([de,Pe,W])=>[`${Pe??""}${de&&Pe?"-":""}${de??""}`,W])),this.initSubscription()}setTone(ae){this._tone.next(ae)}setMode(ae){this._mode.next(ae)}checkVersion(){if(!this.isBrowser)return;const ae=this.defaultToneGetter?.();ae&&this.setTone(ae)}initSubscription(){var ae=this;this.themeFactors$.subscribe(function(){var pe=(0,s.A)(function*([de,Pe]){if(!de)return;const W=`${de??""}${de&&Pe?"-":""}${Pe??""}.css`;yield ae.loadCss(W),2==ae.themeLinks.length&&ae._renderer.removeChild(ae.head,ae.themeLinks.shift());try{ae.imageLink=ae.injector.get(Y(de))}catch(J){ae.systemConfig.production||console.error(J)}});return function(de){return pe.apply(this,arguments)}}())}loadCss(ae){var pe=this;return(0,s.A)(function*(){return new Promise(de=>{const Pe=pe._renderer.createElement("link");pe._renderer.setAttribute(Pe,"from","switch-theme"),pe._renderer.setAttribute(Pe,"ssr",`${!pe.isBrowser}`),pe._renderer.setAttribute(Pe,"rel","stylesheet"),pe._renderer.setAttribute(Pe,"type","text/css"),pe._renderer.setAttribute(Pe,"href",pe.addTimestamp(ae)),pe._renderer.setProperty(Pe,"onload",de),pe._renderer.appendChild(pe.head,Pe),pe.themeLinks=[...pe.themeLinks,Pe]})})()}addTimestamp(ae){return ae&&`${ae}?v=${this.timestamp}`}static#e=this.\u0275fac=function(pe){return new(pe||oe)(e.KVO(e._9s),e.KVO(h.qQ))};static#t=this.\u0275prov=e.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})()},59574:(Be,K,l)=>{"use strict";l.d(K,{$:()=>m});var s=l(60177),h=l(85964),e=l(54438);const u=[h.gA,h.WX,h.S5];let m=(()=>{class C{static#e=this.\u0275fac=function(b){return new(b||C)};static#t=this.\u0275mod=e.$C({type:C});static#n=this.\u0275inj=e.G2t({providers:[...u],imports:[s.MD]})}return C})()},85964:(Be,K,l)=>{"use strict";l.d(K,{WX:()=>ae,gA:()=>H,S5:()=>pe});var s=l(54438),h=l(30617),e=l(84572),u=l(23294),m=l(70152),C=l(96354),w=l(69568),M=l(10467),b=l(84412),R=l(44634),L=l(20753),x=l(81084),B=l(89079),Y=l(60177);let j=(()=>{class de{constructor(){this.isBrowser=(0,Y.UE)((0,s.WQX)(s.Agw)),this.systemConfig=(0,s.WQX)(L.n),this.cdnservice=(0,s.WQX)(x.H),this.injector=(0,s.WQX)(s.zZn),this.document=(0,s.WQX)(Y.qQ),this.rendererFactory=(0,s.WQX)(s._9s),this.themeLinks=[],this.loadCssSubject=new b.t(""),this._imageLink=(0,s.WQX)(R.p,{optional:!0}),this.imageLinkSubject=new b.t(this._imageLink),this.themeSwitchedSignal=(0,B.ot)((0,e.z)([this.loadCssSubject.asObservable(),this.imageLinkSubject.asObservable()]).pipe((0,m.B)(50))),this.loadCssSignal=(0,B.ot)(this.loadCssSubject.asObservable()),this.imageLinkSignal=(0,B.ot)(this.imageLinkSubject.asObservable())}get renderer(){return this.rendererFactory.createRenderer(null,null)}setImageLink(W){try{const J=this.injector.get(W);this.imageLinkSubject.next(J)}catch(J){this.systemConfig.production||console.error(J)}}loadCss(W){var J=this;return(0,M.A)(function*(){const te="switch-theme-signal";return new Promise(q=>{const Q=W+".css",se=J.renderer.createElement("link");J.renderer.setAttribute(se,"from",te),J.renderer.setAttribute(se,"ssr",`${!J.isBrowser}`),J.renderer.setAttribute(se,"rel","stylesheet"),J.renderer.setAttribute(se,"type","text/css"),J.renderer.setAttribute(se,"href",J.cdnservice.useWithServer(Q)),J.renderer.setProperty(se,"onload",q),J.renderer.appendChild(J.document.head,se),J.themeLinks=[...J.themeLinks,se]}).then(()=>{2==J.themeLinks.length&&J.renderer.removeChild(J.document.head,J.themeLinks.shift()),J.isBrowser&&Array.from(J.document.querySelectorAll("link")).forEach(q=>{q.getAttribute("from")!==te&&"true"===q.getAttribute("ssr")&&q.parentElement?.removeChild(q)}),J.loadCssSubject.next(W)})})()}setTheme(W,J){var te=this;return(0,M.A)(function*(){return te.loadCss(W).then(()=>{te.setImageLink(J)})})()}static#e=this.\u0275fac=function(J){return new(J||de)};static#t=this.\u0275prov=s.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();var ve=l(11031);const oe=new s.nKC("GALLERY_IMAGE_SIGNAL_CUSTOM_REFRESH_TIMING");let H=(()=>{class de{constructor(){this.galleryImageService=(0,s.WQX)(ve.TL)}transform(W,J,te){return this.galleryImageService.getGalleryImage(W,J,te)}static#e=this.\u0275fac=function(J){return new(J||de)};static#t=this.\u0275pipe=s.EJ8({name:"galleryImage",type:de,pure:!0})}return de})(),ae=(()=>{class de{constructor(){this.galleryImageService=(0,s.WQX)(ve.TL)}transform(W,J,te){return this.galleryImageService.getGalleryImageAsync(W,J,te)}static#e=this.\u0275fac=function(J){return new(J||de)};static#t=this.\u0275pipe=s.EJ8({name:"galleryImageAsync",type:de,pure:!0})}return de})(),pe=(()=>{class de{constructor(){this.galleryImagePipe=(0,s.WQX)(H),this.galleryImageSignalCustomRefreshTiming=(0,s.WQX)(oe,{optional:!0}),this.siteSetting=(0,s.WQX)(h.p),this.switchThemeService=(0,s.WQX)(j)}transform(W,J){const te=(0,e.z)([this.siteSetting.select("currentCurrencyType").pipe((0,u.F)()),this.siteSetting.select("currentLanguageType").pipe((0,u.F)()),(0,B.br)(this.switchThemeService.themeSwitchedSignal).pipe((0,u.F)())]),Q=(this.galleryImageSignalCustomRefreshTiming||te).pipe((0,m.B)(50),(0,C.T)(()=>this.galleryImagePipe.transform(W,J)),(0,w.t)(1));return(0,B.ot)(Q)}static#e=this.\u0275fac=function(J){return new(J||de)};static#t=this.\u0275pipe=s.EJ8({name:"galleryImageSignal",type:de,pure:!0})}return de})()},11031:(Be,K,l)=>{"use strict";l.d(K,{TL:()=>L,UA:()=>b,dt:()=>R});var s=l(54438),h=l(30617),e=l(84572),u=l(23294),m=l(70152),C=l(96354),w=l(69568),M=l(78325);const b=new s.nKC("MCD_GALLERY"),R=new s.nKC("GALLERY_IMAGE_CUSTOMIZER");let L=(()=>{class x{constructor(){this.gallery=(0,s.WQX)(b,{optional:!0}),this.imageCustomizer=(0,s.WQX)(R,{optional:!0}),this.switchThemeService=(0,s.WQX)(M.Fu),this.siteSetting=(0,s.WQX)(h.p)}getGalleryImage(Y,j,ve){if(!this.gallery)return"GalleryImagePipe_no_gallery.jpg";if(!Y)return"GalleryImagePipe_no_imageKey.jpg";const oe=this.siteSetting.get("currentCurrencyType"),H=this.findGalleryConfigByCurrency(oe);if(!H)return`GalleryImagePipe_no_galleryConfigByCurrency(${oe.name}).jpg`;const ae=H[j];if(!ae)return`GalleryImagePipe_no_template(${j}).jpg`;const pe=ae[Y];if(!pe)return`GalleryImagePipe_no_image(${Y}).jpg`;const de=pe?.standard?.default||"";return this.imageCustomizer?.getCustomizedImage({galleryCategoryType:j,imageKey:Y,imageObject:pe,defaultImagePath:de},ve)||de||`GalleryImagePipe_no_imagePath(${Y}).jpg`}findGalleryConfigByCurrency(Y){if(!this.gallery)return;const j=Object.keys(this.gallery);for(let ve=0,oe=j.length;vethis.getGalleryImage(Y,j,ve)),(0,w.t)(1))}static#e=this.\u0275fac=function(j){return new(j||x)};static#t=this.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},45185:(Be,K,l)=>{"use strict";l.d(K,{G:()=>m});var s=l(60177),h=l(54438),e=l(33726),u=l(983);let m=(()=>{class C{constructor(){this.isBrowser=(0,s.UE)((0,h.WQX)(h.Agw))}getScrollObservable(){return this.isBrowser?(0,e.R)(window,"scroll"):u.w}static#e=this.\u0275fac=function(b){return new(b||C)};static#t=this.\u0275prov=h.jDH({token:C,factory:C.\u0275fac})}return C})()},77323:(Be,K,l)=>{"use strict";l.d(K,{FA:()=>e,P1:()=>C,Rz:()=>h,Z:()=>u,fK:()=>b,k_:()=>M,tt:()=>m});var s=l(49969);const h=(0,s.hZ)("popBgTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({opacity:0}),(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({opacity:0}))])]),e=(0,s.hZ)("popWrapTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({top:"45%",opacity:0}),(0,s.i0)("300ms 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({top:"50%",opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({top:"45%",opacity:0}))])]),u=(0,s.hZ)("popWrapTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({transform:"translateY(100%)",opacity:0}),(0,s.i0)("300ms 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateY(0%)",opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateY(100%)",opacity:0}))])]),m=(0,s.hZ)("popWrapTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({bottom:"-100%",opacity:1}),(0,s.i0)("300ms 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({bottom:"0",opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({bottom:"-100%",opacity:0}))])]),C=(0,s.hZ)("dialogAlertTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({top:"-50px",opacity:0}),(0,s.i0)("500ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({top:"35px",opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("400ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({top:"-50px",opacity:0}))])]),M=((0,s.hZ)("dialogTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({opacity:0}),(0,s.i0)("500ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("500ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({opacity:0}))])]),(0,s.hZ)("dialogTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({transform:"translateX(100%)"}),(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateX(0%)"}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateX(100%)"}))])])),b=(0,s.hZ)("dialogTriggerAni",[(0,s.kY)(":enter",[(0,s.iF)({transform:"translateX(-100%)"}),(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateX(0%)"}))]),(0,s.kY)(":leave",[(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateX(-100%)"}))])])},8916:(Be,K,l)=>{"use strict";l.d(K,{$:()=>e});var s=l(49969);const e=m=>(0,s.hZ)("staggerFadeAnimation",((m,C,w,M)=>[(0,s.kY)("hide <=> show",[(0,s.P)(m,[(0,s.iF)({opacity:0,transform:`translateY(${C}px)`}),(0,s.yc)(50,[(0,s.i0)("400ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({opacity:1,transform:"none"}))])],{optional:!0})]),(0,s.kY)(":enter, void => show",[(0,s.P)(m,[(0,s.iF)({opacity:0,transform:`translateY(${w}px)`}),(0,s.yc)(50,[(0,s.i0)("400ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({opacity:1,transform:"none"}))])],{optional:!0})])])(m,50,50))},87027:(Be,K,l)=>{"use strict";l.d(K,{V:()=>C});var s=l(60177),h=l(54438),e=l(55918);let C=(()=>{class w{constructor(){this.isBrowser=(0,s.UE)((0,h.WQX)(h.Agw)),this.routerAnimationAddStyle="min-height:100vh !important;"}goTop(){this.isBrowser&&e.gsap.to(window,{duration:.7,scrollTo:0,ease:"expo.out"})}setEleStartAniStyle(b){const R=b.getAttribute("style")??"";b.setAttribute("style",`${R}${function u(w,M){let b=w.trim();for(;b.endsWith(" ");)b=b.slice(0,-1).trim();return new RegExp(`${M}$`).test(b)}(R,";")?"":R?";":""}${this.routerAnimationAddStyle}`)}setEleEndAniStyle(b){const R=b.getAttribute("style");if(R){const L=function m(w,M){let b,R=-1;for(;null!==(b=M.exec(w));)R=b.index;return-1!==R?w.slice(0,R)+w.substring(R).replace(M,""):w}(R,new RegExp(this.routerAnimationAddStyle,"g"));b.setAttribute("style",L)}}layoutAniStart(b){const R=b.nativeElement?.querySelector(".content");R&&this.setEleStartAniStyle(R)}layoutAniEnd(b){const R=b.nativeElement?.querySelector(".content");R&&this.setEleEndAniStyle(R)}tabPageAniStart(b){const R=b.nativeElement?.offsetParent;R&&this.setEleStartAniStyle(R)}tabPageAniEnd(b){const R=b.nativeElement?.offsetParent;R&&this.setEleEndAniStyle(R)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=h.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},67079:(Be,K,l)=>{"use strict";l.d(K,{DG:()=>C,ID:()=>m,J5:()=>M,JI:()=>b,Sx:()=>u,Tx:()=>e});var s=l(49969),h=function(L){return L.RIGHT_IN="right_in",L.LEFT_IN="left_in",L.TOP_IN="top_in",L.BOTTOM_IN="bottom_in",L}(h||{});const e=(0,s.hZ)("routeFullPageAni",[(0,s.kY)("* => MainPage",[(0,s.iF)({transform:"translateY(0)",opacity:1}),(0,s.i0)("0ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateY(100%)",opacity:0}))]),(0,s.kY)("MainPage => FullPage, :leave",[(0,s.iF)({transform:"translateY(100%)",opacity:0}),(0,s.i0)("500ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateY(0)",opacity:1}))])]),u=(0,s.hZ)("fadeInOut",[(0,s.kY)(":leave",[(0,s.i0)(1e3,(0,s.iF)({opacity:0}))])]),m=(0,s.hZ)("fastFadeInOut",[(0,s.kY)(":leave",[(0,s.i0)(500,(0,s.iF)({opacity:0}))])]),C=(0,s.hZ)("tabPageTriggerAni",[(0,s.kY)("tab1 => tab2",R(h.LEFT_IN)),(0,s.kY)("tab1 => tab3",R(h.LEFT_IN)),(0,s.kY)("tab2 => tab3",R(h.LEFT_IN)),(0,s.kY)("tab2 => tab1",R(h.RIGHT_IN)),(0,s.kY)("tab3 => tab1",R(h.RIGHT_IN)),(0,s.kY)("tab3 => tab2",R(h.RIGHT_IN))]),M=((0,s.hZ)("tabVerticalTriggerAni",[(0,s.kY)("tab1 => tab2",R(h.BOTTOM_IN)),(0,s.kY)("tab1 => tab3",R(h.BOTTOM_IN)),(0,s.kY)("tab1 => tab4",R(h.BOTTOM_IN)),(0,s.kY)("tab1 => tab5",R(h.BOTTOM_IN)),(0,s.kY)("tab1 => tab6",R(h.BOTTOM_IN)),(0,s.kY)("tab1 => tab7",R(h.BOTTOM_IN)),(0,s.kY)("tab2 => tab3",R(h.BOTTOM_IN)),(0,s.kY)("tab2 => tab4",R(h.BOTTOM_IN)),(0,s.kY)("tab2 => tab5",R(h.BOTTOM_IN)),(0,s.kY)("tab2 => tab6",R(h.BOTTOM_IN)),(0,s.kY)("tab2 => tab7",R(h.BOTTOM_IN)),(0,s.kY)("tab3 => tab4",R(h.BOTTOM_IN)),(0,s.kY)("tab3 => tab5",R(h.BOTTOM_IN)),(0,s.kY)("tab3 => tab6",R(h.BOTTOM_IN)),(0,s.kY)("tab3 => tab7",R(h.BOTTOM_IN)),(0,s.kY)("tab4 => tab5",R(h.BOTTOM_IN)),(0,s.kY)("tab4 => tab6",R(h.BOTTOM_IN)),(0,s.kY)("tab4 => tab7",R(h.BOTTOM_IN)),(0,s.kY)("tab5 => tab6",R(h.BOTTOM_IN)),(0,s.kY)("tab5 => tab7",R(h.BOTTOM_IN)),(0,s.kY)("tab6 => tab7",R(h.BOTTOM_IN)),(0,s.kY)("tab2 => tab1",R(h.TOP_IN)),(0,s.kY)("tab3 => tab1",R(h.TOP_IN)),(0,s.kY)("tab3 => tab2",R(h.TOP_IN)),(0,s.kY)("tab4 => tab1",R(h.TOP_IN)),(0,s.kY)("tab4 => tab2",R(h.TOP_IN)),(0,s.kY)("tab4 => tab3",R(h.TOP_IN)),(0,s.kY)("tab5 => tab1",R(h.TOP_IN)),(0,s.kY)("tab5 => tab2",R(h.TOP_IN)),(0,s.kY)("tab5 => tab3",R(h.TOP_IN)),(0,s.kY)("tab5 => tab4",R(h.TOP_IN)),(0,s.kY)("tab6 => tab1",R(h.TOP_IN)),(0,s.kY)("tab6 => tab2",R(h.TOP_IN)),(0,s.kY)("tab6 => tab3",R(h.TOP_IN)),(0,s.kY)("tab6 => tab4",R(h.TOP_IN)),(0,s.kY)("tab6 => tab5",R(h.TOP_IN)),(0,s.kY)("tab7 => tab1",R(h.TOP_IN)),(0,s.kY)("tab7 => tab2",R(h.TOP_IN)),(0,s.kY)("tab7 => tab3",R(h.TOP_IN)),(0,s.kY)("tab7 => tab4",R(h.TOP_IN)),(0,s.kY)("tab7 => tab5",R(h.TOP_IN)),(0,s.kY)("tab7 => tab6",R(h.TOP_IN))]),(0,s.hZ)("routeLayoutPageAni",[(0,s.kY)("GuestLayout => MainLayout",R(h.RIGHT_IN)),(0,s.kY)("GuestLayout => PlayerLayout",R(h.RIGHT_IN)),(0,s.kY)("RegisterLayout => MainLayout",R(h.LEFT_IN)),(0,s.kY)("RegisterLayout => PlayerLayout",R(h.RIGHT_IN)),(0,s.kY)("MainLayout => GuestLayout",R(h.LEFT_IN)),(0,s.kY)("MainLayout => RegisterLayout",R(h.RIGHT_IN)),(0,s.kY)("MainLayout => PlayerLayout",R(h.LEFT_IN)),(0,s.kY)("PlayerLayout => MainLayout",R(h.RIGHT_IN)),(0,s.kY)("PlayerLayout => GuestLayout",R(h.RIGHT_IN))])),b=(0,s.hZ)("footerFadeInAni",[(0,s.kY)(":enter",[(0,s.iF)({transform:"translateY(10%)",opacity:0}),(0,s.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateY(0)",opacity:1}))]),(0,s.kY)(":leave",[(0,s.i0)("100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,s.iF)({transform:"translateY(10%)",opacity:0}))])]);function R(L){let x="translateX(100%)",B="translateX(-100%)";switch(L){case h.TOP_IN:x="translateY(-100%)",B="translateY(100%)";break;case h.BOTTOM_IN:x="translateY(100%)",B="translateY(-100%)";break;case h.LEFT_IN:x="translateX(100%)",B="translateX(-100%)";break;case h.RIGHT_IN:x="translateX(-100%)",B="translateX(100%)";break;default:x="translateX(100%)",B="translateX(-100%)"}return[(0,s.P)(":enter",[(0,s.iF)({transform:x,display:"block",position:"absolute",width:"100%",left:0,overflow:"hidden"})],{optional:!0}),(0,s.P)(":leave",[(0,s.iF)({transform:"translate(0, 0)",display:"block",position:"absolute",width:"100%",left:0,overflow:"hidden"})],{optional:!0}),(0,s.Os)([(0,s.P)(":leave",[(0,s.i0)("300ms ease",(0,s.iF)({transform:B}))],{optional:!0}),(0,s.P)(":enter",[(0,s.i0)("300ms ease",(0,s.iF)({transform:"translate(0, 0)"}))],{optional:!0})])]}},78843:(Be,K,l)=>{"use strict";l.d(K,{N:()=>e});var s=l(94768);const e=new(l(54438).nKC)("MAIN_GAME_NAV_STATE",{providedIn:"root",factory:()=>new s.Y})},81818:(Be,K,l)=>{"use strict";l.d(K,{$U:()=>ve,DW:()=>oe,EB:()=>h,HB:()=>q,I:()=>b,J9:()=>Pe,LY:()=>H,T7:()=>Y,XA:()=>de,Zl:()=>j,b3:()=>C,bu:()=>pe,cT:()=>B,cw:()=>e,i6:()=>x,kR:()=>Ee,lH:()=>s});const s={id:"exchange",imageClass:"exchange",imageFile:"provider-exchange"},h="CRICKETV2",e="AWCV2_VELKI",C={id:"sportbook",imageClass:"sportbook",imageFile:"provider-saba-sportbook",extraData:"50"},b={id:"sbov2",imageClass:"sbov2",imageFile:"provider-sbov2"},x={id:"tennis",imageClass:"tennis",imageFile:"provider-mix-parlay"},B={id:"ug",imageClass:"ugv3"},Y={id:"horsebook",imageClass:"horsebook"},j={id:"awcmsv388",imageClass:"sv388"},ve={id:"sv388",imageClass:"sv388"},oe={id:"lottery",imageFile:"provider-number"},H={id:"icf",imageClass:"icf"},pe={id:"awcmbc",imageClass:"awcmbc"},de={id:"horse-racing",imageClass:"horse-racing",extraData:"7"},Pe={id:"greyhound",imageClass:"greyhound",extraData:"4339"},q={id:"sbtech",imageClass:"sbtech"},Ee={id:"cmd",imageClass:"cmd"}},29295:(Be,K,l)=>{"use strict";l.d(K,{D:()=>Ee});var s=l(60177),h=l(54438),e=l(75078),u=l(84652),m=l(77183),C=l(43518),w=l(80247),M=l(12564),b=l(5552),R=l(78325),L=l(77323),x=l(10098),B=l(81042),Y=l(32690),j=l(84412),ve=l(15314),oe=l(20464),H=l(41842),ae=l(65210),pe=l(89257),de=l(8688);const Pe=(me,je)=>({"ani show":me,"scroll-enabled":je}),W=me=>({display:me});function J(me,je){if(1&me){const Qe=h.RV6();h.j41(0,"div",8),h.bIt("click",function(){h.eBV(Qe);const mt=h.XpG(3);return h.Njj(mt.open())}),h.nrm(1,"img",9),h.k0s()}if(2&me){const Qe=h.XpG(3);h.R7$(),h.FS9("mcdSrc",Qe.banner)}}function te(me,je){if(1&me&&(h.qex(0),h.j41(1,"div",10)(2,"h3"),h.EFF(3),h.k0s()(),h.j41(4,"div",11),h.nrm(5,"div",12),h.nI1(6,"safeHtml"),h.k0s(),h.bVm()),2&me){const Qe=h.XpG(3);h.R7$(3),h.SpI(" ",Qe.title," "),h.R7$(2),h.Y8G("innerHTML",h.bMT(6,2,Qe.content),h.npT)}}function q(me,je){if(1&me){const Qe=h.RV6();h.qex(0),h.j41(1,"div",13)(2,"input",14,0),h.nI1(4,"async"),h.bIt("change",function(){h.eBV(Qe);const mt=h.sdS(3),Oe=h.XpG(3);return h.Njj(Oe.notShowAgain$.next(mt.checked))}),h.k0s(),h.j41(5,"label",15)(6,"span",16),h.nrm(7,"i",17),h.nI1(8,"async"),h.nI1(9,"imageUrl"),h.k0s(),h.j41(10,"p",18),h.EFF(11),h.k0s()()(),h.bVm()}if(2&me){let Qe;const Ot=h.XpG(2).$implicit,mt=h.XpG();h.R7$(2),h.Y8G("id","pop-notshow-today"+mt.id)("checked",h.bMT(4,6,mt.notShowAgain$)),h.R7$(3),h.Y8G("for","pop-notshow-today"+mt.id),h.R7$(2),h.xc7("background-image",h.bMT(9,10,null==(Qe=h.bMT(8,8,mt.switchThemeService.imageLink$))?null:Qe.FORM_CHECK_ICON)),h.R7$(4),h.JRh(Ot("ui.global.text.hide_for_today"))}}function $(me,je){if(1&me){const Qe=h.RV6();h.j41(0,"div",4)(1,"a",5),h.nI1(2,"async"),h.nI1(3,"imageUrl"),h.bIt("click",function(){h.eBV(Qe);const mt=h.XpG(2);return h.Njj(mt.close())}),h.k0s(),h.DNE(4,J,2,1,"div",6)(5,te,7,4,"ng-container",7)(6,q,12,12,"ng-container",7),h.k0s()}if(2&me){let Qe;const Ot=h.XpG(2);h.Y8G("@popWrapTriggerAni",Ot.isActive)("ngClass",h.l_i(11,Pe,Ot.isActive,Ot.isBannerScrollEnabled())),h.R7$(),h.xc7("-webkit-mask-image",h.bMT(3,9,null==(Qe=h.bMT(2,7,Ot.switchThemeService.imageLink$))?null:Qe.POP_CLOSE_ICON)),h.R7$(3),h.Y8G("ngIf",Ot.banner),h.R7$(),h.Y8G("ngIf",!(Ot.isLink||Ot.isNone)),h.R7$(),h.Y8G("ngIf",Ot.enableHideForToday)}}function Q(me,je){if(1&me){const Qe=h.RV6();h.j41(0,"div",19),h.bIt("click",function(){h.eBV(Qe);const mt=h.XpG(2);return h.Njj(mt.close())}),h.k0s()}if(2&me){const Qe=h.XpG(2);h.Y8G("@popBgTriggerAni",Qe.isActive)("ngStyle",h.eq3(2,W,Qe.isActive?"block":"none"))}}function se(me,je){if(1&me&&(h.qex(0),h.DNE(1,$,7,14,"div",2)(2,Q,1,4,"div",3),h.bVm()),2&me){const Qe=h.XpG();h.R7$(),h.Y8G("ngIf",Qe.isActive),h.R7$(),h.Y8G("ngIf",Qe.isActive)}}let Ee=(()=>{class me extends m.u{get isLink(){return this.contentType===u.h.LINK.unique}get isNone(){return this.contentType===u.h.NONE.unique}constructor(Qe,Ot){super(),this.bridgeUtilService=Ot,this.performanceSettingService=(0,h.WQX)(Y.c),this.openGameService=(0,h.WQX)(w.eD),this.eventQueueService=(0,h.WQX)(B.n),this.disableAnimation=this.performanceSettingService.isLite,this.commonUtilService=(0,h.WQX)(x.j),this.datePipe=(0,h.WQX)(s.vh),this.id=0,this.contentType=0,this.title="",this.content="",this.banner="",this.notShowAgain$=new j.t(!1),this.images=new b.l,this.switchThemeService=(0,h.WQX)(R.Fu),this.id=Qe.id,this.contentType=Qe.contentType,this.title=Qe.title,this.banner=Qe.banner,this.content=Qe.content,this.enableHideForToday=Qe.enableHideForToday,this.eventQueueService.dispatch(new M.W(M.t.EXPOSURE,{action:{event_name:"PopUp",event_type:"exposure",event_page:document.querySelector("head title")?.textContent,event_payload:{msg:this.content}}}))}onAnimationDone(Qe){"void"===Qe.toState&&this.close()}open(){if(!this.isLink)return;const Qe=this.commonUtilService.detectMessageContent(this.content);!1===Qe.isOpenGame?window.open(Qe.url):this.openGameFromH5Content(Qe.url)}openGameFromH5Content(Qe){const mt=Qe.replace(/\/open-game-link\//g,"").split("/"),Oe=Number(mt[0]);this.openGameService.open({gameTypeId:Oe,vendorCode:mt[1],gameCode:mt[2]}).subscribe()}close(){this.setToday(),super.close()}setToday(){if(!this.notShowAgain$.value)return;const Ot=this.datePipe.transform(new Date,e.$.DATE_PATTERN_FOR_CALENDAR3.format),mt="NOTSHOWTODAY-"+this.id?.toString();Ot&&localStorage.setItem(mt,Ot)}isBannerScrollEnabled(){return!!this.banner&&(this.isLink||this.isNone)}static#e=this.\u0275fac=function(Ot){return new(Ot||me)(h.rXU(C.Qs),h.rXU(ve.H))};static#t=this.\u0275cmp=h.VBU({type:me,selectors:[["mcd-promotion-info"]],hostVars:1,hostBindings:function(Ot,mt){2&Ot&&h.zvX("@.disabled",mt.disableAnimation)},features:[h.Jv_([s.vh]),h.Vt3],decls:1,vars:0,consts:[["popNotShowToday",""],[4,"transloco"],["class","pop-wrap promotion-pop new",3,"ngClass",4,"ngIf"],["class","pop-bg",3,"ngStyle","click",4,"ngIf"],[1,"pop-wrap","promotion-pop","new",3,"ngClass"],[1,"btn-close",3,"click"],["class","detail-banner",3,"click",4,"ngIf"],[4,"ngIf"],[1,"detail-banner",3,"click"],[3,"mcdSrc"],[1,"pop-title"],[1,"pop-inner","content-style"],[3,"innerHTML"],[1,"notshow-checkbox"],["type","checkbox",1,"check-input",3,"change","id","checked"],[1,"check-label",3,"for"],[1,"check-cube"],[1,"check-cube__icon"],[1,"text"],[1,"pop-bg",3,"click","ngStyle"]],template:function(Ot,mt){1&Ot&&h.DNE(0,se,3,2,"ng-container",1)},dependencies:[s.YU,s.bT,s.B3,oe.bA,H.f,ae.h,s.Jj,pe.$n,de.Hc],data:{animation:[L.Rz,L.FA]},changeDetection:0})}return me})()},42809:(Be,K,l)=>{"use strict";l.d(K,{X:()=>J});var s=l(54438),h=l(51433),e=l(30617),u=l(80247),m=l(60328),C=l(5552),w=l(78325),M=l(8916),b=l(32690),R=l(68990),L=l(60177),x=l(41842),B=l(65210),Y=l(8688);const j=te=>({active:te}),ve=te=>({"background-image":te}),oe=te=>({"s-animate-star-line":te});function H(te,q){if(1&te&&s.nrm(0,"img",8),2&te){const $=s.XpG(2);s.FCK("alt","",$.game.vendorName," ",$.game.gameName,""),s.Y8G("mcdSrc",$.removeCurrencyFromGameIconPath($.game.gameIconPath))}}function ae(te,q){if(1&te){const $=s.RV6();s.j41(0,"img",9),s.bIt("error",function(){s.eBV($);const se=s.XpG(2);return s.Njj(se.imgErrorListener())}),s.k0s()}if(2&te){const $=s.XpG(2);s.FCK("alt","",$.game.vendorName," ",$.game.gameName,""),s.Y8G("mcdSrc",$.game.gameIconPath)}}function pe(te,q){if(1&te&&(s.qex(0),s.DNE(1,H,1,4,"img",6)(2,ae,1,4,"img",7),s.bVm()),2&te){const $=s.XpG();s.R7$(),s.Y8G("ngIf",$.imgError),s.R7$(),s.Y8G("ngIf",!$.imgError)}}function de(te,q){if(1&te&&s.nrm(0,"img",8),2&te){const $=s.XpG();s.FCK("alt","",$.game.vendorName," ",$.game.gameName,""),s.Y8G("mcdSrc",$.game.gameIconPath)}}function Pe(te,q){if(1&te&&(s.j41(0,"div",12),s.nrm(1,"span",13)(2,"span",13)(3,"span",13),s.k0s()),2&te){const $=s.XpG(2);s.R7$(),s.Y8G("ngClass",s.eq3(3,oe,null==$.favoritesIdList?null:$.favoritesIdList.includes($.game.gameId))),s.R7$(),s.Y8G("ngClass",s.eq3(5,oe,null==$.favoritesIdList?null:$.favoritesIdList.includes($.game.gameId))),s.R7$(),s.Y8G("ngClass",s.eq3(7,oe,null==$.favoritesIdList?null:$.favoritesIdList.includes($.game.gameId)))}}function W(te,q){if(1&te){const $=s.RV6();s.j41(0,"div",10),s.nI1(1,"async"),s.nI1(2,"imageUrl"),s.nI1(3,"async"),s.nI1(4,"imageUrl"),s.bIt("click",function(){s.eBV($);const se=s.XpG();return s.Njj(se.addFavoriteGame(se.game.gameId))}),s.DNE(5,Pe,4,9,"div",11),s.k0s()}if(2&te){let $;const Q=s.XpG();s.Y8G("ngClass",s.eq3(11,j,null==Q.favoritesIdList?null:Q.favoritesIdList.includes(Q.game.gameId)))("ngStyle",s.eq3(13,ve,null!=Q.favoritesIdList&&Q.favoritesIdList.includes(Q.game.gameId)?s.bMT(2,5,null==($=s.bMT(1,3,Q.switchThemeService.imageLink$))?null:$.GAME_LIKE_ICON):s.bMT(4,9,null==($=s.bMT(3,7,Q.switchThemeService.imageLink$))?null:$.GAME_DISLIKE_ICON))),s.R7$(5),s.Y8G("ngIf","star"===Q.environment.customFavGameIcon)}}let J=(()=>{class te{constructor($,Q){this.authState=$,this.providerService=Q,this.openGameService=(0,s.WQX)(u.eD),this.performanceSettingService=(0,s.WQX)(b.c),this.siteSetting=(0,s.WQX)(e.p),this.disableAnimation=this.performanceSettingService.isLite,this.isAnimation=!0,this.subscriptions=[],this.isLogin$=this.authState.select("isLogin"),this.imgError=!1,this.images=new C.l,this.switchThemeService=(0,s.WQX)(w.Fu),this.environment=(0,s.WQX)(m.E)}ngOnInit(){!0===this.authState.get("isLogin")&&(this.favoritesIdList=this.getFavoritesIdList())}addFavoriteGame($){this.favoritesIdList=this.getFavoritesIdList(),this.favoritesIdList?.includes($)?this.favoritesIdList=this.favoritesIdList.filter(Q=>Q!==$):this.favoritesIdList?.push($),this.setFavoritesIdList(this.favoritesIdList),this.providerService.addFavoriteGameById(this.favoritesIdList).subscribe(Q=>{})}clickGameBox($){if($){const Q=this.openGameService.open({gameTypeId:$.gameTypeId,vendorCode:$.vendorCode,gameCode:$.gameCode,gameImagePath:$.gameIconPath,loaderImgStyle:"slotBanner",vendorName:$.vendorName}).subscribe();this.subscriptions.push(Q)}}imgErrorListener(){this.imgError=!0}removeCurrencyFromGameIconPath($){if(!$)return $;const se=this.siteSetting.get("currentCurrencyType").name+"/";return $.replace(se,"")}getFavoritesIdList(){return this.authState.get("accountInfo").favoriteGameIds||[]}setFavoritesIdList($){if(void 0===$)return;const Q=this.authState.get("accountInfo");this.authState.set("accountInfo",()=>({...Q,favoriteGameIds:$}))}static#e=this.\u0275fac=function(Q){return new(Q||te)(s.rXU(h.H),s.rXU(R.$))};static#t=this.\u0275cmp=s.VBU({type:te,selectors:[["mcd-game-box"]],hostVars:1,hostBindings:function(Q,se){2&Q&&s.zvX("@.disabled",se.disableAnimation)},inputs:{game:"game"},decls:11,vars:8,consts:[["originalImageTemplate",""],[1,"games-box"],[1,"pic","item-ani",3,"click"],[4,"ngIf","ngIfElse"],[1,"text","item-ani"],["class","like",3,"ngClass","ngStyle","click",4,"ngIf"],[3,"mcdSrc","alt",4,"ngIf"],[3,"mcdSrc","alt","error",4,"ngIf"],[3,"mcdSrc","alt"],[3,"error","mcdSrc","alt"],[1,"like",3,"click","ngClass","ngStyle"],["class","s-star-line-box",4,"ngIf"],[1,"s-star-line-box"],[1,"s-rating-star-line",3,"ngClass"]],template:function(Q,se){if(1&Q){const Ee=s.RV6();s.j41(0,"div",1)(1,"div",2),s.bIt("click",function(){return s.eBV(Ee),s.Njj(se.clickGameBox(se.game))}),s.j41(2,"a"),s.DNE(3,pe,3,2,"ng-container",3)(4,de,1,4,"ng-template",null,0,s.C5r),s.k0s()(),s.j41(6,"div",4)(7,"h3"),s.EFF(8),s.k0s(),s.DNE(9,W,6,15,"div",5),s.nI1(10,"async"),s.k0s()()}if(2&Q){const Ee=s.sdS(5);s.Y8G("@staggerFadeAnimation",se.isAnimation),s.R7$(3),s.Y8G("ngIf",se.environment.isNeedReplaceGameBoxIconPathToDefault)("ngIfElse",Ee),s.R7$(5),s.Lme("",se.game.vendorName," ",se.game.gameName,""),s.R7$(),s.Y8G("ngIf",s.bMT(10,6,se.isLogin$)&&se.game.gameId)}},dependencies:[L.YU,L.bT,L.B3,x.f,B.h,L.Jj,Y.Hc],styles:["[_nghost-%COMP%]{display:contents}"],data:{animation:[(0,M.$)(".item-ani")]},changeDetection:0})}return te})()},74840:(Be,K,l)=>{"use strict";l.d(K,{K:()=>m});var s=l(60177),h=l(18287),e=l(75563),u=l(54438);let m=(()=>{class C{static#e=this.\u0275fac=function(b){return new(b||C)};static#t=this.\u0275mod=u.$C({type:C});static#n=this.\u0275inj=u.G2t({imports:[s.MD,h.m,e.L]})}return C})()},40085:(Be,K,l)=>{"use strict";l.d(K,{H:()=>L,c:()=>R});var s=l(54438),h=l(60328),e=l(32690),u=l(60177),m=l(66938),C=l(41842),w=l(65210);function M(x,B){if(1&x&&(s.j41(0,"li"),s.nrm(1,"img",5),s.k0s()),2&x){const Y=B.$implicit,j=s.XpG(2);s.R7$(),s.Y8G("mcdSrc",j.getImagePath(Y.type,Y.fileName))}}function b(x,B){if(1&x&&(s.qex(0),s.j41(1,"div",1)(2,"div",2),s.EFF(3),s.k0s(),s.j41(4,"div",3)(5,"ul"),s.DNE(6,M,2,1,"li",4),s.k0s()()(),s.bVm()),2&x){const Y=s.XpG();s.R7$(3),s.JRh(Y.marqueeTitle),s.R7$(3),s.Y8G("ngForOf",Y.marqueeContent)}}const R=new s.nKC("ORION_ICON_MARQUEE_PROVIDER_LIST");let L=(()=>{class x{constructor(){this.marqueeContent=(0,s.WQX)(R),this.environment=(0,s.WQX)(h.E),this.performanceSettingService=(0,s.WQX)(e.c),this.disableAnimation=this.performanceSettingService.isLite}getImagePath(Y,j){return"provider"===Y?`/assets/images/brand/${this.environment.vendorIconColor}/provider-`+j.toLowerCase()+".png":"sport"===Y?"/assets/images/icon-set/sports-icon/icon-"+j.toLowerCase()+".svg":""}static#e=this.\u0275fac=function(j){return new(j||x)};static#t=this.\u0275cmp=s.VBU({type:x,selectors:[["mcd-icon-marquee"]],hostVars:1,hostBindings:function(j,ve){2&j&&s.zvX("@.disabled",ve.disableAnimation)},inputs:{marqueeTitle:"marqueeTitle"},decls:1,vars:0,consts:[[4,"mcdTransloco"],[1,"icon-marquee"],[1,"icon-marquee__title"],[1,"icon-marquee__content"],[4,"ngFor","ngForOf"],[3,"mcdSrc"]],template:function(j,ve){1&j&&s.DNE(0,b,7,2,"ng-container",0)},dependencies:[u.Sq,m.F,C.f,w.h],changeDetection:0})}return x})()},32001:(Be,K,l)=>{"use strict";l.d(K,{i:()=>ht});var s=l(54438),h=l(51433),e=l(30617),u=l(69506),m=l(51066),C=l(71522),w=l(78922),M=l(60328),b=l(5552),R=l(78325),L=l(77323),x=l(81042),B=l(51658),Y=l(32690),j=l(7673),ve=l(25558);const oe=new s.nKC("IS_HIDE_SYMBOL");var H=l(48055),ae=l(98856),pe=l(60177),de=l(20464),Pe=l(41842),W=l(65210),J=l(8688);const te=["languageList"],q=Ce=>({"show ani":Ce}),$=Ce=>({active:Ce}),Q=Ce=>({display:Ce});function se(Ce,We){if(1&Ce&&(s.qex(0),s.j41(1,"span"),s.EFF(2),s.k0s(),s.bVm()),2&Ce){const ut=s.XpG().$implicit;s.R7$(2),s.JRh(ut.currencyType.symbol)}}function Ee(Ce,We){if(1&Ce){const ut=s.RV6();s.j41(0,"li",17),s.nI1(1,"async"),s.nI1(2,"async"),s.bIt("click",function(){const vt=s.eBV(ut).$implicit,Kt=s.XpG().$implicit,wt=s.XpG(4);return s.Njj(vt.url?wt.openWebsite(vt.url):wt.changeCurrencyAndLanguage(Kt.currencyType,vt.language))}),s.EFF(3),s.nI1(4,"lowercase"),s.k0s()}if(2&Ce){const ut=We.$implicit,ft=We.index,vt=s.XpG().$implicit,Kt=s.XpG(3).$implicit,wt=s.XpG();s.FS9("id",vt.currencyType.name+ft),s.Y8G("ngClass",s.eq3(9,$,s.bMT(1,3,wt.currentCurrency$)===vt.currencyType&&s.bMT(2,5,wt.currentLanguage$)===ut.language&&!ut.url)),s.R7$(3),s.SpI(" ",Kt(s.bMT(4,7,"ui.global.word.language."+ut.language.name))," ")}}function me(Ce,We){if(1&Ce&&(s.j41(0,"li",null,0)(2,"div",11),s.nrm(3,"img",12),s.j41(4,"p"),s.DNE(5,se,3,1,"ng-container",13),s.EFF(6),s.k0s()(),s.j41(7,"div",14)(8,"ul",15),s.DNE(9,Ee,5,11,"li",16),s.k0s()()()),2&Ce){const ut=We.$implicit,ft=s.XpG(3).$implicit,vt=s.XpG();s.R7$(3),s.FS9("alt",ut.currencyType.name),s.Y8G("mcdSrc",ut.imagePath),s.R7$(2),s.Y8G("ngIf",!(vt.isHideSymbol&&vt.isHideSymbol(ut.currencyType))),s.R7$(),s.SpI(" ",ft("ui.global.currency."+ut.currencyType.name)," "),s.R7$(3),s.Y8G("ngForOf",ut.languageTypes)}}function je(Ce,We){if(1&Ce&&(s.j41(0,"ul",9),s.DNE(1,me,10,5,"li",10),s.nI1(2,"async"),s.k0s()),2&Ce){const ut=s.XpG(3);s.R7$(),s.Y8G("ngForOf",s.bMT(2,1,ut.languageItems))}}function Qe(Ce,We){if(1&Ce&&(s.qex(0),s.j41(1,"span"),s.EFF(2),s.k0s(),s.bVm()),2&Ce){const ut=s.XpG().$implicit;s.R7$(2),s.JRh(ut.currencyType.symbol)}}function Ot(Ce,We){if(1&Ce){const ut=s.RV6();s.j41(0,"li",17),s.nI1(1,"async"),s.nI1(2,"async"),s.bIt("click",function(){const vt=s.eBV(ut).$implicit,Kt=s.XpG().$implicit,wt=s.XpG(4);return s.Njj(Kt.currencyType?wt.changeCurrencyAndLanguage(Kt.currencyType,vt.language):void 0)}),s.EFF(3),s.nI1(4,"lowercase"),s.k0s()}if(2&Ce){const ut=We.$implicit,ft=We.index,vt=s.XpG().$implicit,Kt=s.XpG(3).$implicit,wt=s.XpG();s.FS9("id",vt.currencyType.name+ft),s.Y8G("ngClass",s.eq3(9,$,s.bMT(1,3,wt.currentCurrency$)===vt.currencyType&&s.bMT(2,5,wt.currentLanguage$)===ut.language)),s.R7$(3),s.SpI(" ",Kt(s.bMT(4,7,"ui.global.word.language."+ut.language.name))," ")}}function mt(Ce,We){if(1&Ce&&(s.j41(0,"li",null,0)(2,"div",11),s.nrm(3,"img",12),s.j41(4,"p"),s.DNE(5,Qe,3,1,"ng-container",13),s.EFF(6),s.k0s()(),s.j41(7,"div",14)(8,"ul",15),s.DNE(9,Ot,5,11,"li",16),s.k0s()()()),2&Ce){const ut=We.$implicit,ft=s.XpG(3).$implicit,vt=s.XpG();s.R7$(3),s.FS9("alt",ut.currencyType.name),s.Y8G("mcdSrc",ut.imagePath),s.R7$(2),s.Y8G("ngIf",!(vt.isHideSymbol&&vt.isHideSymbol(ut.currencyType))),s.R7$(),s.SpI(" ",ft("ui.global.currency."+ut.currencyType.name)," "),s.R7$(3),s.Y8G("ngForOf",ut.languageTypes)}}function Oe(Ce,We){if(1&Ce&&(s.j41(0,"ul",9),s.DNE(1,mt,10,5,"li",10),s.nI1(2,"async"),s.k0s()),2&Ce){const ut=s.XpG(3);s.R7$(),s.Y8G("ngForOf",s.bMT(2,1,ut.languages$))}}function Re(Ce,We){if(1&Ce){const ut=s.RV6();s.j41(0,"div",4)(1,"div",5)(2,"h3"),s.EFF(3),s.k0s(),s.j41(4,"a",6),s.nI1(5,"async"),s.nI1(6,"imageUrl"),s.bIt("click",function(){s.eBV(ut);const vt=s.XpG(2);return s.Njj(vt.close())}),s.k0s()(),s.j41(7,"div",7),s.DNE(8,je,3,3,"ul",8),s.nI1(9,"async"),s.DNE(10,Oe,3,3,"ul",8),s.nI1(11,"async"),s.k0s()()}if(2&Ce){let ut;const ft=s.XpG().$implicit,vt=s.XpG();s.Y8G("@popWrapTriggerAni",vt.isActive)("ngClass",s.eq3(15,q,!0===vt.isActive)),s.R7$(3),s.JRh(ft("ui.guest_toolbar.pop_up.currency_language")),s.R7$(),s.xc7("-webkit-mask-image",s.bMT(6,9,null==(ut=s.bMT(5,7,vt.switchThemeService.imageLink$))?null:ut.POP_CLOSE_ICON)),s.R7$(4),s.Y8G("ngIf",!1===s.bMT(9,11,vt.isLogin$)),s.R7$(2),s.Y8G("ngIf",!0===s.bMT(11,13,vt.isLogin$))}}function Ve(Ce,We){if(1&Ce){const ut=s.RV6();s.j41(0,"div",18),s.bIt("click",function(){s.eBV(ut);const vt=s.XpG(2);return s.Njj(vt.close())}),s.k0s()}if(2&Ce){const ut=s.XpG(2);s.Y8G("@popBgTriggerAni",ut.isActive)("ngStyle",s.eq3(2,Q,ut.isActive?"block":"none"))}}function ye(Ce,We){if(1&Ce&&(s.qex(0),s.DNE(1,Re,12,17,"div",2)(2,Ve,1,4,"div",3),s.bVm()),2&Ce){const ut=s.XpG();s.R7$(),s.Y8G("ngIf",ut.canActive&&ut.isActive),s.R7$(),s.Y8G("ngIf",ut.canActive&&ut.isActive)}}let ht=(()=>{class Ce{constructor(ut,ft,vt,Kt){this.i18nService=ut,this.dialogService=ft,this.currencySettingState=vt,this.authState=Kt,this.performanceSettingService=(0,s.WQX)(Y.c),this.eventQueueService=(0,s.WQX)(x.n),this.isHideSymbol=(0,s.WQX)(oe,{optional:!0}),this.flagPathService=(0,s.WQX)(B.r),this.disableAnimation=this.performanceSettingService.isLite,this.languageType=C.t,this.currencyType=m.U,this.countryType=u.B,this.isActive=!1,this.canActive=!0,this.activateLanguage=new s.bkB,this.canActivateLanguage=new s.bkB,this.selectChange=new s.bkB,this.languageItems=(0,j.of)([]),this.uiState=(0,s.WQX)(M.D),this.environment=(0,s.WQX)(M.E),this.isLogin$=this.authState.select("isLogin"),this.currentCurrency$=this.currencySettingState.select("currentCurrencyType"),this.currentLanguage$=this.currencySettingState.select("currentLanguageType"),this.accountInfo=this.authState.get("accountInfo"),this.images=new b.l,this.switchThemeService=(0,s.WQX)(R.Fu)}ngOnInit(){this.initCurrencyAndLanguage()}ngAfterViewInit(){this.languageItems.subscribe(ut=>{if(this.authState.get("isLogin")){const vt=ut.find(wt=>wt.currencyType.unique===this.accountInfo.currencyTypeId);this.languages$=(0,j.of)([vt]),this.canActive=!(1===[vt][0].languageTypes.length),this.canActivateLanguage.emit(this.canActive)}else this.canActivateLanguage.emit(!0)}).unsubscribe()}close(){this.isActive=!1,this.activateLanguage.emit(!1)}changeCurrencyAndLanguage(ut,ft){this.isActive=!1,this.activateLanguage.emit(!1),this.dialogService.closeAll(),this.selectChange.emit({currencyType:ut,languageType:ft}),setTimeout(()=>{this.i18nService.changeCurrencyAndLanguage(ut,ft,!0)},300),this.themeChange(ut)}themeChange(ut){const ft=this.environment.colorThemeSetting?.find(Kt=>Kt.currency===ut.name),vt=this.uiState.get("colorTheme");!1===ft?.isShow&&vt?.currency!==ft?.currency&&vt?.stylesBundleName!==ft?.stylesBundleName&&this.uiState.set({colorTheme:ft})}initCurrencyAndLanguage(){this.languageItems=this.currencySettingState.select("currencyMappingSettingModel").pipe((0,ve.n)(ut=>{const ft=[];return ut&&ut.forEach(vt=>{const Kt=m.U.getInstanceOf(vt.currencyTypeId),wt=[];if(vt&&Kt){let tn,Wn="";vt.mapping.forEach(pi=>{pi.currencySettingTypeId===w.X.LANGUAGE.unique?pi.mappingData.forEach(Wt=>{const Zt=C.t.getInstanceOf(Number(Wt));Zt&&wt.push({language:Zt})}):pi.currencySettingTypeId===w.X.COUNTRY.unique&&(tn=u.B.getInstanceOf(Number(pi.mappingData[0])),!Wn&&tn&&(Wn=this.flagPathService.getFlagPathFromCurrencyMapping(vt,Kt,"webp")))}),tn&&ft.push({countryType:tn,currencyType:Kt,imagePath:Wn,languageTypes:wt})}}),(0,j.of)(ft)}))}openWebsite(ut){window.open(ut,"_self")}static#e=this.\u0275fac=function(ft){return new(ft||Ce)(s.rXU(H.W),s.rXU(ae.o),s.rXU(e.p),s.rXU(h.H))};static#t=this.\u0275cmp=s.VBU({type:Ce,selectors:[["mcd-language"]],viewQuery:function(ft,vt){if(1&ft&&s.GBs(te,5),2&ft){let Kt;s.mGM(Kt=s.lsd())&&(vt.languageList=Kt)}},hostVars:1,hostBindings:function(ft,vt){2&ft&&s.zvX("@.disabled",vt.disableAnimation)},inputs:{isActive:"isActive",canActive:"canActive"},outputs:{activateLanguage:"activateLanguage",canActivateLanguage:"canActivateLanguage",selectChange:"selectChange"},decls:1,vars:0,consts:[["languageList",""],[4,"transloco"],["class","pop-wrap pop-language",3,"ngClass",4,"ngIf"],["class","pop-bg",3,"ngStyle","click",4,"ngIf"],[1,"pop-wrap","pop-language",3,"ngClass"],[1,"pop-title"],[1,"btn-close",3,"click"],[1,"pop-inner"],["class","language-list",4,"ngIf"],[1,"language-list"],[4,"ngFor","ngForOf"],[1,"left-language-area"],[3,"mcdSrc","alt"],[4,"ngIf"],[1,"right-language-area"],[1,"radio-box"],["name","language",3,"id","ngClass","click",4,"ngFor","ngForOf"],["name","language",3,"click","id","ngClass"],[1,"pop-bg",3,"click","ngStyle"]],template:function(ft,vt){1&ft&&s.DNE(0,ye,3,2,"ng-container",1)},dependencies:[pe.YU,pe.Sq,pe.bT,pe.B3,de.bA,Pe.f,W.h,pe.Jj,pe.GH,J.Hc],data:{animation:[L.Rz,L.FA]},changeDetection:0})}return Ce})()},75600:(Be,K,l)=>{"use strict";l.d(K,{x:()=>C});var s=l(60177),h=l(20464),e=l(18287),u=l(75563),m=l(54438);let C=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=m.$C({type:w});static#n=this.\u0275inj=m.G2t({imports:[s.MD,h.Q8,e.m,u.L]})}return w})()},76539:(Be,K,l)=>{"use strict";l.d(K,{F:()=>ve});var s=l(54438),h=l(89079),e=l(71996),u=l(51544),m=l(20464),C=l(51188),w=l(60177),M=l(41842),b=l(65210),R=l(78780),L=l(26986);function x(oe,H){if(1&oe&&s.nrm(0,"img",6),2&oe){const ae=s.XpG();s.Y8G("mcdSrc","/assets/images/animation/"+ae.getSourceName()+".png")}}function B(oe,H){if(1&oe&&(s.j41(0,"video",7),s.nrm(1,"source",8)(2,"source",9),s.k0s()),2&oe){const ae=s.XpG();s.Y8G("muted",!0)("mcdSrc","/assets/images/animation/"+ae.getSourceName()+".png"),s.R7$(),s.BMQ("mcdSrc","/assets/images/animation/"+ae.getSourceName()+".mov"),s.R7$(),s.BMQ("mcdSrc","/assets/images/animation/"+ae.getSourceName()+".webm")}}function Y(oe,H){if(1&oe&&(s.qex(0),s.nrm(1,"div",10),s.bVm()),2&oe){const ae=s.XpG();s.R7$(),s.Y8G("innerHTML",ae.emptyWordingInnerHTML,s.npT)}}function j(oe,H){if(1&oe&&(s.j41(0,"div",11),s.EFF(1),s.k0s()),2&oe){const ae=s.XpG();s.R7$(),s.SpI(" ",ae.emptyWording," ")}}let ve=(()=>{class oe{constructor(ae,pe){this.i18nService=ae,this.router=pe,this.canAutoPlayVideo$=(0,s.WQX)(e.i).on("canAutoPlayVideo").pipe((0,h.pQ)()),this.emptyWording=this.i18nService.translate("ui.global.text.no_data"),this.type=""}ngOnInit(){(this.router.url===u.q.MY_BONUSES_RUNNING.link||this.router.url===u.q.MY_BONUSES_COMPLETE.link)&&(this.emptyWording=this.i18nService.translate("ui.global.text.promotion_no_data"))}getSourceName(){let ae="no-data";return this.type&&(ae=`${ae}-${this.type}`),ae}static#e=this.\u0275fac=function(pe){return new(pe||oe)(s.rXU(m.JO),s.rXU(C.Ix))};static#t=this.\u0275cmp=s.VBU({type:oe,selectors:[["mcd-no-data"]],inputs:{emptyWording:"emptyWording",emptyWordingInnerHTML:"emptyWordingInnerHTML",type:"type"},decls:9,vars:6,consts:[["cannotplay",""],["defaultEmptyWording",""],[1,"no-result"],[1,"pic"],["mcdVideo","","controls","","autoplay","","preload","","playsinline","","loop","",3,"muted","mcdSrc",4,"ngIf","ngIfElse"],[4,"ngIf","ngIfElse"],[1,"img-no-data",3,"mcdSrc"],["mcdVideo","","controls","","autoplay","","preload","","playsinline","","loop","",3,"muted","mcdSrc"],["type","video/quicktime"],["type","video/webm"],[1,"text",3,"innerHTML"],[1,"text"]],template:function(pe,de){if(1&pe&&(s.j41(0,"div",2)(1,"div",3),s.DNE(2,x,1,1,"ng-template",null,0,s.C5r)(4,B,3,4,"video",4),s.nI1(5,"async"),s.k0s(),s.DNE(6,Y,2,1,"ng-container",5),s.k0s(),s.DNE(7,j,2,1,"ng-template",null,1,s.C5r)),2&pe){const Pe=s.sdS(3),W=s.sdS(8);s.R7$(4),s.Y8G("ngIf",s.bMT(5,4,de.canAutoPlayVideo$))("ngIfElse",Pe),s.R7$(2),s.Y8G("ngIf",de.emptyWordingInnerHTML)("ngIfElse",W)}},dependencies:[w.bT,M.f,b.h,R.K,L.n,w.Jj],changeDetection:0})}return oe})()},12806:(Be,K,l)=>{"use strict";l.d(K,{m:()=>C});var s=l(60177),h=l(18287),e=l(509),u=l(92455),m=l(54438);let C=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=m.$C({type:w});static#n=this.\u0275inj=m.G2t({imports:[s.MD,h.m,e.Z,u.i]})}return w})()},15314:(Be,K,l)=>{"use strict";l.d(K,{H:()=>m});var s=l(60177),h=l(54438),e=l(21413),u=l(5964);let m=(()=>{class C{constructor(M){this.isPlatformBrowser=!0,this.bridgeEvents={},this.nativeAppEvent$=new e.B,this.setupWebViewJavascriptBridge=b=>{if(!this.isPlatformBrowser)return;if(this.window.WebViewJavascriptBridge)return b(this.window.WebViewJavascriptBridge);if(this.window.WVJBCallbacks)return this.window.WVJBCallbacks?.push(b);this.window.WVJBCallbacks=[b];const R=document.createElement("iframe");R.style.display="none",R.src="https://__bridge_loaded__",document.documentElement.appendChild(R),setTimeout(function(){document.documentElement.removeChild(R)},0)},this.sendMessage=b=>{this.isPlatformBrowser&&(this.setupWebViewJavascriptBridge(function(R){R.callHandler("ObjC Echo",b)}),console.log(b),this.window.JsToNative?.sendToNative?(console.log("sendToNative",b),this.window.JsToNative.sendToNative(b)):console.warn("JsToNative.sendToNative not found."))},this.registerHandler=(b,R)=>{this.isPlatformBrowser&&this.setupWebViewJavascriptBridge(function(L){L.registerHandler(b,R)})},this.exposeFunction=(b,R,L)=>{if(!this.isPlatformBrowser)return;const x=window[b]||{};x[R]=L,window[b]=x},this.exposeFEFunction=(b,R,L)=>{if(!this.isPlatformBrowser)return;const x=this.window.FE||{},B=x[b]||{};B[R]=L,x[b]=B,this.window.FE=x},this.getExposedFunction=(b,R)=>{if(!this.isPlatformBrowser)return;const L=this.window.FE||{};return L[b]?L[b][R]:void 0},this.removeExposedFunction=(b,R)=>{if(!this.isPlatformBrowser)return;const L=this.window.FE||{};L[b]&&delete L[b][R]},this.isPlatformBrowser=(0,s.UE)(M),this.isPlatformBrowser&&(this.window=window,this.window.setupWebViewJavascriptBridge=this.setupWebViewJavascriptBridge,this.exposeNativeToJs())}exposeNativeToJs(){this.isPlatformBrowser&&(this.window.NativeToJs=this.window.NativeToJs||{},this.window.NativeToJs.sendToJs=b=>{console.log("sendToJs",b),this.nativeAppEvent$.next(JSON.parse(b))})}sendEventToNativeApp(M,b){const R={event:M,payload:b};setTimeout(()=>{this.sendMessage(JSON.stringify(R))})}onNativeAppEvent(M){return this.nativeAppEvent$.pipe((0,u.p)(b=>b.event===M))}sendWebStateMessage(M){this.sendMessage(`{"webState":"${M}"}`)}static#e=this.\u0275fac=function(b){return new(b||C)(h.KVO(h.Agw))};static#t=this.\u0275prov=h.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},93166:(Be,K,l)=>{"use strict";l.d(K,{U:()=>s});class s{static isLandscape(e){const u=e.orientation;let m=!(0==u||180===u);try{m&&window.navigator.userAgent.includes("moto g power")&&void 0===u&&this.isMobileBrowser()&&(m=!1)}catch{return m}return m}static isIOSSafari(){let e=!1;try{const u=navigator.userAgent||navigator.vendor;e=/iP(ad|od|hone)/i.test(u)&&/WebKit/i.test(u)&&!/(CriOS|FxiOS|OPiOS|mercury|OPT|EdgiOS)/i.test(u)}catch{console.log("BrowserDector: not browser, no navigator, detect isIOSSafari() failed, auto return false")}return e}static isIOSChrome(){let e=!1;try{const u=window.navigator.userAgent,m=/iPad|iPhone|iPod/.test(u),C=/CriOS/.test(u);e=m&&C}catch{console.log("BrowserDector: not browser, no navigator, detect isIOSChrome() failed, auto return false")}return e}static isMobileBrowser(){let e=!0;try{let u=!1;m=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(m)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(m.substr(0,4)))&&(u=!0),e=u}catch{console.log("BrowserDector: not browser, no navigator, detect isMobileBrowser() failed, auto return true")}var m;return e}}},10098:(Be,K,l)=>{"use strict";l.d(K,{j:()=>e});var s=l(41206),h=l(54438);let e=(()=>{class u{constructor(){this.subscriptions=[]}getCryptoCurrencyIconPath(C){return C?`/assets/images/icon-set/player/${[s.V.EUR,s.V.USD,s.V.GOLD].includes(C)?"withdraw":"crypto"}/${C.symbol.toLowerCase()}.png`:""}convertMessageContentToUrl(C){let w="";if(C.indexOf("href=")<0)w=C;else{const M=C.match(/href="[^"]+"/g);M&&M.length>0&&(w=M[0].replace("href=","").replace(/"/g,""))}return w.replace(/&/g,"&")}detectMessageContent(C){let w=C||"";w=w.replace("

","").replace("

","").replace("\r\n","");const b=w.match(/^\/open-game-link\/[^\/]+\/[^\/]+\/[^\/]+/g);return b&&b.length>0?{isOpenGame:!0,url:w}:{isOpenGame:!1,url:this.convertMessageContentToUrl(w)}}static#e=this.\u0275fac=function(w){return new(w||u)};static#t=this.\u0275prov=h.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},78382:(Be,K,l)=>{"use strict";l.d(K,{$z:()=>C,BB:()=>vt,C9:()=>se,Cm:()=>ye,JM:()=>Re,Jy:()=>ut,M6:()=>Kt,Mk:()=>mt,Mq:()=>ft,Nr:()=>Q,Sh:()=>j,Sn:()=>pe,Tl:()=>M,Ut:()=>W,X8:()=>Ve,Y8:()=>We,YR:()=>$,ZS:()=>je,_Z:()=>de,lK:()=>ae,m:()=>e,q:()=>H,qf:()=>oe,ql:()=>Oe,ww:()=>b,x2:()=>Ot,xf:()=>te,yr:()=>u});var s=l(54438),h=l(94768);const e="IGNORE_HISTORY";var u=function(wt){return wt[wt.MILLISECOND=1]="MILLISECOND",wt[wt.SECOND=1e3]="SECOND",wt[wt.MINUTE=6e4]="MINUTE",wt[wt.HOUR=36e5]="HOUR",wt[wt.DAY=864e5]="DAY",wt}(u||{});const C=new s.nKC("IOS_GAME_TIPS_SKIPPING_FLAG",{providedIn:"root",factory:()=>new h.Y}),M=(new s.nKC("LIVE_CHAT_STATE",{providedIn:"root",factory:()=>{const wt=new h.Y;return wt.set({open:{status:!1}}),wt}}),new s.nKC("LAYOUT_STATE",{providedIn:"root",factory:()=>new h.Y})),b=new s.nKC("HEADER_STATE",{providedIn:"root",factory:()=>{const wt=new h.Y;return wt.set({btnSetting:{hasAppDownload:!1,hasForum:!1,hasService:!1,hasLiveChatHook:!1,hasInbox:!1,hasHelpCenter:!1,hasLanguage:!1,hasEditBtrn:!1,isShowIconText:!0,hasShowDeposit:!1}}),wt}}),j=(new s.nKC("MINI_GAMES_STATE",{providedIn:"root",factory:()=>{const wt=new h.Y;return wt.set({gamesList:[]}),wt}}),new s.nKC("EXCLUSIVE_GAME_SETTING"),new s.nKC("EXCLUSIVE_GAME_SETTING_V3"),new s.nKC("IS_USE_USDT")),oe=(new s.nKC("USE_LOADER_BOX"),new s.nKC("CUSTOM_LOGO_PATH")),H=new s.nKC("FILTER_SPORT_VENDER_LIST"),ae=new s.nKC("CUSTOM_SPORT_VENDER_LIST"),pe=new s.nKC("CUSTOM_LOTTERY_VENDER_LIST"),de=new s.nKC("CUSTOM_TRANSLATION"),W=(new s.nKC("CUSTOM_REFERRAL_PAGE"),new s.nKC("CUSTOM_OPEN_LOTTERY_GAME")),te=(new s.nKC("CUSTOM_GAME_TYPE_NAME"),new s.nKC("CUSTOM_3RD_LOGIN_BTN")),$=(new s.nKC("HAS_VELKI_PAGE"),new s.nKC("IS_SHOW_HOME_MARQUEE")),Q=new s.nKC("IS_HIDE_INTERCOM_PHONE"),se=new s.nKC("GET_RETARGETTING_URL"),je=(new s.nKC("CUSTOM_CURRENCY_NAME"),new s.nKC("HIDE_APPDOWNLOAD_LINK"),new s.nKC("CUSTOM_ON_CLICK_GAME_TYPE")),Ot=(new s.nKC("SHOW_CRICKET_ALL_EVENT_TYPES_TAB"),new s.nKC("CUSTOM_FOOTER_LINK")),mt=new s.nKC("IS_OPEN_TERMS_IN_QUICK_REGISTER_ENTRY_FOOTER_TIPS"),Oe=new s.nKC("CUSTOM_HIDE_SMS_BY_COUNTRY"),Re=new s.nKC("CUSTOM_VIP_LEVEL_ICON_PATH"),Ve=new s.nKC("CUSTOM_MENU_CONFIG"),ye=new s.nKC("CUSTOM_DEPOSIT_QRCODE_BY_CURRENCY"),We=(new s.nKC("IS_SHOW_ICON_MARQUEE"),new s.nKC("IS_LEFT_MENU_EXISTENCE_FOR_CRICKET"),new s.nKC("IS_ORION_LAYOUT")),ut=new s.nKC("CUSTOM_POSITION_MENU_BANNER"),ft=new s.nKC("SHOW_SMS_OTP_TIP"),vt=new s.nKC("IS_FILTER_CURRENCY_MAPPING"),Kt=new s.nKC("IS_FORCE_USE_SPORT_GAMETYPEID")},62685:(Be,K,l)=>{"use strict";l.d(K,{r:()=>s});class s{static getGMT(e){const u=new Date(e);if(u){const m=u.getTimezoneOffset()/60;return m<=0?"GMT+"+-1*m:`GMT-${m}`}return""}static isToday(e){return e.setHours(0,0,0,0)==(new Date).setHours(0,0,0,0)}static isYesterday(e){return e.setHours(0,0,0,0)==new Date(Date.now()-864e5).setHours(0,0,0,0)}}},99146:(Be,K,l)=>{"use strict";l.d(K,{N:()=>h});var s=l(54438);let h=(()=>{class e{constructor(m){this.viewContainerRef=m}static#e=this.\u0275fac=function(C){return new(C||e)(s.rXU(s.c1b))};static#t=this.\u0275dir=s.FsC({type:e,selectors:[["","mcdDynamicHost",""]]})}return e})()},12871:(Be,K,l)=>{"use strict";l.d(K,{s:()=>e});var s=l(60177),h=l(54438);let e=(()=>{class u{static#e=this.\u0275fac=function(w){return new(w||u)};static#t=this.\u0275mod=h.$C({type:u});static#n=this.\u0275inj=h.G2t({imports:[s.MD]})}return u})()},68576:(Be,K,l)=>{"use strict";l.d(K,{Gp:()=>w,IK:()=>b,Rd:()=>e,e7:()=>L,o3:()=>m});var s=l(68300);class e extends s.w{constructor(B){super("QE_DEPOSIT",B)}}class m extends s.w{constructor(B){super("QE_DEPOSIT_SUCCESS",B)}}class w extends s.w{constructor(B){super("QE_DEPOSIT_THIRD_PARTY_SUBMIT",B)}}class b extends s.w{constructor(B){super("QE_DEPOSIT_COMPLETE",B)}}class L extends s.w{constructor(B){super("QE_FIRST_DEPOSIT_COMPLETE",B)}}},35436:(Be,K,l)=>{"use strict";l.d(K,{V:()=>e});var s=l(68300);class e extends s.w{constructor(m){super("QE_LANGUAGE_CHANGED_SUCCESS",m)}}},38804:(Be,K,l)=>{"use strict";l.d(K,{_:()=>m,f:()=>u});var s=l(68300);class u extends s.w{constructor(w){super("QE_LOGIN_SUCCESS",w)}}class m extends s.w{constructor(){super("QE_LOGOUT_SUCCESS")}}},8284:(Be,K,l)=>{"use strict";l.d(K,{j:()=>e});var s=l(68300);class e extends s.w{constructor(m){super("QE_OPEN_GAME",m)}}},80888:(Be,K,l)=>{"use strict";l.d(K,{UZ:()=>C,Vw:()=>w,uF:()=>m});var s=l(68300);class m extends s.w{constructor(){super("QE_REGISTER_KEYUP",void 0)}}class C extends s.w{constructor(){super("QE_REGISTER_CLICK",void 0)}}class w extends s.w{constructor(b){super("QE_REGISTER_SUCCESS",b)}}},3712:(Be,K,l)=>{"use strict";l.d(K,{c:()=>e,r:()=>m});var s=l(68300);class e extends s.w{constructor(w){super("QE_WITHDRAWAL",w)}}class m extends s.w{constructor(w){super("QE_WITHDRAWAL_SUCCESS",w)}}},81042:(Be,K,l)=>{"use strict";l.d(K,{n:()=>u});var s=l(21413),h=l(5964),e=l(54438);let u=(()=>{class m{constructor(){this.eventBrocker=new s.B}on(w){return this.eventBrocker.pipe((0,h.p)(M=>M instanceof w))}dispatch(w){this.eventBrocker.next(w)}static#e=this.\u0275fac=function(M){return new(M||m)};static#t=this.\u0275prov=e.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},68300:(Be,K,l)=>{"use strict";l.d(K,{w:()=>s});class s{constructor(e,u){this.type=e,this.payload=u,this.eventUUId=crypto.randomUUID()??Date.now().toString()}}},54588:(Be,K,l)=>{"use strict";l.d(K,{$:()=>w});var s=l(22806),h=l(96354),e=l(84572),u=l(96697);class m{static load(){return l.e(5502).then(l.bind(l,45502)).then(b=>b.load({monitoring:!1}))}static get(){return(0,s.H)(m.load().then(b=>b.get()))}static getVisitorId(){return m.get().pipe((0,h.T)(b=>b.visitorId))}}let C=(()=>{class M{static#e=this.browserHashKeys=["applePay","pdfViewerEnabled","cookiesEnabled","indexedDB","localStorage","math","openDatabase","sessionStorage","vendorFlavors","webGlBasics","webGlExtensions"];set browserHashKeys(R){M.browserHashKeys=R}static#t=this.deviceHashKeys=["architecture","audio","colorDepth","colorGamut","hardwareConcurrency","hdr","deviceMemory","touchSupport"];set deviceHashKeys(R){M.deviceHashKeys=R}static importModule(){return l.e(9583).then(l.bind(l,89583))}static load(){return this.importModule().then(R=>R.load())}static get(){return(0,s.H)(M.load().then(R=>R.get()))}static getVisitorId(){return M.get().pipe((0,h.T)(R=>R.visitorId))}static getBrowserHash(){return(0,e.z)([M.get(),(0,s.H)(this.importModule())]).pipe((0,u.s)(1),(0,h.T)(([R,L])=>{const B=[...M.browserHashKeys,...M.deviceHashKeys].map(Y=>[Y,R.components[Y]]).reduce((Y,[j,ve])=>(Y[j]=ve,Y),{});return L.hashComponents(B)}))}static getDeviceHash(){return(0,e.z)([M.get(),(0,s.H)(this.importModule())]).pipe((0,u.s)(1),(0,h.T)(([R,L])=>{const B=M.deviceHashKeys.map(Y=>[Y,R.components[Y]]).reduce((Y,[j,ve])=>(Y[j]=ve,Y),{});return L.hashComponents(B)}))}static getAllHash(){return(0,e.z)([M.getVisitorId(),M.getBrowserHash(),M.getDeviceHash()]).pipe((0,u.s)(1),(0,h.T)(R=>({visitorId:R[0],browserHash:R[1],deviceHash:R[2]})))}}return M})();class w{static get FingerprintJSv3(){return m}static get FingerprintJSv4(){return C}}},67487:(Be,K,l)=>{"use strict";l.d(K,{t:()=>u});var s=l(60177),h=l(31360),e=l(54438);let u=(()=>{class m{static forRoot(){return{ngModule:h.m,providers:[h.m]}}static#e=this.\u0275fac=function(M){return new(M||m)};static#t=this.\u0275mod=e.$C({type:m});static#n=this.\u0275inj=e.G2t({imports:[s.MD]})}return m})()},31360:(Be,K,l)=>{"use strict";l.d(K,{m:()=>w});var s=l(7673),h=l(25558),e=l(84572),u=l(96697),m=l(96354),C=l(54588);class w{addFingerprintData(b){return(0,s.of)(void 0).pipe((0,h.n)(()=>(0,e.z)([C.$.FingerprintJSv3.getVisitorId(),C.$.FingerprintJSv4.getAllHash()]).pipe((0,u.s)(1))),(0,m.T)(([R,L])=>({...b,fingerprint2:R,fingerprint4:L.visitorId,browserHash:L.browserHash,deviceHash:L.deviceHash})))}}},51658:(Be,K,l)=>{"use strict";l.d(K,{r:()=>m});var s=l(54438),h=l(78382),e=l(69506),u=l(78922);let m=(()=>{class C{constructor(){this.isUseUsdt=(0,s.WQX)(h.Sh,{optional:!0})}getFlagPathFromCountry(M,b="webp"){const R="number"==typeof M?e.B.getInstanceOf(M):M;return R?`/assets/images/flag/${R.name}.${b}`:"/assets/images/flag/default.svg"}getFlagPathFromLanguage(M,b="webp"){return`/assets/images/flag/${M.flagImageName||"GB"}.${b}`}getFlagPathFromCurrencyMapping(M,b,R="png"){if(this.isUseUsdt?.(b))return`/assets/images/flag/US.${R}`;const L=M.mapping.find(x=>x.currencySettingTypeId===u.X.COUNTRY.unique);if(L?.mappingData?.[0]){const x=Number(L.mappingData[0]),B=e.B.getInstanceOf(x);return B?`/assets/images/flag/${B.name}.${R}`:"/assets/images/flag/default.svg"}return"/assets/images/flag/default.svg"}static#e=this.\u0275fac=function(b){return new(b||C)};static#t=this.\u0275prov=s.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},22741:(Be,K,l)=>{"use strict";l.d(K,{s:()=>R});var s=l(54438),h=l(60177),e=l(51188),u=l(21413),m=l(5964),C=l(70152),w=l(88141),M=l(96697),b=l(56977);let R=(()=>{class L{constructor(){this.isBrowser=(0,h.UE)((0,s.WQX)(s.Agw)),this.router=(0,s.WQX)(e.Ix),this.reset$=new u.B}forceReloadAfterRouterNavigation(){this.reset$.next(null),this.router.events.pipe((0,m.p)(B=>B instanceof e.wF),(0,C.B)(100),(0,w.M)(()=>console.warn("forceUpdateStart")),(0,M.s)(1),(0,b.Q)(this.reset$)).subscribe(B=>{this.isBrowser&&location.reload()})}static#e=this.\u0275fac=function(Y){return new(Y||L)};static#t=this.\u0275prov=s.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}return L})()},61760:(Be,K,l)=>{"use strict";l.d(K,{QK:()=>u,c$:()=>e});var s=l(54438),e=function(m){return m[m.FORGOT_PASSWORD=1]="FORGOT_PASSWORD",m[m.REGISTRATION=2]="REGISTRATION",m}(e||{});const u=new s.nKC("CUSTOM_I18N_ERROR_MAPPER")},86646:(Be,K,l)=>{"use strict";l.d(K,{_:()=>e});var s=l(54438),h=l(81084);let e=(()=>{class u{constructor(){this.cdnService=(0,s.WQX)(h.H),this.prefix="url(",this.suffix=")"}detectElementChanges(C){new MutationObserver(M=>{for(const b of M){const R=b.target;if("img"!==R.tagName.toLowerCase()&&R.tagName){const L=R.getAttribute("style")??"";new RegExp(/(background-image)/,"i").test(L)&&(R.style.backgroundImage=this.urlReplace(R.style.backgroundImage)),new RegExp(/(-webkit-mask-image)/,"i").test(L)&&(R.style.webkitMaskImage=this.urlReplace(R.style.webkitMaskImage))}}}).observe(C,{attributes:!0,subtree:!0,attributeFilter:["style","src"],attributeOldValue:!0})}urlReplace(C){const w=C.split(",");if(1===w.length){const M=C.replace(/url\(['"](.+)['"]\)/,"$1");return M&&!new RegExp("^https","i").test(M)&&(C=`${this.prefix}${this.cdnService.useWithServer(M)}${this.suffix}`),C}return w.length>1&&!w.every(M=>M.includes("https"))?w.map(M=>{const b=M.replace(/url\(['"](.+)['"]\)/,"$1");return b&&!new RegExp("^https","i").test(b)?`${this.prefix}'${this.cdnService.useWithServer(b.trim())}'${this.suffix}`:M}).join(","):C}static#e=this.\u0275fac=function(w){return new(w||u)};static#t=this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},8688:(Be,K,l)=>{"use strict";l.d(K,{AF:()=>x,Hc:()=>R,OJ:()=>Y,QN:()=>B,VH:()=>L});var s=l(54438),h=l(81084),e=l(69506),u=l(45122),m=l(60328),C=l(91402),w=l(41206),M=l(10098),b=l(89079);let R=(()=>{class j{constructor(){this.cdnService=(0,s.WQX)(h.H),this.prefix="url(",this.suffix=")"}transform(oe){return oe?`${this.prefix}'${this.cdnService.useWithServer(oe)}'${this.suffix}`:""}static#e=this.\u0275fac=function(H){return new(H||j)};static#t=this.\u0275pipe=s.EJ8({name:"imageUrl",type:j,pure:!0})}return j})(),L=(()=>{class j{#e;#t;constructor(){this.cdnService=(0,s.WQX)(h.H),this.environment=(0,s.WQX)(m.E),this.#e=(0,s.WQX)(m.D),this.sportsIconMode=this.environment.sportsIconSetting?.sideMenu,this.#t=(0,s.vPA)(this.environment.vendorIconColor),this.#e.select("colorTheme").pipe((0,b.pQ)()).subscribe(oe=>{this.#t.set(oe?.iconColor??this.environment.vendorIconColor)})}transform(oe,H){if(!oe||!H)return"";const ae=oe.unique===u.Z.SPORT.unique&&this.sportsIconMode?this.getSportsImagePath(H):this.getImagePath(oe,H);return this.cdnService.useWithServer(ae)}getImagePath(oe,H){return oe.unique===u.Z.SPORT.unique&&this.sportsIconMode?this.getSportsImagePath(H):oe.unique===u.Z.SPORT.unique&&"Saba"===H.vendorCode?`/assets/images/icon-set/sports-icon/icon-${H.imageClass?.toLowerCase()}.svg`:H.imageFile?H.imageFile?`/assets/images/brand/${this.#t()}/${H.imageFile}.png`:"":`/assets/images/brand/${this.#t()}/provider-${H.vendorCode?.toLowerCase()}.png`}getSportsImagePath(oe){if("img-custom"!==this.sportsIconMode)return oe.imageClass?`/assets/images/icon-set/sports-icon/icon-${oe.imageClass?.toLowerCase()}.png`:`/assets/images/icon-set/sports-icon/icon-${oe.vendorCode?.toLowerCase()}.png`;if("Saba"===oe.vendorCode)return`/assets/images/sports/${oe.imageFile}.png`;if("HORSEDOG"!==oe.vendorCode)return`/assets/images/sports/provider-${oe.vendorCode?.toLowerCase()}.png`;switch(oe.imageClass){case"horseracing":return"/assets/images/sports/provider-horseracing.png";case"greyhound":return"/assets/images/sports/provider-greyhound.png";default:return""}}static#n=this.\u0275fac=function(H){return new(H||j)};static#s=this.\u0275pipe=s.EJ8({name:"providerPath",type:j,pure:!0})}return j})(),x=(()=>{class j{constructor(){this.cdnService=(0,s.WQX)(h.H)}transform(oe){if(!oe)return"";const H=`/assets/images/flag/${e.B.getInstanceOf(oe)?.name}.png`;return this.cdnService.useWithServer(H)}static#e=this.\u0275fac=function(H){return new(H||j)};static#t=this.\u0275pipe=s.EJ8({name:"flagPath",type:j,pure:!0})}return j})(),B=(()=>{class j{constructor(){this.commonUtilService=(0,s.WQX)(M.j)}transform(oe){const H=C.h.getInstanceOf(oe.bankTypeId);let ae="";if(H===C.h.LOCAL_BANK||H===C.h.ONLINE_BANKING)ae="/assets/images/payment/bank-card.png";else if(H===C.h.CRYPTOEXCHANGE){const pe=w.V.getInstanceOf(oe.cryptoCurrencyTypeId);pe&&(ae=this.commonUtilService.getCryptoCurrencyIconPath(pe))}else{if(H===C.h.CRYPTOSWITCH)return"/assets/images/icon-payment-cryptocurrency.png";H&&(ae=`/assets/images/payment/${H.name.toLowerCase()}.png`)}return ae}static#e=this.\u0275fac=function(H){return new(H||j)};static#t=this.\u0275pipe=s.EJ8({name:"bankPath",type:j,pure:!0})}return j})(),Y=(()=>{class j{transform(oe,H){const ae=C.h.getInstanceOf(oe);return ae===C.h.LOCAL_BANK?"/assets/images/payment/bank-card.png":ae===C.h.INTERAC?"/assets/images/payment/interac-e-transfer.png":ae===C.h.ONLINE_BANKING?"/assets/images/payment/bank-card.png":ae===C.h.CRYPTOEXCHANGE&&H?H.cryptoCurrencyChainType?`/assets/images/icon-set/player/crypto/${H.cryptoCurrencyChainType.name.toLowerCase()}.svg`:`/assets/images/icon-set/player/withdraw/${H.cryptoCurrencyType.name.toLowerCase()}.png`:ae===C.h.CRYPTOSWITCH?"/assets/images/icon-payment-cryptocurrency.png":`/assets/images/payment/${ae?.name.toLowerCase()}.png`}static#e=this.\u0275fac=function(H){return new(H||j)};static#t=this.\u0275pipe=s.EJ8({name:"paymentPath",type:j,pure:!0})}return j})()},75563:(Be,K,l)=>{"use strict";l.d(K,{L:()=>u});var s=l(8688),h=l(60177),e=l(54438);let u=(()=>{class m{static#e=this.\u0275fac=function(M){return new(M||m)};static#t=this.\u0275mod=e.$C({type:m});static#n=this.\u0275inj=e.G2t({providers:[s.VH,s.AF,s.QN,s.OJ],imports:[h.MD]})}return m})()},41842:(Be,K,l)=>{"use strict";l.d(K,{f:()=>u});var s=l(54438),h=l(60177),e=l(81084);let u=(()=>{class m{constructor(){this.isBrowser=(0,h.UE)((0,s.WQX)(s.Agw)),this.webSiteCustomPath="/images/wsc/",this.nativeEl=(0,s.WQX)(s.aKT).nativeElement,this.cdnService=(0,s.WQX)(e.H),this.rawSrc="",this.loading="lazy",this.renderWhileNotBrowser=!1}ngOnChanges(w){w.rawSrc&&w.rawSrc.currentValue&&this.handlerImageProps(w.rawSrc.currentValue),w.loading&&this.nativeEl.setAttribute("loading",w.loading.currentValue)}ngOnInit(){this.nativeEl&&"lazy"===this.loading&&this.nativeEl.setAttribute("loading","lazy")}handlerImagePath(w){this.isBrowser||this.renderWhileNotBrowser?((w=w||"").indexOf(this.webSiteCustomPath)>=0&&console.warn(`Don't use wsc url : ${w}`),this.nativeEl.src=`${this.cdnService.useWithServer(w,{k:"source",v:"mcdsrc"})}`):this.nativeEl.src=""}handlerImageAlt(w){if(w=w||"",!this.nativeEl.alt){const M=w.split("/");if(M.length>0){const b=M[M.length-1].split(".");2===b.length&&(this.nativeEl.alt=b[0])}}}handlerImageProps(w){this.handlerImageAlt(w),this.handlerImagePath(w)}static#e=this.\u0275fac=function(M){return new(M||m)};static#t=this.\u0275dir=s.FsC({type:m,selectors:[["img","mcdSrc",""]],inputs:{rawSrc:[s.Mj6.None,"mcdSrc","rawSrc"],loading:"loading",renderWhileNotBrowser:"renderWhileNotBrowser"},features:[s.OA$]})}return m})()},18287:(Be,K,l)=>{"use strict";l.d(K,{m:()=>e});var s=l(60177),h=l(54438);let e=(()=>{class u{static#e=this.\u0275fac=function(w){return new(w||u)};static#t=this.\u0275mod=h.$C({type:u});static#n=this.\u0275inj=h.G2t({imports:[s.MD]})}return u})()},65210:(Be,K,l)=>{"use strict";l.d(K,{h:()=>m});var s=l(54438),h=l(89079),e=l(41842),u=l(33726);let m=(()=>{class C extends e.f{constructor(){super(...arguments),this.eleRef=(0,s.WQX)(s.aKT),this.destroyRef=(0,s.WQX)(s.abz),this.rawSrc="",this.poster="",this.posterAlt=""}ngOnInit(){super.ngOnInit(),this.bindImageErrorEvent()}bindImageErrorEvent(){(0,u.R)(this.eleRef.nativeElement,"error").pipe((0,h.pQ)(this.destroyRef)).subscribe(()=>{this.handlerImageProps(this.poster),this.posterAlt&&(this.eleRef.nativeElement.alt=this.posterAlt)})}static#e=this.\u0275fac=(()=>{let M;return function(R){return(M||(M=s.xGo(C)))(R||C)}})();static#t=this.\u0275dir=s.FsC({type:C,selectors:[["img","mcdSrc",""]],inputs:{rawSrc:[s.Mj6.None,"mcdSrc","rawSrc"],poster:"poster",posterAlt:"posterAlt"},features:[s.Vt3]})}return C})()},76672:(Be,K,l)=>{"use strict";l.d(K,{g:()=>u});var s=l(60177),h=l(54438),e=l(71522);let u=(()=>{class m{constructor(w){this.platformId=w}getLocalLanguage(){let w=e.t.default;if((0,s.UE)(this.platformId)){const M=localStorage.getItem("languageType");if(!isNaN(Number(M))){const b=e.t.getInstanceOf(Number(M));b&&(w=b)}}return w}static#e=this.\u0275fac=function(M){return new(M||m)(h.KVO(h.Agw))};static#t=this.\u0275prov=h.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},96796:(Be,K,l)=>{"use strict";function s(h){const e=h-Date.now(),m=e%864e5,w=m%36e5;return{days:Math.floor(e/864e5),hours:Math.floor(m/36e5),minutes:Math.floor(w/6e4),seconds:Math.floor(w%6e4/1e3)}}l.d(K,{V:()=>s})},90011:(Be,K,l)=>{"use strict";l.d(K,{S:()=>e});var s=l(45829),h=l(54438);let e=(()=>{class u{constructor(C){this.loaderBoxState=C}setLoadingState(C){this.loaderBoxState.set({isLoading:C})}get state$(){return this.loaderBoxState.select("isLoading")}static#e=this.\u0275fac=function(w){return new(w||u)(h.KVO(s.m))};static#t=this.\u0275prov=h.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},45829:(Be,K,l)=>{"use strict";l.d(K,{m:()=>e});var s=l(94768);const e=new(l(54438).nKC)("LOADER_BOX_STATE",{providedIn:"root",factory:()=>{const u=new s.Y;return u.set({isLoading:!1}),u}})},73927:(Be,K,l)=>{"use strict";l.d(K,{z:()=>Pe});var e=1e6,u=1e6,M="[big.js] ",b=M+"Invalid ",R=b+"decimal places",L=b+"rounding mode",x=M+"Division by zero",B={},Y=void 0,j=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function H(W,J,te,q){var $=W.c;if(te===Y&&(te=W.constructor.RM),0!==te&&1!==te&&2!==te&&3!==te)throw Error(L);if(J<1)q=3===te&&(q||!!$[0])||0===J&&(1===te&&$[0]>=5||2===te&&($[0]>5||5===$[0]&&(q||$[1]!==Y))),$.length=1,q?(W.e=W.e-J+1,$[0]=1):$[0]=W.e=0;else if(J<$.length){if(q=1===te&&$[J]>=5||2===te&&($[J]>5||5===$[J]&&(q||$[J+1]!==Y||1&$[J-1]))||3===te&&(q||!!$[0]),$.length=J,q)for(;++$[--J]>9;)if($[J]=0,0===J){++W.e,$.unshift(1);break}for(J=$.length;!$[--J];)$.pop()}return W}function ae(W,J,te){var q=W.e,$=W.c.join(""),Q=$.length;if(J)$=$.charAt(0)+(Q>1?"."+$.slice(1):"")+(q<0?"e":"e+")+q;else if(q<0){for(;++q;)$="0"+$;$="0."+$}else if(q>0)if(++q>Q)for(q-=Q;q--;)$+="0";else q1&&($=$.charAt(0)+"."+$.slice(1));return W.s<0&&te?"-"+$:$}B.abs=function(){var W=new this.constructor(this);return W.s=1,W},B.cmp=function(W){var J,q=this.c,$=(W=new this.constructor(W)).c,Q=this.s,se=W.s,Ee=this.e,me=W.e;if(!q[0]||!$[0])return q[0]?Q:$[0]?-se:0;if(Q!=se)return Q;if(J=Q<0,Ee!=me)return Ee>me^J?1:-1;for(se=(Ee=q.length)<(me=$.length)?Ee:me,Q=-1;++Q$[Q]^J?1:-1;return Ee==me?0:Ee>me^J?1:-1},B.div=function(W){var J=this,te=J.constructor,q=J.c,$=(W=new te(W)).c,Q=J.s==W.s?1:-1,se=te.DP;if(se!==~~se||se<0||se>e)throw Error(R);if(!$[0])throw Error(x);if(!q[0])return W.s=Q,W.c=[W.e=0],W;var Ee,me,je,Qe,Ot,mt=$.slice(),Oe=Ee=$.length,Re=q.length,Ve=q.slice(0,Ee),ye=Ve.length,ht=W,Ce=ht.c=[],We=0,ut=se+(ht.e=J.e-W.e)+1;for(ht.s=Q,Q=ut<0?0:ut,mt.unshift(0);ye++ye?1:-1;else for(Ot=-1,Qe=0;++OtVe[Ot]?1:-1;break}if(!(Qe<0))break;for(me=ye==Ee?$:mt;ye;){if(Ve[--ye]ut&&H(ht,ut,te.RM,Ve[0]!==Y),ht},B.eq=function(W){return 0===this.cmp(W)},B.gt=function(W){return this.cmp(W)>0},B.gte=function(W){return this.cmp(W)>-1},B.lt=function(W){return this.cmp(W)<0},B.lte=function(W){return this.cmp(W)<1},B.minus=B.sub=function(W){var J,te,q,$,Q=this,se=Q.constructor,Ee=Q.s,me=(W=new se(W)).s;if(Ee!=me)return W.s=-me,Q.plus(W);var je=Q.c.slice(),Qe=Q.e,Ot=W.c,mt=W.e;if(!je[0]||!Ot[0])return Ot[0]?W.s=-me:je[0]?W=new se(Q):W.s=1,W;if(Ee=Qe-mt){for(($=Ee<0)?(Ee=-Ee,q=je):(mt=Qe,q=Ot),q.reverse(),me=Ee;me--;)q.push(0);q.reverse()}else for(te=(($=je.length0)for(;me--;)je[J++]=0;for(me=J;te>Ee;){if(je[--te]0?(me=se,q=je):(J=-J,q=Ee),q.reverse();J--;)q.push(0);q.reverse()}for(Ee.length-je.length<0&&(q=je,je=Ee,Ee=q),J=je.length,te=0;J;Ee[J]%=10)te=(Ee[--J]=Ee[J]+je[J]+te)/10|0;for(te&&(Ee.unshift(te),++me),J=Ee.length;0===Ee[--J];)Ee.pop();return W.c=Ee,W.e=me,W},B.pow=function(W){var J=this,te=new J.constructor("1"),q=te,$=W<0;if(W!==~~W||W<-u||W>u)throw Error(b+"exponent");for($&&(W=-W);1&W&&(q=q.times(J)),W>>=1;)J=J.times(J);return $?te.div(q):q},B.prec=function(W,J){if(W!==~~W||W<1||W>e)throw Error(b+"precision");return H(new this.constructor(this),W,J)},B.round=function(W,J){if(W===Y)W=0;else if(W!==~~W||W<-e||W>e)throw Error(R);return H(new this.constructor(this),W+this.e+1,J)},B.sqrt=function(){var W,J,te,q=this,$=q.constructor,Q=q.s,se=q.e,Ee=new $("0.5");if(!q.c[0])return new $(q);if(Q<0)throw Error(M+"No square root");0===(Q=Math.sqrt(q+""))||Q===1/0?((J=q.c.join("")).length+se&1||(J+="0"),se=((se+1)/2|0)-(se<0||1&se),W=new $(((Q=Math.sqrt(J))==1/0?"5e":(Q=Q.toExponential()).slice(0,Q.indexOf("e")+1))+se)):W=new $(Q+""),se=W.e+($.DP+=4);do{W=Ee.times((te=W).plus(q.div(te)))}while(te.c.slice(0,se).join("")!==W.c.slice(0,se).join(""));return H(W,($.DP-=4)+W.e+1,$.RM)},B.times=B.mul=function(W){var J,$=this.c,Q=(W=new(0,this.constructor)(W)).c,se=$.length,Ee=Q.length,me=this.e,je=W.e;if(W.s=this.s==W.s?1:-1,!$[0]||!Q[0])return W.c=[W.e=0],W;for(W.e=me+je,seme;)Ee=J[je]+Q[me]*$[je-me-1]+Ee,J[je--]=Ee%10,Ee=Ee/10|0;J[je]=Ee}for(Ee?++W.e:J.shift(),me=J.length;!J[--me];)J.pop();return W.c=J,W},B.toExponential=function(W,J){var te=this,q=te.c[0];if(W!==Y){if(W!==~~W||W<0||W>e)throw Error(R);for(te=H(new te.constructor(te),++W,J);te.c.lengthe)throw Error(R);for(W=W+(te=H(new te.constructor(te),W+te.e+1,J)).e+1;te.c.length=J.PE,!!W.c[0])},B.toNumber=function(){var W=Number(ae(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(W.toString()))throw Error(M+"Imprecise conversion");return W},B.toPrecision=function(W,J){var te=this,q=te.constructor,$=te.c[0];if(W!==Y){if(W!==~~W||W<1||W>e)throw Error(b+"precision");for(te=H(new q(te),W,J);te.c.length=q.PE,!!$)},B.valueOf=function(){var W=this,J=W.constructor;if(!0===J.strict)throw Error(M+"valueOf disallowed");return ae(W,W.e<=J.NE||W.e>=J.PE,!0)};const de=function ve(){function W(J){var te=this;if(!(te instanceof W))return J===Y?ve():new W(J);if(J instanceof W)te.s=J.s,te.e=J.e,te.c=J.c.slice();else{if("string"!=typeof J){if(!0===W.strict&&"bigint"!=typeof J)throw TypeError(b+"value");J=0===J&&1/J<0?"-0":String(J)}!function oe(W,J){var te,q,$;if(!j.test(J))throw Error(b+"number");for(W.s="-"==J.charAt(0)?(J=J.slice(1),-1):1,(te=J.indexOf("."))>-1&&(J=J.replace(".","")),(q=J.search(/e/i))>0?(te<0&&(te=q),te+=+J.slice(q+1),J=J.substring(0,q)):te<0&&(te=J.length),$=J.length,q=0;q<$&&"0"==J.charAt(q);)++q;if(q==$)W.c=[W.e=0];else{for(;$>0&&"0"==J.charAt(--$););for(W.e=te-q-1,W.c=[],te=0;q<=$;)W.c[te++]=+J.charAt(q++)}}(te,J)}te.constructor=W}return W.prototype=B,W.DP=20,W.RM=1,W.NE=-7,W.PE=21,W.strict=!1,W.roundDown=0,W.roundHalfUp=1,W.roundHalfEven=2,W.roundUp=3,W}();let Pe=(()=>{class W{static add(te,q){const $=new de(te),Q=new de(q);return $.add(Q).toNumber()}static multiply(te,q){return this.mul(te,q)}static bigDiv(te,q){const $=new de(te),Q=new de(q);return $.div(Q).toNumber()}static bigMul(te,q){const $=new de(te),Q=new de(q);return $.mul(Q).toNumber()}static divide(te,q){let $=0,Q=0,se=0,Ee=0;try{$=te.toString().split(".")[1].length}catch{}try{Q=q.toString().split(".")[1].length}catch{}return se=Number(te.toString().replace(".","")),Ee=Number(q.toString().replace(".","")),W.mul(se/Ee,Math.pow(10,Q-$))}static#e=this.ceil=(te,q=2)=>{const $=Math.pow(10,q);return this.divide(Math.ceil(this.mul(te,$)),$)};static#t=this.floor=(te,q=2)=>{const $=Math.pow(10,q);return this.divide(Math.floor(this.mul(te,$)),$)};static#n=this.round=(te,q=2)=>{const $=Math.pow(10,q);return this.divide(Math.round(this.mul(te,$)),$)};static#s=this.isAmountFormat=(te,q=2)=>new RegExp(`^[0-9]+(.[0-9]{0,${q}})?$`).test(te.toString());static#i=this.amountFormatCheck=(te,q=2)=>{if(!W.isAmountFormat(te,q))return"";let $=te.toString();const Q=$.substring(0,1),se=$.substring(1,1);if(Q.length>1&&"0"===Q&&"."!==se&&($=$.substring(1,1)),"."===Q&&($=""),-1!==$.indexOf(".")){const Ee=$.substring($.indexOf(".")+1);-1!==Ee.indexOf(".")&&($=$.substring(0,$.indexOf(".")+Ee.indexOf(".")+1))}return $};static#o=this.mul=(te,q)=>{let $=0,Q=0,se=0,Ee=0;const me=te.toString(),je=q.toString();try{$=me.toString().split(".")[1].length}catch{}try{Q=je.toString().split(".")[1].length}catch{}return se=Number(me.toString().replace(".","")),Ee=Number(je.toString().replace(".","")),se*Ee/Math.pow(10,$+Q)};static#r=this.getRandomInt=(te,q)=>Math.floor(Math.random()*(q-te+1))+te}return W})()},46754:(Be,K,l)=>{"use strict";l.d(K,{s:()=>b});var s=l(60177),h=l(54438),e=l(51188),u=l(88141),m=l(56977),C=l(21413),w=l(78382),M=l(74851);let b=(()=>{class R{constructor(){this.isBrowser=(0,s.UE)((0,h.WQX)(h.Agw)),this.router=(0,h.WQX)(e.Ix),this._beforeNavigationBack$=new C.B,this._afterNavigationBack$=new C.B,this.beforeNavigationBack$=this._beforeNavigationBack$.asObservable(),this.afterNavigationBack$=this._afterNavigationBack$.asObservable(),this.histories=[],this.isInit=!1,this.destroy$=new C.B}init(){return!this.isBrowser||this.isInit||(this.observeNavigationEnd(),this.isInit=!0),!0}back(){if(!this.isBrowser)return Promise.resolve(!1);const x={url:""},B=this.histories;B.pop();let Y={url:"/"};if(B.length>0){const j=B[B.length-1];Y=M.C.startWithLink(j.url)===M.C.LANDING_PAGE?{url:M.C.MAIN.link}:j}return this._beforeNavigationBack$.next({from:x,to:Y}),this.router.navigateByUrl(Y.url,{state:Y.state}).then(j=>(this._afterNavigationBack$.next({from:x,to:Y,succeed:j}),j))}observeNavigationEnd(){this.isBrowser&&this.router.events.pipe((0,u.M)(x=>{if(x instanceof e.wF){if(this.router.getCurrentNavigation()?.extras.state?.[w.m])return;const B=this.histories;let Y;try{Y=history?.state}catch(oe){console.error(oe)}const j=x.urlAfterRedirects,ve=B.findIndex(oe=>oe.url===j);B.push(ve<0?{url:j,state:Y}:B.splice(ve,1)[0])}}),(0,m.Q)(this.destroy$)).subscribe()}registerBootstrap(x){x.onDestroy(()=>{this.destroy$.next(),this.destroy$.complete()})}forcePopHistory(){return this.histories.pop()}replaceLatest(x){const B=this.histories[this.histories.length-1];B&&(B.url=x)}navigateWithCurrentUrlPush(x){this.histories.push({url:this.router.url}),this.router.navigateByUrl(x)}static#e=this.\u0275fac=function(B){return new(B||R)};static#t=this.\u0275prov=h.jDH({token:R,factory:R.\u0275fac})}return R})()},20421:(Be,K,l)=>{"use strict";l.d(K,{V:()=>s});class s{static isAndroid(){try{const e=navigator.userAgent||navigator.vendor;if(!/android/i.test(e))return!1}catch{console.log("OsDetector: not browser, no navigator, detect isAndroid() failed, auto return false")}return!0}static isIOS(){try{const e=navigator.userAgent||navigator.vendor;if(!/iPad|iPhone|iPod/.test(e))return!1}catch{console.log("OsDetector: not browser, no navigator, detect isIOS() failed, auto return false")}return!0}static isIOSSafari(){try{const e=navigator.userAgent||"",u=navigator.vendor||"",m=navigator.platform||"",C=/iP(ad|hone|od)/i.test(e)||/iPad|iPhone|iPod/.test(m),w=/Safari/i.test(e)&&/Version/i.test(e)&&!/CriOS|FxiOS|EdgiOS|OPiOS|Chrome/i.test(e),M=/Apple/i.test(u),b=!!window.chrome;return C&&w&&M&&!b}catch{return console.log("[OsDetector] detect isIOSSafari failed"),!1}}}},32690:(Be,K,l)=>{"use strict";l.d(K,{c:()=>w});var s=l(60177),h=l(54438),e=l(69568),u=l(96354),m=l(84412),C=function(M){return M.STANDARD="standard",M.LITE="lite",M}(C||{});class w{get version$(){return this._version$.pipe((0,e.t)(1))}get currentVersion(){return this._version$.value}get isLite(){return this._version$.value===C.LITE}get isLite$(){return this.version$.pipe((0,u.T)(b=>b===C.LITE))}constructor(){this.PerformanceVersion=C,this.isBrowser=(0,s.UE)((0,h.WQX)(h.Agw)),this.versionStorageKey="PERFORMANCE_VERSION";const b=this.checkVersion();this._version$=new m.t(b)}checkVersion(){return this.isBrowser&&localStorage.setItem(this.versionStorageKey,C.STANDARD),C.STANDARD}setVersion(b){b=b||C.STANDARD,this.isBrowser&&localStorage.setItem(this.versionStorageKey,b),this._version$.next(b)}}},49743:(Be,K,l)=>{"use strict";l.d(K,{e:()=>e});var s=l(60177),h=l(54438);let e=(()=>{class u{static#e=this.\u0275fac=function(w){return new(w||u)};static#t=this.\u0275mod=h.$C({type:u});static#n=this.\u0275inj=h.G2t({imports:[s.MD]})}return u})()},89257:(Be,K,l)=>{"use strict";l.d(K,{$n:()=>e,og:()=>M});var s=l(54438),h=l(345);let e=(()=>{class R{constructor(x){this.sanitizer=x}transform(x){const B=x.replace(/<br>/g,"
");return this.sanitizer.bypassSecurityTrustHtml(B)}static#e=this.\u0275fac=function(B){return new(B||R)(s.rXU(h.up,16))};static#t=this.\u0275pipe=s.EJ8({name:"safeHtml",type:R,pure:!0})}return R})(),M=(()=>{class R{constructor(x){this.sanitizer=x}transform(x){if(!x)return"";const B=document.createElement("textarea");return B.innerHTML=x,new e(this.sanitizer).transform(B.value)}static#e=this.\u0275fac=function(B){return new(B||R)(s.rXU(h.up,16))};static#t=this.\u0275pipe=s.EJ8({name:"decodeHtml",type:R,pure:!0})}return R})()},33346:(Be,K,l)=>{"use strict";l.d(K,{x:()=>b});var s=l(84412),h=l(5964),e=l(88141),u=l(54438),m=l(60177),C=l(21413),w=function(R){return R.ACTIVE="active",R.PASSIVE="passive",R.HIDDEN="hidden",R.FROZEN="frozen",R.TERMINATED="terminated",R}(w||{});let M=(()=>{class R{get state(){return this._state$.value}constructor(){if(this.LifecycleState=w,this.isBrowser=(0,m.UE)((0,u.WQX)(u.Agw)),this._state$=new s.t(null),this._stateChange$=new C.B,this.state$=this._state$.asObservable(),this.stateChange$=this._stateChange$.asObservable(),this.isBrowser)try{l.e(8405).then(l.bind(l,18405)).then(x=>{this.pageLifecycleAPI=x.default,this._state$.next(this.pageLifecycleAPI.state),this.pageLifecycleAPI.addEventListener("statechange",Y=>{this._state$.next(Y.newState),this._stateChange$.next(Y)})})}catch(x){console.error(x)}}static#e=this.\u0275fac=function(B){return new(B||R)};static#t=this.\u0275prov=u.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),b=(()=>{class R{constructor(){this.storageKey="NEED_TRANSFER_ALL_TO",this.isBrowser=(0,m.UE)((0,u.WQX)(u.Agw)),this.pageLifecycleService=(0,u.WQX)(M),this._isNeedTransfer$=new s.t(!1),this.onTransferNeeded$=this._isNeedTransfer$.pipe((0,h.p)(()=>!!this.isPageActive),(0,h.p)(x=>!!x)),this.isInit=!1}get needTransfer(){return this._isNeedTransfer$.value}get isPageActive(){return this.pageLifecycleService.state===this.pageLifecycleService.LifecycleState.ACTIVE}get storage(){return localStorage}getStateFromStorage(){return!!this.isBrowser&&"true"===this.storage.getItem(this.storageKey)}setStateToStorage(x){this.isBrowser&&this.storage.setItem(this.storageKey,`${x}`)}observePageDisplay(){this.checkState(),this.pageLifecycleService.stateChange$.pipe((0,h.p)(x=>x.newState===this.pageLifecycleService.LifecycleState.ACTIVE),(0,e.M)(()=>this.checkState())).subscribe()}startObserve(){this.isBrowser&&(this.isInit||(this.observePageDisplay(),this.isInit=!0))}markAsNeedTransfer(x={emitEvent:!0}){this.setStateToStorage(!0),x.emitEvent&&this._isNeedTransfer$.next(!0)}markAsTransfered(x={emitEvent:!0}){this.setStateToStorage(!1),x.emitEvent&&this._isNeedTransfer$.next(!1)}checkState(){this.getStateFromStorage()&&this.markAsNeedTransfer()}static#e=this.\u0275fac=function(B){return new(B||R)};static#t=this.\u0275prov=u.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})()},64337:(Be,K,l)=>{"use strict";l.d(K,{u:()=>h});var s=l(54438);let h=(()=>{class e{transform(m,C="white"){return m?m.customizeData?.active?"white"===C?m.customizeData.darkIcon:m.customizeData.lightIcon:m.iconFlag||null:null}static#e=this.\u0275fac=function(C){return new(C||e)};static#t=this.\u0275pipe=s.EJ8({name:"vendorIcon",type:e,pure:!0,standalone:!0})}return e})()},78780:(Be,K,l)=>{"use strict";l.d(K,{K:()=>u});var s=l(60177),h=l(54438),e=l(32690);let u=(()=>{class m{constructor(){this.performanceSettingService=(0,h.WQX)(e.c),this.isLite=this.performanceSettingService.isLite,this.isPlatformBrowser=(0,s.UE)((0,h.WQX)(h.Agw)),this.el=(0,h.WQX)(h.aKT)}ngOnInit(){this.isPlatformBrowser&&(document.querySelectorAll("video").forEach(b=>b.controls=!1),this.isLite&&this.el.nativeElement.querySelectorAll("source").forEach(b=>{b.remove()}))}static#e=this.\u0275fac=function(M){return new(M||m)};static#t=this.\u0275dir=h.FsC({type:m,selectors:[["","mcdVideo",""]]})}return m})()},509:(Be,K,l)=>{"use strict";l.d(K,{Z:()=>e});var s=l(60177),h=l(54438);let e=(()=>{class u{static#e=this.\u0275fac=function(w){return new(w||u)};static#t=this.\u0275mod=h.$C({type:u});static#n=this.\u0275inj=h.G2t({imports:[s.MD]})}return u})()},26986:(Be,K,l)=>{"use strict";l.d(K,{n:()=>u});var s=l(54438),h=l(60177),e=l(81084);let u=(()=>{class m{constructor(){this.isBrowser=(0,h.UE)((0,s.WQX)(s.Agw)),this.webSiteCustomPath="/images/wsc/",this.nativeEl=(0,s.WQX)(s.aKT).nativeElement,this.cdnService=(0,s.WQX)(e.H),this.cdr=(0,s.WQX)(s.gRc),this.rawSrc="",this.renderWhileNotBrowser=!1}ngOnChanges(w){w.rawSrc&&(this.handlerPosterPath(w.rawSrc.currentValue),this.cdr.detectChanges(),this.handlerSourcePath())}ngOnInit(){}handlerPosterPath(w){this.isBrowser||this.renderWhileNotBrowser?((w=w||"").indexOf(this.webSiteCustomPath)>=0&&console.warn(`Don't use wsc url : ${w}`),this.nativeEl.poster=`${this.cdnService.useWithServer(w)}`):this.nativeEl.poster=""}handlerSourcePath(){this.isBrowser&&this.nativeEl.querySelectorAll("source").forEach(w=>{if(!this.isBrowser&&!this.renderWhileNotBrowser)return void w.remove();const M=w.getAttribute("mcdSrc")||"";M.indexOf(this.webSiteCustomPath)>=0&&console.warn(`Don't use wsc url : ${M}`);const R=this.cdnService.useWithServer(M);R&&R!==w.src&&(w.src=R)})}static#e=this.\u0275fac=function(M){return new(M||m)};static#t=this.\u0275dir=s.FsC({type:m,selectors:[["video","mcdSrc",""]],inputs:{rawSrc:[s.Mj6.None,"mcdSrc","rawSrc"],renderWhileNotBrowser:"renderWhileNotBrowser"},features:[s.OA$]})}return m})()},92455:(Be,K,l)=>{"use strict";l.d(K,{i:()=>e});var s=l(60177),h=l(54438);let e=(()=>{class u{static#e=this.\u0275fac=function(w){return new(w||u)};static#t=this.\u0275mod=h.$C({type:u});static#n=this.\u0275inj=h.G2t({imports:[s.MD]})}return u})()},91664:(Be,K,l)=>{"use strict";l.d(K,{d:()=>w});var s=l(60177),h=l(54438),e=l(89079),u=l(45829),m=l(5964),C=l(91986);let w=(()=>{class M{constructor(R){this._elementRef=R,this.visibilityChange=new h.bkB,this._observer=null,this.destroyRef=(0,h.WQX)(h.abz),this.isBrowser=(0,s.UE)((0,h.WQX)(h.Agw)),this.isLoading$=(0,h.WQX)(u.m).select("isLoading"),this._callback=(L,x)=>{L.forEach(B=>this.visibilityChange.emit(B.isIntersecting?"VISIBLE":"HIDDEN"))}}ngAfterViewInit(){this.isBrowser&&this.isLoading$.pipe((0,m.p)(R=>!R),(0,C.c)(1e3),(0,e.pQ)(this.destroyRef)).subscribe(()=>{this._observer=new IntersectionObserver(this._callback,{root:null,rootMargin:"0px",threshold:0}),this._observer.observe(this._elementRef.nativeElement)})}ngOnDestroy(){this._observer?.disconnect()}static#e=this.\u0275fac=function(L){return new(L||M)(h.rXU(h.aKT,1))};static#t=this.\u0275dir=h.FsC({type:M,selectors:[["","mcdVisibilityDetector",""]],outputs:{visibilityChange:"visibilityChange"}})}return M})()},57761:(Be,K,l)=>{"use strict";l.d(K,{a:()=>e});var s=l(60177),h=l(54438);let e=(()=>{class u{static#e=this.\u0275fac=function(w){return new(w||u)};static#t=this.\u0275mod=h.$C({type:u});static#n=this.\u0275inj=h.G2t({imports:[s.MD]})}return u})()},75548:(Be,K,l)=>{"use strict";l.d(K,{z:()=>R});var s=l(60177),h=l(54438),e=l(89079),u=l(21413),m=l(70152),C=l(88141);const w=["anchor"],M=["*"];function b(L,x){1&L&&h.nrm(0,"div",1)}let R=(()=>{class L{#e;#t;constructor(){this.scrolled=new h.bkB,this.#e=(0,h.WQX)(s.qQ),this.#t=(0,h.WQX)(h.Agw),this.anchorStyle={visibility:"hidden",height:"10px"},this.hitAnchor$=new u.B,this.hitAnchor$.pipe((0,m.B)(500),(0,e.pQ)()).subscribe({next:()=>{this.scrolled.emit()}})}checkAnchorForFirstTime(){this.isAnchorInViewport()&&this.scrolled.emit()}ngOnDestroy(){this.observer&&this.observer.disconnect()}ngAfterViewInit(){(0,s.UE)(this.#t)&&(this.anchorCheckerTrigger?.pipe((0,C.M)(()=>{setTimeout(()=>{this.checkAnchorForFirstTime()},250)})).subscribe(),this.observer=new IntersectionObserver(([Y])=>{Y.isIntersecting&&this.hitAnchor$.next()},{root:null,rootMargin:"0px",threshold:.5}),this.observer.observe(this.anchor.nativeElement))}isAnchorInViewport(){const B=this.#e.documentElement.clientHeight;return this.anchor.nativeElement.getBoundingClientRect().top{"use strict";l.d(K,{K:()=>e});var s=l(60177),h=l(54438);let e=(()=>{class u{static#e=this.\u0275fac=function(w){return new(w||u)};static#t=this.\u0275mod=h.$C({type:u});static#n=this.\u0275inj=h.G2t({imports:[s.MD]})}return u})()},62405:(Be,K,l)=>{"use strict";l.d(K,{o:()=>C,p:()=>m});var s=l(84412),h=l(5964),e=l(96697),u=l(88141);const m="OPENED_WINDOW_READY";class C{constructor(M){this.name=M,this.isReady$=new s.t(!1),this.winRef=null,this.isReadyListener=b=>{b.data===m&&(this.isReady$.next(!0),this.winRef?.removeEventListener("message",this.isReadyListener))}}getWinRef(){return this.winRef}open(M){const b=window.open(M,"_blank","noopener=no,noreferrer=no");return b?.addEventListener("message",this.isReadyListener),this.winRef=b,this}postMessage(M){const b={from:this.name,payload:M};return localStorage.setItem(this.name,JSON.stringify(M)),this.winRef?(this.isReady$.pipe((0,h.p)(R=>!!R),(0,e.s)(1),(0,u.M)(()=>{this.winRef?.postMessage(b)})).subscribe(),this):(console.warn("No winRef!.",b),this)}redirect(M){this.winRef?this.winRef.location.href=M:console.warn("No winRef!.",M)}}},92608:(Be,K,l)=>{"use strict";l.d(K,{nk:()=>H,Gz:()=>Y,HR:()=>te,AV:()=>q,Jn:()=>j});var s=l(10467),h=l(54438),e=l(84412),u=l(92771),m=l(21413);class C extends m.B{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(Q){const{hasError:se,_hasValue:Ee,_value:me,thrownError:je,isStopped:Qe,_isComplete:Ot}=this;se?Q.error(je):(Qe||Ot)&&(Ee&&Q.next(me),Q.complete())}next(Q){this.isStopped||(this._value=Q,this._hasValue=!0)}complete(){const{_hasValue:Q,_value:se,_isComplete:Ee}=this;Ee||(this._isComplete=!0,Q&&super.next(se),super.complete())}}var w=l(74402),M=l(65245),b=l(5964),R=l(96697);class L{constructor(){}loadScript(Q,se,Ee,me=null){if(typeof document<"u"&&!document.getElementById(Q)){let je=document.createElement("script");je.async=!0,je.src=se,je.onload=Ee,me||(me=document.head),me.appendChild(je)}}}class x{}const B={oneTapEnabled:!0};let Y=(()=>{class $ extends L{static#e=this.PROVIDER_ID="GOOGLE";constructor(se,Ee){super(),this.clientId=se,this.initOptions=Ee,this.changeUser=new h.bkB,this._socialUser=new e.t(null),this._accessToken=new e.t(null),this._receivedAccessToken=new h.bkB,this.initOptions={...B,...this.initOptions},this._socialUser.pipe((0,M.i)(1)).subscribe(this.changeUser),this._accessToken.pipe((0,M.i)(1)).subscribe(this._receivedAccessToken)}initialize(se){return new Promise((Ee,me)=>{try{this.loadScript($.PROVIDER_ID,"https://accounts.google.com/gsi/client",()=>{if(google.accounts.id.initialize({client_id:this.clientId,auto_select:se,callback:({credential:je})=>{const Qe=this.createSocialUser(je);this._socialUser.next(Qe)},prompt_parent_id:this.initOptions?.prompt_parent_id,itp_support:this.initOptions.oneTapEnabled}),this.initOptions.oneTapEnabled&&this._socialUser.pipe((0,b.p)(je=>null===je)).subscribe(()=>google.accounts.id.prompt(console.debug)),this.initOptions.scopes){const je=this.initOptions.scopes instanceof Array?this.initOptions.scopes.filter(Qe=>Qe).join(" "):this.initOptions.scopes;this._tokenClient=google.accounts.oauth2.initTokenClient({client_id:this.clientId,scope:je,prompt:this.initOptions.prompt,callback:Qe=>{Qe.error?this._accessToken.error({code:Qe.error,description:Qe.error_description,uri:Qe.error_uri}):this._accessToken.next(Qe.access_token)}})}Ee()})}catch(je){me(je)}})}getLoginStatus(){return new Promise((se,Ee)=>{this._socialUser.value?se(this._socialUser.value):Ee(`No user is currently logged in with ${$.PROVIDER_ID}`)})}refreshToken(){return new Promise((se,Ee)=>{google.accounts.id.revoke(this._socialUser.value.id,me=>{me.error?Ee(me.error):se(this._socialUser.value)})})}getAccessToken(){return new Promise((se,Ee)=>{this._tokenClient?(this._tokenClient.requestAccessToken({hint:this._socialUser.value?.email}),this._receivedAccessToken.pipe((0,R.s)(1)).subscribe(se)):Ee(this._socialUser.value?"No token client was instantiated, you should specify some scopes.":"You should be logged-in first.")})}revokeAccessToken(){return new Promise((se,Ee)=>{this._tokenClient?this._accessToken.value?google.accounts.oauth2.revoke(this._accessToken.value,()=>{this._accessToken.next(null),se()}):Ee("No access token to revoke"):Ee("No token client was instantiated, you should specify some scopes.")})}signIn(){return Promise.reject('You should not call this method directly for Google, use "" wrapper or generate the button yourself with "google.accounts.id.renderButton()" (https://developers.google.com/identity/gsi/web/guides/display-button#javascript)')}signOut(){var se=this;return(0,s.A)(function*(){google.accounts.id.disableAutoSelect(),se._socialUser.next(null)})()}createSocialUser(se){const Ee=new x;Ee.idToken=se;const me=this.decodeJwt(se);return Ee.id=me.sub,Ee.name=me.name,Ee.email=me.email,Ee.photoUrl=me.picture,Ee.firstName=me.given_name,Ee.lastName=me.family_name,Ee}decodeJwt(se){const me=se.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),je=decodeURIComponent(window.atob(me).split("").map(function(Qe){return"%"+("00"+Qe.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(je)}}return $})(),j=(()=>{class ${static#e=this.ERR_LOGIN_PROVIDER_NOT_FOUND="Login provider not found";static#t=this.ERR_NOT_LOGGED_IN="Not logged in";static#n=this.ERR_NOT_INITIALIZED="Login providers not ready yet. Are there errors on your console?";static#s=this.ERR_NOT_SUPPORTED_FOR_REFRESH_TOKEN="Chosen login provider is not supported for refreshing a token";static#i=this.ERR_NOT_SUPPORTED_FOR_ACCESS_TOKEN="Chosen login provider is not supported for getting an access token";get authState(){return this._authState.asObservable()}get initState(){return this._initState.asObservable()}constructor(se,Ee,me){this._ngZone=Ee,this._injector=me,this.providers=new Map,this.autoLogin=!1,this._user=null,this._authState=new u.m(1),this.initialized=!1,this._initState=new C,se instanceof Promise?se.then(je=>{this.initialize(je)}):this.initialize(se)}initialize(se){this.autoLogin=void 0!==se.autoLogin&&se.autoLogin;const{onError:Ee=console.error}=se;se.providers.forEach(me=>{this.providers.set(me.id,"prototype"in me.provider?this._injector.get(me.provider):me.provider)}),Promise.all(Array.from(this.providers.values()).map(me=>me.initialize(this.autoLogin))).then(()=>{if(this.autoLogin){const me=[];let je=!1;this.providers.forEach((Qe,Ot)=>{const mt=Qe.getLoginStatus();me.push(mt),mt.then(Oe=>{this.setUser(Oe,Ot),je=!0}).catch(console.debug)}),Promise.all(me).catch(()=>{je||(this._user=null,this._authState.next(null))})}this.providers.forEach((me,je)=>{(0,w.A)(me.changeUser)&&me.changeUser.subscribe(Qe=>{this._ngZone.run(()=>{this.setUser(Qe,je)})})})}).catch(me=>{Ee(me)}).finally(()=>{this.initialized=!0,this._initState.next(this.initialized),this._initState.complete()})}getAccessToken(se){var Ee=this;return(0,s.A)(function*(){const me=Ee.providers.get(se);if(!Ee.initialized)throw $.ERR_NOT_INITIALIZED;if(!me)throw $.ERR_LOGIN_PROVIDER_NOT_FOUND;if(!(me instanceof Y))throw $.ERR_NOT_SUPPORTED_FOR_ACCESS_TOKEN;return yield me.getAccessToken()})()}refreshAuthToken(se){return new Promise((Ee,me)=>{if(this.initialized){const je=this.providers.get(se);je?"function"!=typeof je.refreshToken?me($.ERR_NOT_SUPPORTED_FOR_REFRESH_TOKEN):je.refreshToken().then(Qe=>{this.setUser(Qe,se),Ee()}).catch(Qe=>{me(Qe)}):me($.ERR_LOGIN_PROVIDER_NOT_FOUND)}else me($.ERR_NOT_INITIALIZED)})}refreshAccessToken(se){return new Promise((Ee,me)=>{if(this.initialized)if(se!==Y.PROVIDER_ID)me($.ERR_NOT_SUPPORTED_FOR_REFRESH_TOKEN);else{const je=this.providers.get(se);je instanceof Y?je.revokeAccessToken().then(Ee).catch(me):me($.ERR_LOGIN_PROVIDER_NOT_FOUND)}else me($.ERR_NOT_INITIALIZED)})}signIn(se,Ee){return new Promise((me,je)=>{if(this.initialized){let Qe=this.providers.get(se);Qe?Qe.signIn(Ee).then(Ot=>{this.setUser(Ot,se),me(Ot)}).catch(Ot=>{je(Ot)}):je($.ERR_LOGIN_PROVIDER_NOT_FOUND)}else je($.ERR_NOT_INITIALIZED)})}signOut(se=!1){return new Promise((Ee,me)=>{if(this.initialized)if(this._user){let Qe=this.providers.get(this._user.provider);Qe?Qe.signOut(se).then(()=>{Ee(),this.setUser(null)}).catch(Ot=>{me(Ot)}):me($.ERR_LOGIN_PROVIDER_NOT_FOUND)}else me($.ERR_NOT_LOGGED_IN);else me($.ERR_NOT_INITIALIZED)})}setUser(se,Ee){se&&Ee&&(se.provider=Ee),this._user=se,this._authState.next(se)}static#o=this.\u0275fac=function(Ee){return new(Ee||$)(h.KVO("SocialAuthServiceConfig"),h.KVO(h.SKi),h.KVO(h.zZn))};static#r=this.\u0275prov=h.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),H=(()=>{class $ extends L{static#e=this.PROVIDER_ID="FACEBOOK";constructor(se,Ee={}){super(),this.clientId=se,this.requestOptions={scope:"email,public_profile",locale:"en_US",fields:"name,email,picture,first_name,last_name",version:"v10.0"},this.requestOptions={...this.requestOptions,...Ee}}initialize(){return new Promise((se,Ee)=>{try{this.loadScript($.PROVIDER_ID,`//connect.facebook.net/${this.requestOptions.locale}/sdk.js`,()=>{FB.init({appId:this.clientId,autoLogAppEvents:!0,cookie:!0,xfbml:!0,version:this.requestOptions.version}),se()})}catch(me){Ee(me)}})}getLoginStatus(){return new Promise((se,Ee)=>{FB.getLoginStatus(me=>{if("connected"===me.status){let je=me.authResponse;FB.api(`/me?fields=${this.requestOptions.fields}`,Qe=>{let Ot=new x;Ot.id=Qe.id,Ot.name=Qe.name,Ot.email=Qe.email,Ot.photoUrl="https://graph.facebook.com/"+Qe.id+"/picture?type=normal&access_token="+je.accessToken,Ot.firstName=Qe.first_name,Ot.lastName=Qe.last_name,Ot.authToken=je.accessToken,Ot.response=Qe,se(Ot)})}else Ee(`No user is currently logged in with ${$.PROVIDER_ID}`)})})}signIn(se){const Ee={...this.requestOptions,...se};return new Promise((me,je)=>{FB.login(Qe=>{if(Qe.authResponse){let Ot=Qe.authResponse;FB.api(`/me?fields=${Ee.fields}`,mt=>{let Oe=new x;Oe.id=mt.id,Oe.name=mt.name,Oe.email=mt.email,Oe.photoUrl="https://graph.facebook.com/"+mt.id+"/picture?type=normal",Oe.firstName=mt.first_name,Oe.lastName=mt.last_name,Oe.authToken=Ot.accessToken,Oe.response=mt,me(Oe)})}else je("User cancelled login or did not fully authorize.")},Ee)})}signOut(){return new Promise((se,Ee)=>{FB.logout(me=>{se()})})}}return $})(),te=(()=>{class ${constructor(se,Ee){this.type="icon",this.size="medium",this.text="signin_with",this.shape="rectangular",this.theme="outline",this.logo_alignment="left",this.width=0,this.locale="",Ee.initState.pipe((0,R.s)(1)).subscribe(()=>{Promise.resolve(this.width).then(me=>{me>400||me<200&&0!=me?Promise.reject("Please note .. max-width 400 , min-width 200 (https://developers.google.com/identity/gsi/web/tools/configurator)"):google.accounts.id.renderButton(se.nativeElement,{type:this.type,size:this.size,text:this.text,width:this.width,shape:this.shape,theme:this.theme,logo_alignment:this.logo_alignment,locale:this.locale})})})}static#e=this.\u0275fac=function(Ee){return new(Ee||$)(h.rXU(h.aKT),h.rXU(j))};static#t=this.\u0275dir=h.FsC({type:$,selectors:[["asl-google-signin-button"]],inputs:{type:"type",size:"size",text:"text",shape:"shape",theme:"theme",logo_alignment:"logo_alignment",width:"width",locale:"locale"}})}return $})(),q=(()=>{class ${static#e=this.\u0275fac=function(Ee){return new(Ee||$)};static#t=this.\u0275mod=h.$C({type:$});static#n=this.\u0275inj=h.G2t({})}return $})()},49969:(Be,K,l)=>{"use strict";l.d(K,{FX:()=>q,If:()=>s,K2:()=>C,Os:()=>m,P:()=>Y,hZ:()=>e,i0:()=>u,i7:()=>b,iF:()=>w,kY:()=>R,kp:()=>h,sf:()=>J,ui:()=>te,wk:()=>M,yc:()=>j});var s=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",$}(s||{});const h="*";function e($,Q){return{type:s.Trigger,name:$,definitions:Q,options:{}}}function u($,Q=null){return{type:s.Animate,styles:Q,timings:$}}function m($,Q=null){return{type:s.Group,steps:$,options:Q}}function C($,Q=null){return{type:s.Sequence,steps:$,options:Q}}function w($){return{type:s.Style,styles:$,offset:null}}function M($,Q,se){return{type:s.State,name:$,styles:Q,options:se}}function b($){return{type:s.Keyframes,steps:$}}function R($,Q,se=null){return{type:s.Transition,expr:$,animation:Q,options:se}}function Y($,Q,se=null){return{type:s.Query,selector:$,animation:Q,options:se}}function j($,Q){return{type:s.Stagger,timings:$,animation:Q}}class J{constructor(Q=0,se=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=Q+se}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Q=>Q()),this._onDoneFns=[])}onStart(Q){this._originalOnStartFns.push(Q),this._onStartFns.push(Q)}onDone(Q){this._originalOnDoneFns.push(Q),this._onDoneFns.push(Q)}onDestroy(Q){this._onDestroyFns.push(Q)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Q=>Q()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Q=>Q()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Q){this._position=this.totalTime?Q*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Q){const se="start"==Q?this._onStartFns:this._onDoneFns;se.forEach(Ee=>Ee()),se.length=0}}class te{constructor(Q){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Q;let se=0,Ee=0,me=0;const je=this.players.length;0==je?queueMicrotask(()=>this._onFinish()):this.players.forEach(Qe=>{Qe.onDone(()=>{++se==je&&this._onFinish()}),Qe.onDestroy(()=>{++Ee==je&&this._onDestroy()}),Qe.onStart(()=>{++me==je&&this._onStart()})}),this.totalTime=this.players.reduce((Qe,Ot)=>Math.max(Qe,Ot.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Q=>Q()),this._onDoneFns=[])}init(){this.players.forEach(Q=>Q.init())}onStart(Q){this._onStartFns.push(Q)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Q=>Q()),this._onStartFns=[])}onDone(Q){this._onDoneFns.push(Q)}onDestroy(Q){this._onDestroyFns.push(Q)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Q=>Q.play())}pause(){this.players.forEach(Q=>Q.pause())}restart(){this.players.forEach(Q=>Q.restart())}finish(){this._onFinish(),this.players.forEach(Q=>Q.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Q=>Q.destroy()),this._onDestroyFns.forEach(Q=>Q()),this._onDestroyFns=[])}reset(){this.players.forEach(Q=>Q.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Q){const se=Q*this.totalTime;this.players.forEach(Ee=>{const me=Ee.totalTime?Math.min(1,se/Ee.totalTime):1;Ee.setPosition(me)})}getPosition(){const Q=this.players.reduce((se,Ee)=>null===se||Ee.totalTime>se.totalTime?Ee:se,null);return null!=Q?Q.getPosition():0}beforeDestroy(){this.players.forEach(Q=>{Q.beforeDestroy&&Q.beforeDestroy()})}triggerCallback(Q){const se="start"==Q?this._onStartFns:this._onDoneFns;se.forEach(Ee=>Ee()),se.length=0}}const q="!"},28203:(Be,K,l)=>{"use strict";l.d(K,{dS:()=>w,jI:()=>b});var s=l(54438),h=l(60177);const e=new s.nKC("cdk-dir-doc",{providedIn:"root",factory:function u(){return(0,s.WQX)(h.qQ)}}),m=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let w=(()=>{class R{constructor(x){this.value="ltr",this.change=new s.bkB,x&&(this.value=function C(R){const L=R?.toLowerCase()||"";return"auto"===L&&typeof navigator<"u"&&navigator?.language?m.test(navigator.language)?"rtl":"ltr":"rtl"===L?"rtl":"ltr"}((x.body?x.body.dir:null)||(x.documentElement?x.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(B){return new(B||R)(s.KVO(e,8))};static#t=this.\u0275prov=s.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),b=(()=>{class R{static#e=this.\u0275fac=function(B){return new(B||R)};static#t=this.\u0275mod=s.$C({type:R});static#n=this.\u0275inj=s.G2t({})}return R})()},14085:(Be,K,l)=>{"use strict";l.d(K,{FG:()=>m,OE:()=>e,a1:()=>C,cc:()=>M,he:()=>h,i8:()=>w});var s=l(54438);function h(b){return null!=b&&"false"!=`${b}`}function e(b,R=0){return function u(b){return!isNaN(parseFloat(b))&&!isNaN(Number(b))}(b)?Number(b):R}function m(b){return Array.isArray(b)?b:[b]}function C(b){return null==b?"":"string"==typeof b?b:`${b}px`}function w(b){return b instanceof s.aKT?b.nativeElement:b}function M(b,R=/\s+/){const L=[];if(null!=b){const x=Array.isArray(b)?b:`${b}`.split(R);for(const B of x){const Y=`${B}`.trim();Y&&L.push(Y)}}return L}},47987:(Be,K,l)=>{"use strict";l.d(K,{hJ:()=>wt,rR:()=>W,rW:()=>Oe,z_:()=>Pt});var s=l(46535),h=l(60177),e=l(54438),u=l(14085),m=l(36860),C=l(5964),w=l(96697),M=l(56977),b=l(28203),R=l(76939),L=l(21413),x=l(18359),B=l(57786);const Y=(0,m.CZ)();class j{constructor(fe,_e){this._viewportRuler=fe,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=_e}attach(){}enable(){if(this._canBeEnabled()){const fe=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=fe.style.left||"",this._previousHTMLStyles.top=fe.style.top||"",fe.style.left=(0,u.a1)(-this._previousScrollPosition.left),fe.style.top=(0,u.a1)(-this._previousScrollPosition.top),fe.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const fe=this._document.documentElement,Le=fe.style,tt=this._document.body.style,nt=Le.scrollBehavior||"",St=tt.scrollBehavior||"";this._isEnabled=!1,Le.left=this._previousHTMLStyles.left,Le.top=this._previousHTMLStyles.top,fe.classList.remove("cdk-global-scrollblock"),Y&&(Le.scrollBehavior=tt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Y&&(Le.scrollBehavior=nt,tt.scrollBehavior=St)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const _e=this._document.body,Le=this._viewportRuler.getViewportSize();return _e.scrollHeight>Le.height||_e.scrollWidth>Le.width}}class oe{constructor(fe,_e,Le,tt){this._scrollDispatcher=fe,this._ngZone=_e,this._viewportRuler=Le,this._config=tt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(fe){this._overlayRef=fe}enable(){if(this._scrollSubscription)return;const fe=this._scrollDispatcher.scrolled(0).pipe((0,C.p)(_e=>!_e||!this._overlayRef.overlayElement.contains(_e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=fe.subscribe(()=>{const _e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(_e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=fe.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class H{enable(){}disable(){}attach(){}}function ae(dt,fe){return fe.some(_e=>dt.bottom<_e.top||dt.top>_e.bottom||dt.right<_e.left||dt.left>_e.right)}function pe(dt,fe){return fe.some(_e=>dt.top<_e.top||dt.bottom>_e.bottom||dt.left<_e.left||dt.right>_e.right)}class de{constructor(fe,_e,Le,tt){this._scrollDispatcher=fe,this._viewportRuler=_e,this._ngZone=Le,this._config=tt,this._scrollSubscription=null}attach(fe){this._overlayRef=fe}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const _e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Le,height:tt}=this._viewportRuler.getViewportSize();ae(_e,[{width:Le,height:tt,bottom:tt,right:Le,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Pe=(()=>{class dt{constructor(_e,Le,tt,nt){this._scrollDispatcher=_e,this._viewportRuler=Le,this._ngZone=tt,this.noop=()=>new H,this.close=St=>new oe(this._scrollDispatcher,this._ngZone,this._viewportRuler,St),this.block=()=>new j(this._viewportRuler,this._document),this.reposition=St=>new de(this._scrollDispatcher,this._viewportRuler,this._ngZone,St),this._document=nt}static#e=this.\u0275fac=function(Le){return new(Le||dt)(e.KVO(s.R),e.KVO(s.Xj),e.KVO(e.SKi),e.KVO(h.qQ))};static#t=this.\u0275prov=e.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})();class W{constructor(fe){if(this.scrollStrategy=new H,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,fe){const _e=Object.keys(fe);for(const Le of _e)void 0!==fe[Le]&&(this[Le]=fe[Le])}}}class q{constructor(fe,_e){this.connectionPair=fe,this.scrollableViewProperties=_e}}let se=(()=>{class dt{constructor(_e){this._attachedOverlays=[],this._document=_e}ngOnDestroy(){this.detach()}add(_e){this.remove(_e),this._attachedOverlays.push(_e)}remove(_e){const Le=this._attachedOverlays.indexOf(_e);Le>-1&&this._attachedOverlays.splice(Le,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Le){return new(Le||dt)(e.KVO(h.qQ))};static#t=this.\u0275prov=e.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),Ee=(()=>{class dt extends se{constructor(_e,Le){super(_e),this._ngZone=Le,this._keydownListener=tt=>{const nt=this._attachedOverlays;for(let St=nt.length-1;St>-1;St--)if(nt[St]._keydownEvents.observers.length>0){const Qt=nt[St]._keydownEvents;this._ngZone?this._ngZone.run(()=>Qt.next(tt)):Qt.next(tt);break}}}add(_e){super.add(_e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(Le){return new(Le||dt)(e.KVO(h.qQ),e.KVO(e.SKi,8))};static#t=this.\u0275prov=e.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),me=(()=>{class dt extends se{constructor(_e,Le,tt){super(_e),this._platform=Le,this._ngZone=tt,this._cursorStyleIsSet=!1,this._pointerDownListener=nt=>{this._pointerDownEventTarget=(0,m.Fb)(nt)},this._clickListener=nt=>{const St=(0,m.Fb)(nt),Qt="click"===nt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:St;this._pointerDownEventTarget=null;const En=this._attachedOverlays.slice();for(let yn=En.length-1;yn>-1;yn--){const On=En[yn];if(On._outsidePointerEvents.observers.length<1||!On.hasAttached())continue;if(On.overlayElement.contains(St)||On.overlayElement.contains(Qt))break;const Un=On._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Un.next(nt)):Un.next(nt)}}}add(_e){if(super.add(_e),!this._isAttached){const Le=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Le)):this._addEventListeners(Le),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Le.style.cursor,Le.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const _e=this._document.body;_e.removeEventListener("pointerdown",this._pointerDownListener,!0),_e.removeEventListener("click",this._clickListener,!0),_e.removeEventListener("auxclick",this._clickListener,!0),_e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(_e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(_e){_e.addEventListener("pointerdown",this._pointerDownListener,!0),_e.addEventListener("click",this._clickListener,!0),_e.addEventListener("auxclick",this._clickListener,!0),_e.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Le){return new(Le||dt)(e.KVO(h.qQ),e.KVO(m.OD),e.KVO(e.SKi,8))};static#t=this.\u0275prov=e.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),je=(()=>{class dt{constructor(_e,Le){this._platform=Le,this._document=_e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const _e="cdk-overlay-container";if(this._platform.isBrowser||(0,m.v8)()){const tt=this._document.querySelectorAll(`.${_e}[platform="server"], .${_e}[platform="test"]`);for(let nt=0;ntthis._backdropClick.next(Un),this._backdropTransitionendHandler=Un=>{this._disposeBackdrop(Un.target)},this._keydownEvents=new L.B,this._outsidePointerEvents=new L.B,tt.scrollStrategy&&(this._scrollStrategy=tt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=tt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(fe){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const _e=this._portalOutlet.attach(fe);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,w.s)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof _e?.onDestroy&&_e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),_e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const fe=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),fe}dispose(){const fe=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,fe&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(fe){fe!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=fe,this.hasAttached()&&(fe.attach(this),this.updatePosition()))}updateSize(fe){this._config={...this._config,...fe},this._updateElementSize()}setDirection(fe){this._config={...this._config,direction:fe},this._updateElementDirection()}addPanelClass(fe){this._pane&&this._toggleClasses(this._pane,fe,!0)}removePanelClass(fe){this._pane&&this._toggleClasses(this._pane,fe,!1)}getDirection(){const fe=this._config.direction;return fe?"string"==typeof fe?fe:fe.value:"ltr"}updateScrollStrategy(fe){fe!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=fe,this.hasAttached()&&(fe.attach(this),fe.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const fe=this._pane.style;fe.width=(0,u.a1)(this._config.width),fe.height=(0,u.a1)(this._config.height),fe.minWidth=(0,u.a1)(this._config.minWidth),fe.minHeight=(0,u.a1)(this._config.minHeight),fe.maxWidth=(0,u.a1)(this._config.maxWidth),fe.maxHeight=(0,u.a1)(this._config.maxHeight)}_togglePointerEvents(fe){this._pane.style.pointerEvents=fe?"":"none"}_attachBackdrop(){const fe="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(fe)})}):this._backdropElement.classList.add(fe)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const fe=this._backdropElement;if(fe){if(this._animationsDisabled)return void this._disposeBackdrop(fe);fe.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{fe.addEventListener("transitionend",this._backdropTransitionendHandler)}),fe.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(fe)},500))}}_toggleClasses(fe,_e,Le){const tt=(0,u.FG)(_e||[]).filter(nt=>!!nt);tt.length&&(Le?fe.classList.add(...tt):fe.classList.remove(...tt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const fe=this._ngZone.onStable.pipe((0,M.Q)((0,B.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),fe.unsubscribe())})})}_disposeScrollStrategy(){const fe=this._scrollStrategy;fe&&(fe.disable(),fe.detach&&fe.detach())}_disposeBackdrop(fe){fe&&(fe.removeEventListener("click",this._backdropClickHandler),fe.removeEventListener("transitionend",this._backdropTransitionendHandler),fe.remove(),this._backdropElement===fe&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Ot="cdk-overlay-connected-position-bounding-box",mt=/([A-Za-z%]+)$/;class Oe{get positions(){return this._preferredPositions}constructor(fe,_e,Le,tt,nt){this._viewportRuler=_e,this._document=Le,this._platform=tt,this._overlayContainer=nt,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new L.B,this._resizeSubscription=x.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(fe)}attach(fe){this._validatePositions(),fe.hostElement.classList.add(Ot),this._overlayRef=fe,this._boundingBox=fe.hostElement,this._pane=fe.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const fe=this._originRect,_e=this._overlayRect,Le=this._viewportRect,tt=this._containerRect,nt=[];let St;for(let Qt of this._preferredPositions){let En=this._getOriginPoint(fe,tt,Qt),yn=this._getOverlayPoint(En,_e,Qt),On=this._getOverlayFit(yn,_e,Le,Qt);if(On.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Qt,En);this._canFitWithFlexibleDimensions(On,yn,Le)?nt.push({position:Qt,origin:En,overlayRect:_e,boundingBoxRect:this._calculateBoundingBoxRect(En,Qt)}):(!St||St.overlayFit.visibleAreaEn&&(En=On,Qt=yn)}return this._isPushed=!1,void this._applyPosition(Qt.position,Qt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(St.position,St.originPoint);this._applyPosition(St.position,St.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Re(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ot),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const fe=this._lastPosition;if(fe){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const _e=this._getOriginPoint(this._originRect,this._containerRect,fe);this._applyPosition(fe,_e)}else this.apply()}withScrollableContainers(fe){return this._scrollables=fe,this}withPositions(fe){return this._preferredPositions=fe,-1===fe.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(fe){return this._viewportMargin=fe,this}withFlexibleDimensions(fe=!0){return this._hasFlexibleDimensions=fe,this}withGrowAfterOpen(fe=!0){return this._growAfterOpen=fe,this}withPush(fe=!0){return this._canPush=fe,this}withLockedPosition(fe=!0){return this._positionLocked=fe,this}setOrigin(fe){return this._origin=fe,this}withDefaultOffsetX(fe){return this._offsetX=fe,this}withDefaultOffsetY(fe){return this._offsetY=fe,this}withTransformOriginOn(fe){return this._transformOriginSelector=fe,this}_getOriginPoint(fe,_e,Le){let tt,nt;if("center"==Le.originX)tt=fe.left+fe.width/2;else{const St=this._isRtl()?fe.right:fe.left,Qt=this._isRtl()?fe.left:fe.right;tt="start"==Le.originX?St:Qt}return _e.left<0&&(tt-=_e.left),nt="center"==Le.originY?fe.top+fe.height/2:"top"==Le.originY?fe.top:fe.bottom,_e.top<0&&(nt-=_e.top),{x:tt,y:nt}}_getOverlayPoint(fe,_e,Le){let tt,nt;return tt="center"==Le.overlayX?-_e.width/2:"start"===Le.overlayX?this._isRtl()?-_e.width:0:this._isRtl()?0:-_e.width,nt="center"==Le.overlayY?-_e.height/2:"top"==Le.overlayY?0:-_e.height,{x:fe.x+tt,y:fe.y+nt}}_getOverlayFit(fe,_e,Le,tt){const nt=ye(_e);let{x:St,y:Qt}=fe,En=this._getOffset(tt,"x"),yn=this._getOffset(tt,"y");En&&(St+=En),yn&&(Qt+=yn);let Li=0-Qt,Rn=Qt+nt.height-Le.height,Ui=this._subtractOverflows(nt.width,0-St,St+nt.width-Le.width),Kn=this._subtractOverflows(nt.height,Li,Rn),Hn=Ui*Kn;return{visibleArea:Hn,isCompletelyWithinViewport:nt.width*nt.height===Hn,fitsInViewportVertically:Kn===nt.height,fitsInViewportHorizontally:Ui==nt.width}}_canFitWithFlexibleDimensions(fe,_e,Le){if(this._hasFlexibleDimensions){const tt=Le.bottom-_e.y,nt=Le.right-_e.x,St=Ve(this._overlayRef.getConfig().minHeight),Qt=Ve(this._overlayRef.getConfig().minWidth);return(fe.fitsInViewportVertically||null!=St&&St<=tt)&&(fe.fitsInViewportHorizontally||null!=Qt&&Qt<=nt)}return!1}_pushOverlayOnScreen(fe,_e,Le){if(this._previousPushAmount&&this._positionLocked)return{x:fe.x+this._previousPushAmount.x,y:fe.y+this._previousPushAmount.y};const tt=ye(_e),nt=this._viewportRect,St=Math.max(fe.x+tt.width-nt.width,0),Qt=Math.max(fe.y+tt.height-nt.height,0),En=Math.max(nt.top-Le.top-fe.y,0),yn=Math.max(nt.left-Le.left-fe.x,0);let On=0,Un=0;return On=tt.width<=nt.width?yn||-St:fe.xUi&&!this._isInitialRender&&!this._growAfterOpen&&(St=fe.y-Ui/2)}if("end"===_e.overlayX&&!tt||"start"===_e.overlayX&&tt)Li=Le.width-fe.x+2*this._viewportMargin,On=fe.x-this._viewportMargin;else if("start"===_e.overlayX&&!tt||"end"===_e.overlayX&&tt)Un=fe.x,On=Le.right-fe.x;else{const Rn=Math.min(Le.right-fe.x+Le.left,fe.x),Ui=this._lastBoundingBoxSize.width;On=2*Rn,Un=fe.x-Rn,On>Ui&&!this._isInitialRender&&!this._growAfterOpen&&(Un=fe.x-Ui/2)}return{top:St,left:Un,bottom:Qt,right:Li,width:On,height:nt}}_setBoundingBoxStyles(fe,_e){const Le=this._calculateBoundingBoxRect(fe,_e);!this._isInitialRender&&!this._growAfterOpen&&(Le.height=Math.min(Le.height,this._lastBoundingBoxSize.height),Le.width=Math.min(Le.width,this._lastBoundingBoxSize.width));const tt={};if(this._hasExactPosition())tt.top=tt.left="0",tt.bottom=tt.right=tt.maxHeight=tt.maxWidth="",tt.width=tt.height="100%";else{const nt=this._overlayRef.getConfig().maxHeight,St=this._overlayRef.getConfig().maxWidth;tt.height=(0,u.a1)(Le.height),tt.top=(0,u.a1)(Le.top),tt.bottom=(0,u.a1)(Le.bottom),tt.width=(0,u.a1)(Le.width),tt.left=(0,u.a1)(Le.left),tt.right=(0,u.a1)(Le.right),tt.alignItems="center"===_e.overlayX?"center":"end"===_e.overlayX?"flex-end":"flex-start",tt.justifyContent="center"===_e.overlayY?"center":"bottom"===_e.overlayY?"flex-end":"flex-start",nt&&(tt.maxHeight=(0,u.a1)(nt)),St&&(tt.maxWidth=(0,u.a1)(St))}this._lastBoundingBoxSize=Le,Re(this._boundingBox.style,tt)}_resetBoundingBoxStyles(){Re(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Re(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(fe,_e){const Le={},tt=this._hasExactPosition(),nt=this._hasFlexibleDimensions,St=this._overlayRef.getConfig();if(tt){const On=this._viewportRuler.getViewportScrollPosition();Re(Le,this._getExactOverlayY(_e,fe,On)),Re(Le,this._getExactOverlayX(_e,fe,On))}else Le.position="static";let Qt="",En=this._getOffset(_e,"x"),yn=this._getOffset(_e,"y");En&&(Qt+=`translateX(${En}px) `),yn&&(Qt+=`translateY(${yn}px)`),Le.transform=Qt.trim(),St.maxHeight&&(tt?Le.maxHeight=(0,u.a1)(St.maxHeight):nt&&(Le.maxHeight="")),St.maxWidth&&(tt?Le.maxWidth=(0,u.a1)(St.maxWidth):nt&&(Le.maxWidth="")),Re(this._pane.style,Le)}_getExactOverlayY(fe,_e,Le){let tt={top:"",bottom:""},nt=this._getOverlayPoint(_e,this._overlayRect,fe);return this._isPushed&&(nt=this._pushOverlayOnScreen(nt,this._overlayRect,Le)),"bottom"===fe.overlayY?tt.bottom=this._document.documentElement.clientHeight-(nt.y+this._overlayRect.height)+"px":tt.top=(0,u.a1)(nt.y),tt}_getExactOverlayX(fe,_e,Le){let St,tt={left:"",right:""},nt=this._getOverlayPoint(_e,this._overlayRect,fe);return this._isPushed&&(nt=this._pushOverlayOnScreen(nt,this._overlayRect,Le)),St=this._isRtl()?"end"===fe.overlayX?"left":"right":"end"===fe.overlayX?"right":"left","right"===St?tt.right=this._document.documentElement.clientWidth-(nt.x+this._overlayRect.width)+"px":tt.left=(0,u.a1)(nt.x),tt}_getScrollVisibility(){const fe=this._getOriginRect(),_e=this._pane.getBoundingClientRect(),Le=this._scrollables.map(tt=>tt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:pe(fe,Le),isOriginOutsideView:ae(fe,Le),isOverlayClipped:pe(_e,Le),isOverlayOutsideView:ae(_e,Le)}}_subtractOverflows(fe,..._e){return _e.reduce((Le,tt)=>Le-Math.max(tt,0),fe)}_getNarrowedViewportRect(){const fe=this._document.documentElement.clientWidth,_e=this._document.documentElement.clientHeight,Le=this._viewportRuler.getViewportScrollPosition();return{top:Le.top+this._viewportMargin,left:Le.left+this._viewportMargin,right:Le.left+fe-this._viewportMargin,bottom:Le.top+_e-this._viewportMargin,width:fe-2*this._viewportMargin,height:_e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(fe,_e){return"x"===_e?null==fe.offsetX?this._offsetX:fe.offsetX:null==fe.offsetY?this._offsetY:fe.offsetY}_validatePositions(){}_addPanelClasses(fe){this._pane&&(0,u.FG)(fe).forEach(_e=>{""!==_e&&-1===this._appliedPanelClasses.indexOf(_e)&&(this._appliedPanelClasses.push(_e),this._pane.classList.add(_e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(fe=>{this._pane.classList.remove(fe)}),this._appliedPanelClasses=[])}_getOriginRect(){const fe=this._origin;if(fe instanceof e.aKT)return fe.nativeElement.getBoundingClientRect();if(fe instanceof Element)return fe.getBoundingClientRect();const _e=fe.width||0,Le=fe.height||0;return{top:fe.y,bottom:fe.y+Le,left:fe.x,right:fe.x+_e,height:Le,width:_e}}}function Re(dt,fe){for(let _e in fe)fe.hasOwnProperty(_e)&&(dt[_e]=fe[_e]);return dt}function Ve(dt){if("number"!=typeof dt&&null!=dt){const[fe,_e]=dt.split(mt);return _e&&"px"!==_e?null:parseFloat(fe)}return dt||null}function ye(dt){return{top:Math.floor(dt.top),right:Math.floor(dt.right),bottom:Math.floor(dt.bottom),left:Math.floor(dt.left),width:Math.floor(dt.width),height:Math.floor(dt.height)}}const ut="cdk-global-overlay-wrapper";class ft{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(fe){const _e=fe.getConfig();this._overlayRef=fe,this._width&&!_e.width&&fe.updateSize({width:this._width}),this._height&&!_e.height&&fe.updateSize({height:this._height}),fe.hostElement.classList.add(ut),this._isDisposed=!1}top(fe=""){return this._bottomOffset="",this._topOffset=fe,this._alignItems="flex-start",this}left(fe=""){return this._xOffset=fe,this._xPosition="left",this}bottom(fe=""){return this._topOffset="",this._bottomOffset=fe,this._alignItems="flex-end",this}right(fe=""){return this._xOffset=fe,this._xPosition="right",this}start(fe=""){return this._xOffset=fe,this._xPosition="start",this}end(fe=""){return this._xOffset=fe,this._xPosition="end",this}width(fe=""){return this._overlayRef?this._overlayRef.updateSize({width:fe}):this._width=fe,this}height(fe=""){return this._overlayRef?this._overlayRef.updateSize({height:fe}):this._height=fe,this}centerHorizontally(fe=""){return this.left(fe),this._xPosition="center",this}centerVertically(fe=""){return this.top(fe),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const fe=this._overlayRef.overlayElement.style,_e=this._overlayRef.hostElement.style,Le=this._overlayRef.getConfig(),{width:tt,height:nt,maxWidth:St,maxHeight:Qt}=Le,En=!("100%"!==tt&&"100vw"!==tt||St&&"100%"!==St&&"100vw"!==St),yn=!("100%"!==nt&&"100vh"!==nt||Qt&&"100%"!==Qt&&"100vh"!==Qt),On=this._xPosition,Un=this._xOffset,Li="rtl"===this._overlayRef.getConfig().direction;let Rn="",Ui="",Kn="";En?Kn="flex-start":"center"===On?(Kn="center",Li?Ui=Un:Rn=Un):Li?"left"===On||"end"===On?(Kn="flex-end",Rn=Un):("right"===On||"start"===On)&&(Kn="flex-start",Ui=Un):"left"===On||"start"===On?(Kn="flex-start",Rn=Un):("right"===On||"end"===On)&&(Kn="flex-end",Ui=Un),fe.position=this._cssPosition,fe.marginLeft=En?"0":Rn,fe.marginTop=yn?"0":this._topOffset,fe.marginBottom=this._bottomOffset,fe.marginRight=En?"0":Ui,_e.justifyContent=Kn,_e.alignItems=yn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const fe=this._overlayRef.overlayElement.style,_e=this._overlayRef.hostElement,Le=_e.style;_e.classList.remove(ut),Le.justifyContent=Le.alignItems=fe.marginTop=fe.marginBottom=fe.marginLeft=fe.marginRight=fe.position="",this._overlayRef=null,this._isDisposed=!0}}let vt=(()=>{class dt{constructor(_e,Le,tt,nt){this._viewportRuler=_e,this._document=Le,this._platform=tt,this._overlayContainer=nt}global(){return new ft}flexibleConnectedTo(_e){return new Oe(_e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Le){return new(Le||dt)(e.KVO(s.Xj),e.KVO(h.qQ),e.KVO(m.OD),e.KVO(je))};static#t=this.\u0275prov=e.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),Kt=0,wt=(()=>{class dt{constructor(_e,Le,tt,nt,St,Qt,En,yn,On,Un,Li,Rn){this.scrollStrategies=_e,this._overlayContainer=Le,this._componentFactoryResolver=tt,this._positionBuilder=nt,this._keyboardDispatcher=St,this._injector=Qt,this._ngZone=En,this._document=yn,this._directionality=On,this._location=Un,this._outsideClickDispatcher=Li,this._animationsModuleType=Rn}create(_e){const Le=this._createHostElement(),tt=this._createPaneElement(Le),nt=this._createPortalOutlet(tt),St=new W(_e);return St.direction=St.direction||this._directionality.value,new Qe(nt,Le,tt,St,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(_e){const Le=this._document.createElement("div");return Le.id="cdk-overlay-"+Kt++,Le.classList.add("cdk-overlay-pane"),_e.appendChild(Le),Le}_createHostElement(){const _e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(_e),_e}_createPortalOutlet(_e){return this._appRef||(this._appRef=this._injector.get(e.o8S)),new R.aI(_e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Le){return new(Le||dt)(e.KVO(Pe),e.KVO(je),e.KVO(e.OM3),e.KVO(vt),e.KVO(Ee),e.KVO(e.zZn),e.KVO(e.SKi),e.KVO(h.qQ),e.KVO(b.dS),e.KVO(h.aZ),e.KVO(me),e.KVO(e.bc$,8))};static#t=this.\u0275prov=e.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})();const dn={provide:new e.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const dt=(0,e.WQX)(wt);return()=>dt.scrollStrategies.reposition()}}),deps:[wt],useFactory:function Zt(dt){return()=>dt.scrollStrategies.reposition()}};let Pt=(()=>{class dt{static#e=this.\u0275fac=function(Le){return new(Le||dt)};static#t=this.\u0275mod=e.$C({type:dt});static#n=this.\u0275inj=e.G2t({providers:[wt,dn],imports:[b.jI,R.jc,s.E9,s.E9]})}return dt})()},36860:(Be,K,l)=>{"use strict";l.d(K,{BQ:()=>L,CZ:()=>j,Fb:()=>de,KT:()=>ae,MU:()=>M,OD:()=>u,v8:()=>Pe,vc:()=>pe});var s=l(54438),h=l(60177);let e;try{e=typeof Intl<"u"&&Intl.v8BreakIterator}catch{e=!1}let C,u=(()=>{class W{constructor(te){this._platformId=te,this.isBrowser=this._platformId?(0,h.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!e)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(q){return new(q||W)(s.KVO(s.Agw))};static#t=this.\u0275prov=s.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const w=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function M(){if(C)return C;if("object"!=typeof document||!document)return C=new Set(w),C;let W=document.createElement("input");return C=new Set(w.filter(J=>(W.setAttribute("type",J),W.type===J))),C}let b,Y,oe;function L(W){return function R(){if(null==b&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>b=!0}))}finally{b=b||!1}return b}()?W:!!W.capture}function j(){if(null==Y){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Y=!1,Y;if("scrollBehavior"in document.documentElement.style)Y=!0;else{const W=Element.prototype.scrollTo;Y=!!W&&!/\{\s*\[native code\]\s*\}/.test(W.toString())}}return Y}function ae(W){if(function H(){if(null==oe){const W=typeof document<"u"?document.head:null;oe=!(!W||!W.createShadowRoot&&!W.attachShadow)}return oe}()){const J=W.getRootNode?W.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&J instanceof ShadowRoot)return J}return null}function pe(){let W=typeof document<"u"&&document?document.activeElement:null;for(;W&&W.shadowRoot;){const J=W.shadowRoot.activeElement;if(J===W)break;W=J}return W}function de(W){return W.composedPath?W.composedPath()[0]:W.target}function Pe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},76939:(Be,K,l)=>{"use strict";l.d(K,{A8:()=>R,I3:()=>ae,VA:()=>L,aI:()=>j,jc:()=>de});var s=l(54438),h=l(60177);class b{attach(J){return this._attachedHost=J,J.attach(this)}detach(){let J=this._attachedHost;null!=J&&(this._attachedHost=null,J.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(J){this._attachedHost=J}}class R extends b{constructor(J,te,q,$,Q){super(),this.component=J,this.viewContainerRef=te,this.injector=q,this.componentFactoryResolver=$,this.projectableNodes=Q}}class L extends b{constructor(J,te,q,$){super(),this.templateRef=J,this.viewContainerRef=te,this.context=q,this.injector=$}get origin(){return this.templateRef.elementRef}attach(J,te=this.context){return this.context=te,super.attach(J)}detach(){return this.context=void 0,super.detach()}}class x extends b{constructor(J){super(),this.element=J instanceof s.aKT?J.nativeElement:J}}class B{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(J){return J instanceof R?(this._attachedPortal=J,this.attachComponentPortal(J)):J instanceof L?(this._attachedPortal=J,this.attachTemplatePortal(J)):this.attachDomPortal&&J instanceof x?(this._attachedPortal=J,this.attachDomPortal(J)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(J){this._disposeFn=J}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class j extends B{constructor(J,te,q,$,Q){super(),this.outletElement=J,this._componentFactoryResolver=te,this._appRef=q,this._defaultInjector=$,this.attachDomPortal=se=>{const Ee=se.element,me=this._document.createComment("dom-portal");Ee.parentNode.insertBefore(me,Ee),this.outletElement.appendChild(Ee),this._attachedPortal=se,super.setDisposeFn(()=>{me.parentNode&&me.parentNode.replaceChild(Ee,me)})},this._document=Q}attachComponentPortal(J){const q=(J.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(J.component);let $;return J.viewContainerRef?($=J.viewContainerRef.createComponent(q,J.viewContainerRef.length,J.injector||J.viewContainerRef.injector,J.projectableNodes||void 0),this.setDisposeFn(()=>$.destroy())):($=q.create(J.injector||this._defaultInjector||s.zZn.NULL),this._appRef.attachView($.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView($.hostView),$.destroy()})),this.outletElement.appendChild(this._getComponentRootNode($)),this._attachedPortal=J,$}attachTemplatePortal(J){let te=J.viewContainerRef,q=te.createEmbeddedView(J.templateRef,J.context,{injector:J.injector});return q.rootNodes.forEach($=>this.outletElement.appendChild($)),q.detectChanges(),this.setDisposeFn(()=>{let $=te.indexOf(q);-1!==$&&te.remove($)}),this._attachedPortal=J,q}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(J){return J.hostView.rootNodes[0]}}let ae=(()=>{class W extends B{constructor(te,q,$){super(),this._componentFactoryResolver=te,this._viewContainerRef=q,this._isInitialized=!1,this.attached=new s.bkB,this.attachDomPortal=Q=>{const se=Q.element,Ee=this._document.createComment("dom-portal");Q.setAttachedHost(this),se.parentNode.insertBefore(Ee,se),this._getRootNode().appendChild(se),this._attachedPortal=Q,super.setDisposeFn(()=>{Ee.parentNode&&Ee.parentNode.replaceChild(se,Ee)})},this._document=$}get portal(){return this._attachedPortal}set portal(te){this.hasAttached()&&!te&&!this._isInitialized||(this.hasAttached()&&super.detach(),te&&super.attach(te),this._attachedPortal=te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(te){te.setAttachedHost(this);const q=null!=te.viewContainerRef?te.viewContainerRef:this._viewContainerRef,Q=(te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(te.component),se=q.createComponent(Q,q.length,te.injector||q.injector,te.projectableNodes||void 0);return q!==this._viewContainerRef&&this._getRootNode().appendChild(se.hostView.rootNodes[0]),super.setDisposeFn(()=>se.destroy()),this._attachedPortal=te,this._attachedRef=se,this.attached.emit(se),se}attachTemplatePortal(te){te.setAttachedHost(this);const q=this._viewContainerRef.createEmbeddedView(te.templateRef,te.context,{injector:te.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=te,this._attachedRef=q,this.attached.emit(q),q}_getRootNode(){const te=this._viewContainerRef.element.nativeElement;return te.nodeType===te.ELEMENT_NODE?te:te.parentNode}static#e=this.\u0275fac=function(q){return new(q||W)(s.rXU(s.OM3),s.rXU(s.c1b),s.rXU(h.qQ))};static#t=this.\u0275dir=s.FsC({type:W,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[s.Mj6.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[s.Vt3]})}return W})(),de=(()=>{class W{static#e=this.\u0275fac=function(q){return new(q||W)};static#t=this.\u0275mod=s.$C({type:W});static#n=this.\u0275inj=s.G2t({})}return W})()},46535:(Be,K,l)=>{"use strict";l.d(K,{Gj:()=>Pt,R:()=>Ce,E9:()=>Ln,Xj:()=>ft});var s=l(14085),h=l(54438),e=l(21413),u=l(7673),m=l(71985),C=l(33726),M=(l(30536),l(96780));let R,b=1;const L={};function x(dt){return dt in L&&(delete L[dt],!0)}const B={setImmediate(dt){const fe=b++;return L[fe]=!0,R||(R=Promise.resolve()),R.then(()=>x(fe)&&dt()),fe},clearImmediate(dt){x(dt)}},{setImmediate:j,clearImmediate:ve}=B,oe={setImmediate(...dt){const{delegate:fe}=oe;return(fe?.setImmediate||j)(...dt)},clearImmediate(dt){const{delegate:fe}=oe;return(fe?.clearImmediate||ve)(dt)},delegate:void 0};var ae=l(39687);new class pe extends ae.q{flush(fe){this._active=!0;const _e=this._scheduled;this._scheduled=void 0;const{actions:Le}=this;let tt;fe=fe||Le.shift();do{if(tt=fe.execute(fe.state,fe.delay))break}while((fe=Le[0])&&fe.id===_e&&Le.shift());if(this._active=!1,tt){for(;(fe=Le[0])&&fe.id===_e&&Le.shift();)fe.unsubscribe();throw tt}}}(class H extends M.R{constructor(fe,_e){super(fe,_e),this.scheduler=fe,this.work=_e}requestAsyncId(fe,_e,Le=0){return null!==Le&&Le>0?super.requestAsyncId(fe,_e,Le):(fe.actions.push(this),fe._scheduled||(fe._scheduled=oe.setImmediate(fe.flush.bind(fe,void 0))))}recycleAsyncId(fe,_e,Le=0){var tt;if(null!=Le?Le>0:this.delay>0)return super.recycleAsyncId(fe,_e,Le);const{actions:nt}=fe;null!=_e&&(null===(tt=nt[nt.length-1])||void 0===tt?void 0:tt.id)!==_e&&(oe.clearImmediate(_e),fe._scheduled===_e&&(fe._scheduled=void 0))}});var W=l(43236),J=l(39974),te=l(58750),q=l(54360),Q=l(41584);function se(dt,fe=W.E){return function $(dt){return(0,J.N)((fe,_e)=>{let Le=!1,tt=null,nt=null,St=!1;const Qt=()=>{if(nt?.unsubscribe(),nt=null,Le){Le=!1;const yn=tt;tt=null,_e.next(yn)}St&&_e.complete()},En=()=>{nt=null,St&&_e.complete()};fe.subscribe((0,q._)(_e,yn=>{Le=!0,tt=yn,nt||(0,te.Tg)(dt(yn)).subscribe(nt=(0,q._)(_e,Qt,En))},()=>{St=!0,(!Le||!nt||nt.closed)&&_e.complete()}))})}(()=>(0,Q.O)(dt,fe))}var Ee=l(5964),me=l(36860),je=l(60177),Qe=l(28203);let Ce=(()=>{class dt{constructor(_e,Le,tt){this._ngZone=_e,this._platform=Le,this._scrolled=new e.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=tt}register(_e){this.scrollContainers.has(_e)||this.scrollContainers.set(_e,_e.elementScrolled().subscribe(()=>this._scrolled.next(_e)))}deregister(_e){const Le=this.scrollContainers.get(_e);Le&&(Le.unsubscribe(),this.scrollContainers.delete(_e))}scrolled(_e=20){return this._platform.isBrowser?new m.c(Le=>{this._globalSubscription||this._addGlobalListener();const tt=_e>0?this._scrolled.pipe(se(_e)).subscribe(Le):this._scrolled.subscribe(Le);return this._scrolledCount++,()=>{tt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,u.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((_e,Le)=>this.deregister(Le)),this._scrolled.complete()}ancestorScrolled(_e,Le){const tt=this.getAncestorScrollContainers(_e);return this.scrolled(Le).pipe((0,Ee.p)(nt=>!nt||tt.indexOf(nt)>-1))}getAncestorScrollContainers(_e){const Le=[];return this.scrollContainers.forEach((tt,nt)=>{this._scrollableContainsElement(nt,_e)&&Le.push(nt)}),Le}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(_e,Le){let tt=(0,s.i8)(Le),nt=_e.getElementRef().nativeElement;do{if(tt==nt)return!0}while(tt=tt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const _e=this._getWindow();return(0,C.R)(_e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(Le){return new(Le||dt)(h.KVO(h.SKi),h.KVO(me.OD),h.KVO(je.qQ,8))};static#t=this.\u0275prov=h.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),ft=(()=>{class dt{constructor(_e,Le,tt){this._platform=_e,this._change=new e.B,this._changeListener=nt=>{this._change.next(nt)},this._document=tt,Le.runOutsideAngular(()=>{if(_e.isBrowser){const nt=this._getWindow();nt.addEventListener("resize",this._changeListener),nt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const _e=this._getWindow();_e.removeEventListener("resize",this._changeListener),_e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const _e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),_e}getViewportRect(){const _e=this.getViewportScrollPosition(),{width:Le,height:tt}=this.getViewportSize();return{top:_e.top,left:_e.left,bottom:_e.top+tt,right:_e.left+Le,height:tt,width:Le}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const _e=this._document,Le=this._getWindow(),tt=_e.documentElement,nt=tt.getBoundingClientRect();return{top:-nt.top||_e.body.scrollTop||Le.scrollY||tt.scrollTop||0,left:-nt.left||_e.body.scrollLeft||Le.scrollX||tt.scrollLeft||0}}change(_e=20){return _e>0?this._change.pipe(se(_e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const _e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:_e.innerWidth,height:_e.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(Le){return new(Le||dt)(h.KVO(me.OD),h.KVO(h.SKi),h.KVO(je.qQ,8))};static#t=this.\u0275prov=h.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),Pt=(()=>{class dt{static#e=this.\u0275fac=function(Le){return new(Le||dt)};static#t=this.\u0275mod=h.$C({type:dt});static#n=this.\u0275inj=h.G2t({})}return dt})(),Ln=(()=>{class dt{static#e=this.\u0275fac=function(Le){return new(Le||dt)};static#t=this.\u0275mod=h.$C({type:dt});static#n=this.\u0275inj=h.G2t({imports:[Qe.jI,Pt,Qe.jI,Pt]})}return dt})()},60177:(Be,K,l)=>{"use strict";l.d(K,{AJ:()=>Xi,B3:()=>Ke,GH:()=>pr,Jj:()=>vi,MD:()=>Qr,N0:()=>xo,OI:()=>cn,Pc:()=>Ps,QT:()=>e,QX:()=>Ls,Sm:()=>ve,Sq:()=>Mn,T3:()=>Nn,TG:()=>Sr,UE:()=>Xs,VF:()=>m,Vy:()=>Lo,Xr:()=>uo,YU:()=>bt,ZD:()=>u,ZV:()=>Ni,_b:()=>Ze,aZ:()=>H,bT:()=>zn,e1:()=>os,fG:()=>Ae,fw:()=>oe,hb:()=>Y,hj:()=>b,lG:()=>Ys,oe:()=>ls,qQ:()=>w,ux:()=>jn,vh:()=>Fr});var s=l(54438);let h=null;function e(){return h}function u(T){h??=T}class m{}const w=new s.nKC("");let M=(()=>{class T{historyGo(V){throw new Error("")}static#e=this.\u0275fac=function(ee){return new(ee||T)};static#t=this.\u0275prov=s.jDH({token:T,factory:()=>(0,s.WQX)(R),providedIn:"platform"})}return T})();const b=new s.nKC("");let R=(()=>{class T extends M{constructor(){super(),this._doc=(0,s.WQX)(w),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return e().getBaseHref(this._doc)}onPopState(V){const ee=e().getGlobalEventTarget(this._doc,"window");return ee.addEventListener("popstate",V,!1),()=>ee.removeEventListener("popstate",V)}onHashChange(V){const ee=e().getGlobalEventTarget(this._doc,"window");return ee.addEventListener("hashchange",V,!1),()=>ee.removeEventListener("hashchange",V)}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(V){this._location.pathname=V}pushState(V,ee,He){this._history.pushState(V,ee,He)}replaceState(V,ee,He){this._history.replaceState(V,ee,He)}forward(){this._history.forward()}back(){this._history.back()}historyGo(V=0){this._history.go(V)}getState(){return this._history.state}static#e=this.\u0275fac=function(ee){return new(ee||T)};static#t=this.\u0275prov=s.jDH({token:T,factory:()=>new T,providedIn:"platform"})}return T})();function L(T,re){if(0==T.length)return re;if(0==re.length)return T;let V=0;return T.endsWith("/")&&V++,re.startsWith("/")&&V++,2==V?T+re.substring(1):1==V?T+re:T+"/"+re}function x(T){const re=T.match(/#|\?|$/),V=re&&re.index||T.length;return T.slice(0,V-("/"===T[V-1]?1:0))+T.slice(V)}function B(T){return T&&"?"!==T[0]?"?"+T:T}let Y=(()=>{class T{historyGo(V){throw new Error("")}static#e=this.\u0275fac=function(ee){return new(ee||T)};static#t=this.\u0275prov=s.jDH({token:T,factory:()=>(0,s.WQX)(ve),providedIn:"root"})}return T})();const j=new s.nKC("");let ve=(()=>{class T extends Y{constructor(V,ee){super(),this._platformLocation=V,this._removeListenerFns=[],this._baseHref=ee??this._platformLocation.getBaseHrefFromDOM()??(0,s.WQX)(w).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(V){this._removeListenerFns.push(this._platformLocation.onPopState(V),this._platformLocation.onHashChange(V))}getBaseHref(){return this._baseHref}prepareExternalUrl(V){return L(this._baseHref,V)}path(V=!1){const ee=this._platformLocation.pathname+B(this._platformLocation.search),He=this._platformLocation.hash;return He&&V?`${ee}${He}`:ee}pushState(V,ee,He,At){const ge=this.prepareExternalUrl(He+B(At));this._platformLocation.pushState(V,ee,ge)}replaceState(V,ee,He,At){const ge=this.prepareExternalUrl(He+B(At));this._platformLocation.replaceState(V,ee,ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(V=0){this._platformLocation.historyGo?.(V)}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.KVO(M),s.KVO(j,8))};static#t=this.\u0275prov=s.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})(),oe=(()=>{class T extends Y{constructor(V,ee){super(),this._platformLocation=V,this._baseHref="",this._removeListenerFns=[],null!=ee&&(this._baseHref=ee)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(V){this._removeListenerFns.push(this._platformLocation.onPopState(V),this._platformLocation.onHashChange(V))}getBaseHref(){return this._baseHref}path(V=!1){const ee=this._platformLocation.hash??"#";return ee.length>0?ee.substring(1):ee}prepareExternalUrl(V){const ee=L(this._baseHref,V);return ee.length>0?"#"+ee:ee}pushState(V,ee,He,At){let ge=this.prepareExternalUrl(He+B(At));0==ge.length&&(ge=this._platformLocation.pathname),this._platformLocation.pushState(V,ee,ge)}replaceState(V,ee,He,At){let ge=this.prepareExternalUrl(He+B(At));0==ge.length&&(ge=this._platformLocation.pathname),this._platformLocation.replaceState(V,ee,ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(V=0){this._platformLocation.historyGo?.(V)}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.KVO(M),s.KVO(j,8))};static#t=this.\u0275prov=s.jDH({token:T,factory:T.\u0275fac})}return T})(),H=(()=>{class T{constructor(V){this._subject=new s.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=V;const ee=this._locationStrategy.getBaseHref();this._basePath=function Pe(T){if(new RegExp("^(https?:)?//").test(T)){const[,V]=T.split(/\/\/[^\/]+/);return V}return T}(x(de(ee))),this._locationStrategy.onPopState(He=>{this._subject.emit({url:this.path(!0),pop:!0,state:He.state,type:He.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(V=!1){return this.normalize(this._locationStrategy.path(V))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(V,ee=""){return this.path()==this.normalize(V+B(ee))}normalize(V){return T.stripTrailingSlash(function pe(T,re){if(!T||!re.startsWith(T))return re;const V=re.substring(T.length);return""===V||["/",";","?","#"].includes(V[0])?V:re}(this._basePath,de(V)))}prepareExternalUrl(V){return V&&"/"!==V[0]&&(V="/"+V),this._locationStrategy.prepareExternalUrl(V)}go(V,ee="",He=null){this._locationStrategy.pushState(He,"",V,ee),this._notifyUrlChangeListeners(this.prepareExternalUrl(V+B(ee)),He)}replaceState(V,ee="",He=null){this._locationStrategy.replaceState(He,"",V,ee),this._notifyUrlChangeListeners(this.prepareExternalUrl(V+B(ee)),He)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(V=0){this._locationStrategy.historyGo?.(V)}onUrlChange(V){return this._urlChangeListeners.push(V),this._urlChangeSubscription??=this.subscribe(ee=>{this._notifyUrlChangeListeners(ee.url,ee.state)}),()=>{const ee=this._urlChangeListeners.indexOf(V);this._urlChangeListeners.splice(ee,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(V="",ee){this._urlChangeListeners.forEach(He=>He(V,ee))}subscribe(V,ee,He){return this._subject.subscribe({next:V,error:ee,complete:He})}static#e=this.normalizeQueryParams=B;static#t=this.joinWithSlash=L;static#n=this.stripTrailingSlash=x;static#s=this.\u0275fac=function(ee){return new(ee||T)(s.KVO(Y))};static#i=this.\u0275prov=s.jDH({token:T,factory:()=>function ae(){return new H((0,s.KVO)(Y))}(),providedIn:"root"})}return T})();function de(T){return T.replace(/\/index.html$/,"")}const W={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 J=function(T){return T[T.Decimal=0]="Decimal",T[T.Percent=1]="Percent",T[T.Currency=2]="Currency",T[T.Scientific=3]="Scientific",T}(J||{}),q=function(T){return T[T.Format=0]="Format",T[T.Standalone=1]="Standalone",T}(q||{}),$=function(T){return T[T.Narrow=0]="Narrow",T[T.Abbreviated=1]="Abbreviated",T[T.Wide=2]="Wide",T[T.Short=3]="Short",T}($||{}),Q=function(T){return T[T.Short=0]="Short",T[T.Medium=1]="Medium",T[T.Long=2]="Long",T[T.Full=3]="Full",T}(Q||{});const se={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};function Ve(T,re){return Zt((0,s.H5H)(T)[s.KH2.DateFormat],re)}function ye(T,re){return Zt((0,s.H5H)(T)[s.KH2.TimeFormat],re)}function ht(T,re){return Zt((0,s.H5H)(T)[s.KH2.DateTimeFormat],re)}function Ce(T,re){const V=(0,s.H5H)(T),ee=V[s.KH2.NumberSymbols][re];if(typeof ee>"u"){if(re===se.CurrencyDecimal)return V[s.KH2.NumberSymbols][se.Decimal];if(re===se.CurrencyGroup)return V[s.KH2.NumberSymbols][se.Group]}return ee}function We(T,re){return(0,s.H5H)(T)[s.KH2.NumberFormats][re]}function tn(T){if(!T[s.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${T[s.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Zt(T,re){for(let V=re;V>-1;V--)if(typeof T[V]<"u")return T[V];throw new Error("Locale data API: locale data undefined")}function dn(T){const[re,V]=T.split(":");return{hours:+re,minutes:+V}}const fe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,_e={},Le=/((?:[^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 tt=function(T){return T[T.Short=0]="Short",T[T.ShortGMT=1]="ShortGMT",T[T.Long=2]="Long",T[T.Extended=3]="Extended",T}(tt||{}),nt=function(T){return T[T.FullYear=0]="FullYear",T[T.Month=1]="Month",T[T.Date=2]="Date",T[T.Hours=3]="Hours",T[T.Minutes=4]="Minutes",T[T.Seconds=5]="Seconds",T[T.FractionalSeconds=6]="FractionalSeconds",T[T.Day=7]="Day",T}(nt||{}),St=function(T){return T[T.DayPeriods=0]="DayPeriods",T[T.Days=1]="Days",T[T.Months=2]="Months",T[T.Eras=3]="Eras",T}(St||{});function Qt(T,re,V,ee){let He=function Gn(T){if(Ei(T))return T;if("number"==typeof T&&!isNaN(T))return new Date(T);if("string"==typeof T){if(T=T.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(T)){const[He,At=1,ge=1]=T.split("-").map(E=>+E);return En(He,At-1,ge)}const V=parseFloat(T);if(!isNaN(T-V))return new Date(V);let ee;if(ee=T.match(fe))return function Ci(T){const re=new Date(0);let V=0,ee=0;const He=T[8]?re.setUTCFullYear:re.setFullYear,At=T[8]?re.setUTCHours:re.setHours;T[9]&&(V=Number(T[9]+T[10]),ee=Number(T[9]+T[11])),He.call(re,Number(T[1]),Number(T[2])-1,Number(T[3]));const ge=Number(T[4]||0)-V,E=Number(T[5]||0)-ee,A=Number(T[6]||0),S=Math.floor(1e3*parseFloat("0."+(T[7]||0)));return At.call(re,ge,E,A,S),re}(ee)}const re=new Date(T);if(!Ei(re))throw new Error(`Unable to convert "${T}" into a date`);return re}(T);re=yn(V,re)||re;let E,ge=[];for(;re;){if(E=Le.exec(re),!E){ge.push(re);break}{ge=ge.concat(E.slice(1));const P=ge.pop();if(!P)break;re=P}}let A=He.getTimezoneOffset();ee&&(A=ct(ee,A),He=function gn(T,re,V){const ee=V?-1:1,He=T.getTimezoneOffset();return function Mt(T,re){return(T=new Date(T.getTime())).setMinutes(T.getMinutes()+re),T}(T,ee*(ct(re,He)-He))}(He,ee,!0));let S="";return ge.forEach(P=>{const z=function Fe(T){if(Et[T])return Et[T];let re;switch(T){case"G":case"GG":case"GGG":re=Kn(St.Eras,$.Abbreviated);break;case"GGGG":re=Kn(St.Eras,$.Wide);break;case"GGGGG":re=Kn(St.Eras,$.Narrow);break;case"y":re=Rn(nt.FullYear,1,0,!1,!0);break;case"yy":re=Rn(nt.FullYear,2,0,!0,!0);break;case"yyy":re=Rn(nt.FullYear,3,0,!1,!0);break;case"yyyy":re=Rn(nt.FullYear,4,0,!1,!0);break;case"Y":re=pt(1);break;case"YY":re=pt(2,!0);break;case"YYY":re=pt(3);break;case"YYYY":re=pt(4);break;case"M":case"L":re=Rn(nt.Month,1,1);break;case"MM":case"LL":re=Rn(nt.Month,2,1);break;case"MMM":re=Kn(St.Months,$.Abbreviated);break;case"MMMM":re=Kn(St.Months,$.Wide);break;case"MMMMM":re=Kn(St.Months,$.Narrow);break;case"LLL":re=Kn(St.Months,$.Abbreviated,q.Standalone);break;case"LLLL":re=Kn(St.Months,$.Wide,q.Standalone);break;case"LLLLL":re=Kn(St.Months,$.Narrow,q.Standalone);break;case"w":re=is(1);break;case"ww":re=is(2);break;case"W":re=is(1,!0);break;case"d":re=Rn(nt.Date,1);break;case"dd":re=Rn(nt.Date,2);break;case"c":case"cc":re=Rn(nt.Day,1);break;case"ccc":re=Kn(St.Days,$.Abbreviated,q.Standalone);break;case"cccc":re=Kn(St.Days,$.Wide,q.Standalone);break;case"ccccc":re=Kn(St.Days,$.Narrow,q.Standalone);break;case"cccccc":re=Kn(St.Days,$.Short,q.Standalone);break;case"E":case"EE":case"EEE":re=Kn(St.Days,$.Abbreviated);break;case"EEEE":re=Kn(St.Days,$.Wide);break;case"EEEEE":re=Kn(St.Days,$.Narrow);break;case"EEEEEE":re=Kn(St.Days,$.Short);break;case"a":case"aa":case"aaa":re=Kn(St.DayPeriods,$.Abbreviated);break;case"aaaa":re=Kn(St.DayPeriods,$.Wide);break;case"aaaaa":re=Kn(St.DayPeriods,$.Narrow);break;case"b":case"bb":case"bbb":re=Kn(St.DayPeriods,$.Abbreviated,q.Standalone,!0);break;case"bbbb":re=Kn(St.DayPeriods,$.Wide,q.Standalone,!0);break;case"bbbbb":re=Kn(St.DayPeriods,$.Narrow,q.Standalone,!0);break;case"B":case"BB":case"BBB":re=Kn(St.DayPeriods,$.Abbreviated,q.Format,!0);break;case"BBBB":re=Kn(St.DayPeriods,$.Wide,q.Format,!0);break;case"BBBBB":re=Kn(St.DayPeriods,$.Narrow,q.Format,!0);break;case"h":re=Rn(nt.Hours,1,-12);break;case"hh":re=Rn(nt.Hours,2,-12);break;case"H":re=Rn(nt.Hours,1);break;case"HH":re=Rn(nt.Hours,2);break;case"m":re=Rn(nt.Minutes,1);break;case"mm":re=Rn(nt.Minutes,2);break;case"s":re=Rn(nt.Seconds,1);break;case"ss":re=Rn(nt.Seconds,2);break;case"S":re=Rn(nt.FractionalSeconds,1);break;case"SS":re=Rn(nt.FractionalSeconds,2);break;case"SSS":re=Rn(nt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":re=Hi(tt.Short);break;case"ZZZZZ":re=Hi(tt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":re=Hi(tt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":re=Hi(tt.Long);break;default:return null}return Et[T]=re,re}(P);S+=z?z(He,V,A):"''"===P?"'":P.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),S}function En(T,re,V){const ee=new Date(0);return ee.setFullYear(T,re,V),ee.setHours(0,0,0),ee}function yn(T,re){const V=function me(T){return(0,s.H5H)(T)[s.KH2.LocaleId]}(T);if(_e[V]??={},_e[V][re])return _e[V][re];let ee="";switch(re){case"shortDate":ee=Ve(T,Q.Short);break;case"mediumDate":ee=Ve(T,Q.Medium);break;case"longDate":ee=Ve(T,Q.Long);break;case"fullDate":ee=Ve(T,Q.Full);break;case"shortTime":ee=ye(T,Q.Short);break;case"mediumTime":ee=ye(T,Q.Medium);break;case"longTime":ee=ye(T,Q.Long);break;case"fullTime":ee=ye(T,Q.Full);break;case"short":const He=yn(T,"shortTime"),At=yn(T,"shortDate");ee=On(ht(T,Q.Short),[He,At]);break;case"medium":const ge=yn(T,"mediumTime"),E=yn(T,"mediumDate");ee=On(ht(T,Q.Medium),[ge,E]);break;case"long":const A=yn(T,"longTime"),S=yn(T,"longDate");ee=On(ht(T,Q.Long),[A,S]);break;case"full":const P=yn(T,"fullTime"),z=yn(T,"fullDate");ee=On(ht(T,Q.Full),[P,z])}return ee&&(_e[V][re]=ee),ee}function On(T,re){return re&&(T=T.replace(/\{([^}]+)}/g,function(V,ee){return null!=re&&ee in re?re[ee]:V})),T}function Un(T,re,V="-",ee,He){let At="";(T<0||He&&T<=0)&&(He?T=1-T:(T=-T,At=V));let ge=String(T);for(;ge.length0||E>-V)&&(E+=V),T===nt.Hours)0===E&&-12===V&&(E=12);else if(T===nt.FractionalSeconds)return function Li(T,re){return Un(T,3).substring(0,re)}(E,re);const A=Ce(ge,se.MinusSign);return Un(E,re,A,ee,He)}}function Kn(T,re,V=q.Format,ee=!1){return function(He,At){return function Hn(T,re,V,ee,He,At){switch(V){case St.Months:return function Ot(T,re,V){const ee=(0,s.H5H)(T),At=Zt([ee[s.KH2.MonthsFormat],ee[s.KH2.MonthsStandalone]],re);return Zt(At,V)}(re,He,ee)[T.getMonth()];case St.Days:return function Qe(T,re,V){const ee=(0,s.H5H)(T),At=Zt([ee[s.KH2.DaysFormat],ee[s.KH2.DaysStandalone]],re);return Zt(At,V)}(re,He,ee)[T.getDay()];case St.DayPeriods:const ge=T.getHours(),E=T.getMinutes();if(At){const S=function Wn(T){const re=(0,s.H5H)(T);return tn(re),(re[s.KH2.ExtraData][2]||[]).map(ee=>"string"==typeof ee?dn(ee):[dn(ee[0]),dn(ee[1])])}(re),P=function pi(T,re,V){const ee=(0,s.H5H)(T);tn(ee);const At=Zt([ee[s.KH2.ExtraData][0],ee[s.KH2.ExtraData][1]],re)||[];return Zt(At,V)||[]}(re,He,ee),z=S.findIndex(Z=>{if(Array.isArray(Z)){const[ce,Ue]=Z,Ne=ge>=ce.hours&&E>=ce.minutes,Se=ge0?Math.floor(He/60):Math.ceil(He/60);switch(T){case tt.Short:return(He>=0?"+":"")+Un(ge,2,At)+Un(Math.abs(He%60),2,At);case tt.ShortGMT:return"GMT"+(He>=0?"+":"")+Un(ge,1,At);case tt.Long:return"GMT"+(He>=0?"+":"")+Un(ge,2,At)+":"+Un(Math.abs(He%60),2,At);case tt.Extended:return 0===ee?"Z":(He>=0?"+":"")+Un(ge,2,At)+":"+Un(Math.abs(He%60),2,At);default:throw new Error(`Unknown zone width "${T}"`)}}}const qn=0,es=4;function As(T){const re=T.getDay(),V=0===re?-3:es-re;return En(T.getFullYear(),T.getMonth(),T.getDate()+V)}function is(T,re=!1){return function(V,ee){let He;if(re){const At=new Date(V.getFullYear(),V.getMonth(),1).getDay()-1,ge=V.getDate();He=1+Math.floor((ge+At)/7)}else{const At=As(V),ge=function ai(T){const re=En(T,qn,1).getDay();return En(T,0,1+(re<=es?es:es+7)-re)}(At.getFullYear()),E=At.getTime()-ge.getTime();He=1+Math.round(E/6048e5)}return Un(He,T,Ce(ee,se.MinusSign))}}function pt(T,re=!1){return function(V,ee){return Un(As(V).getFullYear(),T,Ce(ee,se.MinusSign),re)}}const Et={};function ct(T,re){T=T.replace(/:/g,"");const V=Date.parse("Jan 01, 1970 00:00:00 "+T)/6e4;return isNaN(V)?re:V}function Ei(T){return T instanceof Date&&!isNaN(T.valueOf())}const st=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Vt=22,$e=".",yt="0",et=";",rt=",",xe="#";function ln(T,re,V,ee,He,At,ge=!1){let E="",A=!1;if(isFinite(T)){let S=function xi(T){let ee,He,At,ge,E,re=Math.abs(T)+"",V=0;for((He=re.indexOf($e))>-1&&(re=re.replace($e,"")),(At=re.search(/e/i))>0?(He<0&&(He=At),He+=+re.slice(At+1),re=re.substring(0,At)):He<0&&(He=re.length),At=0;re.charAt(At)===yt;At++);if(At===(E=re.length))ee=[0],He=1;else{for(E--;re.charAt(E)===yt;)E--;for(He-=At,ee=[],ge=0;At<=E;At++,ge++)ee[ge]=Number(re.charAt(At))}return He>Vt&&(ee=ee.splice(0,Vt-1),V=He-1,He=1),{digits:ee,exponent:V,integerLen:He}}(T);ge&&(S=function ri(T){if(0===T.digits[0])return T;const re=T.digits.length-T.integerLen;return T.exponent?T.exponent+=2:(0===re?T.digits.push(0,0):1===re&&T.digits.push(0),T.integerLen+=2),T}(S));let P=re.minInt,z=re.minFrac,Z=re.maxFrac;if(At){const Ct=At.match(st);if(null===Ct)throw new Error(`${At} is not a valid digit info`);const It=Ct[1],Ft=Ct[3],_t=Ct[5];null!=It&&(P=ss(It)),null!=Ft&&(z=ss(Ft)),null!=_t?Z=ss(_t):null!=Ft&&z>Z&&(Z=z)}!function ji(T,re,V){if(re>V)throw new Error(`The minimum number of digits after fraction (${re}) is higher than the maximum (${V}).`);let ee=T.digits,He=ee.length-T.integerLen;const At=Math.min(Math.max(re,He),V);let ge=At+T.integerLen,E=ee[ge];if(ge>0){ee.splice(Math.max(T.integerLen,ge));for(let z=ge;z=5)if(ge-1<0){for(let z=0;z>ge;z--)ee.unshift(0),T.integerLen++;ee.unshift(1),T.integerLen++}else ee[ge-1]++;for(;He=S?Ue.pop():A=!1),Z>=10?1:0},0);P&&(ee.unshift(P),T.integerLen++)}(S,z,Z);let ce=S.digits,Ue=S.integerLen;const Ne=S.exponent;let Se=[];for(A=ce.every(Ct=>!Ct);Ue0?Se=ce.splice(Ue,ce.length):(Se=ce,ce=[0]);const lt=[];for(ce.length>=re.lgSize&<.unshift(ce.splice(-re.lgSize,ce.length).join(""));ce.length>re.gSize;)lt.unshift(ce.splice(-re.gSize,ce.length).join(""));ce.length&<.unshift(ce.join("")),E=lt.join(Ce(V,ee)),Se.length&&(E+=Ce(V,He)+Se.join("")),Ne&&(E+=Ce(V,se.Exponential)+"+"+Ne)}else E=Ce(V,se.Infinity);return E=T<0&&!A?re.negPre+E+re.negSuf:re.posPre+E+re.posSuf,E}function Ni(T,re,V){return ln(T,Qn(We(re,J.Decimal),Ce(re,se.MinusSign)),re,se.Group,se.Decimal,V)}function Qn(T,re="-"){const V={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ee=T.split(et),He=ee[0],At=ee[1],ge=-1!==He.indexOf($e)?He.split($e):[He.substring(0,He.lastIndexOf(yt)+1),He.substring(He.lastIndexOf(yt)+1)],E=ge[0],A=ge[1]||"";V.posPre=E.substring(0,E.indexOf(xe));for(let P=0;P{class T{constructor(V,ee){this._ngEl=V,this._renderer=ee,this.initialClasses=Lt,this.stateMap=new Map}set klass(V){this.initialClasses=null!=V?V.trim().split(qe):Lt}set ngClass(V){this.rawClass="string"==typeof V?V.trim().split(qe):V}ngDoCheck(){for(const ee of this.initialClasses)this._updateState(ee,!0);const V=this.rawClass;if(Array.isArray(V)||V instanceof Set)for(const ee of V)this._updateState(ee,!0);else if(null!=V)for(const ee of Object.keys(V))this._updateState(ee,!!V[ee]);this._applyStateDiff()}_updateState(V,ee){const He=this.stateMap.get(V);void 0!==He?(He.enabled!==ee&&(He.changed=!0,He.enabled=ee),He.touched=!0):this.stateMap.set(V,{enabled:ee,changed:!0,touched:!0})}_applyStateDiff(){for(const V of this.stateMap){const ee=V[0],He=V[1];He.changed?(this._toggleClass(ee,He.enabled),He.changed=!1):He.touched||(He.enabled&&this._toggleClass(ee,!1),this.stateMap.delete(ee)),He.touched=!1}}_toggleClass(V,ee){(V=V.trim()).length>0&&V.split(qe).forEach(He=>{ee?this._renderer.addClass(this._ngEl.nativeElement,He):this._renderer.removeClass(this._ngEl.nativeElement,He)})}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.aKT),s.rXU(s.sFG))};static#t=this.\u0275dir=s.FsC({type:T,selectors:[["","ngClass",""]],inputs:{klass:[s.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return T})(),cn=(()=>{class T{constructor(V){this._viewContainerRef=V,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(V){return void 0!==V.ngComponentOutletNgModule||void 0!==V.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(V){return void 0!==V.ngComponentOutlet||void 0!==V.ngComponentOutletContent||void 0!==V.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(V)}ngOnChanges(V){if(this._needToReCreateComponentInstance(V)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const ee=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(V)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,s.w6W)(this.ngComponentOutletNgModule,an(ee)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(an(ee)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:ee,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const V of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(V,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(V){for(const[ee,He]of this._inputsUsed)He?(V.setInput(ee,this.ngComponentOutletInputs[ee]),this._inputsUsed.set(ee,!1)):(V.setInput(ee,void 0),this._inputsUsed.delete(ee))}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.c1b))};static#t=this.\u0275dir=s.FsC({type:T,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[s.OA$]})}return T})();function an(T){return T.get(s.Vns).injector}class vn{constructor(re,V,ee,He){this.$implicit=re,this.ngForOf=V,this.index=ee,this.count=He}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 Mn=(()=>{class T{set ngForOf(V){this._ngForOf=V,this._ngForOfDirty=!0}set ngForTrackBy(V){this._trackByFn=V}get ngForTrackBy(){return this._trackByFn}constructor(V,ee,He){this._viewContainer=V,this._template=ee,this._differs=He,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(V){V&&(this._template=V)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const V=this._ngForOf;!this._differ&&V&&(this._differ=this._differs.find(V).create(this.ngForTrackBy))}if(this._differ){const V=this._differ.diff(this._ngForOf);V&&this._applyChanges(V)}}_applyChanges(V){const ee=this._viewContainer;V.forEachOperation((He,At,ge)=>{if(null==He.previousIndex)ee.createEmbeddedView(this._template,new vn(He.item,this._ngForOf,-1,-1),null===ge?void 0:ge);else if(null==ge)ee.remove(null===At?void 0:At);else if(null!==At){const E=ee.get(At);ee.move(E,ge),Ai(E,He)}});for(let He=0,At=ee.length;He{Ai(ee.get(He.currentIndex),He)})}static ngTemplateContextGuard(V,ee){return!0}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.c1b),s.rXU(s.C4Q),s.rXU(s._q3))};static#t=this.\u0275dir=s.FsC({type:T,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return T})();function Ai(T,re){T.context.$implicit=re.item}let zn=(()=>{class T{constructor(V,ee){this._viewContainer=V,this._context=new Oi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ee}set ngIf(V){this._context.$implicit=this._context.ngIf=V,this._updateView()}set ngIfThen(V){cs("ngIfThen",V),this._thenTemplateRef=V,this._thenViewRef=null,this._updateView()}set ngIfElse(V){cs("ngIfElse",V),this._elseTemplateRef=V,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(V,ee){return!0}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.c1b),s.rXU(s.C4Q))};static#t=this.\u0275dir=s.FsC({type:T,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return T})();class Oi{constructor(){this.$implicit=null,this.ngIf=null}}function cs(T,re){if(re&&!re.createEmbeddedView)throw new Error(`${T} must be a TemplateRef, but received '${(0,s.Tbb)(re)}'.`)}class oi{constructor(re,V){this._viewContainerRef=re,this._templateRef=V,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(re){re&&!this._created?this.create():!re&&this._created&&this.destroy()}}let jn=(()=>{class T{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(V){this._ngSwitch=V,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(V){this._defaultViews.push(V)}_matchCase(V){const ee=V===this._ngSwitch;return this._lastCasesMatched||=ee,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ee}_updateDefaultCases(V){if(this._defaultViews.length>0&&V!==this._defaultUsed){this._defaultUsed=V;for(const ee of this._defaultViews)ee.enforceState(V)}}static#e=this.\u0275fac=function(ee){return new(ee||T)};static#t=this.\u0275dir=s.FsC({type:T,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return T})(),os=(()=>{class T{constructor(V,ee,He){this.ngSwitch=He,He._addCase(),this._view=new oi(V,ee)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.c1b),s.rXU(s.C4Q),s.rXU(jn,9))};static#t=this.\u0275dir=s.FsC({type:T,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return T})(),Ae=(()=>{class T{constructor(V,ee,He){He._addDefault(new oi(V,ee))}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.c1b),s.rXU(s.C4Q),s.rXU(jn,9))};static#t=this.\u0275dir=s.FsC({type:T,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return T})(),Ke=(()=>{class T{constructor(V,ee,He){this._ngEl=V,this._differs=ee,this._renderer=He,this._ngStyle=null,this._differ=null}set ngStyle(V){this._ngStyle=V,!this._differ&&V&&(this._differ=this._differs.find(V).create())}ngDoCheck(){if(this._differ){const V=this._differ.diff(this._ngStyle);V&&this._applyChanges(V)}}_setStyle(V,ee){const[He,At]=V.split("."),ge=-1===He.indexOf("-")?void 0:s.czy.DashCase;null!=ee?this._renderer.setStyle(this._ngEl.nativeElement,He,At?`${ee}${At}`:ee,ge):this._renderer.removeStyle(this._ngEl.nativeElement,He,ge)}_applyChanges(V){V.forEachRemovedItem(ee=>this._setStyle(ee.key,null)),V.forEachAddedItem(ee=>this._setStyle(ee.key,ee.currentValue)),V.forEachChangedItem(ee=>this._setStyle(ee.key,ee.currentValue))}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.aKT),s.rXU(s.MKu),s.rXU(s.sFG))};static#t=this.\u0275dir=s.FsC({type:T,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return T})(),Nn=(()=>{class T{constructor(V){this._viewContainerRef=V,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(V){if(this._shouldRecreateView(V)){const ee=this._viewContainerRef;if(this._viewRef&&ee.remove(ee.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const He=this._createContextForwardProxy();this._viewRef=ee.createEmbeddedView(this.ngTemplateOutlet,He,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(V){return!!V.ngTemplateOutlet||!!V.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(V,ee,He)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ee,He),get:(V,ee,He)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ee,He)}})}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.c1b))};static#t=this.\u0275dir=s.FsC({type:T,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.OA$]})}return T})();function rn(T,re){return new s.wOt(2100,!1)}class Yi{createSubscription(re,V){return(0,s.O8t)(()=>re.subscribe({next:V,error:ee=>{throw ee}}))}dispose(re){(0,s.O8t)(()=>re.unsubscribe())}}class wo{createSubscription(re,V){return re.then(V,ee=>{throw ee})}dispose(re){}}const ra=new wo,oa=new Yi;let vi=(()=>{class T{constructor(V){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=V}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(V){if(!this._obj){if(V)try{this.markForCheckOnValueUpdate=!1,this._subscribe(V)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return V!==this._obj?(this._dispose(),this.transform(V)):this._latestValue}_subscribe(V){this._obj=V,this._strategy=this._selectStrategy(V),this._subscription=this._strategy.createSubscription(V,ee=>this._updateLatestValue(V,ee))}_selectStrategy(V){if((0,s.jNT)(V))return ra;if((0,s.zjR)(V))return oa;throw rn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(V,ee){V===this._obj&&(this._latestValue=ee,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.gRc,16))};static#t=this.\u0275pipe=s.EJ8({name:"async",type:T,pure:!1,standalone:!0})}return T})(),pr=(()=>{class T{transform(V){if(null==V)return null;if("string"!=typeof V)throw rn();return V.toLowerCase()}static#e=this.\u0275fac=function(ee){return new(ee||T)};static#t=this.\u0275pipe=s.EJ8({name:"lowercase",type:T,pure:!0,standalone:!0})}return T})(),Ps=(()=>{class T{transform(V){if(null==V)return null;if("string"!=typeof V)throw rn();return V.toUpperCase()}static#e=this.\u0275fac=function(ee){return new(ee||T)};static#t=this.\u0275pipe=s.EJ8({name:"uppercase",type:T,pure:!0,standalone:!0})}return T})();const cr=new s.nKC(""),qs=new s.nKC("");let Fr=(()=>{class T{constructor(V,ee,He){this.locale=V,this.defaultTimezone=ee,this.defaultOptions=He}transform(V,ee,He,At){if(null==V||""===V||V!=V)return null;try{return Qt(V,ee??this.defaultOptions?.dateFormat??"mediumDate",At||this.locale,He??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ge){throw rn()}}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.xe9,16),s.rXU(cr,24),s.rXU(qs,24))};static#t=this.\u0275pipe=s.EJ8({name:"date",type:T,pure:!0,standalone:!0})}return T})(),Sr=(()=>{class T{transform(V){return JSON.stringify(V,null,2)}static#e=this.\u0275fac=function(ee){return new(ee||T)};static#t=this.\u0275pipe=s.EJ8({name:"json",type:T,pure:!1,standalone:!0})}return T})(),Ys=(()=>{class T{constructor(V){this.differs=V,this.keyValues=[],this.compareFn=er}transform(V,ee=er){if(!V||!(V instanceof Map)&&"object"!=typeof V)return null;this.differ??=this.differs.find(V).create();const He=this.differ.diff(V),At=ee!==this.compareFn;return He&&(this.keyValues=[],He.forEachItem(ge=>{this.keyValues.push(function aa(T,re){return{key:T,value:re}}(ge.key,ge.currentValue))})),(He||At)&&(this.keyValues.sort(ee),this.compareFn=ee),this.keyValues}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.MKu,16))};static#t=this.\u0275pipe=s.EJ8({name:"keyvalue",type:T,pure:!1,standalone:!0})}return T})();function er(T,re){const V=T.key,ee=re.key;if(V===ee)return 0;if(void 0===V)return 1;if(void 0===ee)return-1;if(null===V)return 1;if(null===ee)return-1;if("string"==typeof V&&"string"==typeof ee)return V{class T{constructor(V){this._locale=V}transform(V,ee,He){if(!Br(V))return null;He||=this._locale;try{return Ni(ei(V),He,ee)}catch(At){throw rn()}}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.xe9,16))};static#t=this.\u0275pipe=s.EJ8({name:"number",type:T,pure:!0,standalone:!0})}return T})(),ls=(()=>{class T{constructor(V,ee="USD"){this._locale=V,this._defaultCurrencyCode=ee}transform(V,ee=this._defaultCurrencyCode,He="symbol",At,ge){if(!Br(V))return null;ge||=this._locale,"boolean"==typeof He&&(He=He?"symbol":"code");let E=ee||this._defaultCurrencyCode;"code"!==He&&(E="symbol"===He||"symbol-narrow"===He?function Pt(T,re,V="en"){const ee=function Kt(T){return(0,s.H5H)(T)[s.KH2.Currencies]}(V)[T]||W[T]||[],He=ee[1];return"narrow"===re&&"string"==typeof He?He:ee[0]||T}(E,"symbol"===He?"wide":"narrow",ge):He);try{return function kn(T,re,V,ee,He){const ge=Qn(We(re,J.Currency),Ce(re,se.MinusSign));return ge.minFrac=function dt(T){let re;const V=W[T];return V&&(re=V[2]),"number"==typeof re?re:2}(ee),ge.maxFrac=ge.minFrac,ln(T,ge,re,se.CurrencyGroup,se.CurrencyDecimal,He).replace("\xa4",V).replace("\xa4","").trim()}(ei(V),ge,E,ee,At)}catch(A){throw rn()}}static#e=this.\u0275fac=function(ee){return new(ee||T)(s.rXU(s.xe9,16),s.rXU(s.Ocv,16))};static#t=this.\u0275pipe=s.EJ8({name:"currency",type:T,pure:!0,standalone:!0})}return T})();function Br(T){return!(null==T||""===T||T!=T)}function ei(T){if("string"==typeof T&&!isNaN(Number(T)-parseFloat(T)))return Number(T);if("number"!=typeof T)throw new Error(`${T} is not a number`);return T}let Qr=(()=>{class T{static#e=this.\u0275fac=function(ee){return new(ee||T)};static#t=this.\u0275mod=s.$C({type:T});static#n=this.\u0275inj=s.G2t({})}return T})();const Xi="browser",zr="server";function Xs(T){return T===Xi}function Lo(T){return T===zr}let uo=(()=>{class T{static#e=this.\u0275prov=(0,s.jDH)({token:T,providedIn:"root",factory:()=>Xs((0,s.WQX)(s.Agw))?new Os((0,s.WQX)(w),window):new ca})}return T})();class Os{constructor(re,V){this.document=re,this.window=V,this.offset=()=>[0,0]}setOffset(re){this.offset=Array.isArray(re)?()=>re:re}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(re){this.window.scrollTo(re[0],re[1])}scrollToAnchor(re){const V=function ur(T,re){const V=T.getElementById(re)||T.getElementsByName(re)[0];if(V)return V;if("function"==typeof T.createTreeWalker&&T.body&&"function"==typeof T.body.attachShadow){const ee=T.createTreeWalker(T.body,NodeFilter.SHOW_ELEMENT);let He=ee.currentNode;for(;He;){const At=He.shadowRoot;if(At){const ge=At.getElementById(re)||At.querySelector(`[name="${re}"]`);if(ge)return ge}He=ee.nextNode()}}return null}(this.document,re);V&&(this.scrollToElement(V),V.focus())}setHistoryScrollRestoration(re){this.window.history.scrollRestoration=re}scrollToElement(re){const V=re.getBoundingClientRect(),ee=V.left+this.window.pageXOffset,He=V.top+this.window.pageYOffset,At=this.offset();this.window.scrollTo(ee-At[0],He-At[1])}}class ca{setOffset(re){}getScrollPosition(){return[0,0]}scrollToPosition(re){}scrollToAnchor(re){}setHistoryScrollRestoration(re){}}class xo{}},21626:(Be,K,l)=>{"use strict";l.d(K,{Lr:()=>Y,Nl:()=>Pe,Qq:()=>Ve,_y:()=>J,a7:()=>Wn,cS:()=>Ot,q1:()=>et,rx:()=>W,yz:()=>mt}),l(10467);var h=l(54438),e=l(7673),u=l(71985),m=l(22806),C=l(70274),w=l(5964),M=l(96354),b=l(70980),R=l(25558),L=l(60177);class x{}class B{}class Y{constructor(Ze){this.normalizedNames=new Map,this.lazyUpdate=null,Ze?"string"==typeof Ze?this.lazyInit=()=>{this.headers=new Map,Ze.split("\n").forEach(qe=>{const Lt=qe.indexOf(":");if(Lt>0){const bt=qe.slice(0,Lt),cn=bt.toLowerCase(),an=qe.slice(Lt+1).trim();this.maybeSetNormalizedName(bt,cn),this.headers.has(cn)?this.headers.get(cn).push(an):this.headers.set(cn,[an])}})}:typeof Headers<"u"&&Ze instanceof Headers?(this.headers=new Map,Ze.forEach((qe,Lt)=>{this.setHeaderEntries(Lt,qe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ze).forEach(([qe,Lt])=>{this.setHeaderEntries(qe,Lt)})}:this.headers=new Map}has(Ze){return this.init(),this.headers.has(Ze.toLowerCase())}get(Ze){this.init();const qe=this.headers.get(Ze.toLowerCase());return qe&&qe.length>0?qe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ze){return this.init(),this.headers.get(Ze.toLowerCase())||null}append(Ze,qe){return this.clone({name:Ze,value:qe,op:"a"})}set(Ze,qe){return this.clone({name:Ze,value:qe,op:"s"})}delete(Ze,qe){return this.clone({name:Ze,value:qe,op:"d"})}maybeSetNormalizedName(Ze,qe){this.normalizedNames.has(qe)||this.normalizedNames.set(qe,Ze)}init(){this.lazyInit&&(this.lazyInit instanceof Y?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ze=>this.applyUpdate(Ze)),this.lazyUpdate=null))}copyFrom(Ze){Ze.init(),Array.from(Ze.headers.keys()).forEach(qe=>{this.headers.set(qe,Ze.headers.get(qe)),this.normalizedNames.set(qe,Ze.normalizedNames.get(qe))})}clone(Ze){const qe=new Y;return qe.lazyInit=this.lazyInit&&this.lazyInit instanceof Y?this.lazyInit:this,qe.lazyUpdate=(this.lazyUpdate||[]).concat([Ze]),qe}applyUpdate(Ze){const qe=Ze.name.toLowerCase();switch(Ze.op){case"a":case"s":let Lt=Ze.value;if("string"==typeof Lt&&(Lt=[Lt]),0===Lt.length)return;this.maybeSetNormalizedName(Ze.name,qe);const bt=("a"===Ze.op?this.headers.get(qe):void 0)||[];bt.push(...Lt),this.headers.set(qe,bt);break;case"d":const cn=Ze.value;if(cn){let an=this.headers.get(qe);if(!an)return;an=an.filter(vn=>-1===cn.indexOf(vn)),0===an.length?(this.headers.delete(qe),this.normalizedNames.delete(qe)):this.headers.set(qe,an)}else this.headers.delete(qe),this.normalizedNames.delete(qe)}}setHeaderEntries(Ze,qe){const Lt=(Array.isArray(qe)?qe:[qe]).map(cn=>cn.toString()),bt=Ze.toLowerCase();this.headers.set(bt,Lt),this.maybeSetNormalizedName(Ze,bt)}forEach(Ze){this.init(),Array.from(this.normalizedNames.keys()).forEach(qe=>Ze(this.normalizedNames.get(qe),this.headers.get(qe)))}}class ve{encodeKey(Ze){return pe(Ze)}encodeValue(Ze){return pe(Ze)}decodeKey(Ze){return decodeURIComponent(Ze)}decodeValue(Ze){return decodeURIComponent(Ze)}}const H=/%(\d[a-f0-9])/gi,ae={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function pe(be){return encodeURIComponent(be).replace(H,(Ze,qe)=>ae[qe]??Ze)}function de(be){return`${be}`}class Pe{constructor(Ze={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ze.encoder||new ve,Ze.fromString){if(Ze.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function oe(be,Ze){const qe=new Map;return be.length>0&&be.replace(/^\?/,"").split("&").forEach(bt=>{const cn=bt.indexOf("="),[an,vn]=-1==cn?[Ze.decodeKey(bt),""]:[Ze.decodeKey(bt.slice(0,cn)),Ze.decodeValue(bt.slice(cn+1))],Mn=qe.get(an)||[];Mn.push(vn),qe.set(an,Mn)}),qe}(Ze.fromString,this.encoder)}else Ze.fromObject?(this.map=new Map,Object.keys(Ze.fromObject).forEach(qe=>{const Lt=Ze.fromObject[qe],bt=Array.isArray(Lt)?Lt.map(de):[de(Lt)];this.map.set(qe,bt)})):this.map=null}has(Ze){return this.init(),this.map.has(Ze)}get(Ze){this.init();const qe=this.map.get(Ze);return qe?qe[0]:null}getAll(Ze){return this.init(),this.map.get(Ze)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ze,qe){return this.clone({param:Ze,value:qe,op:"a"})}appendAll(Ze){const qe=[];return Object.keys(Ze).forEach(Lt=>{const bt=Ze[Lt];Array.isArray(bt)?bt.forEach(cn=>{qe.push({param:Lt,value:cn,op:"a"})}):qe.push({param:Lt,value:bt,op:"a"})}),this.clone(qe)}set(Ze,qe){return this.clone({param:Ze,value:qe,op:"s"})}delete(Ze,qe){return this.clone({param:Ze,value:qe,op:"d"})}toString(){return this.init(),this.keys().map(Ze=>{const qe=this.encoder.encodeKey(Ze);return this.map.get(Ze).map(Lt=>qe+"="+this.encoder.encodeValue(Lt)).join("&")}).filter(Ze=>""!==Ze).join("&")}clone(Ze){const qe=new Pe({encoder:this.encoder});return qe.cloneFrom=this.cloneFrom||this,qe.updates=(this.updates||[]).concat(Ze),qe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ze=>this.map.set(Ze,this.cloneFrom.map.get(Ze))),this.updates.forEach(Ze=>{switch(Ze.op){case"a":case"s":const qe=("a"===Ze.op?this.map.get(Ze.param):void 0)||[];qe.push(de(Ze.value)),this.map.set(Ze.param,qe);break;case"d":if(void 0===Ze.value){this.map.delete(Ze.param);break}{let Lt=this.map.get(Ze.param)||[];const bt=Lt.indexOf(de(Ze.value));-1!==bt&&Lt.splice(bt,1),Lt.length>0?this.map.set(Ze.param,Lt):this.map.delete(Ze.param)}}}),this.cloneFrom=this.updates=null)}}class W{constructor(Ze){this.defaultValue=Ze}}class J{constructor(){this.map=new Map}set(Ze,qe){return this.map.set(Ze,qe),this}get(Ze){return this.map.has(Ze)||this.map.set(Ze,Ze.defaultValue()),this.map.get(Ze)}delete(Ze){return this.map.delete(Ze),this}has(Ze){return this.map.has(Ze)}keys(){return this.map.keys()}}function q(be){return typeof ArrayBuffer<"u"&&be instanceof ArrayBuffer}function $(be){return typeof Blob<"u"&&be instanceof Blob}function Q(be){return typeof FormData<"u"&&be instanceof FormData}class Ee{constructor(Ze,qe,Lt,bt){let cn;if(this.url=qe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ze.toUpperCase(),function te(be){switch(be){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||bt?(this.body=void 0!==Lt?Lt:null,cn=bt):cn=Lt,cn&&(this.reportProgress=!!cn.reportProgress,this.withCredentials=!!cn.withCredentials,cn.responseType&&(this.responseType=cn.responseType),cn.headers&&(this.headers=cn.headers),cn.context&&(this.context=cn.context),cn.params&&(this.params=cn.params),this.transferCache=cn.transferCache),this.headers??=new Y,this.context??=new J,this.params){const an=this.params.toString();if(0===an.length)this.urlWithParams=qe;else{const vn=qe.indexOf("?");this.urlWithParams=qe+(-1===vn?"?":vnOi.set(cs,Ze.setHeaders[cs]),Ai)),Ze.setParams&&(hi=Object.keys(Ze.setParams).reduce((Oi,cs)=>Oi.set(cs,Ze.setParams[cs]),hi)),new Ee(qe,Lt,an,{params:hi,headers:Ai,context:zn,reportProgress:Mn,responseType:bt,withCredentials:vn,transferCache:cn})}}var me=function(be){return be[be.Sent=0]="Sent",be[be.UploadProgress=1]="UploadProgress",be[be.ResponseHeader=2]="ResponseHeader",be[be.DownloadProgress=3]="DownloadProgress",be[be.Response=4]="Response",be[be.User=5]="User",be}(me||{});class je{constructor(Ze,qe=Oe.Ok,Lt="OK"){this.headers=Ze.headers||new Y,this.status=void 0!==Ze.status?Ze.status:qe,this.statusText=Ze.statusText||Lt,this.url=Ze.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends je{constructor(Ze={}){super(Ze),this.type=me.ResponseHeader}clone(Ze={}){return new Qe({headers:Ze.headers||this.headers,status:void 0!==Ze.status?Ze.status:this.status,statusText:Ze.statusText||this.statusText,url:Ze.url||this.url||void 0})}}class Ot extends je{constructor(Ze={}){super(Ze),this.type=me.Response,this.body=void 0!==Ze.body?Ze.body:null}clone(Ze={}){return new Ot({body:void 0!==Ze.body?Ze.body:this.body,headers:Ze.headers||this.headers,status:void 0!==Ze.status?Ze.status:this.status,statusText:Ze.statusText||this.statusText,url:Ze.url||this.url||void 0})}}class mt extends je{constructor(Ze){super(Ze,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ze.url||"(unknown url)"}`:`Http failure response for ${Ze.url||"(unknown url)"}: ${Ze.status} ${Ze.statusText}`,this.error=Ze.error||null}}var Oe=function(be){return be[be.Continue=100]="Continue",be[be.SwitchingProtocols=101]="SwitchingProtocols",be[be.Processing=102]="Processing",be[be.EarlyHints=103]="EarlyHints",be[be.Ok=200]="Ok",be[be.Created=201]="Created",be[be.Accepted=202]="Accepted",be[be.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",be[be.NoContent=204]="NoContent",be[be.ResetContent=205]="ResetContent",be[be.PartialContent=206]="PartialContent",be[be.MultiStatus=207]="MultiStatus",be[be.AlreadyReported=208]="AlreadyReported",be[be.ImUsed=226]="ImUsed",be[be.MultipleChoices=300]="MultipleChoices",be[be.MovedPermanently=301]="MovedPermanently",be[be.Found=302]="Found",be[be.SeeOther=303]="SeeOther",be[be.NotModified=304]="NotModified",be[be.UseProxy=305]="UseProxy",be[be.Unused=306]="Unused",be[be.TemporaryRedirect=307]="TemporaryRedirect",be[be.PermanentRedirect=308]="PermanentRedirect",be[be.BadRequest=400]="BadRequest",be[be.Unauthorized=401]="Unauthorized",be[be.PaymentRequired=402]="PaymentRequired",be[be.Forbidden=403]="Forbidden",be[be.NotFound=404]="NotFound",be[be.MethodNotAllowed=405]="MethodNotAllowed",be[be.NotAcceptable=406]="NotAcceptable",be[be.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",be[be.RequestTimeout=408]="RequestTimeout",be[be.Conflict=409]="Conflict",be[be.Gone=410]="Gone",be[be.LengthRequired=411]="LengthRequired",be[be.PreconditionFailed=412]="PreconditionFailed",be[be.PayloadTooLarge=413]="PayloadTooLarge",be[be.UriTooLong=414]="UriTooLong",be[be.UnsupportedMediaType=415]="UnsupportedMediaType",be[be.RangeNotSatisfiable=416]="RangeNotSatisfiable",be[be.ExpectationFailed=417]="ExpectationFailed",be[be.ImATeapot=418]="ImATeapot",be[be.MisdirectedRequest=421]="MisdirectedRequest",be[be.UnprocessableEntity=422]="UnprocessableEntity",be[be.Locked=423]="Locked",be[be.FailedDependency=424]="FailedDependency",be[be.TooEarly=425]="TooEarly",be[be.UpgradeRequired=426]="UpgradeRequired",be[be.PreconditionRequired=428]="PreconditionRequired",be[be.TooManyRequests=429]="TooManyRequests",be[be.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",be[be.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",be[be.InternalServerError=500]="InternalServerError",be[be.NotImplemented=501]="NotImplemented",be[be.BadGateway=502]="BadGateway",be[be.ServiceUnavailable=503]="ServiceUnavailable",be[be.GatewayTimeout=504]="GatewayTimeout",be[be.HttpVersionNotSupported=505]="HttpVersionNotSupported",be[be.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",be[be.InsufficientStorage=507]="InsufficientStorage",be[be.LoopDetected=508]="LoopDetected",be[be.NotExtended=510]="NotExtended",be[be.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",be}(Oe||{});function Re(be,Ze){return{body:Ze,headers:be.headers,context:be.context,observe:be.observe,params:be.params,reportProgress:be.reportProgress,responseType:be.responseType,withCredentials:be.withCredentials,transferCache:be.transferCache}}let Ve=(()=>{class be{constructor(qe){this.handler=qe}request(qe,Lt,bt={}){let cn;if(qe instanceof Ee)cn=qe;else{let Mn,Ai;Mn=bt.headers instanceof Y?bt.headers:new Y(bt.headers),bt.params&&(Ai=bt.params instanceof Pe?bt.params:new Pe({fromObject:bt.params})),cn=new Ee(qe,Lt,void 0!==bt.body?bt.body:null,{headers:Mn,context:bt.context,params:Ai,reportProgress:bt.reportProgress,responseType:bt.responseType||"json",withCredentials:bt.withCredentials,transferCache:bt.transferCache})}const an=(0,e.of)(cn).pipe((0,C.H)(Mn=>this.handler.handle(Mn)));if(qe instanceof Ee||"events"===bt.observe)return an;const vn=an.pipe((0,w.p)(Mn=>Mn instanceof Ot));switch(bt.observe||"body"){case"body":switch(cn.responseType){case"arraybuffer":return vn.pipe((0,M.T)(Mn=>{if(null!==Mn.body&&!(Mn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Mn.body}));case"blob":return vn.pipe((0,M.T)(Mn=>{if(null!==Mn.body&&!(Mn.body instanceof Blob))throw new Error("Response is not a Blob.");return Mn.body}));case"text":return vn.pipe((0,M.T)(Mn=>{if(null!==Mn.body&&"string"!=typeof Mn.body)throw new Error("Response is not a string.");return Mn.body}));default:return vn.pipe((0,M.T)(Mn=>Mn.body))}case"response":return vn;default:throw new Error(`Unreachable: unhandled observe type ${bt.observe}}`)}}delete(qe,Lt={}){return this.request("DELETE",qe,Lt)}get(qe,Lt={}){return this.request("GET",qe,Lt)}head(qe,Lt={}){return this.request("HEAD",qe,Lt)}jsonp(qe,Lt){return this.request("JSONP",qe,{params:(new Pe).append(Lt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(qe,Lt={}){return this.request("OPTIONS",qe,Lt)}patch(qe,Lt,bt={}){return this.request("PATCH",qe,Re(bt,Lt))}post(qe,Lt,bt={}){return this.request("POST",qe,Re(bt,Lt))}put(qe,Lt,bt={}){return this.request("PUT",qe,Re(bt,Lt))}static#e=this.\u0275fac=function(Lt){return new(Lt||be)(h.KVO(x))};static#t=this.\u0275prov=h.jDH({token:be,factory:be.\u0275fac})}return be})();function Kt(be,Ze){return Ze(be)}function wt(be,Ze){return(qe,Lt)=>Ze.intercept(qe,{handle:bt=>be(bt,Lt)})}const Wn=new h.nKC(""),pi=new h.nKC(""),Wt=new h.nKC(""),Zt=new h.nKC("");function dn(){let be=null;return(Ze,qe)=>{null===be&&(be=((0,h.WQX)(Wn,{optional:!0})??[]).reduceRight(wt,Kt));const Lt=(0,h.WQX)(h.TgB),bt=Lt.add();return be(Ze,qe).pipe((0,b.j)(()=>Lt.remove(bt)))}}let dt=(()=>{class be extends x{constructor(qe,Lt){super(),this.backend=qe,this.injector=Lt,this.chain=null,this.pendingTasks=(0,h.WQX)(h.TgB);const bt=(0,h.WQX)(Zt,{optional:!0});this.backend=bt??qe}handle(qe){if(null===this.chain){const bt=Array.from(new Set([...this.injector.get(pi),...this.injector.get(Wt,[])]));this.chain=bt.reduceRight((cn,an)=>function tn(be,Ze,qe){return(Lt,bt)=>(0,h.N4e)(qe,()=>Ze(Lt,cn=>be(cn,bt)))}(cn,an,this.injector),Kt)}const Lt=this.pendingTasks.add();return this.chain(qe,bt=>this.backend.handle(bt)).pipe((0,b.j)(()=>this.pendingTasks.remove(Lt)))}static#e=this.\u0275fac=function(Lt){return new(Lt||be)(h.KVO(B),h.KVO(h.uvJ))};static#t=this.\u0275prov=h.jDH({token:be,factory:be.\u0275fac})}return be})();const Li=/^\)\]\}',?\n/;let Ui=(()=>{class be{constructor(qe){this.xhrFactory=qe}handle(qe){if("JSONP"===qe.method)throw new h.wOt(-2800,!1);const Lt=this.xhrFactory;return(Lt.\u0275loadImpl?(0,m.H)(Lt.\u0275loadImpl()):(0,e.of)(null)).pipe((0,R.n)(()=>new u.c(cn=>{const an=Lt.build();if(an.open(qe.method,qe.urlWithParams),qe.withCredentials&&(an.withCredentials=!0),qe.headers.forEach((oi,jn)=>an.setRequestHeader(oi,jn.join(","))),qe.headers.has("Accept")||an.setRequestHeader("Accept","application/json, text/plain, */*"),!qe.headers.has("Content-Type")){const oi=qe.detectContentTypeHeader();null!==oi&&an.setRequestHeader("Content-Type",oi)}if(qe.responseType){const oi=qe.responseType.toLowerCase();an.responseType="json"!==oi?oi:"text"}const vn=qe.serializeBody();let Mn=null;const Ai=()=>{if(null!==Mn)return Mn;const oi=an.statusText||"OK",jn=new Y(an.getAllResponseHeaders()),os=function Rn(be){return"responseURL"in be&&be.responseURL?be.responseURL:/^X-Request-URL:/m.test(be.getAllResponseHeaders())?be.getResponseHeader("X-Request-URL"):null}(an)||qe.url;return Mn=new Qe({headers:jn,status:an.status,statusText:oi,url:os}),Mn},hi=()=>{let{headers:oi,status:jn,statusText:os,url:Ae}=Ai(),Dt=null;jn!==Oe.NoContent&&(Dt=typeof an.response>"u"?an.responseText:an.response),0===jn&&(jn=Dt?Oe.Ok:0);let Te=jn>=200&&jn<300;if("json"===qe.responseType&&"string"==typeof Dt){const Ye=Dt;Dt=Dt.replace(Li,"");try{Dt=""!==Dt?JSON.parse(Dt):null}catch(pn){Dt=Ye,Te&&(Te=!1,Dt={error:pn,text:Dt})}}Te?(cn.next(new Ot({body:Dt,headers:oi,status:jn,statusText:os,url:Ae||void 0})),cn.complete()):cn.error(new mt({error:Dt,headers:oi,status:jn,statusText:os,url:Ae||void 0}))},zn=oi=>{const{url:jn}=Ai(),os=new mt({error:oi,status:an.status||0,statusText:an.statusText||"Unknown Error",url:jn||void 0});cn.error(os)};let Oi=!1;const cs=oi=>{Oi||(cn.next(Ai()),Oi=!0);let jn={type:me.DownloadProgress,loaded:oi.loaded};oi.lengthComputable&&(jn.total=oi.total),"text"===qe.responseType&&an.responseText&&(jn.partialText=an.responseText),cn.next(jn)},Jn=oi=>{let jn={type:me.UploadProgress,loaded:oi.loaded};oi.lengthComputable&&(jn.total=oi.total),cn.next(jn)};return an.addEventListener("load",hi),an.addEventListener("error",zn),an.addEventListener("timeout",zn),an.addEventListener("abort",zn),qe.reportProgress&&(an.addEventListener("progress",cs),null!==vn&&an.upload&&an.upload.addEventListener("progress",Jn)),an.send(vn),cn.next({type:me.Sent}),()=>{an.removeEventListener("error",zn),an.removeEventListener("abort",zn),an.removeEventListener("load",hi),an.removeEventListener("timeout",zn),qe.reportProgress&&(an.removeEventListener("progress",cs),null!==vn&&an.upload&&an.upload.removeEventListener("progress",Jn)),an.readyState!==an.DONE&&an.abort()}})))}static#e=this.\u0275fac=function(Lt){return new(Lt||be)(h.KVO(L.N0))};static#t=this.\u0275prov=h.jDH({token:be,factory:be.\u0275fac})}return be})();const Kn=new h.nKC(""),Hi=new h.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),es=new h.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class ai{}let As=(()=>{class be{constructor(qe,Lt,bt){this.doc=qe,this.platform=Lt,this.cookieName=bt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const qe=this.doc.cookie||"";return qe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,L._b)(qe,this.cookieName),this.lastCookieString=qe),this.lastToken}static#e=this.\u0275fac=function(Lt){return new(Lt||be)(h.KVO(L.qQ),h.KVO(h.Agw),h.KVO(Hi))};static#t=this.\u0275prov=h.jDH({token:be,factory:be.\u0275fac})}return be})();function is(be,Ze){const qe=be.url.toLowerCase();if(!(0,h.WQX)(Kn)||"GET"===be.method||"HEAD"===be.method||qe.startsWith("http://")||qe.startsWith("https://"))return Ze(be);const Lt=(0,h.WQX)(ai).getToken(),bt=(0,h.WQX)(es);return null!=Lt&&!be.headers.has(bt)&&(be=be.clone({headers:be.headers.set(bt,Lt)})),Ze(be)}var Et=function(be){return be[be.Interceptors=0]="Interceptors",be[be.LegacyInterceptors=1]="LegacyInterceptors",be[be.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",be[be.NoXsrfProtection=3]="NoXsrfProtection",be[be.JsonpSupport=4]="JsonpSupport",be[be.RequestsMadeViaParent=5]="RequestsMadeViaParent",be[be.Fetch=6]="Fetch",be}(Et||{});function ct(...be){const Ze=[Ve,Ui,dt,{provide:x,useExisting:dt},{provide:B,useExisting:Ui},{provide:pi,useValue:is,multi:!0},{provide:Kn,useValue:!0},{provide:ai,useClass:As}];for(const qe of be)Ze.push(...qe.\u0275providers);return(0,h.EmA)(Ze)}const gn=new h.nKC("");function Gn(){return function Fe(be,Ze){return{\u0275kind:be,\u0275providers:Ze}}(Et.LegacyInterceptors,[{provide:gn,useFactory:dn},{provide:pi,useExisting:gn,multi:!0}])}let et=(()=>{class be{static#e=this.\u0275fac=function(Lt){return new(Lt||be)};static#t=this.\u0275mod=h.$C({type:be});static#n=this.\u0275inj=h.G2t({providers:[ct(Gn())]})}return be})()},54438:(Be,K,l)=>{"use strict";function h(t,i){return Object.is(t,i)}l.d(K,{bc$:()=>Nv,iLQ:()=>_A,sZ2:()=>Cg,hnV:()=>oS,Hbi:()=>cM,o8S:()=>Ml,BIS:()=>wv,gRc:()=>ES,Ql9:()=>Pb,OM3:()=>pu,Ocv:()=>Vb,abz:()=>ke,Z63:()=>gr,aKT:()=>yo,uvJ:()=>Qs,zcH:()=>Xa,bkB:()=>fa,$GK:()=>vi,nKC:()=>bt,zZn:()=>Ro,_q3:()=>OA,MKu:()=>RA,xe9:()=>T0,Co$:()=>Om,Vns:()=>Lc,SKi:()=>Zs,Xx1:()=>Xs,Agw:()=>kh,PLl:()=>Dg,rOR:()=>zu,sFG:()=>JC,_9s:()=>L_,czy:()=>ll,WPN:()=>Rc,kdw:()=>Ur,C4Q:()=>uu,NYb:()=>Sb,giA:()=>sS,pJN:()=>Yl,RxE:()=>zR,c1b:()=>Md,gXe:()=>hr,mal:()=>V_,Af3:()=>ua,tdH:()=>eD,L39:()=>kM,EWP:()=>UM,a0P:()=>jM,Ol2:()=>tp,w6W:()=>zD,oH4:()=>gS,QZP:()=>zS,SmG:()=>Yb,Rfq:()=>is,WQX:()=>ei,hFB:()=>lv,naY:()=>Kb,Hps:()=>zf,QuC:()=>Ss,EmA:()=>zo,zw6:()=>xv,CGW:()=>xn,fpN:()=>aM,HJs:()=>KM,N4e:()=>rr,vPA:()=>om,O8t:()=>GM,ebz:()=>MD,dtW:()=>ND,An2:()=>Sd,H3F:()=>JR,H8p:()=>gi,KH2:()=>Yd,TgB:()=>_l,wOt:()=>Pt,WHO:()=>nS,e01:()=>iS,lNU:()=>dn,h9k:()=>Gg,$MX:()=>ad,ZF7:()=>al,Kcf:()=>eE,e5t:()=>sE,UyX:()=>nE,cWb:()=>tE,osQ:()=>iE,H5H:()=>HI,Zy3:()=>Ln,mq5:()=>e1,JZv:()=>Rn,LfX:()=>ss,plB:()=>nc,jNT:()=>pA,zjR:()=>rS,TL$:()=>bv,Tbb:()=>qn,rcV:()=>wa,Vt3:()=>Zf,Mj6:()=>yr,GFd:()=>Am,OA$:()=>eh,Jv_:()=>fR,aNF:()=>pR,R7$:()=>o_,BMQ:()=>pp,HbH:()=>Xe,ZvI:()=>Bn,STu:()=>Zn,AVh:()=>ue,vxM:()=>KO,wni:()=>V1,nv$:()=>Vm,qhs:()=>jm,VBU:()=>en,FsC:()=>Va,jDH:()=>Qn,G2t:()=>xi,$C:()=>ir,EJ8:()=>$r,rXU:()=>ec,nrm:()=>GI,eu8:()=>VI,bVm:()=>_0,qex:()=>g0,k0s:()=>p0,j41:()=>f0,RV6:()=>qO,xGo:()=>Zp,Mr5:()=>$I,KVO:()=>ls,kS0:()=>Yu,QTQ:()=>a_,bIt:()=>YI,lsd:()=>H1,joV:()=>Wp,qSk:()=>$p,XpG:()=>N1,nI1:()=>bR,bMT:()=>MR,i5U:()=>NR,brH:()=>wR,iJd:()=>PR,SdG:()=>P1,NAR:()=>w1,Y8G:()=>_,FS9:()=>zI,Mz_:()=>D0,FCK:()=>JI,lJ4:()=>mR,eq3:()=>vR,l_i:()=>ER,sMw:()=>CR,ziG:()=>DR,s1E:()=>IR,l4e:()=>AR,NyB:()=>K1,mGM:()=>W1,sdS:()=>Y1,Dyx:()=>zO,Z7z:()=>QO,fX1:()=>XO,Vm6:()=>YO,Njj:()=>Up,EBC:()=>Kg,eBV:()=>lh,npT:()=>Vg,f$h:()=>tf,B4B:()=>ef,n$t:()=>$g,Obh:()=>gR,Aen:()=>we,muq:()=>X1,xc7:()=>U,Kam:()=>XI,zvX:()=>WI,DNE:()=>ml,C5r:()=>LR,EFF:()=>sR,JRh:()=>ZI,SpI:()=>I0,Lme:()=>qI,E5c:()=>eA,LHq:()=>tA,DH7:()=>dR,mxI:()=>iA,R50:()=>nA,GBs:()=>$1,wEZ:()=>j1}),l(10467);let e=null,u=!1,m=1;const C=Symbol("SIGNAL");function w(t){const i=e;return e=t,i}const L={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 x(t){if(u)throw new Error("");if(null===e)return;e.consumerOnSignalRead(t);const i=e.nextProducerIndex++;te(e),it.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function pe(t){te(t);for(let i=0;i0}function te(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function q(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function $(t){const i=Object.create(me);i.computation=t;const r=()=>{if(Y(i),x(i),i.value===Ee)throw i.error;return i.value};return r[C]=i,r}const Q=Symbol("UNSET"),se=Symbol("COMPUTING"),Ee=Symbol("ERRORED"),me={...L,value:Q,dirty:!0,error:null,equal:h,producerMustRecompute:t=>t.value===Q||t.value===se,producerRecomputeValue(t){if(t.value===se)throw new Error("Detected cycle in computations.");const i=t.value;t.value=se;const r=H(t);let c;try{c=t.computation()}catch(f){c=Ee,t.error=f}finally{ae(t,r)}i!==Q&&i!==Ee&&c!==Ee&&t.equal(i,c)?t.value=i:(t.value=c,t.version++)}};let Qe=function je(){throw new Error};function Ot(){Qe()}let Oe=null;function ht(t,i){ve()||Ot(),t.equal(t.value,i)||(t.value=i,function ut(t){t.version++,function B(){m++}(),j(t),Oe?.()}(t))}const We={...L,equal:h,value:void 0};const vt=()=>{},Kt={...L,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:vt};var tn=l(21413),Wn=l(18359),pi=l(84412),Wt=l(96354);const dn="https://g.co/ng/security#xss";class Pt extends Error{constructor(i,r){super(Ln(i,r)),this.code=i}}function Ln(t,i){return`NG0${Math.abs(t)}${i?": "+i:""}`}const dt=Symbol("InputSignalNode#UNSET"),fe={...We,transformFn:void 0,applyValueToInputSignal(t,i){ht(t,i)}};function tt(t,i){const r=Object.create(fe);function c(){if(x(r),r.value===dt)throw new Pt(-950,!1);return r.value}return r.value=t,r.transformFn=i?.transform,c[C]=r,c}function nt(t){return{toString:t}.toString()}const Qt="__parameters__";function Un(t,i,r){return nt(()=>{const c=function On(t){return function(...r){if(t){const c=t(...r);for(const f in c)this[f]=c[f]}}}(i);function f(...g){if(this instanceof f)return c.apply(this,g),this;const v=new f(...g);return D.annotation=v,D;function D(y,X,he){const Me=y.hasOwnProperty(Qt)?y[Qt]:Object.defineProperty(y,Qt,{value:[]})[Qt];for(;Me.length<=he;)Me.push(null);return(Me[he]=Me[he]||[]).push(v),y}}return r&&(f.prototype=Object.create(r.prototype)),f.prototype.ngMetadataName=t,f.annotationCls=f,f})}const Rn=globalThis;function Hn(t){for(let i in t)if(t[i]===Hn)return i;throw Error("Could not find renamed property on target object.")}function Hi(t,i){for(const r in i)i.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=i[r])}function qn(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(qn).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const i=t.toString();if(null==i)return""+i;const r=i.indexOf("\n");return-1===r?i:i.substring(0,r)}function es(t,i){return null==t||""===t?null===i?"":i:null==i||""===i?t:t+" "+i}const As=Hn({__forward_ref__:Hn});function is(t){return t.__forward_ref__=is,t.toString=function(){return qn(this())},t}function pt(t){return Et(t)?t():t}function Et(t){return"function"==typeof t&&t.hasOwnProperty(As)&&t.__forward_ref__===is}function Je(t,i,r,c){throw new Error(`ASSERTION ERROR: ${t}`+(null==c?"":` [Expected=> ${r} ${c} ${i} <=Actual]`))}function Qn(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function xi(t){return{providers:t.providers||[],imports:t.imports||[]}}function ji(t){return mi(t,be)||mi(t,qe)}function ss(t){return null!==ji(t)}function mi(t,i){return t.hasOwnProperty(i)?t[i]:null}function rs(t){return t&&(t.hasOwnProperty(Ze)||t.hasOwnProperty(Lt))?t[Ze]:null}const be=Hn({\u0275prov:Hn}),Ze=Hn({\u0275inj:Hn}),qe=Hn({ngInjectableDef:Hn}),Lt=Hn({ngInjectorDef:Hn});class bt{constructor(i,r){this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=Qn({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function oi(t){return t&&!!t.\u0275providers}const jn=Hn({\u0275cmp:Hn}),os=Hn({\u0275dir:Hn}),Ae=Hn({\u0275pipe:Hn}),Dt=Hn({\u0275mod:Hn}),Te=Hn({\u0275fac:Hn}),Ye=Hn({__NG_ELEMENT_ID__:Hn}),pn=Hn({__NG_ENV_ID__:Hn});function Ke(t){return"string"==typeof t?t:null==t?"":String(t)}function Nn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ke(t)}function oa(t,i){throw new Pt(-201,!1)}var vi=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(vi||{});let pr;function Rr(){return pr}function Ji(t){const i=pr;return pr=t,i}function Ps(t,i,r){const c=ji(t);return c&&"root"==c.providedIn?void 0===c.value?c.value=c.factory():c.value:r&vi.Optional?null:void 0!==i?i:void oa()}const qs={},Fr="__NG_DI_FLAG__",lr="ngTempTokenPath",kr=/\n/gm,aa="__source";let Ys;function Ls(t){const i=Ys;return Ys=t,i}function lo(t,i=vi.Default){if(void 0===Ys)throw new Pt(-203,!1);return null===Ys?Ps(t,void 0,i):Ys.get(t,i&vi.Optional?null:void 0,i)}function ls(t,i=vi.Default){return(Rr()||lo)(pt(t),i)}function ei(t,i=vi.Default){return ls(t,tr(i))}function tr(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Po(t){const i=[];for(let r=0;rArray.isArray(r)?ur(r,i):i(r))}function ca(t,i,r){i>=t.length?t.push(r):t.splice(i,0,r)}function xo(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function Mi(t,i,r){let c=xs(t,i);return c>=0?t[1|c]=r:(c=~c,function Bo(t,i,r,c){let f=t.length;if(f==i)t.push(r,c);else if(1===f)t.push(c,t[0]),t[0]=r;else{for(f--,t.push(t[f-1],t[f]);f>i;)t[f]=t[f-2],f--;t[i]=r,t[i+1]=c}}(t,c,i,r)),c}function ho(t,i){const r=xs(t,i);if(r>=0)return t[1|r]}function xs(t,i){return function fo(t,i,r){let c=0,f=t.length>>r;for(;f!==c;){const g=c+(f-c>>1),v=t[g<i?f=g:c=g+1}return~(f<i){v=g-1;break}}}for(;g-1){let g;for(;++fg?"":f[he+1].toLowerCase(),2&c&&X!==Me){if(Fs(c))return!1;v=!0}}}}else{if(!v&&!Fs(c)&&!Fs(y))return!1;if(v&&Fs(y))continue;v=!1,c=y|1&c}}return Fs(c)||v}function Fs(t){return!(1&t)}function lc(t,i,r,c){if(null===i)return-1;let f=0;if(c||!r){let g=!1;for(;f-1)for(r++;r0?'="'+D+'"':"")+"]"}else 8&c?f+="."+v:4&c&&(f+=" "+v);else""!==f&&!Fs(v)&&(i+=Ua(g,f),f=""),c=v,g=g||!Fs(c);r++}return""!==f&&(i+=Ua(g,f)),i}function en(t){return nt(()=>{const i=Vi(t),r={...i,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Vr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||hr.Emulated,styles:t.styles||Di,_:null,schemas:t.schemas||null,tView:null,id:""};on(r);const c=t.dependencies;return r.directiveDefs=Vs(c,!1),r.pipeDefs=Vs(c,!0),r.id=function mr(t){let i=0;const r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const f of r)i=Math.imul(31,i)+f.charCodeAt(0)|0;return i+=2147483648,"c"+i}(r),r})}function Ga(t){return ot(t)||wi(t)}function ti(t){return null!==t}function ir(t){return nt(()=>({type:t.type,bootstrap:t.bootstrap||Di,declarations:t.declarations||Di,imports:t.imports||Di,exports:t.exports||Di,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function mo(t,i){if(null==t)return nr;const r={};for(const c in t)if(t.hasOwnProperty(c)){const f=t[c];let g,v,D=yr.None;Array.isArray(f)?(D=f[0],g=f[1],v=f[2]??g):(g=f,v=f),i?(r[g]=D!==yr.None?[c,D]:c,i[g]=v):r[g]=c}return r}function Va(t){return nt(()=>{const i=Vi(t);return on(i),i})}function $r(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function ot(t){return t[jn]||null}function wi(t){return t[os]||null}function $n(t){return t[Ae]||null}function Ss(t){const i=ot(t)||wi(t)||$n(t);return null!==i&&i.standalone}function In(t,i){const r=t[Dt]||null;if(!r&&!0===i)throw new Error(`Type ${qn(t)} does not have '\u0275mod' property.`);return r}function Vi(t){const i={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputTransforms:null,inputConfig:t.inputs||nr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Di,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mo(t.inputs,i),outputs:mo(t.outputs),debugInfo:null}}function on(t){t.features?.forEach(i=>i(t))}function Vs(t,i){if(!t)return null;const r=i?$n:Ga;return()=>("function"==typeof t?t():t).map(c=>r(c)).filter(ti)}function zo(t){return{\u0275providers:t}}function vo(...t){return{\u0275providers:$s(0,t),\u0275fromNgModule:!0}}function $s(t,...i){const r=[],c=new Set;let f;const g=v=>{r.push(v)};return ur(i,v=>{const D=v;as(D,g,[],c)&&(f||=[],f.push(D))}),void 0!==f&&br(f,g),r}function br(t,i){for(let r=0;r{i(g,c)})}}function as(t,i,r,c){if(!(t=pt(t)))return!1;let f=null,g=rs(t);const v=!g&&ot(t);if(g||v){if(v&&!v.standalone)return!1;f=t}else{const y=t.ngModule;if(g=rs(y),!g)return!1;f=y}const D=c.has(f);if(v){if(D)return!1;if(c.add(f),v.dependencies){const y="function"==typeof v.dependencies?v.dependencies():v.dependencies;for(const X of y)as(X,i,r,c)}}else{if(!g)return!1;{if(null!=g.imports&&!D){let X;c.add(f);try{ur(g.imports,he=>{as(he,i,r,c)&&(X||=[],X.push(he))})}finally{}void 0!==X&&br(X,i)}if(!D){const X=hs(f)||(()=>new f);i({provide:f,useFactory:X,deps:Di},f),i({provide:po,useValue:f,multi:!0},f),i({provide:gr,useValue:()=>ls(f),multi:!0},f)}const y=g.providers;if(null!=y&&!D){const X=t;Ms(y,he=>{i(he,X)})}}}return f!==t&&void 0!==t.providers}function Ms(t,i){for(let r of t)oi(r)&&(r=r.\u0275providers),Array.isArray(r)?Ms(r,i):i(r)}const la=Hn({provide:String,useValue:Hn});function Mr(t){return null!==t&&"object"==typeof t&&la in t}function sr(t){return"function"==typeof t}const gi=new bt(""),Eo={},hc={};let Ws;function hn(){return void 0===Ws&&(Ws=new Gs),Ws}class Qs{}class Nr extends Qs{get destroyed(){return this._destroyed}constructor(i,r,c,f){super(),this.parent=r,this.source=c,this.scopes=f,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Go(i,v=>this.processProvider(v)),this.records.set(ka,zs(void 0,this)),f.has("environment")&&this.records.set(Qs,zs(void 0,this));const g=this.records.get(gi);null!=g&&"string"==typeof g.value&&this.scopes.add(g.value),this.injectorDefTypes=new Set(this.get(po,Di,vi.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const i=w(null);try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const c of r)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),w(i)}}onDestroy(i){return this.assertNotDestroyed(),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){this.assertNotDestroyed();const r=Ls(this),c=Ji(void 0);try{return i()}finally{Ls(r),Ji(c)}}get(i,r=qs,c=vi.Default){if(this.assertNotDestroyed(),i.hasOwnProperty(pn))return i[pn](this);c=tr(c);const g=Ls(this),v=Ji(void 0);try{if(!(c&vi.SkipSelf)){let y=this.records.get(i);if(void 0===y){const X=function li(t){return"function"==typeof t||"object"==typeof t&&t instanceof bt}(i)&&ji(i);y=X&&this.injectableDefInScope(X)?zs(Aa(i),Eo):null,this.records.set(i,y)}if(null!=y)return this.hydrate(i,y)}return(c&vi.Self?hn():this.parent).get(i,r=c&vi.Optional&&r===qs?null:r)}catch(D){if("NullInjectorError"===D.name){if((D[lr]=D[lr]||[]).unshift(qn(i)),g)throw D;return function zr(t,i,r,c){const f=t[lr];throw i[aa]&&f.unshift(i[aa]),t.message=function Xo(t,i,r,c=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let f=qn(i);if(Array.isArray(i))f=i.map(qn).join(" -> ");else if("object"==typeof i){let g=[];for(let v in i)if(i.hasOwnProperty(v)){let D=i[v];g.push(v+":"+("string"==typeof D?JSON.stringify(D):qn(D)))}f=`{${g.join(", ")}}`}return`${r}${c?"("+c+")":""}[${f}]: ${t.replace(kr,"\n ")}`}("\n"+t.message,f,r,c),t.ngTokenPath=f,t[lr]=null,t}(D,i,"R3InjectorError",this.source)}throw D}finally{Ji(v),Ls(g)}}resolveInjectorInitializers(){const i=w(null),r=Ls(this),c=Ji(void 0);try{const g=this.get(gr,Di,vi.Self);for(const v of g)v()}finally{Ls(r),Ji(c),w(i)}}toString(){const i=[],r=this.records;for(const c of r.keys())i.push(qn(c));return`R3Injector[${i.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Pt(205,!1)}processProvider(i){let r=sr(i=pt(i))?i:pt(i&&i.provide);const c=function to(t){return Mr(t)?zs(void 0,t.useValue):zs(wr(t),Eo)}(i);if(!sr(i)&&!0===i.multi){let f=this.records.get(r);f||(f=zs(void 0,Eo,!0),f.factory=()=>Po(f.multi),this.records.set(r,f)),r=i,f.multi.push(i)}this.records.set(r,c)}hydrate(i,r){const c=w(null);try{return r.value===Eo&&(r.value=hc,r.value=r.factory()),"object"==typeof r.value&&r.value&&function Wa(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{w(c)}}injectableDefInScope(i){if(!i.providedIn)return!1;const r=pt(i.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(i){const r=this._onDestroyHooks.indexOf(i);-1!==r&&this._onDestroyHooks.splice(r,1)}}function Aa(t){const i=ji(t),r=null!==i?i.factory:hs(t);if(null!==r)return r;if(t instanceof bt)throw new Pt(204,!1);if(t instanceof Function)return function eo(t){if(t.length>0)throw new Pt(204,!1);const r=function Ki(t){return t&&(t[be]||t[qe])||null}(t);return null!==r?()=>r.factory(t):()=>new t}(t);throw new Pt(204,!1)}function wr(t,i,r){let c;if(sr(t)){const f=pt(t);return hs(f)||Aa(f)}if(Mr(t))c=()=>pt(t.useValue);else if(function qr(t){return!(!t||!t.useFactory)}(t))c=()=>t.useFactory(...Po(t.deps||[]));else if(function uc(t){return!(!t||!t.useExisting)}(t))c=()=>ls(pt(t.useExisting));else{const f=pt(t&&(t.useClass||t.provide));if(!function Oa(t){return!!t.deps}(t))return hs(f)||Aa(f);c=()=>new f(...Po(t.deps))}return c}function zs(t,i,r=!1){return{factory:t,value:i,multi:r?[]:void 0}}function Go(t,i){for(const r of t)Array.isArray(r)?Go(r,i):r&&oi(r)?Go(r.\u0275providers,i):i(r)}function rr(t,i){t instanceof Nr&&t.assertNotDestroyed();const c=Ls(t),f=Ji(void 0);try{return i()}finally{Ls(c),Ji(f)}}function Ra(){return void 0!==Rr()||null!=function er(){return Ys}()}function ua(t){if(!Ra())throw new Pt(-203,!1)}const Ne=0,Se=1,lt=2,Ct=3,It=4,Ft=5,_t=6,jt=7,Bt=8,nn=9,_n=10,Ht=11,qt=12,Cn=13,wn=14,mn=15,Sn=16,Ri=17,ki=18,fs=19,Cs=20,$i=21,gs=22,Qi=23,Yn=25,Co=1,vr=7,Do=9,zi=10;var io=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(io||{});function Er(t){return Array.isArray(t)&&"object"==typeof t[Co]}function Cr(t){return Array.isArray(t)&&!0===t[Co]}function Pl(t){return!!(4&t.flags)}function Ha(t){return t.componentOffset>-1}function jc(t){return!(1&~t.flags)}function Io(t){return!!t.template}function Tu(t){return!!(512&t[lt])}function qd(t){return!(256&~t[lt])}class Kc{constructor(i,r,c){this.previousValue=i,this.currentValue=r,this.firstChange=c}isFirstChange(){return this.firstChange}}function Jo(t,i,r,c){null!==i?i.applyValueToInputSignal(i,c):t[r]=c}function eh(){return Np}function Np(t){return t.type.prototype.ngOnChanges&&(t.setInput=Pp),wp}function wp(){const t=Lp(this),i=t?.current;if(i){const r=t.previous;if(r===nr)t.previous=i;else for(let c in i)r[c]=i[c];t.current=null,this.ngOnChanges(i)}}function Pp(t,i,r,c,f){const g=this.declaredInputs[c],v=Lp(t)||function so(t,i){return t[wu]=i}(t,{previous:nr,current:null}),D=v.current||(v.current={}),y=v.previous,X=y[g];D[g]=new Kc(X&&X.currentValue,r,y===nr),Jo(t,i,f,r)}eh.ngInherit=!0;const wu="__ngSimpleChanges__";function Lp(t){return t[wu]||null}const Ao=function(t,i,r){},nh="svg";let sh=!1;function us(t){for(;Array.isArray(t);)t=t[Ne];return t}function Yc(t,i){return us(i[t])}function Pr(t,i){return us(i[t.index])}function Qc(t,i){return t.data[i]}function Sa(t,i){return t[i]}function Wi(t,i){const r=i[t];return Er(r)?r:r[Ne]}function rh(t){return!(128&~t[lt])}function da(t,i){return null==i?null:t[i]}function mc(t){t[Ri]=0}function vc(t){1024&t[lt]||(t[lt]|=1024,rh(t)&&yi(t))}function ui(t,i){for(;t>0;)i=i[wn],t--;return i}function Pu(t){return!!(9216&t[lt]||t[Qi]?.dirty)}function oh(t){t[_n].changeDetectionScheduler?.notify(1),Pu(t)?yi(t):64&t[lt]&&(function xp(){return sh}()?(t[lt]|=1024,yi(t)):t[_n].changeDetectionScheduler?.notify())}function yi(t){t[_n].changeDetectionScheduler?.notify();let i=Ec(t);for(;null!==i&&!(8192&i[lt])&&(i[lt]|=8192,rh(i));)i=Ec(i)}function kl(t,i){if(!(256&~t[lt]))throw new Pt(911,!1);null===t[$i]&&(t[$i]=[]),t[$i].push(i)}function Lu(t,i){if(null===t[$i])return;const r=t[$i].indexOf(i);-1!==r&&t[$i].splice(r,1)}function Ec(t){const i=t[Ct];return Cr(i)?i[Ct]:i}const _i={lFrame:Vu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Hr(){return _i.bindingsEnabled}function ja(){return null!==_i.skipHydrationRootTNode}function Ut(){return _i.lFrame.lView}function Gi(){return _i.lFrame.tView}function lh(t){return _i.lFrame.contextLView=t,t[Bt]}function Up(t){return _i.lFrame.contextLView=null,t}function ds(){let t=uh();for(;null!==t&&64===t.type;)t=t.parent;return t}function uh(){return _i.lFrame.currentTNode}function jr(t,i){const r=_i.lFrame;r.currentTNode=t,r.isParent=i}function dh(){return _i.lFrame.isParent}function hh(){_i.lFrame.isParent=!1}function Dr(){const t=_i.lFrame;let i=t.bindingRootIndex;return-1===i&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function Zo(){return _i.lFrame.bindingIndex}function qo(){return _i.lFrame.bindingIndex++}function ha(t){const i=_i.lFrame,r=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,r}function ph(t,i){const r=_i.lFrame;r.bindingIndex=r.bindingRootIndex=t,ku(i)}function ku(t){_i.lFrame.currentDirectiveIndex=t}function gh(t){const i=_i.lFrame.currentDirectiveIndex;return-1===i?null:t[i]}function Bu(){return _i.lFrame.currentQueryIndex}function Uu(t){_i.lFrame.currentQueryIndex=t}function _h(t){const i=t[Se];return 2===i.type?i.declTNode:1===i.type?t[Ft]:null}function zc(t,i,r){if(r&vi.SkipSelf){let f=i,g=t;for(;!(f=f.parent,null!==f||r&vi.Host||(f=_h(g),null===f||(g=g[wn],10&f.type))););if(null===f)return!1;i=f,t=g}const c=_i.lFrame=mh();return c.currentTNode=i,c.lView=t,!0}function Gu(t){const i=mh(),r=t[Se];_i.lFrame=i,i.currentTNode=r.firstChild,i.lView=t,i.tView=r,i.contextLView=t,i.bindingIndex=r.bindingStartIndex,i.inI18n=!1}function mh(){const t=_i.lFrame,i=null===t?null:t.child;return null===i?Vu(t):i}function Vu(t){const i={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:t,child:null,inI18n:!1};return null!==t&&(t.child=i),i}function Gl(){const t=_i.lFrame;return _i.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Ds=Gl;function vh(){const t=Gl();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ir(){return _i.lFrame.selectedIndex}function Cc(t){_i.lFrame.selectedIndex=t}function _s(){const t=_i.lFrame;return Qc(t.tView,t.selectedIndex)}function $p(){_i.lFrame.currentNamespace=nh}function Wp(){!function W0(){_i.lFrame.currentNamespace=null}()}let Vl=!0;function Ta(){return Vl}function Oo(t){Vl=t}function $u(t,i){for(let r=i.directiveStart,c=i.directiveEnd;r=c)break}else i[y]<0&&(t[Ri]+=65536),(D>14>16&&(3&t[lt])===i&&(t[lt]+=16384,Dh(D,g)):Dh(D,g)}const Jc=-1;class ba{constructor(i,r,c){this.factory=i,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=c}}function Ah(t){return t!==Jc}function Hl(t){return 32767&t}function jl(t,i){let r=function X0(t){return t>>16}(t),c=i;for(;r>0;)c=c[wn],r--;return c}let Oh=!0;function Wu(t){const i=Oh;return Oh=t,i}const Zc=255,Kp=5;let z0=0;const Vo={};function Hu(t,i){const r=Rh(t,i);if(-1!==r)return r;const c=i[Se];c.firstCreatePass&&(t.injectorIndex=i.length,Ka(c.data,t),Ka(i,null),Ka(c.blueprint,null));const f=ju(t,i),g=t.injectorIndex;if(Ah(f)){const v=Hl(f),D=jl(f,i),y=D[Se].data;for(let X=0;X<8;X++)i[g+X]=D[v+X]|y[v+X]}return i[g+8]=f,g}function Ka(t,i){t.push(0,0,0,0,0,0,0,0,i)}function Rh(t,i){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===i[t.injectorIndex+8]?-1:t.injectorIndex}function ju(t,i){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let r=0,c=null,f=i;for(;null!==f;){if(c=nl(f),null===c)return Jc;if(r++,f=f[wn],-1!==c.injectorIndex)return c.injectorIndex|r<<16}return Jc}function Sh(t,i,r){!function Yp(t,i,r){let c;"string"==typeof r?c=r.charCodeAt(0)||0:r.hasOwnProperty(Ye)&&(c=r[Ye]),null==c&&(c=r[Ye]=z0++);const f=c&Zc;i.data[t+(f>>Kp)]|=1<=0?i&Zc:yh:i}(r);if("function"==typeof g){if(!zc(i,t,c))return c&vi.Host?Xp(f,0,c):Ku(i,r,c,f);try{let v;if(v=g(c),null!=v||c&vi.Optional)return v;oa()}finally{Ds()}}else if("number"==typeof g){let v=null,D=Rh(t,i),y=Jc,X=c&vi.Host?i[mn][Ft]:null;for((-1===D||c&vi.SkipSelf)&&(y=-1===D?ju(t,i):i[D+8],y!==Jc&&q0(c,!1)?(v=i[Se],D=Hl(y),i=jl(y,i)):D=-1);-1!==D;){const he=i[Se];if(Jp(g,D,he.data)){const Me=zp(D,i,r,v,c,X);if(Me!==Vo)return Me}y=i[D+8],y!==Jc&&q0(c,i[Se].data[D+8]===X)&&Jp(g,D,i)?(v=he,D=Hl(y),i=jl(y,i)):D=-1}}return f}function zp(t,i,r,c,f,g){const v=i[Se],D=v.data[t+8],he=qc(D,v,r,null==c?Ha(D)&&Oh:c!=v&&!!(3&D.type),f&vi.Host&&g===D);return null!==he?Ac(i,v,he,D):Vo}function qc(t,i,r,c,f){const g=t.providerIndexes,v=i.data,D=1048575&g,y=t.directiveStart,he=g>>20,at=f?D+he:t.directiveEnd;for(let gt=c?D:D+he;gt=y&&Rt.type===r)return gt}if(f){const gt=v[y];if(gt&&Io(gt)&>.type===r)return y}return null}function Ac(t,i,r,c){let f=t[r];const g=i.data;if(function H0(t){return t instanceof ba}(f)){const v=f;v.resolving&&function Yi(t,i){throw i&&i.join(" > "),new Pt(-200,t)}(Nn(g[r]));const D=Wu(v.canSeeViewProviders);v.resolving=!0;const X=v.injectImpl?Ji(v.injectImpl):null;zc(t,c,vi.Default);try{f=t[r]=v.factory(void 0,g,t,c),i.firstCreatePass&&r>=c.directiveStart&&function Eh(t,i,r){const{ngOnChanges:c,ngOnInit:f,ngDoCheck:g}=i.type.prototype;if(c){const v=Np(i);(r.preOrderHooks??=[]).push(t,v),(r.preOrderCheckHooks??=[]).push(t,v)}f&&(r.preOrderHooks??=[]).push(0-t,f),g&&((r.preOrderHooks??=[]).push(t,g),(r.preOrderCheckHooks??=[]).push(t,g))}(r,g[r],i)}finally{null!==X&&Ji(X),Wu(D),v.resolving=!1,Ds()}}return f}function Jp(t,i,r){return!!(r[i+(t>>Kp)]&1<{const i=t.prototype.constructor,r=i[Te]||Th(i),c=Object.prototype;let f=Object.getPrototypeOf(t.prototype).constructor;for(;f&&f!==c;){const g=f[Te]||Th(f);if(g&&g!==r)return g;f=Object.getPrototypeOf(f)}return g=>new g})}function Th(t){return Et(t)?()=>{const i=Th(pt(t));return i&&i()}:hs(t)}function nl(t){const i=t[Se],r=i.type;return 2===r?i.declTNode:1===r?t[Ft]:null}function Yu(t){return function J0(t,i){if("class"===i)return t.classes;if("style"===i)return t.styles;const r=t.attrs;if(r){const c=r.length;let f=0;for(;f{class t{static#e=this.THROW_IF_NOT_FOUND=qs;static#t=this.NULL=new Gs;static create(r,c){if(Array.isArray(r))return Mh({name:""},c,r,"");{const f=r.name??"";return Mh({name:f},r.parent,r.providers,f)}}static#n=this.\u0275prov=Qn({token:t,providedIn:"any",factory:()=>ls(ka)});static#s=this.__NG_ELEMENT_ID__=-1}return t})();function og(t){return t.ngOriginalError}class Xa{constructor(){this._console=console}handleError(i){const r=this._findOriginalError(i);this._console.error("ERROR",i),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(i){let r=i&&og(i);for(;r&&og(r);)r=og(r);return r||null}}const $o=new bt("",{providedIn:"root",factory:()=>ei(Xa).handleError.bind(void 0)});let ke=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=av;static#t=this.__NG_ENV_ID__=r=>r}return t})();class kt extends ke{constructor(i){super(),this._lView=i}onDestroy(i){return kl(this._lView,i),()=>Lu(this._lView,i)}}function av(){return new kt(Ut())}class So{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=ei(Xa,{optional:!0}),this.destroyRef=ei(ke),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(i){if(this.destroyed)throw new Pt(953,!1);return(this.listeners??=[]).push(i),{unsubscribe:()=>{const r=this.listeners?.indexOf(i);void 0!==r&&-1!==r&&this.listeners?.splice(r,1)}}}emit(i){if(this.destroyed)throw new Pt(953,!1);if(null===this.listeners)return;const r=w(null);try{for(const c of this.listeners)try{c(i)}catch(f){this.errorHandler?.handleError(f)}}finally{w(r)}}}function xn(t){return new So}function ms(t,i){return tt(t,i)}const lv=(ms.required=function cv(t){return tt(dt,t)},ms);function Qu(){return Ma(ds(),Ut())}function Ma(t,i){return new yo(Pr(t,i))}let yo=(()=>{class t{constructor(r){this.nativeElement=r}static#e=this.__NG_ELEMENT_ID__=Qu}return t})();function ag(t){return t instanceof yo?t.nativeElement:t}function wh(t){return i=>{setTimeout(t,void 0,i)}}const fa=class uv extends tn.B{constructor(i=!1){super(),this.destroyRef=void 0,this.__isAsync=i,Ra()&&(this.destroyRef=ei(ke,{optional:!0})??void 0)}emit(i){const r=w(null);try{super.next(i)}finally{w(r)}}subscribe(i,r,c){let f=i,g=r||(()=>null),v=c;if(i&&"object"==typeof i){const y=i;f=y.next?.bind(y),g=y.error?.bind(y),v=y.complete?.bind(y)}this.__isAsync&&(g=wh(g),f&&(f=wh(f)),v&&(v=wh(v)));const D=super.subscribe({next:f,error:g,complete:v});return i instanceof Wn.yU&&i.add(D),D}};function dv(){return this._results[Symbol.iterator]()}class zu{static#e=Symbol.iterator;get changes(){return this._changes??=new fa}constructor(i=!1){this._emitDistinctChangesOnly=i,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 r=zu.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=dv)}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,r){return this._results.reduce(i,r)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,r){this.dirty=!1;const c=Os(i);(this._changesDetected=!function uo(t,i,r){if(t.length!==i.length)return!1;for(let c=0;cMv}),Mv="ng",Dg=new bt(""),kh=new bt("",{providedIn:"platform",factory:()=>"unknown"}),Nv=new bt(""),wv=new bt("",{providedIn:"root",factory:()=>Ja().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function xv(t){return t}function Fv(){const t=new Yl;return"browser"===ei(kh)&&(t.store=function kv(t,i){const r=t.getElementById(i+"-state");if(r?.textContent)try{return JSON.parse(r.textContent)}catch(c){console.warn("Exception while restoring TransferState for app "+i,c)}return{}}(Ja(),ei(Cg))),t}let Yl=(()=>{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Qn({token:t,providedIn:"root",factory:Fv});get(r,c){return void 0!==this.store[r]?this.store[r]:c}set(r,c){this.store[r]=c}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(r,c){this.onSerializeCallbacks[r]=c}toJson(){for(const r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(c){console.warn("Exception in onSerialize callback: ",c)}return JSON.stringify(this.store).replace(/null;function jh(t,i,r=!1){return Ig(t,i,r)}const yg=new bt("",{providedIn:"root",factory:()=>!1});let rd,od;function ol(t){return function Qh(){if(void 0===rd&&(rd=null,Rn.trustedTypes))try{rd=Rn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return rd}()?.createHTML(t)||t}function zh(){if(void 0===od&&(od=null,Rn.trustedTypes))try{od=Rn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return od}function bg(t){return zh()?.createHTML(t)||t}function Ng(t){return zh()?.createScriptURL(t)||t}class Oc{constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${dn})`}}class Xv extends Oc{getTypeName(){return"HTML"}}class Qv extends Oc{getTypeName(){return"Style"}}class zv extends Oc{getTypeName(){return"Script"}}class Jv extends Oc{getTypeName(){return"URL"}}class Zv extends Oc{getTypeName(){return"ResourceURL"}}function wa(t){return t instanceof Oc?t.changingThisBreaksApplicationSecurity:t}function al(t,i){const r=function qv(t){return t instanceof Oc&&t.getTypeName()||null}(t);if(null!=r&&r!==i){if("ResourceURL"===r&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${r} (see ${dn})`)}return r===i}function eE(t){return new Xv(t)}function tE(t){return new Qv(t)}function nE(t){return new zv(t)}function iE(t){return new Jv(t)}function sE(t){return new Zv(t)}class rE{constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{const r=(new window.DOMParser).parseFromString(ol(i),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(i):(r.removeChild(r.firstChild),r)}catch{return null}}}class oE{constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){const r=this.inertDocument.createElement("template");return r.innerHTML=ol(i),r}}const cE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ad(t){return(t=String(t)).match(cE)?t:"unsafe:"+t}function Pa(t){const i={};for(const r of t.split(","))i[r]=!0;return i}function Zl(...t){const i={};for(const r of t)for(const c in r)r.hasOwnProperty(c)&&(i[c]=!0);return i}const Pg=Pa("area,br,col,hr,img,wbr"),Lg=Pa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xg=Pa("rp,rt"),Jh=Zl(Pg,Zl(Lg,Pa("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")),Zl(xg,Pa("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")),Zl(xg,Lg)),Zh=Pa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fg=Zl(Zh,Pa("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,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"),Pa("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")),lE=Pa("script,style,template");class uE{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(i){let r=i.firstChild,c=!0,f=[];for(;r;)if(r.nodeType===Node.ELEMENT_NODE?c=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,c&&r.firstChild)f.push(r),r=fE(r);else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let g=hE(r);if(g){r=g;break}r=f.pop()}return this.buf.join("")}startElement(i){const r=kg(i).toLowerCase();if(!Jh.hasOwnProperty(r))return this.sanitizedSomething=!0,!lE.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const c=i.attributes;for(let f=0;f"),!0}endElement(i){const r=kg(i).toLowerCase();Jh.hasOwnProperty(r)&&!Pg.hasOwnProperty(r)&&(this.buf.push(""))}chars(i){this.buf.push(Ug(i))}}function hE(t){const i=t.nextSibling;if(i&&t!==i.previousSibling)throw Bg(i);return i}function fE(t){const i=t.firstChild;if(i&&function dE(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,i))throw Bg(i);return i}function kg(t){const i=t.nodeName;return"string"==typeof i?i:"FORM"}function Bg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const pE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gE=/([^\#-~ |!])/g;function Ug(t){return t.replace(/&/g,"&").replace(pE,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(gE,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}let cd;function Gg(t,i){let r=null;try{cd=cd||function wg(t){const i=new oE(t);return function aE(){try{return!!(new window.DOMParser).parseFromString(ol(""),"text/html")}catch{return!1}}()?new rE(i):i}(t);let c=i?String(i):"";r=cd.getInertBodyElement(c);let f=5,g=c;do{if(0===f)throw new Error("Failed to sanitize html because the input is unstable");f--,c=g,g=r.innerHTML,r=cd.getInertBodyElement(c)}while(c!==g);return ol((new uE).sanitizeChildren(qh(r)||r))}finally{if(r){const c=qh(r)||r;for(;c.firstChild;)c.removeChild(c.firstChild)}}}function qh(t){return"content"in t&&function _E(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Rc=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Rc||{});function Vg(t){const i=ql();return i?bg(i.sanitize(Rc.HTML,t)||""):al(t,"HTML")?bg(wa(t)):Gg(Ja(),Ke(t))}function ef(t){const i=ql();return i?i.sanitize(Rc.URL,t)||"":al(t,"URL")?wa(t):ad(Ke(t))}function tf(t){const i=ql();if(i)return Ng(i.sanitize(Rc.RESOURCE_URL,t)||"");if(al(t,"ResourceURL"))return Ng(wa(t));throw new Pt(904,!1)}function $g(t,i,r){return function DE(t,i){return"src"===i&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===i&&("base"===t||"link"===t)?tf:ef}(i,r)(t)}function ql(){const t=Ut();return t&&t[_n].sanitizer}const IE=/^>|^->||--!>|)/g,OE="\u200b$1\u200b";function af(t){Je("Must never be called in production mode");const r=function ld(t){Je("Must never be called in production mode");const r=t[mn][Bt];return r&&r.constructor?ot(r.constructor):null}(t)?.type?.name;return r?` (used in the '${r}' component template)`:""}function Kg(t){return t.ownerDocument}function Wo(t){return t instanceof Function?t():t}function ta(t){return"browser"===(t??ei(Ro)).get(kh)}var ll=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ll||{});let ul;function ud(t,i){return ul(t,i)}function Js(t,i,r,c,f){if(null!=c){let g,v=!1;Cr(c)?g=c:Er(c)&&(v=!0,c=c[Ne]);const D=us(c);0===t&&null!==r?null==f?Zg(i,r,D):yc(i,r,D,f||null,!0):1===t&&null!==r?yc(i,r,D,f||null,!0):2===t?function iu(t,i,r){const c=pd(t,i);c&&function kE(t,i,r,c){t.removeChild(i,r,c)}(t,c,i,r)}(i,D,v):3===t&&i.destroyNode(D),null!=g&&function GE(t,i,r,c,f){const g=r[vr];g!==us(r)&&Js(i,t,c,g,f);for(let D=zi;Di.replace(AE,OE))}(i))}function hd(t,i,r){return t.createElement(i,r)}function Qg(t,i){i[_n].changeDetectionScheduler?.notify(1),gd(t,i,i[Ht],2,null,null)}function To(t,i){const r=t[Do],c=r.indexOf(i);r.splice(c,1)}function qa(t,i){if(t.length<=zi)return;const r=zi+i,c=t[r];if(c){const f=c[Sn];null!==f&&f!==t&&To(f,c),i>0&&(t[r-1][It]=c[It]);const g=xo(t,zi+i);!function pa(t,i){Qg(t,i),i[Ne]=null,i[Ft]=null}(c[Se],c);const v=g[ki];null!==v&&v.detachView(g[Se]),c[Ct]=null,c[It]=null,c[lt]&=-129}return c}function Ho(t,i){if(!(256&i[lt])){const r=i[Ht];r.destroyNode&&gd(t,i,r,3,null,null),function FE(t){let i=t[qt];if(!i)return Zi(t[Se],t);for(;i;){let r=null;if(Er(i))r=i[qt];else{const c=i[zi];c&&(r=c)}if(!r){for(;i&&!i[It]&&i!==t;)Er(i)&&Zi(i[Se],i),i=i[Ct];null===i&&(i=t),Er(i)&&Zi(i[Se],i),r=i&&i[It]}i=r}}(i)}}function Zi(t,i){if(256&i[lt])return;const r=w(null);try{i[lt]&=-129,i[lt]|=256,i[Qi]&&de(i[Qi]),function Xn(t,i){let r;if(null!=t&&null!=(r=t.destroyHooks))for(let c=0;c=0?c[v]():c[-v].unsubscribe(),g+=2}else r[g].call(c[r[g+1]]);null!==c&&(i[jt]=null);const f=i[$i];if(null!==f){i[$i]=null;for(let g=0;g-1){const{encapsulation:g}=t.data[c.directiveStart+f];if(g===hr.None||g===hr.Emulated)return null}return Pr(c,r)}}(t,i.parent,r)}function yc(t,i,r,c,f){t.insertBefore(i,r,c,f)}function Zg(t,i,r){t.appendChild(i,r)}function qg(t,i,r,c,f){null!==c?yc(t,i,r,c,f):Zg(t,i,r)}function pd(t,i){return t.parentNode(i)}function e_(t,i,r){return n_(t,i,r)}let cf,n_=function t_(t,i,r){return 40&t.type?Pr(t,r):null};function Kr(t,i,r,c){const f=na(t,c,i),g=i[Ht],D=e_(c.parent||i[Ft],c,i);if(null!=f)if(Array.isArray(r))for(let y=0;yYn&&Mc(t,i,Yn,!1),Ao(v?2:0,f),r(c,f)}finally{Cc(g),Ao(v?3:1,f)}}function gf(t,i,r){if(Pl(i)){const c=w(null);try{const g=i.directiveEnd;for(let v=i.directiveStart;vnull;function d_(t,i,r,c,f){for(let g in i){if(!i.hasOwnProperty(g))continue;const v=i[g];if(void 0===v)continue;c??={};let D,y=yr.None;Array.isArray(v)?(D=v[0],y=v[1]):D=v;let X=g;if(null!==f){if(!f.hasOwnProperty(g))continue;X=f[g]}0===t?h_(c,r,X,D,y):h_(c,r,X,D)}return c}function h_(t,i,r,c,f){let g;t.hasOwnProperty(r)?(g=t[r]).push(i,c):g=t[r]=[i,c],void 0!==f&&g.push(f)}function ao(t,i,r,c,f,g,v,D){const y=Pr(i,r);let he,X=i.inputs;!D&&null!=X&&(he=X[c])?(Af(t,r,he,c,f),Ha(i)&&function qE(t,i){const r=Wi(i,t);16&r[lt]||(r[lt]|=64)}(r,i.index)):3&i.type&&(c=function ZE(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(c),f=null!=v?v(f,i.value||"",c):f,g.setProperty(y,c,f))}function Ef(t,i,r,c){if(Hr()){const f=null===c?null:{"":-1},g=function rC(t,i){const r=t.directiveRegistry;let c=null,f=null;if(r)for(let g=0;g0;){const r=t[--i];if("number"==typeof r&&r<0)return r}return 0})(v)!=D&&v.push(D),v.push(r,c,g)}}(t,i,c,ru(t,r,f.hostVars,Ii),f)}function _a(t,i,r,c,f,g){const v=Pr(t,i);!function Df(t,i,r,c,f,g,v){if(null==g)t.removeAttribute(i,f,r);else{const D=null==v?Ke(g):v(g,c||"",f);t.setAttribute(i,f,D,r)}}(i[Ht],v,g,t.value,r,c,f)}function dC(t,i,r,c,f,g){const v=g[i];if(null!==v)for(let D=0;D0&&(r[f-1][It]=i),c{yi(t.lView)},consumerOnSignalRead(){this.lView[Qi]=this}},D_=100;function Cd(t,i=!0,r=0){const c=t[_n],f=c.rendererFactory;f.begin?.();try{!function CC(t,i){Rf(t,i);let r=0;for(;Pu(t);){if(r===D_)throw new Pt(103,!1);r++,Rf(t,1)}}(t,r)}catch(v){throw i&&md(t,v),v}finally{f.end?.(),c.inlineEffectRunner?.flush()}}function DC(t,i,r,c){const f=i[lt];if(!(256&~f))return;i[_n].inlineEffectRunner?.flush(),Gu(i);let v=null,D=null;(function IC(t){return 2!==t.type})(t)&&(D=function _C(t){return t[Qi]??function mC(t){const i=Ed.pop()??Object.create(EC);return i.lView=t,i}(t)}(i),v=H(D));try{mc(i),function fh(t){return _i.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==r&&c_(t,i,r,2,c);const y=!(3&~f);if(y){const Me=t.preOrderCheckHooks;null!==Me&&$l(i,Me,null)}else{const Me=t.preOrderHooks;null!==Me&&Wl(i,Me,0,null),Ch(i,0)}if(function AC(t){for(let i=za(t);null!==i;i=Zu(i)){if(!(i[lt]&io.HasTransplantedViews))continue;const r=i[Do];for(let c=0;c-1&&(qa(i,c),xo(r,c))}this._attachedToViewContainer=!1}Ho(this._lView[Se],this._lView)}onDestroy(i){kl(this._lView,i)}markForCheck(){cu(this._cdRefInjectingView||this._lView)}detach(){this._lView[lt]&=-129}reattach(){oh(this._lView),this._lView[lt]|=128}detectChanges(){this._lView[lt]|=1024,Cd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Pt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Qg(this._lView[Se],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new Pt(902,!1);this._appRef=i,oh(this._lView)}}let uu=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=yC}return t})();const RC=uu,SC=class extends RC{constructor(i,r,c){super(),this._declarationLView=i,this._declarationTContainer=r,this.elementRef=c}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,r){return this.createEmbeddedViewImpl(i,r)}createEmbeddedViewImpl(i,r,c){const f=ou(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:r,dehydratedView:c});return new lu(f)}};function yC(){return Dd(ds(),Ut())}function Dd(t,i){return 4&t.type?new SC(i,t,Ma(t,i)):null}let N_=()=>null;function pl(t,i){return N_(t,i)}class Sd{}class XC{}class w_{}class zC{resolveComponentFactory(i){throw function QC(t){const i=Error(`No component factory found for ${qn(t)}.`);return i.ngComponent=t,i}(i)}}let pu=(()=>{class t{static#e=this.NULL=new zC}return t})();class L_{}let JC=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function ZC(){const t=Ut(),r=Wi(ds().index,t);return(Er(r)?r:t)[Ht]}()}return t})(),qC=(()=>{class t{static#e=this.\u0275prov=Qn({token:t,providedIn:"root",factory:()=>null})}return t})();const wf={};function eD(t,i){if(null!==function M(){return e}())throw new Pt(-602,!1)}const x_=new Set;function ma(t){x_.has(t)||(x_.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function F_(...t){}class Zs{constructor({enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:c=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fa(!1),this.onMicrotaskEmpty=new fa(!1),this.onStable=new fa(!1),this.onError=new fa(!1),typeof Zone>"u")throw new Pt(908,!1);Zone.assertZonePatched();const f=this;f._nesting=0,f._outer=f._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(f._inner=f._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(f._inner=f._inner.fork(Zone.longStackTraceZoneSpec)),f.shouldCoalesceEventChangeDetection=!c&&r,f.shouldCoalesceRunChangeDetection=c,f.lastRequestAnimationFrameId=-1,f.nativeRequestAnimationFrame=function tD(){const t="function"==typeof Rn.requestAnimationFrame;let i=Rn[t?"requestAnimationFrame":"setTimeout"],r=Rn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&i&&r){const c=i[Zone.__symbol__("OriginalDelegate")];c&&(i=c);const f=r[Zone.__symbol__("OriginalDelegate")];f&&(r=f)}return{nativeRequestAnimationFrame:i,nativeCancelAnimationFrame:r}}().nativeRequestAnimationFrame,function sD(t){const i=()=>{!function iD(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Rn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Lf(t),t.isCheckStableRunning=!0,Pf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Lf(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,c,f,g,v,D)=>{if(function U_(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(D))return r.invokeTask(f,g,v,D);try{return xf(t),r.invokeTask(f,g,v,D)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===g.type||t.shouldCoalesceRunChangeDetection)&&i(),k_(t)}},onInvoke:(r,c,f,g,v,D,y)=>{try{return xf(t),r.invoke(f,g,v,D,y)}finally{t.shouldCoalesceRunChangeDetection&&i(),k_(t)}},onHasTask:(r,c,f,g)=>{r.hasTask(f,g),c===f&&("microTask"==g.change?(t._hasPendingMicrotasks=g.microTask,Lf(t),Pf(t)):"macroTask"==g.change&&(t.hasPendingMacrotasks=g.macroTask))},onHandleError:(r,c,f,g)=>(r.handleError(f,g),t.runOutsideAngular(()=>t.onError.emit(g)),!1)})}(f)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Zs.isInAngularZone())throw new Pt(909,!1)}static assertNotInAngularZone(){if(Zs.isInAngularZone())throw new Pt(909,!1)}run(i,r,c){return this._inner.run(i,r,c)}runTask(i,r,c,f){const g=this._inner,v=g.scheduleEventTask("NgZoneEvent: "+f,i,nD,F_,F_);try{return g.runTask(v,r,c)}finally{g.cancelTask(v)}}runGuarded(i,r,c){return this._inner.runGuarded(i,r,c)}runOutsideAngular(i){return this._outer.run(i)}}const nD={};function Pf(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Lf(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function xf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function k_(t){t._nesting--,Pf(t)}class B_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fa,this.onMicrotaskEmpty=new fa,this.onStable=new fa,this.onError=new fa}run(i,r,c){return i.apply(r,c)}runGuarded(i,r,c){return i.apply(r,c)}runOutsideAngular(i){return i()}runTask(i,r,c,f){return i.apply(r,c)}}var wc=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(wc||{});const G_={destroy(){}};function Ff(t,i){const r=i?.injector??ei(Ro);(i?.runOnServer||ta(r))&&r.get(gu).internalCallbacks.push(t)}function V_(t,i){!i&&ua();const r=i?.injector??ei(Ro);if(!ta(r))return G_;ma("NgAfterNextRender");const c=r.get(gu),f=c.handler??=new kf,g=i?.phase??wc.MixedReadWrite,v=()=>{f.unregister(y),D()},D=r.get(ke).onDestroy(v),y=rr(r,()=>new $_(g,()=>{v(),t()}));return f.register(y),{destroy:v}}class $_{constructor(i,r){this.phase=i,this.callbackFn=r,this.zone=ei(Zs),this.errorHandler=ei(Xa,{optional:!0}),ei(Sd,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(i){this.errorHandler?.handleError(i)}}}class kf{constructor(){this.executingCallbacks=!1,this.buckets={[wc.EarlyRead]:new Set,[wc.Write]:new Set,[wc.MixedReadWrite]:new Set,[wc.Read]:new Set},this.deferredCallbacks=new Set}register(i){(this.executingCallbacks?this.deferredCallbacks:this.buckets[i.phase]).add(i)}unregister(i){this.buckets[i.phase].delete(i),this.deferredCallbacks.delete(i)}execute(){this.executingCallbacks=!0;for(const i of Object.values(this.buckets))for(const r of i)r.invoke();this.executingCallbacks=!1;for(const i of this.deferredCallbacks)this.buckets[i.phase].add(i);this.deferredCallbacks.clear()}destroy(){for(const i of Object.values(this.buckets))i.clear();this.deferredCallbacks.clear()}}let gu=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const c of r)c()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Qn({token:t,providedIn:"root",factory:()=>new t})}return t})();function Bf(t){return void 0!==t.ngModule}function nc(t){return!!In(t)}function yd(t){return!!$n(t)}function W_(t){return!!wi(t)}function Pc(t){return!!ot(t)}function cD(t,i){if(Et(t)&&!(t=pt(t)))throw new Error(`Expected forwardRef function, imported from "${Nn(i)}", to return a standalone entity or NgModule but got "${Nn(t)||t}".`);if(null==In(t)){const r=ot(t)||wi(t)||$n(t);if(null==r)throw Bf(t)?new Error(`A module with providers was imported from "${Nn(i)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Nn(t)}" type, imported from "${Nn(i)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!r.standalone)throw new Error(`The "${Nn(t)}" ${function aD(t){return ot(t)?"component":wi(t)?"directive":$n(t)?"pipe":"type"}(t)}, imported from "${Nn(i)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class ic{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const i of this.ngModulesWithSomeUnresolvedDecls){const r=In(i);if(r?.declarations)for(const c of Wo(r.declarations))Pc(c)&&this.ownerNgModule.set(c,i)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(i,r){this.resolveNgModulesDecls();const c=ot(i);if(null===c)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${i}`);if(c.standalone){const f=this.getStandaloneComponentScope(i,r);return f.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...f.compilation.directives,...f.compilation.pipes,...f.compilation.ngModules]}}{if(!this.ownerNgModule.has(i))return{dependencies:[]};const f=this.getNgModuleScope(this.ownerNgModule.get(i));return f.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...f.compilation.directives,...f.compilation.pipes]}}}registerNgModule(i,r){if(!nc(i))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${i}`);this.ngModulesWithSomeUnresolvedDecls.add(i)}clearScopeCacheFor(i){this.ngModulesScopeCache.delete(i),this.standaloneComponentsScopeCache.delete(i)}getNgModuleScope(i){if(this.ngModulesScopeCache.has(i))return this.ngModulesScopeCache.get(i);const r=this.computeNgModuleScope(i);return this.ngModulesScopeCache.set(i,r),r}computeNgModuleScope(i){const r=In(i,!0),c={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const f of Wo(r.imports))if(nc(f)){const g=this.getNgModuleScope(f);xa(g.exported.directives,c.compilation.directives),xa(g.exported.pipes,c.compilation.pipes)}else{if(!Ss(f)){c.compilation.isPoisoned=!0;break}if(W_(f)||Pc(f))c.compilation.directives.add(f);else{if(!yd(f))throw new Pt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");c.compilation.pipes.add(f)}}if(!c.compilation.isPoisoned)for(const f of Wo(r.declarations)){if(nc(f)||Ss(f)){c.compilation.isPoisoned=!0;break}yd(f)?c.compilation.pipes.add(f):c.compilation.directives.add(f)}for(const f of Wo(r.exports))if(nc(f)){const g=this.getNgModuleScope(f);xa(g.exported.directives,c.exported.directives),xa(g.exported.pipes,c.exported.pipes),xa(g.exported.directives,c.compilation.directives),xa(g.exported.pipes,c.compilation.pipes)}else yd(f)?c.exported.pipes.add(f):c.exported.directives.add(f);return c}getStandaloneComponentScope(i,r){if(this.standaloneComponentsScopeCache.has(i))return this.standaloneComponentsScopeCache.get(i);const c=this.computeStandaloneComponentScope(i,r);return this.standaloneComponentsScopeCache.set(i,c),c}computeStandaloneComponentScope(i,r){const c={compilation:{directives:new Set([i]),pipes:new Set,ngModules:new Set}};for(const f of Os(r??[])){const g=pt(f);try{cD(g,i)}catch{return c.compilation.isPoisoned=!0,c}if(nc(g)){c.compilation.ngModules.add(g);const v=this.getNgModuleScope(g);if(v.exported.isPoisoned)return c.compilation.isPoisoned=!0,c;xa(v.exported.directives,c.compilation.directives),xa(v.exported.pipes,c.compilation.pipes)}else if(yd(g))c.compilation.pipes.add(g);else{if(!W_(g)&&!Pc(g))return c.compilation.isPoisoned=!0,c;c.compilation.directives.add(g)}}return c}isOrphanComponent(i){const r=ot(i);return!(!r||r.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(i)))}}function xa(t,i){for(const r of t)i.add(r)}const _u=new ic;function Td(t,i,r){let c=r?t.styles:null,f=r?t.classes:null,g=0;if(null!==i)for(let v=0;v0&&r_(t,r,g.join(" "))}}(gt,Or,Gt,c),void 0!==r&&function _D(t,i,r){const c=t.projection=[];for(let f=0;f{class t{static#e=this.__NG_ELEMENT_ID__=vD}return t})();function vD(){return X_(ds(),Ut())}const ED=Md,K_=class extends ED{constructor(i,r,c){super(),this._lContainer=i,this._hostTNode=r,this._hostLView=c}get element(){return Ma(this._hostTNode,this._hostLView)}get injector(){return new Ns(this._hostTNode,this._hostLView)}get parentInjector(){const i=ju(this._hostTNode,this._hostLView);if(Ah(i)){const r=jl(i,this._hostLView),c=Hl(i);return new Ns(r[Se].data[c+8],r)}return new Ns(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const r=Y_(this._lContainer);return null!==r&&r[i]||null}get length(){return this._lContainer.length-zi}createEmbeddedView(i,r,c){let f,g;"number"==typeof c?f=c:null!=c&&(f=c.index,g=c.injector);const v=pl(this._lContainer,i.ssrId),D=i.createEmbeddedViewImpl(r||{},g,v);return this.insertImpl(D,f,hl(this._hostTNode,v)),D}createComponent(i,r,c,f,g){const v=i&&!function ge(t){return"function"==typeof t}(i);let D;if(v)D=r;else{const Rt=r||{};D=Rt.index,c=Rt.injector,f=Rt.projectableNodes,g=Rt.environmentInjector||Rt.ngModuleRef}const y=v?i:new mu(ot(i)),X=c||this.parentInjector;if(!g&&null==y.ngModule){const Gt=(v?X:this.parentInjector).get(Qs,null);Gt&&(g=Gt)}const he=ot(y.componentType??{}),Me=pl(this._lContainer,he?.id??null),gt=y.create(X,f,Me?.firstChild??null,g);return this.insertImpl(gt.hostView,D,hl(this._hostTNode,Me)),gt}insert(i,r){return this.insertImpl(i,r,!0)}insertImpl(i,r,c){const f=i._lView;if(function kp(t){return Cr(t[Ct])}(f)){const D=this.indexOf(i);if(-1!==D)this.detach(D);else{const y=f[Ct],X=new K_(y,y[Ft],y[Ct]);X.detach(X.indexOf(i))}}const g=this._adjustIndex(r),v=this._lContainer;return ia(v,f,g,c),i.attachToViewContainerRef(),ca(Gf(v),g,i),i}move(i,r){return this.insert(i,r)}indexOf(i){const r=Y_(this._lContainer);return null!==r?r.indexOf(i):-1}remove(i){const r=this._adjustIndex(i,-1),c=qa(this._lContainer,r);c&&(xo(Gf(this._lContainer),r),Ho(c[Se],c))}detach(i){const r=this._adjustIndex(i,-1),c=qa(this._lContainer,r);return c&&null!=xo(Gf(this._lContainer),r)?new lu(c):null}_adjustIndex(i,r=0){return i??this.length+r}};function Y_(t){return t[8]}function Gf(t){return t[8]||(t[8]=[])}function X_(t,i){let r;const c=i[t.index];return Cr(c)?r=c:(r=g_(c,i,null,t),i[t.index]=r,_d(i,r)),Q_(r,i,t,c),new K_(r,t,i)}let Q_=function J_(t,i,r,c){if(t[vr])return;let f;f=8&r.type?us(c):function CD(t,i){const r=t[Ht],c=r.createComment(""),f=Pr(i,t);return yc(r,pd(r,f),c,function BE(t,i){return t.nextSibling(i)}(r,f),!1),c}(i,r),t[vr]=f},Vf=()=>!1;function z_(t,i,r){return Vf(t,i,r)}class $f{constructor(i){this.queryList=i,this.matches=null}clone(){return new $f(this.queryList)}setDirty(){this.queryList.setDirty()}}class Wf{constructor(i=[]){this.queries=i}createEmbeddedView(i){const r=i.queries;if(null!==r){const c=null!==i.contentQueries?i.contentQueries[0]:r.length,f=[];for(let g=0;gi.trim())}(i):i}}class jf{constructor(i=[]){this.queries=i}elementStart(i,r){for(let c=0;c0)c.push(v[D/2]);else{const X=g[D+1],he=i[-y];for(let Me=zi;Me(x(i),i.value);return r[C]=i,r}(t),c=r[C];return i?.equal&&(c.equal=i.equal),r.set=f=>ht(c,f),r.update=f=>function Ce(t,i){ve()||Ot(),ht(t,i(t.value))}(c,f),r.asReadonly=am.bind(r),r}function am(){const t=this[C];if(void 0===t.readonlyFn){const i=()=>this();i[C]=t,t.readonlyFn=i}return t.readonlyFn}function cm(t){return zf(t)&&"function"==typeof t.set}function Jf(t,i){let r;const c=$(()=>{r._dirtyCounter();const f=function Yr(t,i){const r=t._lView,c=t._queryIndex;if(void 0===r||void 0===c||4&r[lt])return i?void 0:Di;const f=Xf(r,c),g=rm(r,c);return f.reset(g,ag),i?f.first:f._changesDetected||void 0===t._flatValue?t._flatValue=f.toArray():t._flatValue}(r,t);if(i&&void 0===f)throw new Pt(-951,!1);return f});return r=c[C],r._dirtyCounter=om(0),r._flatValue=void 0,c}function sa(t,i){return function lm(){return Jf(!0,!1)}()}const MD=(sa.required=function bD(t,i){return function um(){return Jf(!0,!0)}()},sa);function ND(t,i){return function dm(){return Jf(!1,!1)}()}function Zf(t){let i=function Em(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),r=!0;const c=[t];for(;i;){let f;if(Io(t))f=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new Pt(903,!1);f=i.\u0275dir}if(f){if(r){c.push(f);const v=t;v.inputs=wd(t.inputs),v.inputTransforms=wd(t.inputTransforms),v.declaredInputs=wd(t.declaredInputs),v.outputs=wd(t.outputs);const D=f.hostBindings;D&&HD(t,D);const y=f.viewQuery,X=f.contentQueries;if(y&&$D(t,y),X&&WD(t,X),GD(t,f),Hi(t.outputs,f.outputs),Io(f)&&f.data.animation){const he=t.data;he.animation=(he.animation||[]).concat(f.data.animation)}}const g=f.features;if(g)for(let v=0;v=0;c--){const f=t[c];f.hostVars=i+=f.hostVars,f.hostAttrs=G(f.hostAttrs,r=G(r,f.hostAttrs))}}(c)}function GD(t,i){for(const r in i.inputs){if(!i.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;const c=i.inputs[r];if(void 0!==c&&(t.inputs[r]=c,t.declaredInputs[r]=i.declaredInputs[r],null!==i.inputTransforms)){const f=Array.isArray(c)?c[0]:c;if(!i.inputTransforms.hasOwnProperty(f))continue;t.inputTransforms??={},t.inputTransforms[f]=i.inputTransforms[f]}}}function wd(t){return t===nr?{}:t===Di?[]:t}function $D(t,i){const r=t.viewQuery;t.viewQuery=r?(c,f)=>{i(c,f),r(c,f)}:i}function WD(t,i){const r=t.contentQueries;t.contentQueries=r?(c,f,g)=>{i(c,f,g),r(c,f,g)}:i}function HD(t,i){const r=t.hostBindings;t.hostBindings=r?(c,f)=>{i(c,f),r(c,f)}:i}function Am(t){const i=t.inputConfig,r={};for(const c in i)if(i.hasOwnProperty(c)){const f=i[c];Array.isArray(f)&&f[3]&&(r[c]=f[3])}t.inputTransforms=r}class Lc{}class Om{}function zD(t,i){return new qf(t,i??null,[])}class qf extends Lc{constructor(i,r,c){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new H_(this);const f=In(i);this._bootstrapComponents=Wo(f.bootstrap),this._r3Injector=sg(i,r,[{provide:Lc,useValue:this},{provide:pu,useValue:this.componentFactoryResolver},...c],qn(i),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(i)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class ep extends Om{constructor(i){super(),this.moduleType=i}create(i){return new qf(this.moduleType,i,[])}}class Rm extends Lc{constructor(i){super(),this.componentFactoryResolver=new H_(this),this.instance=null;const r=new Nr([...i.providers,{provide:Lc,useValue:this},{provide:pu,useValue:this.componentFactoryResolver}],i.parent||hn(),i.debugName,new Set(["environment"]));this.injector=r,i.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function tp(t,i,r=null){return new Rm({providers:t,parent:i,debugName:r,runEnvironmentInitializers:!0}).injector}let ZD=(()=>{class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(r,c,f,g){if(!this.cachedInjectors.has(r)){const v=f.length>0?tp(f,c,g):null;this.cachedInjectors.set(r,v)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Qn({token:t,providedIn:"environment",factory:()=>new t})}return t})(),_l=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new pi.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(c){return new(c||t)};static#t=this.\u0275prov=Qn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ld(t){return!!np(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function np(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function va(t,i,r){return t[i]=r}function Eu(t,i){return t[i]}function Hs(t,i,r){return!Object.is(t[i],r)&&(t[i]=r,!0)}function xc(t,i,r,c){const f=Hs(t,i,r);return Hs(t,i+1,c)||f}function xd(t,i,r,c,f){const g=xc(t,i,r,c);return Hs(t,i+2,f)||g}function jo(t,i,r,c,f,g){const v=xc(t,i,r,c);return xc(t,i+2,f,g)||v}function ml(t,i,r,c,f,g,v,D){const y=Ut(),X=Gi(),he=t+Yn,Me=X.firstCreatePass?function iI(t,i,r,c,f,g,v,D,y){const X=i.consts,he=dl(i,t,4,v||null,da(X,D));Ef(i,r,he,da(X,y)),$u(i,he);const Me=he.tView=vf(2,he,c,f,g,i.directiveRegistry,i.pipeRegistry,null,i.schemas,X,null);return null!==i.queries&&(i.queries.template(i,he),Me.queries=i.queries.embeddedTView(he)),he}(he,X,y,i,r,c,f,g,v):X.data[he];jr(Me,!1);const at=Sm(X,y,Me,t);Ta()&&Kr(X,y,at,Me),Xt(at,y);const gt=g_(at,y,at,Me);return y[he]=gt,_d(y,gt),z_(gt,Me,y),jc(Me)&&_f(X,y,Me),null!=v&&mf(y,Me,D),ml}let Sm=function ym(t,i,r,c){return Oo(!0),i[Ht].createComment("")};var js=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(js||{});const Tm=0,oI=1;var Ks=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(Ks||{}),Du=function(t){return t[t.Initial=-1]="Initial",t}(Du||{});const vl=0,Fd=1,bm=4,Mm=5;var Nm=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(Nm||{});function Bd(t,i,r){const c=1===t?Mm:bm;null===i[c]&&(i[c]=[]),i[c].push(r)}function ip(t,i){const r=1===t?Mm:bm,c=i[r];if(null!==c){for(const f of c)f();i[r]=null}}function wm(t){ip(1,t),ip(0,t)}function Ud(t){return t+1}function Fc(t,i){return t[Ud(i.index)]}function bo(t,i){const r=Ud(i.index);return t.data[r]}function sp(t,i){return i===Ks.Placeholder?t.placeholderBlockConfig?.[Tm]??null:i===Ks.Loading?t.loadingBlockConfig?.[Tm]??null:null}function Lm(t,i){if(!t||0===t.length)return i;const r=new Set(t);for(const c of i)r.add(c);return t.length===r.size?t:Array.from(r)}const El=new WeakMap;let Cl=null,ap=0;class cp{constructor(){this.callbacks=new Set,this.listener=()=>{for(const i of this.callbacks)i()}}}function sc(t,i,r){const c=r.get(Zs);let f=El.get(t);return Cl=Cl||c.runOutsideAngular(()=>new IntersectionObserver(g=>{for(const v of g)v.isIntersecting&&El.has(v.target)&&c.run(El.get(v.target).listener)})),f||(f=new cp,c.runOutsideAngular(()=>Cl.observe(t)),El.set(t,f),ap++),f.callbacks.add(i),()=>{El.has(t)&&(f.callbacks.delete(i),0===f.callbacks.size&&(Cl?.unobserve(t),El.delete(t),ap--),0===ap&&(Cl?.disconnect(),Cl=null))}}const vI=new bt("");let up=null;function Vm(t,i,r,c,f,g,v,D,y){const X=Ut(),he=Gi(),Me=t+Yn;if(ml(t,null,0,0),he.firstCreatePass){ma("NgDefer");const un={primaryTmplIndex:i,loadingTmplIndex:c??null,placeholderTmplIndex:f??null,errorTmplIndex:g??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:r??null,loadingState:js.NOT_STARTED,loadingPromise:null,providers:null};y?.(he,un,D,v),function cI(t,i,r){const c=Ud(i);t.data[c]=r}(he,Me,un)}const at=ds();z_(X[Me],at,X);const Rt=[null,Du.Initial,null,null,null,null];!function aI(t,i,r){t[Ud(i)]=r}(X,Me,Rt);const Gt=()=>wm(Rt);Bd(0,Rt,()=>Lu(X,Gt)),kl(X,Gt)}function jm(t,i){const r=Ut(),c=ds();(function Il(t,i){rc(Ks.Placeholder,i,t[i.index])})(r,c),function Dl(t,i,r,c,f,g,v){const D=t[nn];Ff(function y(){if(qd(t))return;const X=Fc(t,i),he=X[Fd];if(he!==Du.Initial&&he!==Ks.Placeholder)return;const Me=function hI(t,i,r){return null==r?t:r>=0?ui(r,t):t[i.index][zi]??null}(t,i,c);if(!Me)return void Ff(y,{injector:D});if(qd(Me))return;const at=function fI(t,i){return Yc(Yn+i,t)}(Me,r),gt=f(at,()=>{t!==Me&&Lu(Me,gt),g()},D);t!==Me&&kl(Me,gt),Bd(v,X,gt)},{injector:D})}(r,c,t,i,sc,()=>function Al(t,i){const r=t[Se],c=t[i.index];if(!function lp(t){return t.get(vI,null,{optional:!0})?.behavior!==Nm.Manual&&ta(t)}(t[nn]))return;const g=Fc(t,i),v=bo(r,i);switch(wm(g),v.loadingState){case js.NOT_STARTED:rc(Ks.Loading,i,c),function Wd(t,i,r){const c=i[nn],f=i[Se];if(t.loadingState!==js.NOT_STARTED)return t.loadingPromise??Promise.resolve();const g=Fc(i,r),v=function uI(t,i){return Qc(t,i.primaryTmplIndex+Yn)}(f,t);t.loadingState=js.IN_PROGRESS,ip(1,g);let D=t.dependencyResolverFn;const y=c.get(_l),X=y.add();return D?(t.loadingPromise=Promise.allSettled(D()).then(he=>{let Me=!1;const at=[],gt=[];for(const Rt of he){if("fulfilled"!==Rt.status){Me=!0;break}{const Gt=Rt.value,un=ot(Gt)||wi(Gt);if(un)at.push(un);else{const An=$n(Gt);An&>.push(An)}}}if(t.loadingPromise=null,y.remove(X),Me){if(t.loadingState=js.FAILED,null===t.errorTmplIndex){af(i);const Gt=new Pt(750,!1);md(i,Gt)}}else{t.loadingState=js.COMPLETE;const Rt=v.tView;if(at.length>0){Rt.directiveRegistry=Lm(Rt.directiveRegistry,at);const un=$s(!1,...at.map(An=>An.type));t.providers=un}gt.length>0&&(Rt.pipeRegistry=Lm(Rt.pipeRegistry,gt))}}),t.loadingPromise):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=js.COMPLETE,y.remove(X)}),t.loadingPromise)}(v,t,i),v.loadingState===js.IN_PROGRESS&&Zm(v,i,c);break;case js.IN_PROGRESS:rc(Ks.Loading,i,c),Zm(v,i,c);break;case js.COMPLETE:rc(Ks.Complete,i,c);break;case js.FAILED:rc(Ks.Error,i,c)}}(r,c),0)}function rc(t,i,r,c=!1){const f=r[Ct],g=f[Se];if(qd(f))return;const v=Fc(f,i);if(Jm(v[Fd],t)&&Jm(v[vl]??-1,t)){const y=f[nn],X=bo(g,i),Me=c||!ta(y)||null===function Pm(t){return t.loadingBlockConfig?.[oI]??null}(X)&&null===sp(X,Ks.Loading)&&!sp(X,Ks.Placeholder)?Qm:up;try{Me(t,v,r,i,f)}catch(at){md(f,at)}}}function Qm(t,i,r,c,f){const g=function lI(t,i,r){const f=bo(i[Se],r);switch(t){case Ks.Complete:return f.primaryTmplIndex;case Ks.Loading:return f.loadingTmplIndex;case Ks.Error:return f.errorTmplIndex;case Ks.Placeholder:return f.placeholderTmplIndex;default:return null}}(t,f,c);if(null!==g){i[Fd]=t;const v=f[Se],y=Qc(v,g+Yn),X=0;let he;if(vd(r,X),t===Ks.Complete){const gt=bo(v,c),Rt=gt.providers;if(Rt&&Rt.length>0){const Gt=f[nn],un=function Ym(t){return t instanceof bd&&"function"==typeof t.injector.__ngOutletInjector}(Gt),An=un?Gt:Gt.get(Qs);he=An.get(ZD).getOrCreateInjector(gt,An,Rt,""),un&&(he=function Xm(t,i){return t.injector.__ngOutletInjector(i)}(Gt,he))}}const Me=pl(r,y.tView.ssrId),at=ou(f,y,null,{dehydratedView:Me,injector:he});ia(r,at,X,hl(y,Me)),cu(at)}}function Jm(t,i){return t{t.loadingState===js.COMPLETE?rc(Ks.Complete,i,r):t.loadingState===js.FAILED&&rc(Ks.Error,i,r)})}function pp(t,i,r,c){const f=Ut();return Hs(f,qo(),i)&&(Gi(),_a(_s(),f,t,i,r,c)),pp}function Rl(t,i,r,c){return Hs(t,qo(),r)?i+Ke(r)+c:Ii}function Sl(t,i,r,c,f,g){const D=xc(t,Zo(),r,f);return ha(2),D?i+Ke(r)+c+Ke(f)+g:Ii}function Hd(t,i){return t<<17|i<<2}function ac(t){return t>>17&32767}function gp(t){return 2|t}function Vc(t){return(131068&t)>>2}function _p(t,i){return-131069&t|i<<2}function mp(t){return 1|t}function o0(t,i,r,c){const f=t[r+1],g=null===i;let v=c?ac(f):Vc(f),D=!1;for(;0!==v&&(!1===D||g);){const X=t[v+1];PI(t[v],i)&&(D=!0,t[v+1]=c?mp(X):gp(X)),v=c?ac(X):Vc(X)}D&&(t[r+1]=c?gp(f):mp(f))}function PI(t,i){return null===t||null==i||(Array.isArray(t)?t[1]:t)===i||!(!Array.isArray(t)||"string"!=typeof i)&&xs(t,i)>=0}const or={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function a0(t){return t.substring(or.key,or.keyEnd)}function LI(t){return t.substring(or.value,or.valueEnd)}function c0(t,i){const r=or.textEnd;return r===i?-1:(i=or.keyEnd=function d0(t,i,r){for(;i32;)i++;return i}(t,or.key=i,r),cc(t,i,r))}function l0(t,i){const r=or.textEnd;let c=or.key=cc(t,i,r);return r===c?-1:(c=or.keyEnd=function a(t,i,r){let c;for(;i=65&&(-33&c)<=90||c>=48&&c<=57);)i++;return i}(t,c,r),c=p(t,c,r),c=or.value=cc(t,c,r),c=or.valueEnd=function n(t,i,r){let c=-1,f=-1,g=-1,v=i,D=v;for(;v32&&(D=v),g=f,f=c,c=-33&y}return D}(t,c,r),p(t,c,r))}function u0(t){or.key=0,or.keyEnd=0,or.value=0,or.valueEnd=0,or.textEnd=t.length}function cc(t,i,r){for(;i=0;r=l0(i,r))bi(t,a0(i),LI(i))}function Xe(t){xt(ar,sn,t,!0)}function sn(t,i){for(let r=function xI(t){return u0(t),c0(t,cc(t,0,or.textEnd))}(i);r>=0;r=c0(i,r))Mi(t,a0(i),!0)}function fn(t,i,r,c){const f=Ut(),g=Gi(),v=ha(2);g.firstUpdatePass&&zt(g,t,v,c),i!==Ii&&Hs(f,v,i)&&Ou(g,g.data[Ir()],f,f[Ht],t,f[v+1]=function Fa(t,i){return null==t||""===t||("string"==typeof i?t+=i:"object"==typeof t&&(t=qn(wa(t)))),t}(i,r),c,v)}function xt(t,i,r,c){const f=Gi(),g=ha(2);f.firstUpdatePass&&zt(f,null,g,c);const v=Ut();if(r!==Ii&&Hs(v,g,r)){const D=f.data[Ir()];if(xr(D,c)&&!Dn(f,g)){let y=c?D.classesWithoutHost:D.stylesWithoutHost;null!==y&&(r=es(y,r||"")),N(f,D,v,r,c)}else!function Xr(t,i,r,c,f,g,v,D){f===Ii&&(f=Di);let y=0,X=0,he=0=t.expandoStartIndex}function zt(t,i,r,c){const f=t.data;if(null===f[r+1]){const g=f[Ir()],v=Dn(t,r);xr(g,c)&&null===i&&!v&&(i=!1),i=function ii(t,i,r,c){const f=gh(t);let g=c?i.residualClasses:i.residualStyles;if(null===f)0===(c?i.classBindings:i.styleBindings)&&(r=Vn(r=Bs(null,t,i,r,c),i.attrs,c),g=null);else{const v=i.directiveStylingLast;if(-1===v||t[v]!==f)if(r=Bs(f,t,i,r,c),null===g){let y=function bn(t,i,r){const c=r?i.classBindings:i.styleBindings;if(0!==Vc(c))return t[ac(c)]}(t,i,c);void 0!==y&&Array.isArray(y)&&(y=Bs(null,t,i,y[1],c),y=Vn(y,i.attrs,c),function Fn(t,i,r,c){t[ac(r?i.classBindings:i.styleBindings)]=c}(t,i,c,y))}else g=function Bi(t,i,r){let c;const f=i.directiveEnd;for(let g=1+i.directiveStylingLast;g0)&&(X=!0)):he=r,f)if(0!==y){const at=ac(t[D+1]);t[c+1]=Hd(at,D),0!==at&&(t[at+1]=_p(t[at+1],c)),t[D+1]=function bI(t,i){return 131071&t|i<<17}(t[D+1],c)}else t[c+1]=Hd(D,0),0!==D&&(t[D+1]=_p(t[D+1],c)),D=c;else t[c+1]=Hd(y,0),0===D?D=c:t[y+1]=_p(t[y+1],c),y=c;X&&(t[c+1]=gp(t[c+1])),o0(t,he,c,!0),o0(t,he,c,!1),function wI(t,i,r,c,f){const g=f?t.residualClasses:t.residualStyles;null!=g&&"string"==typeof i&&xs(g,i)>=0&&(r[c+1]=mp(r[c+1]))}(i,he,t,c,g),v=Hd(D,y),g?i.classBindings=v:i.styleBindings=v}(f,g,i,r,v,c)}}function Bs(t,i,r,c,f){let g=null;const v=r.directiveEnd;let D=r.directiveStylingLast;for(-1===D?D=r.directiveStart:D++;D0;){const y=t[f],X=Array.isArray(y),he=X?y[1]:y,Me=null===he;let at=r[f+1];at===Ii&&(at=Me?Di:void 0);let gt=Me?ho(at,c):he===c?at:void 0;if(X&&!Ca(gt)&&(gt=ho(y,c)),Ca(gt)&&(D=gt,v))return D;const Rt=t[f+1];f=v?ac(Rt):Vc(Rt)}if(null!==i){let y=g?i.residualClasses:i.residualStyles;null!=y&&(D=ho(y,c))}return D}function Ca(t){return void 0!==t}function xr(t,i){return!!(t.flags&(i?8:16))}function Bn(t,i,r){xt(Mi,sn,Rl(Ut(),t,i,r),!0)}function Zn(t,i,r,c,f){xt(Mi,sn,Sl(Ut(),t,i,r,c,f),!0)}class kI{destroy(i){}updateValue(i,r){}swap(i,r){const c=Math.min(i,r),f=Math.max(i,r),g=this.detach(f);if(f-c>1){const v=this.detach(c);this.attach(c,g),this.attach(f,v)}else this.attach(c,g)}move(i,r){this.attach(r,this.detach(i))}}function fr(t,i,r,c,f){return t===r&&Object.is(i,c)?1:Object.is(f(t,i),f(r,c))?-1:0}function co(t,i,r,c){return!(void 0===i||!i.has(c)||(t.attach(r,i.get(c)),i.delete(c),0))}function Ru(t,i,r,c,f){if(co(t,i,c,r(c,f)))t.updateValue(c,f);else{const g=t.create(c,f);t.attach(c,g)}}function jd(t,i,r,c){const f=new Set;for(let g=i;g<=r;g++)f.add(c(g,t.at(g)));return f}class jO{constructor(){this.kvMap=new Map,this._vMap=void 0}has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;const r=this.kvMap.get(i);return void 0!==this._vMap&&this._vMap.has(r)?(this.kvMap.set(i,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,r){if(this.kvMap.has(i)){let c=this.kvMap.get(i);void 0===this._vMap&&(this._vMap=new Map);const f=this._vMap;for(;f.has(c);)c=f.get(c);f.set(c,r)}else this.kvMap.set(i,r)}forEach(i){for(let[r,c]of this.kvMap)if(i(c,r),void 0!==this._vMap){const f=this._vMap;for(;f.has(c);)c=f.get(c),i(c,r)}}}function KO(t,i,r){ma("NgControlFlow");const c=Ut(),f=qo(),g=BI(c,Yn+t);if(Hs(c,f,i)){const D=w(null);try{if(vd(g,0),-1!==i){const y=UI(c[Se],Yn+i),X=pl(g,y.tView.ssrId);ia(g,ou(c,y,r,{dehydratedView:X}),0,hl(y,X))}}finally{w(D)}}else{const D=C_(g,0);void 0!==D&&(D[Bt]=r)}}class ey{constructor(i,r,c){this.lContainer=i,this.$implicit=r,this.$index=c}get $count(){return this.lContainer.length-zi}}function YO(t){return t}function XO(t,i){return i}class ty{constructor(i,r,c){this.hasEmptyBlock=i,this.trackByFn=r,this.liveCollection=c}}function QO(t,i,r,c,f,g,v,D,y,X,he,Me,at){ma("NgControlFlow");const gt=void 0!==y,Rt=Ut(),Gt=D?v.bind(Rt[mn][Bt]):v,un=new ty(gt,Gt);Rt[Yn+t]=un,ml(t+1,i,r,c,f,g),gt&&ml(t+2,y,X,he,Me,at)}class ny extends kI{constructor(i,r,c){super(),this.lContainer=i,this.hostLView=r,this.templateTNode=c,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-zi}at(i){return this.getLView(i)[Bt].$implicit}attach(i,r){const c=r[_t];this.needsIndexUpdate||=i!==this.length,ia(this.lContainer,r,i,hl(this.templateTNode,c))}detach(i){return this.needsIndexUpdate||=i!==this.length-1,function iy(t,i){return qa(t,i)}(this.lContainer,i)}create(i,r){const c=pl(this.lContainer,this.templateTNode.tView.ssrId);return ou(this.hostLView,this.templateTNode,new ey(this.lContainer,r,i),{dehydratedView:c})}destroy(i){Ho(i[Se],i)}updateValue(i,r){this.getLView(i)[Bt].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i{t.destroy(D)})}(v,t,g.trackByFn),v.updateIndexes(),g.hasEmptyBlock){const D=qo(),y=0===v.length;if(Hs(c,D,y)){const X=r+2,he=BI(c,X);if(y){const Me=UI(f,X),at=pl(he,Me.tView.ssrId);ia(he,ou(c,Me,void 0,{dehydratedView:at}),0,hl(Me,at))}else vd(he,0)}}}finally{w(i)}}function BI(t,i){return t[i]}function UI(t,i){return Qc(t,i)}function f0(t,i,r,c){const f=Ut(),g=Gi(),v=Yn+t,D=f[Ht],y=g.firstCreatePass?function ry(t,i,r,c,f,g){const v=i.consts,y=dl(i,t,2,c,da(v,f));return Ef(i,r,y,da(v,g)),null!==y.attrs&&Td(y,y.attrs,!1),null!==y.mergedAttrs&&Td(y,y.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,y),y}(v,g,f,i,r,c):g.data[v],X=JO(g,f,y,D,i,t);f[v]=X;const he=jc(y);return jr(y,!0),hf(D,X,y),!function Cu(t){return!(32&~t.flags)}(y)&&Ta()&&Kr(g,f,X,y),0===function Bp(){return _i.lFrame.elementDepthCount}()&&Xt(X,f),function ro(){_i.lFrame.elementDepthCount++}(),he&&(_f(g,f,y),gf(g,y,f)),null!==c&&mf(f,y),f0}function p0(){let t=ds();dh()?hh():(t=t.parent,jr(t,!1));const i=t;(function xu(t){return _i.skipHydrationRootTNode===t})(i)&&function G0(){_i.skipHydrationRootTNode=null}(),function ch(){_i.lFrame.elementDepthCount--}();const r=Gi();return r.firstCreatePass&&($u(r,t),Pl(t)&&r.queries.elementEnd(t)),null!=i.classesWithoutHost&&function K0(t){return!!(8&t.flags)}(i)&&N(r,i,Ut(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function Y0(t){return!!(16&t.flags)}(i)&&N(r,i,Ut(),i.stylesWithoutHost,!1),p0}function GI(t,i,r,c){return f0(t,i,r,c),p0(),GI}let JO=(t,i,r,c,f,g)=>(Oo(!0),hd(c,f,function Ic(){return _i.lFrame.currentNamespace}()));function g0(t,i,r){const c=Ut(),f=Gi(),g=t+Yn,v=f.firstCreatePass?function cy(t,i,r,c,f){const g=i.consts,v=da(g,c),D=dl(i,t,8,"ng-container",v);return null!==v&&Td(D,v,!0),Ef(i,r,D,da(g,f)),null!==i.queries&&i.queries.elementStart(i,D),D}(g,f,c,i,r):f.data[g];jr(v,!0);const D=ZO(f,c,v,t);return c[g]=D,Ta()&&Kr(f,c,D,v),Xt(D,c),jc(v)&&(_f(f,c,v),gf(f,v,c)),null!=r&&mf(c,v),g0}function _0(){let t=ds();const i=Gi();return dh()?hh():(t=t.parent,jr(t,!1)),i.firstCreatePass&&($u(i,t),Pl(t)&&i.queries.elementEnd(t)),_0}function VI(t,i,r){return g0(t,i,r),_0(),VI}let ZO=(t,i,r,c)=>(Oo(!0),nu(i[Ht],""));function qO(){return Ut()}function $I(t,i,r){const c=Ut();return Hs(c,qo(),i)&&ao(Gi(),_s(),c,t,i,c[Ht],r,!0),$I}function WI(t,i,r){const c=Ut();if(Hs(c,qo(),i)){const g=Gi(),v=_s();ao(g,v,c,t,i,E_(gh(g.data),v,c),r,!0)}return WI}const Su=void 0;var hy=["en",[["a","p"],["AM","PM"],Su],[["AM","PM"],Su,Su],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Su,[["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"]],Su,[["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}",Su,"{1} 'at' {0}",Su],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function dy(t){const r=Math.floor(Math.abs(t)),c=t.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===c?1:5}];let Kd={};function HI(t){const i=function fy(t){return t.toLowerCase().replace(/_/g,"-")}(t);let r=t1(i);if(r)return r;const c=i.split("-")[0];if(r=t1(c),r)return r;if("en"===c)return hy;throw new Pt(701,!1)}function e1(t){return HI(t)[Yd.PluralCase]}function t1(t){return t in Kd||(Kd[t]=Rn.ng&&Rn.ng.common&&Rn.ng.common.locales&&Rn.ng.common.locales[t]),Kd[t]}var Yd=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Yd||{});const Xd="en-US";let n1=Xd;function YI(t,i,r,c){const f=Ut(),g=Gi(),v=ds();return QI(g,f,f[Ht],v,t,i,c),YI}function XI(t,i){const r=ds(),c=Ut(),f=Gi();return QI(f,c,E_(gh(f.data),r,c),r,t,i),XI}function QI(t,i,r,c,f,g,v){const D=jc(c),X=t.firstCreatePass&&v_(t),he=i[Bt],Me=m_(i);let at=!0;if(3&c.type||v){const Gt=Pr(c,i),un=v?v(Gt):Gt,An=Me.length,Jt=v?qi=>v(us(qi[c.index])):c.index;let fi=null;if(!v&&D&&(fi=function lT(t,i,r,c){const f=t.cleanup;if(null!=f)for(let g=0;gy?D[y]:null}"string"==typeof v&&(g+=2)}return null}(t,i,f,c.index)),null!==fi)(fi.__ngLastListenerFn__||fi).__ngNextListenerFn__=g,fi.__ngLastListenerFn__=g,at=!1;else{g=M1(c,i,he,g,!1);const qi=r.listen(un,f,g);Me.push(g,qi),X&&X.push(f,Jt,An,An+1)}}else g=M1(c,i,he,g,!1);const gt=c.outputs;let Rt;if(at&&null!==gt&&(Rt=gt[f])){const Gt=Rt.length;if(Gt)for(let un=0;un-1?Wi(t.index,i):i);let y=b1(i,r,c,v),X=g.__ngNextListenerFn__;for(;X;)y=b1(i,r,X,v)&&y,X=X.__ngNextListenerFn__;return f&&!1===y&&v.preventDefault(),y}}function N1(t=1){return function $0(t){return(_i.lFrame.contextLView=ui(t,_i.lFrame.contextLView))[Bt]}(t)}function uT(t,i){let r=null;const c=function Zr(t){const i=t.attrs;if(null!=i){const r=i.indexOf(5);if(!(1&r))return i[r+1]}return null}(t);for(let f=0;fr._dirtyCounter.update(c=>c+1))}(t,nm(i,r,c))}function K1(t=1){Uu(Bu()+t)}function Y1(t){return Sa(function Bl(){return _i.lFrame.contextLView}(),Yn+t)}function X1(t,i,r){we(Rl(Ut(),t,i,r))}function sR(t,i=""){const r=Ut(),c=Gi(),f=t+Yn,g=c.firstCreatePass?dl(c,f,1,i,null):c.data[f],v=rR(c,r,g,i,t);r[f]=v,Ta()&&Kr(c,r,v,g),jr(g,!1)}let rR=(t,i,r,c,f)=>(Oo(!0),function dd(t,i){return t.createText(i)}(i[Ht],c));function ZI(t){return I0("",t,""),ZI}function I0(t,i,r){const c=Ut(),f=Rl(c,t,i,r);return f!==Ii&&La(c,Ir(),f),I0}function qI(t,i,r,c,f){const g=Ut(),v=Sl(g,t,i,r,c,f);return v!==Ii&&La(g,Ir(),v),qI}function eA(t,i,r,c,f,g,v){const D=Ut(),y=function yl(t,i,r,c,f,g,v,D){const X=xd(t,Zo(),r,f,v);return ha(3),X?i+Ke(r)+c+Ke(f)+g+Ke(v)+D:Ii}(D,t,i,r,c,f,g,v);return y!==Ii&&La(D,Ir(),y),eA}function tA(t,i,r,c,f,g,v,D,y){const X=Ut(),he=function Bc(t,i,r,c,f,g,v,D,y,X){const Me=jo(t,Zo(),r,f,v,y);return ha(4),Me?i+Ke(r)+c+Ke(f)+g+Ke(v)+D+Ke(y)+X:Ii}(X,t,i,r,c,f,g,v,D,y);return he!==Ii&&La(X,Ir(),he),tA}function nA(t,i,r){cm(i)&&(i=i());const c=Ut();return Hs(c,qo(),i)&&ao(Gi(),_s(),c,t,i,c[Ht],r,!1),nA}function dR(t,i){const r=cm(t);return r&&t.set(i),r}function iA(t,i){const r=Ut(),c=Gi(),f=ds();return QI(c,r,r[Ht],f,t,i),iA}function sA(t,i,r,c,f){if(t=pt(t),Array.isArray(t))for(let g=0;g>20;if(sr(t)||!t.multi){const gt=new ba(X,f,ec),Rt=oA(y,i,f?he:he+at,Me);-1===Rt?(Sh(Hu(D,v),g,y),rA(g,t,i.length),i.push(y),D.directiveStart++,D.directiveEnd++,f&&(D.providerIndexes+=1048576),r.push(gt),v.push(gt)):(r[Rt]=gt,v[Rt]=gt)}else{const gt=oA(y,i,he+at,Me),Rt=oA(y,i,he,he+at),un=Rt>=0&&r[Rt];if(f&&!un||!f&&!(gt>=0&&r[gt])){Sh(Hu(D,v),g,y);const An=function ST(t,i,r,c,f){const g=new ba(t,r,ec);return g.multi=[],g.index=i,g.componentProviders=0,hR(g,f,c&&!r),g}(f?RT:OT,r.length,f,c,X);!f&&un&&(r[Rt].providerFactory=An),rA(g,t,i.length,0),i.push(y),D.directiveStart++,D.directiveEnd++,f&&(D.providerIndexes+=1048576),r.push(An),v.push(An)}else rA(g,t,gt>-1?gt:Rt,hR(r[f?Rt:gt],X,!f&&c));!f&&c&&un&&r[Rt].componentProviders++}}}function rA(t,i,r,c){const f=sr(i),g=function dc(t){return!!t.useClass}(i);if(f||g){const y=(g?pt(i.useClass):i).prototype.ngOnDestroy;if(y){const X=t.destroyHooks||(t.destroyHooks=[]);if(!f&&i.multi){const he=X.indexOf(r);-1===he?X.push(r,[c,y]):X[he+1].push(c,y)}else X.push(r,y)}}}function hR(t,i,r){return r&&t.componentProviders++,t.multi.push(i)-1}function oA(t,i,r,c){for(let f=r;f{r.providersResolver=(c,f)=>function AT(t,i,r){const c=Gi();if(c.firstCreatePass){const f=Io(t);sA(r,c.data,c.blueprint,f,!0),sA(i,c.data,c.blueprint,f,!1)}}(c,f?f(t):t,i)}}let yT=(()=>{class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const c=$s(0,r.type),f=c.length>0?tp([c],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,f)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Qn({token:t,providedIn:"environment",factory:()=>new t(ls(Qs))})}return t})();function pR(t){ma("NgStandalone"),t.getStandaloneInjector=i=>i.get(yT).getOrCreateStandaloneInjector(t)}function gR(t,i){return nt(()=>{const r=In(t,!0);r.declarations=A0(i.declarations||Di),r.imports=A0(i.imports||Di),r.exports=A0(i.exports||Di),i.bootstrap&&(r.bootstrap=A0(i.bootstrap)),_u.registerNgModule(t,i)})}function A0(t){if("function"==typeof t)return t;const i=Os(t);return i.some(Et)?()=>i.map(pt).map(_R):i.map(_R)}function _R(t){return Bf(t)?t.ngModule:t}function mR(t,i,r){const c=Dr()+t,f=Ut();return f[c]===Ii?va(f,c,r?i.call(r):i()):Eu(f,c)}function vR(t,i,r,c){return OR(Ut(),Dr(),t,i,r,c)}function ER(t,i,r,c,f){return RR(Ut(),Dr(),t,i,r,c,f)}function CR(t,i,r,c,f,g){return SR(Ut(),Dr(),t,i,r,c,f,g)}function DR(t,i,r,c,f,g,v){return function yR(t,i,r,c,f,g,v,D,y){const X=i+r;return jo(t,X,f,g,v,D)?va(t,X+4,y?c.call(y,f,g,v,D):c(f,g,v,D)):Op(t,X+4)}(Ut(),Dr(),t,i,r,c,f,g,v)}function IR(t,i,r,c,f,g,v,D){const y=Dr()+t,X=Ut(),he=jo(X,y,r,c,f,g);return Hs(X,y+4,v)||he?va(X,y+5,D?i.call(D,r,c,f,g,v):i(r,c,f,g,v)):Eu(X,y+5)}function AR(t,i,r,c,f,g,v,D,y){const X=Dr()+t,he=Ut(),Me=jo(he,X,r,c,f,g);return xc(he,X+4,v,D)||Me?va(he,X+6,y?i.call(y,r,c,f,g,v,D):i(r,c,f,g,v,D)):Eu(he,X+6)}function Op(t,i){const r=t[i];return r===Ii?void 0:r}function OR(t,i,r,c,f,g){const v=i+r;return Hs(t,v,f)?va(t,v+1,g?c.call(g,f):c(f)):Op(t,v+1)}function RR(t,i,r,c,f,g,v){const D=i+r;return xc(t,D,f,g)?va(t,D+2,v?c.call(v,f,g):c(f,g)):Op(t,D+2)}function SR(t,i,r,c,f,g,v,D){const y=i+r;return xd(t,y,f,g,v)?va(t,y+3,D?c.call(D,f,g,v):c(f,g,v)):Op(t,y+3)}function bR(t,i){const r=Gi();let c;const f=t+Yn;r.firstCreatePass?(c=function wT(t,i){if(i)for(let r=i.length-1;r>=0;r--){const c=i[r];if(t===c.name)return c}}(i,r.pipeRegistry),r.data[f]=c,c.onDestroy&&(r.destroyHooks??=[]).push(f,c.onDestroy)):c=r.data[f];const g=c.factory||(c.factory=hs(c.type)),D=Ji(ec);try{const y=Wu(!1),X=g();return Wu(y),function hT(t,i,r,c){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),i[r]=c}(r,Ut(),f,X),X}finally{Ji(D)}}function MR(t,i,r){const c=t+Yn,f=Ut(),g=Sa(f,c);return Rp(f,c)?OR(f,Dr(),i,g.transform,r,g):g.transform(r)}function NR(t,i,r,c){const f=t+Yn,g=Ut(),v=Sa(g,f);return Rp(g,f)?RR(g,Dr(),i,v.transform,r,c,v):v.transform(r,c)}function wR(t,i,r,c,f){const g=t+Yn,v=Ut(),D=Sa(v,g);return Rp(v,g)?SR(v,Dr(),i,D.transform,r,c,f,D):D.transform(r,c,f)}function PR(t,i,r){const c=t+Yn,f=Ut(),g=Sa(f,c);return Rp(f,c)?function TR(t,i,r,c,f,g){let v=i+r,D=!1;for(let y=0;y{class t{log(r){console.log(r)}warn(r){console.warn(r)}static#e=this.\u0275fac=function(c){return new(c||t)};static#t=this.\u0275prov=Qn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const nS=new bt(""),iS=new bt("");let fA,Sb=(()=>{class t{constructor(r,c,f){this._ngZone=r,this.registry=c,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,fA||(function yb(t){fA=t}(f),f.addToWindow(c)),this._watchAngularEvents(),r.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:()=>{Zs.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(c=>!c.updateCb||!c.updateCb(r)||(clearTimeout(c.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,c,f){let g=-1;c&&c>0&&(g=setTimeout(()=>{this._callbacks=this._callbacks.filter(v=>v.timeoutId!==g),r()},c)),this._callbacks.push({doneCb:r,timeoutId:g,updateCb:f})}whenStable(r,c,f){if(f&&!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(r,c,f),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,c,f){return[]}static#e=this.\u0275fac=function(c){return new(c||t)(ls(Zs),ls(sS),ls(iS))};static#t=this.\u0275prov=Qn({token:t,factory:t.\u0275fac})}return t})(),sS=(()=>{class t{constructor(){this._applications=new Map}registerApplication(r,c){this._applications.set(r,c)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,c=!0){return fA?.findTestabilityInTree(this,r,c)??null}static#e=this.\u0275fac=function(c){return new(c||t)};static#t=this.\u0275prov=Qn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function pA(t){return!!t&&"function"==typeof t.then}function rS(t){return!!t&&"function"==typeof t.subscribe}const oS=new bt("");let gA=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,c)=>{this.resolve=r,this.reject=c}),this.appInits=ei(oS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const f of this.appInits){const g=f();if(pA(g))r.push(g);else if(rS(g)){const v=new Promise((D,y)=>{g.subscribe({complete:D,error:y})});r.push(v)}}const c=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{c()}).catch(f=>{this.reject(f)}),0===r.length&&c(),this.initialized=!0}static#e=this.\u0275fac=function(c){return new(c||t)};static#t=this.\u0275prov=Qn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const _A=new bt("");function lS(t,i){return Array.isArray(i)?i.reduce(lS,t):{...t,...i}}let Ml=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ei($o),this.afterRenderEffectManager=ei(gu),this.externalTestViews=new Set,this.beforeRender=new tn.B,this.afterTick=new tn.B,this.componentTypes=[],this.components=[],this.isStable=ei(_l).hasPendingTasks.pipe((0,Wt.T)(r=>!r)),this._injector=ei(Qs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,c){const f=r instanceof w_;if(!this._injector.get(gA).done)throw!f&&Ss(r),new Pt(405,!1);let v;v=f?r:this._injector.get(pu).resolveComponentFactory(r),this.componentTypes.push(v.componentType);const D=function Tb(t){return t.isBoundToModule}(v)?void 0:this._injector.get(Lc),X=v.create(Ro.NULL,[],c||v.selector,D),he=X.location.nativeElement,Me=X.injector.get(nS,null);return Me?.registerApplication(he),X.onDestroy(()=>{this.detachView(X.hostView),S0(this.components,X),Me?.unregisterApplication(he)}),this._loadComponent(X),X}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new Pt(101,!1);const c=w(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(f){this.internalErrorHandler(f)}finally{this.afterTick.next(),this._runningTick=!1,w(c)}}detectChangesInAttachedViews(r){let c=0;const f=this.afterRenderEffectManager;for(;;){if(c===D_)throw new Pt(103,!1);if(r){const g=0===c;this.beforeRender.next(g);for(let{_lView:v,notifyErrorHandler:D}of this._views)Mb(v,g,D)}if(c++,f.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:g})=>mA(g))&&(f.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:g})=>mA(g))))break}}attachView(r){const c=r;this._views.push(c),c.attachToAppRef(this)}detachView(r){const c=r;S0(this._views,c),c.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const c=this._injector.get(_A,[]);[...this._bootstrapListeners,...c].forEach(f=>f(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>S0(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new Pt(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(c){return new(c||t)};static#t=this.\u0275prov=Qn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function S0(t,i){const r=t.indexOf(i);r>-1&&t.splice(r,1)}function Mb(t,i,r){!i&&!mA(t)||function Nb(t,i,r){let c;r?(c=0,t[lt]|=1024):c=64&t[lt]?0:1,Cd(t,i,c)}(t,r,i)}function mA(t){return Pu(t)}class wb{constructor(i,r){this.ngModuleFactory=i,this.componentFactories=r}}let Pb=(()=>{class t{compileModuleSync(r){return new ep(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const c=this.compileModuleSync(r),g=Wo(In(r).declarations).reduce((v,D)=>{const y=ot(D);return y&&v.push(new mu(y)),v},[]);return new wb(c,g)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}static#e=this.\u0275fac=function(c){return new(c||t)};static#t=this.\u0275prov=Qn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fb=(()=>{class t{constructor(){this.zone=ei(Zs),this.applicationRef=ei(Ml)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(c){return new(c||t)};static#t=this.\u0275prov=Qn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function kb(){const t=ei(Zs),i=ei(Xa);return r=>t.runOutsideAngular(()=>i.handleError(r))}let Ub=(()=>{class t{constructor(){this.subscription=new Wn.yU,this.initialized=!1,this.zone=ei(Zs),this.pendingTasks=ei(_l)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Zs.assertNotInAngularZone(),queueMicrotask(()=>{null!==r&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Zs.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(c){return new(c||t)};static#t=this.\u0275prov=Qn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const T0=new bt("",{providedIn:"root",factory:()=>ei(T0,vi.Optional|vi.SkipSelf)||function Gb(){return typeof $localize<"u"&&$localize.locale||Xd}()}),Vb=new bt("",{providedIn:"root",factory:()=>"USD"}),vA=new bt("");let fS=(()=>{class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,c){const f=function rD(t="zone.js",i){return"noop"===t?new B_:"zone.js"===t?new Zs(i):t}(c?.ngZone,function hS(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:c?.ngZoneEventCoalescing,runCoalescing:c?.ngZoneRunCoalescing}));return f.run(()=>{const g=function JD(t,i,r){return new qf(t,i,r)}(r.moduleType,this.injector,function dS(t){return[{provide:Zs,useFactory:t},{provide:gr,multi:!0,useFactory:()=>{const i=ei(Fb,{optional:!0});return()=>i.initialize()}},{provide:gr,multi:!0,useFactory:()=>{const i=ei(Ub);return()=>{i.initialize()}}},{provide:$o,useFactory:kb}]}(()=>f)),v=g.injector.get(Xa,null);return f.runOutsideAngular(()=>{const D=f.onError.subscribe({next:y=>{v.handleError(y)}});g.onDestroy(()=>{S0(this._modules,g),D.unsubscribe()})}),function cS(t,i,r){try{const c=r();return pA(c)?c.catch(f=>{throw i.runOutsideAngular(()=>t.handleError(f)),f}):c}catch(c){throw i.runOutsideAngular(()=>t.handleError(c)),c}}(v,f,()=>{const D=g.injector.get(gA);return D.runInitializers(),D.donePromise.then(()=>(function s1(t){"string"==typeof t&&(n1=t.toLowerCase().replace(/_/g,"-"))}(g.injector.get(T0,Xd)||Xd),this._moduleDoBootstrap(g),g))})})}bootstrapModule(r,c=[]){const f=lS({},c);return function xb(t,i,r){const c=new ep(r);return Promise.resolve(c)}(0,0,r).then(g=>this.bootstrapModuleFactory(g,f))}_moduleDoBootstrap(r){const c=r.injector.get(Ml);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(f=>c.bootstrap(f));else{if(!r.instance.ngDoBootstrap)throw new Pt(-403,!1);r.instance.ngDoBootstrap(c)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Pt(404,!1);this._modules.slice().forEach(c=>c.destroy()),this._destroyListeners.forEach(c=>c());const r=this._injector.get(vA,null);r&&(r.forEach(c=>c()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(c){return new(c||t)(ls(Ro))};static#t=this.\u0275prov=Qn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Nl=null;const pS=new bt("");function gS(t,i,r=[]){const c=`Platform: ${i}`,f=new bt(c);return(g=[])=>{let v=EA();if(!v||v.injector.get(pS,!1)){const D=[...r,...g,{provide:f,useValue:!0}];t?t(D):function Wb(t){if(Nl&&!Nl.get(pS,!1))throw new Pt(400,!1);(function aS(){!function mt(t){Qe=t}(()=>{throw new Pt(600,!1)})})(),Nl=t;const i=t.get(fS);(function mS(t){t.get(Dg,null)?.forEach(r=>r())})(t)}(function _S(t=[],i){return Ro.create({name:i,providers:[{provide:gi,useValue:"platform"},{provide:vA,useValue:new Set([()=>Nl=null])},...t]})}(D,c))}return function Hb(t){const i=EA();if(!i)throw new Pt(401,!1);return i}()}}function EA(){return Nl?.get(fS)??null}function Kb(){return!1}function Yb(){}let ES=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=Xb}return t})();function Xb(t){return function Qb(t,i,r){if(Ha(t)&&!r){const c=Wi(t.index,i);return new lu(c,c)}return 47&t.type?new lu(i[mn],i):null}(ds(),Ut(),!(16&~t))}class AS{constructor(){}supports(i){return Ld(i)}create(i){return new eM(i)}}const qb=(t,i)=>i;class eM{constructor(i){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=i||qb}forEachItem(i){let r;for(r=this._itHead;null!==r;r=r._next)i(r)}forEachOperation(i){let r=this._itHead,c=this._removalsHead,f=0,g=null;for(;r||c;){const v=!c||r&&r.currentIndex{v=this._trackByFn(f,D),null!==r&&Object.is(r.trackById,v)?(c&&(r=this._verifyReinsertion(r,D,v,f)),Object.is(r.item,D)||this._addIdentityChange(r,D)):(r=this._mismatch(r,D,v,f),c=!0),r=r._next,f++}),this.length=f;return this._truncate(r),this.collection=i,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;null!==i;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;null!==i;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,r,c,f){let g;return null===i?g=this._itTail:(g=i._prev,this._remove(i)),null!==(i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null))?(Object.is(i.item,r)||this._addIdentityChange(i,r),this._reinsertAfter(i,g,f)):null!==(i=null===this._linkedRecords?null:this._linkedRecords.get(c,f))?(Object.is(i.item,r)||this._addIdentityChange(i,r),this._moveAfter(i,g,f)):i=this._addAfter(new tM(r,c),g,f),i}_verifyReinsertion(i,r,c,f){let g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);return null!==g?i=this._reinsertAfter(g,i._prev,f):i.currentIndex!=f&&(i.currentIndex=f,this._addToMoves(i,f)),i}_truncate(i){for(;null!==i;){const r=i._next;this._addToRemovals(this._unlink(i)),i=r}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(i,r,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(i);const f=i._prevRemoved,g=i._nextRemoved;return null===f?this._removalsHead=g:f._nextRemoved=g,null===g?this._removalsTail=f:g._prevRemoved=f,this._insertAfter(i,r,c),this._addToMoves(i,c),i}_moveAfter(i,r,c){return this._unlink(i),this._insertAfter(i,r,c),this._addToMoves(i,c),i}_addAfter(i,r,c){return this._insertAfter(i,r,c),this._additionsTail=null===this._additionsTail?this._additionsHead=i:this._additionsTail._nextAdded=i,i}_insertAfter(i,r,c){const f=null===r?this._itHead:r._next;return i._next=f,i._prev=r,null===f?this._itTail=i:f._prev=i,null===r?this._itHead=i:r._next=i,null===this._linkedRecords&&(this._linkedRecords=new OS),this._linkedRecords.put(i),i.currentIndex=c,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){null!==this._linkedRecords&&this._linkedRecords.remove(i);const r=i._prev,c=i._next;return null===r?this._itHead=c:r._next=c,null===c?this._itTail=r:c._prev=r,i}_addToMoves(i,r){return i.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=i:this._movesTail._nextMoved=i),i}_addToRemovals(i){return null===this._unlinkedRecords&&(this._unlinkedRecords=new OS),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,r){return i.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=i:this._identityChangesTail._nextIdentityChange=i,i}}class tM{constructor(i,r){this.item=i,this.trackById=r,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 nM{constructor(){this._head=null,this._tail=null}add(i){null===this._head?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,r){let c;for(c=this._head;null!==c;c=c._nextDup)if((null===r||r<=c.currentIndex)&&Object.is(c.trackById,i))return c;return null}remove(i){const r=i._prevDup,c=i._nextDup;return null===r?this._head=c:r._nextDup=c,null===c?this._tail=r:c._prevDup=r,null===this._head}}class OS{constructor(){this.map=new Map}put(i){const r=i.trackById;let c=this.map.get(r);c||(c=new nM,this.map.set(r,c)),c.add(i)}get(i,r){const f=this.map.get(i);return f?f.get(i,r):null}remove(i){const r=i.trackById;return this.map.get(r).remove(i)&&this.map.delete(r),i}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function RS(t,i,r){const c=t.previousIndex;if(null===c)return c;let f=0;return r&&c{if(r&&r.key===f)this._maybeAddToChanges(r,c),this._appendAfter=r,r=r._next;else{const g=this._getOrCreateRecordForKey(f,c);r=this._insertBeforeOrAppend(r,g)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let c=r;null!==c;c=c._nextRemoved)c===this._mapHead&&(this._mapHead=null),this._records.delete(c.key),c._nextRemoved=c._next,c.previousValue=c.currentValue,c.currentValue=null,c._prev=null,c._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,r){if(i){const c=i._prev;return r._next=i,r._prev=c,i._prev=r,c&&(c._next=r),i===this._mapHead&&(this._mapHead=r),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(i,r){if(this._records.has(i)){const f=this._records.get(i);this._maybeAddToChanges(f,r);const g=f._prev,v=f._next;return g&&(g._next=v),v&&(v._prev=g),f._next=null,f._prev=null,f}const c=new sM(i);return this._records.set(i,c),c.currentValue=r,this._addToAdditions(c),c}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;null!==i;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;null!=i;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,r){Object.is(r,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=r,this._addToChanges(i))}_addToAdditions(i){null===this._additionsHead?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){null===this._changesHead?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,r){i instanceof Map?i.forEach(r):Object.keys(i).forEach(c=>r(i[c],c))}}class sM{constructor(i){this.key=i,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 yS(){return new OA([new AS])}let OA=(()=>{class t{static#e=this.\u0275prov=Qn({token:t,providedIn:"root",factory:yS});constructor(r){this.factories=r}static create(r,c){if(null!=c){const f=c.factories.slice();r=r.concat(f)}return new t(r)}static extend(r){return{provide:t,useFactory:c=>t.create(r,c||yS()),deps:[[t,new Ur,new Xs]]}}find(r){const c=this.factories.find(f=>f.supports(r));if(null!=c)return c;throw new Pt(901,!1)}}return t})();function TS(){return new RA([new SS])}let RA=(()=>{class t{static#e=this.\u0275prov=Qn({token:t,providedIn:"root",factory:TS});constructor(r){this.factories=r}static create(r,c){if(c){const f=c.factories.slice();r=r.concat(f)}return new t(r)}static extend(r){return{provide:t,useFactory:c=>t.create(r,c||TS()),deps:[[t,new Ur,new Xs]]}}find(r){const c=this.factories.find(f=>f.supports(r));if(c)return c;throw new Pt(901,!1)}}return t})();const aM=gS(null,"core",[]);let cM=(()=>{class t{constructor(r){}static#e=this.\u0275fac=function(c){return new(c||t)(ls(Ml))};static#t=this.\u0275mod=ir({type:t});static#n=this.\u0275inj=xi({})}return t})();function kM(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function UM(t,i){ma("NgSignals");const r=$(t);return i?.equal&&(r[C].equal=i.equal),r}function GM(t){const i=w(null);try{return t()}finally{w(i)}}const VM=new bt("",{providedIn:"root",factory:()=>ei($M)});let $M=(()=>{class t{static#e=this.\u0275prov=Qn({token:t,providedIn:"root",factory:()=>new WM})}return t})();class WM{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=ei(_l),this.taskId=null}scheduleEffect(i){if(this.enqueue(i),null===this.taskId){const r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(i){const r=i.creationZone;this.queues.has(r)||this.queues.set(r,new Set);const c=this.queues.get(r);c.has(i)||(this.queuedEffectCount++,c.add(i))}flush(){for(;this.queuedEffectCount>0;)for(const[i,r]of this.queues)null===i?this.flushQueue(r):i.run(()=>this.flushQueue(r))}flushQueue(i){for(const r of i)i.delete(r),this.queuedEffectCount--,r.run()}}class HM{constructor(i,r,c,f,g,v){this.scheduler=i,this.effectFn=r,this.creationZone=c,this.injector=g,this.watcher=function ft(t,i,r){const c=Object.create(Kt);r&&(c.consumerAllowSignalWrites=!0),c.fn=t,c.schedule=i;const f=y=>{c.cleanupFn=y};return c.ref={notify:()=>oe(c),run:()=>{if(null===c.fn)return;if(function b(){return u}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(c.dirty=!1,c.hasRun&&!pe(c))return;c.hasRun=!0;const y=H(c);try{c.cleanupFn(),c.cleanupFn=vt,c.fn(f)}finally{ae(c,y)}},cleanup:()=>c.cleanupFn(),destroy:()=>function v(y){(function g(y){return null===y.fn&&null===y.schedule})(y)||(de(y),y.cleanupFn(),y.fn=null,y.schedule=null,y.cleanupFn=vt)}(c),[C]:c},c.ref}(D=>this.runEffect(D),()=>this.schedule(),v),this.unregisterOnDestroy=f?.onDestroy(()=>this.destroy())}runEffect(i){try{this.effectFn(i)}catch(r){this.injector.get(Xa,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function zS(t,i){ma("NgSignals"),!i?.injector&&ua();const r=i?.injector??ei(Ro),c=!0!==i?.manualCleanup?r.get(ke):null,f=new HM(r.get(VM),t,typeof Zone>"u"?null:Zone.current,c,r,i?.allowSignalWrites??!1),g=r.get(ES,null,{optional:!0});return g&&8&g._lView[lt]?(g._lView[gs]??=[]).push(f.watcher.notify):f.watcher.notify(),f}function jM(t,i){const r=ot(t),c=i.elementInjector||hn();return new mu(r).create(c,i.projectableNodes,i.hostElement,i.environmentInjector)}function KM(t){const i=ot(t);if(!i)return null;const r=new mu(i);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}},89079:(Be,K,l)=>{"use strict";l.d(K,{br:()=>b,ot:()=>R,pQ:()=>m});var s=l(54438),h=l(71985),e=l(92771),u=l(56977);function m(L){L||((0,s.Af3)(m),L=(0,s.WQX)(s.abz));const x=new h.c(B=>L.onDestroy(B.next.bind(B)));return B=>B.pipe((0,u.Q)(x))}function b(L,x){!x?.injector&&(0,s.Af3)(b);const B=x?.injector??(0,s.WQX)(s.zZn),Y=new e.m(1),j=(0,s.QZP)(()=>{let ve;try{ve=L()}catch(oe){return void(0,s.O8t)(()=>Y.error(oe))}(0,s.O8t)(()=>Y.next(ve))},{injector:B,manualCleanup:!0});return B.get(s.abz).onDestroy(()=>{j.destroy(),Y.complete()}),Y.asObservable()}function R(L,x){const B=!x?.manualCleanup;B&&!x?.injector&&(0,s.Af3)(R);const Y=B?x?.injector?.get(s.abz)??(0,s.WQX)(s.abz):null;let j;j=(0,s.vPA)(x?.requireSync?{kind:0}:{kind:1,value:x?.initialValue});const ve=L.subscribe({next:oe=>j.set({kind:1,value:oe}),error:oe=>{if(x?.rejectErrors)throw oe;j.set({kind:2,error:oe})}});return Y?.onDestroy(ve.unsubscribe.bind(ve)),(0,s.EWP)(()=>{const oe=j();switch(oe.kind){case 1:return oe.value;case 2:throw oe.error;case 0:throw new s.wOt(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},89417:(Be,K,l)=>{"use strict";l.d(K,{BC:()=>dn,JD:()=>Ys,MJ:()=>Oi,MR:()=>Rr,Q0:()=>Yi,VZ:()=>hs,X1:()=>Tr,YN:()=>go,YS:()=>ur,Yp:()=>Di,ZU:()=>tn,Zm:()=>R,cV:()=>Ai,cb:()=>Pt,cz:()=>oe,gE:()=>gn,j4:()=>qs,k0:()=>pe,kq:()=>M,l_:()=>bs,me:()=>Y,ok:()=>Gs,qT:()=>Es,tU:()=>Gr,vO:()=>Wn,vS:()=>Nn,wz:()=>ls,xH:()=>Br,y7:()=>zr,zX:()=>Ur});var s=l(54438),h=l(60177),e=l(22806),u=l(27468),m=l(96354);let C=(()=>{class ie{constructor(G,Ie){this._renderer=G,this._elementRef=Ie,this.onChange=it=>{},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#e=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(s.sFG),s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:ie})}return ie})(),w=(()=>{class ie extends C{static#e=this.\u0275fac=(()=>{let G;return function(it){return(G||(G=s.xGo(ie)))(it||ie)}})();static#t=this.\u0275dir=s.FsC({type:ie,features:[s.Vt3]})}return ie})();const M=new s.nKC(""),b={provide:M,useExisting:(0,s.Rfq)(()=>R),multi:!0};let R=(()=>{class ie extends w{writeValue(G){this.setProperty("checked",G)}static#e=this.\u0275fac=(()=>{let G;return function(it){return(G||(G=s.xGo(ie)))(it||ie)}})();static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Ie,it){1&Ie&&s.bIt("change",function(ci){return it.onChange(ci.target.checked)})("blur",function(){return it.onTouched()})},features:[s.Jv_([b]),s.Vt3]})}return ie})();const L={provide:M,useExisting:(0,s.Rfq)(()=>Y),multi:!0},B=new s.nKC("");let Y=(()=>{class ie extends C{constructor(G,Ie,it){super(G,Ie),this._compositionMode=it,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function x(){const ie=(0,h.QT)()?(0,h.QT)().getUserAgent():"";return/android (\d+)/.test(ie.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#e=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(s.sFG),s.rXU(s.aKT),s.rXU(B,8))};static#t=this.\u0275dir=s.FsC({type:ie,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,it){1&Ie&&s.bIt("input",function(ci){return it._handleInput(ci.target.value)})("blur",function(){return it.onTouched()})("compositionstart",function(){return it._compositionStart()})("compositionend",function(ci){return it._compositionEnd(ci.target.value)})},features:[s.Jv_([L]),s.Vt3]})}return ie})();function j(ie){return null==ie||("string"==typeof ie||Array.isArray(ie))&&0===ie.length}function ve(ie){return null!=ie&&"number"==typeof ie.length}const oe=new s.nKC(""),H=new s.nKC(""),ae=/^(?=.{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 pe{static min(le){return de(le)}static max(le){return Pe(le)}static required(le){return W(le)}static requiredTrue(le){return function J(ie){return!0===ie.value?null:{required:!0}}(le)}static email(le){return function te(ie){return j(ie.value)||ae.test(ie.value)?null:{email:!0}}(le)}static minLength(le){return function q(ie){return le=>j(le.value)||!ve(le.value)?null:le.value.length{if(j(Ie.value))return null;const it=Ie.value;return le.test(it)?null:{pattern:{requiredPattern:G,actualValue:it}}}}(le)}static nullValidator(le){return null}static compose(le){return Oe(le)}static composeAsync(le){return Ve(le)}}function de(ie){return le=>{if(j(le.value)||j(ie))return null;const G=parseFloat(le.value);return!isNaN(G)&&G{if(j(le.value)||j(ie))return null;const G=parseFloat(le.value);return!isNaN(G)&&G>ie?{max:{max:ie,actual:le.value}}:null}}function W(ie){return j(ie.value)?{required:!0}:null}function $(ie){return le=>ve(le.value)&&le.value.length>ie?{maxlength:{requiredLength:ie,actualLength:le.value.length}}:null}function se(ie){return null}function Ee(ie){return null!=ie}function me(ie){return(0,s.jNT)(ie)?(0,e.H)(ie):ie}function je(ie){let le={};return ie.forEach(G=>{le=null!=G?{...le,...G}:le}),0===Object.keys(le).length?null:le}function Qe(ie,le){return le.map(G=>G(ie))}function mt(ie){return ie.map(le=>function Ot(ie){return!ie.validate}(le)?le:G=>le.validate(G))}function Oe(ie){if(!ie)return null;const le=ie.filter(Ee);return 0==le.length?null:function(G){return je(Qe(G,le))}}function Re(ie){return null!=ie?Oe(mt(ie)):null}function Ve(ie){if(!ie)return null;const le=ie.filter(Ee);return 0==le.length?null:function(G){const Ie=Qe(G,le).map(me);return(0,u.p)(Ie).pipe((0,m.T)(je))}}function ye(ie){return null!=ie?Ve(mt(ie)):null}function ht(ie,le){return null===ie?[le]:Array.isArray(ie)?[...ie,le]:[ie,le]}function Ce(ie){return ie._rawValidators}function We(ie){return ie._rawAsyncValidators}function ut(ie){return ie?Array.isArray(ie)?ie:[ie]:[]}function ft(ie,le){return Array.isArray(ie)?ie.includes(le):ie===le}function vt(ie,le){const G=ut(le);return ut(ie).forEach(it=>{ft(G,it)||G.push(it)}),G}function Kt(ie,le){return ut(le).filter(G=>!ft(ie,G))}class wt{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(le){this._rawValidators=le||[],this._composedValidatorFn=Re(this._rawValidators)}_setAsyncValidators(le){this._rawAsyncValidators=le||[],this._composedAsyncValidatorFn=ye(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(le){this._onDestroyCallbacks.push(le)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(le=>le()),this._onDestroyCallbacks=[]}reset(le=void 0){this.control&&this.control.reset(le)}hasError(le,G){return!!this.control&&this.control.hasError(le,G)}getError(le,G){return this.control?this.control.getError(le,G):null}}class tn extends wt{get formDirective(){return null}get path(){return null}}class Wn extends wt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class pi{constructor(le){this._cd=le}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let dn=(()=>{class ie extends pi{constructor(G){super(G)}static#e=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(Wn,2))};static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ie,it){2&Ie&&s.AVh("ng-untouched",it.isUntouched)("ng-touched",it.isTouched)("ng-pristine",it.isPristine)("ng-dirty",it.isDirty)("ng-valid",it.isValid)("ng-invalid",it.isInvalid)("ng-pending",it.isPending)},features:[s.Vt3]})}return ie})(),Pt=(()=>{class ie extends pi{constructor(G){super(G)}static#e=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(tn,10))};static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ie,it){2&Ie&&s.AVh("ng-untouched",it.isUntouched)("ng-touched",it.isTouched)("ng-pristine",it.isPristine)("ng-dirty",it.isDirty)("ng-valid",it.isValid)("ng-invalid",it.isInvalid)("ng-pending",it.isPending)("ng-submitted",it.isSubmitted)},features:[s.Vt3]})}return ie})();const Hn="VALID",Hi="INVALID",qn="PENDING",es="DISABLED";function ai(ie){return(Et(ie)?ie.validators:ie)||null}function is(ie,le){return(Et(le)?le.asyncValidators:ie)||null}function Et(ie){return null!=ie&&!Array.isArray(ie)&&"object"==typeof ie}function Fe(ie,le,G){const Ie=ie.controls;if(!(le?Object.keys(Ie):Ie).length)throw new s.wOt(1e3,"");if(!Ie[G])throw new s.wOt(1001,"")}function ct(ie,le,G){ie._forEachChild((Ie,it)=>{if(void 0===G[it])throw new s.wOt(1002,"")})}class Mt{constructor(le,G){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(le),this._assignAsyncValidators(G)}get validator(){return this._composedValidatorFn}set validator(le){this._rawValidators=this._composedValidatorFn=le}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(le){this._rawAsyncValidators=this._composedAsyncValidatorFn=le}get parent(){return this._parent}get valid(){return this.status===Hn}get invalid(){return this.status===Hi}get pending(){return this.status==qn}get disabled(){return this.status===es}get enabled(){return this.status!==es}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(le){this._assignValidators(le)}setAsyncValidators(le){this._assignAsyncValidators(le)}addValidators(le){this.setValidators(vt(le,this._rawValidators))}addAsyncValidators(le){this.setAsyncValidators(vt(le,this._rawAsyncValidators))}removeValidators(le){this.setValidators(Kt(le,this._rawValidators))}removeAsyncValidators(le){this.setAsyncValidators(Kt(le,this._rawAsyncValidators))}hasValidator(le){return ft(this._rawValidators,le)}hasAsyncValidator(le){return ft(this._rawAsyncValidators,le)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(le={}){this.touched=!0,this._parent&&!le.onlySelf&&this._parent.markAsTouched(le)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(le=>le.markAllAsTouched())}markAsUntouched(le={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(G=>{G.markAsUntouched({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}markAsDirty(le={}){this.pristine=!1,this._parent&&!le.onlySelf&&this._parent.markAsDirty(le)}markAsPristine(le={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(G=>{G.markAsPristine({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}markAsPending(le={}){this.status=qn,!1!==le.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!le.onlySelf&&this._parent.markAsPending(le)}disable(le={}){const G=this._parentMarkedDirty(le.onlySelf);this.status=es,this.errors=null,this._forEachChild(Ie=>{Ie.disable({...le,onlySelf:!0})}),this._updateValue(),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...le,skipPristineCheck:G}),this._onDisabledChange.forEach(Ie=>Ie(!0))}enable(le={}){const G=this._parentMarkedDirty(le.onlySelf);this.status=Hn,this._forEachChild(Ie=>{Ie.enable({...le,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent}),this._updateAncestors({...le,skipPristineCheck:G}),this._onDisabledChange.forEach(Ie=>Ie(!1))}_updateAncestors(le){this._parent&&!le.onlySelf&&(this._parent.updateValueAndValidity(le),le.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(le){this._parent=le}getRawValue(){return this.value}updateValueAndValidity(le={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Hn||this.status===qn)&&this._runAsyncValidator(le.emitEvent)),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!le.onlySelf&&this._parent.updateValueAndValidity(le)}_updateTreeValidity(le={emitEvent:!0}){this._forEachChild(G=>G._updateTreeValidity(le)),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?es:Hn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(le){if(this.asyncValidator){this.status=qn,this._hasOwnPendingAsyncValidator=!0;const G=me(this.asyncValidator(this));this._asyncValidationSubscription=G.subscribe(Ie=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ie,{emitEvent:le})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(le,G={}){this.errors=le,this._updateControlsErrors(!1!==G.emitEvent)}get(le){let G=le;return null==G||(Array.isArray(G)||(G=G.split(".")),0===G.length)?null:G.reduce((Ie,it)=>Ie&&Ie._find(it),this)}getError(le,G){const Ie=G?this.get(G):this;return Ie&&Ie.errors?Ie.errors[le]:null}hasError(le,G){return!!this.getError(le,G)}get root(){let le=this;for(;le._parent;)le=le._parent;return le}_updateControlsErrors(le){this.status=this._calculateStatus(),le&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(le)}_initObservables(){this.valueChanges=new s.bkB,this.statusChanges=new s.bkB}_calculateStatus(){return this._allControlsDisabled()?es:this.errors?Hi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qn)?qn:this._anyControlsHaveStatus(Hi)?Hi:Hn}_anyControlsHaveStatus(le){return this._anyControls(G=>G.status===le)}_anyControlsDirty(){return this._anyControls(le=>le.dirty)}_anyControlsTouched(){return this._anyControls(le=>le.touched)}_updatePristine(le={}){this.pristine=!this._anyControlsDirty(),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}_updateTouched(le={}){this.touched=this._anyControlsTouched(),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}_registerOnCollectionChange(le){this._onCollectionChange=le}_setUpdateStrategy(le){Et(le)&&null!=le.updateOn&&(this._updateOn=le.updateOn)}_parentMarkedDirty(le){return!le&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(le){return null}_assignValidators(le){this._rawValidators=Array.isArray(le)?le.slice():le,this._composedValidatorFn=function As(ie){return Array.isArray(ie)?Re(ie):ie||null}(this._rawValidators)}_assignAsyncValidators(le){this._rawAsyncValidators=Array.isArray(le)?le.slice():le,this._composedAsyncValidatorFn=function pt(ie){return Array.isArray(ie)?ye(ie):ie||null}(this._rawAsyncValidators)}}class gn extends Mt{constructor(le,G,Ie){super(ai(G),is(Ie,G)),this.controls=le,this._initObservables(),this._setUpdateStrategy(G),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(le,G){return this.controls[le]?this.controls[le]:(this.controls[le]=G,G.setParent(this),G._registerOnCollectionChange(this._onCollectionChange),G)}addControl(le,G,Ie={}){this.registerControl(le,G),this.updateValueAndValidity({emitEvent:Ie.emitEvent}),this._onCollectionChange()}removeControl(le,G={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],this.updateValueAndValidity({emitEvent:G.emitEvent}),this._onCollectionChange()}setControl(le,G,Ie={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],G&&this.registerControl(le,G),this.updateValueAndValidity({emitEvent:Ie.emitEvent}),this._onCollectionChange()}contains(le){return this.controls.hasOwnProperty(le)&&this.controls[le].enabled}setValue(le,G={}){ct(this,0,le),Object.keys(le).forEach(Ie=>{Fe(this,!0,Ie),this.controls[Ie].setValue(le[Ie],{onlySelf:!0,emitEvent:G.emitEvent})}),this.updateValueAndValidity(G)}patchValue(le,G={}){null!=le&&(Object.keys(le).forEach(Ie=>{const it=this.controls[Ie];it&&it.patchValue(le[Ie],{onlySelf:!0,emitEvent:G.emitEvent})}),this.updateValueAndValidity(G))}reset(le={},G={}){this._forEachChild((Ie,it)=>{Ie.reset(le?le[it]:null,{onlySelf:!0,emitEvent:G.emitEvent})}),this._updatePristine(G),this._updateTouched(G),this.updateValueAndValidity(G)}getRawValue(){return this._reduceChildren({},(le,G,Ie)=>(le[Ie]=G.getRawValue(),le))}_syncPendingControls(){let le=this._reduceChildren(!1,(G,Ie)=>!!Ie._syncPendingControls()||G);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){Object.keys(this.controls).forEach(G=>{const Ie=this.controls[G];Ie&&le(Ie,G)})}_setUpControls(){this._forEachChild(le=>{le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(le){for(const[G,Ie]of Object.entries(this.controls))if(this.contains(G)&&le(Ie))return!0;return!1}_reduceValue(){return this._reduceChildren({},(G,Ie,it)=>((Ie.enabled||this.disabled)&&(G[it]=Ie.value),G))}_reduceChildren(le,G){let Ie=le;return this._forEachChild((it,Tn)=>{Ie=G(Ie,it,Tn)}),Ie}_allControlsDisabled(){for(const le of Object.keys(this.controls))if(this.controls[le].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(le){return this.controls.hasOwnProperty(le)?this.controls[le]:null}}class st extends gn{}const $e=new s.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>yt}),yt="always";function et(ie,le){return[...le.path,ie]}function rt(ie,le,G=yt){ln(ie,le),le.valueAccessor.writeValue(ie.value),(ie.disabled||"always"===G)&&le.valueAccessor.setDisabledState?.(ie.disabled),function di(ie,le){le.valueAccessor.registerOnChange(G=>{ie._pendingValue=G,ie._pendingChange=!0,ie._pendingDirty=!0,"change"===ie.updateOn&&Qn(ie,le)})}(ie,le),function ri(ie,le){const G=(Ie,it)=>{le.valueAccessor.writeValue(Ie),it&&le.viewToModelUpdate(Ie)};ie.registerOnChange(G),le._registerOnDestroy(()=>{ie._unregisterOnChange(G)})}(ie,le),function Ni(ie,le){le.valueAccessor.registerOnTouched(()=>{ie._pendingTouched=!0,"blur"===ie.updateOn&&ie._pendingChange&&Qn(ie,le),"submit"!==ie.updateOn&&ie.markAsTouched()})}(ie,le),function Yt(ie,le){if(le.valueAccessor.setDisabledState){const G=Ie=>{le.valueAccessor.setDisabledState(Ie)};ie.registerOnDisabledChange(G),le._registerOnDestroy(()=>{ie._unregisterOnDisabledChange(G)})}}(ie,le)}function xe(ie,le,G=!0){const Ie=()=>{};le.valueAccessor&&(le.valueAccessor.registerOnChange(Ie),le.valueAccessor.registerOnTouched(Ie)),kn(ie,le),ie&&(le._invokeOnDestroyCallbacks(),ie._registerOnCollectionChange(()=>{}))}function Je(ie,le){ie.forEach(G=>{G.registerOnValidatorChange&&G.registerOnValidatorChange(le)})}function ln(ie,le){const G=Ce(ie);null!==le.validator?ie.setValidators(ht(G,le.validator)):"function"==typeof G&&ie.setValidators([G]);const Ie=We(ie);null!==le.asyncValidator?ie.setAsyncValidators(ht(Ie,le.asyncValidator)):"function"==typeof Ie&&ie.setAsyncValidators([Ie]);const it=()=>ie.updateValueAndValidity();Je(le._rawValidators,it),Je(le._rawAsyncValidators,it)}function kn(ie,le){let G=!1;if(null!==ie){if(null!==le.validator){const it=Ce(ie);if(Array.isArray(it)&&it.length>0){const Tn=it.filter(ci=>ci!==le.validator);Tn.length!==it.length&&(G=!0,ie.setValidators(Tn))}}if(null!==le.asyncValidator){const it=We(ie);if(Array.isArray(it)&&it.length>0){const Tn=it.filter(ci=>ci!==le.asyncValidator);Tn.length!==it.length&&(G=!0,ie.setAsyncValidators(Tn))}}}const Ie=()=>{};return Je(le._rawValidators,Ie),Je(le._rawAsyncValidators,Ie),G}function Qn(ie,le){ie._pendingDirty&&ie.markAsDirty(),ie.setValue(ie._pendingValue,{emitModelToViewChange:!1}),le.viewToModelUpdate(ie._pendingValue),ie._pendingChange=!1}function xi(ie,le){ln(ie,le)}function Ze(ie,le){if(!ie.hasOwnProperty("model"))return!1;const G=ie.model;return!!G.isFirstChange()||!Object.is(le,G.currentValue)}function Lt(ie,le){ie._syncPendingControls(),le.forEach(G=>{const Ie=G.control;"submit"===Ie.updateOn&&Ie._pendingChange&&(G.viewToModelUpdate(Ie._pendingValue),Ie._pendingChange=!1)})}function bt(ie,le){if(!le)return null;let G,Ie,it;return Array.isArray(le),le.forEach(Tn=>{Tn.constructor===Y?G=Tn:function qe(ie){return Object.getPrototypeOf(ie.constructor)===w}(Tn)?Ie=Tn:it=Tn}),it||Ie||G||null}const vn={provide:tn,useExisting:(0,s.Rfq)(()=>Ai)},Mn=Promise.resolve();let Ai=(()=>{class ie extends tn{constructor(G,Ie,it){super(),this.callSetDisabledState=it,this.submitted=!1,this._directives=new Set,this.ngSubmit=new s.bkB,this.form=new gn({},Re(G),ye(Ie))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(G){Mn.then(()=>{const Ie=this._findContainer(G.path);G.control=Ie.registerControl(G.name,G.control),rt(G.control,G,this.callSetDisabledState),G.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(G)})}getControl(G){return this.form.get(G.path)}removeControl(G){Mn.then(()=>{const Ie=this._findContainer(G.path);Ie&&Ie.removeControl(G.name),this._directives.delete(G)})}addFormGroup(G){Mn.then(()=>{const Ie=this._findContainer(G.path),it=new gn({});xi(it,G),Ie.registerControl(G.name,it),it.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(G){Mn.then(()=>{const Ie=this._findContainer(G.path);Ie&&Ie.removeControl(G.name)})}getFormGroup(G){return this.form.get(G.path)}updateModel(G,Ie){Mn.then(()=>{this.form.get(G.path).setValue(Ie)})}setValue(G){this.control.setValue(G)}onSubmit(G){return this.submitted=!0,Lt(this.form,this._directives),this.ngSubmit.emit(G),"dialog"===G?.target?.method}onReset(){this.resetForm()}resetForm(G=void 0){this.form.reset(G),this.submitted=!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#e=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(oe,10),s.rXU(H,10),s.rXU($e,8))};static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ie,it){1&Ie&&s.bIt("submit",function(ci){return it.onSubmit(ci)})("reset",function(){return it.onReset()})},inputs:{options:[s.Mj6.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s.Jv_([vn]),s.Vt3]})}return ie})();function hi(ie,le){const G=ie.indexOf(le);G>-1&&ie.splice(G,1)}function zn(ie){return"object"==typeof ie&&null!==ie&&2===Object.keys(ie).length&&"value"in ie&&"disabled"in ie}const Oi=class extends Mt{constructor(le=null,G,Ie){super(ai(G),is(Ie,G)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(le),this._setUpdateStrategy(G),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Et(G)&&(G.nonNullable||G.initialValueIsDefault)&&(this.defaultValue=zn(le)?le.value:le)}setValue(le,G={}){this.value=this._pendingValue=le,this._onChange.length&&!1!==G.emitModelToViewChange&&this._onChange.forEach(Ie=>Ie(this.value,!1!==G.emitViewToModelChange)),this.updateValueAndValidity(G)}patchValue(le,G={}){this.setValue(le,G)}reset(le=this.defaultValue,G={}){this._applyFormState(le),this.markAsPristine(G),this.markAsUntouched(G),this.setValue(this.value,G),this._pendingChange=!1}_updateValue(){}_anyControls(le){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(le){this._onChange.push(le)}_unregisterOnChange(le){hi(this._onChange,le)}registerOnDisabledChange(le){this._onDisabledChange.push(le)}_unregisterOnDisabledChange(le){hi(this._onDisabledChange,le)}_forEachChild(le){}_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(le){zn(le)?(this.value=this._pendingValue=le.value,le.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=le}},pn={provide:Wn,useExisting:(0,s.Rfq)(()=>Nn)},Ke=Promise.resolve();let Nn=(()=>{class ie extends Wn{constructor(G,Ie,it,Tn,ci,Rs){super(),this._changeDetectorRef=ci,this.callSetDisabledState=Rs,this.control=new Oi,this._registered=!1,this.name="",this.update=new s.bkB,this._parent=G,this._setValidators(Ie),this._setAsyncValidators(it),this.valueAccessor=bt(0,Tn)}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),Ze(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(){rt(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){Ke.then(()=>{this.control.setValue(G,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(G){const Ie=G.isDisabled.currentValue,it=0!==Ie&&(0,s.L39)(Ie);Ke.then(()=>{it&&!this.control.disabled?this.control.disable():!it&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(G){return this._parent?et(G,this._parent):[G]}static#e=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(tn,9),s.rXU(oe,10),s.rXU(H,10),s.rXU(M,10),s.rXU(s.gRc,8),s.rXU($e,8))};static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[s.Mj6.None,"disabled","isDisabled"],model:[s.Mj6.None,"ngModel","model"],options:[s.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[s.Jv_([pn]),s.Vt3,s.OA$]})}return ie})(),Es=(()=>{class ie{static#e=this.\u0275fac=function(Ie){return new(Ie||ie)};static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return ie})();const rn={provide:M,useExisting:(0,s.Rfq)(()=>Yi),multi:!0};let Yi=(()=>{class ie extends w{writeValue(G){this.setProperty("value",G??"")}registerOnChange(G){this.onChange=Ie=>{G(""==Ie?null:parseFloat(Ie))}}static#e=this.\u0275fac=(()=>{let G;return function(it){return(G||(G=s.xGo(ie)))(it||ie)}})();static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ie,it){1&Ie&&s.bIt("input",function(ci){return it.onChange(ci.target.value)})("blur",function(){return it.onTouched()})},features:[s.Jv_([rn]),s.Vt3]})}return ie})();const pr={provide:M,useExisting:(0,s.Rfq)(()=>Rr),multi:!0};let Rr=(()=>{class ie extends w{writeValue(G){this.setProperty("value",parseFloat(G))}registerOnChange(G){this.onChange=Ie=>{G(""==Ie?null:parseFloat(Ie))}}static#e=this.\u0275fac=(()=>{let G;return function(it){return(G||(G=s.xGo(ie)))(it||ie)}})();static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(Ie,it){1&Ie&&s.bIt("change",function(ci){return it.onChange(ci.target.value)})("input",function(ci){return it.onChange(ci.target.value)})("blur",function(){return it.onTouched()})},features:[s.Jv_([pr]),s.Vt3]})}return ie})();const Ji=new s.nKC(""),Ps={provide:Wn,useExisting:(0,s.Rfq)(()=>bs)};let bs=(()=>{class ie extends Wn{set isDisabled(G){}static#e=this._ngModelWarningSentOnce=!1;constructor(G,Ie,it,Tn,ci){super(),this._ngModelWarningConfig=Tn,this.callSetDisabledState=ci,this.update=new s.bkB,this._ngModelWarningSent=!1,this._setValidators(G),this._setAsyncValidators(Ie),this.valueAccessor=bt(0,it)}ngOnChanges(G){if(this._isControlChanged(G)){const Ie=G.form.previousValue;Ie&&xe(Ie,this,!1),rt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ze(G,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&xe(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#t=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(oe,10),s.rXU(H,10),s.rXU(M,10),s.rXU(Ji,8),s.rXU($e,8))};static#n=this.\u0275dir=s.FsC({type:ie,selectors:[["","formControl",""]],inputs:{form:[s.Mj6.None,"formControl","form"],isDisabled:[s.Mj6.None,"disabled","isDisabled"],model:[s.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[s.Jv_([Ps]),s.Vt3,s.OA$]})}return ie})();const cr={provide:tn,useExisting:(0,s.Rfq)(()=>qs)};let qs=(()=>{class ie extends tn{constructor(G,Ie,it){super(),this.callSetDisabledState=it,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.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&&(kn(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 rt(Ie,G,this.callSetDisabledState),Ie.updateValueAndValidity({emitEvent:!1}),this.directives.push(G),Ie}getControl(G){return this.form.get(G.path)}removeControl(G){xe(G.control||null,G,!1),function cn(ie,le){const G=ie.indexOf(le);G>-1&&ie.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.submitted=!0,Lt(this.form,this.directives),this.ngSubmit.emit(G),"dialog"===G?.target?.method}onReset(){this.resetForm()}resetForm(G=void 0){this.form.reset(G),this.submitted=!1}_updateDomValue(){this.directives.forEach(G=>{const Ie=G.control,it=this.form.get(G.path);Ie!==it&&(xe(Ie||null,G),(ie=>ie instanceof Oi)(it)&&(rt(it,G,this.callSetDisabledState),G.control=it))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(G){const Ie=this.form.get(G.path);xi(Ie,G),Ie.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(G){if(this.form){const Ie=this.form.get(G.path);Ie&&function ji(ie,le){return kn(ie,le)}(Ie,G)&&Ie.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ln(this.form,this),this._oldForm&&kn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(oe,10),s.rXU(H,10),s.rXU($e,8))};static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["","formGroup",""]],hostBindings:function(Ie,it){1&Ie&&s.bIt("submit",function(ci){return it.onSubmit(ci)})("reset",function(){return it.onReset()})},inputs:{form:[s.Mj6.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s.Jv_([cr]),s.Vt3,s.OA$]})}return ie})();const aa={provide:Wn,useExisting:(0,s.Rfq)(()=>Ys)};let Ys=(()=>{class ie extends Wn{set isDisabled(G){}static#e=this._ngModelWarningSentOnce=!1;constructor(G,Ie,it,Tn,ci){super(),this._ngModelWarningConfig=ci,this._added=!1,this.name=null,this.update=new s.bkB,this._ngModelWarningSent=!1,this._parent=G,this._setValidators(Ie),this._setAsyncValidators(it),this.valueAccessor=bt(0,Tn)}ngOnChanges(G){this._added||this._setUpControl(),Ze(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 et(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#t=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(tn,13),s.rXU(oe,10),s.rXU(H,10),s.rXU(M,10),s.rXU(Ji,8))};static#n=this.\u0275dir=s.FsC({type:ie,selectors:[["","formControlName",""]],inputs:{name:[s.Mj6.None,"formControlName","name"],isDisabled:[s.Mj6.None,"disabled","isDisabled"],model:[s.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[s.Jv_([aa]),s.Vt3,s.OA$]})}return ie})();const er={provide:M,useExisting:(0,s.Rfq)(()=>ls),multi:!0};function Ls(ie,le){return null==ie?`${le}`:(le&&"object"==typeof le&&(le="Object"),`${ie}: ${le}`.slice(0,50))}let ls=(()=>{class ie extends w{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 it=Ls(this._getOptionId(G),G);this.setProperty("value",it)}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 lo(ie){return ie.split(":")[0]}(G);return this._optionMap.has(Ie)?this._optionMap.get(Ie):G}static#e=this.\u0275fac=(()=>{let G;return function(it){return(G||(G=s.xGo(ie)))(it||ie)}})();static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Ie,it){1&Ie&&s.bIt("change",function(ci){return it.onChange(ci.target.value)})("blur",function(){return it.onTouched()})},inputs:{compareWith:"compareWith"},features:[s.Jv_([er]),s.Vt3]})}return ie})(),Br=(()=>{class ie{constructor(G,Ie,it){this._element=G,this._renderer=Ie,this._select=it,this._select&&(this.id=this._select._registerOption())}set ngValue(G){null!=this._select&&(this._select._optionMap.set(this.id,G),this._setElementValue(Ls(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),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(s.aKT),s.rXU(s.sFG),s.rXU(ls,9))};static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return ie})();const ei={provide:M,useExisting:(0,s.Rfq)(()=>Xi),multi:!0};function tr(ie,le){return null==ie?`${le}`:("string"==typeof le&&(le=`'${le}'`),le&&"object"==typeof le&&(le="Object"),`${ie}: ${le}`.slice(0,50))}let Xi=(()=>{class ie extends w{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 it=G.map(Tn=>this._getOptionId(Tn));Ie=(Tn,ci)=>{Tn._setSelected(it.indexOf(ci.toString())>-1)}}else Ie=(it,Tn)=>{it._setSelected(!1)};this._optionMap.forEach(Ie)}registerOnChange(G){this.onChange=Ie=>{const it=[],Tn=Ie.selectedOptions;if(void 0!==Tn){const ci=Tn;for(let Rs=0;Rs{let G;return function(it){return(G||(G=s.xGo(ie)))(it||ie)}})();static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Ie,it){1&Ie&&s.bIt("change",function(ci){return it.onChange(ci.target)})("blur",function(){return it.onTouched()})},inputs:{compareWith:"compareWith"},features:[s.Jv_([ei]),s.Vt3]})}return ie})(),zr=(()=>{class ie{constructor(G,Ie,it){this._element=G,this._renderer=Ie,this._select=it,this._select&&(this.id=this._select._registerOption(this))}set ngValue(G){null!=this._select&&(this._value=G,this._setElementValue(tr(this.id,G)),this._select.writeValue(this._select.value))}set value(G){this._select?(this._value=G,this._setElementValue(tr(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#e=this.\u0275fac=function(Ie){return new(Ie||ie)(s.rXU(s.aKT),s.rXU(s.sFG),s.rXU(Xi,9))};static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return ie})();function Qo(ie){return"number"==typeof ie?ie:parseFloat(ie)}let Xs=(()=>{class ie{constructor(){this._validator=se}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):se,this._onChange&&this._onChange()}}validate(G){return this._validator(G)}registerOnValidatorChange(G){this._onChange=G}enabled(G){return null!=G}static#e=this.\u0275fac=function(Ie){return new(Ie||ie)};static#t=this.\u0275dir=s.FsC({type:ie,features:[s.OA$]})}return ie})();const Lo={provide:oe,useExisting:(0,s.Rfq)(()=>Ur),multi:!0};let Ur=(()=>{class ie extends Xs{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=G=>Qo(G),this.createValidator=G=>Pe(G)}static#e=this.\u0275fac=(()=>{let G;return function(it){return(G||(G=s.xGo(ie)))(it||ie)}})();static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ie,it){2&Ie&&s.BMQ("max",it._enabled?it.max:null)},inputs:{max:"max"},features:[s.Jv_([Lo]),s.Vt3]})}return ie})();const Ia={provide:oe,useExisting:(0,s.Rfq)(()=>hs),multi:!0};let hs=(()=>{class ie extends Xs{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=G=>Qo(G),this.createValidator=G=>de(G)}static#e=this.\u0275fac=(()=>{let G;return function(it){return(G||(G=s.xGo(ie)))(it||ie)}})();static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ie,it){2&Ie&&s.BMQ("min",it._enabled?it.min:null)},inputs:{min:"min"},features:[s.Jv_([Ia]),s.Vt3]})}return ie})();const uo={provide:oe,useExisting:(0,s.Rfq)(()=>ur),multi:!0};let ur=(()=>{class ie extends Xs{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=s.L39,this.createValidator=G=>W}enabled(G){return G}static#e=this.\u0275fac=(()=>{let G;return function(it){return(G||(G=s.xGo(ie)))(it||ie)}})();static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ie,it){2&Ie&&s.BMQ("required",it._enabled?"":null)},inputs:{required:"required"},features:[s.Jv_([uo]),s.Vt3]})}return ie})();const Bo={provide:oe,useExisting:(0,s.Rfq)(()=>Gr),multi:!0};let Gr=(()=>{class ie extends Xs{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=G=>function Xo(ie){return"number"==typeof ie?ie:parseInt(ie,10)}(G),this.createValidator=G=>$(G)}static#e=this.\u0275fac=(()=>{let G;return function(it){return(G||(G=s.xGo(ie)))(it||ie)}})();static#t=this.\u0275dir=s.FsC({type:ie,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Ie,it){2&Ie&&s.BMQ("maxlength",it._enabled?it.maxlength:null)},inputs:{maxlength:"maxlength"},features:[s.Jv_([Bo]),s.Vt3]})}return ie})(),nr=(()=>{class ie{static#e=this.\u0275fac=function(Ie){return new(Ie||ie)};static#t=this.\u0275mod=s.$C({type:ie});static#n=this.\u0275inj=s.G2t({})}return ie})();class Di extends Mt{constructor(le,G,Ie){super(ai(G),is(Ie,G)),this.controls=le,this._initObservables(),this._setUpdateStrategy(G),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(le){return this.controls[this._adjustIndex(le)]}push(le,G={}){this.controls.push(le),this._registerControl(le),this.updateValueAndValidity({emitEvent:G.emitEvent}),this._onCollectionChange()}insert(le,G,Ie={}){this.controls.splice(le,0,G),this._registerControl(G),this.updateValueAndValidity({emitEvent:Ie.emitEvent})}removeAt(le,G={}){let Ie=this._adjustIndex(le);Ie<0&&(Ie=0),this.controls[Ie]&&this.controls[Ie]._registerOnCollectionChange(()=>{}),this.controls.splice(Ie,1),this.updateValueAndValidity({emitEvent:G.emitEvent})}setControl(le,G,Ie={}){let it=this._adjustIndex(le);it<0&&(it=0),this.controls[it]&&this.controls[it]._registerOnCollectionChange(()=>{}),this.controls.splice(it,1),G&&(this.controls.splice(it,0,G),this._registerControl(G)),this.updateValueAndValidity({emitEvent:Ie.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(le,G={}){ct(this,0,le),le.forEach((Ie,it)=>{Fe(this,!1,it),this.at(it).setValue(Ie,{onlySelf:!0,emitEvent:G.emitEvent})}),this.updateValueAndValidity(G)}patchValue(le,G={}){null!=le&&(le.forEach((Ie,it)=>{this.at(it)&&this.at(it).patchValue(Ie,{onlySelf:!0,emitEvent:G.emitEvent})}),this.updateValueAndValidity(G))}reset(le=[],G={}){this._forEachChild((Ie,it)=>{Ie.reset(le[it],{onlySelf:!0,emitEvent:G.emitEvent})}),this._updatePristine(G),this._updateTouched(G),this.updateValueAndValidity(G)}getRawValue(){return this.controls.map(le=>le.getRawValue())}clear(le={}){this.controls.length<1||(this._forEachChild(G=>G._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:le.emitEvent}))}_adjustIndex(le){return le<0?le+this.length:le}_syncPendingControls(){let le=this.controls.reduce((G,Ie)=>!!Ie._syncPendingControls()||G,!1);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){this.controls.forEach((G,Ie)=>{le(G,Ie)})}_updateValue(){this.value=this.controls.filter(le=>le.enabled||this.disabled).map(le=>le.value)}_anyControls(le){return this.controls.some(G=>G.enabled&&le(G))}_setUpControls(){this._forEachChild(le=>this._registerControl(le))}_allControlsDisabled(){for(const le of this.controls)if(le.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(le){le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)}_find(le){return this.at(le)??null}}function po(ie){return!!ie&&(void 0!==ie.asyncValidators||void 0!==ie.validators||void 0!==ie.updateOn)}let Gs=(()=>{class ie{constructor(){this.useNonNullable=!1}get nonNullable(){const G=new ie;return G.useNonNullable=!0,G}group(G,Ie=null){const it=this._reduceControls(G);let Tn={};return po(Ie)?Tn=Ie:null!==Ie&&(Tn.validators=Ie.validator,Tn.asyncValidators=Ie.asyncValidator),new gn(it,Tn)}record(G,Ie=null){const it=this._reduceControls(G);return new st(it,Ie)}control(G,Ie,it){let Tn={};return this.useNonNullable?(po(Ie)?Tn=Ie:(Tn.validators=Ie,Tn.asyncValidators=it),new Oi(G,{...Tn,nonNullable:!0})):new Oi(G,Ie,it)}array(G,Ie,it){const Tn=G.map(ci=>this._createControl(ci));return new Di(Tn,Ie,it)}_reduceControls(G){const Ie={};return Object.keys(G).forEach(it=>{Ie[it]=this._createControl(G[it])}),Ie}_createControl(G){return G instanceof Oi||G instanceof Mt?G:Array.isArray(G)?this.control(G[0],G.length>1?G[1]:null,G.length>2?G[2]:null):this.control(G)}static#e=this.\u0275fac=function(Ie){return new(Ie||ie)};static#t=this.\u0275prov=s.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})(),go=(()=>{class ie{static withConfig(G){return{ngModule:ie,providers:[{provide:$e,useValue:G.callSetDisabledState??yt}]}}static#e=this.\u0275fac=function(Ie){return new(Ie||ie)};static#t=this.\u0275mod=s.$C({type:ie});static#n=this.\u0275inj=s.G2t({imports:[nr]})}return ie})(),Tr=(()=>{class ie{static withConfig(G){return{ngModule:ie,providers:[{provide:Ji,useValue:G.warnOnNgModelWithFormControl??"always"},{provide:$e,useValue:G.callSetDisabledState??yt}]}}static#e=this.\u0275fac=function(Ie){return new(Ie||ie)};static#t=this.\u0275mod=s.$C({type:ie});static#n=this.\u0275inj=s.G2t({imports:[nr]})}return ie})()},345:(Be,K,l)=>{"use strict";l.d(K,{B7:()=>te,Bb:()=>pi,W8:()=>Wt,hE:()=>dn,sG:()=>Kt,up:()=>Li});var s=l(54438),h=l(60177);class e extends h.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class u extends e{static makeCurrent(){(0,h.ZD)(new u)}onAndCancel(Et,Fe,ct){return Et.addEventListener(Fe,ct),()=>{Et.removeEventListener(Fe,ct)}}dispatchEvent(Et,Fe){Et.dispatchEvent(Fe)}remove(Et){Et.parentNode&&Et.parentNode.removeChild(Et)}createElement(Et,Fe){return(Fe=Fe||this.getDefaultDocument()).createElement(Et)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Et){return Et.nodeType===Node.ELEMENT_NODE}isShadowRoot(Et){return Et instanceof DocumentFragment}getGlobalEventTarget(Et,Fe){return"window"===Fe?window:"document"===Fe?Et:"body"===Fe?Et.body:null}getBaseHref(Et){const Fe=function C(){return m=m||document.querySelector("base"),m?m.getAttribute("href"):null}();return null==Fe?null:function w(pt){return new URL(pt,document.baseURI).pathname}(Fe)}resetBaseElement(){m=null}getUserAgent(){return window.navigator.userAgent}getCookie(Et){return(0,h._b)(document.cookie,Et)}}let m=null,b=(()=>{class pt{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(ct){return new(ct||pt)};static#t=this.\u0275prov=s.jDH({token:pt,factory:pt.\u0275fac})}return pt})();const R=new s.nKC("");let L=(()=>{class pt{constructor(Fe,ct){this._zone=ct,this._eventNameToPlugin=new Map,Fe.forEach(Mt=>{Mt.manager=this}),this._plugins=Fe.slice().reverse()}addEventListener(Fe,ct,Mt){return this._findPluginFor(ct).addEventListener(Fe,ct,Mt)}getZone(){return this._zone}_findPluginFor(Fe){let ct=this._eventNameToPlugin.get(Fe);if(ct)return ct;if(ct=this._plugins.find(gn=>gn.supports(Fe)),!ct)throw new s.wOt(5101,!1);return this._eventNameToPlugin.set(Fe,ct),ct}static#e=this.\u0275fac=function(ct){return new(ct||pt)(s.KVO(R),s.KVO(s.SKi))};static#t=this.\u0275prov=s.jDH({token:pt,factory:pt.\u0275fac})}return pt})();class x{constructor(Et){this._doc=Et}}const B="ng-app-id";let Y=(()=>{class pt{constructor(Fe,ct,Mt,gn={}){this.doc=Fe,this.appId=ct,this.nonce=Mt,this.platformId=gn,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,h.Vy)(gn),this.resetHostNodes()}addStyles(Fe){for(const ct of Fe)1===this.changeUsageCount(ct,1)&&this.onStyleAdded(ct)}removeStyles(Fe){for(const ct of Fe)this.changeUsageCount(ct,-1)<=0&&this.onStyleRemoved(ct)}ngOnDestroy(){const Fe=this.styleNodesInDOM;Fe&&(Fe.forEach(ct=>ct.remove()),Fe.clear());for(const ct of this.getAllStyles())this.onStyleRemoved(ct);this.resetHostNodes()}addHost(Fe){this.hostNodes.add(Fe);for(const ct of this.getAllStyles())this.addStyleToHost(Fe,ct)}removeHost(Fe){this.hostNodes.delete(Fe)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Fe){for(const ct of this.hostNodes)this.addStyleToHost(ct,Fe)}onStyleRemoved(Fe){const ct=this.styleRef;ct.get(Fe)?.elements?.forEach(Mt=>Mt.remove()),ct.delete(Fe)}collectServerRenderedStyles(){const Fe=this.doc.head?.querySelectorAll(`style[${B}="${this.appId}"]`);if(Fe?.length){const ct=new Map;return Fe.forEach(Mt=>{null!=Mt.textContent&&ct.set(Mt.textContent,Mt)}),ct}return null}changeUsageCount(Fe,ct){const Mt=this.styleRef;if(Mt.has(Fe)){const gn=Mt.get(Fe);return gn.usage+=ct,gn.usage}return Mt.set(Fe,{usage:ct,elements:[]}),ct}getStyleElement(Fe,ct){const Mt=this.styleNodesInDOM,gn=Mt?.get(ct);if(gn?.parentNode===Fe)return Mt.delete(ct),gn.removeAttribute(B),gn;{const Gn=this.doc.createElement("style");return this.nonce&&Gn.setAttribute("nonce",this.nonce),Gn.textContent=ct,this.platformIsServer&&Gn.setAttribute(B,this.appId),Fe.appendChild(Gn),Gn}}addStyleToHost(Fe,ct){const Mt=this.getStyleElement(Fe,ct),gn=this.styleRef,Gn=gn.get(ct)?.elements;Gn?Gn.push(Mt):gn.set(ct,{elements:[Mt],usage:1})}resetHostNodes(){const Fe=this.hostNodes;Fe.clear(),Fe.add(this.doc.head)}static#e=this.\u0275fac=function(ct){return new(ct||pt)(s.KVO(h.qQ),s.KVO(s.sZ2),s.KVO(s.BIS,8),s.KVO(s.Agw))};static#t=this.\u0275prov=s.jDH({token:pt,factory:pt.\u0275fac})}return pt})();const j={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/MathML/"},ve=/%COMP%/g,de=new s.nKC("",{providedIn:"root",factory:()=>!0});function J(pt,Et){return Et.map(Fe=>Fe.replace(ve,pt))}let te=(()=>{class pt{constructor(Fe,ct,Mt,gn,Gn,Ci,Ei,st=null){this.eventManager=Fe,this.sharedStylesHost=ct,this.appId=Mt,this.removeStylesOnCompDestroy=gn,this.doc=Gn,this.platformId=Ci,this.ngZone=Ei,this.nonce=st,this.rendererByCompId=new Map,this.platformIsServer=(0,h.Vy)(Ci),this.defaultRenderer=new q(Fe,Gn,Ei,this.platformIsServer)}createRenderer(Fe,ct){if(!Fe||!ct)return this.defaultRenderer;this.platformIsServer&&ct.encapsulation===s.gXe.ShadowDom&&(ct={...ct,encapsulation:s.gXe.Emulated});const Mt=this.getOrCreateRenderer(Fe,ct);return Mt instanceof je?Mt.applyToHost(Fe):Mt instanceof me&&Mt.applyStyles(),Mt}getOrCreateRenderer(Fe,ct){const Mt=this.rendererByCompId;let gn=Mt.get(ct.id);if(!gn){const Gn=this.doc,Ci=this.ngZone,Ei=this.eventManager,st=this.sharedStylesHost,Vt=this.removeStylesOnCompDestroy,$e=this.platformIsServer;switch(ct.encapsulation){case s.gXe.Emulated:gn=new je(Ei,st,ct,this.appId,Vt,Gn,Ci,$e);break;case s.gXe.ShadowDom:return new Ee(Ei,st,Fe,ct,Gn,Ci,this.nonce,$e);default:gn=new me(Ei,st,ct,Vt,Gn,Ci,$e)}Mt.set(ct.id,gn)}return gn}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(ct){return new(ct||pt)(s.KVO(L),s.KVO(Y),s.KVO(s.sZ2),s.KVO(de),s.KVO(h.qQ),s.KVO(s.Agw),s.KVO(s.SKi),s.KVO(s.BIS))};static#t=this.\u0275prov=s.jDH({token:pt,factory:pt.\u0275fac})}return pt})();class q{constructor(Et,Fe,ct,Mt){this.eventManager=Et,this.doc=Fe,this.ngZone=ct,this.platformIsServer=Mt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Et,Fe){return Fe?this.doc.createElementNS(j[Fe]||Fe,Et):this.doc.createElement(Et)}createComment(Et){return this.doc.createComment(Et)}createText(Et){return this.doc.createTextNode(Et)}appendChild(Et,Fe){(se(Et)?Et.content:Et).appendChild(Fe)}insertBefore(Et,Fe,ct){Et&&(se(Et)?Et.content:Et).insertBefore(Fe,ct)}removeChild(Et,Fe){Et&&Et.removeChild(Fe)}selectRootElement(Et,Fe){let ct="string"==typeof Et?this.doc.querySelector(Et):Et;if(!ct)throw new s.wOt(-5104,!1);return Fe||(ct.textContent=""),ct}parentNode(Et){return Et.parentNode}nextSibling(Et){return Et.nextSibling}setAttribute(Et,Fe,ct,Mt){if(Mt){Fe=Mt+":"+Fe;const gn=j[Mt];gn?Et.setAttributeNS(gn,Fe,ct):Et.setAttribute(Fe,ct)}else Et.setAttribute(Fe,ct)}removeAttribute(Et,Fe,ct){if(ct){const Mt=j[ct];Mt?Et.removeAttributeNS(Mt,Fe):Et.removeAttribute(`${ct}:${Fe}`)}else Et.removeAttribute(Fe)}addClass(Et,Fe){Et.classList.add(Fe)}removeClass(Et,Fe){Et.classList.remove(Fe)}setStyle(Et,Fe,ct,Mt){Mt&(s.czy.DashCase|s.czy.Important)?Et.style.setProperty(Fe,ct,Mt&s.czy.Important?"important":""):Et.style[Fe]=ct}removeStyle(Et,Fe,ct){ct&s.czy.DashCase?Et.style.removeProperty(Fe):Et.style[Fe]=""}setProperty(Et,Fe,ct){null!=Et&&(Et[Fe]=ct)}setValue(Et,Fe){Et.nodeValue=Fe}listen(Et,Fe,ct){if("string"==typeof Et&&!(Et=(0,h.QT)().getGlobalEventTarget(this.doc,Et)))throw new Error(`Unsupported event target ${Et} for event ${Fe}`);return this.eventManager.addEventListener(Et,Fe,this.decoratePreventDefault(ct))}decoratePreventDefault(Et){return Fe=>{if("__ngUnwrap__"===Fe)return Et;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Et(Fe)):Et(Fe))&&Fe.preventDefault()}}}function se(pt){return"TEMPLATE"===pt.tagName&&void 0!==pt.content}class Ee extends q{constructor(Et,Fe,ct,Mt,gn,Gn,Ci,Ei){super(Et,gn,Gn,Ei),this.sharedStylesHost=Fe,this.hostEl=ct,this.shadowRoot=ct.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const st=J(Mt.id,Mt.styles);for(const Vt of st){const $e=document.createElement("style");Ci&&$e.setAttribute("nonce",Ci),$e.textContent=Vt,this.shadowRoot.appendChild($e)}}nodeOrShadowRoot(Et){return Et===this.hostEl?this.shadowRoot:Et}appendChild(Et,Fe){return super.appendChild(this.nodeOrShadowRoot(Et),Fe)}insertBefore(Et,Fe,ct){return super.insertBefore(this.nodeOrShadowRoot(Et),Fe,ct)}removeChild(Et,Fe){return super.removeChild(this.nodeOrShadowRoot(Et),Fe)}parentNode(Et){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Et)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class me extends q{constructor(Et,Fe,ct,Mt,gn,Gn,Ci,Ei){super(Et,gn,Gn,Ci),this.sharedStylesHost=Fe,this.removeStylesOnCompDestroy=Mt,this.styles=Ei?J(Ei,ct.styles):ct.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class je extends me{constructor(Et,Fe,ct,Mt,gn,Gn,Ci,Ei){const st=Mt+"-"+ct.id;super(Et,Fe,ct,gn,Gn,Ci,Ei,st),this.contentAttr=function Pe(pt){return"_ngcontent-%COMP%".replace(ve,pt)}(st),this.hostAttr=function W(pt){return"_nghost-%COMP%".replace(ve,pt)}(st)}applyToHost(Et){this.applyStyles(),this.setAttribute(Et,this.hostAttr,"")}createElement(Et,Fe){const ct=super.createElement(Et,Fe);return super.setAttribute(ct,this.contentAttr,""),ct}}let Qe=(()=>{class pt extends x{constructor(Fe){super(Fe)}supports(Fe){return!0}addEventListener(Fe,ct,Mt){return Fe.addEventListener(ct,Mt,!1),()=>this.removeEventListener(Fe,ct,Mt)}removeEventListener(Fe,ct,Mt){return Fe.removeEventListener(ct,Mt)}static#e=this.\u0275fac=function(ct){return new(ct||pt)(s.KVO(h.qQ))};static#t=this.\u0275prov=s.jDH({token:pt,factory:pt.\u0275fac})}return pt})();const Ot=["alt","control","meta","shift"],mt={"\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"},Oe={alt:pt=>pt.altKey,control:pt=>pt.ctrlKey,meta:pt=>pt.metaKey,shift:pt=>pt.shiftKey};let Re=(()=>{class pt extends x{constructor(Fe){super(Fe)}supports(Fe){return null!=pt.parseEventName(Fe)}addEventListener(Fe,ct,Mt){const gn=pt.parseEventName(ct),Gn=pt.eventCallback(gn.fullKey,Mt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,h.QT)().onAndCancel(Fe,gn.domEventName,Gn))}static parseEventName(Fe){const ct=Fe.toLowerCase().split("."),Mt=ct.shift();if(0===ct.length||"keydown"!==Mt&&"keyup"!==Mt)return null;const gn=pt._normalizeKey(ct.pop());let Gn="",Ci=ct.indexOf("code");if(Ci>-1&&(ct.splice(Ci,1),Gn="code."),Ot.forEach(st=>{const Vt=ct.indexOf(st);Vt>-1&&(ct.splice(Vt,1),Gn+=st+".")}),Gn+=gn,0!=ct.length||0===gn.length)return null;const Ei={};return Ei.domEventName=Mt,Ei.fullKey=Gn,Ei}static matchEventFullKeyCode(Fe,ct){let Mt=mt[Fe.key]||Fe.key,gn="";return ct.indexOf("code.")>-1&&(Mt=Fe.code,gn="code."),!(null==Mt||!Mt)&&(Mt=Mt.toLowerCase()," "===Mt?Mt="space":"."===Mt&&(Mt="dot"),Ot.forEach(Gn=>{Gn!==Mt&&(0,Oe[Gn])(Fe)&&(gn+=Gn+".")}),gn+=Mt,gn===ct)}static eventCallback(Fe,ct,Mt){return gn=>{pt.matchEventFullKeyCode(gn,Fe)&&Mt.runGuarded(()=>ct(gn))}}static _normalizeKey(Fe){return"esc"===Fe?"escape":Fe}static#e=this.\u0275fac=function(ct){return new(ct||pt)(s.KVO(h.qQ))};static#t=this.\u0275prov=s.jDH({token:pt,factory:pt.\u0275fac})}return pt})();const Kt=(0,s.oH4)(s.fpN,"browser",[{provide:s.Agw,useValue:h.AJ},{provide:s.PLl,useValue:function We(){u.makeCurrent()},multi:!0},{provide:h.qQ,useFactory:function ft(){return(0,s.TL$)(document),document},deps:[]}]),wt=new s.nKC(""),tn=[{provide:s.e01,useClass:class M{addToWindow(Et){s.JZv.getAngularTestability=(ct,Mt=!0)=>{const gn=Et.findTestabilityInTree(ct,Mt);if(null==gn)throw new s.wOt(5103,!1);return gn},s.JZv.getAllAngularTestabilities=()=>Et.getAllTestabilities(),s.JZv.getAllAngularRootElements=()=>Et.getAllRootElements(),s.JZv.frameworkStabilizers||(s.JZv.frameworkStabilizers=[]),s.JZv.frameworkStabilizers.push(ct=>{const Mt=s.JZv.getAllAngularTestabilities();let gn=Mt.length;const Gn=function(){gn--,0==gn&&ct()};Mt.forEach(Ci=>{Ci.whenStable(Gn)})})}findTestabilityInTree(Et,Fe,ct){return null==Fe?null:Et.getTestability(Fe)??(ct?(0,h.QT)().isShadowRoot(Fe)?this.findTestabilityInTree(Et,Fe.host,!0):this.findTestabilityInTree(Et,Fe.parentElement,!0):null)}},deps:[]},{provide:s.WHO,useClass:s.NYb,deps:[s.SKi,s.giA,s.e01]},{provide:s.NYb,useClass:s.NYb,deps:[s.SKi,s.giA,s.e01]}],Wn=[{provide:s.H8p,useValue:"root"},{provide:s.zcH,useFactory:function ut(){return new s.zcH},deps:[]},{provide:R,useClass:Qe,multi:!0,deps:[h.qQ,s.SKi,s.Agw]},{provide:R,useClass:Re,multi:!0,deps:[h.qQ]},te,Y,L,{provide:s._9s,useExisting:te},{provide:h.N0,useClass:b,deps:[]},[]];let pi=(()=>{class pt{constructor(Fe){}static withServerTransition(Fe){return{ngModule:pt,providers:[{provide:s.sZ2,useValue:Fe.appId}]}}static#e=this.\u0275fac=function(ct){return new(ct||pt)(s.KVO(wt,12))};static#t=this.\u0275mod=s.$C({type:pt});static#n=this.\u0275inj=s.G2t({providers:[...Wn,...tn],imports:[h.MD,s.Hbi]})}return pt})(),Wt=(()=>{class pt{constructor(Fe){this._doc=Fe,this._dom=(0,h.QT)()}addTag(Fe,ct=!1){return Fe?this._getOrCreateElement(Fe,ct):null}addTags(Fe,ct=!1){return Fe?Fe.reduce((Mt,gn)=>(gn&&Mt.push(this._getOrCreateElement(gn,ct)),Mt),[]):[]}getTag(Fe){return Fe&&this._doc.querySelector(`meta[${Fe}]`)||null}getTags(Fe){if(!Fe)return[];const ct=this._doc.querySelectorAll(`meta[${Fe}]`);return ct?[].slice.call(ct):[]}updateTag(Fe,ct){if(!Fe)return null;ct=ct||this._parseSelector(Fe);const Mt=this.getTag(ct);return Mt?this._setMetaElementAttributes(Fe,Mt):this._getOrCreateElement(Fe,!0)}removeTag(Fe){this.removeTagElement(this.getTag(Fe))}removeTagElement(Fe){Fe&&this._dom.remove(Fe)}_getOrCreateElement(Fe,ct=!1){if(!ct){const Gn=this._parseSelector(Fe),Ci=this.getTags(Gn).filter(Ei=>this._containsAttributes(Fe,Ei))[0];if(void 0!==Ci)return Ci}const Mt=this._dom.createElement("meta");return this._setMetaElementAttributes(Fe,Mt),this._doc.getElementsByTagName("head")[0].appendChild(Mt),Mt}_setMetaElementAttributes(Fe,ct){return Object.keys(Fe).forEach(Mt=>ct.setAttribute(this._getMetaKeyMap(Mt),Fe[Mt])),ct}_parseSelector(Fe){const ct=Fe.name?"name":"property";return`${ct}="${Fe[ct]}"`}_containsAttributes(Fe,ct){return Object.keys(Fe).every(Mt=>ct.getAttribute(this._getMetaKeyMap(Mt))===Fe[Mt])}_getMetaKeyMap(Fe){return Zt[Fe]||Fe}static#e=this.\u0275fac=function(ct){return new(ct||pt)(s.KVO(h.qQ))};static#t=this.\u0275prov=s.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})();const Zt={httpEquiv:"http-equiv"};let dn=(()=>{class pt{constructor(Fe){this._doc=Fe}getTitle(){return this._doc.title}setTitle(Fe){this._doc.title=Fe||""}static#e=this.\u0275fac=function(ct){return new(ct||pt)(s.KVO(h.qQ))};static#t=this.\u0275prov=s.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})(),Li=(()=>{class pt{static#e=this.\u0275fac=function(ct){return new(ct||pt)};static#t=this.\u0275prov=s.jDH({token:pt,factory:function(ct){let Mt=null;return Mt=ct?new(ct||pt):s.KVO(Rn),Mt},providedIn:"root"})}return pt})(),Rn=(()=>{class pt extends Li{constructor(Fe){super(),this._doc=Fe}sanitize(Fe,ct){if(null==ct)return null;switch(Fe){case s.WPN.NONE:return ct;case s.WPN.HTML:return(0,s.ZF7)(ct,"HTML")?(0,s.rcV)(ct):(0,s.h9k)(this._doc,String(ct)).toString();case s.WPN.STYLE:return(0,s.ZF7)(ct,"Style")?(0,s.rcV)(ct):ct;case s.WPN.SCRIPT:if((0,s.ZF7)(ct,"Script"))return(0,s.rcV)(ct);throw new s.wOt(5200,!1);case s.WPN.URL:return(0,s.ZF7)(ct,"URL")?(0,s.rcV)(ct):(0,s.$MX)(String(ct));case s.WPN.RESOURCE_URL:if((0,s.ZF7)(ct,"ResourceURL"))return(0,s.rcV)(ct);throw new s.wOt(5201,!1);default:throw new s.wOt(5202,!1)}}bypassSecurityTrustHtml(Fe){return(0,s.Kcf)(Fe)}bypassSecurityTrustStyle(Fe){return(0,s.cWb)(Fe)}bypassSecurityTrustScript(Fe){return(0,s.UyX)(Fe)}bypassSecurityTrustUrl(Fe){return(0,s.osQ)(Fe)}bypassSecurityTrustResourceUrl(Fe){return(0,s.e5t)(Fe)}static#e=this.\u0275fac=function(ct){return new(ct||pt)(s.KVO(h.qQ))};static#t=this.\u0275prov=s.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})()},51188:(Be,K,l)=>{"use strict";l.d(K,{nX:()=>ts,nU:()=>Rn,j5:()=>cs,wF:()=>hi,L6:()=>oi,lW:()=>Jn,Z:()=>Ai,Ix:()=>ce,Wk:()=>Se,wQ:()=>lt,iI:()=>Cr,n3:()=>Br,OY:()=>Yi,Q0:()=>li,yJ:()=>Qt});var s=l(10467),h=l(54438),e=l(74402),u=l(22806),m=l(7673),C=l(84412),w=l(84572),M=l(9350),b=l(28793),R=l(59030),L=l(71203),x=l(18810),B=l(983),Y=l(30017),j=l(21413),ve=l(18359),oe=l(60177),H=l(96354),ae=l(25558),pe=l(96697),de=l(99172),Pe=l(5964),W=l(31397),J=l(61594),te=l(70274),q=l(88141),$=l(99437),Q=l(22816),se=l(39901),Ee=l(39974),me=l(54360);function je(O){return O<=0?()=>B.w:(0,Ee.N)((F,I)=>{let k=[];F.subscribe((0,me._)(I,ne=>{k.push(ne),O{for(const ne of k)I.next(ne);I.complete()},void 0,()=>{k=null}))})}var Qe=l(93774),Ot=l(33669),Oe=l(73703),Re=l(70980),Ve=l(99898),ye=l(56977),ht=l(26365),Ce=l(345);const We="primary",ut=Symbol("RouteTitle");class ft{constructor(F){this.params=F||{}}has(F){return Object.prototype.hasOwnProperty.call(this.params,F)}get(F){if(this.has(F)){const I=this.params[F];return Array.isArray(I)?I[0]:I}return null}getAll(F){if(this.has(F)){const I=this.params[F];return Array.isArray(I)?I:[I]}return[]}get keys(){return Object.keys(this.params)}}function vt(O){return new ft(O)}function Kt(O,F,I){const k=I.path.split("/");if(k.length>O.length||"full"===I.pathMatch&&(F.hasChildren()||k.lengthk[De]===ne)}return O===F}function Wt(O){return O.length>0?O[O.length-1]:null}function Zt(O){return(0,e.A)(O)?O:(0,h.jNT)(O)?(0,u.H)(Promise.resolve(O)):(0,m.of)(O)}const dn={exact:function fe(O,F,I){if(!On(O.segments,F.segments)||!nt(O.segments,F.segments,I)||O.numberOfChildren!==F.numberOfChildren)return!1;for(const k in F.children)if(!O.children[k]||!fe(O.children[k],F.children[k],I))return!1;return!0},subset:Le},Pt={exact:function dt(O,F){return tn(O,F)},subset:function _e(O,F){return Object.keys(F).length<=Object.keys(O).length&&Object.keys(F).every(I=>pi(O[I],F[I]))},ignored:()=>!0};function Ln(O,F,I){return dn[I.paths](O.root,F.root,I.matrixParams)&&Pt[I.queryParams](O.queryParams,F.queryParams)&&!("exact"===I.fragment&&O.fragment!==F.fragment)}function Le(O,F,I){return tt(O,F,F.segments,I)}function tt(O,F,I,k){if(O.segments.length>I.length){const ne=O.segments.slice(0,I.length);return!(!On(ne,I)||F.hasChildren()||!nt(ne,I,k))}if(O.segments.length===I.length){if(!On(O.segments,I)||!nt(O.segments,I,k))return!1;for(const ne in F.children)if(!O.children[ne]||!Le(O.children[ne],F.children[ne],k))return!1;return!0}{const ne=I.slice(0,O.segments.length),De=I.slice(O.segments.length);return!!(On(O.segments,ne)&&nt(O.segments,ne,k)&&O.children[We])&&tt(O.children[We],F,De,k)}}function nt(O,F,I){return F.every((k,ne)=>Pt[I](O[ne].parameters,k.parameters))}class St{constructor(F=new Qt([],{}),I={},k=null){this.root=F,this.queryParams=I,this.fragment=k}get queryParamMap(){return this._queryParamMap??=vt(this.queryParams),this._queryParamMap}toString(){return Ui.serialize(this)}}class Qt{constructor(F,I){this.segments=F,this.children=I,this.parent=null,Object.values(I).forEach(k=>k.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Kn(this)}}class En{constructor(F,I){this.path=F,this.parameters=I}get parameterMap(){return this._parameterMap??=vt(this.parameters),this._parameterMap}toString(){return pt(this)}}function On(O,F){return O.length===F.length&&O.every((I,k)=>I.path===F[k].path)}let Li=(()=>{class O{static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:()=>new Rn,providedIn:"root"})}return O})();class Rn{parse(F){const I=new $e(F);return new St(I.parseRootSegment(),I.parseQueryParams(),I.parseFragment())}serialize(F){const I=`/${Hn(F.root,!0)}`,k=function Fe(O){const F=Object.entries(O).map(([I,k])=>Array.isArray(k)?k.map(ne=>`${qn(I)}=${qn(ne)}`).join("&"):`${qn(I)}=${qn(k)}`).filter(I=>I);return F.length?`?${F.join("&")}`:""}(F.queryParams);return`${I}${k}${"string"==typeof F.fragment?`#${function es(O){return encodeURI(O)}(F.fragment)}`:""}`}}const Ui=new Rn;function Kn(O){return O.segments.map(F=>pt(F)).join("/")}function Hn(O,F){if(!O.hasChildren())return Kn(O);if(F){const I=O.children[We]?Hn(O.children[We],!1):"",k=[];return Object.entries(O.children).forEach(([ne,De])=>{ne!==We&&k.push(`${ne}:${Hn(De,!1)}`)}),k.length>0?`${I}(${k.join("//")})`:I}{const I=function Un(O,F){let I=[];return Object.entries(O.children).forEach(([k,ne])=>{k===We&&(I=I.concat(F(ne,k)))}),Object.entries(O.children).forEach(([k,ne])=>{k!==We&&(I=I.concat(F(ne,k)))}),I}(O,(k,ne)=>ne===We?[Hn(O.children[We],!1)]:[`${ne}:${Hn(k,!1)}`]);return 1===Object.keys(O.children).length&&null!=O.children[We]?`${Kn(O)}/${I[0]}`:`${Kn(O)}/(${I.join("//")})`}}function Hi(O){return encodeURIComponent(O).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qn(O){return Hi(O).replace(/%3B/gi,";")}function ai(O){return Hi(O).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function As(O){return decodeURIComponent(O)}function is(O){return As(O.replace(/\+/g,"%20"))}function pt(O){return`${ai(O.path)}${function Et(O){return Object.entries(O).map(([F,I])=>`;${ai(F)}=${ai(I)}`).join("")}(O.parameters)}`}const ct=/^[^\/()?;#]+/;function Mt(O){const F=O.match(ct);return F?F[0]:""}const gn=/^[^\/()?;=#]+/,Ci=/^[^=?&#]+/,st=/^[^&#]+/;class $e{constructor(F){this.url=F,this.remaining=F}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Qt([],{}):new Qt([],this.parseChildren())}parseQueryParams(){const F={};if(this.consumeOptional("?"))do{this.parseQueryParam(F)}while(this.consumeOptional("&"));return F}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const F=[];for(this.peekStartsWith("(")||F.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),F.push(this.parseSegment());let I={};this.peekStartsWith("/(")&&(this.capture("/"),I=this.parseParens(!0));let k={};return this.peekStartsWith("(")&&(k=this.parseParens(!1)),(F.length>0||Object.keys(I).length>0)&&(k[We]=new Qt(F,I)),k}parseSegment(){const F=Mt(this.remaining);if(""===F&&this.peekStartsWith(";"))throw new h.wOt(4009,!1);return this.capture(F),new En(As(F),this.parseMatrixParams())}parseMatrixParams(){const F={};for(;this.consumeOptional(";");)this.parseParam(F);return F}parseParam(F){const I=function Gn(O){const F=O.match(gn);return F?F[0]:""}(this.remaining);if(!I)return;this.capture(I);let k="";if(this.consumeOptional("=")){const ne=Mt(this.remaining);ne&&(k=ne,this.capture(k))}F[As(I)]=As(k)}parseQueryParam(F){const I=function Ei(O){const F=O.match(Ci);return F?F[0]:""}(this.remaining);if(!I)return;this.capture(I);let k="";if(this.consumeOptional("=")){const ze=function Vt(O){const F=O.match(st);return F?F[0]:""}(this.remaining);ze&&(k=ze,this.capture(k))}const ne=is(I),De=is(k);if(F.hasOwnProperty(ne)){let ze=F[ne];Array.isArray(ze)||(ze=[ze],F[ne]=ze),ze.push(De)}else F[ne]=De}parseParens(F){const I={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const k=Mt(this.remaining),ne=this.remaining[k.length];if("/"!==ne&&")"!==ne&&";"!==ne)throw new h.wOt(4010,!1);let De;k.indexOf(":")>-1?(De=k.slice(0,k.indexOf(":")),this.capture(De),this.capture(":")):F&&(De=We);const ze=this.parseChildren();I[De]=1===Object.keys(ze).length?ze[We]:new Qt([],ze),this.consumeOptional("//")}return I}peekStartsWith(F){return this.remaining.startsWith(F)}consumeOptional(F){return!!this.peekStartsWith(F)&&(this.remaining=this.remaining.substring(F.length),!0)}capture(F){if(!this.consumeOptional(F))throw new h.wOt(4011,!1)}}function yt(O){return O.segments.length>0?new Qt([],{[We]:O}):O}function et(O){const F={};for(const[k,ne]of Object.entries(O.children)){const De=et(ne);if(k===We&&0===De.segments.length&&De.hasChildren())for(const[ze,Nt]of Object.entries(De.children))F[ze]=Nt;else(De.segments.length>0||De.hasChildren())&&(F[k]=De)}return function rt(O){if(1===O.numberOfChildren&&O.children[We]){const F=O.children[We];return new Qt(O.segments.concat(F.segments),F.children)}return O}(new Qt(O.segments,F))}function xe(O){return O instanceof St}function Yt(O){let F;const ne=yt(function I(De){const ze={};for(const Tt of De.children){const Pn=I(Tt);ze[Tt.outlet]=Pn}const Nt=new Qt(De.url,ze);return De===O&&(F=Nt),Nt}(O.root));return F??ne}function ln(O,F,I,k){let ne=O;for(;ne.parent;)ne=ne.parent;if(0===F.length)return Ni(ne,ne,ne,I,k);const De=function xi(O){if("string"==typeof O[0]&&1===O.length&&"/"===O[0])return new ri(!0,0,O);let F=0,I=!1;const k=O.reduce((ne,De,ze)=>{if("object"==typeof De&&null!=De){if(De.outlets){const Nt={};return Object.entries(De.outlets).forEach(([Tt,Pn])=>{Nt[Tt]="string"==typeof Pn?Pn.split("/"):Pn}),[...ne,{outlets:Nt}]}if(De.segmentPath)return[...ne,De.segmentPath]}return"string"!=typeof De?[...ne,De]:0===ze?(De.split("/").forEach((Nt,Tt)=>{0==Tt&&"."===Nt||(0==Tt&&""===Nt?I=!0:".."===Nt?F++:""!=Nt&&ne.push(Nt))}),ne):[...ne,De]},[]);return new ri(I,F,k)}(F);if(De.toRoot())return Ni(ne,ne,new Qt([],{}),I,k);const ze=function ss(O,F,I){if(O.isAbsolute)return new ji(F,!0,0);if(!I)return new ji(F,!1,NaN);if(null===I.parent)return new ji(I,!0,0);const k=kn(O.commands[0])?0:1;return function mi(O,F,I){let k=O,ne=F,De=I;for(;De>ne;){if(De-=ne,k=k.parent,!k)throw new h.wOt(4005,!1);ne=k.segments.length}return new ji(k,!1,ne-De)}(I,I.segments.length-1+k,O.numberOfDoubleDots)}(De,ne,O),Nt=ze.processChildren?be(ze.segmentGroup,ze.index,De.commands):rs(ze.segmentGroup,ze.index,De.commands);return Ni(ne,ze.segmentGroup,Nt,I,k)}function kn(O){return"object"==typeof O&&null!=O&&!O.outlets&&!O.segmentPath}function di(O){return"object"==typeof O&&null!=O&&O.outlets}function Ni(O,F,I,k,ne){let ze,De={};k&&Object.entries(k).forEach(([Tt,Pn])=>{De[Tt]=Array.isArray(Pn)?Pn.map(Si=>`${Si}`):`${Pn}`}),ze=O===F?I:Qn(O,F,I);const Nt=yt(et(ze));return new St(Nt,De,ne)}function Qn(O,F,I){const k={};return Object.entries(O.children).forEach(([ne,De])=>{k[ne]=De===F?I:Qn(De,F,I)}),new Qt(O.segments,k)}class ri{constructor(F,I,k){if(this.isAbsolute=F,this.numberOfDoubleDots=I,this.commands=k,F&&k.length>0&&kn(k[0]))throw new h.wOt(4003,!1);const ne=k.find(di);if(ne&&ne!==Wt(k))throw new h.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ji{constructor(F,I,k){this.segmentGroup=F,this.processChildren=I,this.index=k}}function rs(O,F,I){if(O??=new Qt([],{}),0===O.segments.length&&O.hasChildren())return be(O,F,I);const k=function Ze(O,F,I){let k=0,ne=F;const De={match:!1,pathIndex:0,commandIndex:0};for(;ne=I.length)return De;const ze=O.segments[ne],Nt=I[k];if(di(Nt))break;const Tt=`${Nt}`,Pn=k0&&void 0===Tt)break;if(Tt&&Pn&&"object"==typeof Pn&&void 0===Pn.outlets){if(!cn(Tt,Pn,ze))return De;k+=2}else{if(!cn(Tt,{},ze))return De;k++}ne++}return{match:!0,pathIndex:ne,commandIndex:k}}(O,F,I),ne=I.slice(k.commandIndex);if(k.match&&k.pathIndexDe!==We)&&O.children[We]&&1===O.numberOfChildren&&0===O.children[We].segments.length){const De=be(O.children[We],F,I);return new Qt(O.segments,De.children)}return Object.entries(k).forEach(([De,ze])=>{"string"==typeof ze&&(ze=[ze]),null!==ze&&(ne[De]=rs(O.children[De],F,ze))}),Object.entries(O.children).forEach(([De,ze])=>{void 0===k[De]&&(ne[De]=ze)}),new Qt(O.segments,ne)}}function qe(O,F,I){const k=O.segments.slice(0,F);let ne=0;for(;ne{"string"==typeof k&&(k=[k]),null!==k&&(F[I]=qe(new Qt([],{}),0,k))}),F}function bt(O){const F={};return Object.entries(O).forEach(([I,k])=>F[I]=`${k}`),F}function cn(O,F,I){return O==I.path&&tn(F,I.parameters)}const an="imperative";var vn=function(O){return O[O.NavigationStart=0]="NavigationStart",O[O.NavigationEnd=1]="NavigationEnd",O[O.NavigationCancel=2]="NavigationCancel",O[O.NavigationError=3]="NavigationError",O[O.RoutesRecognized=4]="RoutesRecognized",O[O.ResolveStart=5]="ResolveStart",O[O.ResolveEnd=6]="ResolveEnd",O[O.GuardsCheckStart=7]="GuardsCheckStart",O[O.GuardsCheckEnd=8]="GuardsCheckEnd",O[O.RouteConfigLoadStart=9]="RouteConfigLoadStart",O[O.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",O[O.ChildActivationStart=11]="ChildActivationStart",O[O.ChildActivationEnd=12]="ChildActivationEnd",O[O.ActivationStart=13]="ActivationStart",O[O.ActivationEnd=14]="ActivationEnd",O[O.Scroll=15]="Scroll",O[O.NavigationSkipped=16]="NavigationSkipped",O}(vn||{});class Mn{constructor(F,I){this.id=F,this.url=I}}class Ai extends Mn{constructor(F,I,k="imperative",ne=null){super(F,I),this.type=vn.NavigationStart,this.navigationTrigger=k,this.restoredState=ne}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class hi extends Mn{constructor(F,I,k){super(F,I),this.urlAfterRedirects=k,this.type=vn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var zn=function(O){return O[O.Redirect=0]="Redirect",O[O.SupersededByNewNavigation=1]="SupersededByNewNavigation",O[O.NoDataFromResolver=2]="NoDataFromResolver",O[O.GuardRejected=3]="GuardRejected",O}(zn||{}),Oi=function(O){return O[O.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",O[O.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",O}(Oi||{});class cs extends Mn{constructor(F,I,k,ne){super(F,I),this.reason=k,this.code=ne,this.type=vn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Jn extends Mn{constructor(F,I,k,ne){super(F,I),this.reason=k,this.code=ne,this.type=vn.NavigationSkipped}}class oi extends Mn{constructor(F,I,k,ne){super(F,I),this.error=k,this.target=ne,this.type=vn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class jn extends Mn{constructor(F,I,k,ne){super(F,I),this.urlAfterRedirects=k,this.state=ne,this.type=vn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class os extends Mn{constructor(F,I,k,ne){super(F,I),this.urlAfterRedirects=k,this.state=ne,this.type=vn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ae extends Mn{constructor(F,I,k,ne,De){super(F,I),this.urlAfterRedirects=k,this.state=ne,this.shouldActivate=De,this.type=vn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Dt extends Mn{constructor(F,I,k,ne){super(F,I),this.urlAfterRedirects=k,this.state=ne,this.type=vn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Te extends Mn{constructor(F,I,k,ne){super(F,I),this.urlAfterRedirects=k,this.state=ne,this.type=vn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ye{constructor(F){this.route=F,this.type=vn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pn{constructor(F){this.route=F,this.type=vn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ke{constructor(F){this.snapshot=F,this.type=vn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nn{constructor(F){this.snapshot=F,this.type=vn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Es{constructor(F){this.snapshot=F,this.type=vn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rn{constructor(F){this.snapshot=F,this.type=vn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yi{constructor(F,I,k){this.routerEvent=F,this.position=I,this.anchor=k,this.type=vn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class wo{}class ra{constructor(F){this.url=F}}class vi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new pr,this.attachRef=null}}let pr=(()=>{class O{constructor(){this.contexts=new Map}onChildOutletCreated(I,k){const ne=this.getOrCreateContext(I);ne.outlet=k,this.contexts.set(I,ne)}onChildOutletDestroyed(I){const k=this.getContext(I);k&&(k.outlet=null,k.attachRef=null)}onOutletDeactivated(){const I=this.contexts;return this.contexts=new Map,I}onOutletReAttached(I){this.contexts=I}getOrCreateContext(I){let k=this.getContext(I);return k||(k=new vi,this.contexts.set(I,k)),k}getContext(I){return this.contexts.get(I)||null}static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})();class Rr{constructor(F){this._root=F}get root(){return this._root.value}parent(F){const I=this.pathFromRoot(F);return I.length>1?I[I.length-2]:null}children(F){const I=Ji(F,this._root);return I?I.children.map(k=>k.value):[]}firstChild(F){const I=Ji(F,this._root);return I&&I.children.length>0?I.children[0].value:null}siblings(F){const I=Ps(F,this._root);return I.length<2?[]:I[I.length-2].children.map(ne=>ne.value).filter(ne=>ne!==F)}pathFromRoot(F){return Ps(F,this._root).map(I=>I.value)}}function Ji(O,F){if(O===F.value)return F;for(const I of F.children){const k=Ji(O,I);if(k)return k}return null}function Ps(O,F){if(O===F.value)return[F];for(const I of F.children){const k=Ps(O,I);if(k.length)return k.unshift(F),k}return[]}class bs{constructor(F,I){this.value=F,this.children=I}toString(){return`TreeNode(${this.value})`}}function cr(O){const F={};return O&&O.children.forEach(I=>F[I.value.outlet]=I),F}class qs extends Rr{constructor(F,I){super(F),this.snapshot=I,Ys(this,F)}toString(){return this.snapshot.toString()}}function Fr(O){const F=function lr(O){const De=new Sr([],{},{},"",{},We,O,null,{});return new aa("",new bs(De,[]))}(O),I=new C.t([new En("",{})]),k=new C.t({}),ne=new C.t({}),De=new C.t({}),ze=new C.t(""),Nt=new ts(I,k,De,ze,ne,We,O,F.root);return Nt.snapshot=F.root,new qs(new bs(Nt,[]),F)}class ts{constructor(F,I,k,ne,De,ze,Nt,Tt){this.urlSubject=F,this.paramsSubject=I,this.queryParamsSubject=k,this.fragmentSubject=ne,this.dataSubject=De,this.outlet=ze,this.component=Nt,this._futureSnapshot=Tt,this.title=this.dataSubject?.pipe((0,H.T)(Pn=>Pn[ut]))??(0,m.of)(void 0),this.url=F,this.params=I,this.queryParams=k,this.fragment=ne,this.data=De}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,H.T)(F=>vt(F))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,H.T)(F=>vt(F))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function kr(O,F,I="emptyOnly"){let k;const{routeConfig:ne}=O;return k=null===F||"always"!==I&&""!==ne?.path&&(F.component||F.routeConfig?.loadComponent)?{params:{...O.params},data:{...O.data},resolve:{...O.data,...O._resolvedData??{}}}:{params:{...F.params,...O.params},data:{...F.data,...O.data},resolve:{...O.data,...F.data,...ne?.data,...O._resolvedData}},ne&&ls(ne)&&(k.resolve[ut]=ne.title),k}class Sr{get title(){return this.data?.[ut]}constructor(F,I,k,ne,De,ze,Nt,Tt,Pn){this.url=F,this.params=I,this.queryParams=k,this.fragment=ne,this.data=De,this.outlet=ze,this.component=Nt,this.routeConfig=Tt,this._resolve=Pn}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??=vt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=vt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(k=>k.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class aa extends Rr{constructor(F,I){super(I),this.url=F,Ys(this,I)}toString(){return er(this._root)}}function Ys(O,F){F.value._routerState=O,F.children.forEach(I=>Ys(O,I))}function er(O){const F=O.children.length>0?` { ${O.children.map(er).join(", ")} } `:"";return`${O.value}${F}`}function Ls(O){if(O.snapshot){const F=O.snapshot,I=O._futureSnapshot;O.snapshot=I,tn(F.queryParams,I.queryParams)||O.queryParamsSubject.next(I.queryParams),F.fragment!==I.fragment&&O.fragmentSubject.next(I.fragment),tn(F.params,I.params)||O.paramsSubject.next(I.params),function wt(O,F){if(O.length!==F.length)return!1;for(let I=0;Itn(I.parameters,F[k].parameters))}(O.url,F.url);return I&&!(!O.parent!=!F.parent)&&(!O.parent||lo(O.parent,F.parent))}function ls(O){return"string"==typeof O.title||null===O.title}let Br=(()=>{class O{constructor(){this.activated=null,this._activatedRoute=null,this.name=We,this.activateEvents=new h.bkB,this.deactivateEvents=new h.bkB,this.attachEvents=new h.bkB,this.detachEvents=new h.bkB,this.parentContexts=(0,h.WQX)(pr),this.location=(0,h.WQX)(h.c1b),this.changeDetector=(0,h.WQX)(h.gRc),this.environmentInjector=(0,h.WQX)(h.uvJ),this.inputBinder=(0,h.WQX)(tr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(I){if(I.name){const{firstChange:k,previousValue:ne}=I.name;if(k)return;this.isTrackedInParentContexts(ne)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ne)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(I){return this.parentContexts.getContext(I)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const I=this.parentContexts.getContext(this.name);I?.route&&(I.attachRef?this.attach(I.attachRef,I.route):this.activateWith(I.route,I.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new h.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new h.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new h.wOt(4012,!1);this.location.detach();const I=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(I.instance),I}attach(I,k){this.activated=I,this._activatedRoute=k,this.location.insert(I.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(I.instance)}deactivate(){if(this.activated){const I=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(I)}}activateWith(I,k){if(this.isActivated)throw new h.wOt(4013,!1);this._activatedRoute=I;const ne=this.location,ze=I.snapshot.component,Nt=this.parentContexts.getOrCreateContext(this.name).children,Tt=new ei(I,Nt,ne.injector);this.activated=ne.createComponent(ze,{index:ne.length,injector:Tt,environmentInjector:k??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275dir=h.FsC({type:O,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[h.OA$]})}return O})();class ei{__ngOutletInjector(F){return new ei(this.route,this.childContexts,F)}constructor(F,I,k){this.route=F,this.childContexts=I,this.parent=k}get(F,I){return F===ts?this.route:F===pr?this.childContexts:this.parent.get(F,I)}}const tr=new h.nKC("");let Po=(()=>{class O{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(I){this.unsubscribeFromRouteData(I),this.subscribeToRouteData(I)}unsubscribeFromRouteData(I){this.outletDataSubscriptions.get(I)?.unsubscribe(),this.outletDataSubscriptions.delete(I)}subscribeToRouteData(I){const{activatedRoute:k}=I,ne=(0,w.z)([k.queryParams,k.params,k.data]).pipe((0,ae.n)(([De,ze,Nt],Tt)=>(Nt={...De,...ze,...Nt},0===Tt?(0,m.of)(Nt):Promise.resolve(Nt)))).subscribe(De=>{if(!I.isActivated||!I.activatedComponentRef||I.activatedRoute!==k||null===k.component)return void this.unsubscribeFromRouteData(I);const ze=(0,h.HJs)(k.component);if(ze)for(const{templateName:Nt}of ze.inputs)I.activatedComponentRef.setInput(Nt,De[Nt]);else this.unsubscribeFromRouteData(I)});this.outletDataSubscriptions.set(I,ne)}static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac})}return O})();function Xi(O,F,I){if(I&&O.shouldReuseRoute(F.value,I.value.snapshot)){const k=I.value;k._futureSnapshot=F.value;const ne=function zr(O,F,I){return F.children.map(k=>{for(const ne of I.children)if(O.shouldReuseRoute(k.value,ne.value.snapshot))return Xi(O,k,ne);return Xi(O,k)})}(O,F,I);return new bs(k,ne)}{if(O.shouldAttach(F.value)){const De=O.retrieve(F.value);if(null!==De){const ze=De.route;return ze.value._futureSnapshot=F.value,ze.children=F.children.map(Nt=>Xi(O,Nt)),ze}}const k=function Xo(O){return new ts(new C.t(O.url),new C.t(O.params),new C.t(O.queryParams),new C.t(O.fragment),new C.t(O.data),O.outlet,O.component,O)}(F.value),ne=F.children.map(De=>Xi(O,De));return new bs(k,ne)}}const Qo="ngNavigationCancelingError";function Xs(O,F){const{redirectTo:I,navigationBehaviorOptions:k}=xe(F)?{redirectTo:F,navigationBehaviorOptions:void 0}:F,ne=Lo(!1,zn.Redirect);return ne.url=I,ne.navigationBehaviorOptions=k,ne}function Lo(O,F){const I=new Error(`NavigationCancelingError: ${O||""}`);return I[Qo]=!0,I.cancellationCode=F,I}function Ia(O){return!!O&&O[Qo]}let hs=(()=>{class O{static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275cmp=h.VBU({type:O,selectors:[["ng-component"]],standalone:!0,features:[h.aNF],decls:1,vars:0,template:function(k,ne){1&k&&h.nrm(0,"router-outlet")},dependencies:[Br],encapsulation:2})}return O})();function Gr(O){const F=O.children&&O.children.map(Gr),I=F?{...O,children:F}:{...O};return!I.component&&!I.loadComponent&&(F||I.loadChildren)&&I.outlet&&I.outlet!==We&&(I.component=hs),I}function Mi(O){return O.outlet||We}function xs(O){if(!O)return null;if(O.routeConfig?._injector)return O.routeConfig._injector;for(let F=O.parent;F;F=F.parent){const I=F.routeConfig;if(I?._loadedInjector)return I._loadedInjector;if(I?._injector)return I._injector}return null}class nr{constructor(F,I,k,ne,De){this.routeReuseStrategy=F,this.futureState=I,this.currState=k,this.forwardEvent=ne,this.inputBindingEnabled=De}activate(F){const I=this.futureState._root,k=this.currState?this.currState._root:null;this.deactivateChildRoutes(I,k,F),Ls(this.futureState.root),this.activateChildRoutes(I,k,F)}deactivateChildRoutes(F,I,k){const ne=cr(I);F.children.forEach(De=>{const ze=De.value.outlet;this.deactivateRoutes(De,ne[ze],k),delete ne[ze]}),Object.values(ne).forEach(De=>{this.deactivateRouteAndItsChildren(De,k)})}deactivateRoutes(F,I,k){const ne=F.value,De=I?I.value:null;if(ne===De)if(ne.component){const ze=k.getContext(ne.outlet);ze&&this.deactivateChildRoutes(F,I,ze.children)}else this.deactivateChildRoutes(F,I,k);else De&&this.deactivateRouteAndItsChildren(I,k)}deactivateRouteAndItsChildren(F,I){F.value.component&&this.routeReuseStrategy.shouldDetach(F.value.snapshot)?this.detachAndStoreRouteSubtree(F,I):this.deactivateRouteAndOutlet(F,I)}detachAndStoreRouteSubtree(F,I){const k=I.getContext(F.value.outlet),ne=k&&F.value.component?k.children:I,De=cr(F);for(const ze of Object.values(De))this.deactivateRouteAndItsChildren(ze,ne);if(k&&k.outlet){const ze=k.outlet.detach(),Nt=k.children.onOutletDeactivated();this.routeReuseStrategy.store(F.value.snapshot,{componentRef:ze,route:F,contexts:Nt})}}deactivateRouteAndOutlet(F,I){const k=I.getContext(F.value.outlet),ne=k&&F.value.component?k.children:I,De=cr(F);for(const ze of Object.values(De))this.deactivateRouteAndItsChildren(ze,ne);k&&(k.outlet&&(k.outlet.deactivate(),k.children.onOutletDeactivated()),k.attachRef=null,k.route=null)}activateChildRoutes(F,I,k){const ne=cr(I);F.children.forEach(De=>{this.activateRoutes(De,ne[De.value.outlet],k),this.forwardEvent(new rn(De.value.snapshot))}),F.children.length&&this.forwardEvent(new Nn(F.value.snapshot))}activateRoutes(F,I,k){const ne=F.value,De=I?I.value:null;if(Ls(ne),ne===De)if(ne.component){const ze=k.getOrCreateContext(ne.outlet);this.activateChildRoutes(F,I,ze.children)}else this.activateChildRoutes(F,I,k);else if(ne.component){const ze=k.getOrCreateContext(ne.outlet);if(this.routeReuseStrategy.shouldAttach(ne.snapshot)){const Nt=this.routeReuseStrategy.retrieve(ne.snapshot);this.routeReuseStrategy.store(ne.snapshot,null),ze.children.onOutletReAttached(Nt.contexts),ze.attachRef=Nt.componentRef,ze.route=Nt.route.value,ze.outlet&&ze.outlet.attach(Nt.componentRef,Nt.route.value),Ls(Nt.route.value),this.activateChildRoutes(F,null,ze.children)}else{const Nt=xs(ne.snapshot);ze.attachRef=null,ze.route=ne,ze.injector=Nt,ze.outlet&&ze.outlet.activateWith(ne,ze.injector),this.activateChildRoutes(F,null,ze.children)}}else this.activateChildRoutes(F,null,k)}}class Di{constructor(F){this.path=F,this.route=this.path[this.path.length-1]}}class gr{constructor(F,I){this.component=F,this.route=I}}function ka(O,F,I){const k=O._root;return Vr(k,F?F._root:null,I,[k.value])}function Gs(O,F){const I=Symbol(),k=F.get(O,I);return k===I?"function"!=typeof O||(0,h.LfX)(O)?F.get(O):O:k}function Vr(O,F,I,k,ne={canDeactivateChecks:[],canActivateChecks:[]}){const De=cr(F);return O.children.forEach(ze=>{(function hr(O,F,I,k,ne={canDeactivateChecks:[],canActivateChecks:[]}){const De=O.value,ze=F?F.value:null,Nt=I?I.getContext(O.value.outlet):null;if(ze&&De.routeConfig===ze.routeConfig){const Tt=function yr(O,F,I){if("function"==typeof I)return I(O,F);switch(I){case"pathParamsChange":return!On(O.url,F.url);case"pathParamsOrQueryParamsChange":return!On(O.url,F.url)||!tn(O.queryParams,F.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!lo(O,F)||!tn(O.queryParams,F.queryParams);default:return!lo(O,F)}}(ze,De,De.routeConfig.runGuardsAndResolvers);Tt?ne.canActivateChecks.push(new Di(k)):(De.data=ze.data,De._resolvedData=ze._resolvedData),Vr(O,F,De.component?Nt?Nt.children:null:I,k,ne),Tt&&Nt&&Nt.outlet&&Nt.outlet.isActivated&&ne.canDeactivateChecks.push(new gr(Nt.outlet.component,ze))}else ze&&go(F,Nt,ne),ne.canActivateChecks.push(new Di(k)),Vr(O,null,De.component?Nt?Nt.children:null:I,k,ne)})(ze,De[ze.value.outlet],I,k.concat([ze.value]),ne),delete De[ze.value.outlet]}),Object.entries(De).forEach(([ze,Nt])=>go(Nt,I.getContext(ze),ne)),ne}function go(O,F,I){const k=cr(O),ne=O.value;Object.entries(k).forEach(([De,ze])=>{go(ze,ne.component?F?F.children.getContext(De):null:F,I)}),I.canDeactivateChecks.push(new gr(ne.component&&F&&F.outlet&&F.outlet.isActivated?F.outlet.component:null,ne))}function Tr(O){return"function"==typeof O}function ci(O){return O instanceof M.G||"EmptyError"===O?.name}const Rs=Symbol("INITIAL_VALUE");function _r(){return(0,ae.n)(O=>(0,w.z)(O.map(F=>F.pipe((0,pe.s)(1),(0,de.Z)(Rs)))).pipe((0,H.T)(F=>{for(const I of F)if(!0!==I){if(I===Rs)return Rs;if(!1===I||I instanceof St)return I}return!0}),(0,Pe.p)(F=>F!==Rs),(0,pe.s)(1)))}function Wc(O){return(0,L.F)((0,q.M)(F=>{if(xe(F))throw Xs(0,F)}),(0,H.T)(F=>!0===F))}class en{constructor(F){this.segmentGroup=F||null}}class Ga extends Error{constructor(F){super(),this.urlTree=F}}function ti(O){return(0,x.$)(new en(O))}class $r{constructor(F,I){this.urlSerializer=F,this.urlTree=I}lineralizeSegments(F,I){let k=[],ne=I.root;for(;;){if(k=k.concat(ne.segments),0===ne.numberOfChildren)return(0,m.of)(k);if(ne.numberOfChildren>1||!ne.children[We])return(0,x.$)(new h.wOt(4e3,!1));ne=ne.children[We]}}applyRedirectCommands(F,I,k){const ne=this.applyRedirectCreateUrlTree(I,this.urlSerializer.parse(I),F,k);if(I.startsWith("/"))throw new Ga(ne);return ne}applyRedirectCreateUrlTree(F,I,k,ne){const De=this.createSegmentGroup(F,I.root,k,ne);return new St(De,this.createQueryParams(I.queryParams,this.urlTree.queryParams),I.fragment)}createQueryParams(F,I){const k={};return Object.entries(F).forEach(([ne,De])=>{if("string"==typeof De&&De.startsWith(":")){const Nt=De.substring(1);k[ne]=I[Nt]}else k[ne]=De}),k}createSegmentGroup(F,I,k,ne){const De=this.createSegments(F,I.segments,k,ne);let ze={};return Object.entries(I.children).forEach(([Nt,Tt])=>{ze[Nt]=this.createSegmentGroup(F,Tt,k,ne)}),new Qt(De,ze)}createSegments(F,I,k,ne){return I.map(De=>De.path.startsWith(":")?this.findPosParam(F,De,ne):this.findOrReturn(De,k))}findPosParam(F,I,k){const ne=k[I.path.substring(1)];if(!ne)throw new h.wOt(4001,!1);return ne}findOrReturn(F,I){let k=0;for(const ne of I){if(ne.path===F.path)return I.splice(k),ne;k++}return F}}const ot={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function wi(O,F,I,k,ne){const De=$n(O,F,I);return De.matched?(k=function uo(O,F){return O.providers&&!O._injector&&(O._injector=(0,h.Ol2)(O.providers,F,`Route: ${O.path}`)),O._injector??F}(F,k),function Uo(O,F,I,k){const ne=F.canMatch;if(!ne||0===ne.length)return(0,m.of)(!0);const De=ne.map(ze=>{const Nt=Gs(ze,O);return Zt(function Tn(O){return O&&Tr(O.canMatch)}(Nt)?Nt.canMatch(F,I):(0,h.N4e)(O,()=>Nt(F,I)))});return(0,m.of)(De).pipe(_r(),Wc())}(k,F,I).pipe((0,H.T)(ze=>!0===ze?De:{...ot}))):(0,m.of)(De)}function $n(O,F,I){if("**"===F.path)return function Ss(O){return{matched:!0,parameters:O.length>0?Wt(O).parameters:{},consumedSegments:O,remainingSegments:[],positionalParamSegments:{}}}(I);if(""===F.path)return"full"===F.pathMatch&&(O.hasChildren()||I.length>0)?{...ot}:{matched:!0,consumedSegments:[],remainingSegments:I,parameters:{},positionalParamSegments:{}};const ne=(F.matcher||Kt)(I,O,F);if(!ne)return{...ot};const De={};Object.entries(ne.posParams??{}).forEach(([Nt,Tt])=>{De[Nt]=Tt.path});const ze=ne.consumed.length>0?{...De,...ne.consumed[ne.consumed.length-1].parameters}:De;return{matched:!0,consumedSegments:ne.consumed,remainingSegments:I.slice(ne.consumed.length),parameters:ze,positionalParamSegments:ne.posParams??{}}}function In(O,F,I,k){return I.length>0&&function Vs(O,F,I){return I.some(k=>mr(O,F,k)&&Mi(k)!==We)}(O,I,k)?{segmentGroup:new Qt(F,on(k,new Qt(I,O.children))),slicedSegments:[]}:0===I.length&&function $a(O,F,I){return I.some(k=>mr(O,F,k))}(O,I,k)?{segmentGroup:new Qt(O.segments,Vi(O,I,k,O.children)),slicedSegments:I}:{segmentGroup:new Qt(O.segments,O.children),slicedSegments:I}}function Vi(O,F,I,k){const ne={};for(const De of I)if(mr(O,F,De)&&!k[Mi(De)]){const ze=new Qt([],{});ne[Mi(De)]=ze}return{...k,...ne}}function on(O,F){const I={};I[We]=F;for(const k of O)if(""===k.path&&Mi(k)!==We){const ne=new Qt([],{});I[Mi(k)]=ne}return I}function mr(O,F,I){return(!(O.hasChildren()||F.length>0)||"full"!==I.pathMatch)&&""===I.path}class $s{}class Hc{constructor(F,I,k,ne,De,ze,Nt){this.injector=F,this.configLoader=I,this.rootComponentType=k,this.config=ne,this.urlTree=De,this.paramsInheritanceStrategy=ze,this.urlSerializer=Nt,this.applyRedirects=new $r(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(F){return new h.wOt(4002,`'${F.segmentGroup}'`)}recognize(){const F=In(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(F).pipe((0,H.T)(I=>{const k=new Sr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},We,this.rootComponentType,null,{}),ne=new bs(k,I),De=new aa("",ne),ze=function Je(O,F,I=null,k=null){return ln(Yt(O),F,I,k)}(k,[],this.urlTree.queryParams,this.urlTree.fragment);return ze.queryParams=this.urlTree.queryParams,De.url=this.urlSerializer.serialize(ze),this.inheritParamsAndData(De._root,null),{state:De,tree:ze}}))}match(F){return this.processSegmentGroup(this.injector,this.config,F,We).pipe((0,$.W)(k=>{if(k instanceof Ga)return this.urlTree=k.urlTree,this.match(k.urlTree.root);throw k instanceof en?this.noMatchError(k):k}))}inheritParamsAndData(F,I){const k=F.value,ne=kr(k,I,this.paramsInheritanceStrategy);k.params=Object.freeze(ne.params),k.data=Object.freeze(ne.data),F.children.forEach(De=>this.inheritParamsAndData(De,k))}processSegmentGroup(F,I,k,ne){return 0===k.segments.length&&k.hasChildren()?this.processChildren(F,I,k):this.processSegment(F,I,k,k.segments,ne,!0).pipe((0,H.T)(De=>De instanceof bs?[De]:[]))}processChildren(F,I,k){const ne=[];for(const De of Object.keys(k.children))"primary"===De?ne.unshift(De):ne.push(De);return(0,u.H)(ne).pipe((0,te.H)(De=>{const ze=k.children[De],Nt=function ho(O,F){const I=O.filter(k=>Mi(k)===F);return I.push(...O.filter(k=>Mi(k)!==F)),I}(I,De);return this.processSegmentGroup(F,Nt,ze,De)}),(0,Q.S)((De,ze)=>(De.push(...ze),De)),(0,se.U)(null),function mt(O,F){const I=arguments.length>=2;return k=>k.pipe(O?(0,Pe.p)((ne,De)=>O(ne,De,k)):Ot.D,je(1),I?(0,se.U)(F):(0,Qe.v)(()=>new M.G))}(),(0,W.Z)(De=>{if(null===De)return ti(k);const ze=Mr(De);return function Ms(O){O.sort((F,I)=>F.value.outlet===We?-1:I.value.outlet===We?1:F.value.outlet.localeCompare(I.value.outlet))}(ze),(0,m.of)(ze)}))}processSegment(F,I,k,ne,De,ze){return(0,u.H)(I).pipe((0,te.H)(Nt=>this.processSegmentAgainstRoute(Nt._injector??F,I,Nt,k,ne,De,ze).pipe((0,$.W)(Tt=>{if(Tt instanceof en)return(0,m.of)(null);throw Tt}))),(0,J.$)(Nt=>!!Nt),(0,$.W)(Nt=>{if(ci(Nt))return function vo(O,F,I){return 0===F.length&&!O.children[I]}(k,ne,De)?(0,m.of)(new $s):ti(k);throw Nt}))}processSegmentAgainstRoute(F,I,k,ne,De,ze,Nt){return function zo(O,F,I,k){return!!(Mi(O)===k||k!==We&&mr(F,I,O))&&$n(F,O,I).matched}(k,ne,De,ze)?void 0===k.redirectTo?this.matchSegmentAgainstRoute(F,ne,k,De,ze):this.allowRedirects&&Nt?this.expandSegmentAgainstRouteUsingRedirect(F,ne,I,k,De,ze):ti(ne):ti(ne)}expandSegmentAgainstRouteUsingRedirect(F,I,k,ne,De,ze){const{matched:Nt,consumedSegments:Tt,positionalParamSegments:Pn,remainingSegments:Si}=$n(I,ne,De);if(!Nt)return ti(I);ne.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ti=this.applyRedirects.applyRedirectCommands(Tt,ne.redirectTo,Pn);return this.applyRedirects.lineralizeSegments(ne,Ti).pipe((0,W.Z)(ks=>this.processSegment(F,k,I,ks.concat(Si),ze,!1)))}matchSegmentAgainstRoute(F,I,k,ne,De){const ze=wi(I,k,ne,F);return"**"===k.path&&(I.children={}),ze.pipe((0,ae.n)(Nt=>Nt.matched?this.getChildConfig(F=k._injector??F,k,ne).pipe((0,ae.n)(({routes:Tt})=>{const Pn=k._loadedInjector??F,{consumedSegments:Si,remainingSegments:Ti,parameters:ks}=Nt,pc=new Sr(Si,ks,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function qr(O){return O.data||{}}(k),Mi(k),k.component??k._loadedComponent??null,k,function sr(O){return O.resolve||{}}(k)),{segmentGroup:gc,slicedSegments:_c}=In(I,Si,Ti,Tt);if(0===_c.length&&gc.hasChildren())return this.processChildren(Pn,Tt,gc).pipe((0,H.T)(Jo=>null===Jo?null:new bs(pc,Jo)));if(0===Tt.length&&0===_c.length)return(0,m.of)(new bs(pc,[]));const Kc=Mi(k)===De;return this.processSegment(Pn,Tt,gc,_c,Kc?We:De,!0).pipe((0,H.T)(Jo=>new bs(pc,Jo instanceof bs?[Jo]:[])))})):ti(I)))}getChildConfig(F,I,k){return I.children?(0,m.of)({routes:I.children,injector:F}):I.loadChildren?void 0!==I._loadedRoutes?(0,m.of)({routes:I._loadedRoutes,injector:I._loadedInjector}):function wl(O,F,I,k){const ne=F.canLoad;if(void 0===ne||0===ne.length)return(0,m.of)(!0);const De=ne.map(ze=>{const Nt=Gs(ze,O);return Zt(function le(O){return O&&Tr(O.canLoad)}(Nt)?Nt.canLoad(F,I):(0,h.N4e)(O,()=>Nt(F,I)))});return(0,m.of)(De).pipe(_r(),Wc())}(F,I,k).pipe((0,W.Z)(ne=>ne?this.configLoader.loadChildren(F,I).pipe((0,q.M)(De=>{I._loadedRoutes=De.routes,I._loadedInjector=De.injector})):function Va(O){return(0,x.$)(Lo(!1,zn.GuardRejected))}())):(0,m.of)({routes:[],injector:F})}}function la(O){const F=O.value.routeConfig;return F&&""===F.path}function Mr(O){const F=[],I=new Set;for(const k of O){if(!la(k)){F.push(k);continue}const ne=F.find(De=>k.value.routeConfig===De.value.routeConfig);void 0!==ne?(ne.children.push(...k.children),I.add(ne)):F.push(k)}for(const k of I){const ne=Mr(k.children);F.push(new bs(k.value,ne))}return F.filter(k=>!I.has(k))}function Eo(O){const F=O.children.map(I=>Eo(I)).flat();return[O,...F]}function Qs(O){return(0,ae.n)(F=>{const I=O(F);return I?(0,u.H)(I).pipe((0,H.T)(()=>F)):(0,m.of)(F)})}let Nr=(()=>{class O{buildTitle(I){let k,ne=I.root;for(;void 0!==ne;)k=this.getResolvedTitleForRoute(ne)??k,ne=ne.children.find(De=>De.outlet===We);return k}getResolvedTitleForRoute(I){return I.data[ut]}static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:()=>(0,h.WQX)(Aa),providedIn:"root"})}return O})(),Aa=(()=>{class O extends Nr{constructor(I){super(),this.title=I}updateTitle(I){const k=this.buildTitle(I);void 0!==k&&this.title.setTitle(k)}static#e=this.\u0275fac=function(k){return new(k||O)(h.KVO(Ce.hE))};static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})();const eo=new h.nKC("",{providedIn:"root",factory:()=>({})}),to=new h.nKC("");let wr=(()=>{class O{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,h.WQX)(h.Ql9)}loadComponent(I){if(this.componentLoaders.get(I))return this.componentLoaders.get(I);if(I._loadedComponent)return(0,m.of)(I._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(I);const k=Zt(I.loadComponent()).pipe((0,H.T)(Wa),(0,q.M)(De=>{this.onLoadEndListener&&this.onLoadEndListener(I),I._loadedComponent=De}),(0,Re.j)(()=>{this.componentLoaders.delete(I)})),ne=new Y.G(k,()=>new j.B).pipe((0,Ve.B)());return this.componentLoaders.set(I,ne),ne}loadChildren(I,k){if(this.childrenLoaders.get(k))return this.childrenLoaders.get(k);if(k._loadedRoutes)return(0,m.of)({routes:k._loadedRoutes,injector:k._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(k);const De=function zs(O,F,I,k){return Zt(O.loadChildren()).pipe((0,H.T)(Wa),(0,W.Z)(ne=>ne instanceof h.Co$||Array.isArray(ne)?(0,m.of)(ne):(0,u.H)(F.compileModuleAsync(ne))),(0,H.T)(ne=>{k&&k(O);let De,ze,Nt=!1;return Array.isArray(ne)?(ze=ne,!0):(De=ne.create(I).injector,ze=De.get(to,[],{optional:!0,self:!0}).flat()),{routes:ze.map(Gr),injector:De}}))}(k,this.compiler,I,this.onLoadEndListener).pipe((0,Re.j)(()=>{this.childrenLoaders.delete(k)})),ze=new Y.G(De,()=>new j.B).pipe((0,Ve.B)());return this.childrenLoaders.set(k,ze),ze}static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})();function Wa(O){return function Oa(O){return O&&"object"==typeof O&&"default"in O}(O)?O.default:O}let li=(()=>{class O{static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:()=>(0,h.WQX)(Go),providedIn:"root"})}return O})(),Go=(()=>{class O{shouldProcessUrl(I){return!0}extract(I){return I}merge(I,k){return I}static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})();const rr=new h.nKC(""),Ra=new h.nKC("");function ua(O,F,I){const k=O.get(Ra),ne=O.get(oe.qQ);return O.get(h.SKi).runOutsideAngular(()=>{if(!ne.startViewTransition||k.skipNextTransition)return k.skipNextTransition=!1,new Promise(Pn=>setTimeout(Pn));let De;const ze=new Promise(Pn=>{De=Pn}),Nt=ne.startViewTransition(()=>(De(),function T(O){return new Promise(F=>{(0,h.mal)(F,{injector:O})})}(O))),{onViewTransitionCreated:Tt}=k;return Tt&&(0,h.N4e)(O,()=>Tt({transition:Nt,from:F,to:I})),ze})}let re=(()=>{class O{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new j.B,this.transitionAbortSubject=new j.B,this.configLoader=(0,h.WQX)(wr),this.environmentInjector=(0,h.WQX)(h.uvJ),this.urlSerializer=(0,h.WQX)(Li),this.rootContexts=(0,h.WQX)(pr),this.location=(0,h.WQX)(oe.aZ),this.inputBindingEnabled=null!==(0,h.WQX)(tr,{optional:!0}),this.titleStrategy=(0,h.WQX)(Nr),this.options=(0,h.WQX)(eo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,h.WQX)(li),this.createViewTransition=(0,h.WQX)(rr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,m.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ne=>this.events.next(new pn(ne)),this.configLoader.onLoadStartListener=ne=>this.events.next(new Ye(ne))}complete(){this.transitions?.complete()}handleNavigationRequest(I){const k=++this.navigationId;this.transitions?.next({...this.transitions.value,...I,id:k})}setupNavigations(I,k,ne){return this.transitions=new C.t({id:0,currentUrlTree:k,currentRawUrl:k,extractedUrl:this.urlHandlingStrategy.extract(k),urlAfterRedirects:this.urlHandlingStrategy.extract(k),rawUrl:k,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:an,restoredState:null,currentSnapshot:ne.snapshot,targetSnapshot:null,currentRouterState:ne,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Pe.p)(De=>0!==De.id),(0,H.T)(De=>({...De,extractedUrl:this.urlHandlingStrategy.extract(De.rawUrl)})),(0,ae.n)(De=>{let ze=!1,Nt=!1;return(0,m.of)(De).pipe((0,ae.n)(Tt=>{if(this.navigationId>De.id)return this.cancelNavigationTransition(De,"",zn.SupersededByNewNavigation),B.w;this.currentTransition=De,this.currentNavigation={id:Tt.id,initialUrl:Tt.rawUrl,extractedUrl:Tt.extractedUrl,trigger:Tt.source,extras:Tt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Pn=!I.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Pn&&"reload"!==(Tt.extras.onSameUrlNavigation??I.onSameUrlNavigation)){const Ti="";return this.events.next(new Jn(Tt.id,this.urlSerializer.serialize(Tt.rawUrl),Ti,Oi.IgnoredSameUrlNavigation)),Tt.resolve(null),B.w}if(this.urlHandlingStrategy.shouldProcessUrl(Tt.rawUrl))return(0,m.of)(Tt).pipe((0,ae.n)(Ti=>{const ks=this.transitions?.getValue();return this.events.next(new Ai(Ti.id,this.urlSerializer.serialize(Ti.extractedUrl),Ti.source,Ti.restoredState)),ks!==this.transitions?.getValue()?B.w:Promise.resolve(Ti)}),function dc(O,F,I,k,ne,De){return(0,W.Z)(ze=>function br(O,F,I,k,ne,De,ze="emptyOnly"){return new Hc(O,F,I,k,ne,ze,De).recognize()}(O,F,I,k,ze.extractedUrl,ne,De).pipe((0,H.T)(({state:Nt,tree:Tt})=>({...ze,targetSnapshot:Nt,urlAfterRedirects:Tt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,I.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,q.M)(Ti=>{De.targetSnapshot=Ti.targetSnapshot,De.urlAfterRedirects=Ti.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ti.urlAfterRedirects};const ks=new jn(Ti.id,this.urlSerializer.serialize(Ti.extractedUrl),this.urlSerializer.serialize(Ti.urlAfterRedirects),Ti.targetSnapshot);this.events.next(ks)}));if(Pn&&this.urlHandlingStrategy.shouldProcessUrl(Tt.currentRawUrl)){const{id:Ti,extractedUrl:ks,source:pc,restoredState:gc,extras:_c}=Tt,Kc=new Ai(Ti,this.urlSerializer.serialize(ks),pc,gc);this.events.next(Kc);const Jo=Fr(this.rootComponentType).snapshot;return this.currentTransition=De={...Tt,targetSnapshot:Jo,urlAfterRedirects:ks,extras:{..._c,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=ks,(0,m.of)(De)}{const Ti="";return this.events.next(new Jn(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),Ti,Oi.IgnoredByUrlHandlingStrategy)),Tt.resolve(null),B.w}}),(0,q.M)(Tt=>{const Pn=new os(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),this.urlSerializer.serialize(Tt.urlAfterRedirects),Tt.targetSnapshot);this.events.next(Pn)}),(0,H.T)(Tt=>(this.currentTransition=De={...Tt,guards:ka(Tt.targetSnapshot,Tt.currentSnapshot,this.rootContexts)},De)),function Fs(O,F){return(0,W.Z)(I=>{const{targetSnapshot:k,currentSnapshot:ne,guards:{canActivateChecks:De,canDeactivateChecks:ze}}=I;return 0===ze.length&&0===De.length?(0,m.of)({...I,guardsResult:!0}):function lc(O,F,I,k){return(0,u.H)(O).pipe((0,W.Z)(ne=>function Ua(O,F,I,k,ne){const De=F&&F.routeConfig?F.routeConfig.canDeactivate:null;if(!De||0===De.length)return(0,m.of)(!0);const ze=De.map(Nt=>{const Tt=xs(F)??ne,Pn=Gs(Nt,Tt);return Zt(function it(O){return O&&Tr(O.canDeactivate)}(Pn)?Pn.canDeactivate(O,F,I,k):(0,h.N4e)(Tt,()=>Pn(O,F,I,k))).pipe((0,J.$)())});return(0,m.of)(ze).pipe(_r())}(ne.component,ne.route,I,F,k)),(0,J.$)(ne=>!0!==ne,!0))}(ze,k,ne,O).pipe((0,W.Z)(Nt=>Nt&&function ie(O){return"boolean"==typeof O}(Nt)?function Jr(O,F,I,k){return(0,u.H)(F).pipe((0,te.H)(ne=>(0,b.x)(function _o(O,F){return null!==O&&F&&F(new Ke(O)),(0,m.of)(!0)}(ne.route.parent,k),function Zr(O,F){return null!==O&&F&&F(new Es(O)),(0,m.of)(!0)}(ne.route,k),function Ba(O,F,I){const k=F[F.length-1],De=F.slice(0,F.length-1).reverse().map(ze=>function po(O){const F=O.routeConfig?O.routeConfig.canActivateChild:null;return F&&0!==F.length?{node:O,guards:F}:null}(ze)).filter(ze=>null!==ze).map(ze=>(0,R.v)(()=>{const Nt=ze.guards.map(Tt=>{const Pn=xs(ze.node)??I,Si=Gs(Tt,Pn);return Zt(function Ie(O){return O&&Tr(O.canActivateChild)}(Si)?Si.canActivateChild(k,O):(0,h.N4e)(Pn,()=>Si(k,O))).pipe((0,J.$)())});return(0,m.of)(Nt).pipe(_r())}));return(0,m.of)(De).pipe(_r())}(O,ne.path,I),function Fi(O,F,I){const k=F.routeConfig?F.routeConfig.canActivate:null;if(!k||0===k.length)return(0,m.of)(!0);const ne=k.map(De=>(0,R.v)(()=>{const ze=xs(F)??I,Nt=Gs(De,ze);return Zt(function G(O){return O&&Tr(O.canActivate)}(Nt)?Nt.canActivate(F,O):(0,h.N4e)(ze,()=>Nt(F,O))).pipe((0,J.$)())}));return(0,m.of)(ne).pipe(_r())}(O,ne.route,I))),(0,J.$)(ne=>!0!==ne,!0))}(k,De,O,F):(0,m.of)(Nt)),(0,H.T)(Nt=>({...I,guardsResult:Nt})))})}(this.environmentInjector,Tt=>this.events.next(Tt)),(0,q.M)(Tt=>{if(De.guardsResult=Tt.guardsResult,xe(Tt.guardsResult))throw Xs(0,Tt.guardsResult);const Pn=new Ae(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),this.urlSerializer.serialize(Tt.urlAfterRedirects),Tt.targetSnapshot,!!Tt.guardsResult);this.events.next(Pn)}),(0,Pe.p)(Tt=>!!Tt.guardsResult||(this.cancelNavigationTransition(Tt,"",zn.GuardRejected),!1)),Qs(Tt=>{if(Tt.guards.canActivateChecks.length)return(0,m.of)(Tt).pipe((0,q.M)(Pn=>{const Si=new Dt(Pn.id,this.urlSerializer.serialize(Pn.extractedUrl),this.urlSerializer.serialize(Pn.urlAfterRedirects),Pn.targetSnapshot);this.events.next(Si)}),(0,ae.n)(Pn=>{let Si=!1;return(0,m.of)(Pn).pipe(function gi(O,F){return(0,W.Z)(I=>{const{targetSnapshot:k,guards:{canActivateChecks:ne}}=I;if(!ne.length)return(0,m.of)(I);const De=new Set(ne.map(Tt=>Tt.route)),ze=new Set;for(const Tt of De)if(!ze.has(Tt))for(const Pn of Eo(Tt))ze.add(Pn);let Nt=0;return(0,u.H)(ze).pipe((0,te.H)(Tt=>De.has(Tt)?function hc(O,F,I,k){const ne=O.routeConfig,De=O._resolve;return void 0!==ne?.title&&!ls(ne)&&(De[ut]=ne.title),function Ws(O,F,I,k){const ne=Wn(O);if(0===ne.length)return(0,m.of)({});const De={};return(0,u.H)(ne).pipe((0,W.Z)(ze=>function hn(O,F,I,k){const ne=xs(F)??k,De=Gs(O,ne);return Zt(De.resolve?De.resolve(F,I):(0,h.N4e)(ne,()=>De(F,I)))}(O[ze],F,I,k).pipe((0,J.$)(),(0,q.M)(Nt=>{De[ze]=Nt}))),je(1),(0,Oe.u)(De),(0,$.W)(ze=>ci(ze)?B.w:(0,x.$)(ze)))}(De,O,F,k).pipe((0,H.T)(ze=>(O._resolvedData=ze,O.data=kr(O,O.parent,I).resolve,null)))}(Tt,k,O,F):(Tt.data=kr(Tt,Tt.parent,O).resolve,(0,m.of)(void 0))),(0,q.M)(()=>Nt++),je(1),(0,W.Z)(Tt=>Nt===ze.size?(0,m.of)(I):B.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,q.M)({next:()=>Si=!0,complete:()=>{Si||this.cancelNavigationTransition(Pn,"",zn.NoDataFromResolver)}}))}),(0,q.M)(Pn=>{const Si=new Te(Pn.id,this.urlSerializer.serialize(Pn.extractedUrl),this.urlSerializer.serialize(Pn.urlAfterRedirects),Pn.targetSnapshot);this.events.next(Si)}))}),Qs(Tt=>{const Pn=Si=>{const Ti=[];Si.routeConfig?.loadComponent&&!Si.routeConfig._loadedComponent&&Ti.push(this.configLoader.loadComponent(Si.routeConfig).pipe((0,q.M)(ks=>{Si.component=ks}),(0,H.T)(()=>{})));for(const ks of Si.children)Ti.push(...Pn(ks));return Ti};return(0,w.z)(Pn(Tt.targetSnapshot.root)).pipe((0,se.U)(null),(0,pe.s)(1))}),Qs(()=>this.afterPreactivation()),(0,ae.n)(()=>{const{currentSnapshot:Tt,targetSnapshot:Pn}=De,Si=this.createViewTransition?.(this.environmentInjector,Tt.root,Pn.root);return Si?(0,u.H)(Si).pipe((0,H.T)(()=>De)):(0,m.of)(De)}),(0,H.T)(Tt=>{const Pn=function Qr(O,F,I){const k=Xi(O,F._root,I?I._root:void 0);return new qs(k,F)}(I.routeReuseStrategy,Tt.targetSnapshot,Tt.currentRouterState);return this.currentTransition=De={...Tt,targetRouterState:Pn},this.currentNavigation.targetRouterState=Pn,De}),(0,q.M)(()=>{this.events.next(new wo)}),((O,F,I,k)=>(0,H.T)(ne=>(new nr(F,ne.targetRouterState,ne.currentRouterState,I,k).activate(O),ne)))(this.rootContexts,I.routeReuseStrategy,Tt=>this.events.next(Tt),this.inputBindingEnabled),(0,pe.s)(1),(0,q.M)({next:Tt=>{ze=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new hi(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),this.urlSerializer.serialize(Tt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Tt.targetRouterState.snapshot),Tt.resolve(!0)},complete:()=>{ze=!0}}),(0,ye.Q)(this.transitionAbortSubject.pipe((0,q.M)(Tt=>{throw Tt}))),(0,Re.j)(()=>{!ze&&!Nt&&this.cancelNavigationTransition(De,"",zn.SupersededByNewNavigation),this.currentTransition?.id===De.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,$.W)(Tt=>{if(Nt=!0,Ia(Tt))this.events.next(new cs(De.id,this.urlSerializer.serialize(De.extractedUrl),Tt.message,Tt.cancellationCode)),function Ur(O){return Ia(O)&&xe(O.url)}(Tt)?this.events.next(new ra(Tt.url)):De.resolve(!1);else{this.events.next(new oi(De.id,this.urlSerializer.serialize(De.extractedUrl),Tt,De.targetSnapshot??void 0));try{De.resolve(I.errorHandler(Tt))}catch(Pn){this.options.resolveNavigationPromiseOnError?De.resolve(!1):De.reject(Pn)}}return B.w}))}))}cancelNavigationTransition(I,k,ne){const De=new cs(I.id,this.urlSerializer.serialize(I.extractedUrl),k,ne);this.events.next(De),I.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})();function V(O){return O!==an}let ee=(()=>{class O{static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:()=>(0,h.WQX)(At),providedIn:"root"})}return O})();class He{shouldDetach(F){return!1}store(F,I){}shouldAttach(F){return!1}retrieve(F){return null}shouldReuseRoute(F,I){return F.routeConfig===I.routeConfig}}let At=(()=>{class O extends He{static#e=this.\u0275fac=(()=>{let I;return function(ne){return(I||(I=h.xGo(O)))(ne||O)}})();static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})(),ge=(()=>{class O{static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:()=>(0,h.WQX)(E),providedIn:"root"})}return O})(),E=(()=>{class O extends ge{constructor(){super(...arguments),this.location=(0,h.WQX)(oe.aZ),this.urlSerializer=(0,h.WQX)(Li),this.options=(0,h.WQX)(eo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,h.WQX)(li),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new St,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Fr(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(I){return this.location.subscribe(k=>{"popstate"===k.type&&I(k.url,k.state)})}handleRouterEvent(I,k){if(I instanceof Ai)this.stateMemento=this.createStateMemento();else if(I instanceof Jn)this.rawUrlTree=k.initialUrl;else if(I instanceof jn){if("eager"===this.urlUpdateStrategy&&!k.extras.skipLocationChange){const ne=this.urlHandlingStrategy.merge(k.finalUrl,k.initialUrl);this.setBrowserUrl(ne,k)}}else I instanceof wo?(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(this.rawUrlTree,k))):I instanceof cs&&(I.code===zn.GuardRejected||I.code===zn.NoDataFromResolver)?this.restoreHistory(k):I instanceof oi?this.restoreHistory(k,!0):I instanceof hi&&(this.lastSuccessfulId=I.id,this.currentPageId=this.browserPageId)}setBrowserUrl(I,k){const ne=this.urlSerializer.serialize(I);if(this.location.isCurrentPathEqualTo(ne)||k.extras.replaceUrl){const ze={...k.extras.state,...this.generateNgRouterState(k.id,this.browserPageId)};this.location.replaceState(ne,"",ze)}else{const De={...k.extras.state,...this.generateNgRouterState(k.id,this.browserPageId+1)};this.location.go(ne,"",De)}}restoreHistory(I,k=!1){if("computed"===this.canceledNavigationResolution){const De=this.currentPageId-this.browserPageId;0!==De?this.location.historyGo(De):this.currentUrlTree===I.finalUrl&&0===De&&(this.resetState(I),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(k&&this.resetState(I),this.resetUrlToCurrentUrlTree())}resetState(I){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,I.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(I,k){return"computed"===this.canceledNavigationResolution?{navigationId:I,\u0275routerPageId:k}:{navigationId:I}}static#e=this.\u0275fac=(()=>{let I;return function(ne){return(I||(I=h.xGo(O)))(ne||O)}})();static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})();var A=function(O){return O[O.COMPLETE=0]="COMPLETE",O[O.FAILED=1]="FAILED",O[O.REDIRECTING=2]="REDIRECTING",O}(A||{});function S(O,F){O.events.pipe((0,Pe.p)(I=>I instanceof hi||I instanceof cs||I instanceof oi||I instanceof Jn),(0,H.T)(I=>I instanceof hi||I instanceof Jn?A.COMPLETE:I instanceof cs&&(I.code===zn.Redirect||I.code===zn.SupersededByNewNavigation)?A.REDIRECTING:A.FAILED),(0,Pe.p)(I=>I!==A.REDIRECTING),(0,pe.s)(1)).subscribe(()=>{F()})}function P(O){throw O}const z={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Z={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ce=(()=>{class O{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.isNgZoneEnabled=!1,this.console=(0,h.WQX)(h.H3F),this.stateManager=(0,h.WQX)(ge),this.options=(0,h.WQX)(eo,{optional:!0})||{},this.pendingTasks=(0,h.WQX)(h.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,h.WQX)(re),this.urlSerializer=(0,h.WQX)(Li),this.location=(0,h.WQX)(oe.aZ),this.urlHandlingStrategy=(0,h.WQX)(li),this._events=new j.B,this.errorHandler=this.options.errorHandler||P,this.navigated=!1,this.routeReuseStrategy=(0,h.WQX)(ee),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,h.WQX)(to,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,h.WQX)(tr,{optional:!0}),this.eventsSubscription=new ve.yU,this.isNgZoneEnabled=(0,h.WQX)(h.SKi)instanceof h.SKi&&h.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:I=>{this.console.warn(I)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const I=this.navigationTransitions.events.subscribe(k=>{try{const ne=this.navigationTransitions.currentTransition,De=this.navigationTransitions.currentNavigation;if(null!==ne&&null!==De)if(this.stateManager.handleRouterEvent(k,De),k instanceof cs&&k.code!==zn.Redirect&&k.code!==zn.SupersededByNewNavigation)this.navigated=!0;else if(k instanceof hi)this.navigated=!0;else if(k instanceof ra){const ze=this.urlHandlingStrategy.merge(k.url,ne.currentRawUrl),Nt={info:ne.extras.info,skipLocationChange:ne.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||V(ne.source)};this.scheduleNavigation(ze,an,null,Nt,{resolve:ne.resolve,reject:ne.reject,promise:ne.promise})}(function Ne(O){return!(O instanceof wo||O instanceof ra)})(k)&&this._events.next(k)}catch(ne){this.navigationTransitions.transitionAbortSubject.next(ne)}});this.eventsSubscription.add(I)}resetRootComponentType(I){this.routerState.root.component=I,this.navigationTransitions.rootComponentType=I}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),an,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((I,k)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(I,"popstate",k)},0)})}navigateToSyncWithBrowser(I,k,ne){const De={replaceUrl:!0},ze=ne?.navigationId?ne:null;if(ne){const Tt={...ne};delete Tt.navigationId,delete Tt.\u0275routerPageId,0!==Object.keys(Tt).length&&(De.state=Tt)}const Nt=this.parseUrl(I);this.scheduleNavigation(Nt,k,ze,De)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(I){this.config=I.map(Gr),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(I,k={}){const{relativeTo:ne,queryParams:De,fragment:ze,queryParamsHandling:Nt,preserveFragment:Tt}=k,Pn=Tt?this.currentUrlTree.fragment:ze;let Ti,Si=null;switch(Nt){case"merge":Si={...this.currentUrlTree.queryParams,...De};break;case"preserve":Si=this.currentUrlTree.queryParams;break;default:Si=De||null}null!==Si&&(Si=this.removeEmptyProps(Si));try{Ti=Yt(ne?ne.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof I[0]||!I[0].startsWith("/"))&&(I=[]),Ti=this.currentUrlTree.root}return ln(Ti,I,Si,Pn??null)}navigateByUrl(I,k={skipLocationChange:!1}){const ne=xe(I)?I:this.parseUrl(I),De=this.urlHandlingStrategy.merge(ne,this.rawUrlTree);return this.scheduleNavigation(De,an,null,k)}navigate(I,k={skipLocationChange:!1}){return function Ue(O){for(let F=0;F(null!=De&&(k[ne]=De),k),{})}scheduleNavigation(I,k,ne,De,ze){if(this.disposed)return Promise.resolve(!1);let Nt,Tt,Pn;ze?(Nt=ze.resolve,Tt=ze.reject,Pn=ze.promise):Pn=new Promise((Ti,ks)=>{Nt=Ti,Tt=ks});const Si=this.pendingTasks.add();return S(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Si))}),this.navigationTransitions.handleNavigationRequest({source:k,restoredState:ne,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:I,extras:De,resolve:Nt,reject:Tt,promise:Pn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Pn.catch(Ti=>Promise.reject(Ti))}static#e=this.\u0275fac=function(k){return new(k||O)};static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})(),Se=(()=>{class O{constructor(I,k,ne,De,ze,Nt){this.router=I,this.route=k,this.tabIndexAttribute=ne,this.renderer=De,this.el=ze,this.locationStrategy=Nt,this.href=null,this.commands=null,this.onChanges=new j.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Tt=ze.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Tt||"area"===Tt,this.isAnchorElement?this.subscription=I.events.subscribe(Pn=>{Pn instanceof hi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(I){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",I)}ngOnChanges(I){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(I){null!=I?(this.commands=Array.isArray(I)?I:[I],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(I,k,ne,De,ze){const Nt=this.urlTree;return!!(null===Nt||this.isAnchorElement&&(0!==I||k||ne||De||ze||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Nt,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const I=this.urlTree;this.href=null!==I&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(I)):null;const k=null===this.href?null:(0,h.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",k)}applyAttributeValue(I,k){const ne=this.renderer,De=this.el.nativeElement;null!==k?ne.setAttribute(De,I,k):ne.removeAttribute(De,I)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(k){return new(k||O)(h.rXU(ce),h.rXU(ts),h.kS0("tabindex"),h.rXU(h.sFG),h.rXU(h.aKT),h.rXU(oe.hb))};static#t=this.\u0275dir=h.FsC({type:O,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(k,ne){1&k&&h.bIt("click",function(ze){return ne.onClick(ze.button,ze.ctrlKey,ze.shiftKey,ze.altKey,ze.metaKey)}),2&k&&h.BMQ("target",ne.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[h.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",h.L39],skipLocationChange:[h.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",h.L39],replaceUrl:[h.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",h.L39],routerLink:"routerLink"},standalone:!0,features:[h.GFd,h.OA$]})}return O})(),lt=(()=>{class O{get isActive(){return this._isActive}constructor(I,k,ne,De,ze){this.router=I,this.element=k,this.renderer=ne,this.cdr=De,this.link=ze,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new h.bkB,this.routerEventsSubscription=I.events.subscribe(Nt=>{Nt instanceof hi&&this.update()})}ngAfterContentInit(){(0,m.of)(this.links.changes,(0,m.of)(null)).pipe((0,ht.U)()).subscribe(I=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const I=[...this.links.toArray(),this.link].filter(k=>!!k).map(k=>k.onChanges);this.linkInputChangesSubscription=(0,u.H)(I).pipe((0,ht.U)()).subscribe(k=>{this._isActive!==this.isLinkActive(this.router)(k)&&this.update()})}set routerLinkActive(I){const k=Array.isArray(I)?I:I.split(" ");this.classes=k.filter(ne=>!!ne)}ngOnChanges(I){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const I=this.hasActiveLinks();this.classes.forEach(k=>{I?this.renderer.addClass(this.element.nativeElement,k):this.renderer.removeClass(this.element.nativeElement,k)}),I&&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!==I&&(this._isActive=I,this.cdr.markForCheck(),this.isActiveChange.emit(I))})}isLinkActive(I){const k=function Ct(O){return!!O.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ne=>{const De=ne.urlTree;return!!De&&I.isActive(De,k)}}hasActiveLinks(){const I=this.isLinkActive(this.router);return this.link&&I(this.link)||this.links.some(I)}static#e=this.\u0275fac=function(k){return new(k||O)(h.rXU(ce),h.rXU(h.aKT),h.rXU(h.sFG),h.rXU(h.gRc),h.rXU(Se,8))};static#t=this.\u0275dir=h.FsC({type:O,selectors:[["","routerLinkActive",""]],contentQueries:function(k,ne,De){if(1&k&&h.wni(De,Se,5),2&k){let ze;h.mGM(ze=h.lsd())&&(ne.links=ze)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[h.OA$]})}return O})();class It{}let jt=(()=>{class O{constructor(I,k,ne,De,ze){this.router=I,this.injector=ne,this.preloadingStrategy=De,this.loader=ze}setUpPreloading(){this.subscription=this.router.events.pipe((0,Pe.p)(I=>I instanceof hi),(0,te.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(I,k){const ne=[];for(const De of k){De.providers&&!De._injector&&(De._injector=(0,h.Ol2)(De.providers,I,`Route: ${De.path}`));const ze=De._injector??I,Nt=De._loadedInjector??ze;(De.loadChildren&&!De._loadedRoutes&&void 0===De.canLoad||De.loadComponent&&!De._loadedComponent)&&ne.push(this.preloadConfig(ze,De)),(De.children||De._loadedRoutes)&&ne.push(this.processRoutes(Nt,De.children??De._loadedRoutes))}return(0,u.H)(ne).pipe((0,ht.U)())}preloadConfig(I,k){return this.preloadingStrategy.preload(k,()=>{let ne;ne=k.loadChildren&&void 0===k.canLoad?this.loader.loadChildren(I,k):(0,m.of)(null);const De=ne.pipe((0,W.Z)(ze=>null===ze?(0,m.of)(void 0):(k._loadedRoutes=ze.routes,k._loadedInjector=ze.injector,this.processRoutes(ze.injector??I,ze.routes))));if(k.loadComponent&&!k._loadedComponent){const ze=this.loader.loadComponent(k);return(0,u.H)([De,ze]).pipe((0,ht.U)())}return De})}static#e=this.\u0275fac=function(k){return new(k||O)(h.KVO(ce),h.KVO(h.Ql9),h.KVO(h.uvJ),h.KVO(It),h.KVO(wr))};static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})();const Bt=new h.nKC("");let nn=(()=>{class O{constructor(I,k,ne,De,ze={}){this.urlSerializer=I,this.transitions=k,this.viewportScroller=ne,this.zone=De,this.options=ze,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,h.WQX)(h.uvJ),ze.scrollPositionRestoration||="disabled",ze.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(I=>{I instanceof Ai?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=I.navigationTrigger,this.restoredId=I.restoredState?I.restoredState.navigationId:0):I instanceof hi?(this.lastId=I.id,this.scheduleScrollEvent(I,this.urlSerializer.parse(I.urlAfterRedirects).fragment)):I instanceof Jn&&I.code===Oi.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(I,this.urlSerializer.parse(I.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(I=>{I instanceof Yi&&(I.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(I.position):I.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(I.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(I,k){var ne=this;this.zone.runOutsideAngular((0,s.A)(function*(){yield new Promise(De=>{setTimeout(()=>{De()}),(0,h.mal)(()=>{De()},{injector:ne.environmentInjector})}),ne.zone.run(()=>{ne.transitions.events.next(new Yi(I,"popstate"===ne.lastSource?ne.store[ne.restoredId]:null,k))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(k){h.QTQ()};static#t=this.\u0275prov=h.jDH({token:O,factory:O.\u0275fac})}return O})();function qt(O,F){return{\u0275kind:O,\u0275providers:F}}function Ri(){const O=(0,h.WQX)(h.zZn);return F=>{const I=O.get(h.o8S);if(F!==I.components[0])return;const k=O.get(ce),ne=O.get(ki);1===O.get(fs)&&k.initialNavigation(),O.get(Qi,null,h.$GK.Optional)?.setUpPreloading(),O.get(Bt,null,h.$GK.Optional)?.init(),k.resetRootComponentType(I.componentTypes[0]),ne.closed||(ne.next(),ne.complete(),ne.unsubscribe())}}const ki=new h.nKC("",{factory:()=>new j.B}),fs=new h.nKC("",{providedIn:"root",factory:()=>1}),Qi=new h.nKC("");function Yn(O){return qt(0,[{provide:Qi,useExisting:jt},{provide:It,useExisting:O}])}function Do(O){return qt(9,[{provide:rr,useValue:ua},{provide:Ra,useValue:{skipNextTransition:!!O?.skipInitialTransition,...O}}])}const io=new h.nKC("ROUTER_FORROOT_GUARD"),Er=[oe.aZ,{provide:Li,useClass:Rn},ce,pr,{provide:ts,useFactory:function Ht(O){return O.routerState.root},deps:[ce]},wr,[]];let Cr=(()=>{class O{constructor(I){}static forRoot(I,k){return{ngModule:O,providers:[Er,[],{provide:to,multi:!0,useValue:I},{provide:io,useFactory:Io,deps:[[ce,new h.Xx1,new h.kdw]]},{provide:eo,useValue:k||{}},k?.useHash?{provide:oe.hb,useClass:oe.fw}:{provide:oe.hb,useClass:oe.Sm},{provide:Bt,useFactory:()=>{const O=(0,h.WQX)(oe.Xr),F=(0,h.WQX)(h.SKi),I=(0,h.WQX)(eo),k=(0,h.WQX)(re),ne=(0,h.WQX)(Li);return I.scrollOffset&&O.setOffset(I.scrollOffset),new nn(ne,k,O,F,I)}},k?.preloadingStrategy?Yn(k.preloadingStrategy).\u0275providers:[],k?.initialNavigation?Tu(k):[],k?.bindToComponentInputs?qt(8,[Po,{provide:tr,useExisting:Po}]).\u0275providers:[],k?.enableViewTransitions?Do().\u0275providers:[],[{provide:bu,useFactory:Ri},{provide:h.iLQ,multi:!0,useExisting:bu}]]}}static forChild(I){return{ngModule:O,providers:[{provide:to,multi:!0,useValue:I}]}}static#e=this.\u0275fac=function(k){return new(k||O)(h.KVO(io,8))};static#t=this.\u0275mod=h.$C({type:O});static#n=this.\u0275inj=h.G2t({})}return O})();function Io(O){return"guarded"}function Tu(O){return["disabled"===O.initialNavigation?qt(3,[{provide:h.hnV,multi:!0,useFactory:()=>{const F=(0,h.WQX)(ce);return()=>{F.setUpLocationChangeListener()}}},{provide:fs,useValue:2}]).\u0275providers:[],"enabledBlocking"===O.initialNavigation?qt(2,[{provide:fs,useValue:0},{provide:h.hnV,multi:!0,deps:[h.zZn],useFactory:F=>{const I=F.get(oe.hj,Promise.resolve());return()=>I.then(()=>new Promise(k=>{const ne=F.get(ce),De=F.get(ki);S(ne,()=>{k(!0)}),F.get(re).afterPreactivation=()=>(k(!0),De.closed?(0,m.of)(void 0):De),ne.initialNavigation()}))}}]).\u0275providers:[]]}const bu=new h.nKC("")},20464:(Be,K,l)=>{"use strict";l.d(K,{JO:()=>yn,Kj:()=>qn,Ll:()=>Re,Q8:()=>Et,bA:()=>Hi,oH:()=>H,wz:()=>ye});var s=l(54438),h=l(7673),e=l(22806),u=l(21413),m=l(84412),C=l(27468),w=l(84572),M=l(983),b=l(96697),R=l(96354),L=l(12498),x=l(88141),B=l(99437),Y=l(69568),j=l(25558),ve=l(59411);class oe{constructor(Vt){this.translations=Vt}getTranslation(Vt){return(0,h.of)(this.translations.get(Vt)||{})}}const H=new s.nKC("TRANSLOCO_LOADER");function ae(st,Vt){return st&&(Object.prototype.hasOwnProperty.call(st,Vt)?st[Vt]:Vt.split(".").reduce(($e,yt)=>$e?.[yt],st))}function de(st){return st?Array.isArray(st)?st.length:q(st)?Object.keys(st).length:st?st.length:0:0}function J(st){return"string"==typeof st}function q(st){return!!st&&"object"==typeof st&&!Array.isArray(st)}function Q(st){return st.replace(/(?:^\w|[A-Z]|\b\w)/g,(Vt,$e)=>0==$e?Vt.toLowerCase():Vt.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Ee(st){return null==st}function me(st){return!1===Ee(st)}function Qe(st){return st&&"string"==typeof st.scope}function Oe(st){return(0,ve.flatten)(st,{safe:!0})}const Re=new s.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>({defaultLang:"en"})}),Ve={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function ye(st=Ve){return{...Ve,...st}}const ht=new s.nKC("TRANSLOCO_TRANSPILER");let Ce=(()=>{class st{constructor($e){this.interpolationMatcher=function We(st){const[Vt,$e]=st&&st.interpolation?st.interpolation:Ve.interpolation;return new RegExp(`${Vt}(.*?)${$e}`,"g")}($e)}transpile($e,yt={},et,rt){return J($e)?$e.replace(this.interpolationMatcher,(xe,Je)=>(Je=Je.trim(),me(yt[Je])?yt[Je]:me(et[Je])?this.transpile(et[Je],yt,et,rt):"")):(yt&&(q($e)?$e=this.handleObject($e,yt,et,rt):Array.isArray($e)&&($e=this.handleArray($e,yt,et,rt))),$e)}handleObject($e,yt={},et,rt){let xe=$e;return Object.keys(yt).forEach(Je=>{const Yt=ae(xe,Je),ln=ae(yt,Je),kn=this.transpile(Yt,ln,et,rt);xe=function pe(st,Vt,$e){st={...st};const yt=Vt.split("."),et=yt.length-1;return yt.reduce((rt,xe,Je)=>(rt[xe]=Je===et?$e:Array.isArray(rt[xe])?rt[xe].slice():{...rt[xe]},rt&&rt[xe]),st),st}(xe,Je,kn)}),xe}handleArray($e,yt={},et,rt){return $e.map(xe=>this.transpile(xe,yt,et,rt))}}return st.\u0275fac=function($e){return new($e||st)(s.KVO(Re,8))},st.\u0275prov=s.jDH({token:st,factory:st.\u0275fac}),st})();const vt=new s.nKC("TRANSLOCO_MISSING_HANDLER");let Kt=(()=>{class st{handle($e,yt){return yt.missingHandler.logMissingKey&&!yt.prodMode&&console.warn(`%c Missing translation for '${$e}'`,"font-size: 12px; color: red"),$e}}return st.\u0275fac=function($e){return new($e||st)},st.\u0275prov=s.jDH({token:st,factory:st.\u0275fac}),st})();const wt=new s.nKC("TRANSLOCO_INTERCEPTOR");let tn=(()=>{class st{preSaveTranslation($e){return $e}preSaveTranslationKey($e,yt){return yt}}return st.\u0275fac=function($e){return new($e||st)},st.\u0275prov=s.jDH({token:st,factory:st.\u0275fac}),st})();const Wn=new s.nKC("TRANSLOCO_FALLBACK_STRATEGY");let St,pi=(()=>{class st{constructor($e){this.userConfig=$e}getNextLangs(){const $e=this.userConfig.fallbackLang;if(!$e)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray($e)?$e:[$e]}}return st.\u0275fac=function($e){return new($e||st)(s.KVO(Re))},st.\u0275prov=s.jDH({token:st,factory:st.\u0275fac}),st})();function Zt(st){if(!st)return"";const Vt=st.split("/");return Vt.pop(),Vt.join("/")}function dn(st){return st?st.split("/").pop():""}function Pt(st,Vt,$e="|"){if(J(st)){const yt=st.split($e),et=yt.pop();return et===Vt?[!0,yt.toString()]:[!1,et]}return[!1,""]}function Ln(st,Vt){const[$e]=Pt(Vt,"static");return!$e&&!!st.config.reRenderOnLangChange}function dt(st){return st?Vt=>Vt:(0,b.s)(1)}function _e(st,Vt){return function Ot(st){return st&&q(st.loader)}(st)?function fe(st,Vt){return Object.keys(st).reduce(($e,yt)=>($e[`${Vt}/${yt}`]=st[yt],$e),{})}(st.loader,Vt):void 0}function Le(st){return{scope:Zt(st)||null,langName:dn(st)}}function tt(st){const{path:Vt,inlineLoader:$e,mainLoader:yt,data:et}=st;if($e){if(!1===function W(st){return"function"==typeof st}($e[Vt]))throw`You're using an inline loader but didn't provide a loader for ${Vt}`;return $e[Vt]().then(xe=>xe.default?xe.default:xe)}return yt.getTranslation(Vt,et)}let yn=(()=>{class st{constructor($e,yt,et,rt,xe,Je){this.loader=$e,this.parser=yt,this.missingHandler=et,this.interceptor=rt,this.userConfig=xe,this.fallbackStrategy=Je,this.subscription=null,this.translations=new Map,this.cache=new Map,this.defaultLang="",this.availableLangs=[],this.isResolvedMissingOnce=!1,this.failedLangs=new Set,this.events=new u.B,this.events$=this.events.asObservable(),this.loader||(this.loader=new oe(this.translations)),St=this,this.mergedConfig=function Wt(st,Vt){return{...st,...Vt,missingHandler:{...st.missingHandler,...Vt.missingHandler},flatten:{...st.flatten,...Vt.flatten}}}(Ve,this.userConfig),this.setAvailableLangs(this.mergedConfig.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.mergedConfig),this.setDefaultLang(this.mergedConfig.defaultLang),this.lang=new m.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(Yt=>{"translationLoadSuccess"===Yt.type&&Yt.wasFailure&&this.setActiveLang(Yt.payload.langName)})}get config(){return this.mergedConfig}getDefaultLang(){return this.defaultLang}setDefaultLang($e){this.defaultLang=$e}getActiveLang(){return this.lang.getValue()}setActiveLang($e){return this.parser.onLangChanged?.($e),this.lang.next($e),this.events.next({type:"langChanged",payload:Le($e)}),this}setAvailableLangs($e){this.availableLangs=$e}getAvailableLangs(){return this.availableLangs}load($e,yt={}){const et=this.cache.get($e);if(et)return et;let rt;const xe=this._isLangScoped($e);let Je;xe&&(Je=Zt($e));const Yt={path:$e,mainLoader:this.loader,inlineLoader:yt.inlineLoader,data:xe?{scope:Je}:void 0};if(this.useFallbackTranslation($e)){const kn=xe?`${Je}/${this.firstFallbackLang}`:this.firstFallbackLang,di=function nt({mainLoader:st,path:Vt,data:$e,fallbackPath:yt,inlineLoader:et}){return(yt?[Vt,yt]:[Vt]).map(xe=>{const Je=tt({path:xe,mainLoader:st,inlineLoader:et,data:$e});return(0,e.H)(Je).pipe((0,R.T)(Yt=>({translation:Yt,lang:xe})))})}({...Yt,fallbackPath:kn});rt=(0,C.p)(di)}else{const kn=tt(Yt);rt=(0,e.H)(kn)}const ln=rt.pipe((0,L.L)(this.config.failedRetries),(0,x.M)(kn=>{Array.isArray(kn)?kn.forEach(di=>{this.handleSuccess(di.lang,di.translation),di.lang!==$e&&this.cache.set(di.lang,(0,h.of)({}))}):this.handleSuccess($e,kn)}),(0,B.W)(kn=>(this.mergedConfig.prodMode||console.error(`Error while trying to load "${$e}"`,kn),this.handleFailure($e,yt))),(0,Y.t)(1));return this.cache.set($e,ln),ln}translate($e,yt={},et=this.getActiveLang()){if(!$e)return $e;const{scope:rt,resolveLang:xe}=this.resolveLangAndScope(et);if(Array.isArray($e))return $e.map(ln=>this.translate(rt?`${rt}.${ln}`:ln,yt,xe));$e=rt?`${rt}.${$e}`:$e;const Je=this.getTranslation(xe),Yt=Je[$e];return Yt?this.parser.transpile(Yt,yt,Je,$e):this._handleMissingKey($e,Yt,yt)}selectTranslate($e,yt,et,rt=!1){let xe;const Je=(ln,kn)=>this.load(ln,kn).pipe((0,R.T)(()=>rt?this.translateObject($e,yt,ln):this.translate($e,yt,ln)));if(Ee(et))return this.langChanges$.pipe((0,j.n)(ln=>Je(ln)));if(Qe(et)){const ln=et;et=ln.scope,xe=_e(ln,ln.scope)}if(this.isLang(et)||this.isScopeWithLang(et))return Je(et);const Yt=et;return this.langChanges$.pipe((0,j.n)(ln=>Je(`${Yt}/${ln}`,{inlineLoader:xe})))}isScopeWithLang($e){return this.isLang(dn($e))}translateObject($e,yt={},et=this.getActiveLang()){if(J($e)||Array.isArray($e)){const{resolveLang:xe,scope:Je}=this.resolveLangAndScope(et);if(Array.isArray($e))return $e.map(kn=>this.translateObject(Je?`${Je}.${kn}`:kn,yt,xe));const Yt=this.getTranslation(xe),ln=function mt(st){return(0,ve.unflatten)(st)}(this.getObjectByKey(Yt,$e=Je?`${Je}.${$e}`:$e));return function Pe(st){return 0===de(st)}(ln)?this.translate($e,yt,et):this.parser.transpile(ln,yt,Yt,$e)}const rt=[];for(const[xe,Je]of this.getEntries($e))rt.push(this.translateObject(xe,Je,et));return rt}selectTranslateObject($e,yt,et){if(J($e)||Array.isArray($e))return this.selectTranslate($e,yt,et,!0);const[[rt,xe],...Je]=this.getEntries($e);return this.selectTranslateObject(rt,xe,et).pipe((0,R.T)(Yt=>{const ln=[Yt];for(const[kn,di]of Je)ln.push(this.translateObject(kn,di,et));return ln}))}getTranslation($e){if($e){if(this.isLang($e))return this.translations.get($e)||{};{const{scope:yt,resolveLang:et}=this.resolveLangAndScope($e),rt=this.translations.get(et)||{};return this.getObjectByKey(rt,yt)}}return this.translations}selectTranslation($e){let yt=this.langChanges$;if($e){const et=dn($e)!==$e;yt=this.isLang($e)||et?(0,h.of)($e):this.langChanges$.pipe((0,R.T)(rt=>`${$e}/${rt}`))}return yt.pipe((0,j.n)(et=>this.load(et).pipe((0,R.T)(()=>this.getTranslation(et)))))}setTranslation($e,yt=this.getActiveLang(),et={}){const xe={merge:!0,emitChange:!0,...et},Je=Zt(yt);let Yt=$e;Je&&(Yt=Oe({[this.getMappedScope(Je)]:$e}));const ln=Je?dn(yt):yt,kn={...xe.merge&&this.getTranslation(ln),...Yt},di=this.mergedConfig.flatten.aot?kn:Oe(kn),Ni=this.interceptor.preSaveTranslation(di,ln);this.translations.set(ln,Ni),xe.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey($e,yt,et=this.getActiveLang(),rt={}){const xe=this.interceptor.preSaveTranslationKey($e,yt,et);this.setTranslation({[$e]:xe},et,{...rt,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:$e}){const yt=Array.isArray($e)?$e[0]:$e;$e&&this.useFallbackTranslation(yt)&&(this.firstFallbackLang=yt)}_handleMissingKey($e,yt,et){if(this.config.missingHandler.allowEmpty&&""===yt)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const rt=this.translate($e,et,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,rt}return this.missingHandler.handle($e,this.getMissingHandlerData(),et)}_isLangScoped($e){return-1===this.getAvailableLangsIds().indexOf($e)}isLang($e){return-1!==this.getAvailableLangsIds().indexOf($e)}_loadDependencies($e,yt){const et=dn($e);return this._isLangScoped($e)&&!this.isLoadedTranslation(et)?(0,w.z)(this.load(et),this.load($e,{inlineLoader:yt})):this.load($e,{inlineLoader:yt})}_completeScopeWithLang($e){return this._isLangScoped($e)&&!this.isLang(dn($e))?`${$e}/${this.getActiveLang()}`:$e}_setScopeAlias($e,yt){this.mergedConfig.scopeMapping||(this.mergedConfig.scopeMapping={}),this.mergedConfig.scopeMapping[$e]=yt}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation($e){return de(this.getTranslation($e))}getAvailableLangsIds(){return J(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(yt=>yt.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation($e){return this.config.missingHandler.useFallbackTranslation&&$e!==this.firstFallbackLang}handleSuccess($e,yt){this.setTranslation(yt,$e,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:Le($e)}),this.failedLangs.forEach(et=>this.cache.delete(et)),this.failedLangs.clear()}handleFailure($e,yt){Ee(yt.failedCounter)&&(yt.failedCounter=0,yt.fallbackLangs||(yt.fallbackLangs=this.fallbackStrategy.getNextLangs($e)));const et=$e.split("/"),xe=yt.fallbackLangs[yt.failedCounter];if(this.failedLangs.add($e),this.cache.has(xe))return this.handleSuccess(xe,this.getTranslation(xe)),M.w;if(!xe||xe===et[et.length-1]){let ln="Unable to load translation and all the fallback languages";throw et.length>1&&(ln+=", did you misspelled the scope name?"),new Error(ln)}let Yt=xe;return et.length>1&&(et[et.length-1]=xe,Yt=et.join("/")),yt.failedCounter++,this.events.next({type:"translationLoadFailure",payload:Le($e)}),this.load(Yt,yt)}getMappedScope($e){const{scopeMapping:yt={}}=this.config;return yt[$e]||Q($e)}resolveLangAndScope($e){let et,yt=$e;if(this._isLangScoped($e)){const rt=dn($e),xe=this.isLang(rt);yt=xe?rt:this.getActiveLang(),et=this.getMappedScope(xe?Zt($e):$e)}return{scope:et,resolveLang:yt}}getObjectByKey($e,yt){const et={},rt=`${yt}.`;for(const xe in $e)xe.startsWith(rt)&&(et[xe.replace(rt,"")]=$e[xe]);return et}getEntries($e){return $e instanceof Map?$e.entries():Object.entries($e)}}return st.\u0275fac=function($e){return new($e||st)(s.KVO(H,8),s.KVO(ht),s.KVO(vt),s.KVO(wt),s.KVO(Re),s.KVO(Wn))},st.\u0275prov=s.jDH({token:st,factory:st.\u0275fac,providedIn:"root"}),st})(),On=(()=>{class st{}return st.\u0275fac=function($e){return new($e||st)},st.\u0275cmp=s.VBU({type:st,selectors:[["ng-component"]],inputs:{html:"html"},decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function($e,yt){1&$e&&s.nrm(0,"div",0),2&$e&&s.Y8G("innerHTML",yt.html,s.npT)},encapsulation:2}),st})();class Un{constructor(Vt,$e){this.view=Vt,this.vcr=$e,this.injector=this.vcr.injector}attachView(){if(this.view instanceof s.C4Q)this.vcr.createEmbeddedView(this.view);else if(J(this.view)){const Vt=this.createComponent(On);Vt.instance.html=this.view,Vt.hostView.detectChanges()}else this.createComponent(this.view)}detachView(){this.vcr.clear()}createComponent(Vt){const yt=this.injector.get(s.OM3).resolveComponentFactory(Vt);return this.vcr.createComponent(yt)}}const Li=new s.nKC("TRANSLOCO_LANG"),Rn=new s.nKC("TRANSLOCO_LOADING_TEMPLATE"),Ui=new s.nKC("TRANSLOCO_SCOPE");class Kn{constructor(){this.initialized=!1}resolve({inline:Vt,provider:$e,active:yt}){let et=yt;if(this.initialized)return et=yt,et;if($e){const[,rt]=Pt($e,"static");et=rt}if(Vt){const[,rt]=Pt(Vt,"static");et=rt}return this.initialized=!0,et}resolveLangBasedOnScope(Vt){return Zt(Vt)?dn(Vt):Vt}resolveLangPath(Vt,$e){return $e?`${$e}/${Vt}`:Vt}}class Hn{constructor(Vt){this.translocoService=Vt}resolve({inline:Vt,provider:$e}={inline:void 0,provider:void 0}){if(Vt)return Vt;if($e){if(Qe($e)){const{scope:yt,alias:et=Q(yt)}=$e;return this.translocoService._setScopeAlias(yt,et),yt}return $e}}}let Hi=(()=>{class st{constructor($e,yt,et,rt,xe,Je,Yt,ln,kn){this.translocoService=$e,this.tpl=yt,this.providerScope=et,this.providerLang=rt,this.providedLoadingTpl=xe,this.vcr=Je,this.cdr=Yt,this.host=ln,this.renderer=kn,this.subscription=null,this.translationMemo={},this.params={},this.initialized=!1,this.langResolver=new Kn,this.scopeResolver=new Hn(this.translocoService),this.strategy=null===this.tpl?"attribute":"structural"}static ngTemplateContextGuard($e,yt){return!0}ngOnInit(){const $e=Ln(this.translocoService,this.providerLang||this.inlineLang);this.subscription=this.translocoService.langChanges$.pipe((0,j.n)(et=>{const rt=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:et});return Array.isArray(this.providerScope)?(0,C.p)(this.providerScope.map(xe=>this.resolveScope(rt,xe))):this.resolveScope(rt,this.providerScope)}),dt($e)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),"attribute"===this.strategy?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.inlineRead),this.cdr.markForCheck(),this.initialized=!0});const yt=this.getLoadingTpl();!this.initialized&&yt&&(this.loaderTplHandler=new Un(yt,this.vcr),this.loaderTplHandler.attachView())}ngOnChanges($e){"attribute"===this.strategy&&Object.keys($e).some(et=>!$e[et].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.translocoService.translate(this.key,this.params,this.currentLang))}structuralStrategy($e,yt){this.translationMemo={},this.view?(this.view.context.$implicit=this.getTranslateFn($e,yt),this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:this.getTranslateFn($e,yt),currentLang:this.currentLang}))}getTranslateFn($e,yt){return(et,rt)=>{const xe=yt?`${yt}.${et}`:et,Je=rt?`${xe}${JSON.stringify(rt)}`:xe;return Object.prototype.hasOwnProperty.call(this.translationMemo,Je)||(this.translationMemo[Je]={params:rt,value:this.translocoService.translate(xe,rt,$e)}),this.translationMemo[Je].value}}getLoadingTpl(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope($e,yt){const et=this.scopeResolver.resolve({inline:this.inlineScope,provider:yt});this.path=this.langResolver.resolveLangPath($e,et);const rt=_e(yt,et);return this.translocoService._loadDependencies(this.path,rt)}}return st.\u0275fac=function($e){return new($e||st)(s.rXU(yn),s.rXU(s.C4Q,8),s.rXU(Ui,8),s.rXU(Li,8),s.rXU(Rn,8),s.rXU(s.c1b),s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.sFG))},st.\u0275dir=s.FsC({type:st,selectors:[["","transloco",""]],inputs:{key:[s.Mj6.None,"transloco","key"],params:[s.Mj6.None,"translocoParams","params"],inlineScope:[s.Mj6.None,"translocoScope","inlineScope"],inlineRead:[s.Mj6.None,"translocoRead","inlineRead"],inlineLang:[s.Mj6.None,"translocoLang","inlineLang"],inlineTpl:[s.Mj6.None,"translocoLoadingTpl","inlineTpl"]},features:[s.OA$]}),st})(),qn=(()=>{class st{constructor($e,yt,et,rt){this.translocoService=$e,this.providerScope=yt,this.providerLang=et,this.cdr=rt,this.subscription=null,this.lastValue="",this.langResolver=new Kn,this.scopeResolver=new Hn(this.translocoService)}transform($e,yt,et){if(!$e)return $e;const rt=yt?`${$e}${JSON.stringify(yt)}`:$e;if(rt===this.lastKey)return this.lastValue;this.lastKey=rt,this.subscription?.unsubscribe();const xe=Ln(this.translocoService,this.providerLang||et);return this.subscription=this.translocoService.langChanges$.pipe((0,j.n)(Je=>{const Yt=this.langResolver.resolve({inline:et,provider:this.providerLang,active:Je});return Array.isArray(this.providerScope)?(0,C.p)(this.providerScope.map(ln=>this.resolveScope(Yt,ln))):this.resolveScope(Yt,this.providerScope)}),dt(xe)).subscribe(()=>this.updateValue($e,yt)),this.lastValue}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}updateValue($e,yt){const et=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.translocoService.translate($e,yt,et),this.cdr.markForCheck()}resolveScope($e,yt){const et=this.scopeResolver.resolve({inline:void 0,provider:yt});this.path=this.langResolver.resolveLangPath($e,et);const rt=_e(yt,et);return this.translocoService._loadDependencies(this.path,rt)}}return st.\u0275fac=function($e){return new($e||st)(s.rXU(yn,16),s.rXU(Ui,24),s.rXU(Li,24),s.rXU(s.gRc,16))},st.\u0275pipe=s.EJ8({name:"transloco",type:st,pure:!1}),st})();const es=[{provide:ht,useClass:Ce,deps:[Re]},{provide:vt,useClass:Kt},{provide:wt,useClass:tn},{provide:Wn,useClass:pi,deps:[Re]}];let Et=(()=>{class st{}return st.\u0275fac=function($e){return new($e||st)},st.\u0275mod=s.$C({type:st}),st.\u0275inj=s.G2t({providers:[es]}),st})();new s.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new s.nKC("TRANSLOCO_TEST_OPTIONS - Testing options")},27056:(Be,K,l)=>{"use strict";l.d(K,{ZA:()=>m});var s=l(54438),h=l(21413),e=l(57786);let m=(()=>{class L{errorHandler;subjects=[];constructor(B){this.errorHandler=B}create(B){const Y={};return this.subjects.push(Y),new Proxy(function ve(){},function u({subjectMap:L,transformsMap:x,effectMap:B,errorHandler:Y=null}){function j(oe){return L[oe]||(L[oe]=new h.B),L[oe]}function ve(oe,H){L[H]=L[H]||new h.B;try{const ae=x&&x[H]?x[H](oe):oe;L[H].next(ae)}catch(ae){Y?.handleError(ae)}}return{apply(oe,H,ae){ae.forEach(pe=>Object.entries(pe).forEach(([de,Pe])=>ve(Pe,de)))},get(oe,H){const ae=H;if("$"===ae.toString().split("").pop())return 1===ae.toString().length?de=>(0,e.h)(...de.map(Pe=>j(Pe))):j(ae.toString().slice(0,-1));if(ae.toString().startsWith("on")){const pe=ae.toString().slice(2),de=pe.charAt(0).toLowerCase()+pe.slice(1);return(Pe,W)=>{const J=j(de).pipe(Pe).subscribe(W);return B[de]=J,()=>J.unsubscribe()}}return pe=>{ve(pe,ae)}},set(){throw new Error("No setters available. To emit call the property name.")}}}({subjectMap:Y,effectMap:{},transformsMap:B,errorHandler:this.errorHandler??null}))}destroy(){this.subjects.forEach(B=>{Object.values(B).forEach(Y=>Y.complete())})}ngOnDestroy(){this.destroy()}static \u0275fac=function(Y){return new(Y||L)(s.KVO(s.zcH,8))};static \u0275prov=s.jDH({token:L,factory:L.\u0275fac})}return L})()},92975:(Be,K,l)=>{"use strict";l.d(K,{jy:()=>Qe,OZ:()=>pi,bX:()=>Ve,$j:()=>ut,Lt:()=>Wn,$z:()=>wt});var s=l(21413),h=l(84412),e=l(57786),u=l(96780),C=l(39687);const M=new class w extends C.q{}(class m extends u.R{constructor(Zt,dn){super(Zt,dn),this.scheduler=Zt,this.work=dn}schedule(Zt,dn=0){return dn>0?super.schedule(Zt,dn):(this.delay=dn,this.state=Zt,this.scheduler.flush(this),this)}execute(Zt,dn){return dn>0||this.closed?super.execute(Zt,dn):this._execute(Zt,dn)}requestAsyncId(Zt,dn,Pt=0){return null!=Pt&&Pt>0||null==Pt&&this.delay>0?super.requestAsyncId(Zt,dn,Pt):(Zt.flush(this),0)}});var R=l(983),L=l(85343),x=l(23294),B=l(26365),Y=l(40941),j=l(39974),ve=l(54360),oe=l(58750),H=l(33669),ae=l(9326),de=l(22816),Pe=l(88141),W=l(99437),J=l(31927),te=l(92771),q=l(70354),$=l(98071),se=l(5964),Ee=l(96354),me=l(69568);const je=(Wt,Zt)=>({...Wt,...Zt});function Qe(Wt=new s.B,Zt=new s.B,dn=new h.t(je)){const Pt=(0,e.h)(Wt.pipe((0,x.F)(),(0,B.U)(),(0,Y.Q)(M)),Zt.pipe((0,Y.Q)(M))).pipe(function pe(...Wt){const Zt=(0,ae.ms)(Wt);return(0,j.N)((dn,Pt)=>{const Ln=Wt.length,dt=new Array(Ln);let fe=Wt.map(()=>!1),_e=!1;for(let Le=0;Le{dt[Le]=tt,!_e&&!fe[Le]&&(fe[Le]=!0,(_e=fe.every(H.D))&&(fe=null))},L.l));dn.subscribe((0,ve._)(Pt,Le=>{if(_e){const tt=[Le,...dt];Pt.next(Zt?Zt(...tt):tt)}}))})}(dn.pipe((0,Y.Q)(M))),(0,de.S)((nt,[St,Qt])=>Qt(nt,St),{}),(0,Pe.M)(nt=>dt.state=nt,nt=>console.error(nt)),(0,W.W)(nt=>R.w),(0,J.m)()),Ln=Pt.pipe(function Q(Wt,Zt,dn,Pt){dn&&!(0,$.T)(dn)&&(Pt=dn);const Ln=(0,$.T)(dn)?dn:void 0;return dt=>(0,q.f)(new te.m(Wt,Zt,Pt),Ln)(dt)}(1)),dt={state:{},signal$:Pt,state$:Ln,nextSlice:function _e(nt){Zt.next(nt)},nextSliceObservable:function Le(nt){Wt.next(nt)},nextAccumulator:function fe(nt){dn.next(nt)},subscribe:function tt(){const nt=dt.signal$.connect();return nt.add(dt.state$.connect()),nt.add(()=>{dn.complete(),Wt.complete(),Zt.complete()}),nt}};return dt}function mt(Wt){return!!Array.isArray(Wt)&&Wt.length>0&&Wt.every(Zt=>"function"==typeof Zt)}function Oe(Wt){return!!Array.isArray(Wt)&&Wt.length>0&&Wt.every(Zt=>"string"==typeof Zt)}function Ve(Wt){return null!=Wt&&["string","symbol","number"].includes(typeof Wt)}function ye(Wt){return null!=Wt&&"object"==typeof Wt&&!Array.isArray(Wt)}function ht(Wt){return null!=Wt}function ut(Wt,Zt){if(!ht(Wt))return Wt;if(!ht(Zt))return;const dn=(Array.isArray(Zt)?Zt:[Zt]).filter(Ln=>Ve(Ln));if(0===dn.length||!ye(Wt)||0===Object.keys(Wt).length)return;let Pt=Wt[dn.shift()];return dn.forEach(Ln=>{ye(Pt)&&Ve(Ln)&&(Pt=Pt[Ln])}),Pt}function ft(Wt,Zt){return Wt===Zt}function Kt(Wt){return Wt?1===Wt.length?Wt[0]:function(dn){return Wt.reduce((Pt,Ln)=>Ln(Pt),dn)}:L.l}function wt(Wt,Zt){return dn=>dn.pipe((0,se.p)(Pt=>void 0!==Pt),(0,Ee.T)(Pt=>{if(null===Pt)return null;const Ln=Wt.filter(dt=>Pt.hasOwnProperty(dt)&&void 0!==Pt[dt]);return Ln.length(dt[fe]=Pt[fe],dt),{})}),(0,se.p)(Pt=>void 0!==Pt),function vt(Wt,Zt){let dn=(Pt,Ln)=>Wt.some(dt=>!ft(ut(Pt,[dt]),ut(Ln,[dt])));if(void 0!==Zt){const Pt=Ln=>Zt.hasOwnProperty(Ln)&&void 0!==Zt[Ln]?Zt[Ln]:ft;dn=(Ln,dt)=>Wt.some(fe=>!Pt(fe)(ut(Ln,[fe]),ut(dt,[fe])))}return(0,x.F)((Pt,Ln)=>!dn(Pt,Ln))}(Wt,Zt))}function tn(...Wt){return Zt=>Zt.pipe((0,x.F)(),dn=>mt(Wt)?dn.pipe(Kt(Wt)):dn,(0,se.p)(dn=>void 0!==dn),(0,x.F)(),(0,me.t)({bufferSize:1,refCount:!0}))}function Wn(...Wt){return Zt=>{if(!Wt||0===Wt.length)return Zt.pipe(tn());if(function Ce(Wt){return"string"==typeof Wt[0]&&"function"==typeof Wt[1]}(Wt))return Zt.pipe(tn((0,Ee.T)(dn=>Wt[1](dn[Wt[0]]))));if(function We(Wt){return Oe(Wt[0])&&"function"==typeof Wt[1]&&(void 0===Wt[2]||"object"==typeof Wt[2])}(Wt))return Zt.pipe(wt(Wt[0],Wt[2]),tn((0,Ee.T)(Wt[1])));if(Oe(Wt))return Zt.pipe(tn((0,Ee.T)(dn=>Wt.reduce((Pt,Ln)=>Pt?.[Ln],dn))));if(mt(Wt))return Zt.pipe(tn(Kt(Wt)));throw new Error("wrong params passed to select")}}function pi(Wt=new s.B){const Zt=(0,e.h)(Wt.pipe((0,B.U)(),(0,Y.Q)(M)));return{effects$:Zt,nextEffectObservable:function dn(Ln){Wt.next(Ln)},subscribe:function Pt(){return Zt.subscribe()}}}},94768:(Be,K,l)=>{"use strict";l.d(K,{Y:()=>L});var s=l(54438),h=l(89079),e=l(92975),u=l(18359),m=l(74402),C=l(983),w=l(96354),M=l(99437),b=l(88141);let L=(()=>{class B{subscription=new u.yU;accumulator=(0,e.jy)();effectObservable=(0,e.OZ)();injector=(0,s.WQX)(s.zZn);signalStoreProxy;$=this.accumulator.signal$;constructor(){this.subscription.add(this.subscribe())}ngOnDestroy(){this.subscription.unsubscribe()}setAccumulator(j){this.accumulator.nextAccumulator(j)}get(...j){const ve=Object.keys(this.accumulator.state).length>0;return j&&j.length?(0,e.$j)(this.accumulator.state,j):ve?this.accumulator.state:void 0}set(j,ve){if("object"!=typeof j||void 0!==ve){if("function"!=typeof j||void 0!==ve){if((0,e.bX)(j)&&"function"==typeof ve){const oe={};return oe[j]=ve(this.accumulator.state),void this.accumulator.nextSlice(oe)}throw new Error("wrong params passed to set")}this.accumulator.nextSlice(j(this.accumulator.state))}else this.accumulator.nextSlice(j)}connect(j,ve,oe){if(!(0,m.A)(j)||ve||oe)if(!(0,s.Hps)(j)||ve||oe)if((0,m.A)(j)&&ve&&"function"==typeof ve&&!oe){const H=ve,ae=j.pipe((0,w.T)(pe=>H(this.accumulator.state,pe)));this.accumulator.nextSliceObservable(ae)}else if((0,s.Hps)(j)&&ve&&"function"==typeof ve&&!oe){const H=ve,ae=(0,h.br)(j,{injector:this.injector}).pipe((0,w.T)(pe=>H(this.accumulator.state,pe)));this.accumulator.nextSliceObservable(ae)}else if((0,e.bX)(j)&&(0,m.A)(ve)&&!oe){const H=ve.pipe((0,w.T)(ae=>({[j]:ae})));this.accumulator.nextSliceObservable(H)}else if((0,e.bX)(j)&&(0,s.Hps)(ve)&&!oe){const H=(0,h.br)(ve,{injector:this.injector}).pipe((0,w.T)(ae=>({[j]:ae})));this.accumulator.nextSliceObservable(H)}else if(oe&&"function"==typeof oe&&(0,e.bX)(j)&&(0,m.A)(ve)){const H=j,ae=ve.pipe((0,w.T)(pe=>({[H]:oe(this.get(),pe)})));this.accumulator.nextSliceObservable(ae)}else{if(!(oe&&"function"==typeof oe&&(0,e.bX)(j)&&(0,s.Hps)(ve)))throw new Error("wrong params passed to connect");{const H=j,ae=(0,h.br)(ve,{injector:this.injector}).pipe((0,w.T)(pe=>({[H]:oe(this.get(),pe)})));this.accumulator.nextSliceObservable(ae)}}else this.accumulator.nextSliceObservable((0,h.br)(j,{injector:this.injector}));else this.accumulator.nextSliceObservable(j)}select(...j){return this.accumulator.state$.pipe((0,e.Lt)(...j))}signal(j){return this.signalStoreProxy[j]}computed(j){return(0,s.EWP)(()=>j(this.signalStoreProxy))}computedFrom(...j){return(0,h.ot)(this.select(...j),{injector:this.injector,requireSync:!0})}hold(j,ve){const oe=j.pipe((0,M.W)(H=>C.w));this.effectObservable.nextEffectObservable("function"!=typeof ve?oe:oe.pipe((0,b.M)(ve)))}subscribe(){const j=new u.yU;return j.add(this.accumulator.subscribe()),j.add(this.effectObservable.subscribe()),this.signalStoreProxy=function R(B,Y){const j=(0,s.WQX)(s.abz);return new Proxy({},{get(oe,H){let ae=oe[H];if(!ae){const pe=Y(H);ae=(0,s.vPA)(pe),oe[H]=ae,B.pipe((0,e.Lt)(H),(0,h.pQ)(j)).subscribe(de=>ae.set(de))}return ae},has:(oe,H)=>!!oe[H],ownKeys:oe=>[...Reflect.ownKeys(oe)],getOwnPropertyDescriptor:(oe,H)=>({enumerable:!0,configurable:!0}),set:()=>!0})}(this.$,this.get.bind(this)),j}static \u0275fac=function(ve){return new(ve||B)};static \u0275prov=s.jDH({token:B,factory:B.\u0275fac})}return B})()},10467:(Be,K,l)=>{"use strict";function s(e,u,m,C,w,M,b){try{var R=e[M](b),L=R.value}catch(x){return void m(x)}R.done?u(L):Promise.resolve(L).then(C,w)}function h(e){return function(){var u=this,m=arguments;return new Promise(function(C,w){var M=e.apply(u,m);function b(L){s(M,C,w,b,R,"next",L)}function R(L){s(M,C,w,b,R,"throw",L)}b(void 0)})}}l.d(K,{A:()=>h})},31635:(Be,K,l)=>{"use strict";l.d(K,{AQ:()=>Pe,Cg:()=>m,Cl:()=>e,N3:()=>de,Sn:()=>L,Tt:()=>u,YH:()=>B,fX:()=>pe,sH:()=>x,xN:()=>J});var e=function(){return e=Object.assign||function(Re){for(var Ve,ye=1,ht=arguments.length;ye=0;ut--)(We=Oe[ut])&&(Ce=(ht<3?We(Ce):ht>3?We(Re,Ve,Ce):We(Re,Ve))||Ce);return ht>3&&Ce&&Object.defineProperty(Re,Ve,Ce),Ce}function L(Oe,Re){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Oe,Re)}function x(Oe,Re,Ve,ye){return new(Ve||(Ve=Promise))(function(Ce,We){function ut(Kt){try{vt(ye.next(Kt))}catch(wt){We(wt)}}function ft(Kt){try{vt(ye.throw(Kt))}catch(wt){We(wt)}}function vt(Kt){Kt.done?Ce(Kt.value):function ht(Ce){return Ce instanceof Ve?Ce:new Ve(function(We){We(Ce)})}(Kt.value).then(ut,ft)}vt((ye=ye.apply(Oe,Re||[])).next())})}function B(Oe,Re){var ye,ht,Ce,We,Ve={label:0,sent:function(){if(1&Ce[0])throw Ce[1];return Ce[1]},trys:[],ops:[]};return We={next:ut(0),throw:ut(1),return:ut(2)},"function"==typeof Symbol&&(We[Symbol.iterator]=function(){return this}),We;function ut(vt){return function(Kt){return function ft(vt){if(ye)throw new TypeError("Generator is already executing.");for(;We&&(We=0,vt[0]&&(Ve=0)),Ve;)try{if(ye=1,ht&&(Ce=2&vt[0]?ht.return:vt[0]?ht.throw||((Ce=ht.return)&&Ce.call(ht),0):ht.next)&&!(Ce=Ce.call(ht,vt[1])).done)return Ce;switch(ht=0,Ce&&(vt=[2&vt[0],Ce.value]),vt[0]){case 0:case 1:Ce=vt;break;case 4:return Ve.label++,{value:vt[1],done:!1};case 5:Ve.label++,ht=vt[1],vt=[0];continue;case 7:vt=Ve.ops.pop(),Ve.trys.pop();continue;default:if(!(Ce=(Ce=Ve.trys).length>0&&Ce[Ce.length-1])&&(6===vt[0]||2===vt[0])){Ve=0;continue}if(3===vt[0]&&(!Ce||vt[1]>Ce[0]&&vt[1]1||ut(tn,Wn)})})}function ut(tn,Wn){try{!function ft(tn){tn.value instanceof de?Promise.resolve(tn.value.v).then(vt,Kt):wt(Ce[0][2],tn)}(ye[tn](Wn))}catch(pi){wt(Ce[0][3],pi)}}function vt(tn){ut("next",tn)}function Kt(tn){ut("throw",tn)}function wt(tn,Wn){tn(Wn),Ce.shift(),Ce.length&&ut(Ce[0][0],Ce[0][1])}}function J(Oe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ve,Re=Oe[Symbol.asyncIterator];return Re?Re.call(Oe):(Oe=function ve(Oe){var Re="function"==typeof Symbol&&Symbol.iterator,Ve=Re&&Oe[Re],ye=0;if(Ve)return Ve.call(Oe);if(Oe&&"number"==typeof Oe.length)return{next:function(){return Oe&&ye>=Oe.length&&(Oe=void 0),{value:Oe&&Oe[ye++],done:!Oe}}};throw new TypeError(Re?"Object is not iterable.":"Symbol.iterator is not defined.")}(Oe),Ve={},ye("next"),ye("throw"),ye("return"),Ve[Symbol.asyncIterator]=function(){return this},Ve);function ye(Ce){Ve[Ce]=Oe[Ce]&&function(We){return new Promise(function(ut,ft){!function ht(Ce,We,ut,ft){Promise.resolve(ft).then(function(vt){Ce({value:vt,done:ut})},We)}(ut,ft,(We=Oe[Ce](We)).done,We.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},Be=>{Be(Be.s=12393)}]);