module.exports=[66718,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(68114);let e=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("input",{ref:e,className:(0,d.cn)("h-11 w-full min-w-0 rounded-md border border-[var(--border)] bg-white px-3 text-sm text-[var(--ink)] outline-none placeholder:text-[var(--ink-faint)] focus:border-[var(--primary)] focus:ring-2 focus:ring-[var(--focus)]",a),...c}));e.displayName="Input",a.s(["Input",0,e])},70430,a=>{"use strict";var b=a.i(87924),c=a.i(68114);a.s(["Label",0,function({className:a,...d}){return(0,b.jsx)("label",{className:(0,c.cn)("mb-1.5 block text-sm font-semibold text-[var(--ink)]",a),...d})}])},356,a=>{"use strict";var b=a.i(87924),c=a.i(72131);let d=(0,a.i(70106).default)("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);var e=a.i(96221),f=a.i(5050);let g=(0,f.createServerReference)("608f91e66f2b12e46b90fb6e97db4b925580735f64",f.callServer,void 0,f.findSourceMapURL,"changePasswordAction");var h=a.i(99570),i=a.i(66718),j=a.i(70430);a.s(["ChangePasswordForm",0,function(){let[a,f,k]=(0,c.useActionState)(g,{});return(0,b.jsxs)("form",{action:f,className:"grid gap-5",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(j.Label,{children:"كلمة المرور الجديدة"}),(0,b.jsx)(i.Input,{name:"password",type:"password",dir:"ltr",minLength:6,autoComplete:"new-password",required:!0})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)(j.Label,{children:"تأكيد كلمة المرور"}),(0,b.jsx)(i.Input,{name:"confirmation",type:"password",dir:"ltr",minLength:6,autoComplete:"new-password",required:!0})]}),a.error?(0,b.jsx)("p",{className:"rounded-md bg-[#fae5e5] px-4 py-3 text-sm font-semibold text-[#922f31]",children:a.error}):null,a.success?(0,b.jsx)("p",{className:"rounded-md bg-[#e2f3e9] px-4 py-3 text-sm font-semibold text-[#17613b]",children:a.success}):null,(0,b.jsxs)(h.Button,{type:"submit",disabled:k,children:[k?(0,b.jsx)(e.Loader2,{className:"animate-spin",size:18}):(0,b.jsx)(d,{size:18})," ",k?"جارٍ تحديث كلمة المرور...":"تحديث كلمة المرور"]})]})}],356)}];

//# sourceMappingURL=src_components_07e8drj._.js.map