import{V as k,a0 as h,r as u,O as x,W as p,m as R,$ as i,ao as f,ad as T,p as c,an as B,N as F,b3 as w,o as _,aj as L,Z as A}from"./common.modules-adc6b33e.js";import{N as G}from"./page-home-AllGames-46186fc1.js";import{M as S}from"./MyGameRecord-7e10de76.js";import{ed as V,_ as D}from"./page-activity-ActivityDetail-b9249b49.js";import"./page-activity-Championship-4cc13bf8.js";import"./native/index-0b5e3b14.js";import"./en-8e350547.js";window.getBuildInfo=function(){return{buildTime:"4/17/2025, 12:09:57 PM",branch:" commitId:8bf9f27a915f5dcd9b9436e446b585b05218b863"}};const X={class:"TeamReport__C"},$={style:{"background-color":"#f7f8ff"}},j={class:"TeamReport__C-list"},M=k({__name:"index",setup(v){const s=h(),I=()=>{s.go(-1)},n=u(0),r=u([]),m=u();let b=s.currentRoute.value.query.areId,y=s.currentRoute.value.query.typeId;const l=x({bettingParentType:"",startDate:"",endDate:"",areId:"",typeId:""}),g=e=>{l.areId=e.item.areId,l.typeId=e.item.typeId,m.value.getData()};async function C(){let e=JSON.parse(sessionStorage.getItem("xosoList")||""),o=[];for(let a=0;a<e.areInfos.length;a++)for(let t=0;t<e.areInfos[a].areIssueNos.length;t++)e.areInfos[a].areIssueNos[t].type==2&&o.push({areId:e.areInfos[a].areId,typeId:e.areInfos[a].areIssueNos[t].code,nameCode:e.areInfos[a].areIssueNos[t].nameCode});r.value=o,r.value.length>0&&(n.value=r.value.findIndex(a=>a.areId==b&&a.typeId==y))}return C(),(e,o)=>{const a=p("NavBar"),t=p("van-sticky");return _(),R("div",X,[i(a,{"left-arrow":"",onClickLeft:I,"background-color":"linear-gradient(90deg, #F95959 0%, #FF9A8E 100%)",title:e.$t("fXosoTitle")},null,8,["title"]),i(t,{"offset-top":46,class:"bet-container-sticky"},{default:f(()=>[c("div",$,[i(G,{list:r.value,active:n.value,"onUpdate:active":o[0]||(o[0]=d=>n.value=d),tabClassName:"tabs",activeClassName:"tab_active",ref:"tabRefs",tabItemClassName:"funtab_item",onOnClickTab:g},{default:f(({item:d,index:N})=>[c("div",{class:L(["tab_item",{tab_active:N===n.value}])},[c("p",null,A(e.$t(`code${d.nameCode}`)),1)],2)]),_:1},8,["list","active"])])]),_:1}),T(" list "),c("div",j,[(_(),B(w,null,[i(S,{ref_key:"RecordComponent",ref:m,parmas:l,ApiFun:F(V),hasHead:!1,gVSs:"2"},null,8,["parmas","ApiFun"])],1024))])])}}});const K=D(M,[["__scopeId","data-v-24e1bb6f"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/views/home/AllLotteryGames/XoSoRecordF/index.vue"]]);export{K as default};
//# sourceMappingURL=index-385e12de.js.map
