1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{2710:(e,t,s)=>{Promise.resolve().then(s.bind(s,20896))},6613:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(71847).A)("trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]])},9540:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(71847).A)("menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},20896:(e,t,s)=>{"use strict";s.d(t,{default:()=>C});var a=s(95155),r=s(90272),l=s(32450),n=s(97003),o=s(83209),i=s(67812),c=s(52619),d=s.n(c),x=s(91169),m=s(59865),h=s(9540),g=s(26983),u=s(6613),p=s(16485),b=s(95664),v=s(12115),f=s(90368),j=s(27937),N=s(65229),y=s(54679);function k(e){var t,s,o;let{count:i=6,autoPlay:c=!0,autoPlayInterval:d=4e3}=e,x=(0,r.IT)(l.F.photos.getRandomPhotos,{count:i}),[m,h]=(0,v.useState)(0),[g,u]=(0,v.useState)(!1),[p,k]=(0,v.useState)(0);console.log("Photo slider photos:",x),(0,v.useEffect)(()=>{if(!c||!x||x.length<=1)return;let e=setInterval(()=>{h(e=>e===x.length-1?0:e+1)},d);return()=>clearInterval(e)},[c,d,x]);let w=e=>{var t;return e.gameDate&&!isNaN(new Date(t=e.gameDate).getTime())&&t.match(/^\d{4}-\d{2}-\d{2}$/)&&e.timeType?(0,a.jsxs)("div",{className:"text-xs text-green-300",children:[new Date(e.gameDate).toLocaleDateString("cs-CZ")," - "," ","morning"===e.timeType?"Dopoledne":"Odpoledne"]}):null};if(void 0===x)return(0,a.jsx)("div",{className:"relative w-full h-80 md:h-96 lg:h-[28rem] xl:h-[32rem] max-h-[calc(100vw*2/3)] bg-black/20 backdrop-blur-sm rounded-2xl border border-green-400/30 flex items-center justify-center",children:(0,a.jsx)("div",{className:"text-white",children:"NaÄ\xedt\xe1m fotky..."})});if(!x||0===x.length)return(0,a.jsx)("div",{className:"relative w-full h-80 md:h-96 lg:h-[28rem] xl:h-[32rem] max-h-[calc(100vw*2/3)] bg-black/20 backdrop-blur-sm rounded-2xl border border-green-400/30 flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center text-green-300",children:[(0,a.jsx)(b.A,{className:"w-12 h-12 mx-auto mb-4 opacity-50"}),(0,a.jsx)("p",{children:"Zat\xedm nejsou k dispozici ž\xe1dn\xe9 fotky"})]})});let z=x[m];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"relative w-full h-80 md:h-96 lg:h-[28rem] xl:h-[32rem] max-h-[calc(100vw*2/3)] bg-black/20 backdrop-blur-sm rounded-2xl border border-green-400/30 overflow-hidden group",children:[(0,a.jsxs)("div",{className:"relative w-full h-full cursor-pointer",onClick:()=>{k(m),u(!0)},children:[(0,a.jsx)("img",{src:z.url,alt:"Fotka z ChemMasters - ".concat(z.teamName),className:"w-full h-full object-cover transition-opacity duration-500"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-trans
1parent to-transparent"}),(0,a.jsx)("div",{className:"absolute bottom-4 left-4 right-4",children:(0,a.jsxs)("div",{className:"text-white",children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:z.teamName}),w(z)]})})]}),x.length>1&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.$,{variant:"ghost",size:"icon",className:"absolute left-2 top-1/2 -translate-y-1/2 text-white hover:bg-white/20 opacity-0 group-hover:opacity-100 transition-opacity",onClick:()=>{x&&0!==x.length&&h(0===m?x.length-1:m-1)},children:(0,a.jsx)(f.A,{className:"w-6 h-6"})}),(0,a.jsx)(n.$,{variant:"ghost",size:"icon",className:"absolute right-2 top-1/2 -translate-y-1/2 text-white hover:bg-white/20 opacity-0 group-hover:opacity-100 transition-opacity",onClick:()=>{x&&0!==x.length&&h(m===x.length-1?0:m+1)},children:(0,a.jsx)(j.A,{className:"w-6 h-6"})})]}),x.length>1&&(0,a.jsx)("div",{className:"absolute bottom-2 left-1/2 -translate-x-1/2 flex space-x-2",children:x.map((e,t)=>(0,a.jsx)("button",{className:"w-2 h-2 rounded-full transition-all ".concat(t===m?"bg-green-400":"bg-white/50 hover:bg-white/70"),onClick:()=>{h(t)}},t))}),x.length>1&&(0,a.jsxs)("div",{className:"absolute top-4 right-4 bg-black/50 backdrop-blur-sm rounded-full px-3 py-1 text-white text-sm",children:[m+1," / ",x.length]})]}),(0,a.jsx)(y.lG,{open:g,onOpenChange:u,children:(0,a.jsx)(y.Cf,{className:"max-w-4xl w-full h-[90vh] p-0 bg-black/95 border-green-400/30",children:(0,a.jsxs)("div",{className:"relative w-full h-full flex flex-col",children:[(0,a.jsx)(n.$,{variant:"ghost",size:"icon",className:"absolute top-4 right-4 z-10 text-white hover:bg-white/20",onClick:()=>{u(!1)},children:(0,a.jsx)(N.A,{className:"w-6 h-6"})}),(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center p-4",children:(0,a.jsx)("img",{src:null==(t=x[p])?void 0:t.url,alt:"Fotka z ChemMasters - ".concat(null==(s=x[p])?void 0:s.teamName),className:"max-w-full max-h-full object-contain"})}),x.length>1&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.$,{variant:"ghost",size:"icon",className:"absolute left-4 top-1/2 -translate-y-1/2 text-white hover:bg-white/20",onClick:()=>{x&&0!==x.length&&k(0===p?x.length-1:p-1)},children:(0,a.jsx)(f.A,{className:"w-8 h-8"})}),(0,a.jsx)(n.$,{variant:"ghost",size:"icon",className:"absolute right-4 top-1/2 -translate-y-1/2 text-white hover:bg-white/20",onClick:()=>{x&&0!==x.length&&k(p===x.length-1?0:p+1)},children:(0,a.jsx)(j.A,{className:"w-8 h-8"})})]}),(0,a.jsx)("div",{className:"p-4 bg-black/80 text-white",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"text-lg font-medium mb-2",children:null==(o=x[p])?void 0:o.teamName}),w(x[p]),(0,a.jsxs)("div",{className:"text-sm text-gray-300 mt-2",children:[p+1," / ",x.length]})]})}),x.length>1&&(0,a.jsx)("div",{className:"p-4 bg-black/60",children:(0,a.jsx)("div",{className:"flex justify-center space-x-2 overflow-x-auto max-w-full",children:x.map((e,t)=>(0,a.jsx)("button",{className:"flex-shrink-0 w-16 h-16 rounded border-2 overflow-hidden ".concat(t===p?"border-green-400":"border-gray-600 hover:border-gray-400"),onClick:()=>k(t),children:(0,a.jsx)("img",{src:e.url,alt:"Thumbnail ".concat(t+1),className:"w-full h-full object-cover"})},t))})})]})})})]})}function w(e){let{teamName:t,children:s}=e,[o,i]=(0,v.useState)(!1),c=(0,r.IT)(l.F.photos.getTeamPhotos,{teamName:t}),[d,x]=(0,v.useState)(null);return console.log("Team photos for",t,":",c),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(y.lG,{open:o,onOpenChange:i,children:[(0,a.jsx)(y.zM,{asChild:!0,children:s}),(0,a.jsxs)(y.Cf,{className:"max-w-4xl max-h-[90vh] overflow-y-auto bg-black/95 border-green-400/30",children:[(0,a.jsx)(y.c7,{children:(0,a.jsxs)(y.L3,{className:"text-white text-center flex items-center justify-center gap-2",children:[(0,a.jsx)(b.A,{className:"w-5 h-5 text-green-400"}),"Fotky t\xfdmu: ",t]})}),(0,a.jsx)("div",{className:"mt-4",children:void 0===c?(0,a.jsx)("div",{className:"text-center py-8",children:(0,a.jsx)("div",{className:"text-white",children:"NaÄ\xedt\xe1m fotky..."})}):null===c||0===c.length?(0,a.jsx)("div",{className:"text-center py-8",children:(0,a.jsx)("div",{className:"text-green-300",children:"Zat\xedm ž\xe1dn\xe9 fotky pro tento t\xfdm"})}):(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:c.map(e=>(0,a.jsxs)("div",{className:"relative group cursor-pointer",onClick:()=>x(e.url),children:[(0,a.jsx)("img",{src:e.url,alt:"Fotka t\xfdmu ".concat(t," z ").concat(e.gameDate),className:"w-full h-48 object-cover rounded-lg border border-green-400/20 hover:border-green-400/50 transition-all"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/20 transition-all rounded-lg"}),(0,a.jsx)("div",{className:"absolute bottom-2 left-2 right-2",children:(0,a.jsxs)("div",{className:"bg-black/70 backdrop-blur-sm rounded px-2 py-1",children:[(0,a.jsx)("div",{className:"text-white text-xs font-medium",children:new Date(e.gameDate).toLocaleDateString("cs-CZ")}),(0,a.jsx)("div",{className:"text-green-300 text-xs",children:"morning"===e.timeType?"Dopoledne":"Odpoledne"})]})})]},e._id))})})]})]}),d&&(0,a.jsx)(y.lG,{open:!!d,onOpenChange:()=>x(null),children:(0,a.jsx)(y.Cf,{className:"max-w-[95vw] max-h-[95vh] p-0 bg-black/95 border-none",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(n.$,{variant:"ghost",size:"icon",className:"absolute top-4 right-4 z-10 text-white hover:bg-white/20",onClick:()=>x(null),children:(0,a.jsx)(N.A,{className:"w-6 h-6"})}),(0,a.jsx)("img",{src:d,alt:"Fotka v pln\xe9 velikosti",className:"w-full h-full object-contain"})]})})})]})}var z=s(36759);function C(){let e=(0,r.IT)(l.F.leaderboard.getSampleLeaderboard,{}),t=(0,r.IT)(l.F.timeSlots.getUpcomingTimeSlots,{}),s=(0,r.IT)(l.F.users.getHallOfFameVisibility),[c,f]=(0,v.useState)(""),[j,N]=(0,v.useState)(!1),[y,C]=(0,v.useState)(!1),A=(0,r.IT)(l.F.leaderboard.getFullLeaderboard,y?{}:"skip"),T=y&&A?A:e;return console.log("=== LEADERBOARD DEBUG ==="),console.log("Leaderboard raw result:",e),console.log("Leaderboard type:",typeof e),console.log("Leaderboard === undefined:",void 0===e),console.log("Leaderboard === null:",null===e),console.log("Leaderboard length:",Array.isArray(e)?e.length:"not array"),console.log("=== UPCOMING SLOTS DEBUG ==="),console.log("Upcoming slots data:",t),console.log("Upcoming slots type:",typeof t),console.log("=== HALL OF FAME VISIBILITY ==="),console.log("Hall of Fame visible:",s),console.log("========================"),(0,v.useEffect)(()=>{let e=()=>{if(!t||0===t.length)return"";let e=t[0],s=new Date("".concat(e.date,"T").concat(e.startTime,":00")),a=new Date,r=s.getTime()-a.getTime();if(r>0){let e=Math.floor(r/864e5),t=Math.floor(r%864e5/36e5),s=Math.floor(r%36e5/6e4);return"".concat(e,"d ").concat(t,"h ").concat(s,"m")}return"ZaÄ\xedn\xe1 brzy!"},s=setInterval(()=>{f(e())},6e4);
1return f(e()),()=>clearInterval(s)},[t]),(0,a.jsxs)("div",{className:"min-h-screen relative",style:{backgroundImage:"url(/admin-bg.webp)",backgroundSize:"cover",backgroundPosition:"center",backgroundAttachment:"fixed"},children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-blue-900/80 via-blue-800/80 to-green-600/80 pointer-events-none"}),(0,a.jsxs)("div",{className:"relative z-10",children:[(0,a.jsxs)("header",{className:"container mx-auto px-4 py-8",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("div",{className:"flex items-center space-x-4",children:(0,a.jsx)("div",{children:(0,a.jsx)("img",{src:"https://assets.macaly-user-data.dev/cdn-cgi/image/fit=scale-down,width=2000,height=2000,format=webp,quality=90/u5t1cvpuvx8ywjzer2rlho4n/mebxwfmgqryj2mml3icgwnzi/lOH9JiSyQNeLezQVHFT-w/logo-vscht-green.png",alt:"VÅ CHT Praha - Vysok\xe1 Å¡kola chemicko-technologick\xe1 v Praze",className:"h-12 w-auto object-contain"})})}),(0,a.jsxs)("nav",{className:"hidden md:flex items-center space-x-6",children:[(0,a.jsxs)(d(),{href:"/registrace",className:"flex items-center space-x-2 text-green-400 hover:text-green-200 transition-colors",children:[(0,a.jsx)(x.A,{className:"w-4 h-4"}),(0,a.jsx)("span",{className:"text-sm font-medium",children:"Registrace t\xfdmů"})]}),(0,a.jsxs)(d(),{href:"/admin",className:"flex items-center space-x-2 text-green-400 hover:text-green-200 transition-colors",children:[(0,a.jsx)(m.A,{className:"w-4 h-4"}),(0,a.jsx)("span",{className:"text-sm font-medium",children:"PÅihl\xe1Å¡en\xed"})]})]}),(0,a.jsx)("button",{onClick:()=>N(!j),className:"md:hidden text-green-400 hover:text-green-200 transition-colors",children:(0,a.jsx)(h.A,{className:"w-6 h-6"})})]}),j&&(0,a.jsx)("div",{className:"md:hidden mt-4 bg-black/20 backdrop-blur-sm rounded-lg border border-green-400/30 p-4",children:(0,a.jsxs)("nav",{className:"flex flex-col space-y-4",children:[(0,a.jsxs)(d(),{href:"/registrace",className:"flex items-center space-x-2 text-green-400 hover:text-green-200 transition-colors",onClick:()=>N(!1),children:[(0,a.jsx)(x.A,{className:"w-4 h-4"}),(0,a.jsx)("span",{className:"text-sm font-medium",children:"Registrace t\xfdmů"})]}),(0,a.jsxs)(d(),{href:"/admin",className:"flex items-center space-x-2 text-green-400 hover:text-green-200 transition-colors",onClick:()=>N(!1),children:[(0,a.jsx)(m.A,{className:"w-4 h-4"}),(0,a.jsx)("span",{className:"text-sm font-medium",children:"PÅihl\xe1Å¡en\xed"})]})]})})]}),(0,a.jsx)("section",{className:"container mx-auto px-4 py-16 text-center",children:(0,a.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,a.jsx)("h1",{className:"text-transparent bg-clip-text bg-gradient-to-r from-green-400 to-green-200 mb-6 lg:text-9xl md:text-6xl sm:text-5xl text-4xl font-bold",children:"ChemMasters"}),(0,a.jsx)("p",{className:"text-lg sm:text-xl md:text-2xl lg:text-3xl text-green-400 mb-8 font-light",children:"ZapomeÅ na nudn\xe9 pÅ\xedklady z uÄebnice â tady chemie ož\xedv\xe1!"}),c&&(0,a.jsxs)("div",{className:"bg-black/20 backdrop-blur-sm rounded-2xl p-8 mb-8 border border-green-400/30",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center space-x-2 mb-4",children:[(0,a.jsx)(g.A,{className:"w-6 h-6 text-green-400"}),(0,a.jsx)("span",{className:"text-green-400 font-semibold",children:"Do dalÅ¡\xedho term\xednu"})]}),(0,a.jsx)("div",{className:"text-4xl md:text-6xl font-mono text-white font-bold",children:c})]}),(0,a.jsx)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:(0,a.jsx)(n.$,{asChild:!0,size:"lg",className:"bg-green-400 hover:bg-green-600 text-white px-8 py-4 text-lg",children:(0,a.jsxs)(d(),{href:"/registrace",children:[(0,a.jsx)(x.A,{className:"w-5 h-5 mr-2"}),"Registrovat t\xfdm"]})})})]})}),(0,a.jsx)("section",{className:"container mx-auto px-4 py-16",children:(0,a.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,a.jsxs)("div",{className:"text-center mb-16",children:[(0,a.jsx)("h2",{className:"text-4xl md:text-5xl font-bold text-white mb-8",children:"Velk\xe1 stÅedoÅ¡kolsk\xe1 \xfanikovka n
1a VÅ CHT"}),(0,a.jsxs)("div",{className:"max-w-4xl mx-auto space-y-6 text-lg text-green-100",children:[(0,a.jsxs)("p",{children:["Mysl\xedte si, že pr\xe1vÄ VaÅ¡e Å¡kola m\xe1 ty nejchytÅejÅ¡\xed hlavy? PÅijÄte to dok\xe1zat do naÅ¡\xed origin\xe1ln\xed ",(0,a.jsx)("strong",{className:"text-green-400",children:"stÅedoÅ¡kolsk\xe9 \xfanikovky"}),", kter\xe1 prob\xedh\xe1 pÅ\xedmo v prostor\xe1ch Vysok\xe9 Å¡koly chemicko-technologick\xe9 v Praze! Äek\xe1 V\xe1s 90 minut pln\xfdch logick\xfdch h\xe1danek, t\xfdmov\xe9 spolupr\xe1ce a nap\xednav\xe9ho z\xe1vodu o hodnotn\xe9 ceny."]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{className:"text-green-400",children:"ChemMasters"})," V\xe1s vt\xe1hne do hry pln\xe9 \xfakolů. V\xe1Å¡ t\xfdm mus\xed b\xfdt rychl\xfd, chytr\xfd a sehran\xfd. Na konci může b\xfdt jen jedna v\xedtÄzn\xe1 Å¡kola⦠Bude to ta VaÅ¡e?"]}),(0,a.jsxs)("p",{children:["NejlepÅ¡\xed t\xfdmy se zap\xedÅ¡\xed do ",(0,a.jsx)("strong",{className:"text-green-400",children:"celoroÄn\xedho leaderboardu"}),", a pokud se v\xe1m podaÅ\xed probojovat mezi osm nejlepÅ¡\xedch, Äek\xe1 v\xe1s velk\xe9 ",(0,a.jsx)("strong",{className:"text-green-400",children:"fin\xe1lov\xe9 kolo v Äervnu"}),". V\xedtÄz z\xedsk\xe1 nejen prestiž, ale i titul nejlepÅ¡\xed ",(0,a.jsx)("strong",{className:"text-green-400",children:"ChemMasters Å¡kola"}),"."]}),(0,a.jsx)("p",{className:"text-xl font-semibold text-green-400",children:"Sestavte svůj t\xfdm, vymyslete origin\xe1ln\xed n\xe1zev a pÅijeÄte se utkat s ostatn\xedmi o v\xedtÄzstv\xed!"})]})]}),(0,a.jsxs)("div",{className:"grid md:grid-cols-2 gap-8 mb-16",children:[(0,a.jsxs)(o.Zp,{className:"bg-black/20 backdrop-blur-sm border-green-400/30",children:[(0,a.jsx)(o.aR,{children:(0,a.jsxs)(o.ZB,{className:"text-white text-2xl flex items-center",children:[(0,a.jsx)(u.A,{className:"w-6 h-6 mr-3 text-green-400"}),"Pravidla soutÄže â
"]})}),(0,a.jsxs)(o.Wu,{className:"space-y-6 text-green-100",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold text-green-400 mb-2",children:"Kdy?"}),(0,a.jsx)("p",{children:"Jednou mÄs\xedÄnÄ v obdob\xed Å\xedjen - kvÄten 2025, vždy v p\xe1tek dopoledne a odpoledne."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold text-green-400 mb-2",children:"Kdo může soutÄžit?"}),(0,a.jsx)("p",{children:"Každ\xfd t\xfdm tvoÅ\xed Å¡est studentů jedn\xe9 stÅedn\xed Å¡koly, pÅiÄemž zastoupeny mohou b\xfdt různ\xe9 roÄn\xedky (1.â4.). Každ\xe1 Å¡kola m\xe1 jeden pokus roÄnÄ na postup do fin\xe1lov\xe9ho kola."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold text-green-400 mb-2",children:"Jak soutÄž prob\xedh\xe1?"}),(0,a.jsxs)("ul",{className:"space-y-2 list-disc list-inside",children:[(0,a.jsx)("li",{children:"Dopoledne soutÄž\xed 8 t\xfdmů, z nichž 3 nejlepÅ¡\xed z\xedskaj\xed ocenÄn\xed."}),(0,a.jsx)("li",{children:"Odpoledne soutÄž\xed dalÅ¡\xedch 8 t\xfdmů stejn\xfdm způsobem."}),(0,a.jsx)("li",{children:"VÅ¡echny v\xfdsledky se zapisuj\xed do online žebÅ\xedÄku Å¡kol."})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold text-green-400 mb-2",children:"Fin\xe1le:"}),(0,a.jsx)("p",{children:"V Äervnu se utk\xe1 8 nejlepÅ¡\xedch t\xfdmů z cel\xe9ho roÄn\xedku o hlavn\xed v\xedtÄzstv\xed."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold text-green-400 mb-2",children:"D\xe9lka hry:"}),(0,a.jsx)("p",{children:"Každ\xe1 \xfanikovka trv\xe1 120 minut."})]})]})]}),(0,a.jsxs)(o.Zp,{className:"bg-black/20 backdrop-blur-sm border-green-400/30",children:[(0,a.jsx)(o.aR,{children:(0,a.jsxs)(o.ZB,{className:"text-white text-2xl flex items-center",children:[(0,a.jsx)(p.A,{className:"w-6 h-6 mr-3 text-green-400"}),"Praktick\xe9 informace â¹ï¸"]})}),(0,a.jsxs)(o.Wu,{className:"space-y-4 text-green-100",children:[(0,a.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 bg-green-400 rounded-full mt-2 flex-shrink-0"}),(0,a.jsxs)("p",{children:["SoutÄž se odehr\xe1v\xe1 pÅ\xedmo na VÅ CHT Praha - "," ",(0,a.jsx)("a",{href:"https://maps.google.com/?q=Technick\xe1 5, Praha Dejvice",target:"_blank",rel:"noopener noreferrer",className:"text-green-400 hover:text-green-200 underline",children:"Technick\xe1 5, Praha"})]})]}),(0,a.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 bg-green-400 rounded-full mt-2 flex-shrink-0"}),(0,a.jsx)("p",{children:"Pro vÅ¡echny \xfaÄastn\xedky je zajiÅ¡tÄno obÄerstven\xed."})]}),(0,a.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 bg-green-400 rounded-full mt-2 flex-shrink-0"}),(0,a.jsx)("p",{children:"Mimopražsk\xfdm Å¡kol\xe1m je možn\xe9 proplatit cestovn\xed n\xe1klady."})]}),(0,a.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 bg-green-400 rounded-full mt-2 flex-shrink-0"}),(0,a.jsx)("p",{children:"PÅihl\xe1Å¡en\xed bude prob\xedhat prostÅednictv\xedm webov\xe9ho formul\xe1Åe."})]}),(0,a.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 bg-green-400 rounded-full mt-2 flex-shrink-0"}),(0,a.jsx)("p",{children:"S t\xfdmem mus\xed pÅijet zodpovÄdn\xe1 osoba, o kterou bude v prostor\xe1ch VÅ CHT n\xe1ležitÄ postr\xe1no (exkurze, k\xe1va, Äaj, obÄerstven\xed)."})]}),(0,a.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 bg-green-400 rounded-full mt-2 flex-shrink-0"}),(0,a.jsxs)("p",{children:["Kontakt: "," ",(0,a.jsx)("a",{href:"mailto:[email protected]",className:"text-green-400 hover:text-green-200 underline",children:"[email protected]"})]})]})]})]})]}),(0,a.jsx)("div",{className:"text-center",children:(0,a.jsxs)("div",{className:"bg-gradient-to-r from-green-500/20 to-blue-500/20 backdrop-blur-sm rounded-2xl p-8 border border-green-400/30",children:[(0,a.jsx)("p",{className:"text-2xl font-bold text-white mb-6",children:"\uD83D\uDC49 PÅijÄte zmÄÅit s\xedly s ostatn\xedmi a ukažte, že pr\xe1vÄ VaÅ¡e Å¡kola patÅ\xed na vrchol leaderboardu!"}),(0,a.jsx)(n.$,{asChild:!0,size:"lg",className:"bg-green-400 hover:bg-green-600 text-white px-8 py-4 text-lg",children:(0,a.jsxs)(d(),{href:"/registrace",children:[(0,a.jsx)(x.A,{className:"w-5 h-5 mr-2"}),"Registrovat t\xfdm nyn\xed"]})})]})})]})}),(0,a.jsx)("section",{className:"container mx-auto px-4 py-16",children:(0,a.jsx)("div",{className:"max-w-4xl mx-auto",children:(0,a.jsxs)(d(),{href:"/galerie",className:"block group",children:[(0,a.jsxs)("div",{className:"text-center mb-8",children:[(0,a.jsx)("h2",{className:"text-3xl font-bold text-white mb-4 group-hover:text-green-400 transition-colors",children:"Momenty z ChemMasters"}),(0,a.jsxs)("p",{className:"text-green-400 text-lg group-hover:text-green-200 transition-colors",children:["Pod\xedvejte se na fotky z naÅ¡ich \xfanikov\xfdch her",(0,a.jsx)("span",{className:"ml-2 inline-block group-hover:translate-x-1 transition-transform",children:"â"})]})]}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(k,{count:4,autoPlay:!0,autoPlayInterval:5e3}),(0,a.jsx)("div",{className:"absolute inset-0 bg-green-400/0 group-hover:bg-green-400/10 transition-colors rounded-lg pointer-events-none flex items-center justify-center",children:(0,a.jsx)("span",{className:"opacity-0 group-hover:opacity-100 transition-opacity bg-green-400 text-white px-6 py-3 rounded-full font-semibold shadow-lg",children:"Zobrazit celou galerii"})})]})]})})}),s&&(0,a.jsx)("section",{id:"zebricek",className:"container mx-auto px-4 py-16",children:(0,a.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,a.jsxs)("div",{className:"text-center mb-12",children:[(0,a.jsx)("h2",{className:"text-5xl md:text-6xl font-bold mb-6",children:(0,a.jsxs)("div",{className:"flex items-center justify-center flex-wrap gap-2",children:[(0,a.jsx)(u.A,{className:"w-10 h-10 md:w-12 md:h-12 mr-2 text-yellow-400 drop-shadow-[0_0_15px_rgba(250,204,21,0.8)]"}),(0,a.jsxs)("a",{href:"#zebricek",className:"group relative text-transparent bg-clip-text bg-gradient-to-r from-yellow-400 via-yellow-200 to-yellow-400 pb-2 inline-block leading-tight hover:opacity-90 transition-opacity",title:"PÅ\xedm\xfd odkaz na žebÅ\xedÄek",children:["ŽebÅ\xedÄek nejlepÅ¡\xedch t\xfdmů",(0,a.jsx)("span",{className:"absolute -right-8 top-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-60 transition-opacity text-yellow-400 text-3xl",children:"#"})]}),(0,a.jsx)(u.A,{className:"w-10 h-10 md:w-12 md:h-12 ml-2 text-yellow-400 drop-shadow-[0_0_15px_rgba(250,204,21,0.8)]"})]})}),(0,a.jsx)("p",{className:"text-green-300 text-xl font-medium",children:"NejrychlejÅ¡\xed Äasy dokonÄen\xed \xfanikov\xe9 hry"})]}),(0,a.jsxs)(o.Zp,{className:"bg-gradient-to-br from-yellow-500/10 via-black/30 to-green-500/10 backdrop-blur-md border-2 border-yellow-400/50 shadow-[0_0_30px_rgba(250,204,21,0.3)]",children:[(0,a.jsx)(o.aR,{className:"border-b border-yellow-400/30",children:(0,a.jsxs)(o.ZB,{className:"text-white text-2xl md:text-3xl text-center font-bold flex items-center justify-center space-x-3",children:[(0,a.jsx)("span",{className:"text-4xl",children:"\uD83C\uDFC6"}),(0,a.jsx)("span",{children:"Hall of Fame"}),(0,a.jsx)("span",{className:"text-4xl",children:"\uD83C\uDFC6"})]})}),(0,a.jsx)(o.Wu,{className:"pt-6",children:(0,a.jsx)("div",{className:"space-y-3",children:void 0===T||y&&void 0===A?(0,a.jsx)("div",{className:"text-center py-8",children:(0,a.jsx)("div",{className:"text-white",children:"NaÄ\xedt\xe1m žebÅ\xedÄek..."})}):null===T?(0,a.jsx)("div",{className:"text-center py-8",children:(0,a.jsx)("div",{className:"text-red-400",children:"Chyba pÅi naÄ\xedt\xe1n\xed žebÅ\xedÄku"})}):0===T.length?(0,a.jsx)("div",{className:"text-center py-8",children:(0,a.jsx)("div",{className:"text-green-400",children:"Zat\xedm ž\xe1dn\xe9 t\xfdmy v žebÅ\xedÄku"})}):(0,a.jsxs)(a.Fragment,{children:[T.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center justify-between p-5 rounded-xl border-2 transition-all hover:scale-[1.02] ".concat(0===t?"bg-gradient-to-r from-yellow-500/20 to-yellow-600/20 border-yellow-400 shadow-[0_0_20px_rgba(250,204,21,0.4)]":1===t?"bg-gradient-to-r from-slate-300/25 to-slate-200/25 border-slate-300 shadow-[0_0_25px_rgba(203,213,225,0.5)]":2===t?"bg-gradient-to-r from-orange-500/20 to-orange-600/20 border-orange-400 shadow-[0_0_15px_rgba(251,146,60,0.3)]":"bg-white/5 border-green-400/30 hover:border-green-400/50"),children:[(0,a.jsxs)("div",{className:"flex items-center space-x-4 flex-1",children:[(0,a.jsx)(i.E,{variant:0===t?"default":"secondary",className:"w-12 h-12 rounded-full flex items-center justify-center text-lg font-bold shadow-lg ".concat(0===t?"bg-yellow-500 text-black shadow-yellow-500/50":1===t?"bg-gray-300 text-black shadow-gray-400/50":2===t?"bg-orange-400 text-black shadow-orange-400/50":"bg-green-600 text-white shadow-green-600/50"),children:t+1}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"text-white font-bold text-lg",children:e.teamNickname}),(0,a.jsx)("div",{className:"text-green-300 text-sm font-medium",children:e.schoolName})]})]}),(0,a.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"text-green-400 text-xs font-semibold mb-1 uppercase tracking-wide",children:"Äas"}),(0,a.jsxs)("div",{className:"text-white font-mono text-2xl font-bold",children:[Math.floor(e.completionTime/3600),":",Math.floor(e.completionTime%3600/60).toString().padStart(2,"0"),":",(e.completionTime%60).toString().padStart(2,"0")]})]}),(0,a.jsx)(w,{teamName:e.teamNickname,children:(0,a.jsx)(n.$,{variant:"ghost",size:"icon",className:"text-green-400 hover:text-green-300 hover:bg-green-400/20 transition-all",children:(0,a.jsx)(b.A,{className:"w-5 h-5"})})})]})]},t)),e&&e.length>=8||y?(0,a.jsx)("div",{className:"text-center pt-4",children:(0,a.jsx)(n.$,{variant:"outline",onClick:()=>C(!y),className:"border-green-400/50 text-green-400 hover:bg-green-400/20 hover:text-green-300",children:y?"Zobrazit m\xe9nÄ":"NaÄ\xedst cel\xfd žebÅ\xedÄek"})}):null]})})})]})]})}),(0,a.jsx)(z.A,{})]})]})}},25016:(e,t,s)=>{"use strict";s.d(t,{cn:()=>l});var a=s(2821),r=s(75889);function l(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,r.QP)((0,a.$)(t))}},27937:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(71847).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},32450:(e,t,s)=>{"use strict";s.d(t,{F:()=>a});let a=s(25991).dp},36759:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(95155);function r(){return(0,a.jsx)("footer",{className:"container mx-auto px-4 py-8 text-center",children:(0,a.jsx)("div",{className:"border-t border-green-400/30 pt-8",children:(0,a.jsxs)("p",{className:"text-green-300",children:["\xa9 2025"," ",(0,a.jsx)("a",{href:"https://www.vscht.cz",target:"_blank",rel:"noopener noreferrer",className:"text-green-300 hover:text-green-200 underline",children:"VÅ CHT Praha"})," ","- ChemMasters \xfanikovka pro SÅ - "," ",(0,a.jsx)("a",{href:"mailto:[email protected]",className:"text-green-300 hover:text-green-200 underline",children:"[email protected]"})]})})})}},54679:(e,t,s)=>{"use strict";s.d(t,{Cf:()=>m,L3:()=>g,c7:()=>h,lG:()=>i,rr:()=>u,zM:()=>c});var a=s(95155),r=s(12115),l=s(89511),n=s(65229),o=s(25016);let i=l.bL,c=l.l9,d=l.ZL;l.bm;let x=r.forwardRef((e,t)=>
1{let{className:s,...r}=e;return(0,a.jsx)(l.hJ,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...r})});x.displayName=l.hJ.displayName;let m=r.forwardRef((e,t)=>{let{className:s,children:r,...i}=e;return(0,a.jsxs)(d,{children:[(0,a.jsx)(x,{}),(0,a.jsxs)(l.UC,{ref:t,className:(0,o.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",s),...i,children:[r,(0,a.jsxs)(l.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,a.jsx)(n.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=l.UC.displayName;let h=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...s})};h.displayName="DialogHeader";let g=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.hE,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",s),...r})});g.displayName=l.hE.displayName;let u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.VY,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",s),...r})});u.displayName=l.VY.displayName},67812:(e,t,s)=>{"use strict";s.d(t,{E:()=>o});var a=s(95155);s(12115);var r=s(83101),l=s(25016);let n=(0,r.F)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:s,...r}=e;return(0,a.jsx)("div",{className:(0,l.cn)(n({variant:s}),t),...r})}},83209:(e,t,s)=>{"use strict";s.d(t,{BT:()=>c,Wu:()=>d,ZB:()=>i,Zp:()=>n,aR:()=>o});var a=s(95155),r=s(12115),l=s(25016);let n=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,l.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",s),...r})});n.displayName="Card";let o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",s),...r})});o.displayName="CardHeader";let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("h3",{ref:t,className:(0,l.cn)("text-2xl font-semibold leading-none tracking-tight",s),...r})});i.displayName="CardTitle";let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("p",{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",s),...r})});c.displayName="CardDescription";let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,l.cn)("p-6 pt-0",s),...r})});d.displayName="CardContent",r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,l.cn)("flex items-center p-6 pt-0",s),...r})}).displayName="CardFooter"},90368:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(71847).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},95664:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(71847).A)("camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]])},97003:(e,t,s)=>{"use strict";s.d(t,{$:()=>c,r:()=>i});var a=s(95155),r=s(12115),l=s(32467),n=s(83101),o=s(25016);let i=(0,n.F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=r.forwardRef((e,t)=>
1{let{className:s,variant:r,size:n,asChild:c=!1,...d}=e,x=c?l.DX:"button";return(0,a.jsx)(x,{className:(0,o.cn)(i({variant:r,size:n,className:s})),ref:t,...d})});c.displayName="Button"}},e=>{e.O(0,[272,158,649,441,255,358],()=>e(e.s=2710)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.