PageSourceSearch

https://dominobet.gg/build/assets/Register-DhEwWnqU.js

js dominobet.gg collected 2026-09-25 12:26:09 UTC 14,560 bytes, 1 lines download raw bytes

1import{A as Q,v as _,x as V,j as s,y as e,q as l,f as n,H as g,I as d,i as p,G as T,B as r,T as I,p as u,F as X,J as Y}from"./@vue-4474Gfnj.js";import{_ as c}from"./InputError-DRXmsDfx.js";import{_ as x,a as f}from"./TextInput-hPSqJxED.js";import{_ as ee}from"./app-CC255QP7.js";import{u as te}from"./@inertiajs-7zqq8wgj.js";import se from"./Master-C-BPO2ui.js";import{u as ae}from"./useRegisterForm-BIyMLPep.js";import"./axios-DjWHqwoD.js";import"./laravel-vite-plugin-DEL3ZhID.js";import"./@iconify-DROonR5K.js";import"./vue-fast-marquee-CkwowO8X.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"./lodash-es-DY0-vtN4.js";import"./laravel-precognition-BqdyoEeO.js";import"./Header-DricLq1r.js";import"./InfoMarq-ch0ch5gJ.js";import"./Footer-CfBK3qku.js";/* empty css                                                               */const oe={class:"red-box-cus container mx-auto px-2 pb-4"},le={key:0,class:"mb-4 p-3 bg-green-600 text-white rounded-lg text-sm text-center"},ne={key:1,class:"mb-4 p-3 bg-red-600 text-white rounded-lg text-sm"},re={class:"flex"},ie={class:"flex items-center gap-2 w-9/12"},de={class:"w-8 h-8 flex items-center justify-center"},pe={key:0,class:"animate-spin"},me={key:1,class:"text-green-500 text-xl"},ue={key:2,class:"text-red-500 text-xl"},ce={class:"flex"},xe={class:"flex items-center gap-2 w-9/12"},fe={class:"relative flex-1"},ge={key:0},we={key:1},be={class:"w-8 h-8 flex items-center justify-center"},ye={key:0,class:"animate-spin"},he={key:1,class:"text-green-500 text-xl"},ve={key:2,class:"text-red-500 text-xl"},ke={key:0,class:"bg-white rounded-lg p-3 text-sm overflow-hidden"},_e={class:"space-y-1"},Ve={class:"flex items-center gap-2"},Be={class:"flex items-center gap-2"},Ce={class:"flex items-center gap-2"},Pe={class:"flex items-center gap-2"},Se={class:"flex items-center gap-2"},Ae={class:"flex"},Ue={class:"flex items-center gap-2 w-9/12"},$e={class:"relative flex-1"},We={key:0},Ne={key:1},Re={class:"w-8 h-8 flex items-center justify-center"},je={key:0,class:"text-green-500 text-xl"},Ke={key:1,class:"text-red-500 text-xl"},Te={class:"flex"},Ie={class:"flex items-center gap-2 w-9/12"},qe={class:"w-8 h-8 flex items-center justify-center"},Fe={key:0,class:"animate-spin"},ze={key:1,class:"text-green-500 text-xl"},Ee={key:2,class:"text-red-500 text-xl"},Le={class:"flex"},Me={class:"flex items-center gap-2 w-9/12"},De={class:"flex flex-1 gap-2"},Oe={class:"w-8 h-8 flex items-center justify-center"},Ze={key:0,class:"animate-spin"},Ge={key:1,class:"text-green-500 text-xl"},He={key:2,class:"text-red-500 text-xl"},Je={class:"flex"},Qe={class:"flex items-center gap-2 w-9/12"},Xe={key:0,class:"flex-1 px-3 py-2 bg-white border border-gray-700 rounded-md text-white font-bold"},Ye={class:"w-8 h-8 flex items-center justify-center"},et={key:0,class:"animate-spin"},tt={key:1,class:"text-green-500 text-xl"},st={key:2,class:"text-red-500 text-xl"},at={class:"flex"},ot={class:"flex items-center gap-2 mt-1 w-9/12"},lt=["src"],nt={class:"space-y-2"},rt={class:"flex items-start gap-2 text-white text-sm"},it={class:"italic"},dt={class:"flex flex-col items-center gap-4 pt-4"},pt=["disabled"],mt={key:0,class:"animate-spin mr-2"},ut={__name:"Register",props:{captchaSrc:{type:String,default:""},nonWWW:{type:String,default:""},tittleweb:{type:String,default:"Register"}},setup(B){var R,j,K;const w=B,C=te(),h=(j=(R=C.props)==null?void 0:R.PassData)==null?void 0:j.domain,q=((K=C.props)==null?void 0:K.ref)||"",{form:o,showPassword:P,showConfirmPassword:S,showPasswordCriteria:v,captchaSrc:F,showSuccessModal:z,successMessage:E,alertMessage:A,isLoading:k,isRefreshingCaptcha:U,validations:i,passwordCriteria:m,onPasswordInput
1:L,onUsernameBlur:M,onPasswordBlur:D,onConfirmPasswordBlur:O,onEmailBlur:Z,onPhoneBlur:G,onRefBlur:H,refreshCaptcha:b,togglePassword:$,toggleConfirmPassword:W,submit:N,handleSuccessOk:y}=ae({captchaSrc:w.captchaSrc||"/captcha/default",refValue:q||"",nonWWW:w.nonWWW});return(ct,t)=>{const J=Q("Icon");return l(),_(se,{title:"Register"},{default:V(()=>[s("div",oe,[t[39]||(t[39]=s("div",{class:"text-center mb-6 border-b-2 border-neutral-800"},[s("h1",{class:"text-3xl font-bold maincolor p-2 inline-block"}," DAFTAR ")],-1)),e(E)?(l(),n("div",le,[g(d(e(h))+" - Pendaftaran Sukses",1),t[24]||(t[24]=s("br",null,null,-1)),t[25]||(t[25]=g(" Username : ",-1)),s("b",null,d(e(o).username),1),t[26]||(t[26]=s("br",null,null,-1)),g(" Silakan Login di "+d(e(h))+" ",1),t[27]||(t[27]=s("br",null,null,-1)),g(" Anda bisa melakukan deposit di website "+d(e(h)),1),t[28]||(t[28]=s("br",null,null,-1)),t[29]||(t[29]=g(" Terima Kasih ",-1))])):e(A)?(l(),n("div",ne,d(e(A)),1)):p("",!0),s("form",{onSubmit:t[20]||(t[20]=T((...a)=>e(N)&&e(N)(...a),["prevent"])),class:"space-y-4 w-7/12 mx-auto"},[s("div",re,[r(x,{for:"username",value:"Username",class:"text-white text-left w-2/12 my-auto"}),s("div",ie,[r(f,{id:"username",type:"text",class:"mt-1 block w-full text-black bg-white border-gray-700 py-1",modelValue:e(o).username,"onUpdate:modelValue":t[0]||(t[0]=a=>e(o).username=a),onBlur:e(M),autocomplete:"username",onKeyup:t[1]||(t[1]=a=>e(o).username=e(o).username.replace(/[^a-zA-Z0-9_]/g,"")),placeholder:"Username Account Anda",maxlength:"10",required:"",autofocus:""},null,8,["modelValue","onBlur"]),s("div",de,[e(i).username.loading?(l(),n("span",pe,"⏳")):e(i).username.status===!0?(l(),n("span",me,"✓")):e(i).username.status===!1?(l(),n("span",ue,"✗")):p("",!0)])]),r(c,{class:"mt-2 w-1/12",message:e(o).errors.username},null,8,["message"])]),s("div",ce,[r(x,{for:"password",value:"Password",class:"text-white text-left w-2/12 my-auto"}),s("div",xe,[s("div",fe,[r(f,{id:"password",type:e(P)?"text":"password",class:"mt-1 block w-full text-black bg-white border-gray-700 pr-10",modelValue:e(o).password,"onUpdate:modelValue":t[2]||(t[2]=a=>e(o).password=a),autocomplete:"new-password",onInput:t[3]||(t[3]=a=>e(L)(e(o).password)),onFocus:t[4]||(t[4]=a=>v.value=!0),onBlur:t[5]||(t[5]=a=>{v.value=!1,e(D)()}),placeholder:"Kata Sandi Account Anda (contoh : Ex@mple123)",required:""},null,8,["type","modelValue"]),s("button",{type:"button",onClick:t[6]||(t[6]=(...a)=>e($)&&e($)(...a)),class:"absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 hover:text-white"},[e(P)?(l(),n("span",ge,"👁️")):(l(),n("span",we,"👁️‍🗨️"))])]),s("div",be,[e(i).password.loading?(l(),n("span",ye,"⏳")):e(i).password.status===!0?(l(),n("span",he,"✓")):e(i).password.status===!1?(l(),n("span",ve,"✗")):p("",!0)])]),r(c,{class:"mt-2 w-1/12",message:e(o).errors.password},null,8,["message"])]),r(I,{"enter-active-class":"transition-all duration-300 ease-out","enter-from-class":"opacity-0 max-h-0","enter-to-class":"opacity-100 max-h-48","leave-active-class":"transition-all duration-200 ease-in","leave-from-class":"opacity-100 max-h-48","leave-to-class":"opacity-0 max-h-0"},{default:V(()=>[e(v)?(l(),n("div",ke,[s("ul",_e,[s("li",Ve,[s("span",{class:u(e(m).minLength?"text-green-500":"text-red-500")},d(e(m).minLength?"✓":"✗"),3),t[30]||(t[30]=s("span",{class:"text-black"},"Password minimum 5 Digit",-1))]),s("li",Be,[s("span",{class:u(e(m).noSpace?"text-green-500":"text-red-500")},d(e(m).noSpace?"✓":"✗"),3),t[31]||(t[31]=s("span",{class:"text-black"},"Password tidak boleh spasi",-1))]),s("li",Ce,[s("span",{class:u(e(m).startsAlphaNum?"text-green-500":"text-red-500")},d(e(m).startsAlphaNum?"✓":"✗"),3),t[32]||(t[32]=s("span",{class:"text-black"},"Password harus diawali huruf atau angka",-1))]),s("li",Pe,[s("span",{class:u(e(m).noUsername?"text-green-500":"text-red-500")},d(e(m).noUsername?"✓":"✗"),3),t[33]||(t[33]=s("span",{class:"text-black"},"Password tidak boleh mengandung username",-1))]),s("li",Se,[s("span",{class:u(e(m).alphaNumCombo?"text-green-500":"text-red-500")},d(e(m).alphaNumCombo?"✓":"✗"),3),t[34]||(t[34]=s("span",{class:"text-black"},"Password harus kombinasi huruf dan angka",-1))])])])):p("",!0)]),_:1}),s("div",Ae,[r(x,{for:"cpassword",value:"Konfirmasi Password",class:"text-white w-2/12 my-auto"}),s("div",Ue,[s("div",$e,[r(f,{id:"cpassword",type:e(S)?"text":"password",class:"mt-1 block w-full text-black bg-white border-gray-700 pr-10",modelValue:e(o).cpassword,"onUpdate:modelValue":t[7]||(t[7]=a=>e(o).cpassword=a),autocomplete:"new-password",onBlur:e(O),placeholder:"Konfirmasi Password Account Anda",required:""},null,8,["type","modelValue","onBlur"]),s("button",{type:"button",onClick:t[8]||(t[8]=(...a)=>e(W)&&e(W)(...a)),class:"absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 hover:text-white"},[e(S)?(l(),n("span",We,"👁️")):(l(),n("span",Ne,"👁️‍🗨️"))])]),s("div",Re,[e(i).cpassword.status===!0?(l(),n("span",je,"✓")):e(i).cpassword.status===!1?(l(),n("span",Ke,"✗")):p("",!0)])]),r(c,{class:"mt-2 w-1/12",message:e(o).errors.cpassword},null,8,["message"])]),s("div",Te,[r(x,{for:"email",value:"Email",class:"text-white w-2/12 my-auto"}),s("div",Ie,[r(f,{id:"email",type:"email",class:"mt-1 block w-full text-black bg-white border-gray-700",modelValue:e(o).email,"onUpdate:modelValue":t[9]||(t[9]=a=>e(o).email=a),onBlur:e(Z),autocomplete:"email",onKeyup:t[10]||(t[10]=a=>e(o).email=e(o).email.replace(/[^a-zA-Z0-9_.@]/g,"")),placeholder:"Email harus valid dan benar, [email protected]",maxlength:"40",required:""},null,8,["modelValue","onBlur"]),s("div",qe,[e(i).email.loading?(l(),n("span",Fe,"⏳")):e(i).email.status===!0?(l(),n("span",ze,"✓")):e(i).email.status===!1?(l(),n("span",Ee,"✗")):p("",!0)])]),r(c,{class:"mt-2 w-1/12",message:e(o).errors.email},null,8,["message"])]),s("div",Le,[r(x,{for:"phone",value:"No Telepon",class:"text-white w-2/12 my-auto"}),s("div",Me,[s("div",De,[t[35]||(t[35]=s("input",{type:"text",value:"+62",readonly:"",class:"w-16 px-3 py-2 bg-gray-600 border border-gray-700 rounded-md text-white cursor-not-allowed"},null,-1)),r(f,{id:"phone",type:"text",class:"flex-1 text-black bg-white border-gray-700",modelValue:e(o).phone,"onUpdate:modelValue":t[11]||(t[11]=a=>e(o).phone=a),onBlur:e(G),autocomplete:"tel",onKeyup:t[12]||(t[12]=a=>e(o).phone=e(o).phone.replace(/[^0-9]/g,"").replace(/^0+/,"")),placeholder:"Nomor Telepon Anda",maxlength:"13",required:""},null,8,["modelValue","onBlur"])]),s("div",Oe,[e(i).phone.loading?(l(),n("span",Ze,"⏳")):e(i).phone.status===!0?(l(),n("span",Ge,"✓")):e(i).phone.status===!1?(l(),n("span",He,"✗")):p("",!0)])]),r(c,{class:"mt-2 w-1/12",message:e(o).errors.phone},null,8,["message"])]),s("div",Je,[r(x,{for:"ref_text",value:"Referral",class:"text-white w-2/12 my-auto"}),s("div",Qe,[w.ref?(l(),n("div",Xe,d(w.ref.toUpperCase()),1)):(l(),n(X,{key:1},[r(f,{id:"ref_text",type:"text",class:"mt-1 block w-full text-black bg-white border-gray-700",modelValue:e(o).ref_text,"onUpdate:modelValue":t[13]||(t[13]=a=>e(o).ref_text=a),onBlur:e(H),autocomplete:"off",placeholder:"Nama Referral *Ini tidak wajib diisi"},null,8,["modelValue","onBlur"]),s("div",Ye,[e(i).ref_text.loading?(l(),n("span",et,"⏳")):e(i).ref_text.status===!0?(l(),n("span",tt,"✓")):e(i).ref_text.status===!1?(l(),n("span",st,"✗")):p("",!0)])],64))]),w.ref?p("",!0):(l(),_(c,{key:0,class:"mt-2 w-1/12",message:e(o).errors.ref_text},null,8,["message"]))]),s("div",at,[r(x,{for:"captcha",value:"Validation",class:"text-white w-2/12 my-auto"}),s("div",ot,[r(f,{id:"captcha",type:"text",class:"w-40 text-black bg-white border-gray-700",modelValue:e(o).captcha,"onUpdate:modelValue":t[14]||(t[14]=a=>e(o).captcha=a),onFocus:t[15]||(t[15]=a=>{e(o).captcha=""}),autocomplete:"off",placeholder:"Captcha",maxlength:"5",onKeyup:t[16]||(t[16]=a=>e(o).captcha=e(o).captcha.replace(/[^0-9]/g,"")),required:""},null,8,["modelValue"]),s("img",{src:e(F),alt:"Captcha",class:"h-10 rounded cursor-pointer",onClick:t[17]||(t[17]=(...a)=>e(b)&&e(b)(...a)),onLoad:t[18]||(t[18]=a=>U.value=!1)},null,40,lt),s("button",{type:"button",onClick:t[19]||(t[19]=(...a)=>e(b)&&e(b)(...a)),class:"text-[#f99f38] hover:text-[#ffb84d] transition-transform"},[r(J,{icon:"zondicons:reload",class:u({"animate-spin":e(U)}),width:"20",height:"20"},null,8,["class"])])]),r(c,{class:"mt-2 w-1/12",message:e(o).errors.captcha},null,8,["message"])]),s("div",nt,[s("label",rt,[t[36]||(t[36]=s("input",{type:"checkbox",checked:"",class:"mt-1 rounded border-gray-600 bg-white"},null,-1)),s("span",it,"Saya bersedia menerima email promosi "+d(B.nonWWW),1)]),t[37]||(t[37]=s("label",{class:"flex items-start gap-2 text-white text-sm"},[s("input",{type:"checkbox",checked:"",class:"mt-1 rounded border-gray-600 bg-white"}),s("span",{class:"italic"},"Saya setuju dengan peraturan yang berlaku.")],-1))]),s("div",dt,[s("button",{type:"submit",class:u(["btn-cus btn-blue",{"opacity-50 cursor-not-allowed":e(o).processing||e(k)}]),disabled:e(o).processing||e(k)},[e(k)?(l(),n("span",mt,"⏳")):p("",!0),t[38]||(t[38]=g(" SUBMIT ",-1))],10,pt)])],32)]),(l(),_(Y,{to:"body"},[r(I,{"enter-active-class":"transition-opacity duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity duration-200","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:V(()=>[e(z)?(l(),n("div",{key:0,class:"fixed inset-0 bg-black/60 z-50 flex items-center justify-center p-4",onClick:t[23]||(t[23]=(...a)=>e(y)&&e(y)(...a))},[s("div",{class:"bg-white rounded-xl p-8 text-center max-w-sm w-full shadow-2xl animate-bounce-in",onClick:t[22]||(t[22]=T(()=>{},["stop"]))},[t[40]||(t[40]=s("div",{class:"text-6xl text-green-500 mb-4 animate-bounce"},"✔",-1)),t[41]||(t[41]=s("h2",{class:"text-2xl font-bold text-gray-800 mb
1-2"},"Selamat!",-1)),t[42]||(t[42]=s("p",{class:"text-gray-600 mb-6"},"Akun Anda berhasil dibuat.",-1)),s("button",{onClick:t[21]||(t[21]=(...a)=>e(y)&&e(y)(...a)),class:"bg-green-500 hover:bg-green-600 text-white font-bold py-3 px-8 rounded-lg transition-colors"}," OK ")])])):p("",!0)]),_:1})]))]),_:1})}}},Jt=ee(ut,[["__scopeId","data-v-6e9df8c3"]]);export{Jt 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.