import{G as m,z as h,r as f,R as b,C as y,H as g,az as W,N as r,I as i,J as e,aw as N,aA as T,P as u,O as R,Q as $,q as A,K as v,M as C,ao as G,B as P,an as S,au as I,$ as H,V as x}from"./common.modules-af1f85b9.js";import{c as B,A as M,e8 as V,_ as p,G as j}from"./page-activity-ActivityDetail-09e806d3.js";const E={class:"Wallet__C"},q={class:"Wallet__C-balance"},z={class:"Wallet__C-balance-l1"},D={class:"Wallet__C-balance-l2"},U={class:"Wallet__C-balance-l3"},F=m({__name:"Wallet",setup(d,{expose:s}){const{t:a}=h(),o=f(0),t=async(n=!0)=>{const l=await M(V());l&&(o.value=(l==null?void 0:l.data.amount)||0,n&&A(a("refreshSuccess")))},c=b(),_=n=>{c.push({name:n})};return y(()=>{t(!1)}),s({getWinsUserAmount:t}),(n,l)=>{const w=g("svg-icon"),L=W("throttle-click");return r(),i("div",E,[e("div",q,[e("div",z,[N((r(),i("div",null,[T(u(R(B)(o.value)),1)])),[[L,{handler:t,wait:2e3}]])]),e("div",D,[$(w,{name:"lottyWallet"}),e("div",null,u(n.$t("walletBalance")),1)]),e("div",U,[e("div",{onClick:l[0]||(l[0]=k=>_("Withdraw"))},u(n.$t("withdraw")),1),e("div",{onClick:l[1]||(l[1]=k=>_("Recharge"))},u(n.$t("recharge")),1)])])])}}});const he=p(F,[["__scopeId","data-v-7dd1adab"],["__file","/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/AllLotteryGames/WinGo/Wallet.vue"]]),J={class:"GameList__C"},K=["onClick"],O=["innerHTML"],Q=m({__name:"GameList",props:{gameList:{type:null,required:!0,default:{type:Array,default:()=>[]}},currentGameIndex:{type:null,required:!0,default:{type:Number,default:0}}},setup(d){const s=d;return(a,o)=>(r(),i("div",J,[(r(!0),i(v,null,C(s.gameList,(t,c)=>(r(),i("div",{key:c,class:G(["GameList__C-item",{active:a.currentGameIndex==c}]),onClick:_=>a.$emit("changeGame",c)},[e("div",{innerHTML:t.typeName},null,8,O)],10,K))),128))]))}});const ye=p(Q,[["__scopeId","data-v-17d56002"],["__file","/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/AllLotteryGames/WinGo/GameList.vue"]]),X={class:"TimeLeft__C-PreSale"},Y={class:"TimeLeft__C-PreSale-head"},Z={class:"TimeLeft__C-PreSale-body"},ee=["innerHTML"],te={class:"TimeLeft__C-PreSale-foot"},se=m({__name:"rule",props:{howPlayShow:{type:Boolean,default:!1},gamePresentation:{type:String,default:""}},emits:["close"],setup(d,{emit:s}){const a=d,o=P({get(){return a.howPlayShow||!1},set(t){t||s("close")}});return(t,c)=>{const _=g("van-popup");return r(),i(v,null,[S(" 规则弹层 begin"),$(_,{show:o.value,"onUpdate:show":c[1]||(c[1]=n=>o.value=n),"close-on-click-overlay":!1,round:""},{default:I(()=>[e("div",X,[e("div",Y,u(t.$t("winTrxIndicate")),1),e("div",Z,[e("div",{innerHTML:d.gamePresentation},null,8,ee)]),e("div",te,[e("div",{class:"TimeLeft__C-PreSale-foot-btn",onClick:c[0]||(c[0]=n=>s("close"))},u(t.$t("winTrxClose")),1)])])]),_:1},8,["show"])],2112)}}});const ge=p(se,[["__scopeId","data-v-0bba67ea"],["__file","/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/AllLotteryGames/WinGo/rule.vue"]]),oe={class:"RecordNav__C"},ae=["onClick"],ne=m({__name:"RecordNav",props:{record:{type:String,default:"GameRecord"}},setup(d){const s=d,{t:a}=h(),o=f([{name:a("gameRecords"),componentName:"GameRecord"},{name:a("chartTrends"),componentName:"Trend"},{name:a("myGameRecords"),componentName:"MyGameRecord"}]);return(t,c)=>(r(),i("div",oe,[(r(!0),i(v,null,C(o.value,(_,n)=>(r(),i("div",{key:n,onClick:l=>t.$emit("changeC",_.componentName),class:G({active:s.record==_.componentName})},u(_.name),11,ae))),128))]))}});const $e=p(ne,[["__scopeId","data-v-72f81e71"],["__file","/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/AllLotteryGames/WinGo/RecordNav.vue"]]),ce="/assets/mp3/di1-0f3d86cb.mp3",le="/assets/mp3/di2-ad9aa8fb.mp3",re=["muted"],ie=e("source",{src:ce,type:"audio/mpeg"},null,-1),_e=[ie],de=["muted"],ue=e("source",{src:le,type:"audio/mpeg"},null,-1),me=[ue],pe=m({__name:"audio",setup(d){const s=f(!1);H(()=>j().visibility,o=>{o===0?s.value=!0:setTimeout(()=>{s.value=!1},500)});const a=()=>{s.value=!0,x(()=>{const o=document.getElementById("voice1"),t=document.getElementById("voice2");o.play(),t.play(),o.pause(),t.pause(),s.value=!1,document.removeEventListener("touchstart",a)})};return y(()=>{document.addEventListener("touchstart",a)}),(o,t)=>(r(),i(v,null,[e("audio",{id:"voice1",muted:s.value},_e,8,re),e("audio",{id:"voice2",muted:s.value},me,8,de)],64))}}),Ce=p(pe,[["__file","/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/AllLotteryGames/WinGo/audio.vue"]]);export{ye as G,$e as R,he as W,Ce as a,ge as r};
