import{G,z as R,r as $,H as g,I as o,K as y,M,N as r,J as a,ao as c,P as s,an as v,O as i,a_ as b,aA as d,Q as N}from"./common.modules-af1f85b9.js";import{c as l,L as T,_ as A}from"./page-activity-ActivityDetail-09e806d3.js";const E={class:"MyGameRecordList__C"},w=["onClick"],B={class:"MyGameRecordList__C-item-m"},O={class:"MyGameRecordList__C-item-m-top"},H={class:"MyGameRecordList__C-item-m-bottom"},I={key:0,class:"MyGameRecordList__C-detail"},V={class:"MyGameRecordList__C-detail-text"},D={key:0,class:"MyGameRecordList__C-detail-line"},S=["onClick"],z={class:"MyGameRecordList__C-detail-line"},F={class:"MyGameRecordList__C-detail-line"},j={class:"MyGameRecordList__C-detail-line"},q={class:"MyGameRecordList__C-detail-line"},J={class:"red"},K={class:"MyGameRecordList__C-detail-line"},P={class:"MyGameRecordList__C-detail-line"},Q={key:0,class:"numList"},U={key:1},W={class:"MyGameRecordList__C-detail-line"},X={class:"line1"},Y={class:"MyGameRecordList__C-detail-line"},Z={key:1},x={class:"MyGameRecordList__C-detail-line"},ee={key:1},se={class:"MyGameRecordList__C-detail-line"},te=G({__name:"MayrecordList",props:{mayrecord:{type:Array,required:!0}},setup(ae){const{t:_}=R(),u=$(-1),L=t=>["","A","B","C","D","E"][t],h=t=>{switch(t){case"L":return _("k3Small");case"O":return _("k3Odd");case"E":return _("k3Even");case"H":return _("k3Big");default:return t}},C=t=>{u.value==t?u.value=-1:u.value=t},f=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 k=g("svg-icon");return r(),o("div",E,[(r(!0),o(y,null,M(t.mayrecord,(e,m)=>(r(),o(y,{key:m},[a("div",{class:"MyGameRecordList__C-item",onClick:b(n=>C(m),["stop","prevent"])},[a("div",{class:c(["MyGameRecordList__C-item-l",["MyGameRecordList__C-item-l-"+e.selectType]])},s(f(e.selectType)),3),a("div",B,[a("div",O,s(e.issueNumber),1),a("div",H,s(e.addTime),1)]),e.profitAmount?(r(),o("div",{key:0,class:c(["MyGameRecordList__C-item-r",{success:e.state}])},[e.profitAmount?(r(),o("div",{key:0,class:c({success:e.state})},s(e.state?t.$t("success"):t.$t("fail")),3)):v("v-if",!0),a("span",null,s(`${e.state?"+":"-"}${i(l)(e.profitAmount)}`),1)],2)):v("v-if",!0)],8,w),m==u.value?(r(),o("div",I,[a("div",V,s(t.$t("detailMay")),1),e.orderNumber?(r(),o("div",D,[d(s(t.$t("orderNoMay"))+" ",1),a("div",{onClick:n=>i(T)(e.orderNumber)},[d(s(e.orderNumber)+" ",1),N(k,{name:"copy"})],8,S)])):v("v-if",!0),a("div",z,[d(s(t.$t("issueMay"))+" ",1),a("div",null,s(e.issueNumber),1)]),a("div",F,[d(s(t.$t("amountMay"))+" ",1),a("div",null,s(i(l)(e.amount)),1)]),a("div",j,[d(s(t.$t("numMay"))+" ",1),a("div",null,s(e.betCount),1)]),a("div",q,[d(s(t.$t("afterTaxAmount"))+" ",1),a("div",J,s(i(l)(e.realAmount)),1)]),a("div",K,[d(s(t.$t("tax"))+" ",1),a("div",null,s(i(l)(e.fee)),1)]),a("div",P,[d(s(t.$t("resultMay"))+" ",1),e.premium?(r(),o("div",Q,[(r(!0),o(y,null,M(e.premium,(n,p)=>(r(),o("div",{key:p},s(n),1))),128))])):(r(),o("div",U,"--"))]),a("div",W,[d(s(t.$t("selectMay"))+" ",1),a("div",X,[a("div",null,s(L(e.gameType)),1),(r(!0),o(y,null,M(e.selectType.split("|"),(n,p)=>(r(),o("div",{class:"num",key:p},s(h(n)),1))),128))])]),a("div",Y,[d(s(t.$t("statusMay"))+" ",1),e.state!=2?(r(),o("div",{key:0,class:c([e.state?"green":"red"])},s(e.state?t.$t("success"):t.$t("fail")),3)):(r(),o("div",Z,s(t.$t("unsettled")),1))]),a("div",x,[d(s(t.$t("winOrLose"))+" ",1),e.state!=2?(r(),o("div",{key:0,class:c([e.state?"green":"red"])},s(`${e.state?"+":"-"} ${i(l)(e.profitAmount)}`),3)):(r(),o("div",ee,"--"))]),a("div",se,[d(s(t.$t("createTime"))+" ",1),a("div",null,s(e.addTime),1)])])):v("v-if",!0)],64))),128))])}}});const ie=A(te,[["__scopeId","data-v-8bb41fd5"],["__file","/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/AllLotteryGames/FD/MayrecordList.vue"]]);export{ie as M};
