1import{r as l,j as s,p as m}from"./client-DZ1ADaDX.js";import{b as u}from"./useBetaFeatures-Duq7Ea5i.js";import{r as h}from"./index.esm-C4ag9wNu.js";import{Z as g,ae as x,U as j,W as f,X as y,P as L,N as P,O as A,aa as I,ab as T,ag as _}from"./VisuallyHidden-Dbn-Px4p.js";import"./useDrillImage-DMeTq3XU.js";import{u as R}from"./CsrfProvider-CU-4dXWp.js";import"./intl-CnHZ_fiJ.js";import{A as E}from"./App-BLsN8muG.js";import{M}from"./MinimalLayoutInertia-By2warC9.js";import{s as N}from"./Login.module-CUW1ch03.js";import"./ssr-window.esm-Cqi2ghCj.js";import"./create-intl-Cko7podu.js";import"./index.esm-DP9bRQJ_.js";function i({redirectTo:t}){var a;const{ziggy:r}=R(),{formatMessage:e}=u(),{home:o}=g(),{isAuthenticated:n}=x(),[c]=l.useState(n),p=new URLSearchParams((a=r==null?void 0:r.location)==null?void 0:a.search);if(c)return h.visit(o());const d=t||p.get("redirectTo");return s.jsx(j,{title:e({id:"login.login_page_title"}),description:e({id:"login.login_meta_description"}),children:s.jsx(f,{children:s.jsx(y,{children:s.jsx(L,{children:s.jsx(P,{children:s.jsx(A,{children:s.jsxs("div",{className:N.container,children:[s.jsx("h1",{className:"sr-only",children:e({id:"login.login_header"})}),s.jsx(I,{title:e({id:"login.login_header"}),children:s.jsx(T,{children:s.jsx(_,{redirectTo:d})})})]})})})})})})})}i.propTypes={redirectTo:m.string};i.layout=t=>s.jsx(E,{pageProps:t.props,children:s.jsx(M,{children:t})});export{i as default};
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.