import{V as P,a0 as T,r as o,F as z,W as c,m as u,p as a,$ as n,ao as D,aj as y,Z as C,ad as A,o as r,X as F,Y as V,an as G}from"./common.modules-adc6b33e.js";import{bf as S,A as j,dY as E,_ as H}from"./page-activity-ActivityDetail-b9249b49.js";import{M as Y}from"./MayrecordList-4d944c8f.js";import{F as U}from"./page-main-BetRecords-273e3827.js";import"./native/index-0b5e3b14.js";import"./en-8e350547.js";import"./page-activity-DailySignIn-37493f03.js";import"./page-activity-Championship-4cc13bf8.js";import"./page-home-AllGames-46186fc1.js";window.getBuildInfo=function(){return{buildTime:"4/17/2025, 12:09:57 PM",branch:" commitId:8bf9f27a915f5dcd9b9436e446b585b05218b863"}};const W={class:"BettingRecord5D__C"},X={class:"BettingRecord5D__C-head"},Z={class:"BettingRecord5D__C-nav"},$=["innerHTML"],q={class:"BettingRecord5D__C-list"},J={key:0,class:"BettingRecord5D__C-foot"},K={class:"BettingRecord5D__C-foot-page"},O=P({__name:"index",setup(B){const m=T(),p=S(),l=o(U),d=o([]),g=o(0),t=o(1),_=o(4),R=e=>{v.value=e.name,t.value=1,s()},v=o(0),s=async()=>{const e=await j(E({pageSize:20,pageNo:t.value,typeId:v.value}));d.value=(e==null?void 0:e.data.list)||[],_.value=(e==null?void 0:e.data.totalPage)||0},h=async()=>{await p.get5DData(),l.value=p.get5D,v.value=l.value[0].typeID,await s()};function w(){m.go(-1)}const k=()=>{t.value--,s()},L=()=>{t.value++,s()};return z(()=>{h()}),(e,f)=>{const x=c("NavBar"),N=c("van-tab"),I=c("van-tabs"),b=c("van-icon");return r(),u("div",W,[a("div",X,[n(x,{"left-arrow":"",onClickLeft:w,class:"main",title:"5D Lotre"})]),a("div",Z,[n(I,{active:g.value,"onUpdate:active":f[0]||(f[0]=i=>g.value=i),onClickTab:R},{default:D(()=>[(r(!0),u(F,null,V(l.value,(i,M)=>(r(),G(N,{key:M,name:i.typeID},{title:D(()=>[a("div",{innerHTML:i.typeName.replace(/<br ?\/?>/,"")},null,8,$)]),_:2},1032,["name"]))),128))]),_:1},8,["active"])]),a("div",q,[n(Y,{mayrecord:d.value},null,8,["mayrecord"])]),d.value.length?(r(),u("div",J,[a("div",{class:y(["BettingRecord5D__C-foot-previous",{disabled:t.value<=1}]),onClick:k},[n(b,{name:"arrow-left",class:"BettingRecord5D__C-icon",size:"20"})],2),a("div",K,C(t.value)+"/"+C(_.value),1),a("div",{class:y(["BettingRecord5D__C-foot-next",{disabled:t.value>=_.value}]),onClick:L},[n(b,{name:"arrow",class:"BettingRecord5D__C-icon",size:"20"})],2)])):A("v-if",!0)])}}});const re=H(O,[["__scopeId","data-v-8ab0e403"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/views/home/AllLotteryGames/BettingRecord5D/index.vue"]]);export{re as default};
//# sourceMappingURL=index-d5389b98.js.map
