PageSourceSearch

https://lapak303.com/build/assets/ForgetPassword-X9FDT5EU.js

js lapak303.com collected 2026-09-27 01:03:08 UTC 8,351 bytes, 1 lines download raw bytes

1import{o as q,A as N,v as P,x as k,j as o,q as p,f as d,I as b,i as x,G as L,B as r,y as s,L as M,F as A,l as R,P as T,p as $,H as F,a as v,b as I}from"./@vue-4474Gfnj.js";import E from"./Master-53xiF5jT.js";import{P as K}from"./PrimaryButton-C96Aoo-G.js";import{_ as u,a as c}from"./TextInput-hPSqJxED.js";import{a as z,u as j}from"./@inertiajs-7zqq8wgj.js";import{a as D}from"./axios-DjWHqwoD.js";import"./app-BkTqMVaL.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-DLhoaqMY.js";import"./InfoMarq-ch0ch5gJ.js";import"./modal-login-B6di99CS.js";import"./Footer-DrpXYL0N.js";/* empty css                                                               */import"./Sidebar-D7VuYtuo.js";import"./NotifButton-Mobile-DC_dE3iO.js";/* empty css                                                                           *//* empty css                                                */import"./Floating-DfpBtMAx.js";import"./SmartBanner-tZW8il8i.js";/* empty css                                                                    */const O={class:"page-content p-2"},Z={key:0,class:"mb-4 p-3 bg-red-600 rounded-lg text-sm"},G={key:1,class:"mb-4 p-3 bg-green-600 rounded-lg text-sm"},W={class:"flex w-full"},H={class:"flex items-center gap-2 w-8/12"},J={class:"flex w-full"},Q={class:"flex items-center gap-2 w-8/12"},X=["value","data-minlength","data-maxlength"],Y=["data-maxlength"],ee={class:"flex w-full"},te={class:"flex items-center gap-2 w-8/12"},ae={class:"flex w-full"},oe={class:"flex items-center gap-2 w-8/12"},ne={class:"flex w-full"},se={class:"flex items-center gap-2 w-8/12"},le={class:"flex flex-1 gap-2"},re={class:"flex w-full !mt-2"},ie={class:"items-center gap-2 mt-1 w-8/12"},me={class:"flex mt-1"},pe=["src"],ue={class:"flex flex-col items-center gap-4 pt-4"},tt={__name:"ForgetPassword",props:{tittleweb:String,listBank:Array},setup(V){const C=j(),y=I(()=>{var l;return((l=C.props.value)==null?void 0:l.flash)||{}}),h=v(!1),i=v(""),t=z({username:"",bankname:"",baname:"",bano:"",phone:"",captcha:""}),g=v("/captcha"),S=()=>{g.value="/captcha?v="+Date.now()},U=async()=>{var l;i.value="";try{const e={username:t.username,bankname:t.bankname,baname:t.baname,bano:t.bano,phone:t.phone,captcha:t.captcha},n=await D.post(route("password.forget.post"),e);if(n!=null&&n.data){if(n.data.error){i.value=n.data.error;return}if(n.data.success){i.value=n.data.success;return}}const m=(l=n.request)==null?void 0:l.responseURL;m&&m!==window.location.href&&(window.location.href=m)}catch(e){if(e.response&&e.response.data){const n=e.response.data;typeof n=="string"?i.value=n:n.error?i.value=n.error:n.message?i.value=n.message:i.value="Terjadi kesalahan. Silakan coba lagi."}else i.value="Terjadi kesalahan jaringan. Silakan periksa koneksi Anda."}},w=()=>{const l="/captcha/default";h.value=!0,g.value=l+"?_="+Math.random(),t.captcha=""};function _(l){var f;const e=document.querySelector("#the_bname option:checked");let n=(e==null?void 0:e.getAttribute("data-maxlength"))||20;const m=((f=document.querySelector("#the_bname"))==null?void 0:f.value)||"";document.querySelector("#the_baname");const a=document.querySelector("#the_bano");a&&(a.maxLength=n),m!=="BCA"?t.baname=t.baname.replace(/[^a-zA-Z .'\u00C0-\u024F]/g,""):t.baname.substr(0,3).toUpperCase().startsWith("GJK")?(t.baname=t.baname.replace(/[^a-zA-Z0-9-]/g,""),a&&(a.maxLength=20)):t.baname=t.baname.replace(/[^a-zA-Z .'\u00C0-\u024F]/g,"")}function B(){t.baname="",t.bano="";const l=document.querySelector("#the_bname option:checked"),e=(l==null?void 0:l.getAttribute("data-maxlength"))||20,n=document.querySelector("#the_bano");n&&(n.maxLength=e)}return q(()=>{S()}),(l,e)=>{const n=N("Icon");return p(),P(E,null,{default:k(({go:m})=>[o("div",O,[e[14]||(e[14]=o("label",{class:"ntf fs-13 !text-base"},"LUPA PASSWORD",-1)),e[15]||(e[15]=o("hr",{"data-v-560f7c10":"",class:"margin-0 tmargin-2 bmargin-3 bg-brown-panel"},null,-1)),i.value?(p(),d("div",Z,b(i.value),1)):x("",!0),y.value.success?(p(),d("div",G,b(y.value.success),1)):x("",!0),o("form",{class:"w-full !mt-4",role:"form",onSubmit:L(U,["prevent"])},[o("div",W,[r(u,{for:"username",value:"Username",class:"text-left w-3/12 my-auto"}),o("div",H,[r(c,{id:"username",type:"text",class:"bg-white mt-1 block w-full border-gray-700 py-1 px-0 text-sm",modelValue:s(t).username,"onUpdate:modelValue":e[0]||(e[0]=a=>s(t).username=a),placeholder:"Username Account Anda",maxlength:"10",required:"",autofocus:""},null,8,["modelValue"])])]),o("div",J,[r(u,{for:"bankname",value:"Nama Bank",class:"text-left w-3/12 my-auto"}),o("div",Q,[M(o("select",{name:"bankname",class:"bg-white mt-1 block w-full border-gray-700 rounded py-1 text-black",i
1d:"the_bname",required:"","onUpdate:modelValue":e[1]||(e[1]=a=>s(t).bankname=a),onChange:B},[e[11]||(e[11]=o("option",{value:""},"-- Pilih Bank --",-1)),(p(!0),d(A,null,R(V.listBank,(a,f)=>(p(),d(A,{key:f},[o("option",{value:a.bank.toUpperCase(),"data-minlength":a.minLength,"data-maxlength":a.maxLength},b(a.bankname),9,X),a.bank.includes("PERMATA")?(p(),d("option",{key:0,value:"KOSPINPERMATA","data-minlength":16,"data-maxlength":a.maxLength},"KOSPIN PERMATA",8,Y)):x("",!0)],64))),128))],544),[[T,s(t).bankname]])])]),o("div",ee,[r(u,{for:"the_baname",value:"Nama Rekening",class:"text-left w-3/12 my-auto"}),o("div",te,[r(c,{id:"the_baname",type:"text",class:"bg-white mt-1 block w-full border-gray-700 py-1 px-0 text-sm",modelValue:s(t).baname,"onUpdate:modelValue":e[2]||(e[2]=a=>s(t).baname=a),placeholder:"Nama Rekening Anda",maxlength:"50",required:"",onKeyup:_,onBlur:_},null,8,["modelValue"])])]),o("div",ae,[r(u,{for:"the_bano",value:"Nomor Rekening",class:"text-left w-3/12 my-auto"}),o("div",oe,[r(c,{id:"the_bano",type:"text",class:"bg-white mt-1 block w-full border-gray-700 py-1 px-0 text-sm",modelValue:s(t).bano,"onUpdate:modelValue":e[3]||(e[3]=a=>s(t).bano=a),placeholder:"Nomor Rekening Anda",maxlength:"16",required:"",onInput:e[4]||(e[4]=a=>s(t).bano=s(t).bano.replace(/[^0-9]/g,""))},null,8,["modelValue"])])]),o("div",ne,[r(u,{for:"phone",value:"No Telepon",class:"w-3/12 my-auto"}),o("div",se,[o("div",le,[e[12]||(e[12]=o("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)),r(c,{id:"phone",type:"text",class:"flex-1 bg-white border-gray-700",modelValue:s(t).phone,"onUpdate:modelValue":e[5]||(e[5]=a=>s(t).phone=a),onKeyup:e[6]||(e[6]=a=>s(t).phone=s(t).phone.replace(/[^0-9]/g,"").replace(/^0+/,"")),placeholder:"Nomor Telepon Anda",maxlength:"13",required:""},null,8,["modelValue"])])])]),o("div",re,[r(u,{for:"captcha",value:"Validation",class:"w-3/12 my-auto"}),o("div",ie,[r(c,{id:"captcha",type:"text",class:"w-full bg-white border-gray-700 text-sm",modelValue:s(t).captcha,"onUpdate:modelValue":e[7]||(e[7]=a=>s(t).captcha=a),onFocus:e[8]||(e[8]=a=>{s(t).captcha=""}),placeholder:"Captcha",maxlength:"5",onKeyup:e[9]||(e[9]=a=>s(t).captcha=s(t).captcha.replace(/[^0-9]/g,"")),required:""},null,8,["modelValue"]),o("div",me,[o("img",{src:g.value,alt:"Captcha",class:"h-10 rounded cursor-pointer",onClick:w,onLoad:e[10]||(e[10]=a=>h.value=!1)},null,40,pe),o("button",{type:"button",onClick:w,class:"text-[#f99f38] hover:text-[#ffb84d] transition-transform"},[r(n,{icon:"zondicons:reload",class:$({"animate-spin":h.value}),width:"28",height:"28"},null,8,["class"])])])])]),o("div",ue,[r(K,{class:"btn-cus btn-blue"},{default:k(()=>[...e[13]||(e[13]=[F(" SUBMIT ",-1)])]),_:1})])],32)])]),_:1})}}};export{tt 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.