PageSourceSearch

https://kioslapak303.org/build/assets/Register-lite-DnexRuiA.js

js kioslapak303.org collected 2026-10-08 10:28:35 UTC 12,944 bytes, 1 lines download raw bytes

1import{A as L,v as U,x as $,j as s,y as t,q as o,f as l,F as z,I as m,i as p,G as D,B as i,T as M,p as u,H as O}from"./@vue-4474Gfnj.js";import{_ as Z}from"./InputError-DRXmsDfx.js";import{_ as c,a as x}from"./TextInput-hPSqJxED.js";import{_ as G}from"./app-WrJh2oTB.js";import{u as H}from"./@inertiajs-7zqq8wgj.js";import J from"./Master-lite-DhapsSsa.js";import{u as Q}from"./useRegisterForm-BsoriDHr.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-lite-DCMrdFn0.js";import"./InfoMarq-ch0ch5gJ.js";import"./modal-login-B6di99CS.js";import"./Footer-lite-B8S7b8Kr.js";import"./Sidebar-lite-klDofIBn.js";import"./Floating-DfpBtMAx.js";const X={class:"page-content p-2"},Y={key:0,class:"success-inline-lite-mobile"},tt={key:0,class:"mb-4 p-3 bg-red-600 text-white rounded-lg text-sm"},et={class:"flex w-full"},st={class:"flex items-center gap-2 w-8/12"},at={class:"flex m-auto w-1/12 items-center justify-center"},ot={key:0,class:"animate-spin"},lt={key:1,class:"text-green-500 text-xl"},nt={key:2,class:"text-red-500 text-xl"},rt={class:"flex w-full !mt-2"},it={class:"flex items-center gap-2 w-8/12"},dt={class:"relative flex-1"},pt={key:0},mt={key:1},ut={class:"flex m-auto w-1/12 items-center justify-center"},ct={key:0,class:"animate-spin"},xt={key:1,class:"text-green-500 text-xl"},ft={key:2,class:"text-red-500 text-xl"},gt={key:0,class:"bg-white !mt-2 rounded-lg p-3 text-sm overflow-hidden"},wt={class:"space-y-1"},yt={class:"flex items-center gap-2"},ht={class:"flex items-center gap-2"},_t={class:"flex items-center gap-2"},bt={class:"flex items-center gap-2"},vt={class:"flex items-center gap-2"},kt={class:"flex w-full !mt-2"},Vt={class:"flex items-center gap-2 w-8/12"},Bt={class:"relative flex-1"},Ct={key:0},St={key:1},Pt={class:"flex m-auto w-1/12 items-center justify-center"},At={key:0,class:"animate-spin"},Ut={key:1,class:"text-green-500 text-xl"},$t={key:2,class:"text-red-500 text-xl"},Wt={class:"flex w-full !mt-2"},Nt={class:"flex items-center gap-2 w-8/12"},Rt={class:"flex m-auto w-1/12 items-center justify-center"},jt={key:0,class:"animate-spin"},It={key:1,class:"text-green-500 text-xl"},Kt={key:2,class:"text-red-500 text-xl"},qt={class:"flex w-full !mt-2"},Tt={class:"flex items-center gap-2 w-8/12"},Et={class:"flex flex-1 gap-2"},Ft={class:"flex m-auto w-1/12 items-center justify-center"},Lt={key:0,class:"animate-spin"},zt={key:1,class:"text-green-500 text-xl"},Dt={key:2,class:"text-red-500 text-xl"},Mt={class:"flex w-full !mt-2"},Ot={class:"flex items-center gap-2 w-8/12"},Zt={key:0,class:"flex-1 px-3 py-2 rounded-md text-black font-bold"},Gt={class:"flex m-auto w-1/12 items-center justify-center"},Ht={key:0,class:"animate-spin"},Jt={key:1,class:"text-green-500 text-xl"},Qt={key:2,class:"text-red-500 text-xl"},Xt={class:"flex w-full !mt-2"},Yt={class:"items-center gap-2 mt-1 w-8/12"},te={class:"flex mt-1"},ee=["src"],se={class:"space-y-2"},ae={class:"flex items-start gap-2 text-white text-sm"},oe={class:"italic text-sm text-black"},le={class:"flex flex-col items-center gap-4 pt-4"},ne=["disabled"],re={key:0,class:"animate-spin mr-2"},ie={__name:"Register-lite",props:{captchaSrc:{type:String,default:""},nonWWW:{type:String,default:""},tittleweb:{type:String,default:"Register"},ref:{type:String,default:""}},setup(h){var A;const _=h,g=((A=H().props)==null?void 0:A.ref)||"",{form:n,showPassword:b,showConfirmPassword:v,showPasswordCriteria:w,captchaSrc:W,showSuccessModal:N,alertMessage:k,isLoading:y,isRefreshingCaptcha:V,validations:r,passwordCriteria:d,onPasswordInput
1:R,onUsernameBlur:j,onPasswordBlur:I,onConfirmPasswordBlur:K,onEmailBlur:q,onPhoneBlur:T,onRefBlur:E,refreshCaptcha:f,togglePassword:B,toggleConfirmPassword:C,submit:S,handleSuccessOk:P}=Q({captchaSrc:_.captchaSrc||"/captcha/default",refValue:g||"",nonWWW:_.nonWWW||"",postRoute:"register.post"});return(pe,e)=>{const F=L("Icon");return o(),U(J,null,{default:$(({go:me})=>[s("div",X,[t(N)?(o(),l("div",Y,[e[22]||(e[22]=s("h2",{class:"success-title-lite-mobile"},"SUCCESS",-1)),e[23]||(e[23]=s("p",{class:"success-msg-lite-mobile"},"Selamat, Akun Anda telah berhasil Dibuat",-1)),s("button",{onClick:e[0]||(e[0]=(...a)=>t(P)&&t(P)(...a)),class:"btn-ok-lite-mobile"}," OK ")])):(o(),l(z,{key:1},[e[33]||(e[33]=s("label",{class:"ntf fs-13 !text-base"},"DAFTAR",-1)),e[34]||(e[34]=s("hr",{"data-v-560f7c10":"",class:"margin-0 tmargin-2 bmargin-3 bg-brown-panel"},null,-1)),t(k)?(o(),l("div",tt,m(t(k)),1)):p("",!0),s("form",{onSubmit:e[21]||(e[21]=D((...a)=>t(S)&&t(S)(...a),["prevent"])),class:"w-full !mt-4"},[s("div",et,[i(c,{for:"username",value:"Username",class:"text-left w-3/12 my-auto"}),s("div",st,[i(x,{id:"username",type:"text",class:"mt-1 block w-full bg-white border-gray-700 py-1 text-sm",modelValue:t(n).username,"onUpdate:modelValue":e[1]||(e[1]=a=>t(n).username=a),onBlur:t(j),onKeyup:e[2]||(e[2]=a=>t(n).username=t(n).username.replace(/[^a-zA-Z0-9_]/g,"")),placeholder:"Username Account Anda",maxlength:"10",required:"",autofocus:""},null,8,["modelValue","onBlur"])]),s("div",at,[t(r).username.loading?(o(),l("span",ot,"⏳")):t(r).username.status===!0?(o(),l("span",lt,"✓")):t(r).username.status===!1?(o(),l("span",nt,"✗")):p("",!0)])]),s("div",rt,[i(c,{for:"password",value:"Password",class:"text-left w-3/12 my-auto"}),s("div",it,[s("div",dt,[i(x,{id:"password",type:t(b)?"text":"password",class:"mt-1 block w-full bg-white border-gray-700 pr-10 text-sm",modelValue:t(n).password,"onUpdate:modelValue":e[3]||(e[3]=a=>t(n).password=a),onInput:e[4]||(e[4]=a=>t(R)(t(n).password)),onFocus:e[5]||(e[5]=a=>w.value=!0),onBlur:e[6]||(e[6]=a=>{w.value=!1,t(I)()}),placeholder:"Kata Sandi Account Anda (contoh : Ex@mple123)",required:""},null,8,["type","modelValue"]),s("button",{type:"button",onClick:e[7]||(e[7]=(...a)=>t(B)&&t(B)(...a)),class:"absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 hover:text-white"},[t(b)?(o(),l("span",pt,"👁️")):(o(),l("span",mt,"👁️‍🗨️"))])])]),s("div",ut,[t(r).password.loading?(o(),l("span",ct,"⏳")):t(r).password.status===!0?(o(),l("span",xt,"✓")):t(r).password.status===!1?(o(),l("span",ft,"✗")):p("",!0)])]),i(M,{"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:$(()=>[t(w)?(o(),l("div",gt,[s("ul",wt,[s("li",yt,[s("span",{class:u(t(d).minLength?"text-green-500":"text-red-500")},m(t(d).minLength?"✓":"✗"),3),e[24]||(e[24]=s("span",{class:"text-black"},"Password minimum 5 Digit",-1))]),s("li",ht,[s("span",{class:u(t(d).noSpace?"text-green-500":"text-red-500")},m(t(d).noSpace?"✓":"✗"),3),e[25]||(e[25]=s("span",{class:"text-black"},"Password tidak boleh spasi",-1))]),s("li",_t,[s("span",{class:u(t(d).startsAlphaNum?"text-green-500":"text-red-500")},m(t(d).startsAlphaNum?"✓":"✗"),3),e[26]||(e[26]=s("span",{class:"text-black"},"Password harus diawali huruf atau angka",-1))]),s("li",bt,[s("span",{class:u(t(d).noUsername?"text-green-500":"text-red-500")},m(t(d).noUsername?"✓":"✗"),3),e[27]||(e[27]=s("span",{class:"text-black"},"Password tidak boleh mengandung username",-1))]),s("li",vt,[s("span",{class:u(t(d).alphaNumCombo?"text-green-500":"text-red-500")},m(t(d).alphaNumCombo?"✓":"✗"),3),e[28]||(e[28]=s("span",{class:"text-black"},"Password harus kombinasi huruf dan angka",-1))])])])):p("",!0)]),_:1}),s("div",kt,[i(c,{for:"cpassword",value:"Konfirmasi Password",class:"text-left w-3/12 my-auto"}),s("div",Vt,[s("div",Bt,[i(x,{id:"cpassword",type:t(v)?"text":"password",class:"mt-1 block w-full bg-white border-gray-700 pr-10 text-sm",modelValue:t(n).cpassword,"onUpdate:modelValue":e[8]||(e[8]=a=>t(n).cpassword=a),onBlur:t(K),placeholder:"Konfirmasi Password Account Anda",required:""},null,8,["type","modelValue","onBlur"]),s("button",{type:"button",onClick:e[9]||(e[9]=(...a)=>t(C)&&t(C)(...a)),class:"absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 hover:text-white"},[t(v)?(o(),l("span",Ct,"👁️")):(o(),l("span",St,"👁️‍🗨️"))])])]),s("div",Pt,[t(r).cpassword.loading?(
1o(),l("span",At,"⏳")):p("",!0),t(r).cpassword.status===!0?(o(),l("span",Ut,"✓")):t(r).cpassword.status===!1?(o(),l("span",$t,"✗")):p("",!0)])]),s("div",Wt,[i(c,{for:"email",value:"Email",class:"w-3/12 my-auto"}),s("div",Nt,[i(x,{id:"email",type:"email",class:"mt-1 block w-full bg-white border-gray-700 text-sm",modelValue:t(n).email,"onUpdate:modelValue":e[10]||(e[10]=a=>t(n).email=a),onBlur:t(q),onKeyup:e[11]||(e[11]=a=>t(n).email=t(n).email.replace(/[^a-zA-Z0-9_.@]/g,"")),placeholder:"Email harus valid dan benar, [email protected]",maxlength:"40",required:""},null,8,["modelValue","onBlur"])]),s("div",Rt,[t(r).email.loading?(o(),l("span",jt,"⏳")):t(r).email.status===!0?(o(),l("span",It,"✓")):t(r).email.status===!1?(o(),l("span",Kt,"✗")):p("",!0)])]),s("div",qt,[i(c,{for:"phone",value:"No Telepon",class:"text-left w-3/12 my-auto"}),s("div",Tt,[s("div",Et,[e[29]||(e[29]=s("input",{type:"text",value:"+62",readonly:"",class:"w-12 text-sm px-3 py-2 bg-gray-600 border border-gray-700 rounded-md text-white cursor-not-allowed"},null,-1)),i(x,{id:"phone",type:"text",class:"flex-1 bg-white border-gray-700 text-sm",modelValue:t(n).phone,"onUpdate:modelValue":e[12]||(e[12]=a=>t(n).phone=a),onBlur:t(T),onKeyup:e[13]||(e[13]=a=>t(n).phone=t(n).phone.replace(/[^0-9]/g,"").replace(/^0+/,"")),placeholder:"Nomor Telepon Anda",maxlength:"13",required:""},null,8,["modelValue","onBlur"])])]),s("div",Ft,[t(r).phone.loading?(o(),l("span",Lt,"⏳")):t(r).phone.status===!0?(o(),l("span",zt,"✓")):t(r).phone.status===!1?(o(),l("span",Dt,"✗")):p("",!0)])]),s("div",Mt,[i(c,{for:"ref_text",value:"Referral",class:"w-3/12 my-auto"}),s("div",Ot,[t(g)?(o(),l("div",Zt,m(t(g).toUpperCase()),1)):(o(),U(x,{key:1,id:"ref_text",type:"text",class:"mt-1 block w-full bg-white border-gray-700 text-sm",modelValue:t(n).ref_text,"onUpdate:modelValue":e[14]||(e[14]=a=>t(n).ref_text=a),onBlur:t(E),placeholder:"Nama Referral *Ini tidak wajib diisi"},null,8,["modelValue","onBlur"]))]),s("div",Gt,[t(r).ref_text.loading?(o(),l("span",Ht,"⏳")):t(r).ref_text.status===!0?(o(),l("span",Jt,"✓")):t(r).ref_text.status===!1?(o(),l("span",Qt,"✗")):p("",!0)])]),s("div",Xt,[i(c,{for:"captcha",value:"Validation",class:"w-3/12 my-auto"}),s("div",Yt,[i(x,{id:"captcha",type:"text",class:"w-full bg-white border-gray-700 text-sm",modelValue:t(n).captcha,"onUpdate:modelValue":e[15]||(e[15]=a=>t(n).captcha=a),onFocus:e[16]||(e[16]=a=>{t(n).captcha=""}),placeholder:"Captcha",maxlength:"5",onKeyup:e[17]||(e[17]=a=>t(n).captcha=t(n).captcha.replace(/[^0-9]/g,"")),required:""},null,8,["modelValue"]),s("div",te,[s("img",{src:t(W),alt:"Captcha",class:"h-10 mr-3 rounded cursor-pointer",onClick:e[18]||(e[18]=(...a)=>t(f)&&t(f)(...a)),onLoad:e[19]||(e[19]=a=>V.value=!1)},null,40,ee),s("button",{type:"button",onClick:e[20]||(e[20]=(...a)=>t(f)&&t(f)(...a)),class:"text-[#f99f38] hover:text-[#ffb84d] transition-transform"},[i(F,{icon:"zondicons:reload",class:u({"animate-spin":t(V)}),width:"28",height:"28"},null,8,["class"])])])]),i(Z,{class:"mt-2 w-1/12",message:t(n).errors.captcha},null,8,["message"])]),s("div",se,[s("label",ae,[e[30]||(e[30]=s("input",{type:"checkbox",checked:"",class:"mt-1 rounded border-gray-600 bg-white"},null,-1)),s("span",oe,"Saya bersedia menerima email promosi "+m(h.nonWWW),1)]),e[31]||(e[31]=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 text-sm text-black"},"Saya setuju dengan peraturan yang berlaku.")],-1))]),s("div",le,[s("button",{type:"submit",class:u(["btn btn-green fs-normal regbtn",{"opacity-50 cursor-not-allowed":t(n).processing||t(y)}]),disabled:t(n).processing||t(y)},[t(y)?(o(),l("span",re,"⏳")):p("",!0),e[32]||(e[32]=O(" SUBMIT ",-1))],10,ne)])],32)],64))])]),_:1})}}},Je=G(ie,[["__scopeId","data-v-45b2e08d"]]);export{Je 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.