1 line
4.1 KiB
JavaScript
1 line
4.1 KiB
JavaScript
import{S as x,c as $,a as ee,d as te,e as ae,m as se,b as ie,t as ne,f as le,h as re}from"./index-DmiCujb-.js";import{a as u,b as S,t as j,f as b,h as m,k as W,j as q,d as f,l as i,i as oe,m as a,n as H}from"./lifecycle-u0QeOdKt.js";import{$ as de}from"./runtime-D6MmngXK.js";import{A as fe}from"./AnvilLogo-C5I6lTGg.js";function ce(s){let n,t,c,w,h,p=s[4](s[0].headline)+"",y,l,E,V=s[4](s[0].intro)+"",M,B,k,C,v,I=s[4](s[0].create)+"",N,F,L,_,D=s[4](s[0].login)+"",P,G,A,g,R=s[4](s[0].reset)+"",T,d;return c=new fe({props:{i18n:s[0].logo,class:"items-center w-[77px]"}}),{c(){n=u("main"),t=u("div"),te(c.$$.fragment),w=S(),h=u("h1"),y=j(p),l=S(),E=u("p"),M=j(V),B=S(),k=u("div"),C=u("div"),v=u("a"),N=j(I),F=S(),L=u("div"),_=u("a"),P=j(D),G=S(),A=u("div"),g=u("a"),T=j(R),this.h()},l(e){n=b(e,"MAIN",{class:!0});var r=m(n);t=b(r,"DIV",{class:!0});var o=m(t);ae(c.$$.fragment,o),w=W(o),h=b(o,"H1",{class:!0});var J=m(h);y=q(J,p),J.forEach(f),l=W(o),E=b(o,"P",{class:!0});var K=m(E);M=q(K,V),K.forEach(f),B=W(o),k=b(o,"DIV",{class:!0});var z=m(k);C=b(z,"DIV",{});var O=m(C);v=b(O,"A",{href:!0,class:!0,"data-sb-kind":!0});var Q=m(v);N=q(Q,I),Q.forEach(f),O.forEach(f),F=W(z),L=b(z,"DIV",{});var U=m(L);_=b(U,"A",{href:!0,class:!0,"data-sb-kind":!0});var X=m(_);P=q(X,D),X.forEach(f),U.forEach(f),z.forEach(f),G=W(o),A=b(o,"DIV",{class:!0});var Y=m(A);g=b(Y,"A",{href:!0,class:!0,"data-sb-kind":!0});var Z=m(g);T=q(Z,R),Z.forEach(f),Y.forEach(f),o.forEach(f),r.forEach(f),this.h()},h(){i(h,"class","font-semibold text-4xl text-surface-500"),i(E,"class","text-surface-500"),i(v,"href","/account/create"),i(v,"class","btn variant-filled-primary"),i(v,"data-sb-kind",s[1]),i(_,"href","/account/login"),i(_,"class","btn text-primary-500 font-semibold variant-filled-ghost"),i(_,"data-sb-kind",s[2]),i(k,"class","space-y-3"),i(g,"href","/"),i(g,"class","btn bg-initial text-surface-500"),i(g,"data-sb-kind",s[3]),i(A,"class","text-center"),i(t,"class","max-w-[400px] mx-auto flex flex-col self-center justify-start items-center content-stretch bg-surface-50 border border-rounded border-surface-200 drop-shadow p-8"),i(n,"class","flex h-full")},m(e,r){oe(e,n,r),a(n,t),se(c,t,null),a(t,w),a(t,h),a(h,y),a(t,l),a(t,E),a(E,M),a(t,B),a(t,k),a(k,C),a(C,v),a(v,N),a(k,F),a(k,L),a(L,_),a(_,P),a(t,G),a(t,A),a(A,g),a(g,T),d=!0},p(e,[r]){const o={};r&1&&(o.i18n=e[0].logo),c.$set(o),(!d||r&17)&&p!==(p=e[4](e[0].headline)+"")&&H(y,p),(!d||r&17)&&V!==(V=e[4](e[0].intro)+"")&&H(M,V),(!d||r&17)&&I!==(I=e[4](e[0].create)+"")&&H(N,I),(!d||r&2)&&i(v,"data-sb-kind",e[1]),(!d||r&17)&&D!==(D=e[4](e[0].login)+"")&&H(P,D),(!d||r&4)&&i(_,"data-sb-kind",e[2]),(!d||r&17)&&R!==(R=e[4](e[0].reset)+"")&&H(T,R),(!d||r&8)&&i(g,"data-sb-kind",e[3])},i(e){d||(ie(c.$$.fragment,e),d=!0)},o(e){ne(c.$$.fragment,e),d=!1},d(e){e&&f(n),le(c)}}}function ue(s,n,t){let c;re(s,de,l=>t(4,c=l));let{i18n:w={create:"",headline:"",intro:"",login:"",logo:{alt:""},reset:""}}=n,{sbCreate:h=""}=n,{sbLogin:p=""}=n,{sbReset:y=""}=n;return s.$$set=l=>{"i18n"in l&&t(0,w=l.i18n),"sbCreate"in l&&t(1,h=l.sbCreate),"sbLogin"in l&&t(2,p=l.sbLogin),"sbReset"in l&&t(3,y=l.sbReset)},[w,h,p,y,c]}class be extends x{constructor(n){super(),$(this,n,ue,ce,ee,{i18n:0,sbCreate:1,sbLogin:2,sbReset:3})}}be.__docgen={version:3,name:"Welcome.svelte",data:[{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Allow for linking stories in Storybook.",name:"sbCreate",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{keywords:[],visibility:"public",description:"Allow for linking stories in Storybook.",name:"sbLogin",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{keywords:[],visibility:"public",description:"Allow for linking stories in Storybook.",name:"sbReset",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{be as W};
|