1import{u as m,d,h,PK as _,r as s,GO as g,GP as r,PL as P,PM as x,HF as f,PN as b,Gw as v,Gx as p,m as e,Pz as L,y as S,R as a,PO as w,PP as R,PQ as j,PR as y,O as o,PS as U,PT as k,PU as E}from"./main-BVeaUmEJ.js";function N({callbackUrl:n}){const i=m(),c=new URLSearchParams(i.searchStr).get("callbackUrl"),l=d(n??c,h(_)),[C,G]=s.useState(void 0),[O,A]=s.useState(void 0),[F,T]=s.useState(!1),[q,B]=s.useState(!1),t=S.auth?.enableCredentialLogin,u=g({email:f({message:b()}),password:r().min(1,{message:x()}),name:r().min(1,{message:P()})});return v({resolver:p(u),defaultValues:{email:"",password:"",name:""}}),e.jsxs(L,{headerLabel:j(),bottomButtonLabel:R(),bottomButtonHref:a.Login,children:[t,e.jsx("div",{className:"mt-4",children:e.jsx(w,{callbackUrl:l,showDivider:t,invalidateRouteAfterSuccess:!0})})]})}function I(){return e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(N,{}),e.jsxs("div",{className:"text-balance text-center text-xs text-muted-foreground",children:[y(),e.jsx(o,{to:a.TermsOfService,className:"underline underline-offset-4 hover:text-primary",children:U()}),k(),e.jsx(o,{to:a.PrivacyPolicy,className:"underline underline-offset-4 hover:text-primary",children:E()})]})]})}export{I as 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.