1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7966],{17966:function(e,a,s){s.r(a),s.d(a,{default:function(){return f}});var l=s(85893),r=s(89508),t=s(20291),n=s(53219),i=s(41352),o=s(70499),c=s(35739),d=s(62461),x=s(12854),u=s(78906),h=s(2272),m=s(5002);function f(e){var a=e.onSuccess,s=(0,u.Z)({onSuccess:a}),f=s.appConfig,b=s.isDialogOpen,g=s.toggleAuthModal,p=s.currentScreen,j=s.direction,v=s.screens,N=s.errors,k=s.handleBackNavigation,w=s.contentRef;return(0,l.jsx)(o.Vq,{open:b,onOpenChange:g,children:(0,l.jsxs)(o.cZ,{ref:w,className:(0,d.cn)("block gap-0 rounded-2xl border-border p-0 text-foreground max-h-[90dvh] overflow-y-auto no-scrollbar","SIGN_UP"===p?"sm:max-w-[620px]":"sm:max-w-[440px]"),children:[(0,l.jsx)(r.M,{initial:!1,children:v[p].backScreen&&(0,l.jsx)(t.E.div,{className:"absolute left-4 top-4 z-10",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.15},children:(0,l.jsx)(c.z,{variant:"ghost",size:"icon",className:"size-9 rounded-full text-muted-foreground hover:text-foreground","aria-label":"Go back",onClick:function(){return k(p)},children:(0,l.jsx)(n.Z,{})})},"back")}),(0,l.jsx)("div",{className:"absolute right-4 top-4 z-10",children:(0,l.jsx)(x.x8,{asChild:!0,children:(0,l.jsx)(c.z,{variant:"ghost",size:"icon",className:"size-9 rounded-full text-muted-foreground hover:text-foreground","aria-label":"Close",children:(0,l.jsx)(i.Z,{})})})}),(0,l.jsxs)("div",{className:"relative overflow-hidden rounded-t-2xl px-8 pb-7 pt-10",children:[(0,l.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 bg-gradient-to-b from-muted/60 to-transparent"}),(0,l.jsx)("div",{"aria-hidden":!0,className:"absolute left-1/2 top-0 h-28 w-56 -translate-x-1/2 -translate-y-1/3 rounded-full bg-primary/10 blur-3xl"}),(0,l.jsx)("div",{className:"relative flex justify-center",children:(0,l.jsx)("img",{src:f.web_logo,alt:f.web_sitename,className:"h-14 max-w-[200px] rounded-2xl object-contain shadow-sm ring-1 ring-border"})})]}),(0,l.jsx)("div",{className:"px-8 pb-8",children:(0,l.jsxs)(h.Z,{screenKey:p,direction:j,children:[(0,l.jsxs)("div",{className:"mb-6 flex flex-col gap-2 text-center",children:[(0,l.jsx)(x.Dx,{asChild:!0,children:(0,l.jsx)("h2",{className:"text-2xl font-bold tracking-tight text-foreground",children:v[p].title})}),v[p].subTitle&&(0,l.jsx)(x.dk,{asChild:!0,children:(0,l.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground text-balance",children:v[p].subTitle})})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)(m.Z,{message:N.global}),p&&v[p].component]})]})})]})})}}}]);
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.