import{aB as Bt,_ as ze,k as He,aW as Me,P as Ee,w as Lt,o as Oe,a as Ge,j as o,c as d,l as T,m as z,D as s,b as e,n as Y,F as ce,x as de,q as a,t as r,Y as $,Q as Z,v as D,Z as at,J as Ve,r as U,an as We,u as qe,ab as Nt,S as M,a_ as Ne,y as $e,X as At,G as Ae,ac as zt,au as Pt,aJ as Dt,al as Ft,ag as Ht}from"./index-CIAVq8iD-1776148658686.js";import{_ as Ke}from"./coin-Dqu2_ND9-1776148658686.js";import{g as Ye,a as Mt}from"./imagePaths-Bi1Bwe4Z-1776148658686.js";import{c as Et}from"./appConnector-B5Pbaops-1776148658686.js";import{p as it}from"./imagePreloader-C_QM-Nv8-1776148658686.js";import{f as Ot}from"./utcFormat-Cl3Lb3s0-1776148658686.js";import{a as ye,s as st}from"./toast-aIWCznBB-1776148658686.js";import{h as ue,a as nt}from"./imageHandler-DstQGL3Z-1776148658686.js";import{c as Gt,g as Vt}from"./payeeStore-BUBSCe8t-1776148658686.js";import{i as Wt,o as qt,m as Yt,t as Xt,k as Jt,h as lt,w as ot,r as ct,j as Kt,e as dt,f as Qt,c as Zt,q as ea,d as ta}from"./lottery-BvmnIlAm-1776148658686.js";import{a as ut,_ as et,b as aa,c as ia,d as sa}from"./coinSeller-DYKB8f4A-1776148658686.js";import{_ as ra}from"./dollar-B_xazKD_-1776148658686.js";import{B as Qe}from"./BackgroundLayer-DJYogygx-1776148658686.js";import{i as E}from"./itemCenter-DveKthYv-1776148658686.js";import{m as na}from"./MaskLayer-CMaJd7Gb-1776148658686.js";import{f as gt}from"./rewardFormatter-Dyjg93my-1776148658686.js";const Xe=Bt("springFestival",{state:()=>({lotteryRewards:{},tickets:0,luckyUsers:[],userInfo:{},userIdentity:{},currentEarnings:0,selectedPayee:{},taskList:[],lotteryPageNo:0,lotteryRanking:[],addLotteryRanking:[],myLotteryRanking:{},rankingRewards:{},rechargePageNo:0,rechargeRanking:[],addRechargeRanking:[],myRechargeRanking:{},myRechargeRecode:{},RechargeRewards:{},resultShow:!1,result:[],drawRecordShow:!1,myRecords:[],receiveRecordShow:!1,receiveRecord:[],taskListShow:!1,checkDate:"",checkStatus:!1,earningsHelpShow:!1,rechargeHelpShow:!1}),actions:{clear(){const I=["checkDate","checkStatus"];for(const l in this.$state)I.includes(l)||(typeof this.$state[l]=="string"?this.$state[l]="":Array.isArray(this.$state[l])?this.$state[l]=[]:typeof this.$state[l]=="object"?this.$state[l]={}:typeof this.$state[l]=="number"?this.$state[l]=0:typeof this.$state[l]=="boolean"?this.$state[l]=!1:console.log("未知类型：",l,this.$state[l]))}},persist:!0}),la={style:{display:"flex","flex-direction":"column","align-items":"center"}},oa=["src"],ca={style:{position:"absolute","z-index":"2",top:"-22vw",left:"0",width:"100%",height:"11vw",display:"flex","justify-content":"center","align-items":"center","padding-right":"1vw"}},da={style:{width:"33%","min-width":"0",overflow:"hidden",position:"relative"}},ua={class:"scroll-content"},ga={style:{"font-size":"1.2em","font-weight":"700",color:"#fff","white-space":"nowrap"}},va={style:{width:"100%",height:"85vw","align-self":"stretch",padding:"0 5.5vw 0 5.5vw",display:"grid","grid-template-columns":"repeat(3, 1fr)","grid-template-rows":"repeat(3, 1fr)",gap:"0.5vw 1.5vw",direction:"ltr"}},ya={style:{width:"100%",flex:"1","min-width":"0","min-height":"0","padding-top":"6vw",display:"flex","justify-content":"center","align-items":"center"}},pa=["src","alt"],fa={style:{width:"100%",height:"27%","min-width":"0","min-height":"0",display:"flex","justify-content":"center","align-items":"center"}},ha={style:{"font-size":"0.8em","font-weight":"700",color:"#fff"}},wa=["src"],ma={style:{width:"100%",height:"5vw",display:"flex","justify-content":"space-between"}},ka={style:{"font-weight":"700"}},_a={style:{width:"80%",height:"11vw",display:"flex","justify-content":"space-between",gap:"10vw",direction:"ltr"}},ba=["src"],xa=["src"],Ra={style:{width:"100%",padding:"0 4vw",display:"flex","flex-direction":"column",gap:"2vw"}},Sa=["src"],$a={style:{position:"relative",flex:"1","min-width":"0",height:"80%",display:"flex","flex-direction":"column","justify-content":"center",gap:"1vw"}},Ta={style:{"max-width":"70%","min-width":"0","font-weight":"500",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},Ia={style:{width:"100%","font-weight":"600"}},Ca={style:{position:"relative","z-index":"0"}},Ua={style:{"border-radius":"12px",background:`linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 100%),
              linear-gradient(
                99deg,
                rgba(211, 212, 213, 0.15) 12.86%,
                rgba(139, 145, 147, 0.15) 15.34%,
                rgba(87, 95, 99, 0.15) 17.82%,
                rgba(55, 65, 69, 0.15) 18.64%,
                rgba(43, 54, 58, 0.15) 19.47%,
                rgba(52, 62, 66, 0.15) 22.77%,
                rgba(77, 85, 89, 0.15) 26.9%,
                rgba(117, 123, 126, 0.15) 32.68%,
                rgba(173, 176, 177, 0.15) 38.46%,
                rgba(205, 205, 206, 0.15) 41.76%,
                rgba(198, 199, 200, 0.15) 43.41%,
                rgba(180, 182, 184, 0.15) 45.06%,
                rgba(151, 156, 158, 0.15) 46.71%,
                rgba(111, 118, 122, 0.15) 49.19%,
                rgba(72, 83, 87, 0.15) 50.84%,
                rgba(76, 86, 90, 0.15) 52.49%,
                rgba(89, 98, 102, 0.15) 54.97%,
                rgba(112, 117, 120, 0.15) 57.45%,
                rgba(143, 144, 146, 0.15) 59.1%,
                rgba(152, 152, 154, 0.15) 59.92%,
                rgba(165, 165, 166, 0.15) 63.23%,
                rgba(199, 199, 200, 0.15) 70.66%,
                rgba(255, 255, 255, 0.15) 78.91%,
                rgba(209, 209, 210, 0.15) 81.39%,
                rgba(79, 79, 83, 0.15) 87.17%,
                rgba(27, 27, 32, 0.15) 90.47%,
                rgba(49, 49, 54, 0.15) 91.3%,
                rgba(77, 77, 81, 0.15) 92.12%,
                rgba(116, 116, 118, 0.15) 92.95%,
                rgba(165, 165, 167, 0.15) 94.6%,
                rgba(233, 233, 233, 0.15) 95.43%
              )`,"background-blend-mode":"normal, hard-light","backdrop-filter":"blur(5px)",padding:"12px","font-weight":"600",display:"flex","flex-direction":"column",gap:"8px",position:"relative","z-index":"0"}},ja={key:0,style:{"background-color":"transparent",display:"flex","flex-direction":"column",gap:"12px"}},Ba={key:0,style:{"border-radius":"8px",border:"1px solid #cfcfcf",background:"rgba(240, 240, 240, 0.3)","box-shadow":`-42px 103px 31px 0 rgba(145, 145, 145, 0),
                    -27px 66px 29px 0 rgba(145, 145, 145, 0.01),
                    -15px 37px 24px 0 rgba(145, 145, 145, 0.03),
                    -7px 17px 18px 0 rgba(145, 145, 145, 0.04),
                    -2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(7.5px)",padding:"12px"}},La={style:{display:"flex","align-items":"center"}},Na={style:{position:"relative",width:"50px","margin-right":"12px"}},Aa=["src","alt"],za={style:{flex:"1"}},Pa={style:{margin:"0 0 4px 0","font-weight":"700"}},Da={style:{margin:"0","font-size":"0.9em","font-weight":"500"}},Fa={style:{"margin-left":"50px",display:"flex",gap:"5px"}},Ha={key:0,src:aa,alt:"",width:"30%"},Ma={key:1,src:ia,alt:"",width:"30%",style:{display:"block"}},Ea={key:2,src:sa,alt:"",width:"30%"},Oa={key:1,style:{display:"flex","justify-content":"center","align-items":"center","border-radius":"8px",border:"1px solid #cfcfcf",background:"rgba(240, 240, 240, 0.3)","box-shadow":`-42px 103px 31px 0 rgba(145, 145, 145, 0),
                    -27px 66px 29px 0 rgba(145, 145, 145, 0.01),
                    -15px 37px 24px 0 rgba(145, 145, 145, 0.03),
                    -7px 17px 18px 0 rgba(145, 145, 145, 0.04),
                    -2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(7.5px)",padding:"12px 0"}},Ga={style:{display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"12px"}},Va=["onClick"],Wa={src:ra,alt:"",style:{width:"40%"}},qa={style:{"font-weight":"500",color:"#fff"}},Ya={style:{display:"flex","justify-content":"center","align-items":"center"}},Xa=["disabled"],Ja={key:0,style:{"background-color":"transparent",display:"flex","flex-direction":"column",gap:"12px"}},Ka={style:{display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"12px"}},Qa=["onClick"],Za={src:Ke,alt:"",style:{width:"40%"}},ei={style:{direction:"ltr","font-size":"0.7em"}},ti={style:{"font-weight":"500",color:"#fff"}},ai={style:{display:"flex","justify-content":"center","align-items":"center"}},ii=["disabled"],si={class:"flipImg",src:et,alt:"",style:{width:"1em",display:"block"}},ri={__name:"Task",props:{activity:{type:Object,default:()=>({})}},setup(I){const{t:l,locale:pe}=He(),X=qe(),ge=Ve(),xe=Xe(),{lotteryRewards:Te,tickets:ve,luckyUsers:fe,userInfo:me,userIdentity:J,currentEarnings:ee,selectedPayee:_,taskList:le,lotteryRanking:ke,addLotteryRanking:oe,myLotteryRanking:_e,rankingRewards:te,rechargeRanking:Re,addRechargeRanking:Ie,myRechargeRanking:Ce,myRechargeRecode:he,RechargeRewards:we,resultShow:ae,result:K,drawRecordShow:ie,myRecords:je,receiveRecordShow:se,receiveRecord:Pe,taskListShow:j,earningsHelpShow:P,rechargeHelpShow:L}=Me(xe);Ee();const y=c=>Ye("Activities/SpringFestival/",c),G=I,W=U(0),re=c=>{const u={nickname:c.nickname,prizeName:c.prizeName};return c.prizeType=="GOLD"||c.prizeType=="MONEY"?l("barrage_won_prize",u):l("barrage_won_the_prize",u)},m=U(null);Lt(fe,async()=>{if(fe.value==[]||!m.value)return;await Nt();let c=0;const u=50;let x=null;const g=()=>{const H=m.value;if(!H)return;const Q=H.scrollWidth;Q===0?(c++,c<=u&&(x&&clearTimeout(x),x=setTimeout(g,500))):(W.value=Q/80,console.log("计算总时长（秒）:",W.value),x&&clearTimeout(x))};g()});const B=U(!1),t=U(0),f=U(!1),h=U(!1),C=U(!1),b=U(null),A=c=>{f.value=c=="transfer"?!f.value:!1,h.value=c=="exchange"?!h.value:!1,C.value=c=="withdraw"?!C.value:!1,b.value=null},ne=c=>{switch(c){case"result":q(),ae.value=!0;break;case"drawRecord":q(),ie.value=!0;break;case"receiveRecord":q(),se.value=!0;break;case"earningsHelp":q(),P.value=!0;break;case"rechargeHelp":q(),L.value=!0;break;case"taskList":q(),j.value=!0;break;default:q();break}},q=()=>{j.value&&(checkStatus.value=!0),ae.value=!1,ie.value=!1,se.value=!1,P.value=!1,L.value=!1,j.value=!1},w=c=>[{gridArea:"1/1"},{gridArea:"1/2"},{gridArea:"1/3"},{gridArea:"2/3"},{gridArea:"3/3"},{gridArea:"3/2"},{gridArea:"3/1"},{gridArea:"2/1"}][c],S=c=>(console.log("开始抽奖动画"),new Promise(u=>{t.value=-1;let x=200,g=0,H=0,Q=1,O=G.activity;const Je=()=>{t.value=(t.value+1)%O.prizeList.length,console.log("当前索引:",t.value),t.value===c&&x>200?setTimeout(()=>{u()},500):(t.value===O.prizeList.length-1&&g++,g<Q?x-=20:(t.value===O.prizeList.length-1&&H++,H>2&&(x+=20)),setTimeout(Je,x))};Je()})),p=async(c=1)=>{if(B.value)return;B.value=!0;let u=G.activity,x={activityId:"2007771533988204877",drawCount:c,needCoins:c>ve.value};try{if(c==1){const g=await qt(x);if(g.status&&g.body){K.value=[g.body];const H=g.body,Q=u.prizeList.findIndex(O=>O.prizeName==H?.prize.prizeName);console.log("index:",Q),Fe(),Le(),await S(Q)}}else{const g=await Yt(x);if(g.status&&g.body){K.value=g.body.results;let H=u.prizeList.findIndex(Q=>Q.prizeName==K.value[0]?.prize.prizeName);console.log("index:",H),Fe(),Le(),await S(H)}}ne("result"),B.value=!1}catch(g){ye(g.response.errorMsg),B.value=!1}},N=async()=>{const c=await Wt("04877");c.status&&c.body&&(je.value=c.body?.records||[],ne("drawRecord"))},F=()=>{j.value=!0},V=()=>{X.push({path:"/search-payee",query:{from:"/activities/spring-festival",activeAction:"TaskShow"}})},Ue=()=>{X.push({path:"/cash-out",query:{activityId:"2007771533988204877"}})},Se=U([{id:1,amount:10500,price:1},{id:2,amount:52500,price:5},{id:3,amount:105e3,price:10}]),Be=c=>{b.value?.id==c.id?b.value=null:b.value=c},De=async()=>{if(!b.value){ye(l("please_select_amount"));return}if(!_.value?.id){ye(l("please_select_payee"));return}const c={amount:b.value.price,acceptUserId:_.value?.id,activityId:"2007771533988204877"};try{(await Xt(c)).status?st(l("transfer_dollar_success",{price:b.value.price,name:_.value?.name})):ye(l("transfer_dollar_failed",{price:b.value.price})),b.value=null,Le()}catch(u){ye(u.errorMsg)}},be=async()=>{if(!b.value){ye(l("please_select_amount"));return}const c={amount:b.value.price,activityId:"2007771533988204877"};try{(await Jt(c)).status?st(l("exchange_success_coins",{amount:b.value.amount})):ye(l("exchange_failed_coins",{amount:b.value.amount})),b.value=null,Le()}catch(u){ye(u.errorMsg)}},Le=async()=>{const c=await ot("2007771533988204877");c.status&&c.body&&(ee.value=c.body?.availableAmount||0)},Fe=async()=>{try{const c=await lt("2007771533988204877");c.status&&(ve.value=c.body||0)}catch(c){ye(c.response.errorMsg)}};return Oe(async()=>{console.log("route.query.activeAction:",ge.query.activeAction),ge.query.activeAction=="TaskShow"&&A("transfer")}),Ge(()=>{}),(c,u)=>{const x=We("smart-img");return o(),d("div",la,[T(E,{style:{"min-height":"149.06vw"},imgUrl:y("lotteryBg"),contentStyle:"inset:30vw 6.5vw 13vw 6.5vw;flex-direction: column;justify-content: space-between;"},{default:z(()=>[s(e("img",{src:y("historyBt"),alt:"",style:{width:"8vw",position:"absolute",top:"-28vw",right:"-2vw"},onClick:N},null,8,oa),[[x]]),e("div",ca,[e("div",da,[e("div",{class:"scroll-wrapper",ref_key:"scrollWrapper",ref:m,style:Y({animationDuration:`${W.value}s`})},[(o(),d(ce,null,de(2,g=>e("div",ua,[(o(!0),d(ce,null,de(a(fe),(H,Q)=>(o(),d("div",{key:Q,style:{"align-self":"stretch",display:"flex","align-items":"center",gap:"2vw"}},[e("div",ga,r(re(H)),1)]))),128))])),64))],4)])]),e("div",va,[(o(!0),d(ce,null,de(I.activity.prizeList,(g,H)=>(o(),d("div",{style:Y([{display:"flex","flex-direction":"column","justify-content":"space-between","align-items":"center",position:"relative"},[w(H)]])},[e("div",ya,[e("img",{src:g.prizeImage||"",alt:g.prizeName||"",width:"50%",style:{display:"block"}},null,8,pa)]),e("div",fa,[e("div",ha,r(g.prizeName),1)]),s(e("img",{src:y("prizeActiveFrame"),alt:"",style:{display:"block",width:"112%",position:"absolute",transform:"translate(-50%, -50%)",top:"50%",left:"50%"}},null,8,wa),[[$,t.value===H],[x]])],4))),256))]),e("div",ma,[e("div",ka,r(c.$t("remaining_lottery_tickets"))+": "+r(a(ve)),1),e("div",{style:{"font-weight":"700"},onClick:F},r(c.$t("how_to_get_ticket")),1)]),e("div",_a,[e("div",{style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center",gap:"4vw","padding-left":"2vw"},onClick:u[0]||(u[0]=g=>p(1))},[u[7]||(u[7]=e("div",{style:{color:"#fff","font-size":"2em","font-weight":"600","text-shadow":"0 1px 0 #8b00d1"}}," 1 ",-1)),s(e("img",{src:y("ticket"),alt:"",style:{display:"block",width:"3em","object-fit":"cover"}},null,8,ba),[[x]])]),e("div",{style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center",gap:"2vw"},onClick:u[1]||(u[1]=g=>p(10))},[u[8]||(u[8]=e("div",{style:{color:"#fff","font-size":"2em","font-weight":"600","text-shadow":"0 1px 0 #8b00d1"}}," 10 ",-1)),s(e("img",{src:y("ticket"),alt:"",style:{display:"block",width:"3em","object-fit":"cover"}},null,8,xa),[[x]])])])]),_:1},8,["imgUrl"]),e("div",Ra,[T(E,{style:{"min-height":"41.67vw","z-index":"0"},imgUrl:y("earningInfoBg"),flip:!0,contentStyle:"inset:11vw 10vw 9vw 9vw;justify-content: space-between;gap: 10vw;"},{default:z(()=>[e("img",{src:a(me).userAvatar||"",alt:"",style:{position:"relative","z-index":"-1",width:"23vw","min-width":"0","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:u[2]||(u[2]=(...g)=>a(ue)&&a(ue)(...g))},null,40,Sa),e("div",$a,[s(e("img",{src:ut,alt:"",class:"ruleBt",onClick:u[3]||(u[3]=g=>ne("earningsHelp"))},null,512),[[x]]),e("div",Ta,r(a(me).userNickname||""),1),e("div",Ia,r(a(l)("current_earnings",{amount:a(ee)})),1)])]),_:1},8,["imgUrl"]),e("div",Ca,[e("div",{style:Y([{position:"absolute",inset:"0","z-index":"-1","border-radius":"12px"},{backgroundImage:`url(${y("earningsBg")})`,backgroundSize:"cover"}])},null,4),e("div",Ua,[a(J).anchor?(o(),d("div",{key:0,style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:u[4]||(u[4]=g=>A("transfer"))},[e("div",null,r(a(l)("transfer_to_recharge_agent")),1),s(e("img",{class:Z(["flipImg",{rotated:f.value}]),src:et,alt:"",style:{width:"1em",display:"block",transition:"all 0.2s ease"}},null,2),[[x]])])):D("",!0),T(at,{name:"drawer"},{default:z(()=>[f.value?(o(),d("div",ja,[a(_).id?(o(),d("div",Ba,[e("div",La,[e("div",Na,[e("img",{src:a(_).avatar||"",alt:a(_).name||"",style:{width:"100%","object-fit":"cover","border-radius":"50%"},onError:u[5]||(u[5]=(...g)=>a(ue)&&a(ue)(...g))},null,40,Aa)]),e("div",za,[e("div",Pa,r(a(_).name||""),1),e("div",Da,r(c.$t("user_id_prefix"))+" "+r(a(_).account||""),1)]),e("button",{style:{"border-radius":"20px",border:"1px solid #cfcfcf",background:"rgba(240, 240, 240, 0.3)","box-shadow":`0 -5px 4px 0 rgba(255, 255, 255, 0.25) inset,
                        0 4px 4px 0 rgba(255, 255, 255, 0.25) inset,
                        -42px 103px 31px 0 rgba(145, 145, 145, 0),
                        -27px 66px 29px 0 rgba(145, 145, 145, 0.01),
                        -15px 37px 24px 0 rgba(145, 145, 145, 0.03),
                        -7px 17px 18px 0 rgba(145, 145, 145, 0.04),
                        -2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(10px)","font-weight":"500",padding:"2px 8px"},onClick:V},r(a(l)("change")),1)]),e("div",Fa,[a(_).isHost?s((o(),d("img",Ha,null,512)),[[x]]):D("",!0),a(_).isAgency?s((o(),d("img",Ma,null,512)),[[x]]):D("",!0),a(_).hasSalary?s((o(),d("img",Ea,null,512)),[[x]]):D("",!0)])])):(o(),d("div",Oa,[e("div",{style:{"font-weight":"590",padding:"16px 24px","border-radius":"8px",border:"0.5px solid #cfcfcf",background:"rgba(240, 240, 240, 0.3)","box-shadow":`-42px 103px 31px 0 rgba(145, 145, 145, 0),
                      -27px 66px 29px 0 rgba(145, 145, 145, 0.01),
                      -15px 37px 24px 0 rgba(145, 145, 145, 0.03),
                      -7px 17px 18px 0 rgba(145, 145, 145, 0.04),
                      -2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(7.5px)"},onClick:V},r(a(l)("select")),1)])),e("div",Ga,[(o(!0),d(ce,null,de(Se.value,g=>(o(),d("div",{key:g.id,onClick:H=>Be(g),class:Z(["coin-item",{selected:b.value?.id===g.id}])},[s(e("img",Wa,null,512),[[x]]),e("div",qa,"$"+r(g.price),1)],10,Va))),128))]),e("div",Ya,[e("div",{style:{width:"70%",padding:"12px",display:"flex","justify-content":"center","align-items":"center","border-radius":"8px",border:"0.5px solid #cfcfcf",background:"rgba(240, 240, 240, 0.3)","box-shadow":`-42px 103px 31px 0 rgba(145, 145, 145, 0),
                      -27px 66px 29px 0 rgba(145, 145, 145, 0.01),
                      -15px 37px 24px 0 rgba(145, 145, 145, 0.03),
                      -7px 17px 18px 0 rgba(145, 145, 145, 0.04),
                      -2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(7.5px)","font-weight":"590"},onClick:De,disabled:!b.value||!a(_).value?.id},r(a(l)("transfer")),9,Xa)])])):D("",!0)]),_:1}),e("div",{style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:u[6]||(u[6]=g=>A("exchange"))},[e("div",null,r(a(l)("exchange_gold_coins")),1),s(e("img",{class:Z(["flipImg",{rotated:h.value}]),src:et,alt:"",style:{width:"1em",display:"block",transition:"all 0.2s ease"}},null,2),[[x]])]),T(at,{name:"drawer"},{default:z(()=>[h.value?(o(),d("div",Ja,[e("div",Ka,[(o(!0),d(ce,null,de(Se.value,g=>(o(),d("div",{key:g.id,onClick:H=>Be(g),class:Z(["coin-item",{selected:b.value?.id==g.id}])},[s(e("img",Za,null,512),[[x]]),e("div",ei,r(g.amount)+" coins x1",1),e("div",ti,"$"+r(g.price),1)],10,Qa))),128))]),e("div",ai,[e("div",{style:{width:"70%",padding:"12px",display:"flex","justify-content":"center","align-items":"center","border-radius":"8px",border:"0.5px solid #cfcfcf",background:"rgba(240, 240, 240, 0.3)","box-shadow":`-42px 103px 31px 0 rgba(145, 145, 145, 0),
                      -27px 66px 29px 0 rgba(145, 145, 145, 0.01),
                      -15px 37px 24px 0 rgba(145, 145, 145, 0.03),
                      -7px 17px 18px 0 rgba(145, 145, 145, 0.04),
                      -2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(7.5px)","font-weight":"590"},disabled:!b.value||!a(_).value?.id,onClick:be},r(a(l)("exchange")),9,ii)])])):D("",!0)]),_:1}),a(ee)>=10?(o(),d("div",{key:1,style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:Ue},[e("div",null,r(a(l)("go_to_withdraw")),1),s(e("img",si,null,512),[[x]])])):D("",!0)])])])])}}},ni=ze(ri,[["__scopeId","data-v-8db6c644"]]),li={style:{width:"100%"}},oi=["src"],ci=["src"],di={key:0,style:{display:"flex","justify-content":"center","align-items":"center"}},ui={__name:"topUser",props:{ranking:{type:String,default:""},avatarUrl:{type:String,default:""},BorderImgUrl:{type:String,required:!0},name:{type:String,default:""},rankingType:{type:String,default:""},distributionValue:{type:String,default:""}},setup(I){const l=I,pe=M(()=>l.ranking==="1"),X=M(()=>{switch(l.ranking){case"1":return"85%";case"2":return"78%";case"3":return"78%";default:return"78%"}}),ge=M(()=>{switch(l.ranking){case"1":return"35%";case"2":return"40%";case"3":return"38%";default:return"38%"}}),xe=M(()=>{switch(l.ranking){case"1":return"27%";case"2":return"29%";case"3":return"29%";default:return"29%"}}),Te=M(()=>{switch(l.ranking){case"1":return"30%";case"2":return"40%";case"3":return"37%";default:return"40%"}}),ve=M(()=>{switch(l.ranking){case"1":return"25%";case"2":return"38%";case"3":return"38%";default:return"38%"}}),fe=M(()=>{switch(l.ranking){case"1":return"23%";case"2":return"35%";case"3":return"32%";default:return"40%"}}),me=M(()=>{switch(l.ranking){case"1":return"26%";case"2":return"38%";case"3":return"38%";default:return"38%"}}),J=M(()=>{switch(l.ranking){case"1":return"1em";case"2":return"0.9em";case"3":return"0.9em";default:return"0.9em"}});return(ee,_)=>{const le=We("smart-img");return o(),d("div",li,[e("div",{style:Y([{position:"relative"},{minHeight:I.ranking=="1"?"67vw":"40.45vw"}])},[s(e("img",{src:I.BorderImgUrl,alt:"",width:"100%",style:{display:"block",position:"relative","z-index":"2"}},null,8,oi),[[le]]),e("div",{style:Y([{position:"absolute",top:"0",left:"0",right:"0","z-index":"1",display:"flex","justify-content":"center","align-items":"center"},{height:X.value}])},[e("div",{style:Y({width:ge.value})},[e("img",{src:I.avatarUrl||"",alt:"",width:"100%",style:{display:"block","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:_[0]||(_[0]=(...ke)=>a(ue)&&a(ue)(...ke))},null,40,ci)],4)],4),e("div",{style:Y([{position:"absolute",bottom:"0",left:"0",right:"0","z-index":"3",display:"flex","flex-direction":"column","align-items":"center",gap:"2px"},{height:xe.value}])},[e("div",{style:Y([{display:"flex","justify-content":"center","align-items":"center"},{width:Te.value,height:ve.value}])},[e("div",{style:{direction:"ltr","font-weight":"700"},class:Z(["showText",pe.value?"top1Text":"text"])},r(I.name),3)],4),e("div",{style:Y([{padding:"1px 2px",display:"flex","justify-content":"center","align-items":"center"},{width:fe.value,height:me.value}])},[I.rankingType=="lottery"?(o(),d("div",di,[s(e("img",{src:Ke,alt:"",style:Y([{display:"block"},{width:J.value}])},null,4),[[le]]),e("div",{style:Y([{"font-weight":"590"},{color:I.ranking=="1"?"#FFE601":"#FFF"}]),class:Z(["showText",pe.value?"top1Text":"text"])},r(I.distributionValue),7)])):D("",!0),I.rankingType=="recharge"?(o(),d("div",{key:1,style:Y([{"font-weight":"590"},{color:I.ranking=="1"?"#FFE601":"#FFF"}]),class:Z(["showText",pe.value?"top1Text":"text"])}," $"+r(I.distributionValue),7)):D("",!0)],4)],4)],4)])}}},Ze=ze(ui,[["__scopeId","data-v-82c63d84"]]),gi={style:{}},vi={style:{display:"flex","justify-content":"center"}},yi={style:{position:"relative","z-index":"3",display:"flex","justify-content":"space-around","pointer-events":"none"}},pi={key:0,style:{position:"relative","z-index":"2",display:"flex","flex-direction":"column",gap:"2vw"}},fi={style:{color:"#ffe601","font-weight":"700"}},hi={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"10vw"}},wi=["src"],mi={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},ki={style:{display:"flex","min-width":"0"}},_i={style:{color:"#fff","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",direction:"ltr"},class:"UserNickname"},bi={style:{color:"#fff","font-weight":"590"},class:"UserNickname"},xi={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},Ri={key:0,style:{display:"flex","justify-content":"center","align-items":"center"}},Si={src:Ke,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},$i={style:{color:"#ffe601","font-weight":"700"},class:"Textlittle"},Ti={key:1,style:{color:"#fff","font-weight":"700"},class:"UserNickname"},Ii={__name:"Ranking",props:{rankingType:{type:String,default:""}},setup(I){const{t:l,locale:pe}=He();qe(),Ve();const X=Xe(),{lotteryRewards:ge,tickets:xe,userInfo:Te,userIdentity:ve,currentEarnings:fe,taskList:me,lotteryPageNo:J,lotteryRanking:ee,addLotteryRanking:_,myLotteryRanking:le,rankingRewards:ke,rechargePageNo:oe,rechargeRanking:_e,addRechargeRanking:te,myRechargeRanking:Re,myRechargeRecode:Ie,RechargeRewards:Ce,resultShow:he,result:we,drawRecordShow:ae,myRecords:K,receiveRecordShow:ie,receiveRecord:je,earningsHelpShow:se,rechargeHelpShow:Pe}=Me(X);Ee();const j=t=>Ye("Activities/SpringFestival/",t),P=I,L=M(()=>P.rankingType=="lottery"?[...ee.value,..._.value]:[..._e.value,...te.value]),y=M(()=>{let t=[...L.value];if(L.value.length<3){let f=Array.from({length:3-L.value.length},()=>({userAvatar:"",userName:"",amount:""}));t.push(...f)}return t}),G=M(()=>L.value.filter((t,f)=>f>=3)),W=U(null),re=async()=>{J.value==0&&(J.value=1),oe.value==0&&(oe.value=1);let t={activityId:P.rankingType=="lottery"?"2007771533988204877":"2007771533988204888",pageNo:P.rankingType=="lottery"?J.value:oe.value,pageSize:20};const f=await ct(t);f.status&&f.body?(P.rankingType=="lottery"?le.value=f.body?.currentUser:P.rankingType=="recharge"&&(Re.value=f.body?.currentUser),f.body.topList.length>0&&(f.body.topList.length==20?P.rankingType=="lottery"?(_.value=[],ee.value.push(...f.body?.topList),J.value++):P.rankingType=="recharge"&&(te.value=[],_e.value.push(...f.body?.topList),oe.value++):P.rankingType=="lottery"?_.value=f.body?.topList:P.rankingType=="recharge"&&(te.value=f.body?.topList))):P.rankingType=="lottery"?(le.value={},ee.value=[],_.value=[],J.value=1):P.rankingType=="recharge"&&(Re.value={},_e.value=[],te.value=[],oe.value=1)},m=At(()=>{re()},1e3),B=new IntersectionObserver(t=>{t.forEach(f=>{f.intersectionRatio>0&&L.value.length!=0&&(console.log("触发RankingLoadmore加载"),m())})});return Oe(()=>{W.value&&(console.log("监控加载模块"),B.observe(W.value))}),Ge(()=>{}),(t,f)=>{const h=We("smart-img");return o(),d("div",null,[e("div",gi,[e("div",vi,[T(Ze,{ranking:"1",BorderImgUrl:j("top1Bg"),avatarUrl:y.value[0].userAvatar,name:y.value[0].userName,rankingType:I.rankingType,distributionValue:y.value[0].amount,style:{width:"70%"},onClick:f[0]||(f[0]=C=>a(Ne)(y.value[0].userId))},null,8,["BorderImgUrl","avatarUrl","name","rankingType","distributionValue"])]),e("div",yi,[e("div",{style:{"pointer-events":"auto",width:"42%"},onClick:f[1]||(f[1]=$e(C=>a(Ne)(y.value[1].userId),["stop"]))},[T(Ze,{ranking:"2",BorderImgUrl:j("top2Bg"),avatarUrl:y.value[1].userAvatar,name:y.value[1].userName,rankingType:I.rankingType,distributionValue:y.value[1].amount,style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name","rankingType","distributionValue"])]),e("div",{style:{"pointer-events":"auto",width:"42%"},onClick:f[2]||(f[2]=$e(C=>a(Ne)(y.value[2].userId),["stop"]))},[T(Ze,{ranking:"3",BorderImgUrl:j("top3Bg"),avatarUrl:y.value[2].userAvatar,name:y.value[2].userName,rankingType:I.rankingType,distributionValue:y.value[2].amount,style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name","rankingType","distributionValue"])])])]),G.value.length>0?(o(),d("div",pi,[(o(!0),d(ce,null,de(G.value,(C,b)=>(o(),d("div",{key:C.userId,style:{padding:"0 2vw",display:"flex","align-items":"center",gap:"2vw"}},[T(E,{style:{"min-height":"9.11vw",width:"10vw"},imgUrl:j("rankingNumBg"),contentStyle:"bottom: 0.5vw;",onClick:A=>a(Ne)(C.userId)},{default:z(()=>[e("div",fi,r(C?.rank),1)]),_:2},1032,["imgUrl","onClick"]),T(E,{style:{"min-height":"36vw"},imgUrl:j("rankingItemBg"),contentStyle:"padding: 9.5vw 4vw 7vw 5vw;gap: 1vw",flip:!0,lazy:!0,immediate:b<2,onClick:A=>a(Ne)(C.userId)},{default:z(()=>[e("div",hi,[e("img",{src:C?.userAvatar||"",alt:"",style:{display:"block",width:"19vw","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover","z-index":"-1"},onError:f[3]||(f[3]=(...A)=>a(ue)&&a(ue)(...A))},null,40,wi),e("div",mi,[e("div",ki,[e("div",_i,r(C?.userName),1)]),e("div",bi,r(t.$t("user_id_prefix"))+" "+r(C?.specialAccount||C?.account),1)])]),e("div",xi,[I.rankingType=="lottery"?(o(),d("div",Ri,[s(e("img",Si,null,512),[[h]]),e("div",$i,r(C?.amount||0),1)])):D("",!0),I.rankingType=="recharge"?(o(),d("div",Ti," $"+r(C?.amount),1)):D("",!0)])]),_:2},1032,["imgUrl","immediate","onClick"])]))),128))])):D("",!0),e("div",{ref_key:"RankingLoadmore",ref:W},null,512)])}}},rt=ze(Ii,[["__scopeId","data-v-90b94cc5"]]),Ci={style:{display:"flex","flex-direction":"column",gap:"2vw"}},Ui={style:{width:"80%",height:"75%",padding:"6vw 0 2vw","min-width":"0","aspect-ratio":"1/1",display:"flex","justify-content":"center","align-items":"center"}},ji=["src","onError"],Bi={style:{width:"80%",height:"5.5vw",display:"flex","justify-content":"center","align-items":"center"}},Li={style:{"min-width":"0","font-size":"1em","font-weight":"590",color:"#fff"}},Ni={__name:"RankingReward",setup(I){const{t:l,locale:pe}=He();qe(),Ve();const X=Xe(),{lotteryRewards:ge,tickets:xe,userInfo:Te,userIdentity:ve,currentEarnings:fe,taskList:me,lotteryRanking:J,addLotteryRanking:ee,myLotteryRanking:_,rankingRewards:le,rechargeRanking:ke,addRechargeRanking:oe,myRechargeRanking:_e,myRechargeRecode:te,RechargeRewards:Re,resultShow:Ie,result:Ce,drawRecordShow:he,myRecords:we,receiveRecordShow:ae,receiveRecord:K,earningsHelpShow:ie,rechargeHelpShow:je}=Me(X),se=Ee(),Pe=M(()=>se.selectedLang?.type||"en"),j=L=>Ye("Activities/SpringFestival/",L),P=L=>{let y="";if(Pe.value=="ar"&&(y="direction: ltr;"),L==0)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 14vw;${y}`;if(L==1||L==2)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 44vw;${y}`;if(L==3)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 14vw;${y}`};return Oe(()=>{}),Ge(()=>{}),(L,y)=>(o(),d("div",Ci,[(o(!0),d(ce,null,de(a(le),(G,W)=>(o(),Ae(E,{style:Y([{minHeight:W<=2?"128vw":"98.39vw"},{}]),imgUrl:j(`rankingRewardTop${W+1}Bg`),contentStyle:P(W)},{default:z(()=>[(o(!0),d(ce,null,de(G.propsGroup.activityRewardProps,(re,m)=>(o(),d("div",{key:m,style:{width:"100%","align-self":"stretch",display:"flex","flex-direction":"column","align-items":"center"}},[e("div",Ui,[e("img",{src:re.cover||"",alt:"",style:{display:"block","min-width":"0",width:"80%",height:"100%","object-fit":"contain"},onError:B=>a(nt)(B,re.type)},null,40,ji)]),e("div",Bi,[e("div",Li,r(a(gt)(re.type,re)),1)])]))),128))]),_:2},1032,["style","imgUrl","contentStyle"]))),256))]))}},Ai=ze(Ni,[["__scopeId","data-v-d0ac99ab"]]),zi={style:{display:"flex","flex-direction":"column",gap:"2vw"}},Pi={style:{padding:"0 4vw"}},Di=["src"],Fi={style:{position:"relative",flex:"1","min-width":"0",height:"80%",display:"flex","flex-direction":"column","justify-content":"center",gap:"1vw"}},Hi={style:{"max-width":"70%","min-width":"0","font-weight":"500",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},Mi={style:{display:"flex","justify-content":"space-between","align-items":"center","white-space":"nowrap"}},Ei=["src"],Oi=["src"],Gi={style:{width:"80%",height:"75%",padding:"6vw 0 2vw","min-width":"0","aspect-ratio":"1/1",display:"flex","justify-content":"center","align-items":"center"}},Vi=["src","onError"],Wi={style:{width:"80%",height:"5.5vw",display:"flex","justify-content":"center","align-items":"center"}},qi={style:{"min-width":"0","font-size":"1em","font-weight":"590",color:"#fff"}},Yi={style:{position:"absolute",bottom:"7vw",left:"0",right:"0",width:"100%",display:"flex","justify-content":"center","align-items":"center"}},Xi=["src"],Ji=["src","onClick"],Ki=["src"],Qi={__name:"RechargeReward",setup(I){const{t:l,locale:pe}=He();qe(),Ve();const X=Xe(),{lotteryRewards:ge,tickets:xe,luckyUsers:Te,userInfo:ve,userIdentity:fe,currentEarnings:me,selectedPayee:J,taskList:ee,lotteryPageNo:_,lotteryRanking:le,addLotteryRanking:ke,myLotteryRanking:oe,rankingRewards:_e,rechargePageNo:te,rechargeRanking:Re,addRechargeRanking:Ie,myRechargeRanking:Ce,myRechargeRecode:he,RechargeRewards:we,resultShow:ae,result:K,drawRecordShow:ie,myRecords:je,receiveRecordShow:se,receiveRecord:Pe,taskListShow:j,checkDate:P,checkStatus:L,earningsHelpShow:y,rechargeHelpShow:G}=Me(X),W=Ee(),re=M(()=>W.selectedLang?.type||"en"),m=w=>Ye("Activities/SpringFestival/",w),B=w=>re.value==="ar"?`${w}_ar`:w,t=U(!0),f=w=>t.value?String(w||"0").replace(/\d/g,"*"):w||"0",h=U([m(B("rechargeReward100")),m(B("rechargeReward500")),m(B("rechargeReward1000")),m(B("rechargeReward3000")),m(B("rechargeReward5000")),m(B("rechargeReward10000"))]),C=w=>{let S="";if(re.value=="ar"&&(S="direction: ltr;"),w==0)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 22vw;${S}`;if(w==1||w==2)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 25.5vw;${S}`;if(w==3||w==4||w==5)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 21.5vw;${S}`},b=w=>{switch(w){case"result":A(),ae.value=!0;break;case"drawRecord":A(),ie.value=!0;break;case"receiveRecord":A(),se.value=!0;break;case"earningsHelp":A(),y.value=!0;break;case"rechargeHelp":A(),G.value=!0;break;case"taskList":A(),j.value=!0;break;default:A();break}},A=()=>{j.value&&(L.value=!0),ae.value=!1,ie.value=!1,se.value=!1,y.value=!1,G.value=!1,j.value=!1},ne=async w=>{let S={activityType:w.activityType,activityId:"2007771533988204888",ruleId:w.ruleId};try{const p=await Kt(S);p.status&&p.body&&q()}catch(p){ye(p.errorMsg)}},q=async()=>{const S=await dt({activityType:"CONSUMPTION_ACTIVITY",activityId:"2007771533988204888"});S.status&&S.body?(we.value=S.body.map(p=>{let N=JSON.parse(p.jsonData),F=[];return p.sort==1?F=[]:p.sort==2?F=[]:p.sort==3?F=[]:p.sort==4?F=[{type:"GIFT",cover:m("reward_gift"),content:1}]:p.sort==5?F=[{type:"GIFT",cover:m("reward_gift"),content:1}]:p.sort==6&&(F=[{type:"GIFT",cover:m("reward_gift"),content:1},{type:"PROPS",detailType:"AVATAR_FRAME",cover:m("reward_frame"),quantity:365},{type:"PROPS",detailType:"RIDE",cover:m("reward_ride"),quantity:60}]),p.rewardProps.push(...F),p={...p,...N},p}),console.log("RechargeRewards.value:",we.value)):we.value=[]};return Oe(()=>{}),Ge(()=>{}),(w,S)=>{const p=We("smart-img");return o(),d("div",zi,[e("div",Pi,[T(E,{style:{"min-height":"41.66vw","z-index":"0"},imgUrl:m("earningInfoBg"),flip:!0,contentStyle:"inset:11vw 10vw 9vw 9vw;justify-content: space-between;gap: 10vw;"},{default:z(()=>[e("img",{src:a(he)?.userAvatar||"",alt:"",style:{position:"relative","z-index":"-1",width:"23vw","min-width":"0","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:S[0]||(S[0]=(...N)=>a(ue)&&a(ue)(...N))},null,40,Di),e("div",Fi,[s(e("img",{src:ut,alt:"",class:"ruleBt",onClick:S[1]||(S[1]=N=>b("rechargeHelp"))},null,512),[[p]]),e("div",Hi,r(a(he)?.userName||""),1),e("div",null,r(w.$t("user_id_prefix"))+" "+r(a(he)?.account),1),e("div",Mi,[e("div",null,r(a(l)("Accumulated recharge"))+":$"+r(f(a(he)?.totalAmount)),1),s(e("img",{src:m("rechargeNumHidden"),alt:"",style:{width:"5vw",display:"block","object-fit":"cover"},onClick:S[2]||(S[2]=N=>t.value=!t.value)},null,8,Ei),[[$,t.value],[p]]),s(e("img",{src:m("rechargeNumShow"),alt:"",style:{width:"5vw",display:"block","object-fit":"cover"},onClick:S[3]||(S[3]=N=>t.value=!t.value)},null,8,Oi),[[$,!t.value],[p]])])])]),_:1},8,["imgUrl"])]),(o(!0),d(ce,null,de(a(we),(N,F)=>(o(),Ae(E,{style:Y([{minHeight:F<=0?"106vw":F<=2?"109.6vw":"135.73vw"},{}]),imgUrl:h.value[F],contentStyle:C(F)},{default:z(()=>[(o(!0),d(ce,null,de(N.rewardProps,(V,Ue)=>(o(),d("div",{key:Ue,style:{width:"100%","align-self":"stretch",display:"flex","flex-direction":"column","align-items":"center"}},[e("div",Gi,[e("img",{src:V.cover||"",alt:"",style:{display:"block","min-width":"0",width:"80%",height:"100%","object-fit":"contain"},onError:Se=>a(nt)(Se,V.type)},null,40,Vi)]),e("div",Wi,[e("div",qi,r(a(gt)(V.type,V)),1)])]))),128)),e("div",Yi,[N.claimStatus==-1?s((o(),d("img",{key:0,class:"grayscale-container",src:m(B("receiveBt")),alt:"",style:{width:"40vw",display:"block","object-fit":"cover"}},null,8,Xi)),[[p]]):D("",!0),N.claimStatus==0?s((o(),d("img",{key:1,src:m(B("receiveBt")),alt:"",style:{width:"40vw",display:"block","object-fit":"cover"},onClick:V=>ne(N)},null,8,Ji)),[[p]]):D("",!0),N.claimStatus==1?s((o(),d("img",{key:2,src:m(B("receivedBt")),alt:"",style:{width:"40vw",display:"block","object-fit":"cover"}},null,8,Ki)),[[p]]):D("",!0)])]),_:2},1032,["style","imgUrl","contentStyle"]))),256))])}}},Zi=ze(Qi,[["__scopeId","data-v-2079c7ac"]]),es={class:"fullPage"},ts={class:"loading-container"},as={style:{width:"100vw","min-height":"100vh",overflow:"hidden",position:"relative"}},is={style:{position:"relative","z-index":"1",display:"flex","flex-direction":"column","align-items":"center",gap:"4vw"}},ss=["src"],rs={class:"timeBox"},ns={class:"timeBoxItem"},ls={class:"timeText",style:{}},os={class:"timeBoxItem"},cs={class:"timeText",style:{}},ds={class:"timeBoxItem"},us={class:"timeText",style:{}},gs={class:"timeBoxItem"},vs={class:"timeText",style:{}},ys={style:{width:"90vw","min-height":"22.38vw",display:"flex","justify-content":"center","align-items":"center",gap:"10vw"}},ps=["src"],fs=["src"],hs={style:{display:"flex","flex-direction":"column","align-items":"center",gap:"4vw"}},ws={style:{width:"100vw","min-height":"12.65vw",display:"flex","justify-content":"space-around","align-items":"center"}},ms=["src"],ks=["src"],_s=["src"],bs={style:{display:"flex","flex-direction":"column","align-items":"center",gap:"4vw"}},xs={style:{width:"100vw","min-height":"12.65vw",display:"flex","justify-content":"space-around","align-items":"center"}},Rs=["src"],Ss=["src"],$s={style:{height:"35vw"}},Ts={style:{height:"8vw"}},Is={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"8px"}},Cs={style:{color:"#ffe601","font-weight":"700"}},Us=["src"],js={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},Bs={style:{display:"flex","min-width":"0"}},Ls={style:{color:"#fff","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",direction:"ltr"},class:"UserNickname"},Ns={style:{color:"#fff","font-weight":"590"},class:"Textlittle"},As={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},zs={key:0,style:{display:"flex","justify-content":"center","align-items":"center"}},Ps={src:Ke,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},Ds={style:{color:"#ffe601","font-weight":"700"},class:"Textlittle"},Fs={key:1,style:{color:"#fff","font-weight":"700"}},Hs={style:{width:"100%",flex:"1","min-height":"0",display:"flex","justify-content":"space-between","align-items":"center"}},Ms={style:{width:"8vw","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Es=["src"],Os=["src"],Gs={style:{width:"8vw","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Vs=["src"],Ws={style:{width:"100%",height:"6vw","text-align":"center","font-size":"0.9em","font-weight":"590",position:"relative",background:"linear-gradient(0deg, #f3b700 0%, #ffeec6 100%)","background-clip":"text","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"}},qs={key:0,class:"resultNum"},Ys={style:{width:"100%",height:"100%","overflow-y":"auto",display:"flex","flex-direction":"column",gap:"8px"},class:"scrollY"},Xs={style:{"border-radius":"12px",border:"2px solid #fff",background:`linear-gradient(
                      264deg,
                      rgba(255, 220, 220, 0.4) 10.17%,
                      rgba(255, 151, 151, 0.4) 60.22%,
                      rgba(255, 220, 220, 0.4) 103.12%
                    )`,"box-shadow":`0 36.858px 13.981px 0 rgba(255, 106, 106, 0.02),
                      0 20.335px 12.71px 0 rgba(255, 106, 106, 0.08),
                      0 8.897px 8.897px 0 rgba(255, 106, 106, 0.13),
                      0 2.542px 5.084px 0 rgba(255, 106, 106, 0.15)`,"backdrop-filter":"blur(4.5px)",display:"flex",padding:"12px","justify-content":"space-between","align-items":"center"}},Js={style:{display:"flex","align-items":"center",gap:"4px"}},Ks=["src"],Qs={style:{"font-weight":"590","font-size":"0.9em",direction:"ltr","text-align":"left"}},Zs={style:{"font-weight":"510","font-size":"0.8em",direction:"ltr","text-align":"left"}},er={style:{width:"15%"}},tr=["src"],ar=["src"],ir={style:{width:"60%"}},sr={style:{color:"#fff","font-weight":"590","font-size":"0.75em"}},rr={style:{display:"flex","align-items":"center",gap:"1vw"}},nr={style:{color:"#fff","font-weight":"590","font-size":"0.9em"}},lr=["src","alt"],or={style:{width:"20%"}},cr={style:{"font-size":"1em","font-weight":"600"}},dr={style:{"font-size":"1em","font-weight":"600"}},ur={style:{"font-size":"0.9em","font-weight":"600"}},gr=["src"],vr=["src"],yr={__name:"index",setup(I){const{t:l}=He();qe();const pe=Ve(),X=Xe(),{lotteryRewards:ge,tickets:xe,luckyUsers:Te,userInfo:ve,userIdentity:fe,currentEarnings:me,selectedPayee:J,taskList:ee,lotteryPageNo:_,lotteryRanking:le,addLotteryRanking:ke,myLotteryRanking:oe,rankingRewards:_e,rechargePageNo:te,rechargeRanking:Re,addRechargeRanking:Ie,myRechargeRanking:Ce,myRechargeRecode:he,RechargeRewards:we,resultShow:ae,result:K,drawRecordShow:ie,myRecords:je,receiveRecordShow:se,receiveRecord:Pe,taskListShow:j,checkDate:P,checkStatus:L,earningsHelpShow:y,rechargeHelpShow:G}=Me(X),W=Ee(),re=M(()=>W.selectedLang?.type||"en"),m=U(!0),B=U(null),t=i=>Ye("Activities/SpringFestival/",i),f=i=>Mt("Activities/SpringFestival/",i),h=i=>re.value==="ar"?`${i}_ar`:i,C=U(!0),b=U(!1),A=U(!0),ne=U(!1),q=U(!1),w=U(!0),S=U(!1),p=M(()=>C.value&&ne.value||b.value&&w.value),N=M(()=>{if(p.value)return C.value?oe.value:Ce.value}),F=i=>{switch(i){case"gamePlay":C.value=!0,b.value=!1;break;case"recharge":C.value=!1,b.value=!0;break}},V=i=>{switch(i){case"task":A.value=!0,ne.value=!1,q.value=!1;break;case"lotteryRanking":A.value=!1,ne.value=!0,q.value=!1;break;case"lotteryReward":A.value=!1,ne.value=!1,q.value=!0;break;case"rechargeRanking":w.value=!0,S.value=!1;break;case"rechargeReward":w.value=!1,S.value=!0;break}},Ue=U(0),Se=U(0),Be=U(0),De=U(0);let be=null;const Le=()=>new Date(2026,2,14,5,0,0).getTime(),Fe=()=>{const i=Date.now();let v=Le()-i;if(v<=0){Ue.value=0,Se.value="00",Be.value="00",De.value="00",be&&(clearInterval(be),be=null);return}const R=Math.floor(v/1e3);Ue.value=Math.floor(R/(24*3600)),Se.value=String(Math.floor(R%(24*3600)/3600)).padStart(2,"0"),Be.value=String(Math.floor(R%3600/60)).padStart(2,"0"),De.value=String(Math.floor(R%60)).padStart(2,"0")},c=()=>{Fe(),be=setInterval(Fe,1e3)},u=U(0),x=M(()=>ae.value||ie.value||se.value||j.value||y.value||G.value),g=M(()=>ae.value||ie.value||se.value||j.value||y.value||G.value),H=()=>{const i=new Date,n=i.getMonth()+"-"+i.getDate();n!=P.value?(P.value=n,L.value=!1,Q("taskList")):L.value||Q("taskList")},Q=i=>{switch(i){case"result":O(),ae.value=!0;break;case"drawRecord":O(),ie.value=!0;break;case"receiveRecord":O(),se.value=!0;break;case"earningsHelp":O(),y.value=!0;break;case"rechargeHelp":O(),G.value=!0;break;case"taskList":O(),j.value=!0;break;default:O();break}},O=()=>{j.value&&(L.value=!0),ae.value=!1,ie.value=!1,se.value=!1,y.value=!1,G.value=!1,j.value=!1},Je=i=>{if(i.targetType=="SEND_GIFT"){if(i.taskCode=="SPINS_SEND_GIFT")return l("lucky_and_magical_gifts_win_gold_coins")}else if(i.targetType=="WIN_COINS"&&i.taskCode=="SPINS_WIN_100000")return l("win_coins_in_the_game")},vt=async()=>{const i=await Qt("04877");i.status&&i.body?ge.value=i.body:ge.value={}},yt=async()=>{try{const i=await lt("2007771533988204877");i.status&&(xe.value=i.body||0)}catch(i){ye(i.response.errorMsg)}},pt=async()=>{const i=await Zt("2007771533988204877");i.status&&i.body&&(Te.value=i.body)},ft=async()=>{ee.value=[{taskId:1,taskCode:"SPINS_WIN_100000",taskName:"Win 100000 coins in the game",taskType:4,taskDesc:"游戏内获得100000金币",targetType:"WIN_COINS",targetValue:1e5,targetUnit:"COINS",currentValue:0,progressRate:0,taskStatus:0,rewardType:1,rewardValue:1},{taskId:2,taskCode:"SPINS_SEND_GIFT",taskName:"Lucky and magical gifts win 100000 gold coins",taskType:2,taskDesc:"送出幸运礼物或魔法礼物赢取100000金币",targetType:"SEND_GIFT",targetValue:1e5,targetUnit:"COINS",currentValue:0,progressRate:0,taskStatus:0,rewardType:1,rewardValue:1}]},ht=async()=>{if(Object.keys(ve.value).length===0){const n=await Pt();n.status&&n.body&&(Dt(n.body,null),ve.value=n.body)}const i=await Ft();i.status&&i.body&&(fe.value=i.body)},wt=async()=>{const i=await ot("2007771533988204877");i.status&&i.body&&(me.value=i.body?.availableAmount||0)},mt=()=>{const i=Vt();i&&Object.assign(J.value,i)},kt=()=>{Object.assign(J.value,{id:null,account:"",name:"",avatar:"",type:"",isHost:!1,isAgency:!1,hasSalary:!1}),Gt()},tt=async(i="lottery")=>{_.value==0&&(_.value=1),te.value==0&&(te.value=1);let n={activityId:i=="lottery"?"2007771533988204877":"2007771533988204888",pageNo:i=="lottery"?_.value:te.value,pageSize:20};const v=await ct(n);v.status&&v.body?(i=="lottery"?oe.value=v.body?.currentUser:i=="recharge"&&(Ce.value=v.body?.currentUser),v.body.topList.length>0&&(v.body.topList.length==20?i=="lottery"?(ke.value=[],le.value.push(...v.body?.topList),_.value++):i=="recharge"&&(Ie.value=[],Re.value.push(...v.body?.topList),te.value++):i=="lottery"?ke.value=v.body?.topList:i=="recharge"&&(Ie.value=v.body?.topList))):i=="lottery"?(oe.value={},le.value=[],ke.value=[],_.value=1):i=="recharge"&&(Ce.value={},Re.value=[],Ie.value=[],te.value=1)},_t=async()=>{const n=await ea({sysOrigin:"ATYOU",activityType:"LUCKY_GIFT_REWARD"});n.status&&n.body?_e.value=n.body.map(v=>{let R=[];return v.rule.sort==1?R=[{type:"DOLLARS",cover:"",content:100},{type:"GIFT",cover:t("IDReward"),content:"ID: XXXX"}]:v.rule.sort==2?R=[{type:"DOLLARS",cover:"",content:50}]:v.rule.sort==3?R=[{type:"DOLLARS",cover:"",content:30}]:v.rule.sort==4&&(R=[{type:"DOLLARS",cover:"",content:10}]),v.propsGroup.activityRewardProps.push(...R),v={...v},v}):_e.value=[]},bt=async()=>{const n=await dt({activityType:"CONSUMPTION_ACTIVITY",activityId:"2007771533988204888"});n.status&&n.body?we.value=n.body.map(v=>{let R=JSON.parse(v.jsonData),k=[];return v.sort==1?k=[]:v.sort==2?k=[]:v.sort==3?k=[]:v.sort==4?k=[{type:"GIFT",cover:t("reward_gift"),content:1}]:v.sort==5?k=[{type:"GIFT",cover:t("reward_gift"),content:1}]:v.sort==6&&(k=[{type:"GIFT",cover:t("reward_gift"),content:1},{type:"PROPS",detailType:"AVATAR_FRAME",cover:t("reward_frame"),quantity:365},{type:"PROPS",detailType:"RIDE",cover:t("reward_ride"),quantity:60}]),v.rewardProps.push(...k),v={...v,...R},v}):we.value=[]},xt=async()=>{const i=await ta("2007771533988204888");i.status&&i.body?he.value=i.body:he.value={}},Rt=async()=>{await Promise.all([vt(),yt(),pt(),ft(),ht(),wt(),mt(),tt("lottery"),tt("recharge"),_t(),bt(),xt()])},St=async()=>{const i=[t("bg1"),t("bg2"),t("bg3"),t("bg4"),t("bg5"),t("bg6"),t("bg1"),t("bg2-2"),t("TimeBg"),t(h("TagGameBt")),t(h("TagRechargeBt")),t(h("MTaskBt")),t(h("MRankingBt")),t(h("MRewardBt")),t("taskListBg"),t("taskItemBg"),t("taskTypeGift"),t("taskTypeGame"),t("ticket"),t("taskBtGo"),t("taskBtReceive"),t("taskBtReceived")];await it(i)},$t=async()=>{try{await Promise.all([St()]),console.log("预加载完成，初始化数据成功")}catch(i){console.error("预加载过程中发生错误:",i)}finally{m.value=!1}},Tt=async()=>{const i=[t("myRankingBg"),t("rankingNumBg"),t("userFrame"),t("resultBg"),t("resultBack"),t("resultNext"),t("recordBg"),t(h("earningsHelpInfo")),t(h("rechargeHelpInfo")),t("lotteryBg"),t("historyBt"),t("prizeActiveFrame"),t("ticket"),t("earningInfoBg"),t("top1Bg"),t("top2Bg"),t("top3Bg"),t("rankingNumBg"),t("rankingItemBg"),t("rankingRewardTop1Bg"),t("rankingRewardTop2Bg"),t("rankingRewardTop3Bg"),t("rankingRewardTop4Bg"),t(h("receiveBt")),t(h("receivedBt")),t(h("rechargeReward100")),t(h("rechargeReward500")),t(h("rechargeReward1000")),t(h("rechargeReward3000")),t(h("rechargeReward5000")),t(h("rechargeReward10000"))];await it(i)},It=async()=>{await Et(()=>{$t()})},Ct=()=>{B.value=setTimeout(()=>{m.value&&(console.warn("⏰ 预加载超时，正在刷新页面..."),window.location.reload())},2e4)},Ut=()=>{B.value&&(clearTimeout(B.value),B.value=null)};return Oe(async()=>{X.clear(),H(),console.log("route.query.activeAction:",pe.query.activeAction),pe.query.activeAction=="TaskShow",F("gamePlay"),V("task"),Ct(),await It(),Rt(),Tt(),c()}),Ge(()=>{X.clear(),be&&(clearInterval(be),be=null),Ut(),kt()}),(i,n)=>{const v=zt,R=We("smart-img");return o(),d("div",es,[s(e("div",ts,[s(T(Qe,{backgroundImages:[t("bg1"),t("bg2"),t("bg3"),t("bg4"),t("bg5"),t("bg6")]},null,8,["backgroundImages"]),[[$,!p.value]]),T(v),e("p",null,r(i.$t("loading"))+"...",1)],512),[[$,m.value]]),s(e("div",as,[s(T(Qe,{backgroundImages:[t("bg1"),t("bg2"),t("bg3"),t("bg4"),t("bg5"),t("bg6")]},null,8,["backgroundImages"]),[[$,!p.value]]),s(T(Qe,{backgroundImages:[t("bg1"),t("bg2-2")]},null,8,["backgroundImages"]),[[$,p.value]]),s(e("div",{class:"background-overlay",style:Y({"--bg3-2-url":`url(${t("bg3-2")})`})},null,4),[[$,p.value]]),e("div",is,[s(e("img",{src:f("pageTop"),alt:"",width:"100%",style:{display:"block"}},null,8,ss),[[R]]),T(E,{style:{"min-height":"35.45vw",width:"95%","min-width":"0","margin-top":"-52vw"},imgUrl:t("TimeBg"),contentStyle:"padding:0 14.5vw 6vw 13.5vw;"},{default:z(()=>[e("div",rs,[e("div",ns,[e("div",ls,r(Ue.value)+"D",1)]),e("div",os,[e("div",cs,r(Se.value),1)]),e("div",ds,[e("div",us,r(Be.value),1)]),e("div",gs,[e("div",vs,r(De.value),1)])])]),_:1},8,["imgUrl"]),e("div",ys,[e("div",{style:{flex:"1","min-width":"0"},onClick:n[0]||(n[0]=k=>F("gamePlay"))},[s(e("img",{src:t(h("TagGameBt")),alt:"",class:Z({"grayscale-container":!C.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,ps),[[R]])]),e("div",{style:{flex:"1","min-width":"0"},onClick:n[1]||(n[1]=k=>F("recharge"))},[s(e("img",{src:t(h("TagRechargeBt")),alt:"",class:Z({"grayscale-container":!b.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,fs),[[R]])])]),s(e("div",hs,[e("div",ws,[e("div",{style:{width:"30vw","min-width":"0"},onClick:n[2]||(n[2]=k=>V("task"))},[s(e("img",{src:t(h("MTaskBt")),alt:"",class:Z({"grayscale-container":!A.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,ms),[[R]])]),e("div",{style:{width:"30vw","min-width":"0"},onClick:n[3]||(n[3]=k=>V("lotteryRanking"))},[s(e("img",{src:t(h("MRankingBt")),alt:"",class:Z({"grayscale-container":!ne.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,ks),[[R]])]),e("div",{style:{width:"30vw","min-width":"0"},onClick:n[4]||(n[4]=k=>V("lotteryReward"))},[s(e("img",{src:t(h("MRewardBt")),alt:"",class:Z({"grayscale-container":!q.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,_s),[[R]])])]),s(T(ni,{activity:a(ge)},null,8,["activity"]),[[$,A.value]]),s(T(rt,{rankingType:"lottery"},null,512),[[$,ne.value]]),s(T(Ai,null,null,512),[[$,q.value]])],512),[[$,C.value]]),s(e("div",bs,[e("div",xs,[e("div",{style:{width:"30vw","min-width":"0"},onClick:n[5]||(n[5]=k=>V("rechargeRanking"))},[s(e("img",{src:t(h("MRankingBt")),alt:"",class:Z({"grayscale-container":!w.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,Rs),[[R]])]),e("div",{style:{width:"30vw","min-width":"0"},onClick:n[6]||(n[6]=k=>V("rechargeReward"))},[s(e("img",{src:t(h("MRewardBt")),alt:"",class:Z({"grayscale-container":!S.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,Ss),[[R]])])]),s(T(rt,{rankingType:"recharge"},null,512),[[$,w.value]]),s(T(Zi,null,null,512),[[$,S.value]])],512),[[$,b.value]])]),s(e("div",$s,null,512),[[$,p.value]]),s(e("div",Ts,null,512),[[$,!p.value]]),s(T(E,{style:{"min-height":"36.66vw",position:"fixed",bottom:"0","z-index":"2"},imgUrl:t("myRankingBg"),contentStyle:"padding: 0 5vw"},{default:z(()=>[e("div",Is,[T(E,{style:{width:"10vw"},imgUrl:t("rankingNumBg"),contentStyle:"bottom: 0.5vw;",onClick:n[7]||(n[7]=k=>a(Ne)(i.listItem.userId))},{default:z(()=>[e("div",Cs,r(N.value?.rank||999),1)]),_:1},8,["imgUrl"]),T(E,{style:{width:"20vw","z-index":"1"},imgUrl:t("userFrame"),contentStyle:"top:2vw"},{default:z(()=>[e("img",{src:N.value?.userAvatar||"",alt:"",style:{position:"relative","z-index":"-1",display:"block",width:"13vw","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:n[8]||(n[8]=(...k)=>a(ue)&&a(ue)(...k))},null,40,Us)]),_:1},8,["imgUrl"]),e("div",js,[e("div",Bs,[e("div",Ls,r(N.value?.userName),1)]),e("div",Ns,r(i.$t("user_id_prefix"))+" "+r(N.value?.specialAccount||N.value?.account),1)])]),e("div",As,[C.value&&ne.value?(o(),d("div",zs,[s(e("img",Ps,null,512),[[R]]),e("div",Ds,r(N.value?.amount||0),1)])):D("",!0),b.value&&w.value?(o(),d("div",Fs," $"+r(N.value?.amount||0),1)):D("",!0)])]),_:1},8,["imgUrl"]),[[$,p.value]]),T(na,{maskLayerShow:x.value,onClick:O},{default:z(()=>[s(e("div",{style:{width:"100vw",height:"100vh",display:"flex","justify-content":"center","align-items":"center"},onClick:O},[s(e("div",{style:{position:"relative",width:"100%"},onClick:n[11]||(n[11]=$e(()=>{},["stop"]))},[T(E,{style:{"min-height":"100.53vw"},imgUrl:t("resultBg"),contentStyle:`inset: 30vw 7vw 6vw;
                flex-direction: column;
                justify-content: space-between;
                gap:2vw`},{default:z(()=>[e("div",Hs,[e("div",Ms,[s(e("img",{class:"flipImg",src:t("resultBack"),alt:"",style:{display:"block",width:"80%","object-fit":"cover"},onClick:n[9]||(n[9]=k=>u.value--)},null,8,Es),[[R],[$,a(K).length>1&&u.value>0]])]),e("img",{src:a(K)[u.value]?.prize?.prizeImage,alt:"",style:{display:"block",width:"40vw"}},null,8,Os),e("div",Gs,[s(e("img",{class:"flipImg",src:t("resultNext"),alt:"",style:{display:"block",width:"80%","object-fit":"cover"},onClick:n[10]||(n[10]=k=>u.value++)},null,8,Vs),[[R],[$,a(K).length>1&&u.value+1<a(K).length]])])]),e("div",Ws,[Ht(r(a(l)("you_get"))+" "+r(a(K)[u.value]?.prize?.prizeName)+" ",1),a(K).length>1?(o(),d("div",qs,r(u.value+1)+" / "+r(a(K).length),1)):D("",!0)]),e("div",{style:{width:"30vw",height:"12vw"},onClick:O})]),_:1},8,["imgUrl"])],512),[[$,a(ae)]]),s(e("div",{style:{position:"relative",width:"95%"},onClick:n[12]||(n[12]=$e(()=>{},["stop"]))},[T(E,{style:{"min-height":"91.33vw"},imgUrl:t("recordBg"),contentStyle:"padding: 22vw 7vw 8vw;"},{default:z(()=>[e("div",Ys,[(o(!0),d(ce,null,de(a(je),(k,jt)=>(o(),d("div",Xs,[e("div",Js,[e("img",{src:k?.prize?.prizeImage||"",alt:"",style:{width:"10vw","min-width":"0","object-fit":"cover",display:"block"}},null,8,Ks),e("div",Qs,r(k?.prize?.prizeName),1)]),e("div",Zs,r(a(Ot)(k.drawTime)),1)]))),256))])]),_:1},8,["imgUrl"])],512),[[$,a(ie)]]),s(T(E,{style:{"min-height":"74vw"},imgUrl:t("taskListBg"),contentStyle:"padding: 20vw 10vw 12vw;flex-direction: column;justify-content: space-between;",onClick:n[14]||(n[14]=$e(()=>{},["stop"]))},{default:z(()=>[(o(!0),d(ce,null,de(a(ee),k=>(o(),Ae(E,{style:{"min-height":"19.6vw"},imgUrl:t("taskItemBg"),contentStyle:"padding: 4vw 5.5vw;justify-content: space-between;",onClick:n[13]||(n[13]=$e(()=>{},["stop"]))},{default:z(()=>[e("div",er,[k.taskType==2?s((o(),d("img",{key:0,src:t("taskTypeGift"),alt:"",width:"100%",style:{display:"block"}},null,8,tr)),[[R]]):D("",!0),k.taskType==4?s((o(),d("img",{key:1,src:t("taskTypeGame"),alt:"",width:"100%",style:{display:"block"}},null,8,ar)),[[R]]):D("",!0)]),e("div",ir,[e("div",sr,r(Je(k)),1),e("div",rr,[e("div",nr,r(a(l)("coins_per_get")),1),s(e("img",{src:t("ticket"),alt:a(l)("ticket"),width:"15%",style:{display:"block"}},null,8,lr),[[R]]),n[17]||(n[17]=e("div",{style:{color:"#fff","font-weight":"590","font-size":"0.9em"}},"*1",-1))])]),e("div",or,[k.taskStatus==0?(o(),Ae(E,{key:0,imgUrl:t("taskBtGo")},{default:z(()=>[e("div",cr,r(a(l)("task_go")),1)]),_:1},8,["imgUrl"])):k.taskStatus===1?(o(),Ae(E,{key:1,imgUrl:t("taskBtReceive"),onClick:jt=>i.receiveTaskReward(k.taskCode)},{default:z(()=>[e("div",dr,r(a(l)("task_receive")),1)]),_:1},8,["imgUrl","onClick"])):(o(),Ae(E,{key:2,imgUrl:t("taskBtReceived")},{default:z(()=>[e("div",ur,r(a(l)("task_received")),1)]),_:1},8,["imgUrl"]))])]),_:2},1032,["imgUrl"]))),256))]),_:1},8,["imgUrl"]),[[$,a(j)]]),s(e("img",{src:t(h("earningsHelpInfo")),alt:"",style:{display:"block",width:"100%","object-fit":"cover","margin-bottom":"6vw"},onClick:n[15]||(n[15]=$e(()=>{},["stop"]))},null,8,gr),[[R],[$,a(y)]]),s(e("img",{src:t(h("rechargeHelpInfo")),alt:"",style:{display:"block",width:"100%","object-fit":"cover","margin-bottom":"6vw"},onClick:n[16]||(n[16]=$e(()=>{},["stop"]))},null,8,vr),[[R],[$,a(G)]])],512),[[$,g.value]])]),_:1},8,["maskLayerShow"])],512),[[$,!m.value]])])}}},jr=ze(yr,[["__scopeId","data-v-14b36106"]]);export{jr as default};
