utxo22-web/_app/pages/__layout.svelte-0aca04a9.js

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

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