import{S as ae,i as re,s as ie,e as I,k as C,t as G,c as y,a as E,d as k,m as H,h as J,N as ne,b,f as M,g as R,J as _,j as K,q as T,w as oe,x as ce,y as ue,o as L,B as fe,n as te,p as se,K as de,l as W,L as X,T as pe}from"../chunks/index-695b5929.js";import{p as me}from"../chunks/stores-67278648.js";import{b as Y}from"../chunks/stores-f2dd11ab.js";import{g as ve}from"../chunks/schedule-2f7a7abd.js";import{f as he}from"../chunks/utils-1595b72e.js";import{A as _e}from"../chunks/Avatar-20e0f1fa.js";import{E as N}from"../chunks/config-c1fcac96.js";import{l as ge}from"../chunks/index-c9b2ee0d.js";import"../chunks/index-57c7a2a5.js";import"../chunks/periods-3c9faf13.js";import"../chunks/index-14ac584d.js";import"../chunks/Link-9c9f68ae.js";function Z(s,t,l){const e=s.slice();return e[17]=t[l],e}function $(s){let t,l,e,r,o,m,v,c,h,g=N[s[1].type].text+"",u,d,x,w,f=s[1].name+"",q,A,D,V,S=s[2](s[1].speakers),i=[];for(let a=0;aL(i[a],1,1,()=>{i[a]=null});return{c(){t=I("div"),l=I("div"),e=I("img"),o=C(),m=I("div"),v=I("div"),c=I("div"),h=I("div"),u=G(g),x=C(),w=I("div"),q=G(f),A=C(),D=I("div");for(let a=0;a{e=null}),se())},i(r){l||(T(e),l=!0)},o(r){L(e),l=!1},d(r){e&&e.d(r),r&&k(t)}}}const Be=!0;function j(s,t="s"){return new URLSearchParams(s).get(t)}function ke(s,t,l){let e,r,o,m,v,c,h;X(s,Y,f=>l(0,c=f)),X(s,me,f=>l(7,h=f));let g={};function u(f){return f.map(q=>c.spec.speakers.find(A=>A.id===q))}d();function d(){return he(new Date,"iiiiii HH:mm:ss",{locale:ge.cs})}const x=setInterval(()=>{},2e3),w=setInterval(()=>{d()},1e3);return Y.subscribe(f=>{ve(f,g)}),pe(()=>{clearInterval(x),clearInterval(w)}),s.$$.update=()=>{s.$$.dirty&128&&l(6,e=j(h.url.search,"s")),s.$$.dirty&65&&e&&c&&c.spec.stages.find(f=>f.id===e),s.$$.dirty&64&&e&&g[e],s.$$.dirty&128&&l(5,r=j(h.url.search,"id")),s.$$.dirty&128&&l(3,o=j(h.url.search,"event")),s.$$.dirty&33&&l(4,m=c?c.spec.schedule.find(f=>f.id===r):null),s.$$.dirty&25&&l(1,v=m?c.spec.events.find(f=>f.id===m.event):o&&c?c.spec.events.find(f=>f.id===o):null)},[c,v,u,o,m,r,e,h]}class Ce extends ae{constructor(t){super();re(this,t,ke,be,ie,{})}}export{Ce as default,Be as prerender};