import{b7 as M,b$ as z,t as W,a as O,Z as P,as as R,m as h,O as F,z as H,bM as X,bN as y,bW as Y,c as k,aY as s,aT as n,a$ as l,bg as x,bh as Z,bc as u,ba as t,b9 as S,b0 as i,b_ as j,aX as q}from"./index-xnhGKCfe.js";import{G as J}from"./guestTabs-CSCqrApc.js";import{u as K}from"./useHomeBasic-t3qfyrNL.js";const Q={class:"app-tabber bottom_mix_style"},ee={class:"items"},ae=["id","onClick"],te=["src"],se={key:0,class:"turn"},ne={key:0,class:"tips"},oe=M({__name:"008",props:{tabs:{default:()=>[{name:"home",text:"t44"},{name:"activity",text:"t813"},{name:"turntable",text:"t719",img:"turntable_home"},{name:"promotion",text:"t720"},{name:"main",text:"t1006"}]},isShowAmount:{type:Boolean,default:!1}},setup(d){var v;z(e=>({v552df3ed:t(N)}));const{userUnreadInmailCount:_,userUnGrandMsgCount:B,getUserInfo:C}=H(),{activityCount:b}=K(),p=d,g=W(),{getImgVal:T}=h(),{currencySign:m,getToken:I}=O(),{giftpackInfo:w}=P(),o=R(),{getBackgroundImgVal:A}=h(),N=A("barBg"),r=(v=p.tabs[2])==null?void 0:v.name,U=new Set(p.tabs.map(e=>e.name)),V=k(()=>U.has(o.name)),$=k(()=>{var c;return`${m.value&&m.value!=="undefined"?m.value:""}${((c=w.value)==null?void 0:c.invitedWheelTotalPrizeAmount)??0}`});function G(e){const c=o.name===e.name&&e.name!==r;return T(c?e.img||`${e.name}_a`:e.img||e.name)}const D=e=>e==="MENU"?"bellow":"menu";function E(e){if(!J.has(e)&&!I()){g.push({name:"Login"});return}g.push({name:e})}return F(()=>{C(!0)}),(e,c)=>{const L=X("sound");return y((n(),s("div",Q,[l("div",ee,[(n(!0),s(x,null,Z(d.tabs,(a,f)=>y((n(),s("div",{key:f,id:a.name,class:u(["app-tabber-item",{play:a.name===t(r)}]),onClick:()=>E(a.name)},[l("img",{src:G(a),class:u(["img_"+f,{found:t(o).name===a.name&&t(o).name!=="turntable"}])},null,10,te),l("div",{class:u(["text",{mid:a.name===t(r),active:t(o).name===a.name}])},[a.name===t(r)?(n(),s("p",se,i($.value),1)):(n(),s(x,{key:1},[j(i(e.$t(a.text)),1)],64))],2),a.name==="activity"&&t(b)?(n(),s("i",ne,i(t(b)),1)):S("",!0),a.name==="main"?(n(),s("i",{key:1,class:u(t(_)?"tips":t(B)?"tips_point":"")},i(t(_)||""),3)):S("",!0)],10,ae)),[[L,void 0,D(a.name)]])),128))])],512)),[[Y,V.value]])}}}),ie=q(oe,[["__scopeId","data-v-6602430d"]]);export{ie as default};
