utxo22-web/_app/pages/__layout.svelte-9591bc5c.js

6 řádky
12 KiB
JavaScript
Surový Normální zobrazení Historie

import{S as de,i as he,s as ve,k as x,l as K,m as D,g as z,e as u,c as d,a as h,d as f,b as o,F as i,G as Ue,t as w,h as I,E as Se,H as me,w as ne,x as ce,I as ie,J as oe,f as Je,y as fe,K as Ke,q as F,o as C,B as ue,n as Xe,p as je,L as Re,M as Qe,N as We,v as Ye,O as Ze}from"../chunks/index-24e5a832.js";import{p as qe}from"../chunks/stores-90033a58.js";import{b as Be,u as Ce}from"../chunks/stores-13cf7036.js";import{a as et}from"../chunks/api-0e5e258a.js";import"../chunks/index-3c937d7d.js";function Ne(n,l,a){const e=n.slice();return e[3]=l[a],e}function Oe(n,l,a){const e=n.slice();return e[3]=l[a],e}function ze(n){let l,a,e=n[0]==="small"&&Ge(n),t=n[0]==="normal"&&Te(n);return{c(){e&&e.c(),l=x(),t&&t.c(),a=K()},l(r){e&&e.l(r),l=D(r),t&&t.l(r),a=K()},m(r,s){e&&e.m(r,s),z(r,l,s),t&&t.m(r,s),z(r,a,s)},p(r,s){r[0]==="small"?e?e.p(r,s):(e=Ge(r),e.c(),e.m(l.parentNode,l)):e&&(e.d(1),e=null),r[0]==="normal"?t?t.p(r,s):(t=Te(r),t.c(),t.m(a.parentNode,a)):t&&(t.d(1),t=null)},d(r){e&&e.d(r),r&&f(l),t&&t.d(r),r&&f(a)}}}function Ge(n){let l,a=n[2],e=[];for(let t=0;t<a.length;t+=1)e[t]=Me(Oe(n,a,t));return{c(){l=u("div");for(let t=0;t<e.length;t+=1)e[t].c();this.h()},l(t){l=d(t,"DIV",{class:!0});var r=h(l);for(let s=0;s<e.length;s+=1)e[s].l(r);r.forEach(f),this.h()},h(){o(l,"class","flex block space-x-2 m-auto justify-end flex-1")},m(t,r){z(t,l,r);for(let s=0;s<e.length;s+=1)e[s].m(l,null)},p(t,r){if(r&6){a=t[2];let s;for(s=0;s<a.length;s+=1){const c=Oe(t,a,s);e[s]?e[s].p(c,r):(e[s]=Me(c),e[s].c(),e[s].m(l,null))}for(;s<e.length;s+=1)e[s].d(1);e.length=a.length}},d(t){t&&f(l),Ue(e,t)}}}function Me(n){let l,a,e,t;return{c(){l=u("a"),a=u("i"),e=x(),this.h()},l(r){l=d(r,"A",{href:!0,class:!0,target:!0});var s=h(l);a=d(s,"I",{class:!0}),h(a).forEach(f),e=D(s),s.forEach(f),this.h()},h(){o(a,"class",n[3].ico),o(l,"href",t=n[1].links[n[3].link]),o(l,"class","w-6 h-6 bg-white rounded-full hover:bg-utxo-gradient hover:text-white"),o(l,"target","_blank")},m(r,s){z(r,l,s),i(l,a),i(l,e)},p(r,s){s&2&&t!==(t=r[1].links[r[3].link])&&o(l,"href",t)},d(r){r&&f(l)}}}function Te(n){let l,a,e=n[2],t=[];for(let r=0;r<e.length;r+=1)t[r]=Fe(Ne(n,e,r));return{c(){l=u("div"),a=u("div");for(let r=0;r<t.length;r+=1)t[r].c();this.h()},l(r){l=d(r,"DIV",{class:!0});var s=h(l);a=d(s,"DIV",{class:!0});var c=h(a);for(let _=0;_<t.length;_+=1)t[_].l(c);c.forEach(f),s.forEach(f),this.h()},h(){o(a,"class","flex flex-wrap gap-3 justify-between"),o(l,"class","w-1/4")},m(r,s){z(r,l,s),i(l,a);for(let c=0;c<t.length;c+=1)t[c].m(a,null)},p(r,s){if(s&6){e=r[2];let c;for(c=0;c<e.length;c+=1){const _=Ne(r,e,c);t[c]?t[c].p(_,s):(t[c]=Fe(_),t[c].c(),t[c].m(a,null))}for(;c<t.length;c+=1)t[c].d(1);t.length=e.length}},d(r){r&&f(l),Ue(t,r)}}}function Fe(n){let l,a,e,t,r=n[3].name+"",s,c;return{c(){l=u("div"),a=u("a"),e=u("i"),t=w("\xA0\xA0"),s=w(r),this.h()},l(_){l=d(_,"DIV",{class:!0});var p=h(l);a=d(p,"A",{href:!0,class:!0,target:!0});var m=h(a);e=d(m,"I",{class:!0}),h(e).forEach(f),t=I(m,"\xA0\xA0"),s=I(m,r),m.forEach(f),p.forEach(f),this.h()},h(){o(e,"class",n[3].ico),o(a,"href",c=n[1].links[n[3].link]),o(a,"class",""),o(a,"target","_blank"),o(l,"class","block hover:text-red-500")},m(_,p){z(_,l,p),i(l,a),i(a,e),i(a,t),i(a,s)},p(_,p){p&2&&c!==(c=_[1].links[_[3].link])&&o(a,"href",c)},d(_){_&&f(l)}}}function tt(n){let l,a=n[1]&&ze(n);return{c(){a&&a.c(),l=K()},l(e){a&&a.l(e),l=K()},m(e,t){a&&a.m(e,t),z(e,l,t)},p(e,[t]){e[1]?a?a.p(e,t):(a=ze(e),a.c(),a.m(l.parentNode,l)):a&&(a.d(1),a=null)},i:Se,o:Se,d(e){a&&a.d(e),e&&f(l)}}}function lt(n,l,a){let e;me(n,Be,s=>a(1,e=s));let{size:t="small"}=l;const r=[{link:"twitter",ico:"fa-brands fa-twitter",name:"Twitter"},{link:"instagram",ico:"fab fa-instagram",name:"Instagram"},{link:"fbevent",ico:"fab fa-facebook",name:"Facebook"},{link:"discord",ico:"fab fa-discord",name:"Discord"},{link:"telegram",ico:"fab fa-telegram",name:"Telegram"}];return n.$$set=s=>{"size"in s&&a(0,t=s.size)},[t,e,r]}class He extends de{constructor(l){super();he(this,l,lt,tt,ve,{size:0})}}function at(n){let l,a,e,t,r,s,c,_,p,m,v,g,V,k,P,y,E,R,j,Q,$,q,A,G;return $=new
`),O=u("a"),X=u("img"),_e=w(" Svelte"),pe=w(` |
grafick\xFD n\xE1vrh `),W=u("a"),ee=u("img"),this.h()},l(T){l=d(T,"DIV",{class:!0});var H=h(l);a=d(H,"DIV",{class:!0});var ae=h(a);e=d(ae,"DIV",{class:!0});var J=h(e);t=d(J,"DIV",{});var $e=h(t);r=d($e,"A",{href:!0});var we=h(r);s=d(we,"IMG",{src:!0,alt:!0,class:!0}),we.forEach(f),$e.forEach(f),_=D(J),p=d(J,"DIV",{class:!0});var Ie=h(p);m=I(Ie,"4.-5. \u010Derven 2022 @ Gabriel Loci, Praha"),Ie.forEach(f),v=D(J),g=d(J,"DIV",{class:!0});var xe=h(g);V=I(xe,"Otev\u0159en\xE1 komunitn\xED kryptom\u011Bnov\xE1 konference"),xe.forEach(f),k=D(J),P=d(J,"DIV",{class:!0});var De=h(P);y=d(De,"A",{href:!0,class:!0});var ge=h(y);E=d(ge,"I",{class:!0}),h(E).forEach(f),R=I(ge,"\xA0 Dokumentace"),ge.forEach(f),De.forEach(f),J.forEach(f),Q=D(ae),ce($.$$.fragment,ae),ae.forEach(f),q=D(H),A=d(H,"DIV",{class:!0});var re=h(A);G=d(re,"DIV",{class:!0});var se=h(G);b=d(se,"I",{class:!0}),h(b).forEach(f),S=I(se," S l\xE1skou vytv\xE1\u0159\xED "),M=d(se,"A",{href:!0,class:!0,target:!0});var ye=h(M);Y=I(ye,"UTXO Foundation, z.s."),ye.forEach(f),se.forEach(f),L=D(re),N=d(re,"DIV",{});var te=h(N);B=d(te,"SPAN",{class:!0});var Ve=h(B);U=I(Ve,"v0.8.0"),Ve.forEach(f),Z=I(te,` | powered by
`),O=d(te,"A",{href:!0,class:!0,target:!0});var be=h(O);X=d(be,"IMG",{src:!0,class:!0,alt:!0}),_e=I(be," Svelte"),be.forEach(f),pe=I(te,` |
grafick\xFD n\xE1vrh `),W=d(te,"A",{href:!0,target:!0});var Ae=h(W);ee=d(Ae,"IMG",{src:!0,class:!0}),Ae.forEach(f),te.forEach(f),re.forEach(f),H.forEach(f),this.h()},h(){ie(s.src,c="/img/logo-white.svg")||o(s,"src",c),o(s,"alt","UTXO.22"),o(s,"class","w-26"),o(r,"href","/"),o(p,"class","mt-4 font-semibold"),o(g,"class","mt-2 font-thin"),o(E,"class","fas fa-book"),o(y,"href",j=n[0].links.docs),o(y,"class","hover:text-red-500"),o(P,"class","mt-4"),o(e,"class","flex-1"),o(a,"class","relative mx-auto px-6 pt-10 pb-6 max-w-6xl flex pr-4"),o(b,"class","fas fa-heart text-red-500"),o(M,"href","https://utxo.foundation"),o(M,"class","underline hover:no-underline"),o(M,"target","_blank"),o(G,"class","flex-1 mt-1 mb-2"),o(B,"class","font-bold"),ie(X.src,ke="/img/svelte-logo.svg")||o(X,"src",ke),o(X,"class","w-5 inline"),o(X,"alt","Svelte"),o(O,"href","https://svelte.dev/"),o(O,"class","font-bold"),o(O,"target","_blank"),ie(ee.src,Ee="/img/pen-production-logo.svg")||o(ee,"src",Ee),o(ee,"class","w-24 inline-block pb-1 ml-1"),o(W,"href","https://www.ppmedia.cz/"),o(W,"target","_blank"),o(A,"class","relative mx-auto px-6 pt-10 pb-6 max-w-6xl text-xs opacity-50 sm:flex"),o(l,"class","bg-blue-web-bg text-white")},m(T,H){z(T,l,H),i(l,a),i(a,e),i(e,t),i(t,r),i(r,s),i(e,_),i(e,p),i(p,m),i(e,v),i(e,g),i(g,V),i(e,k),i(e,P),i(P,y),i(y,E),i(y,R),i(a,Q),fe($,a,null),i(l,q),i(l,A),i(A,G),i(G,b),i(G,S),i(G,M),i(M,Y),i(A,L),i(A,N),i(N,B),i(B,U),i(N,Z),i(N,O),i(O,X),i(O,_e),i(N,pe),i(N,W),i(W,ee),le=!0},p(T,H){(!le||H&1&&j!==(j=T[0].links.docs))&&o(y,"href",j)},i(T){le||(F($.$$.fragment,T),le=!0)},o(T){C($.$$.fragment,T),le=!1},d(T){T&&f(l),ue($)}}}function ot(n){let l,a,e=n[0]&&Pe(n);return{c(){e&&e.c(),l=K()},l(t){e&&e.l(t),l=K()},m(t,r){e&&e.m(t,r),z(t,l,r),a=!0},p(t,[r]){t[0]?e?(e.p(t,r),r&1&&F(e,1)):(e=Pe(t),e.c(),F(e,1),e.m(l.parentNode,l)):e&&(Xe(),C(e,1,1,()=>{e=null}),je())},i(t){a||(F(e),a=!0)},o(t){C(e),a=!1},d(t){e&&e.d(t),t&&f(l)}}}function it(n,l,a){let e;return me(n,Be,t=>a(0,e=t)),[e]}class nt extends de{constructor(l){super();he(this,l,it,ot,ve,{})}}function Le(n){let l,a,e,t,r,s,c,_;e=new st({});const p=n[2].default,m=Ze(p,n,n[1],null);return c=new nt({}),{c(){l=u("div"),a=u("div"),ne(e.$$.fragment),t=x(),r=u("main"),m&&m.c(),s=x(),ne(c.$$.fragment),this.h()},l(v){l=d(v,"DIV",{class:!0});var g=h(l);a=d(g,"DIV",{class:!0});var V=h(a);ce(e.$$.fragment,V),t=D(V),r=d(V,"MAIN",{});var k=h(r);m&&m.l(k),k.forEach(f),V.forEach(f),s=D(g),ce(c.$$.fragment,g),g.forEach(f),this.h()},h(){o(a,"class","inset-0"),o(l,"class","layout min-h-screen")},m(v,g){z(v,l,g),i(l,a),fe(e,a,null),i(a,t),i(a,r),m&&m.m(r,null),i(l,s),fe(c,l,null),_=!0},p(v,g){m&&m.p&&(!_||g&2)&&Re(m,p,v,v[1],_?We(p,v[1],g,null):Qe(v[1]),null)},i(v){_||(F(e.$$.fragment,v),F(m,v),F(c.$$.fragment,v),_=!0)},o(v){C(e.$$.fragment,v),C(m,v),C(c.$$.fragment,v),_=!1},d(v){v&&f(l),ue(e),m&&m.d(v),ue(c)}}}function ct(n){let l,a,e=n[0]&&Le(n);return{c(){e&&e.c(),l=K()},l(t){e&&e.l(t),l=K()},m(t,r){e&&e.m(t,r),z(t,l,r),a=!0},p(t,[r]){t[0]?e?(e.p(t,r),r&1&&F(e,1)):(e=Le(t),e.c(),F(e,1),e.m(l.parentNode,l)):e&&(Xe(),C(e,1,1,()=>{e=null}),je())},i(t){a||(F(e),a=!0)},o(t){C(e),a=!1},d(t){e&&e.d(t),t&&f(l)}}}function ft(n,l,a){let e;me(n,qe,c=>a(3,e=c));let{$$slots:t={},$$scope:r}=l,s=null;return Ye(async()=>{a(0,s=await et.loadBundle(e.url.hostname==="localhost"));const c=localStorage.getItem("userData");c&&Ce.set(JSON.parse(c))}),n.$$set=c=>{"$$scope"in c&&a(1,r=c.$$scope)},[s,r,t]}class _t extends de{constructor(l){super();he(this,l,ft,ct,ve,{})}}export{_t as default};