import{_ as L}from"./index.vue_vue_type_style_index_0_lang-9szultRB.js";import{_ as V}from"./rules-CZum_cgE.js";import{b7 as I,O as N,aS as m,aT as c,bf as b,a$ as t,N as l,aY as r,ba as o,r as P,bg as p,b0 as s,b_ as n,bh as $,a_ as R,aX as O}from"./index-xnhGKCfe.js";import{c as u}from"./currency-DTUBf2lI.js";import{P as T}from"./index-97-mhYEo.js";import{_ as w}from"./Calendar-EypncXzN.js";import{u as E}from"./index-DjauAOzC.js";import"./pre-D84pmYLY.js";import"./useProtocol-DJp7lFWi.js";/* empty css              *//* empty css              */import"./index-Cg5w-ZTN.js";import"./use-refs-BMqUlC7z.js";import"./index-BPVaJMve.js";import"./use-route-ooe9RtXE.js";import"./utils-Di4DGPCO.js";import"./use-height-D2WRcW7G.js";const S={class:"container"},F={class:"body1 box_shadow_1"},M={class:"head"},W={class:"l"},X={class:"t"},Y={class:"b"},q={class:"r"},z={class:"content"},G={class:"title"},H={class:"item"},J={class:"item"},K={class:"item"},Q={class:"item"},U={class:"item"},Z={class:"green"},j={class:"rule-top"},x={class:"k"},tt={class:"red"},st={class:"k"},et={class:"k"},ot={class:"k"},nt={class:"rule-table"},it={class:"head"},at={class:"item"},ct={class:"item"},lt={class:"item"},_t={class:"item"},dt={class:"item"},rt={class:"item"},mt={class:"item"},pt={class:"item"},ut=I({__name:"index",setup(ht){const h=P(),{getDetail:g,setReportDate:k,commissionDetail:i,textList:y}=E();return N(()=>{g()}),(e,v)=>{const _=R,A=V,C=L;return c(),m(T,null,{default:b(()=>{var f;return[t("div",S,[l(w,{ref_key:"calendarRef",ref:h,onConfirm:v[0]||(v[0]=a=>o(k)(h.value)),type:"single",class:"calendar"},null,512),o(i)?(c(),r(p,{key:0},[t("div",F,[t("div",M,[t("div",W,[t("div",X,s(e.$t("t477")),1),t("div",Y,s(o(i).settlementTime),1)]),t("div",q,s(e.$t("t478")),1)]),t("div",z,[t("div",G,s(e.$t("t479")),1),t("div",H,[n(s(e.$t("t480"))+" ",1),t("span",null,s(o(i).rechargePeoples),1)]),t("div",J,[n(s(e.$t("t378"))+" ",1),t("span",null,s(o(i).rechargeAmount),1)]),t("div",K,[n(s(e.$t("t437"))+" ",1),t("span",null,s(o(i).totalBetOrderAmount),1)]),t("div",Q,[n(s(e.$t("t482"))+" ",1),t("span",null,s((f=o(i).reportDate)==null?void 0:f.split(" ")[0]),1)]),t("div",U,[n(s(e.$t("t483"))+" ",1),t("span",Z,s(o(u)(o(i).totalCommissioned)),1)])])]),(c(!0),r(p,null,$(o(i).rebateItems,(a,D)=>(c(),m(A,{title:o(y)[a.type],key:D},{default:b(()=>[t("div",j,[t("div",x,[l(_,{name:"icon_Annotation",iconClass:"icon"}),n(" "+s(e.$t("t405")),1),t("span",tt,"LV"+s(a.rebateLevel),1)]),t("div",st,[l(_,{name:"icon_Annotation",iconClass:"icon"}),n(" "+s(e.$t("t489")),1),t("span",null,s(a.betPeoples),1)]),t("div",et,[l(_,{name:"icon_Annotation",iconClass:"icon"}),n(" "+s(e.$t("t437")),1),t("span",null,s(o(u)(a.betOrderAmount)),1)]),t("div",ot,[l(_,{name:"icon_Annotation",iconClass:"icon"}),n(" "+s(e.$t("t483")),1),t("span",null,s(o(u)(a.rebateAmount)),1)])]),t("div",nt,[t("div",it,[t("div",at,s(e.$t("t490")),1),t("div",ct,s(e.$t("t437")),1),t("div",lt,s(e.$t("t386")),1),t("div",_t,s(e.$t("t491")),1)]),(c(!0),r(p,null,$(a.rebateWhereItemDetails,(d,B)=>(c(),r("div",{class:"th",key:B},[t("div",dt,"LV"+s(d.levelId),1),t("div",rt,s(d.orderAmount),1),t("div",mt,s(d.rebateRate)+"%",1),t("div",pt,s(d.rebateAmount),1)]))),128))])]),_:2},1032,["title"]))),128))],64)):(c(),m(C,{key:1}))])]}),_:1})}}}),Ot=O(ut,[["__scopeId","data-v-dab3740b"]]);export{Ot as default};
