1import{a4 as D,b as L,d as T,l as M,C as N,j as v,E as A,A as f,eu as V,aq as $,y as j,_ as E,Q as F,I as d,K as u,R as G,U as n,V as t,ay as h,ag as b,ah as k,aj as p,ad as C,a5 as O,a6 as P}from"./index-DWNIBzYf.js";import{_ as q}from"./coin-PJhuUc4J.js";const U=D({__name:"index",setup(s,{expose:a}){a();const{t:S}=L(),{refreshRedDot:e}=T(),r=M(),_=N(),l=_.getUserInfo,o=v({}),c=v([]);let g=!1;function R(){r.go(-1)}function w(i){r.push({name:i==="rules"?`${String(r.currentRoute.value.name)}-Rules`:`${String(r.currentRoute.value.name)}-Record`})}async function B(){await f(V({}))&&(localStorage.setItem("signedFlag","1"),e()),y()}const y=async()=>{const i=await f($({uid:l.userId,sign:l.sign}));localStorage.getItem("signedFlag")==="1"&&(g=!0),c.value=i.data.signInRechargesList,o.value=i.data.signIn};A(async()=>{localStorage.setItem("signedFlag","0"),y()});const m={t:S,refreshRedDot:e,router:r,globalStore:_,userInfo:l,signModel:o,signInList:c,get isSignedToday(){return g},set isSignedToday(i){g=i},onClick:R,onButtonClick:w,submitCheckIn:B,initList:y,get currency(){return j}};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}}),z="/assets/png/SignInTop-DbxGuEYR.png",K="/assets/png/day7Bg-qRdDEgwv.png",I=s=>(O("data-v-f1e983bd"),s=s(),P(),s),Q={class:"dailySignIn__container"},Y={class:"dailySignIn__container-hero"},H={class:"dailySignIn__container-hero__header"},J={class:"dailySignIn__container-hero__footer"},W={class:"dailySignIn__container-content"},X={class:"dailySignIn__container-content__wrapper"},Z={class:"dailySignIn__container-content__wrapper-block__header"},x=I(()=>n("img",{src:z},null,-1)),nn=I(()=>n("img",{src:q},null,-1)),en=I(()=>n("span",{class:"lastImage"},[n("img",{src:K})],-1)),sn={class:"dailySignIn__container-content__footer"},tn=["disabled"];function on(s,a,S,e,r,_){const l=F("NavBar");return d(),u("div",Q,[G(l,{class:"activity",title:s.$t("checkIn"),backgroundColor:"#f95959",placeholder:!1,"left-arrow":"",onClickLeft:e.onClick},null,8,["title"]),n("div",Y,[n("div",H,[n("h1",null,t(s.$t("code9007")),1),n("p",null,t(s.$t("descRewordsBasedOnConsecutiveDays")),1),n("div",null,[h(t(s.$t("checkedInConsecutively")),1),n("span",null,t(e.signModel.signCount||0),1),h(t(s.$t("days")),1)]),n("p",null,t(s.$t("comulativelyObtained")),1),n("h1",null,t(e.currency(e.signModel.signInSum)||e.currency(0)),1)]),n("div",J,[n("button",{onClick:a[0]||(a[0]=o=>e.onButtonClick("rules"))},t(s.$t("playRules")),1),n("button",{onClick:a[1]||(a[1]=o=>e.onButtonClick("record"))},t(s.$t("checkInRecord")),1)])]),n("div",W,[n("div",X,[(d(!0),u(b,null,k(e.signInList.slice(0,6),(o,c)=>(d(),u("div",{key:c,class:p(["dailySignIn__container-content__wrapper-block",{signed:c<e.signModel.signCount}])},[n("div",Z,[x,n("span",null,t(e.currency(o.bouns)),1)]),nn,C(" {{ $t('continuous') }} "),n("span",null,t(o.day)+" "+t(s.$t("days")),1)],2))),128)),(d(!0),u(b,null,k(e.signInList.slice(6,7),o=>(d(),u("div",{class:p(["dailySignIn__container-content__wrapper-block",{signed:e.signModel.signCount>=7}])},[en,n("div",null,[n("span",null,t(e.currency(o.bouns)),1),C(" {{ $t('continuous') }} "),n("span",null,t(o.day)+" "+t(s.$t("days")),1)])],2))),256))]),n("div",sn,[n("button",{onClick:a[2]||(a[2]=o=>{o.stopPropagation(),e.submitCheckIn()}),disabled:e.isSignedToday,class:p({greyBtn:e.isSignedToday})},t(s.$t("checkIn")),11,tn)])])])}const ln=E(U,[["render",on],["__scopeId","data-v-f1e983bd"],["__file","/home/jenkins/agent/workspace/AR041-Pages-india-bigmumbai/src/views/activity/DailySignIn/index.vue"]]);export{ln as default};
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.