"use strict";(self.webpackChunkmy_vue_app=self.webpackChunkmy_vue_app||[]).push([[73548],{16982:function(e,t){t.Z={"route-loading":"t1dO2In0hWSY_CXn1ztr","other-client-login-modal":"N4ho6NvSUSTPOuE36tTH","illegal-request-interception-modal":"WYUQwZrsT6oOMXE8J5K1",common_bganimation:"Gbp0eCLPVubG9jgCWvmY"}},85469:function(e,t){t.Z={primary:"ZuLywNAJTm4ylsXALdMq",red:"A9aJJVL3PADhKFOGUDNt",green:"HI77FtRdvO4aiGOC1sgp",yellow:"XGEOwGXgDL9a2SebPqvj",text:"aZ9nabXWlhiDc8xNLSC4",textDarken:"UwyNP8CcObxeFMJmAhCj",textLighten:"hSnKt39QEO2fma653Cu1",ellipsis:"V4LeFhG0b9lZSmJT8Ynm",common_bganimation:"qzTXLXxmi6cwc5mHlUHL"}},70872:function(e,t,n){n.r(t),n.d(t,{events:function(){return J}});var i=n(67476),s=n(20144);const a=e=>{e.preventDefault()};var o={install:e=>{e.directive("disable-copy-parse",{bind(e,t){s.default.nextTick((()=>{!1!==t.value&&(e.addEventListener("paste",a),e.addEventListener("copy",a),e.addEventListener("cut",a))}))},unbind(e,t){!1!==t.value&&(e.removeEventListener("paste",a),e.removeEventListener("copy",a),e.removeEventListener("cut",a))}})}},r=n(55433);let l,c;!function(e){e[e.X=0]="X",e[e.Y=1]="Y",e[e.BOTH=2]="BOTH"}(l||(l={})),function(e){e[e.OVERFLOW=0]="OVERFLOW",e[e.TRANSLATE=1]="TRANSLATE"}(c||(c={}));class u{constructor(e,t){(0,r.Z)(this,"scrollMode",c.OVERFLOW),(0,r.Z)(this,"clickThresholdTimeout",500),(0,r.Z)(this,"direction",l.X),(0,r.Z)(this,"minMoveDistance",10),(0,r.Z)(this,"preClientInfo",null),(0,r.Z)(this,"onMouseBind",null),(0,r.Z)(this,"isWorking",!1),(0,r.Z)(this,"isStarting",!1),(0,r.Z)(this,"translateModeContext",{onResize:!1,current:{x:0,y:0},initPosition:{init:!1,x:0,y:0}}),(0,r.Z)(this,"beforeShutdownCalls",[]),this.target=e,this.updateContext(t)}get isDirectionX(){return this.direction===l.X}get isDirectionY(){return this.direction===l.Y}get isDirectionBoth(){return this.direction===l.BOTH}get isScrollModeOverflow(){return this.scrollMode===c.OVERFLOW}get isScrollModeTranslate(){return this.scrollMode===c.TRANSLATE}updateContext(e){this.direction=e.direction||this.direction,this.clickThresholdTimeout=e.clickThresholdTimeout||this.clickThresholdTimeout,this.minMoveDistance=e.minMoveDistance||this.minMoveDistance,this.scrollMode=e.scrollMode||this.scrollMode,this.isScrollModeTranslate&&(this.translateModeWindowTarget=e.translateModeWindowTarget||this.target),this.contextCheck()}contextCheck(){var e;this.isScrollModeTranslate&&(this.translateModeWindowTarget||(e="translateModeWindowTarget is not valid HTMLElement",console.error(`Drag2Scroll contextCheck fail: ${e}`)))}registerShutdownCall(e){"function"==typeof e&&this.beforeShutdownCalls.push(e)}getBCKey(e,t){const n=e.getBoundingClientRect();return(t=Array.isArray(t)?t:[t]).reduce(((e,t)=>(e[t]=n[t],e)),{})}getCSKey(e,t){return parseFloat(window.getComputedStyle(e)[t])}getScrollTranslateModeBoundaryValues(){let e=0,t=0,n=0,i=0;return(this.isDirectionBoth||this.isDirectionX)&&(e=0,t=-(this.getCSKey(this.target,"width")-this.getCSKey(this.translateModeWindowTarget,"width"))),(this.isDirectionBoth||this.isDirectionY)&&(n=0,i=-(this.getCSKey(this.target,"height")-this.getCSKey(this.translateModeWindowTarget,"height"))),{xMax:e,xMin:t,yMax:n,yMin:i}}getScrollOverflowModeBoundaryValues(){let e=0,t=0,n=0,i=0;return(this.isDirectionBoth||this.isDirectionX)&&(e=this.target.scrollWidth-this.target.clientWidth,t=0),(this.isDirectionBoth||this.isDirectionY)&&(n=this.target.scrollHeight-this.target.clientHeight,i=0),{xMax:e,xMin:t,yMax:n,yMin:i}}getScrollTranslateModeCurrentMove(e){const{x:t=0,y:n=0}=this.getBCKey(this.target,["x","y"]);if(!this.translateModeContext.initPosition.init){const{current:e,onResize:i}=this.translateModeContext;if(Object.assign(this.translateModeContext.initPosition,{x:t-e.x,y:n-e.y,init:!0}),!i){this.translateModeContext.onResize=!0;const e=()=>{this.translateModeContext.initPosition.init=!1,this.getScrollTranslateModeCurrentMove({xDiff:0,yDiff:0})};window.addEventListener("resize",e),this.registerShutdownCall((()=>{window.removeEventListener("resize",e)}))}}const{xDiff:i,yDiff:s}=e,{x:a,y:o}=this.translateModeContext.initPosition,r={x:t-a+i,y:n-o+s};return Object.assign(this.translateModeContext.current,r),r}getScrollOverflowModeCurrentMove(e){const{scrollLeft:t,scrollTop:n}=this.target,{xDiff:i,yDiff:s}=e;return{x:t-i,y:n-s}}onMouse(){try{let e=!1;this.isStarting=!0;const t=e=>{const{clientX:t,clientY:n}=e;if(this.preClientInfo){const e=t-this.preClientInfo.x,i=n-this.preClientInfo.y;if(!this.isWorking){if((this.isDirectionBoth||this.isDirectionX)&&Math.abs(e)<this.minMoveDistance)return;if((this.isDirectionBoth||this.isDirectionY)&&Math.abs(i)<this.minMoveDistance)return}const s=this.getValidMoveValues({xDiff:e,yDiff:i});this.scrollMode===c.OVERFLOW?this.scrollTo(s):this.scrollMode===c.TRANSLATE&&this.translateTo(s),this.isWorking=!0}this.preClientInfo={x:t,y:n}},n=t=>{(e||this.isWorking)&&(t.preventDefault(),t.stopPropagation()),this.reset()},i=()=>{document.removeEventListener("mousemove",t)};setTimeout((()=>{e=!0}),this.clickThresholdTimeout),document.addEventListener("mousemove",t),document.addEventListener("mouseup",i,{once:!0}),document.addEventListener("click",n,{capture:!0,once:!0})}catch(e){console.error("Drag2Scroll onMouse Error")}}getValidMoveValues(e){const t=(e,t,n)=>e=e<n?n:e>t?t:e,{xMax:n,xMin:i,yMax:s,yMin:a}=this.isScrollModeTranslate?this.getScrollTranslateModeBoundaryValues():this.getScrollOverflowModeBoundaryValues(),{x:o,y:r}=this.isScrollModeTranslate?this.getScrollTranslateModeCurrentMove(e):this.getScrollOverflowModeCurrentMove(e);return{x:t(o,n,i),y:t(r,s,a)}}translateTo(e){const t={x:e.x,y:e.y};this.isDirectionX?t.y=0:this.isDirectionY&&(t.x=0),this.target.style.transform=`translate3d(${t.x}px, ${t.y}px, 0px)`}scrollTo(e){const t={left:e.x,top:e.y};this.isDirectionX?delete t.top:this.isDirectionY&&delete t.left,this.target.scrollTo(t)}reset(){this.preClientInfo=null,this.isStarting=!1,this.isWorking=!1}toWork(){this.onMouseBind=this.onMouse.bind(this),this.target.setAttribute("ondragstart","return false"),this.target.addEventListener("mousedown",this.onMouseBind),this.registerShutdownCall((()=>{this.target.removeAttribute("ondragstart"),this.target.removeEventListener("mousedown",this.onMouseBind)}))}shutdown(){this.beforeShutdownCalls.forEach((e=>e()))}}var d={install:e=>{e.directive("drag2Scroll",{bind(e,t){const{targetQuery:n,...i}=t.value;let s=[e];n&&(s=(Array.isArray(n)?n:[n]).map((t=>e.querySelector(t)))),e.__targets=s;for(const a of s)(a.__drag2Scroll=new u(a,i)).toWork()},inserted(e,t){const{translateModeWindowTargetQuery:n}=t.value;n&&(e.__targets||[]).forEach((e=>{e.__drag2Scroll&&e.__drag2Scroll.updateContext({translateModeWindowTarget:document.querySelector(n)})}))},unbind(e){(e.__targets||[]).forEach((e=>e.__drag2Scroll?.shutdown()))}})}},h=n(23723),m=n.n(h);var p={install:e=>{e.directive("inner-text-to-title",{bind(e){s.default.nextTick((()=>{e.setAttribute("title",e.innerText)}))},update(e){e.setAttribute("title",e.innerText)},unbind(e){e.hasAttribute("title")&&e.removeAttribute("title")}})}},g=n(91475),f=n(84772);const y={install:(e,t)=>{e.directive("perfect-scrollbar",(e=>{const t={unbind(e){const t=e;t.$scrollbar&&(t.$scrollbar.destroy(),delete t.$scrollbar)},bind(t,n){if(void 0===n.value||n.value){const i=t;if(!(0,g.h)().isWeb)return void(i.$scrollbar&&(i.$scrollbar.destroy(),delete i.$scrollbar));if("undefined"==typeof window||i.$scrollbar)return;s.default.nextTick((()=>{const s=n?.value?.el,a="function"==typeof s?s(t):t;a&&(a.style.position="relative",i.$scrollbar=new f.Z(a,Object.assign({},e,n.value)))}))}},componentUpdated(e,n,...i){(0,g.h)().isWeb&&(void 0===n.value||n.value?(e.$scrollbar&&t?.unbind?.(e,n,...i),t?.bind?.(e,n,...i)):t?.unbind?.(e,n,...i))}};return t})(t))}};var b=y,I=n(72433),w=n(90697),T=n.n(w);var S={install:e=>{e.use(T())}},C=n(67356),E=n(662),v=n(80194),A=n(67536),_=n.n(A),O=n(46851),D=n(71826),P=n(78345),R=n(75310),N=n(1643),B=n(5825),Z=n(65094),x=n(54864),M=n(67504),L=n(43560),k=n(32555),F=n(60691),U=n(39169),G=n(84292),z=n(93711),H=n(24482),W=n(28220),V=n(75395),$=n(66780),K=n(34379),Y=n(76198);s.default.config.warnHandler=function(e,t,n){'Injection "__reactiveInject__" not found'!==e&&console.warn(e,n)};(new $.Z).visibilityChange((e=>{O.xN.dispatch({type:"PAGE_VISIBILITY_CHANGE",payload:{visibility:e}})}));try{m().prototype.focus=function(e){let t;e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.focus(),e.setSelectionRange(t,t)):e.focus()}}catch(Q){U.Z.info(String(Q))}m().attach(document.body),(0,N.setLogger)({error:e=>{console.error(e),["080","024","025"].includes(window.LOBBY_SITE_CONFIG?.siteCode)&&O.xN.dispatch({type:"RESPONSE_ERROR",payload:{message:e}})}});const j=async e=>{const t=(0,i.WB)();t.use(E.ZP),await(0,Y.Z)(),await E.fF.setup({recordIndexDBKeyInLocalStorage:"web.lobby.indexDBKey"}),e.use(_()).use(I.ZP).use(S).use(p).use(d).use(o).use(b,{wheelPropagation:!0,wheelSpeed:.4}).use(i.og).use(C.Z).use(P.Z).use({install(){e.component("VueQr",(()=>n.e(84588).then(n.t.bind(n,84588,23)))),e.component("LivePlayer",(async()=>(await(0,R.yu)([{src:"/libs/liveplayer@2.7.8/dist/component/liveplayer-lib.min.js"},{src:"/libs/liveplayer@2.7.8/dist/component/liveplayer-component.min.js"}]),window.LivePlayer.default)))}}).use({install(){const t="fragment",n=e.extend({name:t,render(e){return e("div",{style:{display:"contents"}},this.$slots.default)}});e.component(t,n),e.component("MyImg",H.Z),e.directive("MyImg",H.Z.Directive),e.component("InnerHtml",F.Z),e.component("IconSprite",k.Z),e.component("ApngCanvas",Z.Z),e.component("MyScroll",W.Z),e.component("CountTo",L.Z),e.component("MyAdapter",G.Z),e.component("MyTitle",V.Z),e.component("AutoText",x.Z),e.component("CheckView",M.Z),e.component("MyEmpty",z.Z)}}),e.config.productionTip=!1;const s=e.config.errorHandler;e.config.errorHandler=(e,t,n)=>{s?.(e,t,n),e&&(0,B.trace)("vue-error",{name:e.name,message:e.message,vm:t?.$options?.name})};const a=await O.sG.I18n.create();O.sG.App=new e({router:v.ZP,i18n:a,pinia:t,render:e=>e(D.Z)}).$mount("#app"),window.LOBBY_SITE_CONFIG.SITE_DOMAIN_NOT_MATCH&&O.sG.Modal.create({content:()=>a.t("lobby.common.errorMessages.DOMAIN_NOT_MATCH")||"The domain is accessed, please try again later",okText:a.t("lobby.common.tips.confirm")||"OK",cancelText:"",onOk:async()=>{window.location.reload()},cancelButtonProps:{style:{display:"none"}}}),O.Uh.cache.setup();const r=(()=>{const e=document.querySelector("html")?.getAttribute("data-version");if(!e)return null;try{return+new Date(e)}catch(t){return null}})();r&&O.xN.dispatch({type:"INIT",payload:{version:r,url:window.location.href}}),(0,B.trace)("init",{html:window.LOBBY_SITE_CONFIG.LOG,version:r})},J=O.xN.subscribe((e=>{switch(e.type){case"LOADED":{const{Vue:t}=e.payload;j(t);break}case"CLIENT_DATA_INITIALIZATION_COMPETED":try{new K.Z}catch(t){}}}))},94212:function(e,t,n){n(47918);var i=n(27356),s=n(82492),a=n.n(s),o=n(97833),r=n(19900),l=n(62424),c=n(47670),u=n(4163),d=n(94184),h=n.n(d);a()(l.Z,{render(e,t){const{props:n}=t,{onCancel:i,onOk:s,close:a,zIndex:l,afterClose:d,visible:m,keyboard:p,centered:g,getContainer:f,maskStyle:y,okButtonProps:b,cancelButtonProps:I,iconType:w="question-circle",closable:T=!1}=n,S=n.icon?n.icon:w,C=n.okType||"primary",E=n.prefixCls||"ant-modal",v=`${E}-confirm`,A=!("okCancel"in n)||n.okCancel,_=n.width||416,O=n.style||{},D=void 0===n.mask||n.mask,P=void 0!==n.maskClosable&&n.maskClosable,R=(0,o.A)(),N="function"==typeof n.okText?n.okText():n.okText||(A?R.okText:R.justOkText),B="function"==typeof n.cancelText?n.cancelText():n.cancelText||R.cancelText,Z=null!==n.autoFocusButton&&(n.autoFocusButton||"ok"),x=n.transitionName||"zoom",M=n.maskTransitionName||"fade",L=h()(v,`${v}-${n.type}`,`${E}-${n.type}`,n.class),k=A&&e(r.Z,{attrs:{actionFn:i,closeModal:a,autoFocus:"cancel"===Z,buttonProps:I}},[B]),F="string"==typeof S?e(u.Z,{attrs:{type:S}}):S(e);return e(c.Z,{attrs:{prefixCls:E,wrapClassName:h()({[`${v}-centered`]:!!g}),visible:m,closable:T,title:"",transitionName:x,footer:"",maskTransitionName:M,mask:D,maskClosable:P,maskStyle:y,width:_,zIndex:l,afterClose:d,keyboard:p,centered:g,getContainer:f},class:L,on:{cancel:e=>a({triggerCancel:!0},e)},style:O},[e("div",{class:`${v}-body-wrapper`},[e("div",{class:`${v}-body`},[F,void 0===n.title?null:e("span",{class:`${v}-title`},["function"==typeof n.title?n.title(e):n.title]),e("div",{class:`${v}-content`},["function"==typeof n.content?n.content(e):n.content])]),e("div",{class:`${v}-btns`},[k,e(r.Z,{attrs:{type:C,actionFn:s,closeModal:a,autoFocus:"ok"===Z,buttonProps:b}},[N])])])])}});var m=n(36568),p=n.n(m),g=n(17851),f=n(50080),y=n(8733);const b=Object.values({CloseOutline:{name:"close",theme:"outline",icon:{tag:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",focusable:!1},children:[{tag:"g",attrs:{id:"comm_icon_x",transform:"translate(-1209.5 -160.5)"},children:[{tag:"path",attrs:{id:"Line_14","data-name":"Line 14",d:"M14,15a1,1,0,0,1-.707-.293l-14-14a1,1,0,0,1,0-1.414,1,1,0,0,1,1.414,0l14,14A1,1,0,0,1,14,15Z",transform:"translate(1210.5 161.5)"},children:[]},{tag:"path",attrs:{id:"Line_15","data-name":"Line 15",d:"M0,15a1,1,0,0,1-.707-.293,1,1,0,0,1,0-1.414l14-14a1,1,0,0,1,1.414,0,1,1,0,0,1,0,1.414l-14,14A1,1,0,0,1,0,15Z",transform:"translate(1210.5 161.5)"},children:[]}]}]}},DownOutline:{name:"down",theme:"outline",icon:{tag:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",width:35.969,height:21.998,viewBox:"0 0 35.969 21.998",focusable:!1},children:[{tag:"path",attrs:{id:"comm_icon_fh",d:"M2209.28,137.564l-17.743-15.773a2,2,0,0,1-.271-3.058,2.037,2.037,0,0,1,.274-.23l17.74-15.77a1.992,1.992,0,0,1,2.817,2.816l-16.422,14.6,16.422,14.6a1.992,1.992,0,1,1-2.817,2.817Z",transform:"translate(-102.181 2212.68) rotate(-90)"},children:[]}]}},CloseCircleFill:{name:"close-circle",theme:"fill",icon:{tag:"svg",attrs:{xmlns:"http://www.w3.org/2000/svg",width:28,height:28,viewBox:"0 0 28 28",focusable:!1},children:[{tag:"path",attrs:{id:"close_fill",d:"M3323,1936a14,14,0,1,1,9.9-4.1A13.907,13.907,0,0,1,3323,1936Zm0-12.351h0l4.536,4.537a1.167,1.167,0,1,0,1.65-1.65l-4.537-4.537,4.537-4.537a1.167,1.167,0,1,0-1.65-1.65l-4.536,4.536-4.538-4.536a1.167,1.167,0,1,0-1.65,1.65l4.538,4.537-4.538,4.537a1.167,1.167,0,0,0,1.65,1.65l4.537-4.537Z",transform:"translate(-3309 -1908)"},children:[]}]}}});if(f.Z.add(...b),window.antd){const e=b.reduce(((e,t)=>(e[(0,g.X4)(t.name,t.theme)]=t,e)),{}),t=window.antd.Icon.render,n=(t,n)=>{if("string"==typeof n){const i=(0,y.TK)((0,y.ci)((0,y.bm)(n)),t.$props.theme||"outlined");return!!Object.keys(e).includes(i)&&e[i]}return!1};a()(window.antd.Icon,{render(...e){const i=arguments[0],s=n(this,this.$props.type);if(s){const{type:e,spin:t,rotate:n,twoToneColor:a,tabIndex:o}=this.$props,r=(this.$vnode?this.$vnode.componentOptions.listeners:this.$listeners)||{},l=h()({anticon:!0,[`anticon-${e}`]:!!e}),c=h()({"anticon-spin":!!t||"loading"===e}),u=n?{msTransform:`rotate(${n}deg)`,transform:`rotate(${n}deg)`}:void 0;let d=o;void 0===d&&"click"in r&&(d=-1);const m={attrs:{"aria-label":e&&`${e}`,tabIndex:d},on:r,class:l,staticClass:""};return i("i",p()([{},m]),[i(f.Z,{attrs:{focusable:"false",type:s,primaryColor:a},class:c,style:u})])}return t.call(this,...e)}})}n(17006),n(41318);var I=n(12534),w=(n(17583),n(79177)),T=n(95692),S=n(37119);var C={install(){this.$createElement;a()(w.Z,{methods:{renderEmptyComponent(e,t){const n=this.$createElement;return((0,S.rj)(this,"renderEmpty",{},!1)||(()=>n(I.ZP,"Table"===t||"List"===t?{attrs:{image:n(T.x)}}:{attrs:{imageStyle:{display:"none"}}})))()}}})}},E=(n(15861),n(27361)),v=n.n(E),A=(n(48354),n(26724)),_=n(52851),O=n(46930);const D={click:"click",hover:"mouseover"},P={hack_customSuffix:O.ZP.bool.def(!1),hack_defaultVisible:O.ZP.bool.def(!1),hack_eyeIcon:O.ZP.string.def("eye"),hack_eyeInvisibleIcon:O.ZP.string.def("eye-invisible"),hack_getEyeIconComponent:(0,O.Yl)().def((e=>({functional:!0,render(){return(0,arguments[0])("icon-sprite",{attrs:{sprite:e?(0,_.T)("comm_icon_show"):(0,_.T)("comm_icon_hide")}})}})))};const R={install(){this.$createElement;a()(A.Z,{mixins:[...v()(A.Z,"mixins")||[],{mounted(){this._handleCloseIconTimer=null,this._handleFocus(this.$refs.input===document.activeElement,0),this.$refs.input.addEventListener("focus",this._onFocus),this.$refs.input.addEventListener("blur",this._onBlur)},beforeDestroy(){this.$refs.input.removeEventListener("focus",this._onFocus),this.$refs.input.removeEventListener("blur",this._onBlur)},methods:{_onFocus(){this._handleFocus(!0)},_onBlur(){this._handleFocus(!1)},_handleFocus(e,t=300){const n=this,i=()=>{const t=n.$el.querySelector(".anticon-close-circle");t&&(t.style.visibility=e?"":"hidden")};if(window.clearTimeout(n.handleCloseIconTimer),0===t)return i();n.handleCloseIconTimer=window.setTimeout((()=>{i()}),t)}}}]}),a()(A.Z.Password,{props:P,mixins:[...v()(A.Z.Password,"mixins")||[],{created(){this.visible=this.hack_defaultVisible}}],methods:{getIcon(e){const t=this.$createElement,n=this,{action:i}=n.$props,s=D[i]||"",a=n.hack_getEyeIconComponent?.(n.visible),o={props:{type:n.visible?n.hack_eyeIcon:n.hack_eyeInvisibleIcon,component:a},on:{[s]:n.onVisibleChange,mousedown:e=>{e.preventDefault()},mouseup:e=>{e.preventDefault()}},class:`${e}-icon`,key:"passwordIcon"};return t(u.Z,p()([{},o]))}},render(){const e=arguments[0],t=this,{prefixCls:n,inputPrefixCls:i,size:s,type:a,visibilityToggle:o,...r}=(0,S.oZ)(this),l=t.configProvider.getPrefixCls,c=l("input",i),u=l("input-password",n);let d,m;t.hack_customSuffix?(d=(0,S.rj)(this,"suffix"),m=a):(d=o&&t.getIcon(u),m=t.visible||!t.value?"text":"password");const g=h()(u,{[`${u}-${s}`]:!!s}),f={props:{...r,prefixCls:c,size:s,suffix:d,prefix:(0,S.rj)(this,"prefix"),addonAfter:(0,S.rj)(this,"addonAfter"),addonBefore:(0,S.rj)(this,"addonBefore")},attrs:{...t.$attrs,type:m},class:g,ref:"input",on:(0,S.CL)(this)};return e(A.Z,p()([{},f]))}})}};var N=R,B=(n(77114),n(70509)),Z=n(84772),x=n(20670);function M(e=!1){if(e)return this._lobbyHackPerfectScrollInstance&&this._lobbyHackPerfectScrollInstance.destroy(),void(this._lobbyHackSelectPopupWatch&&this._lobbyHackSelectPopupWatch());const t=v()(x.Z.getChilds((e=>"Select"===e.$options.name),this),"0.selectTriggerRef");this._lobbyHackSelectPopupWatch=this.$watch((()=>t.visible),(e=>{this.$nextTick((()=>{if(e){if(this._lobbyHackPerfectScrollInstance)return this._lobbyHackPerfectScrollInstance.update();const e=t.getPopupDOMNode().querySelector(".ant-select-dropdown-menu");e.style.position="relative",this._lobbyHackPerfectScrollInstance=new Z.Z(e)}}))}))}const L={mounted(){M.call(this)},beforeDestroy(){M.call(this,!0)}};var k={install(){a()(B.ZP,{mixins:[...v()(B.ZP,"mixins")||[],L]})}};var F={install:e=>{e.use(N).use(i.Z).use(C).use(k)}},U=n(20144);(async()=>{U.default.use(F);const{events:e}=n(70872);if(window.LOBBY_SITE_CONFIG.humanVerify>-1&&!localStorage.getItem("wg.visited"))try{const t={zh:'<div class="wg antiban"><div class="antiban-box"><p class="antiban-message">当前网站访问量较大，请点击按钮继续访问</p><a class="antiban-forward">进入网站</a></div></div>',en:'<div class="wg antiban"><div class="antiban-box"><p class="antiban-message">The current website has a large number of visits, please click the button to continue visiting.</p><a class="antiban-forward">Enter the website</a></div></div>'};document.body.insertAdjacentHTML("beforeend",window.LOBBY_SITE_CONFIG?.languageCode?.includes("zh")?t.zh:t.en);const n=window.setTimeout((()=>{e.dispatch({type:"LOADED",payload:{Vue:U.default}}),document.querySelector(".antiban")?.remove()}),1e3*window.LOBBY_SITE_CONFIG.humanVerify);document.querySelector(".antiban .antiban-forward")?.addEventListener("click",(()=>{clearTimeout(n),e.dispatch({type:"LOADED",payload:{Vue:U.default}}),document.querySelector(".antiban")?.remove()})),window.jsBridge?.getWGConfigInfo?.()}catch(t){e.dispatch({type:"LOADED",payload:{Vue:U.default}})}else e.dispatch({type:"LOADED",payload:{Vue:U.default}})})()},63431:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"সিস্টেম ত্রুটি",NETWORK_ERROR:"নেটওয়ার্ক সংযোগ ব্যর্থ হয়েছে, অনুগ্রহ করে নেটওয়ার্ক স্যুইচ করুন এবং আবার চেষ্টা করুন৷",RSP_DATA_NOT_JSON:"প্রতিক্রিয়া মান ফর্ম্যাট ত্রুটি",GEETEST_RESTRICTED:"অপারেট ঘন ঘন, দয়া করে {সেকেন্ডে} সেকেন্ডে পুনরায় চেষ্টা করুন"},tips:{title:"পরামর্শ"}}}}},40016:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"System-Fehler",NETWORK_ERROR:"Die Netzwerkverbindung ist fehlgeschlagen. Bitte versuchen Sie es erneut, nachdem Sie das Netzwerk gewechselt haben",RSP_DATA_NOT_JSON:"Das Antwortwertformat ist falsch",GEETEST_RESTRICTED:"Häufige Vorgänge, bitte versuchen Sie es in {seconds} Sekunden erneut"},tips:{title:"Tipps"}}}}},50570:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"System Error",NETWORK_ERROR:"The network connection failed, please try again after switching the network",RSP_DATA_NOT_JSON:"Response value format error",GEETEST_RESTRICTED:"Operate Frequently, Please Retry in {seconds} seconds"},tips:{title:"Reminder"}}}}},85898:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"Error de sistema",NETWORK_ERROR:"La conexión de red falló, intente nuevamente después de cambiar la red",RSP_DATA_NOT_JSON:"El formato del valor de respuesta es incorrecto",GEETEST_RESTRICTED:"Operaciones frecuentes, vuelva a intentarlo en {segundos} segundos"},tips:{title:"Consejos"}}}}},53206:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"Erreur système",NETWORK_ERROR:"La connexion réseau a échoué, veuillez réessayer après le changement de réseau",RSP_DATA_NOT_JSON:"Le format de la valeur de réponse est incorrect",GEETEST_RESTRICTED:"Opérations fréquentes, veuillez réessayer dans {seconds} secondes"},tips:{title:"Tips"}}}}},8161:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"सिस्टम में गड़बड़ी , तंत्र त्रुटि",NETWORK_ERROR:"नेटवर्क कनेक्शन विफल हो गया, कृपया नेटवर्क को स्विच करने के बाद पुनः प्रयास करें",RSP_DATA_NOT_JSON:"प्रतिक्रिया वैल्यू फ़ॉर्मेट ग़लत है",GEETEST_RESTRICTED:"बारंबार संचालन, कृपया{seconds} सेकंड में पुन: प्रयास करें"},tips:{title:"टिप्स"}}}}},10470:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"Sistem bermasalah",NETWORK_ERROR:"Koneksi jaringan gagal, silakan coba lagi setelah beralih jaringan",RSP_DATA_NOT_JSON:"Nomor Telepon Telah Terdaftar",GEETEST_RESTRICTED:"Operasi yang sering, silakan coba lagi dalam {seconds} detik"},tips:{title:"PERINGATAN"}}}}},83291:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"Errore del sistema",NETWORK_ERROR:"La connessione di rete non è riuscita, riprova dopo aver cambiato la rete",RSP_DATA_NOT_JSON:"Formato del valore della risposta errato",GEETEST_RESTRICTED:"Operazioni frequenti, riprova tra {seconds} secondi"},tips:{title:"Suggerimenti"}}}}},75167:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"システムエラー",NETWORK_ERROR:"ネットワーク接続が失敗しました。ネットワークを切り替えた後に再試行してください",RSP_DATA_NOT_JSON:"応答値のフォーマットが間違っています",GEETEST_RESTRICTED:"頻繁な操作です.{seconds} 秒後にもう一度お試しください"},tips:{title:"ヒント"}}}}},75717:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"កំហុសប្រព័ន្ធ",NETWORK_ERROR:"ការភ្ជាប់បណ្តាញបានបរាជ័យសូមព្យាយាមម្តងទៀតបន្ទាប់ពីប្តូរបណ្តាញ",RSP_DATA_NOT_JSON:"តម្លៃឆ្លើយតបខុស",GEETEST_RESTRICTED:"ប្រតិបត្តិការញឹកញាប់ សូមព្យាយាមម្តងទៀតក្នុងរយៈពេល {seconds}វិនាទី"},tips:{title:"ព័ត៌មានជំនួយ"}}}}},74198:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"ಸಿಸ್ಟಮ್ ದೋಷ",NETWORK_ERROR:"ನೆಟ್‌ವರ್ಕ್ ಸಂಪರ್ಕ ವಿಫಲವಾಗಿದೆ, ದಯವಿಟ್ಟು ನೆಟ್‌ವರ್ಕ್ ಅನ್ನು ಬದಲಾಯಿಸಿದ ನಂತರ ಮತ್ತೆ ಪ್ರಯತ್ನಿಸಿ",RSP_DATA_NOT_JSON:"ಪ್ರತಿಕ್ರಿಯೆ ಮೌಲ್ಯದ ಸ್ವರೂಪವು ತಪ್ಪಾಗಿದೆ",GEETEST_RESTRICTED:"ಆಗಾಗ್ಗೆ ಕಾರ್ಯಾಚರಣೆಗಳು, ದಯವಿಟ್ಟು {seconds}ಸೆಕೆಂಡ್‌ಗಳಲ್ಲಿ ಮತ್ತೆ ಪ್ರಯತ್ನಿಸಿ"},tips:{title:"ಸಲಹೆಗಳು"}}}}},87471:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"시스템 오류",NETWORK_ERROR:"네트워크 연결이 실패했습니다. 네트워크를 전환 한 후 다시 시도하십시오.",RSP_DATA_NOT_JSON:"응답값 형식이 부정확합니다",GEETEST_RESTRICTED:"빈번한 작업입니다. {seconds}초 후에 다시 시도하십시오."},tips:{title:"팁"}}}}},82502:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"सिस्टम एरर",NETWORK_ERROR:"नेटवर्क कनेक्शन अयशस्वी झाले, कृपया नेटवर्क स्विच केल्यानंतर पुन्हा प्रयत्न करा",RSP_DATA_NOT_JSON:"प्रतिसाद मूल्य स्वरूप चुकीचे आहे",GEETEST_RESTRICTED:"वारंवार ऑपरेशन्स, कृपया {seconds}सेकंदांनी पुन्हा प्रयत्न करा"},tips:{title:"स्मरणपत्र"}}}}},51874:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"စနစ်အမှား",NETWORK_ERROR:"ကွန်ယက်ချိတ်ဆက်မှုမအောင်မြင်ပါ, ကွန်ယက်ကိုပြောင်းပြီးနောက်တစ်ကြိမ်ထပ်မံကြိုးစားပါ",RSP_DATA_NOT_JSON:"တုံ့ပြန်မှု တန်ဖိုး ဖောမတ် မမှန်ပါ",GEETEST_RESTRICTED:"မကြာခဏလုပ်ဆောင်မှုများ၊ ကျေးဇူးပြု၍ {seconds} စက္ကန့်အကြာတွင် ထပ်စမ်းကြည့်ပါ။"},tips:{title:"အကြံပြုချက်များ"}}}}},60304:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"سسٹم کی خرابی",NETWORK_ERROR:"ข่าย ข่าย เครือ ล้มเหลว ล้มเหลว โปรดลอง โปรดลอง หลัง หลัง จาก จาก สลับ เครือ เครือ เครือ",RSP_DATA_NOT_JSON:"رسپانس ویلیو فارمیٹ کی خرابی",GEETEST_RESTRICTED:"اوپیرایٹ کثرت سے ، براہ کرم {سیکنڈ} سیکنڈ میں دوبارہ کوشش کریں"},tips:{title:"اشارے"}}}}},4913:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"Erro no sistema",NETWORK_ERROR:"A conexão de rede falhou, tente novamente depois de mudar a rede",RSP_DATA_NOT_JSON:"O formato do valor da resposta está incorreto",GEETEST_RESTRICTED:"Operações frequentes, tente novamente em {seconds} segundos"},tips:{title:"Lembrete"}}}}},44639:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"Системная ошибка",NETWORK_ERROR:"Сетевое соединение не удалось, попробуйте еще раз после переключения сети",RSP_DATA_NOT_JSON:"Неверный формат отклика",GEETEST_RESTRICTED:"Используйте часто. Повторите попытку через {секунды} секунд."},tips:{title:"Советы"}}}}},71686:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"கணினி பிழை",NETWORK_ERROR:"பிணைய இணைப்பு தோல்வியடைந்தது, பிணையத்தை மாற்றிய பின் மீண்டும் முயற்சிக்கவும்",RSP_DATA_NOT_JSON:"பதில் மதிப்பு வடிவம் தவறானது",GEETEST_RESTRICTED:"அடிக்கடி செயல்பாடுகள், {seconds}வினாடிகளில் மீண்டும் முயற்சிக்கவும்"},tips:{title:"நினைவூட்டு"}}}}},12385:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"సిస్టమ్ లోపం",NETWORK_ERROR:"నెట్‌వర్క్ కనెక్షన్ విఫలమైంది, దయచేసి నెట్‌వర్క్‌ను మార్చిన తర్వాత మళ్లీ ప్రయత్నించండి",RSP_DATA_NOT_JSON:"ప్రతిస్పందన విలువ ఆకృతి తప్పు",GEETEST_RESTRICTED:"తరచుగా చేసే కార్యకలాపాలు, దయచేసి {seconds}సెకన్లలో మళ్లీ ప్రయత్నించండి"},tips:{title:"చిట్కాలు"}}}}},88927:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"ระบบขัดข้อง",NETWORK_ERROR:"การเชื่อมต่อเครือข่ายล้มเหลวโปรดลองอีกครั้งหลังจากสลับเครือข่าย",RSP_DATA_NOT_JSON:"รูปแบบของค่าตอบกลับไม่ถูกต้อง",GEETEST_RESTRICTED:"ดำเนินการบ่อย โปรดลองอีกครั้งใน {seconds} วินาที"},tips:{title:"เคล็ดลับ"}}}}},24370:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"Error sa System",NETWORK_ERROR:"Nabigo ang koneksyon sa network, mangyaring subukang muli pagkatapos lumipat sa network",RSP_DATA_NOT_JSON:"Error sa Halaga ng Halaga ng Tugon",GEETEST_RESTRICTED:"Madalas na operasyon, pakisubukang muli sa loob ng {seconds} segundo"},tips:{title:"Paalala"}}}}},43562:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"Sistem hatası",NETWORK_ERROR:"Ağ bağlantısı başarısız oldu, lütfen ağı değiştirdikten sonra tekrar deneyin",RSP_DATA_NOT_JSON:"Yanıt değeri format hatası",GEETEST_RESTRICTED:"Sık işlem yapılıyor, lütfen {second} saniye içinde tekrar deneyin"},tips:{title:"Nazik ipuçları"}}}}},29789:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"Hệ thống bị lỗi",NETWORK_ERROR:"Kết nối mạng không thành công, vui lòng thử lại sau khi chuyển đổi mạng",RSP_DATA_NOT_JSON:"Định dạng giá trị phản hồi không đúng",GEETEST_RESTRICTED:"Hoạt động thường xuyên, vui lòng thử lại sau {seconds} giây"},tips:{title:"Mẹo"}}}}},67251:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"该域名访问异常，请稍后重试",SYSTEM_ERROR:"系统错误",NETWORK_ERROR:"网络连接失败，请切换网络后再次尝试",RSP_DATA_NOT_JSON:"响应值格式错误",GEETEST_RESTRICTED:"操作频繁，请{seconds}秒后再试"},tips:{title:"温馨提示"}}}}},71583:function(e,t){t.Z={lobby:{common:{errorMessages:{DOMAIN_NOT_MATCH:"",SYSTEM_ERROR:"系統錯誤",NETWORK_ERROR:"網絡連接失敗，請切換網絡後再次嘗試",RSP_DATA_NOT_JSON:"響應值格式錯誤",GEETEST_RESTRICTED:"操作頻繁，請{seconds}秒後再試"},tips:{title:"溫馨提示"}}}}},23742:function(e,t,n){n.d(t,{R:function(){return a},b:function(){return s}});var i=n(69483);const s={zh_CN:"zh-cn",zh_TW:"zh-tw",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-ph",km_KH:"km",te_IN:"te",ta_LK:"ta",mr_IN:"mr",kn_IN:"kn",tr_TR:"tr",bn_BN:"bn",pa_PA:"pa"},a=n.n(i)().createInstance({name:"i18n-messages-store"})},58217:function(e,t,n){n.d(t,{ZP:function(){return _},Mk:function(){return E},QT:function(){return O}});var i=n(50361),s=n.n(i),a=n(36968),o=n.n(a),r=n(82492),l=n.n(r),c=n(1469),u=n.n(c),d=n(30236),h=n.n(d),m=n(55433),p=(n(13218),n(2525),n(27361),n(52923)),g=n(75990),f=n(46851);n(34255);var y=n(91475),b=n(39169),I=n(20144),w=n(17152),T=n(30381),S=n.n(T);const C=["en_US","zh_CN","zh_TW","th_TH","vi_VN","ko_KR","ja_JP","pt_PT","es_ES","de_DE","fr_FR","it_IT","ru_RU","my_MM","id_ID","hi_IN","tl_PH","km_KH","te_IN","ta_LK","mr_IN","kn_IN","tr_TR","bn_BN","pa_PA"];const E=(0,g.cF)("app",window.sessionStorage).language,v=window.LOBBY_SITE_CONFIG.SITE_DOMAIN_NOT_MATCH?"en_US":C.includes(E)?E:C[0];(0,g.po)({language:v},"app",window.sessionStorage);const A=new class{constructor(e){(0,m.Z)(this,"messages",new Set),(0,m.Z)(this,"loading",!1),this.setOptions(e)}setOptions(e){return this.options=h()({},this.options,e,((e,t)=>{if(u()(e))return t})),this}async loadMessages(e){const t=Object.entries(e).map((([e,t])=>(async()=>[e,"function"==typeof t?(await t()).default:t])()));return(await Promise.all(t)).reduce(((e,[t,n])=>(e[t]=n,e)),{})}async loadLanguageAsync(e,t=!1){this.loading=!0;let n={};try{const i=e.filter(Boolean),{loadAntLocale:a}=this.options,r=e=>{n=l()({},e);for(const t of i)if(this.i18n){const e=this.i18n.messages?.[t]||{},i=n[t]||{};this.i18n.mergeLocaleMessage(t,Object.entries(i).reduce(((e,[t,n])=>(o()(e,t,n),e)),s()(e)))}};if(a&&!t){const e=await this.loadMessages(this.messagesFilter(p.hK,i));r(Object.keys(e).reduce(((t,n)=>{const i=n;return l()(t,{[i]:{ant:e[i]}}),t}),{}))}for(const e of this.messages){r(await this.loadMessages(this.messagesFilter(e,i)))}return n}catch(i){return b.Z.myDebug("++++++Error in loadLanguageAsync:",i),n}finally{this.loading=!1}}messagesFilter(e,t){return Object.entries(e).reduce(((e,[n,i])=>((t||[]).includes(n)&&(e[n]=i),e)),{})}setAntLocale(e){const t=(0,y.h)();e=e||this.i18n.locale;const n=this.i18n.messages[e].ant,i=e=>e;S().locale(n?.locale,{preparse:i,postformat:i}),t.$patch({language:e})}async create(){const{defaultLanguage:e,loadLanguageAsync:t,language:n}=this.options,i=t&&e?[e]:n||[];I.default.use(w.Z),this.add(this.options.messages),b.Z.myDebug("++++++Creating i18n instance...");const s=await this.loadLanguageAsync(i,!0)||{};return s||b.Z.myDebug("++++++No messages loaded, check your language loading logic."),this.i18n=new w.Z({locale:e,messages:s,missing:()=>"",silentTranslationWarn:!0}),b.Z.myDebug("++++++i18n instance created:",this.i18n),this.i18n}add(e){const t=Array.isArray(e)?e:[e];for(const n of t)this.messages.add(n);return this}async setLanguage(e,t=this.i18n){return await Promise.all([this.loadLanguageAsync([e]),p.AJ[e]()]),f.xN.dispatch({type:"LANGUAGE_CHANGE",payload:e}),this.setAntLocale(e),t.locale=e,e}t(e,t=[]){const n=this.i18n.t(e,Array.isArray(t)?void 0:t);return Array.isArray(t)?n.replace(/\{\d\}/g,(e=>{const n=+e.replace(/[{}]/g,"");return Array.isArray(t)&&t[n]||e})):n}}({messages:[p.tP],defaultLanguage:v,language:[v],loadAntLocale:!0,loadLanguageAsync:!0});var _=A;const O=()=>{const e=A.i18n;return{...e,t:e.t.bind(e),loadLanguageAsync:e=>A.loadLanguageAsync(e)}}},52923:function(e,t,n){n.d(t,{AJ:function(){return r},AY:function(){return u},hK:function(){return o},jv:function(){return c},tP:function(){return l}});var i=n(23742),s=n(34255),a=n(1507);const o={en_US:()=>n.e(78529).then(n.bind(n,34283)),zh_CN:()=>n.e(41490).then(n.bind(n,34902)),zh_TW:()=>n.e(15058).then(n.bind(n,5868)),th_TH:()=>n.e(96606).then(n.bind(n,97583)),vi_VN:()=>n.e(83595).then(n.bind(n,97327)),ko_KR:()=>n.e(32781).then(n.bind(n,49634)),ja_JP:()=>n.e(54916).then(n.bind(n,26058)),pt_PT:()=>n.e(47481).then(n.bind(n,17008)),es_ES:()=>n.e(42796).then(n.bind(n,26530)),de_DE:()=>n.e(16989).then(n.bind(n,97002)),fr_FR:()=>n.e(46190).then(n.bind(n,73261)),it_IT:()=>n.e(80862).then(n.bind(n,8911)),ru_RU:()=>n.e(67085).then(n.bind(n,64604)),my_MM:()=>n.e(12225).then(n.bind(n,13669)),id_ID:()=>n.e(96705).then(n.bind(n,19015)),hi_IN:()=>n.e(16955).then(n.bind(n,78936)),tl_PH:()=>n.e(20216).then(n.bind(n,4742)),km_KH:()=>n.e(2059).then(n.bind(n,14070)),te_IN:()=>n.e(32488).then(n.bind(n,66926)),ta_LK:()=>n.e(82192).then(n.bind(n,60062)),mr_IN:()=>n.e(53289).then(n.bind(n,80391)),kn_IN:()=>n.e(81400).then(n.bind(n,84158)),tr_TR:()=>n.e(48191).then(n.bind(n,11483)),bn_BN:()=>n.e(88622).then(n.bind(n,57238)),pa_PA:()=>n.e(93421).then(n.bind(n,23085))},r={en_US:()=>async()=>{},...Object.entries(i.b).reduce(((e,[t,n])=>(e[t]=(0,s.Tc)(n),e)),{})},l={en_US:n(50570).Z,zh_TW:n(71583).Z,zh_CN:n(67251).Z,th_TH:n(88927).Z,vi_VN:n(29789).Z,ko_KR:n(87471).Z,ja_JP:n(75167).Z,pt_PT:n(4913).Z,es_ES:n(85898).Z,de_DE:n(40016).Z,fr_FR:n(53206).Z,it_IT:n(83291).Z,ru_RU:n(44639).Z,my_MM:n(51874).Z,id_ID:n(10470).Z,hi_IN:n(8161).Z,tl_PH:n(24370).Z,km_KH:n(75717).Z,te_IN:n(12385).Z,ta_LK:n(71686).Z,mr_IN:n(82502).Z,kn_IN:n(74198).Z,tr_TR:n(43562).Z,bn_BN:n(63431).Z,pa_PA:n(60304).Z},c={en_US:()=>n.e(78529).then(n.bind(n,63795)),zh_TW:()=>n.e(15058).then(n.bind(n,18918)),zh_CN:()=>n.e(41490).then(n.bind(n,88883)),th_TH:()=>n.e(96606).then(n.bind(n,6180)),vi_VN:()=>n.e(83595).then(n.bind(n,33720)),ko_KR:()=>n.e(32781).then(n.bind(n,59043)),ja_JP:()=>n.e(54916).then(n.bind(n,90763)),pt_PT:()=>n.e(47481).then(n.bind(n,91190)),es_ES:()=>n.e(42796).then(n.bind(n,78701)),de_DE:()=>n.e(16989).then(n.bind(n,61381)),fr_FR:()=>n.e(46190).then(n.bind(n,63406)),it_IT:()=>n.e(80862).then(n.bind(n,89999)),ru_RU:()=>n.e(67085).then(n.bind(n,5678)),my_MM:()=>n.e(12225).then(n.bind(n,22949)),id_ID:()=>n.e(96705).then(n.bind(n,28449)),hi_IN:()=>n.e(16955).then(n.bind(n,19964)),tl_PH:()=>n.e(20216).then(n.bind(n,48763)),km_KH:()=>n.e(2059).then(n.bind(n,19211)),ta_LK:()=>n.e(82192).then(n.bind(n,48627)),te_IN:()=>n.e(32488).then(n.bind(n,2640)),mr_IN:()=>n.e(53289).then(n.bind(n,14501)),kn_IN:()=>n.e(81400).then(n.bind(n,10214)),tr_TR:()=>n.e(48191).then(n.bind(n,8787)),bn_BN:()=>n.e(59831).then(n.bind(n,69911)),pa_PA:()=>n.e(74555).then(n.bind(n,88502))},u={...Object.keys(a.ZP.ServiceLanguageMap).reduce(((e,t)=>(e[t]=(0,s.dB)(t),e)),{})};Object.keys(a.ZP.ServiceLanguageMap).reduce(((e,t)=>(e[t]=(0,s.qP)(t,i.R),e)),{})},34255:function(e,t,n){n.d(t,{FX:function(){return d},Tc:function(){return u},dB:function(){return l},qP:function(){return c}});var i=n(27361),s=n.n(i),a=n(46851),o=n(75310),r=n(23742);const l=e=>async()=>{const t=a.CM.ServiceLanguageMap[e]||"",{apiGetI18nMessage:i}=n(5860),s=((await i(t).catch((()=>({data:{data:[]}})))).data?.data||[]).reduce(((e,t)=>{const{transName:n,transContent:i}=t;return e[n]=i,e}),{});try{r.R.setItem(e,s||{})}catch(o){}return{default:s}},c=(e,t)=>async()=>({default:await t.getItem(e).catch((()=>({})))}),u=e=>async()=>{if(window.moment)(0,o.yu)({src:`https://unpkg.com/moment@2.21.0/locale/${e}.js`}).catch((()=>{(0,o.yu)({src:`/libs/moment@2.21.0/locale/${e}.js`})}));else{({"zh-cn":()=>Promise.resolve().then(n.t.bind(n,83839,23)),"zh-tw":()=>n.e(74152).then(n.t.bind(n,74152,23)),th:()=>n.e(9041).then(n.t.bind(n,9041,23)),vi:()=>n.e(65666).then(n.t.bind(n,65666,23)),ko:()=>n.e(33730).then(n.t.bind(n,33730,23)),ja:()=>n.e(39183).then(n.t.bind(n,39183,23)),pt:()=>n.e(89520).then(n.t.bind(n,89520,23)),es:()=>n.e(55655).then(n.t.bind(n,55655,23)),de:()=>n.e(59740).then(n.t.bind(n,59740,23)),fr:()=>n.e(94470).then(n.t.bind(n,94470,23)),it:()=>n.e(90626).then(n.t.bind(n,90626,23)),ru:()=>n.e(21793).then(n.t.bind(n,21793,23)),my:()=>n.e(56165).then(n.t.bind(n,56165,23)),id:()=>n.e(29218).then(n.t.bind(n,29218,23)),hi:()=>n.e(30094).then(n.t.bind(n,30094,23)),"tl-ph":()=>n.e(75768).then(n.t.bind(n,75768,23)),km:()=>n.e(18758).then(n.t.bind(n,18758,23)),tr:()=>n.e(72397).then(n.t.bind(n,72397,23)),bn:()=>n.e(8905).then(n.t.bind(n,8905,23)),pa:()=>n.e(15858).then(n.t.bind(n,15858,23))})[e]?.()}},d=e=>{const t={};return function e(t,n,i){i=i??"";for(const a in n){const o=s()(n,a);let r="";"object"==typeof o?(r=""!==i?i+"."+a:a,e(t,o,r)):(r=""!==i?i+"."+a:a,t[r]=o)}}(t,e),t}},65744:function(e,t,n){n.d(t,{Z:function(){return f}});var i,s,a,o,r,l=n(53158),c=n(12040),u=n(38821),d=n(46851),h=n(91475),m=n(46930),p=n(94184),g=n.n(p);let f=(i=(0,u.wA)({name:"BaseTransition"}),s=(0,u.fI)(m.ZP.func.def((()=>(0,h.h)().routerViewWithTransitionMode))),i((o=class extends u.XY{constructor(...e){super(...e),(0,l.Z)(this,"transitionMode",r,this)}get animateProps(){return{None:{},Base:{enterActiveClass:g()([d.CM.CssClassName.Animate.Animated,d.CM.CssClassName.Animate.FadeIn]),leaveActiveClass:g()([d.CM.CssClassName.Animate.WithoutNormalFlow,d.CM.CssClassName.Animate.Animated,d.CM.CssClassName.Animate.FadeOut])},Push:{enterActiveClass:g()([d.CM.CssClassName.Animate.Animated,d.CM.CssClassName.Animate.PushEnter]),leaveActiveClass:g()([d.CM.CssClassName.Animate.Animated,d.CM.CssClassName.Animate.PushLeave])},Pop:{enterActiveClass:g()([d.CM.CssClassName.Animate.Animated,d.CM.CssClassName.Animate.PopEnter]),leaveActiveClass:g()([d.CM.CssClassName.Animate.Animated,d.CM.CssClassName.Animate.PopLeave])}}[(()=>"fade"===window.wgMock?.animationMode?"Base":"none"===window.wgMock?.animationMode?"None":this.transitionMode())()]}render(){return(0,arguments[0])("transition",{props:{...this.animateProps}},[this.$slots.default])}},r=(0,c.Z)(o.prototype,"transitionMode",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=o))||a)},80081:function(e,t,n){n.d(t,{Z:function(){return l}});var i,s=n(38821),a="WUhuhqmZmF6jIMZymVBJ",o="TiR5Afd0l3YoMxbINowZ",r="Q7vvTIrPmFwPigX1RicO";let l=(0,s.wA)({name:"Container"})(i=class extends s.XY{render(){const e=arguments[0];return e("div",{class:a},[e("div",{class:[o,"container-main"]},[e("div",{class:[r,"container-content"]},[this.$slots?.default])])])}})||i},34710:function(e,t,n){n.d(t,{Z:function(){return M}});var i,s,a,o,r,l,c,u,d,h,m,p,g,f,y,b,I,w,T,S,C,E=n(53158),v=n(55433),A=n(12040),_=n(38821),O=n(5954),D=n(58217),P=n(4074),R=n(56343),N=n(39951),B="C2qkMQxA1M_5LaVclyon",Z="KrI5Du3oZPvVtdk_UsKM",x="KJTOAlGypY8dOt6QBuYB";let M=(i=(0,_.wA)({name:"CountDown"}),s=(0,_.fI)({default:0,required:!0}),a=(0,_.fI)({default:!1}),o=(0,_.fI)(),r=(0,_.fI)({default:!1}),l=(0,_.fI)({default:"HH:mm:ss"}),c=(0,_.fI)({default:null}),u=(0,_.fI)({default:""}),d=(0,_.y1)("over"),h=(0,_.y1)("time"),m=(0,_.RL)("countDownValue"),p=(0,_.RL)("duration"),i((f=class extends _.XY{constructor(...e){super(...e),(0,E.Z)(this,"duration",y,this),(0,E.Z)(this,"hasTextBorder",b,this),(0,E.Z)(this,"showAllHours",I,this),(0,E.Z)(this,"hasDay",w,this),(0,E.Z)(this,"formatStr",T,this),(0,E.Z)(this,"formatFunc",S,this),(0,E.Z)(this,"className",C,this),(0,v.Z)(this,"countDownValue",-1)}get formatTime(){return this.countDownValue<0?"":this.formatFunc?this.formatFunc(this.countDownValue):this.showAllHours?N.Z.parse(this.countDownValue):R.Z.moment().startOf("days").add(this.countDownValue,"s").format(this.formatStr)}get formatDay(){return-1!==this.countDownValue?Math.floor(this.countDownValue/86400):0}countDownOver(){}countDownTime(e=!0){return e?R.Z.getFormatTime(this.countDownValue,this.formatStr):this.countDownValue}WatchCountDown(){this.countDownTime()}WatchDuration(e,t){e!==t&&this.doCountDown()}reset(){this.countDownAnimation?.kill(),this.countDownValue=-1,this.countDownAnimation=null,this.countDownOver()}doCountDown(){this.countDownValue=this.duration,this.countDownAnimation?.kill(),this.countDownAnimation=new P.ZP({time:this.duration}).to({time:0},1e3*this.duration,"none").on(P.ZP.EventType.UPDATE,(e=>{this.countDownValue=parseInt(e.time)})).on(P.ZP.EventType.COMPLETE,(()=>{this.reset()}))}mounted(){this.doCountDown()}beforeDestroy(){this.countDownAnimation?.kill()}renderCountDown(){const e=this.$createElement,{t:t}=(0,D.QT)();return e("span",{class:[x,"countSpan"]},[this.hasDay&&this.formatDay>0&&t("lobby.event.invest.columns.rewardDays.value",{days:this.formatDay}),-1!==this.countDownValue&&this.formatTime])}render(){const e=arguments[0],t=(0,O.Q)();return this.hasTextBorder&&!t.ios()?e("span",{class:[B,"count",this.className??""],attrs:{"data-text":this.formatTime}},[this.renderCountDown()]):e("span",{class:[Z,"countText",this.className??""]},[this.renderCountDown()])}},y=(0,A.Z)(f.prototype,"duration",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,A.Z)(f.prototype,"hasTextBorder",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,A.Z)(f.prototype,"showAllHours",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,A.Z)(f.prototype,"hasDay",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,A.Z)(f.prototype,"formatStr",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,A.Z)(f.prototype,"formatFunc",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,A.Z)(f.prototype,"className",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,A.Z)(f.prototype,"countDownOver",[d],Object.getOwnPropertyDescriptor(f.prototype,"countDownOver"),f.prototype),(0,A.Z)(f.prototype,"countDownTime",[h],Object.getOwnPropertyDescriptor(f.prototype,"countDownTime"),f.prototype),(0,A.Z)(f.prototype,"WatchCountDown",[m],Object.getOwnPropertyDescriptor(f.prototype,"WatchCountDown"),f.prototype),(0,A.Z)(f.prototype,"WatchDuration",[p],Object.getOwnPropertyDescriptor(f.prototype,"WatchDuration"),f.prototype),g=f))||g)},74609:function(e,t,n){n.d(t,{Z:function(){return I}});var i,s,a,o,r,l=n(53158),c=n(55433),u=n(12040),d=n(38821),h=n(91475),m=n(56343),p=n(12832),g=n(30381),f=n.n(g),y="CLOfWpvGHSSct15le85v",b="pSQmrjyY77PAjIMrRhwN";let I=(i=(0,d.wA)({name:"CountTime"}),s=(0,d.fI)({required:!1}),i((o=class extends d.XY{constructor(...e){super(...e),(0,l.Z)(this,"format",r,this),(0,c.Z)(this,"time","")}mounted(){this.updateSystemTime()}beforeDestroy(){this.timer&&clearInterval(this.timer)}updateSystemTime(){const{siteInfos:e}=(0,h.h)(),t=e?.timeZone?.split(" ")[1];if(t){const e=f()().utcOffset(t).toLocaleString();this.time=m.Z.format(e,this.format||"MM/DD  HH:mm:ss",{utcOffset:t}),this.timer=setInterval((()=>{const e=f()().utcOffset(t).toLocaleString();this.time=m.Z.format(e,this.format||"MM/DD  HH:mm:ss",{utcOffset:t})}),1e3)}}commonRender(){const e=this.$createElement,{siteInfos:t}=(0,h.h)(),n=t?.timeZone?.split(" ")[1];return this.$scopedSlots.default?.({time:this.time,timeZonePre:"UTC",timeZone:n})||e("span",[this.time,"UTC",n])}Theme15Render(){const e=this.$createElement,{siteInfos:t}=(0,h.h)();return e("span",[this.time,"   (UTC",t?.timeZone?.split(" ")[1],")"])}stakeRender(){const e=this.$createElement,{siteInfos:t}=(0,h.h)();return e("span",{class:y},[e("span",{class:b},["(UTC",t?.timeZone?.split(" ")[1],")"]),e("span",[this.time])])}normalRender(){const e=this.$createElement,{siteInfos:t}=(0,h.h)();return e("span",{class:y},[e("span",[this.time]),e("span",{class:b},["(UTC",t?.timeZone?.split(" ")[1],")"])])}render(){const e=arguments[0],{isStake:t,isEuropeanAmerican:n,isClassicStyle:i,isTheme15:s}=p.Z.currentTheme();return e("span",{class:"count-time-box"},[t?this.stakeRender():i||n?this.normalRender():s?this.Theme15Render():this.commonRender()])}},r=(0,u.Z)(o.prototype,"format",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=o))||a)},57717:function(e,t,n){n.d(t,{DS:function(){return c},Kg:function(){return o},SA:function(){return i},cL:function(){return l},hq:function(){return s},k4:function(){return a},uj:function(){return r}});const i={NotLoginApp:0,LoginApp:1},s={Yes:1,Not:0},a={top0:0,bannerTop1:1,middle:2,bottom:3},o={hidden:0,show:1},r={init:"init",loadingFile:"loadingFile",loadedFile:"loadedFile",installingApp:"installingApp",installedApp:"installedApp"},l=9999,c=9999},77278:function(e,t,n){n.r(t),n.d(t,{default:function(){return ie}});n(49928);var i,s,a,o,r,l=n(36689),c=n(55433),u=n(12040),d=n(7174),h=n(28636),m=n(29339),p=n(38821),g=n(1183),f=n(46851),y=n(57717),b=n(67262),I=n(75990),w=n(71743),T=n(63141),S=n(78910),C=n(11777),E=n(451),v=n(63312),A=n(58217),_=n(91475),O=n(17659),D=n(75812),P=n(44159),R=n(61082),N="vvn5golPtcmNLnLPB6GK",B="bSF5XU5BSE76wIPQtpg3",Z="aBAR_JTZYsk5ycmfabKL",x="kRssG8mvd4vkJMPDJxec",M="ifujekclzegVaZDv6CnE",L="lNydjGFovROKh6eTS6uu",k="yW1s4BVEqksP3c9iw8pd",F="AWXzhQKZ4nbqD_IQBMCN",U="eEW7qoL91kAuaKCuOLBM",G="mlI2DT_DlXbpxp9I6DKv",z="l6YfiPgqc9nXrX8AdUsQ",H="kVyg6lRgttVKVP8t3D0f",W="RFEvTGyjzKD0dsW7hIhd",V="RDM4Jwd25DjgjyRYcDFw",$="Mvyp53y7PhZrzKYr1OuI",K="fbJ3Jqr2AjPJYSZXLizW",Y="VSt2kE9irWgvRLeeEWtN",j="SqRfQuZiWic74707o8ND",J="Q0BvWRJqwHkbWmmfSaoX",Q="fN1jwsR6y1DDwVUUDKgE",q="oVk39ypoNf8peXeK87Pq",X="HnQ1hgv05DsvHEEnwvr2",ee="k8nvPDOO1APbORsm3JUG",te="RO573jE7RqJXOCC5ipXQ",ne="GTJm3rNbo27EK0EhuT6D";let ie=(i=(0,p.wA)({name:"DownloadAppForceByChannel"}),s=(0,p.RL)("isFirstDeposit",{immediate:!0}),a=(0,p.RL)("displayToDepositUser",{immediate:!0}),i((r=class extends((0,p.Wr)(O.Z)){constructor(...e){super(...e),(0,c.Z)(this,"state",{showDownloadApp:!1,hasClickCopyButton:!1})}async handleDownloadApp(e){e.type===g.ay.DOWNLOAD_APP_REQUIRE_FORCE_BY_CHANNEL&&(await(0,v.h)().getDownloadConfig(),await this.updateAppVersion(),this.setState({showDownloadApp:!0}))}copyText(e){(0,I.zp)(e),this.setState({hasClickCopyButton:!0});const{t:t}=(0,A.QT)();l.Z.success(t("lobby.common.tips.copy"))}mounted(){f.xN.subscribe(this.handleDownloadApp)}get isFirstDeposit(){return(0,_.h)().isFirstDeposit}get displayToDepositUser(){const{channelInfo:e}=(0,E.e)();if(!e)return!1;const{userDisplay:t}=e,{RechargeUser:n}=h.dj;return t===n}async getFirstPayAmount(){if(!this.isFirstDeposit)return;if(!this.displayToDepositUser)return;const{setFirstPayAmount:e,firstPayAmount:t}=(0,v.h)();if(t)return;const{first_pay_amount:n}=await(0,b.U3)(!0);e(n??"")}beforeDestroy(){f.xN.unsubscribe(this.handleDownloadApp)}get isShowRewardsConditionLiteral(){const{channelInfo:e}=(0,E.e)();if(!e)return!1;const{userDisplay:t,rewardsCondition:n}=e,{AllUser:i}=h.dj,{FirstDeposit:s}=h.lB;return t===i&&n===s}static get isNotLoginApp(){const{userInfos:e}=(0,_.h)();return e?.loginOsType===y.SA.NotLoginApp}static get showDownloadAppByChannel(){const{channelInfo:e}=(0,E.e)(),{isFirstDeposit:t}=(0,_.h)();if(!e)return!1;const{downloadDisplay:n,userDisplay:i,viewDownload:s,isForceDownload:a}=e,{Open:o}=h.R$,{AllUser:r}=h.dj,{NormalPackage:l,SppedPackage:c}=h.GN,{Yes:u}=h.o1,d=n===o&&[l,c].includes(s)&&a===u;return!(!d||i!==r)||!(!d||!t)}static get isForceDownload(){const{channelInfo:e}=(0,E.e)();if(!e)return!1;const{isForceDownload:t}=e,{Yes:n}=h.o1;return t===n}static get canOpenDownloadAppByChannel(){const{hiddenDownload:e}=(0,_.h)(),{hasLogined:t}=(0,_.h)(),n=(0,S.VK)(),i=(0,C.v5)();return t&&this.isNotLoginApp&&!e&&this.isForceDownload&&!n&&!i&&!!this.showDownloadAppByChannel}get onlineCustomers(){return(0,_.h)().serviceInformation?.customer.onlineCustomers??[]}get customerUrl(){return this.onlineCustomers.length?this.onlineCustomers[0].customerUrl:""}get formatDownloadAppRewardByChannel(){const{userInfos:e,downloadAppRewardByChannel:t}=(0,_.h)();return(0,T.oB)(t||0,{code:e?.currency,precision:2,symbol:""})}get getUsername(){return(0,_.h)().userInfos?.platfromid??""}get formatFirstPayAmount(){const{userInfos:e}=(0,_.h)(),{firstPayAmount:t}=(0,v.h)();return(0,T.oB)(t||0,{code:e?.currency,precision:2,symbol:""})}onCancel(){this.setState({showDownloadApp:!1})}render(){const e=arguments[0],{t:t}=(0,A.QT)(),{downloadAppRewardByChannel:n,isShowDownloadRewardsByChannel:i}=(0,_.h)(),s=this.formatDownloadAppRewardByChannel,{channelGlobalConfig:a}=(0,_.h)(),{filterUrlslistByChannelConfig:o,firstPayAmount:r}=(0,v.h)(),l=this.getAppVersion(o[0]??"");return e(m.dj,{on:{clickOverlay:this.onCancel},attrs:{value:this.state.showDownloadApp,position:"bottom"},class:ne},[e("div",{class:M},[e("div",{class:L},[e("div",{class:k}),e("my-img",{class:F,attrs:{src:"/lobby_asset/common/common/home/img_xzap_hj.png"}}),e("div",{class:U},[e("icon-sprite",{attrs:{sprite:(0,w.T9)("img_xzap_hj2")}})])]),e("div",{class:G},[e("div",{class:z},[e("icon-sprite",{attrs:{sprite:(0,w.T9)("comm_icon_zyts")}}),e("span",{class:H},[t("lobby.rightBar.titleFromChannel")])]),e("div",{class:W},[!!r&&e("span",{class:V},[e("inner-html",{attrs:{text:t("lobby.rightBar.depositAmount",[this.formatFirstPayAmount])}})]),e("span",[t("lobby.rightBar.gameExperience")]),e("span",{style:$},[t("lobby.rightBar.downloadAndInstall")]),e("span",{class:K,on:{click:()=>this.copyText(this.getUsername)}},[e("b",[this.getUsername]),e("icon-sprite",{attrs:{sprite:(0,w.T9)("style_1_icon_copy")}})]),e("span",{class:Y},[t("lobby.rightBar.getAward")]),!!n&&i&&e("span",{class:Y},[t("lobby.rightBar.getAward1"),e("b",{class:j},[s]),this.isShowRewardsConditionLiteral&&t("lobby.rightBar.channelTip5"),!!this.customerUrl&&t("lobby.rightBar.comma")]),!!this.customerUrl&&e("span",{class:J},[t("lobby.rightBar.contactService"),e("span",{on:{click:()=>(0,D.MI)(this.customerUrl)},class:Q},[e("b",[t("lobby.rightBar.contactService1")]),e("icon-sprite",{attrs:{sprite:(0,w.T9)("icon_dt_1kf")}})])])]),e("div",{class:q},[e("div",{class:X},[t("lobby.rightBar.confirmApp")])]),e("div",{class:ee},[e("my-img",{attrs:{src:a?.appIcon??""}}),e("p",{class:te},[this.appName])]),e("div",{class:N},[e(d.zx.Tsx,{attrs:{type:"primary",ghost:!0},class:B,on:{click:()=>{this.handlerDownloadBtnByChannelForceDownload();(0,R.Z)().android.device&&this.checkParamsIsValid&&(this.postApiNetstatPlayerAdInfo(),this.state.hasClickCopyButton||(0,I.zp)(this.getClipBoardParams))}}},[!!n&&i&&e(P.default,{attrs:{charge:1,top:D.ZP.px2rem(-20),right:D.ZP.px2rem(-10),text:s}}),e("icon-sprite",{class:Z,attrs:{sprite:(0,R.Z)().apple.device?(0,w.T9)("comm_icon_xz-ios"):(0,w.T9)("comm_icon_xz-android")}}),e("span",{class:x},[t("lobby.rightBar.startInstall"),"(V",l,")"])])]),this.guildInstallNormalAppContent])])])}},(0,u.Z)(r.prototype,"getFirstPayAmount",[s,a],Object.getOwnPropertyDescriptor(r.prototype,"getFirstPayAmount"),r.prototype),o=r))||o)},65819:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var i,s=n(7174),a=n(28636),o=n(38821),r=n(1183),l=n(46851),c=n(57717),u=n(71743),d=n(63141),h=n(78910),m=n(11777),p=n(451),g=n(63312),f=n(58217),y=n(91475),b=n(17659),I=n(75812),w=n(53579),T=n(44159),S=n(61082),C="oqfbbxoCre0pueYszQv1",E="oNDGweuzetCS0hxIzOcw",v="e6hddgiwMrk5WpAEo3V2",A="jdy4sIbvZxrPWDxtE80t",_="TzdT_UTWDmd6r7V4BvUR",O="czlmG4_Ngk6Wo2o3NKbe",D="GhOY_Cf255_fjkwHiKmt",P="_eZlk5sU3Xnsxjh_NoZG",R="Tf7rAAAGD7CbH1LsSdvg",N="xFclxQLTvl_biyfAOIQr",B="eBPDSb1cHtW_rAfoU5Vl";let Z=(0,o.wA)({name:"DownloadAppNotRequireForceByChannel"})(i=class extends((0,o.Wr)(b.Z)){handleDownloadApp(e){const{setHasClickDownloadAPPByChannel:t}=(0,g.h)();e.type===r.ay.DOWNLOAD_APP_NOT_REQUIRE_FORCE_BY_CHANNEL&&(this.downloadAppByChannel(),t(!0))}mounted(){l.xN.subscribe(this.handleDownloadApp)}beforeDestroy(){l.xN.unsubscribe(this.handleDownloadApp)}get isShowRewardsConditionLiteral(){const{channelInfo:e}=(0,p.e)();if(!e)return!1;const{userDisplay:t,rewardsCondition:n}=e,{AllUser:i}=a.dj,{FirstDeposit:s}=a.lB;return t===i&&n===s}static get isNotLoginApp(){const{userInfos:e}=(0,y.h)();return e?.loginOsType===c.SA.NotLoginApp}static get showDownloadAppByChannel(){const{channelInfo:e}=(0,p.e)(),{isFirstDeposit:t}=(0,y.h)();if(!e)return!1;const{downloadDisplay:n,userDisplay:i,viewDownload:s,isForceDownload:o}=e,{Open:r}=a.R$,{AllUser:l}=a.dj,{NormalPackage:c,SppedPackage:u}=a.GN,{Not:d}=a.o1,h=n===r&&[c,u].includes(s)&&d===o;return!(!h||i!==l)||!(!h||!t)}static get isForceDownload(){const{channelInfo:e}=(0,p.e)();if(!e)return!1;const{isForceDownload:t}=e,{Yes:n}=a.o1;return t===n}static get canOpenDownloadAppByChannel(){const{hiddenDownload:e}=(0,y.h)(),{hasClickDownloadAPPByChannel:t}=(0,g.h)(),{hasLogined:n}=(0,y.h)(),i=(0,h.VK)(),s=(0,m.v5)();return n&&!this.isForceDownload&&!t&&this.isNotLoginApp&&!e&&!i&&!s&&!!this.showDownloadAppByChannel}get formatDownloadAppRewardByChannel(){const{userInfos:e,downloadAppRewardByChannel:t}=(0,y.h)();return(0,d.oB)(t||0,{code:e?.currency,precision:2,symbol:""})}async downloadAppByChannel(){const e=this.$createElement,{downloadAppRewardByChannel:t,isShowDownloadRewardsByChannel:n}=(0,y.h)(),i=this.formatDownloadAppRewardByChannel;await(0,g.h)().getDownloadConfig(),await this.updateAppVersion();const{filterUrlslistByChannelConfig:a}=(0,g.h)(),o=this.getAppVersion(a[0]),{t:r}=(0,f.QT)();w.Z.create({destroyOnClose:!0,title:e("div",{class:P},[e("icon-sprite",{attrs:{sprite:(0,u.T9)("comm_icon_zyts")}}),e("span",{class:E},[r("lobby.rightBar.titleFromChannel")])]),closable:!0,hiddenBtns:!0,class:O,width:I.ZP.px2rem(600),content:()=>e("div",{class:C},[e("div",{class:R},[e("span",{class:N},[r("lobby.rightBar.channelTip1")]),!!t&&n&&e("span",{class:B},[r("lobby.rightBar.channelTip2"),e("b",[i]),r("lobby.rightBar.channelTip3"),this.isShowRewardsConditionLiteral&&r("lobby.rightBar.channelTip5")])]),e("div",{class:D},[e(s.zx.Tsx,{attrs:{type:"primary",ghost:!0},class:v,on:{click:()=>{this.handlerDownloadBtnByChannelNotForceDownload()}}},[!!t&&n&&e(T.default,{attrs:{charge:1,top:I.ZP.px2rem(-20),right:I.ZP.px2rem(-10),text:i}}),e("icon-sprite",{class:A,attrs:{sprite:(0,S.Z)().apple.device?(0,u.T9)("comm_icon_xz-ios"):(0,u.T9)("comm_icon_xz-android")}}),e("span",{class:_},[r("lobby.rightBar.startInstall"),"(V",o,")"])])])])})}render(){return(0,arguments[0])("template")}})||i},17659:function(e,t,n){n.d(t,{Z:function(){return k}});var i,s=n(55433),a=(n(82801),n(57717)),o=n(38821),r=n(6860),l=n(1183),c=n(46851),u=n(62933),d=n(63312),h=n(5860),m=n(26513),p=n(75990),g=n(71743),f=n(63141),y=n(5954),b=n(55941),I=n(78910),w=n(75812),T=n(58217),S=n(91475),C=n(54328),E=n(95059),v=n(21615),A=n(53579),_=n(44159),O=n(61082),D="_6K0wxjeW6NqmoF4aKJL",P="Bb86FbIEbK058z1NOS9l",R="Uf0Qgdd_8DK2azmxTwNm",N="Zuyj_6jD06lisQr_edPN",B="w0j5Xsk7haXs1q_BK4JH",Z="QfkC0pgNlhCkAUjbznM1";const x=(0,y.Q)().isKwai(),M=(0,I.cz)();let L=!1,k=(0,o.wA)({name:"BaseMixins"})(i=class extends o.XY{constructor(...e){super(...e),(0,s.Z)(this,"countByChannel",0),(0,s.Z)(this,"count",0),(0,s.Z)(this,"countByLobbyDomain",0),(0,s.Z)(this,"item",{})}get formatDownloadAppReward(){const{downloadAppReward:e}=(0,d.h)(),{userInfos:t}=(0,S.h)();return(0,f.oB)(e||0,{code:t?.currency,precision:2,symbol:""})}showRewardTooltipByDownloadType(e){const t=this.$createElement,n=this.formatDownloadAppReward,i=this.formatDesktopReward,s=this.formatP2aReward,{downloadAppReward:a}=(0,d.h)(),{desktopRewardAmount:o,p2aRewardAmount:r}=(0,C.B)(),{isSiteCurrencyBelongNewRewardsCurrency:l}=(0,d.h)();return u.Mg.DesktopShortCut===e?o&&l?t(_.default,{attrs:{charge:1,top:w.ZP.px2rem(-20),right:w.ZP.px2rem(-10),text:i}}):null:u.Mg.P2A!==e?a&&l?t(_.default,{attrs:{charge:1,top:w.ZP.px2rem(-20),right:w.ZP.px2rem(-10),text:n}}):null:r&&l?t(_.default,{attrs:{charge:1,top:w.ZP.px2rem(-20),right:w.ZP.px2rem(-10),text:s}}):void 0}get formatDesktopReward(){const{userInfos:e}=(0,S.h)(),{desktopRewardAmount:t}=(0,C.B)();return(0,f.oB)(t||0,{code:e?.currency,precision:2,symbol:""})}get formatP2aReward(){const{userInfos:e}=(0,S.h)(),{p2aRewardAmount:t}=(0,C.B)();return(0,f.oB)(t||0,{code:e?.currency,precision:2,symbol:""})}get hasInstallPwa(){const{installPrompt:e,isCanInstallShortcutByBrowser:t}=(0,C.B)(),n=e?.prompt,{hasInstallPwaSuccess:i}=(0,C.B)();return!n&&t||i}get getLobbyDomainList(){const{siteURLInfos:e}=(0,S.h)(),t=e?.lobby_domain??[],{origin:n}=new URL(window.location.href),i=t.filter((e=>e!==n));return this.hasInstallPwa?[...i,n]:[n,...i]}replaceSiteDomainByLobbyDomain(e){const{downloadUrls:t}=(0,d.h)();if(t?.seoSwitch)return e;const n=this.getLobbyDomainList;if(!n.length)return e;const i=n.length,s=n[this.countByLobbyDomain%i],a=(0,p.vM)(e,s);return this.countByLobbyDomain++,a}handlerDownloadBtn(e,t){const n=(0,O.Z)().android.device;this.item=e,this.count=t;const{type:i}=e;x&&n?A.Z.message({type:"error",content:this.$t("lobby.aside.music.newDownloadError")}):[u.Mg.P2A,u.Mg.DesktopShortCut].includes(i)?this.innerHandlerDownloadBtn():i!==a.cL?(n&&this.checkParamsIsValid&&((0,p.zp)(this.getClipBoardParams),this.postApiNetstatPlayerAdInfo()),this.innerHandlerDownloadBtn()):(0,w.MI)(e.downloadPath)}getIosH5SafariUrl(e){const t=(0,O.Z)().apple.device,n=v.cY.package.isApp;if(!t||!b.G6||n)return;const{type:i}=e;return i===a.cL||[u.Mg.P2A,u.Mg.DesktopShortCut].includes(i)?void 0:e.value}handlerDownloadBtnByChannelNotForceDownload(){const{filterUrlslistByChannelConfig:e}=(0,d.h)();this.item=e[this.countByChannel%e.length],this.innerHandlerDownloadBtn(),this.countByChannel++}handlerDownloadBtnByChannelForceDownload(){const{filterUrlslistByChannelConfig:e}=(0,d.h)();this.item=e[this.countByChannel%e.length],this.innerHandlerDownloadBtn(),this.countByChannel++}listenIsRun(e){return new Promise((t=>{if(e&&e!==u.Mg.NORMAL&&e!==u.Mg.SPEED)return t(!1);try{(0,d.h)().updateLoadingIsRun(!0);const e=(0,O.Z)().apple.device;if((0,r.q_)()===r.Aq.IsSafari)return t(!1);const{siteCode:n}=(0,S.h)(),i=e?`wgwgwgwg${n}://`:`wgwgwgwg${n}://wgwgwgwg/open`;let s=Object.create(null);s=document.createElement("iframe"),s.style.height="0",s.src=i,setTimeout((()=>{document.body.appendChild(s)}),200),setTimeout((()=>{const e=!document.hidden||"visible"==document.visibilityState;t(!e),s&&document.body.removeChild(s),(0,d.h)().updateLoadingIsRun(!1)}),1500)}catch(n){t(!1),(0,d.h)().updateLoadingIsRun(!1)}}))}listenP2aEventStatus(){if(L)return;L=!0;let e=0;const t=async()=>{e++;const{setP2aLoadEventProgressBarPercent:n,setInstallP2aStatusFromSite:i,setIsSupportP2a:s}=(0,d.h)();if(n(10*e),e>=10)return L=!1,i(a.uj.init),void s(!1);const{installPrompt:o}=(0,C.B)();if(o)return L=!1,s(!0),n(100),await(0,p.gw)(300),void i(a.uj.loadedFile);await(0,p.gw)(2e3),t()};t()}handleClickP2aButton(){const{setInstallP2aStatusFromSite:e}=(0,d.h)(),{installPrompt:t}=(0,C.B)();t?e(a.uj.loadedFile):(e(a.uj.loadingFile),this.listenP2aEventStatus())}async handlerDownloadBtnFromP2AOrShortCut(){const{item:{type:e}}=this;if(e===u.Mg.P2A){const e=(0,I.Cv)(),{installPrompt:t,isCanInstallShortcutByBrowser:n}=(0,C.B)(),i=t?.prompt,{hasInstallPwaSuccess:s}=(0,C.B)(),a=!i&&n;e?c.xN.dispatch({type:l.ay.PWATOAPP_INSTALL_BY_CHANNEL}):a||s?(0,w.MI)(window.location.href):this.handleClickP2aButton()}if(e===u.Mg.DesktopShortCut){const{setIsVisibleShortcut:e}=(0,C.B)();return e(!0),void c.xN.dispatch({type:l.ay.CLICK_SAVESHORT_BUTTON})}}resetSearchParamsByUrl(e){const{tokenInfos:t}=(0,E.u)(),n=e??location.href;if(!t)return n;return(0,p.ce)(n,"_ti",window.btoa(JSON.stringify(t))).href}async innerHandlerDownloadBtn(){const{count:e,item:t}=this,{type:n}=t;if([u.Mg.P2A,u.Mg.DesktopShortCut].includes(n))return void this.handlerDownloadBtnFromP2AOrShortCut();if(await this.listenIsRun(t.type))return void c.xN.dispatch({type:l.ay.CLOSE_DOWNLOAD_APP_MODAL});const i=(0,O.Z)().apple.device,{downloadPath:s,customizePath:a,value:o}=t,r=[];if(i)r.push(o);else{if(s){const e=this.replaceSiteDomainByLobbyDomain(s);r.push(e)}a&&r.push(a)}(0,d.h)().reportDownloadUrlClick(t);let h=u.Uf.Normal;t.type===u.Mg.SPEED&&(h=u.Uf.Quickly),(0,w.SH)(u.Pf.ClickDownLoad,h);const m=(0,O.Z)().android.device;if(x&&m)A.Z.message({type:"error",content:this.$t("lobby.aside.music.newDownloadError")});else if(M){const e=this.resetSearchParamsByUrl(),t=new URL(e),{protocol:n}=t,i=e.replace(`${n}//`,"");location.href=`intent://${i}#Intent;scheme=${n};package=com.android.chrome;end`}else(0,w.MI)(r[e%r.length])}validateNumber(e){return e&&Number(e)?Number(e):0}get getClipBoardParams(){const e=(0,p.ao)(),{fbclid:t,pixel_id:n,fb_dynamic_pixel:i,kwaiPixelBaseCode:s,click_id:a,tiktokBaseCode:o,ttclid:r}=e,l=e["fixed.kwaiTestClickId"],{urlParams:c}=(0,S.h)(),u={facebook:{fbclid:t,pixel_id:i??n},wg:{name:"WG",cid:c.cid||void 0,id:c.id||void 0},kwai:{kwaiPixelBaseCode:s,click_id:a,"fixed.kwaiTestClickId":l},tiktok:{tiktokBaseCode:o,ttclid:r},timestamp:Math.floor(Date.now()/1e3)};return JSON.stringify(u)}get clipBoardParamsTransformNumber(){const e=this.validateNumber,t=JSON.parse(this.getClipBoardParams),{facebook:n,wg:i,kwai:s,tiktok:a}=t,{fbclid:o,pixel_id:r}=n,{kwaiPixelBaseCode:l,click_id:c}=s,{tiktokBaseCode:u,ttclid:d}=a,{cid:h,id:m}=i,p=s["fixed.kwaiTestClickId"];return{facebook:{fbclid:o,pixel_id:r},wg:{name:"WG",cid:e(h),id:e(m)},kwai:{kwaiPixelBaseCode:l,click_id:c,"fixed.kwaiTestClickId":p},tiktok:{tiktokBaseCode:u,ttclid:d},timestamp:Math.floor(Date.now()/1e3)}}postApiNetstatPlayerAdInfo(){const e=this.clipBoardParamsTransformNumber;(0,m.V)(e)}get checkParamsIsValid(){const e=(0,p.ao)(),{fbclid:t,pixel_id:n,fb_dynamic_pixel:i,kwaiPixelBaseCode:s,click_id:a,tiktokBaseCode:o,ttclid:r}=e,l=e["fixed.kwaiTestClickId"],{urlParams:c}=(0,S.h)(),u=c.cid||void 0,d=c.id||void 0;return!!(t||n||i||Number(u)||Number(d)||s||a||o||r||l)}getAppVersion(e){const{appVersion:t}=(0,d.h)();if(!t)return"";const{iosPkgVersion:n,iosWebSpeedPkgVersion:i,androidPkgVersion:s,androidWebSpeedPkgVersion:a}=t,{type:o}=e;if((0,O.Z)().apple.device){if(o===u.Mg.SPEED)return i;if(o===u.Mg.NORMAL)return n}else{if(o===u.Mg.SPEED)return a;if(o===u.Mg.NORMAL)return s}return""}flattenAppNameLanguage(e){return e.reduce(((e,t)=>{const{key:n,value:i}=t,s=n.split(",");return 1===s.length?e=e.concat({key:n,value:i}):s.forEach((t=>{e=e.concat({key:t,value:i})})),e}),[])}get appName(){const{channelGlobalConfig:e,language:t}=(0,S.h)();if(!e)return"";const{appNameLanguage:n}=e;if(!n)return"";const i=this.flattenAppNameLanguage(n).find((e=>t.includes(e.key)));return i?i.value:""}get guildInstallAppContentByiOS(){const e=this.$createElement,{t:t}=(0,T.QT)();return e("div",{class:D},[e("h3",{class:P},[t("lobby.rightBar.installGuild")]),e("p",{class:R},[t("lobby.rightBar.installDetail1ByiOS")]),e("p",{class:R},[t("lobby.rightBar.installDetail2ByiOS")]),e("p",{class:[R,N]},[e("span",[t("lobby.rightBar.installDetail3ByiOS")]),e("my-img",{class:B,attrs:{src:"/lobby_asset/common/common/home/img_ios_setting.png"}}),e("span",[t("lobby.rightBar.installDetail4ByiOS")])]),e("p",{class:R},[t("lobby.rightBar.installDetail5ByiOS",[this.appName])])])}get guildInstallPackageContentByAndroid(){const e=this.$createElement,{t:t}=(0,T.QT)();return e("div",[e("div",{class:D},[e("h3",{class:P},[t("lobby.rightBar.installGuild")]),e("p",{class:R},[" ",t("lobby.rightBar.installPackageDetail1ByAndroid")]),e("p",{class:R},[t("lobby.rightBar.installPackageDetail2ByAndroid")])]),e("div",{class:Z},[e("icon-sprite",{attrs:{sprite:(0,g.T9)("comm_icon_zyts")}}),e("p",[t("lobby.rightBar.installDetail4ByAndroid")])])])}get guildInstallP2aContentByAndroid(){const e=this.$createElement,{t:t}=(0,T.QT)();return e("div",[e("div",{class:D},[e("h3",{class:P},[t("lobby.rightBar.installGuild")]),e("p",{class:R},[" ",t("lobby.rightBar.installDetail1ByAndroid")]),e("p",{class:R},[t("lobby.rightBar.installDetail2ByAndroid")]),e("p",{class:R},[t("lobby.rightBar.installDetail3ByAndroid")])]),e("div",{class:Z},[e("icon-sprite",{attrs:{sprite:(0,g.T9)("comm_icon_zyts")}}),e("p",[t("lobby.rightBar.installDetail4ByAndroid")])])])}get guildInstallAppContentByAndroid(){const{isSupportP2a:e}=(0,d.h)(),t=(0,I.h_)();return e&&t?this.guildInstallP2aContentByAndroid:this.guildInstallPackageContentByAndroid}get guildInstallNormalAppContent(){return(0,O.Z)().apple.device?this.guildInstallAppContentByiOS:this.guildInstallPackageContentByAndroid}get guildInstallAppContent(){return(0,O.Z)().apple.device?this.guildInstallAppContentByiOS:this.guildInstallAppContentByAndroid}async updateAppVersion(){const e=(await(0,h.apiCheckForceUpdate)())?.data?.data;if(!e)return;const{setAppVersion:t}=(0,d.h)();t(e)}created(){const{getNewComerBenefit:e}=(0,d.h)();e()}render(){return(0,arguments[0])("template")}})||i},63312:function(e,t,n){n.d(t,{h:function(){return b}});var i=n(62933),s=n(46851),a=n(28636),o=n(5860),r=n(75812),l=n(67476),c=n(26513),u=n(451),d=n(58217),h=n(91475),m=n(54328),p=n(61082);const g=(0,p.Z)().apple.device,f=(0,p.Z)().android.device,y=window.innerWidth>600,b=(0,l.Q_)("downloadApp",{state:()=>({downloadReward:{},newRewardsCurrency:"",amount:0,urlslist:[],downloadUrls:{},hasClickDownloadAPPByChannel:!1,hasCallApiGetActiveRewardBindBeforeLogin:!1,appVersion:null,firstPayAmount:"",openDownloadAppBySiteFromAutoManager:!1,isPromptDownloadApp:!1,installP2aStatusFromSite:"init",p2aLoadEventProgressBarPercent:0,p2aInstallProgressBarPercent:0,isSupportP2a:!0,isFromChannelP2aLink:!1,userAndChannel:{},siteOpenCount:0,loadingIsRun:!1}),getters:{downloadAppReward(){const e=this.downloadReward,{filterCurrencyListByCurrentCurrency:t}=(0,h.h)();let n=0;return e?.currency&&(n=t(e.currency)),n},isHasInstallSuccess(){const{installPrompt:e,isCanInstallShortcutByBrowser:t}=(0,m.B)(),{userAndChannel:n}=b(),i=n[(()=>{const{channelInfo:e}=(0,u.e)();if(!e)return"site";const{id:t}=e,{userInfos:n}=(0,h.h)(),{platfromid:i}=n;return`a_${i}_${t}`})()];return!e&&t&&i},bootInstallationIconUrl(){const{brandLogoInfos:e}=(0,h.h)();if(!e)return"";const{bootInstallationIconUrl:t}=e;return t},shortcutsLogoByEnv(){const{brandLogoInfos:e}=(0,h.h)();if(!e)return"";const{androidBootInstallation:t,iosBootInstallation:n,pcBootInstallation:i}=e;if(!t)return"";if(!n)return"";if(!i)return"";const{androidBootInstallation:{shortcutsLogo:s},iosBootInstallation:{shortcutsLogo:a},pcBootInstallation:{shortcutsLogo:o}}=e;if(f)return s||"";if(g&&!y){if(!a)return;return a}return o||""},shortcutsStyleByEnv(){const{brandLogoInfos:e}=(0,h.h)();if(!e)return 1;const{androidBootInstallation:t,iosBootInstallation:n,pcBootInstallation:i}=e;if(!t)return 1;if(!n)return 1;if(!i)return 1;const{androidBootInstallation:{shortcutsStyle:s},iosBootInstallation:{shortcutsStyle:a},pcBootInstallation:{shortcutsStyle:o}}=e;return f?s||1:g&&!y?a||1:o||1},installationHintLanguage(){const e=e=>{const{language:t}=(0,h.h)(),n=s.CM.ServiceLanguageMap[t],i=e.find((({key:e})=>e.includes(n)));return i?i.value:""},{brandLogoInfos:t}=(0,h.h)();if(!t)return"";const{androidBootInstallation:n,iosBootInstallation:i,pcBootInstallation:a}=t;if(!n)return"";if(!i)return"";if(!a)return"";const{androidBootInstallation:{installationHintLanguage:o},iosBootInstallation:{installationHintLanguage:r},pcBootInstallation:{installationHintLanguage:l}}=t;return f?o?e(o):"":g&&!y?r?e(r):"":l?e(l):""},computedUrlslistByInstallType(){const e=[-1],{brandLogoInfos:t}=(0,h.h)(),n=this.urlslist;if(!t)return n;const{bootInstallationSwitch:s}=t;if(!s)return n;const a=(()=>{const{brandLogoInfos:t}=(0,h.h)();if(!t)return e;const{androidBootInstallation:n,iosBootInstallation:i,pcBootInstallation:s}=t;if(!n)return e;if(!i)return e;if(!s)return e;const{androidBootInstallation:{installType:a},iosBootInstallation:{installType:o},pcBootInstallation:{installType:r}}=t;return f?a?a.split(",").map(Number):e:g&&!y?o?o.split(",").map(Number):e:r?r.split(",").map(Number):e})();if(a===e)return n;return(()=>{const{t:e}=(0,d.QT)();return this.urlslist?[{name:e("lobby.rightBar.desktopShortCut"),type:i.Mg.DesktopShortCut},{name:e("lobby.rightBar.P2A"),type:i.Mg.P2A},...this.urlslist]:[]})().filter((({type:e})=>a.includes(e)))},bootInstallationSwitch(){const{brandLogoInfos:e}=(0,h.h)();if(!e)return!1;const{bootInstallationSwitch:t}=e;return!!t},guildDownloadStyle(){const{brandLogoInfos:e}=(0,h.h)();if(!e)return 0;const{bootInstallationStyle:t}=e;return t},showGuildDownloadIcon(){const{brandLogoInfos:e}=(0,h.h)();if(!e)return 1;const{bootInstallationIconSwitch:t}=e;return t},filterUrlslistByChannelConfig(){if(!this.urlslist?.length)return[];const e=this.urlslist?.filter((e=>e.type===i.Mg.NORMAL)),t=this.urlslist?.filter((e=>e.type===i.Mg.SPEED));if(e.length&&!t.length)return e;if(!e.length&&t.length)return t;const{channelInfo:n}=(0,u.e)();if(!n)return this.urlslist;const{viewDownload:s}=n;return s===a.GN.NormalPackage&&e?e:s===a.GN.SppedPackage&&t?t:[]},isSiteCurrencyBelongNewRewardsCurrency(){const{hasLogined:e,userInfos:t}=(0,h.h)(),n=t?.currency;return!!e||this.newRewardsCurrency.includes(n)},isForceInstallation(){const{brandLogoInfos:e}=(0,h.h)();if(!e)return!1;if(f){const{androidBootInstallation:t}=e;if(!t)return!1;const{forceInstall:n}=t;return!!n}if(g&&!y){const{iosBootInstallation:t}=e;if(!t)return!1;const{forceInstall:n}=t;return!!n}const{pcBootInstallation:t}=e;if(!t)return!1;const{forceInstall:n}=t;return!!n}},actions:{setSiteOpenCount(){this.siteOpenCount+=1},updateLoadingIsRun(e){this.loadingIsRun=e||!this.loadingIsRun},setDownloadReward(e){this.downloadReward=e},setUserAndChannel(e){this.userAndChannel={...this.userAndChannel,...e}},setIsFromChannelP2aLink(e){this.isFromChannelP2aLink=e},setIsSupportP2a(e){this.isSupportP2a=e},setP2aInstallProgressBarPercent(e){this.p2aInstallProgressBarPercent=e},setP2aLoadEventProgressBarPercent(e){this.p2aLoadEventProgressBarPercent=e},setInstallP2aStatusFromSite(e){this.installP2aStatusFromSite=e},setIsPromptDownloadApp(e){this.isPromptDownloadApp=e},setOpenDownloadAppBySiteFromAutoManager(e){this.openDownloadAppBySiteFromAutoManager=e},setFirstPayAmount(e){this.firstPayAmount=e},setAppVersion(e){this.appVersion=e},setHasClickDownloadAPPByChannel(e){this.hasClickDownloadAPPByChannel=e},setNewRewardsCurrency(e){this.newRewardsCurrency=e},setHasCallApiGetActiveRewardBindBeforeLogin(e){this.hasCallApiGetActiveRewardBindBeforeLogin=e},async reportDownloadUrlClick(e){const{uuid:t,urlParams:n}=(0,h.h)();(n?.cid||n?.id)&&(0,o.apiReportDownloadUrlClick)({accessType:1,accessUrl:window.location?.href,packageType:e?.type,promoter_info:n?.id,channel_info:n?.cid,visitor_device:t})},async getNewComerBenefit(){const e=(0,h.h)();await e.getRewardBindData(!1);const{rewardBindData:t}=e,{setDesktopRewardData:n,setP2aReward:s}=(0,m.B)(),{setDownloadReward:a}=b(),{setHasCallApiGetActiveRewardBindBeforeLogin:o}=b(),r=t?.find((e=>e.bindType===i.sF.DownloadAndLogin));r&&a({reward:r.reward,bindType:i.sF.DownloadAndLogin,bindTypeText:r.bindTypeText,currency:r.currency});const l=t?.find((e=>e.bindType===i.sF.createDesktop));l&&n({reward:l.reward,bindType:i.sF.createDesktop,bindTypeText:l.bindTypeText,currency:l.currency}),o(!0);const c=t?.find((e=>e.bindType===i.sF.createP2a));c&&s({reward:c.reward,bindType:i.sF.createP2a,bindTypeText:c.bindTypeText,currency:c.currency})},async getDownloadUrls(){try{if((0,p.Z)().apple.device){const{channelGlobalConfig:e}=(0,h.h)();if(!e)return;const{language:t}=(0,h.h)(),{downloadList:n}=e,i=s.CM.ServiceLanguageMap[t];if(!this.downloadUrls)return;this.downloadUrls.downloadList=n?.filter((({language:e})=>e.includes(i)))}else{const{data:e}=await(0,c.j)();this.downloadUrls=e.data}}catch(e){}return this.downloadUrls},async getDownloadConfig(){const{t:e}=(0,d.QT)();if(await this.getDownloadUrls(),!this.downloadUrls)return;const t={[i.Mg.SPEED]:e("lobby.rightBar.downloadAppFirst"),[i.Mg.NORMAL]:e("lobby.rightBar.downloadAppNative"),[i.Mg.QUICK]:e("lobby.rightBar.downloadAppQuick")},{downloadList:n,androidList:s}=this.downloadUrls,a=(0,p.Z)().apple.device?n?.map((e=>({...e,name:e.type===i.Mg.QUICK?t[i.Mg.QUICK]:e.name}))):s?.map((e=>({name:e.size?`${t[e.type]} (${e.size?.toFixed(1)}M)`:t[e.type],size:e.size?.toFixed(1),downloadPath:e.downloadPath,customizePath:e.customizePath,type:e.type})));return this.urlslist=a,a}},persist:{enabled:!0,strategies:[{key:"web.lobby.downloadApp",storage:(0,r.nX)(),paths:["userAndChannel"]}]}})},16682:function(e,t,n){n.d(t,{r:function(){return o}});var i=n(60760),s=n(5860),a=n(75812);const o=(0,n(67476).Q_)("footer",{state:()=>({footerInfos:null,socialmediaList:null}),persist:{enabled:!0,strategies:[{key:"web.lobby.footer",storage:(0,a.nX)(),paths:["socialmediaList"]},{key:"web.lobby.footer.footerInfos",paths:["footerInfos"],storage:(0,a.nX)({setItem(e,t,n){try{const i=JSON.parse(t);i.footerInfos.companyInfo.content="",n.setItem(e,JSON.stringify(i),n)}catch(i){}}})}]},actions:{async initFooterInfos(){const e=await(0,s.apiGetFooterInfos)();e&&(this.footerInfos=e)},updateSocialMediaList(e){e.find((e=>"facebook"==e.name.toLowerCase()))&&i.S6.initSDK(),this.socialmediaList=e}}})},68033:function(e,t,n){n.d(t,{jq:function(){return Y},MN:function(){return l.Z},Vn:function(){return me},QJ:function(){return c.default},uo:function(){return A},Nj:function(){return u.Z}});var i,s,a,o,r,l=n(48129),c=n(39227),u=n(90088),d=n(53158),h=n(12040),m=n(38821),p="UZjbSl3I5lQvZeWIzelc",g="bbJfUe8tvbcIsEkvWxaO",f="FQ5QHv_dxJNHEb0Yd8h6",y="FF7DFxVb2S_mK6rT85g3",b="Iu__rl1lopFO41_oQ5XV",I="vChV0sis7El_9oNHZgZB",w="lnrZqKFnsH58rh6pGhZp",T="kVIAHiq_DVUco1MmNhVP",S="bEHTBuBO1VLf4H2eFHzQ",C=n(29339),E=n(58217),v=n(91475);let A=(i=(0,m.wA)({name:"BaseUserInfos"}),s=(0,m.fI)(),i((o=class extends m.XY{constructor(...e){super(...e),(0,d.Z)(this,"offset",r,this)}render(){const e=arguments[0],{userInfos:t}=(0,v.h)(),{t:n}=(0,E.QT)(),{platfromid:i}=t;return e("div",{class:p},[e("div",{class:g},[e("div",{class:[b,"header-user__desc"]},[e("div",{class:[I,"header-user_top"]},[e("div",{class:f},[e(u.Z)]),e("div",{class:w},[e("span",{class:T},[n("lobby.header.account")," "]),e("span",{class:S},[i])]),e(C.RK,{class:y,attrs:{text:i}})]),e(C.dp,{attrs:{offset:this.offset}})])])])}},r=(0,h.Z)(o.prototype,"offset",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=o))||a);var _,O,D,P,R=n(55433),N=n(7174),B=n(35829),Z=n(71743),x=n(82478),M=n(70539),L=n(53579),k=n(12832),F="LkM7N3mNy85ThPNnwMIO",U="krx_BqY0Ot5YxLi63BNa",G="sm_KogNcllgcGMkRVpUI",z="bWgULPbl_t2ab5S874Zm",H="xwxKuCEgXiL8ds9OXKpI",W="BGZq1AgWfExm7vmr95Rd",V="MRkquALToHPyWfME9x1A",$="fdMVlrTiEq1Ani4KtykV",K="ae4gr58qVSRMn00F95At";let Y=(_=(0,m.wA)({name:"H5HeaderLayout"}),O=(0,m.RL)("musicStore.musicPlay"),_((P=class extends m.XY{constructor(...e){super(...e),(0,R.Z)(this,"mainStore",(0,v.h)()),(0,R.Z)(this,"musicStore",(0,x.J)()),(0,R.Z)(this,"state",{musicPlaying:!1})}onMusicPlay(){const e=this.musicStore.musicPlay;this.state.musicPlaying=e}render(){const e=arguments[0],{t:t}=(0,E.QT)(),{hasLogined:n,showMusic:i,language:s}=this.mainStore,{customizeTopIconMap:a}=M.Z.useHomeCustomizeIcon("top"),{isHolidayThemeVisible:o}=k.Z;return e(N.Ar.Tsx,{class:{[F]:!0,[W]:"vi_VN"===s,[H]:!n}},[e("div",{class:[U,o?"h5HeaderLogo":""],key:"logo"},[e(l.Z)]),this.$scopedSlots.holidayTheme?.(),e(N.X2.Tsx,{class:V,attrs:{type:"flex",justify:"space-between",align:"middle"},key:"right"},[e("div",{class:[G,z],on:{click:()=>{this.$root.$emit("leaveHomePage"),this.$router.push({name:B.x4.GAME_SEARCH,query:{gameCategoryId:this.$route.query?.gameCategoryId||"0"}})}}},[e(N.JO.Tsx,{attrs:{component:{functional:!0,render:()=>{const t=a.get("searchIcon")||(0,Z.R0)("icon_dt_1ss");return e("my-img",{attrs:{useSkeleton:!0,src:t,width:54}})}}}}),e("div",[t("lobby.game.search")])]),i&&e("div",{class:[G,$],on:{click:()=>L.Z.open("musicModal")}},[e(N.JO.Tsx,{class:{[K]:this.state.musicPlaying},attrs:{component:{functional:!0,render:()=>{const t=a.get("musicIcon")||(0,Z.R0)("icon_dt_1yy");return e("my-img",{attrs:{useSkeleton:!0,src:t,width:54}})}}}}),e("div",[t("lobby.header.menus.music")])])])])}},(0,h.Z)(P.prototype,"onMusicPlay",[O],Object.getOwnPropertyDescriptor(P.prototype,"onMusicPlay"),P.prototype),D=P))||D);var j,J=n(75812),Q=n(74609),q=n(40074),X=n(16340),ee="_uRczF0vvqkFpV1Su9EV",te="biLUFEIzzU_F5ujSEWKs",ne="oUUJ0Uj_fkJFaxogtHxe",ie="VdxFsp4gAIa5iog68JaA",se="Y_okHNiZkR91ZKe8ObnT",ae="o_lMRWwiAPk51hfWa7VZ",oe="Nxwuj82fQlwiSaaU_fn5",re="fF4px8cr4Hq2HO79sqVQ",le="r_kbSY3GBXpcp2V664mu",ce="CQA00jbod4PHP0qk7rAB",ue="cdnek8SCBZBZsBYLM83x",de="N9t5xpYK1aPQyWZJsORq",he="s1eofVVz6U5UCKd93X5w";let me=(0,m.wA)({name:"PCHeaderLayout"})(j=class extends m.XY{constructor(...e){super(...e),(0,R.Z)(this,"mainStore",(0,v.h)())}render(){const e=arguments[0],{hasLogined:t,showMusic:n,language:i}=this.mainStore;return e(N.Ar.Tsx,{class:{[ee]:!0,[he]:"vi_VN"===i,pcHeader:!0}},[this.$scopedSlots.collapsedIcon?.(),e(N.Ar.Sider.Tsx,{attrs:{width:J.ZP.px2rem(220),height:J.ZP.px2rem(56),trigger:null,collapsible:!0},key:"header-slider"},[e("div",{class:de},[e(l.Z)])]),e("div",{class:"headerContainer",key:"headerContainer"},[e("div",{class:["headerContainerWrap",te,n?"":ae]},[e("div",{class:[oe,"headerLeft",t?ue:""]},[this.$scopedSlots.countTime?.()||e("div",{class:[re,"countTime"]},[e(Q.Z)]),e("div",{attrs:{id:"header-switchLang"},class:le},[e(X.default,{attrs:{getPopupContainer:()=>document.getElementById("header-switchLang"),isHeaderSwitch:!0,border:!0}})]),!t&&e("div",{attrs:{id:"header-switchCurrency"},class:ce},[e(q.default,{attrs:{getPopupContainer:()=>document.getElementById("header-switchCurrency"),isHeaderSwitch:!0}})]),this.$scopedSlots.holidayTheme?.()]),e(N.X2.Tsx,{attrs:{type:"flex",align:"middle"},class:[ne,t?ie:""]},[e(N.JX.Tsx,{class:se},[this.$scopedSlots.rightCol?.()])])])])])}})||j},48129:function(e,t,n){n.d(t,{Z:function(){return w}});var i,s,a,o,r,l=n(53158),c=n(12040),u=n(38821),d=n(62933),h=n(45335),m=n(46851),p=n(91475),g=n(12832),f="II_5ZM4k4hTlrmJknbDi",y="w7oodN6q2A8BtsKyW_J6",b="hkqhNWGH9QIH3_nGNIKE",I="gJljLBnltqXWMkcFFr9F";let w=(i=(0,u.wA)({name:"LogoBox"}),s=(0,u.fI)({required:!1,default:!1}),i((o=class extends u.XY{constructor(...e){super(...e),(0,l.Z)(this,"autoImg",r,this)}get isCustomMode(){const{brandLogoInfos:e}=(0,p.h)();return e?.type===d.Do.CUSTOM}render(){const e=arguments[0],{brandLogoInfos:t}=(0,p.h)(),{isStake:n}=g.Z.currentTheme();if(!t||t._isFromService)return e("div");const{isWeb:i}=(0,p.h)();return this.isCustomMode&&t.hallLogo?e("my-img",{nativeOn:{click:()=>h.Nh.goHomePage()},class:[f,"customLogo"],attrs:{src:t.hallLogo,options:{lazy:!1,immediate:!0}}}):e("div",{class:y,on:{click:()=>h.Nh.goHomePage()}},[t.hallLogo&&e("my-img",{attrs:{width:this.autoImg?void 0:i?n?38:56:74,height:this.autoImg?void 0:i?n?38:56:74,src:t.hallLogo,useSkeleton:!0,options:{lazy:!1,immediate:!0}},class:"hallLogo"}),e("div",[e("span",{attrs:{title:t.brandName},class:[b,m.CM.CssClassName.Lobby.Ellipsis,"logoImgTitle"]},[t.brandName]),e("p",{attrs:{title:t.officialWebsite},class:[I,m.CM.CssClassName.Lobby.Ellipsis,"logoImgTitle","imgContent"]},[t.officialWebsite])])])}},r=(0,c.Z)(o.prototype,"autoImg",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=o))||a)},39227:function(e,t,n){n.r(t),n.d(t,{default:function(){return ne}});var i,s,a,o,r,l=n(36568),c=n.n(l),u=n(55433),d=n(12040),h=n(62933),m=n(38821),p=n(5790),g=n(7174),f=n(29339),y=n(72698),b=n(5621),I=n(46851),w=n(18441),T=n(32205),S=n(35829),C=n(99934),E=n(40181),v=n(60511),A=n(71743),_=n(41800),O=n(36987),D=n(58217),P=n(91475),R=n(30859),N=n(75812),B=n(53579),Z=n(12832),x=n(44159),M=n(6096),L=n(90088),k="spbSi4mvlmHKuyg4QRgw",F="MK3t_mlQTY64M9A7rzQ5",U="rrvc6cubuXL_c6SXU99E",G="Jk_Ix_03TE1g5bODJS6j",z="Kq4NwYMScRR85Qw_Xy6w",H="Y6dl63NrP4y7xXATJbxe",W="nzwJrK9aTWlmUBEfBNu4",V="Dq49UyOLzNxEy1JxzWLg",$="gdlUZqKBx18LplnetmKW",K="B8QamXTwWAwA4zxpufC8",Y="h1ikPO7km7mtYELTYZ60",j="fDOzlontOJQ6m2vU5t_t",J="rrQe3U73jTZpL0Hw_Ose",Q="hVv9ElBpDnegJiawOhpY",q="UG37G2mh7zlBhBbZERg8",X="PrdGRVYgaPLNI2sp5ir6",ee="Z4DbUvzC5VfoY3bWU7fA",te=n(78588);!function(e){e[e.ACCOUNT_DETAILS=0]="ACCOUNT_DETAILS",e[e.BETTING_RECORD=1]="BETTING_RECORD",e[e.PERSONAL_STATEMENT=2]="PERSONAL_STATEMENT",e[e.WITHDRAWAL_MANAGEMENT=3]="WITHDRAWAL_MANAGEMENT",e[e.PROMOTE=4]="PROMOTE",e[e.SETTINGS=5]="SETTINGS",e[e.CENTER_WALLET=6]="CENTER_WALLET",e[e.SECURITY=7]="SECURITY",e[e.MUSIC=8]="MUSIC",e[e.FEEDBACK=9]="FEEDBACK",e[e.ABOUT_US=10]="ABOUT_US",e[e.VERSION_UPDATE=11]="VERSION_UPDATE",e[e.LOGOUT=12]="LOGOUT",e[e.NOTICE=13]="NOTICE"}(r||(r={}));let ne=(i=(0,m.wA)({name:"PersonalCenter"}),s=(0,m.RL)("store.language",{immediate:!0}),i((o=class extends m.XY{constructor(...e){super(...e),(0,u.Z)(this,"store",(0,P.h)()),(0,u.Z)(this,"versionUpdateVisible",!0)}get promoteAdvertise(){return(0,te.Z)().getAgentModeData.advertise}async languageKeyChange(e,t){t&&e!==t&&(0,te.Z)().getPromoteAdvertise()}created(){this.initVersionUpdate()}get myCenterMenuData(){const e=this.$createElement,{currentTheme:t,brandLogoInfos:n,userInfos:i,systemInfos:s,showMusic:a}=(0,P.h)(),{isCyanBlue:o}=Z.Z.currentTheme(),{t:l}=(0,D.QT)(),u=y.F.commonIconMap(),{unreadMessageCount:d}=(0,R.G)();return[{id:r.PROMOTE,icon:{functional:!0,render:()=>e("icon-sprite",c()([{},{attrs:{color:t["--theme-secondary-color-finance"]}},{attrs:{sprite:(0,A.T9)("icon_grzx_tg")}}]))},label:l("lobby.header.menus.promote",{content:this.promoteAdvertise?`-${this.promoteAdvertise}`:""}),solid:!0,hidden:s?.agentDisplayEntrance==h.no.CLOSE},{id:r.ACCOUNT_DETAILS,icon:{functional:!0,render:()=>e("icon-sprite",c()([{},{attrs:{color:t["--theme-secondary-color-finance"]}},{attrs:{sprite:u[i?.currency||"CNY"].HEADER_ZHMX}}]))},label:l("lobby.header.menus.accountDetails")},{id:r.BETTING_RECORD,icon:{functional:!0,render:()=>e("icon-sprite",c()([{},{attrs:{color:t["--theme-secondary-color-success"]}},{attrs:{sprite:u[i?.currency||"CNY"].HEADER_TZJL}}]))},label:l("lobby.header.menus.bettingRecord")},{id:r.PERSONAL_STATEMENT,icon:{functional:!0,render:()=>e("icon-sprite",c()([{},{attrs:{color:t["--theme-primary-color"]}},{attrs:{sprite:(0,A.T9)("icon_grzx_grbb")}}]))},label:l(o?"lobby.header.menus.personalStatementCyanBlue":"lobby.header.menus.personalStatement")},{id:r.NOTICE,icon:{functional:!0,render:()=>e("icon-sprite",c()([{class:z},{attrs:{color:t["--theme-primary-color"]}},{attrs:{sprite:d>0?(0,A.T9)("icon_grzx_xxzx1"):(0,A.T9)("icon_grzx_xxzx2")}}]))},unRead:this.getMessageCount,label:l("lobby.header.menus.messageCenter"),solid:!0},{id:r.CENTER_WALLET,icon:{functional:!0,render:()=>e("icon-sprite",c()([{class:z},{attrs:{color:t["--theme-primary-color"]}},{attrs:{sprite:(0,A.T9)("icon_wd_zxqb2")}}]))},label:l("lobby.finance.center.wallet.title")},{id:r.WITHDRAWAL_MANAGEMENT,icon:{functional:!0,render:()=>e("icon-sprite",c()([{},{attrs:{color:t["--theme-secondary-color-error"]}},{attrs:{sprite:(0,A.T9)("icon_grzx_txgl")}}]))},label:l("lobby.header.menus.withdrawalManagement")},{id:r.SETTINGS,icon:{functional:!0,render:()=>e("icon-sprite",c()([{},{attrs:{color:t["--theme-primary-color"]}},{attrs:{sprite:(0,A.T9)("icon_grzx_sz")}}]))},label:l("lobby.header.menus.settings")},{id:r.SECURITY,icon:{functional:!0,render:()=>e("icon-sprite",c()([{class:["securityIcon"]},{attrs:{color:t["--theme-secondary-color-success"]}},{attrs:{sprite:(0,A.T9)("icon_grzx_aqzx")}}]))},label:l("lobby.header.menus.security"),solid:!0},{id:r.MUSIC,icon:{functional:!0,render:()=>e("icon-sprite",c()([{},{attrs:{color:t["--theme-primary-color"]}},{attrs:{sprite:(0,A.T9)("icon_grzx_yy")}}]))},label:l("lobby.mine.itemList.music"),hidden:!a},{id:r.FEEDBACK,icon:{functional:!0,render:()=>e("icon-sprite",c()([{},{attrs:{color:t["--theme-primary-color"]}},{attrs:{sprite:(0,A.T9)("icon_grzx_yjfk")}}]))},unRead:this.getFeedBackCount,label:l("lobby.header.menus.feedback")},...1===n?.aboutUsStatus?[{id:r.ABOUT_US,icon:{functional:!0,render:()=>e("icon-sprite",c()([{},{attrs:{color:t["--theme-secondary-color-success"]}},{attrs:{sprite:(0,A.T9)("icon_grzx_gywm")}}]))},label:`${l("lobby.header.menus.about")} ${n.brandName}`}]:[],{id:r.VERSION_UPDATE,icon:{functional:!0,render:()=>e("icon-sprite",c()([{},{attrs:{color:t["--theme-primary-color"]}},{attrs:{sprite:(0,A.T9)("icon_grzx_bbgx")}}]))},label:l("lobby.mine.itemList.versionUpdate"),hidden:this.versionUpdateVisible},{id:r.LOGOUT,icon:{functional:!0,render:()=>e("icon-sprite",c()([{class:[ee,"loginOutIcon"]},{attrs:{color:t["--theme-secondary-color-error"]}},{attrs:{sprite:(0,A.T9)("icon_grzx_tc")}}]))},label:l("lobby.header.menus.logout")}].filter((e=>!e.hidden))}get getMessageCount(){const{unreadMessageCount:e}=(0,R.G)();return e>99?"99+":`${e}`}get getFeedBackCount(){const{unRead:e}=(0,O.c)();return e>99?"99+":`${e}`}async initVersionUpdate(){const[e,t]=await(0,_.to)((0,v.u)());if(!e){t.data.data?.length&&(this.versionUpdateVisible=!1)}}onMenuClick(e){switch(e.key){case r.LOGOUT:M.Z.logoutModal();break;case r.ACCOUNT_DETAILS:this.$router.push({name:S.x4.REPORT,query:{current:T.r.ACCOUNT_DETAILS}});break;case r.BETTING_RECORD:this.$router.push({name:S.x4.REPORT,query:{current:T.r.BETTING_RECORD}});break;case r.PERSONAL_STATEMENT:this.$router.push({name:S.x4.REPORT,query:{current:T.r.PERSONAL_STATEMENT}});break;case r.CENTER_WALLET:this.$router.push({name:S.x4.CENTER_WALLET});break;case r.WITHDRAWAL_MANAGEMENT:const{validateConfig:{hasWithdrawPwd:e}}=(0,P.h)();if(e)this.$router.push({name:S.x4.WITHDRAW,query:{current:`${b.u.ACCOUNT}`}});else{const{t:e}=(0,D.QT)();B.Z.message({type:"warning",content:e("lobby.center.security.forceBindWidthdrawPass")}),this.$router.push({name:S.x4.SECURITY,query:{current:C.r.WITHDRAWPASS.toString(),isCallbackWithdraw:b.u.ACCOUNT.toString()}})}break;case r.PROMOTE:this.$router.push({name:S.x4.PROMOTE});break;case r.SETTINGS:this.$router.push({name:S.x4.SETTING});break;case r.SECURITY:this.$router.push({name:S.x4.SECURITY});break;case r.MUSIC:B.Z.open("musicModal");break;case r.FEEDBACK:this.$router.push({name:S.x4.NOTICE,query:{noticeType:`${w.O.FEEDBACK}`}});break;case r.ABOUT_US:this.$router.push({name:S.x4.ABOUT_US});break;case r.VERSION_UPDATE:this.$router.push({name:S.x4.VERSION_UPDATE});break;case r.NOTICE:const{unreadAnnouncement:t,unreadNotice:n}=(0,R.G)();let i;i=n>0?w.O.NOTICE:t>0?w.O.ANNOUNCEMENT:w.O.NOTICE,this.$router.push({name:S.x4.NOTICE,query:{noticeType:i+""}})}}async queryFeedBackList(){const{setUnRead:e}=(0,O.c)();e((await(0,E.vY)({page:0,pageSize:3}))?.unRead??0)}render(){const e=arguments[0],{userInfos:t}=(0,P.h)(),{isStake:n,isGalaxyGold:i,isCrownGold:s}=Z.Z.currentTheme(),{portrait_id:a,platfromid:o,username:l}=t;return e(g.Lt.Tsx,{on:{visibleChange:e=>{e&&this.queryFeedBackList()}},class:[p.q,"personal-center"],attrs:{trigger:["hover"],placement:"bottomCenter",overlayClassName:"personal-dropdown"}},[e("template",{slot:"overlay"},[e(g.v2.Tsx,{on:{click:this.onMenuClick}},[this.myCenterMenuData.map((({icon:t,label:n,id:i,solid:s=!1,unRead:a})=>e(g.v2.Item.Tsx,{attrs:{title:n},key:i,class:{[p.q]:i===r.LOGOUT}},[e(g.X2.Tsx,{attrs:{type:"flex",align:"middle"},class:k},[e(g.JX.Tsx,{class:G},[e(g.JO.Tsx,{attrs:{component:t}}),!!a&&Number(a)>0&&e(x.default,{attrs:{charge:1,top:N.ZP.px2rem(-20),left:N.ZP.px2rem(16),text:e("span",[a])}})]),e(g.JX.Tsx,{class:I.CM.CssClassName.Lobby.Ellipsis},[n])]),s&&e("div",{class:[F,"solidWrap"]},[e("div",{class:U})])])))])]),e("div",{class:j},[i||s?e("span",{class:X},[o]):e("div",{class:[J,"commonBox"]},[e("div",{class:[Q,"avatar"]},[e("my-img",{attrs:{src:a,width:n?32:56,height:n?32:56}}),e("div",{class:q},[e(L.Z)])]),e("div",{class:H},[e("div",{class:[W,"wrapItem"]},[e("span",{class:[V,"platfrom-id-txt"]},[o])]),e("div",{class:[W,"wrapItem"]},[e("span",{class:[$,"user-name"]},["ID: ",l]),e(f.RK,{class:[K,"copy-icon"],attrs:{text:String(l)}})])])]),e("icon-sprite",{attrs:{sprite:(0,A.T9)("comm_icon_sort")},class:[Y,"dropdown-arrow"]})])])}},(0,d.Z)(o.prototype,"languageKeyChange",[s],Object.getOwnPropertyDescriptor(o.prototype,"languageKeyChange"),o.prototype),a=o))||a)},90088:function(e,t,n){n.d(t,{Z:function(){return f}});var i,s=n(38821),a=n(35829),o=n(5515),r=n(41570),l=n(91475),c=n(5717),u=n(72270),d=n(12832),h="wPXbqIqs76_2fek3czOM",m="as4hwxmIQa3EAvA75gcx",p="J_J6gwOjRxaMgMWx9InV",g="nrDef8xcW0eGrH20Jesu";let f=(0,s.wA)({name:"VipBadge"})(i=class extends s.XY{render(){const e=arguments[0],{userInfos:t}=(0,l.h)(),{isHK:n}=d.Z.currentTheme(),{vipdetails:i}=(0,u.o)(),s=i?.icon_color_value,{updateTabItem:f}=(0,c.c)();return e("fragment",[t?.vip_status==r._1.OPEN&&e("div",{class:[h,n?p:"","vip-badge",t?.vip_level>=10?g:""],style:{background:`#${s}`},on:{click:()=>{this.$router.push({name:a.x4.VIP}),d.Z.currentTheme().is5159&&f(o.R.EVENT)}}},[e("my-img",{attrs:{src:"/lobby_asset/common/common/profile/img_vip.png",useSkeleton:!0},class:[m,"vip-img"]}),e("span",{attrs:{"data-text":t?.vip_level}},[t?.vip_level])])])}})||i},86442:function(e,t,n){n.d(t,{h:function(){return l},w:function(){return o}});var i=n(23279),s=n.n(i),a=n(53579);let o;!function(e){e.Pay="pay",e.Music="music",e.Task="task",e.Yuebao="yuebao"}(o||(o={}));const r=s()((e=>{const t={[o.Pay]:"payModal",[o.Music]:"musicModal",[o.Task]:"taskModal",[o.Yuebao]:"yuebaoModal"}[e];t&&a.Z.open(t)}),300),l=e=>{r(e)}},82478:function(e,t,n){n.d(t,{o:function(){return E},J:function(){return v}});var i,s,a,o,r,l,c=n(62933),u=n(16818),d=n(75812),h=n(67476),m=n(58217),p=n(91475),g=n(55433),f=n(12040),y=n(38821),b=n(70753),I=n(46851),w=n(58555);let T=(i=(0,y.wA)({name:"MusicAudio"}),s=(0,y.RL)("musicStore.sysMusicList",{immediate:!0}),a=(0,y.RL)("mainStore.language",{immediate:!0}),o=(0,b.WY)(),i((l=class extends y.XY{constructor(...e){super(...e),(0,g.Z)(this,"musicStore",v()),(0,g.Z)(this,"audioElement",(0,w._m)()),(0,g.Z)(this,"mainStore",(0,p.h)())}async onMusicListDataUpdate(){const{autoplay:e,updateMyMusicList:t,sysMusicList:n}=this.musicStore,i=(0,w.gu)();let s=[];i.length>0&&(s=n.filter((e=>i.includes(e.id)))),!s.length&&n.length&&s.push({...n[0]}),t(s),this.$nextTick((()=>{e?(0,w.H$)():this.musicStore.musicPlay=!1}))}async languageKeyChange(){this.musicStore.updateSysMusicList()}mounted(){I.xN.subscribe(this.onVisibilityChange),this.$once("hook:beforeDestroy",(()=>{I.xN.unsubscribe(this.onVisibilityChange)}))}onVisibilityChange(e){if("PAGE_VISIBILITY_CHANGE"===e.type){const t=(0,w._m)();if(e.payload.visibility){const{musicPlay:e}=this.musicStore;e&&t.play()}else t.pause()}}onLoadedMetadata(e){const t=e.target;v().totalTime=Math.ceil(t.duration)}onTimeUpdate(e){if(this.musicStore.progressMouseDown)return;const t=e.target;this.musicStore.currentTime=Math.ceil(t.currentTime)}onEnded(){(0,w.mP)(!0,!1).then((()=>{this.$nextTick((()=>{(0,w._m)().play()}))}))}render(){const e=arguments[0],{myMusicList:t,currentMusicIndex:n}=v();return e("audio",{attrs:{id:"musicAudio",src:t[n]?.oss_url||"",preload:"none"},on:{loadedmetadata:this.onLoadedMetadata,timeupdate:this.onTimeUpdate,ended:this.onEnded}},["您的浏览器不支持。"])}},(0,f.Z)(l.prototype,"onMusicListDataUpdate",[s],Object.getOwnPropertyDescriptor(l.prototype,"onMusicListDataUpdate"),l.prototype),(0,f.Z)(l.prototype,"languageKeyChange",[a],Object.getOwnPropertyDescriptor(l.prototype,"languageKeyChange"),l.prototype),(0,f.Z)(l.prototype,"onVisibilityChange",[o],Object.getOwnPropertyDescriptor(l.prototype,"onVisibilityChange"),l.prototype),r=l))||r);var S=n(20144),C=n(41800);let E;!function(e){e.xhbf="xhbf",e.sj="sj",e.dqxh="dqxh"}(E||(E={}));const v=(0,h.Q_)("music",{state:()=>({sysMusicList:[],myMusicList:[],musicPlayType:E.xhbf,currentMusicIndex:0,totalTime:0,currentTime:0,musicVolume:.5,musicVolumeOff:!1,musicPlay:!1,musicLoadingIds:[],initMusic:!1,progressMouseDown:!1,progressMousePosition:0,musicAxiosError:null,musicAxiosErrorLoading:!1}),getters:{curMusicName(e){const{t:t}=(0,m.QT)(),{currentMusicIndex:n,myMusicList:i}=e;return i.length>0?i[n]?.music_name:t("lobby.aside.music.noMoreMusic")},autoplay:e=>{const{musicPlay:t}=e,{systemInfos:n}=(0,p.h)();return n?.musicAutoPlay===c.AI.OPEN&&t}},actions:{setMusicVolume(e){this.musicVolume=e},createAudioCom(){if(!this.initMusic){const e=new(S.default.extend(T));e.$mount();const t=e.$el;document.body.appendChild(t),this.initMusic=!0}},updateMyMusicList(e){this.myMusicList=e;const t=e.map((e=>e?.id));localStorage.setItem("myMusicList",JSON.stringify(t))},changeMusicPlayType(){const e=Object.values(E),t=e.indexOf(this.musicPlayType);this.musicPlayType=e[t===e.length-1?0:t+1]},async updateSysMusicList(){const[e,t]=await(0,C.Z)((0,u.q)({reqType:1}));e||(this.sysMusicList=t?.music_list)}},persist:{enabled:!0,strategies:[{key:"web.lobby.music",storage:(0,d.nX)(),paths:["musicVolume","musicVolumeOff","musicPlay","sysMusicList"]}]}})},58555:function(e,t,n){n.d(t,{CA:function(){return g},H$:function(){return p},R2:function(){return h},_m:function(){return l},_w:function(){return b},b:function(){return f},cF:function(){return d},gu:function(){return I},hY:function(){return m},mP:function(){return c},mV:function(){return u}});var i=n(82478),s=n(34879),a=n(58217),o=n(56343),r=n(53579);const l=()=>document.querySelector("#musicAudio"),c=(e=!0,t=!0)=>new Promise((n=>{const{musicPlayType:a,myMusicList:o,musicPlay:r,currentMusicIndex:l}=(0,i.J)(),c=o?.length;let u=l;var d,h;"xhbf"===a||"dqxh"===a&&t?(d=l,h=c,u=e?d===h-1?0:d+1:0===d?h-1:d-1):a===i.o.sj&&(u=((e,t)=>{let n;if(e>1)do{n=Math.floor((0,s.M)(e))}while(n===t);else n=0;return n})(c,l)),(0,i.J)().currentMusicIndex=u,r&&n()})),u=e=>{const{totalTime:t,progressMousePosition:n}=(0,i.J)(),s=t/e.target.clientWidth;(0,i.J)().currentTime=Math.ceil(n*s),(0,i.J)().progressMouseDown=!0},d=()=>{const{currentTime:e,progressMouseDown:t}=(0,i.J)();if(!t)return;l().currentTime=e,(0,i.J)().progressMouseDown=!1},h=e=>{let t=0;if(e instanceof MouseEvent&&(t=e.offsetX<=.5?0:e.offsetX),e instanceof TouchEvent){let n=e.currentTarget,i=0;for(;null!==n;)i+=n.offsetLeft,n=n.offsetParent;t=Math.max(e.touches[0].pageX-i,0)}const{progressMouseDown:n,totalTime:s}=(0,i.J)();if(n){const n=s/e.target.clientWidth;(0,i.J)().currentTime=Math.ceil(t*n)}(0,i.J)().progressMousePosition=t},m=()=>{const{musicPlay:e}=(0,i.J)();e?g():p()},p=()=>{const{musicVolume:e,musicPlay:t,musicVolumeOff:n}=(0,i.J)(),s=l();s.volume=e,s.muted=n;const a=()=>{s.play().then((()=>{(0,i.J)().musicPlay=!0})).catch((()=>{document.querySelector("body")?.addEventListener("click",(()=>{t&&p()}),{once:!0,capture:!0})}))};a();const o=()=>{setTimeout((()=>{a()}),100),s.removeEventListener("error",o)};s.addEventListener("error",o)},g=()=>{try{l().pause(),(0,i.J)().musicPlay=!1}catch(e){}},f=(e,t)=>{const{t:n}=(0,a.QT)(),{musicLoadingIds:s}=(0,i.J)();(0,i.J)().musicLoadingIds=[...s,e.id];const o=s.filter((t=>t!==e.id)),l=new Audio(e.oss_url);null!=navigator.userAgent.match(/iPhone|iPod|iPad/i)&&setTimeout((()=>{l.load()}),0),l.addEventListener("canplaythrough",(()=>{y(e.id),(0,i.J)().musicLoadingIds=o,t?.()})),l.addEventListener("error",(()=>{(0,i.J)().musicLoadingIds=o,t||r.Z.message({type:"error",content:n("lobby.aside.music.downloadError")})}))},y=e=>{const{myMusicList:t,sysMusicList:n,updateMyMusicList:s}=(0,i.J)(),a=n.find((t=>t.id===e));a&&!t.find((t=>t.id===e))&&s([...t,a])},b=(e=70)=>{const t=o.Z.moment.duration(e,"seconds"),n=t.minutes(),i=t.seconds();return o.Z.moment({m:n,s:i}).format("mm:ss")},I=()=>{const e=localStorage.getItem("myMusicList");if(e){const t=JSON.parse(e);if(Array.isArray(t)&&t.every(Number.isFinite))return[...new Set(t)]}return[]}},46015:function(e,t,n){n.d(t,{Z:function(){return l}});var i,s=n(55433),a=n(38821),o=n(63141),r=n(91475);let l=(0,a.wA)({name:"SaveShortcutBase"})(i=class extends a.XY{constructor(...e){super(...e),(0,s.Z)(this,"state",{loading:!1})}get formatDownloadAppRewardByChannel(){const{userInfos:e,downloadAppRewardByChannel:t}=(0,r.h)();return(0,o.oB)(t||0,{code:e?.currency,precision:2,symbol:""})}})||i},88290:function(e,t,n){n.d(t,{Z:function(){return M}});var i,s=n(7174),a=n(38821),o=n(1183),r=n(46851),l=n(57717),c=n(62933),u=n(71743),d=n(63141),h=n(5954),m=n(78910),p=n(451),g=n(63312),f=n(58217),y=n(91475),b=n(54328),I=n(53587),w=n(75812),T=n(17659),S=n(50712),C=n(53579),E=n(44159),v=n(61082),A="lwOTLnb46PfReVdku5Ue",_="EP2slFXlvaJ3Iam8Xxvw",O="QfFzC6yHWnvjqM1JoEKK",D="J14hyLgrGTBto5ABw3r1",P="ARB52vQxDZ4hRn1iPLzq",R="h2W_0ftfAqRrTe1uerXA",N="JtJTBHSfH1kgkLt3wyMr",B="ko58tu2REEpqYKFfo0EW",Z="ncIjZmgBwYvzlLnj2DvV";const x=(0,h.Q)().isKwai();let M=(0,a.wA)({name:"P2aButtonStatusList"})(i=class extends((0,a.Wr)(I.Z,T.Z)){get formatDownloadAppRewardByChannel(){const{userInfos:e,downloadAppRewardByChannel:t}=(0,y.h)();return(0,d.oB)(t||0,{code:e?.currency,precision:2,symbol:""})}renderTooltipsComp(){const e=this.$createElement,{downloadAppRewardByChannel:t,isShowDownloadRewardsByChannel:n}=(0,y.h)(),i=this.formatDownloadAppRewardByChannel;return!!t&&n&&e(E.default,{attrs:{charge:1,top:w.ZP.px2rem(-20),right:w.ZP.px2rem(-10),text:i}})}get userToChannel(){const{channelInfo:e}=(0,p.e)();if(!e)return"site";const{id:t}=e,{userInfos:n}=(0,y.h)(),{platfromid:i}=n;return`a_${i}_${t}`}renderP2aStatusInstalledApp(){const e=this.$createElement,{t:t}=(0,f.QT)();return e("div",{class:A},[" ",e(s.zx.Tsx,{attrs:{type:"primary"},class:[_,D],on:{click:()=>{const{setUserAndChannel:e}=(0,g.h)();e({[this.userToChannel]:!0}),(0,w.MI)(window.location.href)}}},[this.renderTooltipsComp(),e("span",{class:R},[t("lobby.rightBar.installedSaveShortcutMessage")]),e(S.Z,{attrs:{customStyle:{top:"0.5rem",left:"58%"}}})])])}renderP2aStatusFromInstallingApp(){const e=this.$createElement,{t:t}=(0,f.QT)(),{p2aInstallProgressBarPercent:n}=(0,g.h)();return e("div",{class:A},[e(s.zx.Tsx,{attrs:{type:"primary"},class:[_,P]},[e("span",{class:R},[t("lobby.rightBar.installingSaveShortcutMessage"),n,"%"]),e("div",{class:N,style:{width:n+"%"}})])])}renderP2aStatusFromLoadedFile(){const e=this.$createElement,{t:t}=(0,f.QT)();return e("div",{class:A},[e(s.zx.Tsx,{attrs:{type:"primary"},class:_,on:{click:()=>{r.xN.dispatch({type:o.ay.PWATOAPP_INSTALL_BY_CHANNEL})}}},[this.renderTooltipsComp(),e("span",{class:R},[t("lobby.rightBar.p2aLoadedFile")]),e(S.Z,{attrs:{customStyle:{top:"0.5rem",left:"58%"}}})])])}renderp2aStatusFromLoadingFile(){const e=this.$createElement,{t:t}=(0,f.QT)(),{p2aLoadEventProgressBarPercent:n}=(0,g.h)();return e("div",{class:A},[e(s.zx.Tsx,{attrs:{type:"primary"},class:[_,P]},[e("span",{class:R},[t("lobby.rightBar.p2aLoadingFile"),n,"%"]),e("div",{class:N,style:{width:n+"%"}})])])}handleP2aDownloadBtnFromBrowser(){const{installPrompt:e}=(0,b.B)(),{setInstallP2aStatusFromSite:t}=(0,g.h)();e?t(l.uj.loadedFile):(t(l.uj.loadingFile),this.listenP2aEventStatus())}handleP2aDownloadBtn(){const e=(0,m.Cv)(),t=(0,v.Z)().android.device;if(x&&t)C.Z.message({type:"error",content:this.$t("lobby.aside.music.newDownloadError")});else if(e)r.xN.dispatch({type:o.ay.PWATOAPP_INSTALL_BY_CHANNEL});else{const{installPrompt:e,isCanInstallShortcutByBrowser:t}=(0,b.B)(),n=e?.prompt,i=!n&&t,{hasInstallPwaSuccess:s}=(0,b.B)();i||s?(0,w.MI)(window.location.href):this.handleP2aDownloadBtnFromBrowser()}}renderButtonContent(e,t,n){const i=this.$createElement,{t:s}=(0,f.QT)(),a=[];return(0,v.Z)().apple.device&&a.push(i("icon-sprite",{class:Z,attrs:{sprite:(0,u.T9)("comm_icon_xz-ios")}})),a.push(i("span",{class:R},[t?"V":"",t," ",e.name])),n&&a.push(i(E.default,{class:B,attrs:{right:"unset",left:"0",top:"0",charge:1,text:s("lobby.game.suggest")}})),a}renderSupportPackageStatusFromInit(){const e=this.$createElement,{urlslist:t}=(0,g.h)();if(!t?.length)return e("div");let n=0;const i=t.filter((({type:e})=>[c.Mg.NORMAL,c.Mg.SPEED].includes(e)));return e("div",{class:O},[i?.map((t=>{const{type:i}=t,a=c.Mg.NORMAL!==i,o=this.getAppVersion(t),r=this.getIosH5SafariUrl(t);return r?e("a",{attrs:{href:r,target:"_blank"},key:t.name,class:[_,"ant-btn ant-btn-primary",a?"ant-btn-background-ghost":""]},[this.renderButtonContent(t,o,a),e(S.Z,{attrs:{customStyle:{top:"0.5rem",left:"58%"}}})]):e(s.zx.Tsx,{key:t.name,attrs:{type:"primary",ghost:a},class:_,on:{click:()=>{this.handlerDownloadBtn(t,n),n++}}},[this.renderButtonContent(t,o,a),e(S.Z,{attrs:{customStyle:{top:"0.5rem",left:"58%"}}})])}))])}renderSupportP2aFromInit(){const e=this.$createElement,{t:t}=(0,f.QT)();return e("div",{class:A},[e(s.zx.Tsx,{attrs:{ghost:!0,type:"primary"},class:_,on:{click:this.handleP2aDownloadBtn}},[this.renderTooltipsComp(),e("span",{class:R},[t("lobby.rightBar.p2aInit")]),e(S.Z,{attrs:{customStyle:{top:"0.5rem",left:"58%"}}})])])}renderP2aStatusFromInit(){const{isSupportP2a:e}=(0,g.h)(),t=(0,m.h_)();return e&&t?this.renderSupportP2aFromInit():this.renderSupportPackageStatusFromInit()}mounted(){const{installPrompt:e,isCanInstallShortcutByBrowser:t}=(0,b.B)(),{setInstallP2aStatusFromSite:n}=(0,g.h)(),i=e?.prompt,s=t&&!i,{hasInstallPwaSuccess:a}=(0,b.B)();(s||a)&&n(l.uj.installedApp)}renderP2aButton(){const e=this.$createElement,{installP2aStatusFromSite:t}=(0,g.h)();switch(t){case l.uj.init:return this.renderP2aStatusFromInit();case l.uj.loadingFile:return this.renderp2aStatusFromLoadingFile();case l.uj.loadedFile:return this.renderP2aStatusFromLoadedFile();case l.uj.installingApp:return this.renderP2aStatusFromInstallingApp();case l.uj.installedApp:return this.renderP2aStatusInstalledApp();default:return e("div")}}render(){return this.renderP2aButton()}})||i},91887:function(e,t,n){n.r(t),n.d(t,{default:function(){return A}});var i,s=n(28636),a=n(38821),o=n(1183),r=n(46851),l=n(57717),c=n(78910),u=n(11777),d=n(451),h=n(63312),m=n(58217),p=n(91475),g=n(54328),f=n(17659),y=n(75812),b=n(46015),I=n(53579),w=n(88290),T="asTDeZQVTSoaVdovWUTZ",S="jCZe88QvO8Hfp6KAOC42",C="ej6ngx9C8zSTfQTNRSUM",E="kQ37Shg5LZ7YLzE7Hb6d";let v,A=(0,a.wA)({name:"SaveShortByChannel"})(i=class extends((0,a.Wr)(f.Z,b.Z)){handleSaveShortByChannel(e){if(e.type===o.ay.P2A_INSTALL_BY_CHANNEL){this.saveShortcutByChannel();const{setIsCreateAppP2a:e}=(0,g.B)();e(!0),(0,h.h)().getDownloadConfig()}}handleCallP2aInstallFinishEvent(e){e.type===o.ay.CALL_P2A_INSTALL_FINISH_EVENT&&v?.destory()}mounted(){r.xN.subscribe(this.handleSaveShortByChannel),r.xN.subscribe(this.handleCallP2aInstallFinishEvent)}beforeDestroy(){r.xN.unsubscribe(this.handleSaveShortByChannel),r.xN.unsubscribe(this.handleCallP2aInstallFinishEvent)}static get showSaveShortcutLayoutByChannel(){const{channelInfo:e}=(0,d.e)(),{isFirstDeposit:t}=(0,p.h)();if(!e)return!1;const{downloadDisplay:n,userDisplay:i,viewDownload:a}=e,{Open:o}=s.R$,{AllUser:r}=s.dj,{H5:l}=s.GN,c=n===o&&a===l;return!(!c||i!==r)||!(!c||!t)}static get isForceDownload(){const{channelInfo:e}=(0,d.e)();if(!e)return!1;const{isForceDownload:t}=e,{Yes:n}=s.o1;return t===n}static get notLoginp2a(){const{userInfos:e}=(0,p.h)();return(e?.loginpwaType??0)===l.hq.Not}static get canOpenSaveShortCutByChannel(){const{isHasInstallSuccess:e}=(0,h.h)(),{hasClickButtonSaveShortCutByChannel:t}=(0,p.h)(),{hasLogined:n}=(0,p.h)(),{hiddenDownload:i}=(0,p.h)(),s=(0,c.VK)(),a=(0,u.v5)();return!i&&n&&this.notLoginp2a&&!this.isForceDownload&&!e&&!s&&!a&&!t&&!!this.showSaveShortcutLayoutByChannel}showTitle(){const{t:e}=(0,m.QT)(),{installP2aStatusFromSite:t}=(0,h.h)();return this.isShowNotSupportP2aMessage?e("lobby.rightBar.notSupportP2aTip"):t===l.uj.init?e("lobby.rightBar.channelTip4ByP2a"):e("lobby.rightBar.P2A")}get isShowNotSupportP2aMessage(){const{isSupportP2a:e}=(0,h.h)(),t=(0,c.h_)();return!e||!t}saveShortcutByChannel(){const e=this.$createElement,{channelGlobalConfig:t}=(0,p.h)(),n=()=>{v.destroy();const{setHasClickButtonSaveShortCutByChannel:e}=(0,p.h)();e(!0)};v=I.Z.create({destroyOnClose:!0,closable:!0,hiddenBtns:!0,class:E,width:y.ZP.px2rem(600),onCancel:n,afterClose:n,content:()=>e("div",{class:T},[e("div",{class:S},[e("my-img",{attrs:{src:t?.appIcon??""}}),e("span",{class:C},[this.showTitle()])]),e(w.Z)])})}render(){return(0,arguments[0])("template")}})||i},30867:function(e,t,n){n.r(t),n.d(t,{default:function(){return j}});n(49928);var i,s=n(36689),a=n(55433),o=n(28636),r=n(29339),l=n(38821),c=n(1183),u=n(46851),d=n(57717),h=n(75990),m=n(71743),p=n(63141),g=n(78910),f=n(11777),y=n(451),b=n(63312),I=n(58217),w=n(91475),T=n(54328),S=n(75812),C=n(17659),E=n(46015),v=n(88290),A="Hpet0wGmVp4X7RWpdzCX",_="Aa5Ik7Qm7Wi3_9mGEeiu",O="Yk58P6Q8WOuyEYo0fPXY",D="eMIchCnncaHyVSfsYqGk",P="wROU43qLHhvOuhRV8g9E",R="noZl1h6EoKFmHrNGgBsK",N="PWt6e5hZdQNYVonVho_4",B="_dr2b8yRtgTIc1dNw3_X",Z="lN1XuhDb1AYdorrlaadv",x="chIXgwe2XNdidmx3Nalz",M="m4Ror6JWDrZdyxzaaiZa",L="U4FnU0cBHwgeLE1NvLZw",k="a08x61rfsa7Q3OqC6ztd",F="RIOQoWKC3NFBTq8q51xv",U="jNHdpO1f0xBDcGg_DWnf",G="w4V5d5HO9uNYx_bgA6Jm",z="T02jp_75vIZcHlU93OXC",H="TWdYOCWc8C75p9cwItbv",W="uL_IpuiNzFcBUZEvQRgG",V="IpjLW2GijW6vbqqpjnGS",$="UjNKqbjxYJuZjI94lJPs",K="rv6q43AohBCPZ9brBr3D",Y="sta89DyIJQ955AfKQIRo";let j=(0,l.wA)({name:"SaveShortcutForceByChannel"})(i=class extends((0,l.Wr)(C.Z,E.Z)){constructor(...e){super(...e),(0,a.Z)(this,"state",{loading:!1})}handleSaveShortByChannel(e){if(e.type===c.ay.P2A_FORCE_INSTALL_BY_CHANNEL){const{setShowSaveShortByChannel:e}=(0,T.B)();e(!0);const{setIsCreateAppP2a:t}=(0,T.B)();t(!0),(0,b.h)().getDownloadConfig()}}mounted(){u.xN.subscribe(this.handleSaveShortByChannel)}beforeDestroy(){u.xN.unsubscribe(this.handleSaveShortByChannel)}static get showSaveShortcutLayoutByChannel(){const{channelInfo:e}=(0,y.e)(),{isFirstDeposit:t}=(0,w.h)();if(!e)return!1;const{downloadDisplay:n,userDisplay:i,viewDownload:s}=e,{Open:a}=o.R$,{AllUser:r}=o.dj,{H5:l}=o.GN,c=n===a&&s===l;return!(!c||i!==r)||!(!c||!t)}static get isForceDownload(){const{channelInfo:e}=(0,y.e)();if(!e)return!1;const{isForceDownload:t}=e,{Yes:n}=o.o1;return t===n}static get notLoginp2a(){const{userInfos:e}=(0,w.h)();return(e?.loginpwaType??0)===d.hq.Not}static get canOpenSaveShortCutByChannel(){const{isHasInstallSuccess:e}=(0,b.h)(),{hasLogined:t}=(0,w.h)(),{hiddenDownload:n}=(0,w.h)(),i=(0,g.VK)(),s=(0,f.v5)();return!n&&t&&this.notLoginp2a&&this.isForceDownload&&!e&&!i&&!s&&!!this.showSaveShortcutLayoutByChannel}get isShowRewardsConditionLiteral(){const{channelInfo:e}=(0,y.e)();if(!e)return!1;const{userDisplay:t,rewardsCondition:n}=e,{AllUser:i}=o.dj,{FirstDeposit:s}=o.lB;return t===i&&n===s}get getUsername(){return(0,w.h)().userInfos?.platfromid??""}get onlineCustomers(){return(0,w.h)().serviceInformation?.customer.onlineCustomers??[]}get customerUrl(){return this.onlineCustomers.length?this.onlineCustomers[0].customerUrl:""}get formatFirstPayAmount(){const{userInfos:e}=(0,w.h)(),{firstPayAmount:t}=(0,b.h)();return(0,p.oB)(t||0,{code:e?.currency,precision:2,symbol:""})}copyText(e){(0,h.zp)(e);const{t:t}=(0,I.QT)();s.Z.success(t("lobby.common.tips.copy"))}onCancel(){const{setShowSaveShortByChannel:e}=(0,T.B)();e(!1)}renderP2aTipContent(){const e=this.$createElement,{t:t}=(0,I.QT)(),{downloadAppRewardByChannel:n,isShowDownloadRewardsByChannel:i}=(0,w.h)(),s=this.formatDownloadAppRewardByChannel,{channelGlobalConfig:a}=(0,w.h)(),{firstPayAmount:o}=(0,b.h)();return(0,w.h)(),e("div",[e("div",{class:Z},[!!o&&e("span",{class:x},[e("inner-html",{attrs:{text:t("lobby.rightBar.depositAmount",[this.formatFirstPayAmount])}})]),e("span",[t("lobby.rightBar.gameExperience")]),e("span",{style:k},[t("lobby.rightBar.downloadAndInstallByP2a")]),e("span",{class:F,on:{click:()=>this.copyText(this.getUsername)}},[e("b",[this.getUsername]),e("icon-sprite",{attrs:{sprite:(0,m.T9)("style_1_icon_copy")}})]),e("span",{class:U},[t("lobby.rightBar.getAwardByP2a")]),!!n&&i&&e("span",{class:U},[t("lobby.rightBar.getAward1"),e("b",{class:G},[s]),this.isShowRewardsConditionLiteral&&t("lobby.rightBar.channelTip5"),!!this.customerUrl&&t("lobby.rightBar.comma")]),!!this.customerUrl&&e("span",{class:z},[t("lobby.rightBar.contactService"),e("span",{on:{click:()=>(0,S.MI)(this.customerUrl)},class:H},[e("b",[t("lobby.rightBar.contactService1")]),e("icon-sprite",{attrs:{sprite:(0,m.T9)("icon_dt_1kf")}})])])]),e("div",{class:W},[e("div",{class:V},[t("lobby.rightBar.confirmAppByP2a")])]),e("div",{class:$},[e("my-img",{attrs:{src:a?.appIcon??""}}),e("p",{class:K},[this.appName])])])}renderPackageTipContent(){const e=this.$createElement,{t:t}=(0,I.QT)();return e("div",[e("div",{class:Z},[e("span",[e("my-img",{class:M,attrs:{src:"/lobby_asset/common/web/common/comm_icon_tip2.png"}})]),e("span",{class:L},[t("lobby.rightBar.isNotSupportP2a")]),e("span",{class:k},[t("lobby.rightBar.downloadAndInstall1")]),e("span",{class:F,on:{click:()=>this.copyText(this.getUsername)}},[e("b",[this.getUsername]),e("icon-sprite",{attrs:{sprite:(0,m.T9)("style_1_icon_copy")}}),t("lobby.rightBar.loginLiteral"),!!this.customerUrl&&t("lobby.rightBar.comma")]),!!this.customerUrl&&e("span",{class:z},[t("lobby.rightBar.contactService"),e("span",{on:{click:()=>(0,S.MI)(this.customerUrl)},class:H},[e("b",[t("lobby.rightBar.contactService1")]),e("icon-sprite",{attrs:{sprite:(0,m.T9)("icon_dt_1kf")}})])])])])}renderComputedTipContent(){const{isSupportP2a:e}=(0,b.h)(),t=(0,g.h_)();return e&&t?this.renderP2aTipContent():this.renderPackageTipContent()}render(){const e=arguments[0],{t:t}=(0,I.QT)(),{showSaveShortByChannel:n}=(0,T.B)();return e(r.dj,{on:{clickOverlay:this.onCancel},attrs:{value:n,position:"bottom"},class:Y},[e("div",{class:A},[e("div",{class:_},[e("div",{class:O}),e("my-img",{class:D,attrs:{src:"/lobby_asset/common/common/home/img_xzap_hj.png"}}),e("div",{class:P},[e("icon-sprite",{attrs:{sprite:(0,m.T9)("img_xzap_hj2")}})])]),e("div",{class:R},[e("div",{class:N},[e("icon-sprite",{attrs:{sprite:(0,m.T9)("comm_icon_zyts")}}),e("span",{class:B},[t("lobby.rightBar.titleFromChannel")])]),this.renderComputedTipContent(),e(v.Z),this.guildInstallAppContent])])])}})||i},6860:function(e,t,n){let i;n.d(t,{Aq:function(){return i},Hl:function(){return o},h7:function(){return r},iM:function(){return a},q_:function(){return s},vi:function(){return l}}),function(e){e[e.Other=1]="Other",e[e.IsOpera=2]="IsOpera",e[e.IsIE=3]="IsIE",e[e.IsSafari=4]="IsSafari",e[e.IsFirefox=5]="IsFirefox",e[e.IsChrome=6]="IsChrome",e[e.IsEdge=7]="IsEdge",e[e.IsHiBrowser=8]="IsHiBrowser",e[e.IsNaver=9]="IsNaver",e[e.IsDuckDuckGo=10]="IsDuckDuckGo"}(i||(i={}));const s=()=>{const e=window.navigator.userAgent.toLowerCase(),t=/(opera|opt|opr)\/([0-9.]+)/.test(e);if(t)return i.IsOpera;if(/compatible/.test(e)&&/msie/.test(e)&&!t)return i.IsIE;const n=/(edge|edgios|edgA|edg)\/([0-9\.]+)/.test(e);if(n)return i.IsEdge;if(/(firefox|fxios)\/([0-9\.]+)/.test(e)||/samsungbrowser\/([0-9\.]+)/.test(e))return i.IsFirefox;return/safari\/([0-9\.]+)/.test(e)&&!/(chrome|crios)\/([0-9\.]+)/.test(e)?i.IsSafari:/(chrome|crios)\/([0-9\.]+)/.test(e)&&/safari\/([0-9\.]+)/.test(e)&&!/build\/[A-Za-z0-9]+\.([0-9\.]+)/.test(e)&&!n?i.IsChrome:/hibrowser\/v([0-9\.]+)/.test(e)?i.IsHiBrowser:/naver\(/.test(e)?i.IsNaver:/duckduckgo\/([0-9]+)/.test(e)?i.IsDuckDuckGo:i.Other},a="standalone",o="browser",r="minimal-ui",l="accepted"},53587:function(e,t,n){n.d(t,{Z:function(){return I}});var i,s,a,o,r,l=n(53158),c=n(12040),u=n(38821),d=n(6860),h=n(1183),m=n(46851),p=n(11777),g=n(6927),f=n(54328),y=n(61082);const b=(0,d.q_)();let I=(i=(0,u.wA)({name:"SaveShortcutBase"}),s=(0,u.fI)({default:!1,required:!0}),i((o=class extends u.XY{constructor(...e){super(...e),(0,l.Z)(this,"isForce",r,this)}get addToScreenPosition(){let e=!1,t=!1;if(this.OS===g.oU.IOS)e=b===d.Aq.IsSafari;else{const e=(0,y.Z)().android.device;(window.innerWidth>600||e)&&(t=!0)}return{isTopRight:t,isBottom:e}}created(){this.subscribeGlobalEvents((e=>{if(e.type===h.ay.SAVE_SHORTCUT_SUCCESSS){const{setIsVisibleShortcut:e}=(0,f.B)();e(!1)}}))}closeShortcut(){const{setIsVisibleShortcut:e}=(0,f.B)();e(!1)}get OS(){return(0,p.sU)()}addToHomeScreen(e){m.xN.dispatch({type:"PWA_INSTALL"}),e.stopPropagation()}},r=(0,c.Z)(o.prototype,"isForce",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=o))||a)},54328:function(e,t,n){n.d(t,{B:function(){return o}});var i=n(75812),s=n(67476),a=n(91475);const o=(0,s.Q_)("saveShortcut",{state:()=>({hasInstallPwaSuccess:!1,hasInstallPromptSuccess:!1,installPrompt:null,p2aDownloadProgressBarPercent:0,showSaveShortByChannel:!1,isCanInstallShortcutByBrowser:!1,hasAutoPromptInstallP2a:!1,p2aPrepareProgressBarPercent:0,hasCompleteP2aPrepareProgress:!1,isVisibleShortcut:!1,desktopRewardData:{},p2aReward:{},isCreateAppP2a:!0}),getters:{desktopRewardAmount(){const{filterCurrencyListByCurrentCurrency:e}=(0,a.h)();let t=0;return this.desktopRewardData?.currency&&(t=e(this.desktopRewardData.currency)),t},p2aRewardAmount(){const{filterCurrencyListByCurrentCurrency:e}=(0,a.h)();let t=0;return this.p2aReward?.currency&&(t=e(this.p2aReward.currency)),t}},actions:{setIsCreateAppP2a(e){this.isCreateAppP2a=e},setP2aReward(e){this.p2aReward=e},setDesktopRewardData(e){this.desktopRewardData=e},setIsVisibleShortcut(e){this.isVisibleShortcut=e},setHasInstallPwaSuccess(e){this.hasInstallPwaSuccess=e},setInstallPrompt(e){this.installPrompt=e},setP2aDownloadProgressBarPercent(e){this.p2aDownloadProgressBarPercent=e},setShowSaveShortByChannel(e){this.showSaveShortByChannel=e},setIsCanInstallShortcutByBrowser(e){this.isCanInstallShortcutByBrowser=e},setP2aPrepareProgressBarPercent(e){this.p2aPrepareProgressBarPercent=e},setHasCompleteP2aPrepareProgress(e){this.hasCompleteP2aPrepareProgress=e}},persist:{enabled:!0,strategies:[{key:"web.lobby.saveShortcut",storage:(0,i.nX)(),paths:["isCanInstallShortcutByBrowser"]}]}})},78910:function(e,t,n){n.d(t,{Cv:function(){return b},J5:function(){return S},VK:function(){return C},cz:function(){return I},h_:function(){return w},hi:function(){return T}});var i=n(5954),s=n(75990),a=n(21615),o=n(61082);const r=(0,i.Q)(),l=r.harmonyOS(),c=r.HuaWei(),u=r.Edga(),d=r.isH5Pwa(),h=r.Samsung(),m=r.isMac(),p=r.isFacebook(),g=r.isTikTok(),f=r.isInstagram(),y=r.isKwai(),b=()=>{const e=a.cY.package.isLite,t=a.cY.package.isVest;return(0,o.Z)().android.device&&(e||t||p||g||f||y)},I=()=>(0,o.Z)().android.device&&(p||g||f||y),w=()=>{const e=(()=>{let e=!1;return l||c||u?(e=!1,e):((0,o.Z)().apple.device||(e=!0),e)})(),t=b();return e||t},T=()=>!!(0,s.ao)()["fixed.isSaveShort"],S=()=>{const e=(0,o.Z)().apple.device,t=(0,o.Z)().android.device,n=T();return!(!m&&!e||!d&&!n)||(!(!n||!c&&!l)||(!(!d&&!n||!h)||!(!t||d||!n)))},C=()=>{const e=(0,o.Z)().apple.device,t=r.isMac();return!(e||t||!d||l||c||h)}},68598:function(e,t,n){n.r(t),n.d(t,{default:function(){return fe}});var i,s,a,o,r,l,c=n(23493),u=n.n(c),d=n(53158),h=n(55433),m=n(12040),p=n(38821),g=n(46851),f=n(35829),y=n(11777),b=n(451),I=n(63312),w=n(70278),T=n(91475),S=n(21615),C=n(94894),E=n(75990),v="MkSy5eDdoOSfXU3d7o2M",A="EHDOc_GbMyJ1c8_nYpyg",_="ODpmAuZ5P5dWvxbKwcOf",O="DTQ77GFvQ2Ey4_fFDXqQ",D="MwaZK18hPnR_rSJNsAYS",P="C2IwkhcvFsxyExDTfIz6",R="J0giKf1K2ORtvdaWRQxj";let N=(i=(0,p.wA)({name:"FoldableBox"}),s=(0,p.fI)(),a=(0,p.RL)("state.isDomExist",{immediate:!0}),i((r=class extends p.XY{constructor(...e){super(...e),(0,d.Z)(this,"downContext",l,this),(0,h.Z)(this,"state",{isHeight0:!0,isDomExist:!1,isTrasition:!0,isDisplayNone:!0}),(0,h.Z)(this,"handleHidden",(async(e=!0,t=!1)=>{const{setIsShowSuggest:n}=(0,w.o)();this.state.isTrasition=e,await Promise.resolve(),this.state.isHeight0=!0,e?setTimeout((()=>{this.state.isDisplayNone=!0}),500):this.state.isDisplayNone=!0,t&&(setTimeout((()=>{this.setState({isDomExist:!1})}),500),n(!1))})),(0,h.Z)(this,"handleShow",(async(e=!0)=>{const{setIsShowSuggest:t}=(0,w.o)();this.state.isDisplayNone=!1,this.state.isDomExist=!0,this.state.isTrasition=e,e?setTimeout((()=>{this.state.isHeight0=!1}),0):this.state.isHeight0=!1,t(!0)}))}async throwAnimationEvent(e){if(!e)return;await(0,E.gw)(10);const t=this.$refs.foldableBoxRef;if(!t)return;const{stop:n}=(0,C.Z)(t,(()=>{g.xN.dispatch({type:"SUGGEST_STRETCH_ANIMATION"})}));this.$once("hook:beforeDestroy",n)}render(){const e=arguments[0],t=this.downContext?.ctxConfig?.placement,{isDisplayNone:n}=this.state;return this.state.isDomExist&&e("section",{key:"foldableBox",ref:"foldableBoxRef",class:{[v]:!0,[A]:this.state.isHeight0,[O]:"top"===t,[D]:"middle"===t,[P]:"bottom"===t,[R]:parseInt(String(this.downContext.centerMaxWidth))>0},style:{transition:this.state.isTrasition?"height 0.5s":"none",display:n?"none":""}},[e("div",{class:_},[this.$slots?.default])])||e("section")}},l=(0,m.Z)(r.prototype,"downContext",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,m.Z)(r.prototype,"throwAnimationEvent",[a],Object.getOwnPropertyDescriptor(r.prototype,"throwAnimationEvent"),r.prototype),o=r))||o);var B,Z,x,M,L,k,F=n(62933),U=n(7174),G=n(1183),z=n(57717),H=n(71743),W=n(58217),V="DAEXSUBjuzUY1EoIAeEn",$="LubvNYW6hJ8aFPwvFVVB",K="ElKyPNTBKztA5502vWkw",Y="peeZHNmW5IsW4t8ZUpLw",j="v4LQgsaGCn3mMTQ4S4GC",J="EgqAwCEBwZ2ciGJxH_i1",Q="M_eD9YXTUs1oz0fphBVA",q="LB_OoEBDIiHR_orQWjZi",X="v7Gu3VSoEuypS8B9EgaJ",ee="kuDrCs5zwNC6jnKugppe",te="H7OjK05ObkC96xbKoAya",ne="aG5W8rsptmZ9RO66S3cI",ie="pxU3k4yaAHPfT3wK4R8v",se="DvuNDsU5DEFvvcIAXWAe";let ae=(B=(0,p.wA)({name:"MainContent"}),Z=(0,p.fI)(),x=(0,p.y1)("close"),B((L=class extends p.XY{constructor(...e){super(...e),(0,h.Z)(this,"state",{}),(0,d.Z)(this,"downContext",k,this),(0,h.Z)(this,"handleHidden",(()=>{this.setState({isHidden:!0})})),(0,h.Z)(this,"handleShow",(()=>{this.setState({isHidden:!1})}))}handleClose(e){e.stopPropagation()}handleDownload(){g.xN.dispatch({type:G.ay.DOWNLOAD_APP_BY_SITE})}renderCardBox(e){const t=this.$createElement,{centerMaxWidth:n,ctxConfig:i}=this.downContext;return t("div",{class:q},[t("div",{class:ee,style:{backgroundColor:i.bgColor}}),t("div",{class:X,style:{maxWidth:n}},[e]),t("div",{class:te,style:{backgroundColor:i.bgColor}})])}get btnDownloadStyle(){const e={};if(!this.downContext?.ctxConfig)return e;const{placement:t,iconDownloadColor:n}=this.downContext.ctxConfig;return"middle"===t?(e.border=`${n} thin solid`,e.color=n):(e.backgroundColor=n,e.color="#fff",e.border="none"),e}renderCard(e){const t=this.$createElement,{ctxConfig:n}=this.downContext,{t:i}=(0,W.QT)();return t("div",{class:{[ne]:!0},style:{backgroundColor:n.bgColor},on:{click:this.handleDownload.bind(this)}},[t("div",{class:[ie,"close-icon-wrapper"],on:{click:this.handleClose.bind(this)}},[t("icon-sprite",{attrs:{sprite:(0,H.T9)("comm_icon_x"),useSkeleton:!0},style:{color:n.iconCloseColor}})]),e,t("div",{class:[se,"download-btn"]},[t(U.zx.Tsx,{attrs:{type:"default"},style:this.btnDownloadStyle},[i("lobby.gameMenu.toDownloadApp")])])])}renderAdvertisement(){const e=this.$createElement,{renderType:t,brandName:n,langConfig:i,ctxConfig:s}=this.downContext,{brandNameColor:a,downloadTextColor:o}=s;if(!i)return e("div");const{bootInstallationIconUrl:r}=(0,I.h)(),l=i.value,{showGuildDownloadIcon:c}=(0,I.h)(),u=c===z.Kg.show;return{[F.Do.CUSTOM]:e("div",{class:{[V]:!0,[$]:!0}},[e("my-img",{attrs:{height:51,useSkeleton:!0,src:r}})]),[F.Do.IMA_TXT]:e("div",{class:{[V]:!0,[K]:!0}},[u&&e("my-img",{attrs:{height:51,useSkeleton:!0,src:r}}),e("div",{class:Y},[e("div",{class:j,style:{color:a}},[n]),e("div",{class:J,attrs:{title:l}},[e("div",{class:Q,style:{color:o}},[l])])])])}[t]}render(){const e=arguments[0],{ctxConfig:t,centerMaxWidth:n}=this.downContext;return t?(n||this.renderCard(this.renderAdvertisement()),this.renderCardBox(this.renderCard(this.renderAdvertisement()))):e("template")}},k=(0,m.Z)(L.prototype,"downContext",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,m.Z)(L.prototype,"handleClose",[x],Object.getOwnPropertyDescriptor(L.prototype,"handleClose"),L.prototype),M=L))||M);var oe,re,le,ce,ue,de,he,me,pe="UOaT0FQcVoTJmdoV6b7n";const ge=(0,y.v5)();let fe=(oe=(0,p.wA)({name:"SuggestDownload"}),re=(0,p.fI)({required:!0}),le=(0,p.fI)({required:!1}),ce=(0,p.RL)("routeName"),oe((de=class extends p.XY{constructor(...e){super(...e),(0,h.Z)(this,"mainStore",(0,T.h)()),(0,h.Z)(this,"homeStore",(0,w.o)()),(0,d.Z)(this,"position",he,this),(0,d.Z)(this,"centerMaxWidth",me,this),(0,h.Z)(this,"state",{isVisible:!1}),(0,h.Z)(this,"handleLeaveHomePage",u()((()=>{const e=(0,I.h)().isForceInstallation;this.homeStore.isUserCloseSuggest&&!e||(this.state.isVisible=!1,this.$refs.foldableBoxRef?.handleHidden(!1))}),300)),(0,h.Z)(this,"handleGotoHomePage",u()((e=>{if(e!==f.x4.GAME)return;const t=(0,I.h)().isForceInstallation;this.homeStore.isUserCloseSuggest&&!t||(this.state.isVisible=!0,this.$nextTick((()=>{this.$refs.foldableBoxRef?.handleShow(!1)})))}),300)),(0,h.Z)(this,"handleClose",(()=>{this.$refs.foldableBoxRef?.handleHidden(!0,!0),this.state.isVisible=!1;const{setIsUserCloseSuggest:e}=(0,w.o)();e(!0)}))}get downContext(){const{isWeb:e,brandLogoInfos:t}=this.mainStore;if(!t)return null;const n=`${e?"web":"h5"}_${t.type}`,i={web_1:t.customizeWebConfig,web_2:t.webConfig,h5_1:t.customizeH5Config,h5_2:t.h5Config}[n],s=g.CM.ServiceLanguageMap[this.mainStore?.language],a=i?.downloadLogoUrlLanguage?.find((e=>e.key.includes(s)));return a?{centerMaxWidth:this.centerMaxWidth,renderType:t.type,brandName:t.brandName,ctxConfig:i,langConfig:a}:null}get isExhibitThis(){return!S.cY.package.isLite&&!this.mainStore.hiddenDownload}get routeName(){return this.$route.name}watchRoute(){this.routeName===f.x4.GAME?this.handleGotoHomePage(f.x4.GAME):this.handleLeaveHomePage()}mounted(){this.downContext&&(this.state.isVisible=!0,this.$route.name===f.x4.GAME&&setTimeout((()=>{if(!this.isExhibitThis)return;!(0,I.h)().isForceInstallation&&this.homeStore.isUserCloseSuggest||this.$refs.foldableBoxRef?.handleShow(!0),this.downContext&&this.homeStore.setSuggestDownloadPosition(this.downContext.ctxConfig?.placement)}),300))}render(){const e=arguments[0],{hiddenAppButton:t}=(0,b.e)();return t?ge?e("template"):this.isExhibitThis?e(N,{attrs:{id:`suggest-download-${this.position}`,downContext:this.downContext},class:{[pe]:!0,"is-close":this.homeStore.isUserCloseSuggest},ref:"foldableBoxRef"},[e(ae,{on:{close:this.handleClose},attrs:{downContext:this.downContext}})]):e("template"):e("template")}},he=(0,m.Z)(de.prototype,"position",[re],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),me=(0,m.Z)(de.prototype,"centerMaxWidth",[le],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,m.Z)(de.prototype,"watchRoute",[ce],Object.getOwnPropertyDescriptor(de.prototype,"watchRoute"),de.prototype),ue=de))||ue)},5717:function(e,t,n){n.d(t,{c:function(){return r}});var i=n(5515),s=n(75812),a=n(67476),o=n(12832);const r=(0,a.Q_)("tabBar",{state:()=>({currentTabItem:i.R.HOME}),persist:{enabled:!0,strategies:[{storage:(0,s.nX)(null,sessionStorage),paths:["currentTabItem"]}]},actions:{updateTabItem(e){this.currentTabItem=e}},getters:{isSeperateTabSkin:()=>o.Z.currentTheme().isTheme26}})},5515:function(e,t,n){let i;n.d(t,{R:function(){return i}}),function(e){e.NULL="null",e.MENU="menu",e.HOME="home",e.EVENT="discount",e.LOGIN="login",e.REGISTER="register",e.PAY="recharge",e.WITHDRAW="withdraw",e.MINE="mine",e.VIP="vip",e.PROMOTE="promote",e.YUEBAO="yueBao",e.SERVICE="customer",e.DOWNLOAD="download",e.ACTIVITY="activity",e.TASK="task",e.REBATE="rebate",e.INTEREST="interest",e.CANRECEIVE="canReceive",e.RECORDS="records",e.FEEDBACK="feedback",e.AWARD="award",e.ACCOUNT_DETAILS="accountDetails",e.BETTING_RECORD="bettingRecord",e.PERSONAL_STATMENT="personalStatement",e.SETTINGS="settings",e.RECEIVERECORD="receiveRecord",e.WITHDRAWMANAGEMENT="withdrawalManagement",e.GAME="GAME",e.RECHARGEFUND="rechargeFund",e.COMMONQUESTION="commonQuestion",e.SECURITY="security",e.MESSAGECENTER="messageCenter",e.CENTERWALLET="centerWallet",e.RECHARGE_FUND="rechargeFund",e.OFFICIAL_CHANNEL="officialChannel",e.FIND_Balance="findBalance"}(i||(i={}))},18341:function(e,t,n){n.d(t,{Z:function(){return I}});var i,s,a,o,r=n(36568),l=n.n(r),c=n(55433),u=n(12040),d=n(38821),h=n(46851),m=n(7174),p=n(20786),g=n(75990),f=n(91475),y="c4OAdQRIIRcVKzLNfX3p",b="QzRd3YqTnYxG8Latq8fW";let I=(i=(0,d.wA)({name:"ModalBase"}),s=(0,d.RL)("visible"),i((o=class extends d.XY{constructor(...e){super(...e),(0,c.Z)(this,"animationDuration",300),(0,c.Z)(this,"visible",!1),(0,c.Z)(this,"destroyOnClose",!0),(0,c.Z)(this,"perfectScrollbarDisabled",!1),(0,c.Z)(this,"autoresize",!1),(0,c.Z)(this,"centered",!0),(0,c.Z)(this,"extraCallbackBeforeClose",(()=>{}))}get maskTransitionName(){return h.CM.CssClassName.Animate.TransitionName.Fade}get transitionName(){return h.CM.CssClassName.Animate.TransitionName.Zoom}renderModal(e={}){const t=this.$createElement;this.destroyOnClose=e?.modalConfig?.props?.destroyOnClose??this.destroyOnClose,this.extraCallbackBeforeClose=e?.modalConfig?.props?.extraCallbackBeforeClose;const{isWeb:n,siteMaintenanceStatus:i}=(0,f.h)();this.perfectScrollbarDisabled=!!e.perfectScrollbarDisabled;const s=e?.modalConfig?.props?.closable,a={closable:void 0};!s&&void 0!==s||!0===e.modalConfig?.isFullScreen?!1===e?.modalConfig?.props?.closable&&(a.closable=!1):n||(a.closable=!1);const o=!1!==s&&!0!==e.modalConfig?.isFullScreen&&!n;return t(m.u_.Tsx,l()([{class:{"my-modal-base":!0,[y]:this.autoresize},attrs:{centered:this.centered,destroyOnClose:this.destroyOnClose,maskClosable:!1,wrapClassName:e.wrapClassName,footer:null,afterClose:this.afterClose,maskTransitionName:this.maskTransitionName,transitionName:this.transitionName}},{directives:this.perfectScrollbarDisabled?[]:[{name:"perfect-scrollbar",value:{el:e=>e.querySelector(".ant-modal-content")}}]},{},e?.modalConfig,{attrs:{"data-fill-close-icon-height":o&&e.fillCloseIconHeight}},{props:{...e?.modalConfig?.props,...a}},{model:{value:this.visible,callback:e=>{this.visible=e}}}]),[e?.renderContent?.(),o&&t("div",l()([{},e.h5OriginCloseBtnProps||{},{directives:[{name:"show",value:!i}],class:[b,"closeIcon"],on:{click:d.Ie.LY.stop((()=>{this.close(),e?.h5OriginClosableCallback?.()}))}}]),[t("my-img",{attrs:{src:p.Y.CLOSE}})])])}render(){return this.renderModal()}async baseOpen(){this.visible=!0,this.animationDuration&&await(0,g.gw)(this.animationDuration)}async baseOnVisibleChanged(){this.visible||(this.animationDuration&&await(0,g.gw)(this.animationDuration),this.$emit("modal:close",...this.closeEmitOptions||[]),this.closeEmitOptions=void 0)}async baseClose(){this.visible=!1,this.animationDuration&&await(0,g.gw)(this.animationDuration)}baseAfterClose(){this.destroyOnClose&&this.$reset()}afterClose(){this.extraCallbackBeforeClose?.(),this.baseAfterClose()}async open(e){await this.baseOpen()}async close(...e){this.isKeptAlive||(this.closeEmitOptions=e,await this.baseClose(),e?.[0]?.destroyOnClose&&this.$reset())}async toggle(){this.visible=!this.visible,this.animationDuration&&await(0,g.gw)(this.animationDuration)}},(0,u.Z)(o.prototype,"baseOnVisibleChanged",[s],Object.getOwnPropertyDescriptor(o.prototype,"baseOnVisibleChanged"),o.prototype),a=o))||a)},26747:function(e,t,n){n.d(t,{Z:function(){return o}});var i,s=n(38821),a=n(91475);let o=(0,s.wA)({name:"OssAssets"})(i=class extends s.XY{get ossTargetSrc(){return""}get ossDomain(){const{ossDomain:e}=(0,a.h)();return e}get assetsPathOrigin(){const{assetsPathOrigin:e}=(0,a.h)();return e}handleDomain(e){let t="";return"string"==typeof this.ossTargetSrc&&(t=this.ossTargetSrc),t.startsWith(e)}get ossAssetsHost(){return this.ossDomain.find(this.handleDomain)}get ossLobbyAssetPathOrigin(){const{ossSkinOrigin:e}=(0,a.h)();return e.find(this.handleDomain)}get ossCommonDomain(){const{ossCommonDomain:e}=(0,a.h)();return e}get ossCommonAssetsHost(){return this.ossCommonDomain?.find(this.handleDomain)}})||i},20332:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(55433),s=n(38821),a=n(75990);function o(e=10){var t;return(0,s.wA)({name:"MyDefer"})(t=class extends s.XY{constructor(...e){super(...e),(0,i.Z)(this,"displayPriority",0)}mounted(){this.runDisplayPriority()}runDisplayPriority(){(0,a.np)(Array.from({length:e}).map((()=>{this.displayPriority++})),"requestAnimationFrame")}defer(e){return this.displayPriority>=e}})||t}},41095:function(e,t,n){n.d(t,{Z:function(){return p}});var i,s,a,o,r,l,c,u=n(53158),d=n(12040),h=n(38821),m=n(46930);let p=(i=(0,h.wA)({name:"MyUnit"}),s=(0,h.fI)(m.ZP.number.def(100)),a=(0,h.fI)((0,m.Z_)().def("rem")),i((r=class extends h.XY{constructor(...e){super(...e),(0,u.Z)(this,"remUnit",l,this),(0,u.Z)(this,"unit",c,this)}get isRemMode(){return"rem"===this.unit}get baseUnit(){return this.isRemMode?this.remUnit:1}},l=(0,d.Z)(r.prototype,"remUnit",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,d.Z)(r.prototype,"unit",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=r))||o)},54736:function(e,t,n){n.r(t),n.d(t,{ArrowLeftOutline:function(){return D.Z},BarsOutline:function(){return P.Z},CalendarOutline:function(){return p.Z},CaretDownFill:function(){return i.Z},CaretDownOutline:function(){return g.Z},CaretUpFill:function(){return s.Z},CaretUpOutline:function(){return m.Z},CheckCircleFill:function(){return a.Z},CheckCircleOutline:function(){return f.Z},CheckOutline:function(){return R.Z},ClockCircleFill:function(){return o.Z},ClockCircleOutline:function(){return y.Z},CloseCircleOutline:function(){return h.Z},DeleteOutline:function(){return b.Z},DoubleLeftOutline:function(){return N.Z},DoubleRightOutline:function(){return B.Z},EllipsisOutline:function(){return Z.Z},ExclamationCircleFill:function(){return r.Z},ExclamationCircleOutline:function(){return I.Z},ExclamationOutline:function(){return x.Z},EyeInvisibleOutline:function(){return T.Z},EyeOutline:function(){return w.Z},FileOutline:function(){return S.Z},FileTwoTone:function(){return V.Z},FilterFill:function(){return l.Z},FolderOpenOutline:function(){return E.Z},FolderOutline:function(){return C.Z},InfoCircleFill:function(){return c.Z},InfoCircleOutline:function(){return v.Z},LeftOutline:function(){return M.Z},LineOutline:function(){return F.Z},LoadingOutline:function(){return L.Z},MinusSquareOutline:function(){return A.Z},PaperClipOutline:function(){return k.Z},PictureTwoTone:function(){return $.Z},PlusOutline:function(){return U.Z},PlusSquareOutline:function(){return _.Z},QuestionCircleOutline:function(){return K.Z},RedoOutline:function(){return G.Z},RightOutline:function(){return z.Z},SearchOutline:function(){return H.Z},StarFill:function(){return u.Z},UpOutline:function(){return W.Z},WarningFill:function(){return d.Z},WarningOutline:function(){return O.Z}});var i=n(37960),s=n(27631),a=n(91798),o=n(28465),r=n(23454),l=n(79060),c=n(67392),u=n(3639),d=n(54616),h=n(1772),m=n(39587),p=n(71854),g=n(95201),f=n(56411),y=n(5440),b=n(1542),I=n(17209),w=n(67786),T=n(59769),S=n(38190),C=n(7069),E=n(77563),v=n(74324),A=n(80598),_=n(94378),O=n(26959),D=n(55205),P=n(75682),R=n(30913),N=n(4798),B=n(15688),Z=n(2250),x=n(1969),M=n(72860),L=n(44288),k=n(47659),F=n(58806),U=n(75311),G=n(6054),z=n(389),H=n(14479),W=n(59581),V=n(44760),$=n(75484),K=n(94820)},7174:function(e,t,n){n.d(t,{zx:function(){return ne},lr:function(){return De},XZ:function(){return ie},JX:function(){return me},dy:function(){return le},Lt:function(){return ce},HY:function(){return ye},au:function(){return fe},JO:function(){return se},II:function(){return te},Rn:function(){return Ae},Ar:function(){return re},aV:function(){return Oe},v2:function(){return de},u_:function(){return ae},tl:function(){return oe},J2:function(){return Se},Ex:function(){return Ce},Y8:function(){return we},X2:function(){return he},Ph:function(){return Ie},iR:function(){return be},T:function(){return ue},yC:function(){return Te},Rg:function(){return Ee},rs:function(){return _e},iA:function(){return pe},mQ:function(){return ge},u:function(){return ve},yw:function(){return ee.Z}});n(36243);var i,s,a,o,r,l,c,u,d,h=n(84246),m=(n(50383),n(1747)),p=(n(4188),n(16987)),g=(n(48339),n(29937)),f=(n(20143),n(8087)),y=(n(51261),n(47278)),b=(n(11362),n(90662)),I=(n(79733),n(56816)),w=(n(20292),n(38262)),T=(n(35367),n(98704)),S=(n(17583),n(79177)),C=(n(71549),n(97152)),E=(n(28059),n(7041)),v=(n(77114),n(70509)),A=(n(98931),n(19919)),_=(n(41318),n(12534)),O=(n(82679),n(41316)),D=(n(62549),n(28481)),P=(n(51507),n(18439)),R=(n(25577),n(65494)),N=(n(54632),n(24871)),B=(n(30180),n(22776)),Z=(n(51661),n(97139)),x=(n(56129),n(6723)),M=(n(63659),n(93552)),L=(n(91255),n(29760)),k=(n(17348),n(87657)),F=(n(47918),n(27356)),U=(n(15861),n(4163)),G=(n(72154),n(55835)),z=(n(98906),n(38411)),H=(n(66967),n(981)),W=n(82492),V=n.n(W),$=(n(48354),n(26724)),K=n(56208),Y=n(53158),j=n(12040),J=n(38821),Q=n(46930);let q=(i=(0,J.wA)({name:"CustomButton"}),s=(0,J.fI)(Q.ZP.bool.def(!1)),a=(0,J.fI)(Q.ZP.bool.def(!1)),o=(0,J.fI)(Q.ZP.string),i((l=class extends J.XY{constructor(...e){super(...e),(0,Y.Z)(this,"block",c,this),(0,Y.Z)(this,"disabled",u,this),(0,Y.Z)(this,"type",d,this)}render(){return(0,arguments[0])(H.Z,{props:{...{block:this.block,disabled:this.disabled,type:this.type,...this.$attrs}},on:{...{...this.$listeners}}},[this.$slots.default])}},c=(0,j.Z)(l.prototype,"block",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,j.Z)(l.prototype,"disabled",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,j.Z)(l.prototype,"type",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r=l))||r);var X=q,ee=n(61446);const te=V()($.Z,{Group:V()($.Z.Group,{Tsx:(0,K.l4)().convert($.Z.Group)}),Search:V()($.Z.Search,{Tsx:(0,K.l4)().convert($.Z.Search)}),TextArea:V()($.Z.TextArea,{Tsx:(0,K.l4)().convert($.Z.TextArea)}),Password:V()($.Z.Password,{Tsx:(0,K.l4)().convert($.Z.Password)}),Tsx:(0,K.l4)().convert($.Z)}),ne=V()(H.Z,{Tsx:(0,K.l4)().convert(X)}),ie=V()(z.Z,{Group:V()(z.Z.Group,{Tsx:(0,K.l4)().convert(z.Z.Group)}),Tsx:(0,K.l4)().convert(z.Z)}),se=(V()(G.Z,{RangePicker:V()(G.Z.RangePicker,{Tsx:(0,K.l4)().convert(G.Z.RangePicker)}),Tsx:(0,K.l4)().convert(G.Z)}),V()(U.Z,{Tsx:(0,K.l4)().convert(U.Z)})),ae=V()(F.Z,{Tsx:(0,K.l4)().convert(F.Z)}),oe=V()(k.ZP,{Tsx:(0,K.l4)().convert(k.ZP)}),re=V()(L.Z,{Header:V()(L.Z.Header,{Tsx:(0,K.l4)().convert(L.Z.Header)}),Content:V()(L.Z.Content,{Tsx:(0,K.l4)().convert(L.Z.Content)}),Footer:V()(L.Z.Footer,{Tsx:(0,K.l4)().convert(L.Z.Footer)}),Sider:V()(L.Z.Sider,{Tsx:(0,K.l4)().convert(L.Z.Sider)}),Tsx:(0,K.l4)().convert(L.Z)}),le=V()(M.Z,{Tsx:(0,K.l4)().convert(M.Z)}),ce=V()(x.ZP,{Tsx:(0,K.l4)().convert(x.ZP)}),ue=V()(Z.ZP,{Tsx:(0,K.l4)().convert(Z.ZP)}),de=V()(B.ZP,{Item:V()(B.ZP.Item,{Tsx:(0,K.l4)().convert(B.ZP.Item)}),Tsx:(0,K.l4)().convert(B.ZP)}),he=V()(N.Z,{Tsx:(0,K.l4)().convert(N.Z)}),me=V()(R.Z,{Tsx:(0,K.l4)().convert(R.Z)}),pe=V()(P.Z,{Tsx:(0,K.l4)().convert(P.Z),Column:{Tsx:(0,K.l4)().convert(P.Z.Column)}}),ge=V()(D.ZP,{TabPane:{Tsx:(0,K.l4)().convert(D.ZP.TabPane)},Tsx:(0,K.l4)().convert(D.ZP)}),fe=V()(O.ZP,{Item:{Tsx:(0,K.l4)().convert(O.ZP.Item)},Tsx:(0,K.l4)().convert(O.ZP)}),ye=V()(_.ZP,{Tsx:(0,K.l4)().convert(_.ZP)}),be=V()(A.Z,{Tsx:(0,K.l4)().convert(A.Z)}),Ie=V()(v.ZP,{Option:{Tsx:(0,K.l4)().convert(v.ZP.Option)},Tsx:(0,K.l4)().convert(v.ZP)}),we=V()(E.ZP,{Group:{Tsx:(0,K.l4)().convert(E.ZP.Group)},Button:{Tsx:(0,K.l4)().convert(E.ZP.Button)},Tsx:(0,K.l4)().convert(E.ZP)}),Te=V()(C.Z,{Tsx:(0,K.l4)().convert(C.Z)}),Se=(V()(S.Z,{Tsx:(0,K.l4)().convert(S.Z)}),V()(T.Z,{Tsx:(0,K.l4)().convert(T.Z)})),Ce=V()(w.Z,{Tsx:(0,K.l4)().convert(w.Z)}),Ee=V()(I.Z,{Tsx:(0,K.l4)().convert(I.Z),Step:{Tsx:(0,K.l4)().convert(I.Z.Step)}}),ve=V()(b.Z,{Tsx:(0,K.l4)().convert(b.Z)}),Ae=V()(y.Z,{Tsx:(0,K.l4)().convert(y.Z)}),_e=(V()(f.Z,{Tsx:(0,K.l4)().convert(f.Z)}),V()(g.Z,{Tsx:(0,K.l4)().convert(g.Z)})),Oe=(V()(p.Z,{Tsx:(0,K.l4)().convert(p.Z)}),V()(m.ZP,{Tsx:(0,K.l4)().convert(m.ZP)})),De=V()(h.ZP,{Tsx:(0,K.l4)().convert(h.ZP)})},71050:function(e,t,n){n.d(t,{y:function(){return a}});var i=n(69483),s=n.n(i);const a=e=>{class t extends e.Tool{constructor(){super(),this.name="IndexDB"}showSources(e,t){const n=this.$devtools.get("sources");if(n)return n.set(e,t),this.$devtools.showTool("sources"),!0}bindEvent(){this.$el.on("click",".show-detail",(async e=>{const t=e.curTarget.innerHTML,n=await s().getItem(t);try{this.showSources("object",JSON.parse(n))}catch(i){this.showSources("raw",n)}}))}async createHtml(){let e="<table>";await s().iterate((function(t,n){e+=`<tr><td class="show-detail">${n}</td></tr>`})).then((function(){e+="</table>"})).catch((function(){})),this.$el.html(e)}init(...e){this.$el=e[0],this.$devtools=e[1],this.createHtml(),this.bindEvent(),super.init(this.$el)}show(){return super.show(),this.createHtml(),this}}return new t}},662:function(e,t,n){n.d(t,{fF:function(){return d},gv:function(){return c}});var i=n(55433),s=n(46851),a=n(75990),o=n(76198),r=n(69483),l=n.n(r);class c{constructor(e={},t){(0,i.Z)(this,"withIndexDB",!0),(0,i.Z)(this,"options",{finalLocal:!0}),this.options=Object.assign({},this.options,t),this.state=e}getItem(e){return this.state?JSON.stringify(this.state[e]):this.options.finalLocal?localStorage.getItem(e):null}setItem(e,t){this.state[e]=JSON.parse(t)}removeItem(e){delete this.state[e]}clear(){this.state={}}}class u{constructor(){(0,i.Z)(this,"options",{keyFormatter:e=>`store:${e}`,recordIndexDBKeyInLocalStorage:"indexDBKey"}),(0,i.Z)(this,"state",{})}get indexDBKeyFromLocalStorageKey(){return this.options.recordIndexDBKeyInLocalStorage}get createKey(){return this.options.keyFormatter}async setup(e=this.options,t=0){const n=Date.now();return Promise.race([(async()=>{try{this.options=Object.assign({},this.options,e);const t=await l().keys(),n=JSON.parse(localStorage.getItem(this.indexDBKeyFromLocalStorageKey)??"[]");return await Promise.all(n.filter((e=>t.includes(this.createKey(e)))).map((e=>this.setupItem(e)))),"success"}catch(t){return"fail"}})(),(async()=>(await(0,a.gw)((0,o.i)()),"timeout"))()]).then((i=>{const a=t+1,o=Date.now()-n;return localStorage.setItem("++++IndexDB setup end",`${(new Date).toString()}: ${i} count:${a} time:${o}ms`),s.xN.dispatch({type:"MONITOR_EVENT",eventName:"IdbReady",payload:{message:`IndexDB.setup end @ ${(new Date).toString()} with ${i} ${a}`}}),t<u.setupRetryCount&&"success"!==i?this.setup(e,1):i}))}updateIndexDB(e,t){const n=this.createKey(e);l().setItem(n,t).then((()=>{const t=JSON.parse(localStorage.getItem(this.indexDBKeyFromLocalStorageKey)||"[]");t.includes(e)||t.push(e),localStorage.setItem(this.indexDBKeyFromLocalStorageKey,JSON.stringify(t))}))}getIndexDB(e){return l().getItem(this.createKey(e))}delete(e){delete this.state[e]}async setupItem(e){try{const t=await this.getIndexDB(e);t&&(this.state[e]=JSON.parse(t))}catch(t){}}get getStorage(){return e=>{const t=this.state[e];return new c(t)}}}(0,i.Z)(u,"setupRetryCount",1);const d=new u,h=(e,t)=>{const n=!!e.storage?.withIndexDB,i=e.storage?.overwriteConfig,s=n?d.getStorage(t.$id):e.storage||sessionStorage;return{storage:i?Object.assign({getItem:e=>s.getItem(e,s),setItem:(e,t,n)=>s.setItem(e,t,n)},i):s,originStorage:s}},m=(e,t)=>({key:e.key||t.$id,value:e.paths?e.paths.reduce(((e,n)=>(e[n]=t.$state[n],e)),{}):t.$state}),p=(e,t)=>{const n=!!e.storage?.withIndexDB,{key:i,value:s}=m(e,t),{storage:a,originStorage:o}=h(e,t);n||a.setItem(i,JSON.stringify(s),o)};t.ZP=({options:e,store:t})=>{if(e.persist?.enabled){const n=[{key:t.$id,storage:sessionStorage}],i=e.persist?.strategies?.length?e.persist?.strategies:n,s=()=>{const e={};for(let s=0;s<i.length;s++){const n=i[s];if(!!n.storage?.withIndexDB){const{key:i,value:s}=m(n,t);e[i]=s}else p(n,t)}const n=JSON.stringify(e);"{}"!==n&&d.updateIndexDB(t.$id,n)};i.forEach((e=>{const{storage:n,originStorage:i}=h(e,t),s=e.key||t.$id,a=n.getItem(s,i);a&&t.$patch(JSON.parse(a))})),s(),d.delete(t.$id),t.$subscribe(s)}}},77674:function(e,t,n){n.d(t,{Er:function(){return A},GI:function(){return C},Li:function(){return P},Mt:function(){return S},OK:function(){return v},P4:function(){return D},QP:function(){return _},TL:function(){return Z},UO:function(){return B},cW:function(){return x},jT:function(){return M},mQ:function(){return E},rj:function(){return O},se:function(){return N},uT:function(){return R}});n(9252);var i=n(41526),s=(n(73615),n(12212)),a=(n(25684),n(2163)),o=(n(2960),n(81)),r=(n(4528),n(55948)),l=(n(38949),n(57370)),c=(n(3471),n(91397)),u=(n(76849),n(50914)),d=(n(36631),n(117)),h=(n(52947),n(59978)),m=(n(88246),n(67763)),p=(n(77670),n(62476)),g=(n(44664),n(15032)),f=(n(97239),n(10342)),y=(n(56802),n(24719)),b=(n(72207),n(74755)),I=n(82492),w=n.n(I),T=(n(25464),n(2261));const S=w()(T.Z,{}),C=w()(b.Z,{}),E=w()(y.Z,{}),v=w()(f.Z,{}),A=w()(g.Z,{}),_=w()(p.Z,{}),O=w()(m.Z,{}),D=w()(h.Z,{}),P=w()(d.Z,{}),R=w()(u.Z,{}),N=(w()(c.Z,{}),w()(l.Z,{})),B=w()(r.Z,{}),Z=w()(o.Z,{}),x=(w()(a.Z,{}),w()(s.Z,{})),M=w()(i.Z,{})},35829:function(e,t,n){let i;n.d(t,{$U:function(){return s},x4:function(){return i}}),function(e){e.ROOT="root",e.LOGIN="login",e.REGISTER="register",e.GAME="game",e.WG_GAME="WGGame",e.SUB_GAME="subGame",e.GAME_SEARCH="gameSearch",e.GAME_EMBEDDED="gameEmbedded",e.EVENT="event",e.EVENT_ITEM="event/item",e.TASK="task",e.CASHBACK="cashback",e.PROMOTE="promote",e.PROXYTRANSFER="proxyTransfer",e.MYTRANSFERRECORD="myTransferRecord",e.PICKUPRECORD="pickUpRecord",e.VIP="vip",e.AWARD="award",e.SETTING="setting",e.UPDATE_AVATOR="updateAvator",e.REPORT="report",e.SECURITY="security",e.ABOUT_US="about-us",e.FEEDBACK="feedback",e.YUEBAO="yuebao",e.CENTER_WALLET="center-wallet",e.CUSTOMER_SERVICE="service",e.WITHDRAW="withdraw",e.WITHDRAW_DETAILS="withdraw-details",e.AUDIT_DETAILS="audit-details",e.CUSTOMERS_QUESTION_DETAIL="customers-question-detail",e.NOTICE="notice",e.NOTICEDETAIL="noticeDetail",e.RECORDS="records",e.CANRECEIVE="canReceive",e.RECEIVERECORDS="receive-records",e.BETTING_RECORDS="betting-records",e.INTEGRALS="integrals",e.PROMOTE_GAME="promote-game",e.DEMO_REGISTER="demo-register",e.VERSION_UPDATE="version-update",e.ERROR_TEXT="error-text",e.ANTIBAN="antiban",e.NOT_FOUND="404",e.SPORTS_HOME="sports-subgame",e.SPORTS_DETAIL="sports-detail",e.SPORTS_PARLAYBET="sports-parlay-bet",e.SPORTS_BETRECORD="sports-bet-record",e.DEVTOOLS="dev-tools",e.IFRAME_ROUTE="iframe-route",e.MINE="mine",e.RECHARGE_FUND="rechargeFund",e.DEVICE_INFO="deviceInfo",e.FORBIDDEN_SELF="forbidden-self",e.FEEDBACK_DETAIL="feedback-detail"}(i||(i={}));const s=[]},3618:function(e,t,n){n.d(t,{ZP:function(){return D},pN:function(){return v},xL:function(){return T}});var i=n(6927),s=n(46851),a=n(35829),o=n(32770),r=n(61102),l=n(75990),c=n(5825),u=n(91475),d=n(80194),h=n(29946),m=n(70539),p=n(31916),g=n(71623),f=n.n(g),y=n(30727),b=n(20144),I=n(72902),w=n(39948);let T;!function(e){e.HOME="2",e.TEST_REGISTER="3",e.REGISTER="4",e.EVENT="5"}(T||(T={}));const S={},C={},E=f()();E.configure({showSpinner:!1});const v={state:[],start:e=>{if(v.state.includes(e))return;const{isInitializationCompleted:t}=(0,u.h)();t&&E.start()},done:e=>{E.done();const t=v.state.indexOf(e);t>-1&&v.state.splice(t,1),v.state.push(e)}},A={initializing:!1,filter:e=>![].includes(e.name||""),action:async e=>{const{isInitializationCompleted:t}=(0,u.h)();!A.filter(e)||A.initializing||t||(A.initializing=!0,await(async(e,t,n=!1)=>{s.sG.Site.syncInit(),await new Promise((e=>{b.default.nextTick((()=>{e("")}))})),await s.sG.Site.init(n);const{hasLogined:i,userkeyFromUrl:l,uuid:c,siteInfos:p,useFastLogin:g,urlParams:f,reRenderRoot:y}=(0,u.h)();if(p&&s.sG.Site.initI18n(p),h.Z.initReporterMananger(),!i){const e=new URL(location.href);(f.cid||f.id)&&(0,r.F)({promoter_info:f?.id,channel_info:f?.cid,accessUrl:e.origin,visitor_device:c})}const I=async()=>{if(g){const e=l;await s.sG.User.fastLogin({userkey:e},{noErrorMessage:!0}).catch((()=>{l&&((0,u.h)().isUserKeyFromUrlFail=!0),b.default.nextTick((()=>{y()})),s.sG.User.mockUnLoginedUserInfo()}))}else s.sG.User.mockUnLoginedUserInfo()};await Promise.all([s.sG.Site.initAssetsConfig(),(async()=>{t.meta?.private||a.$U.includes(t.name)?await I().catch((()=>{})):I()})()]),m.Z.setGlobalTextColor();const T=(0,u.h)().siteConfig?.type;if(void 0!==T){if(t.name===a.x4.GAME){const e=w.Z[T][o.fc.HomePage].com;"function"==typeof e&&e()}s.xN.dispatch({type:"REFRESH_URL",payload:{}}),setTimeout((()=>{s.sG.Site.initializeLanguageAndSprites(n)}),10);const e=(0,d.Dw)(T);"function"==typeof e&&await e().catch((()=>{}))}e&&e()})((()=>{A.done(e)}),e,!!window.LOBBY_SITE_CONFIG.INJECT_DATA).catch((()=>{A.done(e)})))},done:async e=>{const{isInitializationCompleted:t}=(0,u.h)();if(!A.filter(e))return void window.initSplash.destroy();if(t)return;const n=(0,u.h)();n.$patch({isInitializationCompleted:!0}),s.xN.dispatch({type:"CLIENT_DATA_INITIALIZATION_COMPETED"}),b.default.nextTick((async()=>{y.Z.autoGooglePrompt(),y.Z.getConfigDependencies(!0),await y.Z.initIpInfos();const{NOT_FOUND:t,ERROR_TEXT:i}=a.x4;[t,i].includes(e.name)||!(0,l.zm)()&&n.areaStatus&&I.Z.start()}))}};let _=!1,O=!1;function D(e){e.beforeEach((async(e,t,n)=>{(0,u.h)().updatePreviousRouteName(t.name);O||(()=>{const{getUrlConfig:e}=(0,u.h)();e();const{urlParams:t}=(0,u.h)();if(O=!0,!t?.isJumped){if(t?.type===T.TEST_REGISTER&&!(0,u.h)().hasLogined)return t.isJumped=!0,n({name:a.x4.SUB_GAME,query:{gameCategoryId:`${i.ck.DEMO}`,platformId:`${i.ck.DEMO}${i.$8}`}});if(t?.type===T.EVENT)t.isJumped=!0,n({name:a.x4.EVENT})}})(),e.name&&!S[e.name]&&(C[e.name]=Date.now());if(!window.LOBBY_SITE_CONFIG.SITE_DOMAIN_NOT_MATCH){try{await A.action(e)}catch(s){await A.action(e)}return P(e,t,(t=>{v.start(`route-${e.name}`),n(t)}))}})),e.beforeResolve(((e,t,n)=>{e.name&&(window.initSplash.destroy(),((e,t)=>{const n=v.state.reduce(((e,t)=>(t.startsWith("route-")&&e.push(t.replace(/^route-/,"")),e)),[]),{isWeb:i}=(0,u.h)();let s;if(i)s="Base";else{const i=(0,u.h)().routerViewWithTransitionModeOnCurrentChange;if(i)s=i,(0,u.h)().routerViewWithTransitionModeOnCurrentChange=null;else if(e.name&&e.name!==t.name){let i=n.indexOf(e.name||""),a=n.indexOf(t.name||"");"number"==typeof e.meta?.depIndex&&"number"==typeof t.meta?.depIndex&&e.meta?.depIndex!==t.meta?.depIndex&&(i=e.meta?.depIndex,a=t.meta?.depIndex),s=i>a?"Pop":"Push"}else s="Base"}(0,u.h)().routerViewWithTransitionMode=s})(t,e),S[e.name]||(0,c.trace)("resource",{href:e.fullPath,name:e.name,time:Date.now()-C[e.name]}),S[e.name]=!0),n()})),e.afterEach(((e,t)=>{(0,u.h)().autoUpdateIsFromBindModal(e.name);const n=t.name===a.x4.GAME;e.name===a.x4.GAME?I.Z.resume():n&&(I.Z.pause(),I.Z.hideAllModal()),_=!0,v.done(`route-${e.name}`)})),e.onError((t=>{const n=t.message?.match(/Loading chunk (\d)+ failed/g),i=e.history?.pending?.fullPath;(0,c.trace)("router-error",{message:t.message,isChunkLoadFailed:n,targetPath:i},!!n)}))}const P=async(e,t,n)=>{const{isRealLogined:i,isDemoMode:o,userInfos:r}=(0,u.h)(),l=e.meta?.private,c=e.meta?.whiteRoleType||[],d=()=>!o||(c.includes(r?.account_type)||!l),h=()=>{n({replace:!0,name:a.x4.ROOT})};try{if(l)if(_){if(d())(0,u.h)().hasLogined?n():p.Z.canEnterModal?await s.sG.Site.guide2Register((()=>{n()})):p.Z.open({currentRoute:e,executeRouterOpen(e){n(e)}});else if(o)return void s.sG.Site.guide2DemoAcountDialog()}else d()&&i?n():h();else n()}catch{h()}}},80194:function(e,t,n){n.d(t,{ZP:function(){return k},Dw:function(){return N}});var i,s=n(82492),a=n.n(s),o=n(27361),r=n.n(o),l=n(62933),c=n(46851),u=n(35829),d=n(27772),h=n(1507),m=n(12392),p=n(7105),g=n(54302),f=n(38821),y=n(32770),b=n(12832);let I=(0,f.wA)({name:"Layouts",components:{...y.ZP.register({namespace:y.rO.Theme,moduleType:y.fc.Layouts})}})(i=class extends f.XY{get renderLayoutComponentsName(){return y.ZP.getName({namespace:y.rO.Theme,moduleType:y.fc.Layouts,key:b.Z.skinType})}render(){return(0,arguments[0])(this.renderLayoutComponentsName,{attrs:{"data-components-name":this.renderLayoutComponentsName}})}})||i;var w=n(41657),T=n(21693),S=n(56822),C=n(78345),E=n(9289),v=n(45227),A=n(85504),_=n(3618),O=n(84220),D=n(16982),P=n(39948);const R=h.sZ.ThemeSkinType,N=e=>{if(e)try{const t=P.Z[e][d.f.Layouts]?.com;return t}catch(t){return P.Z[R.NORMAL][d.f.Layouts]?.com}return I},B={push:C.Z.prototype.push,replace:C.Z.prototype.replace,go:C.Z.prototype.go};let Z=0;Object.keys(B).forEach((e=>{const t=e;C.Z.prototype[t]="go"==t?function(e){Z+=e,"history"===this.mode&&Z<0?this.push({name:u.x4.ROOT}):B[t].bind(this)(e)}:async function(e){const n="string"!=typeof e&&!r()(e,"name")&&!r()(e,"path");if((!r()(e,"name")||r()(e,"path")||"string"==typeof e)&&!n)throw new Error("为了方便管理，请统一使用 name 匹配 做路由跳转");try{const{cid:n,id:i,aid:s,languageCode:o,currency:r,agent_code:l,type:u,afId:d,gtagId:h,gtmId:m,fb_dynamic_pixel:p,kwaiPixelBaseCode:g,ks_px_test:f,pixel_id:y,click_id:b,tiktokBaesCode:I,_atrk_c:w,_atrk_cr:T,_atrk_pt:S,_atrk_bi:C,_atrk_f:E,previewonly:v,gameIconType:A,isWgPackage:_,WgPackage:O,SpeedPackaeInit:D,appsflyer_id:P,appsflyer_appId:R,appsflyer_auth:N,fbclid:x,tiktokBaseCode:M,ttclid:L,openWinBridgeTunnel:k}=c.sG.App.$route.query,F={cid:n,id:i,aid:s,languageCode:o,currency:r,agent_code:l,type:u,afId:d,gtagId:h,gtmId:m,fb_dynamic_pixel:p,kwaiPixelBaseCode:g,ks_px_test:f,pixel_id:y,click_id:b,tiktokBaesCode:I,_atrk_c:w,_atrk_cr:T,_atrk_pt:S,_atrk_bi:C,_atrk_f:E,previewonly:v,gameIconType:A,isWgPackage:_,WgPackage:O,SpeedPackaeInit:D,appsflyer_id:P,appsflyer_appId:R,appsflyer_auth:N,fbclid:x,tiktokBaseCode:M,ttclid:L,openWinBridgeTunnel:k,...Object.entries(c.sG.App.$route.query).reduce(((e,[t,n])=>(/(mock|fixed).[\S]+/.test(t)&&(e[t]=n),e)),{})};return Object.keys(F).forEach((t=>{F[t]&&(e.query=a()({[t]:F[t]},e.query))})),"push"==t&&Z++,await B[t].bind(this)(e)}catch(i){if("NavigationDuplicated"===i?.name)return{};throw i}}}));const x=(M=O.Z.type,new C.Z({mode:"history",routes:[{path:"/",redirect:{name:u.x4.GAME},name:u.x4.ROOT,component:N(M),children:[{name:u.x4.GAME,path:"/",component:g.Z,meta:{depIndex:0,title:u.x4.GAME,showTabBar:!0}}]},{path:"/home",name:"home",component:N(M),redirect:{name:u.x4.GAME},children:[{name:u.x4.LOGIN,path:"/home/login",mode:"sync",component:w.Z,meta:{depIndex:1,title:u.x4.LOGIN,showTabBar:!1}},{name:u.x4.REGISTER,path:"/home/register",mode:"sync",component:w.Z,meta:{depIndex:1,title:u.x4.REGISTER,showTabBar:!1}},{name:u.x4.GAME,path:"/home/game",mode:"sync",component:g.Z,meta:{depIndex:0,title:u.x4.GAME,showTabBar:!0}},{name:u.x4.WG_GAME,path:"/home/wg-game",mode:"sync",component:A.Z,meta:{title:u.x4.WG_GAME}},{name:u.x4.SUB_GAME,path:"/home/subgame",mode:"sync",component:v.Z,meta:{title:u.x4.SUB_GAME,depIndex:1}},{name:u.x4.GAME_SEARCH,path:"/home/search",mode:"sync",component:E.Z,meta:{title:u.x4.GAME_SEARCH,depIndex:1}},{name:u.x4.GAME_EMBEDDED,path:"/home/embedded",mode:"sync",component:p.Z,meta:{title:u.x4.GAME_EMBEDDED,depIndex:1}},{name:u.x4.EVENT,path:"/home/event",component:()=>n.e(7963).then(n.bind(n,98756)),children:[{name:u.x4.EVENT_ITEM,path:"/home/event/item/:template/:eventId",component:()=>n.e(94280).then(n.bind(n,94280)),meta:{depIndex:2}}],meta:{depIndex:1,title:u.x4.EVENT,showTabBar:!0}},{name:u.x4.TASK,path:"/home/task",mode:"standard",component:()=>n.e(85259).then(n.bind(n,85259)),meta:{depIndex:3,title:u.x4.TASK,showTabBar:!0}},{name:u.x4.CASHBACK,path:"/home/cashback",component:()=>n.e(21390).then(n.bind(n,21390)),meta:{depIndex:1,title:u.x4.CASHBACK,showTabBar:!0}},{name:u.x4.PROMOTE,path:"/home/promote",component:()=>n.e(1319).then(n.bind(n,1319)),meta:{depIndex:3,private:!1,title:u.x4.PROMOTE}},{name:u.x4.PROXYTRANSFER,path:"/home/proxyTransfer",component:()=>n.e(16110).then(n.bind(n,16110))},{name:u.x4.MYTRANSFERRECORD,path:"/home/myTransferRecord",component:()=>n.e(79269).then(n.bind(n,79269))},{name:u.x4.PICKUPRECORD,path:"/home/pickUpRecord",component:()=>n.e(91773).then(n.bind(n,91773))},{name:u.x4.RECHARGE_FUND,path:"/home/rechargeFund",component:()=>Promise.resolve().then(n.bind(n,77145)),meta:{title:u.x4.RECHARGE_FUND,showTabBar:!0}},{name:u.x4.YUEBAO,path:"/home/yuebao",component:()=>n.e(446).then(n.bind(n,446)),meta:{depIndex:3,title:u.x4.YUEBAO,showTabBar:!0}},{name:u.x4.CENTER_WALLET,path:"/home/center-wallet",component:()=>n.e(85990).then(n.bind(n,84622)),meta:{depIndex:3,title:u.x4.CENTER_WALLET}},{name:u.x4.VIP,path:"/home/vip",component:()=>n.e(19013).then(n.bind(n,19013)),meta:{depIndex:3,private:!0,title:u.x4.VIP,showTabBar:!0}},{name:u.x4.WITHDRAW_DETAILS,path:"/home/withdraw/withdraw-details/:orderId",component:()=>n.e(65539).then(n.bind(n,65539)),meta:{depIndex:4,private:!0,title:u.x4.WITHDRAW_DETAILS}},{name:u.x4.AUDIT_DETAILS,path:"/home/withdraw/audit-details/:id",component:()=>n.e(59508).then(n.bind(n,59508)),meta:{depIndex:4,private:!0,title:u.x4.AUDIT_DETAILS}},{name:u.x4.WITHDRAW,path:"/home/withdraw",mode:"standard",component:()=>Promise.all([n.e(16084),n.e(99804)]).then(n.bind(n,16084)),meta:{depIndex:3,private:!0,title:u.x4.WITHDRAW}},{name:u.x4.NOTICE,path:"/home/notice",component:()=>n.e(36069).then(n.bind(n,36069)),meta:{depIndex:3,title:u.x4.NOTICE}},{name:u.x4.NOTICEDETAIL,path:"/home/notice/detail",component:()=>n.e(72010).then(n.bind(n,72010)),meta:{depIndex:4,title:u.x4.NOTICE}},{name:u.x4.CUSTOMERS_QUESTION_DETAIL,path:"/home/customers-question-detail",component:()=>n.e(87106).then(n.bind(n,87106)),meta:{depIndex:4,title:u.x4.CUSTOMERS_QUESTION_DETAIL}},{name:u.x4.RECORDS,path:"/home/records",component:()=>n.e(33088).then(n.bind(n,33088)),meta:{depIndex:1,title:u.x4.RECORDS,showTabBar:!0}},{name:u.x4.CANRECEIVE,path:"/home/canReceive",component:()=>n.e(79167).then(n.bind(n,79167)),meta:{title:u.x4.CANRECEIVE,showTabBar:!0}},{name:u.x4.RECEIVERECORDS,path:"/home/receive-records",component:()=>n.e(80558).then(n.bind(n,80558)),meta:{depIndex:3,title:u.x4.RECEIVERECORDS}},{name:u.x4.BETTING_RECORDS,path:"/home/betting-records",component:()=>n.e(87156).then(n.bind(n,87156)),meta:{depIndex:3,title:u.x4.BETTING_RECORDS}},{name:u.x4.INTEGRALS,path:"/home/integrals",component:()=>n.e(36007).then(n.bind(n,36007)),meta:{depIndex:3,title:u.x4.INTEGRALS}},{name:u.x4.SETTING,path:"/home/setting",component:()=>n.e(9861).then(n.bind(n,9861)),mode:"standard",meta:{depIndex:3,private:!0,title:u.x4.SETTING}},{name:u.x4.UPDATE_AVATOR,path:"/home/updateAvator",component:()=>n.e(91945).then(n.bind(n,91945)),mode:"standard",meta:{depIndex:3,private:!0,title:u.x4.UPDATE_AVATOR}},{name:u.x4.REPORT,path:"/home/report",component:()=>n.e(54127).then(n.bind(n,54127)),meta:{depIndex:3,private:!0,title:u.x4.REPORT}},{name:u.x4.SECURITY,path:"/home/security",component:()=>n.e(76501).then(n.bind(n,76501)),meta:{depIndex:3,private:!0,title:u.x4.SECURITY}},{name:u.x4.ABOUT_US,path:"/home/about",component:()=>n.e(76109).then(n.bind(n,76109)),meta:{depIndex:3,title:u.x4.ABOUT_US}},{name:u.x4.DEVICE_INFO,path:"/home/device-info",component:()=>n.e(26265).then(n.bind(n,33622)),meta:{depIndex:3,title:u.x4.DEVICE_INFO}},{name:u.x4.VERSION_UPDATE,path:"/home/update",component:()=>n.e(11811).then(n.bind(n,11811)),meta:{depIndex:3,private:!0,title:u.x4.VERSION_UPDATE}},{name:u.x4.SPORTS_PARLAYBET,path:"/home/sports-parlay-pet",component:()=>n.e(65589).then(n.bind(n,65589)),meta:{private:!0,title:u.x4.SPORTS_PARLAYBET,hiddenMobileTabBar:!0}},{name:u.x4.SPORTS_BETRECORD,path:"/home/sports-bet-record",component:()=>n.e(17356).then(n.bind(n,17356)),meta:{private:!0,title:u.x4.SPORTS_BETRECORD,hiddenMobileTabBar:!0}},{name:u.x4.SPORTS_DETAIL,path:"/home/sports-detail",component:()=>n.e(33122).then(n.bind(n,33122)),meta:{private:!0,title:u.x4.SPORTS_DETAIL,hiddenMobileTabBar:!0}},{name:u.x4.SPORTS_HOME,path:"/home/sports-subgame",component:()=>n.e(38491).then(n.bind(n,38491)),meta:{title:u.x4.SPORTS_HOME,hiddenMobileTabBar:!0}},{name:u.x4.MINE,path:"/home/mine",component:()=>n.e(57243).then(n.bind(n,57243)),meta:{depIndex:2,private:!0,title:u.x4.MINE,showTabBar:!0,whiteRoleType:[l.Qm.Demo]}},{name:u.x4.FORBIDDEN_SELF,path:"/home/forbidden-self",component:()=>n.e(76362).then(n.bind(n,76362)),meta:{depIndex:3,title:u.x4.FORBIDDEN_SELF}},{name:u.x4.FEEDBACK_DETAIL,path:"/home/feedback-detail",component:()=>n.e(26960).then(n.bind(n,26960)),meta:{private:!0,depIndex:4,title:u.x4.FEEDBACK_DETAIL}}].map((e=>({...e,component:"sync"===e.mode?e.component:S.Z.createAsyncComponent({name:e.name,component:e.component,loadingComponentConfig:{class:D.Z["route-loading"]},mode:"async-on-sync"===e.mode?"async-on-sync":"standard"})})))},{name:u.x4.ERROR_TEXT,path:"/error",component:()=>n.e(59331).then(n.bind(n,59331)),meta:{title:u.x4.ERROR_TEXT}},{name:u.x4.NOT_FOUND,path:"/404",component:()=>n.e(62534).then(n.bind(n,62534)),meta:{title:u.x4.NOT_FOUND}},{name:u.x4.ANTIBAN,path:"/antiban",component:()=>n.e(94998).then(n.bind(n,94998)),meta:{title:u.x4.ANTIBAN}},{name:u.x4.PROMOTE_GAME,path:"/promote-game",component:T.Z,meta:{title:"loading"}},{name:u.x4.IFRAME_ROUTE,path:"/iframe-route",component:()=>n.e(91654).then(n.bind(n,91654)),meta:{title:u.x4.IFRAME_ROUTE}},{path:"*",redirect:{name:u.x4.ROOT}}],scrollBehavior:m.sC}));var M;const L="prod";["dev","test","stest"].includes(L)&&x.addRoute({name:u.x4.DEVTOOLS,path:"/devtools",component:()=>n.e(86611).then(n.bind(n,86611)),meta:{title:u.x4.DEVTOOLS}});(0,_.ZP)(x),(0,m.z9)(x);var k=x},12392:function(e,t,n){n.d(t,{X5:function(){return r},sC:function(){return c},z9:function(){return u}});var i=n(35829),s=n(75990);const a=new Map;let o="none";const r=e=>{o=e};function l(){return document.querySelector("#home-scroll-box .my-scrollbar-wrap")}const c=async function(e,t){let n=o;if([i.x4.GAME].includes(e.name)&&e.name!==t.name&&(r("auto"),n="auto"),"none"!==o){await(0,s.gw)(100);const t=e=>{if(e){const t=l();t&&(t.scrollTop=e.y,t.scrollLeft=e.x)}};if("auto"===n){t((c=e,a.get(c.name)))}if("function"==typeof n)try{const e=n();if(e instanceof HTMLElement||e instanceof Element)e.scrollIntoView();else if(e){const{x:n,y:i}=e;t({x:n,y:i})}}catch(u){}"top"===n&&t({x:0,y:0}),r("none")}var c};function u(e){e.beforeEach(((e,t,n)=>{try{!function(e){const t=l();e&&t&&a.set(e.name,{x:t.scrollLeft,y:t.scrollTop,time:Date.now(),name:e.name})}(t)}catch(i){}n()}))}},97500:function(e,t,n){n.d(t,{D0:function(){return o},m7:function(){return a},zN:function(){return s}});var i=n(1643);class s{static parseArray(e,t){return e.map((e=>(new t).parse(e)))}}const a=e=>(0,i.parse)((t=>Array.isArray(t)?t.map((t=>(new e).parse(t))):[])),o=e=>Boolean(e)},31283:function(e,t,n){n.d(t,{Z:function(){return x}});var i,s,a,o,r,l,c,u,d,h,m,p,g,f,y,b,I,w,T,S,C,E,v,A,_,O,D=n(53158),P=n(55433),R=n(12040),N=n(1643),B=n(43977),Z=n(97500);let x=(i=(0,N.Entity)(),s=(0,N.from)("a"),a=(0,N.type)(Number),o=(0,N.from)("b"),r=(0,N.type)(Number),l=(0,N.from)("c"),c=(0,N.type)(String),u=(0,N.from)("d"),d=(0,N.parse)(Z.D0),h=(0,N.type)(Boolean),m=(0,N.nullable)(),p=(0,N.from)("e"),g=(0,N.type)(String),f=(0,N.nullable)(),y=(0,N.from)("f"),b=(0,N.parse)(B.mX),I=(0,N.type)(String),w=(0,N.nullable)(),i((S=class extends N.Model{constructor(...e){super(...e),(0,P.Z)(this,"webId",""),(0,D.Z)(this,"platformId",C,this),(0,D.Z)(this,"gameCategoryId",E,this),(0,D.Z)(this,"gameName",v,this),(0,D.Z)(this,"isExternalLink",A,this),(0,D.Z)(this,"externalLink",_,this),(0,D.Z)(this,"gameIcon",O,this),(0,P.Z)(this,"isAnchorHot",!0),(0,P.Z)(this,"customLargeIcon",!1)}static isThisType(e){return e.isAnchorHot}static generateWebId(e){const{gameCategoryId:t,platformId:n}=e;return`${t}_${n}`}},C=(0,R.Z)(S.prototype,"platformId",[s,a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),E=(0,R.Z)(S.prototype,"gameCategoryId",[o,r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),v=(0,R.Z)(S.prototype,"gameName",[l,c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),A=(0,R.Z)(S.prototype,"isExternalLink",[u,d,h,m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),_=(0,R.Z)(S.prototype,"externalLink",[p,g,f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),O=(0,R.Z)(S.prototype,"gameIcon",[y,b,I,w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),T=S))||T)},39362:function(e,t,n){n.d(t,{H:function(){return K},w:function(){return $.Z}});var i,s,a,o,r,l,c,u,d,h,m,p,g,f,y,b,I,w,T,S,C,E,v,A,_,O,D,P,R,N,B,Z,x,M,L,k,F,U,G,z=n(53158),H=n(12040),W=n(1643),V=n(97500),$=n(6389);let K=(i=(0,W.Entity)(),s=(0,W.type)(String),a=(0,W.parse)(((e,t)=>`${t?.p0}`)),o=(0,W.from)("p0"),r=(0,W.type)(Number),l=(0,W.from)("p1"),c=(0,W.type)(String),u=(0,W.from)("p2"),d=(0,W.type)(Boolean),h=(0,W.parse)(V.D0),m=(0,W.from)("p3"),p=(0,W.type)(Number),g=(0,W.from)("p4"),f=(0,W.type)(Number),y=(0,W.from)("p5"),b=(0,W.type)(Number),I=(0,W.from)("p6"),w=(0,W.type)(Number),T=(0,W.from)("p7"),S=(0,W.type)(Number),C=(0,W.from)("p8"),E=(0,W.type)(Number),v=(0,W.from)("l"),A=(0,W.type)(Array),_=(0,V.m7)($.Z),O=(0,W.nullable)(),i((P=class extends W.Model{constructor(e){super(),(0,z.Z)(this,"webId",R,this),(0,z.Z)(this,"gameCategoryId",N,this),(0,z.Z)(this,"gameCategoryName",B,this),(0,z.Z)(this,"display",Z,this),(0,z.Z)(this,"pcSquare",x,this),(0,z.Z)(this,"appSquare",M,this),(0,z.Z)(this,"pcVertical",L,this),(0,z.Z)(this,"appVertical",k,this),(0,z.Z)(this,"pcMenuRow",F,this),(0,z.Z)(this,"appMenuRow",U,this),(0,z.Z)(this,"list",G,this),this.merge(e)}},R=(0,H.Z)(P.prototype,"webId",[s,a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),N=(0,H.Z)(P.prototype,"gameCategoryId",[o,r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),B=(0,H.Z)(P.prototype,"gameCategoryName",[l,c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Z=(0,H.Z)(P.prototype,"display",[u,d,h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),x=(0,H.Z)(P.prototype,"pcSquare",[m,p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),M=(0,H.Z)(P.prototype,"appSquare",[g,f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),L=(0,H.Z)(P.prototype,"pcVertical",[y,b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),k=(0,H.Z)(P.prototype,"appVertical",[I,w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),F=(0,H.Z)(P.prototype,"pcMenuRow",[T,S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),U=(0,H.Z)(P.prototype,"appMenuRow",[C,E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),G=(0,H.Z)(P.prototype,"list",[v,A,_,O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),D=P))||D)},6389:function(e,t,n){n.d(t,{Z:function(){return Ze}});var i,s,a,o,r,l,c,u,d,h,m,p,g,f,y,b,I,w,T,S,C,E,v,A,_,O,D,P,R,N,B,Z,x,M,L,k,F,U,G,z,H,W,V,$,K,Y,j,J,Q,q,X,ee,te,ne,ie,se,ae,oe,re,le,ce,ue,de,he,me,pe,ge,fe,ye,be,Ie,we,Te,Se,Ce,Ee,ve,Ae,_e,Oe=n(53158),De=n(55433),Pe=n(12040),Re=n(1643),Ne=n(43977),Be=n(97500);let Ze=(i=(0,Re.Entity)(),s=(0,Re.type)(String),a=(0,Re.parse)(((e,t)=>`${t?.t4}_${t?.t9}_${t?.t1}`)),o=(0,Re.from)("t1"),r=(0,Re.type)(Number),l=(0,Re.nullable)(),c=(0,Re.from)("t2"),u=(0,Re.type)(Boolean),d=(0,Re.parse)(Be.D0),h=(0,Re.from)("t3"),m=(0,Re.type)(Boolean),p=(0,Re.parse)(Be.D0),g=(0,Re.nullable)(),f=(0,Re.from)("t19"),y=(0,Re.type)(Boolean),b=(0,Re.parse)(Be.D0),I=(0,Re.nullable)(),w=(0,Re.from)("t4"),T=(0,Re.type)(Number),S=(0,Re.from)("t5"),C=(0,Re.parse)(Ne.mX),E=(0,Re.type)(String),v=(0,Re.nullable)(),A=(0,Re.from)("t6"),_=(0,Re.type)(Boolean),O=(0,Re.parse)(Be.D0),D=(0,Re.from)("t7"),P=(0,Re.nullable)(),R=(0,Re.from)("t9"),N=(0,Re.type)(Number),B=(0,Re.from)("t10"),Z=(0,Re.type)(String),x=(0,Re.nullable)(),M=(0,Re.from)("t11"),L=(0,Re.type)(String),k=(0,Re.nullable)(),F=(0,Re.from)("t12"),U=(0,Re.type)(Boolean),G=(0,Re.parse)(Be.D0),z=(0,Re.nullable)(),H=(0,Re.from)("t15"),W=(0,Re.type)(String),V=(0,Re.nullable)(),$=(0,Re.from)("t16"),K=(0,Re.type)(Boolean),Y=(0,Re.parse)(Be.D0),j=(0,Re.from)("t17"),J=(0,Re.parse)(Ne.mX),Q=(0,Re.nullable)(),q=(0,Re.from)("t18"),X=(0,Re.type)(Boolean),ee=(0,Re.parse)(Be.D0),te=(0,Re.from)("t20"),ne=(0,Re.type)(Boolean),ie=(0,Re.parse)(Be.D0),se=(0,Re.from)("t21"),ae=(0,Re.type)(String),oe=(0,Re.nullable)(),i((le=class extends Re.Model{constructor(...e){super(...e),(0,Oe.Z)(this,"webId",ce,this),(0,Oe.Z)(this,"gameId",ue,this),(0,Oe.Z)(this,"demoModeSupport",de,this),(0,Oe.Z)(this,"isCustomIcon",he,this),(0,Oe.Z)(this,"isOriginImg",me,this),(0,Oe.Z)(this,"gameCategoryId",pe,this),(0,Oe.Z)(this,"platformLogo",ge,this),(0,Oe.Z)(this,"maintainStatus",fe,this),(0,Oe.Z)(this,"minimumEntryBalance",ye,this),(0,De.Z)(this,"platformIcon",""),(0,Oe.Z)(this,"platformId",be,this),(0,Oe.Z)(this,"platformName",Ie,this),(0,Oe.Z)(this,"slogan",we,this),(0,Oe.Z)(this,"isExternalLink",Te,this),(0,Oe.Z)(this,"brand",Se,this),(0,Oe.Z)(this,"anchorSupport",Ce,this),(0,Oe.Z)(this,"customHotIcon",Ee,this),(0,De.Z)(this,"normalHotIcon",""),(0,Oe.Z)(this,"isCombinate",ve,this),(0,Oe.Z)(this,"isImgBackgroundOpacity",Ae,this),(0,Oe.Z)(this,"imgBackgroundColor",_e,this)}static isThisType(e){return!!["platformIcon","brand","slogan"].every((t=>Reflect.has(e,t)))}parseGameItem(e){return this.webId=e.webId,this.gameId=e.gameId,this.demoModeSupport=e.demoModeSupport,this.isCustomIcon=e.isCustomIcon,this.isOriginImg=e.isOriginImg,this.gameCategoryId=e.gameCategoryId,this.platformId=e.platformId,this.platformName=e.platformName,this.platformLogo=e.platformLogo,this.maintainStatus=e.maintainStatus,this.minimumEntryBalance=e.minimumEntryBalance,this.anchorSupport=e.anchorSupport,this.isExternalLink=e.isExternalLink,this.brand=e.gameName,this.imgBackgroundColor=e.imgBackgroundColor,this.isImgBackgroundOpacity=e.isImgBackgroundOpacity,this.isCombinate=e.isCombinate,this}},ce=(0,Pe.Z)(le.prototype,"webId",[s,a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),ue=(0,Pe.Z)(le.prototype,"gameId",[o,r,l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),de=(0,Pe.Z)(le.prototype,"demoModeSupport",[c,u,d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),he=(0,Pe.Z)(le.prototype,"isCustomIcon",[h,m,p,g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),me=(0,Pe.Z)(le.prototype,"isOriginImg",[f,y,b,I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),pe=(0,Pe.Z)(le.prototype,"gameCategoryId",[w,T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ge=(0,Pe.Z)(le.prototype,"platformLogo",[S,C,E,v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),fe=(0,Pe.Z)(le.prototype,"maintainStatus",[A,_,O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ye=(0,Pe.Z)(le.prototype,"minimumEntryBalance",[D,P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),be=(0,Pe.Z)(le.prototype,"platformId",[R,N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Ie=(0,Pe.Z)(le.prototype,"platformName",[B,Z,x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),we=(0,Pe.Z)(le.prototype,"slogan",[M,L,k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Te=(0,Pe.Z)(le.prototype,"isExternalLink",[F,U,G,z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Se=(0,Pe.Z)(le.prototype,"brand",[H,W,V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Ce=(0,Pe.Z)(le.prototype,"anchorSupport",[$,K,Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Ee=(0,Pe.Z)(le.prototype,"customHotIcon",[j,J,Q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),ve=(0,Pe.Z)(le.prototype,"isCombinate",[q,X,ee],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Ae=(0,Pe.Z)(le.prototype,"isImgBackgroundOpacity",[te,ne,ie],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),_e=(0,Pe.Z)(le.prototype,"imgBackgroundColor",[se,ae,oe],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),re=le))||re)},70489:function(e,t,n){let i;n.d(t,{f:function(){return i}}),function(e){e[e.Platform=1]="Platform",e[e.NormalGame=2]="NormalGame"}(i||(i={}))},88656:function(e,t,n){n.d(t,{V:function(){return ze.f},Z:function(){return Ve}});var i,s,a,o,r,l,c,u,d,h,m,p,g,f,y,b,I,w,T,S,C,E,v,A,_,O,D,P,R,N,B,Z,x,M,L,k,F,U,G,z,H,W,V,$,K,Y,j,J,Q,q,X,ee,te,ne,ie,se,ae,oe,re,le,ce,ue,de,he,me,pe,ge,fe,ye,be,Ie,we,Te,Se,Ce,Ee,ve,Ae,_e,Oe,De,Pe,Re,Ne,Be,Ze,xe,Me,Le=n(53158),ke=n(55433),Fe=n(12040),Ue=n(1643),Ge=n(34731),ze=n(70489),He=n(43977),We=n(97500);let Ve=(i=(0,Ue.Entity)(),s=(0,Ue.type)(String),a=(0,Ue.parse)(((e,t)=>`${t?.g9}_${t?.g10}_${t?.g0}`)),o=(0,Ue.from)("g0"),r=(0,Ue.type)(Number),l=(0,Ue.nullable)(),c=(0,Ue.from)("g1"),u=(0,Ue.type)(String),d=(0,Ue.nullable)(),h=(0,Ue.from)("g3"),m=(0,Ue.type)(Boolean),p=(0,Ue.parse)(We.D0),g=(0,Ue.nullable)(),f=(0,Ue.from)("g16"),y=(0,Ue.type)(Boolean),b=(0,Ue.parse)(We.D0),I=(0,Ue.nullable)(),w=(0,Ue.from)("g4"),T=(0,Ue.type)(Boolean),S=(0,Ue.parse)(We.D0),C=(0,Ue.from)("g5"),E=(0,Ue.type)(Boolean),v=(0,Ue.parse)(We.D0),A=(0,Ue.from)("g6"),_=(0,Ue.type)(Boolean),O=(0,Ue.parse)(We.D0),D=(0,Ue.from)("g7"),P=(0,Ue.type)(Boolean),R=(0,Ue.parse)(We.D0),N=(0,Ue.from)("g8"),B=(0,Ue.type)(Boolean),Z=(0,Ue.parse)(We.D0),x=(0,Ue.from)("g9"),M=(0,Ue.type)(Number),L=(0,Ue.nullable)(),k=(0,Ue.from)("gameCategoryName"),F=(0,Ue.type)(String),U=(0,Ue.nullable)(),G=(0,Ue.from)("g10"),z=(0,Ue.type)(Number),H=(0,Ue.nullable)(),W=(0,Ue.from)("g11"),V=(0,Ue.type)(Number),$=(0,Ue.nullable)(),K=(0,Ue.parse)(((e,t)=>t?.g11||(Ge.Aw.includes(t.g9)?ze.f.Platform:ze.f.NormalGame))),Y=(0,Ue.from)("g12"),j=(0,Ue.type)(Boolean),J=(0,Ue.parse)(We.D0),Q=(0,Ue.from)("g13"),q=(0,Ue.type)(String),X=(0,Ue.parse)(He.mX),ee=(0,Ue.from)("g14"),te=(0,Ue.type)(Boolean),ne=(0,Ue.parse)(We.D0),ie=(0,Ue.from)("g15"),se=(0,Ue.type)(Boolean),ae=(0,Ue.parse)(We.D0),oe=(0,Ue.from)("g17"),re=(0,Ue.type)(Boolean),le=(0,Ue.parse)(We.D0),ce=(0,Ue.nullable)(),ue=(0,Ue.type)(Boolean),de=(0,Ue.parse)(((e,t)=>!(0,We.D0)(t?.g11))),he=(0,Ue.type)(Boolean),me=(0,Ue.parse)(((e,t)=>(0,We.D0)(t?.g12))),i((ge=class extends Ue.Model{constructor(...e){super(...e),(0,Le.Z)(this,"webId",fe,this),(0,Le.Z)(this,"gameId",ye,this),(0,Le.Z)(this,"gameName",be,this),(0,ke.Z)(this,"gameIcon",""),(0,Le.Z)(this,"isCustomIcon",Ie,this),(0,Le.Z)(this,"isOriginImg",we,this),(0,Le.Z)(this,"maintainStatus",Te,this),(0,Le.Z)(this,"recommendStatus",Se,this),(0,Le.Z)(this,"demoModeSupport",Ce,this),(0,Le.Z)(this,"screenDirection",Ee,this),(0,Le.Z)(this,"anchorSupport",ve,this),(0,Le.Z)(this,"gameCategoryId",Ae,this),(0,Le.Z)(this,"gameCategoryName",_e,this),(0,Le.Z)(this,"platformId",Oe,this),(0,Le.Z)(this,"gameType",De,this),(0,Le.Z)(this,"isCombinate",Pe,this),(0,Le.Z)(this,"squareGameIcon",Re,this),(0,Le.Z)(this,"isSquareCustomIcon",Ne,this),(0,Le.Z)(this,"isSquareCombinate",Be,this),(0,Le.Z)(this,"isSquareOriginImg",Ze,this),(0,ke.Z)(this,"platformName",""),(0,ke.Z)(this,"platformLogo",""),(0,ke.Z)(this,"isExternalLink",!1),(0,ke.Z)(this,"minimumEntryBalance",0),(0,ke.Z)(this,"isImgBackgroundOpacity",!1),(0,ke.Z)(this,"imgBackgroundColor",""),(0,Le.Z)(this,"isSpecialGame",xe,this),(0,Le.Z)(this,"isNeedLink",Me,this)}static isThisType(e){return!!["gameIcon","gameType"].every((t=>Reflect.has(e,t)))}parsePlatformCategoriesItem(e){return this.webId=e.webId,this.gameId=e.gameId,this.demoModeSupport=e.demoModeSupport,this.isCustomIcon=e.isCustomIcon,this.isOriginImg=e.isOriginImg,this.gameCategoryId=e.gameCategoryId,this.platformId=e.platformId,this.platformName=e.platformName,this.platformLogo=e.platformLogo,this.maintainStatus=e.maintainStatus,this.minimumEntryBalance=e.minimumEntryBalance,this.anchorSupport=e.anchorSupport,this.isExternalLink=e.isExternalLink,this.gameName=e.brand,this.gameType=ze.f.Platform,this}},fe=(0,Fe.Z)(ge.prototype,"webId",[s,a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),ye=(0,Fe.Z)(ge.prototype,"gameId",[o,r,l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),be=(0,Fe.Z)(ge.prototype,"gameName",[c,u,d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Ie=(0,Fe.Z)(ge.prototype,"isCustomIcon",[h,m,p,g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),we=(0,Fe.Z)(ge.prototype,"isOriginImg",[f,y,b,I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Te=(0,Fe.Z)(ge.prototype,"maintainStatus",[w,T,S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Se=(0,Fe.Z)(ge.prototype,"recommendStatus",[C,E,v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Ce=(0,Fe.Z)(ge.prototype,"demoModeSupport",[A,_,O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Ee=(0,Fe.Z)(ge.prototype,"screenDirection",[D,P,R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ve=(0,Fe.Z)(ge.prototype,"anchorSupport",[N,B,Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Ae=(0,Fe.Z)(ge.prototype,"gameCategoryId",[x,M,L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),_e=(0,Fe.Z)(ge.prototype,"gameCategoryName",[k,F,U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Oe=(0,Fe.Z)(ge.prototype,"platformId",[G,z,H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),De=(0,Fe.Z)(ge.prototype,"gameType",[W,V,$,K],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return ze.f.NormalGame}}),Pe=(0,Fe.Z)(ge.prototype,"isCombinate",[Y,j,J],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Re=(0,Fe.Z)(ge.prototype,"squareGameIcon",[Q,q,X],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Ne=(0,Fe.Z)(ge.prototype,"isSquareCustomIcon",[ee,te,ne],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Be=(0,Fe.Z)(ge.prototype,"isSquareCombinate",[ie,se,ae],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Ze=(0,Fe.Z)(ge.prototype,"isSquareOriginImg",[oe,re,le,ce],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),xe=(0,Fe.Z)(ge.prototype,"isSpecialGame",[ue,de],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Me=(0,Fe.Z)(ge.prototype,"isNeedLink",[he,me],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),pe=ge))||pe)},7410:function(e,t,n){n.d(t,{D:function(){return l},V:function(){return r}});var i=n(55433),s=n(99804),a=n(91475),o=n(12832);let r;!function(e){e.Custom="custom",e.Overall="default",e.MaterialBackground="default_unLogo",e.Material="material"}(r||(r={}));class l{constructor(){(0,i.Z)(this,"reconstructSkin",[o.b.NORMAL,o.b.EUROPEAN_AMERICAN,o.b.STAKE])}run(e,t,n){return void 0!==t.imgCategory?this.handleSpecialConfig(e,t):this.reconstructSkin.includes(o.Z.skinType)?this.handleReconstructSkin(e):this.handleUnreconstructSkin(e,n)}handleReconstructSkin(e){const{isCustomIcon:t,gameType:n}=e,i=(0,a.h)().userInfos?.currency;return n===s.D.Individual?(()=>{let e="";return e=t?r.Custom:r.Overall,`${e}.png`})():(()=>{let n="";return n=t?`${r.Custom}_${i}`:e.isOriginImg?r.Overall:`${r.Overall}_${i}`,`${n}.png`})()}handleUnreconstructSkin(e,t){const{isCustomIcon:n,gameType:i,isExhibitHotIcon:o}=e,l=(0,a.h)().userInfos?.currency;return i===s.D.Individual?(()=>{let e="";return e=n?r.Custom:"EA"===t?r.MaterialBackground:r.Overall,`${e}.png`})():(()=>{let i="";return n?i=`${r.Custom}_${l}`:(i=o?"EA"===t?r.MaterialBackground:r.Overall:"EA"===t?r.MaterialBackground:r.Material,e.isOriginImg||(i=`${i}_${l}`)),`${i}.png`})()}handleSpecialConfig(e,t){const{isOriginImg:n,isCustomIcon:i,gameType:o}=e,{imgCategory:r}=t,l=(0,a.h)().userInfos?.currency;return o===s.D.Individual?`${r}.png`:!n||i?`${r}_${l}.png`:`${r}.png`}}},79704:function(e,t,n){n.d(t,{Z:function(){return m}});var i=n(55433),s=n(99804),a=n(84220);class o{constructor(){}static getInstance(){return this.instance||(this.instance=new o),this.instance}static run(){return this.getInstance().previewGameIconUrl()}getURLParameters(e=window.location.href){return(e.match(/([^?=&]+)(=([^&]*))/g)||[]).reduce(((e,t)=>(e[t.slice(0,t.indexOf("="))]=t.slice(t.indexOf("=")+1),e)),{})}generateImgUrl(e){return`https://${a.Z.ossName}.${a.Z?.ossType}/siteadmin/skin/lobby_asset/common/web/home/${e}?manualVersion=1`}previewGameIconUrl(){const{previewonly:e,gameIconType:t}=this.getURLParameters();if("true"===e){if("1"===t)return this.generateImgUrl("img_def_yx_sb.png");if("2"===t)return this.generateImgUrl("img_def_yx_fx.png")}}}var r=n(34731),l=n(39362),c=n(31283),u=n(88656);class d{static gameData2Params(e){const t={cardData:e},n=e=>{t.gameCategoryId=e.gameCategoryId,t.platformId=e.platformId,t.gameId=e.gameId,t.isOriginImg=e.isOriginImg,t.isCustomIcon=e.isCustomIcon};return u.Z.isThisType(e)?(n(e),t.renderName=e.gameName,e.gameType===u.V.Platform?(t.gameType=s.D.Platform,t.isExhibitHotIcon=!0):(t.gameType=s.D.Individual,t.isExhibitHotIcon=!1)):l.w.isThisType(e)?(n(e),t.renderName=e.platformName,t.gameType=s.D.Platform,t.isExhibitHotIcon=!1):c.Z.isThisType(c.Z)&&(t.gameType=s.D.Individual,t.gameCategoryId=e.gameCategoryId,t.platformId=e.platformId,t.isExhibitHotIcon=!1),t}static responseData2simpleGameItem(e){const t=e.g11||(r.Aw.includes(e.g9)?u.V.Platform:u.V.NormalGame);return{responseData:e,gameName:e.g1,gameIcon:"",gameCategoryId:e.g9,platformId:e.g10,gameId:e.g0,isCustomIcon:Boolean(e.g3),isOriginImg:Boolean(e.g16),gameType:t}}static responseData2simplePlatformCategoriesItem(e){return{responseData:e,platformName:e.t10,platformIcon:"",brand:"",slogan:"",gameCategoryId:e.t4,platformId:e.t9,gameId:e.t1,isCustomIcon:Boolean(e.t3),isOriginImg:Boolean(e.t19)}}}var h=n(6389);class m{static parseHotPlatformItem(e){let t=e;h.Z.isThisType(t)||(t=d.responseData2simplePlatformCategoriesItem(e));const n=(new u.Z).parsePlatformCategoriesItem(t);return m.parseGameItem(n)}static parseNormalHotPlatformItem(e){let t=e;h.Z.isThisType(t)||(t=d.responseData2simplePlatformCategoriesItem(e));const n=d.gameData2Params(t);let i=s.k.run(n);return i=i.replace(new RegExp(`/.{1,3}/${t.platformId}/${t.gameCategoryId}`),`/CL/hot/${t.platformId}/${t.gameCategoryId}`),i=i.replace(/material(_\w{1,3})?(\.png)/,"default$1$2"),i}}(0,i.Z)(m,"parsePlatformItem",((e,t)=>{const n=o.run();if(n)return n;let i=e;h.Z.isThisType(i)||(i=d.responseData2simplePlatformCategoriesItem(e));const a=d.gameData2Params(i);return s.k.run(a,t)})),(0,i.Z)(m,"parseGameItem",((e,t)=>{const n=o.run();if(n)return n;let i=e;u.Z.isThisType(e)||(i=d.responseData2simpleGameItem(e));const a=d.gameData2Params(i);return s.k.run(a,t)}))},99804:function(e,t,n){n.d(t,{D:function(){return h},k:function(){return m}});var i=n(82492),s=n.n(i),a=n(55433),o=n(7410),r=n(62933);class l{constructor(){(0,a.Z)(this,"layoutAddressPlatform",{[r.Zd.EuropeanAmerican]:"EA",[r.Zd.LeftRight1]:"L1",[r.Zd.LeftRight2]:"L2",[r.Zd.Rounded]:"RD",[r.Zd.Square]:"SQ",[r.Zd.Rectangle]:"RT"}),(0,a.Z)(this,"layoutAddressGame",{[r.BJ.VerticalMask]:"EA",[r.BJ.Square]:"CL",[r.BJ.Vertical]:"VR",[r.BJ.SquareRightAngle]:"SQ",[r.BJ.Rounded]:"RD",[r.BJ.Horizontal]:"HZ"})}getCodePlatform(){const e=window.LOBBY_SITE_CONFIG.INJECT_DATA.apiGetOptimizationSiteConfig.data.data.layoutDesign.platformIcon;return this.layoutAddressPlatform[e]}getCodeGame(){const e=window.LOBBY_SITE_CONFIG.INJECT_DATA.apiGetOptimizationSiteConfig.data.data.layoutDesign.appGameIcon;return this.layoutAddressGame[e]}run(e,t){return t.layoutGameCode&&e.gameType===h.Individual?this.layoutAddressGame[t.layoutGameCode]:t.layoutPlatformCode&&e.gameType===h.Platform?this.layoutAddressPlatform[t.layoutPlatformCode]:e.gameType===h.Individual||e.isExhibitHotIcon?this.getCodeGame():this.getCodePlatform()}}var c=n(91475),u=n(12832);const d=window.abcdefg_open;let h;!function(e){e.Platform="p",e.Individual="g"}(h||(h={}));class m{constructor(){(0,a.Z)(this,"patternCode",new l),(0,a.Z)(this,"imgName",new o.D),(0,a.Z)(this,"siteCode",(0,c.h)().siteCode),(0,a.Z)(this,"ossHost",(0,c.h)().ossHost)}static getInstance(){return this.instance||(this.instance=new m),this.instance}static run(e,t={}){return this.getInstance().generateIconPath(e,t)}conflateParamsConfig(e,t){const n=s()({},e,t);return e.gameType===h.Individual&&(n.isExhibitHotIcon=!1),void 0!==t?.imgCategory&&(t.imgCategory===o.V.Material&&n.gameType===h.Individual&&(t.imgCategory=o.V.MaterialBackground,n.isCustomIcon=!1),t.imgCategory===o.V.Material&&n.gameType===h.Platform&&(n.isCustomIcon=!1,n.isOriginImg=!0),t.imgCategory===o.V.Custom&&(n.isCustomIcon=!0,n.isOriginImg=!1)),n}getSiteCodeStr(e){const{isCustomIcon:t}=e;return e.gameType===h.Individual?t?`/${this.siteCode}`:"":t||!e.isOriginImg?`/${this.siteCode}`:""}getPlatformHotStr(e){return e.isExhibitHotIcon?"/hot":""}getGameIdStr(e){const{gameId:t,gameType:n}=e;return n===h.Platform?"":`/${t}`}generateIconPath(e,t){e=this.conflateParamsConfig(e,t);const n=this.getSiteCodeStr(e),i=this.patternCode.run(e,t),s=this.getPlatformHotStr(e),a=this.getGameIdStr(e),o=this.imgName.run(e,t,i),{gameType:r,gameCategoryId:l,platformId:c}=e;let h=`${this.ossHost}game_pictures/${r}${n}/${i}${s}/${c}/${l}${a}/${o}`;if(d){h+="?----------";for(const t in e)["cardData","renderName"].includes(t)||(h+=`${t}_${e[t]}------`);h+=`skinType_${u.Z.skinType}`}return h}}},43977:function(e,t,n){n.d(t,{mX:function(){return s}});var i=n(84220);const s=e=>e?`https://${i.Z.ossName}.${i.Z?.ossType}/cocos/icon/${e}`:""},23474:function(e,t,n){n.d(t,{r:function(){return M}});var i,s,a,o,r,l,c,u,d,h=n(55433),m=n(79704),p=n(53158),g=n(12040),f=n(1643);let y=(i=(0,f.Entity)(),s=(0,f.from)("gameId"),a=(0,f.type)(Number),o=(0,f.from)("platformId"),r=(0,f.type)(Number),i((c=class extends f.Model{constructor(e){super(),(0,p.Z)(this,"game",u,this),(0,p.Z)(this,"platform",d,this),this.merge(e)}},u=(0,g.Z)(c.prototype,"game",[s,a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),d=(0,g.Z)(c.prototype,"platform",[o,r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=c))||l);var b,I,w,T,S,C,E,v,A,_;let O=(b=(0,f.Entity)(),I=(0,f.from)("total"),w=(0,f.type)(Number),T=(0,f.from)("favoriteList"),S=(0,f.parse)((e=>(e||[]).map((e=>(new y).parse(e))))),C=(0,f.type)(Array),b((v=class extends f.Model{constructor(e){super(),(0,p.Z)(this,"total",A,this),(0,p.Z)(this,"rows",_,this),this.merge(e)}isEmpty(){return this.rows.length>0}},A=(0,g.Z)(v.prototype,"total",[I,w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),_=(0,g.Z)(v.prototype,"rows",[T,S,C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),E=v))||E);var D=n(39362),P=n(46851),R=n(97500),N=n(23279),B=n.n(N),Z=n(88656);var x=n(31283);class M{static async supplementPlatformInfo(e){await this.supplyIns.run(e)}static resetSupplementPlatformInfoStatus(){this.supplyIns.resetStatus()}static async getFavoriteGameIdList(){return P.Uh.post({url:"/gameapi/favorite-list-all/v2"}).then((e=>(new O).parse(e.data.data)))}static async getGameCategorieList(e){return P.Uh.get({url:"/api/game/hall/listPlatformCateLoadV2",customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["platformType"]}}).then((t=>{const n=t?.data?.data??[],i=R.zN.parseArray(n,D.H);return i.forEach((({list:t})=>{t.forEach((t=>{t.platformIcon=m.Z.parsePlatformItem(t,e),t.normalHotIcon=m.Z.parseNormalHotPlatformItem(t)}))})),i}))}static async getSpecialGameList(e){return P.Uh.get({url:"/api/game/hall/listSpecialGameV2",customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["platformType"]}}).then((async t=>{const n=t?.data?.data??[],i=R.zN.parseArray(n,Z.Z);return await this.supplementPlatformInfo(i),i.forEach((t=>{t.gameIcon=m.Z.parseGameItem(t,e)})),i}))}static async searchGameList(e,t){return P.Uh.post({url:"/api/game/hall/listSearchGameV2",customParams:{cache:!0},data:{gameName:e}}).then((async e=>{const n=e?.data?.data??[],i=R.zN.parseArray(n,Z.Z);return await this.supplementPlatformInfo(i),i.forEach((e=>{e.gameIcon=m.Z.parseGameItem(e,t)})),i}))}static async getPlatformGameList({platformId:e,gameCategoryId:t},n){return P.Uh.get({url:"/api/game/hall/listPlatformGameV2",customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["platformType"]},params:{categoryId:t,platformId:e}}).then((async e=>{const t=e?.data?.data??[],i=R.zN.parseArray(t,Z.Z);return await this.supplementPlatformInfo(i),i.forEach((e=>{e.gameIcon=m.Z.parseGameItem(e,n),e.normalHotIcon=m.Z.parseNormalHotPlatformItem(e)})),i}))}static async getHotGameList(e){return P.Uh.get({url:"/api/game/hall/hotListV2",customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["platformType"]}}).then((async t=>{const n=t?.data?.data??[],i=R.zN.parseArray(n,Z.Z);return await this.supplementPlatformInfo(i),i.forEach((t=>{t.gameIcon=m.Z.parseGameItem(t,e)})),i}))}static async getDemoGameList(e){return P.Uh.get({url:"/api/game/hall/listTryGameV2",customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["platformType"]}}).then((async t=>{const n=t?.data?.data??[],i=R.zN.parseArray(n,Z.Z);return await this.supplementPlatformInfo(i),i.forEach((t=>{t.gameIcon=m.Z.parseGameItem(t,e)})),i}))}static async getRecentGameList(e){return P.Uh.post({url:"/gameapi/recent-list/v3"}).then((async t=>{const n=t?.data?.data??[],i=R.zN.parseArray(n,Z.Z);return await this.supplementPlatformInfo(i),i.forEach((t=>{const n=m.Z.parseGameItem(t,e);t.gameIcon=n})),i}))}static async getFavoriteGameList(e){return P.Uh.post({url:"/gameapi/favorite-list-all/v3"}).then((async t=>{const n=t?.data?.data??[],i=R.zN.parseArray(n,Z.Z);return await this.supplementPlatformInfo(i),i.forEach((t=>{const n=m.Z.parseGameItem(t,e);t.gameIcon=n})),i}))}static async getAnchorHotList(){return P.Uh.get({url:"/api/game/hall/listAnchorHotLink",customParams:{tryStaticMode:!0,onlyStaticMode:!0,cache:!0,staticKeyOmit:["platformType"]}}).then((e=>{const t=e?.data?.data??[];return R.zN.parseArray(t,x.Z)}))}}(0,h.Z)(M,"supplyIns",new class{constructor(){(0,h.Z)(this,"curMapperStatus","initial"),(0,h.Z)(this,"retryErrorTimes",0),(0,h.Z)(this,"platformIdObjMapper",{}),(0,h.Z)(this,"initMapperAwaitPromise",[]),(0,h.Z)(this,"assignPlatformIdInfoMapper",B()(((e,t)=>{this.platformIdObjMapper=e.reduce(((e,t)=>(t.list.forEach((t=>{const{gameCategoryId:n,platformId:i,platformLogo:s,platformName:a,isExternalLink:o,isCustomIcon:r,isOriginImg:l,minimumEntryBalance:c,maintainStatus:u,isImgBackgroundOpacity:d,imgBackgroundColor:h}=t;e[`${n}_${i}`]={platformId:i,platformLogo:s,platformName:a,isExternalLink:o,isCustomIcon:r,isOriginImg:l,minimumEntryBalance:c,maintainStatus:u,isImgBackgroundOpacity:d,imgBackgroundColor:h}})),e)),{}),t()}),0))}async run(e){return"error"===this.curMapperStatus&&this.retryErrorTimes<3&&this.initPlatformIdInfoMapper(),"initial"===this.curMapperStatus&&await this.initPlatformIdInfoMapper(),Array.isArray(e)?this.supplementArray(e):this.supplementItem(e)}resetStatus(){this.curMapperStatus="initial",this.platformIdObjMapper={},this.initMapperAwaitPromise=[],this.retryErrorTimes=0}async initPlatformIdInfoMapper(){const e=new Promise((async e=>{this.initMapperAwaitPromise.push(e)}));return(async()=>{let e=[];try{e=await M.getGameCategorieList(),this.curMapperStatus="normal"}catch(t){this.retryErrorTimes+=1,this.curMapperStatus="error"}this.assignPlatformIdInfoMapper(e,(()=>{this.initMapperAwaitPromise.forEach((e=>e()))}))})(),e}supplementItem(e){const{gameCategoryId:t,platformId:n}=e,i=this.platformIdObjMapper[`${t}_${n}`];return i&&(e.platformLogo=i.platformLogo,e.platformName=i.platformName,e.isExternalLink=i.isExternalLink,e.minimumEntryBalance=i.minimumEntryBalance,e.gameType===Z.V.Platform&&(e.isCustomIcon=i.isCustomIcon,e.isOriginImg=i.isOriginImg,e.isImgBackgroundOpacity=i.isImgBackgroundOpacity,e.imgBackgroundColor=i.imgBackgroundColor),e.maintainStatus=i.maintainStatus||e.maintainStatus),e}supplementArray(e){return e.map((e=>this.supplementItem(e)))}})},342:function(e,t,n){n.d(t,{Z:function(){return O}});var i=n(55433);let s,a,o;!function(e){e.GA="ga",e.GO="go",e.SENSORS="sensors"}(s||(s={})),function(e){e.ERROR="error",e.NETWORK="network",e.PERFORMANCE="performance",e.CUSTOM="custom",e.DEFAULT="default"}(a||(a={})),function(e){e.default="default",e.throttle="throttle",e.debounce="debounce",e.merge="merge"}(o||(o={}));var r=n(84220);let l;!function(e){e.filterGoEvent="filterGoEvent",e.filterGaEvent="filterGaEvent",e.filterByTime="filterByTime",e.filterSenorSite="filterSenorSite"}(l||(l={}));const c={filterGoEvent:e=>{const{uploadPlatforms:t,eventName:n}=e,i=["ResponseSystemError"];return t.map((e=>e!==s.GO?{[e]:!0}:{[e]:!i.includes(n)}))},filterGaEvent:e=>{const{uploadPlatforms:t,eventName:n}=e,i=[""];return t.map((e=>e!==s.GA?{[e]:!0}:{[e]:!i.includes(n)}))},filterByTime:e=>{const{uploadPlatforms:t,conditions:n}=e,{validTime:i}=n||{};if(!i)return t.map((e=>({[e]:!1})));const s=Date.now();return t.map((e=>({[e]:s>=i?.start&&s<=i?.end})))},filterSenorSite:e=>{const{uploadPlatforms:t,eventName:n}=e,i=["IndicatorB","IndicatorC","IndicatorD"];return t.map((e=>{if(e!==s.SENSORS)return{[e]:!0};return{[e]:y.find((e=>"prod"===e.env))?.allowSites?.includes(r.Z?.siteCode)&&!i.includes(n)}}))}},u=async(e,t)=>{if(0===e.length)return t.uploadPlatforms.reduce(((e,t)=>(e[t]=!0,e)),{});const n=e.map((e=>c[e.name]({...t,conditions:e.conditions})));return Promise.all(n).then((e=>function(e){const t={};for(const n of e)for(const e of n)for(const n of Object.keys(e))t[n]=!1!==t[n]&&!1!==e[n]&&e[n];return t}(e)))};let d;!function(e){e.withContext="withContext",e.withNavigateConnection="withNavigateConnection",e.withUserInfo="withUserInfo"}(d||(d={}));const h={[d.withContext]:()=>({context:{}}),[d.withNavigateConnection]:()=>{const e=navigator?.connection||{};return{navigatorConnection:{downlinkMax:e.downlinkMax,effectiveType:e.effectiveType,rtt:e.rtt,saveData:e.saveData}}},[d.withUserInfo]:()=>({userInfo:{}})};var m=n(21615);let p;!function(e){e.COMMON_ALL="COMMON_ALL",e.COMMON_GO="COMMON_GO",e.COMMON_GA="COMMON_GA",e.COMMON_SENSORS="COMMON_SENSORS",e.NETWORK_ERROR="NETWORK_ERROR",e.USER_ACTION="USER_ACTION"}(p||(p={}));const g={COMMON_ALL:{uploadPlatforms:Object.values(s),params:[d.withContext]},COMMON_GO:{uploadPlatforms:[s.GO]},COMMON_GA:{uploadPlatforms:[s.GA]},COMMON_SENSORS:{effective:[{name:l.filterSenorSite}],uploadPlatforms:[s.SENSORS]},NETWORK_ERROR:{uploadPlatforms:[s.GO,s.GA],params:[d.withContext,d.withNavigateConnection],effective:[{name:l.filterGoEvent}],eventType:a.NETWORK,strategy:{name:o.merge,option:{duration:5e3,targetBy:"eventName",relationKey:"id"}}},USER_ACTION:{uploadPlatforms:[s.GA,s.SENSORS],eventType:a.CUSTOM}},f=(0,m.R6)("wg.sensors.on").length>0?[window.LOBBY_SITE_CONFIG.siteCode]:[],y=[{env:"dev",address:"https://apiup-cf.cbfes.com/debug"},{env:"test",address:"https://apiup-cf.cbfes.com/sa?project=default",allowSites:["025","2558"].concat(f)},{env:"stest",address:"https://apiup-cf.cbfes.com/debug"},{env:"try",address:"https://apiup-cf.cbfes.com/sa?project=default",allowSites:["032"].concat(f)},{env:"prod",address:"https://apiup-cf.cbfes.com/sa?project=production",allowSites:["230","250","296","702","326","722","500","5033","6275","6276","1071","1056","663","5228","5073","5021","5091","5050","5235","602","5012","5119","6332","373","6822"].concat(f)}];class b{static getInstance(e,t){const n=b.instances[e];if(n)return n;const i=new t;return b.instances[e]=i,i}}(0,i.Z)(b,"instances",{});const I=(e,t)=>{const n={};if(null===e||null===t)return n;const i=new Set([...Object.keys(e),...Object.keys(t)]);for(const s of i){const i=e[s],a=t[s];if(t.hasOwnProperty(s))if(e.hasOwnProperty(s))if("object"==typeof i&&"object"==typeof a){const e=I(i,a);Object.keys(e).length>0&&(n[s]=e)}else i!==a&&(n[s]=i);else n[s]=a;else n[s]=i}return n},w=async e=>{const{eventName:t}=e,n=e.rule||g.COMMON_ALL,i=e.payload||{},s=await(async e=>{const t=e.map((e=>h[e]()));return Promise.all(t).then((e=>e.reduce(((e,t)=>({...e,...t})),{})))})(n.params||[]),r=await u(n.effective||[],{uploadPlatforms:n.uploadPlatforms,eventName:t,eventType:n.eventType||a.DEFAULT,payload:i,extParams:s});return{eventName:e.eventName,eventType:n.eventType||a.DEFAULT,payload:i,strategy:n.strategy||{name:o.default},extParams:s,effective:r}};var T=n(5954);var S=class{constructor(e){(0,i.Z)(this,"timer",{}),(0,i.Z)(this,"uploadPayload",{}),this.platformName=e,this.init()}action(e){const{strategy:t,payload:n,extParams:i,eventName:s,eventType:a}=e,r={payload:n,extParams:i,eventName:s,eventType:a};if(t.name!==o.default&&t.option){const e="eventName"===t.option.targetBy?s:a;if(t.name===o.debounce)return this.timer[e]&&clearTimeout(this.timer[e]),void(this.timer[e]=setTimeout((()=>{this.upload(r),delete this.timer[e]}),t.option?.duration));if(t.name===o.throttle){if(this.timer[e])return;this.upload(r),this.timer[e]=setTimeout((()=>{delete this.timer[e]}),t.option?.duration)}if(t.name===o.merge){if(!this.timer[e]){const o=t.option.relationKey?[n[t.option.relationKey]]:[];this.uploadPayload[e]={origin:n,diff:[],relationIds:o},this.timer[e]=setTimeout((()=>{this.upload({payload:{...this.uploadPayload[e].origin,__diff:this.uploadPayload[e].diff,__relationIds:this.uploadPayload[e].relationIds},extParams:i,eventName:s,eventType:a}),delete this.uploadPayload[e],delete this.timer[e]}),t.option?.duration)}const o=this.uploadPayload[e].origin;this.uploadPayload[e].diff.push(I(o,n)),t.option.relationKey&&this.uploadPayload[e].relationIds.push(n[t.option.relationKey])}}else this.upload(e)}};const C=[];let E=!1;class v extends S{constructor(){super(s.SENSORS)}init(){try{const e=window.sensorsDataAnalytic201505,t=(0,T.Q)().isH5Pwa();let n="h5";m.cY.package.isVest?n="vest":m.cY.package.isLite?n="lite":t&&(n="pwa"),e.registerPage({platform:n,version:"v4.2.8",siteCode:r.Z?.siteCode,userAgent:navigator.userAgent.toLowerCase()}),e.quick("autoTrack"),e.quick("isReady",(function(){e.track("initView",{renderTime:Math.floor(performance.now())})})),E=!0}catch(e){}}upload(e){try{const t=window.sensorsDataAnalytic201505;e?.payload?.username&&(e.payload.username=`${r.Z?.siteCode}agent_${e?.payload?.username}`);const n={login:t.login,logout:t.logout};E||this.init(),n[e.eventName]&&("login"!=e.eventName||e.payload.if_success)&&n[e.eventName](e?.payload?.username),t.quick("isReady",(function(){t.track(e.eventName,{...e.payload})})),t.quick("isReady",(function(){C.length>0&&C.forEach((e=>{t.track(e.eventName,{...e.payload})})),C.length=0}))}catch(t){v.uploadCache(e)}}static uploadCache(e){C.push(e)}}var A=v;class _{constructor(){(0,i.Z)(this,"rules",g),(0,i.Z)(this,"eventType",a),(0,i.Z)(this,"searchStatus",void 0),_.SensorsInstance=b.getInstance("ReporterSensorsImp",A)}updateSerachStatus(e){this.searchStatus=e}static async doReport(e){const t=await w({...e,rule:g.COMMON_SENSORS});if(!0===t.effective[s.SENSORS]){window.sensorsDataAnalytic201505?_.SensorsInstance.action(t):A.uploadCache(t)}}}var O=_},99290:function(e,t,n){n.d(t,{I:function(){return te},u:function(){return ne}});var i,s,a,o,r,l,c,u,d,h,m,p,g,f,y,b,I,w,T,S,C,E,v,A,_,O,D,P,R,N,B,Z,x,M,L,k,F,U,G,z,H,W,V,$,K,Y,j,J,Q=n(53158),q=n(55433),X=n(12040),ee=n(1643);let te=(i=(0,ee.Entity)(),s=(0,ee.from)("areaStatus"),a=(0,ee.type)(Boolean),o=(0,ee.from)("areaStatus"),r=(0,ee.type)(Boolean),l=(0,ee.type)(String),c=(0,ee.type)(String),u=(0,ee.type)(String),d=(0,ee.type)(String),h=(0,ee.type)(String),m=(0,ee.nullable)(),p=(0,ee.from)("siteMaintenanceStatus"),g=(0,ee.type)(Boolean),f=(0,ee.type)(Boolean),i((b=class extends ee.Model{constructor(e){super(),(0,Q.Z)(this,"isAreaAllowed",I,this),(0,Q.Z)(this,"areaStatus",w,this),(0,Q.Z)(this,"countryCode",T,this),(0,Q.Z)(this,"ip",S,this),(0,Q.Z)(this,"recommendAreaCode",C,this),(0,Q.Z)(this,"recommendCurrency",E,this),(0,Q.Z)(this,"recommendLanguage",v,this),(0,Q.Z)(this,"isInMaintenance",A,this),(0,Q.Z)(this,"status",_,this),(0,q.Z)(this,"axios",{}),(0,q.Z)(this,"isFromService",null),this.merge(e)}},I=(0,X.Z)(b.prototype,"isAreaAllowed",[s,a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),w=(0,X.Z)(b.prototype,"areaStatus",[o,r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),T=(0,X.Z)(b.prototype,"countryCode",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),S=(0,X.Z)(b.prototype,"ip",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),C=(0,X.Z)(b.prototype,"recommendAreaCode",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),E=(0,X.Z)(b.prototype,"recommendCurrency",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),v=(0,X.Z)(b.prototype,"recommendLanguage",[h,m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),A=(0,X.Z)(b.prototype,"isInMaintenance",[p,g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),_=(0,X.Z)(b.prototype,"status",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),y=b))||y),ne=(O=(0,ee.Entity)(),D=(0,ee.to)(),P=(0,ee.type)(String),R=(0,ee.to)(),N=(0,ee.type)(String),B=(0,ee.to)(),Z=(0,ee.type)([Date,Number]),x=(0,ee.to)(),M=(0,ee.nullable)(),L=(0,ee.to)(),k=(0,ee.type)(String),F=(0,ee.nullable)(),U=(0,ee.to)(),G=(0,ee.type)(String),z=(0,ee.nullable)(),O((W=class extends ee.Model{constructor(e){super(),(0,q.Z)(this,"loading",!1),(0,Q.Z)(this,"event",V,this),(0,Q.Z)(this,"href",$,this),(0,Q.Z)(this,"created",K,this),(0,Q.Z)(this,"time",Y,this),(0,Q.Z)(this,"message",j,this),(0,Q.Z)(this,"source",J,this),this.merge(e)}},V=(0,X.Z)(W.prototype,"event",[D,P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),$=(0,X.Z)(W.prototype,"href",[R,N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),K=(0,X.Z)(W.prototype,"created",[B,Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Y=(0,X.Z)(W.prototype,"time",[x,M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),j=(0,X.Z)(W.prototype,"message",[L,k,F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),J=(0,X.Z)(W.prototype,"source",[U,G,z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),H=W))||H)},47139:function(e,t,n){n.d(t,{r:function(){return c}});var i,s,a=n(12040),o=n(46851),r=n(99290),l=n(1643);let c=(i=(0,l.param)(r.u),s=class{static async ipCheck({silentOnError:e=!0,cache:t=9e5,useCache:n=!0,params:i={},useCacheInError:s=((e,t)=>!!t)}={silentOnError:!0,cache:9e5,useCache:!0,params:{},useCacheInError:(e,t)=>!!t}){return o.Uh.get({url:"/ipCheck",customParams:{noMerge:!0,noEncrypt:!0,noErrorMessage:!0,cache:t,useCache:n,cacheExpiredOnReload:!1,cacheDep:e=>e,useCacheInError:s,silentOnError:e},params:i,timeout:5e3}).then((e=>{const t=(new r.I).parse(e.data.data);return t.axios=e,t}))}static async report(e){return o.Uh.post({url:"/v1/netstat/player/logger",data:e.reverse(),customParams:{noErrorMessage:!0,silentOnError:!0,noResponseDataCodeChecked:!0,noEncrypt:!0}})}},(0,a.Z)(s,"report",[i],Object.getOwnPropertyDescriptor(s,"report"),s),s)},70278:function(e,t,n){n.d(t,{o:function(){return h}});var i=n(6927),s=n(25102),a=n(75812),o=n(67476),r=n(98478),l=n(91475),c=n(30859),u=n(30381),d=n.n(u);const h=(0,o.Q_)("home",{state:()=>({banner:[],marquee:[],isFirstLoading:!0,isUserCloseSuggest:!1,collapsed:!1,h5AsideShow:!1,isShowSuggest:!1,suggestDownloadPosition:"",h5AsideMaskSHow:!0,asideLastClickItem:3,asideLangSelected:!1}),getters:{bannerList(){const{activeList:e}=(0,r.b)();return this.banner.map((t=>t.location_type!==i.Vo.EVENT||-1!==e?.findIndex((e=>Number(t.location_value)===e?.activeId))?t:{...t,disabled:!0}))||[]}},persist:{enabled:!0,strategies:[{storage:(0,a.nX)(),paths:["banner","marquee"]},{storage:(0,a.nX)(null,sessionStorage),paths:["isUserCloseSuggest","isLongScreen","isShowSuggest"]}]},actions:{updateBanner(e=[]){this.banner=e.filter((({startTime:e,endTime:t})=>{const n=d()().unix();return!e&&!t||e&&!t&&e<=n||t&&!e&&t>=n||e&&t&&e<=n&&t>=n}))},setIsUserCloseSuggest(e){this.isUserCloseSuggest=e},setAsideLastClickItem(e){this.asideLastClickItem=e},setCollapsed(e){this.collapsed=e},setH5AsideShow(e){this.h5AsideShow=e},setIsShowSuggest(e){this.isShowSuggest=e},setSuggestDownloadPosition(e){this.suggestDownloadPosition=e},async getMessageAllV2(e){const{setUnreadAnnouncement:t,setUnreadNotice:n,setNotice:i,announcementReadIds:a,noticeReadIds:o}=(0,c.G)(),{hasLogined:r}=(0,l.h)(),u=await(0,s.Wy)(e);return u?.marqueeList&&(this.marquee=u.marqueeList),i(u),(r||0==a.length&&0==o.length)&&(t(u?.unreadAnnouncementCount??0),n(u?.unreadNoticeCount??0)),u},setAsideLangSelected(e){this.asideLangSelected=e}}})},91475:function(e,t,n){n.d(t,{h:function(){return ce}});var i=n(1469),s=n.n(i),a=n(82492),o=n.n(a),r=n(50361),l=n.n(r),c=n(62933),u=n(36630),d=n(88763),h=n(48618),m=n(18591),p=n(7909),g=n(46851),f=n(99290),y=n(63060),b=n(40456),I=n(35829),w=n(99934),T=n(23247),S=n(18745),C=n(86943),E=n(15996),v=n(5860),A=n(4760),_=n(67262),O=n(85585),D=n(1938),P=n(67476),R=n(75990),N=n(65074),B=n(88781),Z=n(50498),x=n(451),M=n(63312),L=n(98478),k=n(96309),F=n(91117),U=n(5790),G=n(20507),z=n(6086),H=n(11974),W=n(95059),V=n(72270),$=n(44586),K=n(21615),Y=n(75812),j=n(1507),J=n(39169),Q=n(53579),q=n(9814),X=n(6096),ee=n(23151),te=n(72902),ne=n(58217),ie=n(30381),se=n.n(ie),ae=n(80194),oe=n(84220),re=n(41800),le=n(78588);const ce=(0,P.Q_)("app",{state:()=>({hasStopDomainList:[],prevSuccessJumpDomain:"",hasClickButtonSaveShortCutByChannel:!1,versionTips:{lastActionTime:0,lastShowTime:0},versionRecord:null,skinAssetsHash:{},sabaMaintenance:!1,routerViewWithTransitionModeOnCurrentChange:null,routerViewWithTransitionMode:"Base",maintainTimeInfo:null,ipCheck:new f.I,isUserKeyFromUrlFail:!1,defaultUrlQueryParams:j.tt,currentTheme:{},responseHeaders:{},isSystemStatusLoading:!1,isBannerLoading:!1,areaStatus:!0,siteMaintenanceStatus:!1,rootKey:(0,$.Z)(),osType:(0,B.fP)(),allPngSprite:null,isInitializationCompleted:!1,isFetchingPrize:!1,geetestRestrictedTime:0,uuid:(0,$.Z)(),rememberPwd:!0,timeDiffs:[],language:"zh_CN",languageInfos:[],siteConfig:oe.Z,siteURLInfos:null,urltime:0,siteInfos:null,serviceInformation:null,systemInfos:null,autoFillSignKey:"tgJt2ol!^E)E8(%P",autoFillData:"",autoFillAccount:"",lastLoginedUsername:"",userInfos:null,bindModalSource:null,userKeyForFastLogin:"",showRegisterRecharge:!1,skinName:"blue",walletDownloadUrl:void 0,baseURL:oe.R,bestBaseURL:"",bestOssBaseURL:"",ipBindInfos:null,linkType:null,vipSwitchStatus:[],vipInfos:null,vipDetails:null,scrollLock:!1,brandLogoInfos:(()=>{const{data:e,health:t}=Y.ZP.parseInjectData("apiGetOptimizationSiteConfig");return e?.brandLogoUse&&(e.brandLogoUse._isFromService=!0),t&&e?.brandLogoUse?e.brandLogoUse:null})(),channelGlobalConfig:null,frameBoxInfos:[],rewardBindData:[],globalModalManager:null,checkNewBenefits:!1,checkDailyTask:!1,checkWeeklyTask:!1,checkEvery3DayTask:!1,isNewBenefitsInSaveUrl:!1,checkNeverNewBenefits:!1,isNoticePopupFinish:!1,isNewBenefitFinish:!1,isDailyTaskFinish:!1,isWeeklyTaskFinish:!1,isEvery3DayTaskFinish:!1,activesAuthInfos:d.fS,returnGoldConfig:[],vipConfig:{},yueBaoConfig:{},rechargeFundConfig:[],activePageSort:"",isFromBindModal:!1,ignoreSecurityBindkey:{},bindModalIsOpen:!1,bindModalIsLargeBalances:!1,currencyList:[],smsCountryIpCheck:0,defaultCountry:null,smsCountrys:[],smsSegment:"",screenSize:d._G.S,screenAspectRatio:1,homeLayoutInfos:null,popRechargeEvent:void 0,browserFingerId:"",geeGuardToken:"",geeGuardTokenGetStamp:0,getredDot:null,payMaxCharge:void 0,gameListTabActive:0,currentTryCurrency:null,realnameValue:"",viewResize:0,hiddenDownload:!1,loadingSvgSprite:!1,loadingImgSprite:!1,isBrowserOpenChoosed:!1,alreadyPopupBindItem:"",rootFontSize:0,useLocalSkinAssets:!1,needChangeWithdrawPassword:!1,hasChangedWithdrawPassword:!1,skinId:"",largeAmountMustBind:null,largeAmountRange:null,previousRouteName:"",bindModalIsWithdrawVerify:!1,robot:1,isEmailExist:!1,isPhoneExist:!1,bannerLoaded:!1,registerBubbleData:{},isSecurityHad:!1,theme18RollingRed:1e5,isCurrencyTimeoutError:!1,brandAxiosError:null,brandAxiosErrorLoading:!1,loginRegisterPhoneNumber:"",defaultUrl:window.location.href,urlParams:{}}),getters:{isShowDownloadRewardsByChannel(){const{channelInfo:e}=(0,x.e)();return!!e?.downloadRewards},isFirstDeposit(){return(this.userInfos?.deposit_count??0)>0},downloadAppRewardByChannel(){const{channelInfo:e}=(0,x.e)();return e?.rewardsAmount??0},ossCommonHost(){return this.siteURLInfos?.commonOssBucket||""},ossCommonDomain(){const{siteURLInfos:e}=this;return[...(e?.commonOssDomain||[]).slice(0,2),...this.ossCommonHost?[this.ossCommonHost]:[]].map((e=>e.endsWith("/")?e:`${e}/`))},ossSkinOrigin(){return[...this.ossDomain.map((e=>`${e.endsWith("/")?e:`${e}/`}siteadmin/skin`))]},ossDomain(){const{ossHost:e,siteURLInfos:t}=this;return[...this.bestOssBaseURL?[this.bestOssBaseURL]:[],...(t?.oss_domain||[]).slice(0,2),e].map((e=>e.endsWith("/")?e:`${e}/`)).filter(((e,t,n)=>n.indexOf(e)===t))},useLocalSkinAssets(){return this.defaultUrlQueryParams["mock.useLocalSkinAssets"],!1},useLocalSkinAssetsOnly(){return this.defaultUrlQueryParams["mock.useLocalSkinAssetsOnly"],!1},assetsPathOrigin(){const e=[`${location.origin}/assets`];return this.useLocalSkinAssetsOnly?e:[...this.ossSkinOrigin,...this.useLocalSkinAssets?e:[]]},isOssMode(){return Boolean(this.siteConfig?.OSS_MODE)},ossHost(){const e=this.siteConfig?.ossName,t=this.siteConfig?.ossType;return`https://${e}.${t}/`},siteCode(){return this.siteConfig?.siteCode},auth:()=>(0,W.u)().tokenInfos?.userkey,getFingerId(){return this.userInfos?.deviceFingerprint||this.browserFingerId},antLocale(){return ne.ZP.i18n.messages[this.language]?.ant},isNeedForceChangePwd(){return 1===this.userInfos?.change_password},isNeedBindPhone(){return 1===this.userInfos?.must_bind_phone},isTryMode(){return this.userInfos?.account_type===c.Qm.Try},isDemoMode(){return this.userInfos?.account_type===c.Qm.Demo},hasToken:()=>!!(0,W.u)().sessionKey,hasLogined(){return this.hasToken&&!this.isTryMode},isRealLogined(){return!this.userInfos?.FROM_STROAGE&&this.hasLogined},userkeyFromUrl(){const e=String(this.defaultUrlQueryParams?.userkey||"");return this.isUserKeyFromUrlFail||342!==e.length?"":e},useFastLogin(){return this.hasToken||!!this.userkeyFromUrl},timeDiff(){return this.timeDiffs.length?Math.floor(this.timeDiffs.reduce(((e,t)=>e+t))/this.timeDiffs.length):0},remUnit(){return Number(this.currentTheme["--theme-rem-unit"])},i18nAmountSymbol:e=>e.siteInfos?.currencySign||"",getCurrencyInfoByCode:e=>(t="CNY")=>e.currencyList.find((e=>e.currencyCode===t)),validateConfig(){if(!this.userInfos)return{};const{email:e,thirdEmail:t,thirdType:n,mobile_phone:i,cpf:s,is_open_google_auth:a,permissionOpt:o,must_bind_phone:r,must_bind_email:l,must_bind_google_auth:u,mustBindWithdrawPass:d,mustBindSecurityQuestion:h,mustBindWithdrawAccount:m}=this.userInfos,p=this.systemInfos||{},g=o?.hasSecurityQuestion,f=o?.hasWithdrawPasswd,y=a===c.mi.OPEN,b=!!e,I=!!t,w=!!i,T=!!s,S=o?.hasWithdrawAccount,C=y||b||w,E=g||f,{t:v}=(0,ne.QT)(),A=[p?.securityVerify?.securityLoginPass,w&&p?.securityVerify?.securityPhone,b&&p?.securityVerify?.securityEmail,y&&p?.securityVerify?.securityGoogle,g&&p?.securityVerify?.securityPassQuestion].some(Boolean),_=[];p?.securityVerify?.securityPhone&&_.push(v("lobby.modal.login.form.phone.label")),p?.securityVerify?.securityEmail&&_.push(v("lobby.center.security.email.tab")),p?.securityVerify?.securityGoogle&&_.push(v("lobby.center.security.ga.tab")),p?.securityVerify?.securityPassQuestion&&_.push(v("lobby.common.components.auth.question.name"));const O={phone:void 0!==r&&r!==c.P0.OFF&&!w,email:void 0!==l&&l!==c.P0.OFF&&!b,ga:void 0!==u&&u!==c.P0.OFF&&a===c.mi.NONE,withdrawPass:void 0!==d&&d!==c.P0.OFF&&!f,question:void 0!==h&&h!==c.P0.OFF&&!g,withdrawAccount:void 0!==m&&m!==c.P0.OFF&&!S};return{email:e,phoneNumber:i,cpf:s,thirdType:n,thirdEmail:t,hasThirdEmail:I,gaStatus:a,hasQuestion:g,hasWithdrawPwd:f,hasWithdrawAct:S,hasGoogleAuth:y,hasEmail:b,hasPhoneNumber:w,hasCpf:T,canUpdatePwd:A,hasGaOrEmailOrPhoneNumber:C,hasQuestionOrWithdrawPwd:E,forceBind:{phone:O.phone&&r===c.P0.REQUIRED,email:O.email&&l===c.P0.REQUIRED,ga:O.ga&&u===c.P0.REQUIRED,withdrawPass:O.withdrawPass&&d===c.P0.REQUIRED,question:O.question&&h===c.P0.REQUIRED,withdrawAccount:O.withdrawAccount&&m===c.P0.REQUIRED},showBind:O,securityVerifyTitles:_}},threeWayConfig(e){const{facebook:t,google:n,wechat:i,qq:s,line:a}=e.systemInfos||{},o=t?.status===c.AI.OPEN,r=n?.status===c.AI.OPEN,l=i?.status===c.AI.OPEN,u=s?.status===c.AI.OPEN,d=a?.status===c.AI.OPEN,h=[];return r&&h.push(T.I.GOOGLE),o&&h.push(T.I.FACEBOOK),l&&h.push(T.I.WECHAT),u&&h.push(T.I.QQ),d&&h.push(T.I.LINE),{useFacebook:o,useGoogle:r,useWechat:l,useQQ:u,useLine:d,list:h}},apiBaseUrl(){return this.baseURL},getActivesAuthInfos(){const{returnGoldClosed:e,rechargeFundClosed:t,rewardCount:n,disableReceiveAwardAll:i,loading:s}=this.activesAuthInfos;return{activeCount:!0,taskCount:!0,returnGoldClosed:e===u.l$.Open,rechargeFundClosed:t===u.l$.Open,disableReceiveAwardAll:i===u.nS.Open,rewardCount:n===c.bv.Show,disableReceiveLogPop:!1,unreceiveRewardListStyle:!1,loading:s}},getScreenSize(){return this.screenSize},isWeb(){return this.screenSize!==d._G.S},isCn:e=>["zh_CN","zh_TW"].includes(e.language),isValidateRealNameUppercase(e){const{realNameMustUppercase:t=0}=e.systemInfos??{};return t===c.Et.YES},audioReceive:()=>new Audio(ee),getVipSwitchIsHide(e){const{useFastLogin:t}=ce(),n=e.vipConfig,i=e.userInfos?.currency;let s=!0;if(t){const t=e.userInfos?.member_level?.toString()??"";return n&&t&&Object.keys(n).forEach((e=>{if(e===i){const i=n[e]?.banUserLevel?.split(",")??[];s=i.includes(t)}})),s}return n&&i&&Object.keys(n).forEach((e=>{if(e===i){const t=n[e]?.banUserLevel?.split(",")??[];s=t.includes(m.hV.toString())}})),s},getReturnGoldIsHide(e){const{useFastLogin:t,userInfos:n,activesAuthInfos:i}=ce(),s=n?.currency??"",a=e.returnGoldConfig??[],o=n?.member_level?.toString()??"";let r=i.returnGoldClosed===u.l$.Close;return i.returnGoldClosed===u.l$.Close||0===a?.length?(r=!!u.l$.Close,r):(r=!a.some((e=>{const n=e?.currency?.split(",")??[],i=e?.userLevels?.split(",")??[];return t?(n.includes(u.MO.All)||n.includes(s))&&i.includes(o):(n.includes(u.MO.All)||n.includes(s))&&i.includes(m.hV.toString())})),r)},getRechargeFundIsHide(e){const{useFastLogin:t,userInfos:n,activesAuthInfos:i,currentTryCurrency:s}=ce(),a=n?.currency??s?.currencyCode??"",o=e.rechargeFundConfig??[],r=n?.member_level?.toString()??"";let l=i.rechargeFundClosed===u.l$.Close;return l||0===o?.length?(l=!!u.l$.Close,l):(l=!o.some((e=>{const n=e?.currency?.split(",")??[],i=e?.userLevels?.split(",")??[];return t?n.includes(u.MO.All)?i.includes(r):n.includes(a)&&(i.includes(r)||i.includes(u.ks.All)):n.includes(u.MO.All)?i.includes(m.hV.toString()):n.includes(a)&&(i.includes(m.hV.toString())||i.includes(u.ks.All))})),l)},getHiddenDownload:e=>e.hiddenDownload,showMusic:e=>e.systemInfos?.musicShow===c.AI.OPEN,withdrawPasswordDialogVisible(){return(this.needChangeWithdrawPassword||this.userInfos?.changeWithdrawPassword===c.AI.OPEN)&&!this.hasChangedWithdrawPassword},officialChannelList(){const e=this.hasLogined?this.userInfos?.currency:this.currentTryCurrency?.currencyCode,t=this.brandLogoInfos?.hallOfficialCommunitys;return t&&0!==t.length?t.filter((t=>-1!==t.currency.indexOf(e))):[]},singleLangList:e=>((e?.siteInfos?.languageInfos||[]).filter((e=>h.xD.includes(e.languageCode)))||[]).length<=1,curAuditMode(){return Number(this.userInfos?.bonus)>0?c.RM.DIRECT_WITHDRAWAL:this.userInfos?.auditMode},curAuditModeIsModeOne:()=>ce().curAuditMode===c.RM.MUST_AUDIT,enableUsingsms(){return this.systemInfos?.enable_using_sms===c.AI.OPEN&&ce().smsCountrys.length>0},enableUsingmail(){return this.systemInfos?.enable_using_gmail===c.AI.OPEN},smsCountry(){return this.smsCountrys.find((e=>e.phoneNumberSegment===this.smsSegment))},emailSuffix(){const{isCn:e}=ce(),{zh:t,en:n}=g.CM.EmailSuffix;return e?t:n},langList(){const e=ce();return l()(e?.siteInfos?.languageInfos||[]).sort((e=>e.defaultLanguageTag?-1:1)).filter((e=>h.xD.includes(e.languageCode)))||[]},currentLanguageName(){const{language:e,langList:t}=ce();return t.find((t=>t.languageCode===g.CM.ServiceLanguageMap[e]))?.languageTranslateName||""}},actions:{setHasStopDomainList(e){this.hasStopDomainList=[...this.hasStopDomainList,e]},setPrevSuccessJumpDomain(e){this.prevSuccessJumpDomain=e},setHasClickButtonSaveShortCutByChannel(e){this.hasClickButtonSaveShortCutByChannel=e},setUserInfos(e){this.userInfos=e},setSabaMaintenance(e){this.sabaMaintenance=e},listenChangeWithdrawPassword(){y.Z.ws.on(y.q.CHANGE_BANK_PASS_REGISTER,(e=>{e.data.isRegister&&(this.hasChangedWithdrawPassword=!1,this.needChangeWithdrawPassword=!0)}))},listenChangeGameGold(){y.Z.ws.on(y.q.GAME_GOLD_CHANGE,(e=>{if(e?.game_gold){const{updateUserInfos:t}=ce();t(o()({},ce().userInfos,{game_gold:e.game_gold}))}}))},updateMaintainTimeInfo(e){this.maintainTimeInfo=e},async fetchHiddenDownloadStatus(){K.cY.speedPackageConfig&&(this.hiddenDownload=!0)},getAutoFillAccount(){try{return JSON.parse(g.H4.decrypt(this.autoFillAccount,this.autoFillSignKey))}catch(e){return""}},setAutoFillAccount(e=""){let t="";try{t=g.H4.encrypt(JSON.stringify(e),this.autoFillSignKey)}catch(n){t=""}this.autoFillAccount=t},getAutoFillData(){if(!this.autoFillData)return[];let e=[];try{e=JSON.parse(g.H4.decrypt(this.autoFillData,this.autoFillSignKey))}catch(t){e=null}if(!e)return[];if(s()(e))return e;if(e.account)return 1===e.loginType&&(e.loginType=c.CM.Account),[e];if(e.username)return[{account:e.username,userpass:e.userpass,loginType:c.CM.Account}];if(e.email)return[{account:e.email,loginType:c.CM.Email}];if(e.phone&&e.phone.indexOf("-")>=0){const[t,n]=e.phone.split("-");return[{account:n,loginType:c.CM.Phone,smsSegment:t}]}return[]},saveAutoFillData(e){return this.autoFillData=g.H4.encrypt(JSON.stringify(e.slice(0,20)),this.autoFillSignKey),e},delAutoFillData(e){const t=this.getAutoFillData(),n=t.findIndex((t=>t.account===e));return n>=0&&t.splice(n,1),this.saveAutoFillData(t),t},updateAutoFillData(e){const t=this.getAutoFillData(),n=this.getAutoFillAccount(),i=t.find((e=>e.account===n));if(!i)return;const s={...i,...e};this.pushAutoFillData(s)},pushAutoFillData(e){let t=this.getAutoFillData();return t.length?(t=this.delAutoFillData(e.account),t.unshift(e),this.saveAutoFillData(t)):this.saveAutoFillData([e])},reRenderRoot(){this.rootKey=(0,$.Z)()},audioReceivePlay(){this.audioReceive?.play()},async initGetredDot(e=!1){if(!ce().hasLogined)return;(0,L.b)().freshEventRedDot(e),(0,H.NV)().freshCodeCateReceive(e);const[t,n]=await(0,re.Z)((0,C.K4)(e));t||(this.getredDot=n,this.homeLayoutInfos?.commonConfig?.commissionBubble===c.X5.CLOSE?this.getredDot.agentPromoteReward=0:0!=this.getredDot.agentPromoteReward&&"number"==typeof this.getredDot.agentPromoteReward&&(this.getredDot.agentPromoteReward=(0,D.OH)(this.getredDot.agentPromoteReward,{symbol:"",precision:2,withZero:!0})))},async setLanguage(e){await ne.ZP.setLanguage(e),this.language=e},updateReceiveAward(e){this.initGetredDot(e)},updateLinkType(e){this.linkType=e},updateBannerLoaded(e){this.bannerLoaded=e},updateBrowserFingerId(e){this.browserFingerId=e},updateCountryInfos(e){this.smsCountryIpCheck=Number(e.ipCheck),this.defaultCountry=e.defaultCountry,this.smsCountrys=e.countryInfos||[]},updateSmsSegment(e){this.smsSegment=e??""},fmtPhoneLengthScope(){const{smsCountry:e}=ce();let t=e?.phoneLengthScope;t||(t=`${j.ZP.PhoneNumberScope.Min},${j.ZP.PhoneNumberScope.Max}`);const n=t.split(",").map(Number),i=Math.min(...n)??j.ZP.PhoneNumberScope.Min,s=Math.max(...n)??j.ZP.PhoneNumberScope.Max;return{range:(0,O.p)(i,s),min:i,max:s}},updateTimeDiff(e){const t=se()().unix();this.timeDiffs.push(e-t),this.timeDiffs.length>10&&this.timeDiffs.shift()},updateSystemInfos(e){this.systemInfos=e},async doActionsAfterLogin(){if((0,R.zm)())return;this.isNoticePopupFinish=!1;const{setRedEnvelopeQueryCount:e,setRedPocketPollingTime:t,getRedListData:n}=(0,F.h)();t(b.d4.Seconds10),e(b.w2.Count),await n(),this.longConnectionEventActive()},longConnectionEventActive(){const{setRedEnvelopeQueryCount:e,changeRedPocketInterval:t}=(0,F.h)();this.hasLogined&&g.sG.WS.ws.on(y.q.ACTIVE_DETAILS,(n=>{if(n.template===u.dF.RedPack)return e(b.w2.Count),void t(!0)}))},convertItemToKey(e,t){for(const[n,i]of Object.entries(t))if(i===e)return n;return""},getSecurityStepsConfig(e){const t=[],n=[],i=[],{forgetPwdVerify:s,securityVerify:a}=ce().systemInfos,o=e===S.OE.FORGOT_PASSWORD?s:a;return[{key:"securityLoginPass",value:o.securityLoginPass},{key:"securityWithdrawPass",value:o.securityWithdrawPass},{key:"securityPassQuestion",value:o.securityPassQuestion},{key:"securityPassQuestionAccount",value:o.securityPassQuestionAccount},{key:"securityPhone",value:o.securityPhone},{key:"securityEmail",value:o.securityEmail},{key:"securityGoogle",value:o.securityGoogle},{key:"firstWithdrawPasswdSet",value:o.firstWithdrawPasswdSet}].forEach((e=>{switch(e.value){case c.Zm.NO_USE:t.push(e);break;case c.Zm.FIRST_VERIFY:n.push(e);break;case c.Zm.LAST_VERIFY:i.push(e)}})),{disableList:t,firstStepList:n,lastStepList:i}},getUserSecurityStepsList(e,t){const n=[],i=[],{forgetPwdVerify:s,securityVerify:a}=ce().systemInfos,o=t===S.OE.FORGOT_PASSWORD?s:a,{securityEmail:r,securityGoogle:l,securityLoginPass:u,securityPassQuestion:d,securityPassQuestionAccount:h,securityPhone:m,securityWithdrawPass:p}=o,{hasEmail:g,hasGoogleAuth:f,hasPhoneNumber:y,hasQuestion:b,hasWithdrawPwd:I}=e,w={securityLoginPass:{step:t!==S.OE.FORGOT_PASSWORD&&u,verity:c.I4.LOGIN_PWD},securityWithdrawPass:{step:I&&p,verity:c.I4.WITHDRAW_PWD},securityPassQuestion:{step:b&&d,verity:c.I4.QUESTION},securityPassQuestionAccount:{step:b&&h,verity:c.I4.QUESTION},securityGoogle:{step:f&&l,verity:c.I4.GA},securityEmail:{step:g&&r,verity:c.I4.EMAIL},securityPhone:{step:y&&m,verity:c.I4.PHONE}};let T=!1,C=!1;return Object.keys(w).forEach((e=>{t===S.OE.FORGOT_PASSWORD?(w[e].step===c.Zm.FIRST_VERIFY&&n.push(w[e].verity),w[e].step===c.Zm.LAST_VERIFY&&i.push(w[e].verity),T=Object.values(o).includes(c.Zm.FIRST_VERIFY),C=Object.values(o).includes(c.Zm.LAST_VERIFY)):t===S.OE.SECURITY_CENTER&&(w[e].step===c.Zm.FIRST_VERIFY&&i.push(w[e].verity),C=Object.values(o).includes(c.Zm.FIRST_VERIFY))})),n.length&&T&&t!==S.OE.FORGOT_PASSWORD?n.push(c.I4.LOGIN_PWD):!i.length&&C&&t!==S.OE.FORGOT_PASSWORD&&i.push(c.I4.LOGIN_PWD),{firstVerify:n,lastVerify:i}},autoUpdateIsFromBindModal(e){(0,U.R)().initBindConfig(),[I.x4.SECURITY,I.x4.WITHDRAW].includes(e)||(ce().isFromBindModal=!1)},doLoginForceBindPopup(){const{t:e}=(0,ne.QT)();(0,U.R)().initBindConfig();const{systemMastBindList:t,systemAllBindList:n}=(0,U.R)();if(!this.hasLogined)return J.Z.myDebug("DO_LOGIN_FORCE_BIND:","hasLogined"),!1;if(this.isFromBindModal)return J.Z.myDebug("DO_LOGIN_FORCE_BIND:","isFromBindModal"),!1;if(this.bindModalIsOpen)return J.Z.myDebug("DO_LOGIN_FORCE_BIND:","bindModalIsOpen"),!1;if(!n.length)return J.Z.myDebug("DO_LOGIN_FORCE_BIND:","systemAllBindList"),!1;if(this.isDemoMode)return J.Z.myDebug("DO_LOGIN_FORCE_BIND:","isDemoMode"),!1;if(this.getIgnoreSecurityBindkey()&&!t.length)return J.Z.myDebug("DO_LOGIN_FORCE_BIND:","getIgnoreSecurityBindkey"),!1;const i=[];this.validateConfig?.showBind?.phone&&i.push(w.r.PHONE),this.validateConfig?.showBind?.email&&i.push(w.r.EMAIL),this.validateConfig?.showBind?.ga&&i.push(w.r.GA),this.validateConfig?.showBind?.withdrawPass&&i.push(w.r.WITHDRAWPASS);const{name:s,query:a}=ae.ZP.app.$route;if(a?.current&&"security"==s&&i.includes(Number(a.current)))return this.isFromBindModal=!0,!1;this.bindModalIsOpen=!0;this.alreadyPopupBindItem=this.bindSecurityModalTitle();let o="none";return t.length||(o="inline-block"),Q.Z.create({title:e("lobby.modal.title.error"),content:()=>this.bindSecurityModalTitle(),titleType:"error",class:"modal-account-bind",titlePosition:"center",contentPosition:"center",closable:!1,keyboard:t.length<=0,cancelButtonProps:{style:{display:o}},okText:e("lobby.modal.pay.bindBtn").toString(),onOk:()=>{this.alreadyPopupBindItem="",this.bindModalIsOpen=!1,this.isFromBindModal=!0;const{systemAllBindList:e,getBindKeyValueInfos:t}=(0,U.R)(),{bindKeyValues:n}=t(),i=e[0],s=n[i].value;i===c.Z.WITHDRAWACCOUNT&&ce().validateConfig.hasWithdrawPwd?ae.ZP.push({name:I.x4.WITHDRAW,query:{current:String(d.iF.withdrawAccount)}}):ae.ZP.push({name:I.x4.SECURITY,query:{current:`${i===c.Z.WITHDRAWACCOUNT?w.r.WITHDRAWPASS:s}`}})},onCancel:()=>{this.isFromBindModal=!1,this.bindModalIsOpen=!1,this.setIgnoreSecurityBindkey(),te.Z.onModalClose("forceBindSecurity")}}),!0},setIgnoreSecurityBindkey(){const e=this.userInfos?.username;e&&(this.ignoreSecurityBindkey[e]=!0)},getIgnoreSecurityBindkey(){const e=this.userInfos?.username;return!!e&&!!this.ignoreSecurityBindkey[e]},bindSecurityModalTitle(){const{t:e}=(0,ne.QT)(),{language:t}=ce(),{systemAllBindList:n,getBindKeyValueInfos:i}=(0,U.R)(),{bindKeyValues:s}=i(),a=e("lobby.center.security.forceBindAnd");if(this.bindModalIsLargeBalances)return e("lobby.center.security.LargeBalancesBindTitle");const o=n.map((e=>s[e].label)),r=o.pop(),l=[o.join("、"),r].filter(Boolean).join("zh_CN"!==t?` ${a} `:a);if(this.bindModalIsWithdrawVerify){return 1===n?.length?e("lobby.center.security.forceBindTitle",{bindItem:l}):e("lobby.center.security.forceBindItemTitle",{bindItem:l,length:1})}return`${e("lobby.center.security.forceBindTitle",{bindItem:l})}`},async doLoginShowForcePopup(e){const t=[...this.frameBoxInfos.filter((e=>!e.not_remind_again&&!e.not_remind_login))];this.frameBoxInfos=t,0===t.length&&(g.sG.Modal.close("forcePopup"),e?.());(()=>{t.length>0&&!(0,Z.z)()?g.sG.Modal.open("forcePopup",{frameBoxInfo:t[0],onOpen:e=>{const t=[e.frameType,e.frame_type];t.includes(p.Qp.ONE)&&(e.not_remind_again=!0),t.includes(p.Qp.LOGIN)&&(e.not_remind_login=!0),t.includes(p.Qp.DAY)&&(e.not_remind_again=!0,e.storageExpirationTime=se()().endOf("day").valueOf());let n=(0,R.cF)("frameBoxInfos")||[];Array.isArray(n)||(n=[]);const i=this.userInfos?.platfromid,s=(0,p.fl)(e);if(n.length&&i){const t=n.find((e=>e.platfromid===i));if(t)if(t.data){const n=t.data.findIndex((t=>t.id===e.id));n>0?t.data[n]={...t.data[n],...s}:t.data.push(s)}else t.data=[s];else n.push({platfromid:i,data:[s]})}else i&&(n=[{platfromid:i,data:[s]}]);n.length&&localStorage.setItem("frameBoxInfos",JSON.stringify(n))},onClose:()=>{te.Z.onModalClose("forcePopup"),e?.()}}):e?.()})()},frameBoxStoragesHandler(){const e=(0,R.cF)("frameBoxInfos");if(!Array.isArray(e))return;const t=e.filter((e=>e.platfromid===this.userInfos?.platfromid))?.[0]?.data;t?.length&&(t.forEach((e=>{const t=[e.frameType,e.frame_type];t.includes(p.Qp.DAY)&&se()(e.storageExpirationTime).isBefore(se()())&&(e.not_remind_again=!1),t.includes(p.Qp.LOGIN)&&(e.not_remind_login=!1)})),localStorage.setItem("frameBoxInfos",JSON.stringify(e)))},networkProtect(){g.Uh.reset(),q.Z.destroy()},updateUserInfos(e,t,{clearTokenOnRemoveUserInfos:n=!0,updateToken:i=!1}={}){this.userInfos=e;const{currencyInfos:s=[]}=this.siteInfos||{},a=s?.find((t=>t.currencyCode===e?.currency));if(a&&this.updataCurrentyTryCache(a),(0,z.c)().init(e),e){const{session_key:n,platfromid:s,userkey:a,jwt_token:o}=this.userInfos;if((i||t&&"trymode"!==t)&&n&&a&&o&&(0,W.u)().updateToken({session_key:n,jwt_token:o,userkey:a}),t){g.Uh.setLoginState("trymode"===t?"fakeLogined":"logined"),this.updateUserKeyForFastLogin(a),"trymode"!==t&&(g.xN.dispatch({type:"LOGIN_SUCCESS",payload:{loginType:t,userInfos:e}}),g.sG.WS.connectWS(this.siteCode,n,"/ws/websocket",g.Uh.apiDomain)),this.frameBoxStoragesHandler(),setTimeout((()=>{(0,le.Z)().getPromoteAdvertise()}),3e3),this.isTryMode||(this.isDemoMode,e?.gameSession?g.xN.dispatch({type:"OTHER_CLIENT_GAME_LOGIN",payload:e?.gameSession}):e?.lastgameinfo?N.Xr.continueGameDialog(e.lastgameinfo):((0,k.g)().setGamePlaying(!1),this.logoutAndUpdatePrize()),this.lastLoginedUsername=s);const{must_bind_email:i,must_bind_phone:o,must_bind_google_auth:r,mustBindWithdrawPass:l,mustBindSecurityQuestion:u,mustBindWithdrawAccount:d}=this.userInfos,h={must_bind_withdraw_pass:l,must_bind_phone:o,must_bind_email:i,must_bind_google_auth:r,must_bind_question:u,must_bind_withdraw_account:d},m=Object.values(h).reduce(((e,t)=>t===c.P0.REQUIRED||t===c.P0.NOT_ESSENTIAL?e+1:e),0);this.userInfos&&(this.userInfos.must_bind_num=m??0)}}else n&&(0,W.u)().removeToken(),this.updateUserKeyForFastLogin(""),localStorage.removeItem("app.userInfos"),(0,le.Z)().clearPromoteAdvertise(),this.networkProtect(),y.Z.ws?.disconnect(),this.updateCheckNewBenefits(!1)},updateRewardBindData(e){this.rewardBindData=e},async updateStaffall(){const{setServiceAxiosError:e,setLoading:t}=(0,G.HP)();t(!0);const[n,i]=await(0,re.Z)((0,A.r)());t(!1),n?e(n):(e(null),i.customer.onlineCustomers=i?.customer?.onlineCustomers??[],this.serviceInformation=i)},async updateVipSwitchStatus(e){e&&(this.vipSwitchStatus=e)},async updateUserVipInfos(){if(this.isDemoMode)return null;const[e,t]=await(0,re.Z)((0,_.st)());return e?((0,V.o)().axiosError.userDetailsErr=e,null):((0,V.o)().axiosError.userDetailsErr=null,this.vipInfos=t,this.realnameValue=this.vipInfos.realname,this.$patch({userInfos:{...this.userInfos,vip_status:this.vipInfos.vip_status,birthday:t.birthday}}),t)},async updateUserVipDetail(){const[e,t]=await(0,re.Z)((0,_.$J)());e||(this.vipDetails=t,this.$patch({userInfos:{...this.userInfos,vip_icon_back_color_value:this.vipDetails.icon_color_value}}))},updateRealname(e){e&&(this.realnameValue=e)},updateUserVipInfosRealName(e){this.vipInfos&&e&&(this.vipInfos={...this.vipInfos,realname:e})},setUserVipInfosForm(e){this.vipInfos&&e&&(this.vipInfos=e)},async updatePrize(){if(this.isFetchingPrize)return;this.isFetchingPrize=!0;const[e]=await(0,re.Z)(X.Z.updatePrize());this.isCurrencyTimeoutError=!!e,this.isFetchingPrize=!1},async logoutAndUpdatePrize(e=!1){const{isGameScoring:t,isGamePlaying:n}=(0,k.g)();(this.isFetchingPrize||t||n)&&!e||(this.isFetchingPrize=!0,await N.Xr.gameLogout().catch().finally((()=>{this.isFetchingPrize=!1})))},updateGaStatus(e){this.userInfos.is_open_google_auth=e},updateWithdrawalPwdStatus(e){this.userInfos.permissionOpt[d.qE.WithdrawalPasswd]=e===c.Fb.OPEN,e===c.Fb.OPEN&&(this.hasChangedWithdrawPassword=!0)},updateWithdrawalActStatus(e){this.userInfos.permissionOpt[d.qE.WithdrawalAccout]=e===c.Fb.OPEN},updateSecretQuestion(e){this.userInfos.permissionOpt[d.qE.SecretSecurity]=e===c.Fb.OPEN},updateMobilePhone(e){this.userInfos.mobile_phone=e;const t=e?c.Fb.OPEN:c.Fb.NONE;this.userInfos.permissionOpt[d.qE.MobilePhoneNumber]=t===c.Fb.OPEN},updateCpf(e){this.userInfos.cpf=e},updateRealName(e){this.vipInfos.realname=e},updateEmail(e){this.userInfos.email=e},updateThirdInfo(e){this.userInfos.thirdEmail=e.thirdEmail,this.userInfos.thirdType=e.thirdType,this.userInfos?.email||this.updateEmail(e.thirdEmail)},updateIpBindInfo(e){this.ipBindInfos=e},async getRewardBindData(e,t,n=!0){if(e||!this.hasLogined){const[e,t]=await(0,re.Z)((0,v.apiGetActiveRewardBindBeforeLogin)());if(e)return;this.updateRewardBindData(t?.list||[]);const{setNewRewardsCurrency:n}=(0,M.h)();n(t?.currency??"")}else{const[e,t]=await(0,re.Z)((0,v.apiGetActiveRewardBind)());if(e)return;const n=t.data.data||[];this.updateRewardBindData(n)}},setApiBaseUrl(e){this.baseURL=e},setBestApiBaseUrl(e){this.bestBaseURL=e},setBestOssBaseURL(e){this.bestOssBaseURL=e},async fetchActivesAuthInfos(){this.activesAuthInfos.loading=!0;const[e,t]=await(0,re.Z)((0,C.qW)());!e&&t&&(this.returnGoldConfig=t.returnGoldConfig,this.vipConfig=t.vipConfig,this.yueBaoConfig=t.yueBaoConfig,this.rechargeFundConfig=t.rechargeFundConfig,this.activePageSort=t.activePageSort,this.activesAuthInfos={...this.activesAuthInfos,disableReceiveAwardAll:t.disableReceiveAwardAll,disableReceiveLogPop:t.disableReceiveLogPop,returnGoldClosed:t.returnGoldClosed,rechargeFundClosed:t.rechargeFundClosed,unreceiveRewardListStyle:t.unreceiveRewardListStyle,loading:!1})},updateNewBenefitFinish(e=!0){this.isNewBenefitFinish=e},updateCheckNewBenefits(e){this.checkNewBenefits=e},updateNewBenefitsIsInSaveUrl(e){this.isNewBenefitsInSaveUrl=e},updateCheckNeverNewBenefits(e){this.checkNeverNewBenefits=e},setScreenSize(e){this.screenSize=e},setScreenAspectRatio(e){this.screenAspectRatio=e},async initPayMaxCharge(){const[e,t]=await(0,re.Z)((0,E.L0)());return e||(this.payMaxCharge=t?.charge_rate||0),this.payMaxCharge||0},updateUserKeyForFastLogin(e){this.userKeyForFastLogin=e},updateGameListTabActive(e){this.gameListTabActive=e},async getBrandLogoInfos(){const[e,t]=await(0,re.Z)((0,v.apiGetBrandLogoInfos)());t?.data.data&&(this.brandLogoInfos=t?.data.data??null),e&&(this.brandAxiosError=e)},async updateBrandLogoInfos(e){this.brandLogoInfos=e},async updateCurrentTryCurrency(e){X.Z.mockUnLoginedUserInfo({tryCurrency:e}),this.updataCurrentyTryCache(e)},updataCurrentyTryCache(e){this.currentTryCurrency=e},updateRootFontSize(){this.rootFontSize=parseFloat(window.getComputedStyle(document.documentElement).getPropertyValue("font-size"))},updateDeviceUUID(e){e&&e!==this.uuid&&(this.uuid=e)},updateLargeForcedBind(e){this.largeAmountMustBind=e},updateLargeAmountRange(e){this.largeAmountRange=e},updatePreviousRouteName(e){this.previousRouteName=e},updateRememberPwd(e){this.rememberPwd=e},setEmailExist(e){this.isEmailExist=e},setPhoneExist(e){this.isPhoneExist=e},updateViewResize(){this.viewResize=Math.random()},setRegisterBubbleData(e){this.registerBubbleData=e},setSecurityHad(e){this.isSecurityHad=e},filterCurrencyListByCurrentCurrency(e){try{const t=JSON.parse(e),n=ce().userInfos?.currency,i=t.find((e=>e.currency===n));if(i)return i.amount}catch(t){console.error("出现了currency入参不是JSON字符串的形式")}},getBenefitReward(e,t,n){const i=n||ce().userInfos?.currency;let s=!1;if(["","0",0].includes(String(t))&&(s=!0),!t.includes(String(i))&&!s)return e.reward=0,e;const a=JSON.parse(String(e.currency)).find((e=>e.currency===i));return e.reward=a?.amount||0,e},updateRouterTransition(e){this.routerViewWithTransitionModeOnCurrentChange=e},updateVersionTips(e,t=Date.now()){this.versionTips[e]=t},updateVersionRecord(e){this.versionRecord=e},clearDotPromote(){this.getredDot&&(this.getredDot.agentPromoteReward=0)},getUrlConfig(){const e=e=>e?parseInt(e,36):void 0,t=new URLSearchParams(location.search);let n=t.get("cid")??void 0,i=(t.get("id")||t.get("aid"))??void 0,s=t.get("currency")??void 0,a=t.get("type")??void 0;(n||i)&&(this.urlParams.combinedParams=void 0);const o=(t.get("qd")||t.get("dl"))??this.urlParams.combinedParams;if(o){const t=o.split("$");n=e(t[0])?.toString(),i=e(t[1])?.toString(),s=t[2],a=t[3]}this.urlParams={isJumped:this.urlParams.isJumped,combinedParams:o,cid:n,id:i,currency:s,type:a}}},persist:{enabled:!0,strategies:[{storage:(0,Y.nX)(null,localStorage),paths:["hasStopDomainList","prevSuccessJumpDomain","versionRecord","versionTips","currencyList","skinAssetsHash","responseHeaders","rememberPwd","autoFillData","autoFillAccount","uuid","geetestRestrictedTime","lastLoginedUsername","browserFingerId","isBrowserOpenChoosed","userKeyForFastLogin","maintainTimeInfo","currentTryCurrency","sabaMaintenance","ipBindInfos","activesAuthInfos","returnGoldConfig","vipConfig","yueBaoConfig","rechargeFundConfig","activePageSort","robot","ignoreSecurityBindkey","isFromBindModal","theme18RollingRed","brandLogoInfos","loginRegisterPhoneNumber","urlParams"]},{storage:(0,Y.nX)(null,sessionStorage),paths:["language"]},{key:"app.userInfos",paths:["userInfos"],storage:(0,Y.nX)({getItem(e,t){const n=t.getItem(e,t)||null;if(null===n)return n;try{const e=JSON.parse(n);return e.userInfos.FROM_STROAGE=!0,JSON.stringify(e)}catch(i){return n}}},localStorage)}]}})},88763:function(e,t,n){n.d(t,{By:function(){return m},F:function(){return h},PZ:function(){return u},_G:function(){return l},fS:function(){return p},iF:function(){return r},iJ:function(){return d},qE:function(){return o}});var i=n(62933),s=n(36630);let a,o,r,l,c,u,d;!function(e){e[e.WithdrawPwd=0]="WithdrawPwd",e[e.SecretSecurity=1]="SecretSecurity",e[e.MobilePhoneNumber=2]="MobilePhoneNumber",e[e.DeviceId=3]="DeviceId",e[e.CanSetUsernameAndPwd=4]="CanSetUsernameAndPwd"}(a||(a={})),function(e){e.WithdrawalPasswd="hasWithdrawPasswd",e.SecretSecurity="hasSecurityQuestion",e.MobilePhoneNumber="hasPhone",e.DeviceId="hasAccountDeviceId",e.canSetUsernameAndPassword="usernamePasswdMutable",e.WithdrawalAccout="hasWithdrawAccount"}(o||(o={})),function(e){e[e.withdrawAccount=3]="withdrawAccount"}(r||(r={})),function(e){e.S="small",e.M="medium",e.L="large"}(l||(l={})),function(e){e[e.MidAutumn=101]="MidAutumn",e[e.NationalDay=102]="NationalDay",e[e.MotherOfGod=103]="MotherOfGod",e[e.MotherOfGod2=104]="MotherOfGod2",e[e.Dussehra=105]="Dussehra",e[e.HalloweenPurple=106]="HalloweenPurple",e[e.HalloweenBlue=107]="HalloweenBlue"}(c||(c={})),function(e){e[e.Double11=108]="Double11",e[e.Double12=109]="Double12",e[e.Double13=110]="Double13",e[e.Diwali=111]="Diwali",e[e.Diwali2=112]="Diwali2",e[e.Brazil=113]="Brazil",e[e.LoyKrathong=114]="LoyKrathong",e[e.ThaiNational=115]="ThaiNational",e[e.DoubleTwelve1=116]="DoubleTwelve1",e[e.DoubleTwelve2=117]="DoubleTwelve2",e[e.Christmas1=118]="Christmas1",e[e.Christmas2=119]="Christmas2",e[e.NewYear1=120]="NewYear1",e[e.NewYear2=121]="NewYear2",e[e.NewYear3=122]="NewYear3",e[e.NewYear4=123]="NewYear4",e[e.Snowflake1=124]="Snowflake1",e[e.Snowflake2=125]="Snowflake2",e[e.India=126]="India",e[e.Harvest=127]="Harvest",e[e.Carnival1=128]="Carnival1",e[e.Carnival2=129]="Carnival2",e[e.Carnival3=130]="Carnival3",e[e.Carnival4=131]="Carnival4",e[e.Carnival5=132]="Carnival5",e[e.ChineseNewYear1=133]="ChineseNewYear1",e[e.ChineseNewYear2=134]="ChineseNewYear2",e[e.ChineseNewYear3=135]="ChineseNewYear3",e[e.ChineseNewYear4=136]="ChineseNewYear4",e[e.ChineseNewYear5=137]="ChineseNewYear5",e[e.ValentinesDay1=138]="ValentinesDay1",e[e.ValentinesDay2=139]="ValentinesDay2",e[e.ValentinesDay3=140]="ValentinesDay3",e[e.LanternFestival1=141]="LanternFestival1",e[e.LanternFestival2=142]="LanternFestival2",e[e.LanternFestival3=143]="LanternFestival3",e[e.WanfoFestival1=144]="WanfoFestival1",e[e.WanfoFestival2=145]="WanfoFestival2",e[e.Shiva1=146]="Shiva1",e[e.Holi=147]="Holi",e[e.GoodFriday=148]="GoodFriday",e[e.Easter=149]="Easter",e[e.Water=151]="Water",e[e.TeluguNewYear=152]="TeluguNewYear",e[e.VietnamKing=153]="VietnamKing",e[e.TamilNewYear=154]="TamilNewYear",e[e.BrazilianIndependenceDay1=155]="BrazilianIndependenceDay1",e[e.BrazilianIndependenceDay2=156]="BrazilianIndependenceDay2",e[e.BrazilianIndependenceDay3=157]="BrazilianIndependenceDay3",e[e.MexicanNationalDay=158]="MexicanNationalDay"}(u||(u={})),function(e){e[e.Mayday1=159]="Mayday1",e[e.Mayday2=160]="Mayday2",e[e.Mayday3=161]="Mayday3",e[e.IndiaOpenEat1=162]="IndiaOpenEat1",e[e.IndiaOpenEat2=163]="IndiaOpenEat2",e[e.BrazilianCorolla1=164]="BrazilianCorolla1",e[e.BrazilianCorolla2=165]="BrazilianCorolla2",e[e.BrazilFesta1=166]="BrazilFesta1",e[e.BrazilFesta2=167]="BrazilFesta2",e[e.BrazilFesta3=168]="BrazilFesta3",e[e.DragonBoatFestival1=169]="DragonBoatFestival1",e[e.DragonBoatFestival2=170]="DragonBoatFestival2",e[e.PhilippineNational=171]="PhilippineNational",e[e.EuroCup1=172]="EuroCup1",e[e.EuroCup2=173]="EuroCup2",e[e.EuroCup3=174]="EuroCup3",e[e.Guerban=175]="Guerban",e[e.KeepSummer1=176]="KeepSummer1",e[e.KeepSummer2=177]="KeepSummer2",e[e.Olympic1=178]="Olympic1",e[e.Olympic2=179]="Olympic2",e[e.Olympic3=180]="Olympic3",e[e.Muhalan=181]="Muhalan",e[e.IndiaIndependenceDay=182]="IndiaIndependenceDay",e[e.IndonesianNational=183]="IndonesianNational",e[e.ParisParalympics1=184]="ParisParalympics1",e[e.ParisParalympics2=185]="ParisParalympics2",e[e.VietnamNationalDay1=186]="VietnamNationalDay1",e[e.VietnamNationalDay2=187]="VietnamNationalDay2",e[e.VietnamNationalDay3=188]="VietnamNationalDay3",e[e.BrazilNationalDay1=189]="BrazilNationalDay1",e[e.BrazilNationalDay2=190]="BrazilNationalDay2",e[e.BrazilNationalDay3=191]="BrazilNationalDay3",e[e.BrazilNationalDay4=192]="BrazilNationalDay4",e[e.MexicoIndependenceDay1=193]="MexicoIndependenceDay1",e[e.MexicoIndependenceDay2=194]="MexicoIndependenceDay2",e[e.MexicoIndependenceDay3=195]="MexicoIndependenceDay3",e[e.MidAutumnFestival1=196]="MidAutumnFestival1",e[e.MidAutumnFestival2=197]="MidAutumnFestival2",e[e.MidAutumnFestival3=198]="MidAutumnFestival3",e[e.MidAutumnFestival241=199]="MidAutumnFestival241",e[e.MidAutumnFestival242=200]="MidAutumnFestival242",e[e.MidAutumnFestival243=201]="MidAutumnFestival243",e[e.MidAutumnFestival244=202]="MidAutumnFestival244",e[e.MidAutumnFestival245=203]="MidAutumnFestival245",e[e.BrazilianFeast241=204]="BrazilianFeast241",e[e.BrazilianFeast242=205]="BrazilianFeast242",e[e.BrazilianFeast243=206]="BrazilianFeast243",e[e.BrazilianFeast244=207]="BrazilianFeast244",e[e.BrazilianFeast245=208]="BrazilianFeast245",e[e.PakistanIndia241=209]="PakistanIndia241",e[e.PakistanIndia242=210]="PakistanIndia242",e[e.PakistanIndia243=211]="PakistanIndia243",e[e.PakistanIndia244=212]="PakistanIndia244",e[e.PakistanIndia245=213]="PakistanIndia245",e[e.PakistanIndia246=214]="PakistanIndia246",e[e.HalloweenTheme241=215]="HalloweenTheme241",e[e.HalloweenTheme242=216]="HalloweenTheme242",e[e.HalloweenTheme243=217]="HalloweenTheme243",e[e.HalloweenTheme244=218]="HalloweenTheme244",e[e.HalloweenTheme245=219]="HalloweenTheme245",e[e.Double111=220]="Double111",e[e.Double112=221]="Double112",e[e.Double113=222]="Double113",e[e.BrazilianAllSoulsFestival1=223]="BrazilianAllSoulsFestival1",e[e.BrazilianAllSoulsFestival2=224]="BrazilianAllSoulsFestival2",e[e.BrazilianAllSoulsFestival3=225]="BrazilianAllSoulsFestival3",e[e.Brazil1=226]="Brazil1",e[e.Brazil2=227]="Brazil2",e[e.Brazil3=228]="Brazil3",e[e.Brazil4=229]="Brazil4",e[e.Brazil5=230]="Brazil5",e[e.LoyKrathong=231]="LoyKrathong",e[e.BrazilianBlackAwarenessDay1=232]="BrazilianBlackAwarenessDay1",e[e.BrazilianBlackAwarenessDay2=233]="BrazilianBlackAwarenessDay2",e[e.BrazilianBlackAwarenessDay3=234]="BrazilianBlackAwarenessDay3"}(d||(d={}));const h=[c.MidAutumn,c.MotherOfGod,c.MotherOfGod2,c.Dussehra,c.HalloweenPurple,c.HalloweenBlue,u.Diwali,u.Diwali2,u.LoyKrathong,u.ThaiNational,u.DoubleTwelve1,u.Christmas2,u.NewYear4,u.ChineseNewYear3,u.ValentinesDay1,u.ValentinesDay2,u.ValentinesDay3,u.LanternFestival3,u.WanfoFestival1,u.WanfoFestival2,u.Shiva1,u.GoodFriday,u.Water,u.TamilNewYear,u.BrazilianIndependenceDay2,d.IndiaOpenEat1,d.IndiaOpenEat2,d.BrazilianCorolla1,d.BrazilianCorolla2,d.Guerban,d.KeepSummer1,d.KeepSummer2,d.Muhalan,d.VietnamNationalDay2,d.MidAutumnFestival1,d.MidAutumnFestival2,d.MidAutumnFestival3,d.VietnamNationalDay3,d.BrazilNationalDay2,d.BrazilNationalDay3,d.BrazilNationalDay4],m={...c,...u,...d},p={activeCount:i.bv.Show,taskCount:i.bv.Show,returnGoldClosed:s.l$.Open,rewardCount:i.bv.Show,disableReceiveAwardAll:s.nS.Close,rechargeFundClosed:s.l$.Open,loading:!1}},30918:function(e,t,n){n.d(t,{i:function(){return s}});var i=n(28484);const s=(0,n(67476).Q_)("network",{state:()=>({state:[]}),persist:{enabled:!0,strategies:[{storage:(0,i.n)(),paths:["state"]}]}})},95059:function(e,t,n){n.d(t,{u:function(){return l}});var i=n(78718),s=n.n(i),a=(n(82801),n(1507)),o=n(67476);const r={key:"web.lobby.token",paths:["tokenInfos"],storage:localStorage,persistState(e){this.storage.setItem(this.key,JSON.stringify(s()(e,this.paths)))},hydrateStore(){const e=this.storage,t=this.key;if(!e.getItem(t)){const{userInfos:n}=JSON.parse(localStorage.getItem("app.userInfos")||"")||{};n&&n.jwt_token&&n.session_key&&e.setItem(t,JSON.stringify({tokenInfos:s()(n,["jwt_token","session_key","userkey"])}))}const n=e.getItem(t);return n?JSON.parse(n):null}},l=(0,o.Q_)("token",{state:()=>({tokenInfos:r.hydrateStore()?.tokenInfos}),getters:{tokenInfosFromUrl(){try{return JSON.parse(window.atob(String(a.tt?._ti||"")))}catch(e){return null}},sessionKey(){return this.tokenInfos?.session_key||this.tokenInfosFromUrl?.session_key||""}},actions:{removeToken(){this.tokenInfos=null,r.persistState(this.$state)},updateToken(e){this.tokenInfos=e,r.persistState(this.$state)}}})}}]);