import{V as G,Q as R,r as $,W as g,m as o,X as y,Y as k,o as n,p as e,aj as i,Z as a,ad as c,N as l,aL as N,ap as T,$ as w}from"./common.modules-adc6b33e.js";import{c as d,I as A,_ as B}from"./page-activity-ActivityDetail-b9249b49.js";window.getBuildInfo=function(){return{buildTime:"4/17/2025, 12:09:57 PM",branch:" commitId:8bf9f27a915f5dcd9b9436e446b585b05218b863"}};const I={class:"MyGameRecordList__C"},V=["onClick"],j={class:"MyGameRecordList__C-item-m"},D={class:"MyGameRecordList__C-item-m-top"},E={class:"MyGameRecordList__C-item-m-bottom"},W={key:0,class:"MyGameRecordList__C-detail"},q={class:"MyGameRecordList__C-detail-text"},z={key:0,class:"MyGameRecordList__C-detail-line"},F=["onClick"],H={class:"MyGameRecordList__C-detail-line"},O={class:"MyGameRecordList__C-detail-line"},P={class:"MyGameRecordList__C-detail-line"},Q={class:"MyGameRecordList__C-detail-line"},S={class:"red"},X={class:"MyGameRecordList__C-detail-line"},Y={class:"MyGameRecordList__C-detail-line"},Z={key:0},J={class:"MyGameRecordList__C-inlineB"},K={key:0,class:"MyGameRecordList__C-inlineB purpleColor"},U={key:1},x={class:"MyGameRecordList__C-detail-line"},ee={class:"MyGameRecordList__C-detail-line"},se={key:1},te={class:"MyGameRecordList__C-detail-line"},ae={key:1},oe={class:"MyGameRecordList__C-detail-line"},ne=G({__name:"MayrecordList",props:{mayrecord:{type:Array,required:!0}},setup(v){const{t:r}=R(),_=$(-1),p=t=>{switch(t){case"big":return"big";case"green":case"red":case"violet":return"";default:return t}},C=t=>{switch(t%2){case 1:return r("greenColor");default:return r("redColor")}},M=t=>{switch(t%2){case 1:return"greenColor";default:return"redColor"}},h=t=>{switch(t){case"small":return r("small");case"big":return r("big");case"green":return r("green");case"violet":return r("purpleColor");case"red":return r("redColor");default:return t}},b=t=>{_.value==t?_.value=-1:_.value=t};return(t,m)=>{const f=g("svg-icon");return n(),o("div",I,[(n(!0),o(y,null,k(t.mayrecord,(s,u)=>(n(),o(y,{key:u},[e("div",{class:"MyGameRecordList__C-item",onClick:N(L=>b(u),["stop","prevent"])},[e("div",{class:i(["MyGameRecordList__C-item-l",["MyGameRecordList__C-item-l-"+s.selectType]])},a(p(s.selectType)),3),e("div",j,[e("div",D,a(s.issueNumber),1),e("div",E,a(s.addTime),1)]),s.profitAmount?(n(),o("div",{key:0,class:i(["MyGameRecordList__C-item-r",{success:s.state}])},[s.profitAmount?(n(),o("div",{key:0,class:i({success:s.state})},a(s.state?t.$t("success"):t.$t("fail")),3)):c("v-if",!0),e("span",null,a(`${s.state?"+":"-"}${l(d)(s.profitAmount)}`),1)],2)):c("v-if",!0)],8,V),u==_.value?(n(),o("div",W,[e("div",q,a(t.$t("detailMay")),1),s.orderNumber?(n(),o("div",z,[e("span",null,a(t.$t("orderNoMay")),1),e("div",{onClick:L=>l(A)(s.orderNumber)},[T(a(s.orderNumber)+" ",1),w(f,{name:"copy"})],8,F)])):c("v-if",!0),e("div",H,[e("span",null,a(t.$t("issueMay")),1),e("div",null,a(s.issueNumber),1)]),e("div",O,[e("span",null,a(t.$t("amountMay")),1),e("div",null,a(l(d)(s.amount)),1)]),e("div",P,[e("span",null,a(t.$t("numMay")),1),e("div",null,a(s.betCount),1)]),e("div",Q,[e("span",null,a(t.$t("afterTaxAmount")),1),e("div",S,a(l(d)(s.realAmount)),1)]),e("div",X,[e("span",null,a(t.$t("tax")),1),e("div",null,a(l(d)(s.fee)),1)]),e("div",Y,[e("span",null,a(t.$t("resultMay")),1),s.number?(n(),o("div",Z,[e("div",J,a(s.number),1),e("div",{class:i(["MyGameRecordList__C-inlineB",[M(Number(s.number))]])},a(C(Number(s.number))),3),s.number==0||s.number==5?(n(),o("div",K,a(t.$t("purpleColor")),1)):c("v-if",!0),e("div",{class:i(["MyGameRecordList__C-inlineB",[Number(s.number)>4?"big":"small"]])},a(Number(s.number)>4?t.$t("big"):t.$t("small")),3)])):(n(),o("div",U,"--"))]),e("div",x,[e("span",null,a(t.$t("selectMay")),1),e("div",null,a(h(s.selectType)),1)]),e("div",ee,[e("span",null,a(t.$t("statusMay")),1),s.state!=2?(n(),o("div",{key:0,class:i([s.state?"green":"red"])},a(s.state?t.$t("success"):t.$t("fail")),3)):(n(),o("div",se,a(t.$t("k3RecordDesc9")),1))]),e("div",te,[e("span",null,a(t.$t("winOrLose")),1),s.state!=2?(n(),o("div",{key:0,class:i([s.state?"green":"red"])},a(`${s.state?"+":"-"} ${l(d)(s.profitAmount)}`),3)):(n(),o("div",ae,"--"))]),e("div",oe,[e("span",null,a(t.$t("createTime")),1),e("div",null,a(s.addTime),1)])])):c("v-if",!0)],64))),128))])}}});const le=B(ne,[["__scopeId","data-v-2faec5cb"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/components/Home/AllLotteryGames/WinGo/MayrecordList.vue"]]);export{le as M};
//# sourceMappingURL=MayrecordList-c95c652e.js.map
