import{S as Le,i as Xe,s as Fe,e as g,k as S,l as A,c as w,a as E,d as h,m as B,b as _,g as $,t as V,h as z,F as v,K as Re,j as de,q as y,w as he,x as ve,y as me,o as j,B as _e,p as H,G as Z,Q as Ue,I as Ke,H as Ie,n as R,R as Qe}from"../chunks/index-24e5a832.js";import{u as pe,b as Ze}from"../chunks/stores-13cf7036.js";import{A as Ce,S as Ye}from"../chunks/Avatar-91f17a3c.js";import"../chunks/index-3c937d7d.js";function $e(n,l,a){const e=n.slice();return e[9]=l[a],e}function je(n,l,a){const e=n.slice();return e[12]=l[a],e}function Ve(n,l,a){const e=n.slice();return e[12]=l[a],e}function ze(n,l,a){const e=n.slice();return e[17]=l[a],e}function Ne(n){let l,a,e,r,o,p,k=n[1],u=[];for(let t=0;tj(f[t],1,1,()=>{f[t]=null});let c=n[2].hpTrack==="top"&&Ge(n);return{c(){l=g("div");for(let t=0;t{c=null}),H())},i(t){if(!p){for(let m=0;m{r=null}),H())},i(o){e||(y(r),e=!0)},o(o){j(r),e=!1},d(o){r&&r.d(o),o&&h(a)}}}function qe(n){let l,a;return l=new Ce({props:{speaker:n[12]}}),{c(){he(l.$$.fragment)},l(e){ve(l.$$.fragment,e)},m(e,r){me(l,e,r),a=!0},p(e,r){const o={};r&1&&(o.speaker=e[12]),l.$set(o)},i(e){a||(y(l.$$.fragment,e),a=!0)},o(e){j(l.$$.fragment,e),a=!1},d(e){_e(l,e)}}}function xe(n){let l,a,e=(n[2].hpTrack==="top"&&n[12].lead===!0||n[2].hpTrack!=="top")&&Me(n);return{c(){e&&e.c(),l=A()},l(r){e&&e.l(r),l=A()},m(r,o){e&&e.m(r,o),$(r,l,o),a=!0},p(r,o){r[2].hpTrack==="top"&&r[12].lead===!0||r[2].hpTrack!=="top"?e?(e.p(r,o),o&5&&y(e,1)):(e=Me(r),e.c(),y(e,1),e.m(l.parentNode,l)):e&&(R(),j(e,1,1,()=>{e=null}),H())},i(r){a||(y(e),a=!0)},o(r){j(e),a=!1},d(r){e&&e.d(r),r&&h(l)}}}function Ge(n){let l,a,e,r,o,p,k,u=n[0].spec.speakers.filter(He).sort(n[7]).slice(0,27),s=[];for(let i=0;ij(s[i],1,1,()=>{s[i]=null});return{c(){l=g("div"),a=g("div"),e=S(),r=g("div");for(let i=0;ij(s[i],1,1,()=>{s[i]=null});return{c(){l=g("section"),a=g("div"),e=g("h2"),r=V("\u010Casto kladen\xE9 dotazy (FAQ)"),o=S(),p=g("div");for(let i=0;i{D=null}),H()),b[0]?I?(I.p(b,N),N&1&&y(I,1)):(I=Pe(b),I.c(),y(I,1),I.m(C.parentNode,C)):I&&(R(),j(I,1,1,()=>{I=null}),H())},i(b){X||(y(D),y(I),X=!0)},o(b){j(D),j(I),X=!1},d(b){b&&h(a),b&&h(e),D&&D.d(),b&&h(r),b&&h(o),b&&h(K),I&&I.d(b),b&&h(C)}}}const rt=!0,He=n=>!n.lead;function We(n,l,a){let e,r,o,p,k;Ie(n,Ze,i=>a(0,p=i)),Ie(n,pe,i=>a(2,k=i));function u(i){return function(){pe.update(c=>(c.hpTrack=i,c))}}function s(){pe.update(i=>(i.hpTrack=null,i))}const f=()=>.5-Math.random();return n.$$.update=()=>{n.$$.dirty&1&&a(5,e=p),n.$$.dirty&32&&a(6,r=e?e.spec.speakers.filter(i=>!!i.lead).length:0),n.$$.dirty&96&&a(1,o=e?[{name:"Hlavn\xED p\u0159edn\xE1\u0161ej\xEDc\xED ("+r+")",id:"top"},{name:"V\u0161e",id:null}].concat(e.spec.tracks):null)},[p,o,k,u,s,e,r,f]}class at extends Le{constructor(l){super();Xe(this,l,We,Je,Fe,{})}}export{at as default,rt as prerender};