import{s as L,c as Y,y as k,L as Z,F as B,M as x,f as C,i as _,N as q,k as A,l as d,u as $,g as ee,a as te,C as le,E as Q,z as I,b as E,e as N,j,d as z,r as R,p as b,n as ne}from"../chunks/scheduler.DhJS7lTB.js";import{S as J,i as K,t as P,a as S,c as F,b as G,m as H,d as V}from"../chunks/index.CsLdTWKk.js";/* empty css */import{c as se}from"../chunks/config.BCw8ICjA.js";import"../chunks/index.C-lF7DSK.js";import{M as oe}from"../chunks/mode-watcher.FqJhP9ap.js";import{g as O,a as ae}from"../chunks/spread.CgU5AtxT.js";import{e as T}from"../chunks/each.DOX4E1Ka.js";const re={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}},U=re;function W(r,e,n){const l=r.slice();return l[10]=e[n][0],l[11]=e[n][1],l}function D(r){let e,n=[r[11]],l={};for(let t=0;t{n(7,e=k(k({},e),I(a))),n(6,t=Q(e,l)),"type"in a&&n(0,c=a.type),"name"in a&&n(1,f=a.name),"color"in a&&n(2,g=a.color),"size"in a&&n(3,h=a.size),"stroke"in a&&n(4,s=a.stroke),"iconNode"in a&&n(5,u=a.iconNode),"$$scope"in a&&n(8,i=a.$$scope)},e=I(e),[c,f,g,h,s,u,t,e,i,o]}class ce extends J{constructor(e){super(),K(this,e,fe,ie,L,{type:0,name:1,color:2,size:3,stroke:4,iconNode:5})}}function ue(r){let e;const n=r[2].default,l=Y(n,r,r[3],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,o){l&&l.m(t,o),e=!0},p(t,o){l&&l.p&&(!e||o&8)&&$(l,n,t,t[3],e?te(n,t[3],o,null):ee(t[3]),null)},i(t){e||(P(l,t),e=!0)},o(t){S(l,t),e=!1},d(t){l&&l.d(t)}}}function me(r){let e,n;const l=[{type:"outline"},{name:"brand-google"},r[1],{iconNode:r[0]}];let t={$$slots:{default:[ue]},$$scope:{ctx:r}};for(let o=0;o{n(1,e=k(k({},e),I(i))),"$$scope"in i&&n(3,t=i.$$scope)},e=I(e),[o,e,l,t]}class _e extends J{constructor(e){super(),K(this,e,he,me,L,{})}}function ge(r){let e,n,l,t,o="Press the button to log in or create an account",i,c,f,g,h,s="Log in with Google",u,a,w,y,M;return e=new oe({}),f=new _e({props:{class:"h-4 w-4 text-neutral-800 dark:text-neutral-300"}}),{c(){F(e.$$.fragment),n=E(),l=N("div"),t=N("h2"),t.textContent=o,i=E(),c=N("a"),F(f.$$.fragment),g=E(),h=N("span"),h.textContent=s,u=E(),a=N("span"),w=E(),y=N("span"),this.h()},l(m){G(e.$$.fragment,m),n=j(m),l=z(m,"DIV",{class:!0});var p=C(l);t=z(p,"H2",{class:!0,"data-svelte-h":!0}),R(t)!=="svelte-1oz5zzn"&&(t.textContent=o),i=j(p),c=z(p,"A",{href:!0,class:!0});var v=C(c);G(f.$$.fragment,v),g=j(v),h=z(v,"SPAN",{class:!0,"data-svelte-h":!0}),R(h)!=="svelte-9qz87j"&&(h.textContent=s),u=j(v),a=z(v,"SPAN",{class:!0}),C(a).forEach(_),w=j(v),y=z(v,"SPAN",{class:!0}),C(y).forEach(_),v.forEach(_),p.forEach(_),this.h()},h(){b(t,"class","text-lg font-bold pb-4"),b(h,"class","text-sm text-neutral-700 dark:text-neutral-300"),b(a,"class","absolute inset-x-0 -bottom-px block h-px w-full bg-gradient-to-r from-transparent via-cyan-500 to-transparent opacity-0 transition duration-500 group-hover/btn:opacity-100"),b(y,"class","absolute inset-x-10 -bottom-px mx-auto block h-px w-1/2 bg-gradient-to-r from-transparent via-indigo-500 to-transparent opacity-0 blur-sm transition duration-500 group-hover/btn:opacity-100"),b(c,"href",se.api_url+"/auth/google"),b(c,"class","group/btn relative flex max-w-64 h-10 w-full items-center justify-start space-x-2 rounded-md bg-gray-50 px-4 font-medium text-black shadow-input dark:bg-zinc-900 dark:shadow-[0px_0px_1px_1px_var(--neutral-800)]"),b(l,"class","mx-auto flex h-screen w-screen items-center justify-center flex-col")},m(m,p){H(e,m,p),A(m,n,p),A(m,l,p),d(l,t),d(l,i),d(l,c),H(f,c,null),d(c,g),d(c,h),d(c,u),d(c,a),d(c,w),d(c,y),M=!0},p:ne,i(m){M||(P(e.$$.fragment,m),P(f.$$.fragment,m),M=!0)},o(m){S(e.$$.fragment,m),S(f.$$.fragment,m),M=!1},d(m){m&&(_(n),_(l)),V(e,m),V(f)}}}class Ce extends J{constructor(e){super(),K(this,e,null,ge,L,{})}}export{Ce as component};