import{t as e}from"./server-vWUUIwcT.js";import{n as t}from"./navigation-errors-BQycxhXM.js";import"./navigation.react-server-BAzL2M-8.js";import{t as n}from"./framework~index~page~page~page~page~page~page~page~page~page~page~page~layout~page~page~not~i8kfbi3w-C-cjSCxA.js";import{a as r,i,r as a}from"./admin-auth-D6OxYqSG.js";var o=e(()=>{throw Error(`Unexpectedly client reference export 'AdminDashboard' is called on server`)},`db2f0ab6401a`,`AdminDashboard`),s=e(()=>{throw Error(`Unexpectedly client reference export 'AdminLogin' is called on server`)},`220b468028f4`,`AdminLogin`),c=n(),l=`force-dynamic`,u={title:`مدیریت`,robots:{index:!1,follow:!1,noarchive:!0,nocache:!0}};async function d({params:e}){let{adminPath:n}=await e;return(!a()||n!==a())&&t(),await r()?(0,c.jsx)(o,{email:i(),adminPath:n}):(0,c.jsx)(s,{adminPath:n})}export{d as default,l as dynamic,u as metadata};