const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/content_004-BPmjD8q4.js","js/index-xnhGKCfe.js","css/index-BarkczBl.css","js/menus-DBRpC2v3.js","js/currency-DTUBf2lI.js","js/info.vue_vue_type_script_setup_true_lang-Br2EH1Hy.js","js/avatar-B_JRPXTn.js","js/common-CGnrk9PK.js","css/avatar-DKHfd5q4.css","js/avatar-COhUS_hQ.js","js/useCopy.hook-BtNGdOST.js","js/index-blEDOb-M.js","css/index-B4WhPUuw.css","css/menus-opNfhFsb.css","js/level-Oen3Tayd.js","js/index-qMeHMTSW.js","css/level-DHfTL0kB.css","js/accountAndSecurity-DV8YrjSb.js","css/accountAndSecurity-BQsuCTu4.css","js/settings-BjdfP4_w.js","js/index-D09RZK4J.js","css/settings-vV0-mwPO.css","css/index-HcceCj4j.css","js/layoutWarning-CD_vfu6-.js","css/layoutWarning-ZZ3VfKtE.css","js/bindEmail-BbQqsWK-.js","css/bindEmail-BQELn4O8.css","js/bindPassword-BqUuVNfH.js","css/bindPassword-BshQ_RIW.css","js/LogonComp-BOHpBHfS.js","js/TurnstileInline-BJynT3vQ.js","css/TurnstileInline-DIcO-uAz.css","js/useLogin-B_VC5_H5.js","css/LogonComp-zweb0qvd.css","js/useNotifications-D5cP5bJF.js","css/content_004-CeRrym6W.css"])))=>i.map(i=>d[i]);
import{b7 as P,t as W,a as z,Z as M,as as F,B as H,d3 as X,O as Y,z as Z,c0 as j,aY as o,aT as s,bN as q,aS as B,bW as J,c as C,a$ as i,bg as p,bh as K,bc as c,ba as a,b9 as v,b0 as u,b_ as Q,N as ee,bf as te,r as w,aV as ae,m as se,be as ne,aW as oe,aX as re}from"./index-xnhGKCfe.js";import{G as ie}from"./guestTabs-CSCqrApc.js";import{S as ce}from"./index-D2CW0SR0.js";import{u as ue}from"./useHomeBasic-t3qfyrNL.js";const le={class:"app-tabber bottom_mix_style"},me={class:"items"},de=["id","onClick"],be=["src"],fe={key:0,class:"turn"},_e={key:0,class:"tips"},pe="menu",ve=P({__name:"new",props:{tabs:{default:()=>[{name:"home",text:"t44"},{name:"activity",text:"t813"},{name:"turntable",text:"t719",img:"turntable_home"},{name:"promotion",text:"t720"},{name:"menu",text:"t721"}]},isShowAmount:{type:Boolean,default:!1}},setup(l){var T;const A=ae(()=>oe(()=>import("./content_004-BPmjD8q4.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35]))),{userUnreadInmailCount:g,userUnGrandMsgCount:I,getUserInfo:N}=Z(),{listenerBroadcast:U}=H(),{activityCount:h}=ue(),y=l,S=W(),{getImgVal:k}=se(),{currencySign:m,getToken:V}=z(),{giftpackInfo:E}=M(),d=F(),r=(T=y.tabs[2])==null?void 0:T.name,G=new Set(y.tabs.map(e=>e.name)),L=C(()=>G.has(d.name)),$=C(()=>{var n;return`Get ${m.value&&m.value!=="undefined"?m.value:""}${((n=E.value)==null?void 0:n.invitedWheelTotalPrizeAmount)??0}`});function O(e){const n=d.name===e.name&&e.name!==r;return k(n?e.img||`${e.name}_a`:e.img||e.name)}const b=w(),f=w(!1);function R(){var e;f.value=!0,(e=b.value)==null||e.show()}function _(){var e;(e=b.value)==null||e.hide()}U(async e=>{if(e===X.LOGOUT){_();return}}),Y(()=>{N(!0)});function D(e){if(!ie.has(e)&&!V()){S.push({name:"Login"});return}if(e===pe){R();return}S.push({name:e})}return j(()=>{_()}),(e,n)=>(s(),o(p,null,[q(i("div",le,[i("div",me,[(s(!0),o(p,null,K(l.tabs,(t,x)=>(s(),o("div",{key:x,id:t.name,class:c(["app-tabber-item",{play:t.name===a(r)}]),onClick:()=>D(t.name)},[i("img",{src:O(t),class:c(["img_"+x])},null,10,be),i("div",{class:c(["text",{mid:t.name===a(r),active:a(d).name===t.name}])},[t.name===a(r)&&l.isShowAmount?(s(),o("p",fe,u($.value),1)):(s(),o(p,{key:1},[Q(u(e.$t(t.text)),1)],64))],2),t.name==="activity"&&a(h)?(s(),o("i",_e,u(a(h)),1)):v("",!0),t.name==="menu"?(s(),o("i",{key:1,class:c(a(g)?"tips":a(I)?"tips_point":"")},u(a(g)||""),3)):v("",!0)],10,de))),128))])],512),[[J,L.value]]),(s(),B(ne,{to:"body"},[ee(ce,{ref_key:"sidebarRef",ref:b,direction:"left",closebtn:a(k)("icon_m_ruturn"),onAfterLeave:n[0]||(n[0]=t=>f.value=!1)},{default:te(()=>[f.value?(s(),B(a(A),{key:0,direction:"right",onClose:_})):v("",!0)]),_:1},8,["closebtn"])]))],64))}}),ke=re(ve,[["__scopeId","data-v-871b09a0"]]);export{ke as default};
