PageSourceSearch

https://dominobet.gg/build/assets/Refdata-DmsD2Tls.js

js dominobet.gg collected 2026-10-02 12:33:50 UTC 5,167 bytes, 1 lines download raw bytes

1import{l as v,u as N}from"./@inertiajs-7zqq8wgj.js";import D from"./Master-wTAMxpWO.js";import{_ as L}from"./app-WrJh2oTB.js";import{v as R,x as p,j as t,B as g,y,H as h,q as n,f as m,I as a,i as _,F as j,l as B,b as i,a as E}from"./@vue-4474Gfnj.js";import"./qs-C7saBnVC.js";import"./side-channel-BLCytySV.js";import"./es-errors-B3qLL4WI.js";import"./object-inspect--bXPCECa.js";import"./side-channel-list-BCZJqq54.js";import"./side-channel-map-D4vBmt7j.js";import"./get-intrinsic-DvtG1oIa.js";import"./es-object-atoms-BR76m4z7.js";import"./math-intrinsics-DP1tGiab.js";import"./gopd-C1lCZ5Qs.js";import"./es-define-property-D_7cP-M3.js";import"./has-symbols-BaUvM3gb.js";import"./get-proto-MZ3MALak.js";import"./dunder-proto-C6VzgWTX.js";import"./call-bind-apply-helpers-C9UlVOU4.js";import"./function-bind-CHqF18-c.js";import"./hasown-DwiY0sux.js";import"./call-bound-B0s5y60d.js";import"./side-channel-weakmap-Kf8cPeRJ.js";import"./axios-DjWHqwoD.js";import"./lodash-es-DY0-vtN4.js";import"./laravel-precognition-BqdyoEeO.js";import"./Header-DXMhoR7p.js";import"./InfoMarq-ch0ch5gJ.js";import"./laravel-vite-plugin-DEL3ZhID.js";import"./@iconify-DROonR5K.js";import"./vue-fast-marquee-CkwowO8X.js";import"./Footer-mKSrpPI9.js";/* empty css                                                               */const I={class:"red-box-cus container mx-auto px-2 pb-4"},S={class:"max-w-3xl mx-auto"},V={class:"flex w-1/2 mb-5 gap-2"},F={class:"border p-3 mb-4"},H={class:"flex items-center gap-2"},$={key:0,class:"break-all text-sm text-white"},K={key:1,class:"text-sm text-gray-500"},M={key:0,class:"copy-toast text-white"},O={class:"table-responsive rounded-md"},q=["innerHTML"],z={class:"ref-table w-full text-sm",style:{"font-size":"12px",color:"#000"}},A={key:0},G={class:"text-center"},P={class:"text-right"},U={class:"text-right"},J={class:"text-right"},Q={class:"text-right"},W={methods:{formatCurrency(s){let u=s;try{s&&typeof s=="object"&&"value"in s&&(u=s.value)}catch{u=s}const r=Number(u||0);return Number.isNaN(r)?"0":r}}},X=Object.assign(W,{__name:"Refdata",setup(s){const u=N(),r=i(()=>u.props.data_ref||{}),f=i(()=>u.props.auth.user.loginid),b=i(()=>f.value?`${window.location.origin}/ref/${f.value}`:""),c=i(()=>r.value.data&&r.value.data.data?r.value.data.data:[]),C=i(()=>r.value.data&&r.value.data.from?r.value.data.from:1),k=i(()=>c.value.reduce((o,e)=>o+(e.ttl||0),0)),w=i(()=>c.value.reduce((o,e)=>o+(e.cmm||0),0));function T(){const o=b.value;if(navigator.clipboard&&navigator.clipboard.writeText){navigator.clipboard.writeText(o).then(()=>{d.value="Copied",setTimeout(()=>d.value="",2e3)});return}const e=document.createElement("input");e.value=o,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),d.value="Copied",setTimeout(()=>d.value="",2e3)}const d=E("");return(o,e)=>(n(),R(D,{title:"RefData"},{default:p(()=>[t("div",I,[e[8]||(e[8]=t("div",{class:"text-center mb-6 border-b-2 border-neutral-800"},[t("h1",{class:"text-3xl font-bold p-2 inline-block maincolor"},"REFERRAL")],-1)),t("div",S,[t("div",V,[g(y(v),{class:"btn-cus bg-yellow-500 !text-black",href:o.route("refdata")},{default:p(()=>[...e[0]||(e[0]=[h("Data",-1)])]),_:1},8,["href"]),g(y(v),{class:"btn-cus bg-gray-600 hover:bg-gray-400",href:o.route("refcomm")},{default:p(()=>[...e[1]||(e[1]=[h("Komisi",-1)])]),_:1},8,["href"]),g(y(v),{class:"btn-cus bg-gray-600 hover:bg-gray-400",href:o.route("refreg")},{default:p(()=>[...e[2]||(e[2]=[h("Daftar",-1)])]),_:1},8,["href"])]),t("fieldset",F,[e[3]||(e[3]=t("legend",{class:"px-2 text-white"},"Link Referral:",-1)),t("div",H,[b.value?(n(),m("label",$,a(b.value),1)):(n(),m("span",K,"-")),t("button",{class:"btn-cus bg-white !text-black ml-auto cursor-pointer",onClick:T,type:"button"},"Copy")]),d.value?(n(),m("div",M,a(d.value),1)):_("",!0)]),t("div",O,[t("div",{innerHTML:r.value.paging,class:"mb-2"},null,8,q),t("table",z,[e[7]||(e[7]=t("thead",null,[t("tr",{class:"text-left"},[t("th",{class:"w-12 text-center !rounded-tl-md"},"#"),t("th",null,"User"),t("th",null,"Tgl. Daftar"),t("th",null,"Turn Over"),t("th",{class:"!rou
1nded-tr-md"},"Komisi")])],-1)),t("tbody",null,[c.value.length===0?(n(),m("tr",A,[...e[4]||(e[4]=[t("td",{colspan:"5",class:"py-4 text-center text-gray-600"},"No data",-1)])])):_("",!0),(n(!0),m(j,null,B(c.value,(l,x)=>(n(),m("tr",{key:x},[t("td",G,a(C.value+x),1),t("td",null,a(l.player),1),t("td",null,a(l.joindate?new Date(l.joindate).toLocaleDateString("id-ID"):"-"),1),t("td",null,a(l.ttl?o.formatCurrency(l.ttl):o.formatCurrency(0)),1),t("td",null,a(l.cmm?o.formatCurrency(l.cmm):o.formatCurrency(0)),1)]))),128))]),t("tfoot",null,[t("tr",null,[e[5]||(e[5]=t("td",{colspan:"3",class:"text-right"},[t("b",null,"SubTotal")],-1)),t("td",P,[t("b",null,a(o.formatCurrency(k.value)),1)]),t("td",U,[t("b",null,a(o.formatCurrency(w.value)),1)])]),t("tr",null,[e[6]||(e[6]=t("td",{colspan:"3",class:"text-right"},[t("b",null,"Grand Total")],-1)),t("td",J,[t("b",null,a(o.formatCurrency(r.value.ttl||0)),1)]),t("td",Q,[t("b",null,a(o.formatCurrency(r.value.cmm||0)),1)])])])])])])])]),_:1}))}}),Bt=L(X,[["__scopeId","data-v-4d71fd5b"]]);export{Bt as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.