PageSourceSearch

https://ufabet.mobile/react/assets/FormLiquid.BMdnR1Pg.js

js ufabet.mobile collected 2026-10-04 20:36:46 UTC 4,641 bytes, 1 lines download raw bytes

1import{r as C,j as s}from"./vendor-react.ELhBuE2q.js";import{f as m,W as t,J as $}from"./app-shared.CdUkAbk4.js";import{S as _}from"./SmartInput.DfKyFp4R.js";import{S as r}from"./TextBox.D9WGVcEh.js";import{C as h}from"./Correct.BodzphQ8.js";import{u as v}from"./useChangePassword.dV3Jaj_D.js";import"./vendor-ui.BSTRh9Ug.js";import"./vendor-i18n.DvM0XvO9.js";import"./vendor-router.aN8wpDPU.js";import"./vendor-moment.BLMuvzoS.js";import"./vendor-axios.NIGUFBhG.js";import"./useForm.CzjyTpF3.js";import"./validators.ClER9loN.js";import"./passwordRules.Cf8cmGql.js";import"./index.CL3JG3S5.js";import"./gVar.BMCpjf-P.js";function K({dataEvent:l,onClose:d}){const{t:e,user:w,formData:i,errors:a,handleInputChange:n,ExamPassword:g,submit:N,finishOnModal:p,hintColor:j,randomPasswordBox:b}=v(),{enabled:q,generated:u,onRandom:o,onCopy:c}=b;C.useEffect(()=>{p===!0&&d()},[p]);const y=[e("your_password_must_characters"),e("your_password_letters_and_numbers"),e("reset_password_rule_match")],x=l?"liquid_glass_lite":"liquid_glass";return s.jsx("div",{className:l?"m-auto max-w-[370px]":"w-full",children:s.jsxs(m,{styleName:"bg_container_changepw_liquid",className:"w-full flex flex-col gap-3",children:[l&&s.jsx(r,{styleName:"text_title_changepw_liquid",className:"text-center",label:e("change_password")}),q&&s.jsxs(m,{styleName:"bg_random_changepw_liquid",className:`${x} w-full flex flex-col gap-2.5 text-left`,children:[u?s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"w-full flex items-center justify-between gap-2 flex-wrap",children:[s.jsx("span",{className:"default_generated_random_changepw_liquid tracking-widest break-all",children:u}),s.jsx(t,{onClick:()=>c==null?void 0:c(),styleName:"btn_copy_changepw_liquid",className:"liquid_glass_lite flex-none cursor-pointer active:scale-95 transition-transform",label:e("copy")})]}),s.jsx("span",{className:"default_note_random_changepw_liquid block w-full",children:`*${e("random_password_note")}`})]}):s.jsx("span",{className:"default_hint_random_changepw_liquid block",children:e("random_password_hint")}),s.jsxs(t,{onClick:()=>o==null?void 0:o(),styleName:"btn_random_changepw_liquid",className:"liquid_glass_lite w-full flex items-center justify-center gap-1.5 cursor-pointer active:scale-[0.98] transition-transform",children:[s.jsx($,{size:16,strokeWidth:2.2,"aria-hidden":"true"}),s.jsx("span",{children:e("random_password")})]})]}),s.jsxs(m,{styleName:"bg_form_changepw_liquid",className:`${x} w-full flex flex-col gap-2 text-left`,children:[w.cust_status!==3&&s.jsxs(s.Fragment,{children:[s.jsx(r,{styleName:"text_label_changepw_liquid",className:"text-left",label:e("please_enter_the_old_password_correctly")}),s.jsx(_,{styleName:"change_password_liquid",className:"!mb-0",type:"password",name:"old_password",value:i.old_password,onChange:n,placeholder:e("old_password"),error:`${(a==null?void 0:a.old_password)||""}`}),s.jsx("span",{className:"default_hr_form_changepw_liquid block my-1"})]}),s.jsx(r,{styleName:"text_label_changepw_liquid",className:"text-left",label:e("set_new_password")}),s.jsx(_,{styleName:"change_password_liquid",className:"!mb-0",type:"password",name:"password",value:i.password,onChange:n,placeholder:e("set_new_password"),error:`${(a==null?void 0:a.password)||""}`}),s.jsx(r,{styleName:"text_label_changepw_liquid",className:"mt-1 text-left",label:e("confirm_password")}),s.jsx(_,{styleName:"change_password_liquid",className:"!mb-0",type:"password",name:"password_confirmation",value:i.password_confirmation,onChange:n,placeholder:e("password_confirmation"),error:`${(a==null?void 0:a.password_confirmation)||""}`}),s.jsx("span",{className:"default_hr_form_changepw_liquid block my-1"}),s.jsxs("ul",{className:"w-full flex flex-col gap-2",children:[y.map((k,f)=>s.jsxs("li",{className:"flex items-start gap-2",children:[s.jsx("span",{className:"flex-none mt-[1px]",children:s.jsx(h,{color:j(f)})}),s.jsx("span",{className:"default_check_form_changepw_liquid text-left",children:k})]},`changepw_check_${f}`)),s.jsxs("li",{className:"flex items-start gap-2",children:[s.jsx("span",{className:"flex-none mt-[1px]",children:s.jsx(h,{})}),s.jsxs("span",{className:"default_check_form_changepw_liquid text-left",children:[`*${e("exam_change_password")}`,s.jsx(g,{})]})]})]}),s.jsx(t,{onClick:()=>N(),styleName:"btn_submit_changepw_liquid",className:"w-full mt-2 cursor-pointer active:scale-[0.98] transition-transform",label:e("confirm")}),l&&s.jsx(t,{onClick:()=>d(),styleName:"btn_cancel_changepw_liquid",className:"liquid_glass_lite w-full cursor-pointer active:scale-[0.98] transition-transform",label:e("cancel")})]})]})})}export{K 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.