bet5688i.com Open in urlscan Pro
2606:4700::6812:1847  Public Scan

Submitted URL: http://bet5688i.com/assets/main~52f0199e.4925e7437f3c2a9a31a2.js
Effective URL: https://bet5688i.com/assets/main~52f0199e.4925e7437f3c2a9a31a2.js
Submission: On November 10 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

"use strict";(self.webpackChunkmy_vue_app=self.webpackChunkmy_vue_app||[]).push([[37183],{24482:function(e,t,o){o.d(t,{X:function(){return $},Z:function(){return z}});var n,s,i,a,r,c,l,m,d,h,u,g,p,y,f,b,_,S,E,w,T,A=o(36568),D=o.n(A),R=o(43269),M=o(4942),C=o(53229),I=o(38821),L=o(71743),P=o(93250),O=o(5954),v=o(24759),N=o(75990),B=o(63141),k=o(91475),H=o(44586),x=o(26747),G=o(41095),Z=o(11322),Y="goDRiiBsuEuXD3W1NphN",F="GgAalyCT_nMrUn3ge8Q8";const U="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==";let $;!function(e){e[e.Error=1]="Error",e[e.Empty=2]="Empty",e[e.Success=3]="Success"}($||($={}));const W={useWebpOnly:!1,tryCompression:!0,immediate:!1,performance:!0,type:"img",lazy:!0,blurAnimation:window.wgMock.blurAnimation};let z=(n=(0,I.wA)({name:"MyImg"}),s=(0,I.fI)({required:!0}),i=(0,I.fI)(),a=(0,I.fI)(),r=(0,I.fI)(),c=(0,I.fI)({type:Boolean,default:!1}),l=(0,I.Rl)(),m=(0,I.fI)(),d=(0,I.fI)({default:!1}),h=(0,I.RL)("src"),n((T=class e extends((0,I.Wr)(I.XY,G.Z,x.Z)){constructor(...e){super(...e),(0,M.Z)(this,"groupsId",`my-img-${(0,H.Z)()}`),(0,M.Z)(this,"Image",null),(0,M.Z)(this,"state",{imgSrc:"",loadError:!1,status:"wait"}),(0,R.Z)(this,"src",p,this),(0,R.Z)(this,"width",y,this),(0,R.Z)(this,"height",f,this),(0,R.Z)(this,"options",b,this),(0,R.Z)(this,"useSkeleton",_,this),(0,R.Z)(this,"imgRef",S,this),(0,R.Z)(this,"syncGroupsWrapId",E,this),(0,R.Z)(this,"syncGroupsSrc",w,this),(0,M.Z)(this,"isSynced",!1)}get ossTargetSrc(){return this._src||""}get realSrc(){return this.src||U}get renderSrc(){return this.state.imgSrc}get srcExtension(){return(0,v.mD)(this.src)}get _src(){let e=(0,L.Cj)(this.realSrc||"");try{const t=this._options.swRuntimeCacheName||(/\.(png|jpe?g)\?t=\d{10}$/.test(e)?"web-lobby-runtime":""),o="gif"===this.srcExtension&&((0,O.Q)().ios()||(0,O.Q)().macos());return this._options.tryCompression&&(0,v.G_)(e)&&(0,v.hC)(e,"png|PNG|gif|jpg|jpeg")&&(e=(0,v.Dy)(e,this.srcExtension,`${(()=>!window.imgSupport.avif||o||this._options.useWebpOnly?window.imgSupport.webp?"webp":this.srcExtension:"avif")()}`)),t?(0,B.zs)(e,{swRuntimeCacheName:t}):e}catch(t){return e}}get _options(){return{thumb:this.options?.thumb||U,...W,...this.options}}onSrcChanged(){this.initImg()}isImmediate(){return this._options.immediate}doCache(t){const o=e.urlCache.find((e=>e.realSrc===this.realSrc));o?o.renderSrc=t:(e.urlCache.length>1e3&&e.urlCache.shift(),e.urlCache.push({realSrc:this.realSrc,renderSrc:t}))}created(){this.isImmediate()&&this.initImg(!0)}mounted(){this.isImmediate()||this.initImg()}beforeDestroy(){this.doDestroy()}doDestroy(){this.Image&&(this.Image.onload=null),Z.Z.removeComponent(this)}initImg(e=!1){if(e)return this.state.status="",void(this.state.imgSrc=this.getSrc());const t=()=>this.setState({imgSrc:this.getSrc()});window.wgMock.noLazy?t():this._options.lazy?this.lazyLoad(t):t()}replaceSrcHost(e){return(e=e||this.retryConfig.list[0])?this._src.replace(this.retryConfig.src,e):this._src}get retryConfig(){return this.ossCommonAssetsHost?{src:this.ossCommonAssetsHost,list:(0,P.HS)("ossCommonDomain"),retry:P.C7}:this.ossLobbyAssetPathOrigin?{src:this.ossLobbyAssetPathOrigin,list:(0,P.HS)("assetsPathOrigin"),retry:P.or}:this.ossAssetsHost?{src:this.ossAssetsHost,list:(0,P.HS)("ossDomain"),retry:P.$A}:{list:[""],src:"",retry:e=>(0,N.IY)([""],e)}}async syncSrcWithGroupsId(t){try{if(!0===this.isSynced)return;const o=()=>{let t=document.body;const o=this.syncGroupsWrapId;return o&&(e.containerDom[o]||(e.containerDom[o]=document.querySelector(o)||document.body,setTimeout((()=>{e.containerDom[o]=void 0}),0)),t=e.containerDom[o]),t};if(this.syncGroupsSrc){await Promise.resolve();const e=o().querySelectorAll(`[data-groups-id='${this.groupsId}']`);if(e.length>1)for(let o=0;o<e.length;o++){const n=e[o];n!==this.$el&&(n.setAttribute("data-status","loaded"),n.setAttribute("data-synced","true"),this.useBackground?n.style.backgroundImage=`url(${t})`:n.setAttribute("src",t))}this.isSynced=!0}}catch(o){}}loadingOriginal(){const t=this.realSrc,o=(e,t)=>this.realSrc!==t?"":(this.doDestroy(),this.setState({imgSrc:e,status:"loaded"}),this.syncSrcWithGroupsId(e),this.$emit("load",e),this.doCache(e),this.realSrc===U?this.$emit("loadedResult",$.Empty):this.$emit("loadedResult",$.Success),e),n=e=>{this.realSrc===e&&(this.setState({status:"error",loadError:!0,...this._options.errorImg?{imgSrc:(0,L.Cj)(this._options.errorImg||"")}:{imgSrc:U}}),this.doDestroy(),this.$emit("loadedResult",$.Error))},s=()=>{(0,this.retryConfig.retry)((e=>new Promise(((t,o)=>{const n=e;let s=n?this.replaceSrcHost(n):this._src;this.Image=new Image,this.Image.src=s,this.Image.complete?t(s):(this.setState({status:"loading"}),this.Image.onload=()=>{t(s)},this.Image.onerror=()=>{const e=this.Image?.src||"";this._options.tryCompression&&this.Image&&(0,v.G_)(e)&&(0,v.hC)(e,"avif|webp")?(s=(0,v.Dy)(e,"avif|webp",this.srcExtension),this.Image.src=s):o()})})))).then((e=>{o(e,t)})).catch((()=>{n(t)}))},i=e.urlCache.find((e=>e.realSrc===this.realSrc));if(i?.realSrc&&i.renderSrc){if(this.Image=new Image,this.Image.src=i.renderSrc,this.Image.complete)return o(i.renderSrc,t);this.setState({status:"loading"}),this.Image.onload=()=>{o(i.renderSrc,t)},this.Image.onerror=()=>{s()}}else s();return""}lazyLoad(e){window.IntersectionObserver?setTimeout((()=>{Z.Z.addLazyBox(this,{callback:e})})):e()}getSrc(){if("video"===this._options.type)return this.setState({status:""}),this.replaceSrcHost();const e=this.loadingOriginal();return e||(this._options.thumb?this.getThumb():this.replaceSrcHost())}getThumb(){return this._options.thumb||""}get useBackground(){return!["img","video"].includes(this._options?.type||"")}get targetStyle(){const e=this.renderSrc;return{width:this.width?this.width/this.baseUnit+this.unit:this.width,height:this.height?this.height/this.baseUnit+this.unit:this.height,...this.useBackground?{backgroundPosition:"0 0",backgroundImage:`url(${e})`,backgroundSize:"100% 100%"}:{}}}render(){const e=arguments[0],t=this.renderSrc,o=this._options.type,n=!this._options.performance||this._options.performance&&"wait"!==this.state.status||window.wgMock.noLazy,s={ref:"imgRef",class:[Y,this.useSkeleton?F:"",this.useSkeleton?"use-skeleton":""],style:this.targetStyle,attrs:{"data-groups-id":this.groupsId,"data-src-render":t,...this.useBackground?{}:{src:t,alt:"."},"data-blur":this._options.blurAnimation?1:0,"data-status":this.state.status,...this.state.loadError?{"data-src-real":this.realSrc}:{}},on:{click:e=>this.$emit("click",e)}};return"img"===o?e("img",D()([{},s])):"video"===o?e("video",D()([{},s,{attrs:{autoplay:!0}}]),[n&&(this.$slots?.default||this.$scopedSlots.default?.())]):e(o,D()([{},s]),[this.state.loadError&&this.$slots?.errorImg,n&&(this.$slots?.default||this.$scopedSlots.default?.())])}},(0,M.Z)(T,"Directive",{bind:function(e,t){const o=(0,L.Cj)(t.value.src||""),n=e.Image=new Image,s=t.value.urlCallback=(e,t)=>{"IMG"===t.tagName?t.src=e:t.style.backgroundImage=`url(${e})`},i=(()=>{const{ossSkinOrigin:e,ossDomain:t,ossCommonDomain:n}=(0,k.h)(),s=n.find((e=>(o||"").startsWith(e))),i=t.find((e=>(o||"").startsWith(e))),a=e.find((e=>(o||"").startsWith(e)));return s?{src:s,list:(0,P.HS)("ossCommonDomain"),retry:P.C7}:a?{src:a,list:(0,P.HS)("assetsPathOrigin"),retry:P.or}:i?{src:i,list:(0,P.HS)("ossDomain"),retry:P.$A}:{src:"",list:[""],retry:e=>(0,N.IY)([""],e)}})();(0,i.retry)((t=>new Promise(((a,r)=>{const c=t;let l=c?o.replace(i.src,c):o;s(l,e),n.src=l,n.complete?a(l):(n.onload=()=>{a(l)},n.onerror=()=>{(0,v.G_)(n.src)&&(0,v.hC)(n.src,"avif|webp")?(l=(0,v.Dy)(l,"avif|webp",(0,v.mD)(n.src)),s(l,e),n.src=l):r()})})))).then((t=>{s(t,e),e.Image=null})).catch((()=>{e.Image=null}))}}),(0,M.Z)(T,"urlCache",[]),(0,M.Z)(T,"containerDom",{}),g=T,p=(0,C.Z)(g.prototype,"src",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,C.Z)(g.prototype,"width",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,C.Z)(g.prototype,"height",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,C.Z)(g.prototype,"options",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,C.Z)(g.prototype,"useSkeleton",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,C.Z)(g.prototype,"imgRef",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,C.Z)(g.prototype,"syncGroupsWrapId",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,C.Z)(g.prototype,"syncGroupsSrc",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,C.Z)(g.prototype,"onSrcChanged",[h],Object.getOwnPropertyDescriptor(g.prototype,"onSrcChanged"),g.prototype),u=g))||u)},24759:function(e,t,o){o.d(t,{Dy:function(){return a},G_:function(){return s},hC:function(){return i},mD:function(){return r},wH:function(){return c}});o(71743);var n=o(5954);o(91475);const s=e=>/^(https?:\/\/[^\/]+)?\/(assets\/lobby_asset|siteadmin\/skin\/lobby_asset|game_pictures|active|cocos\/lg|siteadmin\/upload|cocos\/icon\/vjp|cocos\/icon\/elt)/.test(e),i=(e,t)=>new RegExp(`\\.(${t})(\\?.*)?$`).test(e),a=(e,t,o)=>{const n=new RegExp(`\\.(${t})(\\?.*)?$`,"i");return e.replace(n,`.${o}$2`)},r=e=>{const t=e.match(/\.([0-9a-z]+)(?:[\?#]|$)/i);return t?t[1]:"png"},c=()=>(0,n.Q)().ios()||(0,n.Q)().macos()},60691:function(e,t,o){o.d(t,{Z:function(){return w}});var n,s,i,a,r,c,l,m,d,h,u,g=o(36568),p=o.n(g),y=o(43269),f=o(53229),b=o(38821),_=o(24759),S=o(42689),E=o(8193);let w=(n=(0,b.wA)({name:"InnerHTML"}),s=(0,b.fI)((0,S.Z_)().def("span")),i=(0,b.fI)({type:String,required:!0}),a=(0,b.fI)({type:Function,default:e=>{if(void 0===e)return;if(null===e)return null;const t=String(e);return/<\/?[a-z][\s\S]*>/i.test(t)?t:t.replace(/\n/g,"<br/>")}}),r=(0,b.fI)({type:Boolean,default:!0}),n((l=class extends b.XY{constructor(...e){super(...e),(0,y.Z)(this,"type",m,this),(0,y.Z)(this,"text",d,this),(0,y.Z)(this,"format",h,this),(0,y.Z)(this,"xssProtection",u,this)}useWebpFile(e){return(0,_.wH)()?e.replace(/<source\s+[^>]*?type=(["'])?image\/avif\1[^>]*>/g,""):e}render(){const e=arguments[0],t=this.format(this.text),o={attrs:{...this.$attrs},props:{...this.$attrs},on:{...this.$listeners}};return e(this.type,p()([{domProps:{innerHTML:this.xssProtection?this.useWebpFile((0,E.v)(t,{whiteList:{picture:["src"],source:["src","srcset","type"]}})):this.useWebpFile(t)}},o]))}},m=(0,f.Z)(l.prototype,"type",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,f.Z)(l.prototype,"text",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,f.Z)(l.prototype,"format",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,f.Z)(l.prototype,"xssProtection",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=l))||c)},93711:function(e,t,o){o.d(t,{Z:function(){return i}});var n,s=o(38821);let i=(0,s.wA)({name:"MyEmpty"})(n=class extends s.XY{render(){return(0,arguments[0])("template")}})||n},28220:function(e,t,o){o.d(t,{Z:function(){return _e}});var n=o(43269),s=o(4942),i=o(53229),a=o(38821),r=o(2046);const c="undefined"==typeof window;var l=o(75990),m=o(91475),d=o(44586),h=o(4074),u=o(46930);const g={vertical:{offset:"offsetHeight",key:"vertical",size:"height",wide:"width",axis:"Y",client:"clientY",scroll:"scrollTop",scrollSize:"scrollHeight",direction:"top"},horizontal:{offset:"offsetWidth",key:"horizontal",size:"width",wide:"height",axis:"X",client:"clientX",scroll:"scrollLeft",scrollSize:"scrollWidth",direction:"left"}};var p,y,f,b,_,S,E,w,T,A,D,R,M,C,I,L,P,O,v,N,B;let k=(p=(0,a.wA)({name:"MyBar"}),y=(0,a.fI)((0,u.n2)(HTMLDivElement).isRequired),f=(0,a.fI)((0,u.Z_)().def("vertical")),b=(0,a.fI)((0,u.Z_)().def("hover")),_=(0,a.fI)(u.ZP.style.def({backgroundColor:""})),S=(0,a.fI)(u.ZP.style.def({backgroundColor:"var(--theme-scroll-bar-bg-color)"})),E=(0,a.fI)(u.ZP.string),w=(0,a.fI)(),T=(0,a.Rl)(),A=(0,a.Rl)(),p((R=class extends a.XY{constructor(...e){super(...e),(0,n.Z)(this,"parentRef",M,this),(0,n.Z)(this,"direction",C,this),(0,n.Z)(this,"trigger",I,this),(0,n.Z)(this,"barStyle",L,this),(0,n.Z)(this,"thumbStyle",P,this),(0,n.Z)(this,"size",O,this),(0,n.Z)(this,"move",v,this),(0,n.Z)(this,"barRef",N,this),(0,n.Z)(this,"thumbRef",B,this),(0,s.Z)(this,"cursorDown",!1),(0,s.Z)(this,"X",0),(0,s.Z)(this,"Y",0)}get bar(){return g[this.direction]}get thumbStyleObj(){return Object.assign({},this.thumbStyle,{[this.bar.size]:this.size,transform:`translate${this.bar.axis}(${this.move})`})}clickThumbHandler(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=this.thumbRef?.[this.bar.offset]-(e[this.bar.client]-this.thumbRef?.getBoundingClientRect()[this.bar.direction]))}clickTrackHandler(e){const t=100*(Math.abs(this.barRef?.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-this.thumbRef?.[this.bar.offset]/2)/this.barRef?.[this.bar.offset]*this.parentRef[this.bar.scrollSize]/100;new h.ZP({value:this.parentRef[this.bar.scroll]}).to({value:t},300,"none").on(h.ZP.EventType.UPDATE,(({value:e})=>{this.parentRef[this.bar.scroll]=e})).on(h.ZP.EventType.COMPLETE,(()=>{this.parentRef[this.bar.scroll]=t}))}startDrag(e){e.stopImmediatePropagation(),this.cursorDown=!0,this.parentRef.querySelectorAll("iframe").forEach((e=>{e.style.pointerEvents="none"})),document.addEventListener("mousemove",this.mouseMoveDocumentHandler),document.addEventListener("mouseup",this.mouseUpDocumentHandler),document.onselectstart=()=>!1}mouseMoveDocumentHandler(e){if(this.isKeptAlive)return;if(!1===this.cursorDown)return;const t=this[this.bar.axis];if(!t)return;const o=100*(-1*(this.barRef?.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-(this.thumbRef?.[this.bar.offset]-t))/this.barRef?.[this.bar.offset];this.parentRef[this.bar.scroll]=o*this.parentRef[this.bar.scrollSize]/100}mouseUpDocumentHandler(){this.isKeptAlive||(this.parentRef.querySelectorAll("iframe").forEach((e=>{e.style.pointerEvents="auto"})),this.cursorDown=!1,this[this.bar.axis]=0,document.addEventListener("mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null)}destroyed(){document.removeEventListener("mouseup",this.mouseUpDocumentHandler)}render(){const e=arguments[0];return e("div",{on:{click:a.Ie.LY.stop,mousedown:this.clickTrackHandler},class:`my-scrollbar-bar my-scrollbar-${this.direction}`,style:this.barStyle,ref:"barRef"},[e("div",{class:"my-scrollbar-thumb",ref:"thumbRef",on:{mousedown:this.clickThumbHandler},style:this.thumbStyleObj})])}},M=(0,i.Z)(R.prototype,"parentRef",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,i.Z)(R.prototype,"direction",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,i.Z)(R.prototype,"trigger",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,i.Z)(R.prototype,"barStyle",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.Z)(R.prototype,"thumbStyle",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,i.Z)(R.prototype,"size",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.Z)(R.prototype,"move",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,i.Z)(R.prototype,"barRef",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,i.Z)(R.prototype,"thumbRef",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=R))||D);var H,x,G,Z,Y,F,U,$,W,z,K,V,q,j,J,X,Q,ee,te,oe,ne,se,ie,ae,re,ce,le,me,de,he,ue,ge,pe,ye,fe;const be={};let _e=(H=(0,a.wA)({name:"MyScroll"}),x=(0,a.fI)({default:!1}),G=(0,a.fI)({default:1}),Z=(0,a.fI)({default:!1}),Y=(0,a.fI)(u.ZP.string),F=(0,a.fI)(u.ZP.string.def("100%")),U=(0,a.fI)(u.ZP.string.def("100%")),$=(0,a.fI)((0,u.Z_)().def("all")),W=(0,a.fI)((0,u.Z_)().def("hover")),z=(0,a.fI)(u.ZP.style.def({backgroundColor:""})),K=(0,a.fI)(u.ZP.style.def({backgroundColor:"var(--theme-scroll-bar-bg-color)"})),V=(0,a.Rl)(),q=(0,a.fI)(u.ZP.bool.def(!1)),j=(0,a.DF)("getScrollPos"),J=(0,a.DF)("changeScrollDisable"),X=(0,r.Debounce)(50),Q=(0,a.y1)("scroll"),ee=(0,a.y1)("scrollChange"),te=(0,a.DF)("scrollTo"),oe=(0,r.Debounce)(100),ne=(0,r.Debounce)(600),H((ie=class extends a.XY{constructor(...e){super(...e),(0,s.Z)(this,"scrollBySynced",!1),(0,s.Z)(this,"uuid",(0,d.Z)()),(0,s.Z)(this,"scrollTimeout",null),(0,s.Z)(this,"state",{vThumbHeight:"0",hThumbWidth:"0",moveX:"0%",moveY:"0%",hover:!1,hasVBar:!1,hasHBar:!1,scrollDisabled:!1}),(0,n.Z)(this,"dragable",ae,this),(0,n.Z)(this,"stepWidth",re,this),(0,n.Z)(this,"useSystemBar",ce,this),(0,n.Z)(this,"refKey",le,this),(0,n.Z)(this,"width",me,this),(0,n.Z)(this,"height",de,this),(0,n.Z)(this,"direction",he,this),(0,n.Z)(this,"trigger",ue,this),(0,n.Z)(this,"barStyle",ge,this),(0,n.Z)(this,"thumbStyle",pe,this),(0,n.Z)(this,"wrapRef",ye,this),(0,n.Z)(this,"lock",fe,this),(0,s.Z)(this,"ticking",!1),(0,s.Z)(this,"lockScroll",!1),(0,s.Z)(this,"isDragging",!1),(0,s.Z)(this,"startX",0),(0,s.Z)(this,"scrollLeft",0),(0,s.Z)(this,"startY",0),(0,s.Z)(this,"scrollTop",0),(0,s.Z)(this,"showMask",!1)}getScrollPos(){return this.wrapRef?{x:this.wrapRef.scrollLeft,y:this.wrapRef.scrollTop}:{x:0,y:0}}changeScrollDisable(e=!0){this.setState({scrollDisabled:e})}handleScrollRaf(e){this.ticking||((0,l.Wn)((()=>{this.handleScroll(e),this.handleStepScroll()})),this.ticking=!0)}handleStepScroll(){this.isDragging||1===this.stepWidth||this.lockScroll||this.setStep()}handleScroll(e){if(this.scrollTimeout?clearTimeout(this.scrollTimeout):this.$emit("scrollStart"),this.scrollTimeout=window.setTimeout((()=>{this.$emit("scrollEnd"),this.scrollTimeout=null}),150),!e.target)return;const{scrollTop:t,clientHeight:o,scrollLeft:n,clientWidth:s}=e.target;this.setState({moveX:100*n/s+"%",moveY:100*t/o+"%"}),this.ticking=!1}scrollChange(e){return e}scrollTo({x:e,y:t},o=200){e=e??this.wrapRef.scrollLeft,t=t??this.wrapRef.scrollTop;const n=e=>{this.wrapRef&&(this.wrapRef.scrollLeft=e.x,this.wrapRef.scrollTop=e.y)};this.scrollChange({x:e,y:t,scrollWidth:this.wrapRef?.scrollWidth}),o?new h.ZP({x:this.wrapRef.scrollLeft,y:this.wrapRef.scrollTop}).to({x:e,y:t},o).on(h.ZP.EventType.UPDATE,n).on(h.ZP.EventType.COMPLETE,n):n({x:e,y:t})}bindScrollSyncHandler(){if(this.isKeptAlive)return;if(this.scrollBySynced)return;const{scrollLeft:e,scrollTop:t}=this.wrapRef,o=be[this.uuid];(()=>{for(const n of o)n!==this&&(this.scrollBySynced=!0,"x"!==n.direction&&(n.wrapRef.scrollTop=t),"y"!==n.direction&&(n.wrapRef.scrollLeft=e),this.$nextTick((()=>{this.scrollBySynced=!1})))})()}scrollContextCollection(){be[this.uuid]=be[this.uuid]||new Set,this.wrapRef&&(be[this.uuid].add(this),this.wrapRef.removeEventListener("scroll",this.bindScrollSyncHandler),this.wrapRef.addEventListener("scroll",this.bindScrollSyncHandler))}removeScrollCollection(){this.wrapRef.removeEventListener("scroll",this.bindScrollSyncHandler),be[this.uuid].delete(this)}created(){this.uuid=this.refKey||this.uuid}get withBarCalc(){return!this.useSystemBar&&"none"!==this.trigger}updateBar(){if(this.wrapRef&&this.withBarCalc){const e=100*this.wrapRef.clientHeight/this.wrapRef.scrollHeight,t=100*this.wrapRef.clientWidth/this.wrapRef.scrollWidth;this.setState({hasVBar:e<100,hasHBar:t<100,vThumbHeight:e<100?`${e}%`:"",hThumbWidth:t<100?`${t}%`:""})}}get isWeb(){return(0,m.h)().isWeb}handleMouseDown(e){this.isDragging=!0,"x"===this.direction?(this.startX=e.pageX-this.wrapRef.offsetLeft,this.scrollLeft=this.wrapRef.scrollLeft):(this.startY=e.pageY-this.wrapRef.offsetTop,this.scrollTop=this.wrapRef.scrollTop)}handleTouchStart(e){if(this.isKeptAlive)return;const t=e.touches[0];this.isDragging=!0,"x"===this.direction?(this.startX=t.pageX-this.wrapRef.offsetLeft,this.scrollLeft=this.wrapRef.scrollLeft):(this.startY=t.pageY-this.wrapRef.offsetTop,this.scrollTop=this.wrapRef.scrollTop)}handleMouseMove(e){if(this.isKeptAlive)return;if(!this.isDragging)return;let t;if("x"===this.direction){t=1*(e.pageX-this.wrapRef.offsetLeft-this.startX),this.wrapRef.scrollLeft=this.scrollLeft-t}else{t=1*(e.pageY-this.wrapRef.offsetTop-this.startY),this.wrapRef.scrollTop=this.scrollTop-t}this.scrollChange({x:this.wrapRef.scrollLeft,y:this.wrapRef.scrollTop,scrollWidth:this.wrapRef?.scrollWidth}),Math.abs(t)>20&&(this.showMask=!0)}handleTouchMove(e){if(this.isKeptAlive)return;if(!this.isDragging)return;const t=e.touches[0];let o;if("x"===this.direction){o=1*(t.pageX-this.wrapRef.offsetLeft-this.startX),this.wrapRef.scrollLeft=this.scrollLeft-o}else{o=1*(t.pageY-this.wrapRef.offsetTop-this.startY),this.wrapRef.scrollTop=this.scrollTop-o}this.scrollChange({x:this.wrapRef.scrollLeft,y:this.wrapRef.scrollTop,scrollWidth:this.wrapRef?.scrollWidth}),Math.abs(o)>20&&(this.showMask=!0)}setStep(){const e=this.stepWidth;if(1!==e){let t=this.wrapRef.scrollLeft;const o=t-this.scrollLeft;o>0?t=Math.ceil(this.wrapRef.scrollLeft/e)*e:o<0&&(t=Math.floor(this.wrapRef.scrollLeft/e)*e),this.scrollLeft=t,this.lockScroll=!0,this.scrollTo({[this.direction]:t},400),this.freeLockScroll()}}freeLockScroll(){this.lockScroll=!1}handleMouseUpOrLeave(){this.isKeptAlive||this.dragable&&this.isDragging&&(this.isDragging=!1,this.showMask=!1,this.setStep())}mounted(){this.updateBar(),this.scrollContextCollection(),this.withBarCalc&&((e,t)=>{if(!c){if(!e.resizeListners&&(e.resizeListners=[],window.addEventListener("resize",t),"undefined"!=typeof MutationObserver)){e.observer=new MutationObserver(((t,o)=>((e,t,o)=>{const n=o.resizeListners||[];n.length&&n.forEach((e=>e()))})(0,0,e)));const t={attributes:!0,childList:!0,subtree:!0,characterData:!0};e.observer.observe(e,t)}e.resizeListners.push(t)}})(this.wrapRef,this.updateBar),this.registerDragable()}registerDragable(){this.dragable&&(this.$nextTick((()=>{const e="ontouchstart"in window;this.isWeb||!e?(this.wrapRef?.addEventListener("mousemove",this.handleMouseMove),this.wrapRef?.addEventListener("mouseup",this.handleMouseUpOrLeave)):(this.wrapRef?.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),this.wrapRef?.addEventListener("touchmove",this.handleTouchMove),this.wrapRef?.addEventListener("touchend",this.handleMouseUpOrLeave),this.wrapRef?.addEventListener("touchcancel",this.handleMouseUpOrLeave))})),this.scrollChange({x:0,y:0,scrollWidth:this.wrapRef?.scrollWidth}))}removeDragable(){this.dragable&&(this.wrapRef?.removeEventListener("mousemove",this.handleMouseMove),this.wrapRef?.removeEventListener("mouseup",this.handleMouseUpOrLeave),this.wrapRef?.removeEventListener("touchstart",this.handleTouchStart),this.wrapRef?.removeEventListener("touchmove",this.handleTouchMove),this.wrapRef?.removeEventListener("touchend",this.handleMouseUpOrLeave),this.wrapRef?.removeEventListener("touchcancel",this.handleMouseUpOrLeave))}beforeDestroy(){var e,t;this.removeScrollCollection(),this.withBarCalc&&(e=this.wrapRef,t=this.updateBar,e&&e.resizeListners&&(e.resizeListners.splice(e.resizeListners.indexOf(t),1),window.removeEventListener("resize",t),e.resizeListners.length||e.observer.disconnect())),this.removeDragable()}render(){const e=arguments[0];return e("div",{class:`my-scrollbar my-scrollbar-${this.trigger}`,style:{width:this.width,height:this.height}},[e("div",{class:{"my-scrollbar-wrap":!0,"my-scrollbar-wrap-lock":this.lock||this.state.scrollDisabled,[`my-scrollbar-wrap-${this.direction}`]:!0,"my-scrollbar-wrap-use-systembar":this.useSystemBar},ref:"wrapRef",on:{scroll:this.handleScrollRaf,...this.dragable?{mousedown:this.handleMouseDown,mouseleave:this.handleMouseUpOrLeave.bind(this)}:{}}},[this.dragable?e("div",{class:{masklayer:!0,"show-mask":this.showMask}}):null,e("div",{class:"my-scrollbar-content"},[this.$scopedSlots.default?.()])]),(()=>(this.state.hasVBar||this.state.hasHBar)&&this.wrapRef&&this.withBarCalc?["x"!==this.direction&&e(k,{props:{size:this.state.vThumbHeight},attrs:{direction:"vertical",parentRef:this.wrapRef,move:this.state.moveY,barStyle:this.barStyle,thumbStyle:this.thumbStyle},directives:[{name:"show",value:this.state.hasVBar}],class:"my-scrollbar-bar-v-bar"}),"y"!==this.direction&&e(k,{props:{size:this.state.hThumbWidth},attrs:{direction:"horizontal",parentRef:this.wrapRef,move:this.state.moveX,barStyle:this.barStyle,thumbStyle:this.thumbStyle},directives:[{name:"show",value:this.state.hasHBar}],class:"my-scrollbar-bar-h-bar"})]:null)()])}},ae=(0,i.Z)(ie.prototype,"dragable",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=(0,i.Z)(ie.prototype,"stepWidth",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ce=(0,i.Z)(ie.prototype,"useSystemBar",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),le=(0,i.Z)(ie.prototype,"refKey",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),me=(0,i.Z)(ie.prototype,"width",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),de=(0,i.Z)(ie.prototype,"height",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),he=(0,i.Z)(ie.prototype,"direction",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ue=(0,i.Z)(ie.prototype,"trigger",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ge=(0,i.Z)(ie.prototype,"barStyle",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pe=(0,i.Z)(ie.prototype,"thumbStyle",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ye=(0,i.Z)(ie.prototype,"wrapRef",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),fe=(0,i.Z)(ie.prototype,"lock",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.Z)(ie.prototype,"getScrollPos",[j],Object.getOwnPropertyDescriptor(ie.prototype,"getScrollPos"),ie.prototype),(0,i.Z)(ie.prototype,"changeScrollDisable",[J],Object.getOwnPropertyDescriptor(ie.prototype,"changeScrollDisable"),ie.prototype),(0,i.Z)(ie.prototype,"handleStepScroll",[X],Object.getOwnPropertyDescriptor(ie.prototype,"handleStepScroll"),ie.prototype),(0,i.Z)(ie.prototype,"handleScroll",[Q],Object.getOwnPropertyDescriptor(ie.prototype,"handleScroll"),ie.prototype),(0,i.Z)(ie.prototype,"scrollChange",[ee],Object.getOwnPropertyDescriptor(ie.prototype,"scrollChange"),ie.prototype),(0,i.Z)(ie.prototype,"scrollTo",[te],Object.getOwnPropertyDescriptor(ie.prototype,"scrollTo"),ie.prototype),(0,i.Z)(ie.prototype,"setStep",[oe],Object.getOwnPropertyDescriptor(ie.prototype,"setStep"),ie.prototype),(0,i.Z)(ie.prototype,"freeLockScroll",[ne],Object.getOwnPropertyDescriptor(ie.prototype,"freeLockScroll"),ie.prototype),se=ie))||se)},75395:function(e,t,o){o.d(t,{Z:function(){return G}});var n,s,i,a,r,c,l,m,d,h,u,g,p,y,f,b=o(43269),_=o(53229),S=o(38821),E=o(46851),w=o(72433),T=o(71743),A=o(12392),D=o(46930),R=o(50008),M=o(75812),C=o(44159),I=o(80194),L="W2tjkzVcGnfs8Q_AXxJn",P="vQXZocCgtfHlvv3Ol5Ug",O="mDbpiqAAXCKlSHJtOpBf",v="vfM4gIQK4xFYOroxyXEN",N="FzcU4idIq33_dAa_YjKH",B="KpLSeBzUw4iMz4wsDtVg",k="JJvY17nDVfe7Tlj0VSrP",H="zYgxcC7AP2reICGlb3CW",x="k2R_fEA6y3OqsKE4fL5P";let G=(n=(0,S.wA)({name:"MyTitle"}),s=(0,S.fI)(D.ZP.string.def("")),i=(0,S.fI)(D.ZP.bool.def(!0)),a=(0,S.fI)(D.ZP.func.def((()=>{(0,A.X5)("auto"),I.ZP.back()}))),r=(0,S.fI)(D.ZP.bool.def(!0)),c=(0,S.fI)(D.ZP.bool.def(!0)),l=(0,S.fI)({default:0}),n((d=class extends S.XY{constructor(...e){super(...e),(0,b.Z)(this,"title",h,this),(0,b.Z)(this,"showBack",u,this),(0,b.Z)(this,"goBack",g,this),(0,b.Z)(this,"needH5Height",p,this),(0,b.Z)(this,"autoShrink",y,this),(0,b.Z)(this,"badge",f,this)}localGoBack(){this.$root.$emit("gotoHomePage",this.$route.path),this.goBack()}render(){const e=arguments[0];return e("div",{class:{myTitleContainer:!0,[L]:!0,[P]:!this.needH5Height}},[e("div",{class:[O,"myTitle","boxShadow",E.CM.CssClassName.Lobby.FixedNoDesktop]},[e("div",{class:k},[this.showBack&&e("div",{on:{click:this.localGoBack.bind(this)}},[e("icon-sprite",{attrs:{sprite:(0,T.T9)("comm_icon_fh")}})])]),e("div",{class:v},[e("div",{class:[N,this.autoShrink?"":"not-auto-shrink"]},[e("span",{class:"global-wrapper-title"},[this.autoShrink?e(R.Z,{attrs:{limitHeight:"0.7rem",minFontSize:"0.14rem",fontSize:"0.30rem",text:this.title}}):this.title,this.badge&&this.badge>0?e(C.default,{class:"global-wrapper-badge",attrs:{text:e("span",[this.badge]),top:M.ZP.px2rem("-18px"),right:M.ZP.px2rem("-22px"),charge:this.badge}}):""])]),e(w.YC,{class:B,attrs:{name:E.CM.PortalName.MySubTitle}})]),e("div",{class:H},[e(w.YC,{class:x,attrs:{name:E.CM.PortalName.MyTitleH5Slots}})])])])}},h=(0,_.Z)(d.prototype,"title",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,_.Z)(d.prototype,"showBack",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,_.Z)(d.prototype,"goBack",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,_.Z)(d.prototype,"needH5Height",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,_.Z)(d.prototype,"autoShrink",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,_.Z)(d.prototype,"badge",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=d))||m)},76793:function(e,t,o){o.d(t,{o:function(){return n}});const n=9999},36247:function(e,t,o){o.d(t,{d:function(){return r}});var n=o(67476),s=o(76793),i=o(91475),a=o(53579);const r=(0,n.Q_)("ping",{state:()=>({config:{},currentLine:{ping:0,url:"",lineNumber:1,pending:!1},lines:[],oss:{currentLine:{ping:0,url:"",lineNumber:1,pending:!1},lines:[]}}),actions:{openModal(){this.lines.length&&a.Z.open("pingModal")},updateCurrentLine(e,t=!1,o="api"){if("api"===o){const{setApiBaseUrl:o,setBestApiBaseUrl:n}=(0,i.h)();this.currentLine=e,o(e.url),t&&e.ping!==s.o&&n(e.url)}else if("oss"===o){const{setBestOssBaseURL:o}=(0,i.h)();this.oss.currentLine=e,t&&e.ping!==s.o&&o(e.url)}},getContext(e="api"){return"oss"===e?this.oss:this},updateLine(e,t="api"){const o=this.getContext(t);if(o){const t=o.lines.map((t=>t.url===e.url?e:t));o.lines=t.sort(((e,t)=>e.ping-t.ping)),e.url===o.currentLine.url&&(o.currentLine.ping=e.ping)}},updateLineState(e,t,o="api"){const n=this.getContext(o);n.lines=n.lines.map((o=>o.url===e?{...o,pending:t}:o))},updateConfig(e){this.config={...this.config,...e}}}})},26420:function(e,t,o){o.r(t),o.d(t,{TabsEnum:function(){return q},default:function(){return j}});var n,s,i,a,r,c,l,m,d,h,u,g,p,y,f=o(55433),b=o(12040),_=o(38821),S=o(46851),E=o(35829),w=o(5515),T=o(28199),A=o(58217),D=o(91475),R=o(5717),M=o(50859),C=o(53579),I=o(53158),L=o(2046),P=o(29339),O=o(36476),v=o(52851),N=o(65744),B="IZ3RIKA0JMiWHOYb9u5f",k="gn544HZabpyn9_YKr1Qq",H="urdJVIoQ0Du2bRHlCOjg",x="Rn9wKutPeH1wPcfVB94e",G="DMmVnO4MrRvIrs3lfxmS";let Z=(n=(0,_.wA)({name:"ScrollTabBar"}),s=(0,_.fI)(),i=(0,_.fI)(),a=(0,_.Rl)(),r=(0,L.Bind)(),c=(0,L.Throttle)(100),l=(0,_.RL)("value",{immediate:!0}),m=(0,_.RL)("state.activeTab"),d=(0,_.y1)("input"),n((u=class extends _.XY{constructor(...e){super(...e),(0,f.Z)(this,"state",{isLeft:!1,isRight:!1,activeTab:void 0,showContent:!1}),(0,I.Z)(this,"value",g,this),(0,I.Z)(this,"tabList",p,this),(0,I.Z)(this,"scrollRef",y,this)}scrollChange(){if(this.scrollRef?.getTabsNavDiv){const{scrollWidth:e,clientWidth:t,scrollLeft:o}=this.scrollRef?.getTabsNavDiv,n=e-t-o;this.setState({isLeft:o<=20,isRight:n<=20})}}initTab(e){e!==this.state.activeTab&&this.setState({activeTab:this.value})}mounted(){this.setState({activeTab:this.value,showContent:!0}),setTimeout((()=>{this.scrollChange()}),0),setTimeout((()=>{const e=this.scrollRef?.getTabsNavDiv?.querySelector(".van-tab--active");e?.scrollIntoView?.({inline:"center",block:"nearest",behavior:"smooth"})}),500)}tabChange(){this.onInput(this.state.activeTab)}onInput(e){return e}goBack(){this.$router.back()}render(){const e=arguments[0],t=this.$scopedSlots;return e("div",{class:[B,"scroll-tab-bar"],key:"scroll-tab-bar"},[this.$scopedSlots?.["tab-top"]?.(),e(N.Z,[e("div",{class:k,directives:[{name:"show",value:this.state.showContent}]},[e("div",{class:G,on:{click:this.goBack}},[e("icon-sprite",{attrs:{sprite:(0,v.T)("comm_icon_fh")}})]),e(P.kx,{ref:"scrollRef",attrs:{soleId:"scrollTabbar",needAutoCenter:!0,itemHeight:90,itemSpace:0,tabType:O.p.LARGE_TEXT,persistedActiveName:"",tabsNavHiddenForOne:!0,listenScroll:!0,renderList:this.tabList.map((e=>({value:e.value,label:()=>t?.item?.(e)||e.label}))),itemWidth:"auto",isScrollX:!0},class:[H,this.state.activeTab?.toString()!==this.tabList?.[0]?.value?.toString()?x:""],on:{scroll:this.scrollChange},model:{value:this.state.activeTab,callback:e=>{this.$set(this.state,"activeTab",e)}}})])]),this.$scopedSlots?.["tab-bottom"]?.()])}},g=(0,b.Z)(u.prototype,"value",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,b.Z)(u.prototype,"tabList",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,b.Z)(u.prototype,"scrollRef",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,b.Z)(u.prototype,"scrollChange",[r,c],Object.getOwnPropertyDescriptor(u.prototype,"scrollChange"),u.prototype),(0,b.Z)(u.prototype,"initTab",[l],Object.getOwnPropertyDescriptor(u.prototype,"initTab"),u.prototype),(0,b.Z)(u.prototype,"tabChange",[m],Object.getOwnPropertyDescriptor(u.prototype,"tabChange"),u.prototype),(0,b.Z)(u.prototype,"onInput",[d],Object.getOwnPropertyDescriptor(u.prototype,"onInput"),u.prototype),h=u))||h);var Y,F,U,$,W,z="aqZSZRN3OSJXvuDyxWcO",K="FmcZMeOW2aWhCBLvPWwE",V="TEgsNab0J3hKUNoAxXoW";let q;!function(e){e[e.EVENT=E.x4.EVENT]="EVENT",e[e.TASK=E.x4.TASK]="TASK",e[e.BACKWATER=E.x4.CASHBACK]="BACKWATER",e[e.RECORDS=E.x4.RECORDS]="RECORDS",e[e.CANRECEIVE=E.x4.CANRECEIVE]="CANRECEIVE",e[e.RECHARGE_FUND=E.x4.RECHARGE_FUND]="RECHARGE_FUND",e[e.VIP=E.x4.VIP]="VIP",e[e.INTEREST=E.x4.YUEBAO]="INTEREST"}(q||(q={}));let j=(Y=(0,_.wA)({name:"PromotionsBar"}),F=(0,_.RL)("isShow"),U=(0,_.RL)("$route.name",{immediate:!0}),Y((W=class extends _.XY{constructor(...e){super(...e),(0,f.Z)(this,"state",{beforeRouteInterMode:"Base"})}get defaultTabsConfig(){return(0,T.N)()}get isShow(){return this.$route.name&&this.defaultTabsConfig.some((e=>!e.hide&&e.value.toString()===this.$route.name))}routeChange(e){const{routerViewWithTransitionModeOnCurrentChange:t}=(0,D.h)();e&&this.setState({beforeRouteInterMode:t||"Base"})}getTipTextMap(e){const{t:t}=(0,A.QT)(),o=this.defaultTabsConfig.some((t=>t.hide&&t.value===e)),n={[E.x4.CASHBACK]:t("lobby.event.tipsText1"),[E.x4.VIP]:t("lobby.event.tipsText2"),[E.x4.YUEBAO]:t("lobby.event.tipsText3")}[e]||"";return o&&n&&(C.Z.message({type:"warning",content:()=>n}),setTimeout((()=>{this.jumpRoute(E.x4.EVENT,w.R.EVENT)}),2e3)),o&&!!n}mounted(){(0,D.h)().fetchActivesAuthInfos()}jumpRoute(e,t){const{hasLogined:o,homeLayoutInfos:n,updateRouterTransition:s}=(0,D.h)(),{updateTabItem:i}=(0,R.c)(),a=o?n?.loginAfterBottomLayouts:n?.loginBeforeBottomLayouts;let r=this.$route.query;const c=a?.find((e=>e.name===t))?.name,l=()=>{c?(i(t),r={...this.$route.query,tabItem:t}):i(w.R.EVENT)};l();const m=this.defaultTabsConfig.findIndex((e=>e.value===this.$route.name)),d=this.defaultTabsConfig.findIndex((t=>t.value===e));s(d>m?"Push":"Pop"),this.$router.replace({name:e,query:r}),setTimeout((()=>{l(),s(this.state.beforeRouteInterMode)}),0)}changeTab(e){if(this.$route.name!==e&&!this.getTipTextMap(e))switch(e){case q.EVENT:this.jumpRoute(E.x4.EVENT,w.R.EVENT);break;case q.TASK:this.jumpRoute(E.x4.TASK,w.R.TASK);break;case q.VIP:this.jumpRoute(E.x4.VIP,w.R.EVENT);break;case q.BACKWATER:this.jumpRoute(E.x4.CASHBACK,w.R.REBATE);break;case q.CANRECEIVE:this.jumpRoute(E.x4.CANRECEIVE,w.R.EVENT);break;case q.RECORDS:this.jumpRoute(E.x4.RECORDS,w.R.EVENT);break;case q.RECHARGE_FUND:this.jumpRoute(E.x4.RECHARGE_FUND,w.R.EVENT);break;case q.INTEREST:this.jumpRoute(E.x4.YUEBAO,w.R.EVENT)}}render(){const e=arguments[0],t=this.defaultTabsConfig.filter((e=>!e.hide));return e(Z,{attrs:{value:this.$route.name,tabList:t.map((e=>({label:e.label,value:e.value})))},class:[K,S.CM.CssClassName.Lobby.FixedNoDesktop,t[t.length-1]?.redDot?V:""],on:{input:e=>{this.changeTab(e)}},scopedSlots:{item:t=>{const o=this.defaultTabsConfig.find((e=>e.value===t.value));return o?.redDot?e(M.Z,{class:[z,"red-dot"],attrs:{value:o.redDot}},[o.label]):e("inner-html",{attrs:{text:t.label}})}}})}},(0,b.Z)(W.prototype,"routeChange",[F],Object.getOwnPropertyDescriptor(W.prototype,"routeChange"),W.prototype),(0,b.Z)(W.prototype,"getTipTextMap",[U],Object.getOwnPropertyDescriptor(W.prototype,"getTipTextMap"),W.prototype),$=W))||$)},55148:function(e,t,o){o.d(t,{Z:function(){return S}});var n,s,i,a,r,c,l,m=o(36568),d=o.n(m),h=o(43269),u=o(53229),g=o(38821),p=o(42689),y=o(91475),f="yj5rHjAv0U7RlHMzWr7F",b="xvimzcMdMIpAXeYEqzt3",_="qmK8iTLIKtJRQ4pYEXvM";let S=(n=(0,g.wA)({name:"SkeletonBox"}),s=(0,g.fI)((0,p.Z_)().def("span")),i=(0,g.fI)((0,p.Z_)().def("svg")),n((r=class extends g.XY{constructor(...e){super(...e),(0,h.Z)(this,"boxType",c,this),(0,h.Z)(this,"status",l,this)}get loading(){const{loadingSvgSprite:e,loadingImgSprite:t}=(0,y.h)();return e&&"svg"===this.status||t&&"img"===this.status}render(){const e=arguments[0],t={attrs:{...this.$attrs},props:{...this.$attrs},on:{...this.$listeners}};return e(this.boxType,d()([{},t,{class:"none"!==this.status?[f,this.loading?b:"",this.loading?"skeleton-loading":"","loading"===this.status?_:"",this.status||"","skeleton-box"]:[]}]),[this.$slots?.default])}},c=(0,u.Z)(r.prototype,"boxType",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,u.Z)(r.prototype,"status",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=r))||a)},20786:function(e,t,o){o.d(t,{Y:function(){return n}});const n={CLOSE:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAMAAABGS8AGAAAAilBMVEUAAAD////e5Orv8vXe5Or////e5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Ore5Or////////h5+z8/f7z9ffm6/Dp7fHt8PT5+vv2+PrCEzcDAAAAJXRSTlMAYJYggoAJR6DVzbyRfHYuimpXKBlePTURrlDbxOm27OJwZaif1OMsUAAABGNJREFUWMPdmdtiojAQhlNAOSOoeK6tugRy4P1fb0lCO26DDRiv9r8Twsfkz0wSA/ovtVh6tzj8fP/4eP+M4iBdrpC93GtwJJQ1La+leNswisOgXNtQd9czpg2vNPGG4v1y/iR2lWDaVo9Ud2xv/YyxDmnqnsG77hOCOxFhC/+6znDuTsSuHdx89ZrgU5CW/nbluqutX6ZBJP1RYeN8kiEZZv2DJMr9nfbaZRL2/alZdJ3ignyIU5xvHzXaOJipVsQZaXWBG4UNi99zJuvR7LQcw00Il63xxdw2VTG02DO3dahqmuxG1Y8jw6iJY2g4V1wWH9BIFZEMmjoGLlPv302oI4eayYqLczRJKomoY/CX4wxNVI4F+bHPDpHcAk2Wp8gPcuOChQ/AnURWzx4GByEUiYNT9JQS0ds2HjSiEb1JnoDC+LABmzMCN55SIALDpVb4wn4eWSw4G0k4aR4x8b4rslAq+ky9HyOHlRFWujUiM34ELK9JI2zM0EJewyUbJVrIHuuufNpvQsT40QKB5IVsoOVsNnMRGnEDQuYh/F5S0QV9uX2rhN7QmBuQAwTWyX33osbRw6qU3nSukh5z3Hak/J/iIBut1awC8hC3mmmPlLQfLHDiiAbBQNa51R99CcL1nReOcCIZBgNZ50LEoHPHYl9pIOZLekCDHgNZ54LHoIx1QZ7758VQalUHECBrl3RtCSTYgYh5DSET2cgFkxcQfYDMZANX6dR2vi6/x455aAR5BBcFMHpiIGmJRpDNXDXt9MUW8c4VHxnII7mooN9pEXJZdwaymQvV1qoF6hPG0UQ2c5EPOfbRgfEKmcnANYHDEWAgA9cMBivswboVRzF4W3srYPD4SUs3+8G7iqw4qwJpoUDs0y2VEwQUYfqSAgEavONVJR3L/oPd0asmIVib5Jpd491rps3F3USPjjWkhe1EX1C5sQe/m/w1S9PtfnIvhcmh9WIKFm9grwnzm93yf5AWaxsj6w0LbNagDOt3yy0W9H3z75pNC+tNob7PduS+1mYbCwGy7D6tZRcuA/vrP7C/Nt/IGVTHXfrxI7LTSgacD/zhSezADvz1+nnRt+EWIjj2M7iF6EZztuC6IRd2zjXjqTx+sTCCQQJoRVOR9GkuqWTR6fJxLWwun+OmwmAeDuamR8S96PDUwMlDIVz8ckjSxk+Qr5hrxzOa/+1pshsXzH8feddpBBlfph67cdNpx0KSOZ5SgnOH1JI7R0ZyTZ3FWK6/Z5Xk7kzntrJdg7OxNvSHsfORPavpmOwoI1rD8bFJHm7l2TTZG+akZUz4pO4dYlbLB0hUrB96loVEBlDTYDN6oBPlXMUp3hergTG+xJjxSoXrTTrpupH2+8tPeEuXW3c37964c7eltz8SJu7KTpnzRzewqZTkFyHcS34TqnqsNgwjM5So7irVUvCbMwzmTtTCw6LTuuqWkShzkYV874T774TwpZDgON0ia7mHNDgdu++anT7ej3GQ+Wv0H+ov9UMLyPmx8boAAAAASUVORK5CYII="}},72654:function(e,t,o){o.d(t,{Ss:function(){return n}});const n="#ea4e3d"},72698:function(e,t,o){o.d(t,{F:function(){return m}});var n=o(27361),s=o.n(n),i=o(62933),a=o(71743),r=o(58217),c=o(91475);const l={AED:{code:"AED",symbol:"د.Ø¥.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},AFN:{code:"AFN",symbol:"Ø‹",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},ALL:{code:"ALL",symbol:"Lek",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,negativeFirst:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},AMD:{code:"AMD",symbol:"֏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,negativeFirst:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},ANG:{code:"ANG",symbol:"Æ’",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,negativeFirst:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},AOA:{code:"AOA",symbol:"Kz",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},ARS:{code:"ARS",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},AUD:{code:"AUD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},AWG:{code:"AWG",symbol:"Æ’",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},AZN:{code:"AZN",symbol:"₼",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},BAM:{code:"BAM",symbol:"КМ",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},BBD:{code:"BBD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},BDT:{code:"BDT",symbol:"৳",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:0,negativeFirst:!0},BGN:{code:"BGN",symbol:"лв.",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},BHD:{code:"BHD",symbol:"د.ب.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3,negativeFirst:!0},BIF:{code:"BIF",symbol:"FBu",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},BMD:{code:"BMD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},BND:{code:"BND",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},BOB:{code:"BOB",symbol:"Bs",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},BRL:{code:"BRL",symbol:"R$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},BSD:{code:"BSD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},BTN:{code:"BTN",symbol:"Nu.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:1,negativeFirst:!0},BWP:{code:"BWP",symbol:"P",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},BYR:{code:"BYR",symbol:"Ñ€.",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},BYN:{code:"BYN",symbol:"Ñ€.",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},BZD:{code:"BZD",symbol:"BZ$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},CAD:{code:"CAD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},CDF:{code:"CDF",symbol:"FC",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},CHF:{code:"CHF",symbol:"CHF",thousandsSeparator:"'",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},CLP:{code:"CLP",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:0,negativeFirst:!0},CNY:{code:"CNY",symbol:"Â¥",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},USDT:{code:"USDT",symbol:"U",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},COP:{code:"COP",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},CRC:{code:"CRC",symbol:"â‚¡",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},CUC:{code:"CUC",symbol:"CUC",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},CUP:{code:"CUP",symbol:"$MN",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},CVE:{code:"CVE",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},CZK:{code:"CZK",symbol:"Kč",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},DJF:{code:"DJF",symbol:"Fdj",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},DKK:{code:"DKK",symbol:"kr.",thousandsSeparator:"",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},DOP:{code:"DOP",symbol:"RD$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},DZD:{code:"DZD",symbol:"د.ج.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},EGP:{code:"EGP",symbol:"E£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},ERN:{code:"ERN",symbol:"Nfk",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},ETB:{code:"ETB",symbol:"ETB",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},EUR:{code:"EUR",symbol:"€",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},FJD:{code:"FJD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},FKP:{code:"FKP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},GBP:{code:"GBP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},GEL:{code:"GEL",symbol:"GEL",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},GHS:{code:"GHS",symbol:"₵",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},GIP:{code:"GIP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},GMD:{code:"GMD",symbol:"D",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},GNF:{code:"GNF",symbol:"FG",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},GTQ:{code:"GTQ",symbol:"Q",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},GYD:{code:"GYD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},HKD:{code:"HKD",symbol:"HK$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},HNL:{code:"HNL",symbol:"L.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},HRK:{code:"HRK",symbol:"kn",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},HTG:{code:"HTG",symbol:"G",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},HUF:{code:"HUF",symbol:"Ft",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},IDR:{code:"IDR",symbol:"Rp",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},ILS:{code:"ILS",symbol:"₪",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},INR:{code:"INR",symbol:"₹",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},IQD:{code:"IQD",symbol:"د.ع.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},IRR:{code:"IRR",symbol:"ï·¼",thousandsSeparator:",",decimalSeparator:"/",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},ISK:{code:"ISK",symbol:"kr.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:0,negativeFirst:!0},JMD:{code:"JMD",symbol:"J$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},JOD:{code:"JOD",symbol:"د.ا.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3,negativeFirst:!0},JPY:{code:"JPY",symbol:"Â¥",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},KES:{code:"KES",symbol:"KSh",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},KGS:{code:"KGS",symbol:"сом",thousandsSeparator:" ",decimalSeparator:"-",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},KHR:{code:"KHR",symbol:"៛",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},KMF:{code:"KMF",symbol:"CF",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},KPW:{code:"KPW",symbol:"â‚©",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},KRW:{code:"KRW",symbol:"â‚©",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},KWD:{code:"KWD",symbol:"د.Ùƒ.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3,negativeFirst:!0},KYD:{code:"KYD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},KZT:{code:"KZT",symbol:"₸",thousandsSeparator:" ",decimalSeparator:"-",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},LAK:{code:"LAK",symbol:"â‚­",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},LBP:{code:"LBP",symbol:"Ù„.Ù„.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},LKR:{code:"LKR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:0,negativeFirst:!0},LRD:{code:"LRD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},LSL:{code:"LSL",symbol:"M",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},LYD:{code:"LYD",symbol:"د.Ù„.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:3,negativeFirst:!0},MAD:{code:"MAD",symbol:"د.Ù….‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},MDL:{code:"MDL",symbol:"lei",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},MGA:{code:"MGA",symbol:"Ar",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},MKD:{code:"MKD",symbol:"ден.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},MMK:{code:"MMK",symbol:"K",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},MNT:{code:"MNT",symbol:"â‚®",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},MOP:{code:"MOP",symbol:"MOP$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},MRO:{code:"MRO",symbol:"UM",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},MTL:{code:"MTL",symbol:"₤",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},MUR:{code:"MUR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},MVR:{code:"MVR",symbol:"MVR",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:1,negativeFirst:!0},MWK:{code:"MWK",symbol:"MK",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},MXN:{code:"MXN",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},MYR:{code:"MYR",symbol:"RM",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},MZN:{code:"MZN",symbol:"MT",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},NAD:{code:"NAD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},NGN:{code:"NGN",symbol:"₦",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},NIO:{code:"NIO",symbol:"C$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},NOK:{code:"NOK",symbol:"kr",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},NPR:{code:"NPR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},NZD:{code:"NZD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},OMR:{code:"OMR",symbol:"ï·¼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3,negativeFirst:!0},PAB:{code:"PAB",symbol:"B/.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},PEN:{code:"PEN",symbol:"S/.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},PGK:{code:"PGK",symbol:"K",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},PHP:{code:"PHP",symbol:"₱",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},PKR:{code:"PKR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},PLN:{code:"PLN",symbol:"zÅ‚",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},PYG:{code:"PYG",symbol:"₲",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},QAR:{code:"QAR",symbol:"ï·¼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},RON:{code:"RON",symbol:"L",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},RSD:{code:"RSD",symbol:"Дин.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},RUB:{code:"RUB",symbol:"₽",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},RWF:{code:"RWF",symbol:"RWF",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},SAR:{code:"SAR",symbol:"ï·¼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},SBD:{code:"SBD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},SCR:{code:"SCR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},SDD:{code:"SDD",symbol:"LSd",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},SDG:{code:"SDG",symbol:"£‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},SEK:{code:"SEK",symbol:"kr",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},SGD:{code:"SGD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},SHP:{code:"SHP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},SLL:{code:"SLL",symbol:"Le",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},SOS:{code:"SOS",symbol:"S",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},SRD:{code:"SRD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},STD:{code:"STD",symbol:"Db",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},SVC:{code:"SVC",symbol:"â‚¡",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},SYP:{code:"SYP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},SZL:{code:"SZL",symbol:"E",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},THB:{code:"THB",symbol:"฿",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},TJS:{code:"TJS",symbol:"TJS",thousandsSeparator:" ",decimalSeparator:";",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},TMT:{code:"TMT",symbol:"m",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},TND:{code:"TND",symbol:"د.ت.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3,negativeFirst:!0},TOP:{code:"TOP",symbol:"T$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},TRY:{code:"TRY",symbol:"₺",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},TTD:{code:"TTD",symbol:"TT$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},TVD:{code:"TVD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},TWD:{code:"TWD",symbol:"NT$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},TZS:{code:"TZS",symbol:"TSh",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},UAH:{code:"UAH",symbol:"â‚´",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},UGX:{code:"UGX",symbol:"USh",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},USD:{code:"USD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},UYU:{code:"UYU",symbol:"$U",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},UZS:{code:"UZS",symbol:"сўм",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},VEB:{code:"VEB",symbol:"Bs.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},VEF:{code:"VEF",symbol:"Bs. F.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},VND:{code:"VND",symbol:"â‚«",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:0,negativeFirst:!0},VUV:{code:"VUV",symbol:"VT",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0,negativeFirst:!0},WST:{code:"WST",symbol:"WS$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},XAF:{code:"XAF",symbol:"F",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},XCD:{code:"XCD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},XBT:{code:"XBT",symbol:"Ƀ",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},XOF:{code:"XOF",symbol:"F",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},XPF:{code:"XPF",symbol:"F",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},YER:{code:"YER",symbol:"ï·¼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2,negativeFirst:!0},ZAR:{code:"ZAR",symbol:"R",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},ZMW:{code:"ZMW",symbol:"ZK",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0},WON:{code:"WON",symbol:"â‚©",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2,negativeFirst:!0}};class m{static currenciesFormatConfig(){return Object.entries(m.map()).reduce(((e,[t,o])=>(o.formatConfig&&(e[t]=o.formatConfig),e)),{})}static registerIconMap(){return Object.entries(m.map()).reduce(((e,[t,o])=>(e[t]={title:o.title,icon:o.assets.NORMAL},e)),{})}static formattedList(e=(0,c.h)().siteInfos?.currencyInfos){const t=[];if(!e)return t;try{const o=m.registerIconMap(),{t:n}=(0,r.QT)();for(const a of e){const e=o[a.currencyType===i.Tl.CRYPTO?a.currencyDisplay:a.currencyCode]||{};t.push({...a,...e,hs:s()(a,"hs",i.x5.OPEN),icon:a.ci||e.icon,currencyName:n(`lobby.modal.currencyNames.${a.currencyCode}`)})}return t}catch(o){return t}}static formattedListCodeMap(){return this.formattedList().reduce(((e,t)=>(e[t.currencyCode]=t,e)),{})}static registerList(e){return m.formattedList(e).filter((e=>e.hs===i.x5.OPEN))}static commonIconMap(){return Object.entries(m.map()).reduce(((e,[t,o])=>(e[t]=o.assets,e)),{})}static iconMap(){return{TASK_YEB:(0,a.XY)("img_yeb"),TASK_CZ:(0,a.XY)("img_cz"),MINE_YEB:(0,a.T9)("icon_wd_yeb1"),MINE_TX:(0,a.T9)("icon_wd_tx1"),MINE_ZHMX:(0,a.T9)("icon_wd_zhmx"),MINE_TZJL:(0,a.T9)("icon_wd_tzjl"),HEADER_ZHMX:(0,a.T9)("icon_grzx_zhmx"),HEADER_TZJL:(0,a.T9)("icon_grzx_tzjl"),TABBAR_TX:(0,a.XY)("sprite_main_icon_btm_tx"),TABBAR_YEB:(0,a.XY)("sprite_main_icon_btm_yeb"),HOME_NAV_YEB:(0,a.XY)("sprite_main_icon_dt_1yeb"),HOME_NAV_TX:(0,a.XY)("sprite_main_icon_dt_1tx")}}static map(){const{t:e}=(0,r.QT)();return{CNY:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_ChineseMainland"),PAY_JB:(0,a.T9)("comm_icon_sqb")},title:e("lobby.modal.currency.CNY"),formatConfig:l.CNY},USD:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_UnitedStates"),PAY_JB:(0,a.T9)("comm_icon_sqb_mxn")},title:e("lobby.modal.currency.USD"),formatConfig:l.USD},HKD:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_HongKong"),PAY_JB:(0,a.T9)("comm_icon_sqb_hkd")},title:e("lobby.modal.currency.HKD"),formatConfig:l.HKD},THB:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Thailand"),PAY_JB:(0,a.T9)("comm_icon_sqb_thb")},title:e("lobby.modal.currency.THB"),formatConfig:l.THB},VND:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Vietnam"),PAY_JB:(0,a.T9)("comm_icon_sqb_vnd")},title:e("lobby.modal.currency.VND"),formatConfig:l.VND},IDR:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Indonesia"),PAY_JB:(0,a.T9)("comm_icon_sqb_idr")},title:e("lobby.modal.currency.IDR"),formatConfig:l.IDR},INR:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_India"),PAY_JB:(0,a.T9)("comm_icon_sqb_inr")},title:e("lobby.modal.currency.INR"),formatConfig:l.INR},AUD:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Australia"),PAY_JB:(0,a.T9)("comm_icon_sqb_aud")},title:e("lobby.modal.currency.AUD"),formatConfig:l.AUD},GBP:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_UnitedKingdom"),PAY_JB:(0,a.T9)("comm_icon_sqb_gbp")},title:e("lobby.modal.currency.GBP"),formatConfig:l.GBP},KRW:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_SouthKorea"),PAY_JB:(0,a.T9)("comm_icon_sqb_krw")},title:e("lobby.modal.currency.KRW"),formatConfig:l.KRW},JPY:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Japan"),PAY_JB:(0,a.T9)("comm_icon_sqb")},title:e("lobby.modal.currency.JPY"),formatConfig:l.JPY},IDRK:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Indonesia"),PAY_JB:(0,a.T9)("comm_icon_sqb_idr")},title:e("lobby.modal.currency.IDR"),formatConfig:l.IDR},PHP:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Philippines"),PAY_JB:(0,a.T9)("comm_icon_sqb_php")},title:e("lobby.modal.currency.PHP"),formatConfig:l.PHP},BRL:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Brazil"),PAY_JB:(0,a.T9)("comm_icon_sqb_brl")},title:e("lobby.modal.currency.BRL"),formatConfig:l.BRL},MXN:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Mexico"),PAY_JB:(0,a.T9)("comm_icon_sqb_mxn")},title:e("lobby.modal.currency.MXN"),formatConfig:l.MXN},EUR:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Europe"),PAY_JB:(0,a.T9)("comm_icon_sqb_eur")},title:e("lobby.modal.currency.EUR"),formatConfig:l.EUR},RUB:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Russia"),PAY_JB:(0,a.T9)("comm_icon_sqb_rub")},title:e("lobby.modal.currency.RUB"),formatConfig:l.RUB},MMK:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Myanmar"),PAY_JB:(0,a.T9)("comm_icon_sqb_mmk")},title:e("lobby.modal.currency.MMK"),formatConfig:l.MMK},AED:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_UnitedArabEmirates"),PAY_JB:(0,a.T9)("comm_icon_sqb_aed")},title:e("lobby.modal.currency.AED"),formatConfig:l.AED},KHR:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Cambodia"),PAY_JB:(0,a.T9)("comm_icon_sqb_khr")},title:e("lobby.modal.currency.KHR"),formatConfig:l.KHR},BDT:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Bangladesh"),PAY_JB:(0,a.T9)("comm_icon_sqb_bdt")},title:e("lobby.modal.currency.BDT"),formatConfig:l.BDT},NGN:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Nigeria"),PAY_JB:(0,a.T9)("comm_icon_sqb_ngn")},title:e("lobby.modal.currency.NGN"),formatConfig:l.NGN},TRX:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_trx"),PAY_JB:(0,a.T9)("comm_icon_sqb_trx")},title:""},TRY:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Turkey"),PAY_JB:(0,a.T9)("comm_icon_sqb_try")},title:e("lobby.modal.currency.TRY"),formatConfig:l.TRY},MAD:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Morocco"),PAY_JB:(0,a.T9)("comm_icon_sqb_mad")},title:e("lobby.modal.currency.MAD"),formatConfig:l.MAD},PKR:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Pakistan"),PAY_JB:(0,a.T9)("comm_icon_sqb_pkr")},title:e("lobby.modal.currency.PKR"),formatConfig:l.PKR},PYG:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Paraguay"),PAY_JB:(0,a.T9)("comm_icon_sqb_pyg")},title:e("lobby.modal.currency.PYG"),formatConfig:l.PYG},EGP:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Egypt"),PAY_JB:(0,a.T9)("comm_icon_sqb_egp")},title:e("lobby.modal.currency.EGP"),formatConfig:l.EGP},ARS:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Argentina"),PAY_JB:(0,a.T9)("comm_icon_sqb_ars")},title:e("lobby.modal.currency.ARS"),formatConfig:l.ARS},PEN:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_Peru"),PAY_JB:(0,a.T9)("comm_icon_sqb_pen")},title:e("lobby.modal.currency.PEN"),formatConfig:l.PEN},"USDT1:1":{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_USDT"),PAY_JB:(0,a.T9)("comm_icon_sqb_usdt")},title:"",formatConfig:l.USDT},BTC:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_BTC"),PAY_JB:(0,a.T9)("comm_icon_sqb_btc")},title:e("lobby.modal.currency.BTC")},ETH:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_ETH"),PAY_JB:(0,a.T9)("comm_icon_sqb_eth")},title:e("lobby.modal.currency.ETH")},"USDT1:7":{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_USDT"),PAY_JB:(0,a.T9)("comm_icon_sqb_usdt")},title:"",formatConfig:l.USDT},"USDC1:7":{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_USDC"),PAY_JB:(0,a.T9)("comm_icon_sqb_usdc")},title:""},"USDC1:1":{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_USDC"),PAY_JB:(0,a.T9)("comm_icon_sqb_usdc")},title:""},"BTC1:100000":{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_BTC"),PAY_JB:(0,a.T9)("comm_icon_sqb_btc")},title:""},"BTC1:10000":{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_BTC"),PAY_JB:(0,a.T9)("comm_icon_sqb_btc")},title:""},"ETH1:10000":{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_ETH"),PAY_JB:(0,a.T9)("comm_icon_sqb_eth")},title:""},"ETH1:1000":{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_ETH"),PAY_JB:(0,a.T9)("comm_icon_sqb_eth")},title:""},BTC1:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_BTC"),PAY_JB:(0,a.T9)("comm_icon_sqb_btc")},title:e("lobby.modal.currency.BTC")},ETH1:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_ETH"),PAY_JB:(0,a.T9)("comm_icon_sqb_eth")},title:e("lobby.modal.currency.ETH")},USDT:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_USDT"),PAY_JB:(0,a.T9)("comm_icon_sqb_usdt")},title:"",formatConfig:l.USDT},USDT1:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_USDT"),PAY_JB:(0,a.T9)("comm_icon_sqb_usdt")},title:"",formatConfig:l.USDT},USDC:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_USDC"),PAY_JB:(0,a.T9)("comm_icon_sqb_usdc")},title:""},USDC1:{assets:{...this.iconMap(),NORMAL:(0,a.ii)("flag_1x1_USDC"),PAY_JB:(0,a.T9)("comm_icon_sqb_usdc")},title:""}}}}},48618:function(e,t,o){o.d(t,{CO:function(){return s},Ez:function(){return i},xD:function(){return a}});var n=o(71743);const s={en_US:()=>(0,n.ii)("flag_4x3_UnitedStates"),zh_CN:()=>(0,n.ii)("flag_4x3_ChineseMainland"),zh_TW:()=>(0,n.ii)("flag_4x3_HongKong"),th_TH:()=>(0,n.ii)("flag_4x3_Thailand"),vi_VN:()=>(0,n.ii)("flag_4x3_Vietnam"),ko_KR:()=>(0,n.ii)("flag_4x3_SouthKorea"),ja_JP:()=>(0,n.ii)("flag_4x3_Japan"),pt_PT:()=>(0,n.ii)("flag_4x3_Brazil"),es_ES:()=>(0,n.ii)("flag_4x3_Spain"),de_DE:()=>(0,n.ii)("flag_4x3_Germany"),fr_FR:()=>(0,n.ii)("flag_4x3_France"),it_IT:()=>(0,n.ii)("flag_4x3_Italy"),ru_RU:()=>(0,n.ii)("flag_4x3_Russia"),my_MM:()=>(0,n.ii)("flag_4x3_Myanmar"),id_ID:()=>(0,n.ii)("flag_4x3_Indonesia"),hi_IN:()=>(0,n.ii)("flag_4x3_India"),tl_PH:()=>(0,n.ii)("flag_4x3_Philippines"),km_KH:()=>(0,n.ii)("flag_4x3_Cambodia"),te_IN:()=>(0,n.ii)("flag_4x3_India"),ta_LK:()=>(0,n.ii)("flag_4x3_India"),mr_IN:()=>(0,n.ii)("flag_4x3_India"),kn_IN:()=>(0,n.ii)("flag_4x3_India"),pa_PA:()=>(0,n.ii)("flag_4x3_India"),bn_BN:()=>(0,n.ii)("flag_4x3_Bangladesh"),tr_TR:()=>(0,n.ii)("flag_4x3_Turkey")},i={en_US:()=>(0,n.ii)("flag_1x1_UnitedStates"),zh_CN:()=>(0,n.ii)("flag_1x1_ChineseMainland"),zh_TW:()=>(0,n.ii)("flag_1x1_HongKong"),th_TH:()=>(0,n.ii)("flag_1x1_Thailand"),vi_VN:()=>(0,n.ii)("flag_1x1_Vietnam"),ko_KR:()=>(0,n.ii)("flag_1x1_SouthKorea"),ja_JP:()=>(0,n.ii)("flag_1x1_Japan"),pt_PT:()=>(0,n.ii)("flag_1x1_Brazil"),es_ES:()=>(0,n.ii)("flag_1x1_Spain"),de_DE:()=>(0,n.ii)("flag_1x1_Germany"),fr_FR:()=>(0,n.ii)("flag_1x1_France"),it_IT:()=>(0,n.ii)("flag_1x1_Italy"),ru_RU:()=>(0,n.ii)("flag_1x1_Russia"),my_MM:()=>(0,n.ii)("flag_1x1_Myanmar"),id_ID:()=>(0,n.ii)("flag_1x1_Indonesia"),hi_IN:()=>(0,n.ii)("flag_1x1_India"),tl_PH:()=>(0,n.ii)("flag_1x1_Philippines"),km_KH:()=>(0,n.ii)("flag_1x1_Cambodia"),te_IN:()=>(0,n.ii)("flag_1x1_India"),ta_LK:()=>(0,n.ii)("flag_1x1_India"),mr_IN:()=>(0,n.ii)("flag_1x1_India"),kn_IN:()=>(0,n.ii)("flag_1x1_India"),pa_PA:()=>(0,n.ii)("flag_1x1_India"),bn_BN:()=>(0,n.ii)("flag_1x1_Bangladesh"),tr_TR:()=>(0,n.ii)("flag_1x1_Turkey")},a=["zh","en","hi","vi","ja","id","zh_hk","es","tl","th","pt","km","ko","fr","de","it","te","ta","mr","kn","my","tr","ru","bn","pa"]},98860:function(e,t,o){o.d(t,{DG:function(){return r},E$:function(){return s},RU:function(){return a},Ze:function(){return n},Zf:function(){return i},cI:function(){return c}});const n=/[`~!@#$%^&*()_<>?:{}|\/;\\[\]~!¥……•​()——\-+={}|《》?:“”〝〞ˆˇ"【】、;,。、﹍﹎︵︷︿︹︽_﹁﹃︻︶︸﹀︺︾ˉ﹂﹄︼¡¿﹏﹋﹌︴{「{}][​]/g,s=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/g,i={"Á":"A","À":"A","Ạ":"A","Ả":"A","Ã":"A","Ä‚":"A","Ắ":"A","Ằ":"A","Ặ":"A","Ẳ":"A","Ẵ":"A","Â":"A","Ấ":"A","Ầ":"A","Ậ":"A","Ẩ":"A","Ẫ":"A","á":"A","à":"A","ạ":"A","ả":"A","ã":"A","ă":"A","ắ":"A","ằ":"A","ặ":"A","ẳ":"A","ẵ":"A","â":"A","ấ":"A","ầ":"A","ậ":"A","ẩ":"A","ẫ":"A","Đ":"D","Ä‘":"D","É":"E","È":"E","Ẹ":"E","Ẻ":"E","Ẽ":"E","Ê":"E","Ế":"E","Ề":"E","Ệ":"E","Ể":"E","Ễ":"E","é":"E","è":"E","ẹ":"E","ẻ":"E","ẽ":"E","ê":"E","ế":"E","ề":"E","ệ":"E","ể":"E","á»…":"E","Í":"I","ÃŒ":"I","Ị":"I","Ỉ":"I","Ĩ":"I","í":"I","ì":"I","ị":"I","ỉ":"I","Ä©":"I","Ó":"O","Ã’":"O","Ọ":"O","Ỏ":"O","Õ":"O","Ô":"O","Ố":"O","á»’":"O","Ộ":"O","á»”":"O","á»–":"O","Æ ":"O","Ớ":"O","Ờ":"O","Ợ":"O","Ở":"O","á» ":"O","ó":"O","ò":"O","ọ":"O","ỏ":"O","õ":"O","ô":"O","ố":"O","ồ":"O","á»™":"O","ổ":"O","á»—":"O","Æ¡":"O","á»›":"O","ờ":"O","ợ":"O","ở":"O","ỡ":"O","Ú":"U","Ù":"U","Ụ":"U","Ủ":"U","Ũ":"U","Ư":"U","Ứ":"U","Ừ":"U","á»°":"U","Ử":"U","á»®":"U","ú":"U","ù":"U","ụ":"U","ủ":"U","Å©":"U","Æ°":"U","ứ":"U","ừ":"U","á»±":"U","á»­":"U","ữ":"U","Ỳ":"Y","Ý":"Y","á»´":"Y","Ỷ":"Y","Ỹ":"Y","ỳ":"Y","ý":"Y","ỵ":"Y","á»·":"Y","ỹ":"Y"},a=/[0-9]/g,r=/^(?:https?:\/\/)?(?:www\.)?([^:/?#]+)/i,c=/(http|https):\/\/(?:www\.)?[a-zA-Z0-9-\.]+\.[a-z]{2,}(:[0-9]+)?(\/\S*)?/i},84220:function(e,t,o){o.d(t,{R:function(){return n}});try{Object.freeze(window.LOBBY_SITE_CONFIG.INJECT_DATA),Object.freeze(window.LOBBY_SITE_CONFIG.LOG)}catch(s){}t.Z=window.LOBBY_SITE_CONFIG;const n=location.origin},72902:function(e,t,o){o.d(t,{Z:function(){return N}});var n=o(4942),s=o(35829),i=o(39169),a=o(27361),r=o.n(a),c=o(62933),l=o(46851),m=o(57717),d=o(28636),h=o(3618),u=o(93791),g=o(59971),p=o(65074),y=o(11777),f=o(50498),b=o(451),_=o(63312),S=o(98478),E=o(53745),w=o(96309),T=o(91475),A=o(80351),D=o(32027),R=o(97813),M=o(5818),C=o(21615),I=o(53579),L=o(80194);const P=(0,y.v5)();var O=[{name:"loginRegister",showTimes:1,loadNextTiming:"afterClosed",loadUI:()=>I.Z.fetch("loginRegisterModal"),show(){I.Z.openLoginRegisterModal()},needShow:()=>{const{systemInfos:e,hasLogined:t,urlParams:o}=(0,T.h)(),n=o.id||void 0,s=o.cid||void 0,i=o.type||void 0,a=s&&i,l=!s&&n&&i;if(a&&i!==h.xL.REGISTER)return!1;if(l&&+i!==c.Un.REGISTER)return!1;const m=r()(e,"auto_visitor_login_h5")===c.b1.OPEN;return!(t||!(m||a||l))}},{name:"loginRegisterRecharge",loadUI:()=>I.Z.fetch("loginRegisterRechargeModal"),show(){I.Z.open("loginRegisterRechargeModal"),(0,T.h)().showRegisterRecharge=!1},needShow:()=>{const{showRegisterRecharge:e}=(0,T.h)();return e}},{name:"forceChangePwd",loadUI:e=>I.Z.fetch(e.name),needShow(){const{isNeedForceChangePwd:e}=(0,T.h)();return e},show:()=>{I.Z.open("forceChangePwd")}},{name:"forceBindSecurity",show:()=>(0,T.h)().doLoginForceBindPopup()},{name:"downloadAppBySite",load:async()=>{const{getNewComerBenefit:e}=(0,_.h)();await e();const{userInfos:t,urlParams:o}=(0,T.h)(),n=o.cid||void 0,s=t?.regPkgId??n;if(!s||!Number(s))return!1;if(d.sN.includes(Number(s)))return!1;const i=await(0,g.R)({id:Number(s)});if(!i)return;const{setChannelInfoFromRegister:a,setChannelInfoFromUrl:r}=(0,b.e)();t?.regPkgId?a(i):r(i)},loadUI:e=>I.Z.fetch(e.name),show(){const{setOpenDownloadAppBySiteFromAutoManager:e}=(0,_.h)();e(!0),I.Z.open("downloadAppBySite")},needShow:()=>{const{hiddenAppButton:e}=(0,b.e)(),{guildDownloadStyle:t,bootInstallationSwitch:o,setIsPromptDownloadApp:n,isPromptDownloadApp:i,isForceInstallation:a}=(0,_.h)();if(!e)return!1;if(C.cY.speedPackageConfig?.isSpeedPackae)return!1;if(P)return!1;if(L.ZP.currentRoute.name!==s.x4.GAME)return!1;const r=m.k4.middle===t;return!(!o||!r||i&&!a)&&(n(!0),!0)}},{name:"forcePopup",reshowOnResume:!0,load:async()=>{await(0,S.b)().freshEventCategoryAndActivity(),await l.sG.Site.getFrameBoxInfos()},loadUI:e=>I.Z.fetch(e.name),show(){const{doLoginShowForcePopup:e}=(0,T.h)();e()},needShow:()=>{const{frameBoxInfos:e}=(0,T.h)();return!!e.filter((e=>!e.not_remind_again&&!e.not_remind_login)).length&&!(0,f.z)()}},{name:"newCutOnce",loadNextTiming:"afterLoaded",load:async()=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return Promise.resolve();await(0,A.s)().freshPopData()},loadUI:e=>I.Z.fetch(e.name),show(){const{openNewCutOnceModal:e}=(0,A.s)();e()},needShow:(e,t)=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return!1;const{preJudgeOpenNewCutOnce:o}=(0,A.s)();return o({isLoginTrigger:t})}},{name:"cutOnce",loadNextTiming:"afterLoaded",load:async()=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return Promise.resolve();await(0,S.b)().freshPopData()},loadUI:e=>I.Z.fetch(e.name),show(){const{openCutOnceModal:e}=(0,S.b)();e()},needShow:(e,t)=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return!1;const{preJudgeOpenCutOnce:o}=(0,S.b)();return o({isLoginTrigger:t})}},{name:"sign",loadNextTiming:"afterLoaded",loadUI:e=>I.Z.fetch(e.name),load:async()=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return Promise.resolve();await(0,D.Y)().freshPopData()},show:()=>{(0,D.Y)()?.openSignModal()},needShow:(e,t)=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return!1;const{preJudgeOpenSign:o}=(0,D.Y)();return o({isLoginTrigger:t})}},{name:"firstChargeConstant",loadNextTiming:"afterLoaded",load:async()=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return Promise.resolve();await(0,E.M)().freshPopData()},loadUI:e=>I.Z.fetch(e.name),show(){const{openFirstChargeModal:e}=(0,E.M)();e()},needShow:(e,t)=>{if(!p.$v.isHomePage)return!1;const{preJudgeOpenFirstCharge:o}=(0,E.M)();return o({isLoginTrigger:t})}},{name:"newBenefits",loadNextTiming:"afterLoaded",load:async()=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return Promise.resolve();await(0,R.m)().freshConstantData([u.t.xrfl])},loadUI:()=>I.Z.fetch("newBenefitsModal"),show(e,t){(0,R.m)().openSequentiallyTaskModal({apiCode:[u.t.xrfl],isLoginTrigger:t},e)},needShow:()=>!!p.$v.isHomePage},{name:"tasksDaily",loadNextTiming:"afterLoaded",load:async()=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return Promise.resolve();await(0,R.m)().freshConstantData([u.t.mrrw])},show(e,t){(0,R.m)().openSequentiallyTaskModal({apiCode:[u.t.mrrw],isLoginTrigger:t},e)},loadUI:e=>I.Z.fetch(e.name),needShow:()=>!!p.$v.isHomePage},{name:"tasksWeekly",loadNextTiming:"afterLoaded",load:async()=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return Promise.resolve();await(0,R.m)().freshConstantData([u.t.mzrw])},loadUI:e=>I.Z.fetch(e.name),show(e,t){(0,R.m)().openSequentiallyTaskModal({apiCode:[u.t.mzrw],isLoginTrigger:t},e)},needShow:()=>!!p.$v.isHomePage},{name:"tasksEvery3Day",loadNextTiming:"afterLoaded",load:async()=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return Promise.resolve();await(0,R.m)().freshConstantData([u.t.smrw])},loadUI:e=>I.Z.fetch(e.name),show(e,t){(0,R.m)().openSequentiallyTaskModal({apiCode:[u.t.smrw],isLoginTrigger:t},e)},needShow:()=>!!p.$v.isHomePage},{name:"waitingGet",loadNextTiming:"afterLoaded",load:async()=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return Promise.resolve();const{hasLogined:e}=(0,T.h)();e&&await(0,M.A)().freshPopData()},loadUI:e=>I.Z.fetch(e.name),show(){const{openWaitingGetModal:e}=(0,M.A)();e()},needShow:(e,t)=>{if((0,w.g)().isGamePlaying||!p.$v.isHomePage)return!1;const{preJudgeOpenWaitingGet:o}=(0,M.A)();return o({isLoginTrigger:t})}}];const v=new class{constructor(){(0,n.Z)(this,"isStarted",!1),(0,n.Z)(this,"timeout",5e3),(0,n.Z)(this,"isPaused",!1),(0,n.Z)(this,"isDestroyed",!1),(0,n.Z)(this,"hasVisibleModal",!1),(0,n.Z)(this,"currentLoadingIndex",-1),(0,n.Z)(this,"currentShowingIndex",-1),(0,n.Z)(this,"queue",[]),(0,n.Z)(this,"isLoginTrigger",!1),(0,n.Z)(this,"isFinished",!1)}add(e){const t=Array.isArray(e)?e:[e];t.forEach((e=>{this.queue.push({loadNextTiming:"afterLoaded",status:"waiting",...e})}));const o=this.queue.length!==t.length,n=this.currentLoadingIndex===this.queue.length-1-t.length;o&&n&&this.loadNext()}hideAllModal(){i.Z.myDebug("MODAL:","hide all modal"),this.hasVisibleModal=!1}restart(e){i.Z.myDebug("MODAL:","ReStart"),this.currentLoadingIndex=-1,this.currentShowingIndex=-1,this.hasVisibleModal=!1,this.isFinished=!1,this.isPaused=!1,this.isLoginTrigger=e,this.queue.forEach((e=>{e.status="waiting"})),this.isStarted=!1,this.start()}start(){i.Z.myDebug("MODAL:","Start"),this.isStarted&&this.isDestroyed||(this.isStarted=!0,this.loadNext())}pause(){i.Z.myDebug("MODAL:","Pause"),this.isPaused=!0}resume(){if(!this.isStarted||!this.isPaused||this.isDestroyed)return;this.isPaused=!1;const e=Math.max(this.currentShowingIndex-1,-1);this.queue[e]?.reshowOnResume&&(this.currentLoadingIndex=Math.max(--this.currentLoadingIndex,-1),this.currentShowingIndex=Math.max(--this.currentShowingIndex,-1)),i.Z.myDebug("MODAL:Resume",`${this.currentLoadingIndex},${this.currentShowingIndex}`),this.loadNext(),this.showNext()}onModalClose(e){const t=this.queue[this.currentShowingIndex];if(this.hasVisibleModal&&t?.name===e){if(this.hasVisibleModal=!1,i.Z.myDebug("MODAL:OnClose",e),this.currentShowingIndex===this.queue.length-1)return void(this.isFinished=!0);"afterClosed"===t.loadNextTiming?this.loadNext():this.showNext()}}delay(e=this.timeout){return new Promise((t=>{setTimeout(t,e,"timeout")}))}async load(e){return e?Promise.race([e(),this.delay()]).then((e=>"timeout"===e?e:"loaded")).catch((()=>"failed")):"loaded"}destroy(){i.Z.myDebug("MODAL:","destroy"),this.isDestroyed=!0}async loadNext(){if(this.isPaused||this.isDestroyed)return;const e=this.currentLoadingIndex+1,t=this.queue[e];if(!t)return;this.currentLoadingIndex++;const o=await this.load(t.load);t.status=o,await this.delay(0);let n=!0;t.needShow&&(n=t.needShow?.(t.name,this.isLoginTrigger)),n&&t.loadUI&&(n=await Promise.resolve(t.loadUI?.(t)??!0)),t.isCanShow=n,i.Z.myDebug("MODAL:Load",`${t.name}, ${o}`),("failed"===o||"afterLoaded"===t.loadNextTiming)&&this.loadNext(),this.showNext()}async showNext(){if(L.ZP.currentRoute.name!==s.x4.GAME)return;if(this.isPaused||this.hasVisibleModal||this.isDestroyed)return;const e=this.currentShowingIndex+1,t=this.queue[e];if(!t||"waiting"===t.status||"timeout"===t.status)return;this.currentShowingIndex++;const o=t.showTimes??1;if("failed"===t.status||o<=0)return void("afterLoaded"===t.loadNextTiming?this.showNext():this.loadNext());this.hasVisibleModal=!0;const n=!!t.isCanShow&&(t.show(t?.name,this.isLoginTrigger)??!0);i.Z.myDebug("MODAL:Show",`${t.name}, ${n}, ${o}`),n?t.showTimes=void 0!==t.showTimes?t.showTimes-1:void 0:this.onModalClose(t.name)}};v.add(O);var N=v},39948:function(e,t,o){o.d(t,{Z:function(){return z}});var n=o(27772),s={[n.f.HomePage]:{com:()=>o.e(2440).then(o.bind(o,81944))},[n.f.SearchPage]:{com:()=>o.e(14458).then(o.bind(o,89194))},[n.f.SubGamePage]:{com:()=>o.e(65560).then(o.bind(o,3578))},[n.f.EmbeddedPage]:{com:()=>o.e(55513).then(o.bind(o,70392))},[n.f.Footer]:{com:()=>o.e(61470).then(o.bind(o,91072))},[n.f.FloatBar]:{com:()=>o.e(48874).then(o.bind(o,92288))},[n.f.Styles]:{com:()=>o.e(27639).then(o.bind(o,18431))},[n.f.Layouts]:{com:()=>o.e(6237).then(o.bind(o,53738))}},i={[n.f.HomePage]:{com:()=>o.e(47561).then(o.bind(o,61250))},[n.f.SearchPage]:{com:()=>o.e(62720).then(o.bind(o,90237))},[n.f.SubGamePage]:{com:()=>o.e(81221).then(o.bind(o,92907))},[n.f.Footer]:{com:()=>o.e(70053).then(o.bind(o,31040))},[n.f.FloatBar]:{com:()=>o.e(66154).then(o.bind(o,29344))},[n.f.Styles]:{com:()=>o.e(28459).then(o.bind(o,57068))},[n.f.Layouts]:{com:()=>o.e(8264).then(o.bind(o,6752))}},a={[n.f.HomePage]:{com:()=>o.e(797).then(o.bind(o,17693))},[n.f.SearchPage]:{com:()=>o.e(26888).then(o.bind(o,99877))},[n.f.SubGamePage]:{com:()=>o.e(27515).then(o.bind(o,70161))},[n.f.FloatBar]:{com:()=>o.e(73322).then(o.bind(o,95119))},[n.f.Footer]:{com:()=>o.e(60868).then(o.bind(o,88038))},[n.f.Styles]:{com:()=>o.e(71866).then(o.bind(o,87845))},[n.f.Layouts]:{com:()=>o.e(25558).then(o.bind(o,87948))}},r={[n.f.HomePage]:{com:()=>o.e(75860).then(o.bind(o,7496))},[n.f.SearchPage]:{com:()=>o.e(15132).then(o.bind(o,99767))},[n.f.SubGamePage]:{com:()=>o.e(54428).then(o.bind(o,74004))},[n.f.Footer]:{com:()=>o.e(56047).then(o.bind(o,16037))},[n.f.FloatBar]:{com:()=>o.e(35155).then(o.bind(o,57140))},[n.f.Styles]:{com:()=>o.e(52775).then(o.bind(o,81088))},[n.f.Layouts]:{com:()=>o.e(6683).then(o.bind(o,94512))}},c={[n.f.HomePage]:{com:()=>o.e(34118).then(o.bind(o,81195))},[n.f.SearchPage]:{com:()=>o.e(60352).then(o.bind(o,53391))},[n.f.SubGamePage]:{com:()=>o.e(98791).then(o.bind(o,55350))},[n.f.Footer]:{com:()=>o.e(70846).then(o.bind(o,22288))},[n.f.FloatBar]:{com:()=>o.e(68185).then(o.bind(o,42050))},[n.f.Styles]:{com:()=>o.e(36241).then(o.bind(o,6870))},[n.f.Layouts]:{com:()=>o.e(47252).then(o.bind(o,50261))}},l={[n.f.HomePage]:{com:()=>o.e(54591).then(o.bind(o,23025))},[n.f.SearchPage]:{com:()=>o.e(61381).then(o.bind(o,64467))},[n.f.SubGamePage]:{com:()=>o.e(80404).then(o.bind(o,32945))},[n.f.Footer]:{com:()=>o.e(38634).then(o.bind(o,98362))},[n.f.FloatBar]:{com:()=>o.e(55680).then(o.bind(o,7637))},[n.f.Styles]:{com:()=>o.e(77829).then(o.bind(o,85789))},[n.f.Layouts]:{com:()=>o.e(55916).then(o.bind(o,13177))}},m={[n.f.HomePage]:{com:()=>o.e(42697).then(o.bind(o,54277))},[n.f.SearchPage]:{com:()=>o.e(60020).then(o.bind(o,53934))},[n.f.SubGamePage]:{com:()=>o.e(2469).then(o.bind(o,98705))},[n.f.Footer]:{com:()=>o.e(64733).then(o.bind(o,79937))},[n.f.FloatBar]:{com:()=>o.e(74183).then(o.bind(o,93047))},[n.f.Styles]:{com:()=>o.e(65214).then(o.bind(o,58852))},[n.f.Layouts]:{com:()=>o.e(50344).then(o.bind(o,6492))}},d={[n.f.HomePage]:{com:()=>o.e(7546).then(o.bind(o,11124))},[n.f.SearchPage]:{com:()=>o.e(16306).then(o.bind(o,3108))},[n.f.SubGamePage]:{com:()=>o.e(68499).then(o.bind(o,67433))},[n.f.Footer]:{com:()=>o.e(89036).then(o.bind(o,7464))},[n.f.FloatBar]:{com:()=>o.e(61456).then(o.bind(o,17542))},[n.f.Styles]:{com:()=>o.e(419).then(o.bind(o,534))},[n.f.Layouts]:{com:()=>o.e(6720).then(o.bind(o,79416))}},h={[n.f.HomePage]:{com:()=>o.e(27549).then(o.bind(o,41891))},[n.f.SearchPage]:{com:()=>o.e(91559).then(o.bind(o,38265))},[n.f.SubGamePage]:{com:()=>o.e(59866).then(o.bind(o,64593))},[n.f.Footer]:{com:()=>o.e(30272).then(o.bind(o,72093)),h5:!1},[n.f.FloatBar]:{h5:!1,pc:!1,com:()=>o.e(68531).then(o.bind(o,19661))},[n.f.Styles]:{com:()=>o.e(66259).then(o.bind(o,33273))},[n.f.Layouts]:{com:()=>o.e(7818).then(o.bind(o,28134))}},u={[n.f.HomePage]:{com:()=>Promise.all([o.e(97175),o.e(76140)]).then(o.bind(o,69317))},[n.f.SearchPage]:{com:()=>Promise.all([o.e(97175),o.e(51321)]).then(o.bind(o,95619))},[n.f.SubGamePage]:{com:()=>Promise.all([o.e(97175),o.e(63979)]).then(o.bind(o,16749))},[n.f.Footer]:{com:()=>o.e(53675).then(o.bind(o,64825))},[n.f.FloatBar]:{com:()=>o.e(81569).then(o.bind(o,95445))},[n.f.Styles]:{com:()=>o.e(63784).then(o.bind(o,61375))},[n.f.Layouts]:{com:()=>o.e(24539).then(o.bind(o,28425))}},g={[n.f.HomePage]:{com:()=>o.e(60816).then(o.bind(o,80851))},[n.f.SearchPage]:{com:()=>o.e(57929).then(o.bind(o,48443))},[n.f.SubGamePage]:{com:()=>o.e(4).then(o.bind(o,5770))},[n.f.Footer]:{com:()=>o.e(63320).then(o.bind(o,39849))},[n.f.FloatBar]:{com:()=>o.e(34254).then(o.bind(o,79791))},[n.f.Styles]:{com:()=>o.e(56076).then(o.bind(o,98411))},[n.f.Layouts]:{com:()=>o.e(30565).then(o.bind(o,14482))}},p={[n.f.HomePage]:{com:()=>o.e(98087).then(o.bind(o,25502))},[n.f.SearchPage]:{com:()=>o.e(11633).then(o.bind(o,50716))},[n.f.SubGamePage]:{com:()=>o.e(16387).then(o.bind(o,76941))},[n.f.Footer]:{com:()=>o.e(40243).then(o.bind(o,10263)),h5:!1},[n.f.FloatBar]:{com:()=>o.e(63828).then(o.bind(o,47316))},[n.f.Styles]:{com:()=>o.e(897).then(o.bind(o,20919))},[n.f.Layouts]:{com:()=>o.e(62841).then(o.bind(o,47990))}},y={[n.f.HomePage]:{com:()=>o.e(63765).then(o.bind(o,44948))},[n.f.SearchPage]:{com:()=>o.e(54641).then(o.bind(o,49853))},[n.f.SubGamePage]:{com:()=>o.e(32107).then(o.bind(o,29447))},[n.f.Footer]:{com:()=>o.e(35310).then(o.bind(o,61741)),h5:!1},[n.f.FloatBar]:{com:()=>o.e(47548).then(o.bind(o,50433))},[n.f.Styles]:{com:()=>o.e(92961).then(o.bind(o,14251))},[n.f.Layouts]:{com:()=>o.e(88722).then(o.bind(o,10115))}},f={[n.f.HomePage]:{com:()=>o.e(397).then(o.bind(o,12874))},[n.f.SearchPage]:{com:()=>o.e(47421).then(o.bind(o,54587))},[n.f.SubGamePage]:{com:()=>o.e(24019).then(o.bind(o,43452))},[n.f.Footer]:{com:()=>o.e(38875).then(o.bind(o,88548))},[n.f.FloatBar]:{com:()=>o.e(50605).then(o.bind(o,14689))},[n.f.Styles]:{com:()=>o.e(24333).then(o.bind(o,79838))},[n.f.Layouts]:{com:()=>o.e(90740).then(o.bind(o,9981))}},b={[n.f.HomePage]:{com:()=>o.e(49414).then(o.bind(o,60517))},[n.f.SearchPage]:{com:()=>o.e(99859).then(o.bind(o,90497))},[n.f.SubGamePage]:{com:()=>o.e(43491).then(o.bind(o,48512))},[n.f.Footer]:{com:()=>o.e(38695).then(o.bind(o,42099))},[n.f.FloatBar]:{com:()=>o.e(43298).then(o.bind(o,76445))},[n.f.Styles]:{com:()=>o.e(8767).then(o.bind(o,2452))},[n.f.Layouts]:{com:()=>o.e(87518).then(o.bind(o,68678))}},_=o(1507),S={[n.f.HomePage]:{com:()=>o.e(75216).then(o.bind(o,91710)),pc:_.sZ.ThemeSkinType.EUROPEAN_AMERICAN},[n.f.SearchPage]:{com:()=>o.e(64189).then(o.bind(o,93745)),pc:_.sZ.ThemeSkinType.EUROPEAN_AMERICAN},[n.f.SubGamePage]:{com:()=>o.e(22093).then(o.bind(o,53952)),pc:_.sZ.ThemeSkinType.EUROPEAN_AMERICAN},[n.f.Footer]:{com:()=>o.e(53656).then(o.bind(o,19084)),pc:_.sZ.ThemeSkinType.EUROPEAN_AMERICAN},[n.f.FloatBar]:{com:()=>o.e(63189).then(o.bind(o,38021)),pc:_.sZ.ThemeSkinType.EUROPEAN_AMERICAN},[n.f.Styles]:{com:()=>o.e(21120).then(o.bind(o,25257)),pc:_.sZ.ThemeSkinType.EUROPEAN_AMERICAN},[n.f.Layouts]:{com:()=>o.e(18200).then(o.bind(o,32930))}},E={[n.f.HomePage]:{com:()=>o.e(16274).then(o.bind(o,47032))},[n.f.SearchPage]:{com:()=>Promise.all([o.e(97175),o.e(93867)]).then(o.bind(o,32326))},[n.f.SubGamePage]:{com:()=>Promise.all([o.e(97175),o.e(74428)]).then(o.bind(o,19455))},[n.f.Footer]:{com:()=>o.e(79818).then(o.bind(o,94288))},[n.f.FloatBar]:{com:()=>o.e(35382).then(o.bind(o,74054))},[n.f.Styles]:{com:()=>o.e(89922).then(o.bind(o,52130))},[n.f.Layouts]:{com:()=>o.e(85250).then(o.bind(o,94308))}},w={[n.f.HomePage]:{com:()=>o.e(83938).then(o.bind(o,68188))},[n.f.SearchPage]:{com:()=>o.e(45894).then(o.bind(o,25335))},[n.f.SubGamePage]:{com:()=>o.e(88448).then(o.bind(o,25415))},[n.f.Footer]:{com:()=>o.e(25278).then(o.bind(o,94288))},[n.f.FloatBar]:{com:()=>o.e(62790).then(o.bind(o,74054))},[n.f.Styles]:{com:()=>o.e(23949).then(o.bind(o,84222))},[n.f.Layouts]:{com:()=>o.e(55702).then(o.bind(o,83824))}},T={[n.f.HomePage]:{com:()=>o.e(16274).then(o.bind(o,64951))},[n.f.SearchPage]:{com:()=>Promise.all([o.e(97175),o.e(93867)]).then(o.bind(o,37556))},[n.f.SubGamePage]:{com:()=>Promise.all([o.e(97175),o.e(74428)]).then(o.bind(o,31555))},[n.f.Footer]:{com:()=>o.e(79818).then(o.bind(o,88433))},[n.f.FloatBar]:{com:()=>o.e(35382).then(o.bind(o,56454))},[n.f.Styles]:{com:()=>o.e(89922).then(o.bind(o,50925))},[n.f.Layouts]:{com:()=>o.e(85250).then(o.bind(o,65667))}},A={[n.f.HomePage]:{com:()=>o.e(45027).then(o.bind(o,32026))},[n.f.SearchPage]:{com:()=>o.e(75042).then(o.bind(o,75667))},[n.f.SubGamePage]:{com:()=>o.e(16539).then(o.bind(o,27106))},[n.f.Footer]:{com:()=>o.e(49585).then(o.bind(o,14637)),pc:!1},[n.f.FloatBar]:{com:()=>o.e(11149).then(o.bind(o,36584))},[n.f.Styles]:{com:()=>o.e(3834).then(o.bind(o,31361))},[n.f.Layouts]:{com:()=>o.e(86087).then(o.bind(o,78126))}},D={[n.f.HomePage]:{com:()=>o.e(15407).then(o.bind(o,62606))},[n.f.SearchPage]:{com:()=>o.e(85034).then(o.bind(o,4736))},[n.f.SubGamePage]:{com:()=>o.e(92846).then(o.bind(o,74156))},[n.f.Footer]:{com:()=>o.e(5252).then(o.bind(o,3300))},[n.f.FloatBar]:{com:()=>o.e(34820).then(o.bind(o,45607))},[n.f.Styles]:{com:()=>o.e(74626).then(o.bind(o,11933))},[n.f.Layouts]:{com:()=>o.e(7683).then(o.bind(o,40751))}},R={[n.f.HomePage]:{com:()=>o.e(11383).then(o.bind(o,79028))},[n.f.SearchPage]:{com:()=>o.e(16405).then(o.bind(o,85321))},[n.f.SubGamePage]:{com:()=>o.e(46244).then(o.bind(o,61502))},[n.f.Footer]:{com:()=>o.e(14741).then(o.bind(o,4079))},[n.f.FloatBar]:{com:()=>o.e(21940).then(o.bind(o,20127))},[n.f.Styles]:{com:()=>o.e(81116).then(o.bind(o,24906))},[n.f.Layouts]:{com:()=>o.e(25374).then(o.bind(o,21571))}},M={[n.f.HomePage]:{com:()=>o.e(22472).then(o.bind(o,50844))},[n.f.SearchPage]:{com:()=>o.e(95081).then(o.bind(o,3549))},[n.f.SubGamePage]:{com:()=>o.e(76224).then(o.bind(o,75434))},[n.f.Footer]:{com:()=>o.e(23946).then(o.bind(o,29622)),pc:!1},[n.f.FloatBar]:{com:()=>o.e(65917).then(o.bind(o,92971))},[n.f.Styles]:{com:()=>o.e(90018).then(o.bind(o,34935))},[n.f.Layouts]:{com:()=>o.e(32445).then(o.bind(o,21930))}},C={[n.f.HomePage]:{com:()=>o.e(27645).then(o.bind(o,58571))},[n.f.SearchPage]:{com:()=>o.e(58435).then(o.bind(o,15018))},[n.f.SubGamePage]:{com:()=>o.e(51338).then(o.bind(o,45426))},[n.f.Footer]:{com:()=>o.e(17883).then(o.bind(o,6302)),pc:!1},[n.f.FloatBar]:{com:()=>o.e(99511).then(o.bind(o,3876))},[n.f.Styles]:{com:()=>o.e(29611).then(o.bind(o,66681))},[n.f.Layouts]:{com:()=>o.e(84900).then(o.bind(o,4246))}},I={[n.f.HomePage]:{com:()=>o.e(16912).then(o.bind(o,44126))},[n.f.SearchPage]:{com:()=>o.e(24411).then(o.bind(o,89009))},[n.f.SubGamePage]:{com:()=>o.e(91614).then(o.bind(o,75096))},[n.f.EmbeddedPage]:{com:()=>o.e(82722).then(o.bind(o,12162))},[n.f.Footer]:{com:()=>o.e(31072).then(o.bind(o,80105)),pc:!1},[n.f.FloatBar]:{com:()=>o.e(32273).then(o.bind(o,77189))},[n.f.Styles]:{com:()=>o.e(87368).then(o.bind(o,82467))},[n.f.Layouts]:{com:()=>o.e(60622).then(o.bind(o,63476))}},L={[n.f.HomePage]:{com:()=>o.e(56421).then(o.bind(o,47208))},[n.f.SearchPage]:{com:()=>o.e(15227).then(o.bind(o,10861))},[n.f.SubGamePage]:{com:()=>o.e(91610).then(o.bind(o,40183))},[n.f.EmbeddedPage]:{com:()=>o.e(4209).then(o.bind(o,68927))},[n.f.Footer]:{com:()=>o.e(61834).then(o.bind(o,38303))},[n.f.FloatBar]:{com:()=>o.e(99143).then(o.bind(o,5065))},[n.f.Styles]:{com:()=>o.e(8070).then(o.bind(o,76377))},[n.f.Layouts]:{com:()=>o.e(85585).then(o.bind(o,71319))}},P={[n.f.HomePage]:{com:()=>o.e(34224).then(o.bind(o,93575))},[n.f.SearchPage]:{com:()=>o.e(59222).then(o.bind(o,83441))},[n.f.SubGamePage]:{com:()=>o.e(30025).then(o.bind(o,41619))},[n.f.Footer]:{com:()=>o.e(24669).then(o.bind(o,91537))},[n.f.FloatBar]:{com:()=>o.e(52952).then(o.bind(o,8358))},[n.f.Styles]:{com:()=>o.e(51978).then(o.bind(o,79523))},[n.f.Layouts]:{com:()=>o.e(84456).then(o.bind(o,85960))}},O={[n.f.HomePage]:{com:()=>o.e(2397).then(o.bind(o,89251))},[n.f.SearchPage]:{com:()=>o.e(40774).then(o.bind(o,29475))},[n.f.SubGamePage]:{com:()=>o.e(52582).then(o.bind(o,65497))},[n.f.EmbeddedPage]:{com:()=>o.e(60989).then(o.bind(o,80991))},[n.f.Footer]:{com:()=>o.e(62341).then(o.bind(o,50901))},[n.f.FloatBar]:{com:()=>o.e(63842).then(o.bind(o,59103))},[n.f.Styles]:{com:()=>o.e(12217).then(o.bind(o,4892))},[n.f.Layouts]:{com:()=>o.e(16537).then(o.bind(o,87553))}},v={[n.f.HomePage]:{com:()=>o.e(21609).then(o.bind(o,78502))},[n.f.SearchPage]:{com:()=>o.e(40219).then(o.bind(o,69920))},[n.f.SubGamePage]:{com:()=>o.e(72545).then(o.bind(o,18472))},[n.f.Footer]:{com:()=>o.e(35767).then(o.bind(o,39209))},[n.f.FloatBar]:{com:()=>o.e(36528).then(o.bind(o,52786))},[n.f.Styles]:{com:()=>o.e(32105).then(o.bind(o,41943))},[n.f.Layouts]:{com:()=>o.e(80246).then(o.bind(o,34266))}},N={[n.f.HomePage]:{com:()=>o.e(68775).then(o.bind(o,12866))},[n.f.SearchPage]:{com:()=>o.e(40929).then(o.bind(o,51873))},[n.f.SubGamePage]:{com:()=>o.e(5606).then(o.bind(o,45180))},[n.f.EmbeddedPage]:{com:()=>o.e(66417).then(o.bind(o,92154))},[n.f.Footer]:{com:()=>o.e(17998).then(o.bind(o,92350))},[n.f.FloatBar]:{com:()=>o.e(46252).then(o.bind(o,50151))},[n.f.Styles]:{com:()=>o.e(4038).then(o.bind(o,13508))},[n.f.Layouts]:{com:()=>o.e(53513).then(o.bind(o,79707))}},B={[n.f.HomePage]:{com:()=>o.e(29057).then(o.bind(o,5444))},[n.f.SearchPage]:{com:()=>o.e(45624).then(o.bind(o,94829))},[n.f.SubGamePage]:{com:()=>o.e(23839).then(o.bind(o,35055))},[n.f.EmbeddedPage]:{com:()=>o.e(58212).then(o.bind(o,73875))},[n.f.Footer]:{com:()=>o.e(67664).then(o.bind(o,4093))},[n.f.FloatBar]:{com:()=>o.e(4165).then(o.bind(o,59071))},[n.f.Styles]:{com:()=>o.e(30409).then(o.bind(o,27064))},[n.f.Layouts]:{com:()=>o.e(73305).then(o.bind(o,84447))}},k={[n.f.HomePage]:{com:()=>o.e(56071).then(o.bind(o,11253))},[n.f.SearchPage]:{com:()=>o.e(91162).then(o.bind(o,11449))},[n.f.SubGamePage]:{com:()=>o.e(21158).then(o.bind(o,70254))},[n.f.EmbeddedPage]:{com:()=>o.e(5175).then(o.bind(o,72597))},[n.f.Footer]:{com:()=>o.e(45706).then(o.bind(o,90136))},[n.f.FloatBar]:{com:()=>o.e(15356).then(o.bind(o,60845))},[n.f.Styles]:{com:()=>o.e(99110).then(o.bind(o,70005))},[n.f.Layouts]:{com:()=>o.e(35630).then(o.bind(o,12934))}},H={[n.f.HomePage]:{com:()=>o.e(7307).then(o.bind(o,87577))},[n.f.SearchPage]:{com:()=>o.e(15488).then(o.t.bind(o,25337,23))},[n.f.SubGamePage]:{com:()=>o.e(58914).then(o.bind(o,69366))},[n.f.EmbeddedPage]:{com:()=>o.e(46573).then(o.t.bind(o,35315,23))},[n.f.Footer]:{com:()=>o.e(62179).then(o.bind(o,31666))},[n.f.FloatBar]:{com:()=>o.e(96197).then(o.bind(o,1407))},[n.f.Styles]:{com:()=>o.e(29896).then(o.t.bind(o,88798,23))},[n.f.Layouts]:{com:()=>o.e(98069).then(o.bind(o,70444))}},x={[n.f.HomePage]:{com:()=>o.e(77257).then(o.bind(o,40957))},[n.f.SearchPage]:{com:()=>o.e(13240).then(o.bind(o,98170))},[n.f.SubGamePage]:{com:()=>o.e(76703).then(o.bind(o,12656))},[n.f.Footer]:{com:()=>o.e(22463).then(o.bind(o,13696))},[n.f.FloatBar]:{com:()=>o.e(36880).then(o.bind(o,74047))},[n.f.Styles]:{com:()=>o.e(66683).then(o.bind(o,7371))},[n.f.Layouts]:{com:()=>o.e(14586).then(o.bind(o,385))}},G={[n.f.HomePage]:{com:()=>Promise.all([o.e(97175),o.e(83056)]).then(o.bind(o,48505))},[n.f.SearchPage]:{com:()=>Promise.all([o.e(97175),o.e(56163)]).then(o.bind(o,89744))},[n.f.SubGamePage]:{com:()=>Promise.all([o.e(97175),o.e(89583)]).then(o.bind(o,47237))},[n.f.Footer]:{com:()=>o.e(7414).then(o.bind(o,55718))},[n.f.FloatBar]:{com:()=>o.e(61784).then(o.bind(o,95293))},[n.f.Styles]:{com:()=>o.e(70221).then(o.bind(o,74123))},[n.f.Layouts]:{com:()=>o.e(67520).then(o.bind(o,44073))}},Z={[n.f.HomePage]:{com:()=>Promise.all([o.e(97175),o.e(17094)]).then(o.bind(o,16029))},[n.f.SearchPage]:{com:()=>Promise.all([o.e(97175),o.e(30454)]).then(o.bind(o,52273))},[n.f.SubGamePage]:{com:()=>Promise.all([o.e(97175),o.e(43641)]).then(o.bind(o,39018))},[n.f.Footer]:{com:()=>o.e(46787).then(o.bind(o,22534))},[n.f.FloatBar]:{com:()=>o.e(14512).then(o.bind(o,23911))},[n.f.Styles]:{com:()=>o.e(26302).then(o.bind(o,10734))},[n.f.Layouts]:{com:()=>o.e(82902).then(o.bind(o,47001))}},Y={[n.f.HomePage]:{com:()=>o.e(84347).then(o.bind(o,28200))},[n.f.SearchPage]:{com:()=>o.e(77171).then(o.bind(o,85373))},[n.f.SubGamePage]:{com:()=>o.e(25909).then(o.bind(o,68588))},[n.f.Footer]:{com:()=>o.e(61103).then(o.bind(o,90321))},[n.f.FloatBar]:{com:()=>o.e(52822).then(o.bind(o,44384))},[n.f.Styles]:{com:()=>o.e(52144).then(o.bind(o,47327))},[n.f.Layouts]:{com:()=>o.e(54053).then(o.bind(o,29964))}},F={[n.f.HomePage]:{com:()=>o.e(21088).then(o.bind(o,36326))},[n.f.SearchPage]:{com:()=>o.e(58371).then(o.bind(o,95408))},[n.f.SubGamePage]:{com:()=>o.e(24808).then(o.bind(o,11931))},[n.f.Footer]:{com:()=>o.e(80995).then(o.bind(o,52557)),h5:!1},[n.f.FloatBar]:{com:()=>o.e(86327).then(o.bind(o,84637))},[n.f.Styles]:{com:()=>o.e(83033).then(o.bind(o,15138))},[n.f.Layouts]:{com:()=>o.e(50879).then(o.bind(o,21436))}},U={[n.f.HomePage]:{com:()=>o.e(13785).then(o.bind(o,27411))},[n.f.SearchPage]:{com:()=>o.e(50449).then(o.bind(o,18262))},[n.f.SubGamePage]:{com:()=>o.e(60912).then(o.bind(o,93126))},[n.f.EmbeddedPage]:{com:()=>o.e(27902).then(o.bind(o,26863))},[n.f.Footer]:{com:()=>o.e(4751).then(o.bind(o,47852))},[n.f.FloatBar]:{com:()=>o.e(64175).then(o.bind(o,85416))},[n.f.Styles]:{com:()=>o.e(45452).then(o.bind(o,26043))},[n.f.Layouts]:{com:()=>o.e(5630).then(o.bind(o,38707))}},$={[n.f.HomePage]:{com:()=>o.e(12846).then(o.bind(o,22824))},[n.f.SearchPage]:{com:()=>o.e(20595).then(o.bind(o,51793))},[n.f.SubGamePage]:{com:()=>o.e(59834).then(o.bind(o,34287))},[n.f.EmbeddedPage]:{com:()=>o.e(38193).then(o.bind(o,91673))},[n.f.Footer]:{com:()=>o.e(31323).then(o.bind(o,28755))},[n.f.FloatBar]:{com:()=>o.e(27824).then(o.bind(o,76874))},[n.f.Styles]:{com:()=>o.e(99442).then(o.bind(o,9730))},[n.f.Layouts]:{com:()=>o.e(42345).then(o.bind(o,55982))}},W={[n.f.HomePage]:{com:()=>o.e(85495).then(o.bind(o,91742))},[n.f.SearchPage]:{com:()=>o.e(42304).then(o.bind(o,77900))},[n.f.SubGamePage]:{com:()=>o.e(42760).then(o.bind(o,1952))},[n.f.Footer]:{com:()=>o.e(27535).then(o.bind(o,69397))},[n.f.FloatBar]:{com:()=>o.e(63706).then(o.bind(o,38084))},[n.f.Styles]:{com:()=>o.e(36773).then(o.bind(o,33269))},[n.f.Layouts]:{com:()=>o.e(50165).then(o.bind(o,58235))}};var z={[n.b.NORMAL]:u,[n.b.EUROPEAN_AMERICAN]:T,[n.b.CYAN_BLUE]:P,[n.b.STAKE]:x,[n.b.CROWN_GOLD]:G,[n.b.GALAXY_GOLD]:Z,[n.b.DQ]:Y,[n.b.THEME_17]:m,[n.b.HK]:F,[n.b.THEME_12]:i,[n.b.THEME_13]:a,[n.b.THEME_14]:r,[n.b.THEME_15]:c,[n.b.THEME_16]:l,[n.b.THEME_26]:b,[n.b.THEME_27]:S,[n.b.THEME_28]:E,[n.b.THEME_18]:d,[n.b.THEME_19]:h,[n.b.THEME_20]:g,[n.b.THEME_21]:p,[n.b.THEME_36]:U,[n.b.THEME_24]:y,[n.b.THEME_25]:f,[n.b.THEME_31]:A,[n.b.THEME_33]:R,[n.b.THEME_39]:L,[n.b.THEME_29]:w,[n.b.THEME_41]:v,[n.b.THEME_34]:M,[n.b.THEME_40]:O,[n.b.THEME_35]:C,[n.b.THEME_42]:N,[n.b.THEME_10]:s,[n.b.THEME_43]:$,[n.b.THEME_45]:B,[n.b.THEME_32]:D,[n.b.THEME_46]:k,[n.b.THEME_48]:W,[n.b.THEME_37]:I,[n.b.THEME_49]:H}},27772:function(e,t,o){o.d(t,{b:function(){return i},f:function(){return s}});var n=o(1507);let s;!function(e){e.HomePage="homePage",e.SubGamePage="subGamePage",e.SearchPage="searchPage",e.Footer="footer",e.FloatBar="floatBar",e.Layouts="layouts",e.Styles="style"}(s||(s={}));const i=n.sZ.ThemeSkinType},32770:function(e,t,o){o.d(t,{rO:function(){return u},fc:function(){return r.f},ZP:function(){return g}});var n=o(4942),s=o(88763);let i;!function(e){e.Main="main"}(i||(i={}));const a=s.By;var r=o(27772),c=o(91475),l=o(56822),m=o(93711);var d={[a.MidAutumn]:{[i.Main]:{com:m.Z}}},h=o(39948);let u;!function(e){e.Theme="theme",e.Holiday="holiday"}(u||(u={}));class g{static getName(e){const{normalName:t,config:o}=this.getComponentConf(e),{pc:n,h5:s}=o,{isWeb:i}=(0,c.h)(),a=o=>{if(!1===o)return"my-empty";if(void 0===o)return t;const n={namespace:e.namespace,moduleType:e.moduleType,key:o};return this.getComponentConf(n).normalName};return a(i?n:s)}static isTheme(e){return e.namespace===u.Theme}static getConf(e){return this.isTheme(e)?this.configMap[u.Theme][e.key]:this.configMap[u.Holiday][e.key]}static getComponentConf(e){const{moduleType:t,key:o,namespace:n}=e;return{normalName:`coms-${n}-${o}-${t}`,config:this.getConf(e)[t]}}static getConfig(e){return this.configMap[e]}static register({namespace:e,moduleType:t}){return Object.entries(this.configMap[e]).reduce(((o,[n])=>{const s={namespace:e,moduleType:t,key:n},{config:i,normalName:a}=this.getComponentConf(s);if(i?.com){const e=Object.keys(i.com),t=e.includes("options")&&e.includes("use");o[a]=t?i.com:l.Z.createAsyncComponent({component:i.com})}return o}),{})}}(0,n.Z)(g,"configMap",{[u.Theme]:h.Z,[u.Holiday]:d})},1507:function(e,t,o){o.d(t,{ZP:function(){return p},tt:function(){return g},yU:function(){return h},sZ:function(){return d}});var n=o(96026),s=o.n(n);var i=o(23742),a=o(8575),r=o(80129),c=o.n(r),l=o(85469),m=o(37015);const d=o.n(m)(),h=window.location.href,{query:u=""}=(0,a.parse)(window.location.href,!0),g=c().parse(u);window.wgMock=window.wgMock||{},window.wgMock.cardLite="true"===g["mock.cardLite"],window.wgMock.keepAlive="true"===g["mock.keepAlive"],window.wgMock.noLazy="true"===g["mock.noLazy"],window.wgMock.blurAnimation="true"===g["mock.blurAnimation"],window.wgMock.openPC="true"===g["mock.openPC"],window.wgMock.animationMode=g["mock.animationMode"];var p={ServiceCode:{SUCCESSCODE:0,SUCCESS:1,UPAY_SUCCESS_CODE:"C2",TOKEN_EXPIRED:-1,SERVER_MAINTAIN:-1,RESTRICTED_ACCESS:9110,FORCE_GEETEST:1119,PHONE_CODE_ERROR:1101,LOGIN_ERROR:1011,TOW_VERYFI:1012,EMAIL_SECURITY_CONFIG_EXPIRED:1044,PHONE_SECURITY_CONFIG_EXPIRED:1248,SWIPER_PUZZLE_GEETEST:1124,GRAPHIC_CLICK_GEETEST:1125,NINE_SQUARE_GEETEST:1126,SMS_CODE_GEETEST:1127,PHONE_ERROR:1216,ACCOUNT_FREEZE:1025,CONFIG_CHANGE_ERR:1128,CONFIG_CHANGE_ERR_1:1247,SMS_CODE_GAME:3002,BIND_WITHDRAW:3003,TEST_REGISTER_GAME:3004,FIRST_RECHARGE:3006,DOWNLOAD_APP:3007,DOWNLOAD_APP_CHANNEL_BY_CALL_GAMEAPI:3010,PAGE_OVERDUE:4020,CENTER_WALLET_NOT_BALANCE:9527,DEMO_GAME_LINE_DISABLED:210103,DEMO_GAME_DISABLED:41020,SITE_FREEZE_ERROR:9111,SITE_MAINTAIN_ERROR:-3,SITE_FREEZE_AND_MAINTAIN_ERROR:-4,REGISTER_PASSWORD_LENGTH_ERR:4042,REGISTER_PASSWORD_FORMAT_ERR:4024,REGISTER_USERNAME_FORMAT_ERR:1323,REGISTER_USERNAME_PASSWORD_SAME_ERR:4040,REGISTER_USERNAME_EXISTED_ERROR:1013,REGISTER_FAILED_ERROR:2005,EMAIL_CAPTCHA_EXPIRED:1332,EMAIL_CAPTCHA_EMPTY:1326,PHONE_CAPTCHA_EXPIRED:1333,USER_RESTRICT_ERROR:1334,PHONE_CAPTCHA_EMPTY:1325,VERSION_ERROR:999,OTHER_CLIENT_GAME_LOGIN:1401,QIAN_NENG_ERROR_NO_BIND:70202,GEETEST_ILLEGAL_REQUEST:1130,ABPAYCODE:200},SportsServiceCode:{SUCCESS:1,TOKEN_EXPIRED:-1,SERVER_MAINTAIN:-1,RESTRICTED_ACCESS:9110,FORCE_GEETEST:1119,PHONE_CODE_ERROR:1101,LOGIN_ERROR:1011,SWIPER_PUZZLE_GEETEST:1124,GRAPHIC_CLICK_GEETEST:1125,NINE_SQUARE_GEETEST:1126,SMS_CODE_GEETEST:1127,ACCOUNT_FREEZE:1025,CONFIG_CHANGE_ERR:1128,SMS_CODE_GAME:3002,BIND_WITHDRAW:3003,TEST_REGISTER_GAME:3004,CENTER_WALLET_NOT_BALANCE:9527},AgentMode:{Infinite:0,FirstLevel:1,NetProfit:2,ThreeNetProfix:10002,National:10003},MomentLanguageMap:i.b,ServiceLanguageMap:{en_US:"en",zh_CN:"zh",zh_TW:"zh_hk",th_TH:"th",vi_VN:"vi",ko_KR:"ko",ja_JP:"ja",pt_PT:"pt",es_ES:"es",de_DE:"de",fr_FR:"fr",it_IT:"it",ru_RU:"ru",my_MM:"my",id_ID:"id",hi_IN:"hi",tl_PH:"tl",km_KH:"km",te_IN:"te",ta_LK:"ta",mr_IN:"mr",kn_IN:"kn",tr_TR:"tr",bn_BN:"bn",pa_PA:"pa"},BrowserLanguageMap:{en:"en",zh:"zh","zh-CN":"zh","zh-SG":"zh","zh-TW":"zh_hk","zh-HK":"zh_hk","zh-MO":"zh_hk",th:"th",vi:"vi",ko:"ko",ja:"ja",pt:"pt","pt-PT":"pt","pt-BR":"pt",es:"es",de:"de",fr:"fr","fr-FR":"fr",it:"it","ru-RU":"ru","my-MM":"my","id-ID":"id",hi:"hi","bn-IN":"hi",fil:"tl","fil-PH":"tl",km:"km",te:"te",ta:"ta",mr:"mr",kn:"kn"},SportsServiceLanguageMap:{en_US:"en",zh_CN:"cs",zh_TW:"ch",ko_KR:"ko",ja_JP:"jp",th_TH:"th",vi_VN:"vn",id_ID:"id"},DateFormatMap:{en_US:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},zh_CN:{ymdhms:"YYYY-MM-DD HH:mm:ss",ymdhm:"YYYY-MM-DD HH:mm",ymd:"YYYY-MM-DD",md:"MM-DD",mdhm:"MM-DD HH:mm",mdhms:"MM-DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},zh_TW:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},th_TH:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},vi_VN:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},ko_KR:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY- HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},ja_JP:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},pt_PT:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},es_ES:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},de_DE:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},fr_FR:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},it_IT:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},ru_RU:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},my_MM:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},id_ID:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},hi_IN:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},tl_PH:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},km_KH:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},te_IN:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},ta_LK:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},mr_IN:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},kn_IN:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},tr_TR:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},bn_BN:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"},pa_PA:{ymdhms:"MM/DD/YYYY HH:mm:ss",ymdhm:"MM/DD/YYYY HH:mm",ymd:"MM/DD/YYYY",md:"MM/DD",mdhm:"MM/DD HH:mm",mdhms:"MM/DD HH:mm:ss",hms:"HH:mm:ss",ms:"mm:ss"}},GeetestLanguageMap:{en_US:"eng",zh_CN:"zho",zh_TW:"zho-tw",th_TH:"tha",vi_VN:"vie",ko_KR:"kor",ja_JP:"jpn",pt_PT:"por",es_ES:"spa",de_DE:"deu",fr_FR:"fra",it_IT:"isl",ru_RU:"rus",my_MM:"mya",id_ID:"ind",hi_IN:"him",tl_PH:"fil",km_KH:"khm",te_IN:"tel",ta_LK:"tam",mr_IN:"mar",kn_IN:"kan"},CssClassName:{Swiper:{NoSwiping:"swiper-no-swiping",Pagination:"swiper-pagination",Button:{Prev:"swiper-button-prev",Next:"swiper-button-next"}},Animate:{TransitionName:{Zoom:"zoom",Fade:"fade",MoveDown:"move-down",MoveUp:"move-up"},Animated:"animate__animated",NormalActive:"animate__normal_active",Speed:{Fast:"animate__fast",Faster:"animate__faster",Slow:"animate__slow",Slower:"animate__slower"},WithoutNormalFlow:"animate__without_normal_flow",Repeat:{infinite:"animate__infinite"},FillMode:{forwards:"animate__forwards"},Delay:s()(50,2001,50).reduce(((e,t)=>(e[t]=`animate__delay-${t}ms`,e)),{}),Spin:"animate__spin",SpinReverse:"animate__spinReverse",ZoomIn:"animate__zoomIn",ZoomOut:"animate__zoomOut",VanishIn:"animate__vanishIn",BounceIn:"animate__bounceIn",FlipInY:"animate__flipInY",Streamer:"animate__streamer",SlideInLeft:"animate__slideInLeft",SlideInRight:"animate__slideInRight",SlideInBottom:"animate__slideInBottom",SlideOutLeft:"animate__slideOutLeft",SlideOutRight:"animate__slideOutRight",SlideOutBottom:"animate__slideOutBottom",PushEnter:"animate__pushEnter",PushLeave:"animate__pushLeave",PopEnter:"animate__popEnter",PopLeave:"animate__popLeave",FadeIn:"animate__fadeIn",FadeOut:"animate__fadeOut",FadeInLeft:"animate__fadeInLeft",FadeInRight:"animate__fadeInRight",FadeOutLeft:"animate__fadeOutLeft",FadeOutRight:"animate__fadeOutRight",HeartBeat:"animate__heartBeat",ScrollHalf:{Up:"animate__scrollUpHalf",Right:"animate__scrollRightHalf",Down:"animate__scrollDownHalf",Left:"animate__scrollLeftHalf"},Hover:{Grow:"animate__grow__hover",Float:"animate__float__hover",Forward:"animate__forward__hover",Backward:"animate__backward__hover"},BeatUpAndDown:"animate__beatUpAndDown"},Lobby:{FixedNoDesktop:"wg-fixed-no-desktop",Ellipsis:l.Z.ellipsis,Color:{Primary:l.Z.primary,Red:l.Z.red,Green:l.Z.green,Yellow:l.Z.yellow,Text:l.Z.text,TextDarken:l.Z.textDarken,TextLighten:l.Z.textLighten},Antd:{SelectSearch:"ant-select-dropdown-search"},Card:{WillCut:"theme-will-cut",MaskHover:"theme-mask-hover"},CardScrollWrapList:"game-card-scroll-wrap-list"}},ThemeSkinLayout:{0:"normal",1:"normal",2:"european_american",3:"cyan_blue",4:"stake",5:"crown_gold",6:"galaxy_gold",7:"european_american"},PortalName:{MySubTitle:"my-sub-title",MyTitleRightSlotsLeft:"my-title-right-slots-left",MyTitleRightSlotsRight:"my-title-right-slots-right",MyTitleH5Slots:"my-title-h5-slots",ForgotPwdBtns:"forgot-pwd/btns",SecurityCenterService:"center/security/service-btns",RouterViewTop:"router-view-top",DownloadAppCyanBlue:"download-app-cyan-blue",GlobalApp:"app",ActivityBottom:"/event/item/activity-bottom",TaksOneClick:"taks-one-click",GameListTopRight:"/game/home/top-right",WebMusic:"music",MobileMusic:"MobileMusic",AfterRechargeActivityBottom:"after-recharge-activity-bottom"},UserRestrictReceiveEventApiKeys:["/active/group_word","/active/doMatchBet","/promote/extract","/active/investment_handler","/home/index","/active/extract_word","/active/request_reward","/active/useDiscountCode","/active/sing","/active/receiveOne","/active/receiveall","/active/receivereward","/active/receiveManualSend","/activetask/getprize","/user/giftRecv1","/returngold/recvOne","/active/redactive","/active/chop_one_knife_new_turn","/active/chop_one_knife_turn","/yuebao/getInterest","/active/rechargeFund/receive"],UserRestrictEnterGameApiKeys:[],UserRestrictLoginApiKeys:[],UserRestrictRechargeApiKeys:[],UserRestrictCacheKey:{EnterGame:"USER_RESTRICT_ERROR_ENTER_GAME_TIP",ReceiveEvent:"USER_RESTRICT_ERROR_RECEIVE_EVENT_TIP",Login:"USER_RESTRICT_ERROR_LOGIN_TIP",Recharge:"USER_RESTRICT_ERROR_RECHARGE_TIP"},CacheNameSpace:{FinancePayTooltipVisible:e=>`@@tooltipVisible-${e}`,FinancePayOnlinePlatformExpand:e=>`@@${e}-finance-online-platform-expand`,FinancePayTransferPlatformExpand:e=>`@@${e}-finance-transfer-platform-expand`,FinancePayOnlineChannelExpand:e=>`@@${e}-finance-online-channel-expand`,FinancePayTransferChannelExpand:e=>`@@${e}-finance-transfer-channel-expand`},GeetestApiServers:["gcaptcha4-hrc.gsensebot.com","gcaptcha4-hrc.geetest.com"],PhoneNumberScope:{Min:6,Max:12},EmailSuffix:{zh:["@gmail.com","@qq.com","@163.com","@126.com","@sina.com","@foxmail.com","@outlook.com","@live.com","@sohu.com","@mail.com","@hotmail.com","@tom.com","@yahoo.com","@msn.com"],en:["@gmail.com","@outlook.com","@live.com","@hotmail.com","@yahoo.com","@qq.com","@foxmail.com","@163.com","@126.com","@sina.com","@sohu.com","@mail.com","@tom.com","@msn.com"]}}},1183:function(e,t,o){o.d(t,{ay:function(){return a}});var n=o(4942),s=o(17187),i=o.n(s);let a;!function(e){e.CLICK_DOWNLOAD_BTN_ENV_KWAI="CLICK_DOWNLOAD_BTN_ENV_KWAI",e.CALL_P2A_INSTALL_FINISH_EVENT="CALL_P2A_INSTALL_FINISH_EVENT",e.CLICK_SAVESHORT_BUTTON="CLICK_SAVESHORT_BUTTON",e.PWATOAPP_INSTALL_BY_CHANNEL="PWATOAPP_INSTALL_BY_CHANNEL",e.DOWNLOAD_APP_BY_AFTER_CLICK_GAME="DOWNLOAD_APP_BY_AFTER_CLICK_GAME",e.CLOSE_DROPDOWN="CLOSE_DROPDOWN",e.TRACE_REPORT="TRACE_REPORT",e.VERSION_CHECK="VERSION_CHECK",e.open_music="open_music",e.close_music="close_music",e.download_app="download_app",e.DOWNLOAD_APP_BY_SITE="DOWNLOAD_APP_BY_SITE",e.SITE_MAINTAIN="SITE_MAINTAIN",e.P2A_INSTALL_BY_CHANNEL="P2A_INSTALL_BY_CHANNEL",e.P2A_FORCE_INSTALL_BY_CHANNEL="P2A_FORCE_INSTALL_BY_CHANNEL",e.PWA_INSTALL="PWA_INSTALL",e.DOWNLOAD_APP_NOT_REQUIRE_FORCE_BY_CHANNEL="DOWNLOAD_APP_NOT_REQUIRE_FORCE_BY_CHANNEL",e.DOWNLOAD_APP_REQUIRE_FORCE_BY_CHANNEL="DOWNLOAD_APP_REQUIRE_FORCE_BY_CHANNEL",e.DOWNLOAD_APP_CHANNEL_BY_CALL_GAMEAPI="DOWNLOAD_APP_CHANNEL_BY_CALL_GAMEAPI",e.SAVE_SHORTCUT_SUCCESSS="SAVE_SHORTCUT_SUCCESSS",e.CLOSE_DOWNLOAD_APP_MODAL="CLOSE_DOWNLOAD_APP_MODAL",e.line="line",e.TO_HOME="TO_HOME",e.SYSTEM_STATUS_LOADED="SYSTEM_STATUS_LOADED",e.HOME_SCROLL_ANCHOR_BEFORE="HOME_SCROLL_ANCHOR_BEFORE",e.DO_HOME_SCROLL="DO_HOME_SCROLL",e.GAME_LOGIN_SUCCESS="GAME_LOGIN_SUCCESS",e.ANTD_POPUP_INVISIBLE="ANTD_POPUP_INVISIBLE",e.CLIENT_DATA_INITIALIZATION_COMPETED="CLIENT_DATA_INITIALIZATION_COMPETED",e.SUGGEST_STRETCH_ANIMATION="SUGGEST_STRETCH_ANIMATION",e.PAGE_VISIBILITY_CHANGE="PAGE_VISIBILITY_CHANGE",e.RESPONSE_ERROR="RESPONSE_ERROR",e.USER_RESTRICT_ERROR="USER_RESTRICT_ERROR",e.TOKEN_EXPIRED="TOKEN_EXPIRED",e.EVENT_CUSTOMIZE_MOCK_PREVIEW="EVENT_CUSTOMIZE_MOCK_PREVIEW",e.ASIDE_SCROLL="ASIDE_SCROLL",e.GAME_LIST_SCROLL="GAME_LIST_SCROLL",e.BETTER_SCROLL="BETTER_SCROLL",e.HOME_SCROLL="HOME_SCROLL",e.LOADED="LOADED",e.LOGOUT_BEFORE="LOGOUT_BEFORE",e.LOGOUT_SUCCESS="LOGOUT_SUCCESS",e.LOGIN_SUCCESS="LOGIN_SUCCESS",e.SECURITY_STEP_NEXT="SECURITY_STEP_NEXT",e.LANGUAGE_CHANGE="LANGUAGE_CHANGE",e.PAYMODAL_OPEN="PAYMODAL_OPEN",e.PAYMODAL_CLOSE="PAYMODAL_CLOSE",e.DO_WG_SUBPAGE_SCROLL="DO_WG_SUBPAGE_SCROLL",e.WG_SUBPAGE_SCROLL="WG_SUBPAGE_SCROLL"}(a||(a={}));class r extends(i()){constructor(){super(),(0,n.Z)(this,"GlobalEventActionsName","global-event-actions-name"),this.setMaxListeners(50)}dispatch(e){return this.emit(this.GlobalEventActionsName,e)}subscribe(e){return this.on(this.GlobalEventActionsName,e)}subscribeOnce(e){return this.once(this.GlobalEventActionsName,e)}unsubscribe(e){return this.off(this.GlobalEventActionsName,e)}}t.ZP=new r},46851:function(e,t,o){o.d(t,{CM:function(){return a.ZP},H4:function(){return i.Z},Uh:function(){return s.ZP},sG:function(){return n.Z},xN:function(){return r.ZP}});var n=o(2161),s=o(68226),i=o(79888),a=o(1507),r=o(1183)},49293:function(e,t,o){o.d(t,{t:function(){return n}});const n=[]},2161:function(e,t,o){o.d(t,{Z:function(){return D}});var n,s,i=o(4942),a=o(65094),r=o(29946),c=o(44104),l=o(63060),m=o(23279),d=o.n(m),h=o(53229),u=o(70753),g=o(5954),p=o(75990),y=o(91475);let f=(n=(0,u.WY)(),s=class{constructor(){this.mediaScreen()}watchResize(){const e=()=>{this.leading(),(0,p.Wn)(this.leading)};e(),window.addEventListener("resize",d()((()=>{window.scrollTo(0,1),setTimeout(e,310)})))}leading(){this.mediaScreen(),this.calc1vh(),(0,y.h)().updateRootFontSize()}mediaScreen(){const{setScreenSize:e,setScreenAspectRatio:t}=(0,y.h)(),o=window.innerWidth,n=window.innerHeight/(o??1),s=document.querySelector("html");t(n);const{size:i}=window.LOBBY_UTILS.mediaScreen();s?.setAttribute("data-device-os",(0,g.Q)().os),e(i)}calc1vh(){const e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`)}},(0,h.Z)(s.prototype,"leading",[n],Object.getOwnPropertyDescriptor(s.prototype,"leading"),s.prototype),s);var b=o(53579),_=o(24965),S=o(9814),E=o(85585),w=o(30727),T=o(6096),A=o(58217);class D{}(0,i.Z)(D,"I18n",A.ZP),(0,i.Z)(D,"Modal",b.Z),(0,i.Z)(D,"Site",w.Z),(0,i.Z)(D,"Rules",E.Z),(0,i.Z)(D,"Buried",r.Z),(0,i.Z)(D,"User",T.Z),(0,i.Z)(D,"Polling",S.Z),(0,i.Z)(D,"Media",f),(0,i.Z)(D,"Apng",a.B),(0,i.Z)(D,"Page",_.Z),(0,i.Z)(D,"FuncRender",c.Z),(0,i.Z)(D,"WS",l.Z)},979:function(e,t,o){o.d(t,{VH:function(){return z},xG:function(){return W},ZP:function(){return j},gF:function(){return K}});var n=o(50361),s=o.n(n),i=o(57557),a=o.n(i),r=o(78718),c=o.n(r),l=o(82492),m=o.n(l),d=o(27361),h=o.n(d),u=o(4942),g=o(44586),p=o(9669),y=o.n(p),f=o(4400),b=o.n(f),_=o(6151),S=o(79888),E=o(1183),w=o(30381),T=o.n(w),A=o(46851),D=o(9248),R=o(98754),M=o(91475),C=o(39169);class I extends R.C{dep(e){const t=e.customParams?.staticKeyOmit||[],o="static"===j.getTokenMode(e)||j.notNeedTokenFilter.includes(e?.url||"");return["currency","language","uid","platformType"].filter((e=>!t.includes(e)&&(!o||"uid"!==e)))}id(e,t,o={}){if("function"==typeof t)return super.id(e,t,o);{const{language:n,userInfos:s,currentTryCurrency:i}=(0,M.h)(),a=[e],r={uid:()=>s?.username||"",language:()=>n,currency:()=>s?.currency||i?.currencyCode,platformType:()=>o.customParams?.useAppEnv||!1?6:5};return t.forEach((e=>{const t=r[e]?.();t&&a.push(String(t))})),a.join(":")}}log(e,t,o){const n=h()(e.raw,"config.url"),s=h()(e.raw,"data"),i=`[CACHE ${o} ${e.id}] >>>>>> ${n}\n${JSON.stringify({expiration:T()(e.expiration).format()})}${JSON.stringify(t)}\n${JSON.stringify(s)}`,a=T()().format()+i;C.Z.success("cache",a),C.Z.myDebug("cache",a)}beforeSet(e,t){this.log(e,t,"SET")}afterGet(e,t){this.log(e,t,"GET")}}var L=o(62933),P=o(5954),O=o(75990),v=o(21615),N=o(49293),B=o(58217),k=o(30918),H=o(95059),x=o(81354),G=o.n(x),Z=o(56343),Y=o(1507);o(84220);const F=b()({storeAsString:!0}),U={static:[],logined:[]},$={};function W(e){E.ZP.dispatch({type:"RESPONSE_ERROR",payload:{message:e}})}class z extends _.R{constructor(...e){super(...e),(0,u.Z)(this,"requestErrorCountConsequent",0),(0,u.Z)(this,"maxGoGateWayBack2SourceErrorCount",1),(0,u.Z)(this,"domainRequestRecord",{api:{},oss:{}}),(0,u.Z)(this,"cache",new I((()=>(0,k.i)()),{expired:!0,setup:!1})),(0,u.Z)(this,"notNeedTokenFilter",["/ipCheck","/cocos/config_data.json","/cocos/maintain-time.json","/cocos/maintain-time-default.json","/hall/api/third/game/platformExchange/findListAll.json"]),(0,u.Z)(this,"beforeLoginedEncryptFilter",["/api/lobby/config/getForcedUpdateAndroidUrl","/api/protected/user/smslogin","/home/check/username","/home/fastlogin","/home/login","/home/onekeyquicklogin","/home/onekeyquickregister","/home/onekeyregisterlogin","/home/register","/home/check/register","/home/testregister","/home/thirdpartylogin","/home/thirdpartyregister","/shortmsg/create","/shortmsg/validate","/user/email/createmail","/user/notlogin/verifyEmail","/user/notlogin/getaccountquestion","/user/notlogin/getquestion","/user/notlogin/resetpasswd","/user/notlogin/verificquestion","/user/notlogin/verificquestionandwithdrawpasswd","/user/notLogin/resetPassVerify","/user/notlogin/resetpasswd","/user/sms/resetpasswd","/user/sms/verifyaccount","/user/sms/verifycode","/user/sms/verifyphone","/user/captcha/verifyPhone","/user/notlogin/getAccountVerifyList","/user/captcha/getUserInfo","/geetest/validate/v4","/activetask/newcomer_benefit_reward","/promote/linksetting"])}isApi2Source(e){return[...this.apiDomain].map((e=>`${e}${e.endsWith("/")?"":"/"}hall`)).some((t=>e.baseURL?.startsWith(t)))}afterResponse(e){this.afterSuccess(e)}afterSuccess(e){const t=e.config;this.isApi2Source(t)?(this.requestErrorCountConsequent=0,this.updatedomainRequestRecord(t,"success","api"),this.updateToken(e.headers)):t._withStaticMode&&this.updatedomainRequestRecord(t,"success","oss")}afterFail(e){const t=e?.config,o=e?.response?.status;t&&(this.isApi2Source(t)?this.updatedomainRequestRecord(t,"fail","api"):t._withStaticMode&&("number"==typeof o&&[403,404].includes(o)||this.updatedomainRequestRecord(t,"fail","oss")))}pickTokenInfos(e){const{token:t,newjwt:o}=e||{};if(t||o){const e=(0,H.u)().tokenInfos;return Object.assign({},e||{},{...t?{session_key:t}:{},...o?{jwt_token:o}:{}})}}updateToken(e={}){const t=this.pickTokenInfos({token:e.token,newjwt:e.newjwt});t&&(0,M.h)().updateUserInfos({...(0,M.h)().updateUserInfos,...t},void 0,{updateToken:!0})}paused(e,t){const{tryStaticMode:o,onlyStaticMode:n,tryCacheToken:s}=e?.customParams||{};if(o&&n||s)return!1;const i=!q.notNeedTokenFilter.includes(e?.url||""),a=!q.getToken(e);if(i&&a){const t=q.getTokenMode(e);return z.log(`【paused-resume】${e.url}: waiting for Token with ${t}`),U[t].push(e),"logined"}return!!e.customParams?.throttleDelay&&($[t]||setTimeout((()=>{this.resume(t)}),e.customParams?.throttleDelay),z.log(`${e.url}:waitting after throttleDelay value `),$[t]=$[t]||[],$[t].push(e),t)}updatedomainRequestRecord(e,t="success",o="api"){try{const n="/hall"===e.baseURL?`${window.location.origin}/hall`:e.baseURL||"",s=new URL(n).origin;if(!this.domainRequestRecord[o])return void console.warn(`Unknown type: ${o}`);this.domainRequestRecord[o][s]||(this.domainRequestRecord[o][s]={failCount:0,successCount:0,lastSuccessTime:0,lastFailTime:0}),"success"===t?(this.domainRequestRecord[o][s].successCount++,this.domainRequestRecord[o][s].lastSuccessTime=Date.now()):(this.domainRequestRecord[o][s].failCount++,this.domainRequestRecord[o][s].lastFailTime=Date.now())}catch(n){}}getDefaultBaseURL(e){const{bestBaseURL:t}=(0,M.h)();if(t)return t+"/hall";return`${this.apiDomain[0]||""}/hall`}getRetryBaseURL(e,t={}){if(!0===h()(e,"_withStaticMode")||0===this.apiDomain.length)return this.getDefaultBaseURL(t);const o=e?.baseURL||"",n=this.apiDomain.findIndex((e=>o.includes(e))),s=n>=0?(n+1)%this.apiDomain.length:0;return`${this.apiDomain[s]||""}/hall`}resume(e){["logined"].includes(e)?U[e].splice(0).forEach((t=>{z.log(`【paused-resume】${t.url}: resume`),t&&this.resumeHandler(t,e)})):(($[e]||[]).forEach((t=>{t&&this.resumeHandler(t,e)})),delete $[e])}setup(e){const{method:t,url:o}=e;e.customParams=m()({maxRetryCount:e.customParams?.tryStaticMode?2*z.MAX_RETRY_COUNT:z.MAX_RETRY_COUNT,uuid:(0,g.Z)(),ossNegotiatedCaching:!1,noMerge:!1,noEncrypt:!1,silentOnError:!1,noErrorMessage:!1,noLog:!1,noResponseDataCodeChecked:!1,autoBaseUrl:!0,autoQueryParams:!/\.json(\?(\S)*)?$/.test(o||""),errorFilter:e=>e?.code!==Y.ZP.ServiceCode.FORCE_GEETEST,errorCatchFilter:()=>!1,useCache:!0,useCacheInError:(e,t)=>"axiosError"===t,cacheExpiredOnReload:!0},e.customParams),e._withStaticMode=this.withStaticMode(e);const n=e.customParams?.setDefaultRequestConfig,s=A.sG.Site.getServerTime();e._startTime=Date.now();const i=m()({},n?n?.(this.getDefaultRequestConfig(e,s)):this.getDefaultRequestConfig(e,s),e);m()(e,i),this.requestPayloadHandler(e,(()=>{}),(()=>{e.data.time=e.data.time??s}));const{uuid:a}=e.customParams;z.log(`[C2S HTTP ${a}]:${t} >>>>>> ${o}\n${JSON.stringify(c()(e,["params","data","customParams"]))}`,e)}encode(e){const t=e.customParams?.noEncrypt,o=e.customParams?.autoFormData;e._cryptoKey=this.calcCryptoKey(e),this.requestPayloadHandler(e,(()=>{if(!t){if(e._withStaticMode)return;e.params={encryptString:S.Z.encrypt(e.params,this.getKey(e))}}}),(()=>{o?e.data=this.createFormData(e.data,e):t||(e.data=S.Z.encrypt(e.data,this.getKey(e)))}))}beforeSend(e){const t="/hall"===e.baseURL,o=e.customParams?.autoQueryParams,n=e?.customParams?.useAppEnv,s=e._lastAxiosResponse;if(o&&"get"===e.method){const{language:t,siteCode:o}=(0,M.h)(),s={siteCode:o,token:this.getToken(e)||null,currency:this.getCurrency(e)||"",language:Y.ZP.ServiceLanguageMap[t],platformType:n?6:5};e.params={...s,...e.params}}if(t)if(e._withStaticMode){const t=304===h()(s,"response.status"),o=a()(e.params,["siteCode","token",...e.customParams?.staticKeyOmit||[]]),{bestOssBaseURL:n}=(0,M.h)(),i=e._retryCount?A.Uh.ossDomain[0]:n||A.Uh.ossDomain[0],r=`${Object.keys(o).sort().reduce(((e,t)=>{const n=o[t];return void 0!==n&&(e+=`/${t}/${encodeURIComponent("string"==typeof n?n:JSON.stringify(n))}`),e}),"")}${e.customParams?.appendDefault?"/default":""}.json`;e.url=e.url+r;const c=(0,M.h)().responseHeaders[e.url]||{},l=Object.entries({"last-modified":"If-Modified-Since",etag:"If-None-Match"}).reduce(((e,[t,o])=>(c[t]&&(e[o]=c[t]),e)),{});e.headers={},e.customParams?.ossNegotiatedCaching&&e.headers&&!t&&(e.headers=m()({},e.headers,l)),e.baseURL=i+(i.endsWith("/")?"":"/")+"hall",delete e.params}else{e.baseURL=this.getDefaultBaseURL(e);const t=(()=>{const t=e.customParams?.keyOmit||[],o=e.customParams?.staticKeyOmit||[];return"boolean"==typeof t?t?o:[]:t})();e.params=a()(e.params,[...t]),e._retryCount&&(e.baseURL=this.getRetryBaseURL(e._lastAxiosResponse?.config,e))}if(e.url?.includes("/home/prize")){const t=e.headers||{};localStorage.setItem("prizelock",`${Date.now()}:${t["x-request-id"]}`)}}decode(e){try{if(e.config._withStaticMode){const{responseHeaders:t}=(0,M.h)();if(t[e.config.url||""]=s()(e.headers),"string"==typeof e.data)try{e.data=V(S.Z.ossDecrypt(e.data)),e.data={code:z.SERVICE_CODE.SUCCESS,data:e.data.data}}catch(a){e.config._forceRetry=!0}else e.data={code:z.SERVICE_CODE.SUCCESS,data:e.data.data}}else if(!e.config.customParams?.noEncrypt&&e?.headers["content-type"]?.includes("text/plain")){const t=e.data,o=S.Z.decrypt(t,this.getKey(e.config),{padding:G().pad.Pkcs7});e.data=V(o)}}catch(a){console.error(a)}const{config:t,data:o}=e;if(o.time&&"post"===t.method){(0,M.h)().updateTimeDiff(o.time)}const n=t._startTime||0,i=Date.now()-n;n&&t.url?.includes("/logger"),z.log(`[S2C HTTP ${t.customParams?.uuid}]:${t.method} <<<<<< ${t.url}\n${JSON.stringify(o)}\nx-request-id:${h()(t.headers,"x-request-id")}\nx-trace-id:${e.headers["x-trace-id"]}(Please use this ID to ask a backend colleague for help in investigating this request.)\nDiff: ${i} ms`,t)}checkErrorType(e){const t=e instanceof p.AxiosError,o=e?.config;return t?"axiosError":!o?.customParams?.noResponseDataCodeChecked&&e?.data?.code!==z.SERVICE_CODE.SUCCESS&&"dataError"}async catch(e){const t=e.config,o=this.checkErrorType(e),n=t._origin_||t,s=this.identify(n),i=n.customParams?.cacheDep||this.cache.dep(n),a=t.customParams?.useCacheInError?.(e,o),r=this.cache.has(s,{cacheDep:i,axiosRequestConfig:t})&&a,c=await D.Gm.geeTest(e);c.retry&&(t._forceRetry=c.retry);const l=(t,n)=>{if(t.customParams?.silentOnError||(e=>{if("axiosError"===o)return!1;const t=e,n=Y.ZP.ServiceCode,s=[n.FORCE_GEETEST,n.SMS_CODE_GEETEST,n.SWIPER_PUZZLE_GEETEST,n.NINE_SQUARE_GEETEST,n.GRAPHIC_CLICK_GEETEST,n.SMS_CODE_GAME,n.BIND_WITHDRAW,n.CENTER_WALLET_NOT_BALANCE],i=t.data?.code,a=t.data?.errorCode;return s.includes(i)||"number"==typeof a&&s.includes(a)})(e)||t.customParams?.errorCatchFilter?.(e))return Promise.reject(e);switch(n=n||t.data.msg,e?.data?.code){case z.SERVICE_CODE.TOKEN_EXPIRED:E.ZP.dispatch({type:"TOKEN_EXPIRED",payload:{message:n}});break;case z.SERVICE_CODE.OTHER_CLIENT_GAME_LOGIN:{const{token:t,deviceModel:o}=e?.data?.data||{};E.ZP.dispatch({type:"OTHER_CLIENT_GAME_LOGIN",payload:{token:t,deviceModel:o}});break}case z.SERVICE_CODE.VERSION_ERROR:E.ZP.dispatch({type:"VERSION_CHECK",payload:{byServer:!0,version:0,force:!0,closable:!1}});break;case z.SERVICE_CODE.USER_RESTRICT_ERROR:!1===t.customParams?.noErrorMessage&&E.ZP.dispatch({type:"USER_RESTRICT_ERROR",payload:e});break;case z.SERVICE_CODE.SITE_MAINTAIN_ERROR:case z.SERVICE_CODE.SITE_FREEZE_ERROR:case z.SERVICE_CODE.SITE_FREEZE_AND_MAINTAIN_ERROR:E.ZP.dispatch({type:"SITE_MAINTAIN",payload:{res:e,requestErrorCountConsequent:this.requestErrorCountConsequent,isSiteFreeze:z.SERVICE_CODE.SITE_FREEZE_ERROR===e?.data?.code,isSiteFreezeAndMaintain:z.SERVICE_CODE.SITE_FREEZE_AND_MAINTAIN_ERROR===e?.data?.code,onError:()=>W(n)}});break;default:if([z.SERVICE_CODE.CONFIG_CHANGE_ERR,z.SERVICE_CODE.CONFIG_CHANGE_ERR_1].includes(e?.data?.code)&&E.ZP.dispatch({type:"CONFIG_CHANGE_ERR"}),r||t.customParams?.noErrorMessage)return;W(n)}},d=["maintain-time.json","/listExtLinkV2","/netstat/player/logger"].every((e=>!t.url?.includes(e))),h=this.isTimeoutError(e),u=t._retryCount||0,g=t.customParams?.maxRetryCount??z.MAX_RETRY_COUNT,p=t.customParams?.retryWhenTimeout??!1,y=((h?p:"axiosError"===o)||t._forceRetry)&&u<g,f=m()({},z.TIPS_WORD,t.customParams?.tipsWord),b=(o,n)=>{if(!d)return;const s=t._startTime||0,i=navigator.connection||{},a=JSON.stringify({downlink:i.downlink,effectiveType:i.effectiveType,rtt:i.rtt,saveData:i.saveData});let r=0;try{r=new Date(document.querySelector("html")?.getAttribute("data-version")).getTime()}catch(p){}const{siteURLInfos:c}=(0,M.h)(),l=e.headers||e.response?.headers||{},m=e.data||e.response?.data,h={...n,ip:(0,M.h)().ipCheck.ip,urltime:(0,M.h)().urltime,start:s,connectionInfo:a,requestId:_,headers:l,url:`${(0,O.CB)(t.url||"")?"":t.baseURL}${t.url}`,axc:e.code,duration:Date.now()-s,om:(0,M.h)().isOssMode,conn:t._cryptoKey?.split?.("")?.map?.(((e,t)=>t>5?"*":e))?.join?.(""),status:e.status,event:o,retry:u,matry:g,ver:r,cotype:l["content-type"]||"empty",message:e.message,api1:(c?.api_domain||[])[0],web1:(c?.web_domain||[])[0],text:l["content-type"]?.includes?.("text/plain")||l["content-type"]?.includes?.("json")?m:m?.substring?.(0,500)};"ResponseSystemError"===o&&E.ZP.dispatch({type:"TRACE_REPORT",payload:h}),E.ZP.dispatch({type:"MONITOR_EVENT",eventName:o,payload:h})},_=e.config.customParams?.uuid;if(o&&"dataError"!==o&&this.afterFail(e),y)return t._lastAxiosResponse=e,h&&(t._retryByTimeout=!0),this.request(t,u+1);switch(o){case"axiosError":t.customParams?.silentOnError||this.isApi2Source(t)&&!r&&(this.requestErrorCountConsequent++,this.requestErrorCountConsequent>=this.maxGoGateWayBack2SourceErrorCount&&E.ZP.dispatch({type:"SITE_MAINTAIN",payload:{res:e,requestErrorCountConsequent:this.requestErrorCountConsequent}})),h?(l(t,`${f.NETWORK_TIMEOUT}(Request-Id:${_},url:${(0,O.CB)(t.url||"")?"":t.baseURL}${t.url}).${e.status||""}@${u}`),b("ResponseTimeout",{by:"timeout"})):(l(t,`${f.SYSTEM_ERROR}(Request-Id:${_},url:${(0,O.CB)(t.url||"")?"":t.baseURL}${t.url})。${e.status||""}@${u} ${e.message?.substring?.(0,50)||""}`),b("ResponseSystemError",{by:"xhr"}));break;case"dataError":const o=e.data.msg;o||(z.log(`${f.RSP_DATA_NOT_JSON}:${JSON.stringify(t)}`),b("ResponseSystemError",{by:"format"})),l(t,o||`${f.RSP_DATA_NOT_JSON}${_}。${e.status}:${e.message?.substring?.(0,50)}`)}return d&&e.isAxiosError&&E.ZP.dispatch({type:"REFRESH_URL",payload:{url:t.url,base:t.baseURL,status:e.status,start:t._startTime||0,message:e.message,headers:e.headers,req:_}}),Promise.reject(e)}createDomainSort(e,t){return e.sort(((e,o)=>{const n=t[e]?.lastSuccessTime||0,s=t[o]?.lastSuccessTime||0,i=t[e]?.lastFailTime||0,a=t[o]?.lastFailTime||0,r=n>i,c=s>a;return r&&!c?-1:!r&&c?1:r?s-n:i-a}))}get apiDomain(){const{siteURLInfos:e}=(0,M.h)(),t=[...e?.api_domain||[]].map((e=>e.replace(/\/+$/,""))).filter(((e,t,o)=>o.indexOf(e)===t));return this.createDomainSort(t,this.domainRequestRecord.api)}get ossDomain(){const{ossHost:e,siteURLInfos:t}=(0,M.h)(),o=[...t?.oss_domain||[],e].map((e=>e.replace(/\/+$/,""))).filter(((e,t,o)=>o.indexOf(e)===t));return this.createDomainSort(o,this.domainRequestRecord.oss)}static log(e,t){const o=T()().format()+" new-service "+e;t?.customParams?.noLog||C.Z.primary("network",o),C.Z.myDebug("network",o)}static get TIPS_WORD(){const e=(0,B.QT)();return{SYSTEM_ERROR:e.t("lobby.common.errorMessages.NETWORK_ERROR"),RSP_DATA_NOT_JSON:e.t("lobby.common.errorMessages.RSP_DATA_NOT_JSON"),NETWORK_TIMEOUT:e.t("lobby.error.networkTimeout")}}setLoginState(e){z.loginState=e,["fakeLogined","logined"].includes(e)&&this.resume("logined")}get systemTokenUrl(){return[...this.beforeLoginedEncryptFilter,"/api/lobby/config/getAppDownloadInfo","/v1/netstat/player/adInfo","/api/lobby/channel/go/getChannelInfoById","/promote/hall/makeMoneyPage","/customer/staffallv3","/user/vipConfig","/home/captcha","/shortmsg/create","/shortmsg/validate","/promote/getIpBindInfo","/promote/binding/reportview","/risk/geetest/tokenQuery","/gameapi/hot-list/v2","/home/musiclist","/home/smsCountry","/club/entry","/download/getDownloadUrl","/download/template/listDownloadTemplate","/message/banner/index","gameapi/game-list/v2","/home/getsysinfo","/api/lobby/aboutUs/index/getInfo","/api/lobby/brandLogo/getBrandLogoUse","/api/lobby/currencyInfo/getAllCurrency","/api/lobby/footerConfig/getInfo","/api/lobby/h5/config/getAccessRestrictedInfo","/api/lobby/site/getSiteInfo","/api/lobby/webapi/h5/config/getInfo","/api/lobby/userAgreement/index/getInfo","/api/lobby/webPush/getInfo","/activetask/pop_newcomerBenefit","/activetask/pop_taskDay","/activetask/pop_taskWeek","/activetask/pop_taskThreeDay","/active/active_popRecharge","/activetask/newcomer_benefit_reward","/customer/getWebTrans","/home/opt_type_v2","/api/lobby/webapi/forceUpdate/getForceUpdate","/api/lobby/layoutDesign/getLayout","/api/lobby/loadingBackdrop/getInfo","/api/game/hall/listVirtualBonusPoolV2","/api/game/hall/listPlatformCateLoadV2","/api/game/hall/listPlatformGameV2","/api/game/hall/hotListV2","/api/game/hall/listTryGameV2","/api/game/hall/listAnchorHotLink","/api/game/hall/listSearchGameV2","/api/game/hall/listSpecialGameV2","/api/game/hall/listExtLinkV2","/system/status","/api/lobby/webapi/optimization/site/config","/active/quickList","/active/customPageList","/active/isShowV2","/active/getByTemplate","/certify/withdrawSettingV3","/active/rechargeFund/setting/get","/active/pop_chop_one_knife","/active/pop_chop_one_knife_new","/active/popSignActive","/promote/getCreateAccountConfig","/promote/config/introduce","/promote/config/tutorial","/promote/config/index","/promote/config/sensitiveData","/promote/config/sensitiveLowDisplay","/promote/config/share","/api/lobby/currencyInfo/getAllCurrency","/api/lobby/finance/getSiteCurrencyExchangeRateForOss","/payPopup/settingAndSlogans","/api/game/hall/listValidBetExcludeGame"]}getKey(e){return e?._cryptoKey||""}getCurrency(e){const{useFastLogin:t,userInfos:o,currentTryCurrency:n}=(0,M.h)();return"logined"===this.getTokenMode(e)?o?.currency:t&&o?.currency||n?.currencyCode}requestPayloadHandler(e,t,o){e.params&&t?.(),e.data&&o?.()}createFormData(e,t){const o=t?.customParams?.noEncrypt;if(e instanceof FormData)return e;const n=e=>{const t=new FormData;for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.append(o,e[o]);return t};if(o)return n(e);{const o=Object.keys(e).reduce(((t,o)=>(e[o]instanceof Blob?t.files[o]=e[o]:t.needEncryptObj[o]=String(e[o]),t)),{files:{},needEncryptObj:{}});return n({...o.files,encryptString:S.Z.encrypt(o.needEncryptObj,this.getKey(t))})}}getDefaultRequestConfig(e,t=A.sG.Site.getServerTime()){const{language:o,siteCode:n,auth:s,userInfos:i,getFingerId:a,uuid:r,isOssMode:l}=(0,M.h)(),m=e?.customParams?.noEncrypt,d=Y.ZP.ServiceLanguageMap[o],h=e?.customParams?.uuid||(0,g.Z)(),u=e?.customParams?.useAppEnv,p=`${t}${h}`;return{responseType:m?"json":"text",headers:{"x-object-id":JSON.stringify({uid:i?.username||"",browserLanguage:navigator.language,om:l,init:(()=>{const e=N.t.find((e=>"init"===e.event))?.data;return c()(e,["created","version"])})()}),isWgPackage:v.tT,isVest:v.cY.package.isVest??!1,isSpeedPackae:v.cY.package.isLite??!1,platformType:u?6:5,devicetype:(0,M.h)().isWeb?4:3,"content-type":m?"application/json":"text/plain","accept-language":d,"x-request-id":h,device:r,currency:this.getCurrency(e)||"",timestamp:t,nonce:h,sign:S.Z.encrypt(p,S.Z["c2lnbktleQ=="]),siteCode:n,language:d,token:this.getToken(e)||"",newJwt:this.getToken(e,!0)||"",auth:s,deviceModel:this.getDeviceModel(),domain:window.location.host,clienttimezone:`UTC${Z.Z.utcOffsetOfHour}`,"x-custom-referer":window.location.href,"x-version":this.getVersion(),browserfingerid:a,appVersion:this.getDeviceVersion()||"unknown"}}}getDeviceVersion(){if(v.cY.package.isLite)return v.cY.speedPackageConfig?.pkgVersion;if(v.cY.package.isVest)return window.WgPackage?.version;return Y.tt["mock.appVersion"]?String(Y.tt["mock.appVersion"]):"v4.2.42"}getDeviceOsType(){const{osType:e}=(0,M.h)();return v.cY.package.isVest?(0,P.Q)().ios()?L.wh.IOS_APP:L.wh.ANDROID_APP:v.cY.package.isLite?v.cY.speedPackageConfig?.osType:e}getDeviceModel(){const{browser:e}=(0,P.Q)(),t=v.cY.wgPackage?.deviceModel||`${e().type}${e().versions}`;return v.cY.package.isVest&&Y.tt["fixed.deviceModel"]||t}getVersion(){const e=Y.tt["mock.appVersion"]?String(Y.tt["mock.appVersion"]):"v4.2.42";let t="";return e&&!/^\d+$/.test(e)&&(t=e.replace(/^v/i,"")),t}getTokenMode(e){return this.systemTokenUrl.find((t=>e?.url===t))?"static":"logined"}getToken(e,t=!1){if(q.notNeedTokenFilter.includes(e?.url||""))return"";const{tokenInfos:o,sessionKey:n}=(0,H.u)();if(t)return o?.jwt_token||"";const s=z.loginState,i=!!e?.customParams?.tryCacheToken;if("static"===this.getTokenMode(e)||"fakeLogined"===s){return"b2e3d672-9d88-47a7-81b4-9d7ffc62054f"}return e?.customParams?.forceSessionToken||"logined"===s||i?n:""}calcCryptoKey(e,t){const o=this.getTokenMode(e),n=String(e?.headers?.token)||this.getToken(e),{isTryMode:s,userInfos:i}=(0,M.h)(),a=t||i?.username;return"logined"!==o&&!t||s||!!e?.customParams?.forceStaticAesKey?S.Z.md5(n+S.Z.md5(n)).slice(2,18):S.Z.md5(n+a).slice(0,16)}withStaticMode(e){const{tryStaticMode:t,onlyStaticMode:o}=e?.customParams||{};if(t&&o)return!0;const n=this.getToken(e)||"",s=n&&"b2e3d672-9d88-47a7-81b4-9d7ffc62054f"!==n,i=e._retryCount||0;return!!t&&!s&&i<=z.MAX_RETRY_COUNT}reset(){z.loginState="wait",U.static=[],U.logined=[]}async post(e){return this.request(m()(e,{method:"post"}))}async get(e){return this.request(m()(e,{method:"get"}))}async upload(e){return this.request(m()({method:"post",headers:{"Content-type":"multipart/form-data"}},e))}getUri(e){return this.instance.getUri(e)}isTimeoutError(e){return"timeoutError"===this.getErrorType(e)}isNetworkError(e){const t=this.getErrorType(e);return"timeoutError"===t||"netError"===t}getErrorType(e){if("axiosError"===this.checkErrorType(e)){return e&&"ECONNABORTED"===e.code&&e.message?.includes("timeout")?"timeoutError":"netError"}return"dataError"}}function K(e){const{ossHost:t,ossCommonHost:o}=(0,M.h)(),n={"{$WG_BUCKET_SITE$}":t,"{$WG_BUCKET_PUBLIC$}":o};return e.replace(/(\{\$(WG_BUCKET_SITE|WG_BUCKET_PUBLIC)\$\})(\/)?/g,((e,t)=>{const o=n[t];return(o.endsWith("/")?o:`${o}/`)||e}))}function V(e){if("string"==typeof e)try{e=(e=>s()(F.parse(e)))(e=K(e))}catch(t){}return e}(0,u.Z)(z,"SERVICE_CODE",Y.ZP.ServiceCode),(0,u.Z)(z,"MAX_RETRY_COUNT",10),(0,u.Z)(z,"loginState","wait");const q=new z(y().create({baseURL:"/hall",timeout:6e4,headers:{"Content-type":"application/json"},transformResponse:[V]}));var j=q},11322:function(e,t,o){var n=o(52441);t.Z=new n.Z({observerOptions:{}})},73389:function(e,t,o){o.d(t,{Z:function(){return m}});var n=o(57557),s=o.n(n),i=o(62933),a=o(34731),r=o(52851),c=o(71743),l=o(91475);class m{get skinName(){const{siteInfos:e}=(0,l.h)();return e?.type}static get gameMenu(){return{[a.ck.Chess]:{normal:(0,r.T)("icon_dtfl_qp_0"),normalSingle:(0,c.x_)("icon_dtfl_qp_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_qp_1.png",cnDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_qp.png",enDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_qp_en.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2qp.png",menuBgImg:"/lobby_asset/{layout}-{bg}-common/web/home/bg_dt_qp2.png",rightMenuCollapsedBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc1_2qp.png",rightMenuExpandBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc2_2qp.png",centerBottomBg:"/lobby_asset/{layout}-{bg}-common/web/home/img_dt_qp2.png"},[a.ck.Fish]:{normal:(0,r.T)("icon_dtfl_by_0"),normalSingle:(0,c.x_)("icon_dtfl_by_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_by_1.png",cnDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_by.png",enDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_by_en.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2by.png",menuBgImg:"/lobby_asset/{layout}-{bg}-common/web/home/bg_dt_by2.png",rightMenuCollapsedBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc1_2by.png",rightMenuExpandBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc2_2by.png",centerBottomBg:"/lobby_asset/{layout}-{bg}-common/web/home/img_dt_by2.png"},[a.ck.Electronic]:{normal:(0,r.T)("icon_dtfl_dz_0"),normalSingle:(0,c.x_)("icon_dtfl_dz_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_dz_1.png",cnDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_dz.png",enDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_dz_en.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2dz.png",menuBgImg:"/lobby_asset/{layout}-{bg}-common/web/home/bg_dt_dz2.png",rightMenuCollapsedBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc1_2dz.png",rightMenuExpandBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc2_2dz.png",centerBottomBg:"/lobby_asset/{layout}-{bg}-common/web/home/img_dt_dz2.png"},[a.ck.Real]:{normal:(0,r.T)("icon_dtfl_zr_0"),normalSingle:(0,c.x_)("icon_dtfl_zr_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_zr_1.png",cnDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_zr.png",enDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_zr_en.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2zr.png",menuBgImg:"/lobby_asset/{layout}-{bg}-common/web/home/bg_dt_zr2.png",rightMenuCollapsedBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc1_2zr.png",rightMenuExpandBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc2_2zr.png",centerBottomBg:"/lobby_asset/{layout}-{bg}-common/web/home/img_dt_zr2.png"},[a.ck.Sports]:{normal:(0,r.T)("icon_dtfl_ty_0"),normalSingle:(0,c.x_)("icon_dtfl_ty_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_ty_1.png",cnDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_ty.png",enDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_ty_en.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2ty.png",menuBgImg:"/lobby_asset/{layout}-{bg}-common/web/home/bg_dt_ty2.png",rightMenuCollapsedBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc1_2ty.png",rightMenuExpandBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc2_2ty.png",centerBottomBg:"/lobby_asset/{layout}-{bg}-common/web/home/img_dt_ty2.png"},[a.ck.Cockfighting]:{normal:(0,r.T)("icon_dtfl_douji_0"),normalSingle:(0,c.x_)("icon_dtfl_douji_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_douji_1.png",cnDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_ty.png",enDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_ty_en.png"},[a.ck.Gaming]:{normal:(0,r.T)("icon_dtfl_dianjing_0"),normalSingle:(0,c.x_)("icon_dtfl_dianjing_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_dianjing_1.png",cnDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_dj.png",enDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_dj_en.png"},[a.ck.Lottery]:{normal:(0,r.T)("icon_dtfl_cp_0"),normalSingle:(0,c.x_)("icon_dtfl_cp_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_cp_1.png",cnDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_cp.png",enDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_cp_en.png"},[a.ck.BlockChain]:{normal:(0,r.T)("icon_dtfl_qkl_0"),normalSingle:(0,c.x_)("icon_dtfl_qkl_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_qkl_1.png",cnDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_qkl.png",enDropImg:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_xl_qkl_en.png"},[a.ck.Club]:{normal:(0,r.T)("icon_dtfl_jlb_0"),normalSingle:(0,c.x_)("icon_dtfl_jlb_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_jlb_1.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2jlb.png"},[a.ck.ClubFriend]:{normal:(0,r.T)("icon_dtfl_pyj_0"),normalSingle:(0,c.x_)("icon_dtfl_pyj_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_pyj_1.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2pyj.png"},[a.ck.Hot]:{normal:(0,r.T)("icon_dtfl_rm_0"),normalSingle:(0,c.x_)("icon_dtfl_rm_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_rm_1.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2rm.png",menuBgImg:"/lobby_asset/{layout}-{bg}-common/web/home/bg_dt_rm2.png",rightMenuCollapsedBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc1_2rm.png",rightMenuExpandBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc2_2rm.png",centerBottomBg:"/lobby_asset/{layout}-{bg}-common/web/home/img_dt_rm2.png"},[a.ck.Recent]:{normal:(0,r.T)("icon_dtfl_zj_0"),normalSingle:(0,c.x_)("icon_dtfl_zj_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_zj_1.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2zj.png",rightMenuCollapsedBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc1_2zj.png",rightMenuExpandBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc2_2zj.png"},[a.ck.Collenct]:{normal:(0,r.T)("icon_dtfl_sc_0"),normalSingle:(0,c.x_)("icon_dtfl_sc_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_sc_1.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2sc.png",rightMenuCollapsedBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc1_2sc.png",rightMenuExpandBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc2_2sc.png"},[a.ck.Demo]:{normal:(0,r.T)("icon_dtfl_sw_0"),normalSingle:(0,c.x_)("icon_dtfl_sw_0"),active:"/lobby_asset/{layout}-{bg}-common/common/_sprite/icon_dtfl_sw_1.png",leftMenuBgImg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_zc4_2sw.png",rightMenuCollapsedBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc1_2sw.png",rightMenuExpandBg:"/lobby_asset/{layout}-{bg}-common/web/common/btn_yc2_2sw.png"}}}static get gameTab(){return{[a.ck.Search]:"/lobby_asset/common/common/_sprite/icon_dtfl_2ss_1.png",[a.ck.Hot]:"/lobby_asset/common/common/_sprite/icon_dtfl_2rm_1.png",[a.ck.Recent]:"/lobby_asset/common/common/_sprite/icon_dtfl_2zj_1.png",[a.ck.Collenct]:"/lobby_asset/common/common/_sprite/icon_dtfl_2sc_1.png",[a.ck.Demo]:"/lobby_asset/common/common/_sprite/icon_dtfl_2sw.png"}}static get eventMenu(){return{[i.LA.zh]:{normal:(0,r.T)("icon_dtfl_zh_0"),active:""},[i.LA.qp]:m.gameMenu[a.ck.Chess],[i.LA.djc]:m.gameMenu[a.ck.Cockfighting],[i.LA.dj]:m.gameMenu[a.ck.Cockfighting],[i.LA.by]:m.gameMenu[a.ck.Fish],[i.LA.zr]:m.gameMenu[a.ck.Real],[i.LA.cp]:m.gameMenu[a.ck.Lottery],[i.LA.dz]:m.gameMenu[a.ck.Electronic],[i.LA.ty]:m.gameMenu[a.ck.Sports],[i.LA.dianjing]:m.gameMenu[a.ck.Gaming],[i.LA.blockchain]:m.gameMenu[a.ck.BlockChain]}}static get centerWalletMenu(){return{...s()(this.gameMenu,[a.ck.Hot]),[a.ck.All]:{normal:(0,r.T)("icon_dtfl_zh_0"),active:""}}}}},68226:function(e,t,o){o.d(t,{VH:function(){return n.VH},xG:function(){return n.xG}});var n=o(979);t.ZP=n.ZP},12887:function(e,t,o){var n=o(50361),s=o.n(n),i=o(78718),a=o.n(i),r=o(82492),c=o.n(r),l=o(55433),m=o(46851),d=o(979),h=o(6151),u=o(20360),g=o(77477),p=o(91475),y=o(53663),f=o(9669),b=o.n(f),_=o(4400);const S=o.n(_)()({storeAsString:!0});var E;!function(e){e.unauthorized="A001"}(E||(E={}));class w extends h.R{constructor(...e){super(...e),(0,l.Z)(this,"sabaUrl","")}setTokenApiDomin(e){w.token=e}setBaseUrlApiDomian(e=""){const{setSabaUrl:t}=(0,y.P)();this.sabaUrl=e,t(e)}setBaseUrlAndTokenApiDomian(e,t=""){this.setBaseUrlApiDomian(t),this.setTokenApiDomin(e)}setup(e){const{method:t,url:o}=e;this.setCommonParams(e),c()(e,this.getConfigHeader()),d.VH.log(`[C2S HTTP Sport]:${t} >>>>>> ${o}\n${JSON.stringify(a()(e,["params","data","customParams"]))}`,e)}unpack(e){const t=e.config;return d.VH.log(`[S2C HTTP Sports]:${t.method} <<<<<< ${t.url}\n${JSON.stringify(e)}`),e}catch(e){const t=e.config,o=this.checkErrorType(e);if(o)switch(o){case"axiosError":const o=e.message,n=e.response?.data;if(o&&!n)(0,d.xG)(o);else if(n)return n.statusCode!==u.vJ.RequestFalied||t.customParams?.silentOnError||m.sG.Modal.message({type:"error",content:n.message}),d.VH.log(`[S2C HTTP Sports]:${e.config.method} <<<<<< ${e.config.url}\n${JSON.stringify(e)}`),Promise.reject(n);break;case"dataError":(0,d.xG)(e.message)}}checkErrorType(e){return e instanceof f.AxiosError?"axiosError":!!e.data.errorCode&&"dataError"}setCommonParams(e){const{language:t}=(0,p.h)(),o=m.CM.SportsServiceLanguageMap[t]??m.CM.SportsServiceLanguageMap.en_US;"post"===e.method?(e.data.language=o,e.params&&(e.params.language=o)):"get"===e.method&&(e.params.language=o)}getConfigHeader(){const{token:e}=w;return{baseURL:this.sabaUrl,responseType:"json",headers:{Authorization:e}}}async post(e){return this.request(c()(e,{method:"post"}))}async get(e){return this.request(c()(e,{method:"get"}))}beforeSend(){}encode(){}decode(e){}}(0,l.Z)(w,"token","");const T=new w(b().create({timeout:6e4,headers:{"Content-type":"application/json"},transformResponse:[function(e){let t;if("string"==typeof e)try{if(t=s()(S.parse(e)),t?.errorCode===E.unauthorized){const{setSabaToken:e,setSabaTokenWithType:t}=(0,y.P)();e(""),t(""),setTimeout((()=>{(0,g.LL)()}),1e3)}}catch(o){}return t}]}));t.Z=T},5825:function(e,t,o){o.r(t),o.d(t,{initErudaDebug:function(){return c},trace:function(){return r}});var n=o(46851),s=o(71050),i=o(49293);let a=[];try{const e=window.LOBBY_SITE_CONFIG?.INJECT_DATA?.apiGetSiteInfo?.data?.data?.vestBagJumpConfig;a=(e&&Array.isArray(e)?e:[e]).map((e=>e.packageName)).filter((e=>e?.includes("wg.log."))).map((e=>e.split(".")[2])).filter((e=>e))}catch(l){}function r(e,t,o=!1){t.href=t.href||location.href,t.created=Date.now();const s=t?.message;if(("ChunkLoadError"===t?.name||s?.includes?.("ChunkLoadError")||s?.includes?.("Loading CSS chunk")||s?.includes?.("Unexpected token '<'")||s?.includes?.("Loading chunk"))&&(n.xN.dispatch({type:"MONITOR_EVENT",eventName:"Error",payload:{message:s}}),n.xN.dispatch({type:"ALIVE_CHECK"})),["init"].includes(e)&&i.t.push({event:e,data:t}),"resource"===e&&t.time<3e3)return;"vue-error"===e&&console.error(t);const r="error"===e&&["024","032","380","539","385","272","296","128","136","169","170","230","135","611","511","819","912","508","587","5082","5381","5376","5123","5127","5138","722"].includes(window.LOBBY_SITE_CONFIG?.siteCode),c={event:e,source:"lobby",...t};(a.includes(e)||o||r)&&n.xN.dispatch({type:"TRACE_REPORT",payload:c})}async function c(){window?.eruda||o.e(72007).then(o.t.bind(o,72007,23)).then((({default:e})=>{window.eruda=e,e.init(),e.add(s.y)}))}window.onerror=function(e,t,o,s,i){["webPush"].find((e=>t?.includes(e)))||0===o||(r("jse",{message:e||i?.message,source:t,lineno:o,colno:s}),n.xN.dispatch({type:"MONITOR_EVENT",eventName:"Error",payload:{message:(()=>{let n=t;try{n=new URL(t||"").pathname}catch(i){}return`${e||i?.message} ${n}:${o}:${s}`})()}}))},window.addEventListener("unhandledrejection",(e=>{r("jse",{message:e?.reason})}))},90119:function(e,t,o){o.d(t,{B:function(){return a}});var n=o(46851),s=o(30381),i=o.n(s);function a(){fetch(location.href).then((async e=>{try{const t=await e.text(),[,,o]=t.match(/<html\s+[^>]*data-version=(["']?)([^"'>]+)\1[^>]*>/)||[],s=+i()(o);s&&n.xN.dispatch({type:"VERSION_CHECK",payload:{version:s}})}catch(t){}}))}},29946:function(e,t,o){o.d(t,{Z:function(){return _}});var n=o(5860),s=o(75310),i=o(91475),a=o(23267),r=o(72614),c=o(51457),l=o(82309),m=o(55433);const d=[{env:"dev",gtagId:"G-KTFHW2L0KF"},{env:"test",gtagId:"G-KTFHW2L0KF"},{env:"stest",gtagId:"G-KTFHW2L0KF"},{env:"try",gtagId:"G-82C1TZ15S0"},{env:"prod"}];class h{constructor(){(0,m.Z)(this,"gtagId",""),this.init()}init(){const e=(0,i.h)()?.siteConfig?.siteCode||"",t=d.find((e=>"prod"===e.env));if("prod"!=t?.env)this.gtagId=t?.gtagId??"";else{const t=u[e]||"";this.gtagId=t}this.gtagId&&(this.loadJs(),window.dataLayer=window.dataLayer||[],this.gtag("js",new Date),this.gtag("config",this.gtagId))}async loadJs(){const e=document.createElement("script");e.id="script-gtag",e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${this.gtagId}`,document.head.appendChild(e)}gtag(...e){window.dataLayer?.push(arguments)}}const u={135:"G-V7FM60QW9W",500:"G-0YYJLE6XPE",10003:"G-6JQD1QB011",169:"G-JSR5533YFQ",171:"G-X2FKGVPRD9",170:"G-CT3SFH60NS",150:"G-1T8GV680MN",265:"G-E7N20Z7EYP",510:"G-9X4JKPC34G",297:"G-7XNV28TPNC",128:"G-TTWPHS8VP0",213:"G-J4DMMP7SRP",230:"G-52LKM3GRML",296:"G-WF77EN3520",5033:"G-3CXXNR96C7",5065:"G-Y6CCRNK9TP",5119:"G-MMGN9GSY0T",272:"G-LH5RNVCT2F",663:"G-6CBZPPEGX8",5012:"G-8ND5HMWFV1",5158:"G-8849MYREXL",5251:"G-6ZY45X634W",5252:"G-41BCNHNG73",5389:"G-6MNGSYS95N",5390:"G-W0DFKRDDQ1",250:"G-ZN70JQXH5D",6275:"G-1MEL4LYVTW",6276:"G-EGE0GGFJQQ",702:"G-W45WTH0JLP",326:"G-GGFS7VBMSQ",722:"G-BKF94J9XXT"};var g,p,y,f=o(342),b=o(18136);!function(e){e[e.GTAG=1]="GTAG",e[e.GTM=2]="GTM"}(g||(g={})),function(e){e[e.Google=1]="Google",e[e.FacebookMatePixel=2]="FacebookMatePixel",e[e.KwaiPixel=3]="KwaiPixel",e[e.TikTokPixel=4]="TikTokPixel"}(p||(p={})),function(e){e[e.CHANNEL=1]="CHANNEL",e[e.PARENT_AGENT_ID=2]="PARENT_AGENT_ID",e[e.SELF_ID=3]="SELF_ID"}(y||(y={}));class _{static initAction(){this.initMonitoringAnalysis(),this.initBuried(),this.injectScript(),this.addOnAppEventListener()}static initBuried(){const e=(0,i.h)().userInfos?.username,t=(0,i.h)().userInfos?.account_type||1,{urlParams:o}=(0,i.h)(),s=o.cid||void 0,a=o.id||void 0,r=s||a||e,c=s?y.CHANNEL:a?y.PARENT_AGENT_ID:y.SELF_ID,l=()=>{this.initPixelBuried(),this.initGoogleAnalytics(),this.initKwaiPixel(),this.inittiktok(),this.initFirebase(),this.initAppier(),this.initUniAPP()};if(1==t||!e||e!=this.buriedOption?.uid)if(a||s||e){const t={idx:Number(r),idxType:Number(c)};e&&(t.uid=e),this.buriedOption=t,(0,n.apiGetBuriedConfig)(t).then((e=>{this.buriedConfig=e,l()}))}else l()}static initPixelBuried(){const e=(0,i.h)()?.siteConfig?.siteCode||"",t=this.buriedConfig?.find((e=>e.category===p.FacebookMatePixel)),o=t?.gid||new URL(location.href).searchParams.get("fb_dynamic_pixel")||{190:"502096145140928",252:"2659889657642835"}[e],n=t?.eventMap;o&&(window.Pixel?(window.Pixel.options.pixelId=o,window.Pixel.options.eventMap=n,window.Pixel.init()):window.Pixel=new l.Z({pixelId:o,eventMap:n}))}static inittiktok(){const e=this.buriedConfig?.find((e=>e.category===p.TikTokPixel)),t=e?.gid||new URL(location.href).searchParams.get("tiktokBaesCode"),o=e?.eventMap;t&&(window.Tiktok?(window.Tiktok.options.tiktokID=t,window.Tiktok.options.eventMap=o,window.Tiktok.init()):window.Tiktok=new b.Z({tiktokID:t,eventMap:o}))}static initKwaiPixel(){const e=this.buriedConfig?.find((e=>e.category===p.KwaiPixel)),t=e?.gid||new URL(location.href).searchParams.get("kwaiPixelBaseCode"),o=e?.eventMap;t&&(window.KwaiPixe?(window.KwaiPixe.options.kwaiqID=t,window.KwaiPixe.options.eventMap=o,window.KwaiPixe.init()):window.KwaiPixe=new c.Z({kwaiqID:t,eventMap:o}))}static async initGoogleAnalytics(){const e=(0,i.h)()?.siteConfig?.siteCode||"",t=this.buriedConfig?.find((e=>e.category===p.Google&&e.type==g.GTAG)),o=this.buriedConfig?.find((e=>e.category===p.Google&&e.type==g.GTM)),n=t?.gid||new URL(location.href).searchParams.get("gtagId")||{135:"G-9X82YGV0Q2",169:"G-GNDTTGM3NH",186:"G-EMBLFYWWDV",187:"G-6CJMZXRHJZ",226:"G-R74FL1K499",232:"G-GPGDN0CSWR",255:"AW-11157983322",105:"G-6T2LLVRP8B"}[e],s=o?.gid||new URL(location.href).searchParams.get("gtmId")||{135:"GTM-NZSPCGN",190:"GTM-KFL64BH",218:"GTM-PJNQGPK7",226:"GTM-PKXMZVW",352:"GTM-MQ9V4BG"}[e],a={gtagId:n,gtmId:s};(n||s)&&(window.GTM?(window.GTM.options.gtagId=n,window.GTM.options.gtmId=s,window.GTM.init()):window.GTM=new r.Z(a))}static async initFirebase(){const e=(0,i.h)()?.siteConfig?.siteCode||"",t={230:{apiKey:"AIzaSyDDHonDGjU0zyFHV89178_1ggDvMYGboAk",authDomain:"ssceshi-c26fb.firebaseapp.com",projectId:"ssceshi-c26fb",storageBucket:"ssceshi-c26fb.appspot.com",messagingSenderId:"742449233486",appId:"1:742449233486:web:8a1ac1d8c7988ed0bacd1f",measurementId:"G-QZVVMWP821"}};if(t[e]){const{initializeApp:n}=await o.e(83977).then(o.bind(o,83977)),{getAnalytics:s}=await o.e(92845).then(o.bind(o,92845));s(n(t[e]))}}static async injectScript(){const e=(0,i.h)()?.siteConfig?.statisticalCode;if(!e)return;const t=(e=>{const t={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#039;":"'"};return e.replace(/&amp;|&lt;|&gt;|&quot;|&#039;/g,(e=>t[e]))})(e),o=document?.createRange().createContextualFragment(t).children,n=Array.prototype.slice.call(o).map((e=>()=>new Promise((t=>{e.innerHTML?.replace(/\s/g,"")?(document?.head.appendChild(e),t("")):(e.addEventListener("load",(()=>{t("")})),document?.head.appendChild(e))}))));for(const s of n)await s()}static initAppier(){const e={135:"nn.vip"}[(0,i.h)()?.siteConfig?.siteCode||""];e&&(window.Appier=new a.Z({appierId:e}))}static async initUniAPP(){navigator.userAgent.includes("uniappVersion")&&await(0,s.yu)([{id:"script-uniApp",async:!0,src:"https://unpkg.com/@dcloudio/uni-webview-js@0.0.3/index.js"}])}static addOnAppEventListener(){const e=(0,i.h)()?.siteConfig?.siteCode||"";["291"].includes(e)&&window.addEventListener("message",(e=>{if(e.origin!==location.origin)return;const{eventName:t,eventType:o}=e.data;if(window.EVENT_CODE_MAP&&"onAppEvent"==o){const e=window.EVENT_CODE_MAP[t]||"";if(e){const t=document.createElement("div");t.innerHTML=e,document.body.appendChild(t),setTimeout((()=>{t.remove()}),5e3)}}}))}static initMonitoringAnalysis(){window.MonitoringAnalysis=new h}static initReporterMananger(){window.ReporterMananger=new f.Z}}},38309:function(e,t,o){o.d(t,{Z:function(){return D}});var n=o(36968),s=o.n(n),i=o(82492),a=o.n(i),r=o(78718),c=o.n(r),l=o(27361),m=o.n(l),d=o(55433),h=o(5860),u=o(46851);function g(e){u.xN.dispatch({type:"REPORT_MANAGER",eventName:"GeetestError",payload:e})}var p=o(75990),y=o(58217),f=o(91475),b=o(1507),_=o(1183),S=o(56230),E=o(39169),w=o(30381),T=o.n(w);let A;!function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAIL=1]="FAIL"}(A||(A={}));class D{static resetStatsTime(){D.baseTime=(new Date).getTime(),D.loadTime=0,D.initTime=0,D.renderTime=0,D.vaildTime=0}static _prepareOptions(e){return{geetestConfig:{captchaId:"",product:"bind",hideBar:!1},domId:"geetest",...e}}static _getLanguage(){const{language:e}=(0,f.h)(),t=b.ZP.GeetestLanguageMap[e];return t}static async _callRegister(e){return new Promise(((t,o)=>{try{const o={product:"bind",language:this._getLanguage(),onError:e=>{this._handleError();g({type:"init",message:["Init Error: onError",`name: ${m()(e,"name")||"-"}`,`message: ${m()(e,"message")||"-"}`,`error: ${JSON.stringify(e)}`].join("; ")})},getType:{apiServers:b.ZP.GeetestApiServers},...e.geetestConfig};window?.initGeetest4&&window.initGeetest4(o,t)}catch(n){this._handleError();g({type:"init",message:["Init Error: Catch",`name: ${m()(n,"name")||"-"}`,`message: ${m()(n,"message")||"-"}`,`error: ${JSON.stringify(n)}`].join("; ")}),o(n)}}))}static _callRenderToBody(e,t){if(e.domId){if(document.getElementById(e.domId))return void t.appendTo(`#${e.domId}`);const o=document.createElement("div");o.id=e.domId,document.body.append(o),t.appendTo(`#${e.domId}`)}}static _setupGeetestValidation(e){const{$patch:t}=(0,f.h)();return new Promise(((o,n)=>{const s=()=>{e.destroy(),n("Geetest Error")};e.onReady((()=>{e.showCaptcha(),D.renderTime=(new Date).getTime()})).onSuccess((()=>{o(e.getValidate())})).onClose(s).onError((e=>{if("error_12"===e.error_code||"error_01"===e.error_code){const e=T()().unix();t({geetestRestrictedTime:e}),this.checkGeetestRestricted()}else this._handleError(e);s(),g({type:"err",message:e})}))}))}static _handleError(e){const{t:t}=(0,y.QT)();_.ZP.dispatch({type:"RESPONSE_ERROR",payload:{message:`${t("lobby.common.components.geetest.error")}${JSON.stringify((()=>{try{return c()(e,["code","lot_number"])}catch(t){return{}}})())}`}})}static async initSDK(){await S.Z.loadSDK({id:"gt",src:"/libs/gt@4.1.8/gt.js",globalFn:"initGeetest4",parallel:!1,cache:!1,onError(e){g({type:"load",message:e})}})}static checkGeetestRestricted(e=60){const{geetestRestrictedTime:t}=(0,f.h)(),{t:o}=(0,y.QT)(),n=T()().unix()-t,s=n<=e;return s&&(_.ZP.dispatch({type:"RESPONSE_ERROR",payload:{message:o("lobby.common.errorMessages.GEETEST_RESTRICTED",{seconds:e-n})}}),g({type:"err",message:"Operation Frequency"})),s}static async syncServer(e){try{return(0,f.h)().hasLogined?await(0,h.apiLoginAfterGeetestValidate)(e):await(0,h.apiLoginBeforeGeetestValidate)(e)}catch(t){g({type:"err",message:"Sync Server Error"})}}static async initGeetest(e={geetestConfig:{captchaId:""}}){e=this._prepareOptions(e),D.resetStatsTime(),D.baseTime=(new Date).getTime(),await this.initSDK(),D.loadTime=(new Date).getTime(),"popup"===e.geetestConfig.product&&window.initGeetest4&&delete window.initGeetest4;const t=await this._callRegister(e);D.initTime=(new Date).getTime(),this._callRenderToBody(e,t);const o=await this._setupGeetestValidation(t);return D.vaildTime=(new Date).getTime(),a()(o,{captcha_id:o?.captcha_id||e.geetestConfig.captchaId})}static async validate(e,t){if(t){if(D.checkGeetestRestricted())return Promise.reject();const o=await D.initGeetest({geetestConfig:{captchaId:t}});o&&await D.syncServer({account:e,...o,captcha_id:o.captcha_id||t});const{baseTime:n,loadTime:s,initTime:i,renderTime:a,vaildTime:r}=D,c={load:s-n,init:i-s,render:a-i,vaild:r-a};c.load+c.init+c.render>=D.reportThreshold&&function(e){u.xN.dispatch({type:"REPORT_MANAGER",eventName:"GeetestTime",payload:e})}(c),E.Z.myDebug("GEETEST",c)}}static geeTestList(){return[b.ZP.ServiceCode.FORCE_GEETEST,b.ZP.ServiceCode.SWIPER_PUZZLE_GEETEST,b.ZP.ServiceCode.GRAPHIC_CLICK_GEETEST,b.ZP.ServiceCode.NINE_SQUARE_GEETEST]}static hasAbort(e){const{code:t}=(0,p.n8)(e);return D.geeTestList().includes(t)}static getStatus(e){return m()(e,"config._geeTestStatus")||m()(e,"config._origin_._geeTestStatus")}static async geeTest(e){const{code:t,msg:o}=(0,p.n8)(e);if(D.geeTestList().includes(t)){if(!o)return g({type:"err",message:"No Msg:captchaId"}),{};const t=t=>s()(e,e.config._origin_?"config._origin_._geeTestStatus":"config._geeTestStatus",t);try{return await D.validate((0,f.h)().uuid,o),t(!0),{retry:!0}}catch(e){return t(!1),{geeTestError:e}}}return{}}}(0,d.Z)(D,"reportThreshold",2e3),(0,d.Z)(D,"baseTime",0),(0,d.Z)(D,"loadTime",0),(0,d.Z)(D,"initTime",0),(0,d.Z)(D,"renderTime",0),(0,d.Z)(D,"vaildTime",0)},56230:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(75310);class s{static async loadSDK(e){const{id:t,src:o,globalFn:s,onError:i}=e,a=e.parallel??!1,r=e.cache??!0;if(!window[s])try{await(0,n.yu)([{id:t,src:o}],a,r)}catch(c){const e=`Load ${s} Error`;return i?.(e),Promise.reject(e)}}}},9248:function(e,t,o){o.d(t,{z4:function(){return h},Gm:function(){return g.Z},ME:function(){return u}});var n=o(57557),s=o.n(n),i=o(27361),a=o.n(i),r=o(46851),c=o(91475),l=o(56230),m=o(39169),d=o(41800);class h{static get _geetestDeviceAppId(){const{systemInfos:e}=(0,c.h)();return e?.geetestDeviceAppId??""}static async _callRegister(e){return new Promise(((t,o)=>{try{window?.initGeeGuard?.({appId:e},t)}catch(n){console.error(`极验设备验证获取失败: ${n}`),o(n)}}))}static async initSDK(){this._geetestDeviceAppId&&await l.Z.loadSDK({id:"gt5",src:"/libs/gd/gd.js",globalFn:"initGeeGuard"})}static preloadGeeGuardToken(){const{$patch:e,geeGuardToken:t}=(0,c.h)();t||this.getGeeGuardToken().then((t=>{t?.geeToken&&e({geeGuardToken:t.geeToken,geeGuardTokenGetStamp:Date.now()})}))}static async getGeeGuardToken(){if(!this._geetestDeviceAppId)return;const e=performance.now();try{await this.initSDK()}catch(g){return{reportNew:{eventName:"geeTokenError",payload:{type:"string"==typeof g?"load":"err",message:`${g}`}}}}const t=performance.now(),o=Math.floor(t-e),n=performance.now(),s="Geetest token timeout",i=new Promise(((e,t)=>setTimeout((()=>t(new Error(s))),7e3)));let a,r;try{a=await Promise.race([this._callRegister(this._geetestDeviceAppId),i])}catch(g){r=g,console.error(g),a={status:"error",data:{code:"timeout",msg:s,gee_token:"",local_id:""}}}const c=performance.now(),l=Math.floor(c-n),m=Math.floor(c-e),d=a?.data?.gee_token??"",h=d?"":`${a?.data?.code}-${a?.data?.msg}`;let u;if(r){const e=r?.message===s;u={eventName:"geeTokenError",payload:{type:e?"timeout":"api",message:e?s:`${r}`}}}else l>1e3&&(u={eventName:"geeTokenTime",payload:{tokenTime:l,sdkTime:o}});return{reportNew:u,sdkDuration:o,tokenDuration:l,totalDuration:m,geeToken:d,deviceError:h}}static async getOrLoadGeeGuardToken(){const{geeGuardToken:e,geeGuardTokenGetStamp:t,$patch:o}=(0,c.h)();return e&&(o({geeGuardToken:"",geeGuardTokenGetStamp:0}),t&&Date.now()-t<57e4)?Promise.resolve({sdkDuration:0,tokenDuration:0,totalDuration:0,geeToken:e,deviceError:""}):h.getGeeGuardToken()}}function u(){return function(e,t,o){const n=o.value;o.value=async function(...e){const[t,o]=await(0,d.Z)(h.getOrLoadGeeGuardToken());t&&m.Z.error("WithGeeGuard Error",t);const i={...e[0],geeToken:a()(o,"geeToken")||"unknown"},c=s()(o,["geeToken",o?.deviceError?"":"deviceError"]);if(o?.reportNew){const{eventName:e,payload:t}=o.reportNew||{};e&&t&&r.xN.dispatch({type:"REPORT_MANAGER",eventName:e,payload:t})}return await(n?.apply(this,[i,{...c,...e[1]}]))}}}var g=o(38309)},63060:function(e,t,o){o.d(t,{Z:function(){return u},q:function(){return h}});var n=o(4942),s=o(46851),i=o(75812),a=o(81036),r=o(91475),c=o(17187),l=o.n(c),m=o(39169),d=o(29310);let h;!function(e){e.CONNECTED="CONNECTED",e.ERROR="ERROR",e.CLOSED="CLOSED",e.MESSAGE="MESSAGE",e.WITHDRAW_ORDER_PROGRESS="withdraw/orderProgress",e.DEPOSIT_ORDER_PROGRESS="pay/orderProgress",e.REGISTER_SUCCESS="registerSuccess",e.PAY_ORDER_SUCCESS="payOrderSuccess",e.PAY_ORDER_SUCCESS_NOTICE="payOrderSuccessNotice",e.PAY_ORDER_SUCCESS_BACKEND="payOrderSuccessBackend",e.WITHDRAW_ORDER_SUCCESS="withdrawOrderSuccess",e.ACTIVE_DETAILS="activeDetails",e.MULTIPLE_LOGIN="multipleLogin",e.NO_WALLET_ORDER="noWalletOrderMsg",e.GAME_GOLD_CHANGE="gameGoldChange",e.JACKPOT_DATA="1005",e.CHANGE_BANK_PASS_REGISTER="changeBankPassRegister"}(h||(h={}));class u extends(l()){static get uri(){return this._url?this._url:(console.error("LongConnection must createConnect first"),"")}static get ws(){return this._ws}static log(...e){m.Z.myDebug("websoket",...e)}static createWS(){return this._ws=new u,this._ws}static connectWS(e,t,o,n=[window.location.origin]){return this._auth=t,this._siteId=e,this._domains=n,o&&(this._prefix=o),this.setUrl(0),this._ws.connect(),this._ws}constructor(){super()}static setUrl(e){e%=this._domains.length;const t=this._domains[e]||this._domains[0],o=this._prefix,n=new URL(t);return this._httpProto=n.protocol,this._httpDomain=n.host,this._wsProto="http:"===this._httpProto?"ws":"wss",this._url=`${this._wsProto}://${this._httpDomain}${o}?authStr=${this._siteId}-${this._auth}`,this._url}connect(){this.disconnect(),this.ws=new d.Z((e=>{const t=e.retryCount;return u.setUrl(t)}),[],{maxRetries:20}),this.bind()}get send(){return this._send}disconnect(){try{this.ws&&this.ws.close()}catch(e){}}bind(){this.ws&&(this.ws.addEventListener("open",(()=>{this.startHeartbeatInterval(),this.emit(h.CONNECTED,this.ws.OPEN)})),this.ws.addEventListener("error",(e=>{this.stopHeartbeatInterval(),this.emit(h.ERROR,e)})),this.ws.addEventListener("message",(e=>{this.emit(h.MESSAGE,e),this.dispatchMessage(e.data)})),this.ws.addEventListener("close",(()=>{this.stopHeartbeatInterval(),this.emit(h.CLOSED,this.ws.CLOSED)})))}_send(e){this.ws.send(this.pack(e))}startHeartbeatInterval(){this.heartbeatIntervalHandler=window.setInterval((()=>{this.ws.send(this.pack({event:"ping"}))}),4e3)}stopHeartbeatInterval(){this.heartbeatIntervalHandler&&(window.clearInterval(this.heartbeatIntervalHandler),this.heartbeatIntervalHandler=void 0)}pack(e){return JSON.stringify(e)}ack(e){this._send({event:"ack",msgId:e})}updateDepositeCount(){const{setUserInfos:e,userInfos:t}=(0,r.h)(),o=t?.deposit_count??0;e({...t,deposit_count:o+1})}updateGold(){const{updatePrize:e}=(0,r.h)();e()}dispatchMessage(e){try{const t=JSON.parse(e);if("notice"===t.event){const e=JSON.parse(t.content);switch(e.type){case h.PAY_ORDER_SUCCESS_BACKEND:(0,a.openAfterRechargeActivityModal)();break;case h.PAY_ORDER_SUCCESS:this.emit(h.PAY_ORDER_SUCCESS,e.data),this.updateDepositeCount();const t=e.data;(0,i.C1)(t?.isFirst?"firstrecharge":"recharge",t);break;case h.WITHDRAW_ORDER_SUCCESS:this.emit(h.WITHDRAW_ORDER_SUCCESS,e.data);const o=e.data;(0,i.C1)("withdrawOrderSuccess",o),this.updateGold();break;case h.PAY_ORDER_SUCCESS_NOTICE:(0,a.openAfterRechargeActivityModal)(),this.updateGold();break;case h.MULTIPLE_LOGIN:const n=e.data;s.xN.dispatch({type:"MULTIPLE_LOGIN",payload:n});break;default:this.emit(e.type,e.data)}this.ack(t.msgId)}else this.emit(t.event,t)}catch(t){console.error("[long connection error]",t)}}}(0,n.Z)(u,"_prefix","/ws/websocket"),u.createWS()},53579:function(e,t,o){o.d(t,{Z:function(){return E}});var n=o(82492),s=o.n(n),i=o(57557),a=o.n(i),r=o(4942),c=o(7174),l=o(46851),m=o(38821),d=o(75990),h=o(3618),u=o(91475),g=o(75812),p=o(20786),y=o(71743),f=o(32555),b=o(31916),_=o(24482),S=o(20670);class E extends S.Z{static get globalModalRef(){return this.getChilds((e=>"GlobalModal"===e.$options.name),l.sG.App)[0]}static open(e,...t){const o=`modal-${e}`;return new Promise((n=>{const s=()=>{const o=this.globalModalRef[e];o.open(...t),this.globalModalRef.status[e]="loaded",this.openedModalName.add(e),n(o)};if(this.globalModalRef&&"loaded"!==this.globalModalRef.status[e]){this.globalModalRef.status[e]="loading";const t=()=>{this.globalModalRef[e]?(h.pN.done(o),s()):(0,d.Wn)(t)};t(),h.pN.start(o)}else s()}))}static fetch(e){return new Promise((t=>{const o=this.globalModalRef?.$options?.components;let n;return o&&(n=o[e])?Promise.resolve("function"==typeof n?n():n).then((()=>t(!0))).catch((()=>t(!1))):t(!1)}))}static removeModalName(e){this.openedModalName.delete(e)}static hasOpeningModal(){return this.openedModalName.size>0}static isOpening(e){return this.openedModalName.has(e)}static close(e,...t){if(e||(e=Array.from(this.openedModalName).pop()),e){if("loginRegisterModal"===e){if(b.Z.isPageWorking)return void b.Z.ready2SyncUpdate();b.Z.closed()}this.globalModalRef[e]?.close(...t),this.removeModalName(e)}}static create(e){const t=this.$createElement,o=e.type??"confirm",n=["my-modal-base",e.hiddenBtns?"hidden-btns":"",...(e.class||"")?.split(" ")],{isWeb:i}=(0,u.h)(),r=e.icon??e.type?void 0:()=>t("i"),d=e.withOutAnimation,h=this.globalModalRef||l.sG.App,b=e?.titleType??"info",S=c.u_[o](a()(s()({centered:!0,width:e.width||(i?g.ZP.px2rem(550):g.ZP.px2rem(600)),icon:r,parentContext:h,cancelButtonProps:{props:{type:"default"}},okButtonProps:{props:{type:"primary"}},title:()=>{const o=e.title instanceof Function?e.title():e.title;return t("div",{class:`ant-modal-custom-title__${b}`,style:{textAlign:e.titlePosition||"center"}},["error"===b&&t(c.JO.Tsx,{attrs:{component:{functional:!0,render:()=>t(f.Z,{attrs:{sprite:(0,y.T9)("comm_icon_zyts")}})}}}),o])},content:()=>{const o=e.content instanceof Function?e.content():e.content;return t("div",{style:{textAlign:e.contentPosition||"center"}},["error"===b?t("span",{class:"ant-modal-custom-content__error"},[o]):o,!0!==e.closable||i?null:t("div",{class:"closeIcon",on:{click:m.Ie.LY.stop((()=>{e.closeOnIcon?.(),S.destroy()}))}},[t(_.Z,{attrs:{src:p.Y.CLOSE}})])])}},a()(e,["title","content"]),{...d?{transitionName:"none",maskTransitionName:"none"}:{},class:n.filter(Boolean).join(" "),closable:!!i&&e.closable}),["type","titlePosition"])),E=S.destroy;let w;const T=async(...e)=>{S.update({visible:!1}),await new Promise((e=>{w=e})),E(...e)};return S.update({close:T,afterClose:()=>{e?.afterClose?.(),w("done")}}),s()(S,{destroy:T})}static message(e){const t=this.$createElement,o=e.content instanceof Function?e.content():e.content;if(!o||l.sG.Modal.lastTipsText==o)return;l.sG.Modal.lastTipsText=o;const n=e.contentPosition??(e.type||e.icon)?"left":"center",i=a()(s()({duration:2,content:()=>t("div",{style:{textAlign:n}},[o])},a()(e,["content"])),["contentPosition","onAutoClose"]),r=c.yw.open(i);return setTimeout((()=>{c.yw.destroy.call(c.yw),l.sG.Modal.lastTipsText=null,e.onAutoClose?.()}),1e3*i.duration),s()(r,{destroy:c.yw.destroy.bind(c.yw)})}static openLoginRegisterModal(e){return new Promise((t=>{if(e&&b.Z.canUpdateOptions)return void b.Z.updateOptions(e);const o=[b.Z.Events.CLOSED,()=>{this.removeModalName("loginRegisterModal")}];b.Z.$once(...o),b.Z.open(e).then((e=>{t(e),e&&b.Z.isPageWorking?this.openedModalName.add("loginRegisterModal"):b.Z.$off(...o)}))}))}}(0,r.Z)(E,"openedModalName",new Set),(0,r.Z)(E,"lastTipsText",null)},24965:function(e,t,o){o.d(t,{Z:function(){return E}});var n=o(78718),s=o.n(n),i=o(4942),a=o(46851),r=o(99290),c=o(47139),l=o(5860),m=o(4760),d=o(75812),h=o(5954),u=o(76198),g=o(63141),p=o(58217),y=o(91475),f=o(53579),b=o(9814),_=o(41800);const S=(0,h.Q)();class E{static transformUnit(e){const t=document.createElement("div");t.innerHTML=e;const o=e=>{const t=e;if(t.getAttribute){const e=t.getAttribute("style");e&&t.setAttribute("style",e.replace(/(\d+)px/g,(e=>2*Number(parseFloat(e))/100+"rem")))}for(const n of e.childNodes)o(n)};return o(t),t.innerHTML}static end403(){(0,y.h)().areaStatus&&((0,y.h)().areaStatus=!1,f.Z.close("iframeAccessRestrictedPopup"),b.Z.batch("recover"))}static async to403(e){const t=await(0,l.getAccessRestrictedInfo)(),o=await(0,m.r)().catch((()=>{})),n={...t.data.data,...o};n?.accessRestrictedContent&&(n.accessRestrictedContent=this.transformUnit(n.accessRestrictedContent));let s="";const i="page-403-payload";sessionStorage.setItem(i,JSON.stringify(n)),e&&(s="page-403-log",sessionStorage.setItem(s,e));const{siteInfos:a}=(0,y.h)(),r=a?.title||a?.siteName||"",c=(0,g.zs)(`${window.location.origin}/pages/403/index.html`,{logId:s,payloadId:i,title:r,t:Math.ceil(Date.now()/3e5)});(0,y.h)().areaStatus=!0,f.Z.open("iframeAccessRestrictedPopup",{iframeSrc:c,h5FullScreen:!0,pcFullScreen:!0,noScroll:!0,backgroundColor:n.accessRestrictedBackgroundColor})}static async to503(e){if(!E.to503Lock){E.to503Lock=!0;try{e=e||{isSiteFreeze:!1,isSiteFreezeAndMaintain:!1,ipCheck:!1};const t=!0,{isSiteFreeze:o=!1,isSiteFreezeAndMaintain:n=!1,ipCheck:s=!1}=e,i=o,m=n,h=!o&&!n,u="page-503-payload";let p;const S=({data:e})=>{"openUrlByIframe"===e?.type&&(0,d.MI)(e?.url)};window.addEventListener("message",S);const w=()=>{clearTimeout(p),window.removeEventListener("message",S),a.sG.Polling.destroy(b.S.MAINTAININFO);(0,y.h)().$patch({siteMaintenanceStatus:!1})},T=t=>{const{siteConfig:o,language:n}=(0,y.h)();return{siteConfig:o,...t,staffall:{online:{type:1,url:t.online_service}},maintainTimeInfo:(0,d.HP)(t),requestInfo:e.requestInfo,language:a.CM.ServiceLanguageMap[n]||""}},A=e=>{const t=1e3*e.end_time-Date.now();t>0&&(a.sG.Polling.destroy(b.S.MAINTAININFO),p=window.setTimeout((()=>{a.sG.Polling.create({key:b.S.MAINTAININFO,leading:!0,interval:3e5,callback:async()=>{const[t,o]=await(0,_.Z)((0,l.apiGetMaintainInfo)(!1,!1));if(t&&"request-error"===t.message)return R.end();o&&JSON.stringify(o)!==JSON.stringify(e)&&(R.update(T(o)),A(o))}})}),t))},D=e=>{Object.entries(e).forEach((([e,t])=>{sessionStorage.setItem(e,t)}))},R={update:e=>{D({[u]:JSON.stringify(e)})},start:async e=>{const{siteMaintenanceStatus:o,areaStatus:n}=(0,y.h)();if(o||!n)return;const s=(0,y.h)(),{siteInfos:i}=(0,y.h)(),a=T(e),r=JSON.stringify(a),c=i?.title||i?.siteName||"Access Restricted",l=(0,g.zs)(`${window.location.origin}/pages/503/index.html`,{payloadKey:u,title:c,useIframe:t,t:Math.ceil(Date.now()/3e5)});s.$patch({siteMaintenanceStatus:!0}),t?(D({[u]:r}),f.Z.open("iframeMaintainPopup",{iframeSrc:l}).then((()=>{h&&A(e)}))):window.location.href=l},end:()=>{t&&f.Z.close("iframeMaintainPopup"),w()}},[M,C]=await(0,_.Z)((0,l.apiGetMaintainInfo)(i,m)),I=!M&&!!C;if(s&&h){const e=await c.r.ipCheck(I?{useCache:!1,useCacheInError:()=>!1}:void 0).catch((e=>{const t=new r.I({areaStatus:!0,isAreaAllowed:!0,isInMaintenance:!0});return t.axios={config:e?.config||{url:"/ipCheck",headers:{}},data:e?.data?.data},t}));if((0,y.h)().ipCheck=e,I){e.isAreaAllowed&&!e.isInMaintenance||R.start(C)}else e.isAreaAllowed||a.sG.Page.to403(JSON.stringify({data:e}))}else M?e?.onError?.():R.start(C)}catch(t){}finally{E.to503Lock=!1,e?.onCallback?.()}}}static toRoot(e=["id","cid","aid","afId","gtagId","gtmId","fb_dynamic_pixel","tiktokBaesCode","kwaiPixelBaseCode","ks_px_test","pixel_id","click_id","appsflyer_id","fbclid","tiktokBaseCode","ttclid","appsflyer_appId","appsflyer_auth","isWgPackage","WgPackage","SpeedPackaeInit","openWinBridgeTunnel",...Object.keys(a.sG.App.$route.query).filter((e=>/mock.[\S]+/.test(e))),...Object.keys(a.sG.App.$route.query).filter((e=>/fixed.[\S]+/.test(e)))]){const t=(0,g.zs)(`${window.location.origin}/?gameCategoryId=0`,s()(a.sG.App.$route.query,e)),o=S.ios()||S.isMac();setTimeout((()=>{location.href=t}),o?(0,u.i)():0)}static async toCustomerService(){await(0,d.jj)((async()=>{const e=(0,y.h)()?.serviceInformation?.customer?.onlineCustomers[0];if(e)return e.customerUrl;{const{t:e}=(0,p.QT)();return a.sG.Modal.message({type:"warning",content:e("lobby.common.tips.customerNotEnabled")}),Promise.reject()}}),{createDelay:500})}static toDownloadAppSite(){const e=(0,y.h)();if(e.siteURLInfos?.download_domain_url&&0!==e.siteURLInfos?.download_domain_url.length&&e.siteURLInfos?.download_domain_url[0].domain)(0,d.MI)(e.siteURLInfos?.download_domain_url[0].domain);else{const{t:e}=(0,p.QT)();a.sG.Modal.message({type:"warning",content:e("lobby.common.tips.downloadAppPageNotEnabled")})}}static check403(e,t){return 0!==e.length&&(!t||!!e.includes(t))}}(0,i.Z)(E,"to503Lock",!1)},9814:function(e,t,o){o.d(t,{S:function(){return a}});var n=o(82492),s=o.n(n),i=o(92012);let a;!function(e){e.JACKPOT_PRIZE="fetch/aside-jackpot-prize",e.JACKPOT_AMOUNT="change-jackpot-amount",e.JACKPOT_PRIZE_NO_LOGIN="jackpot-prize-no-login",e.HEART_BEAT="fetch/heart-beat",e.NETWORK_DETECTION="fetch/aside-network-detection",e.RED_POCKETS="fetch/event-red-pockets",e.ACTIVITY_TIME="fetch/activity-time-calc",e.NO_WALLET_WITHDRAW_ORDER="fetch/no-wallet-order",e.MAINTAININFO="fetch/maintain-info-json"}(a||(a={})),t.Z=s()(new i.Z,{LobbyPollingType:a})},34379:function(e,t,o){var n=o(4942),s=o(9669),i=o.n(s);t.Z=class{constructor(e="/manifest.json?"+Date.now()){(0,n.Z)(this,"loading",!1),(0,n.Z)(this,"url",""),(0,n.Z)(this,"source",[]),(0,n.Z)(this,"timeid",0),(0,n.Z)(this,"cached",(window.localStorage.CachedView||"").split(",").filter((e=>e))),this.url=e,setTimeout((()=>{localStorage.nopreload||this.load()}),3e4)}load(){i().get(this.url).then((e=>{const t=Object.values(e.data).filter((e=>/assets\/(\d+|pay|recharge|event)\.\S+\.(js|css)$/.test(e)));this.cached=this.cached.filter((e=>t.some((t=>t.includes(e))))),this.source=t.filter((e=>!this.cached.some((t=>!e.startsWith("theme")&&e.includes(t))))).sort((e=>/pay|recharge|event/.test(e)?-1:0)),this.source.length>0&&(this.timeid=window.setInterval((()=>{this.next()}),2e3))}))}prefetch(e){const t=document.createElement("link");t.rel="prefetch",t.href=e,t.as=e.includes(".js")?"script":"style",document.head.appendChild(t)}async next(){if(this.loading)return;const e=this.source.shift();e?(this.loading=!0,fetch(e).then((()=>{this.cache(e)})).finally((()=>{this.loading=!1}))):window.clearInterval(this.timeid)}async style(e){return e?new Promise(((t,o)=>{const n=document.createElement("link");n.rel="stylesheet",n.onload=function(){t()},n.onerror=function(e){o(e)},n.href=e,document.getElementsByTagName("head")[0].appendChild(n)})):Promise.resolve()}async script(e){return e?new Promise(((t,o)=>{const n=document.createElement("script");n.onload=function(){t()},n.onerror=function(e){o(e)},n.src=e,document.getElementsByTagName("head")[0].appendChild(n)})):Promise.resolve()}cache(e){this.cached.push((e.match(/\.([a-z\d]+)\./i)||[]).pop()||e),window.localStorage.CachedView=this.cached.join(",")}}},85585:function(e,t,o){o.d(t,{Z:function(){return r},p:function(){return a}});var n=o(58217),s=o(91475),i=o(95868);const a=(e,t)=>e===t?e:`${e}-${t}`;class r{static create(e={}){return{...e}}static required(e={},t={}){const{t:o}=(0,n.QT)();return r.create({message:()=>{const{requiredItem:t,customPrompt:n}=e;let i=t?.()??"";!i||(0,s.h)().isCn||/\s$/.test(i)||(i+=" ");const a=`${i}${o("lobby.common.formRules.requiredWithoutItem")}`;return n||a},...t,required:!0})}static username(e={start:4,end:16},t={}){const{start:o,end:s}=e,{t:i}=(0,n.QT)();return r.create({pattern:new RegExp(`^[A-Z0-9]{${o},${s}}$`,"i"),message:()=>i("lobby.modal.loginRegister.accountErrorMessage",{range:a(o,s)}),...t})}static userpass(e){const{start:t=6,end:o=16,stint:s=!0,...i}=e,{t:c}=(0,n.QT)(),l="!@#$%^&*_=\\+\\\\,\\-.\\/?\\(\\)",m=new RegExp(`^(?!^(\\d+|[a-zA-Z]+|[${l}]+)$)^[\\w${l}]{${t},${o}}$`,"i"),d=new RegExp(`^([${l}a-zA-Z0-9]){${t},${o}}$`,"i"),h=`${c("lobby.common.formRules.userpass",{range:a(t,o)})}`,u=`${c("lobby.common.formRules.loginUserpass",{range:a(t,o)})}`;return r.create({pattern:s?m:d,message:()=>(s?h:u)||" ",...i})}static dynamicUserpass(e={start:6,end:16,isReadConfig:!1},t={}){const{start:o}=e,{loginPasswdStrengthDetectSwitch:c,strongPasswdRequireUppercase:l,strongPasswdRequireLowercase:m,strongPasswdRequireNum:d,strongPasswdRequireSpecial:h,strongPasswdLength:u}=(0,s.h)()?.systemInfos;let g=null;if(!c||!e.isReadConfig)return this.userpass({required:!0});{let e="";l&&(e+="^(?=.*[A-Z])"),m&&(e+="(?=.*[a-z])"),d&&(e+="(?=.*[0-9])"),h&&(e+="(?=.*[!@#$%^&*_=+\\\\,\\-.\\/?\\(\\)])"),e+=`.{${u??6},16}$`,g=new RegExp(e)}const{t:p}=(0,n.QT)();return r.create({pattern:g,message:()=>c&&e.isReadConfig?i.Z.getPrompt(u,m,l,d,h):p("lobby.common.formRules.userpass",{range:a(o??6,16)}),...t})}static useremail(e,t={}){const{t:o}=(0,n.QT)();return r.create({pattern:/^(?=\w+([-+.'][-.\w+]*)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$).{0,50}$/,message:()=>o("lobby.common.components.auth.email.formatError"),...t})}static usercpf(e={start:1,end:11},t={}){const{start:o,end:s}=e,{t:i}=(0,n.QT)();return r.create({pattern:new RegExp(`^\\d{${o},${s}}$`,"i"),message:()=>i("lobby.common.formRules.usercpf"),...t})}static paypass(e={length:6},t={}){const{t:o}=(0,n.QT)(),{length:s}=e;return r.create({pattern:new RegExp(`^\\d{${s},${s}}$`,"i"),message:()=>o("lobby.common.formRules.paypass",{length:s}),...t})}static numberCheck(e,t={}){const{t:o}=(0,n.QT)();return r.create({pattern:/\d+\.*\d{0,2}/,message:()=>e.customPrompt??o("lobby.common.formRules.numberRequired",{type:e.type}).toString(),...t})}static loginPwdSymbolCheck(e={}){const{t:t}=(0,n.QT)();return r.create({validator:(e,o,n)=>!o.replace(/[a-zA-Z0-9!@#$%^&*_=\+\\,\-.\/?\(\)]/g,"")||(n(t("lobby.common.formRules.userpassSpecial")),!1),...e})}static alipayRequired(e={}){const{t:t}=(0,n.QT)();return r.create({validator:(e,o,n)=>!(!/^1\d{10}$/.test(o)&&!/^[a-zA-Z\d._-]*@[a-zA-Z\d.-]{1,10}\.[a-zA-Z\d]{1,20}$/.test(o))||(n(t("lobby.finance.withdraw.add.alipayNoRemark").toString()),!1),...e})}}},30727:function(e,t,o){o.d(t,{Z:function(){return de}});var n=o(63137),s=o.n(n),i=o(27361),a=o.n(i),r=o(78718),c=o.n(r),l=o(82492),m=o.n(l),d=o(62933),h=o(48618),u=o(72698),g=o(45335),p=o(46851),y=o(58217),f=o(25060),b=o(1507);const _={27:"2-1-3",33:"2-1-32"};var S=o(23247),E=o(4942),w=o(5860),T=o(44566),A=o(75310),D=o(91475);window.webPushLog=["----"];const R=e=>{window.webPushLog.push(e),setTimeout((()=>{window.webPushLog=["----"]}),3e5)};class M{constructor(){(0,E.Z)(this,"appkey",""),(0,E.Z)(this,"user_str",""),(0,E.Z)(this,"repeatTimes",5)}static getInstance(){return this.instance||(this.instance=new M),this.instance}async init(){R(["极光推送开始的地方"]),this.appkey&&(this.user_str=String((0,D.h)()?.userInfos?.username),this.loadJs())}async setConfig(e){if(!e){e=(await(0,w.apiGetWebPush)())?.data?.data||{}}R(["接收到的后台数据",e]),this.appkey=e.webKey}loadJs(){(0,A.yu)([{id:"gt",src:"/libs/webPush@2.2.0/webPushSdk.produce.min.2.2.0.js"}],!1,!1).then((()=>{const e=window.location.origin+"/libs/webPush@2.2.0/sw.produce.min.2.2.0.js";window.MTpushInterface.mtPush.onDisconnect((()=>{this.repeatTimes--,R(["断开了链接!"]),this.repeatTimes>0&&this.loadJs()})),window.MTpushInterface.onMsgReceive((e=>{R(["得到推送消息",e])})),R(["this.user_str",this.user_str]),window.MTpushInterface.init({swUrl:e,appkey:this.appkey,user_str:this.user_str,fail(e){R(["在线推送创建失败",e])},success(e){R(["在线推送创建成功",e])},webPushcallback(e,t){R(["用户得到的状态码及提示,code,tip",e,t])},canGetInfo(e){try{if(R(["得到RegId",window.MTpushInterface.getRegistrationID()]),R(["得到接入成功后的更多信息",e]),e.regid&&(0,D.h)().hasLogined){R(["当前已登录,往后台传输regId",e.regid]);const t=e.regid;setTimeout((()=>{(0,T.nl)({jpushWebId:t})}),5e3)}}catch(t){console.error("Notification error---",t)}},custom:()=>{R(["custom方法执行了"])}})})).catch((()=>{R(["初始化失败"])}))}}var C,I,L,P=o(25102),O=o(71743),v=o(93250),N=o(75990),B=o(29472),k=o(60760),H=o(52923),x=o(7909),G=o(5825),Z=o(16682),Y=o(70278),F=o(30859),U=o(21615),$=o(75812),W=o(99505),z=o(81354),K=o.n(z),V=o(46241),q=o(39169),j=o(53579),J=o(53229),X=o(70753),Q=o(76793),ee=o(36247);let te=(C=(0,X.WY)(),I=(0,X.Xo)(15e3),L=class{constructor(){(0,E.Z)(this,"maxLines",20)}getContext(e="api"){const t=(0,ee.d)();return"oss"===e?t.oss:t}initLines(e=[],t="api"){const o=(0,ee.d)(),n=this.getContext(t),s=e.slice(0,this.maxLines-1)??[];n.lines=s.filter(((e,t,o)=>o.indexOf(e)===t)).map(((e,t)=>({url:e,pending:!1,ping:0,lineNumber:t+1})));const i=n.lines[0];i.ping=20,o.updateCurrentLine(i,!1,t)}async runCheck(){Promise.all(((0,U.R6)("wg.mow.true").length>0?["api"]:["api","oss"]).map((e=>(async()=>{await this.checkAllLine(e),this.setBestLine(e)})())))}setBestLine(e="api"){const t=this.getContext(e),{lines:o}=t,{updateCurrentLine:n}=(0,ee.d)();n(o[0],!0,e)}reduceSpeedValue(e=1){const t=Math.ceil(e/10);return t<1?1:t}async speedTest(e,t="api"){return(0,N.LS)(e,t,!0,Q.o,!1).then((e=>e===Q.o?e:this.reduceSpeedValue(e)))}checkAllLine(e="api"){const t=this.getContext(e);return new Promise((o=>{const{lines:n}=t,{updateLineState:s,updateLine:i}=(0,ee.d)();let a=0;for(const t of n)s(t.url,!0,e),this.speedTest(t.url,"oss"===e?"oss":"api").then((s=>{a+=1,i({...t,ping:s,pending:!1},e),a>=n.length&&o(null)}))}))}},(0,J.Z)(L.prototype,"runCheck",[C,I],Object.getOwnPropertyDescriptor(L.prototype,"runCheck"),L.prototype),L);var oe=new te,ne=o(9814),se=o(12832),ie=o(9669),ae=o.n(ie),re=o(30381),ce=o.n(re),le=o(41800),me=o(52204);class de{static getChannelInfo(){return{platformType:"1001",operationId:0,pkgId:1}}static setupWgPackageConfig(){const e=U.cY?.wgPackage?.device||"";if(e){const{updateDeviceUUID:t}=(0,D.h)();t(e)}/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(e)||(0,G.trace)("wg-package-device-error",{data:JSON.stringify(U.cY?.wgPackage)})}static async init(e=!1){if(this.setupWgPackageConfig(),await de.initSiteURLInfos(e).catch((()=>{})),!e||window?.LOBBY_SITE_CONFIG?.CREATE_BY_STATIC){const e=await(0,w.apiGetBaseSiteConfig)();if(e.data?.data){const t=m()({},window.LOBBY_SITE_CONFIG||{},e.data?.data||{});(0,D.h)().siteConfig=t,window.LOBBY_SITE_CONFIG=Object.assign({},t,{_backup:window.LOBBY_SITE_CONFIG})}}await Promise.all([de.initSiteInfos(e).catch((()=>{})),de.initSystemInfos(e).catch((()=>{})),de.initHomeLayoutInfos(e).catch((()=>{})),de.initCurrencyInfos(e).catch((()=>{})),de.initSiteURLInfos(e).catch((()=>{}))]),setTimeout((()=>{ne.Z.create({key:ne.Z.LobbyPollingType.HEART_BEAT,callback:w.apiGetHeartBeat.bind(this),leading:!0,interval:9e4})}),1e4)}static syncInit(){$.ZP.lastLayout=(0,N.cF)("web.lobby.lastLayout"),$.ZP.lastLanguage=(0,N.cF)("web.lobby.lastLanguage")}static getTime(){return ce()().unix()}static getServerTime(){const e=this.getTime();try{return e+(0,D.h)().timeDiff}catch(t){return e}}static async getConfigDependencies(e=!1){const{getBrandLogoInfos:t}=(0,D.h)(),o=[(async()=>{const e=await(0,w.apiGetSiteInfo)();if(e){const t=e.data.data,o=(0,D.h)();o.siteInfos={...o.siteInfos,...c()(t,["title"])}}})(),(async()=>{const{osType:e,updateVipSwitchStatus:t,updateLargeForcedBind:o,updateSystemInfos:n,updateLargeAmountRange:s}=(0,D.h)(),{updateSocialMediaList:i}=(0,Z.r)(),{updateSwitchData:a}=(0,me.Z)();(0,D.h)().isSystemStatusLoading=!0;const r=(await(0,w.apiGetSystemStatus)({osType:e}).finally((()=>{(0,D.h)().isSystemStatusLoading=!1,p.xN.dispatch({type:"SYSTEM_STATUS_LOADED"})})))?.data?.data;if(r){if(r.messageBannerIndex){const{updateBanner:e}=(0,Y.o)();e(r.messageBannerIndex||[])}r.promoteGetSocialmedia&&i(r.promoteGetSocialmedia||[]),r.userVipConfig&&t(r.userVipConfig),r.yuebaoGetSetting&&a(r.yuebaoGetSetting),r.homeGetSysInfo&&n(r.homeGetSysInfo),r.homeGetSysInfo?.largeAmountMustBind&&o(r.homeGetSysInfo.largeAmountMustBind),r.homeGetSysInfo?.largeAmountRange&&(s(r.homeGetSysInfo.largeAmountRange),de.triggerForcedBinding())}})(),(async()=>{const e=(await(0,w.apiGetOptimizationSiteConfig)({previewonly:!1}))?.data.data;if(e){(0,D.h)().$patch({homeLayoutInfos:{loginSlogan:a()(e,"layoutDesign.loginSlogan","")}});const o=M.getInstance();e.engageLabWebPush&&(o.appkey||o.setConfig(e.engageLabWebPush),o.init()),e.brandLogoUse?(0,D.h)().brandLogoInfos=e.brandLogoUse:t(),e.channelGlobalConfig&&((0,D.h)().channelGlobalConfig=e.channelGlobalConfig)}})()];e&&o.push((async()=>{const{holidayThemeType:e}=se.Z;e?(de.setHolidyAssets(),document.documentElement.setAttribute("data-holiday-theme",`${e}`)):document.documentElement.removeAttribute("data-holiday-theme")})()),Promise.all(o)}static async updateCssVars(e){if(window.CSS&&window.CSS.supports&&window.CSS.supports("--a","0")){const t=document.documentElement;Object.keys(e).forEach((o=>{t.style.setProperty(o,e[o])}))}else{const{default:t}=await o.e(18037).then(o.bind(o,18037));t({watch:!1,variables:e,onlyLegacy:!0})}}static async setAntDesignTheme(e){const t={...W.Z.getAntdSerials(e).reduce(((e,t,o)=>(e[`--theme-ant-primary-color-${o}`]=t,e)),{}),"--theme-primary-color":e};await de.updateCssVars(t)}static async setSkin(e,t){const{type:n,backgroundColor:s,skinTypeValue:i}=e,a=document.documentElement,{ThemeSkinType:r,getCssVar:c}=b.sZ,l=se.Z.europeanAmericanSet.has(n)?r.EUROPEAN_AMERICAN:n;a.setAttribute("data-skin-layout",`${l}`),a.setAttribute("data-skin-bg",`${s}`),a.setAttribute("data-skin-id",`${i}`);const m=a.getAttribute("style")||"";let d=(0,$.wv)(a.getAttribute("style")||"");const h=_[n]&&(0,D.h)().isWeb;let u={};if(h){const t=_[n]?.split("-");e.type=Number(t[0]),e.backgroundColor=Number(t[1]),e.skinTypeValue=Number(t[2]);u=(await(0,A._l)(`/node/html-hot-replace/cached/skinColor.json?${this.getTime()}`))[`${t[0]}-${t[2]}`],(0,D.h)().$patch({siteInfos:{...e}}),a.setAttribute("data-skin-layout",`${e.type}`),a.setAttribute("data-skin-bg",`${e.backgroundColor}`),a.setAttribute("data-skin-id",`${e.skinTypeValue}`)}try{if(!m||h){const{baseThemeVar:e,ThemeVarConfig:n}=await o.e(928).then(o.t.bind(o,928,23));d=c(t,{serverColor:h?u:(0,D.h)()?.siteInfos?.skinConfigInfo||{},themeVar:{baseThemeVar:e,ThemeVarConfig:n}})}}catch(g){}(0,D.h)().currentTheme=d;(0,D.h)().$patch({skinName:t}),de.updateCssVars(d),de.setAntDesignTheme(d["--theme-primary-color"])}static async loadSvgSprite(e="/lobby_asset/{layout}-{bg}-{skin}/sprite.svg"){const t=(0,D.h)();t.$patch({loadingSvgSprite:!0});try{const o=await(0,v.or)((t=>ae().get((0,O.Cj)(e,t))));if(o?.data){const e=document.createElement("div");if(/^<svg/.test(o.data)){e.innerHTML=o.data;const t=e.childNodes[0];Object.assign(t.style,{position:"absolute",width:0,height:0}),document.body.insertBefore(t,document.body.firstChild)}}}finally{t.$patch({loadingSvgSprite:!1})}}static async initTheme(e){const t=b.sZ.getSkinName(e);await de.setSkin(e,t)}static async initI18n(e){const t=s()(p.CM.ServiceLanguageMap),o=(0,D.h)();let n=e.languageInfos.find((e=>e.defaultLanguageTag))?.languageCode;const i=e.languageInfos.map((({languageCode:e})=>t[e]));if(!n||!h.xD.includes(n)){n=e.languageInfos.find((e=>e.languageCode&&h.xD.includes(e.languageCode)))?.languageCode||"en"}const a=t=>e.languageInfos.find((e=>e.languageCode===t))&&h.xD.includes(t),r=c()((0,B.aE)(),["languageCode"]),{urlParams:l}=(0,D.h)(),m=r?.languageCode?.toLowerCase();if(a(m))n=m,o.setLanguage(t[n]);else if(!y.Mk&&(o.siteInfos?.languageMatchMode===d.F8.SMART_MATCHING||(l?.id||l?.cid)&&!r?.languageCode)){const e=navigator.language,s=p.CM.BrowserLanguageMap[e]||(()=>{const e=e=>new RegExp(`${e}(-[A-Z]+)?`,"i"),t={[p.CM.BrowserLanguageMap.en]:[e("en")],[p.CM.BrowserLanguageMap.th]:[e("th")],[p.CM.BrowserLanguageMap.vi]:[e("vi")],[p.CM.BrowserLanguageMap.ko]:[e("ko")],[p.CM.BrowserLanguageMap.ja]:[e("ja")],[p.CM.BrowserLanguageMap.es]:[e("es")],[p.CM.BrowserLanguageMap.de]:[e("de")],[p.CM.BrowserLanguageMap.fr]:[e("fr")],[p.CM.BrowserLanguageMap.it]:[e("it")],[p.CM.BrowserLanguageMap.hi]:[e("hi")],[p.CM.BrowserLanguageMap.pt]:[e("pt")],[p.CM.BrowserLanguageMap.fil]:[e("tl")]};return Object.entries(t).find((([,e])=>e.find((e=>e.test(navigator.language)))))?.[0]})();a(s)&&(n=s,o.setLanguage(t[n]))}const u=n?t[n]:void 0;let g;g=a(m)?u:y.Mk&&i.includes(y.Mk)?y.Mk:u||i[0];document.documentElement.setAttribute("lang",g),o.siteConfig={...o.siteConfig||{},languageCode:n},o.$patch({language:g,languageInfos:i}),(0,N.po)({language:g},"web.lobby.lastLanguage")}static async initLoadI18nAssets(){const{language:e,languageInfos:t}=(0,D.h)();p.sG.I18n.add([H.jv,H.AY]).setOptions({language:t,defaultLanguage:e}).setLanguage(e)}static async initSkinAssetsHash(e=!1){const{health:t,response:o}=$.ZP.parseInjectData("ossGetSkinAssetsHash"),n=(e&&t?o:await(0,w.apiGetSkinAssetsHash)()).data.data;n&&((0,D.h)().skinAssetsHash=n)}static async initSystemInfos(e=!1){const{updateSystemInfos:t,updateBrowserFingerId:n,browserFingerId:s,osType:i}=(0,D.h)(),{health:a,response:r}=$.ZP.parseInjectData("apiGetSystemStatus"),c=(e&&a?r:await(0,w.apiGetSystemStatus)({osType:i},{customParams:{useCache:!0}})).data.data?.homeGetSysInfo;if(c){t(c);const e=async()=>{c?.fingerprintJS?.publicKey&&!s&&setTimeout((()=>{o.e(78325).then(o.bind(o,78325)).then((({load:e})=>{e({apiKey:c?.fingerprintJS?.publicKey}).then((e=>e.get())).then((e=>{n(e?.visitorId)}))}))}),3e3)};await e().catch((()=>{}))}}static async initChannelIpBindInfo(){const{updateIpBindInfo:e,ipBindInfos:t,urlParams:o}=(0,D.h)(),n=o.id||void 0,s=o.cid||void 0,i=o.currency||void 0,r=a()(t,"_customChannelId"),c=[n,s].join("");if(!(n||s||U.cY.isWebClip||U.cY.package.isLite))return e(null),null;if(r===c&&!U.cY.isWebClip&&!U.cY.package.isLite)return t;try{const t=(await(0,w.apiGetIpBindData)({agentName:n,channelId:Number(s||0),currency:i})).data.data;if(t){const o={...t,_customChannelId:c};return e(o),o}return e(null),null}catch(l){return e(null),null}}static async initIpInfos(){return new Promise((e=>{try{const t=!!(0,N.Wz)("useMockMaintainIframe");p.xN.dispatch({type:"SITE_MAINTAIN",payload:{useMockMaintainIframe:t,ipCheck:!0,onCallback:()=>{e("")}}})}catch(t){e("")}}))}static async initLinkSetting(){try{const{updateLinkType:e}=(0,D.h)();if((0,D.h)().urlParams.id){const t=(await(0,w.apiGetLinkSetting)())?.data?.data?.linkType;t&&(e(t),t===d.Un.TEST_REGISTER&&g.Nh.goSubGameDemoPage())}}catch(e){}}static async initSiteInfos(e=!1){const t=(0,D.h)(),{health:o,response:n}=$.ZP.parseInjectData("apiGetSiteInfo"),s=(e&&o?n:await(0,w.apiGetSiteInfo)()).data.data;if(s){Object.values(b.sZ.ThemeSkinType).includes(s.type)||(s.type=1,s.backgroundColor=0,s.skinTypeValue=8);const e=["type"];(0,N.po)(c()(s,e),"web.lobby.lastLayout"),t.$patch({siteInfos:{...s},skinId:`${s.type}-${s.backgroundColor}-${s.skinTypeValue}`}),this.initTryCurrency()}}static setHolidyAssets(){de.loadSvgSprite("/lobby_asset/festival/{holiday}/{layout}-{bg}/sprite.svg")}static async initAssetsConfig(){const{siteInfos:e}=(0,D.h)();e&&await Promise.all([de.initTheme(e)]).catch((()=>{}))}static initializeLanguageAndSprites(e=!1){const{siteInfos:t}=(0,D.h)();t&&(de.initLoadI18nAssets().catch((()=>{})),de.loadPngSprite().catch((()=>{})),de.loadSvgSprite().catch((()=>{})),de.initSkinAssetsHash(e).catch((()=>{})))}static async autoGooglePrompt(){const{hasLogined:e,threeWayConfig:t,siteMaintenanceStatus:o}=(0,D.h)(),n=U.cY.isWgPackage&&!U.cY.speedPackageConfig;if(!e&&!n&&t.useGoogle&&!o){const e=await k.eQ.prompt();k.Fb.handleThirdPartyUserInfo(S.I.GOOGLE,e)}}static async loadPngSprite(){const e=(0,D.h)();e.$patch({loadingImgSprite:!0});try{const o=await(0,v.or)((e=>(0,A._l)((0,O.Cj)("/lobby_asset/{layout}-{bg}-{skin}/main.sprites.json",e)))).catch((()=>({})));try{const e=a()(o,"image");if(e){const t=URL.createObjectURL(V.Z.base64ToBlob(e));Object.keys(o).forEach((e=>{"image"!==e&&(o[e].image=t)}))}}catch(t){}o&&(e.$patch({allPngSprite:o}),(0,O.Ws)())}finally{e.$patch({loadingImgSprite:!1})}}static async initSmsCountry(e,t){const{updateCountryInfos:o,smsCountrys:n}=(0,D.h)(),[s,i]=await(0,le.Z)((async()=>e?await e():(await(0,w.apiGetSmsCountry)())?.data?.data)());if(s&&(de.initSmsSegment(),!n.length))return s;i&&o(i),de.initSmsSegment(t)}static initSmsSegment(e){const{ipCheck:t,defaultCountry:o,smsCountryIpCheck:n,smsSegment:s,smsCountrys:i}=(0,D.h)(),a=(0,D.h)().getAutoFillData();if(!i.length)return void(0,D.h)().updateSmsSegment();const r=[e,s,a[0]?.smsSegment,n===d.fL.OPEN?t.recommendAreaCode:"",o?.phoneNumberSegment,i[0].phoneNumberSegment].find((e=>i.find((t=>t.phoneNumberSegment===e))));(0,D.h)().updateSmsSegment(r)}static async initHomeLayoutInfos(e=!1){const t=(0,D.h)();let o;if(b.tt.previewonly){const e=(await(0,w.apiGetOptimizationSiteConfig)({previewonly:!0}).catch((()=>{})))?.data.data;e?.layoutDesign&&(o=e?.layoutDesign)}else{const{health:t,response:n}=$.ZP.parseInjectData("apiGetOptimizationSiteConfig");o=(e&&t?n:await(0,w.apiGetOptimizationSiteConfig)({previewonly:!1},{customParams:{useCache:!0}})).data?.data?.layoutDesign}try{o&&(t.homeLayoutInfos=o)}catch(n){}}static async initCurrencyInfos(e=!1){const t=(0,D.h)(),{health:o,response:n}=$.ZP.parseInjectData("apiGetAllCurrency"),s=e&&o?(n.data.data||[]).map((e=>Object.entries(e).reduce(((e,[t,o])=>{const n=b.sZ.dataMap.allCurrency?.[t];return e[n]=o,e}),{}))):(await(0,w.apiGetAllCurrency)())?.data?.data;t.$patch({currencyList:s??[]})}static async getFrameBoxInfos(){const e=(0,D.h)(),{notice:t}=(0,F.G)(),o=e.userInfos?.platfromid||"",n={page:1,type:f.V4.INDEX_PAGE},s=t||await(0,P.Wy)(n);if(!s)return;let i=[...s.noticeFrameMsgList||[],...s.announcementFrameMsgList||[],...s.publicityMsgList||[]];i.forEach((e=>e.not_remind_again=!1));const a=(new Date).getTime();i=i.filter((e=>!e.frameEndTime||1e3*Number(e.frameEndTime)>a));const r=localStorage.getItem("frameBoxInfos"),c=r&&JSON.parse(r)||[];if(0===c.length)c.push({platfromid:o,data:i.map(x.fl)});else{const e=c.find((e=>o===e.platfromid));e?(i.forEach((t=>{e.data.forEach((e=>{const o=t.frameType||t.frame_type,n=e.frameType||e.frame_type;t.id===e.id&&o===n&&(t.not_remind_again=e.not_remind_again,t.not_remind_login=e.not_remind_login,t.storageExpirationTime=e.storageExpirationTime)}))})),e.data=i):c.push({platfromid:o,data:i.map(x.fl)})}const l=c.slice(-5);l.forEach((e=>e.data=e.data.map(x.fl)));try{localStorage.setItem("frameBoxInfos",JSON.stringify(l));const e=localStorage.getItem("frameBoxReadState");if(e){const t=JSON.parse(e),{date:o,ids:n}=t;ce()(o).isSame(ce()(),"day")&&n.forEach((e=>{const t=i.find((t=>t.id==e));t&&(t.read=!0)}))}}catch(m){}e.$patch({frameBoxInfos:i})}static urlcheck(e){[e.api_domain?.length,e.web_domain?.length,e.oss_domain?.length].includes(0)&&p.xN.dispatch({type:"TRACE_REPORT",payload:{event:"DoaminEmpty",api:e.api_domain?.length,web:e.web_domain?.length,oss:e.oss_domain?.length}})}static async initSiteURLInfos(e=!1){try{const o=(0,D.h)(),{health:n,response:s}=$.ZP.parseInjectData("ossGetSiteUrlConfig");let i=null;if(e&&n)try{i=JSON.parse(p.H4.decrypt(s?.data.data||"","thanks,pig4cloud",{mode:K().mode.ECB,padding:K().pad.Pkcs7}))}catch(t){i=await(0,w.apiGetSiteURLInfos)()}else i=await(0,w.apiGetSiteURLInfos)();i&&((0,U.R6)("wg.mow.true").length>0&&(i.oss_domain=[window.location.origin]),de.urlcheck(i),o.$patch({siteURLInfos:i,urltime:Date.now()}),oe.initLines(p.Uh.apiDomain,"api"),oe.initLines(p.Uh.ossDomain.filter((e=>(0,D.h)().ossHost.replace(/\/+$/,"")!==e)),"oss"),setTimeout(oe.runCheck,2e3))}catch(t){}}static async guide2Login(e){await new Promise(((e,t)=>{const{hasLogined:o,isInitializationCompleted:n}=(0,D.h)();o?e(null):n?j.Z.openLoginRegisterModal({onLoginSuccess(){e(null)}}):t()})),e()}static guide2DemoAcountDialog(){const{isDemoMode:e}=(0,D.h)(),{t:t}=(0,y.QT)();return e&&p.sG.Modal.message({type:"warning",content:t("lobby.error.demoAccountTips")}),e}static async guide2Register(e,t){await new Promise(((e,o)=>{const{hasLogined:n,isInitializationCompleted:s}=(0,D.h)();n?e(null):s?j.Z.openLoginRegisterModal({...t||{},onLoginSuccess(){e(null)}}):o()})),e()}static initTryCurrency(){const{updataCurrentyTryCache:e,currentTryCurrency:t,siteInfos:o,urlParams:n}=(0,D.h)();if(!o)return;const s=u.F.registerList();if(n?.currency){const t=s?.find((e=>e.currencyCode==n?.currency));return e(t||s[0])}const i=t;if(!i)return e(s[0]);try{const t=s?.find((e=>e.currencyCode==i?.currencyCode));return e(t||s[0])}catch(a){e(s[0])}}static triggerForcedBinding(){const e=(0,D.h)();if(!e.hasLogined)return void q.Z.myDebug("BIG_GOLD_BIND:hasLogined",e.hasLogined);if(!e.userInfos?.game_gold)return void q.Z.myDebug("BIG_GOLD_BIND:game_gold",e.userInfos?.game_gold);if(e.isTryMode)return void q.Z.myDebug("BIG_GOLD_BIND:isTryMode",e.isTryMode);if(!e.largeAmountMustBind)return void q.Z.myDebug("BIG_GOLD_BIND:","largeAmountMustBind");if(!e.largeAmountRange)return void q.Z.myDebug("BIG_GOLD_BIND:","largeAmountRange");const t=e.largeAmountRange[e.userInfos?.currency]??0;if(e.userInfos.game_gold<t)return q.Z.myDebug("BIG_GOLD_BIND:game_gold",e.userInfos.game_gold),void q.Z.myDebug("BIG_GOLD_BIND:threshold",t);const{hasPhoneNumber:o,hasEmail:n,hasGoogleAuth:s}=e.validateConfig,{email:i,phone:a,googleAuth:r}=e.largeAmountMustBind;if(a&&o||i&&n||r&&s)return;const c={must_bind_item:1,must_bind_phone:0,must_bind_email:0,must_bind_google_auth:0};a&&(c.must_bind_phone=d.P0.REQUIRED),i&&(c.must_bind_email=d.P0.REQUIRED),r&&(c.must_bind_google_auth=d.P0.REQUIRED),e.$patch({bindModalIsLargeBalances:!0});const{must_bind_num:l,must_bind_email:h,must_bind_phone:u,must_bind_google_auth:g}=e.userInfos;e.bindModalSource={must_bind_num:l,must_bind_email:h,must_bind_phone:u,must_bind_google_auth:g},e.updateUserInfos(m()({},e.userInfos,c)),e.doLoginForceBindPopup()}}},12832:function(e,t,o){o.d(t,{Z:function(){return m},b:function(){return l}});var n=o(4942),s=o(88763),i=o(1507),a=o(91475),r=o(30381),c=o.n(r);const l=i.sZ.ThemeSkinType;class m{static get skinType(){return(0,a.h)().siteInfos?.type??l.NORMAL}static get skinTypeValue(){return(0,a.h)().siteInfos?.skinTypeValue}static get holidayThemeType(){const{userInfos:e,currentTryCurrency:t,hasLogined:o,siteInfos:n}=(0,a.h)(),s=o?e?.currency||"":t.currencyCode,i=n?.holidayThemes||[],r=c()().unix();return i.find((e=>{const t=e.showStartTime<=r&&e.showEndTime>=r,o=e.currencyCodes?.split(",");if(o.includes(s)&&1===e.status&&t)return!0}))?.themeType}static get isNormalHolidayTheme(){return Object.values(s.PZ).includes(Number(this.holidayThemeType))}static get isBossDesignThemeType(){return this.isHolidayThemeVisible&&Object.values(s.iJ).includes(Number(this.holidayThemeType))}static get isHolidayThemeVisible(){const e=this.holidayThemeType,{isGalaxyGold:t,isCrownGold:o,isCyanBlue:n,is305Site:s}=this.currentTheme();return!t&&!o&&!n&&!s&&Boolean(e)}static get isNormalThemeType(){const{isStake:e,isClassicStyle:t,isTheme28:o,isTheme29:n}=this.currentTheme();return e||t||o||n||this.skinType===l.EUROPEAN_AMERICAN}static get isUniversalThemeType(){const{isStake:e,isClassicStyle:t}=this.currentTheme();return e||t||this.skinType===l.EUROPEAN_AMERICAN}static get isHeaderFestivalAlphaImg(){return this.isHolidayThemeVisible&&s.F.includes(Number(this.holidayThemeType))}static get isNoBg(){const{siteInfos:e}=(0,a.h)();return e?.backgroundColor===i.sZ.ThemeSkinBg.NO_BG}static currentTheme(){const e=this.skinType,t=this.skinTypeValue;return{isClassicStyle:e===l.NORMAL,isDQ:e===l.DQ,isEuropeanAmerican:this.europeanAmericanSet.has(e),isStake:e===l.STAKE,isCyanBlue:e===l.CYAN_BLUE,is305Site:e===l.CYAN_BLUE&&2===t,isGalaxyGold:e===l.GALAXY_GOLD,isCrownGold:e===l.CROWN_GOLD,isHK:e===l.HK,isTheme12:e===l.THEME_12,is5159:e===l.THEME_17,is230:e===l.THEME_13,isTheme14:e===l.THEME_14,isTheme35:e===l.THEME_35,isTheme15:e===l.THEME_15,isTheme16:e===l.THEME_16,isTheme26:e===l.THEME_26,isTheme27:e===l.THEME_27,isTheme21:e===l.THEME_21,isTheme20:e===l.THEME_20,isTheme18:e===l.THEME_18,isTheme19:e===l.THEME_19,isTheme24:e===l.THEME_24,isTheme36:e===l.THEME_36,isTheme34:e===l.THEME_34,isTheme25:e===l.THEME_25,isTheme33:e===l.THEME_33,isTheme31:e===l.THEME_31,isTheme39:e===l.THEME_39,isTheme28:e===l.THEME_28,isTheme29:e===l.THEME_29,isTheme41:e===l.THEME_41,isTheme10:e===l.THEME_10,isTheme45:e===l.THEME_45,isTheme32:e===l.THEME_32,isTheme46:e===l.THEME_46,isTheme37:e===l.THEME_37,isTheme48:e===l.THEME_48,isTheme49:e===l.THEME_49,isTheme43:e===l.THEME_43}}}(0,n.Z)(m,"europeanAmericanSet",new Set([l.DQ,l.EUROPEAN_AMERICAN,l.THEME_27]))},85523:function(e,t,o){o.d(t,{Z:function(){return i}});var n=o(91475),s=o(24393);class i{static get googleBtn(){return document.getElementById("google-btn-help")}static async initSDK(){const{threeWayConfig:e}=(0,n.h)();if(!e.useGoogle)return;const t=s.Z.getInstance();await t.initSDK()}static hiddenGoogleEvent(e){const t=this.googleBtn||document.getElementById("google-btn-help");t&&e.target!==t&&(t.style.display="none",document.removeEventListener("click",this.hiddenGoogleEvent))}static showButton(){"block"===this.googleBtn.style.display?document.removeEventListener("click",this.hiddenGoogleEvent):(this.googleBtn.style.display="block",document.addEventListener("click",this.hiddenGoogleEvent))}static hideButton(){this.googleBtn.style.display="none",document.removeEventListener("click",this.hiddenGoogleEvent)}}},60760:function(e,t,o){o.d(t,{S6:function(){return O},sK:function(){return L.Z},eQ:function(){return _.e},Fb:function(){return I}});var n=o(78718),s=o.n(n),i=o(23247),a=o(62933),r=o(5860),c=o(57801),l=o(88781),m=o(58217),d=o(91475),h=o(21615),u=o(75812),g=o(55433),p=o(5523),y=o(75310),f=o(53579);class b extends p.E{get hasSDK(){return"function"==typeof window?.FB?.init}async initSDK(){this.hasSDK||(await(0,y.yu)({id:"facebook-sdk",src:"https://connect.facebook.net/en_US/sdk.js"}),await new Promise((e=>{const{systemInfos:t}=(0,d.h)();window.fbAsyncInit=()=>{FB?.init({appId:t?.facebook.app_id||"0123456789",cookie:!0,xfbml:!0,version:"v12.0"}),e(void 0)}})))}async prepare(){await this.initSDK()}async logIn(){return new Promise((e=>{FB?.login((function(t){if("connected"===t.status){const o=t.authResponse.accessToken;FB?.api("/me?fields=name,first_name,last_name,email",(function(t){t.error?"OAuthException"===t.error?.type&&(f.Z.message({type:"warning",content:t.error?.message}),FB.logout()):e({access_token:o,email:t.email,id:t?.id||""})}))}}),{scope:"email"})}))}}(0,g.Z)(b,"className","FaceBookLoginStrategy");var _=o(24393),S=o(46851),E=o(30727),w=o(9669),T=o.n(w);class A{constructor(){(0,g.Z)(this,"loginResolve",null)}async getLineIDToken(e){const{systemInfos:t}=(0,d.h)(),o=(t?.line.app_id??"").replace(/\s/,""),n=(t?.line.appSecret??"").replace(/\s/,""),s=new URLSearchParams;s.append("grant_type","authorization_code"),s.append("code",e),s.append("client_id",o),s.append("client_secret",n),s.append("redirect_uri",`${window.location.origin}/pages/actions/index.html?type=line`);T().post("https://api.line.me/oauth2/v2.1/token",s,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((e=>{this.loginResolve?.({access_token:e.data.id_token,email:""})})).catch((e=>console.error(`line login error: ${e}`)))}onLineCallback(e){"line"===e.type&&e.payload?.code&&this.getLineIDToken(e.payload?.code)}async prepare(){return new Promise((e=>{const{systemInfos:t,uuid:o}=(0,d.h)(),n=t?.line.app_id,s=`${window.location.origin}/pages/actions/index.html?type=line`,i=`https://access.line.me/oauth2/v2.1/authorize?response_type=code&client_id=${n}&redirect_uri=${encodeURIComponent(s)}&state=${E.Z.getServerTime()}${o}&scope=profile%20openid%20email`,a=(window.screen.height-30-550)/2,r=-window.screen.width/2;window.open(i,"title",`height=550,innerHeight=550,width=400,innerWidth=400,top=${a},left=${r},toolbar=no,menubar=no,scrollbars=auto,resizable=no,location=no,status=no,_blank`),S.xN.subscribe(this.onLineCallback.bind(this)),e()}))}async logIn(){return new Promise((e=>{this.loginResolve=e,S.xN.unsubscribe(this.onLineCallback.bind(this))}))}}var D=o(24965);class R{async prepare(){}async logIn(){}}var M=o(6096);class C{async prepare(){}async logIn(){}}const I=new class{constructor(){this.strategies={[i.I.GOOGLE]:_.Z,[i.I.FACEBOOK]:b,[i.I.LINE]:A,[i.I.QQ]:R,[i.I.WECHAT]:C}}showSrviceModal(){const{t:e}=(0,m.QT)(),t=f.Z.create({title:e("lobby.common.tips.title"),titlePosition:"center",titleType:"info",closable:!0,content:e("lobby.modal.login.googleInitError"),class:"googleInitError",onOk:async()=>{try{await D.Z.toCustomerService(),t.destroy()}catch(e){console.error(e)}},cancelButtonProps:{style:{display:"none"}},okText:e("lobby.common.components.auth.contactUS")})}get threeWayMap(){return{[i.I.FACEBOOK]:a.IH.FACEBOOK,[i.I.GOOGLE]:a.IH.GOOGLE,[i.I.WECHAT]:a.IH.WECHAT,[i.I.QQ]:a.IH.QQ,[i.I.LINE]:a.IH.LINE}}async handleLogin(e,t){const o=e,n=await M.Z.thirdWayLogin({access_token:t.access_token,requester_type:o});if(f.Z.close("loginRegisterModal"),n){let e=t?.email;e||(e=n.email),f.Z.openLoginRegisterModal({register:!0,thirdParty:!0,email:e,id:t?.id??"",access_token:t.access_token,requester_type:o,platformId:n.new_username,passwd:n.new_password})}else(0,l.Dg)()}async handleBind(e,t){const{t:o}=(0,m.QT)(),n=e,s=await(0,c.Je)({access_token:t.access_token,requester_type:n}),{updateThirdInfo:i}=(0,d.h)(),a=t.email||s.data.data?.email||"";f.Z.message({type:"success",content:o("lobby.center.security.thirdWay.success")}),i({thirdEmail:u.ZP.emailDesensitization(a),thirdType:this.threeWayMap[e]})}async handleThirdPartyUserInfo(e,t){const{hasLogined:o}=(0,d.h)();o?this.handleBind(e,t):this.handleLogin(e,t)}async speedPackageLogin(e){const t=h.cY.speedPackageConfig;if(t){const o={osType:t.osType};return(0,r.apiGetSystemStatus)(o,{customParams:{useAppEnv:!0}}).then((t=>{const o=JSON.stringify({type:e,payload:s()(t.data.data?.homeGetSysInfo||{},["facebook","google","line"])});window.jsBridge?.postMessage("ThirdLogin",o)})),await new Promise((e=>{window.SpeedPackageThirdLoginCallback=function(t){e(t.payload)}}))}}async handleClick(e,t,o){try{let n;if(h.cY.speedPackageConfig)n=await this.speedPackageLogin(e);else{let s;const i=this.strategies[e];s=i.isSingleton&&"function"==typeof i.getInstance?i.getInstance():new this.strategies[e],t?.(),await s.prepare(),o?.(),n=await s.logIn()}t?.(),await this.handleThirdPartyUserInfo(e,n),o?.()}catch(n){console.error(`三方登录报错: ${n}`),this.showSrviceModal(),o?.()}}};var L=o(85523),P=o(61082);class O{static async initSDK(){const e=b.getInstance();await e.initSDK()}static facebookSharePopup(e=""){const t=h.cY.speedPackageConfig,o=(0,P.Z)().apple.device;t&&o?window.jsBridge?.postMessage("facebookShare",JSON.stringify({href:e??location.href})):FB.ui({display:"popup",method:"share",href:e??location.href})}}},24393:function(e,t,o){o.d(t,{Z:function(){return h},e:function(){return u}});var n=o(55433),s=o(46851),i=o(5523),a=o(75990),r=o(75310),c=o(91475),l=o(85523),m=o(39169),d=o(20144);class h extends i.E{constructor(...e){super(...e),(0,n.Z)(this,"initd",!1),(0,n.Z)(this,"loginResolve",null),(0,n.Z)(this,"siteListener",this.createListener())}get hasSDK(){return"function"==typeof window?.google?.accounts?.id?.initialize}async initSDK(){this.hasSDK||await(0,r.yu)({id:"google-sdk",src:"https://accounts.google.com/gsi/client"})}sdkInitialize(){if(this.initd)return;this.initd=!0;const{systemInfos:e}=(0,c.h)();this.siteListener.create(),google.accounts.id.initialize({client_id:e?.google.app_id??"none",use_fedcm_for_prompt:!0,callback:e=>{this.siteListener.cancel(),this.loginResolve?.({access_token:e.credential,email:""})}})}async button(e){return await this.initSDK(),new Promise((t=>{this.sdkInitialize();const{language:o}=(0,c.h)(),n=s.CM.ServiceLanguageMap[o];google.accounts.id.renderButton(e,{type:"icon",theme:"outline",size:"large",logo_alignment:"center",shape:"circle",locale:n}),this.loginResolve=t}))}async prompt(){return await this.initSDK(),new Promise((e=>{this.sdkInitialize(),google.accounts.id.prompt((e=>{e.isDisplayed()||(this.siteListener.cancel(),m.Z.myDebug("google_login",e))})),this.loginResolve=e}))}async prepare(){const{language:e}=(0,c.h)();return await this.initSDK(),new Promise((async t=>{const o=s.CM.ServiceLanguageMap[e];google.accounts.id.renderButton(l.Z.googleBtn,{type:"standard",theme:"filled_blue",text:"continue_with",locale:o});const n=document.querySelector("#google-btn-help > div > div > div");n&&(n.style.display="none"),l.Z.hideButton(),await(0,a.gw)(1e3),t()}))}async logIn(){return new Promise((async(e,t)=>{this.loginResolve=e,await(0,a.gw)(1e3),l.Z.showButton();const o=document.querySelector("#google-btn-help iframe");if(await(0,a.gw)(1e3),"0px"===o?.style?.width){const e=o.src;o.src=e,await(0,a.gw)(1e3),"0px"===o?.style?.width&&t("Google.login error")}}))}cancel(){try{setTimeout((()=>{google.accounts.id.cancel()}))}catch(e){}}createListener(){let e;const t=()=>{e&&e.$destroy(),e=null};return{create:()=>{e=new d.default({computed:{siteMaintenanceStatus:()=>(0,c.h)().siteMaintenanceStatus}}),e.$watch("siteMaintenanceStatus",(e=>{e&&(this.cancel(),t())}),{immediate:!0})},cancel:t}}}(0,n.Z)(h,"className","GoogleLoginStrategy");const u=new h},5523:function(e,t,o){o.d(t,{E:function(){return s}});var n=o(55433);class s{constructor(){}static getInstance(){const e=this?.className;return s.instances.hasOwnProperty(e)||(s.instances[e]=new this),s.instances[e]}}(0,n.Z)(s,"instances",{}),(0,n.Z)(s,"isSingleton",!0)},23247:function(e,t,o){o.d(t,{I:function(){return s}});var n=o(62933);let s;!function(e){e[e.FACEBOOK=n.uD.FACEBOOK]="FACEBOOK",e[e.GOOGLE=n.uD.GOOGLE]="GOOGLE",e[e.WECHAT=n.uD.WECHAT]="WECHAT",e[e.QQ=n.uD.QQ]="QQ",e[e.LINE=n.uD.LINE]="LINE"}(s||(s={}))},6096:function(e,t,o){o.d(t,{Z:function(){return x}});var n,s,i,a,r,c,l=o(82492),m=o.n(l),d=o(4942),h=o(53229),u=o(62933),g=o(46851),p=o(9248),y=o(5860),f=o(71751),b=o(75990),_=o(75812),S=o(95156),E=o(96309),w=o(58217),T=o(91475),A=o(78910),D=o(88781),R=o(53745),M=o(38521),C=o(97813),I=o(11974),L=o(95059),P=o(21615),O=o(53579),v=o(30727),N=o(72902),B=o(41800);const k=(0,A.VK)();var H;!function(e){e.WIFI="wifi",e.CELLULAR="cellular",e.NONE="none",e.UNKNOWN="unknown"}(H||(H={}));let x=(n=(0,p.ME)(),s=(0,p.ME)(),i=(0,p.ME)(),a=(0,p.ME)(),c=class e{static get getIsP2aParamsByChannel(){return k?{isPwa:1}:{}}static get createLoginBasePayload(){const{osType:e,uuid:t}=(0,T.h)();return{clientType:5,jpush_id:"",loginId:t,os_type:P.cY.package.isLite?P.cY.speedPackageConfig?.osType:e,deviceOsType:g.Uh.getDeviceOsType(),deviceModel:g.Uh.getDeviceModel(),...v.Z.getChannelInfo(),...P.cY.package.isLite?{clientType:2,mtpush_id:P.cY?.speedPackageConfig?.pushId}:{},...P.cY.package.isWebClip?{clientType:2}:{},domain:location.origin}}static get networkTypeParam(){const e=this.getNetworkType;let t=e.type.toString();return e.type===H.CELLULAR&&e.effectiveType&&(t+=`-${e.effectiveType.toString()}`),t.toUpperCase()}static get getNetworkType(){const e=navigator;let t=H.UNKNOWN,o="unknown";if(e?.connection)switch(e.connection.type){case"wifi":t=H.WIFI;break;case"cellular":t=H.CELLULAR,o=e.connection.effectiveType||"unknown";break;case"none":t=H.NONE;break;default:e.connection.effectiveType?(t=H.CELLULAR,o=e.connection.effectiveType):t=H.UNKNOWN}return{type:t,isWifi:t===H.WIFI,effectiveType:o}}static extractVersion(e,t){if(!t)return"";const o=t.exec(e);return o?` ${o[1].replace("_",".")}`:""}static get getOSVersion(){const t=window.navigator.userAgent;for(const{regex:o,versionRegex:n,name:s}of e.OS_REGEXES)if(o.test(t)){return s+this.extractVersion(t,n)}return"Unknown OS"}static logSend(e,t){const{userLoginInputType:o}=(0,M.J)(),{rememberPwd:n}=(0,T.h)(),s={...e,username:String(t?.username),rememberAccountPassword:o,rememberStatus:n?1:0};(0,_.C1)("login",s),g.xN.dispatch({type:"MONITOR_EVENT",eventName:"IndicatorB",payload:s})}static async logout(){const{userInfos:e,updateUserInfos:t,networkProtect:o,$patch:n}=(0,T.h)();setTimeout((()=>{o()}),10);try{g.xN.dispatch({type:"LOGOUT_BEFORE"}),await(0,y.apiLogout)(),g.xN.dispatch({type:"LOGOUT_SUCCESS",payload:{userInfos:{username:e?.username}}}),n({loginRegisterPhoneNumber:""}),(0,_.C1)("logout",{username:String(e?.username)})}finally{t(null),(0,C.m)().myRest(),(0,R.M)().myReset(),g.sG.Page.toRoot()}}static async logoutModal(){const{t:t}=(0,w.QT)(),o=g.sG.Modal.create({title:t("lobby.common.tips.title"),titlePosition:"center",titleType:"info",class:"my-modal-base-cancel",content:t("lobby.header.logoutTips"),onCancel:async()=>{try{await e.logout(),o.destroy(),N.Z.destroy()}catch(t){console.error(t)}},cancelText:t("lobby.header.logoutOkText"),okText:t("lobby.header.logoutCancelText")})}static async login(e,t){const{loginSecurityVerify:o}=(0,M.J)();o===u.z1.SKIP&&(e.validatePassed=o);const[n,s]=await(0,B.Z)((0,y.apiLogin)(e,t));if(n){const{msg:e}=(0,b.n8)(n);return this.handleLoginError("normal",n.message||e),Promise.reject(n)}const i=s?.data?.code,a=s?.data?.data;return i===g.CM.ServiceCode.SUCCESS&&a?.loginVerify&&a.loginVerifyInfo?.username?(await O.Z.close("loginRegisterModal"),await O.Z.close("veriryBindPhone"),O.Z.open("loginAuthModal",{formData:{...e,username:a.loginVerifyInfo.username},loginVerify:a.loginVerify,afterClose:()=>{(0,D.Dg)()}}),Promise.reject()):a?(this.handleLoginSuccess(a,"normal",e.userpass),this.loginSuccessAutoFillData(e),a):void 0}static async loginSuccessAutoFillData(e){const{pushAutoFillData:t,rememberPwd:o,smsSegment:n}=(0,T.h)(),s={loginType:e.loginType,smsSegment:n};switch(e.loginType){case u.CM.Phone:case u.CM.PhonePass:const t=(e?.phone??"").split("-");s.account=t[1];break;case u.CM.Email:case u.CM.EmailPass:s.account=e.email;break;default:s.account=e.username}(0,T.h)().setAutoFillAccount(s.account);const i=e.loginType,{Account:a,PhonePass:r,EmailPass:c}=u.CM,l=void 0!==i&&!o&&[a,r,c].includes(i);(o||l)&&(s.userpass=l?"":e.userpass,t(s))}static async isRegistered(e){const[t,o]=await(0,B.Z)((0,y.apiCheckUsername)({username:e}));return!t&&!o.data.data?.available}static async getSuggestions(e){const[,t]=await(0,B.Z)((0,y.apiCheckUsername)({username:e}));return{canRegister:t?.data.data?.available??!0,suggestions:t?.data.data?.suggestions??[]}}static validatePassword(e){const{strongPasswdRequireUppercase:t,strongPasswdRequireLowercase:o,strongPasswdRequireNum:n,strongPasswdRequireSpecial:s,strongPasswdLength:i}=(0,T.h)()?.systemInfos;return!(e.length<i)&&(!(n&&!/\d/.test(e))&&(!(s&&!/[!@#$%^&*_=+-,./?]+/.test(e))&&(!(o&&!/[a-z]/.test(e))&&!(t&&!/[A-Z]/.test(e)))))}static updateUserinfoByCallFastLogin(e){const{updateUserInfos:t}=(0,T.h)();t({...e},"fastlogin")}static async handleLoginSuccess(e,t,o){O.Z.close("firstChargeConstant");const{updateUserInfos:n,systemInfos:s,updateBrowserFingerId:i}=(0,T.h)(),{loginPasswdStrengthDetectSwitch:a,strongPasswdWeakLoginRemind:r}=s,{t:c}=(0,w.QT)();if(e){const s=(0,f.V)(o??"",e.platfromid);e.account_type===u.Qm.Normal&&e.userkey&&o&&a&&r&&s<2&&O.Z.message({type:"warning",content:c("lobby.modal.login.passwordHint")}),"fastlogin"===t?this.updateUserinfoByCallFastLogin(e):(n(e,t),i(e.deviceFingerprint)),this.logSend({login_type:t,if_success:!0},e),"fastlogin"===t?(0,E.g)().getByTemplate():((0,S.P)().$reset(),(0,R.M)().myReset(),(0,C.m)().myRest(),(0,I.NV)().myReset()),(0,E.g)().fetchPlatformExchangeList(),(0,T.h)().listenChangeGameGold()}}static handleLoginError(e,t){this.logSend({login_type:e,if_success:!1,fail_reason:t})}static async fastLogin(e,t={retry:!0,noErrorMessage:!1,clearTokenOnError:!1,isRetryMode:!1}){const o=!!e.userkey,{retry:n=!1,noErrorMessage:s=!0,isRetryMode:i=!1}=t,[a,r]=await(0,B.Z)(o?(0,y.apiFastLogin)(e,s||!i):(0,y.apiGetFastLogin)(s||!i));if(a){if(!n||i)return g.Uh.reset(),this.handleLoginError("fastlogin",a.message||a?.data?.msg),Promise.reject(a);await this.fastLogin(e,{...t,isRetryMode:!0})}const c=r?.data?.data,{tokenInfos:l,tokenInfosFromUrl:m}=(0,L.u)();if(c){const e=o?c:Object.assign({},c,l||m);this.handleLoginSuccess(e,"fastlogin")}}static mockUnLoginedUserInfo(e={}){const{updateUserInfos:t,currentTryCurrency:o}=(0,T.h)();t({game_gold:2e3,account_type:1,platfromid:"web_lobby_guest_account",mode:0,currency:e?.tryCurrency?.currencyCode||o?.currencyCode||""},"trymode")}static async thirdWayLogin(e,t){const{updateUserInfos:o}=(0,T.h)(),[n,s]=await(0,B.Z)((0,y.apiThirdWayLogin)(e,t));if(n)return this.handleLoginError("thirdWayLogin",n.message||n?.data?.msg),Promise.reject(n);const i=s?.data?.data;if(i){if(100===i.code)return i;o(i,"thirdlogin"),(0,S.P)().$reset(),(0,I.NV)().myReset(),(0,R.M)().myReset(),(0,C.m)().myRest(),this.logSend({login_type:"thirdWayLogin",if_success:!0},i)}}static async thirdWayRegister(e,t){const{updateUserInfos:o}=(0,T.h)(),[n,s]=await(0,B.Z)((0,y.apiThirdWayRegister)(e,t));if(n)return this.handleLoginError("thirdWayRegister",n.message||n?.data?.msg),Promise.reject(n);const i=s?.data?.data;i&&((0,T.h)().showRegisterRecharge=!0,o(i,"thirdlogin"),(0,S.P)().$reset(),(0,I.NV)().myReset(),(0,R.M)().myReset(),(0,C.m)().myRest(),this.logSend({login_type:"thirdWayRegister",if_success:!0},i))}static async updatePrize(e=0){const{updateUserInfos:t}=(0,T.h)(),[o]=await Promise.all([(0,y.apiGetHomeGold)(),(0,b.gw)(e)]);t(m()({},(0,T.h)().userInfos,{auditMode:o.data.data?.auditMode,bonus:o.data.data?.bonus,game_gold:o.data.data?.game_gold,bonusRequireBet:o.data.data?.bonusRequireBet}))}static async preRegisterVerify(e,t){return await(0,y.apiRreRegisterVerify)(e,t)}static async register(e,t){const o=await(0,y.apiRegister)(e,t),{userkey:n,deviceFingerprint:s}=o.data.data||{};s&&(0,T.h)().updateBrowserFingerId(s),n&&((0,T.h)().showRegisterRecharge=!0,await this.fastLogin({userkey:n}).catch((()=>{})))}},(0,d.Z)(c,"OS_REGEXES",[{regex:/Windows NT 11.0/,name:"Windows 11"},{regex:/Windows NT 10.0/,name:"Windows 10"},{regex:/Windows NT 6.3/,name:"Windows 8.1"},{regex:/Windows NT 6.2/,name:"Windows 8"},{regex:/Windows NT 6.1/,name:"Windows 7"},{regex:/iPhone|iPad|iPod/,versionRegex:/OS (\d+_\d+)/,name:"iOS"},{regex:/Mac OS X (?!.*Mobile)/,versionRegex:/Mac OS X (\d+\.\d+)/,name:"MacOS"},{regex:/Android/,versionRegex:/Android (\d+\.\d+)/,name:"Android"}]),r=c,(0,h.Z)(r,"login",[n],Object.getOwnPropertyDescriptor(r,"login"),r),(0,h.Z)(r,"thirdWayLogin",[s],Object.getOwnPropertyDescriptor(r,"thirdWayLogin"),r),(0,h.Z)(r,"thirdWayRegister",[i],Object.getOwnPropertyDescriptor(r,"thirdWayRegister"),r),(0,h.Z)(r,"register",[a],Object.getOwnPropertyDescriptor(r,"register"),r),r)},70539:function(e,t,o){o.d(t,{Z:function(){return m}});var n=o(34731),s=o(62933),i=o(46851),a=o(35829),r=o(91475),c=o(12832);const l=new Map([["hotIcon",n.ck.Hot],["chessCardIcon",n.ck.Chess],["fishingIcon",n.ck.Fish],["electronicIcon",n.ck.Electronic],["personIcon",n.ck.Real],["sportsIcon",n.ck.Sports],["lotteryIcon",n.ck.Lottery],["clubIcon",n.ck.Club],["friendIcon",n.ck.ClubFriend],["athleticsIcon",n.ck.Gaming]]);class m{static get isNormalLayout(){const{isWeb:e}=(0,r.h)(),{isClassicStyle:t}=c.Z.currentTheme();return t&&!e}static get mineBg(){const e={};if(!m.isNormalLayout)return e;const{homeLayoutInfos:t}=(0,r.h)();return t&&t.centerImages?.length>0&&(e.backgroundImage=`url(${t.centerImages})`,e.backgroundSize="cover"),e}static get hellBg(){const{isWeb:e}=(0,r.h)(),t={};if(e)return t;if(i.sG.App.$route.name!==a.x4.GAME)return t;const{isTheme14:o,isTheme46:n,isTheme48:s,isTheme45:l,isTheme49:d}=c.Z.currentTheme();if(o)return t.backgroundImage="/lobby_asset/{layout}-{bg}-common/common/home/img_db_dt_bg.png",t.backgroundSize="100% 100%",t.backgroundPosition="0px 0px",t;if(n)return t.backgroundImage="/lobby_asset/{layout}-{bg}-{skin}/common/home/img_db_dt_bg.png",t.backgroundSize="100% auto",t.backgroundPosition="0px -90px",t;if(d)return t.backgroundImage="/lobby_asset/{layout}-{bg}-{skin}/web/home/img_db_dt_bg.png",t.backgroundSize="100%",t.backgroundPosition="0 -0.9rem",t;if(l)return t.backgroundImage="/lobby_asset/{layout}-{bg}-{skin}/common/home/img_db_dt_bg.png",t.backgroundSize="100% auto",t.backgroundPosition="0px 0px",t;if(s)return t.backgroundImage="/lobby_asset/{layout}-{bg}-{skin}/common/home/img_db_dt_bg.png",t.backgroundSize="100%",t.backgroundPosition="0px -0.9rem",t;if(!m.isNormalLayout)return t;const{homeLayoutInfos:h}=(0,r.h)();if(h&&h.hallLoginImage?.length>0){t.backgroundImage=h.hallLoginImage,t.backgroundSize="cover";const e=h.cutOffset;if(window.outerHeight<=1920&&e){const o=1080,n=2340,s=n*(window.outerWidth/o)*(e/n);t.backgroundPositionY=`-${s}px`}return t}}static get tabBarBg(){const e={};if(!m.isNormalLayout)return e;const{homeLayoutInfos:t}=(0,r.h)();return t&&t.bottomImages?.length>0&&(e.backgroundImage=`url(${t.bottomImages})`,e.backgroundSize="contain"),e}static get gameListBg(){let e=null;if(!m.isNormalLayout)return e;const{homeLayoutInfos:t}=(0,r.h)();return t&&t.gameImages?.length>0&&(e=t.gameImages),e}static get hellTabsBg(){let e=null;if(!m.isNormalLayout)return e;const{homeLayoutInfos:t}=(0,r.h)();return t&&t.gameMenuBasemap?.length>0&&(e=t.gameMenuBasemap),e}static get hellTabsActive(){let e=null;if(!m.isNormalLayout)return e;const{homeLayoutInfos:t}=(0,r.h)();return t&&t.gameMenuSelectBasemap?.length>0&&(e=t.gameMenuSelectBasemap),e}static get hellBigTabsBg(){let e=null;if(!m.isNormalLayout)return e;const{homeLayoutInfos:t}=(0,r.h)();return t&&t.gameMenuBasemap2?.length>0&&(e=t.gameMenuBasemap2),e}static get hellBigTabsActive(){let e=null;if(!m.isNormalLayout)return e;const{homeLayoutInfos:t}=(0,r.h)();return t&&t.gameMenuSelectBasemap2?.length>0&&(e=t.gameMenuSelectBasemap2),e}static useHomeCustomizeIcon(e){const{homeLayoutInfos:t}=(0,r.h)(),{homeTopImage:o,homeMiddleImage:n,homeBottomImage:s}=t||{},i=new Map,a=new Map,c=new Map;return m.isNormalLayout?("top"===e&&o?.forEach((e=>{i.set(e.key,e.value)})),"middle"===e&&n?.forEach((e=>{a.set(e.key,e.value)})),"bottom"===e&&s?.forEach((e=>{c.set(e.key,e.value)})),{customizeTopIconMap:i,customizeMiddleIconMap:a,customizeBottomIconMap:c}):{customizeTopIconMap:i,customizeMiddleIconMap:a,customizeBottomIconMap:c}}static useGameShowImage(){const{homeLayoutInfos:e}=(0,r.h)(),{gameShowImage:t,gameSelectedImage:o}=e||{},n=new Map,s=new Map;return m.isNormalLayout||c.Z.currentTheme().isTheme32?(t?.forEach((e=>{const t=l.get(e.key);void 0!==t&&n.set(t,e.value)})),o?.forEach((e=>{const t=l.get(e.key);void 0!==t&&s.set(t,e.value)})),{gameIconMap:n,gameIconSelectMap:s}):{gameIconMap:n,gameIconSelectMap:s}}static useOwnerCustomizeIcon(e){const{homeLayoutInfos:t}=(0,r.h)(),{ownerTopImage:o,ownerMiddleImage:n,ownerBottomImage:s}=t||{},i=new Map,a=new Map,c=new Map;return m.isNormalLayout?("top"===e&&o?.forEach((e=>{i.set(e.key,e.value)})),"middle"===e&&n?.forEach((e=>{a.set(e.key,e.value)})),"list"===e&&s?.forEach((e=>{c.set(e.key,e.value)})),{ownerTopIconMap:i,ownerMiddleIconMap:a,ownerBottomIconMap:c}):{ownerTopIconMap:i,ownerMiddleIconMap:a,ownerBottomIconMap:c}}static setGlobalTextColor(){try{if(!m.isNormalLayout)return;const{homeLayoutInfos:e}=(0,r.h)();if(!e)return;const t=document.documentElement.style,{hallLoginImageColor:o,hallLoginBasePlateColor:n,importantButtonColor:i,generalButtonColor:a,otherColor:c}=e;o?.length>0&&(t.setProperty("--theme-bg-color",o),t.setProperty("--theme-home-bg",o)),n?.length>0&&(t.setProperty("--theme-main-bg-color",n),t.setProperty("--theme-game-card-ddt_icon",n),t.setProperty("--theme-side-footer-bg-color",n));const l={[s.hP.generalColor]:"",[s.hP.generalCentreColor]:"",[s.hP.importantColor]:"",[s.hG.ordinaryColor]:"",[s.hG.secondaryColor]:"",[s.hG.weakerColor]:"",[s.DN.leftUnColor]:"",[s.DN.leftOnColor]:"",[s.DN.bottomUnColor]:""};i?.length>0&&i.forEach((e=>{l[e.key]=e.value})),a?.length>0&&a.forEach((e=>{l[e.key]=e.value})),c?.length>0&&c.forEach((e=>{l[e.key]=e.value})),l[s.hP.generalColor].length>0&&(t.setProperty("--theme-primary-color",l[s.hP.generalColor]),t.setProperty("--theme-active-bg-color",l[s.hP.generalColor]),t.setProperty("--theme-ant-primary-color-0",l[s.hP.generalColor])),l[s.hP.generalCentreColor].length>0&&t.setProperty("--theme-primary-font-color",l[s.hP.generalCentreColor]),l[s.hP.importantColor].length>0&&t.setProperty("--theme-text-color-darken",l[s.hP.importantColor]),l[s.hG.ordinaryColor].length>0&&t.setProperty("--theme-text-color",l[s.hG.ordinaryColor]),l[s.hG.secondaryColor].length>0&&(t.setProperty("--theme-text-color-lighten",l[s.hG.secondaryColor]),t.setProperty("--theme-text-color-placeholder",l[s.hG.secondaryColor])),l[s.hG.weakerColor].length>0&&t.setProperty("--theme-color-line",l[s.hG.weakerColor]),l[s.DN.leftUnColor].length>0&&t.setProperty("--theme-text-color-side-tabs",l[s.DN.leftUnColor]),l[s.DN.leftOnColor].length>0&&t.setProperty("--theme-aside-active-font-color",l[s.DN.leftOnColor]),l[s.DN.bottomUnColor].length>0&&t.setProperty("--theme-btm-def-color",l[s.DN.bottomUnColor])}catch(e){console.error(e)}}}},1850:function(e,t,o){o.d(t,{Eg:function(){return S},J$:function(){return R},V9:function(){return L},VQ:function(){return P},Yc:function(){return I},eH:function(){return _},fL:function(){return w},lH:function(){return M},qF:function(){return C},rz:function(){return E},tM:function(){return A},vK:function(){return T},vL:function(){return D}});var n=o(5621),s=o(46851),i=o(18441),a=o(32205),r=o(35829),c=o(99934),l=o(75990),m=o(58217),d=o(91475),h=o(21615),u=o(75812),g=o(53579),p=o(37205),y=o(30859),f=o(61082);const b=()=>s.sG.App.$router,_=(e=n.u.WITHDRAW)=>{const{hasLogined:t,validateConfig:{hasWithdrawPwd:o}}=(0,d.h)();if(o)b().push({name:r.x4.WITHDRAW,query:{current:e.toString()}});else{const{t:o}=(0,m.QT)();t&&s.sG.Modal.message({type:"warning",content:o("lobby.center.security.forceBindWidthdrawPass")}),b().push({name:r.x4.SECURITY,query:{current:c.r.WITHDRAWPASS.toString(),isCallbackWithdraw:e.toString()}})}},S=()=>{const{hasLogined:e}=(0,d.h)();e?b().push({name:r.x4.FORBIDDEN_SELF}):g.Z.openLoginRegisterModal({login:!0})},E=()=>{const{unreadAnnouncement:e,unreadNotice:t}=(0,y.G)();let o;o=e>0&&0===t?i.O.ANNOUNCEMENT:i.O.NOTICE,b().push({name:r.x4.NOTICE,query:{noticeType:String(o)}})},w=()=>{b().push({name:r.x4.NOTICE,query:{noticeType:`${i.O.SERVICE}`}})},T=()=>{g.Z.open("payModal")},A=()=>{b().push({name:r.x4.SECURITY})},D=()=>{s.xN.dispatch({type:"download_app"})},R=()=>{b().push({name:r.x4.REPORT,query:{current:a.r.ACCOUNT_DETAILS}})},M=()=>{b().push({name:r.x4.REPORT,query:{current:a.r.BETTING_RECORD}})},C=()=>{_(n.u.ACCOUNT)},I=()=>{b().push({name:r.x4.SECURITY,query:{current:`${c.r.EMAIL}`}})},L=()=>{const{validateConfig:e}=(0,d.h)();e.hasPhoneNumber?g.Z.open("veriryBindPhone",{verifyScene:p.O.DEPOSIT_GAME_SMS_VERIFY,desensitizedPhoneNumber:e.phoneNumber,onSuccess:()=>{g.Z.close("veriryBindPhone")}}):b().push({name:r.x4.SECURITY,query:{current:`${c.r.PHONE}`}})},P=(e,t)=>{let o="";o=(0,f.Z)().apple.device?e.iosAddr:e.andriodAddr;const n=encodeURIComponent(t);switch(e.name.toLowerCase()){case"facebook":(0,f.Z)().apple.device?o+=`?link=${n}`:o+=`?u=${n}`;break;case"twitter":case"x":case"telegram":o+=`?url=${n}`;break;case"whatsapp":case"line":case"threads":o+=`?text=${n}`}if((0,l.zp)(t),"facebook"==e.name.toLowerCase()){const e=h.cY.speedPackageConfig,n=(0,f.Z)().apple.device;e&&n?window.jsBridge?.postMessage("facebookShare",JSON.stringify({href:t})):n?window.location.href=`${o}`:(0,u.MI)(o)}else(0,u.MI)(o)}},98754:function(e,t,o){o.d(t,{C:function(){return c}});var n=o(57557),s=o.n(n),i=o(55433),a=o(69483);const r=o.n(a)().createInstance({name:"network-response"});class c extends class{}{constructor(e=(()=>({state:[]})),t={}){super(),(0,i.Z)(this,"createStore",(()=>({state:[]}))),(0,i.Z)(this,"store",{state:[]}),(0,i.Z)(this,"options",{}),this.options=t,this.createStore=e;(this.options.setup??!0)&&this.setup()}get namespace(){return this.options.namespace||(e=>`${e}`)}setup(){this.store=this.createStore(),this.clear(),this.options.expired&&this.expire(!0)}cancelCacheUrls(e){this.expire(!1,e)}dep(e){return[]}defaultUse(e){return!1}clear(){const e=Date.now(),t=this.options.maxExpiredTime??6048e5,o=this.options.clear||(()=>!1);this.store.state=this.store.state.filter((n=>{const s=!o(n)||e-n.expiration<=t;return s||r.removeItem(this.namespace(n.id)),s}))}id(e,t,o){return"function"==typeof t?t(e,o):Array.isArray(t)?`${e}:${t.join(":")}`:e}beforeSet(e,t={axiosRequestConfig:{}}){}afterGet(e,t={axiosRequestConfig:{}}){}expire(e=!1,t=[]){const o=Date.now(),n=o-1;this.store.state.forEach((s=>{(e||t.includes(s?.url)?s.expiredOnReload&&s.expiration>o:s.expiration)&&(s.expiration=n)}))}has(e,{checkExpiration:t=!1,cacheDep:o=(e=>e),axiosRequestConfig:n={}}={axiosRequestConfig:{}}){const s=this.store.state.find((t=>t.id===this.id(e,o,n)));if(t){return!!(s&&s.expiration>Date.now())}return!!s}set(e,t,{cacheTime:o=3e5,cacheDep:n=(e=>e),axiosRequestConfig:i={}}={axiosRequestConfig:{}}){const a=this.id(e,n,i),c=this.store.state.findIndex((e=>e.id===a)),l=i?.customParams?.cacheExpiredOnReload,m="function"==typeof l?l():l,d=Object.freeze({id:a,raw:t,url:i?.url||"",expiration:Date.now()+o,expiredOnReload:m??!0});this.beforeSet(d,{cacheTime:o,cacheDep:n,axiosRequestConfig:i});const h=s()(d,["raw"]);-1===c?this.store.state.push(h):this.store.state.splice(c,1,h),r.setItem(this.namespace(d.id),d.raw),this.clear()}async get(e,{checkExpiration:t=!1,cacheDep:o=(e=>e),axiosRequestConfig:n={}}={axiosRequestConfig:{}}){if(this.has(e,{checkExpiration:t,cacheDep:o,axiosRequestConfig:n})){const s=this.store.state.find((t=>t.id===this.id(e,o,n)));if(s){const e=this.namespace(s.id),i=await r.getItem(this.namespace(e));return this.afterGet({...s,raw:i},{checkExpiration:t,cacheDep:o,axiosRequestConfig:n}),Object.assign({},i,{WITH_CACHED:e})}return null}}delete(e,{cacheDep:t=(e=>e),axiosRequestConfig:o={}}={axiosRequestConfig:{}}){const n=this.id(e,t,o),s=this.store.state.findIndex((e=>e.id===n));this.store.state.splice(s,1),r.removeItem(this.namespace(n))}}},6151:function(e,t,o){o.d(t,{R:function(){return b}});var n=o(27361),s=o.n(n),i=o(78718),a=o.n(i),r=o(57557),c=o.n(r),l=o(50361),m=o.n(l),d=o(55433),h=o(98754),u=o(46851),g=o(81354),p=o(61413),y=o(80129),f=o.n(y);class b extends class{}{constructor(e){super(),(0,d.Z)(this,"queue",{}),(0,d.Z)(this,"pauseQueue",{}),(0,d.Z)(this,"resultMapper",new Map),(0,d.Z)(this,"cache",new h.C),this.instance=e,this.instance.interceptors.request.use((e=>(this.setup(e),this.encode(e),this.beforeSend(e),e))),this.instance.interceptors.response.use((e=>(this.afterResponse(e),this.decode(e),this.checkErrorType(e)?this.catch(e):this.unpack(e))),(e=>this.catch(e)))}identify(e){const t=e?._origin_?.url||e.url;return(0,g.MD5)(`${t}${f().stringify(e.data)}${f().stringify(e.params)}`).toString()}has(e,t){return!!this.queue[e]&&!!t}paused(e,t){return!1}resume(...e){}resumeHandler(e,t){e=e._origin_||e;const o=`${this.identify(e)}-${t}`;this.pauseQueue[o].resolve(""),delete this.pauseQueue[o]}beforeSend(e){}afterResponse(e){}setup(e){}unpack(e){return e}queuefy(e,t,o){this.queue[e]?this.queue[e].push([t,o]):this.queue[e]=[[t,o]]}request(e,t=0){const o=e._lastAxiosResponse,n=e?._retryByTimeout;o?.config._lastAxiosResponse&&delete o.config._lastAxiosResponse,(e=e._origin_||e)._retryCount=t,e._origin_=m()(c()(e,["_origin_"])),e._lastAxiosResponse=m()(o),t>0&&n&&void 0===e.timeout&&(e._retryByTimeout=!0,e.timeout=1e4);let i=0;const r=e.customParams?.cacheDep||this.cache.dep(e),l=e.customParams?.useCache??!0,d=!e.customParams?.noMerge??!0;!0===e.customParams?.cache||void 0===e.customParams?.cache&&this.cache.defaultUse(e)?i=3e5:"number"==typeof e.customParams?.cache&&(i=Math.max(e.customParams?.cache??0,0));const h=this.identify(e);return new Promise(((o,n)=>{const c=()=>{const t=e=>{d?((this.queue[h]||[]).splice(0).forEach((([t])=>{t(e)})),delete this.queue[h]):o(e)},c=e=>{d?((this.queue[h]||[]).splice(0).forEach((([,t])=>{t(e)})),delete this.queue[h]):n(e)},m=()=>{this.instance.request(e).then((o=>{t(o);const n={...a()(o,["data","status"]),config:{...a()(s()(o,"config"),["url"]),headers:{...a()(s()(o,"config.headers"),["x-request-id"])}},headers:{...a()(s()(o,"headers"),["x-trace-id"])}};(i||this.cache.has(h,{cacheDep:r,axiosRequestConfig:e}))&&this.cache.set(h,n,{cacheDep:r,cacheTime:i,axiosRequestConfig:e})})).catch((o=>{const n=o?.config?.customParams?.useCacheInError?.(o,this.checkErrorType(o)),i=(0,p.L)(o?.config?.url);if(o?.data?.code===u.CM.ServiceCode.USER_RESTRICT_ERROR&&i){const e={...a()(o,["data","status"]),config:{...a()(s()(o,"config"),["url"]),headers:{...a()(s()(o,"config.headers"),["x-request-id"])}},headers:{...a()(s()(o,"headers"),["x-trace-id"])}};this.cache.set(i,e,{cacheTime:3e5,cacheDep:[],axiosRequestConfig:{}})}n&&this.cache.has(h,{cacheDep:r,axiosRequestConfig:e})?this.cache.get(h,{cacheDep:r,axiosRequestConfig:e}).then((e=>{t(e)})).catch((()=>{c(o)})):c(o)}))},g=(0,p.L)(e.url);g&&this.cache.has(g,{checkExpiration:!0,cacheDep:[],axiosRequestConfig:{}})?this.cache.get(g,{checkExpiration:!0,cacheDep:[],axiosRequestConfig:{}}).then((t=>{t?(c(t),!0!==e?.customParams?.silentOnError&&u.xN.dispatch({type:"USER_RESTRICT_ERROR",payload:t})):m()})).catch((()=>{m()})):l&&i>0&&this.cache.has(h,{cacheDep:r,checkExpiration:!0,axiosRequestConfig:e})?this.cache.get(h,{cacheDep:r,checkExpiration:!0,axiosRequestConfig:e}).then((e=>{t(e)})).catch((()=>{m()})):m()};if(t>0)return void c();if(d){if(this.has(h,e))return void this.queuefy(h,o,n);this.queuefy(h,o,n)}const m=this.paused(e,h);m?new Promise((t=>{this.pauseQueue[`${h}-${m}`]={url:e.url||"",resolve:t}})).then((()=>{c()})):c()}))}}},79888:function(e,t,o){var n=o(4942),s=(o(82801),o(81354)),i=o.n(s);const a=l;function r(){const e=["MD5","atob","ECB","CBC","Utf8","1460864qjjWOL","enc","openLog","ZeroPadding","Pkcs7","stringify","tgJt2ol!^E)E8(%P","6463818grQCWz","decrypt","c2lnbktleQ==","3520731uIWgyn","1774563kOakSn","12695bcHbXF","2204496lJlgrJ","string","mode","parse","1172TATSGP","AES","394nuWqtc","aXY=","ossDecrypt","5421698523412578","toString","encrypt","7039adsIlc"];return(r=function(){return e})()}!function(e,t){const o=l,n=e();for(;;)try{if(801331===-parseInt(o(510))/1*(parseInt(o(504))/2)+parseInt(o(495))/3+-parseInt(o(502))/4*(parseInt(o(497))/5)+parseInt(o(492))/6+parseInt(o(496))/7+parseInt(o(516))/8+parseInt(o(498))/9)break;n.push(n.shift())}catch(s){n.push(n.shift())}}(r);class c{constructor(){const e=l;(0,n.Z)(this,e(494),e(491)),(0,n.Z)(this,e(487),!1),(0,n.Z)(this,e(505),i()[e(486)][e(515)][e(501)](e(507)))}md5(e){const t=l;return i()[t(511)](e)[t(508)]()}[a(509)](e,t){const o=a,n=typeof e===o(499)?e:JSON[o(490)](e);return i()[o(503)].encrypt(n,i()[o(486)].Utf8[o(501)](t),{iv:this["aXY="],mode:i()[o(500)][o(514)],padding:i().pad.ZeroPadding})[o(508)]()}[a(493)](e,t,o){const n=a;return i().AES[n(493)](e,i()[n(486)][n(515)].parse(t),{iv:this["aXY="],mode:i()[n(500)][n(514)],padding:i().pad[n(488)],...o})[n(508)](i()[n(486)][n(515)])}[a(506)](e){const t=a;return this.decrypt(e,window[t(512)]("dGhhbmtzLHBpZzRjbG91ZA=="),{mode:i().mode[t(513)],padding:i().pad[t(489)]})}}function l(e,t){const o=r();return(l=function(e,t){return o[e-=486]})(e,t)}t.Z=new c}}]);