module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},71306,(a,b,c)=>{b.exports=a.r(18622)},79847,a=>{a.n(a.i(3343))},9185,a=>{a.n(a.i(29432))},72842,a=>{a.n(a.i(75164))},54897,a=>{a.n(a.i(30106))},56157,a=>{a.n(a.i(18970))},94331,a=>{a.n(a.i(60644))},15988,a=>{a.n(a.i(56952))},25766,a=>{a.n(a.i(77341))},29725,a=>{a.n(a.i(94290))},90833,a=>{a.n(a.i(46994))},5785,a=>{a.n(a.i(90588))},74793,a=>{a.n(a.i(33169))},85826,a=>{a.n(a.i(37111))},21565,a=>{a.n(a.i(41763))},65911,a=>{a.n(a.i(8950))},25128,a=>{a.n(a.i(91562))},40781,a=>{a.n(a.i(49670))},69411,a=>{a.n(a.i(75700))},63081,a=>{a.n(a.i(276))},62837,a=>{a.n(a.i(40795))},34607,a=>{a.n(a.i(11614))},96338,a=>{a.n(a.i(21751))},50642,a=>{a.n(a.i(12213))},32242,a=>{a.n(a.i(22693))},88530,a=>{a.n(a.i(10531))},8583,a=>{a.n(a.i(1082))},38534,a=>{a.n(a.i(98175))},70408,a=>{a.n(a.i(9095))},22922,a=>{a.n(a.i(96772))},78294,a=>{a.n(a.i(71717))},16625,a=>{a.n(a.i(85034))},88648,a=>{a.n(a.i(68113))},51914,a=>{a.n(a.i(66482))},25466,a=>{a.n(a.i(91505))},7127,a=>{"use strict";var b=a.i(7997);a.s(["PageHeader",0,function({title:a,description:c,action:d}){return(0,b.jsxs)("div",{className:"mb-5 flex min-w-0 flex-col justify-between gap-3 sm:mb-6 sm:flex-row sm:items-end sm:gap-4",children:[(0,b.jsxs)("div",{className:"min-w-0",children:[(0,b.jsx)("h1",{className:"break-words text-xl font-black leading-8 sm:text-2xl sm:leading-relaxed",children:a}),c?(0,b.jsx)("p",{className:"mt-1 break-words text-sm leading-7 text-[var(--ink-soft)]",children:c}):null]}),d?(0,b.jsx)("div",{className:"w-full shrink-0 sm:w-auto",children:d}):null]})}])},35330,a=>{"use strict";var b=a.i(7997),c=a.i(39138);a.s(["Card",0,function({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("rounded-lg border border-[var(--border)] bg-white",a),...d})}])},55583,a=>{"use strict";var b=a.i(7997),c=a.i(717),d=a.i(39138);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])},43562,a=>{"use strict";var b=a.i(7997),c=a.i(39138);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})}])},68813,a=>{"use strict";var b=a.i(7997);a.s(["Notice",0,function({success:a,error:c}){let d=c||a;return d?(0,b.jsx)("p",{className:`mb-5 rounded-md border-r-4 px-4 py-3 text-sm font-semibold ${c?"border-[var(--danger)] bg-[#fae5e5] text-[#922f31]":"border-[#278253] bg-[#e2f3e9] text-[#17613b]"}`,role:"status",children:d}):null}])},19266,a=>{"use strict";a.s(["SubmitButton",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call SubmitButton() from the server but SubmitButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/forms/submit-button.tsx <module evaluation>","SubmitButton")},56018,a=>{"use strict";a.s(["SubmitButton",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call SubmitButton() from the server but SubmitButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/forms/submit-button.tsx","SubmitButton")},43222,a=>{"use strict";a.i(19266);var b=a.i(56018);a.n(b)},48697,a=>{"use strict";var b=a.i(7997),c=a.i(7046),d=a.i(68813),e=a.i(7127),f=a.i(43222),g=a.i(35330),h=a.i(55583),i=a.i(43562),j=a.i(9307);async function k({searchParams:a}){let l=await a,m=await (0,j.requireProfile)("donor");return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(e.PageHeader,{title:"الملف الشخصي",description:"يعرض رقم الدخول كما سجلته الإدارة، ويمكنك تحديث الاسم الظاهر."}),(0,b.jsx)(d.Notice,{success:l.success,error:l.error}),(0,b.jsx)(g.Card,{className:"max-w-2xl p-5 sm:p-6",children:(0,b.jsxs)("form",{action:c.updateDonorProfileAction,className:"grid gap-5",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(i.Label,{children:"الاسم الكامل"}),(0,b.jsx)(h.Input,{name:"fullName",defaultValue:m.full_name,required:!0})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)(i.Label,{children:"رقم الهاتف"}),(0,b.jsx)(h.Input,{value:m.phone??"",readOnly:!0,dir:"ltr",className:"bg-[var(--surface-muted)]"})]}),(0,b.jsx)(f.SubmitButton,{pendingText:"جارٍ حفظ الاسم...",className:"w-full sm:w-auto sm:justify-self-start",children:"حفظ الاسم"})]})})]})}a.s(["default",0,k])},88703,a=>{a.n(a.i(48697))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__11u_vkl._.js.map