PageSourceSearch

https://kosicednes.sk/_next/static/chunks/06tbm_dh-vmju.js

js kosicednes.sk collected 2026-10-02 11:06:23 UTC 16,318 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function s(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return x},MiddlewareNotFoundError:function(){return k},MissingStaticPage:function(){return y},NormalizeError:function(){return b},PageNotFoundError:function(){return v},SP:function(){return p},ST:function(){return g},WEB_VITALS:function(){return s},execOnce:function(){return o},getDisplayName:function(){return u},getLocationOrigin:function(){return c},getURL:function(){return d},isAbsoluteUrl:function(){return l},isResSent:function(){return m},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return w}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>i.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function d(){let{href:e}=window.location,t=c();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function m(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&m(r))return n;if(!n)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let p="u">typeof performance,g=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class x extends Error{}class b extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class k extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},63178,e=>{"use strict";var t=e.i(71645),r=(e,t,r,n,a,s,o,i)=>{let l=document.documentElement,c=["light","dark"];function d(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&s?a.map(e=>s[e]||e):a;r?(l.classList.remove(...n),l.classList.add(s&&s[t]?s[t]:t)):l.setAttribute(e,t)}),r=t,i&&c.includes(r)&&(l.style.colorScheme=r)}if(n)d(n);else try{let e=localStorage.getItem(t)||r,n=o&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;d(n)}catch(e){}},n=["light","dark"],a="(prefers-color-scheme: dark)",s="u"<typeof window,o=t.createContext(void 0),i={setTheme:e=>{},themes:[]},l=["light","dark"],c=({forcedTheme:e,disableTransitionOnChange:r=!1,enableSystem:s=!0,enableColorScheme:i=!0,storageKey:c="theme",themes:f=l,defaultTheme:p=s?"system":"light",attribute:g="data-theme",value:x,children:b,nonce:v,scriptProps:y})=>{let[k,w]=t.useState(()=>u(c,p)),[N,j]=t.useState(()=>"system"===k?h():k),S=x?Object.values(x):f,E=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&s&&(t=h());let a=x?x[t]:t,o=r?m(v):null,l=document.documentElement,c=e=>{"class"===e?(l.classList.remove(...S),a&&l.classList.add(a)):e.startsWith("data-")&&(a?l.setAttribute(e,a):l.removeAttribute(e))};if(Array.isArray(g)?g.forEach(c):c(g),i){let e=n.includes(p)?p:null,r=n.includes(t)?t:e;l.style.colorScheme=r}null==o||o()},[v]),C=t.useCallback(e=>{let t="function"==typeof e?e(k):e;w(t);try{localStorage.setItem(c,t)}catch(e){}},[k]),P=t.useCallback(t=>{j(h(t)),"system"===k&&s&&!e&&E("system")},[k,e]);t.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(P),P(e),()=>e.removeListener(P)},[P]),t.useEffect(()=>{let e=e=>{e.key===c&&(e.newValue?w(e.newValue):C(p))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[C]),t.useEffect(()=>{E(null!=e?e:k)},[e,k]);let O=t.useMemo(()=>({theme:k,setTheme:C,forcedTheme:e,resolvedTheme:"system"===k?N:k,themes:s?[...f,"system"]:f,systemTheme:s?N:void 0}),[k,C,e,N,s,f]);return t.createElement(o.Provider,{value:O},t.createElement(d,{forcedTheme:e,storageKey:c,attribute:g,enableSystem:s,enableColorScheme:i,defaultTheme:p,value:x,themes:f,nonce:v,scriptProps:y}),b)},d=t.memo(({forcedTheme:e,storageKey:n,attribute:a,enableSystem:s,enableColorScheme:o,defaultTheme:i,value:l,themes:c,nonce:d,scriptProps:u})=>{let m=JSON.stringify([a,n,i,e,c,l,s,o]).slice(1,-1);return t.createElement("script",{...u,suppressHydrationWarning:!0,nonce:"u"<typeof window?d:"",dangerouslySetInnerHTML:{__html:`(${r.toString()})(${m})`}})}),u=(e,t)=>
1{let r;if(!s){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},m=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},h=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light");e.s(["ThemeProvider",0,e=>t.useContext(o)?t.createElement(t.Fragment,null,e.children):t.createElement(c,{...e}),"useTheme",0,()=>{var e;return null!=(e=t.useContext(o))?e:i}])},15227,e=>{"use strict";let t=(0,e.i(56420).default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);e.s(["MessageCircle",0,t],15227)},35965,e=>{"use strict";let t=(0,e.i(56420).default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);e.s(["Sun",0,t],35965)},66595,e=>{"use strict";let t=(0,e.i(56420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,t],66595)},16327,e=>{"use strict";let t=(0,e.i(56420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],16327)},27423,e=>{"use strict";var t=e.i(43476),r=e.i(63178);e.s(["ThemeProvider",0,function({children:e,...n}){return(0,t.jsx)(r.ThemeProvider,{...n,children:e})}])},3265,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(22016),a=e.i(63178),s=e.i(66595),o=e.i(56420);let i=(0,o.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var l=e.i(16327);let c=(0,o.default)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);var d=e.i(35965);let u=(0,o.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);var m=e.i(63676);let h=(0,o.default)("crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);var f=e.i(15227),p=e.i(75157),g=e.i(19455);let x=[{title:"VOĽBY KOŠICE",href:"https://volby.kosicednes.sk/",highlight:!0},{title:"Správy",href:"/kategoria/spravy"},{title:"Komentár",href:"/kategoria/komentar"},{title:"Zastupiteľstvo",href:"/mestske-zastupitelstvo-kosice-nazivo"},{title:"Politika",href:"/kategoria/politika"},{title:"Doprava",href:"/waze"}];e.s(["Navbar",0,function({tenant:e}){let{theme:o,setTheme:b}=(0,a.useTheme)(),[v,y]=r.useState(!1),[k,w]=r.useState(!1),[N,j]=r.useState(!1);r.useRef(null);let S=x.map(t=>"presov"===e.id&&"VOĽBY KOŠICE"===t.title?{title:"KOŠICE: DNES",href:"https://kosicednes.sk/"}:t);r.useEffect(()=>{y(!0)},[]);let E="presov"===e.id?"hover:text-[#ED1C24]":"slovensko"===e.id?"hover:text-[#00AEEF]":"hover:text-[#005A9C]",C=e.colorClass,P=e.bgClass,O=e.borderClass;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:"w-full flex flex-col z-50 sticky top-0 shadow-sm",children:(0,t.jsx)("nav",{className:"w-full bg-background border-b border-border z-40 transition-colors",children:(0,t.jsxs)("div",{className:"max-w-[1400px] mx-auto px-4 h-14 md:h-16 flex items-center justify-between gap-4 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4 shrink-0",children:[(0,t.jsx)("button",{onClick:()=>w(!0),className:"md:hidden p-2 -ml-2 text-foreground hover:bg-muted rounded-md transition-colors",children:(0,t.jsx)(i,{className:"w-6 h-6"})}),(0,t.jsx)(n.default,{href:"/",className:"flex items-center shrink-0",children:(0,t.jsxs)("div",{className:"text-2xl font-black tracking-tighter",children:[(0,t.jsx)("span",{className:"text-foreground",children:e.name}),(0,t.jsx)("span",{className:C,children:": DNES"})]})})]}),(0,t.jsx)("div",{className:"hidden md:flex flex-1 overflow-x-auto hide-scrollbar items-center gap-4 md:gap-6 ml-6",children:S.map(e=>(0,t.jsxs)(n.default,{href:e.href,className:(0,p.cn)("flex items-center gap-1 px-3 py-2 text-sm font-bold text-foreground
1/80 whitespace-nowrap transition-colors",E),children:[e.title,e.hasDropdown&&(0,t.jsx)(l.ChevronDown,{className:"w-3 h-3 text-muted-foreground"})]},e.title))}),(0,t.jsxs)("div",{className:"flex items-center gap-1 md:gap-2 shrink-0",children:[(0,t.jsx)(n.default,{href:"/vyhladavanie",className:(0,p.cn)("flex p-2 rounded-full text-foreground/80 hover:bg-muted transition-colors",E),"aria-label":"Vyhľadávanie",children:(0,t.jsx)(s.Search,{className:"w-5 h-5"})}),(0,t.jsxs)(n.default,{href:"https://www.facebook.com/messages/t/8920332098087286/",target:"_blank",className:(0,p.cn)("hidden lg:flex items-center gap-2 rounded-full border bg-transparent font-black text-xs px-4 py-2 uppercase tracking-widest transition-colors",C,O,`hover:${P}/10`),children:[(0,t.jsx)(f.MessageCircle,{className:"w-4 h-4"})," INFOKANÁL"]}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(g.Button,{variant:"ghost",size:"icon",className:"relative rounded-full text-foreground/80 hover:bg-muted hidden md:flex h-9 w-9",onClick:async()=>{try{let e=async e=>{try{if(e.Notifications&&!1===e.Notifications.permission)return void alert("Upozornenia ste zablokovali vo vašom prehliadači. Prosím, povoľte ich v nastaveniach.");e.Slidedown?await e.Slidedown.promptPush({force:!0}):e.Notifications&&await e.Notifications.requestPermission()}catch(e){console.error("OneSignal error:",e)}},t=window;t.OneSignal&&t.OneSignal.initialized?await e(t.OneSignal):(t.OneSignalDeferred=t.OneSignalDeferred||[],t.OneSignalDeferred.push(async function(t){await e(t)}))}catch(e){console.error("Error triggering push prompt:",e)}},title:"Nastavenia upozornení",children:(0,t.jsx)(c,{className:"w-4 h-4"})})}),(0,t.jsxs)(g.Button,{variant:"ghost",size:"icon",onClick:()=>b("dark"===o?"light":"dark"),className:"rounded-full text-foreground/80 hover:bg-muted h-9 w-9",children:[(0,t.jsx)(d.Sun,{className:"h-4 w-4 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,t.jsx)(u,{className:"absolute h-4 w-4 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"})]})]})]})})}),k&&(0,t.jsxs)("div",{className:"fixed inset-0 z-[100] flex",children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-sm",onClick:()=>w(!1)}),(0,t.jsxs)("div",{className:"relative w-80 max-w-full bg-background h-full shadow-2xl flex flex-col z-[101] animate-in slide-in-from-left duration-300",children:[(0,t.jsxs)("div",{className:"p-4 flex items-center justify-between border-b border-border",children:[(0,t.jsxs)("div",{className:"text-xl font-black tracking-tighter",children:[(0,t.jsx)("span",{className:"text-foreground",children:e.name}),(0,t.jsx)("span",{className:C,children:": DNES"})]}),(0,t.jsx)(g.Button,{variant:"ghost",size:"icon",onClick:()=>w(!1),children:(0,t.jsx)(m.X,{className:"w-6 h-6"})})]}),(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto p-4 flex flex-col gap-2",children:[(0,t.jsx)("div",{className:"text-xs font-bold text-muted-foreground uppercase mb-2",children:"Rubriky"}),S.map(e=>(0,t.jsx)(n.default,{href:e.href,className:(0,p.cn)("px-4 py-3 text-lg font-bold rounded-md transition-colors",e.highlight?"bg-red-50 text-[#ED1C24] dark:bg-red-950/30 dark:text-red-400":"text-foreground hover:bg-muted"),onClick:()=>w(!1),children:e.title},e.title))]}),(0,t.jsx)("div",{className:"p-4 border-t border-border bg-muted/30",children:(0,t.jsx)(g.Button,{className:"w-full font-bold h-12 text-sm bg-foreground text-background hover:bg-foreground
1/80",children:"Prihlásiť sa do konta"})})]})]}),N&&(0,t.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-40 bg-background/95 backdrop-blur-sm border-t border-border text-foreground shadow-[0_-10px_30px_rgba(0,0,0,0.05)] hidden md:block",children:(0,t.jsxs)("div",{className:"max-w-[1400px] mx-auto px-4 h-14 md:h-16 flex items-center justify-between gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(h,{className:(0,p.cn)("w-5 h-5 shrink-0",C)}),(0,t.jsx)("div",{className:"flex flex-col md:flex-row md:items-center gap-0 md:gap-2",children:(0,t.jsxs)("span",{className:"font-semibold text-sm md:text-base leading-tight",children:["Zakúpte si predplatné k špeciálnym funkciám dostupným len pre podporovateľov ",e.title]})})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(n.default,{href:"/predplatne",className:(0,p.cn)("shrink-0 text-white font-bold px-4 md:px-6 py-1.5 md:py-2 rounded-md text-xs md:text-sm transition-colors shadow-sm opacity-90 hover:opacity-100",P),children:"Predplatiť"}),(0,t.jsx)(g.Button,{variant:"ghost",size:"icon",onClick:()=>j(!1),children:(0,t.jsx)(m.X,{className:"w-5 h-5"})})]})]})})]})}],3265)},69527,e=>{"use strict";var t=e.i(43476),r=e.i(63178),n=e.i(71645);e.s(["GlobalBackground",0,function(){let{theme:e}=(0,r.useTheme)(),[a,s]=(0,n.useState)("#ffffff"),[o,i]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{i(!0),s("dark"===e?"#ffffff":"#005A9C")},[e]),o)?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"fixed inset-0 pointer-events-none z-[-2] w-full h-full bg-background bg-[linear-gradient(to_right,#80808012_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-[size:24px_24px]",children:(0,t.jsx)("div",{className:"absolute left-0 right-0 top-0 -z-10 m-auto h-[310px] w-[310px] rounded-full bg-[#005A9C] opacity-[0.15] blur-[100px]"})})}):null}])},66592,e=>{"use strict";e.s(["HeaderBanners",0,function(){return null}])}]);

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.