import{S,i as j,s as C,t as k,c as I,a as y,g as T,b as E,d as H,m as L,n as W,e as V}from"./index-788dbe18.js";import{e as v,a as M,c as b,b as $,d as q,f as D,h as d,i as F,j as w,k as h,l as N,t as A,m as z,n as P}from"./lifecycle-e76756ca.js";import{B}from"./Button-d8693ca6.js";function R(f){let t,s,l,r;return t=new B({props:{size:"small",label:"Log in"}}),t.$on("click",f[1]),l=new B({props:{primary:!0,size:"small",label:"Sign up"}}),l.$on("click",f[3]),{c(){E(t.$$.fragment),s=M(),E(l.$$.fragment)},l(n){H(t.$$.fragment,n),s=D(n),H(l.$$.fragment,n)},m(n,c){L(t,n,c),w(n,s,c),L(l,n,c),r=!0},p:W,i(n){r||(y(t.$$.fragment,n),y(l.$$.fragment,n),r=!0)},o(n){k(t.$$.fragment,n),k(l.$$.fragment,n),r=!1},d(n){n&&d(s),V(t,n),V(l,n)}}}function G(f){let t,s,l,r=f[0].name+"",n,c,a,e,m;return e=new B({props:{size:"small",label:"Log out"}}),e.$on("click",f[2]),{c(){t=v("span"),s=A("Welcome, "),l=v("b"),n=A(r),c=A("!"),a=M(),E(e.$$.fragment),this.h()},l(i){t=b(i,"SPAN",{class:!0});var o=$(t);s=z(o,"Welcome, "),l=b(o,"B",{});var g=$(l);n=z(g,r),g.forEach(d),c=z(o,"!"),o.forEach(d),a=D(i),H(e.$$.fragment,i),this.h()},h(){F(t,"class","welcome")},m(i,o){w(i,t,o),h(t,s),h(t,l),h(l,n),h(t,c),w(i,a,o),L(e,i,o),m=!0},p(i,o){(!m||o&1)&&r!==(r=i[0].name+"")&&P(n,r)},i(i){m||(y(e.$$.fragment,i),m=!0)},o(i){k(e.$$.fragment,i),m=!1},d(i){i&&(d(t),d(a)),V(e,i)}}}function J(f){let t,s,l,r='