PageSourceSearch

https://www.dunkindonuts.co.kr/build/assets/UpdatePasswordForm-e6b8b4a1.js

js dunkindonuts.co.kr collected 2026-09-24 22:29:31 UTC 2,127 bytes, 1 lines download raw bytes

1import{r as i,G as f,j as r,a as t}from"./app-de874c55.js";import{I as p}from"./input-c01b5075.js";import{L as u}from"./label-1660feba.js";import{B as h}from"./button-497dfebc.js";import"./card-0d93e8e4.js";import{u as _}from"./index-0467f6fa.js";import"./index-4180030f.js";import"./index-4bb9a49c.js";function l({message:o,className:a=""}){return o?r("p",{className:"text-sm text-red-600 "+a,children:o}):null}function S({className:o}){const a=i.useRef(),m=i.useRef(),{data:n,setData:d,errors:e,put:w,reset:c,processing:v,recentlySuccessful:g}=f({current_password:"",password:"",password_confirmation:""});return r("div",{className:o,children:t("form",{onSubmit:s=>{s.preventDefault(),w(route("password.update"),{preserveScroll:!0,onSuccess:()=>{_.success("비밀번호가 변경되었습니다."),c()},onError:()=>{e.password&&(c("password","password_confirmation"),a.current.focus()),e.current_password&&(c("current_password"),m.current.focus())}})},className:"space-y-6",children:[t("div",{children:[r(u,{htmlFor:"current_password",children:"현재 비밀번호"}),r(p,{id:"current_password",ref:m,value:n.current_password,onChange:s=>d("current_password",s.target.value),type:"password",className:"mt-1 block w-full text-muted-foreground",autoComplete:"current-password"}),r(l,{message:e.current_password,className:"mt-2"})]}),t("div",{children:[r(u,{htmlFor:"password",children:"새 비밀번호"}),r(p,{id:"password",ref:a,value:n.password,onChange:s=>d("password",s.target.value),type:"password",className:"mt-1 block w-full text-muted-foreground",autoComplete:"new-password"}),r(l,{message:e.password,className:"mt-2"})]}),t("div",{children:[r(u,{htmlFor:"password_confirmation",children:"새 비밀번호 확인"}),r(p,{id:"password_confirmation",value:n.password_confirmation,onChange:s=>d("password_confirmation",s.target.value),type:"password",className:"mt-1 block w-full text-muted-foreground",autoComplete:"new-password"}),r(l,{message:e.password_confirmation,className:"mt-2"})]}),r("div",{className:"flex justify-end",children:r(h,{className:"justify-center",children:"확인"})})]})})}export{S 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.