1import{a4 as U,j as d,ab as ne,bw as Ce,_ as Z,I as i,K as c,U as t,V as a,ay as H,ag as P,ah as R,aj as B,ad as D,R as g,a0 as Me,a5 as ae,a6 as se,b as Te,e as W,bn as ke,y as we,Q as x,ax as Ee,af as N,T as Ae,ai as ee,E as Pe,by as Y,g5 as je,aI as _e,o as be,A as te,fo as Fe,ak as ve,bs as Be,g6 as Ie,ae as $,g7 as He,bv as he,l as We,r as Ve,aB as xe,i as qe,a9 as ze,C as Ue,g8 as Ze,g9 as Ke,ga as Xe,f6 as Qe,bH as Je,bB as Ye}from"./index-W6wVap2t.js";import{r as $e,a as et,R as tt,G as nt,W as at}from"./audio-SR2PveFp.js";import{E as Se}from"./index-BCN17hDz.js";import{n as st}from"./index-C5c7OFkC.js";import{F as ot}from"./MyGameRecord-CLvX0QT7.js";import{C as it}from"./ChangLong-D_ztsC5D.js";import{D as lt}from"./Dialog-DYD_Eh3G.js";import"./MayrecordList-DYtQ-Jfl.js";import"./assetIcons-CA9qCnSK.js";import"./close-INBhzs5V.js";const rt=U({__name:"TimeLeft",props:{premium:{type:null,required:!0},currentInfo:{type:null,required:!0},currentGame:{type:null,required:!0}},setup(s,{expose:u}){const l=s,e=d(0),_=d([{arr:[]},{arr:[]},{arr:[]},{arr:[]},{arr:[]}]);ne(()=>l.premium,v=>{v&&(_.value=y(v))});const y=v=>{let h=[];for(let k=0;k<v.length;k++){let I=v[k];var C=[];switch(I){case 9:C.push(I-8,I-9,I);break;case 0:C.push(I+8,I+9,I);break;default:C.push(I-2,I-1,I)}h.push({arr:C})}return h},o=()=>{e.value=1,setTimeout(()=>{e.value=0},3e3)},r=d(!1),f=Ce(),n=()=>{r.value=!0,f.get5DRule(l.currentGame.typeID)};u({animationShow:o});const m={top1:e,resultNew:_,props:l,remdon:y,animationShow:o,howPlayShow:r,lottery:f,showRule:n,rule:$e};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}}),Le=s=>(ae("data-v-69f351dd"),s=s(),se(),s),ct={class:"FDTL__C"},dt={class:"FDTL__C-l1"},ut={class:"left"},vt=Le(()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},[t("path",{d:"M8.5484 25.8291L8.54089 25.8366L8.53366 25.8444C7.97797 26.4409 7.47942 26.802 7.06631 26.9804C6.65908 27.1562 6.37147 27.1416 6.17169 27.0556C5.96753 26.9677 5.74252 26.7566 5.56263 26.3155C5.38195 25.8725 5.26602 25.2383 5.26602 24.4V9.38666C5.26602 6.69084 5.59509 5.24007 6.36083 4.42157C7.11326 3.6173 8.44055 3.26666 10.9593 3.26666H21.0393C23.5584 3.26666 24.8852 3.61741 25.6358 4.42118C26.3997 5.23909 26.726 6.68929 26.7193 9.38518V9.38666V24.3867C26.7193 25.2254 26.6041 25.8598 26.4242 26.3031C26.2451 26.7444 26.0211 26.9549 25.8182 27.0425C25.6198 27.1281 25.3328 27.1431 24.9244 26.967C24.5105 26.7884 24.0102 26.4271 23.4512 25.8305C22.7918 25.1231 21.9328 24.7739 21.0701 24.8209C20.2074 24.8679 19.3916 25.3082 18.8127 26.08L18.8123 26.0806L17.4676 27.8779C17.4673 27.8783 17.467 27.8787 17.4667 27.8791C17.0231 28.4644 16.4844 28.71 15.9927 28.71C15.501 28.71 14.9623 28.4644 14.5187 27.8791C14.5184 27.8787 14.5181 27.8783 14.5177 27.8779L13.1733 26.0808C13.1732 26.0807 13.1732 26.0806 13.1731 26.0806C12.0033 24.5156 9.90283 24.3999 8.55577 25.8217L8.5484 25.8291ZM8.43935 14.6667C8.43935 15.7314 9.30798 16.6 10.3727 16.6C11.4374 16.6 12.306 15.7314 12.306 14.6667C12.306 13.602 11.4374 12.7333 10.3727 12.7333C9.30798 12.7333 8.43935 13.602 8.43935 14.6667ZM8.43935 9.33333C8.43935 10.398 9.30798 11.2667 10.3727 11.2667C11.4374 11.2667 12.306 10.398 12.306 9.33333C12.306 8.26863 11.4374 7.4 10.3727 7.4C9.30798 7.4 8.43935 8.26863 8.43935 9.33333ZM14.306 16.2667H21.6393C22.5174 16.2667 23.2393 15.5447 23.2393 14.6667C23.2393 13.7886 22.5174 13.0667 21.6393 13.0667H14.306C13.428 13.0667 12.706 13.7886 12.706 14.6667C12.706 15.5447 13.428 16.2667 14.306 16.2667ZM14.306 10.9333H21.6393C22.5174 10.9333 23.2393 10.2114 23.2393 9.33333C23.2393 8.45529 22.5174 7.73333 21.6393 7.73333H14.306C13.428 7.73333 12.706 8.45529 12.706 9.33333C12.706 10.2114 13.428 10.9333 14.306 10.9333Z",stroke:"currentColor","stroke-width":"1.2"})],-1)),_t={class:"FDTL__C-l2"},mt={class:"FDTL__C-time"},pt=Le(()=>t("div",{notime:""},":",-1)),ft={class:"FDTL__C-l3"},gt={class:"box"},yt=["num"],bt=Me('<div class="slot-num" data-v-69f351dd>1</div><div class="slot-num" data-v-69f351dd>2</div><div class="slot-num" data-v-69f351dd>0</div><div class="slot-num" data-v-69f351dd>1</div><div class="slot-num" data-v-69f351dd>2</div><div class="slot-num" data-v-69f351dd>3</div><div class="slot-num" data-v-69f351dd>4</div><div class="slot-num" data-v-69f351dd>5</div><div class="slot-num" data-v-69f351dd>6</div><div class="slot-num" data-v-69f351dd>7</div><div class="slot-num" data-v-69f351dd>8</div><div class="slot-num" data-v-69f351dd>9</div><div class="slot-num" data-v-69f351dd>0</div><div class="slot-num" data-v-69f351dd>1</div><div class="slot-num" data-v-69f351dd>2</div><div class="slot-num" data-v-69f351dd>3</div><div class="slot-num" data-v-69f351dd>4</div><div class="slot-num" data-v-69f351dd>5</div><div class="slot-num" data-v-69f351dd>6</div><div class="slot-num" data-v-69f351dd>7</div><div class="slot-num" data-v-69f351dd>8</div><div class="slot-num" data-v-69f351dd>9</div><div class="slot-num" data-v-69f351dd>0</div><div class="slot-num" data-v-69f351dd>1</div><div class="slot-num" data-v-69f351dd>2</div><div class="slot-num" data-v-69f351dd>3</div><div class="slot-num" data-v-69f351dd>4</div><div class="slot-num" data-v-69f351dd>5</div><div class="slot-num" data-v-69f351dd>6</div><div class="slot-num" data-v-69f351dd>7</div><div class="slot-num" data-v-69f351dd>8</div><div class="slot-num" data-v-69f351dd>9</div>',32),ht=["num"];function Ct(s,u,l,e,_,y){return i(),c(P,null,[t("div",ct,[t("div",dt,[t("div",ut,[t("div",null,a(s.$t("betIssue")),1),t("div",{class:"FDTL__C-rule",onClick:e.showRule},[vt,H(a(s.$t("winTrxIndicate")),1)])]),t("div",null,a(s.$t("k3TimeLeftToBuy")),1)]),t("div",_t,[t("div",null,a(e.props.currentInfo.gameNo),1),t("div",mt,[t("div",null,a(l.currentInfo.time1),1),t("div",null,a(l.currentInfo.time2),1),pt,t("div",null,a(l.currentInfo.time3),1),t("div",null,a(l.currentInfo.time4),1)])]),t("div",ft,[t("div",gt,[(i(!0),c(P,
1null,R(e.resultNew,(o,r)=>(i(),c("div",{key:r,class:"slot-column"},[t("div",{class:B(["slot-transform","transform"+r,e.top1==1&&"slot-scroll"])},[(i(!0),c(P,null,R(o.arr,(f,n)=>(i(),c("div",{class:"slot-num",num:o,key:"2"+n},a(f),9,yt))),128)),bt,(i(!0),c(P,null,R(o.arr,(f,n)=>(i(),c("div",{class:"slot-num",num:o,key:"2"+n},a(f),9,ht))),128))],2)]))),128))])])]),D(" è§åå¼¹å± begin"),g(e.rule,{howPlayShow:e.howPlayShow,gamePresentation:l.currentGame.gamePresentation,onClose:u[0]||(u[0]=o=>e.howPlayShow=!1)},null,8,["howPlayShow","gamePresentation"])],64)}const Tt=Z(rt,[["render",Ct],["__scopeId","data-v-69f351dd"],["__file","/home/jenkins/agent/workspace/AR093-Pages-india-jaiclub/src/components/Home/AllLotteryGames/FD/TimeLeft.vue"]]),kt=U({__name:"BetCom",props:{betTypeNameMap:{type:null,required:!0},betType:{type:null,required:!0},BettingH:{type:null,required:!0},onTabID:{type:null,required:!0},numberChack:{type:null,required:!0},OddsList:{type:null,required:!0}},emits:["changeType","onTab","numberTab"],setup(s,{expose:u,emit:l}){u();const _={props:s,emit:l};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}}),wt={class:"FDB__C-nav"},Pt=["onClick"],Bt={class:"FDB__C-H"},It=["onClick"],St={class:"FDB__C-Num"},Lt=["txt","onClick"],Dt={class:"round"},Nt={class:"rate"};function Rt(s,u,l,e,_,y){return i(),c(P,null,[t("div",wt,[(i(!0),c(P,null,R(l.betTypeNameMap,(o,r)=>(i(),c("div",{key:r,class:B({active:l.betType==r}),onClick:f=>e.emit("changeType",r)},a(o),11,Pt))),128))]),t("div",Bt,[(i(!0),c(P,null,R(l.BettingH,(o,r)=>(i(),c("div",{key:r,class:B({active:l.onTabID==o.id}),onClick:f=>e.emit("onTab",o.id)},[t("span",null,a(o.name),1),t("span",null,a(o.rate),1)],10,It))),128))]),t("div",St,[l.betType!=5?(i(),c(P,{key:0},R(10,(o,r)=>t("div",{key:r,txt:r,class:B({active:l.numberChack[r]}),onClick:f=>e.emit("numberTab",r)},[t("div",Dt,a(r),1),t("div",Nt,a(l.OddsList[0].playRate?l.OddsList[0].playRate:l.OddsList[0].playRate_Original),1)],10,Lt)),64)):D("v-if",!0)])],64)}const Gt=Z(kt,[["render",Rt],["__scopeId","data-v-baf77bdf"],["__file","/home/jenkins/agent/workspace/AR093-Pages-india-jaiclub/src/components/Home/AllLotteryGames/FD/BetCom.vue"]]),Ot=U({__name:"BettingPopup",props:{currentInfo:{type:null,required:!0},currentGame:{type:null,required:!0},bettingPopupShow:{type:null,required:!0},betTypeList:{type:null,required:!0},selectInfo:{type:null,required:!0}},emits:["update:bettingPopupShow","update:selectInfo","clearBetting","computedCoin","submitBetting"],setup(s,{expose:u,emit:l}){u();const e=s,{t:_}=Te(),y=d(!1),o=d(!0),r=W(()=>e.currentGame.betMultiple.split("|"));ne(()=>r,()=>{e.selectInfo.count=r.value[0]},{deep:!0,immediate:!0});let f=W({get(){return e.bettingPopupShow||!1},set(L){l("update:bettingPopupShow",L)}});const n=W(()=>Number(e.selectInfo.count)>=1),T={t:_,emits:l,isShowPreSale:y,isCheckPreSale:o,multipleList:r,props:e,get showPopup(){return f},set showPopup(L){f=L},canSubmit:n,Stepper:L=>{switch(L){case 1:e.selectInfo.count>1&&e.selectInfo.count--;break;case 2:e.selectInfo.count++;break}l("computedCoin")},changeStep:L=>{L>0&&(e.selectInfo.count=Math.floor(L)),l("computedCoin")},TaskCount:L=>{e.selectInfo.count=L,l("computedCoin")},changeCoin:L=>{e.selectInfo.coin=L,l("computedCoin")},knowPreSale:()=>{y.value=!1,o.value=!0},submitBetting:async()=>{if(n.value){if(!o.value){ke(_("agreePresaleRules"));return}l("submitBetting")}},get currency(){return we}};return Object.defineProperty(T,"__isScriptSetup",{enumerable:!1,value:!0}),T}}),Mt=s=>(ae("data-v-7181abf7"),s=s(),se(),s),Et={class:"Betting__Popup-body"},At={class:"Betting__Popup-body-line"},jt={class:"Betting__Popup-body-line-list"},Ft=["onClick"],Ht={class:"Betting__Popup-body-line"},Wt={class:"Betting__Popup-body-line-btnL"},Vt={class:"Betting__Popup-body-line"},xt=Mt(()=>t("div",null,null,-1)),qt={class:"Betting__Popup-body-line-list"},zt=["onClick"],Ut={class:"Betting__Popup-body-line"},Zt={class:"Betting__Popup-foot"},Kt={class:"Betting__Popup-PreSale"},Xt={class:"Betting__Popup-PreSale-head"},Qt={class:"Betting__Popup-PreSale-body"},Jt={class:"Betting__Popup-PreSale-foot"};function Yt(s,u,l,e,_,y){const o=x("van-field"),r=x("van-popup"),f=Ee("throttle-click");
1return i(),c(P,null,[D(" ææ³¨å
容 begin "),g(r,{show:e.showPopup,"onUpdate:show":u[6]||(u[6]=n=>e.showPopup=n),position:"bottom",style:{"box-shadow":"0px -18px 40px rgba(37, 37, 60, 0.26)"},round:!0,"close-on-click-overlay":!1},{default:N(()=>[t("div",Et,[Ae(s.$slots,"default",{},void 0,!0),t("div",At,[H(a(e.t("amount"))+" ",1),t("div",jt,[(i(!0),c(P,null,R(l.betTypeList,(n,m)=>(i(),c("div",{key:m,class:B(["Betting__Popup-body-line-item",{bgcolor:e.props.selectInfo.coin==n}]),onClick:v=>e.changeCoin(n)},a(n),11,Ft))),128))])]),t("div",Ht,[H(a(e.t("numbers"))+" ",1),t("div",Wt,[t("div",{class:B(["Betting__Popup-btn",{bgcolor:e.props.selectInfo.count>0}]),onClick:u[0]||(u[0]=n=>e.Stepper(1))},"-",2),g(o,{class:"Betting__Popup-input",modelValue:e.props.selectInfo.count,"onUpdate:modelValue":u[1]||(u[1]=n=>e.props.selectInfo.count=n),modelModifiers:{number:!0},type:"digit",maxlength:4,onInput:e.changeStep},null,8,["modelValue"]),t("div",{class:"Betting__Popup-btn bgcolor",onClick:u[2]||(u[2]=n=>e.Stepper(2))},"+")])]),t("div",Vt,[xt,t("div",qt,[(i(!0),c(P,null,R(e.multipleList,(n,m)=>(i(),c("div",{key:m,class:B(["Betting__Popup-body-line-item setBorder",{bgcolor:e.props.selectInfo.count==n}]),onClick:v=>e.TaskCount(n)}," X"+a(n),11,zt))),128))])]),t("div",Ut,[t("span",{class:B(["Betting__Popup-agree",{active:e.isCheckPreSale}]),onClick:u[3]||(u[3]=n=>e.isCheckPreSale=!e.isCheckPreSale)},a(e.t("agree")),3),t("span",{onClick:u[4]||(u[4]=n=>e.isShowPreSale=!0),class:"Betting__Popup-preSaleShow"},a(e.t("presaleRules")),1)])]),t("div",Zt,[t("div",{class:"Betting__Popup-foot-c",onClick:u[5]||(u[5]=n=>e.emits("clearBetting"))},a(e.t("cancel")),1),ee((i(),c("div",{class:B(["Betting__Popup-foot-s bgcolor",{disabled:!e.canSubmit}])},[H(a(e.t("totalAmount"))+a(e.currency(e.props.selectInfo.allCoin||0)),1)],2)),[[f,{handler:e.submitBetting,wait:2e3}]])])]),_:3},8,["show"]),D(" è§åå¼¹å± begin"),g(r,{show:e.isShowPreSale,"onUpdate:show":u[7]||(u[7]=n=>e.isShowPreSale=n),"close-on-click-overlay":!1,round:""},{default:N(()=>[t("div",Kt,[t("div",Xt,a(e.t("presaleRules")),1),t("div",Qt,a(s.$t("betPopTXT")),1),t("div",Jt,[t("div",{class:"Betting__Popup-PreSale-foot-btn",onClick:e.knowPreSale},a(e.t("iKonw")),1)])])]),_:1},8,["show"])],64)}const $t=Z(Ot,[["render",Yt],["__scopeId","data-v-7181abf7"],["__file","/home/jenkins/agent/workspace/AR093-Pages-india-jaiclub/src/components/Home/AllLotteryGames/FD/BettingPopup.vue"]]),en=U({__name:"Betting",props:{currentInfo:{type:Object,default:()=>({})},ProhibitBuyTime:{type:Number,default:5},currentGame:{type:Object,default:()=>({})}},emits:["betting","changeBettingP"],setup(s,{expose:u,emit:l}){const e=s,{t:_}=Te(),y=d(),o=d(!1);ne(()=>o.value,p=>{p&&(k.value.coin=T.value[0])});const r=d(0),f=d(["A","B","C","D","E","SUM"]),n=d([{playID:1,playType:1,playBet:"0-9",playResult:"0-9",playRate:9,playRate_Original:9},{playID:2,playType:2,playBet:"H",playResult:"H",playRate:2,playRate_Original:2},{playID:3,playType:2,playBet:"L",playResult:"L",playRate:2,playRate_Original:2},{playID:4,playType:3,playBet:"O",playResult:"O",playRate:2,playRate_Original:2},{playID:5,playType:3,playBet:"E",playResult:"E",playRate:2,playRate_Original:2}]),m=d(0),v=d([]),h=d([!1,!1,!1,!1,!1,!1,!1,!1]),C=W(()=>[{id:1,name:_("k3Big"),rate:n.value[1].playRate||n.value[1].playRate_Original},{id:2,name:_("k3Small"),rate:n.value[2].playRate||n.value[2].playRate_Original},{id:3,name:_("k3Odd"),rate:n.value[3].playRate||n.value[3].playRate_Original},{id:4,name:_("k3Even"),rate:n.value[4].playRate||n.value[4].playRate_Original}]),k=d({coin:0,count:1,allCoin:0,gametype:0,typeid:1,issuenumber:"2020",selecttype:""}),I=W(()=>(e.currentInfo.passTime<e.ProhibitBuyTime&&M(),e.currentInfo.passTime<e.ProhibitBuyTime)),T=W(()=>e.currentGame.scope?e.currentGame.scope.split("|").map(p=>Number(p)):[]),L=p=>{r.value=p,p==5&&S()},K=async()=>{const[p,z]=await Y(je());z&&(n.value=z)},q=p=>{S(),m.value==p?(m.value=0,o.value=!0):(m.value=p,o.value=!0),V()},A=p=>{if(m.value=0,h.value[p]){h.value[p]=!1;const z=v.value.indexOf(p);z>-1&&v.value.splice(z,1),o.value=!0}else v.value.push(p),h.value[p]=!0,o.value=!0;V()},V=()=>{_e(()=>{v.value.length>0?k.value.allCoin=k.value.coin*k.value.count*v.value.length:m.value?k.value.allCoin=k.value.coin*k.value.count:k.value.allCoin=0})},S=()=>{v.value=[];for(let p=0;h.value.length>p;p++)h.value[p]=!1;V()},M=()=>{k.value.count=e.currentGame.betMultiple?.split("|")[0]||1,o.value=!1,w()},w=()=>{v.value=[],h.value=[!1,!1,!1,!1,!1,!1,!1,!1],m.value=0},E=async()=>
1{if(k.value.count==0)return be(_("bteNoCount"));let p;if(v.value.length>0)p=v.value.join("|");else switch(m.value){case 1:p="H";break;case 2:p="L";break;case 3:p="O";break;case 4:p="E";break}if(!p)return be(_("pleaseBet"));const z={issuenumber:e.currentInfo.gameNo,typeId:e.currentGame.typeID,amount:k.value.coin,betCount:Number(k.value.count),gameType:r.value+1,selectType:p},X=await te(Fe(z));X?.code===0&&(ke(_("code"+X?.msgCode)),o.value=!1,w(),l("betting",e.currentInfo.gameNo))};Pe(()=>{K()}),u({bettingPopupShow:o});const O={t:_,BetRef:y,emit:l,bettingPopupShow:o,betType:r,betTypeNameMap:f,OddsList:n,onTabID:m,numList:v,numberChack:h,BettingH:C,selectInfo:k,isShowMark:I,props:e,betTypeList:T,changeType:L,Get5DOddsList:K,onTab:q,numberTab:A,computedCoin:V,numberNoChack:S,clearBetting:M,clearData:w,submitBettingData:E,BettingBody:Gt,Popup:$t};return Object.defineProperty(O,"__isScriptSetup",{enumerable:!1,value:!0}),O}}),tn={class:"FDB__C"},nn={class:"FDB__C-mark"};function an(s,u,l,e,_,y){return i(),c("div",tn,[ee(t("div",nn,[t("div",null,a(e.props.currentInfo.time3||"0"),1),t("div",null,a(e.props.currentInfo.time4||"0"),1)],512),[[ve,e.isShowMark]]),g(e.BettingBody,{betTypeNameMap:e.betTypeNameMap,betType:e.betType,BettingH:e.BettingH,onTabID:e.onTabID,OddsList:e.OddsList,numberChack:e.numberChack,onChangeType:e.changeType,onNumberTab:e.numberTab,onOnTab:e.onTab},null,8,["betTypeNameMap","betType","BettingH","onTabID","OddsList","numberChack"]),g(e.Popup,{currentInfo:l.currentInfo,currentGame:l.currentGame,bettingPopupShow:e.bettingPopupShow,betTypeList:e.betTypeList,selectInfo:e.selectInfo,onComputedCoin:e.computedCoin,onClearBetting:e.clearBetting,onSubmitBetting:e.submitBettingData},{default:N(()=>[g(e.BettingBody,{betTypeNameMap:e.betTypeNameMap,betType:e.betType,BettingH:e.BettingH,onTabID:e.onTabID,OddsList:e.OddsList,numberChack:e.numberChack,onChangeType:e.changeType,onNumberTab:e.numberTab,onOnTab:e.onTab},null,8,["betTypeNameMap","betType","BettingH","onTabID","OddsList","numberChack"])]),_:1},8,["currentInfo","currentGame","bettingPopupShow","betTypeList","selectInfo"])])}const sn=Z(en,[["render",an],["__scopeId","data-v-28e57f6a"],["__file","/home/jenkins/agent/workspace/AR093-Pages-india-jaiclub/src/components/Home/AllLotteryGames/FD/Betting.vue"]]),on=U({__name:"GameRecord",props:{typeid:{type:Number,required:!0}},setup(s,{expose:u}){const l=s,e=d([]),_=C=>Number(C)>=23,y=C=>Number(C)%2===1,o=d(4),r=d(10),f=d(1),n=()=>{f.value--,v()},m=()=>{f.value++,v()},v=async(C=!1)=>{if(l.typeid==null)return;C&&(f.value=1);const k=await te(Ie({pageSize:r.value,pageNo:f.value,typeId:l.typeid}));e.value=k?.data.list||[],o.value=k?.data.totalPage||0};u({getData:v}),Be(()=>{v()});const h={NoaverageEmerdList:e,props:l,isSumBig:_,isSumOdd:y,totalPage:o,pageSize:r,pageNo:f,pPage:n,nPage:m,getData:v,Empty:Se};return Object.defineProperty(h,"__isScriptSetup",{enumerable:!1,value:!0}),h}}),ln={class:"GameRecord__C"},rn={class:"GameRecord__C-head"},cn={class:"GameRecord__C-body"},dn={class:"numList"},un={class:"numItem"},vn={class:"sumBs"},_n={key:1,class:"GameRecord__C-body-empty"},mn={key:0,class:"GameRecord__C-foot"},pn={class:"GameRecord__C-foot-page"};function fn(s,u,l,e,_,y){const o=x("van-col"),r=x("van-row"),f=x("van-icon");return i(),c("div",ln,[t("div",rn,[g(r,null,{default:N(()=>[g(o,{span:"10"},{default:N(()=>[H(a(s.$t("FDNumber")),1)]),_:1}),g(o,{span:"10"},{default:N(()=>[H(a(s.$t("FDResult")),1)]),_:1}),g(o,{span:"4"},{default:N(()=>[H(a(s.$t("gameRecordTotal")),1)]),_:1})]),_:1})]),t("div",cn,[e.NoaverageEmerdList.length?(i(!0),c(P,{key:0},R(e.NoaverageEmerdList,(n,m)=>(i(),$(r,{key:m},{default:N(()=>[g(o,{span:"10"},{default:N(()=>[H(a(n.issueNumber),1)]),_:2},1024),g(o,{span:"10"},{default:N(()=>[t("div",dn,[(i(!0),c(P,null,R([...n.premium],(v,h)=>(i(),c("div",un,a(v),1))),256))])]),_:2},1024),g(o,{span:"4"},{default:N(()=>[t("div",vn,[t("span",{class:B(["sumBs__ball",e.isSumBig(n.sumCount)?"is-big":"is-small"])},a(e.isSumBig(n.sumCount)?"B":"S"),3),t("span",{class:B(["sumBs__ball",e.isSumOdd(n.sumCount)?"is-odd":"is-even"])},a(e.isSumOdd(n.sumCount)?"O":"E"),3)])]),_:2},1024)]),_:2},1024))),128)):(i(),c("div",_n,[g(e.Empty)]))]),e.NoaverageEmerdList.length?(i(),c("div",mn,[t("div",{class:B(["GameRecord__C-foot-previous",{disabled:e.pageNo<=1}]),onClick:e.pPage},[g(f,{name:"arrow-left",class:"GameRecord__C-icon",size:"20"})],2),t("div",pn,a(e.pageNo)+"/"+a(e.totalPage),1),t("div",{class:B(["GameRecord__C-foot-next",{disabled:e.pageNo>=e.totalPage}
1]),onClick:e.nPage},[g(f,{name:"arrow",class:"GameRecord__C-icon",size:"20"})],2)])):D("v-if",!0)])}const gn=Z(on,[["render",fn],["__scopeId","data-v-9215aba8"],["__file","/home/jenkins/agent/workspace/AR093-Pages-india-jaiclub/src/components/Home/AllLotteryGames/FD/GameRecord.vue"]]),yn=U({__name:"Trend",props:{typeid:{type:Number,required:!0}},setup(s,{expose:u}){const l=s,e=d([]),_=d([]),y=d(),o=d(),r=d(),f=d(),n=d(),m=d(["A","B","C","D","E"]),v=d(0),h=d(1),C=d(4);function k(){_e(()=>{for(let S=0;S<_.value.length;S++)_.value[S+1]&&T(_.value[S],_.value[S+1])})}const I=S=>{v.value=S,q(!0)};function T(S,M){let w=parseInt(S.number),E=parseInt(M.number);var O=document.getElementById("myCanvas"+S.rowId);if(O&&O.getContext){var p=O.getContext("2d");p.clearRect(0,0,O.width,O.height),p.beginPath(),p.moveTo(w==0?14:w*27+14,0),p.lineTo(E==0?14:E*27+14,O.height),p.strokeStyle="red",p.stroke(),p.closePath()}}const L=()=>{h.value--,A()},K=()=>{h.value++,A()},q=async(S=!1)=>{if(l.typeid==null)return;A(),S&&(h.value=1);const M=await te(He({typeId:l.typeid,typeNumber:v.value+1}));if(M){const w=Object.keys(M.data[0]).filter(E=>E.startsWith("number_"));e.value=M.data.filter(E=>E.type_Number==v.value+1).map(E=>{const O={list:[],type:0};return O.type=E.type,O.list=[],w.forEach(p=>{O.list.push(E[p])}),O})}y.value=e.value.find(w=>w.type==1),o.value=e.value.find(w=>w.type==2),r.value=e.value.find(w=>w.type==3),f.value=e.value.find(w=>w.type==4),n.value=e.value.find(w=>w.type==5)},A=async(S=!1)=>{if(l.typeid==null)return;S&&(h.value=1);const M=await te(Ie({pageSize:10,pageNo:h.value,typeId:l.typeid}));M&&(_.value=M.data.list.map((w,E)=>(w.rowId=E,w.number=w.premium[v.value],w))||[]),C.value=M?.data.totalPage||0,k()};u({getData:q}),Be(()=>{q()});const V={resolvelist:e,props:l,EmerdList:_,resolvelist1:y,resolvelist2:o,resolvelist3:r,resolvelist4:f,resolvelist5:n,betTypeNameMap:m,betType:v,pageNo:h,totalPage:C,getReport:k,changeType:I,getCanvas:T,pPage:L,nPage:K,getData:q,getGetNoaverageEmerdList:A,Empty:Se};return Object.defineProperty(V,"__isScriptSetup",{enumerable:!1,value:!0}),V}}),bn={class:"Trend__C"},hn={class:"Trend__C-body1"},Cn={class:"Trend__C-nav"},Tn=["onClick"],kn={class:"Trend__C-body1-line"},wn={key:0,class:"Trend__C-body1-line"},Pn={class:"Trend__C-body1-line-num"},Bn={key:1,class:"Trend__C-body1-line"},In={class:"Trend__C-body1-line-num"},Sn={key:2,class:"Trend__C-body1-line"},Ln={class:"Trend__C-body1-line-num"},Dn={key:3,class:"Trend__C-body1-line"},Nn={class:"Trend__C-body1-line-num"},Rn={class:"Trend__C-head"},Gn={class:"Trend__C-body2"},On=["IssueNumber","Number","Colour","rowId"],Mn={class:"Trend__C-body2-IssueNumber"},En={class:"Trend__C-body2-Num"},An=["id"],jn={key:1,class:"Trend__C-body2-empty"},Fn={key:0,class:"Trend__C-foot"},Hn={class:"Trend__C-foot-page"};function Wn(s,u,l,e,_,y){const o=x("van-col"),r=x("van-row"),f=x("van-icon");return i(),c("div",bn,[t("div",hn,[t("div",Cn,[(i(!0),c(P,null,R(e.betTypeNameMap,(n,m)=>(i(),c("div",{key:m,class:B({active:e.betType==m}),onClick:v=>e.changeType(m)},a(n),11,Tn))),128))]),t("div",kn,a(s.$t("trendDesc1")),1),e.resolvelist2?(i(),c("div",wn,[t("div",null,a(s.$t("trendDesc3")),1),t("div",Pn,[(i(!0),c(P,null,R(e.resolvelist2.list,(n,m)=>(i(),c("div",{key:"2"+m},a(n),1))),128))])])):D("v-if",!0),e.resolvelist4?(i(),c("div",Bn,[t("div",null,a(s.$t("trendDesc4")),1),t("div",In,[(i(!0),c(P,null,R(e.resolvelist4.list,(n,m)=>(i(),c("div",{key:"4"+m},a(n),1))),128))])])):D("v-if",!0),e.resolvelist1?(i(),c("div",Sn,[t("div",null,a(s.$t("trendDesc5")),1),t("div",Ln,[(i(!0),c(P,null,R(e.resolvelist1.list,(n,m)=>(i(),c("div",{key:"5"+m},a(n),1))),128))])])):D("v-if",!0),e.resolvelist3?(i(),c("div",Dn,[t("div",null,a(s.$t("trendDesc6")),1),t("div",Nn,[(i(!0),c(P,null,R(e.resolvelist3.list,(n,m)=>(i(),c("div",{key:"3"+m},a(n),1))),128))])])):D("v-if",!0)]),t("div",Rn,[g(r,null,{default:N(()=>[g(o,{span:"9"},{default:N(()=>[H(a(s.$t("betIssue")),1)]),_:1}),g(o,{span:"15"},{default:N(()=>[H(a(s.$t("number")),1)]),_:1})]),_:1})]),t("div",Gn,[e.EmerdList.length?(i(!0),c(P,{key:0},R(e.EmerdList,(n,m)=>(i(),c("div",{key:m,IssueNumber:n.issueNumber,Number:n.number,Colour:n.colour,rowId:n.rowId},[g(r,null,{default:N(()=>[g(o,{span:"9"},{default:N(()=>[t("div",Mn,a(n.issueNumber),1)]),_:2},1024),g(o,{span:"15"},{default:N(()=>[t("div",En,[t("canvas",{canvas:"",id:"myCanvas"+n.rowId,ref_for:!0,ref:"canvas",class:"line-canvas"}
1,null,8,An),(i(),c(P,null,R(10,v=>t("div",{class:B(["Trend__C-body2-Num-item",{action:Number(n.number)==v-1}]),key:v},a(v-1),3)),64)),t("div",{class:B(["Trend__C-body2-Num-BS",{isB:Number(n.number)>4}])},a(Number(n.number)>4?"B":"S"),3),t("div",{class:B(["Trend__C-body2-Num-OE",{isE:Number(n.number)%2}])},a(Number(n.number)%2?"O":"E"),3)])]),_:2},1024)]),_:2},1024)],8,On))),128)):(i(),c("div",jn,[g(e.Empty)]))]),e.EmerdList.length?(i(),c("div",Fn,[t("div",{class:B(["Trend__C-foot-previous",{disabled:e.pageNo<=1}]),onClick:e.pPage},[g(f,{name:"arrow-left",class:"Trend__C-icon",size:"20"})],2),t("div",Hn,a(e.pageNo)+"/"+a(e.totalPage),1),t("div",{class:B(["Trend__C-foot-next",{disabled:e.pageNo>=e.totalPage}]),onClick:e.nPage},[g(f,{name:"arrow",class:"Trend__C-icon",size:"20"})],2)])):D("v-if",!0)])}const Vn=Z(yn,[["render",Wn],["__scopeId","data-v-9d93d892"],["__file","/home/jenkins/agent/workspace/AR093-Pages-india-jaiclub/src/components/Home/AllLotteryGames/FD/Trend.vue"]]),xn=U({__name:"premium",props:{sumCount:{type:Number,default:0},premium:{type:String,default:"00000"}},setup(s,{expose:u}){u();const l=s,e=W(()=>[...l.premium]),_=d(["A","B","C","D","E"]),y={prizeNumList:e,props:l,textMap:_};return Object.defineProperty(y,"__isScriptSetup",{enumerable:!1,value:!0}),y}}),qn=s=>(ae("data-v-f388b770"),s=s(),se(),s),zn={class:"FDP__C"},Un={class:"FDP__C-text"},Zn={class:"FDP__C-list"},Kn={class:"num"},Xn={class:"letter"},Qn=qn(()=>t("div",{class:"FDP__C-symbol"},"=",-1)),Jn={class:"FDP__C-sum"};function Yn(s,u,l,e,_,y){return i(),c("div",zn,[t("div",Un,a(s.$t("betResult")),1),t("div",Zn,[(i(!0),c(P,null,R(e.prizeNumList,(o,r)=>(i(),c("div",{key:r},[t("div",Kn,a(o),1),t("div",Xn,a(e.textMap[r]),1)]))),128))]),Qn,t("div",Jn,a(l.sumCount),1)])}const $n=Z(xn,[["render",Yn],["__scopeId","data-v-f388b770"],["__file","/home/jenkins/agent/workspace/AR093-Pages-india-jaiclub/src/components/Home/AllLotteryGames/FD/premium.vue"]]),ea=U({__name:"WinningTips",setup(s,{expose:u}){const l=W(()=>y.value[0]?y.value[0].state==0:!1),e=W(()=>y.value[0]||{}),_=d(!1),y=d([]),o=d(["A","B","C","D","E","SUM"]);let r=d();const f=()=>{clearTimeout(r.value),y.value.shift(),_.value&&y.value.length&&(r.value=setTimeout(()=>{f()},1e3*3))},n=()=>{_.value=!_.value,_.value?r.value=setTimeout(()=>{f()},1e3*3):clearTimeout(r.value)},m=C=>{C.list=C.premium.split(""),C.sum=C.sumCount,y.value.push(C),_.value&&(r.value=setTimeout(()=>{f()},1e3*3))},v=()=>{y.value=[]};u({showMark:m});const h={isL:l,tip:e,isThreeS:_,tipList:y,textList:o,get timer(){return r},set timer(C){r=C},clickMark:f,clickThreeS:n,showMark:m,closeBtn:v,get currency(){return we}};return Object.defineProperty(h,"__isScriptSetup",{enumerable:!1,value:!0}),h}}),ta=s=>(ae("data-v-e05c7c66"),s=s(),se(),s),na={key:1,class:"WinningTip__C-body-l1"},aa={class:"WinningTip__C-body-l2"},sa={class:"line1"},oa={class:"title"},ia={class:"num"},la=ta(()=>t("div",{class:"title sum"},"SUM",-1)),ra={class:"num"},ca={class:"WinningTip__C-body-l3"},da={key:0,class:"isLose"},ua={class:"head"},va={class:"bonus"},_a={class:"gameDetail"},ma={class:"WinningTip__C-body-l4"},pa=["onClick"];function fa(s,u,l,e,_,y){const o=x("van-icon");return ee((i(),c("div",{class:"WinningTip__C",onClick:e.clickMark},[t("div",{class:B(["WinningTip__C-body",{isL:e.isL}])},[e.isL?(i(),c("div",{key:0,class:B(["WinningTip__C-body-l1",{isL:e.isL}])},a(s.$t("k3WarningTip1")),3)):(i(),c("div",na,a(s.$t("k3WarningTip2")),1)),t("div",aa,[H(a(s.$t("betResult"))+" ",1),t("div",sa,[(i(!0),c(P,null,R(e.tip.list,(r,f)=>(i(),c("div",{key:f},[t("div",oa,a(e.textList[f]),1),t("div",ia,a(r),1)]))),128)),t("div",null,[la,t("div",ra,a(e.tip.sum),1)])])]),t("div",ca,[e.isL?(i(),c("div",da,a(s.$t("k3WarningTip3")),1)):(i(),c(P,{key:1},[t("div",ua,a(s.$t("k3WarningTip4")),1),t("div",va,a(e.currency(Number(e.tip.winAmount))),1)],64)),t("div",_a,[H(a(s.$t("k3WarningTip5"))+" "+a(e.tip.typeName)+" ",1),t("p",null,a(e.tip.issueNumber),1)])]),t("div",ma,[t("div",{class:B(["acitveBtn",{active:e.isThreeS}]),onClick:he(e.clickThreeS,["stop"])},null,10,pa),H(" "+a(s.$t("autoShutOff3s")),1)]),t("div",{class:"closeBtn",onClick:e.closeBtn}),ee(g(o,{name:"arrow",color:"#fff",size:"30px",class:"arrowBtn",onClick:he(e.clickMark,["stop"])},null,8,["onClick"]),[[ve,e.tipList.length>1]])],2)],512)),[[ve,e.tipList.length]])}const ga=Z(ea,[["render",fa],["__scopeId","data-v-e05c7c66"],["__file","/home/jenkins/agent/workspace/AR093-Pages-india-jaiclub/src/components/Home/AllLotteryGames/FD/WinningTips.vue"]]),ya=U({__name:"index",setup(s,{expose:u}){u();const l={GameRecord:gn,Trend:Vn,MyGameRecord:ot},e=d(),_=d(),y=d(),o=d(),r=d(!1),f=d("GameRecord"),n=We(),m=Ce();let v=Ve([]);const h=d(0),C=d(localStorage.getItem("volumeShow")||"1"),k=d(!1),I=d(null),T=d({gameNo:"loading",currentTime:"",beginTime:"",passTime:180,time1:0,time2:0,time3:0,time4:0}),L=d(5),K=d(""),q=d(!1),A=d(null),V=d("00000"),S=d(0),M=W(()=>m.fiveD[h.value]||{}),w=xe(),E=W(()=>w.getIsShowLotteryDragon),O=qe(),p=O.query.typeId;Pe(()=>{oe()}),ze(()=>{clearInterval(I.value),de.value.forEach(b=>{clearInterval(b)}
1),J.value&&clearTimeout(J.value)}),ne(()=>Ue().visibility,b=>{b===0?clearInterval(I.value):oe(h.value)});const z=()=>{n.go(-1),sessionStorage.setItem("clickedGameType","lottery")},X=()=>{C.value=="1"?C.value="2":C.value="1",localStorage.setItem("volumeShow",C.value)},De=b=>{n.push({name:b})},oe=async(b=null)=>{await m.get5DData(),v=m.get5D;const G=v.findIndex(j=>j.typeID==p);A.value==null&&!p?ie(0):ie(b??G)},me=async(b,G=!1)=>{const[j,F]=await Y(Ke({typeId:b}));V.value=F.premium,S.value=F.sumCount,G&&o.value.animationShow()},ie=b=>{m.get5DData(),h.value=b,A.value=v[b].typeID,le(A.value),_e(()=>{e.value.getData(A.value)})},le=async(b,G=!1)=>{me(b,G);const[j,F]=await Y(Ze({typeId:b}));T.value.gameNo=F.issueNumber,T.value.currentTime=F.serviceTime.replace(/-/g,"/"),T.value.beginTime=F.startTime.replace(/-/g,"/"),pe()},pe=()=>{if(!v.length)return;var b=new Date(T.value.currentTime).getTime(),G=new Date(T.value.beginTime).getTime();let j=(b-G)/1e3,F=v[h.value];if(j>F.intervalM*60&&(j=F.intervalM*60),T.value.passTime=F.intervalM*60-j,T.value.passTime<0){K.value="An error occurred, please contact customer serviceãThe game time is "+F.intervalM+" minutes,start time is "+T.value.beginTime+",current time is"+T.value.currentTime+"!",k.value=!0;return}fe()},fe=()=>{clearInterval(I.value),re(!1),I.value=setInterval(function(){re()},1e3)},re=(b=!0)=>{if(T.value.passTime<=L.value&&(q.value=!1),C.value=="1"&&(T.value.passTime<=L.value&&T.value.passTime>1?ce(1):T.value.passTime==1&&ce(2)),T.value.passTime>0){let G=T.value.passTime;T.value.time2=Math.floor(G/60),T.value.time3=Math.floor(G%60/10),T.value.time4=Math.floor(G%10),T.value.passTime--}else clearInterval(I.value),b&&ge()},ce=(b=1)=>{const G=document.getElementById(`voice${b}`);G&&(G.currentTime=0,G.play())},ge=()=>{le(A.value,!0),y.value.getWinsUserAmount(!1),e.value.getData(!0)},Q=d({}),de=d([]),Ne=b=>{if(y.value.getWinsUserAmount(!1),e.value.getData(),Q.value[b])return;Q.value[b]=!0;const{time1:G,time2:j,time3:F,time4:Ge}=T.value,Oe=(G*10*60+j*60+F*10+Ge)*1e3;de.value[M.value.intervalM]=setTimeout(()=>{ue(b)},Oe)},Re=b=>{r.value=b},J=d(null),ue=async b=>{const[G,j]=await Y(Xe({issueNumber:b}));if(j.data)if(j.data.state!=2)_.value.showMark(j.data),delete Q.value[b];else{J.value=setTimeout(()=>{ue(b)},2e3);return}},ye={GameRecordList:l,RecordComponent:e,WinningTipsRef:_,WallteRef:y,tiemLeftRef:o,BettingPS:r,gameComponent:f,router:n,lottery:m,get gameList(){return v},set gameList(b){v=b},currentGameIndex:h,VoiceType:C,showDialog:k,timeHandle:I,currentInfo:T,ProhibitBuyTime:L,dialogText:K,bettingDialog:q,typeid:A,premium:V,sumCount:S,currentGame:M,settingS:w,showChanglong:E,route:O,type_Id:p,backGo:z,setVoice:X,goPath:De,getGameList:oe,getlastOneEmerd:me,changeGame:ie,getGameIssue:le,passTime:pe,timeOutSubTime:fe,subTime:re,voicePlay:ce,reLoadAmonut:ge,checkObj:Q,tiemOutList:de,addBetting:Ne,changeBettingP:Re,setTime:J,checkWinTheLottery:ue,Wallte:at,GameList:nt,TimeLeft:Tt,Betting:sn,RecordNav:tt,noTiceBar:st,PremiumL:$n,WinningTips:ga,ChangLong:it,Dialog:lt,audioVue:et,get winGoGetEmerdList(){return Qe}};return Object.defineProperty(ye,"__isScriptSetup",{enumerable:!1,value:!0}),ye}}),ba={class:"FD__C"},ha={class:"FD__C-head-more"};function Ca(s,u,l,e,_,y){const o=x("NavBar");return i(),c("div",ba,[g(o,{"left-arrow":"",onClickLeft:e.backGo,class:"main",headLogo:!0},{right:N(()=>[t("div",ha,[t("div",{onClick:u[0]||(u[0]=r=>e.goPath("CustomerService"))}),t("div",{class:B({disableVoice:e.VoiceType=="2"}),onClick:e.setVoice},null,2)])]),_:1}),D(" é±å
ä½é¢ "),g(e.Wallte,{ref:"WallteRef"},null,512),g(e.noTiceBar,{key:"5d"}),D(" 游æç±»å "),g(e.GameList,{gameList:e.gameList,currentGameIndex:e.currentGameIndex,onChangeGame:e.changeGame},null,8,["gameList","currentGameIndex"]),g(e.PremiumL,{premium:e.premium,sumCount:e.sumCount},null,8,["premium","sumCount"]),D(" 游æå¼å§æ¶é´åè®¡æ¶ "),g(e.TimeLeft,{ref:"tiemLeftRef",currentInfo:e.currentInfo,premium:e.premium,currentGame:e.currentGame},null,8,["currentInfo","premium","currentGame"]),D(" ææ³¨è¡¨ "),g(e.Betting,{currentInfo:e.currentInfo,currentGame:e.currentGame,VoiceType:e.VoiceType,typeid:e.typeid,onBetting:e.addBetting,onChangeBettingP:e.changeBettingP},null,8,["currentInfo","currentGame","VoiceType","typeid"]),D(" è®°å½å¯¼èª "),g(e.RecordNav,{record:e.gameComponent,onChangeC:u[1]||(u[1]=r=>
1e.gameComponent=r)},null,8,["record"]),D(" 卿å±ç¤ºå¯¹åºçç»ä»¶ "),(i(),$(Ye,null,[(i(),$(Je(e.GameRecordList[e.gameComponent]),{ref:"RecordComponent",typeid:e.typeid,EmerdApi:e.winGoGetEmerdList,goPathName:"AllLotteryGames-BettingRecord5D"},null,8,["typeid","EmerdApi"]))],1024)),D(" å¼¹çªç»ä»¶ "),g(e.Dialog,{show:e.showDialog,onConfirm:u[2]||(u[2]=r=>e.goPath("/login"))},{content:N(()=>[t("div",null,a(e.dialogText),1)]),_:1},8,["show"]),D(" ä¸å¥æç¤ºç»ä»¶ "),g(e.WinningTips,{ref:"WinningTipsRef"},null,512),e.showChanglong?(i(),$(e.ChangLong,{key:0})):D("v-if",!0),g(e.audioVue)])}const Ra=Z(ya,[["render",Ca],["__scopeId","data-v-4f526022"],["__file","/home/jenkins/agent/workspace/AR093-Pages-india-jaiclub/src/views/home/AllLotteryGames/5D/index.vue"]]);export{Ra 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.