import{U as R,P as $,r as b,V as g,m as o,W as y,X as p,o as i,p as a,ah as l,Y as s,ad as m,M as r,aM as T,ao as d,Z as A}from"./common.modules-7ef9f935.js";import{c as _,J as N,_ as w}from"./page-activity-ActivityDetail-6651511c.js";window.getBuildInfo=function(){return{buildTime:"3/28/2025, 7:06:51 PM",branch:"origin/masterBranch/main commitId:afb5d46f657248d3137decf21a49f44fbff20383"}};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"},F=["onClick"],P={class:"MyGameRecordList__C-detail-line"},j={class:"MyGameRecordList__C-detail-line"},q={class:"MyGameRecordList__C-detail-line"},z={class:"MyGameRecordList__C-detail-line"},J={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(f){const{t:n}=$(),u=b(-1),h=t=>["","A","B","C","D","E"][t],C=t=>{switch(t){case"L":return n("k3Small");case"O":return n("k3Odd");case"E":return n("k3Even");case"H":return n("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,p(t.mayrecord,(e,v)=>(i(),o(y,{key:v},[a("div",{class:"MyGameRecordList__C-item",onClick:T(c=>L(v),["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)):m("v-if",!0),a("span",null,s(`${e.state?"+":"-"}${r(_)(e.profitAmount)}`),1)],2)):m("v-if",!0)],8,E),v==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:c=>r(N)(e.orderNumber)},[d(s(e.orderNumber)+" ",1),A(G,{name:"copy"})],8,F)])):m("v-if",!0),a("div",P,[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",q,[d(s(t.$t("numMay"))+" ",1),a("div",null,s(e.betCount),1)]),a("div",z,[d(s(t.$t("afterTaxAmount"))+" ",1),a("div",J,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,p(e.premium,(c,M)=>(i(),o("div",{key:M},s(c),1))),128))])):(i(),o("div",Y,"--"))]),a("div",Z,[d(s(t.$t("selectMay"))+" ",1),a("div",K,[a("div",null,s(h(e.gameType)),1),(i(!0),o(y,null,p(e.selectType.split("|"),(c,M)=>(i(),o("div",{class:"num",key:M},s(C(c)),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)])])):m("v-if",!0)],64))),128))])}}});const re=w(ae,[["__scopeId","data-v-8bb41fd5"],["__file","/var/lib/jenkins/workspace/web-印度-ar050-daman-01/src/components/Home/AllLotteryGames/FD/MayrecordList.vue"]]);export{re as M};
//# sourceMappingURL=MayrecordList-d2e81ad1.js.map
