PageSourceSearch

https://www.aktuality.sk/_nuxt/WTvWquK7.js

js aktuality.sk collected 2026-09-24 08:33:17 UTC 61,439 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CO81t_D8.js","./DhnknOoX.js","./2O7RcdeP.js","./DvR1Hnih.js","./Ezoh2LZ-.js","./3O8JeIKI.js","./entry.DROrlV3N.css","./Croy7KDT.js","./ImageCustom.DYzNuXsT.css","./B4-zGRKG.js","./SkeletonBox.B07ChE83.css","./DHvD7bKR.js","./CDSw__h1.js","./rx7DE9vL.js","./ImageThumbor.DQ4O-bMT.css","./K_YIo5_O.js","./DC__Co-N.js","./CI2bmzhv.js","./DWETysC4.js","./C6iAP2rB.js","./PftTrceW.js","./Cv96DgOK.js","./hHXlPOu1.js","./Btowstej.js","./B6Ew5HQg.js","./BdiSaZ7Y.js","./PostImageFullscreen.DJYzKcaF.css","./Timeline.jIIESEsb.css","./DUiL81XQ.js","./Cyf_mIVE.js","./TvProgramSection.C2vwyjae.css","./DTl_PkBW.js","./CEf1IsMu.js","./BJlwOjsd.js","./HoroscopeSection.BDnU7EKJ.css","./DIDAQdx2.js","./A-osZcuj.js","./zvNc2pVa.js","./CrosspromoLetamo.rTjhDT8Z.css","./dCu6-9U4.js","./EshopSection.DYPEZ8w_.css","./DdT6KOJ5.js","./SimpleListArticlesSection.B-5RYySS.css"])))=>i.map(i=>d[i]);
2import{d as st,e as vt,a as _t,o as yt,g as h,k as w,h as M,r as Pt,x as pt,M as be,q as H,i as f,l as b,z as Mt,J as T,a2 as we,F as J,C as X,D as W,_ as Rt,w as se,b as re,G as ht,H as $t,A as ut,aX as Yt,aY as Ut,ax as xe,E as ke,a8 as Vt,K as ct,aZ as Z,aa as Q,ab as G,aq as Se,Z as $e,ae as qt,Y as Te,a9 as Oe,R as De,u as Pe,P as Me,j as Ie}from"./3O8JeIKI.js";import{W as Re}from"./PftTrceW.js";import{a as oe}from"./CDSw__h1.js";import{I as Ee,_ as Le}from"./DvR1Hnih.js";import{_ as ze}from"./B4-zGRKG.js";import{S as He}from"./DHvD7bKR.js";import{_ as Ae}from"./rx7DE9vL.js";import{t as Jt}from"./CI2bmzhv.js";import{u as je,A as Be,_ as ae}from"./Cv96DgOK.js";import{_ as le}from"./hHXlPOu1.js";import{S as K}from"./DhnknOoX.js";import{M as ue,_ as Ve,g as xt}from"./2O7RcdeP.js";import{u as Ce,p as Ne,d as We,F as Fe}from"./Btowstej.js";import{u as Ye}from"./DUiL81XQ.js";import{u as Ue}from"./DWETysC4.js";const qe={key:0,id:"censored-wrapper",class:"censored-gradient"},Je={class:"modalwrapper"},Ke={key:0,class:"first-body-text"},Xe={key:1,class:"first-body-text"},Ze={key:2,class:"second-body-text"},Qe={class:"button-wrapper"},Ge={key:0,class:"button support"},tn="https://www.aktuality.sk/navyse/?coupon=akciamaj&utm_source=aktuality&utm_medium=pop-up&utm_campaign=3_maj&utm_content=rocne_promo",en=st({__name:"CensoredInfoBannerBackup",emits:["closeCensored"],setup(t,{emit:e}){const{$trackEvent:i}=vt(),n=_t(),r=X(!1),s=e,o=W(()=>n.getUser.data),a=W(()=>o.value&&o.value.hasActivePlus?o.value.hasActivePlus:!1),l=W(()=>o.value&&o.value.hasActivePlus?"pixelated-image-premium-user":"pixelated-image"),d=()=>{setTimeout(()=>{r.value=!0},5e3)},u=p=>{r.value=!1,i("censored-modal",p),s("closeCensored",!0)};return yt(()=>{d()}),(p,m)=>(h(),w(J,null,[(h(),M(be("style"),null,{default:Pt(()=>[...m[2]||(m[2]=[pt(` .censored, .post { font-family: 'censored2regular'!important; } picture { position: relative; overflow: hidden; } picture::after { content: ""; position: absolute; top: 50%; left: 50%; background: url("https://s.aimg.sk/aktuality_symfony/static/event/cenzura-stripe.svg") no-repeat center; background-size: cover; transform: translate(-50%, -50%) rotate(-15deg); font-size: 30px; width: 90%; height: 25%; z-index: 10; } img { image-rendering: pixelated; image-rendering: -webkit-optimize-contrast; filter: blur(7px) grayscale(100) } `,-1)])]),_:1})),H(we,null,{default:Pt(()=>[f(r)?(h(),w("div",qe,[b("div",Je,[b("button",{class:"close-icon-wrapper",onClick:m[0]||(m[0]=c=>u("zavriet"))},[...m[3]||(m[3]=[b("div",{class:"close-icon"},null,-1)])]),m[5]||(m[5]=b("span",{class:"modal-header-title"},"3. máj - svetový deň slobody tlače",-1)),b("div",{class:Mt(["modal-image",f(l)])},null,2),f(a)?T("",!0):(h(),w("div",Ke," Aktuality.sk dennodenne prinášajú slobodné informácie aj vďaka vám ")),f(a)?(h(),w("div",Xe," Aj vďaka vám môžeme prinášať slobodné informácie a tvoriť nezávislé spravodajstvo. ")):(h(),w("div",Ze,[...m[4]||(m[4]=[b("b",null,"Pri príležitosti Svetového dňa slobody tlače",-1),pt(" môžete podporiť nezávislú žurnalistiku výhodnejšie – získajte predplatné ",-1),b("b",null,"Aktuality Navyše",-1),pt(" na ",-1),b("b",null,"20 mesiacov len za 20 €",-1),pt(" so zľavou až ",-1),b("b",null,"85 %",-1),pt(". ",-1),b("b",null,"Ponuka platí len do nedele 3. mája!",-1)])])),b("div",Qe,[f(a)?T("",!0):(h(),w("div",Ge,[b("a",{id:"podpor",href:tn,class:"button-link",onClick:m[1]||(m[1]=c=>u("chcem-podporit"))}," Podporiť ")]))])])])):T("",!0)]),_:1})],64))}}),nn=Object.assign(Rt(en,[["__scopeId","data-v-f7a6b5d7"]]),{__name:"ItemCensoredInfoBannerBackup"}),sn={},rn={id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",width:"9px",height:"13px",viewBox:"0 0 434 660",style:{"enable-background":"new 0 0 434 660"},"xml:space":"preserve"};function on(t,e){return h(),w("div",null,[(h(),w("svg",rn,[...e[0]||(e[0]=[b("g",{id:"XMLID_13_"},[b("g",null,[b("path",{d:"M403.2,333.7c0.3,58.5-178.1,272.9-178.1,272.9H29c0,0,178.1-234.8,178.1-273.4c0-38.5-177.3-272.5-177.3-272.5h196    C225.9,60.7,402.9,275.1,403.2,333.7z",fill:"#777777"})])],-1)])]))])}const an=Object.assign(Rt(sn,[["render",on]]),{__name:"EventsAktualityIcon"}),ln={key:0},un={class:"text-white flex flex-col md:flex-row flex-nowrap event-box-wrapper"},cn={class:"py-4 px-4 flex flex-col event-headline-wrapper"},dn={class:"flex items-start"},fn=["href","title"],mn=["href","title"],pn={class:"md:pl-5 md:pr-5 flex flex-col md:flex-row grow md:gap-x-3 py-2 md:py-0",style:{"background-color":"#353d45"}},hn={class:"relative w-1/3 hidden lg:flex"},gn=["href","title"],vn=["src"],_n={key:0,class:"absolute right-0 bottom-0"},yn={class:"w-full lg:w-2/3 h-full inline-flex items-center pl-2 md:pl-0 relative"},bn={class:"flex items-center h-full"},wn=["href","title"],xn=["href","title"],kn={__name:"EventsBox",async setup(t){let e,i;const{$baseApiUrl:n}=vt(),{data:r}=([e,i]=se(async()=>re("event-box",async()=>await $fetch(`${n}/api/events/event-box`,{timeout:ht}))),e=await e,i(),e);let s=r.value?.items||[];r.value&&"items"in r.value&&r.value.items.length>3&&(s=r.value.items.slice(0,3));const o=s&&s.length>0,a=d=>d.flags?.map(u=>u.code)||[],l=(d,u=65)=>d.length>u?d.slice(0,u)+"...":d;return(d,u)=>{const p=an,m=oe;return h(),w("div",null,[f(r)&&f(r).navigation&&f(o)?(h(),w("div",ln,[b("div",un,[b("div",cn,[b("div",dn,[H(p,{class:"inline-flex mt-1 lg:mt-1.5 mr-1.5"}),b("a",{href:f(r).navigation.url,title:f(r).navigation.title,class:"font-bold text-xl inline-flex leading-5 line-clamped clamp-2"},$t(f(r).navigation.title),9,fn)]),b("a",{href:f(r).navigation.url,title:f(r).navigation.title,class:"hidden md:flex underline text-md"}," Viac o téme ",8,mn)]),b("ul",pn,[(h(!0),w(J,null,ut(f(s),c=>(h(),w("li",{key:c.id,class:"w-full md:w-1/3 flex py-1 md:py-3 px-4 md:px-0"},[b("div",hn,[b("a",{class:"inline-flex w-full",href:c.url,title:c.title},[b("img",{src:c.image.url,alt:"Article Image",class:"max-h-full w-full"},null,8,vn)],8,gn),a(c).includes("premiovy_clanok")?(h(),w("div",_n,[H(m,{flags:a(c),"image-flag":!0},null,8,["flags"])])):T("",!0)]),b("div",yn,[u[0]||(u[0]=b("span",{class:"md:hidden absolute left-0 top-2 rounded-full",style:{"background-color":"#ce3031",width:"5px",height:"5
2px"}},null,-1)),b("div",bn,[b("a",{class:"leading-5 max-h-full h-full font-bold text-lg lg:text-xl pl-2 line-clamped clamp-3 event-article-title",href:c.url,title:c.title},$t(c.title),9,wn),b("a",{class:"leading-5 max-h-full h-full font-bold text-lg lg:text-xl pl-2 line-clamped clamp-3 event-article-title-short",href:c.url,title:c.title},$t(l(c.title)),9,xn)])])]))),128))])])])):T("",!0)])}}},Sn=Rt(kn,[["__scopeId","data-v-6e877f3e"]]);function Kt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Xt(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?Kt(Object(i),!0).forEach(function(n){Tn(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Kt(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function Tt(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Tt=function(e){return typeof e}:Tt=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(t)}function Et(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Lt(t,e,i){return e&&$n(t.prototype,e),t}function Tn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function On(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zt(t,e)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},dt(t)}function zt(t,e){return zt=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},zt(t,e)}function Dn(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mn(t,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pn(t)}function In(t){var e=Dn();return function(){var n=dt(t),r;if(e){var s=dt(this).constructor;r=Reflect.construct(n,arguments,s)}else r=n.apply(this,arguments);return Mn(this,r)}}function Rn(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function Ot(){return typeof Reflect<"u"&&Reflect.get?Ot=Reflect.get:Ot=function(e,i,n){var r=Rn(e,i);if(r){var s=Object.getOwnPropertyDescriptor(r,i);return s.get?s.get.call(arguments.length<3?e:n):s.value}},Ot.apply(this,arguments)}var En={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function it(t){console.error("[Glide warn]: ".concat(t))}function Y(t){return parseInt(t)}function Ln(t){return parseFloat(t)}function Ht(t){return typeof t=="string"}function gt(t){var e=Tt(t);return e==="function"||e==="object"&&!!t}function It(t){return typeof t=="function"}function zn(t){return typeof t>"u"}function At(t){return t.constructor===Array}function Hn(t,e,i){var n={};for(var r in e)It(e[r])?n[r]=e[r](t,n,i):it("Extension must be a function");for(var s in n)It(n[s].mount)&&n[s].mount();return n}function j(t,e,i){Object.defineProperty(t,e,i)}function Zt(t,e){var i=Object.assign({},t,e);if(e.hasOwnProperty("classes")){i.classes=Object.assign({},t.classes,e.classes);var n=["direction","type","slide","arrow","nav"];
2n.forEach(function(r){e.classes.hasOwnProperty(r)&&(i.classes[r]=Xt(Xt({},t.classes[r]),e.classes[r]))})}return e.hasOwnProperty("breakpoints")&&(i.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),i}var An=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Et(this,t),this.events=e,this.hop=e.hasOwnProperty}return Lt(t,[{key:"on",value:function(i,n){if(At(i)){for(var r=0;r<i.length;r++)this.on(i[r],n);return}this.hop.call(this.events,i)||(this.events[i]=[]);var s=this.events[i].push(n)-1;return{remove:function(){delete this.events[i][s]}}}},{key:"emit",value:function(i,n){if(At(i)){for(var r=0;r<i.length;r++)this.emit(i[r],n);return}this.hop.call(this.events,i)&&this.events[i].forEach(function(s){s(n||{})})}}]),t})(),jn=(function(){function t(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Et(this,t),this._c={},this._t=[],this._e=new An,this.disabled=!1,this.selector=e,this.settings=Zt(En,i),this.index=this.settings.startAt}return Lt(t,[{key:"mount",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),gt(i)?this._c=Hn(this,i,this._e):it("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return At(i)?this._t=i:it("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.settings=Zt(this.settings,i),i.hasOwnProperty("startAt")&&(this.index=i.startAt),this._e.emit("update"),this}},{key:"go",value:function(i){return this._c.Run.make(i),this}},{key:"move",value:function(i){return this._c.Transition.disable(),this._c.Move.make(i),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return i&&(this.settings.autoplay=i),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(i,n){return this._e.on(i,n),this}},{key:"isType",value:function(i){return this.settings.type===i}},{key:"settings",get:function(){return this._o},set:function(i){gt(i)?this._o=i:it("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(i){this._i=Y(i)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(i){this._d=!!i}}]),t})();function Bn(t,e,i){var n={mount:function(){this._o=!1},make:function(d){var u=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=d,i.emit("run.before",this.move),this.calculate(),i.emit("run",this.move),e.Transition.after(function(){u.isStart()&&i.emit("run.start",u.move),u.isEnd()&&i.emit("run.end",u.move),u.isOffset()&&(u._o=!1,i.emit("run.offset",u.move)),i.emit("run.after",u.move),t.enable()}))},calculate:function(){var d=this.move,u=this.length,p=d.steps,m=d.direction,c=1;if(m==="="){if(t.settings.bound&&Y(p)>u){t.index=u;return}t.index=p;return}if(m===">"&&p===">"){t.index=u;return}if(m==="<"&&p==="<"){t.index=0;return}if(m==="|"&&(c=t.settings.perView||1),m===">"||m==="|"&&p===">"){var k=r(c);k>u&&(this._o=!0),t.index=s(k,c);return}if(m==="<"||m==="|"&&p==="<"){var O=o(c);O<0&&(this._o=!0),t.index=a(O,c);return}it("Invalid direction pattern [".concat(m).concat(p,"] has been used"))},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;return d?this._o?d==="|>"?this.move.direction==="|"&&this.move.steps===">":d==="|<"?this.move.direction==="|"&&this.move.steps==="<":this.move.direction===d:!1:this._o},isBound:function(){return t.isType("slider")&&t.settings.focusAt!=="center"&&t.settings.bound}};function r(l){var d=t.index;
2return t.isType("carousel")?d+l:d+(l-d%l)}function s(l,d){var u=n.length;return l<=u?l:t.isType("carousel")?l-(u+1):t.settings.rewind?n.isBound()&&!n.isEnd()?u:0:n.isBound()?u:Math.floor(u/d)*d}function o(l){var d=t.index;if(t.isType("carousel"))return d-l;var u=Math.ceil(d/l);return(u-1)*l}function a(l,d){var u=n.length;return l>=0?l:t.isType("carousel")?l+(u+1):t.settings.rewind?n.isBound()&&n.isStart()?u:Math.floor(u/d)*d:0}return j(n,"move",{get:function(){return this._m},set:function(d){var u=d.substr(1);this._m={direction:d.substr(0,1),steps:u?Y(u)?Y(u):u:0}}}),j(n,"length",{get:function(){var d=t.settings,u=e.Html.slides.length;return this.isBound()?u-1-(Y(d.perView)-1)+Y(d.focusAt):u-1}}),j(n,"offset",{get:function(){return this._o}}),n}function Qt(){return new Date().getTime()}function Ct(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,r,s,o,a=0,l=function(){a=i.leading===!1?0:Qt(),n=null,o=t.apply(r,s),n||(r=s=null)},d=function(){var p=Qt();!a&&i.leading===!1&&(a=p);var m=e-(p-a);return r=this,s=arguments,m<=0||m>e?(n&&(clearTimeout(n),n=null),a=p,o=t.apply(r,s),n||(r=s=null)):!n&&i.trailing!==!1&&(n=setTimeout(l,m)),o};return d.cancel=function(){clearTimeout(n),a=0,n=r=s=null},d}var kt={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function Vn(t,e,i){var n={apply:function(s){for(var o=0,a=s.length;o<a;o++){var l=s[o].style,d=e.Direction.value;o!==0?l[kt[d][0]]="".concat(this.value/2,"px"):l[kt[d][0]]="",o!==s.length-1?l[kt[d][1]]="".concat(this.value/2,"px"):l[kt[d][1]]=""}},remove:function(s){for(var o=0,a=s.length;o<a;o++){var l=s[o].style;l.marginLeft="",l.marginRight=""}}};return j(n,"value",{get:function(){return Y(t.settings.gap)}}),j(n,"grow",{get:function(){return n.value*e.Sizes.length}}),j(n,"reductor",{get:function(){var s=t.settings.perView;return n.value*(s-1)/s}}),i.on(["build.after","update"],Ct(function(){n.apply(e.Html.wrapper.children)},30)),i.on("destroy",function(){n.remove(e.Html.wrapper.children)}),n}function ce(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,i=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&i.push(e);return i}return[]}function jt(t){return Array.prototype.slice.call(t)}var Cn='[data-glide-el="track"]';function Nn(t,e,i){var n={mount:function(){this.root=t.selector,this.track=this.root.querySelector(Cn),this.collectSlides()},collectSlides:function(){this.slides=jt(this.wrapper.children).filter(function(s){return!s.classList.contains(t.settings.classes.slide.clone)})}};return j(n,"root",{get:function(){return n._r},set:function(s){Ht(s)&&(s=document.querySelector(s)),s!==null?n._r=s:it("Root element must be a existing Html node")}}),j(n,"track",{get:function(){return n._t},set:function(s){n._t=s}}),j(n,"wrapper",{get:function(){return n.track.children[0]}}),i.on("update",function(){n.collectSlides()}),n}function Wn(t,e,i){var n={mount:function(){this.value=t.settings.peek}};return j(n,"value",{get:function(){return n._v},set:function(s){gt(s)?(s.before=Y(s.before),s.after=Y(s.after)):s=Y(s),n._v=s}}),j(n,"reductor",{get:function(){var s=n.value,o=t.settings.perView;return gt(s)?s.before/o+s.after/o:s*2/o}}),i.on(["resize","update"],function(){n.mount()}),n}function Fn(t,e,i){var n={mount:function(){this._o=0},make:function(){var s=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.offset=o,i.emit("move",{movement:this.value}),e.Transition.after(function(){i.emit("move.after",{movement:s.value})})}};return j(n,"offset",{get:function(){return n._o},set:function(s){n._o=zn(s)?0:Y(s)}}),j(n,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),j(n,"value",{get:function(){var s=this.offset,o=this.translate;return e.Direction.is("rtl")?o+s:o-s}}),i.on(["build.before","run"],function(){n.make()}),n}function Yn(t,e,i){var n={setupSlides:function(){for(var s="".concat(this.slideWidth,"px"),o=e.Html.slides,a=0;a<o.length;a++)o[a].style.width=s},setupWrapper:function(){e.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var s=e.Html.slides,o=0;o<s.length;o++)s[o].style.width="";e.Html.wrapper.style.width=""}};return j(n,"length",{get:function(){return e.Html.slides.length}}),j(n,"width",{get:function(){return e.Html.track.offsetWidth}}),j(n,"wrapperSize",{get:function(){return n.slideWidth*n.length+e.Gaps.grow+e.Clones.grow}}),j(n,"slideWidth",{get:function(){return n.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),i.on(["build.before","resize","update"],function(){n.setupSlides(),n.setupWrapper()}),i.on("destroy",function(){n.remove()}),n}
2function Un(t,e,i){var n={mount:function(){i.emit("build.before"),this.typeClass(),this.activeClass(),i.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var s=t.settings.classes,o=e.Html.slides[t.index];o&&(o.classList.add(s.slide.active),ce(o).forEach(function(a){a.classList.remove(s.slide.active)}))},removeClasses:function(){var s=t.settings.classes,o=s.type,a=s.slide;e.Html.root.classList.remove(o[t.settings.type]),e.Html.slides.forEach(function(l){l.classList.remove(a.active)})}};return i.on(["destroy","update"],function(){n.removeClasses()}),i.on(["resize","update"],function(){n.mount()}),i.on("move.after",function(){n.activeClass()}),n}function qn(t,e,i){var n={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=e.Html.slides,a=t.settings,l=a.perView,d=a.classes,u=a.cloningRatio;if(o.length>0)for(var p=+!!t.settings.peek,m=l+p+Math.round(l/2),c=o.slice(0,m).reverse(),k=o.slice(m*-1),O=0;O<Math.max(u,Math.floor(l/o.length));O++){for(var D=0;D<c.length;D++){var P=c[D].cloneNode(!0);P.classList.add(d.slide.clone),s.push(P)}for(var A=0;A<k.length;A++){var L=k[A].cloneNode(!0);L.classList.add(d.slide.clone),s.unshift(L)}}return s},append:function(){for(var s=this.items,o=e.Html,a=o.wrapper,l=o.slides,d=Math.floor(s.length/2),u=s.slice(0,d).reverse(),p=s.slice(d*-1).reverse(),m="".concat(e.Sizes.slideWidth,"px"),c=0;c<p.length;c++)a.appendChild(p[c]);for(var k=0;k<u.length;k++)a.insertBefore(u[k],l[0]);for(var O=0;O<s.length;O++)s[O].style.width=m},remove:function(){for(var s=this.items,o=0;o<s.length;o++)e.Html.wrapper.removeChild(s[o])}};return j(n,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*n.items.length}}),i.on("update",function(){n.remove(),n.mount(),n.append()}),i.on("build.before",function(){t.isType("carousel")&&n.append()}),i.on("destroy",function(){n.remove()}),n}var Nt=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Et(this,t),this.listeners=e}return Lt(t,[{key:"on",value:function(i,n,r){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Ht(i)&&(i=[i]);for(var o=0;o<i.length;o++)this.listeners[i[o]]=r,n.addEventListener(i[o],this.listeners[i[o]],s)}},{key:"off",value:function(i,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ht(i)&&(i=[i]);for(var s=0;s<i.length;s++)n.removeEventListener(i[s],this.listeners[i[s]],r)}},{key:"destroy",value:function(){delete this.listeners}}]),t})();function Jn(t,e,i){var n=new Nt,r={mount:function(){this.bind()},bind:function(){n.on("resize",window,Ct(function(){i.emit("resize")},t.settings.throttle))},unbind:function(){n.off("resize",window)}};return i.on("destroy",function(){r.unbind(),n.destroy()}),r}var Kn=["ltr","rtl"],Xn={">":"<","<":">","=":"="};function Zn(t,e,i){var n={mount:function(){this.value=t.settings.direction},resolve:function(s){var o=s.slice(0,1);return this.is("rtl")?s.split(o).join(Xn[o]):s},is:function(s){return this.value===s},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return j(n,"value",{get:function(){return n._v},set:function(s){Kn.indexOf(s)>-1?n._v=s:it("Direction value must be `ltr` or `rtl`")}}),i.on(["destroy","update"],function(){n.removeClass()}),i.on("update",function(){n.mount()}),i.on(["build.before","update"],function(){n.addClass()}),n}function Qn(t,e){return{modify:function(n){return e.Direction.is("rtl")?-n:n}}}function Gn(t,e){return{modify:function(n){var r=Math.floor(n/e.Sizes.slideWidth);return n+e.Gaps.value*r}}}function ti(t,e){return{modify:function(n){return n+e.Clones.grow/2}}}function ei(t,e){return{modify:function(n){if(t.settings.focusAt>=0){var r=e.Peek.value;return gt(r)?n-r.before:n-r}return n}}}function ni(t,e){return{modify:function(n){var r=e.Gaps.value,s=e.Sizes.width,o=t.settings.focusAt,a=e.Sizes.slideWidth;return o==="center"?n-(s/2-a/2):n-a*o-r*o}}}
2function ii(t,e,i){var n=[Gn,ti,ei,ni].concat(t._t,[Qn]);return{mutate:function(s){for(var o=0;o<n.length;o++){var a=n[o];It(a)&&It(a().modify)?s=a(t,e,i).modify(s):it("Transformer should be a function that returns an object with `modify()` method")}return s}}}function si(t,e,i){var n={set:function(s){var o=ii(t,e).mutate(s),a="translate3d(".concat(-1*o,"px, 0px, 0px)");e.Html.wrapper.style.mozTransform=a,e.Html.wrapper.style.webkitTransform=a,e.Html.wrapper.style.transform=a},remove:function(){e.Html.wrapper.style.transform=""},getStartIndex:function(){var s=e.Sizes.length,o=t.index,a=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?s+(o-a):(o+a)%s},getTravelDistance:function(){var s=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?s*-1:s}};return i.on("move",function(r){if(!t.isType("carousel")||!e.Run.isOffset())return n.set(r.movement);e.Transition.after(function(){i.emit("translate.jump"),n.set(e.Sizes.slideWidth*t.index)});var s=e.Sizes.slideWidth*e.Translate.getStartIndex();return n.set(s-e.Translate.getTravelDistance())}),i.on("destroy",function(){n.remove()}),n}function ri(t,e,i){var n=!1,r={compose:function(o){var a=t.settings;return n?"".concat(o," 0ms ").concat(a.animationTimingFunc):"".concat(o," ").concat(this.duration,"ms ").concat(a.animationTimingFunc)},set:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(o)},remove:function(){e.Html.wrapper.style.transition=""},after:function(o){setTimeout(function(){o()},this.duration)},enable:function(){n=!1,this.set()},disable:function(){n=!0,this.set()}};return j(r,"duration",{get:function(){var o=t.settings;return t.isType("slider")&&e.Run.offset?o.rewindDuration:o.animationDuration}}),i.on("move",function(){r.set()}),i.on(["build.before","resize","translate.jump"],function(){r.disable()}),i.on("run",function(){r.enable()}),i.on("destroy",function(){r.remove()}),r}var de=!1;try{var Gt=Object.defineProperty({},"passive",{get:function(){de=!0}});window.addEventListener("testPassive",null,Gt),window.removeEventListener("testPassive",null,Gt)}catch{}var Bt=de,St=["touchstart","mousedown"],te=["touchmove","mousemove"],ee=["touchend","touchcancel","mouseup","mouseleave"],ne=["mousedown","mousemove","mouseup","mouseleave"];function oi(t,e,i){var n=new Nt,r=0,s=0,o=0,a=!1,l=Bt?{passive:!0}:!1,d={mount:function(){this.bindSwipeStart()},start:function(p){if(!a&&!t.disabled){this.disable();var m=this.touches(p);r=null,s=Y(m.pageX),o=Y(m.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),i.emit("swipe.start")}},move:function(p){if(!t.disabled){var m=t.settings,c=m.touchAngle,k=m.touchRatio,O=m.classes,D=this.touches(p),P=Y(D.pageX)-s,A=Y(D.pageY)-o,L=Math.abs(P<<2),N=Math.abs(A<<2),I=Math.sqrt(L+N),R=Math.sqrt(N);if(r=Math.asin(R/I),r*180/Math.PI<c)p.stopPropagation(),e.Move.make(P*Ln(k)),e.Html.root.classList.add(O.dragging),i.emit("swipe.move");else return!1}},end:function(p){if(!t.disabled){var m=t.settings,c=m.perSwipe,k=m.touchAngle,O=m.classes,D=this.touches(p),P=this.threshold(p),A=D.pageX-s,L=r*180/Math.PI;this.enable(),A>P&&L<k?e.Run.make(e.Direction.resolve("".concat(c,"<"))):A<-P&&L<k?e.Run.make(e.Direction.resolve("".concat(c,">"))):e.Move.make(),e.Html.root.classList.remove(O.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),i.emit("swipe.end")}},bindSwipeStart:function(){var p=this,m=t.settings,c=m.swipeThreshold,k=m.dragThreshold;c&&n.on(St[0],e.Html.wrapper,function(O){p.start(O)},l),k&&n.on(St[1],e.Html.wrapper,function(O){p.start(O)},l)},unbindSwipeStart:function(){n.off(St[0],e.Html.wrapper,l),n.off(St[1],e.Html.wrapper,l)},bindSwipeMove:function(){var p=this;n.on(te,e.Html.wrapper,Ct(function(m){p.move(m)},t.settings.throttle),l)},unbindSwipeMove:function(){n.off(te,e.Html.wrapper,l)},bindSwipeEnd:function(){var p=this;n.on(ee,e.Html.wrapper,function(m){p.end(m)})},unbindSwipeEnd:function(){n.off(ee,e.Html.wrapper)},touches:function(p){return ne.indexOf(p.type)>-1?p:p.touches[0]||p.changedTouches[0]},threshold:function(p){var m=t.settings;return ne.indexOf(p.type)>-1?m.dragThreshold:m.swipeThreshold},enable:function(){return a=!1,e.Transition.enable(),this},disable:function(){return a=!0,e.Transition.disable(),this}};return i.on("build.after",function(){e.Html.root.classList.add(t.settings.classes.swipeable)}),i.on("destroy",function(){d.unbindSwipeStart(),d.unbindSwipeMove(),d.unbindSwipeEnd(),n.destroy()}),d}
2var ai='[data-glide-el="controls[nav]"]',Wt='[data-glide-el^="controls"]',li="".concat(Wt,' [data-glide-dir*="<"]'),ui="".concat(Wt,' [data-glide-dir*=">"]');function ci(t,e,i){var n=new Nt,r=Bt?{passive:!0}:!1,s={mount:function(){this._n=e.Html.root.querySelectorAll(ai),this._c=e.Html.root.querySelectorAll(Wt),this._arrowControls={previous:e.Html.root.querySelectorAll(li),next:e.Html.root.querySelectorAll(ui)},this.addBindings()},setActive:function(){for(var a=0;a<this._n.length;a++)this.addClass(this._n[a].children)},removeActive:function(){for(var a=0;a<this._n.length;a++)this.removeClass(this._n[a].children)},addClass:function(a){var l=t.settings,d=a[t.index];d&&(d.classList.add(l.classes.nav.active),ce(d).forEach(function(u){u.classList.remove(l.classes.nav.active)}))},removeClass:function(a){var l=a[t.index];l?.classList.remove(t.settings.classes.nav.active)},setArrowState:function(){if(!t.settings.rewind){var a=s._arrowControls.next,l=s._arrowControls.previous;this.resetArrowState(a,l),t.index===0&&this.disableArrow(l),t.index===e.Run.length&&this.disableArrow(a)}},resetArrowState:function(){for(var a=t.settings,l=arguments.length,d=new Array(l),u=0;u<l;u++)d[u]=arguments[u];d.forEach(function(p){jt(p).forEach(function(m){m.classList.remove(a.classes.arrow.disabled)})})},disableArrow:function(){for(var a=t.settings,l=arguments.length,d=new Array(l),u=0;u<l;u++)d[u]=arguments[u];d.forEach(function(p){jt(p).forEach(function(m){m.classList.add(a.classes.arrow.disabled)})})},addBindings:function(){for(var a=0;a<this._c.length;a++)this.bind(this._c[a].children)},removeBindings:function(){for(var a=0;a<this._c.length;a++)this.unbind(this._c[a].children)},bind:function(a){for(var l=0;l<a.length;l++)n.on("click",a[l],this.click),n.on("touchstart",a[l],this.click,r)},unbind:function(a){for(var l=0;l<a.length;l++)n.off(["click","touchstart"],a[l])},click:function(a){!Bt&&a.type==="touchstart"&&a.preventDefault();var l=a.currentTarget.getAttribute("data-glide-dir");e.Run.make(e.Direction.resolve(l))}};return j(s,"items",{get:function(){return s._c}}),i.on(["mount.after","move.after"],function(){s.setActive()}),i.on(["mount.after","run"],function(){s.setArrowState()}),i.on("destroy",function(){s.removeBindings(),s.removeActive(),n.destroy()}),s}var di={Html:Nn,Translate:si,Transition:ri,Direction:Zn,Peek:Wn,Sizes:Yn,Gaps:Vn,Move:Fn,Clones:qn,Resize:Jn,Build:Un,Run:Bn},fi=(function(t){On(i,t);var e=In(i);function i(){return Et(this,i),e.apply(this,arguments)}return Lt(i,[{key:"mount",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ot(dt(i.prototype),"mount",this).call(this,Object.assign({},di,r))}}]),i})(jn);const fe=t=>{const e=me(t);return e?e.map(i=>i.articleId):null},me=t=>{const e=localStorage.getItem("akt_addt_visited");if(e){const i=JSON.parse(e),n=t||"notLogged";if(i[n])return i[n]}return null},mi=(t,e)=>{if(t.fixed&&t.additionalItems?.length>0){const i=fe(e);if(i!==null&&i.includes(t.public_id)){const n=[];n.push(t.public_id);let r=0;const s=t.additionalItems.find(o=>(r++,n.push(o.public_id),!i.includes(o.public_id)));return s?{item:s,index:r}:(pe(n,e),{item:t,index:0})}}return{item:t,index:0}},pi=(t,e,i=[])=>{const n=[],r=fe(e);return r?(t.forEach((s,o)=>{if(i.includes(o)){n.push(s);return}const a=[];if(s.fixed&&s.additionalItems?.length>0&&(a.push(s.public_id),r.includes(s.public_id))){let l=1;const d=s.additionalItems.find(u=>(l++,a.push(u.public_id),!r.includes(u.public_id)));if(!d)n.push(s),pe(a,e);else{const u={...d,generatedIndex:l};n.push(u)}return}n.push(s)}),n):t},hi=(t,e)=>{const i=e||"notLogged",n=localStorage.getItem("akt_addt_visited");if(n){const r=JSON.parse(n);typeof r[i]<"u"&&(r[i]=t,localStorage.setItem("akt_addt_visited",JSON.stringify(r)))}},pe=(t,e)=>{const i=me(e);if(i){const n=i.filter(r=>r.articleId&&!t.includes(r.articleId));hi(n,e)}},gi=["id"],vi={class:"glide__track","data-glide-el":"track"},_i={class:"flex flex-nowrap overflow-x-hidden glide__slides"},yi={class:"flex-3 @container/article-image relative"},bi={class:"relative flex-2 mx-3 mt-2 lg:mx-8 lg:m-2"},wi={class:"line-clamped relative z-10 clamped-custom text-white"},xi={class:"font-bold md:pt-1 block text-2xl leading-5.5 md:text-3xl md:leading-6 lg:text-5xl lg:leading-9"},ki={class:"dark:text-white"},Si={key:1},$i={key:0,class:"glide__bullets flex items-center justify-center my-1","data-glide-el":"controls[nav]"},Ti=["data-glide-dir","onClick"],Oi=st({__name:"ArticleItemMain",props:{article:{type:Object,default:()=>({}),required:!0},isLoading:{type:Boolean,default:!1},utmContent:{type:String,default:"",required:!1},iterator:{type:Number,required:!0},imageSource:{type:String,required:!0},allowLabels:{type:Boolean,default:!1},lazy:{type:Boolean,required:!1,default:!1},trackSecond:{type:String,required:!0}},setup(t){const{$trackEvent:e,$setAbTitle:i,$trackEditorialItemVisit:n}=vt(),r=_t();let s;const o=W(()=>t.article.additionalItems?[t.article,...t.article.additionalItems]:[t.article]);yt(()=>{if(o.value.length>1){a(0);const l=mi(t.article,r.getUser?.data?.id);s.go(`=${l.index}`)}});const a=l=>{s=new fi(`#glide-top-article-${t.article.public_id}`,{startAt:l,gap:0,autoplay:!1,classes:{nav:{active:"dot-active"}}}).mount({Swipe:oi,Controls:ci})};return(l,d)=>{const u=oe,p=Le,m=ke;return h(),w("div",{id:`glide-top-article-${t.article.public_id}`,class:"relative flex flex-col md:-mb-4 gap-x-2.5 glide overflow-hidden"},[b("div",vi,[b("div",_i,[(h(!0),w(J,null,ut(f(o),(c,k)=>(h(),w("article",{key:c.id,class:"relative flex-none w-full glide__slide"},[b("div",yi,[c.image&&c.itemType!=="custom"?(h(),M(Ae,{key:`image-${t.iterator}-${c.id}`,image:c.image,alt:c.title,"track-second":t.trackSecond,"utm-content":t.utmContent,iterator:t.iterator,"additional-track-text":`_${k+1}`,project:c.project,"image-link":f(Jt)(c,t.article.project),"article-id":c.public_id,lazy:t.lazy,class:"background-gradient"},null,8,["image","alt","track-second","utm-content","iterator","additional-track-text","project","image-link","article-id","lazy"])):!t.isLoading&&c.itemType==="custom"?(h(),M(Ee,{key:`image-custom-${t.iterator}-${c.id}`,image:c.image,alt:c.title,"track-second":t.trackSecond,"utm-content":t.utmContent,iterator:t.iterator,"additional-track-text":`_${k+1}`,project:c.project,"image-link":c.url,lazy:t.lazy,class:"background-gradient","article-id":c.public_id},null,8,["image","alt","track-second","utm-content","iterator","additional-track-text","project","image-link","lazy","article-id"])):(h(),M(ze,{key:2,"image-source":t.imageSource},null,8,["image-source"]))]),b("div",bi,[b("div",{class:Mt(["w-full absolute left-0 bottom-4 lg:bottom-6",[{"bg-project-red px-2 pb-1":f(Yt)(c?.flags,f(Ut))}]])},[b("div",{class:Mt(["absolute flex items-center left-0 bottom-[
2100%] w-full pb-1 md:pb-0",[{"bg-project-red px-2 pt-2":f(Yt)(c?.flags,f(Ut))}]])},[(h(),M(u,{key:`flags-${c.id}`,flags:c.flags,"is-big":!0,"track-second":t.trackSecond,"video-item":f(xe)(c),"image-flag":""},null,8,["flags","track-second","video-item"])),t.allowLabels&&!t.isLoading&&c.itemType!=="custom"?(h(),M(p,{key:0,article:c,big:!0,"track-second":t.trackSecond,iterator:t.iterator,"additional-track-text":`_${k+1}`},null,8,["article","track-second","iterator","additional-track-text"])):T("",!0)],2),b("div",wi,[b("h3",xi,[t.isLoading?(h(),w("span",Si,[H(He,{width:"100%"})])):(h(),M(m,{key:0,to:f(Jt)(c,t.article.project,t.utmContent),title:c.title,class:"text-white hover:text-white hover:no-underline block",onClick:O=>{f(i)(c.public_id),f(e)(t.trackSecond,`clanok-${t.iterator}-nadpis_${k+1}`,c.url),f(n)(c.public_id)}},{default:Pt(()=>[b("span",ki,$t(c.title),1)]),_:2},1032,["to","title","onClick"]))])])],2)])]))),128))])]),f(o).length>1?(h(),w("div",$i,[(h(!0),w(J,null,ut(f(o),(c,k)=>(h(),w("button",{key:"dot-"+c.id,class:"glide__bullet md:w-[14px] md:h-[10px] w-[18px] h-[13px] mx-1 rounded-md bg-grey-badge","data-glide-dir":"="+k,onClick:O=>f(e)(t.trackSecond,`clanok-${t.iterator}-bullets-${k+1}`)},null,8,Ti))),128))])):T("",!0)],8,gi)}}}),Di=Object.assign(Oi,{__name:"ArticleItemMain"}),Pi={id:"tertiary-section",class:"flex flex-col gap-y-6 lg:mb-0 mt-7.5"},Mi={key:0,class:"grid gap-y-6 md:grid-cols-2 md:gap-x-4 lg:grid-cols-3 px-4 xl:px-0"},Ii={key:3},Ri=11,Ei=st({__name:"PianoContent",props:{top12:{},top12Piano:{}},setup(t){const e=t,i=Vt(),n=K.advertisementSection,r=i.public.pianoWidgetId||"aeb189d5c0336b1e0f65bf14c5c5f79371da3813",s=X(null),{fetchWidgetData:o,mapPianoWidgetItemToArticle:a}=je(),l=X("A"),d=W(()=>e.top12?e.top12.slice(0,3):[]),u=W(()=>e.top12?e.top12.slice(3):[]),p=W(()=>e.top12?e.top12[3]:null),m=W(()=>e.top12Piano?e.top12Piano.slice(1):[]),c=W(()=>s.value?.items?s.value.items.map(a):[]),k=W(()=>{const P=[...c.value],A=[];for(let I=0;I<m.value.length;I++){const R=m.value[I];R.fixed&&(P[I]=R,A.push(R.public_id))}const L=new Set(d.value.map(I=>I.public_id));return P.filter(I=>I.fixed?!0:!L.has(I.public_id)&&!A.includes(I.public_id)).slice(0,Ri)}),O=W(()=>s.value?.items&&s.value.items.length>0),D=W(()=>l.value==="B"&&O.value?[p.value,...k.value]:[...u.value]);return yt(async()=>{try{l.value==="B"&&(s.value=await o(r,i.public.baseUrl)),console.log(D.value),O.value||console.warn("Piano widget returned no items, falling back to editorial list")}catch(P){console.error("Failed to load Piano widget:",P)}}),(P,A)=>{const L=ct,N=ae;return h(),w("div",Pi,[t.top12&&t.top12Piano?(h(),w("div",Mi,[(h(!0),w(J,null,ut(f(D),(I,R)=>(h(),w("div",{key:`top-item2-${I.id}`},[R===1?(h(),M(L,{key:0,"ad-name":"aktuality-native-hp-top",class:"md:hidden"})):T("",!0),I?.itemType&&I.itemType=="piano"?(h(),M(Be,{key:1,article:I,"track-second":"top-12-box","image-source":"default_mini","allow-labels":!0,iterator:R+4,"utm-content":"box-top-hp-najcitanejsie_new","minor-layout":"","data-name":"piano-item"},null,8,["article","iterator"])):(h(),M(N,{key:2,article:I,"track-second":"top-12-box","image-source":"default_mini","allow-labels":"",iterator:R+4,"utm-content":"box-top-hp-najcitanejsie_new","minor-layout":"","data-name":"editorial-list-item"},null,8,["article","iterator"])),R===4?(h(),w("div",Ii,[H(L,{"section-data":f(n).get("aktuality-mobile-mobile-top-3"),"ad-name":"aktuality-mobile-mobile-top-3",class:"md:hidden","ad-space":"mt-6"},null,8,["section-data"])])):T("",!0)]))),128))])):T("",!0)])}}}),Li=Object.assign(Ei,{__name:"HomepagePianoContent"}),zi={class:"border-t border-divider dark:border-dm-divider mt-7.5 pt-7.5 md:border-0 md:mt-0"},Hi=st({__name:"VubBanner",setup(t){const{$trackEvent:e}=vt();return(i,n)=>(h(),w("div",zi,[b("a",{href:"https://www.aktuality.sk/p/nastartujte-vas-biznis/?utm_source=button-300x120&utm_medium=aktuality-HP-right&utm_campaign=aug-nov-22",title:"Váš úspešný biznis",class:"vub-banner block w-full aspect-[66/25] bg-contain bg-no-repeat bg-center",onClick:n[0]||(n[0]=r=>f(e)("vub-banner","square-click","https://www.aktuality.sk/p/nastartujte-vas-biznis/"))})]))}}),he=Object.assign(Hi,{__name:"ItemVubBanner"}),Ai={},ji={class:"mt-7.5"};function Bi(t,e){return h(),w("section",ji,[...e[0]||(e[0]=[b("iframe",{id:"ticketportal-slider",name:"ticketportal-slider",src:"https://www.ticketportal.sk/Carousels/content-3",height:"310",allowfullscreen:"",frameborder:"0",scrolling:"no",style:{border:"none",height:"260px","min-width":"100%","*width":"100%"}},null,-1)])])}const Vi=Object.assign(Rt(Ai,[["render",Bi]]),{__name:"ItemTicketPortalItem"}),Ci=Q(()=>G(()=>import("./CO81t_D8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28]),import.meta.url).then(t=>t.default||t)),Ni=Q(()=>G(()=>import("./Cyf_mIVE.js"),__vite__mapDeps([29,11,5,6,10,22,23,24,25,13,7,14,15,16,26,27,19,1,30]),import.meta.url).then(t=>t.default||t)),Wi=Q(()=>G(()=>
2import("./DTl_PkBW.js"),__vite__mapDeps([31,32,11,5,6,10,19,7,1]),import.meta.url).then(t=>t.default||t)),Fi=Q(()=>G(()=>import("./BJlwOjsd.js"),__vite__mapDeps([33,5,6,19,7,34]),import.meta.url).then(t=>t.default||t)),Yi=Q(()=>G(()=>import("./DIDAQdx2.js"),__vite__mapDeps([35,1,19,7,5,6,36,9,10,3,4,8,11]),import.meta.url).then(t=>t.default||t)),Ui=Q(()=>G(()=>import("./zvNc2pVa.js"),__vite__mapDeps([37,5,6,38]),import.meta.url).then(t=>t.default||t)),qi=Q(()=>G(()=>import("./dCu6-9U4.js"),__vite__mapDeps([39,5,6,13,7,14,19,11,10,1,40]),import.meta.url).then(t=>t.default||t)),Ji=["id"],Ki={key:3,id:"tv-program-section",class:"lazy-section px-4 xl:px-0"},Xi={key:4,id:"weather-section",class:"lazy-section px-4 xl:px-0"},Zi={key:5,id:"horoscope-section",class:"lazy-section px-4 xl:px-0"},Qi={key:7,id:"azet-list-hp",class:"lazy-section px-4 xl:px-0"},Gi={key:8,id:"magazine-doma-section",class:"lazy-section px-4 xl:px-0"},ts={key:9,id:"leaflet-cross-promo",class:"lazy-section pt-7.5"},es={key:11,id:"eshop-section",class:"lazy-section px-4 xl:px-0"},ns={key:14,id:"ticket-section",class:"lazy-section px-4 xl:px-0"},is=st({__name:"MainContentBoxes",props:["item","index","showSection","isDesktop"],setup(t){const i=_t().getIsWebCrawler,n=K.advertisementSection,r=K.eshopSection,s=K.horoscopeSection,o=K.weatherSection,a=K.tvProgramSection,l=K.articleSections,d=u=>{const p=l.get(u);return{title:p.title,alias:p.alias,url:p.url}};return(u,p)=>{const m=Ci,c=ct,k=Ni,O=Wi,D=Fi,P=Yi,A=Ui,L=qi,N=Vi;return h(),w(J,null,[b("div",{id:t.item.alias,class:"lazy-section px-4 xl:px-0"},[f(Z)(t.item.alias,f(i),t.showSection)?(h(),M(m,{key:t.item.alias,"section-id":t.item.id,"layout-type":"layout","item-count":parseInt(t.item.limit),list:t.item},null,8,["section-id","item-count","list"])):T("",!0)],8,Ji),t.index===3?(h(),M(c,{key:0,"section-data":f(n).get("aktuality-mobile-mobile-middle-1-2"),"ad-name":"aktuality-mobile-mobile-middle-1-2",class:"md:hidden","ad-space":"mt-7.5"},null,8,["section-data"])):T("",!0),t.index===4?(h(),M(c,{key:1,"section-data":f(n).get("aktuality-mobile-mobile-middle-2"),"ad-name":"aktuality-mobile-mobile-middle-2",class:"md:hidden"},null,8,["section-data"])):T("",!0),t.index===4?(h(),M(c,{key:2,"section-data":f(n).get("aktuality-desktop-screen-middle"),"ad-name":"aktuality-desktop-screen-middle",class:"hidden lg:block"},null,8,["section-data"])):T("",!0),t.index===4?(h(),w("div",Ki,[f(Z)("tv-program-section",f(i),t.showSection)?(h(),M(k,{key:0,"section-data":f(a)},null,8,["section-data"])):T("",!0)])):T("",!0),t.index===4?(h(),w("div",Xi,[f(Z)("weather-section",f(i),t.showSection)?(h(),M(O,{key:0,"section-data":f(o)},null,8,["section-data"])):T("",!0)])):T("",!0),t.index===5?(h(),w("div",Zi,[f(Z)("horoscope-section",f(i),t.showSection)?(h(),M(D,{key:0,"section-data":f(s)},null,8,["section-data"])):T("",!0)])):T("",!0),t.index===5?(h(),M(c,{key:6,"section-data":f(n).get("aktuality-mobile-mobile-bottom"),"ad-name":"aktuality-mobile-mobile-bottom",class:"md:hidden"},null,8,["section-data"])):T("",!0),t.index===6?(h(),w("div",Qi,[f(Z)("azet-list-hp",f(i),t.showSection)?(h(),M(m,{key:"azet-list-hp","section-id":f(l).get("azet").editorialListId,"layout-type":"layout","item-count":f(l).get("azet").itemsCount,list:d("azet")},null,8,["section-id","item-count","list"])):T("",!0)])):T("",!0),t.index===7?(h(),w("div",Gi,[f(Z)("magazine-doma-section",f(i),t.showSection)?(h(),M(P,{key:"magazine-doma-section","section-id":"magazine-doma-section","layout-type":"layout",list:{},"item-count":3})):T("",!0)])):T("",!0),t.index===8?(h(),w("div",ts,[f(Z)("leaflet-cross-promo",f(i),t.showSection)?(h(),M(A,{key:"leaflet-cross-promo"})):T("",!0)])):T("",!0),t.index===8?(h(),M(c,{key:10,"section-data":f(n).get("aktuality-mobile-mobile-bottom-1-2"),"ad-name":"aktuality-mobile-mobile-bottom-1-2",class:"md:hidden","ad-space":"mt-7.5"},null,8,["section-data"])):T("",!0),t.index===10?(h(),w("div",es,[f(Z)("eshop-section",f(i),t.showSection)?(h(),M(L,{key:0,"section-data":f(r),"is-desktop":t.isDesktop},null,8,["section-data","is-desktop"])):T("",!0)])):T("",!0),t.index===10?(h(),M(c,{key:12,"section-data":f(n).get("aktuality-mobile-mobile-bottom-2"),"ad-name":"aktuality-mobile-mobile-bottom-2",class:"md:hidden"},null,8,["section-data"])):T("",!0),t.index===11?(h(),M(c,{key:13,"section-data":f(n).get("aktuality-mobile-mobile-bottom-3"),"ad-name":"aktuality-mobile-mobile-bottom-3",class:"md:hidden","ad-space":"mt-7.5"},null,8,["section-data"])):T("",!0),t.index===13?(h(),w("div",ns,[f(Z)("ticket-section",f(i),t.showSection)?(h(),M(N,{key:0})):T("",!0)])):T("",!0),t.index===14?(h(),M(c,{key:15,"section-data":f(n).get("aktuality-mobile-mobile-bottom-4"),"ad-name":"aktuality-mobile-mobile-bottom-4",class:"md:hidden","ad-space":"mt-7.5"},null,8,["section-data"])):T("",!0)],64)}}}),ss=Object.assign(is,{__name:"HomepageMainContentBoxes"}),rs=Q(()=>G(()=>import("./2O7RcdeP.js").then(t=>t.P),__vite__mapDeps([2,3,4,1,5,6,7,8,9,10,11,12,13,14,15,16,17,18]),import.meta.url).then(t=>t.default||t)),os={id:"main-article",class:"px-0 md:px-4 xl:px-0 md:max-w-[698px]"},as={id:"secondary-section",class:"flex flex-col mt-4 lg:mt-7.5"},ls={key:0,class:"grid gap-y-6 md:grid-cols-2 md:gap-x-4 lg:grid-cols-2 px-4 xl:px-0"},us={key:0,class:"timeline-container homepage-timeline my-7.5 px-4 lg:hidden"},cs={class:"px-4 xl:px-0 md:hidden"},ds=st({__name:"MainContent",props:["isDesktop","timeline","top12","top12Piano","showSection","groupLists"],setup(t){const e=K.articleSections,i=K.advertisementSection,n=W(()=>t.top12?t.top12[0]:null),r=W(()=>t.top12?t.top12.slice(1,3):null);return(s,o)=>
2{const a=Di,l=ct,d=ae,u=le,p=Li,m=he,c=ue,k=rs,O=ss;return h(),w(J,null,[b("section",os,[f(n)?(h(),M(a,{key:`top-item0-${f(n).id}`,article:f(n),"image-source":"default","allow-labels":"",iterator:1,"track-second":"top-12-box"},null,8,["article"])):T("",!0)]),H(l,{"section-data":f(i).get("aktuality-mobile-mobile-top"),"ad-name":"aktuality-mobile-mobile-top",class:"md:hidden"},null,8,["section-data"]),b("div",as,[f(r)?(h(),w("div",ls,[(h(!0),w(J,null,ut(f(r),(D,P)=>(h(),w("div",{key:P},[D?(h(),M(d,{key:`top-item1-${D.id}`,article:D,"track-second":"top-12-box","utm-content":D.utmContent,"image-source":"default_mini","allow-labels":"",iterator:P+2},null,8,["article","utm-content","iterator"])):T("",!0)]))),128))])):T("",!0)]),t.isDesktop===!1?(h(),w("div",us,[H(u,{key:"homepage-timeline-mobile","timeline-data":t.timeline.timelineData,"scroll-timeline":t.timeline.scrollTimeline,hp:t.timeline.isHomepage},null,8,["timeline-data","scroll-timeline","hp"])])):T("",!0),H(l,{"ad-name":"aktuality-mobile-mobile-top-2",class:"md:hidden"}),H(p,{top12:t.top12,"top12-piano":t.top12Piano},null,8,["top12","top12-piano"]),b("div",cs,[H(m),H(c,{"section-data":f(e).get("mostRead"),"allow-labels":"","is-homepage":""},null,8,["section-data"]),H(k,{"section-data":f(e).get("pr")},null,8,["section-data"])]),H(l,{"section-data":f(i).get("aktuality-mobile-mobile-middle"),"ad-name":"aktuality-mobile-mobile-middle",class:"md:hidden","ad-space":"mt-7.5"},null,8,["section-data"]),(h(!0),w(J,null,ut(t.groupLists,(D,P)=>(h(),M(O,{key:D.alias,item:D,index:P,"show-section":t.showSection,"is-desktop":t.isDesktop},null,8,["item","index","show-section","is-desktop"]))),128))],64)}}}),fs=Object.assign(ds,{__name:"HomepageMainContent"}),ms={class:"mt-5"},ps={class:"sticky top-24 mt-7.5"},hs={__name:"HomepageSidebarContent",props:["timeline"],setup(t){const e=K.articleSections,i=X(!1);return(n,r)=>(h(),w(J,null,[H(f(le),{key:"homepage-timeline-desktop","timeline-data":t.timeline.timelineData,"scroll-timeline":t.timeline.scrollTimeline,hp:t.timeline.isHomepage},null,8,["timeline-data","scroll-timeline","hp"]),b("div",ms,[H(ct,{"ad-name":"aktuality-desktop-square"})]),H(ue,{"section-data":f(e).get("mostRead"),"no-border":"","is-
2homepage":""},null,8,["section-data"]),H(he),H(Ve,{"section-data":f(e).get("pr"),"is-loading":f(i),"is-homepage":!0},null,8,["section-data","is-loading"]),b("div",ps,[H(ct,{"ad-name":"aktuality-desktop-square-scrolling"})])],64))}},gs=Q(()=>G(()=>import("./DdT6KOJ5.js"),__vite__mapDeps([41,19,7,5,6,1,18,42]),import.meta.url).then(t=>t.default||t)),vs={class:"max-w-hp-container mx-auto pt-5"},_s={class:"w-full md:w-7/12"},ys={class:"hidden md:block md:w-5/13"},bs={class:"timeline-container homepage-timeline h-full md:px-5 lg:px-0"},ws=st({__name:"HomepageContent",props:{top12Result:{},top12PianoResult:{},groupListsResult:{},timelineResult:{}},setup(t){const e=t,i=_t(),n=Ce(),r=X(!1),s=W(()=>e.top12Result&&e.top12Result.items&&e.top12Result.items.length!==0?e.top12Result.items:null),o=W(()=>e.top12PianoResult&&e.top12PianoResult.items&&e.top12PianoResult.items.length!==0?e.top12PianoResult.items:null),a=X(null);e.groupListsResult&&e.groupListsResult.items&&e.groupListsResult.items.length!==0&&(a.value=e.groupListsResult.items);const l=X([""]),d=X(null),u=X(null),p=Se({root:d.value,threshold:.5}),m=e.timelineResult;n.SET_CATEGORY(null),n.SET_KEYWORDS(null),n.SET_PROJECT(null),localStorage.onBoardingFilter===void 0&&n.SET_ON_BOARDING(!0),Ne(n,m?.projects);try{We(n,m.items),n.UPDATE_LOAD_MORE_URL()}catch(O){$e.error(`HomepageContent storePosts: ${O.message}`)}const c=()=>{setTimeout(()=>qt(r),100)},k=W(()=>i.getHideAds?"aktuality-desktop-screen-top-plus":"aktuality-desktop-screen-top");return yt(()=>{qt(r),window.addEventListener("resize",c),n.SET_HOMEPAGE_LIMIT(r.value?n.getHomepageLimitDesktop:n.getHomepageLimitMobile),n.UPDATE_LOAD_MORE_URL();const O=i.getIsWebCrawler,D=document.querySelectorAll(".lazy-section");O?D.forEach(P=>{l.value.push(P.id)}):(u.value=new IntersectionObserver((P,A)=>{P.forEach(L=>{const N=L.target.getAttribute("id");L.isIntersecting&&(N&&l.value.push(N),A.unobserve(L.target))})},p),D.forEach(P=>{u.value?.observe(P)}))}),Te(()=>{u.value?.disconnect(),window.removeEventListener("resize",c)}),(O,D)=>{const P=Sn,A=ct,L=fs,N=hs,I=gs,R=Oe;return h(),w(J,null,[b("div",vs,[H(P)]),H(A,{class:"w-full flex-auto max-w-[1200px] mx-auto md:block hidden","ad-name":f(k)},null,8,["ad-name"]),b("main",{ref_key:"nuxtContent",ref:d,class:"max-w-hp-container flex mt-5 mx-auto gap-x-0 xl:gap-x-10 dark:bg-black"},[b("div",_s,[H(L,{"is-desktop":f(r),top12:f(s),"top12-piano":f(o),"show-section":f(l),timeline:{timelineData:f(m),scrollTimeline:!0,isHomepage:!0},"group-lists":f(a)},null,8,["is-desktop","top12","top12-piano","show-section","timeline","group-lists"])]),b("aside",ys,[b("div",bs,[H(N,{timeline:{timelineData:f(m),scrollTimeline:!0,isHomepage:!0}},null,8,["timeline"])])])],512),H(R,null,{default:Pt(()=>[H(I)]),_:1})],64)}}}),xs=Object.assign(ws,{__name:"HomepageContent"});var Dt={exports:{}},ks=Dt.exports,ie;function Ss(){return ie||(ie=1,(function(t,e){(function(i,n){t.exports=n()})(ks,(function(){var i=1e3,n=6e4,r=36e5,s="millisecond",o="second",a="minute",l="hour",d="day",u="week",p="month",m="quarter",c="year",k="date",O="Invalid Date",D=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var _=["th","st","nd","rd"],g=x%100;return"["+x+(_[(g-20)%10]||_[g]||_[0])+"]"}},L=function(x,_,g){var y=String(x);return!y||y.length>=_?x:""+Array(_+1-y.length).join(g)+x},N={s:L,z:function(x){var _=-x.utcOffset(),g=Math.abs(_),y=Math.floor(g/60),v=g%60;return(_<=0?"+":"-")+L(y,2,"0")+":"+L(v,2,"0")},m:function x(_,g){if(_.date()<g.date())return-x(g,_);var y=12*(g.year()-_.year())+(g.month()-_.month()),v=_.clone().add(y,p),S=g-v<0,$=_.clone().add(y+(S?-1:1),p);return+(-(y+(g-v)/(S?v-$:$-v))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:p,y:c,w:u,d,D:k,h:l,m:a,s:o,ms:s,Q:m}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},I="en",R={};R[I]=A;var tt="$isDayjsObject",at=function(x){return x instanceof bt||!(!x||!x[tt])},et=function x(_,g,y){var v;if(!_)return I;if(typeof _=="string"){var S=_.toLowerCase();R[S]&&(v=S),g&&(R[S]=g,v=S);var $=_.split("-");if(!v&&$.length>1)return x($[0])}else{var z=_.name;R[z]=_,v=z}return!y&&v&&(I=v),v||!y&&I},V=function(x,_){if(at(x))return x.clone();var g=typeof _=="object"?_:{};return g.date=x,g.args=arguments,new bt(g)},E=N;E.l=et,E.i=at,E.w=function(x,_){return V(x,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var bt=(function(){function x(g){this.$L=et(g.locale,null,!0),this.parse(g),this.$x=this.$x||g.x||{},this[tt]=!0}
vendor: 4,888 bytes, line 2
2var _=x.prototype;return _.parse=function(g){this.$d=(function(y){var v=y.date,S=y.utc;if(v===null)return new Date(NaN);if(E.u(v))return new Date;if(v instanceof Date)return new Date(v);if(typeof v=="string"&&!/Z$/i.test(v)){var $=v.match(D);if($){var z=$[2]-1||0,B=($[7]||"0").substring(0,3);return S?new Date(Date.UTC($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,B)):new Date($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,B)}}return new Date(v)})(g),this.init()},_.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},_.$utils=function(){return E},_.isValid=function(){return this.$d.toString()!==O},_.isSame=function(g,y){var v=V(g);return this.startOf(y)<=v&&v<=this.endOf(y)},_.isAfter=function(g,y){return V(g)<this.startOf(y)},_.isBefore=function(g,y){return this.endOf(y)<V(g)},_.$g=function(g,y,v){return E.u(g)?this[y]:this.set(v,g)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(g,y){var v=this,S=!!E.u(y)||y,$=E.p(g),z=function(ot,U){var nt=E.w(v.$u?Date.UTC(v.$y,U,ot):new Date(v.$y,U,ot),v);return S?nt:nt.endOf(d)},B=function(ot,U){return E.w(v.toDate()[ot].apply(v.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(U)),v)},C=this.$W,F=this.$M,q=this.$D,lt="set"+(this.$u?"UTC":"");switch($){case c:return S?z(1,0):z(31,11);case p:return S?z(1,F):z(0,F+1);case u:var rt=this.$locale().weekStart||0,ft=(C<rt?C+7:C)-rt;return z(S?q-ft:q+(6-ft),F);case d:case k:return B(lt+"Hours",0);case l:return B(lt+"Minutes",1);case a:return B(lt+"Seconds",2);case o:return B(lt+"Milliseconds",3);default:return this.clone()}},_.endOf=function(g){return this.startOf(g,!1)},_.$set=function(g,y){var v,S=E.p(g),$="set"+(this.$u?"UTC":""),z=(v={},v[d]=$+"Date",v[k]=$+"Date",v[p]=$+"Month",v[c]=$+"FullYear",v[l]=$+"Hours",v[a]=$+"Minutes",v[o]=$+"Seconds",v[s]=$+"Milliseconds",v)[S],B=S===d?this.$D+(y-this.$W):y;if(S===p||S===c){var C=this.clone().set(k,1);C.$d[z](B),C.init(),this.$d=C.set(k,Math.min(this.$D,C.daysInMonth())).$d}else z&&this.$d[z](B);return this.init(),this},_.set=function(g,y){return this.clone().$set(g,y)},_.get=function(g){return this[E.p(g)]()},_.add=function(g,y){var v,S=this;g=Number(g);var $=E.p(y),z=function(F){var q=V(S);return E.w(q.date(q.date()+Math.round(F*g)),S)};if($===p)return this.set(p,this.$M+g);if($===c)return this.set(c,this.$y+g);if($===d)return z(1);if($===u)return z(7);var B=(v={},v[a]=n,v[l]=r,v[o]=i,v)[$]||1,C=this.$d.getTime()+g*B;return E.w(C,this)},_.subtract=function(g,y){return this.add(-1*g,y)},_.format=function(g){var y=this,v=this.$locale();if(!this.isValid())return v.invalidDate||O;var S=g||"YYYY-MM-DDTHH:mm:ssZ",$=E.z(this),z=this.$H,B=this.$m,C=this.$M,F=v.weekdays,q=v.months,lt=v.meridiem,rt=function(U,nt,mt,wt){return U&&(U[nt]||U(y,S))||mt[nt].slice(0,wt)},ft=function(U){return E.s(z%12||12,U,"0")},ot=lt||function(U,nt,mt){var wt=U<12?"AM":"PM";return mt?wt.toLowerCase():wt};return S.replace(P,(function(U,nt){return nt||(function(mt){switch(mt){case"YY":return String(y.$y).slice(-2);case"YYYY":return E.s(y.$y,4,"0");case"M":return C+1;case"MM":return E.s(C+1,2,"0");case"MMM":return rt(v.monthsShort,C,q,3);case"MMMM":return rt(q,C);case"D":return y.$D;case"DD":return E.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return rt(v.weekdaysMin,y.$W,F,2);case"ddd":return rt(v.weekdaysShort,y.$W,F,3);case"dddd":return F[y.$W];case"H":return String(z);case"HH":return E.s(z,2,"0");case"h":return ft(1);case"hh":return ft(2);case"a":return ot(z,B,!0);case"A":return ot(z,B,!1);case"m":return String(B);case"mm":return E.s(B,2,"0");case"s":return String(y.$s);case"ss":return E.s(y.$s,2,"0");case"SSS":return E.s(y.$ms,3,"0");case"Z":return $}return null})(U)||$.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(g,y,v){var S,$=this,z=E.p(y),B=V(g),C=(B.utcOffset()-this.utcOffset())*n,F=this-B,q=function(){return E.m($,B)};switch(z){case c:S=q()/12;break;case p:S=q();break;case m:S=q()/3;break;case u:S=(F-C)/6048e5;break;case d:S=(F-C)/864e5;break;case l:S=F/r;break;case a:S=F/n;break;case o:S=F/i;break;default:S=F}return v?S:E.a(S)},_.daysInMonth=function(){return this.endOf(p).$D},_.$locale=function(){return R[this.$L]},_.locale=function(g,y){if(!g)return this.$L;var v=this.clone(),S=et(g,y,!0);return S&&(v.$L=S),v},_.clone=function(){return E.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},x})(),Ft=bt.prototype;return V.prototype=Ft,[["$ms",s],["$s",o],["$m",a],["$H",l],["$W",d],["$M",p],["$y",c],["$D",k]].forEac
2h((function(x){Ft[x[1]]=function(_){return this.$g(_,x[0],x[1])}})),V.extend=function(x,_){return x.$i||(x(_,bt,V),x.$i=!0),V},V.locale=et,V.isDayjs=at,V.unix=function(x){return V(1e3*x)},V.en=R[I],V.Ls=R,V.p={},V}))})(Dt)),Dt.exports}var $s=Ss();const ge=De($s),Ts=()=>{const t=Vt(),e=new Date,i=new Date(t.public.censoredModeFrom),n=new Date(t.public.censoredModeTo);Ps();const{censoredMode:r}=Pe().query;return r?!0:e>=i&&e<n?ye()?!1:(Ds(),!0):!1},Os=(t="YYYY-M-D")=>ge().format(t),ve="hasSeenCensoredEvent",_e=`${ve}_${Os("YYYY-M")}`,Ds=()=>{ye()||localStorage.setItem(_e,"true")},ye=()=>{let t=!1;return localStorage.getItem(_e)&&(t=!0),t},Ps=()=>{const t=Vt(),e=new Date(t.public.censoredModeTo).getTime();if(new Date().getTime()>e){const n=ge().format("YYYY");Object.keys(localStorage).forEach(r=>{r.includes(`${ve}_${n}`)&&localStorage.removeItem(r)})}},Ms={class:"dark:bg-black"},Is=!1,Rs="BF4BXNMwvz8ZOTzC1jB-",Es="EZwbor7IBRS4_d0g0QQ_",Ls="tnQ7vTilDHK2Z1V3k4hu",zs=st({__name:"index",async setup(t){let e,i;const{$handleKropka:n,$sendPageview:r,$additionalTrack:s,$ga4Init:o,$ga4Helper:a,$seoHelper:l,$baseApiUrl:d,$jwplayerInit:u}=vt(),p=_t(),{updateTp:m}=Ie(),c=new Me,k=a();k.content_type="home",k.content_id="homepage",o();const O=l();O.canonical=c.projectCanonicalDefault,O.setAdsParams(["hp"],["sticky-active"],[]);const D=new Re.WebpageSerp,P=Ye();D.id=P.href,D.url=P.href,D.name="Aktuality.sk",D.description=c.description,D.setIsPartOf(c.websiteId),D.setPrimaryImageOfPage(c.brandLogo),O.setWebpageSerp(D),O.printHead();const A=X(!1);u(p.getJWPlayerId),yt(()=>{if(R.value){const tt=JSON.parse(JSON.stringify(R.value));tt.top12Result.items=pi(R.value.top12Result.items,p.getUser?.data?.id,[0]),R.value=tt}s("home","homepage"),m({setTags:["homepage"]}),n(),r(),A.value=Ts()});const L=()=>{A.value=!1},N={timeout:ht,headers:{}};N.headers=p.getIsCompanyIp?{"x-azet-company-ip":"true"}:{};const I=Ue(),{data:R}=([e,i]=se(async()=>re("homepage",async()=>{const[tt,at,et,V]=await Promise.allSettled([$fetch(`${d}/api/homepage/list/${Rs}?${I}`,{timeout:ht}),$fetch(`${d}/api/homepage/list/${Es}?${I}`,{timeout:ht}),$fetch(`${d}/api/homepage/list/by-group/${Ls}`,{timeout:ht}),$fetch(`${Fe}`,N)]);return{top12Result:xt(tt),top12PianoResult:xt(at),groupListsResult:xt(et),timelineResult:xt(V)}})),e=await e,i(),e);return(tt,at)=>{const et=nn;return h(),w("div",{class:Mt({dark:Is,censored:f(A)})},[b("div",Ms,[f(A)?(h(),M(et,{key:0,onCloseCensored:L})):T("",!0),H(xs,{"top12-result":f(R)?.top12Result,"top12-piano-result":f(R)?.top12PianoResult,"group-lists-result":f(R)?.groupListsResult,"timeline-result":f(R)?.timelineResult},null,8,["top12-result","top12-piano-result","group-lists-result","timeline-result"])])],2)}}}),Zs=Object.freeze(Object.defineProperty({__proto__:null,default:zs},Symbol.toStringTag,{value:"Module"}));export{Zs as i,pi as t};

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.