1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4665],{51393:function(s,e,a){Promise.resolve().then(a.bind(a,34995))},27648:function(s,e,a){"use strict";a.d(e,{default:function(){return n.a}});var l=a(72972),n=a.n(l)},99376:function(s,e,a){"use strict";var l=a(35475);a.o(l,"useParams")&&a.d(e,{useParams:function(){return l.useParams}}),a.o(l,"usePathname")&&a.d(e,{usePathname:function(){return l.usePathname}}),a.o(l,"useRouter")&&a.d(e,{useRouter:function(){return l.useRouter}}),a.o(l,"useSearchParams")&&a.d(e,{useSearchParams:function(){return l.useSearchParams}})},34995:function(s,e,a){"use strict";a.r(e),a.d(e,{default:function(){return r}});var l=a(57437),n=a(27648),c=a(2265),i=a(99376),t=a(80605);function r(){let s=(0,i.useRouter)(),[e,a]=(0,c.useState)(!1),[r,o]=(0,c.useState)(""),[d,h]=(0,c.useState)(""),[u,m]=(0,c.useState)(!0),[x,j]=(0,c.useState)(""),[p,v]=(0,c.useState)(!1);async function N(e){e.preventDefault(),j(""),v(!0);let a=await (0,t.signIn)("credentials",{email:r,password:d,redirect:!1});if(v(!1),null==a?void 0:a.error){j("Invalid email or password.");return}s.push("/console")}function g(s){(0,t.signIn)(s,{callbackUrl:"/console"})}return(0,l.jsxs)("div",{className:"auth-split",children:[(0,l.jsxs)("section",{className:"auth-form-side",children:[(0,l.jsx)(n.default,{className:"auth-mark",href:"/",children:(0,l.jsx)("img",{className:"brand-logo",src:"/images/logo.svg",alt:"Claws.io"})}),(0,l.jsxs)("div",{className:"auth-card",children:[(0,l.jsx)("h1",{children:"Welcome back"}),(0,l.jsx)("p",{className:"lead",children:"Log in to your console to manage and deploy agents."}),(0,l.jsxs)("div",{className:"oauth-row",children:[(0,l.jsxs)("button",{className:"oauth",type:"button",onClick:()=>g("github"),children:[(0,l.jsx)("svg",{viewBox:"0 0 24 24",fill:"#1b1f24",children:(0,l.jsx)("path",{d:"M12 1.5C6.2 1.5 1.5 6.2 1.5 12c0 4.6 3 8.5 7.2 9.9.5.1.7-.2.7-.5v-1.8c-2.9.6-3.5-1.3-3.5-1.3-.5-1.2-1.2-1.5-1.2-1.5-.9-.6.1-.6.1-.6 1 .1 1.6 1 1.6 1 .9 1.6 2.4 1.1 3 .9.1-.7.4-1.1.6-1.4-2.3-.3-4.7-1.2-4.7-5.1 0-1.1.4-2 1-2.7-.1-.3-.5-1.3.1-2.7 0 0 .9-.3 2.8 1 .8-.2 1.7-.3 2.5-.3.9 0 1.7.1 2.5.3 1.9-1.3 2.8-1 2.8-1 .6 1.4.2 2.4.1 2.7.7.7 1 1.6 1 2.7 0 3.9-2.4 4.8-4.6 5 .4.3.7 1 .7 2v2.9c0 .3.2.6.7.5 4.2-1.4 7.2-5.3 7.2-9.9C22.5 6.2 17.8 1.5 12 1.5z"})}),"GitHub"]}),(0,l.jsxs)("button",{className:"oauth",type:"button",onClick:()=>g("google"),children:[(0,l.jsxs)("svg",{viewBox:"0 0 24 24",children:[(0,l.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,l.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,l.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.1c-.22-.66-.35-1.36-.35-2.1s.13-1.44.35-2.1V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l3.66-2.84z"}),(0,l.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84C6.71 7.31 9.14 5.38 12 5.38z"})]}),"Google"]})]}),(0,l.jsx)("div",{className:"auth-div",children:"OR CONTINUE WITH EMAIL"}),(0,l.jsxs)("form",{className:"auth-form",onSubmit:N,children:[(0,l.jsxs)("div",{className:"field",children:[(0,l.jsx)("label",{htmlFor:"email",children:"Email"}),(0,l.jsx)("input",{className:"inp",id:"email",type:"email",placeholder:"[email protected]",value:r,onChange:s=>o(s.target.value),autoComplete:"email"})]}),(0,l.jsxs)("div",{className:"field",children:[(0,l.jsx)("label",{htmlFor:"pw",children:"Password"}),(0,l.jsxs)("div",{className:"pwrap",children:[(0,l.jsx)("input",{className:"inp",id:"pw",type:e?"text":"password",placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢â¢â¢",value:d,onChange:s=>h(s.target.value),autoComplete:"current-password"}),(0,l.jsx)("button",{className:"peek",type:"button","aria-label":"Show password",onClick:()=>a(s=>!s),children:(0,l.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"1.6",children:[(0,l.jsx)("path",{d:"M1.7 10S4.5 4.5 10 4.5 18.3 10 18.3 10 15.5 15.5 10 15.5 1.7 10 1.7 10Z"}),(0,l.jsx)("circle",{cx:"10",cy:"10",r:"2.4"})]})})]})]}),(0,l.jsxs)("div",{className:"auth-rowmeta",children:[(0,l.jsxs)("label",{className:"check",children:[(0,l.jsx)("input",{type:"checkbox",checked:u,onChange:s=>m(s.target.checked)}),(0,l.jsx)("span",{className:"box",children:(0,l.jsx)("svg",{width:"11",height:"11",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,l.jsx)("path",{d:"M2.5 7.5l3 3 6-6.5"})})}),"Remember me"]}),(0,l.jsx)(n.default,{className:"forgot",href:"/forgot-password",children:"Forgot password?"})]}),x&&(0,l.jsx)("div",{className:"auth-err",children:x}),(0,l.jsx)("button",{className:"btn btn-primary btn-block",type:"submit",disabled:p,children:p?"Logging in...":"Log in"})]}),(0,l.jsxs)("p",{className:"auth-foot",children:["New to Claws? ",(0,l.jsx)(n.default,{href:"/signup",children:"Create an account"})]})]})]}),(0,l.jsxs)("section",{className:"auth-brand-side",children:[(0,l.jsx)("div",{className:"gridtex"}),(0,l.jsx)("div",{className:"glow"}),(0,l.jsxs)("div",{className:"auth-bs-top",children:[(0,l.jsxs)("span",{className:"pill",children:["â¡ One-click deploy ",(0,l.jsx)("span",{className:"tag-live",children:"LIVE"})]}),(0,l.jsxs)("h2",{children:["Ship agents, ",(0,l.jsx)("span",{className:"em",children:"not infrastru
1cture"}),"."]}),(0,l.jsx)("p",{children:"Fork a framework, route to 300+ models, and watch it go live in under a minute. Your console is waiting."})]}),(0,l.jsxs)("div",{className:"auth-console",children:[(0,l.jsxs)("div",{className:"acb",children:[(0,l.jsx)("span",{className:"av",children:(0,l.jsx)("img",{src:"/assets/claw-gem.png",alt:""})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"nm",children:"openclaw-prod"}),(0,l.jsxs)("div",{className:"st",children:[(0,l.jsx)("span",{className:"dot"}),"Live \xb7 99.98% uptime"]})]}),(0,l.jsx)("span",{className:"badge",children:"DEPLOYED"})]}),(0,l.jsxs)("div",{className:"acgrid",children:[(0,l.jsxs)("div",{className:"acm",children:[(0,l.jsx)("div",{className:"k",children:"Tokens today"}),(0,l.jsxs)("div",{className:"v",children:["1.24M ",(0,l.jsx)("span",{className:"delta",children:"+12%"})]})]}),(0,l.jsxs)("div",{className:"acm",children:[(0,l.jsx)("div",{className:"k",children:"Avg latency"}),(0,l.jsxs)("div",{className:"v",children:["420",(0,l.jsx)("small",{children:"ms"})]})]})]}),(0,l.jsx)("div",{className:"acspark",children:[38,52,44,66,58,78,70,90,82,100,88,96].map((s,e)=>(0,l.jsx)("span",{style:{height:"".concat(s,"%")}},e))})]}),(0,l.jsxs)("div",{className:"auth-bs-quote",children:[(0,l.jsx)("blockquote",{children:"âWe went from idea to a production agent over lunch. Claws handles the boring parts so we donât have to.â"}),(0,l.jsxs)("div",{className:"by",children:[(0,l.jsx)("span",{className:"av",style:{backgroundImage:"url(/assets/people/p2.jpg)"}}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"nm",children:"Priya Nair"}),(0,l.jsx)("div",{className:"ro",children:"Staff Engineer, Loophole AI"})]})]})]})]})]})}}},function(s){s.O(0,[2972,605,2971,2117,1744],function(){return s(s.s=51393)}),_N_E=s.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.