import{U as R,P as $,r as b,V as g,m as o,W as y,X as M,o as i,p as a,ag as l,Y as s,ac as v,M as r,aJ as T,an as d,Z as N}from"./common.modules-219f1756.js";import{c as _,J as w,_ as A}from"./page-activity-ActivityDetail-346b11b6.js";window.getBuildInfo=function(){return{buildTime:"3/15/2025, 9:01:28 PM",branch:" commitId:c8ca98fce6fc864cab311715d288030620d0dc9f"}};const B={class:"MyGameRecordList__C"},E=["onClick"],I={class:"MyGameRecordList__C-item-m"},O={class:"MyGameRecordList__C-item-m-top"},V={class:"MyGameRecordList__C-item-m-bottom"},D={key:0,class:"MyGameRecordList__C-detail"},H={class:"MyGameRecordList__C-detail-text"},S={key:0,class:"MyGameRecordList__C-detail-line"},j=["onClick"],F={class:"MyGameRecordList__C-detail-line"},J={class:"MyGameRecordList__C-detail-line"},P={class:"MyGameRecordList__C-detail-line"},q={class:"MyGameRecordList__C-detail-line"},z={class:"red"},U={class:"MyGameRecordList__C-detail-line"},W={class:"MyGameRecordList__C-detail-line"},X={key:0,class:"numList"},Y={key:1},Z={class:"MyGameRecordList__C-detail-line"},K={class:"line1"},Q={class:"MyGameRecordList__C-detail-line"},x={key:1},ee={class:"MyGameRecordList__C-detail-line"},se={key:1},te={class:"MyGameRecordList__C-detail-line"},ae=R({__name:"MayrecordList",props:{mayrecord:{type:Array,required:!0}},setup(h){const{t:c}=$(),u=b(-1),f=t=>["","A","B","C","D","E"][t],C=t=>{switch(t){case"L":return c("k3Small");case"O":return c("k3Odd");case"E":return c("k3Even");case"H":return c("k3Big");default:return t}},L=t=>{u.value==t?u.value=-1:u.value=t},k=t=>{switch(t){case"E":return"Even";case"O":return"Odd";case"H":return"Big";case"L":return"Small";default:return t}};return(t,oe)=>{const G=g("svg-icon");return i(),o("div",B,[(i(!0),o(y,null,M(t.mayrecord,(e,m)=>(i(),o(y,{key:m},[a("div",{class:"MyGameRecordList__C-item",onClick:T(n=>L(m),["stop","prevent"])},[a("div",{class:l(["MyGameRecordList__C-item-l",["MyGameRecordList__C-item-l-"+e.selectType]])},s(k(e.selectType)),3),a("div",I,[a("div",O,s(e.issueNumber),1),a("div",V,s(e.addTime),1)]),e.profitAmount?(i(),o("div",{key:0,class:l(["MyGameRecordList__C-item-r",{success:e.state}])},[e.profitAmount?(i(),o("div",{key:0,class:l({success:e.state})},s(e.state?t.$t("success"):t.$t("fail")),3)):v("v-if",!0),a("span",null,s(`${e.state?"+":"-"}${r(_)(e.profitAmount)}`),1)],2)):v("v-if",!0)],8,E),m==u.value?(i(),o("div",D,[a("div",H,s(t.$t("detailMay")),1),e.orderNumber?(i(),o("div",S,[d(s(t.$t("orderNoMay"))+" ",1),a("div",{onClick:n=>r(w)(e.orderNumber)},[d(s(e.orderNumber)+" ",1),N(G,{name:"copy"})],8,j)])):v("v-if",!0),a("div",F,[d(s(t.$t("issueMay"))+" ",1),a("div",null,s(e.issueNumber),1)]),a("div",J,[d(s(t.$t("amountMay"))+" ",1),a("div",null,s(r(_)(e.amount)),1)]),a("div",P,[d(s(t.$t("numMay"))+" ",1),a("div",null,s(e.betCount),1)]),a("div",q,[d(s(t.$t("afterTaxAmount"))+" ",1),a("div",z,s(r(_)(e.realAmount)),1)]),a("div",U,[d(s(t.$t("tax"))+" ",1),a("div",null,s(r(_)(e.fee)),1)]),a("div",W,[d(s(t.$t("resultMay"))+" ",1),e.premium?(i(),o("div",X,[(i(!0),o(y,null,M(e.premium,(n,p)=>(i(),o("div",{key:p},s(n),1))),128))])):(i(),o("div",Y,"--"))]),a("div",Z,[d(s(t.$t("selectMay"))+" ",1),a("div",K,[a("div",null,s(f(e.gameType)),1),(i(!0),o(y,null,M(e.selectType.split("|"),(n,p)=>(i(),o("div",{class:"num",key:p},s(C(n)),1))),128))])]),a("div",Q,[d(s(t.$t("statusMay"))+" ",1),e.state!=2?(i(),o("div",{key:0,class:l([e.state?"green":"red"])},s(e.state?t.$t("success"):t.$t("fail")),3)):(i(),o("div",x,s(t.$t("unsettled")),1))]),a("div",ee,[d(s(t.$t("winOrLose"))+" ",1),e.state!=2?(i(),o("div",{key:0,class:l([e.state?"green":"red"])},s(`${e.state?"+":"-"} ${r(_)(e.profitAmount)}`),3)):(i(),o("div",se,"--"))]),a("div",te,[d(s(t.$t("createTime"))+" ",1),a("div",null,s(e.addTime),1)])])):v("v-if",!0)],64))),128))])}}});const re=A(ae,[["__scopeId","data-v-8bb41fd5"],["__file","/usr/local/jenkins-prod/workspace/ar077-india-jalwa/src/components/Home/AllLotteryGames/FD/MayrecordList.vue"]]);export{re as M};
//# sourceMappingURL=MayrecordList-03363ee7.js.map
