PageSourceSearch

https://monkeio.com/_app/immutable/nodes/16.CcWblNPu.js

js monkeio.com collected 2026-09-25 23:15:15 UTC 3,755 bytes, 2 lines download raw bytes

1import{p as O,f as Q,a as F,t as R,c as o,d as U,g as a,C as X,s as t,F as g,v as d,G,l as Y,b as ee,w as ae,r as s,n as h,j as x}from"../chunks/BA1mfeB7.js";import{L as te}from"../chunks/GZ-pxpEv.js";import{T as se}from"../chunks/Bq_fId2o.js";import{S as re}from"../chunks/DGJMuDm7.js";import{B as I,r as ie}from"../chunks/B9LT5EGY.js";import{I as oe}from"../chunks/ByJCQgji.js";import{L as le}from"../chunks/CseonzGH.js";import{S as W}from"../chunks/WSiuGmUj.js";import{a as E}from"../chunks/v-pTRfRH.js";import{p as ne}from"../chunks/Cl-vGhNY.js";import{t as _}from"../chunks/CtH-qyr3.js";var ce=X('<svg aria-hidden="true" focusable="false" class="h-4 w-4" viewBox="0 0 24 24" role="img"><title>Google logo</title><path fill="#4285F4" d="M23.6 12.3c0-.8-.1-1.6-.2-2.3H12v4.4h6.6c-.3 1.4-1.1 2.6-2.4 3.4v2.8h3.9c2.3-2.1 3.5-5.1 3.5-8.3Z"></path><path fill="#34A853" d="M12 24c3.2 0 5.9-1.1 7.9-3.1l-3.9-2.8c-1 .7-2.2 1.1-3.6 1.1-2.7 0-5-1.8-5.8-4.3H2.6v2.7C4.6 21.5 7.5 24 12 24Z"></path><path fill="#FBBC05" d="M6.2 14.9c-.2-.7-.4-1.4-.4-2.1s.1-1.4.4-2.1V8H2.6C1.9 9.4 1.5 10.9 1.5 12.8s.4 3.4 1.1 4.8l3.6-2.7Z"></path><path fill="#EA4335" d="M12 6.5c1.7 0 3.2.6 4.3 1.7l3.2-3.2C17.9 2.1 15.2 1 12 1 7.5 1 4.6 3.5 2.6 7l3.6 2.7c.8-2.5 3.1-4.2 5.8-4.2Z"></path></svg> Continue with Google',1),de=Q(`<!> <header class="mx-auto max-w-4xl px-4 pt-12 pb-8"><div class="flex items-center justify-between"><a class="flex items-center"><!></a> <!></div></header> <main class="mx-auto max-w-md px-4 pb-16"><div class="space-y-6"><h1 class="text-2xl font-semibold text-center">Sign in to Monkeio</h1> <div class="space-y-4"><!> <div class="relative flex items-center py-2"><!> <span class="px-3 text-sm text-muted-foreground">or</span> <!></div> <div class="space-y-4"><div class="space-y-2"><!> <!></div> <!></div></div> <div class="pt-4 text-center"><p class="text-xs text-muted-foreground leading-relaxed">By signing in, you agree to our terms. We only access your email and basic
2				profile. <a class="underline" href="/privacy">Learn more</a>.</p></div></div></main>`,1);function be(Z,z){O(z,!0);let m=G(""),l=G(!1);function y(){const e=ne.url.searchParams.get("next")??"/app";return!e.startsWith("/")||e.startsWith("//")?"/app":e}async function H(){await E.signInWithGoogle(y())}async function T(){const e=d(m).trim();if(!e){_.error("Please enter your email");return}g(l,!0);try{await E.signInWithEmailMagicLink(e,y()),_.success("Magic link sent. Check your inbox.")}catch(c){console.error("Failed to send magic link:",c),_.error("Failed to send magic link. Please try again.")}finally{g(l,!1)}}var k=de(),b=F(k);re(b,{title:"Sign In | Monkeio",description:"Sign in to Monkeio to track your deep work sessions and build consistent focus habits.",noindex:!0});var p=t(b,2),w=a(p),n=a(w),j=a(n);te(j,{size:"xl",class:"text-primary"}),s(n);var A=t(n,2);se(A,{}),s(w),s(p);var S=t(p,2),M=a(S),$=t(a(M),2),L=a($);I(L,{class:"w-full gap-2",variant:"outline",onclick:H,children:(e,c)=>{var r=ce();h(),o(e,r)},$$slots:{default:!0}});var v=t(L,2),C=a(v);W(C,{orientation:"horizontal",class:"flex-1"});var N=t(C,4);W(N,{orientation:"horizontal",class:"flex-1"}),s(v);var P=t(v,2),f=a(P),B=a(f);le(B,{for:"email",children:(e,c)=>{h();var r=x("Email*");o(e,r)},$$slots:{default:!0}});var V=t(B,2);oe(V,{id:"email",type:"email",placeholder:"Email",autocomplete:"email",get value(){return d(m)},set value(e){g(m,e,!0)}}),s(f);var q=t(f,2);I(q,{class:"w-full",get disabled(){return d(l)},onclick:T,children:(e,c)=>{var r=Y(),D=F(r);{var J=i=>{var u=x("Sending…");o(i,u)},K=i=>{var u=x("Send magic link");o(i,u)};ee(D,i=>{d(l)?i(J):i(K,!1)})}o(e,r)},$$slots:{default:!0}}),s(P),s($),h(2),s(M),s(S),R(e=>ae(n,"href",e),[()=>ie("/")]),o(Z,k),U()}export{be 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.