1const __vite__fileDeps=["assets/theme-0/commonChunk.BmhA96UO.css","assets/theme-0/0_EntryLoginRegisterChunk.dMTQ8psb.css","assets/theme-0/0_RechargeDialogsChunk.DKBYs0UC.css","assets/theme-0/0_WithdrawChunk.CdM_CMjP.css","assets/vendors/vendor-swiper.BqvbXe0X.css","assets/theme-0/1_AgentCenterChunk.DPK7kBU5.css","assets/theme-0/IconReward.DGXr-5TX.css","assets/theme-0/BadgeFundIndex.DuemJHiv.css","assets/theme-0/IconVip.DCGyXTZj.css","assets/theme-0/AgentApplyIndex.BlrlgtGR.css","assets/theme-0/1_SearchGameChunk.CCIBIOOL.css","assets/theme-0/AboutUsTitle.BFwwJ9O_.css","assets/theme-0/useMarketing.CMc463iX.css","assets/theme-0/MarketingIndex.CctX6pAm.css","assets/theme-0/SelectOptionIndex.BuNpd0Yy.css","assets/theme-0/SelectCustomName.S-u8pT1C.css","assets/theme-0/EventSwiperIndex.Cseoz-dV.css","assets/theme-0/VipBadgeIndex.CV8QQdky.css","assets/theme-0/VipCardIndex.ggBjk6nJ.css","assets/theme-0/1_PromoteChunk.CJx5NTos.css","assets/theme-0/1_PromotionChunk.DzUvHB4G.css","assets/theme-0/2_EventDialogsChunk.DMgAJpu6.css","assets/theme-0/utils.BueAMQJE.css","assets/theme-0/EventSignIndex.Cc_VO-LE.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); 2import{b7 as ho,q as qt,a2 as Z,hX as Ve,e as me,H as C,bV as Bo,hY as Ii,hZ as lt,B as wt,h_ as vn,A as W,cp as Ct,fl as Et,h$ as Si,g3 as Ci,aM as Lt,aN as k,i0 as Qe,cU as Le,b3 as gn,a7 as xn,p as U,af as ut,gc as Ti,hM as Cs,dg as Me,i1 as Ts,i2 as Yt,i3 as As,az as D,bd as $,gk as Io,ai as et,m as Ge,eE as So,gm as nt,a8 as _o,i4 as Ai,aH as Tt,d7 as Kt,i5 as wi,ey as xo,g0 as Li,i6 as ws,i7 as mo,i8 as Ls,d8 as wn,dF as go,a3 as Oe,i9 as Ni,ia as Oi,ib as Ri,S as He,c0 as we,hl as Ns,dh as Os,eR as Qt,dL as Ln,dn as Mn,co as re,gW as en,dj as Nt,bO as It,et as Rs,ic as Pi,id as ki,ie as Di,aq as be,ci as H,ig as Mi,ih as jt,ii as Bi,ij as Ps,ct as ks,b9 as St,ik as xi,il as Ui,im as $i,io as Hi,b1 as ji,ip as Gi,iq as Wi,at as zi,aw as Ds,ir as Uo,b2 as $o,a5 as Ms,is as Bs,it as xs,iu as Vi,iv as Fi,o as yn,U as Ae,aB as yo,iw as qi,aP as po,ix as Yi,aF as Ki,R as Qi,ar as Co,e1 as We,eo as Xi,c_ as kt,g5 as Us,du as $s,g7 as Gt,e3 as To,c as ae,bo as x,T as Hs,aD as ge,iy as Zi,iz as Ji,hx as ec,fr as js,cG as Gs,iA as nc,iB as bo,iC as tc,iD as pn,iE as Ws,P as oc,bh as q,gG as Ho,be as Ao,eJ as sc,bX as zs,d as $n,bZ as Hn,iF as F,iG as Vs,iH as Fs,iI as ic,iJ as jo,iK as cc,iL as rc,bC as Xt,dD as qs,eS as Go,iM as it,iN as mn,iO as ac,dm as nn,cA as Ys,h1 as lc,iP as jn,bi as uc,iQ as Ks,b$ as ot,dw as _c,gF as Wo,iR as wo,iS as dc,iT as De,cs as Dn,ei as mc,f4 as Qs,dK as gc,eM as _t,eZ as Wt,dV as vo,dY as tn,aE as Lo,da as Bn,f2 as yc,iU as pc,dX as Je,ex as Pn,n as bc,iV as Xs,d$ as zo,f0 as vc,iW as fc,e2 as Ec,ff as Vo,iX as hc,fg as Fo,e5 as qo,g4 as Ic,iY as Sc,h4 as Cc}from"./commonChunk.B_cUH0Zs.js";import{l as Zs,r as ne,s as on,c as v,n as Tc,A as ze,aq as Ac,a7 as se,g as R,d as N,a6 as On,e as t,a5 as Zt,ad as qe,aj as Ye,k as wc,ar as Lc,h as Ot,m as Y,j as Xe,y as sn,F as Ie,as as Js,at as Nc,au as Oc,f as Rc,v as Pc,O as de,av as kc,p as Un,w as zt,E as ht,aw as Dc,a8 as No,ai as Mc,b as Bc}from"../vendors/vendor-stable.Bob7ohop.js";import{d1 as ei,bV as tt,d2 as ni,ag as Rn,bc as ti,bP as fo,ad as xc,d3 as Yo,d4 as Uc,d5 as Ko,d6 as $c,d7 as Qo,d8 as Xo,C as Gn,d9 as Hc,da as jc,db as Vt,dc as Gc,l as Wc,dd as zc,de as Vc,aa as Ft,cO as Fc,df as qc,dg as Yc,ai as Kc,dh as B,di as Qc,dj as Xc,dk as Zc,dl as oo,dm as Jc}from"./0_EntryLoginRegisterChunk.A6wBCaPk.js";import{_ as w,U as oi,t as Jt,f as At}from"./vendorChunk.LVLHXJtX.js";import{l as si,m as er,n as ii,i as eo,d as Wn,o as zn}from"./0_RechargeDialogsChunk.Dyd_ik_d.js";import{B as nr}from"./0_WithdrawChunk.Bv-cc1Gj.js";import{E as tr}from"./1_AgentCenterChunk.kXcdE-pO.js";var Fe=(e=>(e.UN_ADD="unadd",e.UN_VERIFICATION="unverification",e.VERIFICATION="verification",e))(Fe||{});const Be=Zs("security",()=>{const e=ho(),o=qt(),s=Z("Lv1"),i=ne([]),r=ne({}),a=ne(!1);let c=null;const l=on({type:Ve.Bind,verify:void 0,form:{},loading:!1}),p=v(()=>{var P;return(P=e.value.platfromid)!=null?P:""}),d=on({}),u=()=>{l.loading=!0},_=()=>{Tc(()=>l.loading=!1)},g=P=>{i.value=P},y=P=>c||(c=Ii(P).then(z=>{var J,Se;return r.value=(Se=(J=z==null?void 0:z.data)==null?void 0:J.data)!=null?Se:{},a.value=!0,r.value}).finally(()=>{c=null}),c),m=()=>y(),b=()=>{r.value={},a.value=!1,c=null};me("LOGOUT_SUCCESS",()=>b());const h=v(()=>{const P=r.value;return{[C.LOGINPASS]:P.loginPass,[C.QUESTION]:P.question,[C.GA]:P.googleAuth,[C.PHONE]:P.phone,[C.EMAIL]:P.email,[C.WITHDRAWPASS]:P.withdrawPass,[C.THIRDPARTY]:P.thirdParty,[C.WEBAUTHN]:P.webAuthn}}),S=P=>{var J;const z=(J=h.value[P])==null?void 0:J.status;
2return z===lt.FORBIDDEN||z===lt.ASSET_PROTECT_FORBIDDEN},f=P=>{var z;return((z=h.value[P])==null?void 0:z.status)===lt.ASSET_PROTECT_FORBIDDEN},E=P=>{var z;return((z=h.value[P])==null?void 0:z.status)===lt.FORBIDDEN},I=P=>{var z;return((z=h.value[P])==null?void 0:z.status)===lt.FORCE_BIND_FORBIDDEN},A=v(()=>{const P=ei("security").thirdPartyOptions.value;return i.value.map(z=>{const J=P.find(Se=>Se.thirdType===z.thirdType);return J&&(J.unbindAvailable=z.unbindStatus===Bo.OPEN,J.binded=z.bindStatus===Bo.OPEN,J.bindTime=z.bindTime,J.thirdAccount=z.thirdAccount),J}).filter(Boolean)}),L=v(()=>l.type===Ve.Verify);return{state:l,username:p,fields:(P,z)=>{var Se;P=P!=null?P:l.form,z=z!=null?z:l.verify;const J={[C.PHONE]:vn.PHONE,[C.EMAIL]:vn.EMAIL,[C.GA]:vn.GA,[C.LOGINPASS]:vn.LOGIN_PWD,[C.WITHDRAWPASS]:vn.WITHDRAW_PASS,[C.QUESTION]:vn.QUESTIONS,[C.WEBAUTHN]:vn.WEBAUTHN};return{type:(Se=ze(J,z))!=null?Se:vn.NONE,phone:o.format(ze(P,"phone"))||void 0,phoneCode:ze(P,"phoneCode"),email:ze(P,"email"),emailCode:ze(P,"emailCode"),googleCode:ze(P,"gaCode"),loginPass:ze(P,"loginPass"),passQuestionId:ze(P,"questionId"),passQuestionAnswer:ze(P,"questionAnswer"),withdrawPass:P.withdrawPass?`${ze(P,"withdrawPass")}`:void 0,...tt.fmtObject(ze(P,"webauthn"))}},initType:(P,z)=>{const J=wt().validateConfigStatus();if(l.type=J[P]?Ve.Edit:Ve.Bind,l.isHandlingServerVerify=!1,z){l.type=Ve.Verify;return}if(J[P]){l.type=Ve.Edit;return}l.type=Ve.Bind},isVerifyStage:L,setLoading:u,delLoading:_,thirdPartys:i,isClubManager:s,setThirdPartys:g,thirdPartyConfig:A,securityStatus:r,securityStatusLoaded:a,securityStatusMap:h,fetchSecurityStatus:y,ensureSecurityStatus:m,isSecurityModifyForbidden:S,isSecurityAssetProtectForbidden:f,isSecurityForbidden:E,isSecurityForceBindForbidden:I,ignoreSecurityBindkey:d,getIgnoreSecurityBindkey:()=>e.value.username?d[e.value.username]:!1,setIgnoreSecurityBindkey:()=>{e.value.username&&(d[e.value.username]=!0)}}},{persist:{paths:["ignoreSecurityBindkey"]}}),xp=Object.freeze(Object.defineProperty({__proto__:null,useSecurityStore:Be},Symbol.toStringTag,{value:"Module"}));function or(){const e=ho(),{t:o}=W(),s=Be(),i=qt(),{validateConfigStatus:r}=wt(),{notTrustedDeviceDisableSecurity:a,showContactServiceDialog:c}=si(),{enableModifyPhone:l,enableModifyEmail:p,enableUsingEmail:d}=Ct(),u=v(()=>{const{enableUsingSms:m}=Ct(),b=i.codeIncludes(e.value.mobile_phone);return r()[C.PHONE]?e.value.is_verified?{type:Fe.VERIFICATION,text:o("lobby.center.security.bindAndVerified")}:{type:Fe.UN_VERIFICATION,text:o("lobby.center.security.addButNotBind"),canVerify:m.value&&b?!0:void 0}:{type:Fe.UN_ADD,text:o("lobby.center.security.notAddBind")}}),_=v(()=>r()[C.EMAIL]?e.value.emailVerified?{type:Fe.VERIFICATION,text:o("lobby.center.security.bindAndVerified")}:{type:Fe.UN_VERIFICATION,text:o("lobby.center.security.addButNotBind"),canVerify:d.value?!0:void 0}:{type:Fe.UN_ADD,text:o("lobby.center.security.notAddBind")});return{statusPhone:u,statusEmail:_,canEnterVerifyFlow:m=>Et(m,C.PHONE)?!!u.value.canVerify:Et(m,C.EMAIL)?!!_.value.canVerify:!1,statusVerification:m=>{const b=v(()=>{if(Et(m.value,C.PHONE)&&u.value.canVerify&&!s.state.skipPhoneEmialVerify)return C.PHONE;if(Et(m.value,C.EMAIL)&&_.value.canVerify&&!s.state.skipPhoneEmialVerify)return C.EMAIL}),h=v(()=>Si(b.value)),S=v(()=>{switch(b.value){case C.PHONE:return!l.value||s.isSecurityForbidden(C.PHONE)?"":o("lobby.formItems.phone.title.editor");case C.EMAIL:return!p.value||s.isSecurityForbidden(C.EMAIL)?"":o("lobby.formItems.email.title.editor");default:return}}),f=v(()=>{switch(b.value){case C.PHONE:case C.EMAIL:return()=>{if(s.isSecurityAssetProtectForbidden(b.value)){c();return}const E={...e.value,is_verified:1,emailVerified:1};a(b.value,E)||(s.state.skipPhoneEmialVerify=!0,s.state.type=Ve.Edit,s.state.verify=void 0)};default:return}});return{verification:b,isVerification:h,otherLabelHtml:S,onOtherTrigger:f}}}}var ce=(e=>(e.MODE1="1",e.MODE2="2",e.MODE3="3",e.MODE4="4",e.MODE5="5",e.MODE6="6",e.MODETHEME1656="1656",e.MODE7="7",e))(ce||{}),ci=(e=>(e.DEVICE_INFO="deviceInfo",e.FORBIDDENSELF="forbiddenSelf",e.ABOUT_US="aboutUs",e.LOGINOUT="loginOut",e.SWITCH_ACCOUNT="switchAccount",e.LANUANGE="lanuange",e.CLAIM="claim",e.MODETHEME1656="1656",e.MODE6="6",e.CLUB_LOAN="clubLoan",e.REPORT_DETAILS="reportDetail",e.MALL="mall",e.CLUB_DEPOSITE_MANAGEMENT="clubDepositeManagement",e.CLUB_WITHDRAW_MANAGEMENT="clubWithdrawManagement",e.CURRENCY="currency",e.DEPOSIT="deposit",e.NIGHTMODE="nightMode",e.SUBORDINATE_LOAN="subordinateLoan",e.CLUB_REBATE_MANAGEMENT="clubRebateManagement",e.CLUB_QUOTA_MANAGEMENT="clubQuotaManagement",e))(ci||{});const n={...Ci,...ci},sr=()=>{const{skinType:e}=Lt(),o=[k.THEME_10,k.THEME_11,k.THEME_12,k.THEME_16,k.THEME_23,k.THEME_24,k.THEME_26,k.THEME_27,k.THEME_28,k.THEME_29,k.THEME_31,k.THEME_32,k.THEME_33,k.THEME_34,k.THEME_37,k.THEME_39,k.THEME_48,k.THEME_49,k.THEME_53,k.THEME_55,k.THEME_56,k.THEME_66,k.THEME_67,k.THEME_61,k.THEME_74,k.THEME_76,k.THEME_84,k.THEME_86,k.THEME_97,k.THEME_88,k.THEME_98,k.THEME_111,k.THEME_92,k.THEME_114,k.THEME_96,k.THEME_109,k.THEME_106,k.THEME_20,k.THEME_120,k.THEME_121,k.THEME_123,k.THEME_125,k.THEME_128,k.THEME_126,k.THEME_119,k.THEME_131,k.THEME_108,k.THEME_135,k.THEME_145];return{isExpandTabbar:v(()=>o.includes(e))}},cn=Symbol("show_discourage"),so={[n.SETTINGS]:"style_1_icon_list_grzl.svg",[
2n.SHARE_EARN]:"style_1_icon_list_tgzq.svg",[n.AGENT_APPLY]:"style_1_icon_list_sqdl.svg",[n.ACCOUNT_DETAILS]:{icon:[{icon:"style_1_icon_list_zhmx.svg",color:"var(--skin__accent_3)"}]},[n.REPORT_DETAILS]:{icon:[{icon:"style_1_icon_list_zhmx.svg",color:"var(--skin__accent_3)"}]},[n.BETTING_RECORD]:{icon:[{icon:"style_1_icon_list_tzjl.svg",color:"var(--skin__accent_1)"}]},[n.PERSONAL_STATMENT]:"style_1_icon_list_grbb.svg",[n.WITHDRAWMANAGEMENT]:{icon:[{icon:"style_1_icon_list_txgl.svg",color:"var(--skin__accent_2)"}]},[n.SECURITY]:"style_1_icon_list_aqzx.svg",[n.KYC]:"style_1_icon_list_sfyz.svg",[n.COMMONQUESTION]:"style_1_icon_list_cjwt.svg",[n.FEEDBACK]:"style_1_icon_list_yjfk.svg",[n.DEVICE_INFO]:"style_1_icon_list_dlsb.svg",[n.ABOUT_US]:"style_1_icon_list_gywm.svg",[n.FORBIDDENSELF]:"style_1_icon_list_zwjz.svg",[n.SWITCH_ACCOUNT]:"style_1_icon_list_qhzh.svg",[n.LOGINOUT]:"style_1_icon_list_aqtc.svg",[n.FINDUS]:"style_1_icon_list_zdwm.svg",[n.CLUB_APPLY]:"style_1_icon_list_sqjlb.svg",[n.MOMENTS]:"style_1_icon_list_pyq.svg",[n.PROMOTE]:"style_1_icon_list_fxzq.svg",[n.CLUB_WITHDRAW_MANAGEMENT]:"style_1_icon_list_qkgl.svg",[n.CLUB_DEPOSITE_MANAGEMENT]:"style_1_icon_list_ckgl.svg",[n.CLUB_ACCOUNT_DETAILS]:{icon:[{icon:"style_1_icon_list_zhmx.svg",color:"var(--skin__accent_3)"}]},[n.GOSSIP]:"style_1_icon_cgw.png",get[n.NIGHTMODE](){const{isDark:e}=Qe();return e?"style_1_icon_list_rjms.svg":"style_1_icon_list_yjms.svg"}};function ri(e){let o=!1,s;return(...i)=>(o||(s=Ac(!0).run(()=>e(...i)),o=!0),s)}function dt(e,o){const s={list:[],map:{}};return s.list=e.reduce((i,r)=>{let a;return typeof r=="string"?a=o[r]:typeof r=="object"&&r!==null&&(a={...o[r.key],...r}),a&&(i.push(a),s.map[a.key]=a),i},[]),s}const ai=(e={},o={})=>{const s=Le(),i=gn(),r=xn(),a=U(),c=ne([]),l=ne({}),p=ne([]),d=f=>{var E;!a.isLogined||a.temporaryAccountStatus.unRecharg?((E=e.checkLoginBefore)==null||E.call(e),i.openLoginRegister({onSuccess:()=>{f==null||f()}})):f==null||f()},u=f=>{var I;(I=e.clickBefore)==null||I.call(e,f);const E=()=>{if(f.click){f.click();return}f.routeName&&s.push({name:f.routeName,query:f.query})};f.isLogin?d(E):E()},_=f=>f.reduce((E,I,A)=>{var T,G;const L={...I};if(L.index=A+1,L.onClick=()=>u(I),L.badge=ut(I.badgeRelyOn)?I.badgeRelyOn():I.badge,ut(I.hidden)?I.hidden():I.hidden)return E;if(I.userDefined)for(const ie of Object.keys(I.userDefined))if((G=(T=I.userDefined)==null?void 0:T.ignoreTrans)!=null&&G.includes(ie))L[ie]=I.userDefined[ie];else{const K=I.userDefined[ie];L[ie]=ut(K)?K():K}return E.push(L),E},[]);return{initDefaultMenus:f=>{const E=dt(f,o);c.value=E.list,l.value=E.map},getMenuListByKeys:f=>{const E=dt(f,o).list;return _(E)},generateMenuListByKeys:f=>{const E=dt(f,o).list;return v(()=>_(E))},setMenuListByKeys:f=>{p.value=dt(f,l.value).list},checkItemLogin:u,checkLogin:d,getMenusList:()=>v(()=>{const f=p.value.length>0?p.value:c.value;return _(f)}),generateListAndBadgeByKeys:f=>{const E=dt(f,o).list;return v(()=>{let I=0;const A=[];return E.forEach((L,T)=>{if(L.index=T+1,L.onClick=()=>u(L),ut(L.badgeRelyOn)&&(L.badge=L.badgeRelyOn()),!(ut(L.hidden)?L.hidden():L.hidden)&&(typeof L.badge=="number"?I+=L.badge:typeof L.badge=="string"&&(I+=1),A.push(L),L.userDefined))for(const ie in L.userDefined)L[ie]=L.userDefined[ie]}),{list:A,totalBadge:I}})},userStore:a,navigation:s,homeStore:r,loginRegister:i}},Ke=e=>{const{updateRouterViewTransitionModeOnce:o}=Ti();o("Push",async()=>{await Le().push({name:e})})},ir=R(()=>w(()=>Promise.resolve().then(()=>ui),void 0)),cr=R(()=>w(()=>import("./IconReward.DD7I2Bi3.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),rr=R(()=>w(()=>import("./BadgeFundIndex.7GI7g6V9.js"),__vite__mapDeps([0,7]))),ar=R(()=>w(()=>import("./IconVip.Di30_yUX.js"),__vite__mapDeps([0,1,2,3,4,5,8]))),lr=R(()=>w(()=>import("./IconYueBaoIndex.Db5NKday.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),ur=()=>{const e=Le(),o=Cs(),s=Me(),i=ni(),r=Ts(),{interstBadge:a,interstBadgeColor:c,rechargeFundBadge:l}=Yt(),{t:p}=W();return{[n.BLINDBOX_LOTTERY]:{key:n.BLINDBOX_LOTTERY,title:()=>p("lobby.system.blindBoxLottery"),hidden:()=>!s.isShowBlindBox,click:()=>er().open()},[n.CUT_ONE]:{key:n.CUT_ONE,title:()=>p("lobby.plan.tabbar.cutOne"),hidden:()=>!i.isShowSlashOnce,click:()=>i.openSlashOnce()},[n.VIP]:{key:n.VIP,title:()=>p("lobby.system.vip"),hidden:()=>!s.isShowVip,click:()=>e.push({name:D.VIP}),iconRender:()=>se(ar),userDefined:{badgeProps:()=>{var d;return{content:((d=s.discountRedDot)==null?void 0:d.vipCount)||0}}}},[n.YUEBAO]:{key:n.YUEBAO,title:()=>p("lobby.system.yuebao"),click:()=>{o.axiosError||Ke(D.INTEREST)},extra:()=>se(lr),hidden:()=>!s.isShowInterest,userDefined:{badgeContent:()=>a.value,badgeProps:()=>({content:a.value,...c.value})}},[n.RECHARGE_FUND]:{key:n.RECHARGE_FUND,title:()=>s.rechargeFundName,click:()=>{r.isError||Ke(D.RECHARGE_FUND)},iconRender:d=>se(ir,d),extra:()=>se(cr),hidden:()=>!s.isShowRechargeFund,badge:()=>se(rr),userDefined:{badgeProps:()=>({content:l.value,backgroundColor:"var(--skin__accent_1)",color:"#fff"})}},[n.TASK]:{key:n.TASK,title:()=>p("lobby.plan.middle.menu.task"),icon:"style_2_icon_mid_gjj",click:()=>e.push({name:D.TASK}),hidden:()=>!s.isShowTask},[n.REBATE]:{key:n.REBATE,title:()=>p("lobby.plan.middle.menu.backwater"),icon:"style_2_icon_mid_gjj",click:()=>e.push({name:D.CASHBACK}),hidden:()=>!s.isShowCashback},[n.CANRECEIVE]:{key:n.CANRECEIVE,title:()=>p("lobby.plan.middle.menu.waitingCollect"),icon:"style_2_icon_mid_gjj",click:()=>e.push({name:D.CANRECEIVE}),hidden:()=>!s.isShowDiscount},[n.CREDIT_LOAN]:{key:n.CREDIT_LOAN,title:()=>p("lobby.system.creditLoan"),icon:"style_1_icon_mid_xyjk",click:()=>Ke(D.CREDITLOAN),hidden:()=>!s.isShowCreditLoan},[n.MALL]:{key:n.MALL,title:()=>p("lobby.mine.itemList.shopping"),icon:"style_1_icon_mid_sc",click:()=>As(),hidden:()=>!s.isShowMall}}},_r={"item-badge":"_item-badge_r9ki8_91"}
2,[dr]=$("badge-claim"),mr=N({name:dr,setup(){const{unreadMsgCount:e}=On(Io());return()=>t("div",{class:[_r["item-badge"],"mine-item-badge"]},[t(et,{dot:!1,showZero:!1,max:99,content:e.value,position:"top-right",offset:[0,0],zIndex:9},null)])}}),mt={"content-claim":"_content-claim_13gmv_91","color-primary":"_color-primary_13gmv_91","color-accent1":"_color-accent1_13gmv_94","color-neutral_1":"_color-neutral_1_13gmv_100"},[gr]=$("content-claim"),yr=N({name:gr,setup(){const{t:e}=Zt(),o=Ge(),s=Io(),i=v(()=>{var l;return((l=o==null?void 0:o.financeSetting)==null?void 0:l.claim.marginLevel)||0}),r=v(()=>{var l;return((l=s==null?void 0:s.claimInfo)==null?void 0:l.claimAmount)||0}),a=l=>_o(l,{showGroup:!0}).toFixed({decimalPlaces:2,tailZero:!0}).toString();So(()=>{s.getClaimInfo()});const c=v(()=>{let l="",p=[mt["color-primary"]];if(Number(r.value)>0)return t("p",{class:mt["color-neutral_1"]},[a(r.value)]);switch(i.value){case nt.BASIC_WARRANTY:p=[mt["color-primary"]];break;case nt.ADVANCED_WARRANTY:case nt.COMPREHENSIVE_WARRANTY:l=e("lobby.center.claim.highDepositPaid"),p=[mt["color-accent1"]];break}return t("p",{class:p},[l])});return()=>t("div",{class:mt["content-claim"]},[c.value])}}),pr="_colorLead_l3wyv_91",br="_colorNeutral1_l3wyv_95",vr="_colorNeutral2_l3wyv_99",fr="_colorPrimaryFont_l3wyv_103",Er="_colorPrimary_l3wyv_103",hr="_colorFinace_l3wyv_119",Ir="_flexCenter_l3wyv_123",Sr="_flexLeft_l3wyv_129",Cr="_arrow_l3wyv_135",Tr="_colorIcon_l3wyv_143",j={colorLead:pr,colorNeutral1:br,colorNeutral2:vr,colorPrimaryFont:fr,colorPrimary:Er,colorFinace:hr,flexCenter:Ir,flexLeft:Sr,arrow:Cr,colorIcon:Tr,"icon-dot-wrap":"_icon-dot-wrap_l3wyv_183"},Ar=R(()=>w(()=>Promise.resolve().then(()=>tl),void 0)),Zo=R(()=>w(()=>Promise.resolve().then(()=>rl),void 0)),wr=R(()=>w(()=>Promise.resolve().then(()=>va),void 0)),Lr=R(()=>w(()=>import("./AgentApplyIndex.BgRSu8lQ.js"),__vite__mapDeps([0,1,9]))),Nr=()=>{const{t:e}=W(),o=Le(),s=U(),i=Rn(),r=Me();Ai();const a=ii(),c=ti(),{openDialog:l}=Tt(),p=Ge(),d=Kt(),{openFeedback:u}=wi(),_=g=>{const y=d.eventsList.find(h=>h.template===g);if(!y)return;const{template:m,activeId:b}=y;Ns({jumpMethod:"push",template:String(m),activeId:String(b)})};return{[n.PROMOTE]:{key:n.PROMOTE,title:()=>p.isClubSite?e("lobby.promote.shareEarn.agentCenter"):i.isShowAgentShareEarn?e("lobby.promote.promoteShare"):e("lobby.system.promoteAgent"),path:"/lobby_asset/common/common/profile/",click:()=>Ls(),extra:se(Zo),rightClass:i.axiosError.agentModeError?"promoteRight":"",hiddenArrow:!!i.axiosError.agentModeError,hidden:()=>!i.showPromoteEntry,userDefined:{badgeContent:()=>r.promoteReward,badgeProps:()=>({content:r.promoteReward,backgroundColor:mo.AWARD,gift:void 0}),badge:()=>r.promoteReward?se(we,{class:"promote-badge",content:r.promoteReward,backgroundColor:mo.AWARD,position:"top-right",style:{position:"absolute",right:He(28),transform:`translate(0, ${He(-2)})`}}):se("span")}},[n.CLAIM]:{key:n.CLAIM,title:()=>e("lobby.mine.itemList.claim"),icon:"style_1_icon_list_tgzq.svg",iconRender:()=>se(Ar),leftClass:"claimLeft",extra:se(yr),badge:se(mr),classList:["claimItem"],click:()=>{if(s.isLogined){o.push({name:D.CLAIM});return}l("claimLogin",{options:{onSuccess:()=>o.push({name:D.CLAIM})}})},hidden:()=>{var g,y;return((y=(g=p.financeSetting)==null?void 0:g.claim)==null?void 0:y.cancelMargin)!==Ri.NotCanceled}},[n.KYC]:{key:n.KYC,title:()=>e("lobby.header.menus.kyc"),icon:"style_1_icon_list_aqzx",click:()=>{if(!s.isLogined){gn().openLoginRegister();return}c.isKYCSuccess?Ni():l("needKycValidate",{openType:"overlay",options:{sceneCode:Oi.PERCENTER,needIdSelfie:!1}})},onFilter:()=>c.isNeedShowKYCInMine,extra:()=>se("span",{style:"color:var(--skin__neutral_2)"},c.isKYCSuccess?e("lobby.center.KYC.mine.done"):e("lobby.center.KYC.mine.notYet")),hidden:()=>s.isDemoMode||s.isTemporaryAccountMode},[n.CLUB_LOAN]:{key:n.CLUB_LOAN,title:()=>e("lobby.club.loan"),icon:"style_1_icon_mid_xyjk.svg",click:ws,hidden:()=>!0},[n.CLUB_APPLY]:{key:n.CLUB_APPLY,title:()=>e("lobby.club.applyClub"),click:Li,extra:se(wr),hidden:()=>{var g;return!p.isClubSite||!((g=a.clubApplyConfig)!=null&&g.isApplyOpen)||s.isDemoMode||s.isAgent}},[n.FEEDBACK]:{key:n.FEEDBACK,title:()=>e("lobby.header.menus.feedback"),icon:"style_1_icon_list_yjfk",click:u},[n.FINDUS]:{key:n.FINDUS,title:()=>e("lobby.findUs.title"),icon:"style_1_icon_list_zdwm",click:()=>xo().openFindUs(),hidden:()=>!xo().showEntryBtn(),extra:()=>se("span",{class:j.colorNeutral2},e("lobby.findUs.forTitle"))},[n.SHARE_EARN]:{key:n.SHARE_EARN,title:()=>e("lobby.promote.promoteShare"),click:()=>{var g;((g=s==null?void 0:s.userInfos)==null?void 0:g.account_type)===go.ProfessionalAgent&&Oe({type:"error",message:e("lobby.footer.quickJump.proAgentTip")}),o.push({name:D.GENERALPROMOTINDEX})},hidden:()=>!i.isShowAgentShareEarn,extra:()=>se(Zo)},[n.AGENT_APPLY]:{key:n.AGENT_APPLY,title:()=>e("lobby.footer.quickJump.applyAgent"),click:()=>l("agentApplication",{openType:"overlay"}),extra:()=>se(Lr),hidden:()=>!s.hasLogined||!p.hasAgentApplyEntry},[n.RECEIVERECORD]:{key:n.RECEIVERECORD,title:()=>e("lobby.plan.aside.menu.pickUpRecord"),click:()=>o.push({name:D.RECORDS})},[n.DEPOSIT]:{key:n.DEPOSIT,icon:"style_6_icon_list_mrqd",title:()=>e("lobby.event.eventTypes.deposit"),click:()=>_(wn.Deposit),hidden:()=>!r.isShowEvents}}},Or=()=>{const e=Z("Lv2"),o=Z("Lv1"),s=Le(),i=Me(),r=Os(),a=xn(),{t:c}=W(),l=Ge(),p=Rn(),d=Qt();return{[n.CENTERWALLET]:{key:n.CENTERWALLET,title:()=>c("lobby.finance.center.wallet.title"),icon:"style_1_icon_list_zhye",isLogin:!0,click:()=>s.push({name:D.REPORT,query:{reportCurrent:en.CENTER_WALLET}}),hidden:re.enable}
2,[n.REPORT_DETAILS]:{key:n.REPORT_DETAILS,title:()=>c("lobby.event.cutOnce.myRecord"),iconColor:"--skin__accent_3",icon:"style_1_icon_list_zhmx",isLogin:!0,extra:()=>se("span",{style:"color:var(--skin__primary)"},`${c("lobby.mine.reportDetailDescription")}`),click:()=>s.push({name:D.REPORT,query:{reportCurrent:en.ACCOUNT}}),hidden:()=>o.value&&re.enable},[n.ACCOUNT_DETAILS]:{key:n.ACCOUNT_DETAILS,title:()=>c("lobby.center.report.tabs.accountDetails"),iconColor:"--skin__accent_3",icon:"style_1_icon_list_zhmx",isLogin:!0,click:()=>s.push({name:D.REPORT,query:{reportCurrent:en.ACCOUNT}}),hidden:()=>e.value&&re.enable},[n.BETTING_RECORD]:{key:n.BETTING_RECORD,title:()=>c("lobby.center.report.tabs.bettingRecord"),iconColor:"--skin__accent_1",icon:"style_1_icon_list_tzjl",isLogin:!0,click:()=>s.push({name:D.REPORT,query:{reportCurrent:en.BETTING}}),hidden:()=>e.value&&re.enable},[n.PERSONAL_STATMENT]:{key:n.PERSONAL_STATMENT,title:()=>c("lobby.center.report.tabs.personalStatement"),icon:"style_1_icon_list_grbb",isLogin:!0,click:()=>s.push({name:D.REPORT,query:{reportCurrent:en.PERSONAL}}),hidden:()=>e.value&&re.enable},[n.WITHDRAWMANAGEMENT]:{key:n.WITHDRAWMANAGEMENT,title:()=>c("lobby.header.menus.withdrawalManagement"),iconColor:"--skin__accent_2",icon:"style_1_icon_list_txgl",isLogin:!0,hidden:()=>l.isHideWithdrawEntry,click:()=>Mn(fo.ACCOUNT_MANAGEMENT)},[n.WITHDRAW]:{key:n.WITHDRAW,title:()=>c("lobby.plan.middle.menu.withDraw"),iconColor:"--skin__accent_2",icon:"style_1_icon_list_txgl",isLogin:!0,hidden:()=>l.isHideWithdrawEntry,click:()=>Mn(fo.WITHDRAW)},[n.CREDIT_LOAN]:{key:n.CREDIT_LOAN,title:()=>c("lobby.system.creditLoan"),icon:"style_1_icon_list_xyjk",click:()=>
2s.push({name:D.CREDITLOAN}),hidden:()=>!i.isShowCreditLoan},[n.RECHARGE]:{key:n.RECHARGE,title:()=>c("lobby.plan.middle.menu.recharge"),icon:"style_1_icon_mid_cz",click:()=>Ln({openType:"overlay",options:{payEntryId:Nt.PROFILE}},Ln),hidden:()=>l.isHideRechargeEntry,userDefined:{badgeContent:()=>d.rechargeBadgeCount.value,badgeProps:()=>({content:d.rechargeBadgeCount.value,...a.payChargeBadge})}},[n.CLUB_DEPOSITE_MANAGEMENT]:{key:n.CLUB_DEPOSITE_MANAGEMENT,title:()=>c("lobby.club.deposit.management"),click:()=>s.push({name:D.CLUB_DEPOSIT_MANAGEMENT,query:{to:"depositManage"}}),path:"/lobby_asset/common/web/club/"},[n.CLUB_WITHDRAW_MANAGEMENT]:{key:n.CLUB_WITHDRAW_MANAGEMENT,title:()=>c("lobby.club.withdraw.management"),click:()=>s.push({name:D.CLUB_WITHDRAW_MANAGEMENT}),path:"/lobby_asset/common/web/club/"},[n.CLUB_ACCOUNT_DETAILS]:{key:n.CLUB_ACCOUNT_DETAILS,title:()=>c("lobby.event.cutOnce.myRecord"),iconColor:"--skin__accent_3",icon:"style_1_icon_mid_zhmx.svg",path:"/lobby_asset/common/web/profile/",extra:()=>se("span",{style:"color:var(--skin__primary)"},`${c("lobby.mine.reportDetailDescription")}`),click:()=>s.push({name:D.REPORT,query:{reportCurrent:en.ACCOUNT}})},[n.CLUB_PROMOTE]:{key:n.CLUB_PROMOTE,title:()=>c("lobby.promote.shareEarn.shareToEarn"),click:()=>s.push({name:D.CLUB_WITHDRAW_MANAGEMENT}),path:"/lobby_asset/common/web/club/",userDefined:{badgeContent:()=>d.rechargeBadgeCount.value}},[n.COUPONS]:{key:n.COUPONS,title:()=>c("lobby.plan.middle.menu.coupon"),iconColor:"--skin__accent_2",icon:"style_5_icon_list_zkq",hidden:()=>!i.isShowCoupon,click:()=>Ke(D.COUPON),userDefined:{badgeProps:()=>({backgroundColor:"var(--skin__accent_1)",content:r.couponBadgeForMine})}},[n.SHARE_HOLDING]:{key:n.SHARE_HOLDING,title:()=>c("lobby.shareholding.title"),iconColor:"--skin__accent_2",icon:"style_1_icon_list_zggl.svg",hidden:()=>{var u;return!((u=p.agentEntryAuth)!=null&&u.equityPermission)},click:()=>Ke(D.SHAREHOLDING)},[n.CLUB_QUOTA_MANAGEMENT]:{key:n.CLUB_QUOTA_MANAGEMENT,title:()=>c("lobby.subordinateLoan.loanList"),iconColor:"--skin__accent_2",icon:"style_1_icon_list_edgl.svg",hidden:()=>{var u;return!((u=p.agentEntryAuth)!=null&&u.loanPermission)},click:()=>Ke(D.CREDIT_MANAGE)},[n.SVIP]:{key:n.SVIP,title:()=>c("lobby.plan.aside.menu.svip"),icon:"icon_wd_svip",click:()=>Ke(D.SVIP),hidden:()=>!i.isShowSVIP,userDefined:{badgeProps:()=>{var u;return{backgroundColor:"var(--skin__accent_2)",content:((u=i.discountRedDot)==null?void 0:u.svipCount)||0}}}}}};function Rr(){const{t:e}=W(),o=Be();return{[C.USER]:{key:C.USER,title:()=>e("lobby.center.setting.account"),label:()=>e("lobby.center.setting.account"),bind:()=>e("lobby.center.setting.account")},[C.PHONE]:{key:C.PHONE,title:()=>e("lobby.center.security.phone.tab"),label:()=>e("lobby.center.security.phone.tab"),bind:()=>e("lobby.center.security.phone.tab")},[C.CPF]:{key:C.CPF,title:()=>e("lobby.center.security.cpf.tab"),label:()=>e("lobby.center.security.cpf.tab"),bind:()=>e("lobby.center.security.cpf.tab")},[C.EMAIL]:{key:C.EMAIL,title:()=>e("lobby.center.security.email.tab"),label:()=>e("lobby.center.security.email.tab"),bind:()=>e("lobby.center.security.email.tab")},[C.GA]:{key:C.GA,title:()=>e("lobby.formItems.ga.title.default"),label:()=>e("lobby.formItems.ga.title.default"),bind:()=>e("lobby.formItems.ga.title.default")},[C.LOGINPASS]:{key:C.LOGINPASS,title:()=>e("lobby.center.security.loginPwd.tab"),label:()=>e("lobby.center.security.loginPwd.tab"),bind:()=>e("lobby.center.security.loginPwd.tab")},[C.WITHDRAWPASS]:{key:C.WITHDRAWPASS,title:()=>It([[o.isClubManager,e("lobby.club.security.withdrawalPwd.tab")]],e("lobby.center.security.withdrawalPwd.tab")),label:()=>It([[o.isClubManager,e("lobby.club.security.withdrawalPwd.tab")]],e("lobby.center.security.withdrawalPwd.tab")),bind:()=>It([[o.isClubManager,e("lobby.club.security.withdrawalPwd.tab")]],e("lobby.center.security.withdrawalPwd.tab"))},[C.QUESTION]:{key:C.QUESTION,title:()=>e("lobby.center.security.question.tab"),label:()=>e("lobby.center.security.question.tab"),bind:()=>e("lobby.center.security.question.tab")},[C.WEBAUTHN]:{key:C.WEBAUTHN,title:()=>e("lobby.center.security.webAuthn.label"),label:()=>e("lobby.center.security.webAuthn.label"),bind:()=>e("lobby.common.components.auth.webAuthn.name")},[C.THIRDPARTY]:{key:C.THIRDPARTY,title:()=>e("lobby.center.security.thirdWay.tab"),label:()=>e("lobby.center.security.thirdWay.tab"),bind:()=>e("lobby.center.security.thirdWay.tab")},[C.WITHDRAWACCOUNT]:{key:C.WITHDRAWACCOUNT,title:()=>e("lobby.center.security.WithdrawAccount.title"),label:()=>e("lobby.center.security.WithdrawAccount.title"),bind:()=>e("lobby.center.security.WithdrawAccount.title")},[C.REALNAME]:{key:C.REALNAME,title:()=>"",label:()=>"",bind:()=>""}}}function Pr(){const e=Ge(),o=xc(),s=()=>sessionStorage.getItem("abcdefg_open")||!e.siteCode?"":e.siteCode,i=()=>["025","033","213","961","2101","2537","2798"].includes(s())||o.isShutDownPhone.value,r=()=>["025","033","213","961","2798"].includes(s())||o.isShutDownEmail.value,a=()=>["025","033","213","961","2798"].includes(s()),c=()=>["025","033","213"].includes(s());
2return{omitPhone:i(),omitEmail:r(),omitGa:a(),omitThirdParty:c()}}function Rt(){const{validateConfigStatus:e}=wt(),{refActive:o}=Rs(),s=Be();return v(()=>{const i=e();return{bind:s.state.type===Ve.Bind,edit:s.state.type===Ve.Edit,verify:s.state.type===Ve.Verify,activePhone:o.value===C.PHONE,activeEmail:o.value===C.EMAIL,activeGa:o.value===C.GA,activeLoginpass:o.value===C.LOGINPASS,activeWithdrawpass:o.value===C.WITHDRAWPASS,activeQuestion:o.value===C.QUESTION,activeWebauthn:o.value===C.WEBAUTHN,activeThirdParty:o.value===C.THIRDPARTY,verifyPhone:s.state.verify===C.PHONE,verifyEmail:s.state.verify===C.EMAIL,verifyGa:s.state.verify===C.GA,verifyLoginpass:s.state.verify===C.LOGINPASS,verifyWithdrawpass:s.state.verify===C.WITHDRAWPASS,verifyQuestion:s.state.verify===C.QUESTION,verifyWebauthn:s.state.verify===C.WEBAUTHN,verifyThirdParty:s.state.verify===C.THIRDPARTY,isBinded:{phone:i[C.PHONE],email:i[C.EMAIL],ga:i[C.GA],loginPass:i[C.LOGINPASS],withdrawPass:i[C.WITHDRAWPASS],question:i[C.QUESTION]}}})}function Up(){const{t:e}=W(),o=U(),s=Be(),i=on({googleCode:""}),r=Rt(),a=ne(""),c=async(d,u)=>{if(r.value.isBinded.ga)return;const _=s.fields(d,u);i.googleCode=_.googleCode;try{await Mi({data:{code:i.googleCode}})}catch(g){return Promise.reject(g)}};return{apiVerify:c,apiModify:async(d,u)=>{const _=s.fields(d,u);s.isVerifyStage||(await c(),i.googleCode=_.googleCode,_.googleCode=void 0);try{await(r.value.isBinded.ga?()=>ki({data:{switch:0,secondVerify:qe(_,Ye)}}):()=>Di({data:{code:i.googleCode,secondVerify:qe(_,Ye)}}))(),a.value=r.value.isBinded.ga?e("lobby.formItems.ga.message.closeSuccess"):e("lobby.formItems.ga.message.openSuccess")}catch(g){const{SECURITY_CONFIG_EXPIRED:y}=H,{code:m}=be(g);return[y].includes(m)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(g)}},setFieldValue:async()=>{const{CLOSE:d,OPEN:u}=Pi;a.value&&await Oe.successSync({message:a.value}),o.updateUserInfos({is_open_google_auth:r.value.isBinded.ga?d:u})}}}function $p(){const{t:e}=W(),o=U(),s=Be(),i=qt(),{enableUsingSms:r,enableOTPRestrict:a}=Ct(),c=on({phone:"",code:""}),l=Rt(),p=ne(""),d=async(m,b)=>{const h=s.fields(m,b);if(c.phone=i.format(h.phone),c.code=h.phoneCode,!!a.value&&r.value)try{await Uc({data:{...c,username:s.username,scene:ks.VERIFY_PHONE}})}catch(S){const{code:f}=be(S);return[H.PHONE_CAPTCHA_EXPIRED,H.PHONE_CAPTCHA_EMPTY].includes(f)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(S)}};return{form:c,apiVerify:d,apiModify:async(m,b,h)=>{const S=s.fields(m,b);r.value||(S.phoneCode=void 0),s.isVerifyStage||(await d(),c.phone=i.format(S.phone),c.code=S.phoneCode,S.phone=void 0,S.phoneCode=void 0);try{await Yo({data:{phone:c.phone,phoneCode:c.code,secondVerify:qe(S,Ye)}},h!=null&&h.suppressClosedCodeToast?{error:{actionExcludes:[H.SECURITY_PHONE_CLOSED,H.PHONE_CLOSED]}}:void 0),p.value=l.value.isBinded.phone?e("lobby.formItems.phone.success.editor"):e("lobby.formItems.phone.success.bind")}catch(f){const{code:E}=be(f);return[H.PHONE_CAPTCHA_EXPIRED,H.PHONE_CAPTCHA_EMPTY].includes(E)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(f)}},apiVerification:async(m,b,h)=>{const S=s.fields(m,b);r.value||(S.phoneCode=void 0),c.phone=i.format(S.phone),c.code=S.phoneCode;try{await Yo({data:{phone:c.phone,phoneCode:c.code,action:Ps.Verify}},h!=null&&h.suppressClosedCodeToast?{error:{actionExcludes:[H.SECURITY_PHONE_CLOSED,H.PHONE_CLOSED]}}:void 0),p.value=e("lobby.formItems.phone.success.verify")}catch(f){const{code:E}=be(f);return[H.PHONE_CAPTCHA_EXPIRED,H.PHONE_CAPTCHA_EMPTY].includes(E)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(f)}},setFieldValue:async()=>{p.value&&await Oe.successSync({message:p.value});const{Verified:m,NotVerify:b}=jt,h=o.userInfos;h.mobile_phone=Bi(c.phone),h.permissionOpt.hasPhone=!!c.phone,h.is_verified=c.code&&r.value?m:b,o.setUserInfos(h)},updateValidated:()=>{o.updateUserInfos({is_verified:jt.Verified})}}}function Hp(){const{t:e}=W(),o=U(),s=Be(),i=on({withdraw_pass:""}),r=oi("withdrawPass"),a=Rt(),c=ne(""),l=async(u,_)=>{const g=s.fields(u,_);i.withdraw_pass=g.withdrawPass;try{await Ui({data:i})}catch(y){const{SECURITY_CONFIG_EXPIRED:m}=H,{code:b,msg:h}=be(y);return[m].includes(b)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):(b===H.SECURITY_PASSWORD_EQUAL&&r(h),Promise.reject(y))}};return{form:i,apiVerify:l,apiModify:async(u,_)=>{const g=s.fields(u,_);s.isVerifyStage||(await l(),i.withdraw_pass=g.withdrawPass,Reflect.set(g,"withdrawPass",void 0));try{await xi({data:{withdraw_pass:i.withdraw_pass,secondVerify:qe(g,Ye)}}),c.value=a.value.isBinded.withdrawPass?It([[s.isClubManager,e("lobby.club.security.withdrawalPwd.update.success")]],e("lobby.center.security.withdrawalPwd.update.success")):It([[s.isClubManager,e("lobby.club.security.withdrawalPwd.bind.success")]],e("lobby.center.security.withdrawalPwd.bind.success"))}catch(y){const{SECURITY_CONFIG_EXPIRED:m}=H,{code:b}=be(y);return[m].includes(b)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(y)}},setFieldValue:async()=>{c.value&&await Oe.successSync({message:c.value});const u=o.userInfos;u.permissionOpt.hasWithdrawPasswd=!0,u.changeWithdrawPassword=St.CLOSE,o.setUserInfos(u),o.updateWithdrawPasswordStatus(St.CLOSE)}}}function jp(){const{t:e}=W(),o=U(),s=Be(),i=on({id:0,answer:""}),r=Rt(),a=ne("");return{apiVerify:async(d,u)=>{const _=s.fields(d,u);i.id=_.passQuestionId,i.answer=_.passQuestionAnswer},apiModify:async(d,u)=>{const _=s.fields(d,u);s.isVerifyStage||(i.id=_.passQuestionId,i.answer=_.passQuestionAnswer,_.passQuestionId=void 0,_.passQuestionAnswer=void 0);try{await(r.value.isBinded.question?()=>$i({data:{id:i.id,answer:i.answer,secondVerify:qe(_,Ye)}}):()=>Hi({data:{id:i.id,answer:i.answer,secondVerify:qe(_,Ye)}}
2))(),a.value=r.value.isBinded.question?e("lobby.center.security.question.update.success"):e("lobby.center.security.question.bind.success")}catch(g){const{SECURITY_CONFIG_EXPIRED:y}=H,{code:m}=be(g);return[y].includes(m)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(g)}},setFieldValue:async()=>{a.value&&await Oe.successSync({message:a.value});const d=o.userInfos;d.permissionOpt.hasSecurityQuestion=!0,o.setUserInfos(d)}}}function Gp(){const{t:e}=W(),o=Be(),{editFillArray:s}=ji(),i=on({loginPass:""}),r=oi("loginPass"),a=ne(""),c=async(d,u)=>{const _=o.fields(d,u);i.loginPass=_.loginPass;try{await Wi({data:{login_pass:i.loginPass}})}catch(g){const{code:y,msg:m}=be(g);return[H.SECURITY_CONFIG_EXPIRED,H.CONFIG_CHANGE_PASSWORD_FORMAT_ERR].includes(y)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject(g)):(y===H.SECURITY_PASSWORD_EQUAL&&r(m),Promise.reject(g))}};return{form:i,apiVerify:c,apiModify:async(d,u)=>{const _=o.fields(d,u);if(!o.isVerifyStage)try{await c(),i.loginPass=_.loginPass,_.loginPass=void 0}catch(g){return Promise.reject()}try{await Gi({data:{oldpass:_.loginPass,newpass:i.loginPass,secondVerify:qe(_,Ye)}}),a.value=e("lobby.center.security.loginPwd.update.success")}catch(g){const{code:y}=be(g);return[H.SECURITY_CONFIG_EXPIRED,H.CONFIG_CHANGE_PASSWORD_FORMAT_ERR].includes(y)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(g)}},setFieldValue:async()=>{s({userpass:i.loginPass}),a.value&&Oe.successSync({message:a.value})}}}function Wp(){const{t:e}=W(),o=Be(),s=U(),{enableUsingEmail:i}=Ct(),r=on({email:"",code:""}),a=Rt(),c=ne(""),l=async(g,y)=>{const m=o.fields(g,y);if(r.email=m.email,r.code=m.emailCode,!!i.value)try{await $c({data:{...r,username:o.username,scene:ks.VERIFY_EMAIL}})}catch(b){const{EMAIL_CAPTCHA_EXPIRED:h,EMAIL_CAPTCHA_EMPTY:S}=H,{code:f}=be(b);return[h,S].includes(f)&&!i.value?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(b)}};return{form:r,apiVerify:l,apiModify:async(g,y,m)=>{const b=o.fields(g,y);i.value||(b.emailCode=void 0),o.isVerifyStage||(await l(),r.email=b.email,r.code=b.emailCode,b.email=void 0,b.emailCode=void 0);try{await Ko({data:{email:r.email,code:r.code,secondVerify:qe(b,Ye)}},m!=null&&m.suppressClosedCodeToast?{error:{actionExcludes:[H.SECURITY_EMAIL_CLOSED,H.EMAIL_CLOSED]}}:void 0),c.value=a.value.isBinded.email?e("lobby.formItems.email.success.editor"):e("lobby.formItems.email.success.bind")}catch(h){const{EMAIL_CAPTCHA_EXPIRED:S,EMAIL_CAPTCHA_EMPTY:f}=H,{code:E}=be(h);return[S,f].includes(E)&&!i.value?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(h)}},apiVerification:async(g,y,m)=>{const b=o.fields(g,y);i.value||(b.emailCode=void 0),r.email=b.email,r.code=b.emailCode;try{await Ko({data:{email:r.email,code:r.code,action:Ps.Verify}},m!=null&&m.suppressClosedCodeToast?{error:{actionExcludes:[H.SECURITY_EMAIL_CLOSED,H.EMAIL_CLOSED]}}:void 0),c.value=e("lobby.formItems.email.success.verify")}catch(h){const{EMAIL_CAPTCHA_EXPIRED:S,EMAIL_CAPTCHA_EMPTY:f}=H,{code:E}=be(h);return[S,f].includes(E)&&!i.value?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(h)}},setFieldValue:async()=>{const{Verified:g,NotVerify:y}=jt;c.value&&await Oe.successSync({message:c.value}),s.updateUserInfos({email:zi(r.email),emailVerified:r.code&&i.value?g:y})},updateValidated:()=>{s.updateUserInfos({emailVerified:jt.Verified})}}}const kr={googleAuth:C.GA,phone:C.PHONE,email:C.EMAIL,question:C.QUESTION,webauthn:C.WEBAUTHN,loginPass:C.LOGINPASS,withdraw:C.WITHDRAWPASS},Oo=e=>{const o=[];for(const[s,i]of Object.entries(e)){if(!i)continue;const r=kr[s];r!==void 0&&!o.includes(r)&&o.push(r)}return o},li=e=>{const{code:o}=be(e),s=ze(e,"data.extra");if(o!==H.CONFIG_CHANGE_ERR_1||!(s!=null&&s.verifyMethods))return null;const i=Oo(s.verifyMethods);return i.length?i:null},Jo=e=>{const o=li(e);if(!o)return null;const{msg:s}=be(e);return s&&Oe.error(s),o};function zp(){const e=U(),o=Be(),{refActive:s}=Rs(),i=on({onVerify:void 0,onModify:void 0}),r=ne([]),a=v(()=>e.isDemoMode?!1:r.value.length>0),c=v(()=>r.value),l=v(()=>{var h;if(e.isDemoMode)return!1;const m=s.value;if(m===void 0)return!1;const b=(h=o.securityStatusMap[m])==null?void 0:h.verifyMethods;return!!b&&Oo(b).length>0}),p=m=>{r.value=m};return{verifys:c,needVerify:a,preNeedVerify:l,submit:()=>{var m;(m=i.onModify)==null||m.call(i)},onVerify:m=>{i.onVerify=m},onModify:m=>{i.onModify=m},setServerVerifys:p,resetServerVerifys:()=>{r.value=[]},handleServerVerifyError:m=>{const b=li(m);return b?(p(b),o.state.type=Ve.Verify,o.state.verify=b[0],!0):!1}}}function Dr(e){const{t:o}=W(),s=Be(),i=U(),{back:r}=Le(),a=Ds(),c=ne(),l=async(_,g)=>{const y=s.fields(_,g);try{await Bs({data:{info_type:xs.WEBAUTHN,firstVerify:qe(y,Ye)}}),c.value=qe(y,Ye)}
2catch(m){const{SECURITY_CONFIG_EXPIRED:b,CONFIG_CHANGE_ERR_1:h}=H,{code:S}=be(m);return[b,h].includes(S)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(m)}},p=async _=>{var y,m,b;if(!Et(_,C.WEBAUTHN)||((y=i.userInfos)==null?void 0:y.webauthnSwitch)===St.OPEN)return!1;if(!i.isDemoMode){const h=s.securityStatusLoaded?Oo((b=(m=s.securityStatusMap[C.WEBAUTHN])==null?void 0:m.verifyMethods)!=null?b:{}):null;if(h!==null?h.length>0:wt().securityConfig().verifys.length>0)return!1}const g=await d();return g==="failure"?!0:g==="success"?!1:await p(_)},d=async(_,g)=>{try{await Qo({...await tt.create(),switch:Uo.OPEN,secondVerify:c.value},_);const y=i.userInfos;return y.webauthnSwitch=St.OPEN,i.setUserInfos(y),Xo().setStatus(!0),await new Promise(m=>{g||m(null),$o.openBindSuccess(()=>{m(null),me("SECURITY_WEBAUTHN_STATUS").emit({binded:!0})})}),"success"}catch(y){const{SECURITY_CONFIG_EXPIRED:m,CONFIG_CHANGE_ERR_1:b}=H,{code:h,msg:S}=be(y);if(S.includes("NotSupport"))return Oe.error(o("lobby.center.security.webAuthn.deviceNotSupported")),Promise.reject();if(e!=null&&e.onServerVerify){const f=Jo(y);if(f)return e.onServerVerify(f,"bind"),Promise.reject()}return[m,b].includes(h)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):new Promise(f=>{var I;let E;try{E=(I=JSON.parse(y))==null?void 0:I.message}catch(A){E=void 0}$o.openBindFail(E,A=>{A==="confirm"?f("retry"):(Ms.error(y),f("failure"))})})}};return{apiVerify:l,checkBinding:p,apiBind:d,apiUnBind:async()=>{var _,g;try{await tt.remove(),await Qo({switch:Uo.CLOSE,secondVerify:c.value});const y=i.userInfos;y.webauthnSwitch=St.CLOSE,i.setUserInfos(y),await Oe.successSync(o("lobby.center.security.webAuthn.unBind.success")),Xo().setStatus(!1),(_=a.stateMap.securityDialogBinding)!=null&&_.visible?me("SECURITY_WEBAUTHN_STATUS").emit({binded:!1}):r()}catch(y){if(e!=null&&e.onServerVerify){const b=Jo(y);if(b)return e.onServerVerify(b,"unbind"),Promise.reject(y)}const{code:m}=be(y);if(m===H.THIRD_PARTY_LOGIN_UNBIND_ERROR){(g=a.stateMap.securityDialogBinding)!=null&&g.visible?me("SECURITY_WEBAUTHN_STATUS").emit({binded:!1}):r();return}return Promise.reject(y)}}}}function Mr(){const e=Be(),o=ne();return{apiVerify:async(a,c)=>{const l=e.fields(a,c);try{await Bs({data:{info_type:xs.THIRD_BIND,firstVerify:qe(l,Ye)}}),o.value=qe(l,Ye)}catch(p){const{SECURITY_CONFIG_EXPIRED:d}=H,{code:u}=be(p);return[d].includes(u)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(p)}},getList:async(a=!0)=>{var l;const[,c]=await Jt(Fi({cache:{useCache:a,setCache:!0}}));e.setThirdPartys((l=c==null?void 0:c.data.data)!=null?l:[])},unBind:async a=>{try{await Vi({data:{thirdType:a,secondVerify:o.value}})}catch(c){const{SECURITY_CONFIG_EXPIRED:l}=H,{code:p}=be(c);return[l].includes(p)?(me("CONFIG_CHANGE_ERR").emit(),Promise.reject()):Promise.reject(c)}}}}const Br="_menu_tp1e7_91",xr="_list_tp1e7_97",Ur="_item_tp1e7_108",$r="_disabled_tp1e7_128",Hr="_leftIcon_tp1e7_134",jr="_gray_tp1e7_140",Gr="_green_tp1e7_143",Wr="_blue_tp1e7_146",zr="_red_tp1e7_152",Vr="_labelWrap_tp1e7_155",Fr="_labelRedDot_tp1e7_158",qr="_label_tp1e7_155",Yr="_right_tp1e7_182",Kr="_account_tp1e7_187",Qr="_copyAccount_tp1e7_191",Xr="_suffix_tp1e7_196",Zr="_binded_tp1e7_201",Jr="_third_tp1e7_204",ea="_thirdIcon_tp1e7_209",na="_bindVerify_tp1e7_216",ta="_bindUnVerify_tp1e7_219",oa="_arrows_tp1e7_222",fn={menu:Br,list:xr,item:Ur,disabled:$r,leftIcon:Hr,gray:jr,green:Gr,blue:Wr,red:zr,labelWrap:Vr,labelRedDot:Fr,label:qr,right:Yr,account:Kr,copyAccount:Qr,suffix:Xr,binded:Zr,third:Jr,thirdIcon:ea,bindVerify:na,bindUnVerify:ta,arrows:oa};function sa(e){const o=ho(),s=Rr(),{t:i}=W(),{rewards:r}=eo(),a=Pr(),c=Be(),l=yn(),p=qt(),d=or(),{enableModifyPhone:u,enableModifyEmail:_,enableUsingSms:g,enableUsingEmail:y,enableOTPRestrict:m}=Ct(),{validateConfigStatus:b}=wt(),h=U(),{PHONE:S,EMAIL:f,GA:E,LOGINPASS:I,WITHDRAWPASS:A,QUESTION:L,WEBAUTHN:T,THIRDPARTY:G}=C;e=wc({},{thirdParty:!0},e),h.isPureNormalMode&&Mr().getList();const ie=()=>{var Ue;const O=(Ue=l.systemInfos)==null?void 0:Ue.securityVerify,M=[];return O!=null&&O.securityPhone&&M.push(i("lobby.modal.login.form.phone.label")),O!=null&&O.securityEmail&&M.push(i("lobby.center.security.email.tab")),O!=null&&O.securityGoogle&&M.push(i("lobby.center.security.ga.tab")),O!=null&&O.securityPassQuestion&&M.push(i("lobby.common.components.auth.question.label")),tt.enable&&(O!=null&&O.securityWebauthn)&&M.push(i("lobby.common.components.auth.webAuthn.name")),M},K=O=>{Qi.showDialog({title:()=>i("lobby.receiveModal.kindTips"),message:()=>O.length===1?i("lobby.center.security.forceBindTitle",{bindItem:O==null?void 0:O.join()}):i("lobby.center.security.forceBindItemTitle",{bindItem:O==null?void 0:O.join("/"),length:1})})},P=O=>{const M=()=>{const{type:at,canVerify:Pt}
2=d.statusPhone.value,bn=at===Fe.UN_VERIFICATION;if(!(Se.value&&!bn)){if(Se.value){Oe({type:"error",message:i("lobby.center.security.phone.verify.notWork")});return}bn&&!Pt&&Oe({type:"error",message:i("lobby.center.security.phone.verify.g2Update")})}},Ue=()=>{const{type:at,canVerify:Pt}=d.statusEmail.value,bn=at===Fe.UN_VERIFICATION;if(!(rn.value&&!bn)){if(rn.value){Oe({type:"error",message:i("lobby.center.security.email.verify.notWork")});return}bn&&!Pt&&Oe({type:"error",message:i("lobby.center.security.email.verify.g2Update")})}};if(O.key===C.PHONE)return M();if(O.key===C.EMAIL)return Ue()},z=async O=>{if(P(O),O.disabled)return!1;if(!c.securityStatusLoaded){Oe.loading({duration:0,overlay:!0});try{await c.ensureSecurityStatus()}catch(M){}finally{Yi()}}if(c.isSecurityAssetProtectForbidden(O.key)&&!d.canEnterVerifyFlow(O.key))return si().showContactServiceDialog(),!1;if(c.isSecurityForceBindForbidden(O.key))return K(ie()),!1;if(O.key===C.PHONE||O.key===C.EMAIL){if(O.key===C.PHONE?Se.value:rn.value)return!1}else if(c.isSecurityModifyForbidden(O.key))return!1;return!(Ki().disableOperate()||await Dr().checkBinding(O.key))},J=v(()=>({[C.PHONE]:m.value?[r.value[Ae.SMSValid],r.value[Ae.BindPhone]]:[r.value[Ae.BindPhone]],[C.EMAIL]:r.value[Ae.BindEmail],[C.GA]:r.value[Ae.SetGa],[C.WITHDRAWPASS]:r.value[Ae.SetWithdrawalPin],[C.QUESTION]:r.value[Ae.SetQuestion],[C.WEBAUTHN]:void 0,[C.THIRDPARTY]:Lc([r.value[Ae.ThirdParty],c.thirdPartyConfig.some(M=>M.name===yo.Nowallet)?r.value[Ae.CompleteNo]:void 0])})),Se=v(()=>{if(!u.value||c.isSecurityForbidden(S)){const O=d.statusPhone.value.type,M=p.codeIncludes(o.value.mobile_phone);return!(O==="unadd"||O==="unverification"&&M&&g.value)}return!1}),rn=v(()=>{if(!_.value||c.isSecurityForbidden(f)){const O=d.statusEmail.value.type;return!(O==="unadd"||O==="unverification"&&y.value)}return!1}),bi=v(()=>qi().clubInfo.value.isClubMember),vi=v(()=>{const O=b();return[{key:S,supported:!a.omitPhone},{key:f,supported:!a.omitEmail},{key:E,supported:!a.omitGa},{key:I,supported:!0},{key:A,supported:!0},{key:L,supported:!0},{key:T,supported:tt.enable},{key:G,supported:!a.omitThirdParty&&!po.isActivated&&!!c.thirdPartyConfig.length}].filter(Ue=>Ue.supported).map(Ue=>({icon:Ue.key,binded:Ue.key===f?O[Ue.key]&&d.statusEmail.value.type===Fe.VERIFICATION:O[Ue.key]}))}),Mo=v(()=>{var bn;const O=b(),M=(bn=e.suffixs)==null?void 0:bn.call(e,O),{statusEmail:Ue,statusPhone:at}=d;return[[{key:s[C.USER].key,title:s[C.USER].title,label:s[C.USER].label,suffix:M==null?void 0:M[C.USER],icon:{src:"/lobby_asset/common/web/common/input_icon_zh.svg",class:[fn.gray]},hidden:!1,disabled:!0,redDot:!1},{key:s[S].key,title:s[S].title,label:s[S].label,suffix:M==null?void 0:M[S],icon:{src:"/lobby_asset/common/web/common/input_icon_sj.svg",class:[fn.blue]},hidden:!1,omitted:a.omitPhone,disabled:Se.value,badge:Se.value?void 0:J.value[S],redDot:at.value.type===Fe.UN_ADD},{key:s[f].key,title:s[f].title,label:s[f].label,suffix:M==null?void 0:M[f],icon:{src:"/lobby_asset/common/web/common/input_icon_yj2.svg",class:[fn.gray]},hidden:!1,omitted:a.omitEmail,disabled:rn.value,badge:rn.value?void 0:J.value[f],redDot:Ue.value.type===Fe.UN_ADD},{key:s[E].key,title:s[E].title,label:s[E].label,suffix:M==null?void 0:M[E],icon:{src:"/lobby_asset/common/common/profile/icon_wd_ggyz_b.png"},hidden:!1,omitted:a.omitGa,disabled:!1,badge:J.value[E],redDot:!O[E]}],[{key:s[I].key,title:s[I].title,label:s[I].label,suffix:M==null?void 0:M[I],icon:{src:"/lobby_asset/common/web/common/input_icon_yz.svg",class:[fn.green]},hidden:!1,disabled:!1,redDot:!1},{key:s[A].key,title:s[A].title,label:s[A].label,suffix:M==null?void 0:M[A],icon:{src:"/lobby_asset/common/web/common/input_icon_card.svg",class:[fn.red]},hidden:!1,disabled:!1,badge:J.value[A],redDot:!O[A]},{key:s[L].key,title:s[L].title,label:s[L].label,suffix:M==null?void 0:M[L],icon:{src:"/lobby_asset/common/web/common/input_icon_mb.svg",class:[fn.green]},hidden:!1,disabled:!1,badge:J.value[L],redDot:!O[L]},{key:s[T].key,title:s[T].title,label:s[T].label,suffix:M==null?void 0:M[T],icon:{src:"/lobby_asset/common/web/common/input_icon_swsb.svg",class:[fn.blue]},hidden:!tt.enable,disabled:!1,badge:J.value[T],redDot:!O[T]}],[{key:s[G].key,title:s[G].title,label:s[G].label,suffix:M==null?void 0:M[G],icon:{src:"/lobby_asset/common/web/common/input_icon_dsfbd.svg",class:[fn.blue]},hidden:po.isActivated||!c.thirdPartyConfig.length,omitted:a.omitThirdParty,disabled:!1,badge:J.value[G]}]].map(hi=>hi.filter(Kn=>!Kn.hidden).map(Kn=>c.isSecurityForbidden(Kn.key)&&![S,f].includes(Kn.key)?{...Kn,disabled:!0,badge:void 0}:Kn))}),fi=v(()=>Mo.value.map(O=>O.filter(M=>!M.hidden&&!M.omitted))),Ei=v(()=>Mo.value.map(O=>O.filter(M=>!M.hidden)));return{clubHiddenWithdrawpass:bi,disablePhone:Se,disableEmail:rn,onPre:z,entryStatusList:vi,list:fi,dialogList:Ei}}const Ro=()=>{const{rewards:e}=eo(),o=Me(),s=yn(),i=U(),r=Co(),{setAvatar:a,setBirthday:c,verifyEmail:l,addPhoneNoVerify:p,addSocialAcc:d,smsVerify:u}=We,_={wechat:Ae.BindWechat,whatsapp:Ae.BindWhatsApp,facebook:Ae.BindFacebook,telegram:Ae.BindTelegram,zalo:Ae.BindZalo,line:Ae.BindLine,twitter:Ae.BindTwitter},g=v(()=>{var E;if(i.hasLogined)return e.value;const S=((E=r.newBenefitsBeforeLogin)==null?void 0:E.list)||[],f={};for(const I of S)f[I.bindType]={...r.getRedDotBeforeLogin(I.bindType)};return f}),y=v(()=>{var f,E,I;const S=Object.entries(Xi).filter(([A,L])=>{var T;return((T=s.systemInfos)==null?void 0:T[L])===kt.OPEN}).map(([A])=>_[A]).filter(A=>A!=null);return{[c]:!0,[a]:!0,[l]:((f=s.systemInfos)==null?void 0:f.userEmailSwitch)===kt.OPEN,[p]:((E=s.systemInfos)==null?void 0:E.userPhoneSwitch)===kt.OPEN,[u]:((I=s.systemInfos)==null?void 0:I.userPhoneSwitch)===kt.OPEN,[d]:S}}),m=S=>{let f=0,E=0;for(const A of S){const L=A.bindTypeAward||[0,0];f=Gt(f,L[0]),E=Gt(E,L[1])}if(f===0&&E===0)return null;const I=To([f,E],!1);return I==null?null:String(I).includes("-")?String(I):`+${I}`},b=v(()=>{if(!o.isShowDiscount||!o.getRedDotStatus(Us.TASK))return;const S=Object.entries(y.value).reduce((f,[E,I])=>{var L;if(!I||Array.isArray(I)&&I.length===0)return f;const A=g.value[Number(E)];if(!(A!=null&&A.isPop)||!(A!=null&&A.reward))return f;if(Number(E)===d&&Array.isArray(I)){const T=((L=$s(A.content))==null?void 0:L.bindTypes)||[];I.some(ie=>T.includes(ie))&&f.push(A)}else f.push(A);return f},[]);return m(S)}),h=v(()=>!!b.value);return{totalProfileReward:b,showSettingDot:h,effectiveRewards:g}},ia=()=>{const{entryStatusList:e}=sa(),o=Me(),{totalProfileReward:s,showSettingDot:i,effectiveRewards:r}=Ro(),a={[C.PHONE]:[We.addPhoneNoVerify,We.smsVerify],[C.EMAIL]:We.verifyEmail,[C.GA]:We.setupGoogleAuth,[C.WITHDRAWPASS]:We.setWithdrawPwd,[C.QUESTION]:We.setSecurityQA,[C.THIRDPARTY]:[We.bindQuickLogin,We.completeNo],[C.WEBAUTHN]:We.bindBiometric},{thirdPartyEnables:c}=ei("security"),l=u=>{let _=0,g=0;for(const m of u){const b=m.bindTypeAward||[0,0];_=Gt(_,b[0]),g=Gt(g,b[1])}if(_===0&&g===0)return null;const y=To([_,g],!1);return y==null?null:String(y).includes("-")?String(y):`+${y}`},p=v(()=>{if(!o.isShowDiscount||!o.getRedDotStatus(Us.TASK))return;const u=c.value.some(m=>m.name===yo.Nowallet),_=c.value.some(m=>m.name!==yo.Nowallet),g=[...e.value];!g.some(m=>m.icon===C.THIRDPARTY)&&(u||_)&&g.push({icon:C.THIRDPARTY,binded:!0});const y=g.filter(m=>m.icon===C.THIRDPARTY?u||_:m.icon===C.PHONE?!0:!m.binded).reduce((m,b)=>{const h=a[b.icon];if(h==null)return m;const S=Array.isArray(h)?h:[h];for(const f of S){if(b.icon===C.THIRDPARTY&&(f===We.completeNo&&!u||f===We.bindQuickLogin&&!_))continue;const E=r.value[f];E!=null&&E.isPop&&(E!=null&&E.reward)&&m.push(E)}return m},[]);return l(y)}),d=v(()=>!!p.value);return{totalSecurityReward:p,totalProfileReward:s,showSettingDot:i,showSecurityDot:d}},ca="_icon_4zj8j_91",ra="_combinIcon_4zj8j_97",es={icon:ca,combinIcon:ra},[aa]=ae("icon"),je=N({name:aa,props:{icon:{type:[String,Array],required:!0},size:{type:Number,required:!1,default:40},iconPath:{type:String,default:""},useSkeleton:{type:Boolean,default:!1}},setup(e){const o=(i,r)=>{if(!i)return;const a={};return r&&(a.color=r),e.size&&(a.fontSize=He(e.size)),i.includes(".svg")||(a.width=He(e.size),a.height=He(e.size)),t(x,{style:a,useSkeleton:e.useSkeleton,src:`${e.iconPath}${i}`},null)},s=v(()=>Array.isArray(e.icon)&&(e==null?void 0:e.icon.length)>1);return()=>{var r,a;const i=Array.isArray(e.icon)?e.icon.map(c=>o(c.icon,c.color)):o(e.icon);return t("div",{style:{width:(r=He(e.size))!=null?r:40,height:(a=He(e.size))!=null?a:4
20},class:[es.icon,s.value?es.combinIcon:""]},[i])}}}),la=R(()=>w(()=>import("./AboutUsTitle.dfBQDFzu.js"),__vite__mapDeps([0,1,2,3,4,5,10,11]))),ua=R(()=>w(()=>import("./IconLanguangeIndex.C8rH7DvX.js"),__vite__mapDeps([0,1,2,3,4,5]))),_a=()=>{const e=Le(),o=U(),s=Ge(),{navigateToQuestionPage:i}=Hs(),{t:r}=W(),a=ge(),c=Zi(),l=Qe(),{homeLayoutInfos:p}=yn(),{openMiddleDownloadDialog:d}=Ji(),u=ec(),{totalSecurityReward:_,totalProfileReward:g,showSettingDot:y,showSecurityDot:m}=ia(),b=v(()=>{var I,A;return(A=(I=p==null?void 0:p.baseConfig)==null?void 0:I.appMyPage)==null?void 0:A.toString()}),h=js(),S=Gs(),f=v(()=>{var I,A;return((A=(I=o.userInfos)==null?void 0:I.account_type)!=null?A:go.Try)===go.Try}),E=I=>b.value===ce.MODE6?52:I!=null?I:46;return{[n.SWITCH_ACCOUNT]:{key:n.SWITCH_ACCOUNT,title:()=>r("lobby.header.menus.switchAccount"),icon:"style_1_icon_list_qhzh",path:"/lobby_asset/common/common/profile/",click:()=>gn().openSwitchAccount(),hidden:()=>bo()||!h.refOptions.value.switch.temporary&&!h.refOptions.value.switch.ordinary},[n.LOGINOUT]:{key:n.LOGINOUT,title:()=>r("lobby.header.menus.logout"),icon:"style_1_icon_list_aqtc",click:()=>tc(),hidden:()=>!o.hasLoginedComponent||bo()||o.isTemporaryAccountMode||po.isActivated},[n.DEVICE_INFO]:{key:n.DEVICE_INFO,title:()=>r("lobby.center.deviceInfo.title"),icon:"style_1_icon_list_dlsb",isLogin:!0,click:()=>e.push({name:D.DEVICE_INFO})},[n.ABOUT_US]:{key:n.ABOUT_US,title:()=>se(la),icon:"style_1_icon_list_gywm",click:()=>{e.push({name:D.ABOUT_US})},hidden:()=>{var I;return((I=s.brandLogoInfos)==null?void 0:I.aboutUsStatus)!==1||re.enable}},[n.COMMONQUESTION]:{key:n.COMMONQUESTION,title:()=>r("lobby.service.commonQuestion"),icon:"style_1_icon_list_cjwt",hidden:re.enable,click:()=>i()},[n.CURRENCY]:{key:n.CURRENCY,title:()=>r("lobby.mine.itemList.selectCurrency"),icon:"style_1_icon_list_xzbz.svg",hidden:()=>S.siteCurrencyList.length<=1&&f.value||o.hasLoginedComponent,click:()=>Tt().openDialog("switchCurrency",{openType:"overlay"})},[n.LANUANGE]:{key:n.LANUANGE,title:()=>r("lobby.mine.itemList.selectLanguage"),icon:"style_1_icon_list_xzyy.svg",extra:()=>se(ua),hidden:()=>a.langsList.length<=1,click:()=>Tt().openDialog("switchLang",{openType:"overlay"})}
2,[n.SECURITY]:{key:n.SECURITY,title:()=>r("lobby.header.menus.security"),icon:"style_1_icon_list_aqzx",isLogin:!0,click:()=>e.push({name:D.SECURITY}),userDefined:{showRedDot:()=>m.value,badgeProps:()=>({content:_.value,backgroundColor:"var(--skin__accent_1)",position:"top-right"})}},[n.SETTINGS]:{key:n.SETTINGS,title:()=>r("lobby.header.menus.settings"),icon:"style_1_icon_list_grzl",isLogin:!0,click:()=>e.push({name:D.SETTING}),userDefined:{showRedDot:()=>y.value,badgeProps:()=>({content:g.value,backgroundColor:"var(--skin__accent_1)",position:"top-right"})}},[n.FORBIDDENSELF]:{key:n.FORBIDDENSELF,title:()=>r("lobby.center.forbiddenSelf.title"),icon:"style_1_icon_list_zwjz",isLogin:!0,click:()=>e.push({name:D.FORBIDDEN_SELF}),hidden:()=>!s.isForbiddenSelfShow.isMineHidden||re.enable||o.isDemoMode},[n.MOMENTS]:{key:n.MOMENTS,title:()=>c.plazzaTitle,icon:"style_2_icon_mid_fx",click:()=>e.push({name:D.PLAZZA}),hidden:()=>!c.isShowPlazza,userDefined:{showRedDot:()=>c.isShowDot}},[n.GOSSIP]:{key:n.GOSSIP,title:()=>s.gossipName,icon:"style_1_icon_cgw",path:"/lobby_asset/common/common/profile/",iconRender:s.gossipIcon?I=>se(je,{icon:s.gossipIcon,class:"icon icon_cgw",size:E(I==null?void 0:I.iconSize)}):void 0,click:()=>nc(),hidden:()=>!s.isShowGossip},[n.NIGHTMODE]:{key:n.NIGHTMODE,title:()=>l.menuTitle,click:()=>l.menuClick(),hidden:()=>l.menuHidden,userDefined:{icon:()=>l.isDark?"style_1_icon_list_rjms.svg":"style_1_icon_list_yjms.svg"}},[n.DOWNLOAD]:{key:n.DOWNLOAD,title:()=>r("lobby.tabbar.download"),icon:"icon_sy_zc_xz",click:()=>d(),hidden:()=>!!u.isHiddenAppEnter}}},da=()=>function(){return{}},ma=()=>{Co().getNewComerBenefitAfterLogin();const{ownerBottomIconMap:e}=pn.useOwnerCustomizeIcon(),o={...ur(),...Or(),..._a(),...Nr()},s=Object.keys(o),{getMenuListByKeys:i}=ai({},o),r=da(),a=v(()=>i(s).map(p=>({...p,hidden:!1})));return{allMenuList:a,filterMenu:(p,d)=>{const u=r();return p.reduce((_,g)=>{var S,f;const y=typeof g=="string",m=y?g:g==null?void 0:g.key,b=a.value.find(E=>E.key===m);let h=(S=d[m])!=null?S:{};if(b){typeof h=="string"&&(h={icon:h});const E=y?void 0:g,I={...b,...h,...E,...u[m]};I.badgeProps&&(I.badgeProps={...b.badgeProps,...h.badgeProps,...E==null?void 0:E.badgeProps,...(f=u[m])==null?void 0:f.badgeProps}),_.push(I)}return _},[]).filter(_=>!_.hidden&&(typeof _.onFilter=="function"?_.onFilter():!0))},getHallIcon:(p,d=e)=>({[n.PROMOTE]:d.get("promoteIcon"),[n.SHARE_EARN]:d.get("promoteIcon"),[n.ACCOUNT_DETAILS]:d.get("accountDetailsIcon"),[n.SECURITY]:d.get("securityIcon"),[n.ABOUT_US]:d.get("aboutUsIcon"),[n.LANUANGE]:d.get("languageIcon"),[n.FEEDBACK]:d.get("feedbackIcon"),[n.LOGINOUT]:d.get("securityLogoutIcon"),[n.COMMONQUESTION]:d.get("commonProblemIcon"),[n.MOMENTS]:d.get("findIcon"),[n.AGENT_APPLY]:d.get("applicationAgentIcon"),[n.BLINDBOX_LOTTERY]:d.get("blindBoxIcon"),[n.FINDUS]:d.get("findUsIcon"),[n.FORBIDDEN_SELF]:d.get("selfRestraintIcon"),[n.CLUB_APPLY]:d.get("cooperativeVentureIcon"),[n.KYC]:d.get("IdentityAuthIcon"),[n.DEVICE_INFO]:d.get("loginDeviceIcon"),[n.SWITCH_ACCOUNT]:d.get("switchAccountIcon"),[n.BETTING_RECORD]:d.get("betIcon"),[n.WITHDRAWMANAGEMENT]:d.get("withdrawManageIcon"),[n.REPORT_DETAILS
2]:d.get("myRecordsIcon"),[n.PERSONAL_STATMENT]:d.get("reportIcon"),[n.YUEBAO]:d.get("yueBaoIcon"),[n.RECHARGE_FUND]:d.get("providentFundIcon"),[n.VIP]:d.get("vipIcon"),[n.CREDIT_LOAN]:d.get("creditLoanIcon"),[n.SETTINGS]:d.get("profileIcon"),[n.COUPONS]:d.get("couponIcon"),[n.MALL]:d.get("mallIcon"),[n.CLAIM]:d.get("thirdGuaranteeIcon")})[p]}},xe=ri(ma),io={"mine-avator-wrap":"_mine-avator-wrap_xoj8f_91","edit-wrap":"_edit-wrap_xoj8f_94","badge-dot":"_badge-dot_xoj8f_113"},[ga]=$("userAvator"),Vn=N({name:ga,props:{showEdit:{type:Boolean,default:!1},needClick:{type:Boolean,default:!0},infoImage:{type:String,default:""},showBadgeDot:{type:Boolean,default:!1}},setup(e,{slots:o}){const s=U(),i=Le(),{showSettingDot:r}=Ro(),a=v(()=>{var p;return((p=s.userInfos)==null?void 0:p.portrait_id)||e.infoImage||"/lobby_asset/common/common/profile/icon_wd_mrtx.png"}),c=()=>{e.needClick&&i.push({name:D.SETTING})},l=()=>{e.needClick||i.push({name:D.SETTING})};return()=>t(x,{src:a.value,class:[io["mine-avator-wrap"],e.showBadgeDot&&r.value&&s.hasLoginedComponent&&io["badge-dot"],e.showBadgeDot&&r.value&&s.hasLoginedComponent&&"global-badge-dot"],onClick:c,tag:"div"},{default:()=>{var p;return[o.default?o.default():null,e.showEdit&&t("div",{onClick:l,class:[io["edit-wrap"],"mine-avatar-edit-wrap"]},[((p=o==null?void 0:o.editIcon)==null?void 0:p.call(o))||t(x,{src:"/lobby_asset/common/web/profile/icon_grzl.svg"},null)])]}})}}),ya={"color-primary":"_color-primary_1w7bl_91"},[pa]=$("mine-club-extra"),ba=N({name:pa,setup(){const{t:e}=W();return()=>t("span",{class:ya["color-primary"]},[e("lobby.club.banking")])}}),va=Object.freeze(Object.defineProperty({__proto__:null,default:ba},Symbol.toStringTag,{value:"Module"})),[fa]=$("userAvator"),Nn=N({name:fa,setup(){const e=U(),{getCurrencyNormalIconByMap:o}=Gs(),s=()=>{var r;const i=((r=e.userInfos)==null?void 0:r.currency)||"CNY";return o(i)};return()=>t(x,{useSkeleton:!0,src:s()},null)}}),Ea={isNeedText:{type:Boolean,default:!0},iconPath:{type:Object,default:()=>({service:"",message:"",unReadMessage:"",setting:"",langIcon:"",scanCode:""}),required:!0},showSetting:{type:Boolean,default:!0},isCommonMine:{type:Boolean,default:!1},badgePosition:String,badgeOffset:Array,badgeProps:{type:Object,default:void 0},hideMessage:{type:Boolean,default:!0},iconDot:{type:Boolean,default:!1},showRedDot:{type:Boolean,default:!1},showIconBg:{type:String,default:""},showLang:{type:Boolean,default:!1}},ha="_headerBtnWrapper_1b7u8_91",Ia="_headerLeft_1b7u8_101",Sa="_btnContainer_1b7u8_104",Ca="_badgeBox_1b7u8_114",Ta="_icon_1b7u8_117",Aa="_iconBg_1b7u8_123",wa="_iconBgImg_1b7u8_134",La="_iconText_1b7u8_141",an={headerBtnWrapper:ha,headerLeft:Ia,btnContainer:Sa,"common-item":"_common-item_1b7u8_111",badgeBox:Ca,icon:Ta,iconBg:Aa,iconBgImg:wa,iconText:La};function Na(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const[Oa,Ra]=$("pages-mine-head-button"),gt=Ra,Fn=N({name:Oa,props:Ea,setup(e,{slots:o}){const{t:s}=W(),i=Le(),r=Ws(),a=U(),{unreadAnnouncement:c,unreadNotice:l,unReadNum:p}=On(r),{ownerTopIconMap:d}=pn.useOwnerCustomizeIcon(),u=ge(),{showSettingDot:_}=Ro(),g=Ds(),{openLoginRegister:y}=gn(),{navigateToServicePage:m,isServiceHidden:b}=Hs();Ot(()=>{r.getHomeList()});const h=()=>{{const I=c.value>0&&l.value===0?Ho.ANNOUNCEMENT:Ho.NOTICE;i.push({name:D.NOTICE,query:{noticeType:I}})}},S=()=>{m({})},f=v(()=>{var L;const I=p.value>0?d.get("messageUnreadIcon")||e.iconPath.unReadMessage||e.iconPath.message:d.get("messageReadIcon")||e.iconPath.message,A=d.get("customerIcon")||e.iconPath.service;return(L=[{key:"scanCode",iconText:()=>s("lobby.tabbar.service"),onClick:()=>{if(!a.hasLogined||a.isTemporaryAccountMode){y();return}g.open("clubScanQr")},itemClass:gt("scan-code"),sort:1,icon:e.iconPath.scanCode,hidden:oc.package.isVest||!e.iconPath.scanCode},{key:"service",iconText:()=>s("lobby.tabbar.service"),icon:A,onClick:S,itemClass:gt("service"),sort:2,iconSlots:o==null?void 0:o.service,hidden:b.value},{key:"message",iconText:()=>s("lobby.header.messages"),icon:I,onClick:h,itemClass:gt("message"),badge:p.value>0?p.value:0,sort:3,iconSlots:o==null?void 0:o.message,hidden:!e.hideMessage},{key:"profile",iconText:()=>s("lobby.header.menus.settings"),icon:e.iconPath.setting,onClick:()=>{i.push({name:D.SETTING})}
2,itemClass:gt("profile"),hidden:!e.showSetting,sort:4,iconSlots:o==null?void 0:o.setting,showRedDot:e.showRedDot&&_.value},{key:"lang",iconText:()=>s("lobby.plan.middle.menu.language"),icon:e.iconPath.langIcon,onClick:()=>g.open("switchLang"),itemClass:gt("lang"),sort:5,iconSlots:o==null?void 0:o.lang,hidden:!e.showLang||u.isSingleLang}].filter(T=>!T.hidden))==null?void 0:L.sort((T,G)=>T.sort-G.sort)}),E=I=>{var L,T;const A=t(x,{src:(L=I.icon)!=null?L:"",useSkeleton:!0,class:[an.icon,"icon",I.key]},null);return((T=I.iconSlots)==null?void 0:T.call(I))||(e.showIconBg?t("div",{class:an.iconBg},[t(x,{src:e.showIconBg,class:an.iconBgImg},null),A]):A)};return()=>t("header",{class:[an.headerBtnWrapper,"header-wrapper"]},[o.left&&t("div",{class:an.headerLeft},[o.left()]),f.value.map(I=>{let A;return t("div",{class:{[an.btnContainer]:!0,"header-item":!0,[an["common-item"]]:e.isCommonMine,[I.itemClass]:!0,[`${j["icon-dot-wrap"]} mine-icon-red-dot`]:I.showRedDot},onClick:I.onClick},[I!=null&&I.badge&&I.badge>0?t(we,Y({content:I.badge,max:99,dot:e.iconDot,position:e.badgePosition?e.badgePosition:u.isRtlLanguage?"top-left":"top-right",showZero:!1,offset:e.badgeOffset?e.badgeOffset:[q(`${u.isRtlLanguage?"-":""}0.04rem`),q("0.04rem")]},e.badgeProps,{class:an.badgeBox}),Na(A=E(I))?A:{default:()=>[A]}):E(I),e.isNeedText&&t("p",{class:[an.iconText,"iconText"]},[I.iconText()])])})])}}),Pa="_wrap_b01bg_91",ka="_grid_b01bg_95",Da="_item_b01bg_104",Ma="_menuItemLabel_b01bg_110",Qn={wrap:Pa,grid:ka,item:Da,menuItemLabel:Ma,"grid-badge":"_grid-badge_b01bg_125"};function Ba(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const[xa]=ae("menuGrid"),Po=N({name:xa,props:{gridData:{type:Array,default:[],required:!0},className:{type:Object,default:()=>({})},iconPath:{type:String,default:"/lobby_asset/common/web/profile/"},itemStyle:{type:Object,default:()=>({})}},setup(e){var p,d;const{homeLayoutInfos:o,siteConfig:s}=yn(),i=(d=(p=e.className)==null?void 0:p.menuItem)!=null?d:"",r=v(()=>{var y,m;const{ownerMiddleIconMap:u,ownerBottomIconMap:_}=pn.useOwnerCustomizeIcon();return(s==null?void 0:s.type)===k.THEME_132?new Map([...u,..._]):[ce.MODE2,ce.MODE7].includes((m=(y=o==null?void 0:o.baseConfig)==null?void 0:y.appMyPage)==null?void 0:m.toString())?_:u}),{getHallIcon:a}=xe(),c=u=>{const _=a(u.key,r.value);return _?t(je,{size:u.iconSize,icon:[{icon:_}]},null):t(je,{iconPath:u.path||e.iconPath,size:u.iconSize,icon:u.icon},null)},l=u=>{var g;const _=t("div",{class:[Qn["icon-item-wrap"],u.showRedDot&&`${j["icon-dot-wrap"]} mine-icon-dot-wrap`]},[c(u)]);return u.badgeContent||(g=u.badgeProps)!=null&&g.content?t(et,Y({class:Qn["grid-badge"],content:u.badgeContent},u.badgeProps||{},{position:"top-center"}),Ba(_)?_:{default:()=>[_]}):_};return()=>{var u;return t("div",{class:Qn.wrap},[t("ul",{class:Qn.grid,dir:"ltr"},[(u=e.gridData)==null?void 0:u.map(_=>{var y,m;const g=_.id?{id:_.id,"data-sensors-click":"true"}:{};return t("li",Y(g,{class:[j.flexCenter,Qn.item,i,_.leftClass],onClick:()=>{var b;(b=_.onClick)==null||b.call(_)},style:e.itemStyle}),[_.iconRender?_.iconRender({icon:_.icon,iconPath:_.path||e.iconPath,iconSize:_.iconSize}):l(_),t("p",{class:[Qn.menuItemLabel,(m=(y=e.className)==null?void 0:y.menuItemLabel)!=null?m:""]},[_.title()]),_!=null&&_.badge&&typeof _.badge=="function"?_.badge():_.badge])})])])}}}),Ua={menuList:{type:Array,default(){return[]},require:!0},className:{type:Object,default:()=>({})},iconColor:{type:String,default:()=>""},icon:{type:Array,default:()=>[]},iconPath:{type:String,default:"/lobby_asset/common/web/profile/"},itemStyle:{type:Object,default:()=>({})}},$a="_list_19qy4_91",Ha="_item_19qy4_91",ja="_left_19qy4_96",Ga="_right_19qy4_97",Wa="_label_19qy4_102",za="_arrow_19qy4_125",Va="_extraInfo_19qy4_128",Fa="_showEllipsis_19qy4_135",qa="_showEllipsis1_19qy4_143",Ya="_hasExtra_19qy4_160",Ee={list:$a,item:Ha,left:ja,right:Ga,label:Wa,"label-title-vip":"_label-title-vip_19qy4_115","label-title-moments":"_label-title-moments_19qy4_118",arrow:za,extraInfo:Va,showEllipsis:Fa,showEllipsis1:qa,"menu-icon-rotate":"_menu-icon-rotate_19qy4_148",hasExtra:Ya,"badge-gift":"_badge-gift_19qy4_163","right-icon-badge":"_right-icon-badge_19qy4_170","menu-lang":"_menu-lang_19qy4_178"};function Ka(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const[Qa]=$("menuList"),st=N({name:Qa,props:Ua,setup(e,{slots:o}){var y,m,b,h,S,f,E,I,A,L;const s=ge(),i=(m=(y=e.className)==null?void 0:y.menuItem)!=null?m:"",r=(h=(b=e.className)==null?void 0:b.menuItemLeft)!=null?h:"",a=(f=(S=e.className)==null?void 0:S.menuItemRight)!=null?f:"",c=(I=(E=e.className)==null?void 0:E.menuItemRightLabel)!=null?I:"",l=(L=(A=e.className)==null?void 0:A.menuItemArrow)!=null?L:"",{getHallIcon:p}=xe(),d=[ce.MODE5],u=(T=40)=>{var ie,K;const{homeLayoutInfos:G}=yn();return d.includes((K=(ie=G==null?void 0:G.baseConfig)==null?void 0:ie.appMyPage)==null?void 0:K.toString())?44:T},_=T=>T.iconRender?T.iconRender({icon:T.icon,iconPath:T.path||e.iconPath,iconSize:T.iconSize}):t("div",{class:T.showRedDot&&`${j["icon-dot-wrap"]} mine-icon-dot-wrap`}
2,[T.key&&p(T.key)?t(je,{size:u(T.iconSize),icon:[{icon:p(T.key)}]},null):t(je,{iconPath:T.path||e.iconPath,size:T.iconSize,icon:T.icon},null)]),g=(T,G=!1)=>{if(!(!G||T.badge)){if(T.showRedDot)return t(we,Y(T.badgeProps||{},{gift:{},class:Ee["badge-gift"]}),null);if(T.badgeType!=="normal")return t(we,Y(T.badgeProps||{},{position:"top-right",class:[Ee["badge-gift"],Ee["right-icon-badge"]]}),null)}};return()=>t("ul",{class:[Ee.list,"menulist"]},[e.menuList.map((T,G)=>{var z,J;let ie;const K=!!((z=T.badgeProps)!=null&&z.content),P=T.id?{id:T.id,"data-sensors-click":"true"}:{};return t("li",Y(P,{key:G,class:[Ee.item,i,T.key==n.LANUANGE&&Ee["menu-lang"],T.key==n.AGENT_APPLY&&"menu-item-agent-apply"],onClick:Se=>{var rn;(rn=T.onClick)==null||rn.call(T,Se)},style:e.itemStyle}),[t("div",{class:[Ee.left,r,T.extra?Ee.hasExtra:"",...T.classList||[]]},[K&&T.badgeType==="normal"?t(we,Y({position:"top-center"},T.badgeProps||{}),Ka(ie=_(T))?ie:{default:()=>[ie]}):_(T),t("span",{class:[Ee.label,T.key===n.VIP?Ee["label-title-vip"]:"","mine-menulist-label",T.key==n.MOMENTS&&Ee["label-title-moments"],s.isRtlLanguage&&s.rtlClass]},[T.title()])]),t("div",{class:[Ee.right,a,T.rightClass||"",Ee["menu-icon-rotate"]]},[T.extra&&t("p",{class:{[Ee.extraInfo]:!0,[s.rtlClass]:s.isRtlLanguage,[Ee.showEllipsis]:![n.PROMOTE,n.SHARE_EARN].includes(T.key),[Ee.showEllipsis1]:[n.FINDUS].includes(T.key),[c]:!0,"extra-info":!0}},[typeof T.extra=="function"?T.extra():T.extra]),!T.hiddenArrow&&!o.arrowSvg&&t(x,{class:{[j.arrow]:!0,[Ee.arrow]:!0,[l]:!0},src:"/lobby_asset/common/web/common/comm_icon_fh.svg"},null),(J=o.arrowSvg)==null?void 0:J.call(o)]),T!=null&&T.badge&&typeof T.badge=="function"?T.badge():T.badge,g(T,K)])})])}}),Xa="_iconClaim_it09p_92",Za="_highProtect_it09p_102",Ja="_allProtect_it09p_105",Xn={iconClaim:Xa,"claim-icon":"_claim-icon_it09p_97",highProtect:Za,"claim-second":"_claim-second_it09p_102",allProtect:Ja,"claim-first":"_claim-first_it09p_108","claim-gou":"_claim-gou_it09p_118"},[el]=$("menu-claim"),nl=N({name:el,props:{claimIcon1:{type:String,required:!1},useThemeConfig:{type:Boolean,default:!1},themeIcons:{type:Object,required:!1},iconSize:{type:Number,default:40},iconPath:{type:String,default:""}},setup(e){const o=Ge(),s=v(()=>{var d;return((d=o==null?void 0:o.financeSetting)==null?void 0:d.claim.marginLevel)||0}),i=v(()=>{let d="";return s.value===nt.ADVANCED_WARRANTY&&(d="highProtect"),s.value===nt.COMPREHENSIVE_WARRANTY&&(d="allProtect"),d}),{ownerBottomIconMap:r,ownerMiddleIconMap:a}=pn.useOwnerCustomizeIcon(),c=()=>{var _,g;const{homeLayoutInfos:d}=yn();return((g=(_=d==null?void 0:d.baseConfig)==null?void 0:_.appMyPage)==null?void 0:g.toString())===ce.MODE6?a.get("thirdGuaranteeIcon"):r.get("thirdGuaranteeIcon")},l=()=>t("div",{class:[Xn["claim-icon"],Xn[`${i.value}`]]},[t(x,{class:[Xn["claim-gou"],"mine-claim-gou"],src:"/lobby_asset/common/web/common/comm_icon_gou.svg"},null),t(x,{src:e.claimIcon1||"/lobby_asset/common/web/common/comm_icon_dblp_1.svg",class:[Xn["claim-first"],"global-claim-icon"]},null),t(x,{class:[Xn["claim-second"],"mine-claim-icon-2"],src:"/lobby_asset/common/web/common/comm_icon_dblp_2.svg"},null)]),p=()=>{var u,_;const d=((u=e.themeIcons)==null?void 0:u[s.value])||((_=e.themeIcons)==null?void 0:_[nt.BASIC_WARRANTY])||"";return t(je,{size:e.iconSize,iconPath:e.iconPath,icon:d},null)};return()=>{const d=c();return d?t(x,{src:d,class:[Xn["claim-icon"],"global-claim-icon"]},null):e.useThemeConfig?p():l()}}}),tl=Object.freeze(Object.defineProperty({__proto__:null,default:nl},Symbol.toStringTag,{value:"Module"})),ol="_promoteAdvertiseLabel_1foul_91",sl="_promoteContent_1foul_99",Dt={promoteAdvertiseLabel:ol,"icon-promote":"_icon-promote_1foul_99",promoteContent:sl},[il]=$("menu-promote"),cl=N({name:il,setup(){const e=Rn(),{agentModeData:o,axiosError:s,timeoutLoadingAgent:i}=On(e);return()=>{var r;return t("div",{class:Dt["icon-promote"]},[s.value.agentModeError?t(Ao,{class:Dt.netRetry,loading:i.value,onRetry:()=>{e.getPromoteAdvertise()},type:"icon"},null):((r=o.value)==null?void 0:r.advertise)&&t("div",{class:Dt.promoteContent},[t(sc,{class:[j.colorPrimary,Dt.promoteAdvertiseLabel],useRealWi
2dthMath:!0,speed:50,noScrollWhenFullVisible:!0,avoidSafariBlink:!0},{default:()=>{var a;return[t(zs,{html:(a=o.value)==null?void 0:a.advertise},null)]}})])])}}}),rl=Object.freeze(Object.defineProperty({__proto__:null,default:cl},Symbol.toStringTag,{value:"Module"})),al="_navItem_f525n_91",ll="_icon_f525n_97",ul="_rechargeFund_f525n_103",_l="_fundAmount_f525n_126",En={navItem:al,icon:ll,rechargeFund:ul,fundAmount:_l,"bg-badge":"_bg-badge_f525n_137","middle-badge-bg":"_middle-badge-bg_f525n_150","badge-bg-fund":"_badge-bg-fund_f525n_154"},[dl]=$("menu-promote"),ml=N({name:dl,props:{icon:{type:[String,Array],required:!0,default:()=>"/lobby_asset/common/web/profile/style_2_icon_mid_gjj.svg"},iconSize:{type:Number,required:!1,default:40},iconPath:{type:String,default:""},offset:{type:Number,required:!1,default:-10}},setup(e){const{rechargeFundBadge:o}=Yt(),{ownerBottomIconMap:s}=pn.useOwnerCustomizeIcon(),{isElectronicBadge:i}=$n,r=v(()=>s.get("providentFundIcon")),a=v(()=>{const l=r.value||e.icon;return Array.isArray(l)?t(je,{iconPath:e.iconPath,icon:l,size:e.iconSize,class:[En.icon,"icon-recharge-fund"]},null):t(x,{src:`${e.iconPath}${l}`,class:[En.icon,"icon-recharge-fund"]},null)}),c="/lobby_asset/{layout}-{bg}-common/web/common/img_qipao_fzl";return()=>t("div",{class:[En.navItem,"mine-nav-item-recharge-fund"],style:{"--icon-recharge-fund-size":He(e.iconSize),"--icon-recharge-fund-offset":He(e.offset)}},[!!o.value&&t("div",{class:[En.rechargeFund,"recharge-fund-badge",i&&En["badge-bg
2-fund"]]},[i&&t("div",{class:[En["bg-badge"],"recharge-badge-fund-amount","recharge-fund-amount"]},[t(x,{src:`${c}1_1.png`,useSkeleton:!0},null),t(x,{src:`${c}2_1.png`,useSkeleton:!0,class:En["middle-badge-bg"]},null),t(x,{src:`${c}3_1.png`,useSkeleton:!0},null)]),t("p",{class:[En.fundAmount,"recharge-fund-amount"]},[o.value])]),a.value])}}),ui=Object.freeze(Object.defineProperty({__proto__:null,default:ml},Symbol.toStringTag,{value:"Module"})),gl={hiddenInfo:{type:Boolean,default:!1},prefixTips:{type:String,default:""},tipsLoginText:{type:String,default:""},tipsRegisterText:{type:String,default:""},hiddenBtns:{type:Boolean,default:!1},loginBtnBg:{type:String,default:""},registerBtnBg:{type:String,default:""},avatar:{type:String,default:"/lobby_asset/common/common/profile/icon_wd_mrtx.png"},showUnloginTipsLabel:{type:Boolean,default:!0},loginText:{type:String,default:""},registerText:{type:String,default:""},hiddenAvatar:{type:Boolean,default:!1},showMiniRegisterBadge:{type:Boolean,default:!1},registerBadgeOffset:Array,registerBadgePosition:{type:String,default:"right"},showRegisterButtonBadge:{type:Boolean,default:!0},designBgMode:{type:String,default:void 0},registerBadgeProps:{type:Object}},yl="_icon_8dg6d_126",pl="_tips_8dg6d_135",bl="_label_8dg6d_145",vl="_action_8dg6d_161",Re={"un-login-info":"_un-login-info_8dg6d_91",icon:yl,tips:pl,label:bl,"global-un-login-tips-box":"_global-un-login-tips-box_8dg6d_148","prefix-tips":"_prefix-tips_8dg6d_151",action:vl,"login-btn":"_login-btn_8dg6d_166","register-btn":"_register-btn_8dg6d_167"},[fl,El]=$("unLoginBtn"),no=N({name:fl,props:gl,setup(e,{slots:o}){const{t:s}=W(),{badgeValue:i,badgeBgColor:r}=Hn(),{openLoginRegister:a}=gn(),c=U(),l=ge(),p=sn("registerBadge"),d=v(()=>({...e.registerBadgeProps,...p})),u=()=>{const h={login:!0};c.isTemporaryAccountMode&&(h.skipTemporary=!0,h.skipGuide=!0),a(h)},_=()=>{const h={register:!0};c.isTemporaryAccountMode&&(h.skipTemporary=!0,h.skipGuide=!0),a(h)},g=()=>t("span",{class:[Re.action,"un-login-info-tips-action"],onClick:_},[e.tipsRegisterText||s("lobby.mine.unLogin.tipsText2")]),y=()=>t(x,{class:[Re["register-btn"],"register-btn"],src:e.registerBtnBg,onClick:_,useSkeleton:!0,tag:"div","data-theme-btn":!0,"data-theme-btn-exclude":"102"},{default:()=>[t("span",null,[e.registerText||s("lobby.modal.register.label")])]}),m=()=>t(Ie,null,[t("div",null,[t("span",{class:[Re.label,"un-login-info-tips-label"]},[s("lobby.mine.unLogin.tipsLabel1")]),t("span",{class:[Re.action,"un-login-info-tips-action"],onClick:u},[e.tipsLoginText||s("lobby.mine.unLogin.tipsText1")])]),t("div",null,[t("span",{class:[Re.label,"un-login-info-tips-label"]},[s("lobby.mine.unLogin.tipsLabel2")]),e.showMiniRegisterBadge?t(et,Y({class:["register-badge",e.registerBadgePosition==="left"?"register-badge-position-left":""],backgroundColor:r,content:i.value,offset:[-10,-38],gift:{size:"normal",shouldOccupySpace:0},designBgMode:e.designBgMode},d.value,{autoTransformOffset:!0}),{default:()=>[t(g,null,null)]}):t(g,null,null)])]),b=()=>t(Ie,null,[e.showUnloginTipsLabel&&t("span",{class:[Re.label,"un-login-info-tips-label"]},[s("lobby.mine.unLogin.tipsLabel1")]),t("span",{class:[Re.action,"un-login-info-tips-action"],onClick:u},[e.tipsLoginText||s("lobby.mine.unLogin.tipsText1")]),t("span",{class:[Re.label,"un-login-info-tips-label"]},[s("lobby.mine.unLogin.tipsLabel2")]),e.showMiniRegisterBadge?t(et,Y({class:["register-badge",e.registerBadgePosition==="left"?"register-badge-position-left":""],backgroundColor:r,content:i.value,offset:[-10,-38],gift:{size:"normal",shouldOccupySpace:0},designBgMode:e.designBgMode},d.value,{autoTransformOffset:!0}),{default:()=>[t(g,null,null)]}):t(g,null,null)]);return()=>{var h,S;return t("div",{class:Re["un-login-info"]},[!e.hiddenInfo&&t("div",null,[!e.hiddenAvatar&&t("div",{class:[Re.icon,El("icon")]},[(h=o==null?void 0:o.avatarBg)==null?void 0:h.call(o),t(x,{src:e.avatar,useSkeleton:!0},null)]),t("div",{class:Re.tips},[e.prefixTips&&t("div",{class:Re["prefix-tips"]},[e.prefixTips]),t("div",{class:[Re["global-un-login-tips-box"],"global-un-login-tips-box"]},[l.isRtlLanguage?m():b()])]),(S=o.renderSubTips)==null?void 0:S.call(o)]),!e.hiddenBtns&&t("div",null,[t(x,{class:[Re["login-btn"],"login-btn"],src:e.loginBtnBg,onClick:u,useSkeleton:!0,tag:"div"},{default:()=>[t("span",null,[e.loginText||s("lobby.plan.header.login")])]}),e.showRegisterButtonBadge?t(et,Y({backgroundColor:r,content:i.value,class:["register-badge",e.registerBadgePosition==="left"?"register-badge-position-left":""],offset:e.registerBadgeOffset,gift:{size:"normal",shouldOccupySpace:0},designBgMode:e.designBgMode},d.value,{autoTransformOffset:!0}),{default:()=>
2[t(y,null,null)]}):t(y,null,null)])])}}}),ct=Object.freeze(Object.defineProperty({__proto__:null,default:no},Symbol.toStringTag,{value:"Module"})),hl="_menuListWrap_1kldg_91",Il="_space_1kldg_96",Sl="_menuItem_1kldg_104",yt={menuListWrap:hl,space:Il,menuItem:Sl,"marketing-middle":"_marketing-middle_1kldg_133"},ns=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[Cl]=$("menu"),Tl=N({name:Cl,setup(){const{filterMenu:e}=xe();Z("Lv1");const o=Z("Lv2");Z("onlyLv2");const s=v(()=>e([n.REPORT_DETAILS,n.WITHDRAWMANAGEMENT],so)),i=v(()=>e([...e([],so),n.PROMOTE,n.SHARE_EARN,n.SHARE_HOLDING,n.CLUB_QUOTA_MANAGEMENT,n.AGENT_APPLY,n.MOMENTS,n.GOSSIP,n.CLUB_APPLY,n.CLAIM,n.SETTINGS,n.KYC,n.SECURITY,n.FINDUS,n.LANUANGE,n.COMMONQUESTION,n.FEEDBACK,n.DEVICE_INFO,n.NIGHTMODE,n.ABOUT_US,n.FORBIDDENSELF,n.SWITCH_ACCOUNT,n.LOGINOUT],so).filter(r=>!(r!=null&&r.hidden)));return()=>t("div",{class:[yt.menuListWrap,"menulist-wrap",re.enable]},[!o.value&&t(st,{menuList:s.value,className:{menuItem:yt.menuItem}},null),!o.value&&t("div",{class:[yt.space]},null),i.value.length>0&&t(Ie,null,[t(ns,{class:yt["marketing-middle"],place:F.MINE_MIDDLE},null),t(st,{menuList:i.value,className:{menuItemLeft:"menu-item-left",menuItem:yt.menuItem}},null)]),t(ns,{class:"margin-bottom-0",place:F.MINE_BELOW},null)])}}),Al={[n.RECHARGEFUND]:"/lobby_asset/common/web/profile/style_1_icon_mid_gjj.svg",[n.CLUB_RECHARGE]:"/lobby_asset/common/web/club/style_1_icon_mid_ck.svg",[n.CLUB_WITHDRAW]:"/lobby_asset/common/web/club/style_1_icon_mid_qk.svg"},_i=(e,o)=>{if(!Nc(o))return Oc(o)?Js([],o,_i):o},wl=(e,...o)=>Js({},e,...o,_i),Ll=()=>()=>({}),Nl=R(()=>w(()=>Promise.resolve().then(()=>ui),void 0)),Ol=()=>{const{t:e}=W(),{ownerMiddleIconMap:o}=pn.useOwnerCustomizeIcon(),s=Le(),i=xn(),r=Qt(),a=U(),c=Os();Rn();const l=Me(),p=ge();Vs("isAllowLoan"),Fs("memberAllowBillSettle"),Z("Lv1");const{interstBadge:d,interstBadgeColor:u}=Yt(),{openLoginRegister:_}=gn(),g=Ge(),y=Ll(),m=S=>{a.hasLogined?S():_({onSuccess:S})},b={[n.RECHARGE]:{key:n.RECHARGE,title:()=>e("lobby.header.recharge"),configIcon:o.get("rechargeIcon"),icon:"gif_profile_style1.gif",path:"/lobby_asset/common/common/profile/",domAttr:{"data-sensors-click":!0,id:"depositClick"},click:()=>Ln({openType:"overlay",options:{payEntryId:Nt.PROFILE}},Ln),hidden:()=>g.isHideRechargeEntry,userDefined:{badgeProps:()=>({content:r.rechargeBadgeCount.value,...i.payChargeBadge})}},[n.WITHDRAW]:{key:n.WITHDRAW,title:()=>e("lobby.plan.middle.menu.withDraw"),configIcon:o.get("withdrawIcon"),icon:"style_1_icon_mid_tx.svg",path:"/lobby_asset/common/web/profile/",click:()=>m(Mn),hidden:()=>g.isHideWithdrawEntry},[n.CREDIT_LOAN]:{key:n.CREDIT_LOAN,title:()=>e("lobby.system.creditLoan"),configIcon:o.get("creditLoanIcon"),icon:"style_1_icon_mid_xyjk.svg",path:"/lobby_asset/common/web/profile/",click:()=>
2s.push({name:D.CREDITLOAN}),hidden:()=>!l.isShowCreditLoan},[n.YUEBAO]:{key:n.YUEBAO,title:()=>e("lobby.system.yuebao"),configIcon:o.get("yueBaoIcon"),icon:"style_1_icon_mid_lxb.svg",path:"/lobby_asset/common/web/profile/",click:()=>Ke(D.INTEREST),hidden:()=>!l.isShowInterest,userDefined:{badgeProps:()=>({content:d.value,...u.value})}},[n.RECHARGEFUND]:{key:n.RECHARGEFUND,title:()=>l.rechargeFundName,configIcon:o.get("providentFundIcon"),icon:"style_mid_gjj_qp.svg",path:"/lobby_asset/common/web/profile/",iconRender:S=>se(Nl,S),click:()=>Ke(D.RECHARGE_FUND),hidden:()=>!l.isShowRechargeFund},[n.WITHDRAWMANAGEMENT]:{key:n.WITHDRAWMANAGEMENT,title:()=>e("lobby.header.menus.withdrawalManagement"),configIcon:o.get("withdrawManageIcon"),icon:"style_4_icon_mid_txgl.png",path:"/lobby_asset/common/common/profile/",click:()=>Mn(fo.ACCOUNT_MANAGEMENT),hidden:()=>g.isHideWithdrawEntry},[n.COUPONS]:{key:n.COUPONS,title:()=>e("lobby.plan.middle.menu.coupon"),configIcon:o.get("couponIcon"),icon:"style_1_icon_mid_zkq.svg",path:"/lobby_asset/common/common/profile/",click:()=>Ke(D.COUPON),hidden:()=>!l.isShowCoupon,userDefined:{badgeProps:()=>({backgroundColor:"var(--skin__accent_1)",content:c.couponBadgeForMine,position:p.isRtlLanguage?"top-center":"top-right",offset:p.isRtlLanguage?null:[0,0]})}},[n.ACCOUNT_DETAILS]:{key:n.ACCOUNT_DETAILS,title:()=>e("lobby.center.report.tabs.myRecord"),configIcon:o.get("myRecordsIcon"),icon:"style_4_icon_mid_zhmx.png",path:"/lobby_asset/common/common/profile/",click:()=>{const S=()=>s.push({name:D.REPORT,query:{reportCurrent:en.ACCOUNT}});a.hasLoginedComponent?S():_({onSuccess:S})},hidden:re.enable},[n.MALL]:{key:n.MALL,title:()=>e("lobby.mall.title"),configIcon:o.get("mallIcon"),icon:"style_1_icon_mid_sc.svg",path:"/lobby_asset/common/common/profile/",click:()=>As(),hidden:()=>!l.isShowMall},[n.CLUB_RECHARGE]:{key:n.CLUB_RECHARGE,title:()=>e("lobby.plan.middle.menu.recharge"),icon:"style_1_icon_mid_ck.svg",path:"/lobby_asset/common/web/club/",click:()=>m(rc),hidden:()=>!0},[n.CLUB_WITHDRAW]:{key:n.CLUB_WITHDRAW,title:()=>e("lobby.club.withdraw.title"),icon:"style_1_icon_mid_qk.svg",path:"/lobby_asset/common/web/club/",click:()=>m(Mn),hidden:()=>!0}
2,[n.REPORT_DETAILS]:{key:n.REPORT_DETAILS,title:()=>e("lobby.event.cutOnce.myRecord"),icon:"style_1_icon_mid_zhmx.svg",path:"/lobby_asset/common/web/club/",click:()=>s.push({name:D.REPORT,query:{reportCurrent:en.ACCOUNT}}),hidden:()=>!0},[n.CLUB_LOAN]:{key:n.CLUB_LOAN,title:()=>e("lobby.club.loan"),icon:"style_1_icon_mid_xyjk.svg",path:"/lobby_asset/common/web/club/",click:ws,hidden:()=>!0},[n.CLUB_BILL_SETTLEMENT]:{key:n.CLUB_BILL_SETTLEMENT,title:()=>e("lobby.club.billSettlement"),icon:"style_1_icon_mid_zdjs.svg",path:"/lobby_asset/common/web/club/",click:cc,hidden:()=>!0},[n.CLUB_MANAGEMENT]:{key:n.CLUB_MANAGEMENT,title:()=>e("lobby.club.clubManagement"),icon:"style_1_icon_mid_jlbgl.svg",path:"/lobby_asset/common/web/club/",click:jo,hidden:()=>!0},[n.CLUB_MEMBER_MANAGEMENT]:{key:n.CLUB_MEMBER_MANAGEMENT,title:()=>e("lobby.club.memberManagement"),icon:"style_1_icon_mid_cygl.svg",path:"/lobby_asset/common/web/club/",click:()=>jo("management-member"),hidden:()=>!0},[n.CLUB_CENTER_WALLET]:{key:n.CLUB_CENTER_WALLET,title:()=>e("lobby.finance.center.wallet.title"),icon:"style_1_icon_mid_zhye.svg",path:"/lobby_asset/common/web/club/",click:()=>s.push({name:D.REPORT,query:{reportCurrent:en.CENTER_WALLET}}),hidden:()=>!0},[n.CLUB_PROMOTE]:{key:n.CLUB_PROMOTE,title:()=>e("lobby.system.promoteAgent"),icon:"style_1_icon_mid_fxzq.svg",path:"/lobby_asset/common/web/club/",click:ic,hidden:()=>!0},[n.CLUB_ACCOUNT_DETAILS]:{key:n.CLUB_ACCOUNT_DETAILS,title:()=>e("lobby.center.report.tabs.myRecord"),icon:"style_1_icon_mid_zhmx.svg",path:"/lobby_asset/common/web/club/",click:()=>s.push({name:D.REPORT,query:{reportCurrent:en.ACCOUNT}}),hidden:()=>!0}},h=y();return Object.fromEntries(Object.entries(b).map(([S,f])=>[S,wl(f,h[S])]))},Rl=()=>{const e=Ol(),{getMenuListByKeys:o}=ai({},e);return{getMenuListByKeys:o}},Pl=ri(Rl),rt=()=>{const{getMenuListByKeys:e}=Pl();Z("Lv2"),Z("onlyLv2");const o=ne({scrollWidth:0,scrollX:0,clientWidth:0}),s=a=>{var l;const c=(l=a.event)==null?void 0:l.target;c&&(o.value={scrollWidth:c.scrollWidth,scrollX:Math.abs(c.scrollLeft),clientWidth:c.clientWidth})};So(()=>{o.value={scrollWidth:0,scrollX:0,clientWidth:0}});const i=(a,c)=>{const l=[],p=[];for(const u of a)!(typeof u=="string")&&u.isCustom?u.hidden||l.push(u):p.push(u);return e(p).forEach(u=>{const _=u.key,g=p.find(h=>(typeof h=="string"?h:h.key)===_),y=typeof g=="string";let m={icon:(c==null?void 0:c[_])||`${u.path}${u.icon}`};u.configIcon&&(m={icon:u.configIcon});const b=typeof u.badge=="function"?u.badge():u.badge;l.push({...u,badge:b,...m,...y||!g?{}:g})}),l},r=v(()=>[n.WITHDRAW,n.RECHARGE,n.CREDIT_LOAN,n.YUEBAO,n.RECHARGEFUND,n.COUPONS,n.MALL]);return{filterNavMenu:i,commonMenus:r,handleScroll:s,scrollInfo:o}},ts={"scroll-bar":"_scroll-bar_15alw_91","scroll-bar-active":"_scroll-bar-active_15alw_100"},[kl]=$("mine-nav-slider"),to=N({name:kl,props:{scrollWidth:{type:Number,default:0},scrollX:{type:Number,default:0},clientWidth:{type:Number,default:0}},setup(e){const o=ge(),s=v(()=>{if(!e.scrollWidth||!e.clientWidth)return{};const i=e.scrollWidth-e.clientWidth;if(i<=0)return{};const a=(e.scrollX>i?i:e.scrollX)/i*20;return o.isRtlLanguage?{right:He(a)}:{left:He(a)}});return()=>t("div",{class:ts["scroll-bar"]},[t("div",{style:s.value,class:{[ts["scroll-bar-active"]]:!0}},null)])}}),Dl="_navCardContainer_1opcf_101",Ml="_navItem_1opcf_114",Bl="_icon_1opcf_125",xl="_label_1opcf_140",hn={"mine-navs-wrap":"_mine-navs-wrap_1opcf_91","nav-slider":"_nav-slider_1opcf_96",navCardContainer:Dl,navItem:Ml,icon:Bl,"big-icon":"_big-icon_1opcf_130",label:xl,"recharge-badge":"_recharge-badge_1opcf_175"};function Ul(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const[$l]=$("navCard"),Hl=N({name:$l,setup(){const{filterNavMenu:e,commonMenus:o,scrollInfo:s,handleScroll:i}=rt(),r=v(()=>e(o.value).filter(a=>a.key!==n.CLUB_CENTER_WALLET));return()=>{let a;return r.value.length===0?null:t("div",{class:hn["mine-navs-wrap"]},[t(Xt,{scrollable:r.value.length>5,scrollbarTrigger:"none",draggable:!0,direction:"x",isInit:!0,class:hn.navCardContainer,onScroll:i},Ul(a=r.value.map(c=>{var l,p;return t("div",Y({class:hn.navItem,onClick:c.onClick},c.domAttr||{}),[t(we,Y({class:c.key===n.RECHARGE&&[hn["big-icon"],hn["recharge-badge"]]},c.badgeProps||{},{position:(p=(l=c==null?void 0:c.badgeProps)==null?void 0:l.position)!=null?p:"top-center"}),{default:()=>[c.iconRender?c.iconRender({icon:c.configIcon||Al[c.key]}):c.icon&&t(x,{src:c.icon,class:[hn.icon,j.colorIcon]},null)]}),t("p",{class:hn.label},[c.title()])])}))?a:{default:()=>[a]}),r.value.length>5&&t(to,Y({class:hn["nav-slider"]},s.value),null)])}}}),jl="_icon_1jq2k_99",os={"account-toggle":"_account-toggle_1jq2k_91",icon:jl},[Gl]=$("account-toggle"),Wl=N({name:Gl,props:{icon:{type:String,default:"/lobby_asset/common/web/home/comm_icon_qhzh.svg"},isMine:{type:Boolean,default:!1}},setup(e,{slots:o}){const s=js(),i=gn().openSwitchAccount,r=v(()=>{const{temporary:a,ordinary:c}=s.refOptions.value.switch,l=!e.isMine&&a,p=e.isMine&&(a||c);return l||p});return()=>{var a;if(!bo()&&r.value)return t("div",{class:os["account-toggle"],onClick:i},[((a=o.default)==null?void 0:a.call(o))||t(qs,{class:[os.icon,"account-toggle-icon"],src:e.icon},null)])}}}),zl="_icon_n797v_107",kn={"mine-account-toggle-box":"_mine-account-toggle-box_n797v_91","mine-account-toggle":"_mine-account-toggle_n797v_91",icon:zl,"mode-2":"_mode-2_n797v_118","icon-sort":"_icon-sort_n797v_127","icon-sort-active":"_icon-sort-active_n797v_130","account-number":"_account-number_n797v_133","mode-3":"_mode-3_n797v_148","mode-4":"_mode-4_n797v_156","mode-5":"_mode-5_n797v_159"},[Vl]=$("mine-account-toggle"),qn=N({name:Vl,props:{mode:{type:String,default:ce.MODE1},useImage:{type:Boolean,default:!0},customerImg:{type:String,default:""}},setup(e){const{t:o}=W(),s=Wn(),{visible:i}=Tt("switchAccount"),r=v(()=>e.customerImg||`/lobby_asset/common/common/profile/style_${e.mode}_icon_qh.svg`);return()=>t("div",{class:kn["mine-account-toggle-box"]},[t(Wl,{isMine:!0,class:[kn["mine-account-toggle"],kn[`mode-${e.mode}`]]},{default:()=>[t(qs,{useImage:e.useImage,class:[kn.icon,"account-toggle-icon"],src:r.value},null),t("span",null,[o("lobby.mine.account.switchAccount")]),e.mode==ce.MODE2&&t(Ie,null,[t(x,{class:[kn["icon-sort"],i.value?kn["icon-sort-active"]:""],src:"/lobby_asset/common/web/common/comm_icon_sort.svg"},null),Rc(t("div",{class:kn["account-number"]},[s.localAccounts.length]),[[Pc,s.localAccounts.length>1]])])]})])}}),Fl="_topUserCardContainer_1n9qx_91",ql="_header_1n9qx_95",Yl="_club_1n9qx_103",Kl="_infoAndBalance_1n9qx_143",Ql="_userAvator_1n9qx_150",Xl="_accountWrap_1n9qx_156",Zl="_account_1n9qx_156",Jl="_subInfo_1n9qx_165",eu="_idBox_1n9qx_170",nu="_copyButton_1n9qx_176",tu="_divider_1n9qx_214",ou="_label_1n9qx_222",su="_currencySign_1n9qx_225",iu="_userCurrencyInfo_1n9qx_228",cu="_currencyPopover_1n9qx_291",ue={topUserCardContainer:Fl,header:ql,club:Yl,infoAndBalance:Kl,userAvator:Ql,accountWrap:Xl,account:Zl,subInfo:Jl,idBox:eu,copyButton:nu,divider:tu,label:ou,currencySign:su,userCurrencyInfo:iu,"select-custom-name-1":"_select-custom-name-1_1n9qx_248","un-login-box":"_un-login-box_1n9qx_263","has-login":"_has-login_1n9qx_271","marketing-top":"_marketing-top_1n9qx_274","mine-badge-market":"_mine-badge-market_1n9qx_277","user-discourag":"_user-discourag_1n9qx_280",currencyPopover:cu};var ko=(e=>(e[e.MODE_5=5]="MODE_5",e))(ko||{});const ru=e=>/[\u4e00-\u9fa5]/.test(e),au=()=>{const e=U(),o={height:{isChinese:70,notChinese:80}},s=v(()=>{var p;const l=(p=e.userInfos)==null?void 0:p.user_status;return l===Go.Discouraging||l===Go.Discouraged}),i=v(()=>{var l;return s.value&&!!((l=e.userInfos)!=null&&l.frontRemark)}),r=v(()=>{var l;return ru(((l=e.userInfos)==null?void 0:l.frontRemark)||"")}),a=v(()=>({"--discourag-height":He(r.value?o.height.isChinese:o.height.notChinese)})),c=v(()=>!r.value);return{isDiscouragShow:s,isDiscouragVisible:i,discourageHeightStyle:a,isSmallFontSize:c}},lu="_discourag_1hjgg_91",uu="_icon_1hjgg_109",_u="_text_1hjgg_115",du="_notChinese_1hjgg_127",mu="_mode5_1hjgg_131",gu="_noPointerEvents_1hjgg_152",Zn={discourag:lu,icon:uu,text:_u,notChinese:du,mode5:mu,noPointerEvents:gu},[yu]=$("UserDiscourag"),Yn=N({name:yu,props:{iconSrc:{type:String,default:"/lobby_asset/common/web/common/comm_icon_tc_gant.svg"},mode:Number,noPointerEvents:{type:Boolean,default:!0}},setup(e){const o=U(),{isDiscouragVisible:s,discourageHeightStyle:i,isSmallFontSize:r}=au(),a=()=>{var c;return t("div",{style:i.value,class:[Zn.discourag,Zn[`mode${e.mode}`],e.noPointerEvents&&Zn.noPointerEvents,r.value&&Zn.notChinese,"user-discourag"]},[t(x,{class:Zn.icon,src:e.iconSrc},null),t("span",{class:Zn.text},[(c=o.userInfos)==null?void 0:c.frontRemark])])};return()=>{if(!s.value)return null;const c=e.mode===ko.MODE_5,l=c&&{height:`calc(${i.value["--discourag-height"]} + var(--discourag-bottom-to-tab, 0.2rem))`};return c?t("div",{style:l},[a()]):a()}}}),pu=R(()=>w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]))),ss=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),bu=R(()=>w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]))),vu=R(()=>w(()=>Promise.resolve().then(()=>ct),void 0)),[fu]=$("topUserCard"),Eu=N({name:fu,setup(){const e=U(),{isShowMineSelectCustomName:o}=$n,{isOnlyIDAndUsername:s}=zn(),{showUnLoginBadge4Mine:i}=Hn();it();const r=ge(),a=sn(cn,!1),c=v(()=>r.isRtlLanguage?[q("2.4rem"),q("0.2rem")]:[q("-2.4rem"),q("0.2rem")]);return()=>{var l,p;return t("div",{class:[ue.topUserCardContainer,e.hasLoginedComponent?ue["has-login"]:""]},[e.hasLoginedComponent?t(Ie,null,[t("div",{class:{[ue.header]:!0,[ue.club]:re.enable}},[t("div",null,null),t(Fn,{showSetting:!1,isCommonMine:!0,iconPath:{service:"/lobby_asset/common/web/profile/style_1_icon_top_kf.svg",message:"/lobby_asset/common/web/profile/style_1_icon_top_xxyd.svg",unReadMessage:"/lobby_asset/common/web/profile/style_1_icon_top_xx.svg"},isNeedText:!1},null)]),t(ss,{class:[ue["marketing-top"],"margin-top-0"],place:F.MINE_TOP},null),a&&t(Yn,{class:ue["user-discourag"],iconSrc:"/lobby_asset/common/common/profile/style_1_icon_hyqt.svg"},null),t("div",{class:ue.infoAndBalance}
2,[t(Vn,{showEdit:!0,showBadgeDot:!0,class:ue.userAvator},null),t("div",{class:ue.accountWrap},[t("p",{class:ue.account},[t(bu,{isShowSelectInConfig:o,isShowMine:!0,isShowID:!1,isShowSortIcon:s.value,class:ue["select-custom-name-1"],optionsClass:"select-options-mine",placement:r.isRtlLanguage?"bottom-end":"bottom-start",sortIconSmartMediaProps:{useImage:!0}},{accountToggle:()=>t(qn,null,null)})]),t("div",{class:ue.subInfo},[t("p",{class:ue.idBox},[t("span",{class:[j.colorNeutral1,ue.label]},[de("ID:")]),t("span",{class:j.colorLead},[(l=e.userInfos)==null?void 0:l.username]),t(Gn,{class:ue.copyButton,text:(p=e.userInfos)==null?void 0:p.username.toString()},null)]),!mn().isHideCurrency&&t(Ie,null,[t("span",{class:ue.divider},null),t(Nn,{class:ue.currencySign},null),t(pu,{popoverClassName:ue.currencyPopover,showUnderline:!0,showPopoverBorder:!1,showSymbol:!1,placement:r.isRtlLanguage?"bottom-end":"bottom-start",offset:c.value,class:ue.userCurrencyInfo,refreshIcon:"/lobby_asset/{layout}-{bg}-common/web/common/comm_icon_sx.svg"},null)])])])])]):t(Ie,null,[t(ss,{class:["margin-top-0",i.value&&ue["mine-badge-market"]],place:F.MINE_TOP},null),t(vu,{class:ue["un-login-box"],registerBadgeOffset:[-10,-41]},null)])])}}}),hu=e=>({type:Object,default:()=>({...e})}),Iu={openType:"overlay",options:{payEntryId:Nt.PROFILE}},di={position:"right",src:"/lobby_asset/common/web/common/comm_icon_fh.svg"},Su={vipCardClickable:{type:Boolean,default:!1},cardBg:{type:String,required:!1},vipLevelProps:{type:Object,default:()=>({size:76})},rightArrow:hu(di),rightContentEllipsis:{type:Boolean,default:!1}},mi=()=>{const e=Wn(),o=v(()=>{var _,g,y;const d=(g=(_=e.vipLevels)==null?void 0:_.VipSettings)!=null?g:[];let u=(y=d==null?void 0:d.findIndex(m=>m.vip===e.currentVip))!=null?y:0;return u<0&&(u=0),d[u+1]}),s=v(()=>{var u,_,g,y;return`VIP ${(y=(g=(u=e.vipInfos)==null?void 0:u.next_vip)!=null?g:(_=o.value)==null?void 0:_.vip)!=null?y:"1"}`}),i=v(()=>{var d,u,_;return e.vipInfos?(d=e.vipInfos)==null?void 0:d.need_deposit:(_=(u=o.value)==null?void 0:u.level_up_deposit)!=null?_:0}),r=v(()=>{var d,u,_;return e.vipInfos?(d=e.vipInfos)==null?void 0:d.next_vip_deposit:(_=(u=o.value)==null?void 0:u.level_up_deposit)!=null?_:0}),a=v(()=>{var d,u,_;return e.vipInfos?(d=e.vipInfos)==null?void 0:d.next_vip_validbet:(_=(u=o.value)==null?void 0:u.level_up_bet)!=null?_:0}),c=v(()=>{var d,u,_;return e.vipInfos?(d=e.vipInfos)==null?void 0:d.need_validbet:(_=(u=o.value)==null?void 0:u.level_up_bet)!=null?_:0}),l=v(()=>e.isTopVip),p=v(()=>e.currentVip.toString().split(""));return{nextLevelTotalDeposit:r,nextLevelTotalValidbet:a,nextItemInfo:o,levelGap:s,needDeposit:i,needValidbet:c,isTopVip:l,vipLevelArr:p}},Cu=()=>{const e=ge(),o=Wn(),s=mi(),i=U(),r=Me(),a=ac(),c=v(()=>i.hasLogined&&s.isTopVip.value&&!a.isBlackUser.value),l=v(()=>{const f=o.currentVip%10;return o.currentVip>=10&&f===0?10:f}),p=(f=0,E=0)=>{if(f===0&&E!==0)return 0;if(f===0&&E===0||c.value||f===E)return 100;const I=At(f).div(E).times(100).toString();return Math.min(Number(Number(I).toFixed(2)),100)},d=v(()=>{var f;return i.hasLoginedComponent?`${p((f=o.vipInfos)==null?void 0:f.user_deposit,s.nextLevelTotalDeposit.value)}%`:"0%"}),u=v(()=>{var f;return i.hasLoginedComponent?`${p((f=o.vipInfos)==null?void 0:f.user_validbet,s.nextLevelTotalValidbet.value)}%`:"0%"}),_=v(()=>i.hasLoginedComponent?nn(s.needDeposit.value):"--.--"),g=v(()=>{var f,E;return nn((E=(f=o.vipInfos)==null?void 0:f.nex_vip_gift)!=null?E:0)}),y=v(()=>{var f,E,I,A;return{deposit:nn((E=(f=o.vipInfos)==null?void 0:f.user_deposit)!=null?E:0),bet:nn((A=(I=o.vipInfos)==null?void 0:I.user_validbet)!=null?A:0)}}),m=v(()=>i.hasLoginedComponent?nn(s.needValidbet.value):"--.--"),b=v(()=>r.isShowVip&&i.hasLoginedComponent),h=v(()=>{var f;return(f=i.userInfos)==null?void 0:f.vip_level}),S=v(()=>o.vipInfosErr?"--":i.hasLoginedComponent?s.levelGap.value:"--");return{isTopVip:c,getPercent:p,depositProcessWidth:d,validbetProcessWidth:u,needDepositText:_,needValidbetText:m,lastVipLevel:l,vipLevelArr:s.vipLevelArr,vipStore:o,vipHooks:s,userStore:i,languageStore:e,isShowVip:b,promotionBonus:g,userDepositBetData:y,userVipLevel:h,levelGapText:S}},Tu="_level_5wxg6_201",Au="_process_5wxg6_162",X={"vip-container":"_vip-container_5wxg6_91","vip-bg":"_vip-bg_5wxg6_139","right-icon":"_right-icon_5wxg6_147","left-wrap":"_left-wrap_5wxg6_156","process-info":"_process-info_5wxg6_162","process-bar-bg":"_process-bar-bg_5wxg6_170","process-bar-item":"_process-bar-item_5wxg6_177","process-bar-label":"_process-bar-label_5wxg6_181","process-info-item":"_process-info-item_5wxg6_184","vip-level":"_vip-level_5wxg6_194",level:Tu,"current-vip":"_current-vip_5wxg6_205","right-wrap":"_right-wrap_5wxg6_212","promotion-wrap":"_promotion-wrap_5wxg6_217","promotion-text":"_promotion-text_5wxg6_223","promotion-amount":"_promotion-amount_5wxg6_235","vip-process-text":"_vip-process-text_5wxg6_240","vip-process-text-wrap":"_vip-process-text-wrap_5wxg6_246",process:Au,"process-type-label":"_process-type-label_5wxg6_261","action-text":"_action-text_5wxg6_267","action-btn":"_action-btn_5wxg6_278","action-amount":"_action-amount_5wxg6_287","vip-process-text1":"_vip-process-text1_5wxg6_293","promotion-wrap-ellipsis":"_promotion-wrap-ellipsis_5wxg6_315","middle-space":"_middle-space_5wxg6_329","vip-top-container":"_vip-top-container_5wxg6_336"},is=N({name:"VipCardActionItem",props:{visible:{type:Boolean,default:!1},onClick:{type:Function,required:!0},btnText:{type:String,required:!0},amount:{type:Number,default:void 0}},setup(e){const{t:o}=W();return()=>{var s;return e.visible?t("div",{class:X["vip-process-text-wrap"]},[t("div",{class:X.process}
2,[t("span",{class:X["process-type-label"]},[t("span",{class:X["action-text"]},[o("lobby.reward.vip.rewardMap.levelUpTip")]),t("span",{onClick:e.onClick,class:X["action-btn"]},[e.btnText])]),t("span",{class:X["action-amount"]},[nn((s=e.amount)!=null?s:0)])])]):null}}}),wu="_bar_12ggc_91",Lu="_netErr_12ggc_96",Nu="_barItem_12ggc_100",Ou="_barLabel_12ggc_105",Ru="_netRetry_12ggc_111",pt={bar:wu,netErr:Lu,barItem:Nu,barLabel:Ou,netRetry:Ru},[Pu]=Ys("vipProgress"),ku=N({name:Pu,props:{type:{type:String,default:"recharge"},className:Object},setup(e){const o=Wn(),s=mi(),{vipInfos:i,vipInfosErr:r,vipTimeLoading:a}=On(o),c=U(),l=v(()=>{var y,m;return c.isTemporaryAccountMode?0:e.type==="recharge"?((y=i.value)==null?void 0:y.user_deposit)||0:((m=i.value)==null?void 0:m.user_validbet)||0}),p=v(()=>e.type==="recharge"?s.nextLevelTotalDeposit.value||0:s.nextLevelTotalValidbet.value||0),d=v(()=>c.hasLoginedComponent?`${_(l.value,p.value)}%`:"0%"),u=v(()=>c.hasLoginedComponent?`${nn(l.value)}/${nn(p.value)}`:"--.--/--.--"),_=(y=0,m=0)=>{if(y===0&&m!==0)return 0;if(y===0&&m===0||o.isTopVip||y===m)return 100;const b=At(y).div(m).times(100).toString();return Math.min(Number(Number(b).toFixed(2)),100)},g=y=>{var m,b;return(b=(m=e.className)==null?void 0:m[y])!=null?b:""};return()=>t("div",{class:[pt.bar,g("bg"),r.value?pt.netErr:""]},[t("div",{style:{width:d.value},class:[pt.barItem,!r.value&&g("bar")]},null),c.hasLoginedComponent&&r.value?t(Ao,{class:pt.netRetry,loading:a.value,onRetry:()=>{o.getVipInfos()},type:"icon"},null):t("span",{class:[pt.barLabel,g("label")]},[u.value])])}}),Du={bg:X["process-bar-bg"],bar:X["process-bar-item"],label:X["process-bar-label"]},cs=N({name:"VipCardProgressItem",props:{visible:{type:Boolean,default:!1},type:{type:String,required:!0}},setup(e){return()=>e.visible?t("div",{class:X["process-info-item"]},[t(ku,{className:Du,type:e.type},null)]):null}});function Mu(e){const o=Wn(),s=v(()=>{var l;return(l=kc(e))!=null?l:o.currentVip}),i=v(()=>{var l,p;return(p=(l=o.vipLevels)==null?void 0:l.VipSettings)==null?void 0:p.find(d=>d.vip===s.value)}),r=v(()=>{var l,p,d,u;return String((u=(d=(l=o.vipLevels)==null?void 0:l.current_style)!=null?d:(p=o.vipDetails)==null?void 0:p.current_style)!=null?u:"1")}),a=v(()=>{var l,p,d;return((l=i.value)==null?void 0:l.icon_style)||((p=o.vipInfos)==null?void 0:p.icon_style)||((d=o.vipDetails)==null?void 0:d.icon_style)||""}),c=v(()=>{var l,p,d;return((l=i.value)==null?void 0:l.icon_color)||((p=o.vipInfos)==null?void 0:p.icon_color)||((d=o.vipDetails)==null?void 0:d.icon_color)||""});return{vipLevel:s,levelInfo:i,currentStyle:r,iconStyle:a,iconColor:c}}const Bu={level:Number,size:{type:Number,default:70},isNumScale:{type:Boolean,default:!1},numberStyle:{type:Object,default:()=>({})},hideLevel:{type:Boolean,default:!0}},bt={"level-image":"_level-image_1u318_91","icon-img":"_icon-img_1u318_95","level-text":"_level-text_1u318_102","level-style-1":"_level-style-1_1u318_121","level-style-2":"_level-style-2_1u318_143","level-style-3":"_level-style-3_1u318_146","level-style-4":"_level-style-4_1u318_150"},[xu]=$("pages-vip-level"),Uu=70,$u=N({name:xu,props:Bu,setup(e){const{vipLevel:o,currentStyle:s,iconStyle:i,iconColor:r}=Mu(()=>e.level),a=v(()=>{const p=He(e.size);return{width:p,height:p}}),c=v(()=>({"--vip-level-scale":e.isNumScale?At(e.size).div(Uu).times(.9).toString():1,...e.numberStyle})),l=v(()=>!["0","5"].includes(s.value));return()=>t("div",{class:bt["level-image"],style:a.value},[l.value&&t(x,{class:bt["icon-img"],src:r.value},null),t(x,{class:bt["icon-img"],src:i.value},null),l.value&&e.hideLevel&&t("div",{style:c.value,class:[bt["level-text"],bt[`level-style-${s.value}`]]},[String(o.value).split("").map(p=>t("span",{"data-text":p},[p]))])])}}),[Hu]=$("vip-style1"),gi=N({name:Hu,props:Su,setup(e,{slots:o}){const{t:s}=W(),{isTopVip:i,vipHooks:r,vipStore:a,userVipLevel:c,isShowVip:l}=Cu(),p=v(()=>({...di,...e.rightArrow})),d=(y,m=!1)=>
2{m&&!e.vipCardClickable||(y.stopPropagation(),a.vipInfosErr||Ke(D.VIP))},u=()=>{var y;return t(x,{src:(y=p.value.src)!=null?y:"",class:X["right-icon"],onClick:d},null)},_=y=>{y.stopPropagation(),Ln(Iu)},g=y=>{y.stopPropagation(),lc()};return()=>{var b,h,S,f;if(!l.value)return;const y=r.nextLevelTotalDeposit.value>0,m=r.nextLevelTotalValidbet.value>0;return t("div",{class:[X["vip-container"],i.value&&X["vip-top-container"]],onClick:E=>d(E,!0)},[e.cardBg&&t(x,{src:e.cardBg,class:X["vip-bg"]},null),t("div",{class:X["left-wrap"]},[t("div",{class:X["vip-level"]},[((b=o.vipLevel)==null?void 0:b.call(o))||t($u,Y({class:X.level},e.vipLevelProps),null),((h=o.currentVip)==null?void 0:h.call(o,c.value))||t("div",{class:X["current-vip"]},[de("V"),c.value])]),!i.value&&t("div",{class:X["process-info"]},[t(cs,{visible:y,type:"recharge"},null),t(cs,{visible:m,type:"bet"},null)])]),t("div",{class:X["middle-space"]},null),t("div",{class:X["right-wrap"]},[t("div",{class:e.rightContentEllipsis?X["promotion-wrap-ellipsis"]:X["promotion-wrap"]},[i.value?t("span",{class:X["max-text"]},[s("lobby.reward.base.isTopVip")]):t("div",{class:X["promotion-text-wrap"]},[t("span",{class:X["promotion-text"]},[s("lobby.reward.vip.rewardMap.promotion")]),t("span",{class:X["promotion-amount"]},[nn((f=(S=a.vipInfos)==null?void 0:S.nex_vip_gift)!=null?f:0)])]),p.value.position==="top-right"&&u()]),!i.value&&t("div",{class:e.rightContentEllipsis?X["vip-process-text1"]:X["vip-process-text"]},[t(is,{visible:y,onClick:_,btnText:s("lobby.reward.vip.rewardMap.recharge"),amount:r.needDeposit.value},null),t(is,{visible:m,onClick:g,btnText:s("lobby.reward.vip.rewardMap.betting"),amount:r.needValidbet.value},null)])]),p.value.position==="right"&&u()])}}}),ju="_mine_1akad_91",Jn={mine:ju,"mine-1-vip":"_mine-1-vip_1akad_97","mine1-menu-unlogin":"_mine1-menu-unlogin_1akad_114","bind-no-wallet-container":"_bind-no-wallet-container_1akad_117","top-user-card-box":"_top-user-card-box_1akad_185"};w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]));w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]));w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]));w(()=>Promise.resolve().then(()=>ct),void 0);const Gu=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[Wu]=$("MineTheme1"),zu=N({name:Wu,setup(){const e=U(),o=Qe(),s=Lt();Un(cn,!0);const i=v(()=>`/lobby_asset/common/common/profile/${!s.isNoBg||o.isDark?"style_1_topbg_yd":"style_1_topbg"}.webp`);return()=>t(x,{src:i.value,tag:"div",style:{backgroundSize:"100% auto"},class:[Jn.mine,"mine-box",null]},{default:()=>[t(Eu,{class:Jn["top-user-card-box"]},null),t(Hl,null,null),t(jn,{class:Jn["bind-no-wallet-container"]},null),t(gi,{vipCardClickable:!0,class:Jn["mine-1-vip"],cardBg:"/lobby_asset/common/common/profile/vip_bgdw.png"},null),t(Gu,{class:Jn["marketing-mine-profile"],place:F.MINE_PROFILE_BELOW},null),t(Tl,{class:{[Jn["mine1-menu-unlogin"]]:!e.hasLoginedComponent}},null)]})}}),ee="var(--skin__primary)",Q="var(--skin__neutral_2)",Vu={[n.REPORT_DETAILS
2]:{icon:[{icon:"style_2_icon_list_zdjl.svg",color:Q},{icon:"style_2_icon_list_zdjl2.svg",color:ee}]},[n.SHARE_EARN]:{icon:[{icon:"style_2_icon_list_tgzq.svg",color:Q},{icon:"style_2_icon_list_tgzq2.svg",color:ee}]},[n.AGENT_APPLY]:{icon:[{icon:"style_2_icon_list_sqdl.svg",color:Q},{icon:"style_2_icon_list_sqdl2.svg",color:ee}]},[n.ACCOUNT_DETAILS]:{icon:[{icon:"style_2_icon_list_zhmx.svg",color:Q},{icon:"style_2_icon_list_zhmx2.svg",color:ee}]},[n.BETTING_RECORD]:{icon:[{icon:"style_2_icon_list_tzjl.svg",color:Q},{icon:"style_2_icon_list_tzjl2.svg",color:ee}]},[n.PERSONAL_STATMENT]:{icon:[{icon:"style_2_icon_list_grbb.svg",color:Q},{icon:"style_2_icon_list_grbb2.svg",color:ee}]},[n.WITHDRAWMANAGEMENT]:{icon:[{icon:"style_2_icon_list_txgl.svg",color:Q},{icon:"style_2_icon_list_txgl2.svg",color:ee}]},[n.SETTINGS]:{icon:[{icon:"style_2_icon_list_grzl.svg",color:Q},{icon:"style_2_icon_list_grzl2.svg",color:ee}]},[n.PROMOTE]:{icon:[{icon:"style_2_icon_list_fxzq.svg",color:Q},{icon:"style_2_icon_list_fxzq2.svg",color:ee}]},[n.CLUB_APPLY]:{icon:[{icon:"style_2_icon_list_sqjlb.svg",color:Q},{icon:"style_2_icon_list_sqjlb2.svg",color:ee}]},[n.SECURITY]:{icon:[{icon:"style_2_icon_list_aqzx.svg",color:Q},{icon:"style_2_icon_list_aqzx2.svg",color:ee}]},[n.KYC]:{icon:[{icon:"style_2_icon_list_sfyz.svg",color:Q},{icon:"style_2_icon_list_sfyz2.svg",color:ee}]},[n.VIP]:{icon:[{icon:"style_2_icon_list_vip.svg",color:Q},{icon:"style_2_icon_list_vip2.svg",color:ee}],iconRender:null},[n.COMMONQUESTION]:{icon:[{icon:"style_2_icon_list_cjwt.svg",color:Q},{icon:"style_2_icon_list_cjwt2.svg",color:ee}]},[n.LANUANGE]:{icon:[{icon:"style_2_icon_list_xzyy.svg",color:Q},{icon:"style_2_icon_list_xzyy2.svg",color:ee}]},[n.FEEDBACK]:{icon:[{icon:"style_2_icon_list_yjfk.svg",color:Q},{icon:"style_2_icon_list_yjfk2.svg",color:ee}]},[n.DEVICE_INFO]:{icon:[{icon:"style_2_icon_list_dlsb.svg",color:Q},{icon:"style_2_icon_list_dlsb2.svg",color:ee}]},[n.ABOUT_US]:{icon:[{icon:"style_2_icon_list_gywm.svg",color:Q},{icon:"style_2_icon_list_gywm2.svg",color:ee}]},[n.FORBIDDENSELF]:{icon:[{icon:"style_2_icon_list_zwjz.svg",color:Q},{icon:"style_2_icon_list_zwjz2.svg",color:ee}]},[n.SWITCH_ACCOUNT]:{icon:[{icon:"style_2_icon_list_qhzh.svg",color:Q},{icon:"style_2_icon_list_qhzh2.svg",color:ee}]},[n.LOGINOUT]:{icon:[{icon:"style_2_icon_list_aqtc.svg",color:Q},{icon:"style_2_icon_list_aqtc2.svg",color:ee}]},[n.FINDUS]:{icon:[{icon:"style_2_icon_list_zdwm.svg",color:Q},{icon:"style_2_icon_list_zdwm2.svg",color:ee}]},[n.YUEBAO]:{icon:[{icon:"style_2_icon_mid_lxb.svg",color:Q},{icon:"style_2_icon_mid_lxb2.svg",color:ee}]},[n.RECHARGE_FUND]:{icon:[{icon:"style_2_icon_mid_gjj.svg",color:Q}]},[n.MOMENTS]:{icon:[{icon:"style_2_icon_list_pyq.svg",color:Q},{icon:"style_2_icon_list_pyq2.svg",color:ee}]},[n.CLUB_WITHDRAW_MANAGEMENT]:{icon:[{icon:"style_2_icon_list_qkgl.svg",color:Q},{icon:"style_2_icon_list_qkgl2.svg",color:ee}]},[n.CLUB_DEPOSITE_MANAGEMENT]:{icon:[{icon:"style_2_icon_list_ckgl.svg",color:Q},{icon:"style_2_icon_list_ckgl2.svg",color:ee}]},[n.CLUB_ACCOUNT_DETAILS]:{icon:[{icon:"style_2_icon_list_zdjl.svg",color:Q},{icon:"style_2_icon_list_zdjl2.svg",color:ee}]},[n.GOSSIP]:{icon:[{icon:"style_2_icon_cgw.png"}]},get[n.NIGHTMODE](){const{isDark:e}=Qe();return{icon:[{icon:e?"style_2_icon_list_rjms2.svg":"style_2_icon_list_yjms.svg",color:Q},{icon:e?"style_2_icon_list_rjms.svg":"style_2_icon_list_yjms2.svg",color:ee}]}}},Fu="_menuListWrap_1ifrc_91",qu="_menuListItem_1ifrc_103",Yu="_menuItemLabel_1ifrc_106",co={menuListWrap:Fu,menuListItem:qu,menuItemLabel:Yu},Ku=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[Qu]=ae("subMenuGrid"),Xu=N({name:Qu,setup(){const{filterMenu:e}=xe();Z("Lv1"),Z("Lv2"),Z("onlyLv2");const o=v(()=>[...e([n.REPORT_DETAILS,n.WITHDRAWMANAGEMENT,n.VIP,{key:n.SECURITY,badgeProps:{arrowPosition:"center"}},n.FINDUS,n.CLAIM,{key:n.SETTINGS,badgeProps:{arrowPosition:"center"}},n.KYC,{key:n.PROMOTE,badge:void 0},n.AGENT_APPLY,n.MOMENTS,n.GOSSIP,n.CLUB_APPLY,n.COMMONQUESTION,n.LANUANGE,n.FEEDBACK,n.DEVICE_INFO,n.NIGHTMODE,n.ABOUT_US,n.FORBIDDENSELF,n.SWITCH_ACCOUNT,n.LOGINOUT],Vu)]);return()=>t("div",{class:[co.menuListWrap,"menulist-wrap",re.enable]},[t(Po,{gridData:o.value.filter(s=>!s.hidden),className:{menuItem:co.menuListItem,menuItemLabel:co.menuItemLabel}},null),t(Ku,{place:F.MINE_BELOW},null)])}}),Mt="var(--skin__lead)",rs={[n.RECHARGE]:"gif_profile_style2.gif",[n.WITHDRAW]:[{icon:"style_2_icon_mid_tx.svg",color:Mt},{icon:"style_2_icon_mid_tx2.svg",color:"var(--skin__accent_1)"}],[n.YUEBAO]:[{icon:"style_2_icon_mid_lxb.svg",color:Mt},{icon:"style_2_icon_mid_lxb2.svg",color:"var(--skin__accent_2)"}],[n.CREDIT_LOAN]:[{icon:"style_2_icon_mid_xyjk.svg",color:Mt},{icon:"style_2_icon_mid_xyjk2.svg",color:"var(--skin__accent_1)"}],[n.COUPONS]:[{icon:"style_2_icon_mid_zkq.svg",color:Mt},{icon:"style_2_icon_mid_zkq2.svg",color:"var(--skin__accent_2)"}],[n.MALL]:[{icon:"style_2_icon_mid_sc.svg",color:"var(--skin__lead)"},{icon:"style_2_icon_mid_sc2.svg",color:"var(--skin__accent_1)"}]},Zu="_navCard_1owcy_101",Ju="_item_1owcy_109",e_="_label_1owcy_119",n_="_icon_1owcy_142",ln={"mine2-navs-wrap":"_mine2-navs-wrap_1owcy_91","nav-slider":"_nav-slider_1owcy_96",navCard:Zu,item:Ju,label:e_,"big-icon":"_big-icon_1owcy_138",icon:n_,"recharge-badge":"_recharge-badge_1owcy_149"};function t_(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const[o_]=ae("navCard"),s_=N({name:o_,setup(){const{filterNavMenu:e,commonMenus:o,scrollInfo:s,handleScroll:i}=rt(),r=v(()=>e(o.value,rs).filter(c=>c.key!==n.CLUB_CENTER_WALLET)),a=Kt();return()=>{let c;return r.value.length===0?null:t("div",{class:ln["mine2-navs-wrap"]},[t(Xt,{tag:"ul",scrollable:r.value.length>5,scrollbarTrigger:"none",draggable:!0,isInit:!0,direction:"x",onScroll:i,class:[ln.navCard,a.eventsList.length>0&&ln["event-on"]]},t_(c=r.value.map(l=>{var p,d;return t("li",Y({class:[ln.item,j.colorLead]},l.domAttr||{},{onClick:()=>{var u;return(u=l.onClick)==null?void 0:u.call(l)}}),[t(we,Y({class:l.key===n.RECHARGE&&[ln["big-icon"],ln["recharge-badge"]]},l.badgeProps||{},{position:(d=(p=l==null?void 0:l.badgeProps)==null?void 0:p.position)!=null?d:"top-center"}),{default:()=>{var u;return[l.iconRender?l.iconRender({icon:l.configIcon||rs[l.key]}):t(je,{class:[ln.icon,j.colorIcon],size:64,iconPath:l.configIcon?"":l.path,icon:(u
2=l.icon)!=null?u:""},null)]}}),t("p",{class:ln.label},[l.title()])])}))?c:{default:()=>[c]}),r.value.length>5&&t(to,Y({class:ln["nav-slider"]},s.value),null)])}}}),i_="_userCard_10uji_91",c_="_topWrap_10uji_97",r_="_club_10uji_105",a_="_avatar_10uji_171",l_="_userInfo_10uji_178",u_="_sperator_10uji_197",__="_label_10uji_203",d_="_idText_10uji_204",m_="_copyButton_10uji_207",g_="_currencyWrap_10uji_219",y_="_currencySign_10uji_222",p_="_commonCurrency_10uji_225",b_="_currencyPopover_10uji_285",ve={userCard:i_,topWrap:c_,club:r_,avatar:a_,userInfo:l_,"username-id":"_username-id_10uji_184","user-name":"_user-name_10uji_187","user-id":"_user-id_10uji_191",sperator:u_,label:__,idText:d_,copyButton:m_,"username-id-currency":"_username-id-currency_10uji_215",currencyWrap:g_,currencySign:y_,commonCurrency:p_,"select-custom-name-2":"_select-custom-name-2_10uji_266",currencyPopover:b_},v_=R(()=>w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]))),f_=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),E_=R(()=>w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]))),[h_]=ae("userCard"),I_=N({name:h_,setup(){const e=U(),o=Ws();it();const{isShowMineSelectCustomName:s}=$n,i=ge(),r=v(()=>i.isRtlLanguage?[q("2.55rem"),q("0.2rem")]:[q("-2.55rem"),q("0.2rem")]),{isOnlyIDAndUsername:a}=zn(),{ownerTopIconMap:c}=pn.useOwnerCustomizeIcon(),l=()=>{const d=o.unReadNum>0?c.get("messageUnreadIcon"):c.get("messageReadIcon"),u=d?[{icon:d}]:[{icon:`/lobby_asset/common/web/profile/${o.unReadNum>0?"style_2_icon_top_xx":"style_2_icon_top_xxyd"}.svg`,color:"var(--skin__neutral_2)"},{icon:`/lobby_asset/common/web/profile/${o.unReadNum>0?"style_2_icon_top_xx2":"style_2_icon_top_xxyd2"}.svg`,color:"var(--skin__primary)"}];return t(je,{size:48,icon:u},null)},p=v(()=>{const d=c.get("customerIcon");return d?[{icon:d,color:"var(--skin__neutral_2)"}]:[{icon:"/lobby_asset/common/web/profile/style_2_icon_top_kf.svg",color:"var(--skin__neutral_2)"},{icon:"/lobby_asset/common/web/profile/style_2_icon_top_kf2.svg",color:"var(--skin__primary)"}]});return()=>{var d,u;return t("div",{class:ve.userCard},[t("div",{class:{[ve.topWrap]:!0,[ve.club]:re.enable}},[t("div",null,null),t(Fn,{showSetting:!1,isNeedText:!1,isCommonMine:!0},{service:t(je,{size:48,icon:p.value},null),message:()=>l()})]),t(f_,{place:F.MINE_TOP},null),t("div",{class:[j.flexCenter,ve.userInfo]},[t(Vn,{class:ve.avatar,showEdit:!0,showBadgeDot:!0},null),t("div",{class:ve["username-id"]},[t("p",{class:[j.flexCenter,ve["user-name"]]},[t(E_,{isShowSelectInConfig:s,isShowMine:!0,isShowID:!1,isShowSortIcon:a.value,class:ve["select-custom-name-2"],optionsClass:"select-options-mine",placement:i.isRtlLanguage?"bottom-end":"bottom-start",sortIconSmartMediaProps:{useImage:!0}},{accountToggle:()=>t(qn,{mode:ce.MODE2},null)})]),t("div",{class:ve["username-id-currency"]},[t("p",{class:[j.flexCenter,ve["user-id"]]},[t("span",{class:[ve.label,j.colorNeutral1]},[de("ID:")]),t("span",{class:[j.colorLead,ve.idText]},[(d=e.userInfos)==null?void 0:d.username]),t(Gn,{class:[j.colorPrimary,ve.copyButton],text:String((u=e.userInfos)==null?void 0:u.username)},null)]),!mn().isHideCurrency&&t(Ie,null,[t("span",{class:ve.sperator},null),t("div",{class:[j.flexCenter,ve.currencyWrap]},[t(Nn,{class:ve.currencySign},null),t(v_,{placement:i.isRtlLanguage?"bottom-end":"bottom-start",offset:r.value,class:ve.commonCurrency,popoverClassName:ve.currencyPopover,showSymbol:!1,badgeProps:{mode:"white",backgroundColor:"var(--skin__accent_1)"},refreshIcon:"/lobby_asset/{layout}-{bg}-common/web/common/comm_icon_sx.svg"},null)])])])])])])}}}),S_="_mine_1wumz_91",C_="_top_1wumz_136",T_="_bgGradient_1wumz_139",A_="_bgImg_1wumz_147",Ze={mine:S_,"un-login-info":"_un-login-info_1wumz_95","bind-no-wallet-container":"_bind-no-wallet-container_1wumz_132",top:C_,bgGradient:T_,bgImg:A_,"un-login":"_un-login_1wumz_95","mine-badge-market":"_mine-badge-market_1wumz_160","user-card-box":"_user-card-box_1wumz_249"};w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]));w(()=>import("./EventSwiperIndex.5jNpw1f0.js"),__vite__mapDeps([4,0,1,2,3,5,16]));w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]));w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]));const w_=R(()=>w(()=>import("./EventSwiperIndex.5jNpw1f0.js"),__vite__mapDeps([4,0,1,2,3,5,16]))),as=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[L_]=$("MineTheme2"),N_=N({name:L_,setup(){const e=U(),{badgeV
2alue:o}=Hn(),s=Qe(),i=Lt(),r=v(()=>`/lobby_asset/common/common/profile/${!i.isNoBg||s.isDark?"style_2_topbg_yd":"style_2_topbg"}.png`);return()=>t("div",{class:Ze.mine},[t("div",{class:Ze.top},[t("div",{class:Ze.bgGradient},null),t(x,{src:r.value,tag:"div",class:[Ze.bgImg,e.hasLoginedComponent?"":Ze["un-login"]],style:{backgroundSize:"100% auto"}},{default:()=>[e.hasLoginedComponent?t(I_,{class:Ze["user-card-box"]},null):t(Ie,null,[t(as,{class:["margin-top-0",!!o.value&&Ze["mine-badge-market"]],place:F.MINE_TOP},null),t(no,{class:Ze["un-login-info"],hiddenInfo:!0,loginBtnBg:"/lobby_asset/common/web/profile/style_2_btn_dl.svg",registerBtnBg:"/lobby_asset/common/web/profile/style_2_btn_zc.svg",registerBadgeOffset:[144,-38],registerBadgePosition:"left"},null)]),t(s_,null,null),t(jn,{class:Ze["bind-no-wallet-container"]},null),t(Yn,{iconSrc:"/lobby_asset/common/common/profile/style_2_icon_hyqt.png"},null)]})]),t(w_,null,null),t(as,{class:[Ze["marketing-mine-profile"]],place:F.MINE_PROFILE_BELOW},null),t(Xu,null,null)])}}),O_={[n.SHARE_EARN]:"style_3_icon_list_tgzq.svg",[n.AGENT_APPLY]:"style_3_icon_list_sqdl.svg",[n.ACCOUNT_DETAILS]:"style_3_icon_list_zhmx.svg",[n.REPORT_DETAILS
2]:"style_3_icon_list_zhmx.svg",[n.BETTING_RECORD]:"style_3_icon_list_tzjl.svg",[n.PERSONAL_STATMENT]:"style_3_icon_list_grbb.svg",[n.WITHDRAWMANAGEMENT]:"style_3_icon_list_txgl.svg",[n.SETTINGS]:"style_3_icon_list_grzl.svg",[n.SECURITY]:"style_3_icon_list_aqzx.svg",[n.KYC]:"style_3_icon_list_sfyz.svg",[n.COMMONQUESTION]:"style_3_icon_list_cjwt.svg",[n.FEEDBACK]:"style_3_icon_list_yjfk.svg",[n.DEVICE_INFO]:"style_3_icon_list_dlsb.svg",[n.ABOUT_US]:"style_3_icon_list_gywm.svg",[n.FORBIDDENSELF]:"style_3_icon_list_zwjz.svg",[n.SWITCH_ACCOUNT]:"style_3_icon_list_qhzh.svg",[n.LOGINOUT]:"style_3_icon_list_aqtc.svg",[n.FINDUS]:"style_3_icon_list_zdwm.svg",[n.CLUB_APPLY]:"style_3_icon_list_sqjlb.svg",[n.MOMENTS]:"style_3_icon_list_pyq.svg",[n.PROMOTE]:"style_3_icon_list_fxzq.svg",[n.LANUANGE]:"style_3_icon_list_xzyy.svg",[n.CLUB_WITHDRAW_MANAGEMENT]:"style_3_icon_list_qkgl.svg",[n.CLUB_DEPOSITE_MANAGEMENT]:"style_3_icon_list_ckgl.svg",[n.CLUB_ACCOUNT_DETAILS]:"style_3_icon_list_zhmx.svg",[n.GOSSIP]:"style_3_icon_cgw.png",get[n.NIGHTMODE](){const{isDark:e}=Qe();return e?"style_3_icon_list_rjms.svg":"style_3_icon_list_yjms.svg"}},R_="_menuList_1929j_91",P_="_menuItem_1929j_102",ls={menuList:R_,menuItem:P_},k_=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[D_]=$("menu"),M_=N({name:D_,setup(){const{filterMenu:e}=xe();Z("Lv1"),Z("Lv2"),Z("onlyLv2");const o=sn(cn,!1),s=v(()=>[...e([n.REPORT_DETAILS,n.WITHDRAWMANAGEMENT,n.PROMOTE,n.SHARE_EARN,n.AGENT_APPLY,n.MOMENTS,n.GOSSIP,n.CLUB_APPLY,n.CLAIM,n.SETTINGS,n.KYC,n.SECURITY,n.FINDUS,n.LANUANGE,n.COMMONQUESTION,n.FEEDBACK,n.DEVICE_INFO,n.NIGHTMODE,n.ABOUT_US,n.FORBIDDENSELF,n.SWITCH_ACCOUNT,n.LOGINOUT],O_)].filter(i=>!(i!=null&&i.hidden)));return()=>t("div",{class:[ls.menuList,"menulist-wrap"]},[o&&t(Yn,{iconSrc:"/lobby_asset/common/common/profile/style_3_icon_hyqt.svg"},null),t(st,{menuList:s.value,className:{menuItem:ls.menuItem,menuItemLeft:"menu-item-left"}},null),t(k_,{class:"margin-bottom-0",place:F.MINE_BELOW},null)])}}),us={[n.WITHDRAW]:"/lobby_asset/common/web/profile/style_3_icon_mid_tx.svg",[n.RECHARGE]:"/lobby_asset/common/common/profile/gif_profile_style3.gif",[n.CREDIT_LOAN]:"/lobby_asset/common/web/profile/style_3_icon_mid_xyjk.svg",[n.YUEBAO]:"/lobby_asset/common/web/profile/style_3_icon_mid_lxb.svg",[n.RECHARGEFUND]:"/lobby_asset/common/web/profile/style_3_icon_mid_gjj.svg",[n.COUPONS]:"/lobby_asset/common/common/profile/style_3_icon_mid_zkq.svg",[n.MALL]:"/lobby_asset/common/common/profile/style_3_icon_mid_sc.svg"},B_="_navCard_ak00t_103",x_="_item_ak00t_112",U_="_icon_ak00t_124",$_="_label_ak00t_139",In={"mine3-navs-wrap":"_mine3-navs-wrap_ak00t_91","mine3-nav-slider":"_mine3-nav-slider_ak00t_96",navCard:B_,item:x_,icon:U_,"big-icon":"_big-icon_ak00t_129",label:$_,"recharge-badge":"_recharge-badge_ak00t_190"};function H_(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const[j_]=$("HeadButton"),G_=N({name:j_,setup(){const{filterNavMenu:e,commonMenus:o,scrollInfo:s,handleScroll:i}=rt(),r=v(()=>e(o.value,us).filter(a=>a.key!==n.CLUB_CENTER_WALLET));return()=>{let a;return r.value.length===0?null:t("div",{class:In["mine3-navs-wrap"]},[t(Xt,{tag:"ul",class:In.navCard,scrollable:r.value.length>5,scrollbarTrigger:"none",draggable:!0,isInit:!0,direction:"x",onScroll:i},H_(a=r.value.map(c=>{var l,p;return t("div",Y({class:In.item},c.domAttr||{},{onClick:c.onClick}),[t(we,Y({class:c.key===n.RECHARGE&&[In["big-icon"],In["recharge-badge"]]},c.badgeProps||{},{position:(p=(l=c==null?void 0:c.badgeProps)==null?void 0:l.position)!=null?p:"top-center"}),{default:()=>[c.iconRender?c.iconRender({icon:c.configIcon||us[c.key]}):c.icon&&t(x,{src:c.icon,class:In.icon},null)]}),t("p",{class:In.label},[c.title()])])}))?a:{default:()=>[a]}),r.value.length>5&&t(to,Y({class:In["mine3-nav-slider"]},s.value),null)])}}}),W_="_userCard_1ik1c_91",z_="_cardBg_1ik1c_125",V_="_gradientBG_1ik1c_196",F_="_wrap_1ik1c_203",q_="_avatar_1ik1c_210",Y_="_name_1ik1c_249",K_="_id_1ik1c_252",Q_="_subInfo_1ik1c_266",X_="_userName_1ik1c_281",Z_="_copyButton_1ik1c_289",J_="_divider_1ik1c_292",ed="_currencyWrap_1ik1c_309",nd="_commonCurrency_1ik1c_312",td="_currencycContainer_1ik1c_341",od="_currencySign_1ik1c_345",sd="_unLoginCurrency_1ik1c_402",id="_flexCenter_1ik1c_413",cd="_currencyPopover_1ik1c_419",V={userCard:W_,"vip-card":"_vip-card_1ik1c_98",cardBg:z_,"mine-badge-market":"_mine-badge-market_1ik1c_178",gradientBG:V_,"un-login-header":"_un-login-header_1ik1c_200",wrap:F_,avatar:q_,name:Y_,id:K_,subInfo:Q_,"max-length-user-info":"_max-length-user-info_1ik1c_278",userName:X_,copyButton:Z_,divi
2der:J_,"flex-box-1":"_flex-box-1_1ik1c_301","flex-box-2":"_flex-box-2_1ik1c_305",currencyWrap:ed,commonCurrency:nd,"un-login":"_un-login_1ik1c_200",currencycContainer:td,currencySign:od,"select-custom-name-3":"_select-custom-name-3_1ik1c_351","un-login-info":"_un-login-info_1ik1c_367",unLoginCurrency:sd,flexCenter:id,currencyPopover:cd,"bind-no-wallet-container":"_bind-no-wallet-container_1ik1c_426"},rd=R({loader:()=>w(()=>import("./VipCardIndex.snMCLmyK.js"),__vite__mapDeps([0,1,2,17,3,4,5,18])),loadingComponent:uc}),ad=R(()=>w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]))),_s=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),ld=R(()=>w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]))),ud=R(()=>w(()=>Promise.resolve().then(()=>ct),void 0)),{isShowMineSelectCustomName:_d}=$n,[dd]=$("userCard"),md=N({name:dd,setup(){const e=Wn(),o=U(),s=Me(),{isOnlyIDAndUsername:i}=zn(),r=ge(),{badgeValue:a}=Hn(),c=ne(),l=ne(!1),p=v(()=>r.isRtlLanguage?[q("2.32rem"),q("0.2rem")]:[q("-2.32rem"),q("0.2rem")]);return it(),Ot(()=>{const d=c.value.querySelector(".user-info-show-name");l.value=d.scrollWidth>d.clientWidth}),()=>{var d,u,_;return t("div",{class:V.userCard},[o.hasLoginedComponent&&t(x,{class:[V.cardBg,""],tag:"div",src:!s.isShowVip||re.enable?"":`/lobby_asset/common/common/profile/style_3_topbg${((d=e.vipInfos)==null?void 0:d.background_index)||"10"}.png`},{default:()=>[re.enable,t(Fn,{isCommonMine:!0,iconPath:{service:"/lobby_asset/common/web/profile/style_3_icon_top_kf.svg",message:"/lobby_asset/common/web/profile/style_3_icon_top_xxyd.svg",unReadMessage:"/lobby_asset/common/web/profile/style_3_icon_top_xx.svg"},isNeedText:!1,showSetting:!1},null),t(rd,{class:V["vip-card"],imgSrc:{bg:"/lobby_asset/common/common/profile/style_3_vipbg.png"}},null)]}),t("div",{class:[V.gradientBG,o.hasLoginedComponent?"":V["un-login-header"]]},[o.hasLoginedComponent&&t(_s,{class:"margin-bottom-0",place:F.MINE_TOP},null),o.hasLoginedComponent?t("div",{class:[V.wrap]},[t(Vn,{class:V.avatar,showEdit:!0,showBadgeDot:!0},null),t("div",{class:{[V.subInfo]:!0,[V["max-length-user-info"]]:l.value}},[t("div",{class:V["flex-box-1"]},null),t("div",{ref:c,class:V.userName},[t("p",{class:V.name},[t(ld,{isShowSelectInConfig:_d,isShowMine:!0,isShowID:!1,isShowSortIcon:i.value,class:V["select-custom-name-3"],optionsClass:"select-options-mine",placement:r.isRtlLanguage?"bottom-end":"bottom-start",sortIconSmartMediaProps:{useImage:!0}},{accountToggle:()=>t(qn,{mode:ce.MODE3},null)})]),t("p",{class:V.id},[t("span",null,[de("ID:")]),t("span",null,[(u=o.userInfos)==null?void 0:u.username]),t(Gn,{text:String((_=o.userInfos)==null?void 0:_.username),class:V.copyButton},null)])]),t("div",{class:V["flex-box-2"]},null),!mn().isHideCurrency&&t("div",{class:[V.flexCenter,V.currencyWrap]},[t(Nn,{class:V.currencySign},null),t("span",{class:V.divider},[de("|")]),t("div",{class:V.currencycContainer},[t(ad,{popoverClassName:V.currencyPopover,class:V.commonCurrency,placement:r.isRtlLanguage?"bottom-end":"bottom-start",offset:p.value,showSymbol:!1,showPopoverBorder:!1,showUnderline:!0,refreshIcon:"/lobby_asset/{layout}-{bg}-common/web/common/comm_icon_sx.svg"},null)])])])]):t(Ie,null,[t(_s,{class:[V["marketing-top"],"margin-top-0",!!a.value&&V["mine-badge-market"]],place:F.MINE_TOP},null),t(ud,{class:V["un-login-info"],registerBadgeOffset:[144,-41]},{renderSubTips:()=>t("div",{class:V["un-login"]},[t(Nn,{class:V.currencySign},null),t("span",{class:V.divider},[de("|")]),t("div",{class:V.unLoginCurrency},[de("--.--")])])})]),t(G_,null,null),t(jn,{class:V["bind-no-wallet-container"]},null)])])}}}),gd="_theme3_17zoo_91",ds={theme3:gd,"user-card-box":"_user-card-box_17zoo_99"};w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]));w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]));w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]));w(()=>Promise.resolve().then(()=>ct),void 0);w(()=>import("./VipCardIndex.snMCLmyK.js"),__vite__mapDeps([0,1,2,17,3,4,5,18]));const yd=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[pd]=$("MineTheme3"),bd=N({name:pd,setup(){return Un(cn,!0),()=>t("div",{class:ds.theme3},[t(md,{class:ds["user-card-box"]},null),t(yd,{class:"margin-bottom-0",place:F.MINE_PROFILE_BELOW},null),t(M_,null,null)])}}),vd={[n.SHARE_EARN]:{icon:[{icon:"style_4_icon_list_tgzq.svg"},{icon:"style_4_icon_list_tgzq2.svg",color:"var(--skin__accent_3)"}]},[n.AGENT_APPLY]:{icon:[{icon:"style_4_icon_list_sqdl.svg"},{icon:"style_4_icon_list_sqdl2.svg",color:"var(--skin__accent_3)"}]},[n.VIP]:{icon:[{icon:"style_4_icon_btmxz_vip.svg"},{icon:"style_4_icon_list_vip2.svg",color:"var(--skin__accent_3)"}]},[n.PROMOTE]:{icon:[{icon:"style_4_icon_list_fxzq.svg"},{icon:"style_4_icon_list_fxzq2.svg",color:"var(--skin__accent_3)"}]},[n.CLUB_APPLY]:{icon:[{icon:"style_4_icon_list_sqjlb.svg"},{icon:"style_4_icon_list_sqjlb2.svg",color:"var(--skin__accent_3)"}]},[n.BETTING_RECORD]:{icon:[{icon:"style_4_icon_list_tzjl.svg"},{icon:"style_4_icon_list_tzjl2.svg",color:"var(--skin__accent_3)"}]}
2,[n.REPORT_DETAILS]:{icon:[{icon:"style_4_icon_list_zhmx.svg"},{icon:"style_4_icon_list_zhmx2.svg",color:"var(--skin__accent_3)"}]},[n.PERSONAL_STATMENT]:{icon:[{icon:"style_4_icon_list_grbb.svg"},{icon:"style_4_icon_list_grbb2.svg",color:"var(--skin__accent_3)"}]},[n.SETTINGS]:{icon:[{icon:"style_4_icon_list_grzl.svg"},{icon:"style_4_icon_list_grzl2.svg",color:"var(--skin__accent_3)"}]},[n.SECURITY]:{icon:[{icon:"style_4_icon_list_aqzx.svg"},{icon:"style_4_icon_list_aqzx2.svg",color:"var(--skin__accent_3)"}]},[n.KYC]:{icon:[{icon:"style_4_icon_list_sfyz.svg"},{icon:"style_4_icon_list_sfyz2.svg",color:"var(--skin__accent_3)"}]},[n.LANUANGE]:{icon:[{icon:"style_4_icon_list_xzyy.svg"},{icon:"style_4_icon_list_xzyy2.svg",color:"var(--skin__accent_3)"}]},[n.COMMONQUESTION]:{icon:[{icon:"style_4_icon_list_cjwt.svg"},{icon:"style_4_icon_list_cjwt2.svg",color:"var(--skin__accent_3)"}]},[n.FEEDBACK]:{icon:[{icon:"style_4_icon_list_yjfk.svg"},{icon:"style_4_icon_list_yjfk2.svg",color:"var(--skin__accent_3)"}]},[n.DEVICE_INFO]:{icon:[{icon:"style_4_icon_list_dlsb.svg"},{icon:"style_4_icon_list_dlsb2.svg",color:"var(--skin__accent_3)"}]},[n.ABOUT_US]:{icon:[{icon:"style_4_icon_list_gywm.svg"},{icon:"style_4_icon_list_gywm2.svg",color:"var(--skin__accent_3)"}]},[n.FORBIDDENSELF]:{icon:[{icon:"style_4_icon_list_zwjz.svg"},{icon:"style_4_icon_list_zwjz2.svg",color:"var(--skin__accent_3)"}]},[n.SWITCH_ACCOUNT]:{icon:[{icon:"style_4_icon_list_qhzh.svg"},{icon:"style_4_icon_list_qhzh2.svg",color:"var(--skin__accent_3)"}]},[n.LOGINOUT]:{icon:[{icon:"style_4_icon_list_aqtc.svg"},{icon:"style_4_icon_list_aqtc2.svg",color:"var(--skin__accent_3)"}]},[n.FINDUS]:{icon:[{icon:"style_4_icon_list_zdwm.svg"},{icon:"style_4_icon_list_zdwm2.svg",color:"var(--skin__accent_3)"}]},[n.MOMENTS]:{icon:[{icon:"style_4_icon_list_pyq.svg"},{icon:"style_4_icon_list_pyq2.svg",color:"var(--skin__accent_3)"}]},[n.CLUB_WITHDRAW_MANAGEMENT]:{icon:[{icon:"style_4_icon_list_qkgl.svg"},{icon:"style_4_icon_list_qkgl2.svg",color:"var(--skin__accent_3)"}]},[n.CLUB_DEPOSITE_MANAGEMENT]:{icon:[{icon:"style_4_icon_list_ckgl.svg"},{icon:"style_4_icon_list_ckgl2.svg",color:"var(--skin__accent_3)"}]},[n.GOSSIP]:{icon:[{icon:"style_4_icon_cgw.png"}]},get[n.NIGHTMODE](){const{isDark:e}=Qe();return{icon:[{icon:e?"style_4_icon_list_rjms.svg":"style_4_icon_list_yjms.svg"},{icon:e?"style_4_icon_list_rjms2.svg":"style_4_icon_list_yjms2.svg",color:"var(--skin__accent_3)"}]}}},fd="_menuListWrap_1oqbt_91",Ed="_menuList_1oqbt_91",hd="_menuItem_1oqbt_125",Id="_menuItemLeft_1oqbt_132",Bt={menuListWrap:fd,menuList:Ed,menuItem:hd,menuItemLeft:Id},Sd=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[Cd]=ae("menu-list"),Td=N({name:Cd,setup(){const{filterMenu:e}=xe();Z("Lv1"),Z("Lv2");const o=v(()=>{var s;return(s=e([n.VIP,n.PROMOTE,n.SHARE_EARN,n.AGENT_APPLY,n.MOMENTS,n.GOSSIP,n.CLUB_APPLY,n.CLAIM,n.SETTINGS,n.KYC,n.SECURITY,n.FINDUS,n.LANUANGE,n.COMMONQUESTION,n.FEEDBACK,n.DEVICE_INFO,n.NIGHTMODE,n.ABOUT_US,n.FORBIDDENSELF,n.SWITCH_ACCOUNT,n.LOGINOUT],vd))==null?void 0:s.filter(i=>!(i!=null&&i.hidden))});return()=>t("div",{class:[Bt.menuListWrap,"menulist-wrap"]},[t(st,{menuList:o.value,class:Bt.menuList,className:{menuItem:Bt.menuItem,menuItemLeft:Bt.menuItemLeft}},null),t(Sd,{class:"margin-bottom-0",place:F.MINE_BELOW},null)])}}),ms={[n.CREDIT_LOAN]:"/lobby_asset/common/common/profile/style_4_icon_mid_xyjk.png",[n.YUEBAO]:"/lobby_asset/common/common/profile/style_4_icon_mid_yeb.png",[n.RECHARGEFUND]:"/lobby_asset/common/common/profile/style_4_icon_mid_gjj.png",[n.COUPONS]:"/lobby_asset/common/common/profile/style_4_icon_mid_zkq.png",[n.MALL]:"/lobby_asset/common/common/profile/style_4_icon_mid_sc.png"},Ad="_navCard_1xnms_99",wd="_item_1xnms_108",Ld="_icon_1xnms_116",vt={"mine4-navs-wrap":"_mine4-navs-wrap_1xnms_91","mine4-nav-slider":"_mine4-nav-slider_1xnms_95",navCard:Ad,item:wd,icon:Ld};function Nd(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const[Od]=ae("nav-card-menu"),Rd=N({name:Od,setup(){Z("Lv2"),Z("onlyLv2");const{filterNavMenu:e,scrollInfo:o,handleScroll:s}=rt(),i=v(()=>[n.CREDIT_LOAN,n.YUEBAO,n.RECHARGEFUND,n.WITHDRAWMANAGEMENT,n.ACCOUNT_DETAILS,n.COUPONS,n.MALL]),r=v(()=>e(i.value,ms).filter(a=>a.key!==n.CLUB_CENTER_WALLET));return()=>{let a;return r.value.length===0?null:t("div",{class:vt["mine4-navs-wrap"]},[t(Xt,{tag:"ul",scrollable:!0,scrollbarTrigger:"none",draggable:!0,isInit:!0,direction:"x",onScroll:s,class:vt.navCard},Nd(a=r.value.map(c=>{var l,p;return t("li",Y({class:[vt.item,j.colorLead]},c.domAttr||{},{onClick:c.onClick}),[t(we,Y(c.badgeProps||{},{position:(p=(l=c==null?void 0:c.badgeProps)==null?void 0:l.position)!=null?p:"top-center",isSupportRtl:!0}),{default:()=>[c.iconRender?c.iconRender({icon:c.configIcon||ms[c.key]}):c.icon&&t(x,{src:c.icon,class:vt.icon},null)]}),t("span",null,[c.title()])])}))?a:{default:()=>[a]}),r.value.length>5&&t(to,Y({class:vt["mine4-nav-slider"]},o.value),null)])}}}),Pd="_wrap_1p54m_91",kd="_container_1p54m_97",Dd="_header_1p54m_104",Md="_currencyWrap_1p54m_112",Bd="_currencySign_1p54m_112",xd="_currencyInfo_1p54m_116",Ud="_buttonArea_1p54m_136",$d="_btnRecharge_1p54m_158",Hd="_tips_1p54m_180",jd="_action_1p54m_188",Gd="_hideCurrencyContainer_1p54m_193",Wd="_containerNoPaddingBottom_1p54m_196",zd="_currencyPopover_1p54m_289",le={wrap:Pd,container:kd,header:Dd,currencyWrap:Md,currencySign:Bd,currencyInfo:xd,buttonArea:Ud,btnRecharge:$d,"hide-withdraw":"_hide-withdraw_1p54m_165",tips:Hd,action:jd,hideCurrencyContainer:Gd,containerNoPaddingBottom:Wd,"bind-no-wallet-container":"_bind-no-wallet-container_1p54m_199",currencyPopover:zd};function gs(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const Vd=R(()=>w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>
2e.wc),__vite__mapDeps([0]))),[Fd]=ae("nav-card"),qd=N({name:Fd,setup(){const{t:e}=Zt();Z("Lv1");const o=ge(),s=xn(),i=U(),r=Ks(),{openLoginRegister:a}=gn(),c=Ge(),l=v(()=>mn().isHideCurrency),p=v(()=>o.isRtlLanguage?[q("0.63rem"),q("0.2rem")]:[q("-0.63rem"),q("0.2rem")]),d=Qt(),u=()=>t(Ie,null,[t("div",null,[t("span",{class:le.label},[e("lobby.mine.unLogin.tipsLabel1")]),t("span",{class:le.action,onClick:()=>a({login:!0})},[e("lobby.modal.loginRegister.login")])]),t("div",null,[t("span",{class:le.label},[e("lobby.mine.unLogin.tipsLabel2")]),t("span",{class:le.action,onClick:()=>a({register:!0})},[e("lobby.modal.loginRegister.register")])])]),_=()=>t(Ie,null,[t("span",{class:le.label},[e("lobby.mine.unLogin.tipsLabel1")]),t("span",{class:le.action,onClick:()=>a({login:!0})},[e("lobby.modal.loginRegister.login")]),t("span",{class:le.label},[e("lobby.mine.unLogin.tipsLabel2")]),t("span",{class:le.action,onClick:()=>a({register:!0})},[e("lobby.modal.loginRegister.register")])]),g=()=>t("div",{class:[le.tips,"global-tips"]},[o.isRtlLanguage?u():_()]),y=m=>{i.hasLoginedComponent?m():a({onSuccess:m})};return()=>{let m,b;return t("div",{class:le.wrap},[t("div",{class:{[le.container]:!0,[le.hideCurrencyContainer]:l.value,[le.containerNoPaddingBottom]:r.isOpenNoWallet&&!r.isNoWalletCollapse}},[!mn().isHideCurrency&&t("div",{class:le.header},[t("div",{class:[j.flexCenter,le.currencyWrap]},[t(Nn,{class:le.currencySign},null),i.hasLoginedComponent?t(Vd,{class:le.currencyInfo,popoverClassName:le.currencyPopover,placement:o.isRtlLanguage?"bottom-end":"bottom-start",offset:p.value,showSymbol:!1,showPopoverBorder:!1,showUnderline:!0,refreshIcon:"/lobby_asset/{layout}-{bg}-common/web/common/comm_icon_sx.svg"},null):t(g,null,null)]),t("div",{class:le.buttonArea},[!c.isHideRechargeEntry&&t(we,Y({position:"top-center",content:d.rechargeBadgeCount.value},s.payChargeBadge),{default:()=>[t(ot,{class:[le.btnRecharge,c.isHideWithdrawEntry&&le["hide-withdraw"]],onClick:()=>Ln({openType:"overlay",options:{payEntryId:Nt.PROFILE}},Ln),"data-sensors-click":!0,id:"depositClick"},gs(m=e("lobby.header.recharge"))?m:{default:()=>[m]})]}),!c.isHideWithdrawEntry&&t(ot,{plain:!0,"clear-background":!0,type:"primary",onClick:()=>y(Mn)},gs(b=e("lobby.plan.middle.menu.withDraw"))?b:{default:()=>[b]})])]),t(Rd,{class:"mine4-navs-wrap"},null),t(jn,{class:[le["bind-no-wallet-container"],"mine4-no-wallet"]},null)])])}}}),Yd="_userCard_3aze7_91",Kd="_userInfo_3aze7_95",Qd="_userInfoContainer_3aze7_99",Xd="_arrow_3aze7_107",Zd="_userInfoLabel_3aze7_124",Jd="_name_3aze7_127",em="_id_3aze7_130",nm="_avatar_3aze7_140",tm="_header_3aze7_176",om="_club_3aze7_184",sm="_headerContainer_3aze7_220",Pe={userCard:Yd,userInfo:Kd,userInfoContainer:Qd,arrow:Xd,userInfoLabel:Zd,name:Jd,id:em,"btn-copy":"_btn-copy_3aze7_135",avatar:nm,header:tm,club:om,headerContainer:sm,"select-custom-name-4":"_select-custom-name-4_3aze7_231","marketing-top":"_marketing-top_3aze7_247"},im=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),cm=R(()=>w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]))),[rm]=ae("user-card"),am=N({name:rm,setup(){const e=ge(),o=U(),s=Le(),{isShowMineSelectCustomName:i}=$n,{isOnlyIDAndUsername:r}=zn();return it(),()=>{var a,c;return t("div",{class:Pe.userCard},[t("div",{class:{[Pe.header]:!0,[Pe.club]:re.enable}},[t("div",null,null),t(Fn,{class:Pe.headerContainer,isCommonMine:!0,iconPath:{service:"/lobby_asset/common/web/profile/style_4_icon_top_kf.svg",message:"/lobby_asset/common/web/profile/style_4_icon_top_xxyd.svg",unReadMessage:"/lobby_asset/common/web/profile/style_4_icon_top_xx.svg"},isNeedText:!1,showSetting:!1},null)]),t(im,{class:[Pe["marketing-top"],"margin-top-0"],place:F.MINE_TOP},null),t("div",{class:Pe.userInfo},[t(Vn,{class:Pe.avatar,showEdit:!0,showBadgeDot:!0},null),t("div",{class:Pe.userInfoContainer},[t("p",{class:Pe.name},[t(cm,{isShowSelectInConfig:i,isShowMine:!0,isShowID:!1,isShowSortIcon:r.value,class:Pe["select-custom-name-4"],optionsClass:"select-options-mine",placement:e.isRtlLanguage?"bottom-end":"bottom-start",sortIconSmartMediaProps:{useImage:!0}},{accountToggle:()=>
2t(qn,{mode:ce.MODE4},null)})]),t("p",{class:Pe.id},[t("span",{class:Pe.userInfoLabel},[de("ID:")]),t("span",null,[(a=o.userInfos)==null?void 0:a.username]),t(Gn,{class:Pe["btn-copy"],text:String((c=o.userInfos)==null?void 0:c.username)},null)]),t("span",{class:Pe.arrow,onClick:()=>{s.push({name:D.SETTING})}},[t(x,{class:j.arrow,src:"/lobby_asset/common/web/common/comm_icon_fh.svg"},null)])])])])}}}),lm="_mine_j8ys3_91",um="_headerInfo_j8ys3_103",Sn={mine:lm,"top-wrap":"_top-wrap_j8ys3_91","top-bg":"_top-bg_j8ys3_94",headerInfo:um,"un-login":"_un-login_j8ys3_109","un-login-info":"_un-login-info_j8ys3_117","mine-badge-market":"_mine-badge-market_j8ys3_144","nav-card-box":"_nav-card-box_j8ys3_154"};w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]));w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]));w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]));const ys=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[_m]=$("MineTheme4"),dm=N({name:_m,setup(){const e=U(),{badgeValue:o}=Hn(),s="/lobby_asset/common/common/profile/style_4_topbg.png";return()=>t("div",{class:Sn.mine},[t(x,{tag:"div",style:{backgroundSize:"100% auto"},class:{[Sn.headerInfo]:!0,[Sn["un-login"]]:!e.hasLoginedComponent},src:s},{default:()=>[t("div",{class:Sn["top-wrap"]},[e.hasLoginedComponent?t(am,null,null):t(Ie,null,[t(ys,{class:["margin-top-0",!!o.value&&Sn["mine-badge-market"]],place:F.MINE_TOP},null),t(no,{hiddenInfo:!0,class:Sn["un-login-info"],registerBadgeOffset:[144,-41]},null)]),t("div",{class:Sn["top-bg"]},null)]),t(qd,{class:Sn["nav-card-box"]},null)]}),t(ys,{class:"margin-bottom-0",place:F.MINE_PROFILE_BELOW},null),t(Yn,{iconSrc:"/lobby_asset/common/common/profile/style_4_icon_hyqt.png"},null),t(Td,null,null)])}}),mm=v(()=>{const{interstBadge:e}=Yt();return{[n.WITHDRAWMANAGEMENT]:{icon:[{icon:"style_5_icon_list_txgl.png"}],iconSize:60},[n.YUEBAO]:{icon:[{icon:"style_5_icon_list_lxb.png"}],iconSize:60,badgeContent:e.value},[n.RECHARGE_FUND]:{icon:[{icon:"style_5_icon_list_gjj.png"}],iconSize:60},[n.COUPONS]:{icon:[{icon:"style_5_icon_list_zkq.png"}],iconSize:60},[n.MALL]:{icon:[{icon:"style_5_icon_list_sc.png"}],iconSize:60}}}),gm="_menuListWrap_1kr4a_91",ym="_menuListItem_1kr4a_105",pm="_menuItemLabel_1kr4a_109",ro={menuListWrap:gm,menuListItem:ym,menuItemLabel:pm},[bm]=ae("subMenuGrid"),vm=N({name:bm,setup(){const{filterMenu:e}=xe(),o=v(()=>[...e([n.WITHDRAWMANAGEMENT,n.YUEBAO,{key:n.RECHARGE_FUND,iconRender:void 0,badge:void 0},n.COUPONS,n.MALL],mm.value)].filter(s=>!s.hidden).map(s=>({...s,iconRender:void 0})));return()=>o.value.length===0?t("div",{class:"hide-mine5-grid-menu-list"},null):t(Po,{iconPath:"/lobby_asset/common/common/profile/",class:[ro.menuListWrap,"menulist-wrap"],gridData:o.value,className:{menuItem:ro.menuListItem,menuItemLabel:ro.menuItemLabel}},null)}}),yi=v(()=>{const e=Z("Lv1");return{[n.SHARE_EARN]:{icon:[{icon:"style_5_icon_list_fxzq.png"}],iconSize:44},[n.AGENT_APPLY]:{icon:[{icon:"style_5_icon_list_sqdl.png"}],iconSize:44},[n.BETTING_RECORD]:{icon:[{icon:"style_5_icon_list_tzjl.png"}],iconSize:44},[n.PERSONAL_STATMENT]:{icon:[{icon:"style_5_icon_list_grbb.png"}],iconSize:44}
2,[n.REPORT_DETAILS]:{icon:[{icon:"style_5_icon_list_tzjl.png"}],iconSize:44,hidden:e.value&&re.enable},[n.WITHDRAWMANAGEMENT]:{icon:[{icon:"style_5_icon_list_txgl.png"}],iconSize:44},[n.YUEBAO]:{icon:[{icon:"style_5_icon_list_lxb.png"}],iconSize:44},[n.RECHARGE_FUND]:{icon:[{icon:"style_5_icon_list_gjj.png"}],iconSize:44,iconRender:null},[n.LANUANGE]:{icon:[{icon:"style_5_icon_list_xzyy.png"}],iconSize:44},[n.VIP]:{icon:[{icon:"style_5_icon_list_vip.png"}],iconSize:44,iconRender:null},[n.CLUB_APPLY]:{icon:[{icon:"style_5_icon_list_sqjlb.png"}],iconSize:44},[n.SETTINGS]:{icon:[{icon:"style_5_icon_list_grzl.png"}],iconSize:44},[n.SECURITY]:{icon:[{icon:"style_5_icon_list_aqzx.png"}],iconSize:44},[n.KYC]:{icon:[{icon:"style_5_icon_list_sfyz.png"}],iconSize:44},[n.COMMONQUESTION]:{icon:[{icon:"style_5_icon_list_cjwt.png"}],iconSize:44},[n.FEEDBACK]:{icon:[{icon:"style_5_icon_list_yjfk.png"}],iconSize:44},[n.DEVICE_INFO]:{icon:[{icon:"style_5_icon_list_dlsb.png"}],iconSize:44},[n.ABOUT_US]:{icon:[{icon:"style_5_icon_list_gywm.png"}],iconSize:44},[n.FORBIDDENSELF]:{icon:[{icon:"style_5_icon_list_zwjz.png"}],iconSize:44},[n.SWITCH_ACCOUNT]:{icon:[{icon:"style_5_icon_list_qhzh.png"}],iconSize:44},[n.LOGINOUT]:{icon:[{icon:"style_5_icon_list_aqtc.png"}],iconSize:44},[n.FINDUS]:{icon:[{icon:"style_5_icon_list_zdwm.png"}],iconSize:44},[n.MOMENTS]:{icon:[{icon:"style_5_icon_list_pyq.png"}],iconSize:44,classList:["moments"]},[n.CLUB_WITHDRAW_MANAGEMENT]:{icon:[{icon:"style_5_icon_list_qkgl.png"}],iconSize:44,path:"/lobby_asset/common/common/club/"},[n.CLUB_DEPOSITE_MANAGEMENT]:{icon:[{icon:"style_5_icon_list_ckgl.png"}],iconSize:44,path:"/lobby_asset/common/common/club/"},[n.GOSSIP]:{icon:[{icon:"style_5_icon_cgw.png"}]},[n.NIGHTMODE]:{icon:[{icon:Qe().isDark?"style_5_icon_list_rjms.png":"style_5_icon_list_yjms.png"}],iconSize:44}}}),fm="_menuList_1vwye_91",Em="_menuItem_1vwye_98",ps={menuList:fm,menuItem:Em},[hm]=ae("menu-list1"),Im=N({name:hm,setup(){const{filterMenu:e}=xe();Z("Lv1");const o=v(()=>
2[...e([n.VIP,n.REPORT_DETAILS],yi.value)]);return()=>o.value.length?t("div",{class:ps.menuList},[t(st,{iconPath:"/lobby_asset/common/common/profile/",menuList:o.value,className:{menuItem:ps.menuItem}},null)]):null}}),Sm="_menuList_1shee_91",Cm="_menuItem_1shee_97",bs={menuList:Sm,menuItem:Cm},[Tm]=ae("menu-list1"),Am=N({name:Tm,setup(){const{filterMenu:e}=xe(),o=Z("Lv1"),s=v(()=>[...e([...o.value?[n.CLUB_DEPOSITE_MANAGEMENT,n.CLUB_WITHDRAW_MANAGEMENT]:[],n.SHARE_EARN,n.AGENT_APPLY,n.MOMENTS,n.GOSSIP,n.CLUB_APPLY,n.CLAIM,n.SETTINGS,n.KYC,n.SECURITY,n.FINDUS,n.LANUANGE,n.COMMONQUESTION,n.FEEDBACK,n.DEVICE_INFO,n.NIGHTMODE,n.ABOUT_US,n.FORBIDDENSELF,n.SWITCH_ACCOUNT,n.LOGINOUT],yi.value)].filter(i=>!(i!=null&&i.hidden)));return()=>t("div",{class:bs.menuList},[t(st,{iconPath:"/lobby_asset/common/common/profile/",menuList:s.value,className:{menuItem:bs.menuItem,menuItemLeft:"menu-item-left"}},null)])}}),wm="_shareWrap_o6ava_91",Lm="_header_o6ava_107",Nm="_textMore_o6ava_115",Om="_data_o6ava_125",Rm="_btnGetComminission_o6ava_131",Pm="_dataItem_o6ava_138",km="_subtitle_o6ava_151",_e={shareWrap:wm,header:Lm,textMore:Nm,"promote-badge":"_promote-badge_o6ava_119",data:Om,btnGetComminission:Rm,dataItem:Pm,subtitle:km,"effective-count":"_effective-count_o6ava_164","yesterday-total-count":"_yesterday-total-count_o6ava_167","share-text":"_share-text_o6ava_170","share-arrow":"_share-arrow_o6ava_185"};function Dm(){const{t:e}=Zt(),o=Rn(),s=ne(!1);return{submitLoading:s,handleRevice:async()=>{var c,l,p,d,u;if(!((c=o.agentInfo)!=null&&c.canTakeCommission)||s.value)return;s.value=!0;const[r,a]=await Jt(Hc());if(r){const _=r,g=(p=(l=_==null?void 0:_.data)==null?void 0:l.msg)!=null?p:"";((d=_==null?void 0:_.data)==null?void 0:d.code)===526?_c({message:g}):((u=_==null?void 0:_.data)==null?void 0:u.code)!=H.USER_RESTRICT_ERROR&&Wo({title:e("lobby.common.tips.title"),message:g,showConfirmButton:!1,showCancelButton:!1,showCloseButton:!0})}else{const _=a==null?void 0:a.message;Wo({title:e("lobby.common.tips.title"),message:_||e("lobby.promote.promote.receiveSussessTip"),showConfirmButton:!1,showCancelButton:!1,showCloseButton:!0})}s.value=!1,o.getAgentInfo()}}}function Mm(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const[Bm]=ae("share-wrap"),xm=N({name:Bm,setup(e,{slots:o}){const{t:s}=Zt();Le();const{submitLoading:i,handleRevice:r}=Dm(),{hasLogined:a}=On(U()),c=Rn(),l=Me(),p=Ge(),d=on({axiosError:{teamDataError:null},timeoutLoading:{teamDataLoading:!1}}),u=ne({timeNewAddDirectMember:0,timeFirstDepositPerson:0,timeDepositPerson:0,timeDeposit:0,timePerformance:0,timeCommission:0,timeContributeDirect:0,timeContributeOther:0,totalMember:0,directMember:0,otherMember:0,totalPerformance:0,directPerformance:0,otherPerformance:0,totalCommission:0,directCommission:0,otherCommission:0,canTakeCommission:0}),_=async()=>{const[E,I]=await Jt(jc({timeEnum:tr.Yesterday}));I&&(u.value=I),d.axiosError.teamDataError=E,d.timeoutLoading.teamDataLoading=!1},g=()=>t(Ao,{class:_e.retry,loading:d.timeoutLoading.teamDataLoading,onRetry:()=>{d.timeoutLoading.teamDataLoading=!0,_()}},null),y=async()=>{await r(),_()},m=E=>E,b=()=>{var I,A,L,T,G;let E;return a.value?(I=d.axiosError)!=null&&I.teamDataError?E=t(g,null,null):E=t("p",null,[t("span",{class:j.colorNeutral2},[m((L=(A=u.value)==null?void 0:A.directMember)!=null?L:0)]),t("span",{class:_e["effective-count"]},[de("("),m((G=(T=u.value)==null?void 0:T.timeContributeDirect)!=null?G:0),de(")")])]):E=t("p",null,[t("span",{class:j.colorNeutral2},[de("-")]),t("span",{class:_e["effective-count"]},[de("(-)")])]),t("div",{class:[_e.dataItem,"effective-item"]},[E,t("span",{class:[_e["share-text"],_e.subtitle]},[s("lobby.mine.share.effectiveDirectNum")])])},h=()=>{var I,A,L;let E;return a.value?(I=d.axiosError)!=null&&I.teamDataError?E=t(g,null,null):E=t("p",{class:_e["yesterday-total-count"]},[m(_o((L=(A=u.value)==null?void 0:A.timePerformance)!=null?L:0).toFixed({decimalPlaces:2,tailZero:!0}).toString())]):E=t("p",{class:_e["yesterday-total-count"]},[de("--.--")]),t("div",{class:_e.dataItem},[E,t("span",{class:[_e["share-text"],_e.subtitle]},[s("lobby.mine.share.yesterdayTotalDirectBets")])])},S=()=>{var I,A,L;let E;return a.value?(I=d.axiosError)!=null&&I.teamDataError?E=t(g,null,null):E=t("p",{class:j.colorFinace},[m(_o((L=(A=u.value)==null?void 0:A.canTakeCommission)!=null?L:0,{showGroup:!0}).toFixed({decimalPlaces:2,tailZero:!0}).toString())]):E=t("p",{class:j.colorFinace},[de("--.--")]),t("div",{class:_e.dataItem},[E,t("span",{class:[_e["share-text"],_e.subtitle]},[s("lobby.mine.share.yesterdayTotalDirectCommissionse")])])};zt(a,E=>{E&&_()}),Ot(()=>{c.getAgentInfo(),_()});const f=v(()=>p.isClubSite?s("lobby.promote.shareEarn.agentCenter"):c.isShowAgentShareEarn?s("lobby.promote.promoteShare"):s("lobby.system.promoteAgent"));return()=>{var I,A,L;let E;return t("div",{class:_e.shareWrap},[t("div",{class:[_e.header,"header"],style:{},onClick:()=>{Ls()}},[t("span",{class:j.colorLead},[(I=o==null?void 0:o.prefixIcon)==null?void 0:I.call(o),f.value]),t("span",{class:[j.colorPrimary,j.flexCenter]},[t("span",{class:_e.textMore},[s("lobby.system.more"),!!l.promoteReward&&t(we,{content:l.promoteReward,backgroundColor:mo.AWARD,position:"top-right",class:_e["promote-badge"]},null)]),t(x,{class:[j.arrow,_e["share-arrow"]],src:"/lobby_asset/common/web/common/comm_icon_fh.svg"},null)])]),t("div",{class:_e.data}
2,[t(b,null,null),t(h,null,null),t(S,null,null),t(ot,{type:"success",class:_e.btnGetComminission,disabled:((L=(A=u.value)==null?void 0:A.canTakeCommission)!=null?L:0)<=0,loading:i.value,onClick:y},Mm(E=s("lobby.reward.base.unReceive"))?E:{default:()=>[E]})])])}}}),Um="_menuListWrap_1s5oj_91",$m="_menuListWrapNoPaddingTop_1s5oj_100",Hm="_userDiscourage_1s5oj_104",ao={menuListWrap:Um,menuListWrapNoPaddingTop:$m,userDiscourage:Hm},vs=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[jm]=ae("menu-list"),Gm=N({name:jm,setup(){const e=Ks(),{isOpenNoWallet:o,isNoWalletCollapse:s}=On(e),i=Rn(),r=sn(cn,!1);return()=>t("div",{class:[ao.menuListWrap,"menulist-wrap",o&&s?ao.menuListWrapNoPaddingTop:""]},[t(Im,null,null),i.showPromoteEntry&&t(xm,null,null),t(vs,{class:"margin-top-0",place:F.MINE_MIDDLE},null),t(Am,null,null),t(vs,{class:"margin-bottom-0",place:F.MINE_BELOW},null),r&&t(Yn,{class:ao.userDiscourage,mode:ko.MODE_5},null)])}}),Wm={[n.CREDIT_LOAN]:"/lobby_asset/common/common/profile/style_5_icon_mid_xyjk.png",[n.RECHARGE]:"/lobby_asset/common/common/profile/gif_profile_style5.gif",[n.WITHDRAW]:"/lobby_asset/common/common/profile/style_5_icon_mid_tx.png"},zm="_wrap_fuyau_91",Vm="_item_fuyau_100",Fm="_nav_fuyau_123",qm="_label_fuyau_130",Ym="_currencySign_fuyau_198",Km="_divider_fuyau_208",Qm="_currencyDivider_fuyau_215",Xm="_rechargeBadge_fuyau_266",Zm="_currencyInfo_fuyau_302",Jm="_unLoginCurrency_fuyau_319",eg="_currencyPopover_fuyau_334",Ce={wrap:zm,item:Vm,"money-box":"_money-box_fuyau_109","club-menus-wrapper":"_club-menus-wrapper_fuyau_119",nav:Fm,label:qm,"hiden-left-money":"_hiden-left-money_fuyau_195",currencySign:Ym,divider:Km,currencyDivider:Qm,"nav-icon":"_nav-icon_fuyau_250",rechargeBadge:Xm,"big-nav-item":"_big-nav-item_fuyau_290",currencyInfo:Zm,unLoginCurrency:Jm,currencyPopover:eg},ng=R(()=>w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]))),[tg]=ae("nav-card"),og=N({name:tg,setup(){const e=ge(),o=U(),{filterNavMenu:s}=rt(),i=v(()=>e.isRtlLanguage?[q("0.82rem"),q("0.2rem")]:[q("-0.82rem"),q("0.2rem")]);Z("Lv2"),Z("onlyLv2");const r=v(()=>[n.RECHARGE,n.WITHDRAW,n.CREDIT_LOAN]),a=v(()=>s(r.value,Wm)),c=()=>t(Ie,null,[a.value.map(l=>t("div",Y({class:{[Ce.nav]:!0,[Ce["big-nav-item"]]:[n.RECHARGE].includes(l.key)}},l.domAttr||{},{onClick:l.onClick}),[t(we,Y(l.badgeProps||{},{position:"top-center",class:Ce.rechargeBadge}),{default:()=>{var p;return[t(x,{class:Ce["nav-icon"],src:(p=l.icon)!=null?p:""},null)]}}),t("span",{class:Ce.label},[l.title()])]))]);return()=>t("div",{class:Ce.wrap},[!mn().isHideCurrency&&t("div",{class:Ce.item},[t(Nn,{class:Ce.currencySign},null),t("span",{class:[Ce.divider,Ce.currencyDivider]},null),t("div",{class:[j.flexCenter]},[o.hasLoginedComponent?t(ng,{class:Ce.currencyInfo,popoverClassName:Ce.currencyPopover,placement:e.isRtlLanguage?"bottom-end":"bottom-start",offset:i.value,showSymbol:!1,showPopoverBorder:!1,showUnderline:!0,refreshIcon:"/lobby_asset/{layout}-{bg}-common/web/common/comm_icon_sx.svg"},null):t("div",{class:Ce.unLoginCurrency},[de("--.--")])])]),t("div",{class:{[Ce["club-menus-wrapper"]]:re.enable,[Ce["money-box"]]:!0,[Ce["hiden-left-money"]]:mn().isHideCurrency}},[c()])])}}),sg="_userCard_1n4w6_91",ig="_header_1n4w6_99",cg="_club_1n4w6_107",rg="_headerButton_1n4w6_143",ag="_userInfo_1n4w6_146",lg="_wrap_1n4w6_151",ug="_avatar_1n4w6_170",_g="_name_1n4w6_184",dg="_label_1n4w6_188",mg="_subInfo_1n4w6_191",gg="_userIdWrap_1n4w6_194",Ne={userCard:sg,header:ig,club:cg,headerButton:rg,userInfo:ag,wrap:lg,avatar:ug,name:_g,label:dg,subInfo:mg,userIdWrap:gg,"btn-copy":"_btn-copy_1n4w6_197","select-custom-name-5":"_select-custom-name-5_1n4w6_201","marketing-top":"_marketing-top_1n4w6_217"},yg=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),pg=R(()=>w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]))),[bg]=ae("user-card"),vg=N({name:bg,setup(){const{userInfos:e}=U(),{isOnlyIDAndUsername:o}=zn(),s=ge(),{isShowMineSelectCustomName:i}=$n;return it(),()=>t("div",{class:Ne.userCard},[t("div",{class:{[Ne.header]:!0,[Ne.club]:re.enable}},[t("div",null,null),t(Fn,{class:Ne.headerButton,showSetting:!1,isCommonMine:!0,iconPath:{service:"/lobby_asset/common/web/profile/style_5_icon_top_kf.svg",message:"/lobby_asset/common/web/profile/style_5_icon_top_xxyd.svg",unReadMessage:"/lobby_asset/common/web/profile/style_5_icon_top_xx.svg"},isNeedText:!1},null)]),t(yg,{class:[Ne["marketing-top"],"margin-top-0"],place:F.MINE_TOP},null),t("div",{class:Ne.wrap},[t(Vn,{showEdit:!0,class:Ne.avatar,showBadgeDot:!0},null),t("div",{class:Ne.userInfo},[t("p",{class:Ne.name}
2,[t(pg,{isShowSelectInConfig:i,isShowMine:!0,isShowID:!1,isShowSortIcon:o.value,class:Ne["select-custom-name-5"],optionsClass:"select-options-mine",placement:s.isRtlLanguage?"bottom-end":"bottom-start",sortIconSmartMediaProps:{useImage:!0}},{accountToggle:()=>t(qn,{mode:ce.MODE5},null)})]),t("div",{class:Ne.subInfo},[t("p",{class:[j.flexLeft]},[t("p",{class:Ne.userIdWrap,dir:"ltr"},[!s.isRtlLanguage&&t("span",{class:Ne.label},[de("ID:")]),t("span",null,[e==null?void 0:e.username]),s.isRtlLanguage&&t("span",{class:Ne.label},[de(":ID")])]),t(Gn,{class:Ne["btn-copy"],text:String(e==null?void 0:e.username)},null)])])])])])}}),fg="_mine_dd3vl_91",Eg="_headerInfo_dd3vl_94",hg="_headerInfoBG_dd3vl_126",un={mine:fg,headerInfo:Eg,"un-login":"_un-login_dd3vl_101","club-header":"_club-header_dd3vl_104","un-login-info":"_un-login-info_dd3vl_108",headerInfoBG:hg,"menu-list-content":"_menu-list-content_dd3vl_134","bind-no-wallet-container":"_bind-no-wallet-container_dd3vl_144","mine5-menu-list":"_mine5-menu-list_dd3vl_151"};w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]));w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]));w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]));const fs=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[Ig]=$("MineTheme5"),Sg=N({name:Ig,setup(){const{t:e}=W(),o=U(),s=Ge();Un(cn,!0);const i="/lobby_asset/common/common/profile/style_5_topbg.png";return()=>{var r;return t("div",{class:un.mine},[t("div",{class:{[un.headerInfo]:!0,[un["un-login"]]:!o.hasLoginedComponent&&!0,[un["club-header"]]:re.enable}},[t(x,{class:un.headerInfoBG,src:i},null),o.hasLoginedComponent?t(vg,null,null):t(Ie,null,[t(fs,{class:"margin-top-0",place:F.MINE_TOP},null),t(no,{registerBadgePosition:"left",showMiniRegisterBadge:!0,hiddenBtns:!0,class:un["un-login-info"],prefixTips:e("lobby.mine.unLogin.tipsPrefix",[(r=s.brandLogoInfos)==null?void 0:r.brandName]),tipsLoginText:e("lobby.modal.login.operate.clickLogin"),tipsRegisterText:e("lobby.modal.login.operate.registerAccount")},null)]),t(og,null,null),t(jn,{class:un["bind-no-wallet-container"]},null),t(vm,null,null)]),t("div",{class:un["menu-list-content"]},[t(fs,{place:F.MINE_PROFILE_BELOW},null),t(Gm,{class:un["mine5-menu-list"]},null)])])}}}),ye="var(--skin__primary)",pe="var(--skin__lead)",Cg={[n.AGENT_APPLY]:{icon:[{icon:"style_6_icon_list_sqdl.svg",color:pe},{icon:"style_6_icon_list_sqdl1.svg",color:ye}]},[n.CLUB_APPLY]:{icon:[{icon:"style_6_icon_list_sqjlb.svg",color:pe},{icon:"style_6_icon_list_sqjlb1.svg",color:ye}]},[n.KYC]:{icon:[{icon:"style_6_icon_list_sfrz.svg",color:pe},{icon:"style_6_icon_list_sfrz1.svg",color:ye}]},[n.SETTINGS]:{icon:[{icon:"style_6_icon_list_grzl.svg",color:pe},{icon:"style_6_icon_list_grzl1.svg",color:ye}]},[n.SECURITY]:{icon:[{icon:"style_6_icon_list_aqzx.svg",color:pe},{icon:"style_6_icon_list_aqzx1.svg",color:ye}]},[n.MOMENTS]:{icon:[{icon:"style_6_icon_list_pyq.svg",color:pe},{icon:"style_6_icon_list_pyq1.svg",color:ye}]},[n.FINDUS]:{icon:[{icon:"style_6_icon_list_zdwm.svg",color:pe},{icon:"style_6_icon_list_zdwm1.svg",color:ye}]},[n.LANUANGE]:{icon:[{icon:"style_6_icon_list_xzyy.svg",color:pe},{icon:"style_6_icon_list_xzyy1.svg",color:ye}]},[n.COMMONQUESTION]:{icon:[{icon:"style_6_icon_list_cjwt.svg",color:pe},{icon:"style_6_icon_list_cjwt1.svg",color:ye}]},[n.FEEDBACK]:{icon:[{icon:"style_6_icon_list_yjfk.svg",color:pe},{icon:"style_6_icon_list_yjfk1.svg",color:ye}]},[n.DEVICE_INFO]:{icon:[{icon:"style_6_icon_list_dlsb.svg",color:pe},{icon:"style_6_icon_list_dlsb1.svg",color:ye}]},[n.ABOUT_US]:{icon:[{icon:"style_6_icon_list_gywm.svg",color:pe},{icon:"style_6_icon_list_gywm1.svg",color:ye}]},[n.FORBIDDENSELF]:{icon:[{icon:"style_6_icon_list_zwjz.svg",color:pe},{icon:"style_6_icon_list_zwjz1.svg",color:ye}]},[n.SWITCH_ACCOUNT]:{icon:[{icon:"style_6_icon_list_qhzh.svg",color:pe},{icon:"style_6_icon_list_qhzh1.svg",color:ye}]},[n.PROMOTE]:{icon:[{icon:"style_6_icon_list_fxzq.svg",color:pe},{icon:"style_6_icon_list_fxzq1.svg",color:ye}]},[n.LOGINOUT]:{icon:[{icon:"style_6_icon_list_tc.svg",color:pe},{icon:"style_6_icon_list_tc1.svg",color:ye}]},[n.CLUB_WITHDRAW_MANAGEMENT]:{icon:[{icon:"style_6_icon_list_qkgl.svg",color:pe},{icon:"style_6_icon_list_qkgl2.svg",color:ye}]},[n.CLUB_DEPOSITE_MANAGEMENT]:{icon:[{icon:"style_6_icon_list_ckgl.svg",color:pe},{icon:"style_6_icon_list_ckgl1.svg",color:ye}]},get[n.NIGHTMODE](){const{isDark:e}=Qe();return{icon:[{icon:e?"style_6_icon_list_rjms.svg":"style_6_icon_list_yjms.svg",color:pe},{icon:e?"style_6_icon_list_rjms1.svg":"style_6_icon_list_yjms1.svg",color:ye}]}}},Tg={menuList:{type:Array,default:()=>[],required:!0},className:{type:Object,default:()=>({})},iconColor:{type:String,default:()=>""},icon:{type:Array,default:()=>[]},iconPath:{type:String,default:""},showBadge:{type:Boolean,default:!1},getIconPosition:{type:String,default:wo.OWNER_BOTTOM_ICON_MAP}},Ag="_list_1f03v_91",wg="_item_1f03v_99",Lg="_left_1f03v_135",Ng="_label_1f03v_145",xt={list:Ag,item:wg,left:Lg,label:Ng};function Og(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const[Rg]=$("menuList"),Do=N({name:Rg,props:Tg,setup(e){var p,d,u,_;const o=(d=(p=e.className)==null?void 0:p.menuItem)!=null?d:"",s=(_=(u=e.className)==null?void 0:u.menuItemLeft)!=null?_:"",{ownerMiddleIconMap:i}=pn.useOwnerCustomizeIcon(),{getHallIcon:r}=xe(),a=g=>e.getIconPosition===wo.OWNER_MIDDLE_ICON_MAP?r(g,i):r(g),c=g=>{const y=a(g==null?void 0:g.key);return y?t(je,{size:48,icon:[{icon:y}]},null):g.iconRender?g.iconRender({icon:g.icon,iconPath:g.path||e.iconPath,iconSize:48}):t(je,{iconPath:g.path||e.iconPath,size:48,icon:g.icon},null)},l=g=>{var m;let y;return(m=g.badgeProps)!=null&&m.content?t(we,Y(g.badgeProps||{},{position:"top-center"}),Og(y=c(g))?y:{default:()=>[y]}):c(g)};return()=>{var g;if((g=e.menuList)!=null&&g.length)return t("ul",{class:xt.list,dir:"ltr"},[e.menuList.map((y,m)=>t("li",{key:m,class:[xt.item,o],onClick:()=>{var b;(b=y.onClick)==null||b.call(y)}},[t("div",{class:[xt.left,s,...y.classList||[]]},[t("div",{class:[y.showRedDot&&j["icon-dot-wrap"]]},[l(y)]),t("span",{class:xt.label},[y.title()])])]))])}}}),Pg="_bottomMenuList_be87j_91",kg="_title_be87j_97",lo={bottomMenuList:Pg,title:kg,"menu-list":"_menu-list_be87j_103"},[Dg]=ae("bottom-menu"),Mg=N({name:Dg,setup(){Z("Lv1");const{filterMenu:e}=xe(),{t:o}=W(),s=Ge(),i="/lobby_asset/common/web/profile/",r=v(()=>e([n.AGENT_APPLY,n.MOMENTS,{key:n.GOSSIP,iconRender:()=>se(je,{icon:s.gossipIcon||"/lobby_asset/common/common/profile/style_6_icon_cgw.png",size:48})},n.CLUB_APPLY,{key:n.SETTINGS,badgeProps:{arrowPosition:"center"}},n.KYC,{key:n.SECURITY,badgeProps:{arrowPosition:"center"}},n.FINDUS,n.LANUANGE,n.COMMONQUESTION,n.FEEDBACK,n.DEVICE_INFO,n.NIGHTMODE,n.ABOUT_US,n.FORBIDDENSELF,n.SWITCH_ACCOUNT,{key:n.LOGINOUT,title:()=>o("lobby.header.loginout")}],Cg).filter(c=>!c.hidden)),a=v(()=>r.value);return()=>t("div",{class:lo.bottomMenuList},[t("div",{class:lo.title},[o("lobby.mine.otherFeature")]),t(Do,{class:lo["menu-list"],iconPath:i,menuList:a.value},null)])}}),Bg={[n.YUEBAO]:"/lobby_asset/common/common/profile/style_6_icon_list_lxb.png",[n.RECHARGE_FUND]:"/lobby_asset/common/common/profile/style_6_icon_list_gjj.png",[n.PROMOTE]:"style_6_icon_list_fxzq.png",[n.SHARE_EARN]:"/lobby_asset/common/common/profile/style_6_icon_list_fxzq.png",[n.BLINDBOX_LOTTERY]:"/lobby_asset/common/common/profile/style_6_icon_list_mhcj.png",[n.COUPONS]:"/lobby_asset/common/common/profile/style_6_icon_list_zkq.png",[n.MALL]:"/lobby_asset/common/common/profile/style_6_icon_list_sc.png"},xg={"discount-menu-list":"_discount-menu-list_w28to_91"},[Ug]=$("discount-menu"),$g=N({name:Ug,setup(){const{t:e}=W(),o=Kt(),s=Me(),i=ni(),r=Le(),{filterMenu:a}=xe(),{ownerBottomIconMap:c}=pn.useOwnerCustomizeIcon();Ot(()=>{o.getEventCategoriesAndEvents()});const l=v(()=>[...a([n.YUEBAO,{key:n.RECHARGE_FUND,iconRender:void 0,icon:"/lobby_asset/common/common/profile/style_6_icon_list_gjj.png"},n.COUPONS,n.MALL,n.PROMOTE,n.SHARE_EARN,n.BLINDBOX_LOTTERY],Bg).filter(_=>!_.hidden),...d.value]),p=u=>{const _=o.eventsList.find(m=>m.template===u);if(!_)return;const{template:g,activeId:y}=_;Ns({jumpMethod:"push",template:String(g),activeId:String(y)})},d=v(()=>{var g,y;const u=[{title:()=>e("lobby.event.eventTypes.deposit"),icon:c.get("rechargeActivityIcon")||"/lobby_asset/common/common/profile/style_6_icon_list_czhd.png",onClick:()=>p(wn.Deposit),template:wn.Deposit},{title:()=>e("lobby.event.eventTypes.dailySign"),icon:c.get("dailyCheckInIcon")||"/lobby_asset/common/common/profile/style_6_icon_list_mrqd.png",onClick:()=>p(wn.DailyBonus),template:wn.DailyBonus}],_=s.isShowEvents?u.filter(m=>o.eventsList.findIndex(b=>b.template===m.template)!==-1):[];return s.isShowLuckyWheel&&_.push({title:()=>e("lobby.promote.directReceive.turntableReward"),icon:c.get("luckyWheelIcon")||"/lobby_asset/common/common/profile/style_6_icon_list_xyzp.png",onClick:()=>{r.push({name:D.LUCKY_WHELL})},template:wn.LuckyWheelNew,badgeProps:{content:(g=s.discountRedDot)==null?void 0:g.turntableRedDot}}),s.isShowSVIP&&_.push({title:()=>e("lobby.plan.aside.menu.svip"),icon:c.get("svipIcon")||"/lobby_asset/common/common/profile/style_6_icon_list_svip.png",onClick:()=>{r.push({name:D.SVIP})},template:wn.Customize,badgeProps:{content:(y=s.discountRedDot)==null?void 0:y.svipCount}}),i.isShowSlashOnce&&_.unshift({title:()=>e("lobby.event.slashOnce.firstDrawTitle"),icon:c.get("luckyDrawIcon")||"/lobby_asset/common/common/profile/style_6_icon_list_kyd.png",onClick:()=>i.openSlashOnce(),showRedDot:!!i.cutOnceTurnCount,template:wn.SlashOnce}),_});return()=>l.value.length?t("div",{class:xg["discount-menu-list"]},[t(Do,{showBadge:!0,menuList:l.value},null)]):null}}),Hg="_wrap_1j2t5_91",jg="_item_1j2t5_101",Gg="_btnWrap_1j2t5_152",Wg="_rechargeBadge_1j2t5_158",zg="_btn_1j2t5_152",Vg="_recharge_1j2t5_158",$e={wrap:Hg,item:jg,"currency-box-bg":"_currency-box-bg_1j2t5_107","currency-sign":"_currency-sign_1j2t5_115","unlogin-currency-value":"_unlogin-currency-value_1j2t5_119","unlogin-currency":"_unlogin-currency_1j2t5_119",btnWrap:Gg,rechargeBadge:Wg,btn:zg,recharge:Vg,"hide-withdraw":"_hide-withdraw_1j2t5_185","mine6-currency-popover":"_mine6-currency-popover_1j2t5_208"};function Fg(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Xe(e)}const qg=R(()=>w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]))),[Yg]=ae("nav-card"),Kg=N({name:Yg,setup(){const{t:e}=W(),o=xn(),s=Qt(),i=U(),r=ge(),a=Ge(),c=v(()=>r.isRtlLanguage?[q("0.6rem"),q("0.2rem")]:[q("-0.6rem"),q("0.2rem")]);return()=>{let l;return mn().isHideCurrency&&re.enable,t("div",{class:$e.wrap},[mn().isHideCurrency?t("span",null,null):t("div",{class:$e.item},[t("div",{class:[j.flexCenter]},[t(x,{tag:"div",useSkeleton:!0,class:$e["currency-box-bg"],src:"/lobby_asset/common/common/_sprite/img_hb_frame.png",onClick:p=>p.stopPropagation()},{default:()=>[t(Nn,{class:$e["currency-sign"]},null)]}),t(qg,{class:{[$e["mine6-currency-popover"]]:!0,[$e["unlogin-currency"]]:!i.hasLoginedComponent},placement:r.isRtlLanguage?"bottom-end":"bottom-start",offset:c.value,showPopoverBorder:!1,showSymbol:!1,showUnderline:!0,refreshIcon:"/lobby_asset/{layout}-{bg}-common/web/common/comm_icon_sx.svg"},null),!i.hasLoginedComponent&&t("span",{class:$e["unlogin-currency-value"]},[de("--.--")])])]),t("div",{class:[$e.btnWrap]},[!a.isHideRechargeEntry&&!0&&t(we,Y({position:"top-center",content:s.rechargeBadgeCount.value},o.payChargeBadge,{class:$e.rechargeBadge}),{default:()=>[t(ot,{onClick:()=>{Ln({options:{payEntryId:Nt.PROFILE}})},"data-sensors-click":!0,id:"depositClick",class:[$e.btn,$e.recharge,a.isHideWithdrawEntry&&$e["hide-withdraw"]]},Fg(l=e("lobby.header.recharge"))?l:{default:()=>[l]})]}
2),!a.isHideWithdrawEntry&&!0&&t(ot,{onClick:()=>{Mn()},class:$e.btn},{default:()=>[e("lobby.header.withdraw")]})])])}}}),Qg={[n.CLUB_LOAN]:"style_6_icon_list_xyjk.png",[n.CREDIT_LOAN]:{icon:[{icon:"style_6_icon_list_xyjk.png"}]},[n.REPORT_DETAILS]:{icon:[{icon:"style_6_icon_list_zdjl.png"}]},[n.WITHDRAWMANAGEMENT]:{icon:[{icon:"style_6_icon_list_txgl.png"}]}},Ut={"menu-list-wrap":"_menu-list-wrap_1uect_91","menu-list":"_menu-list_1uect_91","menu-item":"_menu-item_1uect_102","user-discourag":"_user-discourag_1uect_111"},[Xg]=$("top-menu"),Zg=N({name:Xg,setup(){const{filterMenu:e}=xe(),{t:o}=W();Z("Lv1"),Z("Lv2"),Z("onlyLv2"),Le(),Vs("isAllowLoan");const s=sn(cn,!1);Fs("memberAllowBillSettle");const i=v(()=>{var a;return(a=e([n.REPORT_DETAILS,n.WITHDRAWMANAGEMENT,n.CLAIM,n.CREDIT_LOAN],Qg))==null?void 0:a.filter(c=>!(c!=null&&c.hidden))}),r=v(()=>i.value);return()=>{if(r.value.length)return t("div",{class:Ut["menu-list-wrap"]},[s&&t(Yn,{iconSrc:"/lobby_asset/common/common/profile/style_6_icon_hyqt.svg",class:Ut["user-discourag"]},null),t(Do,{menuList:r.value,className:{menuItem:Ut["menu-item"]},iconPath:"/lobby_asset/common/common/profile/",class:Ut["menu-list"],getIconPosition:wo.OWNER_MIDDLE_ICON_MAP},null)])}}}),Jg="_userCard_13rgv_91",ey="_header_13rgv_99",ny="_club_13rgv_106",ty="_headerButton_13rgv_119",oy="_userInfo_13rgv_124",sy="_wrap_13rgv_129",iy="_avatar_13rgv_134",cy="_name_13rgv_141",ry="_label_13rgv_155",Te={userCard:Jg,header:ey,club:ny,headerButton:ty,userInfo:oy,wrap:sy,avatar:iy,name:cy,"id-box":"_id-box_13rgv_145","user-name":"_user-name_13rgv_152",label:ry,"btn-copy":"_btn-copy_13rgv_158","select-custom-name-6":"_select-custom-name-6_13rgv_162","mine-top-marketing":"_mine-top-marketing_13rgv_178","un-login-wrap":"_un-login-wrap_13rgv_181","mine-badge-market":"_mine-badge-market_13rgv_187"},ay=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),ly=R(()=>w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]))),uy=R(()=>w(()=>Promise.resolve().then(()=>ct),void 0)),[_y]=ae("user-card"),dy=N({name:_y,setup(){const e=U();it();const{showUnLoginBadge4Mine:o}=Hn(),{isOnlyIDAndUsername:s}=zn(),i=ge(),{isShowMineSelectCustomName:r}=$n;return()=>{var a,c;return t("div",{class:Te.userCard},[t("div",{class:{[Te.header]:!0,[Te.club]:re.enable}},[t("div",null,null),e.hasLoginedComponent&&t(Fn,{class:Te.headerButton,isNeedText:!1,showSetting:!1,isCommonMine:!0,iconPath:{service:"/lobby_asset/common/web/profile/style_6_icon_top_kf.svg",message:"/lobby_asset/common/web/profile/style_6_icon_top_xx.svg",setting:""}},null)]),t(ay,{class:["margin-bottom-0",Te["mine-top-marketing"],o.value&&Te["mine-badge-market"]],place:F.MINE_TOP},null),e.hasLoginedComponent?t("div",{class:Te.wrap},[t(Vn,{showEdit:!0,class:Te.avatar,showBadgeDot:!0},null),t("div",{class:Te.userInfo},[t("p",{class:Te.name},[t(ly,{isShowSelectInConfig:r,isShowMine:!0,isShowID:!1,isShowSortIcon:s.value,class:Te["select-custom-name-6"],optionsClass:"select-options-mine",placement:i.isRtlLanguage?"bottom-end":"bottom-start",sortIconSmartMediaProps:{useImage:!0}},{accountToggle:()=>t(qn,{mode:ce.MODE6},null)})]),t("div",{class:[Te["id-box"]]},[t("span",{class:Te.label},[de("ID:")]),t("span",{class:Te["user-name"]},[(a=e.userInfos)==null?void 0:a.username]),t(Gn,{class:Te["btn-copy"],text:String((c=e.userInfos)==null?void 0:c.username)},null)])])]):t(uy,{hiddenBtns:!0,class:Te["un-login-wrap"],registerBadgePosition:"left",showMiniRegisterBadge:!0},null)])}}}),my="_mine_94jbu_91",_n={mine:my,"style6-vip-container":"_style6-vip-container_94jbu_95","header-info":"_header-info_94jbu_112","content-wrap":"_content-wrap_94jbu_116","bind-no-wallet-container":"_bind-no-wallet-container_94jbu_122","discount-wrap":"_discount-wrap_94jbu_159","discount-title":"_discount-title_94jbu_166","header-info-bg":"_header-info-bg_94jbu_172"};w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]));w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]));w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]));w(()=>Promise.resolve().then(()=>ct),void 0);const uo=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[gy]=$("MineTheme6"),yy=N({n
2ame:gy,setup(){const e="/lobby_asset/common/common/profile/style_6_topbg.png",o=Me(),{t:s}=W();return Un(cn,!0),()=>t("div",{class:_n.mine},[t("div",{class:_n["header-info"]},[t(x,{class:_n["header-info-bg"],src:e},null),t(dy,null,null)]),t("div",{class:_n["content-wrap"]},[t(Kg,null,null),t(Zg,null,null),t("div",{class:_n["wallet-wrap"]},[t(jn,{class:_n["bind-no-wallet-container"]},null)])]),t(Ie,null,[t(uo,{place:F.MINE_PROFILE_BELOW},null),o.isShowDiscount&&t("div",{class:_n["discount-wrap"]},[t("div",{class:_n["discount-title"]},[s("lobby.plan.aside.title.discount")]),t(gi,{vipCardClickable:!0,class:_n["style6-vip-container"],cardBg:"/lobby_asset/common/common/profile/vip_bgdw.png"},null),t($g,null,null)]),t(uo,{place:F.MINE_MIDDLE},null)]),t(Mg,null,null),t(uo,{class:"margin-bottom-0",place:F.MINE_BELOW},null)])}}),te="var(--skin__primary)",oe="var(--skin__lead)",py={[n.VIP]:{icon:[{icon:"style_7_icon_vip.svg",color:oe},{icon:"style_7_icon_vip1.svg",color:te}]},[n.GOSSIP]:{icon:"style_7_icon_cgw.png"},[n.COUPONS]:{icon:[{icon:"style_7_icon_zkq.svg",color:oe},{icon:"style_7_icon_zkq1.svg",color:te}]},[n.SETTINGS]:{icon:[{icon:"style_7_icon_list_grzl.svg",color:oe},{icon:"style_7_icon_list_grzl1.svg",color:te}]},[n.YUEBAO]:{icon:[{icon:"style_7_icon_lxb.svg",color:oe},{icon:"style_7_icon_lxb1.svg",color:te}]},[n.RECHARGE_FUND]:{icon:[{icon:"style_7_icon_gjj.svg",color:oe},{icon:"style_7_icon_gjj1.svg",color:te}]}
2,[n.REPORT_DETAILS]:{icon:[{icon:"style_7_icon_zdjl.svg",color:oe},{icon:"style_7_icon_zdjl1.svg",color:te}]},[n.WITHDRAWMANAGEMENT]:{icon:[{icon:"style_7_icon_txgl.svg",color:oe},{icon:"style_7_icon_txgl1.svg",color:te}]},[n.SHARE_EARN]:{icon:[{icon:"style_7_icon_fxzq.svg",color:oe},{icon:"style_7_icon_fxzq1.svg",color:te}]},[n.PROMOTE]:{icon:[{icon:"style_7_icon_fxzq.svg",color:oe},{icon:"style_7_icon_fxzq1.svg",color:te}]},[n.AGENT_APPLY]:{icon:[{icon:"style_7_icon_sqdl.svg",color:oe},{icon:"style_7_icon_sqdl1.svg",color:te}]},[n.MOMENTS]:{icon:[{icon:"style_7_icon_pyq.svg",color:oe},{icon:"style_7_icon_pyq1.svg",color:te}]},[n.CLUB_APPLY]:{icon:[{icon:"style_7_icon_hzly.svg",color:oe},{icon:"style_7_icon_hzly1.svg",color:te}]},[n.KYC]:{icon:[{icon:"style_7_icon_sfrz.svg",color:oe},{icon:"style_7_icon_sfrz1.svg",color:te}]},[n.SECURITY]:{icon:[{icon:"style_7_icon_aqzx.svg",color:"var(--skin__accent_1)"}]},[n.FINDUS]:{icon:[{icon:"style_7_icon_zdwm.svg",color:oe},{icon:"style_7_icon_zdwm1.svg",color:te}]},[n.LANUANGE]:{icon:[{icon:"style_7_icon_yyxz.svg",color:oe},{icon:"style_7_icon_yyxz1.svg",color:te}]},[n.COMMONQUESTION]:{icon:[{icon:"style_7_icon_cjwt.svg",color:oe},{icon:"style_7_icon_cjwt1.svg",color:te}]},[n.FEEDBACK]:{icon:[{icon:"style_7_icon_yjfk.svg",color:oe},{icon:"style_7_icon_yjfk1.svg",color:te}]},[n.DEVICE_INFO]:{icon:[{icon:"style_7_icon_dlsb.svg",color:oe},{icon:"style_7_icon_dlsb1.svg",color:te}]},[n.ABOUT_US]:{icon:[{icon:"style_7_icon_gywm.svg",color:oe},{icon:"style_7_icon_gywm1.svg",color:te}]},[n.FORBIDDENSELF]:{icon:[{icon:"style_7_icon_zwjz.svg",color:oe},{icon:"style_7_icon_zwjz1.svg",color:te}]},[n.SWITCH_ACCOUNT]:{icon:[{icon:"style_7_icon_qhzh.svg",color:oe},{icon:"style_7_icon_qhzh1.svg",color:te}]},[n.LOGINOUT]:{icon:[{icon:"style_7_icon_tc.svg",color:oe},{icon:"style_7_icon_tc1.svg",color:te}]},get[n.NIGHTMODE](){const{isDark:e}=Qe();return{icon:[{icon:e?"style_7_icon_list_rjms1.svg":"style_7_icon_yjms.svg",color:oe},{icon:e?"style_7_icon_list_rjms.svg":"style_7_icon_yjms1.svg",color:te}],path:`/lobby_asset/common/${e?"web":"common"}/profile/`}},[n.MALL]:{icon:[{icon:"style_7_icon_sc.svg",color:oe},{icon:"style_7_icon_sc1.svg",color:te}]}},Cn={"mine-7-menus":"_mine-7-menus_s41k9_91","menu-list-wrap":"_menu-list-wrap_s41k9_94","menu-title":"_menu-title_s41k9_101","menu-item-label":"_menu-item-label_s41k9_106","menu-item":"_menu-item_s41k9_106","menu-list":"_menu-list_s41k9_94","middle-market":"_middle-market_s41k9_202","market-below":"_market-below_s41k9_206"},Es=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[by]=ae("menu-list"),vy=N({name:by,props:{menuGridClass:[String,Object,Array],themeSkinType:{type:Number,default:void 0}},setup(e){const{t:o}=W(),s=ge(),{filterMenu:i}=xe(),r={key:n.SETTINGS,badgeProps:{arrowPosition:"center"}},a=v(()=>{const c=e.themeSkinType===k.THEME_135;return[...i([n.YUEBAO,{key:n.RECHARGE_FUND,iconRender:void 0,badge:void 0},{key:n.REPORT_DETAILS},...c?[r]:[],n.WITHDRAWMANAGEMENT,n.COUPONS,n.MALL,{key:n.VIP,iconRender:void 0},{key:n.PROMOTE,badge:void 0},n.SHARE_EARN,n.AGENT_APPLY,n.MOMENTS,n.GOSSIP,n.CLUB_APPLY,{key:n.CLAIM,title:()=>{const l=o("lobby.mine.itemList.claim");return!s.isCN||!l?l:t(Ie,null,[t("div",null,[l.slice(0,3)]),t("div",null,[l.slice(3)])])}},...c?[]:[r],n.KYC,{key:n.SECURITY,badgeProps:{arrowPosition:"center"}},n.FINDUS,n.LANUANGE,n.COMMONQUESTION,n.FEEDBACK,n.DEVICE_INFO,n.NIGHTMODE,n.ABOUT_US,n.FORBIDDENSELF,n.SWITCH_ACCOUNT,{key:n.LOGINOUT,title:()=>o("lobby.header.loginout")}],py)].map(l=>({...l,iconSize:48}))});return()=>t("div",{class:Cn["mine-7-menus"]},[t(Es,{class:Cn["middle-market"],place:F.MINE_MIDDLE},null),t("div",{class:[Cn["menu-list-wrap"],e.menuGridClass]},[t("div",{class:Cn["menu-title"]},[o("lobby.mine.quickEntry")]),t(Po,{gridData:a.value,iconPath:"/lobby_asset/common/common/profile/",class:Cn["menu-list"],className:{menuItem:Cn["menu-item"],menuItemLabel:Cn["menu-item-label"]}},null)]),t(Es,{class:Cn["market-below"],place:F.MINE_BELOW},null)])}}),fy={[n.CREDIT_LOAN]:"/lobby_asset/common/common/profile/style_7_icon_mid_xyjk.png",[n.RECHARGE]:"/lobby_asset/common/common/profile/style_7_icon_mid_ck.png",[n.WITHDRAW]:"/lobby_asset/common/common/profile/style_7_icon_mid_tx.png"},Ey="_wrap_ji02d_91",hy="_item_ji02d_99",Iy="_nav_ji02d_115",Sy="_label_ji02d_135",dn={wrap:Ey,item:hy,"money-box":"_money-box_ji02d_105","currency-sign":"_currency-sign_ji02d_112",nav:Iy,"nav-icon":"_nav-icon_ji02d_129",label:Sy,"currency-info":"_currency-info_ji02d_155","currency-popover":"_currency-popover_ji02d_178"},Cy=R(()=>w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]))),[Ty]=ae("nav-card"),Ay=N({name:Ty,setup(){const e=ge(),o=U(),{filterNavMenu:s}=rt(),i=v(()=>e.isRtlLanguage?[q("0.3rem"),q("0.2rem")]:[q("-0.3rem"),q("0.2rem")]),r=v(()=>s([n.RECHARGE,n.WITHDRAW,n.CREDIT_LOAN],fy));return()=>{if(o.hasLoginedComponent)return t("div",{class:dn.wrap},[t("div",{class:dn.item},[t(Nn,{class:dn["currency-sign"]},null),t("div",{class:[j.flexCenter]},[t(Cy,{class:dn["currency-info"],popoverClassName:dn["currency-popover"],badgeProps:{backgroundColor:"var(--skin__accent_1)",mode:dc.WHITE},placement:e.isRtlLanguage?"bottom-end":"bottom-start",offset:i.value,showSymbol:!1,showPopoverBorder:!1,showUnderline:!0,refreshIcon:"/lobby_asset/{layout}-{bg}-common/web/common/comm_icon_sx.svg"},null)])]),t("div",{class:dn["money-box"]},[r.value.map(a=>t("div",{class:dn.nav,onClick:a.onClick},[t(we,Y(a.badgeProps||{},{position:"top-center"}),{default:()=>[a.icon&&t(x,{class:dn["nav-icon"],src:a.icon},null)]}),t("span",{class:dn.label},[a.title()])]))])])}}}),wy=Zs("discountReward",()=>{const e=ne(null);return{rewardChangeSignal:e,triggerRewardChange:s=>{var i,r;e.value={seq:((r=(i=e.value)==null?void 0:i.seq)!=null?r:0)+1,source:s}}}}),pi=()=>{const{t:e}=W(),o=ne(!1),s=ne(null),i=Vt(),r={[De.Tomorrow]:()=>e("lobby.modal.task.timeNotArrived.tomorrow"),[De.WeekWhole]:()=>e("lobby.modal.task.timeNotArrived.weekWhole"),[De.MonthWhole]:()=>e("lobby.modal.task.timeNotArrived.monthWhole")},a=u=>{const{receiveTimeType:_,receiveDuration:g,canReceiveTime:y,status:m,logCategory:b,prize:h}=u,S=Lo().getServerTime();return y-S-1>0?!0:!([Bn.PendingCheck,Bn.PendingApply].includes(m)&&b===Wt.Max&&h||g<=0||_===De.Immediately)},c=u=>u&&![tn.PendingApprove].includes(u),l=u=>!(!u||[tn.Finish,tn.HasSend].includes(u)),p=async u=>{var L,T,G,ie;s.value=u;const{taskId:_,template:g}=Vt().curCategory;o.value=!0,Dn.stats("discountReceiveStats","statsCheckTime"),Dn.stats("discountReceiveStats","statsApi");const y=[l(u.status)&&u.receiveLogId,l(u.extraStatus)&&u.extraReceiveLogId].filter(
2Boolean).join(","),[m,b]=await Jt(Gc({template:g,receiveLogIds:y}));Dn.stats("discountReceiveStats","statsApi"),Dn.stats("discountReceiveStats","end"),Wc(mc.sensorEvents.DiscountReceive,{...await Dn.payload("discountReceiveStats"),taskId:_,template:g,ruleId:u.ruleid,activeType:D.TASK});const h=Qs({logCategory:u==null?void 0:u.logCategory,receiveStatus:u==null?void 0:u.status}),S=(L=b==null?void 0:b.duplBonusList)==null?void 0:L[0],f=S?zc({logText:S.logText}):void 0,E=(G=(T=b==null?void 0:b.receiveList)==null?void 0:T.find(K=>K.bonusBigEnum===gc.Reward))==null?void 0:G.reward,I=S?{...S,relaBonusRedImgType:S==null?void 0:S.redImgType,duplBonusBase:S.duplBonusBase||E||0,duplBonusTableList:Vc(f==null?void 0:f.dulpBonusRange)}:void 0;if(m||h!==!1&&!l(u.extraStatus)){const K=await Ft.checkRes({config:{err:m,amount:u.prize,receiveCategory:u==null?void 0:u.logCategory,receiveStatus:u==null?void 0:u.status,multipleRewardData:I},checkOptions:{[_t.userRestrict]:!0,[_t.largeAmount]:!0,[_t.multipleReward]:!0}});(m||K!=null&&K[_t.userRestrict]||h!==!1)&&(i.freshTaskActiveLevel(),Me().freshDiscountRedDot(),xn().updatePrize(),await i.freshActiveTabTasks()),o.value=!1;return}I&&await Ft.checkRes({config:{multipleRewardData:I},checkOptions:{[_t.multipleReward]:!0}});const A={prize:0,brisk:0,type:0,couponName:""};(ie=b==null?void 0:b.receiveList)==null||ie.forEach(K=>{var P;K.bonusBigEnum===0?(!h&&K.logCategory!==Wt.Max?A.prize=K.reward:A.prize=0,K.amount&&(A.brisk=K.amount,A.type=vo.Activity)):(A.type=K.bonusEnum?Number(K.bonusEnum):Number(K.bonusBigEnum),A.brisk=K.reward,A.type===vo.Discount&&(A.couponName=(P=$s(K.bonusText))==null?void 0:P.couponName))}),d(A)},d=async u=>{i.freshTaskActiveLevel(),await i.freshActiveTabTasks(),o.value=!1,yc({award:u.prize,activity:u.brisk,extraBonusType:u.type,couponName:u.couponName}),Fc.Receive(),xn().updatePrize(),Me().freshDiscountRedDot(),wy().triggerRewardChange(pc.Task)};return{isReceiveLoading:o,currTaskRule:s,reminderTextMapper:r,judgeIsAllowByTime:a,judgeIsAllowByRuleStatus:c,requestOneReceiveReward:p}},Ly={"task-order-tips":"_task-order-tips_xrjje_91"},Ny=()=>{const{t:e}=W(),{handleForward:o}=qc(),s=pi(),i=Le(),r=Vt(),{curTab:a,curCategory:c,taskTabData:l}=On(r),p=v(()=>{var _,g,y;return(y=(g=(_=l.value)==null?void 0:_.rules)==null?void 0:g.filter(m=>m.btnStatus===tn.Goto))==null?void 0:y.sort((m,b)=>m.order-b.order)}),d=async _=>{var m,b,h,S,f,E,I,A,L,T;if(s.isReceiveLoading.value)return;Dn.stats("discountReceiveStats","start"),Dn.stats("discountReceiveStats","statsCheckTime");const{taskId:g}=r.curCategory;if(((m=c.value)==null?void 0:m.template)===Je.newBenefits&&((h=(b=c.value)==null?void 0:b.taskData)==null?void 0:h.sequenceReceive)===1){const G=(S=p.value)==null?void 0:S[0];if(G&&(G==null?void 0:G.order)<_.order){Tt().openDialog("moreInterception",{openType:"overlay",options:{type:"info",message:()=>se(zs,{class:Ly["task-order-tips"],html:e("lobby.modal.task.receiveByOrder",{x:`<span>${G.name}</span>`})}),showConfirmButton:!0,onConfirm:()=>o(G,a.value)}});return}}await Ft.check({checkOptions:{[Pn.logined]:!0,[Pn.task]:!0,[Pn.forbidReceive]:!0,[Pn.receiveType]:!0,[Pn.largeAmount]:!0,[Pn.pendingCheck]:!0},eventData:{receiveDeviceType:String((E=(f=l.value)==null?void 0:f.receiveDeviceType)!=null?E:""),receiveDeviceLoginType:String((A=(I=l.value)==null?void 0:I.receiveDeviceLoginType)!=null?A:""),taskCondition:(T=(L=l.value)==null?void 0:L.receiveCondition)!=null?T:"",receiveStatus:_.status,amount:_==null?void 0:_.prize,receiveCategory:_==null?void 0:_.logCategory,activeType:D.TASK,taskId:g,ruleId:_.ruleid}})||await s.requestOneReceiveReward(_)};return{handleClickRule:async(_,g)=>{var h,S;const y=g!=null?g:a.value,m={[tn.Goto]:async()=>{if(a.value===Je.newBenefits&&Yc(_.icon)){if(await Ft.check({checkOptions:{[Pn.logined]:!0},eventData:{loginRegisterDialogOptions:{openType:"overlay"}}}))return;bc.setCacheExpired([Kc]),i.push({name:D.SETTING});return}return o(_,y)},[tn.PendingApprove]:()=>d(_),[tn.PendingReceive]:()=>d(_),[tn.PendingApply]:()=>{if(Qs({logCategory:_==null?void 0:_.logCategory,receiveStatus:_==null?void 0:_.status})!==!1)return d(_)}},b=(h=_.btnStatus)!=null?h:_.status;await((S=m[b])==null?void 0:S.call(m))}}};ht.extend(Dc);const Eo=(e,o,s="any")=>{if(o!==Wt.Max)return!1;const i=Bn.PendingCheck===e,r=Bn.PendingApply===e;return{check:i,apply:r,any:i||r}[s]},Oy=e=>[Bn.CanReceive,Bn.PendingCheck,Bn.PendingApply].includes(e),Ry=(e,o)=>e-Math.floor(Date.now()/1e3)-1>0?!1:o<=0,Py=e=>Ry(e.canReceiveTime,e.receiveDuration)?Eo(e.status,e.logCategory)?!0:Oy(e.status):!1,ky=e=>{const o={maxApplyItems:[],receiveItems:[],maxCheckItems:[],waitingItems:[]};return e.forEach(s=>{if(!Py(s))return o.waitingItems.push(s);if(Eo(s.status,s.logCategory,"apply"))return o.maxApplyItems.push(s);if(Eo(s.status,s.logCategory,"check"))return o.maxCheckItems.push(s);o.receiveItems.push(s)}),o.waitingItems.sort((s,i)=>s.canReceiveTime-i.canReceiveTime),o.receiveItems.sort((s,i)=>
2s.periodTime?i.periodTime?s.periodTime-i.periodTime:-1:1),o},Vp=(e,o="reward")=>{var p,d;const{maxApplyItems:s,receiveItems:i,maxCheckItems:r,waitingItems:a}=ky(e),c=(d=(p=s[0])!=null?p:i[0])!=null?d:r[0],l=c!=null?c:a[0];return{disabled:!c,target:l!=null?l:{},maxPendingRewards:s.concat(r).reduce((u,_)=>At(u).plus(_[o]).number,At(0).number).toNumber()}},hs=()=>{const{t:e}=W();return{1:e("lobby.common.date.week.day1"),2:e("lobby.common.date.week.day2"),3:e("lobby.common.date.week.day3"),4:e("lobby.common.date.week.day4"),5:e("lobby.common.date.week.day5"),6:e("lobby.common.date.week.day6"),7:e("lobby.common.date.week.day0")}},Dy=(e,o)=>{var r,a;const{t:s}=W(),i={[De.Immediately]:()=>s("lobby.event.receive"),[De.Tomorrow]:()=>s("lobby.event.receiveNextDay"),[De.WeekWhole]:()=>{if(!e)return s("lobby.event.receive");const c=hs();return s("lobby.event.receiveNextWeek",{x:c[e]})},[De.MonthWhole]:()=>e?s("lobby.event.receiveNextMonth",{x:e}):s("lobby.event.receive"),[De.WeekOne]:()=>{if(!e)return s("lobby.event.receive");const c=hs();return s("lobby.event.receiveWeekly",{x:c[e]})},[De.MonthOne]:()=>e?s("lobby.event.receivePerMonth",{x:e}):s("lobby.event.receive"),[De.EveryDay]:()=>s("lobby.event.receive")};return Xs((a=(r=i[o])==null?void 0:r.call(i))!=null?a:"")},My=e=>{var c,l,p,d;const o=Xs(e.defaultText);if(!e.receiveTimeType||!e.canReceiveTime||e.isUseDefault)return o;const{siteInfos:s}=yn(),i=Lo().getServerTime(),r=ht.unix(i).utcOffset((c=s==null?void 0:s.timeZone)!=null?c:"");if(Math.abs(e.receiveTimeType)===De.Tomorrow){if(ht.unix(e.canReceiveTime).utcOffset((l=s==null?void 0:s.timeZone)!=null?l:"").isSame(r,"day"))return o}else if(Math.abs(e.receiveTimeType)===De.WeekWhole){if(ht.unix(e.canReceiveTime).utcOffset((p=s==null?void 0:s.timeZone)!=null?p:"").isSame(r,"isoWeek"))return o}else if(Math.abs(e.receiveTimeType)===De.MonthWhole&&ht.unix(e.canReceiveTime).utcOffset((d=s==null?void 0:s.timeZone)!=null?d:"").isSame(r,"month"))return o;const a=Dy(e.receiveTimeDay,Math.abs(e.receiveTimeType));return ge().isCN&&a?a:o},By=()=>{const{t:e}=W();return{textMapper:v(()=>({[B.Discount]:()=>e("lobby.tabbar.discount"),[B.PendingReceive]:()=>e("lobby.modal.task.collect"),[B.HasSend]:()=>e("lobby.modal.task.distributed"),[B.Processing]:()=>e("lobby.modal.task.processing"),[B.Goto]:(s,i)=>s&&i&&s!==Je.newBenefits&&[zo.InviteWithFirstCharge,zo.InviteWithRegister].includes(i)?e("lobby.modal.task.invite"):e("lobby.modal.task.forward"),[B.UnOpen]:()=>e("lobby.modal.task.invalid"),[B.Expired]:()=>e("lobby.modal.task.expired"),[B.ServerCancel]:()=>e("lobby.modal.task.cancel"),[B.Finish]:()=>e("lobby.modal.task.collected"),[B.PendingApprove]:()=>e("lobby.modal.task.collect"),[B.PendingApply]:()=>e("lobby.modal.task.collect"),[B.ServerReject]:()=>e("lobby.records.rejected"),[B.ReceiveAll]:()=>e("lobby.modal.task.collectAll"),[B.WaitingGet]:()=>e("lobby.game.nav.waitingCollect"),[B.GrayPendingReceive]:()=>e("lobby.modal.task.collect")}))}},xy="_success_1njne_105",Uy="_processing_1njne_109",$y="_forward_1njne_113",Hy="_disabled_1njne_117",he={"my-button":"_my-button_1njne_91",success:xy,processing:Uy,forward:$y,disabled:Hy},[jy]=$("pages-task-rule-button"),Gy={[B.Discount]:`success ${he.success}`,[B.PendingReceive]:`success ${he.success}`,[B.Processing]:he.processing,[B.Goto]:`forward ${he.forward}`,[B.HasSend]:he.disabled,[B.UnOpen]:he.disabled,[B.Expired]:he.disabled,[B.ServerCancel]:he.disabled,[B.Finish]:he.disabled,[B.PendingApprove]:`success ${he.success}`,[B.PendingApply]:`success ${he.success}`,[B.ServerReject]:he.disabled,[B.ReceiveAll]:`success ${he.success}`,[B.WaitingGet]:`forward ${he.forward}`,[B.GrayPendingReceive]:he.disabled},Wy=N({name:jy,props:{template:{type:Number,default:1},btnKey:{type:Number,default:0},logCategory:{type:Number,default:0},isLoading:{type:Boolean,default:!1},btnStatus:{type:Boolean,default:!1},icon:{type:Number,default:0},receiveTimeType:{type:Number,default:0},receiveTimeDay:{type:Number,default:0},receiveDuration:{type:Number,default:0},canReceiveTime:{type:Number,default:0}},emits:["clickRule"],setup(e,{slots:o,emit:s}){const{isLoading:i,btnKey:r,btnStatus:a,logCategory:c,receiveTimeType:l,receiveTimeDay:p,receiveDuration:d,canReceiveTime:u}=No(e),_=sn("themeBtnDisable",!1),{textMapper:g}=By(),y=v(()=>c.value===Wt.Max&&r.value===B.PendingApply?!1:![B.Goto,B.PendingReceive,B.PendingApprove,B.ReceiveAll,B.Discount,B.Processing].includes(r.value)),m=v(()=>Gy[r.value]),b=f=>{if(S.value){f.stopPropagation();return}s("clickRule")},h=v(()=>{var I,A;const f=(A=(I=g.value)[r.value])==null?void 0:A.call(I,e.template,e.icon);return My({receiveTimeType:l.value,receiveTimeDay:p.value,defaultText:f,canReceiveTime:u.value,isUseDefault:d.value<=0})}),S=v(()=>y.value||a.value);return()=>t(ot,{onClick:b,class:[[he["my-button"]],[m.value],"my-button"],disabled:S.value,loading:i.value,id:"taskReceiveClick","data-sensors-click":!0,"data-theme-btn":!0,"data-theme-btn-disable":_?!0:void 0,"data-theme-btn-keep":m.value===he.forward?"":"background"},{default:()=>{var f;return[t("span",null,[h.value]),(f=o==null?void 0:o.default)==null?void 0:f.call(o)]}})}}),zy="_countdownText_126i2_114",ft={"card-right-box":"_card-right-box_126i2_91","card-right-box-inner":"_card-right-box-inner_126i2_95","box-body":"_box-body_126i2_103","box-count-down-wrapper":"_box-count-down-wrapper_126i2_109",countdownText:zy},[Vy]=$("pages-task-rule-right"),Fy=N({name:Vy,props:{template:{type:Number,default:1},taskRule:{type:Object,default:null}},setup(e){const{taskRule:o}=No(e),s=sn("handleClickRule"),i=sn("collectAction"),r=ne(!1),a=ne(!1),c=v(()=>{var g,y;return((g=o.value)==null?void 0:g.receiveDuration)>0||((y=o.value)==null?void 0:y.receiveDuration)<0}),l=Mc(async()=>{a.value=!0,await(s==null?void 0:s(o.value)),a.value=!1},500),p=v(()=>{var g,y,m,b;return a.value||((g=i==null?void 0:i.isReceiveLoading)==null?void 0:g.value)&&((m=(y=i==null?void 0:i.currTaskRule)==null?void 0:y.value)==null?void 0:m.ruleid)===((b=o.value)==null?void 0:b.ruleid)}),d=v(()=>r.value?!1:i==null?void 0:i.judgeIsAllowByTime(o.value)),u=()=>{if(!o.value||!c.value)return 0;const{periodTime:g,receiveDuration:y}=o.value;let m=g;const b=Lo().getServerTime();return y!==0&&g===0&&(m=Math.abs(y)+b),y&&g&&(m=Math.abs(y)<g?Math.abs(y)+b:g+b),m-b>0?m-b:0},_=()=>{o.value.receiveDuration=0,r.value=!0};return()=>{var g,y;return t("section",{class:{[ft["card-right-box"]]:!0,"btn-wrap":!0}},[t("div",{class:{[ft["card-right-box-inner"]]:!0}},[t("div",{class:ft["box-body"]},[t(Wy,{btnKey:(g=o.value)==null?void 0:g.btnStatus,onClickRule:l,isLoading:p.value,btnStatus:d.value,logCategory:o.value.logCategory,icon:(y=o.value)==null?void 0:y.icon,template:e.template,receiveTimeType:o.value.receiveTimeType,receiveTimeDay:o.value.receiveTimeDay,receiveDuration:o.value.receiveDuration,canReceiveTime:o.value.canReceiveTime},{default:()=>c.value&&t("div",{class:ft["box-count-down-wrapper"]},[t(Qc,{textFormatType:vc.None,inheritTextColor:!0,duration:u(),onComplete:_,className:ft.countdownText},null)])})])])])}}}),Is={"setting-info-badge":"_setting-info-badge_1m8qp_91","reward-img":"_reward-img_1m8qp_109"},[qy]=Ys("setting-info-badge"),Yy=N({name:qy,props:fc,setup(e){const o=eo();return()=>{if(e.content)return t("div",{class:Is["setting-info-badge"]},[t(x,{class:[Is["reward-img"],"reward-img"],src:"/lobby_asset/common/common/home/img_xzapp_jl.png"},null),t(we,{content:e.content,backgroundColor:"var(--skin__accent_1)",position:"top-right",designBgMode:"green",onBadgeClick:o.goToNewBenefits},null)])}}}),Ky="_name_1rejf_150",Qy="_icon_1rejf_169",Xy="_finished_1rejf_179",fe={"card-layout":"_card-layout_1rejf_91","badge-wrap":"_badge-wrap_1rejf_101","card-layout-inner":"_card-layout-inner_1rejf_126","card-left":"_card-left_1rejf_133","instruction-icon":"_instruction-icon_1rejf_141","instruction-con":"_instruction-con_1rejf_146",name:Ky,"name-rewards":"_name-rewards_1rejf_161","active-con":"_active-con_1rejf_164","icon-wrap":"_icon-wrap_1rejf_169",icon:Qy,"text-class":"_text-class_1rejf_176",finished:Xy,"card-right":"_card-right_1rejf_183"},[Zy]=$("pages-task-mine-new-benefits"),Jy=N({name:Zy,props:{template:{type:Number,default:1},taskRule:{type:Object,default:null}},setup(e){const{taskRule:o,template:s}=No(e),{rewards:i,showBadge:r}=eo(),a=U(),c=Co(),l=v(()=>{const{prize:y,randomAmount:m,awardType:b,status:h}=o.value||{};if(h===tn.HasSend||h===tn.Finish)return y===0?"":nn(y);let S=[y,y];return b===Ec.Random&&m&&(S=m==null?void 0:m.split(",").map(Number)),To(S)}),p=v(()=>Xc(s.value,o.value.icon)),d=v(()=>Zc(o.value)),u=v(()=>{var y,m,b;return(y=o.value)!=null&&y.extraReceiveLogId?(b=(m=o.value)==null?void 0:m.extraStatus)!=null?b:0:o.value.status}),_=v(()=>{var y,m;return oo(o.value)===vo.Discount?(y=o.value)==null?void 0:y.couponName:(m=o.value)==null?void 0:m.brisk}),g=v(()=>{var b;if(a.hasLogined)return i.value;const y=((b=c.newBenefitsBeforeLogin)==null?void 0:b.list)||[],m={};for(const h of y)m[h.bindType]={...c.getRedDotBeforeLogin(h.bindType)};return m});return()=>{var y,m,b;return t("section",{class:{[fe["card-layout"]]:!0}},[t(Yy,{class:fe["badge-wrap"],content:r(g.value[o.value.icon])},null),t("div",{class:{[fe["card-layout-inner"]]:!0,"card-layout-inner":!0},"data-ruleid":(y=o.value)==null?void 0:y.ruleid},[t("div",{class:{[fe["card-left"]]:!0}},[t(x,{class:fe["instruction-icon"],src:p.value},null),t("div",{class:fe["instruction-con"]},[t("span",{class:{[fe.name]:!0,[fe["name-rewards"]]:!!r(g.value[o.value.icon])}},[d.value]),t("div",{class:fe["active-con"]},[l.value&&t("div",{class:fe["icon-wrap"]},[t(Vo,{type:Fo.Task,class:[fe.icon,[B.Finish,B.HasSend].includes(o.value.status)?fe.finished:""],textClass:fe["text-class"],disabled:[B.Finish,B.HasSend].includes(o.value.status),detail:{key:hc.Bouns,text:l.value}},null)]),!!_.value&&t("div",{class:fe["icon-wrap"]},[t(Vo,{type:Fo.Task,class:[fe.icon,[B.Finish,B.HasSend].includes(u.value)?fe.finished:""],textClass:fe["text-class"],disabled:[B.Finish,B.HasSend].includes(u.value),detail:{key:oo(o.value),text:Jc((m=o.value)==null?void 0:m.brisk,oo(o.value),(b=o.value)==null?void 0:b.couponName)}},null)])])])]),t("div",{class:{[fe["card-right"]]:!0}},[t(Fy,{taskRule:o.value,template:s.value},null)])])])}}}),ep="_wrap_1e1x1_91",np="_title_1e1x1_100",tp="_arrow_1e1x1_121",$t={wrap:ep,title:np,"view-all":"_view-all_1e1x1_109",arrow:tp},[op]=ae("new-benefits"),sp=N({name:op,setup(){const{t:e}=W(),o=Vt(),s=U(),i=Le(),{handleClickRule:r}=Ny(),a=pi();Un("collectAction",a),Un("handleClickRule",r);const{taskCategories:c,taskTabData:l,activeTabTasksError:p,curTab:d}=On(o),u=ne(!1),_=v(()=>{var h,S;return u.value?!y.value&&d.value===Je.newBenefits?(S=(h=l.value)==null?void 0:h.rules)!=null?S:[]:[]:[]}),g=async()=>{await o.getNewTaskCategories(),u.value=c.value.some(b=>b.template===qo.newBenefits),u.value&&(o.updateCurTab(Je.newBenefits),await o.getActiveTabTasks(Je.newBenefits,!0))},y=v(()=>{var h;const{data:b}=(h=p.value)!=null?h:{};return(b==null?void 0:b.errorCode)===H.TASK_USER_INELIGIBLE||(b==null?void 0:b.code)===H.USER_INELIGIBLE});zt(()=>s.hasLogined,async()=>{await o.freshNewTaskCategories(),u.value=c.value.some(b=>b.template===qo.newBenefits),u.value&&(o.updateCurTab(Je.newBenefits),await o.freshActiveTabTasks(!0))}),So(()=>{g()});const m=()=>{o.updateCurTab(Je.newBenefits),i.push({name:D.TASK,query:{curTask:Ic.newBenefits}})};return()=>{var b;if(!(_.value.length===0||y.value))return t("div",{class:$t.wrap},[t("div",{class:$t.title},[t("span",null,[e("lobby.modal.task.newbieBenefit")]),t("span",{class:$t["view-all"],onClick:m},[t("span",null,[e("lobby.mine.viewAll")]),t(x,{class:[$t.arrow],src:"/lobby_asset/common/web/common/comm_icon_fh.svg"},null)])]),(b=_.value)==null?void 0:b.slice(0,5).map((h,S)=>t(Jy,{key:`${Je.newBenefits}_${S}_${h.ruleid}`,taskRule:h,template:Je.newBenefits},null))])}}}),Tn={"un-login-info":"_un-login-info_qovtp_91","marketing-top-unlogin":"_marketing-top-unlogin_qovtp_94","unlogin-content":"_unlogin-content_qovtp_99","un-login-tips":"_un-login-tips_qovtp_103","unlogin-right-img":"_unlogin-right-img_qovtp_119","login-register-wrap":"_login-register-wrap_qovtp_127","login-btn":"_login-btn_qovtp_140","register-btn":"_register-btn_qovtp_141"},ip=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[cp]=$("mine7-un-login"),rp=N({n
2ame:cp,setup(){const{t:e}=W(),{badgeValue:o}=Hn(),{openLoginRegister:s}=gn(),i=U(),r=sn("registerBadge"),a=p=>()=>{const d={[p]:!0};i.isTemporaryAccountMode&&(d.skipTemporary=!0,d.skipGuide=!0),s(d)},c=a("login"),l=a("register");return()=>t("div",{class:Tn["un-login-info"]},[t(ip,{class:[Tn["marketing-top-unlogin"]],place:F.MINE_TOP},null),t("div",{class:Tn["unlogin-content"]},[t("div",null,[t("div",{class:[Tn["un-login-tips"]]},[e("lobby.mine.unLoginTips")]),t("div",{class:Tn["login-register-wrap"]},[t("div",{class:Tn["login-btn"],onClick:c},[t("span",null,[e("lobby.plan.header.login")])]),t(et,Y({backgroundColor:"var(--skin__accent_1)",designBgMode:"green",position:"top-center",content:o.value,autoTransformOffset:!0,gift:{size:"normal",shouldOccupySpace:0}},r),{default:()=>[t("div",{class:Tn["register-btn"],onClick:l},[t("span",null,[e("lobby.modal.register.label")])])]})])]),t(x,{class:Tn["unlogin-right-img"],src:"/lobby_asset/common/common/profile/style_7_icon_lh.png"},null)])])}}),ap="_wrap_15npo_121",lp="_avatar_15npo_126",up="_name_15npo_133",_p="_label_15npo_151",ke={"user-card":"_user-card_15npo_91","header-button":"_header-button_15npo_98","user-info":"_user-info_15npo_116",wrap:ap,avatar:lp,name:up,"sub-info":"_sub-info_15npo_144","user-id-wrap":"_user-id-wrap_15npo_147",label:_p,"btn-copy":"_btn-copy_15npo_155","select-custom-name-7":"_select-custom-name-7_15npo_161","marketing-top":"_marketing-top_15npo_177","user-discourag":"_user-discourag_15npo_181"},dp=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),mp=R(()=>w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]))),[gp]=ae("user-card"),yp=N({name:gp,setup(){const e=U(),{isOnlyIDAndUsername:o}=zn(),s=ge(),i=sn(cn,!1);return()=>{var r,a;return t("div",{class:ke["user-card"]},[t(Fn,{class:ke["header-button"],showSetting:!1,isNeedText:!1,iconPath:{service:"/lobby_asset/common/common/profile/style_7_icon_top_kf.svg",message:"/lobby_asset/common/common/profile/style_7_icon_top_xx.svg",unReadMessage:"/lobby_asset/common/common/profile/style_7_icon_top_xx.svg"}},null),t(dp,{class:[ke["marketing-top"]],place:F.MINE_TOP},null),i&&t(Yn,{class:ke["user-discourag"],iconSrc:"/lobby_asset/common/common/profile/style_4_icon_hyqt.png"},null),t("div",{class:ke.wrap},[t(Vn,{showEdit:!0,class:ke.avatar,showBadgeDot:!0},null),t("div",{class:ke["user-info"]},[t("p",{class:ke.name},[t(mp,{isShowID:!1,isShowSortIcon:o.value,class:ke["select-custom-name-7"],optionsClass:"select-options-mine",placement:s.isRtlLanguage?"bottom-end":"bottom-start",sortIconSmartMediaProps:{useImage:!0}},{accountToggle:()=>t(qn,{mode:ce.MODE7},null)})]),t("div",{class:ke["sub-info"]},[t("p",{class:[j.flexLeft]},[t("p",{class:ke["user-id-wrap"],dir:"ltr"},[!s.isRtlLanguage&&t("span",{class:ke.label},[de("ID:")]),t("span",null,[(r=e.userInfos)==null?void 0:r.username]),s.isRtlLanguage&&t("span",{class:ke.label},[de(":ID")])]),t(Gn,{class:ke["btn-copy"],text:String((a=e.userInfos)==null?void 0:a.username)},null)])])])])])}}}),pp="_mine_okg8r_91",An={mine:pp,"header-info":"_header-info_okg8r_95","header-info-bg":"_header-info-bg_okg8r_98","sign-wallet-wrap":"_sign-wallet-wrap_okg8r_107","bind-no-wallet-container":"_bind-no-wallet-container_okg8r_111","market-profile-below":"_market-profile-below_okg8r_150","market-profile-below-unlogin":"_market-profile-below-unlogin_okg8r_154"};w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]));w(()=>import("./EventSignIndex.DA2bLFke.js"),__vite__mapDeps([0,1,2,3,4,5,19,20,10,21,22,23]));w(()=>import("./commonChunk.B_cUH0Zs.js").then(e=>e.wc),__vite__mapDeps([0]));w(()=>import("./SelectCustomName.CK5MRaOx.js"),__vite__mapDeps([0,1,2,14,3,4,5,15]));const bp=R(()=>w(()=>import("./EventSignIndex.DA2bLFke.js"),__vite__mapDeps([0,1,2,3,4,5,19,20,10,21,22,23]))),vp=R(()=>w(()=>import("./MarketingIndex.CGWhT6D1.js"),__vite__mapDeps([0,1,2,12,4,13]))),[fp]=$("mine-theme-7"),Ep=N({name:fp,setup(){const e=U(),o=Lt(),s=Qe();Un(cn,!0);const i=v(()=>
2o.isNoBg&&!s.isDark);return()=>t("div",{class:An.mine},[t("div",{class:An["header-info"]},[t(x,{class:An["header-info-bg"],src:`/lobby_asset/common/common/profile/style_7_topbg${i.value?"":"_yd"}.png`},null),e.hasLoginedComponent?t(yp,null,null):t(rp,null,null),t(Ay,null,null)]),t(vp,{class:[An["market-profile-below"],!e.hasLoginedComponent&&An["market-profile-below-unlogin"]],place:F.MINE_PROFILE_BELOW},null),t("div",{class:[An["sign-wallet-wrap"],e.hasLoginedComponent&&An["sign-wallet-login-wrap"]]},[t(bp,null,null),t(jn,{class:An["bind-no-wallet-container"]},null)]),t(sp,null,null),t(vy,{class:"menulist-wrap"},null)])}}),hp="_container_1709r_91",Ip={container:hp},[Sp]=$("pages-mine-base"),Ss={[ce.MODE1]:zu,[ce.MODE2]:N_,[ce.MODE3]:bd,[ce.MODE4]:dm,[ce.MODE5]:Sg,[ce.MODE6]:yy,[ce.MODE7]:Ep},Cp=N({name:Sp,setup(){const{homeLayoutInfos:e}=yn(),o=v(()=>{var i,r;const s=(r=(i=e==null?void 0:e.baseConfig)==null?void 0:i.appMyPage)==null?void 0:r.toString();return s&&s in Ss?s:ce.MODE1});return()=>{const s=Ss[o.value];return t(s,{class:Ip.container},null)}}}),Tp="_main_gikap_91",Ap="_isExpandTabbar_gikap_98",wp="_back_gikap_176",Ht={main:Tp,isExpandTabbar:Ap,back:wp,"theme-3":"_theme-3_gikap_192","theme-4":"_theme-4_gikap_195","theme-5":"_theme-5_gikap_198"},[Lp]=$("pages-home-mine"),Np=N({name:Lp,props:{layoutScrollbarTrigger:{type:String,default:"always"}},setup(e){const{homeLayoutInfos:o}=yn(),s=Me(),i=Wn(),r=Rn(),a=Io(),c=U();Lt();const l=Ge(),p=Ts(),{getEventCategoriesAndEvents:d}=Kt(),u=ii(),{isExpandTabbar:_}=sr(),{getKYCStatus:g}=ti(),y=Sc(),m=v(()=>{var f,E;return((E=(f=o==null?void 0:o.baseConfig)==null?void 0:f.appMyPage)==null?void 0:E.toString())||ce.MODE1});let b=!1;const h=async()=>{if(!b){b=!0;try{re.enable||u.getClubApplyConfig(),d(),a.getUnreadMsgCnt(),s.isShowInterest&&Cs().request(0),r.isShowPromote&&(r.getPromoteAdvertise(),l.isClubSite&&r.getPromoteAuth()),i.getVipInfos(),i.getVipDetails(),i.getVipLevelList(),Promise.all([i.getLocalAccounts(),g(),p.getCurrentPeriodReward()])}catch(S){Ms.error(`mine init: ${S}`)}b=!1}};return zt(()=>{var S;return(S=c.userInfos)==null?void 0:S.game_gold},i.getLocalAccounts),zt(()=>{var S;return(S=c.userInfos)==null?void 0:S.username},()=>{var S;(S=c.userInfos)!=null&&S.username&&c.hasLogined&&h()}),Ot(h),Bc(()=>{g()}),()=>{var S;return t(Cc,{layoutScrollbarTrigger:e.layoutScrollbarTrigger,class:{[Ht.main]:!0,[Ht.isExpandTabbar]:_.value},"data-show-big-icon":~~((S=y.showIconPlus.value)!=null?S:0)},{default:()=>[t(nr,{class:[Ht.back,Ht["theme-"+m.value]]},null),t(Cp,null,null)]})}}}),Fp=Object.freeze(Object.defineProperty({__proto__:null,default:Np},Symbol.toStringTag,{value:"Module"}));export{Wl as A,fn as B,Nn as C,hu as D,n as E,ku as F,mi as G,Ke as H,je as I,Cu as J,Oo as K,Jo as L,Vn as M,xp as N,tl as O,Fp as P,Fy as R,Yy as S,no as U,$u as V,pi as a,Ny as b,ai as c,Eo as d,By as e,Vp as f,My as g,wy as h,or as i,Fe as j,j as k,jp as l,Hp as m,Gp as n,Up as o,Wp as p,$p as q,dt as r,Dr as s,Rr as t,Dm as u,Be as v,Rt as w,Mr as x,zp as y,sa as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.