1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1434,17272,47905,53448,56484],{14953:(e,t,r)=>{"use strict";r.d(t,{AdminGate:()=>u});var n=r(95155),o=r(12115),s=r(35695);let i="maxx_admin_secret";function a(){let[e,t]=(0,o.useState)(""),[r,a]=(0,o.useState)(!1),u=(0,s.useRouter)(),c=(0,s.useSearchParams)();return(0,o.useEffect)(()=>{let e=sessionStorage.getItem(i);e&&!c.get("secret")&&u.replace("/admin?secret=".concat(encodeURIComponent(e)))},[u,c]),(0,n.jsx)("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",background:"#f8fafc",fontFamily:"sans-serif"},children:(0,n.jsxs)("div",{style:{background:"white",borderRadius:12,padding:"2.5rem",boxShadow:"0 4px 24px rgba(0,0,0,0.08)",width:"100%",maxWidth:380},children:[(0,n.jsx)("h1",{style:{fontSize:"1.25rem",fontWeight:700,color:"#1e293b",marginBottom:"0.5rem"},children:"Admin Access"}),(0,n.jsx)("p",{style:{color:"#64748b",fontSize:"0.875rem",marginBottom:"1.5rem"},children:"Enter your admin secret to continue."}),(0,n.jsxs)("form",{onSubmit:function(t){t.preventDefault(),e.trim()&&(sessionStorage.setItem(i,e.trim()),u.replace("/admin?secret=".concat(encodeURIComponent(e.trim()))))},children:[(0,n.jsx)("input",{type:"password",autoFocus:!0,value:e,onChange:e=>{t(e.target.value),a(!1)},placeholder:"Admin secret",style:{width:"100%",padding:"0.75rem 1rem",borderRadius:8,border:r?"1.5px solid #ef4444":"1.5px solid #e2e8f0",fontSize:"0.95rem",boxSizing:"border-box",marginBottom:"0.75rem",outline:"none"}}),r&&(0,n.jsx)("p",{style:{color:"#ef4444",fontSize:"0.8rem",marginBottom:"0.75rem"},children:"Incorrect secret â try again."}),(0,n.jsx)("button",{type:"submit",style:{width:"100%",padding:"0.75rem",background:"#1769B5",color:"white",border:"none",borderRadius:8,fontWeight:600,fontSize:"0.95rem",cursor:"pointer"},children:"Continue"})]})]})})}function u(){return(0,n.jsx)(o.Suspense,{children:(0,n.jsx)(a,{})})}},35695:(e,t,r)=>{"use strict";var n=r(18999);r.o(n,"notFound")&&r.d(t,{notFound:function(){return n.notFound}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},66571:(e,t,r)=>{Promise.resolve().then(r.bind(r,14953)),Promise.resolve().then(r.t.bind(r,6874,23))}},e=>{var t=t=>e(e.s=t);e.O(0,[6874,14850,28441,77465,77358],()=>t(66571)),_N_E=e.O()}]);
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.