import{S as Be,i as qe,s as Oe,e as w,k as N,l as G,c as y,a as T,d as h,m as z,b,g as $,t as S,h as B,F as m,K as ze,j as re,q as g,w as oe,x as ae,y as ie,o as j,B as ne,p as H,G as U,Q as Pe,I as Ge,H as ve,n as M,R as He}from"../chunks/index-24e5a832.js";import{u as se,b as Me}from"../chunks/stores-13cf7036.js";import{A as Se,S as xe}from"../chunks/Avatar-d8aeac0d.js";import"../chunks/index-3c937d7d.js";function me(i,t,o){const e=i.slice();return e[9]=t[o],e}function _e(i,t,o){const e=i.slice();return e[12]=t[o],e}function ke(i,t,o){const e=i.slice();return e[12]=t[o],e}function be(i,t,o){const e=i.slice();return e[17]=t[o],e}function ge(i){let t,o,e,r,a,d,_=i[1],f=[];for(let l=0;l<_.length;l+=1)f[l]=ye(be(i,_,l));let s=i[0].spec.speakers,u=[];for(let l=0;lj(u[l],1,1,()=>{u[l]=null});let c=i[2].hpTrack==="top"&&Ie(i);return{c(){t=w("div");for(let l=0;l{c=null}),H())},i(l){if(!d){for(let v=0;v{r=null}),H())},i(a){e||(g(r),e=!0)},o(a){j(r),e=!1},d(a){r&&r.d(a),a&&h(o)}}}function Te(i){let t,o;return t=new Se({props:{speaker:i[12]}}),{c(){oe(t.$$.fragment)},l(e){ae(t.$$.fragment,e)},m(e,r){ie(t,e,r),o=!0},p(e,r){const a={};r&1&&(a.speaker=e[12]),t.$set(a)},i(e){o||(g(t.$$.fragment,e),o=!0)},o(e){j(t.$$.fragment,e),o=!1},d(e){ne(t,e)}}}function De(i){let t,o,e=(i[2].hpTrack==="top"&&i[12].lead===!0||i[2].hpTrack!=="top")&&Ee(i);return{c(){e&&e.c(),t=G()},l(r){e&&e.l(r),t=G()},m(r,a){e&&e.m(r,a),$(r,t,a),o=!0},p(r,a){r[2].hpTrack==="top"&&r[12].lead===!0||r[2].hpTrack!=="top"?e?(e.p(r,a),a&5&&g(e,1)):(e=Ee(r),e.c(),g(e,1),e.m(t.parentNode,t)):e&&(M(),j(e,1,1,()=>{e=null}),H())},i(r){o||(g(e),o=!0)},o(r){j(e),o=!1},d(r){e&&e.d(r),r&&h(t)}}}function Ie(i){let t,o,e,r,a,d,_,f=i[0].spec.speakers.filter(Ne).sort(i[7]).slice(0,27),s=[];for(let n=0;nj(s[n],1,1,()=>{s[n]=null});return{c(){t=w("div"),o=w("div"),e=N(),r=w("div");for(let n=0;nj(s[n],1,1,()=>{s[n]=null});return{c(){t=w("section"),o=w("div"),e=w("h2"),r=S("\u010Casto kladen\xE9 dotazy (FAQ)"),a=N(),d=w("div");for(let n=0;n{D=null}),H()),k[0]?I?(I.p(k,V),V&1&&g(I,1)):(I=je(k),I.c(),g(I,1),I.m(x.parentNode,x)):I&&(M(),j(I,1,1,()=>{I=null}),H())},i(k){C||(g(D),g(I),C=!0)},o(k){j(D),j(I),C=!1},d(k){k&&h(o),k&&h(e),D&&D.d(),k&&h(r),k&&h(a),k&&h(R),I&&I.d(k),k&&h(x)}}}const Xe=!0,Ne=i=>!i.lead;function Le(i,t,o){let e,r,a,d,_;ve(i,Me,n=>o(0,d=n)),ve(i,se,n=>o(2,_=n));function f(n){return function(){se.update(c=>(c.hpTrack=n,c))}}function s(){se.update(n=>(n.hpTrack=null,n))}const u=()=>.5-Math.random();return i.$$.update=()=>{i.$$.dirty&1&&o(5,e=d),i.$$.dirty&32&&o(6,r=e?e.spec.speakers.filter(n=>!!n.lead).length:0),i.$$.dirty&96&&o(1,a=e?[{name:"Hlavn\xED p\u0159edn\xE1\u0161ej\xEDc\xED ("+r+")",id:"top"},{name:"V\u0161e",id:null}].concat(e.spec.tracks):null)},[d,a,_,f,s,e,r,u]}class Ke extends Be{constructor(t){super();qe(this,t,Le,Ce,Oe,{})}}export{Ke as default,Xe as prerender};