utxo22-web/_app/pages/__layout.svelte-f8c4e9cc.js

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

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