(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6443],{1110:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var a=r(95155),s=r(12115),n=r(65142),i=r(76444),l=r(52508);function o(e){let{value:t,onChange:r,label:o="شماره موبایل",placeholder:u="09123456789",error:d,disabled:c=!1,autoFocus:h=!1,required:p=!0}=e,[m,f]=(0,s.useState)(!1),g=(0,s.useCallback)(e=>{let t=e.replace(/\D/g,"").substring(0,11);return t.length<=4?t:t.length<=7?"".concat(t.substring(0,4)," ").concat(t.substring(4)):"".concat(t.substring(0,4)," ").concat(t.substring(4,7)," ").concat(t.substring(7))},[])(t);return(0,a.jsxs)("div",{className:"space-y-2",children:[o&&(0,a.jsxs)(i.J,{htmlFor:"phone",className:"text-white",children:[o,p&&(0,a.jsx)("span",{className:"text-red-400 mr-1",children:"*"})]}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(n.p,{id:"phone",type:"tel",dir:"ltr",value:g,onChange:e=>{let t=e.target.value.replace(/\D/g,"");t.length<=11&&r(t)},onFocus:()=>f(!0),onBlur:()=>f(!1),disabled:c,autoFocus:h,autoComplete:"off",placeholder:u,className:"\n            bg-white/10 border-white/30 text-white placeholder:text-gray-400 pr-10\n            text-left font-mono\n            ".concat(d?"border-red-500":"","\n            ").concat(m?"ring-2 ring-purple-500":"","\n          ")}),(0,a.jsx)(l.A,{className:"\n            absolute right-3 top-1/2 transform -translate-y-1/2 h-4 w-4\n            ".concat(d?"text-red-400":m?"text-purple-400":"text-gray-400","\n          ")})]}),d&&(0,a.jsx)("p",{className:"text-sm text-red-400 mt-1",children:d}),(0,a.jsx)("p",{className:"text-xs text-gray-400 mt-1",children:"شماره موبایل باید با 09 شروع شود"})]})}},3998:(e,t,r)=>{"use strict";r.d(t,{$:()=>o});var a=r(95155);r(12115);var s=r(32467),n=r(83101),i=r(64269);let l=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function o(e){let{className:t,variant:r,size:n,asChild:o=!1,...u}=e,d=o?s.DX:"button";return(0,a.jsx)(d,{"data-slot":"button",className:(0,i.cn)(l({variant:r,size:n,className:t})),...u})}},10489:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var a=r(12115),s=r(97602),n=r(95155),i=a.forwardRef((e,t)=>(0,n.jsx)(s.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null==(r=e.onMouseDown)||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var l=i},18332:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>o,TN:()=>u});var a=r(95155),s=r(12115),n=r(83101),i=r(64269);let l=(0,n.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:right-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pr-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),o=s.forwardRef((e,t)=>{let{className:r,variant:s,...n}=e;return(0,a.jsx)("div",{ref:t,role:"alert",className:(0,i.cn)(l({variant:s}),r),...n})});o.displayName="Alert",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h5",{ref:t,className:(0,i.cn)("mb-1 font-medium leading-none tracking-tight",r),...s})}).displayName="AlertTitle";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,i.cn)("text-sm [&_p]:leading-relaxed",r),...s})});u.displayName="AlertDescription"},20063:(e,t,r)=>{"use strict";var a=r(47260);r.o(a,"redirect")&&r.d(t,{redirect:function(){return a.redirect}}),r.o(a,"useParams")&&r.d(t,{useParams:function(){return a.useParams}}),r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(t,{useSearchParams:function(){return a.useSearchParams}})},23664:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(71847).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},39137:(e,t,r)=>{"use strict";function a(e){let t=e.replace(/[\s\-()]/g,"");return/^09\d{9}$/.test(t)?{isValid:!0,normalized:t}:{isValid:!1,message:"شماره موبایل باید با 09 شروع شود و 11 رقم باشد (مثال: 09123456789)"}}function s(e){let t=e.replace(/[\s\-()]/g,"");return 11===t.length&&t.startsWith("09")?"".concat(t.substring(0,4)," ").concat(t.substring(4,7)," ").concat(t.substring(7)):e}r.d(t,{FI:()=>s,To:()=>a})},43610:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var a=function(e){return e.EMAIL_PASSWORD_AUTH="email_password_auth",e.OTP_AUTH="otp_auth",e.ADMIN_EMAIL_AUTH="admin_email_auth",e.GOOGLE_AUTH="google_auth",e.FORCE_PHONE_MIGRATION="force_phone_migration",e.OTP_RATE_LIMITING="otp_rate_limiting",e.SHOW_AUTH_METHOD_SWITCH="show_auth_method_switch",e.AUTO_SUGGEST_PHONE="auto_suggest_phone",e.SHOW_EMAIL_DEPRECATION_WARNING="show_email_deprecation_warning",e.ALLOW_EMAIL_FALLBACK="allow_email_fallback",e}({})},44876:(e,t,r)=>{"use strict";r.d(t,{FeatureFlagProvider:()=>n,useFeatureFlags:()=>i});var a=r(12115);let s=a.createContext(void 0);function n(e){let{children:t,initialFlags:r}=e,[n,i]=a.useState(r),[l,o]=a.useState(!0),[u,d]=a.useState(null),c=a.useCallback(async()=>{try{o(!0);let e=await fetch("/api/feature-flags",{cache:"no-store",headers:{"Cache-Control":"no-cache, no-store, must-revalidate"}});if(!e.ok)throw Error("API returned ".concat(e.status));let t=await e.json();if(t.success&&t.data){let e={...n};Object.entries(t.data).forEach(t=>{let[r,a]=t;r.startsWith("is")||(e[r]=a)}),i(e),d(null)}}catch(e){console.error("Failed to refresh feature flags:",e),d(null)}finally{o(!1)}},[n]);a.useEffect(()=>{c();let e=setInterval(c,3e4);return()=>clearInterval(e)},[c]);let h=a.useCallback(e=>!!n[e],[n]),p=a.useCallback(e=>n[e],[n]),m=a.useMemo(()=>({flags:n,isEnabled:h,getValue:p,isLoading:l}),[n,h,p,l]);return a.createElement(s.Provider,{value:m},t)}function i(){let e=a.useContext(s);if(!e)throw Error("useFeatureFlags must be used within FeatureFlagProvider");return e}},52508:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(71847).A)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},55010:(e,t,r)=>{"use strict";r.d(t,{y:()=>n});var a=r(95155);r(12115);var s=r(64269);function n(e){let{className:t,type:r="password",...n}=e;return(0,a.jsx)("input",{type:r,"data-slot":"input",lang:"en",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",autoComplete:(()=>{var e,t;if(n.autoComplete)return n.autoComplete;let r=(null==(e=n.placeholder)?void 0:e.toString())||"",a=(null==(t=n.name)?void 0:t.toString())||"";return r.includes("جدید")||r.includes("new")||a.includes("new")?"new-password":(r.includes("فعلی")||r.includes("current")||a.includes("current"),"current-password")})(),className:(0,s.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),onInput:e=>{let t=e.currentTarget,r=t.value,a=r.replace(/[^a-zA-Z0-9!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?\s]/g,"");if(r!==a&&(t.value=a,n.onChange)){let r={...e,target:{...t,value:a}};n.onChange(r)}},...n})}},57828:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(71847).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},64269:(e,t,r)=>{"use strict";r.d(t,{cn:()=>n});var a=r(2821),s=r(75889);function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.QP)((0,a.$)(t))}},65142:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});var a=r(95155);r(12115);var s=r(64269);function n(e){let{className:t,type:r,...n}=e;return(0,a.jsx)("input",{type:r,"data-slot":"input",className:(0,s.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...n})}},66091:(e,t,r)=>{"use strict";r.d(t,{Ku:()=>i,O$:()=>u,aC:()=>l,al:()=>o,kk:()=>n});var a=r(95704);function s(){return"true"===a.env.NEXT_PUBLIC_FEATURE_OTP_AUTH}function n(){return"/auth/customer/signin"}function i(){return s()?"/auth/customer/signup/phone":"/auth/customer/signup"}function l(){return"/auth/business/signin"}function o(){return s()?"/auth/business/signup/phone":"/auth/business/signup"}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"customer";return"business"===e?"/auth/business/forgot-password":"/auth/customer/forgot-password"}},67734:(e,t,r)=>{"use strict";r.d(t,{sm:()=>l.FeatureFlagProvider,of:()=>i,jA:()=>o.useEmailPasswordAuth,Ps:()=>o.useOTPAuth});var a=r(43610),s=r(95704);let n={[a.T.EMAIL_PASSWORD_AUTH]:!1,[a.T.OTP_AUTH]:!0,[a.T.ADMIN_EMAIL_AUTH]:!0,[a.T.GOOGLE_AUTH]:!1,[a.T.FORCE_PHONE_MIGRATION]:!1,[a.T.OTP_RATE_LIMITING]:!0,[a.T.SHOW_AUTH_METHOD_SWITCH]:!1,[a.T.AUTO_SUGGEST_PHONE]:!1,[a.T.SHOW_EMAIL_DEPRECATION_WARNING]:!1,[a.T.ALLOW_EMAIL_FALLBACK]:!1},i=function(){let e={};for(let[t,r]of Object.entries(n))e[t]=function(e,t){let r=e.toUpperCase(),a="FEATURE_".concat(r);"OTP_AUTH"===r&&(a="NEXT_PUBLIC_FEATURE_OTP_AUTH");let n=s.env[a];if(void 0===n)return t;if("boolean"==typeof t)return"true"===n||"1"===n;if("number"==typeof t){let e=parseFloat(n);return isNaN(e)?t:e}return n}(t,r);let t=e[a.T.OTP_AUTH];return e[a.T.EMAIL_PASSWORD_AUTH]=!t,function(e){let t=e[a.T.EMAIL_PASSWORD_AUTH],r=e[a.T.OTP_AUTH],s=e[a.T.ADMIN_EMAIL_AUTH];t||r||(console.error("❌ CRITICAL: No authentication method for customers enabled!"),console.error("❌ Enabling OTP_AUTH as fallback..."),e[a.T.OTP_AUTH]=!0,e[a.T.EMAIL_PASSWORD_AUTH]=!1),s||r||(console.error("❌ CRITICAL: No authentication method for admin enabled!"),console.error("❌ Enabling ADMIN_EMAIL_AUTH as fallback..."),e[a.T.ADMIN_EMAIL_AUTH]=!0),e[a.T.FORCE_PHONE_MIGRATION]&&!r&&(console.error("❌ FORCE_PHONE_MIGRATION requires OTP_AUTH to be enabled"),e[a.T.FORCE_PHONE_MIGRATION]=!1)}(e),e}();var l=r(44876),o=r(77339)},70532:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(71847).A)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},71871:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(71847).A)("building",[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]])},76444:(e,t,r)=>{"use strict";r.d(t,{J:()=>i});var a=r(95155);r(12115);var s=r(10489),n=r(64269);function i(e){let{className:t,...r}=e;return(0,a.jsx)(s.b,{"data-slot":"label",className:(0,n.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...r})}},77339:(e,t,r)=>{"use strict";r.d(t,{useAuthMethodsConfig:()=>u,useEmailPasswordAuth:()=>l,useFeature:()=>n,useFeatureValue:()=>i,useOTPAuth:()=>o});var a=r(44876),s=r(43610);function n(e){let{isEnabled:t}=(0,a.useFeatureFlags)();return t(e)}function i(e){let{getValue:t}=(0,a.useFeatureFlags)();return t(e)}function l(){return n(s.T.EMAIL_PASSWORD_AUTH)}function o(){return n(s.T.OTP_AUTH)}function u(){let e=n(s.T.EMAIL_PASSWORD_AUTH),t=n(s.T.OTP_AUTH);return{isEmailPasswordEnabled:e,isOTPEnabled:t,shouldShowEmailAuth:e,shouldShowPhoneAuth:t,shouldShowAuthSwitch:!1}}},80640:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var a=r(95155),s=r(12115),n=r(20063),i=r(52619),l=r.n(i),o=r(36489),u=r(3998),d=r(65142),c=r(55010),h=r(76444),p=r(18332),m=r(71871),f=r(23664),g=r(99708),x=r(70532),v=r(57828),b=r(1110),A=r(39137),w=r(66091),_=r(67734);function y(){let e=(0,n.useRouter)(),t=(0,_.Ps)(),r=(0,_.jA)(),[i,y]=(0,s.useState)(!0),[T,N]=(0,s.useState)({email:"",phone:"",password:""}),[E,O]=(0,s.useState)(!1),[j,I]=(0,s.useState)(!1),[P,k]=(0,s.useState)(""),M=t?"OTP":"EMAIL";(0,s.useEffect)(()=>{y(!1)},[t,r]),(0,s.useEffect)(()=>{N({email:"",phone:"",password:""}),document.querySelectorAll('input[type="tel"], input[name="phone"]').forEach(e=>{e instanceof HTMLInputElement&&(e.value="")})},[]);let S=e=>{let{name:t,value:r}=e.target;N(e=>({...e,[t]:r}))},C=async t=>{if(t.preventDefault(),k(""),"OTP"===M&&!(0,A.To)(T.phone))return void k("شماره تلفن معتبر نیست");I(!0);try{let t="EMAIL"===M?{email:T.email,password:T.password}:{phone:T.phone,password:T.password},a=await (0,o.signIn)("EMAIL"===M?"credentials-email":"credentials-phone",{...t,redirect:!1});if(null==a?void 0:a.error)"EMAIL"===M?k("ایمیل یا رمز عبور اشتباه است"):k("شماره تلفن یا رمز عبور اشتباه است");else{var r;let t=await fetch("/api/auth/session"),a=await t.json(),s=null==a||null==(r=a.user)?void 0:r.role;if(s&&"CAFE_OWNER"!==s){k("شما مجاز به ورود از این صفحه نیستید. لطفاً از صفحه ورود مناسب نقش خود استفاده کنید."),await (0,o.signOut)({redirect:!1});return}e.push("/business-dashboard"),e.refresh()}}catch(e){k("خطایی در ورود رخ داد")}finally{I(!1)}};return(0,a.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-emerald-900 via-teal-900 to-cyan-900 p-4",children:(0,a.jsxs)("div",{className:"max-w-md w-full space-y-8 bg-white/10 backdrop-blur-lg rounded-xl border border-white/20 p-8",children:[(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"flex justify-center mb-4",children:(0,a.jsx)("div",{className:"p-3 bg-gradient-to-r from-emerald-600 to-teal-600 rounded-full",children:(0,a.jsx)(m.A,{className:"h-8 w-8 text-white"})})}),(0,a.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:"ورود کسب‌وکار"}),(0,a.jsx)("p",{className:"text-gray-300",children:"پنل مدیریت کافه‌گیم شما"})]}),P&&(0,a.jsx)(p.Fc,{className:"border-red-500/50 bg-red-500/10 text-red-200",children:(0,a.jsx)(p.TN,{children:P})}),(0,a.jsxs)("form",{onSubmit:C,className:"space-y-6",autoComplete:"off",children:["EMAIL"===M?(0,a.jsxs)("div",{children:[(0,a.jsx)(h.J,{htmlFor:"email",className:"text-white",children:"ایمیل کسب‌وکار"}),(0,a.jsxs)("div",{className:"relative mt-1",children:[(0,a.jsx)(d.p,{id:"email",name:"email",type:"email",required:!0,value:T.email,onChange:S,className:"bg-white/10 border-white/30 text-white placeholder:text-gray-400 pr-10",placeholder:"ایمیل کسب‌وکار خود را وارد کنید"}),(0,a.jsx)(f.A,{className:"absolute right-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"})]})]}):(0,a.jsx)(b.L,{value:T.phone,onChange:e=>N(t=>({...t,phone:e})),placeholder:"09xx xxx xxxx",required:!0}),(0,a.jsxs)("div",{children:[(0,a.jsx)(h.J,{htmlFor:"password",className:"text-white",children:"رمز عبور"}),(0,a.jsxs)("div",{className:"relative mt-1",children:[(0,a.jsx)(c.y,{id:"password",name:"password",type:E?"text":"password",required:!0,value:T.password,onChange:S,className:"bg-white/10 border-white/30 text-white placeholder:text-gray-400 pr-10 pl-10",placeholder:"رمز عبور خود را وارد کنید"}),(0,a.jsx)(g.A,{className:"absolute right-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),(0,a.jsx)("button",{type:"button",onClick:()=>O(!E),className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-white",children:E?(0,a.jsx)(x.A,{className:"h-4 w-4"}):(0,a.jsx)(v.A,{className:"h-4 w-4"})})]})]}),(0,a.jsx)(u.$,{type:"submit",disabled:j,className:"w-full bg-gradient-to-r from-emerald-600 to-teal-600 hover:from-emerald-700 hover:to-teal-700 text-white font-medium py-3",children:j?"در حال ورود...":"ورود به پنل مدیریت"}),(0,a.jsx)("div",{className:"text-center text-sm space-y-2",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("span",{className:"text-gray-300",children:["هنوز ثبت نام نکرده‌اید؟"," "]}),(0,a.jsx)(l(),{href:(0,w.al)(),className:"text-emerald-400 font-medium hover:text-emerald-300 hover:underline",children:"ثبت نام کسب‌وکار"})]})}),(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)(l(),{href:(0,w.O$)("business"),className:"text-sm text-gray-300 hover:text-white hover:underline",children:"رمز عبور خود را فراموش کرده‌اید؟"})})]}),(0,a.jsx)("div",{className:"text-center mt-6",children:(0,a.jsx)(l(),{href:"/auth/customer/signin",className:"text-medium text-purple-400 hover:text-purple-300 hover:underline",children:"ورود بازیکن"})})]})})}},94285:(e,t,r)=>{Promise.resolve().then(r.bind(r,80640))},97602:(e,t,r)=>{"use strict";r.d(t,{hO:()=>o,sG:()=>l});var a=r(12115),s=r(47650),n=r(32467),i=r(95155),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,n.TL)(`Primitive.${t}`),s=a.forwardRef((e,a)=>{let{asChild:s,...n}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(s?r:t,{...n,ref:a})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{});function o(e,t){e&&s.flushSync(()=>e.dispatchEvent(t))}},99708:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(71847).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])}},e=>{e.O(0,[4909,7055,6489,4623,7358],()=>e(e.s=94285)),_N_E=e.O()}]);